@calcom/atoms 1.0.12 → 1.0.14
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/{AddressInput-mgPrXjkW.js → AddressInput-IfevmA71.js} +1 -1
- package/dist/{AlbyPriceComponent-gpkX_0FY.js → AlbyPriceComponent-G_NY9bG6.js} +8 -7
- package/dist/{Card-sCubcEzc.js → Card-_EjCEeko.js} +1 -1
- package/dist/DatePicker-yEQviCrz.js +28 -0
- package/dist/{IconDev-LW-0W0I4.js → IconDev-0IHgw2M5.js} +1 -1
- package/dist/{IconProd-qEIoF-HT.js → IconProd-pmbbApjc.js} +1 -1
- package/dist/{PhoneInput-VclC-xlq.js → PhoneInput-kkPDDCYa.js} +2 -2
- package/dist/{PoweredBy-qHTvWLEX.js → PoweredBy-g0hOGUF2.js} +1 -1
- package/dist/{UnpublishedEntity-dSuvjc0w.js → UnpublishedEntity-1MAiVkGr.js} +1 -1
- package/dist/availability/wrappers/PlatformAvailabilitySettingsWrapper.d.ts.map +1 -1
- package/dist/booker/BookerPlatformWrapper.d.ts.map +1 -1
- package/dist/cal-atoms.js +1 -1
- package/dist/cal-atoms.umd.cjs +1616 -1616
- package/dist/{framer-features-9yg-CZW3.js → framer-features-6zwZmIwD.js} +1 -1
- package/dist/gcal-connect/GcalConnect.d.ts +22 -0
- package/dist/gcal-connect/GcalConnect.d.ts.map +1 -1
- package/dist/hooks/useCreateBooking.d.ts +2 -2
- package/dist/hooks/useCreateInstantBooking.d.ts +2 -2
- package/dist/hooks/useCreateRecurringBooking.d.ts +2 -2
- package/dist/hooks/useGcal.d.ts +4 -1
- package/dist/hooks/useGcal.d.ts.map +1 -1
- package/dist/hooks/useGetBooking.d.ts +1 -1
- package/dist/hooks/useMe.d.ts +1 -2
- package/dist/hooks/useMe.d.ts.map +1 -1
- package/dist/hooks/usePublicEvent.d.ts +20 -18
- package/dist/hooks/usePublicEvent.d.ts.map +1 -1
- package/dist/hooks/useUpdateSchedule.d.ts +3 -1
- package/dist/hooks/useUpdateSchedule.d.ts.map +1 -1
- package/dist/hooks/useUpdateUserTimezone.d.ts +1 -2
- package/dist/hooks/useUpdateUserTimezone.d.ts.map +1 -1
- package/dist/{index-HufmuNL9.js → index--1m8Ki-D.js} +3 -3
- package/dist/{index-1_anrF7s.js → index-53Te0m8v.js} +1 -1
- package/dist/{index-8kY3PSvT.js → index-mbFMMZks.js} +20374 -20069
- package/dist/index-pjfSlbUV.js +4 -0
- package/dist/{index-YnRdm9wb.js → index-wbiKFbZo.js} +2 -2
- package/dist/{index-uQ5LVET8.js → index-yghG-6wy.js} +2 -2
- package/dist/{isSupportedCountry-1OAkyyqN.js → isSupportedCountry-EelnBin7.js} +1 -1
- package/dist/src/components/atoms-wrapper.d.ts +5 -0
- package/dist/src/components/atoms-wrapper.d.ts.map +1 -0
- package/dist/src/components/ui/dialog.d.ts +4 -4
- package/dist/src/components/ui/toast.d.ts +6 -6
- package/dist/src/components/ui/toaster.d.ts.map +1 -1
- package/dist/src/constants/styles.d.ts +2 -0
- package/dist/src/constants/styles.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/globals.min.css +1 -1
- package/package.json +9 -3
- package/dist/DatePicker-CfeoNyp5.js +0 -27
- package/dist/index-yxJWnVkg.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { aQ as L, aR as V, aS as D, aT as M, aU as Q, aV as Z, aW as _, aX as $, aY as re, aZ as ie, a_ as oe, a$ as ae } from "./index-
|
|
1
|
+
import { aQ as L, aR as V, aS as D, aT as M, aU as Q, aV as Z, aW as _, aX as $, aY as re, aZ as ie, a_ as oe, a$ as ae } from "./index-mbFMMZks.js";
|
|
2
2
|
function b(t, e, n, s = { passive: !0 }) {
|
|
3
3
|
return t.addEventListener(e, n, s), () => t.removeEventListener(e, n);
|
|
4
4
|
}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import type { FC } from "react";
|
|
2
|
+
import type { OnCheckErroType } from "../hooks/useGcal";
|
|
2
3
|
interface GcalConnectProps {
|
|
3
4
|
className?: string;
|
|
4
5
|
label?: string;
|
|
5
6
|
alreadyConnectedLabel?: string;
|
|
7
|
+
onCheckError?: OnCheckErroType;
|
|
6
8
|
}
|
|
9
|
+
/**
|
|
10
|
+
* Renders a button to connect or disconnect the Google Calendar of a user.
|
|
11
|
+
* @requires AccessToken - The user must be authenticated with an access token passed to CalProvider.
|
|
12
|
+
* @component
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <GcalConnect
|
|
16
|
+
* label="Connect Google Calendar"
|
|
17
|
+
* alreadyConnectedLabel="Connected Google Calendar"
|
|
18
|
+
* className="my-button"
|
|
19
|
+
* />
|
|
20
|
+
* ```
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* @param {string} [label="Connect Google Calendar"] - The label for the connect button. Optional.
|
|
24
|
+
* @param {string} [alreadyConnectedLabel="Connected Google Calendar"] - The label for the already connected button. Optional.
|
|
25
|
+
* @param {string} [className] - Additional CSS class name for the button. Optional.
|
|
26
|
+
* @param {OnCheckErroType} [onCheckError] - A callback function to handle errors when checking the connection status. Optional.
|
|
27
|
+
* @returns {JSX.Element} The rendered component.
|
|
28
|
+
*/
|
|
7
29
|
export declare const GcalConnect: FC<GcalConnectProps>;
|
|
8
30
|
export {};
|
|
9
31
|
//# sourceMappingURL=GcalConnect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GcalConnect.d.ts","sourceRoot":"","sources":["../../gcal-connect/GcalConnect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"GcalConnect.d.ts","sourceRoot":"","sources":["../../gcal-connect/GcalConnect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAKhC,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKxD,UAAU,gBAAgB;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC;AAED;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,WAAW,EAAE,EAAE,CAAC,gBAAgB,CA2B5C,CAAC"}
|
|
@@ -54,9 +54,9 @@ export declare const useCreateBooking: ({ onSuccess, onError }?: IUseCreateBooki
|
|
|
54
54
|
status?: import(".prisma/client").$Enums.BookingStatus | undefined;
|
|
55
55
|
rescheduled?: boolean | null | undefined;
|
|
56
56
|
rating?: number | null | undefined;
|
|
57
|
+
metadata?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
57
58
|
id?: number | undefined;
|
|
58
59
|
userId?: number | null | undefined;
|
|
59
|
-
metadata?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
60
60
|
customInputs?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
61
61
|
smsReminderNumber?: string | null | undefined;
|
|
62
62
|
eventTypeId?: number | null | undefined;
|
|
@@ -125,9 +125,9 @@ export declare const useCreateBooking: ({ onSuccess, onError }?: IUseCreateBooki
|
|
|
125
125
|
status: import(".prisma/client").$Enums.BookingStatus;
|
|
126
126
|
rescheduled: boolean | null;
|
|
127
127
|
rating: number | null;
|
|
128
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
128
129
|
id: number;
|
|
129
130
|
userId: number | null;
|
|
130
|
-
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
131
131
|
customInputs: import(".prisma/client").Prisma.JsonValue;
|
|
132
132
|
smsReminderNumber: string | null;
|
|
133
133
|
eventTypeId: number | null;
|
|
@@ -54,9 +54,9 @@ export declare const useCreateInstantBooking: ({ onSuccess, onError }?: IUseCrea
|
|
|
54
54
|
status?: import(".prisma/client").$Enums.BookingStatus | undefined;
|
|
55
55
|
rescheduled?: boolean | null | undefined;
|
|
56
56
|
rating?: number | null | undefined;
|
|
57
|
+
metadata?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
57
58
|
id?: number | undefined;
|
|
58
59
|
userId?: number | null | undefined;
|
|
59
|
-
metadata?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
60
60
|
customInputs?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
61
61
|
smsReminderNumber?: string | null | undefined;
|
|
62
62
|
eventTypeId?: number | null | undefined;
|
|
@@ -125,9 +125,9 @@ export declare const useCreateInstantBooking: ({ onSuccess, onError }?: IUseCrea
|
|
|
125
125
|
status: import(".prisma/client").$Enums.BookingStatus;
|
|
126
126
|
rescheduled: boolean | null;
|
|
127
127
|
rating: number | null;
|
|
128
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
128
129
|
id: number;
|
|
129
130
|
userId: number | null;
|
|
130
|
-
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
131
131
|
customInputs: import(".prisma/client").Prisma.JsonValue;
|
|
132
132
|
smsReminderNumber: string | null;
|
|
133
133
|
eventTypeId: number | null;
|
|
@@ -54,9 +54,9 @@ export declare const useCreateRecurringBooking: ({ onSuccess, onError }?: IUseCr
|
|
|
54
54
|
status?: import(".prisma/client").$Enums.BookingStatus | undefined;
|
|
55
55
|
rescheduled?: boolean | null | undefined;
|
|
56
56
|
rating?: number | null | undefined;
|
|
57
|
+
metadata?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
57
58
|
id?: number | undefined;
|
|
58
59
|
userId?: number | null | undefined;
|
|
59
|
-
metadata?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
60
60
|
customInputs?: import(".prisma/client").Prisma.JsonValue | undefined;
|
|
61
61
|
smsReminderNumber?: string | null | undefined;
|
|
62
62
|
eventTypeId?: number | null | undefined;
|
|
@@ -125,9 +125,9 @@ export declare const useCreateRecurringBooking: ({ onSuccess, onError }?: IUseCr
|
|
|
125
125
|
status: import(".prisma/client").$Enums.BookingStatus;
|
|
126
126
|
rescheduled: boolean | null;
|
|
127
127
|
rating: number | null;
|
|
128
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
128
129
|
id: number;
|
|
129
130
|
userId: number | null;
|
|
130
|
-
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
131
131
|
customInputs: import(".prisma/client").Prisma.JsonValue;
|
|
132
132
|
smsReminderNumber: string | null;
|
|
133
133
|
eventTypeId: number | null;
|
package/dist/hooks/useGcal.d.ts
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
import type { ApiErrorResponse } from "@calcom/platform-types";
|
|
2
|
+
export type OnCheckErroType = (err: ApiErrorResponse) => void;
|
|
1
3
|
export interface useGcalProps {
|
|
2
4
|
isAuth: boolean;
|
|
5
|
+
onCheckError?: OnCheckErroType;
|
|
3
6
|
}
|
|
4
|
-
export declare const useGcal: ({ isAuth }: useGcalProps) => {
|
|
7
|
+
export declare const useGcal: ({ isAuth, onCheckError }: useGcalProps) => {
|
|
5
8
|
allowConnect: boolean;
|
|
6
9
|
checked: boolean;
|
|
7
10
|
redirectToGcalOAuth: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useGcal.d.ts","sourceRoot":"","sources":["../../hooks/useGcal.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useGcal.d.ts","sourceRoot":"","sources":["../../hooks/useGcal.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAI/D,MAAM,MAAM,eAAe,GAAG,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;AAC9D,MAAM,WAAW,YAAY;IAC3B,MAAM,EAAE,OAAO,CAAC;IAChB,YAAY,CAAC,EAAE,eAAe,CAAC;CAChC;AAED,eAAO,MAAM,OAAO,6BAA8B,YAAY;;;;CA6B7D,CAAC"}
|
|
@@ -16,13 +16,13 @@ export declare const useGetBooking: (uid?: string) => import("@tanstack/react-qu
|
|
|
16
16
|
timeZone: string;
|
|
17
17
|
id: number;
|
|
18
18
|
} | null;
|
|
19
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
19
20
|
id: number;
|
|
20
21
|
eventType: {
|
|
21
22
|
timeZone: string | null;
|
|
22
23
|
slug: string;
|
|
23
24
|
eventName: string | null;
|
|
24
25
|
} | null;
|
|
25
|
-
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
26
26
|
customInputs: import(".prisma/client").Prisma.JsonValue;
|
|
27
27
|
smsReminderNumber: string | null;
|
|
28
28
|
eventTypeId: number | null;
|
package/dist/hooks/useMe.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
export declare const QUERY_KEY = "get-me";
|
|
2
2
|
export declare const useMe: () => import("@tanstack/react-query/build/legacy/types").UseQueryResult<import("@calcom/platform-types").ApiSuccessResponse<{
|
|
3
3
|
id: number;
|
|
4
|
-
|
|
5
|
-
username: string | null;
|
|
4
|
+
username: string;
|
|
6
5
|
email: string;
|
|
7
6
|
timeFormat: number;
|
|
8
7
|
defaultScheduleId: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useMe.d.ts","sourceRoot":"","sources":["../../hooks/useMe.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,WAAW,CAAC;AAClC,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"useMe.d.ts","sourceRoot":"","sources":["../../hooks/useMe.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,SAAS,WAAW,CAAC;AAClC,eAAO,MAAM,KAAK;;;;;;;;UAejB,CAAC"}
|
|
@@ -6,7 +6,7 @@ export declare const usePublicEvent: (props: {
|
|
|
6
6
|
}) => import("@tanstack/react-query/build/legacy/types").UseQueryResult<{
|
|
7
7
|
bookingFields: {
|
|
8
8
|
name: string;
|
|
9
|
-
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "
|
|
9
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
10
10
|
options?: {
|
|
11
11
|
label: string;
|
|
12
12
|
value: string;
|
|
@@ -28,7 +28,7 @@ export declare const usePublicEvent: (props: {
|
|
|
28
28
|
variants: Record<string, {
|
|
29
29
|
fields: {
|
|
30
30
|
name: string;
|
|
31
|
-
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "
|
|
31
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
32
32
|
required?: boolean | undefined;
|
|
33
33
|
label?: string | undefined;
|
|
34
34
|
placeholder?: string | undefined;
|
|
@@ -97,9 +97,9 @@ export declare const usePublicEvent: (props: {
|
|
|
97
97
|
profile: {
|
|
98
98
|
organization: Omit<{
|
|
99
99
|
name: string;
|
|
100
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
100
101
|
id: number;
|
|
101
102
|
slug: string | null;
|
|
102
|
-
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
103
103
|
calVideoLogo: string | null;
|
|
104
104
|
bannerUrl: string | null;
|
|
105
105
|
} & Omit<Pick<{
|
|
@@ -128,7 +128,7 @@ export declare const usePublicEvent: (props: {
|
|
|
128
128
|
isOrganization: boolean;
|
|
129
129
|
pendingPayment: boolean;
|
|
130
130
|
isPlatform: boolean;
|
|
131
|
-
}, "name" | "
|
|
131
|
+
}, "name" | "metadata" | "id" | "slug" | "calVideoLogo" | "bannerUrl">, "metadata"> & {
|
|
132
132
|
requestedSlug: string | null;
|
|
133
133
|
metadata: {
|
|
134
134
|
requestedSlug: string | null;
|
|
@@ -221,7 +221,8 @@ export declare const usePublicEvent: (props: {
|
|
|
221
221
|
} | null;
|
|
222
222
|
};
|
|
223
223
|
entity: {
|
|
224
|
-
|
|
224
|
+
considerUnpublished: boolean;
|
|
225
|
+
fromRedirectOfNonOrgLink: boolean;
|
|
225
226
|
orgSlug: string | null;
|
|
226
227
|
name: string | null;
|
|
227
228
|
teamSlug?: undefined;
|
|
@@ -394,6 +395,7 @@ export declare const usePublicEvent: (props: {
|
|
|
394
395
|
currency?: true | undefined;
|
|
395
396
|
children?: true | undefined;
|
|
396
397
|
timeZone?: true | undefined;
|
|
398
|
+
metadata?: true | undefined;
|
|
397
399
|
slug?: true | undefined;
|
|
398
400
|
position?: true | undefined;
|
|
399
401
|
locations?: true | undefined;
|
|
@@ -425,7 +427,6 @@ export declare const usePublicEvent: (props: {
|
|
|
425
427
|
schedulingType?: true | undefined;
|
|
426
428
|
scheduleId?: true | undefined;
|
|
427
429
|
slotInterval?: true | undefined;
|
|
428
|
-
metadata?: true | undefined;
|
|
429
430
|
successRedirectUrl?: true | undefined;
|
|
430
431
|
bookingLimits?: true | undefined;
|
|
431
432
|
durationLimits?: true | undefined;
|
|
@@ -693,6 +694,7 @@ export declare const usePublicEvent: (props: {
|
|
|
693
694
|
currency?: true | undefined;
|
|
694
695
|
children?: true | undefined;
|
|
695
696
|
timeZone?: true | undefined;
|
|
697
|
+
metadata?: true | undefined;
|
|
696
698
|
slug?: true | undefined;
|
|
697
699
|
position?: true | undefined;
|
|
698
700
|
locations?: true | undefined;
|
|
@@ -724,7 +726,6 @@ export declare const usePublicEvent: (props: {
|
|
|
724
726
|
schedulingType?: true | undefined;
|
|
725
727
|
scheduleId?: true | undefined;
|
|
726
728
|
slotInterval?: true | undefined;
|
|
727
|
-
metadata?: true | undefined;
|
|
728
729
|
successRedirectUrl?: true | undefined;
|
|
729
730
|
bookingLimits?: true | undefined;
|
|
730
731
|
durationLimits?: true | undefined;
|
|
@@ -770,7 +771,7 @@ export declare const usePublicEvent: (props: {
|
|
|
770
771
|
locations: (Pick<Partial<import("@calcom/app-store/locations").LocationObject>, "link" | "address"> & Omit<import("@calcom/app-store/locations").LocationObject, "link" | "address">)[];
|
|
771
772
|
bookingFields: {
|
|
772
773
|
name: string;
|
|
773
|
-
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "
|
|
774
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
774
775
|
options?: {
|
|
775
776
|
label: string;
|
|
776
777
|
value: string;
|
|
@@ -792,7 +793,7 @@ export declare const usePublicEvent: (props: {
|
|
|
792
793
|
variants: Record<string, {
|
|
793
794
|
fields: {
|
|
794
795
|
name: string;
|
|
795
|
-
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "
|
|
796
|
+
type: "number" | "boolean" | "select" | "text" | "checkbox" | "email" | "address" | "name" | "radio" | "textarea" | "multiselect" | "phone" | "multiemail" | "radioInput";
|
|
796
797
|
required?: boolean | undefined;
|
|
797
798
|
label?: string | undefined;
|
|
798
799
|
placeholder?: string | undefined;
|
|
@@ -841,7 +842,8 @@ export declare const usePublicEvent: (props: {
|
|
|
841
842
|
bookerUrl: string;
|
|
842
843
|
}[];
|
|
843
844
|
entity: {
|
|
844
|
-
|
|
845
|
+
fromRedirectOfNonOrgLink: boolean;
|
|
846
|
+
considerUnpublished: boolean;
|
|
845
847
|
orgSlug: string | null;
|
|
846
848
|
teamSlug: string | null;
|
|
847
849
|
name: any;
|
|
@@ -855,8 +857,8 @@ export declare const usePublicEvent: (props: {
|
|
|
855
857
|
yourPhoneNumber: string;
|
|
856
858
|
numberToCall: string;
|
|
857
859
|
guestName: string;
|
|
858
|
-
guestEmail: string;
|
|
859
|
-
guestCompany: string;
|
|
860
|
+
guestEmail: string | null;
|
|
861
|
+
guestCompany: string | null;
|
|
860
862
|
generalPrompt: string;
|
|
861
863
|
beginMessage: string | null;
|
|
862
864
|
llmId: string | null;
|
|
@@ -873,8 +875,8 @@ export declare const usePublicEvent: (props: {
|
|
|
873
875
|
bannerUrl: string | null;
|
|
874
876
|
} | null;
|
|
875
877
|
theme: string | null;
|
|
876
|
-
id: number;
|
|
877
878
|
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
879
|
+
id: number;
|
|
878
880
|
avatarUrl: string | null;
|
|
879
881
|
weekStart: string;
|
|
880
882
|
defaultScheduleId: number | null;
|
|
@@ -896,8 +898,8 @@ export declare const usePublicEvent: (props: {
|
|
|
896
898
|
bannerUrl: string | null;
|
|
897
899
|
} | null;
|
|
898
900
|
theme: string | null;
|
|
899
|
-
id: number;
|
|
900
901
|
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
902
|
+
id: number;
|
|
901
903
|
avatarUrl: string | null;
|
|
902
904
|
weekStart: string;
|
|
903
905
|
defaultScheduleId: number | null;
|
|
@@ -913,11 +915,10 @@ export declare const usePublicEvent: (props: {
|
|
|
913
915
|
hidden: boolean;
|
|
914
916
|
team: {
|
|
915
917
|
name: string;
|
|
916
|
-
logo: string | null;
|
|
917
918
|
theme: string | null;
|
|
919
|
+
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
918
920
|
slug: string | null;
|
|
919
921
|
parentId: number | null;
|
|
920
|
-
metadata: import(".prisma/client").Prisma.JsonValue;
|
|
921
922
|
parent: {
|
|
922
923
|
name: string;
|
|
923
924
|
slug: string | null;
|
|
@@ -925,19 +926,20 @@ export declare const usePublicEvent: (props: {
|
|
|
925
926
|
} | null;
|
|
926
927
|
brandColor: string | null;
|
|
927
928
|
darkBrandColor: string | null;
|
|
929
|
+
logoUrl: string | null;
|
|
928
930
|
} | null;
|
|
929
931
|
length: number;
|
|
930
932
|
workflows: ({
|
|
931
933
|
workflow: {
|
|
932
934
|
steps: {
|
|
933
935
|
action: import(".prisma/client").$Enums.WorkflowActions;
|
|
936
|
+
template: import(".prisma/client").$Enums.WorkflowTemplates;
|
|
934
937
|
id: number;
|
|
935
938
|
stepNumber: number;
|
|
936
939
|
workflowId: number;
|
|
937
940
|
sendTo: string | null;
|
|
938
941
|
reminderBody: string | null;
|
|
939
942
|
emailSubject: string | null;
|
|
940
|
-
template: import(".prisma/client").$Enums.WorkflowTemplates;
|
|
941
943
|
numberRequired: boolean | null;
|
|
942
944
|
sender: string | null;
|
|
943
945
|
numberVerificationPending: boolean;
|
|
@@ -946,11 +948,11 @@ export declare const usePublicEvent: (props: {
|
|
|
946
948
|
} & {
|
|
947
949
|
name: string;
|
|
948
950
|
trigger: import(".prisma/client").$Enums.WorkflowTriggerEvents;
|
|
951
|
+
time: number | null;
|
|
949
952
|
id: number;
|
|
950
953
|
position: number;
|
|
951
954
|
userId: number | null;
|
|
952
955
|
teamId: number | null;
|
|
953
|
-
time: number | null;
|
|
954
956
|
timeUnit: import(".prisma/client").$Enums.TimeUnit | null;
|
|
955
957
|
};
|
|
956
958
|
} & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePublicEvent.d.ts","sourceRoot":"","sources":["../../hooks/usePublicEvent.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS,qBAAqB,CAAC;AAC5C,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAEzE,eAAO,MAAM,cAAc,UAAW;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE
|
|
1
|
+
{"version":3,"file":"usePublicEvent.d.ts","sourceRoot":"","sources":["../../hooks/usePublicEvent.tsx"],"names":[],"mappings":"AAUA,eAAO,MAAM,SAAS,qBAAqB,CAAC;AAC5C,MAAM,MAAM,wBAAwB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAEzE,eAAO,MAAM,cAAc,UAAW;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gBA2B5E,CAAC"}
|
|
@@ -4,6 +4,8 @@ interface IPUpdateOAuthClient {
|
|
|
4
4
|
onSuccess?: (res: ApiResponse<UpdateScheduleOutputType>) => void;
|
|
5
5
|
onError?: (err: ApiErrorResponse) => void;
|
|
6
6
|
}
|
|
7
|
-
declare const useUpdateSchedule: ({ onSuccess, onError }?: IPUpdateOAuthClient) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<import("@calcom/platform-types").ApiSuccessResponseWithoutData | ApiErrorResponse | import("@calcom/platform-types").ApiSuccessResponse<any>, unknown, UpdateScheduleInput
|
|
7
|
+
declare const useUpdateSchedule: ({ onSuccess, onError }?: IPUpdateOAuthClient) => import("@tanstack/react-query/build/legacy/types").UseMutationResult<import("@calcom/platform-types").ApiSuccessResponseWithoutData | ApiErrorResponse | import("@calcom/platform-types").ApiSuccessResponse<any>, unknown, UpdateScheduleInput & {
|
|
8
|
+
scheduleId: number;
|
|
9
|
+
}, unknown>;
|
|
8
10
|
export default useUpdateSchedule;
|
|
9
11
|
//# sourceMappingURL=useUpdateSchedule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateSchedule.d.ts","sourceRoot":"","sources":["../../hooks/useUpdateSchedule.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAKjG,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,CAAC,wBAAwB,CAAC,KAAK,IAAI,CAAC;IACjE,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC3C;AAED,QAAA,MAAM,iBAAiB,4BACG,mBAAmB,
|
|
1
|
+
{"version":3,"file":"useUpdateSchedule.d.ts","sourceRoot":"","sources":["../../hooks/useUpdateSchedule.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAKjG,UAAU,mBAAmB;IAC3B,SAAS,CAAC,EAAE,CAAC,GAAG,EAAE,WAAW,CAAC,wBAAwB,CAAC,KAAK,IAAI,CAAC;IACjE,OAAO,CAAC,EAAE,CAAC,GAAG,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC3C;AAED,QAAA,MAAM,iBAAiB,4BACG,mBAAmB;gBAcL,MAAM;WAuB7C,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
|
|
@@ -3,8 +3,7 @@ type updateTimezoneInput = {
|
|
|
3
3
|
};
|
|
4
4
|
export declare const useUpdateUserTimezone: () => import("@tanstack/react-query/build/legacy/types").UseMutationResult<import("@calcom/platform-types").ApiErrorResponse | import("@calcom/platform-types").ApiSuccessResponse<{
|
|
5
5
|
id: number;
|
|
6
|
-
|
|
7
|
-
username: string | null;
|
|
6
|
+
username: string;
|
|
8
7
|
email: string;
|
|
9
8
|
timeFormat: number;
|
|
10
9
|
defaultScheduleId: number | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useUpdateUserTimezone.d.ts","sourceRoot":"","sources":["../../hooks/useUpdateUserTimezone.ts"],"names":[],"mappings":"AAQA,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"useUpdateUserTimezone.d.ts","sourceRoot":"","sources":["../../hooks/useUpdateUserTimezone.ts"],"names":[],"mappings":"AAQA,KAAK,mBAAmB,GAAG;IACzB,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;0CAiBjC,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ag as o, W as s, A as t, c as r, B as n, h as i, j as l, K as d, C as p, k as u, ae as m, ad as g, X as c, a7 as C, a8 as D, a9 as T, aa as I, ab as S, ac as h, u as w, v as x, J as k, w as B, x as b, y as A, M as E, z as F, G as L, E as M, l as f, Z as G, R as v, F as U, aj as H, a1 as R, H as y, am as O, I as z, m as P, O as V, n as W, L as j, _ as q, $ as J, a0 as K, V as N, ah as Q, ai as X, ak as Y, S as Z, a5 as _, r as $, a2 as aa, a3 as ea, a4 as oa, N as sa, o as ta, q as ra, T as na, b as ia, s as la, a6 as da, Q as pa, e as ua, U as ma, d as ga, Y as ca, t as Ca, af as Da, al as Ta } from "./index-
|
|
2
|
-
import { U as Sa } from "./UnpublishedEntity-
|
|
3
|
-
import { C as wa } from "./Card-
|
|
1
|
+
import { ag as o, W as s, A as t, c as r, B as n, h as i, j as l, K as d, C as p, k as u, ae as m, ad as g, X as c, a7 as C, a8 as D, a9 as T, aa as I, ab as S, ac as h, u as w, v as x, J as k, w as B, x as b, y as A, M as E, z as F, G as L, E as M, l as f, Z as G, R as v, F as U, aj as H, a1 as R, H as y, am as O, I as z, m as P, O as V, n as W, L as j, _ as q, $ as J, a0 as K, V as N, ah as Q, ai as X, ak as Y, S as Z, a5 as _, r as $, a2 as aa, a3 as ea, a4 as oa, N as sa, o as ta, q as ra, T as na, b as ia, s as la, a6 as da, Q as pa, e as ua, U as ma, d as ga, Y as ca, t as Ca, af as Da, al as Ta } from "./index-mbFMMZks.js";
|
|
2
|
+
import { U as Sa } from "./UnpublishedEntity-1MAiVkGr.js";
|
|
3
|
+
import { C as wa } from "./Card-_EjCEeko.js";
|
|
4
4
|
export {
|
|
5
5
|
o as AddressInput,
|
|
6
6
|
s as Alert,
|