@wix/auto_sdk_bookings_resources 1.0.74 → 1.0.76

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 (33) hide show
  1. package/build/cjs/{bookings-resources-v2-resource-resources.universal-CamyXWDP.d.ts → bookings-resources-v2-resource-resources.universal-CdUEJoGw.d.ts} +16 -5
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +13 -9
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +13 -9
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +1 -1
  9. package/build/es/{bookings-resources-v2-resource-resources.universal-CamyXWDP.d.mts → bookings-resources-v2-resource-resources.universal-CdUEJoGw.d.mts} +16 -5
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs +11 -5
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +2 -2
  14. package/build/es/index.typings.mjs +11 -5
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +1 -1
  17. package/build/internal/cjs/{bookings-resources-v2-resource-resources.universal-CamyXWDP.d.ts → bookings-resources-v2-resource-resources.universal-CdUEJoGw.d.ts} +16 -5
  18. package/build/internal/cjs/index.d.ts +2 -2
  19. package/build/internal/cjs/index.js +13 -9
  20. package/build/internal/cjs/index.js.map +1 -1
  21. package/build/internal/cjs/index.typings.d.ts +2 -2
  22. package/build/internal/cjs/index.typings.js +13 -9
  23. package/build/internal/cjs/index.typings.js.map +1 -1
  24. package/build/internal/cjs/meta.d.ts +1 -1
  25. package/build/internal/es/{bookings-resources-v2-resource-resources.universal-CamyXWDP.d.mts → bookings-resources-v2-resource-resources.universal-CdUEJoGw.d.mts} +16 -5
  26. package/build/internal/es/index.d.mts +2 -2
  27. package/build/internal/es/index.mjs +11 -5
  28. package/build/internal/es/index.mjs.map +1 -1
  29. package/build/internal/es/index.typings.d.mts +2 -2
  30. package/build/internal/es/index.typings.mjs +11 -5
  31. package/build/internal/es/index.typings.mjs.map +1 -1
  32. package/build/internal/es/meta.d.mts +1 -1
  33. package/package.json +4 -4
@@ -1,5 +1,5 @@
1
1
  import * as _wix_sdk_types from '@wix/sdk-types';
2
- import { SearchSpec, QuerySpec, Query, Search, NonNullablePaths } from '@wix/sdk-types';
2
+ import { SearchSpec, QuerySpec, Search, Query, NonNullablePaths } from '@wix/sdk-types';
3
3
 
4
4
  /**
5
5
  * A resource represents an entity, such as a room or a staff member, that can be
@@ -1776,6 +1776,20 @@ type ResourceSearch = {
1776
1776
  */
1777
1777
  timeZone?: CommonSearchWithEntityContext['timeZone'] | null;
1778
1778
  };
