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