@keystrokehq/parma 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-relationship-to-group.cjs +6 -6
- package/dist/actions/add-relationship-to-group.cjs.map +1 -1
- package/dist/actions/add-relationship-to-group.d.cts +16 -3
- package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
- package/dist/actions/add-relationship-to-group.d.mts +16 -3
- package/dist/actions/add-relationship-to-group.d.mts.map +1 -1
- package/dist/actions/add-relationship-to-group.mjs +6 -6
- package/dist/actions/add-relationship-to-group.mjs.map +1 -1
- package/dist/actions/create-note.cjs +4 -4
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +20 -3
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +20 -3
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +4 -4
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-relationship.cjs +4 -4
- package/dist/actions/create-relationship.cjs.map +1 -1
- package/dist/actions/create-relationship.d.cts +31 -3
- package/dist/actions/create-relationship.d.cts.map +1 -1
- package/dist/actions/create-relationship.d.mts +31 -3
- package/dist/actions/create-relationship.d.mts.map +1 -1
- package/dist/actions/create-relationship.mjs +4 -4
- package/dist/actions/create-relationship.mjs.map +1 -1
- package/dist/actions/data-json.cjs +7 -7
- package/dist/actions/data-json.cjs.map +1 -1
- package/dist/actions/data-json.d.cts +37 -3
- package/dist/actions/data-json.d.cts.map +1 -1
- package/dist/actions/data-json.d.mts +37 -3
- package/dist/actions/data-json.d.mts.map +1 -1
- package/dist/actions/data-json.mjs +7 -7
- package/dist/actions/data-json.mjs.map +1 -1
- package/dist/actions/delete-relationship.cjs +1 -1
- package/dist/actions/delete-relationship.cjs.map +1 -1
- package/dist/actions/delete-relationship.d.cts +9 -3
- package/dist/actions/delete-relationship.d.cts.map +1 -1
- package/dist/actions/delete-relationship.d.mts +9 -3
- package/dist/actions/delete-relationship.d.mts.map +1 -1
- package/dist/actions/delete-relationship.mjs +1 -1
- package/dist/actions/delete-relationship.mjs.map +1 -1
- package/dist/actions/get-pipeline.cjs +7 -7
- package/dist/actions/get-pipeline.cjs.map +1 -1
- package/dist/actions/get-pipeline.d.cts +15 -3
- package/dist/actions/get-pipeline.d.cts.map +1 -1
- package/dist/actions/get-pipeline.d.mts +15 -3
- package/dist/actions/get-pipeline.d.mts.map +1 -1
- package/dist/actions/get-pipeline.mjs +7 -7
- package/dist/actions/get-pipeline.mjs.map +1 -1
- package/dist/actions/get-relationship.cjs +4 -4
- package/dist/actions/get-relationship.cjs.map +1 -1
- package/dist/actions/get-relationship.d.cts +24 -3
- package/dist/actions/get-relationship.d.cts.map +1 -1
- package/dist/actions/get-relationship.d.mts +24 -3
- package/dist/actions/get-relationship.d.mts.map +1 -1
- package/dist/actions/get-relationship.mjs +4 -4
- package/dist/actions/get-relationship.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +2 -2
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +16 -3
- package/dist/actions/get-stage.d.cts.map +1 -1
- package/dist/actions/get-stage.d.mts +16 -3
- package/dist/actions/get-stage.d.mts.map +1 -1
- package/dist/actions/get-stage.mjs +2 -2
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +8 -8
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +13 -3
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +13 -3
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +8 -8
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/get-user.cjs +5 -5
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +13 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +13 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +5 -5
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-deals.cjs +3 -3
- package/dist/actions/list-deals.cjs.map +1 -1
- package/dist/actions/list-deals.d.cts +24 -3
- package/dist/actions/list-deals.d.cts.map +1 -1
- package/dist/actions/list-deals.d.mts +24 -3
- package/dist/actions/list-deals.d.mts.map +1 -1
- package/dist/actions/list-deals.mjs +3 -3
- package/dist/actions/list-deals.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +8 -8
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +19 -3
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +19 -3
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +8 -8
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +7 -7
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +16 -3
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +16 -3
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +7 -7
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +7 -7
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +11 -3
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +11 -3
- package/dist/actions/list-pipelines.d.mts.map +1 -1
- package/dist/actions/list-pipelines.mjs +7 -7
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-relationship-groups.cjs +6 -6
- package/dist/actions/list-relationship-groups.cjs.map +1 -1
- package/dist/actions/list-relationship-groups.d.cts +14 -3
- package/dist/actions/list-relationship-groups.d.cts.map +1 -1
- package/dist/actions/list-relationship-groups.d.mts +14 -3
- package/dist/actions/list-relationship-groups.d.mts.map +1 -1
- package/dist/actions/list-relationship-groups.mjs +6 -6
- package/dist/actions/list-relationship-groups.mjs.map +1 -1
- package/dist/actions/list-relationship-notes.cjs +2 -2
- package/dist/actions/list-relationship-notes.cjs.map +1 -1
- package/dist/actions/list-relationship-notes.d.cts +18 -3
- package/dist/actions/list-relationship-notes.d.cts.map +1 -1
- package/dist/actions/list-relationship-notes.d.mts +18 -3
- package/dist/actions/list-relationship-notes.d.mts.map +1 -1
- package/dist/actions/list-relationship-notes.mjs +2 -2
- package/dist/actions/list-relationship-notes.mjs.map +1 -1
- package/dist/actions/list-relationships.cjs +5 -5
- package/dist/actions/list-relationships.cjs.map +1 -1
- package/dist/actions/list-relationships.d.cts +52 -3
- package/dist/actions/list-relationships.d.cts.map +1 -1
- package/dist/actions/list-relationships.d.mts +52 -3
- package/dist/actions/list-relationships.d.mts.map +1 -1
- package/dist/actions/list-relationships.mjs +5 -5
- package/dist/actions/list-relationships.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +8 -8
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +12 -3
- package/dist/actions/list-stages.d.cts.map +1 -1
- package/dist/actions/list-stages.d.mts +12 -3
- package/dist/actions/list-stages.d.mts.map +1 -1
- package/dist/actions/list-stages.mjs +8 -8
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-users.cjs +5 -5
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +13 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +13 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +5 -5
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/package-list.cjs +3 -3
- package/dist/actions/package-list.cjs.map +1 -1
- package/dist/actions/package-list.d.cts +7 -3
- package/dist/actions/package-list.d.cts.map +1 -1
- package/dist/actions/package-list.d.mts +7 -3
- package/dist/actions/package-list.d.mts.map +1 -1
- package/dist/actions/package-list.mjs +3 -3
- package/dist/actions/package-list.mjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.cjs +1 -1
- package/dist/actions/remove-relationship-from-group.cjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.cts +11 -3
- package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.mts +11 -3
- package/dist/actions/remove-relationship-from-group.d.mts.map +1 -1
- package/dist/actions/remove-relationship-from-group.mjs +1 -1
- package/dist/actions/remove-relationship-from-group.mjs.map +1 -1
- package/dist/actions/update-note.cjs +2 -2
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +22 -3
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +22 -3
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +2 -2
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-relationship.cjs +5 -5
- package/dist/actions/update-relationship.cjs.map +1 -1
- package/dist/actions/update-relationship.d.cts +35 -3
- package/dist/actions/update-relationship.d.cts.map +1 -1
- package/dist/actions/update-relationship.d.mts +35 -3
- package/dist/actions/update-relationship.d.mts.map +1 -1
- package/dist/actions/update-relationship.mjs +5 -5
- package/dist/actions/update-relationship.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3,17 +3,17 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-relationship-groups.ts
|
|
4
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
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.");
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the relationship group link").nullable(),
|
|
7
|
+
group_id: z.number().int().describe("The group's unique identifier").nullable(),
|
|
8
|
+
created_at: z.string().describe("Timestamp when the relationship-group link was created").nullable(),
|
|
9
|
+
updated_at: z.string().describe("Timestamp when the relationship-group link was last updated").nullable()
|
|
10
|
+
}).passthrough().describe("Represents a group linked to a relationship.");
|
|
11
11
|
const parmaListRelationshipGroups = action("PARMA_LIST_RELATIONSHIP_GROUPS", {
|
|
12
12
|
slug: "parma-list-relationship-groups",
|
|
13
13
|
name: "List Relationship Groups",
|
|
14
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
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.")
|
|
16
|
+
output: z.object({ data: z.array(ParmaListRelationshipGroups_RelationshipGroupSchema).describe("Array of groups associated with the relationship") }).passthrough().describe("Response schema containing list of groups linked to a relationship.")
|
|
17
17
|
});
|
|
18
18
|
//#endregion
|
|
19
19
|
export { parmaListRelationshipGroups };
|
|
@@ -1 +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
|
|
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.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.object({\n id: z.number().int().describe(\"Unique identifier of the relationship group link\").nullable(),\n group_id: z.number().int().describe(\"The group's unique identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the relationship-group link was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the relationship-group link was last updated\").nullable(),\n}).passthrough().describe(\"Represents a group linked to a relationship.\");\nexport const ParmaListRelationshipGroupsOutput = z.object({\n data: z.array(ParmaListRelationshipGroups_RelationshipGroupSchema).describe(\"Array of groups associated with the relationship\"),\n}).passthrough().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,mCAAmC,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACzG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
|
|
@@ -12,8 +12,8 @@ const ParmaListRelationshipNotes_NoteSchema = zod.z.object({
|
|
|
12
12
|
created_at: zod.z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
13
13
|
updated_at: zod.z.string().describe("Timestamp when the note was last updated").nullable().optional(),
|
|
14
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.");
|
|
15
|
+
}).passthrough().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") }).passthrough().describe("Response schema containing all notes linked to a relationship.");
|
|
17
17
|
const parmaListRelationshipNotes = require_action.action("PARMA_LIST_RELATIONSHIP_NOTES", {
|
|
18
18
|
slug: "parma-list-relationship-notes",
|
|
19
19
|
name: "List Relationship Notes",
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).passthrough().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,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,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,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,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,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0CAA0C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-relationship-notes.d.ts
|
|
4
|
-
declare const ParmaListRelationshipNotesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaListRelationshipNotesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodString>;
|
|
6
|
+
relationship_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ParmaListRelationshipNotesOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
relationship_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const parmaListRelationshipNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
relationship_id: string;
|
|
20
|
+
page?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { parmaListRelationshipNotes };
|
|
9
24
|
//# sourceMappingURL=list-relationship-notes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-relationship-notes.d.cts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-relationship-notes.d.cts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-relationship-notes.d.ts
|
|
4
|
-
declare const ParmaListRelationshipNotesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaListRelationshipNotesInput: z.ZodObject<{
|
|
5
|
+
page: z.ZodOptional<z.ZodString>;
|
|
6
|
+
relationship_id: z.ZodString;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const ParmaListRelationshipNotesOutput: z.ZodObject<{
|
|
9
|
+
data: z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11
|
+
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
datetime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
relationship_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
16
|
+
}, z.core.$loose>>;
|
|
17
|
+
}, z.core.$loose>;
|
|
18
|
+
declare const parmaListRelationshipNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
relationship_id: string;
|
|
20
|
+
page?: string | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { parmaListRelationshipNotes };
|
|
9
24
|
//# sourceMappingURL=list-relationship-notes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-relationship-notes.d.mts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"list-relationship-notes.d.mts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -12,13 +12,13 @@ const ParmaListRelationshipNotes_NoteSchema = z.object({
|
|
|
12
12
|
created_at: z.string().describe("Timestamp when the note was created").nullable().optional(),
|
|
13
13
|
updated_at: z.string().describe("Timestamp when the note was last updated").nullable().optional(),
|
|
14
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.");
|
|
15
|
+
}).passthrough().describe("Represents a single note linked to a relationship.");
|
|
16
16
|
const parmaListRelationshipNotes = action("PARMA_LIST_RELATIONSHIP_NOTES", {
|
|
17
17
|
slug: "parma-list-relationship-notes",
|
|
18
18
|
name: "List Relationship Notes",
|
|
19
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
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.")
|
|
21
|
+
output: z.object({ data: z.array(ParmaListRelationshipNotes_NoteSchema).describe("List of notes linked to the relationship") }).passthrough().describe("Response schema containing all notes linked to a relationship.")
|
|
22
22
|
});
|
|
23
23
|
//#endregion
|
|
24
24
|
export { parmaListRelationshipNotes };
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).passthrough().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,kCAAkC,EAAE,OAAO;CACtD,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,wCAAwC,EAAE,OAAO;CACrD,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,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0CAA0C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
|
|
@@ -19,11 +19,11 @@ const ParmaListRelationships_PropertySchema = zod.z.object({
|
|
|
19
19
|
id: zod.z.number().int().describe("Property ID").nullable().optional(),
|
|
20
20
|
name: zod.z.string().describe("Property name").nullable().optional(),
|
|
21
21
|
value: zod.z.string().describe("Property value").nullable().optional()
|
|
22
|
-
}).describe("Custom property for a relationship.");
|
|
22
|
+
}).passthrough().describe("Custom property for a relationship.");
|
|
23
23
|
const ParmaListRelationships_ContactDetailSchema = zod.z.object({
|
|
24
24
|
type: zod.z.string().describe("Type of contact detail (e.g., email, phone)").nullable().optional(),
|
|
25
25
|
value: zod.z.string().describe("Value of the contact detail").nullable().optional()
|
|
26
|
-
}).describe("Contact detail information for a relationship.");
|
|
26
|
+
}).passthrough().describe("Contact detail information for a relationship.");
|
|
27
27
|
const ParmaListRelationships_RelationshipSchema = zod.z.object({
|
|
28
28
|
id: zod.z.number().int().describe("Unique relationship identifier").nullable().optional(),
|
|
29
29
|
name: zod.z.string().describe("Name of the relationship").nullable().optional(),
|
|
@@ -35,12 +35,12 @@ const ParmaListRelationships_RelationshipSchema = zod.z.object({
|
|
|
35
35
|
properties: zod.z.array(ParmaListRelationships_PropertySchema).describe("List of custom properties").nullable().optional(),
|
|
36
36
|
updated_at: zod.z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
|
|
37
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.");
|
|
38
|
+
}).passthrough().describe("Individual relationship data.");
|
|
39
|
+
const ParmaListRelationships_MetaSchema = zod.z.object({ count: zod.z.number().int().describe("Total count of relationships").nullable().optional() }).passthrough().describe("Metadata about the relationships list.");
|
|
40
40
|
const ParmaListRelationshipsOutput = zod.z.object({
|
|
41
41
|
data: zod.z.array(ParmaListRelationships_RelationshipSchema).describe("List of relationships").nullable().optional(),
|
|
42
42
|
meta: ParmaListRelationships_MetaSchema.nullable().optional()
|
|
43
|
-
}).describe("Response model for listing relationships.");
|
|
43
|
+
}).passthrough().describe("Response model for listing relationships.");
|
|
44
44
|
const parmaListRelationships = require_action.action("PARMA_LIST_RELATIONSHIPS", {
|
|
45
45
|
slug: "parma-list-relationships",
|
|
46
46
|
name: "List Relationships",
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema = 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}).passthrough().describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema = 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}).passthrough().describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).passthrough().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":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,C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AAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-relationships.d.ts
|
|
4
|
-
declare const ParmaListRelationshipsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaListRelationshipsInput: z.ZodObject<{
|
|
5
|
+
sms: z.ZodOptional<z.ZodString>;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
page: z.ZodOptional<z.ZodString>;
|
|
8
|
+
type: z.ZodOptional<z.ZodString>;
|
|
9
|
+
email: z.ZodOptional<z.ZodString>;
|
|
10
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
11
|
+
twitter: z.ZodOptional<z.ZodString>;
|
|
12
|
+
linkedin: z.ZodOptional<z.ZodString>;
|
|
13
|
+
telegram: z.ZodOptional<z.ZodString>;
|
|
14
|
+
whatsapp: z.ZodOptional<z.ZodString>;
|
|
15
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
16
|
+
schedulinglink: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const ParmaListRelationshipsOutput: z.ZodObject<{
|
|
19
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
25
|
+
company_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
properties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
|
+
declare const parmaListRelationships: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
sms?: string | undefined;
|
|
44
|
+
name?: string | undefined;
|
|
45
|
+
page?: string | undefined;
|
|
46
|
+
type?: string | undefined;
|
|
47
|
+
email?: string | undefined;
|
|
48
|
+
phone?: string | undefined;
|
|
49
|
+
twitter?: string | undefined;
|
|
50
|
+
linkedin?: string | undefined;
|
|
51
|
+
telegram?: string | undefined;
|
|
52
|
+
whatsapp?: string | undefined;
|
|
53
|
+
instagram?: string | undefined;
|
|
54
|
+
schedulinglink?: string | undefined;
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { parmaListRelationships };
|
|
9
58
|
//# sourceMappingURL=list-relationships.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-relationships.d.cts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-relationships.d.cts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -1,9 +1,58 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-relationships.d.ts
|
|
4
|
-
declare const ParmaListRelationshipsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ParmaListRelationshipsInput: z.ZodObject<{
|
|
5
|
+
sms: z.ZodOptional<z.ZodString>;
|
|
6
|
+
name: z.ZodOptional<z.ZodString>;
|
|
7
|
+
page: z.ZodOptional<z.ZodString>;
|
|
8
|
+
type: z.ZodOptional<z.ZodString>;
|
|
9
|
+
email: z.ZodOptional<z.ZodString>;
|
|
10
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
11
|
+
twitter: z.ZodOptional<z.ZodString>;
|
|
12
|
+
linkedin: z.ZodOptional<z.ZodString>;
|
|
13
|
+
telegram: z.ZodOptional<z.ZodString>;
|
|
14
|
+
whatsapp: z.ZodOptional<z.ZodString>;
|
|
15
|
+
instagram: z.ZodOptional<z.ZodString>;
|
|
16
|
+
schedulinglink: z.ZodOptional<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const ParmaListRelationshipsOutput: z.ZodObject<{
|
|
19
|
+
data: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
21
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
about: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
25
|
+
company_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
|
+
created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
properties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>>>;
|
|
32
|
+
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
34
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
39
|
+
count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
40
|
+
}, z.core.$loose>>>;
|
|
41
|
+
}, z.core.$loose>;
|
|
42
|
+
declare const parmaListRelationships: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
43
|
+
sms?: string | undefined;
|
|
44
|
+
name?: string | undefined;
|
|
45
|
+
page?: string | undefined;
|
|
46
|
+
type?: string | undefined;
|
|
47
|
+
email?: string | undefined;
|
|
48
|
+
phone?: string | undefined;
|
|
49
|
+
twitter?: string | undefined;
|
|
50
|
+
linkedin?: string | undefined;
|
|
51
|
+
telegram?: string | undefined;
|
|
52
|
+
whatsapp?: string | undefined;
|
|
53
|
+
instagram?: string | undefined;
|
|
54
|
+
schedulinglink?: string | undefined;
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
56
|
//#endregion
|
|
8
57
|
export { parmaListRelationships };
|
|
9
58
|
//# sourceMappingURL=list-relationships.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-relationships.d.mts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"list-relationships.d.mts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
|
|
@@ -19,11 +19,11 @@ const ParmaListRelationships_PropertySchema = z.object({
|
|
|
19
19
|
id: z.number().int().describe("Property ID").nullable().optional(),
|
|
20
20
|
name: z.string().describe("Property name").nullable().optional(),
|
|
21
21
|
value: z.string().describe("Property value").nullable().optional()
|
|
22
|
-
}).describe("Custom property for a relationship.");
|
|
22
|
+
}).passthrough().describe("Custom property for a relationship.");
|
|
23
23
|
const ParmaListRelationships_ContactDetailSchema = z.object({
|
|
24
24
|
type: z.string().describe("Type of contact detail (e.g., email, phone)").nullable().optional(),
|
|
25
25
|
value: z.string().describe("Value of the contact detail").nullable().optional()
|
|
26
|
-
}).describe("Contact detail information for a relationship.");
|
|
26
|
+
}).passthrough().describe("Contact detail information for a relationship.");
|
|
27
27
|
const ParmaListRelationships_RelationshipSchema = z.object({
|
|
28
28
|
id: z.number().int().describe("Unique relationship identifier").nullable().optional(),
|
|
29
29
|
name: z.string().describe("Name of the relationship").nullable().optional(),
|
|
@@ -35,8 +35,8 @@ const ParmaListRelationships_RelationshipSchema = z.object({
|
|
|
35
35
|
properties: z.array(ParmaListRelationships_PropertySchema).describe("List of custom properties").nullable().optional(),
|
|
36
36
|
updated_at: z.string().describe("Timestamp when the relationship was last updated").nullable().optional(),
|
|
37
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.");
|
|
38
|
+
}).passthrough().describe("Individual relationship data.");
|
|
39
|
+
const ParmaListRelationships_MetaSchema = z.object({ count: z.number().int().describe("Total count of relationships").nullable().optional() }).passthrough().describe("Metadata about the relationships list.");
|
|
40
40
|
const parmaListRelationships = action("PARMA_LIST_RELATIONSHIPS", {
|
|
41
41
|
slug: "parma-list-relationships",
|
|
42
42
|
name: "List Relationships",
|
|
@@ -45,7 +45,7 @@ const parmaListRelationships = action("PARMA_LIST_RELATIONSHIPS", {
|
|
|
45
45
|
output: z.object({
|
|
46
46
|
data: z.array(ParmaListRelationships_RelationshipSchema).describe("List of relationships").nullable().optional(),
|
|
47
47
|
meta: ParmaListRelationships_MetaSchema.nullable().optional()
|
|
48
|
-
}).describe("Response model for listing relationships.")
|
|
48
|
+
}).passthrough().describe("Response model for listing relationships.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { parmaListRelationships };
|
|
@@ -1 +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
|
|
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.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.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}).passthrough().describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema = 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}).passthrough().describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema = 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}).passthrough().describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).passthrough().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":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAU,EAA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C,SAAS,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -3,14 +3,14 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-stages.ts
|
|
4
4
|
const ParmaListStagesInput = zod.z.object({}).describe("Request model for listing stages. No parameters needed.");
|
|
5
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.");
|
|
6
|
+
id: zod.z.number().int().describe("Unique identifier of the stage").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the stage").nullable(),
|
|
8
|
+
position: zod.z.number().int().describe("Position of the stage in the pipeline").nullable(),
|
|
9
|
+
created_at: zod.z.string().describe("Timestamp when the stage was created").nullable(),
|
|
10
|
+
updated_at: zod.z.string().describe("Timestamp when the stage was last updated").nullable(),
|
|
11
|
+
pipeline_id: zod.z.number().int().describe("ID of the pipeline this stage belongs to").nullable()
|
|
12
|
+
}).passthrough().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") }).passthrough().describe("Response schema containing list of stages.");
|
|
14
14
|
const parmaListStages = require_action.action("PARMA_LIST_STAGES", {
|
|
15
15
|
slug: "parma-list-stages",
|
|
16
16
|
name: "List Stages",
|
|
@@ -1 +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
|
|
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.object({}).describe(\"Request model for listing stages. No parameters needed.\");\nconst ParmaListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\").nullable(),\n name: z.string().describe(\"Name of the stage\").nullable(),\n position: z.number().int().describe(\"Position of the stage in the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the stage was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\").nullable(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\").nullable(),\n}).passthrough().describe(\"Represents a single stage in a pipeline.\");\nexport const ParmaListStagesOutput = z.object({\n data: z.array(ParmaListStages_StageSchema).describe(\"List of stages in the Parma account\"),\n}).passthrough().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,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnH,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-stages.d.ts
|
|
4
|
-
declare const ParmaListStagesInput: z.
|
|
5
|
-
declare const ParmaListStagesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParmaListStagesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParmaListStagesOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
position: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
11
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
+
pipeline_id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const parmaListStages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { parmaListStages };
|
|
9
18
|
//# sourceMappingURL=list-stages.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-stages.d.cts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-stages.d.cts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-stages.d.ts
|
|
4
|
-
declare const ParmaListStagesInput: z.
|
|
5
|
-
declare const ParmaListStagesOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const ParmaListStagesInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const ParmaListStagesOutput: z.ZodObject<{
|
|
6
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
position: z.ZodNullable<z.ZodNumber>;
|
|
10
|
+
created_at: z.ZodNullable<z.ZodString>;
|
|
11
|
+
updated_at: z.ZodNullable<z.ZodString>;
|
|
12
|
+
pipeline_id: z.ZodNullable<z.ZodNumber>;
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
|
+
}, z.core.$loose>;
|
|
15
|
+
declare const parmaListStages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { parmaListStages };
|
|
9
18
|
//# sourceMappingURL=list-stages.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-stages.d.mts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-stages.d.mts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -3,19 +3,19 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-stages.ts
|
|
4
4
|
const ParmaListStagesInput = z.object({}).describe("Request model for listing stages. No parameters needed.");
|
|
5
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.");
|
|
6
|
+
id: z.number().int().describe("Unique identifier of the stage").nullable(),
|
|
7
|
+
name: z.string().describe("Name of the stage").nullable(),
|
|
8
|
+
position: z.number().int().describe("Position of the stage in the pipeline").nullable(),
|
|
9
|
+
created_at: z.string().describe("Timestamp when the stage was created").nullable(),
|
|
10
|
+
updated_at: z.string().describe("Timestamp when the stage was last updated").nullable(),
|
|
11
|
+
pipeline_id: z.number().int().describe("ID of the pipeline this stage belongs to").nullable()
|
|
12
|
+
}).passthrough().describe("Represents a single stage in a pipeline.");
|
|
13
13
|
const parmaListStages = action("PARMA_LIST_STAGES", {
|
|
14
14
|
slug: "parma-list-stages",
|
|
15
15
|
name: "List Stages",
|
|
16
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
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.")
|
|
18
|
+
output: z.object({ data: z.array(ParmaListStages_StageSchema).describe("List of stages in the Parma account") }).passthrough().describe("Response schema containing list of stages.")
|
|
19
19
|
});
|
|
20
20
|
//#endregion
|
|
21
21
|
export { parmaListStages };
|