@wix/auto_sdk_events_notifications 1.0.57 → 1.0.59
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 +10 -10
- package/build/cjs/index.js +85 -555
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +397 -3222
- package/build/cjs/index.typings.js +77 -547
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +268 -3110
- package/build/cjs/meta.js +63 -533
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +10 -10
- package/build/es/index.mjs +85 -504
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +397 -3222
- package/build/es/index.typings.mjs +77 -496
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +268 -3110
- package/build/es/meta.mjs +63 -482
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +10 -10
- package/build/internal/cjs/index.js +85 -555
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +397 -3222
- package/build/internal/cjs/index.typings.js +77 -547
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +268 -3110
- package/build/internal/cjs/meta.js +63 -533
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +10 -10
- package/build/internal/es/index.mjs +85 -504
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +397 -3222
- package/build/internal/es/index.typings.mjs +77 -496
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +268 -3110
- package/build/internal/es/meta.mjs +63 -482
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import {
|
|
3
|
-
export { ActionEvent, Address, AddressLocation, AddressStreetOneOf,
|
|
2
|
+
import { ResolveNotificationConfigResponse, UpsertNotificationConfig, UpsertNotificationConfigResponse, TriggerNotificationOptions, NotificationConfigCreatedEnvelope, NotificationConfigUpdatedEnvelope } from './index.typings.js';
|
|
3
|
+
export { ActionEvent, Address, AddressLocation, AddressStreetOneOf, BaseEventMetadata, CheckIn, CommonAddress, CommonAddressLocation, CommonAddressStreetOneOf, CommonStreetAddress, CommonSubdivision, CouponDiscount, Discount, DiscountItem, DiscountItemDiscountOneOf, DomainEvent, DomainEventBodyOneOf, EmailNotificationConfig, EmailNotificationReminderTime, EmailNotificationReminderTimeWithLiterals, EmailNotificationType, EmailNotificationTypeWithLiterals, EmailTemplate, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventCanceled, EventCopied, EventDeleted, EventGuests, EventMetadata, EventStatus, EventStatusWithLiterals, Fee, FeeName, FeeNameWithLiterals, FeeType, FeeTypeWithLiterals, FormResponse, FormattedAddress, IdentificationData, IdentificationDataIdOneOf, InputValue, Invoice, Item, Link, Location, LocationType, LocationTypeWithLiterals, MapCoordinates, MessageEnvelope, Money, NotificationConfig, Occurrence, OnlineConferencingLogin, OrderCanceled, OrderConfirmed, OrderEmailAdded, OrderGuest, OrderPaid, OrderStatus, OrderStatusWithLiterals, PaidPlanDiscount, PaidPlanDiscountDiscountOneOf, PercentDiscount, PushNotificationType, PushNotificationTypeWithLiterals, Recurrences, ResolveEmailNotificationConfigRequest, ResolveEmailNotificationConfigResponse, ResolveNotificationConfigRequest, RestoreInfo, RsvpGuest, ScheduleConfig, StandardDetails, Status, StatusWithLiterals, StreetAddress, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, Tax, TaxType, TaxTypeWithLiterals, Ticket, TicketGuest, TicketPdfResolveDelayed, TicketPdfResolved, TriggerNotificationOptionsGuestsOneOf, TriggerNotificationOptionsNotificationOneOf, TriggerNotificationRequest, TriggerNotificationRequestGuestsOneOf, TriggerNotificationRequestNotificationOneOf, TriggerNotificationResponse, UpsertNotificationConfigRequest, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.js';
|
|
4
4
|
|
|
5
|
-
declare function triggerNotification$1(httpClient: HttpClient): TriggerNotificationSignature;
|
|
6
|
-
interface TriggerNotificationSignature {
|
|
7
|
-
/**
|
|
8
|
-
* Triggers notification
|
|
9
|
-
*/
|
|
10
|
-
(options: TriggerNotificationOptions): Promise<void>;
|
|
11
|
-
}
|
|
12
5
|
declare function resolveNotificationConfig$1(httpClient: HttpClient): ResolveNotificationConfigSignature;
|
|
13
6
|
interface ResolveNotificationConfigSignature {
|
|
14
7
|
/**
|
|
@@ -25,12 +18,19 @@ interface UpsertNotificationConfigSignature {
|
|
|
25
18
|
*/
|
|
26
19
|
(_id: string, notificationConfig: UpsertNotificationConfig): Promise<NonNullablePaths<UpsertNotificationConfigResponse, `notificationConfig.rsvpConfirmation.notificationType` | `notificationConfig.rsvpConfirmation.reminderTime`, 4>>;
|
|
27
20
|
}
|
|
21
|
+
declare function triggerNotification$1(httpClient: HttpClient): TriggerNotificationSignature;
|
|
22
|
+
interface TriggerNotificationSignature {
|
|
23
|
+
/**
|
|
24
|
+
* Triggers notification
|
|
25
|
+
*/
|
|
26
|
+
(options: TriggerNotificationOptions): Promise<void>;
|
|
27
|
+
}
|
|
28
28
|
declare const onNotificationConfigCreated$1: EventDefinition<NotificationConfigCreatedEnvelope, "wix.events.notifications.v2.notification_config_created">;
|
|
29
29
|
declare const onNotificationConfigUpdated$1: EventDefinition<NotificationConfigUpdatedEnvelope, "wix.events.notifications.v2.notification_config_updated">;
|
|
30
30
|
|
|
31
|
-
declare const triggerNotification: MaybeContext<BuildRESTFunction<typeof triggerNotification$1> & typeof triggerNotification$1>;
|
|
32
31
|
declare const resolveNotificationConfig: MaybeContext<BuildRESTFunction<typeof resolveNotificationConfig$1> & typeof resolveNotificationConfig$1>;
|
|
33
32
|
declare const upsertNotificationConfig: MaybeContext<BuildRESTFunction<typeof upsertNotificationConfig$1> & typeof upsertNotificationConfig$1>;
|
|
33
|
+
declare const triggerNotification: MaybeContext<BuildRESTFunction<typeof triggerNotification$1> & typeof triggerNotification$1>;
|
|
34
34
|
/** */
|
|
35
35
|
declare const onNotificationConfigCreated: BuildEventDefinition<typeof onNotificationConfigCreated$1> & typeof onNotificationConfigCreated$1;
|
|
36
36
|
/** */
|