@keystrokehq/mural 0.1.2 → 0.1.4

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 (143) hide show
  1. package/dist/actions/authorization-request.cjs +1 -1
  2. package/dist/actions/authorization-request.cjs.map +1 -1
  3. package/dist/actions/authorization-request.d.cts +14 -2
  4. package/dist/actions/authorization-request.d.mts +14 -2
  5. package/dist/actions/authorization-request.mjs +1 -1
  6. package/dist/actions/authorization-request.mjs.map +1 -1
  7. package/dist/actions/create-sticky-note.cjs +5 -5
  8. package/dist/actions/create-sticky-note.cjs.map +1 -1
  9. package/dist/actions/create-sticky-note.d.cts +20 -7
  10. package/dist/actions/create-sticky-note.d.mts +20 -7
  11. package/dist/actions/create-sticky-note.mjs +5 -5
  12. package/dist/actions/create-sticky-note.mjs.map +1 -1
  13. package/dist/actions/get-current-user.cjs +1 -1
  14. package/dist/actions/get-current-user.cjs.map +1 -1
  15. package/dist/actions/get-current-user.d.cts +14 -2
  16. package/dist/actions/get-current-user.d.cts.map +1 -1
  17. package/dist/actions/get-current-user.d.mts +14 -2
  18. package/dist/actions/get-current-user.d.mts.map +1 -1
  19. package/dist/actions/get-current-user.mjs +1 -1
  20. package/dist/actions/get-current-user.mjs.map +1 -1
  21. package/dist/actions/get-files-for-mural.cjs +3 -3
  22. package/dist/actions/get-files-for-mural.cjs.map +1 -1
  23. package/dist/actions/get-files-for-mural.d.cts +18 -6
  24. package/dist/actions/get-files-for-mural.d.mts +18 -6
  25. package/dist/actions/get-files-for-mural.mjs +3 -3
  26. package/dist/actions/get-files-for-mural.mjs.map +1 -1
  27. package/dist/actions/get-mural-widgets.cjs +2 -2
  28. package/dist/actions/get-mural-widgets.cjs.map +1 -1
  29. package/dist/actions/get-mural-widgets.d.cts +16 -4
  30. package/dist/actions/get-mural-widgets.d.mts +16 -4
  31. package/dist/actions/get-mural-widgets.mjs +2 -2
  32. package/dist/actions/get-mural-widgets.mjs.map +1 -1
  33. package/dist/actions/get-room.cjs +1 -1
  34. package/dist/actions/get-room.cjs.map +1 -1
  35. package/dist/actions/get-room.d.cts +14 -2
  36. package/dist/actions/get-room.d.mts +14 -2
  37. package/dist/actions/get-room.mjs +1 -1
  38. package/dist/actions/get-room.mjs.map +1 -1
  39. package/dist/actions/get-workspace.cjs +1 -1
  40. package/dist/actions/get-workspace.cjs.map +1 -1
  41. package/dist/actions/get-workspace.d.cts +14 -2
  42. package/dist/actions/get-workspace.d.mts +14 -2
  43. package/dist/actions/get-workspace.mjs +1 -1
  44. package/dist/actions/get-workspace.mjs.map +1 -1
  45. package/dist/actions/get-workspaces.cjs +2 -2
  46. package/dist/actions/get-workspaces.cjs.map +1 -1
  47. package/dist/actions/get-workspaces.d.cts +15 -3
  48. package/dist/actions/get-workspaces.d.mts +15 -3
  49. package/dist/actions/get-workspaces.mjs +2 -2
  50. package/dist/actions/get-workspaces.mjs.map +1 -1
  51. package/dist/actions/list-folders.cjs +2 -2
  52. package/dist/actions/list-folders.cjs.map +1 -1
  53. package/dist/actions/list-folders.d.cts +15 -3
  54. package/dist/actions/list-folders.d.mts +15 -3
  55. package/dist/actions/list-folders.mjs +2 -2
  56. package/dist/actions/list-folders.mjs.map +1 -1
  57. package/dist/actions/list-open-rooms.cjs +2 -2
  58. package/dist/actions/list-open-rooms.cjs.map +1 -1
  59. package/dist/actions/list-open-rooms.d.cts +15 -3
  60. package/dist/actions/list-open-rooms.d.mts +15 -3
  61. package/dist/actions/list-open-rooms.mjs +2 -2
  62. package/dist/actions/list-open-rooms.mjs.map +1 -1
  63. package/dist/actions/list-recent-murals.cjs +2 -2
  64. package/dist/actions/list-recent-murals.cjs.map +1 -1
  65. package/dist/actions/list-recent-murals.d.cts +15 -3
  66. package/dist/actions/list-recent-murals.d.mts +15 -3
  67. package/dist/actions/list-recent-murals.mjs +2 -2
  68. package/dist/actions/list-recent-murals.mjs.map +1 -1
  69. package/dist/actions/list-recent-templates.cjs +2 -2
  70. package/dist/actions/list-recent-templates.cjs.map +1 -1
  71. package/dist/actions/list-recent-templates.d.cts +15 -3
  72. package/dist/actions/list-recent-templates.d.mts +15 -3
  73. package/dist/actions/list-recent-templates.mjs +2 -2
  74. package/dist/actions/list-recent-templates.mjs.map +1 -1
  75. package/dist/actions/list-room-murals.cjs +1 -1
  76. package/dist/actions/list-room-murals.cjs.map +1 -1
  77. package/dist/actions/list-room-murals.d.cts +14 -2
  78. package/dist/actions/list-room-murals.d.mts +14 -2
  79. package/dist/actions/list-room-murals.mjs +1 -1
  80. package/dist/actions/list-room-murals.mjs.map +1 -1
  81. package/dist/actions/list-room-users.cjs +2 -2
  82. package/dist/actions/list-room-users.cjs.map +1 -1
  83. package/dist/actions/list-room-users.d.cts +15 -3
  84. package/dist/actions/list-room-users.d.mts +15 -3
  85. package/dist/actions/list-room-users.mjs +2 -2
  86. package/dist/actions/list-room-users.mjs.map +1 -1
  87. package/dist/actions/list-rooms.cjs +2 -2
  88. package/dist/actions/list-rooms.cjs.map +1 -1
  89. package/dist/actions/list-rooms.d.cts +15 -3
  90. package/dist/actions/list-rooms.d.mts +15 -3
  91. package/dist/actions/list-rooms.mjs +2 -2
  92. package/dist/actions/list-rooms.mjs.map +1 -1
  93. package/dist/actions/list-tags.cjs +2 -2
  94. package/dist/actions/list-tags.cjs.map +1 -1
  95. package/dist/actions/list-tags.d.cts +15 -3
  96. package/dist/actions/list-tags.d.mts +15 -3
  97. package/dist/actions/list-tags.mjs +2 -2
  98. package/dist/actions/list-tags.mjs.map +1 -1
  99. package/dist/actions/list-templates.cjs +2 -2
  100. package/dist/actions/list-templates.cjs.map +1 -1
  101. package/dist/actions/list-templates.d.cts +15 -3
  102. package/dist/actions/list-templates.d.mts +15 -3
  103. package/dist/actions/list-templates.mjs +2 -2
  104. package/dist/actions/list-templates.mjs.map +1 -1
  105. package/dist/actions/list-workspace-murals.cjs +2 -2
  106. package/dist/actions/list-workspace-murals.cjs.map +1 -1
  107. package/dist/actions/list-workspace-murals.d.cts +15 -3
  108. package/dist/actions/list-workspace-murals.d.mts +15 -3
  109. package/dist/actions/list-workspace-murals.mjs +2 -2
  110. package/dist/actions/list-workspace-murals.mjs.map +1 -1
  111. package/dist/actions/list-workspace-templates.cjs +2 -2
  112. package/dist/actions/list-workspace-templates.cjs.map +1 -1
  113. package/dist/actions/list-workspace-templates.d.cts +15 -3
  114. package/dist/actions/list-workspace-templates.d.mts +15 -3
  115. package/dist/actions/list-workspace-templates.mjs +2 -2
  116. package/dist/actions/list-workspace-templates.mjs.map +1 -1
  117. package/dist/actions/search-murals.cjs +2 -2
  118. package/dist/actions/search-murals.cjs.map +1 -1
  119. package/dist/actions/search-murals.d.cts +15 -3
  120. package/dist/actions/search-murals.d.mts +15 -3
  121. package/dist/actions/search-murals.mjs +2 -2
  122. package/dist/actions/search-murals.mjs.map +1 -1
  123. package/dist/actions/search-rooms.cjs +2 -2
  124. package/dist/actions/search-rooms.cjs.map +1 -1
  125. package/dist/actions/search-rooms.d.cts +15 -3
  126. package/dist/actions/search-rooms.d.mts +15 -3
  127. package/dist/actions/search-rooms.mjs +2 -2
  128. package/dist/actions/search-rooms.mjs.map +1 -1
  129. package/dist/actions/search-templates.cjs +2 -2
  130. package/dist/actions/search-templates.cjs.map +1 -1
  131. package/dist/actions/search-templates.d.cts +15 -3
  132. package/dist/actions/search-templates.d.mts +15 -3
  133. package/dist/actions/search-templates.mjs +2 -2
  134. package/dist/actions/search-templates.mjs.map +1 -1
  135. package/dist/app.cjs +5 -2
  136. package/dist/app.cjs.map +1 -1
  137. package/dist/app.d.cts +9 -1
  138. package/dist/app.d.cts.map +1 -1
  139. package/dist/app.d.mts +9 -1
  140. package/dist/app.d.mts.map +1 -1
  141. package/dist/app.mjs +3 -1
  142. package/dist/app.mjs.map +1 -1
  143. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"search-rooms.cjs","names":["z","action"],"sources":["../../src/actions/search-rooms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchRoomsInput = z.object({\n q: z.string().describe(\"The search query text to filter rooms by name or description\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of rooms to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search rooms from\"),\n}).describe(\"Request model for searching rooms within a workspace.\");\nconst MuralSearchRooms_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n name: z.string().describe(\"Name of the room\").nullable(),\n type: z.string().describe(\"Type of the room (e.g., 'open', 'private')\").nullable(),\n favorite: z.boolean().describe(\"Whether the room is marked as favorite by the user\").nullable().optional(),\n isMember: z.boolean().describe(\"Whether the current user is a member of this room\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the room was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the room was last updated (in microseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the room\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this room\").nullable(),\n confidential: z.boolean().describe(\"Whether the room is marked as confidential\").nullable().optional(),\n}).describe(\"Represents a room within a workspace.\");\nexport const MuralSearchRoomsOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchRooms_RoomSchema).describe(\"Array of rooms matching the search query\"),\n}).describe(\"Response model for searching rooms within a workspace.\");\n\nexport const muralSearchRooms = action(\"MURAL_SEARCH_ROOMS\", {\n slug: \"mural-search-rooms\",\n name: \"Search rooms in workspace\",\n description: \"Tool to search for rooms within a workspace by name or description. Returns all rooms that the authenticated user owns or is a member of matching the query. Use when you need to find specific rooms by search text.\",\n input: MuralSearchRoomsInput,\n output: MuralSearchRoomsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACrF,MAAM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,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,0CAA0C;AACjG,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAEpE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-rooms.cjs","names":["z","action"],"sources":["../../src/actions/search-rooms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchRoomsInput = z.object({\n q: z.string().describe(\"The search query text to filter rooms by name or description\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of rooms to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search rooms from\"),\n}).describe(\"Request model for searching rooms within a workspace.\");\nconst MuralSearchRooms_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n name: z.string().describe(\"Name of the room\").nullable(),\n type: z.string().describe(\"Type of the room (e.g., 'open', 'private')\").nullable(),\n favorite: z.boolean().describe(\"Whether the room is marked as favorite by the user\").nullable().optional(),\n isMember: z.boolean().describe(\"Whether the current user is a member of this room\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the room was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the room was last updated (in microseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the room\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this room\").nullable(),\n confidential: z.boolean().describe(\"Whether the room is marked as confidential\").nullable().optional(),\n}).passthrough().describe(\"Represents a room within a workspace.\");\nexport const MuralSearchRoomsOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchRooms_RoomSchema).describe(\"Array of rooms matching the search query\"),\n}).passthrough().describe(\"Response model for searching rooms within a workspace.\");\n\nexport const muralSearchRooms = action(\"MURAL_SEARCH_ROOMS\", {\n slug: \"mural-search-rooms\",\n name: \"Search rooms in workspace\",\n description: \"Tool to search for rooms within a workspace by name or description. Returns all rooms that the authenticated user owns or is a member of matching the query. Use when you need to find specific rooms by search text.\",\n input: MuralSearchRoomsInput,\n output: MuralSearchRoomsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAC5F,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,8BAA8BA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,0CAA0C;AACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -20,14 +20,26 @@ declare const MuralSearchRoomsOutput: z.ZodObject<{
20
20
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  workspaceId: z.ZodNullable<z.ZodString>;
22
22
  confidential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const muralSearchRooms: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  q: string;
27
27
  workspaceId: string;
28
28
  next?: string | undefined;
29
29
  limit?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ accessToken: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ accessToken: z.ZodString;
42
+ }, z.core.$strip>>]>;
31
43
  //#endregion
