@wix/auto_sdk_calendar_events 1.0.39 → 1.0.40

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.
@@ -623,6 +623,12 @@ interface CommonIdentificationDataIdOneOf {
623
623
  */
624
624
  wixUserId?: string;
625
625
  }
626
+ declare enum IdentityType {
627
+ UNKNOWN = "UNKNOWN",
628
+ WIX_USER = "WIX_USER"
629
+ }
630
+ /** @enumType */
631
+ type IdentityTypeWithLiterals = IdentityType | 'UNKNOWN' | 'WIX_USER';
626
632
  interface ExtendedFields {
627
633
  /**
628
634
  * Extended field data. Each key corresponds to the namespace of the app that created the extended fields.
@@ -634,6 +640,16 @@ interface ExtendedFields {
634
640
  */
635
641
  namespaces?: Record<string, Record<string, any>>;
636
642
  }
643
+ interface RecurringEventSplit {
644
+ /** Original `MASTER` event that was shortened. */
645
+ updatedRecurringEventEndingBeforeSplit?: Event;
646
+ /** New `MASTER` event starting with the first event after the split date. */
647
+ newRecurringEventStartingFromSplit?: Event;
648
+ }
649
+ interface EventCancelled {
650
+ /** Canceled event. */
651
+ event?: Event;
652
+ }
637
653
  interface ParticipantNotification {
638
654
  /**
639
655
  * Whether to notify the participants about changes made to the schedule or event.
@@ -651,6 +667,170 @@ interface ParticipantNotification {
651
667
  */
652
668
  message?: string | null;
653
669
  }
