@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.
@@ -847,13 +847,14 @@ interface TicketsConfirmationMessages {
847
847
  shareActionLabel?: string | null;
848
848
  }
849
849
  declare enum CheckoutType {
850
+ UNKNOWN_CHECKOUT_TYPE = "UNKNOWN_CHECKOUT_TYPE",
850
851
  /** Checkout using Events App. */
851
852
  EVENTS_APP = "EVENTS_APP",
852
853
  /** Checkout using Ecomm Platform. */
853
854
  ECOMM_PLATFORM = "ECOMM_PLATFORM"
854
855
  }
855
856
  /** @enumType */
856
- type CheckoutTypeWithLiterals = CheckoutType | 'EVENTS_APP' | 'ECOMM_PLATFORM';
857
+ type CheckoutTypeWithLiterals = CheckoutType | 'UNKNOWN_CHECKOUT_TYPE' | 'EVENTS_APP' | 'ECOMM_PLATFORM';
857
858
  interface Money {
858
859
  /**
859
860
  * *Deprecated:** Use `value` instead.
@@ -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,
@@ -340,6 +349,7 @@ var TaxType = /* @__PURE__ */ ((TaxType2) => {
340
349
  return TaxType2;
341
350
  })(TaxType || {});
342
351
  var CheckoutType = /* @__PURE__ */ ((CheckoutType2) => {
352
+ CheckoutType2["UNKNOWN_CHECKOUT_TYPE"] = "UNKNOWN_CHECKOUT_TYPE";
343
353
  CheckoutType2["EVENTS_APP"] = "EVENTS_APP";
344
354
  CheckoutType2["ECOMM_PLATFORM"] = "ECOMM_PLATFORM";
345
355
  return CheckoutType2;