@wix/auto_sdk_bookings_resources 1.0.20 → 1.0.22

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 (129) hide show
  1. package/build/{internal/cjs/src/bookings-resources-v2-resource-resources.universal.d.ts → bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.mts} +328 -409
  2. package/build/{cjs/src/bookings-resources-v2-resource-resources.universal.d.ts → bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.ts} +328 -409
  3. package/build/index.d.mts +168 -0
  4. package/build/index.d.ts +168 -0
  5. package/build/index.js +883 -0
  6. package/build/index.js.map +1 -0
  7. package/build/index.mjs +837 -0
  8. package/build/index.mjs.map +1 -0
  9. package/build/internal/{es/src/bookings-resources-v2-resource-resources.universal.d.ts → bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.mts} +328 -409
  10. package/build/{es/src/bookings-resources-v2-resource-resources.universal.d.ts → internal/bookings-resources-v2-resource-resources.universal-BvcAlBYB.d.ts} +328 -409
  11. package/build/internal/index.d.mts +168 -0
  12. package/build/internal/index.d.ts +168 -0
  13. package/build/internal/index.js +883 -0
  14. package/build/internal/index.js.map +1 -0
  15. package/build/internal/index.mjs +837 -0
  16. package/build/internal/index.mjs.map +1 -0
  17. package/build/{es/src/bookings-resources-v2-resource-resources.types.d.ts → internal/meta.d.mts} +145 -347
  18. package/build/internal/{cjs/src/bookings-resources-v2-resource-resources.types.d.ts → meta.d.ts} +145 -347
  19. package/build/internal/meta.js +559 -0
  20. package/build/internal/meta.js.map +1 -0
  21. package/build/internal/meta.mjs +524 -0
  22. package/build/internal/meta.mjs.map +1 -0
  23. package/build/{cjs/src/bookings-resources-v2-resource-resources.types.d.ts → meta.d.mts} +145 -347
  24. package/build/{internal/es/src/bookings-resources-v2-resource-resources.types.d.ts → meta.d.ts} +145 -347
  25. package/build/meta.js +559 -0
  26. package/build/meta.js.map +1 -0
  27. package/build/meta.mjs +524 -0
  28. package/build/meta.mjs.map +1 -0
  29. package/package.json +13 -12
  30. package/build/cjs/index.d.ts +0 -1
  31. package/build/cjs/index.js +0 -18
  32. package/build/cjs/index.js.map +0 -1
  33. package/build/cjs/index.typings.d.ts +0 -27
  34. package/build/cjs/index.typings.js +0 -18
  35. package/build/cjs/index.typings.js.map +0 -1
  36. package/build/cjs/meta.d.ts +0 -1
  37. package/build/cjs/meta.js +0 -18
  38. package/build/cjs/meta.js.map +0 -1
  39. package/build/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  40. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js +0 -43
  41. package/build/cjs/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  42. package/build/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  43. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js +0 -446
  44. package/build/cjs/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  45. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  46. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.js +0 -199
  47. package/build/cjs/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  48. package/build/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +0 -143
  49. package/build/cjs/src/bookings-resources-v2-resource-resources.public.js +0 -106
  50. package/build/cjs/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  51. package/build/cjs/src/bookings-resources-v2-resource-resources.types.js +0 -104
  52. package/build/cjs/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  53. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js +0 -589
  54. package/build/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
  55. package/build/es/index.d.ts +0 -1
  56. package/build/es/index.js +0 -2
  57. package/build/es/index.js.map +0 -1
  58. package/build/es/index.typings.d.ts +0 -27
  59. package/build/es/index.typings.js +0 -2
  60. package/build/es/index.typings.js.map +0 -1
  61. package/build/es/meta.d.ts +0 -1
  62. package/build/es/meta.js +0 -2
  63. package/build/es/meta.js.map +0 -1
  64. package/build/es/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  65. package/build/es/src/bookings-resources-v2-resource-resources.context.js +0 -29
  66. package/build/es/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  67. package/build/es/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  68. package/build/es/src/bookings-resources-v2-resource-resources.http.js +0 -434
  69. package/build/es/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  70. package/build/es/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  71. package/build/es/src/bookings-resources-v2-resource-resources.meta.js +0 -164
  72. package/build/es/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  73. package/build/es/src/bookings-resources-v2-resource-resources.public.d.ts +0 -143
  74. package/build/es/src/bookings-resources-v2-resource-resources.public.js +0 -83
  75. package/build/es/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  76. package/build/es/src/bookings-resources-v2-resource-resources.types.js +0 -101
  77. package/build/es/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  78. package/build/es/src/bookings-resources-v2-resource-resources.universal.js +0 -554
  79. package/build/es/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
  80. package/build/internal/cjs/index.d.ts +0 -1
  81. package/build/internal/cjs/index.js +0 -18
  82. package/build/internal/cjs/index.js.map +0 -1
  83. package/build/internal/cjs/index.typings.d.ts +0 -27
  84. package/build/internal/cjs/index.typings.js +0 -18
  85. package/build/internal/cjs/index.typings.js.map +0 -1
  86. package/build/internal/cjs/meta.d.ts +0 -1
  87. package/build/internal/cjs/meta.js +0 -18
  88. package/build/internal/cjs/meta.js.map +0 -1
  89. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  90. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js +0 -43
  91. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  92. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  93. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js +0 -446
  94. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  95. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  96. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.js +0 -199
  97. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  98. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.d.ts +0 -143
  99. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js +0 -106
  100. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  101. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js +0 -104
  102. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  103. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js +0 -589
  104. package/build/internal/cjs/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
  105. package/build/internal/es/index.d.ts +0 -1
  106. package/build/internal/es/index.js +0 -2
  107. package/build/internal/es/index.js.map +0 -1
  108. package/build/internal/es/index.typings.d.ts +0 -27
  109. package/build/internal/es/index.typings.js +0 -2
  110. package/build/internal/es/index.typings.js.map +0 -1
  111. package/build/internal/es/meta.d.ts +0 -1
  112. package/build/internal/es/meta.js +0 -2
  113. package/build/internal/es/meta.js.map +0 -1
  114. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.d.ts +0 -29
  115. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js +0 -29
  116. package/build/internal/es/src/bookings-resources-v2-resource-resources.context.js.map +0 -1
  117. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.d.ts +0 -96
  118. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js +0 -434
  119. package/build/internal/es/src/bookings-resources-v2-resource-resources.http.js.map +0 -1
  120. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.d.ts +0 -27
  121. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.js +0 -164
  122. package/build/internal/es/src/bookings-resources-v2-resource-resources.meta.js.map +0 -1
  123. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.d.ts +0 -143
  124. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js +0 -83
  125. package/build/internal/es/src/bookings-resources-v2-resource-resources.public.js.map +0 -1
  126. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js +0 -101
  127. package/build/internal/es/src/bookings-resources-v2-resource-resources.types.js.map +0 -1
  128. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js +0 -554
  129. package/build/internal/es/src/bookings-resources-v2-resource-resources.universal.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4FAA0E"}
