@wix/auto_sdk_automations_activation-log 1.0.2 → 1.0.4
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 +93 -34
- 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 +95 -36
- 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 +93 -34
- 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 +95 -36
- 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 +93 -34
- 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 +95 -36
- 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 +93 -34
- 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 +95 -36
- 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
|
@@ -12,7 +12,7 @@ export interface ActivationLog {
|
|
|
12
12
|
/** The activated automation revision */
|
|
13
13
|
automationRevision?: string;
|
|
14
14
|
/** Automation activation status */
|
|
15
|
-
status?:
|
|
15
|
+
status?: StatusWithLiterals;
|
|
16
16
|
/** Scheduled status additional info */
|
|
17
17
|
initiatedInfo?: InitiatedStatusInfo;
|
|
18
18
|
/** Scheduled status additional info */
|
|
@@ -40,6 +40,8 @@ export declare enum Target {
|
|
|
40
40
|
SCHEDULE = "SCHEDULE",
|
|
41
41
|
IMMEDIATE = "IMMEDIATE"
|
|
42
42
|
}
|
|
43
|
+
/** @enumType */
|
|
44
|
+
export type TargetWithLiterals = Target | 'UNKNOWN_TARGET' | 'SCHEDULE' | 'IMMEDIATE';
|
|
43
45
|
export declare enum CancellationReason {
|
|
44
46
|
UNKNOWN_CANCELLATION_REASON = "UNKNOWN_CANCELLATION_REASON",
|
|
45
47
|
/** Indicating that the activation was cancelled directly */
|
|
@@ -53,6 +55,8 @@ export declare enum CancellationReason {
|
|
|
53
55
|
/** Indicates that the activation was cancelled due to a UoU GDPR "Right to be Forgotten" request. */
|
|
54
56
|
CANCELLED_BY_GDPR_REQUEST = "CANCELLED_BY_GDPR_REQUEST"
|
|
55
57
|
}
|
|
58
|
+
/** @enumType */
|
|
59
|
+
export type CancellationReasonWithLiterals = CancellationReason | 'UNKNOWN_CANCELLATION_REASON' | 'EVENT_CANCELLED' | 'AUTOMATION_DEACTIVATED' | 'AUTOMATION_DELETED' | 'CANCELLED_BY_REFRESH_PAYLOAD' | 'CANCELLED_BY_GDPR_REQUEST';
|
|
56
60
|
export interface Identity {
|
|
57
61
|
/**
|
|
58
62
|
* User ID
|
|
@@ -71,6 +75,8 @@ export declare enum ErrorReason {
|
|
|
71
75
|
/** Failed to evaluate the schedule date expression */
|
|
72
76
|
SCHEDULE_DATE_EVALUATION_FAILED = "SCHEDULE_DATE_EVALUATION_FAILED"
|
|
73
77
|
}
|
|
78
|
+
/** @enumType */
|
|
79
|
+
export type ErrorReasonWithLiterals = ErrorReason | 'UNEXPECTED_ERROR_REASON' | 'SCHEDULE_DATE_EVALUATION_FAILED';
|
|
74
80
|
export declare enum SkipReason {
|
|
75
81
|
UNKNOWN_SKIP_REASON = "UNKNOWN_SKIP_REASON",
|
|
76
82
|
/** Activation was skipped because the scheduled execution time had already passed at the time of execution */
|
|
@@ -82,6 +88,8 @@ export declare enum SkipReason {
|
|
|
82
88
|
/** Activation was skipped because an event with the same idempotency key was already processed. */
|
|
83
89
|
EVENT_ALREADY_PROCESSED = "EVENT_ALREADY_PROCESSED"
|
|
84
90
|
}
|
|
91
|
+
/** @enumType */
|
|
92
|
+
export type SkipReasonWithLiterals = SkipReason | 'UNKNOWN_SKIP_REASON' | 'SCHEDULE_DATE_EXPIRED' | 'TRIGGER_FILTERS_NOT_PASSED' | 'RATE_LIMIT_EXCEEDED' | 'EVENT_ALREADY_PROCESSED';
|
|
85
93
|
export declare enum Status {
|
|
86
94
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
87
95
|
/** This indicates activation is not started yet (no action has run yet) */
|
|
@@ -105,11 +113,13 @@ export declare enum Status {
|
|
|
105
113
|
*/
|
|
106
114
|
SKIPPED = "SKIPPED"
|
|
107
115
|
}
|
|
116
|
+
/** @enumType */
|
|
117
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'INITIATED' | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELLED' | 'FAILED' | 'SKIPPED';
|
|
108
118
|
export interface InitiatedStatusInfo {
|
|
109
119
|
/** Created date */
|
|
110
120
|
statusChangedDate?: Date | null;
|
|
111
121
|
/** Target */
|
|
112
|
-
target?:
|
|
122
|
+
target?: TargetWithLiterals;
|
|
113
123
|
/** The reported trigger payload */
|
|
114
124
|
payload?: Record<string, any> | null;
|
|
115
125
|
/**
|
|
@@ -150,7 +160,7 @@ export interface CancelledStatusInfo {
|
|
|
150
160
|
/** Created date */
|
|
151
161
|
statusChangedDate?: Date | null;
|
|
152
162
|
/** Cancellation reason */
|
|
153
|
-
reason?:
|
|
163
|
+
reason?: CancellationReasonWithLiterals;
|
|
154
164
|
/** The identity (such as user, app etc.) that caused the cancellation */
|
|
155
165
|
initiator?: Identity;
|
|
156
166
|
}
|
|
@@ -169,7 +179,7 @@ export interface FailedStatusInfo {
|
|
|
169
179
|
*/
|
|
170
180
|
errorCode?: string | null;
|
|
171
181
|
/** Error reason */
|
|
172
|
-
errorReason?:
|
|
182
|
+
errorReason?: ErrorReasonWithLiterals;
|
|
173
183
|
/** Event payload */
|
|
174
184
|
payload?: Record<string, any> | null;
|
|
175
185
|
/**
|
|
@@ -187,7 +197,7 @@ export interface SkippedStatusInfo {
|
|
|
187
197
|
/** Created date */
|
|
188
198
|
statusChangedDate?: Date | null;
|
|
189
199
|
/** The reason why the automation activation was skipped */
|
|
190
|
-
reason?:
|
|
200
|
+
reason?: SkipReasonWithLiterals;
|
|
191
201
|
/** The reported trigger payload */
|
|
192
202
|
payload?: Record<string, any> | null;
|
|
193
203
|
/**
|
|
@@ -217,7 +227,7 @@ export interface Warning {
|
|
|
217
227
|
*/
|
|
218
228
|
errorCode?: string | null;
|
|
219
229
|
/** The reason for the warning */
|
|
220
|
-
reason?:
|
|
230
|
+
reason?: WarningReasonWithLiterals;
|
|
221
231
|
}
|
|
222
232
|
export declare enum WarningReason {
|
|
223
233
|
UNKNOWN_WARNING_REASON = "UNKNOWN_WARNING_REASON",
|
|
@@ -230,30 +240,28 @@ export declare enum WarningReason {
|
|
|
230
240
|
/** Failed to retrieve member information */
|
|
231
241
|
GET_MEMBER_ENRICHMENT_FAILED = "GET_MEMBER_ENRICHMENT_FAILED"
|
|
232
242
|
}
|
|
243
|
+
/** @enumType */
|
|
244
|
+
export type WarningReasonWithLiterals = WarningReason | 'UNKNOWN_WARNING_REASON' | 'STUDIO_SITE_ENRICHMENT_FAILED' | 'REFRESH_PAYLOAD_FAILED' | 'GET_CONTACT_ENRICHMENT_FAILED' | 'GET_MEMBER_ENRICHMENT_FAILED';
|
|
233
245
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
234
246
|
createdEvent?: EntityCreatedEvent;
|
|
235
247
|
updatedEvent?: EntityUpdatedEvent;
|
|
236
248
|
deletedEvent?: EntityDeletedEvent;
|
|
237
249
|
actionEvent?: ActionEvent;
|
|
238
|
-
/**
|
|
239
|
-
* Unique event ID.
|
|
240
|
-
* Allows clients to ignore duplicate webhooks.
|
|
241
|
-
*/
|
|
250
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
242
251
|
id?: string;
|
|
243
252
|
/**
|
|
244
|
-
*
|
|
245
|
-
*
|
|
253
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
254
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
246
255
|
*/
|
|
247
256
|
entityFqdn?: string;
|
|
248
257
|
/**
|
|
249
|
-
*
|
|
250
|
-
*
|
|
251
|
-
* Example: created/updated/deleted/started/completed/email_opened
|
|
258
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
259
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
252
260
|
*/
|
|
253
261
|
slug?: string;
|
|
254
262
|
/** ID of the entity associated with the event. */
|
|
255
263
|
entityId?: string;
|
|
256
|
-
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example
|
|
264
|
+
/** 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
265
|
eventTime?: Date | null;
|
|
258
266
|
/**
|
|
259
267
|
* Whether the event was triggered as a result of a privacy regulation application
|
|
@@ -263,12 +271,8 @@ export interface DomainEvent extends DomainEventBodyOneOf {
|
|
|
263
271
|
/** If present, indicates the action that triggered the event. */
|
|
264
272
|
originatedFrom?: string | null;
|
|
265
273
|
/**
|
|
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.
|
|
274
|
+
* 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.
|
|
275
|
+
* 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
276
|
*/
|
|
273
277
|
entityEventSequence?: string | null;
|
|
274
278
|
}
|
|
@@ -296,7 +300,7 @@ export interface EntityUpdatedEvent {
|
|
|
296
300
|
currentEntityAsJson?: string;
|
|
297
301
|
}
|
|
298
302
|
export interface EntityDeletedEvent {
|
|
299
|
-
/** Entity that was deleted */
|
|
303
|
+
/** Entity that was deleted. */
|
|
300
304
|
deletedEntityAsJson?: string | null;
|
|
301
305
|
}
|
|
302
306
|
export interface ActionEvent {
|
|
@@ -367,7 +371,7 @@ export interface Automation extends AutomationOriginInfoOneOf {
|
|
|
367
371
|
* How the automation was added to the user's site.
|
|
368
372
|
* @immutable
|
|
369
373
|
*/
|
|
370
|
-
origin?:
|
|
374
|
+
origin?: OriginWithLiterals;
|
|
371
375
|
/** Automation settings. */
|
|
372
376
|
settings?: AutomationSettings;
|
|
373
377
|
/**
|
|
@@ -427,6 +431,8 @@ export declare enum Domain {
|
|
|
427
431
|
/** Wix account-level domain. */
|
|
428
432
|
WIX_ACCOUNT = "WIX_ACCOUNT"
|
|
429
433
|
}
|
|
434
|
+
/** @enumType */
|
|
435
|
+
export type DomainWithLiterals = Domain | 'USER' | 'WIX' | 'WIX_ACCOUNT';
|
|
430
436
|
export interface Enrichment {
|
|
431
437
|
/**
|
|
432
438
|
* Enrichment input mappings.
|
|
@@ -465,7 +471,7 @@ export interface AuditInfoIdOneOf {
|
|
|
465
471
|
}
|
|
466
472
|
export interface AutomationConfiguration {
|
|
467
473
|
/** Status of the automation on the site. */
|
|
468
|
-
status?:
|
|
474
|
+
status?: AutomationConfigurationStatusWithLiterals;
|
|
469
475
|
/** Trigger configuration. */
|
|
470
476
|
trigger?: Trigger;
|
|
471
477
|
/**
|
|
@@ -492,6 +498,8 @@ export declare enum TimeUnit {
|
|
|
492
498
|
/** Months. */
|
|
493
499
|
MONTHS = "MONTHS"
|
|
494
500
|
}
|
|
501
|
+
/** @enumType */
|
|
502
|
+
export type TimeUnitWithLiterals = TimeUnit | 'UNKNOWN_TIME_UNIT' | 'MINUTES' | 'HOURS' | 'DAYS' | 'WEEKS' | 'MONTHS';
|
|
495
503
|
export interface Filter {
|
|
496
504
|
/**
|
|
497
505
|
* Filter ID.
|
|
@@ -523,7 +531,7 @@ export interface FutureDateActivationOffset {
|
|
|
523
531
|
*/
|
|
524
532
|
preScheduledEventOffsetExpression?: string;
|
|
525
533
|
/** Unit in which to set the action offset. */
|
|
526
|
-
scheduledEventOffsetTimeUnit?:
|
|
534
|
+
scheduledEventOffsetTimeUnit?: TimeUnitWithLiterals;
|
|
527
535
|
}
|
|
528
536
|
export interface RateLimit {
|
|
529
537
|
/**
|
|
@@ -539,7 +547,7 @@ export interface RateLimit {
|
|
|
539
547
|
*/
|
|
540
548
|
durationExpression?: string | null;
|
|
541
549
|
/** Unit in which to set the duration of the rate limit. */
|
|
542
|
-
durationTimeUnit?:
|
|
550
|
+
durationTimeUnit?: TimeUnitWithLiterals;
|
|
543
551
|
/**
|
|
544
552
|
* Activation identifier used to count the number of activations.
|
|
545
553
|
* @minLength 1
|
|
@@ -557,7 +565,7 @@ export interface FilterValueSelection {
|
|
|
557
565
|
}
|
|
558
566
|
export interface ConditionExpressionGroup {
|
|
559
567
|
/** Logical operator used to evaluate the condition expressions. */
|
|
560
|
-
operator?:
|
|
568
|
+
operator?: OperatorWithLiterals;
|
|
561
569
|
/**
|
|
562
570
|
* Expressions evaluated using the selected operator.
|
|
563
571
|
* @minSize 1
|
|
@@ -574,6 +582,25 @@ export declare enum Operator {
|
|
|
574
582
|
/** `AND` operator. */
|
|
575
583
|
AND = "AND"
|
|
576
584
|
}
|
|
585
|
+
/** @enumType */
|
|
586
|
+
export type OperatorWithLiterals = Operator | 'UNKNOWN_OPERATOR' | 'OR' | 'AND';
|
|
587
|
+
export interface CodeSnippet {
|
|
588
|
+
/** Logical operator used to evaluate the condition expressions. */
|
|
589
|
+
language?: LanguageWithLiterals;
|
|
590
|
+
/**
|
|
591
|
+
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
592
|
+
* @maxLength 1000
|
|
593
|
+
*/
|
|
594
|
+
code?: string;
|
|
595
|
+
}
|
|
596
|
+
export declare enum Language {
|
|
597
|
+
/** Unknown. */
|
|
598
|
+
UNKNOWN_LANGUAGE = "UNKNOWN_LANGUAGE",
|
|
599
|
+
/** `JAVASCRIPT` language. */
|
|
600
|
+
JAVASCRIPT = "JAVASCRIPT"
|
|
601
|
+
}
|
|
602
|
+
/** @enumType */
|
|
603
|
+
export type LanguageWithLiterals = Language | 'UNKNOWN_LANGUAGE' | 'JAVASCRIPT';
|
|
577
604
|
/** Path definition */
|
|
578
605
|
export interface Path {
|
|
579
606
|
/**
|
|
@@ -605,6 +632,8 @@ export declare enum Type {
|
|
|
605
632
|
/** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
|
|
606
633
|
RATE_LIMIT = "RATE_LIMIT"
|
|
607
634
|
}
|
|
635
|
+
/** @enumType */
|
|
636
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_ACTION_TYPE' | 'APP_DEFINED' | 'CONDITION' | 'DELAY' | 'RATE_LIMIT';
|
|
608
637
|
export interface AppDefinedAction {
|
|
609
638
|
/**
|
|
610
639
|
* ID of the app that defines the action.
|
|
@@ -655,6 +684,22 @@ export interface ConditionAction {
|
|
|
655
684
|
*/
|
|
656
685
|
falsePostActionIds?: string[];
|
|
657
686
|
}
|
|
687
|
+
export interface CodeConditionAction {
|
|
688
|
+
/** 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. */
|
|
689
|
+
snippet?: CodeSnippet;
|
|
690
|
+
/**
|
|
691
|
+
* IDs of actions to run when the condition evaluates to `true`.
|
|
692
|
+
* @maxSize 20
|
|
693
|
+
* @format GUID
|
|
694
|
+
*/
|
|
695
|
+
truePostActionIds?: string[];
|
|
696
|
+
/**
|
|
697
|
+
* IDs of actions to run when the condition evaluates to `false`.
|
|
698
|
+
* @maxSize 20
|
|
699
|
+
* @format GUID
|
|
700
|
+
*/
|
|
701
|
+
falsePostActionIds?: string[];
|
|
702
|
+
}
|
|
658
703
|
export interface DelayAction {
|
|
659
704
|
/**
|
|
660
705
|
* Time to wait before running the action. The wait time starts from when the current action completes.
|
|
@@ -664,7 +709,7 @@ export interface DelayAction {
|
|
|
664
709
|
*/
|
|
665
710
|
offsetExpression?: string | null;
|
|
666
711
|
/** Unit in which to set the wait time to wait before the action runs. */
|
|
667
|
-
offsetTimeUnit?:
|
|
712
|
+
offsetTimeUnit?: TimeUnitWithLiterals;
|
|
668
713
|
/**
|
|
669
714
|
* Action run date in milliseconds elapsed since January 1, 1970 UTC.
|
|
670
715
|
*
|
|
@@ -693,7 +738,7 @@ export interface RateLimitAction {
|
|
|
693
738
|
*/
|
|
694
739
|
rateLimitDurationExpression?: string | null;
|
|
695
740
|
/** Unit in which to set the duration of the rate limit. */
|
|
696
|
-
rateLimitDurationTimeUnit?:
|
|
741
|
+
rateLimitDurationTimeUnit?: TimeUnitWithLiterals;
|
|
697
742
|
/**
|
|
698
743
|
* Unique identifier of each activation by which rate limiter counts activations.
|
|
699
744
|
* @minLength 1
|
|
@@ -743,6 +788,8 @@ export declare enum AutomationConfigurationStatus {
|
|
|
743
788
|
/** Inactive. Inactive automations cannot be triggered. */
|
|
744
789
|
INACTIVE = "INACTIVE"
|
|
745
790
|
}
|
|
791
|
+
/** @enumType */
|
|
792
|
+
export type AutomationConfigurationStatusWithLiterals = AutomationConfigurationStatus | 'UNKNOWN_STATUS' | 'ACTIVE' | 'INACTIVE';
|
|
746
793
|
export interface Trigger {
|
|
747
794
|
/**
|
|
748
795
|
* ID of the app that defines the trigger.
|
|
@@ -780,6 +827,8 @@ export interface Action extends ActionInfoOneOf {
|
|
|
780
827
|
appDefinedInfo?: AppDefinedAction;
|
|
781
828
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
782
829
|
conditionInfo?: ConditionAction;
|
|
830
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
831
|
+
codeConditionInfo?: CodeConditionAction;
|
|
783
832
|
/** Details of the action when its `type` is `DELAY`. */
|
|
784
833
|
delayInfo?: DelayAction;
|
|
785
834
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|
|
@@ -792,7 +841,7 @@ export interface Action extends ActionInfoOneOf {
|
|
|
792
841
|
*/
|
|
793
842
|
id?: string | null;
|
|
794
843
|
/** [Action type](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/about-automation-configuration#action-type). */
|
|
795
|
-
type?:
|
|
844
|
+
type?: TypeWithLiterals;
|
|
796
845
|
/**
|
|
797
846
|
* [Action namespace](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/about-automation-configuration#namespace). This differentiates it from other actions of the same type.
|
|
798
847
|
*
|
|
@@ -808,6 +857,8 @@ export interface ActionInfoOneOf {
|
|
|
808
857
|
appDefinedInfo?: AppDefinedAction;
|
|
809
858
|
/** Details of the action when its `type` is `CONDITION`. */
|
|
810
859
|
conditionInfo?: ConditionAction;
|
|
860
|
+
/** Details of the action when its `type` is `CODE_CONDITION`. */
|
|
861
|
+
codeConditionInfo?: CodeConditionAction;
|
|
811
862
|
/** Details of the action when its `type` is `DELAY`. */
|
|
812
863
|
delayInfo?: DelayAction;
|
|
813
864
|
/** Details of the action when its `type` is `RATE_LIMIT`. */
|
|
@@ -833,6 +884,8 @@ export declare enum Origin {
|
|
|
833
884
|
/** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */
|
|
834
885
|
PREINSTALLED = "PREINSTALLED"
|
|
835
886
|
}
|
|
887
|
+
/** @enumType */
|
|
888
|
+
export type OriginWithLiterals = Origin | 'UNKNOWN_ORIGIN' | 'USER' | 'APPLICATION' | 'PREINSTALLED';
|
|
836
889
|
export interface ApplicationOrigin {
|
|
837
890
|
/**
|
|
838
891
|
* [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
@@ -963,7 +1016,7 @@ export interface ListActivationLogsRequest extends ListActivationLogsRequestIden
|
|
|
963
1016
|
/** Should return payload in the response */
|
|
964
1017
|
includePayload?: boolean | null;
|
|
965
1018
|
/** identifier type for the activations to list */
|
|
966
|
-
identifierType:
|
|
1019
|
+
identifierType: IdentifierTypeWithLiterals;
|
|
967
1020
|
}
|
|
968
1021
|
/** @oneof */
|
|
969
1022
|
export interface ListActivationLogsRequestIdentifierOneOf {
|
|
@@ -991,6 +1044,8 @@ export interface CursorPaging {
|
|
|
991
1044
|
export declare enum IdentifierType {
|
|
992
1045
|
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
993
1046
|
}
|
|
1047
|
+
/** @enumType */
|
|
1048
|
+
export type IdentifierTypeWithLiterals = IdentifierType | 'UNKNOWN_TYPE';
|
|
994
1049
|
export interface AutomationIdInfo {
|
|
995
1050
|
/**
|
|
996
1051
|
* Automation ID
|
|
@@ -1052,7 +1107,7 @@ export interface SearchActivationLogsByPayloadPiiValueRequest extends SearchActi
|
|
|
1052
1107
|
/** Should return payload in the response */
|
|
1053
1108
|
includePayload?: boolean | null;
|
|
1054
1109
|
/** Filter by */
|
|
1055
|
-
filterBy?:
|
|
1110
|
+
filterBy?: FilterByWithLiterals;
|
|
1056
1111
|
/** From created date */
|
|
1057
1112
|
fromCreatedDate?: Date | null;
|
|
1058
1113
|
/** To created date */
|
|
@@ -1069,6 +1124,8 @@ export interface SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf {
|
|
|
1069
1124
|
export declare enum FilterBy {
|
|
1070
1125
|
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
1071
1126
|
}
|
|
1127
|
+
/** @enumType */
|
|
1128
|
+
export type FilterByWithLiterals = FilterBy | 'UNKNOWN_TYPE';
|
|
1072
1129
|
export interface SearchActivationLogsByPayloadPiiValueResponse {
|
|
1073
1130
|
/** List of activation logs */
|
|
1074
1131
|
activationLogs?: ActivationLog[];
|
|
@@ -1113,7 +1170,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1113
1170
|
*/
|
|
1114
1171
|
appId?: string;
|
|
1115
1172
|
/** @readonly */
|
|
1116
|
-
identityType?:
|
|
1173
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1117
1174
|
}
|
|
1118
1175
|
/** @oneof */
|
|
1119
1176
|
export interface IdentificationDataIdOneOf {
|
|
@@ -1145,3 +1202,5 @@ export declare enum WebhookIdentityType {
|
|
|
1145
1202
|
WIX_USER = "WIX_USER",
|
|
1146
1203
|
APP = "APP"
|
|
1147
1204
|
}
|
|
1205
|
+
/** @enumType */
|
|
1206
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
@@ -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;
|
|
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":"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"}
|