@wix/auto_sdk_calendar_events 1.0.76 → 1.0.78

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.
Files changed (46) hide show
  1. package/build/cjs/index.js +38 -8
  2. package/build/cjs/index.js.map +1 -1
  3. package/build/cjs/index.typings.d.ts +175 -172
  4. package/build/cjs/index.typings.js +38 -8
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +173 -173
  7. package/build/cjs/meta.js +38 -8
  8. package/build/cjs/meta.js.map +1 -1
  9. package/build/cjs/schemas.d.ts +3062 -0
  10. package/build/cjs/schemas.js +5439 -0
  11. package/build/cjs/schemas.js.map +1 -0
  12. package/build/es/index.mjs +38 -8
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +175 -172
  15. package/build/es/index.typings.mjs +38 -8
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +173 -173
  18. package/build/es/meta.mjs +38 -8
  19. package/build/es/meta.mjs.map +1 -1
  20. package/build/es/schemas.d.mts +3062 -0
  21. package/build/es/schemas.mjs +5377 -0
  22. package/build/es/schemas.mjs.map +1 -0
  23. package/build/internal/cjs/index.js +38 -8
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +175 -172
  26. package/build/internal/cjs/index.typings.js +38 -8
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +173 -173
  29. package/build/internal/cjs/meta.js +38 -8
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/cjs/schemas.d.ts +3062 -0
  32. package/build/internal/cjs/schemas.js +5439 -0
  33. package/build/internal/cjs/schemas.js.map +1 -0
  34. package/build/internal/es/index.mjs +38 -8
  35. package/build/internal/es/index.mjs.map +1 -1
  36. package/build/internal/es/index.typings.d.mts +175 -172
  37. package/build/internal/es/index.typings.mjs +38 -8
  38. package/build/internal/es/index.typings.mjs.map +1 -1
  39. package/build/internal/es/meta.d.mts +173 -173
  40. package/build/internal/es/meta.mjs +38 -8
  41. package/build/internal/es/meta.mjs.map +1 -1
  42. package/build/internal/es/schemas.d.mts +3062 -0
  43. package/build/internal/es/schemas.mjs +5377 -0
  44. package/build/internal/es/schemas.mjs.map +1 -0
  45. package/package.json +11 -4
  46. package/schemas/package.json +3 -0
@@ -704,177 +704,6 @@ 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
- }
878
707
  interface ListEventsByContactIdRequest {
879
708
  /**
880
709
  * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
@@ -1342,6 +1171,177 @@ interface SiteCloned {
1342
1171
  }
1343
1172
  interface Empty {
1344
1173
  }
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
1345
  interface GetEventRequest {
1346
1346
  /**
1347
1347
  * ID of the event to retrieve.
@@ -2517,7 +2517,10 @@ type EventQuery = {
2517
2517
  declare const utils: {
2518
2518
  query: {
2519
2519
  QueryBuilder: () => _wix_sdk_types.QueryBuilder<Event, EventQuerySpec, EventQuery>;
2520
- Filter: _wix_sdk_types.FilterFactory<Event, EventQuerySpec>;
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
+ */
2521
2524
  Sort: _wix_sdk_types.SortFactory<EventQuerySpec>;
2522
2525
  };
2523
2526
  };
@@ -64,6 +64,36 @@ function resolveWixCalendarEventsV3EventsServiceUrl(opts) {
64
64
  srcPath: "/_api/calendar/v3/bulk/events",
65
65
  destPath: "/v3/bulk/events"
66
66
  }
67
+ ],
68
+ "editor._base_domain_": [
69
+ {
70
+ srcPath: "/_api/calendar/v3/events",
71
+ destPath: "/v3/events"
72
+ },
73
+ {
74
+ srcPath: "/_api/calendar/v3/bulk/events",
75
+ destPath: "/v3/bulk/events"
76
+ }
77
+ ],
78
+ "blocks._base_domain_": [
79
+ {
80
+ srcPath: "/_api/calendar/v3/events",
81
+ destPath: "/v3/events"
82
+ },
83
+ {
84
+ srcPath: "/_api/calendar/v3/bulk/events",
85
+ destPath: "/v3/bulk/events"
86
+ }
87
+ ],
88
+ "create.editorx": [
89
+ {
90
+ srcPath: "/_api/calendar/v3/events",
91
+ destPath: "/v3/events"
92
+ },
93
+ {
94
+ srcPath: "/_api/calendar/v3/bulk/events",
95
+ destPath: "/v3/bulk/events"
96
+ }
67
97
  ]
68
98
  };
69
99
  return resolveUrl(Object.assign(opts, { domainToMappings }));
@@ -764,14 +794,6 @@ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
764
794
  IdentityType2["WIX_USER"] = "WIX_USER";
765
795
  return IdentityType2;
766
796
  })(IdentityType || {});
767
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
768
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
769
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
770
- WebhookIdentityType2["MEMBER"] = "MEMBER";
771
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
772
- WebhookIdentityType2["APP"] = "APP";
773
- return WebhookIdentityType2;
774
- })(WebhookIdentityType || {});
775
797
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
776
798
  SortOrder2["ASC"] = "ASC";
777
799
  SortOrder2["DESC"] = "DESC";
@@ -799,6 +821,14 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
799
821
  ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
800
822
  return ResolutionMethod2;
801
823
  })(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 || {});
802
832
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
803
833
  RequestedFields2["PI_FIELDS"] = "PI_FIELDS";
804
834
  RequestedFields2["OWN_PI_FIELDS"] = "OWN_PI_FIELDS";