@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":"create-contact.cjs","names":["z","action"],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateContactInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact (required).\"),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State or province of the contact.\").optional(),\n company: z.string().describe(\"Company name associated with the contact.\").optional(),\n country: z.string().describe(\"Country of the contact.\").optional(),\n timezone: z.string().describe(\"Timezone of the contact.\").optional(),\n job_title: z.string().describe(\"Job title of the contact.\").optional(),\n last_name: z.string().describe(\"Last name of the contact (required).\"),\n post_code: z.string().describe(\"Postal or ZIP code of the contact.\").optional(),\n first_name: z.string().describe(\"First name of the contact (required).\"),\n salutation: z.string().describe(\"Salutation/title for the contact.\").optional(),\n mobile_phone: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n street_address: z.string().describe(\"Street address of the contact.\").optional(),\n}).describe(\"Request model for creating a new contact in ScheduleOnce.\");\nconst ScheduleonceCreateContact_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 ScheduleonceCreateContactOutput: 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(ScheduleonceCreateContact_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 newly created contact.\");\n\nexport const scheduleonceCreateContact = action(\"SCHEDULEONCE_CREATE_CONTACT\", {\n slug: \"scheduleonce-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in ScheduleOnce. Use when you need to add a contact with email, first name, and last name. Additional fields like company, phone, and address details can be optionally provided.\",\n input: ScheduleonceCreateContactInput,\n output: ScheduleonceCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACrE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACz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AC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,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,2CAA2C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrK,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,6CAA6C;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,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/create-contact.d.ts
4
+ declare const ScheduleonceCreateContactInput: z.ZodTypeAny;
5
+ declare const ScheduleonceCreateContactOutput: z.ZodTypeAny;
6
+ declare const scheduleonceCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceCreateContact };
9
+ //# sourceMappingURL=create-contact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-contact.d.cts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAeyB;AAAA,cAK3D,+BAAA,EAAiC,CAAA,CAAE,UAyBU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-contact.d.ts
4
+ declare const ScheduleonceCreateContactInput: z.ZodTypeAny;
5
+ declare const ScheduleonceCreateContactOutput: z.ZodTypeAny;
6
+ declare const scheduleonceCreateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceCreateContact };
9
+ //# sourceMappingURL=create-contact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-contact.d.mts","names":[],"sources":["../../src/actions/create-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAeyB;AAAA,cAK3D,+BAAA,EAAiC,CAAA,CAAE,UAyBU;AAAA,cAE7C,yBAAA,gCAAyB,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/create-contact.ts
4
+ const ScheduleonceCreateContactInput = z.object({
5
+ city: z.string().describe("City of the contact.").optional(),
6
+ email: z.string().describe("Email address of the contact (required)."),
7
+ phone: z.string().describe("Phone number of the contact.").optional(),
8
+ state: z.string().describe("State or province of the contact.").optional(),
9
+ company: z.string().describe("Company name associated with the contact.").optional(),
10
+ country: z.string().describe("Country of the contact.").optional(),
11
+ timezone: z.string().describe("Timezone of the contact.").optional(),
12
+ job_title: z.string().describe("Job title of the contact.").optional(),
13
+ last_name: z.string().describe("Last name of the contact (required)."),
14
+ post_code: z.string().describe("Postal or ZIP code of the contact.").optional(),
15
+ first_name: z.string().describe("First name of the contact (required)."),
16
+ salutation: z.string().describe("Salutation/title for the contact.").optional(),
17
+ mobile_phone: z.string().describe("Mobile phone number of the contact.").optional(),
18
+ street_address: z.string().describe("Street address of the contact.").optional()
19
+ }).describe("Request model for creating a new contact in ScheduleOnce.");
20
+ const ScheduleonceCreateContact_CustomFieldSchema = z.object({
21
+ name: z.string().describe("Name of the custom field"),
22
+ value: z.string().describe("Value of the custom field").nullable().optional()
23
+ }).describe("Model for custom field data.");
24
+ const scheduleonceCreateContact = action("SCHEDULEONCE_CREATE_CONTACT", {
25
+ slug: "scheduleonce-create-contact",
26
+ name: "Create Contact",
27
+ description: "Tool to create a new contact in ScheduleOnce. Use when you need to add a contact with email, first name, and last name. Additional fields like company, phone, and address details can be optionally provided.",
28
+ input: ScheduleonceCreateContactInput,
29
+ output: z.object({
30
+ id: z.string().describe("Unique identifier for the contact"),
31
+ city: z.string().describe("City").nullable().optional(),
32
+ email: z.string().describe("Email address").nullable().optional(),
33
+ owner: z.string().describe("User ID of the contact owner (e.g., 'USR-FSD423423')").nullable().optional(),
34
+ phone: z.string().describe("Phone number").nullable().optional(),
35
+ state: z.string().describe("State/province").nullable().optional(),
36
+ object: z.string().describe("The object type, always 'contact'"),
37
+ company: z.string().describe("Company name").nullable().optional(),
38
+ country: z.string().describe("Country").nullable().optional(),
39
+ timezone: z.string().describe("Timezone setting").nullable().optional(),
40
+ employees: z.string().describe("Number of employees").nullable().optional(),
41
+ job_title: z.string().describe("Contact's job title").nullable().optional(),
42
+ last_name: z.string().describe("Contact's last name").nullable().optional(),
43
+ post_code: z.string().describe("Postal/ZIP code").nullable().optional(),
44
+ first_name: z.string().describe("Contact's first name").nullable().optional(),
45
+ salutation: z.string().describe("Optional salutation/title").nullable().optional(),
46
+ has_consent: z.boolean().describe("Consent status").nullable().optional(),
47
+ company_size: z.string().describe("Size of company").nullable().optional(),
48
+ mobile_phone: z.string().describe("Mobile phone number").nullable().optional(),
49
+ creation_time: z.string().describe("ISO 8601 format timestamp when contact was created").nullable().optional(),
50
+ custom_fields: z.array(ScheduleonceCreateContact_CustomFieldSchema).describe("Array of custom field objects with 'name' and 'value' properties").nullable().optional(),
51
+ street_address: z.string().describe("Street address").nullable().optional(),
52
+ terms_of_service: z.boolean().describe("Terms of service acceptance").nullable().optional(),
53
+ last_updated_time: z.string().describe("ISO 8601 format timestamp when contact was last updated").nullable().optional()
54
+ }).describe("Response model for a newly created contact.")
55
+ });
56
+ //#endregion
57
+ export { scheduleonceCreateContact };
58
+
59
+ //# sourceMappingURL=create-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateContactInput: z.ZodTypeAny = z.object({\n city: z.string().describe(\"City of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact (required).\"),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State or province of the contact.\").optional(),\n company: z.string().describe(\"Company name associated with the contact.\").optional(),\n country: z.string().describe(\"Country of the contact.\").optional(),\n timezone: z.string().describe(\"Timezone of the contact.\").optional(),\n job_title: z.string().describe(\"Job title of the contact.\").optional(),\n last_name: z.string().describe(\"Last name of the contact (required).\"),\n post_code: z.string().describe(\"Postal or ZIP code of the contact.\").optional(),\n first_name: z.string().describe(\"First name of the contact (required).\"),\n salutation: z.string().describe(\"Salutation/title for the contact.\").optional(),\n mobile_phone: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n street_address: z.string().describe(\"Street address of the contact.\").optional(),\n}).describe(\"Request model for creating a new contact in ScheduleOnce.\");\nconst ScheduleonceCreateContact_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 ScheduleonceCreateContactOutput: 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(ScheduleonceCreateContact_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 newly created contact.\");\n\nexport const scheduleonceCreateContact = action(\"SCHEDULEONCE_CREATE_CONTACT\", {\n slug: \"scheduleonce-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in ScheduleOnce. Use when you need to add a contact with email, first name, and last name. Additional fields like company, phone, and address details can be optionally provided.\",\n input: ScheduleonceCreateContactInput,\n output: ScheduleonceCreateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8CAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CA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E,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,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,6CAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-one-time-link-for-booking-calendar.ts
4
+ const ScheduleonceCreateOneTimeLinkForBookingCalendarInput = zod.z.object({
5
+ id: zod.z.string().describe("The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published."),
6
+ guest: zod.z.object({
7
+ name: zod.z.string().describe("Guest's full name for personalization").optional(),
8
+ email: zod.z.string().describe("Guest's email address for personalization").optional()
9
+ }).describe("Model for guest information to personalize the one-time link.").optional()
10
+ }).describe("Request model for creating a one-time booking link for a booking calendar.");
11
+ const ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema = zod.z.object({
12
+ name: zod.z.string().describe("Guest's full name for personalization").nullable().optional(),
13
+ email: zod.z.string().describe("Guest's email address for personalization").nullable().optional()
14
+ }).describe("Model for guest information to personalize the one-time link.");
15
+ const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput = zod.z.object({
16
+ id: zod.z.string().describe("Unique identifier for the one-time link").nullable().optional(),
17
+ url: zod.z.string().describe("The generated one-time booking link URL that can be shared with the guest").nullable().optional(),
18
+ guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),
19
+ object: zod.z.string().describe("Object type, typically 'one_time_link'").nullable().optional(),
20
+ consumed: zod.z.boolean().describe("Whether the link has been used for a booking. One-time links can only be used once.").nullable().optional(),
21
+ created_at: zod.z.string().describe("ISO 8601 timestamp when the link was created").nullable().optional(),
22
+ expires_at: zod.z.string().describe("ISO 8601 timestamp when the link expires (typically one year from creation)").nullable().optional(),
23
+ booking_calendar_id: zod.z.string().describe("ID of the associated booking calendar").nullable().optional()
24
+ }).describe("Response model for a created one-time booking link.");
25
+ const scheduleonceCreateOneTimeLinkForBookingCalendar = require_action.action("SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR", {
26
+ slug: "scheduleonce-create-one-time-link-for-booking-calendar",
27
+ name: "Create One-Time Link for Booking Calendar",
28
+ description: "Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.",
29
+ input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,
30
+ output: ScheduleonceCreateOneTimeLinkForBookingCalendarOutput
31
+ });
32
+ //#endregion
33
+ exports.scheduleonceCreateOneTimeLinkForBookingCalendar = scheduleonceCreateOneTimeLinkForBookingCalendar;
34
+
35
+ //# sourceMappingURL=create-one-time-link-for-booking-calendar.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-one-time-link-for-booking-calendar.cjs","names":["z","action"],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published.\"),\n guest: z.object({\n name: z.string().describe(\"Guest's full name for personalization\").optional(),\n email: z.string().describe(\"Guest's email address for personalization\").optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\").optional(),\n}).describe(\"Request model for creating a one-time booking link for a booking calendar.\");\nconst ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Guest's full name for personalization\").nullable().optional(),\n email: z.string().describe(\"Guest's email address for personalization\").nullable().optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\");\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the one-time link\").nullable().optional(),\n url: z.string().describe(\"The generated one-time booking link URL that can be shared with the guest\").nullable().optional(),\n guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),\n object: z.string().describe(\"Object type, typically 'one_time_link'\").nullable().optional(),\n consumed: z.boolean().describe(\"Whether the link has been used for a booking. One-time links can only be used once.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n expires_at: z.string().describe(\"ISO 8601 timestamp when the link expires (typically one year from creation)\").nullable().optional(),\n booking_calendar_id: z.string().describe(\"ID of the associated booking calendar\").nullable().optional(),\n}).describe(\"Response model for a created one-time booking link.\");\n\nexport const scheduleonceCreateOneTimeLinkForBookingCalendar = action(\"SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-create-one-time-link-for-booking-calendar\",\n name: \"Create One-Time Link for Booking Calendar\",\n description: \"Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.\",\n input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n output: ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uDAAqEA,IAAAA,EAAE,OAAO;CACzF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I;CACvK,OAAOA,IAAAA,EAAE,OAAO;EAChB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,yEAAuFA,IAAAA,EAAE,OAAO;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,wDAAsEA,IAAAA,EAAE,OAAO;CAC1F,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,OAAO,uEAAuE,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,kDAAkDC,eAAAA,OAAO,0DAA0D;CAC9H,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/create-one-time-link-for-booking-calendar.d.ts
4
+ declare const ScheduleonceCreateOneTimeLinkForBookingCalendarInput: z.ZodTypeAny;
5
+ declare const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput: z.ZodTypeAny;
6
+ declare const scheduleonceCreateOneTimeLinkForBookingCalendar: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceCreateOneTimeLinkForBookingCalendar };
9
+ //# sourceMappingURL=create-one-time-link-for-booking-calendar.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-one-time-link-for-booking-calendar.d.cts","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"mappings":";;;cAIa,oDAAA,EAAsD,CAAA,CAAE,UAMoB;AAAA,cAK5E,qDAAA,EAAuD,CAAA,CAAE,UASJ;AAAA,cAErD,+CAAA,gCAA+C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-one-time-link-for-booking-calendar.d.ts
4
+ declare const ScheduleonceCreateOneTimeLinkForBookingCalendarInput: z.ZodTypeAny;
5
+ declare const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput: z.ZodTypeAny;
6
+ declare const scheduleonceCreateOneTimeLinkForBookingCalendar: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceCreateOneTimeLinkForBookingCalendar };
9
+ //# sourceMappingURL=create-one-time-link-for-booking-calendar.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-one-time-link-for-booking-calendar.d.mts","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"mappings":";;;cAIa,oDAAA,EAAsD,CAAA,CAAE,UAMoB;AAAA,cAK5E,qDAAA,EAAuD,CAAA,CAAE,UASJ;AAAA,cAErD,+CAAA,gCAA+C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-one-time-link-for-booking-calendar.ts
4
+ const ScheduleonceCreateOneTimeLinkForBookingCalendarInput = z.object({
5
+ id: z.string().describe("The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published."),
6
+ guest: z.object({
7
+ name: z.string().describe("Guest's full name for personalization").optional(),
8
+ email: z.string().describe("Guest's email address for personalization").optional()
9
+ }).describe("Model for guest information to personalize the one-time link.").optional()
10
+ }).describe("Request model for creating a one-time booking link for a booking calendar.");
11
+ const ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema = z.object({
12
+ name: z.string().describe("Guest's full name for personalization").nullable().optional(),
13
+ email: z.string().describe("Guest's email address for personalization").nullable().optional()
14
+ }).describe("Model for guest information to personalize the one-time link.");
15
+ const scheduleonceCreateOneTimeLinkForBookingCalendar = action("SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR", {
16
+ slug: "scheduleonce-create-one-time-link-for-booking-calendar",
17
+ name: "Create One-Time Link for Booking Calendar",
18
+ description: "Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.",
19
+ input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,
20
+ output: z.object({
21
+ id: z.string().describe("Unique identifier for the one-time link").nullable().optional(),
22
+ url: z.string().describe("The generated one-time booking link URL that can be shared with the guest").nullable().optional(),
23
+ guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),
24
+ object: z.string().describe("Object type, typically 'one_time_link'").nullable().optional(),
25
+ consumed: z.boolean().describe("Whether the link has been used for a booking. One-time links can only be used once.").nullable().optional(),
26
+ created_at: z.string().describe("ISO 8601 timestamp when the link was created").nullable().optional(),
27
+ expires_at: z.string().describe("ISO 8601 timestamp when the link expires (typically one year from creation)").nullable().optional(),
28
+ booking_calendar_id: z.string().describe("ID of the associated booking calendar").nullable().optional()
29
+ }).describe("Response model for a created one-time booking link.")
30
+ });
31
+ //#endregion
32
+ export { scheduleonceCreateOneTimeLinkForBookingCalendar };
33
+
34
+ //# sourceMappingURL=create-one-time-link-for-booking-calendar.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-one-time-link-for-booking-calendar.mjs","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published.\"),\n guest: z.object({\n name: z.string().describe(\"Guest's full name for personalization\").optional(),\n email: z.string().describe(\"Guest's email address for personalization\").optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\").optional(),\n}).describe(\"Request model for creating a one-time booking link for a booking calendar.\");\nconst ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Guest's full name for personalization\").nullable().optional(),\n email: z.string().describe(\"Guest's email address for personalization\").nullable().optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\");\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the one-time link\").nullable().optional(),\n url: z.string().describe(\"The generated one-time booking link URL that can be shared with the guest\").nullable().optional(),\n guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),\n object: z.string().describe(\"Object type, typically 'one_time_link'\").nullable().optional(),\n consumed: z.boolean().describe(\"Whether the link has been used for a booking. One-time links can only be used once.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n expires_at: z.string().describe(\"ISO 8601 timestamp when the link expires (typically one year from creation)\").nullable().optional(),\n booking_calendar_id: z.string().describe(\"ID of the associated booking calendar\").nullable().optional(),\n}).describe(\"Response model for a created one-time booking link.\");\n\nexport const scheduleonceCreateOneTimeLinkForBookingCalendar = action(\"SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-create-one-time-link-for-booking-calendar\",\n name: \"Create One-Time Link for Booking Calendar\",\n description: \"Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.\",\n input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n output: ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uDAAqE,EAAE,OAAO;CACzF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I;CACvK,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,yEAAuF,EAAE,OAAO;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAY3E,MAAa,kDAAkD,OAAO,0DAA0D;CAC9H,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBiF,EAAE,OAAO;EAC1F,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,OAAO,uEAAuE,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,31 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/create-user.ts
4
+ const ScheduleonceCreateUserInput = zod.z.object({
5
+ email: zod.z.string().describe("Email address of the user (required)."),
6
+ last_name: zod.z.string().describe("Last name of the user (required)."),
7
+ role_name: zod.z.string().describe("Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.").optional(),
8
+ first_name: zod.z.string().describe("First name of the user (required).")
9
+ }).describe("Request model for creating a new user in ScheduleOnce.");
10
+ const ScheduleonceCreateUserOutput = zod.z.object({
11
+ id: zod.z.string().describe("Unique identifier for the user").nullable().optional(),
12
+ email: zod.z.string().describe("User's email address").nullable().optional(),
13
+ teams: zod.z.array(zod.z.string()).describe("Array of team IDs the user belongs to").nullable().optional(),
14
+ object: zod.z.string().describe("Object type, always 'user'").nullable().optional(),
15
+ status: zod.z.string().describe("User status indicating if the user has signed in or is still in invited status").nullable().optional(),
16
+ timezone: zod.z.string().describe("User's timezone (e.g., 'America/Chicago')").nullable().optional(),
17
+ last_name: zod.z.string().describe("User's last name").nullable().optional(),
18
+ role_name: zod.z.string().describe("User's role in the account (e.g., 'Member', 'Admin')").nullable().optional(),
19
+ first_name: zod.z.string().describe("User's first name").nullable().optional()
20
+ }).describe("Response model for a newly created user.");
21
+ const scheduleonceCreateUser = require_action.action("SCHEDULEONCE_CREATE_USER", {
22
+ slug: "scheduleonce-create-user",
23
+ name: "Create User",
24
+ description: "Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.",
25
+ input: ScheduleonceCreateUserInput,
26
+ output: ScheduleonceCreateUserOutput
27
+ });
28
+ //#endregion
29
+ exports.scheduleonceCreateUser = scheduleonceCreateUser;
30
+
31
+ //# sourceMappingURL=create-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user (required).\"),\n last_name: z.string().describe(\"Last name of the user (required).\"),\n role_name: z.string().describe(\"Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.\").optional(),\n first_name: z.string().describe(\"First name of the user (required).\"),\n}).describe(\"Request model for creating a new user in ScheduleOnce.\");\nexport const ScheduleonceCreateUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\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'\").nullable().optional(),\n status: z.string().describe(\"User status indicating if the user has signed in 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 newly created user.\");\n\nexport const scheduleonceCreateUser = action(\"SCHEDULEONCE_CREATE_USER\", {\n slug: \"scheduleonce-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.\",\n input: ScheduleonceCreateUserInput,\n output: ScheduleonceCreateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACtE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,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,0CAA0C;AAEtD,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/create-user.d.ts
4
+ declare const ScheduleonceCreateUserInput: z.ZodTypeAny;
5
+ declare const ScheduleonceCreateUserOutput: z.ZodTypeAny;
6
+ declare const scheduleonceCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceCreateUser };
9
+ //# sourceMappingURL=create-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAUU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/create-user.d.ts
4
+ declare const ScheduleonceCreateUserInput: z.ZodTypeAny;
5
+ declare const ScheduleonceCreateUserOutput: z.ZodTypeAny;
6
+ declare const scheduleonceCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceCreateUser };
9
+ //# sourceMappingURL=create-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAKyB;AAAA,cACxD,4BAAA,EAA8B,CAAA,CAAE,UAUU;AAAA,cAE1C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,28 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scheduleonceCreateUser = action("SCHEDULEONCE_CREATE_USER", {
4
+ slug: "scheduleonce-create-user",
5
+ name: "Create User",
6
+ description: "Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.",
7
+ input: z.object({
8
+ email: z.string().describe("Email address of the user (required)."),
9
+ last_name: z.string().describe("Last name of the user (required)."),
10
+ role_name: z.string().describe("Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.").optional(),
11
+ first_name: z.string().describe("First name of the user (required).")
12
+ }).describe("Request model for creating a new user in ScheduleOnce."),
13
+ output: z.object({
14
+ id: z.string().describe("Unique identifier for the user").nullable().optional(),
15
+ email: z.string().describe("User's email address").nullable().optional(),
16
+ teams: z.array(z.string()).describe("Array of team IDs the user belongs to").nullable().optional(),
17
+ object: z.string().describe("Object type, always 'user'").nullable().optional(),
18
+ status: z.string().describe("User status indicating if the user has signed in or is still in invited status").nullable().optional(),
19
+ timezone: z.string().describe("User's timezone (e.g., 'America/Chicago')").nullable().optional(),
20
+ last_name: z.string().describe("User's last name").nullable().optional(),
21
+ role_name: z.string().describe("User's role in the account (e.g., 'Member', 'Admin')").nullable().optional(),
22
+ first_name: z.string().describe("User's first name").nullable().optional()
23
+ }).describe("Response model for a newly created user.")
24
+ });
25
+ //#endregion
26
+ export { scheduleonceCreateUser };
27
+
28
+ //# sourceMappingURL=create-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"Email address of the user (required).\"),\n last_name: z.string().describe(\"Last name of the user (required).\"),\n role_name: z.string().describe(\"Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.\").optional(),\n first_name: z.string().describe(\"First name of the user (required).\"),\n}).describe(\"Request model for creating a new user in ScheduleOnce.\");\nexport const ScheduleonceCreateUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\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'\").nullable().optional(),\n status: z.string().describe(\"User status indicating if the user has signed in 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 newly created user.\");\n\nexport const scheduleonceCreateUser = action(\"SCHEDULEONCE_CREATE_USER\", {\n slug: \"scheduleonce-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.\",\n input: ScheduleonceCreateUserInput,\n output: ScheduleonceCreateUserOutput,\n});\n"],"mappings":";;AAsBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aA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+ //#region src/actions/delete-contact.ts
4
+ const ScheduleonceDeleteContactInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')") }).describe("Request model for deleting a contact by ID.");
5
+ const ScheduleonceDeleteContactOutput = zod.z.object({
6
+ message: zod.z.string().describe("Optional message about the deletion operation").nullable().optional(),
7
+ success: zod.z.boolean().default(true).describe("Indicates whether the contact was successfully deleted").nullable().optional()
8
+ }).describe("Response model for contact deletion.");
9
+ const scheduleonceDeleteContact = require_action.action("SCHEDULEONCE_DELETE_CONTACT", {
10
+ slug: "scheduleonce-delete-contact",
11
+ name: "Delete Contact",
12
+ description: "Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.",
13
+ input: ScheduleonceDeleteContactInput,
14
+ output: ScheduleonceDeleteContactOutput
15
+ });
16
+ //#endregion
17
+ exports.scheduleonceDeleteContact = scheduleonceDeleteContact;
18
+
19
+ //# sourceMappingURL=delete-contact.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for deleting a contact by ID.\");\nexport const ScheduleonceDeleteContactOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the contact was successfully deleted\").nullable().optional(),\n}).describe(\"Response model for contact deletion.\");\n\nexport const scheduleonceDeleteContact = action(\"SCHEDULEONCE_DELETE_CONTACT\", {\n slug: \"scheduleonce-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.\",\n input: ScheduleonceDeleteContactInput,\n output: ScheduleonceDeleteContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EACvG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,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/delete-contact.d.ts
4
+ declare const ScheduleonceDeleteContactInput: z.ZodTypeAny;
5
+ declare const ScheduleonceDeleteContactOutput: z.ZodTypeAny;
6
+ declare const scheduleonceDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceDeleteContact };
9
+ //# sourceMappingURL=delete-contact.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEW;AAAA,cAC7C,+BAAA,EAAiC,CAAA,CAAE,UAGG;AAAA,cAEtC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-contact.d.ts
4
+ declare const ScheduleonceDeleteContactInput: z.ZodTypeAny;
5
+ declare const ScheduleonceDeleteContactOutput: z.ZodTypeAny;
6
+ declare const scheduleonceDeleteContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceDeleteContact };
9
+ //# sourceMappingURL=delete-contact.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAEW;AAAA,cAC7C,+BAAA,EAAiC,CAAA,CAAE,UAGG;AAAA,cAEtC,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scheduleonceDeleteContact = action("SCHEDULEONCE_DELETE_CONTACT", {
4
+ slug: "scheduleonce-delete-contact",
5
+ name: "Delete Contact",
6
+ description: "Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.",
7
+ input: z.object({ id: z.string().describe("The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')") }).describe("Request model for deleting a contact by ID."),
8
+ output: z.object({
9
+ message: z.string().describe("Optional message about the deletion operation").nullable().optional(),
10
+ success: z.boolean().default(true).describe("Indicates whether the contact was successfully deleted").nullable().optional()
11
+ }).describe("Response model for contact deletion.")
12
+ });
13
+ //#endregion
14
+ export { scheduleonceDeleteContact };
15
+
16
+ //# sourceMappingURL=delete-contact.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteContactInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for deleting a contact by ID.\");\nexport const ScheduleonceDeleteContactOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the contact was successfully deleted\").nullable().optional(),\n}).describe(\"Response model for contact deletion.\");\n\nexport const scheduleonceDeleteContact = action(\"SCHEDULEONCE_DELETE_CONTACT\", {\n slug: \"scheduleonce-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.\",\n input: ScheduleonceDeleteContactInput,\n output: ScheduleonceDeleteContactOutput,\n});\n"],"mappings":";;AAYA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ0D,EAAE,OAAO,EACnE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EACvG,CAAC,CAAC,CAAC,SAAS,6CAUH;CACP,QAV2D,EAAE,OAAO;EACpE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,SAAS,sCAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-user.ts
4
+ const ScheduleonceDeleteUserInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')") }).describe("Request model for deleting a user by ID.");
5
+ const ScheduleonceDeleteUserOutput = zod.z.object({
6
+ message: zod.z.string().describe("Optional message about the deletion operation").nullable().optional(),
7
+ success: zod.z.boolean().default(true).describe("Indicates whether the user was successfully deleted").nullable().optional()
8
+ }).describe("Response model for user deletion.");
9
+ const scheduleonceDeleteUser = require_action.action("SCHEDULEONCE_DELETE_USER", {
10
+ slug: "scheduleonce-delete-user",
11
+ name: "Delete User",
12
+ description: "Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.",
13
+ input: ScheduleonceDeleteUserInput,
14
+ output: ScheduleonceDeleteUserOutput
15
+ });
16
+ //#endregion
17
+ exports.scheduleonceDeleteUser = scheduleonceDeleteUser;
18
+
19
+ //# sourceMappingURL=delete-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const ScheduleonceDeleteUserOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).describe(\"Response model for user deletion.\");\n\nexport const scheduleonceDeleteUser = action(\"SCHEDULEONCE_DELETE_USER\", {\n slug: \"scheduleonce-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.\",\n input: ScheduleonceDeleteUserInput,\n output: ScheduleonceDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAChG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,SAAS,mCAAmC;AAE/C,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,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/delete-user.d.ts
4
+ declare const ScheduleonceDeleteUserInput: z.ZodTypeAny;
5
+ declare const ScheduleonceDeleteUserOutput: z.ZodTypeAny;
6
+ declare const scheduleonceDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceDeleteUser };
9
+ //# sourceMappingURL=delete-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEW;AAAA,cAC1C,4BAAA,EAA8B,CAAA,CAAE,UAGG;AAAA,cAEnC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user.d.ts
4
+ declare const ScheduleonceDeleteUserInput: z.ZodTypeAny;
5
+ declare const ScheduleonceDeleteUserOutput: z.ZodTypeAny;
6
+ declare const scheduleonceDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { scheduleonceDeleteUser };
9
+ //# sourceMappingURL=delete-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAEW;AAAA,cAC1C,4BAAA,EAA8B,CAAA,CAAE,UAGG;AAAA,cAEnC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const scheduleonceDeleteUser = action("SCHEDULEONCE_DELETE_USER", {
4
+ slug: "scheduleonce-delete-user",
5
+ name: "Delete User",
6
+ description: "Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.",
7
+ input: z.object({ id: z.string().describe("The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')") }).describe("Request model for deleting a user by ID."),
8
+ output: z.object({
9
+ message: z.string().describe("Optional message about the deletion operation").nullable().optional(),
10
+ success: z.boolean().default(true).describe("Indicates whether the user was successfully deleted").nullable().optional()
11
+ }).describe("Response model for user deletion.")
12
+ });
13
+ //#endregion
14
+ export { scheduleonceDeleteUser };
15
+
16
+ //# sourceMappingURL=delete-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const ScheduleonceDeleteUserOutput: z.ZodTypeAny = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).describe(\"Response model for user deletion.\");\n\nexport const scheduleonceDeleteUser = action(\"SCHEDULEONCE_DELETE_USER\", {\n slug: \"scheduleonce-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.\",\n input: ScheduleonceDeleteUserInput,\n output: ScheduleonceDeleteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuD,EAAE,OAAO,EAChE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAChG,CAAC,CAAC,CAAC,SAAS,0CAUH;CACP,QAVwD,EAAE,OAAO;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,SAAS,mCAOF;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-available-time-slots.ts
4
+ const ScheduleonceGetAvailableTimeSlotsInput = zod.z.object({
5
+ id: zod.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: zod.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: zod.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 = zod.z.object({
10
+ id: zod.z.string().describe("Optional ID of the location").nullable().optional(),
11
+ type: zod.z.string().describe("Type of meeting location (e.g., 'phone', 'video', 'in_person')").nullable().optional(),
12
+ value: zod.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 = zod.z.object({
15
+ locations: zod.z.array(ScheduleonceGetAvailableTimeSlots_LocationSchema).describe("Meeting location details for this time slot").nullable().optional(),
16
+ start_time: zod.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 ScheduleonceGetAvailableTimeSlotsOutput = zod.z.object({ slots: zod.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.");
19
+ const scheduleonceGetAvailableTimeSlots = require_action.action("SCHEDULEONCE_GET_AVAILABLE_TIME_SLOTS", {
20
+ slug: "scheduleonce-get-available-time-slots",
21
+ name: "Get Available Time Slots",
22
+ 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.",
23
+ input: ScheduleonceGetAvailableTimeSlotsInput,
24
+ output: ScheduleonceGetAvailableTimeSlotsOutput
25
+ });
26
+ //#endregion
27
+ exports.scheduleonceGetAvailableTimeSlots = scheduleonceGetAvailableTimeSlots;
28
+
29
+ //# sourceMappingURL=get-available-time-slots.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-available-time-slots.cjs","names":["z","action"],"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 r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CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -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.cts.map