@wix/auto_sdk_bookings_services 1.0.304 → 1.0.305
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-CO9BnWWs.d.ts → bookings-services-v2-service-services.universal-oLBaHt-W.d.ts} +36 -18
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +36 -18
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-CO9BnWWs.d.mts → bookings-services-v2-service-services.universal-oLBaHt-W.d.mts} +36 -18
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +36 -18
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CqFRcCnR.d.ts → bookings-services-v2-service-services.universal-HioQHH59.d.ts} +18 -36
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/meta.d.ts +18 -36
- package/build/internal/es/{bookings-services-v2-service-services.universal-CqFRcCnR.d.mts → bookings-services-v2-service-services.universal-HioQHH59.d.mts} +18 -36
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/meta.d.mts +18 -36
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d4 as CreateServiceRequest$1, d5 as CreateServiceResponse$1, d9 as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, de as GetServiceRequest$1, df as GetServiceResponse$1, dk as UpdateServiceRequest$1, dl as UpdateServiceResponse$1, dm as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, dp as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, dq as DeleteServiceRequest$1, ds as DeleteServiceResponse$1, dt as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, du as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dv as QueryServicesRequest$1, dB as QueryServicesResponse$1, dE as SearchServicesRequest$1, n as SearchServicesResponse$1, ei as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, el as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, ep as CountServicesRequest$1, t as CountServicesResponse$1, eq as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ev as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, ez as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, eD as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eG as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eH as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eI as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eJ as CloneServiceRequest$1, O as CloneServiceResponse$1, f8 as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, f9 as DeleteAddOnGroupRequest$1, fa as DeleteAddOnGroupResponse$1, fb as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, fc as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fg as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { d4 as CreateServiceRequest$1, d5 as CreateServiceResponse$1, d9 as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, de as GetServiceRequest$1, df as GetServiceResponse$1, dk as UpdateServiceRequest$1, dl as UpdateServiceResponse$1, dm as BulkUpdateServicesRequest$1, e as BulkUpdateServicesResponse$1, dp as BulkUpdateServicesByFilterRequest$1, h as BulkUpdateServicesByFilterResponse$1, dq as DeleteServiceRequest$1, ds as DeleteServiceResponse$1, dt as BulkDeleteServicesRequest$1, j as BulkDeleteServicesResponse$1, du as BulkDeleteServicesByFilterRequest$1, l as BulkDeleteServicesByFilterResponse$1, dv as QueryServicesRequest$1, dB as QueryServicesResponse$1, dE as SearchServicesRequest$1, n as SearchServicesResponse$1, ei as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, el as QueryBookingFormsRequest$1, q as QueryBookingFormsResponse$1, ep as CountServicesRequest$1, t as CountServicesResponse$1, eq as QueryLocationsRequest$1, v as QueryLocationsResponse$1, ev as QueryCategoriesRequest$1, x as QueryCategoriesResponse$1, ez as SetServiceLocationsRequest$1, z as SetServiceLocationsResponse$1, eD as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, eG as DisablePricingPlansForServiceRequest$1, H as DisablePricingPlansForServiceResponse$1, eH as SetCustomSlugRequest$1, K as SetCustomSlugResponse$1, eI as ValidateSlugRequest$1, N as ValidateSlugResponse$1, eJ as CloneServiceRequest$1, O as CloneServiceResponse$1, f8 as CreateAddOnGroupRequest$1, T as CreateAddOnGroupResponse$1, f9 as DeleteAddOnGroupRequest$1, fa as DeleteAddOnGroupResponse$1, fb as UpdateAddOnGroupRequest$1, _ as UpdateAddOnGroupResponse$1, fc as ListAddOnGroupsByServiceIdRequest$1, a1 as ListAddOnGroupsByServiceIdResponse$1, fg as SetAddOnsForGroupRequest$1, a3 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-HioQHH59.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1866,12 +1866,10 @@ interface StaffMember {
|
|
|
1866
1866
|
*/
|
|
1867
1867
|
mainMedia?: StaffMediaItem;
|
|
1868
1868
|
/**
|
|
1869
|
-
*
|
|
1870
|
-
* Returned
|
|
1871
|
-
*
|
|
1872
|
-
*
|
|
1873
|
-
* If Calendar v3 is unavailable, the entire request fails.
|
|
1874
|
-
* @internal
|
|
1869
|
+
* Business locations where the staff member is available, based on their working hours.
|
|
1870
|
+
* Returned only when both `STAFF_MEMBER_DETAILS` and `STAFF_WORKING_HOURS_LOCATIONS` are passed in `conditionalFields`.
|
|
1871
|
+
* Can be omitted for a staff member who has no working hours. Treat a missing value the same as `availableAtAllLocations` set to `false` with an empty `locationIds`.
|
|
1872
|
+
* When the working hours data can't be retrieved, the entire request fails.
|
|
1875
1873
|
* @readonly
|
|
1876
1874
|
*/
|
|
1877
1875
|
workingHoursLocationCoverage?: WorkingHoursLocationCoverage;
|
|
@@ -1886,36 +1884,23 @@ interface StaffMediaItemItemOneOf {
|
|
|
1886
1884
|
image?: Image;
|
|
1887
1885
|
}
|
|
1888
1886
|
/**
|
|
1889
|
-
*
|
|
1890
|
-
* (`NONE` and `MASTER` recurrence types). The server paginates through Calendar results
|
|
1891
|
-
* (100 events per page) until all matching events are collected.
|
|
1892
|
-
*
|
|
1893
|
-
* Coverage states when enrichment is requested:
|
|
1894
|
-
* + `available_at_all_locations = true`: Staff applies to every business location. Set when the staff
|
|
1895
|
-
* uses default business working hours, or has any WORKING_HOURS event without a location ID
|
|
1896
|
-
* (including when mixed with location-specific events).
|
|
1897
|
-
* + `available_at_all_locations = false` with non-empty `location_ids`: Staff has location-specific
|
|
1898
|
-
* WORKING_HOURS only. Show the staff member only when the selected location is in `location_ids`.
|
|
1899
|
-
* + `available_at_all_locations = false` with empty `location_ids`: Staff has working-hours schedules
|
|
1900
|
-
* but no applicable location coverage was found.
|
|
1901
|
-
*
|
|
1902
|
-
* Recommended client filter:
|
|
1903
|
-
* `availableAtAllLocations || locationIds.includes(selectedLocationId)`
|
|
1887
|
+
* Business locations where a staff member is available, based on their current and upcoming working hours.
|
|
1904
1888
|
*
|
|
1905
|
-
*
|
|
1889
|
+
* Coverage has 3 possible states:
|
|
1890
|
+
* + `availableAtAllLocations` is `true`: The staff member is available at every business location. This is the case when the staff member uses the business's default working hours, or when at least one of their working hours isn't limited to a specific location.
|
|
1891
|
+
* + `availableAtAllLocations` is `false` and `locationIds` isn't empty: The staff member is available at the business locations listed in `locationIds`.
|
|
1892
|
+
* + `availableAtAllLocations` is `false` and `locationIds` is empty: The staff member has no current or upcoming working hours, so they aren't available at any business location.
|
|
1893
|
+
* To check whether a staff member is available at a specific location, use `availableAtAllLocations || locationIds.includes(locationId)`.
|
|
1906
1894
|
*/
|
|
1907
1895
|
interface WorkingHoursLocationCoverage {
|
|
1908
1896
|
/**
|
|
1909
|
-
* Whether
|
|
1910
|
-
* Always set to `true` or `false` when enrichment is requested.
|
|
1911
|
-
* @internal
|
|
1897
|
+
* Whether the staff member is available at every business location.
|
|
1912
1898
|
* @readonly
|
|
1913
1899
|
*/
|
|
1914
1900
|
availableAtAllLocations?: boolean | null;
|
|
1915
1901
|
/**
|
|
1916
|
-
*
|
|
1917
|
-
*
|
|
1918
|
-
* @internal
|
|
1902
|
+
* IDs of the business locations where the staff member has location-specific working hours.
|
|
1903
|
+
* Empty when `availableAtAllLocations` is `true`.
|
|
1919
1904
|
* @format GUID
|
|
1920
1905
|
* @readonly
|
|
1921
1906
|
* @maxSize 100
|
|
@@ -3922,13 +3907,10 @@ declare enum V2RequestedFields {
|
|
|
3922
3907
|
/** When passed, `service.payment.discountInfo` is returned. */
|
|
3923
3908
|
DISCOUNT_INFO_DETAILS = "DISCOUNT_INFO_DETAILS",
|
|
3924
3909
|
/**
|
|
3925
|
-
*
|
|
3926
|
-
* `
|
|
3927
|
-
*
|
|
3928
|
-
* fetched with cursor pagination (100 events per page).
|
|
3929
|
-
* If Calendar v3 is unavailable, the request fails.
|
|
3910
|
+
* Returns each staff member's working hours location coverage. See `staffMemberDetails.staffMembers.workingHoursLocationCoverage`.
|
|
3911
|
+
* Used only when `STAFF_MEMBER_DETAILS` is also passed. Otherwise, it has no effect.
|
|
3912
|
+
* When the working hours data can't be retrieved, the entire request fails.
|
|
3930
3913
|
* @documentationMaturity preview
|
|
3931
|
-
* @internal
|
|
3932
3914
|
*/
|
|
3933
3915
|
STAFF_WORKING_HOURS_LOCATIONS = "STAFF_WORKING_HOURS_LOCATIONS",
|
|
3934
3916
|
/**
|
|
@@ -3938,7 +3920,7 @@ declare enum V2RequestedFields {
|
|
|
3938
3920
|
RESOURCE_DETAILS = "RESOURCE_DETAILS"
|
|
3939
3921
|
}
|
|
3940
3922
|
/** @enumType */
|
|
3941
|
-
type V2RequestedFieldsWithLiterals = V2RequestedFields | 'STAFF_MEMBER_DETAILS' | 'RESOURCE_TYPE_DETAILS' | 'DISCOUNT_INFO_DETAILS' | 'RESOURCE_DETAILS';
|
|
3923
|
+
type V2RequestedFieldsWithLiterals = V2RequestedFields | 'STAFF_MEMBER_DETAILS' | 'RESOURCE_TYPE_DETAILS' | 'DISCOUNT_INFO_DETAILS' | 'STAFF_WORKING_HOURS_LOCATIONS' | 'RESOURCE_DETAILS';
|
|
3942
3924
|
interface GetServiceResponse {
|
|
3943
3925
|
/** Retrieved service. */
|
|
3944
3926
|
service?: Service;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_bookings_services",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.305",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.bookings.services.v2.service"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "ae63b64e931d0a45670a7af612a7f4e11bd2c04083339ca55763c1c6"
|
|
54
54
|
}
|