@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.
Files changed (197) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-relationship-to-group.cjs +1 -0
  4. package/dist/actions/add-relationship-to-group.cjs.map +1 -1
  5. package/dist/actions/add-relationship-to-group.d.cts +3 -16
  6. package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
  7. package/dist/actions/add-relationship-to-group.d.mts +3 -16
  8. package/dist/actions/add-relationship-to-group.d.mts.map +1 -1
  9. package/dist/actions/add-relationship-to-group.mjs +1 -0
  10. package/dist/actions/add-relationship-to-group.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +1 -0
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +3 -17
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +3 -17
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +1 -0
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/create-relationship.cjs +1 -0
  20. package/dist/actions/create-relationship.cjs.map +1 -1
  21. package/dist/actions/create-relationship.d.cts +3 -19
  22. package/dist/actions/create-relationship.d.cts.map +1 -1
  23. package/dist/actions/create-relationship.d.mts +3 -19
  24. package/dist/actions/create-relationship.d.mts.map +1 -1
  25. package/dist/actions/create-relationship.mjs +1 -0
  26. package/dist/actions/create-relationship.mjs.map +1 -1
  27. package/dist/actions/data-json.cjs +1 -0
  28. package/dist/actions/data-json.cjs.map +1 -1
  29. package/dist/actions/data-json.d.cts +3 -13
  30. package/dist/actions/data-json.d.cts.map +1 -1
  31. package/dist/actions/data-json.d.mts +3 -13
  32. package/dist/actions/data-json.d.mts.map +1 -1
  33. package/dist/actions/data-json.mjs +1 -0
  34. package/dist/actions/data-json.mjs.map +1 -1
  35. package/dist/actions/delete-relationship.cjs +1 -0
  36. package/dist/actions/delete-relationship.cjs.map +1 -1
  37. package/dist/actions/delete-relationship.d.cts +3 -15
  38. package/dist/actions/delete-relationship.d.cts.map +1 -1
  39. package/dist/actions/delete-relationship.d.mts +3 -15
  40. package/dist/actions/delete-relationship.d.mts.map +1 -1
  41. package/dist/actions/delete-relationship.mjs +1 -0
  42. package/dist/actions/delete-relationship.mjs.map +1 -1
  43. package/dist/actions/get-pipeline.cjs +1 -0
  44. package/dist/actions/get-pipeline.cjs.map +1 -1
  45. package/dist/actions/get-pipeline.d.cts +3 -15
  46. package/dist/actions/get-pipeline.d.cts.map +1 -1
  47. package/dist/actions/get-pipeline.d.mts +3 -15
  48. package/dist/actions/get-pipeline.d.mts.map +1 -1
  49. package/dist/actions/get-pipeline.mjs +1 -0
  50. package/dist/actions/get-pipeline.mjs.map +1 -1
  51. package/dist/actions/get-relationship.cjs +1 -0
  52. package/dist/actions/get-relationship.cjs.map +1 -1
  53. package/dist/actions/get-relationship.d.cts +3 -15
  54. package/dist/actions/get-relationship.d.cts.map +1 -1
  55. package/dist/actions/get-relationship.d.mts +3 -15
  56. package/dist/actions/get-relationship.d.mts.map +1 -1
  57. package/dist/actions/get-relationship.mjs +1 -0
  58. package/dist/actions/get-relationship.mjs.map +1 -1
  59. package/dist/actions/get-stage.cjs +1 -0
  60. package/dist/actions/get-stage.cjs.map +1 -1
  61. package/dist/actions/get-stage.d.cts +3 -15
  62. package/dist/actions/get-stage.d.cts.map +1 -1
  63. package/dist/actions/get-stage.d.mts +3 -15
  64. package/dist/actions/get-stage.d.mts.map +1 -1
  65. package/dist/actions/get-stage.mjs +1 -0
  66. package/dist/actions/get-stage.mjs.map +1 -1
  67. package/dist/actions/get-user-profile.cjs +1 -0
  68. package/dist/actions/get-user-profile.cjs.map +1 -1
  69. package/dist/actions/get-user-profile.d.cts +3 -13
  70. package/dist/actions/get-user-profile.d.cts.map +1 -1
  71. package/dist/actions/get-user-profile.d.mts +3 -13
  72. package/dist/actions/get-user-profile.d.mts.map +1 -1
  73. package/dist/actions/get-user-profile.mjs +1 -0
  74. package/dist/actions/get-user-profile.mjs.map +1 -1
  75. package/dist/actions/get-user.cjs +1 -0
  76. package/dist/actions/get-user.cjs.map +1 -1
  77. package/dist/actions/get-user.d.cts +3 -15
  78. package/dist/actions/get-user.d.cts.map +1 -1
  79. package/dist/actions/get-user.d.mts +3 -15
  80. package/dist/actions/get-user.d.mts.map +1 -1
  81. package/dist/actions/get-user.mjs +1 -0
  82. package/dist/actions/get-user.mjs.map +1 -1
  83. package/dist/actions/list-deals.cjs +1 -0
  84. package/dist/actions/list-deals.cjs.map +1 -1
  85. package/dist/actions/list-deals.d.cts +3 -15
  86. package/dist/actions/list-deals.d.cts.map +1 -1
  87. package/dist/actions/list-deals.d.mts +3 -15
  88. package/dist/actions/list-deals.d.mts.map +1 -1
  89. package/dist/actions/list-deals.mjs +1 -0
  90. package/dist/actions/list-deals.mjs.map +1 -1
  91. package/dist/actions/list-groups.cjs +1 -0
  92. package/dist/actions/list-groups.cjs.map +1 -1
  93. package/dist/actions/list-groups.d.cts +3 -16
  94. package/dist/actions/list-groups.d.cts.map +1 -1
  95. package/dist/actions/list-groups.d.mts +3 -16
  96. package/dist/actions/list-groups.d.mts.map +1 -1
  97. package/dist/actions/list-groups.mjs +1 -0
  98. package/dist/actions/list-groups.mjs.map +1 -1
  99. package/dist/actions/list-notes.cjs +1 -0
  100. package/dist/actions/list-notes.cjs.map +1 -1
  101. package/dist/actions/list-notes.d.cts +3 -15
  102. package/dist/actions/list-notes.d.cts.map +1 -1
  103. package/dist/actions/list-notes.d.mts +3 -15
  104. package/dist/actions/list-notes.d.mts.map +1 -1
  105. package/dist/actions/list-notes.mjs +1 -0
  106. package/dist/actions/list-notes.mjs.map +1 -1
  107. package/dist/actions/list-pipelines.cjs +1 -0
  108. package/dist/actions/list-pipelines.cjs.map +1 -1
  109. package/dist/actions/list-pipelines.d.cts +3 -13
  110. package/dist/actions/list-pipelines.d.cts.map +1 -1
  111. package/dist/actions/list-pipelines.d.mts +3 -13
  112. package/dist/actions/list-pipelines.d.mts.map +1 -1
  113. package/dist/actions/list-pipelines.mjs +1 -0
  114. package/dist/actions/list-pipelines.mjs.map +1 -1
  115. package/dist/actions/list-relationship-groups.cjs +1 -0
  116. package/dist/actions/list-relationship-groups.cjs.map +1 -1
  117. package/dist/actions/list-relationship-groups.d.cts +3 -15
  118. package/dist/actions/list-relationship-groups.d.cts.map +1 -1
  119. package/dist/actions/list-relationship-groups.d.mts +3 -15
  120. package/dist/actions/list-relationship-groups.d.mts.map +1 -1
  121. package/dist/actions/list-relationship-groups.mjs +1 -0
  122. package/dist/actions/list-relationship-groups.mjs.map +1 -1
  123. package/dist/actions/list-relationship-notes.cjs +1 -0
  124. package/dist/actions/list-relationship-notes.cjs.map +1 -1
  125. package/dist/actions/list-relationship-notes.d.cts +3 -16
  126. package/dist/actions/list-relationship-notes.d.cts.map +1 -1
  127. package/dist/actions/list-relationship-notes.d.mts +3 -16
  128. package/dist/actions/list-relationship-notes.d.mts.map +1 -1
  129. package/dist/actions/list-relationship-notes.mjs +1 -0
  130. package/dist/actions/list-relationship-notes.mjs.map +1 -1
  131. package/dist/actions/list-relationships.cjs +1 -0
  132. package/dist/actions/list-relationships.cjs.map +1 -1
  133. package/dist/actions/list-relationships.d.cts +3 -26
  134. package/dist/actions/list-relationships.d.cts.map +1 -1
  135. package/dist/actions/list-relationships.d.mts +3 -26
  136. package/dist/actions/list-relationships.d.mts.map +1 -1
  137. package/dist/actions/list-relationships.mjs +1 -0
  138. package/dist/actions/list-relationships.mjs.map +1 -1
  139. package/dist/actions/list-stages.cjs +1 -0
  140. package/dist/actions/list-stages.cjs.map +1 -1
  141. package/dist/actions/list-stages.d.cts +3 -13
  142. package/dist/actions/list-stages.d.cts.map +1 -1
  143. package/dist/actions/list-stages.d.mts +3 -13
  144. package/dist/actions/list-stages.d.mts.map +1 -1
  145. package/dist/actions/list-stages.mjs +1 -0
  146. package/dist/actions/list-stages.mjs.map +1 -1
  147. package/dist/actions/list-users.cjs +1 -0
  148. package/dist/actions/list-users.cjs.map +1 -1
  149. package/dist/actions/list-users.d.cts +3 -15
  150. package/dist/actions/list-users.d.cts.map +1 -1
  151. package/dist/actions/list-users.d.mts +3 -15
  152. package/dist/actions/list-users.d.mts.map +1 -1
  153. package/dist/actions/list-users.mjs +1 -0
  154. package/dist/actions/list-users.mjs.map +1 -1
  155. package/dist/actions/package-list.cjs +1 -0
  156. package/dist/actions/package-list.cjs.map +1 -1
  157. package/dist/actions/package-list.d.cts +3 -13
  158. package/dist/actions/package-list.d.cts.map +1 -1
  159. package/dist/actions/package-list.d.mts +3 -13
  160. package/dist/actions/package-list.d.mts.map +1 -1
  161. package/dist/actions/package-list.mjs +1 -0
  162. package/dist/actions/package-list.mjs.map +1 -1
  163. package/dist/actions/remove-relationship-from-group.cjs +1 -0
  164. package/dist/actions/remove-relationship-from-group.cjs.map +1 -1
  165. package/dist/actions/remove-relationship-from-group.d.cts +3 -16
  166. package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
  167. package/dist/actions/remove-relationship-from-group.d.mts +3 -16
  168. package/dist/actions/remove-relationship-from-group.d.mts.map +1 -1
  169. package/dist/actions/remove-relationship-from-group.mjs +1 -0
  170. package/dist/actions/remove-relationship-from-group.mjs.map +1 -1
  171. package/dist/actions/update-note.cjs +1 -0
  172. package/dist/actions/update-note.cjs.map +1 -1
  173. package/dist/actions/update-note.d.cts +3 -18
  174. package/dist/actions/update-note.d.cts.map +1 -1
  175. package/dist/actions/update-note.d.mts +3 -18
  176. package/dist/actions/update-note.d.mts.map +1 -1
  177. package/dist/actions/update-note.mjs +1 -0
  178. package/dist/actions/update-note.mjs.map +1 -1
  179. package/dist/actions/update-relationship.cjs +1 -0
  180. package/dist/actions/update-relationship.cjs.map +1 -1
  181. package/dist/actions/update-relationship.d.cts +3 -21
  182. package/dist/actions/update-relationship.d.cts.map +1 -1
  183. package/dist/actions/update-relationship.d.mts +3 -21
  184. package/dist/actions/update-relationship.d.mts.map +1 -1
  185. package/dist/actions/update-relationship.mjs +1 -0
  186. package/dist/actions/update-relationship.mjs.map +1 -1
  187. package/dist/app.cjs +2 -2
  188. package/dist/app.cjs.map +1 -1
  189. package/dist/app.d.cts +4 -6
  190. package/dist/app.d.cts.map +1 -1
  191. package/dist/app.d.mts +4 -6
  192. package/dist/app.d.mts.map +1 -1
  193. package/dist/app.mjs +0 -1
  194. package/dist/app.mjs.map +1 -1
  195. package/dist/index.d.cts +1 -1
  196. package/dist/index.d.mts +1 -1
  197. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { parma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-relationship-groups.d.ts
@@ -12,21 +14,7 @@ declare const ParmaListRelationshipGroupsOutput: z.ZodObject<{
12
14
  updated_at: z.ZodNullable<z.ZodString>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const parmaListRelationshipGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- relationship_id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
18
- connectionId: z.ZodString;
19
- entityId: z.ZodString;
20
- instanceId: z.ZodString;
21
- }, z.core.$strip>, z.ZodObject<{
22
- generic_api_key: z.ZodString;
23
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
24
- connectionId: z.ZodString;
25
- entityId: z.ZodString;
26
- instanceId: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- generic_api_key: z.ZodString;
29
- }, z.core.$strip>>]>;
17
+ declare const parmaListRelationshipGroups: AppAction<typeof ParmaListRelationshipGroupsInput, typeof ParmaListRelationshipGroupsOutput, typeof parma.credential>;
30
18
  //#endregion
