@wix/auto_sdk_calendar_events 1.0.29 → 1.0.31

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.
@@ -669,158 +669,6 @@ interface EventUpdatedWithMetadata {
669
669
  */
670
670
  participantNotification?: ParticipantNotification;
671
671
  }
672
- interface UpdateScheduleWithFixedBusinessResourceIdRequest {
673
- /** @format GUID */
674
- metaSiteId?: string;
675
- /** @format GUID */
676
- currentBusinessResourceId?: string;
677
- migrateBusinessConferenceId?: boolean;
678
- }
679
- interface UpdateScheduleWithFixedBusinessResourceIdResponse {
680
- }
681
- interface UpdateEventsWithFixedBusinessResourceIdRequest {
682
- /** @format GUID */
683
- metaSiteId?: string;
684
- /** @format GUID */
685
- currentBusinessResourceId?: string;
686
- migrateBusinessConferenceId?: boolean;
687
- }
688
- interface UpdateEventsWithFixedBusinessResourceIdResponse {
689
- }
690
- interface DomainEvent extends DomainEventBodyOneOf {
691
- createdEvent?: EntityCreatedEvent;
692
- updatedEvent?: EntityUpdatedEvent;
693
- deletedEvent?: EntityDeletedEvent;
694
- actionEvent?: ActionEvent;
695
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
696
- _id?: string;
697
- /**
698
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
699
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
700
- */
701
- entityFqdn?: string;
702
- /**
703
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
704
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
705
- */
706
- slug?: string;
707
- /** ID of the entity associated with the event. */
708
- entityId?: string;
709
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
710
- eventTime?: Date | null;
711
- /**
712
- * Whether the event was triggered as a result of a privacy regulation application
713
- * (for example, GDPR).
714
- */
715
- triggeredByAnonymizeRequest?: boolean | null;
716
- /** If present, indicates the action that triggered the event. */
717
- originatedFrom?: string | null;
718
- /**
719
- * 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.
720
- * 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.
721
- */
722
- entityEventSequence?: string | null;
723
- }
724
- /** @oneof */
725
- interface DomainEventBodyOneOf {
726
- createdEvent?: EntityCreatedEvent;
727
- updatedEvent?: EntityUpdatedEvent;
728
- deletedEvent?: EntityDeletedEvent;
729
- actionEvent?: ActionEvent;
730
- }
731
- interface EntityCreatedEvent {
732
- entity?: string;
733
- }
734
- interface RestoreInfo {
735
- deletedDate?: Date | null;
736
- }
737
- interface EntityUpdatedEvent {
738
- /**
739
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
740
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
741
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
742
- */
743
- currentEntity?: string;
744
- }
745
- interface EntityDeletedEvent {
746
- /** Entity that was deleted. */
747
- deletedEntity?: string | null;
748
- }
749
- interface ActionEvent {
750
- body?: string;
751
- }
752
- interface MessageEnvelope {
753
- /**
754
- * App instance ID.
755
- * @format GUID
756
- */
757
- instanceId?: string | null;
758
- /**
759
- * Event type.
760
- * @maxLength 150
761
- */
762
- eventType?: string;
763
- /** The identification type and identity data. */
764
- identity?: IdentificationData;
765
- /** Stringify payload. */
766
- data?: string;
767
- }
768
- interface IdentificationData extends IdentificationDataIdOneOf {
769
- /**
770
- * ID of a site visitor that has not logged in to the site.
771
- * @format GUID
772
- */
773
- anonymousVisitorId?: string;
774
- /**
775
- * ID of a site visitor that has logged in to the site.
776
- * @format GUID
777
- */
778
- memberId?: string;
779
- /**
780
- * ID of a Wix user (site owner, contributor, etc.).
781
- * @format GUID
782
- */
783
- wixUserId?: string;
784
- /**
785
- * ID of an app.
786
- * @format GUID
787
- */
788
- appId?: string;
789
- /** @readonly */
790
- identityType?: WebhookIdentityTypeWithLiterals;
791
- }
792
- /** @oneof */
793
- interface IdentificationDataIdOneOf {
794
- /**
795
- * ID of a site visitor that has not logged in to the site.
796
- * @format GUID
797
- */
798
- anonymousVisitorId?: string;
799
- /**
800
- * ID of a site visitor that has logged in to the site.
801
- * @format GUID
802
- */
803
- memberId?: string;
804
- /**
805
- * ID of a Wix user (site owner, contributor, etc.).
806
- * @format GUID
807
- */
808
- wixUserId?: string;
809
- /**
810
- * ID of an app.
811
- * @format GUID
812
- */
813
- appId?: string;
814
- }
815
- declare enum WebhookIdentityType {
816
- UNKNOWN = "UNKNOWN",
817
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
818
- MEMBER = "MEMBER",
819
- WIX_USER = "WIX_USER",
820
- APP = "APP"
821
- }
822
- /** @enumType */
823
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
824
672
  interface ListEventsByContactIdRequest {
825
673
  /**
826
674
  * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
@@ -1261,6 +1109,158 @@ interface SiteCloned {
1261
1109
  }
1262
1110
  interface Empty {
1263
1111
  }
1112
+ interface DomainEvent extends DomainEventBodyOneOf {
1113
+ createdEvent?: EntityCreatedEvent;
1114
+ updatedEvent?: EntityUpdatedEvent;
1115
+ deletedEvent?: EntityDeletedEvent;
1116
+ actionEvent?: ActionEvent;
1117
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1118
+ _id?: string;
1119
+ /**
1120
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1121
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1122
+ */
1123
+ entityFqdn?: string;
1124
+ /**
1125
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1126
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1127
+ */
1128
+ slug?: string;
1129
+ /** ID of the entity associated with the event. */
1130
+ entityId?: string;
1131
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1132
+ eventTime?: Date | null;
1133
+ /**
1134
+ * Whether the event was triggered as a result of a privacy regulation application
1135
+ * (for example, GDPR).
1136
+ */
1137
+ triggeredByAnonymizeRequest?: boolean | null;
1138
+ /** If present, indicates the action that triggered the event. */
1139
+ originatedFrom?: string | null;
1140
+ /**
1141
+ * 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.
1142
+ * 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.
1143
+ */
1144
+ entityEventSequence?: string | null;
1145
+ }
1146
+ /** @oneof */
1147
+ interface DomainEventBodyOneOf {
1148
+ createdEvent?: EntityCreatedEvent;
1149
+ updatedEvent?: EntityUpdatedEvent;
1150
+ deletedEvent?: EntityDeletedEvent;
1151
+ actionEvent?: ActionEvent;
1152
+ }
1153
+ interface EntityCreatedEvent {
1154
+ entity?: string;
1155
+ }
1156
+ interface RestoreInfo {
1157
+ deletedDate?: Date | null;
1158
+ }
1159
+ interface EntityUpdatedEvent {
1160
+ /**
1161
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1162
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1163
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1164
+ */
1165
+ currentEntity?: string;
1166
+ }
1167
+ interface EntityDeletedEvent {
1168
+ /** Entity that was deleted. */
1169
+ deletedEntity?: string | null;
1170
+ }
1171
+ interface ActionEvent {
1172
+ body?: string;
1173
+ }
1174
+ interface MessageEnvelope {
1175
+ /**
1176
+ * App instance ID.
1177
+ * @format GUID
1178
+ */
1179
+ instanceId?: string | null;
1180
+ /**
1181
+ * Event type.
1182
+ * @maxLength 150
1183
+ */
1184
+ eventType?: string;
1185
+ /** The identification type and identity data. */
1186
+ identity?: IdentificationData;
1187
+ /** Stringify payload. */
1188
+ data?: string;
1189
+ }
1190
+ interface IdentificationData extends IdentificationDataIdOneOf {
1191
+ /**
1192
+ * ID of a site visitor that has not logged in to the site.
1193
+ * @format GUID
1194
+ */
1195
+ anonymousVisitorId?: string;
1196
+ /**
1197
+ * ID of a site visitor that has logged in to the site.
1198
+ * @format GUID
1199
+ */
1200
+ memberId?: string;
1201
+ /**
1202
+ * ID of a Wix user (site owner, contributor, etc.).
1203
+ * @format GUID
1204
+ */
1205
+ wixUserId?: string;
1206
+ /**
1207
+ * ID of an app.
1208
+ * @format GUID
1209
+ */
1210
+ appId?: string;
1211
+ /** @readonly */
1212
+ identityType?: WebhookIdentityTypeWithLiterals;
1213
+ }
1214
+ /** @oneof */
1215
+ interface IdentificationDataIdOneOf {
1216
+ /**
1217
+ * ID of a site visitor that has not logged in to the site.
1218
+ * @format GUID
1219
+ */
1220
+ anonymousVisitorId?: string;
1221
+ /**
1222
+ * ID of a site visitor that has logged in to the site.
1223
+ * @format GUID
1224
+ */
1225
+ memberId?: string;
1226
+ /**
1227
+ * ID of a Wix user (site owner, contributor, etc.).
1228
+ * @format GUID
1229
+ */
1230
+ wixUserId?: string;
1231
+ /**
1232
+ * ID of an app.
1233
+ * @format GUID
1234
+ */
1235
+ appId?: string;
1236
+ }
1237
+ declare enum WebhookIdentityType {
1238
+ UNKNOWN = "UNKNOWN",
1239
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1240
+ MEMBER = "MEMBER",
1241
+ WIX_USER = "WIX_USER",
1242
+ APP = "APP"
1243
+ }
1244
+ /** @enumType */
1245
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1246
+ interface UpdateScheduleWithFixedBusinessResourceIdRequest {
1247
+ /** @format GUID */
1248
+ metaSiteId?: string;
1249
+ /** @format GUID */
1250
+ currentBusinessResourceId?: string;
1251
+ migrateBusinessConferenceId?: boolean;
1252
+ }
1253
+ interface UpdateScheduleWithFixedBusinessResourceIdResponse {
1254
+ }
1255
+ interface UpdateEventsWithFixedBusinessResourceIdRequest {
1256
+ /** @format GUID */
1257
+ metaSiteId?: string;
1258
+ /** @format GUID */
1259
+ currentBusinessResourceId?: string;
1260
+ migrateBusinessConferenceId?: boolean;
1261
+ }
1262
+ interface UpdateEventsWithFixedBusinessResourceIdResponse {
1263
+ }
1264
1264
  interface GetEventRequest {
1265
1265
  /**
1266
1266
  * ID of the event to retrieve.
@@ -2486,4 +2486,4 @@ interface BulkCancelEventOptions {
2486
2486
  timeZone?: string | null;
2487
2487
  }
2488
2488
 
2489
- export { type Participants as $, Type as A, type BulkCreateEventOptions as B, type CreateEventOptions as C, Day as D, type Event as E, type FieldWithLiterals as F, type GetEventOptions as G, Field as H, IdentityType as I, PlacementType as J, DayOfWeek as K, type ListEventsByContactIdOptions as L, type MaskedEvent as M, ResolutionMethod as N, RequestedFields as O, ParticipantsStatus as P, type QueryEventsOptions as Q, type RestoreEventDefaultsOptions as R, type SplitRecurringEventOptions as S, Transparency as T, type UpdateEvent as U, SortOrder as V, WebhookIdentityType as W, type RecurrenceRule as X, type Location as Y, type ZonedDate as Z, type Resource as _, type ListEventsByContactIdResponse as a, type CreateEventRequest as a$, type Participant as a0, type ConferencingDetails as a1, type Permission as a2, type CommonIdentificationData as a3, type CommonIdentificationDataIdOneOf as a4, type ExtendedFields as a5, type RecurringEventSplit as a6, type EventCancelled as a7, type ParticipantNotification as a8, type EventUpdatedWithMetadata as a9, type GeoCoordinates as aA, type BusinessSchedule as aB, type TimePeriod as aC, type SpecialHourPeriod as aD, type Multilingual as aE, type SupportedLanguage as aF, type ConsentPolicy as aG, type Translation as aH, type ChangeContext as aI, type ChangeContextPayloadOneOf as aJ, type PropertiesChange as aK, type SiteCreated as aL, type SiteCloned as aM, type Empty as aN, type GetEventRequest as aO, type GetEventResponse as aP, type ListEventsRequest as aQ, type QueryEventsRequest as aR, type CursorQuery as aS, type CursorQueryPagingMethodOneOf as aT, type Sorting as aU, type CursorPaging as aV, type QueryEventsResponse as aW, type CursorPagingMetadata as aX, type Cursors as aY, type ListRecurringEventInstancesHistoryRequest as aZ, type ListRecurringEventInstancesHistoryResponse as a_, type UpdateScheduleWithFixedBusinessResourceIdRequest as aa, type UpdateScheduleWithFixedBusinessResourceIdResponse as ab, type UpdateEventsWithFixedBusinessResourceIdRequest as ac, type UpdateEventsWithFixedBusinessResourceIdResponse as ad, type DomainEvent as ae, type DomainEventBodyOneOf as af, type EntityCreatedEvent as ag, type RestoreInfo as ah, type EntityUpdatedEvent as ai, type EntityDeletedEvent as aj, type ActionEvent as ak, type MessageEnvelope as al, type IdentificationData as am, type IdentificationDataIdOneOf as an, type ListEventsByContactIdRequest as ao, type CommonCursorPaging as ap, type CommonCursorPagingMetadata as aq, type CommonCursors as ar, type ListEventsByMemberIdRequest as as, type SitePropertiesNotification as at, type SitePropertiesEvent as au, type Properties as av, type Categories as aw, type Locale as ax, type Address as ay, type AddressHint as az, type ListEventsByMemberIdOptions as b, type CreateEventResponse as b0, type BulkCreateEventRequest as b1, type BulkEventResult as b2, type ItemMetadata as b3, type ApplicationError as b4, type BulkActionMetadata as b5, type UpdateEventRequest as b6, type UpdateEventResponse as b7, type BulkUpdateEventRequest as b8, type UpdateEventParticipantsRequest as b9, type UpdateEventParticipantsResponse as ba, type RestoreEventDefaultsRequest as bb, type SplitRecurringEventRequest as bc, type CancelEventRequest as bd, type BulkCancelEventRequest as be, type BaseEventMetadata as bf, type EventMetadata as bg, type EventsQueryResult as bh, type ListEventsByMemberIdResponse as c, type ListEventsOptions as d, type ListEventsResponse as e, type EventsQueryBuilder as f, type BulkCreateEventResponse as g, type UpdateEventOptions as h, type BulkUpdateEventRequestMaskedEvent as i, type BulkUpdateEventOptions as j, type BulkUpdateEventResponse as k, type RestoreEventDefaultsResponse as l, type SplitRecurringEventResponse as m, type CancelEventOptions as n, type CancelEventResponse as o, type BulkCancelEventOptions as p, type BulkCancelEventResponse as q, type EventCancelledEnvelope as r, type EventCreatedEnvelope as s, type EventRecurringSplitEnvelope as t, type EventUpdatedEnvelope as u, Status as v, RecurrenceType as w, Frequency as x, LocationType as y, Role as z };
2489
+ export { type Participants as $, Type as A, type BulkCreateEventOptions as B, type CreateEventOptions as C, Day as D, type Event as E, type FieldWithLiterals as F, type GetEventOptions as G, Field as H, IdentityType as I, PlacementType as J, DayOfWeek as K, type ListEventsByContactIdOptions as L, type MaskedEvent as M, ResolutionMethod as N, RequestedFields as O, ParticipantsStatus as P, type QueryEventsOptions as Q, type RestoreEventDefaultsOptions as R, type SplitRecurringEventOptions as S, Transparency as T, type UpdateEvent as U, SortOrder as V, WebhookIdentityType as W, type RecurrenceRule as X, type Location as Y, type ZonedDate as Z, type Resource as _, type ListEventsByContactIdResponse as a, type CreateEventRequest as a$, type Participant as a0, type ConferencingDetails as a1, type Permission as a2, type CommonIdentificationData as a3, type CommonIdentificationDataIdOneOf as a4, type ExtendedFields as a5, type RecurringEventSplit as a6, type EventCancelled as a7, type ParticipantNotification as a8, type EventUpdatedWithMetadata as a9, type DomainEvent as aA, type DomainEventBodyOneOf as aB, type EntityCreatedEvent as aC, type RestoreInfo as aD, type EntityUpdatedEvent as aE, type EntityDeletedEvent as aF, type ActionEvent as aG, type MessageEnvelope as aH, type IdentificationData as aI, type IdentificationDataIdOneOf as aJ, type UpdateScheduleWithFixedBusinessResourceIdRequest as aK, type UpdateScheduleWithFixedBusinessResourceIdResponse as aL, type UpdateEventsWithFixedBusinessResourceIdRequest as aM, type UpdateEventsWithFixedBusinessResourceIdResponse as aN, type GetEventRequest as aO, type GetEventResponse as aP, type ListEventsRequest as aQ, type QueryEventsRequest as aR, type CursorQuery as aS, type CursorQueryPagingMethodOneOf as aT, type Sorting as aU, type CursorPaging as aV, type QueryEventsResponse as aW, type CursorPagingMetadata as aX, type Cursors as aY, type ListRecurringEventInstancesHistoryRequest as aZ, type ListRecurringEventInstancesHistoryResponse as a_, type ListEventsByContactIdRequest as aa, type CommonCursorPaging as ab, type CommonCursorPagingMetadata as ac, type CommonCursors as ad, type ListEventsByMemberIdRequest as ae, type SitePropertiesNotification as af, type SitePropertiesEvent as ag, type Properties as ah, type Categories as ai, type Locale as aj, type Address as ak, type AddressHint as al, type GeoCoordinates as am, type BusinessSchedule as an, type TimePeriod as ao, type SpecialHourPeriod as ap, type Multilingual as aq, type SupportedLanguage as ar, type ConsentPolicy as as, type Translation as at, type ChangeContext as au, type ChangeContextPayloadOneOf as av, type PropertiesChange as aw, type SiteCreated as ax, type SiteCloned as ay, type Empty as az, type ListEventsByMemberIdOptions as b, type CreateEventResponse as b0, type BulkCreateEventRequest as b1, type BulkEventResult as b2, type ItemMetadata as b3, type ApplicationError as b4, type BulkActionMetadata as b5, type UpdateEventRequest as b6, type UpdateEventResponse as b7, type BulkUpdateEventRequest as b8, type UpdateEventParticipantsRequest as b9, type UpdateEventParticipantsResponse as ba, type RestoreEventDefaultsRequest as bb, type SplitRecurringEventRequest as bc, type CancelEventRequest as bd, type BulkCancelEventRequest as be, type BaseEventMetadata as bf, type EventMetadata as bg, type EventsQueryResult as bh, type ListEventsByMemberIdResponse as c, type ListEventsOptions as d, type ListEventsResponse as e, type EventsQueryBuilder as f, type BulkCreateEventResponse as g, type UpdateEventOptions as h, type BulkUpdateEventRequestMaskedEvent as i, type BulkUpdateEventOptions as j, type BulkUpdateEventResponse as k, type RestoreEventDefaultsResponse as l, type SplitRecurringEventResponse as m, type CancelEventOptions as n, type CancelEventResponse as o, type BulkCancelEventOptions as p, type BulkCancelEventResponse as q, type EventCancelledEnvelope as r, type EventCreatedEnvelope as s, type EventRecurringSplitEnvelope as t, type EventUpdatedEnvelope as u, Status as v, RecurrenceType as w, Frequency as x, LocationType as y, Role as z };
@@ -669,158 +669,6 @@ interface EventUpdatedWithMetadata {
669
669
  */
670
670
  participantNotification?: ParticipantNotification;
671
671
  }
