@wix/auto_sdk_data-extension-schema_schemas 1.0.0 → 1.0.1

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.
Files changed (49) hide show
  1. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
  2. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js +9 -5
  3. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
  4. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
  5. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js +8 -4
  6. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
  7. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +186 -41
  8. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js +59 -17
  9. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
  10. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +193 -41
  11. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js +63 -17
  12. package/build/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
  13. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
  14. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.context.js +1 -1
  15. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
  16. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
  17. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.public.js +1 -1
  18. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
  19. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +186 -41
  20. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.types.js +55 -13
  21. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
  22. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +193 -41
  23. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js +59 -13
  24. package/build/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
  25. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
  26. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js +9 -5
  27. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
  28. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
  29. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js +8 -4
  30. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
  31. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +186 -41
  32. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js +59 -17
  33. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
  34. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +193 -41
  35. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js +63 -17
  36. package/build/internal/cjs/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
  37. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.context.d.ts +2 -2
  38. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.context.js +1 -1
  39. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.context.js.map +1 -1
  40. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.public.d.ts +1 -1
  41. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.public.js +1 -1
  42. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.public.js.map +1 -1
  43. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.types.d.ts +186 -41
  44. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.types.js +55 -13
  45. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.types.js.map +1 -1
  46. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.universal.d.ts +193 -41
  47. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js +59 -13
  48. package/build/internal/es/src/data-extensions-v1-data-extension-schema-schemas.universal.js.map +1 -1
  49. package/package.json +2 -2
@@ -513,7 +513,10 @@ export declare enum ComponentType {
513
513
  PAYMENTS_DISPUTE_SERVICE_PLUGIN = "PAYMENTS_DISPUTE_SERVICE_PLUGIN",
514
514
  PRICING_PLANS_FEES = "PRICING_PLANS_FEES",
515
515
  EDITOR_REACT_COMPONENT = "EDITOR_REACT_COMPONENT",
516
- SUPPLIERS_HUB_MARKETPLACE = "SUPPLIERS_HUB_MARKETPLACE"
516
+ SUPPLIERS_HUB_MARKETPLACE = "SUPPLIERS_HUB_MARKETPLACE",
517
+ FORM_SCHEMA_DYNAMIC_VALUES = "FORM_SCHEMA_DYNAMIC_VALUES",
518
+ BLOG_PAYWALL_PROVIDER = "BLOG_PAYWALL_PROVIDER",
519
+ LOYALTY_CUSTOM_REWARDS_V2 = "LOYALTY_CUSTOM_REWARDS_V2"
517
520
  }
518
521
  /** Component data */
