@wix/auto_sdk_calendar_events 1.0.78 → 1.0.80

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.
@@ -699,6 +699,177 @@ interface EventUpdatedWithMetadata {
699
699
  */
700
700
  participantNotification?: ParticipantNotification;
701
701
  }
702
+ interface UpdateScheduleWithFixedBusinessResourceIdRequest {
703
+ /** @format GUID */
704
+ metaSiteId?: string;
705
+ /** @format GUID */
706
+ currentBusinessResourceId?: string;
707
+ migrateBusinessConferenceId?: boolean;
708
+ }
709
+ interface UpdateScheduleWithFixedBusinessResourceIdResponse {
710
+ }
711
+ interface UpdateEventsWithFixedBusinessResourceIdRequest {
712
+ /** @format GUID */
713
+ metaSiteId?: string;
714
+ /** @format GUID */
715
+ currentBusinessResourceId?: string;
716
+ migrateBusinessConferenceId?: boolean;
717
+ }
718
+ interface UpdateEventsWithFixedBusinessResourceIdResponse {
719
+ }
720
+ interface DomainEvent extends DomainEventBodyOneOf {
721
+ createdEvent?: EntityCreatedEvent;
722
+ updatedEvent?: EntityUpdatedEvent;
723
+ deletedEvent?: EntityDeletedEvent;
724
+ actionEvent?: ActionEvent;
725
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
726
+ _id?: string;
727
+ /**
728
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
729
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
730
+ */
731
+ entityFqdn?: string;
732
+ /**
733
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
734
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
735
+ */
736
+ slug?: string;
737
+ /** ID of the entity associated with the event. */
738
+ entityId?: string;
739
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
740
+ eventTime?: Date | null;
741
+ /**
742
+ * Whether the event was triggered as a result of a privacy regulation application
743
+ * (for example, GDPR).
744
+ */
745
+ triggeredByAnonymizeRequest?: boolean | null;
746
+ /** If present, indicates the action that triggered the event. */
747
+ originatedFrom?: string | null;
748
+ /**
749
+ * 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.
750
+ * 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.
751
+ */
752
+ entityEventSequence?: string | null;
753
+ }
754
+ /** @oneof */
755
+ interface DomainEventBodyOneOf {
756
+ createdEvent?: EntityCreatedEvent;
757
+ updatedEvent?: EntityUpdatedEvent;
758
+ deletedEvent?: EntityDeletedEvent;
759
+ actionEvent?: ActionEvent;
760
+ }
761
+ interface EntityCreatedEvent {
762
+ entity?: string;
763
+ }
764
+ interface RestoreInfo {
765
+ deletedDate?: Date | null;
766
+ }
767
+ interface EntityUpdatedEvent {
768
+ /**
769
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
770
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
771
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
772
+ */
773
+ currentEntity?: string;
774
+ }
775
+ interface EntityDeletedEvent {
776
+ /** Entity that was deleted. */
777
+ deletedEntity?: string | null;
778
+ }
779
+ interface ActionEvent {
780
+ body?: string;
781
+ }
782
+ interface MessageEnvelope {
783
+ /**
784
+ * App instance ID.
785
+ * @format GUID
786
+ */
787
+ instanceId?: string | null;
788
+ /**
789
+ * Event type.
790
+ * @maxLength 150
791
+ */
792
+ eventType?: string;
793
+ /** The identification type and identity data. */
794
+ identity?: IdentificationData;
795
+ /** Stringify payload. */
796
+ data?: string;
797
+ /** Details related to the account */
798
+ accountInfo?: AccountInfo;
799
+ }
800
+ interface IdentificationData extends IdentificationDataIdOneOf {
801
+ /**
802
+ * ID of a site visitor that has not logged in to the site.
803
+ * @format GUID
804
+ */
805
+ anonymousVisitorId?: string;
806
+ /**
807
+ * ID of a site visitor that has logged in to the site.
808
+ * @format GUID
809
+ */
810
+ memberId?: string;
811
+ /**
812
+ * ID of a Wix user (site owner, contributor, etc.).
813
+ * @format GUID
814
+ */
815
+ wixUserId?: string;
816
+ /**
817
+ * ID of an app.
818
+ * @format GUID
819
+ */
820
+ appId?: string;
821
+ /** @readonly */
822
+ identityType?: WebhookIdentityTypeWithLiterals;
823
+ }
824
+ /** @oneof */
825
+ interface IdentificationDataIdOneOf {
826
+ /**
827
+ * ID of a site visitor that has not logged in to the site.
828
+ * @format GUID
829
+ */
830
+ anonymousVisitorId?: string;
831
+ /**
832
+ * ID of a site visitor that has logged in to the site.
833
+ * @format GUID
834
+ */
835
+ memberId?: string;
836
+ /**
837
+ * ID of a Wix user (site owner, contributor, etc.).
838
+ * @format GUID
839
+ */
840
+ wixUserId?: string;
841
+ /**
842
+ * ID of an app.
843
+ * @format GUID
844
+ */
845
+ appId?: string;
846
+ }
847
+ declare enum WebhookIdentityType {
848
+ UNKNOWN = "UNKNOWN",
849
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
850
+ MEMBER = "MEMBER",
851
+ WIX_USER = "WIX_USER",
852
+ APP = "APP"
853
+ }
854
+ /** @enumType */
855
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
856
+ interface AccountInfo {
857
+ /**
858
+ * ID of the Wix account associated with the event.
859
+ * @format GUID
860
+ */
861
+ accountId?: string | null;
862
+ /**
863
+ * ID of the parent Wix account. Only included when accountId belongs to a child account.
864
+ * @format GUID
865
+ */
866
+ parentAccountId?: string | null;
867
+ /**
868
+ * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
869
+ * @format GUID
870
+ */
871
+ siteId?: string | null;
872
+ }
702
873
  interface ListEventsByContactIdRequest {
703
874
  /**
704
875
  * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
@@ -956,6 +1127,11 @@ interface Properties {
956
1127
  externalSiteUrl?: string | null;
957
1128
  /** Track clicks analytics. */
958
1129
  trackClicksAnalytics?: boolean;
1130
+ /**
1131
+ * Company ID issued to the business by local authorities. Appears on invoices and price quotes.
1132
+ * @maxLength 50
1133
+ */
1134
+ companyId?: string | null;
959
1135
  }
