@wix/auto_sdk_data-extension-schema_schemas 1.0.150 → 1.0.152

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.
@@ -14418,6 +14418,8 @@ interface FunctionParameter extends FunctionParameterSelectedDataTypeOneOf {
14418
14418
  data?: FunctionParameterItems;
14419
14419
  /** In case of a function */
14420
14420
  function?: EditorFunction;
14421
+ /** In case of a text enum */
14422
+ textEnum?: TextEnum;
14421
14423
  /** The type of the Parameter, does not include containers */
14422
14424
  dataType?: DataTypeWithLiterals;
14423
14425
  /** Whether the Parameter is optional, limitations of Javascript apply, only the last parameters can be optional */
@@ -14438,6 +14440,8 @@ interface FunctionParameterSelectedDataTypeOneOf {
14438
14440
  data?: FunctionParameterItems;
14439
14441
  /** In case of a function */
14440
14442
  function?: EditorFunction;
14443
+ /** In case of a text enum */
14444
+ textEnum?: TextEnum;
14441
14445
  }
14442
14446
  /** An array of data items or complex data types */
14443
14447
  interface FunctionParameterArrayItems extends FunctionParameterArrayItemsArrayDataOneOf {
@@ -14461,6 +14465,8 @@ interface FunctionReturnType extends FunctionReturnTypeSelectedDataTypeOneOf {
14461
14465
  arrayItems?: FunctionParameterArrayItems;
14462
14466
  /** In case of a complex object */
14463
14467
  data?: FunctionParameterItems;
14468
+ /** In case of a text enum */
14469
+ textEnum?: TextEnum;
14464
14470
  /** The type of the return value, does not include containers */
14465
14471
  dataType?: DataTypeWithLiterals;
14466
14472
  /**
@@ -14480,6 +14486,8 @@ interface FunctionReturnTypeSelectedDataTypeOneOf {
14480
14486
  arrayItems?: FunctionParameterArrayItems;
14481
14487
  /** In case of a complex object */
14482
14488
  data?: FunctionParameterItems;
14489
+ /** In case of a text enum */
14490
+ textEnum?: TextEnum;
14483
14491
  }
14484
14492
  interface ElementItem extends ElementItemSelectedElementTypeOneOf {
14485
14493
  /** An new element definition */
@@ -18458,6 +18466,16 @@ interface EditorContextProvider {
18458
18466
  data?: Record<string, DataItem>;
18459
18467
  /** Allows overriding the default settings actions for the data of this component */
18460
18468
  settings?: Action;
18469
+ /**
18470
+ * Human friendly name of the context provider for human readability
18471
+ * @maxLength 50
18472
+ */
18473
+ displayName?: string | null;
18474
+ /**
18475
+ * The public description of the context provider
18476
+ * @maxLength 300
18477
+ */
18478
+ description?: string | null;
18461
18479
  }
18462
18480
  interface EditorContextProviderResources {
18463
18481
  /** The ESM bundle for this component in runtime */
@@ -18493,6 +18511,8 @@ interface ContextItem extends ContextItemSelectedDataTypeOneOf {
18493
18511
  data?: ContextDataItems;
18494
18512
  /** For functions, the function definition is defined here */
18495
18513
  function?: EditorFunction;
18514
+ /** For text enums, the enum options are defined here */
18515
+ textEnum?: TextEnum;
18496
18516
  /** The type exposed by the context item (can't be "container") */
18497
18517
  dataType?: DataTypeWithLiterals;
18498
18518
  /**
@@ -18511,6 +18531,8 @@ interface ContextItemSelectedDataTypeOneOf {
18511
18531
  data?: ContextDataItems;
18512
18532
  /** For functions, the function definition is defined here */
18513
18533
  function?: EditorFunction;
18534
+ /** For text enums, the enum options are defined here */
18535
+ textEnum?: TextEnum;
18514
18536
  }
18515
18537
  interface ContextImplementor {
18516
18538
  /**
@@ -18841,6 +18863,15 @@ interface EventMetadata extends BaseEventMetadata {
18841
18863
  * You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
18842
18864
  */
18843
18865
  entityEventSequence?: string | null;
18866
+ accountInfo?: AccountInfoMetadata;
18867
+ }
18868
+ interface AccountInfoMetadata {
18869
+ /** ID of the Wix account associated with the event */
18870
+ accountId: string;
18871
+ /** ID of the Wix site associated with the event. Only included when the event is tied to a specific site. */
18872
+ siteId?: string;
18873
+ /** ID of the parent Wix account. Only included when 'accountId' belongs to a child account. */
18874
+ parentAccountId?: string;
18844
18875
  }
18845
18876
  interface DataExtensionSchemaCreatedEnvelope {
18846
18877
  entity: DataExtensionSchema;