670
+ /** Deprecated. Use EventUpdated instead, which includes the modified fields and additional metadata. */
671
+ interface EventUpdatedWithMetadata {
672
+ /** The updated event. */
673
+ event?: Event;
674
+ /**
675
+ * Information about whether participants of the updated event are notified and
676
+ * the message they receive.
677
+ */
678
+ participantNotification?: ParticipantNotification;
679
+ }
680
+ interface UpdateScheduleWithFixedBusinessResourceIdRequest {
681
+ /** @format GUID */
682
+ metaSiteId?: string;
683
+ /** @format GUID */
684
+ currentBusinessResourceId?: string;
685
+ migrateBusinessConferenceId?: boolean;
686
+ }
687
+ interface UpdateScheduleWithFixedBusinessResourceIdResponse {
688
+ }
689
+ interface UpdateEventsWithFixedBusinessResourceIdRequest {
690
+ /** @format GUID */
691
+ metaSiteId?: string;
692
+ /** @format GUID */
693
+ currentBusinessResourceId?: string;
694
+ migrateBusinessConferenceId?: boolean;
695
+ }
696
+ interface UpdateEventsWithFixedBusinessResourceIdResponse {
697
+ }
698
+ interface DomainEvent extends DomainEventBodyOneOf {
699
+ createdEvent?: EntityCreatedEvent;
700
+ updatedEvent?: EntityUpdatedEvent;
701
+ deletedEvent?: EntityDeletedEvent;
702
+ actionEvent?: ActionEvent;
703
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
704
+ id?: string;
705
+ /**
706
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
707
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
708
+ */
709
+ entityFqdn?: string;
710
+ /**
711
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
712
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
713
+ */
714
+ slug?: string;
715
+ /** ID of the entity associated with the event. */
716
+ entityId?: string;
717
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
718
+ eventTime?: Date | null;
719
+ /**
720
+ * Whether the event was triggered as a result of a privacy regulation application
721
+ * (for example, GDPR).
722
+ */
723
+ triggeredByAnonymizeRequest?: boolean | null;
724
+ /** If present, indicates the action that triggered the event. */
725
+ originatedFrom?: string | null;
726
+ /**
727
+ * A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
728
+ * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
729
+ */
730
+ entityEventSequence?: string | null;
731
+ }
732
+ /** @oneof */
733
+ interface DomainEventBodyOneOf {
734
+ createdEvent?: EntityCreatedEvent;
735
+ updatedEvent?: EntityUpdatedEvent;
736
+ deletedEvent?: EntityDeletedEvent;
737
+ actionEvent?: ActionEvent;
738
+ }
739
+ interface EntityCreatedEvent {
740
+ entityAsJson?: string;
741
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
742
+ restoreInfo?: RestoreInfo;
743
+ }
744
+ interface RestoreInfo {
745
+ deletedDate?: Date | null;
746
+ }
747
+ interface EntityUpdatedEvent {
748
+ /**
749
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
750
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
751
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
752
+ */
753
+ currentEntityAsJson?: string;
754
+ }
755
+ interface EntityDeletedEvent {
756
+ /** Entity that was deleted. */
757
+ deletedEntityAsJson?: string | null;
758
+ }
759
+ interface ActionEvent {
760
+ bodyAsJson?: string;
761
+ }
762
+ interface MessageEnvelope {
763
+ /**
764
+ * App instance ID.
765
+ * @format GUID
766
+ */
767
+ instanceId?: string | null;
768
+ /**
769
+ * Event type.
770
+ * @maxLength 150
771
+ */
772
+ eventType?: string;
773
+ /** The identification type and identity data. */
774
+ identity?: IdentificationData;
775
+ /** Stringify payload. */
776
+ data?: string;
777
+ }
778
+ interface IdentificationData extends IdentificationDataIdOneOf {
779
+ /**
780
+ * ID of a site visitor that has not logged in to the site.
781
+ * @format GUID
782
+ */
783
+ anonymousVisitorId?: string;
784
+ /**
785
+ * ID of a site visitor that has logged in to the site.
786
+ * @format GUID
787
+ */
788
+ memberId?: string;
789
+ /**
790
+ * ID of a Wix user (site owner, contributor, etc.).
791
+ * @format GUID
792
+ */
793
+ wixUserId?: string;
794
+ /**
795
+ * ID of an app.
796
+ * @format GUID
797
+ */
798
+ appId?: string;
799
+ /** @readonly */
800
+ identityType?: WebhookIdentityTypeWithLiterals;
801
+ }
802
+ /** @oneof */
803
+ interface IdentificationDataIdOneOf {
804
+ /**
805
+ * ID of a site visitor that has not logged in to the site.
806
+ * @format GUID
807
+ */
808
+ anonymousVisitorId?: string;
809
+ /**
810
+ * ID of a site visitor that has logged in to the site.
811
+ * @format GUID
812
+ */
813
+ memberId?: string;
814
+ /**
815
+ * ID of a Wix user (site owner, contributor, etc.).
816
+ * @format GUID
817
+ */
818
+ wixUserId?: string;
819
+ /**
820
+ * ID of an app.
821
+ * @format GUID
822
+ */
823
+ appId?: string;
824
+ }
825
+ declare enum WebhookIdentityType {
826
+ UNKNOWN = "UNKNOWN",
827
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
828
+ MEMBER = "MEMBER",
829
+ WIX_USER = "WIX_USER",
830
+ APP = "APP"
831
+ }
832
+ /** @enumType */
833
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
654
834
  interface ListEventsByContactIdRequest {
655
835
  /**
656
836
  * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
@@ -832,6 +1012,294 @@ interface ListEventsByMemberIdResponse {
832
1012
  /** Paging metadata. */
833
1013
  pagingMetadata?: CommonCursorPagingMetadata;
834
1014
  }
