@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
@@ -699,177 +699,6 @@ 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
- }
873
702
  interface ListEventsByContactIdRequest {
874
703
  /**
875
704
  * ID of the [contact](https://dev.wix.com/docs/rest/crm/members-contacts/contacts/contacts/contact-v4/contact-object)
@@ -1337,6 +1166,177 @@ interface SiteCloned {
1337
1166
  }
1338
1167
  interface Empty {
1339
1168
  }
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
1340
  interface GetEventRequest {
1341
1341
  /**
1342
1342
  * ID of the event to retrieve.
@@ -2512,7 +2512,10 @@ type EventQuery = {
2512
2512
  declare const utils: {
2513
2513
  query: {
2514
2514
  QueryBuilder: () => _wix_sdk_types.QueryBuilder<Event, EventQuerySpec, EventQuery>;
2515
- Filter: _wix_sdk_types.FilterFactory<Event, EventQuerySpec>;
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
+ */
2516
2519
  Sort: _wix_sdk_types.SortFactory<EventQuerySpec>;
2517
2520
  };
2518
2521
  };
@@ -119,6 +119,36 @@ function resolveWixCalendarEventsV3EventsServiceUrl(opts) {
119
119
  srcPath: "/_api/calendar/v3/bulk/events",
120
120
  destPath: "/v3/bulk/events"
121
121
  }
122
+ ],
123
+ "editor._base_domain_": [
124
+ {
125
+ srcPath: "/_api/calendar/v3/events",
126
+ destPath: "/v3/events"
127
+ },
128
+ {
129
+ srcPath: "/_api/calendar/v3/bulk/events",
130
+ destPath: "/v3/bulk/events"
131
+ }
132
+ ],
133
+ "blocks._base_domain_": [
134
+ {
135
+ srcPath: "/_api/calendar/v3/events",
136
+ destPath: "/v3/events"
137
+ },
138
+ {
139
+ srcPath: "/_api/calendar/v3/bulk/events",
140
+ destPath: "/v3/bulk/events"
141
+ }
142
+ ],
143
+ "create.editorx": [
144
+ {
145
+ srcPath: "/_api/calendar/v3/events",
146
+ destPath: "/v3/events"
147
+ },
148
+ {
149
+ srcPath: "/_api/calendar/v3/bulk/events",
150
+ destPath: "/v3/bulk/events"
151
+ }
122
152
  ]
123
153
  };
124
154
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
@@ -819,14 +849,6 @@ var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
819
849
  IdentityType2["WIX_USER"] = "WIX_USER";
820
850
  return IdentityType2;
821
851
  })(IdentityType || {});
822
- var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
823
- WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
824
- WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
825
- WebhookIdentityType2["MEMBER"] = "MEMBER";
826
- WebhookIdentityType2["WIX_USER"] = "WIX_USER";
827
- WebhookIdentityType2["APP"] = "APP";
828
- return WebhookIdentityType2;
829
- })(WebhookIdentityType || {});
830
852
  var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
831
853
  SortOrder2["ASC"] = "ASC";
832
854
  SortOrder2["DESC"] = "DESC";
@@ -854,6 +876,14 @@ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
854
876
  ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
855
877
  return ResolutionMethod2;
856
878
  })(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 || {});
857
887
  var RequestedFields = /* @__PURE__ */ ((RequestedFields2) => {
858
888
  RequestedFields2["PI_FIELDS"] = "PI_FIELDS";
859
889
  RequestedFields2["OWN_PI_FIELDS"] = "OWN_PI_FIELDS";