@keystrokehq/mural 0.1.0 → 0.1.3

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 (179) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/authorization-request.cjs +1 -1
  4. package/dist/actions/authorization-request.cjs.map +1 -1
  5. package/dist/actions/authorization-request.d.cts +17 -3
  6. package/dist/actions/authorization-request.d.cts.map +1 -1
  7. package/dist/actions/authorization-request.d.mts +17 -3
  8. package/dist/actions/authorization-request.d.mts.map +1 -1
  9. package/dist/actions/authorization-request.mjs +1 -1
  10. package/dist/actions/authorization-request.mjs.map +1 -1
  11. package/dist/actions/create-sticky-note.cjs +15 -15
  12. package/dist/actions/create-sticky-note.cjs.map +1 -1
  13. package/dist/actions/create-sticky-note.d.cts +94 -3
  14. package/dist/actions/create-sticky-note.d.cts.map +1 -1
  15. package/dist/actions/create-sticky-note.d.mts +94 -3
  16. package/dist/actions/create-sticky-note.d.mts.map +1 -1
  17. package/dist/actions/create-sticky-note.mjs +15 -15
  18. package/dist/actions/create-sticky-note.mjs.map +1 -1
  19. package/dist/actions/get-current-user.cjs +9 -9
  20. package/dist/actions/get-current-user.cjs.map +1 -1
  21. package/dist/actions/get-current-user.d.cts +12 -3
  22. package/dist/actions/get-current-user.d.cts.map +1 -1
  23. package/dist/actions/get-current-user.d.mts +12 -3
  24. package/dist/actions/get-current-user.d.mts.map +1 -1
  25. package/dist/actions/get-current-user.mjs +9 -9
  26. package/dist/actions/get-current-user.mjs.map +1 -1
  27. package/dist/actions/get-files-for-mural.cjs +20 -20
  28. package/dist/actions/get-files-for-mural.cjs.map +1 -1
  29. package/dist/actions/get-files-for-mural.d.cts +53 -3
  30. package/dist/actions/get-files-for-mural.d.cts.map +1 -1
  31. package/dist/actions/get-files-for-mural.d.mts +53 -3
  32. package/dist/actions/get-files-for-mural.d.mts.map +1 -1
  33. package/dist/actions/get-files-for-mural.mjs +20 -20
  34. package/dist/actions/get-files-for-mural.mjs.map +1 -1
  35. package/dist/actions/get-mural-widgets.cjs +8 -8
  36. package/dist/actions/get-mural-widgets.cjs.map +1 -1
  37. package/dist/actions/get-mural-widgets.d.cts +51 -3
  38. package/dist/actions/get-mural-widgets.d.cts.map +1 -1
  39. package/dist/actions/get-mural-widgets.d.mts +51 -3
  40. package/dist/actions/get-mural-widgets.d.mts.map +1 -1
  41. package/dist/actions/get-mural-widgets.mjs +8 -8
  42. package/dist/actions/get-mural-widgets.mjs.map +1 -1
  43. package/dist/actions/get-room.cjs +5 -5
  44. package/dist/actions/get-room.cjs.map +1 -1
  45. package/dist/actions/get-room.d.cts +18 -3
  46. package/dist/actions/get-room.d.cts.map +1 -1
  47. package/dist/actions/get-room.d.mts +18 -3
  48. package/dist/actions/get-room.d.mts.map +1 -1
  49. package/dist/actions/get-room.mjs +5 -5
  50. package/dist/actions/get-room.mjs.map +1 -1
  51. package/dist/actions/get-workspace.cjs +3 -3
  52. package/dist/actions/get-workspace.cjs.map +1 -1
  53. package/dist/actions/get-workspace.d.cts +13 -3
  54. package/dist/actions/get-workspace.d.cts.map +1 -1
  55. package/dist/actions/get-workspace.d.mts +13 -3
  56. package/dist/actions/get-workspace.d.mts.map +1 -1
  57. package/dist/actions/get-workspace.mjs +3 -3
  58. package/dist/actions/get-workspace.mjs.map +1 -1
  59. package/dist/actions/get-workspaces.cjs +4 -4
  60. package/dist/actions/get-workspaces.cjs.map +1 -1
  61. package/dist/actions/get-workspaces.d.cts +18 -3
  62. package/dist/actions/get-workspaces.d.cts.map +1 -1
  63. package/dist/actions/get-workspaces.d.mts +18 -3
  64. package/dist/actions/get-workspaces.d.mts.map +1 -1
  65. package/dist/actions/get-workspaces.mjs +4 -4
  66. package/dist/actions/get-workspaces.mjs.map +1 -1
  67. package/dist/actions/list-folders.cjs +5 -5
  68. package/dist/actions/list-folders.cjs.map +1 -1
  69. package/dist/actions/list-folders.d.cts +20 -3
  70. package/dist/actions/list-folders.d.cts.map +1 -1
  71. package/dist/actions/list-folders.d.mts +20 -3
  72. package/dist/actions/list-folders.d.mts.map +1 -1
  73. package/dist/actions/list-folders.mjs +5 -5
  74. package/dist/actions/list-folders.mjs.map +1 -1
  75. package/dist/actions/list-open-rooms.cjs +6 -6
  76. package/dist/actions/list-open-rooms.cjs.map +1 -1
  77. package/dist/actions/list-open-rooms.d.cts +25 -3
  78. package/dist/actions/list-open-rooms.d.cts.map +1 -1
  79. package/dist/actions/list-open-rooms.d.mts +25 -3
  80. package/dist/actions/list-open-rooms.d.mts.map +1 -1
  81. package/dist/actions/list-open-rooms.mjs +6 -6
  82. package/dist/actions/list-open-rooms.mjs.map +1 -1
  83. package/dist/actions/list-recent-murals.cjs +3 -3
  84. package/dist/actions/list-recent-murals.cjs.map +1 -1
  85. package/dist/actions/list-recent-murals.d.cts +26 -3
  86. package/dist/actions/list-recent-murals.d.cts.map +1 -1
  87. package/dist/actions/list-recent-murals.d.mts +26 -3
  88. package/dist/actions/list-recent-murals.d.mts.map +1 -1
  89. package/dist/actions/list-recent-murals.mjs +3 -3
  90. package/dist/actions/list-recent-murals.mjs.map +1 -1
  91. package/dist/actions/list-recent-templates.cjs +2 -2
  92. package/dist/actions/list-recent-templates.cjs.map +1 -1
  93. package/dist/actions/list-recent-templates.d.cts +25 -3
  94. package/dist/actions/list-recent-templates.d.cts.map +1 -1
  95. package/dist/actions/list-recent-templates.d.mts +25 -3
  96. package/dist/actions/list-recent-templates.d.mts.map +1 -1
  97. package/dist/actions/list-recent-templates.mjs +2 -2
  98. package/dist/actions/list-recent-templates.mjs.map +1 -1
  99. package/dist/actions/list-room-murals.cjs +2 -2
  100. package/dist/actions/list-room-murals.cjs.map +1 -1
  101. package/dist/actions/list-room-murals.d.cts +37 -3
  102. package/dist/actions/list-room-murals.d.cts.map +1 -1
  103. package/dist/actions/list-room-murals.d.mts +37 -3
  104. package/dist/actions/list-room-murals.d.mts.map +1 -1
  105. package/dist/actions/list-room-murals.mjs +2 -2
  106. package/dist/actions/list-room-murals.mjs.map +1 -1
  107. package/dist/actions/list-room-users.cjs +6 -6
  108. package/dist/actions/list-room-users.cjs.map +1 -1
  109. package/dist/actions/list-room-users.d.cts +22 -3
  110. package/dist/actions/list-room-users.d.cts.map +1 -1
  111. package/dist/actions/list-room-users.d.mts +22 -3
  112. package/dist/actions/list-room-users.d.mts.map +1 -1
  113. package/dist/actions/list-room-users.mjs +6 -6
  114. package/dist/actions/list-room-users.mjs.map +1 -1
  115. package/dist/actions/list-rooms.cjs +6 -6
  116. package/dist/actions/list-rooms.cjs.map +1 -1
  117. package/dist/actions/list-rooms.d.cts +25 -3
  118. package/dist/actions/list-rooms.d.cts.map +1 -1
  119. package/dist/actions/list-rooms.d.mts +25 -3
  120. package/dist/actions/list-rooms.d.mts.map +1 -1
  121. package/dist/actions/list-rooms.mjs +6 -6
  122. package/dist/actions/list-rooms.mjs.map +1 -1
  123. package/dist/actions/list-tags.cjs +4 -4
  124. package/dist/actions/list-tags.cjs.map +1 -1
  125. package/dist/actions/list-tags.d.cts +15 -3
  126. package/dist/actions/list-tags.d.cts.map +1 -1
  127. package/dist/actions/list-tags.d.mts +15 -3
  128. package/dist/actions/list-tags.d.mts.map +1 -1
  129. package/dist/actions/list-tags.mjs +4 -4
  130. package/dist/actions/list-tags.mjs.map +1 -1
  131. package/dist/actions/list-templates.cjs +4 -4
  132. package/dist/actions/list-templates.cjs.map +1 -1
  133. package/dist/actions/list-templates.d.cts +18 -3
  134. package/dist/actions/list-templates.d.cts.map +1 -1
  135. package/dist/actions/list-templates.d.mts +18 -3
  136. package/dist/actions/list-templates.d.mts.map +1 -1
  137. package/dist/actions/list-templates.mjs +4 -4
  138. package/dist/actions/list-templates.mjs.map +1 -1
  139. package/dist/actions/list-workspace-murals.cjs +3 -3
  140. package/dist/actions/list-workspace-murals.cjs.map +1 -1
  141. package/dist/actions/list-workspace-murals.d.cts +34 -3
  142. package/dist/actions/list-workspace-murals.d.cts.map +1 -1
  143. package/dist/actions/list-workspace-murals.d.mts +34 -3
  144. package/dist/actions/list-workspace-murals.d.mts.map +1 -1
  145. package/dist/actions/list-workspace-murals.mjs +3 -3
  146. package/dist/actions/list-workspace-murals.mjs.map +1 -1
  147. package/dist/actions/list-workspace-templates.cjs +3 -3
  148. package/dist/actions/list-workspace-templates.cjs.map +1 -1
  149. package/dist/actions/list-workspace-templates.d.cts +26 -3
  150. package/dist/actions/list-workspace-templates.d.cts.map +1 -1
  151. package/dist/actions/list-workspace-templates.d.mts +26 -3
  152. package/dist/actions/list-workspace-templates.d.mts.map +1 -1
  153. package/dist/actions/list-workspace-templates.mjs +3 -3
  154. package/dist/actions/list-workspace-templates.mjs.map +1 -1
  155. package/dist/actions/search-murals.cjs +3 -3
  156. package/dist/actions/search-murals.cjs.map +1 -1
  157. package/dist/actions/search-murals.d.cts +27 -3
  158. package/dist/actions/search-murals.d.cts.map +1 -1
  159. package/dist/actions/search-murals.d.mts +27 -3
  160. package/dist/actions/search-murals.d.mts.map +1 -1
  161. package/dist/actions/search-murals.mjs +3 -3
  162. package/dist/actions/search-murals.mjs.map +1 -1
  163. package/dist/actions/search-rooms.cjs +6 -6
  164. package/dist/actions/search-rooms.cjs.map +1 -1
  165. package/dist/actions/search-rooms.d.cts +27 -3
  166. package/dist/actions/search-rooms.d.cts.map +1 -1
  167. package/dist/actions/search-rooms.d.mts +27 -3
  168. package/dist/actions/search-rooms.d.mts.map +1 -1
  169. package/dist/actions/search-rooms.mjs +6 -6
  170. package/dist/actions/search-rooms.mjs.map +1 -1
  171. package/dist/actions/search-templates.cjs +4 -4
  172. package/dist/actions/search-templates.cjs.map +1 -1
  173. package/dist/actions/search-templates.d.cts +23 -3
  174. package/dist/actions/search-templates.d.cts.map +1 -1
  175. package/dist/actions/search-templates.d.mts +23 -3
  176. package/dist/actions/search-templates.d.mts.map +1 -1
  177. package/dist/actions/search-templates.mjs +4 -4
  178. package/dist/actions/search-templates.mjs.map +1 -1
  179. package/package.json +2 -2