31
19
  export { parmaListRelationshipGroups };
32
20
  //# sourceMappingURL=list-relationship-groups.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationship-groups.d.mts","names":[],"sources":["../../src/actions/list-relationship-groups.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"list-relationship-groups.d.mts","names":[],"sources":["../../src/actions/list-relationship-groups.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAShC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-relationship-groups.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationship-groups.mjs","names":[],"sources":["../../src/actions/list-relationship-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipGroupsInput = z.object({\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve groups for\"),\n}).describe(\"Request model for listing all groups linked to a relationship.\");\nconst ParmaListRelationshipGroups_RelationshipGroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship group link\").nullable(),\n group_id: z.number().int().describe(\"The group's unique identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the relationship-group link was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the relationship-group link was last updated\").nullable(),\n}).passthrough().describe(\"Represents a group linked to a relationship.\");\nexport const ParmaListRelationshipGroupsOutput = z.object({\n data: z.array(ParmaListRelationshipGroups_RelationshipGroupSchema).describe(\"Array of groups associated with the relationship\"),\n}).passthrough().describe(\"Response schema containing list of groups linked to a relationship.\");\n\nexport const parmaListRelationshipGroups = action(\"PARMA_LIST_RELATIONSHIP_GROUPS\", {\n slug: \"parma-list-relationship-groups\",\n name: \"List Relationship Groups\",\n description: \"Tool to retrieve all groups linked to a specific relationship. Use when you need to see which groups are associated with a given relationship ID.\",\n input: ParmaListRelationshipGroupsInput,\n output: ParmaListRelationshipGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACzG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-relationship-groups.mjs","names":[],"sources":["../../src/actions/list-relationship-groups.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { parma } from \"../app\";\n\nexport const ParmaListRelationshipGroupsInput = z.object({\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve groups for\"),\n}).describe(\"Request model for listing all groups linked to a relationship.\");\nconst ParmaListRelationshipGroups_RelationshipGroupSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the relationship group link\").nullable(),\n group_id: z.number().int().describe(\"The group's unique identifier\").nullable(),\n created_at: z.string().describe(\"Timestamp when the relationship-group link was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the relationship-group link was last updated\").nullable(),\n}).passthrough().describe(\"Represents a group linked to a relationship.\");\nexport const ParmaListRelationshipGroupsOutput = z.object({\n data: z.array(ParmaListRelationshipGroups_RelationshipGroupSchema).describe(\"Array of groups associated with the relationship\"),\n}).passthrough().describe(\"Response schema containing list of groups linked to a relationship.\");\n\nexport const parmaListRelationshipGroups: AppAction<\n typeof ParmaListRelationshipGroupsInput,\n typeof ParmaListRelationshipGroupsOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_RELATIONSHIP_GROUPS\", {\n slug: \"parma-list-relationship-groups\",\n name: \"List Relationship Groups\",\n description: \"Tool to retrieve all groups linked to a specific relationship. Use when you need to see which groups are associated with a given relationship ID.\",\n input: ParmaListRelationshipGroupsInput,\n output: ParmaListRelationshipGroupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO,EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,EACzG,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,sDAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,8BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,MAAM,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,kDAAkD,EAChI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-relationship-notes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationship-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-relationship-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipNotesInput = z.object({\n page: z.string().describe(\"Page number for pagination of results\").optional(),\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve notes for\"),\n}).describe(\"Request model for listing all notes linked to a relationship.\");\nconst ParmaListRelationshipNotes_NoteSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/body text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Date and time associated with the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs this note is linked to\").nullable().optional(),\n}).passthrough().describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).passthrough().describe(\"Response schema containing all notes linked to a relationship.\");\n\nexport const parmaListRelationshipNotes = action(\"PARMA_LIST_RELATIONSHIP_NOTES\", {\n slug: \"parma-list-relationship-notes\",\n name: \"List Relationship Notes\",\n description: \"Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.\",\n input: ParmaListRelationshipNotesInput,\n output: ParmaListRelationshipNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACxG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAC9E,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAMA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0CAA0C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAAgE;AAE1F,MAAa,6BAA6BC,eAAAA,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-relationship-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-relationship-notes.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 ParmaListRelationshipNotesInput = z.object({\n page: z.string().describe(\"Page number for pagination of results\").optional(),\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve notes for\"),\n}).describe(\"Request model for listing all notes linked to a relationship.\");\nconst ParmaListRelationshipNotes_NoteSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/body text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Date and time associated with the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs this note is linked to\").nullable().optional(),\n}).passthrough().describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).passthrough().describe(\"Response schema containing all notes linked to a relationship.\");\n\nexport const parmaListRelationshipNotes: AppAction<\n typeof ParmaListRelationshipNotesInput,\n typeof ParmaListRelationshipNotesOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_RELATIONSHIP_NOTES\", {\n slug: \"parma-list-relationship-notes\",\n name: \"List Relationship Notes\",\n description: \"Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.\",\n input: ParmaListRelationshipNotesInput,\n output: ParmaListRelationshipNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAA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1,5 @@
