@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateContactInput = z.object({\n city: z.string().describe(\"City of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact (required).\"),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State or province of the contact.\").optional(),\n company: z.string().describe(\"Company name associated with the contact.\").optional(),\n country: z.string().describe(\"Country of the contact.\").optional(),\n timezone: z.string().describe(\"Timezone of the contact.\").optional(),\n job_title: z.string().describe(\"Job title of the contact.\").optional(),\n last_name: z.string().describe(\"Last name of the contact (required).\"),\n post_code: z.string().describe(\"Postal or ZIP code of the contact.\").optional(),\n first_name: z.string().describe(\"First name of the contact (required).\"),\n salutation: z.string().describe(\"Salutation/title for the contact.\").optional(),\n mobile_phone: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n street_address: z.string().describe(\"Street address of the contact.\").optional(),\n}).describe(\"Request model for creating a new contact in ScheduleOnce.\");\nconst ScheduleonceCreateContact_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field\").nullable(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nexport const ScheduleonceCreateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\").nullable(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceCreateContact_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 format timestamp when contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created contact.\");\n\nexport const scheduleonceCreateContact = action(\"SCHEDULEONCE_CREATE_CONTACT\", {\n slug: \"scheduleonce-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in ScheduleOnce. Use when you need to add a contact with email, first name, and last name. Additional fields like company, phone, and address details can be optionally provided.\",\n input: ScheduleonceCreateContactInput,\n output: ScheduleonceCreateContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-contact.mjs","names":[],"sources":["../../src/actions/create-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 ScheduleonceCreateContactInput = z.object({\n city: z.string().describe(\"City of the contact.\").optional(),\n email: z.string().describe(\"Email address of the contact (required).\"),\n phone: z.string().describe(\"Phone number of the contact.\").optional(),\n state: z.string().describe(\"State or province of the contact.\").optional(),\n company: z.string().describe(\"Company name associated with the contact.\").optional(),\n country: z.string().describe(\"Country of the contact.\").optional(),\n timezone: z.string().describe(\"Timezone of the contact.\").optional(),\n job_title: z.string().describe(\"Job title of the contact.\").optional(),\n last_name: z.string().describe(\"Last name of the contact (required).\"),\n post_code: z.string().describe(\"Postal or ZIP code of the contact.\").optional(),\n first_name: z.string().describe(\"First name of the contact (required).\"),\n salutation: z.string().describe(\"Salutation/title for the contact.\").optional(),\n mobile_phone: z.string().describe(\"Mobile phone number of the contact.\").optional(),\n street_address: z.string().describe(\"Street address of the contact.\").optional(),\n}).describe(\"Request model for creating a new contact in ScheduleOnce.\");\nconst ScheduleonceCreateContact_CustomFieldSchema = z.object({\n name: z.string().describe(\"Name of the custom field\").nullable(),\n value: z.string().describe(\"Value of the custom field\").nullable().optional(),\n}).passthrough().describe(\"Model for custom field data.\");\nexport const ScheduleonceCreateContactOutput = z.object({\n id: z.string().describe(\"Unique identifier for the contact\").nullable(),\n city: z.string().describe(\"City\").nullable().optional(),\n email: z.string().describe(\"Email address\").nullable().optional(),\n owner: z.string().describe(\"User ID of the contact owner (e.g., 'USR-FSD423423')\").nullable().optional(),\n phone: z.string().describe(\"Phone number\").nullable().optional(),\n state: z.string().describe(\"State/province\").nullable().optional(),\n object: z.string().describe(\"The object type, always 'contact'\").nullable(),\n company: z.string().describe(\"Company name\").nullable().optional(),\n country: z.string().describe(\"Country\").nullable().optional(),\n timezone: z.string().describe(\"Timezone setting\").nullable().optional(),\n employees: z.string().describe(\"Number of employees\").nullable().optional(),\n job_title: z.string().describe(\"Contact's job title\").nullable().optional(),\n last_name: z.string().describe(\"Contact's last name\").nullable().optional(),\n post_code: z.string().describe(\"Postal/ZIP code\").nullable().optional(),\n first_name: z.string().describe(\"Contact's first name\").nullable().optional(),\n salutation: z.string().describe(\"Optional salutation/title\").nullable().optional(),\n has_consent: z.boolean().describe(\"Consent status\").nullable().optional(),\n company_size: z.string().describe(\"Size of company\").nullable().optional(),\n mobile_phone: z.string().describe(\"Mobile phone number\").nullable().optional(),\n creation_time: z.string().describe(\"ISO 8601 format timestamp when contact was created\").nullable().optional(),\n custom_fields: z.array(ScheduleonceCreateContact_CustomFieldSchema).describe(\"Array of custom field objects with 'name' and 'value' properties\").nullable().optional(),\n street_address: z.string().describe(\"Street address\").nullable().optional(),\n terms_of_service: z.boolean().describe(\"Terms of service acceptance\").nullable().optional(),\n last_updated_time: z.string().describe(\"ISO 8601 format timestamp when contact was last updated\").nullable().optional(),\n}).passthrough().describe(\"Response model for a newly created contact.\");\n\nexport const scheduleonceCreateContact: AppAction<\n typeof ScheduleonceCreateContactInput,\n typeof ScheduleonceCreateContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_CREATE_CONTACT\", {\n slug: \"scheduleonce-create-contact\",\n name: \"Create Contact\",\n description: \"Tool to create a new contact in ScheduleOnce. Use when you need to add a contact with email, first name, and last name. Additional fields like company, phone, and address details can be optionally provided.\",\n input: ScheduleonceCreateContactInput,\n output: ScheduleonceCreateContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACrE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACzE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CACjE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACrE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CAC9E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAClF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8BAA8B;AA4BxD,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApC6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAC1E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7E,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,eAAe,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrK,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1E,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-one-time-link-for-booking-calendar.cjs","names":["z","action"],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarInput = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published.\"),\n guest: z.object({\n name: z.string().describe(\"Guest's full name for personalization\").optional(),\n email: z.string().describe(\"Guest's email address for personalization\").optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\").optional(),\n}).describe(\"Request model for creating a one-time booking link for a booking calendar.\");\nconst ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema = z.object({\n name: z.string().describe(\"Guest's full name for personalization\").nullable().optional(),\n email: z.string().describe(\"Guest's email address for personalization\").nullable().optional(),\n}).passthrough().describe(\"Model for guest information to personalize the one-time link.\");\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput = z.object({\n id: z.string().describe(\"Unique identifier for the one-time link\").nullable().optional(),\n url: z.string().describe(\"The generated one-time booking link URL that can be shared with the guest\").nullable().optional(),\n guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),\n object: z.string().describe(\"Object type, typically 'one_time_link'\").nullable().optional(),\n consumed: z.boolean().describe(\"Whether the link has been used for a booking. One-time links can only be used once.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n expires_at: z.string().describe(\"ISO 8601 timestamp when the link expires (typically one year from creation)\").nullable().optional(),\n booking_calendar_id: z.string().describe(\"ID of the associated booking calendar\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created one-time booking link.\");\n\nexport const scheduleonceCreateOneTimeLinkForBookingCalendar = action(\"SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-create-one-time-link-for-booking-calendar\",\n name: \"Create One-Time Link for Booking Calendar\",\n description: \"Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.\",\n input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n output: ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-one-time-link-for-booking-calendar.cjs","names":["z","action"],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.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 ScheduleonceCreateOneTimeLinkForBookingCalendarInput = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published.\"),\n guest: z.object({\n name: z.string().describe(\"Guest's full name for personalization\").optional(),\n email: z.string().describe(\"Guest's email address for personalization\").optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\").optional(),\n}).describe(\"Request model for creating a one-time booking link for a booking calendar.\");\nconst ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema = z.object({\n name: z.string().describe(\"Guest's full name for personalization\").nullable().optional(),\n email: z.string().describe(\"Guest's email address for personalization\").nullable().optional(),\n}).passthrough().describe(\"Model for guest information to personalize the one-time link.\");\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput = z.object({\n id: z.string().describe(\"Unique identifier for the one-time link\").nullable().optional(),\n url: z.string().describe(\"The generated one-time booking link URL that can be shared with the guest\").nullable().optional(),\n guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),\n object: z.string().describe(\"Object type, typically 'one_time_link'\").nullable().optional(),\n consumed: z.boolean().describe(\"Whether the link has been used for a booking. One-time links can only be used once.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n expires_at: z.string().describe(\"ISO 8601 timestamp when the link expires (typically one year from creation)\").nullable().optional(),\n booking_calendar_id: z.string().describe(\"ID of the associated booking calendar\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created one-time booking link.\");\n\nexport const scheduleonceCreateOneTimeLinkForBookingCalendar: AppAction<\n typeof ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n typeof ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-create-one-time-link-for-booking-calendar\",\n name: \"Create One-Time Link for Booking Calendar\",\n description: \"Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.\",\n input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n output: ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uDAAuDA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I;CACvK,OAAOA,IAAAA,EAAE,OAAO;EAChB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,yEAAyEA,IAAAA,EAAE,OAAO;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AACzF,MAAa,wDAAwDA,IAAAA,EAAE,OAAO;CAC5E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,OAAO,uEAAuE,SAAS,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,kDAITC,eAAAA,OAAO,0DAA0D;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-one-time-link-for-booking-calendar.d.ts
|
|
@@ -21,25 +23,7 @@ declare const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput: z.ZodObject
|
|
|
21
23
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
booking_calendar_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const scheduleonceCreateOneTimeLinkForBookingCalendar:
|
|
25
|
-
id: string;
|
|
26
|
-
guest?: {
|
|
27
|
-
name?: string | undefined;
|
|
28
|
-
email?: string | undefined;
|
|
29
|
-
} | 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>>]>;
|
|
26
|
+
declare const scheduleonceCreateOneTimeLinkForBookingCalendar: AppAction<typeof ScheduleonceCreateOneTimeLinkForBookingCalendarInput, typeof ScheduleonceCreateOneTimeLinkForBookingCalendarOutput, typeof scheduleonce.credential>;
|
|
43
27
|
//#endregion
|
|
44
28
|
export { scheduleonceCreateOneTimeLinkForBookingCalendar };
|
|
45
29
|
//# sourceMappingURL=create-one-time-link-for-booking-calendar.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-one-time-link-for-booking-calendar.d.cts","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-one-time-link-for-booking-calendar.d.cts","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"mappings":";;;;;cAMa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;cAWpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAWrD,+CAAA,EAAiD,SAAA,QACrD,oDAAA,SACA,qDAAA,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/create-one-time-link-for-booking-calendar.d.ts
|
|
@@ -21,25 +23,7 @@ declare const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput: z.ZodObject
|
|
|
21
23
|
expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
booking_calendar_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const scheduleonceCreateOneTimeLinkForBookingCalendar:
|
|
25
|
-
id: string;
|
|
26
|
-
guest?: {
|
|
27
|
-
name?: string | undefined;
|
|
28
|
-
email?: string | undefined;
|
|
29
|
-
} | 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>>]>;
|
|
26
|
+
declare const scheduleonceCreateOneTimeLinkForBookingCalendar: AppAction<typeof ScheduleonceCreateOneTimeLinkForBookingCalendarInput, typeof ScheduleonceCreateOneTimeLinkForBookingCalendarOutput, typeof scheduleonce.credential>;
|
|
43
27
|
//#endregion
|
|
44
28
|
export { scheduleonceCreateOneTimeLinkForBookingCalendar };
|
|
45
29
|
//# sourceMappingURL=create-one-time-link-for-booking-calendar.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-one-time-link-for-booking-calendar.d.mts","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-one-time-link-for-booking-calendar.d.mts","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"mappings":";;;;;cAMa,oDAAA,EAAoD,CAAA,CAAA,SAAA;;;;;;;cAWpD,qDAAA,EAAqD,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAWrD,+CAAA,EAAiD,SAAA,QACrD,oDAAA,SACA,qDAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-one-time-link-for-booking-calendar.mjs","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarInput = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published.\"),\n guest: z.object({\n name: z.string().describe(\"Guest's full name for personalization\").optional(),\n email: z.string().describe(\"Guest's email address for personalization\").optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\").optional(),\n}).describe(\"Request model for creating a one-time booking link for a booking calendar.\");\nconst ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema = z.object({\n name: z.string().describe(\"Guest's full name for personalization\").nullable().optional(),\n email: z.string().describe(\"Guest's email address for personalization\").nullable().optional(),\n}).passthrough().describe(\"Model for guest information to personalize the one-time link.\");\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput = z.object({\n id: z.string().describe(\"Unique identifier for the one-time link\").nullable().optional(),\n url: z.string().describe(\"The generated one-time booking link URL that can be shared with the guest\").nullable().optional(),\n guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),\n object: z.string().describe(\"Object type, typically 'one_time_link'\").nullable().optional(),\n consumed: z.boolean().describe(\"Whether the link has been used for a booking. One-time links can only be used once.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n expires_at: z.string().describe(\"ISO 8601 timestamp when the link expires (typically one year from creation)\").nullable().optional(),\n booking_calendar_id: z.string().describe(\"ID of the associated booking calendar\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created one-time booking link.\");\n\nexport const scheduleonceCreateOneTimeLinkForBookingCalendar = action(\"SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-create-one-time-link-for-booking-calendar\",\n name: \"Create One-Time Link for Booking Calendar\",\n description: \"Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.\",\n input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n output: ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-one-time-link-for-booking-calendar.mjs","names":[],"sources":["../../src/actions/create-one-time-link-for-booking-calendar.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 ScheduleonceCreateOneTimeLinkForBookingCalendarInput = z.object({\n id: z.string().describe(\"The unique identifier of the booking calendar to create a one-time link for (e.g., 'BKC-ZK6W94KE6W'). The booking calendar must be published.\"),\n guest: z.object({\n name: z.string().describe(\"Guest's full name for personalization\").optional(),\n email: z.string().describe(\"Guest's email address for personalization\").optional(),\n}).describe(\"Model for guest information to personalize the one-time link.\").optional(),\n}).describe(\"Request model for creating a one-time booking link for a booking calendar.\");\nconst ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema = z.object({\n name: z.string().describe(\"Guest's full name for personalization\").nullable().optional(),\n email: z.string().describe(\"Guest's email address for personalization\").nullable().optional(),\n}).passthrough().describe(\"Model for guest information to personalize the one-time link.\");\nexport const ScheduleonceCreateOneTimeLinkForBookingCalendarOutput = z.object({\n id: z.string().describe(\"Unique identifier for the one-time link\").nullable().optional(),\n url: z.string().describe(\"The generated one-time booking link URL that can be shared with the guest\").nullable().optional(),\n guest: ScheduleonceCreateOneTimeLinkForBookingCalendar_GuestInformationSchema.nullable().optional(),\n object: z.string().describe(\"Object type, typically 'one_time_link'\").nullable().optional(),\n consumed: z.boolean().describe(\"Whether the link has been used for a booking. One-time links can only be used once.\").nullable().optional(),\n created_at: z.string().describe(\"ISO 8601 timestamp when the link was created\").nullable().optional(),\n expires_at: z.string().describe(\"ISO 8601 timestamp when the link expires (typically one year from creation)\").nullable().optional(),\n booking_calendar_id: z.string().describe(\"ID of the associated booking calendar\").nullable().optional(),\n}).passthrough().describe(\"Response model for a created one-time booking link.\");\n\nexport const scheduleonceCreateOneTimeLinkForBookingCalendar: AppAction<\n typeof ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n typeof ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_CREATE_ONE_TIME_LINK_FOR_BOOKING_CALENDAR\", {\n slug: \"scheduleonce-create-one-time-link-for-booking-calendar\",\n name: \"Create One-Time Link for Booking Calendar\",\n description: \"Tool to create a one-time booking link for a booking calendar in OnceHub. Use when you need to generate a unique, single-use booking link for a customer. One-time links are good for one booking only and automatically expire after one year if not used. The booking calendar must be published to create one-time links.\",\n input: ScheduleonceCreateOneTimeLinkForBookingCalendarInput,\n output: ScheduleonceCreateOneTimeLinkForBookingCalendarOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uDAAuD,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+IAA+I;CACvK,OAAO,EAAE,OAAO;EAChB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,4EAA4E;AACxF,MAAM,yEAAyE,EAAE,OAAO;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAYzF,MAAa,kDAIT,OAAO,0DAA0D;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QApBmE,EAAE,OAAO;EAC5E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,OAAO,uEAAuE,SAAS,CAAC,CAAC,SAAS;EAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateUserInput = z.object({\n email: z.string().describe(\"Email address of the user (required).\"),\n last_name: z.string().describe(\"Last name of the user (required).\"),\n role_name: z.string().describe(\"Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.\").optional(),\n first_name: z.string().describe(\"First name of the user (required).\"),\n}).describe(\"Request model for creating a new user in ScheduleOnce.\");\nexport const ScheduleonceCreateUserOutput = 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 a newly created user.\");\n\nexport const scheduleonceCreateUser = action(\"SCHEDULEONCE_CREATE_USER\", {\n slug: \"scheduleonce-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.\",\n input: ScheduleonceCreateUserInput,\n output: ScheduleonceCreateUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-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 ScheduleonceCreateUserInput = z.object({\n email: z.string().describe(\"Email address of the user (required).\"),\n last_name: z.string().describe(\"Last name of the user (required).\"),\n role_name: z.string().describe(\"Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.\").optional(),\n first_name: z.string().describe(\"First name of the user (required).\"),\n}).describe(\"Request model for creating a new user in ScheduleOnce.\");\nexport const ScheduleonceCreateUserOutput = 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 a newly created user.\");\n\nexport const scheduleonceCreateUser: AppAction<\n typeof ScheduleonceCreateUserInput,\n typeof ScheduleonceCreateUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_CREATE_USER\", {\n slug: \"scheduleonce-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.\",\n input: ScheduleonceCreateUserInput,\n output: ScheduleonceCreateUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;CAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;AACtE,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-user.d.ts
|
|
@@ -18,24 +20,7 @@ declare const ScheduleonceCreateUserOutput: z.ZodObject<{
|
|
|
18
20
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scheduleonceCreateUser:
|
|
22
|
-
email: string;
|
|
23
|
-
last_name: string;
|
|
24
|
-
first_name: string;
|
|
25
|
-
role_name?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const scheduleonceCreateUser: AppAction<typeof ScheduleonceCreateUserInput, typeof ScheduleonceCreateUserOutput, typeof scheduleonce.credential>;
|
|
39
24
|
//#endregion
|
|
40
25
|
export { scheduleonceCreateUser };
|
|
41
26
|
//# sourceMappingURL=create-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,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/create-user.d.ts
|
|
@@ -18,24 +20,7 @@ declare const ScheduleonceCreateUserOutput: z.ZodObject<{
|
|
|
18
20
|
role_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
21
|
first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
22
|
}, z.core.$loose>;
|
|
21
|
-
declare const scheduleonceCreateUser:
|
|
22
|
-
email: string;
|
|
23
|
-
last_name: string;
|
|
24
|
-
first_name: string;
|
|
25
|
-
role_name?: string | undefined;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
generic_api_key: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
generic_api_key: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
23
|
+
declare const scheduleonceCreateUser: AppAction<typeof ScheduleonceCreateUserInput, typeof ScheduleonceCreateUserOutput, typeof scheduleonce.credential>;
|
|
39
24
|
//#endregion
|
|
40
25
|
export { scheduleonceCreateUser };
|
|
41
26
|
//# sourceMappingURL=create-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;cAM3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;;;cAY5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceCreateUserInput = z.object({\n email: z.string().describe(\"Email address of the user (required).\"),\n last_name: z.string().describe(\"Last name of the user (required).\"),\n role_name: z.string().describe(\"Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.\").optional(),\n first_name: z.string().describe(\"First name of the user (required).\"),\n}).describe(\"Request model for creating a new user in ScheduleOnce.\");\nexport const ScheduleonceCreateUserOutput = 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 a newly created user.\");\n\nexport const scheduleonceCreateUser = action(\"SCHEDULEONCE_CREATE_USER\", {\n slug: \"scheduleonce-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.\",\n input: ScheduleonceCreateUserInput,\n output: ScheduleonceCreateUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-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 ScheduleonceCreateUserInput = z.object({\n email: z.string().describe(\"Email address of the user (required).\"),\n last_name: z.string().describe(\"Last name of the user (required).\"),\n role_name: z.string().describe(\"Role name for the user (e.g., 'Member', 'Admin'). If not specified, the default role will be assigned.\").optional(),\n first_name: z.string().describe(\"First name of the user (required).\"),\n}).describe(\"Request model for creating a new user in ScheduleOnce.\");\nexport const ScheduleonceCreateUserOutput = 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 a newly created user.\");\n\nexport const scheduleonceCreateUser: AppAction<\n typeof ScheduleonceCreateUserInput,\n typeof ScheduleonceCreateUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_CREATE_USER\", {\n slug: \"scheduleonce-create-user\",\n name: \"Create User\",\n description: \"Tool to create a new user account in OnceHub. Use when you need to add a new user with first name, last name, and email. Optional role can be specified.\",\n input: ScheduleonceCreateUserInput,\n output: ScheduleonceCreateUserOutput,\n});\n"],"mappings":";;;AAwBA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA1ByC,EAAE,OAAO;EAClD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAClJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CACtE,CAAC,CAAC,CAAC,SAAS,wDAqBH;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,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for deleting a contact by ID.\");\nexport const ScheduleonceDeleteContactOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the contact was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact deletion.\");\n\nexport const scheduleonceDeleteContact = action(\"SCHEDULEONCE_DELETE_CONTACT\", {\n slug: \"scheduleonce-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.\",\n input: ScheduleonceDeleteContactInput,\n output: ScheduleonceDeleteContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 ScheduleonceDeleteContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for deleting a contact by ID.\");\nexport const ScheduleonceDeleteContactOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the contact was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact deletion.\");\n\nexport const scheduleonceDeleteContact: AppAction<\n typeof ScheduleonceDeleteContactInput,\n typeof ScheduleonceDeleteContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_DELETE_CONTACT\", {\n slug: \"scheduleonce-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.\",\n input: ScheduleonceDeleteContactInput,\n output: ScheduleonceDeleteContactOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EACvG,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAEhE,MAAa,4BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-contact.d.ts
|
|
@@ -8,21 +10,7 @@ declare const ScheduleonceDeleteContactOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const scheduleonceDeleteContact:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const scheduleonceDeleteContact: AppAction<typeof ScheduleonceDeleteContactInput, typeof ScheduleonceDeleteContactOutput, typeof scheduleonce.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { scheduleonceDeleteContact };
|
|
28
16
|
//# sourceMappingURL=delete-contact.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.d.cts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/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/delete-contact.d.ts
|
|
@@ -8,21 +10,7 @@ declare const ScheduleonceDeleteContactOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const scheduleonceDeleteContact:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const scheduleonceDeleteContact: AppAction<typeof ScheduleonceDeleteContactInput, typeof ScheduleonceDeleteContactOutput, typeof scheduleonce.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { scheduleonceDeleteContact };
|
|
28
16
|
//# sourceMappingURL=delete-contact.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.d.mts","names":[],"sources":["../../src/actions/delete-contact.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;cAG9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-contact.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for deleting a contact by ID.\");\nexport const ScheduleonceDeleteContactOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the contact was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact deletion.\");\n\nexport const scheduleonceDeleteContact = action(\"SCHEDULEONCE_DELETE_CONTACT\", {\n slug: \"scheduleonce-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.\",\n input: ScheduleonceDeleteContactInput,\n output: ScheduleonceDeleteContactOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-contact.mjs","names":[],"sources":["../../src/actions/delete-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 ScheduleonceDeleteContactInput = z.object({\n id: z.string().describe(\"The unique identifier of the contact to delete (e.g., 'CTC-GLJV69KW2LU30W')\"),\n}).describe(\"Request model for deleting a contact by ID.\");\nexport const ScheduleonceDeleteContactOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the contact was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for contact deletion.\");\n\nexport const scheduleonceDeleteContact: AppAction<\n typeof ScheduleonceDeleteContactInput,\n typeof ScheduleonceDeleteContactOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_DELETE_CONTACT\", {\n slug: \"scheduleonce-delete-contact\",\n name: \"Delete Contact\",\n description: \"Tool to delete a contact by ID from OnceHub. Use when you need to permanently remove a contact from the system.\",\n input: ScheduleonceDeleteContactInput,\n output: ScheduleonceDeleteContactOutput,\n});\n"],"mappings":";;;AAcA,MAAa,4BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB4C,EAAE,OAAO,EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,EACvG,CAAC,CAAC,CAAC,SAAS,6CAcH;CACP,QAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const ScheduleonceDeleteUserOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for user deletion.\");\n\nexport const scheduleonceDeleteUser = action(\"SCHEDULEONCE_DELETE_USER\", {\n slug: \"scheduleonce-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.\",\n input: ScheduleonceDeleteUserInput,\n output: ScheduleonceDeleteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 ScheduleonceDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const ScheduleonceDeleteUserOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for user deletion.\");\n\nexport const scheduleonceDeleteUser: AppAction<\n typeof ScheduleonceDeleteUserInput,\n typeof ScheduleonceDeleteUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_DELETE_USER\", {\n slug: \"scheduleonce-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.\",\n input: ScheduleonceDeleteUserInput,\n output: ScheduleonceDeleteUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAChG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,yBAITC,eAAAA,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-user.d.ts
|
|
@@ -8,21 +10,7 @@ declare const ScheduleonceDeleteUserOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const scheduleonceDeleteUser:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const scheduleonceDeleteUser: AppAction<typeof ScheduleonceDeleteUserInput, typeof ScheduleonceDeleteUserOutput, typeof scheduleonce.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { scheduleonceDeleteUser };
|
|
28
16
|
//# sourceMappingURL=delete-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-user.d.ts
|
|
@@ -8,21 +10,7 @@ declare const ScheduleonceDeleteUserOutput: z.ZodObject<{
|
|
|
8
10
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const scheduleonceDeleteUser:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
14
|
-
connectionId: z.ZodString;
|
|
15
|
-
entityId: z.ZodString;
|
|
16
|
-
instanceId: z.ZodString;
|
|
17
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
-
generic_api_key: z.ZodString;
|
|
19
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
generic_api_key: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>;
|
|
13
|
+
declare const scheduleonceDeleteUser: AppAction<typeof ScheduleonceDeleteUserInput, typeof ScheduleonceDeleteUserOutput, typeof scheduleonce.credential>;
|
|
26
14
|
//#endregion
|
|
27
15
|
export { scheduleonceDeleteUser };
|
|
28
16
|
//# sourceMappingURL=delete-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAG3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;cAK5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,YAAA,CAAa,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const ScheduleonceDeleteUserOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for user deletion.\");\n\nexport const scheduleonceDeleteUser = action(\"SCHEDULEONCE_DELETE_USER\", {\n slug: \"scheduleonce-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.\",\n input: ScheduleonceDeleteUserInput,\n output: ScheduleonceDeleteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-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 ScheduleonceDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to delete (e.g., 'USR-7R1P5GMSXE')\"),\n}).describe(\"Request model for deleting a user by ID.\");\nexport const ScheduleonceDeleteUserOutput = z.object({\n message: z.string().describe(\"Optional message about the deletion operation\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the user was successfully deleted\").nullable().optional(),\n}).passthrough().describe(\"Response model for user deletion.\");\n\nexport const scheduleonceDeleteUser: AppAction<\n typeof ScheduleonceDeleteUserInput,\n typeof ScheduleonceDeleteUserOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_DELETE_USER\", {\n slug: \"scheduleonce-delete-user\",\n name: \"Delete User\",\n description: \"Tool to delete a user account from OnceHub. Use when you need to permanently remove a user from the system.\",\n input: ScheduleonceDeleteUserInput,\n output: ScheduleonceDeleteUserOutput,\n});\n"],"mappings":";;;AAcA,MAAa,yBAIT,OAAO,4BAA4B;CACrC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhByC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,EAChG,CAAC,CAAC,CAAC,SAAS,0CAcH;CACP,QAd0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-available-time-slots.cjs","names":["z","action"],"sources":["../../src/actions/get-available-time-slots.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const ScheduleonceGetAvailableTimeSlotsInput = z.object({\n id: z.string().describe(\"The ID of the booking calendar to query for available time slots. Format: 'BKC-' followed by alphanumeric string (e.g., 'BKC-ZK6W94KE6W')\"),\n end_time: z.string().describe(\"The end of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-29T23:59:59Z'). Must be within 30 days of start_time.\"),\n start_time: z.string().describe(\"The beginning of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-22T00:00:00Z'). Cannot be more than 30 days before end_time.\"),\n}).describe(\"Request model for retrieving available time slots for a booking calendar.\");\nconst ScheduleonceGetAvailableTimeSlots_LocationSchema = z.object({\n id: z.string().describe(\"Optional ID of the location\").nullable().optional(),\n type: z.string().describe(\"Type of meeting location (e.g., 'phone', 'video', 'in_person')\").nullable().optional(),\n value: z.string().describe(\"Location value (e.g., 'google_meet', 'zoom', phone number)\").nullable().optional(),\n}).passthrough().describe(\"Model for meeting location details.\");\nconst ScheduleonceGetAvailableTimeSlots_TimeSlotSchema = z.object({\n locations: z.array(ScheduleonceGetAvailableTimeSlots_LocationSchema).describe(\"Meeting location details for this time slot\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 formatted start time of the available slot in UTC (e.g., '2024-11-29T09:30:00.000Z')\").nullable().optional(),\n}).passthrough().describe(\"Model for an individual time slot.\");\nexport const ScheduleonceGetAvailableTimeSlotsOutput = z.object({\n slots: z.array(ScheduleonceGetAvailableTimeSlots_TimeSlotSchema).describe(\"Array of available time slot objects with start times and locations\"),\n}).passthrough().describe(\"Response model for available time slots.\\nReturns an array of time slot objects.\");\n\nexport const scheduleonceGetAvailableTimeSlots = action(\"SCHEDULEONCE_GET_AVAILABLE_TIME_SLOTS\", {\n slug: \"scheduleonce-get-available-time-slots\",\n name: \"Get Available Time Slots\",\n description: \"Tool to retrieve available time slots for a booking calendar from OnceHub. Use when you need to check availability for scheduling appointments within a specific date range (maximum 30 days). Returns real-time availability based on booking rules and participant calendars.\",\n input: ScheduleonceGetAvailableTimeSlotsInput,\n output: ScheduleonceGetAvailableTimeSlotsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-available-time-slots.cjs","names":["z","action"],"sources":["../../src/actions/get-available-time-slots.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 ScheduleonceGetAvailableTimeSlotsInput = z.object({\n id: z.string().describe(\"The ID of the booking calendar to query for available time slots. Format: 'BKC-' followed by alphanumeric string (e.g., 'BKC-ZK6W94KE6W')\"),\n end_time: z.string().describe(\"The end of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-29T23:59:59Z'). Must be within 30 days of start_time.\"),\n start_time: z.string().describe(\"The beginning of the time range to search for available slots. Must be in ISO 8601 full form UTC format (e.g., '2024-11-29T09:30:00.000Z' or '2025-12-22T00:00:00Z'). Cannot be more than 30 days before end_time.\"),\n}).describe(\"Request model for retrieving available time slots for a booking calendar.\");\nconst ScheduleonceGetAvailableTimeSlots_LocationSchema = z.object({\n id: z.string().describe(\"Optional ID of the location\").nullable().optional(),\n type: z.string().describe(\"Type of meeting location (e.g., 'phone', 'video', 'in_person')\").nullable().optional(),\n value: z.string().describe(\"Location value (e.g., 'google_meet', 'zoom', phone number)\").nullable().optional(),\n}).passthrough().describe(\"Model for meeting location details.\");\nconst ScheduleonceGetAvailableTimeSlots_TimeSlotSchema = z.object({\n locations: z.array(ScheduleonceGetAvailableTimeSlots_LocationSchema).describe(\"Meeting location details for this time slot\").nullable().optional(),\n start_time: z.string().describe(\"ISO 8601 formatted start time of the available slot in UTC (e.g., '2024-11-29T09:30:00.000Z')\").nullable().optional(),\n}).passthrough().describe(\"Model for an individual time slot.\");\nexport const ScheduleonceGetAvailableTimeSlotsOutput = z.object({\n slots: z.array(ScheduleonceGetAvailableTimeSlots_TimeSlotSchema).describe(\"Array of available time slot objects with start times and locations\"),\n}).passthrough().describe(\"Response model for available time slots.\\nReturns an array of time slot objects.\");\n\nexport const scheduleonceGetAvailableTimeSlots: AppAction<\n typeof ScheduleonceGetAvailableTimeSlotsInput,\n typeof ScheduleonceGetAvailableTimeSlotsOutput,\n typeof scheduleonce.credential\n> = action(\"SCHEDULEONCE_GET_AVAILABLE_TIME_SLOTS\", {\n slug: \"scheduleonce-get-available-time-slots\",\n name: \"Get Available Time Slots\",\n description: \"Tool to retrieve available time slots for a booking calendar from OnceHub. Use when you need to check availability for scheduling appointments within a specific date range (maximum 30 days). Returns real-time availability based on booking rules and participant calendars.\",\n input: ScheduleonceGetAvailableTimeSlotsInput,\n output: ScheduleonceGetAvailableTimeSlotsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACnK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uMAAuM;CACrO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oNAAoN;AACtP,CAAC,CAAC,CAAC,SAAS,2EAA2E;AACvF,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,WAAWA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+FAA+F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oCAAoC;AAC9D,MAAa,0CAA0CA,IAAAA,EAAE,OAAO,EAC9D,OAAOA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,qEAAqE,EACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kFAAkF;AAE5G,MAAa,oCAITC,eAAAA,OAAO,yCAAyC;CAClD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { scheduleonce } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-available-time-slots.d.ts
|
|
@@ -16,23 +18,7 @@ declare const ScheduleonceGetAvailableTimeSlotsOutput: z.ZodObject<{
|
|
|
16
18
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
}, z.core.$loose>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const scheduleonceGetAvailableTimeSlots:
|
|
20
|
-
id: string;
|
|
21
|
-
end_time: string;
|
|
22
|
-
start_time: string;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"scheduleonce", z.ZodObject<{
|
|
24
|
-
connectionId: z.ZodString;
|
|
25
|
-
entityId: z.ZodString;
|
|
26
|
-
instanceId: z.ZodString;
|
|
27
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
-
generic_api_key: z.ZodString;
|
|
29
|
-
}, z.core.$strip>>]>, 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>>]>;
|
|
21
|
+
declare const scheduleonceGetAvailableTimeSlots: AppAction<typeof ScheduleonceGetAvailableTimeSlotsInput, typeof ScheduleonceGetAvailableTimeSlotsOutput, typeof scheduleonce.credential>;
|
|
36
22
|
//#endregion
|
|
37
23
|
export { scheduleonceGetAvailableTimeSlots };
|
|
38
24
|
//# sourceMappingURL=get-available-time-slots.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-available-time-slots.d.cts","names":[],"sources":["../../src/actions/get-available-time-slots.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-available-time-slots.d.cts","names":[],"sources":["../../src/actions/get-available-time-slots.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;cActC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;;;;;;;cAIvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,YAAA,CAAa,UAAA"}
|