@wix/auto_sdk_automations_automations-v-2 1.0.16 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +1 -1
  2. package/build/cjs/index.js +41 -19
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +16 -1
  5. package/build/cjs/index.typings.js +38 -19
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +11 -0
  8. package/build/cjs/meta.js +38 -19
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +1 -1
  11. package/build/es/index.mjs +41 -19
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +16 -1
  14. package/build/es/index.typings.mjs +38 -19
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +11 -0
  17. package/build/es/meta.mjs +38 -19
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +1 -1
  20. package/build/internal/cjs/index.js +41 -19
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +16 -1
  23. package/build/internal/cjs/index.typings.js +38 -19
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +11 -0
  26. package/build/internal/cjs/meta.js +38 -19
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +1 -1
  29. package/build/internal/es/index.mjs +41 -19
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +16 -1
  32. package/build/internal/es/index.typings.mjs +38 -19
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +11 -0
  35. package/build/internal/es/meta.mjs +38 -19
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { Automation, UpdateAutomation, BulkDeleteAutomationsResponse, GeneratePreinstalledAutomationOptions, GeneratePreinstalledAutomationResponse, AutomationsQueryBuilder, GetAggregatedUsageInfoOptions, GetAggregatedUsageInfoResponse, CopyAutomationOptions, CopyAutomationResponse, CreateDraftAutomationOptions, CreateDraftAutomationResponse, GetOrCreateDraftAutomationResponse, UpdateDraftAutomation, UpdateDraftAutomationResponse, QueryAutomationsWithDraftsOptions, QueryAutomationsWithDraftsResponse, BulkCountAutomationsWithDraftsOptions, BulkCountAutomationsWithDraftsResponse, PublishDraftAutomationResponse, ValidateAutomationOptions, ValidateAutomationResponse, ValidateAutomationByIdOptions, ValidateAutomationByIdResponse, GetAutomationRevisionOptions, GetAutomationRevisionResponse, AutomationCreatedEnvelope, AutomationDeletedEnvelope, AutomationUpdatedEnvelope } from './index.typings.js';
3
- export { Action, ActionConfigurationError, ActionErrorType, ActionEvent, ActionInfoOneOf, ActionProviderQuotaInfo, ActionQuotaInfo, ActionSettings, ActionUsageSummary, ActionValidationError, ActionValidationErrorErrorOneOf, ActionValidationInfo, AdditionalInfo, AppDefinedAction, ApplicationError, ApplicationOrigin, Asset, AuditInfo, AuditInfoIdOneOf, AutomationConfiguration, AutomationConfigurationError, AutomationErrorType, AutomationMigrationRequest, AutomationOriginInfoOneOf, AutomationSettings, AutomationValidationError, AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, AutomationsQueryResult, BaseEventMetadata, BulkActionMetadata, BulkCountAutomationsWithDraftsRequest, BulkDeleteAutomationsRequest, BulkDeleteResult, CTA, CodeConditionAction, CodeSnippet, ConditionAction, ConditionExpressionGroup, CopyAutomationRequest, CreateAutomationRequest, CreateAutomationResponse, CreateDraftAutomationRequest, CreatePreinstalledAutomationRequest, CreatePreinstalledAutomationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DelayAction, DeleteAutomationRequest, DeleteAutomationResponse, DeleteContext, DeleteDraftAutomationRequest, DeleteDraftAutomationResponse, DeletePreinstalledAutomationRequest, DeletePreinstalledAutomationResponse, DeleteStatus, DeletedWithEntity, Domain, DomainEvent, DomainEventBodyOneOf, DraftInfo, DraftPublished, DraftsInfo, Empty, Enrichment, Enrichments, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Filter, FilterValueSelection, FilterableAppDefinedActions, FutureDateActivationOffset, GeneratePreinstalledAutomationRequest, GetActionsQuotaInfoRequest, GetActionsQuotaInfoResponse, GetAggregatedUsageInfoRequest, GetAutomationActionSchemaRequest, GetAutomationActionSchemaResponse, GetAutomationRequest, GetAutomationResponse, GetAutomationRevisionRequest, GetOrCreateDraftAutomationRequest, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, Language, MergeOverridePreinstalledWithRuntimeVersionRequest, MergeOverridePreinstalledWithRuntimeVersionResponse, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MigrateVeloActionAutomationsRequest, MigrateVeloActionAutomationsResponse, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, Operator, Origin, OriginAutomationInfo, OutputAction, Path, PicassoAssigned, PicassoUnassigned, Plan, PreinstalledAutomationSpecInfo, PreinstalledOrigin, ProviderConfigurationError, PublishDraftAutomationRequest, QueryAutomationsRequest, QueryAutomationsResponse, QueryAutomationsWithDraftsRequest, QueryPreinstalledAutomationsForAppRequest, QueryPreinstalledAutomationsForAppResponse, QueryPreinstalledAutomationsRequest, QueryPreinstalledAutomationsResponse, Quota, QuotaInfo, RateLimit, RateLimitAction, RequestedFields, RestoreInfo, ServiceProvisioned, ServiceRemoved, SetVariablesAction, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, SplitAction, State, Status, StudioAssigned, StudioUnassigned, TestUpdateApplicationAutomationRequest, TestUpdateApplicationAutomationResponse, TimeUnit, Trigger, TriggerConfigurationError, TriggerErrorType, TriggerUsageSummary, TriggerValidationError, TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, Type, UpdateApplicationAutomationsRequest, UpdateApplicationAutomationsResponse, UpdateAutomationRequest, UpdateAutomationResponse, UpdateDraftAutomationRequest, UpdatePreinstalledAutomationRequest, UpdatePreinstalledAutomationResponse, UpdatedWithPreviousEntity, UpgradeCTA, ValidateAutomationByIdRequest, ValidateAutomationRequest, ValidationErrorSeverity, ValidationErrorType, ValidationSettings, WebhookIdentityType } from './index.typings.js';
3
+ export { Action, ActionConfigurationError, ActionErrorType, ActionEvent, ActionInfoOneOf, ActionProviderQuotaInfo, ActionQuotaInfo, ActionSettings, ActionUsageSummary, ActionValidationError, ActionValidationErrorErrorOneOf, ActionValidationInfo, AdditionalInfo, AppDefinedAction, ApplicationError, ApplicationOrigin, Asset, AuditInfo, AuditInfoIdOneOf, AutoArchivePolicy, AutomationConfiguration, AutomationConfigurationError, AutomationErrorType, AutomationMigrationRequest, AutomationOriginInfoOneOf, AutomationSettings, AutomationValidationError, AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, AutomationsQueryResult, BaseEventMetadata, BulkActionMetadata, BulkCountAutomationsWithDraftsRequest, BulkDeleteAutomationsRequest, BulkDeleteResult, CTA, CodeConditionAction, CodeSnippet, ConditionAction, ConditionExpressionGroup, CopyAutomationRequest, CreateAutomationRequest, CreateAutomationResponse, CreateDraftAutomationRequest, CreatePreinstalledAutomationRequest, CreatePreinstalledAutomationResponse, CursorPaging, CursorPagingMetadata, CursorQuery, CursorQueryPagingMethodOneOf, Cursors, DelayAction, DeleteAutomationRequest, DeleteAutomationResponse, DeleteContext, DeleteDraftAutomationRequest, DeleteDraftAutomationResponse, DeletePreinstalledAutomationRequest, DeletePreinstalledAutomationResponse, DeleteStatus, DeletedWithEntity, Domain, DomainEvent, DomainEventBodyOneOf, DraftInfo, DraftPublished, DraftsInfo, Empty, Enrichment, Enrichments, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, ExtendedFields, Filter, FilterValueSelection, FilterableAppDefinedActions, FutureDateActivationOffset, GeneratePreinstalledAutomationRequest, GetActionsQuotaInfoRequest, GetActionsQuotaInfoResponse, GetAggregatedUsageInfoRequest, GetAutomationActionSchemaRequest, GetAutomationActionSchemaResponse, GetAutomationRequest, GetAutomationResponse, GetAutomationRevisionRequest, GetOrCreateDraftAutomationRequest, IdentificationData, IdentificationDataIdOneOf, ItemMetadata, Language, MergeOverridePreinstalledWithRuntimeVersionRequest, MergeOverridePreinstalledWithRuntimeVersionResponse, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MigrateVeloActionAutomationsRequest, MigrateVeloActionAutomationsResponse, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, Operator, Origin, OriginAutomationInfo, OutputAction, Path, PicassoAssigned, PicassoUnassigned, Plan, PreinstalledAutomationSpecInfo, PreinstalledOrigin, ProviderConfigurationError, PublishDraftAutomationRequest, QueryAutomationsRequest, QueryAutomationsResponse, QueryAutomationsWithDraftsRequest, QueryPreinstalledAutomationsForAppRequest, QueryPreinstalledAutomationsForAppResponse, QueryPreinstalledAutomationsRequest, QueryPreinstalledAutomationsResponse, Quota, QuotaInfo, RateLimit, RateLimitAction, RequestedFields, RestoreInfo, ServiceProvisioned, ServiceRemoved, SetVariablesAction, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SortOrder, Sorting, SplitAction, State, Status, StudioAssigned, StudioUnassigned, TestUpdateApplicationAutomationRequest, TestUpdateApplicationAutomationResponse, TimeUnit, Trigger, TriggerConfigurationError, TriggerErrorType, TriggerUsageSummary, TriggerValidationError, TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, Type, UpdateApplicationAutomationsRequest, UpdateApplicationAutomationsResponse, UpdateAutomationRequest, UpdateAutomationResponse, UpdateDraftAutomationRequest, UpdatePreinstalledAutomationRequest, UpdatePreinstalledAutomationResponse, UpdatedWithPreviousEntity, UpgradeCTA, ValidateAutomationByIdRequest, ValidateAutomationRequest, ValidationErrorSeverity, ValidationErrorType, ValidationSettings, WebhookIdentityType } from './index.typings.js';
4
4
 