@@ -3,15 +3,15 @@ let zod = require("zod");
3
3
  //#region src/actions/get-current-user.ts
4
4
  const MuralGetCurrentUserInput = zod.z.object({}).describe("Request model for retrieving information about the currently authenticated user.");
5
5
  const MuralGetCurrentUserOutput = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier for the current user"),
7
- type: zod.z.string().describe("Type of the user"),
8
- email: zod.z.string().describe("Email address of the current user"),
9
- avatar: zod.z.string().describe("URL to the user's avatar image"),
10
- lastName: zod.z.string().describe("Last name of the current user"),
11
- createdOn: zod.z.number().int().describe("Timestamp when the user was created (timestamp in ms)"),
12
- firstName: zod.z.string().describe("First name of the current user"),
13
- lastActiveWorkspace: zod.z.string().describe("Last active workspace ID")
14
- }).describe("Response model for retrieving the current user's details.");
6
+ id: zod.z.string().describe("Unique identifier for the current user").nullable(),
7
+ type: zod.z.string().describe("Type of the user").nullable(),
8
+ email: zod.z.string().describe("Email address of the current user").nullable(),
9
+ avatar: zod.z.string().describe("URL to the user's avatar image").nullable(),
10
+ lastName: zod.z.string().describe("Last name of the current user").nullable(),
11
+ createdOn: zod.z.number().int().describe("Timestamp when the user was created (timestamp in ms)").nullable(),
12
+ firstName: zod.z.string().describe("First name of the current user").nullable(),
13
+ lastActiveWorkspace: zod.z.string().describe("Last active workspace ID").nullable()
14
+ }).passthrough().describe("Response model for retrieving the current user's details.");
15
15
  const muralGetCurrentUser = require_action.action("MURAL_GET_CURRENT_USER", {
16
16
  slug: "mural-get-current-user",
17
17
  name: "Get current user",
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetCurrentUserInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving information about the currently authenticated user.\");\nexport const MuralGetCurrentUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the current user\"),\n type: z.string().describe(\"Type of the user\"),\n email: z.string().describe(\"Email address of the current user\"),\n avatar: z.string().describe(\"URL to the user's avatar image\"),\n lastName: z.string().describe(\"Last name of the current user\"),\n createdOn: z.number().int().describe(\"Timestamp when the user was created (timestamp in ms)\"),\n firstName: z.string().describe(\"First name of the current user\"),\n lastActiveWorkspace: z.string().describe(\"Last active workspace ID\"),\n}).describe(\"Response model for retrieving the current user's details.\");\n\nexport const muralGetCurrentUser = action(\"MURAL_GET_CURRENT_USER\", {\n slug: \"mural-get-current-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve information about the currently authenticated user. Use when you need current user details after authentication.\",\n input: MuralGetCurrentUserInput,\n output: MuralGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAC9J,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAChE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC9D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC/D,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;AACrE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetCurrentUserInput = z.object({}).describe(\"Request model for retrieving information about the currently authenticated user.\");\nexport const MuralGetCurrentUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the current user\").nullable(),\n type: z.string().describe(\"Type of the user\").nullable(),\n email: z.string().describe(\"Email address of the current user\").nullable(),\n avatar: z.string().describe(\"URL to the user's avatar image\").nullable(),\n lastName: z.string().describe(\"Last name of the current user\").nullable(),\n createdOn: z.number().int().describe(\"Timestamp when the user was created (timestamp in ms)\").nullable(),\n firstName: z.string().describe(\"First name of the current user\").nullable(),\n lastActiveWorkspace: z.string().describe(\"Last active workspace ID\").nullable(),\n}).passthrough().describe(\"Response model for retrieving the current user's details.\");\n\nexport const muralGetCurrentUser = action(\"MURAL_GET_CURRENT_USER\", {\n slug: \"mural-get-current-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve information about the currently authenticated user. Use when you need current user details after authentication.\",\n input: MuralGetCurrentUserInput,\n output: MuralGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAChJ,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACvE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-current-user.d.ts
4
- declare const MuralGetCurrentUserInput: z.ZodTypeAny;
5
- declare const MuralGetCurrentUserOutput: z.ZodTypeAny;
6
- declare const muralGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MuralGetCurrentUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const MuralGetCurrentUserOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodString>;
7
+ type: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ avatar: z.ZodNullable<z.ZodString>;
10
+ lastName: z.ZodNullable<z.ZodString>;
11
+ createdOn: z.ZodNullable<z.ZodNumber>;
12
+ firstName: z.ZodNullable<z.ZodString>;
13
+ lastActiveWorkspace: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const muralGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { muralGetCurrentUser };
9
18
  //# sourceMappingURL=get-current-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAsH;AAAA,cAClJ,yBAAA,EAA2B,CAAA,CAAE,UAS8B;AAAA,cAE3D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAWzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -1,9 +1,18 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-current-user.d.ts
4
- declare const MuralGetCurrentUserInput: z.ZodTypeAny;
5
- declare const MuralGetCurrentUserOutput: z.ZodTypeAny;
6
- declare const muralGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MuralGetCurrentUserInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const MuralGetCurrentUserOutput: z.ZodObject<{
6
+ id: z.ZodNullable<z.ZodString>;
7
+ type: z.ZodNullable<z.ZodString>;
8
+ email: z.ZodNullable<z.ZodString>;
9
+ avatar: z.ZodNullable<z.ZodString>;
10
+ lastName: z.ZodNullable<z.ZodString>;
11
+ createdOn: z.ZodNullable<z.ZodNumber>;
12
+ firstName: z.ZodNullable<z.ZodString>;
13
+ lastActiveWorkspace: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>;
15
+ declare const muralGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
16
  //#endregion
8
17
  export { muralGetCurrentUser };
9
18
  //# sourceMappingURL=get-current-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAAsH;AAAA,cAClJ,yBAAA,EAA2B,CAAA,CAAE,UAS8B;AAAA,cAE3D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;cAWzB,mBAAA,gCAAmB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -6,15 +6,15 @@ const muralGetCurrentUser = action("MURAL_GET_CURRENT_USER", {
6
6
  description: "Tool to retrieve information about the currently authenticated user. Use when you need current user details after authentication.",
7
7
  input: z.object({}).describe("Request model for retrieving information about the currently authenticated user."),
8
8
  output: z.object({
9
- id: z.string().describe("Unique identifier for the current user"),
10
- type: z.string().describe("Type of the user"),
11
- email: z.string().describe("Email address of the current user"),
12
- avatar: z.string().describe("URL to the user's avatar image"),
13
- lastName: z.string().describe("Last name of the current user"),
14
- createdOn: z.number().int().describe("Timestamp when the user was created (timestamp in ms)"),
15
- firstName: z.string().describe("First name of the current user"),
16
- lastActiveWorkspace: z.string().describe("Last active workspace ID")
17
- }).describe("Response model for retrieving the current user's details.")
9
+ id: z.string().describe("Unique identifier for the current user").nullable(),
10
+ type: z.string().describe("Type of the user").nullable(),
11
+ email: z.string().describe("Email address of the current user").nullable(),
12
+ avatar: z.string().describe("URL to the user's avatar image").nullable(),
13
+ lastName: z.string().describe("Last name of the current user").nullable(),
14
+ createdOn: z.number().int().describe("Timestamp when the user was created (timestamp in ms)").nullable(),
15
+ firstName: z.string().describe("First name of the current user").nullable(),
16
+ lastActiveWorkspace: z.string().describe("Last active workspace ID").nullable()
17
+ }).passthrough().describe("Response model for retrieving the current user's details.")
18
18
  });
