@wix/auto_sdk_bookings_services 1.0.136 → 1.0.137
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.
- package/build/cjs/{bookings-services-v2-service-services.universal-C5HZaI8N.d.ts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.ts} +80 -58
- package/build/cjs/index.d.ts +43 -21
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +34 -34
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-C5HZaI8N.d.mts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.mts} +80 -58
- package/build/es/index.d.mts +43 -21
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +34 -34
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-C5HZaI8N.d.ts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.ts} +80 -58
- package/build/internal/cjs/index.d.ts +43 -21
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +34 -34
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-C5HZaI8N.d.mts → bookings-services-v2-service-services.universal-DtIQ1DXH.d.mts} +80 -58
- package/build/internal/es/index.d.mts +43 -21
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +34 -34
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
package/build/cjs/meta.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bP as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bQ as DeleteAddOnGroupRequest$1, bR as DeleteAddOnGroupResponse$1, bS as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bT as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bX as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bY as CreateServiceRequest$1, bZ as CreateServiceResponse$1, c1 as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, c6 as GetServiceRequest$1, c7 as GetServiceResponse$1, cc as UpdateServiceRequest$1, cd as UpdateServiceResponse$1, ce as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, cg as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, ch as DeleteServiceRequest$1, cj as DeleteServiceResponse$1, ck as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, cl as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cm as QueryServicesRequest$1, cs as QueryServicesResponse$1, cv as SearchServicesRequest$1, x as SearchServicesResponse$1, d7 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, da as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, de as CountServicesRequest$1, H as CountServicesResponse$1, df as QueryLocationsRequest$1, J as QueryLocationsResponse$1, dk as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, dp as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, dt as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dv as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dw as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dx as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dy as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-
|
|
1
|
+
import { bP as CreateAddOnGroupRequest$1, a as CreateAddOnGroupResponse$1, bQ as DeleteAddOnGroupRequest$1, bR as DeleteAddOnGroupResponse$1, bS as UpdateAddOnGroupRequest$1, c as UpdateAddOnGroupResponse$1, bT as ListAddOnGroupsByServiceIdRequest$1, e as ListAddOnGroupsByServiceIdResponse$1, bX as SetAddOnsForGroupRequest$1, f as SetAddOnsForGroupResponse$1, bY as CreateServiceRequest$1, bZ as CreateServiceResponse$1, c1 as BulkCreateServicesRequest$1, j as BulkCreateServicesResponse$1, c6 as GetServiceRequest$1, c7 as GetServiceResponse$1, cc as UpdateServiceRequest$1, cd as UpdateServiceResponse$1, ce as BulkUpdateServicesRequest$1, n as BulkUpdateServicesResponse$1, cg as BulkUpdateServicesByFilterRequest$1, p as BulkUpdateServicesByFilterResponse$1, ch as DeleteServiceRequest$1, cj as DeleteServiceResponse$1, ck as BulkDeleteServicesRequest$1, s as BulkDeleteServicesResponse$1, cl as BulkDeleteServicesByFilterRequest$1, u as BulkDeleteServicesByFilterResponse$1, cm as QueryServicesRequest$1, cs as QueryServicesResponse$1, cv as SearchServicesRequest$1, x as SearchServicesResponse$1, d7 as QueryPoliciesRequest$1, Q as QueryPoliciesResponse$1, da as QueryBookingFormsRequest$1, E as QueryBookingFormsResponse$1, de as CountServicesRequest$1, H as CountServicesResponse$1, df as QueryLocationsRequest$1, J as QueryLocationsResponse$1, dk as QueryCategoriesRequest$1, M as QueryCategoriesResponse$1, dp as SetServiceLocationsRequest$1, P as SetServiceLocationsResponse$1, dt as EnablePricingPlansForServiceRequest$1, R as EnablePricingPlansForServiceResponse$1, dv as DisablePricingPlansForServiceRequest$1, W as DisablePricingPlansForServiceResponse$1, dw as SetCustomSlugRequest$1, Z as SetCustomSlugResponse$1, dx as ValidateSlugRequest$1, a1 as ValidateSlugResponse$1, dy as CloneServiceRequest$1, a2 as CloneServiceResponse$1 } from './bookings-services-v2-service-services.universal-DtIQ1DXH.js';
|
|
2
2
|
import '@wix/sdk-types';
|
|
3
3
|
|
|
4
4
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
@@ -1274,29 +1274,29 @@ interface Settings {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
interface AddOnGroup {
|
|
1276
1276
|
/**
|
|
1277
|
-
*
|
|
1277
|
+
* Add-on group ID.
|
|
1278
1278
|
* @readonly
|
|
1279
1279
|
* @format GUID
|
|
1280
1280
|
*/
|
|
1281
1281
|
id?: string | null;
|
|
1282
1282
|
/**
|
|
1283
|
-
*
|
|
1283
|
+
* Group name displayed to customers.
|
|
1284
1284
|
* @maxLength 100
|
|
1285
1285
|
*/
|
|
1286
1286
|
name?: string | null;
|
|
1287
1287
|
/**
|
|
1288
|
-
*
|
|
1289
|
-
* If not set,
|
|
1288
|
+
* Maximum number of add-ons customers can select from this group.
|
|
1289
|
+
* If not set, customers can select unlimited add-ons from the group.
|
|
1290
1290
|
*/
|
|
1291
1291
|
maxNumberOfAddOns?: number | null;
|
|
1292
1292
|
/**
|
|
1293
|
-
* List of
|
|
1293
|
+
* List of add-on IDs in this group, ordered by display sequence.
|
|
1294
1294
|
* @format GUID
|
|
1295
1295
|
* @maxSize 7
|
|
1296
1296
|
*/
|
|
1297
1297
|
addOnIds?: string[] | null;
|
|
1298
1298
|
/**
|
|
1299
|
-
*
|
|
1299
|
+
* Instructional prompt displayed to customers for this group.
|
|
1300
1300
|
* @maxLength 200
|
|
1301
1301
|
*/
|
|
1302
1302
|
prompt?: string | null;
|
|
@@ -1497,26 +1497,26 @@ declare enum WebhookIdentityType {
|
|
|
1497
1497
|
/** @enumType */
|
|
1498
1498
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1499
1499
|
interface CreateAddOnGroupRequest {
|
|
1500
|
-
/**
|
|
1500
|
+
/** Add-on group to create. */
|
|
1501
1501
|
addOnGroup: AddOnGroup;
|
|
1502
1502
|
/**
|
|
1503
|
-
* ID of the service to create the
|
|
1503
|
+
* ID of the service to create the add-on group for.
|
|
1504
1504
|
* @format GUID
|
|
1505
1505
|
*/
|
|
1506
1506
|
serviceId?: string | null;
|
|
1507
1507
|
}
|
|
1508
1508
|
interface CreateAddOnGroupResponse {
|
|
1509
|
-
/** Created
|
|
1509
|
+
/** Created add-on group. */
|
|
1510
1510
|
addOnGroup?: AddOnGroup;
|
|
1511
1511
|
}
|
|
1512
1512
|
interface DeleteAddOnGroupRequest {
|
|
1513
1513
|
/**
|
|
1514
|
-
* ID of the
|
|
1514
|
+
* ID of the add-on group to delete.
|
|
1515
1515
|
* @format GUID
|
|
1516
1516
|
*/
|
|
1517
1517
|
addOnGroupId: string | null;
|
|
1518
1518
|
/**
|
|
1519
|
-
* ID of the service from which to delete the
|
|
1519
|
+
* ID of the service from which to delete the add-on group.
|
|
1520
1520
|
* @format GUID
|
|
1521
1521
|
*/
|
|
1522
1522
|
serviceId: string | null;
|
|
@@ -1524,26 +1524,26 @@ interface DeleteAddOnGroupRequest {
|
|
|
1524
1524
|
interface DeleteAddOnGroupResponse {
|
|
1525
1525
|
}
|
|
1526
1526
|
interface UpdateAddOnGroupRequest {
|
|
1527
|
-
/**
|
|
1527
|
+
/** Add-on group to update. */
|
|
1528
1528
|
addOnGroup: AddOnGroup;
|
|
1529
1529
|
/**
|
|
1530
|
-
* ID of the service that contains the
|
|
1530
|
+
* ID of the service that contains the add-on group.
|
|
1531
1531
|
* @format GUID
|
|
1532
1532
|
*/
|
|
1533
1533
|
serviceId: string | null;
|
|
1534
1534
|
}
|
|
1535
1535
|
interface UpdateAddOnGroupResponse {
|
|
1536
|
-
/** Updated
|
|
1536
|
+
/** Updated add-on group. */
|
|
1537
1537
|
addOnGroup?: AddOnGroup;
|
|
1538
1538
|
}
|
|
1539
1539
|
interface ListAddOnGroupsByServiceIdRequest {
|
|
1540
1540
|
/**
|
|
1541
|
-
* ID of the service to retrieve
|
|
1541
|
+
* ID of the service to retrieve add-on groups for.
|
|
1542
1542
|
* @format GUID
|
|
1543
1543
|
*/
|
|
1544
1544
|
serviceId: string | null;
|
|
1545
1545
|
/**
|
|
1546
|
-
* List of group
|
|
1546
|
+
* List of group IDs to return. By default, all groups are returned.
|
|
1547
1547
|
* @format GUID
|
|
1548
1548
|
* @maxSize 3
|
|
1549
1549
|
*/
|
|
@@ -1551,73 +1551,73 @@ interface ListAddOnGroupsByServiceIdRequest {
|
|
|
1551
1551
|
}
|
|
1552
1552
|
interface ListAddOnGroupsByServiceIdResponse {
|
|
1553
1553
|
/**
|
|
1554
|
-
* List of group
|
|
1554
|
+
* List of group details with their linked add-ons.
|
|
1555
1555
|
* @maxSize 3
|
|
1556
1556
|
*/
|
|
1557
1557
|
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1558
1558
|
}
|
|
1559
1559
|
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1560
|
-
/**
|
|
1560
|
+
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
1561
1561
|
durationInMinutes?: number;
|
|
1562
|
-
/**
|
|
1562
|
+
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
1563
1563
|
maxQuantity?: number;
|
|
1564
1564
|
/**
|
|
1565
|
-
*
|
|
1565
|
+
* Add-on ID.
|
|
1566
1566
|
* @format GUID
|
|
1567
1567
|
*/
|
|
1568
1568
|
addOnId?: string | null;
|
|
1569
1569
|
/**
|
|
1570
|
-
*
|
|
1570
|
+
* Add-on name displayed to customers.
|
|
1571
1571
|
* @maxLength 100
|
|
1572
1572
|
*/
|
|
1573
1573
|
name?: string | null;
|
|
1574
|
-
/**
|
|
1574
|
+
/** Add-on price. */
|
|
1575
1575
|
price?: Money;
|
|
1576
1576
|
}
|
|
1577
1577
|
/** @oneof */
|
|
1578
1578
|
interface AddOnAddOnInfoOneOf {
|
|
1579
|
-
/**
|
|
1579
|
+
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
1580
1580
|
durationInMinutes?: number;
|
|
1581
|
-
/**
|
|
1581
|
+
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
1582
1582
|
maxQuantity?: number;
|
|
1583
1583
|
}
|
|
1584
1584
|
interface AddOnGroupDetail {
|
|
1585
1585
|
/**
|
|
1586
|
-
*
|
|
1586
|
+
* Group ID.
|
|
1587
1587
|
* @format GUID
|
|
1588
1588
|
*/
|
|
1589
1589
|
groupId?: string | null;
|
|
1590
|
-
/**
|
|
1590
|
+
/** Maximum number of add-ons customers can select from this group. */
|
|
1591
1591
|
maxNumberOfAddOns?: number | null;
|
|
1592
1592
|
/**
|
|
1593
|
-
*
|
|
1593
|
+
* Group name displayed to customers.
|
|
1594
1594
|
* @maxLength 100
|
|
1595
1595
|
*/
|
|
1596
1596
|
groupName?: string | null;
|
|
1597
1597
|
/**
|
|
1598
|
-
*
|
|
1598
|
+
* Add-ons linked to this group in display order.
|
|
1599
1599
|
* @maxSize 7
|
|
1600
1600
|
*/
|
|
1601
1601
|
addOns?: AddOn[];
|
|
1602
1602
|
/**
|
|
1603
|
-
*
|
|
1603
|
+
* Instructional prompt displayed to customers. For example, `Choose up to 2 relaxing spa treatments to enhance your experience`. You can also use this field as a group description. For example, `Beginner-friendly rental equipment`.
|
|
1604
1604
|
* @maxLength 200
|
|
1605
1605
|
*/
|
|
1606
1606
|
prompt?: string | null;
|
|
1607
1607
|
}
|
|
1608
1608
|
interface SetAddOnsForGroupRequest {
|
|
1609
1609
|
/**
|
|
1610
|
-
*
|
|
1610
|
+
* Service ID containing the group.
|
|
1611
1611
|
* @format GUID
|
|
1612
1612
|
*/
|
|
1613
1613
|
serviceId: string | null;
|
|
1614
1614
|
/**
|
|
1615
|
-
*
|
|
1615
|
+
* Group ID to set add-ons for.
|
|
1616
1616
|
* @format GUID
|
|
1617
1617
|
*/
|
|
1618
1618
|
groupId: string | null;
|
|
1619
1619
|
/**
|
|
1620
|
-
*
|
|
1620
|
+
* IDs of add-ons to set for the group in display order.
|
|
1621
1621
|
* @format GUID
|
|
1622
1622
|
* @minSize 1
|
|
1623
1623
|
* @maxSize 7
|
|
@@ -1625,7 +1625,7 @@ interface SetAddOnsForGroupRequest {
|
|
|
1625
1625
|
addOnIds: string[] | null;
|
|
1626
1626
|
}
|
|
1627
1627
|
interface SetAddOnsForGroupResponse {
|
|
1628
|
-
/**
|
|
1628
|
+
/** Updated add-on group. */
|
|
1629
1629
|
addOnGroup?: AddOnGroup;
|
|
1630
1630
|
}
|
|
1631
1631
|
interface CreateServiceRequest {
|