@wix/auto_sdk_automations_automations-v-2 1.0.6 → 1.0.7

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 (29) hide show
  1. package/build/cjs/{automations-v2-automation-automations-v-2.universal-CUoGClWF.d.ts → automations-v2-automation-automations-v-2.universal-BsNMNocV.d.ts} +15 -1
  2. package/build/cjs/index.d.ts +11 -3
  3. package/build/cjs/index.js +53 -0
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/meta.d.ts +53 -2
  6. package/build/cjs/meta.js +38 -0
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/es/{automations-v2-automation-automations-v-2.universal-CUoGClWF.d.mts → automations-v2-automation-automations-v-2.universal-BsNMNocV.d.mts} +15 -1
  9. package/build/es/index.d.mts +11 -3
  10. package/build/es/index.mjs +52 -0
  11. package/build/es/index.mjs.map +1 -1
  12. package/build/es/meta.d.mts +53 -2
  13. package/build/es/meta.mjs +37 -0
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/internal/cjs/{automations-v2-automation-automations-v-2.universal-CUoGClWF.d.ts → automations-v2-automation-automations-v-2.universal-BsNMNocV.d.ts} +15 -1
  16. package/build/internal/cjs/index.d.ts +11 -3
  17. package/build/internal/cjs/index.js +53 -0
  18. package/build/internal/cjs/index.js.map +1 -1
  19. package/build/internal/cjs/meta.d.ts +53 -2
  20. package/build/internal/cjs/meta.js +38 -0
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{automations-v2-automation-automations-v-2.universal-CUoGClWF.d.mts → automations-v2-automation-automations-v-2.universal-BsNMNocV.d.mts} +15 -1
  23. package/build/internal/es/index.d.mts +11 -3
  24. package/build/internal/es/index.mjs +52 -0
  25. package/build/internal/es/index.mjs.map +1 -1
  26. package/build/internal/es/meta.d.mts +53 -2
  27. package/build/internal/es/meta.mjs +37 -0
  28. package/build/internal/es/meta.mjs.map +1 -1
  29. package/package.json +2 -2
@@ -2431,6 +2431,20 @@ interface AutomationsQueryBuilder {
2431
2431
  /** @documentationMaturity preview */
2432
2432
  find: () => Promise<AutomationsQueryResult>;
2433
2433
  }