5
5
  type AutomationNonNullablePaths = `applicationInfo.appId` | `preinstalledInfo.appId` | `createdBy.userId` | `createdBy.appId` | `updatedBy.userId` | `updatedBy.appId` | `name` | `configuration.status` | `configuration.trigger.appId` | `configuration.trigger.triggerKey` | `configuration.trigger.filters` | `configuration.trigger.filters.${number}._id` | `configuration.trigger.filters.${number}.fieldKey` | `configuration.trigger.filters.${number}.filterExpression` | `configuration.trigger.scheduledEventOffset.preScheduledEventOffsetExpression` | `configuration.trigger.scheduledEventOffset.scheduledEventOffsetTimeUnit` | `configuration.trigger.rateLimit.maxActivationsExpression` | `configuration.trigger.rateLimit.durationTimeUnit` | `configuration.rootActionIds` | `origin` | `settings.hidden` | `settings.readonly` | `settings.disableDelete` | `settings.disableStatusChange` | `settings.actionSettings.permanentActionIds` | `settings.actionSettings.readonlyActionIds` | `settings.actionSettings.disableDelayAddition` | `settings.actionSettings.disableConditionAddition` | `archived`;
6
6
  declare function createAutomation$1(httpClient: HttpClient): CreateAutomationSignature;
