@wix/auto_sdk_bookings_services 1.0.124 → 1.0.126

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-ITYqFvzY.d.ts → bookings-services-v2-service-services.universal-B6t2dBMg.d.ts} +298 -282
  2. package/build/cjs/index.d.ts +72 -72
  3. package/build/cjs/index.js +343 -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 +253 -245
  7. package/build/cjs/index.typings.js.map +1 -1
  8. package/build/cjs/meta.d.ts +152 -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-ITYqFvzY.d.mts → bookings-services-v2-service-services.universal-B6t2dBMg.d.mts} +298 -282
  12. package/build/es/index.d.mts +72 -72
  13. package/build/es/index.mjs +342 -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 +252 -245
  17. package/build/es/index.typings.mjs.map +1 -1
  18. package/build/es/meta.d.mts +152 -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-ITYqFvzY.d.ts → bookings-services-v2-service-services.universal-B6t2dBMg.d.ts} +298 -282
  22. package/build/internal/cjs/index.d.ts +72 -72
  23. package/build/internal/cjs/index.js +343 -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 +253 -245
  27. package/build/internal/cjs/index.typings.js.map +1 -1
  28. package/build/internal/cjs/meta.d.ts +152 -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-ITYqFvzY.d.mts → bookings-services-v2-service-services.universal-B6t2dBMg.d.mts} +298 -282
  32. package/build/internal/es/index.d.mts +72 -72
  33. package/build/internal/es/index.mjs +342 -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 +252 -245
  37. package/build/internal/es/index.typings.mjs.map +1 -1
  38. package/build/internal/es/meta.d.mts +152 -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 { bM as CreateServiceRequest$1, bN as CreateServiceResponse$1, bR as BulkCreateServicesRequest$1, a as BulkCreateServicesResponse$1, bW as GetServiceRequest$1, bX as GetServiceResponse$1, c0 as UpdateServiceRequest$1, c1 as UpdateServiceResponse$1, c2 as BulkUpdateServicesRequest$1, d as BulkUpdateServicesResponse$1, c4 as BulkUpdateServicesByFilterRequest$1, f as BulkUpdateServicesByFilterResponse$1, c5 as DeleteServiceRequest$1, c7 as DeleteServiceResponse$1, c8 as BulkDeleteServicesRequest$1, h as BulkDeleteServicesResponse$1, c9 as BulkDeleteServicesByFilterRequest$1, j as BulkDeleteServicesByFilterResponse$1, ca as QueryServicesRequest$1, cg as QueryServicesResponse$1, cj as SearchServicesRequest$1, m as SearchServicesResponse$1, cX as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, c_ as QueryBookingFormsRequest$1, p as QueryBookingFormsResponse$1, d2 as CountServicesRequest$1, s as CountServicesResponse$1, d3 as QueryLocationsRequest$1, u as QueryLocationsResponse$1, d8 as QueryCategoriesRequest$1, w as QueryCategoriesResponse$1, dc as SetServiceLocationsRequest$1, y as SetServiceLocationsResponse$1, dg as EnablePricingPlansForServiceRequest$1, E as EnablePricingPlansForServiceResponse$1, di as DisablePricingPlansForServiceRequest$1, F as DisablePricingPlansForServiceResponse$1, dj as SetCustomSlugRequest$1, I as SetCustomSlugResponse$1, dk as ValidateSlugRequest$1, M as ValidateSlugResponse$1, dl as CloneServiceRequest$1, N as CloneServiceResponse$1, dU as CreateAddOnGroupRequest$1, R as CreateAddOnGroupResponse$1, dV as DeleteAddOnGroupRequest$1, dW as DeleteAddOnGroupResponse$1, dX as UpdateAddOnGroupRequest$1, Y as UpdateAddOnGroupResponse$1, dY as ListAddOnGroupsByServiceIdRequest$1, $ as ListAddOnGroupsByServiceIdResponse$1, e0 as SetAddOnsForGroupRequest$1, a1 as SetAddOnsForGroupResponse$1 } from './bookings-services-v2-service-services.universal-ITYqFvzY.js';
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-B6t2dBMg.js';
2
2
  import '@wix/sdk-types';
3
3
 
4
4
  /** The `service` object represents an offering that a business provides to its customers. */
@@ -138,6 +138,8 @@ interface Service {
138
138
  * @readonly
139
139
  */
140
140
  revision?: string | null;
141
+ /** Taxable address used to calculate tax */
142
+ taxableAddress?: TaxableAddress;
141
143
  }
142
144
  declare enum ServiceType {
143
145
  /** Appointment-based service. */
@@ -1133,6 +1135,150 @@ interface AddOnGroup {
1133
1135
  */
1134
1136
  prompt?: string | null;
1135
1137
  }
1138
+ /** `TaxableAddress` defines the taxable address used for the service. */
1139
+ interface TaxableAddress {
1140
+ /** Taxable address type. */
1141
+ taxableAddressType?: TaxableAddressTypeWithLiterals;
1142
+ }
1143
+ declare enum TaxableAddressType {
1144
+ UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
1145
+ BUSINESS = "BUSINESS",
1146
+ BILLING = "BILLING"
1147
+ }
1148
+ /** @enumType */
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
+ }
1136
1282
  interface CreateServiceRequest {
1137
1283
  /** Service to create. */
1138
1284
  service: Service;
@@ -2411,138 +2557,6 @@ declare enum CloneErrors {
2411
2557
  }
2412
2558
  /** @enumType */
2413
2559
  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
2560
 
2547
2561
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
2548
2562
  getUrl: (context: any) => string;
@@ -2554,6 +2568,11 @@ type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q
2554
2568
  __responseType: Q;
2555
2569
  __originalResponseType: R;
2556
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>;
2557
2576
  declare function createService(): __PublicMethodMetaInfo<'POST', {}, CreateServiceRequest$1, CreateServiceRequest, CreateServiceResponse$1, CreateServiceResponse>;
2558
2577
  declare function bulkCreateServices(): __PublicMethodMetaInfo<'POST', {}, BulkCreateServicesRequest$1, BulkCreateServicesRequest, BulkCreateServicesResponse$1, BulkCreateServicesResponse>;
2559
2578
  declare function getService(): __PublicMethodMetaInfo<'GET', {
@@ -2590,10 +2609,5 @@ declare function setCustomSlug(): __PublicMethodMetaInfo<'POST', {
2590
2609
  }, SetCustomSlugRequest$1, SetCustomSlugRequest, SetCustomSlugResponse$1, SetCustomSlugResponse>;
2591
2610
  declare function validateSlug(): __PublicMethodMetaInfo<'POST', {}, ValidateSlugRequest$1, ValidateSlugRequest, ValidateSlugResponse$1, ValidateSlugResponse>;
2592
2611
  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
2612
 
2599
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 };