@keystrokehq/scheduleonce 0.1.0 → 0.1.2

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 (195) 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 +2 -2
  4. package/dist/actions/book-time-slot.cjs.map +1 -1
  5. package/dist/actions/book-time-slot.d.cts +80 -3
  6. package/dist/actions/book-time-slot.d.cts.map +1 -1
  7. package/dist/actions/book-time-slot.d.mts +80 -3
  8. package/dist/actions/book-time-slot.d.mts.map +1 -1
  9. package/dist/actions/book-time-slot.mjs +2 -2
  10. package/dist/actions/book-time-slot.mjs.map +1 -1
  11. package/dist/actions/cancel-booking.cjs +4 -4
  12. package/dist/actions/cancel-booking.cjs.map +1 -1
  13. package/dist/actions/cancel-booking.d.cts +50 -3
  14. package/dist/actions/cancel-booking.d.cts.map +1 -1
  15. package/dist/actions/cancel-booking.d.mts +50 -3
  16. package/dist/actions/cancel-booking.d.mts.map +1 -1
  17. package/dist/actions/cancel-booking.mjs +4 -4
  18. package/dist/actions/cancel-booking.mjs.map +1 -1
  19. package/dist/actions/create-contact.cjs +3 -3
  20. package/dist/actions/create-contact.cjs.map +1 -1
  21. package/dist/actions/create-contact.d.cts +61 -3
  22. package/dist/actions/create-contact.d.cts.map +1 -1
  23. package/dist/actions/create-contact.d.mts +61 -3
  24. package/dist/actions/create-contact.d.mts.map +1 -1
  25. package/dist/actions/create-contact.mjs +3 -3
  26. package/dist/actions/create-contact.mjs.map +1 -1
  27. package/dist/actions/create-one-time-link-for-booking-calendar.cjs.map +1 -1
  28. package/dist/actions/create-one-time-link-for-booking-calendar.d.cts +27 -3
  29. package/dist/actions/create-one-time-link-for-booking-calendar.d.cts.map +1 -1
  30. package/dist/actions/create-one-time-link-for-booking-calendar.d.mts +27 -3
  31. package/dist/actions/create-one-time-link-for-booking-calendar.d.mts.map +1 -1
  32. package/dist/actions/create-one-time-link-for-booking-calendar.mjs.map +1 -1
  33. package/dist/actions/create-user.cjs.map +1 -1
  34. package/dist/actions/create-user.d.cts +23 -3
  35. package/dist/actions/create-user.d.cts.map +1 -1
  36. package/dist/actions/create-user.d.mts +23 -3
  37. package/dist/actions/create-user.d.mts.map +1 -1
  38. package/dist/actions/create-user.mjs.map +1 -1
  39. package/dist/actions/delete-contact.cjs.map +1 -1
  40. package/dist/actions/delete-contact.d.cts +10 -3
  41. package/dist/actions/delete-contact.d.cts.map +1 -1
  42. package/dist/actions/delete-contact.d.mts +10 -3
  43. package/dist/actions/delete-contact.d.mts.map +1 -1
  44. package/dist/actions/delete-contact.mjs.map +1 -1
  45. package/dist/actions/delete-user.cjs.map +1 -1
  46. package/dist/actions/delete-user.d.cts +10 -3
  47. package/dist/actions/delete-user.d.cts.map +1 -1
  48. package/dist/actions/delete-user.d.mts +10 -3
  49. package/dist/actions/delete-user.d.mts.map +1 -1
  50. package/dist/actions/delete-user.mjs.map +1 -1
  51. package/dist/actions/get-available-time-slots.cjs.map +1 -1
  52. package/dist/actions/get-available-time-slots.d.cts +20 -3
  53. package/dist/actions/get-available-time-slots.d.cts.map +1 -1
  54. package/dist/actions/get-available-time-slots.d.mts +20 -3
  55. package/dist/actions/get-available-time-slots.d.mts.map +1 -1
  56. package/dist/actions/get-available-time-slots.mjs.map +1 -1
  57. package/dist/actions/get-single-booking-calendar.cjs +8 -8
  58. package/dist/actions/get-single-booking-calendar.cjs.map +1 -1
  59. package/dist/actions/get-single-booking-calendar.d.cts +16 -3
  60. package/dist/actions/get-single-booking-calendar.d.cts.map +1 -1
  61. package/dist/actions/get-single-booking-calendar.d.mts +16 -3
  62. package/dist/actions/get-single-booking-calendar.d.mts.map +1 -1
  63. package/dist/actions/get-single-booking-calendar.mjs +8 -8
  64. package/dist/actions/get-single-booking-calendar.mjs.map +1 -1
  65. package/dist/actions/get-single-booking.cjs +3 -3
  66. package/dist/actions/get-single-booking.cjs.map +1 -1
  67. package/dist/actions/get-single-booking.d.cts +48 -3
  68. package/dist/actions/get-single-booking.d.cts.map +1 -1
  69. package/dist/actions/get-single-booking.d.mts +48 -3
  70. package/dist/actions/get-single-booking.d.mts.map +1 -1
  71. package/dist/actions/get-single-booking.mjs +3 -3
  72. package/dist/actions/get-single-booking.mjs.map +1 -1
  73. package/dist/actions/get-single-contact.cjs +3 -3
  74. package/dist/actions/get-single-contact.cjs.map +1 -1
  75. package/dist/actions/get-single-contact.d.cts +35 -3
  76. package/dist/actions/get-single-contact.d.cts.map +1 -1
  77. package/dist/actions/get-single-contact.d.mts +35 -3
  78. package/dist/actions/get-single-contact.d.mts.map +1 -1
  79. package/dist/actions/get-single-contact.mjs +3 -3
  80. package/dist/actions/get-single-contact.mjs.map +1 -1
  81. package/dist/actions/get-single-master-page.cjs +6 -6
  82. package/dist/actions/get-single-master-page.cjs.map +1 -1
  83. package/dist/actions/get-single-master-page.d.cts +14 -3
  84. package/dist/actions/get-single-master-page.d.cts.map +1 -1
  85. package/dist/actions/get-single-master-page.d.mts +14 -3
  86. package/dist/actions/get-single-master-page.d.mts.map +1 -1
  87. package/dist/actions/get-single-master-page.mjs +6 -6
  88. package/dist/actions/get-single-master-page.mjs.map +1 -1
  89. package/dist/actions/get-single-user.cjs +2 -2
  90. package/dist/actions/get-single-user.cjs.map +1 -1
  91. package/dist/actions/get-single-user.d.cts +19 -3
  92. package/dist/actions/get-single-user.d.cts.map +1 -1
  93. package/dist/actions/get-single-user.d.mts +19 -3
  94. package/dist/actions/get-single-user.d.mts.map +1 -1
  95. package/dist/actions/get-single-user.mjs +2 -2
  96. package/dist/actions/get-single-user.mjs.map +1 -1
  97. package/dist/actions/get-user-scheduling-availability.cjs.map +1 -1
  98. package/dist/actions/get-user-scheduling-availability.d.cts +34 -3
  99. package/dist/actions/get-user-scheduling-availability.d.cts.map +1 -1
  100. package/dist/actions/get-user-scheduling-availability.d.mts +34 -3
  101. package/dist/actions/get-user-scheduling-availability.d.mts.map +1 -1
  102. package/dist/actions/get-user-scheduling-availability.mjs.map +1 -1
  103. package/dist/actions/list-all-booking-calendars.cjs.map +1 -1
  104. package/dist/actions/list-all-booking-calendars.d.cts +22 -3
  105. package/dist/actions/list-all-booking-calendars.d.cts.map +1 -1
  106. package/dist/actions/list-all-booking-calendars.d.mts +22 -3
  107. package/dist/actions/list-all-booking-calendars.d.mts.map +1 -1
  108. package/dist/actions/list-all-booking-calendars.mjs.map +1 -1
  109. package/dist/actions/list-all-booking-pages.cjs.map +1 -1
  110. package/dist/actions/list-all-booking-pages.d.cts +21 -3
  111. package/dist/actions/list-all-booking-pages.d.cts.map +1 -1
  112. package/dist/actions/list-all-booking-pages.d.mts +21 -3
  113. package/dist/actions/list-all-booking-pages.d.mts.map +1 -1
  114. package/dist/actions/list-all-booking-pages.mjs.map +1 -1
  115. package/dist/actions/list-all-bookings.cjs +1 -1
  116. package/dist/actions/list-all-bookings.cjs.map +1 -1
  117. package/dist/actions/list-all-bookings.d.cts +60 -3
  118. package/dist/actions/list-all-bookings.d.cts.map +1 -1
  119. package/dist/actions/list-all-bookings.d.mts +60 -3
  120. package/dist/actions/list-all-bookings.d.mts.map +1 -1
  121. package/dist/actions/list-all-bookings.mjs +1 -1
  122. package/dist/actions/list-all-bookings.mjs.map +1 -1
  123. package/dist/actions/list-all-contacts.cjs +1 -1
  124. package/dist/actions/list-all-contacts.cjs.map +1 -1
  125. package/dist/actions/list-all-contacts.d.cts +52 -3
  126. package/dist/actions/list-all-contacts.d.cts.map +1 -1
  127. package/dist/actions/list-all-contacts.d.mts +52 -3
  128. package/dist/actions/list-all-contacts.d.mts.map +1 -1
  129. package/dist/actions/list-all-contacts.mjs +1 -1
  130. package/dist/actions/list-all-contacts.mjs.map +1 -1
  131. package/dist/actions/list-all-event-types.cjs.map +1 -1
  132. package/dist/actions/list-all-event-types.d.cts +18 -3
  133. package/dist/actions/list-all-event-types.d.cts.map +1 -1
  134. package/dist/actions/list-all-event-types.d.mts +18 -3
  135. package/dist/actions/list-all-event-types.d.mts.map +1 -1
  136. package/dist/actions/list-all-event-types.mjs.map +1 -1
  137. package/dist/actions/list-all-master-pages.cjs.map +1 -1
  138. package/dist/actions/list-all-master-pages.d.cts +20 -3
  139. package/dist/actions/list-all-master-pages.d.cts.map +1 -1
  140. package/dist/actions/list-all-master-pages.d.mts +20 -3
  141. package/dist/actions/list-all-master-pages.d.mts.map +1 -1
  142. package/dist/actions/list-all-master-pages.mjs.map +1 -1
  143. package/dist/actions/list-all-teams.cjs.map +1 -1
  144. package/dist/actions/list-all-teams.d.cts +21 -3
  145. package/dist/actions/list-all-teams.d.cts.map +1 -1
  146. package/dist/actions/list-all-teams.d.mts +21 -3
  147. package/dist/actions/list-all-teams.d.mts.map +1 -1
  148. package/dist/actions/list-all-teams.mjs.map +1 -1
  149. package/dist/actions/list-all-users.cjs.map +1 -1
  150. package/dist/actions/list-all-users.d.cts +23 -3
  151. package/dist/actions/list-all-users.d.cts.map +1 -1
  152. package/dist/actions/list-all-users.d.mts +23 -3
  153. package/dist/actions/list-all-users.d.mts.map +1 -1
  154. package/dist/actions/list-all-users.mjs.map +1 -1
  155. package/dist/actions/mark-booking-as-no-show.cjs +5 -5
  156. package/dist/actions/mark-booking-as-no-show.cjs.map +1 -1
  157. package/dist/actions/mark-booking-as-no-show.d.cts +56 -3
  158. package/dist/actions/mark-booking-as-no-show.d.cts.map +1 -1
  159. package/dist/actions/mark-booking-as-no-show.d.mts +56 -3
  160. package/dist/actions/mark-booking-as-no-show.d.mts.map +1 -1
  161. package/dist/actions/mark-booking-as-no-show.mjs +5 -5
  162. package/dist/actions/mark-booking-as-no-show.mjs.map +1 -1
  163. package/dist/actions/test-api-key.cjs.map +1 -1
  164. package/dist/actions/test-api-key.d.cts +6 -3
  165. package/dist/actions/test-api-key.d.cts.map +1 -1
  166. package/dist/actions/test-api-key.d.mts +6 -3
  167. package/dist/actions/test-api-key.d.mts.map +1 -1
  168. package/dist/actions/test-api-key.mjs.map +1 -1
  169. package/dist/actions/update-contact.cjs +1 -1
  170. package/dist/actions/update-contact.cjs.map +1 -1
  171. package/dist/actions/update-contact.d.cts +26 -3
  172. package/dist/actions/update-contact.d.cts.map +1 -1
  173. package/dist/actions/update-contact.d.mts +26 -3
  174. package/dist/actions/update-contact.d.mts.map +1 -1
  175. package/dist/actions/update-contact.mjs +1 -1
  176. package/dist/actions/update-contact.mjs.map +1 -1
  177. package/dist/actions/update-user-scheduling-availability.cjs.map +1 -1
  178. package/dist/actions/update-user-scheduling-availability.d.cts +88 -3
  179. package/dist/actions/update-user-scheduling-availability.d.cts.map +1 -1
  180. package/dist/actions/update-user-scheduling-availability.d.mts +88 -3
  181. package/dist/actions/update-user-scheduling-availability.d.mts.map +1 -1
  182. package/dist/actions/update-user-scheduling-availability.mjs.map +1 -1
  183. package/dist/actions/update-user.cjs.map +1 -1
  184. package/dist/actions/update-user.d.cts +27 -3
  185. package/dist/actions/update-user.d.cts.map +1 -1
  186. package/dist/actions/update-user.d.mts +27 -3
  187. package/dist/actions/update-user.d.mts.map +1 -1
  188. package/dist/actions/update-user.mjs.map +1 -1
  189. package/dist/catalog.cjs +7 -1
  190. package/dist/catalog.cjs.map +1 -1
  191. package/dist/catalog.d.cts +8 -0
  192. package/dist/catalog.d.mts +8 -0
  193. package/dist/catalog.mjs +7 -1
  194. package/dist/catalog.mjs.map +1 -1
  195. package/package.json +2 -2
