@wix/auto_sdk_data-extension-schema_schemas 1.0.0 → 1.0.2
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/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js +10 -5
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js +9 -4
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +278 -45
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js +71 -17
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +287 -45
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js +77 -17
- package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.context.js +1 -1
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.public.js +1 -1
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +278 -45
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.types.js +67 -13
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +287 -45
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js +73 -13
- package/build/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js +10 -5
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js +9 -4
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +278 -45
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js +71 -17
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +287 -45
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js +77 -17
- package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.context.js +1 -1
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.public.js +1 -1
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +278 -45
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.types.js +67 -13
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +287 -45
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js +73 -13
- package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -510,7 +510,12 @@ export declare enum ComponentType {
|
|
|
510
510
|
PAYMENTS_DISPUTE_SERVICE_PLUGIN = "PAYMENTS_DISPUTE_SERVICE_PLUGIN",
|
|
511
511
|
PRICING_PLANS_FEES = "PRICING_PLANS_FEES",
|
|
512
512
|
EDITOR_REACT_COMPONENT = "EDITOR_REACT_COMPONENT",
|
|
513
|
-
SUPPLIERS_HUB_MARKETPLACE = "SUPPLIERS_HUB_MARKETPLACE"
|
|
513
|
+
SUPPLIERS_HUB_MARKETPLACE = "SUPPLIERS_HUB_MARKETPLACE",
|
|
514
|
+
FORM_SCHEMA_DYNAMIC_VALUES = "FORM_SCHEMA_DYNAMIC_VALUES",
|
|
515
|
+
BLOG_PAYWALL_PROVIDER = "BLOG_PAYWALL_PROVIDER",
|
|
516
|
+
LOYALTY_CUSTOM_REWARDS_V2 = "LOYALTY_CUSTOM_REWARDS_V2",
|
|
517
|
+
STORES_PRODUCT_RESTRICTIONS = "STORES_PRODUCT_RESTRICTIONS",
|
|
518
|
+
FORM_SUBMISSION_MODERATION = "FORM_SUBMISSION_MODERATION"
|
|
514
519
|
}
|
|
515
520
|
/** Component data */
|
|
516
521
|
export interface ComponentData extends ComponentDataDataOneOf {
|
|
@@ -1477,11 +1482,30 @@ export interface HelpResources {
|
|
|
1477
1482
|
/** The Wix Answers' article related to the component (chosen by own app) */
|
|
1478
1483
|
articleId?: string;
|
|
1479
1484
|
}
|
|
1480
|
-
export interface WidgetInstallationSettings {
|
|
1481
|
-
/**
|
|
1485
|
+
export interface WidgetInstallationSettings extends WidgetInstallationSettingsTargetContainerOneOf {
|
|
1486
|
+
/** Which static container should the widget be installed at */
|
|
1487
|
+
staticContainer?: StaticContainer;
|
|
1488
|
+
/**
|
|
1489
|
+
* Deprecated, autoAdd should be mapped to static_container HOMEPAGE, essential should be mapped to container. Shared installation settings for unified components
|
|
1490
|
+
* @deprecated Deprecated, autoAdd should be mapped to static_container HOMEPAGE, essential should be mapped to container. Shared installation settings for unified components
|
|
1491
|
+
* @replacedBy static_container
|
|
1492
|
+
* @targetRemovalDate 2026-02-26
|
|
1493
|
+
*/
|
|
1482
1494
|
base?: BaseInstallation;
|
|
1483
|
-
/**
|
|
1495
|
+
/**
|
|
1496
|
+
* Deprecated, default_preset should be mapped to presets, region is not relevant. Widget installation settings for unified components
|
|
1497
|
+
* @deprecated Deprecated, default_preset should be mapped to presets, region is not relevant. Widget installation settings for unified components
|
|
1498
|
+
* @replacedBy presets
|
|
1499
|
+
* @targetRemovalDate 2026-02-26
|
|
1500
|
+
*/
|
|
1484
1501
|
widget?: WidgetInstallation;
|
|
1502
|
+
/** Default presets per breakpoint with which the widget should be installed */
|
|
1503
|
+
presets?: DefaultPresets;
|
|
1504
|
+
}
|
|
1505
|
+
/** @oneof */
|
|
1506
|
+
export interface WidgetInstallationSettingsTargetContainerOneOf {
|
|
1507
|
+
/** Which static container should the widget be installed at */
|
|
1508
|
+
staticContainer?: StaticContainer;
|
|
1485
1509
|
}
|
|
1486
1510
|
export interface BaseInstallation {
|
|
1487
1511
|
/** Auto add component to stage */
|
|
@@ -1502,6 +1526,17 @@ export declare enum RegionType {
|
|
|
1502
1526
|
BODY = "BODY",
|
|
1503
1527
|
FOOTER = "FOOTER"
|
|
1504
1528
|
}
|
|
1529
|
+
export interface DefaultPresets {
|
|
1530
|
+
/** Default preset ID in small (mobile) breakpoint */
|
|
1531
|
+
small?: string | null;
|
|
1532
|
+
/** Default preset ID in large (desktop) breakpoint */
|
|
1533
|
+
large?: string | null;
|
|
1534
|
+
}
|
|
1535
|
+
export declare enum StaticContainer {
|
|
1536
|
+
UNKNOWN_CONTAINER = "UNKNOWN_CONTAINER",
|
|
1537
|
+
/** Widget should be installed in the homepage */
|
|
1538
|
+
HOMEPAGE = "HOMEPAGE"
|
|
1539
|
+
}
|
|
1505
1540
|
export interface ComponentModel {
|
|
1506
1541
|
/** The component type of the builder component. */
|
|
1507
1542
|
componentType?: string;
|
|
@@ -2626,13 +2661,13 @@ export interface ActionSPIConfig {
|
|
|
2626
2661
|
*/
|
|
2627
2662
|
executionType?: ExecutionType;
|
|
2628
2663
|
/** Chosen interface for action */
|
|
2629
|
-
interfaceConfiguration?:
|
|
2664
|
+
interfaceConfiguration?: ActionSPIConfigInterfaceConfiguration;
|
|
2630
2665
|
/** Icon representing the action in the UI */
|
|
2631
2666
|
icon?: WixCommonImage;
|
|
2632
2667
|
/** The action configuration source information */
|
|
2633
2668
|
source?: Source;
|
|
2634
2669
|
}
|
|
2635
|
-
export declare enum
|
|
2670
|
+
export declare enum ActionSPIConfigInterfaceConfigurationType {
|
|
2636
2671
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
2637
2672
|
WIDGET_COMPONENT = "WIDGET_COMPONENT",
|
|
2638
2673
|
GENERIC = "GENERIC"
|
|
@@ -2693,14 +2728,14 @@ export interface Metadata {
|
|
|
2693
2728
|
/** Show action only to advanced mode users (Wix staff) */
|
|
2694
2729
|
hidden?: boolean;
|
|
2695
2730
|
}
|
|
2696
|
-
export interface
|
|
2731
|
+
export interface ActionSPIConfigInterfaceConfiguration extends ActionSPIConfigInterfaceConfigurationOptionsOneOf {
|
|
2697
2732
|
widgetComponentOptions?: WidgetComponentOptions;
|
|
2698
2733
|
genericOptions?: GenericOptions;
|
|
2699
2734
|
/** Type of chosen interface */
|
|
2700
|
-
type?:
|
|
2735
|
+
type?: ActionSPIConfigInterfaceConfigurationType;
|
|
2701
2736
|
}
|
|
2702
2737
|
/** @oneof */
|
|
2703
|
-
export interface
|
|
2738
|
+
export interface ActionSPIConfigInterfaceConfigurationOptionsOneOf {
|
|
2704
2739
|
widgetComponentOptions?: WidgetComponentOptions;
|
|
2705
2740
|
genericOptions?: GenericOptions;
|
|
2706
2741
|
}
|
|
@@ -4536,7 +4571,7 @@ export interface GIFData {
|
|
|
4536
4571
|
height?: number;
|
|
4537
4572
|
/** Width in pixels. */
|
|
4538
4573
|
width?: number;
|
|
4539
|
-
/** Type of GIF (Sticker or
|
|
4574
|
+
/** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
|
|
4540
4575
|
gifType?: GIFType;
|
|
4541
4576
|
}
|
|
4542
4577
|
export interface GIF {
|
|
@@ -4548,7 +4583,7 @@ export interface GIF {
|
|
|
4548
4583
|
still?: string | null;
|
|
4549
4584
|
}
|
|
4550
4585
|
export declare enum GIFType {
|
|
4551
|
-
|
|
4586
|
+
NORMAL = "NORMAL",
|
|
4552
4587
|
STICKER = "STICKER"
|
|
4553
4588
|
}
|
|
4554
4589
|
export interface HeadingData {
|
|
@@ -4610,6 +4645,22 @@ export interface ImageData {
|
|
|
4610
4645
|
caption?: string | null;
|
|
4611
4646
|
/** Sets whether the image's download button is disabled. Defaults to `false`. */
|
|
4612
4647
|
disableDownload?: boolean | null;
|
|
4648
|
+
/** Sets whether the image is decorative and does not need an explanation. Defaults to `false`. */
|
|
4649
|
+
decorative?: boolean | null;
|
|
4650
|
+
/** Styling for the image. */
|
|
4651
|
+
styles?: ImageDataStyles;
|
|
4652
|
+
}
|
|
4653
|
+
export interface StylesBorder {
|
|
4654
|
+
/** Border width in pixels. */
|
|
4655
|
+
width?: number | null;
|
|
4656
|
+
/** Border color. */
|
|
4657
|
+
color?: string | null;
|
|
4658
|
+
/** Border radius in pixels. */
|
|
4659
|
+
radius?: number | null;
|
|
4660
|
+
}
|
|
4661
|
+
export interface ImageDataStyles {
|
|
4662
|
+
/** Border attributes. */
|
|
4663
|
+
border?: StylesBorder;
|
|
4613
4664
|
}
|
|
4614
4665
|
export interface LinkPreviewData {
|
|
4615
4666
|
/** Styling for the link preview's container. */
|
|
@@ -5426,15 +5477,11 @@ export interface CustomChargesConfig {
|
|
|
5426
5477
|
baseUri?: SpiBaseUri;
|
|
5427
5478
|
}
|
|
5428
5479
|
export interface ValidationsSPIConfig {
|
|
5429
|
-
/**
|
|
5430
|
-
* Whether to validate the cart page in addition to the checkout page.
|
|
5431
|
-
*
|
|
5432
|
-
* Default: `false`.
|
|
5433
|
-
*/
|
|
5480
|
+
/** Whether to validate the cart page in addition to the checkout page. Default: `false` */
|
|
5434
5481
|
validateInCart?: boolean;
|
|
5435
5482
|
/**
|
|
5436
5483
|
* Required. Base URI where the endpoints are called. Wix appends the endpoint path to the base URI.
|
|
5437
|
-
* For example, to call the Get
|
|
5484
|
+
* For example, to call the Get Validation Violations endpoint at `https://my-validations.com/v1/get-violations`, the base URI you provide here is `https://my-validations.com`.
|
|
5438
5485
|
*/
|
|
5439
5486
|
deploymentUri?: string;
|
|
5440
5487
|
}
|
|
@@ -5618,6 +5665,8 @@ export interface NotificationTopic {
|
|
|
5618
5665
|
state?: NotificationTopicState;
|
|
5619
5666
|
/** the type of the topic */
|
|
5620
5667
|
type?: NotificationTopicType;
|
|
5668
|
+
/** The recipients' types indicate that this topic is relevant. */
|
|
5669
|
+
supportedRecipientTypes?: RecipientType[];
|
|
5621
5670
|
}
|
|
5622
5671
|
export declare enum NotificationTopicState {
|
|
5623
5672
|
UNKNOWN_STATE = "UNKNOWN_STATE",
|
|
@@ -5629,6 +5678,13 @@ export declare enum NotificationTopicType {
|
|
|
5629
5678
|
PROMOTIONAL = "PROMOTIONAL",
|
|
5630
5679
|
TRANSACTIONAL = "TRANSACTIONAL"
|
|
5631
5680
|
}
|
|
5681
|
+
/** Recipient type */
|
|
5682
|
+
export declare enum RecipientType {
|
|
5683
|
+
/** Wix User */
|
|
5684
|
+
WIX_USER = "WIX_USER",
|
|
5685
|
+
/** Contact */
|
|
5686
|
+
CONTACT = "CONTACT"
|
|
5687
|
+
}
|
|
5632
5688
|
export interface NotificationPreferencesFilterConfig {
|
|
5633
5689
|
/** the base URI where all the methods are deployed. E.g. "https://golden-coupons.com/wix-provider" */
|
|
5634
5690
|
baseUri?: SpiBaseUri;
|
|
@@ -6633,12 +6689,19 @@ export interface Context {
|
|
|
6633
6689
|
export interface UnifiedPage {
|
|
6634
6690
|
/** Base info of component by shared logic of unified components */
|
|
6635
6691
|
base?: BaseInfo;
|
|
6636
|
-
/**
|
|
6692
|
+
/**
|
|
6693
|
+
* Page installation settings
|
|
6694
|
+
* @deprecated Page installation settings
|
|
6695
|
+
* @replacedBy editor_settings
|
|
6696
|
+
* @targetRemovalDate 2026-02-26
|
|
6697
|
+
*/
|
|
6637
6698
|
installation?: PageInstallationSettings;
|
|
6638
6699
|
/** Page replacing options (replacer \ replacing \ none) */
|
|
6639
6700
|
pageReplace?: PageReplaceOptions;
|
|
6640
6701
|
/** Content of page */
|
|
6641
6702
|
content?: PageContent;
|
|
6703
|
+
/** Settings for how the page integrates with the editor */
|
|
6704
|
+
editorSettings?: UnifiedPageEditorSettings;
|
|
6642
6705
|
}
|
|
6643
6706
|
export interface PageInstallationSettings {
|
|
6644
6707
|
/** Shared installation settings for unified components */
|
|
@@ -6663,6 +6726,22 @@ export interface WidgetAsContent {
|
|
|
6663
6726
|
widgetGuid?: string;
|
|
6664
6727
|
/** The preset should be used */
|
|
6665
6728
|
preset?: MainPresets;
|
|
6729
|
+
/** Mark widget as essential for the existence of the app (force to delete the whole app) */
|
|
6730
|
+
essential?: boolean | null;
|
|
6731
|
+
}
|
|
6732
|
+
export interface UnifiedPageEditorSettings {
|
|
6733
|
+
/** Basic editor settings that are relevant to all page types */
|
|
6734
|
+
base?: PageEditorSettings;
|
|
6735
|
+
/** slug of the page (last part of url that point to the page) */
|
|
6736
|
+
slug?: string | null;
|
|
6737
|
+
}
|
|
6738
|
+
export interface PageEditorSettings {
|
|
6739
|
+
/** Add the page to the site menu */
|
|
6740
|
+
addToSiteMenu?: boolean | null;
|
|
6741
|
+
/** Can a page be linked through the link panel */
|
|
6742
|
+
linkable?: boolean | null;
|
|
6743
|
+
/** Can a page be duplicated in the editor (if no essential widget is added in the container) */
|
|
6744
|
+
duplicatable?: boolean | null;
|
|
6666
6745
|
}
|
|
6667
6746
|
export interface AvailabilityTimeSlotsProviderConfig {
|
|
6668
6747
|
/** URI where the SPI Implementer is deployed. */
|
|
@@ -7382,6 +7461,8 @@ export interface TextInput {
|
|
|
7382
7461
|
* Default: true
|
|
7383
7462
|
*/
|
|
7384
7463
|
showLabel?: boolean | null;
|
|
7464
|
+
/** Default value for the text input */
|
|
7465
|
+
default?: string | null;
|
|
7385
7466
|
}
|
|
7386
7467
|
export interface RadioGroup {
|
|
7387
7468
|
/** Label of the field */
|
|
@@ -7423,9 +7504,15 @@ export interface RadioGroupCustomOption {
|
|
|
7423
7504
|
placeholder?: string | null;
|
|
7424
7505
|
}
|
|
7425
7506
|
export declare enum NumberOfColumns {
|
|
7507
|
+
/** Undefined number of columns. */
|
|
7426
7508
|
UNKNOWN = "UNKNOWN",
|
|
7509
|
+
/** Zero columns. */
|
|
7510
|
+
ZERO = "ZERO",
|
|
7511
|
+
/** One column. */
|
|
7427
7512
|
ONE = "ONE",
|
|
7513
|
+
/** Two columns. */
|
|
7428
7514
|
TWO = "TWO",
|
|
7515
|
+
/** Three columns. */
|
|
7429
7516
|
THREE = "THREE"
|
|
7430
7517
|
}
|
|
7431
7518
|
export interface Dropdown {
|
|
@@ -7481,6 +7568,8 @@ export interface DateTimeInput {
|
|
|
7481
7568
|
* Default: false.
|
|
7482
7569
|
*/
|
|
7483
7570
|
use24HourFormat?: boolean;
|
|
7571
|
+
/** Default value for the date time input. */
|
|
7572
|
+
default?: string | null;
|
|
7484
7573
|
}
|
|
7485
7574
|
export interface PhoneInput {
|
|
7486
7575
|
/** Label of the field */
|
|
@@ -7517,6 +7606,8 @@ export interface DateInput {
|
|
|
7517
7606
|
* Default: true
|
|
7518
7607
|
*/
|
|
7519
7608
|
showPlaceholder?: boolean | null;
|
|
7609
|
+
/** Default value for the date input. */
|
|
7610
|
+
default?: string | null;
|
|
7520
7611
|
}
|
|
7521
7612
|
export interface TimeInput {
|
|
7522
7613
|
/** Label of the field. Displayed text for the date/time input. */
|
|
@@ -7538,6 +7629,8 @@ export interface TimeInput {
|
|
|
7538
7629
|
* Default: false.
|
|
7539
7630
|
*/
|
|
7540
7631
|
use24HourFormat?: boolean;
|
|
7632
|
+
/** Default value for the time input. */
|
|
7633
|
+
default?: string | null;
|
|
7541
7634
|
}
|
|
7542
7635
|
export interface DatePicker {
|
|
7543
7636
|
/** Label of the field. Displayed text for the date/time input. */
|
|
@@ -7553,9 +7646,13 @@ export interface DatePicker {
|
|
|
7553
7646
|
placeholder?: string | null;
|
|
7554
7647
|
/** First day of the week displayed on date picker. */
|
|
7555
7648
|
firstDayOfWeek?: FirstDayOfWeek;
|
|
7649
|
+
/** Default value for the date picker. */
|
|
7650
|
+
default?: string | null;
|
|
7556
7651
|
}
|
|
7557
7652
|
export declare enum FirstDayOfWeek {
|
|
7653
|
+
/** First day of the week is Monday. */
|
|
7558
7654
|
MONDAY = "MONDAY",
|
|
7655
|
+
/** First day of the week is Sunday. */
|
|
7559
7656
|
SUNDAY = "SUNDAY"
|
|
7560
7657
|
}
|
|
7561
7658
|
export interface NumberType {
|
|
@@ -7585,6 +7682,8 @@ export interface NumberInput {
|
|
|
7585
7682
|
* Default: true
|
|
7586
7683
|
*/
|
|
7587
7684
|
showLabel?: boolean | null;
|
|
7685
|
+
/** Default value for the number input */
|
|
7686
|
+
default?: number | null;
|
|
7588
7687
|
}
|
|
7589
7688
|
export interface RatingInput {
|
|
7590
7689
|
/** Label of the field */
|
|
@@ -7622,7 +7721,7 @@ export interface ArrayType {
|
|
|
7622
7721
|
/** Minimum amount of array elements. */
|
|
7623
7722
|
minItems?: number | null;
|
|
7624
7723
|
/** Type of items allowed in array. */
|
|
7625
|
-
items?:
|
|
7724
|
+
items?: ArrayTypeArrayItems;
|
|
7626
7725
|
}
|
|
7627
7726
|
export declare enum ItemType {
|
|
7628
7727
|
UNKNOWN_ITEM_TYPE = "UNKNOWN_ITEM_TYPE",
|
|
@@ -7686,7 +7785,7 @@ export interface PropertiesTypePropertiesTypeOptionsOneOf {
|
|
|
7686
7785
|
/** Array type validation for property. */
|
|
7687
7786
|
arrayOptions?: ArrayType;
|
|
7688
7787
|
}
|
|
7689
|
-
export interface
|
|
7788
|
+
export interface ArrayTypeArrayItems extends ArrayTypeArrayItemsItemTypeOptionsOneOf {
|
|
7690
7789
|
/** String type validation for items. */
|
|
7691
7790
|
stringOptions?: StringType;
|
|
7692
7791
|
/** Number type validation for items. */
|
|
@@ -7704,7 +7803,7 @@ export interface ArrayItems extends ArrayItemsItemTypeOptionsOneOf {
|
|
|
7704
7803
|
itemType?: ItemType;
|
|
7705
7804
|
}
|
|
7706
7805
|
/** @oneof */
|
|
7707
|
-
export interface
|
|
7806
|
+
export interface ArrayTypeArrayItemsItemTypeOptionsOneOf {
|
|
7708
7807
|
/** String type validation for items. */
|
|
7709
7808
|
stringOptions?: StringType;
|
|
7710
7809
|
/** Number type validation for items. */
|
|
@@ -7815,16 +7914,17 @@ export interface FileUpload {
|
|
|
7815
7914
|
explanationText?: string | null;
|
|
7816
7915
|
}
|
|
7817
7916
|
export declare enum UploadFileFormat {
|
|
7917
|
+
/** Undefined upload file format. */
|
|
7818
7918
|
UNDEFINED = "UNDEFINED",
|
|
7819
|
-
/** Video files */
|
|
7919
|
+
/** Video files. */
|
|
7820
7920
|
VIDEO = "VIDEO",
|
|
7821
|
-
/** Image files */
|
|
7921
|
+
/** Image files. */
|
|
7822
7922
|
IMAGE = "IMAGE",
|
|
7823
|
-
/** Audio files */
|
|
7923
|
+
/** Audio files. */
|
|
7824
7924
|
AUDIO = "AUDIO",
|
|
7825
|
-
/** Document files */
|
|
7925
|
+
/** Document files. */
|
|
7826
7926
|
DOCUMENT = "DOCUMENT",
|
|
7827
|
-
/** Archive files */
|
|
7927
|
+
/** Archive files. */
|
|
7828
7928
|
ARCHIVE = "ARCHIVE"
|
|
7829
7929
|
}
|
|
7830
7930
|
export interface Signature {
|
|
@@ -7934,6 +8034,8 @@ export interface ProductCheckboxGroupOption {
|
|
|
7934
8034
|
id?: string;
|
|
7935
8035
|
/** Media item. Media, associated with option, like image. */
|
|
7936
8036
|
media?: MediaItem;
|
|
8037
|
+
/** Flag identifying that option should be selected by default */
|
|
8038
|
+
default?: boolean;
|
|
7937
8039
|
}
|
|
7938
8040
|
export declare enum ImageFit {
|
|
7939
8041
|
UNKNOWN_IMAGE_FIT = "UNKNOWN_IMAGE_FIT",
|
|
@@ -8021,8 +8123,9 @@ export interface ComponentsMultilineAddress {
|
|
|
8021
8123
|
autocompleteEnabled?: boolean;
|
|
8022
8124
|
}
|
|
8023
8125
|
export declare enum DefaultCountryConfigType {
|
|
8126
|
+
/** Unknown default country config type. */
|
|
8024
8127
|
UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
|
|
8025
|
-
/** Country
|
|
8128
|
+
/** Country is determined by customer's IP address. */
|
|
8026
8129
|
BY_IP = "BY_IP",
|
|
8027
8130
|
/** Pre-selected default country. */
|
|
8028
8131
|
COUNTRY = "COUNTRY"
|
|
@@ -8806,6 +8909,10 @@ export interface Description {
|
|
|
8806
8909
|
outcomeDescription?: string | null;
|
|
8807
8910
|
/** Representative image */
|
|
8808
8911
|
representativeImage?: WixCommonImage;
|
|
8912
|
+
/** Title of the builderless function template selection modal */
|
|
8913
|
+
builderlessTemplateSelectionModalTitle?: string | null;
|
|
8914
|
+
/** Subtitle of the builderless function template selection modal */
|
|
8915
|
+
builderlessTemplateSelectionModalSubtitle?: string | null;
|
|
8809
8916
|
}
|
|
8810
8917
|
export interface CheckoutContentSPIConfig {
|
|
8811
8918
|
/** Base URI where the endpoints are called. Wix eCommerce appends the endpoint path to the base URI. */
|
|
@@ -9004,6 +9111,8 @@ export interface FactorConfig {
|
|
|
9004
9111
|
uriConfig?: SpiBaseUri;
|
|
9005
9112
|
/** the type of the factor */
|
|
9006
9113
|
factorType?: FactorType;
|
|
9114
|
+
/** whether the factor supports verify without enrolling first */
|
|
9115
|
+
supportsVerifyWithoutEnroll?: boolean;
|
|
9007
9116
|
}
|
|
9008
9117
|
export declare enum FactorType {
|
|
9009
9118
|
UNKNOWN_FACTOR_TYPE = "UNKNOWN_FACTOR_TYPE",
|
|
@@ -9108,14 +9217,6 @@ export interface LightboxEditorSettings {
|
|
|
9108
9217
|
/** Basic editor settings that are relevant to all page types */
|
|
9109
9218
|
base?: PageEditorSettings;
|
|
9110
9219
|
}
|
|
9111
|
-
export interface PageEditorSettings {
|
|
9112
|
-
/** Add the page to the site menu */
|
|
9113
|
-
addToSiteMenu?: boolean | null;
|
|
9114
|
-
/** Can a page be linked through the link panel */
|
|
9115
|
-
linkable?: boolean | null;
|
|
9116
|
-
/** Can a page be duplicated in the editor (if no essential widget is added in the container) */
|
|
9117
|
-
duplicatable?: boolean | null;
|
|
9118
|
-
}
|
|
9119
9220
|
export interface LightboxCloseOptions {
|
|
9120
9221
|
/** If true or unset, the lightbox will be closed when overlay is clicked */
|
|
9121
9222
|
closeOnOverlayClick?: boolean | null;
|
|
@@ -9412,23 +9513,50 @@ export interface TextToSpeechActionMessage {
|
|
|
9412
9513
|
export interface AudienceProviderConfig {
|
|
9413
9514
|
/** notification preference filter SPI configuration */
|
|
9414
9515
|
baseUri?: SpiBaseUri;
|
|
9516
|
+
/** Provider key */
|
|
9517
|
+
key?: string;
|
|
9518
|
+
/** The name of the audience provider, e.g. `Blog Post Subscribers` / `Contacts Labels` */
|
|
9519
|
+
displayName?: string;
|
|
9415
9520
|
/** Type of participant. Each audience provider can support only one type of recipient */
|
|
9416
|
-
|
|
9521
|
+
participantType?: ParticipantType;
|
|
9417
9522
|
/** Standard json schema which describe the json the provider should get in the Resolve end point */
|
|
9418
9523
|
inputSchema?: Record<string, any> | null;
|
|
9419
|
-
/**
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
|
|
9524
|
+
/**
|
|
9525
|
+
* Interface configuration
|
|
9526
|
+
* If empty default interface configuration will be auto generated based on the input schema
|
|
9527
|
+
*/
|
|
9528
|
+
interfaceConfiguration?: InterfaceConfiguration;
|
|
9423
9529
|
/** Specifying which optional methods are implemented. */
|
|
9424
9530
|
implementedMethods?: ImplementedMethods;
|
|
9425
|
-
/**
|
|
9426
|
-
|
|
9531
|
+
/** Define the scopes which the provider audience is relevant */
|
|
9532
|
+
scopes?: Scope[];
|
|
9427
9533
|
}
|
|
9428
9534
|
export declare enum ParticipantType {
|
|
9429
9535
|
UNKNOWN_TYPE = "UNKNOWN_TYPE",
|
|
9430
9536
|
WIX_USER = "WIX_USER",
|
|
9431
|
-
CONTACT = "CONTACT"
|
|
9537
|
+
CONTACT = "CONTACT",
|
|
9538
|
+
ANONYMOUS = "ANONYMOUS"
|
|
9539
|
+
}
|
|
9540
|
+
export interface InterfaceConfiguration extends InterfaceConfigurationOfTypeOneOf {
|
|
9541
|
+
/** Should be filled if the provider implements its own custom UI */
|
|
9542
|
+
widgetComponentConfiguration?: WidgetComponent;
|
|
9543
|
+
/** Type of interface configuration */
|
|
9544
|
+
type?: InterfaceConfigurationType;
|
|
9545
|
+
}
|
|
9546
|
+
/** @oneof */
|
|
9547
|
+
export interface InterfaceConfigurationOfTypeOneOf {
|
|
9548
|
+
/** Should be filled if the provider implements its own custom UI */
|
|
9549
|
+
widgetComponentConfiguration?: WidgetComponent;
|
|
9550
|
+
}
|
|
9551
|
+
export declare enum InterfaceConfigurationType {
|
|
9552
|
+
/** Widget component built by the provider */
|
|
9553
|
+
WIDGET_COMPONENT = "WIDGET_COMPONENT",
|
|
9554
|
+
/** Item Selection, in case the provider implemented item selection component */
|
|
9555
|
+
ITEM_SELECTION = "ITEM_SELECTION"
|
|
9556
|
+
}
|
|
9557
|
+
export interface WidgetComponent {
|
|
9558
|
+
/** widget component id */
|
|
9559
|
+
componentId?: string;
|
|
9432
9560
|
}
|
|
9433
9561
|
export interface ItemSelection {
|
|
9434
9562
|
/** Item selection provider key */
|
|
@@ -9440,6 +9568,12 @@ export interface ImplementedMethods {
|
|
|
9440
9568
|
/** Implements countParticipants */
|
|
9441
9569
|
countParticipants?: boolean;
|
|
9442
9570
|
}
|
|
9571
|
+
export declare enum Scope {
|
|
9572
|
+
/** Provider audience is available only in scope of specific site */
|
|
9573
|
+
SPECIFIC_SITE = "SPECIFIC_SITE",
|
|
9574
|
+
/** Provider audience is available only in scope of non specific site */
|
|
9575
|
+
NON_SPECIFIC_SITE = "NON_SPECIFIC_SITE"
|
|
9576
|
+
}
|
|
9443
9577
|
/** Config for the Price SPI */
|
|
9444
9578
|
export interface PriceSPIConfig {
|
|
9445
9579
|
/** Pricing plan for which the SPI method should optionally apply */
|
|
@@ -9484,10 +9618,12 @@ export interface EditorReactComponent {
|
|
|
9484
9618
|
type?: string;
|
|
9485
9619
|
/** The public description of the component do display */
|
|
9486
9620
|
description?: string;
|
|
9487
|
-
/**
|
|
9621
|
+
/** List of component resources. This comprises any runtime code we need to load and execute for the component. */
|
|
9488
9622
|
resources?: Resources;
|
|
9489
9623
|
/** The configuration describing the component abilities and behaviors on the Editor stage */
|
|
9490
9624
|
editorElement?: EditorElement;
|
|
9625
|
+
/** The installation settings of the component */
|
|
9626
|
+
installation?: InstallationInfo;
|
|
9491
9627
|
}
|
|
9492
9628
|
export interface Resources {
|
|
9493
9629
|
/** The bundle we will load and render in the browser */
|
|
@@ -9630,6 +9766,8 @@ export interface DataItem extends DataItemSelectedDataTypeOneOf {
|
|
|
9630
9766
|
link?: Link;
|
|
9631
9767
|
/** The [JSON Schema definition](https://json-schema.org/specification) the developer understands in his code (useful for complex props). Some limitation may apply */
|
|
9632
9768
|
schema?: Record<string, any> | null;
|
|
9769
|
+
/** An array of a data type */
|
|
9770
|
+
arrayItems?: ArrayItems;
|
|
9633
9771
|
/** Defines the type of data we are configuring */
|
|
9634
9772
|
dataType?: DataType;
|
|
9635
9773
|
/** Display name of this data item */
|
|
@@ -9649,6 +9787,8 @@ export interface DataItemSelectedDataTypeOneOf {
|
|
|
9649
9787
|
link?: Link;
|
|
9650
9788
|
/** The [JSON Schema definition](https://json-schema.org/specification) the developer understands in his code (useful for complex props). Some limitation may apply */
|
|
9651
9789
|
schema?: Record<string, any> | null;
|
|
9790
|
+
/** An array of a data type */
|
|
9791
|
+
arrayItems?: ArrayItems;
|
|
9652
9792
|
}
|
|
9653
9793
|
export declare enum DataType {
|
|
9654
9794
|
UNKNOWN_DataType = "UNKNOWN_DataType",
|
|
@@ -9691,7 +9831,11 @@ export declare enum DataType {
|
|
|
9691
9831
|
/** A valid `regex` pattern supplied by the User */
|
|
9692
9832
|
regex = "regex",
|
|
9693
9833
|
/** A unique identifier */
|
|
9694
|
-
guid = "guid"
|
|
9834
|
+
guid = "guid",
|
|
9835
|
+
/** a HTML text with css inline styling */
|
|
9836
|
+
richText = "richText",
|
|
9837
|
+
/** An array type of data */
|
|
9838
|
+
arrayItems = "arrayItems"
|
|
9695
9839
|
}
|
|
9696
9840
|
export interface Text {
|
|
9697
9841
|
/** Indicates maximum length allowed for the text */
|
|
@@ -9807,6 +9951,29 @@ export declare enum LinkType {
|
|
|
9807
9951
|
/** A link that directs the user to wix login dialog */
|
|
9808
9952
|
loginToWixLink = "loginToWixLink"
|
|
9809
9953
|
}
|
|
9954
|
+
/** An array of data items or complex data types */
|
|
9955
|
+
export interface ArrayItems extends ArrayItemsArrayDataOneOf {
|
|
9956
|
+
/** The definition of multiple data items in each item of the Array */
|
|
9957
|
+
data?: DataItems;
|
|
9958
|
+
/** For a single data type in the array */
|
|
9959
|
+
dataItem?: DataItem;
|
|
9960
|
+
/** The maximum size of the Array (there will be a size limit in the Storage as well) */
|
|
9961
|
+
maxSize?: number | null;
|
|
9962
|
+
}
|
|
9963
|
+
/** @oneof */
|
|
9964
|
+
export interface ArrayItemsArrayDataOneOf {
|
|
9965
|
+
/** The definition of multiple data items in each item of the Array */
|
|
9966
|
+
data?: DataItems;
|
|
9967
|
+
/** For a single data type in the array */
|
|
9968
|
+
dataItem?: DataItem;
|
|
9969
|
+
}
|
|
9970
|
+
export interface DataItems {
|
|
9971
|
+
/**
|
|
9972
|
+
* For an array of complex object types
|
|
9973
|
+
* Each item in the array, will contain all this data structure
|
|
9974
|
+
*/
|
|
9975
|
+
items?: Record<string, DataItem>;
|
|
9976
|
+
}
|
|
9810
9977
|
export interface ElementItem extends ElementItemSelectedElementTypeOneOf {
|
|
9811
9978
|
/** An new element definition */
|
|
9812
9979
|
inlineElement?: InlineElement;
|
|
@@ -9994,10 +10161,76 @@ export interface RefElement {
|
|
|
9994
10161
|
/** The override of the used element custom actions */
|
|
9995
10162
|
customActions?: Record<string, Action>;
|
|
9996
10163
|
}
|
|
10164
|
+
export interface InstallationInfo extends InstallationInfoTargetContainerOneOf {
|
|
10165
|
+
/** Which static container should the widget be installed at */
|
|
10166
|
+
staticContainer?: StaticContainer;
|
|
10167
|
+
/** Default presets per breakpoint with which the widget should be installed */
|
|
10168
|
+
presets?: DefaultPresets;
|
|
10169
|
+
}
|
|
10170
|
+
/** @oneof */
|
|
10171
|
+
export interface InstallationInfoTargetContainerOneOf {
|
|
10172
|
+
/** Which static container should the widget be installed at */
|
|
10173
|
+
staticContainer?: StaticContainer;
|
|
10174
|
+
}
|
|
9997
10175
|
export interface MarketplaceSPIConfig {
|
|
9998
10176
|
/** URI where the SPI implementer is deployed */
|
|
9999
10177
|
deploymentUri?: SpiBaseUri;
|
|
10000
10178
|
}
|
|
10179
|
+
export interface FormSchemaDynamicValuesSpiConfig {
|
|
10180
|
+
/** URI where the SPI Implementer is deployed. */
|
|
10181
|
+
uriConfig?: SpiBaseUri;
|
|
10182
|
+
/** Form ID which contains dynamic fields. */
|
|
10183
|
+
formId?: string;
|
|
10184
|
+
/** Field IDs which trigger loading of dynamic values. */
|
|
10185
|
+
fieldsIds?: string[];
|
|
10186
|
+
}
|
|
10187
|
+
export interface BlogPaywallProviderConfig {
|
|
10188
|
+
/** Uri config */
|
|
10189
|
+
uriConfig?: SpiBaseUri;
|
|
10190
|
+
}
|
|
10191
|
+
export interface RewardProviderConfig {
|
|
10192
|
+
/** URI where the SPI Implementer is deployed */
|
|
10193
|
+
deploymentUri?: SpiBaseUri;
|
|
10194
|
+
/** Name of the reward that will be visible to the end users */
|
|
10195
|
+
rewardName?: string;
|
|
10196
|
+
/** Description of the reward that will be visible to the end users, describing how the reward works */
|
|
10197
|
+
rewardDescription?: string;
|
|
10198
|
+
}
|
|
10199
|
+
export interface ProductRestrictionsConfig {
|
|
10200
|
+
/** URI where the SPI Implementer is deployed */
|
|
10201
|
+
deploymentUri?: SpiBaseUri;
|
|
10202
|
+
/** catalog restrictions configuration */
|
|
10203
|
+
productRestrictionsConfig?: RestrictionsConfig;
|
|
10204
|
+
}
|
|
10205
|
+
export interface RestrictionsConfig {
|
|
10206
|
+
/** prices restrictions that affect fields like full price, compare at price etc */
|
|
10207
|
+
prices?: Restriction;
|
|
10208
|
+
/** options restrictions that affect options edit except images on choices */
|
|
10209
|
+
options?: Restriction;
|
|
10210
|
+
/** modifier restrictions that affect modifiers */
|
|
10211
|
+
modifiers?: Restriction;
|
|
10212
|
+
/** item identifiers affect quantity, sku, barcode on inventory */
|
|
10213
|
+
inventory?: Restriction;
|
|
10214
|
+
/** pre order restrictions that affect fields like pre order */
|
|
10215
|
+
preOrder?: Restriction;
|
|
10216
|
+
/** duplicate product restriction action */
|
|
10217
|
+
duplicateProduct?: Restriction;
|
|
10218
|
+
}
|
|
10219
|
+
export interface Restriction {
|
|
10220
|
+
/** restriction level of WARNING or LOCKED */
|
|
10221
|
+
restrictionLevel?: RestrictionLevel;
|
|
10222
|
+
}
|
|
10223
|
+
export declare enum RestrictionLevel {
|
|
10224
|
+
UNKNOWN_RESTRICTION_TYPE = "UNKNOWN_RESTRICTION_TYPE",
|
|
10225
|
+
WARNING = "WARNING",
|
|
10226
|
+
LOCKED = "LOCKED"
|
|
10227
|
+
}
|
|
10228
|
+
export interface FormSubmissionModerationSpiConfig {
|
|
10229
|
+
/** URI where the SPI Implementer is deployed */
|
|
10230
|
+
baseUri?: SpiBaseUri;
|
|
10231
|
+
/** Forms for which the SPI method should apply */
|
|
10232
|
+
formIds?: string[];
|
|
10233
|
+
}
|
|
10001
10234
|
export interface RuntimeComponentCacheEntityExperiment extends RuntimeComponentCacheEntityExperimentExperimentOneOf {
|
|
10002
10235
|
gradualRollout?: GradualRolloutCacheEntity;
|
|
10003
10236
|
gradualUpdate?: GradualUpdateCacheEntity;
|