@keystrokehq/parma 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 -4
  6. package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
  7. package/dist/actions/add-relationship-to-group.d.mts +3 -4
  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 -5
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +3 -5
  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 -7
  22. package/dist/actions/create-relationship.d.cts.map +1 -1
  23. package/dist/actions/create-relationship.d.mts +3 -7
  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 -1
  30. package/dist/actions/data-json.d.cts.map +1 -1
  31. package/dist/actions/data-json.d.mts +3 -1
  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 -3
  38. package/dist/actions/delete-relationship.d.cts.map +1 -1
  39. package/dist/actions/delete-relationship.d.mts +3 -3
  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 -3
  46. package/dist/actions/get-pipeline.d.cts.map +1 -1
  47. package/dist/actions/get-pipeline.d.mts +3 -3
  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 -3
  54. package/dist/actions/get-relationship.d.cts.map +1 -1
  55. package/dist/actions/get-relationship.d.mts +3 -3
  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 -3
  62. package/dist/actions/get-stage.d.cts.map +1 -1
  63. package/dist/actions/get-stage.d.mts +3 -3
  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 -1
  70. package/dist/actions/get-user-profile.d.cts.map +1 -1
  71. package/dist/actions/get-user-profile.d.mts +3 -1
  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 -3
  78. package/dist/actions/get-user.d.cts.map +1 -1
  79. package/dist/actions/get-user.d.mts +3 -3
  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 -3
  86. package/dist/actions/list-deals.d.cts.map +1 -1
  87. package/dist/actions/list-deals.d.mts +3 -3
  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 -4
  94. package/dist/actions/list-groups.d.cts.map +1 -1
  95. package/dist/actions/list-groups.d.mts +3 -4
  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 -3
  102. package/dist/actions/list-notes.d.cts.map +1 -1
  103. package/dist/actions/list-notes.d.mts +3 -3
  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 -1
  110. package/dist/actions/list-pipelines.d.cts.map +1 -1
  111. package/dist/actions/list-pipelines.d.mts +3 -1
  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 -3
  118. package/dist/actions/list-relationship-groups.d.cts.map +1 -1
  119. package/dist/actions/list-relationship-groups.d.mts +3 -3
  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 -4
  126. package/dist/actions/list-relationship-notes.d.cts.map +1 -1
  127. package/dist/actions/list-relationship-notes.d.mts +3 -4
  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 -14
  134. package/dist/actions/list-relationships.d.cts.map +1 -1
  135. package/dist/actions/list-relationships.d.mts +3 -14
  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 -1
  142. package/dist/actions/list-stages.d.cts.map +1 -1
  143. package/dist/actions/list-stages.d.mts +3 -1
  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 -3
  150. package/dist/actions/list-users.d.cts.map +1 -1
  151. package/dist/actions/list-users.d.mts +3 -3
  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 -1
  158. package/dist/actions/package-list.d.cts.map +1 -1
  159. package/dist/actions/package-list.d.mts +3 -1
  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 -4
  166. package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
  167. package/dist/actions/remove-relationship-from-group.d.mts +3 -4
  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 -6
  174. package/dist/actions/update-note.d.cts.map +1 -1
  175. package/dist/actions/update-note.d.mts +3 -6
  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 -9
  182. package/dist/actions/update-relationship.d.cts.map +1 -1
  183. package/dist/actions/update-relationship.d.mts +3 -9
  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 +5 -2
  188. package/dist/app.cjs.map +1 -1
  189. package/dist/app.d.cts +7 -1
  190. package/dist/app.d.cts.map +1 -1
  191. package/dist/app.d.mts +7 -1
  192. package/dist/app.d.mts.map +1 -1
  193. package/dist/app.mjs +3 -2
  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 +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,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const parmaListStages: AppAction<typeof ParmaListStagesInput, typeof ParmaListStagesOutput, typeof parma.credential>;
16
18
  //#endregion
17
19
  export { parmaListStages };
18
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,4CAAA,UAAA"}
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,7 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const parmaListStages: AppAction<typeof ParmaListStagesInput, typeof ParmaListStagesOutput, typeof parma.credential>;
16
18
  //#endregion
17
19
  export { parmaListStages };
18
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,4CAAA,UAAA"}
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const parmaListUsers: AppAction<typeof ParmaListUsersInput, typeof ParmaListUsersOutput, typeof parma.credential>;
17
17
  //#endregion
18
18
  export { parmaListUsers };
