@keystrokehq/parma 0.1.0 → 0.1.2

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 (175) 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 +4 -4
  4. package/dist/actions/add-relationship-to-group.cjs.map +1 -1
  5. package/dist/actions/add-relationship-to-group.d.cts +16 -3
  6. package/dist/actions/add-relationship-to-group.d.cts.map +1 -1
  7. package/dist/actions/add-relationship-to-group.d.mts +16 -3
  8. package/dist/actions/add-relationship-to-group.d.mts.map +1 -1
  9. package/dist/actions/add-relationship-to-group.mjs +4 -4
  10. package/dist/actions/add-relationship-to-group.mjs.map +1 -1
  11. package/dist/actions/create-note.cjs +2 -2
  12. package/dist/actions/create-note.cjs.map +1 -1
  13. package/dist/actions/create-note.d.cts +20 -3
  14. package/dist/actions/create-note.d.cts.map +1 -1
  15. package/dist/actions/create-note.d.mts +20 -3
  16. package/dist/actions/create-note.d.mts.map +1 -1
  17. package/dist/actions/create-note.mjs +2 -2
  18. package/dist/actions/create-note.mjs.map +1 -1
  19. package/dist/actions/create-relationship.cjs.map +1 -1
  20. package/dist/actions/create-relationship.d.cts +31 -3
  21. package/dist/actions/create-relationship.d.cts.map +1 -1
  22. package/dist/actions/create-relationship.d.mts +31 -3
  23. package/dist/actions/create-relationship.d.mts.map +1 -1
  24. package/dist/actions/create-relationship.mjs.map +1 -1
  25. package/dist/actions/data-json.cjs +2 -2
  26. package/dist/actions/data-json.cjs.map +1 -1
  27. package/dist/actions/data-json.d.cts +37 -3
  28. package/dist/actions/data-json.d.cts.map +1 -1
  29. package/dist/actions/data-json.d.mts +37 -3
  30. package/dist/actions/data-json.d.mts.map +1 -1
  31. package/dist/actions/data-json.mjs +2 -2
  32. package/dist/actions/data-json.mjs.map +1 -1
  33. package/dist/actions/delete-relationship.cjs +1 -1
  34. package/dist/actions/delete-relationship.cjs.map +1 -1
  35. package/dist/actions/delete-relationship.d.cts +9 -3
  36. package/dist/actions/delete-relationship.d.cts.map +1 -1
  37. package/dist/actions/delete-relationship.d.mts +9 -3
  38. package/dist/actions/delete-relationship.d.mts.map +1 -1
  39. package/dist/actions/delete-relationship.mjs +1 -1
  40. package/dist/actions/delete-relationship.mjs.map +1 -1
  41. package/dist/actions/get-pipeline.cjs +5 -5
  42. package/dist/actions/get-pipeline.cjs.map +1 -1
  43. package/dist/actions/get-pipeline.d.cts +15 -3
  44. package/dist/actions/get-pipeline.d.cts.map +1 -1
  45. package/dist/actions/get-pipeline.d.mts +15 -3
  46. package/dist/actions/get-pipeline.d.mts.map +1 -1
  47. package/dist/actions/get-pipeline.mjs +5 -5
  48. package/dist/actions/get-pipeline.mjs.map +1 -1
  49. package/dist/actions/get-relationship.cjs.map +1 -1
  50. package/dist/actions/get-relationship.d.cts +24 -3
  51. package/dist/actions/get-relationship.d.cts.map +1 -1
  52. package/dist/actions/get-relationship.d.mts +24 -3
  53. package/dist/actions/get-relationship.d.mts.map +1 -1
  54. package/dist/actions/get-relationship.mjs.map +1 -1
  55. package/dist/actions/get-stage.cjs.map +1 -1
  56. package/dist/actions/get-stage.d.cts +16 -3
  57. package/dist/actions/get-stage.d.cts.map +1 -1
  58. package/dist/actions/get-stage.d.mts +16 -3
  59. package/dist/actions/get-stage.d.mts.map +1 -1
  60. package/dist/actions/get-stage.mjs.map +1 -1
  61. package/dist/actions/get-user-profile.cjs +5 -5
  62. package/dist/actions/get-user-profile.cjs.map +1 -1
  63. package/dist/actions/get-user-profile.d.cts +13 -3
  64. package/dist/actions/get-user-profile.d.cts.map +1 -1
  65. package/dist/actions/get-user-profile.d.mts +13 -3
  66. package/dist/actions/get-user-profile.d.mts.map +1 -1
  67. package/dist/actions/get-user-profile.mjs +5 -5
  68. package/dist/actions/get-user-profile.mjs.map +1 -1
  69. package/dist/actions/get-user.cjs +3 -3
  70. package/dist/actions/get-user.cjs.map +1 -1
  71. package/dist/actions/get-user.d.cts +13 -3
  72. package/dist/actions/get-user.d.cts.map +1 -1
  73. package/dist/actions/get-user.d.mts +13 -3
  74. package/dist/actions/get-user.d.mts.map +1 -1
  75. package/dist/actions/get-user.mjs +3 -3
  76. package/dist/actions/get-user.mjs.map +1 -1
  77. package/dist/actions/list-deals.cjs.map +1 -1
  78. package/dist/actions/list-deals.d.cts +24 -3
  79. package/dist/actions/list-deals.d.cts.map +1 -1
  80. package/dist/actions/list-deals.d.mts +24 -3
  81. package/dist/actions/list-deals.d.mts.map +1 -1
  82. package/dist/actions/list-deals.mjs.map +1 -1
  83. package/dist/actions/list-groups.cjs +5 -5
  84. package/dist/actions/list-groups.cjs.map +1 -1
  85. package/dist/actions/list-groups.d.cts +19 -3
  86. package/dist/actions/list-groups.d.cts.map +1 -1
  87. package/dist/actions/list-groups.d.mts +19 -3
  88. package/dist/actions/list-groups.d.mts.map +1 -1
  89. package/dist/actions/list-groups.mjs +5 -5
  90. package/dist/actions/list-groups.mjs.map +1 -1
  91. package/dist/actions/list-notes.cjs +5 -5
  92. package/dist/actions/list-notes.cjs.map +1 -1
  93. package/dist/actions/list-notes.d.cts +16 -3
  94. package/dist/actions/list-notes.d.cts.map +1 -1
  95. package/dist/actions/list-notes.d.mts +16 -3
  96. package/dist/actions/list-notes.d.mts.map +1 -1
  97. package/dist/actions/list-notes.mjs +5 -5
  98. package/dist/actions/list-notes.mjs.map +1 -1
  99. package/dist/actions/list-pipelines.cjs +5 -5
  100. package/dist/actions/list-pipelines.cjs.map +1 -1
  101. package/dist/actions/list-pipelines.d.cts +11 -3
  102. package/dist/actions/list-pipelines.d.cts.map +1 -1
  103. package/dist/actions/list-pipelines.d.mts +11 -3
  104. package/dist/actions/list-pipelines.d.mts.map +1 -1
  105. package/dist/actions/list-pipelines.mjs +5 -5
  106. package/dist/actions/list-pipelines.mjs.map +1 -1
  107. package/dist/actions/list-relationship-groups.cjs +4 -4
  108. package/dist/actions/list-relationship-groups.cjs.map +1 -1
  109. package/dist/actions/list-relationship-groups.d.cts +14 -3
  110. package/dist/actions/list-relationship-groups.d.cts.map +1 -1
  111. package/dist/actions/list-relationship-groups.d.mts +14 -3
  112. package/dist/actions/list-relationship-groups.d.mts.map +1 -1
  113. package/dist/actions/list-relationship-groups.mjs +4 -4
  114. package/dist/actions/list-relationship-groups.mjs.map +1 -1
  115. package/dist/actions/list-relationship-notes.cjs.map +1 -1
  116. package/dist/actions/list-relationship-notes.d.cts +18 -3
  117. package/dist/actions/list-relationship-notes.d.cts.map +1 -1
  118. package/dist/actions/list-relationship-notes.d.mts +18 -3
  119. package/dist/actions/list-relationship-notes.d.mts.map +1 -1
  120. package/dist/actions/list-relationship-notes.mjs.map +1 -1
  121. package/dist/actions/list-relationships.cjs.map +1 -1
  122. package/dist/actions/list-relationships.d.cts +52 -3
  123. package/dist/actions/list-relationships.d.cts.map +1 -1
  124. package/dist/actions/list-relationships.d.mts +52 -3
  125. package/dist/actions/list-relationships.d.mts.map +1 -1
  126. package/dist/actions/list-relationships.mjs.map +1 -1
  127. package/dist/actions/list-stages.cjs +6 -6
  128. package/dist/actions/list-stages.cjs.map +1 -1
  129. package/dist/actions/list-stages.d.cts +12 -3
  130. package/dist/actions/list-stages.d.cts.map +1 -1
  131. package/dist/actions/list-stages.d.mts +12 -3
  132. package/dist/actions/list-stages.d.mts.map +1 -1
  133. package/dist/actions/list-stages.mjs +6 -6
  134. package/dist/actions/list-stages.mjs.map +1 -1
  135. package/dist/actions/list-users.cjs +3 -3
  136. package/dist/actions/list-users.cjs.map +1 -1
  137. package/dist/actions/list-users.d.cts +13 -3
  138. package/dist/actions/list-users.d.cts.map +1 -1
  139. package/dist/actions/list-users.d.mts +13 -3
  140. package/dist/actions/list-users.d.mts.map +1 -1
  141. package/dist/actions/list-users.mjs +3 -3
  142. package/dist/actions/list-users.mjs.map +1 -1
  143. package/dist/actions/package-list.cjs +2 -2
  144. package/dist/actions/package-list.cjs.map +1 -1
  145. package/dist/actions/package-list.d.cts +7 -3
  146. package/dist/actions/package-list.d.cts.map +1 -1
  147. package/dist/actions/package-list.d.mts +7 -3
  148. package/dist/actions/package-list.d.mts.map +1 -1
  149. package/dist/actions/package-list.mjs +2 -2
  150. package/dist/actions/package-list.mjs.map +1 -1
  151. package/dist/actions/remove-relationship-from-group.cjs.map +1 -1
  152. package/dist/actions/remove-relationship-from-group.d.cts +11 -3
  153. package/dist/actions/remove-relationship-from-group.d.cts.map +1 -1
  154. package/dist/actions/remove-relationship-from-group.d.mts +11 -3
  155. package/dist/actions/remove-relationship-from-group.d.mts.map +1 -1
  156. package/dist/actions/remove-relationship-from-group.mjs.map +1 -1
  157. package/dist/actions/update-note.cjs.map +1 -1
  158. package/dist/actions/update-note.d.cts +22 -3
  159. package/dist/actions/update-note.d.cts.map +1 -1
  160. package/dist/actions/update-note.d.mts +22 -3
  161. package/dist/actions/update-note.d.mts.map +1 -1
  162. package/dist/actions/update-note.mjs.map +1 -1
  163. package/dist/actions/update-relationship.cjs.map +1 -1
  164. package/dist/actions/update-relationship.d.cts +35 -3
  165. package/dist/actions/update-relationship.d.cts.map +1 -1
  166. package/dist/actions/update-relationship.d.mts +35 -3
  167. package/dist/actions/update-relationship.d.mts.map +1 -1
  168. package/dist/actions/update-relationship.mjs.map +1 -1
  169. package/dist/catalog.cjs +7 -1
  170. package/dist/catalog.cjs.map +1 -1
  171. package/dist/catalog.d.cts +8 -0
  172. package/dist/catalog.d.mts +8 -0
  173. package/dist/catalog.mjs +7 -1
  174. package/dist/catalog.mjs.map +1 -1
  175. package/package.json +2 -2
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user-profile.d.ts
4
- declare const ParmaGetUserProfileInput: z.ZodTypeAny;
5
- declare const ParmaGetUserProfileOutput: z.ZodTypeAny;
6
- declare const parmaGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaGetUserProfileInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ParmaGetUserProfileOutput: z.ZodObject<{
6
+ user: z.ZodNullable<z.ZodObject<{
7
+ id: z.ZodNullable<z.ZodNumber>;
8
+ name: z.ZodNullable<z.ZodString>;
9
+ email: z.ZodNullable<z.ZodString>;
10
+ }, z.core.$strip>>;
11
+ account: z.ZodNullable<z.ZodObject<{
12
+ id: z.ZodNullable<z.ZodNumber>;
13
+ name: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const parmaGetUserProfile: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { parmaGetUserProfile };
9
19
  //# sourceMappingURL=get-user-profile.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAA+F;AAAA,cAU3H,yBAAA,EAA2B,CAAA,CAAE,UAGkD;AAAA,cAE/E,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user-profile.d.mts","names":[],"sources":["../../src/actions/get-user-profile.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -3,13 +3,13 @@ import { z } from "zod";
3
3
  //#region src/actions/get-user-profile.ts
4
4
  const ParmaGetUserProfileInput = z.object({}).describe("Request model for GET_USER_PROFILE. No parameters needed.");
5
5
  const ParmaGetUserProfile_UserInfoSchema = z.object({
6
- id: z.number().int().describe("User's unique identifier"),
7
- name: z.string().describe("User's name"),
8
- email: z.string().describe("User's email address")
6
+ id: z.number().int().describe("User's unique identifier").nullable(),
7
+ name: z.string().describe("User's name").nullable(),
8
+ email: z.string().describe("User's email address").nullable()
9
9
  }).describe("User information within the profile response.");
10
10
  const ParmaGetUserProfile_AccountInfoSchema = z.object({
11
- id: z.number().int().describe("Account's unique identifier"),
12
- name: z.string().describe("Account name")
11
+ id: z.number().int().describe("Account's unique identifier").nullable(),
12
+ name: z.string().describe("Account name").nullable()
13
13
  }).describe("Account information within the profile response.");
14
14
  const parmaGetUserProfile = action("PARMA_GET_USER_PROFILE", {
15
15
  slug: "parma-get-user-profile",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserProfileInput: z.ZodTypeAny = z.object({}).describe(\"Request model for GET_USER_PROFILE. No parameters needed.\");\nconst ParmaGetUserProfile_UserInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User information within the profile response.\");\nconst ParmaGetUserProfile_AccountInfoSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Account's unique identifier\"),\n name: z.string().describe(\"Account name\"),\n}).describe(\"Account information within the profile response.\");\nexport const ParmaGetUserProfileOutput: z.ZodTypeAny = z.object({\n user: ParmaGetUserProfile_UserInfoSchema.nullable(),\n account: ParmaGetUserProfile_AccountInfoSchema.nullable(),\n}).describe(\"Response schema for GET_USER_PROFILE containing user and account information.\");\n\nexport const parmaGetUserProfile = action(\"PARMA_GET_USER_PROFILE\", {\n slug: \"parma-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve the authenticated user's profile. Use after obtaining a valid auth token to fetch current user account details.\",\n input: ParmaGetUserProfileInput,\n output: ParmaGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvI,MAAM,qCAAmD,EAAE,OAAO;CAChE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAM,wCAAsD,EAAE,OAAO;CACnE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc;AAC1C,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,MAAM,mCAAmC,SAAS;EAClD,SAAS,sCAAsC,SAAS;CAC1D,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-profile.mjs","names":[],"sources":["../../src/actions/get-user-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserProfileInput = z.object({}).describe(\"Request model for GET_USER_PROFILE. No parameters needed.\");\nconst ParmaGetUserProfile_UserInfoSchema = 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}).describe(\"User information within the profile response.\");\nconst ParmaGetUserProfile_AccountInfoSchema = z.object({\n id: z.number().int().describe(\"Account's unique identifier\").nullable(),\n name: z.string().describe(\"Account name\").nullable(),\n}).describe(\"Account information within the profile response.\");\nexport const ParmaGetUserProfileOutput = z.object({\n user: ParmaGetUserProfile_UserInfoSchema.nullable(),\n account: ParmaGetUserProfile_AccountInfoSchema.nullable(),\n}).describe(\"Response schema for GET_USER_PROFILE containing user and account information.\");\n\nexport const parmaGetUserProfile = action(\"PARMA_GET_USER_PROFILE\", {\n slug: \"parma-get-user-profile\",\n name: \"Get User Profile\",\n description: \"Tool to retrieve the authenticated user's profile. Use after obtaining a valid auth token to fetch current user account details.\",\n input: ParmaGetUserProfileInput,\n output: ParmaGetUserProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACzH,MAAM,qCAAqC,EAAE,OAAO;CAClD,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,SAAS,+CAA+C;AAC3D,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS;AACrD,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAM9D,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,mCAAmC,SAAS;EAClD,SAAS,sCAAsC,SAAS;CAC1D,CAAC,CAAC,CAAC,SAAS,+EAOF;AACV,CAAC"}
@@ -3,9 +3,9 @@ let zod = require("zod");
3
3
  //#region src/actions/get-user.ts
4
4
  const ParmaGetUserInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the user to retrieve") }).describe("Request model for GET_USER to retrieve a user by their ID.");
5
5
  const ParmaGetUser_UserDataSchema = zod.z.object({
6
- id: zod.z.number().int().describe("User's unique identifier"),
7
- name: zod.z.string().describe("User's name"),
8
- email: zod.z.string().describe("User's email address")
6
+ id: zod.z.number().int().describe("User's unique identifier").nullable(),
7
+ name: zod.z.string().describe("User's name").nullable(),
8
+ email: zod.z.string().describe("User's email address").nullable()
9
9
  }).describe("User data within the API response.");
10
10
  const ParmaGetUserOutput = zod.z.object({ data: ParmaGetUser_UserDataSchema.nullable() }).describe("Response schema for GET_USER containing user information.");
11
11
  const parmaGetUser = require_action.action("PARMA_GET_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for GET_USER to retrieve a user by their ID.\");\nconst ParmaGetUser_UserDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput: z.ZodTypeAny = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).describe(\"Response schema for GET_USER containing user information.\");\n\nexport const parmaGetUser = action(\"PARMA_GET_USER\", {\n slug: \"parma-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.\",\n input: ParmaGetUserInput,\n output: ParmaGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkCA,IAAAA,EAAE,OAAO,EACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,qBAAmCA,IAAAA,EAAE,OAAO,EACvD,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.cjs","names":["z","action"],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for GET_USER to retrieve a user by their ID.\");\nconst ParmaGetUser_UserDataSchema = 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}).describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).describe(\"Response schema for GET_USER containing user information.\");\n\nexport const parmaGetUser = action(\"PARMA_GET_USER\", {\n slug: \"parma-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.\",\n input: ParmaGetUserInput,\n output: ParmaGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,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,SAAS,oCAAoC;AAChD,MAAa,qBAAqBA,IAAAA,EAAE,OAAO,EACzC,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user.d.ts
4
- declare const ParmaGetUserInput: z.ZodTypeAny;
5
- declare const ParmaGetUserOutput: z.ZodTypeAny;
6
- declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaGetUserInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaGetUserOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { parmaGetUser };
9
19
  //# sourceMappingURL=get-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEuC;AAAA,cAM5D,kBAAA,EAAoB,CAAA,CAAE,UAEqC;AAAA,cAE3D,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.cts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAQjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;cAIlB,YAAA,gCAAY,wBAAA"}
@@ -1,9 +1,19 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-user.d.ts
4
- declare const ParmaGetUserInput: z.ZodTypeAny;
5
- declare const ParmaGetUserOutput: z.ZodTypeAny;
6
- declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaGetUserInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const ParmaGetUserOutput: z.ZodObject<{
8
+ data: z.ZodNullable<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ name: z.ZodNullable<z.ZodString>;
11
+ email: z.ZodNullable<z.ZodString>;
12
+ }, z.core.$strip>>;
13
+ }, z.core.$strip>;
14
+ declare const parmaGetUser: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ id: string;
16
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
17
  //#endregion
8
18
  export { parmaGetUser };
9
19
  //# sourceMappingURL=get-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAmB,CAAA,CAAE,UAEuC;AAAA,cAM5D,kBAAA,EAAoB,CAAA,CAAE,UAEqC;AAAA,cAE3D,YAAA,gCAAY,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-user.d.mts","names":[],"sources":["../../src/actions/get-user.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAQjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;cAIlB,YAAA,gCAAY,wBAAA"}
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/get-user.ts
4
4
  const ParmaGetUserInput = z.object({ id: z.string().describe("The unique identifier of the user to retrieve") }).describe("Request model for GET_USER to retrieve a user by their ID.");
5
5
  const ParmaGetUser_UserDataSchema = z.object({
6
- id: z.number().int().describe("User's unique identifier"),
7
- name: z.string().describe("User's name"),
8
- email: z.string().describe("User's email address")
6
+ id: z.number().int().describe("User's unique identifier").nullable(),
7
+ name: z.string().describe("User's name").nullable(),
8
+ email: z.string().describe("User's email address").nullable()
9
9
  }).describe("User data within the API response.");
10
10
  const parmaGetUser = action("PARMA_GET_USER", {
11
11
  slug: "parma-get-user",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for GET_USER to retrieve a user by their ID.\");\nconst ParmaGetUser_UserDataSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"User's unique identifier\"),\n name: z.string().describe(\"User's name\"),\n email: z.string().describe(\"User's email address\"),\n}).describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput: z.ZodTypeAny = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).describe(\"Response schema for GET_USER containing user information.\");\n\nexport const parmaGetUser = action(\"PARMA_GET_USER\", {\n slug: \"parma-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.\",\n input: ParmaGetUserInput,\n output: ParmaGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAkC,EAAE,OAAO,EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;CACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;CACvC,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;AACnD,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-user.mjs","names":[],"sources":["../../src/actions/get-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaGetUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve\"),\n}).describe(\"Request model for GET_USER to retrieve a user by their ID.\");\nconst ParmaGetUser_UserDataSchema = 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}).describe(\"User data within the API response.\");\nexport const ParmaGetUserOutput = z.object({\n data: ParmaGetUser_UserDataSchema.nullable(),\n}).describe(\"Response schema for GET_USER containing user information.\");\n\nexport const parmaGetUser = action(\"PARMA_GET_USER\", {\n slug: \"parma-get-user\",\n name: \"Get User by ID\",\n description: \"Tool to retrieve a user by their unique ID. Use when you need to fetch details for a specific user.\",\n input: ParmaGetUserInput,\n output: ParmaGetUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoB,EAAE,OAAO,EACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,EACzE,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAM,8BAA8B,EAAE,OAAO;CAC3C,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,SAAS,oCAAoC;AAKhD,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgC,EAAE,OAAO,EACzC,MAAM,4BAA4B,SAAS,EAC7C,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-deals.cjs","names":["z","action"],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListDealsInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to retrieve a specific page of deals.\").optional(),\n}).describe(\"Request model for listing deals in Parma.\");\nconst ParmaListDeals_DealSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the deal\").nullable().optional(),\n name: z.string().describe(\"Name of the deal\").nullable().optional(),\n amount: z.number().describe(\"Deal amount value\").nullable().optional(),\n status: z.string().describe(\"Current status of the deal\").nullable().optional(),\n stage_id: z.number().int().describe(\"ID of the current stage in the pipeline\").nullable().optional(),\n closed_at: z.string().describe(\"Timestamp when the deal was closed\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the deal was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the deal was last updated\").nullable().optional(),\n owned_by_id: z.number().int().describe(\"ID of the user who owns this deal\").nullable().optional(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this deal belongs to\").nullable().optional(),\n relationship_id: z.number().int().describe(\"ID of the relationship associated with this deal\").nullable().optional(),\n}).describe(\"Represents a single deal in Parma.\");\nconst ParmaListDeals_MetaSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total count of deals returned\").nullable().optional(),\n}).describe(\"Metadata for the deals list response.\");\nexport const ParmaListDealsOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListDeals_DealSchema).describe(\"List of deals in the Parma account\"),\n meta: ParmaListDeals_MetaSchema.nullable().optional(),\n}).describe(\"Response schema for listing deals containing deal data and metadata.\");\n\nexport const parmaListDeals = action(\"PARMA_LIST_DEALS\", {\n slug: \"parma-list-deals\",\n name: \"List Deals\",\n description: \"Tool to retrieve all deals from the Parma account. Use when you need to list deals, filter by pagination, or get an overview of all deals in the system.\",\n input: ParmaListDealsInput,\n output: ParmaListDealsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4BAA0CA,IAAAA,EAAE,OAAO;CACvD,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,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,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,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,4BAA0CA,IAAAA,EAAE,OAAO,EACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC;CACtF,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-deals.cjs","names":["z","action"],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListDealsInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to retrieve a specific page of deals.\").optional(),\n}).describe(\"Request model for listing deals in Parma.\");\nconst ParmaListDeals_DealSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the deal\").nullable().optional(),\n name: z.string().describe(\"Name of the deal\").nullable().optional(),\n amount: z.number().describe(\"Deal amount value\").nullable().optional(),\n status: z.string().describe(\"Current status of the deal\").nullable().optional(),\n stage_id: z.number().int().describe(\"ID of the current stage in the pipeline\").nullable().optional(),\n closed_at: z.string().describe(\"Timestamp when the deal was closed\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the deal was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the deal was last updated\").nullable().optional(),\n owned_by_id: z.number().int().describe(\"ID of the user who owns this deal\").nullable().optional(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this deal belongs to\").nullable().optional(),\n relationship_id: z.number().int().describe(\"ID of the relationship associated with this deal\").nullable().optional(),\n}).describe(\"Represents a single deal in Parma.\");\nconst ParmaListDeals_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of deals returned\").nullable().optional(),\n}).describe(\"Metadata for the deals list response.\");\nexport const ParmaListDealsOutput = z.object({\n data: z.array(ParmaListDeals_DealSchema).describe(\"List of deals in the Parma account\"),\n meta: ParmaListDeals_MetaSchema.nullable().optional(),\n}).describe(\"Response schema for listing deals containing deal data and metadata.\");\n\nexport const parmaListDeals = action(\"PARMA_LIST_DEALS\", {\n slug: \"parma-list-deals\",\n name: \"List Deals\",\n description: \"Tool to retrieve all deals from the Parma account. Use when you need to list deals, filter by pagination, or get an overview of all deals in the system.\",\n input: ParmaListDealsInput,\n output: ParmaListDealsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,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,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,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,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,4BAA4BA,IAAAA,EAAE,OAAO,EACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC;CACtF,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-deals.d.ts
4
- declare const ParmaListDealsInput: z.ZodTypeAny;
5
- declare const ParmaListDealsOutput: z.ZodTypeAny;
6
- declare const parmaListDeals: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaListDealsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const ParmaListDealsOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ owned_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ relationship_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ }, z.core.$strip>>;
21
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$strip>>>;
24
+ }, z.core.$strip>;
25
+ declare const parmaListDeals: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ page?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { parmaListDeals };
9
30
  //# sourceMappingURL=list-deals.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-deals.d.cts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEoB;AAAA,cAiB3C,oBAAA,EAAsB,CAAA,CAAE,UAG8C;AAAA,cAEtE,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-deals.d.cts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,30 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-deals.d.ts
4
- declare const ParmaListDealsInput: z.ZodTypeAny;
5
- declare const ParmaListDealsOutput: z.ZodTypeAny;
6
- declare const parmaListDeals: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaListDealsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const ParmaListDealsOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
10
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ stage_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14
+ closed_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ owned_by_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
+ pipeline_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
19
+ relationship_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
+ }, z.core.$strip>>;
21
+ meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
22
+ count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
23
+ }, z.core.$strip>>>;
24
+ }, z.core.$strip>;
25
+ declare const parmaListDeals: import("@keystrokehq/action").WorkflowActionDefinition<{
26
+ page?: string | undefined;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
28
  //#endregion
8
29
  export { parmaListDeals };
9
30
  //# sourceMappingURL=list-deals.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-deals.d.mts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEoB;AAAA,cAiB3C,oBAAA,EAAsB,CAAA,CAAE,UAG8C;AAAA,cAEtE,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-deals.d.mts","names":[],"sources":["../../src/actions/list-deals.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAKpB,cAAA,gCAAc,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-deals.mjs","names":[],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListDealsInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to retrieve a specific page of deals.\").optional(),\n}).describe(\"Request model for listing deals in Parma.\");\nconst ParmaListDeals_DealSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the deal\").nullable().optional(),\n name: z.string().describe(\"Name of the deal\").nullable().optional(),\n amount: z.number().describe(\"Deal amount value\").nullable().optional(),\n status: z.string().describe(\"Current status of the deal\").nullable().optional(),\n stage_id: z.number().int().describe(\"ID of the current stage in the pipeline\").nullable().optional(),\n closed_at: z.string().describe(\"Timestamp when the deal was closed\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the deal was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the deal was last updated\").nullable().optional(),\n owned_by_id: z.number().int().describe(\"ID of the user who owns this deal\").nullable().optional(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this deal belongs to\").nullable().optional(),\n relationship_id: z.number().int().describe(\"ID of the relationship associated with this deal\").nullable().optional(),\n}).describe(\"Represents a single deal in Parma.\");\nconst ParmaListDeals_MetaSchema: z.ZodTypeAny = z.object({\n count: z.number().int().describe(\"Total count of deals returned\").nullable().optional(),\n}).describe(\"Metadata for the deals list response.\");\nexport const ParmaListDealsOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListDeals_DealSchema).describe(\"List of deals in the Parma account\"),\n meta: ParmaListDeals_MetaSchema.nullable().optional(),\n}).describe(\"Response schema for listing deals containing deal data and metadata.\");\n\nexport const parmaListDeals = action(\"PARMA_LIST_DEALS\", {\n slug: \"parma-list-deals\",\n name: \"List Deals\",\n description: \"Tool to retrieve all deals from the Parma account. Use when you need to list deals, filter by pagination, or get an overview of all deals in the system.\",\n input: ParmaListDealsInput,\n output: ParmaListDealsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4BAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,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,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,4BAA0C,EAAE,OAAO,EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVgD,EAAE,OAAO;EACzD,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC;EACtF,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;CACtD,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-deals.mjs","names":[],"sources":["../../src/actions/list-deals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListDealsInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to retrieve a specific page of deals.\").optional(),\n}).describe(\"Request model for listing deals in Parma.\");\nconst ParmaListDeals_DealSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the deal\").nullable().optional(),\n name: z.string().describe(\"Name of the deal\").nullable().optional(),\n amount: z.number().describe(\"Deal amount value\").nullable().optional(),\n status: z.string().describe(\"Current status of the deal\").nullable().optional(),\n stage_id: z.number().int().describe(\"ID of the current stage in the pipeline\").nullable().optional(),\n closed_at: z.string().describe(\"Timestamp when the deal was closed\").nullable().optional(),\n created_at: z.string().describe(\"Timestamp when the deal was created\").nullable().optional(),\n updated_at: z.string().describe(\"Timestamp when the deal was last updated\").nullable().optional(),\n owned_by_id: z.number().int().describe(\"ID of the user who owns this deal\").nullable().optional(),\n pipeline_id: z.number().int().describe(\"ID of the pipeline this deal belongs to\").nullable().optional(),\n relationship_id: z.number().int().describe(\"ID of the relationship associated with this deal\").nullable().optional(),\n}).describe(\"Represents a single deal in Parma.\");\nconst ParmaListDeals_MetaSchema = z.object({\n count: z.number().int().describe(\"Total count of deals returned\").nullable().optional(),\n}).describe(\"Metadata for the deals list response.\");\nexport const ParmaListDealsOutput = z.object({\n data: z.array(ParmaListDeals_DealSchema).describe(\"List of deals in the Parma account\"),\n meta: ParmaListDeals_MetaSchema.nullable().optional(),\n}).describe(\"Response schema for listing deals containing deal data and metadata.\");\n\nexport const parmaListDeals = action(\"PARMA_LIST_DEALS\", {\n slug: \"parma-list-deals\",\n name: \"List Deals\",\n description: \"Tool to retrieve all deals from the Parma account. Use when you need to list deals, filter by pagination, or get an overview of all deals in the system.\",\n input: ParmaListDealsInput,\n output: ParmaListDealsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,UAAU,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,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,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAM,4BAA4B,EAAE,OAAO,EACzC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAMnD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVkC,EAAE,OAAO;EAC3C,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC;EACtF,MAAM,0BAA0B,SAAS,CAAC,CAAC,SAAS;CACtD,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
@@ -6,13 +6,13 @@ const ParmaListGroupsInput = zod.z.object({
6
6
  query: zod.z.string().describe("Search query to filter groups by name or properties").optional()
7
7
  }).describe("Request model for listing groups in the Parma account.");
8
8
  const ParmaListGroups_GroupPropertySchema = zod.z.object({
9
- id: zod.z.number().int().describe("Property unique identifier"),
10
- name: zod.z.string().describe("Property name"),
11
- type: zod.z.string().describe("Property type")
9
+ id: zod.z.number().int().describe("Property unique identifier").nullable(),
10
+ name: zod.z.string().describe("Property name").nullable(),
11
+ type: zod.z.string().describe("Property type").nullable()
12
12
  }).describe("Represents a property within a group.");
13
13
  const ParmaListGroups_GroupSchema = zod.z.object({
14
- id: zod.z.number().int().describe("Group unique identifier"),
15
- name: zod.z.string().describe("Group name"),
14
+ id: zod.z.number().int().describe("Group unique identifier").nullable(),
15
+ name: zod.z.string().describe("Group name").nullable(),
16
16
  properties: zod.z.array(ParmaListGroups_GroupPropertySchema).describe("List of properties associated with the group").nullable().optional()
17
17
  }).describe("Represents a single group in the Parma account.");
18
18
  const ParmaListGroupsOutput = zod.z.object({ data: zod.z.array(ParmaListGroups_GroupSchema).describe("List of groups in the Parma account") }).describe("Response schema for listing groups containing an array of group objects.");
@@ -1 +1 @@
1
- {"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListGroupsInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of groups.\").optional(),\n query: z.string().describe(\"Search query to filter groups by name or properties\").optional(),\n}).describe(\"Request model for listing groups in the Parma account.\");\nconst ParmaListGroups_GroupPropertySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Property unique identifier\"),\n name: z.string().describe(\"Property name\"),\n type: z.string().describe(\"Property type\"),\n}).describe(\"Represents a property within a group.\");\nconst ParmaListGroups_GroupSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Group unique identifier\"),\n name: z.string().describe(\"Group name\"),\n properties: z.array(ParmaListGroups_GroupPropertySchema).describe(\"List of properties associated with the group\").nullable().optional(),\n}).describe(\"Represents a single group in the Parma account.\");\nexport const ParmaListGroupsOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListGroups_GroupSchema).describe(\"List of groups in the Parma account\"),\n}).describe(\"Response schema for listing groups containing an array of group objects.\");\n\nexport const parmaListGroups = action(\"PARMA_LIST_GROUPS\", {\n slug: \"parma-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups in the Parma account. Use when you need to list groups, optionally filtered by a search query.\",\n input: ParmaListGroupsInput,\n output: ParmaListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;AAC3C,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8BAA4CA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACtC,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wBAAsCA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListGroupsInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of groups.\").optional(),\n query: z.string().describe(\"Search query to filter groups by name or properties\").optional(),\n}).describe(\"Request model for listing groups in the Parma account.\");\nconst ParmaListGroups_GroupPropertySchema = z.object({\n id: z.number().int().describe(\"Property unique identifier\").nullable(),\n name: z.string().describe(\"Property name\").nullable(),\n type: z.string().describe(\"Property type\").nullable(),\n}).describe(\"Represents a property within a group.\");\nconst ParmaListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group unique identifier\").nullable(),\n name: z.string().describe(\"Group name\").nullable(),\n properties: z.array(ParmaListGroups_GroupPropertySchema).describe(\"List of properties associated with the group\").nullable().optional(),\n}).describe(\"Represents a single group in the Parma account.\");\nexport const ParmaListGroupsOutput = z.object({\n data: z.array(ParmaListGroups_GroupSchema).describe(\"List of groups in the Parma account\"),\n}).describe(\"Response schema for listing groups containing an array of group objects.\");\n\nexport const parmaListGroups = action(\"PARMA_LIST_GROUPS\", {\n slug: \"parma-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups in the Parma account. Use when you need to list groups, optionally filtered by a search query.\",\n input: ParmaListGroupsInput,\n output: ParmaListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,YAAYA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,MAAMA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,SAAS,0EAA0E;AAEtF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-groups.d.ts
4
- declare const ParmaListGroupsInput: z.ZodTypeAny;
5
- declare const ParmaListGroupsOutput: z.ZodTypeAny;
6
- declare const parmaListGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaListGroupsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodString>;
6
+ query: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ParmaListGroupsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ properties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ type: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>>>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const parmaListGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ page?: string | undefined;
21
+ query?: string | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { parmaListGroups };
9
25
  //# sourceMappingURL=list-groups.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGgC;AAAA,cAWxD,qBAAA,EAAuB,CAAA,CAAE,UAEiD;AAAA,cAE1E,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-groups.d.ts
4
- declare const ParmaListGroupsInput: z.ZodTypeAny;
5
- declare const ParmaListGroupsOutput: z.ZodTypeAny;
6
- declare const parmaListGroups: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaListGroupsInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodString>;
6
+ query: z.ZodOptional<z.ZodString>;
7
+ }, z.core.$strip>;
8
+ declare const ParmaListGroupsOutput: z.ZodObject<{
9
+ data: z.ZodArray<z.ZodObject<{
10
+ id: z.ZodNullable<z.ZodNumber>;
11
+ name: z.ZodNullable<z.ZodString>;
12
+ properties: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodNumber>;
14
+ name: z.ZodNullable<z.ZodString>;
15
+ type: z.ZodNullable<z.ZodString>;
16
+ }, z.core.$strip>>>>;
17
+ }, z.core.$strip>>;
18
+ }, z.core.$strip>;
19
+ declare const parmaListGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
20
+ page?: string | undefined;
21
+ query?: string | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { parmaListGroups };
9
25
  //# sourceMappingURL=list-groups.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGgC;AAAA,cAWxD,qBAAA,EAAuB,CAAA,CAAE,UAEiD;AAAA,cAE1E,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAcpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
@@ -6,13 +6,13 @@ const ParmaListGroupsInput = z.object({
6
6
  query: z.string().describe("Search query to filter groups by name or properties").optional()
7
7
  }).describe("Request model for listing groups in the Parma account.");
8
8
  const ParmaListGroups_GroupPropertySchema = z.object({
9
- id: z.number().int().describe("Property unique identifier"),
10
- name: z.string().describe("Property name"),
11
- type: z.string().describe("Property type")
9
+ id: z.number().int().describe("Property unique identifier").nullable(),
10
+ name: z.string().describe("Property name").nullable(),
11
+ type: z.string().describe("Property type").nullable()
12
12
  }).describe("Represents a property within a group.");
13
13
  const ParmaListGroups_GroupSchema = z.object({
14
- id: z.number().int().describe("Group unique identifier"),
15
- name: z.string().describe("Group name"),
14
+ id: z.number().int().describe("Group unique identifier").nullable(),
15
+ name: z.string().describe("Group name").nullable(),
16
16
  properties: z.array(ParmaListGroups_GroupPropertySchema).describe("List of properties associated with the group").nullable().optional()
17
17
  }).describe("Represents a single group in the Parma account.");
18
18
  const parmaListGroups = action("PARMA_LIST_GROUPS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListGroupsInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of groups.\").optional(),\n query: z.string().describe(\"Search query to filter groups by name or properties\").optional(),\n}).describe(\"Request model for listing groups in the Parma account.\");\nconst ParmaListGroups_GroupPropertySchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Property unique identifier\"),\n name: z.string().describe(\"Property name\"),\n type: z.string().describe(\"Property type\"),\n}).describe(\"Represents a property within a group.\");\nconst ParmaListGroups_GroupSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Group unique identifier\"),\n name: z.string().describe(\"Group name\"),\n properties: z.array(ParmaListGroups_GroupPropertySchema).describe(\"List of properties associated with the group\").nullable().optional(),\n}).describe(\"Represents a single group in the Parma account.\");\nexport const ParmaListGroupsOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListGroups_GroupSchema).describe(\"List of groups in the Parma account\"),\n}).describe(\"Response schema for listing groups containing an array of group objects.\");\n\nexport const parmaListGroups = action(\"PARMA_LIST_GROUPS\", {\n slug: \"parma-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups in the Parma account. Use when you need to list groups, optionally filtered by a search query.\",\n input: ParmaListGroupsInput,\n output: ParmaListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;CACzC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe;AAC3C,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8BAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY;CACtC,YAAY,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATiD,EAAE,OAAO,EAC1D,MAAM,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,qCAAqC,EAC3F,CAAC,CAAC,CAAC,SAAS,0EAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListGroupsInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of groups.\").optional(),\n query: z.string().describe(\"Search query to filter groups by name or properties\").optional(),\n}).describe(\"Request model for listing groups in the Parma account.\");\nconst ParmaListGroups_GroupPropertySchema = z.object({\n id: z.number().int().describe(\"Property unique identifier\").nullable(),\n name: z.string().describe(\"Property name\").nullable(),\n type: z.string().describe(\"Property type\").nullable(),\n}).describe(\"Represents a property within a group.\");\nconst ParmaListGroups_GroupSchema = z.object({\n id: z.number().int().describe(\"Group unique identifier\").nullable(),\n name: z.string().describe(\"Group name\").nullable(),\n properties: z.array(ParmaListGroups_GroupPropertySchema).describe(\"List of properties associated with the group\").nullable().optional(),\n}).describe(\"Represents a single group in the Parma account.\");\nexport const ParmaListGroupsOutput = z.object({\n data: z.array(ParmaListGroups_GroupSchema).describe(\"List of groups in the Parma account\"),\n}).describe(\"Response schema for listing groups containing an array of group objects.\");\n\nexport const parmaListGroups = action(\"PARMA_LIST_GROUPS\", {\n slug: \"parma-list-groups\",\n name: \"List Groups\",\n description: \"Tool to retrieve all groups in the Parma account. Use when you need to list groups, optionally filtered by a search query.\",\n input: ParmaListGroupsInput,\n output: ParmaListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;AACtD,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8BAA8B,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS;CACjD,YAAY,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAK7D,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,SAAS,0EAOF;AACV,CAAC"}
@@ -3,11 +3,11 @@ let zod = require("zod");
3
3
  //#region src/actions/list-notes.ts
4
4
  const ParmaListNotesInput = zod.z.object({ page: zod.z.string().describe("Page number for pagination. Use to navigate through multiple pages of notes.").optional() }).describe("Request model for LIST_NOTES action.");
5
5
  const ParmaListNotes_NoteSchema = zod.z.object({
6
- id: zod.z.number().int().describe("Unique identifier of the note"),
7
- body: zod.z.string().describe("Content/body text of the note"),
8
- datetime: zod.z.string().describe("Date and time associated with the note (ISO format)"),
9
- created_at: zod.z.string().describe("Timestamp when the note was created (ISO format)"),
10
- updated_at: zod.z.string().describe("Timestamp when the note was last updated (ISO format)"),
6
+ id: zod.z.number().int().describe("Unique identifier of the note").nullable(),
7
+ body: zod.z.string().describe("Content/body text of the note").nullable(),
8
+ datetime: zod.z.string().describe("Date and time associated with the note (ISO format)").nullable(),
9
+ created_at: zod.z.string().describe("Timestamp when the note was created (ISO format)").nullable(),
10
+ updated_at: zod.z.string().describe("Timestamp when the note was last updated (ISO format)").nullable(),
11
11
  relationship_ids: zod.z.array(zod.z.number().int()).describe("List of relationship IDs associated with this note")
12
12
  }).describe("Represents a single note in the Parma account.");
13
13
  const ParmaListNotesOutput = zod.z.object({ data: zod.z.array(ParmaListNotes_NoteSchema).describe("List of notes in the Parma account") }).describe("Response schema for LIST_NOTES containing all notes in the account.");
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListNotesInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of notes.\").optional(),\n}).describe(\"Request model for LIST_NOTES action.\");\nconst ParmaListNotes_NoteSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\"),\n body: z.string().describe(\"Content/body text of the note\"),\n datetime: z.string().describe(\"Date and time associated with the note (ISO format)\"),\n created_at: z.string().describe(\"Timestamp when the note was created (ISO format)\"),\n updated_at: z.string().describe(\"Timestamp when the note was last updated (ISO format)\"),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs associated with this note\"),\n}).describe(\"Represents a single note in the Parma account.\");\nexport const ParmaListNotesOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListNotes_NoteSchema).describe(\"List of notes in the Parma account\"),\n}).describe(\"Response schema for LIST_NOTES containing all notes in the account.\");\n\nexport const parmaListNotes = action(\"PARMA_LIST_NOTES\", {\n slug: \"parma-list-notes\",\n name: \"List Notes\",\n description: \"Tool to retrieve all notes from the Parma account. Use when you need to list or search through notes associated with relationships.\",\n input: ParmaListNotesInput,\n output: ParmaListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4BAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACnF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC,EACxF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-notes.cjs","names":["z","action"],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListNotesInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of notes.\").optional(),\n}).describe(\"Request model for LIST_NOTES action.\");\nconst ParmaListNotes_NoteSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable(),\n body: z.string().describe(\"Content/body text of the note\").nullable(),\n datetime: z.string().describe(\"Date and time associated with the note (ISO format)\").nullable(),\n created_at: z.string().describe(\"Timestamp when the note was created (ISO format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated (ISO format)\").nullable(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs associated with this note\"),\n}).describe(\"Represents a single note in the Parma account.\");\nexport const ParmaListNotesOutput = z.object({\n data: z.array(ParmaListNotes_NoteSchema).describe(\"List of notes in the Parma account\"),\n}).describe(\"Response schema for LIST_NOTES containing all notes in the account.\");\n\nexport const parmaListNotes = action(\"PARMA_LIST_NOTES\", {\n slug: \"parma-list-notes\",\n name: \"List Notes\",\n description: \"Tool to retrieve all notes from the Parma account. Use when you need to list or search through notes associated with relationships.\",\n input: ParmaListNotesInput,\n output: ParmaListNotesOutput,\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,sCAAsC;AAClD,MAAM,4BAA4BA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,MAAMA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC,EACxF,CAAC,CAAC,CAAC,SAAS,qEAAqE;AAEjF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-notes.d.ts
4
- declare const ParmaListNotesInput: z.ZodTypeAny;
5
- declare const ParmaListNotesOutput: z.ZodTypeAny;
6
- declare const parmaListNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaListNotesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const ParmaListNotesOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ body: z.ZodNullable<z.ZodString>;
11
+ datetime: z.ZodNullable<z.ZodString>;
12
+ created_at: z.ZodNullable<z.ZodString>;
13
+ updated_at: z.ZodNullable<z.ZodString>;
14
+ relationship_ids: z.ZodArray<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const parmaListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ page?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { parmaListNotes };
9
22
  //# sourceMappingURL=list-notes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEe;AAAA,cAStC,oBAAA,EAAsB,CAAA,CAAE,UAE6C;AAAA,cAErE,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-notes.d.cts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAWnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-notes.d.ts
4
- declare const ParmaListNotesInput: z.ZodTypeAny;
5
- declare const ParmaListNotesOutput: z.ZodTypeAny;
6
- declare const parmaListNotes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ParmaListNotesInput: z.ZodObject<{
5
+ page: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const ParmaListNotesOutput: z.ZodObject<{
8
+ data: z.ZodArray<z.ZodObject<{
9
+ id: z.ZodNullable<z.ZodNumber>;
10
+ body: z.ZodNullable<z.ZodString>;
11
+ datetime: z.ZodNullable<z.ZodString>;
12
+ created_at: z.ZodNullable<z.ZodString>;
13
+ updated_at: z.ZodNullable<z.ZodString>;
14
+ relationship_ids: z.ZodArray<z.ZodNumber>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
17
+ declare const parmaListNotes: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ page?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { parmaListNotes };
9
22
  //# sourceMappingURL=list-notes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEe;AAAA,cAStC,oBAAA,EAAsB,CAAA,CAAE,UAE6C;AAAA,cAErE,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-notes.d.mts","names":[],"sources":["../../src/actions/list-notes.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAWnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;cAIpB,cAAA,gCAAc,wBAAA"}
@@ -3,11 +3,11 @@ import { z } from "zod";
3
3
  //#region src/actions/list-notes.ts
4
4
  const ParmaListNotesInput = z.object({ page: z.string().describe("Page number for pagination. Use to navigate through multiple pages of notes.").optional() }).describe("Request model for LIST_NOTES action.");
5
5
  const ParmaListNotes_NoteSchema = z.object({
6
- id: z.number().int().describe("Unique identifier of the note"),
7
- body: z.string().describe("Content/body text of the note"),
8
- datetime: z.string().describe("Date and time associated with the note (ISO format)"),
9
- created_at: z.string().describe("Timestamp when the note was created (ISO format)"),
10
- updated_at: z.string().describe("Timestamp when the note was last updated (ISO format)"),
6
+ id: z.number().int().describe("Unique identifier of the note").nullable(),
7
+ body: z.string().describe("Content/body text of the note").nullable(),
8
+ datetime: z.string().describe("Date and time associated with the note (ISO format)").nullable(),
9
+ created_at: z.string().describe("Timestamp when the note was created (ISO format)").nullable(),
10
+ updated_at: z.string().describe("Timestamp when the note was last updated (ISO format)").nullable(),
11
11
  relationship_ids: z.array(z.number().int()).describe("List of relationship IDs associated with this note")
12
12
  }).describe("Represents a single note in the Parma account.");
13
13
  const parmaListNotes = action("PARMA_LIST_NOTES", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListNotesInput: z.ZodTypeAny = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of notes.\").optional(),\n}).describe(\"Request model for LIST_NOTES action.\");\nconst ParmaListNotes_NoteSchema: z.ZodTypeAny = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\"),\n body: z.string().describe(\"Content/body text of the note\"),\n datetime: z.string().describe(\"Date and time associated with the note (ISO format)\"),\n created_at: z.string().describe(\"Timestamp when the note was created (ISO format)\"),\n updated_at: z.string().describe(\"Timestamp when the note was last updated (ISO format)\"),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs associated with this note\"),\n}).describe(\"Represents a single note in the Parma account.\");\nexport const ParmaListNotesOutput: z.ZodTypeAny = z.object({\n data: z.array(ParmaListNotes_NoteSchema).describe(\"List of notes in the Parma account\"),\n}).describe(\"Response schema for LIST_NOTES containing all notes in the account.\");\n\nexport const parmaListNotes = action(\"PARMA_LIST_NOTES\", {\n slug: \"parma-list-notes\",\n name: \"List Notes\",\n description: \"Tool to retrieve all notes from the Parma account. Use when you need to list or search through notes associated with relationships.\",\n input: ParmaListNotesInput,\n output: ParmaListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO,EACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4BAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACnF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACvF,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC,EACxF,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-notes.mjs","names":[],"sources":["../../src/actions/list-notes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ParmaListNotesInput = z.object({\n page: z.string().describe(\"Page number for pagination. Use to navigate through multiple pages of notes.\").optional(),\n}).describe(\"Request model for LIST_NOTES action.\");\nconst ParmaListNotes_NoteSchema = z.object({\n id: z.number().int().describe(\"Unique identifier of the note\").nullable(),\n body: z.string().describe(\"Content/body text of the note\").nullable(),\n datetime: z.string().describe(\"Date and time associated with the note (ISO format)\").nullable(),\n created_at: z.string().describe(\"Timestamp when the note was created (ISO format)\").nullable(),\n updated_at: z.string().describe(\"Timestamp when the note was last updated (ISO format)\").nullable(),\n relationship_ids: z.array(z.number().int()).describe(\"List of relationship IDs associated with this note\"),\n}).describe(\"Represents a single note in the Parma account.\");\nexport const ParmaListNotesOutput = z.object({\n data: z.array(ParmaListNotes_NoteSchema).describe(\"List of notes in the Parma account\"),\n}).describe(\"Response schema for LIST_NOTES containing all notes in the account.\");\n\nexport const parmaListNotes = action(\"PARMA_LIST_NOTES\", {\n slug: \"parma-list-notes\",\n name: \"List Notes\",\n description: \"Tool to retrieve all notes from the Parma account. Use when you need to list or search through notes associated with relationships.\",\n input: ParmaListNotesInput,\n output: ParmaListNotesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO,EAC1C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,4BAA4B,EAAE,OAAO;CACzC,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAC3G,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAK5D,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATkC,EAAE,OAAO,EAC3C,MAAM,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,oCAAoC,EACxF,CAAC,CAAC,CAAC,SAAS,qEAOF;AACV,CAAC"}