@wix/auto_sdk_events_notifications 1.0.40 → 1.0.42
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 +10 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -1
- package/build/cjs/index.typings.js +10 -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 +10 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -1
- package/build/es/index.typings.mjs +10 -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 +10 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -1
- package/build/internal/cjs/index.typings.js +10 -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 +10 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -1
- package/build/internal/es/index.typings.mjs +10 -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
package/build/cjs/index.js
CHANGED
|
@@ -178,6 +178,9 @@ function triggerNotification(payload) {
|
|
|
178
178
|
method: "POST",
|
|
179
179
|
methodFqn: "wix.events.notifications.v2.NotificationService.TriggerNotification",
|
|
180
180
|
packageName: PACKAGE_NAME,
|
|
181
|
+
migrationOptions: {
|
|
182
|
+
optInTransformResponse: true
|
|
183
|
+
},
|
|
181
184
|
url: resolveWixEventsNotificationsV2NotificationServiceUrl({
|
|
182
185
|
protoPath: "/v2/notifications/trigger",
|
|
183
186
|
data: payload,
|
|
@@ -196,6 +199,9 @@ function resolveNotificationConfig(payload) {
|
|
|
196
199
|
method: "GET",
|
|
197
200
|
methodFqn: "wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig",
|
|
198
201
|
packageName: PACKAGE_NAME,
|
|
202
|
+
migrationOptions: {
|
|
203
|
+
optInTransformResponse: true
|
|
204
|
+
},
|
|
199
205
|
url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({
|
|
200
206
|
protoPath: "/v2/notification-configs/resolve/{notificationConfigId}",
|
|
201
207
|
data: payload,
|
|
@@ -236,6 +242,9 @@ function upsertNotificationConfig(payload) {
|
|
|
236
242
|
method: "POST",
|
|
237
243
|
methodFqn: "wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig",
|
|
238
244
|
packageName: PACKAGE_NAME,
|
|
245
|
+
migrationOptions: {
|
|
246
|
+
optInTransformResponse: true
|
|
247
|
+
},
|
|
239
248
|
url: resolveWixEventsNotificationsV2NotificationConfigManagementUrl({
|
|
240
249
|
protoPath: "/v2/notification-configs/{notificationConfig.id}",
|
|
241
250
|
data: serializedData,
|
|
@@ -348,6 +357,7 @@ var TaxType = /* @__PURE__ */ ((TaxType2) => {
|
|
|
348
357
|
return TaxType2;
|
|
349
358
|
})(TaxType || {});
|
|
350
359
|
var CheckoutType = /* @__PURE__ */ ((CheckoutType2) => {
|
|
360
|
+
CheckoutType2["UNKNOWN_CHECKOUT_TYPE"] = "UNKNOWN_CHECKOUT_TYPE";
|
|
351
361
|
CheckoutType2["EVENTS_APP"] = "EVENTS_APP";
|
|
352
362
|
CheckoutType2["ECOMM_PLATFORM"] = "ECOMM_PLATFORM";
|
|
353
363
|
return CheckoutType2;
|