@wix/auto_sdk_bookings_resources 1.0.72 → 1.0.74

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/{bookings-resources-v2-resource-resources.universal-t-njWnKq.d.ts → bookings-resources-v2-resource-resources.universal-CamyXWDP.d.ts} +47 -12
  2. package/build/cjs/index.d.ts +2 -2
  3. package/build/cjs/index.js +8 -0
  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 +8 -0
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +15 -1
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/{bookings-resources-v2-resource-resources.universal-t-njWnKq.d.mts → bookings-resources-v2-resource-resources.universal-CamyXWDP.d.mts} +47 -12
  11. package/build/es/index.d.mts +2 -2
  12. package/build/es/index.mjs +5 -0
  13. package/build/es/index.mjs.map +1 -1
  14. package/build/es/index.typings.d.mts +2 -2
  15. package/build/es/index.typings.mjs +5 -0
  16. package/build/es/index.typings.mjs.map +1 -1
  17. package/build/es/meta.d.mts +15 -1
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/{bookings-resources-v2-resource-resources.universal-t-njWnKq.d.ts → bookings-resources-v2-resource-resources.universal-CamyXWDP.d.ts} +47 -12
  20. package/build/internal/cjs/index.d.ts +2 -2
  21. package/build/internal/cjs/index.js +8 -0
  22. package/build/internal/cjs/index.js.map +1 -1
  23. package/build/internal/cjs/index.typings.d.ts +2 -2
  24. package/build/internal/cjs/index.typings.js +8 -0
  25. package/build/internal/cjs/index.typings.js.map +1 -1
  26. package/build/internal/cjs/meta.d.ts +15 -1
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/{bookings-resources-v2-resource-resources.universal-t-njWnKq.d.mts → bookings-resources-v2-resource-resources.universal-CamyXWDP.d.mts} +47 -12
  29. package/build/internal/es/index.d.mts +2 -2
  30. package/build/internal/es/index.mjs +5 -0
  31. package/build/internal/es/index.mjs.map +1 -1
  32. package/build/internal/es/index.typings.d.mts +2 -2
  33. package/build/internal/es/index.typings.mjs +5 -0
  34. package/build/internal/es/index.typings.mjs.map +1 -1
  35. package/build/internal/es/meta.d.mts +15 -1
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +4 -4
@@ -1,4 +1,5 @@
1
- import { SearchSpec, QuerySpec, Search, Query, NonNullablePaths } from '@wix/sdk-types';
1
+ import * as _wix_sdk_types from '@wix/sdk-types';
2
+ import { SearchSpec, QuerySpec, Query, Search, NonNullablePaths } from '@wix/sdk-types';
2
3
 
3
4
  /**
4
5
  * A resource represents an entity, such as a room or a staff member, that can be
@@ -63,6 +64,20 @@ interface Resource extends ResourceCompositionDetailsOneOf {
63
64
  * @readonly
64
65
  */
65
66
  eventsSchedule?: EventsSchedule;
67
+ /**
68
+ * ID of the app associated with the resource. You can't update `appId`.
69
+ * Resources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.
70
+ * Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
71
+ * For resources from Wix apps, the following values apply:
72
+ * - Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
73
+ * - Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`
74
+ * - Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`
75
+ * [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).
76
+ * <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
77
+ * @format GUID
78
+ * @immutable
79
+ */
80
+ appId?: string | null;
66
81
  /** Extensions enabling users to save custom data related to the resource. */
67
82
  extendedFields?: ExtendedFields;
68
83
  }
@@ -1531,6 +1546,20 @@ interface UpdateResource {
1531
1546
  * @readonly
1532
1547
  */
1533
1548
  eventsSchedule?: EventsSchedule;
1549
+ /**
1550
+ * ID of the app associated with the resource. You can't update `appId`.
1551
+ * Resources are displayed in Wix Bookings only if they are associated with the Wix Bookings app ID or have no associated app ID.
1552
+ * Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
1553
+ * For resources from Wix apps, the following values apply:
1554
+ * - Wix Bookings: `"13d21c63-b5ec-5912-8397-c3a5ddb27a97"`
1555
+ * - Wix Services: `"cc552162-24a4-45e0-9695-230c4931ef40"`
1556
+ * - Wix Meetings: `"6646a75c-2027-4f49-976c-58f3d713ed0f"`
1557
+ * [Full list of apps created by Wix](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/platform/about-apps-created-by-wix).
1558
+ * <!-- TODO: Uncomment when Platform docs are published - Learn more about [app identity in the Bookings Platform](https://dev.wix.com/docs/api-reference/business-solutions/bookings/bookings-platform/app-identity-in-the-bookings-platform). -->
1559
+ * @format GUID
1560
+ * @immutable
1561
+ */
1562
+ appId?: string | null;
1534
1563
  /** Extensions enabling users to save custom data related to the resource. */
1535
1564
  extendedFields?: ExtendedFields;
1536
1565
  }
