@wix/auto_sdk_automations_activations 1.0.99 → 1.0.101

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 +1 -1
  2. package/build/cjs/index.js +1 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +20 -3
  5. package/build/cjs/index.typings.js +1 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +20 -3
  8. package/build/cjs/meta.js +1 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +1 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +20 -3
  14. package/build/es/index.typings.mjs +1 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +20 -3
  17. package/build/es/meta.mjs +1 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +1 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +20 -3
  23. package/build/internal/cjs/index.typings.js +1 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +20 -3
  26. package/build/internal/cjs/meta.js +1 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +1 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +20 -3
  32. package/build/internal/es/index.typings.mjs +1 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +20 -3
  35. package/build/internal/es/meta.mjs +1 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -771,10 +771,12 @@ declare enum ActivationInitiationSource {
771
771
  * Activation triggered by manual execution (e.g., testAutomation, ReRunAutomation).
772
772
  * Explicitly initiated by user or API caller with explicit payload.
773
773
  */
774
- MANUAL_ACTIVATION = "MANUAL_ACTIVATION"
774
+ MANUAL_ACTIVATION = "MANUAL_ACTIVATION",
775
+ /** Activation triggered by re-running a previous activation. */
776
+ RERUN_ACTIVATION = "RERUN_ACTIVATION"
775
777
  }
776
778
  /** @enumType */
777
- type ActivationInitiationSourceWithLiterals = ActivationInitiationSource | 'UNKNOWN_ACTIVATION_INITIATION_SOURCE' | 'TRIGGER_PROVIDER_EVENT' | 'MANUAL_ACTIVATION';
779
+ type ActivationInitiationSourceWithLiterals = ActivationInitiationSource | 'UNKNOWN_ACTIVATION_INITIATION_SOURCE' | 'TRIGGER_PROVIDER_EVENT' | 'MANUAL_ACTIVATION' | 'RERUN_ACTIVATION';
778
780
  /** Additional information for manual automation activations. */
779
781
  interface ManualActivationInfo {
780
782
  /**
@@ -2120,6 +2122,21 @@ interface TestAutomationResponse {
2120
2122
  */
2121
2123
  activationId?: string | null;
2122
2124
  }
