@keystrokehq/mural 0.1.2 → 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 (133) 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 +1 -1
  4. package/dist/actions/authorization-request.d.mts +1 -1
  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 +7 -6
  10. package/dist/actions/create-sticky-note.d.mts +7 -6
  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 +1 -1
  16. package/dist/actions/get-current-user.d.mts +1 -1
  17. package/dist/actions/get-current-user.mjs +1 -1
  18. package/dist/actions/get-current-user.mjs.map +1 -1
  19. package/dist/actions/get-files-for-mural.cjs +3 -3
  20. package/dist/actions/get-files-for-mural.cjs.map +1 -1
  21. package/dist/actions/get-files-for-mural.d.cts +5 -5
  22. package/dist/actions/get-files-for-mural.d.mts +5 -5
  23. package/dist/actions/get-files-for-mural.mjs +3 -3
  24. package/dist/actions/get-files-for-mural.mjs.map +1 -1
  25. package/dist/actions/get-mural-widgets.cjs +2 -2
  26. package/dist/actions/get-mural-widgets.cjs.map +1 -1
  27. package/dist/actions/get-mural-widgets.d.cts +5 -5
  28. package/dist/actions/get-mural-widgets.d.mts +5 -5
  29. package/dist/actions/get-mural-widgets.mjs +2 -2
  30. package/dist/actions/get-mural-widgets.mjs.map +1 -1
  31. package/dist/actions/get-room.cjs +1 -1
  32. package/dist/actions/get-room.cjs.map +1 -1
  33. package/dist/actions/get-room.d.cts +1 -1
  34. package/dist/actions/get-room.d.mts +1 -1
  35. package/dist/actions/get-room.mjs +1 -1
  36. package/dist/actions/get-room.mjs.map +1 -1
  37. package/dist/actions/get-workspace.cjs +1 -1
  38. package/dist/actions/get-workspace.cjs.map +1 -1
  39. package/dist/actions/get-workspace.d.cts +1 -1
  40. package/dist/actions/get-workspace.d.mts +1 -1
  41. package/dist/actions/get-workspace.mjs +1 -1
  42. package/dist/actions/get-workspace.mjs.map +1 -1
  43. package/dist/actions/get-workspaces.cjs +2 -2
  44. package/dist/actions/get-workspaces.cjs.map +1 -1
  45. package/dist/actions/get-workspaces.d.cts +2 -2
  46. package/dist/actions/get-workspaces.d.mts +2 -2
  47. package/dist/actions/get-workspaces.mjs +2 -2
  48. package/dist/actions/get-workspaces.mjs.map +1 -1
  49. package/dist/actions/list-folders.cjs +2 -2
  50. package/dist/actions/list-folders.cjs.map +1 -1
  51. package/dist/actions/list-folders.d.cts +2 -2
  52. package/dist/actions/list-folders.d.mts +2 -2
  53. package/dist/actions/list-folders.mjs +2 -2
  54. package/dist/actions/list-folders.mjs.map +1 -1
  55. package/dist/actions/list-open-rooms.cjs +2 -2
  56. package/dist/actions/list-open-rooms.cjs.map +1 -1
  57. package/dist/actions/list-open-rooms.d.cts +2 -2
  58. package/dist/actions/list-open-rooms.d.mts +2 -2
  59. package/dist/actions/list-open-rooms.mjs +2 -2
  60. package/dist/actions/list-open-rooms.mjs.map +1 -1
  61. package/dist/actions/list-recent-murals.cjs +2 -2
  62. package/dist/actions/list-recent-murals.cjs.map +1 -1
  63. package/dist/actions/list-recent-murals.d.cts +2 -2
  64. package/dist/actions/list-recent-murals.d.mts +2 -2
  65. package/dist/actions/list-recent-murals.mjs +2 -2
  66. package/dist/actions/list-recent-murals.mjs.map +1 -1
  67. package/dist/actions/list-recent-templates.cjs +2 -2
  68. package/dist/actions/list-recent-templates.cjs.map +1 -1
  69. package/dist/actions/list-recent-templates.d.cts +2 -2
  70. package/dist/actions/list-recent-templates.d.mts +2 -2
  71. package/dist/actions/list-recent-templates.mjs +2 -2
  72. package/dist/actions/list-recent-templates.mjs.map +1 -1
  73. package/dist/actions/list-room-murals.cjs +1 -1
  74. package/dist/actions/list-room-murals.cjs.map +1 -1
  75. package/dist/actions/list-room-murals.d.cts +1 -1
  76. package/dist/actions/list-room-murals.d.mts +1 -1
  77. package/dist/actions/list-room-murals.mjs +1 -1
  78. package/dist/actions/list-room-murals.mjs.map +1 -1
  79. package/dist/actions/list-room-users.cjs +2 -2
  80. package/dist/actions/list-room-users.cjs.map +1 -1
  81. package/dist/actions/list-room-users.d.cts +2 -2
  82. package/dist/actions/list-room-users.d.mts +2 -2
  83. package/dist/actions/list-room-users.mjs +2 -2
  84. package/dist/actions/list-room-users.mjs.map +1 -1
  85. package/dist/actions/list-rooms.cjs +2 -2
  86. package/dist/actions/list-rooms.cjs.map +1 -1
  87. package/dist/actions/list-rooms.d.cts +2 -2
  88. package/dist/actions/list-rooms.d.mts +2 -2
  89. package/dist/actions/list-rooms.mjs +2 -2
  90. package/dist/actions/list-rooms.mjs.map +1 -1
  91. package/dist/actions/list-tags.cjs +2 -2
  92. package/dist/actions/list-tags.cjs.map +1 -1
  93. package/dist/actions/list-tags.d.cts +2 -2
  94. package/dist/actions/list-tags.d.mts +2 -2
  95. package/dist/actions/list-tags.mjs +2 -2
  96. package/dist/actions/list-tags.mjs.map +1 -1
  97. package/dist/actions/list-templates.cjs +2 -2
  98. package/dist/actions/list-templates.cjs.map +1 -1
  99. package/dist/actions/list-templates.d.cts +2 -2
  100. package/dist/actions/list-templates.d.mts +2 -2
  101. package/dist/actions/list-templates.mjs +2 -2
  102. package/dist/actions/list-templates.mjs.map +1 -1
  103. package/dist/actions/list-workspace-murals.cjs +2 -2
  104. package/dist/actions/list-workspace-murals.cjs.map +1 -1
  105. package/dist/actions/list-workspace-murals.d.cts +2 -2
  106. package/dist/actions/list-workspace-murals.d.mts +2 -2
  107. package/dist/actions/list-workspace-murals.mjs +2 -2
  108. package/dist/actions/list-workspace-murals.mjs.map +1 -1
  109. package/dist/actions/list-workspace-templates.cjs +2 -2
  110. package/dist/actions/list-workspace-templates.cjs.map +1 -1
  111. package/dist/actions/list-workspace-templates.d.cts +2 -2
  112. package/dist/actions/list-workspace-templates.d.mts +2 -2
  113. package/dist/actions/list-workspace-templates.mjs +2 -2
  114. package/dist/actions/list-workspace-templates.mjs.map +1 -1
  115. package/dist/actions/search-murals.cjs +2 -2
  116. package/dist/actions/search-murals.cjs.map +1 -1
  117. package/dist/actions/search-murals.d.cts +2 -2
  118. package/dist/actions/search-murals.d.mts +2 -2
  119. package/dist/actions/search-murals.mjs +2 -2
  120. package/dist/actions/search-murals.mjs.map +1 -1
  121. package/dist/actions/search-rooms.cjs +2 -2
  122. package/dist/actions/search-rooms.cjs.map +1 -1
  123. package/dist/actions/search-rooms.d.cts +2 -2
  124. package/dist/actions/search-rooms.d.mts +2 -2
  125. package/dist/actions/search-rooms.mjs +2 -2
  126. package/dist/actions/search-rooms.mjs.map +1 -1
  127. package/dist/actions/search-templates.cjs +2 -2
  128. package/dist/actions/search-templates.cjs.map +1 -1
  129. package/dist/actions/search-templates.d.cts +2 -2
  130. package/dist/actions/search-templates.d.mts +2 -2
  131. package/dist/actions/search-templates.mjs +2 -2
  132. package/dist/actions/search-templates.mjs.map +1 -1
  133. package/package.json +1 -1
@@ -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,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AC,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,IAAA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AAS,4DAA4D;AAEtF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -16,8 +16,8 @@ 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;
@@ -16,8 +16,8 @@ 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;
@@ -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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AC,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,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registry": "https://registry.npmjs.org"