1
+ import { parma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-relationship-notes.d.ts
@@ -15,22 +17,7 @@ declare const ParmaListRelationshipNotesOutput: z.ZodObject<{
15
17
  relationship_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const parmaListRelationshipNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- relationship_id: string;
20
- page?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
20
+ declare const parmaListRelationshipNotes: AppAction<typeof ParmaListRelationshipNotesInput, typeof ParmaListRelationshipNotesOutput, typeof parma.credential>;
34
21
  //#endregion
35
22
  export { parmaListRelationshipNotes };
36
23
  //# sourceMappingURL=list-relationship-notes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationship-notes.d.cts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"list-relationship-notes.d.cts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-relationship-notes.d.ts
@@ -15,22 +17,7 @@ declare const ParmaListRelationshipNotesOutput: z.ZodObject<{
15
17
  relationship_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodNumber>>>;
16
18
  }, z.core.$loose>>;
17
19
  }, z.core.$loose>;
18
- declare const parmaListRelationshipNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- relationship_id: string;
20
- page?: string | undefined;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
28
- connectionId: z.ZodString;
29
- entityId: z.ZodString;
30
- instanceId: z.ZodString;
31
- }, z.core.$strip>, z.ZodObject<{
32
- generic_api_key: z.ZodString;
33
- }, z.core.$strip>>]>;
20
+ declare const parmaListRelationshipNotes: AppAction<typeof ParmaListRelationshipNotesInput, typeof ParmaListRelationshipNotesOutput, typeof parma.credential>;
34
21
  //#endregion