@@ -171,7 +171,8 @@ function createAutomation(payload) {
171
171
  paths: [
172
172
  { path: "automation.createdDate" },
173
173
  { path: "automation.updatedDate" },
174
- { path: "automation.draftUpdatedDate" }
174
+ { path: "automation.draftUpdatedDate" },
175
+ { path: "automation.autoArchivePolicy.archiveDate" }
175
176
  ]
176
177
  }
177
178
  ]);
@@ -192,7 +193,8 @@ function createAutomation(payload) {
192
193
  paths: [
193
194
  { path: "automation.createdDate" },
194
195
  { path: "automation.updatedDate" },
195
- { path: "automation.draftUpdatedDate" }
196
+ { path: "automation.draftUpdatedDate" },
197
+ { path: "automation.autoArchivePolicy.archiveDate" }
196
198
  ]
197
199
  }
198
200
  ])
@@ -220,7 +222,8 @@ function getAutomation(payload) {
220
222
  paths: [
221
223
  { path: "automation.createdDate" },
222
224
  { path: "automation.updatedDate" },
223
- { path: "automation.draftUpdatedDate" }
225
+ { path: "automation.draftUpdatedDate" },
226
+ { path: "automation.autoArchivePolicy.archiveDate" }
224
227
  ]
225
228
  }
226
229
  ])
