@wix/auto_sdk_bookings_services 1.0.87 → 1.0.89

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-DOOy_oaz.d.ts → bookings-services-v2-service-services.universal-DwEl6MKV.d.ts} +397 -397
  2. package/build/cjs/index.d.ts +80 -80
  3. package/build/cjs/index.js +316 -316
  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-DOOy_oaz.d.mts → bookings-services-v2-service-services.universal-DwEl6MKV.d.mts} +397 -397
  12. package/build/es/index.d.mts +80 -80
  13. package/build/es/index.mjs +316 -316
  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-DOOy_oaz.d.ts → bookings-services-v2-service-services.universal-DwEl6MKV.d.ts} +397 -397
  22. package/build/internal/cjs/index.d.ts +80 -80
  23. package/build/internal/cjs/index.js +316 -316
  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-DOOy_oaz.d.mts → bookings-services-v2-service-services.universal-DwEl6MKV.d.mts} +397 -397
  32. package/build/internal/es/index.d.mts +80 -80
  33. package/build/internal/es/index.mjs +316 -316
  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 { bF as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bG as DeleteAddOnGroupRequest$1, bH as DeleteAddOnGroupResponse$1, bI as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bJ as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bN as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bO as CreateServiceRequest$1, bP as CreateServiceResponse$1, bT as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, bY as GetServiceRequest$1, bZ as GetServiceResponse$1, c2 as UpdateServiceRequest$1, c3 as UpdateServiceResponse$1, c4 as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, c6 as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, c7 as DeleteServiceRequest$1, c9 as DeleteServiceResponse$1, ca as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, cb as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cc as QueryServicesRequest$1, ci as QueryServicesResponse$1, cl as SearchServicesRequest$1, x as SearchServicesResponse$1, cZ as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d0 as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, d4 as CountServicesRequest$1, H as CountServicesResponse$1, d5 as QueryLocationsRequest$1, J as QueryLocationsResponse$1, da as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, de as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, di as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dk as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dl as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dm as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dn as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-DOOy_oaz.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-DwEl6MKV.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,138 +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
1121
  interface CreateServiceRequest {
1254
1122
  /** Service to create. */
1255
1123
  service: Service;
@@ -2528,6 +2396,138 @@ declare enum CloneErrors {
2528
2396
  }
2529
2397
  /** @enumType */
2530
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
+ }
2531
2531
 
2532
2532
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2533
2533
  getUrl: (context: any) => string;
@@ -2539,11 +2539,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
2539
2539
  __responseType: Q;
2540
2540
  __originalResponseType: R;
2541
2541
  };
2542
- declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
2543
- declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
2544
- declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
2545
- declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
2546
- declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
2547
2542
  declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
2548
2543
  declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
2549
2544
  declare function getService(): __PublicMethodMetaInfo<'GET', {
@@ -2580,5 +2575,10 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
2580
2575
  }, SetCustomSlugRequest$1, SetCustomSlugRequest, SetCustomSlugResponse$1, SetCustomSlugResponse>;
2581
2576
  declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
2582
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>;
2583
2583
 
2584
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 };