@keystrokehq/scheduleonce 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/book-time-slot.cjs +1 -0
- package/dist/actions/book-time-slot.cjs.map +1 -1
- package/dist/actions/book-time-slot.d.cts +3 -33
- package/dist/actions/book-time-slot.d.cts.map +1 -1
- package/dist/actions/book-time-slot.d.mts +3 -33
- package/dist/actions/book-time-slot.d.mts.map +1 -1
- package/dist/actions/book-time-slot.mjs +1 -0
- package/dist/actions/book-time-slot.mjs.map +1 -1
- package/dist/actions/cancel-booking.cjs +1 -0
- package/dist/actions/cancel-booking.cjs.map +1 -1
- package/dist/actions/cancel-booking.d.cts +3 -17
- package/dist/actions/cancel-booking.d.cts.map +1 -1
- package/dist/actions/cancel-booking.d.mts +3 -17
- package/dist/actions/cancel-booking.d.mts.map +1 -1
- package/dist/actions/cancel-booking.mjs +1 -0
- package/dist/actions/cancel-booking.mjs.map +1 -1
- package/dist/actions/create-contact.cjs +1 -0
- package/dist/actions/create-contact.cjs.map +1 -1
- package/dist/actions/create-contact.d.cts +3 -28
- package/dist/actions/create-contact.d.cts.map +1 -1
- package/dist/actions/create-contact.d.mts +3 -28
- package/dist/actions/create-contact.d.mts.map +1 -1
- package/dist/actions/create-contact.mjs +1 -0
- package/dist/actions/create-contact.mjs.map +1 -1
- package/dist/actions/create-one-time-link-for-booking-calendar.cjs +1 -0
- 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 +3 -19
- 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 +3 -19
- 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 +1 -0
- package/dist/actions/create-one-time-link-for-booking-calendar.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -18
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -18
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-contact.cjs +1 -0
- package/dist/actions/delete-contact.cjs.map +1 -1
- package/dist/actions/delete-contact.d.cts +3 -15
- package/dist/actions/delete-contact.d.cts.map +1 -1
- package/dist/actions/delete-contact.d.mts +3 -15
- package/dist/actions/delete-contact.d.mts.map +1 -1
- package/dist/actions/delete-contact.mjs +1 -0
- package/dist/actions/delete-contact.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -15
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -15
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-available-time-slots.cjs +1 -0
- package/dist/actions/get-available-time-slots.cjs.map +1 -1
- package/dist/actions/get-available-time-slots.d.cts +3 -17
- package/dist/actions/get-available-time-slots.d.cts.map +1 -1
- package/dist/actions/get-available-time-slots.d.mts +3 -17
- package/dist/actions/get-available-time-slots.d.mts.map +1 -1
- package/dist/actions/get-available-time-slots.mjs +1 -0
- package/dist/actions/get-available-time-slots.mjs.map +1 -1
- package/dist/actions/get-single-booking-calendar.cjs +1 -0
- package/dist/actions/get-single-booking-calendar.cjs.map +1 -1
- package/dist/actions/get-single-booking-calendar.d.cts +3 -15
- package/dist/actions/get-single-booking-calendar.d.cts.map +1 -1
- package/dist/actions/get-single-booking-calendar.d.mts +3 -15
- package/dist/actions/get-single-booking-calendar.d.mts.map +1 -1
- package/dist/actions/get-single-booking-calendar.mjs +1 -0
- package/dist/actions/get-single-booking-calendar.mjs.map +1 -1
- package/dist/actions/get-single-booking.cjs +1 -0
- package/dist/actions/get-single-booking.cjs.map +1 -1
- package/dist/actions/get-single-booking.d.cts +3 -16
- package/dist/actions/get-single-booking.d.cts.map +1 -1
- package/dist/actions/get-single-booking.d.mts +3 -16
- package/dist/actions/get-single-booking.d.mts.map +1 -1
- package/dist/actions/get-single-booking.mjs +1 -0
- package/dist/actions/get-single-booking.mjs.map +1 -1
- package/dist/actions/get-single-contact.cjs +1 -0
- package/dist/actions/get-single-contact.cjs.map +1 -1
- package/dist/actions/get-single-contact.d.cts +3 -15
- package/dist/actions/get-single-contact.d.cts.map +1 -1
- package/dist/actions/get-single-contact.d.mts +3 -15
- package/dist/actions/get-single-contact.d.mts.map +1 -1
- package/dist/actions/get-single-contact.mjs +1 -0
- package/dist/actions/get-single-contact.mjs.map +1 -1
- package/dist/actions/get-single-master-page.cjs +1 -0
- package/dist/actions/get-single-master-page.cjs.map +1 -1
- package/dist/actions/get-single-master-page.d.cts +3 -15
- package/dist/actions/get-single-master-page.d.cts.map +1 -1
- package/dist/actions/get-single-master-page.d.mts +3 -15
- package/dist/actions/get-single-master-page.d.mts.map +1 -1
- package/dist/actions/get-single-master-page.mjs +1 -0
- package/dist/actions/get-single-master-page.mjs.map +1 -1
- package/dist/actions/get-single-user.cjs +1 -0
- package/dist/actions/get-single-user.cjs.map +1 -1
- package/dist/actions/get-single-user.d.cts +3 -16
- package/dist/actions/get-single-user.d.cts.map +1 -1
- package/dist/actions/get-single-user.d.mts +3 -16
- package/dist/actions/get-single-user.d.mts.map +1 -1
- package/dist/actions/get-single-user.mjs +1 -0
- package/dist/actions/get-single-user.mjs.map +1 -1
- package/dist/actions/get-user-scheduling-availability.cjs +1 -0
- package/dist/actions/get-user-scheduling-availability.cjs.map +1 -1
- package/dist/actions/get-user-scheduling-availability.d.cts +3 -15
- package/dist/actions/get-user-scheduling-availability.d.cts.map +1 -1
- package/dist/actions/get-user-scheduling-availability.d.mts +3 -15
- package/dist/actions/get-user-scheduling-availability.d.mts.map +1 -1
- package/dist/actions/get-user-scheduling-availability.mjs +1 -0
- package/dist/actions/get-user-scheduling-availability.mjs.map +1 -1
- package/dist/actions/list-all-booking-calendars.cjs +1 -0
- package/dist/actions/list-all-booking-calendars.cjs.map +1 -1
- package/dist/actions/list-all-booking-calendars.d.cts +3 -17
- package/dist/actions/list-all-booking-calendars.d.cts.map +1 -1
- package/dist/actions/list-all-booking-calendars.d.mts +3 -17
- package/dist/actions/list-all-booking-calendars.d.mts.map +1 -1
- package/dist/actions/list-all-booking-calendars.mjs +1 -0
- package/dist/actions/list-all-booking-calendars.mjs.map +1 -1
- package/dist/actions/list-all-booking-pages.cjs +1 -0
- package/dist/actions/list-all-booking-pages.cjs.map +1 -1
- package/dist/actions/list-all-booking-pages.d.cts +3 -17
- package/dist/actions/list-all-booking-pages.d.cts.map +1 -1
- package/dist/actions/list-all-booking-pages.d.mts +3 -17
- package/dist/actions/list-all-booking-pages.d.mts.map +1 -1
- package/dist/actions/list-all-booking-pages.mjs +1 -0
- package/dist/actions/list-all-booking-pages.mjs.map +1 -1
- package/dist/actions/list-all-bookings.cjs +1 -0
- package/dist/actions/list-all-bookings.cjs.map +1 -1
- package/dist/actions/list-all-bookings.d.cts +3 -22
- package/dist/actions/list-all-bookings.d.cts.map +1 -1
- package/dist/actions/list-all-bookings.d.mts +3 -22
- package/dist/actions/list-all-bookings.d.mts.map +1 -1
- package/dist/actions/list-all-bookings.mjs +1 -0
- package/dist/actions/list-all-bookings.mjs.map +1 -1
- package/dist/actions/list-all-contacts.cjs +1 -0
- package/dist/actions/list-all-contacts.cjs.map +1 -1
- package/dist/actions/list-all-contacts.d.cts +3 -21
- package/dist/actions/list-all-contacts.d.cts.map +1 -1
- package/dist/actions/list-all-contacts.d.mts +3 -21
- package/dist/actions/list-all-contacts.d.mts.map +1 -1
- package/dist/actions/list-all-contacts.mjs +1 -0
- package/dist/actions/list-all-contacts.mjs.map +1 -1
- package/dist/actions/list-all-event-types.cjs +1 -0
- package/dist/actions/list-all-event-types.cjs.map +1 -1
- package/dist/actions/list-all-event-types.d.cts +3 -17
- package/dist/actions/list-all-event-types.d.cts.map +1 -1
- package/dist/actions/list-all-event-types.d.mts +3 -17
- package/dist/actions/list-all-event-types.d.mts.map +1 -1
- package/dist/actions/list-all-event-types.mjs +1 -0
- package/dist/actions/list-all-event-types.mjs.map +1 -1
- package/dist/actions/list-all-master-pages.cjs +1 -0
- package/dist/actions/list-all-master-pages.cjs.map +1 -1
- package/dist/actions/list-all-master-pages.d.cts +3 -17
- package/dist/actions/list-all-master-pages.d.cts.map +1 -1
- package/dist/actions/list-all-master-pages.d.mts +3 -17
- package/dist/actions/list-all-master-pages.d.mts.map +1 -1
- package/dist/actions/list-all-master-pages.mjs +1 -0
- package/dist/actions/list-all-master-pages.mjs.map +1 -1
- package/dist/actions/list-all-teams.cjs +1 -0
- package/dist/actions/list-all-teams.cjs.map +1 -1
- package/dist/actions/list-all-teams.d.cts +3 -17
- package/dist/actions/list-all-teams.d.cts.map +1 -1
- package/dist/actions/list-all-teams.d.mts +3 -17
- package/dist/actions/list-all-teams.d.mts.map +1 -1
- package/dist/actions/list-all-teams.mjs +1 -0
- package/dist/actions/list-all-teams.mjs.map +1 -1
- package/dist/actions/list-all-users.cjs +1 -0
- package/dist/actions/list-all-users.cjs.map +1 -1
- package/dist/actions/list-all-users.d.cts +3 -17
- package/dist/actions/list-all-users.d.cts.map +1 -1
- package/dist/actions/list-all-users.d.mts +3 -17
- package/dist/actions/list-all-users.d.mts.map +1 -1
- package/dist/actions/list-all-users.mjs +1 -0
- package/dist/actions/list-all-users.mjs.map +1 -1
- package/dist/actions/mark-booking-as-no-show.cjs +1 -0
- package/dist/actions/mark-booking-as-no-show.cjs.map +1 -1
- package/dist/actions/mark-booking-as-no-show.d.cts +3 -15
- package/dist/actions/mark-booking-as-no-show.d.cts.map +1 -1
- package/dist/actions/mark-booking-as-no-show.d.mts +3 -15
- package/dist/actions/mark-booking-as-no-show.d.mts.map +1 -1
- package/dist/actions/mark-booking-as-no-show.mjs +1 -0
- package/dist/actions/mark-booking-as-no-show.mjs.map +1 -1
- package/dist/actions/test-api-key.cjs +1 -0
- package/dist/actions/test-api-key.cjs.map +1 -1
- package/dist/actions/test-api-key.d.cts +3 -13
- package/dist/actions/test-api-key.d.cts.map +1 -1
- package/dist/actions/test-api-key.d.mts +3 -13
- package/dist/actions/test-api-key.d.mts.map +1 -1
- package/dist/actions/test-api-key.mjs +1 -0
- package/dist/actions/test-api-key.mjs.map +1 -1
- package/dist/actions/update-contact.cjs +1 -0
- package/dist/actions/update-contact.cjs.map +1 -1
- package/dist/actions/update-contact.d.cts +3 -20
- package/dist/actions/update-contact.d.cts.map +1 -1
- package/dist/actions/update-contact.d.mts +3 -20
- package/dist/actions/update-contact.d.mts.map +1 -1
- package/dist/actions/update-contact.mjs +1 -0
- package/dist/actions/update-contact.mjs.map +1 -1
- package/dist/actions/update-user-scheduling-availability.cjs +1 -0
- package/dist/actions/update-user-scheduling-availability.cjs.map +1 -1
- package/dist/actions/update-user-scheduling-availability.d.cts +3 -44
- package/dist/actions/update-user-scheduling-availability.d.cts.map +1 -1
- package/dist/actions/update-user-scheduling-availability.d.mts +3 -44
- package/dist/actions/update-user-scheduling-availability.d.mts.map +1 -1
- package/dist/actions/update-user-scheduling-availability.mjs +1 -0
- package/dist/actions/update-user-scheduling-availability.mjs.map +1 -1
- package/dist/actions/update-user.cjs +1 -0
- package/dist/actions/update-user.cjs.map +1 -1
- package/dist/actions/update-user.d.cts +3 -20
- package/dist/actions/update-user.d.cts.map +1 -1
- package/dist/actions/update-user.d.mts +3 -20
- package/dist/actions/update-user.d.mts.map +1 -1
- package/dist/actions/update-user.mjs +1 -0
- package/dist/actions/update-user.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-contact.d.ts
|
|
@@ -19,26 +21,7 @@ declare const ScheduleonceUpdateContactOutput: z.ZodObject<{
|
|
|
19
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const scheduleonceUpdateContact:
|
|
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<"scheduleonce", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const scheduleonceUpdateContact: AppAction<typeof ScheduleonceUpdateContactInput, typeof ScheduleonceUpdateContactOutput, typeof scheduleonce.credential>;
|
|
42
25
|
//#endregion
|
|
43
26
|
export { scheduleonceUpdateContact };
|
|
44
27
|
//# sourceMappingURL=update-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.d.cts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAW/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-contact.d.ts
|
|
@@ -19,26 +21,7 @@ declare const ScheduleonceUpdateContactOutput: z.ZodObject<{
|
|
|
19
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
updated_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
}, z.core.$loose>;
|
|
22
|
-
declare const scheduleonceUpdateContact:
|
|
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<"scheduleonce", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
generic_api_key: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
generic_api_key: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
24
|
+
declare const scheduleonceUpdateContact: AppAction<typeof ScheduleonceUpdateContactInput, typeof ScheduleonceUpdateContactOutput, typeof scheduleonce.credential>;
|
|
42
25
|
//#endregion
|
|
43
26
|
export { scheduleonceUpdateContact };
|
|
44
27
|
//# sourceMappingURL=update-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.d.mts","names":[],"sources":["../../src/actions/update-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;cAW/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-contact.mjs","names":[],"sources":["../../src/actions/update-contact.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateContactInput = z.object({\n id: z.string().describe(\"Unique identifier of the contact to update (e.g., 'CTC-W35G2NEQ2PC6QX').\"),\n email: z.string().describe(\"Updated email address of the contact.\").optional(),\n phone: z.string().describe(\"Updated phone number of the contact.\").optional(),\n company: z.string().describe(\"Updated company name associated with the contact.\").optional(),\n last_name: z.string().describe(\"Updated last name of the contact.\").optional(),\n first_name: z.string().describe(\"Updated first name of the contact.\").optional(),\n}).describe(\"Request schema for updating an existing contact in ScheduleOnce.\");\nexport const ScheduleonceUpdateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier of the contact.\").nullable(),\n email: z.string().describe(\"Email address of the contact.\").nullable().optional(),\n phone: z.string().describe(\"Phone number of the contact.\").nullable().optional(),\n company: z.string().describe(\"Company name associated with the contact.\").nullable().optional(),\n last_name: z.string().describe(\"Last name of the contact.\").nullable().optional(),\n created_at: z.string().describe(\"ISO8601 timestamp when the contact was created.\").nullable().optional(),\n first_name: z.string().describe(\"First name of the contact.\").nullable().optional(),\n updated_at: z.string().describe(\"ISO8601 timestamp when the contact was last updated.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the updated contact in ScheduleOnce.\");\n\nexport const scheduleonceUpdateContact: AppAction<\n typeof ScheduleonceUpdateContactInput,\n typeof ScheduleonceUpdateContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_CONTACT\", {\n slug: \"scheduleonce-update-contact\",\n name: \"Update Contact\",\n description: \"Tool to update an existing contact in ScheduleOnce. Use when you need to modify contact information such as name, email, company, or phone number.\",\n input: ScheduleonceUpdateContactInput,\n output: ScheduleonceUpdateContactOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;EAClG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC7E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,kEAoBH;CACP,QApB6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-scheduling-availability.cjs","names":["z","action"],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: ScheduleonceUpdateUserSchedulingAvailabilityInput,\n output: ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-scheduling-availability.cjs","names":["z","action"],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability: AppAction<\n typeof ScheduleonceUpdateUserSchedulingAvailabilityInput,\n typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: ScheduleonceUpdateUserSchedulingAvailabilityInput,\n output: ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oDAAoDA,IAAAA,EAAE,OAAO;CACxE,IAAIA,IAAAA,EAAE,OAAO,CAAC,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,SAA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3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user-scheduling-availability.d.ts
|
|
@@ -63,50 +65,7 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
63
65
|
}, z.core.$loose>>>>;
|
|
64
66
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const scheduleonceUpdateUserSchedulingAvailability:
|
|
67
|
-
id: string;
|
|
68
|
-
weekly: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
|
|
71
|
-
working_hours?: {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
end_time: string;
|
|
74
|
-
start_time: string;
|
|
75
|
-
locations?: {
|
|
76
|
-
[x: string]: unknown;
|
|
77
|
-
id?: string | undefined;
|
|
78
|
-
name?: string | undefined;
|
|
79
|
-
}[] | undefined;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
}[];
|
|
82
|
-
timezone: string;
|
|
83
|
-
overrides?: {
|
|
84
|
-
[x: string]: unknown;
|
|
85
|
-
date: string;
|
|
86
|
-
working_hours?: {
|
|
87
|
-
[x: string]: unknown;
|
|
88
|
-
end_time: string;
|
|
89
|
-
start_time: string;
|
|
90
|
-
locations?: {
|
|
91
|
-
[x: string]: unknown;
|
|
92
|
-
id?: string | undefined;
|
|
93
|
-
name?: string | undefined;
|
|
94
|
-
}[] | undefined;
|
|
95
|
-
}[] | undefined;
|
|
96
|
-
}[] | undefined;
|
|
97
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
98
|
-
connectionId: z.ZodString;
|
|
99
|
-
entityId: z.ZodString;
|
|
100
|
-
instanceId: z.ZodString;
|
|
101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
-
generic_api_key: z.ZodString;
|
|
103
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
104
|
-
connectionId: z.ZodString;
|
|
105
|
-
entityId: z.ZodString;
|
|
106
|
-
instanceId: z.ZodString;
|
|
107
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
-
generic_api_key: z.ZodString;
|
|
109
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const scheduleonceUpdateUserSchedulingAvailability: AppAction<typeof ScheduleonceUpdateUserSchedulingAvailabilityInput, typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput, typeof scheduleonce.credential>;
|
|
110
69
|
//#endregion
|
|
111
70
|
export { scheduleonceUpdateUserSchedulingAvailability };
|
|
112
71
|
//# sourceMappingURL=update-user-scheduling-availability.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-scheduling-availability.d.cts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-scheduling-availability.d.cts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user-scheduling-availability.d.ts
|
|
@@ -63,50 +65,7 @@ declare const ScheduleonceUpdateUserSchedulingAvailabilityOutput: z.ZodObject<{
|
|
|
63
65
|
}, z.core.$loose>>>>;
|
|
64
66
|
last_updated_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
65
67
|
}, z.core.$loose>;
|
|
66
|
-
declare const scheduleonceUpdateUserSchedulingAvailability:
|
|
67
|
-
id: string;
|
|
68
|
-
weekly: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
day: "Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday";
|
|
71
|
-
working_hours?: {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
end_time: string;
|
|
74
|
-
start_time: string;
|
|
75
|
-
locations?: {
|
|
76
|
-
[x: string]: unknown;
|
|
77
|
-
id?: string | undefined;
|
|
78
|
-
name?: string | undefined;
|
|
79
|
-
}[] | undefined;
|
|
80
|
-
}[] | undefined;
|
|
81
|
-
}[];
|
|
82
|
-
timezone: string;
|
|
83
|
-
overrides?: {
|
|
84
|
-
[x: string]: unknown;
|
|
85
|
-
date: string;
|
|
86
|
-
working_hours?: {
|
|
87
|
-
[x: string]: unknown;
|
|
88
|
-
end_time: string;
|
|
89
|
-
start_time: string;
|
|
90
|
-
locations?: {
|
|
91
|
-
[x: string]: unknown;
|
|
92
|
-
id?: string | undefined;
|
|
93
|
-
name?: string | undefined;
|
|
94
|
-
}[] | undefined;
|
|
95
|
-
}[] | undefined;
|
|
96
|
-
}[] | undefined;
|
|
97
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
98
|
-
connectionId: z.ZodString;
|
|
99
|
-
entityId: z.ZodString;
|
|
100
|
-
instanceId: z.ZodString;
|
|
101
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
102
|
-
generic_api_key: z.ZodString;
|
|
103
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
104
|
-
connectionId: z.ZodString;
|
|
105
|
-
entityId: z.ZodString;
|
|
106
|
-
instanceId: z.ZodString;
|
|
107
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
108
|
-
generic_api_key: z.ZodString;
|
|
109
|
-
}, z.core.$strip>>]>;
|
|
68
|
+
declare const scheduleonceUpdateUserSchedulingAvailability: AppAction<typeof ScheduleonceUpdateUserSchedulingAvailabilityInput, typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput, typeof scheduleonce.credential>;
|
|
110
69
|
//#endregion
|
|
111
70
|
export { scheduleonceUpdateUserSchedulingAvailability };
|
|
112
71
|
//# sourceMappingURL=update-user-scheduling-availability.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-scheduling-availability.d.mts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-scheduling-availability.d.mts","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"mappings":";;;;;cAMa,iDAAA,EAAiD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2CjD,kDAAA,EAAkD,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cASlD,4CAAA,EAA8C,SAAA,QAClD,iDAAA,SACA,kDAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user-scheduling-availability.mjs","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: ScheduleonceUpdateUserSchedulingAvailabilityInput,\n output: ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user-scheduling-availability.mjs","names":[],"sources":["../../src/actions/update-user-scheduling-availability.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserSchedulingAvailabilityInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (e.g., 'USR-GB59HWQCXF')\"),\n weekly: z.array(z.object({\n day: z.enum([\"Sunday\", \"Monday\", \"Tuesday\", \"Wednesday\", \"Thursday\", \"Friday\", \"Saturday\"]).describe(\"Day of the week\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this day. Empty list means the user is not available on this day.\").optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the weekly availability.\")).describe(\"Weekly schedule containing availability for each day of the week. Must include entries for all 7 days.\"),\n timezone: z.string().describe(\"Timezone for the scheduling availability (e.g., 'America/New_York', 'Asia/Kolkata'). Must be a valid IANA timezone identifier.\"),\n overrides: z.array(z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\"),\n working_hours: z.array(z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\"),\n locations: z.array(z.object({\n id: z.string().describe(\"Location identifier\").optional(),\n name: z.string().describe(\"Location name\").optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\")).describe(\"List of locations where the user is available during these hours. Empty list means all locations.\").optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\"),\n}).passthrough().describe(\"Model for working hours within a day.\")).describe(\"List of working hour blocks for this specific date. Empty list means the user is not available on this date.\").optional(),\n}).passthrough().describe(\"Model for scheduling overrides on specific dates.\")).describe(\"List of specific date overrides that modify the weekly schedule. Use this for holidays, vacation days, or special availability.\").optional(),\n}).describe(\"Request model for updating user scheduling availability.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema = z.object({\n id: z.string().describe(\"Location identifier\").nullable().optional(),\n name: z.string().describe(\"Location name\").nullable().optional(),\n}).passthrough().describe(\"Model for a location associated with working hours.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema = z.object({\n end_time: z.string().describe(\"End time in HH:MM format (24-hour, e.g., '17:00')\").nullable().optional(),\n locations: z.array(ScheduleonceUpdateUserSchedulingAvailability_WorkingHoursLocationSchema).describe(\"List of locations where the user is available during these hours\").nullable().optional(),\n start_time: z.string().describe(\"Start time in HH:MM format (24-hour, e.g., '09:00')\").nullable().optional(),\n}).passthrough().describe(\"Model for working hours in the response (with optional fields).\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema = z.object({\n day: z.string().describe(\"Day of the week (e.g., 'Sunday', 'Monday', etc.)\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this day\").nullable().optional(),\n}).passthrough().describe(\"Model for a single day's schedule in the response.\");\nconst ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema = z.object({\n date: z.string().describe(\"Date in YYYY-MM-DD format for the override\").nullable().optional(),\n working_hours: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWorkingHoursSchema).describe(\"List of working hour blocks for this specific date\").nullable().optional(),\n}).passthrough().describe(\"Model for scheduling overrides in the response.\");\nexport const ScheduleonceUpdateUserSchedulingAvailabilityOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user (may not be returned)\").nullable().optional(),\n object: z.string().describe(\"The object type, typically 'schedule'\").nullable().optional(),\n weekly: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseWeeklyScheduleSchema).describe(\"Updated weekly schedule\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone setting\").nullable().optional(),\n overrides: z.array(ScheduleonceUpdateUserSchedulingAvailability_ResponseSchedulingOverrideSchema).describe(\"Updated scheduling overrides\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 timestamp when availability was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for updating user scheduling availability.\");\n\nexport const scheduleonceUpdateUserSchedulingAvailability: AppAction<\n typeof ScheduleonceUpdateUserSchedulingAvailabilityInput,\n typeof ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER_SCHEDULING_AVAILABILITY\", {\n slug: \"scheduleonce-update-user-scheduling-availability\",\n name: \"Update User Scheduling Availability\",\n description: \"Tool to update user scheduling availability in OnceHub. Use when you need to modify a user's weekly schedule, set working hours for specific days, or add date-specific overrides for holidays or special events.\",\n input: ScheduleonceUpdateUserSchedulingAvailabilityInput,\n output: ScheduleonceUpdateUserSchedulingAvailabilityOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oDAAoD,EAAE,OAAO;CACxE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACpF,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,KA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E,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,eAAe,EAAE,MAAM,uEAAuE,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAU3E,MAAa,+CAIT,OAAO,oDAAoD;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBgE,EAAE,OAAO;EACzE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,QAAQ,EAAE,MAAM,yEAAyE,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,MAAM,6EAA6E,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserInput = z.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":"
|
|
1
|
+
{"version":3,"file":"update-user.cjs","names":["z","action"],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to update (e.g., 'USR-DQ27BRAJ4L').\"),\n email: z.string().describe(\"Updated email address of the user.\").optional(),\n timezone: z.string().describe(\"Updated timezone for the user (e.g., 'America/Chicago', 'Europe/London').\").optional(),\n last_name: z.string().describe(\"Updated last name of the user.\").optional(),\n role_name: z.string().describe(\"Updated role name for the user (e.g., 'Member', 'Admin').\").optional(),\n first_name: z.string().describe(\"Updated first name of the user.\").optional(),\n}).describe(\"Request model for updating an existing user.\");\nexport const ScheduleonceUpdateUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable().optional(),\n status: z.string().describe(\"User status indicating if the user has signed in or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated user.\");\n\nexport const scheduleonceUpdateUser: AppAction<\n typeof ScheduleonceUpdateUserInput,\n typeof ScheduleonceUpdateUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER\", {\n slug: \"scheduleonce-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in OnceHub. Use when you need to modify user information such as name, email, role, or timezone.\",\n input: ScheduleonceUpdateUserInput,\n output: ScheduleonceUpdateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC1E,WAAWA,IAAAA,E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a;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user.d.ts
|
|
@@ -20,26 +22,7 @@ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
|
|
|
20
22
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const scheduleonceUpdateUser:
|
|
24
|
-
id: string;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
timezone?: string | undefined;
|
|
27
|
-
last_name?: string | undefined;
|
|
28
|
-
role_name?: string | undefined;
|
|
29
|
-
first_name?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const scheduleonceUpdateUser: AppAction<typeof ScheduleonceUpdateUserInput, typeof ScheduleonceUpdateUserOutput, typeof scheduleonce.credential>;
|
|
43
26
|
//#endregion
|
|
44
27
|
export { scheduleonceUpdateUser };
|
|
45
28
|
//# sourceMappingURL=update-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.d.cts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/update-user.d.ts
|
|
@@ -20,26 +22,7 @@ declare const ScheduleonceUpdateUserOutput: z.ZodObject<{
|
|
|
20
22
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
23
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
}, z.core.$loose>;
|
|
23
|
-
declare const scheduleonceUpdateUser:
|
|
24
|
-
id: string;
|
|
25
|
-
email?: string | undefined;
|
|
26
|
-
timezone?: string | undefined;
|
|
27
|
-
last_name?: string | undefined;
|
|
28
|
-
role_name?: string | undefined;
|
|
29
|
-
first_name?: string | undefined;
|
|
30
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
31
|
-
connectionId: z.ZodString;
|
|
32
|
-
entityId: z.ZodString;
|
|
33
|
-
instanceId: z.ZodString;
|
|
34
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
35
|
-
generic_api_key: z.ZodString;
|
|
36
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
37
|
-
connectionId: z.ZodString;
|
|
38
|
-
entityId: z.ZodString;
|
|
39
|
-
instanceId: z.ZodString;
|
|
40
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
41
|
-
generic_api_key: z.ZodString;
|
|
42
|
-
}, z.core.$strip>>]>;
|
|
25
|
+
declare const scheduleonceUpdateUser: AppAction<typeof ScheduleonceUpdateUserInput, typeof ScheduleonceUpdateUserOutput, typeof scheduleonce.credential>;
|
|
43
26
|
//#endregion
|
|
44
27
|
export { scheduleonceUpdateUser };
|
|
45
28
|
//# sourceMappingURL=update-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.d.mts","names":[],"sources":["../../src/actions/update-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceUpdateUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to update (e.g., 'USR-DQ27BRAJ4L').\"),\n email: z.string().describe(\"Updated email address of the user.\").optional(),\n timezone: z.string().describe(\"Updated timezone for the user (e.g., 'America/Chicago', 'Europe/London').\").optional(),\n last_name: z.string().describe(\"Updated last name of the user.\").optional(),\n role_name: z.string().describe(\"Updated role name for the user (e.g., 'Member', 'Admin').\").optional(),\n first_name: z.string().describe(\"Updated first name of the user.\").optional(),\n}).describe(\"Request model for updating an existing user.\");\nexport const ScheduleonceUpdateUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable().optional(),\n status: z.string().describe(\"User status indicating if the user has signed in or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated user.\");\n\nexport const scheduleonceUpdateUser = action(\"SCHEDULEONCE_UPDATE_USER\", {\n slug: \"scheduleonce-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in OnceHub. Use when you need to modify user information such as name, email, role, or timezone.\",\n input: ScheduleonceUpdateUserInput,\n output: ScheduleonceUpdateUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"update-user.mjs","names":[],"sources":["../../src/actions/update-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { scheduleonce } from \"../app\";\n\nexport const ScheduleonceUpdateUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to update (e.g., 'USR-DQ27BRAJ4L').\"),\n email: z.string().describe(\"Updated email address of the user.\").optional(),\n timezone: z.string().describe(\"Updated timezone for the user (e.g., 'America/Chicago', 'Europe/London').\").optional(),\n last_name: z.string().describe(\"Updated last name of the user.\").optional(),\n role_name: z.string().describe(\"Updated role name for the user (e.g., 'Member', 'Admin').\").optional(),\n first_name: z.string().describe(\"Updated first name of the user.\").optional(),\n}).describe(\"Request model for updating an existing user.\");\nexport const ScheduleonceUpdateUserOutput = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable().optional(),\n email: z.string().describe(\"User's email address\").nullable().optional(),\n teams: z.array(z.string()).describe(\"Array of team IDs the user belongs to\").nullable().optional(),\n object: z.string().describe(\"Object type, always 'user'\").nullable().optional(),\n status: z.string().describe(\"User status indicating if the user has signed in or is still in invited status\").nullable().optional(),\n timezone: z.string().describe(\"User's timezone (e.g., 'America/Chicago')\").nullable().optional(),\n last_name: z.string().describe(\"User's last name\").nullable().optional(),\n role_name: z.string().describe(\"User's role in the account (e.g., 'Member', 'Admin')\").nullable().optional(),\n first_name: z.string().describe(\"User's first name\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated user.\");\n\nexport const scheduleonceUpdateUser: AppAction<\n typeof ScheduleonceUpdateUserInput,\n typeof ScheduleonceUpdateUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_UPDATE_USER\", {\n slug: \"scheduleonce-update-user\",\n name: \"Update User\",\n description: \"Tool to update an existing user in OnceHub. Use when you need to modify user information such as name, email, role, or timezone.\",\n input: ScheduleonceUpdateUserInput,\n output: ScheduleonceUpdateUserOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5ByC,EAAE,OAAO;EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;EACpH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;EACrG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CAC9E,CAAC,CAAC,CAAC,SAAS,8CAqBH;CACP,QArB0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
-
let zod = require("zod");
|
|
3
2
|
//#region src/app.ts
|
|
3
|
+
const credential = { generic_api_key: require("zod").z.string() };
|
|
4
4
|
const scheduleonce = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
5
5
|
slug: "scheduleonce",
|
|
6
6
|
auth: "keystroke",
|
|
7
|
-
credential
|
|
7
|
+
credential
|
|
8
8
|
});
|
|
9
9
|
//#endregion
|
|
10
10
|
exports.scheduleonce = scheduleonce;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const scheduleonce = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const scheduleonce: KeystrokeApp<\"scheduleonce\", typeof credential> = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAGA,MAAM,aAAa,EACjB,8BAAiBA,CAAAA,CAAAA,EAAE,OAAO,EAC5B;AAEA,MAAa,gBAAA,GAAA,2BAAA,UAAA,CAA0E;CACrF,MAAM;CACN,MAAM;CACN;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const scheduleonce: KeystrokeApp<"scheduleonce", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { scheduleonce };
|
|
13
11
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,YAAA,EAAc,YAAY,wBAAwB,UAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
|
+
import { KeystrokeApp } from "@keystrokehq/keystroke/app";
|
|
1
2
|
import { z } from "zod";
|
|
2
3
|
|
|
3
4
|
//#region src/app.d.ts
|
|
4
|
-
declare const
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
|
-
entityId: z.ZodString;
|
|
7
|
-
instanceId: z.ZodString;
|
|
8
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5
|
+
declare const credential: {
|
|
9
6
|
generic_api_key: z.ZodString;
|
|
10
|
-
}
|
|
7
|
+
};
|
|
8
|
+
declare const scheduleonce: KeystrokeApp<"scheduleonce", typeof credential>;
|
|
11
9
|
//#endregion
|
|
12
10
|
export { scheduleonce };
|
|
13
11
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;;cAGM,UAAA;mBAEL,CAAA,CAAA,SAAA;AAAA;AAAA,cAEY,YAAA,EAAc,YAAY,wBAAwB,UAAA"}
|
package/dist/app.mjs
CHANGED
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const scheduleonce = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n credential
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp, type KeystrokeApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nconst credential = {\n generic_api_key: z.string(),\n};\n\nexport const scheduleonce: KeystrokeApp<\"scheduleonce\", typeof credential> = defineApp({\n slug: \"scheduleonce\",\n auth: \"keystroke\",\n credential,\n});\n"],"mappings":";;AAOA,MAAa,eAAgE,UAAU;CACrF,MAAM;CACN,MAAM;CACN,cANA,iBAAiB,EAAE,OAAO,EAM1B;AACF,CAAC"}
|
package/dist/index.d.cts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { scheduleonce } from "./app.cjs";
|
|
1
2
|
import { scheduleonceBookTimeSlot } from "./actions/book-time-slot.cjs";
|
|
2
3
|
import { scheduleonceCancelBooking } from "./actions/cancel-booking.cjs";
|
|
3
4
|
import { scheduleonceCreateContact } from "./actions/create-contact.cjs";
|
|
@@ -25,6 +26,5 @@ import { scheduleonceTestApiKey } from "./actions/test-api-key.cjs";
|
|
|
25
26
|
import { scheduleonceUpdateContact } from "./actions/update-contact.cjs";
|
|
26
27
|
import { scheduleonceUpdateUser } from "./actions/update-user.cjs";
|
|
27
28
|
import { scheduleonceUpdateUserSchedulingAvailability } from "./actions/update-user-scheduling-availability.cjs";
|
|
28
|
-
import { scheduleonce } from "./app.cjs";
|
|
29
29
|
import { scheduleonceCatalog } from "./catalog.cjs";
|
|
30
30
|
export { scheduleonce, scheduleonceBookTimeSlot, scheduleonceCancelBooking, scheduleonceCatalog, scheduleonceCreateContact, scheduleonceCreateOneTimeLinkForBookingCalendar, scheduleonceCreateUser, scheduleonceDeleteContact, scheduleonceDeleteUser, scheduleonceGetAvailableTimeSlots, scheduleonceGetSingleBooking, scheduleonceGetSingleBookingCalendar, scheduleonceGetSingleContact, scheduleonceGetSingleMasterPage, scheduleonceGetSingleUser, scheduleonceGetUserSchedulingAvailability, scheduleonceListAllBookingCalendars, scheduleonceListAllBookingPages, scheduleonceListAllBookings, scheduleonceListAllContacts, scheduleonceListAllEventTypes, scheduleonceListAllMasterPages, scheduleonceListAllTeams, scheduleonceListAllUsers, scheduleonceMarkBookingAsNoShow, scheduleonceTestApiKey, scheduleonceUpdateContact, scheduleonceUpdateUser, scheduleonceUpdateUserSchedulingAvailability };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { scheduleonce } from "./app.mjs";
|
|
1
2
|
import { scheduleonceBookTimeSlot } from "./actions/book-time-slot.mjs";
|
|
2
3
|
import { scheduleonceCancelBooking } from "./actions/cancel-booking.mjs";
|
|
3
4
|
import { scheduleonceCreateContact } from "./actions/create-contact.mjs";
|
|
@@ -25,6 +26,5 @@ import { scheduleonceTestApiKey } from "./actions/test-api-key.mjs";
|
|
|
25
26
|
import { scheduleonceUpdateContact } from "./actions/update-contact.mjs";
|
|
26
27
|
import { scheduleonceUpdateUser } from "./actions/update-user.mjs";
|
|
27
28
|
import { scheduleonceUpdateUserSchedulingAvailability } from "./actions/update-user-scheduling-availability.mjs";
|
|
28
|
-
import { scheduleonce } from "./app.mjs";
|
|
29
29
|
import { scheduleonceCatalog } from "./catalog.mjs";
|
|
30
30
|
export { scheduleonce, scheduleonceBookTimeSlot, scheduleonceCancelBooking, scheduleonceCatalog, scheduleonceCreateContact, scheduleonceCreateOneTimeLinkForBookingCalendar, scheduleonceCreateUser, scheduleonceDeleteContact, scheduleonceDeleteUser, scheduleonceGetAvailableTimeSlots, scheduleonceGetSingleBooking, scheduleonceGetSingleBookingCalendar, scheduleonceGetSingleContact, scheduleonceGetSingleMasterPage, scheduleonceGetSingleUser, scheduleonceGetUserSchedulingAvailability, scheduleonceListAllBookingCalendars, scheduleonceListAllBookingPages, scheduleonceListAllBookings, scheduleonceListAllContacts, scheduleonceListAllEventTypes, scheduleonceListAllMasterPages, scheduleonceListAllTeams, scheduleonceListAllUsers, scheduleonceMarkBookingAsNoShow, scheduleonceTestApiKey, scheduleonceUpdateContact, scheduleonceUpdateUser, scheduleonceUpdateUserSchedulingAvailability };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@keystrokehq/scheduleonce",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@keystrokehq/keystroke": ">=0.1.
|
|
34
|
+
"@keystrokehq/keystroke": ">=0.1.104",
|
|
35
35
|
"zod": "^4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|