@wix/auto_sdk_bookings_service-options-and-variants 1.0.46 → 1.0.48

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.
@@ -8,7 +8,7 @@ interface CreateServiceOptionsAndVariantsSignature {
8
8
  * Creates a `serviceOptionsAndVariants` object and for a service.
9
9
  *
10
10
  *
11
- * ## Calculate variants
11
+ * ### Calculate variants
12
12
  *
13
13
  * Before creating a `serviceOptionsAndVariants` object, you need to
14
14
  * anticipate and manually define all its variants, since Wix Bookings doesn't
@@ -16,7 +16,7 @@ interface CreateServiceOptionsAndVariantsSignature {
16
16
  * Create Service Options And Variants* call, specify both the `options` and
17
17
  * `variants` arrays.
18
18
  *
19
- * ## Limitations
19
+ * ### Limitations
20
20
  *
21
21
  * Wix Bookings allows you to connect only a single `serviceOptionsAndVariants`
22
22
  * object to a service. *Create Service Options And Variants* fails, if the
@@ -26,14 +26,14 @@ interface CreateServiceOptionsAndVariantsSignature {
26
26
  * `serviceOptionsAndVariants` object. Taken together, this means that services
27
27
  * are limited to a single option.
28
28
  *
29
- * ## Option ID
29
+ * ### Option ID
30
30
  *
31
31
  * When creating a`serviceOptionsAndVariants` object, you must specify an ID in
32
32
  * [UUID format](https://en.wikipedia.org/wiki/Universally_unique_identifier)
33
33
  * for its only option. You must reference this option ID for each variant as
34
34
  * `variants.values.choices.optionId`.
35
35
  *
36
- * ## Staff member option
36
+ * ### Staff member option
37
37
  *
38
38
  * To creating an option based on the *staff member*
39
39
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction))
@@ -42,7 +42,7 @@ interface CreateServiceOptionsAndVariantsSignature {
42
42
  * You could follow this *sample flow*
43
43
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/sample-flows#create-staff-member-based-service-variants) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/sample-flows#create-staff-member-based-service-variants)).
44
44
  *
45
- * ## Custom option
45
+ * ### Custom option
46
46
  *
47
47
  * To create an option based on a custom parameter, specify `CUSTOM` as
48
48
  * `options.values.type`. Provide descriptive names for all custom choices as
@@ -50,7 +50,7 @@ interface CreateServiceOptionsAndVariantsSignature {
50
50
  * during the book flow. You could follow this *sample flow*
51
51
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/sample-flows#create-service-variants-based-on-the-booked-equipment) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/sample-flows#create-service-variants-based-on-the-booked-equipment)).
52
52
  *
53
- * ## Duration option
53
+ * ### Duration option
54
54
  *
55
55
  * To create an option based on appointment duration, specify `DURATION` as
56
56
  * `options.values.type` and set a descriptive name in `options.values.durationData.name`.
@@ -140,6 +140,12 @@ function resolveWixBookingsCatalogV1ServiceOptionsAndVariantsServiceUrl(opts) {
140
140
  srcPath: "/_api/v1/service-options-and-variants",
141
141
  destPath: "/v1/serviceOptionsAndVariants"
142
142
  }
143
+ ],
144
+ "api._api_base_domain_": [
145
+ {
146
+ srcPath: "/service-options-and-variants",
147
+ destPath: ""
148
+ }
143
149
  ]
144
150
  };
145
151
  return (0, import_rest_modules2.resolveUrl)(Object.assign(opts, { domainToMappings }));