@wix/auto_sdk_events_notifications 1.0.34 → 1.0.36
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.d.ts +3 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +3 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +3 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -7
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +3 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -4125,7 +4125,6 @@ interface NotificationConfigUpdatedEnvelope {
|
|
|
4125
4125
|
* @documentationMaturity preview
|
|
4126
4126
|
*/
|
|
4127
4127
|
declare function onNotificationConfigUpdated(handler: (event: NotificationConfigUpdatedEnvelope) => void | Promise<void>): void;
|
|
4128
|
-
type NotificationConfigNonNullablePaths = `rsvpConfirmation.notificationType` | `rsvpConfirmation.reminderTime` | `newSpotsAvailable.notificationType` | `newSpotsAvailable.reminderTime` | `eventCancelation.notificationType` | `eventCancelation.reminderTime` | `upcomingEventReminder.notificationType` | `upcomingEventReminder.reminderTime` | `orderConfirmation.notificationType` | `orderConfirmation.reminderTime` | `ticketConfirmation.notificationType` | `ticketConfirmation.reminderTime` | `invoice.notificationType` | `invoice.reminderTime` | `orderConfirmationWithTicketsLink.notificationType` | `orderConfirmationWithTicketsLink.reminderTime`;
|
|
4129
4128
|
/**
|
|
4130
4129
|
* Triggers notification
|
|
4131
4130
|
* @public
|
|
@@ -4180,9 +4179,7 @@ interface TriggerNotificationOptionsGuestsOneOf {
|
|
|
4180
4179
|
* @applicableIdentity APP
|
|
4181
4180
|
* @fqn wix.events.notifications.v2.NotificationConfigManagement.ResolveNotificationConfig
|
|
4182
4181
|
*/
|
|
4183
|
-
declare function resolveNotificationConfig(notificationConfigId: string): Promise<NonNullablePaths<ResolveNotificationConfigResponse,
|
|
4184
|
-
[P in NotificationConfigNonNullablePaths]: `notificationConfig.${P}`;
|
|
4185
|
-
}[NotificationConfigNonNullablePaths]>>;
|
|
4182
|
+
declare function resolveNotificationConfig(notificationConfigId: string): Promise<NonNullablePaths<ResolveNotificationConfigResponse, `notificationConfig.rsvpConfirmation.notificationType` | `notificationConfig.rsvpConfirmation.reminderTime`>>;
|
|
4186
4183
|
/**
|
|
4187
4184
|
* Upsert a NotificationConfig
|
|
4188
4185
|
* @param _id - Event ID.
|
|
@@ -4194,9 +4191,7 @@ declare function resolveNotificationConfig(notificationConfigId: string): Promis
|
|
|
4194
4191
|
* @applicableIdentity APP
|
|
4195
4192
|
* @fqn wix.events.notifications.v2.NotificationConfigManagement.UpsertNotificationConfig
|
|
4196
4193
|
*/
|
|
4197
|
-
declare function upsertNotificationConfig(_id: string, notificationConfig: UpsertNotificationConfig): Promise<NonNullablePaths<UpsertNotificationConfigResponse,
|
|
4198
|
-
[P in NotificationConfigNonNullablePaths]: `notificationConfig.${P}`;
|
|
4199
|
-
}[NotificationConfigNonNullablePaths]>>;
|
|
4194
|
+
declare function upsertNotificationConfig(_id: string, notificationConfig: UpsertNotificationConfig): Promise<NonNullablePaths<UpsertNotificationConfigResponse, `notificationConfig.rsvpConfirmation.notificationType` | `notificationConfig.rsvpConfirmation.reminderTime`>>;
|
|
4200
4195
|
interface UpsertNotificationConfig {
|
|
4201
4196
|
/**
|
|
4202
4197
|
* Event ID.
|