19
19
  //#endregion
20
20
  export { muralGetCurrentUser };
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.mjs","names":[],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetCurrentUserInput: z.ZodTypeAny = z.object({}).describe(\"Request model for retrieving information about the currently authenticated user.\");\nexport const MuralGetCurrentUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the current user\"),\n type: z.string().describe(\"Type of the user\"),\n email: z.string().describe(\"Email address of the current user\"),\n avatar: z.string().describe(\"URL to the user's avatar image\"),\n lastName: z.string().describe(\"Last name of the current user\"),\n createdOn: z.number().int().describe(\"Timestamp when the user was created (timestamp in ms)\"),\n firstName: z.string().describe(\"First name of the current user\"),\n lastActiveWorkspace: z.string().describe(\"Last active workspace ID\"),\n}).describe(\"Response model for retrieving the current user's details.\");\n\nexport const muralGetCurrentUser = action(\"MURAL_GET_CURRENT_USER\", {\n slug: \"mural-get-current-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve information about the currently authenticated user. Use when you need current user details after authentication.\",\n input: MuralGetCurrentUserInput,\n output: MuralGetCurrentUserOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAgBnE;CACP,QAhBqD,EAAE,OAAO;EAC9D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC9D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;EAC7D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC/D,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrE,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-user.mjs","names":[],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetCurrentUserInput = z.object({}).describe(\"Request model for retrieving information about the currently authenticated user.\");\nexport const MuralGetCurrentUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the current user\").nullable(),\n type: z.string().describe(\"Type of the user\").nullable(),\n email: z.string().describe(\"Email address of the current user\").nullable(),\n avatar: z.string().describe(\"URL to the user's avatar image\").nullable(),\n lastName: z.string().describe(\"Last name of the current user\").nullable(),\n createdOn: z.number().int().describe(\"Timestamp when the user was created (timestamp in ms)\").nullable(),\n firstName: z.string().describe(\"First name of the current user\").nullable(),\n lastActiveWorkspace: z.string().describe(\"Last active workspace ID\").nullable(),\n}).passthrough().describe(\"Response model for retrieving the current user's details.\");\n\nexport const muralGetCurrentUser = action(\"MURAL_GET_CURRENT_USER\", {\n slug: \"mural-get-current-user\",\n name: \"Get current user\",\n description: \"Tool to retrieve information about the currently authenticated user. Use when you need current user details after authentication.\",\n input: MuralGetCurrentUserInput,\n output: MuralGetCurrentUserOutput,\n});\n"],"mappings":";;AAgBA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBsC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,kFAgBrD;CACP,QAhBuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;EACvG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
@@ -7,44 +7,44 @@ const MuralGetFilesForMuralInput = zod.z.object({
7
7
  muralId: zod.z.string().describe("Unique identifier of the mural")
8
8
  });
