@wix/auto_sdk_events_wix-events-v-2 1.0.25 → 1.0.27
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/src/events-v3-event-wix-events-v-2.context.d.ts +1 -1
- package/build/cjs/src/events-v3-event-wix-events-v-2.meta.d.ts +9 -9
- package/build/cjs/src/events-v3-event-wix-events-v-2.meta.js.map +1 -1
- package/build/cjs/src/events-v3-event-wix-events-v-2.public.d.ts +10 -10
- package/build/cjs/src/events-v3-event-wix-events-v-2.public.js.map +1 -1
- package/build/cjs/src/events-v3-event-wix-events-v-2.types.d.ts +6 -536
- package/build/cjs/src/events-v3-event-wix-events-v-2.types.js +1 -0
- package/build/cjs/src/events-v3-event-wix-events-v-2.types.js.map +1 -1
- package/build/cjs/src/events-v3-event-wix-events-v-2.universal.d.ts +26 -533
- package/build/cjs/src/events-v3-event-wix-events-v-2.universal.js +1 -0
- package/build/cjs/src/events-v3-event-wix-events-v-2.universal.js.map +1 -1
- package/build/es/src/events-v3-event-wix-events-v-2.context.d.ts +1 -1
- package/build/es/src/events-v3-event-wix-events-v-2.meta.d.ts +9 -9
- package/build/es/src/events-v3-event-wix-events-v-2.meta.js.map +1 -1
- package/build/es/src/events-v3-event-wix-events-v-2.public.d.ts +10 -10
- package/build/es/src/events-v3-event-wix-events-v-2.public.js.map +1 -1
- package/build/es/src/events-v3-event-wix-events-v-2.types.d.ts +6 -536
- package/build/es/src/events-v3-event-wix-events-v-2.types.js +1 -0
- package/build/es/src/events-v3-event-wix-events-v-2.types.js.map +1 -1
- package/build/es/src/events-v3-event-wix-events-v-2.universal.d.ts +26 -533
- package/build/es/src/events-v3-event-wix-events-v-2.universal.js +1 -0
- package/build/es/src/events-v3-event-wix-events-v-2.universal.js.map +1 -1
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.context.d.ts +1 -1
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.meta.d.ts +9 -9
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.meta.js.map +1 -1
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.public.d.ts +10 -10
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.public.js.map +1 -1
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.types.d.ts +6 -536
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.types.js +1 -0
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.types.js.map +1 -1
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.universal.d.ts +26 -533
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.universal.js +1 -0
- package/build/internal/cjs/src/events-v3-event-wix-events-v-2.universal.js.map +1 -1
- package/build/internal/es/src/events-v3-event-wix-events-v-2.context.d.ts +1 -1
- package/build/internal/es/src/events-v3-event-wix-events-v-2.meta.d.ts +9 -9
- package/build/internal/es/src/events-v3-event-wix-events-v-2.meta.js.map +1 -1
- package/build/internal/es/src/events-v3-event-wix-events-v-2.public.d.ts +10 -10
- package/build/internal/es/src/events-v3-event-wix-events-v-2.public.js.map +1 -1
- package/build/internal/es/src/events-v3-event-wix-events-v-2.types.d.ts +6 -536
- package/build/internal/es/src/events-v3-event-wix-events-v-2.types.js +1 -0
- package/build/internal/es/src/events-v3-event-wix-events-v-2.types.js.map +1 -1
- package/build/internal/es/src/events-v3-event-wix-events-v-2.universal.d.ts +26 -533
- package/build/internal/es/src/events-v3-event-wix-events-v-2.universal.js +1 -0
- package/build/internal/es/src/events-v3-event-wix-events-v-2.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
export interface V3Event {
|
|
2
3
|
/**
|
|
3
4
|
* Event ID.
|
|
@@ -2205,6 +2206,8 @@ export interface Decoration extends DecorationDataOneOf {
|
|
|
2205
2206
|
underlineData?: boolean | null;
|
|
2206
2207
|
/** Data for a spoiler decoration. */
|
|
2207
2208
|
spoilerData?: SpoilerData;
|
|
2209
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
2210
|
+
strikethroughData?: boolean | null;
|
|
2208
2211
|
/** The type of decoration to apply. */
|
|
2209
2212
|
type?: DecorationType;
|
|
2210
2213
|
}
|
|
@@ -2228,6 +2231,8 @@ export interface DecorationDataOneOf {
|
|
|
2228
2231
|
underlineData?: boolean | null;
|
|
2229
2232
|
/** Data for a spoiler decoration. */
|
|
2230
2233
|
spoilerData?: SpoilerData;
|
|
2234
|
+
/** Data for a strikethrough decoration. Defaults to `true`. */
|
|
2235
|
+
strikethroughData?: boolean | null;
|
|
2231
2236
|
}
|
|
2232
2237
|
export declare enum DecorationType {
|
|
2233
2238
|
BOLD = "BOLD",
|
|
@@ -2239,7 +2244,8 @@ export declare enum DecorationType {
|
|
|
2239
2244
|
LINK = "LINK",
|
|
2240
2245
|
COLOR = "COLOR",
|
|
2241
2246
|
FONT_SIZE = "FONT_SIZE",
|
|
2242
|
-
EXTERNAL = "EXTERNAL"
|
|
2247
|
+
EXTERNAL = "EXTERNAL",
|
|
2248
|
+
STRIKETHROUGH = "STRIKETHROUGH"
|
|
2243
2249
|
}
|
|
2244
2250
|
export interface AnchorData {
|
|
2245
2251
|
/** The target node's ID. */
|
|
@@ -4271,528 +4277,6 @@ export declare enum WebhookIdentityType {
|
|
|
4271
4277
|
WIX_USER = "WIX_USER",
|
|
4272
4278
|
APP = "APP"
|
|
4273
4279
|
}
|
|
4274
|
-
interface CommonStreetAddressNonNullableFields {
|
|
4275
|
-
number: string;
|
|
4276
|
-
name: string;
|
|
4277
|
-
apt: string;
|
|
4278
|
-
}
|
|
4279
|
-
interface CommonSubdivisionNonNullableFields {
|
|
4280
|
-
name: string;
|
|
4281
|
-
}
|
|
4282
|
-
interface CommonAddressNonNullableFields {
|
|
4283
|
-
streetAddress?: CommonStreetAddressNonNullableFields;
|
|
4284
|
-
subdivisions: CommonSubdivisionNonNullableFields[];
|
|
4285
|
-
}
|
|
4286
|
-
interface LocationNonNullableFields {
|
|
4287
|
-
type: LocationType;
|
|
4288
|
-
address?: CommonAddressNonNullableFields;
|
|
4289
|
-
}
|
|
4290
|
-
interface OccurrenceNonNullableFields {
|
|
4291
|
-
showTimeZone: boolean;
|
|
4292
|
-
}
|
|
4293
|
-
interface RecurrencesNonNullableFields {
|
|
4294
|
-
individualEventDates: OccurrenceNonNullableFields[];
|
|
4295
|
-
}
|
|
4296
|
-
interface DateAndTimeSettingsNonNullableFields {
|
|
4297
|
-
recurrenceStatus: RecurrenceStatusStatus;
|
|
4298
|
-
recurringEvents?: RecurrencesNonNullableFields;
|
|
4299
|
-
}
|
|
4300
|
-
interface RsvpRegistrationNonNullableFields {
|
|
4301
|
-
responseType: ResponseType;
|
|
4302
|
-
waitlistEnabled: boolean;
|
|
4303
|
-
}
|
|
4304
|
-
interface MoneyNonNullableFields {
|
|
4305
|
-
value: string;
|
|
4306
|
-
currency: string;
|
|
4307
|
-
}
|
|
4308
|
-
interface TaxSettingsNonNullableFields {
|
|
4309
|
-
type: TaxType;
|
|
4310
|
-
}
|
|
4311
|
-
interface TicketsRegistrationNonNullableFields {
|
|
4312
|
-
guestsAssignedSeparately: boolean;
|
|
4313
|
-
ticketLimitPerOrder: number;
|
|
4314
|
-
lowestPrice?: MoneyNonNullableFields;
|
|
4315
|
-
highestPrice?: MoneyNonNullableFields;
|
|
4316
|
-
taxSettings?: TaxSettingsNonNullableFields;
|
|
4317
|
-
}
|
|
4318
|
-
interface RegistrationNonNullableFields {
|
|
4319
|
-
type: RegistrationTypeType;
|
|
4320
|
-
status: RegistrationStatusStatus;
|
|
4321
|
-
rsvp?: RsvpRegistrationNonNullableFields;
|
|
4322
|
-
tickets?: TicketsRegistrationNonNullableFields;
|
|
4323
|
-
allowedGuestTypes: GuestTypeType;
|
|
4324
|
-
initialType: InitialRegistrationTypeType;
|
|
4325
|
-
registrationPaused: boolean;
|
|
4326
|
-
registrationDisabled: boolean;
|
|
4327
|
-
}
|
|
4328
|
-
interface CalendarUrlsNonNullableFields {
|
|
4329
|
-
google: string;
|
|
4330
|
-
ics: string;
|
|
4331
|
-
}
|
|
4332
|
-
interface OptionSelectionNonNullableFields {
|
|
4333
|
-
optionIndex: number;
|
|
4334
|
-
placeholderText: string;
|
|
4335
|
-
}
|
|
4336
|
-
interface LabelNonNullableFields {
|
|
4337
|
-
name: string;
|
|
4338
|
-
label: string;
|
|
4339
|
-
}
|
|
4340
|
-
interface InputNonNullableFields {
|
|
4341
|
-
name: string;
|
|
4342
|
-
array: boolean;
|
|
4343
|
-
label: string;
|
|
4344
|
-
options: string[];
|
|
4345
|
-
mandatory: boolean;
|
|
4346
|
-
maxLength: number;
|
|
4347
|
-
type: ValueType;
|
|
4348
|
-
defaultOptionSelection?: OptionSelectionNonNullableFields;
|
|
4349
|
-
labels: LabelNonNullableFields[];
|
|
4350
|
-
}
|
|
4351
|
-
interface InputControlNonNullableFields {
|
|
4352
|
-
type: InputControlType;
|
|
4353
|
-
system: boolean;
|
|
4354
|
-
name: string;
|
|
4355
|
-
inputs: InputNonNullableFields[];
|
|
4356
|
-
label: string;
|
|
4357
|
-
orderIndex: number;
|
|
4358
|
-
_id: string;
|
|
4359
|
-
}
|
|
4360
|
-
interface PositiveResponseConfirmationNonNullableFields {
|
|
4361
|
-
title: string;
|
|
4362
|
-
message: string;
|
|
4363
|
-
addToCalendarActionLabel: string;
|
|
4364
|
-
shareActionLabel: string;
|
|
4365
|
-
}
|
|
4366
|
-
interface PositiveNonNullableFields {
|
|
4367
|
-
title: string;
|
|
4368
|
-
confirmation?: PositiveResponseConfirmationNonNullableFields;
|
|
4369
|
-
}
|
|
4370
|
-
interface NegativeResponseConfirmationNonNullableFields {
|
|
4371
|
-
title: string;
|
|
4372
|
-
shareActionLabel: string;
|
|
4373
|
-
}
|
|
4374
|
-
interface NegativeNonNullableFields {
|
|
4375
|
-
title: string;
|
|
4376
|
-
confirmation?: NegativeResponseConfirmationNonNullableFields;
|
|
4377
|
-
}
|
|
4378
|
-
interface RsvpFormMessagesNonNullableFields {
|
|
4379
|
-
rsvpYesOption: string;
|
|
4380
|
-
rsvpNoOption: string;
|
|
4381
|
-
positiveMessages?: PositiveNonNullableFields;
|
|
4382
|
-
waitlistMessages?: PositiveNonNullableFields;
|
|
4383
|
-
negativeMessages?: NegativeNonNullableFields;
|
|
4384
|
-
submitActionLabel: string;
|
|
4385
|
-
}
|
|
4386
|
-
interface ResponseConfirmationNonNullableFields {
|
|
4387
|
-
title: string;
|
|
4388
|
-
message: string;
|
|
4389
|
-
downloadTicketsLabel: string;
|
|
4390
|
-
addToCalendarLabel: string;
|
|
4391
|
-
shareEventLabel: string;
|
|
4392
|
-
}
|
|
4393
|
-
interface CheckoutFormMessagesNonNullableFields {
|
|
4394
|
-
title: string;
|
|
4395
|
-
submitActionLabel: string;
|
|
4396
|
-
confirmation?: ResponseConfirmationNonNullableFields;
|
|
4397
|
-
}
|
|
4398
|
-
interface RegistrationClosedMessagesNonNullableFields {
|
|
4399
|
-
message: string;
|
|
4400
|
-
exploreEventsActionLabel: string;
|
|
4401
|
-
}
|
|
4402
|
-
interface TicketsUnavailableMessagesNonNullableFields {
|
|
4403
|
-
message: string;
|
|
4404
|
-
exploreEventsActionLabel: string;
|
|
4405
|
-
}
|
|
4406
|
-
interface FormMessagesNonNullableFields {
|
|
4407
|
-
rsvp?: RsvpFormMessagesNonNullableFields;
|
|
4408
|
-
checkout?: CheckoutFormMessagesNonNullableFields;
|
|
4409
|
-
registrationClosed?: RegistrationClosedMessagesNonNullableFields;
|
|
4410
|
-
ticketsUnavailable?: TicketsUnavailableMessagesNonNullableFields;
|
|
4411
|
-
}
|
|
4412
|
-
interface FormNonNullableFields {
|
|
4413
|
-
controls: InputControlNonNullableFields[];
|
|
4414
|
-
messages?: FormMessagesNonNullableFields;
|
|
4415
|
-
}
|
|
4416
|
-
interface RsvpsNonNullableFields {
|
|
4417
|
-
totalCount: number;
|
|
4418
|
-
yesCount: number;
|
|
4419
|
-
noCount: number;
|
|
4420
|
-
waitlistCount: number;
|
|
4421
|
-
}
|
|
4422
|
-
interface EventsMoneyNonNullableFields {
|
|
4423
|
-
amount: string;
|
|
4424
|
-
currency: string;
|
|
4425
|
-
}
|
|
4426
|
-
interface TicketsNonNullableFields {
|
|
4427
|
-
ticketsSold: number;
|
|
4428
|
-
revenue?: EventsMoneyNonNullableFields;
|
|
4429
|
-
currencyLocked: boolean;
|
|
4430
|
-
totalOrders: number;
|
|
4431
|
-
totalSales?: EventsMoneyNonNullableFields;
|
|
4432
|
-
}
|
|
4433
|
-
interface SummariesNonNullableFields {
|
|
4434
|
-
rsvps?: RsvpsNonNullableFields;
|
|
4435
|
-
tickets?: TicketsNonNullableFields;
|
|
4436
|
-
}
|
|
4437
|
-
interface GuestListSettingsNonNullableFields {
|
|
4438
|
-
displayedPublicly: boolean;
|
|
4439
|
-
}
|
|
4440
|
-
interface FeedNonNullableFields {
|
|
4441
|
-
token: string;
|
|
4442
|
-
}
|
|
4443
|
-
interface OnlineConferencingSessionNonNullableFields {
|
|
4444
|
-
hostLink: string;
|
|
4445
|
-
guestLink: string;
|
|
4446
|
-
}
|
|
4447
|
-
interface OnlineConferencingNonNullableFields {
|
|
4448
|
-
enabled: boolean;
|
|
4449
|
-
providerName: string;
|
|
4450
|
-
type: ConferenceTypeType;
|
|
4451
|
-
session?: OnlineConferencingSessionNonNullableFields;
|
|
4452
|
-
}
|
|
4453
|
-
interface TagNonNullableFields {
|
|
4454
|
-
type: string;
|
|
4455
|
-
children: string;
|
|
4456
|
-
custom: boolean;
|
|
4457
|
-
disabled: boolean;
|
|
4458
|
-
}
|
|
4459
|
-
interface KeywordNonNullableFields {
|
|
4460
|
-
term: string;
|
|
4461
|
-
isMain: boolean;
|
|
4462
|
-
}
|
|
4463
|
-
interface SettingsNonNullableFields {
|
|
4464
|
-
preventAutoRedirect: boolean;
|
|
4465
|
-
keywords: KeywordNonNullableFields[];
|
|
4466
|
-
}
|
|
4467
|
-
interface SeoSchemaNonNullableFields {
|
|
4468
|
-
tags: TagNonNullableFields[];
|
|
4469
|
-
settings?: SettingsNonNullableFields;
|
|
4470
|
-
}
|
|
4471
|
-
interface SeoSettingsNonNullableFields {
|
|
4472
|
-
slug: string;
|
|
4473
|
-
advancedSeoData?: SeoSchemaNonNullableFields;
|
|
4474
|
-
}
|
|
4475
|
-
interface AgendaSettingsNonNullableFields {
|
|
4476
|
-
enabled: boolean;
|
|
4477
|
-
pageUrl: string;
|
|
4478
|
-
}
|
|
4479
|
-
interface EventCategoryNonNullableFields {
|
|
4480
|
-
_id: string;
|
|
4481
|
-
name: string;
|
|
4482
|
-
hidden: boolean;
|
|
4483
|
-
type: CategoryTypeType;
|
|
4484
|
-
}
|
|
4485
|
-
interface EventCategoriesNonNullableFields {
|
|
4486
|
-
categories: EventCategoryNonNullableFields[];
|
|
4487
|
-
}
|
|
4488
|
-
interface PluginContainerDataWidthNonNullableFields {
|
|
4489
|
-
size: WidthType;
|
|
4490
|
-
}
|
|
4491
|
-
interface PluginContainerDataNonNullableFields {
|
|
4492
|
-
width?: PluginContainerDataWidthNonNullableFields;
|
|
4493
|
-
alignment: PluginContainerDataAlignment;
|
|
4494
|
-
}
|
|
4495
|
-
interface LinkNonNullableFields {
|
|
4496
|
-
url: string;
|
|
4497
|
-
anchor: string;
|
|
4498
|
-
target: Target;
|
|
4499
|
-
}
|
|
4500
|
-
interface ButtonDataNonNullableFields {
|
|
4501
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4502
|
-
type: ButtonDataType;
|
|
4503
|
-
link?: LinkNonNullableFields;
|
|
4504
|
-
}
|
|
4505
|
-
interface TextStyleNonNullableFields {
|
|
4506
|
-
textAlignment: TextAlignment;
|
|
4507
|
-
}
|
|
4508
|
-
interface CodeBlockDataNonNullableFields {
|
|
4509
|
-
textStyle?: TextStyleNonNullableFields;
|
|
4510
|
-
}
|
|
4511
|
-
interface DividerDataNonNullableFields {
|
|
4512
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4513
|
-
lineStyle: LineStyle;
|
|
4514
|
-
width: Width;
|
|
4515
|
-
alignment: Alignment;
|
|
4516
|
-
}
|
|
4517
|
-
interface PDFSettingsNonNullableFields {
|
|
4518
|
-
viewMode: ViewMode;
|
|
4519
|
-
}
|
|
4520
|
-
interface FileDataNonNullableFields {
|
|
4521
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4522
|
-
pdfSettings?: PDFSettingsNonNullableFields;
|
|
4523
|
-
}
|
|
4524
|
-
interface ImageNonNullableFields {
|
|
4525
|
-
link?: LinkNonNullableFields;
|
|
4526
|
-
}
|
|
4527
|
-
interface ItemNonNullableFields {
|
|
4528
|
-
image?: ImageNonNullableFields;
|
|
4529
|
-
}
|
|
4530
|
-
interface LayoutNonNullableFields {
|
|
4531
|
-
type: LayoutType;
|
|
4532
|
-
orientation: Orientation;
|
|
4533
|
-
}
|
|
4534
|
-
interface ItemStyleNonNullableFields {
|
|
4535
|
-
crop: Crop;
|
|
4536
|
-
}
|
|
4537
|
-
interface ThumbnailsNonNullableFields {
|
|
4538
|
-
placement: ThumbnailsAlignment;
|
|
4539
|
-
}
|
|
4540
|
-
interface GalleryOptionsNonNullableFields {
|
|
4541
|
-
layout?: LayoutNonNullableFields;
|
|
4542
|
-
item?: ItemStyleNonNullableFields;
|
|
4543
|
-
thumbnails?: ThumbnailsNonNullableFields;
|
|
4544
|
-
}
|
|
4545
|
-
interface GalleryDataNonNullableFields {
|
|
4546
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4547
|
-
items: ItemNonNullableFields[];
|
|
4548
|
-
options?: GalleryOptionsNonNullableFields;
|
|
4549
|
-
}
|
|
4550
|
-
interface GIFDataNonNullableFields {
|
|
4551
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4552
|
-
height: number;
|
|
4553
|
-
width: number;
|
|
4554
|
-
gifType: GIFType;
|
|
4555
|
-
}
|
|
4556
|
-
interface HeadingDataNonNullableFields {
|
|
4557
|
-
level: number;
|
|
4558
|
-
textStyle?: TextStyleNonNullableFields;
|
|
4559
|
-
}
|
|
4560
|
-
interface HTMLDataNonNullableFields {
|
|
4561
|
-
url: string;
|
|
4562
|
-
html: string;
|
|
4563
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4564
|
-
source: Source;
|
|
4565
|
-
}
|
|
4566
|
-
interface ImageDataNonNullableFields {
|
|
4567
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4568
|
-
link?: LinkNonNullableFields;
|
|
4569
|
-
}
|
|
4570
|
-
interface LinkPreviewDataStylesNonNullableFields {
|
|
4571
|
-
thumbnailPosition: Position;
|
|
4572
|
-
}
|
|
4573
|
-
interface LinkPreviewDataNonNullableFields {
|
|
4574
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4575
|
-
link?: LinkNonNullableFields;
|
|
4576
|
-
styles?: LinkPreviewDataStylesNonNullableFields;
|
|
4577
|
-
}
|
|
4578
|
-
interface MapSettingsNonNullableFields {
|
|
4579
|
-
mapType: MapType;
|
|
4580
|
-
}
|
|
4581
|
-
interface MapDataNonNullableFields {
|
|
4582
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4583
|
-
mapSettings?: MapSettingsNonNullableFields;
|
|
4584
|
-
}
|
|
4585
|
-
interface ParagraphDataNonNullableFields {
|
|
4586
|
-
textStyle?: TextStyleNonNullableFields;
|
|
4587
|
-
}
|
|
4588
|
-
interface PermissionsNonNullableFields {
|
|
4589
|
-
view: ViewRole;
|
|
4590
|
-
vote: VoteRole;
|
|
4591
|
-
}
|
|
4592
|
-
interface PollSettingsNonNullableFields {
|
|
4593
|
-
permissions?: PermissionsNonNullableFields;
|
|
4594
|
-
}
|
|
4595
|
-
interface PollNonNullableFields {
|
|
4596
|
-
settings?: PollSettingsNonNullableFields;
|
|
4597
|
-
}
|
|
4598
|
-
interface PollLayoutNonNullableFields {
|
|
4599
|
-
type: PollLayoutType;
|
|
4600
|
-
direction: PollLayoutDirection;
|
|
4601
|
-
}
|
|
4602
|
-
interface PollDataLayoutNonNullableFields {
|
|
4603
|
-
poll?: PollLayoutNonNullableFields;
|
|
4604
|
-
}
|
|
4605
|
-
interface BackgroundNonNullableFields {
|
|
4606
|
-
type: BackgroundType;
|
|
4607
|
-
}
|
|
4608
|
-
interface PollDesignNonNullableFields {
|
|
4609
|
-
background?: BackgroundNonNullableFields;
|
|
4610
|
-
}
|
|
4611
|
-
interface DesignNonNullableFields {
|
|
4612
|
-
poll?: PollDesignNonNullableFields;
|
|
4613
|
-
}
|
|
4614
|
-
interface PollDataNonNullableFields {
|
|
4615
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4616
|
-
poll?: PollNonNullableFields;
|
|
4617
|
-
layout?: PollDataLayoutNonNullableFields;
|
|
4618
|
-
design?: DesignNonNullableFields;
|
|
4619
|
-
}
|
|
4620
|
-
interface AnchorDataNonNullableFields {
|
|
4621
|
-
anchor: string;
|
|
4622
|
-
}
|
|
4623
|
-
interface LinkDataNonNullableFields {
|
|
4624
|
-
link?: LinkNonNullableFields;
|
|
4625
|
-
}
|
|
4626
|
-
interface MentionDataNonNullableFields {
|
|
4627
|
-
name: string;
|
|
4628
|
-
slug: string;
|
|
4629
|
-
}
|
|
4630
|
-
interface FontSizeDataNonNullableFields {
|
|
4631
|
-
unit: FontType;
|
|
4632
|
-
}
|
|
4633
|
-
interface DecorationNonNullableFields {
|
|
4634
|
-
anchorData?: AnchorDataNonNullableFields;
|
|
4635
|
-
linkData?: LinkDataNonNullableFields;
|
|
4636
|
-
mentionData?: MentionDataNonNullableFields;
|
|
4637
|
-
fontSizeData?: FontSizeDataNonNullableFields;
|
|
4638
|
-
type: DecorationType;
|
|
4639
|
-
}
|
|
4640
|
-
interface TextDataNonNullableFields {
|
|
4641
|
-
text: string;
|
|
4642
|
-
decorations: DecorationNonNullableFields[];
|
|
4643
|
-
}
|
|
4644
|
-
interface AppEmbedDataNonNullableFields {
|
|
4645
|
-
type: AppType;
|
|
4646
|
-
}
|
|
4647
|
-
interface VideoDataNonNullableFields {
|
|
4648
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4649
|
-
}
|
|
4650
|
-
interface EmbedDataNonNullableFields {
|
|
4651
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4652
|
-
}
|
|
4653
|
-
interface CollapsibleListDataNonNullableFields {
|
|
4654
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4655
|
-
initialExpandedItems: InitialExpandedItems;
|
|
4656
|
-
direction: Direction;
|
|
4657
|
-
}
|
|
4658
|
-
interface DimensionsNonNullableFields {
|
|
4659
|
-
colsWidthRatio: number[];
|
|
4660
|
-
rowsHeight: number[];
|
|
4661
|
-
colsMinWidth: number[];
|
|
4662
|
-
}
|
|
4663
|
-
interface TableDataNonNullableFields {
|
|
4664
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4665
|
-
dimensions?: DimensionsNonNullableFields;
|
|
4666
|
-
}
|
|
4667
|
-
interface CellStyleNonNullableFields {
|
|
4668
|
-
verticalAlignment: VerticalAlignment;
|
|
4669
|
-
}
|
|
4670
|
-
interface TableCellDataNonNullableFields {
|
|
4671
|
-
cellStyle?: CellStyleNonNullableFields;
|
|
4672
|
-
}
|
|
4673
|
-
interface AudioDataNonNullableFields {
|
|
4674
|
-
containerData?: PluginContainerDataNonNullableFields;
|
|
4675
|
-
}
|
|
4676
|
-
interface OrderedListDataNonNullableFields {
|
|
4677
|
-
indentation: number;
|
|
4678
|
-
}
|
|
4679
|
-
interface BulletedListDataNonNullableFields {
|
|
4680
|
-
indentation: number;
|
|
4681
|
-
}
|
|
4682
|
-
interface BlockquoteDataNonNullableFields {
|
|
4683
|
-
indentation: number;
|
|
4684
|
-
}
|
|
4685
|
-
interface CaptionDataNonNullableFields {
|
|
4686
|
-
textStyle?: TextStyleNonNullableFields;
|
|
4687
|
-
}
|
|
4688
|
-
interface NodeNonNullableFields {
|
|
4689
|
-
buttonData?: ButtonDataNonNullableFields;
|
|
4690
|
-
codeBlockData?: CodeBlockDataNonNullableFields;
|
|
4691
|
-
dividerData?: DividerDataNonNullableFields;
|
|
4692
|
-
fileData?: FileDataNonNullableFields;
|
|
4693
|
-
galleryData?: GalleryDataNonNullableFields;
|
|
4694
|
-
gifData?: GIFDataNonNullableFields;
|
|
4695
|
-
headingData?: HeadingDataNonNullableFields;
|
|
4696
|
-
htmlData?: HTMLDataNonNullableFields;
|
|
4697
|
-
imageData?: ImageDataNonNullableFields;
|
|
4698
|
-
linkPreviewData?: LinkPreviewDataNonNullableFields;
|
|
4699
|
-
mapData?: MapDataNonNullableFields;
|
|
4700
|
-
paragraphData?: ParagraphDataNonNullableFields;
|
|
4701
|
-
pollData?: PollDataNonNullableFields;
|
|
4702
|
-
textData?: TextDataNonNullableFields;
|
|
4703
|
-
appEmbedData?: AppEmbedDataNonNullableFields;
|
|
4704
|
-
videoData?: VideoDataNonNullableFields;
|
|
4705
|
-
embedData?: EmbedDataNonNullableFields;
|
|
4706
|
-
collapsibleListData?: CollapsibleListDataNonNullableFields;
|
|
4707
|
-
tableData?: TableDataNonNullableFields;
|
|
4708
|
-
tableCellData?: TableCellDataNonNullableFields;
|
|
4709
|
-
audioData?: AudioDataNonNullableFields;
|
|
4710
|
-
orderedListData?: OrderedListDataNonNullableFields;
|
|
4711
|
-
bulletedListData?: BulletedListDataNonNullableFields;
|
|
4712
|
-
blockquoteData?: BlockquoteDataNonNullableFields;
|
|
4713
|
-
captionData?: CaptionDataNonNullableFields;
|
|
4714
|
-
type: NodeType;
|
|
4715
|
-
_id: string;
|
|
4716
|
-
nodes: NodeNonNullableFields[];
|
|
4717
|
-
}
|
|
4718
|
-
interface MetadataNonNullableFields {
|
|
4719
|
-
version: number;
|
|
4720
|
-
}
|
|
4721
|
-
interface TextNodeStyleNonNullableFields {
|
|
4722
|
-
decorations: DecorationNonNullableFields[];
|
|
4723
|
-
}
|
|
4724
|
-
interface DocumentStyleNonNullableFields {
|
|
4725
|
-
headerOne?: TextNodeStyleNonNullableFields;
|
|
4726
|
-
headerTwo?: TextNodeStyleNonNullableFields;
|
|
4727
|
-
headerThree?: TextNodeStyleNonNullableFields;
|
|
4728
|
-
headerFour?: TextNodeStyleNonNullableFields;
|
|
4729
|
-
headerFive?: TextNodeStyleNonNullableFields;
|
|
4730
|
-
headerSix?: TextNodeStyleNonNullableFields;
|
|
4731
|
-
paragraph?: TextNodeStyleNonNullableFields;
|
|
4732
|
-
blockquote?: TextNodeStyleNonNullableFields;
|
|
4733
|
-
codeBlock?: TextNodeStyleNonNullableFields;
|
|
4734
|
-
}
|
|
4735
|
-
interface RichContentNonNullableFields {
|
|
4736
|
-
nodes: NodeNonNullableFields[];
|
|
4737
|
-
metadata?: MetadataNonNullableFields;
|
|
4738
|
-
documentStyle?: DocumentStyleNonNullableFields;
|
|
4739
|
-
}
|
|
4740
|
-
interface V3BadgeNonNullableFields {
|
|
4741
|
-
type: BadgeTypeType;
|
|
4742
|
-
}
|
|
4743
|
-
interface BadgeListNonNullableFields {
|
|
4744
|
-
badges: V3BadgeNonNullableFields[];
|
|
4745
|
-
}
|
|
4746
|
-
export interface V3EventNonNullableFields {
|
|
4747
|
-
_id: string;
|
|
4748
|
-
location?: LocationNonNullableFields;
|
|
4749
|
-
dateAndTimeSettings?: DateAndTimeSettingsNonNullableFields;
|
|
4750
|
-
mainImage: string;
|
|
4751
|
-
slug: string;
|
|
4752
|
-
status: Status;
|
|
4753
|
-
registration?: RegistrationNonNullableFields;
|
|
4754
|
-
calendarUrls?: CalendarUrlsNonNullableFields;
|
|
4755
|
-
eventPageUrl: string;
|
|
4756
|
-
form?: FormNonNullableFields;
|
|
4757
|
-
summaries?: SummariesNonNullableFields;
|
|
4758
|
-
instanceId: string;
|
|
4759
|
-
guestListSettings?: GuestListSettingsNonNullableFields;
|
|
4760
|
-
userId: string;
|
|
4761
|
-
feed?: FeedNonNullableFields;
|
|
4762
|
-
onlineConferencing?: OnlineConferencingNonNullableFields;
|
|
4763
|
-
seoSettings?: SeoSettingsNonNullableFields;
|
|
4764
|
-
agendaSettings?: AgendaSettingsNonNullableFields;
|
|
4765
|
-
categories?: EventCategoriesNonNullableFields;
|
|
4766
|
-
description?: RichContentNonNullableFields;
|
|
4767
|
-
badges?: BadgeListNonNullableFields;
|
|
4768
|
-
}
|
|
4769
|
-
export interface CreateEventResponseNonNullableFields {
|
|
4770
|
-
event?: V3EventNonNullableFields;
|
|
4771
|
-
}
|
|
4772
|
-
export interface CloneEventResponseNonNullableFields {
|
|
4773
|
-
event?: V3EventNonNullableFields;
|
|
4774
|
-
}
|
|
4775
|
-
export interface UpdateEventResponseNonNullableFields {
|
|
4776
|
-
event?: V3EventNonNullableFields;
|
|
4777
|
-
}
|
|
4778
|
-
export interface PublishDraftEventResponseNonNullableFields {
|
|
4779
|
-
event?: V3EventNonNullableFields;
|
|
4780
|
-
}
|
|
4781
|
-
export interface CancelEventResponseNonNullableFields {
|
|
4782
|
-
event?: V3EventNonNullableFields;
|
|
4783
|
-
}
|
|
4784
|
-
export interface DeleteEventResponseNonNullableFields {
|
|
4785
|
-
eventId: string;
|
|
4786
|
-
}
|
|
4787
|
-
export interface QueryEventsResponseNonNullableFields {
|
|
4788
|
-
events: V3EventNonNullableFields[];
|
|
4789
|
-
}
|
|
4790
|
-
export interface GetEventResponseNonNullableFields {
|
|
4791
|
-
event?: V3EventNonNullableFields;
|
|
4792
|
-
}
|
|
4793
|
-
export interface GetEventBySlugResponseNonNullableFields {
|
|
4794
|
-
event?: V3EventNonNullableFields;
|
|
4795
|
-
}
|
|
4796
4280
|
export interface BaseEventMetadata {
|
|
4797
4281
|
/**
|
|
4798
4282
|
* App instance ID.
|
|
@@ -5174,6 +4658,7 @@ export interface EventUpdatedEnvelope {
|
|
|
5174
4658
|
* @slug updated
|
|
5175
4659
|
*/
|
|
5176
4660
|
export declare function onEventUpdated(handler: (event: EventUpdatedEnvelope) => void | Promise<void>): void;
|
|
4661
|
+
type EventNonNullablePaths = `_id` | `location.type` | `location.address.streetAddress.number` | `location.address.streetAddress.name` | `dateAndTimeSettings.recurrenceStatus` | `dateAndTimeSettings.recurringEvents.individualEventDates` | `dateAndTimeSettings.recurringEvents.individualEventDates.${number}.showTimeZone` | `slug` | `status` | `registration.type` | `registration.status` | `registration.rsvp.responseType` | `registration.rsvp.waitlistEnabled` | `registration.tickets.guestsAssignedSeparately` | `registration.tickets.ticketLimitPerOrder` | `registration.tickets.lowestPrice.value` | `registration.tickets.lowestPrice.currency` | `registration.tickets.taxSettings.type` | `registration.allowedGuestTypes` | `registration.initialType` | `registration.registrationPaused` | `registration.registrationDisabled` | `calendarUrls.google` | `calendarUrls.ics` | `form.controls` | `form.controls.${number}.type` | `form.controls.${number}.system` | `form.controls.${number}.name` | `form.controls.${number}.inputs` | `form.controls.${number}.inputs.${number}.name` | `form.controls.${number}.inputs.${number}.array` | `form.controls.${number}.inputs.${number}.label` | `form.controls.${number}.inputs.${number}.options` | `form.controls.${number}.inputs.${number}.mandatory` | `form.controls.${number}.inputs.${number}.maxLength` | `form.controls.${number}.inputs.${number}.type` | `form.controls.${number}.inputs.${number}.defaultOptionSelection.optionIndex` | `form.controls.${number}.inputs.${number}.defaultOptionSelection.placeholderText` | `form.controls.${number}.inputs.${number}.labels` | `form.controls.${number}.inputs.${number}.labels.${number}.name` | `form.controls.${number}.inputs.${number}.labels.${number}.label` | `form.controls.${number}.label` | `form.controls.${number}.orderIndex` | `form.controls.${number}._id` | `form.messages.rsvp.rsvpYesOption` | `form.messages.rsvp.rsvpNoOption` | `form.messages.rsvp.positiveMessages.title` | `form.messages.rsvp.positiveMessages.confirmation.title` | `form.messages.rsvp.positiveMessages.confirmation.message` | `form.messages.rsvp.positiveMessages.confirmation.addToCalendarActionLabel` | `form.messages.rsvp.positiveMessages.confirmation.shareActionLabel` | `form.messages.rsvp.negativeMessages.title` | `form.messages.rsvp.negativeMessages.confirmation.title` | `form.messages.rsvp.negativeMessages.confirmation.shareActionLabel` | `form.messages.rsvp.submitActionLabel` | `form.messages.checkout.title` | `form.messages.checkout.submitActionLabel` | `form.messages.checkout.confirmation.title` | `form.messages.checkout.confirmation.message` | `form.messages.checkout.confirmation.downloadTicketsLabel` | `form.messages.checkout.confirmation.addToCalendarLabel` | `form.messages.checkout.confirmation.shareEventLabel` | `form.messages.registrationClosed.message` | `form.messages.registrationClosed.exploreEventsActionLabel` | `form.messages.ticketsUnavailable.message` | `form.messages.ticketsUnavailable.exploreEventsActionLabel` | `summaries.rsvps.totalCount` | `summaries.rsvps.yesCount` | `summaries.rsvps.noCount` | `summaries.rsvps.waitlistCount` | `summaries.tickets.ticketsSold` | `summaries.tickets.revenue.amount` | `summaries.tickets.revenue.currency` | `summaries.tickets.currencyLocked` | `summaries.tickets.totalOrders` | `instanceId` | `guestListSettings.displayedPublicly` | `userId` | `onlineConferencing.enabled` | `onlineConferencing.type` | `onlineConferencing.session.hostLink` | `onlineConferencing.session.guestLink` | `seoSettings.slug` | `seoSettings.advancedSeoData.tags` | `seoSettings.advancedSeoData.tags.${number}.type` | `seoSettings.advancedSeoData.tags.${number}.children` | `seoSettings.advancedSeoData.tags.${number}.custom` | `seoSettings.advancedSeoData.tags.${number}.disabled` | `seoSettings.advancedSeoData.settings.preventAutoRedirect` | `seoSettings.advancedSeoData.settings.keywords` | `seoSettings.advancedSeoData.settings.keywords.${number}.term` | `seoSettings.advancedSeoData.settings.keywords.${number}.isMain` | `agendaSettings.enabled` | `description.nodes` | `description.nodes.${number}.buttonData.containerData.width.size` | `description.nodes.${number}.buttonData.containerData.alignment` | `description.nodes.${number}.buttonData.type` | `description.nodes.${number}.buttonData.link.url` | `description.nodes.${number}.buttonData.link.anchor` | `description.nodes.${number}.buttonData.link.target` | `description.nodes.${number}.codeBlockData.textStyle.textAlignment` | `description.nodes.${number}.dividerData.lineStyle` | `description.nodes.${number}.dividerData.width` | `description.nodes.${number}.dividerData.alignment` | `description.nodes.${number}.fileData.pdfSettings.viewMode` | `description.nodes.${number}.galleryData.items` | `description.nodes.${number}.galleryData.options.layout.type` | `description.nodes.${number}.galleryData.options.layout.orientation` | `description.nodes.${number}.galleryData.options.item.crop` | `description.nodes.${number}.galleryData.options.thumbnails.placement` | `description.nodes.${number}.gifData.height` | `description.nodes.${number}.gifData.width` | `description.nodes.${number}.gifData.gifType` | `description.nodes.${number}.headingData.level` | `description.nodes.${number}.htmlData.url` | `description.nodes.${number}.htmlData.html` | `description.nodes.${number}.htmlData.source` | `description.nodes.${number}.linkPreviewData.styles.thumbnailPosition` | `description.nodes.${number}.mapData.mapSettings.mapType` | `description.nodes.${number}.pollData.poll.options` | `description.nodes.${number}.pollData.poll.settings.permissions.view` | `description.nodes.${number}.pollData.poll.settings.permissions.vote` | `description.nodes.${number}.pollData.layout.poll.type` | `description.nodes.${number}.pollData.layout.poll.direction` | `description.nodes.${number}.pollData.design.poll.background.type` | `description.nodes.${number}.textData.text` | `description.nodes.${number}.textData.decorations` | `description.nodes.${number}.textData.decorations.${number}.anchorData.anchor` | `description.nodes.${number}.textData.decorations.${number}.mentionData.name` | `description.nodes.${number}.textData.decorations.${number}.mentionData.slug` | `description.nodes.${number}.textData.decorations.${number}.fontSizeData.unit` | `description.nodes.${number}.textData.decorations.${number}.type` | `description.nodes.${number}.appEmbedData.type` | `description.nodes.${number}.collapsibleListData.initialExpandedItems` | `description.nodes.${number}.collapsibleListData.direction` | `description.nodes.${number}.tableData.dimensions.colsWidthRatio` | `description.nodes.${number}.tableData.dimensions.rowsHeight` | `description.nodes.${number}.tableData.dimensions.colsMinWidth` | `description.nodes.${number}.tableCellData.cellStyle.verticalAlignment` | `description.nodes.${number}.orderedListData.indentation` | `description.nodes.${number}.bulletedListData.indentation` | `description.nodes.${number}.blockquoteData.indentation` | `description.nodes.${number}.type` | `description.nodes.${number}._id` | `description.nodes.${number}.nodes` | `description.metadata.version` | `description.documentStyle.headerOne.decorations`;
|
|
5177
4662
|
/**
|
|
5178
4663
|
* Creates an event.
|
|
5179
4664
|
*
|
|
@@ -5202,7 +4687,7 @@ export declare function onEventUpdated(handler: (event: EventUpdatedEnvelope) =>
|
|
|
5202
4687
|
* @returns Created event.
|
|
5203
4688
|
* @fqn wix.events.events.v3.EventManagement.CreateEvent
|
|
5204
4689
|
*/
|
|
5205
|
-
export declare function createEvent(event: V3Event, options?: CreateEventOptions): Promise<V3Event
|
|
4690
|
+
export declare function createEvent(event: NonNullablePaths<V3Event, `dateAndTimeSettings` | `location` | `registration.initialType` | `title`>, options?: CreateEventOptions): Promise<NonNullablePaths<V3Event, EventNonNullablePaths>>;
|
|
5206
4691
|
export interface CreateEventOptions {
|
|
5207
4692
|
/** Whether to create the event as a draft. */
|
|
5208
4693
|
draft?: boolean;
|
|
@@ -5232,7 +4717,9 @@ export interface CreateEventOptions {
|
|
|
5232
4717
|
* @applicableIdentity APP
|
|
5233
4718
|
* @fqn wix.events.events.v3.EventManagement.CloneEvent
|
|
5234
4719
|
*/
|
|
5235
|
-
export declare function cloneEvent(eventId: string, options?: CloneEventOptions): Promise<CloneEventResponse
|
|
4720
|
+
export declare function cloneEvent(eventId: string, options?: CloneEventOptions): Promise<NonNullablePaths<CloneEventResponse, {
|
|
4721
|
+
[P in EventNonNullablePaths]: `event.${P}`;
|
|
4722
|
+
}[EventNonNullablePaths]>>;
|
|
5236
4723
|
export interface CloneEventOptions {
|
|
5237
4724
|
/** Field values to be changed when cloning the event. */
|
|
5238
4725
|
event?: V3Event;
|
|
@@ -5261,7 +4748,7 @@ export interface CloneEventOptions {
|
|
|
5261
4748
|
* @returns Updated event.
|
|
5262
4749
|
* @fqn wix.events.events.v3.EventManagement.UpdateEvent
|
|
5263
4750
|
*/
|
|
5264
|
-
export declare function updateEvent(_id: string, options?: UpdateEventOptions): Promise<V3Event
|
|
4751
|
+
export declare function updateEvent(_id: string, options?: UpdateEventOptions): Promise<NonNullablePaths<V3Event, EventNonNullablePaths>>;
|
|
5265
4752
|
export interface UpdateEventOptions {
|
|
5266
4753
|
/** Event to update. */
|
|
5267
4754
|
event: {
|
|
@@ -5425,7 +4912,9 @@ export interface UpdateEventOptions {
|
|
|
5425
4912
|
* @applicableIdentity APP
|
|
5426
4913
|
* @fqn wix.events.events.v3.EventManagement.PublishDraftEvent
|
|
5427
4914
|
*/
|
|
5428
|
-
export declare function publishDraftEvent(eventId: string, options?: PublishDraftEventOptions): Promise<PublishDraftEventResponse
|
|
4915
|
+
export declare function publishDraftEvent(eventId: string, options?: PublishDraftEventOptions): Promise<NonNullablePaths<PublishDraftEventResponse, {
|
|
4916
|
+
[P in EventNonNullablePaths]: `event.${P}`;
|
|
4917
|
+
}[EventNonNullablePaths]>>;
|
|
5429
4918
|
export interface PublishDraftEventOptions {
|
|
5430
4919
|
/**
|
|
5431
4920
|
* Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.
|
|
@@ -5453,7 +4942,9 @@ export interface PublishDraftEventOptions {
|
|
|
5453
4942
|
* @applicableIdentity APP
|
|
5454
4943
|
* @fqn wix.events.events.v3.EventManagement.CancelEvent
|
|
5455
4944
|
*/
|
|
5456
|
-
export declare function cancelEvent(eventId: string, options?: CancelEventOptions): Promise<CancelEventResponse
|
|
4945
|
+
export declare function cancelEvent(eventId: string, options?: CancelEventOptions): Promise<NonNullablePaths<CancelEventResponse, {
|
|
4946
|
+
[P in EventNonNullablePaths]: `event.${P}`;
|
|
4947
|
+
}[EventNonNullablePaths]>>;
|
|
5457
4948
|
export interface CancelEventOptions {
|
|
5458
4949
|
/**
|
|
5459
4950
|
* Predefined sets of fields to return. If both `fields` and `fieldsets` are sent in the request, the union of both lists is returned.
|
|
@@ -5480,7 +4971,7 @@ export interface CancelEventOptions {
|
|
|
5480
4971
|
* @applicableIdentity APP
|
|
5481
4972
|
* @fqn wix.events.events.v3.EventManagement.BulkCancelEventsByFilter
|
|
5482
4973
|
*/
|
|
5483
|
-
export declare function bulkCancelEventsByFilter(options?: BulkCancelEventsByFilterOptions): Promise<void>;
|
|
4974
|
+
export declare function bulkCancelEventsByFilter(options?: NonNullablePaths<BulkCancelEventsByFilterOptions, `filter.filter`>): Promise<void>;
|
|
5484
4975
|
export interface BulkCancelEventsByFilterOptions {
|
|
5485
4976
|
/** Filter. */
|
|
5486
4977
|
filter?: CommonQueryV2;
|
|
@@ -5501,7 +4992,7 @@ export interface BulkCancelEventsByFilterOptions {
|
|
|
5501
4992
|
* @applicableIdentity APP
|
|
5502
4993
|
* @fqn wix.events.events.v3.EventManagement.DeleteEvent
|
|
5503
4994
|
*/
|
|
5504
|
-
export declare function deleteEvent(eventId: string): Promise<DeleteEventResponse
|
|
4995
|
+
export declare function deleteEvent(eventId: string): Promise<NonNullablePaths<DeleteEventResponse, `eventId`>>;
|
|
5505
4996
|
/**
|
|
5506
4997
|
* Permanently deletes multiple events that meet the given criteria.
|
|
5507
4998
|
*
|
|
@@ -5520,7 +5011,7 @@ export declare function deleteEvent(eventId: string): Promise<DeleteEventRespons
|
|
|
5520
5011
|
* @applicableIdentity APP
|
|
5521
5012
|
* @fqn wix.events.events.v3.EventManagement.BulkDeleteEventsByFilter
|
|
5522
5013
|
*/
|
|
5523
|
-
export declare function bulkDeleteEventsByFilter(options?: BulkDeleteEventsByFilterOptions): Promise<void>;
|
|
5014
|
+
export declare function bulkDeleteEventsByFilter(options?: NonNullablePaths<BulkDeleteEventsByFilterOptions, `filter.filter`>): Promise<void>;
|
|
5524
5015
|
export interface BulkDeleteEventsByFilterOptions {
|
|
5525
5016
|
/** Query options. See [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language) for more details. */
|
|
5526
5017
|
filter?: CommonQueryV2;
|
|
@@ -5722,7 +5213,7 @@ export interface CountEventsByStatusOptions {
|
|
|
5722
5213
|
* @returns Event.
|
|
5723
5214
|
* @fqn wix.events.events.v3.EventManagement.GetEvent
|
|
5724
5215
|
*/
|
|
5725
|
-
export declare function getEvent(eventId: string
|
|
5216
|
+
export declare function getEvent(eventId: string, options?: GetEventOptions): Promise<NonNullablePaths<V3Event, EventNonNullablePaths>>;
|
|
5726
5217
|
export interface GetEventOptions {
|
|
5727
5218
|
/**
|
|
5728
5219
|
* Predefined sets of fields to return.
|
|
@@ -5768,7 +5259,9 @@ export interface GetEventOptions {
|
|
|
5768
5259
|
* @applicableIdentity VISITOR
|
|
5769
5260
|
* @fqn wix.events.events.v3.EventManagement.GetEventBySlug
|
|
5770
5261
|
*/
|
|
5771
|
-
export declare function getEventBySlug(slug: string
|
|
5262
|
+
export declare function getEventBySlug(slug: string, options?: GetEventBySlugOptions): Promise<NonNullablePaths<GetEventBySlugResponse, {
|
|
5263
|
+
[P in EventNonNullablePaths]: `event.${P}`;
|
|
5264
|
+
}[EventNonNullablePaths]>>;
|
|
5772
5265
|
export interface GetEventBySlugOptions {
|
|
5773
5266
|
/** @maxSize 20 */
|
|
5774
5267
|
fields?: RequestedFields[];
|
|
@@ -467,6 +467,7 @@ var DecorationType;
|
|
|
467
467
|
DecorationType["COLOR"] = "COLOR";
|
|
468
468
|
DecorationType["FONT_SIZE"] = "FONT_SIZE";
|
|
469
469
|
DecorationType["EXTERNAL"] = "EXTERNAL";
|
|
470
|
+
DecorationType["STRIKETHROUGH"] = "STRIKETHROUGH";
|
|
470
471
|
})(DecorationType || (exports.DecorationType = DecorationType = {}));
|
|
471
472
|
var FontType;
|
|
472
473
|
(function (FontType) {
|