32
44
  export { muralSearchRooms };
33
45
  //# sourceMappingURL=search-rooms.d.cts.map
@@ -20,14 +20,26 @@ declare const MuralSearchRoomsOutput: z.ZodObject<{
20
20
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  workspaceId: z.ZodNullable<z.ZodString>;
22
22
  confidential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
- }, z.core.$strip>>;
24
- }, z.core.$strip>;
23
+ }, z.core.$loose>>;
24
+ }, z.core.$loose>;
25
25
  declare const muralSearchRooms: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  q: string;
27
27
  workspaceId: string;
28
28
  next?: string | undefined;
29
29
  limit?: number | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
30
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
31
+ connectionId: z.ZodString;
32
+ entityId: z.ZodString;
33
+ instanceId: z.ZodString;
34
+ }, z.core.$strip>, z.ZodObject<{
35
+ accessToken: z.ZodString;
36
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
37
+ connectionId: z.ZodString;
38
+ entityId: z.ZodString;
39
+ instanceId: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ accessToken: z.ZodString;
42
+ }, z.core.$strip>>]>;
31
43
  //#endregion
32
44
  export { muralSearchRooms };
33
45
  //# sourceMappingURL=search-rooms.d.mts.map
@@ -18,7 +18,7 @@ const MuralSearchRooms_RoomSchema = z.object({
18
18
  description: z.string().describe("Description of the room").nullable().optional(),
19
19
  workspaceId: z.string().describe("ID of the workspace containing this room").nullable(),
20
20
  confidential: z.boolean().describe("Whether the room is marked as confidential").nullable().optional()
21
- }).describe("Represents a room within a workspace.");
21
+ }).passthrough().describe("Represents a room within a workspace.");
22
22
  const muralSearchRooms = action("MURAL_SEARCH_ROOMS", {
23
23
  slug: "mural-search-rooms",
24
24
  name: "Search rooms in workspace",
@@ -27,7 +27,7 @@ const muralSearchRooms = action("MURAL_SEARCH_ROOMS", {
27
27
  output: z.object({
28
28
  next: z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
29
29
  value: z.array(MuralSearchRooms_RoomSchema).describe("Array of rooms matching the search query")
30
- }).describe("Response model for searching rooms within a workspace.")
30
+ }).passthrough().describe("Response model for searching rooms within a workspace.")
31
31
  });
