@keystrokehq/procfu 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/array-diff-del.cjs +1 -0
  4. package/dist/actions/array-diff-del.cjs.map +1 -1
  5. package/dist/actions/array-diff-del.d.cts +3 -16
  6. package/dist/actions/array-diff-del.d.cts.map +1 -1
  7. package/dist/actions/array-diff-del.d.mts +3 -16
  8. package/dist/actions/array-diff-del.d.mts.map +1 -1
  9. package/dist/actions/array-diff-del.mjs +1 -0
  10. package/dist/actions/array-diff-del.mjs.map +1 -1
  11. package/dist/actions/array-diff-new.cjs +1 -0
  12. package/dist/actions/array-diff-new.cjs.map +1 -1
  13. package/dist/actions/array-diff-new.d.cts +3 -16
  14. package/dist/actions/array-diff-new.d.cts.map +1 -1
  15. package/dist/actions/array-diff-new.d.mts +3 -16
  16. package/dist/actions/array-diff-new.d.mts.map +1 -1
  17. package/dist/actions/array-diff-new.mjs +1 -0
  18. package/dist/actions/array-diff-new.mjs.map +1 -1
  19. package/dist/actions/array-diff-same.cjs +1 -0
  20. package/dist/actions/array-diff-same.cjs.map +1 -1
  21. package/dist/actions/array-diff-same.d.cts +3 -16
  22. package/dist/actions/array-diff-same.d.cts.map +1 -1
  23. package/dist/actions/array-diff-same.d.mts +3 -16
  24. package/dist/actions/array-diff-same.d.mts.map +1 -1
  25. package/dist/actions/array-diff-same.mjs +1 -0
  26. package/dist/actions/array-diff-same.mjs.map +1 -1
  27. package/dist/actions/array-sort.cjs +1 -0
  28. package/dist/actions/array-sort.cjs.map +1 -1
  29. package/dist/actions/array-sort.d.cts +3 -16
  30. package/dist/actions/array-sort.d.cts.map +1 -1
  31. package/dist/actions/array-sort.d.mts +3 -16
  32. package/dist/actions/array-sort.d.mts.map +1 -1
  33. package/dist/actions/array-sort.mjs +1 -0
  34. package/dist/actions/array-sort.mjs.map +1 -1
  35. package/dist/actions/copy-podio-files-to-ftp.cjs +1 -0
  36. package/dist/actions/copy-podio-files-to-ftp.cjs.map +1 -1
  37. package/dist/actions/copy-podio-files-to-ftp.d.cts +3 -18
  38. package/dist/actions/copy-podio-files-to-ftp.d.cts.map +1 -1
  39. package/dist/actions/copy-podio-files-to-ftp.d.mts +3 -18
  40. package/dist/actions/copy-podio-files-to-ftp.d.mts.map +1 -1
  41. package/dist/actions/copy-podio-files-to-ftp.mjs +1 -0
  42. package/dist/actions/copy-podio-files-to-ftp.mjs.map +1 -1
  43. package/dist/actions/dummy-data.cjs +1 -0
  44. package/dist/actions/dummy-data.cjs.map +1 -1
  45. package/dist/actions/dummy-data.d.cts +3 -15
  46. package/dist/actions/dummy-data.d.cts.map +1 -1
  47. package/dist/actions/dummy-data.d.mts +3 -15
  48. package/dist/actions/dummy-data.d.mts.map +1 -1
  49. package/dist/actions/dummy-data.mjs +1 -0
  50. package/dist/actions/dummy-data.mjs.map +1 -1
  51. package/dist/actions/google-drive-delete.cjs +1 -0
  52. package/dist/actions/google-drive-delete.cjs.map +1 -1
  53. package/dist/actions/google-drive-delete.d.cts +3 -15
  54. package/dist/actions/google-drive-delete.d.cts.map +1 -1
  55. package/dist/actions/google-drive-delete.d.mts +3 -15
  56. package/dist/actions/google-drive-delete.d.mts.map +1 -1
  57. package/dist/actions/google-drive-delete.mjs +1 -0
  58. package/dist/actions/google-drive-delete.mjs.map +1 -1
  59. package/dist/actions/open-ai-gpt.cjs +1 -0
  60. package/dist/actions/open-ai-gpt.cjs.map +1 -1
  61. package/dist/actions/open-ai-gpt.d.cts +3 -16
  62. package/dist/actions/open-ai-gpt.d.cts.map +1 -1
  63. package/dist/actions/open-ai-gpt.d.mts +3 -16
  64. package/dist/actions/open-ai-gpt.d.mts.map +1 -1
  65. package/dist/actions/open-ai-gpt.mjs +1 -0
  66. package/dist/actions/open-ai-gpt.mjs.map +1 -1
  67. package/dist/actions/open-ai-image.cjs +1 -0
  68. package/dist/actions/open-ai-image.cjs.map +1 -1
  69. package/dist/actions/open-ai-image.d.cts +3 -16
  70. package/dist/actions/open-ai-image.d.cts.map +1 -1
  71. package/dist/actions/open-ai-image.d.mts +3 -16
  72. package/dist/actions/open-ai-image.d.mts.map +1 -1
  73. package/dist/actions/open-ai-image.mjs +1 -0
  74. package/dist/actions/open-ai-image.mjs.map +1 -1
  75. package/dist/actions/sheets-get-metadata.cjs +1 -0
  76. package/dist/actions/sheets-get-metadata.cjs.map +1 -1
  77. package/dist/actions/sheets-get-metadata.d.cts +3 -15
  78. package/dist/actions/sheets-get-metadata.d.cts.map +1 -1
  79. package/dist/actions/sheets-get-metadata.d.mts +3 -15
  80. package/dist/actions/sheets-get-metadata.d.mts.map +1 -1
  81. package/dist/actions/sheets-get-metadata.mjs +1 -0
  82. package/dist/actions/sheets-get-metadata.mjs.map +1 -1
  83. package/dist/actions/sheets-get.cjs +1 -0
  84. package/dist/actions/sheets-get.cjs.map +1 -1
  85. package/dist/actions/sheets-get.d.cts +3 -16
  86. package/dist/actions/sheets-get.d.cts.map +1 -1
  87. package/dist/actions/sheets-get.d.mts +3 -16
  88. package/dist/actions/sheets-get.d.mts.map +1 -1
  89. package/dist/actions/sheets-get.mjs +1 -0
  90. package/dist/actions/sheets-get.mjs.map +1 -1
  91. package/dist/actions/upload-podio-item-image.cjs +1 -0
  92. package/dist/actions/upload-podio-item-image.cjs.map +1 -1
  93. package/dist/actions/upload-podio-item-image.d.cts +3 -20
  94. package/dist/actions/upload-podio-item-image.d.cts.map +1 -1
  95. package/dist/actions/upload-podio-item-image.d.mts +3 -20
  96. package/dist/actions/upload-podio-item-image.d.mts.map +1 -1
  97. package/dist/actions/upload-podio-item-image.mjs +1 -0
  98. package/dist/actions/upload-podio-item-image.mjs.map +1 -1
  99. package/dist/app.cjs +2 -2
  100. package/dist/app.cjs.map +1 -1
  101. package/dist/app.d.cts +4 -6
  102. package/dist/app.d.cts.map +1 -1
  103. package/dist/app.d.mts +4 -6
  104. package/dist/app.d.mts.map +1 -1
  105. package/dist/app.mjs +0 -1
  106. package/dist/app.mjs.map +1 -1
  107. package/dist/index.d.cts +1 -1
  108. package/dist/index.d.mts +1 -1
  109. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"sheets-get.d.cts","names":[],"sources":["../../src/actions/sheets-get.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"sheets-get.d.cts","names":[],"sources":["../../src/actions/sheets-get.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { procfu } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/sheets-get.d.ts
@@ -8,22 +10,7 @@ declare const ProcfuSheetsGetInput: z.ZodObject<{
8
10
  declare const ProcfuSheetsGetOutput: z.ZodObject<{
9
11
  rows: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
10
12
  }, z.core.$loose>;
11
- declare const procfuSheetsGet: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- range: string;
13
- sheet_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
15
- connectionId: z.ZodString;
16
- entityId: z.ZodString;
17
- instanceId: z.ZodString;
18
- }, z.core.$strip>, z.ZodObject<{
19
- basic_encoded: z.ZodString;
20
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
21
- connectionId: z.ZodString;
22
- entityId: z.ZodString;
23
- instanceId: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- basic_encoded: z.ZodString;
26
- }, z.core.$strip>>]>;
13
+ declare const procfuSheetsGet: AppAction<typeof ProcfuSheetsGetInput, typeof ProcfuSheetsGetOutput, typeof procfu.credential>;
27
14
  //#endregion
