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