@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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +10 -10
  2. package/build/cjs/index.js +85 -555
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +397 -3222
  5. package/build/cjs/index.typings.js +77 -547
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +268 -3110
  8. package/build/cjs/meta.js +63 -533
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +10 -10
  11. package/build/es/index.mjs +85 -504
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +397 -3222
  14. package/build/es/index.typings.mjs +77 -496
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +268 -3110
  17. package/build/es/meta.mjs +63 -482
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +10 -10
  20. package/build/internal/cjs/index.js +85 -555
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +397 -3222
  23. package/build/internal/cjs/index.typings.js +77 -547
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +268 -3110
  26. package/build/internal/cjs/meta.js +63 -533
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +10 -10
  29. package/build/internal/es/index.mjs +85 -504
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +397 -3222
  32. package/build/internal/es/index.typings.mjs +77 -496
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +268 -3110
  35. package/build/internal/es/meta.mjs +63 -482
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,14 +1,7 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { TriggerNotificationOptions, ResolveNotificationConfigResponse, UpsertNotificationConfig, UpsertNotificationConfigResponse, NotificationConfigCreatedEnvelope, NotificationConfigUpdatedEnvelope } from './index.typings.js';
3
- export { ActionEvent, Address, AddressLocation, AddressStreetOneOf, Agenda, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundImage, BackgroundType, BackgroundTypeWithLiterals, Badge, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BorderWidths, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarLinks, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryCounts, CellStyle, CheckIn, CheckoutFormMessages, CheckoutType, CheckoutTypeWithLiterals, CodeBlockData, CollapsibleListData, ColorData, Colors, CommonAddress, CommonAddressLocation, CommonAddressStreetOneOf, CommonStreetAddress, CommonSubdivision, ConferenceType, ConferenceTypeWithLiterals, CouponDiscount, Crop, CropWithLiterals, Dashboard, Decoration, DecorationDataOneOf, DecorationType, DecorationTypeWithLiterals, Design, Dimensions, Direction, DirectionWithLiterals, Discount, DiscountItem, DiscountItemDiscountOneOf, DividerData, DividerDataAlignment, DividerDataAlignmentWithLiterals, DocumentStyle, DomainEvent, DomainEventBodyOneOf, EmailNotificationConfig, EmailNotificationReminderTime, EmailNotificationReminderTimeWithLiterals, EmailNotificationType, EmailNotificationTypeWithLiterals, EmailTemplate, EmbedData, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, Event, EventCanceled, EventCopied, EventData, EventDeleted, EventDisplaySettings, EventEnded, EventGuests, EventMetadata, EventReminder, EventStarted, EventStatus, EventStatusWithLiterals, EventType, EventTypeWithLiterals, EventUpdated, ExternalEvent, Fee, FeeName, FeeNameWithLiterals, FeeType, FeeTypeWithLiterals, Feed, FileData, FileSource, FileSourceDataOneOf, FontFamilyData, FontSizeData, FontType, FontTypeWithLiterals, Form, FormMessages, FormResponse, FormattedAddress, GIF, GIFData, GIFType, GIFTypeWithLiterals, GalleryData, GalleryDataItem, GalleryDataItemDataOneOf, GalleryOptions, GalleryOptionsLayout, Gradient, GuestListConfig, HTMLData, HTMLDataDataOneOf, HeadingData, Height, IdentificationData, IdentificationDataIdOneOf, Image, ImageData, ImageDataStyles, ImagePosition, ImagePositionWithLiterals, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, InputValue, Invoice, Item, ItemStyle, Keyword, Label, LabellingSettings, Layout, LayoutCellData, LayoutData, LayoutType, LayoutTypeWithLiterals, LayoutWithLiterals, LineStyle, LineStyleWithLiterals, Link, LinkData, LinkPreviewData, LinkPreviewDataStyles, ListValue, Location, LocationType, LocationTypeWithLiterals, MapCoordinates, MapData, MapSettings, MapType, MapTypeWithLiterals, Media, MentionData, MessageEnvelope, Metadata, Money, Negative, NegativeResponseConfirmation, Node, NodeDataOneOf, NodeStyle, NodeType, NodeTypeWithLiterals, NotificationConfig, NullValue, NullValueWithLiterals, Occurrence, Oembed, OnlineConferencing, OnlineConferencingConfig, OnlineConferencingLogin, OnlineConferencingSession, Option, OptionDesign, OptionLayout, OptionSelection, OptionSelectionSelectedOptionOneOf, OrderCanceled, OrderConfirmed, OrderEmailAdded, OrderGuest, OrderPaid, OrderStatus, OrderStatusWithLiterals, OrderedListData, Orientation, OrientationWithLiterals, PDFSettings, PaidPlanDiscount, PaidPlanDiscountDiscountOneOf, ParagraphData, PercentDiscount, Permissions, Placement, PlacementWithLiterals, PlaybackOptions, PluginContainerData, PluginContainerDataAlignment, PluginContainerDataAlignmentWithLiterals, PluginContainerDataWidth, PluginContainerDataWidthDataOneOf, Poll, PollData, PollDataLayout, PollDesign, PollLayout, PollLayoutDirection, PollLayoutDirectionWithLiterals, PollLayoutType, PollLayoutTypeWithLiterals, PollSettings, Position, PositionWithLiterals, Positive, PositiveResponseConfirmation, PricingData, PushNotificationType, PushNotificationTypeWithLiterals, Recurrences, Registration, RegistrationClosedMessages, RegistrationStatus, RegistrationStatusWithLiterals, Rel, Resizing, ResizingWithLiterals, ResolveEmailNotificationConfigRequest, ResolveEmailNotificationConfigResponse, ResolveNotificationConfigRequest, ResponseConfirmation, ResponsivenessBehaviour, ResponsivenessBehaviourWithLiterals, RestoreInfo, RibbonStyles, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpConfirmationMessages, RsvpConfirmationMessagesNegativeResponseConfirmation, RsvpConfirmationMessagesPositiveResponseConfirmation, RsvpFormMessages, RsvpGuest, RsvpStatusOptions, RsvpStatusOptionsWithLiterals, RsvpSummary, Scaling, ScalingWithLiterals, ScheduleConfig, Scheduling, SeoSchema, SeoSettings, Settings, SiteUrl, Source, SourceWithLiterals, Spoiler, SpoilerData, StandardDetails, State, StateWithLiterals, Status, StatusWithLiterals, StreetAddress, Styles, StylesBorder, StylesPosition, StylesPositionWithLiterals, Subdivision, SubdivisionType, SubdivisionTypeWithLiterals, TableCellData, TableData, Tag, Target, TargetWithLiterals, Tax, TaxConfig, TaxType, TaxTypeWithLiterals, TextAlignment, TextAlignmentWithLiterals, TextData, TextNodeStyle, TextStyle, Thumbnails, ThumbnailsAlignment, ThumbnailsAlignmentWithLiterals, Ticket, TicketGuest, TicketPdfResolveDelayed, TicketPdfResolved, Ticketing, TicketingConfig, TicketingSummary, TicketsConfirmationMessages, TicketsUnavailableMessages, TimeDuration, TriggerNotificationOptionsGuestsOneOf, TriggerNotificationOptionsNotificationOneOf, TriggerNotificationRequest, TriggerNotificationRequestGuestsOneOf, TriggerNotificationRequestNotificationOneOf, TriggerNotificationResponse, Type, TypeWithLiterals, UpsertNotificationConfigRequest, V1Link, V1LinkDataOneOf, ValueType, ValueTypeWithLiterals, VerticalAlignment, VerticalAlignmentAlignment, VerticalAlignmentAlignmentWithLiterals, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VisitorType, VisitorTypeWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
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
  /** */