@wix/auto_sdk_bookings_services 1.0.115 → 1.0.117

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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-D4XsOFkA.d.ts} +409 -382
  2. package/build/cjs/index.d.ts +68 -61
  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 +148 -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-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-D4XsOFkA.d.mts} +409 -382
  12. package/build/es/index.d.mts +68 -61
  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 +148 -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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-D4XsOFkA.d.ts} +409 -382
  22. package/build/internal/cjs/index.d.ts +68 -61
  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 +148 -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-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-D4XsOFkA.d.mts} +409 -382
  32. package/build/internal/es/index.d.mts +68 -61
  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 +148 -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 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.mjs';
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-D4XsOFkA.mjs';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -9,6 +9,16 @@ interface Service {
9
9
  * @readonly
10
10
  */
11
11
  id?: string | null;
12
+ /**
13
+ * ID of the app associated with the service. You can't update `appId`.
14
+ *
15
+ * Services belonging to [Wix Services](https://support.wix.com/en/article/about-wix-services) have `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` or any other app are not displayed in Wix Bookings.
16
+ *
17
+ * Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
18
+ * @format GUID
19
+ * @immutable
20
+ */
21
+ appId?: string | null;
12
22
  /**
13
23
  * Service type.
14
24
  * Learn more about *service types*
@@ -1133,138 +1143,6 @@ interface AddOnGroup {
1133
1143
  */
1134
1144
  prompt?: string | null;
1135
1145
  }
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
1146
  interface CreateServiceRequest {
1269
1147
  /** Service to create. */
1270
1148
  service: Service;
@@ -2543,6 +2421,138 @@ declare enum CloneErrors {
2543
2421
  }
2544
2422
  /** @enumType */
2545
2423
  type CloneErrorsWithLiterals = CloneErrors | 'OPTIONS_AND_VARIANTS' | 'FORM';
2424
+ interface CreateAddOnGroupRequest {
2425
+ /** AddOnGroup to create. */
2426
+ addOnGroup: AddOnGroup;
2427
+ /**
2428
+ * ID of the service to create the AddOnGroup for.
2429
+ * @format GUID
2430
+ */
2431
+ serviceId?: string | null;
2432
+ }
2433
+ interface CreateAddOnGroupResponse {
2434
+ /** Created AddOnGroup. */
2435
+ addOnGroup?: AddOnGroup;
2436
+ }
2437
+ interface DeleteAddOnGroupRequest {
2438
+ /**
2439
+ * ID of the AddOnGroup to delete.
2440
+ * @format GUID
2441
+ */
2442
+ addOnGroupId: string | null;
2443
+ /**
2444
+ * ID of the service from which to delete the AddOnGroup.
2445
+ * @format GUID
2446
+ */
2447
+ serviceId: string | null;
2448
+ }
2449
+ interface DeleteAddOnGroupResponse {
2450
+ }
2451
+ interface UpdateAddOnGroupRequest {
2452
+ /** AddOnGroup to update. */
2453
+ addOnGroup: AddOnGroup;
2454
+ /**
2455
+ * ID of the service that contains the AddOnGroup.
2456
+ * @format GUID
2457
+ */
2458
+ serviceId: string | null;
2459
+ }
2460
+ interface UpdateAddOnGroupResponse {
2461
+ /** Updated AddOnGroup */
2462
+ addOnGroup?: AddOnGroup;
2463
+ }
2464
+ interface ListAddOnGroupsByServiceIdRequest {
2465
+ /**
2466
+ * ID of the service to retrieve AddOnGroups for.
2467
+ * @format GUID
2468
+ */
2469
+ serviceId: string | null;
2470
+ /**
2471
+ * List of group ids to return. If not provided, all groups are returned.
2472
+ * @format GUID
2473
+ * @maxSize 3
2474
+ */
2475
+ groupIds?: string[] | null;
2476
+ }
2477
+ interface ListAddOnGroupsByServiceIdResponse {
2478
+ /**
2479
+ * List of group IDs and their linked AddOns.
2480
+ * @maxSize 3
2481
+ */
2482
+ addOnGroupsDetails?: AddOnGroupDetail[];
2483
+ }
2484
+ interface AddOn extends AddOnAddOnInfoOneOf {
2485
+ /** The AddOn description. */
2486
+ durationInMinutes?: number;
2487
+ /** The AddOn max quantity. */
2488
+ maxQuantity?: number;
2489
+ /**
2490
+ * The AddOn ID.
2491
+ * @format GUID
2492
+ */
2493
+ addOnId?: string | null;
2494
+ /**
2495
+ * The AddOn name.
2496
+ * @maxLength 100
2497
+ */
2498
+ name?: string | null;
2499
+ /** The AddOn price. */
2500
+ price?: Money;
2501
+ }
2502
+ /** @oneof */
2503
+ interface AddOnAddOnInfoOneOf {
2504
+ /** The AddOn description. */
2505
+ durationInMinutes?: number;
2506
+ /** The AddOn max quantity. */
2507
+ maxQuantity?: number;
2508
+ }
2509
+ interface AddOnGroupDetail {
2510
+ /**
2511
+ * The group ID.
2512
+ * @format GUID
2513
+ */
2514
+ groupId?: string | null;
2515
+ /** The group max number of AddOns. */
2516
+ maxNumberOfAddOns?: number | null;
2517
+ /**
2518
+ * The group name.
2519
+ * @maxLength 100
2520
+ */
2521
+ groupName?: string | null;
2522
+ /**
2523
+ * The AddOns information linked to the group.
2524
+ * @maxSize 7
2525
+ */
2526
+ addOns?: AddOn[];
2527
+ /**
2528
+ * The group prompt.
2529
+ * @maxLength 200
2530
+ */
2531
+ prompt?: string | null;
2532
+ }
2533
+ interface SetAddOnsForGroupRequest {
2534
+ /**
2535
+ * The service ID to set AddOns for.
2536
+ * @format GUID
2537
+ */
2538
+ serviceId: string | null;
2539
+ /**
2540
+ * The group ID to set AddOns for.
2541
+ * @format GUID
2542
+ */
2543
+ groupId: string | null;
2544
+ /**
2545
+ * The IDs of AddOns to set.
2546
+ * @format GUID
2547
+ * @minSize 1
2548
+ * @maxSize 7
2549
+ */
2550
+ addOnIds: string[] | null;
2551
+ }
2552
+ interface SetAddOnsForGroupResponse {
2553
+ /** The updated AddOnGroup. */
2554
+ addOnGroup?: AddOnGroup;
2555
+ }
2546
2556
 
2547
2557
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2548
2558
  getUrl: (context: any) => string;
@@ -2554,11 +2564,6 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
2554
2564
  __responseType: Q;
2555
2565
  __originalResponseType: R;
2556
2566
  };
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
2567
  declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