1779
+ declare const utils: {
1780
+ search: {
1781
+ SearchBuilder: () => _wix_sdk_types.SearchBuilder<Resource, ResourceSearchSpec, ResourceSearch>;
1782
+ Filter: _wix_sdk_types.FilterFactory<Resource, ResourceSearchSpec>;
1783
+ Sort: _wix_sdk_types.SortFactory<ResourceSearchSpec>;
1784
+ SearchParams: _wix_sdk_types.SearchParamsFactory<ResourceSearchSpec>;
1785
+ Aggregation: _wix_sdk_types.AggregationFactory<ResourceSearchSpec>;
1786
+ };
1787
+ query: {
1788
+ QueryBuilder: () => _wix_sdk_types.QueryBuilder<Resource, ResourceQuerySpec, ResourceQuery>;
1789
+ Filter: _wix_sdk_types.FilterFactory<Resource, ResourceQuerySpec>;
1790
+ Sort: _wix_sdk_types.SortFactory<ResourceQuerySpec>;
1791
+ };
1792
+ };
1779
1793
  /**
1780
1794
  * Creates a query to retrieve a list of resources.
1781
1795
  *
@@ -1949,9 +1963,6 @@ type ResourceQuery = {
1949
1963
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
1950
1964
  }[];
1951
1965
  };
1952
- declare const QueryBuilder: () => _wix_sdk_types.QueryBuilder<Resource, ResourceQuerySpec, ResourceQuery>;
1953
- declare const Filter: _wix_sdk_types.FilterFactory<Resource, ResourceQuerySpec>;
1954
- declare const Sort: _wix_sdk_types.SortFactory<ResourceQuerySpec>;
1955
1966
  /**
1956
1967
  * Counts resources according to given criteria.
1957
1968
  *
@@ -1974,4 +1985,4 @@ interface CountResourcesOptions {
1974
1985
  search?: SearchDetails;
1975
1986
  }
1976
1987
 
1977
- export { type GetDeletedResourceRequest as $, AggregationType as A, type BulkCreateResourcesOptions as B, type CreateResourceValidationErrors as C, type Schedule as D, type SpecificLocation as E, type BusinessLocation as F, type WorkingHoursSchedules as G, type EventsSchedule as H, Interval as I, type ExtendedFields as J, type CreateResourceRequest as K, type LocationOptions as L, type MaskedResource as M, NestedAggregationType as N, type CreateResourceResponse as O, type BulkCreateResourcesRequest as P, type BulkResourceResult as Q, type Resource as R, type SearchResourcesResponse as S, type ItemMetadata as T, type UpdateResource as U, type V2WorkingHoursSchedules as V, WebhookIdentityType as W, type ApplicationError as X, type BulkActionMetadata as Y, type GetResourceRequest as Z, type GetResourceResponse as _, type BulkCreateResourcesResponse as a, type ReindexTenantRequest as a$, type GetDeletedResourceResponse as a0, type ListDeletedResourcesRequest as a1, type CursorPaging as a2, type ListDeletedResourcesResponse as a3, type CursorPagingMetadata as a4, type Cursors as a5, type RemoveResourceFromTrashBinRequest as a6, type RemoveResourceFromTrashBinResponse as a7, type RestoreResourceFromTrashBinRequest as a8, type RestoreResourceFromTrashBinResponse as a9, type ValueAggregationResult as aA, type RangeAggregationResult as aB, type NestedAggregationResults as aC, type NestedAggregationResultsResultOneOf as aD, type ValueResults as aE, type RangeResults as aF, type AggregationResultsScalarResult as aG, type NestedValueAggregationResult as aH, type ValueResult as aI, type RangeResult as aJ, type ScalarResult as aK, type NestedResultValue as aL, type NestedResultValueResultOneOf as aM, type Results as aN, type DateHistogramResult as aO, type GroupByValueResults as aP, type DateHistogramResults as aQ, type NestedResults as aR, type AggregationResults as aS, type AggregationResultsResultOneOf as aT, type QueryResourcesRequest as aU, type CursorQuery as aV, type CursorQueryPagingMethodOneOf as aW, type QueryResourcesResponse as aX, type CountResourcesRequest as aY, type FixResourceSchedulesRequest as aZ, type FixResourceSchedulesResponse as a_, type UpdateResourceRequest as aa, type UpdateResourceResponse as ab, type BulkUpdateResourcesRequest as ac, type DeleteResourceRequest as ad, type DeleteResourceResponse as ae, type BulkDeleteResourcesRequest as af, type SearchResourcesRequest as ag, type CursorSearch as ah, type CursorSearchPagingMethodOneOf as ai, type Sorting as aj, type Aggregation as ak, type AggregationKindOneOf as al, type RangeBucket as am, type IncludeMissingValuesOptions as an, type ValueAggregation as ao, type ValueAggregationOptionsOneOf as ap, type RangeAggregation as aq, type ScalarAggregation as ar, type DateHistogramAggregation as as, type NestedAggregationItem as at, type NestedAggregationItemKindOneOf as au, type NestedAggregation as av, type GroupByAggregation as aw, type GroupByAggregationKindOneOf as ax, type SearchDetails as ay, type AggregationData as az, type BulkCreateResourcesValidationErrors as b, type ReindexTenantResponse as b0, type DomainEvent as b1, type DomainEventBodyOneOf as b2, type EntityCreatedEvent as b3, type RestoreInfo as b4, type EntityUpdatedEvent as b5, type EntityDeletedEvent as b6, type ActionEvent as b7, type Empty as b8, type MessageEnvelope as b9, onResourceDeleted as bA, onResourceUpdated as bB, createResource as bC, bulkCreateResources as bD, getResource as bE, updateResource as bF, bulkUpdateResources as bG, deleteResource as bH, bulkDeleteResources as bI, queryResources as bJ, countResources as bK, type IdentificationData as ba, type IdentificationDataIdOneOf as bb, type AccountInfo as bc, type BaseEventMetadata as bd, type EventMetadata as be, type AccountInfoMetadata as bf, type ResourceSearchSpec as bg, type ResourcesQueryResult as bh, type ResourceQuerySpec as bi, QueryBuilder as bj, Filter as bk, Sort as bl, type ManagementTypeWithLiterals as bm, type SortOrderWithLiterals as bn, type SortTypeWithLiterals as bo, type SortDirectionWithLiterals as bp, type MissingValuesWithLiterals as bq, type ScalarTypeWithLiterals as br, type NestedAggregationTypeWithLiterals as bs, type IntervalWithLiterals as bt, type AggregationTypeWithLiterals as bu, type ModeWithLiterals as bv, type WebhookIdentityTypeWithLiterals as bw, type CommonSearchWithEntityContext as bx, type CommonQueryWithEntityContext as by, onResourceCreated as bz, type UpdateResourceValidationErrors as c, type BulkUpdateResourcesOptions as d, type BulkUpdateResourcesResponse as e, type BulkUpdateResourcesValidationErrors as f, type BulkDeleteResourcesResponse as g, type ResourceSearch as h, type CountResourcesOptions as i, type CountResourcesResponse as j, type ResourceCreatedEnvelope as k, type ResourceDeletedEnvelope as l, type ResourceUpdatedEnvelope as m, type ResourcesQueryBuilder as n, type ResourceQuery as o, ManagementType as p, SortOrder as q, SortType as r, SortDirection as s, typedQueryResources as t, MissingValues as u, ScalarType as v, Mode as w, type ResourceCompositionDetailsOneOf as x, type WorkingHoursSchedule as y, type SingleResource as z };
1988
+ export { type GetDeletedResourceRequest as $, AggregationType as A, type BulkCreateResourcesOptions as B, type CreateResourceValidationErrors as C, type Schedule as D, type SpecificLocation as E, type BusinessLocation as F, type WorkingHoursSchedules as G, type EventsSchedule as H, Interval as I, type ExtendedFields as J, type CreateResourceRequest as K, type LocationOptions as L, type MaskedResource as M, NestedAggregationType as N, type CreateResourceResponse as O, type BulkCreateResourcesRequest as P, type BulkResourceResult as Q, type Resource as R, type SearchResourcesResponse as S, type ItemMetadata as T, type UpdateResource as U, type V2WorkingHoursSchedules as V, WebhookIdentityType as W, type ApplicationError as X, type BulkActionMetadata as Y, type GetResourceRequest as Z, type GetResourceResponse as _, type BulkCreateResourcesResponse as a, type ReindexTenantRequest as a$, type GetDeletedResourceResponse as a0, type ListDeletedResourcesRequest as a1, type CursorPaging as a2, type ListDeletedResourcesResponse as a3, type CursorPagingMetadata as a4, type Cursors as a5, type RemoveResourceFromTrashBinRequest as a6, type RemoveResourceFromTrashBinResponse as a7, type RestoreResourceFromTrashBinRequest as a8, type RestoreResourceFromTrashBinResponse as a9, type ValueAggregationResult as aA, type RangeAggregationResult as aB, type NestedAggregationResults as aC, type NestedAggregationResultsResultOneOf as aD, type ValueResults as aE, type RangeResults as aF, type AggregationResultsScalarResult as aG, type NestedValueAggregationResult as aH, type ValueResult as aI, type RangeResult as aJ, type ScalarResult as aK, type NestedResultValue as aL, type NestedResultValueResultOneOf as aM, type Results as aN, type DateHistogramResult as aO, type GroupByValueResults as aP, type DateHistogramResults as aQ, type NestedResults as aR, type AggregationResults as aS, type AggregationResultsResultOneOf as aT, type QueryResourcesRequest as aU, type CursorQuery as aV, type CursorQueryPagingMethodOneOf as aW, type QueryResourcesResponse as aX, type CountResourcesRequest as aY, type FixResourceSchedulesRequest as aZ, type FixResourceSchedulesResponse as a_, type UpdateResourceRequest as aa, type UpdateResourceResponse as ab, type BulkUpdateResourcesRequest as ac, type DeleteResourceRequest as ad, type DeleteResourceResponse as ae, type BulkDeleteResourcesRequest as af, type SearchResourcesRequest as ag, type CursorSearch as ah, type CursorSearchPagingMethodOneOf as ai, type Sorting as aj, type Aggregation as ak, type AggregationKindOneOf as al, type RangeBucket as am, type IncludeMissingValuesOptions as an, type ValueAggregation as ao, type ValueAggregationOptionsOneOf as ap, type RangeAggregation as aq, type ScalarAggregation as ar, type DateHistogramAggregation as as, type NestedAggregationItem as at, type NestedAggregationItemKindOneOf as au, type NestedAggregation as av, type GroupByAggregation as aw, type GroupByAggregationKindOneOf as ax, type SearchDetails as ay, type AggregationData as az, type BulkCreateResourcesValidationErrors as b, type ReindexTenantResponse as b0, type DomainEvent as b1, type DomainEventBodyOneOf as b2, type EntityCreatedEvent as b3, type RestoreInfo as b4, type EntityUpdatedEvent as b5, type EntityDeletedEvent as b6, type ActionEvent as b7, type Empty as b8, type MessageEnvelope as b9, createResource as bA, bulkCreateResources as bB, getResource as bC, updateResource as bD, bulkUpdateResources as bE, deleteResource as bF, bulkDeleteResources as bG, queryResources as bH, countResources as bI, type IdentificationData as ba, type IdentificationDataIdOneOf as bb, type AccountInfo as bc, type BaseEventMetadata as bd, type EventMetadata as be, type AccountInfoMetadata as bf, type ResourceSearchSpec as bg, type ResourcesQueryResult as bh, type ResourceQuerySpec as bi, utils as bj, type ManagementTypeWithLiterals as bk, type SortOrderWithLiterals as bl, type SortTypeWithLiterals as bm, type SortDirectionWithLiterals as bn, type MissingValuesWithLiterals as bo, type ScalarTypeWithLiterals as bp, type NestedAggregationTypeWithLiterals as bq, type IntervalWithLiterals as br, type AggregationTypeWithLiterals as bs, type ModeWithLiterals as bt, type WebhookIdentityTypeWithLiterals as bu, type CommonSearchWithEntityContext as bv, type CommonQueryWithEntityContext as bw, onResourceCreated as bx, onResourceDeleted as by, onResourceUpdated as bz, type UpdateResourceValidationErrors as c, type BulkUpdateResourcesOptions as d, type BulkUpdateResourcesResponse as e, type BulkUpdateResourcesValidationErrors as f, type BulkDeleteResourcesResponse as g, type ResourceSearch as h, type CountResourcesOptions as i, type CountResourcesResponse as j, type ResourceCreatedEnvelope as k, type ResourceDeletedEnvelope as l, type ResourceUpdatedEnvelope as m, type ResourcesQueryBuilder as n, type ResourceQuery as o, ManagementType as p, SortOrder as q, SortType as r, SortDirection as s, typedQueryResources as t, MissingValues as u, ScalarType as v, Mode as w, type ResourceCompositionDetailsOneOf as x, type WorkingHoursSchedule as y, type SingleResource as z };
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
- import { R as Resource, C as CreateResourceValidationErrors, B as BulkCreateResourcesOptions, a as BulkCreateResourcesResponse, b as BulkCreateResourcesValidationErrors, U as UpdateResource, c as UpdateResourceValidationErrors, M as MaskedResource, d as BulkUpdateResourcesOptions, e as BulkUpdateResourcesResponse, f as BulkUpdateResourcesValidationErrors, g as BulkDeleteResourcesResponse, h as ResourceSearch, S as SearchResourcesResponse, i as CountResourcesOptions, j as CountResourcesResponse, k as ResourceCreatedEnvelope, l as ResourceDeletedEnvelope, m as ResourceUpdatedEnvelope, n as ResourcesQueryBuilder, o as ResourceQuery, t as typedQueryResources } from './bookings-resources-v2-resource-resources.universal-CamyXWDP.js';
3
- export { bc as AccountInfo, bf as AccountInfoMetadata, b7 as ActionEvent, ak as Aggregation, az as AggregationData, al as AggregationKindOneOf, aS as AggregationResults, aT as AggregationResultsResultOneOf, aG as AggregationResultsScalarResult, A as AggregationType, bu as AggregationTypeWithLiterals, X as ApplicationError, bd as BaseEventMetadata, Y as BulkActionMetadata, P as BulkCreateResourcesRequest, af as BulkDeleteResourcesRequest, Q as BulkResourceResult, ac as BulkUpdateResourcesRequest, F as BusinessLocation, by as CommonQueryWithEntityContext, bx as CommonSearchWithEntityContext, aY as CountResourcesRequest, K as CreateResourceRequest, O as CreateResourceResponse, a2 as CursorPaging, a4 as CursorPagingMetadata, aV as CursorQuery, aW as CursorQueryPagingMethodOneOf, ah as CursorSearch, ai as CursorSearchPagingMethodOneOf, a5 as Cursors, as as DateHistogramAggregation, aO as DateHistogramResult, aQ as DateHistogramResults, ad as DeleteResourceRequest, ae as DeleteResourceResponse, b1 as DomainEvent, b2 as DomainEventBodyOneOf, b8 as Empty, b3 as EntityCreatedEvent, b6 as EntityDeletedEvent, b5 as EntityUpdatedEvent, be as EventMetadata, H as EventsSchedule, J as ExtendedFields, bk as Filter, aZ as FixResourceSchedulesRequest, a_ as FixResourceSchedulesResponse, $ as GetDeletedResourceRequest, a0 as GetDeletedResourceResponse, Z as GetResourceRequest, _ as GetResourceResponse, aw as GroupByAggregation, ax as GroupByAggregationKindOneOf, aP as GroupByValueResults, ba as IdentificationData, bb as IdentificationDataIdOneOf, an as IncludeMissingValuesOptions, I as Interval, bt as IntervalWithLiterals, T as ItemMetadata, a1 as ListDeletedResourcesRequest, a3 as ListDeletedResourcesResponse, L as LocationOptions, p as ManagementType, bm as ManagementTypeWithLiterals, b9 as MessageEnvelope, u as MissingValues, bq as MissingValuesWithLiterals, w as Mode, bv as ModeWithLiterals, av as NestedAggregation, at as NestedAggregationItem, au as NestedAggregationItemKindOneOf, aC as NestedAggregationResults, aD as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bs as NestedAggregationTypeWithLiterals, aL as NestedResultValue, aM as NestedResultValueResultOneOf, aR as NestedResults, aH as NestedValueAggregationResult, bj as QueryBuilder, aU as QueryResourcesRequest, aX as QueryResourcesResponse, aq as RangeAggregation, aB as RangeAggregationResult, am as RangeBucket, aJ as RangeResult, aF as RangeResults, a$ as ReindexTenantRequest, b0 as ReindexTenantResponse, a6 as RemoveResourceFromTrashBinRequest, a7 as RemoveResourceFromTrashBinResponse, x as ResourceCompositionDetailsOneOf, bi as ResourceQuerySpec, bg as ResourceSearchSpec, bh as ResourcesQueryResult, b4 as RestoreInfo, a8 as RestoreResourceFromTrashBinRequest, a9 as RestoreResourceFromTrashBinResponse, aN as Results, ar as ScalarAggregation, aK as ScalarResult, v as ScalarType, br as ScalarTypeWithLiterals, D as Schedule, ay as SearchDetails, ag as SearchResourcesRequest, z as SingleResource, bl as Sort, s as SortDirection, bp as SortDirectionWithLiterals, q as SortOrder, bn as SortOrderWithLiterals, r as SortType, bo as SortTypeWithLiterals, aj as Sorting, E as SpecificLocation, aa as UpdateResourceRequest, ab as UpdateResourceResponse, V as V2WorkingHoursSchedules, ao as ValueAggregation, ap as ValueAggregationOptionsOneOf, aA as ValueAggregationResult, aI as ValueResult, aE as ValueResults, W as WebhookIdentityType, bw as WebhookIdentityTypeWithLiterals, y as WorkingHoursSchedule, G as WorkingHoursSchedules } from './bookings-resources-v2-resource-resources.universal-CamyXWDP.js';
2
+ import { R as Resource, C as CreateResourceValidationErrors, B as BulkCreateResourcesOptions, a as BulkCreateResourcesResponse, b as BulkCreateResourcesValidationErrors, U as UpdateResource, c as UpdateResourceValidationErrors, M as MaskedResource, d as BulkUpdateResourcesOptions, e as BulkUpdateResourcesResponse, f as BulkUpdateResourcesValidationErrors, g as BulkDeleteResourcesResponse, h as ResourceSearch, S as SearchResourcesResponse, i as CountResourcesOptions, j as CountResourcesResponse, k as ResourceCreatedEnvelope, l as ResourceDeletedEnvelope, m as ResourceUpdatedEnvelope, n as ResourcesQueryBuilder, o as ResourceQuery, t as typedQueryResources } from './bookings-resources-v2-resource-resources.universal-CdUEJoGw.js';
3
+ export { bc as AccountInfo, bf as AccountInfoMetadata, b7 as ActionEvent, ak as Aggregation, az as AggregationData, al as AggregationKindOneOf, aS as AggregationResults, aT as AggregationResultsResultOneOf, aG as AggregationResultsScalarResult, A as AggregationType, bs as AggregationTypeWithLiterals, X as ApplicationError, bd as BaseEventMetadata, Y as BulkActionMetadata, P as BulkCreateResourcesRequest, af as BulkDeleteResourcesRequest, Q as BulkResourceResult, ac as BulkUpdateResourcesRequest, F as BusinessLocation, bw as CommonQueryWithEntityContext, bv as CommonSearchWithEntityContext, aY as CountResourcesRequest, K as CreateResourceRequest, O as CreateResourceResponse, a2 as CursorPaging, a4 as CursorPagingMetadata, aV as CursorQuery, aW as CursorQueryPagingMethodOneOf, ah as CursorSearch, ai as CursorSearchPagingMethodOneOf, a5 as Cursors, as as DateHistogramAggregation, aO as DateHistogramResult, aQ as DateHistogramResults, ad as DeleteResourceRequest, ae as DeleteResourceResponse, b1 as DomainEvent, b2 as DomainEventBodyOneOf, b8 as Empty, b3 as EntityCreatedEvent, b6 as EntityDeletedEvent, b5 as EntityUpdatedEvent, be as EventMetadata, H as EventsSchedule, J as ExtendedFields, aZ as FixResourceSchedulesRequest, a_ as FixResourceSchedulesResponse, $ as GetDeletedResourceRequest, a0 as GetDeletedResourceResponse, Z as GetResourceRequest, _ as GetResourceResponse, aw as GroupByAggregation, ax as GroupByAggregationKindOneOf, aP as GroupByValueResults, ba as IdentificationData, bb as IdentificationDataIdOneOf, an as IncludeMissingValuesOptions, I as Interval, br as IntervalWithLiterals, T as ItemMetadata, a1 as ListDeletedResourcesRequest, a3 as ListDeletedResourcesResponse, L as LocationOptions, p as ManagementType, bk as ManagementTypeWithLiterals, b9 as MessageEnvelope, u as MissingValues, bo as MissingValuesWithLiterals, w as Mode, bt as ModeWithLiterals, av as NestedAggregation, at as NestedAggregationItem, au as NestedAggregationItemKindOneOf, aC as NestedAggregationResults, aD as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bq as NestedAggregationTypeWithLiterals, aL as NestedResultValue, aM as NestedResultValueResultOneOf, aR as NestedResults, aH as NestedValueAggregationResult, aU as QueryResourcesRequest, aX as QueryResourcesResponse, aq as RangeAggregation, aB as RangeAggregationResult, am as RangeBucket, aJ as RangeResult, aF as RangeResults, a$ as ReindexTenantRequest, b0 as ReindexTenantResponse, a6 as RemoveResourceFromTrashBinRequest, a7 as RemoveResourceFromTrashBinResponse, x as ResourceCompositionDetailsOneOf, bi as ResourceQuerySpec, bg as ResourceSearchSpec, bh as ResourcesQueryResult, b4 as RestoreInfo, a8 as RestoreResourceFromTrashBinRequest, a9 as RestoreResourceFromTrashBinResponse, aN as Results, ar as ScalarAggregation, aK as ScalarResult, v as ScalarType, bp as ScalarTypeWithLiterals, D as Schedule, ay as SearchDetails, ag as SearchResourcesRequest, z as SingleResource, s as SortDirection, bn as SortDirectionWithLiterals, q as SortOrder, bl as SortOrderWithLiterals, r as SortType, bm as SortTypeWithLiterals, aj as Sorting, E as SpecificLocation, aa as UpdateResourceRequest, ab as UpdateResourceResponse, V as V2WorkingHoursSchedules, ao as ValueAggregation, ap as ValueAggregationOptionsOneOf, aA as ValueAggregationResult, aI as ValueResult, aE as ValueResults, W as WebhookIdentityType, bu as WebhookIdentityTypeWithLiterals, y as WorkingHoursSchedule, G as WorkingHoursSchedules, bj as utils } from './bookings-resources-v2-resource-resources.universal-CdUEJoGw.js';
4
4
 
5
5
  declare function createResource$1(httpClient: HttpClient): CreateResourceSignature;
6
6
  interface CreateResourceSignature {
@@ -21,15 +21,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var index_exports = {};
22
22
  __export(index_exports, {
23
23
  AggregationType: () => AggregationType,
24
- Filter: () => Filter,
25
24
  Interval: () => Interval,
26
25
  ManagementType: () => ManagementType,
27
26
  MissingValues: () => MissingValues,
28
27
  Mode: () => Mode,
29
28
  NestedAggregationType: () => NestedAggregationType,
30
- QueryBuilder: () => QueryBuilder,
31
29
  ScalarType: () => ScalarType,
32
- Sort: () => Sort,
33
30
  SortDirection: () => SortDirection,
34
31
  SortOrder: () => SortOrder,
35
32
  SortType: () => SortType,
@@ -46,7 +43,8 @@ __export(index_exports, {
46
43
  onResourceUpdated: () => onResourceUpdated2,
47
44
  queryResources: () => queryResources4,
48
45
  searchResources: () => searchResources4,
49
- updateResource: () => updateResource4
46
+ updateResource: () => updateResource4,
47
+ utils: () => utils
50
48
  });
51
49
  module.exports = __toCommonJS(index_exports);
52
50
 
@@ -482,6 +480,7 @@ function countResources(payload) {
482
480
 
483
481
  // src/bookings-resources-v2-resource-resources.universal.ts
484
482
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
483
+ var import_search_builder_utils = require("@wix/sdk-runtime/search-builder-utils");
485
484
  var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
486
485
  var ManagementType = /* @__PURE__ */ ((ManagementType2) => {
487
486
  ManagementType2["WIX_USER"] = "WIX_USER";
@@ -756,6 +755,14 @@ async function searchResources2(search) {
756
755
  throw transformedError;
757
756
  }
758
757
  }
758
+ var utils = {
759
+ search: {
760
+ ...(0, import_search_builder_utils.createSearchUtils)()
761
+ },
762
+ query: {
763
+ ...(0, import_query_builder_utils.createQueryUtils)()
764
+ }
765
+ };
759
766
  function queryResources2() {
760
767
  const { httpClient, sideEffects } = arguments[0];
761
768
  return (0, import_query_builder.queryBuilder)({
@@ -822,7 +829,6 @@ async function typedQueryResources(query) {
822
829
  throw transformedError;
823
830
  }
824
831
  }
825
- var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
826
832
  async function countResources2(options) {
827
833
  const { httpClient, sideEffects } = arguments[1];
828
834
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -1013,15 +1019,12 @@ var onResourceUpdated2 = (0, import_event_definition_modules.createEventModule)(
1013
1019
  // Annotate the CommonJS export names for ESM import in node:
1014
1020
  0 && (module.exports = {
1015
1021
  AggregationType,
1016
- Filter,
1017
1022
  Interval,
1018
1023
  ManagementType,
1019
1024
  MissingValues,
1020
1025
  Mode,
1021
1026
  NestedAggregationType,
1022
- QueryBuilder,
1023
1027
  ScalarType,
1024
- Sort,
1025
1028
  SortDirection,
1026
1029
  SortOrder,
1027
1030
  SortType,
@@ -1038,6 +1041,7 @@ var onResourceUpdated2 = (0, import_event_definition_modules.createEventModule)(
1038
1041
  onResourceUpdated,
1039
1042
  queryResources,
1040
1043
  searchResources,
1041
- updateResource
1044
+ updateResource,
1045
+ utils
1042
1046
  });
1043
1047
  //# sourceMappingURL=index.js.map