2125
+ /** Request to rerun an automation using a previous activation's payload. */
2126
+ interface RerunActivationRequest {
2127
+ /**
2128
+ * The activation ID whose payload will be used for the rerun.
2129
+ * @format GUID
2130
+ */
2131
+ activationId?: string;
2132
+ }
2133
+ interface RerunActivationResponse {
2134
+ /**
2135
+ * Activation ID generated (for tracking)
2136
+ * @format GUID
2137
+ */
2138
+ activationId?: string | null;
2139
+ }
2123
2140
  interface ReportDomainEventRequest {
2124
2141
  /**
2125
2142
  * trigger app id
@@ -2841,4 +2858,4 @@ interface ReportActionInvocationCompletedOptionsStatusInfoOneOf {
2841
2858
  failureInfo?: FailureInfo;
2842
2859
  }
2843
2860
 
2844
- export { type AIMetadata, type AccountInfo, type Action, type ActionActionOneOf, type ActionAttributes, type ActionCodeSnippet, type ActionCompletedRequest, type ActionData, type ActionEvent, type ActionRetryRequest, type ActionSettings, type ActionSplitAction, type ActionsData, type Activation, type ActivationActionStatusChanged, type ActivationActionStatusChangedInfoOneOf, ActivationActionStatusChangedStatus, type ActivationActionStatusChangedStatusInfoOneOf, type ActivationActionStatusChangedStatusWithLiterals, type ActivationContext, type ActivationContinuedAfterSchedule, ActivationInitiationSource, type ActivationInitiationSourceInfo, type ActivationInitiationSourceInfoInitiationSourceInfoOneOf, type ActivationInitiationSourceWithLiterals, type ActivationRequest, type ActivationResumeAfterDelay, type ActivationScheduleCompleted, type ActivationSource, type ActivationSourceOfOneOf, type ActivationStatusChanged, type ActivationStatusChangedFailedStatusInfo, type ActivationStatusChangedStartedStatusInfo, ActivationStatusChangedStatus, type ActivationStatusChangedStatusInfoOneOf, type ActivationStatusChangedStatusWithLiterals, type AppDefinedAction, type AppDefinedActionInfo, type ApplicationError, type ApplicationOrigin, type AsyncAction, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationAction, type AutomationConfigurationActionInfoOneOf, AutomationConfigurationStatus, type AutomationConfigurationStatusWithLiterals, type AutomationIdentifier, type AutomationInfo, type AutomationInfoOriginInfoOneOf, type AutomationInfoTriggerInfo, type AutomationOriginInfoOneOf, type AutomationSettings, type BatchActivationRequest, BlockType, type BlockTypeWithLiterals, type BulkActionMetadata, type BulkCancelEventRequest, type BulkCancelEventResponse, type BulkCancelEventResult, type BulkReportEventRequest, type BulkReportEventResponse, type BulkReportEventResult, type CancelEventRequest, type CancelEventResponse, type CancelPendingScheduleRequest, type CancelPendingScheduleRequestByOneOf, type CancelPendingScheduleResponse, CancellationReason, type CancellationReasonWithLiterals, type CancelledStatusInfo, type Case, type CodeConditionAction, type CodeConditionActionInfo, type CodeConditionFilter, type CodeSnippet, CodeSnippetLanguage, type CodeSnippetLanguageWithLiterals, type ConditionAction, type ConditionActionInfo, type ConditionBlock, type ConditionExpressionGroup, type ConditionFilter, type ConsumeReportEventRequest, type Delay, type DelayAction, type DelayActionInfo, type DelayHelper, type DelayOfOneOf, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type Empty, type EndedStatusInfo, type EndedStatusInfoAppDefinedActionInfo, type EndedStatusInfoTypeInfoOneOf, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ErrorReason, type ErrorReasonWithLiterals, type EventInfo, type ExecuteFromActionRequest, type ExecuteFromActionResponse, type ExpressionEvaluationResult, type ExtendedFields, type FailedStatusInfo, type FailureInfo, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GetScheduleRequest, type GetScheduleResponse, type Idempotency, type IdentificationData, type IdentificationDataIdOneOf, IdentifierType, type IdentifierTypeWithLiterals, type Identity, type IfFilter, type InitiatedStatusInfo, type InvokedAsyncStatusInfo, type InvokedAsyncStatusInfoAppDefinedActionInfo, type InvokedAsyncStatusInfoTypeInfoOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type ManualActivationInfo, type MessageEnvelope, type Metadata, type Note, type Notes, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginWithLiterals, type Output, type OutputAction, type Path, type Position, type PreinstalledIdentifier, type PreinstalledOrigin, type RateLimit, type RateLimitAction, type RateLimitActionInfo, type RateLimiting, type RefreshPayloadRequest, type RefreshPayloadResponse, type ReportAccountLevelEventRequest, type ReportAccountLevelEventResponse, type ReportActionInvocationCompletedOptions, type ReportActionInvocationCompletedOptionsStatusInfoOneOf, type ReportActionInvocationCompletedRequest, type ReportActionInvocationCompletedRequestStatusInfoOneOf, type ReportActionInvocationCompletedResponse, type ReportDomainEventRequest, type ReportDomainEventResponse, type ReportEventApplicationErrors, type ReportEventOptions, type ReportEventRequest, type ReportEventResponse, type RestoreInfo, type ResumeAfterAsyncActionCompleted, type ResumeAfterAsyncActionCompletedStatusInfoOneOf, type RetryInfo, type RunAutomationRequest, type RunAutomationResponse, type Runtime, RuntimeStatus, type RuntimeStatusWithLiterals, type Schedule, type ScheduleActivationRequested, type ScheduleRequest, type ScheduleResponse, ScheduleStatus, type ScheduleStatusWithLiterals, type ScheduledAction, type ScheduledStatusInfo, type Scheduler, type Service, type ServiceMapping, type SetVariables, type SetVariablesAction, type SetVariablesActionInfo, type SimpleDelay, SkipReason, type SkipReasonWithLiterals, type SkippedStatusInfo, type SpiAction, type SplitAction, type SplitActionPath, type StartedStatusInfo, type StartedStatusInfoAppDefinedActionInfo, type StartedStatusInfoDelayActionInfo, type StartedStatusInfoTypeInfoOneOf, Status, type StatusWithLiterals, type SuccessInfo, type SwitchFilter, type SystemHelper, type SystemHelperHelperOneOf, Target, type TargetWithLiterals, type TestAutomationRequest, type TestAutomationRequestIdentifierOneOf, type TestAutomationResponse, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerInfo, type TriggerSettings, Type, type TypeWithLiterals, Units, type UnitsWithLiterals, type UpdatePendingSchedulesPayloadRequest, type UpdatePendingSchedulesPayloadResponse, type UpdateScheduleStatusRequest, type UpdateScheduleStatusResponse, type V1RunAutomationRequest, type V1RunAutomationRequestIdentifierOneOf, type V1RunAutomationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCancelEvent, bulkReportEvent, cancelEvent, reportActionInvocationCompleted, reportEvent };
2861
+ export { type AIMetadata, type AccountInfo, type Action, type ActionActionOneOf, type ActionAttributes, type ActionCodeSnippet, type ActionCompletedRequest, type ActionData, type ActionEvent, type ActionRetryRequest, type ActionSettings, type ActionSplitAction, type ActionsData, type Activation, type ActivationActionStatusChanged, type ActivationActionStatusChangedInfoOneOf, ActivationActionStatusChangedStatus, type ActivationActionStatusChangedStatusInfoOneOf, type ActivationActionStatusChangedStatusWithLiterals, type ActivationContext, type ActivationContinuedAfterSchedule, ActivationInitiationSource, type ActivationInitiationSourceInfo, type ActivationInitiationSourceInfoInitiationSourceInfoOneOf, type ActivationInitiationSourceWithLiterals, type ActivationRequest, type ActivationResumeAfterDelay, type ActivationScheduleCompleted, type ActivationSource, type ActivationSourceOfOneOf, type ActivationStatusChanged, type ActivationStatusChangedFailedStatusInfo, type ActivationStatusChangedStartedStatusInfo, ActivationStatusChangedStatus, type ActivationStatusChangedStatusInfoOneOf, type ActivationStatusChangedStatusWithLiterals, type AppDefinedAction, type AppDefinedActionInfo, type ApplicationError, type ApplicationOrigin, type AsyncAction, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationAction, type AutomationConfigurationActionInfoOneOf, AutomationConfigurationStatus, type AutomationConfigurationStatusWithLiterals, type AutomationIdentifier, type AutomationInfo, type AutomationInfoOriginInfoOneOf, type AutomationInfoTriggerInfo, type AutomationOriginInfoOneOf, type AutomationSettings, type BatchActivationRequest, BlockType, type BlockTypeWithLiterals, type BulkActionMetadata, type BulkCancelEventRequest, type BulkCancelEventResponse, type BulkCancelEventResult, type BulkReportEventRequest, type BulkReportEventResponse, type BulkReportEventResult, type CancelEventRequest, type CancelEventResponse, type CancelPendingScheduleRequest, type CancelPendingScheduleRequestByOneOf, type CancelPendingScheduleResponse, CancellationReason, type CancellationReasonWithLiterals, type CancelledStatusInfo, type Case, type CodeConditionAction, type CodeConditionActionInfo, type CodeConditionFilter, type CodeSnippet, CodeSnippetLanguage, type CodeSnippetLanguageWithLiterals, type ConditionAction, type ConditionActionInfo, type ConditionBlock, type ConditionExpressionGroup, type ConditionFilter, type ConsumeReportEventRequest, type Delay, type DelayAction, type DelayActionInfo, type DelayHelper, type DelayOfOneOf, type Dimensions, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type Empty, type EndedStatusInfo, type EndedStatusInfoAppDefinedActionInfo, type EndedStatusInfoTypeInfoOneOf, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, ErrorReason, type ErrorReasonWithLiterals, type EventInfo, type ExecuteFromActionRequest, type ExecuteFromActionResponse, type ExpressionEvaluationResult, type ExtendedFields, type FailedStatusInfo, type FailureInfo, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GetScheduleRequest, type GetScheduleResponse, type Idempotency, type IdentificationData, type IdentificationDataIdOneOf, IdentifierType, type IdentifierTypeWithLiterals, type Identity, type IfFilter, type InitiatedStatusInfo, type InvokedAsyncStatusInfo, type InvokedAsyncStatusInfoAppDefinedActionInfo, type InvokedAsyncStatusInfoTypeInfoOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type ManualActivationInfo, type MessageEnvelope, type Metadata, type Note, type Notes, type Offset, Operator, type OperatorWithLiterals, Origin, type OriginWithLiterals, type Output, type OutputAction, type Path, type Position, type PreinstalledIdentifier, type PreinstalledOrigin, type RateLimit, type RateLimitAction, type RateLimitActionInfo, type RateLimiting, type RefreshPayloadRequest, type RefreshPayloadResponse, type ReportAccountLevelEventRequest, type ReportAccountLevelEventResponse, type ReportActionInvocationCompletedOptions, type ReportActionInvocationCompletedOptionsStatusInfoOneOf, type ReportActionInvocationCompletedRequest, type ReportActionInvocationCompletedRequestStatusInfoOneOf, type ReportActionInvocationCompletedResponse, type ReportDomainEventRequest, type ReportDomainEventResponse, type ReportEventApplicationErrors, type ReportEventOptions, type ReportEventRequest, type ReportEventResponse, type RerunActivationRequest, type RerunActivationResponse, type RestoreInfo, type ResumeAfterAsyncActionCompleted, type ResumeAfterAsyncActionCompletedStatusInfoOneOf, type RetryInfo, type RunAutomationRequest, type RunAutomationResponse, type Runtime, RuntimeStatus, type RuntimeStatusWithLiterals, type Schedule, type ScheduleActivationRequested, type ScheduleRequest, type ScheduleResponse, ScheduleStatus, type ScheduleStatusWithLiterals, type ScheduledAction, type ScheduledStatusInfo, type Scheduler, type Service, type ServiceMapping, type SetVariables, type SetVariablesAction, type SetVariablesActionInfo, type SimpleDelay, SkipReason, type SkipReasonWithLiterals, type SkippedStatusInfo, type SpiAction, type SplitAction, type SplitActionPath, type StartedStatusInfo, type StartedStatusInfoAppDefinedActionInfo, type StartedStatusInfoDelayActionInfo, type StartedStatusInfoTypeInfoOneOf, Status, type StatusWithLiterals, type SuccessInfo, type SwitchFilter, type SystemHelper, type SystemHelperHelperOneOf, Target, type TargetWithLiterals, type TestAutomationRequest, type TestAutomationRequestIdentifierOneOf, type TestAutomationResponse, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerInfo, type TriggerSettings, Type, type TypeWithLiterals, Units, type UnitsWithLiterals, type UpdatePendingSchedulesPayloadRequest, type UpdatePendingSchedulesPayloadResponse, type UpdateScheduleStatusRequest, type UpdateScheduleStatusResponse, type V1RunAutomationRequest, type V1RunAutomationRequestIdentifierOneOf, type V1RunAutomationResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCancelEvent, bulkReportEvent, cancelEvent, reportActionInvocationCompleted, reportEvent };
@@ -310,6 +310,7 @@ var ActivationInitiationSource = /* @__PURE__ */ ((ActivationInitiationSource2)
310
310
  ActivationInitiationSource2["UNKNOWN_ACTIVATION_INITIATION_SOURCE"] = "UNKNOWN_ACTIVATION_INITIATION_SOURCE";
311
311
  ActivationInitiationSource2["TRIGGER_PROVIDER_EVENT"] = "TRIGGER_PROVIDER_EVENT";
312
312
  ActivationInitiationSource2["MANUAL_ACTIVATION"] = "MANUAL_ACTIVATION";
313
+ ActivationInitiationSource2["RERUN_ACTIVATION"] = "RERUN_ACTIVATION";
313
314
  return ActivationInitiationSource2;
314
315
  })(ActivationInitiationSource || {});
315
316
  var Target = /* @__PURE__ */ ((Target2) => {