@keystrokehq/parma 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-relationship-to-group.cjs +25 -0
- package/dist/actions/add-relationship-to-group.cjs.map +1 -0
- package/dist/actions/add-relationship-to-group.d.cts +9 -0
- package/dist/actions/add-relationship-to-group.d.cts.map +1 -0
- package/dist/actions/add-relationship-to-group.d.mts +9 -0
- package/dist/actions/add-relationship-to-group.d.mts.map +1 -0
- package/dist/actions/add-relationship-to-group.mjs +24 -0
- package/dist/actions/add-relationship-to-group.mjs.map +1 -0
- package/dist/actions/create-note.cjs +28 -0
- package/dist/actions/create-note.cjs.map +1 -0
- package/dist/actions/create-note.d.cts +9 -0
- package/dist/actions/create-note.d.cts.map +1 -0
- package/dist/actions/create-note.d.mts +9 -0
- package/dist/actions/create-note.d.mts.map +1 -0
- package/dist/actions/create-note.mjs +27 -0
- package/dist/actions/create-note.mjs.map +1 -0
- package/dist/actions/create-relationship.cjs +34 -0
- package/dist/actions/create-relationship.cjs.map +1 -0
- package/dist/actions/create-relationship.d.cts +9 -0
- package/dist/actions/create-relationship.d.cts.map +1 -0
- package/dist/actions/create-relationship.d.mts +9 -0
- package/dist/actions/create-relationship.d.mts.map +1 -0
- package/dist/actions/create-relationship.mjs +33 -0
- package/dist/actions/create-relationship.mjs.map +1 -0
- package/dist/actions/data-json.cjs +52 -0
- package/dist/actions/data-json.cjs.map +1 -0
- package/dist/actions/data-json.d.cts +9 -0
- package/dist/actions/data-json.d.cts.map +1 -0
- package/dist/actions/data-json.d.mts +9 -0
- package/dist/actions/data-json.d.mts.map +1 -0
- package/dist/actions/data-json.mjs +51 -0
- package/dist/actions/data-json.mjs.map +1 -0
- package/dist/actions/delete-relationship.cjs +16 -0
- package/dist/actions/delete-relationship.cjs.map +1 -0
- package/dist/actions/delete-relationship.d.cts +9 -0
- package/dist/actions/delete-relationship.d.cts.map +1 -0
- package/dist/actions/delete-relationship.d.mts +9 -0
- package/dist/actions/delete-relationship.d.mts.map +1 -0
- package/dist/actions/delete-relationship.mjs +13 -0
- package/dist/actions/delete-relationship.mjs.map +1 -0
- package/dist/actions/get-pipeline.cjs +23 -0
- package/dist/actions/get-pipeline.cjs.map +1 -0
- package/dist/actions/get-pipeline.d.cts +9 -0
- package/dist/actions/get-pipeline.d.cts.map +1 -0
- package/dist/actions/get-pipeline.d.mts +9 -0
- package/dist/actions/get-pipeline.d.mts.map +1 -0
- package/dist/actions/get-pipeline.mjs +22 -0
- package/dist/actions/get-pipeline.mjs.map +1 -0
- package/dist/actions/get-relationship.cjs +33 -0
- package/dist/actions/get-relationship.cjs.map +1 -0
- package/dist/actions/get-relationship.d.cts +9 -0
- package/dist/actions/get-relationship.d.cts.map +1 -0
- package/dist/actions/get-relationship.d.mts +9 -0
- package/dist/actions/get-relationship.d.mts.map +1 -0
- package/dist/actions/get-relationship.mjs +32 -0
- package/dist/actions/get-relationship.mjs.map +1 -0
- package/dist/actions/get-stage.cjs +24 -0
- package/dist/actions/get-stage.cjs.map +1 -0
- package/dist/actions/get-stage.d.cts +9 -0
- package/dist/actions/get-stage.d.cts.map +1 -0
- package/dist/actions/get-stage.d.mts +9 -0
- package/dist/actions/get-stage.d.mts.map +1 -0
- package/dist/actions/get-stage.mjs +23 -0
- package/dist/actions/get-stage.mjs.map +1 -0
- package/dist/actions/get-user-profile.cjs +28 -0
- package/dist/actions/get-user-profile.cjs.map +1 -0
- package/dist/actions/get-user-profile.d.cts +9 -0
- package/dist/actions/get-user-profile.d.cts.map +1 -0
- package/dist/actions/get-user-profile.d.mts +9 -0
- package/dist/actions/get-user-profile.d.mts.map +1 -0
- package/dist/actions/get-user-profile.mjs +27 -0
- package/dist/actions/get-user-profile.mjs.map +1 -0
- package/dist/actions/get-user.cjs +21 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +20 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +47 -0
- package/dist/actions/index.d.cts +24 -0
- package/dist/actions/index.d.mts +24 -0
- package/dist/actions/index.mjs +24 -0
- package/dist/actions/list-deals.cjs +33 -0
- package/dist/actions/list-deals.cjs.map +1 -0
- package/dist/actions/list-deals.d.cts +9 -0
- package/dist/actions/list-deals.d.cts.map +1 -0
- package/dist/actions/list-deals.d.mts +9 -0
- package/dist/actions/list-deals.d.mts.map +1 -0
- package/dist/actions/list-deals.mjs +32 -0
- package/dist/actions/list-deals.mjs.map +1 -0
- package/dist/actions/list-groups.cjs +29 -0
- package/dist/actions/list-groups.cjs.map +1 -0
- package/dist/actions/list-groups.d.cts +9 -0
- package/dist/actions/list-groups.d.cts.map +1 -0
- package/dist/actions/list-groups.d.mts +9 -0
- package/dist/actions/list-groups.d.mts.map +1 -0
- package/dist/actions/list-groups.mjs +28 -0
- package/dist/actions/list-groups.mjs.map +1 -0
- package/dist/actions/list-notes.cjs +24 -0
- package/dist/actions/list-notes.cjs.map +1 -0
- package/dist/actions/list-notes.d.cts +9 -0
- package/dist/actions/list-notes.d.cts.map +1 -0
- package/dist/actions/list-notes.d.mts +9 -0
- package/dist/actions/list-notes.d.mts.map +1 -0
- package/dist/actions/list-notes.mjs +23 -0
- package/dist/actions/list-notes.mjs.map +1 -0
- package/dist/actions/list-pipelines.cjs +23 -0
- package/dist/actions/list-pipelines.cjs.map +1 -0
- package/dist/actions/list-pipelines.d.cts +9 -0
- package/dist/actions/list-pipelines.d.cts.map +1 -0
- package/dist/actions/list-pipelines.d.mts +9 -0
- package/dist/actions/list-pipelines.d.mts.map +1 -0
- package/dist/actions/list-pipelines.mjs +22 -0
- package/dist/actions/list-pipelines.mjs.map +1 -0
- package/dist/actions/list-relationship-groups.cjs +22 -0
- package/dist/actions/list-relationship-groups.cjs.map +1 -0
- package/dist/actions/list-relationship-groups.d.cts +9 -0
- package/dist/actions/list-relationship-groups.d.cts.map +1 -0
- package/dist/actions/list-relationship-groups.d.mts +9 -0
- package/dist/actions/list-relationship-groups.d.mts.map +1 -0
- package/dist/actions/list-relationship-groups.mjs +21 -0
- package/dist/actions/list-relationship-groups.mjs.map +1 -0
- package/dist/actions/list-relationship-notes.cjs +27 -0
- package/dist/actions/list-relationship-notes.cjs.map +1 -0
- package/dist/actions/list-relationship-notes.d.cts +9 -0
- package/dist/actions/list-relationship-notes.d.cts.map +1 -0
- package/dist/actions/list-relationship-notes.d.mts +9 -0
- package/dist/actions/list-relationship-notes.d.mts.map +1 -0
- package/dist/actions/list-relationship-notes.mjs +26 -0
- package/dist/actions/list-relationship-notes.mjs.map +1 -0
- package/dist/actions/list-relationships.cjs +54 -0
- package/dist/actions/list-relationships.cjs.map +1 -0
- package/dist/actions/list-relationships.d.cts +9 -0
- package/dist/actions/list-relationships.d.cts.map +1 -0
- package/dist/actions/list-relationships.d.mts +9 -0
- package/dist/actions/list-relationships.d.mts.map +1 -0
- package/dist/actions/list-relationships.mjs +53 -0
- package/dist/actions/list-relationships.mjs.map +1 -0
- package/dist/actions/list-stages.cjs +24 -0
- package/dist/actions/list-stages.cjs.map +1 -0
- package/dist/actions/list-stages.d.cts +9 -0
- package/dist/actions/list-stages.d.cts.map +1 -0
- package/dist/actions/list-stages.d.mts +9 -0
- package/dist/actions/list-stages.d.mts.map +1 -0
- package/dist/actions/list-stages.mjs +23 -0
- package/dist/actions/list-stages.mjs.map +1 -0
- package/dist/actions/list-users.cjs +21 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +20 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/package-list.cjs +20 -0
- package/dist/actions/package-list.cjs.map +1 -0
- package/dist/actions/package-list.d.cts +9 -0
- package/dist/actions/package-list.d.cts.map +1 -0
- package/dist/actions/package-list.d.mts +9 -0
- package/dist/actions/package-list.d.mts.map +1 -0
- package/dist/actions/package-list.mjs +17 -0
- package/dist/actions/package-list.mjs.map +1 -0
- package/dist/actions/remove-relationship-from-group.cjs +19 -0
- package/dist/actions/remove-relationship-from-group.cjs.map +1 -0
- package/dist/actions/remove-relationship-from-group.d.cts +9 -0
- package/dist/actions/remove-relationship-from-group.d.cts.map +1 -0
- package/dist/actions/remove-relationship-from-group.d.mts +9 -0
- package/dist/actions/remove-relationship-from-group.d.mts.map +1 -0
- package/dist/actions/remove-relationship-from-group.mjs +16 -0
- package/dist/actions/remove-relationship-from-group.mjs.map +1 -0
- package/dist/actions/update-note.cjs +29 -0
- package/dist/actions/update-note.cjs.map +1 -0
- package/dist/actions/update-note.d.cts +9 -0
- package/dist/actions/update-note.d.cts.map +1 -0
- package/dist/actions/update-note.d.mts +9 -0
- package/dist/actions/update-note.d.mts.map +1 -0
- package/dist/actions/update-note.mjs +28 -0
- package/dist/actions/update-note.mjs.map +1 -0
- package/dist/actions/update-relationship.cjs +36 -0
- package/dist/actions/update-relationship.cjs.map +1 -0
- package/dist/actions/update-relationship.d.cts +9 -0
- package/dist/actions/update-relationship.d.cts.map +1 -0
- package/dist/actions/update-relationship.d.mts +9 -0
- package/dist/actions/update-relationship.d.mts.map +1 -0
- package/dist/actions/update-relationship.mjs +35 -0
- package/dist/actions/update-relationship.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +52 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +27 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-relationship.d.ts
|
|
4
|
+
declare const ParmaDeleteRelationshipInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaDeleteRelationshipOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaDeleteRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaDeleteRelationship };
|
|
9
|
+
//# sourceMappingURL=delete-relationship.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-relationship.d.cts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEqB;AAAA,cACrD,6BAAA,EAA+B,CAAA,CAAE,UAEuD;AAAA,cAExF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-relationship.d.ts
|
|
4
|
+
declare const ParmaDeleteRelationshipInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaDeleteRelationshipOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaDeleteRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaDeleteRelationship };
|
|
9
|
+
//# sourceMappingURL=delete-relationship.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-relationship.d.mts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;cAIa,4BAAA,EAA8B,CAAA,CAAE,UAEqB;AAAA,cACrD,6BAAA,EAA+B,CAAA,CAAE,UAEuD;AAAA,cAExF,uBAAA,gCAAuB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const parmaDeleteRelationship = action("PARMA_DELETE_RELATIONSHIP", {
|
|
4
|
+
slug: "parma-delete-relationship",
|
|
5
|
+
name: "Delete Relationship",
|
|
6
|
+
description: "Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).",
|
|
7
|
+
input: z.object({ id: z.string().describe("Unique identifier of the relationship to delete") }).describe("Request model for deleting a relationship in Parma."),
|
|
8
|
+
output: z.object({ success: z.boolean().describe("Indicates whether the relationship was successfully deleted") }).describe("Response model for delete relationship. Returns empty response on successful deletion.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { parmaDeleteRelationship };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=delete-relationship.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-relationship.mjs","names":[],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDeleteRelationshipInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\"),\n}).describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":";;AAWA,MAAa,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXwD,EAAE,OAAO,EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,qDASH;CACP,QATyD,EAAE,OAAO,EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,EAC7F,CAAC,CAAC,CAAC,SAAS,wFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-pipeline.ts
|
|
4
|
+
const ParmaGetPipelineInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the pipeline to retrieve") }).describe("Request model for getting a pipeline by ID.");
|
|
5
|
+
const ParmaGetPipeline_PipelineDataSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Pipeline's unique identifier"),
|
|
7
|
+
name: zod.z.string().describe("Pipeline name"),
|
|
8
|
+
position: zod.z.number().int().describe("Position/order of the pipeline"),
|
|
9
|
+
created_at: zod.z.string().describe("Timestamp when the pipeline was created"),
|
|
10
|
+
updated_at: zod.z.string().describe("Timestamp when the pipeline was last updated")
|
|
11
|
+
}).describe("Pipeline data within the response.");
|
|
12
|
+
const ParmaGetPipelineOutput = zod.z.object({ data: ParmaGetPipeline_PipelineDataSchema.nullable() }).describe("Response schema for getting a pipeline.");
|
|
13
|
+
const parmaGetPipeline = require_action.action("PARMA_GET_PIPELINE", {
|
|
14
|
+
slug: "parma-get-pipeline",
|
|
15
|
+
name: "Get Pipeline",
|
|
16
|
+
description: "Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.",
|
|
17
|
+
input: ParmaGetPipelineInput,
|
|
18
|
+
output: ParmaGetPipelineOutput
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
exports.parmaGetPipeline = parmaGetPipeline;
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-pipeline.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-pipeline.cjs","names":["z","action"],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetPipelineInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\"),\n name: z.string().describe(\"Pipeline name\"),\n position: z.number().int().describe(\"Position/order of the pipeline\"),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\"),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\"),\n}).describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput: z.ZodTypeAny = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-pipeline.d.ts
|
|
4
|
+
declare const ParmaGetPipelineInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetPipelineOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetPipeline: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetPipeline };
|
|
9
|
+
//# sourceMappingURL=get-pipeline.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-pipeline.d.cts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEoB;AAAA,cAQ7C,sBAAA,EAAwB,CAAA,CAAE,UAEe;AAAA,cAEzC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-pipeline.d.ts
|
|
4
|
+
declare const ParmaGetPipelineInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetPipelineOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetPipeline: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetPipeline };
|
|
9
|
+
//# sourceMappingURL=get-pipeline.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-pipeline.d.mts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAEoB;AAAA,cAQ7C,sBAAA,EAAwB,CAAA,CAAE,UAEe;AAAA,cAEzC,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-pipeline.ts
|
|
4
|
+
const ParmaGetPipelineInput = z.object({ id: z.string().describe("The unique identifier of the pipeline to retrieve") }).describe("Request model for getting a pipeline by ID.");
|
|
5
|
+
const ParmaGetPipeline_PipelineDataSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Pipeline's unique identifier"),
|
|
7
|
+
name: z.string().describe("Pipeline name"),
|
|
8
|
+
position: z.number().int().describe("Position/order of the pipeline"),
|
|
9
|
+
created_at: z.string().describe("Timestamp when the pipeline was created"),
|
|
10
|
+
updated_at: z.string().describe("Timestamp when the pipeline was last updated")
|
|
11
|
+
}).describe("Pipeline data within the response.");
|
|
12
|
+
const parmaGetPipeline = action("PARMA_GET_PIPELINE", {
|
|
13
|
+
slug: "parma-get-pipeline",
|
|
14
|
+
name: "Get Pipeline",
|
|
15
|
+
description: "Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.",
|
|
16
|
+
input: ParmaGetPipelineInput,
|
|
17
|
+
output: z.object({ data: ParmaGetPipeline_PipelineDataSchema.nullable() }).describe("Response schema for getting a pipeline.")
|
|
18
|
+
});
|
|
19
|
+
//#endregion
|
|
20
|
+
export { parmaGetPipeline };
|
|
21
|
+
|
|
22
|
+
//# sourceMappingURL=get-pipeline.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-pipeline.mjs","names":[],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetPipelineInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\"),\n name: z.string().describe(\"Pipeline name\"),\n position: z.number().int().describe(\"Position/order of the pipeline\"),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\"),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\"),\n}).describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput: z.ZodTypeAny = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO,EAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACpE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AAChF,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkD,EAAE,OAAO,EAC3D,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-relationship.ts
|
|
4
|
+
const ParmaGetRelationshipInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the relationship to retrieve") }).describe("Request model for getting a relationship by its ID.");
|
|
5
|
+
const ParmaGetRelationship_RelationshipPropertySchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Property's unique identifier").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("Property name").nullable().optional(),
|
|
8
|
+
value: zod.z.string().describe("Property value").nullable().optional()
|
|
9
|
+
}).describe("A property associated with a relationship.");
|
|
10
|
+
const ParmaGetRelationship_RelationshipDataSchema = zod.z.object({
|
|
11
|
+
id: zod.z.number().int().describe("Relationship's unique identifier").nullable().optional(),
|
|
12
|
+
name: zod.z.string().describe("Name of the relationship").nullable().optional(),
|
|
13
|
+
type: zod.z.string().describe("Type of the relationship").nullable().optional(),
|
|
14
|
+
about: zod.z.string().describe("Description or notes about the relationship").nullable().optional(),
|
|
15
|
+
group_ids: zod.z.array(zod.z.number().int()).describe("List of group IDs associated with this relationship").nullable().optional(),
|
|
16
|
+
company_id: zod.z.number().int().describe("ID of the associated company").nullable().optional(),
|
|
17
|
+
created_at: zod.z.string().describe("Timestamp when the relationship was created").nullable().optional(),
|
|
18
|
+
properties: zod.z.array(ParmaGetRelationship_RelationshipPropertySchema).describe("List of custom properties for the relationship").nullable().optional(),
|
|
19
|
+
updated_at: zod.z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
|
|
20
|
+
contact_details: zod.z.array(zod.z.object({})).describe("Contact details for the relationship").nullable().optional()
|
|
21
|
+
}).describe("Detailed information about a relationship.");
|
|
22
|
+
const ParmaGetRelationshipOutput = zod.z.object({ data: ParmaGetRelationship_RelationshipDataSchema.nullable() }).describe("Response schema for getting a relationship.");
|
|
23
|
+
const parmaGetRelationship = require_action.action("PARMA_GET_RELATIONSHIP", {
|
|
24
|
+
slug: "parma-get-relationship",
|
|
25
|
+
name: "Get Relationship",
|
|
26
|
+
description: "Tool to retrieve a relationship by its unique ID. Use when you need to get detailed information about a specific relationship.",
|
|
27
|
+
input: ParmaGetRelationshipInput,
|
|
28
|
+
output: ParmaGetRelationshipOutput
|
|
29
|
+
});
|
|
30
|
+
//#endregion
|
|
31
|
+
exports.parmaGetRelationship = parmaGetRelationship;
|
|
32
|
+
|
|
33
|
+
//# sourceMappingURL=get-relationship.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-relationship.cjs","names":["z","action"],"sources":["../../src/actions/get-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetRelationshipInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to retrieve\"),\n}).describe(\"Request model for getting a relationship by its ID.\");\nconst ParmaGetRelationship_RelationshipPropertySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Property's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).describe(\"A property associated with a relationship.\");\nconst ParmaGetRelationship_RelationshipDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of the relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs associated with this relationship\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaGetRelationship_RelationshipPropertySchema).describe(\"List of custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.object({})).describe(\"Contact details for the relationship\").nullable().optional(),\n}).describe(\"Detailed information about a relationship.\");\nexport const ParmaGetRelationshipOutput: z.ZodTypeAny = z.object({\n data: ParmaGetRelationship_RelationshipDataSchema.nullable(),\n}).describe(\"Response schema for getting a relationship.\");\n\nexport const parmaGetRelationship = action(\"PARMA_GET_RELATIONSHIP\", {\n slug: \"parma-get-relationship\",\n name: \"Get Relationship\",\n description: \"Tool to retrieve a relationship by its unique ID. Use when you need to get detailed information about a specific relationship.\",\n input: ParmaGetRelationshipInput,\n output: ParmaGetRelationshipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,EAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-relationship.d.ts
|
|
4
|
+
declare const ParmaGetRelationshipInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetRelationshipOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetRelationship };
|
|
9
|
+
//# sourceMappingURL=get-relationship.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-relationship.d.cts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwB;AAAA,cAkBrD,0BAAA,EAA4B,CAAA,CAAE,UAEe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-relationship.d.ts
|
|
4
|
+
declare const ParmaGetRelationshipInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetRelationshipOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetRelationship: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetRelationship };
|
|
9
|
+
//# sourceMappingURL=get-relationship.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-relationship.d.mts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAEwB;AAAA,cAkBrD,0BAAA,EAA4B,CAAA,CAAE,UAEe;AAAA,cAE7C,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-relationship.ts
|
|
4
|
+
const ParmaGetRelationshipInput = z.object({ id: z.string().describe("The unique identifier of the relationship to retrieve") }).describe("Request model for getting a relationship by its ID.");
|
|
5
|
+
const ParmaGetRelationship_RelationshipPropertySchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Property's unique identifier").nullable().optional(),
|
|
7
|
+
name: z.string().describe("Property name").nullable().optional(),
|
|
8
|
+
value: z.string().describe("Property value").nullable().optional()
|
|
9
|
+
}).describe("A property associated with a relationship.");
|
|
10
|
+
const ParmaGetRelationship_RelationshipDataSchema = z.object({
|
|
11
|
+
id: z.number().int().describe("Relationship's unique identifier").nullable().optional(),
|
|
12
|
+
name: z.string().describe("Name of the relationship").nullable().optional(),
|
|
13
|
+
type: z.string().describe("Type of the relationship").nullable().optional(),
|
|
14
|
+
about: z.string().describe("Description or notes about the relationship").nullable().optional(),
|
|
15
|
+
group_ids: z.array(z.number().int()).describe("List of group IDs associated with this relationship").nullable().optional(),
|
|
16
|
+
company_id: z.number().int().describe("ID of the associated company").nullable().optional(),
|
|
17
|
+
created_at: z.string().describe("Timestamp when the relationship was created").nullable().optional(),
|
|
18
|
+
properties: z.array(ParmaGetRelationship_RelationshipPropertySchema).describe("List of custom properties for the relationship").nullable().optional(),
|
|
19
|
+
updated_at: z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
|
|
20
|
+
contact_details: z.array(z.object({})).describe("Contact details for the relationship").nullable().optional()
|
|
21
|
+
}).describe("Detailed information about a relationship.");
|
|
22
|
+
const parmaGetRelationship = action("PARMA_GET_RELATIONSHIP", {
|
|
23
|
+
slug: "parma-get-relationship",
|
|
24
|
+
name: "Get Relationship",
|
|
25
|
+
description: "Tool to retrieve a relationship by its unique ID. Use when you need to get detailed information about a specific relationship.",
|
|
26
|
+
input: ParmaGetRelationshipInput,
|
|
27
|
+
output: z.object({ data: ParmaGetRelationship_RelationshipDataSchema.nullable() }).describe("Response schema for getting a relationship.")
|
|
28
|
+
});
|
|
29
|
+
//#endregion
|
|
30
|
+
export { parmaGetRelationship };
|
|
31
|
+
|
|
32
|
+
//# sourceMappingURL=get-relationship.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-relationship.mjs","names":[],"sources":["../../src/actions/get-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetRelationshipInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to retrieve\"),\n}).describe(\"Request model for getting a relationship by its ID.\");\nconst ParmaGetRelationship_RelationshipPropertySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Property's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).describe(\"A property associated with a relationship.\");\nconst ParmaGetRelationship_RelationshipDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of the relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs associated with this relationship\").nullable().optional(),\n company_id: z.number().int().describe(\"ID of the associated company\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaGetRelationship_RelationshipPropertySchema).describe(\"List of custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.object({})).describe(\"Contact details for the relationship\").nullable().optional(),\n}).describe(\"Detailed information about a relationship.\");\nexport const ParmaGetRelationshipOutput: z.ZodTypeAny = z.object({\n data: ParmaGetRelationship_RelationshipDataSchema.nullable(),\n}).describe(\"Response schema for getting a relationship.\");\n\nexport const parmaGetRelationship = action(\"PARMA_GET_RELATIONSHIP\", {\n slug: \"parma-get-relationship\",\n name: \"Get Relationship\",\n description: \"Tool to retrieve a relationship by its unique ID. Use when you need to get detailed information about a specific relationship.\",\n input: ParmaGetRelationshipInput,\n output: ParmaGetRelationshipOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO,EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAgE,EAAE,OAAO;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-stage.ts
|
|
4
|
+
const ParmaGetStageInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the stage to retrieve") }).describe("Request model for GET_STAGE action.");
|
|
5
|
+
const ParmaGetStage_StageDataSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Stage's unique identifier").nullable().optional(),
|
|
7
|
+
name: zod.z.string().describe("Stage name").nullable().optional(),
|
|
8
|
+
position: zod.z.number().int().describe("Position of the stage in the pipeline").nullable().optional(),
|
|
9
|
+
created_at: zod.z.string().describe("Timestamp when the stage was created").nullable().optional(),
|
|
10
|
+
updated_at: zod.z.string().describe("Timestamp when the stage was last updated").nullable().optional(),
|
|
11
|
+
pipeline_id: zod.z.number().int().describe("ID of the pipeline this stage belongs to").nullable().optional()
|
|
12
|
+
}).describe("Stage data within the response.");
|
|
13
|
+
const ParmaGetStageOutput = zod.z.object({ data: ParmaGetStage_StageDataSchema.nullable() }).describe("Response schema for GET_STAGE containing stage information.");
|
|
14
|
+
const parmaGetStage = require_action.action("PARMA_GET_STAGE", {
|
|
15
|
+
slug: "parma-get-stage",
|
|
16
|
+
name: "Get Stage",
|
|
17
|
+
description: "Tool to retrieve a stage by its unique identifier. Use when you need to fetch details about a specific stage in a pipeline.",
|
|
18
|
+
input: ParmaGetStageInput,
|
|
19
|
+
output: ParmaGetStageOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.parmaGetStage = parmaGetStage;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=get-stage.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-stage.cjs","names":["z","action"],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetStageInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the stage to retrieve\"),\n}).describe(\"Request model for GET_STAGE action.\");\nconst ParmaGetStage_StageDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Stage's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n position: z.number().int().describe(\"Position of the stage in the pipeline\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the stage was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\").nullable().optional(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\").nullable().optional(),\n}).describe(\"Stage data within the response.\");\nexport const ParmaGetStageOutput: z.ZodTypeAny = z.object({\n data: ParmaGetStage_StageDataSchema.nullable(),\n}).describe(\"Response schema for GET_STAGE containing stage information.\");\n\nexport const parmaGetStage = action(\"PARMA_GET_STAGE\", {\n slug: \"parma-get-stage\",\n name: \"Get Stage\",\n description: \"Tool to retrieve a stage by its unique identifier. Use when you need to fetch details about a specific stage in a pipeline.\",\n input: ParmaGetStageInput,\n output: ParmaGetStageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO,EACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,gCAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAC7C,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-stage.d.ts
|
|
4
|
+
declare const ParmaGetStageInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetStageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetStage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetStage };
|
|
9
|
+
//# sourceMappingURL=get-stage.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-stage.d.cts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAEe;AAAA,cASrC,mBAAA,EAAqB,CAAA,CAAE,UAEsC;AAAA,cAE7D,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-stage.d.ts
|
|
4
|
+
declare const ParmaGetStageInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetStageOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetStage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetStage };
|
|
9
|
+
//# sourceMappingURL=get-stage.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-stage.d.mts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAEe;AAAA,cASrC,mBAAA,EAAqB,CAAA,CAAE,UAEsC;AAAA,cAE7D,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-stage.ts
|
|
4
|
+
const ParmaGetStageInput = z.object({ id: z.string().describe("The unique identifier of the stage to retrieve") }).describe("Request model for GET_STAGE action.");
|
|
5
|
+
const ParmaGetStage_StageDataSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Stage's unique identifier").nullable().optional(),
|
|
7
|
+
name: z.string().describe("Stage name").nullable().optional(),
|
|
8
|
+
position: z.number().int().describe("Position of the stage in the pipeline").nullable().optional(),
|
|
9
|
+
created_at: z.string().describe("Timestamp when the stage was created").nullable().optional(),
|
|
10
|
+
updated_at: z.string().describe("Timestamp when the stage was last updated").nullable().optional(),
|
|
11
|
+
pipeline_id: z.number().int().describe("ID of the pipeline this stage belongs to").nullable().optional()
|
|
12
|
+
}).describe("Stage data within the response.");
|
|
13
|
+
const parmaGetStage = action("PARMA_GET_STAGE", {
|
|
14
|
+
slug: "parma-get-stage",
|
|
15
|
+
name: "Get Stage",
|
|
16
|
+
description: "Tool to retrieve a stage by its unique identifier. Use when you need to fetch details about a specific stage in a pipeline.",
|
|
17
|
+
input: ParmaGetStageInput,
|
|
18
|
+
output: z.object({ data: ParmaGetStage_StageDataSchema.nullable() }).describe("Response schema for GET_STAGE containing stage information.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { parmaGetStage };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=get-stage.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-stage.mjs","names":[],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetStageInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the stage to retrieve\"),\n}).describe(\"Request model for GET_STAGE action.\");\nconst ParmaGetStage_StageDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Stage's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Stage name\").nullable().optional(),\n position: z.number().int().describe(\"Position of the stage in the pipeline\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the stage was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\").nullable().optional(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\").nullable().optional(),\n}).describe(\"Stage data within the response.\");\nexport const ParmaGetStageOutput: z.ZodTypeAny = z.object({\n data: ParmaGetStage_StageDataSchema.nullable(),\n}).describe(\"Response schema for GET_STAGE containing stage information.\");\n\nexport const parmaGetStage = action(\"PARMA_GET_STAGE\", {\n slug: \"parma-get-stage\",\n name: \"Get Stage\",\n description: \"Tool to retrieve a stage by its unique identifier. Use when you need to fetch details about a specific stage in a pipeline.\",\n input: ParmaGetStageInput,\n output: ParmaGetStageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO,EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,gCAA8C,EAAE,OAAO;CAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAK7C,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,SAAS,6DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-user-profile.ts
|
|
4
|
+
const ParmaGetUserProfileInput = zod.z.object({}).describe("Request model for GET_USER_PROFILE. No parameters needed.");
|
|
5
|
+
const ParmaGetUserProfile_UserInfoSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("User's unique identifier"),
|
|
7
|
+
name: zod.z.string().describe("User's name"),
|
|
8
|
+
email: zod.z.string().describe("User's email address")
|
|
9
|
+
}).describe("User information within the profile response.");
|
|
10
|
+
const ParmaGetUserProfile_AccountInfoSchema = zod.z.object({
|
|
11
|
+
id: zod.z.number().int().describe("Account's unique identifier"),
|
|
12
|
+
name: zod.z.string().describe("Account name")
|
|
13
|
+
}).describe("Account information within the profile response.");
|
|
14
|
+
const ParmaGetUserProfileOutput = zod.z.object({
|
|
15
|
+
user: ParmaGetUserProfile_UserInfoSchema.nullable(),
|
|
16
|
+
account: ParmaGetUserProfile_AccountInfoSchema.nullable()
|
|
17
|
+
}).describe("Response schema for GET_USER_PROFILE containing user and account information.");
|
|
18
|
+
const parmaGetUserProfile = require_action.action("PARMA_GET_USER_PROFILE", {
|
|
19
|
+
slug: "parma-get-user-profile",
|
|
20
|
+
name: "Get User Profile",
|
|
21
|
+
description: "Tool to retrieve the authenticated user's profile. Use after obtaining a valid auth token to fetch current user account details.",
|
|
22
|
+
input: ParmaGetUserProfileInput,
|
|
23
|
+
output: ParmaGetUserProfileOutput
|
|
24
|
+
});
|
|
25
|
+
//#endregion
|
|
26
|
+
exports.parmaGetUserProfile = parmaGetUserProfile;
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=get-user-profile.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserProfileInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_USER_PROFILE. No parameters needed.\");\nconst ParmaGetUserProfile_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User information within the profile response.\");\nconst ParmaGetUserProfile_AccountInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Account's unique identifier\"),\n name: z.string().describe(\"Account name\"),\n}).describe(\"Account information within the profile response.\");\nexport const ParmaGetUserProfileOutput: z.ZodTypeAny = z.object({\n user: ParmaGetUserProfile_UserInfoSchema.nullable(),\n account: ParmaGetUserProfile_AccountInfoSchema.nullable(),\n}).describe(\"Response schema for GET_USER_PROFILE containing user and account information.\");\n\nexport const parmaGetUserProfile = action(\"PARMA_GET_USER_PROFILE\", {\n slug: \"parma-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve the authenticated user's profile. Use after obtaining a valid auth token to fetch current user account details.\",\n input: ParmaGetUserProfileInput,\n output: ParmaGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvI,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;AAC1C,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAM,mCAAmC,SAAS;CAClD,SAAS,sCAAsC,SAAS;AAC1D,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAE3F,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user-profile.d.ts
|
|
4
|
+
declare const ParmaGetUserProfileInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetUserProfileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetUserProfile };
|
|
9
|
+
//# sourceMappingURL=get-user-profile.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA+F;AAAA,cAU3H,yBAAA,EAA2B,CAAA,CAAE,UAGkD;AAAA,cAE/E,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user-profile.d.ts
|
|
4
|
+
declare const ParmaGetUserProfileInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetUserProfileOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetUserProfile };
|
|
9
|
+
//# sourceMappingURL=get-user-profile.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA+F;AAAA,cAU3H,yBAAA,EAA2B,CAAA,CAAE,UAGkD;AAAA,cAE/E,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-user-profile.ts
|
|
4
|
+
const ParmaGetUserProfileInput = z.object({}).describe("Request model for GET_USER_PROFILE. No parameters needed.");
|
|
5
|
+
const ParmaGetUserProfile_UserInfoSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("User's unique identifier"),
|
|
7
|
+
name: z.string().describe("User's name"),
|
|
8
|
+
email: z.string().describe("User's email address")
|
|
9
|
+
}).describe("User information within the profile response.");
|
|
10
|
+
const ParmaGetUserProfile_AccountInfoSchema = z.object({
|
|
11
|
+
id: z.number().int().describe("Account's unique identifier"),
|
|
12
|
+
name: z.string().describe("Account name")
|
|
13
|
+
}).describe("Account information within the profile response.");
|
|
14
|
+
const parmaGetUserProfile = action("PARMA_GET_USER_PROFILE", {
|
|
15
|
+
slug: "parma-get-user-profile",
|
|
16
|
+
name: "Get User Profile",
|
|
17
|
+
description: "Tool to retrieve the authenticated user's profile. Use after obtaining a valid auth token to fetch current user account details.",
|
|
18
|
+
input: ParmaGetUserProfileInput,
|
|
19
|
+
output: z.object({
|
|
20
|
+
user: ParmaGetUserProfile_UserInfoSchema.nullable(),
|
|
21
|
+
account: ParmaGetUserProfile_AccountInfoSchema.nullable()
|
|
22
|
+
}).describe("Response schema for GET_USER_PROFILE containing user and account information.")
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { parmaGetUserProfile };
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=get-user-profile.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserProfileInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_USER_PROFILE. No parameters needed.\");\nconst ParmaGetUserProfile_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User information within the profile response.\");\nconst ParmaGetUserProfile_AccountInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Account's unique identifier\"),\n name: z.string().describe(\"Account name\"),\n}).describe(\"Account information within the profile response.\");\nexport const ParmaGetUserProfileOutput: z.ZodTypeAny = z.object({\n user: ParmaGetUserProfile_UserInfoSchema.nullable(),\n account: ParmaGetUserProfile_AccountInfoSchema.nullable(),\n}).describe(\"Response schema for GET_USER_PROFILE containing user and account information.\");\n\nexport const parmaGetUserProfile = action(\"PARMA_GET_USER_PROFILE\", {\n slug: \"parma-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve the authenticated user's profile. Use after obtaining a valid auth token to fetch current user account details.\",\n input: ParmaGetUserProfileInput,\n output: ParmaGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvI,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;AAC1C,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,mCAAmC,SAAS;EAClD,SAAS,sCAAsC,SAAS;CAC1D,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-user.ts
|
|
4
|
+
const ParmaGetUserInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the user to retrieve") }).describe("Request model for GET_USER to retrieve a user by their ID.");
|
|
5
|
+
const ParmaGetUser_UserDataSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("User's unique identifier"),
|
|
7
|
+
name: zod.z.string().describe("User's name"),
|
|
8
|
+
email: zod.z.string().describe("User's email address")
|
|
9
|
+
}).describe("User data within the API response.");
|
|
10
|
+
const ParmaGetUserOutput = zod.z.object({ data: ParmaGetUser_UserDataSchema.nullable() }).describe("Response schema for GET_USER containing user information.");
|
|
11
|
+
const parmaGetUser = require_action.action("PARMA_GET_USER", {
|
|
12
|
+
slug: "parma-get-user",
|
|
13
|
+
name: "Get User by ID",
|
|
14
|
+
description: "Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.",
|
|
15
|
+
input: ParmaGetUserInput,
|
|
16
|
+
output: ParmaGetUserOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.parmaGetUser = parmaGetUser;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=get-user.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for GET_USER to retrieve a user by their ID.\");\nconst ParmaGetUser_UserDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput: z.ZodTypeAny = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).describe(\"Response schema for GET_USER containing user information.\");\n\nexport const parmaGetUser = action(\"PARMA_GET_USER\", {\n slug: \"parma-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.\",\n input: ParmaGetUserInput,\n output: ParmaGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,qBAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user.d.ts
|
|
4
|
+
declare const ParmaGetUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetUser };
|
|
9
|
+
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEuC;AAAA,cAM5D,kBAAA,EAAoB,CAAA,CAAE,UAEqC;AAAA,cAE3D,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-user.d.ts
|
|
4
|
+
declare const ParmaGetUserInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaGetUserOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaGetUser };
|
|
9
|
+
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEuC;AAAA,cAM5D,kBAAA,EAAoB,CAAA,CAAE,UAEqC;AAAA,cAE3D,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/get-user.ts
|
|
4
|
+
const ParmaGetUserInput = z.object({ id: z.string().describe("The unique identifier of the user to retrieve") }).describe("Request model for GET_USER to retrieve a user by their ID.");
|
|
5
|
+
const ParmaGetUser_UserDataSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("User's unique identifier"),
|
|
7
|
+
name: z.string().describe("User's name"),
|
|
8
|
+
email: z.string().describe("User's email address")
|
|
9
|
+
}).describe("User data within the API response.");
|
|
10
|
+
const parmaGetUser = action("PARMA_GET_USER", {
|
|
11
|
+
slug: "parma-get-user",
|
|
12
|
+
name: "Get User by ID",
|
|
13
|
+
description: "Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.",
|
|
14
|
+
input: ParmaGetUserInput,
|
|
15
|
+
output: z.object({ data: ParmaGetUser_UserDataSchema.nullable() }).describe("Response schema for GET_USER containing user information.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { parmaGetUser };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=get-user.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for GET_USER to retrieve a user by their ID.\");\nconst ParmaGetUser_UserDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput: z.ZodTypeAny = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).describe(\"Response schema for GET_USER containing user information.\");\n\nexport const parmaGetUser = action(\"PARMA_GET_USER\", {\n slug: \"parma-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.\",\n input: ParmaGetUserInput,\n output: ParmaGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkC,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
|