@wix/auto_sdk_automations_activation-log 1.0.32 → 1.0.34

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +4 -4
  2. package/build/cjs/index.js +9 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +99 -28
  5. package/build/cjs/index.typings.js +9 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +96 -25
  8. package/build/cjs/meta.js +9 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +4 -4
  11. package/build/es/index.mjs +8 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +99 -28
  14. package/build/es/index.typings.mjs +8 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +96 -25
  17. package/build/es/meta.mjs +8 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +4 -4
  20. package/build/internal/cjs/index.js +9 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +99 -28
  23. package/build/internal/cjs/index.typings.js +9 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +96 -25
  26. package/build/internal/cjs/meta.js +9 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +4 -4
  29. package/build/internal/es/index.mjs +8 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +99 -28
  32. package/build/internal/es/index.typings.mjs +8 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +96 -25
  35. package/build/internal/es/meta.mjs +8 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -36,6 +36,14 @@ interface ActivationLog {
36
36
  warnings?: Warning[];
37
37
  /** Created date */
38
38
  _createdDate?: Date | null;
39
+ /**
40
+ * Activation Initiation Source information
41
+ * Tracks whether activation was triggered by an event (TRIGGER_PROVIDER_EVENT)
42
+ * or manually activated (MANUAL_ACTIVATION). Test mode activations (test_mode=true)
43
+ * are excluded from activation summary counts and "last triggered" timestamp updates.
44
+ * Default: TRIGGER_PROVIDER_EVENT (for backward compatibility with existing activations)
45
+ */
46
+ activationInitiationSourceInfo?: ActivationInitiationSourceInfo;
39
47
  }
