@wix/auto_sdk_bookings_services 1.0.75 → 1.0.77

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.
Files changed (41) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-CEp6lBCA.d.ts → bookings-services-v2-service-services.universal-CZ8rfmWq.d.ts} +357 -418
  2. package/build/cjs/index.d.ts +61 -70
  3. package/build/cjs/index.js +324 -376
  4. package/build/cjs/index.js.map +1 -1
  5. package/build/cjs/index.typings.d.ts +2 -2
  6. package/build/cjs/index.typings.js +287 -330
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +139 -174
  9. package/build/cjs/meta.js +193 -223
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-CEp6lBCA.d.mts → bookings-services-v2-service-services.universal-CZ8rfmWq.d.mts} +357 -418
  12. package/build/es/index.d.mts +61 -70
  13. package/build/es/index.mjs +324 -375
  14. package/build/es/index.mjs.map +1 -1
  15. package/build/es/index.typings.d.mts +2 -2
  16. package/build/es/index.typings.mjs +287 -329
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +139 -174
  19. package/build/es/meta.mjs +193 -222
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-CEp6lBCA.d.ts → bookings-services-v2-service-services.universal-CZ8rfmWq.d.ts} +357 -418
  22. package/build/internal/cjs/index.d.ts +61 -70
  23. package/build/internal/cjs/index.js +324 -376
  24. package/build/internal/cjs/index.js.map +1 -1
  25. package/build/internal/cjs/index.typings.d.ts +2 -2
  26. package/build/internal/cjs/index.typings.js +287 -330
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +139 -174
  29. package/build/internal/cjs/meta.js +193 -223
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-CEp6lBCA.d.mts → bookings-services-v2-service-services.universal-CZ8rfmWq.d.mts} +357 -418
  32. package/build/internal/es/index.d.mts +61 -70
  33. package/build/internal/es/index.mjs +324 -375
  34. package/build/internal/es/index.mjs.map +1 -1
  35. package/build/internal/es/index.typings.d.mts +2 -2
  36. package/build/internal/es/index.typings.mjs +287 -329
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +139 -174
  39. package/build/internal/es/meta.mjs +193 -222
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { bH as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bI as DeleteAddOnGroupRequest$1, bJ as DeleteAddOnGroupResponse$1, bK as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bL as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bP as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bQ as ValidateAddOnsSelectionRequest$1, h as ValidateAddOnsSelectionResponse$1, bS as CreateServiceRequest$1, bT as CreateServiceResponse$1, bX as BulkCreateServicesRequest$1, k as BulkCreateServicesResponse$1, c0 as GetServiceRequest$1, c1 as GetServiceResponse$1, c6 as UpdateServiceRequest$1, c7 as UpdateServiceResponse$1, c8 as BulkUpdateServicesRequest$1, o as BulkUpdateServicesResponse$1, ca as BulkUpdateServicesByFilterRequest$1, q as BulkUpdateServicesByFilterResponse$1, cb as DeleteServiceRequest$1, cd as DeleteServiceResponse$1, ce as BulkDeleteServicesRequest$1, t as BulkDeleteServicesResponse$1, cf as BulkDeleteServicesByFilterRequest$1, v as BulkDeleteServicesByFilterResponse$1, cg as QueryServicesRequest$1, cm as QueryServicesResponse$1, cp as SearchServicesRequest$1, y as SearchServicesResponse$1, d1 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d4 as QueryBookingFormsRequest$1, F as QueryBookingFormsResponse$1, d8 as CountServicesRequest$1, I as CountServicesResponse$1, d9 as QueryLocationsRequest$1, K as QueryLocationsResponse$1, de as QueryCategoriesRequest$1, N as QueryCategoriesResponse$1, di as SetServiceLocationsRequest$1, R as SetServiceLocationsResponse$1, dm as EnablePricingPlansForServiceRequest$1, T as EnablePricingPlansForServiceResponse$1, dp as DisablePricingPlansForServiceRequest$1, Y as DisablePricingPlansForServiceResponse$1, dq as SetCustomSlugRequest$1, $ as SetCustomSlugResponse$1, dr as ValidateSlugRequest$1, a3 as ValidateSlugResponse$1, ds as CloneServiceRequest$1, a4 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-CEp6lBCA.js';
1
+ import { bF as CreateServiceRequest$1, bG as CreateServiceResponse$1, bK as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, bP as GetServiceRequest$1, bQ as GetServiceResponse$1, bV as UpdateServiceRequest$1, bW as UpdateServiceResponse$1, bX as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, bZ as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, b_ as DeleteServiceRequest$1, c0 as DeleteServiceResponse$1, c1 as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, c2 as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, c3 as QueryServicesRequest$1, c9 as QueryServicesResponse$1, cc as SearchServicesRequest$1, m as SearchServicesResponse$1, cQ as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, cT as QueryBookingFormsRequest$1, p as QueryBookingFormsResponse$1, cX as CountServicesRequest$1, s as CountServicesResponse$1, cY as QueryLocationsRequest$1, u as QueryLocationsResponse$1, d1 as QueryCategoriesRequest$1, w as QueryCategoriesResponse$1, d5 as SetServiceLocationsRequest$1, y as SetServiceLocationsResponse$1, d9 as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, db as DisablePricingPlansForServiceRequest$1, F as DisablePricingPlansForServiceResponse$1, dc as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, dd as ValidateSlugRequest$1, M as ValidateSlugResponse$1, de as CloneServiceRequest$1, N as CloneServiceResponse$1, dN as CreateAddOnGroupRequest$1, R as CreateAddOnGroupResponse$1, dO as DeleteAddOnGroupRequest$1, dP as DeleteAddOnGroupResponse$1, dQ as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, dR as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, dV as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-CZ8rfmWq.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -1118,172 +1118,6 @@ interface AddOnGroup {
1118
1118
  */
1119
1119
  prompt?: string | null;
1120
1120
  }
1121
- interface CreateAddOnGroupRequest {
1122
- /** AddOnGroup to create. */
1123
- addOnGroup: AddOnGroup;
1124
- /**
1125
- * ID of the service to create the AddOnGroup for.
1126
- * @format GUID
1127
- */
1128
- serviceId?: string | null;
1129
- }
1130
- interface CreateAddOnGroupResponse {
1131
- /** Created AddOnGroup. */
1132
- addOnGroup?: AddOnGroup;
1133
- }
1134
- interface DeleteAddOnGroupRequest {
1135
- /**
1136
- * ID of the AddOnGroup to delete.
1137
- * @format GUID
1138
- */
1139
- addOnGroupId: string | null;
1140
- /**
1141
- * ID of the service from which to delete the AddOnGroup.
1142
- * @format GUID
1143
- */
1144
- serviceId: string | null;
1145
- }
1146
- interface DeleteAddOnGroupResponse {
1147
- }
1148
- interface UpdateAddOnGroupRequest {
1149
- /** AddOnGroup to update. */
1150
- addOnGroup: AddOnGroup;
1151
- /**
1152
- * ID of the service that contains the AddOnGroup.
1153
- * @format GUID
1154
- */
1155
- serviceId: string | null;
1156
- }
1157
- interface UpdateAddOnGroupResponse {
1158
- /** Updated AddOnGroup */
1159
- addOnGroup?: AddOnGroup;
1160
- }
1161
- interface ListAddOnGroupsByServiceIdRequest {
1162
- /**
1163
- * ID of the service to retrieve AddOnGroups for.
1164
- * @format GUID
1165
- */
1166
- serviceId: string | null;
1167
- /**
1168
- * List of group ids to return. If not provided, all groups are returned.
1169
- * @format GUID
1170
- * @maxSize 3
1171
- */
1172
- groupIds?: string[] | null;
1173
- }
1174
- interface ListAddOnGroupsByServiceIdResponse {
1175
- /**
1176
- * List of group IDs and their linked AddOns.
1177
- * @maxSize 3
1178
- */
1179
- addOnGroupsDetails?: AddOnGroupDetail[];
1180
- }
1181
- interface AddOn extends AddOnAddOnInfoOneOf {
1182
- /** The AddOn description. */
1183
- durationInMinutes?: number;
1184
- /** The AddOn max quantity. */
1185
- maxQuantity?: number;
1186
- /**
1187
- * The AddOn ID.
1188
- * @format GUID
1189
- */
1190
- addOnId?: string | null;
1191
- /**
1192
- * The AddOn name.
1193
- * @maxLength 100
1194
- */
1195
- name?: string | null;
1196
- /** The AddOn price. */
1197
- price?: Money;
1198
- }
1199
- /** @oneof */
1200
- interface AddOnAddOnInfoOneOf {
1201
- /** The AddOn description. */
1202
- durationInMinutes?: number;
1203
- /** The AddOn max quantity. */
1204
- maxQuantity?: number;
1205
- }
1206
- interface AddOnGroupDetail {
1207
- /**
1208
- * The group ID.
1209
- * @format GUID
1210
- */
1211
- groupId?: string | null;
1212
- /** The group max number of AddOns. */
1213
- maxNumberOfAddOns?: number | null;
1214
- /**
1215
- * The group name.
1216
- * @maxLength 100
1217
- */
1218
- groupName?: string | null;
1219
- /**
1220
- * The AddOns information linked to the group.
1221
- * @maxSize 7
1222
- */
1223
- addOns?: AddOn[];
1224
- /**
1225
- * The group prompt.
1226
- * @maxLength 200
1227
- */
1228
- prompt?: string | null;
1229
- }
1230
- interface SetAddOnsForGroupRequest {
1231
- /**
1232
- * The service ID to set AddOns for.
1233
- * @format GUID
1234
- */
1235
- serviceId: string | null;
1236
- /**
1237
- * The group ID to set AddOns for.
1238
- * @format GUID
1239
- */
1240
- groupId: string | null;
1241
- /**
1242
- * The IDs of AddOns to set.
1243
- * @format GUID
1244
- * @minSize 1
1245
- * @maxSize 7
1246
- */
1247
- addOnIds: string[] | null;
1248
- }
1249
- interface SetAddOnsForGroupResponse {
1250
- /** The updated AddOnGroup. */
1251
- addOnGroup?: AddOnGroup;
1252
- }
1253
- interface ValidateAddOnsSelectionRequest {
1254
- /**
1255
- * The service ID to validate AddOns against.
1256
- * @format GUID
1257
- */
1258
- serviceId: string | null;
1259
- /**
1260
- * The group ID to validate AddOns against.
1261
- * @format GUID
1262
- */
1263
- groupId: string | null;
1264
- /**
1265
- * The IDs of AddOns to validate.
1266
- * @format GUID
1267
- * @minSize 1
1268
- * @maxSize 7
1269
- */
1270
- addOnIds: string[] | null;
1271
- }
1272
- interface ValidateAddOnsSelectionResponse {
1273
- /** The validation result. */
1274
- result?: ValidationResult;
1275
- }
1276
- interface ValidationResult {
1277
- /** Whether the AddOns selection is valid. */
1278
- valid?: boolean | null;
1279
- /**
1280
- * A validation error message.
1281
- * This field should populated when `valid` is `false`.
1282
- * @minLength 1
1283
- * @maxLength 300
1284
- */
1285
- message?: string | null;
1286
- }
1287
1121
  interface CreateServiceRequest {
1288
1122
  /** Service to create. */
1289
1123
  service: Service;
@@ -2562,6 +2396,138 @@ declare enum CloneErrors {
2562
2396
  }
2563
2397
  /** @enumType */
2564
2398
  type CloneErrorsWithLiterals = CloneErrors | 'OPTIONS_AND_VARIANTS' | 'FORM';
2399
+ interface CreateAddOnGroupRequest {
2400
+ /** AddOnGroup to create. */
2401
+ addOnGroup: AddOnGroup;
2402
+ /**
2403
+ * ID of the service to create the AddOnGroup for.
2404
+ * @format GUID
2405
+ */
2406
+ serviceId?: string | null;
2407
+ }
2408
+ interface CreateAddOnGroupResponse {
2409
+ /** Created AddOnGroup. */
2410
+ addOnGroup?: AddOnGroup;
2411
+ }
2412
+ interface DeleteAddOnGroupRequest {
2413
+ /**
2414
+ * ID of the AddOnGroup to delete.
2415
+ * @format GUID
2416
+ */
2417
+ addOnGroupId: string | null;
2418
+ /**
2419
+ * ID of the service from which to delete the AddOnGroup.
2420
+ * @format GUID
2421
+ */
2422
+ serviceId: string | null;
2423
+ }
2424
+ interface DeleteAddOnGroupResponse {
2425
+ }
2426
+ interface UpdateAddOnGroupRequest {
2427
+ /** AddOnGroup to update. */
2428
+ addOnGroup: AddOnGroup;
2429
+ /**
2430
+ * ID of the service that contains the AddOnGroup.
2431
+ * @format GUID
2432
+ */
2433
+ serviceId: string | null;
2434
+ }
2435
+ interface UpdateAddOnGroupResponse {
2436
+ /** Updated AddOnGroup */
2437
+ addOnGroup?: AddOnGroup;
2438
+ }
2439
+ interface ListAddOnGroupsByServiceIdRequest {
2440
+ /**
2441
+ * ID of the service to retrieve AddOnGroups for.
2442
+ * @format GUID
2443
+ */
2444
+ serviceId: string | null;
2445
+ /**
2446
+ * List of group ids to return. If not provided, all groups are returned.
2447
+ * @format GUID
2448
+ * @maxSize 3
2449
+ */
2450
+ groupIds?: string[] | null;
2451
+ }
2452
+ interface ListAddOnGroupsByServiceIdResponse {
2453
+ /**
2454
+ * List of group IDs and their linked AddOns.
2455
+ * @maxSize 3
2456
+ */
2457
+ addOnGroupsDetails?: AddOnGroupDetail[];
2458
+ }
2459
+ interface AddOn extends AddOnAddOnInfoOneOf {
2460
+ /** The AddOn description. */
2461
+ durationInMinutes?: number;
2462
+ /** The AddOn max quantity. */
2463
+ maxQuantity?: number;
2464
+ /**
2465
+ * The AddOn ID.
2466
+ * @format GUID
2467
+ */
2468
+ addOnId?: string | null;
2469
+ /**
2470
+ * The AddOn name.
2471
+ * @maxLength 100
2472
+ */
2473
+ name?: string | null;
2474
+ /** The AddOn price. */
2475
+ price?: Money;
2476
+ }
2477
+ /** @oneof */
2478
+ interface AddOnAddOnInfoOneOf {
2479
+ /** The AddOn description. */
2480
+ durationInMinutes?: number;
2481
+ /** The AddOn max quantity. */
2482
+ maxQuantity?: number;
2483
+ }
2484
+ interface AddOnGroupDetail {
2485
+ /**
2486
+ * The group ID.
2487
+ * @format GUID
2488
+ */
2489
+ groupId?: string | null;
2490
+ /** The group max number of AddOns. */
2491
+ maxNumberOfAddOns?: number | null;
2492
+ /**
2493
+ * The group name.
2494
+ * @maxLength 100
2495
+ */
2496
+ groupName?: string | null;
2497
+ /**
2498
+ * The AddOns information linked to the group.
2499
+ * @maxSize 7
2500
+ */
2501
+ addOns?: AddOn[];
2502
+ /**
2503
+ * The group prompt.
2504
+ * @maxLength 200
2505
+ */
2506
+ prompt?: string | null;
2507
+ }
2508
+ interface SetAddOnsForGroupRequest {
2509
+ /**
2510
+ * The service ID to set AddOns for.
2511
+ * @format GUID
2512
+ */
2513
+ serviceId: string | null;
2514
+ /**
2515
+ * The group ID to set AddOns for.
2516
+ * @format GUID
2517
+ */
2518
+ groupId: string | null;
2519
+ /**
2520
+ * The IDs of AddOns to set.
2521
+ * @format GUID
2522
+ * @minSize 1
2523
+ * @maxSize 7
2524
+ */
2525
+ addOnIds: string[] | null;
2526
+ }
2527
+ interface SetAddOnsForGroupResponse {
2528
+ /** The updated AddOnGroup. */
2529
+ addOnGroup?: AddOnGroup;
2530
+ }
2565
2531
 
2566
2532
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2567
2533
  getUrl: (context: any) => string;
@@ -2573,12 +2539,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
2573
2539
  __responseType: Q;
2574
2540
  __originalResponseType: R;
2575
2541
  };
2576
- declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
2577
- declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
2578
- declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
2579
- declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
2580
- declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
2581
- declare function validateAddOnsSelection(): __PublicMethodMetaInfo<'POST', {}, ValidateAddOnsSelectionRequest$1, ValidateAddOnsSelectionRequest, ValidateAddOnsSelectionResponse$1, ValidateAddOnsSelectionResponse>;
2582
2542
  declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
2583
2543
  declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
2584
2544
  declare function getService(): __PublicMethodMetaInfo<'GET', {
@@ -2615,5 +2575,10 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
2615
2575
  }, SetCustomSlugRequest$1, SetCustomSlugRequest, SetCustomSlugResponse$1, SetCustomSlugResponse>;
2616
2576
  declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
2617
2577
  declare function cloneService(): __PublicMethodMetaInfo<'POST', {}, CloneServiceRequest$1, CloneServiceRequest, CloneServiceResponse$1, CloneServiceResponse>;
2578
+ declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
2579
+ declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
2580
+ declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
2581
+ declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
2582
+ declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
2618
2583
 
2619
- 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, validateAddOnsSelection, validateSlug };
2584
+ 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 };