@@ -241,7 +244,8 @@ function updateAutomation(payload) {
241
244
  paths: [
242
245
  { path: "automation.createdDate" },
243
246
  { path: "automation.updatedDate" },
244
- { path: "automation.draftUpdatedDate" }
247
+ { path: "automation.draftUpdatedDate" },
248
+ { path: "automation.autoArchivePolicy.archiveDate" }
245
249
  ]
246
250
  }
247
251
  ]);
@@ -262,7 +266,8 @@ function updateAutomation(payload) {
262
266
  paths: [
263
267
  { path: "automation.createdDate" },
264
268
  { path: "automation.updatedDate" },
265
- { path: "automation.draftUpdatedDate" }
269
+ { path: "automation.draftUpdatedDate" },
270
+ { path: "automation.autoArchivePolicy.archiveDate" }
266
271
  ]
267
272
  }
268
273
  ])
@@ -315,7 +320,8 @@ function generatePreinstalledAutomation(payload) {
315
320
  paths: [
316
321
  { path: "automation.createdDate" },
317
322
  { path: "automation.updatedDate" },
318
- { path: "automation.draftUpdatedDate" }
323
+ { path: "automation.draftUpdatedDate" },
324
+ { path: "automation.autoArchivePolicy.archiveDate" }
319
325
  ]
320
326
  }
321
327
  ]);
@@ -336,7 +342,8 @@ function generatePreinstalledAutomation(payload) {
336
342
  paths: [
337
343
  { path: "automation.createdDate" },
338
344
  { path: "automation.updatedDate" },
339
- { path: "automation.draftUpdatedDate" }
345
+ { path: "automation.draftUpdatedDate" },
346
+ { path: "automation.autoArchivePolicy.archiveDate" }
340
347
  ]
341
348
  }
342
349
  ])
@@ -364,7 +371,8 @@ function queryAutomations(payload) {
364
371
  paths: [
365
372
  { path: "automations.createdDate" },
366
373
  { path: "automations.updatedDate" },
367
- { path: "automations.draftUpdatedDate" }
374
+ { path: "automations.draftUpdatedDate" },
375
+ { path: "automations.autoArchivePolicy.archiveDate" }
368
376
  ]
369
377
  }
370
378
  ])
@@ -399,7 +407,8 @@ function copyAutomation(payload) {
399
407
  paths: [
400
408
  { path: "automation.createdDate" },
401
409
  { path: "automation.updatedDate" },
402
- { path: "automation.draftUpdatedDate" }
410
+ { path: "automation.draftUpdatedDate" },
411
+ { path: "automation.autoArchivePolicy.archiveDate" }
403
412
  ]
404
413
  }
405
414
  ]);
@@ -420,7 +429,8 @@ function copyAutomation(payload) {
420
429
  paths: [
421
430
  { path: "automation.createdDate" },
422
431
  { path: "automation.updatedDate" },
423
- { path: "automation.draftUpdatedDate" }
432
+ { path: "automation.draftUpdatedDate" },
433
+ { path: "automation.autoArchivePolicy.archiveDate" }
424
434
  ]
425
435
  }
426
436
  ])
@@ -437,7 +447,8 @@ function createDraftAutomation(payload) {
437
447
  paths: [
438
448
  { path: "automation.createdDate" },
439
449
  { path: "automation.updatedDate" },
440
- { path: "automation.draftUpdatedDate" }
450
+ { path: "automation.draftUpdatedDate" },
451
+ { path: "automation.autoArchivePolicy.archiveDate" }
441
452
  ]
442
453
  }
443
454
  ]);
@@ -458,7 +469,8 @@ function createDraftAutomation(payload) {
458
469
  paths: [
459
470
  { path: "automation.createdDate" },
460
471
  { path: "automation.updatedDate" },
461
- { path: "automation.draftUpdatedDate" }
472
+ { path: "automation.draftUpdatedDate" },
473
+ { path: "automation.autoArchivePolicy.archiveDate" }
462
474
  ]
463
475
  }
464
476
  ])
@@ -486,7 +498,8 @@ function getOrCreateDraftAutomation(payload) {
486
498
  paths: [
487
499
  { path: "automation.createdDate" },
488
500
  { path: "automation.updatedDate" },
489
- { path: "automation.draftUpdatedDate" }
501
+ { path: "automation.draftUpdatedDate" },
502
+ { path: "automation.autoArchivePolicy.archiveDate" }
490
503
  ]
491
504
  }