9
9
  const MuralGetFilesForMural_CollaboratorSchema = zod.z.object({
10
- id: zod.z.string().describe("Unique identifier of the collaborator"),
11
- name: zod.z.string().describe("Display name of the collaborator")
12
- });
10
+ id: zod.z.string().describe("Unique identifier of the collaborator").nullable(),
11
+ name: zod.z.string().describe("Display name of the collaborator").nullable()
12
+ }).passthrough();
13
13
  const MuralGetFilesForMural_FileWidgetSchema = zod.z.object({
14
- x: zod.z.number().describe("Horizontal position of the widget in px"),
15
- y: zod.z.number().describe("Vertical position of the widget in px"),
16
- id: zod.z.string().describe("Unique ID of the widget"),
14
+ x: zod.z.number().describe("Horizontal position of the widget in px").nullable(),
15
+ y: zod.z.number().describe("Vertical position of the widget in px").nullable(),
16
+ id: zod.z.string().describe("Unique ID of the widget").nullable(),
17
17
  url: zod.z.string().describe("Download URL of the file; may be null when restricted").nullable().optional(),
18
18
  link: zod.z.string().describe("Link to the file widget on the mural").nullable().optional(),
19
- type: zod.z.string().describe("The type of the widget (file)"),
20
- title: zod.z.string().describe("Title of the widget in the outline"),
21
- width: zod.z.number().describe("Width of the widget in px"),
19
+ type: zod.z.string().describe("The type of the widget (file)").nullable(),
20
+ title: zod.z.string().describe("Title of the widget in the outline").nullable(),
21
+ width: zod.z.number().describe("Width of the widget in px").nullable(),
22
22
  height: zod.z.number().describe("Height of the widget in px").nullable().optional(),
23
- hidden: zod.z.boolean().describe("If true, widget is hidden from non-facilitators"),
24
- locked: zod.z.boolean().describe("If true, widget is locked and cannot be updated by non-facilitators"),
23
+ hidden: zod.z.boolean().describe("If true, widget is hidden from non-facilitators").nullable(),
24
+ locked: zod.z.boolean().describe("If true, widget is locked and cannot be updated by non-facilitators").nullable(),
25
25
  parentId: zod.z.string().describe("ID of the area widget that contains this widget").nullable().optional(),
26
- rotation: zod.z.number().describe("Angle of widget rotation in degrees"),
27
- scanning: zod.z.boolean().describe("Indicates that file was scanned by antivirus"),
26
+ rotation: zod.z.number().describe("Angle of widget rotation in degrees").nullable(),
27
+ scanning: zod.z.boolean().describe("Indicates that file was scanned by antivirus").nullable(),
28
28
  createdBy: MuralGetFilesForMural_CollaboratorSchema.nullable(),
29
- createdOn: zod.z.number().int().describe("Timestamp in milliseconds when created"),
30
- hideOwner: zod.z.boolean().describe("If true, creator collaborator name is hidden"),
29
+ createdOn: zod.z.number().int().describe("Timestamp in milliseconds when created").nullable(),
30
+ hideOwner: zod.z.boolean().describe("If true, creator collaborator name is hidden").nullable(),
31
31
  invisible: zod.z.boolean().default(false).describe("Whether the widget is invisible").nullable().optional(),
32
32
  updatedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),
33
33
  updatedOn: zod.z.number().int().describe("Timestamp in milliseconds when last updated").nullable().optional(),
34
- hideEditor: zod.z.boolean().describe("If true, update collaborator name is hidden"),
34
+ hideEditor: zod.z.boolean().describe("If true, update collaborator name is hidden").nullable(),
35
35
  previewUrl: zod.z.string().describe("URL of the file preview").nullable().optional(),
36
36
  instruction: zod.z.string().describe("Instructions for a section of the outline").nullable().optional(),
37
- stackingOrder: zod.z.number().int().describe("Z-index stacking order of the widget"),
37
+ stackingOrder: zod.z.number().int().describe("Z-index stacking order of the widget").nullable(),
38
38
  contentEditedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),
39
39
  contentEditedOn: zod.z.number().int().describe("Timestamp in milliseconds when content was last edited").nullable().optional(),
40
40
  expiresInMinutes: zod.z.number().int().describe("Minutes after which the file URL expires; may be null when restricted").nullable().optional(),
41
41
  presentationIndex: zod.z.number().int().describe("List order of the widget in the outline").nullable().optional(),