960
1136
  interface Categories {
961
1137
  /** Primary site category. */
@@ -1166,177 +1342,6 @@ interface SiteCloned {
1166
1342
  }
1167
1343
  interface Empty {
1168
1344
  }
1169
- interface DomainEvent extends DomainEventBodyOneOf {
1170
- createdEvent?: EntityCreatedEvent;
1171
- updatedEvent?: EntityUpdatedEvent;
1172
- deletedEvent?: EntityDeletedEvent;
1173
- actionEvent?: ActionEvent;
1174
- /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
1175
- _id?: string;
1176
- /**
1177
- * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
1178
- * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
1179
- */
1180
- entityFqdn?: string;
1181
- /**
1182
- * Event action name, placed at the top level to make it easier for users to dispatch messages.
1183
- * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
1184
- */
1185
- slug?: string;
1186
- /** ID of the entity associated with the event. */
1187
- entityId?: string;
1188
- /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
1189
- eventTime?: Date | null;
1190
- /**
1191
- * Whether the event was triggered as a result of a privacy regulation application
1192
- * (for example, GDPR).
1193
- */
1194
- triggeredByAnonymizeRequest?: boolean | null;
1195
- /** If present, indicates the action that triggered the event. */
1196
- originatedFrom?: string | null;
1197
- /**
1198
- * 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.
1199
- * 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.
1200
- */
1201
- entityEventSequence?: string | null;
1202
- }
1203
- /** @oneof */
1204
- interface DomainEventBodyOneOf {
1205
- createdEvent?: EntityCreatedEvent;
1206
- updatedEvent?: EntityUpdatedEvent;
1207
- deletedEvent?: EntityDeletedEvent;
1208
- actionEvent?: ActionEvent;
1209
- }
1210
- interface EntityCreatedEvent {
1211
- entity?: string;
1212
- }
1213
- interface RestoreInfo {
1214
- deletedDate?: Date | null;
1215
- }
1216
- interface EntityUpdatedEvent {
1217
- /**
1218
- * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
1219
- * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
1220
- * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
1221
- */
1222
- currentEntity?: string;
1223
- }
1224
- interface EntityDeletedEvent {
1225
- /** Entity that was deleted. */
1226
- deletedEntity?: string | null;
1227
- }
1228
- interface ActionEvent {
1229
- body?: string;
1230
- }
1231
- interface MessageEnvelope {
1232
- /**
1233
- * App instance ID.
1234
- * @format GUID
1235
- */
1236
- instanceId?: string | null;
1237
- /**
1238
- * Event type.
1239
- * @maxLength 150
1240
- */
1241
- eventType?: string;
1242
- /** The identification type and identity data. */
1243
- identity?: IdentificationData;
1244
- /** Stringify payload. */
1245
- data?: string;
1246
- /** Details related to the account */
1247
- accountInfo?: AccountInfo;
1248
- }
1249
- interface IdentificationData extends IdentificationDataIdOneOf {
1250
- /**
1251
- * ID of a site visitor that has not logged in to the site.
1252
- * @format GUID
1253
- */
1254
- anonymousVisitorId?: string;
1255
- /**
1256
- * ID of a site visitor that has logged in to the site.
1257
- * @format GUID
1258
- */
1259
- memberId?: string;
1260
- /**
1261
- * ID of a Wix user (site owner, contributor, etc.).
1262
- * @format GUID
1263
- */
1264
- wixUserId?: string;
1265
- /**
1266
- * ID of an app.
1267
- * @format GUID
1268
- */
1269
- appId?: string;
1270
- /** @readonly */
1271
- identityType?: WebhookIdentityTypeWithLiterals;
1272
- }
1273
- /** @oneof */
1274
- interface IdentificationDataIdOneOf {
1275
- /**
1276
- * ID of a site visitor that has not logged in to the site.
1277
- * @format GUID
1278
- */
1279
- anonymousVisitorId?: string;
1280
- /**
1281
- * ID of a site visitor that has logged in to the site.
1282
- * @format GUID
1283
- */
1284
- memberId?: string;
1285
- /**
1286
- * ID of a Wix user (site owner, contributor, etc.).
1287
- * @format GUID
1288
- */
1289
- wixUserId?: string;
1290
- /**
1291
- * ID of an app.
1292
- * @format GUID
1293
- */
1294
- appId?: string;
1295
- }
1296
- declare enum WebhookIdentityType {
1297
- UNKNOWN = "UNKNOWN",
1298
- ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
1299
- MEMBER = "MEMBER",
1300
- WIX_USER = "WIX_USER",
1301
- APP = "APP"
1302
- }
1303
- /** @enumType */
1304
- type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
1305
- interface AccountInfo {
1306
- /**
1307
- * ID of the Wix account associated with the event.
1308
- * @format GUID
1309
- */
1310
- accountId?: string | null;
1311
- /**
1312
- * ID of the parent Wix account. Only included when accountId belongs to a child account.
1313
- * @format GUID
1314
- */
1315
- parentAccountId?: string | null;
1316
- /**
1317
- * ID of the Wix site associated with the event. Only included when the event is tied to a specific site.
1318
- * @format GUID
1319
- */
1320
- siteId?: string | null;
1321
- }
1322
- interface UpdateScheduleWithFixedBusinessResourceIdRequest {
1323
- /** @format GUID */
1324
- metaSiteId?: string;
1325
- /** @format GUID */
1326
- currentBusinessResourceId?: string;
1327
- migrateBusinessConferenceId?: boolean;
1328
- }
1329
- interface UpdateScheduleWithFixedBusinessResourceIdResponse {
1330
- }
1331
- interface UpdateEventsWithFixedBusinessResourceIdRequest {
1332
- /** @format GUID */
1333
- metaSiteId?: string;
1334
- /** @format GUID */
1335
- currentBusinessResourceId?: string;
1336
- migrateBusinessConferenceId?: boolean;
1337
- }
1338
- interface UpdateEventsWithFixedBusinessResourceIdResponse {
1339
- }
1340
1345
  interface GetEventRequest {
1341
1346
  /**
1342
1347
  * ID of the event to retrieve.
@@ -2512,10 +2517,7 @@ type EventQuery = {
2512
2517
  declare const utils: {
2513
2518
  query: {
2514
2519
  QueryBuilder: () => _wix_sdk_types.QueryBuilder<Event, EventQuerySpec, EventQuery>;
2515
- Filter: _wix_sdk_types.FilterFactory<Event, EventQuerySpec>; /**
2516
- * ID of a site visitor that has not logged in to the site.
2517
- * @format GUID
2518
- */
2520
+ Filter: _wix_sdk_types.FilterFactory<Event, EventQuerySpec>;
2519
2521
  Sort: _wix_sdk_types.SortFactory<EventQuerySpec>;
2520
2522
  };
2521
2523
  };
@@ -849,6 +849,14 @@ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
849
849
  IdentityType2["WIX_USER"] = "WIX_USER";
850
850
  return IdentityType2;
851
851
  })(IdentityType || {});
852
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
853
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
854
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
855
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
856
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
857
+ WebhookIdentityType2["APP"] = "APP";
858
+ return WebhookIdentityType2;
859
+ })(WebhookIdentityType || {});
852
860
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
853
861
  SortOrder2["ASC"] = "ASC";
854
862
  SortOrder2["DESC"] = "DESC";
@@ -876,14 +884,6 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
876
884
  ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
877
885
  return ResolutionMethod2;
878
886
  })(ResolutionMethod || {});
879
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
880
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
881
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
882
- WebhookIdentityType2["MEMBER"] = "MEMBER";
883
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
884
- WebhookIdentityType2["APP"] = "APP";
885
- return WebhookIdentityType2;
886
- })(WebhookIdentityType || {});
887
887
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
888
888
  RequestedFields2["PI_FIELDS"] = "PI_FIELDS";
889
889
  RequestedFields2["OWN_PI_FIELDS"] = "OWN_PI_FIELDS";