@keystrokehq/process_street 0.1.0 → 0.1.2

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 (47) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/complete-workflow-run.cjs +4 -4
  4. package/dist/actions/complete-workflow-run.cjs.map +1 -1
  5. package/dist/actions/complete-workflow-run.d.cts +12 -3
  6. package/dist/actions/complete-workflow-run.d.cts.map +1 -1
  7. package/dist/actions/complete-workflow-run.d.mts +12 -3
  8. package/dist/actions/complete-workflow-run.d.mts.map +1 -1
  9. package/dist/actions/complete-workflow-run.mjs +4 -4
  10. package/dist/actions/complete-workflow-run.mjs.map +1 -1
  11. package/dist/actions/create-workflow-run.cjs +4 -4
  12. package/dist/actions/create-workflow-run.cjs.map +1 -1
  13. package/dist/actions/create-workflow-run.d.cts +20 -3
  14. package/dist/actions/create-workflow-run.d.cts.map +1 -1
  15. package/dist/actions/create-workflow-run.d.mts +20 -3
  16. package/dist/actions/create-workflow-run.d.mts.map +1 -1
  17. package/dist/actions/create-workflow-run.mjs +4 -4
  18. package/dist/actions/create-workflow-run.mjs.map +1 -1
  19. package/dist/actions/find-data-set-rows.cjs +6 -6
  20. package/dist/actions/find-data-set-rows.cjs.map +1 -1
  21. package/dist/actions/find-data-set-rows.d.cts +23 -3
  22. package/dist/actions/find-data-set-rows.d.cts.map +1 -1
  23. package/dist/actions/find-data-set-rows.d.mts +23 -3
  24. package/dist/actions/find-data-set-rows.d.mts.map +1 -1
  25. package/dist/actions/find-data-set-rows.mjs +6 -6
  26. package/dist/actions/find-data-set-rows.mjs.map +1 -1
  27. package/dist/actions/list-workflows.cjs +8 -8
  28. package/dist/actions/list-workflows.cjs.map +1 -1
  29. package/dist/actions/list-workflows.d.cts +20 -3
  30. package/dist/actions/list-workflows.d.cts.map +1 -1
  31. package/dist/actions/list-workflows.d.mts +20 -3
  32. package/dist/actions/list-workflows.d.mts.map +1 -1
  33. package/dist/actions/list-workflows.mjs +8 -8
  34. package/dist/actions/list-workflows.mjs.map +1 -1
  35. package/dist/actions/undelete-workflow-run.cjs.map +1 -1
  36. package/dist/actions/undelete-workflow-run.d.cts +9 -3
  37. package/dist/actions/undelete-workflow-run.d.cts.map +1 -1
  38. package/dist/actions/undelete-workflow-run.d.mts +9 -3
  39. package/dist/actions/undelete-workflow-run.d.mts.map +1 -1
  40. package/dist/actions/undelete-workflow-run.mjs.map +1 -1
  41. package/dist/catalog.cjs +7 -1
  42. package/dist/catalog.cjs.map +1 -1
  43. package/dist/catalog.d.cts +8 -0
  44. package/dist/catalog.d.mts +8 -0
  45. package/dist/catalog.mjs +7 -1
  46. package/dist/catalog.mjs.map +1 -1
  47. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["processStreet","executeProcessStreetTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { processStreet } from \"./app\";\nimport { executeProcessStreetTool } 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: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return processStreet.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProcessStreetTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,cAAc,OAAO;EAC1B,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,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["processStreet","executeProcessStreetTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { processStreet } from \"./app\";\nimport { executeProcessStreetTool } 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 processStreet.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 executeProcessStreetTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,cAAc,OAAO;EAC1B,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,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { processStreet } from \"./app\";\nimport { executeProcessStreetTool } 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: z.ZodTypeAny;\n output: z.ZodTypeAny;\n },\n) {\n return processStreet.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeProcessStreetTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { processStreet } from \"./app\";\nimport { executeProcessStreetTool } 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 processStreet.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 executeProcessStreetTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,cAAc,OAAO;EAC1B,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,yBAAyB,MAAM,KAAgC,CAAC;EAChG;CACF,CAAC;AACH"}
@@ -3,10 +3,10 @@ let zod = require("zod");
3
3
  //#region src/actions/complete-workflow-run.ts
4
4
  const ProcessStreetCompleteWorkflowRunInput = zod.z.object({ workflow_run_id: zod.z.string().describe("The ID of the workflow run to complete. This is a unique identifier for the workflow run instance, typically a 22-character alphanumeric string (e.g., 'jBAbMsR7BGBdDOLqDUFBmg').") }).describe("Request model for completing a workflow run.");
5
5
  const ProcessStreetCompleteWorkflowRunOutput = zod.z.object({
6
- success: zod.z.boolean().describe("Whether the workflow run was completed successfully."),
7
- new_status: zod.z.string().describe("The new status of the workflow run after completion ('Completed')."),
8
- previous_status: zod.z.string().describe("The status of the workflow run before the update."),
9
- workflow_run_id: zod.z.string().describe("The ID of the workflow run that was completed.")
6
+ success: zod.z.boolean().describe("Whether the workflow run was completed successfully.").nullable(),
7
+ new_status: zod.z.string().describe("The new status of the workflow run after completion ('Completed').").nullable(),
8
+ previous_status: zod.z.string().describe("The status of the workflow run before the update.").nullable(),
9
+ workflow_run_id: zod.z.string().describe("The ID of the workflow run that was completed.").nullable()
10
10
  }).describe("Response model for completing a workflow run.");