40
48
  declare enum Target {
41
49
  UNKNOWN_TARGET = "UNKNOWN_TARGET",
@@ -244,6 +252,52 @@ declare enum WarningReason {
244
252
  }
245
253
  /** @enumType */
246
254
  type WarningReasonWithLiterals = WarningReason | 'UNKNOWN_WARNING_REASON' | 'STUDIO_SITE_ENRICHMENT_FAILED' | 'REFRESH_PAYLOAD_FAILED' | 'GET_CONTACT_ENRICHMENT_FAILED' | 'GET_MEMBER_ENRICHMENT_FAILED';
255
+ /** Activation initiation source with additional details based on origin. */
256
+ interface ActivationInitiationSourceInfo extends ActivationInitiationSourceInfoInitiationSourceInfoOneOf {
257
+ /** Details for MANUAL_ACTIVATION source. */
258
+ manualActivationInfo?: ManualActivationInfo;
259
+ /** The source type of this activation. */
260
+ activationInitiationSource?: ActivationInitiationSourceWithLiterals;
261
+ }
262
+ /** @oneof */
263
+ interface ActivationInitiationSourceInfoInitiationSourceInfoOneOf {
264
+ /** Details for MANUAL_ACTIVATION source. */
265
+ manualActivationInfo?: ManualActivationInfo;
266
+ }
267
+ /**
268
+ * Source types for automation activation.
269
+ * This enum may be extended in the future to support additional activation origins.
270
+ */
271
+ declare enum ActivationInitiationSource {
272
+ /** Unspecified activation initiation source (protobuf default value). */
273
+ UNKNOWN_ACTIVATION_INITIATION_SOURCE = "UNKNOWN_ACTIVATION_INITIATION_SOURCE",
274
+ /**
275
+ * Activation triggered by a provider event (e.g., reportEvent, bulkReportEvent).
276
+ * The automation runs in response to a business event. Uses published automations only.
277
+ */
278
+ TRIGGER_PROVIDER_EVENT = "TRIGGER_PROVIDER_EVENT",
279
+ /**
280
+ * Activation triggered by manual execution (e.g., testAutomation, ReRunAutomation).
281
+ * Explicitly initiated by user or API caller with explicit payload.
282
+ */
283
+ MANUAL_ACTIVATION = "MANUAL_ACTIVATION"
284
+ }
285
+ /** @enumType */
286
+ type ActivationInitiationSourceWithLiterals = ActivationInitiationSource | 'UNKNOWN_ACTIVATION_INITIATION_SOURCE' | 'TRIGGER_PROVIDER_EVENT' | 'MANUAL_ACTIVATION';
287
+ /** Additional information for manual automation activations. */
288
+ interface ManualActivationInfo {
289
+ /**
290
+ * Whether this activation is running in test mode.
291
+ *
292
+ * In test mode:
293
+ * - Draft automations can be executed
294
+ * - Certain actions may be skipped (e.g., delays, rate limits)
295
+ * - Used primarily for testing automations before publication
296
+ *
297
+ * Default: false (standard production mode)
298
+ */
299
+ testMode?: boolean;
300
+ }
247
301
  interface DomainEvent extends DomainEventBodyOneOf {
248
302
  createdEvent?: EntityCreatedEvent;
249
303
  updatedEvent?: EntityUpdatedEvent;
@@ -405,17 +459,19 @@ interface AIMetadata {
405
459
  }
406
460
  interface ActionSettings {
407
461
  /**
408
- * Permanent actions. PermanentAction's skipActionExpression cannot be modified.
462
+ * IDs of actions whose `skipActionExpression` can't be modified.
409
463
  *
410
- * When empty, all actions can be set as skipped
464
+ * An action's `skipActionExpression` determines whether the action is skipped. Including an action's ID in this array makes its `skipActionExpression` permanent, so it can't be changed.
465
+ *
466
+ * When empty, the `skipActionExpression` of all actions can be edited.
411
467
  * @maxSize 30
412
468
  * @format GUID
413
469
  */
414
470
  permanentActionIds?: string[];
415
471
  /**
416
- * Read-only actions. Read-only actions cannot be edited.
472
+ * IDs of read-only actions. Read-only actions cannot be modified.
417
473
  *
418
- * When empty, all actions are editable.
474
+ * When empty and the automation's `settings.readonly` is `false`, all actions are modifiable.
419
475
  * @maxSize 30
420
476
  * @format GUID
421
477
  */
@@ -625,15 +681,29 @@ declare enum Type {
625
681
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
626
682
  /** Defined by a [Wix app](https://dev.wix.com/docs/rest/business-management/automations/automations/automations-v2/configure-your-automation#app-defined-action). This action type is available in the site dashboard. */
627
683
  APP_DEFINED = "APP_DEFINED",
628
- /** Condition. This determines which action runs next. */
684
+ /**
685
+ * Condition action. Evaluates a condition to determine which action runs next.
686
+ *
687
+ * Learn more about [adding and setting up conditions](https://support.wix.com/en/article/the-new-automation-builder-understanding-conditions-operators) in Wix Automations.
688
+ *
689
+ * > **Note**: When `skipActionExpression` evaluates to `true`, the actions in `conditionInfo.truePostActionIds` run and those in `conditionInfo.falsePostActionIds` are skipped.
690
+ */
629
691
  CONDITION = "CONDITION",
692
+ /**
693
+ * Code condition action. Evaluates custom code to determine which action runs next.
694
+ *
695
+ * Learn more about [adding and setting up conditions](https://support.wix.com/en/article/the-new-automation-builder-understanding-conditions-operators) in Wix Automations.
696
+ *
697
+ * > **Note**: When `skipActionExpression` evaluates to `true`, the actions in `codeConditionInfo.truePostActionIds` run and those in `codeConditionInfo.falsePostActionIds` are skipped.
698
+ */
699
+ CODE_CONDITION = "CODE_CONDITION",
630
700
  /** Delay. The automation must wait before executing the next step. */
631
701
  DELAY = "DELAY",
632
702
  /** Rate-limiter. This stops the automation flow if the subsequent action has reached its maximum allowed executions. */
633
703
  RATE_LIMIT = "RATE_LIMIT"
634
704
  }
635
705
  /** @enumType */
636
- type TypeWithLiterals = Type | 'UNKNOWN_ACTION_TYPE' | 'APP_DEFINED' | 'CONDITION' | 'DELAY' | 'RATE_LIMIT';
706
+ type TypeWithLiterals = Type | 'UNKNOWN_ACTION_TYPE' | 'APP_DEFINED' | 'CONDITION' | 'CODE_CONDITION' | 'DELAY' | 'RATE_LIMIT';
637
707
  interface AppDefinedAction {
638
708
  /**
639
709
  * ID of the app that defines the action.
@@ -851,15 +921,15 @@ interface Trigger {
851
921
  overrideSchema?: Record<string, any> | null;
852
922
  }
853
923
  interface Action extends ActionInfoOneOf {
854
- /** Details of the action when its `type` is `APP_DEFINED`. */
924
+ /** Details of the action whose `type` is `APP_DEFINED`. */
855
925
  appDefinedInfo?: AppDefinedAction;
856
- /** Details of the action when its `type` is `CONDITION`. */
926
+ /** Details of the action whose `type` is `CONDITION`. */
857
927
  conditionInfo?: ConditionAction;
858
- /** Details of the action when its `type` is `CODE_CONDITION`. */
928
+ /** Details of the action whose `type` is `CODE_CONDITION`. */
859
929
  codeConditionInfo?: CodeConditionAction;
860
- /** Details of the action when its `type` is `DELAY`. */
930
+ /** Details of the action whose `type` is `DELAY`. */
861
931
  delayInfo?: DelayAction;
862
- /** Details of the action when its `type` is `RATE_LIMIT`. */
932
+ /** Details of the action whose `type` is `RATE_LIMIT`. */
863
933
  rateLimitInfo?: RateLimitAction;
864
934
  /**
865
935
  * Action ID.
@@ -887,24 +957,24 @@ interface Action extends ActionInfoOneOf {
887
957
  */
888
958
  namespace?: string | null;
889
959
  /**
890
- * Evaluated to boolean to decide whether the action is skipped.
891
- * For ConditionAction: if skipped, true_post_action_ids execute; false_post_action_ids are skipped
892
- * SplitAction and OutputAction do not support skip_action_expression
960
+ * Evaluated to determine whether the action is skipped. When evaluated to `true`, the action is skipped. Otherwise, the action runs.
961
+ *
962
+ * When empty, the action runs.
893
963
  * @maxLength 1000
894
964
  */
895
965
  skipActionExpression?: string | null;
896
966
  }
897
967
  /** @oneof */
898
968
  interface ActionInfoOneOf {
899
- /** Details of the action when its `type` is `APP_DEFINED`. */
969
+ /** Details of the action whose `type` is `APP_DEFINED`. */
900
970
  appDefinedInfo?: AppDefinedAction;
901
- /** Details of the action when its `type` is `CONDITION`. */
971
+ /** Details of the action whose `type` is `CONDITION`. */
902
972
  conditionInfo?: ConditionAction;
903
- /** Details of the action when its `type` is `CODE_CONDITION`. */
973
+ /** Details of the action whose `type` is `CODE_CONDITION`. */
904
974
  codeConditionInfo?: CodeConditionAction;
905
- /** Details of the action when its `type` is `DELAY`. */
975
+ /** Details of the action whose `type` is `DELAY`. */
906
976
  delayInfo?: DelayAction;
907
- /** Details of the action when its `type` is `RATE_LIMIT`. */
977
+ /** Details of the action whose `type` is `RATE_LIMIT`. */
908
978
  rateLimitInfo?: RateLimitAction;
909
979
  }
910
980
  interface FilterableAppDefinedActions {
@@ -968,11 +1038,12 @@ interface AutomationSettings {
968
1038
  hidden?: boolean;
969
1039
  /**
970
1040
  * Whether the automation is read-only.
971
- * If true - modifications to the automation trigger or action/s are disabled.
972
- * **Note**: this setting takes precedent over triggerSettings/actionSettings.
973
- * If false - allows selective read-only settings via those fields.
974
1041
  *
975
- * Default: `false`
1042
+ * When `true`, site owners can't modify the automation or any of its actions. When `false`, users can configure specific actions as skippable or read-only using `settings.actionSettings`.
1043
+ *
1044
+ * Default: `false`.
1045
+ *
1046
+ * > **Note**: Setting `readOnly` to `true` overrides `settings.actionSettings`.
976
1047
  */
977
1048
  readonly?: boolean;
978
1049
  /**
@@ -982,7 +1053,7 @@ interface AutomationSettings {
982
1053
  */
983
1054
  disableDelete?: boolean;
984
1055
  /**
985
- * Whether to disable the option to change the automation's `configuration.status`, for example from `ACTIVE` to `INACTIVE`.
1056
+ * Whether to disable the option to change the automation's `configuration.status`.
986
1057
  *
987
1058
  * Default: `false`.
988
1059
  */
@@ -1280,7 +1351,7 @@ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYM
1280
1351
  * @returns Activation log
1281
1352
  * @fqn wix.automations.activation_logs.v1.ActivationLogsService.GetActivationLog
1282
1353
  */
1283
- declare function getActivationLog(activationId: string): Promise<NonNullablePaths<ActivationLog, `_id` | `automationId` | `automationRevision` | `status` | `initiatedInfo.target` | `scheduledInfo.scheduleId` | `cancelledInfo.reason` | `failedInfo.errorDescription` | `failedInfo.errorReason` | `skippedInfo.reason` | `warnings` | `warnings.${number}.errorDescription` | `warnings.${number}.reason`, 4>>;
1354
+ declare function getActivationLog(activationId: string): Promise<NonNullablePaths<ActivationLog, `_id` | `automationId` | `automationRevision` | `status` | `initiatedInfo.target` | `scheduledInfo.scheduleId` | `cancelledInfo.reason` | `failedInfo.errorDescription` | `failedInfo.errorReason` | `skippedInfo.reason` | `warnings` | `warnings.${number}.errorDescription` | `warnings.${number}.reason` | `activationInitiationSourceInfo.manualActivationInfo.testMode` | `activationInitiationSourceInfo.activationInitiationSource`, 4>>;
1284
1355
  /**
1285
1356
  * List activation logs
1286
1357
  * @public
@@ -1290,7 +1361,7 @@ declare function getActivationLog(activationId: string): Promise<NonNullablePath
1290
1361
  * @applicableIdentity APP
1291
1362
  * @fqn wix.automations.activation_logs.v1.ActivationLogsService.ListActivationLogs
1292
1363
  */
1293
- declare function listActivationLogs(options?: NonNullablePaths<ListActivationLogsOptions, `identifierType`, 2>): Promise<NonNullablePaths<ListActivationLogsResponse, `activationLogs` | `activationLogs.${number}._id` | `activationLogs.${number}.automationId` | `activationLogs.${number}.automationRevision` | `activationLogs.${number}.status` | `activationLogs.${number}.initiatedInfo.target` | `activationLogs.${number}.scheduledInfo.scheduleId` | `activationLogs.${number}.cancelledInfo.reason` | `activationLogs.${number}.failedInfo.errorDescription` | `activationLogs.${number}.failedInfo.errorReason` | `activationLogs.${number}.skippedInfo.reason`, 5>>;
1364
+ declare function listActivationLogs(options?: NonNullablePaths<ListActivationLogsOptions, `identifierType`, 2>): Promise<NonNullablePaths<ListActivationLogsResponse, `activationLogs` | `activationLogs.${number}._id` | `activationLogs.${number}.automationId` | `activationLogs.${number}.automationRevision` | `activationLogs.${number}.status` | `activationLogs.${number}.initiatedInfo.target` | `activationLogs.${number}.scheduledInfo.scheduleId` | `activationLogs.${number}.cancelledInfo.reason` | `activationLogs.${number}.failedInfo.errorDescription` | `activationLogs.${number}.failedInfo.errorReason` | `activationLogs.${number}.skippedInfo.reason` | `activationLogs.${number}.activationInitiationSourceInfo.manualActivationInfo.testMode` | `activationLogs.${number}.activationInitiationSourceInfo.activationInitiationSource`, 6>>;
1294
1365
  interface ListActivationLogsOptions extends ListActivationLogsOptionsIdentifierOneOf {
1295
1366
  /** From created date, If not specified, defaults to 30 days before the current time. */
1296
1367
  fromCreatedDate?: Date | null;
@@ -1326,7 +1397,7 @@ interface ListActivationLogsOptionsIdentifierOneOf {
1326
1397
  * @applicableIdentity APP
1327
1398
  * @fqn wix.automations.activation_logs.v1.ActivationLogsService.SearchActivationLogsByPayloadPiiValue
1328
1399
  */
1329
- declare function searchActivationLogsByPayloadPiiValue(value: string, options?: SearchActivationLogsByPayloadPiiValueOptions): Promise<NonNullablePaths<SearchActivationLogsByPayloadPiiValueResponse, `activationLogs` | `activationLogs.${number}._id` | `activationLogs.${number}.automationId` | `activationLogs.${number}.automationRevision` | `activationLogs.${number}.status` | `activationLogs.${number}.initiatedInfo.target` | `activationLogs.${number}.scheduledInfo.scheduleId` | `activationLogs.${number}.cancelledInfo.reason` | `activationLogs.${number}.failedInfo.errorDescription` | `activationLogs.${number}.failedInfo.errorReason` | `activationLogs.${number}.skippedInfo.reason`, 5>>;
1400
+ declare function searchActivationLogsByPayloadPiiValue(value: string, options?: SearchActivationLogsByPayloadPiiValueOptions): Promise<NonNullablePaths<SearchActivationLogsByPayloadPiiValueResponse, `activationLogs` | `activationLogs.${number}._id` | `activationLogs.${number}.automationId` | `activationLogs.${number}.automationRevision` | `activationLogs.${number}.status` | `activationLogs.${number}.initiatedInfo.target` | `activationLogs.${number}.scheduledInfo.scheduleId` | `activationLogs.${number}.cancelledInfo.reason` | `activationLogs.${number}.failedInfo.errorDescription` | `activationLogs.${number}.failedInfo.errorReason` | `activationLogs.${number}.skippedInfo.reason` | `activationLogs.${number}.activationInitiationSourceInfo.manualActivationInfo.testMode` | `activationLogs.${number}.activationInitiationSourceInfo.activationInitiationSource`, 6>>;
1330
1401
  interface SearchActivationLogsByPayloadPiiValueOptions extends SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf {
1331
1402
  /** Paging */
1332
1403
  cursorPaging?: CursorPaging;
@@ -1351,4 +1422,4 @@ interface SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf {
1351
1422
  preinstalledIdentifierInfo?: PreinstalledIdentifierInfo;
1352
1423
  }
1353
1424
 
1354
- export { type AIMetadata, type Action, type ActionEvent, type ActionInfoOneOf, type ActionSettings, type ActivationContinuedAfterSchedule, type ActivationLog, type AppDefinedAction, type ApplicationOrigin, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, AutomationConfigurationStatus, type AutomationConfigurationStatusWithLiterals, type AutomationIdInfo, type AutomationOriginInfoOneOf, type AutomationSettings, CancellationReason, type CancellationReasonWithLiterals, type CancelledStatusInfo, type ClientEntityIdsByNamespace, type CodeConditionAction, type CodeSnippet, type ConditionAction, type ConditionExpressionGroup, type CursorPaging, type CursorPagingMetadata, type Cursors, type DelayAction, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type Empty, type EndedStatusInfo, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ErrorReason, type ErrorReasonWithLiterals, type ExtendedFields, type FailedStatusInfo, type Filter, FilterBy, type FilterByWithLiterals, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GetActivationLogRequest, type GetActivationLogResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentifierType, type IdentifierTypeWithLiterals, type Identity, type InitiatedStatusInfo, Language, type LanguageWithLiterals, type ListActivationLogsOptions, type ListActivationLogsOptionsIdentifierOneOf, type ListActivationLogsRequest, type ListActivationLogsRequestIdentifierOneOf, type ListActivationLogsResponse, type MessageEnvelope, type Note, type Notes, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginWithLiterals, type OutputAction, type Path, type Position, type PreinstalledIdentifierInfo, type PreinstalledOrigin, type RateLimit, type RateLimitAction, type RestoreInfo, type ScheduledStatusInfo, type SearchActivationLogsByPayloadPiiValueOptions, type SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, type SearchActivationLogsByPayloadPiiValueRequest, type SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, type SearchActivationLogsByPayloadPiiValueResponse, type SetVariablesAction, SkipReason, type SkipReasonWithLiterals, type SkippedStatusInfo, type SplitAction, type StartedStatusInfo, Status, type StatusWithLiterals, Target, type TargetWithLiterals, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerSettings, Type, type TypeWithLiterals, type UouDeleteRequest, type Warning, WarningReason, type WarningReasonWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, getActivationLog, listActivationLogs, searchActivationLogsByPayloadPiiValue };
1425
+ export { type AIMetadata, type Action, type ActionEvent, type ActionInfoOneOf, type ActionSettings, type ActivationContinuedAfterSchedule, ActivationInitiationSource, type ActivationInitiationSourceInfo, type ActivationInitiationSourceInfoInitiationSourceInfoOneOf, type ActivationInitiationSourceWithLiterals, type ActivationLog, type AppDefinedAction, type ApplicationOrigin, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, AutomationConfigurationStatus, type AutomationConfigurationStatusWithLiterals, type AutomationIdInfo, type AutomationOriginInfoOneOf, type AutomationSettings, CancellationReason, type CancellationReasonWithLiterals, type CancelledStatusInfo, type ClientEntityIdsByNamespace, type CodeConditionAction, type CodeSnippet, type ConditionAction, type ConditionExpressionGroup, type CursorPaging, type CursorPagingMetadata, type Cursors, type DelayAction, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type Empty, type EndedStatusInfo, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ErrorReason, type ErrorReasonWithLiterals, type ExtendedFields, type FailedStatusInfo, type Filter, FilterBy, type FilterByWithLiterals, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GetActivationLogRequest, type GetActivationLogResponse, type IdentificationData, type IdentificationDataIdOneOf, IdentifierType, type IdentifierTypeWithLiterals, type Identity, type InitiatedStatusInfo, Language, type LanguageWithLiterals, type ListActivationLogsOptions, type ListActivationLogsOptionsIdentifierOneOf, type ListActivationLogsRequest, type ListActivationLogsRequestIdentifierOneOf, type ListActivationLogsResponse, type ManualActivationInfo, type MessageEnvelope, type Note, type Notes, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginWithLiterals, type OutputAction, type Path, type Position, type PreinstalledIdentifierInfo, type PreinstalledOrigin, type RateLimit, type RateLimitAction, type RestoreInfo, type ScheduledStatusInfo, type SearchActivationLogsByPayloadPiiValueOptions, type SearchActivationLogsByPayloadPiiValueOptionsFilterOptionOneOf, type SearchActivationLogsByPayloadPiiValueRequest, type SearchActivationLogsByPayloadPiiValueRequestFilterOptionOneOf, type SearchActivationLogsByPayloadPiiValueResponse, type SetVariablesAction, SkipReason, type SkipReasonWithLiterals, type SkippedStatusInfo, type SplitAction, type StartedStatusInfo, Status, type StatusWithLiterals, Target, type TargetWithLiterals, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerSettings, Type, type TypeWithLiterals, type UouDeleteRequest, type Warning, WarningReason, type WarningReasonWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, getActivationLog, listActivationLogs, searchActivationLogsByPayloadPiiValue };
@@ -20,6 +20,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // index.typings.ts
21
21
  var index_typings_exports = {};
22
22
  __export(index_typings_exports, {
23
+ ActivationInitiationSource: () => ActivationInitiationSource,
23
24
  AutomationConfigurationStatus: () => AutomationConfigurationStatus,
24
25
  CancellationReason: () => CancellationReason,
25
26
  Domain: () => Domain,
@@ -267,6 +268,12 @@ var WarningReason = /* @__PURE__ */ ((WarningReason2) => {
267
268
  WarningReason2["GET_MEMBER_ENRICHMENT_FAILED"] = "GET_MEMBER_ENRICHMENT_FAILED";
268
269
  return WarningReason2;
269
270
  })(WarningReason || {});
271
+ var ActivationInitiationSource = /* @__PURE__ */ ((ActivationInitiationSource2) => {
272
+ ActivationInitiationSource2["UNKNOWN_ACTIVATION_INITIATION_SOURCE"] = "UNKNOWN_ACTIVATION_INITIATION_SOURCE";
273
+ ActivationInitiationSource2["TRIGGER_PROVIDER_EVENT"] = "TRIGGER_PROVIDER_EVENT";
274
+ ActivationInitiationSource2["MANUAL_ACTIVATION"] = "MANUAL_ACTIVATION";
275
+ return ActivationInitiationSource2;
276
+ })(ActivationInitiationSource || {});
270
277
  var Domain = /* @__PURE__ */ ((Domain2) => {
271
278
  Domain2["USER"] = "USER";
272
279
  Domain2["WIX"] = "WIX";
@@ -297,6 +304,7 @@ var Type = /* @__PURE__ */ ((Type2) => {
297
304
  Type2["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
298
305
  Type2["APP_DEFINED"] = "APP_DEFINED";
299
306
  Type2["CONDITION"] = "CONDITION";
307
+ Type2["CODE_CONDITION"] = "CODE_CONDITION";
300
308
  Type2["DELAY"] = "DELAY";
301
309
  Type2["RATE_LIMIT"] = "RATE_LIMIT";
302
310
  return Type2;
@@ -443,6 +451,7 @@ async function searchActivationLogsByPayloadPiiValue2(value, options) {
443
451
  }
444
452
  // Annotate the CommonJS export names for ESM import in node:
445
453
  0 && (module.exports = {
454
+ ActivationInitiationSource,
446
455
  AutomationConfigurationStatus,
447
456
  CancellationReason,
448
457
  Domain,