2563
2568
  declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
2564
2569
  declare function getService(): __PublicMethodMetaInfo<'GET', {
@@ -2595,5 +2600,10 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
2595
2600
  }, SetCustomSlugRequest$1, SetCustomSlugRequest, SetCustomSlugResponse$1, SetCustomSlugResponse>;
2596
2601
  declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
2597
2602
  declare function cloneService(): __PublicMethodMetaInfo<'POST', {}, CloneServiceRequest$1, CloneServiceRequest, CloneServiceResponse$1, CloneServiceResponse>;
2603
+ declare function createAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, CreateAddOnGroupRequest$1, CreateAddOnGroupRequest, CreateAddOnGroupResponse$1, CreateAddOnGroupResponse>;
2604
+ declare function deleteAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, DeleteAddOnGroupRequest$1, DeleteAddOnGroupRequest, DeleteAddOnGroupResponse$1, DeleteAddOnGroupResponse>;
2605
+ declare function updateAddOnGroup(): __PublicMethodMetaInfo<'POST', {}, UpdateAddOnGroupRequest$1, UpdateAddOnGroupRequest, UpdateAddOnGroupResponse$1, UpdateAddOnGroupResponse>;
2606
+ declare function listAddOnGroupsByServiceId(): __PublicMethodMetaInfo<'POST', {}, ListAddOnGroupsByServiceIdRequest$1, ListAddOnGroupsByServiceIdRequest, ListAddOnGroupsByServiceIdResponse$1, ListAddOnGroupsByServiceIdResponse>;
2607
+ declare function setAddOnsForGroup(): __PublicMethodMetaInfo<'POST', {}, SetAddOnsForGroupRequest$1, SetAddOnsForGroupRequest, SetAddOnsForGroupResponse$1, SetAddOnsForGroupResponse>;
2598
2608
 
2599
2609
  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 };