@wix/bookings 1.0.532 → 1.0.533
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.533",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"@wix/bookings_availability-calendar": "1.0.53",
|
|
26
26
|
"@wix/bookings_availability-time-slots": "1.0.44",
|
|
27
27
|
"@wix/bookings_booking-fees": "1.0.11",
|
|
28
|
-
"@wix/bookings_booking-policies": "1.0.
|
|
28
|
+
"@wix/bookings_booking-policies": "1.0.14",
|
|
29
29
|
"@wix/bookings_booking-policy-snapshots": "1.0.7",
|
|
30
30
|
"@wix/bookings_bookings": "1.0.82",
|
|
31
31
|
"@wix/bookings_categories": "1.0.44",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"@wix/bookings_resource-types": "1.0.23",
|
|
37
37
|
"@wix/bookings_resources": "1.0.62",
|
|
38
38
|
"@wix/bookings_service-categories": "1.0.4",
|
|
39
|
-
"@wix/bookings_service-options-and-variants": "1.0.
|
|
40
|
-
"@wix/bookings_services": "1.0.
|
|
41
|
-
"@wix/bookings_staff-members": "1.0.
|
|
39
|
+
"@wix/bookings_service-options-and-variants": "1.0.62",
|
|
40
|
+
"@wix/bookings_services": "1.0.90",
|
|
41
|
+
"@wix/bookings_staff-members": "1.0.24"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"glob": "^10.4.1",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"fqdn": ""
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
|
-
"falconPackageHash": "
|
|
66
|
+
"falconPackageHash": "dce09de0bf4f4ab2eac1c762b6073e785c259b435b8c26887eb9af23"
|
|
67
67
|
}
|
|
@@ -6631,7 +6631,7 @@ interface Properties$2 {
|
|
|
6631
6631
|
businessSchedule?: BusinessSchedule$3;
|
|
6632
6632
|
/** Supported languages of a site and the primary language. */
|
|
6633
6633
|
multilingual?: Multilingual$2;
|
|
6634
|
-
/** Cookie policy the
|
|
6634
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
6635
6635
|
consentPolicy?: ConsentPolicy$2;
|
|
6636
6636
|
/**
|
|
6637
6637
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -6639,9 +6639,9 @@ interface Properties$2 {
|
|
|
6639
6639
|
* Site business type.
|
|
6640
6640
|
*/
|
|
6641
6641
|
businessConfig?: string | null;
|
|
6642
|
-
/** External site
|
|
6642
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
6643
6643
|
externalSiteUrl?: string | null;
|
|
6644
|
-
/** Track clicks analytics */
|
|
6644
|
+
/** Track clicks analytics. */
|
|
6645
6645
|
trackClicksAnalytics?: boolean;
|
|
6646
6646
|
}
|
|
6647
6647
|
interface Categories$2 {
|
|
@@ -6685,8 +6685,7 @@ interface V4Address$1 {
|
|
|
6685
6685
|
/**
|
|
6686
6686
|
* Extra information on displayed addresses.
|
|
6687
6687
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
6688
|
-
* Free text. In addition the user can state where
|
|
6689
|
-
* the address string.
|
|
6688
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
6690
6689
|
*/
|
|
6691
6690
|
interface AddressHint$2 {
|
|
6692
6691
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -13083,11 +13082,11 @@ interface Tag {
|
|
|
13083
13082
|
*/
|
|
13084
13083
|
type?: string;
|
|
13085
13084
|
/**
|
|
13086
|
-
* A `{
|
|
13087
|
-
* For example: `{
|
|
13085
|
+
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
13086
|
+
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
13088
13087
|
*/
|
|
13089
13088
|
props?: Record<string, any> | null;
|
|
13090
|
-
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
13089
|
+
/** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
|
|
13091
13090
|
meta?: Record<string, any> | null;
|
|
13092
13091
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
13093
13092
|
children?: string;
|
|
@@ -15468,7 +15467,7 @@ interface Properties$1 {
|
|
|
15468
15467
|
businessSchedule?: BusinessSchedule$2;
|
|
15469
15468
|
/** Supported languages of a site and the primary language. */
|
|
15470
15469
|
multilingual?: Multilingual$1;
|
|
15471
|
-
/** Cookie policy the
|
|
15470
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
15472
15471
|
consentPolicy?: ConsentPolicy$1;
|
|
15473
15472
|
/**
|
|
15474
15473
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -15476,9 +15475,9 @@ interface Properties$1 {
|
|
|
15476
15475
|
* Site business type.
|
|
15477
15476
|
*/
|
|
15478
15477
|
businessConfig?: string | null;
|
|
15479
|
-
/** External site
|
|
15478
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
15480
15479
|
externalSiteUrl?: string | null;
|
|
15481
|
-
/** Track clicks analytics */
|
|
15480
|
+
/** Track clicks analytics. */
|
|
15482
15481
|
trackClicksAnalytics?: boolean;
|
|
15483
15482
|
}
|
|
15484
15483
|
interface Categories$1 {
|
|
@@ -15522,8 +15521,7 @@ interface V4Address {
|
|
|
15522
15521
|
/**
|
|
15523
15522
|
* Extra information on displayed addresses.
|
|
15524
15523
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
15525
|
-
* Free text. In addition the user can state where
|
|
15526
|
-
* the address string.
|
|
15524
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
15527
15525
|
*/
|
|
15528
15526
|
interface AddressHint$1 {
|
|
15529
15527
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -18839,7 +18837,9 @@ declare enum Namespace {
|
|
|
18839
18837
|
*/
|
|
18840
18838
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
18841
18839
|
/** Codux Headless Sites */
|
|
18842
|
-
CODUX = "CODUX"
|
|
18840
|
+
CODUX = "CODUX",
|
|
18841
|
+
/** Bobb - AI Design Creator. */
|
|
18842
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
18843
18843
|
}
|
|
18844
18844
|
/** Site transferred to another user. */
|
|
18845
18845
|
interface SiteTransferred {
|
|
@@ -20512,7 +20512,7 @@ interface Properties {
|
|
|
20512
20512
|
businessSchedule?: BusinessSchedule;
|
|
20513
20513
|
/** Supported languages of a site and the primary language. */
|
|
20514
20514
|
multilingual?: Multilingual;
|
|
20515
|
-
/** Cookie policy the
|
|
20515
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
20516
20516
|
consentPolicy?: ConsentPolicy;
|
|
20517
20517
|
/**
|
|
20518
20518
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -20520,9 +20520,9 @@ interface Properties {
|
|
|
20520
20520
|
* Site business type.
|
|
20521
20521
|
*/
|
|
20522
20522
|
businessConfig?: string | null;
|
|
20523
|
-
/** External site
|
|
20523
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
20524
20524
|
externalSiteUrl?: string | null;
|
|
20525
|
-
/** Track clicks analytics */
|
|
20525
|
+
/** Track clicks analytics. */
|
|
20526
20526
|
trackClicksAnalytics?: boolean;
|
|
20527
20527
|
}
|
|
20528
20528
|
interface Categories {
|
|
@@ -20566,8 +20566,7 @@ interface Address$2 {
|
|
|
20566
20566
|
/**
|
|
20567
20567
|
* Extra information on displayed addresses.
|
|
20568
20568
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
20569
|
-
* Free text. In addition the user can state where
|
|
20570
|
-
* the address string.
|
|
20569
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
20571
20570
|
*/
|
|
20572
20571
|
interface AddressHint {
|
|
20573
20572
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -20888,15 +20887,15 @@ interface BookingPolicyCreatedEnvelope {
|
|
|
20888
20887
|
entity: BookingPolicy;
|
|
20889
20888
|
metadata: EventMetadata$1;
|
|
20890
20889
|
}
|
|
20891
|
-
interface
|
|
20892
|
-
|
|
20890
|
+
interface BookingPolicyDefaultBookingPolicySetEnvelope {
|
|
20891
|
+
data: DefaultBookingPolicySet;
|
|
20893
20892
|
metadata: EventMetadata$1;
|
|
20894
20893
|
}
|
|
20895
20894
|
interface BookingPolicyDeletedEnvelope {
|
|
20896
20895
|
metadata: EventMetadata$1;
|
|
20897
20896
|
}
|
|
20898
|
-
interface
|
|
20899
|
-
|
|
20897
|
+
interface BookingPolicyUpdatedEnvelope {
|
|
20898
|
+
entity: BookingPolicy;
|
|
20900
20899
|
metadata: EventMetadata$1;
|
|
20901
20900
|
}
|
|
20902
20901
|
interface UpdateBookingPolicy {
|
|
@@ -21146,9 +21145,9 @@ interface CountBookingPoliciesSignature {
|
|
|
21146
21145
|
(options?: CountBookingPoliciesOptions | undefined): Promise<CountBookingPoliciesResponse & CountBookingPoliciesResponseNonNullableFields>;
|
|
21147
21146
|
}
|
|
21148
21147
|
declare const onBookingPolicyCreated$1: EventDefinition<BookingPolicyCreatedEnvelope, "wix.bookings.v1.booking_policy_created">;
|
|
21149
|
-
declare const onBookingPolicyUpdated$1: EventDefinition<BookingPolicyUpdatedEnvelope, "wix.bookings.v1.booking_policy_updated">;
|
|
21150
|
-
declare const onBookingPolicyDeleted$1: EventDefinition<BookingPolicyDeletedEnvelope, "wix.bookings.v1.booking_policy_deleted">;
|
|
21151
21148
|
declare const onBookingPolicyDefaultBookingPolicySet$1: EventDefinition<BookingPolicyDefaultBookingPolicySetEnvelope, "wix.bookings.v1.booking_policy_default_booking_policy_set">;
|
|
21149
|
+
declare const onBookingPolicyDeleted$1: EventDefinition<BookingPolicyDeletedEnvelope, "wix.bookings.v1.booking_policy_deleted">;
|
|
21150
|
+
declare const onBookingPolicyUpdated$1: EventDefinition<BookingPolicyUpdatedEnvelope, "wix.bookings.v1.booking_policy_updated">;
|
|
21152
21151
|
|
|
21153
21152
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
21154
21153
|
|
|
@@ -21167,12 +21166,13 @@ type _publicOnBookingPolicyCreatedType = typeof onBookingPolicyCreated$1;
|
|
|
21167
21166
|
*/
|
|
21168
21167
|
declare const onBookingPolicyCreated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyCreatedType>>;
|
|
21169
21168
|
|
|
21170
|
-
type
|
|
21169
|
+
type _publicOnBookingPolicyDefaultBookingPolicySetType = typeof onBookingPolicyDefaultBookingPolicySet$1;
|
|
21171
21170
|
/**
|
|
21172
|
-
* Triggered when
|
|
21173
|
-
*
|
|
21171
|
+
* Triggered when the site's default policy changes. Then,
|
|
21172
|
+
* [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy/booking-policy-updated)
|
|
21173
|
+
* is also triggered both for the new and the previous default policy.
|
|
21174
21174
|
*/
|
|
21175
|
-
declare const
|
|
21175
|
+
declare const onBookingPolicyDefaultBookingPolicySet: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDefaultBookingPolicySetType>>;
|
|
21176
21176
|
|
|
21177
21177
|
type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
21178
21178
|
/**
|
|
@@ -21180,13 +21180,12 @@ type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
|
21180
21180
|
*/
|
|
21181
21181
|
declare const onBookingPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDeletedType>>;
|
|
21182
21182
|
|
|
21183
|
-
type
|
|
21183
|
+
type _publicOnBookingPolicyUpdatedType = typeof onBookingPolicyUpdated$1;
|
|
21184
21184
|
/**
|
|
21185
|
-
* Triggered when
|
|
21186
|
-
*
|
|
21187
|
-
* is also triggered both for the new and the previous default policy.
|
|
21185
|
+
* Triggered when a booking policy is updated, including when a policy's
|
|
21186
|
+
* `default` attribute changes.
|
|
21188
21187
|
*/
|
|
21189
|
-
declare const
|
|
21188
|
+
declare const onBookingPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyUpdatedType>>;
|
|
21190
21189
|
|
|
21191
21190
|
type context$4_AddressHint = AddressHint;
|
|
21192
21191
|
type context$4_BookAfterStartPolicy = BookAfterStartPolicy;
|
|
@@ -6631,7 +6631,7 @@ interface Properties$2 {
|
|
|
6631
6631
|
businessSchedule?: BusinessSchedule$3;
|
|
6632
6632
|
/** Supported languages of a site and the primary language. */
|
|
6633
6633
|
multilingual?: Multilingual$2;
|
|
6634
|
-
/** Cookie policy the
|
|
6634
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
6635
6635
|
consentPolicy?: ConsentPolicy$2;
|
|
6636
6636
|
/**
|
|
6637
6637
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -6639,9 +6639,9 @@ interface Properties$2 {
|
|
|
6639
6639
|
* Site business type.
|
|
6640
6640
|
*/
|
|
6641
6641
|
businessConfig?: string | null;
|
|
6642
|
-
/** External site
|
|
6642
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
6643
6643
|
externalSiteUrl?: string | null;
|
|
6644
|
-
/** Track clicks analytics */
|
|
6644
|
+
/** Track clicks analytics. */
|
|
6645
6645
|
trackClicksAnalytics?: boolean;
|
|
6646
6646
|
}
|
|
6647
6647
|
interface Categories$2 {
|
|
@@ -6685,8 +6685,7 @@ interface V4Address$1 {
|
|
|
6685
6685
|
/**
|
|
6686
6686
|
* Extra information on displayed addresses.
|
|
6687
6687
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
6688
|
-
* Free text. In addition the user can state where
|
|
6689
|
-
* the address string.
|
|
6688
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
6690
6689
|
*/
|
|
6691
6690
|
interface AddressHint$2 {
|
|
6692
6691
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -13083,11 +13082,11 @@ interface Tag {
|
|
|
13083
13082
|
*/
|
|
13084
13083
|
type?: string;
|
|
13085
13084
|
/**
|
|
13086
|
-
* A `{
|
|
13087
|
-
* For example: `{
|
|
13085
|
+
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
13086
|
+
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
13088
13087
|
*/
|
|
13089
13088
|
props?: Record<string, any> | null;
|
|
13090
|
-
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
13089
|
+
/** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
|
|
13091
13090
|
meta?: Record<string, any> | null;
|
|
13092
13091
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
13093
13092
|
children?: string;
|
|
@@ -15468,7 +15467,7 @@ interface Properties$1 {
|
|
|
15468
15467
|
businessSchedule?: BusinessSchedule$2;
|
|
15469
15468
|
/** Supported languages of a site and the primary language. */
|
|
15470
15469
|
multilingual?: Multilingual$1;
|
|
15471
|
-
/** Cookie policy the
|
|
15470
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
15472
15471
|
consentPolicy?: ConsentPolicy$1;
|
|
15473
15472
|
/**
|
|
15474
15473
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -15476,9 +15475,9 @@ interface Properties$1 {
|
|
|
15476
15475
|
* Site business type.
|
|
15477
15476
|
*/
|
|
15478
15477
|
businessConfig?: string | null;
|
|
15479
|
-
/** External site
|
|
15478
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
15480
15479
|
externalSiteUrl?: string | null;
|
|
15481
|
-
/** Track clicks analytics */
|
|
15480
|
+
/** Track clicks analytics. */
|
|
15482
15481
|
trackClicksAnalytics?: boolean;
|
|
15483
15482
|
}
|
|
15484
15483
|
interface Categories$1 {
|
|
@@ -15522,8 +15521,7 @@ interface V4Address {
|
|
|
15522
15521
|
/**
|
|
15523
15522
|
* Extra information on displayed addresses.
|
|
15524
15523
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
15525
|
-
* Free text. In addition the user can state where
|
|
15526
|
-
* the address string.
|
|
15524
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
15527
15525
|
*/
|
|
15528
15526
|
interface AddressHint$1 {
|
|
15529
15527
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -18839,7 +18837,9 @@ declare enum Namespace {
|
|
|
18839
18837
|
*/
|
|
18840
18838
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
18841
18839
|
/** Codux Headless Sites */
|
|
18842
|
-
CODUX = "CODUX"
|
|
18840
|
+
CODUX = "CODUX",
|
|
18841
|
+
/** Bobb - AI Design Creator. */
|
|
18842
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
18843
18843
|
}
|
|
18844
18844
|
/** Site transferred to another user. */
|
|
18845
18845
|
interface SiteTransferred {
|
|
@@ -20512,7 +20512,7 @@ interface Properties {
|
|
|
20512
20512
|
businessSchedule?: BusinessSchedule;
|
|
20513
20513
|
/** Supported languages of a site and the primary language. */
|
|
20514
20514
|
multilingual?: Multilingual;
|
|
20515
|
-
/** Cookie policy the
|
|
20515
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
20516
20516
|
consentPolicy?: ConsentPolicy;
|
|
20517
20517
|
/**
|
|
20518
20518
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -20520,9 +20520,9 @@ interface Properties {
|
|
|
20520
20520
|
* Site business type.
|
|
20521
20521
|
*/
|
|
20522
20522
|
businessConfig?: string | null;
|
|
20523
|
-
/** External site
|
|
20523
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
20524
20524
|
externalSiteUrl?: string | null;
|
|
20525
|
-
/** Track clicks analytics */
|
|
20525
|
+
/** Track clicks analytics. */
|
|
20526
20526
|
trackClicksAnalytics?: boolean;
|
|
20527
20527
|
}
|
|
20528
20528
|
interface Categories {
|
|
@@ -20566,8 +20566,7 @@ interface Address$2 {
|
|
|
20566
20566
|
/**
|
|
20567
20567
|
* Extra information on displayed addresses.
|
|
20568
20568
|
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
20569
|
-
* Free text. In addition the user can state where
|
|
20570
|
-
* the address string.
|
|
20569
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
20571
20570
|
*/
|
|
20572
20571
|
interface AddressHint {
|
|
20573
20572
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -20888,15 +20887,15 @@ interface BookingPolicyCreatedEnvelope {
|
|
|
20888
20887
|
entity: BookingPolicy;
|
|
20889
20888
|
metadata: EventMetadata$1;
|
|
20890
20889
|
}
|
|
20891
|
-
interface
|
|
20892
|
-
|
|
20890
|
+
interface BookingPolicyDefaultBookingPolicySetEnvelope {
|
|
20891
|
+
data: DefaultBookingPolicySet;
|
|
20893
20892
|
metadata: EventMetadata$1;
|
|
20894
20893
|
}
|
|
20895
20894
|
interface BookingPolicyDeletedEnvelope {
|
|
20896
20895
|
metadata: EventMetadata$1;
|
|
20897
20896
|
}
|
|
20898
|
-
interface
|
|
20899
|
-
|
|
20897
|
+
interface BookingPolicyUpdatedEnvelope {
|
|
20898
|
+
entity: BookingPolicy;
|
|
20900
20899
|
metadata: EventMetadata$1;
|
|
20901
20900
|
}
|
|
20902
20901
|
interface UpdateBookingPolicy {
|
|
@@ -21146,9 +21145,9 @@ interface CountBookingPoliciesSignature {
|
|
|
21146
21145
|
(options?: CountBookingPoliciesOptions | undefined): Promise<CountBookingPoliciesResponse & CountBookingPoliciesResponseNonNullableFields>;
|
|
21147
21146
|
}
|
|
21148
21147
|
declare const onBookingPolicyCreated$1: EventDefinition<BookingPolicyCreatedEnvelope, "wix.bookings.v1.booking_policy_created">;
|
|
21149
|
-
declare const onBookingPolicyUpdated$1: EventDefinition<BookingPolicyUpdatedEnvelope, "wix.bookings.v1.booking_policy_updated">;
|
|
21150
|
-
declare const onBookingPolicyDeleted$1: EventDefinition<BookingPolicyDeletedEnvelope, "wix.bookings.v1.booking_policy_deleted">;
|
|
21151
21148
|
declare const onBookingPolicyDefaultBookingPolicySet$1: EventDefinition<BookingPolicyDefaultBookingPolicySetEnvelope, "wix.bookings.v1.booking_policy_default_booking_policy_set">;
|
|
21149
|
+
declare const onBookingPolicyDeleted$1: EventDefinition<BookingPolicyDeletedEnvelope, "wix.bookings.v1.booking_policy_deleted">;
|
|
21150
|
+
declare const onBookingPolicyUpdated$1: EventDefinition<BookingPolicyUpdatedEnvelope, "wix.bookings.v1.booking_policy_updated">;
|
|
21152
21151
|
|
|
21153
21152
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
21154
21153
|
|
|
@@ -21167,12 +21166,13 @@ type _publicOnBookingPolicyCreatedType = typeof onBookingPolicyCreated$1;
|
|
|
21167
21166
|
*/
|
|
21168
21167
|
declare const onBookingPolicyCreated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyCreatedType>>;
|
|
21169
21168
|
|
|
21170
|
-
type
|
|
21169
|
+
type _publicOnBookingPolicyDefaultBookingPolicySetType = typeof onBookingPolicyDefaultBookingPolicySet$1;
|
|
21171
21170
|
/**
|
|
21172
|
-
* Triggered when
|
|
21173
|
-
*
|
|
21171
|
+
* Triggered when the site's default policy changes. Then,
|
|
21172
|
+
* [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy/booking-policy-updated)
|
|
21173
|
+
* is also triggered both for the new and the previous default policy.
|
|
21174
21174
|
*/
|
|
21175
|
-
declare const
|
|
21175
|
+
declare const onBookingPolicyDefaultBookingPolicySet: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDefaultBookingPolicySetType>>;
|
|
21176
21176
|
|
|
21177
21177
|
type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
21178
21178
|
/**
|
|
@@ -21180,13 +21180,12 @@ type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
|
21180
21180
|
*/
|
|
21181
21181
|
declare const onBookingPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDeletedType>>;
|
|
21182
21182
|
|
|
21183
|
-
type
|
|
21183
|
+
type _publicOnBookingPolicyUpdatedType = typeof onBookingPolicyUpdated$1;
|
|
21184
21184
|
/**
|
|
21185
|
-
* Triggered when
|
|
21186
|
-
*
|
|
21187
|
-
* is also triggered both for the new and the previous default policy.
|
|
21185
|
+
* Triggered when a booking policy is updated, including when a policy's
|
|
21186
|
+
* `default` attribute changes.
|
|
21188
21187
|
*/
|
|
21189
|
-
declare const
|
|
21188
|
+
declare const onBookingPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyUpdatedType>>;
|
|
21190
21189
|
|
|
21191
21190
|
type index_d$4_AddressHint = AddressHint;
|
|
21192
21191
|
type index_d$4_BookAfterStartPolicy = BookAfterStartPolicy;
|
|
@@ -9283,11 +9283,11 @@ interface Tag$1 {
|
|
|
9283
9283
|
*/
|
|
9284
9284
|
type?: string;
|
|
9285
9285
|
/**
|
|
9286
|
-
* A `{
|
|
9287
|
-
* For example: `{
|
|
9286
|
+
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
9287
|
+
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
9288
9288
|
*/
|
|
9289
9289
|
props?: Record<string, any> | null;
|
|
9290
|
-
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
9290
|
+
/** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
|
|
9291
9291
|
meta?: Record<string, any> | null;
|
|
9292
9292
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
9293
9293
|
children?: string;
|
|
@@ -11338,11 +11338,11 @@ interface Tag {
|
|
|
11338
11338
|
*/
|
|
11339
11339
|
type?: string;
|
|
11340
11340
|
/**
|
|
11341
|
-
* A `{
|
|
11342
|
-
* For example: `{
|
|
11341
|
+
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
11342
|
+
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
11343
11343
|
*/
|
|
11344
11344
|
props?: Record<string, any> | null;
|
|
11345
|
-
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
11345
|
+
/** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
|
|
11346
11346
|
meta?: Record<string, any> | null;
|
|
11347
11347
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
11348
11348
|
children?: string;
|