@wix/auto_sdk_bookings_services 1.0.130 → 1.0.132

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-CFIqn_c5.d.ts → bookings-services-v2-service-services.universal-C1G4Y8fa.d.ts} +390 -376
  2. package/build/cjs/index.d.ts +60 -60
  3. package/build/cjs/index.js +302 -302
  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 +265 -265
  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 +200 -200
  10. package/build/cjs/meta.js.map +1 -1
  11. package/build/es/{bookings-services-v2-service-services.universal-CFIqn_c5.d.mts → bookings-services-v2-service-services.universal-C1G4Y8fa.d.mts} +390 -376
  12. package/build/es/index.d.mts +60 -60
  13. package/build/es/index.mjs +302 -302
  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 +265 -265
  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 +200 -200
  20. package/build/es/meta.mjs.map +1 -1
  21. package/build/internal/cjs/{bookings-services-v2-service-services.universal-CFIqn_c5.d.ts → bookings-services-v2-service-services.universal-C1G4Y8fa.d.ts} +390 -376
  22. package/build/internal/cjs/index.d.ts +60 -60
  23. package/build/internal/cjs/index.js +302 -302
  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 +265 -265
  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 +200 -200
  30. package/build/internal/cjs/meta.js.map +1 -1
  31. package/build/internal/es/{bookings-services-v2-service-services.universal-CFIqn_c5.d.mts → bookings-services-v2-service-services.universal-C1G4Y8fa.d.mts} +390 -376
  32. package/build/internal/es/index.d.mts +60 -60
  33. package/build/internal/es/index.mjs +302 -302
  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 +265 -265
  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 +200 -200
  40. package/build/internal/es/meta.mjs.map +1 -1
  41. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- import { bO as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bP as DeleteAddOnGroupRequest$1, bQ as DeleteAddOnGroupResponse$1, bR as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bS as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bW as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bX as CreateServiceRequest$1, bY as CreateServiceResponse$1, c0 as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, c5 as GetServiceRequest$1, c6 as GetServiceResponse$1, cb as UpdateServiceRequest$1, cc as UpdateServiceResponse$1, cd as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, cf as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, cg as DeleteServiceRequest$1, ci as DeleteServiceResponse$1, cj as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, ck as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cl as QueryServicesRequest$1, cr as QueryServicesResponse$1, cu as SearchServicesRequest$1, x as SearchServicesResponse$1, d6 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d9 as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, dd as CountServicesRequest$1, H as CountServicesResponse$1, de as QueryLocationsRequest$1, J as QueryLocationsResponse$1, dj as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, dn as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, ds as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, du as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dv as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dw as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dx as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-CFIqn_c5.js';
1
+ import { bP as CreateServiceRequest$1, bQ as CreateServiceResponse$1, bU as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, bZ as GetServiceRequest$1, b_ as GetServiceResponse$1, c3 as UpdateServiceRequest$1, c4 as UpdateServiceResponse$1, c5 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, c7 as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, c8 as DeleteServiceRequest$1, ca as DeleteServiceResponse$1, cb as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, cc as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, cd as QueryServicesRequest$1, cj as QueryServicesResponse$1, cm as SearchServicesRequest$1, m as SearchServicesResponse$1, c_ as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, d1 as QueryBookingFormsRequest$1, p as QueryBookingFormsResponse$1, d5 as CountServicesRequest$1, s as CountServicesResponse$1, d6 as QueryLocationsRequest$1, u as QueryLocationsResponse$1, db as QueryCategoriesRequest$1, w as QueryCategoriesResponse$1, df as SetServiceLocationsRequest$1, y as SetServiceLocationsResponse$1, dj as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, dl as DisablePricingPlansForServiceRequest$1, F as DisablePricingPlansForServiceResponse$1, dm as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, dn as ValidateSlugRequest$1, M as ValidateSlugResponse$1, dp as CloneServiceRequest$1, N as CloneServiceResponse$1, dX as CreateAddOnGroupRequest$1, R as CreateAddOnGroupResponse$1, dY as DeleteAddOnGroupRequest$1, dZ as DeleteAddOnGroupResponse$1, d_ as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, d$ as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, e3 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-C1G4Y8fa.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -1147,138 +1147,6 @@ declare enum TaxableAddressType {
1147
1147
  }
1148
1148
  /** @enumType */
1149
1149
  type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS_TYPE' | 'BUSINESS' | 'BILLING';
1150
- interface CreateAddOnGroupRequest {
1151
- /** AddOnGroup to create. */
1152
- addOnGroup: AddOnGroup;
1153
- /**
1154
- * ID of the service to create the AddOnGroup for.
1155
- * @format GUID
1156
- */
1157
- serviceId?: string | null;
1158
- }
1159
- interface CreateAddOnGroupResponse {
1160
- /** Created AddOnGroup. */
1161
- addOnGroup?: AddOnGroup;
1162
- }
1163
- interface DeleteAddOnGroupRequest {
1164
- /**
1165
- * ID of the AddOnGroup to delete.
1166
- * @format GUID
1167
- */
1168
- addOnGroupId: string | null;
1169
- /**
1170
- * ID of the service from which to delete the AddOnGroup.
1171
- * @format GUID
1172
- */
1173
- serviceId: string | null;
1174
- }
1175
- interface DeleteAddOnGroupResponse {
1176
- }
1177
- interface UpdateAddOnGroupRequest {
1178
- /** AddOnGroup to update. */
1179
- addOnGroup: AddOnGroup;
1180
- /**
1181
- * ID of the service that contains the AddOnGroup.
1182
- * @format GUID
1183
- */
1184
- serviceId: string | null;
1185
- }
1186
- interface UpdateAddOnGroupResponse {
1187
- /** Updated AddOnGroup */
1188
- addOnGroup?: AddOnGroup;
1189
- }
1190
- interface ListAddOnGroupsByServiceIdRequest {
1191
- /**
1192
- * ID of the service to retrieve AddOnGroups for.
1193
- * @format GUID
1194
- */
1195
- serviceId: string | null;
1196
- /**
1197
- * List of group ids to return. If not provided, all groups are returned.
1198
- * @format GUID
1199
- * @maxSize 3
1200
- */
1201
- groupIds?: string[] | null;
1202
- }
1203
- interface ListAddOnGroupsByServiceIdResponse {
1204
- /**
1205
- * List of group IDs and their linked AddOns.
1206
- * @maxSize 3
1207
- */
1208
- addOnGroupsDetails?: AddOnGroupDetail[];
1209
- }
1210
- interface AddOn extends AddOnAddOnInfoOneOf {
1211
- /** The AddOn description. */
1212
- durationInMinutes?: number;
1213
- /** The AddOn max quantity. */
1214
- maxQuantity?: number;
1215
- /**
1216
- * The AddOn ID.
1217
- * @format GUID
1218
- */
1219
- addOnId?: string | null;
1220
- /**
1221
- * The AddOn name.
1222
- * @maxLength 100
1223
- */
1224
- name?: string | null;
1225
- /** The AddOn price. */
1226
- price?: Money;
1227
- }
1228
- /** @oneof */
1229
- interface AddOnAddOnInfoOneOf {
1230
- /** The AddOn description. */
1231
- durationInMinutes?: number;
1232
- /** The AddOn max quantity. */
1233
- maxQuantity?: number;
1234
- }
1235
- interface AddOnGroupDetail {
1236
- /**
1237
- * The group ID.
1238
- * @format GUID
1239
- */
1240
- groupId?: string | null;
1241
- /** The group max number of AddOns. */
1242
- maxNumberOfAddOns?: number | null;
1243
- /**
1244
- * The group name.
1245
- * @maxLength 100
1246
- */
1247
- groupName?: string | null;
1248
- /**
1249
- * The AddOns information linked to the group.
1250
- * @maxSize 7
1251
- */
1252
- addOns?: AddOn[];
1253
- /**
1254
- * The group prompt.
1255
- * @maxLength 200
1256
- */
1257
- prompt?: string | null;
1258
- }
1259
- interface SetAddOnsForGroupRequest {
1260
- /**
1261
- * The service ID to set AddOns for.
1262
- * @format GUID
1263
- */
1264
- serviceId: string | null;
1265
- /**
1266
- * The group ID to set AddOns for.
1267
- * @format GUID
1268
- */
1269
- groupId: string | null;
1270
- /**
1271
- * The IDs of AddOns to set.
1272
- * @format GUID
1273
- * @minSize 1
1274
- * @maxSize 7
1275
- */
1276
- addOnIds: string[] | null;
1277
- }
1278
- interface SetAddOnsForGroupResponse {
1279
- /** The updated AddOnGroup. */
1280
- addOnGroup?: AddOnGroup;
1281
- }
1282
1150
  interface CreateServiceRequest {
1283
1151
  /** Service to create. */
1284
1152
  service: Service;
@@ -2557,6 +2425,138 @@ declare enum CloneErrors {
2557
2425
  }
2558
2426
  /** @enumType */
2559
2427
  type CloneErrorsWithLiterals = CloneErrors | 'OPTIONS_AND_VARIANTS' | 'FORM';
2428
+ interface CreateAddOnGroupRequest {
2429
+ /** AddOnGroup to create. */
2430
+ addOnGroup: AddOnGroup;
2431
+ /**
2432
+ * ID of the service to create the AddOnGroup for.
2433
+ * @format GUID
2434
+ */
2435
+ serviceId?: string | null;
2436
+ }
2437
+ interface CreateAddOnGroupResponse {
2438
+ /** Created AddOnGroup. */
2439
+ addOnGroup?: AddOnGroup;
2440
+ }
2441
+ interface DeleteAddOnGroupRequest {
2442
+ /**
2443
+ * ID of the AddOnGroup to delete.
2444
+ * @format GUID
2445
+ */
2446
+ addOnGroupId: string | null;
2447
+ /**
2448
+ * ID of the service from which to delete the AddOnGroup.
2449
+ * @format GUID
2450
+ */
2451
+ serviceId: string | null;
2452
+ }
2453
+ interface DeleteAddOnGroupResponse {
2454
+ }
2455
+ interface UpdateAddOnGroupRequest {
2456
+ /** AddOnGroup to update. */
2457
+ addOnGroup: AddOnGroup;
2458
+ /**
2459
+ * ID of the service that contains the AddOnGroup.
2460
+ * @format GUID
2461
+ */
2462
+ serviceId: string | null;
2463
+ }
2464
+ interface UpdateAddOnGroupResponse {
2465
+ /** Updated AddOnGroup */
2466
+ addOnGroup?: AddOnGroup;
2467
+ }
2468
+ interface ListAddOnGroupsByServiceIdRequest {
2469
+ /**
2470
+ * ID of the service to retrieve AddOnGroups for.
2471
+ * @format GUID
2472
+ */
2473
+ serviceId: string | null;
2474
+ /**
2475
+ * List of group ids to return. If not provided, all groups are returned.
2476
+ * @format GUID
2477
+ * @maxSize 3
2478
+ */
2479
+ groupIds?: string[] | null;
2480
+ }
2481
+ interface ListAddOnGroupsByServiceIdResponse {
2482
+ /**
2483
+ * List of group IDs and their linked AddOns.
2484
+ * @maxSize 3
2485
+ */
2486
+ addOnGroupsDetails?: AddOnGroupDetail[];
2487
+ }
2488
+ interface AddOn extends AddOnAddOnInfoOneOf {
2489
+ /** The AddOn description. */
2490
+ durationInMinutes?: number;
2491
+ /** The AddOn max quantity. */
2492
+ maxQuantity?: number;
2493
+ /**
2494
+ * The AddOn ID.
2495
+ * @format GUID
2496
+ */
2497
+ addOnId?: string | null;
2498
+ /**
2499
+ * The AddOn name.
2500
+ * @maxLength 100
2501
+ */
2502
+ name?: string | null;
2503
+ /** The AddOn price. */
2504
+ price?: Money;
2505
+ }
2506
+ /** @oneof */
2507
+ interface AddOnAddOnInfoOneOf {
2508
+ /** The AddOn description. */
2509
+ durationInMinutes?: number;
2510
+ /** The AddOn max quantity. */
2511
+ maxQuantity?: number;
2512
+ }
2513
+ interface AddOnGroupDetail {
2514
+ /**
2515
+ * The group ID.
2516
+ * @format GUID
2517
+ */
2518
+ groupId?: string | null;
2519
+ /** The group max number of AddOns. */
2520
+ maxNumberOfAddOns?: number | null;
2521
+ /**
2522
+ * The group name.
2523
+ * @maxLength 100
2524
+ */
2525
+ groupName?: string | null;
2526
+ /**
2527
+ * The AddOns information linked to the group.
2528
+ * @maxSize 7
2529
+ */
2530
+ addOns?: AddOn[];
2531
+ /**
2532
+ * The group prompt.
2533
+ * @maxLength 200
2534
+ */
2535
+ prompt?: string | null;
2536
+ }
2537
+ interface SetAddOnsForGroupRequest {
2538
+ /**
2539
+ * The service ID to set AddOns for.
2540
+ * @format GUID
2541
+ */
2542
+ serviceId: string | null;
2543
+ /**
2544
+ * The group ID to set AddOns for.
2545
+ * @format GUID
2546
+ */
2547
+ groupId: string | null;
2548
+ /**
2549
+ * The IDs of AddOns to set.
2550
+ * @format GUID
2551
+ * @minSize 1
2552
+ * @maxSize 7
2553
+ */
2554
+ addOnIds: string[] | null;
2555
+ }
2556
+ interface SetAddOnsForGroupResponse {
2557
+ /** The updated AddOnGroup. */
2558
+ addOnGroup?: AddOnGroup;
2559
+ }
2560
2560
 
2561
2561
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2562
2562
  getUrl: (context: any) => string;
@@ -2568,11 +2568,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
2568
2568
  __responseType: Q;
2569
2569
  __originalResponseType: R;
2570
2570
  };
2571
- declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
2572
- declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
2573
- declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
2574
- declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
2575
- declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
2576
2571
  declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
2577
2572
  declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
2578
2573
  declare function getService(): __PublicMethodMetaInfo<'GET', {
@@ -2609,5 +2604,10 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
2609
2604
  }, SetCustomSlugRequest$1, SetCustomSlugRequest, SetCustomSlugResponse$1, SetCustomSlugResponse>;
2610
2605
  declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
2611
2606
  declare function cloneService(): __PublicMethodMetaInfo<'POST', {}, CloneServiceRequest$1, CloneServiceRequest, CloneServiceResponse$1, CloneServiceResponse>;
2607
+ declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
2608
+ declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
2609
+ declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
2610
+ declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
2611
+ declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
2612
2612
 
2613
2613
  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 };