@wix/auto_sdk_automations_activations 1.0.24 → 1.0.25
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-v2-activation-activations.types.d.ts +68 -26
- package/build/cjs/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/cjs/src/automations-v2-activation-activations.universal.d.ts +68 -26
- package/build/cjs/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/build/es/src/automations-v2-activation-activations.types.d.ts +68 -26
- package/build/es/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/es/src/automations-v2-activation-activations.universal.d.ts +68 -26
- package/build/es/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.types.d.ts +68 -26
- package/build/internal/cjs/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/internal/cjs/src/automations-v2-activation-activations.universal.d.ts +68 -26
- package/build/internal/cjs/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.types.d.ts +68 -26
- package/build/internal/es/src/automations-v2-activation-activations.types.js.map +1 -1
- package/build/internal/es/src/automations-v2-activation-activations.universal.d.ts +68 -26
- package/build/internal/es/src/automations-v2-activation-activations.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -61,7 +61,7 @@ export interface Automation extends AutomationOriginInfoOneOf {
|
|
|
61
61
|
* How the automation was added to the user's site.
|
|
62
62
|
* @immutable
|
|
63
63
|
*/
|
|
64
|
-
origin?:
|
|
64
|
+
origin?: OriginWithLiterals;
|
|
65
65
|
/** Automation settings. */
|
|
66
66
|
settings?: AutomationSettings;
|
|
67
67
|
/**
|
|
@@ -121,6 +121,8 @@ export declare enum Domain {
|
|
|
121
121
|
/** Wix account-level domain. */
|
|
122
122
|
WIX_ACCOUNT = "WIX_ACCOUNT"
|
|
123
123
|
}
|
|
124
|
+
/** @enumType */
|
|
125
|
+
export type DomainWithLiterals = Domain | 'USER' | 'WIX' | 'WIX_ACCOUNT';
|
|
124
126
|
export interface Enrichment {
|
|
125
127
|
/**
|
|
126
128
|
* Enrichment input mappings.
|
|
@@ -159,7 +161,7 @@ export interface AuditInfoIdOneOf {
|
|
|
159
161
|
}
|
|
160
162
|
export interface AutomationConfiguration {
|
|
161
163
|
/** Status of the automation on the site. */
|
|
162
|
-
status?:
|
|
164
|
+
status?: AutomationConfigurationStatusWithLiterals;
|
|
163
165
|
/** Trigger configuration. */
|
|
164
166
|
trigger?: Trigger;
|
|
165
167
|
/**
|
|
@@ -186,6 +188,8 @@ export declare enum TimeUnit {
|
|
|
186
188
|
/** Months. */
|
|
187
189
|
MONTHS = "MONTHS"
|
|
188
190
|
}
|
|
191
|
+
/** @enumType */
|
|
192
|
+
export type TimeUnitWithLiterals = TimeUnit | 'UNKNOWN_TIME_UNIT' | 'MINUTES' | 'HOURS' | 'DAYS' | 'WEEKS' | 'MONTHS';
|
|
189
193
|
export interface Filter {
|
|
190
194
|
/**
|
|
191
195
|
* Filter ID.
|
|
@@ -217,7 +221,7 @@ export interface FutureDateActivationOffset {
|
|
|
217
221
|
*/
|
|
218
222
|
preScheduledEventOffsetExpression?: string;
|
|
219
223
|
/** Unit in which to set the action offset. */
|
|
220
|
-
scheduledEventOffsetTimeUnit?:
|
|
224
|
+
scheduledEventOffsetTimeUnit?: TimeUnitWithLiterals;
|
|
221
225
|
}
|
|
222
226
|
export interface RateLimit {
|
|
223
227
|
/**
|
|
@@ -233,7 +237,7 @@ export interface RateLimit {
|
|
|
233
237
|
*/
|
|
234
238
|
durationExpression?: string | null;
|
|
235
239
|
/** Unit in which to set the duration of the rate limit. */
|
|
236
|
-
durationTimeUnit?:
|
|
240
|
+
durationTimeUnit?: TimeUnitWithLiterals;
|
|
237
241
|
/**
|
|
238
242
|
* Activation identifier used to count the number of activations.
|
|
239
243
|
* @minLength 1
|
|
@@ -251,7 +255,7 @@ export interface FilterValueSelection {
|
|
|
251
255
|
}
|
|
252
256
|
export interface ConditionExpressionGroup {
|
|
253
257
|
/** Logical operator used to evaluate the condition expressions. */
|
|
254
|
-
operator?:
|
|
258
|
+
operator?: OperatorWithLiterals;
|
|
255
259
|
/**
|
|
256
260
|
* Expressions evaluated using the selected operator.
|
|
257
261
|
* @minSize 1
|
|
@@ -268,9 +272,11 @@ export declare enum Operator {
|
|
|
268
272
|
/** `AND` operator. */
|
|
269
273
|
AND = "AND"
|
|
270
274
|
}
|
|
275
|
+
/** @enumType */
|
|
276
|
+
export type OperatorWithLiterals = Operator | 'UNKNOWN_OPERATOR' | 'OR' | 'AND';
|
|
271
277
|
export interface ActionCodeSnippet {
|
|
272
278
|
/** Logical operator used to evaluate the condition expressions. */
|
|
273
|
-
language?:
|
|
279
|
+
language?: CodeSnippetLanguageWithLiterals;
|
|
274
280
|
/**
|
|
275
281
|
* Expressions evaluated using the selected operator. this code should comply the language syntax. and format
|
|
276
282
|
* @maxLength 1000
|
|
@@ -283,6 +289,8 @@ export declare enum CodeSnippetLanguage {
|
|
|
283
289
|
/** `JAVASCRIPT` language. */
|
|
284
290
|
JAVASCRIPT = "JAVASCRIPT"
|
|
285
291
|
}
|
|
292
|
+
/** @enumType */
|
|
293
|
+
export type CodeSnippetLanguageWithLiterals = CodeSnippetLanguage | 'UNKNOWN_LANGUAGE' | 'JAVASCRIPT';
|
|
286
294
|
/** Path definition */
|
|
287
295
|
export interface SplitActionPath {
|
|
288
296
|
/**
|
|
@@ -314,6 +322,8 @@ export declare enum Type {
|
|
|
314
322
|
/** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
|
|
315
323
|
RATE_LIMIT = "RATE_LIMIT"
|
|
316
324
|
}
|
|
325
|
+
/** @enumType */
|
|
326
|
+
export type TypeWithLiterals = Type | 'UNKNOWN_ACTION_TYPE' | 'APP_DEFINED' | 'CONDITION' | 'DELAY' | 'RATE_LIMIT';
|
|
317
327
|
export interface AppDefinedAction {
|
|
318
328
|
/**
|
|
319
329
|
* ID of the app that defines the action.
|
|
@@ -389,7 +399,7 @@ export interface DelayAction {
|
|
|
389
399
|
*/
|
|
390
400
|
offsetExpression?: string | null;
|
|
391
401
|
/** Unit in which to set the wait time to wait before the action runs. */
|
|
392
|
-
offsetTimeUnit?:
|
|
402
|
+
offsetTimeUnit?: TimeUnitWithLiterals;
|
|
393
403
|
/**
|
|
394
404
|
* Action run date in milliseconds elapsed since January 1, 1970 UTC.
|
|
395
405
|
*
|
|
@@ -418,7 +428,7 @@ export interface RateLimitAction {
|
|
|
418
428
|
*/
|
|
419
429
|
rateLimitDurationExpression?: string | null;
|
|
420
430
|
/** Unit in which to set the duration of the rate limit. */
|
|
421
|
-
rateLimitDurationTimeUnit?:
|
|
431
|
+
rateLimitDurationTimeUnit?: TimeUnitWithLiterals;
|
|
422
432
|
/**
|
|
423
433
|
* Unique identifier of each activation by which rate limiter counts activations.
|
|
424
434
|
* @minLength 1
|
|
@@ -468,6 +478,8 @@ export declare enum AutomationConfigurationStatus {
|
|
|
468
478
|
/** Inactive. Inactive automations cannot be triggered. */
|
|
469
479
|
INACTIVE = "INACTIVE"
|
|
470
480
|
}
|
|
481
|
+
/** @enumType */
|
|
482
|
+
export type AutomationConfigurationStatusWithLiterals = AutomationConfigurationStatus | 'UNKNOWN_STATUS' | 'ACTIVE' | 'INACTIVE';
|
|
471
483
|
export interface Trigger {
|
|
472
484
|
/**
|
|
473
485
|
* ID of the app that defines the trigger.
|
|
@@ -519,7 +531,7 @@ export interface AutomationConfigurationAction extends AutomationConfigurationAc
|
|
|
519
531
|
*/
|
|
520
532
|
id?: string | null;
|
|
521
533
|
/** [Action type](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/about-automation-configuration#action-type). */
|
|
522
|
-
type?:
|
|
534
|
+
type?: TypeWithLiterals;
|
|
523
535
|
/**
|
|
524
536
|
* [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.
|
|
525
537
|
*
|
|
@@ -562,6 +574,8 @@ export declare enum Origin {
|
|
|
562
574
|
/** [Preinstalled automation](https://dev.wix.com/docs/build-apps/develop-your-app/extensions/backend-extensions/automations/pre-installed-automations/about-pre-installed-automations). */
|
|
563
575
|
PREINSTALLED = "PREINSTALLED"
|
|
564
576
|
}
|
|
577
|
+
/** @enumType */
|
|
578
|
+
export type OriginWithLiterals = Origin | 'UNKNOWN_ORIGIN' | 'USER' | 'APPLICATION' | 'PREINSTALLED';
|
|
565
579
|
export interface ApplicationOrigin {
|
|
566
580
|
/**
|
|
567
581
|
* [App ID](https://dev.wix.com/docs/build-apps/get-started/overview/glossary#app-id).
|
|
@@ -659,7 +673,7 @@ export interface ActivationStatusChanged extends ActivationStatusChangedStatusIn
|
|
|
659
673
|
/** Activation */
|
|
660
674
|
activation?: Activation;
|
|
661
675
|
/** Activation status */
|
|
662
|
-
status?:
|
|
676
|
+
status?: ActivationStatusChangedStatusWithLiterals;
|
|
663
677
|
/** Change event created date */
|
|
664
678
|
statusChangedDate?: Date | null;
|
|
665
679
|
}
|
|
@@ -683,6 +697,8 @@ export declare enum Target {
|
|
|
683
697
|
SCHEDULE = "SCHEDULE",
|
|
684
698
|
IMMEDIATE = "IMMEDIATE"
|
|
685
699
|
}
|
|
700
|
+
/** @enumType */
|
|
701
|
+
export type TargetWithLiterals = Target | 'UNKNOWN_TARGET' | 'SCHEDULE' | 'IMMEDIATE';
|
|
686
702
|
export declare enum CancellationReason {
|
|
687
703
|
UNKNOWN_CANCELLATION_REASON = "UNKNOWN_CANCELLATION_REASON",
|
|
688
704
|
/** Indicates that the activation was cancelled directly. */
|
|
@@ -696,6 +712,8 @@ export declare enum CancellationReason {
|
|
|
696
712
|
/** Indicates that the activation was cancelled due to a UoU GDPR "Right to be Forgotten" request. */
|
|
697
713
|
CANCELLED_BY_GDPR_REQUEST = "CANCELLED_BY_GDPR_REQUEST"
|
|
698
714
|
}
|
|
715
|
+
/** @enumType */
|
|
716
|
+
export type CancellationReasonWithLiterals = CancellationReason | 'UNKNOWN_CANCELLATION_REASON' | 'EVENT_CANCELLED' | 'AUTOMATION_DEACTIVATED' | 'AUTOMATION_DELETED' | 'CANCELLED_BY_REFRESH_PAYLOAD' | 'CANCELLED_BY_GDPR_REQUEST';
|
|
699
717
|
export interface Identity {
|
|
700
718
|
/**
|
|
701
719
|
* User ID
|
|
@@ -714,6 +732,8 @@ export declare enum ErrorReason {
|
|
|
714
732
|
/** Failed to evaluate the schedule date expression */
|
|
715
733
|
SCHEDULE_DATE_EVALUATION_FAILED = "SCHEDULE_DATE_EVALUATION_FAILED"
|
|
716
734
|
}
|
|
735
|
+
/** @enumType */
|
|
736
|
+
export type ErrorReasonWithLiterals = ErrorReason | 'UNEXPECTED_ERROR_REASON' | 'SCHEDULE_DATE_EVALUATION_FAILED';
|
|
717
737
|
export declare enum SkipReason {
|
|
718
738
|
UNKNOWN_SKIP_REASON = "UNKNOWN_SKIP_REASON",
|
|
719
739
|
/** Activation was skipped because the scheduled execution time had already passed at the time of execution. */
|
|
@@ -725,6 +745,8 @@ export declare enum SkipReason {
|
|
|
725
745
|
/** Activation was skipped because an event with the same idempotency key was already processed. */
|
|
726
746
|
EVENT_ALREADY_PROCESSED = "EVENT_ALREADY_PROCESSED"
|
|
727
747
|
}
|
|
748
|
+
/** @enumType */
|
|
749
|
+
export type SkipReasonWithLiterals = SkipReason | 'UNKNOWN_SKIP_REASON' | 'SCHEDULE_DATE_EXPIRED' | 'TRIGGER_FILTERS_NOT_PASSED' | 'RATE_LIMIT_EXCEEDED' | 'EVENT_ALREADY_PROCESSED';
|
|
728
750
|
export declare enum ActivationStatusChangedStatus {
|
|
729
751
|
UNKNOWN_STATUS = "UNKNOWN_STATUS",
|
|
730
752
|
/** Indicates that activation has not started yet and no actions have been executed. */
|
|
@@ -748,6 +770,8 @@ export declare enum ActivationStatusChangedStatus {
|
|
|
748
770
|
*/
|
|
749
771
|
SKIPPED = "SKIPPED"
|
|
750
772
|
}
|
|
773
|
+
/** @enumType */
|
|
774
|
+
export type ActivationStatusChangedStatusWithLiterals = ActivationStatusChangedStatus | 'UNKNOWN_STATUS' | 'INITIATED' | 'SCHEDULED' | 'STARTED' | 'ENDED' | 'CANCELLED' | 'FAILED' | 'SKIPPED';
|
|
751
775
|
export interface Metadata {
|
|
752
776
|
/**
|
|
753
777
|
* Identity field keys that are collected from the trigger payload schema, including contact and member ids
|
|
@@ -758,7 +782,7 @@ export interface Metadata {
|
|
|
758
782
|
}
|
|
759
783
|
export interface InitiatedStatusInfo {
|
|
760
784
|
/** Activation target */
|
|
761
|
-
target?:
|
|
785
|
+
target?: TargetWithLiterals;
|
|
762
786
|
/** Event payload */
|
|
763
787
|
payload?: Record<string, any> | null;
|
|
764
788
|
/**
|
|
@@ -787,7 +811,7 @@ export interface ScheduledStatusInfo {
|
|
|
787
811
|
}
|
|
788
812
|
export interface CancelledStatusInfo {
|
|
789
813
|
/** Cancellation reason */
|
|
790
|
-
reason?:
|
|
814
|
+
reason?: CancellationReasonWithLiterals;
|
|
791
815
|
/** Identity (such as user, app, etc.) that caused the cancellation. */
|
|
792
816
|
initiator?: Identity;
|
|
793
817
|
}
|
|
@@ -805,7 +829,7 @@ export interface ActivationStatusChangedFailedStatusInfo {
|
|
|
805
829
|
*/
|
|
806
830
|
errorCode?: string | null;
|
|
807
831
|
/** Error reason */
|
|
808
|
-
errorReason?:
|
|
832
|
+
errorReason?: ErrorReasonWithLiterals;
|
|
809
833
|
/** Event payload */
|
|
810
834
|
payload?: Record<string, any> | null;
|
|
811
835
|
/**
|
|
@@ -821,7 +845,7 @@ export interface ActivationStatusChangedFailedStatusInfo {
|
|
|
821
845
|
}
|
|
822
846
|
export interface SkippedStatusInfo {
|
|
823
847
|
/** The reason why the automation activation was skipped */
|
|
824
|
-
reason?:
|
|
848
|
+
reason?: SkipReasonWithLiterals;
|
|
825
849
|
/** Event payload */
|
|
826
850
|
payload?: Record<string, any> | null;
|
|
827
851
|
/**
|
|
@@ -857,7 +881,7 @@ export interface Schedule {
|
|
|
857
881
|
/** Raw domain event, not enriched */
|
|
858
882
|
eventPayload?: string;
|
|
859
883
|
/** @readonly */
|
|
860
|
-
scheduleStatus?:
|
|
884
|
+
scheduleStatus?: ScheduleStatusWithLiterals;
|
|
861
885
|
/** @readonly */
|
|
862
886
|
scheduleDate?: Date | null;
|
|
863
887
|
/** @readonly */
|
|
@@ -898,7 +922,7 @@ export interface DelayOfOneOf {
|
|
|
898
922
|
}
|
|
899
923
|
export interface SimpleDelay {
|
|
900
924
|
value?: number;
|
|
901
|
-
units?:
|
|
925
|
+
units?: UnitsWithLiterals;
|
|
902
926
|
/**
|
|
903
927
|
* Optional, used if provided: Jsonata expression that evaluates to a number of milliseconds to wait
|
|
904
928
|
* @maxLength 300
|
|
@@ -911,12 +935,16 @@ export declare enum Units {
|
|
|
911
935
|
HOURS = "HOURS",
|
|
912
936
|
DAYS = "DAYS"
|
|
913
937
|
}
|
|
938
|
+
/** @enumType */
|
|
939
|
+
export type UnitsWithLiterals = Units | 'UNKNOWN' | 'MINUTES' | 'HOURS' | 'DAYS';
|
|
914
940
|
export declare enum ScheduleStatus {
|
|
915
941
|
UNKNOWN_SCHEDULE_STATUS = "UNKNOWN_SCHEDULE_STATUS",
|
|
916
942
|
PENDING = "PENDING",
|
|
917
943
|
CANCELLED = "CANCELLED",
|
|
918
944
|
DONE = "DONE"
|
|
919
945
|
}
|
|
946
|
+
/** @enumType */
|
|
947
|
+
export type ScheduleStatusWithLiterals = ScheduleStatus | 'UNKNOWN_SCHEDULE_STATUS' | 'PENDING' | 'CANCELLED' | 'DONE';
|
|
920
948
|
export interface TriggerInfo {
|
|
921
949
|
/**
|
|
922
950
|
* App id of the initial trigger.
|
|
@@ -1069,7 +1097,7 @@ export interface IdentificationData extends IdentificationDataIdOneOf {
|
|
|
1069
1097
|
*/
|
|
1070
1098
|
appId?: string;
|
|
1071
1099
|
/** @readonly */
|
|
1072
|
-
identityType?:
|
|
1100
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1073
1101
|
}
|
|
1074
1102
|
/** @oneof */
|
|
1075
1103
|
export interface IdentificationDataIdOneOf {
|
|
@@ -1101,6 +1129,8 @@ export declare enum WebhookIdentityType {
|
|
|
1101
1129
|
WIX_USER = "WIX_USER",
|
|
1102
1130
|
APP = "APP"
|
|
1103
1131
|
}
|
|
1132
|
+
/** @enumType */
|
|
1133
|
+
export type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1104
1134
|
export interface ConsumeReportEventRequest {
|
|
1105
1135
|
/**
|
|
1106
1136
|
* Repeated list of event details for bulk reporting.
|
|
@@ -1336,8 +1366,10 @@ export declare enum BlockType {
|
|
|
1336
1366
|
OR = "OR",
|
|
1337
1367
|
AND = "AND"
|
|
1338
1368
|
}
|
|
1369
|
+
/** @enumType */
|
|
1370
|
+
export type BlockTypeWithLiterals = BlockType | 'UNKNOWN' | 'OR' | 'AND';
|
|
1339
1371
|
export interface ConditionBlock {
|
|
1340
|
-
type?:
|
|
1372
|
+
type?: BlockTypeWithLiterals;
|
|
1341
1373
|
/**
|
|
1342
1374
|
* @minSize 1
|
|
1343
1375
|
* @maxSize 20
|
|
@@ -1366,7 +1398,7 @@ export interface CodeConditionFilter {
|
|
|
1366
1398
|
}
|
|
1367
1399
|
export interface CodeSnippet {
|
|
1368
1400
|
/** Logical operator used to evaluate the condition expressions. */
|
|
1369
|
-
language?:
|
|
1401
|
+
language?: LanguageWithLiterals;
|
|
1370
1402
|
/**
|
|
1371
1403
|
* Expressions evaluated using the selected operator.
|
|
1372
1404
|
* @maxLength 1000
|
|
@@ -1379,6 +1411,8 @@ export declare enum Language {
|
|
|
1379
1411
|
/** `JAVASCRIPT` language. */
|
|
1380
1412
|
JAVASCRIPT = "JAVASCRIPT"
|
|
1381
1413
|
}
|
|
1414
|
+
/** @enumType */
|
|
1415
|
+
export type LanguageWithLiterals = Language | 'UNKNOWN_LANGUAGE' | 'JAVASCRIPT';
|
|
1382
1416
|
export interface Output {
|
|
1383
1417
|
/**
|
|
1384
1418
|
* The jsonata to use to produce the output
|
|
@@ -1789,7 +1823,7 @@ export interface V1RunAutomationRequest extends V1RunAutomationRequestIdentifier
|
|
|
1789
1823
|
* identifier MUST be either AUTOMATION or PREINSTALLED
|
|
1790
1824
|
* @immutable
|
|
1791
1825
|
*/
|
|
1792
|
-
identifierType?:
|
|
1826
|
+
identifierType?: IdentifierTypeWithLiterals;
|
|
1793
1827
|
/**
|
|
1794
1828
|
* Event payload, formatted as key:value pairs.
|
|
1795
1829
|
* Must comply with the payload schema
|
|
@@ -1818,6 +1852,8 @@ export declare enum IdentifierType {
|
|
|
1818
1852
|
PREINSTALLED = "PREINSTALLED",
|
|
1819
1853
|
AUTOMATION = "AUTOMATION"
|
|
1820
1854
|
}
|
|
1855
|
+
/** @enumType */
|
|
1856
|
+
export type IdentifierTypeWithLiterals = IdentifierType | 'UNKNOWN_IDENTIFIER' | 'PREINSTALLED' | 'AUTOMATION';
|
|
1821
1857
|
export interface PreinstalledIdentifier {
|
|
1822
1858
|
/**
|
|
1823
1859
|
* identifier for the application of the preinstalled
|
|
@@ -1946,7 +1982,7 @@ export interface ActivationContext {
|
|
|
1946
1982
|
/** Actions */
|
|
1947
1983
|
actions?: ActionData[];
|
|
1948
1984
|
/** Activation status */
|
|
1949
|
-
activationStatus?:
|
|
1985
|
+
activationStatus?: RuntimeStatusWithLiterals;
|
|
1950
1986
|
/** External ID */
|
|
1951
1987
|
externalId?: string;
|
|
1952
1988
|
/** Automation */
|
|
@@ -1968,6 +2004,8 @@ export declare enum RuntimeStatus {
|
|
|
1968
2004
|
PAUSED = "PAUSED",
|
|
1969
2005
|
ACTION_SKIPPED = "ACTION_SKIPPED"
|
|
1970
2006
|
}
|
|
2007
|
+
/** @enumType */
|
|
2008
|
+
export type RuntimeStatusWithLiterals = RuntimeStatus | 'UNKNOWN_STATUS' | 'STARTED' | 'ENDED' | 'ERROR' | 'SCHEDULED' | 'FROM_SCHEDULER' | 'RETRY' | 'RESUMED' | 'PAUSED' | 'ACTION_SKIPPED';
|
|
1971
2009
|
export interface ResumeAfterAsyncActionCompleted extends ResumeAfterAsyncActionCompletedStatusInfoOneOf {
|
|
1972
2010
|
/** Success info */
|
|
1973
2011
|
successInfo?: SuccessInfo;
|
|
@@ -1993,7 +2031,7 @@ export interface ResumeAfterAsyncActionCompleted extends ResumeAfterAsyncActionC
|
|
|
1993
2031
|
*/
|
|
1994
2032
|
actionId?: string;
|
|
1995
2033
|
/** Result status */
|
|
1996
|
-
status?:
|
|
2034
|
+
status?: StatusWithLiterals;
|
|
1997
2035
|
}
|
|
1998
2036
|
/** @oneof */
|
|
1999
2037
|
export interface ResumeAfterAsyncActionCompletedStatusInfoOneOf {
|
|
@@ -2010,6 +2048,8 @@ export declare enum Status {
|
|
|
2010
2048
|
/** Action failed to complete. */
|
|
2011
2049
|
FAILURE = "FAILURE"
|
|
2012
2050
|
}
|
|
2051
|
+
/** @enumType */
|
|
2052
|
+
export type StatusWithLiterals = Status | 'UNKNOWN_STATUS' | 'SUCCESS' | 'FAILURE';
|
|
2013
2053
|
export interface SuccessInfo {
|
|
2014
2054
|
/** Result object that correlates to the output schema. */
|
|
2015
2055
|
result?: Record<string, any> | null;
|
|
@@ -2050,7 +2090,7 @@ export interface ActivationActionStatusChanged extends ActivationActionStatusCha
|
|
|
2050
2090
|
*/
|
|
2051
2091
|
automationInfo?: AutomationInfo;
|
|
2052
2092
|
/** Action type */
|
|
2053
|
-
type?:
|
|
2093
|
+
type?: TypeWithLiterals;
|
|
2054
2094
|
/** Action attributes */
|
|
2055
2095
|
attributes?: ActionAttributes;
|
|
2056
2096
|
/** Activation automation */
|
|
@@ -2063,7 +2103,7 @@ export interface ActivationActionStatusChanged extends ActivationActionStatusCha
|
|
|
2063
2103
|
/** Event date */
|
|
2064
2104
|
statusChangedDate?: Date | null;
|
|
2065
2105
|
/** Action activation status */
|
|
2066
|
-
status?:
|
|
2106
|
+
status?: ActivationActionStatusChangedStatusWithLiterals;
|
|
2067
2107
|
}
|
|
2068
2108
|
/** @oneof */
|
|
2069
2109
|
export interface ActivationActionStatusChangedInfoOneOf {
|
|
@@ -2140,7 +2180,7 @@ export interface AutomationInfo extends AutomationInfoOriginInfoOneOf {
|
|
|
2140
2180
|
*/
|
|
2141
2181
|
id?: string;
|
|
2142
2182
|
/** Origin type */
|
|
2143
|
-
origin?:
|
|
2183
|
+
origin?: OriginWithLiterals;
|
|
2144
2184
|
/** Trigger info */
|
|
2145
2185
|
triggerInfo?: AutomationInfoTriggerInfo;
|
|
2146
2186
|
}
|
|
@@ -2209,6 +2249,8 @@ export declare enum ActivationActionStatusChangedStatus {
|
|
|
2209
2249
|
*/
|
|
2210
2250
|
FAILED = "FAILED"
|
|
2211
2251
|
}
|
|
2252
|
+
/** @enumType */
|
|
2253
|
+
export type ActivationActionStatusChangedStatusWithLiterals = ActivationActionStatusChangedStatus | 'UNKNOWN_ACTION_ACTIVATION_STATUS' | 'STARTED' | 'INVOKED_ASYNC' | 'ENDED' | 'SKIPPED' | 'FAILED';
|
|
2212
2254
|
export interface StartedStatusInfo extends StartedStatusInfoTypeInfoOneOf {
|
|
2213
2255
|
/** APP DEFINED action additional info */
|
|
2214
2256
|
appDefinedActionInfo?: StartedStatusInfoAppDefinedActionInfo;
|
|
@@ -2359,7 +2401,7 @@ export interface ReportActionInvocationCompletedRequest extends ReportActionInvo
|
|
|
2359
2401
|
/** Information about the action's failure to complete. */
|
|
2360
2402
|
failureInfo?: FailureInfo;
|
|
2361
2403
|
/** Action completion status. */
|
|
2362
|
-
status?:
|
|
2404
|
+
status?: StatusWithLiterals;
|
|
2363
2405
|
/**
|
|
2364
2406
|
* Invocation token.
|
|
2365
2407
|
* @maxLength 500
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"automations-v2-activation-activations.types.js","sourceRoot":"","sources":["../../../src/automations-v2-activation-activations.types.ts"],"names":[],"mappings":";;;AAuHA,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,6BAA6B;IAC7B,uBAAa,CAAA;IACb,kBAAkB;IAClB,qBAAW,CAAA;IACX,gCAAgC;IAChC,qCAA2B,CAAA;AAC7B,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB;
|
|
1
|
+
{"version":3,"file":"automations-v2-activation-activations.types.js","sourceRoot":"","sources":["../../../src/automations-v2-activation-activations.types.ts"],"names":[],"mappings":";;;AAuHA,IAAY,MAOX;AAPD,WAAY,MAAM;IAChB,6BAA6B;IAC7B,uBAAa,CAAA;IACb,kBAAkB;IAClB,qBAAW,CAAA;IACX,gCAAgC;IAChC,qCAA2B,CAAA;AAC7B,CAAC,EAPW,MAAM,sBAAN,MAAM,QAOjB;AA6DD,IAAY,QAYX;AAZD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,eAAe;IACf,+BAAmB,CAAA;IACnB,aAAa;IACb,2BAAe,CAAA;IACf,YAAY;IACZ,yBAAa,CAAA;IACb,aAAa;IACb,2BAAe,CAAA;IACf,cAAc;IACd,6BAAiB,CAAA;AACnB,CAAC,EAZW,QAAQ,wBAAR,QAAQ,QAYnB;AA2FD,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,eAAe;IACf,iDAAqC,CAAA;IACrC,qBAAqB;IACrB,qBAAS,CAAA;IACT,sBAAsB;IACtB,uBAAW,CAAA;AACb,CAAC,EAPW,QAAQ,wBAAR,QAAQ,QAOnB;AAeD,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,eAAe;IACf,4DAAqC,CAAA;IACrC,6BAA6B;IAC7B,gDAAyB,CAAA;AAC3B,CAAC,EALW,mBAAmB,mCAAnB,mBAAmB,QAK9B;AA4BD,IAAY,IAWX;AAXD,WAAY,IAAI;IACd,4BAA4B;IAC5B,mDAA2C,CAAA;IAC3C,gOAAgO;IAChO,mCAA2B,CAAA;IAC3B,yDAAyD;IACzD,+BAAuB,CAAA;IACvB,sEAAsE;I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