@wix/auto_sdk_events_notifications 1.0.38 → 1.0.40

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
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, BackgroundType, BackgroundTypeWithLiterals, Badge, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, BulletedListData, ButtonData, ButtonDataType, ButtonDataTypeWithLiterals, ButtonStyles, CalendarLinks, CaptionData, CardStyles, CardStylesType, CardStylesTypeWithLiterals, Category, CategoryCounts, CellStyle, CheckIn, CheckoutFormMessages, 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, 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, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, InputValue, Invoice, Item, ItemStyle, Keyword, Label, LabellingSettings, Layout, LayoutCellData, 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, RestoreInfo, RibbonStyles, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpConfirmationMessages, RsvpConfirmationMessagesNegativeResponseConfirmation, RsvpConfirmationMessagesPositiveResponseConfirmation, RsvpFormMessages, RsvpGuest, RsvpStatusOptions, RsvpStatusOptionsWithLiterals, RsvpSummary, 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, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VisitorType, VisitorTypeWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
3
+ export { ActionEvent, Address, AddressLocation, AddressStreetOneOf, Agenda, Alignment, AlignmentWithLiterals, AnchorData, AppEmbedData, AppEmbedDataAppDataOneOf, AppType, AppTypeWithLiterals, AspectRatio, AspectRatioWithLiterals, AudioData, Background, BackgroundBackgroundOneOf, BackgroundType, BackgroundTypeWithLiterals, Badge, BaseEventMetadata, BlockquoteData, BookingData, Border, BorderColors, 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, 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, ImageStyles, InitialExpandedItems, InitialExpandedItemsWithLiterals, Input, InputControl, InputControlType, InputControlTypeWithLiterals, InputValue, Invoice, Item, ItemStyle, Keyword, Label, LabellingSettings, Layout, LayoutCellData, 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, RestoreInfo, RibbonStyles, RichContent, RsvpCollection, RsvpCollectionConfig, RsvpConfirmationMessages, RsvpConfirmationMessagesNegativeResponseConfirmation, RsvpConfirmationMessagesPositiveResponseConfirmation, RsvpFormMessages, RsvpGuest, RsvpStatusOptions, RsvpStatusOptionsWithLiterals, RsvpSummary, 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, VerticalAlignmentWithLiterals, Video, VideoData, ViewMode, ViewModeWithLiterals, ViewRole, ViewRoleWithLiterals, VisitorType, VisitorTypeWithLiterals, VoteRole, VoteRoleWithLiterals, WebhookIdentityType, WebhookIdentityTypeWithLiterals, Width, WidthType, WidthTypeWithLiterals, WidthWithLiterals } from './index.typings.js';
4
4
 
5
5
  declare function triggerNotification$1(httpClient: HttpClient): TriggerNotificationSignature;
6
6
  interface TriggerNotificationSignature {
@@ -32,8 +32,8 @@ declare const triggerNotification: MaybeContext<BuildRESTFunction<typeof trigger
32
32
  declare const resolveNotificationConfig: MaybeContext<BuildRESTFunction<typeof resolveNotificationConfig$1> & typeof resolveNotificationConfig$1>;
33
33
  declare const upsertNotificationConfig: MaybeContext<BuildRESTFunction<typeof upsertNotificationConfig$1> & typeof upsertNotificationConfig$1>;
34
34
  /** */
35
- declare const onNotificationConfigCreated: BuildEventDefinition<typeof onNotificationConfigCreated$1>;
35
+ declare const onNotificationConfigCreated: BuildEventDefinition<typeof onNotificationConfigCreated$1> & typeof onNotificationConfigCreated$1;
36
36
  /** */
37
- declare const onNotificationConfigUpdated: BuildEventDefinition<typeof onNotificationConfigUpdated$1>;
37
+ declare const onNotificationConfigUpdated: BuildEventDefinition<typeof onNotificationConfigUpdated$1> & typeof onNotificationConfigUpdated$1;
38
38
 
39
39
  export { NotificationConfigCreatedEnvelope, NotificationConfigUpdatedEnvelope, ResolveNotificationConfigResponse, TriggerNotificationOptions, UpsertNotificationConfig, UpsertNotificationConfigResponse, onNotificationConfigCreated, onNotificationConfigUpdated, resolveNotificationConfig, triggerNotification, upsertNotificationConfig };
@@ -26,6 +26,7 @@ __export(index_exports, {
26
26
  BackgroundType: () => BackgroundType,
27
27
  ButtonDataType: () => ButtonDataType,
28
28
  CardStylesType: () => CardStylesType,
29
+ CheckoutType: () => CheckoutType,
29
30
  ConferenceType: () => ConferenceType,
30
31
  Crop: () => Crop,
31
32
  DecorationType: () => DecorationType,
@@ -346,6 +347,11 @@ var TaxType = /* @__PURE__ */ ((TaxType2) => {
346
347
  TaxType2["ADDED_AT_CHECKOUT"] = "ADDED_AT_CHECKOUT";
347
348
  return TaxType2;
348
349
  })(TaxType || {});
350
+ var CheckoutType = /* @__PURE__ */ ((CheckoutType2) => {
351
+ CheckoutType2["EVENTS_APP"] = "EVENTS_APP";
352
+ CheckoutType2["ECOMM_PLATFORM"] = "ECOMM_PLATFORM";
353
+ return CheckoutType2;
354
+ })(CheckoutType || {});
349
355
  var VisitorType = /* @__PURE__ */ ((VisitorType2) => {
350
356
  VisitorType2["VISITOR"] = "VISITOR";
351
357
  VisitorType2["MEMBER"] = "MEMBER";
@@ -840,8 +846,12 @@ var import_event_definition_modules = require("@wix/sdk-runtime/event-definition
840
846
  var triggerNotification4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(triggerNotification3);
841
847
  var resolveNotificationConfig4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(resolveNotificationConfig3);
842
848
  var upsertNotificationConfig4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(upsertNotificationConfig3);
843
- var onNotificationConfigCreated2 = (0, import_event_definition_modules.createEventModule)(onNotificationConfigCreated);
844
- var onNotificationConfigUpdated2 = (0, import_event_definition_modules.createEventModule)(onNotificationConfigUpdated);
849
+ var onNotificationConfigCreated2 = (0, import_event_definition_modules.createEventModule)(
850
+ onNotificationConfigCreated
851
+ );
852
+ var onNotificationConfigUpdated2 = (0, import_event_definition_modules.createEventModule)(
853
+ onNotificationConfigUpdated
854
+ );
845
855
  // Annotate the CommonJS export names for ESM import in node:
846
856
  0 && (module.exports = {
847
857
  Alignment,
@@ -850,6 +860,7 @@ var onNotificationConfigUpdated2 = (0, import_event_definition_modules.createEve
850
860
  BackgroundType,
851
861
  ButtonDataType,
852
862
  CardStylesType,
863
+ CheckoutType,
853
864
  ConferenceType,
854
865
  Crop,
855
866
  DecorationType,