672
- interface UpdateScheduleWithFixedBusinessResourceIdRequest {
673
- /** @format GUID */
674
- metaSiteId?: string;
675
- /** @format GUID */
676
- currentBusinessResourceId?: string;
677
- migrateBusinessConferenceId?: boolean;
678
- }
679
- interface UpdateScheduleWithFixedBusinessResourceIdResponse {
680
- }
681
- interface UpdateEventsWithFixedBusinessResourceIdRequest {
682
- /** @format GUID */
683
- metaSiteId?: string;
684
- /** @format GUID */
685
- currentBusinessResourceId?: string;
686
- migrateBusinessConferenceId?: boolean;
687
- }
688
- interface UpdateEventsWithFixedBusinessResourceIdResponse {
689
- }
690
- interface DomainEvent extends DomainEventBodyOneOf {
691
- createdEvent?: EntityCreatedEvent;
692
- updatedEvent?: EntityUpdatedEvent;
693
- deletedEvent?: EntityDeletedEvent;
694
- actionEvent?: ActionEvent;
695
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
696
- _id?: string;
697
- /**
698
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
699
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
700
- */
701
- entityFqdn?: string;
702
- /**
703
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
704
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
705
- */
706
- slug?: string;
707
- /** ID of the entity associated with the event. */
708
- entityId?: string;
709
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
710
- eventTime?: Date | null;
711
- /**
712
- * Whether the event was triggered as a result of a privacy regulation application
713
- * (for example, GDPR).
714
- */
715
- triggeredByAnonymizeRequest?: boolean | null;
716
- /** If present, indicates the action that triggered the event. */
717
- originatedFrom?: string | null;
718
- /**
719
- * 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.
720
- * 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.
721
- */
722
- entityEventSequence?: string | null;
723
- }
724
- /** @oneof */
725
- interface DomainEventBodyOneOf {
726
- createdEvent?: EntityCreatedEvent;
727
- updatedEvent?: EntityUpdatedEvent;
728
- deletedEvent?: EntityDeletedEvent;
729
- actionEvent?: ActionEvent;
730
- }
731
- interface EntityCreatedEvent {
732
- entity?: string;
733
- }
734
- interface RestoreInfo {
735
- deletedDate?: Date | null;
736
- }
737
- interface EntityUpdatedEvent {
738
- /**
739
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
740
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
741
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
742
- */
743
- currentEntity?: string;
744
- }
745
- interface EntityDeletedEvent {
746
- /** Entity that was deleted. */
747
- deletedEntity?: string | null;
748
- }
749
- interface ActionEvent {
750
- body?: string;
751
- }
752
- interface MessageEnvelope {
753
- /**
754
- * App instance ID.
755
- * @format GUID
756
- */
757
- instanceId?: string | null;
758
- /**
759
- * Event type.
760
- * @maxLength 150
761
- */
762
- eventType?: string;
763
- /** The identification type and identity data. */
764
- identity?: IdentificationData;
765
- /** Stringify payload. */
766
- data?: string;
767
- }
768
- interface IdentificationData extends IdentificationDataIdOneOf {
769
- /**
770
- * ID of a site visitor that has not logged in to the site.
771
- * @format GUID
772
- */
773
- anonymousVisitorId?: string;
774
- /**
775
- * ID of a site visitor that has logged in to the site.
776
- * @format GUID
777
- */
778
- memberId?: string;
779
- /**
780
- * ID of a Wix user (site owner, contributor, etc.).
781
- * @format GUID
782
- */
783
- wixUserId?: string;
784
- /**
785
- * ID of an app.
786
- * @format GUID
787
- */
788
- appId?: string;
789
- /** @readonly */
790
- identityType?: WebhookIdentityTypeWithLiterals;
791
- }
792
- /** @oneof */
793
- interface IdentificationDataIdOneOf {
794
- /**
795
- * ID of a site visitor that has not logged in to the site.
796
- * @format GUID
797
- */
798
- anonymousVisitorId?: string;
799
- /**
800
- * ID of a site visitor that has logged in to the site.
801
- * @format GUID
802
- */
803
- memberId?: string;
804
- /**
805
- * ID of a Wix user (site owner, contributor, etc.).
806
- * @format GUID
807
- */
808
- wixUserId?: string;
809
- /**
810
- * ID of an app.
811
- * @format GUID
812
- */
813
- appId?: string;
814
- }
815
- declare enum WebhookIdentityType {
816
- UNKNOWN = "UNKNOWN",
817
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
818
- MEMBER = "MEMBER",
819
- WIX_USER = "WIX_USER",
820
- APP = "APP"
821
- }
822
- /** @enumType */
823
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
824
672
  interface ListEventsByContactIdRequest {
825
673
  /**
826
674
  * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
@@ -1261,6 +1109,158 @@ interface SiteCloned {
1261
1109
  }
1262
1110
  interface Empty {
1263
1111
  }
1112
+ interface DomainEvent extends DomainEventBodyOneOf {
1113
+ createdEvent?: EntityCreatedEvent;
1114
+ updatedEvent?: EntityUpdatedEvent;
1115
+ deletedEvent?: EntityDeletedEvent;
1116
+ actionEvent?: ActionEvent;
1117
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1118
+ _id?: string;
1119
+ /**
1120
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1121
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1122
+ */
1123
+ entityFqdn?: string;
1124
+ /**
1125
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
1126
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1127
+ */
1128
+ slug?: string;
1129
+ /** ID of the entity associated with the event. */
1130
+ entityId?: string;
1131
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1132
+ eventTime?: Date | null;
1133
+ /**
1134
+ * Whether the event was triggered as a result of a privacy regulation application
1135
+ * (for example, GDPR).
1136
+ */
1137
+ triggeredByAnonymizeRequest?: boolean | null;
1138
+ /** If present, indicates the action that triggered the event. */
1139
+ originatedFrom?: string | null;
1140
+ /**
1141
+ * 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.
1142
+ * 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.
1143
+ */
1144
+ entityEventSequence?: string | null;
1145
+ }
1146
+ /** @oneof */
1147
+ interface DomainEventBodyOneOf {
1148
+ createdEvent?: EntityCreatedEvent;
1149
+ updatedEvent?: EntityUpdatedEvent;
1150
+ deletedEvent?: EntityDeletedEvent;
1151
+ actionEvent?: ActionEvent;
1152
+ }
1153
+ interface EntityCreatedEvent {
1154
+ entity?: string;
1155
+ }
1156
+ interface RestoreInfo {
1157
+ deletedDate?: Date | null;
1158
+ }
1159
+ interface EntityUpdatedEvent {
1160
+ /**
1161
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1162
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1163
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1164
+ */
1165
+ currentEntity?: string;
1166
+ }
1167
+ interface EntityDeletedEvent {
1168
+ /** Entity that was deleted. */
1169
+ deletedEntity?: string | null;
1170
+ }
1171
+ interface ActionEvent {
1172
+ body?: string;
1173
+ }
1174
+ interface MessageEnvelope {
1175
+ /**
1176
+ * App instance ID.
1177
+ * @format GUID
1178
+ */
1179
+ instanceId?: string | null;
1180
+ /**
1181
+ * Event type.
1182
+ * @maxLength 150
1183
+ */
1184
+ eventType?: string;
1185
+ /** The identification type and identity data. */
1186
+ identity?: IdentificationData;
1187
+ /** Stringify payload. */
1188
+ data?: string;
1189
+ }
1190
+ interface IdentificationData extends IdentificationDataIdOneOf {
1191
+ /**
1192
+ * ID of a site visitor that has not logged in to the site.
1193
+ * @format GUID
1194
+ */
1195
+ anonymousVisitorId?: string;
1196
+ /**
1197
+ * ID of a site visitor that has logged in to the site.
1198
+ * @format GUID
1199
+ */
1200
+ memberId?: string;
1201
+ /**
1202
+ * ID of a Wix user (site owner, contributor, etc.).
1203
+ * @format GUID
1204
+ */
1205
+ wixUserId?: string;
1206
+ /**
1207
+ * ID of an app.
1208
+ * @format GUID
1209
+ */
1210
+ appId?: string;
1211
+ /** @readonly */
1212
+ identityType?: WebhookIdentityTypeWithLiterals;
1213
+ }
1214
+ /** @oneof */
1215
+ interface IdentificationDataIdOneOf {
1216
+ /**
1217
+ * ID of a site visitor that has not logged in to the site.
1218
+ * @format GUID
1219
+ */
1220
+ anonymousVisitorId?: string;
1221
+ /**
1222
+ * ID of a site visitor that has logged in to the site.
1223
+ * @format GUID
1224
+ */
1225
+ memberId?: string;
1226
+ /**
1227
+ * ID of a Wix user (site owner, contributor, etc.).
1228
+ * @format GUID
1229
+ */
1230
+ wixUserId?: string;
1231
+ /**
1232
+ * ID of an app.
1233
+ * @format GUID
1234
+ */
1235
+ appId?: string;
1236
+ }
1237
+ declare enum WebhookIdentityType {
1238
+ UNKNOWN = "UNKNOWN",
1239
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1240
+ MEMBER = "MEMBER",
1241
+ WIX_USER = "WIX_USER",
1242
+ APP = "APP"
1243
+ }
1244
+ /** @enumType */
1245
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1246
+ interface UpdateScheduleWithFixedBusinessResourceIdRequest {
1247
+ /** @format GUID */
1248
+ metaSiteId?: string;
1249
+ /** @format GUID */
1250
+ currentBusinessResourceId?: string;
1251
+ migrateBusinessConferenceId?: boolean;
1252
+ }
1253
+ interface UpdateScheduleWithFixedBusinessResourceIdResponse {
1254
+ }
1255
+ interface UpdateEventsWithFixedBusinessResourceIdRequest {
1256
+ /** @format GUID */
1257
+ metaSiteId?: string;
1258
+ /** @format GUID */
1259
+ currentBusinessResourceId?: string;
1260
+ migrateBusinessConferenceId?: boolean;
1261
+ }
1262
+ interface UpdateEventsWithFixedBusinessResourceIdResponse {
1263
+ }
1264
1264
  interface GetEventRequest {
1265
1265
  /**
1266
1266
  * ID of the event to retrieve.
@@ -2486,4 +2486,4 @@ interface BulkCancelEventOptions {
2486
2486
  timeZone?: string | null;
2487
2487
  }
2488
2488
 
2489
- export { type Participants as $, Type as A, type BulkCreateEventOptions as B, type CreateEventOptions as C, Day as D, type Event as E, type FieldWithLiterals as F, type GetEventOptions as G, Field as H, IdentityType as I, PlacementType as J, DayOfWeek as K, type ListEventsByContactIdOptions as L, type MaskedEvent as M, ResolutionMethod as N, RequestedFields as O, ParticipantsStatus as P, type QueryEventsOptions as Q, type RestoreEventDefaultsOptions as R, type SplitRecurringEventOptions as S, Transparency as T, type UpdateEvent as U, SortOrder as V, WebhookIdentityType as W, type RecurrenceRule as X, type Location as Y, type ZonedDate as Z, type Resource as _, type ListEventsByContactIdResponse as a, type CreateEventRequest as a$, type Participant as a0, type ConferencingDetails as a1, type Permission as a2, type CommonIdentificationData as a3, type CommonIdentificationDataIdOneOf as a4, type ExtendedFields as a5, type RecurringEventSplit as a6, type EventCancelled as a7, type ParticipantNotification as a8, type EventUpdatedWithMetadata as a9, type GeoCoordinates as aA, type BusinessSchedule as aB, type TimePeriod as aC, type SpecialHourPeriod as aD, type Multilingual as aE, type SupportedLanguage as aF, type ConsentPolicy as aG, type Translation as aH, type ChangeContext as aI, type ChangeContextPayloadOneOf as aJ, type PropertiesChange as aK, type SiteCreated as aL, type SiteCloned as aM, type Empty as aN, type GetEventRequest as aO, type GetEventResponse as aP, type ListEventsRequest as aQ, type QueryEventsRequest as aR, type CursorQuery as aS, type CursorQueryPagingMethodOneOf as aT, type Sorting as aU, type CursorPaging as aV, type QueryEventsResponse as aW, type CursorPagingMetadata as aX, type Cursors as aY, type ListRecurringEventInstancesHistoryRequest as aZ, type ListRecurringEventInstancesHistoryResponse as a_, type UpdateScheduleWithFixedBusinessResourceIdRequest as aa, type UpdateScheduleWithFixedBusinessResourceIdResponse as ab, type UpdateEventsWithFixedBusinessResourceIdRequest as ac, type UpdateEventsWithFixedBusinessResourceIdResponse as ad, type DomainEvent as ae, type DomainEventBodyOneOf as af, type EntityCreatedEvent as ag, type RestoreInfo as ah, type EntityUpdatedEvent as ai, type EntityDeletedEvent as aj, type ActionEvent as ak, type MessageEnvelope as al, type IdentificationData as am, type IdentificationDataIdOneOf as an, type ListEventsByContactIdRequest as ao, type CommonCursorPaging as ap, type CommonCursorPagingMetadata as aq, type CommonCursors as ar, type ListEventsByMemberIdRequest as as, type SitePropertiesNotification as at, type SitePropertiesEvent as au, type Properties as av, type Categories as aw, type Locale as ax, type Address as ay, type AddressHint as az, type ListEventsByMemberIdOptions as b, type CreateEventResponse as b0, type BulkCreateEventRequest as b1, type BulkEventResult as b2, type ItemMetadata as b3, type ApplicationError as b4, type BulkActionMetadata as b5, type UpdateEventRequest as b6, type UpdateEventResponse as b7, type BulkUpdateEventRequest as b8, type UpdateEventParticipantsRequest as b9, type UpdateEventParticipantsResponse as ba, type RestoreEventDefaultsRequest as bb, type SplitRecurringEventRequest as bc, type CancelEventRequest as bd, type BulkCancelEventRequest as be, type BaseEventMetadata as bf, type EventMetadata as bg, type EventsQueryResult as bh, type ListEventsByMemberIdResponse as c, type ListEventsOptions as d, type ListEventsResponse as e, type EventsQueryBuilder as f, type BulkCreateEventResponse as g, type UpdateEventOptions as h, type BulkUpdateEventRequestMaskedEvent as i, type BulkUpdateEventOptions as j, type BulkUpdateEventResponse as k, type RestoreEventDefaultsResponse as l, type SplitRecurringEventResponse as m, type CancelEventOptions as n, type CancelEventResponse as o, type BulkCancelEventOptions as p, type BulkCancelEventResponse as q, type EventCancelledEnvelope as r, type EventCreatedEnvelope as s, type EventRecurringSplitEnvelope as t, type EventUpdatedEnvelope as u, Status as v, RecurrenceType as w, Frequency as x, LocationType as y, Role as z };
2489
+ export { type Participants as $, Type as A, type BulkCreateEventOptions as B, type CreateEventOptions as C, Day as D, type Event as E, type FieldWithLiterals as F, type GetEventOptions as G, Field as H, IdentityType as I, PlacementType as J, DayOfWeek as K, type ListEventsByContactIdOptions as L, type MaskedEvent as M, ResolutionMethod as N, RequestedFields as O, ParticipantsStatus as P, type QueryEventsOptions as Q, type RestoreEventDefaultsOptions as R, type SplitRecurringEventOptions as S, Transparency as T, type UpdateEvent as U, SortOrder as V, WebhookIdentityType as W, type RecurrenceRule as X, type Location as Y, type ZonedDate as Z, type Resource as _, type ListEventsByContactIdResponse as a, type CreateEventRequest as a$, type Participant as a0, type ConferencingDetails as a1, type Permission as a2, type CommonIdentificationData as a3, type CommonIdentificationDataIdOneOf as a4, type ExtendedFields as a5, type RecurringEventSplit as a6, type EventCancelled as a7, type ParticipantNotification as a8, type EventUpdatedWithMetadata as a9, type DomainEvent as aA, type DomainEventBodyOneOf as aB, type EntityCreatedEvent as aC, type RestoreInfo as aD, type EntityUpdatedEvent as aE, type EntityDeletedEvent as aF, type ActionEvent as aG, type MessageEnvelope as aH, type IdentificationData as aI, type IdentificationDataIdOneOf as aJ, type UpdateScheduleWithFixedBusinessResourceIdRequest as aK, type UpdateScheduleWithFixedBusinessResourceIdResponse as aL, type UpdateEventsWithFixedBusinessResourceIdRequest as aM, type UpdateEventsWithFixedBusinessResourceIdResponse as aN, type GetEventRequest as aO, type GetEventResponse as aP, type ListEventsRequest as aQ, type QueryEventsRequest as aR, type CursorQuery as aS, type CursorQueryPagingMethodOneOf as aT, type Sorting as aU, type CursorPaging as aV, type QueryEventsResponse as aW, type CursorPagingMetadata as aX, type Cursors as aY, type ListRecurringEventInstancesHistoryRequest as aZ, type ListRecurringEventInstancesHistoryResponse as a_, type ListEventsByContactIdRequest as aa, type CommonCursorPaging as ab, type CommonCursorPagingMetadata as ac, type CommonCursors as ad, type ListEventsByMemberIdRequest as ae, type SitePropertiesNotification as af, type SitePropertiesEvent as ag, type Properties as ah, type Categories as ai, type Locale as aj, type Address as ak, type AddressHint as al, type GeoCoordinates as am, type BusinessSchedule as an, type TimePeriod as ao, type SpecialHourPeriod as ap, type Multilingual as aq, type SupportedLanguage as ar, type ConsentPolicy as as, type Translation as at, type ChangeContext as au, type ChangeContextPayloadOneOf as av, type PropertiesChange as aw, type SiteCreated as ax, type SiteCloned as ay, type Empty as az, type ListEventsByMemberIdOptions as b, type CreateEventResponse as b0, type BulkCreateEventRequest as b1, type BulkEventResult as b2, type ItemMetadata as b3, type ApplicationError as b4, type BulkActionMetadata as b5, type UpdateEventRequest as b6, type UpdateEventResponse as b7, type BulkUpdateEventRequest as b8, type UpdateEventParticipantsRequest as b9, type UpdateEventParticipantsResponse as ba, type RestoreEventDefaultsRequest as bb, type SplitRecurringEventRequest as bc, type CancelEventRequest as bd, type BulkCancelEventRequest as be, type BaseEventMetadata as bf, type EventMetadata as bg, type EventsQueryResult as bh, type ListEventsByMemberIdResponse as c, type ListEventsOptions as d, type ListEventsResponse as e, type EventsQueryBuilder as f, type BulkCreateEventResponse as g, type UpdateEventOptions as h, type BulkUpdateEventRequestMaskedEvent as i, type BulkUpdateEventOptions as j, type BulkUpdateEventResponse as k, type RestoreEventDefaultsResponse as l, type SplitRecurringEventResponse as m, type CancelEventOptions as n, type CancelEventResponse as o, type BulkCancelEventOptions as p, type BulkCancelEventResponse as q, type EventCancelledEnvelope as r, type EventCreatedEnvelope as s, type EventRecurringSplitEnvelope as t, type EventUpdatedEnvelope as u, Status as v, RecurrenceType as w, Frequency as x, LocationType as y, Role as z };