@wix/auto_sdk_bookings_services 1.0.114 → 1.0.115

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-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-KorTqIDU.d.ts} +271 -271
  2. package/build/cjs/index.d.ts +60 -60
  3. package/build/cjs/index.js +335 -335
  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 +245 -245
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +138 -138
  9. package/build/cjs/meta.js +185 -185
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-KorTqIDU.d.mts} +271 -271
  12. package/build/es/index.d.mts +60 -60
  13. package/build/es/index.mjs +335 -335
  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 +245 -245
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +138 -138
  19. package/build/es/meta.mjs +185 -185
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-KorTqIDU.d.ts} +271 -271
  22. package/build/internal/cjs/index.d.ts +60 -60
  23. package/build/internal/cjs/index.js +335 -335
  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 +245 -245
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +138 -138
  29. package/build/internal/cjs/meta.js +185 -185
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-KorTqIDU.d.mts} +271 -271
  32. package/build/internal/es/index.d.mts +60 -60
  33. package/build/internal/es/index.mjs +335 -335
  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 +245 -245
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +138 -138
  39. package/build/internal/es/meta.mjs +185 -185
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { bG as CreateServiceRequest$1, bH as CreateServiceResponse$1, bL as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, bQ as GetServiceRequest$1, bR as GetServiceResponse$1, bW as UpdateServiceRequest$1, bX as UpdateServiceResponse$1, bY as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, b_ as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, b$ as DeleteServiceRequest$1, c1 as DeleteServiceResponse$1, c2 as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, c3 as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, c4 as QueryServicesRequest$1, ca as QueryServicesResponse$1, cd as SearchServicesRequest$1, m as SearchServicesResponse$1, cR as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, cU as QueryBookingFormsRequest$1, p as QueryBookingFormsResponse$1, cY as CountServicesRequest$1, s as CountServicesResponse$1, cZ as QueryLocationsRequest$1, u as QueryLocationsResponse$1, d2 as QueryCategoriesRequest$1, w as QueryCategoriesResponse$1, d6 as SetServiceLocationsRequest$1, y as SetServiceLocationsResponse$1, da as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, dc as DisablePricingPlansForServiceRequest$1, F as DisablePricingPlansForServiceResponse$1, dd as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, de as ValidateSlugRequest$1, M as ValidateSlugResponse$1, df as CloneServiceRequest$1, N as CloneServiceResponse$1, dO as CreateAddOnGroupRequest$1, R as CreateAddOnGroupResponse$1, dP as DeleteAddOnGroupRequest$1, dQ as DeleteAddOnGroupResponse$1, dR as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, dS as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, dW as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-DKi7EvxV.js';
1
+ import { bG as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bH as DeleteAddOnGroupRequest$1, bI as DeleteAddOnGroupResponse$1, bJ as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bK as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bO as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bP as CreateServiceRequest$1, bQ as CreateServiceResponse$1, bU as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, bZ as GetServiceRequest$1, b_ as GetServiceResponse$1, c3 as UpdateServiceRequest$1, c4 as UpdateServiceResponse$1, c5 as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, c7 as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, c8 as DeleteServiceRequest$1, ca as DeleteServiceResponse$1, cb as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, cc as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cd as QueryServicesRequest$1, cj as QueryServicesResponse$1, cm as SearchServicesRequest$1, x as SearchServicesResponse$1, c_ as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d1 as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, d5 as CountServicesRequest$1, H as CountServicesResponse$1, d6 as QueryLocationsRequest$1, J as QueryLocationsResponse$1, db as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, df as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, dj as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dl as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dm as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dn as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dp as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-KorTqIDU.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -1133,6 +1133,138 @@ 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
+ }
1136
1268
  interface CreateServiceRequest {
1137
1269
  /** Service to create. */
1138
1270
  service: Service;
@@ -2411,138 +2543,6 @@ declare enum CloneErrors {
2411
2543
  }
2412
2544
  /** @enumType */
2413
2545
  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,6 +2554,11 @@ 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>;
2557
2562
  declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
2558
2563
  declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
2559
2564
  declare function getService(): __PublicMethodMetaInfo<'GET', {
@@ -2590,10 +2595,5 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
2590
2595
  }, SetCustomSlugRequest$1, SetCustomSlugRequest, SetCustomSlugResponse$1, SetCustomSlugResponse>;
2591
2596
  declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
2592
2597
  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 };