35
22
  export { parmaListRelationshipNotes };
36
23
  //# sourceMappingURL=list-relationship-notes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationship-notes.d.mts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"list-relationship-notes.d.mts","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAY/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-relationship-notes.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationship-notes.mjs","names":[],"sources":["../../src/actions/list-relationship-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipNotesInput = z.object({\n page: z.string().describe(\"Page number for pagination of results\").optional(),\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve notes for\"),\n}).describe(\"Request model for listing all notes linked to a relationship.\");\nconst ParmaListRelationshipNotes_NoteSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/body text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Date and time associated with the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs this note is linked to\").nullable().optional(),\n}).passthrough().describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).passthrough().describe(\"Response schema containing all notes linked to a relationship.\");\n\nexport const parmaListRelationshipNotes = action(\"PARMA_LIST_RELATIONSHIP_NOTES\", {\n slug: \"parma-list-relationship-notes\",\n name: \"List Relationship Notes\",\n description: \"Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.\",\n input: ParmaListRelationshipNotesInput,\n output: ParmaListRelationshipNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACxG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,6BAA6B,OAAO,iCAAiC;CAChF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0CAA0C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-relationship-notes.mjs","names":[],"sources":["../../src/actions/list-relationship-notes.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 ParmaListRelationshipNotesInput = z.object({\n page: z.string().describe(\"Page number for pagination of results\").optional(),\n relationship_id: z.string().describe(\"The unique identifier of the relationship to retrieve notes for\"),\n}).describe(\"Request model for listing all notes linked to a relationship.\");\nconst ParmaListRelationshipNotes_NoteSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable().optional(),\n body: z.string().describe(\"Content/body text of the note\").nullable().optional(),\n datetime: z.string().describe(\"Date and time associated with the note\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the note was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated\").nullable().optional(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs this note is linked to\").nullable().optional(),\n}).passthrough().describe(\"Represents a single note linked to a relationship.\");\nexport const ParmaListRelationshipNotesOutput = z.object({\n data: z.array(ParmaListRelationshipNotes_NoteSchema).describe(\"List of notes linked to the relationship\"),\n}).passthrough().describe(\"Response schema containing all notes linked to a relationship.\");\n\nexport const parmaListRelationshipNotes: AppAction<\n typeof ParmaListRelationshipNotesInput,\n typeof ParmaListRelationshipNotesOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_RELATIONSHIP_NOTES\", {\n slug: \"parma-list-relationship-notes\",\n name: \"List Relationship Notes\",\n description: \"Tool to list all notes linked to a relationship. Use when you need to retrieve all notes associated with a specific relationship ID.\",\n input: ParmaListRelationshipNotesInput,\n output: ParmaListRelationshipNotesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE;AACxG,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAK9E,MAAa,6BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb8C,EAAE,OAAO,EACvD,MAAM,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0CAA0C,EAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-relationships.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationships.cjs","names":["z","action"],"sources":["../../src/actions/list-relationships.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipsInput = z.object({\n sms: z.string().describe(\"Filter by SMS/phone number\").optional(),\n name: z.string().describe(\"Filter relationships by name\").optional(),\n page: z.string().describe(\"Page number for pagination\").optional(),\n type: z.string().describe(\"Filter relationships by type\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n phone: z.string().describe(\"Filter by phone number\").optional(),\n twitter: z.string().describe(\"Filter by Twitter/X handle or URL\").optional(),\n linkedin: z.string().describe(\"Filter by LinkedIn profile URL\").optional(),\n telegram: z.string().describe(\"Filter by Telegram handle\").optional(),\n whatsapp: z.string().describe(\"Filter by WhatsApp number\").optional(),\n instagram: z.string().describe(\"Filter by Instagram handle or URL\").optional(),\n schedulinglink: z.string().describe(\"Filter by scheduling link\").optional(),\n}).describe(\"Request model for listing relationships in Parma.\\nAll parameters are optional and used for filtering.\");\nconst ParmaListRelationships_PropertySchema = z.object({\n id: z.number().int().describe(\"Property ID\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).passthrough().describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema = z.object({\n type: z.string().describe(\"Type of contact detail (e.g., email, phone)\").nullable().optional(),\n value: z.string().describe(\"Value of the contact detail\").nullable().optional(),\n}).passthrough().describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema = z.object({\n id: z.number().int().describe(\"Unique relationship identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaListRelationships_PropertySchema).describe(\"List of custom properties\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(ParmaListRelationships_ContactDetailSchema).describe(\"List of contact details\").nullable().optional(),\n}).passthrough().describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing relationships.\");\n\nexport const parmaListRelationships = action(\"PARMA_LIST_RELATIONSHIPS\", {\n slug: \"parma-list-relationships\",\n name: \"List Relationships\",\n description: \"Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.\",\n input: ParmaListRelationshipsInput,\n output: ParmaListRelationshipsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC3E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAA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C,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-relationships.cjs","names":["z","action"],"sources":["../../src/actions/list-relationships.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 ParmaListRelationshipsInput = z.object({\n sms: z.string().describe(\"Filter by SMS/phone number\").optional(),\n name: z.string().describe(\"Filter relationships by name\").optional(),\n page: z.string().describe(\"Page number for pagination\").optional(),\n type: z.string().describe(\"Filter relationships by type\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n phone: z.string().describe(\"Filter by phone number\").optional(),\n twitter: z.string().describe(\"Filter by Twitter/X handle or URL\").optional(),\n linkedin: z.string().describe(\"Filter by LinkedIn profile URL\").optional(),\n telegram: z.string().describe(\"Filter by Telegram handle\").optional(),\n whatsapp: z.string().describe(\"Filter by WhatsApp number\").optional(),\n instagram: z.string().describe(\"Filter by Instagram handle or URL\").optional(),\n schedulinglink: z.string().describe(\"Filter by scheduling link\").optional(),\n}).describe(\"Request model for listing relationships in Parma.\\nAll parameters are optional and used for filtering.\");\nconst ParmaListRelationships_PropertySchema = z.object({\n id: z.number().int().describe(\"Property ID\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).passthrough().describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema = z.object({\n type: z.string().describe(\"Type of contact detail (e.g., email, phone)\").nullable().optional(),\n value: z.string().describe(\"Value of the contact detail\").nullable().optional(),\n}).passthrough().describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema = z.object({\n id: z.number().int().describe(\"Unique relationship identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaListRelationships_PropertySchema).describe(\"List of custom properties\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(ParmaListRelationships_ContactDetailSchema).describe(\"List of contact details\").nullable().optional(),\n}).passthrough().describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing relationships.\");\n\nexport const parmaListRelationships: AppAction<\n typeof ParmaListRelationshipsInput,\n typeof ParmaListRelationshipsOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_RELATIONSHIPS\", {\n slug: \"parma-list-relationships\",\n name: \"List Relationships\",\n description: \"Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.\",\n input: ParmaListRelationshipsInput,\n output: ParmaListRelationshipsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAMA,IAAAA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AYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiBA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO,EACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-relationships.d.ts