@@ -1,9 +1,12 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/test-api-key.d.ts
4
- declare const ScheduleonceTestApiKeyInput: z.ZodTypeAny;
5
- declare const ScheduleonceTestApiKeyOutput: z.ZodTypeAny;
6
- declare const scheduleonceTestApiKey: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScheduleonceTestApiKeyInput: z.ZodObject<{}, z.core.$strip>;
5
+ declare const ScheduleonceTestApiKeyOutput: z.ZodObject<{
6
+ uid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
+ message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8
+ }, z.core.$strip>;
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]>;
7
10
  //#endregion
8
11
  export { scheduleonceTestApiKey };
9
12
  //# 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,EAA6B,CAAA,CAAE,UAAiK;AAAA,cAChM,4BAAA,EAA8B,CAAA,CAAE,UAGW;AAAA,cAE3C,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +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.ZodTypeAny = z.object({}).describe(\"Request model for testing API key authentication.\\nNo parameters required - authentication is performed via API-Key header.\");\nexport const ScheduleonceTestApiKeyOutput: z.ZodTypeAny = 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}).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,OAVuD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAUtE;CACP,QAVwD,EAAE,OAAO;EACjE,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,SAAS,2CAOF;AACV,CAAC"}
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}).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,SAAS,2CAOF;AACV,CAAC"}
@@ -10,7 +10,7 @@ const ScheduleonceUpdateContactInput = zod.z.object({
10
10
  first_name: zod.z.string().describe("Updated first name of the contact.").optional()
11
11
  }).describe("Request schema for updating an existing contact in ScheduleOnce.");
