@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 @@
1
+ {"version":3,"file":"get-available-time-slots.d.cts","names":[],"sources":["../../src/actions/get-available-time-slots.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIiC;AAAA,cAU3E,uCAAA,EAAyC,CAAA,CAAE,UAEuC;AAAA,cAElF,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-available-time-slots.d.ts
4
+ declare const ScheduleonceGetAvailableTimeSlotsInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetAvailableTimeSlotsOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetAvailableTimeSlots: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetAvailableTimeSlots };
9
+ //# sourceMappingURL=get-available-time-slots.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-available-time-slots.d.mts","names":[],"sources":["../../src/actions/get-available-time-slots.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAIiC;AAAA,cAU3E,uCAAA,EAAyC,CAAA,CAAE,UAEuC;AAAA,cAElF,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-available-time-slots.ts
4
+ const ScheduleonceGetAvailableTimeSlotsInput = z.object({
5
+ id: z.string().describe("The ID of the booking calendar to query for available time slots. Format: 'BKC-' followed by alphanumeric string (e.g., 'BKC-ZK6W94KE6W')"),
6
+ end_time: z.string().describe("The end of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-29T23:59:59Z'). Must be within 30 days of start_time."),
7
+ start_time: z.string().describe("The beginning of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-22T00:00:00Z'). Cannot be more than 30 days before end_time.")
8
+ }).describe("Request model for retrieving available time slots for a booking calendar.");
9
+ const ScheduleonceGetAvailableTimeSlots_LocationSchema = z.object({
10
+ id: z.string().describe("Optional ID of the location").nullable().optional(),
11
+ type: z.string().describe("Type of meeting location (e.g., 'phone', 'video', 'in_person')").nullable().optional(),
12
+ value: z.string().describe("Location value (e.g., 'google_meet', 'zoom', phone number)").nullable().optional()
13
+ }).describe("Model for meeting location details.");
14
+ const ScheduleonceGetAvailableTimeSlots_TimeSlotSchema = z.object({
15
+ locations: z.array(ScheduleonceGetAvailableTimeSlots_LocationSchema).describe("Meeting location details for this time slot").nullable().optional(),
16
+ start_time: z.string().describe("ISO 8601 formatted start time of the available slot in UTC (e.g., '2024-11-29T09:30:00.000Z')").nullable().optional()
17
+ }).describe("Model for an individual time slot.");
18
+ const scheduleonceGetAvailableTimeSlots = action("SCHEDULEONCE_GET_AVAILABLE_TIME_SLOTS", {
19
+ slug: "scheduleonce-get-available-time-slots",
20
+ name: "Get Available Time Slots",
21
+ description: "Tool to retrieve available time slots for a booking calendar from OnceHub. Use when you need to check availability for scheduling appointments within a specific date range (maximum 30 days). Returns real-time availability based on booking rules and participant calendars.",
22
+ input: ScheduleonceGetAvailableTimeSlotsInput,
23
+ output: z.object({ slots: z.array(ScheduleonceGetAvailableTimeSlots_TimeSlotSchema).describe("Array of available time slot objects with start times and locations") }).describe("Response model for available time slots.\nReturns an array of time slot objects.")
24
+ });
25
+ //#endregion
26
+ export { scheduleonceGetAvailableTimeSlots };
27
+
28
+ //# sourceMappingURL=get-available-time-slots.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-available-time-slots.mjs","names":[],"sources":["../../src/actions/get-available-time-slots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetAvailableTimeSlotsInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the booking calendar to query for available time slots. Format: 'BKC-' followed by alphanumeric string (e.g., 'BKC-ZK6W94KE6W')\"),\n end_time: z.string().describe(\"The end of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-29T23:59:59Z'). Must be within 30 days of start_time.\"),\n start_time: z.string().describe(\"The beginning of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-22T00:00:00Z'). Cannot be more than 30 days before end_time.\"),\n}).describe(\"Request model for retrieving available time slots for a booking calendar.\");\nconst ScheduleonceGetAvailableTimeSlots_LocationSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Optional ID of the location\").nullable().optional(),\n type: z.string().describe(\"Type of meeting location (e.g., 'phone', 'video', 'in_person')\").nullable().optional(),\n value: z.string().describe(\"Location value (e.g., 'google_meet', 'zoom', phone number)\").nullable().optional(),\n}).describe(\"Model for meeting location details.\");\nconst ScheduleonceGetAvailableTimeSlots_TimeSlotSchema: z.ZodTypeAny = z.object({\n locations: z.array(ScheduleonceGetAvailableTimeSlots_LocationSchema).describe(\"Meeting location details for this time slot\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 formatted start time of the available slot in UTC (e.g., '2024-11-29T09:30:00.000Z')\").nullable().optional(),\n}).describe(\"Model for an individual time slot.\");\nexport const ScheduleonceGetAvailableTimeSlotsOutput: z.ZodTypeAny = z.object({\n slots: z.array(ScheduleonceGetAvailableTimeSlots_TimeSlotSchema).describe(\"Array of available time slot objects with start times and locations\"),\n}).describe(\"Response model for available time slots.\\nReturns an array of time slot objects.\");\n\nexport const scheduleonceGetAvailableTimeSlots = action(\"SCHEDULEONCE_GET_AVAILABLE_TIME_SLOTS\", {\n slug: \"scheduleonce-get-available-time-slots\",\n name: \"Get Available Time Slots\",\n description: \"Tool to retrieve available time slots for a booking calendar from OnceHub. Use when you need to check availability for scheduling appointments within a specific date range (maximum 30 days). Returns real-time availability based on booking rules and participant calendars.\",\n input: ScheduleonceGetAvailableTimeSlotsInput,\n output: ScheduleonceGetAvailableTimeSlotsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yCAAuD,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACnK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uMAAuM;CACrO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oNAAoN;AACtP,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mDAAiE,EAAE,OAAO;CAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,mDAAiE,EAAE,OAAO;CAC9E,WAAW,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAKhD,MAAa,oCAAoC,OAAO,yCAAyC;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmE,EAAE,OAAO,EAC5E,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qEAAqE,EACjJ,CAAC,CAAC,CAAC,SAAS,kFAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-single-booking-calendar.ts
4
+ const ScheduleonceGetSingleBookingCalendarInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the booking calendar to retrieve (e.g., 'BKC-ZK6W94KE6W' or 'BKC-LDJ878496X')") }).describe("Request model for retrieving a single booking calendar by ID.");
5
+ const ScheduleonceGetSingleBookingCalendarOutput = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the booking calendar (e.g., 'BKC-LDJ878496X')"),
7
+ url: zod.z.string().describe("The booking URL for the calendar (e.g., 'https://oncehub.com/gilad15')"),
8
+ host: zod.z.string().describe("User ID of the user who will receive bookings (e.g., 'USR-HYPGJXN3A8'). Can be expanded to full user object with ?expand=owner"),
9
+ name: zod.z.string().describe("Internal name for the booking calendar"),
10
+ object: zod.z.string().describe("Object type, always 'booking_calendar'"),
11
+ subject: zod.z.string().describe("Customer-facing name/title of the meeting"),
12
+ published: zod.z.boolean().describe("Indicates whether the booking calendar is published/active"),
13
+ duration_minutes: zod.z.number().int().describe("Meeting duration in minutes (e.g., 30)")
14
+ }).describe("Response model for a single booking calendar.");
15
+ const scheduleonceGetSingleBookingCalendar = require_action.action("SCHEDULEONCE_GET_SINGLE_BOOKING_CALENDAR", {
16
+ slug: "scheduleonce-get-single-booking-calendar",
17
+ name: "Get Single Booking Calendar",
18
+ description: "Tool to retrieve a single booking calendar by ID from OnceHub. Use when you need to fetch detailed information about a specific booking calendar including its subject, name, URL, host, published status, and duration.",
19
+ input: ScheduleonceGetSingleBookingCalendarInput,
20
+ output: ScheduleonceGetSingleBookingCalendarOutput
21
+ });
22
+ //#endregion
23
+ exports.scheduleonceGetSingleBookingCalendar = scheduleonceGetSingleBookingCalendar;
24
+
25
+ //# sourceMappingURL=get-single-booking-calendar.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking-calendar.cjs","names":["z","action"],"sources":["../../src/actions/get-single-booking-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleBookingCalendarInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to retrieve (e.g., 'BKC-ZK6W94KE6W' or 'BKC-LDJ878496X')\"),\n}).describe(\"Request model for retrieving a single booking calendar by ID.\");\nexport const ScheduleonceGetSingleBookingCalendarOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar (e.g., 'BKC-LDJ878496X')\"),\n url: z.string().describe(\"The booking URL for the calendar (e.g., 'https://oncehub.com/gilad15')\"),\n host: z.string().describe(\"User ID of the user who will receive bookings (e.g., 'USR-HYPGJXN3A8'). Can be expanded to full user object with ?expand=owner\"),\n name: z.string().describe(\"Internal name for the booking calendar\"),\n object: z.string().describe(\"Object type, always 'booking_calendar'\"),\n subject: z.string().describe(\"Customer-facing name/title of the meeting\"),\n published: z.boolean().describe(\"Indicates whether the booking calendar is published/active\"),\n duration_minutes: z.number().int().describe(\"Meeting duration in minutes (e.g., 30)\"),\n}).describe(\"Response model for a single booking calendar.\");\n\nexport const scheduleonceGetSingleBookingCalendar = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-get-single-booking-calendar\",\n name: \"Get Single Booking Calendar\",\n description: \"Tool to retrieve a single booking calendar by ID from OnceHub. Use when you need to fetch detailed information about a specific booking calendar including its subject, name, URL, host, published status, and duration.\",\n input: ScheduleonceGetSingleBookingCalendarInput,\n output: ScheduleonceGetSingleBookingCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO,EAC9E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,EAClI,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,6CAA2DA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;CAC7F,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACjG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CAC1J,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;CACxE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;CAC5F,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;AACtF,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAE3D,MAAa,uCAAuCC,eAAAA,OAAO,4CAA4C;CACrG,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-booking-calendar.d.ts
4
+ declare const ScheduleonceGetSingleBookingCalendarInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleBookingCalendarOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleBookingCalendar: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleBookingCalendar };
9
+ //# sourceMappingURL=get-single-booking-calendar.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking-calendar.d.cts","names":[],"sources":["../../src/actions/get-single-booking-calendar.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEkB;AAAA,cAC/D,0CAAA,EAA4C,CAAA,CAAE,UASC;AAAA,cAE/C,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-booking-calendar.d.ts
4
+ declare const ScheduleonceGetSingleBookingCalendarInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleBookingCalendarOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleBookingCalendar: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleBookingCalendar };
9
+ //# sourceMappingURL=get-single-booking-calendar.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking-calendar.d.mts","names":[],"sources":["../../src/actions/get-single-booking-calendar.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEkB;AAAA,cAC/D,0CAAA,EAA4C,CAAA,CAAE,UASC;AAAA,cAE/C,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,22 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scheduleonceGetSingleBookingCalendar = action("SCHEDULEONCE_GET_SINGLE_BOOKING_CALENDAR", {
4
+ slug: "scheduleonce-get-single-booking-calendar",
5
+ name: "Get Single Booking Calendar",
6
+ description: "Tool to retrieve a single booking calendar by ID from OnceHub. Use when you need to fetch detailed information about a specific booking calendar including its subject, name, URL, host, published status, and duration.",
7
+ input: z.object({ id: z.string().describe("The unique identifier of the booking calendar to retrieve (e.g., 'BKC-ZK6W94KE6W' or 'BKC-LDJ878496X')") }).describe("Request model for retrieving a single booking calendar by ID."),
8
+ output: z.object({
9
+ id: z.string().describe("Unique identifier for the booking calendar (e.g., 'BKC-LDJ878496X')"),
10
+ url: z.string().describe("The booking URL for the calendar (e.g., 'https://oncehub.com/gilad15')"),
11
+ host: z.string().describe("User ID of the user who will receive bookings (e.g., 'USR-HYPGJXN3A8'). Can be expanded to full user object with ?expand=owner"),
12
+ name: z.string().describe("Internal name for the booking calendar"),
13
+ object: z.string().describe("Object type, always 'booking_calendar'"),
14
+ subject: z.string().describe("Customer-facing name/title of the meeting"),
15
+ published: z.boolean().describe("Indicates whether the booking calendar is published/active"),
16
+ duration_minutes: z.number().int().describe("Meeting duration in minutes (e.g., 30)")
17
+ }).describe("Response model for a single booking calendar.")
18
+ });
19
+ //#endregion
20
+ export { scheduleonceGetSingleBookingCalendar };
21
+
22
+ //# sourceMappingURL=get-single-booking-calendar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking-calendar.mjs","names":[],"sources":["../../src/actions/get-single-booking-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleBookingCalendarInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to retrieve (e.g., 'BKC-ZK6W94KE6W' or 'BKC-LDJ878496X')\"),\n}).describe(\"Request model for retrieving a single booking calendar by ID.\");\nexport const ScheduleonceGetSingleBookingCalendarOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the booking calendar (e.g., 'BKC-LDJ878496X')\"),\n url: z.string().describe(\"The booking URL for the calendar (e.g., 'https://oncehub.com/gilad15')\"),\n host: z.string().describe(\"User ID of the user who will receive bookings (e.g., 'USR-HYPGJXN3A8'). Can be expanded to full user object with ?expand=owner\"),\n name: z.string().describe(\"Internal name for the booking calendar\"),\n object: z.string().describe(\"Object type, always 'booking_calendar'\"),\n subject: z.string().describe(\"Customer-facing name/title of the meeting\"),\n published: z.boolean().describe(\"Indicates whether the booking calendar is published/active\"),\n duration_minutes: z.number().int().describe(\"Meeting duration in minutes (e.g., 30)\"),\n}).describe(\"Response model for a single booking calendar.\");\n\nexport const scheduleonceGetSingleBookingCalendar = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-get-single-booking-calendar\",\n name: \"Get Single Booking Calendar\",\n description: \"Tool to retrieve a single booking calendar by ID from OnceHub. Use when you need to fetch detailed information about a specific booking calendar including its subject, name, URL, host, published status, and duration.\",\n input: ScheduleonceGetSingleBookingCalendarInput,\n output: ScheduleonceGetSingleBookingCalendarOutput,\n});\n"],"mappings":";;AAkBA,MAAa,uCAAuC,OAAO,4CAA4C;CACrG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBqE,EAAE,OAAO,EAC9E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,EAClI,CAAC,CAAC,CAAC,SAAS,+DAgBH;CACP,QAhBsE,EAAE,OAAO;EAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EAC7F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACjG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;EAC1J,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACxE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,4DAA4D;EAC5F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CACtF,CAAC,CAAC,CAAC,SAAS,+CAOF;AACV,CAAC"}
@@ -0,0 +1,60 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-single-booking.ts
4
+ const ScheduleonceGetSingleBookingInput = zod.z.object({
5
+ id: zod.z.string().describe("The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')"),
6
+ expand: zod.z.string().describe("Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.").optional()
7
+ }).describe("Request model for retrieving a single booking by ID.");
8
+ const ScheduleonceGetSingleBooking_CustomFieldSchema = zod.z.object({
9
+ name: zod.z.string().describe("Custom field name"),
10
+ value: zod.z.string().describe("Custom field value").nullable().optional()
11
+ }).describe("Model for custom field data.");
12
+ const ScheduleonceGetSingleBooking_FormSubmissionSchema = zod.z.object({
13
+ name: zod.z.string().describe("Customer's full name").nullable().optional(),
14
+ note: zod.z.string().describe("Customer's note or message").nullable().optional(),
15
+ email: zod.z.string().describe("Customer's email address").nullable().optional(),
16
+ phone: zod.z.string().describe("Customer's phone number").nullable().optional(),
17
+ guests: zod.z.array(zod.z.string()).describe("List of guest email addresses").nullable().optional(),
18
+ company: zod.z.string().describe("Customer's company name").nullable().optional(),
19
+ mobile_phone: zod.z.string().describe("Customer's mobile phone number").nullable().optional(),
20
+ custom_fields: zod.z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe("Array of custom field objects").nullable().optional()
21
+ }).describe("Model for customer information collected via booking form.");
22
+ const ScheduleonceGetSingleBooking_VirtualConferencingSchema = zod.z.object({ join_url: zod.z.string().describe("URL to join the virtual meeting").nullable().optional() }).describe("Model for virtual meeting details.");
23
+ const ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema = zod.z.object({
24
+ reason: zod.z.string().describe("Reason for cancellation or reschedule").nullable().optional(),
25
+ user_id: zod.z.string().describe("User ID who performed the action").nullable().optional(),
26
+ actioned_by: zod.z.string().describe("Who initiated the action (e.g., 'user')").nullable().optional()
27
+ }).describe("Model for cancellation or rescheduling information.");
28
+ const ScheduleonceGetSingleBookingOutput = zod.z.object({
29
+ id: zod.z.string().describe("The booking identifier"),
30
+ owner: zod.z.string().describe("User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded").nullable().optional(),
31
+ object: zod.z.string().describe("The object type, always 'booking'"),
32
+ status: zod.z.string().describe("Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'").nullable().optional(),
33
+ subject: zod.z.string().describe("The booking subject/title").nullable().optional(),
34
+ attendees: zod.z.array(zod.z.string()).describe("List of attendee email addresses").nullable().optional(),
35
+ event_type: zod.z.string().describe("Event type ID or full object if expanded").nullable().optional(),
36
+ master_page: zod.z.string().describe("Master page ID or full object if expanded").nullable().optional(),
37
+ tracking_id: zod.z.string().describe("Tracking identifier").nullable().optional(),
38
+ booking_page: zod.z.string().describe("Booking page ID or full object if expanded").nullable().optional(),
39
+ creation_time: zod.z.string().describe("ISO 8601 timestamp when the booking was created").nullable().optional(),
40
+ starting_time: zod.z.string().describe("ISO 8601 timestamp for the scheduled start time").nullable().optional(),
41
+ form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),
42
+ duration_minutes: zod.z.number().int().describe("Length of the booking in minutes").nullable().optional(),
43
+ customer_timezone: zod.z.string().describe("IANA timezone identifier for customer's location (e.g., 'America/New_York')").nullable().optional(),
44
+ last_updated_time: zod.z.string().describe("ISO 8601 timestamp of the last modification").nullable().optional(),
45
+ location_description: zod.z.string().describe("Physical location description").nullable().optional(),
46
+ virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),
47
+ rescheduled_booking_id: zod.z.string().describe("ID of the rescheduled booking if applicable").nullable().optional(),
48
+ cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional()
49
+ }).describe("Response model for a single booking.");
50
+ const scheduleonceGetSingleBooking = require_action.action("SCHEDULEONCE_GET_SINGLE_BOOKING", {
51
+ slug: "scheduleonce-get-single-booking",
52
+ name: "Get Single Booking",
53
+ description: "Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.",
54
+ input: ScheduleonceGetSingleBookingInput,
55
+ output: ScheduleonceGetSingleBookingOutput
56
+ });
57
+ //#endregion
58
+ exports.scheduleonceGetSingleBooking = scheduleonceGetSingleBooking;
59
+
60
+ //# sourceMappingURL=get-single-booking.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking.cjs","names":["z","action"],"sources":["../../src/actions/get-single-booking.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleBookingInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.\").optional(),\n}).describe(\"Request model for retrieving a single booking by ID.\");\nconst ScheduleonceGetSingleBooking_CustomFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Custom field name\"),\n value: z.string().describe(\"Custom field value\").nullable().optional(),\n}).describe(\"Model for custom field data.\");\nconst ScheduleonceGetSingleBooking_FormSubmissionSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Customer's full name\").nullable().optional(),\n note: z.string().describe(\"Customer's note or message\").nullable().optional(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n guests: z.array(z.string()).describe(\"List of guest email addresses\").nullable().optional(),\n company: z.string().describe(\"Customer's company name\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe(\"Array of custom field objects\").nullable().optional(),\n}).describe(\"Model for customer information collected via booking form.\");\nconst ScheduleonceGetSingleBooking_VirtualConferencingSchema: z.ZodTypeAny = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting\").nullable().optional(),\n}).describe(\"Model for virtual meeting details.\");\nconst ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Reason for cancellation or reschedule\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action\").nullable().optional(),\n actioned_by: z.string().describe(\"Who initiated the action (e.g., 'user')\").nullable().optional(),\n}).describe(\"Model for cancellation or rescheduling information.\");\nexport const ScheduleonceGetSingleBookingOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The booking identifier\"),\n owner: z.string().describe(\"User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'booking'\"),\n status: z.string().describe(\"Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'\").nullable().optional(),\n subject: z.string().describe(\"The booking subject/title\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"List of attendee email addresses\").nullable().optional(),\n event_type: z.string().describe(\"Event type ID or full object if expanded\").nullable().optional(),\n master_page: z.string().describe(\"Master page ID or full object if expanded\").nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier\").nullable().optional(),\n booking_page: z.string().describe(\"Booking page ID or full object if expanded\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when the booking was created\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp for the scheduled start time\").nullable().optional(),\n form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Length of the booking in minutes\").nullable().optional(),\n customer_timezone: z.string().describe(\"IANA timezone identifier for customer's location (e.g., 'America/New_York')\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of the last modification\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description\").nullable().optional(),\n virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of the rescheduled booking if applicable\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional(),\n}).describe(\"Response model for a single booking.\");\n\nexport const scheduleonceGetSingleBooking = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING\", {\n slug: \"scheduleonce-get-single-booking\",\n name: \"Get Single Booking\",\n description: \"Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.\",\n input: ScheduleonceGetSingleBookingInput,\n output: ScheduleonceGetSingleBookingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC7H,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;AACnW,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,MAAM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C1G,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,sBAAsB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjG,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,+BAA+B,+DAA+D,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,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-booking.d.ts
4
+ declare const ScheduleonceGetSingleBookingInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleBookingOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleBooking: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleBooking };
9
+ //# sourceMappingURL=get-single-booking.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking.d.cts","names":[],"sources":["../../src/actions/get-single-booking.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cAuBtD,kCAAA,EAAoC,CAAA,CAAE,UAqBA;AAAA,cAEtC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-booking.d.ts
4
+ declare const ScheduleonceGetSingleBookingInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleBookingOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleBooking: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleBooking };
9
+ //# sourceMappingURL=get-single-booking.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking.d.mts","names":[],"sources":["../../src/actions/get-single-booking.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAGiB;AAAA,cAuBtD,kCAAA,EAAoC,CAAA,CAAE,UAqBA;AAAA,cAEtC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,59 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-single-booking.ts
4
+ const ScheduleonceGetSingleBookingInput = z.object({
5
+ id: z.string().describe("The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')"),
6
+ expand: z.string().describe("Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.").optional()
7
+ }).describe("Request model for retrieving a single booking by ID.");
8
+ const ScheduleonceGetSingleBooking_CustomFieldSchema = z.object({
9
+ name: z.string().describe("Custom field name"),
10
+ value: z.string().describe("Custom field value").nullable().optional()
11
+ }).describe("Model for custom field data.");
12
+ const ScheduleonceGetSingleBooking_FormSubmissionSchema = z.object({
13
+ name: z.string().describe("Customer's full name").nullable().optional(),
14
+ note: z.string().describe("Customer's note or message").nullable().optional(),
15
+ email: z.string().describe("Customer's email address").nullable().optional(),
16
+ phone: z.string().describe("Customer's phone number").nullable().optional(),
17
+ guests: z.array(z.string()).describe("List of guest email addresses").nullable().optional(),
18
+ company: z.string().describe("Customer's company name").nullable().optional(),
19
+ mobile_phone: z.string().describe("Customer's mobile phone number").nullable().optional(),
20
+ custom_fields: z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe("Array of custom field objects").nullable().optional()
21
+ }).describe("Model for customer information collected via booking form.");
22
+ const ScheduleonceGetSingleBooking_VirtualConferencingSchema = z.object({ join_url: z.string().describe("URL to join the virtual meeting").nullable().optional() }).describe("Model for virtual meeting details.");
23
+ const ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema = z.object({
24
+ reason: z.string().describe("Reason for cancellation or reschedule").nullable().optional(),
25
+ user_id: z.string().describe("User ID who performed the action").nullable().optional(),
26
+ actioned_by: z.string().describe("Who initiated the action (e.g., 'user')").nullable().optional()
27
+ }).describe("Model for cancellation or rescheduling information.");
28
+ const scheduleonceGetSingleBooking = action("SCHEDULEONCE_GET_SINGLE_BOOKING", {
29
+ slug: "scheduleonce-get-single-booking",
30
+ name: "Get Single Booking",
31
+ description: "Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.",
32
+ input: ScheduleonceGetSingleBookingInput,
33
+ output: z.object({
34
+ id: z.string().describe("The booking identifier"),
35
+ owner: z.string().describe("User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded").nullable().optional(),
36
+ object: z.string().describe("The object type, always 'booking'"),
37
+ status: z.string().describe("Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'").nullable().optional(),
38
+ subject: z.string().describe("The booking subject/title").nullable().optional(),
39
+ attendees: z.array(z.string()).describe("List of attendee email addresses").nullable().optional(),
40
+ event_type: z.string().describe("Event type ID or full object if expanded").nullable().optional(),
41
+ master_page: z.string().describe("Master page ID or full object if expanded").nullable().optional(),
42
+ tracking_id: z.string().describe("Tracking identifier").nullable().optional(),
43
+ booking_page: z.string().describe("Booking page ID or full object if expanded").nullable().optional(),
44
+ creation_time: z.string().describe("ISO 8601 timestamp when the booking was created").nullable().optional(),
45
+ starting_time: z.string().describe("ISO 8601 timestamp for the scheduled start time").nullable().optional(),
46
+ form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),
47
+ duration_minutes: z.number().int().describe("Length of the booking in minutes").nullable().optional(),
48
+ customer_timezone: z.string().describe("IANA timezone identifier for customer's location (e.g., 'America/New_York')").nullable().optional(),
49
+ last_updated_time: z.string().describe("ISO 8601 timestamp of the last modification").nullable().optional(),
50
+ location_description: z.string().describe("Physical location description").nullable().optional(),
51
+ virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),
52
+ rescheduled_booking_id: z.string().describe("ID of the rescheduled booking if applicable").nullable().optional(),
53
+ cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional()
54
+ }).describe("Response model for a single booking.")
55
+ });
56
+ //#endregion
57
+ export { scheduleonceGetSingleBooking };
58
+
59
+ //# sourceMappingURL=get-single-booking.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-booking.mjs","names":[],"sources":["../../src/actions/get-single-booking.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleBookingInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The booking identifier. Format: 'BKNG-' followed by alphanumeric string (e.g., 'BKNG-J4FR05BKEWEX')\"),\n expand: z.string().describe(\"Comma-separated list of embedded objects to expand into full objects. Expandable objects include: 'booking_page', 'event_type', 'master_page', 'owner'. Maximum expansion depth is 2 levels. Example: 'booking_page,event_type'. Note: Expanding data causes additional lookups and may result in slower response times.\").optional(),\n}).describe(\"Request model for retrieving a single booking by ID.\");\nconst ScheduleonceGetSingleBooking_CustomFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Custom field name\"),\n value: z.string().describe(\"Custom field value\").nullable().optional(),\n}).describe(\"Model for custom field data.\");\nconst ScheduleonceGetSingleBooking_FormSubmissionSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Customer's full name\").nullable().optional(),\n note: z.string().describe(\"Customer's note or message\").nullable().optional(),\n email: z.string().describe(\"Customer's email address\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number\").nullable().optional(),\n guests: z.array(z.string()).describe(\"List of guest email addresses\").nullable().optional(),\n company: z.string().describe(\"Customer's company name\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleBooking_CustomFieldSchema).describe(\"Array of custom field objects\").nullable().optional(),\n}).describe(\"Model for customer information collected via booking form.\");\nconst ScheduleonceGetSingleBooking_VirtualConferencingSchema: z.ZodTypeAny = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting\").nullable().optional(),\n}).describe(\"Model for virtual meeting details.\");\nconst ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema: z.ZodTypeAny = z.object({\n reason: z.string().describe(\"Reason for cancellation or reschedule\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action\").nullable().optional(),\n actioned_by: z.string().describe(\"Who initiated the action (e.g., 'user')\").nullable().optional(),\n}).describe(\"Model for cancellation or rescheduling information.\");\nexport const ScheduleonceGetSingleBookingOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The booking identifier\"),\n owner: z.string().describe(\"User ID of the booking owner (e.g., 'USR-FSD423423') or full object if expanded\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'booking'\"),\n status: z.string().describe(\"Current booking status. Possible values: 'requested', 'scheduled', 'rescheduled', 'completed', 'canceled', 'no_show'\").nullable().optional(),\n subject: z.string().describe(\"The booking subject/title\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"List of attendee email addresses\").nullable().optional(),\n event_type: z.string().describe(\"Event type ID or full object if expanded\").nullable().optional(),\n master_page: z.string().describe(\"Master page ID or full object if expanded\").nullable().optional(),\n tracking_id: z.string().describe(\"Tracking identifier\").nullable().optional(),\n booking_page: z.string().describe(\"Booking page ID or full object if expanded\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp when the booking was created\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp for the scheduled start time\").nullable().optional(),\n form_submission: ScheduleonceGetSingleBooking_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Length of the booking in minutes\").nullable().optional(),\n customer_timezone: z.string().describe(\"IANA timezone identifier for customer's location (e.g., 'America/New_York')\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of the last modification\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description\").nullable().optional(),\n virtual_conferencing: ScheduleonceGetSingleBooking_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of the rescheduled booking if applicable\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceGetSingleBooking_CancelRescheduleInformationSchema.nullable().optional(),\n}).describe(\"Response model for a single booking.\");\n\nexport const scheduleonceGetSingleBooking = action(\"SCHEDULEONCE_GET_SINGLE_BOOKING\", {\n slug: \"scheduleonce-get-single-booking\",\n name: \"Get Single Booking\",\n description: \"Tool to retrieve a single booking by ID from OnceHub. Use when you need to fetch complete booking details including timing, customer information, location, status, and form submission data.\",\n input: ScheduleonceGetSingleBookingInput,\n output: ScheduleonceGetSingleBookingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG;CAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0TAA0T,CAAC,CAAC,SAAS;AACnW,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CAC7C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvE,CAAC,CAAC,CAA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AAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,sBAAsB,uDAAuD,SAAS,CAAC,CAAC,SAAS;EACjG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,+BAA+B,+DAA+D,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,45 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-single-contact.ts
4
+ const ScheduleonceGetSingleContactInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')") }).describe("Request model for retrieving a single contact by ID.");
5
+ const ScheduleonceGetSingleContact_CustomFieldSchema = zod.z.object({
6
+ name: zod.z.string().describe("Name of the custom field"),
7
+ value: zod.z.string().describe("Value of the custom field").nullable().optional()
8
+ }).describe("Model for custom field data.");
9
+ const ScheduleonceGetSingleContactOutput = zod.z.object({
10
+ id: zod.z.string().describe("Unique identifier for the contact"),
11
+ city: zod.z.string().describe("City").nullable().optional(),
12
+ email: zod.z.string().describe("Email address").nullable().optional(),
13
+ owner: zod.z.string().describe("User ID of the contact owner (e.g., 'USR-FSD423423')").nullable().optional(),
14
+ phone: zod.z.string().describe("Phone number").nullable().optional(),
15
+ state: zod.z.string().describe("State/province").nullable().optional(),
16
+ object: zod.z.string().describe("The object type, always 'contact'"),
17
+ company: zod.z.string().describe("Company name").nullable().optional(),
18
+ country: zod.z.string().describe("Country").nullable().optional(),
19
+ timezone: zod.z.string().describe("Timezone setting").nullable().optional(),
20
+ employees: zod.z.string().describe("Number of employees").nullable().optional(),
21
+ job_title: zod.z.string().describe("Contact's job title").nullable().optional(),
22
+ last_name: zod.z.string().describe("Contact's last name").nullable().optional(),
23
+ post_code: zod.z.string().describe("Postal/ZIP code").nullable().optional(),
24
+ first_name: zod.z.string().describe("Contact's first name").nullable().optional(),
25
+ salutation: zod.z.string().describe("Optional salutation/title").nullable().optional(),
26
+ has_consent: zod.z.boolean().describe("Consent status").nullable().optional(),
27
+ company_size: zod.z.string().describe("Size of company").nullable().optional(),
28
+ mobile_phone: zod.z.string().describe("Mobile phone number").nullable().optional(),
29
+ creation_time: zod.z.string().describe("ISO 8601 format timestamp when contact was created").nullable().optional(),
30
+ custom_fields: zod.z.array(ScheduleonceGetSingleContact_CustomFieldSchema).describe("Array of custom field objects with 'name' and 'value' properties").nullable().optional(),
31
+ street_address: zod.z.string().describe("Street address").nullable().optional(),
32
+ terms_of_service: zod.z.boolean().describe("Terms of service acceptance").nullable().optional(),
33
+ last_updated_time: zod.z.string().describe("ISO 8601 format timestamp when contact was last updated").nullable().optional()
34
+ }).describe("Response model for a single contact.");
35
+ const scheduleonceGetSingleContact = require_action.action("SCHEDULEONCE_GET_SINGLE_CONTACT", {
36
+ slug: "scheduleonce-get-single-contact",
37
+ name: "Get Single Contact",
38
+ description: "Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.",
39
+ input: ScheduleonceGetSingleContactInput,
40
+ output: ScheduleonceGetSingleContactOutput
41
+ });
42
+ //#endregion
43
+ exports.scheduleonceGetSingleContact = scheduleonceGetSingleContact;
44
+
45
+ //# sourceMappingURL=get-single-contact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-contact.cjs","names":["z","action"],"sources":["../../src/actions/get-single-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for retrieving a single contact by ID.\");\nconst ScheduleonceGetSingleContact_CustomFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the custom field\"),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).describe(\"Model for custom field data.\");\nexport const ScheduleonceGetSingleContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\"),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleContact_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 format timestamp when contact was last updated\").nullable().optional(),\n}).describe(\"Response model for a single contact.\");\n\nexport const scheduleonceGetSingleContact = action(\"SCHEDULEONCE_GET_SINGLE_CONTACT\", {\n slug: \"scheduleonce-get-single-contact\",\n name: \"Get Single Contact\",\n description: \"Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.\",\n input: ScheduleonceGetSingleContactInput,\n output: ScheduleonceGetSingleContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EAC7H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iDAA+DA,IAAAA,EAAE,OAAO;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AAC1C,MAAa,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,OAAOA,IAAAA,EAAE,OAA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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxK,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,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-contact.d.ts
4
+ declare const ScheduleonceGetSingleContactInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleContactOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleContact };
9
+ //# sourceMappingURL=get-single-contact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-contact.d.cts","names":[],"sources":["../../src/actions/get-single-contact.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAKtD,kCAAA,EAAoC,CAAA,CAAE,UAyBA;AAAA,cAEtC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-contact.d.ts
4
+ declare const ScheduleonceGetSingleContactInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleContactOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleContact };
9
+ //# sourceMappingURL=get-single-contact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-contact.d.mts","names":[],"sources":["../../src/actions/get-single-contact.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAEiB;AAAA,cAKtD,kCAAA,EAAoC,CAAA,CAAE,UAyBA;AAAA,cAEtC,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,44 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-single-contact.ts
4
+ const ScheduleonceGetSingleContactInput = z.object({ id: z.string().describe("The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')") }).describe("Request model for retrieving a single contact by ID.");
5
+ const ScheduleonceGetSingleContact_CustomFieldSchema = z.object({
6
+ name: z.string().describe("Name of the custom field"),
7
+ value: z.string().describe("Value of the custom field").nullable().optional()
8
+ }).describe("Model for custom field data.");
9
+ const scheduleonceGetSingleContact = action("SCHEDULEONCE_GET_SINGLE_CONTACT", {
10
+ slug: "scheduleonce-get-single-contact",
11
+ name: "Get Single Contact",
12
+ description: "Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.",
13
+ input: ScheduleonceGetSingleContactInput,
14
+ output: z.object({
15
+ id: z.string().describe("Unique identifier for the contact"),
16
+ city: z.string().describe("City").nullable().optional(),
17
+ email: z.string().describe("Email address").nullable().optional(),
18
+ owner: z.string().describe("User ID of the contact owner (e.g., 'USR-FSD423423')").nullable().optional(),
19
+ phone: z.string().describe("Phone number").nullable().optional(),
20
+ state: z.string().describe("State/province").nullable().optional(),
21
+ object: z.string().describe("The object type, always 'contact'"),
22
+ company: z.string().describe("Company name").nullable().optional(),
23
+ country: z.string().describe("Country").nullable().optional(),
24
+ timezone: z.string().describe("Timezone setting").nullable().optional(),
25
+ employees: z.string().describe("Number of employees").nullable().optional(),
26
+ job_title: z.string().describe("Contact's job title").nullable().optional(),
27
+ last_name: z.string().describe("Contact's last name").nullable().optional(),
28
+ post_code: z.string().describe("Postal/ZIP code").nullable().optional(),
29
+ first_name: z.string().describe("Contact's first name").nullable().optional(),
30
+ salutation: z.string().describe("Optional salutation/title").nullable().optional(),
31
+ has_consent: z.boolean().describe("Consent status").nullable().optional(),
32
+ company_size: z.string().describe("Size of company").nullable().optional(),
33
+ mobile_phone: z.string().describe("Mobile phone number").nullable().optional(),
34
+ creation_time: z.string().describe("ISO 8601 format timestamp when contact was created").nullable().optional(),
35
+ custom_fields: z.array(ScheduleonceGetSingleContact_CustomFieldSchema).describe("Array of custom field objects with 'name' and 'value' properties").nullable().optional(),
36
+ street_address: z.string().describe("Street address").nullable().optional(),
37
+ terms_of_service: z.boolean().describe("Terms of service acceptance").nullable().optional(),
38
+ last_updated_time: z.string().describe("ISO 8601 format timestamp when contact was last updated").nullable().optional()
39
+ }).describe("Response model for a single contact.")
40
+ });
41
+ //#endregion
42
+ export { scheduleonceGetSingleContact };
43
+
44
+ //# sourceMappingURL=get-single-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-contact.mjs","names":[],"sources":["../../src/actions/get-single-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetSingleContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact to retrieve (e.g., 'CTC-J4FR05BKEW' or 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for retrieving a single contact by ID.\");\nconst ScheduleonceGetSingleContact_CustomFieldSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the custom field\"),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).describe(\"Model for custom field data.\");\nexport const ScheduleonceGetSingleContactOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the contact\"),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\"),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceGetSingleContact_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 format timestamp when contact was last updated\").nullable().optional(),\n}).describe(\"Response model for a single contact.\");\n\nexport const scheduleonceGetSingleContact = action(\"SCHEDULEONCE_GET_SINGLE_CONTACT\", {\n slug: \"scheduleonce-get-single-contact\",\n name: \"Get Single Contact\",\n description: \"Tool to retrieve a single contact by ID from OnceHub. Use when you need to fetch complete contact details including personal information, location data, and custom fields.\",\n input: ScheduleonceGetSingleContactInput,\n output: ScheduleonceGetSingleContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAkD,EAAE,OAAO,EACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EAC7H,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,iDAA+D,EAAE,OAAO;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8BAA8B;AA4B1C,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhC8D,EAAE,OAAO;EACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,OAAO,EAAE,O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AC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-single-master-page.ts
4
+ const ScheduleonceGetSingleMasterPageInput = zod.z.object({ id: zod.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.");
5
+ const ScheduleonceGetSingleMasterPageOutput = zod.z.object({
6
+ id: zod.z.string().describe("Unique identifier for the master page"),
7
+ url: zod.z.string().describe("Public URL for accessing the master page"),
8
+ name: zod.z.string().describe("Public name of the master page"),
9
+ label: zod.z.string().describe("Internal label for the master page"),
10
+ active: zod.z.boolean().describe("Indicates whether the master page is enabled to receive bookings"),
11
+ object: zod.z.string().describe("Object type, always 'master_page'")
12
+ }).describe("Response model for a single master page.");
13
+ const scheduleonceGetSingleMasterPage = require_action.action("SCHEDULEONCE_GET_SINGLE_MASTER_PAGE", {
14
+ slug: "scheduleonce-get-single-master-page",
15
+ name: "Get Single Master Page",
16
+ 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.",
17
+ input: ScheduleonceGetSingleMasterPageInput,
18
+ output: ScheduleonceGetSingleMasterPageOutput
19
+ });
20
+ //#endregion
21
+ exports.scheduleonceGetSingleMasterPage = scheduleonceGetSingleMasterPage;
22
+
23
+ //# sourceMappingURL=get-single-master-page.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-master-page.cjs","names":["z","action"],"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":";;;AAIA,MAAa,uCAAqDA,IAAAA,EAAE,OAAO,EACzE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H,EACpJ,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC/D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kEAAkE;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;AACjE,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,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-master-page.d.ts
4
+ declare const ScheduleonceGetSingleMasterPageInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleMasterPageOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleMasterPage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleMasterPage };
9
+ //# sourceMappingURL=get-single-master-page.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-master-page.d.cts","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEkB;AAAA,cAC1D,qCAAA,EAAuC,CAAA,CAAE,UAOC;AAAA,cAE1C,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-single-master-page.d.ts
4
+ declare const ScheduleonceGetSingleMasterPageInput: z.ZodTypeAny;
5
+ declare const ScheduleonceGetSingleMasterPageOutput: z.ZodTypeAny;
6
+ declare const scheduleonceGetSingleMasterPage: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceGetSingleMasterPage };
9
+ //# sourceMappingURL=get-single-master-page.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-single-master-page.d.mts","names":[],"sources":["../../src/actions/get-single-master-page.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAEkB;AAAA,cAC1D,qCAAA,EAAuC,CAAA,CAAE,UAOC;AAAA,cAE1C,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}