2434
+ interface GetAggregatedUsageInfoOptions {
2435
+ /**
2436
+ * Filter in the following format:
2437
+ *
2438
+ * `"filter" :
2439
+ * {
2440
+ * "fieldName1": "value1",
2441
+ * "fieldName2":{"$operator":"value2"}
2442
+ * }`
2443
+ *
2444
+ * Learn more about [filters in API Query Language](https://dev.wix.com/docs/rest/articles/get-started/api-query-language#filters).
2445
+ */
2446
+ filter?: Record<string, any> | null;
2447
+ }
2434
2448
  interface CopyAutomationOptions {
2435
2449
  /** Origin of the automation to copy. */
2436
2450
  origin?: OriginWithLiterals;
@@ -2536,4 +2550,4 @@ interface GetAutomationRevisionOptions {
2536
2550
  fields?: RequestedFieldsWithLiterals[];
2537
2551
  }
2538
2552
 
2539
- export { type FutureDateActivationOffset as $, type Automation as A, type BulkDeleteAutomationsResponse as B, type CopyAutomationOptions as C, Domain as D, ValidationErrorType as E, ActionErrorType as F, type GeneratePreinstalledAutomationOptions as G, AutomationValidationErrorValidationErrorType as H, AutomationErrorType as I, type AutomationOriginInfoOneOf as J, type ActionSettings as K, Language as L, type Enrichment as M, Namespace as N, Operator as O, type PublishDraftAutomationResponse as P, type QueryAutomationsWithDraftsOptions as Q, RequestedFields as R, Status as S, TimeUnit as T, type UpdateAutomation as U, type ValidateAutomationOptions as V, WebhookIdentityType as W, type AuditInfo as X, type AuditInfoIdOneOf as Y, type AutomationConfiguration as Z, type Filter as _, type GeneratePreinstalledAutomationResponse as a, type GeneratePreinstalledAutomationRequest as a$, type RateLimit as a0, type FilterValueSelection as a1, type ConditionExpressionGroup as a2, type Path as a3, type AppDefinedAction as a4, type ConditionAction as a5, type DelayAction as a6, type RateLimitAction as a7, type SetVariablesAction as a8, type OutputAction as a9, type TestUpdateApplicationAutomationResponse as aA, type MessageEnvelope as aB, type IdentificationData as aC, type IdentificationDataIdOneOf as aD, type CodeSnippet as aE, type CodeConditionAction as aF, type CreateAutomationRequest as aG, type CreateAutomationResponse as aH, type GetAutomationRequest as aI, type GetAutomationResponse as aJ, type UpdateAutomationRequest as aK, type UpdateAutomationResponse as aL, type DeleteAutomationRequest as aM, type DeleteAutomationResponse as aN, type BulkDeleteAutomationsRequest as aO, type BulkDeleteResult as aP, type ItemMetadata as aQ, type ApplicationError as aR, type BulkActionMetadata as aS, type CreatePreinstalledAutomationRequest as aT, type PreinstalledAutomationSpecInfo as aU, type OriginAutomationInfo as aV, type CreatePreinstalledAutomationResponse as aW, type UpdatePreinstalledAutomationRequest as aX, type UpdatePreinstalledAutomationResponse as aY, type DeletePreinstalledAutomationRequest as aZ, type DeletePreinstalledAutomationResponse as a_, type SplitAction as aa, type Trigger as ab, type Action as ac, type ActionInfoOneOf as ad, type FilterableAppDefinedActions as ae, type ApplicationOrigin as af, type PreinstalledOrigin as ag, type AutomationSettings as ah, type DraftInfo as ai, type Enrichments as aj, type ExtendedFields as ak, type AutomationMigrationRequest as al, type UpdatedWithPreviousEntity as am, type DeletedWithEntity as an, type DraftPublished as ao, type DomainEvent as ap, type DomainEventBodyOneOf as aq, type EntityCreatedEvent as ar, type RestoreInfo as as, type EntityUpdatedEvent as at, type EntityDeletedEvent as au, type ActionEvent as av, type Empty as aw, type UpdateApplicationAutomationsRequest as ax, type UpdateApplicationAutomationsResponse as ay, type TestUpdateApplicationAutomationRequest as az, type AutomationsQueryBuilder as b, type GetAutomationActionSchemaResponse as b$, type QueryPreinstalledAutomationsForAppRequest as b0, type CursorQuery as b1, type CursorQueryPagingMethodOneOf as b2, type Sorting as b3, type CursorPaging as b4, type QueryPreinstalledAutomationsForAppResponse as b5, type CursorPagingMetadata as b6, type Cursors as b7, type QueryAutomationsRequest as b8, type QueryAutomationsResponse as b9, type OdeditorAssigned as bA, type OdeditorUnassigned as bB, type PicassoAssigned as bC, type PicassoUnassigned as bD, type CreateDraftAutomationRequest as bE, type GetOrCreateDraftAutomationRequest as bF, type UpdateDraftAutomationRequest as bG, type QueryAutomationsWithDraftsRequest as bH, type DraftsInfo as bI, type DeleteDraftAutomationRequest as bJ, type DeleteDraftAutomationResponse as bK, type PublishDraftAutomationRequest as bL, type ValidateAutomationRequest as bM, type ValidationSettings as bN, type TriggerValidationError as bO, type TriggerValidationErrorErrorOneOf as bP, type TriggerConfigurationError as bQ, type ProviderConfigurationError as bR, type ActionValidationInfo as bS, type ActionValidationError as bT, type ActionValidationErrorErrorOneOf as bU, type ActionConfigurationError as bV, type AutomationValidationError as bW, type AutomationValidationErrorErrorOneOf as bX, type AutomationConfigurationError as bY, type ValidateAutomationByIdRequest as bZ, type GetAutomationActionSchemaRequest as b_, type GetAggregatedUsageInfoRequest as ba, type GetAggregatedUsageInfoResponse as bb, type TriggerUsageSummary as bc, type ActionUsageSummary as bd, type CopyAutomationRequest as be, type MetaSiteSpecialEvent as bf, type MetaSiteSpecialEventPayloadOneOf as bg, type Asset as bh, type SiteCreated as bi, type SiteTransferred as bj, type SiteDeleted as bk, type DeleteContext as bl, type SiteUndeleted as bm, type SitePublished as bn, type SiteUnpublished as bo, type SiteMarkedAsTemplate as bp, type SiteMarkedAsWixSite as bq, type ServiceProvisioned as br, type ServiceRemoved as bs, type SiteRenamed as bt, type SiteHardDeleted as bu, type NamespaceChanged as bv, type StudioAssigned as bw, type StudioUnassigned as bx, type SiteUrlChanged as by, type SitePurgedExternally as bz, type CopyAutomationResponse as c, type GetActionsQuotaInfoRequest as c0, type GetActionsQuotaInfoResponse as c1, type ActionProviderQuotaInfo as c2, type ActionQuotaInfo as c3, type QuotaInfo as c4, type Plan as c5, type Quota as c6, type CTA as c7, type AdditionalInfo as c8, type UpgradeCTA as c9, type MigrateVeloActionAutomationsRequest as ca, type MigrateVeloActionAutomationsResponse as cb, type GetAutomationRevisionRequest as cc, type BaseEventMetadata as cd, type EventMetadata as ce, type AutomationsQueryResult as cf, type CreateDraftAutomationOptions as d, type CreateDraftAutomationResponse as e, type GetOrCreateDraftAutomationResponse as f, type UpdateDraftAutomation as g, type UpdateDraftAutomationResponse as h, type QueryAutomationsWithDraftsResponse as i, type ValidateAutomationResponse as j, type ValidateAutomationByIdOptions as k, type ValidateAutomationByIdResponse as l, type GetAutomationRevisionOptions as m, type GetAutomationRevisionResponse as n, type AutomationCreatedEnvelope as o, type AutomationDeletedEnvelope as p, type AutomationUpdatedEnvelope as q, Type as r, Origin as s, SortOrder as t, State as u, SiteCreatedContext as v, DeleteStatus as w, TriggerValidationErrorValidationErrorType as x, TriggerErrorType as y, ValidationErrorSeverity as z };
2553
+ export { type AutomationConfiguration as $, type Automation as A, type BulkDeleteAutomationsResponse as B, type CopyAutomationOptions as C, Domain as D, TriggerErrorType as E, ValidationErrorSeverity as F, type GeneratePreinstalledAutomationOptions as G, ValidationErrorType as H, ActionErrorType as I, AutomationValidationErrorValidationErrorType as J, AutomationErrorType as K, Language as L, type AutomationOriginInfoOneOf as M, Namespace as N, Operator as O, type PublishDraftAutomationResponse as P, type QueryAutomationsWithDraftsOptions as Q, RequestedFields as R, Status as S, TimeUnit as T, type UpdateAutomation as U, type ValidateAutomationOptions as V, WebhookIdentityType as W, type ActionSettings as X, type Enrichment as Y, type AuditInfo as Z, type AuditInfoIdOneOf as _, type GeneratePreinstalledAutomationResponse as a, type DeletePreinstalledAutomationRequest as a$, type Filter as a0, type FutureDateActivationOffset as a1, type RateLimit as a2, type FilterValueSelection as a3, type ConditionExpressionGroup as a4, type Path as a5, type AppDefinedAction as a6, type ConditionAction as a7, type DelayAction as a8, type RateLimitAction as a9, type UpdateApplicationAutomationsResponse as aA, type TestUpdateApplicationAutomationRequest as aB, type TestUpdateApplicationAutomationResponse as aC, type MessageEnvelope as aD, type IdentificationData as aE, type IdentificationDataIdOneOf as aF, type CodeSnippet as aG, type CodeConditionAction as aH, type CreateAutomationRequest as aI, type CreateAutomationResponse as aJ, type GetAutomationRequest as aK, type GetAutomationResponse as aL, type UpdateAutomationRequest as aM, type UpdateAutomationResponse as aN, type DeleteAutomationRequest as aO, type DeleteAutomationResponse as aP, type BulkDeleteAutomationsRequest as aQ, type BulkDeleteResult as aR, type ItemMetadata as aS, type ApplicationError as aT, type BulkActionMetadata as aU, type CreatePreinstalledAutomationRequest as aV, type PreinstalledAutomationSpecInfo as aW, type OriginAutomationInfo as aX, type CreatePreinstalledAutomationResponse as aY, type UpdatePreinstalledAutomationRequest as aZ, type UpdatePreinstalledAutomationResponse as a_, type SetVariablesAction as aa, type OutputAction as ab, type SplitAction as ac, type Trigger as ad, type Action as ae, type ActionInfoOneOf as af, type FilterableAppDefinedActions as ag, type ApplicationOrigin as ah, type PreinstalledOrigin as ai, type AutomationSettings as aj, type DraftInfo as ak, type Enrichments as al, type ExtendedFields as am, type AutomationMigrationRequest as an, type UpdatedWithPreviousEntity as ao, type DeletedWithEntity as ap, type DraftPublished as aq, type DomainEvent as ar, type DomainEventBodyOneOf as as, type EntityCreatedEvent as at, type RestoreInfo as au, type EntityUpdatedEvent as av, type EntityDeletedEvent as aw, type ActionEvent as ax, type Empty as ay, type UpdateApplicationAutomationsRequest as az, type AutomationsQueryBuilder as b, type GetAutomationActionSchemaRequest as b$, type DeletePreinstalledAutomationResponse as b0, type GeneratePreinstalledAutomationRequest as b1, type QueryPreinstalledAutomationsForAppRequest as b2, type CursorQuery as b3, type CursorQueryPagingMethodOneOf as b4, type Sorting as b5, type CursorPaging as b6, type QueryPreinstalledAutomationsForAppResponse as b7, type CursorPagingMetadata as b8, type Cursors as b9, type SitePurgedExternally as bA, type OdeditorAssigned as bB, type OdeditorUnassigned as bC, type PicassoAssigned as bD, type PicassoUnassigned as bE, type CreateDraftAutomationRequest as bF, type GetOrCreateDraftAutomationRequest as bG, type UpdateDraftAutomationRequest as bH, type QueryAutomationsWithDraftsRequest as bI, type DraftsInfo as bJ, type DeleteDraftAutomationRequest as bK, type DeleteDraftAutomationResponse as bL, type PublishDraftAutomationRequest as bM, type ValidateAutomationRequest as bN, type ValidationSettings as bO, type TriggerValidationError as bP, type TriggerValidationErrorErrorOneOf as bQ, type TriggerConfigurationError as bR, type ProviderConfigurationError as bS, type ActionValidationInfo as bT, type ActionValidationError as bU, type ActionValidationErrorErrorOneOf as bV, type ActionConfigurationError as bW, type AutomationValidationError as bX, type AutomationValidationErrorErrorOneOf as bY, type AutomationConfigurationError as bZ, type ValidateAutomationByIdRequest as b_, type QueryAutomationsRequest as ba, type QueryAutomationsResponse as bb, type GetAggregatedUsageInfoRequest as bc, type TriggerUsageSummary as bd, type ActionUsageSummary as be, type CopyAutomationRequest as bf, type MetaSiteSpecialEvent as bg, type MetaSiteSpecialEventPayloadOneOf as bh, type Asset as bi, type SiteCreated as bj, type SiteTransferred as bk, type SiteDeleted as bl, type DeleteContext as bm, type SiteUndeleted as bn, type SitePublished as bo, type SiteUnpublished as bp, type SiteMarkedAsTemplate as bq, type SiteMarkedAsWixSite as br, type ServiceProvisioned as bs, type ServiceRemoved as bt, type SiteRenamed as bu, type SiteHardDeleted as bv, type NamespaceChanged as bw, type StudioAssigned as bx, type StudioUnassigned as by, type SiteUrlChanged as bz, type GetAggregatedUsageInfoOptions as c, type GetAutomationActionSchemaResponse as c0, type GetActionsQuotaInfoRequest as c1, type GetActionsQuotaInfoResponse as c2, type ActionProviderQuotaInfo as c3, type ActionQuotaInfo as c4, type QuotaInfo as c5, type Plan as c6, type Quota as c7, type CTA as c8, type AdditionalInfo as c9, type UpgradeCTA as ca, type MigrateVeloActionAutomationsRequest as cb, type MigrateVeloActionAutomationsResponse as cc, type GetAutomationRevisionRequest as cd, type BaseEventMetadata as ce, type EventMetadata as cf, type AutomationsQueryResult as cg, type GetAggregatedUsageInfoResponse as d, type CopyAutomationResponse as e, type CreateDraftAutomationOptions as f, type CreateDraftAutomationResponse as g, type GetOrCreateDraftAutomationResponse as h, type UpdateDraftAutomation as i, type UpdateDraftAutomationResponse as j, type QueryAutomationsWithDraftsResponse as k, type ValidateAutomationResponse as l, type ValidateAutomationByIdOptions as m, type ValidateAutomationByIdResponse as n, type GetAutomationRevisionOptions as o, type GetAutomationRevisionResponse as p, type AutomationCreatedEnvelope as q, type AutomationDeletedEnvelope as r, type AutomationUpdatedEnvelope as s, Type as t, Origin as u, SortOrder as v, State as w, SiteCreatedContext as x, DeleteStatus as y, TriggerValidationErrorValidationErrorType as z };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { A as Automation, U as UpdateAutomation, B as BulkDeleteAutomationsResponse, G as GeneratePreinstalledAutomationOptions, a as GeneratePreinstalledAutomationResponse, b as AutomationsQueryBuilder, C as CopyAutomationOptions, c as CopyAutomationResponse, d as CreateDraftAutomationOptions, e as CreateDraftAutomationResponse, f as GetOrCreateDraftAutomationResponse, g as UpdateDraftAutomation, h as UpdateDraftAutomationResponse, Q as QueryAutomationsWithDraftsOptions, i as QueryAutomationsWithDraftsResponse, P as PublishDraftAutomationResponse, V as ValidateAutomationOptions, j as ValidateAutomationResponse, k as ValidateAutomationByIdOptions, l as ValidateAutomationByIdResponse, m as GetAutomationRevisionOptions, n as GetAutomationRevisionResponse, o as AutomationCreatedEnvelope, p as AutomationDeletedEnvelope, q as AutomationUpdatedEnvelope } from './automations-v2-automation-automations-v-2.universal-CUoGClWF.js';
3
- export { ac as Action, bV as ActionConfigurationError, F as ActionErrorType, av as ActionEvent, ad as ActionInfoOneOf, c2 as ActionProviderQuotaInfo, c3 as ActionQuotaInfo, K as ActionSettings, bd as ActionUsageSummary, bT as ActionValidationError, bU as ActionValidationErrorErrorOneOf, bS as ActionValidationInfo, c8 as AdditionalInfo, a4 as AppDefinedAction, aR as ApplicationError, af as ApplicationOrigin, bh as Asset, X as AuditInfo, Y as AuditInfoIdOneOf, Z as AutomationConfiguration, bY as AutomationConfigurationError, I as AutomationErrorType, al as AutomationMigrationRequest, J as AutomationOriginInfoOneOf, ah as AutomationSettings, bW as AutomationValidationError, bX as AutomationValidationErrorErrorOneOf, H as AutomationValidationErrorValidationErrorType, cf as AutomationsQueryResult, cd as BaseEventMetadata, aS as BulkActionMetadata, aO as BulkDeleteAutomationsRequest, aP as BulkDeleteResult, c7 as CTA, aF as CodeConditionAction, aE as CodeSnippet, a5 as ConditionAction, a2 as ConditionExpressionGroup, be as CopyAutomationRequest, aG as CreateAutomationRequest, aH as CreateAutomationResponse, bE as CreateDraftAutomationRequest, aT as CreatePreinstalledAutomationRequest, aW as CreatePreinstalledAutomationResponse, b4 as CursorPaging, b6 as CursorPagingMetadata, b1 as CursorQuery, b2 as CursorQueryPagingMethodOneOf, b7 as Cursors, a6 as DelayAction, aM as DeleteAutomationRequest, aN as DeleteAutomationResponse, bl as DeleteContext, bJ as DeleteDraftAutomationRequest, bK as DeleteDraftAutomationResponse, aZ as DeletePreinstalledAutomationRequest, a_ as DeletePreinstalledAutomationResponse, w as DeleteStatus, an as DeletedWithEntity, D as Domain, ap as DomainEvent, aq as DomainEventBodyOneOf, ai as DraftInfo, ao as DraftPublished, bI as DraftsInfo, aw as Empty, M as Enrichment, aj as Enrichments, ar as EntityCreatedEvent, au as EntityDeletedEvent, at as EntityUpdatedEvent, ce as EventMetadata, ak as ExtendedFields, _ as Filter, a1 as FilterValueSelection, ae as FilterableAppDefinedActions, $ as FutureDateActivationOffset, a$ as GeneratePreinstalledAutomationRequest, c0 as GetActionsQuotaInfoRequest, c1 as GetActionsQuotaInfoResponse, ba as GetAggregatedUsageInfoRequest, bb as GetAggregatedUsageInfoResponse, b_ as GetAutomationActionSchemaRequest, b$ as GetAutomationActionSchemaResponse, aI as GetAutomationRequest, aJ as GetAutomationResponse, cc as GetAutomationRevisionRequest, bF as GetOrCreateDraftAutomationRequest, aC as IdentificationData, aD as IdentificationDataIdOneOf, aQ as ItemMetadata, L as Language, aB as MessageEnvelope, bf as MetaSiteSpecialEvent, bg as MetaSiteSpecialEventPayloadOneOf, ca as MigrateVeloActionAutomationsRequest, cb as MigrateVeloActionAutomationsResponse, N as Namespace, bv as NamespaceChanged, bA as OdeditorAssigned, bB as OdeditorUnassigned, O as Operator, s as Origin, aV as OriginAutomationInfo, a9 as OutputAction, a3 as Path, bC as PicassoAssigned, bD as PicassoUnassigned, c5 as Plan, aU as PreinstalledAutomationSpecInfo, ag as PreinstalledOrigin, bR as ProviderConfigurationError, bL as PublishDraftAutomationRequest, b8 as QueryAutomationsRequest, b9 as QueryAutomationsResponse, bH as QueryAutomationsWithDraftsRequest, b0 as QueryPreinstalledAutomationsForAppRequest, b5 as QueryPreinstalledAutomationsForAppResponse, c6 as Quota, c4 as QuotaInfo, a0 as RateLimit, a7 as RateLimitAction, R as RequestedFields, as as RestoreInfo, br as ServiceProvisioned, bs as ServiceRemoved, a8 as SetVariablesAction, bi as SiteCreated, v as SiteCreatedContext, bk as SiteDeleted, bu as SiteHardDeleted, bp as SiteMarkedAsTemplate, bq as SiteMarkedAsWixSite, bn as SitePublished, bz as SitePurgedExternally, bt as SiteRenamed, bj as SiteTransferred, bm as SiteUndeleted, bo as SiteUnpublished, by as SiteUrlChanged, t as SortOrder, b3 as Sorting, aa as SplitAction, u as State, S as Status, bw as StudioAssigned, bx as StudioUnassigned, az as TestUpdateApplicationAutomationRequest, aA as TestUpdateApplicationAutomationResponse, T as TimeUnit, ab as Trigger, bQ as TriggerConfigurationError, y as TriggerErrorType, bc as TriggerUsageSummary, bO as TriggerValidationError, bP as TriggerValidationErrorErrorOneOf, x as TriggerValidationErrorValidationErrorType, r as Type, ax as UpdateApplicationAutomationsRequest, ay as UpdateApplicationAutomationsResponse, aK as UpdateAutomationRequest, aL as UpdateAutomationResponse, bG as UpdateDraftAutomationRequest, aX as UpdatePreinstalledAutomationRequest, aY as UpdatePreinstalledAutomationResponse, am as UpdatedWithPreviousEntity, c9 as UpgradeCTA, bZ as ValidateAutomationByIdRequest, bM as ValidateAutomationRequest, z as ValidationErrorSeverity, E as ValidationErrorType, bN as ValidationSettings, W as WebhookIdentityType } from './automations-v2-automation-automations-v-2.universal-CUoGClWF.js';
2
+ import { A as Automation, U as UpdateAutomation, B as BulkDeleteAutomationsResponse, G as GeneratePreinstalledAutomationOptions, a as GeneratePreinstalledAutomationResponse, b as AutomationsQueryBuilder, c as GetAggregatedUsageInfoOptions, d as GetAggregatedUsageInfoResponse, C as CopyAutomationOptions, e as CopyAutomationResponse, f as CreateDraftAutomationOptions, g as CreateDraftAutomationResponse, h as GetOrCreateDraftAutomationResponse, i as UpdateDraftAutomation, j as UpdateDraftAutomationResponse, Q as QueryAutomationsWithDraftsOptions, k as QueryAutomationsWithDraftsResponse, P as PublishDraftAutomationResponse, V as ValidateAutomationOptions, l as ValidateAutomationResponse, m as ValidateAutomationByIdOptions, n as ValidateAutomationByIdResponse, o as GetAutomationRevisionOptions, p as GetAutomationRevisionResponse, q as AutomationCreatedEnvelope, r as AutomationDeletedEnvelope, s as AutomationUpdatedEnvelope } from './automations-v2-automation-automations-v-2.universal-BsNMNocV.js';
3
+ export { ae as Action, bW as ActionConfigurationError, I as ActionErrorType, ax as ActionEvent, af as ActionInfoOneOf, c3 as ActionProviderQuotaInfo, c4 as ActionQuotaInfo, X as ActionSettings, be as ActionUsageSummary, bU as ActionValidationError, bV as ActionValidationErrorErrorOneOf, bT as ActionValidationInfo, c9 as AdditionalInfo, a6 as AppDefinedAction, aT as ApplicationError, ah as ApplicationOrigin, bi as Asset, Z as AuditInfo, _ as AuditInfoIdOneOf, $ as AutomationConfiguration, bZ as AutomationConfigurationError, K as AutomationErrorType, an as AutomationMigrationRequest, M as AutomationOriginInfoOneOf, aj as AutomationSettings, bX as AutomationValidationError, bY as AutomationValidationErrorErrorOneOf, J as AutomationValidationErrorValidationErrorType, cg as AutomationsQueryResult, ce as BaseEventMetadata, aU as BulkActionMetadata, aQ as BulkDeleteAutomationsRequest, aR as BulkDeleteResult, c8 as CTA, aH as CodeConditionAction, aG as CodeSnippet, a7 as ConditionAction, a4 as ConditionExpressionGroup, bf as CopyAutomationRequest, aI as CreateAutomationRequest, aJ as CreateAutomationResponse, bF as CreateDraftAutomationRequest, aV as CreatePreinstalledAutomationRequest, aY as CreatePreinstalledAutomationResponse, b6 as CursorPaging, b8 as CursorPagingMetadata, b3 as CursorQuery, b4 as CursorQueryPagingMethodOneOf, b9 as Cursors, a8 as DelayAction, aO as DeleteAutomationRequest, aP as DeleteAutomationResponse, bm as DeleteContext, bK as DeleteDraftAutomationRequest, bL as DeleteDraftAutomationResponse, a$ as DeletePreinstalledAutomationRequest, b0 as DeletePreinstalledAutomationResponse, y as DeleteStatus, ap as DeletedWithEntity, D as Domain, ar as DomainEvent, as as DomainEventBodyOneOf, ak as DraftInfo, aq as DraftPublished, bJ as DraftsInfo, ay as Empty, Y as Enrichment, al as Enrichments, at as EntityCreatedEvent, aw as EntityDeletedEvent, av as EntityUpdatedEvent, cf as EventMetadata, am as ExtendedFields, a0 as Filter, a3 as FilterValueSelection, ag as FilterableAppDefinedActions, a1 as FutureDateActivationOffset, b1 as GeneratePreinstalledAutomationRequest, c1 as GetActionsQuotaInfoRequest, c2 as GetActionsQuotaInfoResponse, bc as GetAggregatedUsageInfoRequest, b$ as GetAutomationActionSchemaRequest, c0 as GetAutomationActionSchemaResponse, aK as GetAutomationRequest, aL as GetAutomationResponse, cd as GetAutomationRevisionRequest, bG as GetOrCreateDraftAutomationRequest, aE as IdentificationData, aF as IdentificationDataIdOneOf, aS as ItemMetadata, L as Language, aD as MessageEnvelope, bg as MetaSiteSpecialEvent, bh as MetaSiteSpecialEventPayloadOneOf, cb as MigrateVeloActionAutomationsRequest, cc as MigrateVeloActionAutomationsResponse, N as Namespace, bw as NamespaceChanged, bB as OdeditorAssigned, bC as OdeditorUnassigned, O as Operator, u as Origin, aX as OriginAutomationInfo, ab as OutputAction, a5 as Path, bD as PicassoAssigned, bE as PicassoUnassigned, c6 as Plan, aW as PreinstalledAutomationSpecInfo, ai as PreinstalledOrigin, bS as ProviderConfigurationError, bM as PublishDraftAutomationRequest, ba as QueryAutomationsRequest, bb as QueryAutomationsResponse, bI as QueryAutomationsWithDraftsRequest, b2 as QueryPreinstalledAutomationsForAppRequest, b7 as QueryPreinstalledAutomationsForAppResponse, c7 as Quota, c5 as QuotaInfo, a2 as RateLimit, a9 as RateLimitAction, R as RequestedFields, au as RestoreInfo, bs as ServiceProvisioned, bt as ServiceRemoved, aa as SetVariablesAction, bj as SiteCreated, x as SiteCreatedContext, bl as SiteDeleted, bv as SiteHardDeleted, bq as SiteMarkedAsTemplate, br as SiteMarkedAsWixSite, bo as SitePublished, bA as SitePurgedExternally, bu as SiteRenamed, bk as SiteTransferred, bn as SiteUndeleted, bp as SiteUnpublished, bz as SiteUrlChanged, v as SortOrder, b5 as Sorting, ac as SplitAction, w as State, S as Status, bx as StudioAssigned, by as StudioUnassigned, aB as TestUpdateApplicationAutomationRequest, aC as TestUpdateApplicationAutomationResponse, T as TimeUnit, ad as Trigger, bR as TriggerConfigurationError, E as TriggerErrorType, bd as TriggerUsageSummary, bP as TriggerValidationError, bQ as TriggerValidationErrorErrorOneOf, z as TriggerValidationErrorValidationErrorType, t as Type, az as UpdateApplicationAutomationsRequest, aA as UpdateApplicationAutomationsResponse, aM as UpdateAutomationRequest, aN as UpdateAutomationResponse, bH as UpdateDraftAutomationRequest, aZ as UpdatePreinstalledAutomationRequest, a_ as UpdatePreinstalledAutomationResponse, ao as UpdatedWithPreviousEntity, ca as UpgradeCTA, b_ as ValidateAutomationByIdRequest, bN as ValidateAutomationRequest, F as ValidationErrorSeverity, H as ValidationErrorType, bO as ValidationSettings, W as WebhookIdentityType } from './automations-v2-automation-automations-v-2.universal-BsNMNocV.js';
4
4
 
5
5
  declare function createAutomation$1(httpClient: HttpClient): CreateAutomationSignature;
6
6
  interface CreateAutomationSignature {
@@ -70,6 +70,13 @@ interface QueryAutomationsSignature {
70
70
  */
71
71
  (): AutomationsQueryBuilder;
72
72
  }
73
+ declare function getAggregatedUsageInfo$1(httpClient: HttpClient): GetAggregatedUsageInfoSignature;
74
+ interface GetAggregatedUsageInfoSignature {
75
+ /**
76
+ * Get aggregated info
77
+ */
78
+ (options?: GetAggregatedUsageInfoOptions | undefined): Promise<GetAggregatedUsageInfoResponse>;
79
+ }
73
80
  declare function copyAutomation$1(httpClient: HttpClient): CopyAutomationSignature;
74
81
  interface CopyAutomationSignature {
75
82
  /**
@@ -176,6 +183,7 @@ declare const deleteAutomation: MaybeContext<BuildRESTFunction<typeof deleteAuto
176
183
  declare const bulkDeleteAutomations: MaybeContext<BuildRESTFunction<typeof bulkDeleteAutomations$1> & typeof bulkDeleteAutomations$1>;
177
184
  declare const generatePreinstalledAutomation: MaybeContext<BuildRESTFunction<typeof generatePreinstalledAutomation$1> & typeof generatePreinstalledAutomation$1>;
178
185
  declare const queryAutomations: MaybeContext<BuildRESTFunction<typeof queryAutomations$1> & typeof queryAutomations$1>;
186
+ declare const getAggregatedUsageInfo: MaybeContext<BuildRESTFunction<typeof getAggregatedUsageInfo$1> & typeof getAggregatedUsageInfo$1>;
179
187
  declare const copyAutomation: MaybeContext<BuildRESTFunction<typeof copyAutomation$1> & typeof copyAutomation$1>;
180
188
  declare const createDraftAutomation: MaybeContext<BuildRESTFunction<typeof createDraftAutomation$1> & typeof createDraftAutomation$1>;
181
189
  declare const getOrCreateDraftAutomation: MaybeContext<BuildRESTFunction<typeof getOrCreateDraftAutomation$1> & typeof getOrCreateDraftAutomation$1>;
@@ -199,4 +207,4 @@ declare const onAutomationDeleted: BuildEventDefinition<typeof onAutomationDelet
199
207
  */
200
208
  declare const onAutomationUpdated: BuildEventDefinition<typeof onAutomationUpdated$1>;
201
209
 
202
- export { Automation, AutomationCreatedEnvelope, AutomationDeletedEnvelope, AutomationUpdatedEnvelope, AutomationsQueryBuilder, BulkDeleteAutomationsResponse, CopyAutomationOptions, CopyAutomationResponse, CreateDraftAutomationOptions, CreateDraftAutomationResponse, GeneratePreinstalledAutomationOptions, GeneratePreinstalledAutomationResponse, GetAutomationRevisionOptions, GetAutomationRevisionResponse, GetOrCreateDraftAutomationResponse, PublishDraftAutomationResponse, QueryAutomationsWithDraftsOptions, QueryAutomationsWithDraftsResponse, UpdateAutomation, UpdateDraftAutomation, UpdateDraftAutomationResponse, ValidateAutomationByIdOptions, ValidateAutomationByIdResponse, ValidateAutomationOptions, ValidateAutomationResponse, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
210
+ export { Automation, AutomationCreatedEnvelope, AutomationDeletedEnvelope, AutomationUpdatedEnvelope, AutomationsQueryBuilder, BulkDeleteAutomationsResponse, CopyAutomationOptions, CopyAutomationResponse, CreateDraftAutomationOptions, CreateDraftAutomationResponse, GeneratePreinstalledAutomationOptions, GeneratePreinstalledAutomationResponse, GetAggregatedUsageInfoOptions, GetAggregatedUsageInfoResponse, GetAutomationRevisionOptions, GetAutomationRevisionResponse, GetOrCreateDraftAutomationResponse, PublishDraftAutomationResponse, QueryAutomationsWithDraftsOptions, QueryAutomationsWithDraftsResponse, UpdateAutomation, UpdateDraftAutomation, UpdateDraftAutomationResponse, ValidateAutomationByIdOptions, ValidateAutomationByIdResponse, ValidateAutomationOptions, ValidateAutomationResponse, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
@@ -48,6 +48,7 @@ __export(index_exports, {
48
48
  deleteAutomation: () => deleteAutomation4,
49
49
  deleteDraftAutomation: () => deleteDraftAutomation4,
50
50
  generatePreinstalledAutomation: () => generatePreinstalledAutomation4,
51
+ getAggregatedUsageInfo: () => getAggregatedUsageInfo4,
51
52
  getAutomation: () => getAutomation4,
52
53
  getAutomationRevision: () => getAutomationRevision4,
53
54
  getOrCreateDraftAutomation: () => getOrCreateDraftAutomation4,
@@ -371,6 +372,24 @@ function queryAutomations(payload) {
371
372
  }
372
373
  return __queryAutomations;
373
374
  }
375
+ function getAggregatedUsageInfo(payload) {
376
+ function __getAggregatedUsageInfo({ host }) {
377
+ const metadata = {
378
+ entityFqdn: "wix.automations.v2.automation",
379
+ method: "GET",
380
+ methodFqn: "wix.automations.v2.AutomationsService.GetAggregatedUsageInfo",
381
+ packageName: PACKAGE_NAME,
382
+ url: resolveWixAutomationsV2AutomationsServiceUrl({
383
+ protoPath: "/v2/automations/usage",
384
+ data: payload,
385
+ host
386
+ }),
387
+ params: (0, import_rest_modules.toURLSearchParams)(payload, true)
388
+ };
389
+ return metadata;
390
+ }
391
+ return __getAggregatedUsageInfo;
392
+ }
374
393
  function copyAutomation(payload) {
375
394
  function __copyAutomation({ host }) {
376
395
  const serializedData = (0, import_transform_paths.transformPaths)(payload, [
@@ -1040,6 +1059,31 @@ function queryAutomations2() {
1040
1059
  transformationPaths: {}
1041
1060
  });
1042
1061
  }
1062
+ async function getAggregatedUsageInfo2(options) {
1063
+ const { httpClient, sideEffects } = arguments[1];
1064
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1065
+ filter: options?.filter
1066
+ });
1067
+ const reqOpts = getAggregatedUsageInfo(payload);
1068
+ sideEffects?.onSiteCall?.();
1069
+ try {
1070
+ const result = await httpClient.request(reqOpts);
1071
+ sideEffects?.onSuccess?.(result);
1072
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1073
+ } catch (err) {
1074
+ const transformedError = (0, import_transform_error.transformError)(
1075
+ err,
1076
+ {
1077
+ spreadPathsToArguments: {},
1078
+ explicitPathsToArguments: { filter: "$[0].filter" },
1079
+ singleArgumentUnchanged: false
1080
+ },
1081
+ ["options"]
1082
+ );
1083
+ sideEffects?.onError?.(err);
1084
+ throw transformedError;
1085
+ }
1086
+ }
1043
1087
  async function copyAutomation2(automationId, options) {
1044
1088
  const { httpClient, sideEffects } = arguments[2];
1045
1089
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -1361,6 +1405,13 @@ function queryAutomations3(httpClient) {
1361
1405
  { httpClient }
1362
1406
  );
1363
1407
  }
1408
+ function getAggregatedUsageInfo3(httpClient) {
1409
+ return (options) => getAggregatedUsageInfo2(
1410
+ options,
1411
+ // @ts-ignore
1412
+ { httpClient }
1413
+ );
1414
+ }
1364
1415
  function copyAutomation3(httpClient) {
1365
1416
  return (automationId, options) => copyAutomation2(
1366
1417
  automationId,
@@ -1498,6 +1549,7 @@ var deleteAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModul
1498
1549
  var bulkDeleteAutomations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkDeleteAutomations3);
1499
1550
  var generatePreinstalledAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(generatePreinstalledAutomation3);
1500
1551
  var queryAutomations4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryAutomations3);
1552
+ var getAggregatedUsageInfo4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getAggregatedUsageInfo3);
1501
1553
  var copyAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(copyAutomation3);
1502
1554
  var createDraftAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(createDraftAutomation3);
1503
1555
  var getOrCreateDraftAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getOrCreateDraftAutomation3);
@@ -1541,6 +1593,7 @@ var onAutomationUpdated2 = (0, import_event_definition_modules.createEventModule
1541
1593
  deleteAutomation,
1542
1594
  deleteDraftAutomation,
1543
1595
  generatePreinstalledAutomation,
1596
+ getAggregatedUsageInfo,
1544
1597
  getAutomation,
1545
1598
  getAutomationRevision,
1546
1599
  getOrCreateDraftAutomation,