@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.
@@ -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,
@@ -256,6 +265,7 @@ var TaxType = /* @__PURE__ */ ((TaxType2) => {
256
265
  return TaxType2;
257
266
  })(TaxType || {});
258
267
  var CheckoutType = /* @__PURE__ */ ((CheckoutType2) => {
268
+ CheckoutType2["UNKNOWN_CHECKOUT_TYPE"] = "UNKNOWN_CHECKOUT_TYPE";
259
269
  CheckoutType2["EVENTS_APP"] = "EVENTS_APP";
260
270
  CheckoutType2["ECOMM_PLATFORM"] = "ECOMM_PLATFORM";
261
271
  return CheckoutType2;