@wix/automations 1.0.41 → 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.
- package/package.json +5 -5
- package/type-bundles/context.bundle.d.ts +516 -48
- package/type-bundles/index.bundle.d.ts +516 -48
- package/type-bundles/meta.bundle.d.ts +82 -0
|
@@ -2623,6 +2623,8 @@ interface ValidateAutomationResponse$1 {
|
|
|
2623
2623
|
triggerValidationErrors?: TriggerValidationError$1[];
|
|
2624
2624
|
/** List of validation information for the automation actions. */
|
|
2625
2625
|
actionValidationInfo?: ActionValidationInfo$1[];
|
|
2626
|
+
/** List of additional validation errors for the automation */
|
|
2627
|
+
automationValidationErrors?: AutomationValidationError$1[];
|
|
2626
2628
|
}
|
|
2627
2629
|
interface TriggerValidationError$1 extends TriggerValidationErrorErrorOneOf$1 {
|
|
2628
2630
|
/** Trigger configuration error. */
|
|
@@ -2730,6 +2732,35 @@ declare enum ActionErrorType$1 {
|
|
|
2730
2732
|
MAPPING_SCHEMA_MISMATCH = "MAPPING_SCHEMA_MISMATCH",
|
|
2731
2733
|
MAPPING_VARIABLE_MISSING_FROM_SCHEMA = "MAPPING_VARIABLE_MISSING_FROM_SCHEMA"
|
|
2732
2734
|
}
|
|
2735
|
+
interface AutomationValidationError$1 extends AutomationValidationErrorErrorOneOf$1 {
|
|
2736
|
+
/** Automation configuration error. */
|
|
2737
|
+
configurationError?: AutomationConfigurationError$1;
|
|
2738
|
+
/** Provider configuration error. */
|
|
2739
|
+
providerConfigurationError?: ProviderConfigurationError$1;
|
|
2740
|
+
/** Validation error type. */
|
|
2741
|
+
errorType?: AutomationValidationErrorValidationErrorType$1;
|
|
2742
|
+
/** Validation error severity */
|
|
2743
|
+
severity?: ValidationErrorSeverity$1;
|
|
2744
|
+
}
|
|
2745
|
+
/** @oneof */
|
|
2746
|
+
interface AutomationValidationErrorErrorOneOf$1 {
|
|
2747
|
+
/** Automation configuration error. */
|
|
2748
|
+
configurationError?: AutomationConfigurationError$1;
|
|
2749
|
+
/** Provider configuration error. */
|
|
2750
|
+
providerConfigurationError?: ProviderConfigurationError$1;
|
|
2751
|
+
}
|
|
2752
|
+
declare enum AutomationValidationErrorValidationErrorType$1 {
|
|
2753
|
+
UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
|
|
2754
|
+
CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
|
|
2755
|
+
PROVIDER_ERROR = "PROVIDER_ERROR"
|
|
2756
|
+
}
|
|
2757
|
+
interface AutomationConfigurationError$1 {
|
|
2758
|
+
/** Automation error type. */
|
|
2759
|
+
errorType?: AutomationErrorType$1;
|
|
2760
|
+
}
|
|
2761
|
+
declare enum AutomationErrorType$1 {
|
|
2762
|
+
UNKNOWN_AUTOMATION_ERROR_TYPE = "UNKNOWN_AUTOMATION_ERROR_TYPE"
|
|
2763
|
+
}
|
|
2733
2764
|
interface GetAutomationActionSchemaRequest$1 {
|
|
2734
2765
|
/** Automation ID */
|
|
2735
2766
|
automationId: string;
|
|
@@ -2959,10 +2990,20 @@ interface ActionValidationInfoNonNullableFields$1 {
|
|
|
2959
2990
|
actionKey: string;
|
|
2960
2991
|
validationErrors: ActionValidationErrorNonNullableFields$1[];
|
|
2961
2992
|
}
|
|
2993
|
+
interface AutomationConfigurationErrorNonNullableFields$1 {
|
|
2994
|
+
errorType: AutomationErrorType$1;
|
|
2995
|
+
}
|
|
2996
|
+
interface AutomationValidationErrorNonNullableFields$1 {
|
|
2997
|
+
configurationError?: AutomationConfigurationErrorNonNullableFields$1;
|
|
2998
|
+
providerConfigurationError?: ProviderConfigurationErrorNonNullableFields$1;
|
|
2999
|
+
errorType: AutomationValidationErrorValidationErrorType$1;
|
|
3000
|
+
severity: ValidationErrorSeverity$1;
|
|
3001
|
+
}
|
|
2962
3002
|
interface ValidateAutomationResponseNonNullableFields$1 {
|
|
2963
3003
|
valid: boolean;
|
|
2964
3004
|
triggerValidationErrors: TriggerValidationErrorNonNullableFields$1[];
|
|
2965
3005
|
actionValidationInfo: ActionValidationInfoNonNullableFields$1[];
|
|
3006
|
+
automationValidationErrors: AutomationValidationErrorNonNullableFields$1[];
|
|
2966
3007
|
}
|
|
2967
3008
|
interface PlanNonNullableFields$1 {
|
|
2968
3009
|
id: string;
|
|
@@ -3575,6 +3616,8 @@ interface ValidateAutomationResponse {
|
|
|
3575
3616
|
triggerValidationErrors?: TriggerValidationError[];
|
|
3576
3617
|
/** List of validation information for the automation actions. */
|
|
3577
3618
|
actionValidationInfo?: ActionValidationInfo[];
|
|
3619
|
+
/** List of additional validation errors for the automation */
|
|
3620
|
+
automationValidationErrors?: AutomationValidationError[];
|
|
3578
3621
|
}
|
|
3579
3622
|
interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
|
|
3580
3623
|
/** Trigger configuration error. */
|
|
@@ -3682,6 +3725,35 @@ declare enum ActionErrorType {
|
|
|
3682
3725
|
MAPPING_SCHEMA_MISMATCH = "MAPPING_SCHEMA_MISMATCH",
|
|
3683
3726
|
MAPPING_VARIABLE_MISSING_FROM_SCHEMA = "MAPPING_VARIABLE_MISSING_FROM_SCHEMA"
|
|
3684
3727
|
}
|
|
3728
|
+
interface AutomationValidationError extends AutomationValidationErrorErrorOneOf {
|
|
3729
|
+
/** Automation configuration error. */
|
|
3730
|
+
configurationError?: AutomationConfigurationError;
|
|
3731
|
+
/** Provider configuration error. */
|
|
3732
|
+
providerConfigurationError?: ProviderConfigurationError;
|
|
3733
|
+
/** Validation error type. */
|
|
3734
|
+
errorType?: AutomationValidationErrorValidationErrorType;
|
|
3735
|
+
/** Validation error severity */
|
|
3736
|
+
severity?: ValidationErrorSeverity;
|
|
3737
|
+
}
|
|
3738
|
+
/** @oneof */
|
|
3739
|
+
interface AutomationValidationErrorErrorOneOf {
|
|
3740
|
+
/** Automation configuration error. */
|
|
3741
|
+
configurationError?: AutomationConfigurationError;
|
|
3742
|
+
/** Provider configuration error. */
|
|
3743
|
+
providerConfigurationError?: ProviderConfigurationError;
|
|
3744
|
+
}
|
|
3745
|
+
declare enum AutomationValidationErrorValidationErrorType {
|
|
3746
|
+
UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
|
|
3747
|
+
CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
|
|
3748
|
+
PROVIDER_ERROR = "PROVIDER_ERROR"
|
|
3749
|
+
}
|
|
3750
|
+
interface AutomationConfigurationError {
|
|
3751
|
+
/** Automation error type. */
|
|
3752
|
+
errorType?: AutomationErrorType;
|
|
3753
|
+
}
|
|
3754
|
+
declare enum AutomationErrorType {
|
|
3755
|
+
UNKNOWN_AUTOMATION_ERROR_TYPE = "UNKNOWN_AUTOMATION_ERROR_TYPE"
|
|
3756
|
+
}
|
|
3685
3757
|
interface GetAutomationActionSchemaRequest {
|
|
3686
3758
|
/** Automation ID */
|
|
3687
3759
|
automationId: string;
|
|
@@ -3911,10 +3983,20 @@ interface ActionValidationInfoNonNullableFields {
|
|
|
3911
3983
|
actionKey: string;
|
|
3912
3984
|
validationErrors: ActionValidationErrorNonNullableFields[];
|
|
3913
3985
|
}
|
|
3986
|
+
interface AutomationConfigurationErrorNonNullableFields {
|
|
3987
|
+
errorType: AutomationErrorType;
|
|
3988
|
+
}
|
|
3989
|
+
interface AutomationValidationErrorNonNullableFields {
|
|
3990
|
+
configurationError?: AutomationConfigurationErrorNonNullableFields;
|
|
3991
|
+
providerConfigurationError?: ProviderConfigurationErrorNonNullableFields;
|
|
3992
|
+
errorType: AutomationValidationErrorValidationErrorType;
|
|
3993
|
+
severity: ValidationErrorSeverity;
|
|
3994
|
+
}
|
|
3914
3995
|
interface ValidateAutomationResponseNonNullableFields {
|
|
3915
3996
|
valid: boolean;
|
|
3916
3997
|
triggerValidationErrors: TriggerValidationErrorNonNullableFields[];
|
|
3917
3998
|
actionValidationInfo: ActionValidationInfoNonNullableFields[];
|
|
3999
|
+
automationValidationErrors: AutomationValidationErrorNonNullableFields[];
|
|
3918
4000
|
}
|
|
3919
4001
|
interface PlanNonNullableFields {
|
|
3920
4002
|
_id: string;
|