@keystrokehq/parma 0.1.5 → 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 -16
- package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
- package/dist/actions/add-relationship-to-group.d.mts +3 -16
- 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 -17
- package/dist/actions/create-note.d.cts.map +1 -1
- package/dist/actions/create-note.d.mts +3 -17
- 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 -19
- package/dist/actions/create-relationship.d.cts.map +1 -1
- package/dist/actions/create-relationship.d.mts +3 -19
- 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 -13
- package/dist/actions/data-json.d.cts.map +1 -1
- package/dist/actions/data-json.d.mts +3 -13
- 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 -15
- package/dist/actions/delete-relationship.d.cts.map +1 -1
- package/dist/actions/delete-relationship.d.mts +3 -15
- 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 -15
- package/dist/actions/get-pipeline.d.cts.map +1 -1
- package/dist/actions/get-pipeline.d.mts +3 -15
- 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 -15
- package/dist/actions/get-relationship.d.cts.map +1 -1
- package/dist/actions/get-relationship.d.mts +3 -15
- 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 -15
- package/dist/actions/get-stage.d.cts.map +1 -1
- package/dist/actions/get-stage.d.mts +3 -15
- 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 -13
- package/dist/actions/get-user-profile.d.cts.map +1 -1
- package/dist/actions/get-user-profile.d.mts +3 -13
- 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 -15
- package/dist/actions/get-user.d.cts.map +1 -1
- package/dist/actions/get-user.d.mts +3 -15
- 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 -15
- package/dist/actions/list-deals.d.cts.map +1 -1
- package/dist/actions/list-deals.d.mts +3 -15
- 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 -16
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -16
- 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 -15
- package/dist/actions/list-notes.d.cts.map +1 -1
- package/dist/actions/list-notes.d.mts +3 -15
- 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 -13
- package/dist/actions/list-pipelines.d.cts.map +1 -1
- package/dist/actions/list-pipelines.d.mts +3 -13
- 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 -15
- package/dist/actions/list-relationship-groups.d.cts.map +1 -1
- package/dist/actions/list-relationship-groups.d.mts +3 -15
- 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 -16
- package/dist/actions/list-relationship-notes.d.cts.map +1 -1
- package/dist/actions/list-relationship-notes.d.mts +3 -16
- 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 -26
- package/dist/actions/list-relationships.d.cts.map +1 -1
- package/dist/actions/list-relationships.d.mts +3 -26
- 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 -13
- package/dist/actions/list-stages.d.cts.map +1 -1
- package/dist/actions/list-stages.d.mts +3 -13
- 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 -15
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -15
- 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 -13
- package/dist/actions/package-list.d.cts.map +1 -1
- package/dist/actions/package-list.d.mts +3 -13
- 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 -16
- package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
- package/dist/actions/remove-relationship-from-group.d.mts +3 -16
- 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 -18
- package/dist/actions/update-note.d.cts.map +1 -1
- package/dist/actions/update-note.d.mts +3 -18
- 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 -21
- package/dist/actions/update-relationship.d.cts.map +1 -1
- package/dist/actions/update-relationship.d.mts +3 -21
- 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 +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,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/package-list.d.ts
|
|
@@ -7,19 +9,7 @@ declare const ParmaPackageListOutput: z.ZodObject<{
|
|
|
7
9
|
result: z.ZodArray<z.ZodString>;
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const parmaPackageList:
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const parmaPackageList: AppAction<typeof ParmaPackageListInput, typeof ParmaPackageListOutput, typeof parma.credential>;
|
|
23
13
|
//#endregion
|
|
24
14
|
export { parmaPackageList };
|
|
25
15
|
//# sourceMappingURL=package-list.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-list.d.cts","names":[],"sources":["../../src/actions/package-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"package-list.d.cts","names":[],"sources":["../../src/actions/package-list.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { parma } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/package-list.d.ts
|
|
@@ -7,19 +9,7 @@ declare const ParmaPackageListOutput: z.ZodObject<{
|
|
|
7
9
|
result: z.ZodArray<z.ZodString>;
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const parmaPackageList:
|
|
11
|
-
connectionId: z.ZodString;
|
|
12
|
-
entityId: z.ZodString;
|
|
13
|
-
instanceId: z.ZodString;
|
|
14
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15
|
-
generic_api_key: z.ZodString;
|
|
16
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
generic_api_key: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>;
|
|
12
|
+
declare const parmaPackageList: AppAction<typeof ParmaPackageListInput, typeof ParmaPackageListOutput, typeof parma.credential>;
|
|
23
13
|
//#endregion
|
|
24
14
|
export { parmaPackageList };
|
|
25
15
|
//# sourceMappingURL=package-list.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-list.d.mts","names":[],"sources":["../../src/actions/package-list.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"package-list.d.mts","names":[],"sources":["../../src/actions/package-list.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package-list.mjs","names":[],"sources":["../../src/actions/package-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaPackageListInput = z.object({}).describe(\"No request parameters for package_list action.\");\nexport const ParmaPackageListOutput = z.object({\n help: z.string().describe(\"Help text about the API endpoint.\").nullable(),\n result: z.array(z.string()).describe(\"List of dataset identifiers available in the catalog.\"),\n success: z.boolean().describe(\"Indicates whether the API call was successful.\").nullable(),\n}).passthrough();\n\nexport const parmaPackageList = action(\"PARMA_PACKAGE_LIST\", {\n slug: \"parma-package-list\",\n name: \"List Parma CKAN datasets\",\n description: \"Tool to retrieve all dataset identifiers from the Parma CKAN instance. Use when you need to list every available dataset ID.\",\n input: ParmaPackageListInput,\n output: ParmaPackageListOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"package-list.mjs","names":[],"sources":["../../src/actions/package-list.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 ParmaPackageListInput = z.object({}).describe(\"No request parameters for package_list action.\");\nexport const ParmaPackageListOutput = z.object({\n help: z.string().describe(\"Help text about the API endpoint.\").nullable(),\n result: z.array(z.string()).describe(\"List of dataset identifiers available in the catalog.\"),\n success: z.boolean().describe(\"Indicates whether the API call was successful.\").nullable(),\n}).passthrough();\n\nexport const parmaPackageList: AppAction<\n typeof ParmaPackageListInput,\n typeof ParmaPackageListOutput,\n typeof parma.credential\n> = action(\"PARMA_PACKAGE_LIST\", {\n slug: \"parma-package-list\",\n name: \"List Parma CKAN datasets\",\n description: \"Tool to retrieve all dataset identifiers from the Parma CKAN instance. Use when you need to list every available dataset ID.\",\n input: ParmaPackageListInput,\n output: ParmaPackageListOutput,\n});\n"],"mappings":";;;AAaA,MAAa,mBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAelD;CACP,QAfoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD;EAC5F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-relationship-from-group.cjs","names":["z","action"],"sources":["../../src/actions/remove-relationship-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaRemoveRelationshipFromGroupInput = z.object({\n relationship_id: z.string().describe(\"The unique identifier of the relationship to remove from the group\"),\n relationship_group_id: z.string().describe(\"The unique identifier of the group from which to remove the relationship\"),\n}).describe(\"Request model for removing a relationship from a group.\");\nexport const ParmaRemoveRelationshipFromGroupOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the relationship was successfully removed from the group\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing a relationship from a group.\\nEmpty response on successful removal (204 No Content).\");\n\nexport const parmaRemoveRelationshipFromGroup = action(\"PARMA_REMOVE_RELATIONSHIP_FROM_GROUP\", {\n slug: \"parma-remove-relationship-from-group\",\n name: \"Remove Relationship From Group\",\n description: \"Tool to remove a relationship from a group. Use when you need to dissociate a relationship from a specific relationship group. Returns success status on completion (HTTP 204).\",\n input: ParmaRemoveRelationshipFromGroupInput,\n output: ParmaRemoveRelationshipFromGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-relationship-from-group.cjs","names":["z","action"],"sources":["../../src/actions/remove-relationship-from-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 ParmaRemoveRelationshipFromGroupInput = z.object({\n relationship_id: z.string().describe(\"The unique identifier of the relationship to remove from the group\"),\n relationship_group_id: z.string().describe(\"The unique identifier of the group from which to remove the relationship\"),\n}).describe(\"Request model for removing a relationship from a group.\");\nexport const ParmaRemoveRelationshipFromGroupOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the relationship was successfully removed from the group\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing a relationship from a group.\\nEmpty response on successful removal (204 No Content).\");\n\nexport const parmaRemoveRelationshipFromGroup: AppAction<\n typeof ParmaRemoveRelationshipFromGroupInput,\n typeof ParmaRemoveRelationshipFromGroupOutput,\n typeof parma.credential\n> = action(\"PARMA_REMOVE_RELATIONSHIP_FROM_GROUP\", {\n slug: \"parma-remove-relationship-from-group\",\n name: \"Remove Relationship From Group\",\n description: \"Tool to remove a relationship from a group. Use when you need to dissociate a relationship from a specific relationship group. Returns success status on completion (HTTP 204).\",\n input: ParmaRemoveRelationshipFromGroupInput,\n output: ParmaRemoveRelationshipFromGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACzG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;AACvH,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAAkH;AAE5I,MAAa,mCAITC,eAAAA,OAAO,wCAAwC;CACjD,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/remove-relationship-from-group.d.ts
|
|
@@ -8,22 +10,7 @@ declare const ParmaRemoveRelationshipFromGroupInput: z.ZodObject<{
|
|
|
8
10
|
declare const ParmaRemoveRelationshipFromGroupOutput: z.ZodObject<{
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parmaRemoveRelationshipFromGroup:
|
|
12
|
-
relationship_id: string;
|
|
13
|
-
relationship_group_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parmaRemoveRelationshipFromGroup: AppAction<typeof ParmaRemoveRelationshipFromGroupInput, typeof ParmaRemoveRelationshipFromGroupOutput, typeof parma.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { parmaRemoveRelationshipFromGroup };
|
|
29
16
|
//# sourceMappingURL=remove-relationship-from-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-relationship-from-group.d.cts","names":[],"sources":["../../src/actions/remove-relationship-from-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-relationship-from-group.d.cts","names":[],"sources":["../../src/actions/remove-relationship-from-group.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,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/remove-relationship-from-group.d.ts
|
|
@@ -8,22 +10,7 @@ declare const ParmaRemoveRelationshipFromGroupInput: z.ZodObject<{
|
|
|
8
10
|
declare const ParmaRemoveRelationshipFromGroupOutput: z.ZodObject<{
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const parmaRemoveRelationshipFromGroup:
|
|
12
|
-
relationship_id: string;
|
|
13
|
-
relationship_group_id: string;
|
|
14
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
15
|
-
connectionId: z.ZodString;
|
|
16
|
-
entityId: z.ZodString;
|
|
17
|
-
instanceId: z.ZodString;
|
|
18
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
19
|
-
generic_api_key: z.ZodString;
|
|
20
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
generic_api_key: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const parmaRemoveRelationshipFromGroup: AppAction<typeof ParmaRemoveRelationshipFromGroupInput, typeof ParmaRemoveRelationshipFromGroupOutput, typeof parma.credential>;
|
|
27
14
|
//#endregion
|
|
28
15
|
export { parmaRemoveRelationshipFromGroup };
|
|
29
16
|
//# sourceMappingURL=remove-relationship-from-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-relationship-from-group.d.mts","names":[],"sources":["../../src/actions/remove-relationship-from-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-relationship-from-group.d.mts","names":[],"sources":["../../src/actions/remove-relationship-from-group.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-relationship-from-group.mjs","names":[],"sources":["../../src/actions/remove-relationship-from-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaRemoveRelationshipFromGroupInput = z.object({\n relationship_id: z.string().describe(\"The unique identifier of the relationship to remove from the group\"),\n relationship_group_id: z.string().describe(\"The unique identifier of the group from which to remove the relationship\"),\n}).describe(\"Request model for removing a relationship from a group.\");\nexport const ParmaRemoveRelationshipFromGroupOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the relationship was successfully removed from the group\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing a relationship from a group.\\nEmpty response on successful removal (204 No Content).\");\n\nexport const parmaRemoveRelationshipFromGroup = action(\"PARMA_REMOVE_RELATIONSHIP_FROM_GROUP\", {\n slug: \"parma-remove-relationship-from-group\",\n name: \"Remove Relationship From Group\",\n description: \"Tool to remove a relationship from a group. Use when you need to dissociate a relationship from a specific relationship group. Returns success status on completion (HTTP 204).\",\n input: ParmaRemoveRelationshipFromGroupInput,\n output: ParmaRemoveRelationshipFromGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"remove-relationship-from-group.mjs","names":[],"sources":["../../src/actions/remove-relationship-from-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 ParmaRemoveRelationshipFromGroupInput = z.object({\n relationship_id: z.string().describe(\"The unique identifier of the relationship to remove from the group\"),\n relationship_group_id: z.string().describe(\"The unique identifier of the group from which to remove the relationship\"),\n}).describe(\"Request model for removing a relationship from a group.\");\nexport const ParmaRemoveRelationshipFromGroupOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the relationship was successfully removed from the group\").nullable().optional(),\n}).passthrough().describe(\"Response model for removing a relationship from a group.\\nEmpty response on successful removal (204 No Content).\");\n\nexport const parmaRemoveRelationshipFromGroup: AppAction<\n typeof ParmaRemoveRelationshipFromGroupInput,\n typeof ParmaRemoveRelationshipFromGroupOutput,\n typeof parma.credential\n> = action(\"PARMA_REMOVE_RELATIONSHIP_FROM_GROUP\", {\n slug: \"parma-remove-relationship-from-group\",\n name: \"Remove Relationship From Group\",\n description: \"Tool to remove a relationship from a group. Use when you need to dissociate a relationship from a specific relationship group. Returns success status on completion (HTTP 204).\",\n input: ParmaRemoveRelationshipFromGroupInput,\n output: ParmaRemoveRelationshipFromGroupOutput,\n});\n"],"mappings":";;;AAcA,MAAa,mCAIT,OAAO,wCAAwC;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO;EAC5D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACzG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvH,CAAC,CAAC,CAAC,SAAS,yDAaH;CACP,QAboD,EAAE,OAAO,EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kHAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaUpdateNoteInput = z.object({\n id: z.string().describe(\"Unique identifier of the note to update\"),\n body: z.string().describe(\"Updated content/text of the note\").optional(),\n datetime: z.string().describe(\"Datetime associated with the note (ISO 8601 format)\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs to associate with this note\").optional(),\n}).describe(\"Request model for updating an existing note in Parma.\");\nconst ParmaUpdateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Datetime 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 associated with this note\").nullable().optional(),\n}).passthrough().describe(\"Note data structure in the response.\");\nexport const ParmaUpdateNoteOutput = z.object({\n data: ParmaUpdateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a note containing the updated note data.\");\n\nexport const parmaUpdateNote = action(\"PARMA_UPDATE_NOTE\", {\n slug: \"parma-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the Parma account. Use when you need to modify the content, datetime, or relationships of a specific note.\",\n input: ParmaUpdateNoteInput,\n output: ParmaUpdateNoteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note.cjs","names":["z","action"],"sources":["../../src/actions/update-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 ParmaUpdateNoteInput = z.object({\n id: z.string().describe(\"Unique identifier of the note to update\"),\n body: z.string().describe(\"Updated content/text of the note\").optional(),\n datetime: z.string().describe(\"Datetime associated with the note (ISO 8601 format)\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs to associate with this note\").optional(),\n}).describe(\"Request model for updating an existing note in Parma.\");\nconst ParmaUpdateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Datetime 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 associated with this note\").nullable().optional(),\n}).passthrough().describe(\"Note data structure in the response.\");\nexport const ParmaUpdateNoteOutput = z.object({\n data: ParmaUpdateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a note containing the updated note data.\");\n\nexport const parmaUpdateNote: AppAction<\n typeof ParmaUpdateNoteInput,\n typeof ParmaUpdateNoteOutput,\n typeof parma.credential\n> = action(\"PARMA_UPDATE_NOTE\", {\n slug: \"parma-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the Parma account. Use when you need to modify the content, datetime, or relationships of a specific note.\",\n input: ParmaUpdateNoteInput,\n output: ParmaUpdateNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,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,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAAuE;AAEjG,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/update-note.d.ts
|
|
@@ -17,24 +19,7 @@ declare const ParmaUpdateNoteOutput: z.ZodObject<{
|
|
|
17
19
|
relationship_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const parmaUpdateNote:
|
|
21
|
-
id: string;
|
|
22
|
-
body?: string | undefined;
|
|
23
|
-
datetime?: string | undefined;
|
|
24
|
-
relationship_ids?: number[] | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const parmaUpdateNote: AppAction<typeof ParmaUpdateNoteInput, typeof ParmaUpdateNoteOutput, typeof parma.credential>;
|
|
38
23
|
//#endregion
|
|
39
24
|
export { parmaUpdateNote };
|
|
40
25
|
//# sourceMappingURL=update-note.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.d.cts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note.d.cts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -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/update-note.d.ts
|
|
@@ -17,24 +19,7 @@ declare const ParmaUpdateNoteOutput: z.ZodObject<{
|
|
|
17
19
|
relationship_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
|
|
18
20
|
}, z.core.$loose>>;
|
|
19
21
|
}, z.core.$loose>;
|
|
20
|
-
declare const parmaUpdateNote:
|
|
21
|
-
id: string;
|
|
22
|
-
body?: string | undefined;
|
|
23
|
-
datetime?: string | undefined;
|
|
24
|
-
relationship_ids?: number[] | undefined;
|
|
25
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
generic_api_key: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
32
|
-
connectionId: z.ZodString;
|
|
33
|
-
entityId: z.ZodString;
|
|
34
|
-
instanceId: z.ZodString;
|
|
35
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
36
|
-
generic_api_key: z.ZodString;
|
|
37
|
-
}, z.core.$strip>>]>;
|
|
22
|
+
declare const parmaUpdateNote: AppAction<typeof ParmaUpdateNoteInput, typeof ParmaUpdateNoteOutput, typeof parma.credential>;
|
|
38
23
|
//#endregion
|
|
39
24
|
export { parmaUpdateNote };
|
|
40
25
|
//# sourceMappingURL=update-note.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note.d.mts","names":[],"sources":["../../src/actions/update-note.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-note.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaUpdateNoteInput = z.object({\n id: z.string().describe(\"Unique identifier of the note to update\"),\n body: z.string().describe(\"Updated content/text of the note\").optional(),\n datetime: z.string().describe(\"Datetime associated with the note (ISO 8601 format)\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs to associate with this note\").optional(),\n}).describe(\"Request model for updating an existing note in Parma.\");\nconst ParmaUpdateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Datetime 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 associated with this note\").nullable().optional(),\n}).passthrough().describe(\"Note data structure in the response.\");\nexport const ParmaUpdateNoteOutput = z.object({\n data: ParmaUpdateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a note containing the updated note data.\");\n\nexport const parmaUpdateNote = action(\"PARMA_UPDATE_NOTE\", {\n slug: \"parma-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the Parma account. Use when you need to modify the content, datetime, or relationships of a specific note.\",\n input: ParmaUpdateNoteInput,\n output: ParmaUpdateNoteOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-note.mjs","names":[],"sources":["../../src/actions/update-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 ParmaUpdateNoteInput = z.object({\n id: z.string().describe(\"Unique identifier of the note to update\"),\n body: z.string().describe(\"Updated content/text of the note\").optional(),\n datetime: z.string().describe(\"Datetime associated with the note (ISO 8601 format)\").optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs to associate with this note\").optional(),\n}).describe(\"Request model for updating an existing note in Parma.\");\nconst ParmaUpdateNote_NoteDataSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Datetime 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 associated with this note\").nullable().optional(),\n}).passthrough().describe(\"Note data structure in the response.\");\nexport const ParmaUpdateNoteOutput = z.object({\n data: ParmaUpdateNote_NoteDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a note containing the updated note data.\");\n\nexport const parmaUpdateNote: AppAction<\n typeof ParmaUpdateNoteInput,\n typeof ParmaUpdateNoteOutput,\n typeof parma.credential\n> = action(\"PARMA_UPDATE_NOTE\", {\n slug: \"parma-update-note\",\n name: \"Update Note\",\n description: \"Tool to update an existing note in the Parma account. Use when you need to modify the content, datetime, or relationships of a specific note.\",\n input: ParmaUpdateNoteInput,\n output: ParmaUpdateNoteOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,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,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAKhE,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,uEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-relationship.cjs","names":["z","action"],"sources":["../../src/actions/update-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaUpdateRelationshipInput = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to update\"),\n name: z.string().describe(\"Updated name of the relationship\").optional(),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship entity.\").optional(),\n about: z.string().describe(\"Updated description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs to associate with this relationship\").optional(),\n company_id: z.number().int().describe(\"Company ID to associate with this relationship\").optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties array for the relationship\").optional(),\n}).describe(\"Request model for updating a relationship in Parma.\");\nconst ParmaUpdateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of 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(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID if applicable\").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 ParmaUpdateRelationshipOutput = z.object({\n data: ParmaUpdateRelationship_RelationshipDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a relationship.\");\n\nexport const parmaUpdateRelationship = action(\"PARMA_UPDATE_RELATIONSHIP\", {\n slug: \"parma-update-relationship\",\n name: \"Update Relationship\",\n description: \"Tool to update an existing relationship in the Parma account. Use when you need to modify relationship details such as name, description, type, or associated groups.\",\n input: ParmaUpdateRelationshipInput,\n output: ParmaUpdateRelationshipOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-relationship.cjs","names":["z","action"],"sources":["../../src/actions/update-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 ParmaUpdateRelationshipInput = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to update\"),\n name: z.string().describe(\"Updated name of the relationship\").optional(),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship entity.\").optional(),\n about: z.string().describe(\"Updated description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs to associate with this relationship\").optional(),\n company_id: z.number().int().describe(\"Company ID to associate with this relationship\").optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties array for the relationship\").optional(),\n}).describe(\"Request model for updating a relationship in Parma.\");\nconst ParmaUpdateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of 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(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID if applicable\").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 ParmaUpdateRelationshipOutput = z.object({\n data: ParmaUpdateRelationship_RelationshipDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a relationship.\");\n\nexport const parmaUpdateRelationship: AppAction<\n typeof ParmaUpdateRelationshipInput,\n typeof ParmaUpdateRelationshipOutput,\n typeof parma.credential\n> = action(\"PARMA_UPDATE_RELATIONSHIP\", {\n slug: \"parma-update-relationship\",\n name: \"Update Relationship\",\n description: \"Tool to update an existing relationship in the Parma account. Use when you need to modify relationship details such as name, description, type, or associated groups.\",\n input: ParmaUpdateRelationshipInput,\n output: ParmaUpdateRelationshipOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,MAAM,+CAA+C,SAAS,EAChE,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/update-relationship.d.ts
|
|
@@ -27,27 +29,7 @@ declare const ParmaUpdateRelationshipOutput: z.ZodObject<{
|
|
|
27
29
|
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
28
30
|
}, z.core.$loose>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const parmaUpdateRelationship:
|
|
31
|
-
id: string;
|
|
32
|
-
name?: string | undefined;
|
|
33
|
-
type?: "person" | "company" | undefined;
|
|
34
|
-
about?: string | undefined;
|
|
35
|
-
group_ids?: number[] | undefined;
|
|
36
|
-
company_id?: number | undefined;
|
|
37
|
-
properties?: Record<string, unknown>[] | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const parmaUpdateRelationship: AppAction<typeof ParmaUpdateRelationshipInput, typeof ParmaUpdateRelationshipOutput, typeof parma.credential>;
|
|
51
33
|
//#endregion
|
|
52
34
|
export { parmaUpdateRelationship };
|
|
53
35
|
//# sourceMappingURL=update-relationship.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-relationship.d.cts","names":[],"sources":["../../src/actions/update-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-relationship.d.cts","names":[],"sources":["../../src/actions/update-relationship.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqB5B,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/update-relationship.d.ts
|
|
@@ -27,27 +29,7 @@ declare const ParmaUpdateRelationshipOutput: z.ZodObject<{
|
|
|
27
29
|
contact_details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
28
30
|
}, z.core.$loose>>;
|
|
29
31
|
}, z.core.$loose>;
|
|
30
|
-
declare const parmaUpdateRelationship:
|
|
31
|
-
id: string;
|
|
32
|
-
name?: string | undefined;
|
|
33
|
-
type?: "person" | "company" | undefined;
|
|
34
|
-
about?: string | undefined;
|
|
35
|
-
group_ids?: number[] | undefined;
|
|
36
|
-
company_id?: number | undefined;
|
|
37
|
-
properties?: Record<string, unknown>[] | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
generic_api_key: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
generic_api_key: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
32
|
+
declare const parmaUpdateRelationship: AppAction<typeof ParmaUpdateRelationshipInput, typeof ParmaUpdateRelationshipOutput, typeof parma.credential>;
|
|
51
33
|
//#endregion
|
|
52
34
|
export { parmaUpdateRelationship };
|
|
53
35
|
//# sourceMappingURL=update-relationship.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-relationship.d.mts","names":[],"sources":["../../src/actions/update-relationship.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-relationship.d.mts","names":[],"sources":["../../src/actions/update-relationship.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,KAAA,CAAM,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-relationship.mjs","names":[],"sources":["../../src/actions/update-relationship.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaUpdateRelationshipInput = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to update\"),\n name: z.string().describe(\"Updated name of the relationship\").optional(),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship entity.\").optional(),\n about: z.string().describe(\"Updated description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs to associate with this relationship\").optional(),\n company_id: z.number().int().describe(\"Company ID to associate with this relationship\").optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties array for the relationship\").optional(),\n}).describe(\"Request model for updating a relationship in Parma.\");\nconst ParmaUpdateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of 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(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID if applicable\").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 ParmaUpdateRelationshipOutput = z.object({\n data: ParmaUpdateRelationship_RelationshipDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a relationship.\");\n\nexport const parmaUpdateRelationship = action(\"PARMA_UPDATE_RELATIONSHIP\", {\n slug: \"parma-update-relationship\",\n name: \"Update Relationship\",\n description: \"Tool to update an existing relationship in the Parma account. Use when you need to modify relationship details such as name, description, type, or associated groups.\",\n input: ParmaUpdateRelationshipInput,\n output: ParmaUpdateRelationshipOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-relationship.mjs","names":[],"sources":["../../src/actions/update-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 ParmaUpdateRelationshipInput = z.object({\n id: z.string().describe(\"The unique identifier of the relationship to update\"),\n name: z.string().describe(\"Updated name of the relationship\").optional(),\n type: z.enum([\"person\", \"company\"]).describe(\"Type of relationship entity.\").optional(),\n about: z.string().describe(\"Updated description or notes about the relationship\").optional(),\n group_ids: z.array(z.number().int()).describe(\"List of group IDs to associate with this relationship\").optional(),\n company_id: z.number().int().describe(\"Company ID to associate with this relationship\").optional(),\n properties: z.array(z.record(z.string(), z.unknown())).describe(\"Custom properties array for the relationship\").optional(),\n}).describe(\"Request model for updating a relationship in Parma.\");\nconst ParmaUpdateRelationship_RelationshipDataSchema = z.object({\n id: z.number().int().describe(\"Relationship's unique identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of 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(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID if applicable\").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 ParmaUpdateRelationshipOutput = z.object({\n data: ParmaUpdateRelationship_RelationshipDataSchema.nullable(),\n}).passthrough().describe(\"Response schema for updating a relationship.\");\n\nexport const parmaUpdateRelationship: AppAction<\n typeof ParmaUpdateRelationshipInput,\n typeof ParmaUpdateRelationshipOutput,\n typeof parma.credential\n> = action(\"PARMA_UPDATE_RELATIONSHIP\", {\n slug: \"parma-update-relationship\",\n name: \"Update Relationship\",\n description: \"Tool to update an existing relationship in the Parma account. Use when you need to modify relationship details such as name, description, type, or associated groups.\",\n input: ParmaUpdateRelationshipInput,\n output: ParmaUpdateRelationshipOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+B,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,KAAK,CAAC,UAAU,SAAS,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACtF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAChH,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACjG,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,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,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,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,EAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const parma = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "parma",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.parma = parma;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const parma = defineApp({\n slug: \"parma\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const parma: KeystrokeApp<\"parma\", typeof credential> = defineApp({\n slug: \"parma\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAA4D;CACvE,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const parma: KeystrokeApp<"parma", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { parma };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const parma: KeystrokeApp<"parma", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { parma };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,KAAA,EAAO,YAAY,iBAAiB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const parma = defineApp({\n slug: \"parma\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const parma: KeystrokeApp<\"parma\", typeof credential> = defineApp({\n slug: \"parma\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,QAAkD,UAAU;CACvE,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parma } from "./app.cjs";
|
|
1
2
|
import { parmaAddRelationshipToGroup } from "./actions/add-relationship-to-group.cjs";
|
|
2
3
|
import { parmaCreateNote } from "./actions/create-note.cjs";
|
|
3
4
|
import { parmaCreateRelationship } from "./actions/create-relationship.cjs";
|
|
@@ -21,6 +22,5 @@ import { parmaPackageList } from "./actions/package-list.cjs";
|
|
|
21
22
|
import { parmaRemoveRelationshipFromGroup } from "./actions/remove-relationship-from-group.cjs";
|
|
22
23
|
import { parmaUpdateNote } from "./actions/update-note.cjs";
|
|
23
24
|
import { parmaUpdateRelationship } from "./actions/update-relationship.cjs";
|
|
24
|
-
import { parma } from "./app.cjs";
|
|
25
25
|
import { parmaCatalog } from "./catalog.cjs";
|
|
26
26
|
export { parma, parmaAddRelationshipToGroup, parmaCatalog, parmaCreateNote, parmaCreateRelationship, parmaDataJson, parmaDeleteRelationship, parmaGetPipeline, parmaGetRelationship, parmaGetStage, parmaGetUser, parmaGetUserProfile, parmaListDeals, parmaListGroups, parmaListNotes, parmaListPipelines, parmaListRelationshipGroups, parmaListRelationshipNotes, parmaListRelationships, parmaListStages, parmaListUsers, parmaPackageList, parmaRemoveRelationshipFromGroup, parmaUpdateNote, parmaUpdateRelationship };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parma } from "./app.mjs";
|
|
1
2
|
import { parmaAddRelationshipToGroup } from "./actions/add-relationship-to-group.mjs";
|
|
2
3
|
import { parmaCreateNote } from "./actions/create-note.mjs";
|
|
3
4
|
import { parmaCreateRelationship } from "./actions/create-relationship.mjs";
|
|
@@ -21,6 +22,5 @@ import { parmaPackageList } from "./actions/package-list.mjs";
|
|
|
21
22
|
import { parmaRemoveRelationshipFromGroup } from "./actions/remove-relationship-from-group.mjs";
|
|
22
23
|
import { parmaUpdateNote } from "./actions/update-note.mjs";
|
|
23
24
|
import { parmaUpdateRelationship } from "./actions/update-relationship.mjs";
|
|
24
|
-
import { parma } from "./app.mjs";
|
|
25
25
|
import { parmaCatalog } from "./catalog.mjs";
|
|
26
26
|
export { parma, parmaAddRelationshipToGroup, parmaCatalog, parmaCreateNote, parmaCreateRelationship, parmaDataJson, parmaDeleteRelationship, parmaGetPipeline, parmaGetRelationship, parmaGetStage, parmaGetUser, parmaGetUserProfile, parmaListDeals, parmaListGroups, parmaListNotes, parmaListPipelines, parmaListRelationshipGroups, parmaListRelationshipNotes, parmaListRelationships, parmaListStages, parmaListUsers, parmaPackageList, parmaRemoveRelationshipFromGroup, parmaUpdateNote, parmaUpdateRelationship };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/parma",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|