32
32
  //#endregion
33
33
  export { muralSearchRooms };
@@ -1 +1 @@
1
- {"version":3,"file":"search-rooms.mjs","names":[],"sources":["../../src/actions/search-rooms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchRoomsInput = z.object({\n q: z.string().describe(\"The search query text to filter rooms by name or description\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of rooms to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search rooms from\"),\n}).describe(\"Request model for searching rooms within a workspace.\");\nconst MuralSearchRooms_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n name: z.string().describe(\"Name of the room\").nullable(),\n type: z.string().describe(\"Type of the room (e.g., 'open', 'private')\").nullable(),\n favorite: z.boolean().describe(\"Whether the room is marked as favorite by the user\").nullable().optional(),\n isMember: z.boolean().describe(\"Whether the current user is a member of this room\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the room was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the room was last updated (in microseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the room\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this room\").nullable(),\n confidential: z.boolean().describe(\"Whether the room is marked as confidential\").nullable().optional(),\n}).describe(\"Represents a room within a workspace.\");\nexport const MuralSearchRoomsOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchRooms_RoomSchema).describe(\"Array of rooms matching the search query\"),\n}).describe(\"Response model for searching rooms within a workspace.\");\n\nexport const muralSearchRooms = action(\"MURAL_SEARCH_ROOMS\", {\n slug: \"mural-search-rooms\",\n name: \"Search rooms in workspace\",\n description: \"Tool to search for rooms within a workspace by name or description. Returns all rooms that the authenticated user owns or is a member of matching the query. Use when you need to find specific rooms by search text.\",\n input: MuralSearchRoomsInput,\n output: MuralSearchRoomsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;AAC5F,CAAC,CAAC,CA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 {"version":3,"file":"search-rooms.mjs","names":[],"sources":["../../src/actions/search-rooms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchRoomsInput = z.object({\n q: z.string().describe(\"The search query text to filter rooms by name or description\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of rooms to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search rooms from\"),\n}).describe(\"Request model for searching rooms within a workspace.\");\nconst MuralSearchRooms_RoomSchema = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n name: z.string().describe(\"Name of the room\").nullable(),\n type: z.string().describe(\"Type of the room (e.g., 'open', 'private')\").nullable(),\n favorite: z.boolean().describe(\"Whether the room is marked as favorite by the user\").nullable().optional(),\n isMember: z.boolean().describe(\"Whether the current user is a member of this room\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the room was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the room was last updated (in microseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the room\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this room\").nullable(),\n confidential: z.boolean().describe(\"Whether the room is marked as confidential\").nullable().optional(),\n}).passthrough().describe(\"Represents a room within a workspace.\");\nexport const MuralSearchRoomsOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchRooms_RoomSchema).describe(\"Array of rooms matching the search query\"),\n}).passthrough().describe(\"Response model for searching rooms within a workspace.\");\n\nexport const muralSearchRooms = action(\"MURAL_SEARCH_ROOMS\", {\n slug: \"mural-search-rooms\",\n name: \"Search rooms in workspace\",\n description: \"Tool to search for rooms within a workspace by name or description. Returns all rooms that the authenticated user owns or is a member of matching the query. Use when you need to find specific rooms by search text.\",\n input: MuralSearchRoomsInput,\n output: MuralSearchRoomsOutput,\n});\n"],"mappings":";;;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C,CAAC,SAAS,uCAAuC;AAMjE,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,MAAM,2BAA2B,CAAC,CAAC,SAAS,0CAA0C;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAOhB;AACV,CAAC"}
@@ -14,11 +14,11 @@ const MuralSearchTemplates_TemplateSchema = zod.z.object({
14
14
  createdOn: zod.z.number().int().describe("Timestamp when the template was created (in microseconds)").nullable().optional(),
15
15
  updatedOn: zod.z.number().int().describe("Timestamp when the template was last updated (in microseconds)").nullable().optional(),
16
16
  workspaceId: zod.z.string().describe("ID of the workspace containing this template").nullable().optional()
17
- }).describe("Represents a template within a workspace.");
17
+ }).passthrough().describe("Represents a template within a workspace.");
18
18
  const MuralSearchTemplatesOutput = zod.z.object({
19
19
  next: zod.z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
20
20
  value: zod.z.array(MuralSearchTemplates_TemplateSchema).describe("Array of templates matching the search query")
21
- }).describe("Response model for searching templates within a workspace.");
21
+ }).passthrough().describe("Response model for searching templates within a workspace.");
22
22
  const muralSearchTemplates = require_action.action("MURAL_SEARCH_TEMPLATES", {
23
23
  slug: "mural-search-templates",
24
24
  name: "Search templates in workspace",
@@ -1 +1 @@
1
- {"version":3,"file":"search-templates.cjs","names":["z","action"],"sources":["../../src/actions/search-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchTemplatesInput = z.object({\n q: z.string().describe(\"The text search query for finding templates\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of templates to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search templates in\"),\n}).describe(\"Request model for searching templates within a workspace.\");\nconst MuralSearchTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n type: z.string().describe(\"Type of the template\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the template was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the template was last updated (in microseconds)\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this template\").nullable().optional(),\n}).describe(\"Represents a template within a workspace.\");\nexport const MuralSearchTemplatesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchTemplates_TemplateSchema).describe(\"Array of templates matching the search query\"),\n}).describe(\"Response model for searching templates within a workspace.\");\n\nexport const muralSearchTemplates = action(\"MURAL_SEARCH_TEMPLATES\", {\n slug: \"mural-search-templates\",\n name: \"Search templates in workspace\",\n description: \"Tool to search templates within a workspace that the authenticated user owns or has access to. Use when you need to find specific templates by name or keyword.\",\n input: MuralSearchTemplatesInput,\n output: MuralSearchTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C;AAC7G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-templates.cjs","names":["z","action"],"sources":["../../src/actions/search-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchTemplatesInput = z.object({\n q: z.string().describe(\"The text search query for finding templates\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of templates to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search templates in\"),\n}).describe(\"Request model for searching templates within a workspace.\");\nconst MuralSearchTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n type: z.string().describe(\"Type of the template\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the template was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the template was last updated (in microseconds)\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this template\").nullable().optional(),\n}).passthrough().describe(\"Represents a template within a workspace.\");\nexport const MuralSearchTemplatesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchTemplates_TemplateSchema).describe(\"Array of templates matching the search query\"),\n}).passthrough().describe(\"Response model for searching templates within a workspace.\");\n\nexport const muralSearchTemplates = action(\"MURAL_SEARCH_TEMPLATES\", {\n slug: \"mural-search-templates\",\n name: \"Search templates in workspace\",\n description: \"Tool to search templates within a workspace that the authenticated user owns or has access to. Use when you need to find specific templates by name or keyword.\",\n input: MuralSearchTemplatesInput,\n output: MuralSearchTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,14 +16,26 @@ declare const MuralSearchTemplatesOutput: z.ZodObject<{
16
16
  createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const muralSearchTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  q: string;
23
23
  workspaceId: string;
24
24
  next?: string | undefined;
25
25
  limit?: number | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { muralSearchTemplates };
29
41
  //# sourceMappingURL=search-templates.d.cts.map
@@ -16,14 +16,26 @@ declare const MuralSearchTemplatesOutput: z.ZodObject<{
16
16
  createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
17
17
  updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18
18
  workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
- }, z.core.$strip>>;
20
- }, z.core.$strip>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>;
21
21
  declare const muralSearchTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  q: string;
23
23
  workspaceId: string;
24
24
  next?: string | undefined;
25
25
  limit?: number | undefined;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { muralSearchTemplates };
29
41
  //# sourceMappingURL=search-templates.d.mts.map
@@ -14,7 +14,7 @@ const MuralSearchTemplates_TemplateSchema = z.object({
14
14
  createdOn: z.number().int().describe("Timestamp when the template was created (in microseconds)").nullable().optional(),
15
15
  updatedOn: z.number().int().describe("Timestamp when the template was last updated (in microseconds)").nullable().optional(),
16
16
  workspaceId: z.string().describe("ID of the workspace containing this template").nullable().optional()
17
- }).describe("Represents a template within a workspace.");
17
+ }).passthrough().describe("Represents a template within a workspace.");
18
18
  const muralSearchTemplates = action("MURAL_SEARCH_TEMPLATES", {
19
19
  slug: "mural-search-templates",
20
20
  name: "Search templates in workspace",
@@ -23,7 +23,7 @@ const muralSearchTemplates = action("MURAL_SEARCH_TEMPLATES", {
23
23
  output: z.object({
24
24
  next: z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
25
25
  value: z.array(MuralSearchTemplates_TemplateSchema).describe("Array of templates matching the search query")
26
- }).describe("Response model for searching templates within a workspace.")
26
+ }).passthrough().describe("Response model for searching templates within a workspace.")
27
27
  });
28
28
  //#endregion
29
29
  export { muralSearchTemplates };
@@ -1 +1 @@
1
- {"version":3,"file":"search-templates.mjs","names":[],"sources":["../../src/actions/search-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchTemplatesInput = z.object({\n q: z.string().describe(\"The text search query for finding templates\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of templates to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search templates in\"),\n}).describe(\"Request model for searching templates within a workspace.\");\nconst MuralSearchTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n type: z.string().describe(\"Type of the template\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the template was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the template was last updated (in microseconds)\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this template\").nullable().optional(),\n}).describe(\"Represents a template within a workspace.\");\nexport const MuralSearchTemplatesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchTemplates_TemplateSchema).describe(\"Array of templates matching the search query\"),\n}).describe(\"Response model for searching templates within a workspace.\");\n\nexport const muralSearchTemplates = action(\"MURAL_SEARCH_TEMPLATES\", {\n slug: \"mural-search-templates\",\n name: \"Search templates in workspace\",\n description: \"Tool to search templates within a workspace that the authenticated user owns or has access to. Use when you need to find specific templates by name or keyword.\",\n input: MuralSearchTemplatesInput,\n output: MuralSearchTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAMvD,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C;CAC7G,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"search-templates.mjs","names":[],"sources":["../../src/actions/search-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralSearchTemplatesInput = z.object({\n q: z.string().describe(\"The text search query for finding templates\"),\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of templates to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to search templates in\"),\n}).describe(\"Request model for searching templates within a workspace.\");\nconst MuralSearchTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the template\").nullable(),\n name: z.string().describe(\"Name of the template\").nullable(),\n type: z.string().describe(\"Type of the template\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the template was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the template was last updated (in microseconds)\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this template\").nullable().optional(),\n}).passthrough().describe(\"Represents a template within a workspace.\");\nexport const MuralSearchTemplatesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralSearchTemplates_TemplateSchema).describe(\"Array of templates matching the search query\"),\n}).passthrough().describe(\"Response model for searching templates within a workspace.\");\n\nexport const muralSearchTemplates = action(\"MURAL_SEARCH_TEMPLATES\", {\n slug: \"mural-search-templates\",\n name: \"Search templates in workspace\",\n description: \"Tool to search templates within a workspace that the authenticated user owns or has access to. Use when you need to find specific templates by name or keyword.\",\n input: MuralSearchTemplatesInput,\n output: MuralSearchTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;AAC9F,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAMrE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8CAA8C;CAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
2
+ let zod = require("zod");
1
3
  //#region src/app.ts
2
- const mural = (0, require("@keystrokehq/keystroke/app").defineApp)({
4
+ const mural = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "mural",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { accessToken: zod.z.string() }
5
8
  });
6
9
  //#endregion
7
10
  exports.mural = mural;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const mural = defineApp({\n slug: \"mural\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,SAAA,uCAAA,CAAA,CAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const mural = defineApp({\n slug: \"mural\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAA,GAAA,2BAAA,UAAA,CAAkB;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAaA,IAAAA,EAAE,OAAO,EACxB;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const mural: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const mural: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ accessToken: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { mural };
5
13
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,13 @@
1
+ import { z } from "zod";
2
+
1
3
  //#region src/app.d.ts
2
- declare const mural: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
4
+ declare const mural: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"mural", z.ZodObject<{
5
+ connectionId: z.ZodString;
6
+ entityId: z.ZodString;
7
+ instanceId: z.ZodString;
8
+ }, z.core.$strip>, z.ZodObject<{
9
+ accessToken: z.ZodString;
10
+ }, z.core.$strip>>>;
3
11
  //#endregion
4
12
  export { mural };
5
13
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,KAAA,6BAAK,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,KAAA,6BAAK,GAAA,+BAAA,UAAA,UAAA,CAAA,CAAA,SAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,10 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
2
3
  //#region src/app.ts
3
4
  const mural = defineApp({
4
5
  slug: "mural",
5
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential: { accessToken: z.string() }
6
8
  });
7
9
  //#endregion
8
10
  export { mural };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const mural = defineApp({\n slug: \"mural\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const mural = defineApp({\n slug: \"mural\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,QAAQ,UAAU;CAC7B,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAa,EAAE,OAAO,EACxB;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@keystrokehq/mural",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"