@wix/auto_sdk_automations_automations-v-2 1.0.42 → 1.0.43

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.
@@ -1851,46 +1851,52 @@ interface ValidationSettings {
1851
1851
  skipProviderValidations?: boolean;
1852
1852
  }
1853
1853
  interface ValidateAutomationResponse {
1854
- /** Whether the automation is valid. */
1855
- valid?: boolean;
1854
+ /** Automation validation status. */
1855
+ status?: ValidationResultStatusWithLiterals;
1856
1856
  /**
1857
- * Validation errors generated by the automation trigger.
1857
+ * Validation errors related to the automation's trigger configuration.
1858
1858
  * @maxSize 100
1859
1859
  */
1860
1860
  triggerValidationErrors?: TriggerValidationError[];
1861
1861
  /**
1862
- * Validation information generated by the automation actions.
1862
+ * Validation errors related to the automation's actions configuration.
1863
1863
  * @maxSize 100
1864
1864
  */
1865
- actionValidationInfo?: ActionValidationInfo[];
1866
- /**
1867
- * Additional validation errors generated by the automation.
1868
- * @maxSize 100
1869
- */
1870
- automationValidationErrors?: AutomationValidationError[];
1865
+ actionValidationErrors?: ActionValidationError[];
1866
+ }
1867
+ declare enum ValidationResultStatus {
1868
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
1869
+ /** Automation is valid - no validation errors found. */
1870
+ VALID = "VALID",
1871
+ /** Automation is partially valid - validation errors with Warning severity were found - might affect automation execution */
1872
+ VALID_WITH_WARNINGS = "VALID_WITH_WARNINGS",
1873
+ /** Automation is not valid, validation errors with Critical severity were found - prevents proper automation/action execution and should be fixed. */
1874
+ INVALID = "INVALID"
1871
1875
  }
1876
+ /** @enumType */
1877
+ type ValidationResultStatusWithLiterals = ValidationResultStatus | 'UNKNOWN_STATUS' | 'VALID' | 'VALID_WITH_WARNINGS' | 'INVALID';
1872
1878
  interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
1873
- /** Trigger configuration error. */
1879
+ /** Automation's Trigger configuration error. */
1874
1880
  configurationError?: TriggerConfigurationError;
1875
- /** Provider configuration error. */
1881
+ /** Trigger Provider configuration error. */
1876
1882
  providerConfigurationError?: ProviderConfigurationError;
1877
1883
  /** Validation error type. */
1878
1884
  errorType?: TriggerValidationErrorValidationErrorTypeWithLiterals;
1879
1885
  /** Validation error severity */
1880
- severity?: ValidationErrorSeverityWithLiterals;
1886
+ errorSeverity?: SeverityWithLiterals;
1881
1887
  }
1882
1888
  /** @oneof */
1883
1889
  interface TriggerValidationErrorErrorOneOf {
1884
- /** Trigger configuration error. */
1890
+ /** Automation's Trigger configuration error. */
1885
1891
  configurationError?: TriggerConfigurationError;
1886
- /** Provider configuration error. */
1892
+ /** Trigger Provider configuration error. */
1887
1893
  providerConfigurationError?: ProviderConfigurationError;
1888
1894
  }
1889
1895
  declare enum TriggerValidationErrorValidationErrorType {
1890
1896
  UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
1891
- /** Configuration error. */
1897
+ /** Automation's Trigger Configuration error. */
1892
1898
  CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
1893
- /** Provider error. */
1899
+ /** Trigger Provider related error. */
1894
1900
  PROVIDER_ERROR = "PROVIDER_ERROR"
1895
1901
  }
1896
1902
  /** @enumType */
@@ -1901,14 +1907,10 @@ interface TriggerConfigurationError {
1901
1907
  }
