@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.
- package/build/cjs/index.js +9 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +7 -0
- package/build/cjs/index.typings.js +9 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.js +9 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +9 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +7 -0
- package/build/es/index.typings.mjs +9 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.mjs +9 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.js +9 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +7 -0
- package/build/internal/cjs/index.typings.js +9 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.js +9 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.mjs +9 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +7 -0
- package/build/internal/es/index.typings.mjs +9 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.mjs +9 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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.
|
|
@@ -170,6 +170,9 @@ function triggerNotification(payload) {
|
|
|
170
170
|
method: "POST",
|
|
171
171
|
methodFqn: "wix.events.notifications.v2.NotificationService.TriggerNotification",
|
|
172
172
|
packageName: PACKAGE_NAME,
|
|
173
|
+
migrationOptions: {
|
|
174
|
+
optInTransformResponse: true
|
|
175
|
+
},
|
|
173
176
|
url: resolveWixEventsNotificationsV2NotificationServiceUrl({
|
|
174
177
|
protoPath: "/v2/notifications/trigger",
|
|
175
178
|
data: payload,
|
|
@@ -188,6 +191,9 @@ function resolveNotificationConfig(payload) {
|
|
|
188
191
|
method: "GET",
|
|
189
192
|
methodFqn: "wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig",
|
|
190
193
|
packageName: PACKAGE_NAME,
|
|
194
|
+
migrationOptions: {
|
|
195
|
+
optInTransformResponse: true
|
|
196
|
+
},
|
|
191
197
|
url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({
|
|
192
198
|
protoPath: "/v2/notification-configs/resolve/{notificationConfigId}",
|
|
193
199
|
data: payload,
|
|
@@ -228,6 +234,9 @@ function upsertNotificationConfig(payload) {
|
|
|
228
234
|
method: "POST",
|
|
229
235
|
methodFqn: "wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig",
|
|
230
236
|
packageName: PACKAGE_NAME,
|
|
237
|
+
migrationOptions: {
|
|
238
|
+
optInTransformResponse: true
|
|
239
|
+
},
|
|
231
240
|
url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({
|
|
232
241
|
protoPath: "/v2/notification-configs/{notificationConfig.id}",
|
|
233
242
|
data: serializedData,
|