@keystrokehq/scheduleonce 0.1.0 → 0.1.3
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/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/book-time-slot.cjs +8 -8
- package/dist/actions/book-time-slot.cjs.map +1 -1
- package/dist/actions/book-time-slot.d.cts +81 -3
- package/dist/actions/book-time-slot.d.cts.map +1 -1
- package/dist/actions/book-time-slot.d.mts +81 -3
- package/dist/actions/book-time-slot.d.mts.map +1 -1
- package/dist/actions/book-time-slot.mjs +8 -8
- package/dist/actions/book-time-slot.mjs.map +1 -1
- package/dist/actions/cancel-booking.cjs +10 -10
- package/dist/actions/cancel-booking.cjs.map +1 -1
- package/dist/actions/cancel-booking.d.cts +50 -3
- package/dist/actions/cancel-booking.d.cts.map +1 -1
- package/dist/actions/cancel-booking.d.mts +50 -3
- package/dist/actions/cancel-booking.d.mts.map +1 -1
- package/dist/actions/cancel-booking.mjs +10 -10
- package/dist/actions/cancel-booking.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +5 -5
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +61 -3
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +61 -3
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +5 -5
- 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 +27 -3
- package/dist/actions/create-one-time-link-for-booking-calendar.d.cts.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.d.mts +27 -3
- package/dist/actions/create-one-time-link-for-booking-calendar.d.mts.map +1 -1
- 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 +23 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +23 -3
- package/dist/actions/create-user.d.mts.map +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 +10 -3
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +10 -3
- package/dist/actions/delete-contact.d.mts.map +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 +10 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +10 -3
- package/dist/actions/delete-user.d.mts.map +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 +20 -3
- package/dist/actions/get-available-time-slots.d.cts.map +1 -1
- package/dist/actions/get-available-time-slots.d.mts +20 -3
- package/dist/actions/get-available-time-slots.d.mts.map +1 -1
- 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 +9 -9
- package/dist/actions/get-single-booking-calendar.cjs.map +1 -1
- package/dist/actions/get-single-booking-calendar.d.cts +16 -3
- package/dist/actions/get-single-booking-calendar.d.cts.map +1 -1
- package/dist/actions/get-single-booking-calendar.d.mts +16 -3
- package/dist/actions/get-single-booking-calendar.d.mts.map +1 -1
- package/dist/actions/get-single-booking-calendar.mjs +9 -9
- package/dist/actions/get-single-booking-calendar.mjs.map +1 -1
- package/dist/actions/get-single-booking.cjs +8 -8
- package/dist/actions/get-single-booking.cjs.map +1 -1
- package/dist/actions/get-single-booking.d.cts +48 -3
- package/dist/actions/get-single-booking.d.cts.map +1 -1
- package/dist/actions/get-single-booking.d.mts +48 -3
- package/dist/actions/get-single-booking.d.mts.map +1 -1
- package/dist/actions/get-single-booking.mjs +8 -8
- package/dist/actions/get-single-booking.mjs.map +1 -1
- package/dist/actions/get-single-contact.cjs +5 -5
- package/dist/actions/get-single-contact.cjs.map +1 -1
- package/dist/actions/get-single-contact.d.cts +35 -3
- package/dist/actions/get-single-contact.d.cts.map +1 -1
- package/dist/actions/get-single-contact.d.mts +35 -3
- package/dist/actions/get-single-contact.d.mts.map +1 -1
- package/dist/actions/get-single-contact.mjs +5 -5
- package/dist/actions/get-single-contact.mjs.map +1 -1
- package/dist/actions/get-single-master-page.cjs +7 -7
- package/dist/actions/get-single-master-page.cjs.map +1 -1
- package/dist/actions/get-single-master-page.d.cts +14 -3
- package/dist/actions/get-single-master-page.d.cts.map +1 -1
- package/dist/actions/get-single-master-page.d.mts +14 -3
- package/dist/actions/get-single-master-page.d.mts.map +1 -1
- package/dist/actions/get-single-master-page.mjs +7 -7
- package/dist/actions/get-single-master-page.mjs.map +1 -1
- package/dist/actions/get-single-user.cjs +3 -3
- package/dist/actions/get-single-user.cjs.map +1 -1
- package/dist/actions/get-single-user.d.cts +19 -3
- package/dist/actions/get-single-user.d.cts.map +1 -1
- package/dist/actions/get-single-user.d.mts +19 -3
- package/dist/actions/get-single-user.d.mts.map +1 -1
- package/dist/actions/get-single-user.mjs +3 -3
- 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 +34 -3
- package/dist/actions/get-user-scheduling-availability.d.cts.map +1 -1
- package/dist/actions/get-user-scheduling-availability.d.mts +34 -3
- package/dist/actions/get-user-scheduling-availability.d.mts.map +1 -1
- 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 +22 -3
- package/dist/actions/list-all-booking-calendars.d.cts.map +1 -1
- package/dist/actions/list-all-booking-calendars.d.mts +22 -3
- package/dist/actions/list-all-booking-calendars.d.mts.map +1 -1
- 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 +21 -3
- package/dist/actions/list-all-booking-pages.d.cts.map +1 -1
- package/dist/actions/list-all-booking-pages.d.mts +21 -3
- package/dist/actions/list-all-booking-pages.d.mts.map +1 -1
- 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 +11 -11
- package/dist/actions/list-all-bookings.cjs.map +1 -1
- package/dist/actions/list-all-bookings.d.cts +60 -3
- package/dist/actions/list-all-bookings.d.cts.map +1 -1
- package/dist/actions/list-all-bookings.d.mts +60 -3
- package/dist/actions/list-all-bookings.d.mts.map +1 -1
- package/dist/actions/list-all-bookings.mjs +11 -11
- package/dist/actions/list-all-bookings.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +4 -4
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +52 -3
- package/dist/actions/list-all-contacts.d.cts.map +1 -1
- package/dist/actions/list-all-contacts.d.mts +52 -3
- package/dist/actions/list-all-contacts.d.mts.map +1 -1
- package/dist/actions/list-all-contacts.mjs +4 -4
- 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 +18 -3
- package/dist/actions/list-all-event-types.d.cts.map +1 -1
- package/dist/actions/list-all-event-types.d.mts +18 -3
- package/dist/actions/list-all-event-types.d.mts.map +1 -1
- 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 +20 -3
- package/dist/actions/list-all-master-pages.d.cts.map +1 -1
- package/dist/actions/list-all-master-pages.d.mts +20 -3
- package/dist/actions/list-all-master-pages.d.mts.map +1 -1
- 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 +21 -3
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +21 -3
- package/dist/actions/list-all-teams.d.mts.map +1 -1
- 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 +23 -3
- package/dist/actions/list-all-users.d.cts.map +1 -1
- package/dist/actions/list-all-users.d.mts +23 -3
- package/dist/actions/list-all-users.d.mts.map +1 -1
- 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 +11 -11
- package/dist/actions/mark-booking-as-no-show.cjs.map +1 -1
- package/dist/actions/mark-booking-as-no-show.d.cts +56 -3
- package/dist/actions/mark-booking-as-no-show.d.cts.map +1 -1
- package/dist/actions/mark-booking-as-no-show.d.mts +56 -3
- package/dist/actions/mark-booking-as-no-show.d.mts.map +1 -1
- package/dist/actions/mark-booking-as-no-show.mjs +11 -11
- 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 +6 -3
- package/dist/actions/test-api-key.d.cts.map +1 -1
- package/dist/actions/test-api-key.d.mts +6 -3
- package/dist/actions/test-api-key.d.mts.map +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 +2 -2
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +26 -3
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +26 -3
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +2 -2
- 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 +94 -3
- package/dist/actions/update-user-scheduling-availability.d.cts.map +1 -1
- package/dist/actions/update-user-scheduling-availability.d.mts +94 -3
- package/dist/actions/update-user-scheduling-availability.d.mts.map +1 -1
- 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 +27 -3
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +27 -3
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -1
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,62 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/mark-booking-as-no-show.d.ts
|
|
4
|
-
declare const ScheduleonceMarkBookingAsNoShowInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const ScheduleonceMarkBookingAsNoShowInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const ScheduleonceMarkBookingAsNoShowOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
owner: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
teams: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
13
|
+
object: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
|
+
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
}, z.core.$loose>]>>>;
|
|
20
|
+
object: z.ZodNullable<z.ZodString>;
|
|
21
|
+
status: z.ZodNullable<z.ZodString>;
|
|
22
|
+
subject: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
attendees: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
24
|
+
event_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
+
master_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
tracking_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
booking_page: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
|
+
creation_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
starting_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
form_submission: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
31
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
+
guests: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
36
|
+
company: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
|
+
mobile_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
|
+
custom_fields: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
39
|
+
name: z.ZodNullable<z.ZodString>;
|
|
40
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>;
|
|
41
|
+
}, z.core.$loose>>>>;
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
duration_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
44
|
+
customer_timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
45
|
+
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
|
+
location_description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
|
+
virtual_conferencing: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
48
|
+
join_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
|
+
rescheduled_booking_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
|
+
cancel_reschedule_information: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
52
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
|
+
actioned_by: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
|
+
}, z.core.$loose>>>;
|
|
56
|
+
}, z.core.$loose>;
|
|
57
|
+
declare const scheduleonceMarkBookingAsNoShow: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
58
|
+
id: string;
|
|
59
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
60
|
//#endregion
|
|
8
61
|
export { scheduleonceMarkBookingAsNoShow };
|
|
9
62
|
//# sourceMappingURL=mark-booking-as-no-show.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-booking-as-no-show.d.mts","names":[],"sources":["../../src/actions/mark-booking-as-no-show.ts"],"mappings":";;;cAIa,oCAAA,
|
|
1
|
+
{"version":3,"file":"mark-booking-as-no-show.d.mts","names":[],"sources":["../../src/actions/mark-booking-as-no-show.ts"],"mappings":";;;cAIa,oCAAA,EAAoC,CAAA,CAAA,SAAA;;;cAoCpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuBrC,+BAAA,gCAA+B,wBAAA"}
|
|
@@ -3,7 +3,7 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/mark-booking-as-no-show.ts
|
|
4
4
|
const ScheduleonceMarkBookingAsNoShowInput = z.object({ id: z.string().describe("The unique identifier of the booking to mark as no-show (e.g., 'BKNG-J4FR05BKEWEX'). The booking must exist and be in a valid state to be marked as no-show.") }).describe("Request model for marking a booking as no-show.");
|
|
5
5
|
const ScheduleonceMarkBookingAsNoShow_OwnerObjectSchema = z.object({
|
|
6
|
-
id: z.string().describe("User ID of the owner."),
|
|
6
|
+
id: z.string().describe("User ID of the owner.").nullable(),
|
|
7
7
|
email: z.string().describe("Owner's email address.").nullable().optional(),
|
|
8
8
|
teams: z.array(z.string()).describe("Owner's teams.").nullable().optional(),
|
|
9
9
|
object: z.string().describe("Object type, always 'user'.").nullable().optional(),
|
|
@@ -12,16 +12,16 @@ const ScheduleonceMarkBookingAsNoShow_OwnerObjectSchema = z.object({
|
|
|
12
12
|
last_name: z.string().describe("Owner's last name.").nullable().optional(),
|
|
13
13
|
role_name: z.string().describe("Owner's role name.").nullable().optional(),
|
|
14
14
|
first_name: z.string().describe("Owner's first name.").nullable().optional()
|
|
15
|
-
}).describe("Model for owner object when expanded.");
|
|
15
|
+
}).passthrough().describe("Model for owner object when expanded.");
|
|
16
16
|
const ScheduleonceMarkBookingAsNoShow_CustomFieldItemSchema = z.object({
|
|
17
|
-
name: z.string().describe("Name of the custom field"),
|
|
17
|
+
name: z.string().describe("Name of the custom field").nullable(),
|
|
18
18
|
value: z.union([
|
|
19
19
|
z.string(),
|
|
20
20
|
z.number().int(),
|
|
21
21
|
z.number(),
|
|
22
22
|
z.boolean()
|
|
23
23
|
]).nullable().optional()
|
|
24
|
-
}).describe("Model for custom field item.");
|
|
24
|
+
}).passthrough().describe("Model for custom field item.");
|
|
25
25
|
const ScheduleonceMarkBookingAsNoShow_FormSubmissionSchema = z.object({
|
|
26
26
|
name: z.string().describe("Customer's name.").nullable().optional(),
|
|
27
27
|
note: z.string().describe("Additional note from customer.").nullable().optional(),
|
|
@@ -31,23 +31,23 @@ const ScheduleonceMarkBookingAsNoShow_FormSubmissionSchema = z.object({
|
|
|
31
31
|
company: z.string().describe("Customer's company.").nullable().optional(),
|
|
32
32
|
mobile_phone: z.string().describe("Customer's mobile phone number.").nullable().optional(),
|
|
33
33
|
custom_fields: z.array(ScheduleonceMarkBookingAsNoShow_CustomFieldItemSchema).describe("Array of custom field objects with name and value properties.").nullable().optional()
|
|
34
|
-
}).describe("Model for form submission data.");
|
|
35
|
-
const ScheduleonceMarkBookingAsNoShow_VirtualConferencingSchema = z.object({ join_url: z.string().describe("URL to join the virtual meeting.").nullable().optional() }).describe("Model for virtual conferencing details.");
|
|
34
|
+
}).passthrough().describe("Model for form submission data.");
|
|
35
|
+
const ScheduleonceMarkBookingAsNoShow_VirtualConferencingSchema = z.object({ join_url: z.string().describe("URL to join the virtual meeting.").nullable().optional() }).passthrough().describe("Model for virtual conferencing details.");
|
|
36
36
|
const ScheduleonceMarkBookingAsNoShow_CancelRescheduleInformationSchema = z.object({
|
|
37
37
|
reason: z.string().describe("Reason for cancellation or rescheduling.").nullable().optional(),
|
|
38
38
|
user_id: z.string().describe("User ID who performed the action if initiated by a user.").nullable().optional(),
|
|
39
39
|
actioned_by: z.string().describe("Who performed the action: 'user' or 'customer'.").nullable().optional()
|
|
40
|
-
}).describe("Model for cancellation or reschedule information.");
|
|
40
|
+
}).passthrough().describe("Model for cancellation or reschedule information.");
|
|
41
41
|
const scheduleonceMarkBookingAsNoShow = action("SCHEDULEONCE_MARK_BOOKING_AS_NO_SHOW", {
|
|
42
42
|
slug: "scheduleonce-mark-booking-as-no-show",
|
|
43
43
|
name: "Mark Booking as No-Show",
|
|
44
44
|
description: "Tool to mark a completed booking as no-show in OnceHub. Use when the customer did not attend the scheduled meeting and you need to update the booking status to reflect the no-show.",
|
|
45
45
|
input: ScheduleonceMarkBookingAsNoShowInput,
|
|
46
46
|
output: z.object({
|
|
47
|
-
id: z.string().describe("Unique booking identifier."),
|
|
47
|
+
id: z.string().describe("Unique booking identifier.").nullable(),
|
|
48
48
|
owner: z.union([z.string(), ScheduleonceMarkBookingAsNoShow_OwnerObjectSchema]).nullable().optional(),
|
|
49
|
-
object: z.string().describe("Object type, always 'booking'."),
|
|
50
|
-
status: z.string().describe("Booking status (will be 'no_show' after successful operation)."),
|
|
49
|
+
object: z.string().describe("Object type, always 'booking'.").nullable(),
|
|
50
|
+
status: z.string().describe("Booking status (will be 'no_show' after successful operation).").nullable(),
|
|
51
51
|
subject: z.string().describe("Booking subject/title.").nullable().optional(),
|
|
52
52
|
attendees: z.array(z.string()).describe("Array of attendee email addresses.").nullable().optional(),
|
|
53
53
|
event_type: z.string().describe("Event type ID.").nullable().optional(),
|
|
@@ -64,7 +64,7 @@ const scheduleonceMarkBookingAsNoShow = action("SCHEDULEONCE_MARK_BOOKING_AS_NO_
|
|
|
64
64
|
virtual_conferencing: ScheduleonceMarkBookingAsNoShow_VirtualConferencingSchema.nullable().optional(),
|
|
65
65
|
rescheduled_booking_id: z.string().describe("ID of rescheduled booking if applicable.").nullable().optional(),
|
|
66
66
|
cancel_reschedule_information: ScheduleonceMarkBookingAsNoShow_CancelRescheduleInformationSchema.nullable().optional()
|
|
67
|
-
}).describe("Response model for booking marked as no-show.")
|
|
67
|
+
}).passthrough().describe("Response model for booking marked as no-show.")
|
|
68
68
|
});
|
|
69
69
|
//#endregion
|
|
70
70
|
export { scheduleonceMarkBookingAsNoShow };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mark-booking-as-no-show.mjs","names":[],"sources":["../../src/actions/mark-booking-as-no-show.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceMarkBookingAsNoShowInput
|
|
1
|
+
{"version":3,"file":"mark-booking-as-no-show.mjs","names":[],"sources":["../../src/actions/mark-booking-as-no-show.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceMarkBookingAsNoShowInput = z.object({\n id: z.string().describe(\"The unique identifier of the booking to mark as no-show (e.g., 'BKNG-J4FR05BKEWEX'). The booking must exist and be in a valid state to be marked as no-show.\"),\n}).describe(\"Request model for marking a booking as no-show.\");\nconst ScheduleonceMarkBookingAsNoShow_OwnerObjectSchema = z.object({\n id: z.string().describe(\"User ID of the owner.\").nullable(),\n email: z.string().describe(\"Owner's email address.\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Owner's teams.\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'.\").nullable().optional(),\n status: z.string().describe(\"Owner's status.\").nullable().optional(),\n timezone: z.string().describe(\"Owner's timezone.\").nullable().optional(),\n last_name: z.string().describe(\"Owner's last name.\").nullable().optional(),\n role_name: z.string().describe(\"Owner's role name.\").nullable().optional(),\n first_name: z.string().describe(\"Owner's first name.\").nullable().optional(),\n}).passthrough().describe(\"Model for owner object when expanded.\");\nconst ScheduleonceMarkBookingAsNoShow_CustomFieldItemSchema = z.object({\n name: z.string().describe(\"Name of the custom field\").nullable(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable().optional(),\n}).passthrough().describe(\"Model for custom field item.\");\nconst ScheduleonceMarkBookingAsNoShow_FormSubmissionSchema = z.object({\n name: z.string().describe(\"Customer's name.\").nullable().optional(),\n note: z.string().describe(\"Additional note from customer.\").nullable().optional(),\n email: z.string().describe(\"Customer's email address.\").nullable().optional(),\n phone: z.string().describe(\"Customer's phone number.\").nullable().optional(),\n guests: z.array(z.string()).describe(\"List of guest email addresses.\").nullable().optional(),\n company: z.string().describe(\"Customer's company.\").nullable().optional(),\n mobile_phone: z.string().describe(\"Customer's mobile phone number.\").nullable().optional(),\n custom_fields: z.array(ScheduleonceMarkBookingAsNoShow_CustomFieldItemSchema).describe(\"Array of custom field objects with name and value properties.\").nullable().optional(),\n}).passthrough().describe(\"Model for form submission data.\");\nconst ScheduleonceMarkBookingAsNoShow_VirtualConferencingSchema = z.object({\n join_url: z.string().describe(\"URL to join the virtual meeting.\").nullable().optional(),\n}).passthrough().describe(\"Model for virtual conferencing details.\");\nconst ScheduleonceMarkBookingAsNoShow_CancelRescheduleInformationSchema = z.object({\n reason: z.string().describe(\"Reason for cancellation or rescheduling.\").nullable().optional(),\n user_id: z.string().describe(\"User ID who performed the action if initiated by a user.\").nullable().optional(),\n actioned_by: z.string().describe(\"Who performed the action: 'user' or 'customer'.\").nullable().optional(),\n}).passthrough().describe(\"Model for cancellation or reschedule information.\");\nexport const ScheduleonceMarkBookingAsNoShowOutput = z.object({\n id: z.string().describe(\"Unique booking identifier.\").nullable(),\n owner: z.union([z.string(), ScheduleonceMarkBookingAsNoShow_OwnerObjectSchema]).nullable().optional(),\n object: z.string().describe(\"Object type, always 'booking'.\").nullable(),\n status: z.string().describe(\"Booking status (will be 'no_show' after successful operation).\").nullable(),\n subject: z.string().describe(\"Booking subject/title.\").nullable().optional(),\n attendees: z.array(z.string()).describe(\"Array of attendee email addresses.\").nullable().optional(),\n event_type: z.string().describe(\"Event type ID.\").nullable().optional(),\n master_page: z.string().describe(\"Master page ID.\").nullable().optional(),\n tracking_id: z.string().describe(\"Human-readable tracking number.\").nullable().optional(),\n booking_page: z.string().describe(\"Booking page ID.\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 timestamp of booking creation.\").nullable().optional(),\n starting_time: z.string().describe(\"ISO 8601 timestamp of scheduled start time.\").nullable().optional(),\n form_submission: ScheduleonceMarkBookingAsNoShow_FormSubmissionSchema.nullable().optional(),\n duration_minutes: z.number().int().describe(\"Duration of the booking in minutes.\").nullable().optional(),\n customer_timezone: z.string().describe(\"Customer's timezone (e.g., 'America/New_York').\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp of last update.\").nullable().optional(),\n location_description: z.string().describe(\"Physical location description.\").nullable().optional(),\n virtual_conferencing: ScheduleonceMarkBookingAsNoShow_VirtualConferencingSchema.nullable().optional(),\n rescheduled_booking_id: z.string().describe(\"ID of rescheduled booking if applicable.\").nullable().optional(),\n cancel_reschedule_information: ScheduleonceMarkBookingAsNoShow_CancelRescheduleInformationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model for booking marked as no-show.\");\n\nexport const scheduleonceMarkBookingAsNoShow = action(\"SCHEDULEONCE_MARK_BOOKING_AS_NO_SHOW\", {\n slug: \"scheduleonce-mark-booking-as-no-show\",\n name: \"Mark Booking as No-Show\",\n description: \"Tool to mark a completed booking as no-show in OnceHub. Use when the customer did not attend the scheduled meeting and you need to update the booking status to reflect the no-show.\",\n input: ScheduleonceMarkBookingAsNoShowInput,\n output: ScheduleonceMarkBookingAsNoShowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuC,EAAE,OAAO,EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,EACxL,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC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AC,SAAS;EACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,iBAAiB,qDAAqD,SAAS,CAAC,CAAC,SAAS;EAC1F,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,sBAAsB,0DAA0D,SAAS,CAAC,CAAC,SAAS;EACpG,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,+BAA+B,kEAAkE,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const ScheduleonceTestApiKeyInput = zod.z.object({}).describe("Request model for
|
|
|
5
5
|
const ScheduleonceTestApiKeyOutput = zod.z.object({
|
|
6
6
|
uid: zod.z.string().describe("Unique identifier returned in the response").nullable().optional(),
|
|
7
7
|
message: zod.z.string().describe("Contains additional information about the API validation").nullable().optional()
|
|
8
|
-
}).describe("Response model for API key test endpoint.");
|
|
8
|
+
}).passthrough().describe("Response model for API key test endpoint.");
|
|
9
9
|
const scheduleonceTestApiKey = require_action.action("SCHEDULEONCE_TEST_API_KEY", {
|
|
10
10
|
slug: "scheduleonce-test-api-key",
|
|
11
11
|
name: "Test API Key",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-api-key.cjs","names":["z","action"],"sources":["../../src/actions/test-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceTestApiKeyInput
|
|
1
|
+
{"version":3,"file":"test-api-key.cjs","names":["z","action"],"sources":["../../src/actions/test-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceTestApiKeyInput = z.object({}).describe(\"Request model for testing API key authentication.\\nNo parameters required - authentication is performed via API-Key header.\");\nexport const ScheduleonceTestApiKeyOutput = z.object({\n uid: z.string().describe(\"Unique identifier returned in the response\").nullable().optional(),\n message: z.string().describe(\"Contains additional information about the API validation\").nullable().optional(),\n}).passthrough().describe(\"Response model for API key test endpoint.\");\n\nexport const scheduleonceTestApiKey = action(\"SCHEDULEONCE_TEST_API_KEY\", {\n slug: \"scheduleonce-test-api-key\",\n name: \"Test API Key\",\n description: \"Tool to validate API key authentication for OnceHub. Use when you need to verify that your API key is valid and active before making other API calls to the platform.\",\n input: ScheduleonceTestApiKeyInput,\n output: ScheduleonceTestApiKeyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAA6H;AAC9L,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,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.
|
|
5
|
-
declare const ScheduleonceTestApiKeyOutput: z.
|
|
6
|
-
|
|
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.$loose>;
|
|
9
|
+
declare const scheduleonceTestApiKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
10
|
//#endregion
|
|
8
11
|
export { scheduleonceTestApiKey };
|
|
9
12
|
//# sourceMappingURL=test-api-key.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-api-key.d.cts","names":[],"sources":["../../src/actions/test-api-key.ts"],"mappings":";;;cAIa,2BAAA,
|
|
1
|
+
{"version":3,"file":"test-api-key.d.cts","names":[],"sources":["../../src/actions/test-api-key.ts"],"mappings":";;;cAIa,2BAAA,EAA2B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,gCAAsB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,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.
|
|
5
|
-
declare const ScheduleonceTestApiKeyOutput: z.
|
|
6
|
-
|
|
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.$loose>;
|
|
9
|
+
declare const scheduleonceTestApiKey: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
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,
|
|
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"}
|
|
@@ -8,7 +8,7 @@ const scheduleonceTestApiKey = action("SCHEDULEONCE_TEST_API_KEY", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
uid: z.string().describe("Unique identifier returned in the response").nullable().optional(),
|
|
10
10
|
message: z.string().describe("Contains additional information about the API validation").nullable().optional()
|
|
11
|
-
}).describe("Response model for API key test endpoint.")
|
|
11
|
+
}).passthrough().describe("Response model for API key test endpoint.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { scheduleonceTestApiKey };
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"test-api-key.mjs","names":[],"sources":["../../src/actions/test-api-key.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceTestApiKeyInput = z.object({}).describe(\"Request model for testing API key authentication.\\nNo parameters required - authentication is performed via API-Key header.\");\nexport const ScheduleonceTestApiKeyOutput = z.object({\n uid: z.string().describe(\"Unique identifier returned in the response\").nullable().optional(),\n message: z.string().describe(\"Contains additional information about the API validation\").nullable().optional(),\n}).passthrough().describe(\"Response model for API key test endpoint.\");\n\nexport const scheduleonceTestApiKey = action(\"SCHEDULEONCE_TEST_API_KEY\", {\n slug: \"scheduleonce-test-api-key\",\n name: \"Test API Key\",\n description: \"Tool to validate API key authentication for OnceHub. Use when you need to verify that your API key is valid and active before making other API calls to the platform.\",\n input: ScheduleonceTestApiKeyInput,\n output: ScheduleonceTestApiKeyOutput,\n});\n"],"mappings":";;AAUA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAVyC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6HAUxD;CACP,QAV0C,EAAE,OAAO;EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
|
|
@@ -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(),
|
|
@@ -18,7 +18,7 @@ const ScheduleonceUpdateContactOutput = zod.z.object({
|
|
|
18
18
|
created_at: zod.z.string().describe("ISO8601 timestamp when the contact was created.").nullable().optional(),
|
|
19
19
|
first_name: zod.z.string().describe("First name of the contact.").nullable().optional(),
|
|
20
20
|
updated_at: zod.z.string().describe("ISO8601 timestamp when the contact was last updated.").nullable().optional()
|
|
21
|
-
}).describe("Response schema for the updated contact in ScheduleOnce.");
|
|
21
|
+
}).passthrough().describe("Response schema for the updated contact in ScheduleOnce.");
|
|
22
22
|
const scheduleonceUpdateContact = require_action.action("SCHEDULEONCE_UPDATE_CONTACT", {
|
|
23
23
|
slug: "scheduleonce-update-contact",
|
|
24
24
|
name: "Update Contact",
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"update-contact.cjs","names":["z","action"],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;CAClG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC7E,OAAOA,IAAAA,E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,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.
|
|
5
|
-
|
|
6
|
-
|
|
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.$loose>;
|
|
22
|
+
declare const scheduleonceUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
id: string;
|
|
24
|
+
email?: string | undefined;
|
|
25
|
+
phone?: string | undefined;
|
|
26
|
+
company?: string | undefined;
|
|
27
|
+
last_name?: string | undefined;
|
|
28
|
+
first_name?: string | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
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,
|
|
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.
|
|
5
|
-
|
|
6
|
-
|
|
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.$loose>;
|
|
22
|
+
declare const scheduleonceUpdateContact: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
|
+
id: string;
|
|
24
|
+
email?: string | undefined;
|
|
25
|
+
phone?: string | undefined;
|
|
26
|
+
company?: string | undefined;
|
|
27
|
+
last_name?: string | undefined;
|
|
28
|
+
first_name?: string | undefined;
|
|
29
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
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,
|
|
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(),
|
|
@@ -21,7 +21,7 @@ const scheduleonceUpdateContact = action("SCHEDULEONCE_UPDATE_CONTACT", {
|
|
|
21
21
|
created_at: z.string().describe("ISO8601 timestamp when the contact was created.").nullable().optional(),
|
|
22
22
|
first_name: z.string().describe("First name of the contact.").nullable().optional(),
|
|
23
23
|
updated_at: z.string().describe("ISO8601 timestamp when the contact was last updated.").nullable().optional()
|
|
24
|
-
}).describe("Response schema for the updated contact in ScheduleOnce.")
|
|
24
|
+
}).passthrough().describe("Response schema for the updated contact in ScheduleOnce.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { scheduleonceUpdateContact };
|
|
@@ -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
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":";;AAuBA,MAAa,4BAA4B,OAAO,+BAA+B;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,kEAgBH;CACP,QAhB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAOhB;AACV,CAAC"}
|
|
@@ -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
|
|
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"],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