@@ -1594,6 +1623,7 @@ interface ResourceSearchSpec extends SearchSpec {
1594
1623
  '_createdDate',
1595
1624
  '_id',
1596
1625
  '_updatedDate',
1626
+ 'appId',
1597
1627
  'singleResource.locationOptions.availableInAllLocations',
1598
1628
  'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations',
1599
1629
  'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId'
@@ -1613,6 +1643,7 @@ interface ResourceSearchSpec extends SearchSpec {
1613
1643
  '_createdDate',
1614
1644
  '_id',
1615
1645
  '_updatedDate',
1646
+ 'appId',
1616
1647
  'name',
1617
1648
  'singleResource.locationOptions.availableInAllLocations',
1618
1649
  'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations'
@@ -1785,37 +1816,37 @@ interface ResourcesQueryBuilder {
1785
1816
  /** @param propertyName - Property whose value is compared with `value`.
1786
1817
  * @param value - Value to compare against.
1787
1818
  */
1788
- eq: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
1819
+ eq: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId', value: any) => ResourcesQueryBuilder;
1789
1820
  /** @param propertyName - Property whose value is compared with `value`.
1790
1821
  * @param value - Value to compare against.
1791
1822
  */
1792
- ne: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
1823
+ ne: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId', value: any) => ResourcesQueryBuilder;
1793
1824
  /** @param propertyName - Property whose value is compared with `value`.
1794
1825
  * @param value - Value to compare against.
1795
1826
  */
1796
- ge: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
1827
+ ge: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId' | 'appId', value: any) => ResourcesQueryBuilder;
1797
1828
  /** @param propertyName - Property whose value is compared with `value`.
1798
1829
  * @param value - Value to compare against.
1799
1830
  */
1800
- gt: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
1831
+ gt: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId' | 'appId', value: any) => ResourcesQueryBuilder;
1801
1832
  /** @param propertyName - Property whose value is compared with `value`.
1802
1833
  * @param value - Value to compare against.
1803
1834
  */
1804
- le: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
1835
+ le: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId' | 'appId', value: any) => ResourcesQueryBuilder;
1805
1836
  /** @param propertyName - Property whose value is compared with `value`.
1806
1837
  * @param value - Value to compare against.
1807
1838
  */
1808
- lt: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
1839
+ lt: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'eventsSchedule.scheduleId' | 'appId', value: any) => ResourcesQueryBuilder;
1809
1840
  /** @param propertyName - Property whose value is compared with `string`.
1810
1841
  * @param string - String to compare against. Case-insensitive.
1811
1842
  */
1812
- startsWith: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | 'name' | 'typeId' | 'eventsSchedule.scheduleId', value: string) => ResourcesQueryBuilder;
1843
+ startsWith: (propertyName: 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | 'name' | 'typeId' | 'eventsSchedule.scheduleId' | 'appId', value: string) => ResourcesQueryBuilder;
1813
1844
  /** @param propertyName - Property whose value is compared with `values`.
1814
1845
  * @param values - List of values to compare against.
1815
1846
  */
1816
- hasSome: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any[]) => ResourcesQueryBuilder;
1817
- in: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: any) => ResourcesQueryBuilder;
1818
- exists: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId', value: boolean) => ResourcesQueryBuilder;
1847
+ hasSome: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId', value: any[]) => ResourcesQueryBuilder;
1848
+ in: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId', value: any) => ResourcesQueryBuilder;
1849
+ exists: (propertyName: 'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'name' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId', value: boolean) => ResourcesQueryBuilder;
1819
1850
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
1820
1851
  ascending: (...propertyNames: Array<'singleResource.locationOptions.availableInAllLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomerLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInCustomLocations' | 'singleResource.locationOptions.specificLocationOptions.availableInBusinessLocations' | 'singleResource.locationOptions.specificLocationOptions.businessLocations.locationId' | '_id' | '_createdDate' | '_updatedDate' | 'type' | 'typeId' | 'locationOptions.availableInAllLocations' | 'eventsSchedule.scheduleId' | 'appId' | 'managementType'>) => ResourcesQueryBuilder;
