@keystrokehq/scheduleonce 0.1.4 → 0.1.6

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 (229) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/book-time-slot.cjs +1 -0
  4. package/dist/actions/book-time-slot.cjs.map +1 -1
  5. package/dist/actions/book-time-slot.d.cts +3 -21
  6. package/dist/actions/book-time-slot.d.cts.map +1 -1
  7. package/dist/actions/book-time-slot.d.mts +3 -21
  8. package/dist/actions/book-time-slot.d.mts.map +1 -1
  9. package/dist/actions/book-time-slot.mjs +1 -0
  10. package/dist/actions/book-time-slot.mjs.map +1 -1
  11. package/dist/actions/cancel-booking.cjs +1 -0
  12. package/dist/actions/cancel-booking.cjs.map +1 -1
  13. package/dist/actions/cancel-booking.d.cts +3 -5
  14. package/dist/actions/cancel-booking.d.cts.map +1 -1
  15. package/dist/actions/cancel-booking.d.mts +3 -5
  16. package/dist/actions/cancel-booking.d.mts.map +1 -1
  17. package/dist/actions/cancel-booking.mjs +1 -0
  18. package/dist/actions/cancel-booking.mjs.map +1 -1
  19. package/dist/actions/create-contact.cjs +1 -0
  20. package/dist/actions/create-contact.cjs.map +1 -1
  21. package/dist/actions/create-contact.d.cts +3 -16
  22. package/dist/actions/create-contact.d.cts.map +1 -1
  23. package/dist/actions/create-contact.d.mts +3 -16
  24. package/dist/actions/create-contact.d.mts.map +1 -1
  25. package/dist/actions/create-contact.mjs +1 -0
  26. package/dist/actions/create-contact.mjs.map +1 -1
  27. package/dist/actions/create-one-time-link-for-booking-calendar.cjs +1 -0
  28. package/dist/actions/create-one-time-link-for-booking-calendar.cjs.map +1 -1
  29. package/dist/actions/create-one-time-link-for-booking-calendar.d.cts +3 -7
  30. package/dist/actions/create-one-time-link-for-booking-calendar.d.cts.map +1 -1
  31. package/dist/actions/create-one-time-link-for-booking-calendar.d.mts +3 -7
  32. package/dist/actions/create-one-time-link-for-booking-calendar.d.mts.map +1 -1
  33. package/dist/actions/create-one-time-link-for-booking-calendar.mjs +1 -0
  34. package/dist/actions/create-one-time-link-for-booking-calendar.mjs.map +1 -1
  35. package/dist/actions/create-user.cjs +1 -0
  36. package/dist/actions/create-user.cjs.map +1 -1
  37. package/dist/actions/create-user.d.cts +3 -6
  38. package/dist/actions/create-user.d.cts.map +1 -1
  39. package/dist/actions/create-user.d.mts +3 -6
  40. package/dist/actions/create-user.d.mts.map +1 -1
  41. package/dist/actions/create-user.mjs +1 -0
  42. package/dist/actions/create-user.mjs.map +1 -1
  43. package/dist/actions/delete-contact.cjs +1 -0
  44. package/dist/actions/delete-contact.cjs.map +1 -1
  45. package/dist/actions/delete-contact.d.cts +3 -3
  46. package/dist/actions/delete-contact.d.cts.map +1 -1
  47. package/dist/actions/delete-contact.d.mts +3 -3
  48. package/dist/actions/delete-contact.d.mts.map +1 -1
  49. package/dist/actions/delete-contact.mjs +1 -0
  50. package/dist/actions/delete-contact.mjs.map +1 -1
  51. package/dist/actions/delete-user.cjs +1 -0
  52. package/dist/actions/delete-user.cjs.map +1 -1
  53. package/dist/actions/delete-user.d.cts +3 -3
  54. package/dist/actions/delete-user.d.cts.map +1 -1
  55. package/dist/actions/delete-user.d.mts +3 -3
  56. package/dist/actions/delete-user.d.mts.map +1 -1
  57. package/dist/actions/delete-user.mjs +1 -0
  58. package/dist/actions/delete-user.mjs.map +1 -1
  59. package/dist/actions/get-available-time-slots.cjs +1 -0
  60. package/dist/actions/get-available-time-slots.cjs.map +1 -1
  61. package/dist/actions/get-available-time-slots.d.cts +3 -5
  62. package/dist/actions/get-available-time-slots.d.cts.map +1 -1
  63. package/dist/actions/get-available-time-slots.d.mts +3 -5
  64. package/dist/actions/get-available-time-slots.d.mts.map +1 -1
  65. package/dist/actions/get-available-time-slots.mjs +1 -0
  66. package/dist/actions/get-available-time-slots.mjs.map +1 -1
  67. package/dist/actions/get-single-booking-calendar.cjs +1 -0
  68. package/dist/actions/get-single-booking-calendar.cjs.map +1 -1
  69. package/dist/actions/get-single-booking-calendar.d.cts +3 -3
  70. package/dist/actions/get-single-booking-calendar.d.cts.map +1 -1
  71. package/dist/actions/get-single-booking-calendar.d.mts +3 -3
  72. package/dist/actions/get-single-booking-calendar.d.mts.map +1 -1
  73. package/dist/actions/get-single-booking-calendar.mjs +1 -0
  74. package/dist/actions/get-single-booking-calendar.mjs.map +1 -1
  75. package/dist/actions/get-single-booking.cjs +1 -0
  76. package/dist/actions/get-single-booking.cjs.map +1 -1
  77. package/dist/actions/get-single-booking.d.cts +3 -4
  78. package/dist/actions/get-single-booking.d.cts.map +1 -1
  79. package/dist/actions/get-single-booking.d.mts +3 -4
  80. package/dist/actions/get-single-booking.d.mts.map +1 -1
  81. package/dist/actions/get-single-booking.mjs +1 -0
  82. package/dist/actions/get-single-booking.mjs.map +1 -1
  83. package/dist/actions/get-single-contact.cjs +1 -0
  84. package/dist/actions/get-single-contact.cjs.map +1 -1
  85. package/dist/actions/get-single-contact.d.cts +3 -3
  86. package/dist/actions/get-single-contact.d.cts.map +1 -1
  87. package/dist/actions/get-single-contact.d.mts +3 -3
  88. package/dist/actions/get-single-contact.d.mts.map +1 -1
  89. package/dist/actions/get-single-contact.mjs +1 -0
  90. package/dist/actions/get-single-contact.mjs.map +1 -1
  91. package/dist/actions/get-single-master-page.cjs +1 -0
  92. package/dist/actions/get-single-master-page.cjs.map +1 -1
  93. package/dist/actions/get-single-master-page.d.cts +3 -3
  94. package/dist/actions/get-single-master-page.d.cts.map +1 -1
  95. package/dist/actions/get-single-master-page.d.mts +3 -3
  96. package/dist/actions/get-single-master-page.d.mts.map +1 -1
  97. package/dist/actions/get-single-master-page.mjs +1 -0
  98. package/dist/actions/get-single-master-page.mjs.map +1 -1
  99. package/dist/actions/get-single-user.cjs +1 -0
  100. package/dist/actions/get-single-user.cjs.map +1 -1
  101. package/dist/actions/get-single-user.d.cts +3 -4
  102. package/dist/actions/get-single-user.d.cts.map +1 -1
  103. package/dist/actions/get-single-user.d.mts +3 -4
  104. package/dist/actions/get-single-user.d.mts.map +1 -1
  105. package/dist/actions/get-single-user.mjs +1 -0
  106. package/dist/actions/get-single-user.mjs.map +1 -1
  107. package/dist/actions/get-user-scheduling-availability.cjs +1 -0
  108. package/dist/actions/get-user-scheduling-availability.cjs.map +1 -1
  109. package/dist/actions/get-user-scheduling-availability.d.cts +3 -3
  110. package/dist/actions/get-user-scheduling-availability.d.cts.map +1 -1
  111. package/dist/actions/get-user-scheduling-availability.d.mts +3 -3
  112. package/dist/actions/get-user-scheduling-availability.d.mts.map +1 -1
  113. package/dist/actions/get-user-scheduling-availability.mjs +1 -0
  114. package/dist/actions/get-user-scheduling-availability.mjs.map +1 -1
  115. package/dist/actions/list-all-booking-calendars.cjs +1 -0
  116. package/dist/actions/list-all-booking-calendars.cjs.map +1 -1
  117. package/dist/actions/list-all-booking-calendars.d.cts +3 -5
  118. package/dist/actions/list-all-booking-calendars.d.cts.map +1 -1
  119. package/dist/actions/list-all-booking-calendars.d.mts +3 -5
  120. package/dist/actions/list-all-booking-calendars.d.mts.map +1 -1
  121. package/dist/actions/list-all-booking-calendars.mjs +1 -0
  122. package/dist/actions/list-all-booking-calendars.mjs.map +1 -1
  123. package/dist/actions/list-all-booking-pages.cjs +1 -0
  124. package/dist/actions/list-all-booking-pages.cjs.map +1 -1
  125. package/dist/actions/list-all-booking-pages.d.cts +3 -5
  126. package/dist/actions/list-all-booking-pages.d.cts.map +1 -1
  127. package/dist/actions/list-all-booking-pages.d.mts +3 -5
  128. package/dist/actions/list-all-booking-pages.d.mts.map +1 -1
  129. package/dist/actions/list-all-booking-pages.mjs +1 -0
  130. package/dist/actions/list-all-booking-pages.mjs.map +1 -1
  131. package/dist/actions/list-all-bookings.cjs +1 -0
  132. package/dist/actions/list-all-bookings.cjs.map +1 -1
  133. package/dist/actions/list-all-bookings.d.cts +3 -10
  134. package/dist/actions/list-all-bookings.d.cts.map +1 -1
  135. package/dist/actions/list-all-bookings.d.mts +3 -10
  136. package/dist/actions/list-all-bookings.d.mts.map +1 -1
  137. package/dist/actions/list-all-bookings.mjs +1 -0
  138. package/dist/actions/list-all-bookings.mjs.map +1 -1
  139. package/dist/actions/list-all-contacts.cjs +1 -0
  140. package/dist/actions/list-all-contacts.cjs.map +1 -1
  141. package/dist/actions/list-all-contacts.d.cts +3 -9
  142. package/dist/actions/list-all-contacts.d.cts.map +1 -1
  143. package/dist/actions/list-all-contacts.d.mts +3 -9
  144. package/dist/actions/list-all-contacts.d.mts.map +1 -1
  145. package/dist/actions/list-all-contacts.mjs +1 -0
  146. package/dist/actions/list-all-contacts.mjs.map +1 -1
  147. package/dist/actions/list-all-event-types.cjs +1 -0
  148. package/dist/actions/list-all-event-types.cjs.map +1 -1
  149. package/dist/actions/list-all-event-types.d.cts +3 -5
  150. package/dist/actions/list-all-event-types.d.cts.map +1 -1
  151. package/dist/actions/list-all-event-types.d.mts +3 -5
  152. package/dist/actions/list-all-event-types.d.mts.map +1 -1
  153. package/dist/actions/list-all-event-types.mjs +1 -0
  154. package/dist/actions/list-all-event-types.mjs.map +1 -1
  155. package/dist/actions/list-all-master-pages.cjs +1 -0
  156. package/dist/actions/list-all-master-pages.cjs.map +1 -1
  157. package/dist/actions/list-all-master-pages.d.cts +3 -5
  158. package/dist/actions/list-all-master-pages.d.cts.map +1 -1
  159. package/dist/actions/list-all-master-pages.d.mts +3 -5
  160. package/dist/actions/list-all-master-pages.d.mts.map +1 -1
  161. package/dist/actions/list-all-master-pages.mjs +1 -0
  162. package/dist/actions/list-all-master-pages.mjs.map +1 -1
  163. package/dist/actions/list-all-teams.cjs +1 -0
  164. package/dist/actions/list-all-teams.cjs.map +1 -1
  165. package/dist/actions/list-all-teams.d.cts +3 -5
  166. package/dist/actions/list-all-teams.d.cts.map +1 -1
  167. package/dist/actions/list-all-teams.d.mts +3 -5
  168. package/dist/actions/list-all-teams.d.mts.map +1 -1
  169. package/dist/actions/list-all-teams.mjs +1 -0
  170. package/dist/actions/list-all-teams.mjs.map +1 -1
  171. package/dist/actions/list-all-users.cjs +1 -0
  172. package/dist/actions/list-all-users.cjs.map +1 -1
  173. package/dist/actions/list-all-users.d.cts +3 -5
  174. package/dist/actions/list-all-users.d.cts.map +1 -1
  175. package/dist/actions/list-all-users.d.mts +3 -5
  176. package/dist/actions/list-all-users.d.mts.map +1 -1
  177. package/dist/actions/list-all-users.mjs +1 -0
  178. package/dist/actions/list-all-users.mjs.map +1 -1
  179. package/dist/actions/mark-booking-as-no-show.cjs +1 -0
  180. package/dist/actions/mark-booking-as-no-show.cjs.map +1 -1
  181. package/dist/actions/mark-booking-as-no-show.d.cts +3 -3
  182. package/dist/actions/mark-booking-as-no-show.d.cts.map +1 -1
  183. package/dist/actions/mark-booking-as-no-show.d.mts +3 -3
  184. package/dist/actions/mark-booking-as-no-show.d.mts.map +1 -1
  185. package/dist/actions/mark-booking-as-no-show.mjs +1 -0
  186. package/dist/actions/mark-booking-as-no-show.mjs.map +1 -1
  187. package/dist/actions/test-api-key.cjs +1 -0
  188. package/dist/actions/test-api-key.cjs.map +1 -1
  189. package/dist/actions/test-api-key.d.cts +3 -1
  190. package/dist/actions/test-api-key.d.cts.map +1 -1
  191. package/dist/actions/test-api-key.d.mts +3 -1
  192. package/dist/actions/test-api-key.d.mts.map +1 -1
  193. package/dist/actions/test-api-key.mjs +1 -0
  194. package/dist/actions/test-api-key.mjs.map +1 -1
  195. package/dist/actions/update-contact.cjs +1 -0
  196. package/dist/actions/update-contact.cjs.map +1 -1
  197. package/dist/actions/update-contact.d.cts +3 -8
  198. package/dist/actions/update-contact.d.cts.map +1 -1
  199. package/dist/actions/update-contact.d.mts +3 -8
  200. package/dist/actions/update-contact.d.mts.map +1 -1
  201. package/dist/actions/update-contact.mjs +1 -0
  202. package/dist/actions/update-contact.mjs.map +1 -1
  203. package/dist/actions/update-user-scheduling-availability.cjs +1 -0
  204. package/dist/actions/update-user-scheduling-availability.cjs.map +1 -1
  205. package/dist/actions/update-user-scheduling-availability.d.cts +3 -32
  206. package/dist/actions/update-user-scheduling-availability.d.cts.map +1 -1
  207. package/dist/actions/update-user-scheduling-availability.d.mts +3 -32
  208. package/dist/actions/update-user-scheduling-availability.d.mts.map +1 -1
  209. package/dist/actions/update-user-scheduling-availability.mjs +1 -0
  210. package/dist/actions/update-user-scheduling-availability.mjs.map +1 -1
  211. package/dist/actions/update-user.cjs +1 -0
  212. package/dist/actions/update-user.cjs.map +1 -1
  213. package/dist/actions/update-user.d.cts +3 -8
  214. package/dist/actions/update-user.d.cts.map +1 -1
  215. package/dist/actions/update-user.d.mts +3 -8
  216. package/dist/actions/update-user.d.mts.map +1 -1
  217. package/dist/actions/update-user.mjs +1 -0
  218. package/dist/actions/update-user.mjs.map +1 -1
  219. package/dist/app.cjs +5 -2
  220. package/dist/app.cjs.map +1 -1
  221. package/dist/app.d.cts +7 -1
  222. package/dist/app.d.cts.map +1 -1
  223. package/dist/app.d.mts +7 -1
  224. package/dist/app.d.mts.map +1 -1
  225. package/dist/app.mjs +3 -2
  226. package/dist/app.mjs.map +1 -1
  227. package/dist/index.d.cts +1 -1
  228. package/dist/index.d.mts +1 -1
  229. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"test-api-key.cjs","names":["z","action"],"sources":["../../src/actions/test-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceTestApiKeyInput = z.object({}).describe(\"Request model for testing API key authentication.\\nNo parameters required - authentication is performed via API-Key header.\");\nexport const ScheduleonceTestApiKeyOutput = z.object({\n uid: z.string().describe(\"Unique identifier returned in the response\").nullable().optional(),\n message: z.string().describe(\"Contains additional information about the API validation\").nullable().optional(),\n}).passthrough().describe(\"Response model for API key test endpoint.\");\n\nexport const scheduleonceTestApiKey = action(\"SCHEDULEONCE_TEST_API_KEY\", {\n slug: \"scheduleonce-test-api-key\",\n name: \"Test API Key\",\n description: \"Tool to validate API key authentication for OnceHub. Use when you need to verify that your API key is valid and active before making other API calls to the platform.\",\n input: ScheduleonceTestApiKeyInput,\n output: ScheduleonceTestApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H;AAC9L,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"test-api-key.cjs","names":["z","action"],"sources":["../../src/actions/test-api-key.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceTestApiKeyInput = z.object({}).describe(\"Request model for testing API key authentication.\\nNo parameters required - authentication is performed via API-Key header.\");\nexport const ScheduleonceTestApiKeyOutput = z.object({\n uid: z.string().describe(\"Unique identifier returned in the response\").nullable().optional(),\n message: z.string().describe(\"Contains additional information about the API validation\").nullable().optional(),\n}).passthrough().describe(\"Response model for API key test endpoint.\");\n\nexport const scheduleonceTestApiKey: AppAction<\n typeof ScheduleonceTestApiKeyInput,\n typeof ScheduleonceTestApiKeyOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_TEST_API_KEY\", {\n slug: \"scheduleonce-test-api-key\",\n name: \"Test API Key\",\n description: \"Tool to validate API key authentication for OnceHub. Use when you need to verify that your API key is valid and active before making other API calls to the platform.\",\n input: ScheduleonceTestApiKeyInput,\n output: ScheduleonceTestApiKeyOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H;AAC9L,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/test-api-key.d.ts
@@ -6,7 +8,7 @@ declare const ScheduleonceTestApiKeyOutput: z.ZodObject<{
6
8
  uid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
10
  }, z.core.$loose>;
9
- declare const scheduleonceTestApiKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const scheduleonceTestApiKey: AppAction<typeof ScheduleonceTestApiKeyInput, typeof ScheduleonceTestApiKeyOutput, typeof scheduleonce.credential>;
10
12
  //#endregion
11
13
  export { scheduleonceTestApiKey };
12
14
  //# sourceMappingURL=test-api-key.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-api-key.d.cts","names":[],"sources":["../../src/actions/test-api-key.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"test-api-key.d.cts","names":[],"sources":["../../src/actions/test-api-key.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/test-api-key.d.ts
@@ -6,7 +8,7 @@ declare const ScheduleonceTestApiKeyOutput: z.ZodObject<{
6
8
  uid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
9
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
10
  }, z.core.$loose>;
9
- declare const scheduleonceTestApiKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
11
+ declare const scheduleonceTestApiKey: AppAction<typeof ScheduleonceTestApiKeyInput, typeof ScheduleonceTestApiKeyOutput, typeof scheduleonce.credential>;
10
12
  //#endregion
11
13
  export { scheduleonceTestApiKey };
12
14
  //# sourceMappingURL=test-api-key.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"test-api-key.d.mts","names":[],"sources":["../../src/actions/test-api-key.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"test-api-key.d.mts","names":[],"sources":["../../src/actions/test-api-key.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scheduleonceTestApiKey = action("SCHEDULEONCE_TEST_API_KEY", {
@@ -1 +1 @@
1
- {"version":3,"file":"test-api-key.mjs","names":[],"sources":["../../src/actions/test-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceTestApiKeyInput = z.object({}).describe(\"Request model for testing API key authentication.\\nNo parameters required - authentication is performed via API-Key header.\");\nexport const ScheduleonceTestApiKeyOutput = z.object({\n uid: z.string().describe(\"Unique identifier returned in the response\").nullable().optional(),\n message: z.string().describe(\"Contains additional information about the API validation\").nullable().optional(),\n}).passthrough().describe(\"Response model for API key test endpoint.\");\n\nexport const scheduleonceTestApiKey = action(\"SCHEDULEONCE_TEST_API_KEY\", {\n slug: \"scheduleonce-test-api-key\",\n name: \"Test API Key\",\n description: \"Tool to validate API key authentication for OnceHub. Use when you need to verify that your API key is valid and active before making other API calls to the platform.\",\n input: ScheduleonceTestApiKeyInput,\n output: ScheduleonceTestApiKeyOutput,\n});\n"],"mappings":";;AAUA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAUxD;CACP,QAV0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"test-api-key.mjs","names":[],"sources":["../../src/actions/test-api-key.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceTestApiKeyInput = z.object({}).describe(\"Request model for testing API key authentication.\\nNo parameters required - authentication is performed via API-Key header.\");\nexport const ScheduleonceTestApiKeyOutput = z.object({\n uid: z.string().describe(\"Unique identifier returned in the response\").nullable().optional(),\n message: z.string().describe(\"Contains additional information about the API validation\").nullable().optional(),\n}).passthrough().describe(\"Response model for API key test endpoint.\");\n\nexport const scheduleonceTestApiKey: AppAction<\n typeof ScheduleonceTestApiKeyInput,\n typeof ScheduleonceTestApiKeyOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_TEST_API_KEY\", {\n slug: \"scheduleonce-test-api-key\",\n name: \"Test API Key\",\n description: \"Tool to validate API key authentication for OnceHub. Use when you need to verify that your API key is valid and active before making other API calls to the platform.\",\n input: ScheduleonceTestApiKeyInput,\n output: ScheduleonceTestApiKeyOutput,\n});\n"],"mappings":";;;AAYA,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAcxD;CACP,QAd0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-contact.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact: AppAction<\n typeof ScheduleonceUpdateContactInput,\n typeof ScheduleonceUpdateContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC7E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact.d.ts
@@ -19,14 +21,7 @@ declare const ScheduleonceUpdateContactOutput: z.ZodObject<{
19
21
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>;
22
- declare const scheduleonceUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- id: string;
24
- email?: string | undefined;
25
- phone?: string | undefined;
26
- company?: string | undefined;
27
- last_name?: string | undefined;
28
- first_name?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const scheduleonceUpdateContact: AppAction<typeof ScheduleonceUpdateContactInput, typeof ScheduleonceUpdateContactOutput, typeof scheduleonce.credential>;
30
25
  //#endregion
31
26
  export { scheduleonceUpdateContact };
32
27
  //# sourceMappingURL=update-contact.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAW/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAW/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-contact.d.ts
@@ -19,14 +21,7 @@ declare const ScheduleonceUpdateContactOutput: z.ZodObject<{
19
21
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
22
  updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>;
22
- declare const scheduleonceUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- id: string;
24
- email?: string | undefined;
25
- phone?: string | undefined;
26
- company?: string | undefined;
27
- last_name?: string | undefined;
28
- first_name?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const scheduleonceUpdateContact: AppAction<typeof ScheduleonceUpdateContactInput, typeof ScheduleonceUpdateContactOutput, typeof scheduleonce.credential>;
30
25
  //#endregion
31
26
  export { scheduleonceUpdateContact };
32
27
  //# sourceMappingURL=update-contact.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAW/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAW/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scheduleonceUpdateContact = action("SCHEDULEONCE_UPDATE_CONTACT", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":";;AAuBA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,kEAgBH;CACP,QAhB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact: AppAction<\n typeof ScheduleonceUpdateContactInput,\n typeof ScheduleonceUpdateContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,kEAoBH;CACP,QApB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/update-user-scheduling-availability.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-user-scheduling-availability.cjs","names":["z","action"],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: ScheduleonceUpdateUserSchedulingAvailabilityInput,\n output: ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACpF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,KAAKA,IAAAA,EAAE,KAAK;GAAC;GAAU;GAAU;GAAW;GAAa;GAAY;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,iBAAiB;EACtH,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAChC,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;GACjF,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;IAC5B,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;IACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;GACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;GACvM,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;EACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3L,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,wGAAwG;CAC3M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CAC9J,WAAWA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC5B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,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7E,WAAWA,IAAAA,EAAE,MAAM,6EAA6E,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,+CAA+CC,eAAAA,OAAO,oDAAoD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user-scheduling-availability.cjs","names":["z","action"],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability: AppAction<\n typeof ScheduleonceUpdateUserSchedulingAvailabilityInput,\n typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: ScheduleonceUpdateUserSchedulingAvailabilityInput,\n output: ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC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H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,+CAITC,eAAAA,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-user-scheduling-availability.d.ts
@@ -63,38 +65,7 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
63
65
  }, z.core.$loose>>>>;
64
66
  last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
67
  }, z.core.$loose>;
66
- declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
67
- id: string;
68
- weekly: {
69
- [x: string]: unknown;
70
- day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
71
- working_hours?: {
72
- [x: string]: unknown;
73
- end_time: string;
74
- start_time: string;
75
- locations?: {
76
- [x: string]: unknown;
77
- id?: string | undefined;
78
- name?: string | undefined;
79
- }[] | undefined;
80
- }[] | undefined;
81
- }[];
82
- timezone: string;
83
- overrides?: {
84
- [x: string]: unknown;
85
- date: string;
86
- working_hours?: {
87
- [x: string]: unknown;
88
- end_time: string;
89
- start_time: string;
90
- locations?: {
91
- [x: string]: unknown;
92
- id?: string | undefined;
93
- name?: string | undefined;
94
- }[] | undefined;
95
- }[] | undefined;
96
- }[] | undefined;
97
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
68
+ declare const scheduleonceUpdateUserSchedulingAvailability: AppAction<typeof ScheduleonceUpdateUserSchedulingAvailabilityInput, typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput, typeof scheduleonce.credential>;
98
69
  //#endregion
99
70
  export { scheduleonceUpdateUserSchedulingAvailability };
100
71
  //# sourceMappingURL=update-user-scheduling-availability.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user-scheduling-availability.d.cts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlD,4CAAA,gCAA4C,wBAAA"}
1
+ {"version":3,"file":"update-user-scheduling-availability.d.cts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-user-scheduling-availability.d.ts
@@ -63,38 +65,7 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
63
65
  }, z.core.$loose>>>>;
64
66
  last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
67
  }, z.core.$loose>;
66
- declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
67
- id: string;
68
- weekly: {
69
- [x: string]: unknown;
70
- day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
71
- working_hours?: {
72
- [x: string]: unknown;
73
- end_time: string;
74
- start_time: string;
75
- locations?: {
76
- [x: string]: unknown;
77
- id?: string | undefined;
78
- name?: string | undefined;
79
- }[] | undefined;
80
- }[] | undefined;
81
- }[];
82
- timezone: string;
83
- overrides?: {
84
- [x: string]: unknown;
85
- date: string;
86
- working_hours?: {
87
- [x: string]: unknown;
88
- end_time: string;
89
- start_time: string;
90
- locations?: {
91
- [x: string]: unknown;
92
- id?: string | undefined;
93
- name?: string | undefined;
94
- }[] | undefined;
95
- }[] | undefined;
96
- }[] | undefined;
97
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
68
+ declare const scheduleonceUpdateUserSchedulingAvailability: AppAction<typeof ScheduleonceUpdateUserSchedulingAvailabilityInput, typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput, typeof scheduleonce.credential>;
98
69
  //#endregion
99
70
  export { scheduleonceUpdateUserSchedulingAvailability };
100
71
  //# sourceMappingURL=update-user-scheduling-availability.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user-scheduling-availability.d.mts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":";;;cAIa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlD,4CAAA,gCAA4C,wBAAA"}
1
+ {"version":3,"file":"update-user-scheduling-availability.d.mts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/update-user-scheduling-availability.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-user-scheduling-availability.mjs","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: ScheduleonceUpdateUserSchedulingAvailabilityInput,\n output: ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oDAAoD,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACpF,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,KAAK,EAAE,KAAK;GAAC;GAAU;GAAU;GAAW;GAAa;GAAY;GAAU;EAAU,CAAC,CAAC,CAAC,SAAS,iBAAiB;EACtH,eAAe,EAAE,MAAM,EAAE,OAAO;GAChC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;GACjF,WAAW,EAAE,MAAM,EAAE,OAAO;IAC5B,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;IACxD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;GACtD,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qD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AC,SAAS;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,MAAM,6EAA6E,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-user-scheduling-availability.mjs","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability: AppAction<\n typeof ScheduleonceUpdateUserSchedulingAvailabilityInput,\n typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: Schedu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zod");
3
4
  //#region src/actions/update-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to update (e.g., 'USR-DQ27BRAJ4L').\"),\n email: z.string().describe(\"Updated email address of the user.\").optional(),\n timezone: z.string().describe(\"Updated timezone for the user (e.g., 'America/Chicago', 'Europe/London').\").optional(),\n last_name: z.string().describe(\"Updated last name of the user.\").optional(),\n role_name: z.string().describe(\"Updated role name for the user (e.g., 'Member', 'Admin').\").optional(),\n first_name: z.string().describe(\"Updated first name of the user.\").optional(),\n}).describe(\"Request model for updating an existing user.\");\nexport const ScheduleonceUpdateUserOutput = 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}).passthrough().describe(\"Response model for the updated user.\");\n\nexport const scheduleonceUpdateUser = action(\"SCHEDULEONCE_UPDATE_USER\", {\n slug: \"scheduleonce-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in OnceHub. Use when you need to modify user information such as name, email, role, or timezone.\",\n input: ScheduleonceUpdateUserInput,\n output: ScheduleonceUpdateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,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AAS,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,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to update (e.g., 'USR-DQ27BRAJ4L').\"),\n email: z.string().describe(\"Updated email address of the user.\").optional(),\n timezone: z.string().describe(\"Updated timezone for the user (e.g., 'America/Chicago', 'Europe/London').\").optional(),\n last_name: z.string().describe(\"Updated last name of the user.\").optional(),\n role_name: z.string().describe(\"Updated role name for the user (e.g., 'Member', 'Admin').\").optional(),\n first_name: z.string().describe(\"Updated first name of the user.\").optional(),\n}).describe(\"Request model for updating an existing user.\");\nexport const ScheduleonceUpdateUserOutput = 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}).passthrough().describe(\"Response model for the updated user.\");\n\nexport const scheduleonceUpdateUser: AppAction<\n typeof ScheduleonceUpdateUserInput,\n typeof ScheduleonceUpdateUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER\", {\n slug: \"scheduleonce-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in OnceHub. Use when you need to modify user information such as name, email, role, or timezone.\",\n input: ScheduleonceUpdateUserInput,\n output: ScheduleonceUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACrG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,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,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-user.d.ts
@@ -20,14 +22,7 @@ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
20
22
  role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>;
23
- declare const scheduleonceUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- id: string;
25
- email?: string | undefined;
26
- timezone?: string | undefined;
27
- last_name?: string | undefined;
28
- role_name?: string | undefined;
29
- first_name?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const scheduleonceUpdateUser: AppAction<typeof ScheduleonceUpdateUserInput, typeof ScheduleonceUpdateUserOutput, typeof scheduleonce.credential>;
31
26
  //#endregion
32
27
  export { scheduleonceUpdateUser };
33
28
  //# sourceMappingURL=update-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { scheduleonce } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/update-user.d.ts
@@ -20,14 +22,7 @@ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
20
22
  role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>;
23
- declare const scheduleonceUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- id: string;
25
- email?: string | undefined;
26
- timezone?: string | undefined;
27
- last_name?: string | undefined;
28
- role_name?: string | undefined;
29
- first_name?: string | undefined;
30
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ declare const scheduleonceUpdateUser: AppAction<typeof ScheduleonceUpdateUserInput, typeof ScheduleonceUpdateUserOutput, typeof scheduleonce.credential>;
31
26
  //#endregion
32
27
  export { scheduleonceUpdateUser };
33
28
  //# sourceMappingURL=update-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5B,sBAAA,gCAAsB,wBAAA"}
1
+ {"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const scheduleonceUpdateUser = action("SCHEDULEONCE_UPDATE_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to update (e.g., 'USR-DQ27BRAJ4L').\"),\n email: z.string().describe(\"Updated email address of the user.\").optional(),\n timezone: z.string().describe(\"Updated timezone for the user (e.g., 'America/Chicago', 'Europe/London').\").optional(),\n last_name: z.string().describe(\"Updated last name of the user.\").optional(),\n role_name: z.string().describe(\"Updated role name for the user (e.g., 'Member', 'Admin').\").optional(),\n first_name: z.string().describe(\"Updated first name of the user.\").optional(),\n}).describe(\"Request model for updating an existing user.\");\nexport const ScheduleonceUpdateUserOutput = 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}).passthrough().describe(\"Response model for the updated user.\");\n\nexport const scheduleonceUpdateUser = action(\"SCHEDULEONCE_UPDATE_USER\", {\n slug: \"scheduleonce-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in OnceHub. Use when you need to modify user information such as name, email, role, or timezone.\",\n input: ScheduleonceUpdateUserInput,\n output: ScheduleonceUpdateUserOutput,\n});\n"],"mappings":";;AAwBA,MAAa,yBAAyB,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,8CAiBH;CACP,QAjB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to update (e.g., 'USR-DQ27BRAJ4L').\"),\n email: z.string().describe(\"Updated email address of the user.\").optional(),\n timezone: z.string().describe(\"Updated timezone for the user (e.g., 'America/Chicago', 'Europe/London').\").optional(),\n last_name: z.string().describe(\"Updated last name of the user.\").optional(),\n role_name: z.string().describe(\"Updated role name for the user (e.g., 'Member', 'Admin').\").optional(),\n first_name: z.string().describe(\"Updated first name of the user.\").optional(),\n}).describe(\"Request model for updating an existing user.\");\nexport const ScheduleonceUpdateUserOutput = 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}).passthrough().describe(\"Response model for the updated user.\");\n\nexport const scheduleonceUpdateUser: AppAction<\n typeof ScheduleonceUpdateUserInput,\n typeof ScheduleonceUpdateUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER\", {\n slug: \"scheduleonce-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in OnceHub. Use when you need to modify user information such as name, email, role, or timezone.\",\n input: ScheduleonceUpdateUserInput,\n output: ScheduleonceUpdateUserOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5ByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,8CAqBH;CACP,QArB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
package/dist/app.cjs CHANGED
@@ -1,7 +1,10 @@
1
+ let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
1
2
  //#region src/app.ts
2
- const scheduleonce = (0, require("@keystrokehq/keystroke/app").defineApp)({
3
+ const credential = { generic_api_key: require("zod").z.string() };
4
+ const scheduleonce = (0, _keystrokehq_keystroke_app.defineApp)({
3
5
  slug: "scheduleonce",
4
- auth: "keystroke"
6
+ auth: "keystroke",
7
+ credential
5
8
  });
6
9
  //#endregion
7
10
  exports.scheduleonce = scheduleonce;
package/dist/app.cjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const scheduleonce = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n});\n"],"mappings":";AAEA,MAAa,gBAAA,uCAAA,CAAA,CAAA,UAAA,CAAyB;CACpC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const scheduleonce: KeystrokeApp<\"scheduleonce\", typeof credential> = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,gBAAA,GAAA,2BAAA,UAAA,CAA0E;CACrF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
package/dist/app.d.cts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const scheduleonce: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const scheduleonce: KeystrokeApp<"scheduleonce", typeof credential>;
3
9
  //#endregion
4
10
  export { scheduleonce };
5
11
  //# sourceMappingURL=app.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,YAAA,6BAAY,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,YAAA,EAAc,YAAY,wBAAwB,UAAA"}
package/dist/app.d.mts CHANGED
@@ -1,5 +1,11 @@
1
+ import { KeystrokeApp } from "@keystrokehq/keystroke/app";
2
+ import { z } from "zod";
3
+
1
4
  //#region src/app.d.ts
2
- declare const scheduleonce: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential>;
5
+ declare const credential: {
6
+ generic_api_key: z.ZodString;
7
+ };
8
+ declare const scheduleonce: KeystrokeApp<"scheduleonce", typeof credential>;
3
9
  //#endregion
4
10
  export { scheduleonce };
5
11
  //# sourceMappingURL=app.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";cAEa,YAAA,6BAAY,GAAA,+BAAA,UAAA"}
1
+ {"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,YAAA,EAAc,YAAY,wBAAwB,UAAA"}
package/dist/app.mjs CHANGED
@@ -1,8 +1,9 @@
1
1
  import { defineApp } from "@keystrokehq/keystroke/app";
2
- //#region src/app.ts
2
+ import { z } from "zod";
3
3
  const scheduleonce = defineApp({
4
4
  slug: "scheduleonce",
5
- auth: "keystroke"
5
+ auth: "keystroke",
6
+ credential: { generic_api_key: z.string() }
6
7
  });
7
8
  //#endregion
8
9
  export { scheduleonce };
package/dist/app.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const scheduleonce = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n});\n"],"mappings":";;AAEA,MAAa,eAAe,UAAU;CACpC,MAAM;CACN,MAAM;AACR,CAAC"}
1
+ {"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const scheduleonce: KeystrokeApp<\"scheduleonce\", typeof credential> = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,eAAgE,UAAU;CACrF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}