19
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,9 +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]>, readonly [import("@keystrokehq/shared").Credential]>;
16
+ declare const parmaListUsers: AppAction<typeof ParmaListUsersInput, typeof ParmaListUsersOutput, typeof parma.credential>;
17
17
  //#endregion
18
18
  export { parmaListUsers };
19
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"}
@@ -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,7 +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: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const parmaPackageList: AppAction<typeof ParmaPackageListInput, typeof ParmaPackageListOutput, typeof parma.credential>;
11
13
  //#endregion
12
14
  export { parmaPackageList };
13
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":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,7 +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: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
12
+ declare const parmaPackageList: AppAction<typeof ParmaPackageListInput, typeof ParmaPackageListOutput, typeof parma.credential>;
11
13
  //#endregion
12
14
  export { parmaPackageList };
13
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":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parmaPackageList = action("PARMA_PACKAGE_LIST", {
@@ -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":";;AAWA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAXmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,gDAWlD;CACP,QAXoC,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,YAOO;AACV,CAAC"}
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,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/remove-relationship-from-group.ts
@@ -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":";;;AAIA,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,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,10 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- relationship_id: string;
13
- relationship_group_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parmaRemoveRelationshipFromGroup: AppAction<typeof ParmaRemoveRelationshipFromGroupInput, typeof ParmaRemoveRelationshipFromGroupOutput, typeof parma.credential>;
15
14
  //#endregion
16
15
  export { parmaRemoveRelationshipFromGroup };
17
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":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
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,10 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- relationship_id: string;
13
- relationship_group_id: string;
14
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const parmaRemoveRelationshipFromGroup: AppAction<typeof ParmaRemoveRelationshipFromGroupInput, typeof ParmaRemoveRelationshipFromGroupOutput, typeof parma.credential>;
15
14
  //#endregion
16
15
  export { parmaRemoveRelationshipFromGroup };
17
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":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;cAIrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAItC,gCAAA,gCAAgC,wBAAA"}
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,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const parmaRemoveRelationshipFromGroup = action("PARMA_REMOVE_RELATIONSHIP_FROM_GROUP", {
@@ -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":";;AAYA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZmD,EAAE,OAAO;EAC5D,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;EACzG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CACvH,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QAToD,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,kHAOhB;AACV,CAAC"}
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,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/update-note.ts
@@ -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":";;;AAIA,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,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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,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from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-note.d.ts
@@ -17,12 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const parmaUpdateNote: AppAction<typeof ParmaUpdateNoteInput, typeof ParmaUpdateNoteOutput, typeof parma.credential>;
26
23
  //#endregion
27
24
  export { parmaUpdateNote };
28
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":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
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,12 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const parmaUpdateNote: AppAction<typeof ParmaUpdateNoteInput, typeof ParmaUpdateNoteOutput, typeof parma.credential>;
26
23
  //#endregion
27
24
  export { parmaUpdateNote };
28
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":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
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,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/update-note.ts
@@ -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":";;;AAIA,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,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,MAAM,+BAA+B,SAAS,EAChD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uEAOhB;AACV,CAAC"}
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,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/update-relationship.ts
@@ -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":";;;AAIA,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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,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,0BAA0BC,eAAAA,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
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,CA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AAC,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,15 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const parmaUpdateRelationship: AppAction<typeof ParmaUpdateRelationshipInput, typeof ParmaUpdateRelationshipOutput, typeof parma.credential>;
39
33
  //#endregion
40
34
  export { parmaUpdateRelationship };
41
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":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA;;;;;;;eAMlC,MAAA;AAAA"}
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,15 +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: import("@keystrokehq/action").WorkflowActionDefinition<{
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]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ declare const parmaUpdateRelationship: AppAction<typeof ParmaUpdateRelationshipInput, typeof ParmaUpdateRelationshipOutput, typeof parma.credential>;
39
33
  //#endregion
40
34
  export { parmaUpdateRelationship };
41
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":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAqB5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI7B,uBAAA,gCAAuB,wBAAA;;;;;;;eAMlC,MAAA;AAAA"}
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,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/update-relationship.ts
@@ -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":";;;AAIA,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,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,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,0BAA0B,OAAO,6BAA6B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,MAAM,+CAA+C,SAAS,EAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
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,uDAAu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AAE,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,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const parma = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const parma = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "parma",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.parma = parma;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const parma = defineApp({\n slug: \"parma\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
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"}