@wix/auto_sdk_events_wix-events-v-2 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 +13 -3
- package/build/cjs/index.js +146 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +23 -20
- package/build/cjs/index.typings.js +137 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -3
- package/build/cjs/meta.js +102 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +13 -3
- package/build/es/index.mjs +145 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +23 -20
- package/build/es/index.typings.mjs +136 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -3
- package/build/es/meta.mjs +101 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +13 -3
- package/build/internal/cjs/index.js +146 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +23 -20
- package/build/internal/cjs/index.typings.js +137 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +6 -3
- package/build/internal/cjs/meta.js +102 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +13 -3
- package/build/internal/es/index.mjs +145 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +23 -20
- package/build/internal/es/index.typings.mjs +136 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +6 -3
- package/build/internal/es/meta.mjs +101 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -3555,7 +3555,7 @@ interface ListEventsByCategoryRequest {
|
|
|
3555
3555
|
* Category ID.
|
|
3556
3556
|
* @format GUID
|
|
3557
3557
|
*/
|
|
3558
|
-
categoryId
|
|
3558
|
+
categoryId: string;
|
|
3559
3559
|
/** Paging options to limit and skip the number of items. */
|
|
3560
3560
|
paging?: CommonPaging;
|
|
3561
3561
|
/**
|
|
@@ -3904,8 +3904,6 @@ interface EventCanceledEnvelope {
|
|
|
3904
3904
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
3905
3905
|
* @permissionScope View SEO Settings
|
|
3906
3906
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
3907
|
-
* @permissionScope Manage Blog
|
|
3908
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
3909
3907
|
* @permissionScope Access Verticals by Automations
|
|
3910
3908
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
3911
3909
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -3946,8 +3944,6 @@ interface EventClonedEnvelope {
|
|
|
3946
3944
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
3947
3945
|
* @permissionScope View SEO Settings
|
|
3948
3946
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
3949
|
-
* @permissionScope Manage Blog
|
|
3950
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
3951
3947
|
* @permissionScope Access Verticals by Automations
|
|
3952
3948
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
3953
3949
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -3988,8 +3984,6 @@ interface EventCreatedEnvelope {
|
|
|
3988
3984
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
3989
3985
|
* @permissionScope View SEO Settings
|
|
3990
3986
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
3991
|
-
* @permissionScope Manage Blog
|
|
3992
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
3993
3987
|
* @permissionScope Access Verticals by Automations
|
|
3994
3988
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
3995
3989
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -4029,8 +4023,6 @@ interface EventDeletedEnvelope {
|
|
|
4029
4023
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
4030
4024
|
* @permissionScope View SEO Settings
|
|
4031
4025
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
4032
|
-
* @permissionScope Manage Blog
|
|
4033
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
4034
4026
|
* @permissionScope Access Verticals by Automations
|
|
4035
4027
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
4036
4028
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -4071,8 +4063,6 @@ interface EventEndedEnvelope {
|
|
|
4071
4063
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
4072
4064
|
* @permissionScope View SEO Settings
|
|
4073
4065
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
4074
|
-
* @permissionScope Manage Blog
|
|
4075
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
4076
4066
|
* @permissionScope Access Verticals by Automations
|
|
4077
4067
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
4078
4068
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -4113,8 +4103,6 @@ interface EventPublishedEnvelope {
|
|
|
4113
4103
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
4114
4104
|
* @permissionScope View SEO Settings
|
|
4115
4105
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
4116
|
-
* @permissionScope Manage Blog
|
|
4117
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
4118
4106
|
* @permissionScope Access Verticals by Automations
|
|
4119
4107
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
4120
4108
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -4161,8 +4149,6 @@ interface EventReminderEnvelope {
|
|
|
4161
4149
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
4162
4150
|
* @permissionScope View SEO Settings
|
|
4163
4151
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
4164
|
-
* @permissionScope Manage Blog
|
|
4165
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
4166
4152
|
* @permissionScope Access Verticals by Automations
|
|
4167
4153
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
4168
4154
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -4203,8 +4189,6 @@ interface EventStartedEnvelope {
|
|
|
4203
4189
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
4204
4190
|
* @permissionScope View SEO Settings
|
|
4205
4191
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
4206
|
-
* @permissionScope Manage Blog
|
|
4207
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
4208
4192
|
* @permissionScope Access Verticals by Automations
|
|
4209
4193
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
4210
4194
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -4245,8 +4229,6 @@ interface EventUpdatedEnvelope {
|
|
|
4245
4229
|
* @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
|
|
4246
4230
|
* @permissionScope View SEO Settings
|
|
4247
4231
|
* @permissionScopeId SCOPE.PROMOTE.VIEW-SEO
|
|
4248
|
-
* @permissionScope Manage Blog
|
|
4249
|
-
* @permissionScopeId SCOPE.BLOG.MANAGE-BLOG
|
|
4250
4232
|
* @permissionScope Access Verticals by Automations
|
|
4251
4233
|
* @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
|
|
4252
4234
|
* @permissionScope Manage Restaurants - all permissions
|
|
@@ -4668,6 +4650,27 @@ interface CountEventsByStatusOptions {
|
|
|
4668
4650
|
*/
|
|
4669
4651
|
includeDrafts?: boolean;
|
|
4670
4652
|
}
|
|
4653
|
+
/**
|
|
4654
|
+
* Retrieves a list of up to 100 events that belong to the same event category.
|
|
4655
|
+
* @param categoryId - Category ID.
|
|
4656
|
+
* @public
|
|
4657
|
+
* @documentationMaturity preview
|
|
4658
|
+
* @requiredField categoryId
|
|
4659
|
+
* @param options - Optional fields.
|
|
4660
|
+
* @permissionId WIX_EVENTS.READ_EVENTS
|
|
4661
|
+
* @applicableIdentity APP
|
|
4662
|
+
* @fqn wix.events.events.v3.EventManagement.ListEventsByCategory
|
|
4663
|
+
*/
|
|
4664
|
+
declare function listEventsByCategory(categoryId: string, options?: ListEventsByCategoryOptions): Promise<NonNullablePaths<ListEventsByCategoryResponse, `events` | `events.${number}._id` | `events.${number}.location.type` | `events.${number}.dateAndTimeSettings.recurrenceStatus` | `events.${number}.slug` | `events.${number}.status` | `events.${number}.registration.type` | `events.${number}.registration.status` | `events.${number}.registration.rsvp.responseType` | `events.${number}.registration.rsvp.waitlistEnabled` | `events.${number}.registration.tickets.guestsAssignedSeparately` | `events.${number}.registration.tickets.ticketLimitPerOrder` | `events.${number}.registration.allowedGuestTypes` | `events.${number}.registration.initialType` | `events.${number}.registration.registrationPaused` | `events.${number}.registration.registrationDisabled` | `events.${number}.calendarUrls.google` | `events.${number}.calendarUrls.ics` | `events.${number}.summaries.rsvps.totalCount` | `events.${number}.summaries.rsvps.yesCount` | `events.${number}.summaries.rsvps.noCount` | `events.${number}.summaries.rsvps.waitlistCount` | `events.${number}.summaries.tickets.ticketsSold` | `events.${number}.summaries.tickets.currencyLocked` | `events.${number}.summaries.tickets.totalOrders` | `events.${number}.instanceId` | `events.${number}.guestListSettings.displayedPublicly` | `events.${number}.userId` | `events.${number}.onlineConferencing.enabled` | `events.${number}.onlineConferencing.type` | `events.${number}.onlineConferencing.session.hostLink` | `events.${number}.onlineConferencing.session.guestLink` | `events.${number}.seoSettings.slug` | `events.${number}.agendaSettings.enabled`, 6>>;
|
|
4665
|
+
interface ListEventsByCategoryOptions {
|
|
4666
|
+
/** Paging options to limit and skip the number of items. */
|
|
4667
|
+
paging?: CommonPaging;
|
|
4668
|
+
/**
|
|
4669
|
+
* Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.
|
|
4670
|
+
* @maxSize 20
|
|
4671
|
+
*/
|
|
4672
|
+
fields?: RequestedFieldsWithLiterals[];
|
|
4673
|
+
}
|
|
4671
4674
|
/**
|
|
4672
4675
|
* Retrieves an event by ID.
|
|
4673
4676
|
* @param eventId - Event ID.
|
|
@@ -4705,4 +4708,4 @@ interface GetEventBySlugOptions {
|
|
|
4705
4708
|
fields?: RequestedFieldsWithLiterals[];
|
|
4706
4709
|
}
|
|
4707
4710
|
|
|
4708
|
-
export { type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, type AgendaSettings, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type BadgeList, BadgeTypeType, type BadgeTypeTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkCancelEventsByFilterOptions, type BulkCancelEventsByFilterRequest, type BulkCancelEventsByFilterResponse, type BulkDeleteEventsByFilterOptions, type BulkDeleteEventsByFilterRequest, type BulkDeleteEventsByFilterResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarUrls, type CancelEventApplicationErrors, type CancelEventOptions, type CancelEventRequest, type CancelEventResponse, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CloneEventFromOtherSiteRequest, type CloneEventFromOtherSiteResponse, type CloneEventOptions, type CloneEventRequest, type CloneEventResponse, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonCursors, type CommonPaging, type CommonPagingMetadataV2, type CommonQueryV2, type CommonQueryV2PagingMethodOneOf, CommonSortOrder, type CommonSortOrderWithLiterals, type CommonSorting, ConferenceTypeType, type ConferenceTypeTypeWithLiterals, type CountEventsByStatusApplicationErrors, type CountEventsByStatusOptions, type CountEventsByStatusRequest, type CountEventsByStatusResponse, type CreateEventApplicationErrors, type CreateEventOptions, type CreateEventRequest, type CreateEventResponse, type CreateEventValidationErrors, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type DateAndTimeSettings, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteEventRequest, type DeleteEventResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventCanceled, type EventCanceledEnvelope, type EventCategories, type EventCategory, type EventCloned, type EventClonedEnvelope, type EventCreatedEnvelope, type EventData, type EventDeletedEnvelope, type EventDisplaySettings, type EventEnded, type EventEndedEnvelope, type EventMetadata, type EventPublished, type EventPublishedEnvelope, type EventReminder, type EventReminderEnvelope, type EventStarted, type EventStartedEnvelope, type EventUpdatedEnvelope, type EventsMoney, type EventsQueryBuilder, type EventsQueryResult, type ExportEventsRequest, type ExportEventsResponse, type ExternalRegistration, type FacetCounts, type Feed, type FileData, type FileSource, type FileSourceDataOneOf, type FindEventRequest, type FindEventRequestFindByOneOf, type FindEventResponse, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormMessages, type Formatted, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetEventBySlugOptions, type GetEventBySlugRequest, type GetEventBySlugResponse, type GetEventOptions, type GetEventRequest, type GetEventResponse, type Gradient, type GuestListSettings, GuestTypeType, type GuestTypeTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, InitialRegistrationTypeType, type InitialRegistrationTypeTypeWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListEventsByCategoryRequest, type ListEventsByCategoryResponse, type ListUserEventsRequest, type ListUserEventsResponse, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Money, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type Oembed, type OnlineConferencing, type OnlineConferencingSession, type Option, type OptionDesign, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Positive, type PositiveResponseConfirmation, type PricingData, type PublishDraftEventApplicationErrors, type PublishDraftEventOptions, type PublishDraftEventRequest, type PublishDraftEventResponse, type QueryEventsApplicationErrors, type QueryEventsOptions, type QueryEventsRequest, type QueryEventsResponse, type QueryV2, type QueryV2PagingMethodOneOf, RecurrenceStatusStatus, type RecurrenceStatusStatusWithLiterals, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatusStatus, type RegistrationStatusStatusWithLiterals, RegistrationTypeType, type RegistrationTypeTypeWithLiterals, type Rel, Relation, type RelationWithLiterals, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponseType, type ResponseTypeWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpConfirmationMessages, type RsvpFormMessages, type RsvpFormMessagesNegativeResponseConfirmation, type RsvpFormMessagesPositiveResponseConfirmation, type RsvpRegistration, type Rsvps, type SeoSchema, type SeoSettings, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type StreetAddress, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type Summaries, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxSettings, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Tickets, type TicketsConfirmationMessages, type TicketsRegistration, type TicketsUnavailableMessages, type TimeDuration, Type, type TypeWithLiterals, type UpdateEventApplicationErrors, type UpdateEventOptions, type UpdateEventRequest, type UpdateEventResponse, type UpdateEventValidationErrors, type UserFilter, ValueType, type ValueTypeWithLiterals, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, onEventCanceled, onEventCloned, onEventCreated, onEventDeleted, onEventEnded, onEventPublished, onEventReminder, onEventStarted, onEventUpdated, publishDraftEvent, queryEvents, updateEvent };
|
|
4711
|
+
export { type ActionEvent, type Address, type AddressLocation, type AddressStreetOneOf, type AgendaSettings, Alignment, type AlignmentWithLiterals, type AnchorData, type AppEmbedData, type AppEmbedDataAppDataOneOf, AppType, type AppTypeWithLiterals, AspectRatio, type AspectRatioWithLiterals, type AudioData, type Background, type BackgroundBackgroundOneOf, BackgroundType, type BackgroundTypeWithLiterals, type Badge, type BadgeList, BadgeTypeType, type BadgeTypeTypeWithLiterals, type BaseEventMetadata, type BlockquoteData, type BookingData, type Border, type BorderColors, type BulkCancelEventsByFilterOptions, type BulkCancelEventsByFilterRequest, type BulkCancelEventsByFilterResponse, type BulkDeleteEventsByFilterOptions, type BulkDeleteEventsByFilterRequest, type BulkDeleteEventsByFilterResponse, type BulletedListData, type ButtonData, ButtonDataType, type ButtonDataTypeWithLiterals, type ButtonStyles, type CalendarUrls, type CancelEventApplicationErrors, type CancelEventOptions, type CancelEventRequest, type CancelEventResponse, type CaptionData, type CardStyles, CardStylesType, type CardStylesTypeWithLiterals, type CellStyle, type CheckoutFormMessages, CheckoutType, type CheckoutTypeWithLiterals, type CloneEventFromOtherSiteRequest, type CloneEventFromOtherSiteResponse, type CloneEventOptions, type CloneEventRequest, type CloneEventResponse, type CodeBlockData, type CollapsibleListData, type ColorData, type Colors, type CommonCursors, type CommonPaging, type CommonPagingMetadataV2, type CommonQueryV2, type CommonQueryV2PagingMethodOneOf, CommonSortOrder, type CommonSortOrderWithLiterals, type CommonSorting, ConferenceTypeType, type ConferenceTypeTypeWithLiterals, type CountEventsByStatusApplicationErrors, type CountEventsByStatusOptions, type CountEventsByStatusRequest, type CountEventsByStatusResponse, type CreateEventApplicationErrors, type CreateEventOptions, type CreateEventRequest, type CreateEventResponse, type CreateEventValidationErrors, Crop, type CropWithLiterals, type CursorPaging, type Cursors, type DateAndTimeSettings, type Decoration, type DecorationDataOneOf, DecorationType, type DecorationTypeWithLiterals, type DeleteEventRequest, type DeleteEventResponse, type Design, type Dimensions, Direction, type DirectionWithLiterals, type DividerData, DividerDataAlignment, type DividerDataAlignmentWithLiterals, type DocumentStyle, type DomainEvent, type DomainEventBodyOneOf, type EmbedData, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type Event, type EventCanceled, type EventCanceledEnvelope, type EventCategories, type EventCategory, type EventCloned, type EventClonedEnvelope, type EventCreatedEnvelope, type EventData, type EventDeletedEnvelope, type EventDisplaySettings, type EventEnded, type EventEndedEnvelope, type EventMetadata, type EventPublished, type EventPublishedEnvelope, type EventReminder, type EventReminderEnvelope, type EventStarted, type EventStartedEnvelope, type EventUpdatedEnvelope, type EventsMoney, type EventsQueryBuilder, type EventsQueryResult, type ExportEventsRequest, type ExportEventsResponse, type ExternalRegistration, type FacetCounts, type Feed, type FileData, type FileSource, type FileSourceDataOneOf, type FindEventRequest, type FindEventRequestFindByOneOf, type FindEventResponse, type FontSizeData, FontType, type FontTypeWithLiterals, type Form, type FormMessages, type Formatted, type GIF, type GIFData, GIFType, type GIFTypeWithLiterals, type GalleryData, type GalleryOptions, type GalleryOptionsLayout, type GetEventBySlugOptions, type GetEventBySlugRequest, type GetEventBySlugResponse, type GetEventOptions, type GetEventRequest, type GetEventResponse, type Gradient, type GuestListSettings, GuestTypeType, type GuestTypeTypeWithLiterals, type HTMLData, type HTMLDataDataOneOf, type HeadingData, type Height, type IdentificationData, type IdentificationDataIdOneOf, type Image, type ImageData, type ImageDataStyles, type ImageStyles, InitialExpandedItems, type InitialExpandedItemsWithLiterals, InitialRegistrationTypeType, type InitialRegistrationTypeTypeWithLiterals, type Input, type InputControl, InputControlType, type InputControlTypeWithLiterals, type Item, type ItemDataOneOf, type ItemStyle, type Keyword, type Label, type LabellingSettings, Layout, type LayoutCellData, LayoutType, type LayoutTypeWithLiterals, type LayoutWithLiterals, LineStyle, type LineStyleWithLiterals, type Link, type LinkData, type LinkDataOneOf, type LinkPreviewData, type LinkPreviewDataStyles, type ListEventsByCategoryOptions, type ListEventsByCategoryRequest, type ListEventsByCategoryResponse, type ListUserEventsRequest, type ListUserEventsResponse, type ListValue, type Location, LocationType, type LocationTypeWithLiterals, type MapData, type MapSettings, MapType, type MapTypeWithLiterals, type Media, type MentionData, type MessageEnvelope, type Metadata, type Money, type Negative, type NegativeResponseConfirmation, type Node, type NodeDataOneOf, type NodeStyle, NodeType, type NodeTypeWithLiterals, NullValue, type NullValueWithLiterals, type Occurrence, type Oembed, type OnlineConferencing, type OnlineConferencingSession, type Option, type OptionDesign, type OptionLayout, type OptionSelection, type OptionSelectionSelectedOptionOneOf, type OrderedListData, Orientation, type OrientationWithLiterals, type PDFSettings, type Paging, type PagingMetadataV2, type ParagraphData, type Permissions, Placement, type PlacementWithLiterals, type PlaybackOptions, type PluginContainerData, PluginContainerDataAlignment, type PluginContainerDataAlignmentWithLiterals, type PluginContainerDataWidth, type PluginContainerDataWidthDataOneOf, type Poll, type PollData, type PollDataLayout, type PollDesign, type PollLayout, PollLayoutDirection, type PollLayoutDirectionWithLiterals, PollLayoutType, type PollLayoutTypeWithLiterals, type PollSettings, Position, type PositionWithLiterals, type Positive, type PositiveResponseConfirmation, type PricingData, type PublishDraftEventApplicationErrors, type PublishDraftEventOptions, type PublishDraftEventRequest, type PublishDraftEventResponse, type QueryEventsApplicationErrors, type QueryEventsOptions, type QueryEventsRequest, type QueryEventsResponse, type QueryV2, type QueryV2PagingMethodOneOf, RecurrenceStatusStatus, type RecurrenceStatusStatusWithLiterals, type Recurrences, type Registration, type RegistrationClosedMessages, RegistrationStatusStatus, type RegistrationStatusStatusWithLiterals, RegistrationTypeType, type RegistrationTypeTypeWithLiterals, type Rel, Relation, type RelationWithLiterals, RequestedFields, type RequestedFieldsWithLiterals, Resizing, type ResizingWithLiterals, type ResponseConfirmation, ResponseType, type ResponseTypeWithLiterals, type RestoreInfo, type RibbonStyles, type RichContent, type RsvpConfirmationMessages, type RsvpFormMessages, type RsvpFormMessagesNegativeResponseConfirmation, type RsvpFormMessagesPositiveResponseConfirmation, type RsvpRegistration, type Rsvps, type SeoSchema, type SeoSettings, type Settings, SortOrder, type SortOrderWithLiterals, type Sorting, Source, type SourceWithLiterals, type Spoiler, type SpoilerData, Status, type StatusWithLiterals, type StreetAddress, type Styles, type StylesBorder, StylesPosition, type StylesPositionWithLiterals, type Subdivision, SubdivisionType, type SubdivisionTypeWithLiterals, type Summaries, type TableCellData, type TableData, type Tag, Target, type TargetWithLiterals, type TaxSettings, TaxType, type TaxTypeWithLiterals, TextAlignment, type TextAlignmentWithLiterals, type TextData, type TextNodeStyle, type TextStyle, type Thumbnails, ThumbnailsAlignment, type ThumbnailsAlignmentWithLiterals, type Tickets, type TicketsConfirmationMessages, type TicketsRegistration, type TicketsUnavailableMessages, type TimeDuration, Type, type TypeWithLiterals, type UpdateEventApplicationErrors, type UpdateEventOptions, type UpdateEventRequest, type UpdateEventResponse, type UpdateEventValidationErrors, type UserFilter, ValueType, type ValueTypeWithLiterals, VerticalAlignment, type VerticalAlignmentWithLiterals, type Video, type VideoData, ViewMode, type ViewModeWithLiterals, ViewRole, type ViewRoleWithLiterals, VoteRole, type VoteRoleWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, Width, WidthType, type WidthTypeWithLiterals, type WidthWithLiterals, bulkCancelEventsByFilter, bulkDeleteEventsByFilter, cancelEvent, cloneEvent, countEventsByStatus, createEvent, deleteEvent, getEvent, getEventBySlug, listEventsByCategory, onEventCanceled, onEventCloned, onEventCreated, onEventDeleted, onEventEnded, onEventPublished, onEventReminder, onEventStarted, onEventUpdated, publishDraftEvent, queryEvents, updateEvent };
|
|
@@ -87,6 +87,7 @@ __export(index_typings_exports, {
|
|
|
87
87
|
deleteEvent: () => deleteEvent2,
|
|
88
88
|
getEvent: () => getEvent2,
|
|
89
89
|
getEventBySlug: () => getEventBySlug2,
|
|
90
|
+
listEventsByCategory: () => listEventsByCategory2,
|
|
90
91
|
publishDraftEvent: () => publishDraftEvent2,
|
|
91
92
|
queryEvents: () => queryEvents2,
|
|
92
93
|
updateEvent: () => updateEvent2
|
|
@@ -916,6 +917,88 @@ function countEventsByStatus(payload) {
|
|
|
916
917
|
}
|
|
917
918
|
return __countEventsByStatus;
|
|
918
919
|
}
|
|
920
|
+
function listEventsByCategory(payload) {
|
|
921
|
+
function __listEventsByCategory({ host }) {
|
|
922
|
+
const metadata = {
|
|
923
|
+
entityFqdn: "wix.events.v3.event",
|
|
924
|
+
method: "GET",
|
|
925
|
+
methodFqn: "wix.events.events.v3.EventManagement.ListEventsByCategory",
|
|
926
|
+
packageName: PACKAGE_NAME,
|
|
927
|
+
migrationOptions: {
|
|
928
|
+
optInTransformResponse: true
|
|
929
|
+
},
|
|
930
|
+
url: resolveWixEventsEventsV3EventManagementUrl({
|
|
931
|
+
protoPath: "/v3/events/category/{categoryId}",
|
|
932
|
+
data: payload,
|
|
933
|
+
host
|
|
934
|
+
}),
|
|
935
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
936
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
937
|
+
{
|
|
938
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
939
|
+
paths: [
|
|
940
|
+
{ path: "events.createdDate" },
|
|
941
|
+
{ path: "events.updatedDate" },
|
|
942
|
+
{ path: "events.publishedDate" },
|
|
943
|
+
{ path: "events.dateAndTimeSettings.startDate" },
|
|
944
|
+
{ path: "events.dateAndTimeSettings.endDate" },
|
|
945
|
+
{
|
|
946
|
+
path: "events.dateAndTimeSettings.recurringEvents.individualEventDates.startDate"
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
path: "events.dateAndTimeSettings.recurringEvents.individualEventDates.endDate"
|
|
950
|
+
},
|
|
951
|
+
{ path: "events.mainImage.urlExpirationDate" },
|
|
952
|
+
{ path: "events.registration.rsvp.startDate" },
|
|
953
|
+
{ path: "events.registration.rsvp.endDate" },
|
|
954
|
+
{ path: "events.categories.categories.createdDate" },
|
|
955
|
+
{ path: "events.description.metadata.createdTimestamp" },
|
|
956
|
+
{ path: "events.description.metadata.updatedTimestamp" },
|
|
957
|
+
{ path: "events.badges.badges.functionUpdateDate" }
|
|
958
|
+
]
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
transformFn: import_float2.transformRESTFloatToSDKFloat,
|
|
962
|
+
paths: [
|
|
963
|
+
{ path: "events.location.address.geocode.latitude" },
|
|
964
|
+
{ path: "events.location.address.geocode.longitude" },
|
|
965
|
+
{
|
|
966
|
+
path: "events.description.nodes.galleryData.items.image.media.duration"
|
|
967
|
+
},
|
|
968
|
+
{
|
|
969
|
+
path: "events.description.nodes.galleryData.items.video.media.duration"
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
path: "events.description.nodes.galleryData.items.video.thumbnail.duration"
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
path: "events.description.nodes.galleryData.options.item.ratio"
|
|
976
|
+
},
|
|
977
|
+
{ path: "events.description.nodes.imageData.image.duration" },
|
|
978
|
+
{ path: "events.description.nodes.mapData.mapSettings.lat" },
|
|
979
|
+
{ path: "events.description.nodes.mapData.mapSettings.lng" },
|
|
980
|
+
{ path: "events.description.nodes.pollData.poll.image.duration" },
|
|
981
|
+
{
|
|
982
|
+
path: "events.description.nodes.pollData.poll.options.image.duration"
|
|
983
|
+
},
|
|
984
|
+
{
|
|
985
|
+
path: "events.description.nodes.pollData.design.poll.background.image.duration"
|
|
986
|
+
},
|
|
987
|
+
{ path: "events.description.nodes.appEmbedData.image.duration" },
|
|
988
|
+
{ path: "events.description.nodes.videoData.video.duration" },
|
|
989
|
+
{ path: "events.description.nodes.videoData.thumbnail.duration" },
|
|
990
|
+
{ path: "events.description.nodes.audioData.audio.duration" },
|
|
991
|
+
{
|
|
992
|
+
path: "events.description.nodes.audioData.coverImage.duration"
|
|
993
|
+
}
|
|
994
|
+
]
|
|
995
|
+
}
|
|
996
|
+
])
|
|
997
|
+
};
|
|
998
|
+
return metadata;
|
|
999
|
+
}
|
|
1000
|
+
return __listEventsByCategory;
|
|
1001
|
+
}
|
|
919
1002
|
function getEvent(payload) {
|
|
920
1003
|
function __getEvent({ host }) {
|
|
921
1004
|
const metadata = {
|
|
@@ -1976,6 +2059,59 @@ async function countEventsByStatus2(options) {
|
|
|
1976
2059
|
throw transformedError;
|
|
1977
2060
|
}
|
|
1978
2061
|
}
|
|
2062
|
+
async function listEventsByCategory2(categoryId, options) {
|
|
2063
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
2064
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
2065
|
+
{
|
|
2066
|
+
categoryId,
|
|
2067
|
+
paging: options?.paging,
|
|
2068
|
+
fields: options?.fields
|
|
2069
|
+
},
|
|
2070
|
+
[]
|
|
2071
|
+
);
|
|
2072
|
+
const reqOpts = listEventsByCategory(payload);
|
|
2073
|
+
sideEffects?.onSiteCall?.();
|
|
2074
|
+
try {
|
|
2075
|
+
const result = await httpClient.request(reqOpts);
|
|
2076
|
+
sideEffects?.onSuccess?.(result);
|
|
2077
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(
|
|
2078
|
+
(0, import_transform_paths2.transformPaths)(result.data, [
|
|
2079
|
+
{
|
|
2080
|
+
transformFn: import_image2.transformRESTImageToSDKImage,
|
|
2081
|
+
paths: [{ path: "events.mainImage" }]
|
|
2082
|
+
},
|
|
2083
|
+
{
|
|
2084
|
+
transformFn: import_page_url2.transformRESTPageURLToSDKPageURL,
|
|
2085
|
+
paths: [
|
|
2086
|
+
{ path: "events.eventPageUrl" },
|
|
2087
|
+
{ path: "events.agendaSettings.pageUrl" }
|
|
2088
|
+
]
|
|
2089
|
+
},
|
|
2090
|
+
{
|
|
2091
|
+
transformFn: import_address2.transformRESTAddressToSDKAddress,
|
|
2092
|
+
paths: [{ path: "events.location.address" }]
|
|
2093
|
+
}
|
|
2094
|
+
]),
|
|
2095
|
+
["events.description"]
|
|
2096
|
+
);
|
|
2097
|
+
} catch (err) {
|
|
2098
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
2099
|
+
err,
|
|
2100
|
+
{
|
|
2101
|
+
spreadPathsToArguments: {},
|
|
2102
|
+
explicitPathsToArguments: {
|
|
2103
|
+
categoryId: "$[0]",
|
|
2104
|
+
paging: "$[1].paging",
|
|
2105
|
+
fields: "$[1].fields"
|
|
2106
|
+
},
|
|
2107
|
+
singleArgumentUnchanged: false
|
|
2108
|
+
},
|
|
2109
|
+
["categoryId", "options"]
|
|
2110
|
+
);
|
|
2111
|
+
sideEffects?.onError?.(err);
|
|
2112
|
+
throw transformedError;
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
1979
2115
|
async function getEvent2(eventId, options) {
|
|
1980
2116
|
const { httpClient, sideEffects } = arguments[2];
|
|
1981
2117
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)(
|
|
@@ -2135,6 +2271,7 @@ async function getEventBySlug2(slug, options) {
|
|
|
2135
2271
|
deleteEvent,
|
|
2136
2272
|
getEvent,
|
|
2137
2273
|
getEventBySlug,
|
|
2274
|
+
listEventsByCategory,
|
|
2138
2275
|
publishDraftEvent,
|
|
2139
2276
|
queryEvents,
|
|
2140
2277
|
updateEvent
|