12
12
  const ScheduleonceUpdateContactOutput = zod.z.object({
13
- id: zod.z.string().describe("Unique identifier of the contact."),
13
+ id: zod.z.string().describe("Unique identifier of the contact.").nullable(),
14
14
  email: zod.z.string().describe("Email address of the contact.").nullable().optional(),
15
15
  phone: zod.z.string().describe("Phone number of the contact.").nullable().optional(),
16
16
  company: zod.z.string().describe("Company name associated with the contact.").nullable().optional(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\"),\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}).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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAC3D,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,SAAS,0DAA0D;AAEtE,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 { 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}).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,SAAS,0DAA0D;AAEtE,MAAa,4BAA4BC,eAAAA,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-contact.d.ts
4
- declare const ScheduleonceUpdateContactInput: z.ZodTypeAny;
5
- declare const ScheduleonceUpdateContactOutput: z.ZodTypeAny;
6
- declare const scheduleonceUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScheduleonceUpdateContactInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ phone: z.ZodOptional<z.ZodString>;
8
+ company: z.ZodOptional<z.ZodString>;
9
+ last_name: z.ZodOptional<z.ZodString>;
10
+ first_name: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ScheduleonceUpdateContactOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>;
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]>;
7
30
  //#endregion
8
31
  export { scheduleonceUpdateContact };
9
32
  //# 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,EAAgC,CAAA,CAAE,UAOgC;AAAA,cAClE,+BAAA,EAAiC,CAAA,CAAE,UASuB;AAAA,cAE1D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-contact.d.ts
4
- declare const ScheduleonceUpdateContactInput: z.ZodTypeAny;
5
- declare const ScheduleonceUpdateContactOutput: z.ZodTypeAny;
6
- declare const scheduleonceUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScheduleonceUpdateContactInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ phone: z.ZodOptional<z.ZodString>;
8
+ company: z.ZodOptional<z.ZodString>;
9
+ last_name: z.ZodOptional<z.ZodString>;
10
+ first_name: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ScheduleonceUpdateContactOutput: z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>;
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]>;
7
30
  //#endregion
8
31
  export { scheduleonceUpdateContact };
9
32
  //# 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,EAAgC,CAAA,CAAE,UAOgC;AAAA,cAClE,+BAAA,EAAiC,CAAA,CAAE,UASuB;AAAA,cAE1D,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -13,7 +13,7 @@ const scheduleonceUpdateContact = action("SCHEDULEONCE_UPDATE_CONTACT", {
13
13
  first_name: z.string().describe("Updated first name of the contact.").optional()
14
14
  }).describe("Request schema for updating an existing contact in ScheduleOnce."),
