@wix/automations 1.0.7 → 1.0.9

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.
@@ -1,5 +1,5 @@
1
1
  /** Automation */
2
- interface Automation$1 {
2
+ interface Automation$2 {
3
3
  /**
4
4
  * Automation ID
5
5
  * @readonly
@@ -15,9 +15,9 @@ interface Automation$1 {
15
15
  * Automation Type
16
16
  * @readonly
17
17
  */
18
- type?: Type$1;
18
+ type?: Type$2;
19
19
  /** Automation Status */
20
- status?: Status$1;
20
+ status?: Status$2;
21
21
  /** Rule that contains a trigger and some actions */
22
22
  rule?: Rule;
23
23
  /**
@@ -53,30 +53,30 @@ interface Automation$1 {
53
53
  /** @readonly */
54
54
  migratedToV3?: boolean | null;
55
55
  }
56
- declare enum Type$1 {
56
+ declare enum Type$2 {
57
57
  CUSTOM = "CUSTOM",
58
58
  APPLICATION = "APPLICATION"
59
59
  }
60
- declare enum Status$1 {
60
+ declare enum Status$2 {
61
61
  ACTIVE = "ACTIVE",
62
62
  INACTIVE = "INACTIVE"
63
63
  }
64
64
  interface Rule {
65
65
  /** an event triggered by visitors on a site, or by a site manager (owner & team). */
66
- trigger?: Trigger$1;
66
+ trigger?: Trigger$2;
67
67
  /**
68
68
  * the actions responding to the trigger happening.
69
69
  * ** IMPORTANT NOTE: the order of the actions is important, and will be executed in the order they appear in the list **
70
70
  */
71
- actions?: Action$1[];
71
+ actions?: Action$2[];
72
72
  }
73
- interface Trigger$1 {
73
+ interface Trigger$2 {
74
74
  /** the id of the app defining the trigger */
75
75
  appId?: string;
76
76
  /** Identifier for this trigger - human readable action key */
77
77
  triggerKey?: string;
78
78
  /** optional list of filters on schema fields */
79
- filters?: Filter$1[];
79
+ filters?: Filter$2[];
80
80
  /**
81
81
  * optional - allows to define a trigger whose following actions will be executed only if the same event for the same resource has not in the last X seconds.
82
82
  * for example, if the trigger is "session booked", the resource is a contact and the timeframe is 3600 seconds (contact hasn't booked another session in the last hour),
@@ -84,7 +84,7 @@ interface Trigger$1 {
84
84
  */
85
85
  debounce?: Debounce;
86
86
  }
87
- interface Filter$1 {
87
+ interface Filter$2 {
88
88
  /** the filter identifier */
89
89
  _id?: string | null;
90
90
  /** the field key from the schema, for example "formId" */
@@ -106,7 +106,7 @@ interface Debounce {
106
106
  */
107
107
  fieldKey?: string;
108
108
  }
109
- interface Action$1 {
109
+ interface Action$2 {
110
110
  /**
111
111
  * the id of the action for delayed events
112
112
  * @readonly
@@ -135,7 +135,7 @@ interface Action$1 {
135
135
  /** Optional delay configuration for the action */
136
136
  delay?: Delay$1;
137
137
  /** allows you define an activation policy - like number of activations in a time frame, or limit by some identifier, like contact (e.g. send email to user only at first login) */
138
- rateLimit?: RateLimit;
138
+ rateLimit?: RateLimit$2;
139
139
  /**
140
140
  * allows the user to define a condition for the action to be executed, if the condition fails the action (and following actions) will not be executed
141
141
  * @deprecated allows the user to define a condition for the action to be executed, if the condition fails the action (and following actions) will not be executed
@@ -189,7 +189,7 @@ interface DelayTypeOneOf {
189
189
  /** A delay which is calculated based on a date field in the trigger payload. May also be used together with an Offset delay. */
190
190
  until?: Until;
191
191
  }
192
- interface RateLimit {
192
+ interface RateLimit$2 {
193
193
  /** time frame in minutes */
194
194
  timeFrame?: number | null;
195
195
  /** number of activations allowed in the given time frame */
@@ -241,35 +241,51 @@ interface ExtendedFields {
241
241
  */
242
242
  namespaces?: Record<string, Record<string, any>>;
243
243
  }
244
- interface UnprocessedTargetEvent {
244
+ interface UnprocessedTargetEvent$1 {
245
245
  /** The target that was not marked as processed */
246
246
  target?: Target$1;
247
247
  }
248
248
  interface Target$1 {
249
- /** Some unique identifier for the target, this can change between result store client configurations */
249
+ /** Unique identifier of the target with pattern `id_tag_value[type]`, for example 'com.wixpress.myproto[wix_proto_bundle_export]`` */
250
250
  _id?: string | null;
251
251
  /** The unique location of the target in Bazel notation i.e @repo//path/to/target:target_name */
252
252
  location?: string | null;
253
253
  /** The combined digest of all files within the target */
254
254
  combinedDigest?: string | null;
255
- /** The vcs commit timestamp of the target */
256
- commitTimestamp?: string;
255
+ /** The vcs commit timestamp of the target in milliseconds */
256
+ commitTimestamp?: string | null;
257
257
  /** The type of the target */
258
- type?: TargetType;
258
+ type?: TargetType$1;
259
+ /**
260
+ * The target's id tag value in Bazel, uniquness is not guaranteed
261
+ * i.e for a tag "businessSchemaIndexerId=com.wixpress.myproto" the value is "com.wixpress.myproto"
262
+ */
263
+ idTagValue?: string | null;
264
+ files?: File$1[];
259
265
  }
260
- declare enum TargetType {
266
+ declare enum TargetType$1 {
261
267
  NONE = "NONE",
262
268
  WIX_PROTO_BUNDLE_EXPORT = "WIX_PROTO_BUNDLE_EXPORT",
263
269
  WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
264
270
  WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT"
265
271
  }
272
+ interface File$1 {
273
+ /** The name of the file including path relative to its source repo, i.e src/main/java/com/wixpress/MyClass.java */
274
+ name?: string | null;
275
+ /** The URI of the file */
276
+ uri?: string | null;
277
+ /** The digest of the file */
278
+ digest?: string | null;
279
+ /** The size of the file in bytes */
280
+ sizeInBytes?: string | null;
281
+ }
266
282
  interface GetApplicationAutomationRequest {
267
283
  /** Application Automation ID */
268
284
  automationId?: string;
269
285
  }
270
286
  interface GetApplicationAutomationResponse {
271
287
  /** Automation */
272
- automation?: Automation$1;
288
+ automation?: Automation$2;
273
289
  }
274
290
  interface QueryApplicationAutomationsRequest {
275
291
  /** Query */
@@ -279,7 +295,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
279
295
  /** Paging options to limit and skip the number of items. */
280
296
  paging?: Paging;
281
297
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
282
- cursorPaging?: CursorPaging;
298
+ cursorPaging?: CursorPaging$1;
283
299
  /**
284
300
  * Filter object in the following format:
285
301
  * `"filter" : {
@@ -293,7 +309,7 @@ interface QueryV2 extends QueryV2PagingMethodOneOf {
293
309
  * Sort object in the following format:
294
310
  * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
295
311
  */
296
- sort?: Sorting[];
312
+ sort?: Sorting$1[];
297
313
  /** Array of projected fields. A list of specific field names to return. If `fieldsets` are also specified, the union of `fieldsets` and `fields` is returned. */
298
314
  fields?: string[];
299
315
  /** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
@@ -304,15 +320,15 @@ interface QueryV2PagingMethodOneOf {
304
320
  /** Paging options to limit and skip the number of items. */
305
321
  paging?: Paging;
306
322
  /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
307
- cursorPaging?: CursorPaging;
323
+ cursorPaging?: CursorPaging$1;
308
324
  }
309
- interface Sorting {
325
+ interface Sorting$1 {
310
326
  /** Name of the field to sort by. */
311
327
  fieldName?: string;
312
328
  /** Sort order. */
313
- order?: SortOrder;
329
+ order?: SortOrder$1;
314
330
  }
315
- declare enum SortOrder {
331
+ declare enum SortOrder$1 {
316
332
  ASC = "ASC",
317
333
  DESC = "DESC"
318
334
  }
@@ -322,7 +338,7 @@ interface Paging {
322
338
  /** Number of items to skip in the current sort order. */
323
339
  offset?: number | null;
324
340
  }
325
- interface CursorPaging {
341
+ interface CursorPaging$1 {
326
342
  /** Maximum number of items to return in the results. */
327
343
  limit?: number | null;
328
344
  /**
@@ -335,7 +351,7 @@ interface CursorPaging {
335
351
  }
336
352
  interface QueryApplicationAutomationsResponse {
337
353
  /** List of automations */
338
- automations?: Automation$1[];
354
+ automations?: Automation$2[];
339
355
  /** Paging metadata */
340
356
  paging?: PagingMetadataV2;
341
357
  }
@@ -349,9 +365,9 @@ interface PagingMetadataV2 {
349
365
  /** Flag that indicates the server failed to calculate the `total` field. */
350
366
  tooManyToCount?: boolean | null;
351
367
  /** Cursors to navigate through the result pages using `next` and `prev`. Returned if cursor paging is used. */
352
- cursors?: Cursors;
368
+ cursors?: Cursors$1;
353
369
  }
354
- interface Cursors {
370
+ interface Cursors$1 {
355
371
  /** Cursor string pointing to the next page in the list of results. */
356
372
  next?: string | null;
357
373
  /** Cursor pointing to the previous page in the list of results. */
@@ -378,11 +394,11 @@ interface UpdateApplicationAutomationToMigratedFromV1Request {
378
394
  }
379
395
  interface UpdateApplicationAutomationToMigratedFromV1Response {
380
396
  }
381
- interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
382
- createdEvent?: EntityCreatedEvent$1;
383
- updatedEvent?: EntityUpdatedEvent$1;
384
- deletedEvent?: EntityDeletedEvent$1;
385
- actionEvent?: ActionEvent$1;
397
+ interface DomainEvent$2 extends DomainEventBodyOneOf$2 {
398
+ createdEvent?: EntityCreatedEvent$2;
399
+ updatedEvent?: EntityUpdatedEvent$2;
400
+ deletedEvent?: EntityDeletedEvent$2;
401
+ actionEvent?: ActionEvent$2;
386
402
  /**
387
403
  * Unique event ID.
388
404
  * Allows clients to ignore duplicate webhooks.
@@ -421,19 +437,19 @@ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
421
437
  entityEventSequence?: string | null;
422
438
  }
423
439
  /** @oneof */
424
- interface DomainEventBodyOneOf$1 {
425
- createdEvent?: EntityCreatedEvent$1;
426
- updatedEvent?: EntityUpdatedEvent$1;
427
- deletedEvent?: EntityDeletedEvent$1;
428
- actionEvent?: ActionEvent$1;
440
+ interface DomainEventBodyOneOf$2 {
441
+ createdEvent?: EntityCreatedEvent$2;
442
+ updatedEvent?: EntityUpdatedEvent$2;
443
+ deletedEvent?: EntityDeletedEvent$2;
444
+ actionEvent?: ActionEvent$2;
429
445
  }
430
- interface EntityCreatedEvent$1 {
446
+ interface EntityCreatedEvent$2 {
431
447
  entity?: string;
432
448
  }
433
- interface RestoreInfo {
449
+ interface RestoreInfo$2 {
434
450
  deletedDate?: Date;
435
451
  }
436
- interface EntityUpdatedEvent$1 {
452
+ interface EntityUpdatedEvent$2 {
437
453
  /**
438
454
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
439
455
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -441,46 +457,46 @@ interface EntityUpdatedEvent$1 {
441
457
  */
442
458
  currentEntity?: string;
443
459
  }
444
- interface EntityDeletedEvent$1 {
460
+ interface EntityDeletedEvent$2 {
445
461
  /** Entity that was deleted */
446
462
  deletedEntity?: string | null;
447
463
  }
448
- interface ActionEvent$1 {
464
+ interface ActionEvent$2 {
449
465
  body?: string;
450
466
  }
451
- interface Empty$1 {
467
+ interface Empty$2 {
452
468
  }
453
- interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
469
+ interface MetaSiteSpecialEvent$1 extends MetaSiteSpecialEventPayloadOneOf$1 {
454
470
  /** Emitted on a meta site creation. */
455
- siteCreated?: SiteCreated;
471
+ siteCreated?: SiteCreated$1;
456
472
  /** Emitted on a meta site transfer completion. */
457
- siteTransferred?: SiteTransferred;
473
+ siteTransferred?: SiteTransferred$1;
458
474
  /** Emitted on a meta site deletion. */
459
- siteDeleted?: SiteDeleted;
475
+ siteDeleted?: SiteDeleted$1;
460
476
  /** Emitted on a meta site restoration. */
461
- siteUndeleted?: SiteUndeleted;
477
+ siteUndeleted?: SiteUndeleted$1;
462
478
  /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
463
- sitePublished?: SitePublished;
479
+ sitePublished?: SitePublished$1;
464
480
  /** Emitted on a meta site unpublish. */
465
- siteUnpublished?: SiteUnpublished;
481
+ siteUnpublished?: SiteUnpublished$1;
466
482
  /** Emitted when meta site is marked as template. */
467
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
483
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate$1;
468
484
  /** Emitted when meta site is marked as a WixSite. */
469
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
485
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite$1;
470
486
  /** Emitted when an application is provisioned (installed). */
471
- serviceProvisioned?: ServiceProvisioned;
487
+ serviceProvisioned?: ServiceProvisioned$1;
472
488
  /** Emitted when an application is removed (uninstalled). */
473
- serviceRemoved?: ServiceRemoved;
489
+ serviceRemoved?: ServiceRemoved$1;
474
490
  /** Emitted when meta site name (URL slug) is changed. */
475
- siteRenamedPayload?: SiteRenamed;
491
+ siteRenamedPayload?: SiteRenamed$1;
476
492
  /** Emitted when meta site was permanently deleted. */
477
- hardDeleted?: SiteHardDeleted;
493
+ hardDeleted?: SiteHardDeleted$1;
478
494
  /** Emitted on a namespace change. */
479
- namespaceChanged?: NamespaceChanged;
495
+ namespaceChanged?: NamespaceChanged$1;
480
496
  /** Emitted when Studio is attached. */
481
- studioAssigned?: StudioAssigned;
497
+ studioAssigned?: StudioAssigned$1;
482
498
  /** Emitted when Studio is detached. */
483
- studioUnassigned?: StudioUnassigned;
499
+ studioUnassigned?: StudioUnassigned$1;
484
500
  /** A meta site id. */
485
501
  metaSiteId?: string;
486
502
  /** A meta site version. Monotonically increasing. */
@@ -488,63 +504,63 @@ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
488
504
  /** A timestamp of the event. */
489
505
  timestamp?: string;
490
506
  /** A list of "assets" (applications). The same as MetaSiteContext. */
491
- assets?: Asset[];
507
+ assets?: Asset$1[];
492
508
  }
493
509
  /** @oneof */
494
- interface MetaSiteSpecialEventPayloadOneOf {
510
+ interface MetaSiteSpecialEventPayloadOneOf$1 {
495
511
  /** Emitted on a meta site creation. */
496
- siteCreated?: SiteCreated;
512
+ siteCreated?: SiteCreated$1;
497
513
  /** Emitted on a meta site transfer completion. */
498
- siteTransferred?: SiteTransferred;
514
+ siteTransferred?: SiteTransferred$1;
499
515
  /** Emitted on a meta site deletion. */
500
- siteDeleted?: SiteDeleted;
516
+ siteDeleted?: SiteDeleted$1;
501
517
  /** Emitted on a meta site restoration. */
502
- siteUndeleted?: SiteUndeleted;
518
+ siteUndeleted?: SiteUndeleted$1;
503
519
  /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
504
- sitePublished?: SitePublished;
520
+ sitePublished?: SitePublished$1;
505
521
  /** Emitted on a meta site unpublish. */
506
- siteUnpublished?: SiteUnpublished;
522
+ siteUnpublished?: SiteUnpublished$1;
507
523
  /** Emitted when meta site is marked as template. */
508
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
524
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate$1;
509
525
  /** Emitted when meta site is marked as a WixSite. */
510
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
526
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite$1;
511
527
  /** Emitted when an application is provisioned (installed). */
512
- serviceProvisioned?: ServiceProvisioned;
528
+ serviceProvisioned?: ServiceProvisioned$1;
513
529
  /** Emitted when an application is removed (uninstalled). */
514
- serviceRemoved?: ServiceRemoved;
530
+ serviceRemoved?: ServiceRemoved$1;
515
531
  /** Emitted when meta site name (URL slug) is changed. */
516
- siteRenamedPayload?: SiteRenamed;
532
+ siteRenamedPayload?: SiteRenamed$1;
517
533
  /** Emitted when meta site was permanently deleted. */
518
- hardDeleted?: SiteHardDeleted;
534
+ hardDeleted?: SiteHardDeleted$1;
519
535
  /** Emitted on a namespace change. */
520
- namespaceChanged?: NamespaceChanged;
536
+ namespaceChanged?: NamespaceChanged$1;
521
537
  /** Emitted when Studio is attached. */
522
- studioAssigned?: StudioAssigned;
538
+ studioAssigned?: StudioAssigned$1;
523
539
  /** Emitted when Studio is detached. */
524
- studioUnassigned?: StudioUnassigned;
540
+ studioUnassigned?: StudioUnassigned$1;
525
541
  }
526
- interface Asset {
542
+ interface Asset$1 {
527
543
  /** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
528
544
  appDefId?: string;
529
545
  /** An instance id. For legacy reasons may be UUID or a string. */
530
546
  instanceId?: string;
531
547
  /** An application state. */
532
- state?: State;
548
+ state?: State$1;
533
549
  }
534
- declare enum State {
550
+ declare enum State$1 {
535
551
  UNKNOWN = "UNKNOWN",
536
552
  ENABLED = "ENABLED",
537
553
  DISABLED = "DISABLED",
538
554
  PENDING = "PENDING",
539
555
  DEMO = "DEMO"
540
556
  }
541
- interface SiteCreated {
557
+ interface SiteCreated$1 {
542
558
  /** A template identifier (empty if not created from a template). */
543
559
  originTemplateId?: string;
544
560
  /** An account id of the owner. */
545
561
  ownerId?: string;
546
562
  /** A context in which meta site was created. */
547
- context?: SiteCreatedContext;
563
+ context?: SiteCreatedContext$1;
548
564
  /**
549
565
  * A meta site id from which this site was created.
550
566
  *
@@ -555,9 +571,9 @@ interface SiteCreated {
555
571
  /** A meta site name (URL slug). */
556
572
  siteName?: string;
557
573
  /** A namespace. */
558
- namespace?: Namespace;
574
+ namespace?: Namespace$1;
559
575
  }
560
- declare enum SiteCreatedContext {
576
+ declare enum SiteCreatedContext$1 {
561
577
  /** A valid option, we don't expose all reasons why site might be created. */
562
578
  OTHER = "OTHER",
563
579
  /** A meta site was created from template. */
@@ -571,7 +587,7 @@ declare enum SiteCreatedContext {
571
587
  /** deprecated A meta site was created for Flash editor. */
572
588
  FLASH = "FLASH"
573
589
  }
574
- declare enum Namespace {
590
+ declare enum Namespace$1 {
575
591
  UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
576
592
  /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
577
593
  WIX = "WIX",
@@ -632,48 +648,48 @@ declare enum Namespace {
632
648
  BRANDED_FIRST = "BRANDED_FIRST"
633
649
  }
634
650
  /** Site transferred to another user. */
635
- interface SiteTransferred {
651
+ interface SiteTransferred$1 {
636
652
  /** A previous owner id (user that transfers meta site). */
637
653
  oldOwnerId?: string;
638
654
  /** A new owner id (user that accepts meta site). */
639
655
  newOwnerId?: string;
640
656
  }
641
657
  /** Soft deletion of the meta site. Could be restored. */
642
- interface SiteDeleted {
658
+ interface SiteDeleted$1 {
643
659
  /** A deletion context. */
644
- deleteContext?: DeleteContext;
660
+ deleteContext?: DeleteContext$1;
645
661
  }
646
- interface DeleteContext {
662
+ interface DeleteContext$1 {
647
663
  /** When the meta site was deleted. */
648
664
  dateDeleted?: Date;
649
665
  /** A status. */
650
- deleteStatus?: DeleteStatus;
666
+ deleteStatus?: DeleteStatus$1;
651
667
  /** A reason (flow). */
652
668
  deleteOrigin?: string;
653
669
  /** A service that deleted it. */
654
670
  initiatorId?: string | null;
655
671
  }
656
- declare enum DeleteStatus {
672
+ declare enum DeleteStatus$1 {
657
673
  UNKNOWN = "UNKNOWN",
658
674
  TRASH = "TRASH",
659
675
  DELETED = "DELETED",
660
676
  PENDING_PURGE = "PENDING_PURGE"
661
677
  }
662
678
  /** Restoration of the meta site. */
663
- interface SiteUndeleted {
679
+ interface SiteUndeleted$1 {
664
680
  }
665
681
  /** First publish of a meta site. Or subsequent publish after unpublish. */
666
- interface SitePublished {
682
+ interface SitePublished$1 {
667
683
  }
668
- interface SiteUnpublished {
684
+ interface SiteUnpublished$1 {
669
685
  /** A list of URLs previously associated with the meta site. */
670
686
  urls?: string[];
671
687
  }
672
- interface SiteMarkedAsTemplate {
688
+ interface SiteMarkedAsTemplate$1 {
673
689
  }
674
- interface SiteMarkedAsWixSite {
690
+ interface SiteMarkedAsWixSite$1 {
675
691
  }
676
- interface ServiceProvisioned {
692
+ interface ServiceProvisioned$1 {
677
693
  /** Either UUID or EmbeddedServiceType. */
678
694
  appDefId?: string;
679
695
  /** Not only UUID. Something here could be something weird. */
@@ -683,7 +699,7 @@ interface ServiceProvisioned {
683
699
  /** A version. */
684
700
  version?: string | null;
685
701
  }
686
- interface ServiceRemoved {
702
+ interface ServiceRemoved$1 {
687
703
  /** Either UUID or EmbeddedServiceType. */
688
704
  appDefId?: string;
689
705
  /** Not only UUID. Something here could be something weird. */
@@ -692,7 +708,7 @@ interface ServiceRemoved {
692
708
  version?: string | null;
693
709
  }
694
710
  /** Rename of the site. Meaning, free public url has been changed as well. */
695
- interface SiteRenamed {
711
+ interface SiteRenamed$1 {
696
712
  /** A new meta site name (URL slug). */
697
713
  newSiteName?: string;
698
714
  /** A previous meta site name (URL slug). */
@@ -703,21 +719,21 @@ interface SiteRenamed {
703
719
  *
704
720
  * Could not be restored. Therefore it's desirable to cleanup data.
705
721
  */
706
- interface SiteHardDeleted {
722
+ interface SiteHardDeleted$1 {
707
723
  /** A deletion context. */
708
- deleteContext?: DeleteContext;
724
+ deleteContext?: DeleteContext$1;
709
725
  }
710
- interface NamespaceChanged {
726
+ interface NamespaceChanged$1 {
711
727
  /** A previous namespace. */
712
- oldNamespace?: Namespace;
728
+ oldNamespace?: Namespace$1;
713
729
  /** A new namespace. */
714
- newNamespace?: Namespace;
730
+ newNamespace?: Namespace$1;
715
731
  }
716
732
  /** Assigned Studio editor */
717
- interface StudioAssigned {
733
+ interface StudioAssigned$1 {
718
734
  }
719
735
  /** Unassigned Studio editor */
720
- interface StudioUnassigned {
736
+ interface StudioUnassigned$1 {
721
737
  }
722
738
  interface SyncApplicationAutomationsRequest {
723
739
  /** List of app IDs */
@@ -727,15 +743,15 @@ interface SyncApplicationAutomationsResponse {
727
743
  }
728
744
  interface BulkCreateApplicationAutomationRequest {
729
745
  /** Automations to be created */
730
- automations?: Automation$1[];
746
+ automations?: Automation$2[];
731
747
  }
732
748
  interface BulkCreateApplicationAutomationResponse {
733
749
  /** The created Automations */
734
- results?: Automation$1[];
750
+ results?: Automation$2[];
735
751
  /** Bulk create metadata. */
736
- bulkActionMetadata?: BulkActionMetadata$1;
752
+ bulkActionMetadata?: BulkActionMetadata$2;
737
753
  }
738
- interface BulkActionMetadata$1 {
754
+ interface BulkActionMetadata$2 {
739
755
  /** Number of items that were successfully processed. */
740
756
  totalSuccesses?: number;
741
757
  /** Number of items that couldn't be processed. */
@@ -743,17 +759,17 @@ interface BulkActionMetadata$1 {
743
759
  /** Number of failures without details because detailed failure threshold was exceeded. */
744
760
  undetailedFailures?: number;
745
761
  }
746
- interface MessageEnvelope$1 {
762
+ interface MessageEnvelope$2 {
747
763
  /** App instance ID. */
748
764
  instanceId?: string | null;
749
765
  /** Event type. */
750
766
  eventType?: string;
751
767
  /** The identification type and identity data. */
752
- identity?: IdentificationData$1;
768
+ identity?: IdentificationData$2;
753
769
  /** Stringify payload. */
754
770
  data?: string;
755
771
  }
756
- interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
772
+ interface IdentificationData$2 extends IdentificationDataIdOneOf$2 {
757
773
  /** ID of a site visitor that has not logged in to the site. */
758
774
  anonymousVisitorId?: string;
759
775
  /** ID of a site visitor that has logged in to the site. */
@@ -763,10 +779,10 @@ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
763
779
  /** ID of an app. */
764
780
  appId?: string;
765
781
  /** @readonly */
766
- identityType?: WebhookIdentityType$1;
782
+ identityType?: WebhookIdentityType$2;
767
783
  }
768
784
  /** @oneof */
769
- interface IdentificationDataIdOneOf$1 {
785
+ interface IdentificationDataIdOneOf$2 {
770
786
  /** ID of a site visitor that has not logged in to the site. */
771
787
  anonymousVisitorId?: string;
772
788
  /** ID of a site visitor that has logged in to the site. */
@@ -776,24 +792,24 @@ interface IdentificationDataIdOneOf$1 {
776
792
  /** ID of an app. */
777
793
  appId?: string;
778
794
  }
779
- declare enum WebhookIdentityType$1 {
795
+ declare enum WebhookIdentityType$2 {
780
796
  UNKNOWN = "UNKNOWN",
781
797
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
782
798
  MEMBER = "MEMBER",
783
799
  WIX_USER = "WIX_USER",
784
800
  APP = "APP"
785
801
  }
786
- interface CreateAutomationRequest {
802
+ interface CreateAutomationRequest$1 {
787
803
  /** Automation to be created */
788
- automation: Automation$1;
804
+ automation: Automation$2;
789
805
  }
790
- interface CreateAutomationResponse {
806
+ interface CreateAutomationResponse$1 {
791
807
  /** The created Automation */
792
- automation?: Automation$1;
808
+ automation?: Automation$2;
793
809
  }
794
810
  interface MigrationBulkCreateAutomationsRequest {
795
811
  /** Automations to be created */
796
- automations?: Automation$1[];
812
+ automations?: Automation$2[];
797
813
  /** V1 Activity type (trigger name) */
798
814
  activityType?: string;
799
815
  /** automation id to counter map */
@@ -803,11 +819,11 @@ interface MigrationBulkCreateAutomationsRequest {
803
819
  }
804
820
  interface MigrationBulkCreateAutomationsResponse {
805
821
  /** bulk action metadata */
806
- bulkActionMetadata?: BulkActionMetadata$1;
822
+ bulkActionMetadata?: BulkActionMetadata$2;
807
823
  /** item metadata */
808
- itemMetadata?: ItemMetadata$1[];
824
+ itemMetadata?: ItemMetadata$2[];
809
825
  }
810
- interface ItemMetadata$1 {
826
+ interface ItemMetadata$2 {
811
827
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
812
828
  _id?: string | null;
813
829
  /** Index of the item within the request array. Allows for correlation between request and response items. */
@@ -815,9 +831,9 @@ interface ItemMetadata$1 {
815
831
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
816
832
  success?: boolean;
817
833
  /** Details about the error in case of failure. */
818
- error?: ApplicationError$1;
834
+ error?: ApplicationError$2;
819
835
  }
820
- interface ApplicationError$1 {
836
+ interface ApplicationError$2 {
821
837
  /** Error code. */
822
838
  code?: string;
823
839
  /** Description of the error. */
@@ -827,7 +843,7 @@ interface ApplicationError$1 {
827
843
  }
828
844
  interface MigrationBulkCreateAutomations {
829
845
  /** Automations to be created */
830
- automations?: Automation$1[];
846
+ automations?: Automation$2[];
831
847
  /** V1 Activity type (trigger name) */
832
848
  activityType?: string;
833
849
  /** automation id to counter map */
@@ -835,111 +851,111 @@ interface MigrationBulkCreateAutomations {
835
851
  /** automation id to last triggered map */
836
852
  automationIdToLastTriggered?: Record<string, string>;
837
853
  }
838
- interface GetAutomationRequest {
854
+ interface GetAutomationRequest$1 {
839
855
  /** Automation ID */
840
856
  automationId: string;
841
857
  /** Automation type */
842
- automationType?: Type$1;
858
+ automationType?: Type$2;
843
859
  }
844
- interface GetAutomationResponse {
860
+ interface GetAutomationResponse$1 {
845
861
  /** Automation */
846
- automation?: Automation$1;
862
+ automation?: Automation$2;
847
863
  }
848
- interface UpdateAutomationRequest {
864
+ interface UpdateAutomationRequest$1 {
849
865
  /** Automation to be updated, may be partial */
850
- automation: Automation$1;
866
+ automation: Automation$2;
851
867
  }
852
- interface UpdateAutomationResponse {
868
+ interface UpdateAutomationResponse$1 {
853
869
  /** The updated Automation */
854
- automation?: Automation$1;
870
+ automation?: Automation$2;
855
871
  }
856
- interface UpdatedWithPreviousEntity {
872
+ interface UpdatedWithPreviousEntity$1 {
857
873
  /** previous automation */
858
- previousAutomation?: Automation$1;
874
+ previousAutomation?: Automation$2;
859
875
  /** updated automation */
860
- currentAutomation?: Automation$1;
876
+ currentAutomation?: Automation$2;
861
877
  }
862
- interface DeleteAutomationRequest {
878
+ interface DeleteAutomationRequest$1 {
863
879
  /** Id of the Automation to delete */
864
880
  automationId: string;
865
881
  /** The revision of the Automation */
866
882
  revision?: string;
867
883
  }
868
- interface DeleteAutomationResponse {
884
+ interface DeleteAutomationResponse$1 {
869
885
  }
870
- interface DeletedWithEntity {
886
+ interface DeletedWithEntity$1 {
871
887
  /** Deleted automation */
872
- automation?: Automation$1;
888
+ automation?: Automation$2;
873
889
  }
874
- interface QueryAutomationsRequest {
890
+ interface QueryAutomationsRequest$1 {
875
891
  /** WQL expression */
876
892
  query: QueryV2;
877
893
  /** Automation type */
878
- automationType?: Type$1;
894
+ automationType?: Type$2;
879
895
  }
880
- interface QueryAutomationsResponse {
896
+ interface QueryAutomationsResponse$1 {
881
897
  /** List of automations */
882
- automations?: Automation$1[];
898
+ automations?: Automation$2[];
883
899
  /** Paging metadata */
884
900
  paging?: PagingMetadataV2;
885
901
  }
886
902
  interface OverrideApplicationAutomationRequest {
887
903
  /** Application Automation */
888
- automation: Automation$1;
904
+ automation: Automation$2;
889
905
  }
890
906
  interface OverrideApplicationAutomationResponse {
891
907
  /** Custom Automation */
892
- automation?: Automation$1;
908
+ automation?: Automation$2;
893
909
  }
894
910
  interface GenerateApplicationAutomationFromCustomRequest {
895
911
  /** Custom Automation */
896
- automation?: Automation$1;
912
+ automation?: Automation$2;
897
913
  }
898
914
  interface GenerateApplicationAutomationFromCustomResponse {
899
915
  /** Application Automation */
900
- automation?: Automation$1;
916
+ automation?: Automation$2;
901
917
  }
902
918
  interface ValidateAutomationByIdRequest {
903
919
  /** Automation ID */
904
920
  automationId: string;
905
921
  /** Automation type */
906
- automationType?: Type$1;
922
+ automationType?: Type$2;
907
923
  }
908
924
  interface ValidateAutomationByIdResponse {
909
925
  /** is the Automation valid */
910
926
  valid?: boolean;
911
927
  /** list of validation errors for the automation Trigger */
912
- triggerValidationErrors?: TriggerValidationError[];
928
+ triggerValidationErrors?: TriggerValidationError$1[];
913
929
  /** list of validation information for the automation Actions */
914
- actionValidationInfo?: ActionValidationInfo[];
930
+ actionValidationInfo?: ActionValidationInfo$1[];
915
931
  }
916
- interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
932
+ interface TriggerValidationError$1 extends TriggerValidationErrorErrorOneOf$1 {
917
933
  /** trigger configuration error */
918
- configurationError?: TriggerConfigurationError;
934
+ configurationError?: TriggerConfigurationError$1;
919
935
  /** provider configuration error */
920
- providerConfigurationError?: ProviderConfigurationError;
936
+ providerConfigurationError?: ProviderConfigurationError$1;
921
937
  /** validation error type */
922
- errorType?: TriggerValidationErrorValidationErrorType;
938
+ errorType?: TriggerValidationErrorValidationErrorType$1;
923
939
  }
924
940
  /** @oneof */
925
- interface TriggerValidationErrorErrorOneOf {
941
+ interface TriggerValidationErrorErrorOneOf$1 {
926
942
  /** trigger configuration error */
927
- configurationError?: TriggerConfigurationError;
943
+ configurationError?: TriggerConfigurationError$1;
928
944
  /** provider configuration error */
929
- providerConfigurationError?: ProviderConfigurationError;
945
+ providerConfigurationError?: ProviderConfigurationError$1;
930
946
  }
931
- declare enum TriggerValidationErrorValidationErrorType {
947
+ declare enum TriggerValidationErrorValidationErrorType$1 {
932
948
  UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
933
949
  CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
934
950
  PROVIDER_ERROR = "PROVIDER_ERROR"
935
951
  }
936
- interface TriggerConfigurationError {
952
+ interface TriggerConfigurationError$1 {
937
953
  /** trigger error type */
938
- errorType?: TriggerErrorType;
954
+ errorType?: TriggerErrorType$1;
939
955
  /** optional - related filter field key */
940
956
  filterFieldKey?: string | null;
941
957
  }
942
- declare enum TriggerErrorType {
958
+ declare enum TriggerErrorType$1 {
943
959
  UNKNOWN_TRIGGER_ERROR_TYPE = "UNKNOWN_TRIGGER_ERROR_TYPE",
944
960
  NOT_FOUND = "NOT_FOUND",
945
961
  APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
@@ -949,7 +965,7 @@ declare enum TriggerErrorType {
949
965
  INVALID_FILTER_FIELD_KEY = "INVALID_FILTER_FIELD_KEY",
950
966
  INVALID_FILTER_EXPRESSION = "INVALID_FILTER_EXPRESSION"
951
967
  }
952
- interface ProviderConfigurationError {
968
+ interface ProviderConfigurationError$1 {
953
969
  /** Key corresponding to the field in the schema. */
954
970
  fieldKey?: string | null;
955
971
  /** Error message. */
@@ -961,7 +977,7 @@ interface ProviderConfigurationError {
961
977
  /** Title for the error. */
962
978
  title?: string;
963
979
  }
964
- interface ActionValidationInfo {
980
+ interface ActionValidationInfo$1 {
965
981
  /** the id of the action in the automation */
966
982
  actionId?: string | null;
967
983
  /** the id of the app defining the action */
@@ -969,35 +985,35 @@ interface ActionValidationInfo {
969
985
  /** human readable identifier of the action per app */
970
986
  actionKey?: string;
971
987
  /** list of action validation errors */
972
- validationErrors?: ActionValidationError[];
988
+ validationErrors?: ActionValidationError$1[];
973
989
  }
974
- interface ActionValidationError extends ActionValidationErrorErrorOneOf {
990
+ interface ActionValidationError$1 extends ActionValidationErrorErrorOneOf$1 {
975
991
  /** action configuration error */
976
- configurationError?: ActionConfigurationError;
992
+ configurationError?: ActionConfigurationError$1;
977
993
  /** provider configuration error */
978
- providerConfigurationError?: ProviderConfigurationError;
994
+ providerConfigurationError?: ProviderConfigurationError$1;
979
995
  /** validation error type */
980
- errorType?: ValidationErrorType;
996
+ errorType?: ValidationErrorType$1;
981
997
  }
982
998
  /** @oneof */
983
- interface ActionValidationErrorErrorOneOf {
999
+ interface ActionValidationErrorErrorOneOf$1 {
984
1000
  /** action configuration error */
985
- configurationError?: ActionConfigurationError;
1001
+ configurationError?: ActionConfigurationError$1;
986
1002
  /** provider configuration error */
987
- providerConfigurationError?: ProviderConfigurationError;
1003
+ providerConfigurationError?: ProviderConfigurationError$1;
988
1004
  }
989
- declare enum ValidationErrorType {
1005
+ declare enum ValidationErrorType$1 {
990
1006
  UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
991
1007
  CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
992
1008
  PROVIDER_ERROR = "PROVIDER_ERROR"
993
1009
  }
994
- interface ActionConfigurationError {
1010
+ interface ActionConfigurationError$1 {
995
1011
  /** action error type */
996
- errorType?: ActionErrorType;
1012
+ errorType?: ActionErrorType$1;
997
1013
  /** optional - related field key */
998
1014
  fieldKey?: string | null;
999
1015
  }
1000
- declare enum ActionErrorType {
1016
+ declare enum ActionErrorType$1 {
1001
1017
  UNKNOWN_ACTION_ERROR_TYPE = "UNKNOWN_ACTION_ERROR_TYPE",
1002
1018
  NOT_FOUND = "NOT_FOUND",
1003
1019
  APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
@@ -1013,21 +1029,21 @@ declare enum ActionErrorType {
1013
1029
  INPUT_MAPPING_SCHEMA_MISMATCH = "INPUT_MAPPING_SCHEMA_MISMATCH",
1014
1030
  INPUT_MAPPING_VARIABLE_MISSING_FROM_SCHEMA = "INPUT_MAPPING_VARIABLE_MISSING_FROM_SCHEMA"
1015
1031
  }
1016
- interface ValidateAutomationRequest {
1032
+ interface ValidateAutomationRequest$1 {
1017
1033
  /** Automation to validate */
1018
- automation: Automation$1;
1034
+ automation: Automation$2;
1019
1035
  }
1020
- interface ValidateAutomationResponse {
1036
+ interface ValidateAutomationResponse$1 {
1021
1037
  /** is the Automation valid */
1022
1038
  valid?: boolean;
1023
1039
  /** list of validation errors for the automation Trigger */
1024
- triggerValidationErrors?: TriggerValidationError[];
1040
+ triggerValidationErrors?: TriggerValidationError$1[];
1025
1041
  /** list of validation information for the automation Actions */
1026
- actionValidationInfo?: ActionValidationInfo[];
1042
+ actionValidationInfo?: ActionValidationInfo$1[];
1027
1043
  }
1028
1044
  interface UpdatedAutomationsWithEsb {
1029
1045
  /** updated automations */
1030
- automations?: Automation$1[];
1046
+ automations?: Automation$2[];
1031
1047
  }
1032
1048
  interface GetAutomationActivationReportsRequest {
1033
1049
  /** Automation ID */
@@ -1072,31 +1088,31 @@ interface PagingMetadata {
1072
1088
  /** Flag that indicates the server failed to calculate the `total` field. */
1073
1089
  tooManyToCount?: boolean | null;
1074
1090
  }
1075
- interface GetAutomationActionSchemaRequest {
1091
+ interface GetAutomationActionSchemaRequest$1 {
1076
1092
  /** Automation's Configuration ID */
1077
1093
  esbConfigurationId?: string;
1078
1094
  /** Specific action ID */
1079
1095
  actionId?: string;
1080
1096
  }
1081
- interface GetAutomationActionSchemaResponse {
1097
+ interface GetAutomationActionSchemaResponse$1 {
1082
1098
  /** The payload schema of the automation for the specific action */
1083
1099
  schema?: Record<string, any> | null;
1084
1100
  }
1085
- interface GetActionsQuotaInfoRequest {
1101
+ interface GetActionsQuotaInfoRequest$1 {
1086
1102
  }
1087
- interface GetActionsQuotaInfoResponse {
1103
+ interface GetActionsQuotaInfoResponse$1 {
1088
1104
  /** list of action quota information */
1089
- actionProviderQuotaInfo?: ActionProviderQuotaInfo[];
1105
+ actionProviderQuotaInfo?: ActionProviderQuotaInfo$1[];
1090
1106
  }
1091
- interface ActionProviderQuotaInfo {
1107
+ interface ActionProviderQuotaInfo$1 {
1092
1108
  /** action app id */
1093
1109
  appId?: string;
1094
1110
  /** the action key */
1095
1111
  actionKey?: string;
1096
1112
  /** the action quota information */
1097
- actionQuotaInfo?: ActionQuotaInfo;
1113
+ actionQuotaInfo?: ActionQuotaInfo$1;
1098
1114
  }
1099
- interface ActionQuotaInfo {
1115
+ interface ActionQuotaInfo$1 {
1100
1116
  /**
1101
1117
  * Whether the quotas for your action are enforced. If you mark this as `true` in the response body,
1102
1118
  * Wix displays the information in the quota object on the site dashboard. If you mark this as `false` for
@@ -1114,26 +1130,26 @@ interface ActionQuotaInfo {
1114
1130
  * Plans and quotas that are related should be grouped together in a single `quotaInfo`
1115
1131
  * object.
1116
1132
  */
1117
- quotaInfo?: QuotaInfo[];
1133
+ quotaInfo?: QuotaInfo$1[];
1118
1134
  }
1119
- interface QuotaInfo {
1135
+ interface QuotaInfo$1 {
1120
1136
  /** List of plans associated with the site making the request. */
1121
- plans?: Plan[];
1137
+ plans?: Plan$1[];
1122
1138
  /** List of quotas associated with the plans the site is enrolled in. */
1123
- quotas?: Quota[];
1139
+ quotas?: Quota$1[];
1124
1140
  /**
1125
1141
  * Details for an upgrade call-to-action button.
1126
1142
  * Displayed in the site contributor’s dashboard together with the quota details.
1127
1143
  */
1128
- upgradeCta?: UpgradeCTA;
1144
+ upgradeCta?: UpgradeCTA$1;
1129
1145
  }
1130
- interface Plan {
1146
+ interface Plan$1 {
1131
1147
  /** Plan ID defined by the action provider. */
1132
1148
  _id?: string;
1133
1149
  /** Plan name to display in the site contributor’s dashboard. */
1134
1150
  name?: string;
1135
1151
  }
1136
- interface Quota {
1152
+ interface Quota$1 {
1137
1153
  /** Name of the feature the quota is related to. For example, "Messages sent". */
1138
1154
  featureName?: string;
1139
1155
  /**
@@ -1146,31 +1162,31 @@ interface Quota {
1146
1162
  /** Quota limit data. */
1147
1163
  limit?: string | null;
1148
1164
  /** Additional information about the quota. Displayed as a tooltip in the site contributor’s dashboard. */
1149
- additionalInfo?: AdditionalInfo;
1165
+ additionalInfo?: AdditionalInfo$1;
1150
1166
  }
1151
- interface CTA {
1167
+ interface CTA$1 {
1152
1168
  /** Call-to-action redirect URL. */
1153
1169
  url?: string;
1154
1170
  /** Call-to-action label. */
1155
1171
  label?: string;
1156
1172
  }
1157
- interface AdditionalInfo {
1173
+ interface AdditionalInfo$1 {
1158
1174
  /** Tooltip content. */
1159
1175
  description?: string;
1160
1176
  /** Details for an options call-to-action link that appears in the tooltip. */
1161
- cta?: CTA;
1177
+ cta?: CTA$1;
1162
1178
  }
1163
- interface UpgradeCTA {
1179
+ interface UpgradeCTA$1 {
1164
1180
  /** CTA button redirect URL. */
1165
1181
  url?: string;
1166
1182
  /** CTA button label. */
1167
1183
  label?: string;
1168
1184
  }
1169
- interface BulkDeleteAutomationsRequest {
1185
+ interface BulkDeleteAutomationsRequest$1 {
1170
1186
  /** Automation IDs to delete */
1171
1187
  automationIds?: string[];
1172
1188
  }
1173
- interface BulkDeleteAutomationsResponse {
1189
+ interface BulkDeleteAutomationsResponse$1 {
1174
1190
  }
1175
1191
  interface GenerateActionInputMappingFromTemplateRequest {
1176
1192
  /** action app id */
@@ -1190,7 +1206,7 @@ interface MigrationUpdateMigratedToV3AutomationRequest {
1190
1206
  }
1191
1207
  interface MigrationUpdateMigratedToV3AutomationResponse {
1192
1208
  }
1193
- interface FilterNonNullableFields {
1209
+ interface FilterNonNullableFields$1 {
1194
1210
  fieldKey: string;
1195
1211
  filterExpression: string;
1196
1212
  }
@@ -1198,10 +1214,10 @@ interface DebounceNonNullableFields {
1198
1214
  timeFrameInSeconds: number;
1199
1215
  fieldKey: string;
1200
1216
  }
1201
- interface TriggerNonNullableFields {
1217
+ interface TriggerNonNullableFields$1 {
1202
1218
  appId: string;
1203
1219
  triggerKey: string;
1204
- filters: FilterNonNullableFields[];
1220
+ filters: FilterNonNullableFields$1[];
1205
1221
  debounce?: DebounceNonNullableFields;
1206
1222
  }
1207
1223
  interface OffsetNonNullableFields {
@@ -1216,7 +1232,7 @@ interface DelayNonNullableFields {
1216
1232
  for?: OffsetNonNullableFields;
1217
1233
  until?: UntilNonNullableFields;
1218
1234
  }
1219
- interface RateLimitNonNullableFields {
1235
+ interface RateLimitNonNullableFields$1 {
1220
1236
  activations: number;
1221
1237
  }
1222
1238
  interface ConditionNonNullableFields {
@@ -1234,12 +1250,12 @@ interface ActionNonNullableFields {
1234
1250
  actionKey: string;
1235
1251
  actionConfig: string;
1236
1252
  delay?: DelayNonNullableFields;
1237
- rateLimit?: RateLimitNonNullableFields;
1253
+ rateLimit?: RateLimitNonNullableFields$1;
1238
1254
  condition?: ConditionNonNullableFields;
1239
1255
  conditions?: ConditionsNonNullableFields;
1240
1256
  }
1241
1257
  interface RuleNonNullableFields {
1242
- trigger?: TriggerNonNullableFields;
1258
+ trigger?: TriggerNonNullableFields$1;
1243
1259
  actions: ActionNonNullableFields[];
1244
1260
  }
1245
1261
  interface AutomationMetadataNonNullableFields {
@@ -1249,63 +1265,63 @@ interface AutomationMetadataNonNullableFields {
1249
1265
  actionRemovalDisabled: boolean;
1250
1266
  actionConditionsEditingDisabled: boolean;
1251
1267
  }
1252
- interface AutomationNonNullableFields {
1268
+ interface AutomationNonNullableFields$1 {
1253
1269
  name: string;
1254
1270
  description: string;
1255
- type: Type$1;
1256
- status: Status$1;
1271
+ type: Type$2;
1272
+ status: Status$2;
1257
1273
  rule?: RuleNonNullableFields;
1258
1274
  metadata?: AutomationMetadataNonNullableFields;
1259
1275
  }
1260
- interface CreateAutomationResponseNonNullableFields {
1261
- automation?: AutomationNonNullableFields;
1276
+ interface CreateAutomationResponseNonNullableFields$1 {
1277
+ automation?: AutomationNonNullableFields$1;
1262
1278
  }
1263
- interface GetAutomationResponseNonNullableFields {
1264
- automation?: AutomationNonNullableFields;
1279
+ interface GetAutomationResponseNonNullableFields$1 {
1280
+ automation?: AutomationNonNullableFields$1;
1265
1281
  }
1266
- interface UpdateAutomationResponseNonNullableFields {
1267
- automation?: AutomationNonNullableFields;
1282
+ interface UpdateAutomationResponseNonNullableFields$1 {
1283
+ automation?: AutomationNonNullableFields$1;
1268
1284
  }
1269
- interface QueryAutomationsResponseNonNullableFields {
1270
- automations: AutomationNonNullableFields[];
1285
+ interface QueryAutomationsResponseNonNullableFields$1 {
1286
+ automations: AutomationNonNullableFields$1[];
1271
1287
  }
1272
1288
  interface OverrideApplicationAutomationResponseNonNullableFields {
1273
- automation?: AutomationNonNullableFields;
1289
+ automation?: AutomationNonNullableFields$1;
1274
1290
  }
1275
- interface TriggerConfigurationErrorNonNullableFields {
1276
- errorType: TriggerErrorType;
1291
+ interface TriggerConfigurationErrorNonNullableFields$1 {
1292
+ errorType: TriggerErrorType$1;
1277
1293
  }
1278
- interface ProviderConfigurationErrorNonNullableFields {
1294
+ interface ProviderConfigurationErrorNonNullableFields$1 {
1279
1295
  message: string;
1280
1296
  title: string;
1281
1297
  }
1282
- interface TriggerValidationErrorNonNullableFields {
1283
- configurationError?: TriggerConfigurationErrorNonNullableFields;
1284
- providerConfigurationError?: ProviderConfigurationErrorNonNullableFields;
1285
- errorType: TriggerValidationErrorValidationErrorType;
1298
+ interface TriggerValidationErrorNonNullableFields$1 {
1299
+ configurationError?: TriggerConfigurationErrorNonNullableFields$1;
1300
+ providerConfigurationError?: ProviderConfigurationErrorNonNullableFields$1;
1301
+ errorType: TriggerValidationErrorValidationErrorType$1;
1286
1302
  }
1287
- interface ActionConfigurationErrorNonNullableFields {
1288
- errorType: ActionErrorType;
1303
+ interface ActionConfigurationErrorNonNullableFields$1 {
1304
+ errorType: ActionErrorType$1;
1289
1305
  }
1290
- interface ActionValidationErrorNonNullableFields {
1291
- configurationError?: ActionConfigurationErrorNonNullableFields;
1292
- providerConfigurationError?: ProviderConfigurationErrorNonNullableFields;
1293
- errorType: ValidationErrorType;
1306
+ interface ActionValidationErrorNonNullableFields$1 {
1307
+ configurationError?: ActionConfigurationErrorNonNullableFields$1;
1308
+ providerConfigurationError?: ProviderConfigurationErrorNonNullableFields$1;
1309
+ errorType: ValidationErrorType$1;
1294
1310
  }
1295
- interface ActionValidationInfoNonNullableFields {
1311
+ interface ActionValidationInfoNonNullableFields$1 {
1296
1312
  appId: string;
1297
1313
  actionKey: string;
1298
- validationErrors: ActionValidationErrorNonNullableFields[];
1314
+ validationErrors: ActionValidationErrorNonNullableFields$1[];
1299
1315
  }
1300
1316
  interface ValidateAutomationByIdResponseNonNullableFields {
1301
1317
  valid: boolean;
1302
- triggerValidationErrors: TriggerValidationErrorNonNullableFields[];
1303
- actionValidationInfo: ActionValidationInfoNonNullableFields[];
1318
+ triggerValidationErrors: TriggerValidationErrorNonNullableFields$1[];
1319
+ actionValidationInfo: ActionValidationInfoNonNullableFields$1[];
1304
1320
  }
1305
- interface ValidateAutomationResponseNonNullableFields {
1321
+ interface ValidateAutomationResponseNonNullableFields$1 {
1306
1322
  valid: boolean;
1307
- triggerValidationErrors: TriggerValidationErrorNonNullableFields[];
1308
- actionValidationInfo: ActionValidationInfoNonNullableFields[];
1323
+ triggerValidationErrors: TriggerValidationErrorNonNullableFields$1[];
1324
+ actionValidationInfo: ActionValidationInfoNonNullableFields$1[];
1309
1325
  }
1310
1326
  interface ActivationReportNonNullableFields {
1311
1327
  activationId: string;
@@ -1315,15 +1331,15 @@ interface ActivationReportNonNullableFields {
1315
1331
  interface GetAutomationActivationReportsResponseNonNullableFields {
1316
1332
  activationReports: ActivationReportNonNullableFields[];
1317
1333
  }
1318
- interface BaseEventMetadata$1 {
1334
+ interface BaseEventMetadata$2 {
1319
1335
  /** App instance ID. */
1320
1336
  instanceId?: string | null;
1321
1337
  /** Event type. */
1322
1338
  eventType?: string;
1323
1339
  /** The identification type and identity data. */
1324
- identity?: IdentificationData$1;
1340
+ identity?: IdentificationData$2;
1325
1341
  }
1326
- interface EventMetadata$1 extends BaseEventMetadata$1 {
1342
+ interface EventMetadata$2 extends BaseEventMetadata$2 {
1327
1343
  /**
1328
1344
  * Unique event ID.
1329
1345
  * Allows clients to ignore duplicate webhooks.
@@ -1361,30 +1377,30 @@ interface EventMetadata$1 extends BaseEventMetadata$1 {
1361
1377
  */
1362
1378
  entityEventSequence?: string | null;
1363
1379
  }
1364
- interface AutomationCreatedEnvelope {
1365
- entity: Automation$1;
1366
- metadata: EventMetadata$1;
1380
+ interface AutomationCreatedEnvelope$1 {
1381
+ entity: Automation$2;
1382
+ metadata: EventMetadata$2;
1367
1383
  }
1368
- interface AutomationUpdatedEnvelope {
1369
- entity: Automation$1;
1370
- metadata: EventMetadata$1;
1384
+ interface AutomationUpdatedEnvelope$1 {
1385
+ entity: Automation$2;
1386
+ metadata: EventMetadata$2;
1371
1387
  }
1372
- interface AutomationDeletedEnvelope {
1373
- metadata: EventMetadata$1;
1388
+ interface AutomationDeletedEnvelope$1 {
1389
+ metadata: EventMetadata$2;
1374
1390
  }
1375
- interface AutomationUpdatedWithPreviousEntityEnvelope {
1376
- data: UpdatedWithPreviousEntity;
1377
- metadata: EventMetadata$1;
1391
+ interface AutomationUpdatedWithPreviousEntityEnvelope$1 {
1392
+ data: UpdatedWithPreviousEntity$1;
1393
+ metadata: EventMetadata$2;
1378
1394
  }
1379
- interface AutomationDeletedWithEntityEnvelope {
1380
- data: DeletedWithEntity;
1381
- metadata: EventMetadata$1;
1395
+ interface AutomationDeletedWithEntityEnvelope$1 {
1396
+ data: DeletedWithEntity$1;
1397
+ metadata: EventMetadata$2;
1382
1398
  }
1383
- interface GetAutomationOptions {
1399
+ interface GetAutomationOptions$1 {
1384
1400
  /** Automation type */
1385
- automationType?: Type$1;
1401
+ automationType?: Type$2;
1386
1402
  }
1387
- interface UpdateAutomation {
1403
+ interface UpdateAutomation$1 {
1388
1404
  /**
1389
1405
  * Automation ID
1390
1406
  * @readonly
@@ -1400,9 +1416,9 @@ interface UpdateAutomation {
1400
1416
  * Automation Type
1401
1417
  * @readonly
1402
1418
  */
1403
- type?: Type$1;
1419
+ type?: Type$2;
1404
1420
  /** Automation Status */
1405
- status?: Status$1;
1421
+ status?: Status$2;
1406
1422
  /** Rule that contains a trigger and some actions */
1407
1423
  rule?: Rule;
1408
1424
  /**
@@ -1444,88 +1460,88 @@ interface DeleteAutomationOptions {
1444
1460
  }
1445
1461
  interface QueryAutomationsOptions {
1446
1462
  /** Automation type */
1447
- automationType?: Type$1 | undefined;
1463
+ automationType?: Type$2 | undefined;
1448
1464
  }
1449
- interface QueryCursorResult {
1450
- cursors: Cursors;
1465
+ interface QueryCursorResult$1 {
1466
+ cursors: Cursors$1;
1451
1467
  hasNext: () => boolean;
1452
1468
  hasPrev: () => boolean;
1453
1469
  length: number;
1454
1470
  pageSize: number;
1455
1471
  }
1456
- interface AutomationsQueryResult extends QueryCursorResult {
1457
- items: Automation$1[];
1458
- query: AutomationsQueryBuilder;
1459
- next: () => Promise<AutomationsQueryResult>;
1460
- prev: () => Promise<AutomationsQueryResult>;
1472
+ interface AutomationsQueryResult$1 extends QueryCursorResult$1 {
1473
+ items: Automation$2[];
1474
+ query: AutomationsQueryBuilder$1;
1475
+ next: () => Promise<AutomationsQueryResult$1>;
1476
+ prev: () => Promise<AutomationsQueryResult$1>;
1461
1477
  }
1462
- interface AutomationsQueryBuilder {
1478
+ interface AutomationsQueryBuilder$1 {
1463
1479
  /** @param propertyName - Property whose value is compared with `value`.
1464
1480
  * @param value - Value to compare against.
1465
1481
  * @documentationMaturity preview
1466
1482
  */
1467
- eq: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any) => AutomationsQueryBuilder;
1483
+ eq: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any) => AutomationsQueryBuilder$1;
1468
1484
  /** @param propertyName - Property whose value is compared with `value`.
1469
1485
  * @param value - Value to compare against.
1470
1486
  * @documentationMaturity preview
1471
1487
  */
1472
- ne: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any) => AutomationsQueryBuilder;
1488
+ ne: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any) => AutomationsQueryBuilder$1;
1473
1489
  /** @param propertyName - Property whose value is compared with `value`.
1474
1490
  * @param value - Value to compare against.
1475
1491
  * @documentationMaturity preview
1476
1492
  */
1477
- ge: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder;
1493
+ ge: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder$1;
1478
1494
  /** @param propertyName - Property whose value is compared with `value`.
1479
1495
  * @param value - Value to compare against.
1480
1496
  * @documentationMaturity preview
1481
1497
  */
1482
- gt: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder;
1498
+ gt: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder$1;
1483
1499
  /** @param propertyName - Property whose value is compared with `value`.
1484
1500
  * @param value - Value to compare against.
1485
1501
  * @documentationMaturity preview
1486
1502
  */
1487
- le: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder;
1503
+ le: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder$1;
1488
1504
  /** @param propertyName - Property whose value is compared with `value`.
1489
1505
  * @param value - Value to compare against.
1490
1506
  * @documentationMaturity preview
1491
1507
  */
1492
- lt: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder;
1508
+ lt: (propertyName: 'revision' | 'source.version' | '_createdDate' | '_updatedDate', value: any) => AutomationsQueryBuilder$1;
1493
1509
  /** @param propertyName - Property whose value is compared with `string`.
1494
1510
  * @param string - String to compare against. Case-insensitive.
1495
1511
  * @documentationMaturity preview
1496
1512
  */
1497
- startsWith: (propertyName: '_id' | 'name' | 'description' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'esbConfigurationId', value: string) => AutomationsQueryBuilder;
1513
+ startsWith: (propertyName: '_id' | 'name' | 'description' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'esbConfigurationId', value: string) => AutomationsQueryBuilder$1;
1498
1514
  /** @param propertyName - Property whose value is compared with `values`.
1499
1515
  * @param values - List of values to compare against.
1500
1516
  * @documentationMaturity preview
1501
1517
  */
1502
- hasSome: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any[]) => AutomationsQueryBuilder;
1518
+ hasSome: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any[]) => AutomationsQueryBuilder$1;
1503
1519
  /** @documentationMaturity preview */
1504
- in: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any) => AutomationsQueryBuilder;
1520
+ in: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: any) => AutomationsQueryBuilder$1;
1505
1521
  /** @documentationMaturity preview */
1506
- exists: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: boolean) => AutomationsQueryBuilder;
1522
+ exists: (propertyName: '_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId', value: boolean) => AutomationsQueryBuilder$1;
1507
1523
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1508
1524
  * @documentationMaturity preview
1509
1525
  */
1510
- ascending: (...propertyNames: Array<'_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId'>) => AutomationsQueryBuilder;
1526
+ ascending: (...propertyNames: Array<'_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId'>) => AutomationsQueryBuilder$1;
1511
1527
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
1512
1528
  * @documentationMaturity preview
1513
1529
  */
1514
- descending: (...propertyNames: Array<'_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId'>) => AutomationsQueryBuilder;
1530
+ descending: (...propertyNames: Array<'_id' | 'revision' | 'name' | 'description' | 'type' | 'status' | 'rule.trigger.appId' | 'rule.trigger.triggerKey' | 'rule.actions.id' | 'rule.actions.appId' | 'rule.actions.actionKey' | 'source.automationId' | 'source.appId' | 'source.componentId' | 'source.version' | 'metadata.hidden' | 'metadata.alwaysActive' | 'metadata.schedulingModificationDisabled' | 'metadata.actionRemovalDisabled' | 'metadata.actionConditionsEditingDisabled' | '_createdDate' | '_updatedDate' | 'esbConfigurationId'>) => AutomationsQueryBuilder$1;
1515
1531
  /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
1516
1532
  * @documentationMaturity preview
1517
1533
  */
1518
- limit: (limit: number) => AutomationsQueryBuilder;
1534
+ limit: (limit: number) => AutomationsQueryBuilder$1;
1519
1535
  /** @param cursor - A pointer to specific record
1520
1536
  * @documentationMaturity preview
1521
1537
  */
1522
- skipTo: (cursor: string) => AutomationsQueryBuilder;
1538
+ skipTo: (cursor: string) => AutomationsQueryBuilder$1;
1523
1539
  /** @documentationMaturity preview */
1524
- find: () => Promise<AutomationsQueryResult>;
1540
+ find: () => Promise<AutomationsQueryResult$1>;
1525
1541
  }
1526
1542
  interface ValidateAutomationByIdOptions {
1527
1543
  /** Automation type */
1528
- automationType?: Type$1;
1544
+ automationType?: Type$2;
1529
1545
  }
1530
1546
  interface GetAutomationActivationStatsOptions {
1531
1547
  paging?: Paging;
@@ -1577,203 +1593,96 @@ declare global {
1577
1593
  }
1578
1594
  }
1579
1595
 
1580
- declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1596
+ declare function createRESTModule$2<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
1581
1597
 
1582
- declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1598
+ declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
1583
1599
 
1584
- declare const createAutomation: ReturnType<typeof createRESTModule$1<typeof publicCreateAutomation>>;
1585
- declare const getAutomation: ReturnType<typeof createRESTModule$1<typeof publicGetAutomation>>;
1586
- declare const updateAutomation: ReturnType<typeof createRESTModule$1<typeof publicUpdateAutomation>>;
1587
- declare const deleteAutomation: ReturnType<typeof createRESTModule$1<typeof publicDeleteAutomation>>;
1588
- declare const queryAutomations: ReturnType<typeof createRESTModule$1<typeof publicQueryAutomations>>;
1589
- declare const overrideApplicationAutomation: ReturnType<typeof createRESTModule$1<typeof publicOverrideApplicationAutomation>>;
1590
- declare const validateAutomationById: ReturnType<typeof createRESTModule$1<typeof publicValidateAutomationById>>;
1591
- declare const validateAutomation: ReturnType<typeof createRESTModule$1<typeof publicValidateAutomation>>;
1592
- declare const getAutomationActivationStats: ReturnType<typeof createRESTModule$1<typeof publicGetAutomationActivationStats>>;
1593
- declare const onAutomationCreated: ReturnType<typeof createEventModule$1<typeof publicOnAutomationCreated>>;
1594
- declare const onAutomationUpdated: ReturnType<typeof createEventModule$1<typeof publicOnAutomationUpdated>>;
1595
- declare const onAutomationDeleted: ReturnType<typeof createEventModule$1<typeof publicOnAutomationDeleted>>;
1596
- declare const onAutomationUpdatedWithPreviousEntity: ReturnType<typeof createEventModule$1<typeof publicOnAutomationUpdatedWithPreviousEntity>>;
1597
- declare const onAutomationDeletedWithEntity: ReturnType<typeof createEventModule$1<typeof publicOnAutomationDeletedWithEntity>>;
1600
+ declare const createAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicCreateAutomation>>;
1601
+ declare const getAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicGetAutomation>>;
1602
+ declare const updateAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicUpdateAutomation>>;
1603
+ declare const deleteAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicDeleteAutomation>>;
1604
+ declare const queryAutomations$1: ReturnType<typeof createRESTModule$2<typeof publicQueryAutomations>>;
1605
+ declare const overrideApplicationAutomation: ReturnType<typeof createRESTModule$2<typeof publicOverrideApplicationAutomation>>;
1606
+ declare const validateAutomationById: ReturnType<typeof createRESTModule$2<typeof publicValidateAutomationById>>;
1607
+ declare const validateAutomation$1: ReturnType<typeof createRESTModule$2<typeof publicValidateAutomation>>;
1608
+ declare const getAutomationActivationStats: ReturnType<typeof createRESTModule$2<typeof publicGetAutomationActivationStats>>;
1609
+ declare const onAutomationCreated$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationCreated>>;
1610
+ declare const onAutomationUpdated$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationUpdated>>;
1611
+ declare const onAutomationDeleted$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationDeleted>>;
1612
+ declare const onAutomationUpdatedWithPreviousEntity$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationUpdatedWithPreviousEntity>>;
1613
+ declare const onAutomationDeletedWithEntity$1: ReturnType<typeof createEventModule$2<typeof publicOnAutomationDeletedWithEntity>>;
1598
1614
 
1599
- type index_d$1_ActionConfigurationError = ActionConfigurationError;
1600
- type index_d$1_ActionErrorType = ActionErrorType;
1601
- declare const index_d$1_ActionErrorType: typeof ActionErrorType;
1602
- type index_d$1_ActionProviderQuotaInfo = ActionProviderQuotaInfo;
1603
- type index_d$1_ActionQuotaInfo = ActionQuotaInfo;
1604
- type index_d$1_ActionValidationError = ActionValidationError;
1605
- type index_d$1_ActionValidationErrorErrorOneOf = ActionValidationErrorErrorOneOf;
1606
- type index_d$1_ActionValidationInfo = ActionValidationInfo;
1607
- type index_d$1_ActivationReport = ActivationReport;
1608
- type index_d$1_AdditionalInfo = AdditionalInfo;
1609
- type index_d$1_Asset = Asset;
1610
- type index_d$1_AutomationCreatedEnvelope = AutomationCreatedEnvelope;
1611
- type index_d$1_AutomationDeletedEnvelope = AutomationDeletedEnvelope;
1612
- type index_d$1_AutomationDeletedWithEntityEnvelope = AutomationDeletedWithEntityEnvelope;
1613
- type index_d$1_AutomationMetadata = AutomationMetadata;
1614
- type index_d$1_AutomationNonNullableFields = AutomationNonNullableFields;
1615
- type index_d$1_AutomationUpdatedEnvelope = AutomationUpdatedEnvelope;
1616
- type index_d$1_AutomationUpdatedWithPreviousEntityEnvelope = AutomationUpdatedWithPreviousEntityEnvelope;
1617
- type index_d$1_AutomationsQueryBuilder = AutomationsQueryBuilder;
1618
- type index_d$1_AutomationsQueryResult = AutomationsQueryResult;
1619
- type index_d$1_BulkCreateApplicationAutomationRequest = BulkCreateApplicationAutomationRequest;
1620
- type index_d$1_BulkCreateApplicationAutomationResponse = BulkCreateApplicationAutomationResponse;
1621
- type index_d$1_BulkDeleteAutomationsRequest = BulkDeleteAutomationsRequest;
1622
- type index_d$1_BulkDeleteAutomationsResponse = BulkDeleteAutomationsResponse;
1623
- type index_d$1_CTA = CTA;
1624
- type index_d$1_Condition = Condition;
1625
- type index_d$1_Conditions = Conditions;
1626
- type index_d$1_CreateAutomationRequest = CreateAutomationRequest;
1627
- type index_d$1_CreateAutomationResponse = CreateAutomationResponse;
1628
- type index_d$1_CreateAutomationResponseNonNullableFields = CreateAutomationResponseNonNullableFields;
1629
- type index_d$1_CursorPaging = CursorPaging;
1630
- type index_d$1_Cursors = Cursors;
1631
- type index_d$1_Debounce = Debounce;
1632
- type index_d$1_DelayTypeOneOf = DelayTypeOneOf;
1633
- type index_d$1_DeleteAutomationOptions = DeleteAutomationOptions;
1634
- type index_d$1_DeleteAutomationRequest = DeleteAutomationRequest;
1635
- type index_d$1_DeleteAutomationResponse = DeleteAutomationResponse;
1636
- type index_d$1_DeleteContext = DeleteContext;
1637
- type index_d$1_DeleteStatus = DeleteStatus;
1638
- declare const index_d$1_DeleteStatus: typeof DeleteStatus;
1639
- type index_d$1_DeletedWithEntity = DeletedWithEntity;
1640
- type index_d$1_ExtendedFields = ExtendedFields;
1641
- type index_d$1_GenerateActionInputMappingFromTemplateRequest = GenerateActionInputMappingFromTemplateRequest;
1642
- type index_d$1_GenerateActionInputMappingFromTemplateResponse = GenerateActionInputMappingFromTemplateResponse;
1643
- type index_d$1_GenerateApplicationAutomationFromCustomRequest = GenerateApplicationAutomationFromCustomRequest;
1644
- type index_d$1_GenerateApplicationAutomationFromCustomResponse = GenerateApplicationAutomationFromCustomResponse;
1645
- type index_d$1_GetActionsQuotaInfoRequest = GetActionsQuotaInfoRequest;
1646
- type index_d$1_GetActionsQuotaInfoResponse = GetActionsQuotaInfoResponse;
1647
- type index_d$1_GetApplicationAutomationRequest = GetApplicationAutomationRequest;
1648
- type index_d$1_GetApplicationAutomationResponse = GetApplicationAutomationResponse;
1649
- type index_d$1_GetAutomationActionSchemaRequest = GetAutomationActionSchemaRequest;
1650
- type index_d$1_GetAutomationActionSchemaResponse = GetAutomationActionSchemaResponse;
1651
- type index_d$1_GetAutomationActivationReportsRequest = GetAutomationActivationReportsRequest;
1652
- type index_d$1_GetAutomationActivationReportsResponse = GetAutomationActivationReportsResponse;
1653
- type index_d$1_GetAutomationActivationReportsResponseNonNullableFields = GetAutomationActivationReportsResponseNonNullableFields;
1654
- type index_d$1_GetAutomationActivationStatsOptions = GetAutomationActivationStatsOptions;
1655
- type index_d$1_GetAutomationOptions = GetAutomationOptions;
1656
- type index_d$1_GetAutomationRequest = GetAutomationRequest;
1657
- type index_d$1_GetAutomationResponse = GetAutomationResponse;
1658
- type index_d$1_GetAutomationResponseNonNullableFields = GetAutomationResponseNonNullableFields;
1659
- type index_d$1_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
1660
- type index_d$1_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
1661
- type index_d$1_MigrationBulkCreateAutomations = MigrationBulkCreateAutomations;
1662
- type index_d$1_MigrationBulkCreateAutomationsRequest = MigrationBulkCreateAutomationsRequest;
1663
- type index_d$1_MigrationBulkCreateAutomationsResponse = MigrationBulkCreateAutomationsResponse;
1664
- type index_d$1_MigrationUpdateMigratedToV3AutomationRequest = MigrationUpdateMigratedToV3AutomationRequest;
1665
- type index_d$1_MigrationUpdateMigratedToV3AutomationResponse = MigrationUpdateMigratedToV3AutomationResponse;
1666
- type index_d$1_Namespace = Namespace;
1667
- declare const index_d$1_Namespace: typeof Namespace;
1668
- type index_d$1_NamespaceChanged = NamespaceChanged;
1669
- type index_d$1_Offset = Offset;
1670
- type index_d$1_OffsetValueOneOf = OffsetValueOneOf;
1671
- type index_d$1_OverrideApplicationAutomationRequest = OverrideApplicationAutomationRequest;
1672
- type index_d$1_OverrideApplicationAutomationResponse = OverrideApplicationAutomationResponse;
1673
- type index_d$1_OverrideApplicationAutomationResponseNonNullableFields = OverrideApplicationAutomationResponseNonNullableFields;
1674
- type index_d$1_Paging = Paging;
1675
- type index_d$1_PagingMetadata = PagingMetadata;
1676
- type index_d$1_PagingMetadataV2 = PagingMetadataV2;
1677
- type index_d$1_Plan = Plan;
1678
- type index_d$1_ProviderConfigurationError = ProviderConfigurationError;
1679
- type index_d$1_QueryApplicationAutomationsRequest = QueryApplicationAutomationsRequest;
1680
- type index_d$1_QueryApplicationAutomationsResponse = QueryApplicationAutomationsResponse;
1681
- type index_d$1_QueryAutomationsOptions = QueryAutomationsOptions;
1682
- type index_d$1_QueryAutomationsRequest = QueryAutomationsRequest;
1683
- type index_d$1_QueryAutomationsResponse = QueryAutomationsResponse;
1684
- type index_d$1_QueryAutomationsResponseNonNullableFields = QueryAutomationsResponseNonNullableFields;
1685
- type index_d$1_QueryV2 = QueryV2;
1686
- type index_d$1_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
1687
- type index_d$1_Quota = Quota;
1688
- type index_d$1_QuotaInfo = QuotaInfo;
1689
- type index_d$1_RateLimit = RateLimit;
1690
- type index_d$1_RestoreInfo = RestoreInfo;
1691
- type index_d$1_Rule = Rule;
1692
- type index_d$1_ServiceProvisioned = ServiceProvisioned;
1693
- type index_d$1_ServiceRemoved = ServiceRemoved;
1694
- type index_d$1_SiteCreated = SiteCreated;
1695
- type index_d$1_SiteCreatedContext = SiteCreatedContext;
1696
- declare const index_d$1_SiteCreatedContext: typeof SiteCreatedContext;
1697
- type index_d$1_SiteDeleted = SiteDeleted;
1698
- type index_d$1_SiteHardDeleted = SiteHardDeleted;
1699
- type index_d$1_SiteMarkedAsTemplate = SiteMarkedAsTemplate;
1700
- type index_d$1_SiteMarkedAsWixSite = SiteMarkedAsWixSite;
1701
- type index_d$1_SitePublished = SitePublished;
1702
- type index_d$1_SiteRenamed = SiteRenamed;
1703
- type index_d$1_SiteTransferred = SiteTransferred;
1704
- type index_d$1_SiteUndeleted = SiteUndeleted;
1705
- type index_d$1_SiteUnpublished = SiteUnpublished;
1706
- type index_d$1_SortOrder = SortOrder;
1707
- declare const index_d$1_SortOrder: typeof SortOrder;
1708
- type index_d$1_Sorting = Sorting;
1709
- type index_d$1_Source = Source;
1710
- type index_d$1_State = State;
1711
- declare const index_d$1_State: typeof State;
1712
- type index_d$1_StudioAssigned = StudioAssigned;
1713
- type index_d$1_StudioUnassigned = StudioUnassigned;
1714
- type index_d$1_SyncApplicationAutomationsRequest = SyncApplicationAutomationsRequest;
1715
- type index_d$1_SyncApplicationAutomationsResponse = SyncApplicationAutomationsResponse;
1716
- type index_d$1_TargetType = TargetType;
1717
- declare const index_d$1_TargetType: typeof TargetType;
1718
- type index_d$1_TriggerConfigurationError = TriggerConfigurationError;
1719
- type index_d$1_TriggerErrorType = TriggerErrorType;
1720
- declare const index_d$1_TriggerErrorType: typeof TriggerErrorType;
1721
- type index_d$1_TriggerValidationError = TriggerValidationError;
1722
- type index_d$1_TriggerValidationErrorErrorOneOf = TriggerValidationErrorErrorOneOf;
1723
- type index_d$1_TriggerValidationErrorValidationErrorType = TriggerValidationErrorValidationErrorType;
1724
- declare const index_d$1_TriggerValidationErrorValidationErrorType: typeof TriggerValidationErrorValidationErrorType;
1725
- type index_d$1_UnprocessedTargetEvent = UnprocessedTargetEvent;
1726
- type index_d$1_Until = Until;
1727
- type index_d$1_UpdateApplicationAutomationConfigurationIdRequest = UpdateApplicationAutomationConfigurationIdRequest;
1728
- type index_d$1_UpdateApplicationAutomationConfigurationIdResponse = UpdateApplicationAutomationConfigurationIdResponse;
1729
- type index_d$1_UpdateApplicationAutomationToMigratedFromV1Request = UpdateApplicationAutomationToMigratedFromV1Request;
1730
- type index_d$1_UpdateApplicationAutomationToMigratedFromV1Response = UpdateApplicationAutomationToMigratedFromV1Response;
1731
- type index_d$1_UpdateAutomation = UpdateAutomation;
1732
- type index_d$1_UpdateAutomationRequest = UpdateAutomationRequest;
1733
- type index_d$1_UpdateAutomationResponse = UpdateAutomationResponse;
1734
- type index_d$1_UpdateAutomationResponseNonNullableFields = UpdateAutomationResponseNonNullableFields;
1735
- type index_d$1_UpdatedAutomationsWithEsb = UpdatedAutomationsWithEsb;
1736
- type index_d$1_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
1737
- type index_d$1_UpgradeCTA = UpgradeCTA;
1738
- type index_d$1_ValidateAutomationByIdOptions = ValidateAutomationByIdOptions;
1739
- type index_d$1_ValidateAutomationByIdRequest = ValidateAutomationByIdRequest;
1740
- type index_d$1_ValidateAutomationByIdResponse = ValidateAutomationByIdResponse;
1741
- type index_d$1_ValidateAutomationByIdResponseNonNullableFields = ValidateAutomationByIdResponseNonNullableFields;
1742
- type index_d$1_ValidateAutomationRequest = ValidateAutomationRequest;
1743
- type index_d$1_ValidateAutomationResponse = ValidateAutomationResponse;
1744
- type index_d$1_ValidateAutomationResponseNonNullableFields = ValidateAutomationResponseNonNullableFields;
1745
- type index_d$1_ValidationErrorType = ValidationErrorType;
1746
- declare const index_d$1_ValidationErrorType: typeof ValidationErrorType;
1747
- declare const index_d$1_createAutomation: typeof createAutomation;
1748
- declare const index_d$1_deleteAutomation: typeof deleteAutomation;
1749
- declare const index_d$1_getAutomation: typeof getAutomation;
1750
- declare const index_d$1_getAutomationActivationStats: typeof getAutomationActivationStats;
1751
- declare const index_d$1_onAutomationCreated: typeof onAutomationCreated;
1752
- declare const index_d$1_onAutomationDeleted: typeof onAutomationDeleted;
1753
- declare const index_d$1_onAutomationDeletedWithEntity: typeof onAutomationDeletedWithEntity;
1754
- declare const index_d$1_onAutomationUpdated: typeof onAutomationUpdated;
1755
- declare const index_d$1_onAutomationUpdatedWithPreviousEntity: typeof onAutomationUpdatedWithPreviousEntity;
1756
- declare const index_d$1_overrideApplicationAutomation: typeof overrideApplicationAutomation;
1757
- declare const index_d$1_queryAutomations: typeof queryAutomations;
1758
- declare const index_d$1_updateAutomation: typeof updateAutomation;
1759
- declare const index_d$1_validateAutomation: typeof validateAutomation;
1760
- declare const index_d$1_validateAutomationById: typeof validateAutomationById;
1761
- declare namespace index_d$1 {
1762
- export { type Action$1 as Action, type index_d$1_ActionConfigurationError as ActionConfigurationError, index_d$1_ActionErrorType as ActionErrorType, type ActionEvent$1 as ActionEvent, type index_d$1_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type index_d$1_ActionQuotaInfo as ActionQuotaInfo, type index_d$1_ActionValidationError as ActionValidationError, type index_d$1_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type index_d$1_ActionValidationInfo as ActionValidationInfo, type index_d$1_ActivationReport as ActivationReport, ActivationStatus$1 as ActivationStatus, type index_d$1_AdditionalInfo as AdditionalInfo, type ApplicationError$1 as ApplicationError, type index_d$1_Asset as Asset, type Automation$1 as Automation, type index_d$1_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d$1_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d$1_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type index_d$1_AutomationMetadata as AutomationMetadata, type index_d$1_AutomationNonNullableFields as AutomationNonNullableFields, type index_d$1_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type index_d$1_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type index_d$1_AutomationsQueryBuilder as AutomationsQueryBuilder, type index_d$1_AutomationsQueryResult as AutomationsQueryResult, type BaseEventMetadata$1 as BaseEventMetadata, BlockType$1 as BlockType, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$1_BulkCreateApplicationAutomationRequest as BulkCreateApplicationAutomationRequest, type index_d$1_BulkCreateApplicationAutomationResponse as BulkCreateApplicationAutomationResponse, type index_d$1_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type index_d$1_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type index_d$1_CTA as CTA, type index_d$1_Condition as Condition, type ConditionBlock$1 as ConditionBlock, type index_d$1_Conditions as Conditions, type index_d$1_CreateAutomationRequest as CreateAutomationRequest, type index_d$1_CreateAutomationResponse as CreateAutomationResponse, type index_d$1_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d$1_CursorPaging as CursorPaging, type index_d$1_Cursors as Cursors, type index_d$1_Debounce as Debounce, type Delay$1 as Delay, type index_d$1_DelayTypeOneOf as DelayTypeOneOf, type index_d$1_DeleteAutomationOptions as DeleteAutomationOptions, type index_d$1_DeleteAutomationRequest as DeleteAutomationRequest, type index_d$1_DeleteAutomationResponse as DeleteAutomationResponse, type index_d$1_DeleteContext as DeleteContext, index_d$1_DeleteStatus as DeleteStatus, type index_d$1_DeletedWithEntity as DeletedWithEntity, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type EventMetadata$1 as EventMetadata, type index_d$1_ExtendedFields as ExtendedFields, type Filter$1 as Filter, type index_d$1_GenerateActionInputMappingFromTemplateRequest as GenerateActionInputMappingFromTemplateRequest, type index_d$1_GenerateActionInputMappingFromTemplateResponse as GenerateActionInputMappingFromTemplateResponse, type index_d$1_GenerateApplicationAutomationFromCustomRequest as GenerateApplicationAutomationFromCustomRequest, type index_d$1_GenerateApplicationAutomationFromCustomResponse as GenerateApplicationAutomationFromCustomResponse, type index_d$1_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type index_d$1_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type index_d$1_GetApplicationAutomationRequest as GetApplicationAutomationRequest, type index_d$1_GetApplicationAutomationResponse as GetApplicationAutomationResponse, type index_d$1_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type index_d$1_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type index_d$1_GetAutomationActivationReportsRequest as GetAutomationActivationReportsRequest, type index_d$1_GetAutomationActivationReportsResponse as GetAutomationActivationReportsResponse, type index_d$1_GetAutomationActivationReportsResponseNonNullableFields as GetAutomationActivationReportsResponseNonNullableFields, type index_d$1_GetAutomationActivationStatsOptions as GetAutomationActivationStatsOptions, type index_d$1_GetAutomationOptions as GetAutomationOptions, type index_d$1_GetAutomationRequest as GetAutomationRequest, type index_d$1_GetAutomationResponse as GetAutomationResponse, type index_d$1_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, type index_d$1_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d$1_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, type index_d$1_MigrationBulkCreateAutomations as MigrationBulkCreateAutomations, type index_d$1_MigrationBulkCreateAutomationsRequest as MigrationBulkCreateAutomationsRequest, type index_d$1_MigrationBulkCreateAutomationsResponse as MigrationBulkCreateAutomationsResponse, type index_d$1_MigrationUpdateMigratedToV3AutomationRequest as MigrationUpdateMigratedToV3AutomationRequest, type index_d$1_MigrationUpdateMigratedToV3AutomationResponse as MigrationUpdateMigratedToV3AutomationResponse, index_d$1_Namespace as Namespace, type index_d$1_NamespaceChanged as NamespaceChanged, type index_d$1_Offset as Offset, type index_d$1_OffsetValueOneOf as OffsetValueOneOf, type index_d$1_OverrideApplicationAutomationRequest as OverrideApplicationAutomationRequest, type index_d$1_OverrideApplicationAutomationResponse as OverrideApplicationAutomationResponse, type index_d$1_OverrideApplicationAutomationResponseNonNullableFields as OverrideApplicationAutomationResponseNonNullableFields, type index_d$1_Paging as Paging, type index_d$1_PagingMetadata as PagingMetadata, type index_d$1_PagingMetadataV2 as PagingMetadataV2, type index_d$1_Plan as Plan, type index_d$1_ProviderConfigurationError as ProviderConfigurationError, type index_d$1_QueryApplicationAutomationsRequest as QueryApplicationAutomationsRequest, type index_d$1_QueryApplicationAutomationsResponse as QueryApplicationAutomationsResponse, type index_d$1_QueryAutomationsOptions as QueryAutomationsOptions, type index_d$1_QueryAutomationsRequest as QueryAutomationsRequest, type index_d$1_QueryAutomationsResponse as QueryAutomationsResponse, type index_d$1_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d$1_QueryV2 as QueryV2, type index_d$1_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type index_d$1_Quota as Quota, type index_d$1_QuotaInfo as QuotaInfo, type index_d$1_RateLimit as RateLimit, type index_d$1_RestoreInfo as RestoreInfo, type index_d$1_Rule as Rule, type index_d$1_ServiceProvisioned as ServiceProvisioned, type index_d$1_ServiceRemoved as ServiceRemoved, type index_d$1_SiteCreated as SiteCreated, index_d$1_SiteCreatedContext as SiteCreatedContext, type index_d$1_SiteDeleted as SiteDeleted, type index_d$1_SiteHardDeleted as SiteHardDeleted, type index_d$1_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d$1_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d$1_SitePublished as SitePublished, type index_d$1_SiteRenamed as SiteRenamed, type index_d$1_SiteTransferred as SiteTransferred, type index_d$1_SiteUndeleted as SiteUndeleted, type index_d$1_SiteUnpublished as SiteUnpublished, index_d$1_SortOrder as SortOrder, type index_d$1_Sorting as Sorting, type index_d$1_Source as Source, index_d$1_State as State, Status$1 as Status, type index_d$1_StudioAssigned as StudioAssigned, type index_d$1_StudioUnassigned as StudioUnassigned, type index_d$1_SyncApplicationAutomationsRequest as SyncApplicationAutomationsRequest, type index_d$1_SyncApplicationAutomationsResponse as SyncApplicationAutomationsResponse, type Target$1 as Target, index_d$1_TargetType as TargetType, type Trigger$1 as Trigger, type index_d$1_TriggerConfigurationError as TriggerConfigurationError, index_d$1_TriggerErrorType as TriggerErrorType, type index_d$1_TriggerValidationError as TriggerValidationError, type index_d$1_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, index_d$1_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, Type$1 as Type, type index_d$1_UnprocessedTargetEvent as UnprocessedTargetEvent, type index_d$1_Until as Until, type index_d$1_UpdateApplicationAutomationConfigurationIdRequest as UpdateApplicationAutomationConfigurationIdRequest, type index_d$1_UpdateApplicationAutomationConfigurationIdResponse as UpdateApplicationAutomationConfigurationIdResponse, type index_d$1_UpdateApplicationAutomationToMigratedFromV1Request as UpdateApplicationAutomationToMigratedFromV1Request, type index_d$1_UpdateApplicationAutomationToMigratedFromV1Response as UpdateApplicationAutomationToMigratedFromV1Response, type index_d$1_UpdateAutomation as UpdateAutomation, type index_d$1_UpdateAutomationRequest as UpdateAutomationRequest, type index_d$1_UpdateAutomationResponse as UpdateAutomationResponse, type index_d$1_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type index_d$1_UpdatedAutomationsWithEsb as UpdatedAutomationsWithEsb, type index_d$1_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type index_d$1_UpgradeCTA as UpgradeCTA, type index_d$1_ValidateAutomationByIdOptions as ValidateAutomationByIdOptions, type index_d$1_ValidateAutomationByIdRequest as ValidateAutomationByIdRequest, type index_d$1_ValidateAutomationByIdResponse as ValidateAutomationByIdResponse, type index_d$1_ValidateAutomationByIdResponseNonNullableFields as ValidateAutomationByIdResponseNonNullableFields, type index_d$1_ValidateAutomationRequest as ValidateAutomationRequest, type index_d$1_ValidateAutomationResponse as ValidateAutomationResponse, type index_d$1_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, index_d$1_ValidationErrorType as ValidationErrorType, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_createAutomation as createAutomation, index_d$1_deleteAutomation as deleteAutomation, index_d$1_getAutomation as getAutomation, index_d$1_getAutomationActivationStats as getAutomationActivationStats, index_d$1_onAutomationCreated as onAutomationCreated, index_d$1_onAutomationDeleted as onAutomationDeleted, index_d$1_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, index_d$1_onAutomationUpdated as onAutomationUpdated, index_d$1_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, index_d$1_overrideApplicationAutomation as overrideApplicationAutomation, index_d$1_queryAutomations as queryAutomations, index_d$1_updateAutomation as updateAutomation, index_d$1_validateAutomation as validateAutomation, index_d$1_validateAutomationById as validateAutomationById };
1615
+ type index_d$2_ActivationReport = ActivationReport;
1616
+ type index_d$2_AutomationMetadata = AutomationMetadata;
1617
+ type index_d$2_BulkCreateApplicationAutomationRequest = BulkCreateApplicationAutomationRequest;
1618
+ type index_d$2_BulkCreateApplicationAutomationResponse = BulkCreateApplicationAutomationResponse;
1619
+ type index_d$2_Condition = Condition;
1620
+ type index_d$2_Conditions = Conditions;
1621
+ type index_d$2_Debounce = Debounce;
1622
+ type index_d$2_DelayTypeOneOf = DelayTypeOneOf;
1623
+ type index_d$2_DeleteAutomationOptions = DeleteAutomationOptions;
1624
+ type index_d$2_ExtendedFields = ExtendedFields;
1625
+ type index_d$2_GenerateActionInputMappingFromTemplateRequest = GenerateActionInputMappingFromTemplateRequest;
1626
+ type index_d$2_GenerateActionInputMappingFromTemplateResponse = GenerateActionInputMappingFromTemplateResponse;
1627
+ type index_d$2_GenerateApplicationAutomationFromCustomRequest = GenerateApplicationAutomationFromCustomRequest;
1628
+ type index_d$2_GenerateApplicationAutomationFromCustomResponse = GenerateApplicationAutomationFromCustomResponse;
1629
+ type index_d$2_GetApplicationAutomationRequest = GetApplicationAutomationRequest;
1630
+ type index_d$2_GetApplicationAutomationResponse = GetApplicationAutomationResponse;
1631
+ type index_d$2_GetAutomationActivationReportsRequest = GetAutomationActivationReportsRequest;
1632
+ type index_d$2_GetAutomationActivationReportsResponse = GetAutomationActivationReportsResponse;
1633
+ type index_d$2_GetAutomationActivationReportsResponseNonNullableFields = GetAutomationActivationReportsResponseNonNullableFields;
1634
+ type index_d$2_GetAutomationActivationStatsOptions = GetAutomationActivationStatsOptions;
1635
+ type index_d$2_MigrationBulkCreateAutomations = MigrationBulkCreateAutomations;
1636
+ type index_d$2_MigrationBulkCreateAutomationsRequest = MigrationBulkCreateAutomationsRequest;
1637
+ type index_d$2_MigrationBulkCreateAutomationsResponse = MigrationBulkCreateAutomationsResponse;
1638
+ type index_d$2_MigrationUpdateMigratedToV3AutomationRequest = MigrationUpdateMigratedToV3AutomationRequest;
1639
+ type index_d$2_MigrationUpdateMigratedToV3AutomationResponse = MigrationUpdateMigratedToV3AutomationResponse;
1640
+ type index_d$2_Offset = Offset;
1641
+ type index_d$2_OffsetValueOneOf = OffsetValueOneOf;
1642
+ type index_d$2_OverrideApplicationAutomationRequest = OverrideApplicationAutomationRequest;
1643
+ type index_d$2_OverrideApplicationAutomationResponse = OverrideApplicationAutomationResponse;
1644
+ type index_d$2_OverrideApplicationAutomationResponseNonNullableFields = OverrideApplicationAutomationResponseNonNullableFields;
1645
+ type index_d$2_Paging = Paging;
1646
+ type index_d$2_PagingMetadata = PagingMetadata;
1647
+ type index_d$2_PagingMetadataV2 = PagingMetadataV2;
1648
+ type index_d$2_QueryApplicationAutomationsRequest = QueryApplicationAutomationsRequest;
1649
+ type index_d$2_QueryApplicationAutomationsResponse = QueryApplicationAutomationsResponse;
1650
+ type index_d$2_QueryAutomationsOptions = QueryAutomationsOptions;
1651
+ type index_d$2_QueryV2 = QueryV2;
1652
+ type index_d$2_QueryV2PagingMethodOneOf = QueryV2PagingMethodOneOf;
1653
+ type index_d$2_Rule = Rule;
1654
+ type index_d$2_Source = Source;
1655
+ type index_d$2_SyncApplicationAutomationsRequest = SyncApplicationAutomationsRequest;
1656
+ type index_d$2_SyncApplicationAutomationsResponse = SyncApplicationAutomationsResponse;
1657
+ type index_d$2_Until = Until;
1658
+ type index_d$2_UpdateApplicationAutomationConfigurationIdRequest = UpdateApplicationAutomationConfigurationIdRequest;
1659
+ type index_d$2_UpdateApplicationAutomationConfigurationIdResponse = UpdateApplicationAutomationConfigurationIdResponse;
1660
+ type index_d$2_UpdateApplicationAutomationToMigratedFromV1Request = UpdateApplicationAutomationToMigratedFromV1Request;
1661
+ type index_d$2_UpdateApplicationAutomationToMigratedFromV1Response = UpdateApplicationAutomationToMigratedFromV1Response;
1662
+ type index_d$2_UpdatedAutomationsWithEsb = UpdatedAutomationsWithEsb;
1663
+ type index_d$2_ValidateAutomationByIdOptions = ValidateAutomationByIdOptions;
1664
+ type index_d$2_ValidateAutomationByIdRequest = ValidateAutomationByIdRequest;
1665
+ type index_d$2_ValidateAutomationByIdResponse = ValidateAutomationByIdResponse;
1666
+ type index_d$2_ValidateAutomationByIdResponseNonNullableFields = ValidateAutomationByIdResponseNonNullableFields;
1667
+ declare const index_d$2_getAutomationActivationStats: typeof getAutomationActivationStats;
1668
+ declare const index_d$2_overrideApplicationAutomation: typeof overrideApplicationAutomation;
1669
+ declare const index_d$2_validateAutomationById: typeof validateAutomationById;
1670
+ declare namespace index_d$2 {
1671
+ export { type Action$2 as Action, type ActionConfigurationError$1 as ActionConfigurationError, ActionErrorType$1 as ActionErrorType, type ActionEvent$2 as ActionEvent, type ActionProviderQuotaInfo$1 as ActionProviderQuotaInfo, type ActionQuotaInfo$1 as ActionQuotaInfo, type ActionValidationError$1 as ActionValidationError, type ActionValidationErrorErrorOneOf$1 as ActionValidationErrorErrorOneOf, type ActionValidationInfo$1 as ActionValidationInfo, type index_d$2_ActivationReport as ActivationReport, ActivationStatus$1 as ActivationStatus, type AdditionalInfo$1 as AdditionalInfo, type ApplicationError$2 as ApplicationError, type Asset$1 as Asset, type Automation$2 as Automation, type AutomationCreatedEnvelope$1 as AutomationCreatedEnvelope, type AutomationDeletedEnvelope$1 as AutomationDeletedEnvelope, type AutomationDeletedWithEntityEnvelope$1 as AutomationDeletedWithEntityEnvelope, type index_d$2_AutomationMetadata as AutomationMetadata, type AutomationNonNullableFields$1 as AutomationNonNullableFields, type AutomationUpdatedEnvelope$1 as AutomationUpdatedEnvelope, type AutomationUpdatedWithPreviousEntityEnvelope$1 as AutomationUpdatedWithPreviousEntityEnvelope, type AutomationsQueryBuilder$1 as AutomationsQueryBuilder, type AutomationsQueryResult$1 as AutomationsQueryResult, type BaseEventMetadata$2 as BaseEventMetadata, BlockType$1 as BlockType, type BulkActionMetadata$2 as BulkActionMetadata, type index_d$2_BulkCreateApplicationAutomationRequest as BulkCreateApplicationAutomationRequest, type index_d$2_BulkCreateApplicationAutomationResponse as BulkCreateApplicationAutomationResponse, type BulkDeleteAutomationsRequest$1 as BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse$1 as BulkDeleteAutomationsResponse, type CTA$1 as CTA, type index_d$2_Condition as Condition, type ConditionBlock$1 as ConditionBlock, type index_d$2_Conditions as Conditions, type CreateAutomationRequest$1 as CreateAutomationRequest, type CreateAutomationResponse$1 as CreateAutomationResponse, type CreateAutomationResponseNonNullableFields$1 as CreateAutomationResponseNonNullableFields, type CursorPaging$1 as CursorPaging, type Cursors$1 as Cursors, type index_d$2_Debounce as Debounce, type Delay$1 as Delay, type index_d$2_DelayTypeOneOf as DelayTypeOneOf, type index_d$2_DeleteAutomationOptions as DeleteAutomationOptions, type DeleteAutomationRequest$1 as DeleteAutomationRequest, type DeleteAutomationResponse$1 as DeleteAutomationResponse, type DeleteContext$1 as DeleteContext, DeleteStatus$1 as DeleteStatus, type DeletedWithEntity$1 as DeletedWithEntity, type DomainEvent$2 as DomainEvent, type DomainEventBodyOneOf$2 as DomainEventBodyOneOf, type Empty$2 as Empty, type EntityCreatedEvent$2 as EntityCreatedEvent, type EntityDeletedEvent$2 as EntityDeletedEvent, type EntityUpdatedEvent$2 as EntityUpdatedEvent, type EventMetadata$2 as EventMetadata, type index_d$2_ExtendedFields as ExtendedFields, type File$1 as File, type Filter$2 as Filter, type index_d$2_GenerateActionInputMappingFromTemplateRequest as GenerateActionInputMappingFromTemplateRequest, type index_d$2_GenerateActionInputMappingFromTemplateResponse as GenerateActionInputMappingFromTemplateResponse, type index_d$2_GenerateApplicationAutomationFromCustomRequest as GenerateApplicationAutomationFromCustomRequest, type index_d$2_GenerateApplicationAutomationFromCustomResponse as GenerateApplicationAutomationFromCustomResponse, type GetActionsQuotaInfoRequest$1 as GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse$1 as GetActionsQuotaInfoResponse, type index_d$2_GetApplicationAutomationRequest as GetApplicationAutomationRequest, type index_d$2_GetApplicationAutomationResponse as GetApplicationAutomationResponse, type GetAutomationActionSchemaRequest$1 as GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse$1 as GetAutomationActionSchemaResponse, type index_d$2_GetAutomationActivationReportsRequest as GetAutomationActivationReportsRequest, type index_d$2_GetAutomationActivationReportsResponse as GetAutomationActivationReportsResponse, type index_d$2_GetAutomationActivationReportsResponseNonNullableFields as GetAutomationActivationReportsResponseNonNullableFields, type index_d$2_GetAutomationActivationStatsOptions as GetAutomationActivationStatsOptions, type GetAutomationOptions$1 as GetAutomationOptions, type GetAutomationRequest$1 as GetAutomationRequest, type GetAutomationResponse$1 as GetAutomationResponse, type GetAutomationResponseNonNullableFields$1 as GetAutomationResponseNonNullableFields, type IdentificationData$2 as IdentificationData, type IdentificationDataIdOneOf$2 as IdentificationDataIdOneOf, type ItemMetadata$2 as ItemMetadata, type MessageEnvelope$2 as MessageEnvelope, type MetaSiteSpecialEvent$1 as MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf$1 as MetaSiteSpecialEventPayloadOneOf, type index_d$2_MigrationBulkCreateAutomations as MigrationBulkCreateAutomations, type index_d$2_MigrationBulkCreateAutomationsRequest as MigrationBulkCreateAutomationsRequest, type index_d$2_MigrationBulkCreateAutomationsResponse as MigrationBulkCreateAutomationsResponse, type index_d$2_MigrationUpdateMigratedToV3AutomationRequest as MigrationUpdateMigratedToV3AutomationRequest, type index_d$2_MigrationUpdateMigratedToV3AutomationResponse as MigrationUpdateMigratedToV3AutomationResponse, Namespace$1 as Namespace, type NamespaceChanged$1 as NamespaceChanged, type index_d$2_Offset as Offset, type index_d$2_OffsetValueOneOf as OffsetValueOneOf, type index_d$2_OverrideApplicationAutomationRequest as OverrideApplicationAutomationRequest, type index_d$2_OverrideApplicationAutomationResponse as OverrideApplicationAutomationResponse, type index_d$2_OverrideApplicationAutomationResponseNonNullableFields as OverrideApplicationAutomationResponseNonNullableFields, type index_d$2_Paging as Paging, type index_d$2_PagingMetadata as PagingMetadata, type index_d$2_PagingMetadataV2 as PagingMetadataV2, type Plan$1 as Plan, type ProviderConfigurationError$1 as ProviderConfigurationError, type index_d$2_QueryApplicationAutomationsRequest as QueryApplicationAutomationsRequest, type index_d$2_QueryApplicationAutomationsResponse as QueryApplicationAutomationsResponse, type index_d$2_QueryAutomationsOptions as QueryAutomationsOptions, type QueryAutomationsRequest$1 as QueryAutomationsRequest, type QueryAutomationsResponse$1 as QueryAutomationsResponse, type QueryAutomationsResponseNonNullableFields$1 as QueryAutomationsResponseNonNullableFields, type index_d$2_QueryV2 as QueryV2, type index_d$2_QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOf, type Quota$1 as Quota, type QuotaInfo$1 as QuotaInfo, type RateLimit$2 as RateLimit, type RestoreInfo$2 as RestoreInfo, type index_d$2_Rule as Rule, type ServiceProvisioned$1 as ServiceProvisioned, type ServiceRemoved$1 as ServiceRemoved, type SiteCreated$1 as SiteCreated, SiteCreatedContext$1 as SiteCreatedContext, type SiteDeleted$1 as SiteDeleted, type SiteHardDeleted$1 as SiteHardDeleted, type SiteMarkedAsTemplate$1 as SiteMarkedAsTemplate, type SiteMarkedAsWixSite$1 as SiteMarkedAsWixSite, type SitePublished$1 as SitePublished, type SiteRenamed$1 as SiteRenamed, type SiteTransferred$1 as SiteTransferred, type SiteUndeleted$1 as SiteUndeleted, type SiteUnpublished$1 as SiteUnpublished, SortOrder$1 as SortOrder, type Sorting$1 as Sorting, type index_d$2_Source as Source, State$1 as State, Status$2 as Status, type StudioAssigned$1 as StudioAssigned, type StudioUnassigned$1 as StudioUnassigned, type index_d$2_SyncApplicationAutomationsRequest as SyncApplicationAutomationsRequest, type index_d$2_SyncApplicationAutomationsResponse as SyncApplicationAutomationsResponse, type Target$1 as Target, TargetType$1 as TargetType, type Trigger$2 as Trigger, type TriggerConfigurationError$1 as TriggerConfigurationError, TriggerErrorType$1 as TriggerErrorType, type TriggerValidationError$1 as TriggerValidationError, type TriggerValidationErrorErrorOneOf$1 as TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType$1 as TriggerValidationErrorValidationErrorType, Type$2 as Type, type UnprocessedTargetEvent$1 as UnprocessedTargetEvent, type index_d$2_Until as Until, type index_d$2_UpdateApplicationAutomationConfigurationIdRequest as UpdateApplicationAutomationConfigurationIdRequest, type index_d$2_UpdateApplicationAutomationConfigurationIdResponse as UpdateApplicationAutomationConfigurationIdResponse, type index_d$2_UpdateApplicationAutomationToMigratedFromV1Request as UpdateApplicationAutomationToMigratedFromV1Request, type index_d$2_UpdateApplicationAutomationToMigratedFromV1Response as UpdateApplicationAutomationToMigratedFromV1Response, type UpdateAutomation$1 as UpdateAutomation, type UpdateAutomationRequest$1 as UpdateAutomationRequest, type UpdateAutomationResponse$1 as UpdateAutomationResponse, type UpdateAutomationResponseNonNullableFields$1 as UpdateAutomationResponseNonNullableFields, type index_d$2_UpdatedAutomationsWithEsb as UpdatedAutomationsWithEsb, type UpdatedWithPreviousEntity$1 as UpdatedWithPreviousEntity, type UpgradeCTA$1 as UpgradeCTA, type index_d$2_ValidateAutomationByIdOptions as ValidateAutomationByIdOptions, type index_d$2_ValidateAutomationByIdRequest as ValidateAutomationByIdRequest, type index_d$2_ValidateAutomationByIdResponse as ValidateAutomationByIdResponse, type index_d$2_ValidateAutomationByIdResponseNonNullableFields as ValidateAutomationByIdResponseNonNullableFields, type ValidateAutomationRequest$1 as ValidateAutomationRequest, type ValidateAutomationResponse$1 as ValidateAutomationResponse, type ValidateAutomationResponseNonNullableFields$1 as ValidateAutomationResponseNonNullableFields, ValidationErrorType$1 as ValidationErrorType, WebhookIdentityType$2 as WebhookIdentityType, createAutomation$1 as createAutomation, deleteAutomation$1 as deleteAutomation, getAutomation$1 as getAutomation, index_d$2_getAutomationActivationStats as getAutomationActivationStats, onAutomationCreated$1 as onAutomationCreated, onAutomationDeleted$1 as onAutomationDeleted, onAutomationDeletedWithEntity$1 as onAutomationDeletedWithEntity, onAutomationUpdated$1 as onAutomationUpdated, onAutomationUpdatedWithPreviousEntity$1 as onAutomationUpdatedWithPreviousEntity, index_d$2_overrideApplicationAutomation as overrideApplicationAutomation, queryAutomations$1 as queryAutomations, updateAutomation$1 as updateAutomation, validateAutomation$1 as validateAutomation, index_d$2_validateAutomationById as validateAutomationById };
1763
1672
  }
1764
1673
 
1765
1674
  interface Activation {
1766
1675
  /** Activation ID */
1767
1676
  _id?: string;
1768
1677
  /** Activation automation */
1769
- automation?: Automation;
1678
+ automation?: Automation$1;
1770
1679
  }
1771
1680
  /** Automation */
1772
- interface Automation extends AutomationOriginInfoOneOf {
1681
+ interface Automation$1 extends AutomationOriginInfoOneOf$1 {
1773
1682
  /** Application info */
1774
- applicationInfo?: ApplicationOrigin;
1683
+ applicationInfo?: ApplicationOrigin$1;
1775
1684
  /** Preinstalled info */
1776
- preinstalledInfo?: PreinstalledOrigin;
1685
+ preinstalledInfo?: PreinstalledOrigin$1;
1777
1686
  /**
1778
1687
  * Automation ID.
1779
1688
  * @readonly
@@ -1792,7 +1701,7 @@ interface Automation extends AutomationOriginInfoOneOf {
1792
1701
  * information about the creator of the automation
1793
1702
  * @readonly
1794
1703
  */
1795
- createdBy?: AuditInfo;
1704
+ createdBy?: AuditInfo$1;
1796
1705
  /**
1797
1706
  * Date and time the Automation was created.
1798
1707
  * @readonly
@@ -1802,7 +1711,7 @@ interface Automation extends AutomationOriginInfoOneOf {
1802
1711
  * information about who updated of the automation
1803
1712
  * @readonly
1804
1713
  */
1805
- updatedBy?: AuditInfo;
1714
+ updatedBy?: AuditInfo$1;
1806
1715
  /**
1807
1716
  * Date and time the Automation was last updated.
1808
1717
  * @readonly
@@ -1813,20 +1722,20 @@ interface Automation extends AutomationOriginInfoOneOf {
1813
1722
  /** Automation description */
1814
1723
  description?: string | null;
1815
1724
  /** Automation runtime configuration */
1816
- configuration?: AutomationConfiguration;
1725
+ configuration?: AutomationConfiguration$1;
1817
1726
  /** Origin type */
1818
- origin?: Origin;
1727
+ origin?: Origin$1;
1819
1728
  /** Automation settings */
1820
- settings?: AutomationSettings;
1729
+ settings?: AutomationSettings$1;
1821
1730
  }
1822
1731
  /** @oneof */
1823
- interface AutomationOriginInfoOneOf {
1732
+ interface AutomationOriginInfoOneOf$1 {
1824
1733
  /** Application info */
1825
- applicationInfo?: ApplicationOrigin;
1734
+ applicationInfo?: ApplicationOrigin$1;
1826
1735
  /** Preinstalled info */
1827
- preinstalledInfo?: PreinstalledOrigin;
1736
+ preinstalledInfo?: PreinstalledOrigin$1;
1828
1737
  }
1829
- interface ActionSettings {
1738
+ interface ActionSettings$1 {
1830
1739
  /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
1831
1740
  permanentActionIds?: string[];
1832
1741
  /** list of readonly action ids, (default - empty, all actions are editable by default) */
@@ -1836,25 +1745,25 @@ interface ActionSettings {
1836
1745
  /** sets if adding a condition action is disabled for this automation */
1837
1746
  disableConditionAddition?: boolean;
1838
1747
  }
1839
- interface AuditInfo extends AuditInfoIdOneOf {
1748
+ interface AuditInfo$1 extends AuditInfoIdOneOf$1 {
1840
1749
  /** user identifier */
1841
1750
  userId?: string;
1842
1751
  /** application identifier */
1843
1752
  appId?: string;
1844
1753
  }
1845
1754
  /** @oneof */
1846
- interface AuditInfoIdOneOf {
1755
+ interface AuditInfoIdOneOf$1 {
1847
1756
  /** user identifier */
1848
1757
  userId?: string;
1849
1758
  /** application identifier */
1850
1759
  appId?: string;
1851
1760
  }
1852
1761
  /** Automation runtime configuration */
1853
- interface AutomationConfiguration {
1762
+ interface AutomationConfiguration$1 {
1854
1763
  /** Automation's Status */
1855
1764
  status?: AutomationConfigurationStatus;
1856
1765
  /** Trigger configuration */
1857
- trigger?: Trigger;
1766
+ trigger?: Trigger$1;
1858
1767
  /** actions that run in parallel after the trigger */
1859
1768
  rootActionIds?: string[];
1860
1769
  /**
@@ -1863,15 +1772,15 @@ interface AutomationConfiguration {
1863
1772
  */
1864
1773
  actions?: Record<string, AutomationConfigurationAction>;
1865
1774
  }
1866
- declare enum TimeUnit {
1867
- UNDEFINED = "UNDEFINED",
1775
+ declare enum TimeUnit$1 {
1776
+ UNKNOWN_TIME_UNIT = "UNKNOWN_TIME_UNIT",
1868
1777
  MINUTES = "MINUTES",
1869
1778
  HOURS = "HOURS",
1870
1779
  DAYS = "DAYS",
1871
1780
  WEEKS = "WEEKS",
1872
1781
  MONTHS = "MONTHS"
1873
1782
  }
1874
- interface Filter {
1783
+ interface Filter$1 {
1875
1784
  /** the filter identifier */
1876
1785
  _id?: string;
1877
1786
  /** the field key from the schema, for example "formId" */
@@ -1879,7 +1788,7 @@ interface Filter {
1879
1788
  /** filter expression that evaluates to a boolean, for example - {{ contains(["guid1","guid2"];formId) }} */
1880
1789
  filterExpression?: string;
1881
1790
  }
1882
- interface FutureDateActivationOffset {
1791
+ interface FutureDateActivationOffset$1 {
1883
1792
  /**
1884
1793
  * expression of offset before the trigger's time (in selected time unit), when the Automation should run
1885
1794
  * only allows negative offset from the trigger's date (before the trigger), positive offset should be achieved via offset delay action
@@ -1888,23 +1797,42 @@ interface FutureDateActivationOffset {
1888
1797
  */
1889
1798
  preScheduledEventOffsetExpression?: string;
1890
1799
  /** Time unit for the scheduled event offset */
1891
- scheduledEventOffsetTimeUnit?: TimeUnit;
1800
+ scheduledEventOffsetTimeUnit?: TimeUnit$1;
1892
1801
  }
1893
- interface ConditionExpressionGroup {
1802
+ interface RateLimit$1 {
1803
+ /**
1804
+ * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
1805
+ * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
1806
+ */
1807
+ maxActivationsExpression?: string;
1808
+ /**
1809
+ * Duration of the rate limiting window (in selected time unit) expression for rate limiter, if empty then no time limit. the expression will need to be parsed to Int on runtime
1810
+ * for example - "{{ 10 }}" to set timeframe to be 10 minutes, or {{ var(someNumberField) }} to set timeframe in minutes as the value of "someNumberField" from the payload
1811
+ */
1812
+ durationExpression?: string | null;
1813
+ /** Time unit for the rate limit duration */
1814
+ durationTimeUnit?: TimeUnit$1;
1815
+ /**
1816
+ * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
1817
+ * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
1818
+ */
1819
+ uniqueIdentifierExpression?: string | null;
1820
+ }
1821
+ interface ConditionExpressionGroup$1 {
1894
1822
  /** expression group operator */
1895
- operator?: Operator;
1823
+ operator?: Operator$1;
1896
1824
  /**
1897
1825
  * list of boolean expressions to be evaluated with the given operator
1898
1826
  * examples - {{ true }}, {{ someBooleanField }}, {{ contains(["guid1...","guid2..."];formId) }}
1899
1827
  */
1900
1828
  booleanExpressions?: string[];
1901
1829
  }
1902
- declare enum Operator {
1830
+ declare enum Operator$1 {
1903
1831
  UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR",
1904
1832
  OR = "OR",
1905
1833
  AND = "AND"
1906
1834
  }
1907
- declare enum Type {
1835
+ declare enum Type$1 {
1908
1836
  /** Automation will be triggered according to the trigger configuration */
1909
1837
  UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
1910
1838
  /** App defined Action */
@@ -1918,7 +1846,7 @@ declare enum Type {
1918
1846
  /** Output Action */
1919
1847
  OUTPUT = "OUTPUT"
1920
1848
  }
1921
- interface AppDefinedAction {
1849
+ interface AppDefinedAction$1 {
1922
1850
  /** Action app id */
1923
1851
  appId?: string;
1924
1852
  /** Action key */
@@ -1937,22 +1865,22 @@ interface AppDefinedAction {
1937
1865
  * the action will be skipped if either of the expression groups evaluate to `true`
1938
1866
  * the relation between the expression groups is an OR relation.
1939
1867
  */
1940
- skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
1868
+ skipConditionOrExpressionGroups?: ConditionExpressionGroup$1[];
1941
1869
  /** actions to run in parallel after this action finishes */
1942
1870
  postActionIds?: string[];
1943
1871
  }
1944
- interface ConditionAction {
1872
+ interface ConditionAction$1 {
1945
1873
  /**
1946
1874
  * the condition evaluates to `true` if either of the expression groups evaluate to `true`
1947
1875
  * the relation between the expression groups is an OR relation.
1948
1876
  */
1949
- orExpressionGroups?: ConditionExpressionGroup[];
1877
+ orExpressionGroups?: ConditionExpressionGroup$1[];
1950
1878
  /** actions to run when the entire condition is evaluated to `true` */
1951
1879
  truePostActionIds?: string[];
1952
1880
  /** actions to run when the entire condition is evaluated to `false` */
1953
1881
  falsePostActionIds?: string[];
1954
1882
  }
1955
- interface DelayAction {
1883
+ interface DelayAction$1 {
1956
1884
  /**
1957
1885
  * optional - expression for amount of time to wait (in selected time unit) - from a specific date or from the time the action is executed
1958
1886
  * offsetExpression: "{{5}}" + timeUnit: Days - to wait for 5 days from the time the delay was invoked
@@ -1961,7 +1889,7 @@ interface DelayAction {
1961
1889
  */
1962
1890
  offsetExpression?: string | null;
1963
1891
  /** Time unit for delay offset */
1964
- offsetTimeUnit?: TimeUnit;
1892
+ offsetTimeUnit?: TimeUnit$1;
1965
1893
  /**
1966
1894
  * optional - expression of the due date to wait until, if an offset was defined, it will be calculated from this date
1967
1895
  * number of milliseconds since the Unix Epoch (1 January, 1970 UTC)
@@ -1971,7 +1899,7 @@ interface DelayAction {
1971
1899
  /** actions to run in parallel after this action finishes */
1972
1900
  postActionIds?: string[];
1973
1901
  }
1974
- interface RateLimitAction {
1902
+ interface RateLimitAction$1 {
1975
1903
  /**
1976
1904
  * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
1977
1905
  * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
@@ -1983,7 +1911,7 @@ interface RateLimitAction {
1983
1911
  */
1984
1912
  rateLimitDurationExpression?: string | null;
1985
1913
  /** Time unit for the rate limit duration */
1986
- rateLimitDurationTimeUnit?: TimeUnit;
1914
+ rateLimitDurationTimeUnit?: TimeUnit$1;
1987
1915
  /**
1988
1916
  * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
1989
1917
  * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
@@ -1992,7 +1920,7 @@ interface RateLimitAction {
1992
1920
  /** actions to run in parallel after this action finishes */
1993
1921
  postActionIds?: string[];
1994
1922
  }
1995
- interface OutputAction {
1923
+ interface OutputAction$1 {
1996
1924
  /**
1997
1925
  * Output action output mapping
1998
1926
  * {
@@ -2009,7 +1937,7 @@ declare enum AutomationConfigurationStatus {
2009
1937
  /** Automation will not be triggered */
2010
1938
  INACTIVE = "INACTIVE"
2011
1939
  }
2012
- interface Trigger {
1940
+ interface Trigger$1 {
2013
1941
  /** Trigger Application id */
2014
1942
  appId?: string;
2015
1943
  /** Trigger key */
@@ -2019,23 +1947,25 @@ interface Trigger {
2019
1947
  * the relation between the filter expressions is an AND relation.
2020
1948
  * all filter expressions must be evaluated to `true` for a given payload in order for the automation to be executed
2021
1949
  */
2022
- filters?: Filter[];
1950
+ filters?: Filter$1[];
2023
1951
  /** optional - future date trigger activation offset */
2024
- scheduledEventOffset?: FutureDateActivationOffset;
1952
+ scheduledEventOffset?: FutureDateActivationOffset$1;
1953
+ /** optional - rate limiting configuration */
1954
+ rateLimit?: RateLimit$1;
2025
1955
  }
2026
1956
  interface AutomationConfigurationAction extends AutomationConfigurationActionInfoOneOf {
2027
1957
  /** App defined Action (via RPC, HTTP or Velo) */
2028
- appDefinedInfo?: AppDefinedAction;
1958
+ appDefinedInfo?: AppDefinedAction$1;
2029
1959
  /** Condition action */
2030
- conditionInfo?: ConditionAction;
1960
+ conditionInfo?: ConditionAction$1;
2031
1961
  /** Delay action */
2032
- delayInfo?: DelayAction;
1962
+ delayInfo?: DelayAction$1;
2033
1963
  /** Rate limiting action */
2034
- rateLimitInfo?: RateLimitAction;
1964
+ rateLimitInfo?: RateLimitAction$1;
2035
1965
  /** Action id, if not specified, will be generated */
2036
1966
  _id?: string | null;
2037
1967
  /** Type of the action */
2038
- type?: Type;
1968
+ type?: Type$1;
2039
1969
  /**
2040
1970
  * Human readable name for the action (may only contain alphanumeric characters and underscores) to differentiate from other actions of the same kind.
2041
1971
  * if the action has output, the output will be available in the payload under this name, otherwise it will be concatenated to the payload as is
@@ -2084,15 +2014,15 @@ interface AutomationConfigurationAction extends AutomationConfigurationActionInf
2084
2014
  /** @oneof */
2085
2015
  interface AutomationConfigurationActionInfoOneOf {
2086
2016
  /** App defined Action (via RPC, HTTP or Velo) */
2087
- appDefinedInfo?: AppDefinedAction;
2017
+ appDefinedInfo?: AppDefinedAction$1;
2088
2018
  /** Condition action */
2089
- conditionInfo?: ConditionAction;
2019
+ conditionInfo?: ConditionAction$1;
2090
2020
  /** Delay action */
2091
- delayInfo?: DelayAction;
2021
+ delayInfo?: DelayAction$1;
2092
2022
  /** Rate limiting action */
2093
- rateLimitInfo?: RateLimitAction;
2023
+ rateLimitInfo?: RateLimitAction$1;
2094
2024
  }
2095
- declare enum Origin {
2025
+ declare enum Origin$1 {
2096
2026
  /** default value. this is unused */
2097
2027
  UNKNOWN_ORIGIN = "UNKNOWN_ORIGIN",
2098
2028
  /** user created automation */
@@ -2102,11 +2032,11 @@ declare enum Origin {
2102
2032
  /** preinstalled application automation */
2103
2033
  PREINSTALLED = "PREINSTALLED"
2104
2034
  }
2105
- interface ApplicationOrigin {
2035
+ interface ApplicationOrigin$1 {
2106
2036
  /** identifier for the application */
2107
2037
  appId?: string;
2108
2038
  }
2109
- interface PreinstalledOrigin {
2039
+ interface PreinstalledOrigin$1 {
2110
2040
  /** identifier for the application */
2111
2041
  appId?: string;
2112
2042
  /** application component ID */
@@ -2119,7 +2049,7 @@ interface PreinstalledOrigin {
2119
2049
  */
2120
2050
  override?: boolean | null;
2121
2051
  }
2122
- interface AutomationSettings {
2052
+ interface AutomationSettings$1 {
2123
2053
  /** sets if the automation is hidden from users */
2124
2054
  hidden?: boolean;
2125
2055
  /** sets if the automation is readonly */
@@ -2129,7 +2059,7 @@ interface AutomationSettings {
2129
2059
  /** sets if changing the automation status is disabled (from active to inactive and vice versa) */
2130
2060
  disableStatusChange?: boolean;
2131
2061
  /** Automation's action settings */
2132
- actionSettings?: ActionSettings;
2062
+ actionSettings?: ActionSettings$1;
2133
2063
  }
2134
2064
  interface ActivationStatus {
2135
2065
  /** Activation's ID. */
@@ -2139,11 +2069,11 @@ interface ActivationStatus {
2139
2069
  /** Configuration's Correlation ID. */
2140
2070
  configurationCorrelationId?: string;
2141
2071
  /** Activation's status. */
2142
- status?: Status;
2072
+ status?: Status$1;
2143
2073
  /** Activation's error reason (if there is one). */
2144
2074
  errorReason?: string | null;
2145
2075
  }
2146
- declare enum Status {
2076
+ declare enum Status$1 {
2147
2077
  UNKNOWN_STATUS = "UNKNOWN_STATUS",
2148
2078
  STARTED = "STARTED",
2149
2079
  ENDED = "ENDED",
@@ -2254,6 +2184,44 @@ interface ActivationStatusChangedFailedStatusInfo {
2254
2184
  */
2255
2185
  errorCode?: string | null;
2256
2186
  }
2187
+ interface UnprocessedTargetEvent {
2188
+ /** The target that was not marked as processed */
2189
+ target?: InternalTarget;
2190
+ }
2191
+ interface InternalTarget {
2192
+ /** Unique identifier of the target with pattern `id_tag_value[type]`, for example 'com.wixpress.myproto[wix_proto_bundle_export]`` */
2193
+ _id?: string | null;
2194
+ /** The unique location of the target in Bazel notation i.e @repo//path/to/target:target_name */
2195
+ location?: string | null;
2196
+ /** The combined digest of all files within the target */
2197
+ combinedDigest?: string | null;
2198
+ /** The vcs commit timestamp of the target in milliseconds */
2199
+ commitTimestamp?: string | null;
2200
+ /** The type of the target */
2201
+ type?: TargetType;
2202
+ /**
2203
+ * The target's id tag value in Bazel, uniquness is not guaranteed
2204
+ * i.e for a tag "businessSchemaIndexerId=com.wixpress.myproto" the value is "com.wixpress.myproto"
2205
+ */
2206
+ idTagValue?: string | null;
2207
+ files?: File[];
2208
+ }
2209
+ declare enum TargetType {
2210
+ NONE = "NONE",
2211
+ WIX_PROTO_BUNDLE_EXPORT = "WIX_PROTO_BUNDLE_EXPORT",
2212
+ WIX_APPENDIX_BUNDLE_EXPORT = "WIX_APPENDIX_BUNDLE_EXPORT",
2213
+ WIX_API_REGISTRY_INFO_EXPORT = "WIX_API_REGISTRY_INFO_EXPORT"
2214
+ }
2215
+ interface File {
2216
+ /** The name of the file including path relative to its source repo, i.e src/main/java/com/wixpress/MyClass.java */
2217
+ name?: string | null;
2218
+ /** The URI of the file */
2219
+ uri?: string | null;
2220
+ /** The digest of the file */
2221
+ digest?: string | null;
2222
+ /** The size of the file in bytes */
2223
+ sizeInBytes?: string | null;
2224
+ }
2257
2225
  interface ScheduleRequest {
2258
2226
  schedule?: Schedule;
2259
2227
  }
@@ -2277,7 +2245,7 @@ interface Schedule {
2277
2245
  _updatedDate?: Date;
2278
2246
  overrideable?: boolean | null;
2279
2247
  triggerInfo?: TriggerInfo;
2280
- automation?: Automation;
2248
+ automation?: Automation$1;
2281
2249
  }
2282
2250
  interface ScheduledAction {
2283
2251
  /** Action's id. */
@@ -2352,11 +2320,11 @@ interface UpdatePendingSchedulesPayloadRequest {
2352
2320
  }
2353
2321
  interface UpdatePendingSchedulesPayloadResponse {
2354
2322
  }
2355
- interface DomainEvent extends DomainEventBodyOneOf {
2356
- createdEvent?: EntityCreatedEvent;
2357
- updatedEvent?: EntityUpdatedEvent;
2358
- deletedEvent?: EntityDeletedEvent;
2359
- actionEvent?: ActionEvent;
2323
+ interface DomainEvent$1 extends DomainEventBodyOneOf$1 {
2324
+ createdEvent?: EntityCreatedEvent$1;
2325
+ updatedEvent?: EntityUpdatedEvent$1;
2326
+ deletedEvent?: EntityDeletedEvent$1;
2327
+ actionEvent?: ActionEvent$1;
2360
2328
  /**
2361
2329
  * Unique event ID.
2362
2330
  * Allows clients to ignore duplicate webhooks.
@@ -2375,7 +2343,7 @@ interface DomainEvent extends DomainEventBodyOneOf {
2375
2343
  slug?: string;
2376
2344
  /** ID of the entity associated with the event. */
2377
2345
  entityId?: string;
2378
- /** Event timestamp. */
2346
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
2379
2347
  eventTime?: Date;
2380
2348
  /**
2381
2349
  * Whether the event was triggered as a result of a privacy regulation application
@@ -2395,19 +2363,19 @@ interface DomainEvent extends DomainEventBodyOneOf {
2395
2363
  entityEventSequence?: string | null;
2396
2364
  }
2397
2365
  /** @oneof */
2398
- interface DomainEventBodyOneOf {
2399
- createdEvent?: EntityCreatedEvent;
2400
- updatedEvent?: EntityUpdatedEvent;
2401
- deletedEvent?: EntityDeletedEvent;
2402
- actionEvent?: ActionEvent;
2366
+ interface DomainEventBodyOneOf$1 {
2367
+ createdEvent?: EntityCreatedEvent$1;
2368
+ updatedEvent?: EntityUpdatedEvent$1;
2369
+ deletedEvent?: EntityDeletedEvent$1;
2370
+ actionEvent?: ActionEvent$1;
2403
2371
  }
2404
- interface EntityCreatedEvent {
2372
+ interface EntityCreatedEvent$1 {
2405
2373
  entity?: string;
2406
2374
  }
2407
- interface UndeleteInfo {
2375
+ interface RestoreInfo$1 {
2408
2376
  deletedDate?: Date;
2409
2377
  }
2410
- interface EntityUpdatedEvent {
2378
+ interface EntityUpdatedEvent$1 {
2411
2379
  /**
2412
2380
  * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
2413
2381
  * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
@@ -2415,24 +2383,24 @@ interface EntityUpdatedEvent {
2415
2383
  */
2416
2384
  currentEntity?: string;
2417
2385
  }
2418
- interface EntityDeletedEvent {
2386
+ interface EntityDeletedEvent$1 {
2419
2387
  /** Entity that was deleted */
2420
2388
  deletedEntity?: string | null;
2421
2389
  }
2422
- interface ActionEvent {
2390
+ interface ActionEvent$1 {
2423
2391
  body?: string;
2424
2392
  }
2425
- interface MessageEnvelope {
2393
+ interface MessageEnvelope$1 {
2426
2394
  /** App instance ID. */
2427
2395
  instanceId?: string | null;
2428
2396
  /** Event type. */
2429
2397
  eventType?: string;
2430
2398
  /** The identification type and identity data. */
2431
- identity?: IdentificationData;
2399
+ identity?: IdentificationData$1;
2432
2400
  /** Stringify payload. */
2433
2401
  data?: string;
2434
2402
  }
2435
- interface IdentificationData extends IdentificationDataIdOneOf {
2403
+ interface IdentificationData$1 extends IdentificationDataIdOneOf$1 {
2436
2404
  /** ID of a site visitor that has not logged in to the site. */
2437
2405
  anonymousVisitorId?: string;
2438
2406
  /** ID of a site visitor that has logged in to the site. */
@@ -2442,10 +2410,10 @@ interface IdentificationData extends IdentificationDataIdOneOf {
2442
2410
  /** ID of an app. */
2443
2411
  appId?: string;
2444
2412
  /** @readonly */
2445
- identityType?: WebhookIdentityType;
2413
+ identityType?: WebhookIdentityType$1;
2446
2414
  }
2447
2415
  /** @oneof */
2448
- interface IdentificationDataIdOneOf {
2416
+ interface IdentificationDataIdOneOf$1 {
2449
2417
  /** ID of a site visitor that has not logged in to the site. */
2450
2418
  anonymousVisitorId?: string;
2451
2419
  /** ID of a site visitor that has logged in to the site. */
@@ -2455,7 +2423,7 @@ interface IdentificationDataIdOneOf {
2455
2423
  /** ID of an app. */
2456
2424
  appId?: string;
2457
2425
  }
2458
- declare enum WebhookIdentityType {
2426
+ declare enum WebhookIdentityType$1 {
2459
2427
  UNKNOWN = "UNKNOWN",
2460
2428
  ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
2461
2429
  MEMBER = "MEMBER",
@@ -2483,7 +2451,7 @@ interface ActivationRequest {
2483
2451
  /** Actions tree */
2484
2452
  actionsMap?: ActionsData;
2485
2453
  /** Automation V2. Used for reporting domain event until activation request will be deprecated. */
2486
- automation?: Automation;
2454
+ automation?: Automation$1;
2487
2455
  /** Trigger entity for the activation, available for v2 and v3 automations only */
2488
2456
  triggerSchema?: Record<string, any> | null;
2489
2457
  }
@@ -2501,9 +2469,9 @@ interface ActionData {
2501
2469
  */
2502
2470
  _id?: string | null;
2503
2471
  /** Action's data. */
2504
- action?: Action;
2472
+ action?: Action$1;
2505
2473
  }
2506
- interface Action extends ActionActionOneOf {
2474
+ interface Action$1 extends ActionActionOneOf {
2507
2475
  service?: Service;
2508
2476
  systemHelper?: SystemHelper;
2509
2477
  spiAction?: SpiAction;
@@ -2671,7 +2639,7 @@ interface ActionsData {
2671
2639
  /** Ids of the first level actions. */
2672
2640
  rootActionIds?: string[];
2673
2641
  /** Map of action id to action data. */
2674
- actions?: Record<string, Action>;
2642
+ actions?: Record<string, Action$1>;
2675
2643
  }
2676
2644
  interface ActionStatus {
2677
2645
  /** Action's status. */
@@ -2681,7 +2649,7 @@ interface ActionStatus {
2681
2649
  /** Action's name. */
2682
2650
  actionName?: string | null;
2683
2651
  /** Action's status. */
2684
- status?: Status;
2652
+ status?: Status$1;
2685
2653
  /** Action's error reason (if there is one). */
2686
2654
  errorReason?: string | null;
2687
2655
  /** Activation external id. */
@@ -2697,7 +2665,7 @@ interface BatchActivationRequest {
2697
2665
  /** List of Activation-Request. */
2698
2666
  activationRequests?: ActivationRequest[];
2699
2667
  }
2700
- interface Empty {
2668
+ interface Empty$1 {
2701
2669
  }
2702
2670
  interface ActivationActionStatusChanged extends ActivationActionStatusChangedStatusInfoOneOf {
2703
2671
  /** Started status information */
@@ -2713,7 +2681,7 @@ interface ActivationActionStatusChanged extends ActivationActionStatusChangedSta
2713
2681
  /** Automation info */
2714
2682
  automationInfo?: AutomationInfo;
2715
2683
  /** Action type */
2716
- type?: Type;
2684
+ type?: Type$1;
2717
2685
  /** Event date */
2718
2686
  statusChangedDate?: Date;
2719
2687
  /** Action activation status */
@@ -2758,20 +2726,20 @@ interface RateLimitActionInfo {
2758
2726
  }
2759
2727
  interface AutomationInfo extends AutomationInfoOriginInfoOneOf {
2760
2728
  /** Application info */
2761
- applicationInfo?: ApplicationOrigin;
2729
+ applicationInfo?: ApplicationOrigin$1;
2762
2730
  /** Preinstalled info */
2763
- preinstalledInfo?: PreinstalledOrigin;
2731
+ preinstalledInfo?: PreinstalledOrigin$1;
2764
2732
  /** Automation ID */
2765
2733
  _id?: string;
2766
2734
  /** Origin type */
2767
- origin?: Origin;
2735
+ origin?: Origin$1;
2768
2736
  }
2769
2737
  /** @oneof */
2770
2738
  interface AutomationInfoOriginInfoOneOf {
2771
2739
  /** Application info */
2772
- applicationInfo?: ApplicationOrigin;
2740
+ applicationInfo?: ApplicationOrigin$1;
2773
2741
  /** Preinstalled info */
2774
- preinstalledInfo?: PreinstalledOrigin;
2742
+ preinstalledInfo?: PreinstalledOrigin$1;
2775
2743
  }
2776
2744
  declare enum ActivationActionStatusChangedStatus {
2777
2745
  UNKNOWN_ACTION_ACTIVATION_STATUS = "UNKNOWN_ACTION_ACTIVATION_STATUS",
@@ -2842,7 +2810,7 @@ interface ActivationResumeAfterDelay {
2842
2810
  /** Activation payload */
2843
2811
  payload?: Record<string, any> | null;
2844
2812
  /** Activation Automation */
2845
- automation?: Automation;
2813
+ automation?: Automation$1;
2846
2814
  /** Scheduled action identifier - with the intent to execute that action's post actions */
2847
2815
  scheduledActionId?: string;
2848
2816
  /** Optional - external entity id that this activation is related to */
@@ -2894,7 +2862,7 @@ interface ActivationScheduleRequested {
2894
2862
  /** Activation payload */
2895
2863
  payload?: Record<string, any> | null;
2896
2864
  /** Activation Automation */
2897
- automation?: Automation;
2865
+ automation?: Automation$1;
2898
2866
  /** Optional - external entity id that this activation is related to */
2899
2867
  externalEntityId?: string | null;
2900
2868
  }
@@ -2902,7 +2870,7 @@ interface ActivationContinuedAfterSchedule {
2902
2870
  /** Activation identifier */
2903
2871
  _id?: string;
2904
2872
  /** Activation Automation */
2905
- automation?: Automation;
2873
+ automation?: Automation$1;
2906
2874
  }
2907
2875
  interface ReportEventRequest {
2908
2876
  /**
@@ -2987,17 +2955,17 @@ interface BulkReportEventResponse {
2987
2955
  /** List of results for each item in the bulk report event request */
2988
2956
  results?: BulkReportEventResult[];
2989
2957
  /** Metadata for the overall bulk action, including success and failure counts */
2990
- bulkActionMetadata?: BulkActionMetadata;
2958
+ bulkActionMetadata?: BulkActionMetadata$1;
2991
2959
  }
2992
2960
  interface BulkReportEventResult {
2993
2961
  /** Metadata for the individual item in the request */
2994
- itemMetadata?: ItemMetadata;
2962
+ itemMetadata?: ItemMetadata$1;
2995
2963
  /** Event details for the item in the request */
2996
2964
  eventInfo?: EventInfo;
2997
2965
  /** The activation IDs of triggered ReportEvents. */
2998
2966
  activationIds?: string[];
2999
2967
  }
3000
- interface ItemMetadata {
2968
+ interface ItemMetadata$1 {
3001
2969
  /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
3002
2970
  _id?: string | null;
3003
2971
  /** Index of the item within the request array. Allows for correlation between request and response items. */
@@ -3005,9 +2973,9 @@ interface ItemMetadata {
3005
2973
  /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
3006
2974
  success?: boolean;
3007
2975
  /** Details about the error in case of failure. */
3008
- error?: ApplicationError;
2976
+ error?: ApplicationError$1;
3009
2977
  }
3010
- interface ApplicationError {
2978
+ interface ApplicationError$1 {
3011
2979
  /** Error code. */
3012
2980
  code?: string;
3013
2981
  /** Description of the error. */
@@ -3015,7 +2983,7 @@ interface ApplicationError {
3015
2983
  /** Data related to the error. */
3016
2984
  data?: Record<string, any> | null;
3017
2985
  }
3018
- interface BulkActionMetadata {
2986
+ interface BulkActionMetadata$1 {
3019
2987
  /** Number of items that were successfully processed. */
3020
2988
  totalSuccesses?: number;
3021
2989
  /** Number of items that couldn't be processed. */
@@ -3038,11 +3006,11 @@ interface BulkCancelEventResponse {
3038
3006
  /** List of results for each item in the bulk cancel event request */
3039
3007
  results?: BulkCancelEventResult[];
3040
3008
  /** Metadata for the overall bulk action, including success and failure counts */
3041
- bulkActionMetadata?: BulkActionMetadata;
3009
+ bulkActionMetadata?: BulkActionMetadata$1;
3042
3010
  }
3043
3011
  interface BulkCancelEventResult {
3044
3012
  /** Metadata of the item, including its ID and success or failure status */
3045
- itemMetadata?: ItemMetadata;
3013
+ itemMetadata?: ItemMetadata$1;
3046
3014
  /** ID of the related resource in GUID format */
3047
3015
  externalEntityId?: string;
3048
3016
  }
@@ -3136,7 +3104,7 @@ interface ExecuteFromActionRequest {
3136
3104
  /** Optional - an external entity id that this execution is related to */
3137
3105
  externalEntityId?: string | null;
3138
3106
  /** Optional - Activation automation */
3139
- automation?: Automation;
3107
+ automation?: Automation$1;
3140
3108
  }
3141
3109
  interface ExecuteFromActionResponse {
3142
3110
  }
@@ -3150,7 +3118,7 @@ interface ActivationScheduleCompleted {
3150
3118
  /** Activation payload */
3151
3119
  payload?: Record<string, any> | null;
3152
3120
  /** Activation Automation */
3153
- automation?: Automation;
3121
+ automation?: Automation$1;
3154
3122
  /** Optional - external entity id that this activation is related to */
3155
3123
  externalEntityId?: string | null;
3156
3124
  }
@@ -3196,15 +3164,15 @@ interface BulkCancelEventResponseNonNullableFields {
3196
3164
  results: BulkCancelEventResultNonNullableFields[];
3197
3165
  bulkActionMetadata?: BulkActionMetadataNonNullableFields;
3198
3166
  }
3199
- interface BaseEventMetadata {
3167
+ interface BaseEventMetadata$1 {
3200
3168
  /** App instance ID. */
3201
3169
  instanceId?: string | null;
3202
3170
  /** Event type. */
3203
3171
  eventType?: string;
3204
3172
  /** The identification type and identity data. */
3205
- identity?: IdentificationData;
3173
+ identity?: IdentificationData$1;
3206
3174
  }
3207
- interface EventMetadata extends BaseEventMetadata {
3175
+ interface EventMetadata$1 extends BaseEventMetadata$1 {
3208
3176
  /**
3209
3177
  * Unique event ID.
3210
3178
  * Allows clients to ignore duplicate webhooks.
@@ -3223,7 +3191,7 @@ interface EventMetadata extends BaseEventMetadata {
3223
3191
  slug?: string;
3224
3192
  /** ID of the entity associated with the event. */
3225
3193
  entityId?: string;
3226
- /** Event timestamp. */
3194
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3227
3195
  eventTime?: Date;
3228
3196
  /**
3229
3197
  * Whether the event was triggered as a result of a privacy regulation application
@@ -3244,7 +3212,7 @@ interface EventMetadata extends BaseEventMetadata {
3244
3212
  }
3245
3213
  interface ActivationStatusChangedEnvelope {
3246
3214
  data: ActivationStatusChanged;
3247
- metadata: EventMetadata;
3215
+ metadata: EventMetadata$1;
3248
3216
  }
3249
3217
  interface ReportEventOptions {
3250
3218
  /**
@@ -3281,205 +3249,1789 @@ interface ReportEventOptions {
3281
3249
  /** Idempotency information for the event */
3282
3250
  idempotency?: Idempotency;
3283
3251
  }
3284
- interface BulkReportEventOptions {
3285
- /** Repeated list of event details for bulk reporting */
3286
- eventsInfo: EventInfo[];
3287
- }
3288
- interface BulkCancelEventOptions {
3289
- /** Repeated list of external_entity_id, representing the related resources' IDs */
3290
- externalEntityIds: string[];
3252
+
3253
+ declare function createRESTModule$1<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3254
+
3255
+ declare function createEventModule$1<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3256
+
3257
+ declare const reportEvent: ReturnType<typeof createRESTModule$1<typeof publicReportEvent>>;
3258
+ declare const bulkReportEvent: ReturnType<typeof createRESTModule$1<typeof publicBulkReportEvent>>;
3259
+ declare const bulkCancelEvent: ReturnType<typeof createRESTModule$1<typeof publicBulkCancelEvent>>;
3260
+ declare const cancelEvent: ReturnType<typeof createRESTModule$1<typeof publicCancelEvent>>;
3261
+ declare const onActivationStatusChanged: ReturnType<typeof createEventModule$1<typeof publicOnActivationStatusChanged>>;
3262
+
3263
+ type index_d$1_ActionActionOneOf = ActionActionOneOf;
3264
+ type index_d$1_ActionCompletedRequest = ActionCompletedRequest;
3265
+ type index_d$1_ActionData = ActionData;
3266
+ type index_d$1_ActionStatus = ActionStatus;
3267
+ type index_d$1_ActionsData = ActionsData;
3268
+ type index_d$1_Activation = Activation;
3269
+ type index_d$1_ActivationActionStatusChanged = ActivationActionStatusChanged;
3270
+ type index_d$1_ActivationActionStatusChangedStatus = ActivationActionStatusChangedStatus;
3271
+ declare const index_d$1_ActivationActionStatusChangedStatus: typeof ActivationActionStatusChangedStatus;
3272
+ type index_d$1_ActivationActionStatusChangedStatusInfoOneOf = ActivationActionStatusChangedStatusInfoOneOf;
3273
+ type index_d$1_ActivationContinuedAfterSchedule = ActivationContinuedAfterSchedule;
3274
+ type index_d$1_ActivationRequest = ActivationRequest;
3275
+ type index_d$1_ActivationResumeAfterDelay = ActivationResumeAfterDelay;
3276
+ type index_d$1_ActivationScheduleCompleted = ActivationScheduleCompleted;
3277
+ type index_d$1_ActivationScheduleRequested = ActivationScheduleRequested;
3278
+ type index_d$1_ActivationSource = ActivationSource;
3279
+ type index_d$1_ActivationSourceOfOneOf = ActivationSourceOfOneOf;
3280
+ type index_d$1_ActivationStatus = ActivationStatus;
3281
+ type index_d$1_ActivationStatusChanged = ActivationStatusChanged;
3282
+ type index_d$1_ActivationStatusChangedEnvelope = ActivationStatusChangedEnvelope;
3283
+ type index_d$1_ActivationStatusChangedFailedStatusInfo = ActivationStatusChangedFailedStatusInfo;
3284
+ type index_d$1_ActivationStatusChangedStatus = ActivationStatusChangedStatus;
3285
+ declare const index_d$1_ActivationStatusChangedStatus: typeof ActivationStatusChangedStatus;
3286
+ type index_d$1_ActivationStatusChangedStatusInfoOneOf = ActivationStatusChangedStatusInfoOneOf;
3287
+ type index_d$1_AppDefinedActionInfo = AppDefinedActionInfo;
3288
+ type index_d$1_AsyncAction = AsyncAction;
3289
+ type index_d$1_AutomationConfigurationAction = AutomationConfigurationAction;
3290
+ type index_d$1_AutomationConfigurationActionInfoOneOf = AutomationConfigurationActionInfoOneOf;
3291
+ type index_d$1_AutomationConfigurationStatus = AutomationConfigurationStatus;
3292
+ declare const index_d$1_AutomationConfigurationStatus: typeof AutomationConfigurationStatus;
3293
+ type index_d$1_AutomationIdentifier = AutomationIdentifier;
3294
+ type index_d$1_AutomationInfo = AutomationInfo;
3295
+ type index_d$1_AutomationInfoOriginInfoOneOf = AutomationInfoOriginInfoOneOf;
3296
+ type index_d$1_BatchActivationRequest = BatchActivationRequest;
3297
+ type index_d$1_BlockType = BlockType;
3298
+ declare const index_d$1_BlockType: typeof BlockType;
3299
+ type index_d$1_BulkCancelEventRequest = BulkCancelEventRequest;
3300
+ type index_d$1_BulkCancelEventResponse = BulkCancelEventResponse;
3301
+ type index_d$1_BulkCancelEventResponseNonNullableFields = BulkCancelEventResponseNonNullableFields;
3302
+ type index_d$1_BulkCancelEventResult = BulkCancelEventResult;
3303
+ type index_d$1_BulkReportEventRequest = BulkReportEventRequest;
3304
+ type index_d$1_BulkReportEventResponse = BulkReportEventResponse;
3305
+ type index_d$1_BulkReportEventResponseNonNullableFields = BulkReportEventResponseNonNullableFields;
3306
+ type index_d$1_BulkReportEventResult = BulkReportEventResult;
3307
+ type index_d$1_CancelEventRequest = CancelEventRequest;
3308
+ type index_d$1_CancelEventResponse = CancelEventResponse;
3309
+ type index_d$1_CancelPendingScheduleRequest = CancelPendingScheduleRequest;
3310
+ type index_d$1_CancelPendingScheduleRequestByOneOf = CancelPendingScheduleRequestByOneOf;
3311
+ type index_d$1_CancelPendingScheduleResponse = CancelPendingScheduleResponse;
3312
+ type index_d$1_CancellationReason = CancellationReason;
3313
+ declare const index_d$1_CancellationReason: typeof CancellationReason;
3314
+ type index_d$1_CancelledStatusInfo = CancelledStatusInfo;
3315
+ type index_d$1_Case = Case;
3316
+ type index_d$1_ConditionActionInfo = ConditionActionInfo;
3317
+ type index_d$1_ConditionBlock = ConditionBlock;
3318
+ type index_d$1_ConditionFilter = ConditionFilter;
3319
+ type index_d$1_Delay = Delay;
3320
+ type index_d$1_DelayActionInfo = DelayActionInfo;
3321
+ type index_d$1_DelayHelper = DelayHelper;
3322
+ type index_d$1_DelayOfOneOf = DelayOfOneOf;
3323
+ type index_d$1_EndedStatusInfo = EndedStatusInfo;
3324
+ type index_d$1_EndedStatusInfoTypeInfoOneOf = EndedStatusInfoTypeInfoOneOf;
3325
+ type index_d$1_EventInfo = EventInfo;
3326
+ type index_d$1_ExecuteFromActionRequest = ExecuteFromActionRequest;
3327
+ type index_d$1_ExecuteFromActionResponse = ExecuteFromActionResponse;
3328
+ type index_d$1_ExpressionEvaluationResult = ExpressionEvaluationResult;
3329
+ type index_d$1_FailedStatusInfo = FailedStatusInfo;
3330
+ type index_d$1_File = File;
3331
+ type index_d$1_Idempotency = Idempotency;
3332
+ type index_d$1_IdentifierType = IdentifierType;
3333
+ declare const index_d$1_IdentifierType: typeof IdentifierType;
3334
+ type index_d$1_Identity = Identity;
3335
+ type index_d$1_IfFilter = IfFilter;
3336
+ type index_d$1_InitiatedStatusInfo = InitiatedStatusInfo;
3337
+ type index_d$1_InternalTarget = InternalTarget;
3338
+ type index_d$1_Output = Output;
3339
+ type index_d$1_PreinstalledIdentifier = PreinstalledIdentifier;
3340
+ type index_d$1_RateLimitActionInfo = RateLimitActionInfo;
3341
+ type index_d$1_RateLimiting = RateLimiting;
3342
+ type index_d$1_RefreshPayloadRequest = RefreshPayloadRequest;
3343
+ type index_d$1_RefreshPayloadResponse = RefreshPayloadResponse;
3344
+ type index_d$1_ReportDomainEventRequest = ReportDomainEventRequest;
3345
+ type index_d$1_ReportDomainEventResponse = ReportDomainEventResponse;
3346
+ type index_d$1_ReportEventOptions = ReportEventOptions;
3347
+ type index_d$1_ReportEventRequest = ReportEventRequest;
3348
+ type index_d$1_ReportEventResponse = ReportEventResponse;
3349
+ type index_d$1_ReportEventResponseNonNullableFields = ReportEventResponseNonNullableFields;
3350
+ type index_d$1_RunAutomationRequest = RunAutomationRequest;
3351
+ type index_d$1_RunAutomationResponse = RunAutomationResponse;
3352
+ type index_d$1_Runtime = Runtime;
3353
+ type index_d$1_Schedule = Schedule;
3354
+ type index_d$1_ScheduleRequest = ScheduleRequest;
3355
+ type index_d$1_ScheduleResponse = ScheduleResponse;
3356
+ type index_d$1_ScheduleStatus = ScheduleStatus;
3357
+ declare const index_d$1_ScheduleStatus: typeof ScheduleStatus;
3358
+ type index_d$1_ScheduledAction = ScheduledAction;
3359
+ type index_d$1_ScheduledStatusInfo = ScheduledStatusInfo;
3360
+ type index_d$1_Scheduler = Scheduler;
3361
+ type index_d$1_Service = Service;
3362
+ type index_d$1_ServiceMapping = ServiceMapping;
3363
+ type index_d$1_SimpleDelay = SimpleDelay;
3364
+ type index_d$1_SpiAction = SpiAction;
3365
+ type index_d$1_StartedStatusInfo = StartedStatusInfo;
3366
+ type index_d$1_StartedStatusInfoAppDefinedActionInfo = StartedStatusInfoAppDefinedActionInfo;
3367
+ type index_d$1_StartedStatusInfoTypeInfoOneOf = StartedStatusInfoTypeInfoOneOf;
3368
+ type index_d$1_SwitchFilter = SwitchFilter;
3369
+ type index_d$1_SystemHelper = SystemHelper;
3370
+ type index_d$1_SystemHelperHelperOneOf = SystemHelperHelperOneOf;
3371
+ type index_d$1_Target = Target;
3372
+ declare const index_d$1_Target: typeof Target;
3373
+ type index_d$1_TargetType = TargetType;
3374
+ declare const index_d$1_TargetType: typeof TargetType;
3375
+ type index_d$1_TriggerInfo = TriggerInfo;
3376
+ type index_d$1_Units = Units;
3377
+ declare const index_d$1_Units: typeof Units;
3378
+ type index_d$1_UnprocessedTargetEvent = UnprocessedTargetEvent;
3379
+ type index_d$1_UpdatePendingSchedulesPayloadRequest = UpdatePendingSchedulesPayloadRequest;
3380
+ type index_d$1_UpdatePendingSchedulesPayloadResponse = UpdatePendingSchedulesPayloadResponse;
3381
+ type index_d$1_V1RunAutomationRequest = V1RunAutomationRequest;
3382
+ type index_d$1_V1RunAutomationRequestIdentifierOneOf = V1RunAutomationRequestIdentifierOneOf;
3383
+ type index_d$1_V1RunAutomationResponse = V1RunAutomationResponse;
3384
+ declare const index_d$1_bulkCancelEvent: typeof bulkCancelEvent;
3385
+ declare const index_d$1_bulkReportEvent: typeof bulkReportEvent;
3386
+ declare const index_d$1_cancelEvent: typeof cancelEvent;
3387
+ declare const index_d$1_onActivationStatusChanged: typeof onActivationStatusChanged;
3388
+ declare const index_d$1_reportEvent: typeof reportEvent;
3389
+ declare namespace index_d$1 {
3390
+ export { type Action$1 as Action, type index_d$1_ActionActionOneOf as ActionActionOneOf, type index_d$1_ActionCompletedRequest as ActionCompletedRequest, type index_d$1_ActionData as ActionData, type ActionEvent$1 as ActionEvent, type ActionSettings$1 as ActionSettings, type index_d$1_ActionStatus as ActionStatus, type index_d$1_ActionsData as ActionsData, type index_d$1_Activation as Activation, type index_d$1_ActivationActionStatusChanged as ActivationActionStatusChanged, index_d$1_ActivationActionStatusChangedStatus as ActivationActionStatusChangedStatus, type index_d$1_ActivationActionStatusChangedStatusInfoOneOf as ActivationActionStatusChangedStatusInfoOneOf, type index_d$1_ActivationContinuedAfterSchedule as ActivationContinuedAfterSchedule, type index_d$1_ActivationRequest as ActivationRequest, type index_d$1_ActivationResumeAfterDelay as ActivationResumeAfterDelay, type index_d$1_ActivationScheduleCompleted as ActivationScheduleCompleted, type index_d$1_ActivationScheduleRequested as ActivationScheduleRequested, type index_d$1_ActivationSource as ActivationSource, type index_d$1_ActivationSourceOfOneOf as ActivationSourceOfOneOf, type index_d$1_ActivationStatus as ActivationStatus, type index_d$1_ActivationStatusChanged as ActivationStatusChanged, type index_d$1_ActivationStatusChangedEnvelope as ActivationStatusChangedEnvelope, type index_d$1_ActivationStatusChangedFailedStatusInfo as ActivationStatusChangedFailedStatusInfo, index_d$1_ActivationStatusChangedStatus as ActivationStatusChangedStatus, type index_d$1_ActivationStatusChangedStatusInfoOneOf as ActivationStatusChangedStatusInfoOneOf, type AppDefinedAction$1 as AppDefinedAction, type index_d$1_AppDefinedActionInfo as AppDefinedActionInfo, type ApplicationError$1 as ApplicationError, type ApplicationOrigin$1 as ApplicationOrigin, type index_d$1_AsyncAction as AsyncAction, type AuditInfo$1 as AuditInfo, type AuditInfoIdOneOf$1 as AuditInfoIdOneOf, type Automation$1 as Automation, type AutomationConfiguration$1 as AutomationConfiguration, type index_d$1_AutomationConfigurationAction as AutomationConfigurationAction, type index_d$1_AutomationConfigurationActionInfoOneOf as AutomationConfigurationActionInfoOneOf, index_d$1_AutomationConfigurationStatus as AutomationConfigurationStatus, type index_d$1_AutomationIdentifier as AutomationIdentifier, type index_d$1_AutomationInfo as AutomationInfo, type index_d$1_AutomationInfoOriginInfoOneOf as AutomationInfoOriginInfoOneOf, type AutomationOriginInfoOneOf$1 as AutomationOriginInfoOneOf, type AutomationSettings$1 as AutomationSettings, type BaseEventMetadata$1 as BaseEventMetadata, type index_d$1_BatchActivationRequest as BatchActivationRequest, index_d$1_BlockType as BlockType, type BulkActionMetadata$1 as BulkActionMetadata, type index_d$1_BulkCancelEventRequest as BulkCancelEventRequest, type index_d$1_BulkCancelEventResponse as BulkCancelEventResponse, type index_d$1_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type index_d$1_BulkCancelEventResult as BulkCancelEventResult, type index_d$1_BulkReportEventRequest as BulkReportEventRequest, type index_d$1_BulkReportEventResponse as BulkReportEventResponse, type index_d$1_BulkReportEventResponseNonNullableFields as BulkReportEventResponseNonNullableFields, type index_d$1_BulkReportEventResult as BulkReportEventResult, type index_d$1_CancelEventRequest as CancelEventRequest, type index_d$1_CancelEventResponse as CancelEventResponse, type index_d$1_CancelPendingScheduleRequest as CancelPendingScheduleRequest, type index_d$1_CancelPendingScheduleRequestByOneOf as CancelPendingScheduleRequestByOneOf, type index_d$1_CancelPendingScheduleResponse as CancelPendingScheduleResponse, index_d$1_CancellationReason as CancellationReason, type index_d$1_CancelledStatusInfo as CancelledStatusInfo, type index_d$1_Case as Case, type ConditionAction$1 as ConditionAction, type index_d$1_ConditionActionInfo as ConditionActionInfo, type index_d$1_ConditionBlock as ConditionBlock, type ConditionExpressionGroup$1 as ConditionExpressionGroup, type index_d$1_ConditionFilter as ConditionFilter, type index_d$1_Delay as Delay, type DelayAction$1 as DelayAction, type index_d$1_DelayActionInfo as DelayActionInfo, type index_d$1_DelayHelper as DelayHelper, type index_d$1_DelayOfOneOf as DelayOfOneOf, type DomainEvent$1 as DomainEvent, type DomainEventBodyOneOf$1 as DomainEventBodyOneOf, type Empty$1 as Empty, type index_d$1_EndedStatusInfo as EndedStatusInfo, type index_d$1_EndedStatusInfoTypeInfoOneOf as EndedStatusInfoTypeInfoOneOf, type EntityCreatedEvent$1 as EntityCreatedEvent, type EntityDeletedEvent$1 as EntityDeletedEvent, type EntityUpdatedEvent$1 as EntityUpdatedEvent, type index_d$1_EventInfo as EventInfo, type EventMetadata$1 as EventMetadata, type index_d$1_ExecuteFromActionRequest as ExecuteFromActionRequest, type index_d$1_ExecuteFromActionResponse as ExecuteFromActionResponse, type index_d$1_ExpressionEvaluationResult as ExpressionEvaluationResult, type index_d$1_FailedStatusInfo as FailedStatusInfo, type index_d$1_File as File, type Filter$1 as Filter, type FutureDateActivationOffset$1 as FutureDateActivationOffset, type index_d$1_Idempotency as Idempotency, type IdentificationData$1 as IdentificationData, type IdentificationDataIdOneOf$1 as IdentificationDataIdOneOf, index_d$1_IdentifierType as IdentifierType, type index_d$1_Identity as Identity, type index_d$1_IfFilter as IfFilter, type index_d$1_InitiatedStatusInfo as InitiatedStatusInfo, type index_d$1_InternalTarget as InternalTarget, type ItemMetadata$1 as ItemMetadata, type MessageEnvelope$1 as MessageEnvelope, Operator$1 as Operator, Origin$1 as Origin, type index_d$1_Output as Output, type OutputAction$1 as OutputAction, type index_d$1_PreinstalledIdentifier as PreinstalledIdentifier, type PreinstalledOrigin$1 as PreinstalledOrigin, type RateLimit$1 as RateLimit, type RateLimitAction$1 as RateLimitAction, type index_d$1_RateLimitActionInfo as RateLimitActionInfo, type index_d$1_RateLimiting as RateLimiting, type index_d$1_RefreshPayloadRequest as RefreshPayloadRequest, type index_d$1_RefreshPayloadResponse as RefreshPayloadResponse, type index_d$1_ReportDomainEventRequest as ReportDomainEventRequest, type index_d$1_ReportDomainEventResponse as ReportDomainEventResponse, type index_d$1_ReportEventOptions as ReportEventOptions, type index_d$1_ReportEventRequest as ReportEventRequest, type index_d$1_ReportEventResponse as ReportEventResponse, type index_d$1_ReportEventResponseNonNullableFields as ReportEventResponseNonNullableFields, type RestoreInfo$1 as RestoreInfo, type index_d$1_RunAutomationRequest as RunAutomationRequest, type index_d$1_RunAutomationResponse as RunAutomationResponse, type index_d$1_Runtime as Runtime, type index_d$1_Schedule as Schedule, type index_d$1_ScheduleRequest as ScheduleRequest, type index_d$1_ScheduleResponse as ScheduleResponse, index_d$1_ScheduleStatus as ScheduleStatus, type index_d$1_ScheduledAction as ScheduledAction, type index_d$1_ScheduledStatusInfo as ScheduledStatusInfo, type index_d$1_Scheduler as Scheduler, type index_d$1_Service as Service, type index_d$1_ServiceMapping as ServiceMapping, type index_d$1_SimpleDelay as SimpleDelay, type index_d$1_SpiAction as SpiAction, type index_d$1_StartedStatusInfo as StartedStatusInfo, type index_d$1_StartedStatusInfoAppDefinedActionInfo as StartedStatusInfoAppDefinedActionInfo, type index_d$1_StartedStatusInfoTypeInfoOneOf as StartedStatusInfoTypeInfoOneOf, Status$1 as Status, type index_d$1_SwitchFilter as SwitchFilter, type index_d$1_SystemHelper as SystemHelper, type index_d$1_SystemHelperHelperOneOf as SystemHelperHelperOneOf, index_d$1_Target as Target, index_d$1_TargetType as TargetType, TimeUnit$1 as TimeUnit, type Trigger$1 as Trigger, type index_d$1_TriggerInfo as TriggerInfo, Type$1 as Type, index_d$1_Units as Units, type index_d$1_UnprocessedTargetEvent as UnprocessedTargetEvent, type index_d$1_UpdatePendingSchedulesPayloadRequest as UpdatePendingSchedulesPayloadRequest, type index_d$1_UpdatePendingSchedulesPayloadResponse as UpdatePendingSchedulesPayloadResponse, type index_d$1_V1RunAutomationRequest as V1RunAutomationRequest, type index_d$1_V1RunAutomationRequestIdentifierOneOf as V1RunAutomationRequestIdentifierOneOf, type index_d$1_V1RunAutomationResponse as V1RunAutomationResponse, WebhookIdentityType$1 as WebhookIdentityType, index_d$1_bulkCancelEvent as bulkCancelEvent, index_d$1_bulkReportEvent as bulkReportEvent, index_d$1_cancelEvent as cancelEvent, index_d$1_onActivationStatusChanged as onActivationStatusChanged, index_d$1_reportEvent as reportEvent };
3291
3391
  }
3292
- interface CancelEventOptions {
3392
+
3393
+ /** Automation */
3394
+ interface Automation extends AutomationOriginInfoOneOf {
3395
+ /** Application info */
3396
+ applicationInfo?: ApplicationOrigin;
3397
+ /** Preinstalled info */
3398
+ preinstalledInfo?: PreinstalledOrigin;
3293
3399
  /**
3294
- * Trigger key whose event you want to cancel.
3295
- * For example, `form_submitted` or `invoice_due`.
3400
+ * Automation ID.
3401
+ * @readonly
3296
3402
  */
3297
- triggerKey: string;
3403
+ _id?: string | null;
3404
+ /**
3405
+ * Revision number, which increments by 1 each time the Automation is updated.
3406
+ * To prevent conflicting changes,
3407
+ * the current revision must be passed when updating the Automation.
3408
+ *
3409
+ * Ignored when creating an Automation.
3410
+ * @readonly
3411
+ */
3412
+ revision?: string | null;
3413
+ /**
3414
+ * information about the creator of the automation
3415
+ * @readonly
3416
+ */
3417
+ createdBy?: AuditInfo;
3418
+ /**
3419
+ * Date and time the Automation was created.
3420
+ * @readonly
3421
+ */
3422
+ _createdDate?: Date;
3423
+ /**
3424
+ * information about who updated of the automation
3425
+ * @readonly
3426
+ */
3427
+ updatedBy?: AuditInfo;
3428
+ /**
3429
+ * Date and time the Automation was last updated.
3430
+ * @readonly
3431
+ */
3432
+ _updatedDate?: Date;
3433
+ /** Automation name */
3434
+ name?: string;
3435
+ /** Automation description */
3436
+ description?: string | null;
3437
+ /** Automation runtime configuration */
3438
+ configuration?: AutomationConfiguration;
3439
+ /** Origin type */
3440
+ origin?: Origin;
3441
+ /** Automation settings */
3442
+ settings?: AutomationSettings;
3443
+ }
3444
+ /** @oneof */
3445
+ interface AutomationOriginInfoOneOf {
3446
+ /** Application info */
3447
+ applicationInfo?: ApplicationOrigin;
3448
+ /** Preinstalled info */
3449
+ preinstalledInfo?: PreinstalledOrigin;
3450
+ }
3451
+ interface ActionSettings {
3452
+ /** list of permanent action ids of actions that cannot be deleted (default - empty, all actions are deletable by default) */
3453
+ permanentActionIds?: string[];
3454
+ /** list of readonly action ids, (default - empty, all actions are editable by default) */
3455
+ readonlyActionIds?: string[];
3456
+ /** sets if adding a delay action is disabled for this automation */
3457
+ disableDelayAddition?: boolean;
3458
+ /** sets if adding a condition action is disabled for this automation */
3459
+ disableConditionAddition?: boolean;
3460
+ }
3461
+ interface AuditInfo extends AuditInfoIdOneOf {
3462
+ /** user identifier */
3463
+ userId?: string;
3464
+ /** application identifier */
3465
+ appId?: string;
3466
+ }
3467
+ /** @oneof */
3468
+ interface AuditInfoIdOneOf {
3469
+ /** user identifier */
3470
+ userId?: string;
3471
+ /** application identifier */
3472
+ appId?: string;
3473
+ }
3474
+ /** Automation runtime configuration */
3475
+ interface AutomationConfiguration {
3476
+ /** Automation's Status */
3477
+ status?: Status;
3478
+ /** Trigger configuration */
3479
+ trigger?: Trigger;
3480
+ /** actions that run in parallel after the trigger */
3481
+ rootActionIds?: string[];
3482
+ /**
3483
+ * map of all actions by actionId
3484
+ * The key is the actionId of the action, and the value is the action configuration
3485
+ */
3486
+ actions?: Record<string, Action>;
3487
+ }
3488
+ declare enum TimeUnit {
3489
+ UNKNOWN_TIME_UNIT = "UNKNOWN_TIME_UNIT",
3490
+ MINUTES = "MINUTES",
3491
+ HOURS = "HOURS",
3492
+ DAYS = "DAYS",
3493
+ WEEKS = "WEEKS",
3494
+ MONTHS = "MONTHS"
3495
+ }
3496
+ interface Filter {
3497
+ /** the filter identifier */
3498
+ _id?: string;
3499
+ /** the field key from the schema, for example "formId" */
3500
+ fieldKey?: string;
3501
+ /** filter expression that evaluates to a boolean, for example - {{ contains(["guid1","guid2"];formId) }} */
3502
+ filterExpression?: string;
3503
+ }
3504
+ interface FutureDateActivationOffset {
3505
+ /**
3506
+ * expression of offset before the trigger's time (in selected time unit), when the Automation should run
3507
+ * only allows negative offset from the trigger's date (before the trigger), positive offset should be achieved via offset delay action
3508
+ * preScheduledEventOffsetExpression: "{{5}}" + timeUnit: Days - to run the Automation 5 days before the trigger's date
3509
+ * or, preScheduledEventOffsetExpression: "{{ someNumberField }}" + timeUnit: Minutes, to run the Automation someNumberField's value in minutes before the trigger's date
3510
+ */
3511
+ preScheduledEventOffsetExpression?: string;
3512
+ /** Time unit for the scheduled event offset */
3513
+ scheduledEventOffsetTimeUnit?: TimeUnit;
3514
+ }
3515
+ interface RateLimit {
3516
+ /**
3517
+ * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
3518
+ * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
3519
+ */
3520
+ maxActivationsExpression?: string;
3521
+ /**
3522
+ * Duration of the rate limiting window (in selected time unit) expression for rate limiter, if empty then no time limit. the expression will need to be parsed to Int on runtime
3523
+ * for example - "{{ 10 }}" to set timeframe to be 10 minutes, or {{ var(someNumberField) }} to set timeframe in minutes as the value of "someNumberField" from the payload
3524
+ */
3525
+ durationExpression?: string | null;
3526
+ /** Time unit for the rate limit duration */
3527
+ durationTimeUnit?: TimeUnit;
3528
+ /**
3529
+ * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
3530
+ * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
3531
+ */
3532
+ uniqueIdentifierExpression?: string | null;
3533
+ }
3534
+ interface ConditionExpressionGroup {
3535
+ /** expression group operator */
3536
+ operator?: Operator;
3537
+ /**
3538
+ * list of boolean expressions to be evaluated with the given operator
3539
+ * examples - {{ true }}, {{ someBooleanField }}, {{ contains(["guid1...","guid2..."];formId) }}
3540
+ */
3541
+ booleanExpressions?: string[];
3542
+ }
3543
+ declare enum Operator {
3544
+ UNKNOWN_OPERATOR = "UNKNOWN_OPERATOR",
3545
+ OR = "OR",
3546
+ AND = "AND"
3547
+ }
3548
+ declare enum Type {
3549
+ /** Automation will be triggered according to the trigger configuration */
3550
+ UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
3551
+ /** App defined Action */
3552
+ APP_DEFINED = "APP_DEFINED",
3553
+ /** Condition Action */
3554
+ CONDITION = "CONDITION",
3555
+ /** Delay Action */
3556
+ DELAY = "DELAY",
3557
+ /** RateLimit Action */
3558
+ RATE_LIMIT = "RATE_LIMIT",
3559
+ /** Output Action */
3560
+ OUTPUT = "OUTPUT"
3561
+ }
3562
+ interface AppDefinedAction {
3563
+ /** Action app id */
3564
+ appId?: string;
3565
+ /** Action key */
3566
+ actionKey?: string;
3567
+ /**
3568
+ * Action input mapping, example:
3569
+ * {
3570
+ * "to": "{{ var(contact.email) }}",
3571
+ * "subject": "Your registration to {{ var(eventName) }} is Confirmed",
3572
+ * "body": "Hi {{ var(contact.name) }}, you are confirmed for the event"
3573
+ * }
3574
+ */
3575
+ inputMapping?: Record<string, any> | null;
3576
+ /**
3577
+ * optional skip condition configuration - if this action should be skipped when the automation runs (following actions of a skipped action will still run)
3578
+ * the action will be skipped if either of the expression groups evaluate to `true`
3579
+ * the relation between the expression groups is an OR relation.
3580
+ */
3581
+ skipConditionOrExpressionGroups?: ConditionExpressionGroup[];
3582
+ /** actions to run in parallel after this action finishes */
3583
+ postActionIds?: string[];
3584
+ }
3585
+ interface ConditionAction {
3586
+ /**
3587
+ * the condition evaluates to `true` if either of the expression groups evaluate to `true`
3588
+ * the relation between the expression groups is an OR relation.
3589
+ */
3590
+ orExpressionGroups?: ConditionExpressionGroup[];
3591
+ /** actions to run when the entire condition is evaluated to `true` */
3592
+ truePostActionIds?: string[];
3593
+ /** actions to run when the entire condition is evaluated to `false` */
3594
+ falsePostActionIds?: string[];
3595
+ }
3596
+ interface DelayAction {
3597
+ /**
3598
+ * optional - expression for amount of time to wait (in selected time unit) - from a specific date or from the time the action is executed
3599
+ * offsetExpression: "{{5}}" + timeUnit: Days - to wait for 5 days from the time the delay was invoked
3600
+ * or, offsetExpression: "{{5}}" + timeUnit: Days + dueDateEpochExpression: "{{someDateField}}" - to wait for 5 days from the time date in "someDateField" field in the payload
3601
+ * or, offsetExpression: "{{ someNumberField }}" + timeUnit: Minutes, to wait for someNumberField's value in minutes
3602
+ */
3603
+ offsetExpression?: string | null;
3604
+ /** Time unit for delay offset */
3605
+ offsetTimeUnit?: TimeUnit;
3606
+ /**
3607
+ * optional - expression of the due date to wait until, if an offset was defined, it will be calculated from this date
3608
+ * number of milliseconds since the Unix Epoch (1 January, 1970 UTC)
3609
+ * for example - "{{ 18238348023423 }}", or "{{ someEpochFromPayloadField }}" / "{{ contact.birthdate }}"
3610
+ */
3611
+ dueDateEpochExpression?: string | null;
3612
+ /** actions to run in parallel after this action finishes */
3613
+ postActionIds?: string[];
3614
+ }
3615
+ interface RateLimitAction {
3616
+ /**
3617
+ * Maximum number of activations expression. the expression will need to be parsed to Int on runtime
3618
+ * for example - "{{ 1 }}" to set max activations to 1, or "{{ var(someNumberField) }}" to set max activations as the value of "someNumberField" from the payload
3619
+ */
3620
+ maxActivationsExpression?: string;
3621
+ /**
3622
+ * Duration of the rate limiting window (in selected time unit) expression for rate limiter, if empty then no time limit. the expression will need to be parsed to Int on runtime
3623
+ * for example - "{{ 10 }}" to set timeframe to be 10 minutes, or {{ var(someNumberField) }} to set timeframe in minutes as the value of "someNumberField" from the payload
3624
+ */
3625
+ rateLimitDurationExpression?: string | null;
3626
+ /** Time unit for the rate limit duration */
3627
+ rateLimitDurationTimeUnit?: TimeUnit;
3628
+ /**
3629
+ * Unique identifier of each activation by which rate limiter will count activations, expected return type is string
3630
+ * for example - {{ var(contact.id) }} to set the unique identifier as the value of "contact.id" from the payload
3631
+ */
3632
+ uniqueIdentifierExpression?: string | null;
3633
+ /** actions to run in parallel after this action finishes */
3634
+ postActionIds?: string[];
3635
+ }
3636
+ interface OutputAction {
3637
+ /**
3638
+ * Output action output mapping
3639
+ * {
3640
+ * "to": "{{ var(contact.email) }}"
3641
+ * }
3642
+ */
3643
+ outputMapping?: Record<string, any> | null;
3644
+ }
3645
+ declare enum Status {
3646
+ /** unused */
3647
+ UNKNOWN_STATUS = "UNKNOWN_STATUS",
3648
+ /** Automation will be triggered according to the trigger configuration */
3649
+ ACTIVE = "ACTIVE",
3650
+ /** Automation will not be triggered */
3651
+ INACTIVE = "INACTIVE"
3652
+ }
3653
+ interface Trigger {
3654
+ /** Trigger Application id */
3655
+ appId?: string;
3656
+ /** Trigger key */
3657
+ triggerKey?: string;
3658
+ /**
3659
+ * optional - list of filters on schema fields
3660
+ * the relation between the filter expressions is an AND relation.
3661
+ * all filter expressions must be evaluated to `true` for a given payload in order for the automation to be executed
3662
+ */
3663
+ filters?: Filter[];
3664
+ /** optional - future date trigger activation offset */
3665
+ scheduledEventOffset?: FutureDateActivationOffset;
3666
+ /** optional - rate limiting configuration */
3667
+ rateLimit?: RateLimit;
3668
+ }
3669
+ interface Action extends ActionInfoOneOf {
3670
+ /** App defined Action (via RPC, HTTP or Velo) */
3671
+ appDefinedInfo?: AppDefinedAction;
3672
+ /** Condition action */
3673
+ conditionInfo?: ConditionAction;
3674
+ /** Delay action */
3675
+ delayInfo?: DelayAction;
3676
+ /** Rate limiting action */
3677
+ rateLimitInfo?: RateLimitAction;
3678
+ /** Action id, if not specified, will be generated */
3679
+ _id?: string | null;
3680
+ /** Type of the action */
3681
+ type?: Type;
3682
+ /**
3683
+ * Human readable name for the action (may only contain alphanumeric characters and underscores) to differentiate from other actions of the same kind.
3684
+ * if the action has output, the output will be available in the payload under this name, otherwise it will be concatenated to the payload as is
3685
+ * without namespaces (or in case of exact same namespaces), if the user has multiple actions of the same kind (appId+actionKey), the output will be overwritten.
3686
+ *
3687
+ * for example, given:
3688
+ * - if the action output looks like this - { "message": "hello" }
3689
+ * - the namespace is "action_1"
3690
+ * - the trigger payload looks like this - { "someField": "50", "someBoolean": true }
3691
+ *
3692
+ * the payload will look like this:
3693
+ * {
3694
+ * "someField": "50",
3695
+ * "someBoolean": true,
3696
+ * "action_1": {
3697
+ * "message": "hello"
3698
+ * }
3699
+ * }
3700
+ *
3701
+ * given the following Automation configuration:
3702
+ *
3703
+ * (Trigger A)
3704
+ * |
3705
+ * (Action B) // namespace = "action_b_1"
3706
+ * |
3707
+ * (Action B) // namespace = "action_b_2"
3708
+ * |
3709
+ * (Action C)
3710
+ *
3711
+ *
3712
+ * the available fields that Action C will be able to use to map to it's input fields will be:
3713
+ * {
3714
+ * "someField": "50",
3715
+ * "someBoolean": true,
3716
+ * "action_b_1": {
3717
+ * "message": "hello"
3718
+ * },
3719
+ * "action_b_2": {
3720
+ * "message": "hello"
3721
+ * }
3722
+ * }
3723
+ * so the user can select which specific action output to use (action_b_1.message or action_b_2.message, in the case above)
3724
+ */
3725
+ namespace?: string | null;
3726
+ }
3727
+ /** @oneof */
3728
+ interface ActionInfoOneOf {
3729
+ /** App defined Action (via RPC, HTTP or Velo) */
3730
+ appDefinedInfo?: AppDefinedAction;
3731
+ /** Condition action */
3732
+ conditionInfo?: ConditionAction;
3733
+ /** Delay action */
3734
+ delayInfo?: DelayAction;
3735
+ /** Rate limiting action */
3736
+ rateLimitInfo?: RateLimitAction;
3737
+ }
3738
+ declare enum Origin {
3739
+ /** default value. this is unused */
3740
+ UNKNOWN_ORIGIN = "UNKNOWN_ORIGIN",
3741
+ /** user created automation */
3742
+ USER = "USER",
3743
+ /** automation created by application (site specific) */
3744
+ APPLICATION = "APPLICATION",
3745
+ /** preinstalled application automation */
3746
+ PREINSTALLED = "PREINSTALLED"
3747
+ }
3748
+ interface ApplicationOrigin {
3749
+ /** identifier for the application */
3750
+ appId?: string;
3751
+ }
3752
+ interface PreinstalledOrigin {
3753
+ /** identifier for the application */
3754
+ appId?: string;
3755
+ /** application component ID */
3756
+ componentId?: string;
3757
+ /** application component Version */
3758
+ componentVersion?: number;
3759
+ /**
3760
+ * is this a user modified preinstalled automation (on a specific site) or the original one
3761
+ * @readonly
3762
+ */
3763
+ override?: boolean | null;
3764
+ }
3765
+ interface AutomationSettings {
3766
+ /** sets if the automation is hidden from users */
3767
+ hidden?: boolean;
3768
+ /** sets if the automation is readonly */
3769
+ readonly?: boolean;
3770
+ /** sets if deleting the automation is disabled */
3771
+ disableDelete?: boolean;
3772
+ /** sets if changing the automation status is disabled (from active to inactive and vice versa) */
3773
+ disableStatusChange?: boolean;
3774
+ /** Automation's action settings */
3775
+ actionSettings?: ActionSettings;
3776
+ }
3777
+ interface GetAutomationRevisionRequest {
3778
+ /** Automation ID */
3779
+ automationId?: string;
3780
+ /** Automation revision */
3781
+ revision?: string | null;
3782
+ }
3783
+ interface GetAutomationRevisionResponse {
3784
+ /** Automation with the relevant revision */
3785
+ automation?: Automation;
3786
+ }
3787
+ interface CreateAutomationRequest {
3788
+ /** Automation to be created. */
3789
+ automation: Automation;
3790
+ }
3791
+ interface CreateAutomationResponse {
3792
+ /** The created Automation. */
3793
+ automation?: Automation;
3794
+ }
3795
+ interface GetAutomationRequest {
3796
+ /** ID of the Automation to retrieve. */
3797
+ automationId: string;
3798
+ /** Automation Origin */
3799
+ origin?: Origin;
3800
+ }
3801
+ interface GetAutomationResponse {
3802
+ /** The requested Automation. */
3803
+ automation?: Automation;
3804
+ }
3805
+ interface UpdateAutomationRequest {
3806
+ /** Automation to be updated, may be partial. */
3807
+ automation: Automation;
3808
+ }
3809
+ interface UpdateAutomationResponse {
3810
+ /** Updated Automation. */
3811
+ automation?: Automation;
3812
+ }
3813
+ interface UpdatedWithPreviousEntity {
3814
+ /** previous automation */
3815
+ previousAutomation?: Automation;
3816
+ /** updated automation */
3817
+ currentAutomation?: Automation;
3818
+ }
3819
+ interface DeleteAutomationRequest {
3820
+ /** Id of the Automation to delete. */
3821
+ automationId: string;
3822
+ }
3823
+ interface DeleteAutomationResponse {
3824
+ }
3825
+ interface DeletedWithEntity {
3826
+ /** Deleted automation */
3827
+ automation?: Automation;
3828
+ }
3829
+ interface BulkDeleteAutomationsRequest {
3830
+ /** Automation IDs to delete */
3831
+ automationIds?: string[];
3832
+ }
3833
+ interface BulkDeleteAutomationsResponse {
3834
+ /** bulk delete results */
3835
+ results?: BulkDeleteResult[];
3836
+ /** bulk delete metadata */
3837
+ bulkActionMetadata?: BulkActionMetadata;
3838
+ }
3839
+ interface BulkDeleteResult {
3840
+ /** bulk delete item metadata */
3841
+ itemMetadata?: ItemMetadata;
3842
+ }
3843
+ interface ItemMetadata {
3844
+ /** Item ID. Should always be available, unless it's impossible (for example, when failing to create an item). */
3845
+ _id?: string | null;
3846
+ /** Index of the item within the request array. Allows for correlation between request and response items. */
3847
+ originalIndex?: number;
3848
+ /** Whether the requested action was successful for this item. When `false`, the `error` field is populated. */
3849
+ success?: boolean;
3850
+ /** Details about the error in case of failure. */
3851
+ error?: ApplicationError;
3852
+ }
3853
+ interface ApplicationError {
3854
+ /** Error code. */
3855
+ code?: string;
3856
+ /** Description of the error. */
3857
+ description?: string;
3858
+ /** Data related to the error. */
3859
+ data?: Record<string, any> | null;
3860
+ }
3861
+ interface BulkActionMetadata {
3862
+ /** Number of items that were successfully processed. */
3863
+ totalSuccesses?: number;
3864
+ /** Number of items that couldn't be processed. */
3865
+ totalFailures?: number;
3866
+ /** Number of failures without details because detailed failure threshold was exceeded. */
3867
+ undetailedFailures?: number;
3868
+ }
3869
+ interface CreatePreinstalledAutomationRequest {
3870
+ /** Automation to be created. */
3871
+ automation?: Automation;
3872
+ }
3873
+ interface CreatePreinstalledAutomationResponse {
3874
+ /** The created Automation. */
3875
+ automation?: Automation;
3876
+ }
3877
+ interface DeletePreinstalledAutomationRequest {
3878
+ /** Id of the Automation to delete. */
3879
+ automationId?: string;
3880
+ /** Should ignore override check (default: false) */
3881
+ ignoreOverrideCheck?: boolean;
3882
+ }
3883
+ interface DeletePreinstalledAutomationResponse {
3884
+ }
3885
+ interface QueryAutomationsRequest {
3886
+ /** WQL expression. */
3887
+ query?: CursorQuery;
3888
+ }
3889
+ interface CursorQuery extends CursorQueryPagingMethodOneOf {
3890
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
3891
+ cursorPaging?: CursorPaging;
3892
+ /**
3893
+ * Filter object in the following format:
3894
+ * `"filter" : {
3895
+ * "fieldName1": "value1",
3896
+ * "fieldName2":{"$operator":"value2"}
3897
+ * }`
3898
+ * Example of operators: `$eq`, `$ne`, `$lt`, `$lte`, `$gt`, `$gte`, `$in`, `$hasSome`, `$hasAll`, `$startsWith`, `$contains`
3899
+ */
3900
+ filter?: Record<string, any> | null;
3901
+ /**
3902
+ * Sort object in the following format:
3903
+ * `[{"fieldName":"sortField1","order":"ASC"},{"fieldName":"sortField2","order":"DESC"}]`
3904
+ */
3905
+ sort?: Sorting[];
3906
+ }
3907
+ /** @oneof */
3908
+ interface CursorQueryPagingMethodOneOf {
3909
+ /** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
3910
+ cursorPaging?: CursorPaging;
3911
+ }
3912
+ interface Sorting {
3913
+ /** Name of the field to sort by. */
3914
+ fieldName?: string;
3915
+ /** Sort order. */
3916
+ order?: SortOrder;
3917
+ }
3918
+ declare enum SortOrder {
3919
+ ASC = "ASC",
3920
+ DESC = "DESC"
3921
+ }
3922
+ interface CursorPaging {
3923
+ /** Maximum number of items to return in the results. */
3924
+ limit?: number | null;
3925
+ /**
3926
+ * Pointer to the next or previous page in the list of results.
3927
+ *
3928
+ * Pass the relevant cursor token from the `pagingMetadata` object in the previous call's response.
3929
+ * Not relevant for the first request.
3930
+ */
3931
+ cursor?: string | null;
3932
+ }
3933
+ interface QueryAutomationsResponse {
3934
+ /** List of Automations. */
3935
+ automations?: Automation[];
3936
+ /** Paging metadata */
3937
+ pagingMetadata?: CursorPagingMetadata;
3938
+ }
3939
+ interface CursorPagingMetadata {
3940
+ /** Number of items returned in the response. */
3941
+ count?: number | null;
3942
+ /** Cursor strings that point to the next page, previous page, or both. */
3943
+ cursors?: Cursors;
3944
+ /**
3945
+ * Whether there are more pages to retrieve following the current page.
3946
+ *
3947
+ * + `true`: Another page of results can be retrieved.
3948
+ * + `false`: This is the last page.
3949
+ */
3950
+ hasNext?: boolean | null;
3951
+ }
3952
+ interface Cursors {
3953
+ /** Cursor string pointing to the next page in the list of results. */
3954
+ next?: string | null;
3955
+ /** Cursor pointing to the previous page in the list of results. */
3956
+ prev?: string | null;
3957
+ }
3958
+ interface DomainEvent extends DomainEventBodyOneOf {
3959
+ createdEvent?: EntityCreatedEvent;
3960
+ updatedEvent?: EntityUpdatedEvent;
3961
+ deletedEvent?: EntityDeletedEvent;
3962
+ actionEvent?: ActionEvent;
3963
+ /**
3964
+ * Unique event ID.
3965
+ * Allows clients to ignore duplicate webhooks.
3966
+ */
3967
+ _id?: string;
3968
+ /**
3969
+ * Assumes actions are also always typed to an entity_type
3970
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
3971
+ */
3972
+ entityFqdn?: string;
3973
+ /**
3974
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
3975
+ * This is although the created/updated/deleted notion is duplication of the oneof types
3976
+ * Example: created/updated/deleted/started/completed/email_opened
3977
+ */
3978
+ slug?: string;
3979
+ /** ID of the entity associated with the event. */
3980
+ entityId?: string;
3981
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
3982
+ eventTime?: Date;
3983
+ /**
3984
+ * Whether the event was triggered as a result of a privacy regulation application
3985
+ * (for example, GDPR).
3986
+ */
3987
+ triggeredByAnonymizeRequest?: boolean | null;
3988
+ /** If present, indicates the action that triggered the event. */
3989
+ originatedFrom?: string | null;
3990
+ /**
3991
+ * A sequence number defining the order of updates to the underlying entity.
3992
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
3993
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
3994
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
3995
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
3996
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
3997
+ */
3998
+ entityEventSequence?: string | null;
3999
+ }
4000
+ /** @oneof */
4001
+ interface DomainEventBodyOneOf {
4002
+ createdEvent?: EntityCreatedEvent;
4003
+ updatedEvent?: EntityUpdatedEvent;
4004
+ deletedEvent?: EntityDeletedEvent;
4005
+ actionEvent?: ActionEvent;
4006
+ }
4007
+ interface EntityCreatedEvent {
4008
+ entity?: string;
4009
+ }
4010
+ interface RestoreInfo {
4011
+ deletedDate?: Date;
4012
+ }
4013
+ interface EntityUpdatedEvent {
4014
+ /**
4015
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
4016
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
4017
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
4018
+ */
4019
+ currentEntity?: string;
4020
+ }
4021
+ interface EntityDeletedEvent {
4022
+ /** Entity that was deleted */
4023
+ deletedEntity?: string | null;
4024
+ }
4025
+ interface ActionEvent {
4026
+ body?: string;
4027
+ }
4028
+ interface Empty {
4029
+ }
4030
+ interface CopyAutomationRequest {
4031
+ /** ID of the Automation to copy */
4032
+ automationId?: string;
4033
+ /** Automation Origin */
4034
+ origin?: Origin;
4035
+ }
4036
+ interface CopyAutomationResponse {
4037
+ /** New automation */
4038
+ automation?: Automation;
4039
+ }
4040
+ interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
4041
+ /** Emitted on a meta site creation. */
4042
+ siteCreated?: SiteCreated;
4043
+ /** Emitted on a meta site transfer completion. */
4044
+ siteTransferred?: SiteTransferred;
4045
+ /** Emitted on a meta site deletion. */
4046
+ siteDeleted?: SiteDeleted;
4047
+ /** Emitted on a meta site restoration. */
4048
+ siteUndeleted?: SiteUndeleted;
4049
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
4050
+ sitePublished?: SitePublished;
4051
+ /** Emitted on a meta site unpublish. */
4052
+ siteUnpublished?: SiteUnpublished;
4053
+ /** Emitted when meta site is marked as template. */
4054
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
4055
+ /** Emitted when meta site is marked as a WixSite. */
4056
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
4057
+ /** Emitted when an application is provisioned (installed). */
4058
+ serviceProvisioned?: ServiceProvisioned;
4059
+ /** Emitted when an application is removed (uninstalled). */
4060
+ serviceRemoved?: ServiceRemoved;
4061
+ /** Emitted when meta site name (URL slug) is changed. */
4062
+ siteRenamedPayload?: SiteRenamed;
4063
+ /** Emitted when meta site was permanently deleted. */
4064
+ hardDeleted?: SiteHardDeleted;
4065
+ /** Emitted on a namespace change. */
4066
+ namespaceChanged?: NamespaceChanged;
4067
+ /** Emitted when Studio is attached. */
4068
+ studioAssigned?: StudioAssigned;
4069
+ /** Emitted when Studio is detached. */
4070
+ studioUnassigned?: StudioUnassigned;
4071
+ /** A meta site id. */
4072
+ metaSiteId?: string;
4073
+ /** A meta site version. Monotonically increasing. */
4074
+ version?: string;
4075
+ /** A timestamp of the event. */
4076
+ timestamp?: string;
4077
+ /** A list of "assets" (applications). The same as MetaSiteContext. */
4078
+ assets?: Asset[];
4079
+ }
4080
+ /** @oneof */
4081
+ interface MetaSiteSpecialEventPayloadOneOf {
4082
+ /** Emitted on a meta site creation. */
4083
+ siteCreated?: SiteCreated;
4084
+ /** Emitted on a meta site transfer completion. */
4085
+ siteTransferred?: SiteTransferred;
4086
+ /** Emitted on a meta site deletion. */
4087
+ siteDeleted?: SiteDeleted;
4088
+ /** Emitted on a meta site restoration. */
4089
+ siteUndeleted?: SiteUndeleted;
4090
+ /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
4091
+ sitePublished?: SitePublished;
4092
+ /** Emitted on a meta site unpublish. */
4093
+ siteUnpublished?: SiteUnpublished;
4094
+ /** Emitted when meta site is marked as template. */
4095
+ siteMarkedAsTemplate?: SiteMarkedAsTemplate;
4096
+ /** Emitted when meta site is marked as a WixSite. */
4097
+ siteMarkedAsWixSite?: SiteMarkedAsWixSite;
4098
+ /** Emitted when an application is provisioned (installed). */
4099
+ serviceProvisioned?: ServiceProvisioned;
4100
+ /** Emitted when an application is removed (uninstalled). */
4101
+ serviceRemoved?: ServiceRemoved;
4102
+ /** Emitted when meta site name (URL slug) is changed. */
4103
+ siteRenamedPayload?: SiteRenamed;
4104
+ /** Emitted when meta site was permanently deleted. */
4105
+ hardDeleted?: SiteHardDeleted;
4106
+ /** Emitted on a namespace change. */
4107
+ namespaceChanged?: NamespaceChanged;
4108
+ /** Emitted when Studio is attached. */
4109
+ studioAssigned?: StudioAssigned;
4110
+ /** Emitted when Studio is detached. */
4111
+ studioUnassigned?: StudioUnassigned;
4112
+ }
4113
+ interface Asset {
4114
+ /** An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum). */
4115
+ appDefId?: string;
4116
+ /** An instance id. For legacy reasons may be UUID or a string. */
4117
+ instanceId?: string;
4118
+ /** An application state. */
4119
+ state?: State;
4120
+ }
4121
+ declare enum State {
4122
+ UNKNOWN = "UNKNOWN",
4123
+ ENABLED = "ENABLED",
4124
+ DISABLED = "DISABLED",
4125
+ PENDING = "PENDING",
4126
+ DEMO = "DEMO"
4127
+ }
4128
+ interface SiteCreated {
4129
+ /** A template identifier (empty if not created from a template). */
4130
+ originTemplateId?: string;
4131
+ /** An account id of the owner. */
4132
+ ownerId?: string;
4133
+ /** A context in which meta site was created. */
4134
+ context?: SiteCreatedContext;
4135
+ /**
4136
+ * A meta site id from which this site was created.
4137
+ *
4138
+ * In case of a creation from a template it's a template id.
4139
+ * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
4140
+ */
4141
+ originMetaSiteId?: string | null;
4142
+ /** A meta site name (URL slug). */
4143
+ siteName?: string;
4144
+ /** A namespace. */
4145
+ namespace?: Namespace;
4146
+ }
4147
+ declare enum SiteCreatedContext {
4148
+ /** A valid option, we don't expose all reasons why site might be created. */
4149
+ OTHER = "OTHER",
4150
+ /** A meta site was created from template. */
4151
+ FROM_TEMPLATE = "FROM_TEMPLATE",
4152
+ /** A meta site was created by copying of the transfferred meta site. */
4153
+ DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
4154
+ /** A copy of existing meta site. */
4155
+ DUPLICATE = "DUPLICATE",
4156
+ /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
4157
+ OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
4158
+ /** deprecated A meta site was created for Flash editor. */
4159
+ FLASH = "FLASH"
4160
+ }
4161
+ declare enum Namespace {
4162
+ UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
4163
+ /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
4164
+ WIX = "WIX",
4165
+ /** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
4166
+ SHOUT_OUT = "SHOUT_OUT",
4167
+ /** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
4168
+ ALBUMS = "ALBUMS",
4169
+ /** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
4170
+ WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
4171
+ /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
4172
+ HOTELS = "HOTELS",
4173
+ /** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
4174
+ CLUBS = "CLUBS",
4175
+ /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
4176
+ ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
4177
+ /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
4178
+ DEV_SITE = "DEV_SITE",
4179
+ /** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
4180
+ LOGOS = "LOGOS",
4181
+ /** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
4182
+ VIDEO_MAKER = "VIDEO_MAKER",
4183
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
4184
+ PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
4185
+ /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
4186
+ DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
4187
+ /**
4188
+ * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
4189
+ *
4190
+ * Meta site with this namespace will *not* be shown in a user's site list by default.
4191
+ */
4192
+ HTML_DRAFT = "HTML_DRAFT",
4193
+ /**
4194
+ * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
4195
+ * Will be accessible from Site List and will not have a website app.
4196
+ * Once the user attaches a site, the site will become a regular wixsite.
4197
+ */
4198
+ SITELESS_BUSINESS = "SITELESS_BUSINESS",
4199
+ /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
4200
+ CREATOR_ECONOMY = "CREATOR_ECONOMY",
4201
+ /** It is to be used in the Business First efforts. */
4202
+ DASHBOARD_FIRST = "DASHBOARD_FIRST",
4203
+ /** Bookings business flow with no site. */
4204
+ ANYWHERE = "ANYWHERE",
4205
+ /** Namespace for Headless Backoffice with no editor */
4206
+ HEADLESS = "HEADLESS",
4207
+ /**
4208
+ * Namespace for master site that will exist in parent account that will be referenced by subaccounts
4209
+ * The site will be used for account level CSM feature for enterprise
4210
+ */
4211
+ ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
4212
+ /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
4213
+ RISE = "RISE",
4214
+ /**
4215
+ * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
4216
+ * There's a blank site behind the scene but it's blank).
4217
+ * The Mobile company will be the owner of this namespace.
4218
+ */
4219
+ BRANDED_FIRST = "BRANDED_FIRST"
4220
+ }
4221
+ /** Site transferred to another user. */
4222
+ interface SiteTransferred {
4223
+ /** A previous owner id (user that transfers meta site). */
4224
+ oldOwnerId?: string;
4225
+ /** A new owner id (user that accepts meta site). */
4226
+ newOwnerId?: string;
4227
+ }
4228
+ /** Soft deletion of the meta site. Could be restored. */
4229
+ interface SiteDeleted {
4230
+ /** A deletion context. */
4231
+ deleteContext?: DeleteContext;
4232
+ }
4233
+ interface DeleteContext {
4234
+ /** When the meta site was deleted. */
4235
+ dateDeleted?: Date;
4236
+ /** A status. */
4237
+ deleteStatus?: DeleteStatus;
4238
+ /** A reason (flow). */
4239
+ deleteOrigin?: string;
4240
+ /** A service that deleted it. */
4241
+ initiatorId?: string | null;
4242
+ }
4243
+ declare enum DeleteStatus {
4244
+ UNKNOWN = "UNKNOWN",
4245
+ TRASH = "TRASH",
4246
+ DELETED = "DELETED",
4247
+ PENDING_PURGE = "PENDING_PURGE"
4248
+ }
4249
+ /** Restoration of the meta site. */
4250
+ interface SiteUndeleted {
4251
+ }
4252
+ /** First publish of a meta site. Or subsequent publish after unpublish. */
4253
+ interface SitePublished {
4254
+ }
4255
+ interface SiteUnpublished {
4256
+ /** A list of URLs previously associated with the meta site. */
4257
+ urls?: string[];
4258
+ }
4259
+ interface SiteMarkedAsTemplate {
4260
+ }
4261
+ interface SiteMarkedAsWixSite {
4262
+ }
4263
+ interface ServiceProvisioned {
4264
+ /** Either UUID or EmbeddedServiceType. */
4265
+ appDefId?: string;
4266
+ /** Not only UUID. Something here could be something weird. */
4267
+ instanceId?: string;
4268
+ /** An instance id from which this instance is originated. */
4269
+ originInstanceId?: string;
4270
+ /** A version. */
4271
+ version?: string | null;
4272
+ }
4273
+ interface ServiceRemoved {
4274
+ /** Either UUID or EmbeddedServiceType. */
4275
+ appDefId?: string;
4276
+ /** Not only UUID. Something here could be something weird. */
4277
+ instanceId?: string;
4278
+ /** A version. */
4279
+ version?: string | null;
4280
+ }
4281
+ /** Rename of the site. Meaning, free public url has been changed as well. */
4282
+ interface SiteRenamed {
4283
+ /** A new meta site name (URL slug). */
4284
+ newSiteName?: string;
4285
+ /** A previous meta site name (URL slug). */
4286
+ oldSiteName?: string;
4287
+ }
4288
+ /**
4289
+ * Hard deletion of the meta site.
4290
+ *
4291
+ * Could not be restored. Therefore it's desirable to cleanup data.
4292
+ */
4293
+ interface SiteHardDeleted {
4294
+ /** A deletion context. */
4295
+ deleteContext?: DeleteContext;
4296
+ }
4297
+ interface NamespaceChanged {
4298
+ /** A previous namespace. */
4299
+ oldNamespace?: Namespace;
4300
+ /** A new namespace. */
4301
+ newNamespace?: Namespace;
4302
+ }
4303
+ /** Assigned Studio editor */
4304
+ interface StudioAssigned {
4305
+ }
4306
+ /** Unassigned Studio editor */
4307
+ interface StudioUnassigned {
4308
+ }
4309
+ interface ValidateAutomationRequest {
4310
+ /** Automation to validate */
4311
+ automation: Automation;
4312
+ /** optional validation settings */
4313
+ validationSettings?: ValidationSettings;
4314
+ }
4315
+ interface ValidationSettings {
4316
+ /**
4317
+ * specific actions to include in the validation
4318
+ * if non empty - only the specific actions would be validated (trigger excluded)
4319
+ * if empty, the entire automation will be validated (trigger included)
4320
+ */
4321
+ actionIds?: string[];
4322
+ /** whether or not to skip provider validations (default: false) */
4323
+ skipProviderValidations?: boolean;
4324
+ }
4325
+ interface ValidateAutomationResponse {
4326
+ /** is the Automation valid */
4327
+ valid?: boolean;
4328
+ /** list of validation errors for the automation Trigger */
4329
+ triggerValidationErrors?: TriggerValidationError[];
4330
+ /** list of validation information for the automation Actions */
4331
+ actionValidationInfo?: ActionValidationInfo[];
4332
+ }
4333
+ interface TriggerValidationError extends TriggerValidationErrorErrorOneOf {
4334
+ /** trigger configuration error */
4335
+ configurationError?: TriggerConfigurationError;
4336
+ /** provider configuration error */
4337
+ providerConfigurationError?: ProviderConfigurationError;
4338
+ /** validation error type */
4339
+ errorType?: TriggerValidationErrorValidationErrorType;
4340
+ }
4341
+ /** @oneof */
4342
+ interface TriggerValidationErrorErrorOneOf {
4343
+ /** trigger configuration error */
4344
+ configurationError?: TriggerConfigurationError;
4345
+ /** provider configuration error */
4346
+ providerConfigurationError?: ProviderConfigurationError;
4347
+ }
4348
+ declare enum TriggerValidationErrorValidationErrorType {
4349
+ UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
4350
+ CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
4351
+ PROVIDER_ERROR = "PROVIDER_ERROR"
4352
+ }
4353
+ interface TriggerConfigurationError {
4354
+ /** trigger error type */
4355
+ errorType?: TriggerErrorType;
4356
+ /** optional - related filter field key */
4357
+ filterFieldKey?: string | null;
4358
+ }
4359
+ declare enum TriggerErrorType {
4360
+ UNKNOWN_TRIGGER_ERROR_TYPE = "UNKNOWN_TRIGGER_ERROR_TYPE",
4361
+ NOT_FOUND = "NOT_FOUND",
4362
+ APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
4363
+ MODERATION_MISMATCH = "MODERATION_MISMATCH",
4364
+ DEPRECATED = "DEPRECATED",
4365
+ INVALID_TRIGGER_KEY = "INVALID_TRIGGER_KEY",
4366
+ INVALID_FILTER_FIELD_KEY = "INVALID_FILTER_FIELD_KEY",
4367
+ INVALID_FILTER_EXPRESSION = "INVALID_FILTER_EXPRESSION"
4368
+ }
4369
+ interface ProviderConfigurationError {
4370
+ /** Key corresponding to the field in the schema. */
4371
+ fieldKey?: string | null;
4372
+ /** Error message. */
4373
+ message?: string;
4374
+ /** Label for a call-to-action button that's displayed with the error. Translated according to the SPI language context. */
4375
+ ctaLabel?: string | null;
4376
+ /** URL to redirect to when the call-to-action button is clicked. */
4377
+ ctaUrl?: string | null;
4378
+ /** Title for the error. */
4379
+ title?: string;
4380
+ }
4381
+ interface ActionValidationInfo {
4382
+ /** the id of the action in the automation */
4383
+ actionId?: string | null;
4384
+ /** the id of the app defining the action */
4385
+ appId?: string;
4386
+ /** human readable identifier of the action per app */
4387
+ actionKey?: string;
4388
+ /** list of action validation errors */
4389
+ validationErrors?: ActionValidationError[];
4390
+ }
4391
+ interface ActionValidationError extends ActionValidationErrorErrorOneOf {
4392
+ /** action configuration error */
4393
+ configurationError?: ActionConfigurationError;
4394
+ /** provider configuration error */
4395
+ providerConfigurationError?: ProviderConfigurationError;
4396
+ /** validation error type */
4397
+ errorType?: ValidationErrorType;
4398
+ }
4399
+ /** @oneof */
4400
+ interface ActionValidationErrorErrorOneOf {
4401
+ /** action configuration error */
4402
+ configurationError?: ActionConfigurationError;
4403
+ /** provider configuration error */
4404
+ providerConfigurationError?: ProviderConfigurationError;
4405
+ }
4406
+ declare enum ValidationErrorType {
4407
+ UNKNOWN_VALIDATION_ERROR_TYPE = "UNKNOWN_VALIDATION_ERROR_TYPE",
4408
+ CONFIGURATION_ERROR = "CONFIGURATION_ERROR",
4409
+ PROVIDER_ERROR = "PROVIDER_ERROR"
4410
+ }
4411
+ interface ActionConfigurationError {
4412
+ /** action error type */
4413
+ errorType?: ActionErrorType;
4414
+ /** optional - related field key */
4415
+ fieldKey?: string | null;
4416
+ }
4417
+ declare enum ActionErrorType {
4418
+ UNKNOWN_ACTION_ERROR_TYPE = "UNKNOWN_ACTION_ERROR_TYPE",
4419
+ NOT_FOUND = "NOT_FOUND",
4420
+ APP_NOT_INSTALLED = "APP_NOT_INSTALLED",
4421
+ MODERATION_MISMATCH = "MODERATION_MISMATCH",
4422
+ DEPRECATED = "DEPRECATED",
4423
+ INVALID_ACTION_KEY = "INVALID_ACTION_KEY",
4424
+ INVALID_MAPPING = "INVALID_MAPPING",
4425
+ MAPPING_TYPE_MISMATCH = "MAPPING_TYPE_MISMATCH",
4426
+ MAPPING_MISSING_REQUIRED_FIELD = "MAPPING_MISSING_REQUIRED_FIELD",
4427
+ MAPPING_SCHEMA_MISMATCH = "MAPPING_SCHEMA_MISMATCH",
4428
+ MAPPING_VARIABLE_MISSING_FROM_SCHEMA = "MAPPING_VARIABLE_MISSING_FROM_SCHEMA"
4429
+ }
4430
+ interface GetAutomationActionSchemaRequest {
4431
+ /** Automation ID */
4432
+ automationId?: string;
4433
+ /** Action ID */
4434
+ actionId?: string;
4435
+ }
4436
+ interface GetAutomationActionSchemaResponse {
4437
+ /** The accumulated payload schema for action */
4438
+ schema?: Record<string, any> | null;
4439
+ }
4440
+ interface GetActionsQuotaInfoRequest {
4441
+ }
4442
+ interface GetActionsQuotaInfoResponse {
4443
+ /** list of action quota information */
4444
+ actionProviderQuotaInfo?: ActionProviderQuotaInfo[];
4445
+ }
4446
+ interface ActionProviderQuotaInfo {
4447
+ /** action app id */
4448
+ appId?: string;
4449
+ /** the action key */
4450
+ actionKey?: string;
4451
+ /** the action quota information */
4452
+ actionQuotaInfo?: ActionQuotaInfo;
4453
+ }
4454
+ interface ActionQuotaInfo {
4455
+ /**
4456
+ * Whether the quotas for your action are enforced. If you mark this as `true` in the response body,
4457
+ * Wix displays the information in the quota object on the site dashboard. If you mark this as `false` for
4458
+ * a user, Wix does not display any quota info on the site dashboard for your service.
4459
+ */
4460
+ enforced?: boolean;
4461
+ /**
4462
+ * The plans your service provides, together with the quotas enforced by each plan. A site may be enrolled
4463
+ * in multiple plans. Plans and quotas can be related as follows:
4464
+ *
4465
+ * + A single plan has a single quota.
4466
+ * + A single plan has multiple quotas.
4467
+ * + Multiple plans are associated with multiple quotas.
4468
+ *
4469
+ * Plans and quotas that are related should be grouped together in a single `quotaInfo`
4470
+ * object.
4471
+ */
4472
+ quotaInfo?: QuotaInfo[];
4473
+ }
4474
+ interface QuotaInfo {
4475
+ /** List of plans associated with the site making the request. */
4476
+ plans?: Plan[];
4477
+ /** List of quotas associated with the plans the site is enrolled in. */
4478
+ quotas?: Quota[];
4479
+ /**
4480
+ * Details for an upgrade call-to-action button.
4481
+ * Displayed in the site contributor’s dashboard together with the quota details.
4482
+ */
4483
+ upgradeCta?: UpgradeCTA;
4484
+ }
4485
+ interface Plan {
4486
+ /** Plan ID defined by the action provider. */
4487
+ _id?: string;
4488
+ /** Plan name to display in the site contributor’s dashboard. */
4489
+ name?: string;
4490
+ }
4491
+ interface Quota {
4492
+ /** Name of the feature the quota is related to. For example, "Messages sent". */
4493
+ featureName?: string;
4494
+ /**
4495
+ * Quota renewal date in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
4496
+ * For example, 10 July 2020 at 15:00 is written as `2020-07-10 15:00:00.000`.
4497
+ */
4498
+ renewalDate?: Date;
4499
+ /** The user's current quota usage. */
4500
+ currentUsage?: string;
4501
+ /** Quota limit data. */
4502
+ limit?: string | null;
4503
+ /** Additional information about the quota. Displayed as a tooltip in the site contributor’s dashboard. */
4504
+ additionalInfo?: AdditionalInfo;
4505
+ }
4506
+ interface CTA {
4507
+ /** Call-to-action redirect URL. */
4508
+ url?: string;
4509
+ /** Call-to-action label. */
4510
+ label?: string;
4511
+ }
4512
+ interface AdditionalInfo {
4513
+ /** Tooltip content. */
4514
+ description?: string;
4515
+ /** Details for an options call-to-action link that appears in the tooltip. */
4516
+ cta?: CTA;
4517
+ }
4518
+ interface UpgradeCTA {
4519
+ /** CTA button redirect URL. */
4520
+ url?: string;
4521
+ /** CTA button label. */
4522
+ label?: string;
4523
+ }
4524
+ interface MessageEnvelope {
4525
+ /** App instance ID. */
4526
+ instanceId?: string | null;
4527
+ /** Event type. */
4528
+ eventType?: string;
4529
+ /** The identification type and identity data. */
4530
+ identity?: IdentificationData;
4531
+ /** Stringify payload. */
4532
+ data?: string;
4533
+ }
4534
+ interface IdentificationData extends IdentificationDataIdOneOf {
4535
+ /** ID of a site visitor that has not logged in to the site. */
4536
+ anonymousVisitorId?: string;
4537
+ /** ID of a site visitor that has logged in to the site. */
4538
+ memberId?: string;
4539
+ /** ID of a Wix user (site owner, contributor, etc.). */
4540
+ wixUserId?: string;
4541
+ /** ID of an app. */
4542
+ appId?: string;
4543
+ /** @readonly */
4544
+ identityType?: WebhookIdentityType;
4545
+ }
4546
+ /** @oneof */
4547
+ interface IdentificationDataIdOneOf {
4548
+ /** ID of a site visitor that has not logged in to the site. */
4549
+ anonymousVisitorId?: string;
4550
+ /** ID of a site visitor that has logged in to the site. */
4551
+ memberId?: string;
4552
+ /** ID of a Wix user (site owner, contributor, etc.). */
4553
+ wixUserId?: string;
4554
+ /** ID of an app. */
4555
+ appId?: string;
4556
+ }
4557
+ declare enum WebhookIdentityType {
4558
+ UNKNOWN = "UNKNOWN",
4559
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
4560
+ MEMBER = "MEMBER",
4561
+ WIX_USER = "WIX_USER",
4562
+ APP = "APP"
4563
+ }
4564
+ interface ApplicationOriginNonNullableFields {
4565
+ appId: string;
4566
+ }
4567
+ interface PreinstalledOriginNonNullableFields {
4568
+ appId: string;
4569
+ componentId: string;
4570
+ componentVersion: number;
4571
+ }
4572
+ interface AuditInfoNonNullableFields {
4573
+ userId: string;
4574
+ appId: string;
4575
+ }
4576
+ interface FilterNonNullableFields {
4577
+ _id: string;
4578
+ fieldKey: string;
4579
+ filterExpression: string;
4580
+ }
4581
+ interface FutureDateActivationOffsetNonNullableFields {
4582
+ preScheduledEventOffsetExpression: string;
4583
+ scheduledEventOffsetTimeUnit: TimeUnit;
4584
+ }
4585
+ interface RateLimitNonNullableFields {
4586
+ maxActivationsExpression: string;
4587
+ durationTimeUnit: TimeUnit;
4588
+ }
4589
+ interface TriggerNonNullableFields {
4590
+ appId: string;
4591
+ triggerKey: string;
4592
+ filters: FilterNonNullableFields[];
4593
+ scheduledEventOffset?: FutureDateActivationOffsetNonNullableFields;
4594
+ rateLimit?: RateLimitNonNullableFields;
4595
+ }
4596
+ interface AutomationConfigurationNonNullableFields {
4597
+ status: Status;
4598
+ trigger?: TriggerNonNullableFields;
4599
+ rootActionIds: string[];
4600
+ }
4601
+ interface ActionSettingsNonNullableFields {
4602
+ permanentActionIds: string[];
4603
+ readonlyActionIds: string[];
4604
+ disableDelayAddition: boolean;
4605
+ disableConditionAddition: boolean;
4606
+ }
4607
+ interface AutomationSettingsNonNullableFields {
4608
+ hidden: boolean;
4609
+ readonly: boolean;
4610
+ disableDelete: boolean;
4611
+ disableStatusChange: boolean;
4612
+ actionSettings?: ActionSettingsNonNullableFields;
4613
+ }
4614
+ interface AutomationNonNullableFields {
4615
+ applicationInfo?: ApplicationOriginNonNullableFields;
4616
+ preinstalledInfo?: PreinstalledOriginNonNullableFields;
4617
+ createdBy?: AuditInfoNonNullableFields;
4618
+ updatedBy?: AuditInfoNonNullableFields;
4619
+ name: string;
4620
+ configuration?: AutomationConfigurationNonNullableFields;
4621
+ origin: Origin;
4622
+ settings?: AutomationSettingsNonNullableFields;
4623
+ }
4624
+ interface CreateAutomationResponseNonNullableFields {
4625
+ automation?: AutomationNonNullableFields;
4626
+ }
4627
+ interface GetAutomationResponseNonNullableFields {
4628
+ automation?: AutomationNonNullableFields;
4629
+ }
4630
+ interface UpdateAutomationResponseNonNullableFields {
4631
+ automation?: AutomationNonNullableFields;
4632
+ }
4633
+ interface QueryAutomationsResponseNonNullableFields {
4634
+ automations: AutomationNonNullableFields[];
4635
+ }
4636
+ interface TriggerConfigurationErrorNonNullableFields {
4637
+ errorType: TriggerErrorType;
4638
+ }
4639
+ interface ProviderConfigurationErrorNonNullableFields {
4640
+ message: string;
4641
+ title: string;
4642
+ }
4643
+ interface TriggerValidationErrorNonNullableFields {
4644
+ configurationError?: TriggerConfigurationErrorNonNullableFields;
4645
+ providerConfigurationError?: ProviderConfigurationErrorNonNullableFields;
4646
+ errorType: TriggerValidationErrorValidationErrorType;
4647
+ }
4648
+ interface ActionConfigurationErrorNonNullableFields {
4649
+ errorType: ActionErrorType;
4650
+ }
4651
+ interface ActionValidationErrorNonNullableFields {
4652
+ configurationError?: ActionConfigurationErrorNonNullableFields;
4653
+ providerConfigurationError?: ProviderConfigurationErrorNonNullableFields;
4654
+ errorType: ValidationErrorType;
4655
+ }
4656
+ interface ActionValidationInfoNonNullableFields {
4657
+ appId: string;
4658
+ actionKey: string;
4659
+ validationErrors: ActionValidationErrorNonNullableFields[];
4660
+ }
4661
+ interface ValidateAutomationResponseNonNullableFields {
4662
+ valid: boolean;
4663
+ triggerValidationErrors: TriggerValidationErrorNonNullableFields[];
4664
+ actionValidationInfo: ActionValidationInfoNonNullableFields[];
4665
+ }
4666
+ interface BaseEventMetadata {
4667
+ /** App instance ID. */
4668
+ instanceId?: string | null;
4669
+ /** Event type. */
4670
+ eventType?: string;
4671
+ /** The identification type and identity data. */
4672
+ identity?: IdentificationData;
4673
+ }
4674
+ interface EventMetadata extends BaseEventMetadata {
4675
+ /**
4676
+ * Unique event ID.
4677
+ * Allows clients to ignore duplicate webhooks.
4678
+ */
4679
+ _id?: string;
4680
+ /**
4681
+ * Assumes actions are also always typed to an entity_type
4682
+ * Example: wix.stores.catalog.product, wix.bookings.session, wix.payments.transaction
4683
+ */
4684
+ entityFqdn?: string;
4685
+ /**
4686
+ * This is top level to ease client code dispatching of messages (switch on entity_fqdn+slug)
4687
+ * This is although the created/updated/deleted notion is duplication of the oneof types
4688
+ * Example: created/updated/deleted/started/completed/email_opened
4689
+ */
4690
+ slug?: string;
4691
+ /** ID of the entity associated with the event. */
4692
+ entityId?: string;
4693
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example: 2020-04-26T13:57:50.699Z */
4694
+ eventTime?: Date;
4695
+ /**
4696
+ * Whether the event was triggered as a result of a privacy regulation application
4697
+ * (for example, GDPR).
4698
+ */
4699
+ triggeredByAnonymizeRequest?: boolean | null;
4700
+ /** If present, indicates the action that triggered the event. */
4701
+ originatedFrom?: string | null;
4702
+ /**
4703
+ * A sequence number defining the order of updates to the underlying entity.
4704
+ * For example, given that some entity was updated at 16:00 and than again at 16:01,
4705
+ * it is guaranteed that the sequence number of the second update is strictly higher than the first.
4706
+ * As the consumer, you can use this value to ensure that you handle messages in the correct order.
4707
+ * To do so, you will need to persist this number on your end, and compare the sequence number from the
4708
+ * message against the one you have stored. Given that the stored number is higher, you should ignore the message.
4709
+ */
4710
+ entityEventSequence?: string | null;
4711
+ }
4712
+ interface AutomationCreatedEnvelope {
4713
+ entity: Automation;
4714
+ metadata: EventMetadata;
4715
+ }
4716
+ interface AutomationUpdatedEnvelope {
4717
+ entity: Automation;
4718
+ metadata: EventMetadata;
4719
+ }
4720
+ interface AutomationUpdatedWithPreviousEntityEnvelope {
4721
+ data: UpdatedWithPreviousEntity;
4722
+ metadata: EventMetadata;
4723
+ }
4724
+ interface AutomationDeletedEnvelope {
4725
+ metadata: EventMetadata;
4726
+ }
4727
+ interface AutomationDeletedWithEntityEnvelope {
4728
+ data: DeletedWithEntity;
4729
+ metadata: EventMetadata;
4730
+ }
4731
+ interface GetAutomationOptions {
4732
+ /** Automation Origin */
4733
+ origin?: Origin;
4734
+ }
4735
+ interface UpdateAutomation {
4736
+ /** Application info */
4737
+ applicationInfo?: ApplicationOrigin;
4738
+ /** Preinstalled info */
4739
+ preinstalledInfo?: PreinstalledOrigin;
4740
+ /**
4741
+ * Automation ID.
4742
+ * @readonly
4743
+ */
4744
+ _id?: string | null;
4745
+ /**
4746
+ * Revision number, which increments by 1 each time the Automation is updated.
4747
+ * To prevent conflicting changes,
4748
+ * the current revision must be passed when updating the Automation.
4749
+ *
4750
+ * Ignored when creating an Automation.
4751
+ * @readonly
4752
+ */
4753
+ revision?: string | null;
4754
+ /**
4755
+ * information about the creator of the automation
4756
+ * @readonly
4757
+ */
4758
+ createdBy?: AuditInfo;
4759
+ /**
4760
+ * Date and time the Automation was created.
4761
+ * @readonly
4762
+ */
4763
+ _createdDate?: Date;
4764
+ /**
4765
+ * information about who updated of the automation
4766
+ * @readonly
4767
+ */
4768
+ updatedBy?: AuditInfo;
4769
+ /**
4770
+ * Date and time the Automation was last updated.
4771
+ * @readonly
4772
+ */
4773
+ _updatedDate?: Date;
4774
+ /** Automation name */
4775
+ name?: string;
4776
+ /** Automation description */
4777
+ description?: string | null;
4778
+ /** Automation runtime configuration */
4779
+ configuration?: AutomationConfiguration;
4780
+ /** Origin type */
4781
+ origin?: Origin;
4782
+ /** Automation settings */
4783
+ settings?: AutomationSettings;
4784
+ }
4785
+ interface QueryCursorResult {
4786
+ cursors: Cursors;
4787
+ hasNext: () => boolean;
4788
+ hasPrev: () => boolean;
4789
+ length: number;
4790
+ pageSize: number;
4791
+ }
4792
+ interface AutomationsQueryResult extends QueryCursorResult {
4793
+ items: Automation[];
4794
+ query: AutomationsQueryBuilder;
4795
+ next: () => Promise<AutomationsQueryResult>;
4796
+ prev: () => Promise<AutomationsQueryResult>;
4797
+ }
4798
+ interface AutomationsQueryBuilder {
4799
+ /** @param propertyName - Property whose value is compared with `value`.
4800
+ * @param value - Value to compare against.
4801
+ * @documentationMaturity preview
4802
+ */
4803
+ eq: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition', value: any) => AutomationsQueryBuilder;
4804
+ /** @param propertyName - Property whose value is compared with `value`.
4805
+ * @param value - Value to compare against.
4806
+ * @documentationMaturity preview
4807
+ */
4808
+ ne: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition', value: any) => AutomationsQueryBuilder;
4809
+ /** @param propertyName - Property whose value is compared with `string`.
4810
+ * @param string - String to compare against. Case-insensitive.
4811
+ * @documentationMaturity preview
4812
+ */
4813
+ startsWith: (propertyName: 'name' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey', value: string) => AutomationsQueryBuilder;
4814
+ /** @param propertyName - Property whose value is compared with `values`.
4815
+ * @param values - List of values to compare against.
4816
+ * @documentationMaturity preview
4817
+ */
4818
+ hasSome: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition', value: any[]) => AutomationsQueryBuilder;
4819
+ /** @param propertyName - Property whose value is compared with `values`.
4820
+ * @param values - List of values to compare against.
4821
+ * @documentationMaturity preview
4822
+ */
4823
+ hasAll: (propertyName: 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds', value: any[]) => AutomationsQueryBuilder;
4824
+ /** @documentationMaturity preview */
4825
+ in: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition', value: any) => AutomationsQueryBuilder;
4826
+ /** @documentationMaturity preview */
4827
+ exists: (propertyName: 'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition', value: boolean) => AutomationsQueryBuilder;
4828
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
4829
+ * @documentationMaturity preview
4830
+ */
4831
+ ascending: (...propertyNames: Array<'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition'>) => AutomationsQueryBuilder;
4832
+ /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments.
4833
+ * @documentationMaturity preview
4834
+ */
4835
+ descending: (...propertyNames: Array<'name' | 'configuration.status' | 'configuration.trigger.appId' | 'configuration.trigger.triggerKey' | 'origin' | 'settings' | 'settings.readonly' | 'settings.disableDelete' | 'settings.disableStatusChange' | 'settings.actionSettings' | 'settings.actionSettings.permanentActionIds' | 'settings.actionSettings.readonlyActionIds' | 'settings.actionSettings.disableDelayAddition' | 'settings.actionSettings.disableConditionAddition'>) => AutomationsQueryBuilder;
4836
+ /** @param limit - Number of items to return, which is also the `pageSize` of the results object.
4837
+ * @documentationMaturity preview
4838
+ */
4839
+ limit: (limit: number) => AutomationsQueryBuilder;
4840
+ /** @param cursor - A pointer to specific record
4841
+ * @documentationMaturity preview
4842
+ */
4843
+ skipTo: (cursor: string) => AutomationsQueryBuilder;
4844
+ /** @documentationMaturity preview */
4845
+ find: () => Promise<AutomationsQueryResult>;
4846
+ }
4847
+ interface ValidateAutomationOptions {
4848
+ /** optional validation settings */
4849
+ validationSettings?: ValidationSettings;
3298
4850
  }
3299
4851
 
3300
4852
  declare function createRESTModule<T extends RESTFunctionDescriptor>(descriptor: T, elevated?: boolean): BuildRESTFunction<T> & T;
3301
4853
 
3302
4854
  declare function createEventModule<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
3303
4855
 
3304
- declare const reportEvent: ReturnType<typeof createRESTModule<typeof publicReportEvent>>;
3305
- declare const bulkReportEvent: ReturnType<typeof createRESTModule<typeof publicBulkReportEvent>>;
3306
- declare const bulkCancelEvent: ReturnType<typeof createRESTModule<typeof publicBulkCancelEvent>>;
3307
- declare const cancelEvent: ReturnType<typeof createRESTModule<typeof publicCancelEvent>>;
3308
- declare const onActivationStatusChanged: ReturnType<typeof createEventModule<typeof publicOnActivationStatusChanged>>;
4856
+ declare const createAutomation: ReturnType<typeof createRESTModule<typeof publicCreateAutomation>>;
4857
+ declare const getAutomation: ReturnType<typeof createRESTModule<typeof publicGetAutomation>>;
4858
+ declare const updateAutomation: ReturnType<typeof createRESTModule<typeof publicUpdateAutomation>>;
4859
+ declare const deleteAutomation: ReturnType<typeof createRESTModule<typeof publicDeleteAutomation>>;
4860
+ declare const queryAutomations: ReturnType<typeof createRESTModule<typeof publicQueryAutomations>>;
4861
+ declare const validateAutomation: ReturnType<typeof createRESTModule<typeof publicValidateAutomation>>;
4862
+ declare const onAutomationCreated: ReturnType<typeof createEventModule<typeof publicOnAutomationCreated>>;
4863
+ declare const onAutomationUpdated: ReturnType<typeof createEventModule<typeof publicOnAutomationUpdated>>;
4864
+ declare const onAutomationUpdatedWithPreviousEntity: ReturnType<typeof createEventModule<typeof publicOnAutomationUpdatedWithPreviousEntity>>;
4865
+ declare const onAutomationDeleted: ReturnType<typeof createEventModule<typeof publicOnAutomationDeleted>>;
4866
+ declare const onAutomationDeletedWithEntity: ReturnType<typeof createEventModule<typeof publicOnAutomationDeletedWithEntity>>;
3309
4867
 
3310
4868
  type index_d_Action = Action;
3311
- type index_d_ActionActionOneOf = ActionActionOneOf;
3312
- type index_d_ActionCompletedRequest = ActionCompletedRequest;
3313
- type index_d_ActionData = ActionData;
4869
+ type index_d_ActionConfigurationError = ActionConfigurationError;
4870
+ type index_d_ActionErrorType = ActionErrorType;
4871
+ declare const index_d_ActionErrorType: typeof ActionErrorType;
3314
4872
  type index_d_ActionEvent = ActionEvent;
4873
+ type index_d_ActionInfoOneOf = ActionInfoOneOf;
4874
+ type index_d_ActionProviderQuotaInfo = ActionProviderQuotaInfo;
4875
+ type index_d_ActionQuotaInfo = ActionQuotaInfo;
3315
4876
  type index_d_ActionSettings = ActionSettings;
3316
- type index_d_ActionStatus = ActionStatus;
3317
- type index_d_ActionsData = ActionsData;
3318
- type index_d_Activation = Activation;
3319
- type index_d_ActivationActionStatusChanged = ActivationActionStatusChanged;
3320
- type index_d_ActivationActionStatusChangedStatus = ActivationActionStatusChangedStatus;
3321
- declare const index_d_ActivationActionStatusChangedStatus: typeof ActivationActionStatusChangedStatus;
3322
- type index_d_ActivationActionStatusChangedStatusInfoOneOf = ActivationActionStatusChangedStatusInfoOneOf;
3323
- type index_d_ActivationContinuedAfterSchedule = ActivationContinuedAfterSchedule;
3324
- type index_d_ActivationRequest = ActivationRequest;
3325
- type index_d_ActivationResumeAfterDelay = ActivationResumeAfterDelay;
3326
- type index_d_ActivationScheduleCompleted = ActivationScheduleCompleted;
3327
- type index_d_ActivationScheduleRequested = ActivationScheduleRequested;
3328
- type index_d_ActivationSource = ActivationSource;
3329
- type index_d_ActivationSourceOfOneOf = ActivationSourceOfOneOf;
3330
- type index_d_ActivationStatus = ActivationStatus;
3331
- type index_d_ActivationStatusChanged = ActivationStatusChanged;
3332
- type index_d_ActivationStatusChangedEnvelope = ActivationStatusChangedEnvelope;
3333
- type index_d_ActivationStatusChangedFailedStatusInfo = ActivationStatusChangedFailedStatusInfo;
3334
- type index_d_ActivationStatusChangedStatus = ActivationStatusChangedStatus;
3335
- declare const index_d_ActivationStatusChangedStatus: typeof ActivationStatusChangedStatus;
3336
- type index_d_ActivationStatusChangedStatusInfoOneOf = ActivationStatusChangedStatusInfoOneOf;
4877
+ type index_d_ActionValidationError = ActionValidationError;
4878
+ type index_d_ActionValidationErrorErrorOneOf = ActionValidationErrorErrorOneOf;
4879
+ type index_d_ActionValidationInfo = ActionValidationInfo;
4880
+ type index_d_AdditionalInfo = AdditionalInfo;
3337
4881
  type index_d_AppDefinedAction = AppDefinedAction;
3338
- type index_d_AppDefinedActionInfo = AppDefinedActionInfo;
3339
4882
  type index_d_ApplicationError = ApplicationError;
3340
4883
  type index_d_ApplicationOrigin = ApplicationOrigin;
3341
- type index_d_AsyncAction = AsyncAction;
4884
+ type index_d_Asset = Asset;
3342
4885
  type index_d_AuditInfo = AuditInfo;
3343
4886
  type index_d_AuditInfoIdOneOf = AuditInfoIdOneOf;
3344
4887
  type index_d_Automation = Automation;
3345
4888
  type index_d_AutomationConfiguration = AutomationConfiguration;
3346
- type index_d_AutomationConfigurationAction = AutomationConfigurationAction;
3347
- type index_d_AutomationConfigurationActionInfoOneOf = AutomationConfigurationActionInfoOneOf;
3348
- type index_d_AutomationConfigurationStatus = AutomationConfigurationStatus;
3349
- declare const index_d_AutomationConfigurationStatus: typeof AutomationConfigurationStatus;
3350
- type index_d_AutomationIdentifier = AutomationIdentifier;
3351
- type index_d_AutomationInfo = AutomationInfo;
3352
- type index_d_AutomationInfoOriginInfoOneOf = AutomationInfoOriginInfoOneOf;
4889
+ type index_d_AutomationCreatedEnvelope = AutomationCreatedEnvelope;
4890
+ type index_d_AutomationDeletedEnvelope = AutomationDeletedEnvelope;
4891
+ type index_d_AutomationDeletedWithEntityEnvelope = AutomationDeletedWithEntityEnvelope;
4892
+ type index_d_AutomationNonNullableFields = AutomationNonNullableFields;
3353
4893
  type index_d_AutomationOriginInfoOneOf = AutomationOriginInfoOneOf;
3354
4894
  type index_d_AutomationSettings = AutomationSettings;
4895
+ type index_d_AutomationUpdatedEnvelope = AutomationUpdatedEnvelope;
4896
+ type index_d_AutomationUpdatedWithPreviousEntityEnvelope = AutomationUpdatedWithPreviousEntityEnvelope;
4897
+ type index_d_AutomationsQueryBuilder = AutomationsQueryBuilder;
4898
+ type index_d_AutomationsQueryResult = AutomationsQueryResult;
3355
4899
  type index_d_BaseEventMetadata = BaseEventMetadata;
3356
- type index_d_BatchActivationRequest = BatchActivationRequest;
3357
- type index_d_BlockType = BlockType;
3358
- declare const index_d_BlockType: typeof BlockType;
3359
4900
  type index_d_BulkActionMetadata = BulkActionMetadata;
3360
- type index_d_BulkCancelEventOptions = BulkCancelEventOptions;
3361
- type index_d_BulkCancelEventRequest = BulkCancelEventRequest;
3362
- type index_d_BulkCancelEventResponse = BulkCancelEventResponse;
3363
- type index_d_BulkCancelEventResponseNonNullableFields = BulkCancelEventResponseNonNullableFields;
3364
- type index_d_BulkCancelEventResult = BulkCancelEventResult;
3365
- type index_d_BulkReportEventOptions = BulkReportEventOptions;
3366
- type index_d_BulkReportEventRequest = BulkReportEventRequest;
3367
- type index_d_BulkReportEventResponse = BulkReportEventResponse;
3368
- type index_d_BulkReportEventResponseNonNullableFields = BulkReportEventResponseNonNullableFields;
3369
- type index_d_BulkReportEventResult = BulkReportEventResult;
3370
- type index_d_CancelEventOptions = CancelEventOptions;
3371
- type index_d_CancelEventRequest = CancelEventRequest;
3372
- type index_d_CancelEventResponse = CancelEventResponse;
3373
- type index_d_CancelPendingScheduleRequest = CancelPendingScheduleRequest;
3374
- type index_d_CancelPendingScheduleRequestByOneOf = CancelPendingScheduleRequestByOneOf;
3375
- type index_d_CancelPendingScheduleResponse = CancelPendingScheduleResponse;
3376
- type index_d_CancellationReason = CancellationReason;
3377
- declare const index_d_CancellationReason: typeof CancellationReason;
3378
- type index_d_CancelledStatusInfo = CancelledStatusInfo;
3379
- type index_d_Case = Case;
4901
+ type index_d_BulkDeleteAutomationsRequest = BulkDeleteAutomationsRequest;
4902
+ type index_d_BulkDeleteAutomationsResponse = BulkDeleteAutomationsResponse;
4903
+ type index_d_BulkDeleteResult = BulkDeleteResult;
4904
+ type index_d_CTA = CTA;
3380
4905
  type index_d_ConditionAction = ConditionAction;
3381
- type index_d_ConditionActionInfo = ConditionActionInfo;
3382
- type index_d_ConditionBlock = ConditionBlock;
3383
4906
  type index_d_ConditionExpressionGroup = ConditionExpressionGroup;
3384
- type index_d_ConditionFilter = ConditionFilter;
3385
- type index_d_Delay = Delay;
4907
+ type index_d_CopyAutomationRequest = CopyAutomationRequest;
4908
+ type index_d_CopyAutomationResponse = CopyAutomationResponse;
4909
+ type index_d_CreateAutomationRequest = CreateAutomationRequest;
4910
+ type index_d_CreateAutomationResponse = CreateAutomationResponse;
4911
+ type index_d_CreateAutomationResponseNonNullableFields = CreateAutomationResponseNonNullableFields;
4912
+ type index_d_CreatePreinstalledAutomationRequest = CreatePreinstalledAutomationRequest;
4913
+ type index_d_CreatePreinstalledAutomationResponse = CreatePreinstalledAutomationResponse;
4914
+ type index_d_CursorPaging = CursorPaging;
4915
+ type index_d_CursorPagingMetadata = CursorPagingMetadata;
4916
+ type index_d_CursorQuery = CursorQuery;
4917
+ type index_d_CursorQueryPagingMethodOneOf = CursorQueryPagingMethodOneOf;
4918
+ type index_d_Cursors = Cursors;
3386
4919
  type index_d_DelayAction = DelayAction;
3387
- type index_d_DelayActionInfo = DelayActionInfo;
3388
- type index_d_DelayHelper = DelayHelper;
3389
- type index_d_DelayOfOneOf = DelayOfOneOf;
4920
+ type index_d_DeleteAutomationRequest = DeleteAutomationRequest;
4921
+ type index_d_DeleteAutomationResponse = DeleteAutomationResponse;
4922
+ type index_d_DeleteContext = DeleteContext;
4923
+ type index_d_DeletePreinstalledAutomationRequest = DeletePreinstalledAutomationRequest;
4924
+ type index_d_DeletePreinstalledAutomationResponse = DeletePreinstalledAutomationResponse;
4925
+ type index_d_DeleteStatus = DeleteStatus;
4926
+ declare const index_d_DeleteStatus: typeof DeleteStatus;
4927
+ type index_d_DeletedWithEntity = DeletedWithEntity;
3390
4928
  type index_d_DomainEvent = DomainEvent;
3391
4929
  type index_d_DomainEventBodyOneOf = DomainEventBodyOneOf;
3392
4930
  type index_d_Empty = Empty;
3393
- type index_d_EndedStatusInfo = EndedStatusInfo;
3394
- type index_d_EndedStatusInfoTypeInfoOneOf = EndedStatusInfoTypeInfoOneOf;
3395
4931
  type index_d_EntityCreatedEvent = EntityCreatedEvent;
3396
4932
  type index_d_EntityDeletedEvent = EntityDeletedEvent;
3397
4933
  type index_d_EntityUpdatedEvent = EntityUpdatedEvent;
3398
- type index_d_EventInfo = EventInfo;
3399
4934
  type index_d_EventMetadata = EventMetadata;
3400
- type index_d_ExecuteFromActionRequest = ExecuteFromActionRequest;
3401
- type index_d_ExecuteFromActionResponse = ExecuteFromActionResponse;
3402
- type index_d_ExpressionEvaluationResult = ExpressionEvaluationResult;
3403
- type index_d_FailedStatusInfo = FailedStatusInfo;
3404
4935
  type index_d_Filter = Filter;
3405
4936
  type index_d_FutureDateActivationOffset = FutureDateActivationOffset;
3406
- type index_d_Idempotency = Idempotency;
4937
+ type index_d_GetActionsQuotaInfoRequest = GetActionsQuotaInfoRequest;
4938
+ type index_d_GetActionsQuotaInfoResponse = GetActionsQuotaInfoResponse;
4939
+ type index_d_GetAutomationActionSchemaRequest = GetAutomationActionSchemaRequest;
4940
+ type index_d_GetAutomationActionSchemaResponse = GetAutomationActionSchemaResponse;
4941
+ type index_d_GetAutomationOptions = GetAutomationOptions;
4942
+ type index_d_GetAutomationRequest = GetAutomationRequest;
4943
+ type index_d_GetAutomationResponse = GetAutomationResponse;
4944
+ type index_d_GetAutomationResponseNonNullableFields = GetAutomationResponseNonNullableFields;
4945
+ type index_d_GetAutomationRevisionRequest = GetAutomationRevisionRequest;
4946
+ type index_d_GetAutomationRevisionResponse = GetAutomationRevisionResponse;
3407
4947
  type index_d_IdentificationData = IdentificationData;
3408
4948
  type index_d_IdentificationDataIdOneOf = IdentificationDataIdOneOf;
3409
- type index_d_IdentifierType = IdentifierType;
3410
- declare const index_d_IdentifierType: typeof IdentifierType;
3411
- type index_d_Identity = Identity;
3412
- type index_d_IfFilter = IfFilter;
3413
- type index_d_InitiatedStatusInfo = InitiatedStatusInfo;
3414
4949
  type index_d_ItemMetadata = ItemMetadata;
3415
4950
  type index_d_MessageEnvelope = MessageEnvelope;
4951
+ type index_d_MetaSiteSpecialEvent = MetaSiteSpecialEvent;
4952
+ type index_d_MetaSiteSpecialEventPayloadOneOf = MetaSiteSpecialEventPayloadOneOf;
4953
+ type index_d_Namespace = Namespace;
4954
+ declare const index_d_Namespace: typeof Namespace;
4955
+ type index_d_NamespaceChanged = NamespaceChanged;
3416
4956
  type index_d_Operator = Operator;
3417
4957
  declare const index_d_Operator: typeof Operator;
3418
4958
  type index_d_Origin = Origin;
3419
4959
  declare const index_d_Origin: typeof Origin;
3420
- type index_d_Output = Output;
3421
4960
  type index_d_OutputAction = OutputAction;
3422
- type index_d_PreinstalledIdentifier = PreinstalledIdentifier;
4961
+ type index_d_Plan = Plan;
3423
4962
  type index_d_PreinstalledOrigin = PreinstalledOrigin;
4963
+ type index_d_ProviderConfigurationError = ProviderConfigurationError;
4964
+ type index_d_QueryAutomationsRequest = QueryAutomationsRequest;
4965
+ type index_d_QueryAutomationsResponse = QueryAutomationsResponse;
4966
+ type index_d_QueryAutomationsResponseNonNullableFields = QueryAutomationsResponseNonNullableFields;
4967
+ type index_d_Quota = Quota;
4968
+ type index_d_QuotaInfo = QuotaInfo;
4969
+ type index_d_RateLimit = RateLimit;
3424
4970
  type index_d_RateLimitAction = RateLimitAction;
3425
- type index_d_RateLimitActionInfo = RateLimitActionInfo;
3426
- type index_d_RateLimiting = RateLimiting;
3427
- type index_d_RefreshPayloadRequest = RefreshPayloadRequest;
3428
- type index_d_RefreshPayloadResponse = RefreshPayloadResponse;
3429
- type index_d_ReportDomainEventRequest = ReportDomainEventRequest;
3430
- type index_d_ReportDomainEventResponse = ReportDomainEventResponse;
3431
- type index_d_ReportEventOptions = ReportEventOptions;
3432
- type index_d_ReportEventRequest = ReportEventRequest;
3433
- type index_d_ReportEventResponse = ReportEventResponse;
3434
- type index_d_ReportEventResponseNonNullableFields = ReportEventResponseNonNullableFields;
3435
- type index_d_RunAutomationRequest = RunAutomationRequest;
3436
- type index_d_RunAutomationResponse = RunAutomationResponse;
3437
- type index_d_Runtime = Runtime;
3438
- type index_d_Schedule = Schedule;
3439
- type index_d_ScheduleRequest = ScheduleRequest;
3440
- type index_d_ScheduleResponse = ScheduleResponse;
3441
- type index_d_ScheduleStatus = ScheduleStatus;
3442
- declare const index_d_ScheduleStatus: typeof ScheduleStatus;
3443
- type index_d_ScheduledAction = ScheduledAction;
3444
- type index_d_ScheduledStatusInfo = ScheduledStatusInfo;
3445
- type index_d_Scheduler = Scheduler;
3446
- type index_d_Service = Service;
3447
- type index_d_ServiceMapping = ServiceMapping;
3448
- type index_d_SimpleDelay = SimpleDelay;
3449
- type index_d_SpiAction = SpiAction;
3450
- type index_d_StartedStatusInfo = StartedStatusInfo;
3451
- type index_d_StartedStatusInfoAppDefinedActionInfo = StartedStatusInfoAppDefinedActionInfo;
3452
- type index_d_StartedStatusInfoTypeInfoOneOf = StartedStatusInfoTypeInfoOneOf;
4971
+ type index_d_RestoreInfo = RestoreInfo;
4972
+ type index_d_ServiceProvisioned = ServiceProvisioned;
4973
+ type index_d_ServiceRemoved = ServiceRemoved;
4974
+ type index_d_SiteCreated = SiteCreated;
4975
+ type index_d_SiteCreatedContext = SiteCreatedContext;
4976
+ declare const index_d_SiteCreatedContext: typeof SiteCreatedContext;
4977
+ type index_d_SiteDeleted = SiteDeleted;
4978
+ type index_d_SiteHardDeleted = SiteHardDeleted;
4979
+ type index_d_SiteMarkedAsTemplate = SiteMarkedAsTemplate;
4980
+ type index_d_SiteMarkedAsWixSite = SiteMarkedAsWixSite;
4981
+ type index_d_SitePublished = SitePublished;
4982
+ type index_d_SiteRenamed = SiteRenamed;
4983
+ type index_d_SiteTransferred = SiteTransferred;
4984
+ type index_d_SiteUndeleted = SiteUndeleted;
4985
+ type index_d_SiteUnpublished = SiteUnpublished;
4986
+ type index_d_SortOrder = SortOrder;
4987
+ declare const index_d_SortOrder: typeof SortOrder;
4988
+ type index_d_Sorting = Sorting;
4989
+ type index_d_State = State;
4990
+ declare const index_d_State: typeof State;
3453
4991
  type index_d_Status = Status;
3454
4992
  declare const index_d_Status: typeof Status;
3455
- type index_d_SwitchFilter = SwitchFilter;
3456
- type index_d_SystemHelper = SystemHelper;
3457
- type index_d_SystemHelperHelperOneOf = SystemHelperHelperOneOf;
3458
- type index_d_Target = Target;
3459
- declare const index_d_Target: typeof Target;
4993
+ type index_d_StudioAssigned = StudioAssigned;
4994
+ type index_d_StudioUnassigned = StudioUnassigned;
3460
4995
  type index_d_TimeUnit = TimeUnit;
3461
4996
  declare const index_d_TimeUnit: typeof TimeUnit;
3462
4997
  type index_d_Trigger = Trigger;
3463
- type index_d_TriggerInfo = TriggerInfo;
4998
+ type index_d_TriggerConfigurationError = TriggerConfigurationError;
4999
+ type index_d_TriggerErrorType = TriggerErrorType;
5000
+ declare const index_d_TriggerErrorType: typeof TriggerErrorType;
5001
+ type index_d_TriggerValidationError = TriggerValidationError;
5002
+ type index_d_TriggerValidationErrorErrorOneOf = TriggerValidationErrorErrorOneOf;
5003
+ type index_d_TriggerValidationErrorValidationErrorType = TriggerValidationErrorValidationErrorType;
5004
+ declare const index_d_TriggerValidationErrorValidationErrorType: typeof TriggerValidationErrorValidationErrorType;
3464
5005
  type index_d_Type = Type;
3465
5006
  declare const index_d_Type: typeof Type;
3466
- type index_d_UndeleteInfo = UndeleteInfo;
3467
- type index_d_Units = Units;
3468
- declare const index_d_Units: typeof Units;
3469
- type index_d_UpdatePendingSchedulesPayloadRequest = UpdatePendingSchedulesPayloadRequest;
3470
- type index_d_UpdatePendingSchedulesPayloadResponse = UpdatePendingSchedulesPayloadResponse;
3471
- type index_d_V1RunAutomationRequest = V1RunAutomationRequest;
3472
- type index_d_V1RunAutomationRequestIdentifierOneOf = V1RunAutomationRequestIdentifierOneOf;
3473
- type index_d_V1RunAutomationResponse = V1RunAutomationResponse;
5007
+ type index_d_UpdateAutomation = UpdateAutomation;
5008
+ type index_d_UpdateAutomationRequest = UpdateAutomationRequest;
5009
+ type index_d_UpdateAutomationResponse = UpdateAutomationResponse;
5010
+ type index_d_UpdateAutomationResponseNonNullableFields = UpdateAutomationResponseNonNullableFields;
5011
+ type index_d_UpdatedWithPreviousEntity = UpdatedWithPreviousEntity;
5012
+ type index_d_UpgradeCTA = UpgradeCTA;
5013
+ type index_d_ValidateAutomationOptions = ValidateAutomationOptions;
5014
+ type index_d_ValidateAutomationRequest = ValidateAutomationRequest;
5015
+ type index_d_ValidateAutomationResponse = ValidateAutomationResponse;
5016
+ type index_d_ValidateAutomationResponseNonNullableFields = ValidateAutomationResponseNonNullableFields;
5017
+ type index_d_ValidationErrorType = ValidationErrorType;
5018
+ declare const index_d_ValidationErrorType: typeof ValidationErrorType;
5019
+ type index_d_ValidationSettings = ValidationSettings;
3474
5020
  type index_d_WebhookIdentityType = WebhookIdentityType;
3475
5021
  declare const index_d_WebhookIdentityType: typeof WebhookIdentityType;
3476
- declare const index_d_bulkCancelEvent: typeof bulkCancelEvent;
3477
- declare const index_d_bulkReportEvent: typeof bulkReportEvent;
3478
- declare const index_d_cancelEvent: typeof cancelEvent;
3479
- declare const index_d_onActivationStatusChanged: typeof onActivationStatusChanged;
3480
- declare const index_d_reportEvent: typeof reportEvent;
5022
+ declare const index_d_createAutomation: typeof createAutomation;
5023
+ declare const index_d_deleteAutomation: typeof deleteAutomation;
5024
+ declare const index_d_getAutomation: typeof getAutomation;
5025
+ declare const index_d_onAutomationCreated: typeof onAutomationCreated;
5026
+ declare const index_d_onAutomationDeleted: typeof onAutomationDeleted;
5027
+ declare const index_d_onAutomationDeletedWithEntity: typeof onAutomationDeletedWithEntity;
5028
+ declare const index_d_onAutomationUpdated: typeof onAutomationUpdated;
5029
+ declare const index_d_onAutomationUpdatedWithPreviousEntity: typeof onAutomationUpdatedWithPreviousEntity;
5030
+ declare const index_d_queryAutomations: typeof queryAutomations;
5031
+ declare const index_d_updateAutomation: typeof updateAutomation;
5032
+ declare const index_d_validateAutomation: typeof validateAutomation;
3481
5033
  declare namespace index_d {
3482
- export { type index_d_Action as Action, type index_d_ActionActionOneOf as ActionActionOneOf, type index_d_ActionCompletedRequest as ActionCompletedRequest, type index_d_ActionData as ActionData, type index_d_ActionEvent as ActionEvent, type index_d_ActionSettings as ActionSettings, type index_d_ActionStatus as ActionStatus, type index_d_ActionsData as ActionsData, type index_d_Activation as Activation, type index_d_ActivationActionStatusChanged as ActivationActionStatusChanged, index_d_ActivationActionStatusChangedStatus as ActivationActionStatusChangedStatus, type index_d_ActivationActionStatusChangedStatusInfoOneOf as ActivationActionStatusChangedStatusInfoOneOf, type index_d_ActivationContinuedAfterSchedule as ActivationContinuedAfterSchedule, type index_d_ActivationRequest as ActivationRequest, type index_d_ActivationResumeAfterDelay as ActivationResumeAfterDelay, type index_d_ActivationScheduleCompleted as ActivationScheduleCompleted, type index_d_ActivationScheduleRequested as ActivationScheduleRequested, type index_d_ActivationSource as ActivationSource, type index_d_ActivationSourceOfOneOf as ActivationSourceOfOneOf, type index_d_ActivationStatus as ActivationStatus, type index_d_ActivationStatusChanged as ActivationStatusChanged, type index_d_ActivationStatusChangedEnvelope as ActivationStatusChangedEnvelope, type index_d_ActivationStatusChangedFailedStatusInfo as ActivationStatusChangedFailedStatusInfo, index_d_ActivationStatusChangedStatus as ActivationStatusChangedStatus, type index_d_ActivationStatusChangedStatusInfoOneOf as ActivationStatusChangedStatusInfoOneOf, type index_d_AppDefinedAction as AppDefinedAction, type index_d_AppDefinedActionInfo as AppDefinedActionInfo, type index_d_ApplicationError as ApplicationError, type index_d_ApplicationOrigin as ApplicationOrigin, type index_d_AsyncAction as AsyncAction, type index_d_AuditInfo as AuditInfo, type index_d_AuditInfoIdOneOf as AuditInfoIdOneOf, type index_d_Automation as Automation, type index_d_AutomationConfiguration as AutomationConfiguration, type index_d_AutomationConfigurationAction as AutomationConfigurationAction, type index_d_AutomationConfigurationActionInfoOneOf as AutomationConfigurationActionInfoOneOf, index_d_AutomationConfigurationStatus as AutomationConfigurationStatus, type index_d_AutomationIdentifier as AutomationIdentifier, type index_d_AutomationInfo as AutomationInfo, type index_d_AutomationInfoOriginInfoOneOf as AutomationInfoOriginInfoOneOf, type index_d_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type index_d_AutomationSettings as AutomationSettings, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BatchActivationRequest as BatchActivationRequest, index_d_BlockType as BlockType, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkCancelEventOptions as BulkCancelEventOptions, type index_d_BulkCancelEventRequest as BulkCancelEventRequest, type index_d_BulkCancelEventResponse as BulkCancelEventResponse, type index_d_BulkCancelEventResponseNonNullableFields as BulkCancelEventResponseNonNullableFields, type index_d_BulkCancelEventResult as BulkCancelEventResult, type index_d_BulkReportEventOptions as BulkReportEventOptions, type index_d_BulkReportEventRequest as BulkReportEventRequest, type index_d_BulkReportEventResponse as BulkReportEventResponse, type index_d_BulkReportEventResponseNonNullableFields as BulkReportEventResponseNonNullableFields, type index_d_BulkReportEventResult as BulkReportEventResult, type index_d_CancelEventOptions as CancelEventOptions, type index_d_CancelEventRequest as CancelEventRequest, type index_d_CancelEventResponse as CancelEventResponse, type index_d_CancelPendingScheduleRequest as CancelPendingScheduleRequest, type index_d_CancelPendingScheduleRequestByOneOf as CancelPendingScheduleRequestByOneOf, type index_d_CancelPendingScheduleResponse as CancelPendingScheduleResponse, index_d_CancellationReason as CancellationReason, type index_d_CancelledStatusInfo as CancelledStatusInfo, type index_d_Case as Case, type index_d_ConditionAction as ConditionAction, type index_d_ConditionActionInfo as ConditionActionInfo, type index_d_ConditionBlock as ConditionBlock, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_ConditionFilter as ConditionFilter, type index_d_Delay as Delay, type index_d_DelayAction as DelayAction, type index_d_DelayActionInfo as DelayActionInfo, type index_d_DelayHelper as DelayHelper, type index_d_DelayOfOneOf as DelayOfOneOf, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EndedStatusInfo as EndedStatusInfo, type index_d_EndedStatusInfoTypeInfoOneOf as EndedStatusInfoTypeInfoOneOf, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventInfo as EventInfo, type index_d_EventMetadata as EventMetadata, type index_d_ExecuteFromActionRequest as ExecuteFromActionRequest, type index_d_ExecuteFromActionResponse as ExecuteFromActionResponse, type index_d_ExpressionEvaluationResult as ExpressionEvaluationResult, type index_d_FailedStatusInfo as FailedStatusInfo, type index_d_Filter as Filter, type index_d_FutureDateActivationOffset as FutureDateActivationOffset, type index_d_Idempotency as Idempotency, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, index_d_IdentifierType as IdentifierType, type index_d_Identity as Identity, type index_d_IfFilter as IfFilter, type index_d_InitiatedStatusInfo as InitiatedStatusInfo, type index_d_ItemMetadata as ItemMetadata, type index_d_MessageEnvelope as MessageEnvelope, index_d_Operator as Operator, index_d_Origin as Origin, type index_d_Output as Output, type index_d_OutputAction as OutputAction, type index_d_PreinstalledIdentifier as PreinstalledIdentifier, type index_d_PreinstalledOrigin as PreinstalledOrigin, type index_d_RateLimitAction as RateLimitAction, type index_d_RateLimitActionInfo as RateLimitActionInfo, type index_d_RateLimiting as RateLimiting, type index_d_RefreshPayloadRequest as RefreshPayloadRequest, type index_d_RefreshPayloadResponse as RefreshPayloadResponse, type index_d_ReportDomainEventRequest as ReportDomainEventRequest, type index_d_ReportDomainEventResponse as ReportDomainEventResponse, type index_d_ReportEventOptions as ReportEventOptions, type index_d_ReportEventRequest as ReportEventRequest, type index_d_ReportEventResponse as ReportEventResponse, type index_d_ReportEventResponseNonNullableFields as ReportEventResponseNonNullableFields, type index_d_RunAutomationRequest as RunAutomationRequest, type index_d_RunAutomationResponse as RunAutomationResponse, type index_d_Runtime as Runtime, type index_d_Schedule as Schedule, type index_d_ScheduleRequest as ScheduleRequest, type index_d_ScheduleResponse as ScheduleResponse, index_d_ScheduleStatus as ScheduleStatus, type index_d_ScheduledAction as ScheduledAction, type index_d_ScheduledStatusInfo as ScheduledStatusInfo, type index_d_Scheduler as Scheduler, type index_d_Service as Service, type index_d_ServiceMapping as ServiceMapping, type index_d_SimpleDelay as SimpleDelay, type index_d_SpiAction as SpiAction, type index_d_StartedStatusInfo as StartedStatusInfo, type index_d_StartedStatusInfoAppDefinedActionInfo as StartedStatusInfoAppDefinedActionInfo, type index_d_StartedStatusInfoTypeInfoOneOf as StartedStatusInfoTypeInfoOneOf, index_d_Status as Status, type index_d_SwitchFilter as SwitchFilter, type index_d_SystemHelper as SystemHelper, type index_d_SystemHelperHelperOneOf as SystemHelperHelperOneOf, index_d_Target as Target, index_d_TimeUnit as TimeUnit, type index_d_Trigger as Trigger, type index_d_TriggerInfo as TriggerInfo, index_d_Type as Type, type index_d_UndeleteInfo as UndeleteInfo, index_d_Units as Units, type index_d_UpdatePendingSchedulesPayloadRequest as UpdatePendingSchedulesPayloadRequest, type index_d_UpdatePendingSchedulesPayloadResponse as UpdatePendingSchedulesPayloadResponse, type index_d_V1RunAutomationRequest as V1RunAutomationRequest, type index_d_V1RunAutomationRequestIdentifierOneOf as V1RunAutomationRequestIdentifierOneOf, type index_d_V1RunAutomationResponse as V1RunAutomationResponse, index_d_WebhookIdentityType as WebhookIdentityType, index_d_bulkCancelEvent as bulkCancelEvent, index_d_bulkReportEvent as bulkReportEvent, index_d_cancelEvent as cancelEvent, index_d_onActivationStatusChanged as onActivationStatusChanged, index_d_reportEvent as reportEvent };
5034
+ export { type index_d_Action as Action, type index_d_ActionConfigurationError as ActionConfigurationError, index_d_ActionErrorType as ActionErrorType, type index_d_ActionEvent as ActionEvent, type index_d_ActionInfoOneOf as ActionInfoOneOf, type index_d_ActionProviderQuotaInfo as ActionProviderQuotaInfo, type index_d_ActionQuotaInfo as ActionQuotaInfo, type index_d_ActionSettings as ActionSettings, type index_d_ActionValidationError as ActionValidationError, type index_d_ActionValidationErrorErrorOneOf as ActionValidationErrorErrorOneOf, type index_d_ActionValidationInfo as ActionValidationInfo, type index_d_AdditionalInfo as AdditionalInfo, type index_d_AppDefinedAction as AppDefinedAction, type index_d_ApplicationError as ApplicationError, type index_d_ApplicationOrigin as ApplicationOrigin, type index_d_Asset as Asset, type index_d_AuditInfo as AuditInfo, type index_d_AuditInfoIdOneOf as AuditInfoIdOneOf, type index_d_Automation as Automation, type index_d_AutomationConfiguration as AutomationConfiguration, type index_d_AutomationCreatedEnvelope as AutomationCreatedEnvelope, type index_d_AutomationDeletedEnvelope as AutomationDeletedEnvelope, type index_d_AutomationDeletedWithEntityEnvelope as AutomationDeletedWithEntityEnvelope, type index_d_AutomationNonNullableFields as AutomationNonNullableFields, type index_d_AutomationOriginInfoOneOf as AutomationOriginInfoOneOf, type index_d_AutomationSettings as AutomationSettings, type index_d_AutomationUpdatedEnvelope as AutomationUpdatedEnvelope, type index_d_AutomationUpdatedWithPreviousEntityEnvelope as AutomationUpdatedWithPreviousEntityEnvelope, type index_d_AutomationsQueryBuilder as AutomationsQueryBuilder, type index_d_AutomationsQueryResult as AutomationsQueryResult, type index_d_BaseEventMetadata as BaseEventMetadata, type index_d_BulkActionMetadata as BulkActionMetadata, type index_d_BulkDeleteAutomationsRequest as BulkDeleteAutomationsRequest, type index_d_BulkDeleteAutomationsResponse as BulkDeleteAutomationsResponse, type index_d_BulkDeleteResult as BulkDeleteResult, type index_d_CTA as CTA, type index_d_ConditionAction as ConditionAction, type index_d_ConditionExpressionGroup as ConditionExpressionGroup, type index_d_CopyAutomationRequest as CopyAutomationRequest, type index_d_CopyAutomationResponse as CopyAutomationResponse, type index_d_CreateAutomationRequest as CreateAutomationRequest, type index_d_CreateAutomationResponse as CreateAutomationResponse, type index_d_CreateAutomationResponseNonNullableFields as CreateAutomationResponseNonNullableFields, type index_d_CreatePreinstalledAutomationRequest as CreatePreinstalledAutomationRequest, type index_d_CreatePreinstalledAutomationResponse as CreatePreinstalledAutomationResponse, type index_d_CursorPaging as CursorPaging, type index_d_CursorPagingMetadata as CursorPagingMetadata, type index_d_CursorQuery as CursorQuery, type index_d_CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOf, type index_d_Cursors as Cursors, type index_d_DelayAction as DelayAction, type index_d_DeleteAutomationRequest as DeleteAutomationRequest, type index_d_DeleteAutomationResponse as DeleteAutomationResponse, type index_d_DeleteContext as DeleteContext, type index_d_DeletePreinstalledAutomationRequest as DeletePreinstalledAutomationRequest, type index_d_DeletePreinstalledAutomationResponse as DeletePreinstalledAutomationResponse, index_d_DeleteStatus as DeleteStatus, type index_d_DeletedWithEntity as DeletedWithEntity, type index_d_DomainEvent as DomainEvent, type index_d_DomainEventBodyOneOf as DomainEventBodyOneOf, type index_d_Empty as Empty, type index_d_EntityCreatedEvent as EntityCreatedEvent, type index_d_EntityDeletedEvent as EntityDeletedEvent, type index_d_EntityUpdatedEvent as EntityUpdatedEvent, type index_d_EventMetadata as EventMetadata, type index_d_Filter as Filter, type index_d_FutureDateActivationOffset as FutureDateActivationOffset, type index_d_GetActionsQuotaInfoRequest as GetActionsQuotaInfoRequest, type index_d_GetActionsQuotaInfoResponse as GetActionsQuotaInfoResponse, type index_d_GetAutomationActionSchemaRequest as GetAutomationActionSchemaRequest, type index_d_GetAutomationActionSchemaResponse as GetAutomationActionSchemaResponse, type index_d_GetAutomationOptions as GetAutomationOptions, type index_d_GetAutomationRequest as GetAutomationRequest, type index_d_GetAutomationResponse as GetAutomationResponse, type index_d_GetAutomationResponseNonNullableFields as GetAutomationResponseNonNullableFields, type index_d_GetAutomationRevisionRequest as GetAutomationRevisionRequest, type index_d_GetAutomationRevisionResponse as GetAutomationRevisionResponse, type index_d_IdentificationData as IdentificationData, type index_d_IdentificationDataIdOneOf as IdentificationDataIdOneOf, type index_d_ItemMetadata as ItemMetadata, type index_d_MessageEnvelope as MessageEnvelope, type index_d_MetaSiteSpecialEvent as MetaSiteSpecialEvent, type index_d_MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOf, index_d_Namespace as Namespace, type index_d_NamespaceChanged as NamespaceChanged, index_d_Operator as Operator, index_d_Origin as Origin, type index_d_OutputAction as OutputAction, type index_d_Plan as Plan, type index_d_PreinstalledOrigin as PreinstalledOrigin, type index_d_ProviderConfigurationError as ProviderConfigurationError, type index_d_QueryAutomationsRequest as QueryAutomationsRequest, type index_d_QueryAutomationsResponse as QueryAutomationsResponse, type index_d_QueryAutomationsResponseNonNullableFields as QueryAutomationsResponseNonNullableFields, type index_d_Quota as Quota, type index_d_QuotaInfo as QuotaInfo, type index_d_RateLimit as RateLimit, type index_d_RateLimitAction as RateLimitAction, type index_d_RestoreInfo as RestoreInfo, type index_d_ServiceProvisioned as ServiceProvisioned, type index_d_ServiceRemoved as ServiceRemoved, type index_d_SiteCreated as SiteCreated, index_d_SiteCreatedContext as SiteCreatedContext, type index_d_SiteDeleted as SiteDeleted, type index_d_SiteHardDeleted as SiteHardDeleted, type index_d_SiteMarkedAsTemplate as SiteMarkedAsTemplate, type index_d_SiteMarkedAsWixSite as SiteMarkedAsWixSite, type index_d_SitePublished as SitePublished, type index_d_SiteRenamed as SiteRenamed, type index_d_SiteTransferred as SiteTransferred, type index_d_SiteUndeleted as SiteUndeleted, type index_d_SiteUnpublished as SiteUnpublished, index_d_SortOrder as SortOrder, type index_d_Sorting as Sorting, index_d_State as State, index_d_Status as Status, type index_d_StudioAssigned as StudioAssigned, type index_d_StudioUnassigned as StudioUnassigned, index_d_TimeUnit as TimeUnit, type index_d_Trigger as Trigger, type index_d_TriggerConfigurationError as TriggerConfigurationError, index_d_TriggerErrorType as TriggerErrorType, type index_d_TriggerValidationError as TriggerValidationError, type index_d_TriggerValidationErrorErrorOneOf as TriggerValidationErrorErrorOneOf, index_d_TriggerValidationErrorValidationErrorType as TriggerValidationErrorValidationErrorType, index_d_Type as Type, type index_d_UpdateAutomation as UpdateAutomation, type index_d_UpdateAutomationRequest as UpdateAutomationRequest, type index_d_UpdateAutomationResponse as UpdateAutomationResponse, type index_d_UpdateAutomationResponseNonNullableFields as UpdateAutomationResponseNonNullableFields, type index_d_UpdatedWithPreviousEntity as UpdatedWithPreviousEntity, type index_d_UpgradeCTA as UpgradeCTA, type index_d_ValidateAutomationOptions as ValidateAutomationOptions, type index_d_ValidateAutomationRequest as ValidateAutomationRequest, type index_d_ValidateAutomationResponse as ValidateAutomationResponse, type index_d_ValidateAutomationResponseNonNullableFields as ValidateAutomationResponseNonNullableFields, index_d_ValidationErrorType as ValidationErrorType, type index_d_ValidationSettings as ValidationSettings, index_d_WebhookIdentityType as WebhookIdentityType, index_d_createAutomation as createAutomation, index_d_deleteAutomation as deleteAutomation, index_d_getAutomation as getAutomation, index_d_onAutomationCreated as onAutomationCreated, index_d_onAutomationDeleted as onAutomationDeleted, index_d_onAutomationDeletedWithEntity as onAutomationDeletedWithEntity, index_d_onAutomationUpdated as onAutomationUpdated, index_d_onAutomationUpdatedWithPreviousEntity as onAutomationUpdatedWithPreviousEntity, index_d_queryAutomations as queryAutomations, index_d_updateAutomation as updateAutomation, index_d_validateAutomation as validateAutomation };
3483
5035
  }
3484
5036
 
3485
- export { index_d as activations, index_d$1 as automationsService };
5037
+ export { index_d$1 as activations, index_d$2 as automationsService, index_d as automationsServiceV2 };