@keystrokehq/parma 0.1.4 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-relationship-to-group.cjs +1 -0
- package/dist/actions/add-relationship-to-group.cjs.map +1 -1
- package/dist/actions/add-relationship-to-group.d.cts +3 -4
- package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
- package/dist/actions/add-relationship-to-group.d.mts +3 -4
- package/dist/actions/add-relationship-to-group.d.mts.map +1 -1
- package/dist/actions/add-relationship-to-group.mjs +1 -0
- package/dist/actions/add-relationship-to-group.mjs.map +1 -1
- package/dist/actions/create-note.cjs +1 -0
- package/dist/actions/create-note.cjs.map +1 -1
- package/dist/actions/create-note.d.cts +3 -5
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -5
- package/dist/actions/create-note.d.mts.map +1 -1
- package/dist/actions/create-note.mjs +1 -0
- package/dist/actions/create-note.mjs.map +1 -1
- package/dist/actions/create-relationship.cjs +1 -0
- package/dist/actions/create-relationship.cjs.map +1 -1
- package/dist/actions/create-relationship.d.cts +3 -7
- package/dist/actions/create-relationship.d.cts.map +1 -1
- package/dist/actions/create-relationship.d.mts +3 -7
- package/dist/actions/create-relationship.d.mts.map +1 -1
- package/dist/actions/create-relationship.mjs +1 -0
- package/dist/actions/create-relationship.mjs.map +1 -1
- package/dist/actions/data-json.cjs +1 -0
- package/dist/actions/data-json.cjs.map +1 -1
- package/dist/actions/data-json.d.cts +3 -1
- package/dist/actions/data-json.d.cts.map +1 -1
- package/dist/actions/data-json.d.mts +3 -1
- package/dist/actions/data-json.d.mts.map +1 -1
- package/dist/actions/data-json.mjs +1 -0
- package/dist/actions/data-json.mjs.map +1 -1
- package/dist/actions/delete-relationship.cjs +1 -0
- package/dist/actions/delete-relationship.cjs.map +1 -1
- package/dist/actions/delete-relationship.d.cts +3 -3
- package/dist/actions/delete-relationship.d.cts.map +1 -1
- package/dist/actions/delete-relationship.d.mts +3 -3
- package/dist/actions/delete-relationship.d.mts.map +1 -1
- package/dist/actions/delete-relationship.mjs +1 -0
- package/dist/actions/delete-relationship.mjs.map +1 -1
- package/dist/actions/get-pipeline.cjs +1 -0
- package/dist/actions/get-pipeline.cjs.map +1 -1
- package/dist/actions/get-pipeline.d.cts +3 -3
- package/dist/actions/get-pipeline.d.cts.map +1 -1
- package/dist/actions/get-pipeline.d.mts +3 -3
- package/dist/actions/get-pipeline.d.mts.map +1 -1
- package/dist/actions/get-pipeline.mjs +1 -0
- package/dist/actions/get-pipeline.mjs.map +1 -1
- package/dist/actions/get-relationship.cjs +1 -0
- package/dist/actions/get-relationship.cjs.map +1 -1
- package/dist/actions/get-relationship.d.cts +3 -3
- package/dist/actions/get-relationship.d.cts.map +1 -1
- package/dist/actions/get-relationship.d.mts +3 -3
- package/dist/actions/get-relationship.d.mts.map +1 -1
- package/dist/actions/get-relationship.mjs +1 -0
- package/dist/actions/get-relationship.mjs.map +1 -1
- package/dist/actions/get-stage.cjs +1 -0
- package/dist/actions/get-stage.cjs.map +1 -1
- package/dist/actions/get-stage.d.cts +3 -3
- package/dist/actions/get-stage.d.cts.map +1 -1
- package/dist/actions/get-stage.d.mts +3 -3
- package/dist/actions/get-stage.d.mts.map +1 -1
- package/dist/actions/get-stage.mjs +1 -0
- package/dist/actions/get-stage.mjs.map +1 -1
- package/dist/actions/get-user-profile.cjs +1 -0
- package/dist/actions/get-user-profile.cjs.map +1 -1
- package/dist/actions/get-user-profile.d.cts +3 -1
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +3 -1
- package/dist/actions/get-user-profile.d.mts.map +1 -1
- package/dist/actions/get-user-profile.mjs +1 -0
- package/dist/actions/get-user-profile.mjs.map +1 -1
- package/dist/actions/get-user.cjs +1 -0
- package/dist/actions/get-user.cjs.map +1 -1
- package/dist/actions/get-user.d.cts +3 -3
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -3
- package/dist/actions/get-user.d.mts.map +1 -1
- package/dist/actions/get-user.mjs +1 -0
- package/dist/actions/get-user.mjs.map +1 -1
- package/dist/actions/list-deals.cjs +1 -0
- package/dist/actions/list-deals.cjs.map +1 -1
- package/dist/actions/list-deals.d.cts +3 -3
- package/dist/actions/list-deals.d.cts.map +1 -1
- package/dist/actions/list-deals.d.mts +3 -3
- package/dist/actions/list-deals.d.mts.map +1 -1
- package/dist/actions/list-deals.mjs +1 -0
- package/dist/actions/list-deals.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -4
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -4
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-notes.cjs +1 -0
- package/dist/actions/list-notes.cjs.map +1 -1
- package/dist/actions/list-notes.d.cts +3 -3
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +3 -3
- package/dist/actions/list-notes.d.mts.map +1 -1
- package/dist/actions/list-notes.mjs +1 -0
- package/dist/actions/list-notes.mjs.map +1 -1
- package/dist/actions/list-pipelines.cjs +1 -0
- package/dist/actions/list-pipelines.cjs.map +1 -1
- package/dist/actions/list-pipelines.d.cts +3 -1
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +3 -1
- package/dist/actions/list-pipelines.d.mts.map +1 -1
- package/dist/actions/list-pipelines.mjs +1 -0
- package/dist/actions/list-pipelines.mjs.map +1 -1
- package/dist/actions/list-relationship-groups.cjs +1 -0
- package/dist/actions/list-relationship-groups.cjs.map +1 -1
- package/dist/actions/list-relationship-groups.d.cts +3 -3
- package/dist/actions/list-relationship-groups.d.cts.map +1 -1
- package/dist/actions/list-relationship-groups.d.mts +3 -3
- package/dist/actions/list-relationship-groups.d.mts.map +1 -1
- package/dist/actions/list-relationship-groups.mjs +1 -0
- package/dist/actions/list-relationship-groups.mjs.map +1 -1
- package/dist/actions/list-relationship-notes.cjs +1 -0
- package/dist/actions/list-relationship-notes.cjs.map +1 -1
- package/dist/actions/list-relationship-notes.d.cts +3 -4
- package/dist/actions/list-relationship-notes.d.cts.map +1 -1
- package/dist/actions/list-relationship-notes.d.mts +3 -4
- package/dist/actions/list-relationship-notes.d.mts.map +1 -1
- package/dist/actions/list-relationship-notes.mjs +1 -0
- package/dist/actions/list-relationship-notes.mjs.map +1 -1
- package/dist/actions/list-relationships.cjs +1 -0
- package/dist/actions/list-relationships.cjs.map +1 -1
- package/dist/actions/list-relationships.d.cts +3 -14
- package/dist/actions/list-relationships.d.cts.map +1 -1
- package/dist/actions/list-relationships.d.mts +3 -14
- package/dist/actions/list-relationships.d.mts.map +1 -1
- package/dist/actions/list-relationships.mjs +1 -0
- package/dist/actions/list-relationships.mjs.map +1 -1
- package/dist/actions/list-stages.cjs +1 -0
- package/dist/actions/list-stages.cjs.map +1 -1
- package/dist/actions/list-stages.d.cts +3 -1
- package/dist/actions/list-stages.d.cts.map +1 -1
- package/dist/actions/list-stages.d.mts +3 -1
- package/dist/actions/list-stages.d.mts.map +1 -1
- package/dist/actions/list-stages.mjs +1 -0
- package/dist/actions/list-stages.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/package-list.cjs +1 -0
- package/dist/actions/package-list.cjs.map +1 -1
- package/dist/actions/package-list.d.cts +3 -1
- package/dist/actions/package-list.d.cts.map +1 -1
- package/dist/actions/package-list.d.mts +3 -1
- package/dist/actions/package-list.d.mts.map +1 -1
- package/dist/actions/package-list.mjs +1 -0
- package/dist/actions/package-list.mjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.cjs +1 -0
- package/dist/actions/remove-relationship-from-group.cjs.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.cts +3 -4
- package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.mts +3 -4
- package/dist/actions/remove-relationship-from-group.d.mts.map +1 -1
- package/dist/actions/remove-relationship-from-group.mjs +1 -0
- package/dist/actions/remove-relationship-from-group.mjs.map +1 -1
- package/dist/actions/update-note.cjs +1 -0
- package/dist/actions/update-note.cjs.map +1 -1
- package/dist/actions/update-note.d.cts +3 -6
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +3 -6
- package/dist/actions/update-note.d.mts.map +1 -1
- package/dist/actions/update-note.mjs +1 -0
- package/dist/actions/update-note.mjs.map +1 -1
- package/dist/actions/update-relationship.cjs +1 -0
- package/dist/actions/update-relationship.cjs.map +1 -1
- package/dist/actions/update-relationship.d.cts +3 -9
- package/dist/actions/update-relationship.d.cts.map +1 -1
- package/dist/actions/update-relationship.d.mts +3 -9
- package/dist/actions/update-relationship.d.mts.map +1 -1
- package/dist/actions/update-relationship.mjs +1 -0
- package/dist/actions/update-relationship.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["parma","executeParmaTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parma } from \"./app\";\nimport { executeParmaTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["parma","executeParmaTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { parma } from \"./app\";\nimport { executeParmaTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof parma.credential> {\n return parma.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeParmaTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAOA,YAAAA,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { parma } from \"./app\";\nimport { executeParmaTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { parma } from \"./app\";\nimport { executeParmaTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof parma.credential> {\n return parma.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeParmaTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOqD;CACrD,OAAO,MAAM,OAAO;EAClB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,iBAAiB,MAAM,KAAgC,CAAC;EACxF;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-relationship-to-group.cjs","names":["z","action"],"sources":["../../src/actions/add-relationship-to-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaAddRelationshipToGroupInput = z.object({\n group_id: z.number().int().describe(\"Unique identifier of the group to add the relationship to\"),\n relationship_id: z.string().describe(\"Unique identifier of the relationship to add to the group\"),\n}).describe(\"Request model for adding a relationship to a group.\");\nconst ParmaAddRelationshipToGroup_RelationshipGroupDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship-group association\").nullable(),\n group_id: z.number().int().describe(\"ID of the group\").nullable(),\n created_at: z.string().describe(\"Timestamp when the association was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the association was last updated\").nullable(),\n}).passthrough().describe(\"Relationship group association data.\");\nexport const ParmaAddRelationshipToGroupOutput = z.object({\n data: ParmaAddRelationshipToGroup_RelationshipGroupDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for adding a relationship to a group.\");\n\nexport const parmaAddRelationshipToGroup = action(\"PARMA_ADD_RELATIONSHIP_TO_GROUP\", {\n slug: \"parma-add-relationship-to-group\",\n name: \"Add Relationship to Group\",\n description: \"Tool to add a relationship to a group in Parma. Use when you need to associate an existing relationship with a group.\",\n input: ParmaAddRelationshipToGroupInput,\n output: ParmaAddRelationshipToGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-relationship-to-group.cjs","names":["z","action"],"sources":["../../src/actions/add-relationship-to-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaAddRelationshipToGroupInput = z.object({\n group_id: z.number().int().describe(\"Unique identifier of the group to add the relationship to\"),\n relationship_id: z.string().describe(\"Unique identifier of the relationship to add to the group\"),\n}).describe(\"Request model for adding a relationship to a group.\");\nconst ParmaAddRelationshipToGroup_RelationshipGroupDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship-group association\").nullable(),\n group_id: z.number().int().describe(\"ID of the group\").nullable(),\n created_at: z.string().describe(\"Timestamp when the association was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the association was last updated\").nullable(),\n}).passthrough().describe(\"Relationship group association data.\");\nexport const ParmaAddRelationshipToGroupOutput = z.object({\n data: ParmaAddRelationshipToGroup_RelationshipGroupDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for adding a relationship to a group.\");\n\nexport const parmaAddRelationshipToGroup: AppAction<\n typeof ParmaAddRelationshipToGroupInput,\n typeof ParmaAddRelationshipToGroupOutput,\n typeof parma.credential\n> = action(\"PARMA_ADD_RELATIONSHIP_TO_GROUP\", {\n slug: \"parma-add-relationship-to-group\",\n name: \"Add Relationship to Group\",\n description: \"Tool to add a relationship to a group in Parma. Use when you need to associate an existing relationship with a group.\",\n input: ParmaAddRelationshipToGroupInput,\n output: ParmaAddRelationshipToGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC/F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAClG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAChE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAM,wDAAwD,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-relationship-to-group.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ParmaAddRelationshipToGroupOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parmaAddRelationshipToGroup:
|
|
17
|
-
group_id: number;
|
|
18
|
-
relationship_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const parmaAddRelationshipToGroup: AppAction<typeof ParmaAddRelationshipToGroupInput, typeof ParmaAddRelationshipToGroupOutput, typeof parma.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { parmaAddRelationshipToGroup };
|
|
22
21
|
//# sourceMappingURL=add-relationship-to-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-relationship-to-group.d.cts","names":[],"sources":["../../src/actions/add-relationship-to-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-relationship-to-group.d.cts","names":[],"sources":["../../src/actions/add-relationship-to-group.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/add-relationship-to-group.d.ts
|
|
@@ -13,10 +15,7 @@ declare const ParmaAddRelationshipToGroupOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parmaAddRelationshipToGroup:
|
|
17
|
-
group_id: number;
|
|
18
|
-
relationship_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const parmaAddRelationshipToGroup: AppAction<typeof ParmaAddRelationshipToGroupInput, typeof ParmaAddRelationshipToGroupOutput, typeof parma.credential>;
|
|
20
19
|
//#endregion
|
|
21
20
|
export { parmaAddRelationshipToGroup };
|
|
22
21
|
//# sourceMappingURL=add-relationship-to-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-relationship-to-group.d.mts","names":[],"sources":["../../src/actions/add-relationship-to-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-relationship-to-group.d.mts","names":[],"sources":["../../src/actions/add-relationship-to-group.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"add-relationship-to-group.mjs","names":[],"sources":["../../src/actions/add-relationship-to-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaAddRelationshipToGroupInput = z.object({\n group_id: z.number().int().describe(\"Unique identifier of the group to add the relationship to\"),\n relationship_id: z.string().describe(\"Unique identifier of the relationship to add to the group\"),\n}).describe(\"Request model for adding a relationship to a group.\");\nconst ParmaAddRelationshipToGroup_RelationshipGroupDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship-group association\").nullable(),\n group_id: z.number().int().describe(\"ID of the group\").nullable(),\n created_at: z.string().describe(\"Timestamp when the association was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the association was last updated\").nullable(),\n}).passthrough().describe(\"Relationship group association data.\");\nexport const ParmaAddRelationshipToGroupOutput = z.object({\n data: ParmaAddRelationshipToGroup_RelationshipGroupDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for adding a relationship to a group.\");\n\nexport const parmaAddRelationshipToGroup = action(\"PARMA_ADD_RELATIONSHIP_TO_GROUP\", {\n slug: \"parma-add-relationship-to-group\",\n name: \"Add Relationship to Group\",\n description: \"Tool to add a relationship to a group in Parma. Use when you need to associate an existing relationship with a group.\",\n input: ParmaAddRelationshipToGroupInput,\n output: ParmaAddRelationshipToGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"add-relationship-to-group.mjs","names":[],"sources":["../../src/actions/add-relationship-to-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaAddRelationshipToGroupInput = z.object({\n group_id: z.number().int().describe(\"Unique identifier of the group to add the relationship to\"),\n relationship_id: z.string().describe(\"Unique identifier of the relationship to add to the group\"),\n}).describe(\"Request model for adding a relationship to a group.\");\nconst ParmaAddRelationshipToGroup_RelationshipGroupDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship-group association\").nullable(),\n group_id: z.number().int().describe(\"ID of the group\").nullable(),\n created_at: z.string().describe(\"Timestamp when the association was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the association was last updated\").nullable(),\n}).passthrough().describe(\"Relationship group association data.\");\nexport const ParmaAddRelationshipToGroupOutput = z.object({\n data: ParmaAddRelationshipToGroup_RelationshipGroupDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for adding a relationship to a group.\");\n\nexport const parmaAddRelationshipToGroup: AppAction<\n typeof ParmaAddRelationshipToGroupInput,\n typeof ParmaAddRelationshipToGroupOutput,\n typeof parma.credential\n> = action(\"PARMA_ADD_RELATIONSHIP_TO_GROUP\", {\n slug: \"parma-add-relationship-to-group\",\n name: \"Add Relationship to Group\",\n description: \"Tool to add a relationship to a group in Parma. Use when you need to associate an existing relationship with a group.\",\n input: ParmaAddRelationshipToGroupInput,\n output: ParmaAddRelationshipToGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D;CAC/F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAClG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CAClG,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS;CAChE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACvF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,MAAM,wDAAwD,SAAS,EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-note.cjs","names":["z","action"],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaCreateNoteInput = z.object({\n body: z.string().describe(\"The note body content\"),\n datetime: z.string().describe(\"Custom datetime for the note in ISO 8601 format\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"Array of relationship IDs to link the note to\"),\n}).describe(\"Request model for creating a note in Parma.\");\nconst ParmaCreateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the created note\").nullable(),\n body: z.string().describe(\"The note body content\").nullable(),\n datetime: z.string().describe(\"Custom datetime for 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(\"Array of relationship IDs linked to the note\"),\n}).passthrough().describe(\"Note data within the response.\");\nexport const ParmaCreateNoteOutput = z.object({\n data: ParmaCreateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a note.\");\n\nexport const parmaCreateNote = action(\"PARMA_CREATE_NOTE\", {\n slug: \"parma-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a new note in the Parma account. Use when you need to add a note linked to specific relationships.\",\n input: ParmaCreateNoteInput,\n output: ParmaCreateNoteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-note.cjs","names":["z","action"],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaCreateNoteInput = z.object({\n body: z.string().describe(\"The note body content\"),\n datetime: z.string().describe(\"Custom datetime for the note in ISO 8601 format\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"Array of relationship IDs to link the note to\"),\n}).describe(\"Request model for creating a note in Parma.\");\nconst ParmaCreateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the created note\").nullable(),\n body: z.string().describe(\"The note body content\").nullable(),\n datetime: z.string().describe(\"Custom datetime for 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(\"Array of relationship IDs linked to the note\"),\n}).passthrough().describe(\"Note data within the response.\");\nexport const ParmaCreateNoteOutput = z.object({\n data: ParmaCreateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a note.\");\n\nexport const parmaCreateNote: AppAction<\n typeof ParmaCreateNoteInput,\n typeof ParmaCreateNoteOutput,\n typeof parma.credential\n> = action(\"PARMA_CREATE_NOTE\", {\n slug: \"parma-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a new note in the Parma account. Use when you need to add a note linked to specific relationships.\",\n input: ParmaCreateNoteInput,\n output: ParmaCreateNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACtG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,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,8CAA8C;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-note.d.ts
|
|
@@ -16,11 +18,7 @@ declare const ParmaCreateNoteOutput: z.ZodObject<{
|
|
|
16
18
|
relationship_ids: z.ZodArray<z.ZodNumber>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const parmaCreateNote:
|
|
20
|
-
body: string;
|
|
21
|
-
relationship_ids: number[];
|
|
22
|
-
datetime?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const parmaCreateNote: AppAction<typeof ParmaCreateNoteInput, typeof ParmaCreateNoteOutput, typeof parma.credential>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { parmaCreateNote };
|
|
26
24
|
//# sourceMappingURL=create-note.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-note.d.cts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-note.d.cts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAapB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-note.d.ts
|
|
@@ -16,11 +18,7 @@ declare const ParmaCreateNoteOutput: z.ZodObject<{
|
|
|
16
18
|
relationship_ids: z.ZodArray<z.ZodNumber>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const parmaCreateNote:
|
|
20
|
-
body: string;
|
|
21
|
-
relationship_ids: number[];
|
|
22
|
-
datetime?: string | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const parmaCreateNote: AppAction<typeof ParmaCreateNoteInput, typeof ParmaCreateNoteOutput, typeof parma.credential>;
|
|
24
22
|
//#endregion
|
|
25
23
|
export { parmaCreateNote };
|
|
26
24
|
//# sourceMappingURL=create-note.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-note.d.mts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-note.d.mts","names":[],"sources":["../../src/actions/create-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;cAapB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-note.mjs","names":[],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaCreateNoteInput = z.object({\n body: z.string().describe(\"The note body content\"),\n datetime: z.string().describe(\"Custom datetime for the note in ISO 8601 format\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"Array of relationship IDs to link the note to\"),\n}).describe(\"Request model for creating a note in Parma.\");\nconst ParmaCreateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the created note\").nullable(),\n body: z.string().describe(\"The note body content\").nullable(),\n datetime: z.string().describe(\"Custom datetime for 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(\"Array of relationship IDs linked to the note\"),\n}).passthrough().describe(\"Note data within the response.\");\nexport const ParmaCreateNoteOutput = z.object({\n data: ParmaCreateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a note.\");\n\nexport const parmaCreateNote = action(\"PARMA_CREATE_NOTE\", {\n slug: \"parma-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a new note in the Parma account. Use when you need to add a note linked to specific relationships.\",\n input: ParmaCreateNoteInput,\n output: ParmaCreateNoteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-note.mjs","names":[],"sources":["../../src/actions/create-note.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaCreateNoteInput = z.object({\n body: z.string().describe(\"The note body content\"),\n datetime: z.string().describe(\"Custom datetime for the note in ISO 8601 format\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"Array of relationship IDs to link the note to\"),\n}).describe(\"Request model for creating a note in Parma.\");\nconst ParmaCreateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"The unique identifier of the created note\").nullable(),\n body: z.string().describe(\"The note body content\").nullable(),\n datetime: z.string().describe(\"Custom datetime for 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(\"Array of relationship IDs linked to the note\"),\n}).passthrough().describe(\"Note data within the response.\");\nexport const ParmaCreateNoteOutput = z.object({\n data: ParmaCreateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for creating a note.\");\n\nexport const parmaCreateNote: AppAction<\n typeof ParmaCreateNoteInput,\n typeof ParmaCreateNoteOutput,\n typeof parma.credential\n> = action(\"PARMA_CREATE_NOTE\", {\n slug: \"parma-create-note\",\n name: \"Create Note\",\n description: \"Tool to create a new note in the Parma account. Use when you need to add a note linked to specific relationships.\",\n input: ParmaCreateNoteInput,\n output: ParmaCreateNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACjD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CAC1F,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C;AACtG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,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,8CAA8C;AACrG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAK1D,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmC,EAAE,OAAO,EAC5C,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-relationship.cjs","names":["z","action"],"sources":["../../src/actions/create-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaCreateRelationshipInput = z.object({\n name: z.string().describe(\"The name of the relationship\"),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship to create.\").optional(),\n about: z.string().describe(\"Description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs to add the relationship to\"),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person belonging to a company\").optional(),\n}).describe(\"Request model for creating a new relationship in Parma.\");\nconst ParmaCreateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship (person or company)\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs the relationship belongs to\").nullable().optional(),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.record(z.string(), z.unknown())).describe(\"Contact details for the relationship\").nullable().optional(),\n}).passthrough().describe(\"Relationship data returned in the response.\");\nexport const ParmaCreateRelationshipOutput = z.object({\n data: ParmaCreateRelationship_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a relationship.\");\n\nexport const parmaCreateRelationship = action(\"PARMA_CREATE_RELATIONSHIP\", {\n slug: \"parma-create-relationship\",\n name: \"Create Relationship\",\n description: \"Tool to create a new relationship in Parma. Use when you need to add a new person or company to your Parma account.\",\n input: ParmaCreateRelationshipInput,\n output: ParmaCreateRelationshipOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-relationship.cjs","names":["z","action"],"sources":["../../src/actions/create-relationship.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaCreateRelationshipInput = z.object({\n name: z.string().describe(\"The name of the relationship\"),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship to create.\").optional(),\n about: z.string().describe(\"Description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs to add the relationship to\"),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person belonging to a company\").optional(),\n}).describe(\"Request model for creating a new relationship in Parma.\");\nconst ParmaCreateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship (person or company)\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs the relationship belongs to\").nullable().optional(),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.record(z.string(), z.unknown())).describe(\"Contact details for the relationship\").nullable().optional(),\n}).passthrough().describe(\"Relationship data returned in the response.\");\nexport const ParmaCreateRelationshipOutput = z.object({\n data: ParmaCreateRelationship_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a relationship.\");\n\nexport const parmaCreateRelationship: AppAction<\n typeof ParmaCreateRelationshipInput,\n typeof ParmaCreateRelationshipOutput,\n typeof parma.credential\n> = action(\"PARMA_CREATE_RELATIONSHIP\", {\n slug: \"parma-create-relationship\",\n name: \"Create Relationship\",\n description: \"Tool to create a new relationship in Parma. Use when you need to add a new person or company to your Parma account.\",\n input: ParmaCreateRelationshipInput,\n output: ParmaCreateRelationshipOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiDA,IAAAA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,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAM,+CAA+C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-relationship.d.ts
|
|
@@ -25,13 +27,7 @@ declare const ParmaCreateRelationshipOutput: z.ZodObject<{
|
|
|
25
27
|
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
26
28
|
}, z.core.$loose>>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const parmaCreateRelationship:
|
|
29
|
-
name: string;
|
|
30
|
-
group_ids: number[];
|
|
31
|
-
type?: "person" | "company" | undefined;
|
|
32
|
-
about?: string | undefined;
|
|
33
|
-
company_id?: number | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const parmaCreateRelationship: AppAction<typeof ParmaCreateRelationshipInput, typeof ParmaCreateRelationshipOutput, typeof parma.credential>;
|
|
35
31
|
//#endregion
|
|
36
32
|
export { parmaCreateRelationship };
|
|
37
33
|
//# sourceMappingURL=create-relationship.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-relationship.d.cts","names":[],"sources":["../../src/actions/create-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-relationship.d.cts","names":[],"sources":["../../src/actions/create-relationship.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAmB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-relationship.d.ts
|
|
@@ -25,13 +27,7 @@ declare const ParmaCreateRelationshipOutput: z.ZodObject<{
|
|
|
25
27
|
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
26
28
|
}, z.core.$loose>>>;
|
|
27
29
|
}, z.core.$loose>;
|
|
28
|
-
declare const parmaCreateRelationship:
|
|
29
|
-
name: string;
|
|
30
|
-
group_ids: number[];
|
|
31
|
-
type?: "person" | "company" | undefined;
|
|
32
|
-
about?: string | undefined;
|
|
33
|
-
company_id?: number | undefined;
|
|
34
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
30
|
+
declare const parmaCreateRelationship: AppAction<typeof ParmaCreateRelationshipInput, typeof ParmaCreateRelationshipOutput, typeof parma.credential>;
|
|
35
31
|
//#endregion
|
|
36
32
|
export { parmaCreateRelationship };
|
|
37
33
|
//# sourceMappingURL=create-relationship.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-relationship.d.mts","names":[],"sources":["../../src/actions/create-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-relationship.d.mts","names":[],"sources":["../../src/actions/create-relationship.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;cAmB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-relationship.mjs","names":[],"sources":["../../src/actions/create-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaCreateRelationshipInput = z.object({\n name: z.string().describe(\"The name of the relationship\"),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship to create.\").optional(),\n about: z.string().describe(\"Description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs to add the relationship to\"),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person belonging to a company\").optional(),\n}).describe(\"Request model for creating a new relationship in Parma.\");\nconst ParmaCreateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship (person or company)\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs the relationship belongs to\").nullable().optional(),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.record(z.string(), z.unknown())).describe(\"Contact details for the relationship\").nullable().optional(),\n}).passthrough().describe(\"Relationship data returned in the response.\");\nexport const ParmaCreateRelationshipOutput = z.object({\n data: ParmaCreateRelationship_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a relationship.\");\n\nexport const parmaCreateRelationship = action(\"PARMA_CREATE_RELATIONSHIP\", {\n slug: \"parma-create-relationship\",\n name: \"Create Relationship\",\n description: \"Tool to create a new relationship in Parma. Use when you need to add a new person or company to your Parma account.\",\n input: ParmaCreateRelationshipInput,\n output: ParmaCreateRelationshipOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-relationship.mjs","names":[],"sources":["../../src/actions/create-relationship.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaCreateRelationshipInput = z.object({\n name: z.string().describe(\"The name of the relationship\"),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship to create.\").optional(),\n about: z.string().describe(\"Description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs to add the relationship to\"),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person belonging to a company\").optional(),\n}).describe(\"Request model for creating a new relationship in Parma.\");\nconst ParmaCreateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship (person or company)\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"Array of group IDs the relationship belongs to\").nullable().optional(),\n company_id: z.number().int().describe(\"Company ID if the relationship is a person\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties for the relationship\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(z.record(z.string(), z.unknown())).describe(\"Contact details for the relationship\").nullable().optional(),\n}).passthrough().describe(\"Relationship data returned in the response.\");\nexport const ParmaCreateRelationshipOutput = z.object({\n data: ParmaCreateRelationship_RelationshipDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a relationship.\");\n\nexport const parmaCreateRelationship: AppAction<\n typeof ParmaCreateRelationshipInput,\n typeof ParmaCreateRelationshipOutput,\n typeof parma.credential\n> = action(\"PARMA_CREATE_RELATIONSHIP\", {\n slug: \"parma-create-relationship\",\n name: \"Create Relationship\",\n description: \"Tool to create a new relationship in Parma. Use when you need to add a new person or company to your Parma account.\",\n input: ParmaCreateRelationshipInput,\n output: ParmaCreateRelationshipOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,MAAM,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,+CAA+C;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2C,EAAE,OAAO,EACpD,MAAM,+CAA+C,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-json.cjs","names":["z","action"],"sources":["../../src/actions/data-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDataJsonInput = z.object({}).describe(\"No parameters required for this request.\");\nconst ParmaDataJson_PublisherSchema = z.object({\n name: z.string().describe(\"Name of the publishing organization\").nullable().optional(),\n}).passthrough().describe(\"Publisher organization for the dataset.\");\nconst ParmaDataJson_ContactPointSchema = z.object({\n fn: z.string().describe(\"Name of the contact person/organization\").nullable().optional(),\n hasEmail: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the dataset.\");\nconst ParmaDataJson_DistributionSchema = z.object({\n title: z.string().describe(\"Title of the distribution\").nullable().optional(),\n format: z.string().describe(\"Data format of the distribution (e.g., CSV, JSON, SHP)\").nullable().optional(),\n accessURL: z.string().describe(\"URL to access the distribution\").nullable().optional(),\n mediaType: z.string().describe(\"MIME type of the distribution (e.g., text/csv)\").nullable().optional(),\n description: z.string().describe(\"Description of the distribution\").nullable().optional(),\n downloadURL: z.string().describe(\"Direct download URL for the distribution\").nullable().optional(),\n}).passthrough().describe(\"Represents a downloadable distribution in DCAT-US 1.1 format.\");\nconst ParmaDataJson_DatasetSchema = z.object({\n theme: z.array(z.string()).describe(\"Subject categories/themes\").nullable().optional(),\n title: z.string().describe(\"Human-readable title of the dataset\").nullable(),\n issued: z.string().describe(\"Publication date of the dataset\").nullable().optional(),\n keyword: z.array(z.string()).describe(\"Keywords/tags associated with the dataset\").nullable().optional(),\n license: z.string().describe(\"License URL for the dataset\").nullable().optional(),\n spatial: z.string().describe(\"Geographic coverage (POLYGON coordinates)\").nullable().optional(),\n language: z.array(z.string()).describe(\"Language codes\").nullable().optional(),\n modified: z.string().describe(\"Last modification date\").nullable().optional(),\n publisher: ParmaDataJson_PublisherSchema.nullable().optional(),\n identifier: z.string().describe(\"Unique identifier of the dataset (UUID)\").nullable(),\n references: z.array(z.string()).describe(\"Links to related datasets\").nullable().optional(),\n accessLevel: z.string().describe(\"Access level of the dataset (e.g., public)\").nullable().optional(),\n description: z.string().describe(\"Description or notes about the dataset\").nullable().optional(),\n landingPage: z.string().describe(\"Dataset webpage URL\").nullable().optional(),\n contactPoint: ParmaDataJson_ContactPointSchema.nullable().optional(),\n distribution: z.array(ParmaDataJson_DistributionSchema).describe(\"List of downloadable distributions for this dataset\").nullable().optional(),\n accrualPeriodicity: z.string().describe(\"Update frequency (e.g., R/P1Y for yearly)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single dataset in DCAT-US 1.1 format.\");\nexport const ParmaDataJsonOutput = z.object({\n datasets: z.array(ParmaDataJson_DatasetSchema).describe(\"List of dataset metadata as defined by DCAT-US 1.1\"),\n conformsTo: z.string().describe(\"Schema conformance URL\").nullable().optional(),\n describedBy: z.string().describe(\"Schema description URL\").nullable().optional(),\n}).passthrough().describe(\"DCAT-US 1.1 compliant catalog metadata response.\");\n\nexport const parmaDataJson = action(\"PARMA_DATA_JSON\", {\n slug: \"parma-data-json\",\n name: \"Get data.json metadata\",\n description: \"Tool to retrieve DCAT-US 1.1 compliant metadata of all datasets. Use when you need the complete catalog JSON (data.json) from Parma’s open data portal.\",\n input: ParmaDataJsonInput,\n output: ParmaDataJsonOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-json.cjs","names":["z","action"],"sources":["../../src/actions/data-json.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaDataJsonInput = z.object({}).describe(\"No parameters required for this request.\");\nconst ParmaDataJson_PublisherSchema = z.object({\n name: z.string().describe(\"Name of the publishing organization\").nullable().optional(),\n}).passthrough().describe(\"Publisher organization for the dataset.\");\nconst ParmaDataJson_ContactPointSchema = z.object({\n fn: z.string().describe(\"Name of the contact person/organization\").nullable().optional(),\n hasEmail: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the dataset.\");\nconst ParmaDataJson_DistributionSchema = z.object({\n title: z.string().describe(\"Title of the distribution\").nullable().optional(),\n format: z.string().describe(\"Data format of the distribution (e.g., CSV, JSON, SHP)\").nullable().optional(),\n accessURL: z.string().describe(\"URL to access the distribution\").nullable().optional(),\n mediaType: z.string().describe(\"MIME type of the distribution (e.g., text/csv)\").nullable().optional(),\n description: z.string().describe(\"Description of the distribution\").nullable().optional(),\n downloadURL: z.string().describe(\"Direct download URL for the distribution\").nullable().optional(),\n}).passthrough().describe(\"Represents a downloadable distribution in DCAT-US 1.1 format.\");\nconst ParmaDataJson_DatasetSchema = z.object({\n theme: z.array(z.string()).describe(\"Subject categories/themes\").nullable().optional(),\n title: z.string().describe(\"Human-readable title of the dataset\").nullable(),\n issued: z.string().describe(\"Publication date of the dataset\").nullable().optional(),\n keyword: z.array(z.string()).describe(\"Keywords/tags associated with the dataset\").nullable().optional(),\n license: z.string().describe(\"License URL for the dataset\").nullable().optional(),\n spatial: z.string().describe(\"Geographic coverage (POLYGON coordinates)\").nullable().optional(),\n language: z.array(z.string()).describe(\"Language codes\").nullable().optional(),\n modified: z.string().describe(\"Last modification date\").nullable().optional(),\n publisher: ParmaDataJson_PublisherSchema.nullable().optional(),\n identifier: z.string().describe(\"Unique identifier of the dataset (UUID)\").nullable(),\n references: z.array(z.string()).describe(\"Links to related datasets\").nullable().optional(),\n accessLevel: z.string().describe(\"Access level of the dataset (e.g., public)\").nullable().optional(),\n description: z.string().describe(\"Description or notes about the dataset\").nullable().optional(),\n landingPage: z.string().describe(\"Dataset webpage URL\").nullable().optional(),\n contactPoint: ParmaDataJson_ContactPointSchema.nullable().optional(),\n distribution: z.array(ParmaDataJson_DistributionSchema).describe(\"List of downloadable distributions for this dataset\").nullable().optional(),\n accrualPeriodicity: z.string().describe(\"Update frequency (e.g., R/P1Y for yearly)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single dataset in DCAT-US 1.1 format.\");\nexport const ParmaDataJsonOutput = z.object({\n datasets: z.array(ParmaDataJson_DatasetSchema).describe(\"List of dataset metadata as defined by DCAT-US 1.1\"),\n conformsTo: z.string().describe(\"Schema conformance URL\").nullable().optional(),\n describedBy: z.string().describe(\"Schema description URL\").nullable().optional(),\n}).passthrough().describe(\"DCAT-US 1.1 compliant catalog metadata response.\");\n\nexport const parmaDataJson: AppAction<\n typeof ParmaDataJsonInput,\n typeof ParmaDataJsonOutput,\n typeof parma.credential\n> = action(\"PARMA_DATA_JSON\", {\n slug: \"parma-data-json\",\n name: \"Get data.json metadata\",\n description: \"Tool to retrieve DCAT-US 1.1 compliant metadata of all datasets. Use when you need the complete catalog JSON (data.json) from Parma’s open data portal.\",\n input: ParmaDataJsonInput,\n output: ParmaDataJsonOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAClG,MAAM,gCAAgCA,IAAAA,EAAE,OAAO,EAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AACnE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,aAAaA,I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|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/data-json.d.ts
|
|
@@ -37,7 +39,7 @@ declare const ParmaDataJsonOutput: z.ZodObject<{
|
|
|
37
39
|
conformsTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
describedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const parmaDataJson:
|
|
42
|
+
declare const parmaDataJson: AppAction<typeof ParmaDataJsonInput, typeof ParmaDataJsonOutput, typeof parma.credential>;
|
|
41
43
|
//#endregion
|
|
42
44
|
export { parmaDataJson };
|
|
43
45
|
//# sourceMappingURL=data-json.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-json.d.cts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-json.d.cts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/data-json.d.ts
|
|
@@ -37,7 +39,7 @@ declare const ParmaDataJsonOutput: z.ZodObject<{
|
|
|
37
39
|
conformsTo: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
40
|
describedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
41
|
}, z.core.$loose>;
|
|
40
|
-
declare const parmaDataJson:
|
|
42
|
+
declare const parmaDataJson: AppAction<typeof ParmaDataJsonInput, typeof ParmaDataJsonOutput, typeof parma.credential>;
|
|
41
43
|
//#endregion
|
|
42
44
|
export { parmaDataJson };
|
|
43
45
|
//# sourceMappingURL=data-json.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-json.d.mts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-json.d.mts","names":[],"sources":["../../src/actions/data-json.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAmClB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAMnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-json.mjs","names":[],"sources":["../../src/actions/data-json.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDataJsonInput = z.object({}).describe(\"No parameters required for this request.\");\nconst ParmaDataJson_PublisherSchema = z.object({\n name: z.string().describe(\"Name of the publishing organization\").nullable().optional(),\n}).passthrough().describe(\"Publisher organization for the dataset.\");\nconst ParmaDataJson_ContactPointSchema = z.object({\n fn: z.string().describe(\"Name of the contact person/organization\").nullable().optional(),\n hasEmail: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the dataset.\");\nconst ParmaDataJson_DistributionSchema = z.object({\n title: z.string().describe(\"Title of the distribution\").nullable().optional(),\n format: z.string().describe(\"Data format of the distribution (e.g., CSV, JSON, SHP)\").nullable().optional(),\n accessURL: z.string().describe(\"URL to access the distribution\").nullable().optional(),\n mediaType: z.string().describe(\"MIME type of the distribution (e.g., text/csv)\").nullable().optional(),\n description: z.string().describe(\"Description of the distribution\").nullable().optional(),\n downloadURL: z.string().describe(\"Direct download URL for the distribution\").nullable().optional(),\n}).passthrough().describe(\"Represents a downloadable distribution in DCAT-US 1.1 format.\");\nconst ParmaDataJson_DatasetSchema = z.object({\n theme: z.array(z.string()).describe(\"Subject categories/themes\").nullable().optional(),\n title: z.string().describe(\"Human-readable title of the dataset\").nullable(),\n issued: z.string().describe(\"Publication date of the dataset\").nullable().optional(),\n keyword: z.array(z.string()).describe(\"Keywords/tags associated with the dataset\").nullable().optional(),\n license: z.string().describe(\"License URL for the dataset\").nullable().optional(),\n spatial: z.string().describe(\"Geographic coverage (POLYGON coordinates)\").nullable().optional(),\n language: z.array(z.string()).describe(\"Language codes\").nullable().optional(),\n modified: z.string().describe(\"Last modification date\").nullable().optional(),\n publisher: ParmaDataJson_PublisherSchema.nullable().optional(),\n identifier: z.string().describe(\"Unique identifier of the dataset (UUID)\").nullable(),\n references: z.array(z.string()).describe(\"Links to related datasets\").nullable().optional(),\n accessLevel: z.string().describe(\"Access level of the dataset (e.g., public)\").nullable().optional(),\n description: z.string().describe(\"Description or notes about the dataset\").nullable().optional(),\n landingPage: z.string().describe(\"Dataset webpage URL\").nullable().optional(),\n contactPoint: ParmaDataJson_ContactPointSchema.nullable().optional(),\n distribution: z.array(ParmaDataJson_DistributionSchema).describe(\"List of downloadable distributions for this dataset\").nullable().optional(),\n accrualPeriodicity: z.string().describe(\"Update frequency (e.g., R/P1Y for yearly)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single dataset in DCAT-US 1.1 format.\");\nexport const ParmaDataJsonOutput = z.object({\n datasets: z.array(ParmaDataJson_DatasetSchema).describe(\"List of dataset metadata as defined by DCAT-US 1.1\"),\n conformsTo: z.string().describe(\"Schema conformance URL\").nullable().optional(),\n describedBy: z.string().describe(\"Schema description URL\").nullable().optional(),\n}).passthrough().describe(\"DCAT-US 1.1 compliant catalog metadata response.\");\n\nexport const parmaDataJson = action(\"PARMA_DATA_JSON\", {\n slug: \"parma-data-json\",\n name: \"Get data.json metadata\",\n description: \"Tool to retrieve DCAT-US 1.1 compliant metadata of all datasets. Use when you need the complete catalog JSON (data.json) from Parma’s open data portal.\",\n input: ParmaDataJsonInput,\n output: ParmaDataJsonOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"data-json.mjs","names":[],"sources":["../../src/actions/data-json.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaDataJsonInput = z.object({}).describe(\"No parameters required for this request.\");\nconst ParmaDataJson_PublisherSchema = z.object({\n name: z.string().describe(\"Name of the publishing organization\").nullable().optional(),\n}).passthrough().describe(\"Publisher organization for the dataset.\");\nconst ParmaDataJson_ContactPointSchema = z.object({\n fn: z.string().describe(\"Name of the contact person/organization\").nullable().optional(),\n hasEmail: z.string().describe(\"Email address of the contact\").nullable().optional(),\n}).passthrough().describe(\"Contact information for the dataset.\");\nconst ParmaDataJson_DistributionSchema = z.object({\n title: z.string().describe(\"Title of the distribution\").nullable().optional(),\n format: z.string().describe(\"Data format of the distribution (e.g., CSV, JSON, SHP)\").nullable().optional(),\n accessURL: z.string().describe(\"URL to access the distribution\").nullable().optional(),\n mediaType: z.string().describe(\"MIME type of the distribution (e.g., text/csv)\").nullable().optional(),\n description: z.string().describe(\"Description of the distribution\").nullable().optional(),\n downloadURL: z.string().describe(\"Direct download URL for the distribution\").nullable().optional(),\n}).passthrough().describe(\"Represents a downloadable distribution in DCAT-US 1.1 format.\");\nconst ParmaDataJson_DatasetSchema = z.object({\n theme: z.array(z.string()).describe(\"Subject categories/themes\").nullable().optional(),\n title: z.string().describe(\"Human-readable title of the dataset\").nullable(),\n issued: z.string().describe(\"Publication date of the dataset\").nullable().optional(),\n keyword: z.array(z.string()).describe(\"Keywords/tags associated with the dataset\").nullable().optional(),\n license: z.string().describe(\"License URL for the dataset\").nullable().optional(),\n spatial: z.string().describe(\"Geographic coverage (POLYGON coordinates)\").nullable().optional(),\n language: z.array(z.string()).describe(\"Language codes\").nullable().optional(),\n modified: z.string().describe(\"Last modification date\").nullable().optional(),\n publisher: ParmaDataJson_PublisherSchema.nullable().optional(),\n identifier: z.string().describe(\"Unique identifier of the dataset (UUID)\").nullable(),\n references: z.array(z.string()).describe(\"Links to related datasets\").nullable().optional(),\n accessLevel: z.string().describe(\"Access level of the dataset (e.g., public)\").nullable().optional(),\n description: z.string().describe(\"Description or notes about the dataset\").nullable().optional(),\n landingPage: z.string().describe(\"Dataset webpage URL\").nullable().optional(),\n contactPoint: ParmaDataJson_ContactPointSchema.nullable().optional(),\n distribution: z.array(ParmaDataJson_DistributionSchema).describe(\"List of downloadable distributions for this dataset\").nullable().optional(),\n accrualPeriodicity: z.string().describe(\"Update frequency (e.g., R/P1Y for yearly)\").nullable().optional(),\n}).passthrough().describe(\"Represents a single dataset in DCAT-US 1.1 format.\");\nexport const ParmaDataJsonOutput = z.object({\n datasets: z.array(ParmaDataJson_DatasetSchema).describe(\"List of dataset metadata as defined by DCAT-US 1.1\"),\n conformsTo: z.string().describe(\"Schema conformance URL\").nullable().optional(),\n describedBy: z.string().describe(\"Schema description URL\").nullable().optional(),\n}).passthrough().describe(\"DCAT-US 1.1 compliant catalog metadata response.\");\n\nexport const parmaDataJson: AppAction<\n typeof ParmaDataJsonInput,\n typeof ParmaDataJsonOutput,\n typeof parma.credential\n> = action(\"PARMA_DATA_JSON\", {\n slug: \"parma-data-json\",\n name: \"Get data.json metadata\",\n description: \"Tool to retrieve DCAT-US 1.1 compliant metadata of all datasets. Use when you need the complete catalog JSON (data.json) from Parma’s open data portal.\",\n input: ParmaDataJsonInput,\n output: ParmaDataJsonOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAClG,MAAM,gCAAgC,EAAE,OAA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C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAO9E,MAAa,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfiC,EAAE,OAAO;EAC1C,UAAU,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,oDAAoD;EAC5G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-relationship.cjs","names":["z","action"],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDeleteRelationshipInput = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-relationship.cjs","names":["z","action"],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaDeleteRelationshipInput = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship: AppAction<\n typeof ParmaDeleteRelationshipInput,\n typeof ParmaDeleteRelationshipOutput,\n typeof parma.credential\n> = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO,EACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAAwF;AAElH,MAAa,0BAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-relationship.d.ts
|
|
@@ -7,9 +9,7 @@ declare const ParmaDeleteRelationshipInput: z.ZodObject<{
|
|
|
7
9
|
declare const ParmaDeleteRelationshipOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const parmaDeleteRelationship:
|
|
11
|
-
id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const parmaDeleteRelationship: AppAction<typeof ParmaDeleteRelationshipInput, typeof ParmaDeleteRelationshipOutput, typeof parma.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { parmaDeleteRelationship };
|
|
15
15
|
//# sourceMappingURL=delete-relationship.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-relationship.d.cts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-relationship.d.cts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-relationship.d.ts
|
|
@@ -7,9 +9,7 @@ declare const ParmaDeleteRelationshipInput: z.ZodObject<{
|
|
|
7
9
|
declare const ParmaDeleteRelationshipOutput: z.ZodObject<{
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const parmaDeleteRelationship:
|
|
11
|
-
id: string;
|
|
12
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
12
|
+
declare const parmaDeleteRelationship: AppAction<typeof ParmaDeleteRelationshipInput, typeof ParmaDeleteRelationshipOutput, typeof parma.credential>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { parmaDeleteRelationship };
|
|
15
15
|
//# sourceMappingURL=delete-relationship.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-relationship.d.mts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-relationship.d.mts","names":[],"sources":["../../src/actions/delete-relationship.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;cAG5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-relationship.mjs","names":[],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaDeleteRelationshipInput = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-relationship.mjs","names":[],"sources":["../../src/actions/delete-relationship.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaDeleteRelationshipInput = z.object({\n id: z.string().describe(\"Unique identifier of the relationship to delete\"),\n}).describe(\"Request model for deleting a relationship in Parma.\");\nexport const ParmaDeleteRelationshipOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the relationship was successfully deleted\").nullable(),\n}).passthrough().describe(\"Response model for delete relationship. Returns empty response on successful deletion.\");\n\nexport const parmaDeleteRelationship: AppAction<\n typeof ParmaDeleteRelationshipInput,\n typeof ParmaDeleteRelationshipOutput,\n typeof parma.credential\n> = action(\"PARMA_DELETE_RELATIONSHIP\", {\n slug: \"parma-delete-relationship\",\n name: \"Delete Relationship\",\n description: \"Tool to delete a relationship from Parma by its ID. Use when you need to remove an existing relationship between entities. Returns success confirmation after deletion (HTTP 204).\",\n input: ParmaDeleteRelationshipInput,\n output: ParmaDeleteRelationshipOutput,\n});\n"],"mappings":";;;AAaA,MAAa,0BAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf0C,EAAE,OAAO,EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,EAC3E,CAAC,CAAC,CAAC,SAAS,qDAaH;CACP,QAb2C,EAAE,OAAO,EACpD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-pipeline.cjs","names":["z","action"],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetPipelineInput = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\").nullable(),\n name: z.string().describe(\"Pipeline name\").nullable(),\n position: z.number().int().describe(\"Position/order of the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\").nullable(),\n}).passthrough().describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-pipeline.cjs","names":["z","action"],"sources":["../../src/actions/get-pipeline.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaGetPipelineInput = z.object({\n id: z.string().describe(\"The unique identifier of the pipeline to retrieve\"),\n}).describe(\"Request model for getting a pipeline by ID.\");\nconst ParmaGetPipeline_PipelineDataSchema = z.object({\n id: z.number().int().describe(\"Pipeline's unique identifier\").nullable(),\n name: z.string().describe(\"Pipeline name\").nullable(),\n position: z.number().int().describe(\"Position/order of the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the pipeline was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the pipeline was last updated\").nullable(),\n}).passthrough().describe(\"Pipeline data within the response.\");\nexport const ParmaGetPipelineOutput = z.object({\n data: ParmaGetPipeline_PipelineDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for getting a pipeline.\");\n\nexport const parmaGetPipeline: AppAction<\n typeof ParmaGetPipelineInput,\n typeof ParmaGetPipelineOutput,\n typeof parma.credential\n> = action(\"PARMA_GET_PIPELINE\", {\n slug: \"parma-get-pipeline\",\n name: \"Get Pipeline\",\n description: \"Tool to retrieve a pipeline by its ID. Use when you need to fetch details about a specific pipeline.\",\n input: ParmaGetPipelineInput,\n output: ParmaGetPipelineOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CACpF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,MAAM,oCAAoC,SAAS,EACrD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-pipeline.d.ts
|
|
@@ -13,9 +15,7 @@ declare const ParmaGetPipelineOutput: z.ZodObject<{
|
|
|
13
15
|
updated_at: z.ZodNullable<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const parmaGetPipeline:
|
|
17
|
-
id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
18
|
+
declare const parmaGetPipeline: AppAction<typeof ParmaGetPipelineInput, typeof ParmaGetPipelineOutput, typeof parma.credential>;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { parmaGetPipeline };
|
|
21
21
|
//# sourceMappingURL=get-pipeline.d.cts.map
|