15
15
  output: z.object({
16
- id: z.string().describe("Unique identifier of the contact."),
16
+ id: z.string().describe("Unique identifier of the contact.").nullable(),
17
17
  email: z.string().describe("Email address of the contact.").nullable().optional(),
18
18
  phone: z.string().describe("Phone number of the contact.").nullable().optional(),
19
19
  company: z.string().describe("Company name associated with the contact.").nullable().optional(),
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\"),\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}).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,OAvB0D,EAAE,OAAO;EACnE,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,QAhB2D,EAAE,OAAO;EACpE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAC3D,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,SAAS,0DAOF;AACV,CAAC"}
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}).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,SAAS,0DAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = 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}).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}).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}).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}).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}).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}).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.ZodTypeAny = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema: z.ZodTypeAny = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(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}).describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema: z.ZodTypeAny = 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}).describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodTypeAny = 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}).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: ScheduleonceUpdateUserSch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;AAEvE,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 { 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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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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AAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,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,SAAS,2DAA2D;AAEvE,MAAa,+CAA+CC,eAAAA,OAAO,oDAAoD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,94 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user-scheduling-availability.d.ts
4
- declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodTypeAny;
5
- declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodTypeAny;
6
- declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ weekly: z.ZodArray<z.ZodObject<{
7
+ day: z.ZodEnum<{
8
+ Sunday: "Sunday";
9
+ Monday: "Monday";
10
+ Tuesday: "Tuesday";
11
+ Wednesday: "Wednesday";
12
+ Thursday: "Thursday";
13
+ Friday: "Friday";
14
+ Saturday: "Saturday";
15
+ }>;
16
+ working_hours: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ end_time: z.ZodString;
18
+ locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
+ id: z.ZodOptional<z.ZodString>;
20
+ name: z.ZodOptional<z.ZodString>;
21
+ }, z.core.$strip>>>;
22
+ start_time: z.ZodString;
23
+ }, z.core.$strip>>>;
24
+ }, z.core.$strip>>;
25
+ timezone: z.ZodString;
26
+ overrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
27
+ date: z.ZodString;
28
+ working_hours: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
+ end_time: z.ZodString;
30
+ locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ id: z.ZodOptional<z.ZodString>;
32
+ name: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>>;
34
+ start_time: z.ZodString;
35
+ }, z.core.$strip>>>;
36
+ }, z.core.$strip>>>;
37
+ }, z.core.$strip>;
38
+ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
39
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ weekly: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
+ day: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ working_hours: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ }, z.core.$strip>>>>;
49
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$strip>>>>;
51
+ }, z.core.$strip>>>>;
52
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
54
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ working_hours: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
56
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ }, z.core.$strip>>>>;
61
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ }, z.core.$strip>>>>;
63
+ }, z.core.$strip>>>>;
64
+ last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$strip>;
66
+ declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
67
+ id: string;
68
+ weekly: {
69
+ day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
70
+ working_hours?: {
71
+ end_time: string;
72
+ start_time: string;
73
+ locations?: {
74
+ id?: string | undefined;
75
+ name?: string | undefined;
76
+ }[] | undefined;
77
+ }[] | undefined;
78
+ }[];
79
+ timezone: string;
80
+ overrides?: {
81
+ date: string;
82
+ working_hours?: {
83
+ end_time: string;
84
+ start_time: string;
85
+ locations?: {
86
+ id?: string | undefined;
87
+ name?: string | undefined;
88
+ }[] | undefined;
89
+ }[] | undefined;
90
+ }[] | undefined;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
92
  //#endregion