1902
1908
  declare enum TriggerErrorType {
1903
1909
  UNKNOWN_TRIGGER_ERROR_TYPE = "UNKNOWN_TRIGGER_ERROR_TYPE",
1904
- /** Trigger not found. */
1910
+ /** Configured trigger was not found. */
1905
1911
  NOT_FOUND = "NOT_FOUND",
1906
1912
  /** App not installed. */
1907
1913
  APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
1908
- /** Moderation mismatch. */
1909
- MODERATION_MISMATCH = "MODERATION_MISMATCH",
1910
- /** Deprecated. */
1911
- DEPRECATED = "DEPRECATED",
1912
1914
  /** Invalid trigger key. */
1913
1915
  INVALID_TRIGGER_KEY = "INVALID_TRIGGER_KEY",
1914
1916
  /** Invalid filter field key. */
@@ -1919,7 +1921,7 @@ declare enum TriggerErrorType {
1919
1921
  MISSING_REQUIRED_FILTER = "MISSING_REQUIRED_FILTER"
1920
1922
  }
1921
1923
  /** @enumType */
1922
- type TriggerErrorTypeWithLiterals = TriggerErrorType | 'UNKNOWN_TRIGGER_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'MODERATION_MISMATCH' | 'DEPRECATED' | 'INVALID_TRIGGER_KEY' | 'INVALID_FILTER_FIELD_KEY' | 'INVALID_FILTER_EXPRESSION' | 'MISSING_REQUIRED_FILTER';
1924
+ type TriggerErrorTypeWithLiterals = TriggerErrorType | 'UNKNOWN_TRIGGER_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'INVALID_TRIGGER_KEY' | 'INVALID_FILTER_FIELD_KEY' | 'INVALID_FILTER_EXPRESSION' | 'MISSING_REQUIRED_FILTER';
1923
1925
  interface ProviderConfigurationError {
1924
1926
  /** Key corresponding to the field in the schema. */
1925
1927
  fieldKey?: string | null;
@@ -1941,6 +1943,15 @@ declare enum ValidationErrorSeverity {
1941
1943
  }
1942
1944
  /** @enumType */
1943
1945
  type ValidationErrorSeverityWithLiterals = ValidationErrorSeverity | 'UNKNOWN_VALIDATION_ERROR_SEVERITY' | 'WARNING' | 'ERROR';
1946
+ declare enum Severity {
1947
+ UNKNOWN_SEVERITY = "UNKNOWN_SEVERITY",
1948
+ /** Low severity error - may affect automation execution. */
1949
+ WARNING = "WARNING",
1950
+ /** Critical severity error - prevents proper automation execution and should be fixed. */
1951
+ CRITICAL = "CRITICAL"
1952
+ }
1953
+ /** @enumType */
1954
+ type SeverityWithLiterals = Severity | 'UNKNOWN_SEVERITY' | 'WARNING' | 'CRITICAL';
1944
1955
  interface ActionValidationInfo {
1945
1956
  /**
1946
1957
  * Action ID.
@@ -1969,10 +1980,26 @@ interface ActionValidationError extends ActionValidationErrorErrorOneOf {
1969
1980
  configurationError?: ActionConfigurationError;
1970
1981
  /** Provider configuration error. */
1971
1982
  providerConfigurationError?: ProviderConfigurationError;
1983
+ /**
1984
+ * Action Identifier in the Automation.
1985
+ * @format GUID
1986
+ */
1987
+ actionId?: string;
1988
+ /**
1989
+ * ID of the app that defined the action.
1990
+ * @format GUID
1991
+ */
1992
+ appId?: string;
1993
+ /**
1994
+ * Human-readable action identifier.
1995
+ * @minLength 1
1996
+ * @maxLength 100
1997
+ */
1998
+ actionKey?: string;
1972
1999
  /** Validation error type. */
1973
2000
  errorType?: ValidationErrorTypeWithLiterals;
1974
2001
  /** Validation error severity */
1975
- severity?: ValidationErrorSeverityWithLiterals;
2002
+ errorSeverity?: SeverityWithLiterals;
1976
2003
  }
1977
2004
  /** @oneof */
1978
2005
  interface ActionValidationErrorErrorOneOf {
@@ -1993,29 +2020,32 @@ type ValidationErrorTypeWithLiterals = ValidationErrorType | 'UNKNOWN_VALIDATION
1993
2020
  interface ActionConfigurationError {
1994
2021
  /** Action error type. */
1995
2022
  errorType?: ActionErrorTypeWithLiterals;
1996
- /**
1997
- * Related field key.
1998
- * @maxLength 110
1999
- */
2000
- fieldKey?: string | null;
2001
2023
  }
2002
2024
  declare enum ActionErrorType {
2003
2025
  UNKNOWN_ACTION_ERROR_TYPE = "UNKNOWN_ACTION_ERROR_TYPE",
2026
+ /** Configured action was not found. */
2004
2027
  NOT_FOUND = "NOT_FOUND",
2028
+ /** App not installed. */
2005
2029
  APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
2006
- MODERATION_MISMATCH = "MODERATION_MISMATCH",
2007
- DEPRECATED = "DEPRECATED",
2030
+ /** Invalid action key. */
2008
2031
  INVALID_ACTION_KEY = "INVALID_ACTION_KEY",
2032
+ /** Invalid mapping */
2009
2033
  INVALID_MAPPING = "INVALID_MAPPING",
2034
+ /** Mapping type mismatch. */
2010
2035
  MAPPING_TYPE_MISMATCH = "MAPPING_TYPE_MISMATCH",
2036
+ /** Mapping missing required field. */
2011
2037
  MAPPING_MISSING_REQUIRED_FIELD = "MAPPING_MISSING_REQUIRED_FIELD",
2038
+ /** Mapping schema mismatch. */
2012
2039
  MAPPING_SCHEMA_MISMATCH = "MAPPING_SCHEMA_MISMATCH",
2040
+ /** Mapping variable missing from schema. */
2013
2041
  MAPPING_VARIABLE_MISSING_FROM_SCHEMA = "MAPPING_VARIABLE_MISSING_FROM_SCHEMA",
2042
+ /** Sample code run failed. */
2014
2043
  SAMPLE_CODE_RUN_FAILED = "SAMPLE_CODE_RUN_FAILED",
2044
+ /** Configured post action not found. */
2015
2045
  POST_ACTION_NOT_FOUND = "POST_ACTION_NOT_FOUND"
2016
2046
  }
2017
2047
  /** @enumType */
2018
- type ActionErrorTypeWithLiterals = ActionErrorType | 'UNKNOWN_ACTION_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'MODERATION_MISMATCH' | 'DEPRECATED' | 'INVALID_ACTION_KEY' | 'INVALID_MAPPING' | 'MAPPING_TYPE_MISMATCH' | 'MAPPING_MISSING_REQUIRED_FIELD' | 'MAPPING_SCHEMA_MISMATCH' | 'MAPPING_VARIABLE_MISSING_FROM_SCHEMA' | 'SAMPLE_CODE_RUN_FAILED' | 'POST_ACTION_NOT_FOUND';
2048
+ type ActionErrorTypeWithLiterals = ActionErrorType | 'UNKNOWN_ACTION_ERROR_TYPE' | 'NOT_FOUND' | 'APP_NOT_INSTALLED' | 'INVALID_ACTION_KEY' | 'INVALID_MAPPING' | 'MAPPING_TYPE_MISMATCH' | 'MAPPING_MISSING_REQUIRED_FIELD' | 'MAPPING_SCHEMA_MISMATCH' | 'MAPPING_VARIABLE_MISSING_FROM_SCHEMA' | 'SAMPLE_CODE_RUN_FAILED' | 'POST_ACTION_NOT_FOUND';
2019
2049
  interface AutomationValidationError extends AutomationValidationErrorErrorOneOf {
2020
2050
  /** Automation configuration error. */
2021
2051
  configurationError?: AutomationConfigurationError;
@@ -2023,8 +2053,8 @@ interface AutomationValidationError extends AutomationValidationErrorErrorOneOf
2023
2053
  providerConfigurationError?: ProviderConfigurationError;
2024
2054
  /** Validation error type. */
2025
2055
  errorType?: AutomationValidationErrorValidationErrorTypeWithLiterals;
2026
- /** Validation error severity. */
2027
- severity?: ValidationErrorSeverityWithLiterals;
2056
+ /** Validation error severity */
2057
+ errorSeverity?: SeverityWithLiterals;
2028
2058
  }
2029
2059
  /** @oneof */
2030
2060
  interface AutomationValidationErrorErrorOneOf {
@@ -2059,23 +2089,18 @@ interface ValidateAutomationByIdRequest {
2059
2089
  validationSettings?: ValidationSettings;
2060
2090
  }
2061
2091
  interface ValidateAutomationByIdResponse {
2062
- /** Whether the automation is valid. */
2063
- valid?: boolean;
2092
+ /** Automation validation status. */
2093
+ status?: ValidationResultStatusWithLiterals;
2064
2094
  /**
2065
- * Validation errors generated by the automation trigger.
2095
+ * Validation errors related to the automation's trigger configuration.
2066
2096
  * @maxSize 100
2067
2097
  */
2068
2098
  triggerValidationErrors?: TriggerValidationError[];
2069
2099
  /**
2070
- * Validation information generated by the automation actions.
2071
- * @maxSize 100
2072
- */
2073
- actionValidationInfo?: ActionValidationInfo[];
2074
- /**
2075
- * Additional validation errors generated by the automation.
2100
+ * Validation errors related to the automation's actions configuration.
2076
2101
  * @maxSize 100
2077
2102
  */
2078
- automationValidationErrors?: AutomationValidationError[];
2103
+ actionValidationErrors?: ActionValidationError[];
2079
2104
  }
2080
2105
  interface GetAutomationActionSchemaRequest {
2081
2106
  /**
@@ -2848,7 +2873,7 @@ declare function publishDraftAutomation(automationId: string): Promise<NonNullab
2848
2873
  * @applicableIdentity APP
2849
2874
  * @fqn wix.automations.v2.AutomationsService.ValidateAutomation
2850
2875
  */
2851
- declare function validateAutomation(automation: Automation, options?: ValidateAutomationOptions): Promise<NonNullablePaths<ValidateAutomationResponse, `valid` | `triggerValidationErrors` | `triggerValidationErrors.${number}.configurationError.errorType` | `triggerValidationErrors.${number}.providerConfigurationError.message` | `triggerValidationErrors.${number}.providerConfigurationError.title` | `triggerValidationErrors.${number}.errorType` | `triggerValidationErrors.${number}.severity` | `actionValidationInfo` | `actionValidationInfo.${number}.appId` | `actionValidationInfo.${number}.actionKey` | `automationValidationErrors` | `automationValidationErrors.${number}.configurationError.errorType` | `automationValidationErrors.${number}.providerConfigurationError.message` | `automationValidationErrors.${number}.providerConfigurationError.title` | `automationValidationErrors.${number}.errorType` | `automationValidationErrors.${number}.severity`, 5>>;
2876
+ declare function validateAutomation(automation: Automation, options?: ValidateAutomationOptions): Promise<NonNullablePaths<ValidateAutomationResponse, `status` | `triggerValidationErrors` | `triggerValidationErrors.${number}.configurationError.errorType` | `triggerValidationErrors.${number}.providerConfigurationError.message` | `triggerValidationErrors.${number}.providerConfigurationError.title` | `triggerValidationErrors.${number}.errorType` | `triggerValidationErrors.${number}.errorSeverity` | `actionValidationErrors` | `actionValidationErrors.${number}.configurationError.errorType` | `actionValidationErrors.${number}.providerConfigurationError.message` | `actionValidationErrors.${number}.providerConfigurationError.title` | `actionValidationErrors.${number}.actionId` | `actionValidationErrors.${number}.appId` | `actionValidationErrors.${number}.actionKey` | `actionValidationErrors.${number}.errorType` | `actionValidationErrors.${number}.errorSeverity`, 5>>;
2852
2877
  interface ValidateAutomationOptions {
2853
2878
  /** Automation validation settings. */
2854
2879
  validationSettings?: ValidationSettings;
@@ -2863,7 +2888,7 @@ interface ValidateAutomationOptions {
2863
2888
  * @applicableIdentity APP
2864
2889
  * @fqn wix.automations.v2.AutomationsService.ValidateAutomationById
2865
2890
  */
2866
- declare function validateAutomationById(automationId: string, options?: ValidateAutomationByIdOptions): Promise<NonNullablePaths<ValidateAutomationByIdResponse, `valid` | `triggerValidationErrors` | `triggerValidationErrors.${number}.configurationError.errorType` | `triggerValidationErrors.${number}.providerConfigurationError.message` | `triggerValidationErrors.${number}.providerConfigurationError.title` | `triggerValidationErrors.${number}.errorType` | `triggerValidationErrors.${number}.severity` | `actionValidationInfo` | `actionValidationInfo.${number}.appId` | `actionValidationInfo.${number}.actionKey` | `automationValidationErrors` | `automationValidationErrors.${number}.configurationError.errorType` | `automationValidationErrors.${number}.providerConfigurationError.message` | `automationValidationErrors.${number}.providerConfigurationError.title` | `automationValidationErrors.${number}.errorType` | `automationValidationErrors.${number}.severity`, 5>>;
2891
+ declare function validateAutomationById(automationId: string, options?: ValidateAutomationByIdOptions): Promise<NonNullablePaths<ValidateAutomationByIdResponse, `status` | `triggerValidationErrors` | `triggerValidationErrors.${number}.configurationError.errorType` | `triggerValidationErrors.${number}.providerConfigurationError.message` | `triggerValidationErrors.${number}.providerConfigurationError.title` | `triggerValidationErrors.${number}.errorType` | `triggerValidationErrors.${number}.errorSeverity` | `actionValidationErrors` | `actionValidationErrors.${number}.configurationError.errorType` | `actionValidationErrors.${number}.providerConfigurationError.message` | `actionValidationErrors.${number}.providerConfigurationError.title` | `actionValidationErrors.${number}.actionId` | `actionValidationErrors.${number}.appId` | `actionValidationErrors.${number}.actionKey` | `actionValidationErrors.${number}.errorType` | `actionValidationErrors.${number}.errorSeverity`, 5>>;
2867
2892
  interface ValidateAutomationByIdOptions {
2868
2893
  /** Validation settings. */
2869
2894
  validationSettings?: ValidationSettings;
@@ -2889,4 +2914,4 @@ interface GetAutomationRevisionOptions {
2889
2914
  fields?: RequestedFieldsWithLiterals[];
2890
2915
  }
2891
2916
 
2892
- export { type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationOriginInfoOneOf, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedWithEntity, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Note, type Notes, type OdeditorAssigned, type OdeditorUnassigned, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type Position, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioUnassigned, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpdatedWithPreviousEntity, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
2917
+ export { type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationOriginInfoOneOf, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedWithEntity, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type Note, type Notes, type OdeditorAssigned, type OdeditorUnassigned, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type Position, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, Severity, type SeverityWithLiterals, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioUnassigned, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpdatedWithPreviousEntity, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, ValidationResultStatus, type ValidationResultStatusWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
@@ -779,6 +779,13 @@ var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
779
779
  DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
780
780
  return DeleteStatus2;
781
781
  })(DeleteStatus || {});
782
+ var ValidationResultStatus = /* @__PURE__ */ ((ValidationResultStatus2) => {
783
+ ValidationResultStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
784
+ ValidationResultStatus2["VALID"] = "VALID";
785
+ ValidationResultStatus2["VALID_WITH_WARNINGS"] = "VALID_WITH_WARNINGS";
786
+ ValidationResultStatus2["INVALID"] = "INVALID";
787
+ return ValidationResultStatus2;
788
+ })(ValidationResultStatus || {});
782
789
  var TriggerValidationErrorValidationErrorType = /* @__PURE__ */ ((TriggerValidationErrorValidationErrorType2) => {
783
790
  TriggerValidationErrorValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
784
791
  TriggerValidationErrorValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
@@ -789,8 +796,6 @@ var TriggerErrorType = /* @__PURE__ */ ((TriggerErrorType2) => {
789
796
  TriggerErrorType2["UNKNOWN_TRIGGER_ERROR_TYPE"] = "UNKNOWN_TRIGGER_ERROR_TYPE";
790
797
  TriggerErrorType2["NOT_FOUND"] = "NOT_FOUND";
791
798
  TriggerErrorType2["APP_NOT_INSTALLED"] = "APP_NOT_INSTALLED";
792
- TriggerErrorType2["MODERATION_MISMATCH"] = "MODERATION_MISMATCH";
793
- TriggerErrorType2["DEPRECATED"] = "DEPRECATED";
794
799
  TriggerErrorType2["INVALID_TRIGGER_KEY"] = "INVALID_TRIGGER_KEY";
795
800
  TriggerErrorType2["INVALID_FILTER_FIELD_KEY"] = "INVALID_FILTER_FIELD_KEY";
796
801
  TriggerErrorType2["INVALID_FILTER_EXPRESSION"] = "INVALID_FILTER_EXPRESSION";
@@ -803,6 +808,12 @@ var ValidationErrorSeverity = /* @__PURE__ */ ((ValidationErrorSeverity2) => {
803
808
  ValidationErrorSeverity2["ERROR"] = "ERROR";
804
809
  return ValidationErrorSeverity2;
805
810
  })(ValidationErrorSeverity || {});
811
+ var Severity = /* @__PURE__ */ ((Severity2) => {
812
+ Severity2["UNKNOWN_SEVERITY"] = "UNKNOWN_SEVERITY";
813
+ Severity2["WARNING"] = "WARNING";
814
+ Severity2["CRITICAL"] = "CRITICAL";
815
+ return Severity2;
816
+ })(Severity || {});
806
817
  var ValidationErrorType = /* @__PURE__ */ ((ValidationErrorType2) => {
807
818
  ValidationErrorType2["UNKNOWN_VALIDATION_ERROR_TYPE"] = "UNKNOWN_VALIDATION_ERROR_TYPE";
808
819
  ValidationErrorType2["CONFIGURATION_ERROR"] = "CONFIGURATION_ERROR";
@@ -813,8 +824,6 @@ var ActionErrorType = /* @__PURE__ */ ((ActionErrorType2) => {
813
824
  ActionErrorType2["UNKNOWN_ACTION_ERROR_TYPE"] = "UNKNOWN_ACTION_ERROR_TYPE";
814
825
  ActionErrorType2["NOT_FOUND"] = "NOT_FOUND";
815
826
  ActionErrorType2["APP_NOT_INSTALLED"] = "APP_NOT_INSTALLED";
816
- ActionErrorType2["MODERATION_MISMATCH"] = "MODERATION_MISMATCH";
817
- ActionErrorType2["DEPRECATED"] = "DEPRECATED";
818
827
  ActionErrorType2["INVALID_ACTION_KEY"] = "INVALID_ACTION_KEY";
819
828
  ActionErrorType2["INVALID_MAPPING"] = "INVALID_MAPPING";
820
829
  ActionErrorType2["MAPPING_TYPE_MISMATCH"] = "MAPPING_TYPE_MISMATCH";
@@ -1362,6 +1371,7 @@ export {
1362
1371
  Operator,
1363
1372
  Origin,
1364
1373
  RequestedFields,
1374
+ Severity,
1365
1375
  SiteCreatedContext,
1366
1376
  SortOrder,
1367
1377
  State,
@@ -1372,6 +1382,7 @@ export {
1372
1382
  Type,
1373
1383
  ValidationErrorSeverity,
1374
1384
  ValidationErrorType,
1385
+ ValidationResultStatus,
1375
1386
  WebhookIdentityType,
1376
1387
  bulkCountAutomationsWithDrafts2 as bulkCountAutomationsWithDrafts,
1377
1388
  bulkDeleteAutomations2 as bulkDeleteAutomations,