@@ -39,32 +41,7 @@ declare const ParmaListRelationshipsOutput: z.ZodObject<{
39
41
  count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
42
  }, z.core.$loose>>>;
41
43
  }, z.core.$loose>;
42
- declare const parmaListRelationships: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- sms?: string | undefined;
44
- name?: string | undefined;
45
- page?: string | undefined;
46
- type?: string | undefined;
47
- email?: string | undefined;
48
- phone?: string | undefined;
49
- twitter?: string | undefined;
50
- linkedin?: string | undefined;
51
- telegram?: string | undefined;
52
- whatsapp?: string | undefined;
53
- instagram?: string | undefined;
54
- schedulinglink?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- generic_api_key: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- generic_api_key: z.ZodString;
67
- }, z.core.$strip>>]>;
44
+ declare const parmaListRelationships: AppAction<typeof ParmaListRelationshipsInput, typeof ParmaListRelationshipsOutput, typeof parma.credential>;
68
45
  //#endregion
69
46
  export { parmaListRelationships };
70
47
  //# sourceMappingURL=list-relationships.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationships.d.cts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"list-relationships.d.cts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-relationships.d.ts
@@ -39,32 +41,7 @@ declare const ParmaListRelationshipsOutput: z.ZodObject<{
39
41
  count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
40
42
  }, z.core.$loose>>>;
41
43
  }, z.core.$loose>;
