@keystrokehq/parma 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/add-relationship-to-group.cjs +25 -0
- package/dist/actions/add-relationship-to-group.cjs.map +1 -0
- package/dist/actions/add-relationship-to-group.d.cts +9 -0
- package/dist/actions/add-relationship-to-group.d.cts.map +1 -0
- package/dist/actions/add-relationship-to-group.d.mts +9 -0
- package/dist/actions/add-relationship-to-group.d.mts.map +1 -0
- package/dist/actions/add-relationship-to-group.mjs +24 -0
- package/dist/actions/add-relationship-to-group.mjs.map +1 -0
- package/dist/actions/create-note.cjs +28 -0
- package/dist/actions/create-note.cjs.map +1 -0
- package/dist/actions/create-note.d.cts +9 -0
- package/dist/actions/create-note.d.cts.map +1 -0
- package/dist/actions/create-note.d.mts +9 -0
- package/dist/actions/create-note.d.mts.map +1 -0
- package/dist/actions/create-note.mjs +27 -0
- package/dist/actions/create-note.mjs.map +1 -0
- package/dist/actions/create-relationship.cjs +34 -0
- package/dist/actions/create-relationship.cjs.map +1 -0
- package/dist/actions/create-relationship.d.cts +9 -0
- package/dist/actions/create-relationship.d.cts.map +1 -0
- package/dist/actions/create-relationship.d.mts +9 -0
- package/dist/actions/create-relationship.d.mts.map +1 -0
- package/dist/actions/create-relationship.mjs +33 -0
- package/dist/actions/create-relationship.mjs.map +1 -0
- package/dist/actions/data-json.cjs +52 -0
- package/dist/actions/data-json.cjs.map +1 -0
- package/dist/actions/data-json.d.cts +9 -0
- package/dist/actions/data-json.d.cts.map +1 -0
- package/dist/actions/data-json.d.mts +9 -0
- package/dist/actions/data-json.d.mts.map +1 -0
- package/dist/actions/data-json.mjs +51 -0
- package/dist/actions/data-json.mjs.map +1 -0
- package/dist/actions/delete-relationship.cjs +16 -0
- package/dist/actions/delete-relationship.cjs.map +1 -0
- package/dist/actions/delete-relationship.d.cts +9 -0
- package/dist/actions/delete-relationship.d.cts.map +1 -0
- package/dist/actions/delete-relationship.d.mts +9 -0
- package/dist/actions/delete-relationship.d.mts.map +1 -0
- package/dist/actions/delete-relationship.mjs +13 -0
- package/dist/actions/delete-relationship.mjs.map +1 -0
- package/dist/actions/get-pipeline.cjs +23 -0
- package/dist/actions/get-pipeline.cjs.map +1 -0
- package/dist/actions/get-pipeline.d.cts +9 -0
- package/dist/actions/get-pipeline.d.cts.map +1 -0
- package/dist/actions/get-pipeline.d.mts +9 -0
- package/dist/actions/get-pipeline.d.mts.map +1 -0
- package/dist/actions/get-pipeline.mjs +22 -0
- package/dist/actions/get-pipeline.mjs.map +1 -0
- package/dist/actions/get-relationship.cjs +33 -0
- package/dist/actions/get-relationship.cjs.map +1 -0
- package/dist/actions/get-relationship.d.cts +9 -0
- package/dist/actions/get-relationship.d.cts.map +1 -0
- package/dist/actions/get-relationship.d.mts +9 -0
- package/dist/actions/get-relationship.d.mts.map +1 -0
- package/dist/actions/get-relationship.mjs +32 -0
- package/dist/actions/get-relationship.mjs.map +1 -0
- package/dist/actions/get-stage.cjs +24 -0
- package/dist/actions/get-stage.cjs.map +1 -0
- package/dist/actions/get-stage.d.cts +9 -0
- package/dist/actions/get-stage.d.cts.map +1 -0
- package/dist/actions/get-stage.d.mts +9 -0
- package/dist/actions/get-stage.d.mts.map +1 -0
- package/dist/actions/get-stage.mjs +23 -0
- package/dist/actions/get-stage.mjs.map +1 -0
- package/dist/actions/get-user-profile.cjs +28 -0
- package/dist/actions/get-user-profile.cjs.map +1 -0
- package/dist/actions/get-user-profile.d.cts +9 -0
- package/dist/actions/get-user-profile.d.cts.map +1 -0
- package/dist/actions/get-user-profile.d.mts +9 -0
- package/dist/actions/get-user-profile.d.mts.map +1 -0
- package/dist/actions/get-user-profile.mjs +27 -0
- package/dist/actions/get-user-profile.mjs.map +1 -0
- package/dist/actions/get-user.cjs +21 -0
- package/dist/actions/get-user.cjs.map +1 -0
- package/dist/actions/get-user.d.cts +9 -0
- package/dist/actions/get-user.d.cts.map +1 -0
- package/dist/actions/get-user.d.mts +9 -0
- package/dist/actions/get-user.d.mts.map +1 -0
- package/dist/actions/get-user.mjs +20 -0
- package/dist/actions/get-user.mjs.map +1 -0
- package/dist/actions/index.cjs +47 -0
- package/dist/actions/index.d.cts +24 -0
- package/dist/actions/index.d.mts +24 -0
- package/dist/actions/index.mjs +24 -0
- package/dist/actions/list-deals.cjs +33 -0
- package/dist/actions/list-deals.cjs.map +1 -0
- package/dist/actions/list-deals.d.cts +9 -0
- package/dist/actions/list-deals.d.cts.map +1 -0
- package/dist/actions/list-deals.d.mts +9 -0
- package/dist/actions/list-deals.d.mts.map +1 -0
- package/dist/actions/list-deals.mjs +32 -0
- package/dist/actions/list-deals.mjs.map +1 -0
- package/dist/actions/list-groups.cjs +29 -0
- package/dist/actions/list-groups.cjs.map +1 -0
- package/dist/actions/list-groups.d.cts +9 -0
- package/dist/actions/list-groups.d.cts.map +1 -0
- package/dist/actions/list-groups.d.mts +9 -0
- package/dist/actions/list-groups.d.mts.map +1 -0
- package/dist/actions/list-groups.mjs +28 -0
- package/dist/actions/list-groups.mjs.map +1 -0
- package/dist/actions/list-notes.cjs +24 -0
- package/dist/actions/list-notes.cjs.map +1 -0
- package/dist/actions/list-notes.d.cts +9 -0
- package/dist/actions/list-notes.d.cts.map +1 -0
- package/dist/actions/list-notes.d.mts +9 -0
- package/dist/actions/list-notes.d.mts.map +1 -0
- package/dist/actions/list-notes.mjs +23 -0
- package/dist/actions/list-notes.mjs.map +1 -0
- package/dist/actions/list-pipelines.cjs +23 -0
- package/dist/actions/list-pipelines.cjs.map +1 -0
- package/dist/actions/list-pipelines.d.cts +9 -0
- package/dist/actions/list-pipelines.d.cts.map +1 -0
- package/dist/actions/list-pipelines.d.mts +9 -0
- package/dist/actions/list-pipelines.d.mts.map +1 -0
- package/dist/actions/list-pipelines.mjs +22 -0
- package/dist/actions/list-pipelines.mjs.map +1 -0
- package/dist/actions/list-relationship-groups.cjs +22 -0
- package/dist/actions/list-relationship-groups.cjs.map +1 -0
- package/dist/actions/list-relationship-groups.d.cts +9 -0
- package/dist/actions/list-relationship-groups.d.cts.map +1 -0
- package/dist/actions/list-relationship-groups.d.mts +9 -0
- package/dist/actions/list-relationship-groups.d.mts.map +1 -0
- package/dist/actions/list-relationship-groups.mjs +21 -0
- package/dist/actions/list-relationship-groups.mjs.map +1 -0
- package/dist/actions/list-relationship-notes.cjs +27 -0
- package/dist/actions/list-relationship-notes.cjs.map +1 -0
- package/dist/actions/list-relationship-notes.d.cts +9 -0
- package/dist/actions/list-relationship-notes.d.cts.map +1 -0
- package/dist/actions/list-relationship-notes.d.mts +9 -0
- package/dist/actions/list-relationship-notes.d.mts.map +1 -0
- package/dist/actions/list-relationship-notes.mjs +26 -0
- package/dist/actions/list-relationship-notes.mjs.map +1 -0
- package/dist/actions/list-relationships.cjs +54 -0
- package/dist/actions/list-relationships.cjs.map +1 -0
- package/dist/actions/list-relationships.d.cts +9 -0
- package/dist/actions/list-relationships.d.cts.map +1 -0
- package/dist/actions/list-relationships.d.mts +9 -0
- package/dist/actions/list-relationships.d.mts.map +1 -0
- package/dist/actions/list-relationships.mjs +53 -0
- package/dist/actions/list-relationships.mjs.map +1 -0
- package/dist/actions/list-stages.cjs +24 -0
- package/dist/actions/list-stages.cjs.map +1 -0
- package/dist/actions/list-stages.d.cts +9 -0
- package/dist/actions/list-stages.d.cts.map +1 -0
- package/dist/actions/list-stages.d.mts +9 -0
- package/dist/actions/list-stages.d.mts.map +1 -0
- package/dist/actions/list-stages.mjs +23 -0
- package/dist/actions/list-stages.mjs.map +1 -0
- package/dist/actions/list-users.cjs +21 -0
- package/dist/actions/list-users.cjs.map +1 -0
- package/dist/actions/list-users.d.cts +9 -0
- package/dist/actions/list-users.d.cts.map +1 -0
- package/dist/actions/list-users.d.mts +9 -0
- package/dist/actions/list-users.d.mts.map +1 -0
- package/dist/actions/list-users.mjs +20 -0
- package/dist/actions/list-users.mjs.map +1 -0
- package/dist/actions/package-list.cjs +20 -0
- package/dist/actions/package-list.cjs.map +1 -0
- package/dist/actions/package-list.d.cts +9 -0
- package/dist/actions/package-list.d.cts.map +1 -0
- package/dist/actions/package-list.d.mts +9 -0
- package/dist/actions/package-list.d.mts.map +1 -0
- package/dist/actions/package-list.mjs +17 -0
- package/dist/actions/package-list.mjs.map +1 -0
- package/dist/actions/remove-relationship-from-group.cjs +19 -0
- package/dist/actions/remove-relationship-from-group.cjs.map +1 -0
- package/dist/actions/remove-relationship-from-group.d.cts +9 -0
- package/dist/actions/remove-relationship-from-group.d.cts.map +1 -0
- package/dist/actions/remove-relationship-from-group.d.mts +9 -0
- package/dist/actions/remove-relationship-from-group.d.mts.map +1 -0
- package/dist/actions/remove-relationship-from-group.mjs +16 -0
- package/dist/actions/remove-relationship-from-group.mjs.map +1 -0
- package/dist/actions/update-note.cjs +29 -0
- package/dist/actions/update-note.cjs.map +1 -0
- package/dist/actions/update-note.d.cts +9 -0
- package/dist/actions/update-note.d.cts.map +1 -0
- package/dist/actions/update-note.d.mts +9 -0
- package/dist/actions/update-note.d.mts.map +1 -0
- package/dist/actions/update-note.mjs +28 -0
- package/dist/actions/update-note.mjs.map +1 -0
- package/dist/actions/update-relationship.cjs +36 -0
- package/dist/actions/update-relationship.cjs.map +1 -0
- package/dist/actions/update-relationship.d.cts +9 -0
- package/dist/actions/update-relationship.d.cts.map +1 -0
- package/dist/actions/update-relationship.d.mts +9 -0
- package/dist/actions/update-relationship.d.mts.map +1 -0
- package/dist/actions/update-relationship.mjs +35 -0
- package/dist/actions/update-relationship.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +52 -0
- package/dist/index.d.cts +26 -0
- package/dist/index.d.mts +26 -0
- package/dist/index.mjs +27 -0
- package/package.json +49 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-relationship-groups.d.ts
|
|
4
|
+
declare const ParmaListRelationshipGroupsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListRelationshipGroupsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListRelationshipGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListRelationshipGroups };
|
|
9
|
+
//# sourceMappingURL=list-relationship-groups.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationship-groups.d.mts","names":[],"sources":["../../src/actions/list-relationship-groups.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAE4B;AAAA,cAOhE,iCAAA,EAAmC,CAAA,CAAE,UAEgC;AAAA,cAErE,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-relationship-groups.ts
|
|
4
|
+
const ParmaListRelationshipGroupsInput = z.object({ relationship_id: z.string().describe("The unique identifier of the relationship to retrieve groups for") }).describe("Request model for listing all groups linked to a relationship.");
|
|
5
|
+
const ParmaListRelationshipGroups_RelationshipGroupSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the relationship group link"),
|
|
7
|
+
group_id: z.number().int().describe("The group's unique identifier"),
|
|
8
|
+
created_at: z.string().describe("Timestamp when the relationship-group link was created"),
|
|
9
|
+
updated_at: z.string().describe("Timestamp when the relationship-group link was last updated")
|
|
10
|
+
}).describe("Represents a group linked to a relationship.");
|
|
11
|
+
const parmaListRelationshipGroups = action("PARMA_LIST_RELATIONSHIP_GROUPS", {
|
|
12
|
+
slug: "parma-list-relationship-groups",
|
|
13
|
+
name: "List Relationship Groups",
|
|
14
|
+
description: "Tool to retrieve all groups linked to a specific relationship. Use when you need to see which groups are associated with a given relationship ID.",
|
|
15
|
+
input: ParmaListRelationshipGroupsInput,
|
|
16
|
+
output: z.object({ data: z.array(ParmaListRelationshipGroups_RelationshipGroupSchema).describe("Array of groups associated with the relationship") }).describe("Response schema containing list of groups linked to a relationship.")
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
export { parmaListRelationshipGroups };
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=list-relationship-groups.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationship-groups.mjs","names":[],"sources":["../../src/actions/list-relationship-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipGroupsInput: z.ZodTypeAny = z.object({\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve groups for\"),\n}).describe(\"Request model for listing all groups linked to a relationship.\");\nconst ParmaListRelationshipGroups_RelationshipGroupSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship group link\"),\n group_id: z.number().int().describe(\"The group's unique identifier\"),\n created_at: z.string().describe(\"Timestamp when the relationship-group link was created\"),\n updated_at: z.string().describe(\"Timestamp when the relationship-group link was last updated\"),\n}).describe(\"Represents a group linked to a relationship.\");\nexport const ParmaListRelationshipGroupsOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListRelationshipGroups_RelationshipGroupSchema).describe(\"Array of groups associated with the relationship\"),\n}).describe(\"Response schema containing list of groups linked to a relationship.\");\n\nexport const parmaListRelationshipGroups = action(\"PARMA_LIST_RELATIONSHIP_GROUPS\", {\n slug: \"parma-list-relationship-groups\",\n name: \"List Relationship Groups\",\n description: \"Tool to retrieve all groups linked to a specific relationship. Use when you need to see which groups are associated with a given relationship ID.\",\n input: ParmaListRelationshipGroupsInput,\n output: ParmaListRelationshipGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO,EACrE,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACzG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,sDAAoE,EAAE,OAAO;CACjF,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD;CAChF,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D;AAC/F,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EAChI,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-relationship-notes.ts
|
|
4
|
+
const ParmaListRelationshipNotesInput = zod.z.object({
|
|
5
|
+
page: zod.z.string().describe("Page number for pagination of results").optional(),
|
|
6
|
+
relationship_id: zod.z.string().describe("The unique identifier of the relationship to retrieve notes for")
|
|
7
|
+
}).describe("Request model for listing all notes linked to a relationship.");
|
|
8
|
+
const ParmaListRelationshipNotes_NoteSchema = zod.z.object({
|
|
9
|
+
id: zod.z.number().int().describe("Unique identifier of the note").nullable().optional(),
|
|
10
|
+
body: zod.z.string().describe("Content/body text of the note").nullable().optional(),
|
|
11
|
+
datetime: zod.z.string().describe("Date and time associated with the note").nullable().optional(),
|
|
12
|
+
created_at: zod.z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
13
|
+
updated_at: zod.z.string().describe("Timestamp when the note was last updated").nullable().optional(),
|
|
14
|
+
relationship_ids: zod.z.array(zod.z.number().int()).describe("List of relationship IDs this note is linked to").nullable().optional()
|
|
15
|
+
}).describe("Represents a single note linked to a relationship.");
|
|
16
|
+
const ParmaListRelationshipNotesOutput = zod.z.object({ data: zod.z.array(ParmaListRelationshipNotes_NoteSchema).describe("List of notes linked to the relationship") }).describe("Response schema containing all notes linked to a relationship.");
|
|
17
|
+
const parmaListRelationshipNotes = require_action.action("PARMA_LIST_RELATIONSHIP_NOTES", {
|
|
18
|
+
slug: "parma-list-relationship-notes",
|
|
19
|
+
name: "List Relationship Notes",
|
|
20
|
+
description: "Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.",
|
|
21
|
+
input: ParmaListRelationshipNotesInput,
|
|
22
|
+
output: ParmaListRelationshipNotesOutput
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
exports.parmaListRelationshipNotes = parmaListRelationshipNotes;
|
|
26
|
+
|
|
27
|
+
//# sourceMappingURL=list-relationship-notes.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationship-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-relationship-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipNotesInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination of results\").optional(),\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve notes for\"),\n}).describe(\"Request model for listing all notes linked to a relationship.\");\nconst ParmaListRelationshipNotes_NoteSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/body text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Date and time associated with the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs this note is linked to\").nullable().optional(),\n}).describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).describe(\"Response schema containing all notes linked to a relationship.\");\n\nexport const parmaListRelationshipNotes = action(\"PARMA_LIST_RELATIONSHIP_NOTES\", {\n slug: \"parma-list-relationship-notes\",\n name: \"List Relationship Notes\",\n description: \"Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.\",\n input: ParmaListRelationshipNotesInput,\n output: ParmaListRelationshipNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACxG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,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,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,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,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0CAA0C,EAC1G,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAE5E,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-relationship-notes.d.ts
|
|
4
|
+
declare const ParmaListRelationshipNotesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListRelationshipNotesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListRelationshipNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListRelationshipNotes };
|
|
9
|
+
//# sourceMappingURL=list-relationship-notes.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationship-notes.d.cts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG4B;AAAA,cAS/D,gCAAA,EAAkC,CAAA,CAAE,UAE4B;AAAA,cAEhE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-relationship-notes.d.ts
|
|
4
|
+
declare const ParmaListRelationshipNotesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListRelationshipNotesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListRelationshipNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListRelationshipNotes };
|
|
9
|
+
//# sourceMappingURL=list-relationship-notes.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationship-notes.d.mts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAG4B;AAAA,cAS/D,gCAAA,EAAkC,CAAA,CAAE,UAE4B;AAAA,cAEhE,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-relationship-notes.ts
|
|
4
|
+
const ParmaListRelationshipNotesInput = z.object({
|
|
5
|
+
page: z.string().describe("Page number for pagination of results").optional(),
|
|
6
|
+
relationship_id: z.string().describe("The unique identifier of the relationship to retrieve notes for")
|
|
7
|
+
}).describe("Request model for listing all notes linked to a relationship.");
|
|
8
|
+
const ParmaListRelationshipNotes_NoteSchema = z.object({
|
|
9
|
+
id: z.number().int().describe("Unique identifier of the note").nullable().optional(),
|
|
10
|
+
body: z.string().describe("Content/body text of the note").nullable().optional(),
|
|
11
|
+
datetime: z.string().describe("Date and time associated with the note").nullable().optional(),
|
|
12
|
+
created_at: z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
13
|
+
updated_at: z.string().describe("Timestamp when the note was last updated").nullable().optional(),
|
|
14
|
+
relationship_ids: z.array(z.number().int()).describe("List of relationship IDs this note is linked to").nullable().optional()
|
|
15
|
+
}).describe("Represents a single note linked to a relationship.");
|
|
16
|
+
const parmaListRelationshipNotes = action("PARMA_LIST_RELATIONSHIP_NOTES", {
|
|
17
|
+
slug: "parma-list-relationship-notes",
|
|
18
|
+
name: "List Relationship Notes",
|
|
19
|
+
description: "Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.",
|
|
20
|
+
input: ParmaListRelationshipNotesInput,
|
|
21
|
+
output: z.object({ data: z.array(ParmaListRelationshipNotes_NoteSchema).describe("List of notes linked to the relationship") }).describe("Response schema containing all notes linked to a relationship.")
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { parmaListRelationshipNotes };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=list-relationship-notes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationship-notes.mjs","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipNotesInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination of results\").optional(),\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve notes for\"),\n}).describe(\"Request model for listing all notes linked to a relationship.\");\nconst ParmaListRelationshipNotes_NoteSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/body text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Date and time associated with the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs this note is linked to\").nullable().optional(),\n}).describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).describe(\"Response schema containing all notes linked to a relationship.\");\n\nexport const parmaListRelationshipNotes = action(\"PARMA_LIST_RELATIONSHIP_NOTES\", {\n slug: \"parma-list-relationship-notes\",\n name: \"List Relationship Notes\",\n description: \"Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.\",\n input: ParmaListRelationshipNotesInput,\n output: ParmaListRelationshipNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACxG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,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,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAKhE,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0CAA0C,EAC1G,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-relationships.ts
|
|
4
|
+
const ParmaListRelationshipsInput = zod.z.object({
|
|
5
|
+
sms: zod.z.string().describe("Filter by SMS/phone number").optional(),
|
|
6
|
+
name: zod.z.string().describe("Filter relationships by name").optional(),
|
|
7
|
+
page: zod.z.string().describe("Page number for pagination").optional(),
|
|
8
|
+
type: zod.z.string().describe("Filter relationships by type").optional(),
|
|
9
|
+
email: zod.z.string().describe("Filter by email address").optional(),
|
|
10
|
+
phone: zod.z.string().describe("Filter by phone number").optional(),
|
|
11
|
+
twitter: zod.z.string().describe("Filter by Twitter/X handle or URL").optional(),
|
|
12
|
+
linkedin: zod.z.string().describe("Filter by LinkedIn profile URL").optional(),
|
|
13
|
+
telegram: zod.z.string().describe("Filter by Telegram handle").optional(),
|
|
14
|
+
whatsapp: zod.z.string().describe("Filter by WhatsApp number").optional(),
|
|
15
|
+
instagram: zod.z.string().describe("Filter by Instagram handle or URL").optional(),
|
|
16
|
+
schedulinglink: zod.z.string().describe("Filter by scheduling link").optional()
|
|
17
|
+
}).describe("Request model for listing relationships in Parma.\nAll parameters are optional and used for filtering.");
|
|
18
|
+
const ParmaListRelationships_PropertySchema = zod.z.object({
|
|
19
|
+
id: zod.z.number().int().describe("Property ID").nullable().optional(),
|
|
20
|
+
name: zod.z.string().describe("Property name").nullable().optional(),
|
|
21
|
+
value: zod.z.string().describe("Property value").nullable().optional()
|
|
22
|
+
}).describe("Custom property for a relationship.");
|
|
23
|
+
const ParmaListRelationships_ContactDetailSchema = zod.z.object({
|
|
24
|
+
type: zod.z.string().describe("Type of contact detail (e.g., email, phone)").nullable().optional(),
|
|
25
|
+
value: zod.z.string().describe("Value of the contact detail").nullable().optional()
|
|
26
|
+
}).describe("Contact detail information for a relationship.");
|
|
27
|
+
const ParmaListRelationships_RelationshipSchema = zod.z.object({
|
|
28
|
+
id: zod.z.number().int().describe("Unique relationship identifier").nullable().optional(),
|
|
29
|
+
name: zod.z.string().describe("Name of the relationship").nullable().optional(),
|
|
30
|
+
type: zod.z.string().describe("Type of relationship").nullable().optional(),
|
|
31
|
+
about: zod.z.string().describe("Description or notes about the relationship").nullable().optional(),
|
|
32
|
+
group_ids: zod.z.array(zod.z.number().int()).describe("List of associated group IDs").nullable().optional(),
|
|
33
|
+
company_id: zod.z.number().int().describe("Associated company ID").nullable().optional(),
|
|
34
|
+
created_at: zod.z.string().describe("Timestamp when the relationship was created").nullable().optional(),
|
|
35
|
+
properties: zod.z.array(ParmaListRelationships_PropertySchema).describe("List of custom properties").nullable().optional(),
|
|
36
|
+
updated_at: zod.z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
|
|
37
|
+
contact_details: zod.z.array(ParmaListRelationships_ContactDetailSchema).describe("List of contact details").nullable().optional()
|
|
38
|
+
}).describe("Individual relationship data.");
|
|
39
|
+
const ParmaListRelationships_MetaSchema = zod.z.object({ count: zod.z.number().int().describe("Total count of relationships").nullable().optional() }).describe("Metadata about the relationships list.");
|
|
40
|
+
const ParmaListRelationshipsOutput = zod.z.object({
|
|
41
|
+
data: zod.z.array(ParmaListRelationships_RelationshipSchema).describe("List of relationships").nullable().optional(),
|
|
42
|
+
meta: ParmaListRelationships_MetaSchema.nullable().optional()
|
|
43
|
+
}).describe("Response model for listing relationships.");
|
|
44
|
+
const parmaListRelationships = require_action.action("PARMA_LIST_RELATIONSHIPS", {
|
|
45
|
+
slug: "parma-list-relationships",
|
|
46
|
+
name: "List Relationships",
|
|
47
|
+
description: "Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.",
|
|
48
|
+
input: ParmaListRelationshipsInput,
|
|
49
|
+
output: ParmaListRelationshipsOutput
|
|
50
|
+
});
|
|
51
|
+
//#endregion
|
|
52
|
+
exports.parmaListRelationships = parmaListRelationships;
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=list-relationships.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationships.cjs","names":["z","action"],"sources":["../../src/actions/list-relationships.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipsInput: z.ZodTypeAny = z.object({\n sms: z.string().describe(\"Filter by SMS/phone number\").optional(),\n name: z.string().describe(\"Filter relationships by name\").optional(),\n page: z.string().describe(\"Page number for pagination\").optional(),\n type: z.string().describe(\"Filter relationships by type\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n phone: z.string().describe(\"Filter by phone number\").optional(),\n twitter: z.string().describe(\"Filter by Twitter/X handle or URL\").optional(),\n linkedin: z.string().describe(\"Filter by LinkedIn profile URL\").optional(),\n telegram: z.string().describe(\"Filter by Telegram handle\").optional(),\n whatsapp: z.string().describe(\"Filter by WhatsApp number\").optional(),\n instagram: z.string().describe(\"Filter by Instagram handle or URL\").optional(),\n schedulinglink: z.string().describe(\"Filter by scheduling link\").optional(),\n}).describe(\"Request model for listing relationships in Parma.\\nAll parameters are optional and used for filtering.\");\nconst ParmaListRelationships_PropertySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Property ID\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of contact detail (e.g., email, phone)\").nullable().optional(),\n value: z.string().describe(\"Value of the contact detail\").nullable().optional(),\n}).describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique relationship identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of 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 associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaListRelationships_PropertySchema).describe(\"List of custom properties\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(ParmaListRelationships_ContactDetailSchema).describe(\"List of contact details\").nullable().optional(),\n}).describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).describe(\"Response model for listing relationships.\");\n\nexport const parmaListRelationships = action(\"PARMA_LIST_RELATIONSHIPS\", {\n slug: \"parma-list-relationships\",\n name: \"List Relationships\",\n description: \"Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.\",\n input: ParmaListRelationshipsInput,\n output: ParmaListRelationshipsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-relationships.d.ts
|
|
4
|
+
declare const ParmaListRelationshipsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListRelationshipsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListRelationships: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListRelationships };
|
|
9
|
+
//# sourceMappingURL=list-relationships.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationships.d.cts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAayE;AAAA,cAyBxG,4BAAA,EAA8B,CAAA,CAAE,UAGW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-relationships.d.ts
|
|
4
|
+
declare const ParmaListRelationshipsInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListRelationshipsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListRelationships: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListRelationships };
|
|
9
|
+
//# sourceMappingURL=list-relationships.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationships.d.mts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAayE;AAAA,cAyBxG,4BAAA,EAA8B,CAAA,CAAE,UAGW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-relationships.ts
|
|
4
|
+
const ParmaListRelationshipsInput = z.object({
|
|
5
|
+
sms: z.string().describe("Filter by SMS/phone number").optional(),
|
|
6
|
+
name: z.string().describe("Filter relationships by name").optional(),
|
|
7
|
+
page: z.string().describe("Page number for pagination").optional(),
|
|
8
|
+
type: z.string().describe("Filter relationships by type").optional(),
|
|
9
|
+
email: z.string().describe("Filter by email address").optional(),
|
|
10
|
+
phone: z.string().describe("Filter by phone number").optional(),
|
|
11
|
+
twitter: z.string().describe("Filter by Twitter/X handle or URL").optional(),
|
|
12
|
+
linkedin: z.string().describe("Filter by LinkedIn profile URL").optional(),
|
|
13
|
+
telegram: z.string().describe("Filter by Telegram handle").optional(),
|
|
14
|
+
whatsapp: z.string().describe("Filter by WhatsApp number").optional(),
|
|
15
|
+
instagram: z.string().describe("Filter by Instagram handle or URL").optional(),
|
|
16
|
+
schedulinglink: z.string().describe("Filter by scheduling link").optional()
|
|
17
|
+
}).describe("Request model for listing relationships in Parma.\nAll parameters are optional and used for filtering.");
|
|
18
|
+
const ParmaListRelationships_PropertySchema = z.object({
|
|
19
|
+
id: z.number().int().describe("Property ID").nullable().optional(),
|
|
20
|
+
name: z.string().describe("Property name").nullable().optional(),
|
|
21
|
+
value: z.string().describe("Property value").nullable().optional()
|
|
22
|
+
}).describe("Custom property for a relationship.");
|
|
23
|
+
const ParmaListRelationships_ContactDetailSchema = z.object({
|
|
24
|
+
type: z.string().describe("Type of contact detail (e.g., email, phone)").nullable().optional(),
|
|
25
|
+
value: z.string().describe("Value of the contact detail").nullable().optional()
|
|
26
|
+
}).describe("Contact detail information for a relationship.");
|
|
27
|
+
const ParmaListRelationships_RelationshipSchema = z.object({
|
|
28
|
+
id: z.number().int().describe("Unique relationship identifier").nullable().optional(),
|
|
29
|
+
name: z.string().describe("Name of the relationship").nullable().optional(),
|
|
30
|
+
type: z.string().describe("Type of relationship").nullable().optional(),
|
|
31
|
+
about: z.string().describe("Description or notes about the relationship").nullable().optional(),
|
|
32
|
+
group_ids: z.array(z.number().int()).describe("List of associated group IDs").nullable().optional(),
|
|
33
|
+
company_id: z.number().int().describe("Associated company ID").nullable().optional(),
|
|
34
|
+
created_at: z.string().describe("Timestamp when the relationship was created").nullable().optional(),
|
|
35
|
+
properties: z.array(ParmaListRelationships_PropertySchema).describe("List of custom properties").nullable().optional(),
|
|
36
|
+
updated_at: z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
|
|
37
|
+
contact_details: z.array(ParmaListRelationships_ContactDetailSchema).describe("List of contact details").nullable().optional()
|
|
38
|
+
}).describe("Individual relationship data.");
|
|
39
|
+
const ParmaListRelationships_MetaSchema = z.object({ count: z.number().int().describe("Total count of relationships").nullable().optional() }).describe("Metadata about the relationships list.");
|
|
40
|
+
const parmaListRelationships = action("PARMA_LIST_RELATIONSHIPS", {
|
|
41
|
+
slug: "parma-list-relationships",
|
|
42
|
+
name: "List Relationships",
|
|
43
|
+
description: "Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.",
|
|
44
|
+
input: ParmaListRelationshipsInput,
|
|
45
|
+
output: z.object({
|
|
46
|
+
data: z.array(ParmaListRelationships_RelationshipSchema).describe("List of relationships").nullable().optional(),
|
|
47
|
+
meta: ParmaListRelationships_MetaSchema.nullable().optional()
|
|
48
|
+
}).describe("Response model for listing relationships.")
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { parmaListRelationships };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=list-relationships.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-relationships.mjs","names":[],"sources":["../../src/actions/list-relationships.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipsInput: z.ZodTypeAny = z.object({\n sms: z.string().describe(\"Filter by SMS/phone number\").optional(),\n name: z.string().describe(\"Filter relationships by name\").optional(),\n page: z.string().describe(\"Page number for pagination\").optional(),\n type: z.string().describe(\"Filter relationships by type\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n phone: z.string().describe(\"Filter by phone number\").optional(),\n twitter: z.string().describe(\"Filter by Twitter/X handle or URL\").optional(),\n linkedin: z.string().describe(\"Filter by LinkedIn profile URL\").optional(),\n telegram: z.string().describe(\"Filter by Telegram handle\").optional(),\n whatsapp: z.string().describe(\"Filter by WhatsApp number\").optional(),\n instagram: z.string().describe(\"Filter by Instagram handle or URL\").optional(),\n schedulinglink: z.string().describe(\"Filter by scheduling link\").optional(),\n}).describe(\"Request model for listing relationships in Parma.\\nAll parameters are optional and used for filtering.\");\nconst ParmaListRelationships_PropertySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Property ID\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of contact detail (e.g., email, phone)\").nullable().optional(),\n value: z.string().describe(\"Value of the contact detail\").nullable().optional(),\n}).describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique relationship identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of 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 associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaListRelationships_PropertySchema).describe(\"List of custom properties\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(ParmaListRelationships_ContactDetailSchema).describe(\"List of contact details\").nullable().optional(),\n}).describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).describe(\"Response model for listing relationships.\");\n\nexport const parmaListRelationships = action(\"PARMA_LIST_RELATIONSHIPS\", {\n slug: \"parma-list-relationships\",\n name: \"List Relationships\",\n description: \"Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.\",\n input: ParmaListRelationshipsInput,\n output: ParmaListRelationshipsOutput,\n});\n"],"mappings":"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"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-stages.ts
|
|
4
|
+
const ParmaListStagesInput = zod.z.object({}).describe("Request model for listing stages. No parameters needed.");
|
|
5
|
+
const ParmaListStages_StageSchema = zod.z.object({
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the stage"),
|
|
7
|
+
name: zod.z.string().describe("Name of the stage"),
|
|
8
|
+
position: zod.z.number().int().describe("Position of the stage in the pipeline"),
|
|
9
|
+
created_at: zod.z.string().describe("Timestamp when the stage was created"),
|
|
10
|
+
updated_at: zod.z.string().describe("Timestamp when the stage was last updated"),
|
|
11
|
+
pipeline_id: zod.z.number().int().describe("ID of the pipeline this stage belongs to")
|
|
12
|
+
}).describe("Represents a single stage in a pipeline.");
|
|
13
|
+
const ParmaListStagesOutput = zod.z.object({ data: zod.z.array(ParmaListStages_StageSchema).describe("List of stages in the Parma account") }).describe("Response schema containing list of stages.");
|
|
14
|
+
const parmaListStages = require_action.action("PARMA_LIST_STAGES", {
|
|
15
|
+
slug: "parma-list-stages",
|
|
16
|
+
name: "List Stages",
|
|
17
|
+
description: "Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.",
|
|
18
|
+
input: ParmaListStagesInput,
|
|
19
|
+
output: ParmaListStagesOutput
|
|
20
|
+
});
|
|
21
|
+
//#endregion
|
|
22
|
+
exports.parmaListStages = parmaListStages;
|
|
23
|
+
|
|
24
|
+
//# sourceMappingURL=list-stages.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.cjs","names":["z","action"],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListStagesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing stages. No parameters needed.\");\nconst ParmaListStages_StageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\"),\n name: z.string().describe(\"Name of the stage\"),\n position: z.number().int().describe(\"Position of the stage in the pipeline\"),\n created_at: z.string().describe(\"Timestamp when the stage was created\"),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\"),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\"),\n}).describe(\"Represents a single stage in a pipeline.\");\nexport const ParmaListStagesOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListStages_StageSchema).describe(\"List of stages in the Parma account\"),\n}).describe(\"Response schema containing list of stages.\");\n\nexport const parmaListStages = action(\"PARMA_LIST_STAGES\", {\n slug: \"parma-list-stages\",\n name: \"List Stages\",\n description: \"Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.\",\n input: ParmaListStagesInput,\n output: ParmaListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjI,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACnF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-stages.d.ts
|
|
4
|
+
declare const ParmaListStagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListStagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListStages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListStages };
|
|
9
|
+
//# sourceMappingURL=list-stages.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.d.cts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAA6F;AAAA,cASrH,qBAAA,EAAuB,CAAA,CAAE,UAEmB;AAAA,cAE5C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-stages.d.ts
|
|
4
|
+
declare const ParmaListStagesInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListStagesOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListStages: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListStages };
|
|
9
|
+
//# sourceMappingURL=list-stages.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.d.mts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAA6F;AAAA,cASrH,qBAAA,EAAuB,CAAA,CAAE,UAEmB;AAAA,cAE5C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-stages.ts
|
|
4
|
+
const ParmaListStagesInput = z.object({}).describe("Request model for listing stages. No parameters needed.");
|
|
5
|
+
const ParmaListStages_StageSchema = z.object({
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the stage"),
|
|
7
|
+
name: z.string().describe("Name of the stage"),
|
|
8
|
+
position: z.number().int().describe("Position of the stage in the pipeline"),
|
|
9
|
+
created_at: z.string().describe("Timestamp when the stage was created"),
|
|
10
|
+
updated_at: z.string().describe("Timestamp when the stage was last updated"),
|
|
11
|
+
pipeline_id: z.number().int().describe("ID of the pipeline this stage belongs to")
|
|
12
|
+
}).describe("Represents a single stage in a pipeline.");
|
|
13
|
+
const parmaListStages = action("PARMA_LIST_STAGES", {
|
|
14
|
+
slug: "parma-list-stages",
|
|
15
|
+
name: "List Stages",
|
|
16
|
+
description: "Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.",
|
|
17
|
+
input: ParmaListStagesInput,
|
|
18
|
+
output: z.object({ data: z.array(ParmaListStages_StageSchema).describe("List of stages in the Parma account") }).describe("Response schema containing list of stages.")
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { parmaListStages };
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=list-stages.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-stages.mjs","names":[],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListStagesInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing stages. No parameters needed.\");\nconst ParmaListStages_StageSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\"),\n name: z.string().describe(\"Name of the stage\"),\n position: z.number().int().describe(\"Position of the stage in the pipeline\"),\n created_at: z.string().describe(\"Timestamp when the stage was created\"),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\"),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\"),\n}).describe(\"Represents a single stage in a pipeline.\");\nexport const ParmaListStagesOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListStages_StageSchema).describe(\"List of stages in the Parma account\"),\n}).describe(\"Response schema containing list of stages.\");\n\nexport const parmaListStages = action(\"PARMA_LIST_STAGES\", {\n slug: \"parma-list-stages\",\n name: \"List Stages\",\n description: \"Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.\",\n input: ParmaListStagesInput,\n output: ParmaListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACjI,MAAM,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC;CAC3E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACnF,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAKtD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/list-users.ts
|
|
4
|
+
const ParmaListUsersInput = zod.z.object({ page: zod.z.string().describe("Page number for pagination. Use to navigate through multiple pages of users.").optional() }).describe("Request model for LIST_USERS.");
|
|
5
|
+
const ParmaListUsers_UserSchema = 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 in the list users response.");
|
|
10
|
+
const ParmaListUsersOutput = zod.z.object({ data: zod.z.array(ParmaListUsers_UserSchema).describe("Array of user objects") }).describe("Response schema for LIST_USERS containing an array of users.");
|
|
11
|
+
const parmaListUsers = require_action.action("PARMA_LIST_USERS", {
|
|
12
|
+
slug: "parma-list-users",
|
|
13
|
+
name: "List Users",
|
|
14
|
+
description: "Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.",
|
|
15
|
+
input: ParmaListUsersInput,
|
|
16
|
+
output: ParmaListUsersOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.parmaListUsers = parmaListUsers;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=list-users.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListUsersInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of users.\").optional(),\n}).describe(\"Request model for LIST_USERS.\");\nconst ParmaListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User information in the list users response.\");\nexport const ParmaListUsersOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListUsers_UserSchema).describe(\"Array of user objects\"),\n}).describe(\"Response schema for LIST_USERS containing an array of users.\");\n\nexport const parmaListUsers = action(\"PARMA_LIST_USERS\", {\n slug: \"parma-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.\",\n input: ParmaListUsersInput,\n output: ParmaListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,4BAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,uBAAuB,EAC3E,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAE1E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-users.d.ts
|
|
4
|
+
declare const ParmaListUsersInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListUsersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListUsers };
|
|
9
|
+
//# sourceMappingURL=list-users.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEQ;AAAA,cAM/B,oBAAA,EAAsB,CAAA,CAAE,UAEsC;AAAA,cAE9D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/list-users.d.ts
|
|
4
|
+
declare const ParmaListUsersInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaListUsersOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaListUsers };
|
|
9
|
+
//# sourceMappingURL=list-users.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEQ;AAAA,cAM/B,oBAAA,EAAsB,CAAA,CAAE,UAEsC;AAAA,cAE9D,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/list-users.ts
|
|
4
|
+
const ParmaListUsersInput = z.object({ page: z.string().describe("Page number for pagination. Use to navigate through multiple pages of users.").optional() }).describe("Request model for LIST_USERS.");
|
|
5
|
+
const ParmaListUsers_UserSchema = 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 in the list users response.");
|
|
10
|
+
const parmaListUsers = action("PARMA_LIST_USERS", {
|
|
11
|
+
slug: "parma-list-users",
|
|
12
|
+
name: "List Users",
|
|
13
|
+
description: "Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.",
|
|
14
|
+
input: ParmaListUsersInput,
|
|
15
|
+
output: z.object({ data: z.array(ParmaListUsers_UserSchema).describe("Array of user objects") }).describe("Response schema for LIST_USERS containing an array of users.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { parmaListUsers };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=list-users.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListUsersInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of users.\").optional(),\n}).describe(\"Request model for LIST_USERS.\");\nconst ParmaListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User information in the list users response.\");\nexport const ParmaListUsersOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListUsers_UserSchema).describe(\"Array of user objects\"),\n}).describe(\"Response schema for LIST_USERS containing an array of users.\");\n\nexport const parmaListUsers = action(\"PARMA_LIST_USERS\", {\n slug: \"parma-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.\",\n input: ParmaListUsersInput,\n output: ParmaListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,4BAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAK1D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,uBAAuB,EAC3E,CAAC,CAAC,CAAC,SAAS,8DAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/package-list.ts
|
|
4
|
+
const ParmaPackageListInput = zod.z.object({}).describe("No request parameters for package_list action.");
|
|
5
|
+
const ParmaPackageListOutput = zod.z.object({
|
|
6
|
+
help: zod.z.string().describe("Help text about the API endpoint."),
|
|
7
|
+
result: zod.z.array(zod.z.string()).describe("List of dataset identifiers available in the catalog."),
|
|
8
|
+
success: zod.z.boolean().describe("Indicates whether the API call was successful.")
|
|
9
|
+
});
|
|
10
|
+
const parmaPackageList = require_action.action("PARMA_PACKAGE_LIST", {
|
|
11
|
+
slug: "parma-package-list",
|
|
12
|
+
name: "List Parma CKAN datasets",
|
|
13
|
+
description: "Tool to retrieve all dataset identifiers from the Parma CKAN instance. Use when you need to list every available dataset ID.",
|
|
14
|
+
input: ParmaPackageListInput,
|
|
15
|
+
output: ParmaPackageListOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.parmaPackageList = parmaPackageList;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=package-list.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-list.cjs","names":["z","action"],"sources":["../../src/actions/package-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaPackageListInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters for package_list action.\");\nexport const ParmaPackageListOutput: z.ZodTypeAny = z.object({\n help: z.string().describe(\"Help text about the API endpoint.\"),\n result: z.array(z.string()).describe(\"List of dataset identifiers available in the catalog.\"),\n success: z.boolean().describe(\"Indicates whether the API call was successful.\"),\n});\n\nexport const parmaPackageList = action(\"PARMA_PACKAGE_LIST\", {\n slug: \"parma-package-list\",\n name: \"List Parma CKAN datasets\",\n description: \"Tool to retrieve all dataset identifiers from the Parma CKAN instance. Use when you need to list every available dataset ID.\",\n input: ParmaPackageListInput,\n output: ParmaPackageListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AACzH,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC7D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;AAChF,CAAC;AAED,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/package-list.d.ts
|
|
4
|
+
declare const ParmaPackageListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaPackageListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaPackageList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaPackageList };
|
|
9
|
+
//# sourceMappingURL=package-list.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-list.d.cts","names":[],"sources":["../../src/actions/package-list.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAAoF;AAAA,cAC7G,sBAAA,EAAwB,CAAA,CAAE,UAIrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/package-list.d.ts
|
|
4
|
+
declare const ParmaPackageListInput: z.ZodTypeAny;
|
|
5
|
+
declare const ParmaPackageListOutput: z.ZodTypeAny;
|
|
6
|
+
declare const parmaPackageList: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { parmaPackageList };
|
|
9
|
+
//# sourceMappingURL=package-list.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-list.d.mts","names":[],"sources":["../../src/actions/package-list.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAAoF;AAAA,cAC7G,sBAAA,EAAwB,CAAA,CAAE,UAIrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const parmaPackageList = action("PARMA_PACKAGE_LIST", {
|
|
4
|
+
slug: "parma-package-list",
|
|
5
|
+
name: "List Parma CKAN datasets",
|
|
6
|
+
description: "Tool to retrieve all dataset identifiers from the Parma CKAN instance. Use when you need to list every available dataset ID.",
|
|
7
|
+
input: z.object({}).describe("No request parameters for package_list action."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
help: z.string().describe("Help text about the API endpoint."),
|
|
10
|
+
result: z.array(z.string()).describe("List of dataset identifiers available in the catalog."),
|
|
11
|
+
success: z.boolean().describe("Indicates whether the API call was successful.")
|
|
12
|
+
})
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { parmaPackageList };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=package-list.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-list.mjs","names":[],"sources":["../../src/actions/package-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaPackageListInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters for package_list action.\");\nexport const ParmaPackageListOutput: z.ZodTypeAny = z.object({\n help: z.string().describe(\"Help text about the API endpoint.\"),\n result: z.array(z.string()).describe(\"List of dataset identifiers available in the catalog.\"),\n success: z.boolean().describe(\"Indicates whether the API call was successful.\"),\n});\n\nexport const parmaPackageList = action(\"PARMA_PACKAGE_LIST\", {\n slug: \"parma-package-list\",\n name: \"List Parma CKAN datasets\",\n description: \"Tool to retrieve all dataset identifiers from the Parma CKAN instance. Use when you need to list every available dataset ID.\",\n input: ParmaPackageListInput,\n output: ParmaPackageListOutput,\n});\n"],"mappings":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXiD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAWhE;CACP,QAXkD,EAAE,OAAO;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC7D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD;CAChF,CAOU;AACV,CAAC"}
|