@wix/auto_sdk_events_notifications 1.0.41 → 1.0.43

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.
@@ -1338,6 +1338,13 @@ interface Agenda {
1338
1338
  */
1339
1339
  pageUrl?: SiteUrl;
1340
1340
  }
1341
+ /**
1342
+ * A Category is a classification object that groups related events on a site so you can organize and display them by themes, venues, or other facets.
1343
+ *
1344
+ * You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.
1345
+ *
1346
+ * Read more about [Categories](https://support.wix.com/en/article/creating-and-displaying-event-categories).
1347
+ */
1341
1348
  interface Category {
1342
1349
  /**
1343
1350
  * Category ID.
@@ -86,6 +86,9 @@ function triggerNotification(payload) {
86
86
  method: "POST",
87
87
  methodFqn: "wix.events.notifications.v2.NotificationService.TriggerNotification",
88
88
  packageName: PACKAGE_NAME,
89
+ migrationOptions: {
90
+ optInTransformResponse: true
91
+ },
89
92
  url: resolveWixEventsNotificationsV2NotificationServiceUrl({
90
93
  protoPath: "/v2/notifications/trigger",
91
94
  data: payload,
@@ -104,6 +107,9 @@ function resolveNotificationConfig(payload) {
104
107
  method: "GET",
105
108
  methodFqn: "wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig",
106
109
  packageName: PACKAGE_NAME,
110
+ migrationOptions: {
111
+ optInTransformResponse: true
112
+ },
107
113
  url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({
108
114
  protoPath: "/v2/notification-configs/resolve/{notificationConfigId}",
109
115
  data: payload,
@@ -144,6 +150,9 @@ function upsertNotificationConfig(payload) {
144
150
  method: "POST",
145
151
  methodFqn: "wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig",
146
152
  packageName: PACKAGE_NAME,
153
+ migrationOptions: {
154
+ optInTransformResponse: true
155
+ },
147
156
  url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({
148
157
  protoPath: "/v2/notification-configs/{notificationConfig.id}",
149
158
  data: serializedData,