42
- declare const parmaListRelationships: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- sms?: string | undefined;
44
- name?: string | undefined;
45
- page?: string | undefined;
46
- type?: string | undefined;
47
- email?: string | undefined;
48
- phone?: string | undefined;
49
- twitter?: string | undefined;
50
- linkedin?: string | undefined;
51
- telegram?: string | undefined;
52
- whatsapp?: string | undefined;
53
- instagram?: string | undefined;
54
- schedulinglink?: string | undefined;
55
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
56
- connectionId: z.ZodString;
57
- entityId: z.ZodString;
58
- instanceId: z.ZodString;
59
- }, z.core.$strip>, z.ZodObject<{
60
- generic_api_key: z.ZodString;
61
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
62
- connectionId: z.ZodString;
63
- entityId: z.ZodString;
64
- instanceId: z.ZodString;
65
- }, z.core.$strip>, z.ZodObject<{
66
- generic_api_key: z.ZodString;
67
- }, z.core.$strip>>]>;
44
+ declare const parmaListRelationships: AppAction<typeof ParmaListRelationshipsInput, typeof ParmaListRelationshipsOutput, typeof parma.credential>;
68
45
  //#endregion
69
46
  export { parmaListRelationships };
70
47
  //# sourceMappingURL=list-relationships.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationships.d.mts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"list-relationships.d.mts","names":[],"sources":["../../src/actions/list-relationships.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAsC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-relationships.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-relationships.mjs","names":[],"sources":["../../src/actions/list-relationships.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListRelationshipsInput = z.object({\n sms: z.string().describe(\"Filter by SMS/phone number\").optional(),\n name: z.string().describe(\"Filter relationships by name\").optional(),\n page: z.string().describe(\"Page number for pagination\").optional(),\n type: z.string().describe(\"Filter relationships by type\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n phone: z.string().describe(\"Filter by phone number\").optional(),\n twitter: z.string().describe(\"Filter by Twitter/X handle or URL\").optional(),\n linkedin: z.string().describe(\"Filter by LinkedIn profile URL\").optional(),\n telegram: z.string().describe(\"Filter by Telegram handle\").optional(),\n whatsapp: z.string().describe(\"Filter by WhatsApp number\").optional(),\n instagram: z.string().describe(\"Filter by Instagram handle or URL\").optional(),\n schedulinglink: z.string().describe(\"Filter by scheduling link\").optional(),\n}).describe(\"Request model for listing relationships in Parma.\\nAll parameters are optional and used for filtering.\");\nconst ParmaListRelationships_PropertySchema = z.object({\n id: z.number().int().describe(\"Property ID\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).passthrough().describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema = z.object({\n type: z.string().describe(\"Type of contact detail (e.g., email, phone)\").nullable().optional(),\n value: z.string().describe(\"Value of the contact detail\").nullable().optional(),\n}).passthrough().describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema = z.object({\n id: z.number().int().describe(\"Unique relationship identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaListRelationships_PropertySchema).describe(\"List of custom properties\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(ParmaListRelationships_ContactDetailSchema).describe(\"List of contact details\").nullable().optional(),\n}).passthrough().describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing relationships.\");\n\nexport const parmaListRelationships = action(\"PARMA_LIST_RELATIONSHIPS\", {\n slug: \"parma-list-relationships\",\n name: \"List Relationships\",\n description: \"Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.\",\n input: ParmaListRelationshipsInput,\n output: ParmaListRelationshipsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B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,EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-relationships.mjs","names":[],"sources":["../../src/actions/list-relationships.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 ParmaListRelationshipsInput = z.object({\n sms: z.string().describe(\"Filter by SMS/phone number\").optional(),\n name: z.string().describe(\"Filter relationships by name\").optional(),\n page: z.string().describe(\"Page number for pagination\").optional(),\n type: z.string().describe(\"Filter relationships by type\").optional(),\n email: z.string().describe(\"Filter by email address\").optional(),\n phone: z.string().describe(\"Filter by phone number\").optional(),\n twitter: z.string().describe(\"Filter by Twitter/X handle or URL\").optional(),\n linkedin: z.string().describe(\"Filter by LinkedIn profile URL\").optional(),\n telegram: z.string().describe(\"Filter by Telegram handle\").optional(),\n whatsapp: z.string().describe(\"Filter by WhatsApp number\").optional(),\n instagram: z.string().describe(\"Filter by Instagram handle or URL\").optional(),\n schedulinglink: z.string().describe(\"Filter by scheduling link\").optional(),\n}).describe(\"Request model for listing relationships in Parma.\\nAll parameters are optional and used for filtering.\");\nconst ParmaListRelationships_PropertySchema = z.object({\n id: z.number().int().describe(\"Property ID\").nullable().optional(),\n name: z.string().describe(\"Property name\").nullable().optional(),\n value: z.string().describe(\"Property value\").nullable().optional(),\n}).passthrough().describe(\"Custom property for a relationship.\");\nconst ParmaListRelationships_ContactDetailSchema = z.object({\n type: z.string().describe(\"Type of contact detail (e.g., email, phone)\").nullable().optional(),\n value: z.string().describe(\"Value of the contact detail\").nullable().optional(),\n}).passthrough().describe(\"Contact detail information for a relationship.\");\nconst ParmaListRelationships_RelationshipSchema = z.object({\n id: z.number().int().describe(\"Unique relationship identifier\").nullable().optional(),\n name: z.string().describe(\"Name of the relationship\").nullable().optional(),\n type: z.string().describe(\"Type of relationship\").nullable().optional(),\n about: z.string().describe(\"Description or notes about the relationship\").nullable().optional(),\n group_ids: z.array(z.number().int()).describe(\"List of associated group IDs\").nullable().optional(),\n company_id: z.number().int().describe(\"Associated company ID\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the relationship was created\").nullable().optional(),\n properties: z.array(ParmaListRelationships_PropertySchema).describe(\"List of custom properties\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the relationship was last updated\").nullable().optional(),\n contact_details: z.array(ParmaListRelationships_ContactDetailSchema).describe(\"List of contact details\").nullable().optional(),\n}).passthrough().describe(\"Individual relationship data.\");\nconst ParmaListRelationships_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of relationships\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the relationships list.\");\nexport const ParmaListRelationshipsOutput = z.object({\n data: z.array(ParmaListRelationships_RelationshipSchema).describe(\"List of relationships\").nullable().optional(),\n meta: ParmaListRelationships_MetaSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for listing relationships.\");\n\nexport const parmaListRelationships: AppAction<\n typeof ParmaListRelationshipsInput,\n typeof ParmaListRelationshipsOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_RELATIONSHIPS\", {\n slug: \"parma-list-relationships\",\n name: \"List Relationships\",\n description: \"Tool to list all relationships in the Parma account. Use when you need to retrieve and filter relationships by various criteria such as name, type, or contact details.\",\n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,SAAS,CAAC,CAAC,SAAS;CACxG,iBAAiB,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AACzD,MAAM,oCAAoC,EAAE,OAAO,EACjD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAMlE,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,MAAM,kCAAkC,SAAS,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-stages.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-stages.cjs","names":["z","action"],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListStagesInput = z.object({}).describe(\"Request model for listing stages. No parameters needed.\");\nconst ParmaListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\").nullable(),\n name: z.string().describe(\"Name of the stage\").nullable(),\n position: z.number().int().describe(\"Position of the stage in the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the stage was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\").nullable(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\").nullable(),\n}).passthrough().describe(\"Represents a single stage in a pipeline.\");\nexport const ParmaListStagesOutput = z.object({\n data: z.array(ParmaListStages_StageSchema).describe(\"List of stages in the Parma account\"),\n}).passthrough().describe(\"Response schema containing list of stages.\");\n\nexport const parmaListStages = action(\"PARMA_LIST_STAGES\", {\n slug: \"parma-list-stages\",\n name: \"List Stages\",\n description: \"Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.\",\n input: ParmaListStagesInput,\n output: ParmaListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnH,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-stages.cjs","names":["z","action"],"sources":["../../src/actions/list-stages.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 ParmaListStagesInput = z.object({}).describe(\"Request model for listing stages. No parameters needed.\");\nconst ParmaListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\").nullable(),\n name: z.string().describe(\"Name of the stage\").nullable(),\n position: z.number().int().describe(\"Position of the stage in the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the stage was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\").nullable(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\").nullable(),\n}).passthrough().describe(\"Represents a single stage in a pipeline.\");\nexport const ParmaListStagesOutput = z.object({\n data: z.array(ParmaListStages_StageSchema).describe(\"List of stages in the Parma account\"),\n}).passthrough().describe(\"Response schema containing list of stages.\");\n\nexport const parmaListStages: AppAction<\n typeof ParmaListStagesInput,\n typeof ParmaListStagesOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_STAGES\", {\n slug: \"parma-list-stages\",\n name: \"List Stages\",\n description: \"Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.\",\n input: ParmaListStagesInput,\n output: ParmaListStagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnH,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-stages.d.ts
