@wix/auto_sdk_bookings_services 1.0.122 → 1.0.124
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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-ITYqFvzY.d.ts} +421 -348
- package/build/cjs/index.d.ts +60 -60
- package/build/cjs/index.js +333 -316
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +262 -245
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +138 -138
- package/build/cjs/meta.js +185 -185
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-ITYqFvzY.d.mts} +421 -348
- package/build/es/index.d.mts +60 -60
- package/build/es/index.mjs +331 -316
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +260 -245
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +138 -138
- package/build/es/meta.mjs +185 -185
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-ITYqFvzY.d.ts} +421 -348
- package/build/internal/cjs/index.d.ts +60 -60
- package/build/internal/cjs/index.js +333 -316
- 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 +262 -245
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +138 -138
- package/build/internal/cjs/meta.js +185 -185
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-ITYqFvzY.d.mts} +421 -348
- package/build/internal/es/index.d.mts +60 -60
- package/build/internal/es/index.mjs +331 -316
- 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 +260 -245
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +138 -138
- package/build/internal/es/meta.mjs +185 -185
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/es/meta.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { bM as CreateServiceRequest$1, bN as CreateServiceResponse$1, bR as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, bW as GetServiceRequest$1, bX as GetServiceResponse$1, c0 as UpdateServiceRequest$1, c1 as UpdateServiceResponse$1, c2 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, c4 as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, c5 as DeleteServiceRequest$1, c7 as DeleteServiceResponse$1, c8 as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, c9 as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, ca as QueryServicesRequest$1, cg as QueryServicesResponse$1, cj as SearchServicesRequest$1, m as SearchServicesResponse$1, cX as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, c_ as QueryBookingFormsRequest$1, p as QueryBookingFormsResponse$1, d2 as CountServicesRequest$1, s as CountServicesResponse$1, d3 as QueryLocationsRequest$1, u as QueryLocationsResponse$1, d8 as QueryCategoriesRequest$1, w as QueryCategoriesResponse$1, dc as SetServiceLocationsRequest$1, y as SetServiceLocationsResponse$1, dg as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, di as DisablePricingPlansForServiceRequest$1, F as DisablePricingPlansForServiceResponse$1, dj as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, dk as ValidateSlugRequest$1, M as ValidateSlugResponse$1, dl as CloneServiceRequest$1, N as CloneServiceResponse$1, dU as CreateAddOnGroupRequest$1, R as CreateAddOnGroupResponse$1, dV as DeleteAddOnGroupRequest$1, dW as DeleteAddOnGroupResponse$1, dX as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, dY as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, e0 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-ITYqFvzY.mjs';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1133,138 +1133,6 @@ interface AddOnGroup {
|
|
|
1133
1133
|
*/
|
|
1134
1134
|
prompt?: string | null;
|
|
1135
1135
|
}
|
|
1136
|
-
interface CreateAddOnGroupRequest {
|
|
1137
|
-
/** AddOnGroup to create. */
|
|
1138
|
-
addOnGroup: AddOnGroup;
|
|
1139
|
-
/**
|
|
1140
|
-
* ID of the service to create the AddOnGroup for.
|
|
1141
|
-
* @format GUID
|
|
1142
|
-
*/
|
|
1143
|
-
serviceId?: string | null;
|
|
1144
|
-
}
|
|
1145
|
-
interface CreateAddOnGroupResponse {
|
|
1146
|
-
/** Created AddOnGroup. */
|
|
1147
|
-
addOnGroup?: AddOnGroup;
|
|
1148
|
-
}
|
|
1149
|
-
interface DeleteAddOnGroupRequest {
|
|
1150
|
-
/**
|
|
1151
|
-
* ID of the AddOnGroup to delete.
|
|
1152
|
-
* @format GUID
|
|
1153
|
-
*/
|
|
1154
|
-
addOnGroupId: string | null;
|
|
1155
|
-
/**
|
|
1156
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
1157
|
-
* @format GUID
|
|
1158
|
-
*/
|
|
1159
|
-
serviceId: string | null;
|
|
1160
|
-
}
|
|
1161
|
-
interface DeleteAddOnGroupResponse {
|
|
1162
|
-
}
|
|
1163
|
-
interface UpdateAddOnGroupRequest {
|
|
1164
|
-
/** AddOnGroup to update. */
|
|
1165
|
-
addOnGroup: AddOnGroup;
|
|
1166
|
-
/**
|
|
1167
|
-
* ID of the service that contains the AddOnGroup.
|
|
1168
|
-
* @format GUID
|
|
1169
|
-
*/
|
|
1170
|
-
serviceId: string | null;
|
|
1171
|
-
}
|
|
1172
|
-
interface UpdateAddOnGroupResponse {
|
|
1173
|
-
/** Updated AddOnGroup */
|
|
1174
|
-
addOnGroup?: AddOnGroup;
|
|
1175
|
-
}
|
|
1176
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
1177
|
-
/**
|
|
1178
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
1179
|
-
* @format GUID
|
|
1180
|
-
*/
|
|
1181
|
-
serviceId: string | null;
|
|
1182
|
-
/**
|
|
1183
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
1184
|
-
* @format GUID
|
|
1185
|
-
* @maxSize 3
|
|
1186
|
-
*/
|
|
1187
|
-
groupIds?: string[] | null;
|
|
1188
|
-
}
|
|
1189
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
1190
|
-
/**
|
|
1191
|
-
* List of group IDs and their linked AddOns.
|
|
1192
|
-
* @maxSize 3
|
|
1193
|
-
*/
|
|
1194
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1195
|
-
}
|
|
1196
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1197
|
-
/** The AddOn description. */
|
|
1198
|
-
durationInMinutes?: number;
|
|
1199
|
-
/** The AddOn max quantity. */
|
|
1200
|
-
maxQuantity?: number;
|
|
1201
|
-
/**
|
|
1202
|
-
* The AddOn ID.
|
|
1203
|
-
* @format GUID
|
|
1204
|
-
*/
|
|
1205
|
-
addOnId?: string | null;
|
|
1206
|
-
/**
|
|
1207
|
-
* The AddOn name.
|
|
1208
|
-
* @maxLength 100
|
|
1209
|
-
*/
|
|
1210
|
-
name?: string | null;
|
|
1211
|
-
/** The AddOn price. */
|
|
1212
|
-
price?: Money;
|
|
1213
|
-
}
|
|
1214
|
-
/** @oneof */
|
|
1215
|
-
interface AddOnAddOnInfoOneOf {
|
|
1216
|
-
/** The AddOn description. */
|
|
1217
|
-
durationInMinutes?: number;
|
|
1218
|
-
/** The AddOn max quantity. */
|
|
1219
|
-
maxQuantity?: number;
|
|
1220
|
-
}
|
|
1221
|
-
interface AddOnGroupDetail {
|
|
1222
|
-
/**
|
|
1223
|
-
* The group ID.
|
|
1224
|
-
* @format GUID
|
|
1225
|
-
*/
|
|
1226
|
-
groupId?: string | null;
|
|
1227
|
-
/** The group max number of AddOns. */
|
|
1228
|
-
maxNumberOfAddOns?: number | null;
|
|
1229
|
-
/**
|
|
1230
|
-
* The group name.
|
|
1231
|
-
* @maxLength 100
|
|
1232
|
-
*/
|
|
1233
|
-
groupName?: string | null;
|
|
1234
|
-
/**
|
|
1235
|
-
* The AddOns information linked to the group.
|
|
1236
|
-
* @maxSize 7
|
|
1237
|
-
*/
|
|
1238
|
-
addOns?: AddOn[];
|
|
1239
|
-
/**
|
|
1240
|
-
* The group prompt.
|
|
1241
|
-
* @maxLength 200
|
|
1242
|
-
*/
|
|
1243
|
-
prompt?: string | null;
|
|
1244
|
-
}
|
|
1245
|
-
interface SetAddOnsForGroupRequest {
|
|
1246
|
-
/**
|
|
1247
|
-
* The service ID to set AddOns for.
|
|
1248
|
-
* @format GUID
|
|
1249
|
-
*/
|
|
1250
|
-
serviceId: string | null;
|
|
1251
|
-
/**
|
|
1252
|
-
* The group ID to set AddOns for.
|
|
1253
|
-
* @format GUID
|
|
1254
|
-
*/
|
|
1255
|
-
groupId: string | null;
|
|
1256
|
-
/**
|
|
1257
|
-
* The IDs of AddOns to set.
|
|
1258
|
-
* @format GUID
|
|
1259
|
-
* @minSize 1
|
|
1260
|
-
* @maxSize 7
|
|
1261
|
-
*/
|
|
1262
|
-
addOnIds: string[] | null;
|
|
1263
|
-
}
|
|
1264
|
-
interface SetAddOnsForGroupResponse {
|
|
1265
|
-
/** The updated AddOnGroup. */
|
|
1266
|
-
addOnGroup?: AddOnGroup;
|
|
1267
|
-
}
|
|
1268
1136
|
interface CreateServiceRequest {
|
|
1269
1137
|
/** Service to create. */
|
|
1270
1138
|
service: Service;
|
|
@@ -2543,6 +2411,138 @@ declare enum CloneErrors {
|
|
|
2543
2411
|
}
|
|
2544
2412
|
/** @enumType */
|
|
2545
2413
|
type CloneErrorsWithLiterals = CloneErrors | 'OPTIONS_AND_VARIANTS' | 'FORM';
|
|
2414
|
+
interface CreateAddOnGroupRequest {
|
|
2415
|
+
/** AddOnGroup to create. */
|
|
2416
|
+
addOnGroup: AddOnGroup;
|
|
2417
|
+
/**
|
|
2418
|
+
* ID of the service to create the AddOnGroup for.
|
|
2419
|
+
* @format GUID
|
|
2420
|
+
*/
|
|
2421
|
+
serviceId?: string | null;
|
|
2422
|
+
}
|
|
2423
|
+
interface CreateAddOnGroupResponse {
|
|
2424
|
+
/** Created AddOnGroup. */
|
|
2425
|
+
addOnGroup?: AddOnGroup;
|
|
2426
|
+
}
|
|
2427
|
+
interface DeleteAddOnGroupRequest {
|
|
2428
|
+
/**
|
|
2429
|
+
* ID of the AddOnGroup to delete.
|
|
2430
|
+
* @format GUID
|
|
2431
|
+
*/
|
|
2432
|
+
addOnGroupId: string | null;
|
|
2433
|
+
/**
|
|
2434
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
2435
|
+
* @format GUID
|
|
2436
|
+
*/
|
|
2437
|
+
serviceId: string | null;
|
|
2438
|
+
}
|
|
2439
|
+
interface DeleteAddOnGroupResponse {
|
|
2440
|
+
}
|
|
2441
|
+
interface UpdateAddOnGroupRequest {
|
|
2442
|
+
/** AddOnGroup to update. */
|
|
2443
|
+
addOnGroup: AddOnGroup;
|
|
2444
|
+
/**
|
|
2445
|
+
* ID of the service that contains the AddOnGroup.
|
|
2446
|
+
* @format GUID
|
|
2447
|
+
*/
|
|
2448
|
+
serviceId: string | null;
|
|
2449
|
+
}
|
|
2450
|
+
interface UpdateAddOnGroupResponse {
|
|
2451
|
+
/** Updated AddOnGroup */
|
|
2452
|
+
addOnGroup?: AddOnGroup;
|
|
2453
|
+
}
|
|
2454
|
+
interface ListAddOnGroupsByServiceIdRequest {
|
|
2455
|
+
/**
|
|
2456
|
+
* ID of the service to retrieve AddOnGroups for.
|
|
2457
|
+
* @format GUID
|
|
2458
|
+
*/
|
|
2459
|
+
serviceId: string | null;
|
|
2460
|
+
/**
|
|
2461
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
2462
|
+
* @format GUID
|
|
2463
|
+
* @maxSize 3
|
|
2464
|
+
*/
|
|
2465
|
+
groupIds?: string[] | null;
|
|
2466
|
+
}
|
|
2467
|
+
interface ListAddOnGroupsByServiceIdResponse {
|
|
2468
|
+
/**
|
|
2469
|
+
* List of group IDs and their linked AddOns.
|
|
2470
|
+
* @maxSize 3
|
|
2471
|
+
*/
|
|
2472
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
2473
|
+
}
|
|
2474
|
+
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
2475
|
+
/** The AddOn description. */
|
|
2476
|
+
durationInMinutes?: number;
|
|
2477
|
+
/** The AddOn max quantity. */
|
|
2478
|
+
maxQuantity?: number;
|
|
2479
|
+
/**
|
|
2480
|
+
* The AddOn ID.
|
|
2481
|
+
* @format GUID
|
|
2482
|
+
*/
|
|
2483
|
+
addOnId?: string | null;
|
|
2484
|
+
/**
|
|
2485
|
+
* The AddOn name.
|
|
2486
|
+
* @maxLength 100
|
|
2487
|
+
*/
|
|
2488
|
+
name?: string | null;
|
|
2489
|
+
/** The AddOn price. */
|
|
2490
|
+
price?: Money;
|
|
2491
|
+
}
|
|
2492
|
+
/** @oneof */
|
|
2493
|
+
interface AddOnAddOnInfoOneOf {
|
|
2494
|
+
/** The AddOn description. */
|
|
2495
|
+
durationInMinutes?: number;
|
|
2496
|
+
/** The AddOn max quantity. */
|
|
2497
|
+
maxQuantity?: number;
|
|
2498
|
+
}
|
|
2499
|
+
interface AddOnGroupDetail {
|
|
2500
|
+
/**
|
|
2501
|
+
* The group ID.
|
|
2502
|
+
* @format GUID
|
|
2503
|
+
*/
|
|
2504
|
+
groupId?: string | null;
|
|
2505
|
+
/** The group max number of AddOns. */
|
|
2506
|
+
maxNumberOfAddOns?: number | null;
|
|
2507
|
+
/**
|
|
2508
|
+
* The group name.
|
|
2509
|
+
* @maxLength 100
|
|
2510
|
+
*/
|
|
2511
|
+
groupName?: string | null;
|
|
2512
|
+
/**
|
|
2513
|
+
* The AddOns information linked to the group.
|
|
2514
|
+
* @maxSize 7
|
|
2515
|
+
*/
|
|
2516
|
+
addOns?: AddOn[];
|
|
2517
|
+
/**
|
|
2518
|
+
* The group prompt.
|
|
2519
|
+
* @maxLength 200
|
|
2520
|
+
*/
|
|
2521
|
+
prompt?: string | null;
|
|
2522
|
+
}
|
|
2523
|
+
interface SetAddOnsForGroupRequest {
|
|
2524
|
+
/**
|
|
2525
|
+
* The service ID to set AddOns for.
|
|
2526
|
+
* @format GUID
|
|
2527
|
+
*/
|
|
2528
|
+
serviceId: string | null;
|
|
2529
|
+
/**
|
|
2530
|
+
* The group ID to set AddOns for.
|
|
2531
|
+
* @format GUID
|
|
2532
|
+
*/
|
|
2533
|
+
groupId: string | null;
|
|
2534
|
+
/**
|
|
2535
|
+
* The IDs of AddOns to set.
|
|
2536
|
+
* @format GUID
|
|
2537
|
+
* @minSize 1
|
|
2538
|
+
* @maxSize 7
|
|
2539
|
+
*/
|
|
2540
|
+
addOnIds: string[] | null;
|
|
2541
|
+
}
|
|
2542
|
+
interface SetAddOnsForGroupResponse {
|
|
2543
|
+
/** The updated AddOnGroup. */
|
|
2544
|
+
addOnGroup?: AddOnGroup;
|
|
2545
|
+
}
|
|
2546
2546
|
|
|
2547
2547
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
2548
2548
|
getUrl: (context: any) => string;
|
|
@@ -2554,11 +2554,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
|
|
|
2554
2554
|
__responseType: Q;
|
|
2555
2555
|
__originalResponseType: R;
|
|
2556
2556
|
};
|
|
2557
|
-
declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
|
|
2558
|
-
declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
|
|
2559
|
-
declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
|
|
2560
|
-
declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
|
|
2561
|
-
declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
|
|
2562
2557
|
declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
|
|
2563
2558
|
declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
|
|
2564
2559
|
declare function getService(): __PublicMethodMetaInfo<'GET', {
|
|
@@ -2595,5 +2590,10 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
|
|
|
2595
2590
|
}, SetCustomSlugRequest$1, SetCustomSlugRequest, SetCustomSlugResponse$1, SetCustomSlugResponse>;
|
|
2596
2591
|
declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
|
|
2597
2592
|
declare function cloneService(): __PublicMethodMetaInfo<'POST', {}, CloneServiceRequest$1, CloneServiceRequest, CloneServiceResponse$1, CloneServiceResponse>;
|
|
2593
|
+
declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
|
|
2594
|
+
declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
|
|
2595
|
+
declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
|
|
2596
|
+
declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
|
|
2597
|
+
declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
|
|
2598
2598
|
|
|
2599
2599
|
export { type __PublicMethodMetaInfo, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createAddOnGroup, createService, deleteAddOnGroup, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, listAddOnGroupsByServiceId, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setAddOnsForGroup, setCustomSlug, setServiceLocations, updateAddOnGroup, updateService, validateSlug };
|