@@ -1,27 +0,0 @@
1
- import { SearchResourcesResponse, SearchResourcesOptions } from './src/bookings-resources-v2-resource-resources.universal';
2
- export * from './src/bookings-resources-v2-resource-resources.universal.js';
3
- /**
4
- * Retrieves a list of resources matching the provided search criteria.
5
- *
6
- *
7
- * Refer to the *supported filters article*
8
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
9
- * for a complete list of supported filters and sorting options.
10
- * @public
11
- * @documentationMaturity preview
12
- * @permissionId BOOKINGS.RESOURCE_READ
13
- * @permissionScope Read Bookings - Public Data
14
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
15
- * @permissionScope Manage Bookings
16
- * @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
17
- * @permissionScope Read Bookings - Including Participants
18
- * @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
19
- * @permissionScope Read Bookings - all read permissions
20
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
21
- * @permissionScope Manage Bookings - all permissions
22
- * @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
23
- * @applicableIdentity APP
24
- * @applicableIdentity VISITOR
25
- * @fqn wix.bookings.resources.v2.ResourcesService.SearchResources
26
- */
27
- export declare function searchResources(options: SearchResourcesOptions): Promise<SearchResourcesResponse>;
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/bookings-resources-v2-resource-resources.universal.js"), exports);
18
- //# sourceMappingURL=index.typings.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.typings.js","sourceRoot":"","sources":["../../index.typings.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAKA,8FAA4E"}
@@ -1 +0,0 @@
1
- export * from './src/bookings-resources-v2-resource-resources.meta.js';
package/build/cjs/meta.js DELETED
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./src/bookings-resources-v2-resource-resources.meta.js"), exports);
18
- //# sourceMappingURL=meta.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yFAAuE"}
@@ -1,29 +0,0 @@
1
- import { createResource as publicCreateResource, bulkCreateResources as publicBulkCreateResources, getResource as publicGetResource, updateResource as publicUpdateResource, deleteResource as publicDeleteResource, bulkDeleteResources as publicBulkDeleteResources, searchResources as publicSearchResources, queryResources as publicQueryResources, countResources as publicCountResources } from './bookings-resources-v2-resource-resources.public.js';
2
- import { createEventModule } from '@wix/sdk-runtime/event-definition-modules';
3
- import { BuildRESTFunction, MaybeContext } from '@wix/sdk-types';
4
- import { onResourceCreated as publicOnResourceCreated } from './bookings-resources-v2-resource-resources.public.js';
5
- import { onResourceDeleted as publicOnResourceDeleted } from './bookings-resources-v2-resource-resources.public.js';
6
- import { onResourceUpdated as publicOnResourceUpdated } from './bookings-resources-v2-resource-resources.public.js';
7
- export declare const createResource: MaybeContext<BuildRESTFunction<typeof publicCreateResource> & typeof publicCreateResource>;
8
- export declare const bulkCreateResources: MaybeContext<BuildRESTFunction<typeof publicBulkCreateResources> & typeof publicBulkCreateResources>;
9
- export declare const getResource: MaybeContext<BuildRESTFunction<typeof publicGetResource> & typeof publicGetResource>;
10
- export declare const updateResource: MaybeContext<BuildRESTFunction<typeof publicUpdateResource> & typeof publicUpdateResource>;
11
- export declare const deleteResource: MaybeContext<BuildRESTFunction<typeof publicDeleteResource> & typeof publicDeleteResource>;
12
- export declare const bulkDeleteResources: MaybeContext<BuildRESTFunction<typeof publicBulkDeleteResources> & typeof publicBulkDeleteResources>;
13
- export declare const searchResources: MaybeContext<BuildRESTFunction<typeof publicSearchResources> & typeof publicSearchResources>;
14
- export declare const queryResources: MaybeContext<BuildRESTFunction<typeof publicQueryResources> & typeof publicQueryResources>;
15
- export declare const countResources: MaybeContext<BuildRESTFunction<typeof publicCountResources> & typeof publicCountResources>;
16
- /**
17
- * Triggered when a resource is created.
18
- */
19
- export declare const onResourceCreated: ReturnType<typeof createEventModule<typeof publicOnResourceCreated>>;
20
- /**
21
- * Triggered when a resource is deleted.
22
- */
23
- export declare const onResourceDeleted: ReturnType<typeof createEventModule<typeof publicOnResourceDeleted>>;
24
- /**
25
- * Triggered when a resource is updated.
26
- */
27
- export declare const onResourceUpdated: ReturnType<typeof createEventModule<typeof publicOnResourceUpdated>>;
28
- export { ManagementType, SortOrder, SortType, SortDirection, MissingValues, ScalarType, NestedAggregationType, Interval, AggregationType, Mode, WebhookIdentityType, } from './bookings-resources-v2-resource-resources.universal.js';
29
- export { Resource, ResourceCompositionDetailsOneOf, WorkingHoursSchedule, SingleResource, V2WorkingHoursSchedules, Schedule, LocationOptions, SpecificLocation, BusinessLocation, WorkingHoursSchedules, EventsSchedule, ExtendedFields, CreateResourceRequest, CreateResourceResponse, BulkCreateResourcesRequest, BulkCreateResourcesResponse, BulkResourceResult, ItemMetadata, ApplicationError, BulkActionMetadata, GetResourceRequest, GetResourceResponse, GetDeletedResourceRequest, GetDeletedResourceResponse, ListDeletedResourcesRequest, CursorPaging, ListDeletedResourcesResponse, CursorPagingMetadata, Cursors, RemoveResourceFromTrashBinRequest, RemoveResourceFromTrashBinResponse, RestoreResourceFromTrashBinRequest, RestoreResourceFromTrashBinResponse, UpdateResourceRequest, UpdateResourceResponse, DeleteResourceRequest, DeleteResourceResponse, BulkDeleteResourcesRequest, BulkDeleteResourcesResponse, SearchResourcesRequest, CursorSearch, CursorSearchPagingMethodOneOf, Sorting, Aggregation, AggregationKindOneOf, RangeBucket, IncludeMissingValuesOptions, ValueAggregation, ValueAggregationOptionsOneOf, RangeAggregation, ScalarAggregation, DateHistogramAggregation, NestedAggregationItem, NestedAggregationItemKindOneOf, NestedAggregation, GroupByAggregation, GroupByAggregationKindOneOf, SearchDetails, SearchResourcesResponse, AggregationData, ValueAggregationResult, RangeAggregationResult, NestedAggregationResults, NestedAggregationResultsResultOneOf, ValueResults, RangeResults, AggregationResultsScalarResult, NestedValueAggregationResult, ValueResult, RangeResult, ScalarResult, NestedResultValue, NestedResultValueResultOneOf, Results, DateHistogramResult, GroupByValueResults, DateHistogramResults, NestedResults, AggregationResults, AggregationResultsResultOneOf, QueryResourcesRequest, CursorQuery, CursorQueryPagingMethodOneOf, QueryResourcesResponse, CountResourcesRequest, CountResourcesResponse, FixResourceSchedulesRequest, FixResourceSchedulesResponse, ReindexTenantRequest, ReindexTenantResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, RestoreInfo, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, Empty, MessageEnvelope, IdentificationData, IdentificationDataIdOneOf, BaseEventMetadata, EventMetadata, ResourceCreatedEnvelope, ResourceDeletedEnvelope, ResourceUpdatedEnvelope, BulkCreateResourcesOptions, UpdateResource, SearchResourcesOptions, ResourcesQueryResult, ResourcesQueryBuilder, CountResourcesOptions, } from './bookings-resources-v2-resource-resources.universal.js';
@@ -1,43 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WebhookIdentityType = exports.Mode = exports.AggregationType = exports.Interval = exports.NestedAggregationType = exports.ScalarType = exports.MissingValues = exports.SortDirection = exports.SortType = exports.SortOrder = exports.ManagementType = exports.onResourceUpdated = exports.onResourceDeleted = exports.onResourceCreated = exports.countResources = exports.queryResources = exports.searchResources = exports.bulkDeleteResources = exports.deleteResource = exports.updateResource = exports.getResource = exports.bulkCreateResources = exports.createResource = void 0;
4
- const bookings_resources_v2_resource_resources_public_js_1 = require("./bookings-resources-v2-resource-resources.public.js");
5
- const rest_modules_1 = require("@wix/sdk-runtime/rest-modules");
6
- const event_definition_modules_1 = require("@wix/sdk-runtime/event-definition-modules");
7
- const bookings_resources_v2_resource_resources_public_js_2 = require("./bookings-resources-v2-resource-resources.public.js");
8
- const bookings_resources_v2_resource_resources_public_js_3 = require("./bookings-resources-v2-resource-resources.public.js");
9
- const bookings_resources_v2_resource_resources_public_js_4 = require("./bookings-resources-v2-resource-resources.public.js");
10
- exports.createResource = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.createResource);
11
- exports.bulkCreateResources = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.bulkCreateResources);
12
- exports.getResource = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.getResource);
13
- exports.updateResource = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.updateResource);
14
- exports.deleteResource = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.deleteResource);
15
- exports.bulkDeleteResources = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.bulkDeleteResources);
16
- exports.searchResources = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.searchResources);
17
- exports.queryResources = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.queryResources);
18
- exports.countResources = (0, rest_modules_1.createRESTModule)(bookings_resources_v2_resource_resources_public_js_1.countResources);
19
- /**
20
- * Triggered when a resource is created.
21
- */
22
- exports.onResourceCreated = (0, event_definition_modules_1.createEventModule)(bookings_resources_v2_resource_resources_public_js_2.onResourceCreated);
23
- /**
24
- * Triggered when a resource is deleted.
25
- */
26
- exports.onResourceDeleted = (0, event_definition_modules_1.createEventModule)(bookings_resources_v2_resource_resources_public_js_3.onResourceDeleted);
27
- /**
28
- * Triggered when a resource is updated.
29
- */
30
- exports.onResourceUpdated = (0, event_definition_modules_1.createEventModule)(bookings_resources_v2_resource_resources_public_js_4.onResourceUpdated);
31
- var bookings_resources_v2_resource_resources_universal_js_1 = require("./bookings-resources-v2-resource-resources.universal.js");
32
- Object.defineProperty(exports, "ManagementType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.ManagementType; } });
33
- Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.SortOrder; } });
34
- Object.defineProperty(exports, "SortType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.SortType; } });
35
- Object.defineProperty(exports, "SortDirection", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.SortDirection; } });
36
- Object.defineProperty(exports, "MissingValues", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.MissingValues; } });
37
- Object.defineProperty(exports, "ScalarType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.ScalarType; } });
38
- Object.defineProperty(exports, "NestedAggregationType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.NestedAggregationType; } });
39
- Object.defineProperty(exports, "Interval", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.Interval; } });
40
- Object.defineProperty(exports, "AggregationType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.AggregationType; } });
41
- Object.defineProperty(exports, "Mode", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.Mode; } });
42
- Object.defineProperty(exports, "WebhookIdentityType", { enumerable: true, get: function () { return bookings_resources_v2_resource_resources_universal_js_1.WebhookIdentityType; } });
43
- //# sourceMappingURL=bookings-resources-v2-resource-resources.context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"bookings-resources-v2-resource-resources.context.js","sourceRoot":"","sources":["../../../src/bookings-resources-v2-resource-resources.context.ts"],"names":[],"mappings":";;;AAAA,6HAU8D;AAC9D,gEAAiE;AACjE,wFAA8E;AAE9E,6HAAoH;AACpH,6HAAoH;AACpH,6HAAoH;AAEvG,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,mEAAoB,CAAC,CAAC;AAC5C,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,wEAAyB,CAAC,CAAC;AACjD,QAAA,WAAW,GAEN,IAAA,+BAAgB,EAAC,gEAAiB,CAAC,CAAC;AACzC,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,mEAAoB,CAAC,CAAC;AAC5C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,mEAAoB,CAAC,CAAC;AAC5C,QAAA,mBAAmB,GAGd,IAAA,+BAAgB,EAAC,wEAAyB,CAAC,CAAC;AACjD,QAAA,eAAe,GAEV,IAAA,+BAAgB,EAAC,oEAAqB,CAAC,CAAC;AAC7C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,mEAAoB,CAAC,CAAC;AAC5C,QAAA,cAAc,GAET,IAAA,+BAAgB,EAAC,mEAAoB,CAAC,CAAC;AACzD;;GAEG;AACU,QAAA,iBAAiB,GAE1B,IAAA,4CAAiB,EAAC,sEAAuB,CAAC,CAAC;AAC/C;;GAEG;AACU,QAAA,iBAAiB,GAE1B,IAAA,4CAAiB,EAAC,sEAAuB,CAAC,CAAC;AAC/C;;GAEG;AACU,QAAA,iBAAiB,GAE1B,IAAA,4CAAiB,EAAC,sEAAuB,CAAC,CAAC;AAE/C,iIAYiE;AAX/D,uJAAA,cAAc,OAAA;AACd,kJAAA,SAAS,OAAA;AACT,iJAAA,QAAQ,OAAA;AACR,sJAAA,aAAa,OAAA;AACb,sJAAA,aAAa,OAAA;AACb,mJAAA,UAAU,OAAA;AACV,8JAAA,qBAAqB,OAAA;AACrB,iJAAA,QAAQ,OAAA;AACR,wJAAA,eAAe,OAAA;AACf,6IAAA,IAAI,OAAA;AACJ,4JAAA,mBAAmB,OAAA"}
@@ -1,96 +0,0 @@
1
- import { RequestOptionsFactory } from '@wix/sdk-types';
2
- /**
3
- * Creates a new resource.
4
- *
5
- *
6
- * ## Connected schedules
7
- *
8
- * A new event *schedule*
9
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration))
10
- * is automatically created for the resource.
11
- *
12
- * ## Locations
13
- *
14
- * If you don't specify `locationOptions`, Wix Bookings automatically sets
15
- * `locationOptions.availableInAllLocations` to `true`.
16
- *
17
- * If you specify 1 business location ID in `locationOptions.specificLocationOptions.businessLocations`,
18
- * you must specify `locationOptions.specificLocationOptions.availableInBusinessLocations`
19
- * as `true`. Currently, you can specify only a single business location.
20
- */
21
- export declare function createResource(payload: object): RequestOptionsFactory<any>;
22
- /**
23
- * Creates up to 50 resources.
24
- *
25
- *
26
- * Refer to *Create Resource*
27
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/create-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/create-resource))
28
- * for more details.
29
- */
30
- export declare function bulkCreateResources(payload: object): RequestOptionsFactory<any>;
31
- /** Retrieves a resource. */
32
- export declare function getResource(payload: object): RequestOptionsFactory<any>;
33
- /**
34
- * Updates a resource.
35
- *
36
- *
37
- * Each time the resource is updated, `revision` increments by 1. You must include the current revision of the resource when updating it.
38
- * This ensures you're working with the latest service information and prevents unintended overwrites.
39
- */
40
- export declare function updateResource(payload: object): RequestOptionsFactory<any>;
41
- /**
42
- * Deletes a resource.
43
- *
44
- *
45
- * Deleting a resource cancels its event schedule and all its working hour
46
- * schedules that aren't shared with another resource. Learn more about
47
- * _how Bookings uses the Calendar APIs_
48
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/calendar/wix-bookings-integration) | [REST](https://dev.wix.com/docs/rest/business-management/calendar/wix-bookings-integration)).
49
- */
50
- export declare function deleteResource(payload: object): RequestOptionsFactory<any>;
51
- /**
52
- * Deletes multiple resources.
53
- *
54
- *
55
- * Refer to *Delete Resource*
56
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/delete-resource) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/delete-resource))
57
- * for more details.
58
- */
59
- export declare function bulkDeleteResources(payload: object): RequestOptionsFactory<any>;
60
- /**
61
- * Retrieves a list of resources matching the provided search criteria.
62
- *
63
- *
64
- * Refer to the *supported filters article*
65
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
66
- * for a complete list of supported filters and sorting options.
67
- */
68
- export declare function searchResources(payload: object): RequestOptionsFactory<any>;
69
- /**
70
- * Creates a query to retrieve a list of resources.
71
- *
72
- * The `queryResources()` function builds a query to retrieve a list of resources and returns a `ResourcesQueryBuilder` object.
73
- *
74
- * The returned object contains the query definition, which is typically used to run the query using the [find()](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-builder/find) function.
75
- *
76
- * You can refine the query by chaining `ResourcesQueryBuilder` functions onto the query. `ResourcesQueryBuilder` functions enable you to sort, filter, and control the results that `queryResources()` returns.
77
- *
78
- * `queryResources()` runs with the following `ResourcesQueryBuilder` default that you can override:
79
- *
80
- * + `limit` is `50`.
81
- * + Sorted by `id` in ascending order.
82
- *
83
- * The functions that are chained to `queryResources()` are applied in the order they are called. For example, if you apply `ascending("typeId")` and then `ascending("name")`, the results are sorted first by the `"typeId"`, and then, if there are multiple results with the same `"typeId"`, the items are sorted by `"name"`.
84
- *
85
- * The following `ResourcesQueryBuilder` functions are supported for the `queryResources()` function. For a full description of the resource object, see the object returned for the [items](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/resources-query-result/items) property in `ResourcesQueryResult`.
86
- */
87
- export declare function queryResources(payload: object): RequestOptionsFactory<any>;
88
- /**
89
- * Counts resources according to given criteria.
90
- *
91
- *
92
- * Refer to the *supported filters article*
93
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/resources/supported-filters) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/resources/resources-v2/filtering-and-sorting))
94
- * for a complete list of supported filters and sorting options.
95
- */
96
- export declare function countResources(payload: object): RequestOptionsFactory<any>;