42
- lockedByFacilitator: zod.z.boolean().describe("If true, widget is locked by a facilitator")
43
- });
42
+ lockedByFacilitator: zod.z.boolean().describe("If true, widget is locked by a facilitator").nullable()
43
+ }).passthrough();
44
44
  const MuralGetFilesForMuralOutput = zod.z.object({
45
45
  next: zod.z.string().describe("Token to retrieve next page of items").nullable().optional(),
46
46
  value: zod.z.array(MuralGetFilesForMural_FileWidgetSchema).describe("List of file widget objects")
47
- });
47
+ }).passthrough();
48
48
  const muralGetFilesForMural = require_action.action("MURAL_GET_FILES_FOR_MURAL", {
49
49
  slug: "mural-get-files-for-mural",
50
50
  name: "Get files for a mural",
@@ -1 +1 @@
1
- {"version":3,"file":"get-files-for-mural.cjs","names":["z","action"],"sources":["../../src/actions/get-files-for-mural.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetFilesForMuralInput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for next page of items\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n muralId: z.string().describe(\"Unique identifier of the mural\"),\n});\nconst MuralGetFilesForMural_CollaboratorSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the collaborator\"),\n name: z.string().describe(\"Display name of the collaborator\"),\n});\nconst MuralGetFilesForMural_FileWidgetSchema: z.ZodTypeAny = z.object({\n x: z.number().describe(\"Horizontal position of the widget in px\"),\n y: z.number().describe(\"Vertical position of the widget in px\"),\n id: z.string().describe(\"Unique ID of the widget\"),\n url: z.string().describe(\"Download URL of the file; may be null when restricted\").nullable().optional(),\n link: z.string().describe(\"Link to the file widget on the mural\").nullable().optional(),\n type: z.string().describe(\"The type of the widget (file)\"),\n title: z.string().describe(\"Title of the widget in the outline\"),\n width: z.number().describe(\"Width of the widget in px\"),\n height: z.number().describe(\"Height of the widget in px\").nullable().optional(),\n hidden: z.boolean().describe(\"If true, widget is hidden from non-facilitators\"),\n locked: z.boolean().describe(\"If true, widget is locked and cannot be updated by non-facilitators\"),\n parentId: z.string().describe(\"ID of the area widget that contains this widget\").nullable().optional(),\n rotation: z.number().describe(\"Angle of widget rotation in degrees\"),\n scanning: z.boolean().describe(\"Indicates that file was scanned by antivirus\"),\n createdBy: MuralGetFilesForMural_CollaboratorSchema.nullable(),\n createdOn: z.number().int().describe(\"Timestamp in milliseconds when created\"),\n hideOwner: z.boolean().describe(\"If true, creator collaborator name is hidden\"),\n invisible: z.boolean().default(false).describe(\"Whether the widget is invisible\").nullable().optional(),\n updatedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp in milliseconds when last updated\").nullable().optional(),\n hideEditor: z.boolean().describe(\"If true, update collaborator name is hidden\"),\n previewUrl: z.string().describe(\"URL of the file preview\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for a section of the outline\").nullable().optional(),\n stackingOrder: z.number().int().describe(\"Z-index stacking order of the widget\"),\n contentEditedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n contentEditedOn: z.number().int().describe(\"Timestamp in milliseconds when content was last edited\").nullable().optional(),\n expiresInMinutes: z.number().int().describe(\"Minutes after which the file URL expires; may be null when restricted\").nullable().optional(),\n presentationIndex: z.number().int().describe(\"List order of the widget in the outline\").nullable().optional(),\n lockedByFacilitator: z.boolean().describe(\"If true, widget is locked by a facilitator\"),\n});\nexport const MuralGetFilesForMuralOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token to retrieve next page of items\").nullable().optional(),\n value: z.array(MuralGetFilesForMural_FileWidgetSchema).describe(\"List of file widget objects\"),\n});\n\nexport const muralGetFilesForMural = action(\"MURAL_GET_FILES_FOR_MURAL\", {\n slug: \"mural-get-files-for-mural\",\n name: \"Get files for a mural\",\n description: \"Tool to retrieve a list of file widgets in a mural. Use after confirming the mural ID when listing file attachments.\",\n input: MuralGetFilesForMuralInput,\n output: MuralGetFilesForMuralOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC;AACD,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC9D,CAAC;AACD,MAAM,yCAAuDA,IAAAA,EAAE,OAAO;CACpE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAChE,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC9D,IAAIA,IAAAA,EAA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actions/get-files-for-mural.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetFilesForMuralInput = z.object({\n next: z.string().describe(\"Pagination token for next page of items\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n muralId: z.string().describe(\"Unique identifier of the mural\"),\n});\nconst MuralGetFilesForMural_CollaboratorSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collaborator\").nullable(),\n name: z.string().describe(\"Display name of the collaborator\").nullable(),\n}).passthrough();\nconst MuralGetFilesForMural_FileWidgetSchema = z.object({\n x: z.number().describe(\"Horizontal position of the widget in px\").nullable(),\n y: z.number().describe(\"Vertical position of the widget in px\").nullable(),\n id: z.string().describe(\"Unique ID of the widget\").nullable(),\n url: z.string().describe(\"Download URL of the file; may be null when restricted\").nullable().optional(),\n link: z.string().describe(\"Link to the file widget on the mural\").nullable().optional(),\n type: z.string().describe(\"The type of the widget (file)\").nullable(),\n title: z.string().describe(\"Title of the widget in the outline\").nullable(),\n width: z.number().describe(\"Width of the widget in px\").nullable(),\n height: z.number().describe(\"Height of the widget in px\").nullable().optional(),\n hidden: z.boolean().describe(\"If true, widget is hidden from non-facilitators\").nullable(),\n locked: z.boolean().describe(\"If true, widget is locked and cannot be updated by non-facilitators\").nullable(),\n parentId: z.string().describe(\"ID of the area widget that contains this widget\").nullable().optional(),\n rotation: z.number().describe(\"Angle of widget rotation in degrees\").nullable(),\n scanning: z.boolean().describe(\"Indicates that file was scanned by antivirus\").nullable(),\n createdBy: MuralGetFilesForMural_CollaboratorSchema.nullable(),\n createdOn: z.number().int().describe(\"Timestamp in milliseconds when created\").nullable(),\n hideOwner: z.boolean().describe(\"If true, creator collaborator name is hidden\").nullable(),\n invisible: z.boolean().default(false).describe(\"Whether the widget is invisible\").nullable().optional(),\n updatedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp in milliseconds when last updated\").nullable().optional(),\n hideEditor: z.boolean().describe(\"If true, update collaborator name is hidden\").nullable(),\n previewUrl: z.string().describe(\"URL of the file preview\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for a section of the outline\").nullable().optional(),\n stackingOrder: z.number().int().describe(\"Z-index stacking order of the widget\").nullable(),\n contentEditedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n contentEditedOn: z.number().int().describe(\"Timestamp in milliseconds when content was last edited\").nullable().optional(),\n expiresInMinutes: z.number().int().describe(\"Minutes after which the file URL expires; may be null when restricted\").nullable().optional(),\n presentationIndex: z.number().int().describe(\"List order of the widget in the outline\").nullable().optional(),\n lockedByFacilitator: z.boolean().describe(\"If true, widget is locked by a facilitator\").nullable(),\n}).passthrough();\nexport const MuralGetFilesForMuralOutput = z.object({\n next: z.string().describe(\"Token to retrieve next page of items\").nullable().optional(),\n value: z.array(MuralGetFilesForMural_FileWidgetSchema).describe(\"List of file widget objects\"),\n}).passthrough();\n\nexport const muralGetFilesForMural = action(\"MURAL_GET_FILES_FOR_MURAL\", {\n slug: \"mural-get-files-for-mural\",\n name: \"Get files for a mural\",\n description: \"Tool to retrieve a list of file widgets in a mural. Use after confirming the mural ID when listing file attachments.\",\n input: MuralGetFilesForMuralInput,\n output: MuralGetFilesForMuralOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC;AACD,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAA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AC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,OAAOA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6BAA6B;AAC/F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,wBAAwBC,eAAAA,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,59 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-files-for-mural.d.ts
4
- declare const MuralGetFilesForMuralInput: z.ZodTypeAny;
5
- declare const MuralGetFilesForMuralOutput: z.ZodTypeAny;
6
- declare const muralGetFilesForMural: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MuralGetFilesForMuralInput: z.ZodObject<{
5
+ next: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ muralId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const MuralGetFilesForMuralOutput: z.ZodObject<{
10
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ value: z.ZodArray<z.ZodObject<{
12
+ x: z.ZodNullable<z.ZodNumber>;
13
+ y: z.ZodNullable<z.ZodNumber>;
14
+ id: z.ZodNullable<z.ZodString>;
15
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ type: z.ZodNullable<z.ZodString>;
18
+ title: z.ZodNullable<z.ZodString>;
19
+ width: z.ZodNullable<z.ZodNumber>;
20
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ hidden: z.ZodNullable<z.ZodBoolean>;
22
+ locked: z.ZodNullable<z.ZodBoolean>;
23
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ rotation: z.ZodNullable<z.ZodNumber>;
25
+ scanning: z.ZodNullable<z.ZodBoolean>;
26
+ createdBy: z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodString>;
28
+ name: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$loose>>;
30
+ createdOn: z.ZodNullable<z.ZodNumber>;
31
+ hideOwner: z.ZodNullable<z.ZodBoolean>;
32
+ invisible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
33
+ updatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ id: z.ZodNullable<z.ZodString>;
35
+ name: z.ZodNullable<z.ZodString>;
36
+ }, z.core.$loose>>>;
37
+ updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ hideEditor: z.ZodNullable<z.ZodBoolean>;
39
+ previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ stackingOrder: z.ZodNullable<z.ZodNumber>;
42
+ contentEditedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ id: z.ZodNullable<z.ZodString>;
44
+ name: z.ZodNullable<z.ZodString>;
45
+ }, z.core.$loose>>>;
46
+ contentEditedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ expiresInMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ presentationIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ lockedByFacilitator: z.ZodNullable<z.ZodBoolean>;
50
+ }, z.core.$loose>>;
51
+ }, z.core.$loose>;
52
+ declare const muralGetFilesForMural: import("@keystrokehq/action").WorkflowActionDefinition<{
53
+ muralId: string;
54
+ next?: string | undefined;
55
+ limit?: number | undefined;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
57
  //#endregion
8
58
  export { muralGetFilesForMural };
9
59
  //# sourceMappingURL=get-files-for-mural.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-files-for-mural.d.cts","names":[],"sources":["../../src/actions/get-files-for-mural.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAoCW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-files-for-mural.d.cts","names":[],"sources":["../../src/actions/get-files-for-mural.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -1,9 +1,59 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-files-for-mural.d.ts
4
- declare const MuralGetFilesForMuralInput: z.ZodTypeAny;
5
- declare const MuralGetFilesForMuralOutput: z.ZodTypeAny;
6
- declare const muralGetFilesForMural: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const MuralGetFilesForMuralInput: z.ZodObject<{
5
+ next: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ muralId: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const MuralGetFilesForMuralOutput: z.ZodObject<{
10
+ next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ value: z.ZodArray<z.ZodObject<{
12
+ x: z.ZodNullable<z.ZodNumber>;
13
+ y: z.ZodNullable<z.ZodNumber>;
14
+ id: z.ZodNullable<z.ZodString>;
15
+ url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ type: z.ZodNullable<z.ZodString>;
18
+ title: z.ZodNullable<z.ZodString>;
19
+ width: z.ZodNullable<z.ZodNumber>;
20
+ height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ hidden: z.ZodNullable<z.ZodBoolean>;
22
+ locked: z.ZodNullable<z.ZodBoolean>;
23
+ parentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ rotation: z.ZodNullable<z.ZodNumber>;
25
+ scanning: z.ZodNullable<z.ZodBoolean>;
26
+ createdBy: z.ZodNullable<z.ZodObject<{
27
+ id: z.ZodNullable<z.ZodString>;
28
+ name: z.ZodNullable<z.ZodString>;
29
+ }, z.core.$loose>>;
30
+ createdOn: z.ZodNullable<z.ZodNumber>;
31
+ hideOwner: z.ZodNullable<z.ZodBoolean>;
32
+ invisible: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
33
+ updatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
+ id: z.ZodNullable<z.ZodString>;
35
+ name: z.ZodNullable<z.ZodString>;
36
+ }, z.core.$loose>>>;
37
+ updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
38
+ hideEditor: z.ZodNullable<z.ZodBoolean>;
39
+ previewUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ instruction: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ stackingOrder: z.ZodNullable<z.ZodNumber>;
42
+ contentEditedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
43
+ id: z.ZodNullable<z.ZodString>;
44
+ name: z.ZodNullable<z.ZodString>;
45
+ }, z.core.$loose>>>;
46
+ contentEditedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
47
+ expiresInMinutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
48
+ presentationIndex: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
49
+ lockedByFacilitator: z.ZodNullable<z.ZodBoolean>;
50
+ }, z.core.$loose>>;
51
+ }, z.core.$loose>;
52
+ declare const muralGetFilesForMural: import("@keystrokehq/action").WorkflowActionDefinition<{
53
+ muralId: string;
54
+ next?: string | undefined;
55
+ limit?: number | undefined;
56
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
57
  //#endregion
8
58
  export { muralGetFilesForMural };
9
59
  //# sourceMappingURL=get-files-for-mural.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-files-for-mural.d.mts","names":[],"sources":["../../src/actions/get-files-for-mural.ts"],"mappings":";;;cAIa,0BAAA,EAA4B,CAAA,CAAE,UAIzC;AAAA,cAoCW,2BAAA,EAA6B,CAAA,CAAE,UAG1C;AAAA,cAEW,qBAAA,gCAAqB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-files-for-mural.d.mts","names":[],"sources":["../../src/actions/get-files-for-mural.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cAwC1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
@@ -7,40 +7,40 @@ const MuralGetFilesForMuralInput = z.object({
7
7
  muralId: z.string().describe("Unique identifier of the mural")
8
8
  });
9
9
  const MuralGetFilesForMural_CollaboratorSchema = z.object({
10
- id: z.string().describe("Unique identifier of the collaborator"),
11
- name: z.string().describe("Display name of the collaborator")
12
- });
10
+ id: z.string().describe("Unique identifier of the collaborator").nullable(),
11
+ name: z.string().describe("Display name of the collaborator").nullable()
12
+ }).passthrough();
13
13
  const MuralGetFilesForMural_FileWidgetSchema = z.object({
14
- x: z.number().describe("Horizontal position of the widget in px"),
15
- y: z.number().describe("Vertical position of the widget in px"),
16
- id: z.string().describe("Unique ID of the widget"),
14
+ x: z.number().describe("Horizontal position of the widget in px").nullable(),
15
+ y: z.number().describe("Vertical position of the widget in px").nullable(),
16
+ id: z.string().describe("Unique ID of the widget").nullable(),
17
17
  url: z.string().describe("Download URL of the file; may be null when restricted").nullable().optional(),
18
18
  link: z.string().describe("Link to the file widget on the mural").nullable().optional(),
19
- type: z.string().describe("The type of the widget (file)"),
20
- title: z.string().describe("Title of the widget in the outline"),
21
- width: z.number().describe("Width of the widget in px"),
19
+ type: z.string().describe("The type of the widget (file)").nullable(),
20
+ title: z.string().describe("Title of the widget in the outline").nullable(),
21
+ width: z.number().describe("Width of the widget in px").nullable(),
22
22
  height: z.number().describe("Height of the widget in px").nullable().optional(),
23
- hidden: z.boolean().describe("If true, widget is hidden from non-facilitators"),
24
- locked: z.boolean().describe("If true, widget is locked and cannot be updated by non-facilitators"),
23
+ hidden: z.boolean().describe("If true, widget is hidden from non-facilitators").nullable(),
24
+ locked: z.boolean().describe("If true, widget is locked and cannot be updated by non-facilitators").nullable(),
25
25
  parentId: z.string().describe("ID of the area widget that contains this widget").nullable().optional(),
26
- rotation: z.number().describe("Angle of widget rotation in degrees"),
27
- scanning: z.boolean().describe("Indicates that file was scanned by antivirus"),
26
+ rotation: z.number().describe("Angle of widget rotation in degrees").nullable(),
27
+ scanning: z.boolean().describe("Indicates that file was scanned by antivirus").nullable(),
28
28
  createdBy: MuralGetFilesForMural_CollaboratorSchema.nullable(),
29
- createdOn: z.number().int().describe("Timestamp in milliseconds when created"),
30
- hideOwner: z.boolean().describe("If true, creator collaborator name is hidden"),
29
+ createdOn: z.number().int().describe("Timestamp in milliseconds when created").nullable(),
30
+ hideOwner: z.boolean().describe("If true, creator collaborator name is hidden").nullable(),
31
31
  invisible: z.boolean().default(false).describe("Whether the widget is invisible").nullable().optional(),
32
32
  updatedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),
33
33
  updatedOn: z.number().int().describe("Timestamp in milliseconds when last updated").nullable().optional(),
34
- hideEditor: z.boolean().describe("If true, update collaborator name is hidden"),
34
+ hideEditor: z.boolean().describe("If true, update collaborator name is hidden").nullable(),
35
35
  previewUrl: z.string().describe("URL of the file preview").nullable().optional(),
36
36
  instruction: z.string().describe("Instructions for a section of the outline").nullable().optional(),
37
- stackingOrder: z.number().int().describe("Z-index stacking order of the widget"),
37
+ stackingOrder: z.number().int().describe("Z-index stacking order of the widget").nullable(),
38
38
  contentEditedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),
39
39
  contentEditedOn: z.number().int().describe("Timestamp in milliseconds when content was last edited").nullable().optional(),
40
40
  expiresInMinutes: z.number().int().describe("Minutes after which the file URL expires; may be null when restricted").nullable().optional(),
41
41
  presentationIndex: z.number().int().describe("List order of the widget in the outline").nullable().optional(),
42
- lockedByFacilitator: z.boolean().describe("If true, widget is locked by a facilitator")
43
- });
42
+ lockedByFacilitator: z.boolean().describe("If true, widget is locked by a facilitator").nullable()
43
+ }).passthrough();
44
44
  const muralGetFilesForMural = action("MURAL_GET_FILES_FOR_MURAL", {
45
45
  slug: "mural-get-files-for-mural",
46
46
  name: "Get files for a mural",
@@ -49,7 +49,7 @@ const muralGetFilesForMural = action("MURAL_GET_FILES_FOR_MURAL", {
49
49
  output: z.object({
50
50
  next: z.string().describe("Token to retrieve next page of items").nullable().optional(),
51
51
  value: z.array(MuralGetFilesForMural_FileWidgetSchema).describe("List of file widget objects")
52
- })
52
+ }).passthrough()
53
53
  });