28
15
  export { procfuSheetsGet };
29
16
  //# sourceMappingURL=sheets-get.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sheets-get.d.mts","names":[],"sources":["../../src/actions/sheets-get.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"sheets-get.d.mts","names":[],"sources":["../../src/actions/sheets-get.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const procfuSheetsGet = action("PROCFU_SHEETS_GET", {
@@ -1 +1 @@
1
- {"version":3,"file":"sheets-get.mjs","names":[],"sources":["../../src/actions/sheets-get.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuSheetsGetInput = z.object({\n range: z.string().describe(\"Name of the sheet/tab within the spreadsheet to retrieve.\"),\n sheet_id: z.string().describe(\"Google Sheet ID to fetch data from.\"),\n}).describe(\"Request parameters for SHEETS_GET action.\");\nexport const ProcfuSheetsGetOutput = z.object({\n rows: z.array(z.record(z.string(), z.unknown())).describe(\"List of rows as associative arrays (column header to cell value).\"),\n}).passthrough().describe(\"Response model for SHEETS_GET action.\");\n\nexport const procfuSheetsGet = action(\"PROCFU_SHEETS_GET\", {\n slug: \"procfu-sheets-get\",\n name: \"Get Google Sheet contents as array\",\n description: \"Tool to get sheet contents as array. Use when you need to retrieve Google Sheet data as an associative array.\",\n input: ProcfuSheetsGetInput,\n output: ProcfuSheetsGetOutput,\n});\n"],"mappings":";;AAYA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkC,EAAE,OAAO;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,CAAC,CAAC,CAAC,SAAS,2CASH;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"sheets-get.mjs","names":[],"sources":["../../src/actions/sheets-get.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { procfu } from \"../app\";\n\nexport const ProcfuSheetsGetInput = z.object({\n range: z.string().describe(\"Name of the sheet/tab within the spreadsheet to retrieve.\"),\n sheet_id: z.string().describe(\"Google Sheet ID to fetch data from.\"),\n}).describe(\"Request parameters for SHEETS_GET action.\");\nexport const ProcfuSheetsGetOutput = z.object({\n rows: z.array(z.record(z.string(), z.unknown())).describe(\"List of rows as associative arrays (column header to cell value).\"),\n}).passthrough().describe(\"Response model for SHEETS_GET action.\");\n\nexport const procfuSheetsGet: AppAction<\n typeof ProcfuSheetsGetInput,\n typeof ProcfuSheetsGetOutput,\n typeof procfu.credential\n> = action(\"PROCFU_SHEETS_GET\", {\n slug: \"procfu-sheets-get\",\n name: \"Get Google Sheet contents as array\",\n description: \"Tool to get sheet contents as array. Use when you need to retrieve Google Sheet data as an associative array.\",\n input: ProcfuSheetsGetInput,\n output: ProcfuSheetsGetOutput,\n});\n"],"mappings":";;;AAcA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkC,EAAE,OAAO;EAC3C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACrE,CAAC,CAAC,CAAC,SAAS,2CAaH;CACP,QAbmC,EAAE,OAAO,EAC5C,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/upload-podio-item-image.ts
@@ -1 +1 @@
1
- {"version":3,"file":"upload-podio-item-image.cjs","names":["z","action"],"sources":["../../src/actions/upload-podio-item-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuUploadPodioItemImageInput = z.object({\n hook: z.boolean().describe(\"Whether to create a hook event in Podio for this file upload. Set to true to trigger webhooks, false to skip them.\").optional(),\n silent: z.boolean().describe(\"Whether to include the silent flag when uploading. Set to true to suppress notifications in Podio.\").optional(),\n headers: z.string().describe(\"Optional HTTP headers to send when fetching the remote file. Use comma-separated format for multiple headers (e.g., 'User-Agent: MyBot, Accept: image/*').\").optional(),\n file_url: z.string().describe(\"Web address (URL) of the remote file to upload. Must be a publicly accessible image URL.\"),\n podio_item_id: z.number().int().describe(\"Identifier for the Podio item to attach the image to.\"),\n image_field_id: z.string().describe(\"External ID of the image field in the Podio item where the file will be uploaded.\"),\n}).describe(\"Request parameters for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\nexport const ProcfuUploadPodioItemImageOutput = z.object({\n result: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\n\nexport const procfuUploadPodioItemImage = action(\"PROCFU_UPLOAD_PODIO_ITEM_IMAGE\", {\n slug: \"procfu-upload-podio-item-image\",\n name: \"Upload image to Podio item field\",\n description: \"Tool to upload a remote image file by URL to a Podio item image field. Use when you need to attach an image from a web URL to a specific field in a Podio item.\",\n input: ProcfuUploadPodioItemImageInput,\n output: ProcfuUploadPodioItemImageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACpM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACxH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;AACzH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"upload-podio-item-image.cjs","names":["z","action"],"sources":["../../src/actions/upload-podio-item-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { procfu } from \"../app\";\n\nexport const ProcfuUploadPodioItemImageInput = z.object({\n hook: z.boolean().describe(\"Whether to create a hook event in Podio for this file upload. Set to true to trigger webhooks, false to skip them.\").optional(),\n silent: z.boolean().describe(\"Whether to include the silent flag when uploading. Set to true to suppress notifications in Podio.\").optional(),\n headers: z.string().describe(\"Optional HTTP headers to send when fetching the remote file. Use comma-separated format for multiple headers (e.g., 'User-Agent: MyBot, Accept: image/*').\").optional(),\n file_url: z.string().describe(\"Web address (URL) of the remote file to upload. Must be a publicly accessible image URL.\"),\n podio_item_id: z.number().int().describe(\"Identifier for the Podio item to attach the image to.\"),\n image_field_id: z.string().describe(\"External ID of the image field in the Podio item where the file will be uploaded.\"),\n}).describe(\"Request parameters for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\nexport const ProcfuUploadPodioItemImageOutput = z.object({\n result: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\n\nexport const procfuUploadPodioItemImage: AppAction<\n typeof ProcfuUploadPodioItemImageInput,\n typeof ProcfuUploadPodioItemImageOutput,\n typeof procfu.credential\n> = action(\"PROCFU_UPLOAD_PODIO_ITEM_IMAGE\", {\n slug: \"procfu-upload-podio-item-image\",\n name: \"Upload image to Podio item field\",\n description: \"Tool to upload a remote image file by URL to a Podio item image field. Use when you need to attach an image from a web URL to a specific field in a Podio item.\",\n input: ProcfuUploadPodioItemImageInput,\n output: ProcfuUploadPodioItemImageOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;CACpM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;CACxH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;AACzH,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { procfu } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-podio-item-image.d.ts
@@ -12,26 +14,7 @@ declare const ProcfuUploadPodioItemImageInput: z.ZodObject<{
12
14
  declare const ProcfuUploadPodioItemImageOutput: z.ZodObject<{
13
15
  result: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
14
16
  }, z.core.$loose>;
15
- declare const procfuUploadPodioItemImage: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- file_url: string;
17
- podio_item_id: number;
18
- image_field_id: string;
19
- hook?: boolean | undefined;
20
- silent?: boolean | undefined;
21
- headers?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- basic_encoded: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- basic_encoded: z.ZodString;
34
- }, z.core.$strip>>]>;
17
+ declare const procfuUploadPodioItemImage: AppAction<typeof ProcfuUploadPodioItemImageInput, typeof ProcfuUploadPodioItemImageOutput, typeof procfu.credential>;
35
18
  //#endregion
36
19
  export { procfuUploadPodioItemImage };
37
20
  //# sourceMappingURL=upload-podio-item-image.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-podio-item-image.d.cts","names":[],"sources":["../../src/actions/upload-podio-item-image.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"upload-podio-item-image.d.cts","names":[],"sources":["../../src/actions/upload-podio-item-image.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { procfu } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/upload-podio-item-image.d.ts
@@ -12,26 +14,7 @@ declare const ProcfuUploadPodioItemImageInput: z.ZodObject<{
12
14
  declare const ProcfuUploadPodioItemImageOutput: z.ZodObject<{
13
15
  result: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
14
16
  }, z.core.$loose>;
15
- declare const procfuUploadPodioItemImage: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- file_url: string;
17
- podio_item_id: number;
18
- image_field_id: string;
19
- hook?: boolean | undefined;
20
- silent?: boolean | undefined;
21
- headers?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- basic_encoded: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- basic_encoded: z.ZodString;
34
- }, z.core.$strip>>]>;
17
+ declare const procfuUploadPodioItemImage: AppAction<typeof ProcfuUploadPodioItemImageInput, typeof ProcfuUploadPodioItemImageOutput, typeof procfu.credential>;
35
18
  //#endregion
