@wix/auto_sdk_events_wix-events-v-2 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.
- package/build/cjs/index.d.ts +59 -64
- package/build/cjs/index.js +64 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +305 -177
- package/build/cjs/index.typings.js +64 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +233 -31
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +59 -64
- package/build/es/index.mjs +57 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +305 -177
- package/build/es/index.typings.mjs +57 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +233 -31
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +59 -64
- package/build/internal/cjs/index.js +64 -13
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +305 -177
- package/build/internal/cjs/index.typings.js +64 -13
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +233 -31
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +59 -64
- package/build/internal/es/index.mjs +57 -13
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +305 -177
- package/build/internal/es/index.typings.mjs +57 -13
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +233 -31
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -19,7 +19,7 @@ interface V3Event {
|
|
|
19
19
|
*/
|
|
20
20
|
title?: string | null;
|
|
21
21
|
/**
|
|
22
|
-
* Short description that appears under the event title.
|
|
22
|
+
* Short description that appears under the event title.
|
|
23
23
|
* **Note:** This field is returned only when the `DETAILS` fieldset is included in the request.
|
|
24
24
|
* @maxLength 500
|
|
25
25
|
*/
|
|
@@ -395,13 +395,13 @@ declare enum RegistrationTypeType {
|
|
|
395
395
|
TICKETING = "TICKETING",
|
|
396
396
|
/** Guests register externally using some other site or platform. */
|
|
397
397
|
EXTERNAL = "EXTERNAL",
|
|
398
|
-
/** No registration is required, all guests can attend. This registration type is for only displaying the event details on a site. The property value can be changed from RSVP
|
|
398
|
+
/** No registration is required, all guests can attend. This registration type is for only displaying the event details on a site. The property value can be changed from `RSVP` or `TICKETING `to `EXTERNAL` or `NONE` after the event is created, depending on any additional configurations applied to the event. */
|
|
399
399
|
NONE = "NONE"
|
|
400
400
|
}
|
|
401
401
|
/** @enumType */
|
|
402
402
|
type RegistrationTypeTypeWithLiterals = RegistrationTypeType | 'UNKNOWN_REGISTRATION_TYPE' | 'RSVP' | 'TICKETING' | 'EXTERNAL' | 'NONE';
|
|
403
403
|
declare enum RegistrationStatusStatus {
|
|
404
|
-
/** Registration status
|
|
404
|
+
/** Registration status isn't applicable. */
|
|
405
405
|
UNKNOWN_REGISTRATION_STATUS = "UNKNOWN_REGISTRATION_STATUS",
|
|
406
406
|
/** Registration is closed after tickets are sold out. */
|
|
407
407
|
CLOSED_AUTOMATICALLY = "CLOSED_AUTOMATICALLY",
|
|
@@ -425,7 +425,7 @@ interface RsvpRegistration {
|
|
|
425
425
|
responseType?: ResponseTypeWithLiterals;
|
|
426
426
|
/** How many guests can RSVP to an event. */
|
|
427
427
|
limit?: number | null;
|
|
428
|
-
/** Whether a waitlist is opened when the total guest limit is reached. If `true`, guests can RSVP to an event and are automatically
|
|
428
|
+
/** Whether a waitlist is opened when the total guest limit is reached. If `true`, guests can RSVP to an event and are automatically added to the waitlist with the `IN_WAITLIST` status. */
|
|
429
429
|
waitlistEnabled?: boolean;
|
|
430
430
|
/** Registration start date. */
|
|
431
431
|
startDate?: Date | null;
|
|
@@ -508,7 +508,7 @@ interface TaxSettings {
|
|
|
508
508
|
*/
|
|
509
509
|
name?: string | null;
|
|
510
510
|
/**
|
|
511
|
-
* Tax rate
|
|
511
|
+
* Tax rate. For example, `21.55`.
|
|
512
512
|
* @decimalValue options { gte:0.001, lte:100, maxScale:3 }
|
|
513
513
|
*/
|
|
514
514
|
rate?: string | null;
|
|
@@ -519,9 +519,9 @@ interface TaxSettings {
|
|
|
519
519
|
declare enum TaxType {
|
|
520
520
|
/** Unknown tax type. */
|
|
521
521
|
UNKNOWN_TAX_TYPE = "UNKNOWN_TAX_TYPE",
|
|
522
|
-
/** Deduct the fee from the ticket price for a seller. For example, if you're selling tickets for $10, a ticket
|
|
522
|
+
/** Deduct the fee from the ticket price for a seller. For example, if you're selling tickets for $10, a ticket service fee of $0.25 is deducted from the price and you'll get $9.75. */
|
|
523
523
|
INCLUDED_IN_PRICE = "INCLUDED_IN_PRICE",
|
|
524
|
-
/** Show the fee in addition to the ticket price at checkout and a guest pays the fee. For example, if you sell tickets for $10, a customer sees a ticket
|
|
524
|
+
/** Show the fee in addition to the ticket price at checkout and a guest pays the fee. For example, if you sell tickets for $10, a customer sees a ticket service fee of $0.25 and pays $10.25 in total. */
|
|
525
525
|
ADDED_AT_CHECKOUT = "ADDED_AT_CHECKOUT"
|
|
526
526
|
}
|
|
527
527
|
/** @enumType */
|
|
@@ -579,7 +579,7 @@ interface CommonImage {
|
|
|
579
579
|
}
|
|
580
580
|
interface CalendarUrls {
|
|
581
581
|
/**
|
|
582
|
-
* "Add to Google
|
|
582
|
+
* "Add to Google Calendar" URL.
|
|
583
583
|
* @readonly
|
|
584
584
|
*/
|
|
585
585
|
google?: string;
|
|
@@ -851,7 +851,7 @@ interface TicketsUnavailableMessages {
|
|
|
851
851
|
interface Summaries {
|
|
852
852
|
/** RSVP summary of guests. */
|
|
853
853
|
rsvps?: Rsvps;
|
|
854
|
-
/** Summary of revenue and sold tickets. Archived orders
|
|
854
|
+
/** Summary of revenue and sold tickets. Archived orders aren't included. */
|
|
855
855
|
tickets?: Tickets;
|
|
856
856
|
}
|
|
857
857
|
interface EventsMoney {
|
|
@@ -862,7 +862,7 @@ interface EventsMoney {
|
|
|
862
862
|
*/
|
|
863
863
|
amount?: string;
|
|
864
864
|
/**
|
|
865
|
-
*
|
|
865
|
+
* 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format. For example, `USD`.
|
|
866
866
|
* @format CURRENCY
|
|
867
867
|
*/
|
|
868
868
|
currency?: string;
|
|
@@ -906,7 +906,7 @@ interface Tickets {
|
|
|
906
906
|
*/
|
|
907
907
|
revenue?: EventsMoney;
|
|
908
908
|
/**
|
|
909
|
-
* Whether the currency is locked and can
|
|
909
|
+
* Whether the currency is locked and can't be changed.
|
|
910
910
|
* @readonly
|
|
911
911
|
*/
|
|
912
912
|
currencyLocked?: boolean;
|
|
@@ -922,11 +922,11 @@ interface Tickets {
|
|
|
922
922
|
totalSales?: EventsMoney;
|
|
923
923
|
}
|
|
924
924
|
interface GuestListSettings {
|
|
925
|
-
/** Whether the guest list is
|
|
925
|
+
/** Whether the guest list is displayed publicly to all guests. */
|
|
926
926
|
displayedPublicly?: boolean;
|
|
927
927
|
}
|
|
928
928
|
interface OnlineConferencing {
|
|
929
|
-
/** Whether online conferencing is enabled. Not applicable for events
|
|
929
|
+
/** Whether online conferencing is enabled. Not applicable for events where date and time are TBD. When enabled, links to join the conference are generated and provided to guests. */
|
|
930
930
|
enabled?: boolean;
|
|
931
931
|
/**
|
|
932
932
|
* Conference host ID.
|
|
@@ -984,7 +984,7 @@ interface SeoSettings {
|
|
|
984
984
|
/** Advanced SEO data. */
|
|
985
985
|
advancedSeoData?: SeoSchema;
|
|
986
986
|
/**
|
|
987
|
-
* Whether the slug is hidden from the SEO
|
|
987
|
+
* Whether the slug is hidden from the SEO sitemap.
|
|
988
988
|
* @readonly
|
|
989
989
|
*/
|
|
990
990
|
hidden?: boolean | null;
|
|
@@ -1489,7 +1489,7 @@ interface DividerData {
|
|
|
1489
1489
|
/** Divider width. */
|
|
1490
1490
|
width?: WidthWithLiterals;
|
|
1491
1491
|
/** Divider alignment. */
|
|
1492
|
-
alignment?:
|
|
1492
|
+
alignment?: DividerDataAlignmentWithLiterals;
|
|
1493
1493
|
}
|
|
1494
1494
|
declare enum LineStyle {
|
|
1495
1495
|
/** Single Line */
|
|
@@ -1513,7 +1513,7 @@ declare enum Width {
|
|
|
1513
1513
|
}
|
|
1514
1514
|
/** @enumType */
|
|
1515
1515
|
type WidthWithLiterals = Width | 'LARGE' | 'MEDIUM' | 'SMALL';
|
|
1516
|
-
declare enum
|
|
1516
|
+
declare enum DividerDataAlignment {
|
|
1517
1517
|
/** Center alignment */
|
|
1518
1518
|
CENTER = "CENTER",
|
|
1519
1519
|
/** Left alignment */
|
|
@@ -1522,7 +1522,7 @@ declare enum Alignment {
|
|
|
1522
1522
|
RIGHT = "RIGHT"
|
|
1523
1523
|
}
|
|
1524
1524
|
/** @enumType */
|
|
1525
|
-
type
|
|
1525
|
+
type DividerDataAlignmentWithLiterals = DividerDataAlignment | 'CENTER' | 'LEFT' | 'RIGHT';
|
|
1526
1526
|
interface FileData {
|
|
1527
1527
|
/** Styling for the file's container. */
|
|
1528
1528
|
containerData?: PluginContainerData;
|
|
@@ -1647,7 +1647,7 @@ interface ItemDataOneOf {
|
|
|
1647
1647
|
}
|
|
1648
1648
|
interface GalleryOptions {
|
|
1649
1649
|
/** Gallery layout. */
|
|
1650
|
-
layout?:
|
|
1650
|
+
layout?: GalleryOptionsLayout;
|
|
1651
1651
|
/** Styling for gallery items. */
|
|
1652
1652
|
item?: ItemStyle;
|
|
1653
1653
|
/** Styling for gallery thumbnail images. */
|
|
@@ -1707,7 +1707,7 @@ declare enum ThumbnailsAlignment {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
/** @enumType */
|
|
1709
1709
|
type ThumbnailsAlignmentWithLiterals = ThumbnailsAlignment | 'TOP' | 'RIGHT' | 'BOTTOM' | 'LEFT' | 'NONE';
|
|
1710
|
-
interface
|
|
1710
|
+
interface GalleryOptionsLayout {
|
|
1711
1711
|
/** Gallery layout type. */
|
|
1712
1712
|
type?: LayoutTypeWithLiterals;
|
|
1713
1713
|
/** Sets whether horizontal scroll is enabled. Defaults to `true` unless the layout `type` is set to `GRID` or `COLLAGE`. */
|
|
@@ -1869,7 +1869,7 @@ interface LinkPreviewData {
|
|
|
1869
1869
|
/** Styling for the link preview. */
|
|
1870
1870
|
styles?: LinkPreviewDataStyles;
|
|
1871
1871
|
}
|
|
1872
|
-
declare enum
|
|
1872
|
+
declare enum StylesPosition {
|
|
1873
1873
|
/** Thumbnail positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
1874
1874
|
START = "START",
|
|
1875
1875
|
/** Thumbnail positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
@@ -1880,7 +1880,7 @@ declare enum Position {
|
|
|
1880
1880
|
HIDDEN = "HIDDEN"
|
|
1881
1881
|
}
|
|
1882
1882
|
/** @enumType */
|
|
1883
|
-
type
|
|
1883
|
+
type StylesPositionWithLiterals = StylesPosition | 'START' | 'END' | 'TOP' | 'HIDDEN';
|
|
1884
1884
|
interface LinkPreviewDataStyles {
|
|
1885
1885
|
/**
|
|
1886
1886
|
* Background color as a hexadecimal value.
|
|
@@ -1912,7 +1912,7 @@ interface LinkPreviewDataStyles {
|
|
|
1912
1912
|
*/
|
|
1913
1913
|
borderColor?: string | null;
|
|
1914
1914
|
/** Position of thumbnail. Defaults to `START`. */
|
|
1915
|
-
thumbnailPosition?:
|
|
1915
|
+
thumbnailPosition?: StylesPositionWithLiterals;
|
|
1916
1916
|
}
|
|
1917
1917
|
interface MapData {
|
|
1918
1918
|
/** Styling for the map's container. */
|
|
@@ -2266,6 +2266,32 @@ interface AppEmbedData extends AppEmbedDataAppDataOneOf {
|
|
|
2266
2266
|
url?: string | null;
|
|
2267
2267
|
/** An image for the embedded content. */
|
|
2268
2268
|
image?: Media;
|
|
2269
|
+
/** Whether to hide the image. */
|
|
2270
|
+
hideImage?: boolean | null;
|
|
2271
|
+
/** Whether to hide the title. */
|
|
2272
|
+
hideTitle?: boolean | null;
|
|
2273
|
+
/** Whether to hide the price. */
|
|
2274
|
+
hidePrice?: boolean | null;
|
|
2275
|
+
/** Whether to hide the description (Event and Booking). */
|
|
2276
|
+
hideDescription?: boolean | null;
|
|
2277
|
+
/** Whether to hide the date and time (Event). */
|
|
2278
|
+
hideDateTime?: boolean | null;
|
|
2279
|
+
/** Whether to hide the location (Event). */
|
|
2280
|
+
hideLocation?: boolean | null;
|
|
2281
|
+
/** Whether to hide the duration (Booking). */
|
|
2282
|
+
hideDuration?: boolean | null;
|
|
2283
|
+
/** Whether to hide the button. */
|
|
2284
|
+
hideButton?: boolean | null;
|
|
2285
|
+
/** Whether to hide the ribbon. */
|
|
2286
|
+
hideRibbon?: boolean | null;
|
|
2287
|
+
/** Button styling options. */
|
|
2288
|
+
buttonStyles?: ButtonStyles;
|
|
2289
|
+
/** Image styling options. */
|
|
2290
|
+
imageStyles?: ImageStyles;
|
|
2291
|
+
/** Ribbon styling options. */
|
|
2292
|
+
ribbonStyles?: RibbonStyles;
|
|
2293
|
+
/** Card styling options. */
|
|
2294
|
+
cardStyles?: CardStyles;
|
|
2269
2295
|
}
|
|
2270
2296
|
/** @oneof */
|
|
2271
2297
|
interface AppEmbedDataAppDataOneOf {
|
|
@@ -2274,6 +2300,66 @@ interface AppEmbedDataAppDataOneOf {
|
|
|
2274
2300
|
/** Data for embedded Wix Events content. */
|
|
2275
2301
|
eventData?: EventData;
|
|
2276
2302
|
}
|
|
2303
|
+
declare enum Position {
|
|
2304
|
+
/** Image positioned at the start (left in LTR layouts, right in RTL layouts) */
|
|
2305
|
+
START = "START",
|
|
2306
|
+
/** Image positioned at the end (right in LTR layouts, left in RTL layouts) */
|
|
2307
|
+
END = "END",
|
|
2308
|
+
/** Image positioned at the top */
|
|
2309
|
+
TOP = "TOP"
|
|
2310
|
+
}
|
|
2311
|
+
/** @enumType */
|
|
2312
|
+
type PositionWithLiterals = Position | 'START' | 'END' | 'TOP';
|
|
2313
|
+
declare enum AspectRatio {
|
|
2314
|
+
/** 1:1 aspect ratio */
|
|
2315
|
+
SQUARE = "SQUARE",
|
|
2316
|
+
/** 16:9 aspect ratio */
|
|
2317
|
+
RECTANGLE = "RECTANGLE"
|
|
2318
|
+
}
|
|
2319
|
+
/** @enumType */
|
|
2320
|
+
type AspectRatioWithLiterals = AspectRatio | 'SQUARE' | 'RECTANGLE';
|
|
2321
|
+
declare enum Resizing {
|
|
2322
|
+
/** Fill the container, may crop the image */
|
|
2323
|
+
FILL = "FILL",
|
|
2324
|
+
/** Fit the image within the container */
|
|
2325
|
+
FIT = "FIT"
|
|
2326
|
+
}
|
|
2327
|
+
/** @enumType */
|
|
2328
|
+
type ResizingWithLiterals = Resizing | 'FILL' | 'FIT';
|
|
2329
|
+
declare enum Placement {
|
|
2330
|
+
/** Ribbon placed on the image */
|
|
2331
|
+
IMAGE = "IMAGE",
|
|
2332
|
+
/** Ribbon placed on the product information */
|
|
2333
|
+
PRODUCT_INFO = "PRODUCT_INFO"
|
|
2334
|
+
}
|
|
2335
|
+
/** @enumType */
|
|
2336
|
+
type PlacementWithLiterals = Placement | 'IMAGE' | 'PRODUCT_INFO';
|
|
2337
|
+
declare enum CardStylesType {
|
|
2338
|
+
/** Card with visible border and background */
|
|
2339
|
+
CONTAINED = "CONTAINED",
|
|
2340
|
+
/** Card without visible border */
|
|
2341
|
+
FRAMELESS = "FRAMELESS"
|
|
2342
|
+
}
|
|
2343
|
+
/** @enumType */
|
|
2344
|
+
type CardStylesTypeWithLiterals = CardStylesType | 'CONTAINED' | 'FRAMELESS';
|
|
2345
|
+
declare enum Alignment {
|
|
2346
|
+
/** Content aligned to start (left in LTR layouts, right in RTL layouts) */
|
|
2347
|
+
START = "START",
|
|
2348
|
+
/** Content centered */
|
|
2349
|
+
CENTER = "CENTER",
|
|
2350
|
+
/** Content aligned to end (right in LTR layouts, left in RTL layouts) */
|
|
2351
|
+
END = "END"
|
|
2352
|
+
}
|
|
2353
|
+
/** @enumType */
|
|
2354
|
+
type AlignmentWithLiterals = Alignment | 'START' | 'CENTER' | 'END';
|
|
2355
|
+
declare enum Layout {
|
|
2356
|
+
/** Elements stacked vertically */
|
|
2357
|
+
STACKED = "STACKED",
|
|
2358
|
+
/** Elements arranged horizontally */
|
|
2359
|
+
SIDE_BY_SIDE = "SIDE_BY_SIDE"
|
|
2360
|
+
}
|
|
2361
|
+
/** @enumType */
|
|
2362
|
+
type LayoutWithLiterals = Layout | 'STACKED' | 'SIDE_BY_SIDE';
|
|
2277
2363
|
declare enum AppType {
|
|
2278
2364
|
PRODUCT = "PRODUCT",
|
|
2279
2365
|
EVENT = "EVENT",
|
|
@@ -2291,6 +2377,122 @@ interface EventData {
|
|
|
2291
2377
|
/** Event location. */
|
|
2292
2378
|
location?: string | null;
|
|
2293
2379
|
}
|
|
2380
|
+
interface ButtonStyles {
|
|
2381
|
+
/** Text to display on the button. */
|
|
2382
|
+
buttonText?: string | null;
|
|
2383
|
+
/** Border width in pixels. */
|
|
2384
|
+
borderWidth?: number | null;
|
|
2385
|
+
/** Border radius in pixels. */
|
|
2386
|
+
borderRadius?: number | null;
|
|
2387
|
+
/**
|
|
2388
|
+
* Border color as a hexadecimal value.
|
|
2389
|
+
* @format COLOR_HEX
|
|
2390
|
+
*/
|
|
2391
|
+
borderColor?: string | null;
|
|
2392
|
+
/**
|
|
2393
|
+
* Text color as a hexadecimal value.
|
|
2394
|
+
* @format COLOR_HEX
|
|
2395
|
+
*/
|
|
2396
|
+
textColor?: string | null;
|
|
2397
|
+
/**
|
|
2398
|
+
* Background color as a hexadecimal value.
|
|
2399
|
+
* @format COLOR_HEX
|
|
2400
|
+
*/
|
|
2401
|
+
backgroundColor?: string | null;
|
|
2402
|
+
/**
|
|
2403
|
+
* Border color as a hexadecimal value (hover state).
|
|
2404
|
+
* @format COLOR_HEX
|
|
2405
|
+
*/
|
|
2406
|
+
borderColorHover?: string | null;
|
|
2407
|
+
/**
|
|
2408
|
+
* Text color as a hexadecimal value (hover state).
|
|
2409
|
+
* @format COLOR_HEX
|
|
2410
|
+
*/
|
|
2411
|
+
textColorHover?: string | null;
|
|
2412
|
+
/**
|
|
2413
|
+
* Background color as a hexadecimal value (hover state).
|
|
2414
|
+
* @format COLOR_HEX
|
|
2415
|
+
*/
|
|
2416
|
+
backgroundColorHover?: string | null;
|
|
2417
|
+
/** Button size option, one of `SMALL`, `MEDIUM` or `LARGE`. Defaults to `MEDIUM`. */
|
|
2418
|
+
buttonSize?: string | null;
|
|
2419
|
+
}
|
|
2420
|
+
interface ImageStyles {
|
|
2421
|
+
/** Whether to hide the image. */
|
|
2422
|
+
hideImage?: boolean | null;
|
|
2423
|
+
/** Position of image. Defaults to `START`. */
|
|
2424
|
+
imagePosition?: PositionWithLiterals;
|
|
2425
|
+
/** Aspect ratio for the image. Defaults to `SQUARE`. */
|
|
2426
|
+
aspectRatio?: AspectRatioWithLiterals;
|
|
2427
|
+
/** How the image should be resized. Defaults to `FILL`. */
|
|
2428
|
+
resizing?: ResizingWithLiterals;
|
|
2429
|
+
/**
|
|
2430
|
+
* Image border color as a hexadecimal value.
|
|
2431
|
+
* @format COLOR_HEX
|
|
2432
|
+
*/
|
|
2433
|
+
borderColor?: string | null;
|
|
2434
|
+
/** Image border width in pixels. */
|
|
2435
|
+
borderWidth?: number | null;
|
|
2436
|
+
/** Image border radius in pixels. */
|
|
2437
|
+
borderRadius?: number | null;
|
|
2438
|
+
}
|
|
2439
|
+
interface RibbonStyles {
|
|
2440
|
+
/** Text to display on the ribbon. */
|
|
2441
|
+
ribbonText?: string | null;
|
|
2442
|
+
/**
|
|
2443
|
+
* Ribbon background color as a hexadecimal value.
|
|
2444
|
+
* @format COLOR_HEX
|
|
2445
|
+
*/
|
|
2446
|
+
backgroundColor?: string | null;
|
|
2447
|
+
/**
|
|
2448
|
+
* Ribbon text color as a hexadecimal value.
|
|
2449
|
+
* @format COLOR_HEX
|
|
2450
|
+
*/
|
|
2451
|
+
textColor?: string | null;
|
|
2452
|
+
/**
|
|
2453
|
+
* Ribbon border color as a hexadecimal value.
|
|
2454
|
+
* @format COLOR_HEX
|
|
2455
|
+
*/
|
|
2456
|
+
borderColor?: string | null;
|
|
2457
|
+
/** Ribbon border width in pixels. */
|
|
2458
|
+
borderWidth?: number | null;
|
|
2459
|
+
/** Ribbon border radius in pixels. */
|
|
2460
|
+
borderRadius?: number | null;
|
|
2461
|
+
/** Placement of the ribbon. Defaults to `IMAGE`. */
|
|
2462
|
+
ribbonPlacement?: PlacementWithLiterals;
|
|
2463
|
+
}
|
|
2464
|
+
interface CardStyles {
|
|
2465
|
+
/**
|
|
2466
|
+
* Card background color as a hexadecimal value.
|
|
2467
|
+
* @format COLOR_HEX
|
|
2468
|
+
*/
|
|
2469
|
+
backgroundColor?: string | null;
|
|
2470
|
+
/**
|
|
2471
|
+
* Card border color as a hexadecimal value.
|
|
2472
|
+
* @format COLOR_HEX
|
|
2473
|
+
*/
|
|
2474
|
+
borderColor?: string | null;
|
|
2475
|
+
/** Card border width in pixels. */
|
|
2476
|
+
borderWidth?: number | null;
|
|
2477
|
+
/** Card border radius in pixels. */
|
|
2478
|
+
borderRadius?: number | null;
|
|
2479
|
+
/** Card type. Defaults to `CONTAINED`. */
|
|
2480
|
+
type?: CardStylesTypeWithLiterals;
|
|
2481
|
+
/** Content alignment. Defaults to `START`. */
|
|
2482
|
+
alignment?: AlignmentWithLiterals;
|
|
2483
|
+
/** Layout for title and price. Defaults to `STACKED`. */
|
|
2484
|
+
titlePriceLayout?: LayoutWithLiterals;
|
|
2485
|
+
/**
|
|
2486
|
+
* Title text color as a hexadecimal value.
|
|
2487
|
+
* @format COLOR_HEX
|
|
2488
|
+
*/
|
|
2489
|
+
titleColor?: string | null;
|
|
2490
|
+
/**
|
|
2491
|
+
* Text color as a hexadecimal value.
|
|
2492
|
+
* @format COLOR_HEX
|
|
2493
|
+
*/
|
|
2494
|
+
textColor?: string | null;
|
|
2495
|
+
}
|
|
2294
2496
|
interface VideoData {
|
|
2295
2497
|
/** Styling for the video's container. */
|
|
2296
2498
|
containerData?: PluginContainerData;
|
|
@@ -2588,12 +2790,12 @@ interface CloneEventRequest {
|
|
|
2588
2790
|
* @format GUID
|
|
2589
2791
|
*/
|
|
2590
2792
|
eventId: string;
|
|
2591
|
-
/**
|
|
2793
|
+
/** Event info to change in the cloned event. */
|
|
2592
2794
|
event?: V3Event;
|
|
2593
2795
|
/** Whether to clone the event as a draft. */
|
|
2594
2796
|
draft?: boolean;
|
|
2595
2797
|
/**
|
|
2596
|
-
* Predefined sets of fields to return.
|
|
2798
|
+
* Predefined sets of fields to return.
|
|
2597
2799
|
* @maxSize 20
|
|
2598
2800
|
*/
|
|
2599
2801
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -2603,10 +2805,10 @@ interface CloneEventResponse {
|
|
|
2603
2805
|
event?: V3Event;
|
|
2604
2806
|
}
|
|
2605
2807
|
interface UpdateEventRequest {
|
|
2606
|
-
/**
|
|
2808
|
+
/** Event info to update. */
|
|
2607
2809
|
event?: V3Event;
|
|
2608
2810
|
/**
|
|
2609
|
-
* Predefined sets of fields to return.
|
|
2811
|
+
* Predefined sets of fields to return.
|
|
2610
2812
|
* @maxSize 20
|
|
2611
2813
|
*/
|
|
2612
2814
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -2622,7 +2824,7 @@ interface PublishDraftEventRequest {
|
|
|
2622
2824
|
*/
|
|
2623
2825
|
eventId: string;
|
|
2624
2826
|
/**
|
|
2625
|
-
* Predefined sets of fields to return.
|
|
2827
|
+
* Predefined sets of fields to return.
|
|
2626
2828
|
* @maxSize 20
|
|
2627
2829
|
*/
|
|
2628
2830
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -2638,7 +2840,7 @@ interface CancelEventRequest {
|
|
|
2638
2840
|
*/
|
|
2639
2841
|
eventId: string;
|
|
2640
2842
|
/**
|
|
2641
|
-
* Predefined sets of fields to return.
|
|
2843
|
+
* Predefined sets of fields to return.
|
|
2642
2844
|
* @maxSize 20
|
|
2643
2845
|
*/
|
|
2644
2846
|
fields?: RequestedFieldsWithLiterals[];
|
|
@@ -2648,7 +2850,7 @@ interface CancelEventResponse {
|
|
|
2648
2850
|
event?: V3Event;
|
|
2649
2851
|
}
|
|
2650
2852
|
interface BulkCancelEventsByFilterRequest {
|
|
2651
|
-
/** Filter.
|
|
2853
|
+
/** Filter. For supported filters, see [Events v3: Supported Filters and Sorting](https://dev.wix.com/docs/rest/business-solutions/events/events-v3/filter-and-sort). */
|
|
2652
2854
|
filter?: CommonQueryV2;
|
|
2653
2855
|
}
|
|
2654
2856
|
interface CommonQueryV2 extends CommonQueryV2PagingMethodOneOf {
|
|
@@ -2720,13 +2922,13 @@ interface DeleteEventResponse {
|
|
|
2720
2922
|
eventId?: string;
|
|
2721
2923
|
}
|
|
2722
2924
|
interface BulkDeleteEventsByFilterRequest {
|
|
2723
|
-
/** Query options. See [API Query Language](https://dev.wix.com/
|
|
2925
|
+
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
|
|
2724
2926
|
filter?: CommonQueryV2;
|
|
2725
2927
|
}
|
|
2726
2928
|
interface BulkDeleteEventsByFilterResponse {
|
|
2727
2929
|
}
|
|
2728
2930
|
interface QueryEventsRequest {
|
|
2729
|
-
/** Query options. See [API Query Language](https://dev.wix.com/
|
|
2931
|
+
/** Query options. See [API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language) for more details. */
|
|
2730
2932
|
query?: CommonQueryV2;
|
|
2731
2933
|
/**
|
|
2732
2934
|
* Predefined sets of fields to return.
|