@wix/auto_sdk_automations_automations-v-2 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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +9 -3
  2. package/build/cjs/index.js +55 -0
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/{automations-v2-automation-automations-v-2.universal-BsNMNocV.d.ts → index.typings.d.ts} +353 -1
  5. package/build/cjs/index.typings.js +1436 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +27 -2
  8. package/build/cjs/meta.js +40 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +9 -3
  11. package/build/es/index.mjs +54 -0
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/{automations-v2-automation-automations-v-2.universal-BsNMNocV.d.mts → index.typings.d.mts} +353 -1
  14. package/build/es/index.typings.mjs +1373 -0
  15. package/build/es/index.typings.mjs.map +1 -0
  16. package/build/es/meta.d.mts +27 -2
  17. package/build/es/meta.mjs +39 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +9 -3
  20. package/build/internal/cjs/index.js +55 -0
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/{automations-v2-automation-automations-v-2.universal-BsNMNocV.d.ts → index.typings.d.ts} +353 -1
  23. package/build/internal/cjs/index.typings.js +1436 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -0
  25. package/build/internal/cjs/meta.d.ts +27 -2
  26. package/build/internal/cjs/meta.js +40 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +9 -3
  29. package/build/internal/es/index.mjs +54 -0
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/{automations-v2-automation-automations-v-2.universal-BsNMNocV.d.mts → index.typings.d.mts} +353 -1
  32. package/build/internal/es/index.typings.mjs +1373 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -0
  34. package/build/internal/es/meta.d.mts +27 -2
  35. package/build/internal/es/meta.mjs +39 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +3 -3
@@ -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 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';
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, 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
  declare function createAutomation$1(httpClient: HttpClient): CreateAutomationSignature;
