@wix/auto_sdk_automations_activation-log 1.0.5 → 1.0.6
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/{internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts → automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.d.mts} +106 -160
- package/build/{cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts → automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.d.ts} +106 -160
- package/build/index.d.mts +36 -0
- package/build/index.d.ts +36 -0
- package/build/index.js +487 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +445 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{es/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts → automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.d.mts} +106 -160
- package/build/{es/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts → internal/automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.d.ts} +106 -160
- package/build/internal/index.d.mts +36 -0
- package/build/internal/index.d.ts +36 -0
- package/build/internal/index.js +487 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +445 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +405 -0
- package/build/internal/meta.d.ts +405 -0
- package/build/internal/meta.js +260 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +231 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +405 -0
- package/build/meta.d.ts +405 -0
- package/build/meta.js +260 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +231 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +0 -7
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js +0 -26
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +0 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.http.d.ts +0 -11
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.http.js +0 -176
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.http.js.map +0 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.meta.d.ts +0 -17
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.meta.js +0 -85
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.meta.js.map +0 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +0 -32
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js +0 -41
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +0 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +0 -1206
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js +0 -169
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +0 -1
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +0 -341
- package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +0 -7
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js +0 -7
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +0 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.http.d.ts +0 -11
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.http.js +0 -170
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.http.js.map +0 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.meta.d.ts +0 -17
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.meta.js +0 -56
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.meta.js.map +0 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +0 -32
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js +0 -19
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +0 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +0 -1206
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js +0 -166
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +0 -1
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +0 -312
- package/build/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +0 -7
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js +0 -26
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +0 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.http.d.ts +0 -11
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.http.js +0 -176
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.http.js.map +0 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.meta.d.ts +0 -17
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.meta.js +0 -85
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.meta.js.map +0 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +0 -32
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js +0 -41
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +0 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +0 -1206
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js +0 -169
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +0 -1
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +0 -341
- package/build/internal/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.context.d.ts +0 -7
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js +0 -7
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.context.js.map +0 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.http.d.ts +0 -11
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.http.js +0 -170
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.http.js.map +0 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.meta.d.ts +0 -17
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.meta.js +0 -56
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.meta.js.map +0 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.public.d.ts +0 -32
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js +0 -19
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.public.js.map +0 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.types.d.ts +0 -1206
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js +0 -166
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.types.js.map +0 -1
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js +0 -312
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +0 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { A as ActivationLog, L as ListActivationLogsOptions, a as ListActivationLogsResponse, S as SearchActivationLogsByPayloadPiiValueOptions, b as SearchActivationLogsByPayloadPiiValueResponse } from './automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.mjs';
|
|
3
|
+
export { a8 as Action, y as ActionEvent, a9 as ActionInfoOneOf, J as ActionSettings, B as ActivationContinuedAfterSchedule, $ as AppDefinedAction, ab as ApplicationOrigin, M as AuditInfo, N as AuditInfoIdOneOf, G as Automation, P as AutomationConfiguration, h as AutomationConfigurationStatus, ao as AutomationIdInfo, H as AutomationOriginInfoOneOf, ad as AutomationSettings, C as CancellationReason, p as CancelledStatusInfo, ai as ClientEntityIdsByNamespace, a1 as CodeConditionAction, Z as CodeSnippet, a0 as ConditionAction, Y as ConditionExpressionGroup, an as CursorPaging, aq as CursorPagingMetadata, ar as Cursors, a2 as DelayAction, D as Domain, t as DomainEvent, u as DomainEventBodyOneOf, ae as DraftInfo, z as Empty, o as EndedStatusInfo, K as Enrichment, af as Enrichments, v as EntityCreatedEvent, x as EntityDeletedEvent, w as EntityUpdatedEvent, E as ErrorReason, ag as ExtendedFields, q as FailedStatusInfo, Q as Filter, F as FilterBy, X as FilterValueSelection, aa as FilterableAppDefinedActions, U as FutureDateActivationOffset, aj as GetActivationLogRequest, ak as GetActivationLogResponse, av as IdentificationData, aw as IdentificationDataIdOneOf, I as IdentifierType, k as Identity, l as InitiatedStatusInfo, f as Language, ax as ListActivationLogsOptionsIdentifierOneOf, al as ListActivationLogsRequest, am as ListActivationLogsRequestIdentifierOneOf, au as MessageEnvelope, O as Operator, i as Origin, a5 as OutputAction, _ as Path, ap as PreinstalledIdentifierInfo, ac as PreinstalledOrigin, V as RateLimit, a3 as RateLimitAction, R as RestoreInfo, m as ScheduledStatusInfo, ay as SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, as as SearchActivationLogsByPayloadPiiValueRequest, at as SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, a4 as SetVariablesAction, c as SkipReason, r as SkippedStatusInfo, a6 as SplitAction, n as StartedStatusInfo, d as Status, T as Target, e as TimeUnit, a7 as Trigger, g as Type, ah as UouDeleteRequest, s as Warning, W as WarningReason, j as WebhookIdentityType } from './automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.mjs';
|
|
4
|
+
|
|
5
|
+
declare function getActivationLog$1(httpClient: HttpClient): GetActivationLogSignature;
|
|
6
|
+
interface GetActivationLogSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Get activation log by ID
|
|
9
|
+
* @param - Activation log ID
|
|
10
|
+
* @returns Activation log
|
|
11
|
+
*/
|
|
12
|
+
(activationId: string): Promise<ActivationLog>;
|
|
13
|
+
}
|
|
14
|
+
declare function listActivationLogs$1(httpClient: HttpClient): ListActivationLogsSignature;
|
|
15
|
+
interface ListActivationLogsSignature {
|
|
16
|
+
/**
|
|
17
|
+
* List activation logs
|
|
18
|
+
*/
|
|
19
|
+
(options?: ListActivationLogsOptions | undefined): Promise<ListActivationLogsResponse>;
|
|
20
|
+
}
|
|
21
|
+
declare function searchActivationLogsByPayloadPiiValue$1(httpClient: HttpClient): SearchActivationLogsByPayloadPiiValueSignature;
|
|
22
|
+
interface SearchActivationLogsByPayloadPiiValueSignature {
|
|
23
|
+
/**
|
|
24
|
+
* Search activation logs by payload pii value
|
|
25
|
+
* Entire field value match is supported
|
|
26
|
+
* Supported are emails, phones and guids
|
|
27
|
+
* @param - Value to search in the payload
|
|
28
|
+
*/
|
|
29
|
+
(value: string, options?: SearchActivationLogsByPayloadPiiValueOptions | undefined): Promise<SearchActivationLogsByPayloadPiiValueResponse>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare const getActivationLog: MaybeContext<BuildRESTFunction<typeof getActivationLog$1> & typeof getActivationLog$1>;
|
|
33
|
+
declare const listActivationLogs: MaybeContext<BuildRESTFunction<typeof listActivationLogs$1> & typeof listActivationLogs$1>;
|
|
34
|
+
declare const searchActivationLogsByPayloadPiiValue: MaybeContext<BuildRESTFunction<typeof searchActivationLogsByPayloadPiiValue$1> & typeof searchActivationLogsByPayloadPiiValue$1>;
|
|
35
|
+
|
|
36
|
+
export { ActivationLog, ListActivationLogsOptions, ListActivationLogsResponse, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueResponse, getActivationLog, listActivationLogs, searchActivationLogsByPayloadPiiValue };
|
package/build/index.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { HttpClient, MaybeContext, BuildRESTFunction } from '@wix/sdk-types';
|
|
2
|
+
import { A as ActivationLog, L as ListActivationLogsOptions, a as ListActivationLogsResponse, S as SearchActivationLogsByPayloadPiiValueOptions, b as SearchActivationLogsByPayloadPiiValueResponse } from './automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.js';
|
|
3
|
+
export { a8 as Action, y as ActionEvent, a9 as ActionInfoOneOf, J as ActionSettings, B as ActivationContinuedAfterSchedule, $ as AppDefinedAction, ab as ApplicationOrigin, M as AuditInfo, N as AuditInfoIdOneOf, G as Automation, P as AutomationConfiguration, h as AutomationConfigurationStatus, ao as AutomationIdInfo, H as AutomationOriginInfoOneOf, ad as AutomationSettings, C as CancellationReason, p as CancelledStatusInfo, ai as ClientEntityIdsByNamespace, a1 as CodeConditionAction, Z as CodeSnippet, a0 as ConditionAction, Y as ConditionExpressionGroup, an as CursorPaging, aq as CursorPagingMetadata, ar as Cursors, a2 as DelayAction, D as Domain, t as DomainEvent, u as DomainEventBodyOneOf, ae as DraftInfo, z as Empty, o as EndedStatusInfo, K as Enrichment, af as Enrichments, v as EntityCreatedEvent, x as EntityDeletedEvent, w as EntityUpdatedEvent, E as ErrorReason, ag as ExtendedFields, q as FailedStatusInfo, Q as Filter, F as FilterBy, X as FilterValueSelection, aa as FilterableAppDefinedActions, U as FutureDateActivationOffset, aj as GetActivationLogRequest, ak as GetActivationLogResponse, av as IdentificationData, aw as IdentificationDataIdOneOf, I as IdentifierType, k as Identity, l as InitiatedStatusInfo, f as Language, ax as ListActivationLogsOptionsIdentifierOneOf, al as ListActivationLogsRequest, am as ListActivationLogsRequestIdentifierOneOf, au as MessageEnvelope, O as Operator, i as Origin, a5 as OutputAction, _ as Path, ap as PreinstalledIdentifierInfo, ac as PreinstalledOrigin, V as RateLimit, a3 as RateLimitAction, R as RestoreInfo, m as ScheduledStatusInfo, ay as SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, as as SearchActivationLogsByPayloadPiiValueRequest, at as SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, a4 as SetVariablesAction, c as SkipReason, r as SkippedStatusInfo, a6 as SplitAction, n as StartedStatusInfo, d as Status, T as Target, e as TimeUnit, a7 as Trigger, g as Type, ah as UouDeleteRequest, s as Warning, W as WarningReason, j as WebhookIdentityType } from './automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.js';
|
|
4
|
+
|
|
5
|
+
declare function getActivationLog$1(httpClient: HttpClient): GetActivationLogSignature;
|
|
6
|
+
interface GetActivationLogSignature {
|
|
7
|
+
/**
|
|
8
|
+
* Get activation log by ID
|
|
9
|
+
* @param - Activation log ID
|
|
10
|
+
* @returns Activation log
|
|
11
|
+
*/
|
|
12
|
+
(activationId: string): Promise<ActivationLog>;
|
|
13
|
+
}
|
|
14
|
+
declare function listActivationLogs$1(httpClient: HttpClient): ListActivationLogsSignature;
|
|
15
|
+
interface ListActivationLogsSignature {
|
|
16
|
+
/**
|
|
17
|
+
* List activation logs
|
|
18
|
+
*/
|
|
19
|
+
(options?: ListActivationLogsOptions | undefined): Promise<ListActivationLogsResponse>;
|
|
20
|
+
}
|
|
21
|
+
declare function searchActivationLogsByPayloadPiiValue$1(httpClient: HttpClient): SearchActivationLogsByPayloadPiiValueSignature;
|
|
22
|
+
interface SearchActivationLogsByPayloadPiiValueSignature {
|
|
23
|
+
/**
|
|
24
|
+
* Search activation logs by payload pii value
|
|
25
|
+
* Entire field value match is supported
|
|
26
|
+
* Supported are emails, phones and guids
|
|
27
|
+
* @param - Value to search in the payload
|
|
28
|
+
*/
|
|
29
|
+
(value: string, options?: SearchActivationLogsByPayloadPiiValueOptions | undefined): Promise<SearchActivationLogsByPayloadPiiValueResponse>;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare const getActivationLog: MaybeContext<BuildRESTFunction<typeof getActivationLog$1> & typeof getActivationLog$1>;
|
|
33
|
+
declare const listActivationLogs: MaybeContext<BuildRESTFunction<typeof listActivationLogs$1> & typeof listActivationLogs$1>;
|
|
34
|
+
declare const searchActivationLogsByPayloadPiiValue: MaybeContext<BuildRESTFunction<typeof searchActivationLogsByPayloadPiiValue$1> & typeof searchActivationLogsByPayloadPiiValue$1>;
|
|
35
|
+
|
|
36
|
+
export { ActivationLog, ListActivationLogsOptions, ListActivationLogsResponse, SearchActivationLogsByPayloadPiiValueOptions, SearchActivationLogsByPayloadPiiValueResponse, getActivationLog, listActivationLogs, searchActivationLogsByPayloadPiiValue };
|
package/build/index.js
ADDED
|
@@ -0,0 +1,487 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// index.ts
|
|
21
|
+
var index_exports = {};
|
|
22
|
+
__export(index_exports, {
|
|
23
|
+
AutomationConfigurationStatus: () => AutomationConfigurationStatus,
|
|
24
|
+
CancellationReason: () => CancellationReason,
|
|
25
|
+
Domain: () => Domain,
|
|
26
|
+
ErrorReason: () => ErrorReason,
|
|
27
|
+
FilterBy: () => FilterBy,
|
|
28
|
+
IdentifierType: () => IdentifierType,
|
|
29
|
+
Language: () => Language,
|
|
30
|
+
Operator: () => Operator,
|
|
31
|
+
Origin: () => Origin,
|
|
32
|
+
SkipReason: () => SkipReason,
|
|
33
|
+
Status: () => Status,
|
|
34
|
+
Target: () => Target,
|
|
35
|
+
TimeUnit: () => TimeUnit,
|
|
36
|
+
Type: () => Type,
|
|
37
|
+
WarningReason: () => WarningReason,
|
|
38
|
+
WebhookIdentityType: () => WebhookIdentityType,
|
|
39
|
+
getActivationLog: () => getActivationLog4,
|
|
40
|
+
listActivationLogs: () => listActivationLogs4,
|
|
41
|
+
searchActivationLogsByPayloadPiiValue: () => searchActivationLogsByPayloadPiiValue4
|
|
42
|
+
});
|
|
43
|
+
module.exports = __toCommonJS(index_exports);
|
|
44
|
+
|
|
45
|
+
// src/automations-activation-logs-v1-activation-log-activation-log.universal.ts
|
|
46
|
+
var import_transform_error = require("@wix/sdk-runtime/transform-error");
|
|
47
|
+
var import_rename_all_nested_keys = require("@wix/sdk-runtime/rename-all-nested-keys");
|
|
48
|
+
|
|
49
|
+
// src/automations-activation-logs-v1-activation-log-activation-log.http.ts
|
|
50
|
+
var import_rest_modules = require("@wix/sdk-runtime/rest-modules");
|
|
51
|
+
var import_timestamp = require("@wix/sdk-runtime/transformations/timestamp");
|
|
52
|
+
var import_timestamp2 = require("@wix/sdk-runtime/transformations/timestamp");
|
|
53
|
+
var import_transform_paths = require("@wix/sdk-runtime/transformations/transform-paths");
|
|
54
|
+
var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
|
|
55
|
+
function resolveWixAutomationsActivationLogsV1ActivationLogsServiceUrl(opts) {
|
|
56
|
+
const domainToMappings = {
|
|
57
|
+
"bo._base_domain_": [
|
|
58
|
+
{
|
|
59
|
+
srcPath: "/activation-logs",
|
|
60
|
+
destPath: ""
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"wixbo.ai": [
|
|
64
|
+
{
|
|
65
|
+
srcPath: "/activation-logs",
|
|
66
|
+
destPath: ""
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"wix-bo.com": [
|
|
70
|
+
{
|
|
71
|
+
srcPath: "/activation-logs",
|
|
72
|
+
destPath: ""
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"api._api_base_domain_": [
|
|
76
|
+
{
|
|
77
|
+
srcPath: "/activation-logs",
|
|
78
|
+
destPath: ""
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"manage._base_domain_": [
|
|
82
|
+
{
|
|
83
|
+
srcPath: "/activation-logs",
|
|
84
|
+
destPath: ""
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
srcPath: "/_api/activation-logs",
|
|
88
|
+
destPath: "/api"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
};
|
|
92
|
+
return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));
|
|
93
|
+
}
|
|
94
|
+
var PACKAGE_NAME = "@wix/auto_sdk_automations_activation-log";
|
|
95
|
+
function getActivationLog(payload) {
|
|
96
|
+
function __getActivationLog({ host }) {
|
|
97
|
+
const metadata = {
|
|
98
|
+
entityFqdn: "wix.automations.activation_logs.v1.activation_log",
|
|
99
|
+
method: "GET",
|
|
100
|
+
methodFqn: "wix.automations.activation_logs.v1.ActivationLogsService.GetActivationLog",
|
|
101
|
+
packageName: PACKAGE_NAME,
|
|
102
|
+
url: resolveWixAutomationsActivationLogsV1ActivationLogsServiceUrl({
|
|
103
|
+
protoPath: "/v2/activation-logs/{activationId}",
|
|
104
|
+
data: payload,
|
|
105
|
+
host
|
|
106
|
+
}),
|
|
107
|
+
params: (0, import_rest_modules.toURLSearchParams)(payload),
|
|
108
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
109
|
+
{
|
|
110
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
111
|
+
paths: [
|
|
112
|
+
{ path: "activationLog.createdDate" },
|
|
113
|
+
{ path: "activationLog.initiatedInfo.statusChangedDate" },
|
|
114
|
+
{ path: "activationLog.scheduledInfo.statusChangedDate" },
|
|
115
|
+
{ path: "activationLog.scheduledInfo.date" },
|
|
116
|
+
{ path: "activationLog.startedInfo.statusChangedDate" },
|
|
117
|
+
{ path: "activationLog.endedInfo.statusChangedDate" },
|
|
118
|
+
{ path: "activationLog.cancelledInfo.statusChangedDate" },
|
|
119
|
+
{ path: "activationLog.failedInfo.statusChangedDate" },
|
|
120
|
+
{ path: "activationLog.skippedInfo.statusChangedDate" },
|
|
121
|
+
{ path: "activationLog.warnings.warningDate" }
|
|
122
|
+
]
|
|
123
|
+
}
|
|
124
|
+
])
|
|
125
|
+
};
|
|
126
|
+
return metadata;
|
|
127
|
+
}
|
|
128
|
+
return __getActivationLog;
|
|
129
|
+
}
|
|
130
|
+
function listActivationLogs(payload) {
|
|
131
|
+
function __listActivationLogs({ host }) {
|
|
132
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
133
|
+
{
|
|
134
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
135
|
+
paths: [{ path: "fromCreatedDate" }, { path: "toCreatedDate" }]
|
|
136
|
+
}
|
|
137
|
+
]);
|
|
138
|
+
const metadata = {
|
|
139
|
+
entityFqdn: "wix.automations.activation_logs.v1.activation_log",
|
|
140
|
+
method: "GET",
|
|
141
|
+
methodFqn: "wix.automations.activation_logs.v1.ActivationLogsService.ListActivationLogs",
|
|
142
|
+
packageName: PACKAGE_NAME,
|
|
143
|
+
url: resolveWixAutomationsActivationLogsV1ActivationLogsServiceUrl({
|
|
144
|
+
protoPath: "/v2/activation-logs",
|
|
145
|
+
data: serializedData,
|
|
146
|
+
host
|
|
147
|
+
}),
|
|
148
|
+
params: (0, import_rest_modules.toURLSearchParams)(serializedData),
|
|
149
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
150
|
+
{
|
|
151
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
152
|
+
paths: [
|
|
153
|
+
{ path: "activationLogs.createdDate" },
|
|
154
|
+
{ path: "activationLogs.initiatedInfo.statusChangedDate" },
|
|
155
|
+
{ path: "activationLogs.scheduledInfo.statusChangedDate" },
|
|
156
|
+
{ path: "activationLogs.scheduledInfo.date" },
|
|
157
|
+
{ path: "activationLogs.startedInfo.statusChangedDate" },
|
|
158
|
+
{ path: "activationLogs.endedInfo.statusChangedDate" },
|
|
159
|
+
{ path: "activationLogs.cancelledInfo.statusChangedDate" },
|
|
160
|
+
{ path: "activationLogs.failedInfo.statusChangedDate" },
|
|
161
|
+
{ path: "activationLogs.skippedInfo.statusChangedDate" },
|
|
162
|
+
{ path: "activationLogs.warnings.warningDate" }
|
|
163
|
+
]
|
|
164
|
+
}
|
|
165
|
+
])
|
|
166
|
+
};
|
|
167
|
+
return metadata;
|
|
168
|
+
}
|
|
169
|
+
return __listActivationLogs;
|
|
170
|
+
}
|
|
171
|
+
function searchActivationLogsByPayloadPiiValue(payload) {
|
|
172
|
+
function __searchActivationLogsByPayloadPiiValue({ host }) {
|
|
173
|
+
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
174
|
+
{
|
|
175
|
+
transformFn: import_timestamp.transformSDKTimestampToRESTTimestamp,
|
|
176
|
+
paths: [{ path: "fromCreatedDate" }, { path: "toCreatedDate" }]
|
|
177
|
+
}
|
|
178
|
+
]);
|
|
179
|
+
const metadata = {
|
|
180
|
+
entityFqdn: "wix.automations.activation_logs.v1.activation_log",
|
|
181
|
+
method: "POST",
|
|
182
|
+
methodFqn: "wix.automations.activation_logs.v1.ActivationLogsService.SearchActivationLogsByPayloadPiiValue",
|
|
183
|
+
packageName: PACKAGE_NAME,
|
|
184
|
+
url: resolveWixAutomationsActivationLogsV1ActivationLogsServiceUrl({
|
|
185
|
+
protoPath: "/v2/activation-logs/search-by-payload-pii-value",
|
|
186
|
+
data: serializedData,
|
|
187
|
+
host
|
|
188
|
+
}),
|
|
189
|
+
data: serializedData,
|
|
190
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
191
|
+
{
|
|
192
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
193
|
+
paths: [
|
|
194
|
+
{ path: "activationLogs.createdDate" },
|
|
195
|
+
{ path: "activationLogs.initiatedInfo.statusChangedDate" },
|
|
196
|
+
{ path: "activationLogs.scheduledInfo.statusChangedDate" },
|
|
197
|
+
{ path: "activationLogs.scheduledInfo.date" },
|
|
198
|
+
{ path: "activationLogs.startedInfo.statusChangedDate" },
|
|
199
|
+
{ path: "activationLogs.endedInfo.statusChangedDate" },
|
|
200
|
+
{ path: "activationLogs.cancelledInfo.statusChangedDate" },
|
|
201
|
+
{ path: "activationLogs.failedInfo.statusChangedDate" },
|
|
202
|
+
{ path: "activationLogs.skippedInfo.statusChangedDate" },
|
|
203
|
+
{ path: "activationLogs.warnings.warningDate" }
|
|
204
|
+
]
|
|
205
|
+
}
|
|
206
|
+
])
|
|
207
|
+
};
|
|
208
|
+
return metadata;
|
|
209
|
+
}
|
|
210
|
+
return __searchActivationLogsByPayloadPiiValue;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
// src/automations-activation-logs-v1-activation-log-activation-log.universal.ts
|
|
214
|
+
var Target = /* @__PURE__ */ ((Target2) => {
|
|
215
|
+
Target2["UNKNOWN_TARGET"] = "UNKNOWN_TARGET";
|
|
216
|
+
Target2["SCHEDULE"] = "SCHEDULE";
|
|
217
|
+
Target2["IMMEDIATE"] = "IMMEDIATE";
|
|
218
|
+
return Target2;
|
|
219
|
+
})(Target || {});
|
|
220
|
+
var CancellationReason = /* @__PURE__ */ ((CancellationReason2) => {
|
|
221
|
+
CancellationReason2["UNKNOWN_CANCELLATION_REASON"] = "UNKNOWN_CANCELLATION_REASON";
|
|
222
|
+
CancellationReason2["EVENT_CANCELLED"] = "EVENT_CANCELLED";
|
|
223
|
+
CancellationReason2["AUTOMATION_DEACTIVATED"] = "AUTOMATION_DEACTIVATED";
|
|
224
|
+
CancellationReason2["AUTOMATION_DELETED"] = "AUTOMATION_DELETED";
|
|
225
|
+
CancellationReason2["CANCELLED_BY_REFRESH_PAYLOAD"] = "CANCELLED_BY_REFRESH_PAYLOAD";
|
|
226
|
+
CancellationReason2["CANCELLED_BY_GDPR_REQUEST"] = "CANCELLED_BY_GDPR_REQUEST";
|
|
227
|
+
return CancellationReason2;
|
|
228
|
+
})(CancellationReason || {});
|
|
229
|
+
var ErrorReason = /* @__PURE__ */ ((ErrorReason2) => {
|
|
230
|
+
ErrorReason2["UNEXPECTED_ERROR_REASON"] = "UNEXPECTED_ERROR_REASON";
|
|
231
|
+
ErrorReason2["SCHEDULE_DATE_EVALUATION_FAILED"] = "SCHEDULE_DATE_EVALUATION_FAILED";
|
|
232
|
+
return ErrorReason2;
|
|
233
|
+
})(ErrorReason || {});
|
|
234
|
+
var SkipReason = /* @__PURE__ */ ((SkipReason2) => {
|
|
235
|
+
SkipReason2["UNKNOWN_SKIP_REASON"] = "UNKNOWN_SKIP_REASON";
|
|
236
|
+
SkipReason2["SCHEDULE_DATE_EXPIRED"] = "SCHEDULE_DATE_EXPIRED";
|
|
237
|
+
SkipReason2["TRIGGER_FILTERS_NOT_PASSED"] = "TRIGGER_FILTERS_NOT_PASSED";
|
|
238
|
+
SkipReason2["RATE_LIMIT_EXCEEDED"] = "RATE_LIMIT_EXCEEDED";
|
|
239
|
+
SkipReason2["EVENT_ALREADY_PROCESSED"] = "EVENT_ALREADY_PROCESSED";
|
|
240
|
+
return SkipReason2;
|
|
241
|
+
})(SkipReason || {});
|
|
242
|
+
var Status = /* @__PURE__ */ ((Status2) => {
|
|
243
|
+
Status2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
244
|
+
Status2["INITIATED"] = "INITIATED";
|
|
245
|
+
Status2["SCHEDULED"] = "SCHEDULED";
|
|
246
|
+
Status2["STARTED"] = "STARTED";
|
|
247
|
+
Status2["ENDED"] = "ENDED";
|
|
248
|
+
Status2["CANCELLED"] = "CANCELLED";
|
|
249
|
+
Status2["FAILED"] = "FAILED";
|
|
250
|
+
Status2["SKIPPED"] = "SKIPPED";
|
|
251
|
+
return Status2;
|
|
252
|
+
})(Status || {});
|
|
253
|
+
var WarningReason = /* @__PURE__ */ ((WarningReason2) => {
|
|
254
|
+
WarningReason2["UNKNOWN_WARNING_REASON"] = "UNKNOWN_WARNING_REASON";
|
|
255
|
+
WarningReason2["STUDIO_SITE_ENRICHMENT_FAILED"] = "STUDIO_SITE_ENRICHMENT_FAILED";
|
|
256
|
+
WarningReason2["REFRESH_PAYLOAD_FAILED"] = "REFRESH_PAYLOAD_FAILED";
|
|
257
|
+
WarningReason2["GET_CONTACT_ENRICHMENT_FAILED"] = "GET_CONTACT_ENRICHMENT_FAILED";
|
|
258
|
+
WarningReason2["GET_MEMBER_ENRICHMENT_FAILED"] = "GET_MEMBER_ENRICHMENT_FAILED";
|
|
259
|
+
return WarningReason2;
|
|
260
|
+
})(WarningReason || {});
|
|
261
|
+
var Domain = /* @__PURE__ */ ((Domain2) => {
|
|
262
|
+
Domain2["USER"] = "USER";
|
|
263
|
+
Domain2["WIX"] = "WIX";
|
|
264
|
+
Domain2["WIX_ACCOUNT"] = "WIX_ACCOUNT";
|
|
265
|
+
return Domain2;
|
|
266
|
+
})(Domain || {});
|
|
267
|
+
var TimeUnit = /* @__PURE__ */ ((TimeUnit2) => {
|
|
268
|
+
TimeUnit2["UNKNOWN_TIME_UNIT"] = "UNKNOWN_TIME_UNIT";
|
|
269
|
+
TimeUnit2["MINUTES"] = "MINUTES";
|
|
270
|
+
TimeUnit2["HOURS"] = "HOURS";
|
|
271
|
+
TimeUnit2["DAYS"] = "DAYS";
|
|
272
|
+
TimeUnit2["WEEKS"] = "WEEKS";
|
|
273
|
+
TimeUnit2["MONTHS"] = "MONTHS";
|
|
274
|
+
return TimeUnit2;
|
|
275
|
+
})(TimeUnit || {});
|
|
276
|
+
var Operator = /* @__PURE__ */ ((Operator2) => {
|
|
277
|
+
Operator2["UNKNOWN_OPERATOR"] = "UNKNOWN_OPERATOR";
|
|
278
|
+
Operator2["OR"] = "OR";
|
|
279
|
+
Operator2["AND"] = "AND";
|
|
280
|
+
return Operator2;
|
|
281
|
+
})(Operator || {});
|
|
282
|
+
var Language = /* @__PURE__ */ ((Language2) => {
|
|
283
|
+
Language2["UNKNOWN_LANGUAGE"] = "UNKNOWN_LANGUAGE";
|
|
284
|
+
Language2["JAVASCRIPT"] = "JAVASCRIPT";
|
|
285
|
+
return Language2;
|
|
286
|
+
})(Language || {});
|
|
287
|
+
var Type = /* @__PURE__ */ ((Type2) => {
|
|
288
|
+
Type2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
289
|
+
Type2["APP_DEFINED"] = "APP_DEFINED";
|
|
290
|
+
Type2["CONDITION"] = "CONDITION";
|
|
291
|
+
Type2["DELAY"] = "DELAY";
|
|
292
|
+
Type2["RATE_LIMIT"] = "RATE_LIMIT";
|
|
293
|
+
return Type2;
|
|
294
|
+
})(Type || {});
|
|
295
|
+
var AutomationConfigurationStatus = /* @__PURE__ */ ((AutomationConfigurationStatus2) => {
|
|
296
|
+
AutomationConfigurationStatus2["UNKNOWN_STATUS"] = "UNKNOWN_STATUS";
|
|
297
|
+
AutomationConfigurationStatus2["ACTIVE"] = "ACTIVE";
|
|
298
|
+
AutomationConfigurationStatus2["INACTIVE"] = "INACTIVE";
|
|
299
|
+
return AutomationConfigurationStatus2;
|
|
300
|
+
})(AutomationConfigurationStatus || {});
|
|
301
|
+
var Origin = /* @__PURE__ */ ((Origin2) => {
|
|
302
|
+
Origin2["UNKNOWN_ORIGIN"] = "UNKNOWN_ORIGIN";
|
|
303
|
+
Origin2["USER"] = "USER";
|
|
304
|
+
Origin2["APPLICATION"] = "APPLICATION";
|
|
305
|
+
Origin2["PREINSTALLED"] = "PREINSTALLED";
|
|
306
|
+
return Origin2;
|
|
307
|
+
})(Origin || {});
|
|
308
|
+
var IdentifierType = /* @__PURE__ */ ((IdentifierType2) => {
|
|
309
|
+
IdentifierType2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
310
|
+
return IdentifierType2;
|
|
311
|
+
})(IdentifierType || {});
|
|
312
|
+
var FilterBy = /* @__PURE__ */ ((FilterBy2) => {
|
|
313
|
+
FilterBy2["UNKNOWN_TYPE"] = "UNKNOWN_TYPE";
|
|
314
|
+
return FilterBy2;
|
|
315
|
+
})(FilterBy || {});
|
|
316
|
+
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
317
|
+
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
318
|
+
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
319
|
+
WebhookIdentityType2["MEMBER"] = "MEMBER";
|
|
320
|
+
WebhookIdentityType2["WIX_USER"] = "WIX_USER";
|
|
321
|
+
WebhookIdentityType2["APP"] = "APP";
|
|
322
|
+
return WebhookIdentityType2;
|
|
323
|
+
})(WebhookIdentityType || {});
|
|
324
|
+
async function getActivationLog2(activationId) {
|
|
325
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
326
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
327
|
+
activationId
|
|
328
|
+
});
|
|
329
|
+
const reqOpts = getActivationLog(
|
|
330
|
+
payload
|
|
331
|
+
);
|
|
332
|
+
sideEffects?.onSiteCall?.();
|
|
333
|
+
try {
|
|
334
|
+
const result = await httpClient.request(reqOpts);
|
|
335
|
+
sideEffects?.onSuccess?.(result);
|
|
336
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data)?.activationLog;
|
|
337
|
+
} catch (err) {
|
|
338
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
339
|
+
err,
|
|
340
|
+
{
|
|
341
|
+
spreadPathsToArguments: {},
|
|
342
|
+
explicitPathsToArguments: { activationId: "$[0]" },
|
|
343
|
+
singleArgumentUnchanged: false
|
|
344
|
+
},
|
|
345
|
+
["activationId"]
|
|
346
|
+
);
|
|
347
|
+
sideEffects?.onError?.(err);
|
|
348
|
+
throw transformedError;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
async function listActivationLogs2(options) {
|
|
352
|
+
const { httpClient, sideEffects } = arguments[1];
|
|
353
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
354
|
+
fromCreatedDate: options?.fromCreatedDate,
|
|
355
|
+
toCreatedDate: options?.toCreatedDate,
|
|
356
|
+
cursorPaging: options?.cursorPaging,
|
|
357
|
+
includePayload: options?.includePayload,
|
|
358
|
+
identifierType: options?.identifierType,
|
|
359
|
+
automationIdInfo: options?.automationIdInfo,
|
|
360
|
+
preinstalledIdentifierInfo: options?.preinstalledIdentifierInfo
|
|
361
|
+
});
|
|
362
|
+
const reqOpts = listActivationLogs(
|
|
363
|
+
payload
|
|
364
|
+
);
|
|
365
|
+
sideEffects?.onSiteCall?.();
|
|
366
|
+
try {
|
|
367
|
+
const result = await httpClient.request(reqOpts);
|
|
368
|
+
sideEffects?.onSuccess?.(result);
|
|
369
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
370
|
+
} catch (err) {
|
|
371
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
372
|
+
err,
|
|
373
|
+
{
|
|
374
|
+
spreadPathsToArguments: {},
|
|
375
|
+
explicitPathsToArguments: {
|
|
376
|
+
fromCreatedDate: "$[0].fromCreatedDate",
|
|
377
|
+
toCreatedDate: "$[0].toCreatedDate",
|
|
378
|
+
cursorPaging: "$[0].cursorPaging",
|
|
379
|
+
includePayload: "$[0].includePayload",
|
|
380
|
+
identifierType: "$[0].identifierType",
|
|
381
|
+
automationIdInfo: "$[0].automationIdInfo",
|
|
382
|
+
preinstalledIdentifierInfo: "$[0].preinstalledIdentifierInfo"
|
|
383
|
+
},
|
|
384
|
+
singleArgumentUnchanged: false
|
|
385
|
+
},
|
|
386
|
+
["options"]
|
|
387
|
+
);
|
|
388
|
+
sideEffects?.onError?.(err);
|
|
389
|
+
throw transformedError;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
async function searchActivationLogsByPayloadPiiValue2(value, options) {
|
|
393
|
+
const { httpClient, sideEffects } = arguments[2];
|
|
394
|
+
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
395
|
+
value,
|
|
396
|
+
cursorPaging: options?.cursorPaging,
|
|
397
|
+
includePayload: options?.includePayload,
|
|
398
|
+
filterBy: options?.filterBy,
|
|
399
|
+
automationIdInfo: options?.automationIdInfo,
|
|
400
|
+
preinstalledIdentifierInfo: options?.preinstalledIdentifierInfo,
|
|
401
|
+
fromCreatedDate: options?.fromCreatedDate,
|
|
402
|
+
toCreatedDate: options?.toCreatedDate
|
|
403
|
+
});
|
|
404
|
+
const reqOpts = searchActivationLogsByPayloadPiiValue(
|
|
405
|
+
payload
|
|
406
|
+
);
|
|
407
|
+
sideEffects?.onSiteCall?.();
|
|
408
|
+
try {
|
|
409
|
+
const result = await httpClient.request(reqOpts);
|
|
410
|
+
sideEffects?.onSuccess?.(result);
|
|
411
|
+
return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
|
|
412
|
+
} catch (err) {
|
|
413
|
+
const transformedError = (0, import_transform_error.transformError)(
|
|
414
|
+
err,
|
|
415
|
+
{
|
|
416
|
+
spreadPathsToArguments: {},
|
|
417
|
+
explicitPathsToArguments: {
|
|
418
|
+
value: "$[0]",
|
|
419
|
+
cursorPaging: "$[1].cursorPaging",
|
|
420
|
+
includePayload: "$[1].includePayload",
|
|
421
|
+
filterBy: "$[1].filterBy",
|
|
422
|
+
automationIdInfo: "$[1].automationIdInfo",
|
|
423
|
+
preinstalledIdentifierInfo: "$[1].preinstalledIdentifierInfo",
|
|
424
|
+
fromCreatedDate: "$[1].fromCreatedDate",
|
|
425
|
+
toCreatedDate: "$[1].toCreatedDate"
|
|
426
|
+
},
|
|
427
|
+
singleArgumentUnchanged: false
|
|
428
|
+
},
|
|
429
|
+
["value", "options"]
|
|
430
|
+
);
|
|
431
|
+
sideEffects?.onError?.(err);
|
|
432
|
+
throw transformedError;
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
// src/automations-activation-logs-v1-activation-log-activation-log.public.ts
|
|
437
|
+
function getActivationLog3(httpClient) {
|
|
438
|
+
return (activationId) => getActivationLog2(
|
|
439
|
+
activationId,
|
|
440
|
+
// @ts-ignore
|
|
441
|
+
{ httpClient }
|
|
442
|
+
);
|
|
443
|
+
}
|
|
444
|
+
function listActivationLogs3(httpClient) {
|
|
445
|
+
return (options) => listActivationLogs2(
|
|
446
|
+
options,
|
|
447
|
+
// @ts-ignore
|
|
448
|
+
{ httpClient }
|
|
449
|
+
);
|
|
450
|
+
}
|
|
451
|
+
function searchActivationLogsByPayloadPiiValue3(httpClient) {
|
|
452
|
+
return (value, options) => searchActivationLogsByPayloadPiiValue2(
|
|
453
|
+
value,
|
|
454
|
+
options,
|
|
455
|
+
// @ts-ignore
|
|
456
|
+
{ httpClient }
|
|
457
|
+
);
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
// src/automations-activation-logs-v1-activation-log-activation-log.context.ts
|
|
461
|
+
var import_rest_modules3 = require("@wix/sdk-runtime/rest-modules");
|
|
462
|
+
var getActivationLog4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getActivationLog3);
|
|
463
|
+
var listActivationLogs4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(listActivationLogs3);
|
|
464
|
+
var searchActivationLogsByPayloadPiiValue4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(searchActivationLogsByPayloadPiiValue3);
|
|
465
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
466
|
+
0 && (module.exports = {
|
|
467
|
+
AutomationConfigurationStatus,
|
|
468
|
+
CancellationReason,
|
|
469
|
+
Domain,
|
|
470
|
+
ErrorReason,
|
|
471
|
+
FilterBy,
|
|
472
|
+
IdentifierType,
|
|
473
|
+
Language,
|
|
474
|
+
Operator,
|
|
475
|
+
Origin,
|
|
476
|
+
SkipReason,
|
|
477
|
+
Status,
|
|
478
|
+
Target,
|
|
479
|
+
TimeUnit,
|
|
480
|
+
Type,
|
|
481
|
+
WarningReason,
|
|
482
|
+
WebhookIdentityType,
|
|
483
|
+
getActivationLog,
|
|
484
|
+
listActivationLogs,
|
|
485
|
+
searchActivationLogsByPayloadPiiValue
|
|
486
|
+
});
|
|
487
|
+
//# sourceMappingURL=index.js.map
|