519
522
  export interface ComponentData extends ComponentDataDataOneOf {
@@ -1457,11 +1460,30 @@ export interface HelpResources {
1457
1460
  /** The Wix Answers' article related to the component (chosen by own app) */
1458
1461
  articleId?: string;
1459
1462
  }
1460
- export interface WidgetInstallationSettings {
1461
- /** Shared installation settings for unified components */
1463
+ export interface WidgetInstallationSettings extends WidgetInstallationSettingsTargetContainerOneOf {
1464
+ /** Which static container should the widget be installed at */
1465
+ staticContainer?: StaticContainer;
1466
+ /**
1467
+ * Deprecated, autoAdd should be mapped to static_container HOMEPAGE, essential should be mapped to container. Shared installation settings for unified components
1468
+ * @deprecated Deprecated, autoAdd should be mapped to static_container HOMEPAGE, essential should be mapped to container. Shared installation settings for unified components
1469
+ * @replacedBy static_container
1470
+ * @targetRemovalDate 2026-02-26
1471
+ */
1462
1472
  base?: BaseInstallation;
1463
- /** Widget installation settings for unified components */
1473
+ /**
1474
+ * Deprecated, default_preset should be mapped to presets, region is not relevant. Widget installation settings for unified components
1475
+ * @deprecated Deprecated, default_preset should be mapped to presets, region is not relevant. Widget installation settings for unified components
1476
+ * @replacedBy presets
1477
+ * @targetRemovalDate 2026-02-26
1478
+ */
1464
1479
  widget?: WidgetInstallation;
1480
+ /** Default presets per breakpoint with which the widget should be installed */
1481
+ presets?: DefaultPresets;
1482
+ }
1483
+ /** @oneof */
1484
+ export interface WidgetInstallationSettingsTargetContainerOneOf {
1485
+ /** Which static container should the widget be installed at */
1486
+ staticContainer?: StaticContainer;
1465
1487
  }
1466
1488
  export interface BaseInstallation {
1467
1489
  /** Auto add component to stage */
@@ -1482,6 +1504,17 @@ export declare enum RegionType {
1482
1504
  BODY = "BODY",
1483
1505
  FOOTER = "FOOTER"
1484
1506
  }
1507
+ export interface DefaultPresets {
1508
+ /** Default preset ID in small (mobile) breakpoint */
1509
+ small?: string | null;
1510
+ /** Default preset ID in large (desktop) breakpoint */
1511
+ large?: string | null;
1512
+ }
1513
+ export declare enum StaticContainer {
1514
+ UNKNOWN_CONTAINER = "UNKNOWN_CONTAINER",
1515
+ /** Widget should be installed in the homepage */
1516
+ HOMEPAGE = "HOMEPAGE"
1517
+ }
1485
1518
  export interface ComponentModel {
1486
1519
  /** The component type of the builder component. */
1487
1520
  componentType?: string;
@@ -2606,13 +2639,13 @@ export interface ActionSPIConfig {
2606
2639
  */
2607
2640
  executionType?: ExecutionType;
2608
2641
  /** Chosen interface for action */
2609
- interfaceConfiguration?: InterfaceConfiguration;
2642
+ interfaceConfiguration?: ActionSPIConfigInterfaceConfiguration;
2610
2643
  /** Icon representing the action in the UI */
2611
2644
  icon?: string;
2612
2645
  /** The action configuration source information */
2613
2646
  source?: Source;
2614
2647
  }
2615
- export declare enum InterfaceConfigurationType {
2648
+ export declare enum ActionSPIConfigInterfaceConfigurationType {
2616
2649
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
2617
2650
  WIDGET_COMPONENT = "WIDGET_COMPONENT",
2618
2651
  GENERIC = "GENERIC"
@@ -2673,14 +2706,14 @@ export interface Metadata {
2673
2706
  /** Show action only to advanced mode users (Wix staff) */
2674
2707
  hidden?: boolean;
2675
2708
  }
2676
- export interface InterfaceConfiguration extends InterfaceConfigurationOptionsOneOf {
2709
+ export interface ActionSPIConfigInterfaceConfiguration extends ActionSPIConfigInterfaceConfigurationOptionsOneOf {
2677
2710
  widgetComponentOptions?: WidgetComponentOptions;
2678
2711
  genericOptions?: GenericOptions;
2679
2712
  /** Type of chosen interface */
2680
- type?: InterfaceConfigurationType;
2713
+ type?: ActionSPIConfigInterfaceConfigurationType;
2681
2714
  }
2682
2715
  /** @oneof */
2683
- export interface InterfaceConfigurationOptionsOneOf {
2716
+ export interface ActionSPIConfigInterfaceConfigurationOptionsOneOf {
2684
2717
  widgetComponentOptions?: WidgetComponentOptions;
2685
2718
  genericOptions?: GenericOptions;
2686
2719
  }
@@ -4516,7 +4549,7 @@ export interface GIFData {
4516
4549
  height?: number;
4517
4550
  /** Width in pixels. */
4518
4551
  width?: number;
4519
- /** Type of GIF (Sticker or GIF). Defaults to `GIF`. */
4552
+ /** Type of GIF (Sticker or NORMAL). Defaults to `NORMAL`. */
4520
4553
  gifType?: GIFType;
4521
4554
  }
4522
4555
  export interface GIF {
@@ -4528,7 +4561,7 @@ export interface GIF {
4528
4561
  still?: string | null;
4529
4562
  }
4530
4563
  export declare enum GIFType {
4531
- GIF = "GIF",
4564
+ NORMAL = "NORMAL",
4532
4565
  STICKER = "STICKER"
4533
4566
  }
4534
4567
  export interface HeadingData {
@@ -5406,15 +5439,11 @@ export interface CustomChargesConfig {
5406
5439
  baseUri?: SpiBaseUri;
5407
5440
  }
5408
5441
  export interface ValidationsSPIConfig {
5409
- /**
5410
- * Whether to validate the cart page in addition to the checkout page.
5411
- *
5412
- * Default: `false`.
5413
- */
5442
+ /** Whether to validate the cart page in addition to the checkout page. Default: `false` */
5414
5443
  validateInCart?: boolean;
5415
5444
  /**
5416
5445
  * Required. Base URI where the endpoints are called. Wix appends the endpoint path to the base URI.
5417
- * For example, to call the Get Eligible Triggers endpoint at `https://my-validations.com/v1/get-violations`, the base URI you provide here is `https://my-validations.com`.
5446
+ * 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`.
5418
5447
  */
5419
5448
  deploymentUri?: string;
5420
5449
  }
@@ -5598,6 +5627,8 @@ export interface NotificationTopic {
5598
5627
  state?: NotificationTopicState;
5599
5628
  /** the type of the topic */
5600
5629
  type?: NotificationTopicType;
5630
+ /** The recipients' types indicate that this topic is relevant. */
5631
+ supportedRecipientTypes?: RecipientType[];
5601
5632
  }
5602
5633
  export declare enum NotificationTopicState {
5603
5634
  UNKNOWN_STATE = "UNKNOWN_STATE",
@@ -5609,6 +5640,13 @@ export declare enum NotificationTopicType {
5609
5640
  PROMOTIONAL = "PROMOTIONAL",
5610
5641
  TRANSACTIONAL = "TRANSACTIONAL"
5611
5642
  }
5643
+ /** Recipient type */
5644
+ export declare enum RecipientType {
5645
+ /** Wix User */
5646
+ WIX_USER = "WIX_USER",
5647
+ /** Contact */
5648
+ CONTACT = "CONTACT"
5649
+ }
5612
5650
  export interface NotificationPreferencesFilterConfig {
5613
5651
  /** the base URI where all the methods are deployed. E.g. "https://golden-coupons.com/wix-provider" */
5614
5652
  baseUri?: SpiBaseUri;
@@ -6613,12 +6651,19 @@ export interface Context {
6613
6651
  export interface UnifiedPage {
6614
6652
  /** Base info of component by shared logic of unified components */
6615
6653
  base?: BaseInfo;
6616
- /** Page installation settings; */
6654
+ /**
6655
+ * Page installation settings
6656
+ * @deprecated Page installation settings
6657
+ * @replacedBy editor_settings
6658
+ * @targetRemovalDate 2026-02-26
6659
+ */
6617
6660
  installation?: PageInstallationSettings;
6618
6661
  /** Page replacing options (replacer \ replacing \ none) */
6619
6662
  pageReplace?: PageReplaceOptions;
6620
6663
  /** Content of page */
6621
6664
  content?: PageContent;
6665
+ /** Settings for how the page integrates with the editor */
6666
+ editorSettings?: UnifiedPageEditorSettings;
6622
6667
  }
6623
6668
  export interface PageInstallationSettings {
6624
6669
  /** Shared installation settings for unified components */
@@ -6643,6 +6688,22 @@ export interface WidgetAsContent {
6643
6688
  widgetGuid?: string;
6644
6689
  /** The preset should be used */
6645
6690
  preset?: MainPresets;
6691
+ /** Mark widget as essential for the existence of the app (force to delete the whole app) */
6692
+ essential?: boolean | null;
6693
+ }
6694
+ export interface UnifiedPageEditorSettings {
6695
+ /** Basic editor settings that are relevant to all page types */
6696
+ base?: PageEditorSettings;
6697
+ /** slug of the page (last part of url that point to the page) */
6698
+ slug?: string | null;
6699
+ }
6700
+ export interface PageEditorSettings {
6701
+ /** Add the page to the site menu */
6702
+ addToSiteMenu?: boolean | null;
6703
+ /** Can a page be linked through the link panel */
6704
+ linkable?: boolean | null;
6705
+ /** Can a page be duplicated in the editor (if no essential widget is added in the container) */
6706
+ duplicatable?: boolean | null;
6646
6707
  }
6647
6708
  export interface AvailabilityTimeSlotsProviderConfig {
6648
6709
  /** URI where the SPI Implementer is deployed. */
@@ -7362,6 +7423,8 @@ export interface TextInput {
7362
7423
  * Default: true
7363
7424
  */
7364
7425
  showLabel?: boolean | null;
7426
+ /** Default value for the text input */
7427
+ default?: string | null;
7365
7428
  }
7366
7429
  export interface RadioGroup {
7367
7430
  /** Label of the field */
@@ -7403,9 +7466,15 @@ export interface RadioGroupCustomOption {
7403
7466
  placeholder?: string | null;
7404
7467
  }
7405
7468
  export declare enum NumberOfColumns {
7469
+ /** Undefined number of columns. */
7406
7470
  UNKNOWN = "UNKNOWN",
7471
+ /** Zero columns. */
7472
+ ZERO = "ZERO",
7473
+ /** One column. */
7407
7474
  ONE = "ONE",
7475
+ /** Two columns. */
7408
7476
  TWO = "TWO",
7477
+ /** Three columns. */
7409
7478
  THREE = "THREE"
7410
7479
  }
7411
7480
  export interface Dropdown {
@@ -7461,6 +7530,8 @@ export interface DateTimeInput {
7461
7530
  * Default: false.
7462
7531
  */
7463
7532
  use24HourFormat?: boolean;
7533
+ /** Default value for the date time input. */
7534
+ default?: string | null;
7464
7535
  }
7465
7536
  export interface PhoneInput {
7466
7537
  /** Label of the field */
@@ -7497,6 +7568,8 @@ export interface DateInput {
7497
7568
  * Default: true
7498
7569
  */
7499
7570
  showPlaceholder?: boolean | null;
7571
+ /** Default value for the date input. */
7572
+ default?: string | null;
7500
7573
  }
7501
7574
  export interface TimeInput {
7502
7575
  /** Label of the field. Displayed text for the date/time input. */
@@ -7518,6 +7591,8 @@ export interface TimeInput {
7518
7591
  * Default: false.
7519
7592
  */
7520
7593
  use24HourFormat?: boolean;
7594
+ /** Default value for the time input. */
7595
+ default?: string | null;
7521
7596
  }
7522
7597
  export interface DatePicker {
7523
7598
  /** Label of the field. Displayed text for the date/time input. */
@@ -7533,9 +7608,13 @@ export interface DatePicker {
7533
7608
  placeholder?: string | null;
7534
7609
  /** First day of the week displayed on date picker. */
7535
7610
  firstDayOfWeek?: FirstDayOfWeek;
7611
+ /** Default value for the date picker. */
7612
+ default?: string | null;
7536
7613
  }
7537
7614
  export declare enum FirstDayOfWeek {
7615
+ /** First day of the week is Monday. */
7538
7616
  MONDAY = "MONDAY",
7617
+ /** First day of the week is Sunday. */
7539
7618
  SUNDAY = "SUNDAY"
7540
7619
  }
7541
7620
  export interface NumberType {
@@ -7565,6 +7644,8 @@ export interface NumberInput {
7565
7644
  * Default: true
7566
7645
  */
7567
7646
  showLabel?: boolean | null;
7647
+ /** Default value for the number input */
7648
+ default?: number | null;
7568
7649
  }
7569
7650
  export interface RatingInput {
7570
7651
  /** Label of the field */
@@ -7795,16 +7876,17 @@ export interface FileUpload {
7795
7876
  explanationText?: string | null;
7796
7877
  }
7797
7878
  export declare enum UploadFileFormat {
7879
+ /** Undefined upload file format. */
7798
7880
  UNDEFINED = "UNDEFINED",
7799
- /** Video files */
7881
+ /** Video files. */
7800
7882
  VIDEO = "VIDEO",
7801
- /** Image files */
7883
+ /** Image files. */
7802
7884
  IMAGE = "IMAGE",
7803
- /** Audio files */
7885
+ /** Audio files. */
7804
7886
  AUDIO = "AUDIO",
7805
- /** Document files */
7887
+ /** Document files. */
7806
7888
  DOCUMENT = "DOCUMENT",
7807
- /** Archive files */
7889
+ /** Archive files. */
7808
7890
  ARCHIVE = "ARCHIVE"
7809
7891
  }
7810
7892
  export interface Signature {
@@ -7914,6 +7996,8 @@ export interface ProductCheckboxGroupOption {
7914
7996
  _id?: string;
7915
7997
  /** Media item. Media, associated with option, like image. */
7916
7998
  media?: MediaItem;
7999
+ /** Flag identifying that option should be selected by default */
8000
+ default?: boolean;
7917
8001
  }
7918
8002
  export declare enum ImageFit {
7919
8003
  UNKNOWN_IMAGE_FIT = "UNKNOWN_IMAGE_FIT",
@@ -8001,8 +8085,9 @@ export interface ComponentsMultilineAddress {
8001
8085
  autocompleteEnabled?: boolean;
8002
8086
  }
8003
8087
  export declare enum DefaultCountryConfigType {
8088
+ /** Unknown default country config type. */
8004
8089
  UNKNOWN_DEFAULT_COUNTRY = "UNKNOWN_DEFAULT_COUNTRY",
8005
- /** Country will be determined by customer's IP address. */
8090
+ /** Country is determined by customer's IP address. */
8006
8091
  BY_IP = "BY_IP",
8007
8092
  /** Pre-selected default country. */
8008
8093
  COUNTRY = "COUNTRY"
@@ -8984,6 +9069,8 @@ export interface FactorConfig {
8984
9069
  uriConfig?: SpiBaseUri;
8985
9070
  /** the type of the factor */
8986
9071
  factorType?: FactorType;
9072
+ /** whether the factor supports verify without enrolling first */
9073
+ supportsVerifyWithoutEnroll?: boolean;
8987
9074
  }
8988
9075
  export declare enum FactorType {
8989
9076
  UNKNOWN_FACTOR_TYPE = "UNKNOWN_FACTOR_TYPE",
@@ -9088,14 +9175,6 @@ export interface LightboxEditorSettings {
9088
9175
  /** Basic editor settings that are relevant to all page types */
9089
9176
  base?: PageEditorSettings;
9090
9177
  }
9091
- export interface PageEditorSettings {
9092
- /** Add the page to the site menu */
9093
- addToSiteMenu?: boolean | null;
9094
- /** Can a page be linked through the link panel */
9095
- linkable?: boolean | null;
9096
- /** Can a page be duplicated in the editor (if no essential widget is added in the container) */
9097
- duplicatable?: boolean | null;
9098
- }
9099
9178
  export interface LightboxCloseOptions {
9100
9179
  /** If true or unset, the lightbox will be closed when overlay is clicked */
9101
9180
  closeOnOverlayClick?: boolean | null;
@@ -9392,23 +9471,50 @@ export interface TextToSpeechActionMessage {
9392
9471
  export interface AudienceProviderConfig {
9393
9472
  /** notification preference filter SPI configuration */
9394
9473
  baseUri?: SpiBaseUri;
9474
+ /** Provider key */
9475
+ key?: string;
9476
+ /** The name of the audience provider, e.g. `Blog Post Subscribers` / `Contacts Labels` */
9477
+ displayName?: string;
9395
9478
  /** Type of participant. Each audience provider can support only one type of recipient */
9396
- supportedParticipantType?: ParticipantType;
9479
+ participantType?: ParticipantType;
9397
9480
  /** Standard json schema which describe the json the provider should get in the Resolve end point */
9398
9481
  inputSchema?: Record<string, any> | null;
9399
- /** Optional. Should be filled if the provider implements Item Selection UI Component */
9400
- itemSelection?: ItemSelection;
9401
- /** The name of the audience provider, e.g. `Blog Post Subscribers` / `Contacts Labels` */
9402
- displayName?: string;
9482
+ /**
9483
+ * Interface configuration
9484
+ * If empty default interface configuration will be auto generated based on the input schema
9485
+ */
9486
+ interfaceConfiguration?: InterfaceConfiguration;
9403
9487
  /** Specifying which optional methods are implemented. */
9404
9488
  implementedMethods?: ImplementedMethods;
9405
- /** Provider key */
9406
- key?: string;
9489
+ /** Define the scopes which the provider audience is relevant */
9490
+ scopes?: Scope[];
9407
9491
  }
9408
9492
  export declare enum ParticipantType {
9409
9493
  UNKNOWN_TYPE = "UNKNOWN_TYPE",
9410
9494
  WIX_USER = "WIX_USER",
9411
- CONTACT = "CONTACT"
9495
+ CONTACT = "CONTACT",
9496
+ ANONYMOUS = "ANONYMOUS"
9497
+ }
9498
+ export interface InterfaceConfiguration extends InterfaceConfigurationOfTypeOneOf {
9499
+ /** Should be filled if the provider implements its own custom UI */
9500
+ widgetComponentConfiguration?: WidgetComponent;
9501
+ /** Type of interface configuration */
9502
+ type?: InterfaceConfigurationType;
9503
+ }
9504
+ /** @oneof */
9505
+ export interface InterfaceConfigurationOfTypeOneOf {
9506
+ /** Should be filled if the provider implements its own custom UI */
9507
+ widgetComponentConfiguration?: WidgetComponent;
9508
+ }
9509
+ export declare enum InterfaceConfigurationType {
9510
+ /** Widget component built by the provider */
9511
+ WIDGET_COMPONENT = "WIDGET_COMPONENT",
9512
+ /** Item Selection, in case the provider implemented item selection component */
9513
+ ITEM_SELECTION = "ITEM_SELECTION"
9514
+ }
9515
+ export interface WidgetComponent {
9516
+ /** widget component id */
9517
+ componentId?: string;
9412
9518
  }
9413
9519
  export interface ItemSelection {
9414
9520
  /** Item selection provider key */
@@ -9420,6 +9526,12 @@ export interface ImplementedMethods {
9420
9526
  /** Implements countParticipants */
9421
9527
  countParticipants?: boolean;
9422
9528
  }
9529
+ export declare enum Scope {
9530
+ /** Provider audience is available only in scope of specific site */
9531
+ SPECIFIC_SITE = "SPECIFIC_SITE",
9532
+ /** Provider audience is available only in scope of non specific site */
9533
+ NON_SPECIFIC_SITE = "NON_SPECIFIC_SITE"
9534
+ }
9423
9535
  /** Config for the Price SPI */
9424
9536
  export interface PriceSPIConfig {
9425
9537
  /** Pricing plan for which the SPI method should optionally apply */
@@ -9464,10 +9576,12 @@ export interface EditorReactComponent {
9464
9576
  type?: string;
9465
9577
  /** The public description of the component do display */
9466
9578
  description?: string;
9467
- /** list of component resources. This comprises any runtime code we need to load and execute for the component. */
9579
+ /** List of component resources. This comprises any runtime code we need to load and execute for the component. */
9468
9580
  resources?: Resources;
9469
9581
  /** The configuration describing the component abilities and behaviors on the Editor stage */
9470
9582
  editorElement?: EditorElement;
9583
+ /** The installation settings of the component */
9584
+ installation?: InstallationInfo;
9471
9585
  }
9472
9586
  export interface Resources {
9473
9587
  /** The bundle we will load and render in the browser */
@@ -9974,10 +10088,41 @@ export interface RefElement {
9974
10088
  /** The override of the used element custom actions */
9975
10089
  customActions?: Record<string, Action>;
9976
10090
  }
10091
+ export interface InstallationInfo extends InstallationInfoTargetContainerOneOf {
10092
+ /** Which static container should the widget be installed at */
10093
+ staticContainer?: StaticContainer;
10094
+ /** Default presets per breakpoint with which the widget should be installed */
10095
+ presets?: DefaultPresets;
10096
+ }
10097
+ /** @oneof */
10098
+ export interface InstallationInfoTargetContainerOneOf {
10099
+ /** Which static container should the widget be installed at */
10100
+ staticContainer?: StaticContainer;
10101
+ }
9977
10102
  export interface MarketplaceSPIConfig {
9978
10103
  /** URI where the SPI implementer is deployed */
9979
10104
  deploymentUri?: SpiBaseUri;
9980
10105
  }
10106
+ export interface FormSchemaDynamicValuesSpiConfig {
10107
+ /** URI where the SPI Implementer is deployed. */
10108
+ uriConfig?: SpiBaseUri;
10109
+ /** Form ID which contains dynamic fields. */
10110
+ formId?: string;
10111
+ /** Field IDs which trigger loading of dynamic values. */
10112
+ fieldsIds?: string[];
10113
+ }
10114
+ export interface BlogPaywallProviderConfig {
10115
+ /** Uri config */
10116
+ uriConfig?: SpiBaseUri;
10117
+ }
10118
+ export interface RewardProviderConfig {
10119
+ /** URI where the SPI Implementer is deployed */
10120
+ deploymentUri?: SpiBaseUri;
10121
+ /** Name of the reward that will be visible to the end users */
10122
+ rewardName?: string;
10123
+ /** Description of the reward that will be visible to the end users, describing how the reward works */
10124
+ rewardDescription?: string;
10125
+ }
9981
10126
  export interface RuntimeComponentCacheEntityExperiment extends RuntimeComponentCacheEntityExperimentExperimentOneOf {
9982
10127
  gradualRollout?: GradualRolloutCacheEntity;
9983
10128
  gradualUpdate?: GradualUpdateCacheEntity;
@@ -10140,6 +10285,7 @@ export interface DataExtensionSchemaCreatedEnvelope {
10140
10285
  * @permissionId DATA_EXTENSION_SCHEMA.READ
10141
10286
  * @webhook
10142
10287
  * @eventType wix.data_extensions.v1.data_extension_schema_created
10288
+ * @slug created
10143
10289
  * @documentationMaturity preview
10144
10290
  */
10145
10291
  export declare function onDataExtensionSchemaCreated(handler: (event: DataExtensionSchemaCreatedEnvelope) => void | Promise<void>): void;
@@ -10161,6 +10307,7 @@ export interface DataExtensionSchemaDeletedEnvelope {
10161
10307
  * @permissionId DATA_EXTENSION_SCHEMA.READ
10162
10308
  * @webhook
10163
10309
  * @eventType wix.data_extensions.v1.data_extension_schema_deleted
10310
+ * @slug deleted
10164
10311
  * @documentationMaturity preview
10165
10312
  */
10166
10313
  export declare function onDataExtensionSchemaDeleted(handler: (event: DataExtensionSchemaDeletedEnvelope) => void | Promise<void>): void;
@@ -10183,6 +10330,7 @@ export interface DataExtensionSchemaUpdatedEnvelope {
10183
10330
  * @permissionId DATA_EXTENSION_SCHEMA.READ
10184
10331
  * @webhook
10185
10332
  * @eventType wix.data_extensions.v1.data_extension_schema_updated
10333
+ * @slug updated
10186
10334
  * @documentationMaturity preview
10187
10335
  */
10188
10336
  export declare function onDataExtensionSchemaUpdated(handler: (event: DataExtensionSchemaUpdatedEnvelope) => void | Promise<void>): void;
@@ -10241,10 +10389,14 @@ export declare function updateDataExtensionSchema(dataExtensionSchema: DataExten
10241
10389
  * @permissionId DATA_EXTENSION_SCHEMA.READ
10242
10390
  * @permissionScope Manage Bookings Services and Settings
10243
10391
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
10392
+ * @permissionScope Manage Events
10393
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
10244
10394
  * @permissionScope Manage Data Extensions Schemas
10245
10395
  * @permissionScopeId SCOPE.DATAEXTENSIONS.MANAGE-SCHEMAS
10246
10396
  * @permissionScope Manage Portfolio
10247
10397
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
10398
+ * @permissionScope Access Verticals by Automations
10399
+ * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
10248
10400
  * @permissionScope Read Data Extensions Schemas
10249
10401
  * @permissionScopeId SCOPE.DATAEXTENSIONS.READ-SCHEMAS
10250
10402
  * @permissionScope Manage Restaurants - all permissions
@@ -194,6 +194,9 @@ export var ComponentType;
194
194
  ComponentType["PRICING_PLANS_FEES"] = "PRICING_PLANS_FEES";
195
195
  ComponentType["EDITOR_REACT_COMPONENT"] = "EDITOR_REACT_COMPONENT";
196
196
  ComponentType["SUPPLIERS_HUB_MARKETPLACE"] = "SUPPLIERS_HUB_MARKETPLACE";
197
+ ComponentType["FORM_SCHEMA_DYNAMIC_VALUES"] = "FORM_SCHEMA_DYNAMIC_VALUES";
198
+ ComponentType["BLOG_PAYWALL_PROVIDER"] = "BLOG_PAYWALL_PROVIDER";
199
+ ComponentType["LOYALTY_CUSTOM_REWARDS_V2"] = "LOYALTY_CUSTOM_REWARDS_V2";
197
200
  })(ComponentType || (ComponentType = {}));
198
201
  /** Vertical widget position in the browser window */
199
202
  export var WidgetVertical;
@@ -331,6 +334,12 @@ export var RegionType;
331
334
  RegionType["BODY"] = "BODY";
332
335
  RegionType["FOOTER"] = "FOOTER";
333
336
  })(RegionType || (RegionType = {}));
337
+ export var StaticContainer;
338
+ (function (StaticContainer) {
339
+ StaticContainer["UNKNOWN_CONTAINER"] = "UNKNOWN_CONTAINER";
340
+ /** Widget should be installed in the homepage */
341
+ StaticContainer["HOMEPAGE"] = "HOMEPAGE";
342
+ })(StaticContainer || (StaticContainer = {}));
334
343
  /** Category of pages this will be embedded on (single, many, none) */
335
344
  export var EmbeddedScriptPages;
336
345
  (function (EmbeddedScriptPages) {
@@ -497,12 +506,12 @@ export var HookType;
497
506
  HookType["BEFORE"] = "BEFORE";
498
507
  HookType["AFTER"] = "AFTER";
499
508
  })(HookType || (HookType = {}));
500
- export var InterfaceConfigurationType;
501
- (function (InterfaceConfigurationType) {
502
- InterfaceConfigurationType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
503
- InterfaceConfigurationType["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
504
- InterfaceConfigurationType["GENERIC"] = "GENERIC";
505
- })(InterfaceConfigurationType || (InterfaceConfigurationType = {}));
509
+ export var ActionSPIConfigInterfaceConfigurationType;
510
+ (function (ActionSPIConfigInterfaceConfigurationType) {
511
+ ActionSPIConfigInterfaceConfigurationType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
512
+ ActionSPIConfigInterfaceConfigurationType["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
513
+ ActionSPIConfigInterfaceConfigurationType["GENERIC"] = "GENERIC";
514
+ })(ActionSPIConfigInterfaceConfigurationType || (ActionSPIConfigInterfaceConfigurationType = {}));
506
515
  export var SourceType;
507
516
  (function (SourceType) {
508
517
  SourceType["UNKNOWN_SOURCE_TYPE"] = "UNKNOWN_SOURCE_TYPE";
@@ -911,7 +920,7 @@ export var ThumbnailsAlignment;
911
920
  })(ThumbnailsAlignment || (ThumbnailsAlignment = {}));
912
921
  export var GIFType;
913
922
  (function (GIFType) {
914
- GIFType["GIF"] = "GIF";
923
+ GIFType["NORMAL"] = "NORMAL";
915
924
  GIFType["STICKER"] = "STICKER";
916
925
  })(GIFType || (GIFType = {}));
917
926
  export var HTMLDataSource;
@@ -1120,6 +1129,14 @@ export var NotificationTopicType;
1120
1129
  NotificationTopicType["PROMOTIONAL"] = "PROMOTIONAL";
1121
1130
  NotificationTopicType["TRANSACTIONAL"] = "TRANSACTIONAL";
1122
1131
  })(NotificationTopicType || (NotificationTopicType = {}));
1132
+ /** Recipient type */
1133
+ export var RecipientType;
1134
+ (function (RecipientType) {
1135
+ /** Wix User */
1136
+ RecipientType["WIX_USER"] = "WIX_USER";
1137
+ /** Contact */
1138
+ RecipientType["CONTACT"] = "CONTACT";
1139
+ })(RecipientType || (RecipientType = {}));
1123
1140
  export var PlanFormPricingOption;
1124
1141
  (function (PlanFormPricingOption) {
1125
1142
  PlanFormPricingOption["FREE"] = "FREE";
@@ -1303,14 +1320,22 @@ export var StringComponentType;
1303
1320
  })(StringComponentType || (StringComponentType = {}));
1304
1321
  export var NumberOfColumns;
1305
1322
  (function (NumberOfColumns) {
1323
+ /** Undefined number of columns. */
1306
1324
  NumberOfColumns["UNKNOWN"] = "UNKNOWN";
1325
+ /** Zero columns. */
1326
+ NumberOfColumns["ZERO"] = "ZERO";
1327
+ /** One column. */
1307
1328
  NumberOfColumns["ONE"] = "ONE";
1329
+ /** Two columns. */
1308
1330
  NumberOfColumns["TWO"] = "TWO";
1331
+ /** Three columns. */
1309
1332
  NumberOfColumns["THREE"] = "THREE";
1310
1333
  })(NumberOfColumns || (NumberOfColumns = {}));
1311
1334
  export var FirstDayOfWeek;
1312
1335
  (function (FirstDayOfWeek) {
1336
+ /** First day of the week is Monday. */
1313
1337
  FirstDayOfWeek["MONDAY"] = "MONDAY";
1338
+ /** First day of the week is Sunday. */
1314
1339
  FirstDayOfWeek["SUNDAY"] = "SUNDAY";
1315
1340
  })(FirstDayOfWeek || (FirstDayOfWeek = {}));
1316
1341
  export var NumberComponentType;
@@ -1355,16 +1380,17 @@ export var WixFileComponentType;
1355
1380
  })(WixFileComponentType || (WixFileComponentType = {}));
1356
1381
  export var UploadFileFormat;
1357
1382
  (function (UploadFileFormat) {
1383
+ /** Undefined upload file format. */
1358
1384
  UploadFileFormat["UNDEFINED"] = "UNDEFINED";
1359
- /** Video files */
1385
+ /** Video files. */
1360
1386
  UploadFileFormat["VIDEO"] = "VIDEO";
1361
- /** Image files */
1387
+ /** Image files. */
1362
1388
  UploadFileFormat["IMAGE"] = "IMAGE";
1363
- /** Audio files */
1389
+ /** Audio files. */
1364
1390
  UploadFileFormat["AUDIO"] = "AUDIO";
1365
- /** Document files */
1391
+ /** Document files. */
1366
1392
  UploadFileFormat["DOCUMENT"] = "DOCUMENT";
1367
- /** Archive files */
1393
+ /** Archive files. */
1368
1394
  UploadFileFormat["ARCHIVE"] = "ARCHIVE";
1369
1395
  })(UploadFileFormat || (UploadFileFormat = {}));
1370
1396
  export var PaymentComponentType;
@@ -1404,8 +1430,9 @@ export var MultilineAddressComponentType;
1404
1430
  })(MultilineAddressComponentType || (MultilineAddressComponentType = {}));
1405
1431
  export var DefaultCountryConfigType;
1406
1432
  (function (DefaultCountryConfigType) {
1433
+ /** Unknown default country config type. */
1407
1434
  DefaultCountryConfigType["UNKNOWN_DEFAULT_COUNTRY"] = "UNKNOWN_DEFAULT_COUNTRY";
1408
- /** Country will be determined by customer's IP address. */
1435
+ /** Country is determined by customer's IP address. */
1409
1436
  DefaultCountryConfigType["BY_IP"] = "BY_IP";
1410
1437
  /** Pre-selected default country. */
1411
1438
  DefaultCountryConfigType["COUNTRY"] = "COUNTRY";
@@ -1701,7 +1728,22 @@ export var ParticipantType;
1701
1728
  ParticipantType["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
1702
1729
  ParticipantType["WIX_USER"] = "WIX_USER";
1703
1730
  ParticipantType["CONTACT"] = "CONTACT";
1731
+ ParticipantType["ANONYMOUS"] = "ANONYMOUS";
1704
1732
  })(ParticipantType || (ParticipantType = {}));
1733
+ export var InterfaceConfigurationType;
1734
+ (function (InterfaceConfigurationType) {
1735
+ /** Widget component built by the provider */
1736
+ InterfaceConfigurationType["WIDGET_COMPONENT"] = "WIDGET_COMPONENT";
1737
+ /** Item Selection, in case the provider implemented item selection component */
1738
+ InterfaceConfigurationType["ITEM_SELECTION"] = "ITEM_SELECTION";
1739
+ })(InterfaceConfigurationType || (InterfaceConfigurationType = {}));
1740
+ export var Scope;
1741
+ (function (Scope) {
1742
+ /** Provider audience is available only in scope of specific site */
1743
+ Scope["SPECIFIC_SITE"] = "SPECIFIC_SITE";
1744
+ /** Provider audience is available only in scope of non specific site */
1745
+ Scope["NON_SPECIFIC_SITE"] = "NON_SPECIFIC_SITE";
1746
+ })(Scope || (Scope = {}));
1705
1747
  /** The supported [CSS Property Types](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference#index) in Javascript naming format */
1706
1748
  export var CssPropertyType;
1707
1749
  (function (CssPropertyType) {
@@ -2049,10 +2091,14 @@ export async function updateDataExtensionSchema(dataExtensionSchema) {
2049
2091
  * @permissionId DATA_EXTENSION_SCHEMA.READ
2050
2092
  * @permissionScope Manage Bookings Services and Settings
2051
2093
  * @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
2094
+ * @permissionScope Manage Events
2095
+ * @permissionScopeId SCOPE.EVENTS.MANAGE-EVENTS
2052
2096
  * @permissionScope Manage Data Extensions Schemas
2053
2097
  * @permissionScopeId SCOPE.DATAEXTENSIONS.MANAGE-SCHEMAS
2054
2098
  * @permissionScope Manage Portfolio
2055
2099
  * @permissionScopeId SCOPE.PORTFOLIO.MANAGE-PORTFOLIO
2100
+ * @permissionScope Access Verticals by Automations
2101
+ * @permissionScopeId SCOPE.CRM.ACCESS-VERTICALS-BY-AUTOMATIONS
2056
2102
  * @permissionScope Read Data Extensions Schemas
2057
2103
  * @permissionScopeId SCOPE.DATAEXTENSIONS.READ-SCHEMAS
2058
2104
  * @permissionScope Manage Restaurants - all permissions