@automate.ax/integration-contracts 0.148.0 → 0.150.0

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.
@@ -770,7 +770,61 @@ export type CalcomEvent<TType extends CalcomWebhookTriggerType = CalcomWebhookTr
770
770
  payload: CalcomPayload<TType>;
771
771
  triggerEvent: TType;
772
772
  } : never;
773
- export declare const CALCOM_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{}, z.core.$strip>;
773
+ export declare const CALCOM_USER_WEBHOOK_SCOPE_SCHEMA: z.ZodObject<{
774
+ type: z.ZodLiteral<"user">;
775
+ }, z.core.$strip>;
776
+ export declare const CALCOM_TEAM_WEBHOOK_SCOPE_SCHEMA: z.ZodObject<{
777
+ eventTypeId: z.ZodNumber;
778
+ teamId: z.ZodNumber;
779
+ type: z.ZodLiteral<"team">;
780
+ }, z.core.$strip>;
781
+ export declare const CALCOM_ORGANIZATION_WEBHOOK_SCOPE_SCHEMA: z.ZodObject<{
782
+ organizationId: z.ZodNumber;
783
+ type: z.ZodLiteral<"organization">;
784
+ }, z.core.$strip>;
785
+ export declare const CALCOM_WEBHOOK_SCOPE_SCHEMA: z.ZodDiscriminatedUnion<[z.ZodObject<{
786
+ type: z.ZodLiteral<"user">;
787
+ }, z.core.$strip>, z.ZodObject<{
788
+ eventTypeId: z.ZodNumber;
789
+ teamId: z.ZodNumber;
790
+ type: z.ZodLiteral<"team">;
791
+ }, z.core.$strip>, z.ZodObject<{
792
+ organizationId: z.ZodNumber;
793
+ type: z.ZodLiteral<"organization">;
794
+ }, z.core.$strip>], "type">;
795
+ export type CalcomWebhookScope = z.output<typeof CALCOM_WEBHOOK_SCOPE_SCHEMA>;
796
+ export declare const CALCOM_USER_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
797
+ scope: z.ZodOptional<z.ZodObject<{
798
+ type: z.ZodLiteral<"user">;
799
+ }, z.core.$strip>>;
800
+ }, z.core.$strip>;
801
+ export declare const CALCOM_TEAM_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
802
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
803
+ type: z.ZodLiteral<"user">;
804
+ }, z.core.$strip>, z.ZodObject<{
805
+ eventTypeId: z.ZodNumber;
806
+ teamId: z.ZodNumber;
807
+ type: z.ZodLiteral<"team">;
808
+ }, z.core.$strip>], "type">>;
809
+ }, z.core.$strip>;
810
+ export declare const CALCOM_ORGANIZATION_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
811
+ scope: z.ZodObject<{
812
+ organizationId: z.ZodNumber;
813
+ type: z.ZodLiteral<"organization">;
814
+ }, z.core.$strip>;
815
+ }, z.core.$strip>;
816
+ export declare const CALCOM_BROAD_TRIGGER_CONFIG_SCHEMA: z.ZodObject<{
817
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
818
+ type: z.ZodLiteral<"user">;
819
+ }, z.core.$strip>, z.ZodObject<{
820
+ eventTypeId: z.ZodNumber;
821
+ teamId: z.ZodNumber;
822
+ type: z.ZodLiteral<"team">;
823
+ }, z.core.$strip>, z.ZodObject<{
824
+ organizationId: z.ZodNumber;
825
+ type: z.ZodLiteral<"organization">;
826
+ }, z.core.$strip>], "type">>;
827
+ }, z.core.$strip>;
774
828
  export declare const CALCOM_EVENT_SCHEMA: z.ZodType<CalcomEvent>;
775
829
  /**
776
830
  * Builds a schema narrowed to one exact Cal.com webhook trigger.
@@ -778,10 +832,6 @@ export declare const CALCOM_EVENT_SCHEMA: z.ZodType<CalcomEvent>;
778
832
  * @param type Exact Cal.com provider event type.
779
833
  */
780
834
  export declare function calcomSemanticEventSchema<TType extends CalcomWebhookTriggerType>(type: TType): z.ZodType<CalcomEvent<TType>>;