492
505
  ])
@@ -507,7 +520,8 @@ function updateDraftAutomation(payload) {
507
520
  paths: [
508
521
  { path: "automation.createdDate" },
509
522
  { path: "automation.updatedDate" },
510
- { path: "automation.draftUpdatedDate" }
523
+ { path: "automation.draftUpdatedDate" },
524
+ { path: "automation.autoArchivePolicy.archiveDate" }
511
525
  ]
512
526
  }
513
527
  ]);
@@ -528,7 +542,8 @@ function updateDraftAutomation(payload) {
528
542
  paths: [
529
543
  { path: "automation.createdDate" },
530
544
  { path: "automation.updatedDate" },
531
- { path: "automation.draftUpdatedDate" }
545
+ { path: "automation.draftUpdatedDate" },
546
+ { path: "automation.autoArchivePolicy.archiveDate" }
532
547
  ]
533
548
  }
534
549
  ])
@@ -556,7 +571,8 @@ function queryAutomationsWithDrafts(payload) {
556
571
  paths: [
557
572
  { path: "automations.createdDate" },
558
573
  { path: "automations.updatedDate" },
559
- { path: "automations.draftUpdatedDate" }
574
+ { path: "automations.draftUpdatedDate" },
575
+ { path: "automations.autoArchivePolicy.archiveDate" }
560
576
  ]
561
577
  }
562
578
  ])
@@ -620,7 +636,8 @@ function publishDraftAutomation(payload) {
620
636
  paths: [
621
637
  { path: "automation.createdDate" },
622
638
  { path: "automation.updatedDate" },
623
- { path: "automation.draftUpdatedDate" }
639
+ { path: "automation.draftUpdatedDate" },
640
+ { path: "automation.autoArchivePolicy.archiveDate" }
624
641
  ]
625
642
  }
626
643
  ])
@@ -637,7 +654,8 @@ function validateAutomation(payload) {
637
654
  paths: [
638
655
  { path: "automation.createdDate" },
639
656
  { path: "automation.updatedDate" },
640
- { path: "automation.draftUpdatedDate" }
657
+ { path: "automation.draftUpdatedDate" },
658
+ { path: "automation.autoArchivePolicy.archiveDate" }
641
659
  ]
642
660
  }
643
661
  ]);
@@ -694,7 +712,8 @@ function getAutomationRevision(payload) {
694
712
  paths: [
695
713
  { path: "automation.createdDate" },
696
714
  { path: "automation.updatedDate" },
697
- { path: "automation.draftUpdatedDate" }
715
+ { path: "automation.draftUpdatedDate" },
716
+ { path: "automation.autoArchivePolicy.archiveDate" }
698
717
  ]
699
718
  }
700
719
  ])
@@ -1551,6 +1570,7 @@ var onAutomationCreated = (0, import_sdk_types.EventDefinition)(
1551
1570
  { path: "entity.createdDate" },
1552
1571
  { path: "entity.updatedDate" },
1553
1572
  { path: "entity.draftUpdatedDate" },
1573
+ { path: "entity.autoArchivePolicy.archiveDate" },
1554
1574
  { path: "metadata.eventTime" }
1555
1575
  ]
1556
1576
  }
@@ -1568,6 +1588,7 @@ var onAutomationDeleted = (0, import_sdk_types.EventDefinition)(
1568
1588
  { path: "entity.createdDate" },
1569
1589
  { path: "entity.updatedDate" },
1570
1590
  { path: "entity.draftUpdatedDate" },
1591
+ { path: "entity.autoArchivePolicy.archiveDate" },
1571
1592
  { path: "metadata.eventTime" }
1572
1593
  ]
1573
1594
  }
@@ -1585,6 +1606,7 @@ var onAutomationUpdated = (0, import_sdk_types.EventDefinition)(
1585
1606
  { path: "entity.createdDate" },
1586
1607
  { path: "entity.updatedDate" },
1587
1608
  { path: "entity.draftUpdatedDate" },
1609
+ { path: "entity.autoArchivePolicy.archiveDate" },
1588
1610
  { path: "metadata.eventTime" }
1589
1611
  ]
1590
1612
  }