1821
1852
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
@@ -1840,6 +1871,7 @@ interface ResourceQuerySpec extends QuerySpec {
1840
1871
  '_createdDate',
1841
1872
  '_id',
1842
1873
  '_updatedDate',
1874
+ 'appId',
1843
1875
  'eventsSchedule.scheduleId',
1844
1876
  'locationOptions.availableInAllLocations',
1845
1877
  'locationOptions.specificLocationOptions.availableInBusinessLocations',
@@ -1917,6 +1949,9 @@ type ResourceQuery = {
1917
1949
  order?: NonNullable<CommonQueryWithEntityContext['sort']>[number]['order'];
1918
1950
  }[];
1919
1951
  };
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>;
1920
1955
  /**
1921
1956
  * Counts resources according to given criteria.
1922
1957
  *
@@ -1939,4 +1974,4 @@ interface CountResourcesOptions {
1939
1974
  search?: SearchDetails;
1940
1975
  }
1941
1976
 
1942
- 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, bulkCreateResources as bA, getResource as bB, updateResource as bC, bulkUpdateResources as bD, deleteResource as bE, bulkDeleteResources as bF, queryResources as bG, countResources as bH, 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, type ManagementTypeWithLiterals as bj, type SortOrderWithLiterals as bk, type SortTypeWithLiterals as bl, type SortDirectionWithLiterals as bm, type MissingValuesWithLiterals as bn, type ScalarTypeWithLiterals as bo, type NestedAggregationTypeWithLiterals as bp, type IntervalWithLiterals as bq, type AggregationTypeWithLiterals as br, type ModeWithLiterals as bs, type WebhookIdentityTypeWithLiterals as bt, type CommonSearchWithEntityContext as bu, type CommonQueryWithEntityContext as bv, onResourceCreated as bw, onResourceDeleted as bx, onResourceUpdated as by, createResource 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 };
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 };
@@ -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-t-njWnKq.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, br 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, bv as CommonQueryWithEntityContext, bu 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, bq as IntervalWithLiterals, T as ItemMetadata, a1 as ListDeletedResourcesRequest, a3 as ListDeletedResourcesResponse, L as LocationOptions, p as ManagementType, bj as ManagementTypeWithLiterals, b9 as MessageEnvelope, u as MissingValues, bn as MissingValuesWithLiterals, w as Mode, bs as ModeWithLiterals, av as NestedAggregation, at as NestedAggregationItem, au as NestedAggregationItemKindOneOf, aC as NestedAggregationResults, aD as NestedAggregationResultsResultOneOf, N as NestedAggregationType, bp 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, bo as ScalarTypeWithLiterals, D as Schedule, ay as SearchDetails, ag as SearchResourcesRequest, z as SingleResource, s as SortDirection, bm as SortDirectionWithLiterals, q as SortOrder, bk as SortOrderWithLiterals, r as SortType, bl 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, bt as WebhookIdentityTypeWithLiterals, y as WorkingHoursSchedule, G as WorkingHoursSchedules } from './bookings-resources-v2-resource-resources.universal-t-njWnKq.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-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';
4
4
 
5
5
  declare function createResource$1(httpClient: HttpClient): CreateResourceSignature;
6
6
  interface CreateResourceSignature {
@@ -21,12 +21,15 @@ 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,
24
25
  Interval: () => Interval,
25
26
  ManagementType: () => ManagementType,
26
27
  MissingValues: () => MissingValues,
27
28
  Mode: () => Mode,
28
29
  NestedAggregationType: () => NestedAggregationType,
30
+ QueryBuilder: () => QueryBuilder,
29
31
  ScalarType: () => ScalarType,
32
+ Sort: () => Sort,
30
33
  SortDirection: () => SortDirection,
31
34
  SortOrder: () => SortOrder,
32
35
  SortType: () => SortType,
@@ -479,6 +482,7 @@ function countResources(payload) {
479
482
 
480
483
  // src/bookings-resources-v2-resource-resources.universal.ts
481
484
  var import_transform_paths2 = require("@wix/sdk-runtime/transformations/transform-paths");
485
+ var import_query_builder_utils = require("@wix/sdk-runtime/query-builder-utils");
482
486
  var ManagementType = /* @__PURE__ */ ((ManagementType2) => {
483
487
  ManagementType2["WIX_USER"] = "WIX_USER";
484
488
  return ManagementType2;
@@ -818,6 +822,7 @@ async function typedQueryResources(query) {
818
822
  throw transformedError;
819
823
  }
820
824
  }
825
+ var { QueryBuilder, Filter, Sort } = (0, import_query_builder_utils.createQueryUtils)();
821
826
  async function countResources2(options) {
822
827
  const { httpClient, sideEffects } = arguments[1];
823
828
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
@@ -1008,12 +1013,15 @@ var onResourceUpdated2 = (0, import_event_definition_modules.createEventModule)(
1008
1013
  // Annotate the CommonJS export names for ESM import in node:
1009
1014
  0 && (module.exports = {
1010
1015
  AggregationType,
1016
+ Filter,
1011
1017
  Interval,
1012
1018
  ManagementType,
1013
1019
  MissingValues,
1014
1020
  Mode,
1015
1021
  NestedAggregationType,
1022
+ QueryBuilder,
1016
1023
  ScalarType,
1024
+ Sort,
1017
1025
  SortDirection,
1018
1026
  SortOrder,
1019
1027
  SortType,