36
19
  export { procfuUploadPodioItemImage };
37
20
  //# sourceMappingURL=upload-podio-item-image.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upload-podio-item-image.d.mts","names":[],"sources":["../../src/actions/upload-podio-item-image.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"upload-podio-item-image.d.mts","names":[],"sources":["../../src/actions/upload-podio-item-image.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,MAAA,CAAO,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const procfuUploadPodioItemImage = action("PROCFU_UPLOAD_PODIO_ITEM_IMAGE", {
@@ -1 +1 @@
1
- {"version":3,"file":"upload-podio-item-image.mjs","names":[],"sources":["../../src/actions/upload-podio-item-image.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcfuUploadPodioItemImageInput = z.object({\n hook: z.boolean().describe(\"Whether to create a hook event in Podio for this file upload. Set to true to trigger webhooks, false to skip them.\").optional(),\n silent: z.boolean().describe(\"Whether to include the silent flag when uploading. Set to true to suppress notifications in Podio.\").optional(),\n headers: z.string().describe(\"Optional HTTP headers to send when fetching the remote file. Use comma-separated format for multiple headers (e.g., 'User-Agent: MyBot, Accept: image/*').\").optional(),\n file_url: z.string().describe(\"Web address (URL) of the remote file to upload. Must be a publicly accessible image URL.\"),\n podio_item_id: z.number().int().describe(\"Identifier for the Podio item to attach the image to.\"),\n image_field_id: z.string().describe(\"External ID of the image field in the Podio item where the file will be uploaded.\"),\n}).describe(\"Request parameters for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\nexport const ProcfuUploadPodioItemImageOutput = z.object({\n result: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\n\nexport const procfuUploadPodioItemImage = action(\"PROCFU_UPLOAD_PODIO_ITEM_IMAGE\", {\n slug: \"procfu-upload-podio-item-image\",\n name: \"Upload image to Podio item field\",\n description: \"Tool to upload a remote image file by URL to a Podio item image field. Use when you need to attach an image from a web URL to a specific field in a Podio item.\",\n input: ProcfuUploadPodioItemImageInput,\n output: ProcfuUploadPodioItemImageOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC1J,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EACpM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACxH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CACzH,CAAC,CAAC,CAAC,SAAS,+DASH;CACP,QAT8C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"upload-podio-item-image.mjs","names":[],"sources":["../../src/actions/upload-podio-item-image.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { procfu } from \"../app\";\n\nexport const ProcfuUploadPodioItemImageInput = z.object({\n hook: z.boolean().describe(\"Whether to create a hook event in Podio for this file upload. Set to true to trigger webhooks, false to skip them.\").optional(),\n silent: z.boolean().describe(\"Whether to include the silent flag when uploading. Set to true to suppress notifications in Podio.\").optional(),\n headers: z.string().describe(\"Optional HTTP headers to send when fetching the remote file. Use comma-separated format for multiple headers (e.g., 'User-Agent: MyBot, Accept: image/*').\").optional(),\n file_url: z.string().describe(\"Web address (URL) of the remote file to upload. Must be a publicly accessible image URL.\"),\n podio_item_id: z.number().int().describe(\"Identifier for the Podio item to attach the image to.\"),\n image_field_id: z.string().describe(\"External ID of the image field in the Podio item where the file will be uploaded.\"),\n}).describe(\"Request parameters for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\nexport const ProcfuUploadPodioItemImageOutput = z.object({\n result: z.union([z.string(), z.record(z.string(), z.unknown())]),\n}).passthrough().describe(\"Response model for PROCFU_PODIO_ITEM_IMAGE_UPLOAD action.\");\n\nexport const procfuUploadPodioItemImage: AppAction<\n typeof ProcfuUploadPodioItemImageInput,\n typeof ProcfuUploadPodioItemImageOutput,\n typeof procfu.credential\n> = action(\"PROCFU_UPLOAD_PODIO_ITEM_IMAGE\", {\n slug: \"procfu-upload-podio-item-image\",\n name: \"Upload image to Podio item field\",\n description: \"Tool to upload a remote image file by URL to a Podio item image field. Use when you need to attach an image from a web URL to a specific field in a Podio item.\",\n input: ProcfuUploadPodioItemImageInput,\n output: ProcfuUploadPodioItemImageOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB6C,EAAE,OAAO;EACtD,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;EAC1J,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4JAA4J,CAAC,CAAC,SAAS;EACpM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F;EACxH,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;CACzH,CAAC,CAAC,CAAC,SAAS,+DAaH;CACP,QAb8C,EAAE,OAAO,EACvD,QAAQ,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,EACjE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,10 +1,10 @@
1
1
  let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
- let zod = require("zod");
3
2
  //#region src/app.ts
3
+ const credential = { basic_encoded: require("zod").z.string() };
4
4
  const procfu = (0, _keystrokehq_keystroke_app.defineApp)({
5
5
  slug: "procfu",
6
6
  auth: "keystroke",
7
- credential: { basic_encoded: zod.z.string() }
7
+ credential
8
8
  });
9
9
  //#endregion
10
10
  exports.procfu = procfu;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const procfu = defineApp({\n slug: \"procfu\",\n auth: \"keystroke\",\n credential: {\n basic_encoded: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,eAAeA,IAAAA,EAAE,OAAO,EAC1B;AACF,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n basic_encoded: z.string(),\n};\n\nexport const procfu: KeystrokeApp<\"procfu\", typeof credential> = defineApp({\n slug: \"procfu\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,4BAAeA,CAAAA,CAAAA,EAAE,OAAO,EAC1B;AAEA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAA8D;CACzE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const procfu: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  basic_encoded: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const procfu: KeystrokeApp<"procfu", typeof credential>;
11
9
  //#endregion
12
10
  export { procfu };
13
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;iBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,13 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
1
2
  import { z } from "zod";
2
3
 
3
4
  //#region src/app.d.ts
4
- declare const procfu: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"procfu", z.ZodObject<{
5
- connectionId: z.ZodString;
6
- entityId: z.ZodString;
7
- instanceId: z.ZodString;
8
- }, z.core.$strip>, z.ZodObject<{
5
+ declare const credential: {
9
6
  basic_encoded: z.ZodString;
10
- }, z.core.$strip>>>;
7
+ };
8
+ declare const procfu: KeystrokeApp<"procfu", typeof credential>;
11
9
  //#endregion
12
10
  export { procfu };
13
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;iBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,MAAA,EAAQ,YAAY,kBAAkB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,6 +1,5 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
2
  import { z } from "zod";
3
- //#region src/app.ts
4
3
  const procfu = defineApp({
5
4
  slug: "procfu",
6
5
  auth: "keystroke",
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const procfu = defineApp({\n slug: \"procfu\",\n auth: \"keystroke\",\n credential: {\n basic_encoded: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,eAAe,EAAE,OAAO,EAC1B;AACF,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n basic_encoded: z.string(),\n};\n\nexport const procfu: KeystrokeApp<\"procfu\", typeof credential> = defineApp({\n slug: \"procfu\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,SAAoD,UAAU;CACzE,MAAM;CACN,MAAM;CACN,cANA,eAAe,EAAE,OAAO,EAMxB;AACF,CAAC"}
package/dist/index.d.cts CHANGED
@@ -1,3 +1,4 @@
1
+ import { procfu } from "./app.cjs";
1
2
  import { procfuArrayDiffDel } from "./actions/array-diff-del.cjs";
2
3
  import { procfuArrayDiffNew } from "./actions/array-diff-new.cjs";
3
4
  import { procfuArrayDiffSame } from "./actions/array-diff-same.cjs";
@@ -10,6 +11,5 @@ import { procfuOpenAiImage } from "./actions/open-ai-image.cjs";
10
11
  import { procfuSheetsGet } from "./actions/sheets-get.cjs";
11
12
  import { procfuSheetsGetMetadata } from "./actions/sheets-get-metadata.cjs";
12
13
  import { procfuUploadPodioItemImage } from "./actions/upload-podio-item-image.cjs";
13
- import { procfu } from "./app.cjs";
14
14
  import { procfuCatalog } from "./catalog.cjs";
15
15
  export { procfu, procfuArrayDiffDel, procfuArrayDiffNew, procfuArrayDiffSame, procfuArraySort, procfuCatalog, procfuCopyPodioFilesToFtp, procfuDummyData, procfuGoogleDriveDelete, procfuOpenAiGpt, procfuOpenAiImage, procfuSheetsGet, procfuSheetsGetMetadata, procfuUploadPodioItemImage };
package/dist/index.d.mts CHANGED
@@ -1,3 +1,4 @@
1
+ import { procfu } from "./app.mjs";
1
2
  import { procfuArrayDiffDel } from "./actions/array-diff-del.mjs";
2
3
  import { procfuArrayDiffNew } from "./actions/array-diff-new.mjs";
3
4
  import { procfuArrayDiffSame } from "./actions/array-diff-same.mjs";
@@ -10,6 +11,5 @@ import { procfuOpenAiImage } from "./actions/open-ai-image.mjs";
10
11
  import { procfuSheetsGet } from "./actions/sheets-get.mjs";
11
12
  import { procfuSheetsGetMetadata } from "./actions/sheets-get-metadata.mjs";
12
13
  import { procfuUploadPodioItemImage } from "./actions/upload-podio-item-image.mjs";
13
- import { procfu } from "./app.mjs";
14
14
  import { procfuCatalog } from "./catalog.mjs";
15
15
  export { procfu, procfuArrayDiffDel, procfuArrayDiffNew, procfuArrayDiffSame, procfuArraySort, procfuCatalog, procfuCopyPodioFilesToFtp, procfuDummyData, procfuGoogleDriveDelete, procfuOpenAiGpt, procfuOpenAiImage, procfuSheetsGet, procfuSheetsGetMetadata, procfuUploadPodioItemImage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/procfu",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": ">=0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.104",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {