@keystrokehq/scheduleonce 0.1.0

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 (250) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/book-time-slot.cjs +76 -0
  7. package/dist/actions/book-time-slot.cjs.map +1 -0
  8. package/dist/actions/book-time-slot.d.cts +9 -0
  9. package/dist/actions/book-time-slot.d.cts.map +1 -0
  10. package/dist/actions/book-time-slot.d.mts +9 -0
  11. package/dist/actions/book-time-slot.d.mts.map +1 -0
  12. package/dist/actions/book-time-slot.mjs +75 -0
  13. package/dist/actions/book-time-slot.mjs.map +1 -0
  14. package/dist/actions/cancel-booking.cjs +66 -0
  15. package/dist/actions/cancel-booking.cjs.map +1 -0
  16. package/dist/actions/cancel-booking.d.cts +9 -0
  17. package/dist/actions/cancel-booking.d.cts.map +1 -0
  18. package/dist/actions/cancel-booking.d.mts +9 -0
  19. package/dist/actions/cancel-booking.d.mts.map +1 -0
  20. package/dist/actions/cancel-booking.mjs +65 -0
  21. package/dist/actions/cancel-booking.mjs.map +1 -0
  22. package/dist/actions/create-contact.cjs +60 -0
  23. package/dist/actions/create-contact.cjs.map +1 -0
  24. package/dist/actions/create-contact.d.cts +9 -0
  25. package/dist/actions/create-contact.d.cts.map +1 -0
  26. package/dist/actions/create-contact.d.mts +9 -0
  27. package/dist/actions/create-contact.d.mts.map +1 -0
  28. package/dist/actions/create-contact.mjs +59 -0
  29. package/dist/actions/create-contact.mjs.map +1 -0
  30. package/dist/actions/create-one-time-link-for-booking-calendar.cjs +35 -0
  31. package/dist/actions/create-one-time-link-for-booking-calendar.cjs.map +1 -0
  32. package/dist/actions/create-one-time-link-for-booking-calendar.d.cts +9 -0
  33. package/dist/actions/create-one-time-link-for-booking-calendar.d.cts.map +1 -0
  34. package/dist/actions/create-one-time-link-for-booking-calendar.d.mts +9 -0
  35. package/dist/actions/create-one-time-link-for-booking-calendar.d.mts.map +1 -0
  36. package/dist/actions/create-one-time-link-for-booking-calendar.mjs +34 -0
  37. package/dist/actions/create-one-time-link-for-booking-calendar.mjs.map +1 -0
  38. package/dist/actions/create-user.cjs +31 -0
  39. package/dist/actions/create-user.cjs.map +1 -0
  40. package/dist/actions/create-user.d.cts +9 -0
  41. package/dist/actions/create-user.d.cts.map +1 -0
  42. package/dist/actions/create-user.d.mts +9 -0
  43. package/dist/actions/create-user.d.mts.map +1 -0
  44. package/dist/actions/create-user.mjs +28 -0
  45. package/dist/actions/create-user.mjs.map +1 -0
  46. package/dist/actions/delete-contact.cjs +19 -0
  47. package/dist/actions/delete-contact.cjs.map +1 -0
  48. package/dist/actions/delete-contact.d.cts +9 -0
  49. package/dist/actions/delete-contact.d.cts.map +1 -0
  50. package/dist/actions/delete-contact.d.mts +9 -0
  51. package/dist/actions/delete-contact.d.mts.map +1 -0
  52. package/dist/actions/delete-contact.mjs +16 -0
  53. package/dist/actions/delete-contact.mjs.map +1 -0
  54. package/dist/actions/delete-user.cjs +19 -0
  55. package/dist/actions/delete-user.cjs.map +1 -0
  56. package/dist/actions/delete-user.d.cts +9 -0
  57. package/dist/actions/delete-user.d.cts.map +1 -0
  58. package/dist/actions/delete-user.d.mts +9 -0
  59. package/dist/actions/delete-user.d.mts.map +1 -0
  60. package/dist/actions/delete-user.mjs +16 -0
  61. package/dist/actions/delete-user.mjs.map +1 -0
  62. package/dist/actions/get-available-time-slots.cjs +29 -0
  63. package/dist/actions/get-available-time-slots.cjs.map +1 -0
  64. package/dist/actions/get-available-time-slots.d.cts +9 -0
  65. package/dist/actions/get-available-time-slots.d.cts.map +1 -0
  66. package/dist/actions/get-available-time-slots.d.mts +9 -0
  67. package/dist/actions/get-available-time-slots.d.mts.map +1 -0
  68. package/dist/actions/get-available-time-slots.mjs +28 -0
  69. package/dist/actions/get-available-time-slots.mjs.map +1 -0
  70. package/dist/actions/get-single-booking-calendar.cjs +25 -0
  71. package/dist/actions/get-single-booking-calendar.cjs.map +1 -0
  72. package/dist/actions/get-single-booking-calendar.d.cts +9 -0
  73. package/dist/actions/get-single-booking-calendar.d.cts.map +1 -0
  74. package/dist/actions/get-single-booking-calendar.d.mts +9 -0
  75. package/dist/actions/get-single-booking-calendar.d.mts.map +1 -0
  76. package/dist/actions/get-single-booking-calendar.mjs +22 -0
  77. package/dist/actions/get-single-booking-calendar.mjs.map +1 -0
  78. package/dist/actions/get-single-booking.cjs +60 -0
  79. package/dist/actions/get-single-booking.cjs.map +1 -0
  80. package/dist/actions/get-single-booking.d.cts +9 -0
  81. package/dist/actions/get-single-booking.d.cts.map +1 -0
  82. package/dist/actions/get-single-booking.d.mts +9 -0
  83. package/dist/actions/get-single-booking.d.mts.map +1 -0
  84. package/dist/actions/get-single-booking.mjs +59 -0
  85. package/dist/actions/get-single-booking.mjs.map +1 -0
  86. package/dist/actions/get-single-contact.cjs +45 -0
  87. package/dist/actions/get-single-contact.cjs.map +1 -0
  88. package/dist/actions/get-single-contact.d.cts +9 -0
  89. package/dist/actions/get-single-contact.d.cts.map +1 -0
  90. package/dist/actions/get-single-contact.d.mts +9 -0
  91. package/dist/actions/get-single-contact.d.mts.map +1 -0
  92. package/dist/actions/get-single-contact.mjs +44 -0
  93. package/dist/actions/get-single-contact.mjs.map +1 -0
  94. package/dist/actions/get-single-master-page.cjs +23 -0
  95. package/dist/actions/get-single-master-page.cjs.map +1 -0
  96. package/dist/actions/get-single-master-page.d.cts +9 -0
  97. package/dist/actions/get-single-master-page.d.cts.map +1 -0
  98. package/dist/actions/get-single-master-page.d.mts +9 -0
  99. package/dist/actions/get-single-master-page.d.mts.map +1 -0
  100. package/dist/actions/get-single-master-page.mjs +20 -0
  101. package/dist/actions/get-single-master-page.mjs.map +1 -0
  102. package/dist/actions/get-single-user.cjs +29 -0
  103. package/dist/actions/get-single-user.cjs.map +1 -0
  104. package/dist/actions/get-single-user.d.cts +9 -0
  105. package/dist/actions/get-single-user.d.cts.map +1 -0
  106. package/dist/actions/get-single-user.d.mts +9 -0
  107. package/dist/actions/get-single-user.d.mts.map +1 -0
  108. package/dist/actions/get-single-user.mjs +26 -0
  109. package/dist/actions/get-single-user.mjs.map +1 -0
  110. package/dist/actions/get-user-scheduling-availability.cjs +40 -0
  111. package/dist/actions/get-user-scheduling-availability.cjs.map +1 -0
  112. package/dist/actions/get-user-scheduling-availability.d.cts +9 -0
  113. package/dist/actions/get-user-scheduling-availability.d.cts.map +1 -0
  114. package/dist/actions/get-user-scheduling-availability.d.mts +9 -0
  115. package/dist/actions/get-user-scheduling-availability.d.mts.map +1 -0
  116. package/dist/actions/get-user-scheduling-availability.mjs +39 -0
  117. package/dist/actions/get-user-scheduling-availability.mjs.map +1 -0
  118. package/dist/actions/index.cjs +55 -0
  119. package/dist/actions/index.d.cts +28 -0
  120. package/dist/actions/index.d.mts +28 -0
  121. package/dist/actions/index.mjs +28 -0
  122. package/dist/actions/list-all-booking-calendars.cjs +30 -0
  123. package/dist/actions/list-all-booking-calendars.cjs.map +1 -0
  124. package/dist/actions/list-all-booking-calendars.d.cts +9 -0
  125. package/dist/actions/list-all-booking-calendars.d.cts.map +1 -0
  126. package/dist/actions/list-all-booking-calendars.d.mts +9 -0
  127. package/dist/actions/list-all-booking-calendars.d.mts.map +1 -0
  128. package/dist/actions/list-all-booking-calendars.mjs +29 -0
  129. package/dist/actions/list-all-booking-calendars.mjs.map +1 -0
  130. package/dist/actions/list-all-booking-pages.cjs +29 -0
  131. package/dist/actions/list-all-booking-pages.cjs.map +1 -0
  132. package/dist/actions/list-all-booking-pages.d.cts +9 -0
  133. package/dist/actions/list-all-booking-pages.d.cts.map +1 -0
  134. package/dist/actions/list-all-booking-pages.d.mts +9 -0
  135. package/dist/actions/list-all-booking-pages.d.mts.map +1 -0
  136. package/dist/actions/list-all-booking-pages.mjs +28 -0
  137. package/dist/actions/list-all-booking-pages.mjs.map +1 -0
  138. package/dist/actions/list-all-bookings.cjs +66 -0
  139. package/dist/actions/list-all-bookings.cjs.map +1 -0
  140. package/dist/actions/list-all-bookings.d.cts +9 -0
  141. package/dist/actions/list-all-bookings.d.cts.map +1 -0
  142. package/dist/actions/list-all-bookings.d.mts +9 -0
  143. package/dist/actions/list-all-bookings.d.mts.map +1 -0
  144. package/dist/actions/list-all-bookings.mjs +65 -0
  145. package/dist/actions/list-all-bookings.mjs.map +1 -0
  146. package/dist/actions/list-all-contacts.cjs +57 -0
  147. package/dist/actions/list-all-contacts.cjs.map +1 -0
  148. package/dist/actions/list-all-contacts.d.cts +9 -0
  149. package/dist/actions/list-all-contacts.d.cts.map +1 -0
  150. package/dist/actions/list-all-contacts.d.mts +9 -0
  151. package/dist/actions/list-all-contacts.d.mts.map +1 -0
  152. package/dist/actions/list-all-contacts.mjs +56 -0
  153. package/dist/actions/list-all-contacts.mjs.map +1 -0
  154. package/dist/actions/list-all-event-types.cjs +26 -0
  155. package/dist/actions/list-all-event-types.cjs.map +1 -0
  156. package/dist/actions/list-all-event-types.d.cts +9 -0
  157. package/dist/actions/list-all-event-types.d.cts.map +1 -0
  158. package/dist/actions/list-all-event-types.d.mts +9 -0
  159. package/dist/actions/list-all-event-types.d.mts.map +1 -0
  160. package/dist/actions/list-all-event-types.mjs +25 -0
  161. package/dist/actions/list-all-event-types.mjs.map +1 -0
  162. package/dist/actions/list-all-master-pages.cjs +28 -0
  163. package/dist/actions/list-all-master-pages.cjs.map +1 -0
  164. package/dist/actions/list-all-master-pages.d.cts +9 -0
  165. package/dist/actions/list-all-master-pages.d.cts.map +1 -0
  166. package/dist/actions/list-all-master-pages.d.mts +9 -0
  167. package/dist/actions/list-all-master-pages.d.mts.map +1 -0
  168. package/dist/actions/list-all-master-pages.mjs +27 -0
  169. package/dist/actions/list-all-master-pages.mjs.map +1 -0
  170. package/dist/actions/list-all-teams.cjs +31 -0
  171. package/dist/actions/list-all-teams.cjs.map +1 -0
  172. package/dist/actions/list-all-teams.d.cts +9 -0
  173. package/dist/actions/list-all-teams.d.cts.map +1 -0
  174. package/dist/actions/list-all-teams.d.mts +9 -0
  175. package/dist/actions/list-all-teams.d.mts.map +1 -0
  176. package/dist/actions/list-all-teams.mjs +30 -0
  177. package/dist/actions/list-all-teams.mjs.map +1 -0
  178. package/dist/actions/list-all-users.cjs +31 -0
  179. package/dist/actions/list-all-users.cjs.map +1 -0
  180. package/dist/actions/list-all-users.d.cts +9 -0
  181. package/dist/actions/list-all-users.d.cts.map +1 -0
  182. package/dist/actions/list-all-users.d.mts +9 -0
  183. package/dist/actions/list-all-users.d.mts.map +1 -0
  184. package/dist/actions/list-all-users.mjs +30 -0
  185. package/dist/actions/list-all-users.mjs.map +1 -0
  186. package/dist/actions/mark-booking-as-no-show.cjs +73 -0
  187. package/dist/actions/mark-booking-as-no-show.cjs.map +1 -0
  188. package/dist/actions/mark-booking-as-no-show.d.cts +9 -0
  189. package/dist/actions/mark-booking-as-no-show.d.cts.map +1 -0
  190. package/dist/actions/mark-booking-as-no-show.d.mts +9 -0
  191. package/dist/actions/mark-booking-as-no-show.d.mts.map +1 -0
  192. package/dist/actions/mark-booking-as-no-show.mjs +72 -0
  193. package/dist/actions/mark-booking-as-no-show.mjs.map +1 -0
  194. package/dist/actions/test-api-key.cjs +19 -0
  195. package/dist/actions/test-api-key.cjs.map +1 -0
  196. package/dist/actions/test-api-key.d.cts +9 -0
  197. package/dist/actions/test-api-key.d.cts.map +1 -0
  198. package/dist/actions/test-api-key.d.mts +9 -0
  199. package/dist/actions/test-api-key.d.mts.map +1 -0
  200. package/dist/actions/test-api-key.mjs +16 -0
  201. package/dist/actions/test-api-key.mjs.map +1 -0
  202. package/dist/actions/update-contact.cjs +32 -0
  203. package/dist/actions/update-contact.cjs.map +1 -0
  204. package/dist/actions/update-contact.d.cts +9 -0
  205. package/dist/actions/update-contact.d.cts.map +1 -0
  206. package/dist/actions/update-contact.d.mts +9 -0
  207. package/dist/actions/update-contact.d.mts.map +1 -0
  208. package/dist/actions/update-contact.mjs +29 -0
  209. package/dist/actions/update-contact.mjs.map +1 -0
  210. package/dist/actions/update-user-scheduling-availability.cjs +73 -0
  211. package/dist/actions/update-user-scheduling-availability.cjs.map +1 -0
  212. package/dist/actions/update-user-scheduling-availability.d.cts +9 -0
  213. package/dist/actions/update-user-scheduling-availability.d.cts.map +1 -0
  214. package/dist/actions/update-user-scheduling-availability.d.mts +9 -0
  215. package/dist/actions/update-user-scheduling-availability.d.mts.map +1 -0
  216. package/dist/actions/update-user-scheduling-availability.mjs +72 -0
  217. package/dist/actions/update-user-scheduling-availability.mjs.map +1 -0
  218. package/dist/actions/update-user.cjs +33 -0
  219. package/dist/actions/update-user.cjs.map +1 -0
  220. package/dist/actions/update-user.d.cts +9 -0
  221. package/dist/actions/update-user.d.cts.map +1 -0
  222. package/dist/actions/update-user.d.mts +9 -0
  223. package/dist/actions/update-user.d.mts.map +1 -0
  224. package/dist/actions/update-user.mjs +30 -0
  225. package/dist/actions/update-user.mjs.map +1 -0
  226. package/dist/app.cjs +9 -0
  227. package/dist/app.cjs.map +1 -0
  228. package/dist/app.d.cts +5 -0
  229. package/dist/app.d.cts.map +1 -0
  230. package/dist/app.d.mts +5 -0
  231. package/dist/app.d.mts.map +1 -0
  232. package/dist/app.mjs +10 -0
  233. package/dist/app.mjs.map +1 -0
  234. package/dist/catalog.cjs +15 -0
  235. package/dist/catalog.cjs.map +1 -0
  236. package/dist/catalog.d.cts +14 -0
  237. package/dist/catalog.d.cts.map +1 -0
  238. package/dist/catalog.d.mts +14 -0
  239. package/dist/catalog.d.mts.map +1 -0
  240. package/dist/catalog.mjs +15 -0
  241. package/dist/catalog.mjs.map +1 -0
  242. package/dist/execute.cjs +18 -0
  243. package/dist/execute.cjs.map +1 -0
  244. package/dist/execute.mjs +18 -0
  245. package/dist/execute.mjs.map +1 -0
  246. package/dist/index.cjs +60 -0
  247. package/dist/index.d.cts +30 -0
  248. package/dist/index.d.mts +30 -0
  249. package/dist/index.mjs +31 -0
  250. package/package.json +49 -0
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scheduleonceGetSingleMasterPage = action("SCHEDULEONCE_GET_SINGLE_MASTER_PAGE", {
4
+ slug: "scheduleonce-get-single-master-page",
5
+ name: "Get Single Master Page",
6
+ description: "Tool to retrieve a single master page by ID from OnceHub. Use when you need to fetch complete master page details including name, label, URL, and active status.",
7
+ input: z.object({ id: z.string().describe("The unique identifier of the master page to retrieve. Format: MP-XXXXXXXXXXXX (e.g., 'MP-73E6RHFU77' or 'MP-TEST123456')") }).describe("Request model for retrieving a single master page by ID."),
8
+ output: z.object({
9
+ id: z.string().describe("Unique identifier for the master page"),
10
+ url: z.string().describe("Public URL for accessing the master page"),
11
+ name: z.string().describe("Public name of the master page"),
12
+ label: z.string().describe("Internal label for the master page"),
13
+ active: z.boolean().describe("Indicates whether the master page is enabled to receive bookings"),
14
+ object: z.string().describe("Object type, always 'master_page'")
15
+ }).describe("Response model for a single master page.")
16
+ });
17
+ //#endregion
18
+ export { scheduleonceGetSingleMasterPage };
19
+
20
+ //# sourceMappingURL=get-single-master-page.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-master-page.mjs","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleMasterPageInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the master page to retrieve. Format: MP-XXXXXXXXXXXX (e.g., 'MP-73E6RHFU77' or 'MP-TEST123456')\"),\n}).describe(\"Request model for retrieving a single master page by ID.\");\nexport const ScheduleonceGetSingleMasterPageOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the master page\"),\n url: z.string().describe(\"Public URL for accessing the master page\"),\n name: z.string().describe(\"Public name of the master page\"),\n label: z.string().describe(\"Internal label for the master page\"),\n active: z.boolean().describe(\"Indicates whether the master page is enabled to receive bookings\"),\n object: z.string().describe(\"Object type, always 'master_page'\"),\n}).describe(\"Response model for a single master page.\");\n\nexport const scheduleonceGetSingleMasterPage = action(\"SCHEDULEONCE_GET_SINGLE_MASTER_PAGE\", {\n slug: \"scheduleonce-get-single-master-page\",\n name: \"Get Single Master Page\",\n description: \"Tool to retrieve a single master page by ID from OnceHub. Use when you need to fetch complete master page details including name, label, URL, and active status.\",\n input: ScheduleonceGetSingleMasterPageInput,\n output: ScheduleonceGetSingleMasterPageOutput,\n});\n"],"mappings":";;AAgBA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBgE,EAAE,OAAO,EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EACpJ,CAAC,CAAC,CAAC,SAAS,0DAcH;CACP,QAdiE,EAAE,OAAO;EAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;EAC/D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE;EAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CACjE,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-single-user.ts
4
+ const ScheduleonceGetSingleUserInput = zod.z.object({
5
+ id: zod.z.string().describe("The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')"),
6
+ expand: zod.z.string().describe("Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.").optional()
7
+ }).describe("Request model for retrieving a single user by ID.");
8
+ const ScheduleonceGetSingleUserOutput = zod.z.object({
9
+ id: zod.z.string().describe("Unique identifier for the user"),
10
+ email: zod.z.string().describe("User's email address").nullable().optional(),
11
+ teams: zod.z.array(zod.z.string()).describe("Array of team IDs the user belongs to").nullable().optional(),
12
+ object: zod.z.string().describe("Object type, always 'user'"),
13
+ status: zod.z.string().describe("User status indicating if the user has signed in ('active') or is still in invited status").nullable().optional(),
14
+ timezone: zod.z.string().describe("User's timezone (e.g., 'America/Chicago')").nullable().optional(),
15
+ last_name: zod.z.string().describe("User's last name").nullable().optional(),
16
+ role_name: zod.z.string().describe("User's role in the account (e.g., 'Member', 'Admin')").nullable().optional(),
17
+ first_name: zod.z.string().describe("User's first name").nullable().optional()
18
+ }).describe("Response model for a single user.");
19
+ const scheduleonceGetSingleUser = require_action.action("SCHEDULEONCE_GET_SINGLE_USER", {
20
+ slug: "scheduleonce-get-single-user",
21
+ name: "Get Single User",
22
+ description: "Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.",
23
+ input: ScheduleonceGetSingleUserInput,
24
+ output: ScheduleonceGetSingleUserOutput
25
+ });
26
+ //#endregion
27
+ exports.scheduleonceGetSingleUser = scheduleonceGetSingleUser;
28
+
29
+ //# sourceMappingURL=get-single-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-user.cjs","names":["z","action"],"sources":["../../src/actions/get-single-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.\").optional(),\n}).describe(\"Request model for retrieving a single user by ID.\");\nexport const ScheduleonceGetSingleUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\"),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\"),\n status: z.string().describe(\"User status indicating if the user has signed in ('active') or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).describe(\"Response model for a single user.\");\n\nexport const scheduleonceGetSingleUser = action(\"SCHEDULEONCE_GET_SINGLE_USER\", {\n slug: \"scheduleonce-get-single-user\",\n name: \"Get Single User\",\n description: \"Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.\",\n input: ScheduleonceGetSingleUserInput,\n output: ScheduleonceGetSingleUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;AAC9N,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-user.d.ts
4
+ declare const ScheduleonceGetSingleUserInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleUserOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleUser };
9
+ //# sourceMappingURL=get-single-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-user.d.cts","names":[],"sources":["../../src/actions/get-single-user.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGiB;AAAA,cACnD,+BAAA,EAAiC,CAAA,CAAE,UAUA;AAAA,cAEnC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-user.d.ts
4
+ declare const ScheduleonceGetSingleUserInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleUserOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleUser };
9
+ //# sourceMappingURL=get-single-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-user.d.mts","names":[],"sources":["../../src/actions/get-single-user.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAGiB;AAAA,cACnD,+BAAA,EAAiC,CAAA,CAAE,UAUA;AAAA,cAEnC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scheduleonceGetSingleUser = action("SCHEDULEONCE_GET_SINGLE_USER", {
4
+ slug: "scheduleonce-get-single-user",
5
+ name: "Get Single User",
6
+ description: "Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.",
7
+ input: z.object({
8
+ id: z.string().describe("The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')"),
9
+ expand: z.string().describe("Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.").optional()
10
+ }).describe("Request model for retrieving a single user by ID."),
11
+ output: z.object({
12
+ id: z.string().describe("Unique identifier for the user"),
13
+ email: z.string().describe("User's email address").nullable().optional(),
14
+ teams: z.array(z.string()).describe("Array of team IDs the user belongs to").nullable().optional(),
15
+ object: z.string().describe("Object type, always 'user'"),
16
+ status: z.string().describe("User status indicating if the user has signed in ('active') or is still in invited status").nullable().optional(),
17
+ timezone: z.string().describe("User's timezone (e.g., 'America/Chicago')").nullable().optional(),
18
+ last_name: z.string().describe("User's last name").nullable().optional(),
19
+ role_name: z.string().describe("User's role in the account (e.g., 'Member', 'Admin')").nullable().optional(),
20
+ first_name: z.string().describe("User's first name").nullable().optional()
21
+ }).describe("Response model for a single user.")
22
+ });
23
+ //#endregion
24
+ export { scheduleonceGetSingleUser };
25
+
26
+ //# sourceMappingURL=get-single-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-user.mjs","names":[],"sources":["../../src/actions/get-single-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to retrieve (e.g., 'USR-GB59HWQCXF' or 'USR-FSD423423')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand in the response. By default, embedded objects are collapsed to their IDs. Example: 'teams'. Maximum expansion depth is 2 levels.\").optional(),\n}).describe(\"Request model for retrieving a single user by ID.\");\nexport const ScheduleonceGetSingleUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\"),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\"),\n status: z.string().describe(\"User status indicating if the user has signed in ('active') or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).describe(\"Response model for a single user.\");\n\nexport const scheduleonceGetSingleUser = action(\"SCHEDULEONCE_GET_SINGLE_USER\", {\n slug: \"scheduleonce-get-single-user\",\n name: \"Get Single User\",\n description: \"Tool to retrieve a single user by ID from OnceHub. Use when you need to fetch detailed information about a specific user including their name, email, status, role, timezone, and team associations.\",\n input: ScheduleonceGetSingleUserInput,\n output: ScheduleonceGetSingleUserOutput,\n});\n"],"mappings":";;AAoBA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB0D,EAAE,OAAO;EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F;EACnH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qLAAqL,CAAC,CAAC,SAAS;CAC9N,CAAC,CAAC,CAAC,SAAS,mDAiBH;CACP,QAjB2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -0,0 +1,40 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-user-scheduling-availability.ts
4
+ const ScheduleonceGetUserSchedulingAvailabilityInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the user (e.g., 'USR-GB59HWQCXF')") }).describe("Request model for getting user scheduling availability.");
5
+ const ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema = zod.z.object({
6
+ id: zod.z.string().describe("Location identifier").nullable().optional(),
7
+ name: zod.z.string().describe("Location name").nullable().optional()
8
+ }).describe("Model for a location associated with working hours.");
9
+ const ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema = zod.z.object({
10
+ end_time: zod.z.string().describe("End time in HH:MM format (24-hour, e.g., '17:00')").nullable().optional(),
11
+ locations: zod.z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema).describe("List of locations where the user is available during these hours").nullable().optional(),
12
+ start_time: zod.z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')").nullable().optional()
13
+ }).describe("Model for working hours within a day.");
14
+ const ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema = zod.z.object({
15
+ day: zod.z.string().describe("Day of the week (e.g., 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')").nullable().optional(),
16
+ working_hours: zod.z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe("List of working hour blocks for this day").nullable().optional()
17
+ }).describe("Model for a single day's schedule in the weekly availability.");
18
+ const ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema = zod.z.object({
19
+ date: zod.z.string().describe("Date in YYYY-MM-DD format for the override").nullable().optional(),
20
+ working_hours: zod.z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe("List of working hour blocks for this specific date").nullable().optional()
21
+ }).describe("Model for scheduling overrides on specific dates.");
22
+ const ScheduleonceGetUserSchedulingAvailabilityOutput = zod.z.object({
23
+ id: zod.z.string().describe("Unique identifier for the user").nullable().optional(),
24
+ object: zod.z.string().describe("The object type, always 'user'").nullable().optional(),
25
+ weekly: zod.z.array(ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema).describe("Weekly schedule containing availability for each day").nullable().optional(),
26
+ timezone: zod.z.string().describe("User's timezone setting").nullable().optional(),
27
+ overrides: zod.z.array(ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema).describe("List of specific date overrides").nullable().optional(),
28
+ last_updated_time: zod.z.string().describe("ISO 8601 timestamp when availability was last updated").nullable().optional()
29
+ }).describe("Response model for getting user scheduling availability.");
30
+ const scheduleonceGetUserSchedulingAvailability = require_action.action("SCHEDULEONCE_GET_USER_SCHEDULING_AVAILABILITY", {
31
+ slug: "scheduleonce-get-user-scheduling-availability",
32
+ name: "Get User Scheduling Availability",
33
+ description: "Tool to get user scheduling availability from OnceHub. Use when you need to retrieve a user's weekly schedule, working hours, and any date-specific overrides.",
34
+ input: ScheduleonceGetUserSchedulingAvailabilityInput,
35
+ output: ScheduleonceGetUserSchedulingAvailabilityOutput
36
+ });
37
+ //#endregion
38
+ exports.scheduleonceGetUserSchedulingAvailability = scheduleonceGetUserSchedulingAvailability;
39
+
40
+ //# sourceMappingURL=get-user-scheduling-availability.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-scheduling-availability.cjs","names":["z","action"],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetUserSchedulingAvailabilityInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n}).describe(\"Request model for getting user scheduling availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema: z.ZodTypeAny = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).describe(\"Model for working hours within a day.\");\nconst ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema: z.ZodTypeAny = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).describe(\"Model for a single day's schedule in the weekly availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).describe(\"Model for scheduling overrides on specific dates.\");\nexport const ScheduleonceGetUserSchedulingAvailabilityOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'user'\").nullable().optional(),\n weekly: z.array(ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema).describe(\"Weekly schedule containing availability for each day\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema).describe(\"List of specific date overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).describe(\"Response model for getting user scheduling availability.\");\n\nexport const scheduleonceGetUserSchedulingAvailability = action(\"SCHEDULEONCE_GET_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-get-user-scheduling-availability\",\n name: \"Get User Scheduling Availability\",\n description: \"Tool to get user scheduling availability from OnceHub. Use when you need to retrieve a user's weekly schedule, working hours, and any date-specific overrides.\",\n input: ScheduleonceGetUserSchedulingAvailabilityInput,\n output: ScheduleonceGetUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+DA,IAAAA,EAAE,OAAO,EACnF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,uEAAqFA,IAAAA,EAAE,OAAO;CAClG,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,+DAA6EA,IAAAA,EAAE,OAAO;CAC1F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAWA,IAAAA,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,iEAA+EA,IAAAA,EAAE,OAAO;CAC5F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,eAAeA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAmFA,IAAAA,EAAE,OAAO;CAChG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,kDAAgEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvJ,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,4CAA4CC,eAAAA,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user-scheduling-availability.d.ts
4
+ declare const ScheduleonceGetUserSchedulingAvailabilityInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetUserSchedulingAvailabilityOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetUserSchedulingAvailability };
9
+ //# sourceMappingURL=get-user-scheduling-availability.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-scheduling-availability.d.cts","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAEO;AAAA,cAkBzD,+CAAA,EAAiD,CAAA,CAAE,UAOO;AAAA,cAE1D,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-user-scheduling-availability.d.ts
4
+ declare const ScheduleonceGetUserSchedulingAvailabilityInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetUserSchedulingAvailabilityOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetUserSchedulingAvailability };
9
+ //# sourceMappingURL=get-user-scheduling-availability.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-scheduling-availability.d.mts","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"mappings":";;;cAIa,8CAAA,EAAgD,CAAA,CAAE,UAEO;AAAA,cAkBzD,+CAAA,EAAiD,CAAA,CAAE,UAOO;AAAA,cAE1D,yCAAA,gCAAyC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,39 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-user-scheduling-availability.ts
4
+ const ScheduleonceGetUserSchedulingAvailabilityInput = z.object({ id: z.string().describe("The unique identifier of the user (e.g., 'USR-GB59HWQCXF')") }).describe("Request model for getting user scheduling availability.");
5
+ const ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({
6
+ id: z.string().describe("Location identifier").nullable().optional(),
7
+ name: z.string().describe("Location name").nullable().optional()
8
+ }).describe("Model for a location associated with working hours.");
9
+ const ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema = z.object({
10
+ end_time: z.string().describe("End time in HH:MM format (24-hour, e.g., '17:00')").nullable().optional(),
11
+ locations: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema).describe("List of locations where the user is available during these hours").nullable().optional(),
12
+ start_time: z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')").nullable().optional()
13
+ }).describe("Model for working hours within a day.");
14
+ const ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema = z.object({
15
+ day: z.string().describe("Day of the week (e.g., 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')").nullable().optional(),
16
+ working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe("List of working hour blocks for this day").nullable().optional()
17
+ }).describe("Model for a single day's schedule in the weekly availability.");
18
+ const ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema = z.object({
19
+ date: z.string().describe("Date in YYYY-MM-DD format for the override").nullable().optional(),
20
+ working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe("List of working hour blocks for this specific date").nullable().optional()
21
+ }).describe("Model for scheduling overrides on specific dates.");
22
+ const scheduleonceGetUserSchedulingAvailability = action("SCHEDULEONCE_GET_USER_SCHEDULING_AVAILABILITY", {
23
+ slug: "scheduleonce-get-user-scheduling-availability",
24
+ name: "Get User Scheduling Availability",
25
+ description: "Tool to get user scheduling availability from OnceHub. Use when you need to retrieve a user's weekly schedule, working hours, and any date-specific overrides.",
26
+ input: ScheduleonceGetUserSchedulingAvailabilityInput,
27
+ output: z.object({
28
+ id: z.string().describe("Unique identifier for the user").nullable().optional(),
29
+ object: z.string().describe("The object type, always 'user'").nullable().optional(),
30
+ weekly: z.array(ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema).describe("Weekly schedule containing availability for each day").nullable().optional(),
31
+ timezone: z.string().describe("User's timezone setting").nullable().optional(),
32
+ overrides: z.array(ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema).describe("List of specific date overrides").nullable().optional(),
33
+ last_updated_time: z.string().describe("ISO 8601 timestamp when availability was last updated").nullable().optional()
34
+ }).describe("Response model for getting user scheduling availability.")
35
+ });
36
+ //#endregion
37
+ export { scheduleonceGetUserSchedulingAvailability };
38
+
39
+ //# sourceMappingURL=get-user-scheduling-availability.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-user-scheduling-availability.mjs","names":[],"sources":["../../src/actions/get-user-scheduling-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetUserSchedulingAvailabilityInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n}).describe(\"Request model for getting user scheduling availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema: z.ZodTypeAny = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).describe(\"Model for working hours within a day.\");\nconst ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema: z.ZodTypeAny = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday')\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).describe(\"Model for a single day's schedule in the weekly availability.\");\nconst ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceGetUserSchedulingAvailability_WorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).describe(\"Model for scheduling overrides on specific dates.\");\nexport const ScheduleonceGetUserSchedulingAvailabilityOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'user'\").nullable().optional(),\n weekly: z.array(ScheduleonceGetUserSchedulingAvailability_WeeklyScheduleSchema).describe(\"Weekly schedule containing availability for each day\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceGetUserSchedulingAvailability_SchedulingOverrideSchema).describe(\"List of specific date overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).describe(\"Response model for getting user scheduling availability.\");\n\nexport const scheduleonceGetUserSchedulingAvailability = action(\"SCHEDULEONCE_GET_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-get-user-scheduling-availability\",\n name: \"Get User Scheduling Availability\",\n description: \"Tool to get user scheduling availability from OnceHub. Use when you need to retrieve a user's weekly schedule, working hours, and any date-specific overrides.\",\n input: ScheduleonceGetUserSchedulingAvailabilityInput,\n output: ScheduleonceGetUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iDAA+D,EAAE,OAAO,EACnF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,EACtF,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,uEAAqF,EAAE,OAAO;CAClG,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,+DAA6E,EAAE,OAAO;CAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,WAAW,EAAE,MAAM,oEAAoE,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1L,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,iEAA+E,EAAE,OAAO;CAC5F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,eAAe,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAM,qEAAmF,EAAE,OAAO;CAChG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,MAAM,4DAA4D,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1K,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAU/D,MAAa,4CAA4C,OAAO,iDAAiD;CAC/G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd2E,EAAE,OAAO;EACpF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,QAAQ,EAAE,MAAM,8DAA8D,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,MAAM,kEAAkE,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvJ,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
@@ -0,0 +1,55 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_book_time_slot = require("./book-time-slot.cjs");
3
+ const require_cancel_booking = require("./cancel-booking.cjs");
4
+ const require_create_contact = require("./create-contact.cjs");
5
+ const require_create_one_time_link_for_booking_calendar = require("./create-one-time-link-for-booking-calendar.cjs");
6
+ const require_create_user = require("./create-user.cjs");
7
+ const require_delete_contact = require("./delete-contact.cjs");
8
+ const require_delete_user = require("./delete-user.cjs");
9
+ const require_get_available_time_slots = require("./get-available-time-slots.cjs");
10
+ const require_get_single_booking = require("./get-single-booking.cjs");
11
+ const require_get_single_booking_calendar = require("./get-single-booking-calendar.cjs");
12
+ const require_get_single_contact = require("./get-single-contact.cjs");
13
+ const require_get_single_master_page = require("./get-single-master-page.cjs");
14
+ const require_get_single_user = require("./get-single-user.cjs");
15
+ const require_get_user_scheduling_availability = require("./get-user-scheduling-availability.cjs");
16
+ const require_list_all_booking_calendars = require("./list-all-booking-calendars.cjs");
17
+ const require_list_all_booking_pages = require("./list-all-booking-pages.cjs");
18
+ const require_list_all_bookings = require("./list-all-bookings.cjs");
19
+ const require_list_all_contacts = require("./list-all-contacts.cjs");
20
+ const require_list_all_event_types = require("./list-all-event-types.cjs");
21
+ const require_list_all_master_pages = require("./list-all-master-pages.cjs");
22
+ const require_list_all_teams = require("./list-all-teams.cjs");
23
+ const require_list_all_users = require("./list-all-users.cjs");
24
+ const require_mark_booking_as_no_show = require("./mark-booking-as-no-show.cjs");
25
+ const require_test_api_key = require("./test-api-key.cjs");
26
+ const require_update_contact = require("./update-contact.cjs");
27
+ const require_update_user = require("./update-user.cjs");
28
+ const require_update_user_scheduling_availability = require("./update-user-scheduling-availability.cjs");
29
+ exports.scheduleonceBookTimeSlot = require_book_time_slot.scheduleonceBookTimeSlot;
30
+ exports.scheduleonceCancelBooking = require_cancel_booking.scheduleonceCancelBooking;
31
+ exports.scheduleonceCreateContact = require_create_contact.scheduleonceCreateContact;
32
+ exports.scheduleonceCreateOneTimeLinkForBookingCalendar = require_create_one_time_link_for_booking_calendar.scheduleonceCreateOneTimeLinkForBookingCalendar;
33
+ exports.scheduleonceCreateUser = require_create_user.scheduleonceCreateUser;
34
+ exports.scheduleonceDeleteContact = require_delete_contact.scheduleonceDeleteContact;
35
+ exports.scheduleonceDeleteUser = require_delete_user.scheduleonceDeleteUser;
36
+ exports.scheduleonceGetAvailableTimeSlots = require_get_available_time_slots.scheduleonceGetAvailableTimeSlots;
37
+ exports.scheduleonceGetSingleBooking = require_get_single_booking.scheduleonceGetSingleBooking;
38
+ exports.scheduleonceGetSingleBookingCalendar = require_get_single_booking_calendar.scheduleonceGetSingleBookingCalendar;
39
+ exports.scheduleonceGetSingleContact = require_get_single_contact.scheduleonceGetSingleContact;
40
+ exports.scheduleonceGetSingleMasterPage = require_get_single_master_page.scheduleonceGetSingleMasterPage;
41
+ exports.scheduleonceGetSingleUser = require_get_single_user.scheduleonceGetSingleUser;
42
+ exports.scheduleonceGetUserSchedulingAvailability = require_get_user_scheduling_availability.scheduleonceGetUserSchedulingAvailability;
43
+ exports.scheduleonceListAllBookingCalendars = require_list_all_booking_calendars.scheduleonceListAllBookingCalendars;
44
+ exports.scheduleonceListAllBookingPages = require_list_all_booking_pages.scheduleonceListAllBookingPages;
45
+ exports.scheduleonceListAllBookings = require_list_all_bookings.scheduleonceListAllBookings;
46
+ exports.scheduleonceListAllContacts = require_list_all_contacts.scheduleonceListAllContacts;
47
+ exports.scheduleonceListAllEventTypes = require_list_all_event_types.scheduleonceListAllEventTypes;
48
+ exports.scheduleonceListAllMasterPages = require_list_all_master_pages.scheduleonceListAllMasterPages;
49
+ exports.scheduleonceListAllTeams = require_list_all_teams.scheduleonceListAllTeams;
50
+ exports.scheduleonceListAllUsers = require_list_all_users.scheduleonceListAllUsers;
51
+ exports.scheduleonceMarkBookingAsNoShow = require_mark_booking_as_no_show.scheduleonceMarkBookingAsNoShow;
52
+ exports.scheduleonceTestApiKey = require_test_api_key.scheduleonceTestApiKey;
53
+ exports.scheduleonceUpdateContact = require_update_contact.scheduleonceUpdateContact;
54
+ exports.scheduleonceUpdateUser = require_update_user.scheduleonceUpdateUser;
55
+ exports.scheduleonceUpdateUserSchedulingAvailability = require_update_user_scheduling_availability.scheduleonceUpdateUserSchedulingAvailability;
@@ -0,0 +1,28 @@
1
+ import { scheduleonceBookTimeSlot } from "./book-time-slot.cjs";
2
+ import { scheduleonceCancelBooking } from "./cancel-booking.cjs";
3
+ import { scheduleonceCreateContact } from "./create-contact.cjs";
4
+ import { scheduleonceCreateOneTimeLinkForBookingCalendar } from "./create-one-time-link-for-booking-calendar.cjs";
5
+ import { scheduleonceCreateUser } from "./create-user.cjs";
6
+ import { scheduleonceDeleteContact } from "./delete-contact.cjs";
7
+ import { scheduleonceDeleteUser } from "./delete-user.cjs";
8
+ import { scheduleonceGetAvailableTimeSlots } from "./get-available-time-slots.cjs";
9
+ import { scheduleonceGetSingleBooking } from "./get-single-booking.cjs";
10
+ import { scheduleonceGetSingleBookingCalendar } from "./get-single-booking-calendar.cjs";
11
+ import { scheduleonceGetSingleContact } from "./get-single-contact.cjs";
12
+ import { scheduleonceGetSingleMasterPage } from "./get-single-master-page.cjs";
13
+ import { scheduleonceGetSingleUser } from "./get-single-user.cjs";
14
+ import { scheduleonceGetUserSchedulingAvailability } from "./get-user-scheduling-availability.cjs";
15
+ import { scheduleonceListAllBookingCalendars } from "./list-all-booking-calendars.cjs";
16
+ import { scheduleonceListAllBookingPages } from "./list-all-booking-pages.cjs";
17
+ import { scheduleonceListAllBookings } from "./list-all-bookings.cjs";
18
+ import { scheduleonceListAllContacts } from "./list-all-contacts.cjs";
19
+ import { scheduleonceListAllEventTypes } from "./list-all-event-types.cjs";
20
+ import { scheduleonceListAllMasterPages } from "./list-all-master-pages.cjs";
21
+ import { scheduleonceListAllTeams } from "./list-all-teams.cjs";
22
+ import { scheduleonceListAllUsers } from "./list-all-users.cjs";
23
+ import { scheduleonceMarkBookingAsNoShow } from "./mark-booking-as-no-show.cjs";
24
+ import { scheduleonceTestApiKey } from "./test-api-key.cjs";
25
+ import { scheduleonceUpdateContact } from "./update-contact.cjs";
26
+ import { scheduleonceUpdateUser } from "./update-user.cjs";
27
+ import { scheduleonceUpdateUserSchedulingAvailability } from "./update-user-scheduling-availability.cjs";
28
+ export { scheduleonceBookTimeSlot, scheduleonceCancelBooking, scheduleonceCreateContact, scheduleonceCreateOneTimeLinkForBookingCalendar, scheduleonceCreateUser, scheduleonceDeleteContact, scheduleonceDeleteUser, scheduleonceGetAvailableTimeSlots, scheduleonceGetSingleBooking, scheduleonceGetSingleBookingCalendar, scheduleonceGetSingleContact, scheduleonceGetSingleMasterPage, scheduleonceGetSingleUser, scheduleonceGetUserSchedulingAvailability, scheduleonceListAllBookingCalendars, scheduleonceListAllBookingPages, scheduleonceListAllBookings, scheduleonceListAllContacts, scheduleonceListAllEventTypes, scheduleonceListAllMasterPages, scheduleonceListAllTeams, scheduleonceListAllUsers, scheduleonceMarkBookingAsNoShow, scheduleonceTestApiKey, scheduleonceUpdateContact, scheduleonceUpdateUser, scheduleonceUpdateUserSchedulingAvailability };
@@ -0,0 +1,28 @@
1
+ import { scheduleonceBookTimeSlot } from "./book-time-slot.mjs";
2
+ import { scheduleonceCancelBooking } from "./cancel-booking.mjs";
3
+ import { scheduleonceCreateContact } from "./create-contact.mjs";
4
+ import { scheduleonceCreateOneTimeLinkForBookingCalendar } from "./create-one-time-link-for-booking-calendar.mjs";
5
+ import { scheduleonceCreateUser } from "./create-user.mjs";
6
+ import { scheduleonceDeleteContact } from "./delete-contact.mjs";
7
+ import { scheduleonceDeleteUser } from "./delete-user.mjs";
8
+ import { scheduleonceGetAvailableTimeSlots } from "./get-available-time-slots.mjs";
9
+ import { scheduleonceGetSingleBooking } from "./get-single-booking.mjs";
10
+ import { scheduleonceGetSingleBookingCalendar } from "./get-single-booking-calendar.mjs";
11
+ import { scheduleonceGetSingleContact } from "./get-single-contact.mjs";
12
+ import { scheduleonceGetSingleMasterPage } from "./get-single-master-page.mjs";
13
+ import { scheduleonceGetSingleUser } from "./get-single-user.mjs";
14
+ import { scheduleonceGetUserSchedulingAvailability } from "./get-user-scheduling-availability.mjs";
15
+ import { scheduleonceListAllBookingCalendars } from "./list-all-booking-calendars.mjs";
16
+ import { scheduleonceListAllBookingPages } from "./list-all-booking-pages.mjs";
17
+ import { scheduleonceListAllBookings } from "./list-all-bookings.mjs";
18
+ import { scheduleonceListAllContacts } from "./list-all-contacts.mjs";
19
+ import { scheduleonceListAllEventTypes } from "./list-all-event-types.mjs";
20
+ import { scheduleonceListAllMasterPages } from "./list-all-master-pages.mjs";
21
+ import { scheduleonceListAllTeams } from "./list-all-teams.mjs";
22
+ import { scheduleonceListAllUsers } from "./list-all-users.mjs";
23
+ import { scheduleonceMarkBookingAsNoShow } from "./mark-booking-as-no-show.mjs";
24
+ import { scheduleonceTestApiKey } from "./test-api-key.mjs";
25
+ import { scheduleonceUpdateContact } from "./update-contact.mjs";
26
+ import { scheduleonceUpdateUser } from "./update-user.mjs";
27
+ import { scheduleonceUpdateUserSchedulingAvailability } from "./update-user-scheduling-availability.mjs";
28
+ export { scheduleonceBookTimeSlot, scheduleonceCancelBooking, scheduleonceCreateContact, scheduleonceCreateOneTimeLinkForBookingCalendar, scheduleonceCreateUser, scheduleonceDeleteContact, scheduleonceDeleteUser, scheduleonceGetAvailableTimeSlots, scheduleonceGetSingleBooking, scheduleonceGetSingleBookingCalendar, scheduleonceGetSingleContact, scheduleonceGetSingleMasterPage, scheduleonceGetSingleUser, scheduleonceGetUserSchedulingAvailability, scheduleonceListAllBookingCalendars, scheduleonceListAllBookingPages, scheduleonceListAllBookings, scheduleonceListAllContacts, scheduleonceListAllEventTypes, scheduleonceListAllMasterPages, scheduleonceListAllTeams, scheduleonceListAllUsers, scheduleonceMarkBookingAsNoShow, scheduleonceTestApiKey, scheduleonceUpdateContact, scheduleonceUpdateUser, scheduleonceUpdateUserSchedulingAvailability };
@@ -0,0 +1,28 @@
1
+ import { scheduleonceBookTimeSlot } from "./book-time-slot.mjs";
2
+ import { scheduleonceCancelBooking } from "./cancel-booking.mjs";
3
+ import { scheduleonceCreateContact } from "./create-contact.mjs";
4
+ import { scheduleonceCreateOneTimeLinkForBookingCalendar } from "./create-one-time-link-for-booking-calendar.mjs";
5
+ import { scheduleonceCreateUser } from "./create-user.mjs";
6
+ import { scheduleonceDeleteContact } from "./delete-contact.mjs";
7
+ import { scheduleonceDeleteUser } from "./delete-user.mjs";
8
+ import { scheduleonceGetAvailableTimeSlots } from "./get-available-time-slots.mjs";
9
+ import { scheduleonceGetSingleBooking } from "./get-single-booking.mjs";
10
+ import { scheduleonceGetSingleBookingCalendar } from "./get-single-booking-calendar.mjs";
11
+ import { scheduleonceGetSingleContact } from "./get-single-contact.mjs";
12
+ import { scheduleonceGetSingleMasterPage } from "./get-single-master-page.mjs";
13
+ import { scheduleonceGetSingleUser } from "./get-single-user.mjs";
14
+ import { scheduleonceGetUserSchedulingAvailability } from "./get-user-scheduling-availability.mjs";
15
+ import { scheduleonceListAllBookingCalendars } from "./list-all-booking-calendars.mjs";
16
+ import { scheduleonceListAllBookingPages } from "./list-all-booking-pages.mjs";
17
+ import { scheduleonceListAllBookings } from "./list-all-bookings.mjs";
18
+ import { scheduleonceListAllContacts } from "./list-all-contacts.mjs";
19
+ import { scheduleonceListAllEventTypes } from "./list-all-event-types.mjs";
20
+ import { scheduleonceListAllMasterPages } from "./list-all-master-pages.mjs";
21
+ import { scheduleonceListAllTeams } from "./list-all-teams.mjs";
22
+ import { scheduleonceListAllUsers } from "./list-all-users.mjs";
23
+ import { scheduleonceMarkBookingAsNoShow } from "./mark-booking-as-no-show.mjs";
24
+ import { scheduleonceTestApiKey } from "./test-api-key.mjs";
25
+ import { scheduleonceUpdateContact } from "./update-contact.mjs";
26
+ import { scheduleonceUpdateUser } from "./update-user.mjs";
27
+ import { scheduleonceUpdateUserSchedulingAvailability } from "./update-user-scheduling-availability.mjs";
28
+ export { scheduleonceBookTimeSlot, scheduleonceCancelBooking, scheduleonceCreateContact, scheduleonceCreateOneTimeLinkForBookingCalendar, scheduleonceCreateUser, scheduleonceDeleteContact, scheduleonceDeleteUser, scheduleonceGetAvailableTimeSlots, scheduleonceGetSingleBooking, scheduleonceGetSingleBookingCalendar, scheduleonceGetSingleContact, scheduleonceGetSingleMasterPage, scheduleonceGetSingleUser, scheduleonceGetUserSchedulingAvailability, scheduleonceListAllBookingCalendars, scheduleonceListAllBookingPages, scheduleonceListAllBookings, scheduleonceListAllContacts, scheduleonceListAllEventTypes, scheduleonceListAllMasterPages, scheduleonceListAllTeams, scheduleonceListAllUsers, scheduleonceMarkBookingAsNoShow, scheduleonceTestApiKey, scheduleonceUpdateContact, scheduleonceUpdateUser, scheduleonceUpdateUserSchedulingAvailability };
@@ -0,0 +1,30 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-all-booking-calendars.ts
4
+ const ScheduleonceListAllBookingCalendarsInput = zod.z.object({
5
+ after: zod.z.string().describe("Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.").optional(),
6
+ limit: zod.z.number().int().describe("Number of objects to return, between 1-100. Default is 10.").optional(),
7
+ before: zod.z.string().describe("Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.").optional()
8
+ }).describe("Request model for listing all booking calendars in the account.");
9
+ const ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema = zod.z.object({
10
+ id: zod.z.string().describe("Unique identifier for the booking calendar").nullable().optional(),
11
+ url: zod.z.string().describe("Public booking URL for the calendar").nullable().optional(),
12
+ host: zod.z.string().describe("User ID of the calendar host/owner").nullable().optional(),
13
+ name: zod.z.string().describe("Internal name for the booking calendar").nullable().optional(),
14
+ object: zod.z.string().describe("Object type, always 'booking_calendar'").nullable().optional(),
15
+ subject: zod.z.string().describe("Customer-facing title/subject line for the booking calendar").nullable().optional(),
16
+ published: zod.z.boolean().describe("Indicates if the calendar is active/published and available for bookings").nullable().optional(),
17
+ duration_minutes: zod.z.number().int().describe("Default meeting duration in minutes").nullable().optional()
18
+ }).describe("Model for a booking calendar object.");
19
+ const ScheduleonceListAllBookingCalendarsOutput = zod.z.object({ data: zod.z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe("Array of booking calendar objects") }).describe("Response model for listing all booking calendars.");
20
+ const scheduleonceListAllBookingCalendars = require_action.action("SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS", {
21
+ slug: "scheduleonce-list-all-booking-calendars",
22
+ name: "List All Booking Calendars",
23
+ description: "Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.",
24
+ input: ScheduleonceListAllBookingCalendarsInput,
25
+ output: ScheduleonceListAllBookingCalendarsOutput
26
+ });
27
+ //#endregion
28
+ exports.scheduleonceListAllBookingCalendars = scheduleonceListAllBookingCalendars;
29
+
30
+ //# sourceMappingURL=list-all-booking-calendars.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-booking-calendars.cjs","names":["z","action"],"sources":["../../src/actions/list-all-booking-calendars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingCalendarsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking calendars in the account.\");\nconst ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar\").nullable().optional(),\n url: z.string().describe(\"Public booking URL for the calendar\").nullable().optional(),\n host: z.string().describe(\"User ID of the calendar host/owner\").nullable().optional(),\n name: z.string().describe(\"Internal name for the booking calendar\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_calendar'\").nullable().optional(),\n subject: z.string().describe(\"Customer-facing title/subject line for the booking calendar\").nullable().optional(),\n published: z.boolean().describe(\"Indicates if the calendar is active/published and available for bookings\").nullable().optional(),\n duration_minutes: z.number().int().describe(\"Default meeting duration in minutes\").nullable().optional(),\n}).describe(\"Model for a booking calendar object.\");\nexport const ScheduleonceListAllBookingCalendarsOutput: z.ZodTypeAny = z.object({\n data: z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe(\"Array of booking calendar objects\"),\n}).describe(\"Response model for listing all booking calendars.\");\n\nexport const scheduleonceListAllBookingCalendars = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS\", {\n slug: \"scheduleonce-list-all-booking-calendars\",\n name: \"List All Booking Calendars\",\n description: \"Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingCalendarsInput,\n output: ScheduleonceListAllBookingCalendarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyDA,IAAAA,EAAE,OAAO;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kEAAgFA,IAAAA,EAAE,OAAO;CAC7F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,4CAA0DA,IAAAA,EAAE,OAAO,EAC9E,MAAMA,IAAAA,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,mCAAmC,EAC7H,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,sCAAsCC,eAAAA,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-all-booking-calendars.d.ts
4
+ declare const ScheduleonceListAllBookingCalendarsInput: z.ZodTypeAny;
5
+ declare const ScheduleonceListAllBookingCalendarsOutput: z.ZodTypeAny;
6
+ declare const scheduleonceListAllBookingCalendars: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceListAllBookingCalendars };
9
+ //# sourceMappingURL=list-all-booking-calendars.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-booking-calendars.d.cts","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAIqB;AAAA,cAWjE,yCAAA,EAA2C,CAAA,CAAE,UAEM;AAAA,cAEnD,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/list-all-booking-calendars.d.ts
4
+ declare const ScheduleonceListAllBookingCalendarsInput: z.ZodTypeAny;
5
+ declare const ScheduleonceListAllBookingCalendarsOutput: z.ZodTypeAny;
6
+ declare const scheduleonceListAllBookingCalendars: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceListAllBookingCalendars };
9
+ //# sourceMappingURL=list-all-booking-calendars.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-booking-calendars.d.mts","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"mappings":";;;cAIa,wCAAA,EAA0C,CAAA,CAAE,UAIqB;AAAA,cAWjE,yCAAA,EAA2C,CAAA,CAAE,UAEM;AAAA,cAEnD,mCAAA,gCAAmC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,29 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/list-all-booking-calendars.ts
4
+ const ScheduleonceListAllBookingCalendarsInput = z.object({
5
+ after: z.string().describe("Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.").optional(),
6
+ limit: z.number().int().describe("Number of objects to return, between 1-100. Default is 10.").optional(),
7
+ before: z.string().describe("Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.").optional()
8
+ }).describe("Request model for listing all booking calendars in the account.");
9
+ const ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema = z.object({
10
+ id: z.string().describe("Unique identifier for the booking calendar").nullable().optional(),
11
+ url: z.string().describe("Public booking URL for the calendar").nullable().optional(),
12
+ host: z.string().describe("User ID of the calendar host/owner").nullable().optional(),
13
+ name: z.string().describe("Internal name for the booking calendar").nullable().optional(),
14
+ object: z.string().describe("Object type, always 'booking_calendar'").nullable().optional(),
15
+ subject: z.string().describe("Customer-facing title/subject line for the booking calendar").nullable().optional(),
16
+ published: z.boolean().describe("Indicates if the calendar is active/published and available for bookings").nullable().optional(),
17
+ duration_minutes: z.number().int().describe("Default meeting duration in minutes").nullable().optional()
18
+ }).describe("Model for a booking calendar object.");
19
+ const scheduleonceListAllBookingCalendars = action("SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS", {
20
+ slug: "scheduleonce-list-all-booking-calendars",
21
+ name: "List All Booking Calendars",
22
+ description: "Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.",
23
+ input: ScheduleonceListAllBookingCalendarsInput,
24
+ output: z.object({ data: z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe("Array of booking calendar objects") }).describe("Response model for listing all booking calendars.")
25
+ });
26
+ //#endregion
27
+ export { scheduleonceListAllBookingCalendars };
28
+
29
+ //# sourceMappingURL=list-all-booking-calendars.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-booking-calendars.mjs","names":[],"sources":["../../src/actions/list-all-booking-calendars.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingCalendarsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking calendars in the account.\");\nconst ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar\").nullable().optional(),\n url: z.string().describe(\"Public booking URL for the calendar\").nullable().optional(),\n host: z.string().describe(\"User ID of the calendar host/owner\").nullable().optional(),\n name: z.string().describe(\"Internal name for the booking calendar\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_calendar'\").nullable().optional(),\n subject: z.string().describe(\"Customer-facing title/subject line for the booking calendar\").nullable().optional(),\n published: z.boolean().describe(\"Indicates if the calendar is active/published and available for bookings\").nullable().optional(),\n duration_minutes: z.number().int().describe(\"Default meeting duration in minutes\").nullable().optional(),\n}).describe(\"Model for a booking calendar object.\");\nexport const ScheduleonceListAllBookingCalendarsOutput: z.ZodTypeAny = z.object({\n data: z.array(ScheduleonceListAllBookingCalendars_BookingCalendarObjectSchema).describe(\"Array of booking calendar objects\"),\n}).describe(\"Response model for listing all booking calendars.\");\n\nexport const scheduleonceListAllBookingCalendars = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_CALENDARS\", {\n slug: \"scheduleonce-list-all-booking-calendars\",\n name: \"List All Booking Calendars\",\n description: \"Tool to list all booking calendars in the account. Use when you need to retrieve all booking calendars with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingCalendarsInput,\n output: ScheduleonceListAllBookingCalendarsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2CAAyD,EAAE,OAAO;CAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,kEAAgF,EAAE,OAAO;CAC7F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAKlD,MAAa,sCAAsC,OAAO,2CAA2C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATqE,EAAE,OAAO,EAC9E,MAAM,EAAE,MAAM,+DAA+D,CAAC,CAAC,SAAS,mCAAmC,EAC7H,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/list-all-booking-pages.ts
4
+ const ScheduleonceListAllBookingPagesInput = zod.z.object({
5
+ after: zod.z.string().describe("Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.").optional(),
6
+ limit: zod.z.number().int().describe("Number of objects to return, between 1-100. Default is 10.").optional(),
7
+ before: zod.z.string().describe("Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.").optional()
8
+ }).describe("Request model for listing all booking pages in the account.");
9
+ const ScheduleonceListAllBookingPages_BookingPageObjectSchema = zod.z.object({
10
+ id: zod.z.string().describe("Unique identifier for the booking page").nullable().optional(),
11
+ url: zod.z.string().describe("Public URL for the booking page").nullable().optional(),
12
+ name: zod.z.string().describe("Customer-facing name of the booking page").nullable().optional(),
13
+ label: zod.z.string().describe("Internal label for the booking page").nullable().optional(),
14
+ active: zod.z.boolean().describe("Indicates whether the booking page is enabled to receive bookings").nullable().optional(),
15
+ object: zod.z.string().describe("Object type, always 'booking_page'").nullable().optional(),
16
+ timezone: zod.z.string().describe("Timezone setting for the booking page").nullable().optional()
17
+ }).describe("Model for a booking page object.");
18
+ const ScheduleonceListAllBookingPagesOutput = zod.z.object({ data: zod.z.array(ScheduleonceListAllBookingPages_BookingPageObjectSchema).describe("Array of booking page objects") }).describe("Response model for listing all booking pages.");
19
+ const scheduleonceListAllBookingPages = require_action.action("SCHEDULEONCE_LIST_ALL_BOOKING_PAGES", {
20
+ slug: "scheduleonce-list-all-booking-pages",
21
+ name: "List All Booking Pages",
22
+ description: "Tool to list all booking pages in the account. Use when you need to retrieve all booking pages with optional cursor-based pagination.",
23
+ input: ScheduleonceListAllBookingPagesInput,
24
+ output: ScheduleonceListAllBookingPagesOutput
25
+ });
26
+ //#endregion
27
+ exports.scheduleonceListAllBookingPages = scheduleonceListAllBookingPages;
28
+
29
+ //# sourceMappingURL=list-all-booking-pages.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"list-all-booking-pages.cjs","names":["z","action"],"sources":["../../src/actions/list-all-booking-pages.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceListAllBookingPagesInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Object ID for cursor-based pagination. Returns objects after this ID in reverse chronological order. Mutually exclusive with 'before'.\").optional(),\n limit: z.number().int().describe(\"Number of objects to return, between 1-100. Default is 10.\").optional(),\n before: z.string().describe(\"Object ID for cursor-based pagination. Returns objects before this ID in reverse chronological order. Mutually exclusive with 'after'.\").optional(),\n}).describe(\"Request model for listing all booking pages in the account.\");\nconst ScheduleonceListAllBookingPages_BookingPageObjectSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the booking page\").nullable().optional(),\n url: z.string().describe(\"Public URL for the booking page\").nullable().optional(),\n name: z.string().describe(\"Customer-facing name of the booking page\").nullable().optional(),\n label: z.string().describe(\"Internal label for the booking page\").nullable().optional(),\n active: z.boolean().describe(\"Indicates whether the booking page is enabled to receive bookings\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking_page'\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting for the booking page\").nullable().optional(),\n}).describe(\"Model for a booking page object.\");\nexport const ScheduleonceListAllBookingPagesOutput: z.ZodTypeAny = z.object({\n data: z.array(ScheduleonceListAllBookingPages_BookingPageObjectSchema).describe(\"Array of booking page objects\"),\n}).describe(\"Response model for listing all booking pages.\");\n\nexport const scheduleonceListAllBookingPages = action(\"SCHEDULEONCE_LIST_ALL_BOOKING_PAGES\", {\n slug: \"scheduleonce-list-all-booking-pages\",\n name: \"List All Booking Pages\",\n description: \"Tool to list all booking pages in the account. Use when you need to retrieve all booking pages with optional cursor-based pagination.\",\n input: ScheduleonceListAllBookingPagesInput,\n output: ScheduleonceListAllBookingPagesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CAC9K,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,MAAMA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,+BAA+B,EACjH,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}