@wix/auto_sdk_bookings_services 1.0.274 → 1.0.276
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-Ce6ei1DQ.d.ts → bookings-services-v2-service-services.universal-fqkwbSWP.d.ts} +13 -0
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +19 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +19 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +14 -1
- package/build/cjs/meta.js +11 -1
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.js +38 -38
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-Ce6ei1DQ.d.mts → bookings-services-v2-service-services.universal-fqkwbSWP.d.mts} +13 -0
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +19 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +19 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +14 -1
- package/build/es/meta.mjs +11 -1
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.mjs +38 -38
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DIMnh28E.d.ts → bookings-services-v2-service-services.universal-CP7peadD.d.ts} +18 -0
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +19 -2
- 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 +19 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +19 -1
- package/build/internal/cjs/meta.js +11 -1
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.js +38 -38
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DIMnh28E.d.mts → bookings-services-v2-service-services.universal-CP7peadD.d.mts} +18 -0
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +19 -2
- 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 +19 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +19 -1
- package/build/internal/es/meta.mjs +11 -1
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.mjs +38 -38
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { cT as CreateServiceRequest$1, cU as CreateServiceResponse$1, cY as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d1 as GetServiceRequest$1, d2 as GetServiceResponse$1, d7 as UpdateServiceRequest$1, d8 as UpdateServiceResponse$1, d9 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, db as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, dc as DeleteServiceRequest$1, de as DeleteServiceResponse$1, df as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, dg as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dh as QueryServicesRequest$1, dn as QueryServicesResponse$1, dr as SearchServicesRequest$1, l as SearchServicesResponse$1, e5 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, e8 as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ec as CountServicesRequest$1, r as CountServicesResponse$1, ed as QueryLocationsRequest$1, t as QueryLocationsResponse$1, ei as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, em as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, eq as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, et as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, eu as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ev as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ew as CloneServiceRequest$1, M as CloneServiceResponse$1, eX as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, eY as DeleteAddOnGroupRequest$1, eZ as DeleteAddOnGroupResponse$1, e_ as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, e$ as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f3 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { cT as CreateServiceRequest$1, cU as CreateServiceResponse$1, cY as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, d1 as GetServiceRequest$1, d2 as GetServiceResponse$1, d7 as UpdateServiceRequest$1, d8 as UpdateServiceResponse$1, d9 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, db as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, dc as DeleteServiceRequest$1, de as DeleteServiceResponse$1, df as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, dg as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, dh as QueryServicesRequest$1, dn as QueryServicesResponse$1, dr as SearchServicesRequest$1, l as SearchServicesResponse$1, e5 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, e8 as QueryBookingFormsRequest$1, o as QueryBookingFormsResponse$1, ec as CountServicesRequest$1, r as CountServicesResponse$1, ed as QueryLocationsRequest$1, t as QueryLocationsResponse$1, ei as QueryCategoriesRequest$1, v as QueryCategoriesResponse$1, em as SetServiceLocationsRequest$1, x as SetServiceLocationsResponse$1, eq as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, et as DisablePricingPlansForServiceRequest$1, A as DisablePricingPlansForServiceResponse$1, eu as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, ev as ValidateSlugRequest$1, L as ValidateSlugResponse$1, ew as CloneServiceRequest$1, M as CloneServiceResponse$1, eX as CreateAddOnGroupRequest$1, P as CreateAddOnGroupResponse$1, eY as DeleteAddOnGroupRequest$1, eZ as DeleteAddOnGroupResponse$1, e_ as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, e$ as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, f3 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-fqkwbSWP.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1678,6 +1678,13 @@ interface Tag {
|
|
|
1678
1678
|
* `title`/`script`/`link` with a validation error even though they appear here —
|
|
1679
1679
|
* check the field description of the specific `tags`-typed field you're writing to
|
|
1680
1680
|
* for the types it actually supports and the error it returns.
|
|
1681
|
+
*
|
|
1682
|
+
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
1683
|
+
* `"application/ld+json"` carrying structured data) are supported only when
|
|
1684
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
|
|
1685
|
+
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
|
|
1686
|
+
* write through the site's Advanced/Custom Tags list. To write structured data,
|
|
1687
|
+
* omit `custom` (or set it to `false`).
|
|
1681
1688
|
*/
|
|
1682
1689
|
type?: string;
|
|
1683
1690
|
/**
|
|
@@ -1693,6 +1700,12 @@ interface Tag {
|
|
|
1693
1700
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
1694
1701
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
1695
1702
|
*
|
|
1703
|
+
* Setting this to `true` on a write restricts which `type` values are accepted
|
|
1704
|
+
* — the same restriction the Advanced/Custom Tags UI enforces. `title` and
|
|
1705
|
+
* `script` tags (including JSON-LD structured data) must be sent with `custom`
|
|
1706
|
+
* omitted or `false`; sending them with `custom: true` is rejected with
|
|
1707
|
+
* `TAG_TYPE_NOT_ALLOWED`.
|
|
1708
|
+
*
|
|
1696
1709
|
* Note this is a separate restriction from Site SEO Tags' own type restriction on
|
|
1697
1710
|
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
|
|
1698
1711
|
* for site-wide structured data) unconditionally. There is currently no way to set
|
package/build/cjs/meta.js
CHANGED
|
@@ -1794,7 +1794,17 @@ function listAddOnGroupsByServiceId(payload) {
|
|
|
1794
1794
|
data: payload,
|
|
1795
1795
|
host
|
|
1796
1796
|
}),
|
|
1797
|
-
data: payload
|
|
1797
|
+
data: payload,
|
|
1798
|
+
transformResponse: (payload2) => (0, import_transform_paths.transformPaths)(payload2, [
|
|
1799
|
+
{
|
|
1800
|
+
transformFn: import_timestamp2.transformRESTTimestampToSDKTimestamp,
|
|
1801
|
+
paths: [
|
|
1802
|
+
{
|
|
1803
|
+
path: "addOnGroupsDetails.addOns.mainMedia.image.urlExpirationDate"
|
|
1804
|
+
}
|
|
1805
|
+
]
|
|
1806
|
+
}
|
|
1807
|
+
])
|
|
1798
1808
|
};
|
|
1799
1809
|
return metadata;
|
|
1800
1810
|
}
|