@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
@@ -68,6 +68,8 @@ interface Automation extends AutomationOriginInfoOneOf {
68
68
  * To archive an automation, set this to `true`. To restore an archived automation, set this to `false`.
69
69
  */
70
70
  archived?: boolean;
71
+ /** Auto archive policy */
72
+ autoArchivePolicy?: AutoArchivePolicy;
71
73
  }
72
74
  /** @oneof */
73
75
  interface AutomationOriginInfoOneOf {
@@ -896,6 +898,15 @@ interface CodeConditionAction {
896
898
  */
897
899
  falsePostActionIds?: string[];
898
900
  }
901
+ interface AutoArchivePolicy {
902
+ /**
903
+ * Date when to archive the automation
904
+ * If this date in the past, nothing will happen (automation will not go into archived state)
905
+ * If this date in the future, on this date the automation will be updated with archived = true and configuration.status = INACTIVE
906
+ * After this date the automation may be unarchived and archived again, this date will have no influence
907
+ */
908
+ archiveDate?: Date | null;
909
+ }
899
910
  interface CreateAutomationRequest {
900
911
  /** Automation to create. */
901
912
  automation: Automation;
@@ -2481,6 +2492,8 @@ interface UpdateAutomation {
2481
2492
  * To archive an automation, set this to `true`. To restore an archived automation, set this to `false`.
2482
2493
  */
2483
2494
  archived?: boolean;
2495
+ /** Auto archive policy */
2496
+ autoArchivePolicy?: AutoArchivePolicy;
2484
2497
  }
2485
2498
  /**
2486
2499
  * Deletes the specified automation.
@@ -2778,6 +2791,8 @@ interface UpdateDraftAutomation {
2778
2791
  * To archive an automation, set this to `true`. To restore an archived automation, set this to `false`.
2779
2792
  */
2780
2793
  archived?: boolean;
2794
+ /** Auto archive policy */
2795
+ autoArchivePolicy?: AutoArchivePolicy;
2781
2796
  }
2782
2797
  /**
2783
2798
  * Retrieves a list of automations, including drafts. Max query filter depth is 3.
@@ -2913,4 +2928,4 @@ interface GetAutomationRevisionOptions {
2913
2928
  fields?: RequestedFieldsWithLiterals[];
2914
2929
  }
2915
2930
 
2916
- export { type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationMigrationRequest, type AutomationOriginInfoOneOf, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedWithEntity, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioUnassigned, type TestUpdateApplicationAutomationRequest, type TestUpdateApplicationAutomationResponse, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateApplicationAutomationsRequest, type UpdateApplicationAutomationsResponse, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpdatedWithPreviousEntity, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
2931
+ export { type Action, type ActionConfigurationError, ActionErrorType, type ActionErrorTypeWithLiterals, type ActionEvent, type ActionInfoOneOf, type ActionProviderQuotaInfo, type ActionQuotaInfo, type ActionSettings, type ActionUsageSummary, type ActionValidationError, type ActionValidationErrorErrorOneOf, type ActionValidationInfo, type AdditionalInfo, type AppDefinedAction, type ApplicationError, type ApplicationOrigin, type Asset, type AuditInfo, type AuditInfoIdOneOf, type AutoArchivePolicy, type Automation, type AutomationConfiguration, type AutomationConfigurationError, type AutomationCreatedEnvelope, type AutomationDeletedEnvelope, AutomationErrorType, type AutomationErrorTypeWithLiterals, type AutomationMigrationRequest, type AutomationOriginInfoOneOf, type AutomationSettings, type AutomationUpdatedEnvelope, type AutomationValidationError, type AutomationValidationErrorErrorOneOf, AutomationValidationErrorValidationErrorType, type AutomationValidationErrorValidationErrorTypeWithLiterals, type AutomationsQueryBuilder, type AutomationsQueryResult, type BaseEventMetadata, type BulkActionMetadata, type BulkCountAutomationsWithDraftsOptions, type BulkCountAutomationsWithDraftsRequest, type BulkCountAutomationsWithDraftsResponse, type BulkDeleteAutomationsRequest, type BulkDeleteAutomationsResponse, type BulkDeleteResult, type CTA, type CodeConditionAction, type CodeSnippet, type ConditionAction, type ConditionExpressionGroup, type CopyAutomationOptions, type CopyAutomationRequest, type CopyAutomationResponse, type CreateAutomationRequest, type CreateAutomationResponse, type CreateDraftAutomationOptions, type CreateDraftAutomationRequest, type CreateDraftAutomationResponse, type CreatePreinstalledAutomationRequest, type CreatePreinstalledAutomationResponse, type CursorPaging, type CursorPagingMetadata, type CursorQuery, type CursorQueryPagingMethodOneOf, type Cursors, type DelayAction, type DeleteAutomationRequest, type DeleteAutomationResponse, type DeleteContext, type DeleteDraftAutomationRequest, type DeleteDraftAutomationResponse, type DeletePreinstalledAutomationRequest, type DeletePreinstalledAutomationResponse, DeleteStatus, type DeleteStatusWithLiterals, type DeletedWithEntity, Domain, type DomainEvent, type DomainEventBodyOneOf, type DomainWithLiterals, type DraftInfo, type DraftPublished, type DraftsInfo, type Empty, type Enrichment, type Enrichments, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type ExtendedFields, type Filter, type FilterValueSelection, type FilterableAppDefinedActions, type FutureDateActivationOffset, type GeneratePreinstalledAutomationOptions, type GeneratePreinstalledAutomationRequest, type GeneratePreinstalledAutomationResponse, type GetActionsQuotaInfoRequest, type GetActionsQuotaInfoResponse, type GetAggregatedUsageInfoOptions, type GetAggregatedUsageInfoRequest, type GetAggregatedUsageInfoResponse, type GetAutomationActionSchemaRequest, type GetAutomationActionSchemaResponse, type GetAutomationRequest, type GetAutomationResponse, type GetAutomationRevisionOptions, type GetAutomationRevisionRequest, type GetAutomationRevisionResponse, type GetOrCreateDraftAutomationRequest, type GetOrCreateDraftAutomationResponse, type IdentificationData, type IdentificationDataIdOneOf, type ItemMetadata, Language, type LanguageWithLiterals, type MergeOverridePreinstalledWithRuntimeVersionRequest, type MergeOverridePreinstalledWithRuntimeVersionResponse, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigrateVeloActionAutomationsRequest, type MigrateVeloActionAutomationsResponse, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, Operator, type OperatorWithLiterals, Origin, type OriginAutomationInfo, type OriginWithLiterals, type OutputAction, type Path, type PicassoAssigned, type PicassoUnassigned, type Plan, type PreinstalledAutomationSpecInfo, type PreinstalledOrigin, type ProviderConfigurationError, type PublishDraftAutomationRequest, type PublishDraftAutomationResponse, type QueryAutomationsRequest, type QueryAutomationsResponse, type QueryAutomationsWithDraftsOptions, type QueryAutomationsWithDraftsRequest, type QueryAutomationsWithDraftsResponse, type QueryPreinstalledAutomationsForAppRequest, type QueryPreinstalledAutomationsForAppResponse, type QueryPreinstalledAutomationsRequest, type QueryPreinstalledAutomationsResponse, type Quota, type QuotaInfo, type RateLimit, type RateLimitAction, RequestedFields, type RequestedFieldsWithLiterals, type RestoreInfo, type ServiceProvisioned, type ServiceRemoved, type SetVariablesAction, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, SortOrder, type SortOrderWithLiterals, type Sorting, type SplitAction, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioUnassigned, type TestUpdateApplicationAutomationRequest, type TestUpdateApplicationAutomationResponse, TimeUnit, type TimeUnitWithLiterals, type Trigger, type TriggerConfigurationError, TriggerErrorType, type TriggerErrorTypeWithLiterals, type TriggerUsageSummary, type TriggerValidationError, type TriggerValidationErrorErrorOneOf, TriggerValidationErrorValidationErrorType, type TriggerValidationErrorValidationErrorTypeWithLiterals, Type, type TypeWithLiterals, type UpdateApplicationAutomationsRequest, type UpdateApplicationAutomationsResponse, type UpdateAutomation, type UpdateAutomationRequest, type UpdateAutomationResponse, type UpdateDraftAutomation, type UpdateDraftAutomationRequest, type UpdateDraftAutomationResponse, type UpdatePreinstalledAutomationRequest, type UpdatePreinstalledAutomationResponse, type UpdatedWithPreviousEntity, type UpgradeCTA, type ValidateAutomationByIdOptions, type ValidateAutomationByIdRequest, type ValidateAutomationByIdResponse, type ValidateAutomationOptions, type ValidateAutomationRequest, type ValidateAutomationResponse, ValidationErrorSeverity, type ValidationErrorSeverityWithLiterals, ValidationErrorType, type ValidationErrorTypeWithLiterals, type ValidationSettings, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
@@ -100,7 +100,8 @@ function createAutomation(payload) {
100
100
  paths: [
101
101
  { path: "automation.createdDate" },
102
102
  { path: "automation.updatedDate" },
103
- { path: "automation.draftUpdatedDate" }
103
+ { path: "automation.draftUpdatedDate" },
104
+ { path: "automation.autoArchivePolicy.archiveDate" }
104
105
  ]
105
106
  }
106
107
  ]);
@@ -121,7 +122,8 @@ function createAutomation(payload) {
121
122
  paths: [
122
123
  { path: "automation.createdDate" },
123
124
  { path: "automation.updatedDate" },
124
- { path: "automation.draftUpdatedDate" }
125
+ { path: "automation.draftUpdatedDate" },
126
+ { path: "automation.autoArchivePolicy.archiveDate" }
125
127
  ]
126
128
  }
127
129
  ])
@@ -149,7 +151,8 @@ function getAutomation(payload) {
149
151
  paths: [
150
152
  { path: "automation.createdDate" },
151
153
  { path: "automation.updatedDate" },
152
- { path: "automation.draftUpdatedDate" }
154
+ { path: "automation.draftUpdatedDate" },
155
+ { path: "automation.autoArchivePolicy.archiveDate" }
153
156
  ]
154
157
  }
155
158
  ])
@@ -170,7 +173,8 @@ function updateAutomation(payload) {
170
173
  paths: [
171
174
  { path: "automation.createdDate" },
172
175
  { path: "automation.updatedDate" },
173
- { path: "automation.draftUpdatedDate" }
176
+ { path: "automation.draftUpdatedDate" },
177
+ { path: "automation.autoArchivePolicy.archiveDate" }
174
178
  ]
175
179
  }
176
180
  ]);
@@ -191,7 +195,8 @@ function updateAutomation(payload) {
191
195
  paths: [
192
196
  { path: "automation.createdDate" },
193
197
  { path: "automation.updatedDate" },
194
- { path: "automation.draftUpdatedDate" }
198
+ { path: "automation.draftUpdatedDate" },
199
+ { path: "automation.autoArchivePolicy.archiveDate" }
195
200
  ]
196
201
  }
197
202
  ])
@@ -244,7 +249,8 @@ function generatePreinstalledAutomation(payload) {
244
249
  paths: [
245
250
  { path: "automation.createdDate" },
246
251
  { path: "automation.updatedDate" },
247
- { path: "automation.draftUpdatedDate" }
252
+ { path: "automation.draftUpdatedDate" },
253
+ { path: "automation.autoArchivePolicy.archiveDate" }
248
254
  ]
249
255
  }
250
256
  ]);
@@ -265,7 +271,8 @@ function generatePreinstalledAutomation(payload) {
265
271
  paths: [
266
272
  { path: "automation.createdDate" },
267
273
  { path: "automation.updatedDate" },
268
- { path: "automation.draftUpdatedDate" }
274
+ { path: "automation.draftUpdatedDate" },
275
+ { path: "automation.autoArchivePolicy.archiveDate" }
269
276
  ]
270
277
  }
271
278
  ])
@@ -293,7 +300,8 @@ function queryAutomations(payload) {
293
300
  paths: [
294
301
  { path: "automations.createdDate" },
295
302
  { path: "automations.updatedDate" },
296
- { path: "automations.draftUpdatedDate" }
303
+ { path: "automations.draftUpdatedDate" },
304
+ { path: "automations.autoArchivePolicy.archiveDate" }
297
305
  ]
298
306
  }
299
307
  ])
@@ -328,7 +336,8 @@ function copyAutomation(payload) {
328
336
  paths: [
329
337
  { path: "automation.createdDate" },
330
338
  { path: "automation.updatedDate" },
331
- { path: "automation.draftUpdatedDate" }
339
+ { path: "automation.draftUpdatedDate" },
340
+ { path: "automation.autoArchivePolicy.archiveDate" }
332
341
  ]
333
342
  }
334
343
  ]);
@@ -349,7 +358,8 @@ function copyAutomation(payload) {
349
358
  paths: [
350
359
  { path: "automation.createdDate" },
351
360
  { path: "automation.updatedDate" },
352
- { path: "automation.draftUpdatedDate" }
361
+ { path: "automation.draftUpdatedDate" },
362
+ { path: "automation.autoArchivePolicy.archiveDate" }
353
363
  ]
354
364
  }
355
365
  ])
@@ -366,7 +376,8 @@ function createDraftAutomation(payload) {
366
376
  paths: [
367
377
  { path: "automation.createdDate" },
368
378
  { path: "automation.updatedDate" },
369
- { path: "automation.draftUpdatedDate" }
379
+ { path: "automation.draftUpdatedDate" },
380
+ { path: "automation.autoArchivePolicy.archiveDate" }
370
381
  ]
371
382
  }
372
383
  ]);
@@ -387,7 +398,8 @@ function createDraftAutomation(payload) {
387
398
  paths: [
388
399
  { path: "automation.createdDate" },
389
400
  { path: "automation.updatedDate" },
390
- { path: "automation.draftUpdatedDate" }
401
+ { path: "automation.draftUpdatedDate" },
402
+ { path: "automation.autoArchivePolicy.archiveDate" }
391
403
  ]
392
404
  }
393
405
  ])
@@ -415,7 +427,8 @@ function getOrCreateDraftAutomation(payload) {
415
427
  paths: [
416
428
  { path: "automation.createdDate" },
417
429
  { path: "automation.updatedDate" },
418
- { path: "automation.draftUpdatedDate" }
430
+ { path: "automation.draftUpdatedDate" },
431
+ { path: "automation.autoArchivePolicy.archiveDate" }
419
432
  ]
420
433
  }
421
434
  ])
@@ -436,7 +449,8 @@ function updateDraftAutomation(payload) {
436
449
  paths: [
437
450
  { path: "automation.createdDate" },
438
451
  { path: "automation.updatedDate" },
439
- { path: "automation.draftUpdatedDate" }
452
+ { path: "automation.draftUpdatedDate" },
453
+ { path: "automation.autoArchivePolicy.archiveDate" }
440
454
  ]
441
455
  }
442
456
  ]);
@@ -457,7 +471,8 @@ function updateDraftAutomation(payload) {
457
471
  paths: [
458
472
  { path: "automation.createdDate" },
459
473
  { path: "automation.updatedDate" },
460
- { path: "automation.draftUpdatedDate" }
474
+ { path: "automation.draftUpdatedDate" },
475
+ { path: "automation.autoArchivePolicy.archiveDate" }
461
476
  ]
462
477
  }
463
478
  ])
@@ -485,7 +500,8 @@ function queryAutomationsWithDrafts(payload) {
485
500
  paths: [
486
501
  { path: "automations.createdDate" },
487
502
  { path: "automations.updatedDate" },
488
- { path: "automations.draftUpdatedDate" }
503
+ { path: "automations.draftUpdatedDate" },
504
+ { path: "automations.autoArchivePolicy.archiveDate" }
489
505
  ]
490
506
  }
491
507
  ])
@@ -549,7 +565,8 @@ function publishDraftAutomation(payload) {
549
565
  paths: [
550
566
  { path: "automation.createdDate" },
551
567
  { path: "automation.updatedDate" },
552
- { path: "automation.draftUpdatedDate" }
568
+ { path: "automation.draftUpdatedDate" },
569
+ { path: "automation.autoArchivePolicy.archiveDate" }
553
570
  ]
554
571
  }
555
572
  ])
@@ -566,7 +583,8 @@ function validateAutomation(payload) {
566
583
  paths: [
567
584
  { path: "automation.createdDate" },
568
585
  { path: "automation.updatedDate" },
569
- { path: "automation.draftUpdatedDate" }
586
+ { path: "automation.draftUpdatedDate" },
587
+ { path: "automation.autoArchivePolicy.archiveDate" }
570
588
  ]
571
589
  }
572
590
  ]);
@@ -623,7 +641,8 @@ function getAutomationRevision(payload) {
623
641
  paths: [
624
642
  { path: "automation.createdDate" },
625
643
  { path: "automation.updatedDate" },
626
- { path: "automation.draftUpdatedDate" }
644
+ { path: "automation.draftUpdatedDate" },
645
+ { path: "automation.autoArchivePolicy.archiveDate" }
627
646
  ]
628
647
  }
629
648
  ])