6
6
  interface CreateAutomationSignature {
@@ -132,6 +132,11 @@ interface QueryAutomationsWithDraftsSignature {
132
132
  */
133
133
  (options?: QueryAutomationsWithDraftsOptions | undefined): Promise<QueryAutomationsWithDraftsResponse>;
134
134
  }
135
+ declare function bulkCountAutomationsWithDrafts$1(httpClient: HttpClient): BulkCountAutomationsWithDraftsSignature;
136
+ interface BulkCountAutomationsWithDraftsSignature {
137
+ /** */
138
+ (options?: BulkCountAutomationsWithDraftsOptions | undefined): Promise<BulkCountAutomationsWithDraftsResponse>;
139
+ }
135
140
  declare function deleteDraftAutomation$1(httpClient: HttpClient): DeleteDraftAutomationSignature;
136
141
  interface DeleteDraftAutomationSignature {
137
142
  /**
@@ -189,6 +194,7 @@ declare const createDraftAutomation: MaybeContext<BuildRESTFunction<typeof creat
189
194
  declare const getOrCreateDraftAutomation: MaybeContext<BuildRESTFunction<typeof getOrCreateDraftAutomation$1> & typeof getOrCreateDraftAutomation$1>;
190
195
  declare const updateDraftAutomation: MaybeContext<BuildRESTFunction<typeof updateDraftAutomation$1> & typeof updateDraftAutomation$1>;
191
196
  declare const queryAutomationsWithDrafts: MaybeContext<BuildRESTFunction<typeof queryAutomationsWithDrafts$1> & typeof queryAutomationsWithDrafts$1>;
197
+ declare const bulkCountAutomationsWithDrafts: MaybeContext<BuildRESTFunction<typeof bulkCountAutomationsWithDrafts$1> & typeof bulkCountAutomationsWithDrafts$1>;
192
198
  declare const deleteDraftAutomation: MaybeContext<BuildRESTFunction<typeof deleteDraftAutomation$1> & typeof deleteDraftAutomation$1>;
193
199
  declare const publishDraftAutomation: MaybeContext<BuildRESTFunction<typeof publishDraftAutomation$1> & typeof publishDraftAutomation$1>;
194
200
  declare const validateAutomation: MaybeContext<BuildRESTFunction<typeof validateAutomation$1> & typeof validateAutomation$1>;
@@ -207,4 +213,4 @@ declare const onAutomationDeleted: BuildEventDefinition<typeof onAutomationDelet
207
213
  */
208
214
  declare const onAutomationUpdated: BuildEventDefinition<typeof onAutomationUpdated$1>;
209
215
 
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 };
216
+ export { Automation, AutomationCreatedEnvelope, AutomationDeletedEnvelope, AutomationUpdatedEnvelope, AutomationsQueryBuilder, BulkCountAutomationsWithDraftsOptions, BulkCountAutomationsWithDraftsResponse, BulkDeleteAutomationsResponse, CopyAutomationOptions, CopyAutomationResponse, CreateDraftAutomationOptions, CreateDraftAutomationResponse, GeneratePreinstalledAutomationOptions, GeneratePreinstalledAutomationResponse, GetAggregatedUsageInfoOptions, GetAggregatedUsageInfoResponse, GetAutomationRevisionOptions, GetAutomationRevisionResponse, GetOrCreateDraftAutomationResponse, PublishDraftAutomationResponse, QueryAutomationsWithDraftsOptions, QueryAutomationsWithDraftsResponse, UpdateAutomation, UpdateDraftAutomation, UpdateDraftAutomationResponse, ValidateAutomationByIdOptions, ValidateAutomationByIdResponse, ValidateAutomationOptions, ValidateAutomationResponse, bulkCountAutomationsWithDrafts, bulkDeleteAutomations, copyAutomation, createAutomation, createDraftAutomation, deleteAutomation, deleteDraftAutomation, generatePreinstalledAutomation, getAggregatedUsageInfo, getAutomation, getAutomationRevision, getOrCreateDraftAutomation, onAutomationCreated, onAutomationDeleted, onAutomationUpdated, publishDraftAutomation, queryAutomations, queryAutomationsWithDrafts, updateAutomation, updateDraftAutomation, validateAutomation, validateAutomationById };
@@ -41,6 +41,7 @@ __export(index_exports, {
41
41
  ValidationErrorSeverity: () => ValidationErrorSeverity,
42
42
  ValidationErrorType: () => ValidationErrorType,
43
43
  WebhookIdentityType: () => WebhookIdentityType,
44
+ bulkCountAutomationsWithDrafts: () => bulkCountAutomationsWithDrafts4,
44
45
  bulkDeleteAutomations: () => bulkDeleteAutomations4,
45
46
  copyAutomation: () => copyAutomation4,
46
47
  createAutomation: () => createAutomation4,
@@ -564,6 +565,24 @@ function queryAutomationsWithDrafts(payload) {
564
565
  }
565
566
  return __queryAutomationsWithDrafts;
566
567
  }
568
+ function bulkCountAutomationsWithDrafts(payload) {
569
+ function __bulkCountAutomationsWithDrafts({ host }) {
570
+ const metadata = {
571
+ entityFqdn: "wix.automations.v2.automation",
572
+ method: "POST",
573
+ methodFqn: "wix.automations.v2.AutomationsService.BulkCountAutomationsWithDrafts",
574
+ packageName: PACKAGE_NAME,
575
+ url: resolveWixAutomationsV2AutomationsServiceUrl({
576
+ protoPath: "/v2/automations/bulk-count-with-drafts",
577
+ data: payload,
578
+ host
579
+ }),
580
+ data: payload
581
+ };
582
+ return metadata;
583
+ }
584
+ return __bulkCountAutomationsWithDrafts;
585
+ }
567
586
  function deleteDraftAutomation(payload) {
568
587
  function __deleteDraftAutomation({ host }) {
569
588
  const metadata = {
@@ -1215,6 +1234,33 @@ async function queryAutomationsWithDrafts2(options) {
1215
1234
  throw transformedError;
1216
1235
  }
1217
1236
  }
1237
+ async function bulkCountAutomationsWithDrafts2(options) {
1238
+ const { httpClient, sideEffects } = arguments[1];
1239
+ const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1240
+ filters: options?.filters
1241
+ });
1242
+ const reqOpts = bulkCountAutomationsWithDrafts(
1243
+ payload
1244
+ );
1245
+ sideEffects?.onSiteCall?.();
1246
+ try {
1247
+ const result = await httpClient.request(reqOpts);
1248
+ sideEffects?.onSuccess?.(result);
1249
+ return (0, import_rename_all_nested_keys.renameKeysFromRESTResponseToSDKResponse)(result.data);
1250
+ } catch (err) {
1251
+ const transformedError = (0, import_transform_error.transformError)(
1252
+ err,
1253
+ {
1254
+ spreadPathsToArguments: {},
1255
+ explicitPathsToArguments: { filters: "$[0].filters" },
1256
+ singleArgumentUnchanged: false
1257
+ },
1258
+ ["options"]
1259
+ );
1260
+ sideEffects?.onError?.(err);
1261
+ throw transformedError;
1262
+ }
1263
+ }
1218
1264
  async function deleteDraftAutomation2(automationId) {
1219
1265
  const { httpClient, sideEffects } = arguments[1];
1220
1266
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -1449,6 +1495,13 @@ function queryAutomationsWithDrafts3(httpClient) {
1449
1495
  { httpClient }
1450
1496
  );
1451
1497
  }
1498
+ function bulkCountAutomationsWithDrafts3(httpClient) {
1499
+ return (options) => bulkCountAutomationsWithDrafts2(
1500
+ options,
1501
+ // @ts-ignore
1502
+ { httpClient }
1503
+ );
1504
+ }
1452
1505
  function deleteDraftAutomation3(httpClient) {
1453
1506
  return (automationId) => deleteDraftAutomation2(
1454
1507
  automationId,
@@ -1555,6 +1608,7 @@ var createDraftAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createREST
1555
1608
  var getOrCreateDraftAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(getOrCreateDraftAutomation3);
1556
1609
  var updateDraftAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(updateDraftAutomation3);
1557
1610
  var queryAutomationsWithDrafts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(queryAutomationsWithDrafts3);
1611
+ var bulkCountAutomationsWithDrafts4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(bulkCountAutomationsWithDrafts3);
1558
1612
  var deleteDraftAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(deleteDraftAutomation3);
1559
1613
  var publishDraftAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(publishDraftAutomation3);
1560
1614
  var validateAutomation4 = /* @__PURE__ */ (0, import_rest_modules3.createRESTModule)(validateAutomation3);
@@ -1586,6 +1640,7 @@ var onAutomationUpdated2 = (0, import_event_definition_modules.createEventModule
1586
1640
  ValidationErrorSeverity,
1587
1641
  ValidationErrorType,
1588
1642
  WebhookIdentityType,
1643
+ bulkCountAutomationsWithDrafts,
1589
1644
  bulkDeleteAutomations,
1590
1645
  copyAutomation,
1591
1646
  createAutomation,