@@ -12,19 +14,7 @@ declare const ParmaListStagesOutput: z.ZodObject<{
12
14
  pipeline_id: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const parmaListStages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
17
+ declare const parmaListStages: AppAction<typeof ParmaListStagesInput, typeof ParmaListStagesOutput, typeof parma.credential>;
28
18
  //#endregion
29
19
  export { parmaListStages };
30
20
  //# sourceMappingURL=list-stages.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-stages.d.cts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-stages.d.cts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASpB,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/list-stages.d.ts
@@ -12,19 +14,7 @@ declare const ParmaListStagesOutput: z.ZodObject<{
12
14
  pipeline_id: z.ZodNullable<z.ZodNumber>;
13
15
  }, z.core.$loose>>;
14
16
  }, z.core.$loose>;
15
- declare const parmaListStages: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
16
- connectionId: z.ZodString;
17
- entityId: z.ZodString;
18
- instanceId: z.ZodString;
19
- }, z.core.$strip>, z.ZodObject<{
20
- generic_api_key: z.ZodString;
21
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
22
- connectionId: z.ZodString;
23
- entityId: z.ZodString;
24
- instanceId: z.ZodString;
25
- }, z.core.$strip>, z.ZodObject<{
26
- generic_api_key: z.ZodString;
27
- }, z.core.$strip>>]>;
17
+ declare const parmaListStages: AppAction<typeof ParmaListStagesInput, typeof ParmaListStagesOutput, typeof parma.credential>;
28
18
  //#endregion
29
19
  export { parmaListStages };
30
20
  //# sourceMappingURL=list-stages.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-stages.d.mts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