11
11
  const processStreetCompleteWorkflowRun = require_action.action("PROCESS_STREET_COMPLETE_WORKFLOW_RUN", {
12
12
  slug: "process_street-complete-workflow-run",
@@ -1 +1 @@
1
- {"version":3,"file":"complete-workflow-run.cjs","names":["z","action"],"sources":["../../src/actions/complete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCompleteWorkflowRunInput: z.ZodTypeAny = z.object({\n workflow_run_id: z.string().describe(\"The ID of the workflow run to complete. This is a unique identifier for the workflow run instance, typically a 22-character alphanumeric string (e.g., 'jBAbMsR7BGBdDOLqDUFBmg').\"),\n}).describe(\"Request model for completing a workflow run.\");\nexport const ProcessStreetCompleteWorkflowRunOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Whether the workflow run was completed successfully.\"),\n new_status: z.string().describe(\"The new status of the workflow run after completion ('Completed').\"),\n previous_status: z.string().describe(\"The status of the workflow run before the update.\"),\n workflow_run_id: z.string().describe(\"The ID of the workflow run that was completed.\"),\n}).describe(\"Response model for completing a workflow run.\");\n\nexport const processStreetCompleteWorkflowRun = action(\"PROCESS_STREET_COMPLETE_WORKFLOW_RUN\", {\n slug: \"process_street-complete-workflow-run\",\n name: \"Complete a workflow run\",\n description: \"This tool marks an entire workflow run as completed in Process Street. It first retrieves the current workflow run details, then updates the status to 'Completed' while preserving other fields like name and shared status. This distinguishes it from PROCESS_STREET_COMPLETE_TASK which completes individual tasks within a workflow run.\",\n input: ProcessStreetCompleteWorkflowRunInput,\n output: ProcessStreetCompleteWorkflowRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC1N,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,yCAAuDA,IAAAA,EAAE,OAAO;CAC3E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACpG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CACxF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AACvF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"complete-workflow-run.cjs","names":["z","action"],"sources":["../../src/actions/complete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCompleteWorkflowRunInput = z.object({\n workflow_run_id: z.string().describe(\"The ID of the workflow run to complete. This is a unique identifier for the workflow run instance, typically a 22-character alphanumeric string (e.g., 'jBAbMsR7BGBdDOLqDUFBmg').\"),\n}).describe(\"Request model for completing a workflow run.\");\nexport const ProcessStreetCompleteWorkflowRunOutput = z.object({\n success: z.boolean().describe(\"Whether the workflow run was completed successfully.\").nullable(),\n new_status: z.string().describe(\"The new status of the workflow run after completion ('Completed').\").nullable(),\n previous_status: z.string().describe(\"The status of the workflow run before the update.\").nullable(),\n workflow_run_id: z.string().describe(\"The ID of the workflow run that was completed.\").nullable(),\n}).describe(\"Response model for completing a workflow run.\");\n\nexport const processStreetCompleteWorkflowRun = action(\"PROCESS_STREET_COMPLETE_WORKFLOW_RUN\", {\n slug: \"process_street-complete-workflow-run\",\n name: \"Complete a workflow run\",\n description: \"This tool marks an entire workflow run as completed in Process Street. It first retrieves the current workflow run details, then updates the status to 'Completed' while preserving other fields like name and shared status. This distinguishes it from PROCESS_STREET_COMPLETE_TASK which completes individual tasks within a workflow run.\",\n input: ProcessStreetCompleteWorkflowRunInput,\n output: ProcessStreetCompleteWorkflowRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC1N,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACnG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/complete-workflow-run.d.ts
4
- declare const ProcessStreetCompleteWorkflowRunInput: z.ZodTypeAny;
5
- declare const ProcessStreetCompleteWorkflowRunOutput: z.ZodTypeAny;
6
- declare const processStreetCompleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetCompleteWorkflowRunInput: z.ZodObject<{
5
+ workflow_run_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ProcessStreetCompleteWorkflowRunOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ new_status: z.ZodNullable<z.ZodString>;
10
+ previous_status: z.ZodNullable<z.ZodString>;
11
+ workflow_run_id: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const processStreetCompleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ workflow_run_id: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { processStreetCompleteWorkflowRun };
9
18
  //# sourceMappingURL=complete-workflow-run.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"complete-workflow-run.d.cts","names":[],"sources":["../../src/actions/complete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEK;AAAA,cAC9C,sCAAA,EAAwC,CAAA,CAAE,UAKK;AAAA,cAE/C,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"complete-workflow-run.d.cts","names":[],"sources":["../../src/actions/complete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/complete-workflow-run.d.ts
4
- declare const ProcessStreetCompleteWorkflowRunInput: z.ZodTypeAny;
5
- declare const ProcessStreetCompleteWorkflowRunOutput: z.ZodTypeAny;
6
- declare const processStreetCompleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetCompleteWorkflowRunInput: z.ZodObject<{
5
+ workflow_run_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ProcessStreetCompleteWorkflowRunOutput: z.ZodObject<{
8
+ success: z.ZodNullable<z.ZodBoolean>;
9
+ new_status: z.ZodNullable<z.ZodString>;
10
+ previous_status: z.ZodNullable<z.ZodString>;
11
+ workflow_run_id: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const processStreetCompleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<{
14
+ workflow_run_id: string;
15
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { processStreetCompleteWorkflowRun };
9
18
  //# sourceMappingURL=complete-workflow-run.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"complete-workflow-run.d.mts","names":[],"sources":["../../src/actions/complete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEK;AAAA,cAC9C,sCAAA,EAAwC,CAAA,CAAE,UAKK;AAAA,cAE/C,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"complete-workflow-run.d.mts","names":[],"sources":["../../src/actions/complete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;cAOtC,gCAAA,gCAAgC,wBAAA"}
@@ -6,10 +6,10 @@ const processStreetCompleteWorkflowRun = action("PROCESS_STREET_COMPLETE_WORKFLO
6
6
  description: "This tool marks an entire workflow run as completed in Process Street. It first retrieves the current workflow run details, then updates the status to 'Completed' while preserving other fields like name and shared status. This distinguishes it from PROCESS_STREET_COMPLETE_TASK which completes individual tasks within a workflow run.",
7
7
  input: z.object({ workflow_run_id: z.string().describe("The ID of the workflow run to complete. This is a unique identifier for the workflow run instance, typically a 22-character alphanumeric string (e.g., 'jBAbMsR7BGBdDOLqDUFBmg').") }).describe("Request model for completing a workflow run."),
8
8
  output: z.object({
9
- success: z.boolean().describe("Whether the workflow run was completed successfully."),
10
- new_status: z.string().describe("The new status of the workflow run after completion ('Completed')."),
11
- previous_status: z.string().describe("The status of the workflow run before the update."),
12
- workflow_run_id: z.string().describe("The ID of the workflow run that was completed.")
9
+ success: z.boolean().describe("Whether the workflow run was completed successfully.").nullable(),
10
+ new_status: z.string().describe("The new status of the workflow run after completion ('Completed').").nullable(),
11
+ previous_status: z.string().describe("The status of the workflow run before the update.").nullable(),
12
+ workflow_run_id: z.string().describe("The ID of the workflow run that was completed.").nullable()
13
13
  }).describe("Response model for completing a workflow run.")
14
14
  });
15
15
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"complete-workflow-run.mjs","names":[],"sources":["../../src/actions/complete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCompleteWorkflowRunInput: z.ZodTypeAny = z.object({\n workflow_run_id: z.string().describe(\"The ID of the workflow run to complete. This is a unique identifier for the workflow run instance, typically a 22-character alphanumeric string (e.g., 'jBAbMsR7BGBdDOLqDUFBmg').\"),\n}).describe(\"Request model for completing a workflow run.\");\nexport const ProcessStreetCompleteWorkflowRunOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Whether the workflow run was completed successfully.\"),\n new_status: z.string().describe(\"The new status of the workflow run after completion ('Completed').\"),\n previous_status: z.string().describe(\"The status of the workflow run before the update.\"),\n workflow_run_id: z.string().describe(\"The ID of the workflow run that was completed.\"),\n}).describe(\"Response model for completing a workflow run.\");\n\nexport const processStreetCompleteWorkflowRun = action(\"PROCESS_STREET_COMPLETE_WORKFLOW_RUN\", {\n slug: \"process_street-complete-workflow-run\",\n name: \"Complete a workflow run\",\n description: \"This tool marks an entire workflow run as completed in Process Street. It first retrieves the current workflow run details, then updates the status to 'Completed' while preserving other fields like name and shared status. This distinguishes it from PROCESS_STREET_COMPLETE_TASK which completes individual tasks within a workflow run.\",\n input: ProcessStreetCompleteWorkflowRunInput,\n output: ProcessStreetCompleteWorkflowRunOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdiE,EAAE,OAAO,EAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC1N,CAAC,CAAC,CAAC,SAAS,8CAYH;CACP,QAZkE,EAAE,OAAO;EAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD;EACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACpG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EACxF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;CACvF,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"complete-workflow-run.mjs","names":[],"sources":["../../src/actions/complete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCompleteWorkflowRunInput = z.object({\n workflow_run_id: z.string().describe(\"The ID of the workflow run to complete. This is a unique identifier for the workflow run instance, typically a 22-character alphanumeric string (e.g., 'jBAbMsR7BGBdDOLqDUFBmg').\"),\n}).describe(\"Request model for completing a workflow run.\");\nexport const ProcessStreetCompleteWorkflowRunOutput = z.object({\n success: z.boolean().describe(\"Whether the workflow run was completed successfully.\").nullable(),\n new_status: z.string().describe(\"The new status of the workflow run after completion ('Completed').\").nullable(),\n previous_status: z.string().describe(\"The status of the workflow run before the update.\").nullable(),\n workflow_run_id: z.string().describe(\"The ID of the workflow run that was completed.\").nullable(),\n}).describe(\"Response model for completing a workflow run.\");\n\nexport const processStreetCompleteWorkflowRun = action(\"PROCESS_STREET_COMPLETE_WORKFLOW_RUN\", {\n slug: \"process_street-complete-workflow-run\",\n name: \"Complete a workflow run\",\n description: \"This tool marks an entire workflow run as completed in Process Street. It first retrieves the current workflow run details, then updates the status to 'Completed' while preserving other fields like name and shared status. This distinguishes it from PROCESS_STREET_COMPLETE_TASK which completes individual tasks within a workflow run.\",\n input: ProcessStreetCompleteWorkflowRunInput,\n output: ProcessStreetCompleteWorkflowRunOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmD,EAAE,OAAO,EAC5D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mLAAmL,EAC1N,CAAC,CAAC,CAAC,SAAS,8CAYH;CACP,QAZoD,EAAE,OAAO;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACnG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAClG,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -8,12 +8,12 @@ const ProcessStreetCreateWorkflowRunInput = zod.z.object({
8
8
  workflow_template_id: zod.z.string().describe("The ID of the workflow template to create a run from. This is a 22-character Base64URL-encoded string that identifies the workflow template (e.g., 'jBAbMsR7BGBdDOLqDUFBmg'). You can obtain this ID by using the List Workflows action or from the Process Street UI.")
9
9
  });
10
10
  const ProcessStreetCreateWorkflowRunOutput = zod.z.object({
11
- name: zod.z.string().describe("Name of the workflow run"),
12
- status: zod.z.string().describe("Current status of the workflow run"),
11
+ name: zod.z.string().describe("Name of the workflow run").nullable(),
12
+ status: zod.z.string().describe("Current status of the workflow run").nullable(),
13
13
  due_date: zod.z.string().describe("Due date of the workflow run (if set)").nullable().optional(),
14
- created_at: zod.z.string().describe("Timestamp when the workflow run was created"),
14
+ created_at: zod.z.string().describe("Timestamp when the workflow run was created").nullable(),
15
15
  share_link: zod.z.string().describe("Share link URL (if enabled)").nullable().optional(),
16
- workflow_run_id: zod.z.string().describe("The ID of the created workflow run")
16
+ workflow_run_id: zod.z.string().describe("The ID of the created workflow run").nullable()
17
17
  });
18
18
  const processStreetCreateWorkflowRun = require_action.action("PROCESS_STREET_CREATE_WORKFLOW_RUN", {
19
19
  slug: "process_street-create-workflow-run",
@@ -1 +1 @@
1
- {"version":3,"file":"create-workflow-run.cjs","names":["z","action"],"sources":["../../src/actions/create-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCreateWorkflowRunInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Custom name for the workflow run\").optional(),\n shared: z.boolean().describe(\"Whether to enable a share link for the workflow run\").optional(),\n due_date: z.string().describe(\"Due date for the workflow run in ISO 8601 format\").optional(),\n workflow_template_id: z.string().describe(\"The ID of the workflow template to create a run from. This is a 22-character Base64URL-encoded string that identifies the workflow template (e.g., 'jBAbMsR7BGBdDOLqDUFBmg'). You can obtain this ID by using the List Workflows action or from the Process Street UI.\"),\n});\nexport const ProcessStreetCreateWorkflowRunOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the workflow run\"),\n status: z.string().describe(\"Current status of the workflow run\"),\n due_date: z.string().describe(\"Due date of the workflow run (if set)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the workflow run was created\"),\n share_link: z.string().describe(\"Share link URL (if enabled)\").nullable().optional(),\n workflow_run_id: z.string().describe(\"The ID of the created workflow run\"),\n});\n\nexport const processStreetCreateWorkflowRun = action(\"PROCESS_STREET_CREATE_WORKFLOW_RUN\", {\n slug: \"process_street-create-workflow-run\",\n name: \"Create Workflow Run\",\n description: \"This tool creates a new workflow run from a specified workflow template. It is one of the most fundamental operations in Process Street, allowing users to initiate a new instance of a workflow. The tool requires a workflow_template_id and optionally allows setting a custom name, due date, and whether to enable a share link.\",\n input: ProcessStreetCreateWorkflowRunInput,\n output: ProcessStreetCreateWorkflowRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wQAAwQ;AACpT,CAAC;AACD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAChE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AAC3E,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-workflow-run.cjs","names":["z","action"],"sources":["../../src/actions/create-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCreateWorkflowRunInput = z.object({\n name: z.string().describe(\"Custom name for the workflow run\").optional(),\n shared: z.boolean().describe(\"Whether to enable a share link for the workflow run\").optional(),\n due_date: z.string().describe(\"Due date for the workflow run in ISO 8601 format\").optional(),\n workflow_template_id: z.string().describe(\"The ID of the workflow template to create a run from. This is a 22-character Base64URL-encoded string that identifies the workflow template (e.g., 'jBAbMsR7BGBdDOLqDUFBmg'). You can obtain this ID by using the List Workflows action or from the Process Street UI.\"),\n});\nexport const ProcessStreetCreateWorkflowRunOutput = z.object({\n name: z.string().describe(\"Name of the workflow run\").nullable(),\n status: z.string().describe(\"Current status of the workflow run\").nullable(),\n due_date: z.string().describe(\"Due date of the workflow run (if set)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the workflow run was created\").nullable(),\n share_link: z.string().describe(\"Share link URL (if enabled)\").nullable().optional(),\n workflow_run_id: z.string().describe(\"The ID of the created workflow run\").nullable(),\n});\n\nexport const processStreetCreateWorkflowRun = action(\"PROCESS_STREET_CREATE_WORKFLOW_RUN\", {\n slug: \"process_street-create-workflow-run\",\n name: \"Create Workflow Run\",\n description: \"This tool creates a new workflow run from a specified workflow template. It is one of the most fundamental operations in Process Street, allowing users to initiate a new instance of a workflow. The tool requires a workflow_template_id and optionally allows setting a custom name, due date, and whether to enable a share link.\",\n input: ProcessStreetCreateWorkflowRunInput,\n output: ProcessStreetCreateWorkflowRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wQAAwQ;AACpT,CAAC;AACD,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACtF,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-workflow-run.d.ts
4
- declare const ProcessStreetCreateWorkflowRunInput: z.ZodTypeAny;
5
- declare const ProcessStreetCreateWorkflowRunOutput: z.ZodTypeAny;
6
- declare const processStreetCreateWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetCreateWorkflowRunInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ shared: z.ZodOptional<z.ZodBoolean>;
7
+ due_date: z.ZodOptional<z.ZodString>;
8
+ workflow_template_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ProcessStreetCreateWorkflowRunOutput: z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ status: z.ZodNullable<z.ZodString>;
13
+ due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodNullable<z.ZodString>;
15
+ share_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ workflow_run_id: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const processStreetCreateWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ workflow_template_id: string;
20
+ name?: string | undefined;
21
+ shared?: boolean | undefined;
22
+ due_date?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { processStreetCreateWorkflowRun };
9
26
  //# sourceMappingURL=create-workflow-run.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-workflow-run.d.cts","names":[],"sources":["../../src/actions/create-workflow-run.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAOnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-workflow-run.d.cts","names":[],"sources":["../../src/actions/create-workflow-run.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cASpC,8BAAA,gCAA8B,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-workflow-run.d.ts
4
- declare const ProcessStreetCreateWorkflowRunInput: z.ZodTypeAny;
5
- declare const ProcessStreetCreateWorkflowRunOutput: z.ZodTypeAny;
6
- declare const processStreetCreateWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetCreateWorkflowRunInput: z.ZodObject<{
5
+ name: z.ZodOptional<z.ZodString>;
6
+ shared: z.ZodOptional<z.ZodBoolean>;
7
+ due_date: z.ZodOptional<z.ZodString>;
8
+ workflow_template_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ProcessStreetCreateWorkflowRunOutput: z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ status: z.ZodNullable<z.ZodString>;
13
+ due_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ created_at: z.ZodNullable<z.ZodString>;
15
+ share_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ workflow_run_id: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>;
18
+ declare const processStreetCreateWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<{
19
+ workflow_template_id: string;
20
+ name?: string | undefined;
21
+ shared?: boolean | undefined;
22
+ due_date?: string | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { processStreetCreateWorkflowRun };
9
26
  //# sourceMappingURL=create-workflow-run.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-workflow-run.d.mts","names":[],"sources":["../../src/actions/create-workflow-run.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAKlD;AAAA,cACW,oCAAA,EAAsC,CAAA,CAAE,UAOnD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"create-workflow-run.d.mts","names":[],"sources":["../../src/actions/create-workflow-run.ts"],"mappings":";;;cAIa,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;cAMnC,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;;;;;;cASpC,8BAAA,gCAA8B,wBAAA"}
@@ -11,12 +11,12 @@ const processStreetCreateWorkflowRun = action("PROCESS_STREET_CREATE_WORKFLOW_RU
11
11
  workflow_template_id: z.string().describe("The ID of the workflow template to create a run from. This is a 22-character Base64URL-encoded string that identifies the workflow template (e.g., 'jBAbMsR7BGBdDOLqDUFBmg'). You can obtain this ID by using the List Workflows action or from the Process Street UI.")
12
12
  }),
13
13
  output: z.object({
14
- name: z.string().describe("Name of the workflow run"),
15
- status: z.string().describe("Current status of the workflow run"),
14
+ name: z.string().describe("Name of the workflow run").nullable(),
15
+ status: z.string().describe("Current status of the workflow run").nullable(),
16
16
  due_date: z.string().describe("Due date of the workflow run (if set)").nullable().optional(),
17
- created_at: z.string().describe("Timestamp when the workflow run was created"),
17
+ created_at: z.string().describe("Timestamp when the workflow run was created").nullable(),
18
18
  share_link: z.string().describe("Share link URL (if enabled)").nullable().optional(),
19
- workflow_run_id: z.string().describe("The ID of the created workflow run")
19
+ workflow_run_id: z.string().describe("The ID of the created workflow run").nullable()
20
20
  })
21
21
  });
22
22
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"create-workflow-run.mjs","names":[],"sources":["../../src/actions/create-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCreateWorkflowRunInput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Custom name for the workflow run\").optional(),\n shared: z.boolean().describe(\"Whether to enable a share link for the workflow run\").optional(),\n due_date: z.string().describe(\"Due date for the workflow run in ISO 8601 format\").optional(),\n workflow_template_id: z.string().describe(\"The ID of the workflow template to create a run from. This is a 22-character Base64URL-encoded string that identifies the workflow template (e.g., 'jBAbMsR7BGBdDOLqDUFBmg'). You can obtain this ID by using the List Workflows action or from the Process Street UI.\"),\n});\nexport const ProcessStreetCreateWorkflowRunOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the workflow run\"),\n status: z.string().describe(\"Current status of the workflow run\"),\n due_date: z.string().describe(\"Due date of the workflow run (if set)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the workflow run was created\"),\n share_link: z.string().describe(\"Share link URL (if enabled)\").nullable().optional(),\n workflow_run_id: z.string().describe(\"The ID of the created workflow run\"),\n});\n\nexport const processStreetCreateWorkflowRun = action(\"PROCESS_STREET_CREATE_WORKFLOW_RUN\", {\n slug: \"process_street-create-workflow-run\",\n name: \"Create Workflow Run\",\n description: \"This tool creates a new workflow run from a specified workflow template. It is one of the most fundamental operations in Process Street, allowing users to initiate a new instance of a workflow. The tool requires a workflow_template_id and optionally allows setting a custom name, due date, and whether to enable a share link.\",\n input: ProcessStreetCreateWorkflowRunInput,\n output: ProcessStreetCreateWorkflowRunOutput,\n});\n"],"mappings":";;AAmBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB+D,EAAE,OAAO;EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wQAAwQ;CACpT,CAcS;CACP,QAdgE,EAAE,OAAO;EACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAChE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC3E,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-workflow-run.mjs","names":[],"sources":["../../src/actions/create-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetCreateWorkflowRunInput = z.object({\n name: z.string().describe(\"Custom name for the workflow run\").optional(),\n shared: z.boolean().describe(\"Whether to enable a share link for the workflow run\").optional(),\n due_date: z.string().describe(\"Due date for the workflow run in ISO 8601 format\").optional(),\n workflow_template_id: z.string().describe(\"The ID of the workflow template to create a run from. This is a 22-character Base64URL-encoded string that identifies the workflow template (e.g., 'jBAbMsR7BGBdDOLqDUFBmg'). You can obtain this ID by using the List Workflows action or from the Process Street UI.\"),\n});\nexport const ProcessStreetCreateWorkflowRunOutput = z.object({\n name: z.string().describe(\"Name of the workflow run\").nullable(),\n status: z.string().describe(\"Current status of the workflow run\").nullable(),\n due_date: z.string().describe(\"Due date of the workflow run (if set)\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the workflow run was created\").nullable(),\n share_link: z.string().describe(\"Share link URL (if enabled)\").nullable().optional(),\n workflow_run_id: z.string().describe(\"The ID of the created workflow run\").nullable(),\n});\n\nexport const processStreetCreateWorkflowRun = action(\"PROCESS_STREET_CREATE_WORKFLOW_RUN\", {\n slug: \"process_street-create-workflow-run\",\n name: \"Create Workflow Run\",\n description: \"This tool creates a new workflow run from a specified workflow template. It is one of the most fundamental operations in Process Street, allowing users to initiate a new instance of a workflow. The tool requires a workflow_template_id and optionally allows setting a custom name, due date, and whether to enable a share link.\",\n input: ProcessStreetCreateWorkflowRunInput,\n output: ProcessStreetCreateWorkflowRunOutput,\n});\n"],"mappings":";;AAmBA,MAAa,iCAAiC,OAAO,sCAAsC;CACzF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBiD,EAAE,OAAO;EAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wQAAwQ;CACpT,CAcS;CACP,QAdkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC3E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACtF,CAOU;AACV,CAAC"}
@@ -8,15 +8,15 @@ const ProcessStreetFindDataSetRowsInput = zod.z.object({
8
8
  data_set_id: zod.z.string().describe("The unique identifier of the data set to search in. You can find this ID in the Process Street UI when viewing a data set, or via the data sets list endpoint.")
9
9
  });
10
10
  const ProcessStreetFindDataSetRows_DataSetRecordSchema = zod.z.object({
11
- id: zod.z.string().describe("The unique identifier of the record"),
11
+ id: zod.z.string().describe("The unique identifier of the record").nullable(),
12
12
  data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The record data containing field values"),
13
- created_at: zod.z.string().describe("The timestamp when the record was created"),
14
- updated_at: zod.z.string().describe("The timestamp when the record was last updated")
13
+ created_at: zod.z.string().describe("The timestamp when the record was created").nullable(),
14
+ updated_at: zod.z.string().describe("The timestamp when the record was last updated").nullable()
15
15
  });
16
16
  const ProcessStreetFindDataSetRowsOutput = zod.z.object({
17
- page: zod.z.number().int().describe("Current page number"),
18
- limit: zod.z.number().int().describe("Number of records per page"),
19
- total: zod.z.number().int().describe("Total number of records matching the search criteria"),
17
+ page: zod.z.number().int().describe("Current page number").nullable(),
18
+ limit: zod.z.number().int().describe("Number of records per page").nullable(),
19
+ total: zod.z.number().int().describe("Total number of records matching the search criteria").nullable(),
20
20
  records: zod.z.array(ProcessStreetFindDataSetRows_DataSetRecordSchema).describe("List of records matching the search criteria")
21
21
  });
22
22
  const processStreetFindDataSetRows = require_action.action("PROCESS_STREET_FIND_DATA_SET_ROWS", {
@@ -1 +1 @@
1
- {"version":3,"file":"find-data-set-rows.cjs","names":["z","action"],"sources":["../../src/actions/find-data-set-rows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetFindDataSetRowsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of records to return per page. Valid range is 1-100.\").optional(),\n query: z.string().describe(\"Search query to filter records by column values. Use the format 'columnName:value' to filter records where the specified column matches the value. Leave empty to retrieve all records.\").optional(),\n data_set_id: z.string().describe(\"The unique identifier of the data set to search in. You can find this ID in the Process Street UI when viewing a data set, or via the data sets list endpoint.\"),\n});\nconst ProcessStreetFindDataSetRows_DataSetRecordSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the record\"),\n data: z.record(z.string(), z.unknown()).describe(\"The record data containing field values\"),\n created_at: z.string().describe(\"The timestamp when the record was created\"),\n updated_at: z.string().describe(\"The timestamp when the record was last updated\"),\n});\nexport const ProcessStreetFindDataSetRowsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n limit: z.number().int().describe(\"Number of records per page\"),\n total: z.number().int().describe(\"Total number of records matching the search criteria\"),\n records: z.array(ProcessStreetFindDataSetRows_DataSetRecordSchema).describe(\"List of records matching the search criteria\"),\n});\n\nexport const processStreetFindDataSetRows = action(\"PROCESS_STREET_FIND_DATA_SET_ROWS\", {\n slug: \"process_street-find-data-set-rows\",\n name: \"Find Data Set Rows\",\n description: \"Retrieves records from a Process Street data set with optional filtering by column values. Use this tool to search for specific records within a data set or to paginate through all records. Data sets are tables that store structured data which can be used across workflows.\",\n input: ProcessStreetFindDataSetRowsInput,\n output: ProcessStreetFindDataSetRowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC/N,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AACnM,CAAC;AACD,MAAM,mDAAiEA,IAAAA,EAAE,OAAO;CAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAClF,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;CACvF,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;AAC5H,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"find-data-set-rows.cjs","names":["z","action"],"sources":["../../src/actions/find-data-set-rows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetFindDataSetRowsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of records to return per page. Valid range is 1-100.\").optional(),\n query: z.string().describe(\"Search query to filter records by column values. Use the format 'columnName:value' to filter records where the specified column matches the value. Leave empty to retrieve all records.\").optional(),\n data_set_id: z.string().describe(\"The unique identifier of the data set to search in. You can find this ID in the Process Street UI when viewing a data set, or via the data sets list endpoint.\"),\n});\nconst ProcessStreetFindDataSetRows_DataSetRecordSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The record data containing field values\"),\n created_at: z.string().describe(\"The timestamp when the record was created\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the record was last updated\").nullable(),\n});\nexport const ProcessStreetFindDataSetRowsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n total: z.number().int().describe(\"Total number of records matching the search criteria\").nullable(),\n records: z.array(ProcessStreetFindDataSetRows_DataSetRecordSchema).describe(\"List of records matching the search criteria\"),\n});\n\nexport const processStreetFindDataSetRows = action(\"PROCESS_STREET_FIND_DATA_SET_ROWS\", {\n slug: \"process_street-find-data-set-rows\",\n name: \"Find Data Set Rows\",\n description: \"Retrieves records from a Process Street data set with optional filtering by column values. Use this tool to search for specific records within a data set or to paginate through all records. Data sets are tables that store structured data which can be used across workflows.\",\n input: ProcessStreetFindDataSetRowsInput,\n output: ProcessStreetFindDataSetRowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7H,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC/N,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AACnM,CAAC;AACD,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;AAC5H,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/find-data-set-rows.d.ts
4
- declare const ProcessStreetFindDataSetRowsInput: z.ZodTypeAny;
5
- declare const ProcessStreetFindDataSetRowsOutput: z.ZodTypeAny;
6
- declare const processStreetFindDataSetRows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetFindDataSetRowsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ query: z.ZodOptional<z.ZodString>;
8
+ data_set_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ProcessStreetFindDataSetRowsOutput: z.ZodObject<{
11
+ page: z.ZodNullable<z.ZodNumber>;
12
+ limit: z.ZodNullable<z.ZodNumber>;
13
+ total: z.ZodNullable<z.ZodNumber>;
14
+ records: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const processStreetFindDataSetRows: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ data_set_id: string;
23
+ page?: number | undefined;
24
+ limit?: number | undefined;
25
+ query?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { processStreetFindDataSetRows };
9
29
  //# sourceMappingURL=find-data-set-rows.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-data-set-rows.d.cts","names":[],"sources":["../../src/actions/find-data-set-rows.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKhD;AAAA,cAOW,kCAAA,EAAoC,CAAA,CAAE,UAKjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"find-data-set-rows.d.cts","names":[],"sources":["../../src/actions/find-data-set-rows.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAYjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;cAOlC,4BAAA,gCAA4B,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/find-data-set-rows.d.ts
4
- declare const ProcessStreetFindDataSetRowsInput: z.ZodTypeAny;
5
- declare const ProcessStreetFindDataSetRowsOutput: z.ZodTypeAny;
6
- declare const processStreetFindDataSetRows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetFindDataSetRowsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ query: z.ZodOptional<z.ZodString>;
8
+ data_set_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const ProcessStreetFindDataSetRowsOutput: z.ZodObject<{
11
+ page: z.ZodNullable<z.ZodNumber>;
12
+ limit: z.ZodNullable<z.ZodNumber>;
13
+ total: z.ZodNullable<z.ZodNumber>;
14
+ records: z.ZodArray<z.ZodObject<{
15
+ id: z.ZodNullable<z.ZodString>;
16
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
17
+ created_at: z.ZodNullable<z.ZodString>;
18
+ updated_at: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$strip>>;
20
+ }, z.core.$strip>;
21
+ declare const processStreetFindDataSetRows: import("@keystrokehq/action").WorkflowActionDefinition<{
22
+ data_set_id: string;
23
+ page?: number | undefined;
24
+ limit?: number | undefined;
25
+ query?: string | undefined;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { processStreetFindDataSetRows };
9
29
  //# sourceMappingURL=find-data-set-rows.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find-data-set-rows.d.mts","names":[],"sources":["../../src/actions/find-data-set-rows.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAKhD;AAAA,cAOW,kCAAA,EAAoC,CAAA,CAAE,UAKjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"find-data-set-rows.d.mts","names":[],"sources":["../../src/actions/find-data-set-rows.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAYjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;cAOlC,4BAAA,gCAA4B,wBAAA"}
@@ -8,10 +8,10 @@ const ProcessStreetFindDataSetRowsInput = z.object({
8
8
  data_set_id: z.string().describe("The unique identifier of the data set to search in. You can find this ID in the Process Street UI when viewing a data set, or via the data sets list endpoint.")
9
9
  });
10
10
  const ProcessStreetFindDataSetRows_DataSetRecordSchema = z.object({
11
- id: z.string().describe("The unique identifier of the record"),
11
+ id: z.string().describe("The unique identifier of the record").nullable(),
12
12
  data: z.record(z.string(), z.unknown()).describe("The record data containing field values"),
13
- created_at: z.string().describe("The timestamp when the record was created"),
14
- updated_at: z.string().describe("The timestamp when the record was last updated")
13
+ created_at: z.string().describe("The timestamp when the record was created").nullable(),
14
+ updated_at: z.string().describe("The timestamp when the record was last updated").nullable()
15
15
  });
16
16
  const processStreetFindDataSetRows = action("PROCESS_STREET_FIND_DATA_SET_ROWS", {
17
17
  slug: "process_street-find-data-set-rows",
@@ -19,9 +19,9 @@ const processStreetFindDataSetRows = action("PROCESS_STREET_FIND_DATA_SET_ROWS",
19
19
  description: "Retrieves records from a Process Street data set with optional filtering by column values. Use this tool to search for specific records within a data set or to paginate through all records. Data sets are tables that store structured data which can be used across workflows.",
20
20
  input: ProcessStreetFindDataSetRowsInput,
21
21
  output: z.object({
22
- page: z.number().int().describe("Current page number"),
23
- limit: z.number().int().describe("Number of records per page"),
24
- total: z.number().int().describe("Total number of records matching the search criteria"),
22
+ page: z.number().int().describe("Current page number").nullable(),
23
+ limit: z.number().int().describe("Number of records per page").nullable(),
24
+ total: z.number().int().describe("Total number of records matching the search criteria").nullable(),
25
25
  records: z.array(ProcessStreetFindDataSetRows_DataSetRecordSchema).describe("List of records matching the search criteria")
26
26
  })
27
27
  });
@@ -1 +1 @@
1
- {"version":3,"file":"find-data-set-rows.mjs","names":[],"sources":["../../src/actions/find-data-set-rows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetFindDataSetRowsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of records to return per page. Valid range is 1-100.\").optional(),\n query: z.string().describe(\"Search query to filter records by column values. Use the format 'columnName:value' to filter records where the specified column matches the value. Leave empty to retrieve all records.\").optional(),\n data_set_id: z.string().describe(\"The unique identifier of the data set to search in. You can find this ID in the Process Street UI when viewing a data set, or via the data sets list endpoint.\"),\n});\nconst ProcessStreetFindDataSetRows_DataSetRecordSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the record\"),\n data: z.record(z.string(), z.unknown()).describe(\"The record data containing field values\"),\n created_at: z.string().describe(\"The timestamp when the record was created\"),\n updated_at: z.string().describe(\"The timestamp when the record was last updated\"),\n});\nexport const ProcessStreetFindDataSetRowsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n limit: z.number().int().describe(\"Number of records per page\"),\n total: z.number().int().describe(\"Total number of records matching the search criteria\"),\n records: z.array(ProcessStreetFindDataSetRows_DataSetRecordSchema).describe(\"List of records matching the search criteria\"),\n});\n\nexport const processStreetFindDataSetRows = action(\"PROCESS_STREET_FIND_DATA_SET_ROWS\", {\n slug: \"process_street-find-data-set-rows\",\n name: \"Find Data Set Rows\",\n description: \"Retrieves records from a Process Street data set with optional filtering by column values. Use this tool to search for specific records within a data set or to paginate through all records. Data sets are tables that store structured data which can be used across workflows.\",\n input: ProcessStreetFindDataSetRowsInput,\n output: ProcessStreetFindDataSetRowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC/N,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AACnM,CAAC;AACD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;AAClF,CAAC;AAQD,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ8D,EAAE,OAAO;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;EAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD;EACvF,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;CAC5H,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"find-data-set-rows.mjs","names":[],"sources":["../../src/actions/find-data-set-rows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetFindDataSetRowsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of records to return per page. Valid range is 1-100.\").optional(),\n query: z.string().describe(\"Search query to filter records by column values. Use the format 'columnName:value' to filter records where the specified column matches the value. Leave empty to retrieve all records.\").optional(),\n data_set_id: z.string().describe(\"The unique identifier of the data set to search in. You can find this ID in the Process Street UI when viewing a data set, or via the data sets list endpoint.\"),\n});\nconst ProcessStreetFindDataSetRows_DataSetRecordSchema = z.object({\n id: z.string().describe(\"The unique identifier of the record\").nullable(),\n data: z.record(z.string(), z.unknown()).describe(\"The record data containing field values\"),\n created_at: z.string().describe(\"The timestamp when the record was created\").nullable(),\n updated_at: z.string().describe(\"The timestamp when the record was last updated\").nullable(),\n});\nexport const ProcessStreetFindDataSetRowsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n limit: z.number().int().describe(\"Number of records per page\").nullable(),\n total: z.number().int().describe(\"Total number of records matching the search criteria\").nullable(),\n records: z.array(ProcessStreetFindDataSetRows_DataSetRecordSchema).describe(\"List of records matching the search criteria\"),\n});\n\nexport const processStreetFindDataSetRows = action(\"PROCESS_STREET_FIND_DATA_SET_ROWS\", {\n slug: \"process_street-find-data-set-rows\",\n name: \"Find Data Set Rows\",\n description: \"Retrieves records from a Process Street data set with optional filtering by column values. Use this tool to search for specific records within a data set or to paginate through all records. Data sets are tables that store structured data which can be used across workflows.\",\n input: ProcessStreetFindDataSetRowsInput,\n output: ProcessStreetFindDataSetRowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAC7H,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC/N,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AACnM,CAAC;AACD,MAAM,mDAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC7F,CAAC;AAQD,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZgD,EAAE,OAAO;EACzD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACxE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,8CAA8C;CAC5H,CAOU;AACV,CAAC"}
@@ -6,17 +6,17 @@ const ProcessStreetListWorkflowsInput = zod.z.object({
6
6
  limit: zod.z.number().int().default(20).describe("Maximum number of workflows to return per page. Valid range is 1-100.").optional()
7
7
  }).describe("Request model for listing workflows with pagination support");
8
8
  const ProcessStreetListWorkflows_WorkflowItemSchema = zod.z.object({
9
- id: zod.z.string().describe("The unique identifier of the workflow"),
10
- name: zod.z.string().describe("The name of the workflow"),
11
- active: zod.z.boolean().describe("Whether the workflow is active or archived"),
12
- created_at: zod.z.string().describe("Timestamp when the workflow was created"),
13
- updated_at: zod.z.string().describe("Timestamp when the workflow was last updated")
9
+ id: zod.z.string().describe("The unique identifier of the workflow").nullable(),
10
+ name: zod.z.string().describe("The name of the workflow").nullable(),
11
+ active: zod.z.boolean().describe("Whether the workflow is active or archived").nullable(),
12
+ created_at: zod.z.string().describe("Timestamp when the workflow was created").nullable(),
13
+ updated_at: zod.z.string().describe("Timestamp when the workflow was last updated").nullable()
14
14
  }).describe("Model representing a single workflow item in the response");
15
15
  const ProcessStreetListWorkflowsOutput = zod.z.object({
16
- page: zod.z.number().int().describe("Current page number"),
17
- limit: zod.z.number().int().describe("Number of workflows per page"),
16
+ page: zod.z.number().int().describe("Current page number").nullable(),
17
+ limit: zod.z.number().int().describe("Number of workflows per page").nullable(),
18
18
  workflows: zod.z.array(ProcessStreetListWorkflows_WorkflowItemSchema).describe("List of workflows in the Process Street account"),
19
- total_count: zod.z.number().int().describe("Total number of workflows")
19
+ total_count: zod.z.number().int().describe("Total number of workflows").nullable()
20
20
  }).describe("Response model containing the list of workflows with pagination metadata");
21
21
  const processStreetListWorkflows = require_action.action("PROCESS_STREET_LIST_WORKFLOWS", {
22
22
  slug: "process_street-list-workflows",
@@ -1 +1 @@
1
- {"version":3,"file":"list-workflows.cjs","names":["z","action"],"sources":["../../src/actions/list-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetListWorkflowsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of workflows to return per page. Valid range is 1-100.\").optional(),\n}).describe(\"Request model for listing workflows with pagination support\");\nconst ProcessStreetListWorkflows_WorkflowItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the workflow\"),\n name: z.string().describe(\"The name of the workflow\"),\n active: z.boolean().describe(\"Whether the workflow is active or archived\"),\n created_at: z.string().describe(\"Timestamp when the workflow was created\"),\n updated_at: z.string().describe(\"Timestamp when the workflow was last updated\"),\n}).describe(\"Model representing a single workflow item in the response\");\nexport const ProcessStreetListWorkflowsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n limit: z.number().int().describe(\"Number of workflows per page\"),\n workflows: z.array(ProcessStreetListWorkflows_WorkflowItemSchema).describe(\"List of workflows in the Process Street account\"),\n total_count: z.number().int().describe(\"Total number of workflows\"),\n}).describe(\"Response model containing the list of workflows with pagination metadata\");\n\nexport const processStreetListWorkflows = action(\"PROCESS_STREET_LIST_WORKFLOWS\", {\n slug: \"process_street-list-workflows\",\n name: \"List Workflows\",\n description: \"This tool retrieves a list of all workflows available in the Process Street account. It is a fundamental action that allows users to view and access all their workflows, which is essential for other operations that require workflow IDs. This action is important because it provides the foundation for other actions that require workflow IDs as input parameters, such as creating workflow runs or managing workflow-specific tasks, thereby enabling better workflow management and automation.\",\n input: ProcessStreetListWorkflowsInput,\n output: ProcessStreetListWorkflowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC/D,WAAWA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;AACpE,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-workflows.cjs","names":["z","action"],"sources":["../../src/actions/list-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetListWorkflowsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of workflows to return per page. Valid range is 1-100.\").optional(),\n}).describe(\"Request model for listing workflows with pagination support\");\nconst ProcessStreetListWorkflows_WorkflowItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the workflow\").nullable(),\n name: z.string().describe(\"The name of the workflow\").nullable(),\n active: z.boolean().describe(\"Whether the workflow is active or archived\").nullable(),\n created_at: z.string().describe(\"Timestamp when the workflow was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the workflow was last updated\").nullable(),\n}).describe(\"Model representing a single workflow item in the response\");\nexport const ProcessStreetListWorkflowsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n limit: z.number().int().describe(\"Number of workflows per page\").nullable(),\n workflows: z.array(ProcessStreetListWorkflows_WorkflowItemSchema).describe(\"List of workflows in the Process Street account\"),\n total_count: z.number().int().describe(\"Total number of workflows\").nullable(),\n}).describe(\"Response model containing the list of workflows with pagination metadata\");\n\nexport const processStreetListWorkflows = action(\"PROCESS_STREET_LIST_WORKFLOWS\", {\n slug: \"process_street-list-workflows\",\n name: \"List Workflows\",\n description: \"This tool retrieves a list of all workflows available in the Process Street account. It is a fundamental action that allows users to view and access all their workflows, which is essential for other operations that require workflow IDs. This action is important because it provides the foundation for other actions that require workflow IDs as input parameters, such as creating workflow runs or managing workflow-specific tasks, thereby enabling better workflow management and automation.\",\n input: ProcessStreetListWorkflowsInput,\n output: ProcessStreetListWorkflowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD;CAC5H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AAC/E,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-workflows.d.ts
4
- declare const ProcessStreetListWorkflowsInput: z.ZodTypeAny;
5
- declare const ProcessStreetListWorkflowsOutput: z.ZodTypeAny;
6
- declare const processStreetListWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetListWorkflowsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ }, z.core.$strip>;
8
+ declare const ProcessStreetListWorkflowsOutput: z.ZodObject<{
9
+ page: z.ZodNullable<z.ZodNumber>;
10
+ limit: z.ZodNullable<z.ZodNumber>;
11
+ workflows: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ active: z.ZodNullable<z.ZodBoolean>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>;
18
+ total_count: z.ZodNullable<z.ZodNumber>;
19
+ }, z.core.$strip>;
20
+ declare const processStreetListWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ page?: number | undefined;
22
+ limit?: number | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { processStreetListWorkflows };
9
26
  //# sourceMappingURL=list-workflows.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-workflows.d.cts","names":[],"sources":["../../src/actions/list-workflows.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG0B;AAAA,cAQ7D,gCAAA,EAAkC,CAAA,CAAE,UAKsC;AAAA,cAE1E,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-workflows.d.cts","names":[],"sources":["../../src/actions/list-workflows.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,26 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-workflows.d.ts
4
- declare const ProcessStreetListWorkflowsInput: z.ZodTypeAny;
5
- declare const ProcessStreetListWorkflowsOutput: z.ZodTypeAny;
6
- declare const processStreetListWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetListWorkflowsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
6
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
7
+ }, z.core.$strip>;
8
+ declare const ProcessStreetListWorkflowsOutput: z.ZodObject<{
9
+ page: z.ZodNullable<z.ZodNumber>;
10
+ limit: z.ZodNullable<z.ZodNumber>;
11
+ workflows: z.ZodArray<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodString>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ active: z.ZodNullable<z.ZodBoolean>;
15
+ created_at: z.ZodNullable<z.ZodString>;
16
+ updated_at: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$strip>>;
18
+ total_count: z.ZodNullable<z.ZodNumber>;
19
+ }, z.core.$strip>;
20
+ declare const processStreetListWorkflows: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ page?: number | undefined;
22
+ limit?: number | undefined;
23
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
24
  //#endregion
8
25
  export { processStreetListWorkflows };
9
26
  //# sourceMappingURL=list-workflows.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-workflows.d.mts","names":[],"sources":["../../src/actions/list-workflows.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG0B;AAAA,cAQ7D,gCAAA,EAAkC,CAAA,CAAE,UAKsC;AAAA,cAE1E,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-workflows.d.mts","names":[],"sources":["../../src/actions/list-workflows.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAW/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;;;cAOhC,0BAAA,gCAA0B,wBAAA"}
@@ -6,11 +6,11 @@ const ProcessStreetListWorkflowsInput = z.object({
6
6
  limit: z.number().int().default(20).describe("Maximum number of workflows to return per page. Valid range is 1-100.").optional()
7
7
  }).describe("Request model for listing workflows with pagination support");
8
8
  const ProcessStreetListWorkflows_WorkflowItemSchema = z.object({
9
- id: z.string().describe("The unique identifier of the workflow"),
10
- name: z.string().describe("The name of the workflow"),
11
- active: z.boolean().describe("Whether the workflow is active or archived"),
12
- created_at: z.string().describe("Timestamp when the workflow was created"),
13
- updated_at: z.string().describe("Timestamp when the workflow was last updated")
9
+ id: z.string().describe("The unique identifier of the workflow").nullable(),
10
+ name: z.string().describe("The name of the workflow").nullable(),
11
+ active: z.boolean().describe("Whether the workflow is active or archived").nullable(),
12
+ created_at: z.string().describe("Timestamp when the workflow was created").nullable(),
13
+ updated_at: z.string().describe("Timestamp when the workflow was last updated").nullable()
14
14
  }).describe("Model representing a single workflow item in the response");
15
15
  const processStreetListWorkflows = action("PROCESS_STREET_LIST_WORKFLOWS", {
16
16
  slug: "process_street-list-workflows",
@@ -18,10 +18,10 @@ const processStreetListWorkflows = action("PROCESS_STREET_LIST_WORKFLOWS", {
18
18
  description: "This tool retrieves a list of all workflows available in the Process Street account. It is a fundamental action that allows users to view and access all their workflows, which is essential for other operations that require workflow IDs. This action is important because it provides the foundation for other actions that require workflow IDs as input parameters, such as creating workflow runs or managing workflow-specific tasks, thereby enabling better workflow management and automation.",
19
19
  input: ProcessStreetListWorkflowsInput,
20
20
  output: z.object({
21
- page: z.number().int().describe("Current page number"),
22
- limit: z.number().int().describe("Number of workflows per page"),
21
+ page: z.number().int().describe("Current page number").nullable(),
22
+ limit: z.number().int().describe("Number of workflows per page").nullable(),
23
23
  workflows: z.array(ProcessStreetListWorkflows_WorkflowItemSchema).describe("List of workflows in the Process Street account"),
24
- total_count: z.number().int().describe("Total number of workflows")
24
+ total_count: z.number().int().describe("Total number of workflows").nullable()
25
25
  }).describe("Response model containing the list of workflows with pagination metadata")
26
26
  });
27
27
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"list-workflows.mjs","names":[],"sources":["../../src/actions/list-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetListWorkflowsInput: z.ZodTypeAny = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of workflows to return per page. Valid range is 1-100.\").optional(),\n}).describe(\"Request model for listing workflows with pagination support\");\nconst ProcessStreetListWorkflows_WorkflowItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the workflow\"),\n name: z.string().describe(\"The name of the workflow\"),\n active: z.boolean().describe(\"Whether the workflow is active or archived\"),\n created_at: z.string().describe(\"Timestamp when the workflow was created\"),\n updated_at: z.string().describe(\"Timestamp when the workflow was last updated\"),\n}).describe(\"Model representing a single workflow item in the response\");\nexport const ProcessStreetListWorkflowsOutput: z.ZodTypeAny = z.object({\n page: z.number().int().describe(\"Current page number\"),\n limit: z.number().int().describe(\"Number of workflows per page\"),\n workflows: z.array(ProcessStreetListWorkflows_WorkflowItemSchema).describe(\"List of workflows in the Process Street account\"),\n total_count: z.number().int().describe(\"Total number of workflows\"),\n}).describe(\"Response model containing the list of workflows with pagination metadata\");\n\nexport const processStreetListWorkflows = action(\"PROCESS_STREET_LIST_WORKFLOWS\", {\n slug: \"process_street-list-workflows\",\n name: \"List Workflows\",\n description: \"This tool retrieves a list of all workflows available in the Process Street account. It is a fundamental action that allows users to view and access all their workflows, which is essential for other operations that require workflow IDs. This action is important because it provides the foundation for other actions that require workflow IDs as input parameters, such as creating workflow runs or managing workflow-specific tasks, thereby enabling better workflow management and automation.\",\n input: ProcessStreetListWorkflowsInput,\n output: ProcessStreetListWorkflowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAQvE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ4D,EAAE,OAAO;EACrE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;EAC/D,WAAW,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B;CACpE,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-workflows.mjs","names":[],"sources":["../../src/actions/list-workflows.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetListWorkflowsInput = z.object({\n page: z.number().int().default(1).describe(\"Page number for pagination (1-indexed). Use this with 'limit' to paginate through large result sets.\").optional(),\n limit: z.number().int().default(20).describe(\"Maximum number of workflows to return per page. Valid range is 1-100.\").optional(),\n}).describe(\"Request model for listing workflows with pagination support\");\nconst ProcessStreetListWorkflows_WorkflowItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the workflow\").nullable(),\n name: z.string().describe(\"The name of the workflow\").nullable(),\n active: z.boolean().describe(\"Whether the workflow is active or archived\").nullable(),\n created_at: z.string().describe(\"Timestamp when the workflow was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the workflow was last updated\").nullable(),\n}).describe(\"Model representing a single workflow item in the response\");\nexport const ProcessStreetListWorkflowsOutput = z.object({\n page: z.number().int().describe(\"Current page number\").nullable(),\n limit: z.number().int().describe(\"Number of workflows per page\").nullable(),\n workflows: z.array(ProcessStreetListWorkflows_WorkflowItemSchema).describe(\"List of workflows in the Process Street account\"),\n total_count: z.number().int().describe(\"Total number of workflows\").nullable(),\n}).describe(\"Response model containing the list of workflows with pagination metadata\");\n\nexport const processStreetListWorkflows = action(\"PROCESS_STREET_LIST_WORKFLOWS\", {\n slug: \"process_street-list-workflows\",\n name: \"List Workflows\",\n description: \"This tool retrieves a list of all workflows available in the Process Street account. It is a fundamental action that allows users to view and access all their workflows, which is essential for other operations that require workflow IDs. This action is important because it provides the foundation for other actions that require workflow IDs as input parameters, such as creating workflow runs or managing workflow-specific tasks, thereby enabling better workflow management and automation.\",\n input: ProcessStreetListWorkflowsInput,\n output: ProcessStreetListWorkflowsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC5J,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gDAAgD,EAAE,OAAO;CAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAQvE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ8C,EAAE,OAAO;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,iDAAiD;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CAC/E,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-workflow-run.cjs","names":["z","action"],"sources":["../../src/actions/undelete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetUndeleteWorkflowRunInput: z.ZodTypeAny = z.object({\n workflow_run_id: z.string().describe(\"The unique identifier of the workflow run to restore. This is a 22-character Base64URL-encoded string that you can obtain from the workflow run creation response or by listing workflow runs.\"),\n});\nexport const ProcessStreetUndeleteWorkflowRunOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the workflow run was successfully restored.\").nullable().optional(),\n});\n\nexport const processStreetUndeleteWorkflowRun = action(\"PROCESS_STREET_UNDELETE_WORKFLOW_RUN\", {\n slug: \"process_street-undelete-workflow-run\",\n name: \"Undelete Workflow Run\",\n description: \"Restores a previously deleted workflow run in Process Street. Uses the POST /workflow-runs/{workflowRunId}/undelete endpoint to recover a workflow run within the valid recovery period (typically up to 30 days). Only workflow runs that have been deleted (not permanently removed) can be restored.\",\n input: ProcessStreetUndeleteWorkflowRunInput,\n output: ProcessStreetUndeleteWorkflowRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gMAAgM,EACvO,CAAC;AACD,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"undelete-workflow-run.cjs","names":["z","action"],"sources":["../../src/actions/undelete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetUndeleteWorkflowRunInput = z.object({\n workflow_run_id: z.string().describe(\"The unique identifier of the workflow run to restore. This is a 22-character Base64URL-encoded string that you can obtain from the workflow run creation response or by listing workflow runs.\"),\n});\nexport const ProcessStreetUndeleteWorkflowRunOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the workflow run was successfully restored.\").nullable().optional(),\n});\n\nexport const processStreetUndeleteWorkflowRun = action(\"PROCESS_STREET_UNDELETE_WORKFLOW_RUN\", {\n slug: \"process_street-undelete-workflow-run\",\n name: \"Undelete Workflow Run\",\n description: \"Restores a previously deleted workflow run in Process Street. Uses the POST /workflow-runs/{workflowRunId}/undelete endpoint to recover a workflow run within the valid recovery period (typically up to 30 days). Only workflow runs that have been deleted (not permanently removed) can be restored.\",\n input: ProcessStreetUndeleteWorkflowRunInput,\n output: ProcessStreetUndeleteWorkflowRunOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gMAAgM,EACvO,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,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/undelete-workflow-run.d.ts
4
- declare const ProcessStreetUndeleteWorkflowRunInput: z.ZodTypeAny;
5
- declare const ProcessStreetUndeleteWorkflowRunOutput: z.ZodTypeAny;
6
- declare const processStreetUndeleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetUndeleteWorkflowRunInput: z.ZodObject<{
5
+ workflow_run_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ProcessStreetUndeleteWorkflowRunOutput: z.ZodObject<{
8
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ }, z.core.$strip>;
10
+ declare const processStreetUndeleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ workflow_run_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { processStreetUndeleteWorkflowRun };
9
15
  //# sourceMappingURL=undelete-workflow-run.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-workflow-run.d.cts","names":[],"sources":["../../src/actions/undelete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAErD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"undelete-workflow-run.d.cts","names":[],"sources":["../../src/actions/undelete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -1,9 +1,15 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/undelete-workflow-run.d.ts
4
- declare const ProcessStreetUndeleteWorkflowRunInput: z.ZodTypeAny;
5
- declare const ProcessStreetUndeleteWorkflowRunOutput: z.ZodTypeAny;
6
- declare const processStreetUndeleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ProcessStreetUndeleteWorkflowRunInput: z.ZodObject<{
5
+ workflow_run_id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ProcessStreetUndeleteWorkflowRunOutput: z.ZodObject<{
8
+ success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
9
+ }, z.core.$strip>;
10
+ declare const processStreetUndeleteWorkflowRun: import("@keystrokehq/action").WorkflowActionDefinition<{
11
+ workflow_run_id: string;
12
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
13
  //#endregion
8
14
  export { processStreetUndeleteWorkflowRun };
9
15
  //# sourceMappingURL=undelete-workflow-run.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-workflow-run.d.mts","names":[],"sources":["../../src/actions/undelete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAEpD;AAAA,cACW,sCAAA,EAAwC,CAAA,CAAE,UAErD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"undelete-workflow-run.d.mts","names":[],"sources":["../../src/actions/undelete-workflow-run.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAGrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"undelete-workflow-run.mjs","names":[],"sources":["../../src/actions/undelete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetUndeleteWorkflowRunInput: z.ZodTypeAny = z.object({\n workflow_run_id: z.string().describe(\"The unique identifier of the workflow run to restore. This is a 22-character Base64URL-encoded string that you can obtain from the workflow run creation response or by listing workflow runs.\"),\n});\nexport const ProcessStreetUndeleteWorkflowRunOutput: z.ZodTypeAny = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the workflow run was successfully restored.\").nullable().optional(),\n});\n\nexport const processStreetUndeleteWorkflowRun = action(\"PROCESS_STREET_UNDELETE_WORKFLOW_RUN\", {\n slug: \"process_street-undelete-workflow-run\",\n name: \"Undelete Workflow Run\",\n description: \"Restores a previously deleted workflow run in Process Street. Uses the POST /workflow-runs/{workflowRunId}/undelete endpoint to recover a workflow run within the valid recovery period (typically up to 30 days). Only workflow runs that have been deleted (not permanently removed) can be restored.\",\n input: ProcessStreetUndeleteWorkflowRunInput,\n output: ProcessStreetUndeleteWorkflowRunOutput,\n});\n"],"mappings":";;AAWA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiE,EAAE,OAAO,EAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gMAAgM,EACvO,CASS;CACP,QATkE,EAAE,OAAO,EAC3E,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"undelete-workflow-run.mjs","names":[],"sources":["../../src/actions/undelete-workflow-run.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ProcessStreetUndeleteWorkflowRunInput = z.object({\n workflow_run_id: z.string().describe(\"The unique identifier of the workflow run to restore. This is a 22-character Base64URL-encoded string that you can obtain from the workflow run creation response or by listing workflow runs.\"),\n});\nexport const ProcessStreetUndeleteWorkflowRunOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates if the workflow run was successfully restored.\").nullable().optional(),\n});\n\nexport const processStreetUndeleteWorkflowRun = action(\"PROCESS_STREET_UNDELETE_WORKFLOW_RUN\", {\n slug: \"process_street-undelete-workflow-run\",\n name: \"Undelete Workflow Run\",\n description: \"Restores a previously deleted workflow run in Process Street. Uses the POST /workflow-runs/{workflowRunId}/undelete endpoint to recover a workflow run within the valid recovery period (typically up to 30 days). Only workflow runs that have been deleted (not permanently removed) can be restored.\",\n input: ProcessStreetUndeleteWorkflowRunInput,\n output: ProcessStreetUndeleteWorkflowRunOutput,\n});\n"],"mappings":";;AAWA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmD,EAAE,OAAO,EAC5D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gMAAgM,EACvO,CASS;CACP,QAToD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9H,CAOU;AACV,CAAC"}
package/dist/catalog.cjs CHANGED
@@ -7,7 +7,13 @@ const processStreetCatalog = {
7
7
  "category": "Task Management",
8
8
  "logo": "https://logos.composio.dev/api/process_street",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your API key for authentication. Obtain it from your Process Street settings."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  exports.processStreetCatalog = processStreetCatalog;
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const processStreetCatalog = {\n \"slug\": \"process_street\",\n \"name\": \"Process Street\",\n \"description\": \"Process Street supports creating and running checklists, SOPs, and workflows, helping teams automate recurring processes and track compliance\",\n \"category\": \"Task Management\",\n \"logo\": \"https://logos.composio.dev/api/process_street\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const processStreetCatalog = {\n \"slug\": \"process_street\",\n \"name\": \"Process Street\",\n \"description\": \"Process Street supports creating and running checklists, SOPs, and workflows, helping teams automate recurring processes and track compliance\",\n \"category\": \"Task Management\",\n \"logo\": \"https://logos.composio.dev/api/process_street\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your API key for authentication. Obtain it from your Process Street settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
@@ -8,6 +8,14 @@ declare const processStreetCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/process_street";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your API key for authentication. Obtain it from your Process Street settings.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { processStreetCatalog };
@@ -8,6 +8,14 @@ declare const processStreetCatalog: {
8
8
  readonly logo: "https://logos.composio.dev/api/process_street";
9
9
  readonly authKind: "keystroke";
10
10
  readonly oauthScopes: readonly [];
11
+ readonly credentialFields: {
12
+ readonly api_key: {
13
+ readonly label: "API Key";
14
+ readonly secret: true;
15
+ readonly description: "Your API key for authentication. Obtain it from your Process Street settings.";
16
+ };
17
+ };
18
+ readonly credentialScheme: "API_KEY";
11
19
  };
12
20
  //#endregion
13
21
  export { processStreetCatalog };
package/dist/catalog.mjs CHANGED
@@ -7,7 +7,13 @@ const processStreetCatalog = {
7
7
  "category": "Task Management",
8
8
  "logo": "https://logos.composio.dev/api/process_street",
9
9
  "authKind": "keystroke",
10
- "oauthScopes": []
10
+ "oauthScopes": [],
11
+ "credentialFields": { "api_key": {
12
+ "label": "API Key",
13
+ "secret": true,
14
+ "description": "Your API key for authentication. Obtain it from your Process Street settings."
15
+ } },
16
+ "credentialScheme": "API_KEY"
11
17
  };
12
18
  //#endregion
13
19
  export { processStreetCatalog };
@@ -1 +1 @@
1
- {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const processStreetCatalog = {\n \"slug\": \"process_street\",\n \"name\": \"Process Street\",\n \"description\": \"Process Street supports creating and running checklists, SOPs, and workflows, helping teams automate recurring processes and track compliance\",\n \"category\": \"Task Management\",\n \"logo\": \"https://logos.composio.dev/api/process_street\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": []\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;AAClB"}
1
+ {"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const processStreetCatalog = {\n \"slug\": \"process_street\",\n \"name\": \"Process Street\",\n \"description\": \"Process Street supports creating and running checklists, SOPs, and workflows, helping teams automate recurring processes and track compliance\",\n \"category\": \"Task Management\",\n \"logo\": \"https://logos.composio.dev/api/process_street\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your API key for authentication. Obtain it from your Process Street settings.\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,uBAAuB;CAClC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,WAAW;EACT,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/process_street",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "peerDependencies": {
34
- "@keystrokehq/keystroke": "^0.1.4",
34
+ "@keystrokehq/keystroke": ">=0.1.4",
35
35
  "zod": "^4.4.3"
36
36
  },
37
37
  "devDependencies": {