@wix/auto_sdk_automations_activation-log 1.0.2 → 1.0.3
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/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +2 -2
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js +2 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +1 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +1 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js +2 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +1 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +44 -17
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js +8 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +1 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts +44 -17
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +8 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +1 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +2 -2
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js +1 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +1 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +1 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js +1 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +1 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +44 -17
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js +7 -0
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +1 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts +44 -17
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +7 -0
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +1 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +2 -2
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js +2 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +1 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +1 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js +2 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +1 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +44 -17
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js +8 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +1 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts +44 -17
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +8 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +1 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +2 -2
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js +1 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +1 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +1 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js +1 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +1 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +44 -17
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js +7 -0
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +1 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts +44 -17
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +7 -0
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +1 -1
- package/package.json +2 -2
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
|
3
3
|
export declare const getActivationLog: MaybeContext<BuildRESTFunction<typeof publicGetActivationLog> & typeof publicGetActivationLog>;
|
|
4
4
|
export declare const listActivationLogs: MaybeContext<BuildRESTFunction<typeof publicListActivationLogs> & typeof publicListActivationLogs>;
|
|
5
5
|
export declare const searchActivationLogsByPayloadPiiValue: MaybeContext<BuildRESTFunction<typeof publicSearchActivationLogsByPayloadPiiValue> & typeof publicSearchActivationLogsByPayloadPiiValue>;
|
|
6
|
-
export { Target, CancellationReason, ErrorReason, SkipReason, Status, WarningReason, Domain, TimeUnit, Operator, Type, AutomationConfigurationStatus, Origin, IdentifierType, FilterBy, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
7
|
-
export { ActivationLog, Identity, InitiatedStatusInfo, ScheduledStatusInfo, StartedStatusInfo, EndedStatusInfo, CancelledStatusInfo, FailedStatusInfo, SkippedStatusInfo, Warning, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, ActivationContinuedAfterSchedule, Automation, AutomationOriginInfoOneOf, ActionSettings, Enrichment, AuditInfo, AuditInfoIdOneOf, AutomationConfiguration, Filter, FutureDateActivationOffset, RateLimit, FilterValueSelection, ConditionExpressionGroup, Path, AppDefinedAction, ConditionAction, DelayAction, RateLimitAction, SetVariablesAction, OutputAction, SplitAction, Trigger, Action, ActionInfoOneOf, FilterableAppDefinedActions, ApplicationOrigin, PreinstalledOrigin, AutomationSettings, DraftInfo, Enrichments, ExtendedFields, UouDeleteRequest, ClientEntityIdsByNamespace, GetActivationLogRequest, GetActivationLogResponse, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, CursorPaging, AutomationIdInfo, PreinstalledIdentifierInfo, ListActivationLogsResponse, CursorPagingMetadata, Cursors, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
6
|
+
export { Target, CancellationReason, ErrorReason, SkipReason, Status, WarningReason, Domain, TimeUnit, Operator, Language, Type, AutomationConfigurationStatus, Origin, IdentifierType, FilterBy, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
7
|
+
export { ActivationLog, Identity, InitiatedStatusInfo, ScheduledStatusInfo, StartedStatusInfo, EndedStatusInfo, CancelledStatusInfo, FailedStatusInfo, SkippedStatusInfo, Warning, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, ActivationContinuedAfterSchedule, Automation, AutomationOriginInfoOneOf, ActionSettings, Enrichment, AuditInfo, AuditInfoIdOneOf, AutomationConfiguration, Filter, FutureDateActivationOffset, RateLimit, FilterValueSelection, ConditionExpressionGroup, CodeSnippet, Path, AppDefinedAction, ConditionAction, CodeConditionAction, DelayAction, RateLimitAction, SetVariablesAction, OutputAction, SplitAction, Trigger, Action, ActionInfoOneOf, FilterableAppDefinedActions, ApplicationOrigin, PreinstalledOrigin, AutomationSettings, DraftInfo, Enrichments, ExtendedFields, UouDeleteRequest, ClientEntityIdsByNamespace, GetActivationLogRequest, GetActivationLogResponse, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, CursorPaging, AutomationIdInfo, PreinstalledIdentifierInfo, ListActivationLogsResponse, CursorPagingMetadata, Cursors, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.FilterBy = exports.IdentifierType = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.Operator = exports.TimeUnit = exports.Domain = exports.WarningReason = exports.Status = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = exports.searchActivationLogsByPayloadPiiValue = exports.listActivationLogs = exports.getActivationLog = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.FilterBy = exports.IdentifierType = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.Language = exports.Operator = exports.TimeUnit = exports.Domain = exports.WarningReason = exports.Status = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = exports.searchActivationLogsByPayloadPiiValue = exports.listActivationLogs = exports.getActivationLog = void 0;
|
|
4
4
|
const automations_activation_logs_v1_activation_log_activation_log_public_js_1 = require("./automations-activation-logs-v1-activation-log-activation-log.public.js");
|
|
5
5
|
const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
|
|
6
6
|
exports.getActivationLog = (0, rest_modules_1.createRESTModule)(automations_activation_logs_v1_activation_log_activation_log_public_js_1.getActivationLog);
|
|
@@ -16,6 +16,7 @@ Object.defineProperty(exports, "WarningReason", { enumerable: true, get: functio
|
|
|
16
16
|
Object.defineProperty(exports, "Domain", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_1.Domain; } });
|
|
17
17
|
Object.defineProperty(exports, "TimeUnit", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_1.TimeUnit; } });
|
|
18
18
|
Object.defineProperty(exports, "Operator", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_1.Operator; } });
|
|
19
|
+
Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_1.Language; } });
|
|
19
20
|
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_1.Type; } });
|
|
20
21
|
Object.defineProperty(exports, "AutomationConfigurationStatus", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_1.AutomationConfigurationStatus; } });
|
|
21
22
|
Object.defineProperty(exports, "Origin", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_1.Origin; } });
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.context.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.context.ts"],"names":[],"mappings":";;;AAAA,qKAIkF;AAClF,gEAAiE;AAGpD,QAAA,gBAAgB,GAGX,IAAA,+BAAgB,EAAC,yFAAsB,CAAC,CAAC;AAC9C,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,2FAAwB,CAAC,CAAC;AAChD,QAAA,qCAAqC,GAGhC,IAAA,+BAAgB,EAAC,8GAA2C,CAAC,CAAC;AAEhF,
|
|
1
|
+
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.context.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.context.ts"],"names":[],"mappings":";;;AAAA,qKAIkF;AAClF,gEAAiE;AAGpD,QAAA,gBAAgB,GAGX,IAAA,+BAAgB,EAAC,yFAAsB,CAAC,CAAC;AAC9C,QAAA,kBAAkB,GAGb,IAAA,+BAAgB,EAAC,2FAAwB,CAAC,CAAC;AAChD,QAAA,qCAAqC,GAGhC,IAAA,+BAAgB,EAAC,8GAA2C,CAAC,CAAC;AAEhF,yKAiBqF;AAhBnF,mKAAA,MAAM,OAAA;AACN,+KAAA,kBAAkB,OAAA;AAClB,wKAAA,WAAW,OAAA;AACX,uKAAA,UAAU,OAAA;AACV,mKAAA,MAAM,OAAA;AACN,0KAAA,aAAa,OAAA;AACb,mKAAA,MAAM,OAAA;AACN,qKAAA,QAAQ,OAAA;AACR,qKAAA,QAAQ,OAAA;AACR,qKAAA,QAAQ,OAAA;AACR,iKAAA,IAAI,OAAA;AACJ,0LAAA,6BAA6B,OAAA;AAC7B,mKAAA,MAAM,OAAA;AACN,2KAAA,cAAc,OAAA;AACd,qKAAA,QAAQ,OAAA;AACR,gLAAA,mBAAmB,OAAA"}
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts
CHANGED
|
@@ -29,4 +29,4 @@ interface SearchActivationLogsByPayloadPiiValueSignature {
|
|
|
29
29
|
*/
|
|
30
30
|
(value: string, options?: SearchActivationLogsByPayloadPiiValueOptions | undefined): Promise<SearchActivationLogsByPayloadPiiValueResponse>;
|
|
31
31
|
}
|
|
32
|
-
export { Action, ActionEvent, ActionInfoOneOf, ActionSettings, ActivationContinuedAfterSchedule, ActivationLog, AppDefinedAction, ApplicationOrigin, AuditInfo, AuditInfoIdOneOf, Automation, AutomationConfiguration, AutomationConfigurationStatus, AutomationIdInfo, AutomationOriginInfoOneOf, AutomationSettings, CancellationReason, CancelledStatusInfo, ClientEntityIdsByNamespace, ConditionAction, ConditionExpressionGroup, CursorPaging, CursorPagingMetadata, Cursors, DelayAction, Domain, DomainEvent, DomainEventBodyOneOf, DraftInfo, Empty, EndedStatusInfo, Enrichment, Enrichments, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorReason, ExtendedFields, FailedStatusInfo, Filter, FilterBy, FilterValueSelection, FilterableAppDefinedActions, FutureDateActivationOffset, GetActivationLogRequest, GetActivationLogResponse, IdentificationData, IdentificationDataIdOneOf, IdentifierType, Identity, InitiatedStatusInfo, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, ListActivationLogsResponse, MessageEnvelope, Operator, Origin, OutputAction, Path, PreinstalledIdentifierInfo, PreinstalledOrigin, RateLimit, RateLimitAction, RestoreInfo, ScheduledStatusInfo, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, SetVariablesAction, SkipReason, SkippedStatusInfo, SplitAction, StartedStatusInfo, Status, Target, TimeUnit, Trigger, Type, UouDeleteRequest, Warning, WarningReason, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
32
|
+
export { Action, ActionEvent, ActionInfoOneOf, ActionSettings, ActivationContinuedAfterSchedule, ActivationLog, AppDefinedAction, ApplicationOrigin, AuditInfo, AuditInfoIdOneOf, Automation, AutomationConfiguration, AutomationConfigurationStatus, AutomationIdInfo, AutomationOriginInfoOneOf, AutomationSettings, CancellationReason, CancelledStatusInfo, ClientEntityIdsByNamespace, CodeConditionAction, CodeSnippet, ConditionAction, ConditionExpressionGroup, CursorPaging, CursorPagingMetadata, Cursors, DelayAction, Domain, DomainEvent, DomainEventBodyOneOf, DraftInfo, Empty, EndedStatusInfo, Enrichment, Enrichments, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorReason, ExtendedFields, FailedStatusInfo, Filter, FilterBy, FilterValueSelection, FilterableAppDefinedActions, FutureDateActivationOffset, GetActivationLogRequest, GetActivationLogResponse, IdentificationData, IdentificationDataIdOneOf, IdentifierType, Identity, InitiatedStatusInfo, Language, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, ListActivationLogsResponse, MessageEnvelope, Operator, Origin, OutputAction, Path, PreinstalledIdentifierInfo, PreinstalledOrigin, RateLimit, RateLimitAction, RestoreInfo, ScheduledStatusInfo, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, SetVariablesAction, SkipReason, SkippedStatusInfo, SplitAction, StartedStatusInfo, Status, Target, TimeUnit, Trigger, Type, UouDeleteRequest, Warning, WarningReason, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.WarningReason = exports.Type = exports.TimeUnit = exports.Target = exports.Status = exports.SkipReason = exports.Origin = exports.Operator = exports.IdentifierType = exports.FilterBy = exports.ErrorReason = exports.Domain = exports.CancellationReason = exports.AutomationConfigurationStatus = exports.searchActivationLogsByPayloadPiiValue = exports.listActivationLogs = exports.getActivationLog = exports.__metadata = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.WarningReason = exports.Type = exports.TimeUnit = exports.Target = exports.Status = exports.SkipReason = exports.Origin = exports.Operator = exports.Language = exports.IdentifierType = exports.FilterBy = exports.ErrorReason = exports.Domain = exports.CancellationReason = exports.AutomationConfigurationStatus = exports.searchActivationLogsByPayloadPiiValue = exports.listActivationLogs = exports.getActivationLog = exports.__metadata = void 0;
|
|
4
4
|
const automations_activation_logs_v1_activation_log_activation_log_universal_js_1 = require("./automations-activation-logs-v1-activation-log-activation-log.universal.js");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/automations' };
|
|
6
6
|
function getActivationLog(httpClient) {
|
|
@@ -28,6 +28,7 @@ Object.defineProperty(exports, "Domain", { enumerable: true, get: function () {
|
|
|
28
28
|
Object.defineProperty(exports, "ErrorReason", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_2.ErrorReason; } });
|
|
29
29
|
Object.defineProperty(exports, "FilterBy", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_2.FilterBy; } });
|
|
30
30
|
Object.defineProperty(exports, "IdentifierType", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_2.IdentifierType; } });
|
|
31
|
+
Object.defineProperty(exports, "Language", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_2.Language; } });
|
|
31
32
|
Object.defineProperty(exports, "Operator", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_2.Operator; } });
|
|
32
33
|
Object.defineProperty(exports, "Origin", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_2.Origin; } });
|
|
33
34
|
Object.defineProperty(exports, "SkipReason", { enumerable: true, get: function () { return automations_activation_logs_v1_activation_log_activation_log_universal_js_2.SkipReason; } });
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.public.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.public.ts"],"names":[],"mappings":";;;AACA,2KASqF;AAExE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAE/D,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,YAAoB,EAAE,EAAE,CAC9B,IAAA,4FAAyB,EACvB,YAAY;IACZ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,4CASC;AAWD,SAAgB,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,CACL,OAAuE,EACvE,EAAE,CACF,IAAA,8FAA2B,EACzB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAXD,gDAWC;AAWD,SAAgB,qCAAqC,CACnD,UAAsB;IAEtB,OAAO,CACL,KAAa,EACb,OAAsD,EACtD,EAAE,CACF,IAAA,iHAA8C,EAC5C,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,sFAaC;AAeD,
|
|
1
|
+
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.public.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.public.ts"],"names":[],"mappings":";;;AACA,2KASqF;AAExE,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAE/D,SAAgB,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,YAAoB,EAAE,EAAE,CAC9B,IAAA,4FAAyB,EACvB,YAAY;IACZ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AATD,4CASC;AAWD,SAAgB,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,CACL,OAAuE,EACvE,EAAE,CACF,IAAA,8FAA2B,EACzB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAXD,gDAWC;AAWD,SAAgB,qCAAqC,CACnD,UAAsB;IAEtB,OAAO,CACL,KAAa,EACb,OAAsD,EACtD,EAAE,CACF,IAAA,iHAA8C,EAC5C,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAbD,sFAaC;AAeD,yKA0FqF;AA7EnF,0LAAA,6BAA6B,OAAA;AAI7B,+KAAA,kBAAkB,OAAA;AAWlB,mKAAA,MAAM,OAAA;AAWN,wKAAA,WAAW,OAAA;AAIX,qKAAA,QAAQ,OAAA;AAQR,2KAAA,cAAc,OAAA;AAGd,qKAAA,QAAQ,OAAA;AAOR,qKAAA,QAAQ,OAAA;AACR,mKAAA,MAAM,OAAA;AAeN,uKAAA,UAAU,OAAA;AAIV,mKAAA,MAAM,OAAA;AACN,mKAAA,MAAM,OAAA;AACN,qKAAA,QAAQ,OAAA;AAER,iKAAA,IAAI,OAAA;AAGJ,0KAAA,aAAa,OAAA;AACb,gLAAA,mBAAmB,OAAA"}
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts
CHANGED
|
@@ -235,25 +235,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
235
235
|
updatedEvent?: EntityUpdatedEvent;
|
|
236
236
|
deletedEvent?: EntityDeletedEvent;
|
|
237
237
|
actionEvent?: ActionEvent;
|
|
238
|
-
/**
|
|
239
|
-
* Unique event ID.
|
|
240
|
-
* Allows clients to ignore duplicate webhooks.
|
|
241
|
-
*/
|
|
238
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
242
239
|
id?: string;
|
|
243
240
|
/**
|
|
244
|
-
*
|
|
245
|
-
*
|
|
241
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
242
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
246
243
|
*/
|
|
247
244
|
entityFqdn?: string;
|
|
248
245
|
/**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
246
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
247
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
252
248
|
*/
|
|
253
249
|
slug?: string;
|
|
254
250
|
/** ID of the entity associated with the event. */
|
|
255
251
|
entityId?: string;
|
|
256
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
252
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
257
253
|
eventTime?: Date | null;
|
|
258
254
|
/**
|
|
259
255
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -263,12 +259,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
263
259
|
/** If present, indicates the action that triggered the event. */
|
|
264
260
|
originatedFrom?: string | null;
|
|
265
261
|
/**
|
|
266
|
-
* A sequence number
|
|
267
|
-
*
|
|
268
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
269
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
270
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
271
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
262
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
263
|
+
* 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.
|
|
272
264
|
*/
|
|
273
265
|
entityEventSequence?: string | null;
|
|
274
266
|
}
|
|
@@ -296,7 +288,7 @@ export interface EntityUpdatedEvent {
|
|
|
296
288
|
currentEntityAsJson?: string;
|
|
297
289
|
}
|
|
298
290
|
export interface EntityDeletedEvent {
|
|
299
|
-
/** Entity that was deleted */
|
|
291
|
+
/** Entity that was deleted. */
|
|
300
292
|
deletedEntityAsJson?: string | null;
|
|
301
293
|
}
|
|
302
294
|
export interface ActionEvent {
|
|
@@ -574,6 +566,21 @@ export declare enum Operator {
|
|
|
574
566
|
/** `AND` operator. */
|
|
575
567
|
AND = "AND"
|
|
576
568
|
}
|
|
569
|
+
export interface CodeSnippet {
|
|
570
|
+
/** Logical operator used to evaluate the condition expressions. */
|
|
571
|
+
language?: Language;
|
|
572
|
+
/**
|
|
573
|
+
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
574
|
+
* @maxLength 1000
|
|
575
|
+
*/
|
|
576
|
+
code?: string;
|
|
577
|
+
}
|
|
578
|
+
export declare enum Language {
|
|
579
|
+
/** Unknown. */
|
|
580
|
+
UNKNOWN_LANGUAGE = "UNKNOWN_LANGUAGE",
|
|
581
|
+
/** `JAVASCRIPT` language. */
|
|
582
|
+
JAVASCRIPT = "JAVASCRIPT"
|
|
583
|
+
}
|
|
577
584
|
/** Path definition */
|
|
578
585
|
export interface Path {
|
|
579
586
|
/**
|
|
@@ -655,6 +662,22 @@ export interface ConditionAction {
|
|
|
655
662
|
*/
|
|
656
663
|
falsePostActionIds?: string[];
|
|
657
664
|
}
|
|
665
|
+
export interface CodeConditionAction {
|
|
666
|
+
/** condition code. This is a code that can be used to identify the condition in the automation. code should return a boolean value. otherwise the value will be tried to be casted to boolean. */
|
|
667
|
+
snippet?: CodeSnippet;
|
|
668
|
+
/**
|
|
669
|
+
* IDs of actions to run when the condition evaluates to `true`.
|
|
670
|
+
* @maxSize 20
|
|
671
|
+
* @format GUID
|
|
672
|
+
*/
|
|
673
|
+
truePostActionIds?: string[];
|
|
674
|
+
/**
|
|
675
|
+
* IDs of actions to run when the condition evaluates to `false`.
|
|
676
|
+
* @maxSize 20
|
|
677
|
+
* @format GUID
|
|
678
|
+
*/
|
|
679
|
+
falsePostActionIds?: string[];
|
|
680
|
+
}
|
|
658
681
|
export interface DelayAction {
|
|
659
682
|
/**
|
|
660
683
|
* Time to wait before running the action. The wait time starts from when the current action completes.
|
|
@@ -780,6 +803,8 @@ export interface Action extends ActionInfoOneOf {
|
|
|
780
803
|
appDefinedInfo?: AppDefinedAction;
|
|
781
804
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
782
805
|
conditionInfo?: ConditionAction;
|
|
806
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
807
|
+
codeConditionInfo?: CodeConditionAction;
|
|
783
808
|
/** Details of the action when its `type` is `DELAY`. */
|
|
784
809
|
delayInfo?: DelayAction;
|
|
785
810
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|
|
@@ -808,6 +833,8 @@ export interface ActionInfoOneOf {
|
|
|
808
833
|
appDefinedInfo?: AppDefinedAction;
|
|
809
834
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
810
835
|
conditionInfo?: ConditionAction;
|
|
836
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
837
|
+
codeConditionInfo?: CodeConditionAction;
|
|
811
838
|
/** Details of the action when its `type` is `DELAY`. */
|
|
812
839
|
delayInfo?: DelayAction;
|
|
813
840
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WebhookIdentityType = exports.FilterBy = exports.IdentifierType = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.Operator = exports.TimeUnit = exports.Domain = exports.WarningReason = exports.Status = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = void 0;
|
|
3
|
+
exports.WebhookIdentityType = exports.FilterBy = exports.IdentifierType = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.Language = exports.Operator = exports.TimeUnit = exports.Domain = exports.WarningReason = exports.Status = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = void 0;
|
|
4
4
|
var Target;
|
|
5
5
|
(function (Target) {
|
|
6
6
|
Target["UNKNOWN_TARGET"] = "UNKNOWN_TARGET";
|
|
@@ -108,6 +108,13 @@ var Operator;
|
|
|
108
108
|
/** `AND` operator. */
|
|
109
109
|
Operator["AND"] = "AND";
|
|
110
110
|
})(Operator || (exports.Operator = Operator = {}));
|
|
111
|
+
var Language;
|
|
112
|
+
(function (Language) {
|
|
113
|
+
/** Unknown. */
|
|
114
|
+
Language["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
115
|
+
/** `JAVASCRIPT` language. */
|
|
116
|
+
Language["JAVASCRIPT"] = "JAVASCRIPT";
|
|
117
|
+
})(Language || (exports.Language = Language = {}));
|
|
111
118
|
var Type;
|
|
112
119
|
(function (Type) {
|
|
113
120
|
/** Based on the trigger. */
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.types.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.types.ts"],"names":[],"mappings":";;;AAsCA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;AACzB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAED,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,iFAA2D,CAAA;IAC3D,4DAA4D;IAC5D,yDAAmC,CAAA;IACnC,yFAAyF;IACzF,uEAAiD,CAAA;IACjD,qFAAqF;IACrF,+DAAyC,CAAA;IACzC,iGAAiG;IACjG,mFAA6D,CAAA;IAC7D,qGAAqG;IACrG,6EAAuD,CAAA;AACzD,CAAC,EAZW,kBAAkB,kCAAlB,kBAAkB,QAY7B;AAeD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,8BAA8B;IAC9B,kEAAmD,CAAA;IACnD,sDAAsD;IACtD,kFAAmE,CAAA;AACrE,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,UAUX;AAVD,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,8GAA8G;IAC9G,6DAA+C,CAAA;IAC/C,8GAA8G;IAC9G,uEAAyD,CAAA;IACzD,oIAAoI;IACpI,yDAA2C,CAAA;IAC3C,mGAAmG;IACnG,iEAAmD,CAAA;AACrD,CAAC,EAVW,UAAU,0BAAV,UAAU,QAUrB;AAED,IAAY,MAsBX;AAtBD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2EAA2E;IAC3E,iCAAuB,CAAA;IACvB,2JAA2J;IAC3J,iCAAuB,CAAA;IACvB,qFAAqF;IACrF,6BAAmB,CAAA;IACnB,yGAAyG;IACzG,yBAAe,CAAA;IACf,kDAAkD;IAClD,iCAAuB,CAAA;IACvB;;;OAGG;IACH,2BAAiB,CAAA;IACjB;;;OAGG;IACH,6BAAmB,CAAA;AACrB,CAAC,EAtBW,MAAM,sBAAN,MAAM,QAsBjB;AA4HD,IAAY,aAUX;AAVD,WAAY,aAAa;IACvB,kEAAiD,CAAA;IACjD,2DAA2D;IAC3D,gFAA+D,CAAA;IAC/D,qCAAqC;IACrC,kEAAiD,CAAA;IACjD,6CAA6C;IAC7C,gFAA+D,CAAA;IAC/D,4CAA4C;IAC5C,8EAA6D,CAAA;AAC/D,CAAC,EAVW,aAAa,6BAAb,aAAa,QAUxB;
|
|
1
|
+
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.types.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.types.ts"],"names":[],"mappings":";;;AAsCA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;AACzB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAED,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,iFAA2D,CAAA;IAC3D,4DAA4D;IAC5D,yDAAmC,CAAA;IACnC,yFAAyF;IACzF,uEAAiD,CAAA;IACjD,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AAA;IACb,+HAA+H;IAC/H,qCAA2B,CAAA;IAC3B,2LAA2L;IAC3L,uCAA6B,CAAA;AAC/B,CAAC,EATW,MAAM,sBAAN,MAAM,QASjB;AA0KD,yDAAyD;AACzD,IAAY,cAEX;AAFD,WAAY,cAAc;IACxB,+CAA6B,CAAA;AAC/B,CAAC,EAFW,cAAc,8BAAd,cAAc,QAEzB;AAoFD,eAAe;AACf,IAAY,QAEX;AAFD,WAAY,QAAQ;IAClB,yCAA6B,CAAA;AAC/B,CAAC,EAFW,QAAQ,wBAAR,QAAQ,QAEnB;AA2ED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts
CHANGED
|
@@ -236,25 +236,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
236
236
|
updatedEvent?: EntityUpdatedEvent;
|
|
237
237
|
deletedEvent?: EntityDeletedEvent;
|
|
238
238
|
actionEvent?: ActionEvent;
|
|
239
|
-
/**
|
|
240
|
-
* Unique event ID.
|
|
241
|
-
* Allows clients to ignore duplicate webhooks.
|
|
242
|
-
*/
|
|
239
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
243
240
|
_id?: string;
|
|
244
241
|
/**
|
|
245
|
-
*
|
|
246
|
-
*
|
|
242
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
243
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
247
244
|
*/
|
|
248
245
|
entityFqdn?: string;
|
|
249
246
|
/**
|
|
250
|
-
*
|
|
251
|
-
*
|
|
252
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
247
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
248
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
253
249
|
*/
|
|
254
250
|
slug?: string;
|
|
255
251
|
/** ID of the entity associated with the event. */
|
|
256
252
|
entityId?: string;
|
|
257
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
253
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
258
254
|
eventTime?: Date | null;
|
|
259
255
|
/**
|
|
260
256
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -264,12 +260,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
264
260
|
/** If present, indicates the action that triggered the event. */
|
|
265
261
|
originatedFrom?: string | null;
|
|
266
262
|
/**
|
|
267
|
-
* A sequence number
|
|
268
|
-
*
|
|
269
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
270
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
271
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
272
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
263
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
264
|
+
* 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.
|
|
273
265
|
*/
|
|
274
266
|
entityEventSequence?: string | null;
|
|
275
267
|
}
|
|
@@ -295,7 +287,7 @@ export interface EntityUpdatedEvent {
|
|
|
295
287
|
currentEntity?: string;
|
|
296
288
|
}
|
|
297
289
|
export interface EntityDeletedEvent {
|
|
298
|
-
/** Entity that was deleted */
|
|
290
|
+
/** Entity that was deleted. */
|
|
299
291
|
deletedEntity?: string | null;
|
|
300
292
|
}
|
|
301
293
|
export interface ActionEvent {
|
|
@@ -573,6 +565,21 @@ export declare enum Operator {
|
|
|
573
565
|
/** `AND` operator. */
|
|
574
566
|
AND = "AND"
|
|
575
567
|
}
|
|
568
|
+
export interface CodeSnippet {
|
|
569
|
+
/** Logical operator used to evaluate the condition expressions. */
|
|
570
|
+
language?: Language;
|
|
571
|
+
/**
|
|
572
|
+
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
573
|
+
* @maxLength 1000
|
|
574
|
+
*/
|
|
575
|
+
code?: string;
|
|
576
|
+
}
|
|
577
|
+
export declare enum Language {
|
|
578
|
+
/** Unknown. */
|
|
579
|
+
UNKNOWN_LANGUAGE = "UNKNOWN_LANGUAGE",
|
|
580
|
+
/** `JAVASCRIPT` language. */
|
|
581
|
+
JAVASCRIPT = "JAVASCRIPT"
|
|
582
|
+
}
|
|
576
583
|
/** Path definition */
|
|
577
584
|
export interface Path {
|
|
578
585
|
/**
|
|
@@ -654,6 +661,22 @@ export interface ConditionAction {
|
|
|
654
661
|
*/
|
|
655
662
|
falsePostActionIds?: string[];
|
|
656
663
|
}
|
|
664
|
+
export interface CodeConditionAction {
|
|
665
|
+
/** condition code. This is a code that can be used to identify the condition in the automation. code should return a boolean value. otherwise the value will be tried to be casted to boolean. */
|
|
666
|
+
snippet?: CodeSnippet;
|
|
667
|
+
/**
|
|
668
|
+
* IDs of actions to run when the condition evaluates to `true`.
|
|
669
|
+
* @maxSize 20
|
|
670
|
+
* @format GUID
|
|
671
|
+
*/
|
|
672
|
+
truePostActionIds?: string[];
|
|
673
|
+
/**
|
|
674
|
+
* IDs of actions to run when the condition evaluates to `false`.
|
|
675
|
+
* @maxSize 20
|
|
676
|
+
* @format GUID
|
|
677
|
+
*/
|
|
678
|
+
falsePostActionIds?: string[];
|
|
679
|
+
}
|
|
657
680
|
export interface DelayAction {
|
|
658
681
|
/**
|
|
659
682
|
* Time to wait before running the action. The wait time starts from when the current action completes.
|
|
@@ -779,6 +802,8 @@ export interface Action extends ActionInfoOneOf {
|
|
|
779
802
|
appDefinedInfo?: AppDefinedAction;
|
|
780
803
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
781
804
|
conditionInfo?: ConditionAction;
|
|
805
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
806
|
+
codeConditionInfo?: CodeConditionAction;
|
|
782
807
|
/** Details of the action when its `type` is `DELAY`. */
|
|
783
808
|
delayInfo?: DelayAction;
|
|
784
809
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|
|
@@ -807,6 +832,8 @@ export interface ActionInfoOneOf {
|
|
|
807
832
|
appDefinedInfo?: AppDefinedAction;
|
|
808
833
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
809
834
|
conditionInfo?: ConditionAction;
|
|
835
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
836
|
+
codeConditionInfo?: CodeConditionAction;
|
|
810
837
|
/** Details of the action when its `type` is `DELAY`. */
|
|
811
838
|
delayInfo?: DelayAction;
|
|
812
839
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js
CHANGED
|
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.searchActivationLogsByPayloadPiiValue = exports.listActivationLogs = exports.getActivationLog = exports.WebhookIdentityType = exports.FilterBy = exports.IdentifierType = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.Operator = exports.TimeUnit = exports.Domain = exports.WarningReason = exports.Status = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = void 0;
|
|
26
|
+
exports.searchActivationLogsByPayloadPiiValue = exports.listActivationLogs = exports.getActivationLog = exports.WebhookIdentityType = exports.FilterBy = exports.IdentifierType = exports.Origin = exports.AutomationConfigurationStatus = exports.Type = exports.Language = exports.Operator = exports.TimeUnit = exports.Domain = exports.WarningReason = exports.Status = exports.SkipReason = exports.ErrorReason = exports.CancellationReason = exports.Target = void 0;
|
|
27
27
|
const transform_error_1 = require("@wix/sdk-runtime/transform-error");
|
|
28
28
|
const rename_all_nested_keys_1 = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
29
29
|
const ambassadorWixAutomationsActivationLogsV1ActivationLog = __importStar(require("./automations-activation-logs-v1-activation-log-activation-log.http.js"));
|
|
@@ -134,6 +134,13 @@ var Operator;
|
|
|
134
134
|
/** `AND` operator. */
|
|
135
135
|
Operator["AND"] = "AND";
|
|
136
136
|
})(Operator || (exports.Operator = Operator = {}));
|
|
137
|
+
var Language;
|
|
138
|
+
(function (Language) {
|
|
139
|
+
/** Unknown. */
|
|
140
|
+
Language["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
141
|
+
/** `JAVASCRIPT` language. */
|
|
142
|
+
Language["JAVASCRIPT"] = "JAVASCRIPT";
|
|
143
|
+
})(Language || (exports.Language = Language = {}));
|
|
137
144
|
var Type;
|
|
138
145
|
(function (Type) {
|
|
139
146
|
/** Based on the trigger. */
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.universal.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,8JAAgJ;AAwChJ,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;AACzB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAED,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,iFAA2D,CAAA;IAC3D,4DAA4D;IAC5D,yDAAmC,CAAA;IACnC,y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sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,8JAAgJ;AAwChJ,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;AACzB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AAED,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,iFAA2D,CAAA;IAC3D,4DAA4D;IAC5D,yDAAmC,CAAA;IACnC,yFAAyF;IACzF,uEAAiD,CAAA;IACjD,qFAAqF;IACrF,+DAAyC,CAAA;IACzC,iGAAiG;IACjG,mFAA6D,CAAA;IAC7D,qGAAqG;IACrG,6EAAuD,CAAA;AACzD,CAAC,EAZW,kBAAkB,kCAAlB,kBAAkB,QAY7B;AAeD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,8BAA8B;IAC9B,kEAAmD,CAAA;IACnD,sDAAsD;IACtD,kFAAmE,CAAA;AACrE,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAED,IAAY,UAUX;AAVD,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,8GAA8G;IAC9G,6DAA+C,CAAA;IAC/C,8GAA8G;IAC9G,uEAAyD,CAAA;IACzD,oIAAoI;IACpI,yDAA2C,CAAA;IAC3C,mGAAmG;IACnG,iEAAmD,CAAA;AACrD,CAAC,EAVW,UAAU,0BAAV,UAAU,QAUrB;AAED,IAAY,MAsBX;AAtBD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,2EAA2E;IAC3E,iCAAuB,CAAA;IACvB,2JAA2J;IAC3J,iCAAuB,CAAA;IACvB,qFAAqF;IACrF,6BAAmB,CAAA;IACnB,yGAAyG;IACzG,yBAAe,CAAA;IACf,kDAAkD;IAClD,iCAAuB,CAAA;IACvB;;;OAGG;IACH,2BAAiB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C/D,eAAe,EAAE,OAAO,EAAE,eAAe;QACzC,aAAa,EAAE,OAAO,EAAE,aAAa;KACtC,CAAC,CAAC;IAEH,MAAM,OAAO,GACX,qDAAqD,CAAC,qCAAqC,CACzF,OAAO,CACR,CAAC;IAEJ,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;QAEjC,OAAO,IAAA,gEAAuC,EAAC,MAAM,CAAC,IAAI,CAAE,CAAC;IAC/D,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE;gBACxB,KAAK,EAAE,MAAM;gBACb,YAAY,EAAE,mBAAmB;gBACjC,cAAc,EAAE,qBAAqB;gBACrC,QAAQ,EAAE,eAAe;gBACzB,gBAAgB,EAAE,uBAAuB;gBACzC,0BAA0B,EAAE,iCAAiC;gBAC7D,eAAe,EAAE,sBAAsB;gBACvC,aAAa,EAAE,oBAAoB;aACpC;YACD,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,EAAE,SAAS,CAAC,CACrB,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA9DD,sFA8DC"}
|
package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts
CHANGED
|
@@ -3,5 +3,5 @@ import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
|
|
|
3
3
|
export declare const getActivationLog: MaybeContext<BuildRESTFunction<typeof publicGetActivationLog> & typeof publicGetActivationLog>;
|
|
4
4
|
export declare const listActivationLogs: MaybeContext<BuildRESTFunction<typeof publicListActivationLogs> & typeof publicListActivationLogs>;
|
|
5
5
|
export declare const searchActivationLogsByPayloadPiiValue: MaybeContext<BuildRESTFunction<typeof publicSearchActivationLogsByPayloadPiiValue> & typeof publicSearchActivationLogsByPayloadPiiValue>;
|
|
6
|
-
export { Target, CancellationReason, ErrorReason, SkipReason, Status, WarningReason, Domain, TimeUnit, Operator, Type, AutomationConfigurationStatus, Origin, IdentifierType, FilterBy, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
7
|
-
export { ActivationLog, Identity, InitiatedStatusInfo, ScheduledStatusInfo, StartedStatusInfo, EndedStatusInfo, CancelledStatusInfo, FailedStatusInfo, SkippedStatusInfo, Warning, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, ActivationContinuedAfterSchedule, Automation, AutomationOriginInfoOneOf, ActionSettings, Enrichment, AuditInfo, AuditInfoIdOneOf, AutomationConfiguration, Filter, FutureDateActivationOffset, RateLimit, FilterValueSelection, ConditionExpressionGroup, Path, AppDefinedAction, ConditionAction, DelayAction, RateLimitAction, SetVariablesAction, OutputAction, SplitAction, Trigger, Action, ActionInfoOneOf, FilterableAppDefinedActions, ApplicationOrigin, PreinstalledOrigin, AutomationSettings, DraftInfo, Enrichments, ExtendedFields, UouDeleteRequest, ClientEntityIdsByNamespace, GetActivationLogRequest, GetActivationLogResponse, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, CursorPaging, AutomationIdInfo, PreinstalledIdentifierInfo, ListActivationLogsResponse, CursorPagingMetadata, Cursors, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
6
|
+
export { Target, CancellationReason, ErrorReason, SkipReason, Status, WarningReason, Domain, TimeUnit, Operator, Language, Type, AutomationConfigurationStatus, Origin, IdentifierType, FilterBy, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
7
|
+
export { ActivationLog, Identity, InitiatedStatusInfo, ScheduledStatusInfo, StartedStatusInfo, EndedStatusInfo, CancelledStatusInfo, FailedStatusInfo, SkippedStatusInfo, Warning, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, ActivationContinuedAfterSchedule, Automation, AutomationOriginInfoOneOf, ActionSettings, Enrichment, AuditInfo, AuditInfoIdOneOf, AutomationConfiguration, Filter, FutureDateActivationOffset, RateLimit, FilterValueSelection, ConditionExpressionGroup, CodeSnippet, Path, AppDefinedAction, ConditionAction, CodeConditionAction, DelayAction, RateLimitAction, SetVariablesAction, OutputAction, SplitAction, Trigger, Action, ActionInfoOneOf, FilterableAppDefinedActions, ApplicationOrigin, PreinstalledOrigin, AutomationSettings, DraftInfo, Enrichments, ExtendedFields, UouDeleteRequest, ClientEntityIdsByNamespace, GetActivationLogRequest, GetActivationLogResponse, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, CursorPaging, AutomationIdInfo, PreinstalledIdentifierInfo, ListActivationLogsResponse, CursorPagingMetadata, Cursors, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js
CHANGED
|
@@ -3,5 +3,5 @@ import { createRESTModule } from '@wix/sdk-runtime/rest-modules';
|
|
|
3
3
|
export const getActivationLog = /*#__PURE__*/ createRESTModule(publicGetActivationLog);
|
|
4
4
|
export const listActivationLogs = /*#__PURE__*/ createRESTModule(publicListActivationLogs);
|
|
5
5
|
export const searchActivationLogsByPayloadPiiValue = /*#__PURE__*/ createRESTModule(publicSearchActivationLogsByPayloadPiiValue);
|
|
6
|
-
export { Target, CancellationReason, ErrorReason, SkipReason, Status, WarningReason, Domain, TimeUnit, Operator, Type, AutomationConfigurationStatus, Origin, IdentifierType, FilterBy, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
6
|
+
export { Target, CancellationReason, ErrorReason, SkipReason, Status, WarningReason, Domain, TimeUnit, Operator, Language, Type, AutomationConfigurationStatus, Origin, IdentifierType, FilterBy, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
7
7
|
//# sourceMappingURL=automations-activation-logs-v1-activation-log-activation-log.context.js.map
|
package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.context.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,sBAAsB,EAC1C,kBAAkB,IAAI,wBAAwB,EAC9C,qCAAqC,IAAI,2CAA2C,GACrF,MAAM,0EAA0E,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,gBAAgB,GAGzB,aAAa,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAAC;AAC3D,MAAM,CAAC,MAAM,kBAAkB,GAG3B,aAAa,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,qCAAqC,GAG9C,aAAa,CAAC,gBAAgB,CAAC,2CAA2C,CAAC,CAAC;AAEhF,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,MAAM,EACN,aAAa,EACb,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,6BAA6B,EAC7B,MAAM,EACN,cAAc,EACd,QAAQ,EACR,mBAAmB,GACpB,MAAM,6EAA6E,CAAC"}
|
|
1
|
+
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.context.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.context.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,sBAAsB,EAC1C,kBAAkB,IAAI,wBAAwB,EAC9C,qCAAqC,IAAI,2CAA2C,GACrF,MAAM,0EAA0E,CAAC;AAClF,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AAGjE,MAAM,CAAC,MAAM,gBAAgB,GAGzB,aAAa,CAAC,gBAAgB,CAAC,sBAAsB,CAAC,CAAC;AAC3D,MAAM,CAAC,MAAM,kBAAkB,GAG3B,aAAa,CAAC,gBAAgB,CAAC,wBAAwB,CAAC,CAAC;AAC7D,MAAM,CAAC,MAAM,qCAAqC,GAG9C,aAAa,CAAC,gBAAgB,CAAC,2CAA2C,CAAC,CAAC;AAEhF,OAAO,EACL,MAAM,EACN,kBAAkB,EAClB,WAAW,EACX,UAAU,EACV,MAAM,EACN,aAAa,EACb,MAAM,EACN,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,6BAA6B,EAC7B,MAAM,EACN,cAAc,EACd,QAAQ,EACR,mBAAmB,GACpB,MAAM,6EAA6E,CAAC"}
|
package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts
CHANGED
|
@@ -29,4 +29,4 @@ interface SearchActivationLogsByPayloadPiiValueSignature {
|
|
|
29
29
|
*/
|
|
30
30
|
(value: string, options?: SearchActivationLogsByPayloadPiiValueOptions | undefined): Promise<SearchActivationLogsByPayloadPiiValueResponse>;
|
|
31
31
|
}
|
|
32
|
-
export { Action, ActionEvent, ActionInfoOneOf, ActionSettings, ActivationContinuedAfterSchedule, ActivationLog, AppDefinedAction, ApplicationOrigin, AuditInfo, AuditInfoIdOneOf, Automation, AutomationConfiguration, AutomationConfigurationStatus, AutomationIdInfo, AutomationOriginInfoOneOf, AutomationSettings, CancellationReason, CancelledStatusInfo, ClientEntityIdsByNamespace, ConditionAction, ConditionExpressionGroup, CursorPaging, CursorPagingMetadata, Cursors, DelayAction, Domain, DomainEvent, DomainEventBodyOneOf, DraftInfo, Empty, EndedStatusInfo, Enrichment, Enrichments, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorReason, ExtendedFields, FailedStatusInfo, Filter, FilterBy, FilterValueSelection, FilterableAppDefinedActions, FutureDateActivationOffset, GetActivationLogRequest, GetActivationLogResponse, IdentificationData, IdentificationDataIdOneOf, IdentifierType, Identity, InitiatedStatusInfo, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, ListActivationLogsResponse, MessageEnvelope, Operator, Origin, OutputAction, Path, PreinstalledIdentifierInfo, PreinstalledOrigin, RateLimit, RateLimitAction, RestoreInfo, ScheduledStatusInfo, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, SetVariablesAction, SkipReason, SkippedStatusInfo, SplitAction, StartedStatusInfo, Status, Target, TimeUnit, Trigger, Type, UouDeleteRequest, Warning, WarningReason, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
32
|
+
export { Action, ActionEvent, ActionInfoOneOf, ActionSettings, ActivationContinuedAfterSchedule, ActivationLog, AppDefinedAction, ApplicationOrigin, AuditInfo, AuditInfoIdOneOf, Automation, AutomationConfiguration, AutomationConfigurationStatus, AutomationIdInfo, AutomationOriginInfoOneOf, AutomationSettings, CancellationReason, CancelledStatusInfo, ClientEntityIdsByNamespace, CodeConditionAction, CodeSnippet, ConditionAction, ConditionExpressionGroup, CursorPaging, CursorPagingMetadata, Cursors, DelayAction, Domain, DomainEvent, DomainEventBodyOneOf, DraftInfo, Empty, EndedStatusInfo, Enrichment, Enrichments, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, ErrorReason, ExtendedFields, FailedStatusInfo, Filter, FilterBy, FilterValueSelection, FilterableAppDefinedActions, FutureDateActivationOffset, GetActivationLogRequest, GetActivationLogResponse, IdentificationData, IdentificationDataIdOneOf, IdentifierType, Identity, InitiatedStatusInfo, Language, ListActivationLogsOptions, ListActivationLogsOptionsIdentifierOneOf, ListActivationLogsRequest, ListActivationLogsRequestIdentifierOneOf, ListActivationLogsResponse, MessageEnvelope, Operator, Origin, OutputAction, Path, PreinstalledIdentifierInfo, PreinstalledOrigin, RateLimit, RateLimitAction, RestoreInfo, ScheduledStatusInfo, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, SearchActivationLogsByPayloadPiiValueResponse, SetVariablesAction, SkipReason, SkippedStatusInfo, SplitAction, StartedStatusInfo, Status, Target, TimeUnit, Trigger, Type, UouDeleteRequest, Warning, WarningReason, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
@@ -15,5 +15,5 @@ export function searchActivationLogsByPayloadPiiValue(httpClient) {
|
|
|
15
15
|
// @ts-ignore
|
|
16
16
|
{ httpClient });
|
|
17
17
|
}
|
|
18
|
-
export { AutomationConfigurationStatus, CancellationReason, Domain, ErrorReason, FilterBy, IdentifierType, Operator, Origin, SkipReason, Status, Target, TimeUnit, Type, WarningReason, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
18
|
+
export { AutomationConfigurationStatus, CancellationReason, Domain, ErrorReason, FilterBy, IdentifierType, Language, Operator, Origin, SkipReason, Status, Target, TimeUnit, Type, WarningReason, WebhookIdentityType, } from './automations-activation-logs-v1-activation-log-activation-log.universal.js';
|
|
19
19
|
//# sourceMappingURL=automations-activation-logs-v1-activation-log-activation-log.public.js.map
|
package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.public.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.public.ts"],"names":[],"mappings":"AACA,OAAO,EAML,gBAAgB,IAAI,yBAAyB,EAC7C,kBAAkB,IAAI,2BAA2B,EACjD,qCAAqC,IAAI,8CAA8C,GACxF,MAAM,6EAA6E,CAAC;AAErF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAE/D,MAAM,UAAU,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,YAAoB,EAAE,EAAE,CAC9B,yBAAyB,CACvB,YAAY;IACZ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,CACL,OAAuE,EACvE,EAAE,CACF,2BAA2B,CACzB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,qCAAqC,CACnD,UAAsB;IAEtB,OAAO,CACL,KAAa,EACb,OAAsD,EACtD,EAAE,CACF,8CAA8C,CAC5C,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAeD,OAAO,EAaL,6BAA6B,EAI7B,kBAAkB,
|
|
1
|
+
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.public.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.public.ts"],"names":[],"mappings":"AACA,OAAO,EAML,gBAAgB,IAAI,yBAAyB,EAC7C,kBAAkB,IAAI,2BAA2B,EACjD,qCAAqC,IAAI,8CAA8C,GACxF,MAAM,6EAA6E,CAAC;AAErF,MAAM,CAAC,MAAM,UAAU,GAAG,EAAE,YAAY,EAAE,kBAAkB,EAAE,CAAC;AAE/D,MAAM,UAAU,gBAAgB,CAC9B,UAAsB;IAEtB,OAAO,CAAC,YAAoB,EAAE,EAAE,CAC9B,yBAAyB,CACvB,YAAY;IACZ,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,kBAAkB,CAChC,UAAsB;IAEtB,OAAO,CACL,OAAuE,EACvE,EAAE,CACF,2BAA2B,CACzB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAWD,MAAM,UAAU,qCAAqC,CACnD,UAAsB;IAEtB,OAAO,CACL,KAAa,EACb,OAAsD,EACtD,EAAE,CACF,8CAA8C,CAC5C,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAeD,OAAO,EAaL,6BAA6B,EAI7B,kBAAkB,EAWlB,MAAM,EAWN,WAAW,EAIX,QAAQ,EAQR,cAAc,EAGd,QAAQ,EAOR,QAAQ,EACR,MAAM,EAeN,UAAU,EAIV,MAAM,EACN,MAAM,EACN,QAAQ,EAER,IAAI,EAGJ,aAAa,EACb,mBAAmB,GACpB,MAAM,6EAA6E,CAAC"}
|
package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts
CHANGED
|
@@ -235,25 +235,21 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
235
235
|
updatedEvent?: EntityUpdatedEvent;
|
|
236
236
|
deletedEvent?: EntityDeletedEvent;
|
|
237
237
|
actionEvent?: ActionEvent;
|
|
238
|
-
/**
|
|
239
|
-
* Unique event ID.
|
|
240
|
-
* Allows clients to ignore duplicate webhooks.
|
|
241
|
-
*/
|
|
238
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
242
239
|
id?: string;
|
|
243
240
|
/**
|
|
244
|
-
*
|
|
245
|
-
*
|
|
241
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
242
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
246
243
|
*/
|
|
247
244
|
entityFqdn?: string;
|
|
248
245
|
/**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
246
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
247
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
252
248
|
*/
|
|
253
249
|
slug?: string;
|
|
254
250
|
/** ID of the entity associated with the event. */
|
|
255
251
|
entityId?: string;
|
|
256
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
252
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
257
253
|
eventTime?: Date | null;
|
|
258
254
|
/**
|
|
259
255
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -263,12 +259,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
263
259
|
/** If present, indicates the action that triggered the event. */
|
|
264
260
|
originatedFrom?: string | null;
|
|
265
261
|
/**
|
|
266
|
-
* A sequence number
|
|
267
|
-
*
|
|
268
|
-
* it is guaranteed that the sequence number of the second update is strictly higher than the first.
|
|
269
|
-
* As the consumer, you can use this value to ensure that you handle messages in the correct order.
|
|
270
|
-
* To do so, you will need to persist this number on your end, and compare the sequence number from the
|
|
271
|
-
* message against the one you have stored. Given that the stored number is higher, you should ignore the message.
|
|
262
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
263
|
+
* 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.
|
|
272
264
|
*/
|
|
273
265
|
entityEventSequence?: string | null;
|
|
274
266
|
}
|
|
@@ -296,7 +288,7 @@ export interface EntityUpdatedEvent {
|
|
|
296
288
|
currentEntityAsJson?: string;
|
|
297
289
|
}
|
|
298
290
|
export interface EntityDeletedEvent {
|
|
299
|
-
/** Entity that was deleted */
|
|
291
|
+
/** Entity that was deleted. */
|
|
300
292
|
deletedEntityAsJson?: string | null;
|
|
301
293
|
}
|
|
302
294
|
export interface ActionEvent {
|
|
@@ -574,6 +566,21 @@ export declare enum Operator {
|
|
|
574
566
|
/** `AND` operator. */
|
|
575
567
|
AND = "AND"
|
|
576
568
|
}
|
|
569
|
+
export interface CodeSnippet {
|
|
570
|
+
/** Logical operator used to evaluate the condition expressions. */
|
|
571
|
+
language?: Language;
|
|
572
|
+
/**
|
|
573
|
+
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
574
|
+
* @maxLength 1000
|
|
575
|
+
*/
|
|
576
|
+
code?: string;
|
|
577
|
+
}
|
|
578
|
+
export declare enum Language {
|
|
579
|
+
/** Unknown. */
|
|
580
|
+
UNKNOWN_LANGUAGE = "UNKNOWN_LANGUAGE",
|
|
581
|
+
/** `JAVASCRIPT` language. */
|
|
582
|
+
JAVASCRIPT = "JAVASCRIPT"
|
|
583
|
+
}
|
|
577
584
|
/** Path definition */
|
|
578
585
|
export interface Path {
|
|
579
586
|
/**
|
|
@@ -655,6 +662,22 @@ export interface ConditionAction {
|
|
|
655
662
|
*/
|
|
656
663
|
falsePostActionIds?: string[];
|
|
657
664
|
}
|
|
665
|
+
export interface CodeConditionAction {
|
|
666
|
+
/** condition code. This is a code that can be used to identify the condition in the automation. code should return a boolean value. otherwise the value will be tried to be casted to boolean. */
|
|
667
|
+
snippet?: CodeSnippet;
|
|
668
|
+
/**
|
|
669
|
+
* IDs of actions to run when the condition evaluates to `true`.
|
|
670
|
+
* @maxSize 20
|
|
671
|
+
* @format GUID
|
|
672
|
+
*/
|
|
673
|
+
truePostActionIds?: string[];
|
|
674
|
+
/**
|
|
675
|
+
* IDs of actions to run when the condition evaluates to `false`.
|
|
676
|
+
* @maxSize 20
|
|
677
|
+
* @format GUID
|
|
678
|
+
*/
|
|
679
|
+
falsePostActionIds?: string[];
|
|
680
|
+
}
|
|
658
681
|
export interface DelayAction {
|
|
659
682
|
/**
|
|
660
683
|
* Time to wait before running the action. The wait time starts from when the current action completes.
|
|
@@ -780,6 +803,8 @@ export interface Action extends ActionInfoOneOf {
|
|
|
780
803
|
appDefinedInfo?: AppDefinedAction;
|
|
781
804
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
782
805
|
conditionInfo?: ConditionAction;
|
|
806
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
807
|
+
codeConditionInfo?: CodeConditionAction;
|
|
783
808
|
/** Details of the action when its `type` is `DELAY`. */
|
|
784
809
|
delayInfo?: DelayAction;
|
|
785
810
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|
|
@@ -808,6 +833,8 @@ export interface ActionInfoOneOf {
|
|
|
808
833
|
appDefinedInfo?: AppDefinedAction;
|
|
809
834
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
810
835
|
conditionInfo?: ConditionAction;
|
|
836
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
837
|
+
codeConditionInfo?: CodeConditionAction;
|
|
811
838
|
/** Details of the action when its `type` is `DELAY`. */
|
|
812
839
|
delayInfo?: DelayAction;
|
|
813
840
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|