54
54
  //#endregion
55
55
  export { muralGetFilesForMural };
@@ -1 +1 @@
1
- {"version":3,"file":"get-files-for-mural.mjs","names":[],"sources":["../../src/actions/get-files-for-mural.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetFilesForMuralInput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for next page of items\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n muralId: z.string().describe(\"Unique identifier of the mural\"),\n});\nconst MuralGetFilesForMural_CollaboratorSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the collaborator\"),\n name: z.string().describe(\"Display name of the collaborator\"),\n});\nconst MuralGetFilesForMural_FileWidgetSchema: z.ZodTypeAny = z.object({\n x: z.number().describe(\"Horizontal position of the widget in px\"),\n y: z.number().describe(\"Vertical position of the widget in px\"),\n id: z.string().describe(\"Unique ID of the widget\"),\n url: z.string().describe(\"Download URL of the file; may be null when restricted\").nullable().optional(),\n link: z.string().describe(\"Link to the file widget on the mural\").nullable().optional(),\n type: z.string().describe(\"The type of the widget (file)\"),\n title: z.string().describe(\"Title of the widget in the outline\"),\n width: z.number().describe(\"Width of the widget in px\"),\n height: z.number().describe(\"Height of the widget in px\").nullable().optional(),\n hidden: z.boolean().describe(\"If true, widget is hidden from non-facilitators\"),\n locked: z.boolean().describe(\"If true, widget is locked and cannot be updated by non-facilitators\"),\n parentId: z.string().describe(\"ID of the area widget that contains this widget\").nullable().optional(),\n rotation: z.number().describe(\"Angle of widget rotation in degrees\"),\n scanning: z.boolean().describe(\"Indicates that file was scanned by antivirus\"),\n createdBy: MuralGetFilesForMural_CollaboratorSchema.nullable(),\n createdOn: z.number().int().describe(\"Timestamp in milliseconds when created\"),\n hideOwner: z.boolean().describe(\"If true, creator collaborator name is hidden\"),\n invisible: z.boolean().default(false).describe(\"Whether the widget is invisible\").nullable().optional(),\n updatedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp in milliseconds when last updated\").nullable().optional(),\n hideEditor: z.boolean().describe(\"If true, update collaborator name is hidden\"),\n previewUrl: z.string().describe(\"URL of the file preview\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for a section of the outline\").nullable().optional(),\n stackingOrder: z.number().int().describe(\"Z-index stacking order of the widget\"),\n contentEditedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n contentEditedOn: z.number().int().describe(\"Timestamp in milliseconds when content was last edited\").nullable().optional(),\n expiresInMinutes: z.number().int().describe(\"Minutes after which the file URL expires; may be null when restricted\").nullable().optional(),\n presentationIndex: z.number().int().describe(\"List order of the widget in the outline\").nullable().optional(),\n lockedByFacilitator: z.boolean().describe(\"If true, widget is locked by a facilitator\"),\n});\nexport const MuralGetFilesForMuralOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Token to retrieve next page of items\").nullable().optional(),\n value: z.array(MuralGetFilesForMural_FileWidgetSchema).describe(\"List of file widget objects\"),\n});\n\nexport const muralGetFilesForMural = action(\"MURAL_GET_FILES_FOR_MURAL\", {\n slug: \"mural-get-files-for-mural\",\n name: \"Get files for a mural\",\n description: \"Tool to retrieve a list of file widgets in a mural. Use after confirming the mural ID when listing file attachments.\",\n input: MuralGetFilesForMuralInput,\n output: MuralGetFilesForMuralOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA2C,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC;AACD,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AAC9D,CAAC;AACD,MAAM,yCAAuD,EAAE,OAAO;CACpE,GAAG,EAAE,OAAO,CAAC,CAAC,SA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,SAAS;CACxG,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sCAAsC;CAC/E,iBAAiB,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC9E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,mBAAmB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C;AACxF,CAAC;AAMD,MAAa,wBAAwB,OAAO,6BAA6B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuD,EAAE,OAAO;EAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,OAAO,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6BAA6B;CAC/F,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-files-for-mural.mjs","names":[],"sources":["../../src/actions/get-files-for-mural.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetFilesForMuralInput = z.object({\n next: z.string().describe(\"Pagination token for next page of items\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to return\").optional(),\n muralId: z.string().describe(\"Unique identifier of the mural\"),\n});\nconst MuralGetFilesForMural_CollaboratorSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collaborator\").nullable(),\n name: z.string().describe(\"Display name of the collaborator\").nullable(),\n}).passthrough();\nconst MuralGetFilesForMural_FileWidgetSchema = z.object({\n x: z.number().describe(\"Horizontal position of the widget in px\").nullable(),\n y: z.number().describe(\"Vertical position of the widget in px\").nullable(),\n id: z.string().describe(\"Unique ID of the widget\").nullable(),\n url: z.string().describe(\"Download URL of the file; may be null when restricted\").nullable().optional(),\n link: z.string().describe(\"Link to the file widget on the mural\").nullable().optional(),\n type: z.string().describe(\"The type of the widget (file)\").nullable(),\n title: z.string().describe(\"Title of the widget in the outline\").nullable(),\n width: z.number().describe(\"Width of the widget in px\").nullable(),\n height: z.number().describe(\"Height of the widget in px\").nullable().optional(),\n hidden: z.boolean().describe(\"If true, widget is hidden from non-facilitators\").nullable(),\n locked: z.boolean().describe(\"If true, widget is locked and cannot be updated by non-facilitators\").nullable(),\n parentId: z.string().describe(\"ID of the area widget that contains this widget\").nullable().optional(),\n rotation: z.number().describe(\"Angle of widget rotation in degrees\").nullable(),\n scanning: z.boolean().describe(\"Indicates that file was scanned by antivirus\").nullable(),\n createdBy: MuralGetFilesForMural_CollaboratorSchema.nullable(),\n createdOn: z.number().int().describe(\"Timestamp in milliseconds when created\").nullable(),\n hideOwner: z.boolean().describe(\"If true, creator collaborator name is hidden\").nullable(),\n invisible: z.boolean().default(false).describe(\"Whether the widget is invisible\").nullable().optional(),\n updatedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp in milliseconds when last updated\").nullable().optional(),\n hideEditor: z.boolean().describe(\"If true, update collaborator name is hidden\").nullable(),\n previewUrl: z.string().describe(\"URL of the file preview\").nullable().optional(),\n instruction: z.string().describe(\"Instructions for a section of the outline\").nullable().optional(),\n stackingOrder: z.number().int().describe(\"Z-index stacking order of the widget\").nullable(),\n contentEditedBy: MuralGetFilesForMural_CollaboratorSchema.nullable().optional(),\n contentEditedOn: z.number().int().describe(\"Timestamp in milliseconds when content was last edited\").nullable().optional(),\n expiresInMinutes: z.number().int().describe(\"Minutes after which the file URL expires; may be null when restricted\").nullable().optional(),\n presentationIndex: z.number().int().describe(\"List order of the widget in the outline\").nullable().optional(),\n lockedByFacilitator: z.boolean().describe(\"If true, widget is locked by a facilitator\").nullable(),\n}).passthrough();\nexport const MuralGetFilesForMuralOutput = z.object({\n next: z.string().describe(\"Token to retrieve next page of items\").nullable().optional(),\n value: z.array(MuralGetFilesForMural_FileWidgetSchema).describe(\"List of file widget objects\"),\n}).passthrough();\n\nexport const muralGetFilesForMural = action(\"MURAL_GET_FILES_FOR_MURAL\", {\n slug: \"mural-get-files-for-mural\",\n name: \"Get files for a mural\",\n description: \"Tool to retrieve a list of file widgets in a mural. Use after confirming the mural ID when listing file attachments.\",\n input: MuralGetFilesForMuralInput,\n output: MuralGetFilesForMuralOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;AAC/D,CAAC;AACD,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AACzE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyC,EAAE,OAAO;CACtD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC3E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,uCAA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V,CAAC"}
@@ -19,18 +19,18 @@ const MuralGetMuralWidgetsInput = zod.z.object({
19
19
  parentId: zod.z.string().describe("Filter to return only widgets contained within the specified parent widget ID (typically an area widget).").optional()
20
20
  }).describe("Request model for retrieving widgets within a mural.");
21
21
  const MuralGetMuralWidgets_CollaboratorSchema = zod.z.object({
22
- id: zod.z.string().describe("Unique identifier of the collaborator"),
22
+ id: zod.z.string().describe("Unique identifier of the collaborator").nullable(),
23
23
  lastName: zod.z.string().describe("Last name of the collaborator").nullable().optional(),
24
24
  firstName: zod.z.string().describe("First name of the collaborator").nullable().optional()
25
- }).describe("User information for widget collaborators.");
25
+ }).passthrough().describe("User information for widget collaborators.");
26
26
  const MuralGetMuralWidgets_WidgetSchema = zod.z.object({
27
- x: zod.z.number().describe("Horizontal position of the widget in pixels"),
28
- y: zod.z.number().describe("Vertical position of the widget in pixels"),
29
- id: zod.z.string().describe("Unique identifier of the widget"),
27
+ x: zod.z.number().describe("Horizontal position of the widget in pixels").nullable(),
28
+ y: zod.z.number().describe("Vertical position of the widget in pixels").nullable(),
29
+ id: zod.z.string().describe("Unique identifier of the widget").nullable(),
30
30
  text: zod.z.string().describe("Text content of the widget (for text-based widgets)").nullable().optional(),
31
- type: zod.z.string().describe("Type of the widget (e.g., 'sticky note', 'area', 'text')"),
31
+ type: zod.z.string().describe("Type of the widget (e.g., 'sticky note', 'area', 'text')").nullable(),
32
32
  title: zod.z.string().describe("Title of the widget in the outline").nullable().optional(),
33
- width: zod.z.number().describe("Width of the widget in pixels"),
33
+ width: zod.z.number().describe("Width of the widget in pixels").nullable(),
34
34
  height: zod.z.number().describe("Height of the widget in pixels").nullable().optional(),
35
35
  parentId: zod.z.string().describe("ID of the parent area widget, if contained").nullable().optional(),
36
36
  rotation: zod.z.number().describe("Rotation angle in degrees").nullable().optional(),
@@ -42,7 +42,7 @@ const MuralGetMuralWidgets_WidgetSchema = zod.z.object({
42
42
  const MuralGetMuralWidgetsOutput = zod.z.object({
43
43
  next: zod.z.string().describe("Pagination token for retrieving the next page of results. Null if no more pages.").nullable().optional(),
44
44
  value: zod.z.array(MuralGetMuralWidgets_WidgetSchema).describe("Array of widget objects retrieved from the mural.")
45
- }).describe("Response model for GetMuralWidgets action.");
45
+ }).passthrough().describe("Response model for GetMuralWidgets action.");
46
46
  const muralGetMuralWidgets = require_action.action("MURAL_GET_MURAL_WIDGETS", {
47
47
  slug: "mural-get-mural-widgets",
48
48
  name: "Get Mural Widgets",
@@ -1 +1 @@
1
- {"version":3,"file":"get-mural-widgets.cjs","names":["z","action"],"sources":["../../src/actions/get-mural-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetMuralWidgetsInput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token from previous response to retrieve the next page of results.\").optional(),\n type: z.array(z.enum([\"area\", \"arrow\", \"comment\", \"file\", \"icon\", \"image\", \"shape\", \"sticky note\", \"text\"]).describe(\"Types of widgets available in a mural.\")).describe(\"List of widget types to filter by (e.g., ['area', 'sticky note']). When omitted, returns all widget types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of widgets to return per page (must be ≥1). Use with 'next' for pagination.\").optional(),\n muralId: z.string().describe(\"Unique identifier of the mural.\"),\n parentId: z.string().describe(\"Filter to return only widgets contained within the specified parent widget ID (typically an area widget).\").optional(),\n}).describe(\"Request model for retrieving widgets within a mural.\");\nconst MuralGetMuralWidgets_CollaboratorSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the collaborator\"),\n lastName: z.string().describe(\"Last name of the collaborator\").nullable().optional(),\n firstName: z.string().describe(\"First name of the collaborator\").nullable().optional(),\n}).describe(\"User information for widget collaborators.\");\nconst MuralGetMuralWidgets_WidgetSchema: z.ZodTypeAny = z.object({\n x: z.number().describe(\"Horizontal position of the widget in pixels\"),\n y: z.number().describe(\"Vertical position of the widget in pixels\"),\n id: z.string().describe(\"Unique identifier of the widget\"),\n text: z.string().describe(\"Text content of the widget (for text-based widgets)\").nullable().optional(),\n type: z.string().describe(\"Type of the widget (e.g., 'sticky note', 'area', 'text')\"),\n title: z.string().describe(\"Title of the widget in the outline\").nullable().optional(),\n width: z.number().describe(\"Width of the widget in pixels\"),\n height: z.number().describe(\"Height of the widget in pixels\").nullable().optional(),\n parentId: z.string().describe(\"ID of the parent area widget, if contained\").nullable().optional(),\n rotation: z.number().describe(\"Rotation angle in degrees\").nullable().optional(),\n createdBy: MuralGetMuralWidgets_CollaboratorSchema.nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when created (ms since epoch)\").nullable().optional(),\n updatedBy: MuralGetMuralWidgets_CollaboratorSchema.nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when last updated (ms since epoch)\").nullable().optional(),\n}).passthrough().describe(\"Represents a widget in a mural with common properties.\\nActual widgets may contain additional type-specific fields.\");\nexport const MuralGetMuralWidgetsOutput: z.ZodTypeAny = z.object({\n next: z.string().describe(\"Pagination token for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n value: z.array(MuralGetMuralWidgets_WidgetSchema).describe(\"Array of widget objects retrieved from the mural.\"),\n}).describe(\"Response model for GetMuralWidgets action.\");\n\nexport const muralGetMuralWidgets = action(\"MURAL_GET_MURAL_WIDGETS\", {\n slug: \"mural-get-mural-widgets\",\n name: \"Get Mural Widgets\",\n description: \"Tool to retrieve all widgets within a specified mural. Widgets include sticky notes, text boxes, shapes, images, areas, arrows, icons, files, and comments. Use this after obtaining a valid mural ID from workspace murals or other mural-related actions. Supports filtering by widget type, parent container, and pagination for large result sets.\",\n input: MuralGetMuralWidgetsInput,\n output: MuralGetMuralWidgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;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C,CAAC,SAAS,+BAA+B;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qHAAqH;AAC/I,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,OAAOA,IAAAA,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mDAAmD;AAChH,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAExD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-mural-widgets.cjs","names":["z","action"],"sources":["../../src/actions/get-mural-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetMuralWidgetsInput = z.object({\n next: z.string().describe(\"Pagination token from previous response to retrieve the next page of results.\").optional(),\n type: z.array(z.enum([\"area\", \"arrow\", \"comment\", \"file\", \"icon\", \"image\", \"shape\", \"sticky note\", \"text\"]).describe(\"Types of widgets available in a mural.\")).describe(\"List of widget types to filter by (e.g., ['area', 'sticky note']). When omitted, returns all widget types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of widgets to return per page (must be ≥1). Use with 'next' for pagination.\").optional(),\n muralId: z.string().describe(\"Unique identifier of the mural.\"),\n parentId: z.string().describe(\"Filter to return only widgets contained within the specified parent widget ID (typically an area widget).\").optional(),\n}).describe(\"Request model for retrieving widgets within a mural.\");\nconst MuralGetMuralWidgets_CollaboratorSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collaborator\").nullable(),\n lastName: z.string().describe(\"Last name of the collaborator\").nullable().optional(),\n firstName: z.string().describe(\"First name of the collaborator\").nullable().optional(),\n}).passthrough().describe(\"User information for widget collaborators.\");\nconst MuralGetMuralWidgets_WidgetSchema = z.object({\n x: z.number().describe(\"Horizontal position of the widget in pixels\").nullable(),\n y: z.number().describe(\"Vertical position of the widget in pixels\").nullable(),\n id: z.string().describe(\"Unique identifier of the widget\").nullable(),\n text: z.string().describe(\"Text content of the widget (for text-based widgets)\").nullable().optional(),\n type: z.string().describe(\"Type of the widget (e.g., 'sticky note', 'area', 'text')\").nullable(),\n title: z.string().describe(\"Title of the widget in the outline\").nullable().optional(),\n width: z.number().describe(\"Width of the widget in pixels\").nullable(),\n height: z.number().describe(\"Height of the widget in pixels\").nullable().optional(),\n parentId: z.string().describe(\"ID of the parent area widget, if contained\").nullable().optional(),\n rotation: z.number().describe(\"Rotation angle in degrees\").nullable().optional(),\n createdBy: MuralGetMuralWidgets_CollaboratorSchema.nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when created (ms since epoch)\").nullable().optional(),\n updatedBy: MuralGetMuralWidgets_CollaboratorSchema.nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when last updated (ms since epoch)\").nullable().optional(),\n}).passthrough().describe(\"Represents a widget in a mural with common properties.\\nActual widgets may contain additional type-specific fields.\");\nexport const MuralGetMuralWidgetsOutput = z.object({\n next: z.string().describe(\"Pagination token for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n value: z.array(MuralGetMuralWidgets_WidgetSchema).describe(\"Array of widget objects retrieved from the mural.\"),\n}).passthrough().describe(\"Response model for GetMuralWidgets action.\");\n\nexport const muralGetMuralWidgets = action(\"MURAL_GET_MURAL_WIDGETS\", {\n slug: \"mural-get-mural-widgets\",\n name: \"Get Mural Widgets\",\n description: \"Tool to retrieve all widgets within a specified mural. Widgets include sticky notes, text boxes, shapes, images, areas, arrows, icons, files, and comments. Use this after obtaining a valid mural ID from workspace murals or other mural-related actions. Supports filtering by widget type, parent container, and pagination for large result sets.\",\n input: MuralGetMuralWidgetsInput,\n output: MuralGetMuralWidgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;EAAQ;EAAQ;EAAS;EAAS;EAAe;CAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAChS,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CA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