@wix/auto_sdk_automations_automations-v-2 1.0.77 → 1.0.78
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/index.d.ts +1 -9
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +61 -139
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +59 -123
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -9
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +61 -139
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +59 -123
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -9
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +61 -139
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +59 -123
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -9
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +61 -139
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +59 -123
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -145,15 +145,7 @@ interface PublishDraftAutomationSignature {
|
|
|
145
145
|
declare function validateAutomation$1(httpClient: HttpClient): ValidateAutomationSignature;
|
|
146
146
|
interface ValidateAutomationSignature {
|
|
147
147
|
/**
|
|
148
|
-
* Validates
|
|
149
|
-
*
|
|
150
|
-
* This method:
|
|
151
|
-
*
|
|
152
|
-
* - Validates that the [trigger is properly configured](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-the-trigger).
|
|
153
|
-
* - Validates that all [actions are properly configured](https://dev.wix.com/docs/api-reference/business-management/automations/automations/automations-v2/configure-your-automation#configuring-actions) with correct [input](https://dev.wix.com/docs/api-reference/business-management/automations/actions/about-actions#understanding-input-mapping) and other mappings.
|
|
154
|
-
* - Validates custom logic added by [trigger](https://dev.wix.com/docs/api-reference/business-management/automations/triggers/trigger-provider-service-plugin/validate-configuration) and [action providers](https://dev.wix.com/docs/api-reference/business-management/automations/actions/action-provider-service-plugin/validate-configuration).
|
|
155
|
-
*
|
|
156
|
-
* > **Note**: This method identifies configuration errors but doesn't fix them. It does not modify the automation.
|
|
148
|
+
* Validates the specified automation.
|
|
157
149
|
* @param - Automation to validate.
|
|
158
150
|
*/
|
|
159
151
|
(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>>;
|