@wix/automations 1.0.48 → 1.0.49

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.
@@ -512,12 +512,12 @@ interface Automation$2 {
512
512
  * Created date
513
513
  * @readonly
514
514
  */
515
- _createdDate?: Date;
515
+ _createdDate?: Date | null;
516
516
  /**
517
517
  * Updated date
518
518
  * @readonly
519
519
  */
520
- _updatedDate?: Date;
520
+ _updatedDate?: Date | null;
521
521
  /**
522
522
  * ESB Configuration ID
523
523
  * @readonly
@@ -856,7 +856,7 @@ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
856
856
  /** ID of the entity associated with the event. */
857
857
  entityId?: string;
858
858
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
859
- eventTime?: Date;
859
+ eventTime?: Date | null;
860
860
  /**
861
861
  * Whether the event was triggered as a result of a privacy regulation application
862
862
  * (for example, GDPR).
@@ -885,7 +885,7 @@ interface EntityCreatedEvent$2 {
885
885
  entity?: string;
886
886
  }
887
887
  interface RestoreInfo$2 {
888
- deletedDate?: Date;
888
+ deletedDate?: Date | null;
889
889
  }
890
890
  interface EntityUpdatedEvent$2 {
891
891
  /**
@@ -1111,7 +1111,7 @@ interface SiteDeleted$1 {
1111
1111
  }
1112
1112
  interface DeleteContext$1 {
1113
1113
  /** When the meta site was deleted. */
1114
- dateDeleted?: Date;
1114
+ dateDeleted?: Date | null;
1115
1115
  /** A status. */
1116
1116
  deleteStatus?: DeleteStatus$1;
1117
1117
  /** A reason (flow). */
@@ -1523,8 +1523,8 @@ interface ActivationReport {
1523
1523
  activationId?: string;
1524
1524
  requestId?: string;
1525
1525
  status?: ActivationStatus$1;
1526
- creationDate?: Date;
1527
- updateDate?: Date;
1526
+ creationDate?: Date | null;
1527
+ updateDate?: Date | null;
1528
1528
  /** will be populated when status = FAILED */
1529
1529
  error?: string | null;
1530
1530
  }
@@ -1616,7 +1616,7 @@ interface Quota$1 {
1616
1616
  * Quota renewal date in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
1617
1617
  * For example, 10 July 2020 at 15:00 is written as `2020-07-10 15:00:00.000`.
1618
1618
  */
1619
- renewalDate?: Date;
1619
+ renewalDate?: Date | null;
1620
1620
  /** The user's current quota usage. */
1621
1621
  currentUsage?: string;
1622
1622
  /** Quota limit data. */
@@ -1860,7 +1860,7 @@ interface EventMetadata$2 extends BaseEventMetadata$2 {
1860
1860
  /** ID of the entity associated with the event. */
1861
1861
  entityId?: string;
1862
1862
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
1863
- eventTime?: Date;
1863
+ eventTime?: Date | null;
1864
1864
  /**
1865
1865
  * Whether the event was triggered as a result of a privacy regulation application
1866
1866
  * (for example, GDPR).
@@ -1936,12 +1936,12 @@ interface UpdateAutomation$1 {
1936
1936
  * Created date
1937
1937
  * @readonly
1938
1938
  */
1939
- _createdDate?: Date;
1939
+ _createdDate?: Date | null;
1940
1940
  /**
1941
1941
  * Updated date
1942
1942
  * @readonly
1943
1943
  */
1944
- _updatedDate?: Date;
1944
+ _updatedDate?: Date | null;
1945
1945
  /**
1946
1946
  * ESB Configuration ID
1947
1947
  * @readonly
@@ -1990,12 +1990,12 @@ interface MigrationUpdateAutomation {
1990
1990
  * Created date
1991
1991
  * @readonly
1992
1992
  */
1993
- _createdDate?: Date;
1993
+ _createdDate?: Date | null;
1994
1994
  /**
1995
1995
  * Updated date
1996
1996
  * @readonly
1997
1997
  */
1998
- _updatedDate?: Date;
1998
+ _updatedDate?: Date | null;
1999
1999
  /**
2000
2000
  * ESB Configuration ID
2001
2001
  * @readonly
@@ -2345,7 +2345,7 @@ interface Automation$1 extends AutomationOriginInfoOneOf$1 {
2345
2345
  * Date and time the automation was created.
2346
2346
  * @readonly
2347
2347
  */
2348
- _createdDate?: Date;
2348
+ _createdDate?: Date | null;
2349
2349
  /**
2350
2350
  * The entity that last updated the automation.
2351
2351
  * @readonly
@@ -2355,7 +2355,7 @@ interface Automation$1 extends AutomationOriginInfoOneOf$1 {
2355
2355
  * Date and time the automation was last updated.
2356
2356
  * @readonly
2357
2357
  */
2358
- _updatedDate?: Date;
2358
+ _updatedDate?: Date | null;
2359
2359
  /** Automation name that is displayed on the user's site. */
2360
2360
  name?: string;
2361
2361
  /** Automation description. */
@@ -2698,7 +2698,7 @@ interface ActivationStatusChanged extends ActivationStatusChangedStatusInfoOneOf
2698
2698
  /** Activation status */
2699
2699
  status?: ActivationStatusChangedStatus;
2700
2700
  /** Change event created date */
2701
- statusChangedDate?: Date;
2701
+ statusChangedDate?: Date | null;
2702
2702
  }
2703
2703
  /** @oneof */
2704
2704
  interface ActivationStatusChangedStatusInfoOneOf {
@@ -2763,7 +2763,7 @@ interface ScheduledStatusInfo {
2763
2763
  /** Schedule identifier */
2764
2764
  scheduleId?: string;
2765
2765
  /** Indicating when the activation should start */
2766
- date?: Date;
2766
+ date?: Date | null;
2767
2767
  }
2768
2768
  interface CancelledStatusInfo {
2769
2769
  /** Cancellation reason */
@@ -2799,11 +2799,11 @@ interface Schedule {
2799
2799
  /** @readonly */
2800
2800
  scheduleStatus?: ScheduleStatus;
2801
2801
  /** @readonly */
2802
- scheduleDate?: Date;
2802
+ scheduleDate?: Date | null;
2803
2803
  /** @readonly */
2804
- _createdDate?: Date;
2804
+ _createdDate?: Date | null;
2805
2805
  /** @readonly */
2806
- _updatedDate?: Date;
2806
+ _updatedDate?: Date | null;
2807
2807
  overrideable?: boolean | null;
2808
2808
  triggerInfo?: TriggerInfo;
2809
2809
  automation?: Automation$1;
@@ -2905,7 +2905,7 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
2905
2905
  /** ID of the entity associated with the event. */
2906
2906
  entityId?: string;
2907
2907
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2908
- eventTime?: Date;
2908
+ eventTime?: Date | null;
2909
2909
  /**
2910
2910
  * Whether the event was triggered as a result of a privacy regulation application
2911
2911
  * (for example, GDPR).
@@ -2934,7 +2934,7 @@ interface EntityCreatedEvent$1 {
2934
2934
  entity?: string;
2935
2935
  }
2936
2936
  interface RestoreInfo$1 {
2937
- deletedDate?: Date;
2937
+ deletedDate?: Date | null;
2938
2938
  }
2939
2939
  interface EntityUpdatedEvent$1 {
2940
2940
  /**
@@ -3244,7 +3244,7 @@ interface ActivationActionStatusChanged extends ActivationActionStatusChangedSta
3244
3244
  /** Action type */
3245
3245
  type?: Type$1;
3246
3246
  /** Event date */
3247
- statusChangedDate?: Date;
3247
+ statusChangedDate?: Date | null;
3248
3248
  /** Action activation status */
3249
3249
  status?: ActivationActionStatusChangedStatus;
3250
3250
  }
@@ -3263,7 +3263,7 @@ interface StartedStatusInfoAppDefinedActionInfo {
3263
3263
  }
3264
3264
  interface DelayActionInfo {
3265
3265
  /** Indicates when this action becomes completed and the activation will move to the post actions */
3266
- date?: Date;
3266
+ date?: Date | null;
3267
3267
  }
3268
3268
  interface ExpressionEvaluationResult {
3269
3269
  /** Indicates if the expression was evaluated to true or false */
@@ -3367,7 +3367,7 @@ interface ActivationResumeAfterDelay {
3367
3367
  /** Activation schedule identifier */
3368
3368
  scheduleId?: string;
3369
3369
  /** Activation schedule due date */
3370
- scheduleDate?: Date;
3370
+ scheduleDate?: Date | null;
3371
3371
  /** Activation payload */
3372
3372
  payload?: Record<string, any> | null;
3373
3373
  /** Activation Automation */
@@ -3419,9 +3419,9 @@ interface ActivationScheduleRequested {
3419
3419
  /** Activation identifier */
3420
3420
  _id?: string;
3421
3421
  /** Activation schedule request date */
3422
- requestedDate?: Date;
3422
+ requestedDate?: Date | null;
3423
3423
  /** Activation schedule due date */
3424
- scheduleDate?: Date;
3424
+ scheduleDate?: Date | null;
3425
3425
  /** Activation payload */
3426
3426
  payload?: Record<string, any> | null;
3427
3427
  /** Activation Automation */
@@ -3677,7 +3677,7 @@ interface ActivationScheduleCompleted {
3677
3677
  /** Activation schedule identifier */
3678
3678
  scheduleId?: string;
3679
3679
  /** Activation schedule due date */
3680
- scheduleDate?: Date;
3680
+ scheduleDate?: Date | null;
3681
3681
  /** Activation payload */
3682
3682
  payload?: Record<string, any> | null;
3683
3683
  /** Activation Automation */
@@ -3755,7 +3755,7 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
3755
3755
  /** ID of the entity associated with the event. */
3756
3756
  entityId?: string;
3757
3757
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3758
- eventTime?: Date;
3758
+ eventTime?: Date | null;
3759
3759
  /**
3760
3760
  * Whether the event was triggered as a result of a privacy regulation application
3761
3761
  * (for example, GDPR).
@@ -4049,7 +4049,7 @@ interface Automation extends AutomationOriginInfoOneOf {
4049
4049
  * Date and time the automation was created.
4050
4050
  * @readonly
4051
4051
  */
4052
- _createdDate?: Date;
4052
+ _createdDate?: Date | null;
4053
4053
  /**
4054
4054
  * The entity that last updated the automation.
4055
4055
  * @readonly
@@ -4059,7 +4059,7 @@ interface Automation extends AutomationOriginInfoOneOf {
4059
4059
  * Date and time the automation was last updated.
4060
4060
  * @readonly
4061
4061
  */
4062
- _updatedDate?: Date;
4062
+ _updatedDate?: Date | null;
4063
4063
  /** Automation name that is displayed on the user's site. */
4064
4064
  name?: string;
4065
4065
  /** Automation description. */
@@ -4408,7 +4408,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
4408
4408
  /** ID of the entity associated with the event. */
4409
4409
  entityId?: string;
4410
4410
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
4411
- eventTime?: Date;
4411
+ eventTime?: Date | null;
4412
4412
  /**
4413
4413
  * Whether the event was triggered as a result of a privacy regulation application
4414
4414
  * (for example, GDPR).
@@ -4437,7 +4437,7 @@ interface EntityCreatedEvent {
4437
4437
  entity?: string;
4438
4438
  }
4439
4439
  interface RestoreInfo {
4440
- deletedDate?: Date;
4440
+ deletedDate?: Date | null;
4441
4441
  }
4442
4442
  interface EntityUpdatedEvent {
4443
4443
  /**
@@ -4568,7 +4568,7 @@ interface BulkActionMetadata {
4568
4568
  }
4569
4569
  interface CreatePreinstalledAutomationRequest {
4570
4570
  /** Preinstalled automation to be created. */
4571
- automation?: Automation;
4571
+ automation: Automation;
4572
4572
  /** Optional - hide the created automation behind a spec */
4573
4573
  specInfo?: PreinstalledAutomationSpecInfo;
4574
4574
  /**
@@ -4603,7 +4603,7 @@ interface CreatePreinstalledAutomationResponse {
4603
4603
  }
4604
4604
  interface UpdatePreinstalledAutomationRequest {
4605
4605
  /** Preinstalled automation to update. */
4606
- automation?: Automation;
4606
+ automation: Automation;
4607
4607
  /** Optional - hide the updated automation behind a spec */
4608
4608
  specInfo?: PreinstalledAutomationSpecInfo;
4609
4609
  }
@@ -4613,7 +4613,7 @@ interface UpdatePreinstalledAutomationResponse {
4613
4613
  }
4614
4614
  interface DeletePreinstalledAutomationRequest {
4615
4615
  /** Preinstalled Component Id */
4616
- componentId?: string;
4616
+ componentId: string;
4617
4617
  /**
4618
4618
  * Optional - makes the deletion operation gradual
4619
4619
  * The automation will not return if the variant returns for the site
@@ -4993,7 +4993,7 @@ interface SiteDeleted {
4993
4993
  }
4994
4994
  interface DeleteContext {
4995
4995
  /** When the meta site was deleted. */
4996
- dateDeleted?: Date;
4996
+ dateDeleted?: Date | null;
4997
4997
  /** A status. */
4998
4998
  deleteStatus?: DeleteStatus;
4999
4999
  /** A reason (flow). */
@@ -5079,7 +5079,7 @@ interface CreateDraftAutomationResponse {
5079
5079
  }
5080
5080
  interface GetOrCreateDraftAutomationRequest {
5081
5081
  /** Original automation id */
5082
- originalAutomationId?: string;
5082
+ originalAutomationId: string;
5083
5083
  }
5084
5084
  interface GetOrCreateDraftAutomationResponse {
5085
5085
  /** Draft automation. */
@@ -5087,7 +5087,7 @@ interface GetOrCreateDraftAutomationResponse {
5087
5087
  }
5088
5088
  interface UpdateDraftAutomationRequest {
5089
5089
  /** Automation to be updated, may be partial. */
5090
- automation?: Automation;
5090
+ automation: Automation;
5091
5091
  }
5092
5092
  interface UpdateDraftAutomationResponse {
5093
5093
  /** Updated draft automation. */
@@ -5115,13 +5115,13 @@ interface DraftsInfo {
5115
5115
  }
5116
5116
  interface DeleteDraftAutomationRequest {
5117
5117
  /** Id of the draft automation to delete. */
5118
- automationId?: string;
5118
+ automationId: string;
5119
5119
  }
5120
5120
  interface DeleteDraftAutomationResponse {
5121
5121
  }
5122
5122
  interface PublishDraftAutomationRequest {
5123
5123
  /** Id of the draft automation to publish. */
5124
- automationId?: string;
5124
+ automationId: string;
5125
5125
  }
5126
5126
  interface PublishDraftAutomationResponse {
5127
5127
  /** Updated automation after publishing the draft */
@@ -5295,9 +5295,9 @@ declare enum AutomationErrorType {
5295
5295
  }
5296
5296
  interface GetAutomationActionSchemaRequest {
5297
5297
  /** Automation ID */
5298
- automationId?: string;
5298
+ automationId: string;
5299
5299
  /** Action ID */
5300
- actionId?: string;
5300
+ actionId: string;
5301
5301
  }
5302
5302
  interface GetAutomationActionSchemaResponse {
5303
5303
  /** The accumulated payload schema for an action. */
@@ -5361,7 +5361,7 @@ interface Quota {
5361
5361
  * Quota renewal date in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
5362
5362
  * For example, 10 July 2020 at 15:00 is written as `2020-07-10 15:00:00.000`.
5363
5363
  */
5364
- renewalDate?: Date;
5364
+ renewalDate?: Date | null;
5365
5365
  /** The user's current quota usage. */
5366
5366
  currentUsage?: string;
5367
5367
  /** Quota limit data. */
@@ -5477,12 +5477,36 @@ interface BulkDeleteAutomationsResponseNonNullableFields {
5477
5477
  results: BulkDeleteResultNonNullableFields[];
5478
5478
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
5479
5479
  }
5480
+ interface CreatePreinstalledAutomationResponseNonNullableFields {
5481
+ automation?: AutomationNonNullableFields;
5482
+ }
5483
+ interface UpdatePreinstalledAutomationResponseNonNullableFields {
5484
+ automation?: AutomationNonNullableFields;
5485
+ }
5486
+ interface QueryPreinstalledAutomationsForAppResponseNonNullableFields {
5487
+ automations: AutomationNonNullableFields[];
5488
+ }
5480
5489
  interface QueryAutomationsResponseNonNullableFields {
5481
5490
  automations: AutomationNonNullableFields[];
5482
5491
  }
5483
5492
  interface CopyAutomationResponseNonNullableFields {
5484
5493
  automation?: AutomationNonNullableFields;
5485
5494
  }
5495
+ interface CreateDraftAutomationResponseNonNullableFields {
5496
+ automation?: AutomationNonNullableFields;
5497
+ }
5498
+ interface GetOrCreateDraftAutomationResponseNonNullableFields {
5499
+ automation?: AutomationNonNullableFields;
5500
+ }
5501
+ interface UpdateDraftAutomationResponseNonNullableFields {
5502
+ automation?: AutomationNonNullableFields;
5503
+ }
5504
+ interface QueryAutomationsWithDraftsResponseNonNullableFields {
5505
+ automations: AutomationNonNullableFields[];
5506
+ }
5507
+ interface PublishDraftAutomationResponseNonNullableFields {
5508
+ automation?: AutomationNonNullableFields;
5509
+ }
5486
5510
  interface TriggerConfigurationErrorNonNullableFields {
5487
5511
  errorType: TriggerErrorType;
5488
5512
  }
@@ -5591,7 +5615,7 @@ interface EventMetadata extends BaseEventMetadata {
5591
5615
  /** ID of the entity associated with the event. */
5592
5616
  entityId?: string;
5593
5617
  /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
5594
- eventTime?: Date;
5618
+ eventTime?: Date | null;
5595
5619
  /**
5596
5620
  * Whether the event was triggered as a result of a privacy regulation application
5597
5621
  * (for example, GDPR).
@@ -5660,7 +5684,7 @@ interface UpdateAutomation {
5660
5684
  * Date and time the automation was created.
5661
5685
  * @readonly
5662
5686
  */
5663
- _createdDate?: Date;
5687
+ _createdDate?: Date | null;
5664
5688
  /**
5665
5689
  * The entity that last updated the automation.
5666
5690
  * @readonly
@@ -5670,7 +5694,7 @@ interface UpdateAutomation {
5670
5694
  * Date and time the automation was last updated.
5671
5695
  * @readonly
5672
5696
  */
5673
- _updatedDate?: Date;
5697
+ _updatedDate?: Date | null;
5674
5698
  /** Automation name that is displayed on the user's site. */
5675
5699
  name?: string;
5676
5700
  /** Automation description. */
@@ -5689,6 +5713,30 @@ interface UpdateAutomation {
5689
5713
  /** Namespace */
5690
5714
  namespace?: string | null;
5691
5715
  }
5716
+ interface CreatePreinstalledAutomationOptions {
5717
+ /** Optional - hide the created automation behind a spec */
5718
+ specInfo?: PreinstalledAutomationSpecInfo;
5719
+ /**
5720
+ * Optional - the information about the original site automation that was used to create this preinstalled automation
5721
+ * Usually an existing automation in a site is used to create the preinstalled automation, this is the relevant information.
5722
+ */
5723
+ originAutomationInfo?: OriginAutomationInfo;
5724
+ }
5725
+ interface UpdatePreinstalledAutomationOptions {
5726
+ /** Optional - hide the updated automation behind a spec */
5727
+ specInfo?: PreinstalledAutomationSpecInfo;
5728
+ }
5729
+ interface DeletePreinstalledAutomationOptions {
5730
+ /**
5731
+ * Optional - makes the deletion operation gradual
5732
+ * The automation will not return if the variant returns for the site
5733
+ */
5734
+ specInfo?: PreinstalledAutomationSpecInfo;
5735
+ }
5736
+ interface QueryPreinstalledAutomationsForAppOptions {
5737
+ /** WQL expression. */
5738
+ query?: CommonCursorQuery;
5739
+ }
5692
5740
  interface QueryCursorResult {
5693
5741
  cursors: Cursors;
5694
5742
  hasNext: () => boolean;
@@ -5755,10 +5803,81 @@ interface CopyAutomationOptions {
5755
5803
  /** Automation origin. */
5756
5804
  origin?: Origin;
5757
5805
  }
5806
+ interface CreateDraftAutomationOptions {
5807
+ /** Draft automation to be created. */
5808
+ automation?: Automation;
5809
+ }
5810
+ interface UpdateDraftAutomation {
5811
+ /** Application info */
5812
+ applicationInfo?: ApplicationOrigin;
5813
+ /** Preinstalled info */
5814
+ preinstalledInfo?: PreinstalledOrigin;
5815
+ /**
5816
+ * Automation ID.
5817
+ * @readonly
5818
+ */
5819
+ _id?: string | null;
5820
+ /**
5821
+ * Revision number, which increments by 1 each time the automation is updated.
5822
+ * To prevent conflicting changes,
5823
+ * the current revision must be passed when updating the automation.
5824
+ *
5825
+ * Ignored when creating an automation.
5826
+ * @readonly
5827
+ */
5828
+ revision?: string | null;
5829
+ /**
5830
+ * Information about the creator of the automation.
5831
+ * @readonly
5832
+ */
5833
+ createdBy?: AuditInfo;
5834
+ /**
5835
+ * Date and time the automation was created.
5836
+ * @readonly
5837
+ */
5838
+ _createdDate?: Date | null;
5839
+ /**
5840
+ * The entity that last updated the automation.
5841
+ * @readonly
5842
+ */
5843
+ updatedBy?: AuditInfo;
5844
+ /**
5845
+ * Date and time the automation was last updated.
5846
+ * @readonly
5847
+ */
5848
+ _updatedDate?: Date | null;
5849
+ /** Automation name that is displayed on the user's site. */
5850
+ name?: string;
5851
+ /** Automation description. */
5852
+ description?: string | null;
5853
+ /** Object that defines the automation's trigger, actions, and activation status. */
5854
+ configuration?: AutomationConfiguration;
5855
+ /** Defines how the automation was added to the site. */
5856
+ origin?: Origin;
5857
+ /** Automation settings. */
5858
+ settings?: AutomationSettings;
5859
+ /**
5860
+ * Draft info (optional - only if the automation is a draft)
5861
+ * @readonly
5862
+ */
5863
+ draftInfo?: DraftInfo;
5864
+ /** Namespace */
5865
+ namespace?: string | null;
5866
+ }
5867
+ interface QueryAutomationsWithDraftsOptions {
5868
+ /** WQL expression. */
5869
+ query?: CursorQuery;
5870
+ }
5758
5871
  interface ValidateAutomationOptions {
5759
5872
  /** Settings to customize the validation. */
5760
5873
  validationSettings?: ValidationSettings;
5761
5874
  }
5875
+ interface GetAutomationActionSchemaIdentifiers {
5876
+ /** Automation ID */
5877
+ automationId: string;
5878
+ /** Action ID */
5879
+ actionId: string;
5880
+ }
5762
5881
 
5763
5882
  declare function createAutomation$1(httpClient: HttpClient): CreateAutomationSignature;
5764
5883
  interface CreateAutomationSignature {
@@ -5809,6 +5928,37 @@ interface BulkDeleteAutomationsSignature {
5809
5928
  */
5810
5929
  (automationIds: string[]): Promise<BulkDeleteAutomationsResponse & BulkDeleteAutomationsResponseNonNullableFields>;
5811
5930
  }
5931
+ declare function createPreinstalledAutomation$1(httpClient: HttpClient): CreatePreinstalledAutomationSignature;
5932
+ interface CreatePreinstalledAutomationSignature {
5933
+ /**
5934
+ * Creates a Preinstalled Automation.
5935
+ * @param - Preinstalled automation to be created.
5936
+ */
5937
+ (automation: Automation, options?: CreatePreinstalledAutomationOptions | undefined): Promise<CreatePreinstalledAutomationResponse & CreatePreinstalledAutomationResponseNonNullableFields>;
5938
+ }
5939
+ declare function updatePreinstalledAutomation$1(httpClient: HttpClient): UpdatePreinstalledAutomationSignature;
5940
+ interface UpdatePreinstalledAutomationSignature {
5941
+ /**
5942
+ * Updates a Preinstalled Automation.
5943
+ * @param - Preinstalled automation to update.
5944
+ */
5945
+ (automation: Automation, options?: UpdatePreinstalledAutomationOptions | undefined): Promise<UpdatePreinstalledAutomationResponse & UpdatePreinstalledAutomationResponseNonNullableFields>;
5946
+ }
5947
+ declare function deletePreinstalledAutomation$1(httpClient: HttpClient): DeletePreinstalledAutomationSignature;
5948
+ interface DeletePreinstalledAutomationSignature {
5949
+ /**
5950
+ * Deletes a Preinstalled Automation.
5951
+ * @param - Preinstalled Component Id
5952
+ */
5953
+ (componentId: string, options?: DeletePreinstalledAutomationOptions | undefined): Promise<void>;
5954
+ }
5955
+ declare function queryPreinstalledAutomationsForApp$1(httpClient: HttpClient): QueryPreinstalledAutomationsForAppSignature;
5956
+ interface QueryPreinstalledAutomationsForAppSignature {
5957
+ /**
5958
+ * Allows an app to query for his preinstalled automations
5959
+ */
5960
+ (options?: QueryPreinstalledAutomationsForAppOptions | undefined): Promise<QueryPreinstalledAutomationsForAppResponse & QueryPreinstalledAutomationsForAppResponseNonNullableFields>;
5961
+ }
5812
5962
  declare function queryAutomations$1(httpClient: HttpClient): QueryAutomationsSignature;
5813
5963
  interface QueryAutomationsSignature {
5814
5964
  /**
@@ -5836,6 +5986,66 @@ interface CopyAutomationSignature {
5836
5986
  */
5837
5987
  (automationId: string, options?: CopyAutomationOptions | undefined): Promise<CopyAutomationResponse & CopyAutomationResponseNonNullableFields>;
5838
5988
  }
5989
+ declare function createDraftAutomation$1(httpClient: HttpClient): CreateDraftAutomationSignature;
5990
+ interface CreateDraftAutomationSignature {
5991
+ /**
5992
+ * Creates a draft automation.
5993
+ */
5994
+ (options?: CreateDraftAutomationOptions | undefined): Promise<CreateDraftAutomationResponse & CreateDraftAutomationResponseNonNullableFields>;
5995
+ }
5996
+ declare function getOrCreateDraftAutomation$1(httpClient: HttpClient): GetOrCreateDraftAutomationSignature;
5997
+ interface GetOrCreateDraftAutomationSignature {
5998
+ /**
5999
+ * Gets the draft of the given original automation if exists, or creates one and returns it
6000
+ *
6001
+ * - if the original automation is a draft, returns the original automation
6002
+ * @param - Original automation id
6003
+ */
6004
+ (originalAutomationId: string): Promise<GetOrCreateDraftAutomationResponse & GetOrCreateDraftAutomationResponseNonNullableFields>;
6005
+ }
6006
+ declare function updateDraftAutomation$1(httpClient: HttpClient): UpdateDraftAutomationSignature;
6007
+ interface UpdateDraftAutomationSignature {
6008
+ /**
6009
+ * Updates a draft automation
6010
+ * @param - Automation ID.
6011
+ */
6012
+ (_id: string | null, automation: UpdateDraftAutomation): Promise<UpdateDraftAutomationResponse & UpdateDraftAutomationResponseNonNullableFields>;
6013
+ }
6014
+ declare function queryAutomationsWithDrafts$1(httpClient: HttpClient): QueryAutomationsWithDraftsSignature;
6015
+ interface QueryAutomationsWithDraftsSignature {
6016
+ /**
6017
+ * Retrieves a list of automations including drafts. Max query filter depth is 3.
6018
+ *
6019
+ * Relevant automations for the query are returned. This includes automations created on the site and pre-installed automations.
6020
+ * If there's an existing override for a pre-installed automation, the override is returned in the query result.
6021
+ * The query only returns automations from apps that are installed on the site.
6022
+ *
6023
+ * - new drafts that are not related to existing automations will be returned in the list
6024
+ * - the response will contain a map of originalAutomationId => relatedDrafts
6025
+ *
6026
+ * To learn about working with _Query_ endpoints, see
6027
+ * [API Query Language](https://dev.wix.com/api/rest/getting-started/api-query-language),
6028
+ * [Sorting and Paging](https://dev.wix.com/api/rest/getting-started/pagination),
6029
+ * and [Field Projection](https://dev.wix.com/api/rest/getting-started/field-projection).
6030
+ */
6031
+ (options?: QueryAutomationsWithDraftsOptions | undefined): Promise<QueryAutomationsWithDraftsResponse & QueryAutomationsWithDraftsResponseNonNullableFields>;
6032
+ }
6033
+ declare function deleteDraftAutomation$1(httpClient: HttpClient): DeleteDraftAutomationSignature;
6034
+ interface DeleteDraftAutomationSignature {
6035
+ /**
6036
+ * Deletes a draft automation.
6037
+ * @param - Id of the draft automation to delete.
6038
+ */
6039
+ (automationId: string): Promise<void>;
6040
+ }
6041
+ declare function publishDraftAutomation$1(httpClient: HttpClient): PublishDraftAutomationSignature;
6042
+ interface PublishDraftAutomationSignature {
6043
+ /**
6044
+ * Publishes a draft automation, applying the changes to live automation
6045
+ * @param - Id of the draft automation to publish.
6046
+ */
6047
+ (automationId: string): Promise<PublishDraftAutomationResponse & PublishDraftAutomationResponseNonNullableFields>;
6048
+ }
5839
6049
  declare function validateAutomation$1(httpClient: HttpClient): ValidateAutomationSignature;
5840
6050
  interface ValidateAutomationSignature {
5841
6051
  /**
@@ -5844,6 +6054,13 @@ interface ValidateAutomationSignature {
5844
6054
  */
5845
6055
  (automation: Automation, options?: ValidateAutomationOptions | undefined): Promise<ValidateAutomationResponse & ValidateAutomationResponseNonNullableFields>;
5846
6056
  }
6057
+ declare function getAutomationActionSchema$1(httpClient: HttpClient): GetAutomationActionSchemaSignature;
6058
+ interface GetAutomationActionSchemaSignature {
6059
+ /**
6060
+ * Gets the payload schema received by the action whose ID is passed in.
6061
+ */
6062
+ (identifiers: GetAutomationActionSchemaIdentifiers): Promise<GetAutomationActionSchemaResponse>;
6063
+ }
5847
6064
  declare function getActionsQuotaInfo$1(httpClient: HttpClient): GetActionsQuotaInfoSignature;
5848
6065
  interface GetActionsQuotaInfoSignature {
5849
6066
  /**
@@ -5864,9 +6081,20 @@ declare const getAutomation: MaybeContext<BuildRESTFunction<typeof getAutomation
5864
6081
  declare const updateAutomation: MaybeContext<BuildRESTFunction<typeof updateAutomation$1> & typeof updateAutomation$1>;
5865
6082
  declare const deleteAutomation: MaybeContext<BuildRESTFunction<typeof deleteAutomation$1> & typeof deleteAutomation$1>;
5866
6083
  declare const bulkDeleteAutomations: MaybeContext<BuildRESTFunction<typeof bulkDeleteAutomations$1> & typeof bulkDeleteAutomations$1>;
6084
+ declare const createPreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof createPreinstalledAutomation$1> & typeof createPreinstalledAutomation$1>;
6085
+ declare const updatePreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof updatePreinstalledAutomation$1> & typeof updatePreinstalledAutomation$1>;
6086
+ declare const deletePreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof deletePreinstalledAutomation$1> & typeof deletePreinstalledAutomation$1>;
6087
+ declare const queryPreinstalledAutomationsForApp: MaybeContext<BuildRESTFunction<typeof queryPreinstalledAutomationsForApp$1> & typeof queryPreinstalledAutomationsForApp$1>;
5867
6088
  declare const queryAutomations: MaybeContext<BuildRESTFunction<typeof queryAutomations$1> & typeof queryAutomations$1>;
5868
6089
  declare const copyAutomation: MaybeContext<BuildRESTFunction<typeof copyAutomation$1> & typeof copyAutomation$1>;
6090
+ declare const createDraftAutomation: MaybeContext<BuildRESTFunction<typeof createDraftAutomation$1> & typeof createDraftAutomation$1>;
6091
+ declare const getOrCreateDraftAutomation: MaybeContext<BuildRESTFunction<typeof getOrCreateDraftAutomation$1> & typeof getOrCreateDraftAutomation$1>;
6092
+ declare const updateDraftAutomation: MaybeContext<BuildRESTFunction<typeof updateDraftAutomation$1> & typeof updateDraftAutomation$1>;
6093
+ declare const queryAutomationsWithDrafts: MaybeContext<BuildRESTFunction<typeof queryAutomationsWithDrafts$1> & typeof queryAutomationsWithDrafts$1>;
6094
+ declare const deleteDraftAutomation: MaybeContext<BuildRESTFunction<typeof deleteDraftAutomation$1> & typeof deleteDraftAutomation$1>;
6095
+ declare const publishDraftAutomation: MaybeContext<BuildRESTFunction<typeof publishDraftAutomation$1> & typeof publishDraftAutomation$1>;
5869
6096
  declare const validateAutomation: MaybeContext<BuildRESTFunction<typeof validateAutomation$1> & typeof validateAutomation$1>;
6097
+ declare const getAutomationActionSchema: MaybeContext<BuildRESTFunction<typeof getAutomationActionSchema$1> & typeof getAutomationActionSchema$1>;
5870
6098
  declare const getActionsQuotaInfo: MaybeContext<BuildRESTFunction<typeof getActionsQuotaInfo$1> & typeof getActionsQuotaInfo$1>;
5871
6099
 
5872
6100
  type _publicOnAutomationCreatedType = typeof onAutomationCreated$1;
@@ -5951,10 +6179,14 @@ type context_CopyAutomationResponseNonNullableFields = CopyAutomationResponseNon
5951
6179
  type context_CreateAutomationRequest = CreateAutomationRequest;
5952
6180
  type context_CreateAutomationResponse = CreateAutomationResponse;
5953
6181
  type context_CreateAutomationResponseNonNullableFields = CreateAutomationResponseNonNullableFields;
6182
+ type context_CreateDraftAutomationOptions = CreateDraftAutomationOptions;
5954
6183
  type context_CreateDraftAutomationRequest = CreateDraftAutomationRequest;
5955
6184
  type context_CreateDraftAutomationResponse = CreateDraftAutomationResponse;
6185
+ type context_CreateDraftAutomationResponseNonNullableFields = CreateDraftAutomationResponseNonNullableFields;
6186
+ type context_CreatePreinstalledAutomationOptions = CreatePreinstalledAutomationOptions;
5956
6187
  type context_CreatePreinstalledAutomationRequest = CreatePreinstalledAutomationRequest;
5957
6188
  type context_CreatePreinstalledAutomationResponse = CreatePreinstalledAutomationResponse;
6189
+ type context_CreatePreinstalledAutomationResponseNonNullableFields = CreatePreinstalledAutomationResponseNonNullableFields;
5958
6190
  type context_CursorPaging = CursorPaging;
5959
6191
  type context_CursorPagingMetadata = CursorPagingMetadata;
5960
6192
  type context_CursorQuery = CursorQuery;
@@ -5966,6 +6198,7 @@ type context_DeleteAutomationResponse = DeleteAutomationResponse;
5966
6198
  type context_DeleteContext = DeleteContext;
5967
6199
  type context_DeleteDraftAutomationRequest = DeleteDraftAutomationRequest;
5968
6200
  type context_DeleteDraftAutomationResponse = DeleteDraftAutomationResponse;
6201
+ type context_DeletePreinstalledAutomationOptions = DeletePreinstalledAutomationOptions;
5969
6202
  type context_DeletePreinstalledAutomationRequest = DeletePreinstalledAutomationRequest;
5970
6203
  type context_DeletePreinstalledAutomationResponse = DeletePreinstalledAutomationResponse;
5971
6204
  type context_DeleteStatus = DeleteStatus;
@@ -5985,6 +6218,7 @@ type context_FutureDateActivationOffset = FutureDateActivationOffset;
5985
6218
  type context_GetActionsQuotaInfoRequest = GetActionsQuotaInfoRequest;
5986
6219
  type context_GetActionsQuotaInfoResponse = GetActionsQuotaInfoResponse;
5987
6220
  type context_GetActionsQuotaInfoResponseNonNullableFields = GetActionsQuotaInfoResponseNonNullableFields;
6221
+ type context_GetAutomationActionSchemaIdentifiers = GetAutomationActionSchemaIdentifiers;
5988
6222
  type context_GetAutomationActionSchemaRequest = GetAutomationActionSchemaRequest;
5989
6223
  type context_GetAutomationActionSchemaResponse = GetAutomationActionSchemaResponse;
5990
6224
  type context_GetAutomationOptions = GetAutomationOptions;
@@ -5995,6 +6229,7 @@ type context_GetAutomationRevisionRequest = GetAutomationRevisionRequest;
5995
6229
  type context_GetAutomationRevisionResponse = GetAutomationRevisionResponse;
5996
6230
  type context_GetOrCreateDraftAutomationRequest = GetOrCreateDraftAutomationRequest;
5997
6231
  type context_GetOrCreateDraftAutomationResponse = GetOrCreateDraftAutomationResponse;
6232
+ type context_GetOrCreateDraftAutomationResponseNonNullableFields = GetOrCreateDraftAutomationResponseNonNullableFields;
5998
6233
  type context_IdentificationData = IdentificationData;
5999
6234
  type context_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
6000
6235
  type context_ItemMetadata = ItemMetadata;
@@ -6016,13 +6251,18 @@ type context_PreinstalledOrigin = PreinstalledOrigin;
6016
6251
  type context_ProviderConfigurationError = ProviderConfigurationError;
6017
6252
  type context_PublishDraftAutomationRequest = PublishDraftAutomationRequest;
6018
6253
  type context_PublishDraftAutomationResponse = PublishDraftAutomationResponse;
6254
+ type context_PublishDraftAutomationResponseNonNullableFields = PublishDraftAutomationResponseNonNullableFields;
6019
6255
  type context_QueryAutomationsRequest = QueryAutomationsRequest;
6020
6256
  type context_QueryAutomationsResponse = QueryAutomationsResponse;
6021
6257
  type context_QueryAutomationsResponseNonNullableFields = QueryAutomationsResponseNonNullableFields;
6258
+ type context_QueryAutomationsWithDraftsOptions = QueryAutomationsWithDraftsOptions;
6022
6259
  type context_QueryAutomationsWithDraftsRequest = QueryAutomationsWithDraftsRequest;
6023
6260
  type context_QueryAutomationsWithDraftsResponse = QueryAutomationsWithDraftsResponse;
6261
+ type context_QueryAutomationsWithDraftsResponseNonNullableFields = QueryAutomationsWithDraftsResponseNonNullableFields;
6262
+ type context_QueryPreinstalledAutomationsForAppOptions = QueryPreinstalledAutomationsForAppOptions;
6024
6263
  type context_QueryPreinstalledAutomationsForAppRequest = QueryPreinstalledAutomationsForAppRequest;
6025
6264
  type context_QueryPreinstalledAutomationsForAppResponse = QueryPreinstalledAutomationsForAppResponse;
6265
+ type context_QueryPreinstalledAutomationsForAppResponseNonNullableFields = QueryPreinstalledAutomationsForAppResponseNonNullableFields;
6026
6266
  type context_Quota = Quota;
6027
6267
  type context_QuotaInfo = QuotaInfo;
6028
6268
  type context_RateLimit = RateLimit;
@@ -6067,10 +6307,14 @@ type context_UpdateAutomation = UpdateAutomation;
6067
6307
  type context_UpdateAutomationRequest = UpdateAutomationRequest;
6068
6308
  type context_UpdateAutomationResponse = UpdateAutomationResponse;
6069
6309
  type context_UpdateAutomationResponseNonNullableFields = UpdateAutomationResponseNonNullableFields;
6310
+ type context_UpdateDraftAutomation = UpdateDraftAutomation;
6070
6311
  type context_UpdateDraftAutomationRequest = UpdateDraftAutomationRequest;
6071
6312
  type context_UpdateDraftAutomationResponse = UpdateDraftAutomationResponse;
6313
+ type context_UpdateDraftAutomationResponseNonNullableFields = UpdateDraftAutomationResponseNonNullableFields;
6314
+ type context_UpdatePreinstalledAutomationOptions = UpdatePreinstalledAutomationOptions;
6072
6315
  type context_UpdatePreinstalledAutomationRequest = UpdatePreinstalledAutomationRequest;
6073
6316
  type context_UpdatePreinstalledAutomationResponse = UpdatePreinstalledAutomationResponse;
6317
+ type context_UpdatePreinstalledAutomationResponseNonNullableFields = UpdatePreinstalledAutomationResponseNonNullableFields;
6074
6318
  type context_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
6075
6319
  type context_UpgradeCTA = UpgradeCTA;
6076
6320
  type context_ValidateAutomationOptions = ValidateAutomationOptions;
@@ -6092,19 +6336,30 @@ type context__publicOnAutomationUpdatedWithPreviousEntityType = _publicOnAutomat
6092
6336
  declare const context_bulkDeleteAutomations: typeof bulkDeleteAutomations;
6093
6337
  declare const context_copyAutomation: typeof copyAutomation;
6094
6338
  declare const context_createAutomation: typeof createAutomation;
6339
+ declare const context_createDraftAutomation: typeof createDraftAutomation;
6340
+ declare const context_createPreinstalledAutomation: typeof createPreinstalledAutomation;
6095
6341
  declare const context_deleteAutomation: typeof deleteAutomation;
6342
+ declare const context_deleteDraftAutomation: typeof deleteDraftAutomation;
6343
+ declare const context_deletePreinstalledAutomation: typeof deletePreinstalledAutomation;
6096
6344
  declare const context_getActionsQuotaInfo: typeof getActionsQuotaInfo;
6097
6345
  declare const context_getAutomation: typeof getAutomation;
6346
+ declare const context_getAutomationActionSchema: typeof getAutomationActionSchema;
6347
+ declare const context_getOrCreateDraftAutomation: typeof getOrCreateDraftAutomation;
6098
6348
  declare const context_onAutomationCreated: typeof onAutomationCreated;
6099
6349
  declare const context_onAutomationDeleted: typeof onAutomationDeleted;
6100
6350
  declare const context_onAutomationDeletedWithEntity: typeof onAutomationDeletedWithEntity;
6101
6351
  declare const context_onAutomationUpdated: typeof onAutomationUpdated;
6102
6352
  declare const context_onAutomationUpdatedWithPreviousEntity: typeof onAutomationUpdatedWithPreviousEntity;
6353
+ declare const context_publishDraftAutomation: typeof publishDraftAutomation;
6103
6354
  declare const context_queryAutomations: typeof queryAutomations;
6355
+ declare const context_queryAutomationsWithDrafts: typeof queryAutomationsWithDrafts;
6356
+ declare const context_queryPreinstalledAutomationsForApp: typeof queryPreinstalledAutomationsForApp;
6104
6357
  declare const context_updateAutomation: typeof updateAutomation;
6358
+ declare const context_updateDraftAutomation: typeof updateDraftAutomation;
6359
+ declare const context_updatePreinstalledAutomation: typeof updatePreinstalledAutomation;
6105
6360
  declare const context_validateAutomation: typeof validateAutomation;
6106
6361
  declare namespace context {
6107
- export { type context_Action as Action, type context_ActionConfigurationError as ActionConfigurationError, context_ActionErrorType as ActionErrorType, type context_ActionEvent as ActionEvent, type context_ActionInfoOneOf as ActionInfoOneOf, type context_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type context_ActionQuotaInfo as ActionQuotaInfo, type context_ActionSettings as ActionSettings, type context_ActionValidationError as ActionValidationError, type context_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type context_ActionValidationInfo as ActionValidationInfo, type context_AdditionalInfo as AdditionalInfo, type context_AppDefinedAction as AppDefinedAction, type context_ApplicationError as ApplicationError, type context_ApplicationOrigin as ApplicationOrigin, type context_Asset as Asset, type context_AuditInfo as AuditInfo, type context_AuditInfoIdOneOf as AuditInfoIdOneOf, type context_Automation as Automation, type context_AutomationConfiguration as AutomationConfiguration, type context_AutomationConfigurationError as AutomationConfigurationError, type context_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type context_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type context_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, context_AutomationErrorType as AutomationErrorType, type context_AutomationNonNullableFields as AutomationNonNullableFields, type context_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type context_AutomationSettings as AutomationSettings, type context_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type context_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type context_AutomationValidationError as AutomationValidationError, type context_AutomationValidationErrorErrorOneOf as AutomationValidationErrorErrorOneOf, context_AutomationValidationErrorValidationErrorType as AutomationValidationErrorValidationErrorType, type context_AutomationsQueryBuilder as AutomationsQueryBuilder, type context_AutomationsQueryResult as AutomationsQueryResult, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type context_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type context_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type context_BulkDeleteResult as BulkDeleteResult, type context_CTA as CTA, type context_CommonCursorPaging as CommonCursorPaging, type context_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type context_CommonCursorQuery as CommonCursorQuery, type context_CommonCursorQueryPagingMethodOneOf as CommonCursorQueryPagingMethodOneOf, type context_CommonCursors as CommonCursors, context_CommonSortOrder as CommonSortOrder, type context_CommonSorting as CommonSorting, type context_ConditionAction as ConditionAction, type context_ConditionExpressionGroup as ConditionExpressionGroup, type context_CopyAutomationOptions as CopyAutomationOptions, type context_CopyAutomationRequest as CopyAutomationRequest, type context_CopyAutomationResponse as CopyAutomationResponse, type context_CopyAutomationResponseNonNullableFields as CopyAutomationResponseNonNullableFields, type context_CreateAutomationRequest as CreateAutomationRequest, type context_CreateAutomationResponse as CreateAutomationResponse, type context_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type context_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type context_CreateDraftAutomationResponse as CreateDraftAutomationResponse, type context_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type context_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DelayAction as DelayAction, type context_DeleteAutomationRequest as DeleteAutomationRequest, type context_DeleteAutomationResponse as DeleteAutomationResponse, type context_DeleteContext as DeleteContext, type context_DeleteDraftAutomationRequest as DeleteDraftAutomationRequest, type context_DeleteDraftAutomationResponse as DeleteDraftAutomationResponse, type context_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type context_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, context_DeleteStatus as DeleteStatus, type context_DeletedWithEntity as DeletedWithEntity, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DraftInfo as DraftInfo, type context_DraftsInfo as DraftsInfo, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_Filter as Filter, type context_FutureDateActivationOffset as FutureDateActivationOffset, type context_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type context_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type context_GetActionsQuotaInfoResponseNonNullableFields as GetActionsQuotaInfoResponseNonNullableFields, type context_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type context_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type context_GetAutomationOptions as GetAutomationOptions, type context_GetAutomationRequest as GetAutomationRequest, type context_GetAutomationResponse as GetAutomationResponse, type context_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type context_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type context_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type context_GetOrCreateDraftAutomationRequest as GetOrCreateDraftAutomationRequest, type context_GetOrCreateDraftAutomationResponse as GetOrCreateDraftAutomationResponse, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ItemMetadata as ItemMetadata, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, context_Operator as Operator, context_Origin as Origin, type context_OriginAutomationInfo as OriginAutomationInfo, type context_OutputAction as OutputAction, type context_Plan as Plan, type context_PreinstalledAutomationSpecInfo as PreinstalledAutomationSpecInfo, type context_PreinstalledOrigin as PreinstalledOrigin, type context_ProviderConfigurationError as ProviderConfigurationError, type context_PublishDraftAutomationRequest as PublishDraftAutomationRequest, type context_PublishDraftAutomationResponse as PublishDraftAutomationResponse, type context_QueryAutomationsRequest as QueryAutomationsRequest, type context_QueryAutomationsResponse as QueryAutomationsResponse, type context_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type context_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type context_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, type context_QueryPreinstalledAutomationsForAppRequest as QueryPreinstalledAutomationsForAppRequest, type context_QueryPreinstalledAutomationsForAppResponse as QueryPreinstalledAutomationsForAppResponse, type context_Quota as Quota, type context_QuotaInfo as QuotaInfo, type context_RateLimit as RateLimit, type context_RateLimitAction as RateLimitAction, type context_RestoreInfo as RestoreInfo, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, context_Status as Status, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, context_TimeUnit as TimeUnit, type context_Trigger as Trigger, type context_TriggerConfigurationError as TriggerConfigurationError, context_TriggerErrorType as TriggerErrorType, type context_TriggerValidationError as TriggerValidationError, type context_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, context_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, context_Type as Type, type context_UpdateAutomation as UpdateAutomation, type context_UpdateAutomationRequest as UpdateAutomationRequest, type context_UpdateAutomationResponse as UpdateAutomationResponse, type context_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type context_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type context_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, type context_UpdatePreinstalledAutomationRequest as UpdatePreinstalledAutomationRequest, type context_UpdatePreinstalledAutomationResponse as UpdatePreinstalledAutomationResponse, type context_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type context_UpgradeCTA as UpgradeCTA, type context_ValidateAutomationOptions as ValidateAutomationOptions, type context_ValidateAutomationRequest as ValidateAutomationRequest, type context_ValidateAutomationResponse as ValidateAutomationResponse, type context_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, context_ValidationErrorSeverity as ValidationErrorSeverity, context_ValidationErrorType as ValidationErrorType, type context_ValidationSettings as ValidationSettings, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnAutomationCreatedType as _publicOnAutomationCreatedType, type context__publicOnAutomationDeletedType as _publicOnAutomationDeletedType, type context__publicOnAutomationDeletedWithEntityType as _publicOnAutomationDeletedWithEntityType, type context__publicOnAutomationUpdatedType as _publicOnAutomationUpdatedType, type context__publicOnAutomationUpdatedWithPreviousEntityType as _publicOnAutomationUpdatedWithPreviousEntityType, context_bulkDeleteAutomations as bulkDeleteAutomations, context_copyAutomation as copyAutomation, context_createAutomation as createAutomation, context_deleteAutomation as deleteAutomation, context_getActionsQuotaInfo as getActionsQuotaInfo, context_getAutomation as getAutomation, context_onAutomationCreated as onAutomationCreated, context_onAutomationDeleted as onAutomationDeleted, context_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, context_onAutomationUpdated as onAutomationUpdated, context_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, onAutomationCreated$1 as publicOnAutomationCreated, onAutomationDeleted$1 as publicOnAutomationDeleted, onAutomationDeletedWithEntity$1 as publicOnAutomationDeletedWithEntity, onAutomationUpdated$1 as publicOnAutomationUpdated, onAutomationUpdatedWithPreviousEntity$1 as publicOnAutomationUpdatedWithPreviousEntity, context_queryAutomations as queryAutomations, context_updateAutomation as updateAutomation, context_validateAutomation as validateAutomation };
6362
+ export { type context_Action as Action, type context_ActionConfigurationError as ActionConfigurationError, context_ActionErrorType as ActionErrorType, type context_ActionEvent as ActionEvent, type context_ActionInfoOneOf as ActionInfoOneOf, type context_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type context_ActionQuotaInfo as ActionQuotaInfo, type context_ActionSettings as ActionSettings, type context_ActionValidationError as ActionValidationError, type context_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type context_ActionValidationInfo as ActionValidationInfo, type context_AdditionalInfo as AdditionalInfo, type context_AppDefinedAction as AppDefinedAction, type context_ApplicationError as ApplicationError, type context_ApplicationOrigin as ApplicationOrigin, type context_Asset as Asset, type context_AuditInfo as AuditInfo, type context_AuditInfoIdOneOf as AuditInfoIdOneOf, type context_Automation as Automation, type context_AutomationConfiguration as AutomationConfiguration, type context_AutomationConfigurationError as AutomationConfigurationError, type context_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type context_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type context_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, context_AutomationErrorType as AutomationErrorType, type context_AutomationNonNullableFields as AutomationNonNullableFields, type context_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type context_AutomationSettings as AutomationSettings, type context_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type context_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type context_AutomationValidationError as AutomationValidationError, type context_AutomationValidationErrorErrorOneOf as AutomationValidationErrorErrorOneOf, context_AutomationValidationErrorValidationErrorType as AutomationValidationErrorValidationErrorType, type context_AutomationsQueryBuilder as AutomationsQueryBuilder, type context_AutomationsQueryResult as AutomationsQueryResult, type context_BaseEventMetadata as BaseEventMetadata, type context_BulkActionMetadata as BulkActionMetadata, type context_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type context_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type context_BulkDeleteAutomationsResponseNonNullableFields as BulkDeleteAutomationsResponseNonNullableFields, type context_BulkDeleteResult as BulkDeleteResult, type context_CTA as CTA, type context_CommonCursorPaging as CommonCursorPaging, type context_CommonCursorPagingMetadata as CommonCursorPagingMetadata, type context_CommonCursorQuery as CommonCursorQuery, type context_CommonCursorQueryPagingMethodOneOf as CommonCursorQueryPagingMethodOneOf, type context_CommonCursors as CommonCursors, context_CommonSortOrder as CommonSortOrder, type context_CommonSorting as CommonSorting, type context_ConditionAction as ConditionAction, type context_ConditionExpressionGroup as ConditionExpressionGroup, type context_CopyAutomationOptions as CopyAutomationOptions, type context_CopyAutomationRequest as CopyAutomationRequest, type context_CopyAutomationResponse as CopyAutomationResponse, type context_CopyAutomationResponseNonNullableFields as CopyAutomationResponseNonNullableFields, type context_CreateAutomationRequest as CreateAutomationRequest, type context_CreateAutomationResponse as CreateAutomationResponse, type context_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type context_CreateDraftAutomationOptions as CreateDraftAutomationOptions, type context_CreateDraftAutomationRequest as CreateDraftAutomationRequest, type context_CreateDraftAutomationResponse as CreateDraftAutomationResponse, type context_CreateDraftAutomationResponseNonNullableFields as CreateDraftAutomationResponseNonNullableFields, type context_CreatePreinstalledAutomationOptions as CreatePreinstalledAutomationOptions, type context_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type context_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type context_CreatePreinstalledAutomationResponseNonNullableFields as CreatePreinstalledAutomationResponseNonNullableFields, type context_CursorPaging as CursorPaging, type context_CursorPagingMetadata as CursorPagingMetadata, type context_CursorQuery as CursorQuery, type context_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type context_Cursors as Cursors, type context_DelayAction as DelayAction, type context_DeleteAutomationRequest as DeleteAutomationRequest, type context_DeleteAutomationResponse as DeleteAutomationResponse, type context_DeleteContext as DeleteContext, type context_DeleteDraftAutomationRequest as DeleteDraftAutomationRequest, type context_DeleteDraftAutomationResponse as DeleteDraftAutomationResponse, type context_DeletePreinstalledAutomationOptions as DeletePreinstalledAutomationOptions, type context_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type context_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, context_DeleteStatus as DeleteStatus, type context_DeletedWithEntity as DeletedWithEntity, type context_DomainEvent as DomainEvent, type context_DomainEventBodyOneOf as DomainEventBodyOneOf, type context_DraftInfo as DraftInfo, type context_DraftsInfo as DraftsInfo, type context_Empty as Empty, type context_EntityCreatedEvent as EntityCreatedEvent, type context_EntityDeletedEvent as EntityDeletedEvent, type context_EntityUpdatedEvent as EntityUpdatedEvent, type context_EventMetadata as EventMetadata, type context_Filter as Filter, type context_FutureDateActivationOffset as FutureDateActivationOffset, type context_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type context_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type context_GetActionsQuotaInfoResponseNonNullableFields as GetActionsQuotaInfoResponseNonNullableFields, type context_GetAutomationActionSchemaIdentifiers as GetAutomationActionSchemaIdentifiers, type context_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type context_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type context_GetAutomationOptions as GetAutomationOptions, type context_GetAutomationRequest as GetAutomationRequest, type context_GetAutomationResponse as GetAutomationResponse, type context_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type context_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type context_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type context_GetOrCreateDraftAutomationRequest as GetOrCreateDraftAutomationRequest, type context_GetOrCreateDraftAutomationResponse as GetOrCreateDraftAutomationResponse, type context_GetOrCreateDraftAutomationResponseNonNullableFields as GetOrCreateDraftAutomationResponseNonNullableFields, type context_IdentificationData as IdentificationData, type context_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type context_ItemMetadata as ItemMetadata, type context_MessageEnvelope as MessageEnvelope, type context_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type context_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, context_Namespace as Namespace, type context_NamespaceChanged as NamespaceChanged, context_Operator as Operator, context_Origin as Origin, type context_OriginAutomationInfo as OriginAutomationInfo, type context_OutputAction as OutputAction, type context_Plan as Plan, type context_PreinstalledAutomationSpecInfo as PreinstalledAutomationSpecInfo, type context_PreinstalledOrigin as PreinstalledOrigin, type context_ProviderConfigurationError as ProviderConfigurationError, type context_PublishDraftAutomationRequest as PublishDraftAutomationRequest, type context_PublishDraftAutomationResponse as PublishDraftAutomationResponse, type context_PublishDraftAutomationResponseNonNullableFields as PublishDraftAutomationResponseNonNullableFields, type context_QueryAutomationsRequest as QueryAutomationsRequest, type context_QueryAutomationsResponse as QueryAutomationsResponse, type context_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type context_QueryAutomationsWithDraftsOptions as QueryAutomationsWithDraftsOptions, type context_QueryAutomationsWithDraftsRequest as QueryAutomationsWithDraftsRequest, type context_QueryAutomationsWithDraftsResponse as QueryAutomationsWithDraftsResponse, type context_QueryAutomationsWithDraftsResponseNonNullableFields as QueryAutomationsWithDraftsResponseNonNullableFields, type context_QueryPreinstalledAutomationsForAppOptions as QueryPreinstalledAutomationsForAppOptions, type context_QueryPreinstalledAutomationsForAppRequest as QueryPreinstalledAutomationsForAppRequest, type context_QueryPreinstalledAutomationsForAppResponse as QueryPreinstalledAutomationsForAppResponse, type context_QueryPreinstalledAutomationsForAppResponseNonNullableFields as QueryPreinstalledAutomationsForAppResponseNonNullableFields, type context_Quota as Quota, type context_QuotaInfo as QuotaInfo, type context_RateLimit as RateLimit, type context_RateLimitAction as RateLimitAction, type context_RestoreInfo as RestoreInfo, type context_ServiceProvisioned as ServiceProvisioned, type context_ServiceRemoved as ServiceRemoved, type context_SiteCreated as SiteCreated, context_SiteCreatedContext as SiteCreatedContext, type context_SiteDeleted as SiteDeleted, type context_SiteHardDeleted as SiteHardDeleted, type context_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type context_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type context_SitePublished as SitePublished, type context_SiteRenamed as SiteRenamed, type context_SiteTransferred as SiteTransferred, type context_SiteUndeleted as SiteUndeleted, type context_SiteUnpublished as SiteUnpublished, context_SortOrder as SortOrder, type context_Sorting as Sorting, context_State as State, context_Status as Status, type context_StudioAssigned as StudioAssigned, type context_StudioUnassigned as StudioUnassigned, context_TimeUnit as TimeUnit, type context_Trigger as Trigger, type context_TriggerConfigurationError as TriggerConfigurationError, context_TriggerErrorType as TriggerErrorType, type context_TriggerValidationError as TriggerValidationError, type context_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, context_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, context_Type as Type, type context_UpdateAutomation as UpdateAutomation, type context_UpdateAutomationRequest as UpdateAutomationRequest, type context_UpdateAutomationResponse as UpdateAutomationResponse, type context_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type context_UpdateDraftAutomation as UpdateDraftAutomation, type context_UpdateDraftAutomationRequest as UpdateDraftAutomationRequest, type context_UpdateDraftAutomationResponse as UpdateDraftAutomationResponse, type context_UpdateDraftAutomationResponseNonNullableFields as UpdateDraftAutomationResponseNonNullableFields, type context_UpdatePreinstalledAutomationOptions as UpdatePreinstalledAutomationOptions, type context_UpdatePreinstalledAutomationRequest as UpdatePreinstalledAutomationRequest, type context_UpdatePreinstalledAutomationResponse as UpdatePreinstalledAutomationResponse, type context_UpdatePreinstalledAutomationResponseNonNullableFields as UpdatePreinstalledAutomationResponseNonNullableFields, type context_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type context_UpgradeCTA as UpgradeCTA, type context_ValidateAutomationOptions as ValidateAutomationOptions, type context_ValidateAutomationRequest as ValidateAutomationRequest, type context_ValidateAutomationResponse as ValidateAutomationResponse, type context_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, context_ValidationErrorSeverity as ValidationErrorSeverity, context_ValidationErrorType as ValidationErrorType, type context_ValidationSettings as ValidationSettings, context_WebhookIdentityType as WebhookIdentityType, type context__publicOnAutomationCreatedType as _publicOnAutomationCreatedType, type context__publicOnAutomationDeletedType as _publicOnAutomationDeletedType, type context__publicOnAutomationDeletedWithEntityType as _publicOnAutomationDeletedWithEntityType, type context__publicOnAutomationUpdatedType as _publicOnAutomationUpdatedType, type context__publicOnAutomationUpdatedWithPreviousEntityType as _publicOnAutomationUpdatedWithPreviousEntityType, context_bulkDeleteAutomations as bulkDeleteAutomations, context_copyAutomation as copyAutomation, context_createAutomation as createAutomation, context_createDraftAutomation as createDraftAutomation, context_createPreinstalledAutomation as createPreinstalledAutomation, context_deleteAutomation as deleteAutomation, context_deleteDraftAutomation as deleteDraftAutomation, context_deletePreinstalledAutomation as deletePreinstalledAutomation, context_getActionsQuotaInfo as getActionsQuotaInfo, context_getAutomation as getAutomation, context_getAutomationActionSchema as getAutomationActionSchema, context_getOrCreateDraftAutomation as getOrCreateDraftAutomation, context_onAutomationCreated as onAutomationCreated, context_onAutomationDeleted as onAutomationDeleted, context_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, context_onAutomationUpdated as onAutomationUpdated, context_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, onAutomationCreated$1 as publicOnAutomationCreated, onAutomationDeleted$1 as publicOnAutomationDeleted, onAutomationDeletedWithEntity$1 as publicOnAutomationDeletedWithEntity, onAutomationUpdated$1 as publicOnAutomationUpdated, onAutomationUpdatedWithPreviousEntity$1 as publicOnAutomationUpdatedWithPreviousEntity, context_publishDraftAutomation as publishDraftAutomation, context_queryAutomations as queryAutomations, context_queryAutomationsWithDrafts as queryAutomationsWithDrafts, context_queryPreinstalledAutomationsForApp as queryPreinstalledAutomationsForApp, context_updateAutomation as updateAutomation, context_updateDraftAutomation as updateDraftAutomation, context_updatePreinstalledAutomation as updatePreinstalledAutomation, context_validateAutomation as validateAutomation };
6108
6363
  }
6109
6364
 
6110
6365
  export { context$1 as activations, context$2 as automationsService, context as automationsServiceV2 };