@keystrokehq/parma 0.1.4 → 0.1.6
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 +1 -0
- package/dist/actions/add-relationship-to-group.cjs.map +1 -1
- package/dist/actions/add-relationship-to-group.d.cts +3 -4
- package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
- package/dist/actions/add-relationship-to-group.d.mts +3 -4
- package/dist/actions/add-relationship-to-group.d.mts.map +1 -1
- package/dist/actions/add-relationship-to-group.mjs +1 -0
- package/dist/actions/add-relationship-to-group.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -0
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -5
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -5
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +1 -0
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-relationship.cjs +1 -0
- package/dist/actions/create-relationship.cjs.map +1 -1
- package/dist/actions/create-relationship.d.cts +3 -7
- package/dist/actions/create-relationship.d.cts.map +1 -1
- package/dist/actions/create-relationship.d.mts +3 -7
- package/dist/actions/create-relationship.d.mts.map +1 -1
- package/dist/actions/create-relationship.mjs +1 -0
- package/dist/actions/create-relationship.mjs.map +1 -1
- package/dist/actions/data-json.cjs +1 -0
- package/dist/actions/data-json.cjs.map +1 -1
- package/dist/actions/data-json.d.cts +3 -1
- package/dist/actions/data-json.d.cts.map +1 -1
- package/dist/actions/data-json.d.mts +3 -1
- package/dist/actions/data-json.d.mts.map +1 -1
- package/dist/actions/data-json.mjs +1 -0
- package/dist/actions/data-json.mjs.map +1 -1
- package/dist/actions/delete-relationship.cjs +1 -0
- package/dist/actions/delete-relationship.cjs.map +1 -1
- package/dist/actions/delete-relationship.d.cts +3 -3
- package/dist/actions/delete-relationship.d.cts.map +1 -1
- package/dist/actions/delete-relationship.d.mts +3 -3
- package/dist/actions/delete-relationship.d.mts.map +1 -1
- package/dist/actions/delete-relationship.mjs +1 -0
- package/dist/actions/delete-relationship.mjs.map +1 -1
- package/dist/actions/get-pipeline.cjs +1 -0
- package/dist/actions/get-pipeline.cjs.map +1 -1
- package/dist/actions/get-pipeline.d.cts +3 -3
- package/dist/actions/get-pipeline.d.cts.map +1 -1
- package/dist/actions/get-pipeline.d.mts +3 -3
- package/dist/actions/get-pipeline.d.mts.map +1 -1
- package/dist/actions/get-pipeline.mjs +1 -0
- package/dist/actions/get-pipeline.mjs.map +1 -1
- package/dist/actions/get-relationship.cjs +1 -0
- package/dist/actions/get-relationship.cjs.map +1 -1
- package/dist/actions/get-relationship.d.cts +3 -3
- package/dist/actions/get-relationship.d.cts.map +1 -1
- package/dist/actions/get-relationship.d.mts +3 -3
- package/dist/actions/get-relationship.d.mts.map +1 -1
- package/dist/actions/get-relationship.mjs +1 -0
- package/dist/actions/get-relationship.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +1 -0
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +3 -3
- package/dist/actions/get-stage.d.cts.map +1 -1
- package/dist/actions/get-stage.d.mts +3 -3
- package/dist/actions/get-stage.d.mts.map +1 -1
- package/dist/actions/get-stage.mjs +1 -0
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +1 -0
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +3 -1
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +3 -1
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +1 -0
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-deals.cjs +1 -0
- package/dist/actions/list-deals.cjs.map +1 -1
- package/dist/actions/list-deals.d.cts +3 -3
- package/dist/actions/list-deals.d.cts.map +1 -1
- package/dist/actions/list-deals.d.mts +3 -3
- package/dist/actions/list-deals.d.mts.map +1 -1
- package/dist/actions/list-deals.mjs +1 -0
- package/dist/actions/list-deals.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -4
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -4
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +1 -0
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +3 -3
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +3 -3
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +1 -0
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +1 -0
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +3 -1
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +3 -1
- package/dist/actions/list-pipelines.d.mts.map +1 -1
- package/dist/actions/list-pipelines.mjs +1 -0
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-relationship-groups.cjs +1 -0
- package/dist/actions/list-relationship-groups.cjs.map +1 -1
- package/dist/actions/list-relationship-groups.d.cts +3 -3
- package/dist/actions/list-relationship-groups.d.cts.map +1 -1
- package/dist/actions/list-relationship-groups.d.mts +3 -3
- package/dist/actions/list-relationship-groups.d.mts.map +1 -1
- package/dist/actions/list-relationship-groups.mjs +1 -0
- package/dist/actions/list-relationship-groups.mjs.map +1 -1
- package/dist/actions/list-relationship-notes.cjs +1 -0
- package/dist/actions/list-relationship-notes.cjs.map +1 -1
- package/dist/actions/list-relationship-notes.d.cts +3 -4
- package/dist/actions/list-relationship-notes.d.cts.map +1 -1
- package/dist/actions/list-relationship-notes.d.mts +3 -4
- package/dist/actions/list-relationship-notes.d.mts.map +1 -1
- package/dist/actions/list-relationship-notes.mjs +1 -0
- package/dist/actions/list-relationship-notes.mjs.map +1 -1
- package/dist/actions/list-relationships.cjs +1 -0
- package/dist/actions/list-relationships.cjs.map +1 -1
- package/dist/actions/list-relationships.d.cts +3 -14
- package/dist/actions/list-relationships.d.cts.map +1 -1
- package/dist/actions/list-relationships.d.mts +3 -14
- package/dist/actions/list-relationships.d.mts.map +1 -1
- package/dist/actions/list-relationships.mjs +1 -0
- package/dist/actions/list-relationships.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +1 -0
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +3 -1
- package/dist/actions/list-stages.d.cts.map +1 -1
- package/dist/actions/list-stages.d.mts +3 -1
- package/dist/actions/list-stages.d.mts.map +1 -1
- package/dist/actions/list-stages.mjs +1 -0
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/package-list.cjs +1 -0
- package/dist/actions/package-list.cjs.map +1 -1
- package/dist/actions/package-list.d.cts +3 -1
- package/dist/actions/package-list.d.cts.map +1 -1
- package/dist/actions/package-list.d.mts +3 -1
- package/dist/actions/package-list.d.mts.map +1 -1
- package/dist/actions/package-list.mjs +1 -0
- package/dist/actions/package-list.mjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.cjs +1 -0
- package/dist/actions/remove-relationship-from-group.cjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.cts +3 -4
- package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.mts +3 -4
- package/dist/actions/remove-relationship-from-group.d.mts.map +1 -1
- package/dist/actions/remove-relationship-from-group.mjs +1 -0
- package/dist/actions/remove-relationship-from-group.mjs.map +1 -1
- package/dist/actions/update-note.cjs +1 -0
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +3 -6
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +3 -6
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +1 -0
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-relationship.cjs +1 -0
- package/dist/actions/update-relationship.cjs.map +1 -1
- package/dist/actions/update-relationship.d.cts +3 -9
- package/dist/actions/update-relationship.d.cts.map +1 -1
- package/dist/actions/update-relationship.d.mts +3 -9
- package/dist/actions/update-relationship.d.mts.map +1 -1
- package/dist/actions/update-relationship.mjs +1 -0
- package/dist/actions/update-relationship.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pipeline.d.cts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-pipeline.d.cts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-pipeline.d.ts
|
|
@@ -13,9 +15,7 @@ declare const ParmaGetPipelineOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parmaGetPipeline:
|
|
17
|
-
id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const parmaGetPipeline: AppAction<typeof ParmaGetPipelineInput, typeof ParmaGetPipelineOutput, typeof parma.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { parmaGetPipeline };
|
|
21
21
|
//# sourceMappingURL=get-pipeline.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pipeline.d.mts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-pipeline.d.mts","names":[],"sources":["../../src/actions/get-pipeline.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAUrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;cAItB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +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.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.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\").nullable(),\n name: z.string().describe(\"Pipeline name\").nullable(),\n position: z.number().int().describe(\"Position/order of the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\").nullable(),\n}).passthrough().describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).passthrough().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":"
|
|
1
|
+
{"version":3,"file":"get-pipeline.mjs","names":[],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaGetPipelineInput = 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.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\").nullable(),\n name: z.string().describe(\"Pipeline name\").nullable(),\n position: z.number().int().describe(\"Position/order of the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\").nullable(),\n}).passthrough().describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline: AppAction<\n typeof ParmaGetPipelineInput,\n typeof ParmaGetPipelineOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAK9D,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAboC,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAWhB;AACV,CAAC"}
|
|
@@ -1 +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.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":"
|
|
1
|
+
{"version":3,"file":"get-relationship.cjs","names":["z","action"],"sources":["../../src/actions/get-relationship.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetRelationshipInput,\n typeof ParmaGetRelationshipOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,EACjF,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,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,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,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,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,uBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-relationship.d.ts
|
|
@@ -22,9 +24,7 @@ declare const ParmaGetRelationshipOutput: z.ZodObject<{
|
|
|
22
24
|
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const parmaGetRelationship:
|
|
26
|
-
id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const parmaGetRelationship: AppAction<typeof ParmaGetRelationshipInput, typeof ParmaGetRelationshipOutput, typeof parma.credential>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { parmaGetRelationship };
|
|
30
30
|
//# sourceMappingURL=get-relationship.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-relationship.d.cts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-relationship.d.cts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-relationship.d.ts
|
|
@@ -22,9 +24,7 @@ declare const ParmaGetRelationshipOutput: z.ZodObject<{
|
|
|
22
24
|
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const parmaGetRelationship:
|
|
26
|
-
id: string;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const parmaGetRelationship: AppAction<typeof ParmaGetRelationshipInput, typeof ParmaGetRelationshipOutput, typeof parma.credential>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { parmaGetRelationship };
|
|
30
30
|
//# sourceMappingURL=get-relationship.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-relationship.d.mts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-relationship.d.mts","names":[],"sources":["../../src/actions/get-relationship.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAoBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAI1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-relationship.mjs","names":[],"sources":["../../src/actions/get-relationship.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetRelationshipInput,\n typeof ParmaGetRelationshipOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,4CAA4C,SAAS,EAC7D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-stage.cjs","names":["z","action"],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetStageInput,\n typeof ParmaGetStageOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stage.d.ts
|
|
@@ -14,9 +16,7 @@ declare const ParmaGetStageOutput: z.ZodObject<{
|
|
|
14
16
|
pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const parmaGetStage:
|
|
18
|
-
id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const parmaGetStage: AppAction<typeof ParmaGetStageInput, typeof ParmaGetStageOutput, typeof parma.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { parmaGetStage };
|
|
22
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":"
|
|
1
|
+
{"version":3,"file":"get-stage.d.cts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAWlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;cAInB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-stage.d.ts
|
|
@@ -14,9 +16,7 @@ declare const ParmaGetStageOutput: z.ZodObject<{
|
|
|
14
16
|
pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const parmaGetStage:
|
|
18
|
-
id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
19
|
+
declare const parmaGetStage: AppAction<typeof ParmaGetStageInput, typeof ParmaGetStageOutput, typeof parma.credential>;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { parmaGetStage };
|
|
22
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":"
|
|
1
|
+
{"version":3,"file":"get-stage.d.mts","names":[],"sources":["../../src/actions/get-stage.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;cAWlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;cAInB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-stage.mjs","names":[],"sources":["../../src/actions/get-stage.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetStageInput,\n typeof ParmaGetStageOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiC,EAAE,OAAO,EAC1C,MAAM,8BAA8B,SAAS,EAC/C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetUserProfileInput,\n typeof ParmaGetUserProfileOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-profile.d.ts
|
|
@@ -13,7 +15,7 @@ declare const ParmaGetUserProfileOutput: z.ZodObject<{
|
|
|
13
15
|
name: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parmaGetUserProfile:
|
|
18
|
+
declare const parmaGetUserProfile: AppAction<typeof ParmaGetUserProfileInput, typeof ParmaGetUserProfileOutput, typeof parma.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { parmaGetUserProfile };
|
|
19
21
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.cts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-profile.d.ts
|
|
@@ -13,7 +15,7 @@ declare const ParmaGetUserProfileOutput: z.ZodObject<{
|
|
|
13
15
|
name: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parmaGetUserProfile:
|
|
18
|
+
declare const parmaGetUserProfile: AppAction<typeof ParmaGetUserProfileInput, typeof ParmaGetUserProfileOutput, typeof parma.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { parmaGetUserProfile };
|
|
19
21
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetUserProfileInput,\n typeof ParmaGetUserProfileOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,EAAE,OAAO;EAChD,MAAM,mCAAmC,SAAS;EAClD,SAAS,sCAAsC,SAAS;CAC1D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+EAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetUserInput,\n typeof ParmaGetUserOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,eAITC,eAAAA,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user.d.ts
|
|
@@ -11,9 +13,7 @@ declare const ParmaGetUserOutput: z.ZodObject<{
|
|
|
11
13
|
email: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const parmaGetUser:
|
|
15
|
-
id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const parmaGetUser: AppAction<typeof ParmaGetUserInput, typeof ParmaGetUserOutput, typeof parma.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { parmaGetUser };
|
|
19
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":"
|
|
1
|
+
{"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAQjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;cAIlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user.d.ts
|
|
@@ -11,9 +13,7 @@ declare const ParmaGetUserOutput: z.ZodObject<{
|
|
|
11
13
|
email: z.ZodNullable<z.ZodString>;
|
|
12
14
|
}, z.core.$loose>>;
|
|
13
15
|
}, z.core.$loose>;
|
|
14
|
-
declare const parmaGetUser:
|
|
15
|
-
id: string;
|
|
16
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
16
|
+
declare const parmaGetUser: AppAction<typeof ParmaGetUserInput, typeof ParmaGetUserOutput, typeof parma.credential>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { parmaGetUser };
|
|
19
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":"
|
|
1
|
+
{"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;;;cAMa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAQjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;cAIlB,YAAA,EAAc,SAAA,QAClB,iBAAA,SACA,kBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaGetUserInput,\n typeof ParmaGetUserOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,eAIT,OAAO,kBAAkB;CAC3B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbgC,EAAE,OAAO,EACzC,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -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 = 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":"
|
|
1
|
+
{"version":3,"file":"list-deals.cjs","names":["z","action"],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaListDealsInput,\n typeof ParmaListDealsOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,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,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-deals.d.ts
|
|
@@ -22,9 +24,7 @@ declare const ParmaListDealsOutput: z.ZodObject<{
|
|
|
22
24
|
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
}, z.core.$loose>>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const parmaListDeals:
|
|
26
|
-
page?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const parmaListDeals: AppAction<typeof ParmaListDealsInput, typeof ParmaListDealsOutput, typeof parma.credential>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { parmaListDeals };
|
|
30
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":"
|
|
1
|
+
{"version":3,"file":"list-deals.d.cts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-deals.d.ts
|
|
@@ -22,9 +24,7 @@ declare const ParmaListDealsOutput: z.ZodObject<{
|
|
|
22
24
|
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
25
|
}, z.core.$loose>>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const parmaListDeals:
|
|
26
|
-
page?: string | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
27
|
+
declare const parmaListDeals: AppAction<typeof ParmaListDealsInput, typeof ParmaListDealsOutput, typeof parma.credential>;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { parmaListDeals };
|
|
30
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":"
|
|
1
|
+
{"version":3,"file":"list-deals.d.mts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-deals.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"list-deals.mjs","names":[],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\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: AppAction<\n typeof ParmaListDealsInput,\n typeof ParmaListDealsOutput,\n typeof parma.credential\n> = 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":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,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,4BAA4B,EAAE,OAAO,EACzC,OAAO,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;AAMjE,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkC,EAAE,OAAO;EAC3C,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC;EACtF,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;CACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListGroupsInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of groups.\").optional(),\n query: z.string().describe(\"Search query to filter groups by name or properties\").optional(),\n}).describe(\"Request model for listing groups in the Parma account.\");\nconst ParmaListGroups_GroupPropertySchema = z.object({\n id: z.number().int().describe(\"Property unique identifier\").nullable(),\n name: z.string().describe(\"Property name\").nullable(),\n type: z.string().describe(\"Property type\").nullable(),\n}).passthrough().describe(\"Represents a property within a group.\");\nconst ParmaListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group unique identifier\").nullable(),\n name: z.string().describe(\"Group name\").nullable(),\n properties: z.array(ParmaListGroups_GroupPropertySchema).describe(\"List of properties associated with the group\").nullable().optional(),\n}).passthrough().describe(\"Represents a single group in the Parma account.\");\nexport const ParmaListGroupsOutput = z.object({\n data: z.array(ParmaListGroups_GroupSchema).describe(\"List of groups in the Parma account\"),\n}).passthrough().describe(\"Response schema for listing groups containing an array of group objects.\");\n\nexport const parmaListGroups = action(\"PARMA_LIST_GROUPS\", {\n slug: \"parma-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups in the Parma account. Use when you need to list groups, optionally filtered by a search query.\",\n input: ParmaListGroupsInput,\n output: ParmaListGroupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaListGroupsInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of groups.\").optional(),\n query: z.string().describe(\"Search query to filter groups by name or properties\").optional(),\n}).describe(\"Request model for listing groups in the Parma account.\");\nconst ParmaListGroups_GroupPropertySchema = z.object({\n id: z.number().int().describe(\"Property unique identifier\").nullable(),\n name: z.string().describe(\"Property name\").nullable(),\n type: z.string().describe(\"Property type\").nullable(),\n}).passthrough().describe(\"Represents a property within a group.\");\nconst ParmaListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group unique identifier\").nullable(),\n name: z.string().describe(\"Group name\").nullable(),\n properties: z.array(ParmaListGroups_GroupPropertySchema).describe(\"List of properties associated with the group\").nullable().optional(),\n}).passthrough().describe(\"Represents a single group in the Parma account.\");\nexport const ParmaListGroupsOutput = z.object({\n data: z.array(ParmaListGroups_GroupSchema).describe(\"List of groups in the Parma account\"),\n}).passthrough().describe(\"Response schema for listing groups containing an array of group objects.\");\n\nexport const parmaListGroups: AppAction<\n typeof ParmaListGroupsInput,\n typeof ParmaListGroupsOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_GROUPS\", {\n slug: \"parma-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups in the Parma account. Use when you need to list groups, optionally filtered by a search query.\",\n input: ParmaListGroupsInput,\n output: ParmaListGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-groups.d.ts
|
|
@@ -16,10 +18,7 @@ declare const ParmaListGroupsOutput: z.ZodObject<{
|
|
|
16
18
|
}, z.core.$loose>>>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const parmaListGroups:
|
|
20
|
-
page?: string | undefined;
|
|
21
|
-
query?: string | undefined;
|
|
22
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const parmaListGroups: AppAction<typeof ParmaListGroupsInput, typeof ParmaListGroupsOutput, typeof parma.credential>;
|
|
23
22
|
//#endregion
|
|
24
23
|
export { parmaListGroups };
|
|
25
24
|
//# sourceMappingURL=list-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|