@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
package/build/meta.d.mts
ADDED
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import { aj as GetActivationLogRequest$1, ak as GetActivationLogResponse$1, al as ListActivationLogsRequest$1, a as ListActivationLogsResponse$1, as as SearchActivationLogsByPayloadPiiValueRequest$1, b as SearchActivationLogsByPayloadPiiValueResponse$1 } from './automations-activation-logs-v1-activation-log-activation-log.universal-CgZ_qxWG.mjs';
|
|
2
|
+
|
|
3
|
+
interface ActivationLog {
|
|
4
|
+
/**
|
|
5
|
+
* Activation ID
|
|
6
|
+
* @format GUID
|
|
7
|
+
*/
|
|
8
|
+
id?: string;
|
|
9
|
+
/**
|
|
10
|
+
* The activated automation ID
|
|
11
|
+
* @format GUID
|
|
12
|
+
*/
|
|
13
|
+
automationId?: string;
|
|
14
|
+
/** The activated automation revision */
|
|
15
|
+
automationRevision?: string;
|
|
16
|
+
/** Automation activation status */
|
|
17
|
+
status?: StatusWithLiterals;
|
|
18
|
+
/** Scheduled status additional info */
|
|
19
|
+
initiatedInfo?: InitiatedStatusInfo;
|
|
20
|
+
/** Scheduled status additional info */
|
|
21
|
+
scheduledInfo?: ScheduledStatusInfo;
|
|
22
|
+
/** Started status additional info */
|
|
23
|
+
startedInfo?: StartedStatusInfo;
|
|
24
|
+
/** Ended status additional info */
|
|
25
|
+
endedInfo?: EndedStatusInfo;
|
|
26
|
+
/** Cancelled status additional info */
|
|
27
|
+
cancelledInfo?: CancelledStatusInfo;
|
|
28
|
+
/** Failed status additional info */
|
|
29
|
+
failedInfo?: FailedStatusInfo;
|
|
30
|
+
/** Skipped status additional info */
|
|
31
|
+
skippedInfo?: SkippedStatusInfo;
|
|
32
|
+
/**
|
|
33
|
+
* Warnings information
|
|
34
|
+
* @maxSize 15
|
|
35
|
+
*/
|
|
36
|
+
warnings?: Warning[];
|
|
37
|
+
/** Created date */
|
|
38
|
+
createdDate?: Date | null;
|
|
39
|
+
}
|
|
40
|
+
declare enum Target {
|
|
41
|
+
UNKNOWN_TARGET = "UNKNOWN_TARGET",
|
|
42
|
+
SCHEDULE = "SCHEDULE",
|
|
43
|
+
IMMEDIATE = "IMMEDIATE"
|
|
44
|
+
}
|
|
45
|
+
/** @enumType */
|
|
46
|
+
type TargetWithLiterals = Target | 'UNKNOWN_TARGET' | 'SCHEDULE' | 'IMMEDIATE';
|
|
47
|
+
declare enum CancellationReason {
|
|
48
|
+
UNKNOWN_CANCELLATION_REASON = "UNKNOWN_CANCELLATION_REASON",
|
|
49
|
+
/** Indicating that the activation was cancelled directly */
|
|
50
|
+
EVENT_CANCELLED = "EVENT_CANCELLED",
|
|
51
|
+
/** Indicating that the activation is cancelled because the automation was deactivated */
|
|
52
|
+
AUTOMATION_DEACTIVATED = "AUTOMATION_DEACTIVATED",
|
|
53
|
+
/** Indicating that the activation is cancelled because the automation was deleted */
|
|
54
|
+
AUTOMATION_DELETED = "AUTOMATION_DELETED",
|
|
55
|
+
/** Indicating that the activation is cancelled after the automation schedule time was reached */
|
|
56
|
+
CANCELLED_BY_REFRESH_PAYLOAD = "CANCELLED_BY_REFRESH_PAYLOAD",
|
|
57
|
+
/** Indicates that the activation was cancelled due to a UoU GDPR "Right to be Forgotten" request. */
|
|
58
|
+
CANCELLED_BY_GDPR_REQUEST = "CANCELLED_BY_GDPR_REQUEST"
|
|
59
|
+
}
|
|
60
|
+
/** @enumType */
|
|
61
|
+
type CancellationReasonWithLiterals = CancellationReason | 'UNKNOWN_CANCELLATION_REASON' | 'EVENT_CANCELLED' | 'AUTOMATION_DEACTIVATED' | 'AUTOMATION_DELETED' | 'CANCELLED_BY_REFRESH_PAYLOAD' | 'CANCELLED_BY_GDPR_REQUEST';
|
|
62
|
+
interface Identity {
|
|
63
|
+
/**
|
|
64
|
+
* User ID
|
|
65
|
+
* @format GUID
|
|
66
|
+
*/
|
|
67
|
+
userId?: string | null;
|
|
68
|
+
/**
|
|
69
|
+
* App ID
|
|
70
|
+
* @format GUID
|
|
71
|
+
*/
|
|
72
|
+
appId?: string | null;
|
|
73
|
+
}
|
|
74
|
+
declare enum ErrorReason {
|
|
75
|
+
/** Unexpected error reason */
|
|
76
|
+
UNEXPECTED_ERROR_REASON = "UNEXPECTED_ERROR_REASON",
|
|
77
|
+
/** Failed to evaluate the schedule date expression */
|
|
78
|
+
SCHEDULE_DATE_EVALUATION_FAILED = "SCHEDULE_DATE_EVALUATION_FAILED"
|
|
79
|
+
}
|
|
80
|
+
/** @enumType */
|
|
81
|
+
type ErrorReasonWithLiterals = ErrorReason | 'UNEXPECTED_ERROR_REASON' | 'SCHEDULE_DATE_EVALUATION_FAILED';
|
|
82
|
+
declare enum SkipReason {
|
|
83
|
+
UNKNOWN_SKIP_REASON = "UNKNOWN_SKIP_REASON",
|
|
84
|
+
/** Activation was skipped because the scheduled execution time had already passed at the time of execution */
|
|
85
|
+
SCHEDULE_DATE_EXPIRED = "SCHEDULE_DATE_EXPIRED",
|
|
86
|
+
/** Activation was skipped because the trigger filters defined in the automation did not match the payload. */
|
|
87
|
+
TRIGGER_FILTERS_NOT_PASSED = "TRIGGER_FILTERS_NOT_PASSED",
|
|
88
|
+
/** Activation was skipped because it exceeded the configured rate limit (maximum number of executions allowed in a time period). */
|
|
89
|
+
RATE_LIMIT_EXCEEDED = "RATE_LIMIT_EXCEEDED",
|
|
90
|
+
/** Activation was skipped because an event with the same idempotency key was already processed. */
|
|
91
|
+
EVENT_ALREADY_PROCESSED = "EVENT_ALREADY_PROCESSED"
|
|
92
|
+
}
|
|
93
|
+
/** @enumType */
|
|
94
|
+
type SkipReasonWithLiterals = SkipReason | 'UNKNOWN_SKIP_REASON' | 'SCHEDULE_DATE_EXPIRED' | 'TRIGGER_FILTERS_NOT_PASSED' | 'RATE_LIMIT_EXCEEDED' | 'EVENT_ALREADY_PROCESSED';
|
|
95
|
+
declare enum Status {
|
|
96
|
+
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
97
|
+
/** This indicates activation is not started yet (no action has run yet) */
|
|
98
|
+
INITIATED = "INITIATED",
|
|
99
|
+
/** The activation is in scheduled status when the automation has future date or debounce defined and we're in the waiting stage (no action has run yet) */
|
|
100
|
+
SCHEDULED = "SCHEDULED",
|
|
101
|
+
/** This indicates the automation activation has started and currently in progress */
|
|
102
|
+
STARTED = "STARTED",
|
|
103
|
+
/** This indicates all the automation actions were handled either by invoking them, skipping them etc. */
|
|
104
|
+
ENDED = "ENDED",
|
|
105
|
+
/** This indicates the activation was cancelled */
|
|
106
|
+
CANCELLED = "CANCELLED",
|
|
107
|
+
/**
|
|
108
|
+
* This indicates the activation failed to start
|
|
109
|
+
* Note that failure in the activation of a single action will not result a failure in activation of the entire automation
|
|
110
|
+
*/
|
|
111
|
+
FAILED = "FAILED",
|
|
112
|
+
/**
|
|
113
|
+
* Indicates that the automation activation was skipped without executing any actions.
|
|
114
|
+
* Note that an activation will either be skipped immediately or move to INITIATED state.
|
|
115
|
+
*/
|
|
116
|
+
SKIPPED = "SKIPPED"
|
|
117
|
+
}
|
|
118
|
+
/** @enumType */
|
|
119
|
+
type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'INITIATED' | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELLED' | 'FAILED' | 'SKIPPED';
|
|
120
|
+
interface InitiatedStatusInfo {
|
|
121
|
+
/** Created date */
|
|
122
|
+
statusChangedDate?: Date | null;
|
|
123
|
+
/** Target */
|
|
124
|
+
target?: TargetWithLiterals;
|
|
125
|
+
/** The reported trigger payload */
|
|
126
|
+
payload?: Record<string, any> | null;
|
|
127
|
+
/**
|
|
128
|
+
* External entity ID
|
|
129
|
+
* @maxLength 40
|
|
130
|
+
*/
|
|
131
|
+
externalEntityId?: string | null;
|
|
132
|
+
/**
|
|
133
|
+
* Unique identifier for the request that initiated the automation
|
|
134
|
+
* @maxLength 100
|
|
135
|
+
*/
|
|
136
|
+
requestId?: string | null;
|
|
137
|
+
}
|
|
138
|
+
interface ScheduledStatusInfo {
|
|
139
|
+
/** Created date */
|
|
140
|
+
statusChangedDate?: Date | null;
|
|
141
|
+
/**
|
|
142
|
+
* Schedule identifier
|
|
143
|
+
* @format GUID
|
|
144
|
+
*/
|
|
145
|
+
scheduleId?: string;
|
|
146
|
+
/** Indicating when the activation should start */
|
|
147
|
+
date?: Date | null;
|
|
148
|
+
}
|
|
149
|
+
interface StartedStatusInfo {
|
|
150
|
+
/** Created date */
|
|
151
|
+
statusChangedDate?: Date | null;
|
|
152
|
+
/** Enriched and refreshed payload */
|
|
153
|
+
payload?: Record<string, any> | null;
|
|
154
|
+
}
|
|
155
|
+
interface EndedStatusInfo {
|
|
156
|
+
/** Created date */
|
|
157
|
+
statusChangedDate?: Date | null;
|
|
158
|
+
/** Indicates if the activation failed with errors in one or more actions. Actions that failed but eventually ended are not included */
|
|
159
|
+
withFailedActions?: boolean | null;
|
|
160
|
+
}
|
|
161
|
+
interface CancelledStatusInfo {
|
|
162
|
+
/** Created date */
|
|
163
|
+
statusChangedDate?: Date | null;
|
|
164
|
+
/** Cancellation reason */
|
|
165
|
+
reason?: CancellationReasonWithLiterals;
|
|
166
|
+
/** The identity (such as user, app etc.) that caused the cancellation */
|
|
167
|
+
initiator?: Identity;
|
|
168
|
+
}
|
|
169
|
+
interface FailedStatusInfo {
|
|
170
|
+
/** Created date */
|
|
171
|
+
statusChangedDate?: Date | null;
|
|
172
|
+
/**
|
|
173
|
+
* Error description
|
|
174
|
+
* @maxLength 1000
|
|
175
|
+
* @readonly
|
|
176
|
+
*/
|
|
177
|
+
errorDescription?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Error code
|
|
180
|
+
* @maxLength 20
|
|
181
|
+
*/
|
|
182
|
+
errorCode?: string | null;
|
|
183
|
+
/** Error reason */
|
|
184
|
+
errorReason?: ErrorReasonWithLiterals;
|
|
185
|
+
/** Event payload */
|
|
186
|
+
payload?: Record<string, any> | null;
|
|
187
|
+
/**
|
|
188
|
+
* External entity ID
|
|
189
|
+
* @maxLength 40
|
|
190
|
+
*/
|
|
191
|
+
externalEntityId?: string | null;
|
|
192
|
+
/**
|
|
193
|
+
* Unique identifier for the request that initiated the automation
|
|
194
|
+
* @maxLength 100
|
|
195
|
+
*/
|
|
196
|
+
requestId?: string | null;
|
|
197
|
+
}
|
|
198
|
+
interface SkippedStatusInfo {
|
|
199
|
+
/** Created date */
|
|
200
|
+
statusChangedDate?: Date | null;
|
|
201
|
+
/** The reason why the automation activation was skipped */
|
|
202
|
+
reason?: SkipReasonWithLiterals;
|
|
203
|
+
/** The reported trigger payload */
|
|
204
|
+
payload?: Record<string, any> | null;
|
|
205
|
+
/**
|
|
206
|
+
* External entity ID
|
|
207
|
+
* @maxLength 40
|
|
208
|
+
*/
|
|
209
|
+
externalEntityId?: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* Unique identifier for the request that initiated the automation
|
|
212
|
+
* @maxLength 100
|
|
213
|
+
*/
|
|
214
|
+
requestId?: string | null;
|
|
215
|
+
}
|
|
216
|
+
interface Warning {
|
|
217
|
+
/** Event date */
|
|
218
|
+
warningDate?: Date | null;
|
|
219
|
+
/**
|
|
220
|
+
* Detailed description of what caused the warning
|
|
221
|
+
* @maxLength 1000
|
|
222
|
+
* @readonly
|
|
223
|
+
*/
|
|
224
|
+
errorDescription?: string;
|
|
225
|
+
/**
|
|
226
|
+
* Error code of what caused the warning
|
|
227
|
+
* @maxLength 20
|
|
228
|
+
* @readonly
|
|
229
|
+
*/
|
|
230
|
+
errorCode?: string | null;
|
|
231
|
+
/** The reason for the warning */
|
|
232
|
+
reason?: WarningReasonWithLiterals;
|
|
233
|
+
}
|
|
234
|
+
declare enum WarningReason {
|
|
235
|
+
UNKNOWN_WARNING_REASON = "UNKNOWN_WARNING_REASON",
|
|
236
|
+
/** Failed to enrich payload with studio site enrichment */
|
|
237
|
+
STUDIO_SITE_ENRICHMENT_FAILED = "STUDIO_SITE_ENRICHMENT_FAILED",
|
|
238
|
+
/** Failed to refresh payload data */
|
|
239
|
+
REFRESH_PAYLOAD_FAILED = "REFRESH_PAYLOAD_FAILED",
|
|
240
|
+
/** Failed to retrieve contact information */
|
|
241
|
+
GET_CONTACT_ENRICHMENT_FAILED = "GET_CONTACT_ENRICHMENT_FAILED",
|
|
242
|
+
/** Failed to retrieve member information */
|
|
243
|
+
GET_MEMBER_ENRICHMENT_FAILED = "GET_MEMBER_ENRICHMENT_FAILED"
|
|
244
|
+
}
|
|
245
|
+
/** @enumType */
|
|
246
|
+
type WarningReasonWithLiterals = WarningReason | 'UNKNOWN_WARNING_REASON' | 'STUDIO_SITE_ENRICHMENT_FAILED' | 'REFRESH_PAYLOAD_FAILED' | 'GET_CONTACT_ENRICHMENT_FAILED' | 'GET_MEMBER_ENRICHMENT_FAILED';
|
|
247
|
+
interface GetActivationLogRequest {
|
|
248
|
+
/**
|
|
249
|
+
* Activation log ID
|
|
250
|
+
* @format GUID
|
|
251
|
+
*/
|
|
252
|
+
activationId: string;
|
|
253
|
+
}
|
|
254
|
+
interface GetActivationLogResponse {
|
|
255
|
+
/** Activation log */
|
|
256
|
+
activationLog?: ActivationLog;
|
|
257
|
+
}
|
|
258
|
+
interface ListActivationLogsRequest extends ListActivationLogsRequestIdentifierOneOf {
|
|
259
|
+
/** Look up activations by automation id */
|
|
260
|
+
automationIdInfo?: AutomationIdInfo;
|
|
261
|
+
/** Look up activations by preinstalled identifier */
|
|
262
|
+
preinstalledIdentifierInfo?: PreinstalledIdentifierInfo;
|
|
263
|
+
/** From created date, If not specified, defaults to 30 days before the current time. */
|
|
264
|
+
fromCreatedDate?: Date | null;
|
|
265
|
+
/** To created date, If not specified, defaults to current time. */
|
|
266
|
+
toCreatedDate?: Date | null;
|
|
267
|
+
/** Paging */
|
|
268
|
+
cursorPaging?: CursorPaging;
|
|
269
|
+
/** Should return payload in the response */
|
|
270
|
+
includePayload?: boolean | null;
|
|
271
|
+
/** identifier type for the activations to list */
|
|
272
|
+
identifierType: IdentifierTypeWithLiterals;
|
|
273
|
+
}
|
|
274
|
+
/** @oneof */
|
|
275
|
+
interface ListActivationLogsRequestIdentifierOneOf {
|
|
276
|
+
/** Look up activations by automation id */
|
|
277
|
+
automationIdInfo?: AutomationIdInfo;
|
|
278
|
+
/** Look up activations by preinstalled identifier */
|
|
279
|
+
preinstalledIdentifierInfo?: PreinstalledIdentifierInfo;
|
|
280
|
+
}
|
|
281
|
+
interface CursorPaging {
|
|
282
|
+
/**
|
|
283
|
+
* Maximum number of items to return in the results.
|
|
284
|
+
* @max 500
|
|
285
|
+
*/
|
|
286
|
+
limit?: number | null;
|
|
287
|
+
/**
|
|
288
|
+
* Pointer to the next or previous page in the list of results.
|
|
289
|
+
*
|
|
290
|
+
* Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
|
|
291
|
+
* Not relevant for the first request.
|
|
292
|
+
* @maxLength 16000
|
|
293
|
+
*/
|
|
294
|
+
cursor?: string | null;
|
|
295
|
+
}
|
|
296
|
+
/** Type of identifier used to look up activation logs */
|
|
297
|
+
declare enum IdentifierType {
|
|
298
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
299
|
+
}
|
|
300
|
+
/** @enumType */
|
|
301
|
+
type IdentifierTypeWithLiterals = IdentifierType | 'UNKNOWN_TYPE';
|
|
302
|
+
interface AutomationIdInfo {
|
|
303
|
+
/**
|
|
304
|
+
* Automation ID
|
|
305
|
+
* @format GUID
|
|
306
|
+
*/
|
|
307
|
+
automationId?: string;
|
|
308
|
+
}
|
|
309
|
+
interface PreinstalledIdentifierInfo {
|
|
310
|
+
/**
|
|
311
|
+
* ID of the app that defines the preinstalled automation.
|
|
312
|
+
* @format GUID
|
|
313
|
+
*/
|
|
314
|
+
appId?: string;
|
|
315
|
+
/**
|
|
316
|
+
* Application component ID.
|
|
317
|
+
* @format GUID
|
|
318
|
+
*/
|
|
319
|
+
componentId?: string;
|
|
320
|
+
}
|
|
321
|
+
interface ListActivationLogsResponse {
|
|
322
|
+
/** List of activation logs */
|
|
323
|
+
activationLogs?: ActivationLog[];
|
|
324
|
+
/** Paging metadata */
|
|
325
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
326
|
+
}
|
|
327
|
+
interface CursorPagingMetadata {
|
|
328
|
+
/** Number of items returned in the response. */
|
|
329
|
+
count?: number | null;
|
|
330
|
+
/** Cursor string that point to the next page */
|
|
331
|
+
cursors?: Cursors;
|
|
332
|
+
/**
|
|
333
|
+
* Whether there are more pages to retrieve following the current page.
|
|
334
|
+
*
|
|
335
|
+
* + `true`: Another page of results can be retrieved.
|
|
336
|
+
* + `false`: This is the last page.
|
|
337
|
+
*/
|
|
338
|
+
hasNext?: boolean | null;
|
|
339
|
+
}
|
|
340
|
+
interface Cursors {
|
|
341
|
+
/**
|
|
342
|
+
* Cursor string pointing to the next page in the list of results.
|
|
343
|
+
* @maxLength 16000
|
|
344
|
+
*/
|
|
345
|
+
next?: string | null;
|
|
346
|
+
}
|
|
347
|
+
interface SearchActivationLogsByPayloadPiiValueRequest extends SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf {
|
|
348
|
+
/** Filter activations by value and automation id */
|
|
349
|
+
automationIdInfo?: AutomationIdInfo;
|
|
350
|
+
/** Filter activations by value and preinstalled */
|
|
351
|
+
preinstalledIdentifierInfo?: PreinstalledIdentifierInfo;
|
|
352
|
+
/**
|
|
353
|
+
* Value to search in the payload
|
|
354
|
+
* @minLength 1
|
|
355
|
+
* @maxLength 50
|
|
356
|
+
*/
|
|
357
|
+
value: string;
|
|
358
|
+
/** Paging */
|
|
359
|
+
cursorPaging?: CursorPaging;
|
|
360
|
+
/** Should return payload in the response */
|
|
361
|
+
includePayload?: boolean | null;
|
|
362
|
+
/** Filter by */
|
|
363
|
+
filterBy?: FilterByWithLiterals;
|
|
364
|
+
/** From created date */
|
|
365
|
+
fromCreatedDate?: Date | null;
|
|
366
|
+
/** To created date */
|
|
367
|
+
toCreatedDate?: Date | null;
|
|
368
|
+
}
|
|
369
|
+
/** @oneof */
|
|
370
|
+
interface SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf {
|
|
371
|
+
/** Filter activations by value and automation id */
|
|
372
|
+
automationIdInfo?: AutomationIdInfo;
|
|
373
|
+
/** Filter activations by value and preinstalled */
|
|
374
|
+
preinstalledIdentifierInfo?: PreinstalledIdentifierInfo;
|
|
375
|
+
}
|
|
376
|
+
/** FilterBy */
|
|
377
|
+
declare enum FilterBy {
|
|
378
|
+
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
379
|
+
}
|
|
380
|
+
/** @enumType */
|
|
381
|
+
type FilterByWithLiterals = FilterBy | 'UNKNOWN_TYPE';
|
|
382
|
+
interface SearchActivationLogsByPayloadPiiValueResponse {
|
|
383
|
+
/** List of activation logs */
|
|
384
|
+
activationLogs?: ActivationLog[];
|
|
385
|
+
/** Paging metadata */
|
|
386
|
+
pagingMetadata?: CursorPagingMetadata;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
390
|
+
getUrl: (context: any) => string;
|
|
391
|
+
httpMethod: K;
|
|
392
|
+
path: string;
|
|
393
|
+
pathParams: M;
|
|
394
|
+
__requestType: T;
|
|
395
|
+
__originalRequestType: S;
|
|
396
|
+
__responseType: Q;
|
|
397
|
+
__originalResponseType: R;
|
|
398
|
+
};
|
|
399
|
+
declare function getActivationLog(): __PublicMethodMetaInfo<'GET', {
|
|
400
|
+
activationId: string;
|
|
401
|
+
}, GetActivationLogRequest$1, GetActivationLogRequest, GetActivationLogResponse$1, GetActivationLogResponse>;
|
|
402
|
+
declare function listActivationLogs(): __PublicMethodMetaInfo<'GET', {}, ListActivationLogsRequest$1, ListActivationLogsRequest, ListActivationLogsResponse$1, ListActivationLogsResponse>;
|
|
403
|
+
declare function searchActivationLogsByPayloadPiiValue(): __PublicMethodMetaInfo<'POST', {}, SearchActivationLogsByPayloadPiiValueRequest$1, SearchActivationLogsByPayloadPiiValueRequest, SearchActivationLogsByPayloadPiiValueResponse$1, SearchActivationLogsByPayloadPiiValueResponse>;
|
|
404
|
+
|
|
405
|
+
export { type __PublicMethodMetaInfo, getActivationLog, listActivationLogs, searchActivationLogsByPayloadPiiValue };
|