@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
|
@@ -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-CP7peadD.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1933,6 +1933,13 @@ interface Tag {
|
|
|
1933
1933
|
* `title`/`script`/`link` with a validation error even though they appear here —
|
|
1934
1934
|
* check the field description of the specific `tags`-typed field you're writing to
|
|
1935
1935
|
* for the types it actually supports and the error it returns.
|
|
1936
|
+
*
|
|
1937
|
+
* Limitation: `title` and `script` (e.g. a `script` tag with `props.type`
|
|
1938
|
+
* `"application/ld+json"` carrying structured data) are supported only when
|
|
1939
|
+
* `custom` is unset or `false`. Setting `custom: true` on a `title` or `script`
|
|
1940
|
+
* tag is rejected with `TAG_TYPE_NOT_ALLOWED`, because `custom: true` routes the
|
|
1941
|
+
* write through the site's Advanced/Custom Tags list. To write structured data,
|
|
1942
|
+
* omit `custom` (or set it to `false`).
|
|
1936
1943
|
*/
|
|
1937
1944
|
type?: string;
|
|
1938
1945
|
/**
|
|
@@ -1948,6 +1955,12 @@ interface Tag {
|
|
|
1948
1955
|
* Whether the tag is a [custom tag](https://support.wix.com/en/article/adding-additional-meta-tags-to-your-sites-pages) —
|
|
1949
1956
|
* i.e. an entry from the site's Advanced/Custom Tags list.
|
|
1950
1957
|
*
|
|
1958
|
+
* Setting this to `true` on a write restricts which `type` values are accepted
|
|
1959
|
+
* — the same restriction the Advanced/Custom Tags UI enforces. `title` and
|
|
1960
|
+
* `script` tags (including JSON-LD structured data) must be sent with `custom`
|
|
1961
|
+
* omitted or `false`; sending them with `custom: true` is rejected with
|
|
1962
|
+
* `TAG_TYPE_NOT_ALLOWED`.
|
|
1963
|
+
*
|
|
1951
1964
|
* Note this is a separate restriction from Site SEO Tags' own type restriction on
|
|
1952
1965
|
* `SiteSeoTags.tags`: even with `custom` unset, Site SEO Tags rejects `script` (e.g.
|
|
1953
1966
|
* for site-wide structured data) unconditionally. There is currently no way to set
|
|
@@ -5662,6 +5675,11 @@ interface AddOn extends AddOnAddOnInfoOneOf {
|
|
|
5662
5675
|
* @maxLength 100
|
|
5663
5676
|
*/
|
|
5664
5677
|
nameTranslated?: string | null;
|
|
5678
|
+
/**
|
|
5679
|
+
* Main image for the add-on.
|
|
5680
|
+
* @internal
|
|
5681
|
+
*/
|
|
5682
|
+
mainMedia?: MediaItem;
|
|
5665
5683
|
}
|
|
5666
5684
|
/** @oneof */
|
|
5667
5685
|
interface AddOnAddOnInfoOneOf {
|
|
@@ -1695,7 +1695,17 @@ function listAddOnGroupsByServiceId(payload) {
|
|
|
1695
1695
|
data: payload,
|
|
1696
1696
|
host
|
|
1697
1697
|
}),
|
|
1698
|
-
data: payload
|
|
1698
|
+
data: payload,
|
|
1699
|
+
transformResponse: (payload2) => transformPaths(payload2, [
|
|
1700
|
+
{
|
|
1701
|
+
transformFn: transformRESTTimestampToSDKTimestamp,
|
|
1702
|
+
paths: [
|
|
1703
|
+
{
|
|
1704
|
+
path: "addOnGroupsDetails.addOns.mainMedia.image.urlExpirationDate"
|
|
1705
|
+
}
|
|
1706
|
+
]
|
|
1707
|
+
}
|
|
1708
|
+
])
|
|
1699
1709
|
};
|
|
1700
1710
|
return metadata;
|
|
1701
1711
|
}
|