8
93
  export { scheduleonceUpdateUserSchedulingAvailability };
9
94
  //# 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,EAAmD,CAAA,CAAE,UAyBK;AAAA,cAkB1D,kDAAA,EAAoD,CAAA,CAAE,UAOK;AAAA,cAE3D,4CAAA,gCAA4C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,94 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user-scheduling-availability.d.ts
4
- declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodTypeAny;
5
- declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodTypeAny;
6
- declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ weekly: z.ZodArray<z.ZodObject<{
7
+ day: z.ZodEnum<{
8
+ Sunday: "Sunday";
9
+ Monday: "Monday";
10
+ Tuesday: "Tuesday";
11
+ Wednesday: "Wednesday";
12
+ Thursday: "Thursday";
13
+ Friday: "Friday";
14
+ Saturday: "Saturday";
15
+ }>;
16
+ working_hours: z.ZodOptional<z.ZodArray<z.ZodObject<{
17
+ end_time: z.ZodString;
18
+ locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
19
+ id: z.ZodOptional<z.ZodString>;
20
+ name: z.ZodOptional<z.ZodString>;
21
+ }, z.core.$strip>>>;
22
+ start_time: z.ZodString;
23
+ }, z.core.$strip>>>;
24
+ }, z.core.$strip>>;
25
+ timezone: z.ZodString;
26
+ overrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
27
+ date: z.ZodString;
28
+ working_hours: z.ZodOptional<z.ZodArray<z.ZodObject<{
29
+ end_time: z.ZodString;
30
+ locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
31
+ id: z.ZodOptional<z.ZodString>;
32
+ name: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>>;
34
+ start_time: z.ZodString;
35
+ }, z.core.$strip>>>;
36
+ }, z.core.$strip>>>;
37
+ }, z.core.$strip>;
38
+ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
39
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
+ weekly: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
+ day: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ working_hours: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
44
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
48
+ }, z.core.$strip>>>>;
49
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
+ }, z.core.$strip>>>>;
51
+ }, z.core.$strip>>>>;
52
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
+ overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
54
+ date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
+ working_hours: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
56
+ end_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
+ locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
58
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
60
+ }, z.core.$strip>>>>;
61
+ start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
+ }, z.core.$strip>>>>;
63
+ }, z.core.$strip>>>>;
64
+ last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
65
+ }, z.core.$strip>;
66
+ declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
67
+ id: string;
68
+ weekly: {
69
+ day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
70
+ working_hours?: {
71
+ end_time: string;
72
+ start_time: string;
73
+ locations?: {
74
+ id?: string | undefined;
75
+ name?: string | undefined;
76
+ }[] | undefined;
77
+ }[] | undefined;
78
+ }[];
79
+ timezone: string;
80
+ overrides?: {
81
+ date: string;
82
+ working_hours?: {
83
+ end_time: string;
84
+ start_time: string;
85
+ locations?: {
86
+ id?: string | undefined;
87
+ name?: string | undefined;
88
+ }[] | undefined;
89
+ }[] | undefined;
90
+ }[] | undefined;
91
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
92
  //#endregion