1015
+ /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
1016
+ interface SitePropertiesNotification {
1017
+ /** The site ID for which this update notification applies. */
1018
+ metasiteId?: string;
1019
+ /** The actual update event. */
1020
+ event?: SitePropertiesEvent;
1021
+ /**
1022
+ * A convenience set of mappings from the MetaSite ID to its constituent services.
1023
+ * @maxSize 500
1024
+ */
1025
+ translations?: Translation[];
1026
+ /** Context of the notification */
1027
+ changeContext?: ChangeContext;
1028
+ }
1029
+ /** The actual update event for a particular notification. */
1030
+ interface SitePropertiesEvent {
1031
+ /** Version of the site's properties represented by this update. */
1032
+ version?: number;
1033
+ /** Set of properties that were updated - corresponds to the fields in "properties". */
1034
+ fields?: string[];
1035
+ /** Updated properties. */
1036
+ properties?: Properties;
1037
+ }
1038
+ interface Properties {
1039
+ /** Site categories. */
1040
+ categories?: Categories;
1041
+ /** Site locale. */
1042
+ locale?: Locale;
1043
+ /**
1044
+ * Site language.
1045
+ *
1046
+ * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
1047
+ */
1048
+ language?: string | null;
1049
+ /**
1050
+ * Site currency format used to bill customers.
1051
+ *
1052
+ * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
1053
+ */
1054
+ paymentCurrency?: string | null;
1055
+ /** Timezone in `America/New_York` format. */
1056
+ timeZone?: string | null;
1057
+ /** Email address. */
1058
+ email?: string | null;
1059
+ /** Phone number. */
1060
+ phone?: string | null;
1061
+ /** Fax number. */
1062
+ fax?: string | null;
1063
+ /** Address. */
1064
+ address?: Address;
1065
+ /** Site display name. */
1066
+ siteDisplayName?: string | null;
1067
+ /** Business name. */
1068
+ businessName?: string | null;
1069
+ /** Path to the site's logo in Wix Media (without Wix Media base URL). */
1070
+ logo?: string | null;
1071
+ /** Site description. */
1072
+ description?: string | null;
1073
+ /**
1074
+ * Business schedule. Regular and exceptional time periods when the business is open or the service is available.
1075
+ *
1076
+ * __Note:__ Not supported by Wix Bookings.
1077
+ */
1078
+ businessSchedule?: BusinessSchedule;
1079
+ /** Supported languages of a site and the primary language. */
1080
+ multilingual?: Multilingual;
1081
+ /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
1082
+ consentPolicy?: ConsentPolicy;
1083
+ /**
1084
+ * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
1085
+ *
1086
+ * Site business type.
1087
+ */
1088
+ businessConfig?: string | null;
1089
+ /** External site URL that uses Wix as its headless business solution. */
1090
+ externalSiteUrl?: string | null;
1091
+ /** Track clicks analytics. */
1092
+ trackClicksAnalytics?: boolean;
1093
+ }
1094
+ interface Categories {
1095
+ /** Primary site category. */
1096
+ primary?: string;
1097
+ /**
1098
+ * Secondary site category.
1099
+ * @maxSize 50
1100
+ */
1101
+ secondary?: string[];
1102
+ /** Business Term Id */
1103
+ businessTermId?: string | null;
1104
+ }
1105
+ interface Locale {
1106
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
1107
+ languageCode?: string;
1108
+ /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
1109
+ country?: string;
1110
+ }
1111
+ interface Address {
1112
+ /** Street name. */
1113
+ street?: string;
1114
+ /** City name. */
1115
+ city?: string;
1116
+ /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
1117
+ country?: string;
1118
+ /** State. */
1119
+ state?: string;
1120
+ /**
1121
+ * Zip or postal code.
1122
+ * @maxLength 20
1123
+ */
1124
+ zip?: string;
1125
+ /** Extra information to be displayed in the address. */
1126
+ hint?: AddressHint;
1127
+ /** Whether this address represents a physical location. */
1128
+ isPhysical?: boolean;
1129
+ /** Google-formatted version of this address. */
1130
+ googleFormattedAddress?: string;
1131
+ /** Street number. */
1132
+ streetNumber?: string;
1133
+ /** Apartment number. */
1134
+ apartmentNumber?: string;
1135
+ /** Geographic coordinates of location. */
1136
+ coordinates?: GeoCoordinates;
1137
+ }
1138
+ /**
1139
+ * Extra information on displayed addresses.
1140
+ * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
1141
+ * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
1142
+ */
1143
+ interface AddressHint {
1144
+ /** Extra text displayed next to, or instead of, the actual address. */
1145
+ text?: string;
1146
+ /** Where the extra text should be displayed. */
1147
+ placement?: PlacementTypeWithLiterals;
1148
+ }
1149
+ /** Where the extra text should be displayed: before, after or instead of the actual address. */
1150
+ declare enum PlacementType {
1151
+ BEFORE = "BEFORE",
1152
+ AFTER = "AFTER",
1153
+ REPLACE = "REPLACE"
1154
+ }
1155
+ /** @enumType */
1156
+ type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
1157
+ /** Geocoordinates for a particular address. */
1158
+ interface GeoCoordinates {
1159
+ /** Latitude of the location. Must be between -90 and 90. */
1160
+ latitude?: number;
1161
+ /** Longitude of the location. Must be between -180 and 180. */
1162
+ longitude?: number;
1163
+ }
1164
+ /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
1165
+ interface BusinessSchedule {
1166
+ /**
1167
+ * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
1168
+ * @maxSize 100
1169
+ */
1170
+ periods?: TimePeriod[];
1171
+ /**
1172
+ * Exceptions to the business's regular hours. The business can be open or closed during the exception.
1173
+ * @maxSize 100
1174
+ */
1175
+ specialHourPeriod?: SpecialHourPeriod[];
1176
+ }
1177
+ /** Weekly recurring time periods when the business is regularly open or the service is available. */
1178
+ interface TimePeriod {
1179
+ /** Day of the week the period starts on. */
1180
+ openDay?: DayOfWeekWithLiterals;
1181
+ /**
1182
+ * Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
1183
+ * midnight at the end of the specified day.
1184
+ */
1185
+ openTime?: string;
1186
+ /** Day of the week the period ends on. */
1187
+ closeDay?: DayOfWeekWithLiterals;
1188
+ /**
1189
+ * Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
1190
+ * midnight at the end of the specified day.
1191
+ *
1192
+ * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
1193
+ */
1194
+ closeTime?: string;
1195
+ }
1196
+ /** Enumerates the days of the week. */
1197
+ declare enum DayOfWeek {
1198
+ MONDAY = "MONDAY",
1199
+ TUESDAY = "TUESDAY",
1200
+ WEDNESDAY = "WEDNESDAY",
1201
+ THURSDAY = "THURSDAY",
1202
+ FRIDAY = "FRIDAY",
1203
+ SATURDAY = "SATURDAY",
1204
+ SUNDAY = "SUNDAY"
1205
+ }
1206
+ /** @enumType */
1207
+ type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
1208
+ /** Exception to the business's regular hours. The business can be open or closed during the exception. */
1209
+ interface SpecialHourPeriod {
1210
+ /** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
1211
+ startDate?: string;
1212
+ /** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
1213
+ endDate?: string;
1214
+ /**
1215
+ * Whether the business is closed (or the service is not available) during the exception.
1216
+ *
1217
+ * Default: `true`.
1218
+ */
1219
+ isClosed?: boolean;
1220
+ /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
1221
+ comment?: string;
1222
+ }
1223
+ interface Multilingual {
1224
+ /**
1225
+ * Supported languages list.
1226
+ * @maxSize 200
1227
+ */
1228
+ supportedLanguages?: SupportedLanguage[];
1229
+ /** Whether to redirect to user language. */
1230
+ autoRedirect?: boolean;
1231
+ }
1232
+ interface SupportedLanguage {
1233
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
1234
+ languageCode?: string;
1235
+ /** Locale. */
1236
+ locale?: Locale;
1237
+ /** Whether the supported language is the primary language for the site. */
1238
+ isPrimary?: boolean;
1239
+ /** Language icon. */
1240
+ countryCode?: string;
1241
+ /** How the language will be resolved. For internal use. */
1242
+ resolutionMethod?: ResolutionMethodWithLiterals;
1243
+ /** Whether the supported language is the primary language for site visitors. */
1244
+ isVisitorPrimary?: boolean | null;
1245
+ }
1246
+ declare enum ResolutionMethod {
1247
+ QUERY_PARAM = "QUERY_PARAM",
1248
+ SUBDOMAIN = "SUBDOMAIN",
1249
+ SUBDIRECTORY = "SUBDIRECTORY"
1250
+ }
1251
+ /** @enumType */
1252
+ type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
1253
+ interface ConsentPolicy {
1254
+ /** Whether the site uses cookies that are essential to site operation. Always `true`. */
1255
+ essential?: boolean | null;
1256
+ /** Whether the site uses cookies that affect site performance and other functional measurements. */
1257
+ functional?: boolean | null;
1258
+ /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
1259
+ analytics?: boolean | null;
1260
+ /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
1261
+ advertising?: boolean | null;
1262
+ /** CCPA compliance flag. */
1263
+ dataToThirdParty?: boolean | null;
1264
+ }
1265
+ /** A single mapping from the MetaSite ID to a particular service. */
1266
+ interface Translation {
1267
+ /** The service type. */
1268
+ serviceType?: string;
1269
+ /** The application definition ID; this only applies to services of type ThirdPartyApps. */
1270
+ appDefId?: string;
1271
+ /** The instance ID of the service. */
1272
+ instanceId?: string;
1273
+ }
1274
+ interface ChangeContext extends ChangeContextPayloadOneOf {
1275
+ /** Properties were updated. */
1276
+ propertiesChange?: PropertiesChange;
1277
+ /** Default properties were created on site creation. */
1278
+ siteCreated?: SiteCreated;
1279
+ /** Properties were cloned on site cloning. */
1280
+ siteCloned?: SiteCloned;
1281
+ }
1282
+ /** @oneof */
1283
+ interface ChangeContextPayloadOneOf {
1284
+ /** Properties were updated. */
1285
+ propertiesChange?: PropertiesChange;
1286
+ /** Default properties were created on site creation. */
1287
+ siteCreated?: SiteCreated;
1288
+ /** Properties were cloned on site cloning. */
1289
+ siteCloned?: SiteCloned;
1290
+ }
1291
+ interface PropertiesChange {
1292
+ }
1293
+ interface SiteCreated {
1294
+ /** Origin template site id. */
1295
+ originTemplateId?: string | null;
1296
+ }
1297
+ interface SiteCloned {
1298
+ /** Origin site id. */
1299
+ originMetaSiteId?: string;
1300
+ }
1301
+ interface Empty {
1302
+ }
835
1303
  interface GetEventRequest {
836
1304
  /**
837
1305
  * ID of the event to retrieve.
@@ -1048,6 +1516,40 @@ interface Cursors {
1048
1516
  /** Cursor pointing to next page in the list of results. */
1049
1517
  next?: string | null;
1050
1518
  }
