@keystrokehq/scheduleonce 0.1.2 → 0.1.4
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.
- package/dist/actions/book-time-slot.cjs +6 -6
- package/dist/actions/book-time-slot.cjs.map +1 -1
- package/dist/actions/book-time-slot.d.cts +7 -6
- package/dist/actions/book-time-slot.d.mts +7 -6
- package/dist/actions/book-time-slot.mjs +6 -6
- package/dist/actions/book-time-slot.mjs.map +1 -1
- package/dist/actions/cancel-booking.cjs +6 -6
- package/dist/actions/cancel-booking.cjs.map +1 -1
- package/dist/actions/cancel-booking.d.cts +6 -6
- package/dist/actions/cancel-booking.d.mts +6 -6
- package/dist/actions/cancel-booking.mjs +6 -6
- package/dist/actions/cancel-booking.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +2 -2
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +2 -2
- package/dist/actions/create-contact.d.mts +2 -2
- package/dist/actions/create-contact.mjs +2 -2
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.cjs +2 -2
- package/dist/actions/create-one-time-link-for-booking-calendar.cjs.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.d.cts +2 -2
- package/dist/actions/create-one-time-link-for-booking-calendar.d.mts +2 -2
- package/dist/actions/create-one-time-link-for-booking-calendar.mjs +2 -2
- package/dist/actions/create-one-time-link-for-booking-calendar.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +1 -1
- package/dist/actions/create-user.d.mts +1 -1
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -1
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +1 -1
- package/dist/actions/delete-contact.d.mts +1 -1
- package/dist/actions/delete-contact.mjs +1 -1
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +1 -1
- package/dist/actions/delete-user.d.mts +1 -1
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-available-time-slots.cjs +3 -3
- package/dist/actions/get-available-time-slots.cjs.map +1 -1
- package/dist/actions/get-available-time-slots.d.cts +3 -3
- package/dist/actions/get-available-time-slots.d.mts +3 -3
- package/dist/actions/get-available-time-slots.mjs +3 -3
- package/dist/actions/get-available-time-slots.mjs.map +1 -1
- package/dist/actions/get-single-booking-calendar.cjs +1 -1
- package/dist/actions/get-single-booking-calendar.cjs.map +1 -1
- package/dist/actions/get-single-booking-calendar.d.cts +1 -1
- package/dist/actions/get-single-booking-calendar.d.mts +1 -1
- package/dist/actions/get-single-booking-calendar.mjs +1 -1
- package/dist/actions/get-single-booking-calendar.mjs.map +1 -1
- package/dist/actions/get-single-booking.cjs +5 -5
- package/dist/actions/get-single-booking.cjs.map +1 -1
- package/dist/actions/get-single-booking.d.cts +5 -5
- package/dist/actions/get-single-booking.d.mts +5 -5
- package/dist/actions/get-single-booking.mjs +5 -5
- package/dist/actions/get-single-booking.mjs.map +1 -1
- package/dist/actions/get-single-contact.cjs +2 -2
- package/dist/actions/get-single-contact.cjs.map +1 -1
- package/dist/actions/get-single-contact.d.cts +2 -2
- package/dist/actions/get-single-contact.d.mts +2 -2
- package/dist/actions/get-single-contact.mjs +2 -2
- package/dist/actions/get-single-contact.mjs.map +1 -1
- package/dist/actions/get-single-master-page.cjs +1 -1
- package/dist/actions/get-single-master-page.cjs.map +1 -1
- package/dist/actions/get-single-master-page.d.cts +1 -1
- package/dist/actions/get-single-master-page.d.mts +1 -1
- package/dist/actions/get-single-master-page.mjs +1 -1
- package/dist/actions/get-single-master-page.mjs.map +1 -1
- package/dist/actions/get-single-user.cjs +1 -1
- package/dist/actions/get-single-user.cjs.map +1 -1
- package/dist/actions/get-single-user.d.cts +1 -1
- package/dist/actions/get-single-user.d.mts +1 -1
- package/dist/actions/get-single-user.mjs +1 -1
- package/dist/actions/get-single-user.mjs.map +1 -1
- package/dist/actions/get-user-scheduling-availability.cjs +5 -5
- package/dist/actions/get-user-scheduling-availability.cjs.map +1 -1
- package/dist/actions/get-user-scheduling-availability.d.cts +7 -7
- package/dist/actions/get-user-scheduling-availability.d.mts +7 -7
- package/dist/actions/get-user-scheduling-availability.mjs +5 -5
- package/dist/actions/get-user-scheduling-availability.mjs.map +1 -1
- package/dist/actions/list-all-booking-calendars.cjs +2 -2
- package/dist/actions/list-all-booking-calendars.cjs.map +1 -1
- package/dist/actions/list-all-booking-calendars.d.cts +2 -2
- package/dist/actions/list-all-booking-calendars.d.mts +2 -2
- package/dist/actions/list-all-booking-calendars.mjs +2 -2
- package/dist/actions/list-all-booking-calendars.mjs.map +1 -1
- package/dist/actions/list-all-booking-pages.cjs +2 -2
- package/dist/actions/list-all-booking-pages.cjs.map +1 -1
- package/dist/actions/list-all-booking-pages.d.cts +2 -2
- package/dist/actions/list-all-booking-pages.d.mts +2 -2
- package/dist/actions/list-all-booking-pages.mjs +2 -2
- package/dist/actions/list-all-booking-pages.mjs.map +1 -1
- package/dist/actions/list-all-bookings.cjs +10 -10
- package/dist/actions/list-all-bookings.cjs.map +1 -1
- package/dist/actions/list-all-bookings.d.cts +10 -10
- package/dist/actions/list-all-bookings.d.mts +10 -10
- package/dist/actions/list-all-bookings.mjs +10 -10
- package/dist/actions/list-all-bookings.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +3 -3
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +3 -3
- package/dist/actions/list-all-contacts.d.mts +3 -3
- package/dist/actions/list-all-contacts.mjs +3 -3
- package/dist/actions/list-all-contacts.mjs.map +1 -1
- package/dist/actions/list-all-event-types.cjs +2 -2
- package/dist/actions/list-all-event-types.cjs.map +1 -1
- package/dist/actions/list-all-event-types.d.cts +2 -2
- package/dist/actions/list-all-event-types.d.mts +2 -2
- package/dist/actions/list-all-event-types.mjs +2 -2
- package/dist/actions/list-all-event-types.mjs.map +1 -1
- package/dist/actions/list-all-master-pages.cjs +2 -2
- package/dist/actions/list-all-master-pages.cjs.map +1 -1
- package/dist/actions/list-all-master-pages.d.cts +2 -2
- package/dist/actions/list-all-master-pages.d.mts +2 -2
- package/dist/actions/list-all-master-pages.mjs +2 -2
- package/dist/actions/list-all-master-pages.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs +2 -2
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +2 -2
- package/dist/actions/list-all-teams.d.mts +2 -2
- package/dist/actions/list-all-teams.mjs +2 -2
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/actions/list-all-users.cjs +2 -2
- package/dist/actions/list-all-users.cjs.map +1 -1
- package/dist/actions/list-all-users.d.cts +2 -2
- package/dist/actions/list-all-users.d.mts +2 -2
- package/dist/actions/list-all-users.mjs +2 -2
- package/dist/actions/list-all-users.mjs.map +1 -1
- package/dist/actions/mark-booking-as-no-show.cjs +6 -6
- package/dist/actions/mark-booking-as-no-show.cjs.map +1 -1
- package/dist/actions/mark-booking-as-no-show.d.cts +6 -6
- package/dist/actions/mark-booking-as-no-show.d.mts +6 -6
- package/dist/actions/mark-booking-as-no-show.mjs +6 -6
- package/dist/actions/mark-booking-as-no-show.mjs.map +1 -1
- package/dist/actions/test-api-key.cjs +1 -1
- package/dist/actions/test-api-key.cjs.map +1 -1
- package/dist/actions/test-api-key.d.cts +1 -1
- package/dist/actions/test-api-key.d.mts +1 -1
- package/dist/actions/test-api-key.mjs +1 -1
- package/dist/actions/test-api-key.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -1
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +1 -1
- package/dist/actions/update-contact.d.mts +1 -1
- package/dist/actions/update-contact.mjs +1 -1
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-user-scheduling-availability.cjs +11 -11
- package/dist/actions/update-user-scheduling-availability.cjs.map +1 -1
- package/dist/actions/update-user-scheduling-availability.d.cts +19 -13
- package/dist/actions/update-user-scheduling-availability.d.mts +19 -13
- package/dist/actions/update-user-scheduling-availability.mjs +11 -11
- package/dist/actions/update-user-scheduling-availability.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -1
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +1 -1
- package/dist/actions/update-user.d.mts +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/catalog.cjs +1 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +1 -1
- package/dist/catalog.d.mts +1 -1
- package/dist/catalog.mjs +1 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -18,10 +18,10 @@ const ScheduleonceUpdateUserSchedulingAvailabilityInput = zod.z.object({
|
|
|
18
18
|
locations: zod.z.array(zod.z.object({
|
|
19
19
|
id: zod.z.string().describe("Location identifier").optional(),
|
|
20
20
|
name: zod.z.string().describe("Location name").optional()
|
|
21
|
-
}).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(),
|
|
21
|
+
}).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(),
|
|
22
22
|
start_time: zod.z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')")
|
|
23
|
-
}).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()
|
|
24
|
-
}).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."),
|
|
23
|
+
}).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()
|
|
24
|
+
}).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."),
|
|
25
25
|
timezone: zod.z.string().describe("Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier."),
|
|
26
26
|
overrides: zod.z.array(zod.z.object({
|
|
27
27
|
date: zod.z.string().describe("Date in YYYY-MM-DD format for the override"),
|
|
@@ -30,28 +30,28 @@ const ScheduleonceUpdateUserSchedulingAvailabilityInput = zod.z.object({
|
|
|
30
30
|
locations: zod.z.array(zod.z.object({
|
|
31
31
|
id: zod.z.string().describe("Location identifier").optional(),
|
|
32
32
|
name: zod.z.string().describe("Location name").optional()
|
|
33
|
-
}).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(),
|
|
33
|
+
}).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(),
|
|
34
34
|
start_time: zod.z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')")
|
|
35
|
-
}).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()
|
|
36
|
-
}).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()
|
|
35
|
+
}).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()
|
|
36
|
+
}).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()
|
|
37
37
|
}).describe("Request model for updating user scheduling availability.");
|
|
38
38
|
const ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = zod.z.object({
|
|
39
39
|
id: zod.z.string().describe("Location identifier").nullable().optional(),
|
|
40
40
|
name: zod.z.string().describe("Location name").nullable().optional()
|
|
41
|
-
}).describe("Model for a location associated with working hours.");
|
|
41
|
+
}).passthrough().describe("Model for a location associated with working hours.");
|
|
42
42
|
const ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = zod.z.object({
|
|
43
43
|
end_time: zod.z.string().describe("End time in HH:MM format (24-hour, e.g., '17:00')").nullable().optional(),
|
|
44
44
|
locations: zod.z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe("List of locations where the user is available during these hours").nullable().optional(),
|
|
45
45
|
start_time: zod.z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')").nullable().optional()
|
|
46
|
-
}).describe("Model for working hours in the response (with optional fields).");
|
|
46
|
+
}).passthrough().describe("Model for working hours in the response (with optional fields).");
|
|
47
47
|
const ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = zod.z.object({
|
|
48
48
|
day: zod.z.string().describe("Day of the week (e.g., 'Sunday', 'Monday', etc.)").nullable().optional(),
|
|
49
49
|
working_hours: zod.z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe("List of working hour blocks for this day").nullable().optional()
|
|
50
|
-
}).describe("Model for a single day's schedule in the response.");
|
|
50
|
+
}).passthrough().describe("Model for a single day's schedule in the response.");
|
|
51
51
|
const ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = zod.z.object({
|
|
52
52
|
date: zod.z.string().describe("Date in YYYY-MM-DD format for the override").nullable().optional(),
|
|
53
53
|
working_hours: zod.z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe("List of working hour blocks for this specific date").nullable().optional()
|
|
54
|
-
}).describe("Model for scheduling overrides in the response.");
|
|
54
|
+
}).passthrough().describe("Model for scheduling overrides in the response.");
|
|
55
55
|
const ScheduleonceUpdateUserSchedulingAvailabilityOutput = zod.z.object({
|
|
56
56
|
id: zod.z.string().describe("Unique identifier for the user (may not be returned)").nullable().optional(),
|
|
57
57
|
object: zod.z.string().describe("The object type, typically 'schedule'").nullable().optional(),
|
|
@@ -59,7 +59,7 @@ const ScheduleonceUpdateUserSchedulingAvailabilityOutput = zod.z.object({
|
|
|
59
59
|
timezone: zod.z.string().describe("User's timezone setting").nullable().optional(),
|
|
60
60
|
overrides: zod.z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe("Updated scheduling overrides").nullable().optional(),
|
|
61
61
|
last_updated_time: zod.z.string().describe("ISO 8601 timestamp when availability was last updated").nullable().optional()
|
|
62
|
-
}).describe("Response model for updating user scheduling availability.");
|
|
62
|
+
}).passthrough().describe("Response model for updating user scheduling availability.");
|
|
63
63
|
const scheduleonceUpdateUserSchedulingAvailability = require_action.action("SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY", {
|
|
64
64
|
slug: "scheduleonce-update-user-scheduling-availability",
|
|
65
65
|
name: "Update User Scheduling Availability",
|
|
@@ -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}).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,CAAC,CAAC,SAAS;GACtD,CAAC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;
|
|
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,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C,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"}
|
|
@@ -18,10 +18,10 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodObject<{
|
|
|
18
18
|
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
19
|
id: z.ZodOptional<z.ZodString>;
|
|
20
20
|
name: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
start_time: z.ZodString;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
timezone: z.ZodString;
|
|
26
26
|
overrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
27
|
date: z.ZodString;
|
|
@@ -30,10 +30,10 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodObject<{
|
|
|
30
30
|
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodString>;
|
|
32
32
|
name: z.ZodOptional<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
start_time: z.ZodString;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -45,10 +45,10 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
45
45
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
46
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
49
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>>>;
|
|
51
|
+
}, z.core.$loose>>>>;
|
|
52
52
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
54
54
|
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -57,20 +57,23 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
57
57
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
58
58
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>>>;
|
|
61
61
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>>;
|
|
63
|
+
}, z.core.$loose>>>>;
|
|
64
64
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>;
|
|
66
66
|
declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
67
|
id: string;
|
|
68
68
|
weekly: {
|
|
69
|
+
[x: string]: unknown;
|
|
69
70
|
day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
|
|
70
71
|
working_hours?: {
|
|
72
|
+
[x: string]: unknown;
|
|
71
73
|
end_time: string;
|
|
72
74
|
start_time: string;
|
|
73
75
|
locations?: {
|
|
76
|
+
[x: string]: unknown;
|
|
74
77
|
id?: string | undefined;
|
|
75
78
|
name?: string | undefined;
|
|
76
79
|
}[] | undefined;
|
|
@@ -78,11 +81,14 @@ declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq
|
|
|
78
81
|
}[];
|
|
79
82
|
timezone: string;
|
|
80
83
|
overrides?: {
|
|
84
|
+
[x: string]: unknown;
|
|
81
85
|
date: string;
|
|
82
86
|
working_hours?: {
|
|
87
|
+
[x: string]: unknown;
|
|
83
88
|
end_time: string;
|
|
84
89
|
start_time: string;
|
|
85
90
|
locations?: {
|
|
91
|
+
[x: string]: unknown;
|
|
86
92
|
id?: string | undefined;
|
|
87
93
|
name?: string | undefined;
|
|
88
94
|
}[] | undefined;
|
|
@@ -18,10 +18,10 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodObject<{
|
|
|
18
18
|
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
19
19
|
id: z.ZodOptional<z.ZodString>;
|
|
20
20
|
name: z.ZodOptional<z.ZodString>;
|
|
21
|
-
}, z.core.$
|
|
21
|
+
}, z.core.$loose>>>;
|
|
22
22
|
start_time: z.ZodString;
|
|
23
|
-
}, z.core.$
|
|
24
|
-
}, z.core.$
|
|
23
|
+
}, z.core.$loose>>>;
|
|
24
|
+
}, z.core.$loose>>;
|
|
25
25
|
timezone: z.ZodString;
|
|
26
26
|
overrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27
27
|
date: z.ZodString;
|
|
@@ -30,10 +30,10 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityInput: z.ZodObject<{
|
|
|
30
30
|
locations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31
31
|
id: z.ZodOptional<z.ZodString>;
|
|
32
32
|
name: z.ZodOptional<z.ZodString>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>;
|
|
34
34
|
start_time: z.ZodString;
|
|
35
|
-
}, z.core.$
|
|
36
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>>>;
|
|
36
|
+
}, z.core.$loose>>>;
|
|
37
37
|
}, z.core.$strip>;
|
|
38
38
|
declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
39
39
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -45,10 +45,10 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
45
45
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
46
46
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
47
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>>;
|
|
49
49
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
|
-
}, z.core.$
|
|
51
|
-
}, z.core.$
|
|
50
|
+
}, z.core.$loose>>>>;
|
|
51
|
+
}, z.core.$loose>>>>;
|
|
52
52
|
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
53
|
overrides: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
54
54
|
date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -57,20 +57,23 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
57
57
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
58
58
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
59
59
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
60
|
-
}, z.core.$
|
|
60
|
+
}, z.core.$loose>>>>;
|
|
61
61
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>>;
|
|
63
|
+
}, z.core.$loose>>>>;
|
|
64
64
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
|
-
}, z.core.$
|
|
65
|
+
}, z.core.$loose>;
|
|
66
66
|
declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
67
67
|
id: string;
|
|
68
68
|
weekly: {
|
|
69
|
+
[x: string]: unknown;
|
|
69
70
|
day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
|
|
70
71
|
working_hours?: {
|
|
72
|
+
[x: string]: unknown;
|
|
71
73
|
end_time: string;
|
|
72
74
|
start_time: string;
|
|
73
75
|
locations?: {
|
|
76
|
+
[x: string]: unknown;
|
|
74
77
|
id?: string | undefined;
|
|
75
78
|
name?: string | undefined;
|
|
76
79
|
}[] | undefined;
|
|
@@ -78,11 +81,14 @@ declare const scheduleonceUpdateUserSchedulingAvailability: import("@keystrokehq
|
|
|
78
81
|
}[];
|
|
79
82
|
timezone: string;
|
|
80
83
|
overrides?: {
|
|
84
|
+
[x: string]: unknown;
|
|
81
85
|
date: string;
|
|
82
86
|
working_hours?: {
|
|
87
|
+
[x: string]: unknown;
|
|
83
88
|
end_time: string;
|
|
84
89
|
start_time: string;
|
|
85
90
|
locations?: {
|
|
91
|
+
[x: string]: unknown;
|
|
86
92
|
id?: string | undefined;
|
|
87
93
|
name?: string | undefined;
|
|
88
94
|
}[] | undefined;
|
|
@@ -18,10 +18,10 @@ const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({
|
|
|
18
18
|
locations: z.array(z.object({
|
|
19
19
|
id: z.string().describe("Location identifier").optional(),
|
|
20
20
|
name: z.string().describe("Location name").optional()
|
|
21
|
-
}).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(),
|
|
21
|
+
}).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(),
|
|
22
22
|
start_time: z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')")
|
|
23
|
-
}).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()
|
|
24
|
-
}).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."),
|
|
23
|
+
}).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()
|
|
24
|
+
}).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."),
|
|
25
25
|
timezone: z.string().describe("Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier."),
|
|
26
26
|
overrides: z.array(z.object({
|
|
27
27
|
date: z.string().describe("Date in YYYY-MM-DD format for the override"),
|
|
@@ -30,28 +30,28 @@ const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({
|
|
|
30
30
|
locations: z.array(z.object({
|
|
31
31
|
id: z.string().describe("Location identifier").optional(),
|
|
32
32
|
name: z.string().describe("Location name").optional()
|
|
33
|
-
}).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(),
|
|
33
|
+
}).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(),
|
|
34
34
|
start_time: z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')")
|
|
35
|
-
}).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()
|
|
36
|
-
}).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()
|
|
35
|
+
}).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()
|
|
36
|
+
}).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()
|
|
37
37
|
}).describe("Request model for updating user scheduling availability.");
|
|
38
38
|
const ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({
|
|
39
39
|
id: z.string().describe("Location identifier").nullable().optional(),
|
|
40
40
|
name: z.string().describe("Location name").nullable().optional()
|
|
41
|
-
}).describe("Model for a location associated with working hours.");
|
|
41
|
+
}).passthrough().describe("Model for a location associated with working hours.");
|
|
42
42
|
const ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({
|
|
43
43
|
end_time: z.string().describe("End time in HH:MM format (24-hour, e.g., '17:00')").nullable().optional(),
|
|
44
44
|
locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe("List of locations where the user is available during these hours").nullable().optional(),
|
|
45
45
|
start_time: z.string().describe("Start time in HH:MM format (24-hour, e.g., '09:00')").nullable().optional()
|
|
46
|
-
}).describe("Model for working hours in the response (with optional fields).");
|
|
46
|
+
}).passthrough().describe("Model for working hours in the response (with optional fields).");
|
|
47
47
|
const ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({
|
|
48
48
|
day: z.string().describe("Day of the week (e.g., 'Sunday', 'Monday', etc.)").nullable().optional(),
|
|
49
49
|
working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe("List of working hour blocks for this day").nullable().optional()
|
|
50
|
-
}).describe("Model for a single day's schedule in the response.");
|
|
50
|
+
}).passthrough().describe("Model for a single day's schedule in the response.");
|
|
51
51
|
const ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({
|
|
52
52
|
date: z.string().describe("Date in YYYY-MM-DD format for the override").nullable().optional(),
|
|
53
53
|
working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe("List of working hour blocks for this specific date").nullable().optional()
|
|
54
|
-
}).describe("Model for scheduling overrides in the response.");
|
|
54
|
+
}).passthrough().describe("Model for scheduling overrides in the response.");
|
|
55
55
|
const scheduleonceUpdateUserSchedulingAvailability = action("SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY", {
|
|
56
56
|
slug: "scheduleonce-update-user-scheduling-availability",
|
|
57
57
|
name: "Update User Scheduling Availability",
|
|
@@ -64,7 +64,7 @@ const scheduleonceUpdateUserSchedulingAvailability = action("SCHEDULEONCE_UPDATE
|
|
|
64
64
|
timezone: z.string().describe("User's timezone setting").nullable().optional(),
|
|
65
65
|
overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe("Updated scheduling overrides").nullable().optional(),
|
|
66
66
|
last_updated_time: z.string().describe("ISO 8601 timestamp when availability was last updated").nullable().optional()
|
|
67
|
-
}).describe("Response model for updating user scheduling availability.")
|
|
67
|
+
}).passthrough().describe("Response model for updating user scheduling availability.")
|
|
68
68
|
});
|
|
69
69
|
//#endregion
|
|
70
70
|
export { scheduleonceUpdateUserSchedulingAvailability };
|
|
@@ -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}).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,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,SAAS,qDAAqD,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;
|
|
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,qDAAqD,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;GACvM,YAAY,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,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI;CAC9J,WAAW,EAAE,MAAM,EAAE,OAAO;EAC5B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,eAAe,EAAE,MAAM,EAAE,OAAO;GAChC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;GACjF,WAAW,EAAE,MAAM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,7 @@ const ScheduleonceUpdateUserOutput = zod.z.object({
|
|
|
19
19
|
last_name: zod.z.string().describe("User's last name").nullable().optional(),
|
|
20
20
|
role_name: zod.z.string().describe("User's role in the account (e.g., 'Member', 'Admin')").nullable().optional(),
|
|
21
21
|
first_name: zod.z.string().describe("User's first name").nullable().optional()
|
|
22
|
-
}).describe("Response model for the updated user.");
|
|
22
|
+
}).passthrough().describe("Response model for the updated user.");
|
|
23
23
|
const scheduleonceUpdateUser = require_action.action("SCHEDULEONCE_UPDATE_USER", {
|
|
24
24
|
slug: "scheduleonce-update-user",
|
|
25
25
|
name: "Update User",
|
|
@@ -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}).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,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,SAAS,sCAAsC;
|
|
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,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,yBAAyBC,eAAAA,OAAO,4BAA4B;CACvE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
|
|
|
19
19
|
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const scheduleonceUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
id: string;
|
|
25
25
|
email?: string | undefined;
|
|
@@ -19,7 +19,7 @@ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
|
|
|
19
19
|
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
20
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>;
|
|
23
23
|
declare const scheduleonceUpdateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
24
|
id: string;
|
|
25
25
|
email?: string | undefined;
|
|
@@ -22,7 +22,7 @@ const scheduleonceUpdateUser = action("SCHEDULEONCE_UPDATE_USER", {
|
|
|
22
22
|
last_name: z.string().describe("User's last name").nullable().optional(),
|
|
23
23
|
role_name: z.string().describe("User's role in the account (e.g., 'Member', 'Admin')").nullable().optional(),
|
|
24
24
|
first_name: z.string().describe("User's first name").nullable().optional()
|
|
25
|
-
}).describe("Response model for the updated user.")
|
|
25
|
+
}).passthrough().describe("Response model for the updated user.")
|
|
26
26
|
});
|
|
27
27
|
//#endregion
|
|
28
28
|
export { scheduleonceUpdateUser };
|
|
@@ -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}).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,SAAS,
|
|
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"}
|
package/dist/catalog.cjs
CHANGED
|
@@ -8,7 +8,7 @@ const scheduleonceCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/scheduleonce",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your OnceHub API key from ScheduleOnce > Setup > Integrations > API Integration"
|
package/dist/catalog.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scheduleonceCatalog = {\n \"slug\": \"scheduleonce\",\n \"name\": \"Scheduleonce\",\n \"description\": \"Scheduling platform for capturing, qualifying, and engaging with inbound leads\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/scheduleonce\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.cjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scheduleonceCatalog = {\n \"slug\": \"scheduleonce\",\n \"name\": \"Scheduleonce\",\n \"description\": \"Scheduling platform for capturing, qualifying, and engaging with inbound leads\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/scheduleonce\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your OnceHub API key from ScheduleOnce > Setup > Integrations > API Integration\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|
package/dist/catalog.d.cts
CHANGED
|
@@ -9,7 +9,7 @@ declare const scheduleonceCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your OnceHub API key from ScheduleOnce > Setup > Integrations > API Integration";
|
package/dist/catalog.d.mts
CHANGED
|
@@ -9,7 +9,7 @@ declare const scheduleonceCatalog: {
|
|
|
9
9
|
readonly authKind: "keystroke";
|
|
10
10
|
readonly oauthScopes: readonly [];
|
|
11
11
|
readonly credentialFields: {
|
|
12
|
-
readonly
|
|
12
|
+
readonly generic_api_key: {
|
|
13
13
|
readonly label: "API Key";
|
|
14
14
|
readonly secret: true;
|
|
15
15
|
readonly description: "Your OnceHub API key from ScheduleOnce > Setup > Integrations > API Integration";
|
package/dist/catalog.mjs
CHANGED
|
@@ -8,7 +8,7 @@ const scheduleonceCatalog = {
|
|
|
8
8
|
"logo": "https://logos.composio.dev/api/scheduleonce",
|
|
9
9
|
"authKind": "keystroke",
|
|
10
10
|
"oauthScopes": [],
|
|
11
|
-
"credentialFields": { "
|
|
11
|
+
"credentialFields": { "generic_api_key": {
|
|
12
12
|
"label": "API Key",
|
|
13
13
|
"secret": true,
|
|
14
14
|
"description": "Your OnceHub API key from ScheduleOnce > Setup > Integrations > API Integration"
|
package/dist/catalog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scheduleonceCatalog = {\n \"slug\": \"scheduleonce\",\n \"name\": \"Scheduleonce\",\n \"description\": \"Scheduling platform for capturing, qualifying, and engaging with inbound leads\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/scheduleonce\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"
|
|
1
|
+
{"version":3,"file":"catalog.mjs","names":[],"sources":["../src/catalog.ts"],"sourcesContent":["/** Generated — kept in sync with src/app.ts. */\nexport const scheduleonceCatalog = {\n \"slug\": \"scheduleonce\",\n \"name\": \"Scheduleonce\",\n \"description\": \"Scheduling platform for capturing, qualifying, and engaging with inbound leads\",\n \"category\": \"Scheduling & Booking\",\n \"logo\": \"https://logos.composio.dev/api/scheduleonce\",\n \"authKind\": \"keystroke\",\n \"oauthScopes\": [],\n \"credentialFields\": {\n \"generic_api_key\": {\n \"label\": \"API Key\",\n \"secret\": true,\n \"description\": \"Your OnceHub API key from ScheduleOnce > Setup > Integrations > API Integration\"\n }\n },\n \"credentialScheme\": \"API_KEY\"\n} as const;\n"],"mappings":";;AACA,MAAa,sBAAsB;CACjC,QAAQ;CACR,QAAQ;CACR,eAAe;CACf,YAAY;CACZ,QAAQ;CACR,YAAY;CACZ,eAAe,CAAC;CAChB,oBAAoB,EAClB,mBAAmB;EACjB,SAAS;EACT,UAAU;EACV,eAAe;CACjB,EACF;CACA,oBAAoB;AACtB"}
|