@wix/auto_sdk_bookings_service-options-and-variants 1.0.53 → 1.0.55

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.
@@ -35,20 +35,17 @@ interface CreateServiceOptionsAndVariantsSignature {
35
35
  *
36
36
  * ### Staff member option
37
37
  *
38
- * To creating an option based on the *staff member*
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))
38
+ * To create an option based on the [staff member](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)
40
39
  * providing the service, you need to specify `STAFF_MEMBER` as `options.values.type`.
41
40
  * Also, specify all staff member IDs as `variants.values.choices.staffMemberId`.
42
- * You could follow this *sample flow*
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)).
41
+ * You could follow this [sample flow](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/sample-flows#create-staff-member-based-service-variants).
44
42
  *
45
43
  * ### Custom option
46
44
  *
47
45
  * To create an option based on a custom parameter, specify `CUSTOM` as
48
46
  * `options.values.type`. Provide descriptive names for all custom choices as
49
47
  * `variants.values.choices.custom`. These names are displayed to customers
50
- * during the book flow. You could follow this *sample flow*
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)).
48
+ * during the book flow. You could follow this [sample flow](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/sample-flows#create-service-variants-based-on-the-booked-equipment).
52
49
  *
53
50
  * ### Duration option
54
51
  *
@@ -66,8 +63,7 @@ interface CreateServiceOptionsAndVariantsSignature {
66
63
  declare function cloneServiceOptionsAndVariants$1(httpClient: HttpClient): CloneServiceOptionsAndVariantsSignature;
67
64
  interface CloneServiceOptionsAndVariantsSignature {
68
65
  /**
69
- * Clones a `serviceOptionsAndVariants` object and connects it to a *service*
70
- * ([SDK](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction) | [REST](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction)).
66
+ * Clones a `serviceOptionsAndVariants` object and connects it to a [service](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction).
71
67
  *
72
68
  *
73
69
  * The call fails if the service already has a connected
@@ -76,8 +72,7 @@ interface CloneServiceOptionsAndVariantsSignature {
76
72
  * The cloned `serviceOptionsAndVariants` object gets a new, unique option ID.
77
73
  * The option ID of the existing `serviceOptionsAndVariants` object isn't reused.
78
74
  *
79
- * For example, you may call this method after *cloning a service*
80
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/clone-service) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/clone-service)).
75
+ * For example, you may call this method after [cloning a service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/clone-service).
81
76
  * @param - ID of the `serviceOptionsAndVariants` object to clone.
82
77
  * @param - ID of the service to which the cloned `serviceOptionsAndVariants` are
83
78
  * connected.
@@ -96,8 +91,7 @@ interface GetServiceOptionsAndVariantsSignature {
96
91
  declare function getServiceOptionsAndVariantsByServiceId$1(httpClient: HttpClient): GetServiceOptionsAndVariantsByServiceIdSignature;
97
92
  interface GetServiceOptionsAndVariantsByServiceIdSignature {
98
93
  /**
99
- * Retrieves a `serviceOptionsAndVariants` object by *service ID*
100
- * ([SDK](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/introduction) | [REST](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/introduction)).
94
+ * Retrieves a `serviceOptionsAndVariants` object by [service ID](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/introduction).
101
95
  * @param - ID of the service to retrieve options and variants for.
102
96
  */
103
97
  (serviceId: string): Promise<NonNullablePaths<GetServiceOptionsAndVariantsByServiceIdResponse, `serviceVariants.options.values` | `serviceVariants.options.values.${number}.customData.name` | `serviceVariants.options.values.${number}._id` | `serviceVariants.options.values.${number}.type` | `serviceVariants.variants.values` | `serviceVariants.variants.values.${number}.price.value` | `serviceVariants.variants.values.${number}.price.currency`, 7>>;
@@ -131,8 +125,7 @@ interface DeleteServiceOptionsAndVariantsSignature {
131
125
  *
132
126
  *
133
127
  * Because each service can be connected to only a single `serviceOptionsAndVariants`
134
- * object, the service doesn't support *varied pricing*
135
- * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/services/about-service-payments) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/about-service-payments#service-rates))
128
+ * object, the service doesn't support [varied pricing](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/about-service-payments)
136
129
  * after deleting a `serviceOptionsAndVariants` object. Instead, Wix Bookings
137
130
  * uses its standard price calculation.
138
131
  * @param - ID of the `serviceOptionsAndVariants` object to delete.