1
+ {"version":3,"file":"list-stages.d.mts","names":[],"sources":["../../src/actions/list-stages.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-stages.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-stages.mjs","names":[],"sources":["../../src/actions/list-stages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListStagesInput = z.object({}).describe(\"Request model for listing stages. No parameters needed.\");\nconst ParmaListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\").nullable(),\n name: z.string().describe(\"Name of the stage\").nullable(),\n position: z.number().int().describe(\"Position of the stage in the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the stage was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\").nullable(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\").nullable(),\n}).passthrough().describe(\"Represents a single stage in a pipeline.\");\nexport const ParmaListStagesOutput = z.object({\n data: z.array(ParmaListStages_StageSchema).describe(\"List of stages in the Parma account\"),\n}).passthrough().describe(\"Response schema containing list of stages.\");\n\nexport const parmaListStages = action(\"PARMA_LIST_STAGES\", {\n slug: \"parma-list-stages\",\n name: \"List Stages\",\n description: \"Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.\",\n input: ParmaListStagesInput,\n output: ParmaListStagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnH,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-stages.mjs","names":[],"sources":["../../src/actions/list-stages.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 ParmaListStagesInput = z.object({}).describe(\"Request model for listing stages. No parameters needed.\");\nconst ParmaListStages_StageSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the stage\").nullable(),\n name: z.string().describe(\"Name of the stage\").nullable(),\n position: z.number().int().describe(\"Position of the stage in the pipeline\").nullable(),\n created_at: z.string().describe(\"Timestamp when the stage was created\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the stage was last updated\").nullable(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this stage belongs to\").nullable(),\n}).passthrough().describe(\"Represents a single stage in a pipeline.\");\nexport const ParmaListStagesOutput = z.object({\n data: z.array(ParmaListStages_StageSchema).describe(\"List of stages in the Parma account\"),\n}).passthrough().describe(\"Response schema containing list of stages.\");\n\nexport const parmaListStages: AppAction<\n typeof ParmaListStagesInput,\n typeof ParmaListStagesOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_STAGES\", {\n slug: \"parma-list-stages\",\n name: \"List Stages\",\n description: \"Tool to retrieve all stages in the Parma account. Use when you need to list pipeline stages or check available stage configurations.\",\n input: ParmaListStagesInput,\n output: ParmaListStagesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACnH,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CACxD,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CACtF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACtF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAKpE,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmC,EAAE,OAAO,EAC5C,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/list-users.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListUsersInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of users.\").optional(),\n}).describe(\"Request model for LIST_USERS.\");\nconst ParmaListUsers_UserSchema = z.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information in the list users response.\");\nexport const ParmaListUsersOutput = z.object({\n data: z.array(ParmaListUsers_UserSchema).describe(\"Array of user objects\"),\n}).passthrough().describe(\"Response schema for LIST_USERS containing an array of users.\");\n\nexport const parmaListUsers = action(\"PARMA_LIST_USERS\", {\n slug: \"parma-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.\",\n input: ParmaListUsersInput,\n output: ParmaListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,uBAAuB,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.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 ParmaListUsersInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of users.\").optional(),\n}).describe(\"Request model for LIST_USERS.\");\nconst ParmaListUsers_UserSchema = z.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information in the list users response.\");\nexport const ParmaListUsersOutput = z.object({\n data: z.array(ParmaListUsers_UserSchema).describe(\"Array of user objects\"),\n}).passthrough().describe(\"Response schema for LIST_USERS containing an array of users.\");\n\nexport const parmaListUsers: AppAction<\n typeof ParmaListUsersInput,\n typeof ParmaListUsersOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_USERS\", {\n slug: \"parma-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.\",\n input: ParmaListUsersInput,\n output: ParmaListUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,uBAAuB,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { parma } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-users.d.ts
@@ -11,21 +13,7 @@ declare const ParmaListUsersOutput: z.ZodObject<{
11
13
  email: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>;
14
- declare const parmaListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- page?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
16
+ declare const parmaListUsers: AppAction<typeof ParmaListUsersInput, typeof ParmaListUsersOutput, typeof parma.credential>;
29
17
  //#endregion
30
18
  export { parmaListUsers };
31
19
  //# sourceMappingURL=list-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAQnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAQnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { parma } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/list-users.d.ts
@@ -11,21 +13,7 @@ declare const ParmaListUsersOutput: z.ZodObject<{
11
13
  email: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>>;
13
15
  }, z.core.$loose>;
14
- declare const parmaListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
15
- page?: string | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, readonly [import("@keystrokehq/shared").Credential<"parma", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- generic_api_key: z.ZodString;
28
- }, z.core.$strip>>]>;
16
+ declare const parmaListUsers: AppAction<typeof ParmaListUsersInput, typeof ParmaListUsersOutput, typeof parma.credential>;
29
17
  //#endregion
30
18
  export { parmaListUsers };
31
19
  //# sourceMappingURL=list-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAQnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAQnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;cAIpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,KAAA,CAAM,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/list-users.ts
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListUsersInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of users.\").optional(),\n}).describe(\"Request model for LIST_USERS.\");\nconst ParmaListUsers_UserSchema = z.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information in the list users response.\");\nexport const ParmaListUsersOutput = z.object({\n data: z.array(ParmaListUsers_UserSchema).describe(\"Array of user objects\"),\n}).passthrough().describe(\"Response schema for LIST_USERS containing an array of users.\");\n\nexport const parmaListUsers = action(\"PARMA_LIST_USERS\", {\n slug: \"parma-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.\",\n input: ParmaListUsersInput,\n output: ParmaListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,uBAAuB,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.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 ParmaListUsersInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of users.\").optional(),\n}).describe(\"Request model for LIST_USERS.\");\nconst ParmaListUsers_UserSchema = z.object({\n id: z.number().int().describe(\"User's unique identifier\").nullable(),\n name: z.string().describe(\"User's name\").nullable(),\n email: z.string().describe(\"User's email address\").nullable(),\n}).passthrough().describe(\"User information in the list users response.\");\nexport const ParmaListUsersOutput = z.object({\n data: z.array(ParmaListUsers_UserSchema).describe(\"Array of user objects\"),\n}).passthrough().describe(\"Response schema for LIST_USERS containing an array of users.\");\n\nexport const parmaListUsers: AppAction<\n typeof ParmaListUsersInput,\n typeof ParmaListUsersOutput,\n typeof parma.credential\n> = action(\"PARMA_LIST_USERS\", {\n slug: \"parma-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Parma account. Use when you need to retrieve the complete list of users with their IDs, names, and email addresses.\",\n input: ParmaListUsersInput,\n output: ParmaListUsersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAC3C,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;CAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;AAC9D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAKxE,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO,EAC3C,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,uBAAuB,EAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/package-list.ts
@@ -1 +1 @@
1
- {"version":3,"file":"package-list.cjs","names":["z","action"],"sources":["../../src/actions/package-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaPackageListInput = z.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":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC3G,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"package-list.cjs","names":["z","action"],"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":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC3G,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uDAAuD;CAC5F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}