781
- type CalcomTriggerContract<TEvent> = {
782
- readonly configSchema: typeof CALCOM_TRIGGER_CONFIG_SCHEMA;
783
- readonly eventSchema: z.ZodType<TEvent>;
784
- };
785
835
  export declare const CALCOM_EVENT_TYPE_MAP: {
786
836
  readonly AFTER_GUESTS_CAL_VIDEO_NO_SHOW: "calcom.afterGuestsCalVideoNoShow";
787
837
  readonly AFTER_HOSTS_CAL_VIDEO_NO_SHOW: "calcom.afterHostsCalVideoNoShow";
@@ -812,11 +862,1017 @@ export declare const CALCOM_EVENT_TYPE_MAP: {
812
862
  readonly ROUTING_FORM_FALLBACK_HIT: "calcom.routingForm.fallbackHit";
813
863
  readonly WRONG_ASSIGNMENT_REPORT: "calcom.wrongAssignmentReported";
814
864
  };
815
- /** Exact provider-to-platform trigger contract map. */
816
- type CalcomSemanticContracts = {
817
- readonly [TType in CalcomWebhookTriggerType as (typeof CALCOM_EVENT_TYPE_MAP)[TType]]: CalcomTriggerContract<CalcomEvent<TType>>;
818
- } & {
819
- readonly "calcom.event": CalcomTriggerContract<CalcomEvent>;
865
+ export declare const calcomTriggerContracts: {
866
+ readonly "calcom.afterGuestsCalVideoNoShow": {
867
+ configSchema: z.ZodObject<{
868
+ scope: z.ZodOptional<z.ZodObject<{
869
+ type: z.ZodLiteral<"user">;
870
+ }, z.core.$strip>>;
871
+ }, z.core.$strip>;
872
+ eventSchema: z.ZodType<{
873
+ readonly [key: string]: Encodable;
874
+ createdAt: string;
875
+ payload: CalcomPayload<"AFTER_GUESTS_CAL_VIDEO_NO_SHOW">;
876
+ triggerEvent: "AFTER_GUESTS_CAL_VIDEO_NO_SHOW";
877
+ }, unknown, z.core.$ZodTypeInternals<{
878
+ readonly [key: string]: Encodable;
879
+ createdAt: string;
880
+ payload: CalcomPayload<"AFTER_GUESTS_CAL_VIDEO_NO_SHOW">;
881
+ triggerEvent: "AFTER_GUESTS_CAL_VIDEO_NO_SHOW";
882
+ }, unknown>>;
883
+ };
884
+ readonly "calcom.afterHostsCalVideoNoShow": {
885
+ configSchema: z.ZodObject<{
886
+ scope: z.ZodOptional<z.ZodObject<{
887
+ type: z.ZodLiteral<"user">;
888
+ }, z.core.$strip>>;
889
+ }, z.core.$strip>;
890
+ eventSchema: z.ZodType<{
891
+ readonly [key: string]: Encodable;
892
+ createdAt: string;
893
+ payload: CalcomPayload<"AFTER_HOSTS_CAL_VIDEO_NO_SHOW">;
894
+ triggerEvent: "AFTER_HOSTS_CAL_VIDEO_NO_SHOW";
895
+ }, unknown, z.core.$ZodTypeInternals<{
896
+ readonly [key: string]: Encodable;
897
+ createdAt: string;
898
+ payload: CalcomPayload<"AFTER_HOSTS_CAL_VIDEO_NO_SHOW">;
899
+ triggerEvent: "AFTER_HOSTS_CAL_VIDEO_NO_SHOW";
900
+ }, unknown>>;
901
+ };
902
+ readonly "calcom.booking.cancelled": {
903
+ configSchema: z.ZodObject<{
904
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
905
+ type: z.ZodLiteral<"user">;
906
+ }, z.core.$strip>, z.ZodObject<{
907
+ eventTypeId: z.ZodNumber;
908
+ teamId: z.ZodNumber;
909
+ type: z.ZodLiteral<"team">;
910
+ }, z.core.$strip>], "type">>;
911
+ }, z.core.$strip>;
912
+ eventSchema: z.ZodType<{
913
+ readonly [key: string]: Encodable;
914
+ createdAt: string;
915
+ payload: CalcomPayload<"BOOKING_CANCELLED">;
916
+ triggerEvent: "BOOKING_CANCELLED";
917
+ }, unknown, z.core.$ZodTypeInternals<{
918
+ readonly [key: string]: Encodable;
919
+ createdAt: string;
920
+ payload: CalcomPayload<"BOOKING_CANCELLED">;
921
+ triggerEvent: "BOOKING_CANCELLED";
922
+ }, unknown>>;
923
+ };
924
+ readonly "calcom.booking.created": {
925
+ configSchema: z.ZodObject<{
926
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
927
+ type: z.ZodLiteral<"user">;
928
+ }, z.core.$strip>, z.ZodObject<{
929
+ eventTypeId: z.ZodNumber;
930
+ teamId: z.ZodNumber;
931
+ type: z.ZodLiteral<"team">;
932
+ }, z.core.$strip>], "type">>;
933
+ }, z.core.$strip>;
934
+ eventSchema: z.ZodType<{
935
+ readonly [key: string]: Encodable;
936
+ createdAt: string;
937
+ payload: CalcomPayload<"BOOKING_CREATED">;
938
+ triggerEvent: "BOOKING_CREATED";
939
+ }, unknown, z.core.$ZodTypeInternals<{
940
+ readonly [key: string]: Encodable;
941
+ createdAt: string;
942
+ payload: CalcomPayload<"BOOKING_CREATED">;
943
+ triggerEvent: "BOOKING_CREATED";
944
+ }, unknown>>;
945
+ };
946
+ readonly "calcom.booking.locationUpdated": {
947
+ configSchema: z.ZodObject<{
948
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
949
+ type: z.ZodLiteral<"user">;
950
+ }, z.core.$strip>, z.ZodObject<{
951
+ eventTypeId: z.ZodNumber;
952
+ teamId: z.ZodNumber;
953
+ type: z.ZodLiteral<"team">;
954
+ }, z.core.$strip>], "type">>;
955
+ }, z.core.$strip>;
956
+ eventSchema: z.ZodType<{
957
+ readonly [key: string]: Encodable;
958
+ createdAt: string;
959
+ payload: CalcomPayload<"BOOKING_LOCATION_UPDATED">;
960
+ triggerEvent: "BOOKING_LOCATION_UPDATED";
961
+ }, unknown, z.core.$ZodTypeInternals<{
962
+ readonly [key: string]: Encodable;
963
+ createdAt: string;
964
+ payload: CalcomPayload<"BOOKING_LOCATION_UPDATED">;
965
+ triggerEvent: "BOOKING_LOCATION_UPDATED";
966
+ }, unknown>>;
967
+ };
968
+ readonly "calcom.booking.noShowUpdated": {
969
+ configSchema: z.ZodObject<{
970
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
971
+ type: z.ZodLiteral<"user">;
972
+ }, z.core.$strip>, z.ZodObject<{
973
+ eventTypeId: z.ZodNumber;
974
+ teamId: z.ZodNumber;
975
+ type: z.ZodLiteral<"team">;
976
+ }, z.core.$strip>], "type">>;
977
+ }, z.core.$strip>;
978
+ eventSchema: z.ZodType<{
979
+ readonly [key: string]: Encodable;
980
+ createdAt: string;
981
+ payload: CalcomPayload<"BOOKING_NO_SHOW_UPDATED">;
982
+ triggerEvent: "BOOKING_NO_SHOW_UPDATED";
983
+ }, unknown, z.core.$ZodTypeInternals<{
984
+ readonly [key: string]: Encodable;
985
+ createdAt: string;
986
+ payload: CalcomPayload<"BOOKING_NO_SHOW_UPDATED">;
987
+ triggerEvent: "BOOKING_NO_SHOW_UPDATED";
988
+ }, unknown>>;
989
+ };
990
+ readonly "calcom.booking.paid": {
991
+ configSchema: z.ZodObject<{
992
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
993
+ type: z.ZodLiteral<"user">;
994
+ }, z.core.$strip>, z.ZodObject<{
995
+ eventTypeId: z.ZodNumber;
996
+ teamId: z.ZodNumber;
997
+ type: z.ZodLiteral<"team">;
998
+ }, z.core.$strip>], "type">>;
999
+ }, z.core.$strip>;
1000
+ eventSchema: z.ZodType<{
1001
+ readonly [key: string]: Encodable;
1002
+ createdAt: string;
1003
+ payload: CalcomPayload<"BOOKING_PAID">;
1004
+ triggerEvent: "BOOKING_PAID";
1005
+ }, unknown, z.core.$ZodTypeInternals<{
1006
+ readonly [key: string]: Encodable;
1007
+ createdAt: string;
1008
+ payload: CalcomPayload<"BOOKING_PAID">;
1009
+ triggerEvent: "BOOKING_PAID";
1010
+ }, unknown>>;
1011
+ };
1012
+ readonly "calcom.booking.paymentInitiated": {
1013
+ configSchema: z.ZodObject<{
1014
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1015
+ type: z.ZodLiteral<"user">;
1016
+ }, z.core.$strip>, z.ZodObject<{
1017
+ eventTypeId: z.ZodNumber;
1018
+ teamId: z.ZodNumber;
1019
+ type: z.ZodLiteral<"team">;
1020
+ }, z.core.$strip>], "type">>;
1021
+ }, z.core.$strip>;
1022
+ eventSchema: z.ZodType<{
1023
+ readonly [key: string]: Encodable;
1024
+ createdAt: string;
1025
+ payload: CalcomPayload<"BOOKING_PAYMENT_INITIATED">;
1026
+ triggerEvent: "BOOKING_PAYMENT_INITIATED";
1027
+ }, unknown, z.core.$ZodTypeInternals<{
1028
+ readonly [key: string]: Encodable;
1029
+ createdAt: string;
1030
+ payload: CalcomPayload<"BOOKING_PAYMENT_INITIATED">;
1031
+ triggerEvent: "BOOKING_PAYMENT_INITIATED";
1032
+ }, unknown>>;
1033
+ };
1034
+ readonly "calcom.booking.reassigned": {
1035
+ configSchema: z.ZodObject<{
1036
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1037
+ type: z.ZodLiteral<"user">;
1038
+ }, z.core.$strip>, z.ZodObject<{
1039
+ eventTypeId: z.ZodNumber;
1040
+ teamId: z.ZodNumber;
1041
+ type: z.ZodLiteral<"team">;
1042
+ }, z.core.$strip>], "type">>;
1043
+ }, z.core.$strip>;
1044
+ eventSchema: z.ZodType<{
1045
+ readonly [key: string]: Encodable;
1046
+ createdAt: string;
1047
+ payload: CalcomPayload<"BOOKING_REASSIGNED">;
1048
+ triggerEvent: "BOOKING_REASSIGNED";
1049
+ }, unknown, z.core.$ZodTypeInternals<{
1050
+ readonly [key: string]: Encodable;
1051
+ createdAt: string;
1052
+ payload: CalcomPayload<"BOOKING_REASSIGNED">;
1053
+ triggerEvent: "BOOKING_REASSIGNED";
1054
+ }, unknown>>;
1055
+ };
1056
+ readonly "calcom.booking.rejected": {
1057
+ configSchema: z.ZodObject<{
1058
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1059
+ type: z.ZodLiteral<"user">;
1060
+ }, z.core.$strip>, z.ZodObject<{
1061
+ eventTypeId: z.ZodNumber;
1062
+ teamId: z.ZodNumber;
1063
+ type: z.ZodLiteral<"team">;
1064
+ }, z.core.$strip>], "type">>;
1065
+ }, z.core.$strip>;
1066
+ eventSchema: z.ZodType<{
1067
+ readonly [key: string]: Encodable;
1068
+ createdAt: string;
1069
+ payload: CalcomPayload<"BOOKING_REJECTED">;
1070
+ triggerEvent: "BOOKING_REJECTED";
1071
+ }, unknown, z.core.$ZodTypeInternals<{
1072
+ readonly [key: string]: Encodable;
1073
+ createdAt: string;
1074
+ payload: CalcomPayload<"BOOKING_REJECTED">;
1075
+ triggerEvent: "BOOKING_REJECTED";
1076
+ }, unknown>>;
1077
+ };
1078
+ readonly "calcom.booking.requested": {
1079
+ configSchema: z.ZodObject<{
1080
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1081
+ type: z.ZodLiteral<"user">;
1082
+ }, z.core.$strip>, z.ZodObject<{
1083
+ eventTypeId: z.ZodNumber;
1084
+ teamId: z.ZodNumber;
1085
+ type: z.ZodLiteral<"team">;
1086
+ }, z.core.$strip>], "type">>;
1087
+ }, z.core.$strip>;
1088
+ eventSchema: z.ZodType<{
1089
+ readonly [key: string]: Encodable;
1090
+ createdAt: string;
1091
+ payload: CalcomPayload<"BOOKING_REQUESTED">;
1092
+ triggerEvent: "BOOKING_REQUESTED";
1093
+ }, unknown, z.core.$ZodTypeInternals<{
1094
+ readonly [key: string]: Encodable;
1095
+ createdAt: string;
1096
+ payload: CalcomPayload<"BOOKING_REQUESTED">;
1097
+ triggerEvent: "BOOKING_REQUESTED";
1098
+ }, unknown>>;
1099
+ };
1100
+ readonly "calcom.booking.rescheduled": {
1101
+ configSchema: z.ZodObject<{
1102
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1103
+ type: z.ZodLiteral<"user">;
1104
+ }, z.core.$strip>, z.ZodObject<{
1105
+ eventTypeId: z.ZodNumber;
1106
+ teamId: z.ZodNumber;
1107
+ type: z.ZodLiteral<"team">;
1108
+ }, z.core.$strip>], "type">>;
1109
+ }, z.core.$strip>;
1110
+ eventSchema: z.ZodType<{
1111
+ readonly [key: string]: Encodable;
1112
+ createdAt: string;
1113
+ payload: CalcomPayload<"BOOKING_RESCHEDULED">;
1114
+ triggerEvent: "BOOKING_RESCHEDULED";
1115
+ }, unknown, z.core.$ZodTypeInternals<{
1116
+ readonly [key: string]: Encodable;
1117
+ createdAt: string;
1118
+ payload: CalcomPayload<"BOOKING_RESCHEDULED">;
1119
+ triggerEvent: "BOOKING_RESCHEDULED";
1120
+ }, unknown>>;
1121
+ };
1122
+ readonly "calcom.calendarEntryRejected": {
1123
+ configSchema: z.ZodObject<{
1124
+ scope: z.ZodOptional<z.ZodObject<{
1125
+ type: z.ZodLiteral<"user">;
1126
+ }, z.core.$strip>>;
1127
+ }, z.core.$strip>;
1128
+ eventSchema: z.ZodType<{
1129
+ readonly [key: string]: Encodable;
1130
+ createdAt: string;
1131
+ payload: CalcomPayload<"CALENDAR_ENTRY_REJECTED">;
1132
+ triggerEvent: "CALENDAR_ENTRY_REJECTED";
1133
+ }, unknown, z.core.$ZodTypeInternals<{
1134
+ readonly [key: string]: Encodable;
1135
+ createdAt: string;
1136
+ payload: CalcomPayload<"CALENDAR_ENTRY_REJECTED">;
1137
+ triggerEvent: "CALENDAR_ENTRY_REJECTED";
1138
+ }, unknown>>;
1139
+ };
1140
+ readonly "calcom.delegationCredential.error": {
1141
+ configSchema: z.ZodObject<{
1142
+ scope: z.ZodObject<{
1143
+ organizationId: z.ZodNumber;
1144
+ type: z.ZodLiteral<"organization">;
1145
+ }, z.core.$strip>;
1146
+ }, z.core.$strip>;
1147
+ eventSchema: z.ZodType<{
1148
+ readonly [key: string]: Encodable;
1149
+ createdAt: string;
1150
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ERROR">;
1151
+ triggerEvent: "DELEGATION_CREDENTIAL_ERROR";
1152
+ }, unknown, z.core.$ZodTypeInternals<{
1153
+ readonly [key: string]: Encodable;
1154
+ createdAt: string;
1155
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ERROR">;
1156
+ triggerEvent: "DELEGATION_CREDENTIAL_ERROR";
1157
+ }, unknown>>;
1158
+ };
1159
+ readonly "calcom.delegationCredential.rotationRequired": {
1160
+ configSchema: z.ZodObject<{
1161
+ scope: z.ZodObject<{
1162
+ organizationId: z.ZodNumber;
1163
+ type: z.ZodLiteral<"organization">;
1164
+ }, z.core.$strip>;
1165
+ }, z.core.$strip>;
1166
+ eventSchema: z.ZodType<{
1167
+ readonly [key: string]: Encodable;
1168
+ createdAt: string;
1169
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ROTATION_REQUIRED">;
1170
+ triggerEvent: "DELEGATION_CREDENTIAL_ROTATION_REQUIRED";
1171
+ }, unknown, z.core.$ZodTypeInternals<{
1172
+ readonly [key: string]: Encodable;
1173
+ createdAt: string;
1174
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ROTATION_REQUIRED">;
1175
+ triggerEvent: "DELEGATION_CREDENTIAL_ROTATION_REQUIRED";
1176
+ }, unknown>>;
1177
+ };
1178
+ readonly "calcom.delegationCredential.secretRotated": {
1179
+ configSchema: z.ZodObject<{
1180
+ scope: z.ZodObject<{
1181
+ organizationId: z.ZodNumber;
1182
+ type: z.ZodLiteral<"organization">;
1183
+ }, z.core.$strip>;
1184
+ }, z.core.$strip>;
1185
+ eventSchema: z.ZodType<{
1186
+ readonly [key: string]: Encodable;
1187
+ createdAt: string;
1188
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATED">;
1189
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATED";
1190
+ }, unknown, z.core.$ZodTypeInternals<{
1191
+ readonly [key: string]: Encodable;
1192
+ createdAt: string;
1193
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATED">;
1194
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATED";
1195
+ }, unknown>>;
1196
+ };
1197
+ readonly "calcom.delegationCredential.secretRotationFailed": {
1198
+ configSchema: z.ZodObject<{
1199
+ scope: z.ZodObject<{
1200
+ organizationId: z.ZodNumber;
1201
+ type: z.ZodLiteral<"organization">;
1202
+ }, z.core.$strip>;
1203
+ }, z.core.$strip>;
1204
+ eventSchema: z.ZodType<{
1205
+ readonly [key: string]: Encodable;
1206
+ createdAt: string;
1207
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED">;
1208
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED";
1209
+ }, unknown, z.core.$ZodTypeInternals<{
1210
+ readonly [key: string]: Encodable;
1211
+ createdAt: string;
1212
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED">;
1213
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED";
1214
+ }, unknown>>;
1215
+ };
1216
+ readonly "calcom.event": {
1217
+ readonly configSchema: z.ZodObject<{
1218
+ scope: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1219
+ type: z.ZodLiteral<"user">;
1220
+ }, z.core.$strip>, z.ZodObject<{
1221
+ eventTypeId: z.ZodNumber;
1222
+ teamId: z.ZodNumber;
1223
+ type: z.ZodLiteral<"team">;
1224
+ }, z.core.$strip>, z.ZodObject<{
1225
+ organizationId: z.ZodNumber;
1226
+ type: z.ZodLiteral<"organization">;
1227
+ }, z.core.$strip>], "type">>;
1228
+ }, z.core.$strip>;
1229
+ readonly eventSchema: z.ZodType<{
1230
+ readonly [key: string]: Encodable;
1231
+ createdAt: string;
1232
+ payload: CalcomPayload<"BOOKING_CREATED">;
1233
+ triggerEvent: "BOOKING_CREATED";
1234
+ } | {
1235
+ readonly [key: string]: Encodable;
1236
+ createdAt: string;
1237
+ payload: CalcomPayload<"BOOKING_PAYMENT_INITIATED">;
1238
+ triggerEvent: "BOOKING_PAYMENT_INITIATED";
1239
+ } | {
1240
+ readonly [key: string]: Encodable;
1241
+ createdAt: string;
1242
+ payload: CalcomPayload<"BOOKING_PAID">;
1243
+ triggerEvent: "BOOKING_PAID";
1244
+ } | {
1245
+ readonly [key: string]: Encodable;
1246
+ createdAt: string;
1247
+ payload: CalcomPayload<"BOOKING_RESCHEDULED">;
1248
+ triggerEvent: "BOOKING_RESCHEDULED";
1249
+ } | {
1250
+ readonly [key: string]: Encodable;
1251
+ createdAt: string;
1252
+ payload: CalcomPayload<"BOOKING_REQUESTED">;
1253
+ triggerEvent: "BOOKING_REQUESTED";
1254
+ } | {
1255
+ readonly [key: string]: Encodable;
1256
+ createdAt: string;
1257
+ payload: CalcomPayload<"BOOKING_CANCELLED">;
1258
+ triggerEvent: "BOOKING_CANCELLED";
1259
+ } | {
1260
+ readonly [key: string]: Encodable;
1261
+ createdAt: string;
1262
+ payload: CalcomPayload<"BOOKING_REJECTED">;
1263
+ triggerEvent: "BOOKING_REJECTED";
1264
+ } | {
1265
+ readonly [key: string]: Encodable;
1266
+ createdAt: string;
1267
+ payload: CalcomPayload<"BOOKING_NO_SHOW_UPDATED">;
1268
+ triggerEvent: "BOOKING_NO_SHOW_UPDATED";
1269
+ } | {
1270
+ readonly [key: string]: Encodable;
1271
+ createdAt: string;
1272
+ payload: CalcomPayload<"BOOKING_LOCATION_UPDATED">;
1273
+ triggerEvent: "BOOKING_LOCATION_UPDATED";
1274
+ } | {
1275
+ readonly [key: string]: Encodable;
1276
+ createdAt: string;
1277
+ payload: CalcomPayload<"BOOKING_REASSIGNED">;
1278
+ triggerEvent: "BOOKING_REASSIGNED";
1279
+ } | {
1280
+ readonly [key: string]: Encodable;
1281
+ createdAt: string;
1282
+ payload: CalcomPayload<"FORM_SUBMITTED">;
1283
+ triggerEvent: "FORM_SUBMITTED";
1284
+ } | ({
1285
+ [x: string]: unknown;
1286
+ attendees: {
1287
+ [x: string]: unknown;
1288
+ email: string;
1289
+ language: {
1290
+ [x: string]: unknown;
1291
+ locale: string;
1292
+ };
1293
+ name: string;
1294
+ timeZone: string;
1295
+ id?: number | undefined;
1296
+ phoneNumber?: string | null | undefined;
1297
+ username?: string | null | undefined;
1298
+ utcOffset?: number | undefined;
1299
+ }[];
1300
+ createdAt: string;
1301
+ endTime: string;
1302
+ id: number;
1303
+ startTime: string;
1304
+ title: string;
1305
+ uid: string;
1306
+ } & {
1307
+ readonly [key: string]: Encodable;
1308
+ } & {
1309
+ triggerEvent: "MEETING_ENDED";
1310
+ }) | ({
1311
+ [x: string]: unknown;
1312
+ attendees: {
1313
+ [x: string]: unknown;
1314
+ email: string;
1315
+ language: {
1316
+ [x: string]: unknown;
1317
+ locale: string;
1318
+ };
1319
+ name: string;
1320
+ timeZone: string;
1321
+ id?: number | undefined;
1322
+ phoneNumber?: string | null | undefined;
1323
+ username?: string | null | undefined;
1324
+ utcOffset?: number | undefined;
1325
+ }[];
1326
+ createdAt: string;
1327
+ endTime: string;
1328
+ id: number;
1329
+ startTime: string;
1330
+ title: string;
1331
+ uid: string;
1332
+ } & {
1333
+ readonly [key: string]: Encodable;
1334
+ } & {
1335
+ triggerEvent: "MEETING_STARTED";
1336
+ }) | {
1337
+ readonly [key: string]: Encodable;
1338
+ createdAt: string;
1339
+ payload: CalcomPayload<"RECORDING_READY">;
1340
+ triggerEvent: "RECORDING_READY";
1341
+ } | {
1342
+ readonly [key: string]: Encodable;
1343
+ createdAt: string;
1344
+ payload: CalcomPayload<"INSTANT_MEETING">;
1345
+ triggerEvent: "INSTANT_MEETING";
1346
+ } | {
1347
+ readonly [key: string]: Encodable;
1348
+ createdAt: string;
1349
+ payload: CalcomPayload<"INSTANT_MEETING_ACCEPTED">;
1350
+ triggerEvent: "INSTANT_MEETING_ACCEPTED";
1351
+ } | {
1352
+ readonly [key: string]: Encodable;
1353
+ createdAt: string;
1354
+ payload: CalcomPayload<"RECORDING_TRANSCRIPTION_GENERATED">;
1355
+ triggerEvent: "RECORDING_TRANSCRIPTION_GENERATED";
1356
+ } | {
1357
+ readonly [key: string]: Encodable;
1358
+ createdAt: string;
1359
+ payload: CalcomPayload<"OOO_CREATED">;
1360
+ triggerEvent: "OOO_CREATED";
1361
+ } | {
1362
+ readonly [key: string]: Encodable;
1363
+ createdAt: string;
1364
+ payload: CalcomPayload<"AFTER_HOSTS_CAL_VIDEO_NO_SHOW">;
1365
+ triggerEvent: "AFTER_HOSTS_CAL_VIDEO_NO_SHOW";
1366
+ } | {
1367
+ readonly [key: string]: Encodable;
1368
+ createdAt: string;
1369
+ payload: CalcomPayload<"AFTER_GUESTS_CAL_VIDEO_NO_SHOW">;
1370
+ triggerEvent: "AFTER_GUESTS_CAL_VIDEO_NO_SHOW";
1371
+ } | {
1372
+ readonly [key: string]: Encodable;
1373
+ createdAt: string;
1374
+ payload: CalcomPayload<"FORM_SUBMITTED_NO_EVENT">;
1375
+ triggerEvent: "FORM_SUBMITTED_NO_EVENT";
1376
+ } | {
1377
+ readonly [key: string]: Encodable;
1378
+ createdAt: string;
1379
+ payload: CalcomPayload<"ROUTING_FORM_FALLBACK_HIT">;
1380
+ triggerEvent: "ROUTING_FORM_FALLBACK_HIT";
1381
+ } | {
1382
+ readonly [key: string]: Encodable;
1383
+ createdAt: string;
1384
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ERROR">;
1385
+ triggerEvent: "DELEGATION_CREDENTIAL_ERROR";
1386
+ } | {
1387
+ readonly [key: string]: Encodable;
1388
+ createdAt: string;
1389
+ payload: CalcomPayload<"WRONG_ASSIGNMENT_REPORT">;
1390
+ triggerEvent: "WRONG_ASSIGNMENT_REPORT";
1391
+ } | {
1392
+ readonly [key: string]: Encodable;
1393
+ createdAt: string;
1394
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED">;
1395
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED";
1396
+ } | {
1397
+ readonly [key: string]: Encodable;
1398
+ createdAt: string;
1399
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ROTATION_REQUIRED">;
1400
+ triggerEvent: "DELEGATION_CREDENTIAL_ROTATION_REQUIRED";
1401
+ } | {
1402
+ readonly [key: string]: Encodable;
1403
+ createdAt: string;
1404
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATED">;
1405
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATED";
1406
+ } | {
1407
+ readonly [key: string]: Encodable;
1408
+ createdAt: string;
1409
+ payload: CalcomPayload<"CALENDAR_ENTRY_REJECTED">;
1410
+ triggerEvent: "CALENDAR_ENTRY_REJECTED";
1411
+ }, unknown, z.core.$ZodTypeInternals<{
1412
+ readonly [key: string]: Encodable;
1413
+ createdAt: string;
1414
+ payload: CalcomPayload<"BOOKING_CREATED">;
1415
+ triggerEvent: "BOOKING_CREATED";
1416
+ } | {
1417
+ readonly [key: string]: Encodable;
1418
+ createdAt: string;
1419
+ payload: CalcomPayload<"BOOKING_PAYMENT_INITIATED">;
1420
+ triggerEvent: "BOOKING_PAYMENT_INITIATED";
1421
+ } | {
1422
+ readonly [key: string]: Encodable;
1423
+ createdAt: string;
1424
+ payload: CalcomPayload<"BOOKING_PAID">;
1425
+ triggerEvent: "BOOKING_PAID";
1426
+ } | {
1427
+ readonly [key: string]: Encodable;
1428
+ createdAt: string;
1429
+ payload: CalcomPayload<"BOOKING_RESCHEDULED">;
1430
+ triggerEvent: "BOOKING_RESCHEDULED";
1431
+ } | {
1432
+ readonly [key: string]: Encodable;
1433
+ createdAt: string;
1434
+ payload: CalcomPayload<"BOOKING_REQUESTED">;
1435
+ triggerEvent: "BOOKING_REQUESTED";
1436
+ } | {
1437
+ readonly [key: string]: Encodable;
1438
+ createdAt: string;
1439
+ payload: CalcomPayload<"BOOKING_CANCELLED">;
1440
+ triggerEvent: "BOOKING_CANCELLED";
1441
+ } | {
1442
+ readonly [key: string]: Encodable;
1443
+ createdAt: string;
1444
+ payload: CalcomPayload<"BOOKING_REJECTED">;
1445
+ triggerEvent: "BOOKING_REJECTED";
1446
+ } | {
1447
+ readonly [key: string]: Encodable;
1448
+ createdAt: string;
1449
+ payload: CalcomPayload<"BOOKING_NO_SHOW_UPDATED">;
1450
+ triggerEvent: "BOOKING_NO_SHOW_UPDATED";
1451
+ } | {
1452
+ readonly [key: string]: Encodable;
1453
+ createdAt: string;
1454
+ payload: CalcomPayload<"BOOKING_LOCATION_UPDATED">;
1455
+ triggerEvent: "BOOKING_LOCATION_UPDATED";
1456
+ } | {
1457
+ readonly [key: string]: Encodable;
1458
+ createdAt: string;
1459
+ payload: CalcomPayload<"BOOKING_REASSIGNED">;
1460
+ triggerEvent: "BOOKING_REASSIGNED";
1461
+ } | {
1462
+ readonly [key: string]: Encodable;
1463
+ createdAt: string;
1464
+ payload: CalcomPayload<"FORM_SUBMITTED">;
1465
+ triggerEvent: "FORM_SUBMITTED";
1466
+ } | ({
1467
+ [x: string]: unknown;
1468
+ attendees: {
1469
+ [x: string]: unknown;
1470
+ email: string;
1471
+ language: {
1472
+ [x: string]: unknown;
1473
+ locale: string;
1474
+ };
1475
+ name: string;
1476
+ timeZone: string;
1477
+ id?: number | undefined;
1478
+ phoneNumber?: string | null | undefined;
1479
+ username?: string | null | undefined;
1480
+ utcOffset?: number | undefined;
1481
+ }[];
1482
+ createdAt: string;
1483
+ endTime: string;
1484
+ id: number;
1485
+ startTime: string;
1486
+ title: string;
1487
+ uid: string;
1488
+ } & {
1489
+ readonly [key: string]: Encodable;
1490
+ } & {
1491
+ triggerEvent: "MEETING_ENDED";
1492
+ }) | ({
1493
+ [x: string]: unknown;
1494
+ attendees: {
1495
+ [x: string]: unknown;
1496
+ email: string;
1497
+ language: {
1498
+ [x: string]: unknown;
1499
+ locale: string;
1500
+ };
1501
+ name: string;
1502
+ timeZone: string;
1503
+ id?: number | undefined;
1504
+ phoneNumber?: string | null | undefined;
1505
+ username?: string | null | undefined;
1506
+ utcOffset?: number | undefined;
1507
+ }[];
1508
+ createdAt: string;
1509
+ endTime: string;
1510
+ id: number;
1511
+ startTime: string;
1512
+ title: string;
1513
+ uid: string;
1514
+ } & {
1515
+ readonly [key: string]: Encodable;
1516
+ } & {
1517
+ triggerEvent: "MEETING_STARTED";
1518
+ }) | {
1519
+ readonly [key: string]: Encodable;
1520
+ createdAt: string;
1521
+ payload: CalcomPayload<"RECORDING_READY">;
1522
+ triggerEvent: "RECORDING_READY";
1523
+ } | {
1524
+ readonly [key: string]: Encodable;
1525
+ createdAt: string;
1526
+ payload: CalcomPayload<"INSTANT_MEETING">;
1527
+ triggerEvent: "INSTANT_MEETING";
1528
+ } | {
1529
+ readonly [key: string]: Encodable;
1530
+ createdAt: string;
1531
+ payload: CalcomPayload<"INSTANT_MEETING_ACCEPTED">;
1532
+ triggerEvent: "INSTANT_MEETING_ACCEPTED";
1533
+ } | {
1534
+ readonly [key: string]: Encodable;
1535
+ createdAt: string;
1536
+ payload: CalcomPayload<"RECORDING_TRANSCRIPTION_GENERATED">;
1537
+ triggerEvent: "RECORDING_TRANSCRIPTION_GENERATED";
1538
+ } | {
1539
+ readonly [key: string]: Encodable;
1540
+ createdAt: string;
1541
+ payload: CalcomPayload<"OOO_CREATED">;
1542
+ triggerEvent: "OOO_CREATED";
1543
+ } | {
1544
+ readonly [key: string]: Encodable;
1545
+ createdAt: string;
1546
+ payload: CalcomPayload<"AFTER_HOSTS_CAL_VIDEO_NO_SHOW">;
1547
+ triggerEvent: "AFTER_HOSTS_CAL_VIDEO_NO_SHOW";
1548
+ } | {
1549
+ readonly [key: string]: Encodable;
1550
+ createdAt: string;
1551
+ payload: CalcomPayload<"AFTER_GUESTS_CAL_VIDEO_NO_SHOW">;
1552
+ triggerEvent: "AFTER_GUESTS_CAL_VIDEO_NO_SHOW";
1553
+ } | {
1554
+ readonly [key: string]: Encodable;
1555
+ createdAt: string;
1556
+ payload: CalcomPayload<"FORM_SUBMITTED_NO_EVENT">;
1557
+ triggerEvent: "FORM_SUBMITTED_NO_EVENT";
1558
+ } | {
1559
+ readonly [key: string]: Encodable;
1560
+ createdAt: string;
1561
+ payload: CalcomPayload<"ROUTING_FORM_FALLBACK_HIT">;
1562
+ triggerEvent: "ROUTING_FORM_FALLBACK_HIT";
1563
+ } | {
1564
+ readonly [key: string]: Encodable;
1565
+ createdAt: string;
1566
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ERROR">;
1567
+ triggerEvent: "DELEGATION_CREDENTIAL_ERROR";
1568
+ } | {
1569
+ readonly [key: string]: Encodable;
1570
+ createdAt: string;
1571
+ payload: CalcomPayload<"WRONG_ASSIGNMENT_REPORT">;
1572
+ triggerEvent: "WRONG_ASSIGNMENT_REPORT";
1573
+ } | {
1574
+ readonly [key: string]: Encodable;
1575
+ createdAt: string;
1576
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED">;
1577
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATION_FAILED";
1578
+ } | {
1579
+ readonly [key: string]: Encodable;
1580
+ createdAt: string;
1581
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_ROTATION_REQUIRED">;
1582
+ triggerEvent: "DELEGATION_CREDENTIAL_ROTATION_REQUIRED";
1583
+ } | {
1584
+ readonly [key: string]: Encodable;
1585
+ createdAt: string;
1586
+ payload: CalcomPayload<"DELEGATION_CREDENTIAL_SECRET_ROTATED">;
1587
+ triggerEvent: "DELEGATION_CREDENTIAL_SECRET_ROTATED";
1588
+ } | {
1589
+ readonly [key: string]: Encodable;
1590
+ createdAt: string;
1591
+ payload: CalcomPayload<"CALENDAR_ENTRY_REJECTED">;
1592
+ triggerEvent: "CALENDAR_ENTRY_REJECTED";
1593
+ }, unknown>>;
1594
+ };
1595
+ readonly "calcom.form.submitted": {
1596
+ configSchema: z.ZodObject<{
1597
+ scope: z.ZodOptional<z.ZodObject<{
1598
+ type: z.ZodLiteral<"user">;
1599
+ }, z.core.$strip>>;
1600
+ }, z.core.$strip>;
1601
+ eventSchema: z.ZodType<{
1602
+ readonly [key: string]: Encodable;
1603
+ createdAt: string;
1604
+ payload: CalcomPayload<"FORM_SUBMITTED">;
1605
+ triggerEvent: "FORM_SUBMITTED";
1606
+ }, unknown, z.core.$ZodTypeInternals<{
1607
+ readonly [key: string]: Encodable;
1608
+ createdAt: string;
1609
+ payload: CalcomPayload<"FORM_SUBMITTED">;
1610
+ triggerEvent: "FORM_SUBMITTED";
1611
+ }, unknown>>;
1612
+ };
1613
+ readonly "calcom.form.submittedWithoutEvent": {
1614
+ configSchema: z.ZodObject<{
1615
+ scope: z.ZodOptional<z.ZodObject<{
1616
+ type: z.ZodLiteral<"user">;
1617
+ }, z.core.$strip>>;
1618
+ }, z.core.$strip>;
1619
+ eventSchema: z.ZodType<{
1620
+ readonly [key: string]: Encodable;
1621
+ createdAt: string;
1622
+ payload: CalcomPayload<"FORM_SUBMITTED_NO_EVENT">;
1623
+ triggerEvent: "FORM_SUBMITTED_NO_EVENT";
1624
+ }, unknown, z.core.$ZodTypeInternals<{
1625
+ readonly [key: string]: Encodable;
1626
+ createdAt: string;
1627
+ payload: CalcomPayload<"FORM_SUBMITTED_NO_EVENT">;
1628
+ triggerEvent: "FORM_SUBMITTED_NO_EVENT";
1629
+ }, unknown>>;
1630
+ };
1631
+ readonly "calcom.instantMeeting.accepted": {
1632
+ configSchema: z.ZodObject<{
1633
+ scope: z.ZodOptional<z.ZodObject<{
1634
+ type: z.ZodLiteral<"user">;
1635
+ }, z.core.$strip>>;
1636
+ }, z.core.$strip>;
1637
+ eventSchema: z.ZodType<{
1638
+ readonly [key: string]: Encodable;
1639
+ createdAt: string;
1640
+ payload: CalcomPayload<"INSTANT_MEETING_ACCEPTED">;
1641
+ triggerEvent: "INSTANT_MEETING_ACCEPTED";
1642
+ }, unknown, z.core.$ZodTypeInternals<{
1643
+ readonly [key: string]: Encodable;
1644
+ createdAt: string;
1645
+ payload: CalcomPayload<"INSTANT_MEETING_ACCEPTED">;
1646
+ triggerEvent: "INSTANT_MEETING_ACCEPTED";
1647
+ }, unknown>>;
1648
+ };
1649
+ readonly "calcom.instantMeeting.created": {
1650
+ configSchema: z.ZodObject<{
1651
+ scope: z.ZodOptional<z.ZodObject<{
1652
+ type: z.ZodLiteral<"user">;
1653
+ }, z.core.$strip>>;
1654
+ }, z.core.$strip>;
1655
+ eventSchema: z.ZodType<{
1656
+ readonly [key: string]: Encodable;
1657
+ createdAt: string;
1658
+ payload: CalcomPayload<"INSTANT_MEETING">;
1659
+ triggerEvent: "INSTANT_MEETING";
1660
+ }, unknown, z.core.$ZodTypeInternals<{
1661
+ readonly [key: string]: Encodable;
1662
+ createdAt: string;
1663
+ payload: CalcomPayload<"INSTANT_MEETING">;
1664
+ triggerEvent: "INSTANT_MEETING";
1665
+ }, unknown>>;
1666
+ };
1667
+ readonly "calcom.meeting.ended": {
1668
+ configSchema: z.ZodObject<{
1669
+ scope: z.ZodOptional<z.ZodObject<{
1670
+ type: z.ZodLiteral<"user">;
1671
+ }, z.core.$strip>>;
1672
+ }, z.core.$strip>;
1673
+ eventSchema: z.ZodType<{
1674
+ [x: string]: unknown;
1675
+ attendees: {
1676
+ [x: string]: unknown;
1677
+ email: string;
1678
+ language: {
1679
+ [x: string]: unknown;
1680
+ locale: string;
1681
+ };
1682
+ name: string;
1683
+ timeZone: string;
1684
+ id?: number | undefined;
1685
+ phoneNumber?: string | null | undefined;
1686
+ username?: string | null | undefined;
1687
+ utcOffset?: number | undefined;
1688
+ }[];
1689
+ createdAt: string;
1690
+ endTime: string;
1691
+ id: number;
1692
+ startTime: string;
1693
+ title: string;
1694
+ uid: string;
1695
+ } & {
1696
+ readonly [key: string]: Encodable;
1697
+ } & {
1698
+ triggerEvent: "MEETING_ENDED";
1699
+ }, unknown, z.core.$ZodTypeInternals<{
1700
+ [x: string]: unknown;
1701
+ attendees: {
1702
+ [x: string]: unknown;
1703
+ email: string;
1704
+ language: {
1705
+ [x: string]: unknown;
1706
+ locale: string;
1707
+ };
1708
+ name: string;
1709
+ timeZone: string;
1710
+ id?: number | undefined;
1711
+ phoneNumber?: string | null | undefined;
1712
+ username?: string | null | undefined;
1713
+ utcOffset?: number | undefined;
1714
+ }[];
1715
+ createdAt: string;
1716
+ endTime: string;
1717
+ id: number;
1718
+ startTime: string;
1719
+ title: string;
1720
+ uid: string;
1721
+ } & {
1722
+ readonly [key: string]: Encodable;
1723
+ } & {
1724
+ triggerEvent: "MEETING_ENDED";
1725
+ }, unknown>>;
1726
+ };
1727
+ readonly "calcom.meeting.started": {
1728
+ configSchema: z.ZodObject<{
1729
+ scope: z.ZodOptional<z.ZodObject<{
1730
+ type: z.ZodLiteral<"user">;
1731
+ }, z.core.$strip>>;
1732
+ }, z.core.$strip>;
1733
+ eventSchema: z.ZodType<{
1734
+ [x: string]: unknown;
1735
+ attendees: {
1736
+ [x: string]: unknown;
1737
+ email: string;
1738
+ language: {
1739
+ [x: string]: unknown;
1740
+ locale: string;
1741
+ };
1742
+ name: string;
1743
+ timeZone: string;
1744
+ id?: number | undefined;
1745
+ phoneNumber?: string | null | undefined;
1746
+ username?: string | null | undefined;
1747
+ utcOffset?: number | undefined;
1748
+ }[];
1749
+ createdAt: string;
1750
+ endTime: string;
1751
+ id: number;
1752
+ startTime: string;
1753
+ title: string;
1754
+ uid: string;
1755
+ } & {
1756
+ readonly [key: string]: Encodable;
1757
+ } & {
1758
+ triggerEvent: "MEETING_STARTED";
1759
+ }, unknown, z.core.$ZodTypeInternals<{
1760
+ [x: string]: unknown;
1761
+ attendees: {
1762
+ [x: string]: unknown;
1763
+ email: string;
1764
+ language: {
1765
+ [x: string]: unknown;
1766
+ locale: string;
1767
+ };
1768
+ name: string;
1769
+ timeZone: string;
1770
+ id?: number | undefined;
1771
+ phoneNumber?: string | null | undefined;
1772
+ username?: string | null | undefined;
1773
+ utcOffset?: number | undefined;
1774
+ }[];
1775
+ createdAt: string;
1776
+ endTime: string;
1777
+ id: number;
1778
+ startTime: string;
1779
+ title: string;
1780
+ uid: string;
1781
+ } & {
1782
+ readonly [key: string]: Encodable;
1783
+ } & {
1784
+ triggerEvent: "MEETING_STARTED";
1785
+ }, unknown>>;
1786
+ };
1787
+ readonly "calcom.outOfOffice.created": {
1788
+ configSchema: z.ZodObject<{
1789
+ scope: z.ZodOptional<z.ZodObject<{
1790
+ type: z.ZodLiteral<"user">;
1791
+ }, z.core.$strip>>;
1792
+ }, z.core.$strip>;
1793
+ eventSchema: z.ZodType<{
1794
+ readonly [key: string]: Encodable;
1795
+ createdAt: string;
1796
+ payload: CalcomPayload<"OOO_CREATED">;
1797
+ triggerEvent: "OOO_CREATED";
1798
+ }, unknown, z.core.$ZodTypeInternals<{
1799
+ readonly [key: string]: Encodable;
1800
+ createdAt: string;
1801
+ payload: CalcomPayload<"OOO_CREATED">;
1802
+ triggerEvent: "OOO_CREATED";
1803
+ }, unknown>>;
1804
+ };
1805
+ readonly "calcom.recording.ready": {
1806
+ configSchema: z.ZodObject<{
1807
+ scope: z.ZodOptional<z.ZodObject<{
1808
+ type: z.ZodLiteral<"user">;
1809
+ }, z.core.$strip>>;
1810
+ }, z.core.$strip>;
1811
+ eventSchema: z.ZodType<{
1812
+ readonly [key: string]: Encodable;
1813
+ createdAt: string;
1814
+ payload: CalcomPayload<"RECORDING_READY">;
1815
+ triggerEvent: "RECORDING_READY";
1816
+ }, unknown, z.core.$ZodTypeInternals<{
1817
+ readonly [key: string]: Encodable;
1818
+ createdAt: string;
1819
+ payload: CalcomPayload<"RECORDING_READY">;
1820
+ triggerEvent: "RECORDING_READY";
1821
+ }, unknown>>;
1822
+ };
1823
+ readonly "calcom.recording.transcriptionGenerated": {
1824
+ configSchema: z.ZodObject<{
1825
+ scope: z.ZodOptional<z.ZodObject<{
1826
+ type: z.ZodLiteral<"user">;
1827
+ }, z.core.$strip>>;
1828
+ }, z.core.$strip>;
1829
+ eventSchema: z.ZodType<{
1830
+ readonly [key: string]: Encodable;
1831
+ createdAt: string;
1832
+ payload: CalcomPayload<"RECORDING_TRANSCRIPTION_GENERATED">;
1833
+ triggerEvent: "RECORDING_TRANSCRIPTION_GENERATED";
1834
+ }, unknown, z.core.$ZodTypeInternals<{
1835
+ readonly [key: string]: Encodable;
1836
+ createdAt: string;
1837
+ payload: CalcomPayload<"RECORDING_TRANSCRIPTION_GENERATED">;
1838
+ triggerEvent: "RECORDING_TRANSCRIPTION_GENERATED";
1839
+ }, unknown>>;
1840
+ };
1841
+ readonly "calcom.routingForm.fallbackHit": {
1842
+ configSchema: z.ZodObject<{
1843
+ scope: z.ZodOptional<z.ZodObject<{
1844
+ type: z.ZodLiteral<"user">;
1845
+ }, z.core.$strip>>;
1846
+ }, z.core.$strip>;
1847
+ eventSchema: z.ZodType<{
1848
+ readonly [key: string]: Encodable;
1849
+ createdAt: string;
1850
+ payload: CalcomPayload<"ROUTING_FORM_FALLBACK_HIT">;
1851
+ triggerEvent: "ROUTING_FORM_FALLBACK_HIT";
1852
+ }, unknown, z.core.$ZodTypeInternals<{
1853
+ readonly [key: string]: Encodable;
1854
+ createdAt: string;
1855
+ payload: CalcomPayload<"ROUTING_FORM_FALLBACK_HIT">;
1856
+ triggerEvent: "ROUTING_FORM_FALLBACK_HIT";
1857
+ }, unknown>>;
1858
+ };
1859
+ readonly "calcom.wrongAssignmentReported": {
1860
+ configSchema: z.ZodObject<{
1861
+ scope: z.ZodOptional<z.ZodObject<{
1862
+ type: z.ZodLiteral<"user">;
1863
+ }, z.core.$strip>>;
1864
+ }, z.core.$strip>;
1865
+ eventSchema: z.ZodType<{
1866
+ readonly [key: string]: Encodable;
1867
+ createdAt: string;
1868
+ payload: CalcomPayload<"WRONG_ASSIGNMENT_REPORT">;
1869
+ triggerEvent: "WRONG_ASSIGNMENT_REPORT";
1870
+ }, unknown, z.core.$ZodTypeInternals<{
1871
+ readonly [key: string]: Encodable;
1872
+ createdAt: string;
1873
+ payload: CalcomPayload<"WRONG_ASSIGNMENT_REPORT">;
1874
+ triggerEvent: "WRONG_ASSIGNMENT_REPORT";
1875
+ }, unknown>>;
1876
+ };
820
1877
  };
821
- export declare const calcomTriggerContracts: CalcomSemanticContracts;
822
1878
  export {};