1519
+ interface ListRecurringEventInstancesHistoryRequest {
1520
+ /**
1521
+ * The ID of the recurring event.
1522
+ * Required, unless `cursorPaging` is provided.
1523
+ * @minLength 64
1524
+ * @maxLength 64
1525
+ */
1526
+ recurringEventId?: string | null;
1527
+ /**
1528
+ * The revision of the recurring event.
1529
+ * Required, unless `cursorPaging` is provided.
1530
+ */
1531
+ revision?: string | null;
1532
+ /**
1533
+ * Inclusive start date for which events are returned, in ISO-8601 format.
1534
+ * Events that begin at or after the `fromDate` are included in the results.
1535
+ * Required, unless `cursorPaging` is provided.
1536
+ */
1537
+ fromDate?: Date | null;
1538
+ /**
1539
+ * Exclusive end date for which events are returned, in ISO-8601 format.
1540
+ * Events that begin before the `toDate` are included in the results.
1541
+ * Required, unless `cursorPaging` is provided.
1542
+ */
1543
+ toDate?: Date | null;
1544
+ /** Optional cursor pointing to the next page of events. */
1545
+ cursorPaging?: CursorPaging;
1546
+ }
1547
+ interface ListRecurringEventInstancesHistoryResponse {
1548
+ /** The recurring event instances. */
1549
+ recurringEventInstances?: Event[];
1550
+ /** Paging metadata. */
1551
+ pagingMetadata?: CursorPagingMetadata;
1552
+ }
1051
1553
  interface CreateEventRequest {
1052
1554
  /** Event to create. */
1053
1555
  event: Event;
@@ -1199,6 +1701,23 @@ interface BulkUpdateEventResponse {
1199
1701
  /** Total successes and failures. */
1200
1702
  bulkActionMetadata?: BulkActionMetadata;
1201
1703
  }
1704
+ interface UpdateEventParticipantsRequest {
1705
+ /**
1706
+ * ID of the event to update.
1707
+ *
1708
+ * Min: 36 characters
1709
+ * Max: 250 characters
1710
+ * @minLength 36
1711
+ * @maxLength 250
1712
+ */
1713
+ eventId?: string | null;
1714
+ /** The participants to update. */
1715
+ participants?: Participants;
1716
+ }
1717
+ interface UpdateEventParticipantsResponse {
1718
+ /** Updated event. */
1719
+ event?: Event;
1720
+ }
1202
1721
  interface RestoreEventDefaultsRequest {
1203
1722
  /**
1204
1723
  * ID of the event for which to restore default values.
@@ -1324,6 +1843,18 @@ interface BulkCancelEventResponse {
1324
1843
  /** Total successes and failures. */
1325
1844
  bulkActionMetadata?: BulkActionMetadata;
1326
1845
  }
1846
+ /** @docsIgnore */
1847
+ type CancelEventApplicationErrors = {
1848
+ code?: 'EVENT_ALREADY_CANCELLED';
1849
+ description?: string;
1850
+ data?: Record<string, any>;
1851
+ };
1852
+ /** @docsIgnore */
1853
+ type BulkCancelEventApplicationErrors = {
1854
+ code?: 'EVENT_ALREADY_CANCELLED';
1855
+ description?: string;
1856
+ data?: Record<string, any>;
1857
+ };
1327
1858
 
1328
1859
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
1329
1860
  getUrl: (context: any) => string;
@@ -1363,4 +1894,4 @@ declare function cancelEvent(): __PublicMethodMetaInfo<'POST', {
1363
1894
  }, CancelEventRequest$1, CancelEventRequest, CancelEventResponse$1, CancelEventResponse>;
1364
1895
  declare function bulkCancelEvent(): __PublicMethodMetaInfo<'POST', {}, BulkCancelEventRequest$1, BulkCancelEventRequest, BulkCancelEventResponse$1, BulkCancelEventResponse>;
1365
1896
 
1366
- export { type __PublicMethodMetaInfo, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };
1897
+ export { type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type ApplicationError as ApplicationErrorOriginal, type BulkActionMetadata as BulkActionMetadataOriginal, type BulkCancelEventApplicationErrors as BulkCancelEventApplicationErrorsOriginal, type BulkCancelEventRequest as BulkCancelEventRequestOriginal, type BulkCancelEventResponse as BulkCancelEventResponseOriginal, type BulkCreateEventRequest as BulkCreateEventRequestOriginal, type BulkCreateEventResponse as BulkCreateEventResponseOriginal, type BulkEventResult as BulkEventResultOriginal, type BulkUpdateEventRequestMaskedEvent as BulkUpdateEventRequestMaskedEventOriginal, type BulkUpdateEventRequest as BulkUpdateEventRequestOriginal, type BulkUpdateEventResponse as BulkUpdateEventResponseOriginal, type BusinessSchedule as BusinessScheduleOriginal, type CancelEventApplicationErrors as CancelEventApplicationErrorsOriginal, type CancelEventRequest as CancelEventRequestOriginal, type CancelEventResponse as CancelEventResponseOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type CommonCursorPagingMetadata as CommonCursorPagingMetadataOriginal, type CommonCursorPaging as CommonCursorPagingOriginal, type CommonCursors as CommonCursorsOriginal, type CommonIdentificationDataIdOneOf as CommonIdentificationDataIdOneOfOriginal, type CommonIdentificationData as CommonIdentificationDataOriginal, type ConferencingDetails as ConferencingDetailsOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CreateEventRequest as CreateEventRequestOriginal, type CreateEventResponse as CreateEventResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, Day as DayOriginal, type DayWithLiterals as DayWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type EventCancelled as EventCancelledOriginal, type Event as EventOriginal, type EventUpdatedWithMetadata as EventUpdatedWithMetadataOriginal, type ExtendedFields as ExtendedFieldsOriginal, Field as FieldOriginal, type FieldWithLiterals as FieldWithLiteralsOriginal, Frequency as FrequencyOriginal, type FrequencyWithLiterals as FrequencyWithLiteralsOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetEventRequest as GetEventRequestOriginal, type GetEventResponse as GetEventResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, IdentityType as IdentityTypeOriginal, type IdentityTypeWithLiterals as IdentityTypeWithLiteralsOriginal, type ItemMetadata as ItemMetadataOriginal, type ListEventsByContactIdRequest as ListEventsByContactIdRequestOriginal, type ListEventsByContactIdResponse as ListEventsByContactIdResponseOriginal, type ListEventsByMemberIdRequest as ListEventsByMemberIdRequestOriginal, type ListEventsByMemberIdResponse as ListEventsByMemberIdResponseOriginal, type ListEventsRequest as ListEventsRequestOriginal, type ListEventsResponse as ListEventsResponseOriginal, type ListRecurringEventInstancesHistoryRequest as ListRecurringEventInstancesHistoryRequestOriginal, type ListRecurringEventInstancesHistoryResponse as ListRecurringEventInstancesHistoryResponseOriginal, type Locale as LocaleOriginal, type Location as LocationOriginal, LocationType as LocationTypeOriginal, type LocationTypeWithLiterals as LocationTypeWithLiteralsOriginal, type MaskedEvent as MaskedEventOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Multilingual as MultilingualOriginal, type ParticipantNotification as ParticipantNotificationOriginal, type Participant as ParticipantOriginal, type Participants as ParticipantsOriginal, ParticipantsStatus as ParticipantsStatusOriginal, type ParticipantsStatusWithLiterals as ParticipantsStatusWithLiteralsOriginal, type Permission as PermissionOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type QueryEventsRequest as QueryEventsRequestOriginal, type QueryEventsResponse as QueryEventsResponseOriginal, type RecurrenceRule as RecurrenceRuleOriginal, RecurrenceType as RecurrenceTypeOriginal, type RecurrenceTypeWithLiterals as RecurrenceTypeWithLiteralsOriginal, type RecurringEventSplit as RecurringEventSplitOriginal, RequestedFields as RequestedFieldsOriginal, type RequestedFieldsWithLiterals as RequestedFieldsWithLiteralsOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type Resource as ResourceOriginal, type RestoreEventDefaultsRequest as RestoreEventDefaultsRequestOriginal, type RestoreEventDefaultsResponse as RestoreEventDefaultsResponseOriginal, type RestoreInfo as RestoreInfoOriginal, Role as RoleOriginal, type RoleWithLiterals as RoleWithLiteralsOriginal, type SiteCloned as SiteClonedOriginal, type SiteCreated as SiteCreatedOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type SplitRecurringEventRequest as SplitRecurringEventRequestOriginal, type SplitRecurringEventResponse as SplitRecurringEventResponseOriginal, Status as StatusOriginal, type StatusWithLiterals as StatusWithLiteralsOriginal, type SupportedLanguage as SupportedLanguageOriginal, type TimePeriod as TimePeriodOriginal, type Translation as TranslationOriginal, Transparency as TransparencyOriginal, type TransparencyWithLiterals as TransparencyWithLiteralsOriginal, Type as TypeOriginal, type TypeWithLiterals as TypeWithLiteralsOriginal, type UpdateEventParticipantsRequest as UpdateEventParticipantsRequestOriginal, type UpdateEventParticipantsResponse as UpdateEventParticipantsResponseOriginal, type UpdateEventRequest as UpdateEventRequestOriginal, type UpdateEventResponse as UpdateEventResponseOriginal, type UpdateEventsWithFixedBusinessResourceIdRequest as UpdateEventsWithFixedBusinessResourceIdRequestOriginal, type UpdateEventsWithFixedBusinessResourceIdResponse as UpdateEventsWithFixedBusinessResourceIdResponseOriginal, type UpdateScheduleWithFixedBusinessResourceIdRequest as UpdateScheduleWithFixedBusinessResourceIdRequestOriginal, type UpdateScheduleWithFixedBusinessResourceIdResponse as UpdateScheduleWithFixedBusinessResourceIdResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type ZonedDate as ZonedDateOriginal, type __PublicMethodMetaInfo, bulkCancelEvent, bulkCreateEvent, bulkUpdateEvent, cancelEvent, createEvent, getEvent, listEvents, listEventsByContactId, listEventsByMemberId, queryEvents, restoreEventDefaults, splitRecurringEvent, updateEvent };