@keystrokehq/parma 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-relationship-to-group.cjs +6 -6
- package/dist/actions/add-relationship-to-group.cjs.map +1 -1
- package/dist/actions/add-relationship-to-group.d.cts +16 -3
- package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
- package/dist/actions/add-relationship-to-group.d.mts +16 -3
- package/dist/actions/add-relationship-to-group.d.mts.map +1 -1
- package/dist/actions/add-relationship-to-group.mjs +6 -6
- package/dist/actions/add-relationship-to-group.mjs.map +1 -1
- package/dist/actions/create-note.cjs +4 -4
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +20 -3
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +20 -3
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +4 -4
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-relationship.cjs +4 -4
- package/dist/actions/create-relationship.cjs.map +1 -1
- package/dist/actions/create-relationship.d.cts +31 -3
- package/dist/actions/create-relationship.d.cts.map +1 -1
- package/dist/actions/create-relationship.d.mts +31 -3
- package/dist/actions/create-relationship.d.mts.map +1 -1
- package/dist/actions/create-relationship.mjs +4 -4
- package/dist/actions/create-relationship.mjs.map +1 -1
- package/dist/actions/data-json.cjs +7 -7
- package/dist/actions/data-json.cjs.map +1 -1
- package/dist/actions/data-json.d.cts +37 -3
- package/dist/actions/data-json.d.cts.map +1 -1
- package/dist/actions/data-json.d.mts +37 -3
- package/dist/actions/data-json.d.mts.map +1 -1
- package/dist/actions/data-json.mjs +7 -7
- package/dist/actions/data-json.mjs.map +1 -1
- package/dist/actions/delete-relationship.cjs +1 -1
- package/dist/actions/delete-relationship.cjs.map +1 -1
- package/dist/actions/delete-relationship.d.cts +9 -3
- package/dist/actions/delete-relationship.d.cts.map +1 -1
- package/dist/actions/delete-relationship.d.mts +9 -3
- package/dist/actions/delete-relationship.d.mts.map +1 -1
- package/dist/actions/delete-relationship.mjs +1 -1
- package/dist/actions/delete-relationship.mjs.map +1 -1
- package/dist/actions/get-pipeline.cjs +7 -7
- package/dist/actions/get-pipeline.cjs.map +1 -1
- package/dist/actions/get-pipeline.d.cts +15 -3
- package/dist/actions/get-pipeline.d.cts.map +1 -1
- package/dist/actions/get-pipeline.d.mts +15 -3
- package/dist/actions/get-pipeline.d.mts.map +1 -1
- package/dist/actions/get-pipeline.mjs +7 -7
- package/dist/actions/get-pipeline.mjs.map +1 -1
- package/dist/actions/get-relationship.cjs +4 -4
- package/dist/actions/get-relationship.cjs.map +1 -1
- package/dist/actions/get-relationship.d.cts +24 -3
- package/dist/actions/get-relationship.d.cts.map +1 -1
- package/dist/actions/get-relationship.d.mts +24 -3
- package/dist/actions/get-relationship.d.mts.map +1 -1
- package/dist/actions/get-relationship.mjs +4 -4
- package/dist/actions/get-relationship.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +2 -2
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +16 -3
- package/dist/actions/get-stage.d.cts.map +1 -1
- package/dist/actions/get-stage.d.mts +16 -3
- package/dist/actions/get-stage.d.mts.map +1 -1
- package/dist/actions/get-stage.mjs +2 -2
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +8 -8
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +13 -3
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +13 -3
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +8 -8
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/get-user.cjs +5 -5
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +13 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +13 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +5 -5
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-deals.cjs +3 -3
- package/dist/actions/list-deals.cjs.map +1 -1
- package/dist/actions/list-deals.d.cts +24 -3
- package/dist/actions/list-deals.d.cts.map +1 -1
- package/dist/actions/list-deals.d.mts +24 -3
- package/dist/actions/list-deals.d.mts.map +1 -1
- package/dist/actions/list-deals.mjs +3 -3
- package/dist/actions/list-deals.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +8 -8
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +19 -3
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +19 -3
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +8 -8
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +7 -7
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +16 -3
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +16 -3
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +7 -7
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +7 -7
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +11 -3
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +11 -3
- package/dist/actions/list-pipelines.d.mts.map +1 -1
- package/dist/actions/list-pipelines.mjs +7 -7
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-relationship-groups.cjs +6 -6
- package/dist/actions/list-relationship-groups.cjs.map +1 -1
- package/dist/actions/list-relationship-groups.d.cts +14 -3
- package/dist/actions/list-relationship-groups.d.cts.map +1 -1
- package/dist/actions/list-relationship-groups.d.mts +14 -3
- package/dist/actions/list-relationship-groups.d.mts.map +1 -1
- package/dist/actions/list-relationship-groups.mjs +6 -6
- package/dist/actions/list-relationship-groups.mjs.map +1 -1
- package/dist/actions/list-relationship-notes.cjs +2 -2
- package/dist/actions/list-relationship-notes.cjs.map +1 -1
- package/dist/actions/list-relationship-notes.d.cts +18 -3
- package/dist/actions/list-relationship-notes.d.cts.map +1 -1
- package/dist/actions/list-relationship-notes.d.mts +18 -3
- package/dist/actions/list-relationship-notes.d.mts.map +1 -1
- package/dist/actions/list-relationship-notes.mjs +2 -2
- package/dist/actions/list-relationship-notes.mjs.map +1 -1
- package/dist/actions/list-relationships.cjs +5 -5
- package/dist/actions/list-relationships.cjs.map +1 -1
- package/dist/actions/list-relationships.d.cts +52 -3
- package/dist/actions/list-relationships.d.cts.map +1 -1
- package/dist/actions/list-relationships.d.mts +52 -3
- package/dist/actions/list-relationships.d.mts.map +1 -1
- package/dist/actions/list-relationships.mjs +5 -5
- package/dist/actions/list-relationships.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +8 -8
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +12 -3
- package/dist/actions/list-stages.d.cts.map +1 -1
- package/dist/actions/list-stages.d.mts +12 -3
- package/dist/actions/list-stages.d.mts.map +1 -1
- package/dist/actions/list-stages.mjs +8 -8
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-users.cjs +5 -5
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +13 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +13 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +5 -5
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/package-list.cjs +3 -3
- package/dist/actions/package-list.cjs.map +1 -1
- package/dist/actions/package-list.d.cts +7 -3
- package/dist/actions/package-list.d.cts.map +1 -1
- package/dist/actions/package-list.d.mts +7 -3
- package/dist/actions/package-list.d.mts.map +1 -1
- package/dist/actions/package-list.mjs +3 -3
- package/dist/actions/package-list.mjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.cjs +1 -1
- package/dist/actions/remove-relationship-from-group.cjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.cts +11 -3
- package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.mts +11 -3
- package/dist/actions/remove-relationship-from-group.d.mts.map +1 -1
- package/dist/actions/remove-relationship-from-group.mjs +1 -1
- package/dist/actions/remove-relationship-from-group.mjs.map +1 -1
- package/dist/actions/update-note.cjs +2 -2
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +22 -3
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +22 -3
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +2 -2
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-relationship.cjs +5 -5
- package/dist/actions/update-relationship.cjs.map +1 -1
- package/dist/actions/update-relationship.d.cts +35 -3
- package/dist/actions/update-relationship.d.cts.map +1 -1
- package/dist/actions/update-relationship.d.mts +35 -3
- package/dist/actions/update-relationship.d.mts.map +1 -1
- package/dist/actions/update-relationship.mjs +5 -5
- package/dist/actions/update-relationship.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"A property associated with a relationship.\");\nconst ParmaGetRelationship_RelationshipDataSchema = 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.record(z.string(), z.unknown())).describe(\"Contact details for the relationship\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a relationship.\");\nexport const ParmaGetRelationshipOutput = z.object({\n data: ParmaGetRelationship_RelationshipDataSchema.nullable(),\n}).passthrough().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,4BAA4B,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,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,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -9,8 +9,8 @@ const ParmaGetStage_StageDataSchema = zod.z.object({
|
|
|
9
9
|
created_at: zod.z.string().describe("Timestamp when the stage was created").nullable().optional(),
|
|
10
10
|
updated_at: zod.z.string().describe("Timestamp when the stage was last updated").nullable().optional(),
|
|
11
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.");
|
|
12
|
+
}).passthrough().describe("Stage data within the response.");
|
|
13
|
+
const ParmaGetStageOutput = zod.z.object({ data: ParmaGetStage_StageDataSchema.nullable() }).passthrough().describe("Response schema for GET_STAGE containing stage information.");
|
|
14
14
|
const parmaGetStage = require_action.action("PARMA_GET_STAGE", {
|
|
15
15
|
slug: "parma-get-stage",
|
|
16
16
|
name: "Get Stage",
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Stage data within the response.\");\nexport const ParmaGetStageOutput = z.object({\n data: ParmaGetStage_StageDataSchema.nullable(),\n}).passthrough().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,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-stage.d.ts
|
|
4
|
-
declare const ParmaGetStageInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaGetStageInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParmaGetStageOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const parmaGetStage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
id: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { parmaGetStage };
|
|
9
22
|
//# sourceMappingURL=get-stage.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stage.d.cts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"get-stage.d.cts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAWlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;cAInB,aAAA,gCAAa,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-stage.d.ts
|
|
4
|
-
declare const ParmaGetStageInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaGetStageInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParmaGetStageOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
position: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const parmaGetStage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
id: string;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { parmaGetStage };
|
|
9
22
|
//# sourceMappingURL=get-stage.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-stage.d.mts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"get-stage.d.mts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAWlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;cAInB,aAAA,gCAAa,wBAAA"}
|
|
@@ -9,13 +9,13 @@ const ParmaGetStage_StageDataSchema = z.object({
|
|
|
9
9
|
created_at: z.string().describe("Timestamp when the stage was created").nullable().optional(),
|
|
10
10
|
updated_at: z.string().describe("Timestamp when the stage was last updated").nullable().optional(),
|
|
11
11
|
pipeline_id: z.number().int().describe("ID of the pipeline this stage belongs to").nullable().optional()
|
|
12
|
-
}).describe("Stage data within the response.");
|
|
12
|
+
}).passthrough().describe("Stage data within the response.");
|
|
13
13
|
const parmaGetStage = action("PARMA_GET_STAGE", {
|
|
14
14
|
slug: "parma-get-stage",
|
|
15
15
|
name: "Get Stage",
|
|
16
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
17
|
input: ParmaGetStageInput,
|
|
18
|
-
output: z.object({ data: ParmaGetStage_StageDataSchema.nullable() }).describe("Response schema for GET_STAGE containing stage information.")
|
|
18
|
+
output: z.object({ data: ParmaGetStage_StageDataSchema.nullable() }).passthrough().describe("Response schema for GET_STAGE containing stage information.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { parmaGetStage };
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Stage data within the response.\");\nexport const ParmaGetStageOutput = z.object({\n data: ParmaGetStage_StageDataSchema.nullable(),\n}).passthrough().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,qBAAqB,EAAE,OAAO,EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EAC1E,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,gCAAgC,EAAE,OAAO;CAC7C,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,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiC,EAAE,OAAO,EAC1C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
|
|
@@ -3,18 +3,18 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-user-profile.ts
|
|
4
4
|
const ParmaGetUserProfileInput = zod.z.object({}).describe("Request model for GET_USER_PROFILE. No parameters needed.");
|
|
5
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.");
|
|
6
|
+
id: zod.z.number().int().describe("User's unique identifier").nullable(),
|
|
7
|
+
name: zod.z.string().describe("User's name").nullable(),
|
|
8
|
+
email: zod.z.string().describe("User's email address").nullable()
|
|
9
|
+
}).passthrough().describe("User information within the profile response.");
|
|
10
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.");
|
|
11
|
+
id: zod.z.number().int().describe("Account's unique identifier").nullable(),
|
|
12
|
+
name: zod.z.string().describe("Account name").nullable()
|
|
13
|
+
}).passthrough().describe("Account information within the profile response.");
|
|
14
14
|
const ParmaGetUserProfileOutput = zod.z.object({
|
|
15
15
|
user: ParmaGetUserProfile_UserInfoSchema.nullable(),
|
|
16
16
|
account: ParmaGetUserProfile_AccountInfoSchema.nullable()
|
|
17
|
-
}).describe("Response schema for GET_USER_PROFILE containing user and account information.");
|
|
17
|
+
}).passthrough().describe("Response schema for GET_USER_PROFILE containing user and account information.");
|
|
18
18
|
const parmaGetUserProfile = require_action.action("PARMA_GET_USER_PROFILE", {
|
|
19
19
|
slug: "parma-get-user-profile",
|
|
20
20
|
name: "Get User Profile",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET_USER_PROFILE. No parameters needed.\");\nconst ParmaGetUserProfile_UserInfoSchema = z.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information within the profile response.\");\nconst ParmaGetUserProfile_AccountInfoSchema = z.object({\n id: z.number().int().describe(\"Account's unique identifier\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n}).passthrough().describe(\"Account information within the profile response.\");\nexport const ParmaGetUserProfileOutput = z.object({\n user: ParmaGetUserProfile_UserInfoSchema.nullable(),\n account: ParmaGetUserProfile_AccountInfoSchema.nullable(),\n}).passthrough().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,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAM,mCAAmC,SAAS;CAClD,SAAS,sCAAsC,SAAS;AAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAA+E;AAEzG,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-profile.d.ts
|
|
4
|
-
declare const ParmaGetUserProfileInput: z.
|
|
5
|
-
declare const ParmaGetUserProfileOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParmaGetUserProfileInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParmaGetUserProfileOutput: z.ZodObject<{
|
|
6
|
+
user: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
account: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const parmaGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { parmaGetUserProfile };
|
|
9
19
|
//# sourceMappingURL=get-user-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-profile.d.ts
|
|
4
|
-
declare const ParmaGetUserProfileInput: z.
|
|
5
|
-
declare const ParmaGetUserProfileOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParmaGetUserProfileInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParmaGetUserProfileOutput: z.ZodObject<{
|
|
6
|
+
user: z.ZodNullable<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$loose>>;
|
|
11
|
+
account: z.ZodNullable<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>;
|
|
15
|
+
}, z.core.$loose>;
|
|
16
|
+
declare const parmaGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { parmaGetUserProfile };
|
|
9
19
|
//# sourceMappingURL=get-user-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,14 +3,14 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-user-profile.ts
|
|
4
4
|
const ParmaGetUserProfileInput = z.object({}).describe("Request model for GET_USER_PROFILE. No parameters needed.");
|
|
5
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.");
|
|
6
|
+
id: z.number().int().describe("User's unique identifier").nullable(),
|
|
7
|
+
name: z.string().describe("User's name").nullable(),
|
|
8
|
+
email: z.string().describe("User's email address").nullable()
|
|
9
|
+
}).passthrough().describe("User information within the profile response.");
|
|
10
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.");
|
|
11
|
+
id: z.number().int().describe("Account's unique identifier").nullable(),
|
|
12
|
+
name: z.string().describe("Account name").nullable()
|
|
13
|
+
}).passthrough().describe("Account information within the profile response.");
|
|
14
14
|
const parmaGetUserProfile = action("PARMA_GET_USER_PROFILE", {
|
|
15
15
|
slug: "parma-get-user-profile",
|
|
16
16
|
name: "Get User Profile",
|
|
@@ -19,7 +19,7 @@ const parmaGetUserProfile = action("PARMA_GET_USER_PROFILE", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
user: ParmaGetUserProfile_UserInfoSchema.nullable(),
|
|
21
21
|
account: ParmaGetUserProfile_AccountInfoSchema.nullable()
|
|
22
|
-
}).describe("Response schema for GET_USER_PROFILE containing user and account information.")
|
|
22
|
+
}).passthrough().describe("Response schema for GET_USER_PROFILE containing user and account information.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { parmaGetUserProfile };
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for GET_USER_PROFILE. No parameters needed.\");\nconst ParmaGetUserProfile_UserInfoSchema = z.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information within the profile response.\");\nconst ParmaGetUserProfile_AccountInfoSchema = z.object({\n id: z.number().int().describe(\"Account's unique identifier\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n}).passthrough().describe(\"Account information within the profile response.\");\nexport const ParmaGetUserProfileOutput = z.object({\n user: ParmaGetUserProfile_UserInfoSchema.nullable(),\n account: ParmaGetUserProfile_AccountInfoSchema.nullable(),\n}).passthrough().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,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAM5E,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,mCAAmC,SAAS;EAClD,SAAS,sCAAsC,SAAS;CAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAOhB;AACV,CAAC"}
|
|
@@ -3,11 +3,11 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-user.ts
|
|
4
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
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.");
|
|
6
|
+
id: zod.z.number().int().describe("User's unique identifier").nullable(),
|
|
7
|
+
name: zod.z.string().describe("User's name").nullable(),
|
|
8
|
+
email: zod.z.string().describe("User's email address").nullable()
|
|
9
|
+
}).passthrough().describe("User data within the API response.");
|
|
10
|
+
const ParmaGetUserOutput = zod.z.object({ data: ParmaGetUser_UserDataSchema.nullable() }).passthrough().describe("Response schema for GET_USER containing user information.");
|
|
11
11
|
const parmaGetUser = require_action.action("PARMA_GET_USER", {
|
|
12
12
|
slug: "parma-get-user",
|
|
13
13
|
name: "Get User by ID",
|
|
@@ -1 +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
|
|
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.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.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).passthrough().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,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user.d.ts
|
|
4
|
-
declare const ParmaGetUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaGetUserInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParmaGetUserOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
id: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { parmaGetUser };
|
|
9
19
|
//# sourceMappingURL=get-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAQjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;cAIlB,YAAA,gCAAY,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user.d.ts
|
|
4
|
-
declare const ParmaGetUserInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaGetUserInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParmaGetUserOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodNullable<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodNullable<z.ZodString>;
|
|
12
|
+
}, z.core.$loose>>;
|
|
13
|
+
}, z.core.$loose>;
|
|
14
|
+
declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
id: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { parmaGetUser };
|
|
9
19
|
//# sourceMappingURL=get-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAQjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;cAIlB,YAAA,gCAAY,wBAAA"}
|
|
@@ -3,16 +3,16 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-user.ts
|
|
4
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
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.");
|
|
6
|
+
id: z.number().int().describe("User's unique identifier").nullable(),
|
|
7
|
+
name: z.string().describe("User's name").nullable(),
|
|
8
|
+
email: z.string().describe("User's email address").nullable()
|
|
9
|
+
}).passthrough().describe("User data within the API response.");
|
|
10
10
|
const parmaGetUser = action("PARMA_GET_USER", {
|
|
11
11
|
slug: "parma-get-user",
|
|
12
12
|
name: "Get User by ID",
|
|
13
13
|
description: "Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.",
|
|
14
14
|
input: ParmaGetUserInput,
|
|
15
|
-
output: z.object({ data: ParmaGetUser_UserDataSchema.nullable() }).describe("Response schema for GET_USER containing user information.")
|
|
15
|
+
output: z.object({ data: ParmaGetUser_UserDataSchema.nullable() }).passthrough().describe("Response schema for GET_USER containing user information.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { parmaGetUser };
|
|
@@ -1 +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
|
|
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.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.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).passthrough().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,oBAAoB,EAAE,OAAO,EACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgC,EAAE,OAAO,EACzC,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
|
|
@@ -14,12 +14,12 @@ const ParmaListDeals_DealSchema = zod.z.object({
|
|
|
14
14
|
owned_by_id: zod.z.number().int().describe("ID of the user who owns this deal").nullable().optional(),
|
|
15
15
|
pipeline_id: zod.z.number().int().describe("ID of the pipeline this deal belongs to").nullable().optional(),
|
|
16
16
|
relationship_id: zod.z.number().int().describe("ID of the relationship associated with this deal").nullable().optional()
|
|
17
|
-
}).describe("Represents a single deal in Parma.");
|
|
18
|
-
const ParmaListDeals_MetaSchema = zod.z.object({ count: zod.z.number().int().describe("Total count of deals returned").nullable().optional() }).describe("Metadata for the deals list response.");
|
|
17
|
+
}).passthrough().describe("Represents a single deal in Parma.");
|
|
18
|
+
const ParmaListDeals_MetaSchema = zod.z.object({ count: zod.z.number().int().describe("Total count of deals returned").nullable().optional() }).passthrough().describe("Metadata for the deals list response.");
|
|
19
19
|
const ParmaListDealsOutput = zod.z.object({
|
|
20
20
|
data: zod.z.array(ParmaListDeals_DealSchema).describe("List of deals in the Parma account"),
|
|
21
21
|
meta: ParmaListDeals_MetaSchema.nullable().optional()
|
|
22
|
-
}).describe("Response schema for listing deals containing deal data and metadata.");
|
|
22
|
+
}).passthrough().describe("Response schema for listing deals containing deal data and metadata.");
|
|
23
23
|
const parmaListDeals = require_action.action("PARMA_LIST_DEALS", {
|
|
24
24
|
slug: "parma-list-deals",
|
|
25
25
|
name: "List Deals",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-deals.cjs","names":["z","action"],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListDealsInput
|
|
1
|
+
{"version":3,"file":"list-deals.cjs","names":["z","action"],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListDealsInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to retrieve a specific page of deals.\").optional(),\n}).describe(\"Request model for listing deals in Parma.\");\nconst ParmaListDeals_DealSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the deal\").nullable().optional(),\n name: z.string().describe(\"Name of the deal\").nullable().optional(),\n amount: z.number().describe(\"Deal amount value\").nullable().optional(),\n status: z.string().describe(\"Current status of the deal\").nullable().optional(),\n stage_id: z.number().int().describe(\"ID of the current stage in the pipeline\").nullable().optional(),\n closed_at: z.string().describe(\"Timestamp when the deal was closed\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the deal was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the deal was last updated\").nullable().optional(),\n owned_by_id: z.number().int().describe(\"ID of the user who owns this deal\").nullable().optional(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this deal belongs to\").nullable().optional(),\n relationship_id: z.number().int().describe(\"ID of the relationship associated with this deal\").nullable().optional(),\n}).passthrough().describe(\"Represents a single deal in Parma.\");\nconst ParmaListDeals_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of deals returned\").nullable().optional(),\n}).passthrough().describe(\"Metadata for the deals list response.\");\nexport const ParmaListDealsOutput = z.object({\n data: z.array(ParmaListDeals_DealSchema).describe(\"List of deals in the Parma account\"),\n meta: ParmaListDeals_MetaSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for listing deals containing deal data and metadata.\");\n\nexport const parmaListDeals = action(\"PARMA_LIST_DEALS\", {\n slug: \"parma-list-deals\",\n name: \"List Deals\",\n description: \"Tool to retrieve all deals from the Parma account. Use when you need to list deals, filter by pagination, or get an overview of all deals in the system.\",\n input: ParmaListDealsInput,\n output: ParmaListDealsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAM,4BAA4BA,IAAAA,EAAE,OAAO,EACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC;CACtF,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-deals.d.ts
|
|
4
|
-
declare const ParmaListDealsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaListDealsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParmaListDealsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
owned_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
relationship_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const parmaListDeals: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
page?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { parmaListDeals };
|
|
9
30
|
//# sourceMappingURL=list-deals.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-deals.d.cts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-deals.d.cts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,30 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-deals.d.ts
|
|
4
|
-
declare const ParmaListDealsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaListDealsInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ParmaListDealsOutput: z.ZodObject<{
|
|
8
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
10
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
owned_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
relationship_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
20
|
+
}, z.core.$loose>>;
|
|
21
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
}, z.core.$loose>;
|
|
25
|
+
declare const parmaListDeals: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
|
+
page?: string | undefined;
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
28
|
//#endregion
|
|
8
29
|
export { parmaListDeals };
|
|
9
30
|
//# sourceMappingURL=list-deals.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-deals.d.mts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-deals.d.mts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -14,8 +14,8 @@ const ParmaListDeals_DealSchema = z.object({
|
|
|
14
14
|
owned_by_id: z.number().int().describe("ID of the user who owns this deal").nullable().optional(),
|
|
15
15
|
pipeline_id: z.number().int().describe("ID of the pipeline this deal belongs to").nullable().optional(),
|
|
16
16
|
relationship_id: z.number().int().describe("ID of the relationship associated with this deal").nullable().optional()
|
|
17
|
-
}).describe("Represents a single deal in Parma.");
|
|
18
|
-
const ParmaListDeals_MetaSchema = z.object({ count: z.number().int().describe("Total count of deals returned").nullable().optional() }).describe("Metadata for the deals list response.");
|
|
17
|
+
}).passthrough().describe("Represents a single deal in Parma.");
|
|
18
|
+
const ParmaListDeals_MetaSchema = z.object({ count: z.number().int().describe("Total count of deals returned").nullable().optional() }).passthrough().describe("Metadata for the deals list response.");
|
|
19
19
|
const parmaListDeals = action("PARMA_LIST_DEALS", {
|
|
20
20
|
slug: "parma-list-deals",
|
|
21
21
|
name: "List Deals",
|
|
@@ -24,7 +24,7 @@ const parmaListDeals = action("PARMA_LIST_DEALS", {
|
|
|
24
24
|
output: z.object({
|
|
25
25
|
data: z.array(ParmaListDeals_DealSchema).describe("List of deals in the Parma account"),
|
|
26
26
|
meta: ParmaListDeals_MetaSchema.nullable().optional()
|
|
27
|
-
}).describe("Response schema for listing deals containing deal data and metadata.")
|
|
27
|
+
}).passthrough().describe("Response schema for listing deals containing deal data and metadata.")
|
|
28
28
|
});
|
|
29
29
|
//#endregion
|
|
30
30
|
export { parmaListDeals };
|