@wix/auto_sdk_bookings_services 1.0.75 → 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.
- package/build/cjs/{bookings-services-v2-service-services.universal-CEp6lBCA.d.ts → bookings-services-v2-service-services.universal-B0U0yEd2.d.ts} +1 -62
- package/build/cjs/index.d.ts +3 -12
- package/build/cjs/index.js +8 -60
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +8 -51
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +2 -37
- package/build/cjs/meta.js +8 -38
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-CEp6lBCA.d.mts → bookings-services-v2-service-services.universal-B0U0yEd2.d.mts} +1 -62
- package/build/es/index.d.mts +3 -12
- package/build/es/index.mjs +8 -59
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +8 -50
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +2 -37
- package/build/es/meta.mjs +8 -37
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CEp6lBCA.d.ts → bookings-services-v2-service-services.universal-B0U0yEd2.d.ts} +1 -62
- package/build/internal/cjs/index.d.ts +3 -12
- package/build/internal/cjs/index.js +8 -60
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +8 -51
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +2 -37
- package/build/internal/cjs/meta.js +8 -38
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-CEp6lBCA.d.mts → bookings-services-v2-service-services.universal-B0U0yEd2.d.mts} +1 -62
- package/build/internal/es/index.d.mts +3 -12
- package/build/internal/es/index.mjs +8 -59
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +8 -50
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +2 -37
- package/build/internal/es/meta.mjs +8 -37
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bF as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bG as DeleteAddOnGroupRequest$1, bH as DeleteAddOnGroupResponse$1, bI as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bJ as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bN as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bO as CreateServiceRequest$1, bP as CreateServiceResponse$1, bT as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, bY as GetServiceRequest$1, bZ as GetServiceResponse$1, c2 as UpdateServiceRequest$1, c3 as UpdateServiceResponse$1, c4 as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, c6 as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, c7 as DeleteServiceRequest$1, c9 as DeleteServiceResponse$1, ca as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, cb as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cc as QueryServicesRequest$1, ci as QueryServicesResponse$1, cl as SearchServicesRequest$1, x as SearchServicesResponse$1, cZ as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d0 as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, d4 as CountServicesRequest$1, H as CountServicesResponse$1, d5 as QueryLocationsRequest$1, J as QueryLocationsResponse$1, da as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, de as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, di as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dk as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dl as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dm as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dn as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-B0U0yEd2.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1250,40 +1250,6 @@ interface SetAddOnsForGroupResponse {
|
|
|
1250
1250
|
/** The updated AddOnGroup. */
|
|
1251
1251
|
addOnGroup?: AddOnGroup;
|
|
1252
1252
|
}
|
|
1253
|
-
interface ValidateAddOnsSelectionRequest {
|
|
1254
|
-
/**
|
|
1255
|
-
* The service ID to validate AddOns against.
|
|
1256
|
-
* @format GUID
|
|
1257
|
-
*/
|
|
1258
|
-
serviceId: string | null;
|
|
1259
|
-
/**
|
|
1260
|
-
* The group ID to validate AddOns against.
|
|
1261
|
-
* @format GUID
|
|
1262
|
-
*/
|
|
1263
|
-
groupId: string | null;
|
|
1264
|
-
/**
|
|
1265
|
-
* The IDs of AddOns to validate.
|
|
1266
|
-
* @format GUID
|
|
1267
|
-
* @minSize 1
|
|
1268
|
-
* @maxSize 7
|
|
1269
|
-
*/
|
|
1270
|
-
addOnIds: string[] | null;
|
|
1271
|
-
}
|
|
1272
|
-
interface ValidateAddOnsSelectionResponse {
|
|
1273
|
-
/** The validation result. */
|
|
1274
|
-
result?: ValidationResult;
|
|
1275
|
-
}
|
|
1276
|
-
interface ValidationResult {
|
|
1277
|
-
/** Whether the AddOns selection is valid. */
|
|
1278
|
-
valid?: boolean | null;
|
|
1279
|
-
/**
|
|
1280
|
-
* A validation error message.
|
|
1281
|
-
* This field should populated when `valid` is `false`.
|
|
1282
|
-
* @minLength 1
|
|
1283
|
-
* @maxLength 300
|
|
1284
|
-
*/
|
|
1285
|
-
message?: string | null;
|
|
1286
|
-
}
|
|
1287
1253
|
interface CreateServiceRequest {
|
|
1288
1254
|
/** Service to create. */
|
|
1289
1255
|
service: Service;
|
|
@@ -2578,7 +2544,6 @@ declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAd
|
|
|
2578
2544
|
declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
|
|
2579
2545
|
declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
|
|
2580
2546
|
declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
|
|
2581
|
-
declare function validateAddOnsSelection(): __PublicMethodMetaInfo<'POST', {}, ValidateAddOnsSelectionRequest$1, ValidateAddOnsSelectionRequest, ValidateAddOnsSelectionResponse$1, ValidateAddOnsSelectionResponse>;
|
|
2582
2547
|
declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
|
|
2583
2548
|
declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
|
|
2584
2549
|
declare function getService(): __PublicMethodMetaInfo<'GET', {
|
|
@@ -2616,4 +2581,4 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
|
|
|
2616
2581
|
declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
|
|
2617
2582
|
declare function cloneService(): __PublicMethodMetaInfo<'POST', {}, CloneServiceRequest$1, CloneServiceRequest, CloneServiceResponse$1, CloneServiceResponse>;
|
|
2618
2583
|
|
|
2619
|
-
export { type __PublicMethodMetaInfo, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService,
|
|
2584
|
+
export { type __PublicMethodMetaInfo, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|
package/build/cjs/meta.js
CHANGED
|
@@ -46,7 +46,6 @@ __export(meta_exports, {
|
|
|
46
46
|
setServiceLocations: () => setServiceLocations2,
|
|
47
47
|
updateAddOnGroup: () => updateAddOnGroup2,
|
|
48
48
|
updateService: () => updateService2,
|
|
49
|
-
validateAddOnsSelection: () => validateAddOnsSelection2,
|
|
50
49
|
validateSlug: () => validateSlug2
|
|
51
50
|
});
|
|
52
51
|
module.exports = __toCommonJS(meta_exports);
|
|
@@ -84,6 +83,10 @@ function resolveWixBookingsServicesV2ServicesServiceUrl(opts) {
|
|
|
84
83
|
{
|
|
85
84
|
srcPath: "/bookings/v2/bulk/services",
|
|
86
85
|
destPath: "/v2/bulk/services"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
srcPath: "/bookings/services/v2/bulk/services",
|
|
89
|
+
destPath: "/v2/bulk/services"
|
|
87
90
|
}
|
|
88
91
|
],
|
|
89
92
|
"manage._base_domain_": [
|
|
@@ -195,6 +198,10 @@ function resolveWixBookingsServicesV2AddOnGroupsServiceUrl(opts) {
|
|
|
195
198
|
{
|
|
196
199
|
srcPath: "/bookings/v2/bulk/services",
|
|
197
200
|
destPath: "/v2/bulk/services"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
srcPath: "/bookings/services/v2/bulk/services",
|
|
204
|
+
destPath: "/v2/bulk/services"
|
|
198
205
|
}
|
|
199
206
|
],
|
|
200
207
|
"manage._base_domain_": [
|
|
@@ -379,24 +386,6 @@ function setAddOnsForGroup(payload) {
|
|
|
379
386
|
}
|
|
380
387
|
return __setAddOnsForGroup;
|
|
381
388
|
}
|
|
382
|
-
function validateAddOnsSelection(payload) {
|
|
383
|
-
function __validateAddOnsSelection({ host }) {
|
|
384
|
-
const metadata = {
|
|
385
|
-
entityFqdn: "wix.bookings.services.v2.service",
|
|
386
|
-
method: "POST",
|
|
387
|
-
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ValidateAddOnsSelection",
|
|
388
|
-
packageName: PACKAGE_NAME,
|
|
389
|
-
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
390
|
-
protoPath: "/v2/services/add-on-groups/validate-add-ons-selection",
|
|
391
|
-
data: payload,
|
|
392
|
-
host
|
|
393
|
-
}),
|
|
394
|
-
data: payload
|
|
395
|
-
};
|
|
396
|
-
return metadata;
|
|
397
|
-
}
|
|
398
|
-
return __validateAddOnsSelection;
|
|
399
|
-
}
|
|
400
389
|
function createService(payload) {
|
|
401
390
|
function __createService({ host }) {
|
|
402
391
|
const serializedData = (0, import_transform_paths.transformPaths)(payload, [
|
|
@@ -1772,24 +1761,6 @@ function setAddOnsForGroup2() {
|
|
|
1772
1761
|
__originalResponseType: null
|
|
1773
1762
|
};
|
|
1774
1763
|
}
|
|
1775
|
-
function validateAddOnsSelection2() {
|
|
1776
|
-
const payload = {};
|
|
1777
|
-
const getRequestOptions = validateAddOnsSelection(payload);
|
|
1778
|
-
const getUrl = (context) => {
|
|
1779
|
-
const { url } = getRequestOptions(context);
|
|
1780
|
-
return url;
|
|
1781
|
-
};
|
|
1782
|
-
return {
|
|
1783
|
-
getUrl,
|
|
1784
|
-
httpMethod: "POST",
|
|
1785
|
-
path: "/v2/services/add-on-groups/validate-add-ons-selection",
|
|
1786
|
-
pathParams: {},
|
|
1787
|
-
__requestType: null,
|
|
1788
|
-
__originalRequestType: null,
|
|
1789
|
-
__responseType: null,
|
|
1790
|
-
__originalResponseType: null
|
|
1791
|
-
};
|
|
1792
|
-
}
|
|
1793
1764
|
function createService2() {
|
|
1794
1765
|
const payload = {};
|
|
1795
1766
|
const getRequestOptions = createService(payload);
|
|
@@ -2218,7 +2189,6 @@ function cloneService2() {
|
|
|
2218
2189
|
setServiceLocations,
|
|
2219
2190
|
updateAddOnGroup,
|
|
2220
2191
|
updateService,
|
|
2221
|
-
validateAddOnsSelection,
|
|
2222
2192
|
validateSlug
|
|
2223
2193
|
});
|
|
2224
2194
|
//# sourceMappingURL=meta.js.map
|