8
93
  export { scheduleonceUpdateUserSchedulingAvailability };
9
94
  //# 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,EAAmD,CAAA,CAAE,UAyBK;AAAA,cAkB1D,kDAAA,EAAoD,CAAA,CAAE,UAOK;AAAA,cAE3D,4CAAA,gCAA4C,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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 +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.ZodTypeAny = 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}).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}).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}).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}).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}).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}).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.ZodTypeAny = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema: z.ZodTypeAny = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(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}).describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema: z.ZodTypeAny = 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}).describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodTypeAny = 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}).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,oDAAkE,EAAE,OAAO;CACtF,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,C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EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,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,SAAS,2DAOF;AACV,CAAC"}
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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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}).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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CAAC,SAAS,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAU7D,MAAa,+CAA+C,OAAO,oDAAoD;CACrH,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgE,EAAE,OAAO;EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,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,SAAS,2DAOF;AACV,CAAC"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable().optional(),\n status: z.string().describe(\"User status indicating if the user has signed in or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).describe(\"Response model for 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,8BAA4CA,IAAAA,EAAE,OAAO;CAChE,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,+BAA6CA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAElD,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 { 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}).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,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,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BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user.d.ts
4
- declare const ScheduleonceUpdateUserInput: z.ZodTypeAny;
5
- declare const ScheduleonceUpdateUserOutput: z.ZodTypeAny;
6
- declare const scheduleonceUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScheduleonceUpdateUserInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ timezone: z.ZodOptional<z.ZodString>;
8
+ last_name: z.ZodOptional<z.ZodString>;
9
+ role_name: z.ZodOptional<z.ZodString>;
10
+ first_name: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>;
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]>;
7
31
  //#endregion
8
32
  export { scheduleonceUpdateUser };
9
33
  //# 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,EAA6B,CAAA,CAAE,UAOe;AAAA,cAC9C,4BAAA,EAA8B,CAAA,CAAE,UAUM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,33 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-user.d.ts
4
- declare const ScheduleonceUpdateUserInput: z.ZodTypeAny;
5
- declare const ScheduleonceUpdateUserOutput: z.ZodTypeAny;
6
- declare const scheduleonceUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const ScheduleonceUpdateUserInput: z.ZodObject<{
5
+ id: z.ZodString;
6
+ email: z.ZodOptional<z.ZodString>;
7
+ timezone: z.ZodOptional<z.ZodString>;
8
+ last_name: z.ZodOptional<z.ZodString>;
9
+ role_name: z.ZodOptional<z.ZodString>;
10
+ first_name: z.ZodOptional<z.ZodString>;
11
+ }, z.core.$strip>;
12
+ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
13
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
16
+ object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$strip>;
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]>;
7
31
  //#endregion
8
32
  export { scheduleonceUpdateUser };
9
33
  //# 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,EAA6B,CAAA,CAAE,UAOe;AAAA,cAC9C,4BAAA,EAA8B,CAAA,CAAE,UAUM;AAAA,cAEtC,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}