@wix/auto_sdk_automations_activation-log 1.0.3 → 1.0.5
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.types.d.ts +50 -18
- 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 +52 -20
- 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.types.d.ts +50 -18
- 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 +52 -20
- 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.types.d.ts +50 -18
- 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 +52 -20
- 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.types.d.ts +50 -18
- 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 +52 -20
- package/build/internal/es/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map +1 -1
- package/package.json +3 -3
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,6 +240,8 @@ 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;
|
|
@@ -359,7 +371,7 @@ export interface Automation extends AutomationOriginInfoOneOf {
|
|
|
359
371
|
* How the automation was added to the user's site.
|
|
360
372
|
* @immutable
|
|
361
373
|
*/
|
|
362
|
-
origin?:
|
|
374
|
+
origin?: OriginWithLiterals;
|
|
363
375
|
/** Automation settings. */
|
|
364
376
|
settings?: AutomationSettings;
|
|
365
377
|
/**
|
|
@@ -419,6 +431,8 @@ export declare enum Domain {
|
|
|
419
431
|
/** Wix account-level domain. */
|
|
420
432
|
WIX_ACCOUNT = "WIX_ACCOUNT"
|
|
421
433
|
}
|
|
434
|
+
/** @enumType */
|
|
435
|
+
export type DomainWithLiterals = Domain | 'USER' | 'WIX' | 'WIX_ACCOUNT';
|
|
422
436
|
export interface Enrichment {
|
|
423
437
|
/**
|
|
424
438
|
* Enrichment input mappings.
|
|
@@ -457,7 +471,7 @@ export interface AuditInfoIdOneOf {
|
|
|
457
471
|
}
|
|
458
472
|
export interface AutomationConfiguration {
|
|
459
473
|
/** Status of the automation on the site. */
|
|
460
|
-
status?:
|
|
474
|
+
status?: AutomationConfigurationStatusWithLiterals;
|
|
461
475
|
/** Trigger configuration. */
|
|
462
476
|
trigger?: Trigger;
|
|
463
477
|
/**
|
|
@@ -484,6 +498,8 @@ export declare enum TimeUnit {
|
|
|
484
498
|
/** Months. */
|
|
485
499
|
MONTHS = "MONTHS"
|
|
486
500
|
}
|
|
501
|
+
/** @enumType */
|
|
502
|
+
export type TimeUnitWithLiterals = TimeUnit | 'UNKNOWN_TIME_UNIT' | 'MINUTES' | 'HOURS' | 'DAYS' | 'WEEKS' | 'MONTHS';
|
|
487
503
|
export interface Filter {
|
|
488
504
|
/**
|
|
489
505
|
* Filter ID.
|
|
@@ -515,7 +531,7 @@ export interface FutureDateActivationOffset {
|
|
|
515
531
|
*/
|
|
516
532
|
preScheduledEventOffsetExpression?: string;
|
|
517
533
|
/** Unit in which to set the action offset. */
|
|
518
|
-
scheduledEventOffsetTimeUnit?:
|
|
534
|
+
scheduledEventOffsetTimeUnit?: TimeUnitWithLiterals;
|
|
519
535
|
}
|
|
520
536
|
export interface RateLimit {
|
|
521
537
|
/**
|
|
@@ -531,7 +547,7 @@ export interface RateLimit {
|
|
|
531
547
|
*/
|
|
532
548
|
durationExpression?: string | null;
|
|
533
549
|
/** Unit in which to set the duration of the rate limit. */
|
|
534
|
-
durationTimeUnit?:
|
|
550
|
+
durationTimeUnit?: TimeUnitWithLiterals;
|
|
535
551
|
/**
|
|
536
552
|
* Activation identifier used to count the number of activations.
|
|
537
553
|
* @minLength 1
|
|
@@ -549,7 +565,7 @@ export interface FilterValueSelection {
|
|
|
549
565
|
}
|
|
550
566
|
export interface ConditionExpressionGroup {
|
|
551
567
|
/** Logical operator used to evaluate the condition expressions. */
|
|
552
|
-
operator?:
|
|
568
|
+
operator?: OperatorWithLiterals;
|
|
553
569
|
/**
|
|
554
570
|
* Expressions evaluated using the selected operator.
|
|
555
571
|
* @minSize 1
|
|
@@ -566,9 +582,11 @@ export declare enum Operator {
|
|
|
566
582
|
/** `AND` operator. */
|
|
567
583
|
AND = "AND"
|
|
568
584
|
}
|
|
585
|
+
/** @enumType */
|
|
586
|
+
export type OperatorWithLiterals = Operator | 'UNKNOWN_OPERATOR' | 'OR' | 'AND';
|
|
569
587
|
export interface CodeSnippet {
|
|
570
588
|
/** Logical operator used to evaluate the condition expressions. */
|
|
571
|
-
language?:
|
|
589
|
+
language?: LanguageWithLiterals;
|
|
572
590
|
/**
|
|
573
591
|
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
574
592
|
* @maxLength 1000
|
|
@@ -581,6 +599,8 @@ export declare enum Language {
|
|
|
581
599
|
/** `JAVASCRIPT` language. */
|
|
582
600
|
JAVASCRIPT = "JAVASCRIPT"
|
|
583
601
|
}
|
|
602
|
+
/** @enumType */
|
|
603
|
+
export type LanguageWithLiterals = Language | 'UNKNOWN_LANGUAGE' | 'JAVASCRIPT';
|
|
584
604
|
/** Path definition */
|
|
585
605
|
export interface Path {
|
|
586
606
|
/**
|
|
@@ -612,6 +632,8 @@ export declare enum Type {
|
|
|
612
632
|
/** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
|
|
613
633
|
RATE_LIMIT = "RATE_LIMIT"
|
|
614
634
|
}
|
|
635
|
+
/** @enumType */
|
|
636
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_ACTION_TYPE' | 'APP_DEFINED' | 'CONDITION' | 'DELAY' | 'RATE_LIMIT';
|
|
615
637
|
export interface AppDefinedAction {
|
|
616
638
|
/**
|
|
617
639
|
* ID of the app that defines the action.
|
|
@@ -687,7 +709,7 @@ export interface DelayAction {
|
|
|
687
709
|
*/
|
|
688
710
|
offsetExpression?: string | null;
|
|
689
711
|
/** Unit in which to set the wait time to wait before the action runs. */
|
|
690
|
-
offsetTimeUnit?:
|
|
712
|
+
offsetTimeUnit?: TimeUnitWithLiterals;
|
|
691
713
|
/**
|
|
692
714
|
* Action run date in milliseconds elapsed since January 1, 1970 UTC.
|
|
693
715
|
*
|
|
@@ -716,7 +738,7 @@ export interface RateLimitAction {
|
|
|
716
738
|
*/
|
|
717
739
|
rateLimitDurationExpression?: string | null;
|
|
718
740
|
/** Unit in which to set the duration of the rate limit. */
|
|
719
|
-
rateLimitDurationTimeUnit?:
|
|
741
|
+
rateLimitDurationTimeUnit?: TimeUnitWithLiterals;
|
|
720
742
|
/**
|
|
721
743
|
* Unique identifier of each activation by which rate limiter counts activations.
|
|
722
744
|
* @minLength 1
|
|
@@ -766,6 +788,8 @@ export declare enum AutomationConfigurationStatus {
|
|
|
766
788
|
/** Inactive. Inactive automations cannot be triggered. */
|
|
767
789
|
INACTIVE = "INACTIVE"
|
|
768
790
|
}
|
|
791
|
+
/** @enumType */
|
|
792
|
+
export type AutomationConfigurationStatusWithLiterals = AutomationConfigurationStatus | 'UNKNOWN_STATUS' | 'ACTIVE' | 'INACTIVE';
|
|
769
793
|
export interface Trigger {
|
|
770
794
|
/**
|
|
771
795
|
* ID of the app that defines the trigger.
|
|
@@ -817,7 +841,7 @@ export interface Action extends ActionInfoOneOf {
|
|
|
817
841
|
*/
|
|
818
842
|
id?: string | null;
|
|
819
843
|
/** [Action type](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/about-automation-configuration#action-type). */
|
|
820
|
-
type?:
|
|
844
|
+
type?: TypeWithLiterals;
|
|
821
845
|
/**
|
|
822
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.
|
|
823
847
|
*
|
|
@@ -860,6 +884,8 @@ export declare enum Origin {
|
|
|
860
884
|
/** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */
|
|
861
885
|
PREINSTALLED = "PREINSTALLED"
|
|
862
886
|
}
|
|
887
|
+
/** @enumType */
|
|
888
|
+
export type OriginWithLiterals = Origin | 'UNKNOWN_ORIGIN' | 'USER' | 'APPLICATION' | 'PREINSTALLED';
|
|
863
889
|
export interface ApplicationOrigin {
|
|
864
890
|
/**
|
|
865
891
|
* [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
@@ -990,7 +1016,7 @@ export interface ListActivationLogsRequest extends ListActivationLogsRequestIden
|
|
|
990
1016
|
/** Should return payload in the response */
|
|
991
1017
|
includePayload?: boolean | null;
|
|
992
1018
|
/** identifier type for the activations to list */
|
|
993
|
-
identifierType:
|
|
1019
|
+
identifierType: IdentifierTypeWithLiterals;
|
|
994
1020
|
}
|
|
995
1021
|
/** @oneof */
|
|
996
1022
|
export interface ListActivationLogsRequestIdentifierOneOf {
|
|
@@ -1018,6 +1044,8 @@ export interface CursorPaging {
|
|
|
1018
1044
|
export declare enum IdentifierType {
|
|
1019
1045
|
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
1020
1046
|
}
|
|
1047
|
+
/** @enumType */
|
|
1048
|
+
export type IdentifierTypeWithLiterals = IdentifierType | 'UNKNOWN_TYPE';
|
|
1021
1049
|
export interface AutomationIdInfo {
|
|
1022
1050
|
/**
|
|
1023
1051
|
* Automation ID
|
|
@@ -1079,7 +1107,7 @@ export interface SearchActivationLogsByPayloadPiiValueRequest extends SearchActi
|
|
|
1079
1107
|
/** Should return payload in the response */
|
|
1080
1108
|
includePayload?: boolean | null;
|
|
1081
1109
|
/** Filter by */
|
|
1082
|
-
filterBy?:
|
|
1110
|
+
filterBy?: FilterByWithLiterals;
|
|
1083
1111
|
/** From created date */
|
|
1084
1112
|
fromCreatedDate?: Date | null;
|
|
1085
1113
|
/** To created date */
|
|
@@ -1096,6 +1124,8 @@ export interface SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf {
|
|
|
1096
1124
|
export declare enum FilterBy {
|
|
1097
1125
|
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
1098
1126
|
}
|
|
1127
|
+
/** @enumType */
|
|
1128
|
+
export type FilterByWithLiterals = FilterBy | 'UNKNOWN_TYPE';
|
|
1099
1129
|
export interface SearchActivationLogsByPayloadPiiValueResponse {
|
|
1100
1130
|
/** List of activation logs */
|
|
1101
1131
|
activationLogs?: ActivationLog[];
|
|
@@ -1140,7 +1170,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1140
1170
|
*/
|
|
1141
1171
|
appId?: string;
|
|
1142
1172
|
/** @readonly */
|
|
1143
|
-
identityType?:
|
|
1173
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1144
1174
|
}
|
|
1145
1175
|
/** @oneof */
|
|
1146
1176
|
export interface IdentificationDataIdOneOf {
|
|
@@ -1172,3 +1202,5 @@ export declare enum WebhookIdentityType {
|
|
|
1172
1202
|
WIX_USER = "WIX_USER",
|
|
1173
1203
|
APP = "APP"
|
|
1174
1204
|
}
|
|
1205
|
+
/** @enumType */
|
|
1206
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
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":";;;AAsCA,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;AACzB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AASD,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,iFAA2D,CAAA;IAC3D,4DAA4D;IAC5D,yDAAmC,CAAA;IACnC,yFAAyF;IACzF,uEAAiD,CAAA;IACjD,qFAAqF;IACrF,+DAAyC,CAAA;IACzC,iGAAiG;IACjG,mFAA6D,CAAA;IAC7D,qGAAqG;IACrG,6EAAuD,CAAA;AACzD,CAAC,EAZW,kBAAkB,kCAAlB,kBAAkB,QAY7B;AAyBD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,8BAA8B;IAC9B,kEAAmD,CAAA;IACnD,sDAAsD;IACtD,kFAAmE,CAAA;AACrE,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAQD,IAAY,UAUX;AAVD,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC3C,8GAA8G;IAC9G,6DAA+C,CAAA;IAC/C,8GAA8G;IAC9G,uEAAyD,CAAA;IACzD,oIAAoI;IACpI,yDAA2C,CAAA;IA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AAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B"}
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ export interface ActivationLog {
|
|
|
13
13
|
/** The activated automation revision */
|
|
14
14
|
automationRevision?: string;
|
|
15
15
|
/** Automation activation status */
|
|
16
|
-
status?:
|
|
16
|
+
status?: StatusWithLiterals;
|
|
17
17
|
/** Scheduled status additional info */
|
|
18
18
|
initiatedInfo?: InitiatedStatusInfo;
|
|
19
19
|
/** Scheduled status additional info */
|
|
@@ -41,6 +41,8 @@ export declare enum Target {
|
|
|
41
41
|
SCHEDULE = "SCHEDULE",
|
|
42
42
|
IMMEDIATE = "IMMEDIATE"
|
|
43
43
|
}
|
|
44
|
+
/** @enumType */
|
|
45
|
+
export type TargetWithLiterals = Target | 'UNKNOWN_TARGET' | 'SCHEDULE' | 'IMMEDIATE';
|
|
44
46
|
export declare enum CancellationReason {
|
|
45
47
|
UNKNOWN_CANCELLATION_REASON = "UNKNOWN_CANCELLATION_REASON",
|
|
46
48
|
/** Indicating that the activation was cancelled directly */
|
|
@@ -54,6 +56,8 @@ export declare enum CancellationReason {
|
|
|
54
56
|
/** Indicates that the activation was cancelled due to a UoU GDPR "Right to be Forgotten" request. */
|
|
55
57
|
CANCELLED_BY_GDPR_REQUEST = "CANCELLED_BY_GDPR_REQUEST"
|
|
56
58
|
}
|
|
59
|
+
/** @enumType */
|
|
60
|
+
export type CancellationReasonWithLiterals = CancellationReason | 'UNKNOWN_CANCELLATION_REASON' | 'EVENT_CANCELLED' | 'AUTOMATION_DEACTIVATED' | 'AUTOMATION_DELETED' | 'CANCELLED_BY_REFRESH_PAYLOAD' | 'CANCELLED_BY_GDPR_REQUEST';
|
|
57
61
|
export interface Identity {
|
|
58
62
|
/**
|
|
59
63
|
* User ID
|
|
@@ -72,6 +76,8 @@ export declare enum ErrorReason {
|
|
|
72
76
|
/** Failed to evaluate the schedule date expression */
|
|
73
77
|
SCHEDULE_DATE_EVALUATION_FAILED = "SCHEDULE_DATE_EVALUATION_FAILED"
|
|
74
78
|
}
|
|
79
|
+
/** @enumType */
|
|
80
|
+
export type ErrorReasonWithLiterals = ErrorReason | 'UNEXPECTED_ERROR_REASON' | 'SCHEDULE_DATE_EVALUATION_FAILED';
|
|
75
81
|
export declare enum SkipReason {
|
|
76
82
|
UNKNOWN_SKIP_REASON = "UNKNOWN_SKIP_REASON",
|
|
77
83
|
/** Activation was skipped because the scheduled execution time had already passed at the time of execution */
|
|
@@ -83,6 +89,8 @@ export declare enum SkipReason {
|
|
|
83
89
|
/** Activation was skipped because an event with the same idempotency key was already processed. */
|
|
84
90
|
EVENT_ALREADY_PROCESSED = "EVENT_ALREADY_PROCESSED"
|
|
85
91
|
}
|
|
92
|
+
/** @enumType */
|
|
93
|
+
export type SkipReasonWithLiterals = SkipReason | 'UNKNOWN_SKIP_REASON' | 'SCHEDULE_DATE_EXPIRED' | 'TRIGGER_FILTERS_NOT_PASSED' | 'RATE_LIMIT_EXCEEDED' | 'EVENT_ALREADY_PROCESSED';
|
|
86
94
|
export declare enum Status {
|
|
87
95
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
88
96
|
/** This indicates activation is not started yet (no action has run yet) */
|
|
@@ -106,11 +114,13 @@ export declare enum Status {
|
|
|
106
114
|
*/
|
|
107
115
|
SKIPPED = "SKIPPED"
|
|
108
116
|
}
|
|
117
|
+
/** @enumType */
|
|
118
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'INITIATED' | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELLED' | 'FAILED' | 'SKIPPED';
|
|
109
119
|
export interface InitiatedStatusInfo {
|
|
110
120
|
/** Created date */
|
|
111
121
|
statusChangedDate?: Date | null;
|
|
112
122
|
/** Target */
|
|
113
|
-
target?:
|
|
123
|
+
target?: TargetWithLiterals;
|
|
114
124
|
/** The reported trigger payload */
|
|
115
125
|
payload?: Record<string, any> | null;
|
|
116
126
|
/**
|
|
@@ -151,7 +161,7 @@ export interface CancelledStatusInfo {
|
|
|
151
161
|
/** Created date */
|
|
152
162
|
statusChangedDate?: Date | null;
|
|
153
163
|
/** Cancellation reason */
|
|
154
|
-
reason?:
|
|
164
|
+
reason?: CancellationReasonWithLiterals;
|
|
155
165
|
/** The identity (such as user, app etc.) that caused the cancellation */
|
|
156
166
|
initiator?: Identity;
|
|
157
167
|
}
|
|
@@ -170,7 +180,7 @@ export interface FailedStatusInfo {
|
|
|
170
180
|
*/
|
|
171
181
|
errorCode?: string | null;
|
|
172
182
|
/** Error reason */
|
|
173
|
-
errorReason?:
|
|
183
|
+
errorReason?: ErrorReasonWithLiterals;
|
|
174
184
|
/** Event payload */
|
|
175
185
|
payload?: Record<string, any> | null;
|
|
176
186
|
/**
|
|
@@ -188,7 +198,7 @@ export interface SkippedStatusInfo {
|
|
|
188
198
|
/** Created date */
|
|
189
199
|
statusChangedDate?: Date | null;
|
|
190
200
|
/** The reason why the automation activation was skipped */
|
|
191
|
-
reason?:
|
|
201
|
+
reason?: SkipReasonWithLiterals;
|
|
192
202
|
/** The reported trigger payload */
|
|
193
203
|
payload?: Record<string, any> | null;
|
|
194
204
|
/**
|
|
@@ -218,7 +228,7 @@ export interface Warning {
|
|
|
218
228
|
*/
|
|
219
229
|
errorCode?: string | null;
|
|
220
230
|
/** The reason for the warning */
|
|
221
|
-
reason?:
|
|
231
|
+
reason?: WarningReasonWithLiterals;
|
|
222
232
|
}
|
|
223
233
|
export declare enum WarningReason {
|
|
224
234
|
UNKNOWN_WARNING_REASON = "UNKNOWN_WARNING_REASON",
|
|
@@ -231,6 +241,8 @@ export declare enum WarningReason {
|
|
|
231
241
|
/** Failed to retrieve member information */
|
|
232
242
|
GET_MEMBER_ENRICHMENT_FAILED = "GET_MEMBER_ENRICHMENT_FAILED"
|
|
233
243
|
}
|
|
244
|
+
/** @enumType */
|
|
245
|
+
export type WarningReasonWithLiterals = WarningReason | 'UNKNOWN_WARNING_REASON' | 'STUDIO_SITE_ENRICHMENT_FAILED' | 'REFRESH_PAYLOAD_FAILED' | 'GET_CONTACT_ENRICHMENT_FAILED' | 'GET_MEMBER_ENRICHMENT_FAILED';
|
|
234
246
|
export interface DomainEvent extends DomainEventBodyOneOf {
|
|
235
247
|
createdEvent?: EntityCreatedEvent;
|
|
236
248
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -358,7 +370,7 @@ export interface Automation extends AutomationOriginInfoOneOf {
|
|
|
358
370
|
* How the automation was added to the user's site.
|
|
359
371
|
* @immutable
|
|
360
372
|
*/
|
|
361
|
-
origin?:
|
|
373
|
+
origin?: OriginWithLiterals;
|
|
362
374
|
/** Automation settings. */
|
|
363
375
|
settings?: AutomationSettings;
|
|
364
376
|
/**
|
|
@@ -418,6 +430,8 @@ export declare enum Domain {
|
|
|
418
430
|
/** Wix account-level domain. */
|
|
419
431
|
WIX_ACCOUNT = "WIX_ACCOUNT"
|
|
420
432
|
}
|
|
433
|
+
/** @enumType */
|
|
434
|
+
export type DomainWithLiterals = Domain | 'USER' | 'WIX' | 'WIX_ACCOUNT';
|
|
421
435
|
export interface Enrichment {
|
|
422
436
|
/**
|
|
423
437
|
* Enrichment input mappings.
|
|
@@ -456,7 +470,7 @@ export interface AuditInfoIdOneOf {
|
|
|
456
470
|
}
|
|
457
471
|
export interface AutomationConfiguration {
|
|
458
472
|
/** Status of the automation on the site. */
|
|
459
|
-
status?:
|
|
473
|
+
status?: AutomationConfigurationStatusWithLiterals;
|
|
460
474
|
/** Trigger configuration. */
|
|
461
475
|
trigger?: Trigger;
|
|
462
476
|
/**
|
|
@@ -483,6 +497,8 @@ export declare enum TimeUnit {
|
|
|
483
497
|
/** Months. */
|
|
484
498
|
MONTHS = "MONTHS"
|
|
485
499
|
}
|
|
500
|
+
/** @enumType */
|
|
501
|
+
export type TimeUnitWithLiterals = TimeUnit | 'UNKNOWN_TIME_UNIT' | 'MINUTES' | 'HOURS' | 'DAYS' | 'WEEKS' | 'MONTHS';
|
|
486
502
|
export interface Filter {
|
|
487
503
|
/**
|
|
488
504
|
* Filter ID.
|
|
@@ -514,7 +530,7 @@ export interface FutureDateActivationOffset {
|
|
|
514
530
|
*/
|
|
515
531
|
preScheduledEventOffsetExpression?: string;
|
|
516
532
|
/** Unit in which to set the action offset. */
|
|
517
|
-
scheduledEventOffsetTimeUnit?:
|
|
533
|
+
scheduledEventOffsetTimeUnit?: TimeUnitWithLiterals;
|
|
518
534
|
}
|
|
519
535
|
export interface RateLimit {
|
|
520
536
|
/**
|
|
@@ -530,7 +546,7 @@ export interface RateLimit {
|
|
|
530
546
|
*/
|
|
531
547
|
durationExpression?: string | null;
|
|
532
548
|
/** Unit in which to set the duration of the rate limit. */
|
|
533
|
-
durationTimeUnit?:
|
|
549
|
+
durationTimeUnit?: TimeUnitWithLiterals;
|
|
534
550
|
/**
|
|
535
551
|
* Activation identifier used to count the number of activations.
|
|
536
552
|
* @minLength 1
|
|
@@ -548,7 +564,7 @@ export interface FilterValueSelection {
|
|
|
548
564
|
}
|
|
549
565
|
export interface ConditionExpressionGroup {
|
|
550
566
|
/** Logical operator used to evaluate the condition expressions. */
|
|
551
|
-
operator?:
|
|
567
|
+
operator?: OperatorWithLiterals;
|
|
552
568
|
/**
|
|
553
569
|
* Expressions evaluated using the selected operator.
|
|
554
570
|
* @minSize 1
|
|
@@ -565,9 +581,11 @@ export declare enum Operator {
|
|
|
565
581
|
/** `AND` operator. */
|
|
566
582
|
AND = "AND"
|
|
567
583
|
}
|
|
584
|
+
/** @enumType */
|
|
585
|
+
export type OperatorWithLiterals = Operator | 'UNKNOWN_OPERATOR' | 'OR' | 'AND';
|
|
568
586
|
export interface CodeSnippet {
|
|
569
587
|
/** Logical operator used to evaluate the condition expressions. */
|
|
570
|
-
language?:
|
|
588
|
+
language?: LanguageWithLiterals;
|
|
571
589
|
/**
|
|
572
590
|
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
573
591
|
* @maxLength 1000
|
|
@@ -580,6 +598,8 @@ export declare enum Language {
|
|
|
580
598
|
/** `JAVASCRIPT` language. */
|
|
581
599
|
JAVASCRIPT = "JAVASCRIPT"
|
|
582
600
|
}
|
|
601
|
+
/** @enumType */
|
|
602
|
+
export type LanguageWithLiterals = Language | 'UNKNOWN_LANGUAGE' | 'JAVASCRIPT';
|
|
583
603
|
/** Path definition */
|
|
584
604
|
export interface Path {
|
|
585
605
|
/**
|
|
@@ -611,6 +631,8 @@ export declare enum Type {
|
|
|
611
631
|
/** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
|
|
612
632
|
RATE_LIMIT = "RATE_LIMIT"
|
|
613
633
|
}
|
|
634
|
+
/** @enumType */
|
|
635
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_ACTION_TYPE' | 'APP_DEFINED' | 'CONDITION' | 'DELAY' | 'RATE_LIMIT';
|
|
614
636
|
export interface AppDefinedAction {
|
|
615
637
|
/**
|
|
616
638
|
* ID of the app that defines the action.
|
|
@@ -686,7 +708,7 @@ export interface DelayAction {
|
|
|
686
708
|
*/
|
|
687
709
|
offsetExpression?: string | null;
|
|
688
710
|
/** Unit in which to set the wait time to wait before the action runs. */
|
|
689
|
-
offsetTimeUnit?:
|
|
711
|
+
offsetTimeUnit?: TimeUnitWithLiterals;
|
|
690
712
|
/**
|
|
691
713
|
* Action run date in milliseconds elapsed since January 1, 1970 UTC.
|
|
692
714
|
*
|
|
@@ -715,7 +737,7 @@ export interface RateLimitAction {
|
|
|
715
737
|
*/
|
|
716
738
|
rateLimitDurationExpression?: string | null;
|
|
717
739
|
/** Unit in which to set the duration of the rate limit. */
|
|
718
|
-
rateLimitDurationTimeUnit?:
|
|
740
|
+
rateLimitDurationTimeUnit?: TimeUnitWithLiterals;
|
|
719
741
|
/**
|
|
720
742
|
* Unique identifier of each activation by which rate limiter counts activations.
|
|
721
743
|
* @minLength 1
|
|
@@ -765,6 +787,8 @@ export declare enum AutomationConfigurationStatus {
|
|
|
765
787
|
/** Inactive. Inactive automations cannot be triggered. */
|
|
766
788
|
INACTIVE = "INACTIVE"
|
|
767
789
|
}
|
|
790
|
+
/** @enumType */
|
|
791
|
+
export type AutomationConfigurationStatusWithLiterals = AutomationConfigurationStatus | 'UNKNOWN_STATUS' | 'ACTIVE' | 'INACTIVE';
|
|
768
792
|
export interface Trigger {
|
|
769
793
|
/**
|
|
770
794
|
* ID of the app that defines the trigger.
|
|
@@ -816,7 +840,7 @@ export interface Action extends ActionInfoOneOf {
|
|
|
816
840
|
*/
|
|
817
841
|
_id?: string | null;
|
|
818
842
|
/** [Action type](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/about-automation-configuration#action-type). */
|
|
819
|
-
type?:
|
|
843
|
+
type?: TypeWithLiterals;
|
|
820
844
|
/**
|
|
821
845
|
* [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.
|
|
822
846
|
*
|
|
@@ -859,6 +883,8 @@ export declare enum Origin {
|
|
|
859
883
|
/** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */
|
|
860
884
|
PREINSTALLED = "PREINSTALLED"
|
|
861
885
|
}
|
|
886
|
+
/** @enumType */
|
|
887
|
+
export type OriginWithLiterals = Origin | 'UNKNOWN_ORIGIN' | 'USER' | 'APPLICATION' | 'PREINSTALLED';
|
|
862
888
|
export interface ApplicationOrigin {
|
|
863
889
|
/**
|
|
864
890
|
* [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
@@ -989,7 +1015,7 @@ export interface ListActivationLogsRequest extends ListActivationLogsRequestIden
|
|
|
989
1015
|
/** Should return payload in the response */
|
|
990
1016
|
includePayload?: boolean | null;
|
|
991
1017
|
/** identifier type for the activations to list */
|
|
992
|
-
identifierType:
|
|
1018
|
+
identifierType: IdentifierTypeWithLiterals;
|
|
993
1019
|
}
|
|
994
1020
|
/** @oneof */
|
|
995
1021
|
export interface ListActivationLogsRequestIdentifierOneOf {
|
|
@@ -1017,6 +1043,8 @@ export interface CursorPaging {
|
|
|
1017
1043
|
export declare enum IdentifierType {
|
|
1018
1044
|
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
1019
1045
|
}
|
|
1046
|
+
/** @enumType */
|
|
1047
|
+
export type IdentifierTypeWithLiterals = IdentifierType | 'UNKNOWN_TYPE';
|
|
1020
1048
|
export interface AutomationIdInfo {
|
|
1021
1049
|
/**
|
|
1022
1050
|
* Automation ID
|
|
@@ -1078,7 +1106,7 @@ export interface SearchActivationLogsByPayloadPiiValueRequest extends SearchActi
|
|
|
1078
1106
|
/** Should return payload in the response */
|
|
1079
1107
|
includePayload?: boolean | null;
|
|
1080
1108
|
/** Filter by */
|
|
1081
|
-
filterBy?:
|
|
1109
|
+
filterBy?: FilterByWithLiterals;
|
|
1082
1110
|
/** From created date */
|
|
1083
1111
|
fromCreatedDate?: Date | null;
|
|
1084
1112
|
/** To created date */
|
|
@@ -1095,6 +1123,8 @@ export interface SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf {
|
|
|
1095
1123
|
export declare enum FilterBy {
|
|
1096
1124
|
UNKNOWN_TYPE = "UNKNOWN_TYPE"
|
|
1097
1125
|
}
|
|
1126
|
+
/** @enumType */
|
|
1127
|
+
export type FilterByWithLiterals = FilterBy | 'UNKNOWN_TYPE';
|
|
1098
1128
|
export interface SearchActivationLogsByPayloadPiiValueResponse {
|
|
1099
1129
|
/** List of activation logs */
|
|
1100
1130
|
activationLogs?: ActivationLog[];
|
|
@@ -1139,7 +1169,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1139
1169
|
*/
|
|
1140
1170
|
appId?: string;
|
|
1141
1171
|
/** @readonly */
|
|
1142
|
-
identityType?:
|
|
1172
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1143
1173
|
}
|
|
1144
1174
|
/** @oneof */
|
|
1145
1175
|
export interface IdentificationDataIdOneOf {
|
|
@@ -1171,6 +1201,8 @@ export declare enum WebhookIdentityType {
|
|
|
1171
1201
|
WIX_USER = "WIX_USER",
|
|
1172
1202
|
APP = "APP"
|
|
1173
1203
|
}
|
|
1204
|
+
/** @enumType */
|
|
1205
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1174
1206
|
type ActivationLogNonNullablePaths = `_id` | `automationId` | `automationRevision` | `status` | `initiatedInfo.target` | `scheduledInfo.scheduleId` | `cancelledInfo.reason` | `failedInfo.errorDescription` | `failedInfo.errorReason` | `skippedInfo.reason` | `warnings` | `warnings.${number}.errorDescription` | `warnings.${number}.reason`;
|
|
1175
1207
|
/**
|
|
1176
1208
|
* Get activation log by ID
|
|
@@ -1214,7 +1246,7 @@ export interface ListActivationLogsOptions extends ListActivationLogsOptionsIden
|
|
|
1214
1246
|
/** Should return payload in the response */
|
|
1215
1247
|
includePayload?: boolean | null;
|
|
1216
1248
|
/** identifier type for the activations to list */
|
|
1217
|
-
identifierType:
|
|
1249
|
+
identifierType: IdentifierTypeWithLiterals;
|
|
1218
1250
|
/** Look up activations by automation id */
|
|
1219
1251
|
automationIdInfo?: AutomationIdInfo;
|
|
1220
1252
|
/** Look up activations by preinstalled identifier */
|
|
@@ -1252,7 +1284,7 @@ export interface SearchActivationLogsByPayloadPiiValueOptions extends SearchActi
|
|
|
1252
1284
|
/** Should return payload in the response */
|
|
1253
1285
|
includePayload?: boolean | null;
|
|
1254
1286
|
/** Filter by */
|
|
1255
|
-
filterBy?:
|
|
1287
|
+
filterBy?: FilterByWithLiterals;
|
|
1256
1288
|
/** Filter activations by value and automation id */
|
|
1257
1289
|
automationIdInfo?: AutomationIdInfo;
|
|
1258
1290
|
/** Filter activations by value and preinstalled */
|
package/build/cjs/src/automations-activation-logs-v1-activation-log-activation-log.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.universal.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,8JAAgJ;AAwChJ,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;AACzB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;
|
|
1
|
+
{"version":3,"file":"automations-activation-logs-v1-activation-log-activation-log.universal.js","sourceRoot":"","sources":["../../../src/automations-activation-logs-v1-activation-log-activation-log.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAGiD;AAEjD,8JAAgJ;AAwChJ,IAAY,MAIX;AAJD,WAAY,MAAM;IAChB,2CAAiC,CAAA;IACjC,+BAAqB,CAAA;IACrB,iCAAuB,CAAA;AACzB,CAAC,EAJW,MAAM,sBAAN,MAAM,QAIjB;AASD,IAAY,kBAYX;AAZD,WAAY,kBAAkB;IAC5B,iFAA2D,CAAA;IAC3D,4DAA4D;IAC5D,yDAAmC,CAAA;IACnC,yFAAyF;IACzF,uEAAiD,CAAA;IACjD,qFAAqF;IACrF,+DAAyC,CAAA;IACzC,iGAAiG;IACjG,mFAA6D,CAAA;IAC7D,qGAAqG;IACrG,6EAAuD,CAAA;AACzD,CAAC,EAZW,kBAAkB,kCAAlB,kBAAkB,QAY7B;AAyBD,IAAY,WAKX;AALD,WAAY,WAAW;IACrB,8BAA8B;IAC9B,kEAAmD,CAAA;IACnD,sDAAsD;IACtD,kFAAmE,CAAA;AACrE,CAAC,EALW,WAAW,2BAAX,WAAW,QAKtB;AAQD,IAAY,UAUX;AAVD,WAAY,UAAU;IACpB,yDAA2C,CAAA;IAC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