@wix/bookings 1.0.532 → 1.0.534
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.534",
|
|
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",
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
"@wix/bookings_multi-service-availability-time-slots": "1.0.43",
|
|
35
35
|
"@wix/bookings_pricing": "1.0.48",
|
|
36
36
|
"@wix/bookings_resource-types": "1.0.23",
|
|
37
|
-
"@wix/bookings_resources": "1.0.
|
|
37
|
+
"@wix/bookings_resources": "1.0.63",
|
|
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": "ad9541217747771d0c547e70a6d80b36361456c6bf5a24345a8fade9"
|
|
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. */
|
|
@@ -10858,7 +10857,9 @@ declare enum Namespace$1 {
|
|
|
10858
10857
|
*/
|
|
10859
10858
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
10860
10859
|
/** Codux Headless Sites */
|
|
10861
|
-
CODUX = "CODUX"
|
|
10860
|
+
CODUX = "CODUX",
|
|
10861
|
+
/** Bobb - AI Design Creator. */
|
|
10862
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
10862
10863
|
}
|
|
10863
10864
|
/** Site transferred to another user. */
|
|
10864
10865
|
interface SiteTransferred$1 {
|
|
@@ -10902,6 +10903,21 @@ interface SiteMarkedAsTemplate$1 {
|
|
|
10902
10903
|
}
|
|
10903
10904
|
interface SiteMarkedAsWixSite$1 {
|
|
10904
10905
|
}
|
|
10906
|
+
/**
|
|
10907
|
+
* Represents a service provisioned a site.
|
|
10908
|
+
*
|
|
10909
|
+
* Note on `origin_instance_id`:
|
|
10910
|
+
* There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
|
|
10911
|
+
* This is because of the following scenario:
|
|
10912
|
+
*
|
|
10913
|
+
* Imagine you have a template where a third-party application (TPA) includes some stub data,
|
|
10914
|
+
* such as a product catalog. When you create a site from this template, you inherit this
|
|
10915
|
+
* default product catalog. However, if the template's product catalog is modified,
|
|
10916
|
+
* your site will retain the catalog as it was at the time of site creation. This ensures that
|
|
10917
|
+
* your site remains consistent with what you initially received and does not include any
|
|
10918
|
+
* changes made to the original template afterward.
|
|
10919
|
+
* To ensure this, the TPA on the template gets a new instance_id.
|
|
10920
|
+
*/
|
|
10905
10921
|
interface ServiceProvisioned$1 {
|
|
10906
10922
|
/** Either UUID or EmbeddedServiceType. */
|
|
10907
10923
|
appDefId?: string;
|
|
@@ -13083,11 +13099,11 @@ interface Tag {
|
|
|
13083
13099
|
*/
|
|
13084
13100
|
type?: string;
|
|
13085
13101
|
/**
|
|
13086
|
-
* A `{
|
|
13087
|
-
* For example: `{
|
|
13102
|
+
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
13103
|
+
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
13088
13104
|
*/
|
|
13089
13105
|
props?: Record<string, any> | null;
|
|
13090
|
-
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
13106
|
+
/** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
|
|
13091
13107
|
meta?: Record<string, any> | null;
|
|
13092
13108
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
13093
13109
|
children?: string;
|
|
@@ -15468,7 +15484,7 @@ interface Properties$1 {
|
|
|
15468
15484
|
businessSchedule?: BusinessSchedule$2;
|
|
15469
15485
|
/** Supported languages of a site and the primary language. */
|
|
15470
15486
|
multilingual?: Multilingual$1;
|
|
15471
|
-
/** Cookie policy the
|
|
15487
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
15472
15488
|
consentPolicy?: ConsentPolicy$1;
|
|
15473
15489
|
/**
|
|
15474
15490
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -15476,9 +15492,9 @@ interface Properties$1 {
|
|
|
15476
15492
|
* Site business type.
|
|
15477
15493
|
*/
|
|
15478
15494
|
businessConfig?: string | null;
|
|
15479
|
-
/** External site
|
|
15495
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
15480
15496
|
externalSiteUrl?: string | null;
|
|
15481
|
-
/** Track clicks analytics */
|
|
15497
|
+
/** Track clicks analytics. */
|
|
15482
15498
|
trackClicksAnalytics?: boolean;
|
|
15483
15499
|
}
|
|
15484
15500
|
interface Categories$1 {
|
|
@@ -15522,8 +15538,7 @@ interface V4Address {
|
|
|
15522
15538
|
/**
|
|
15523
15539
|
* Extra information on displayed addresses.
|
|
15524
15540
|
* 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.
|
|
15541
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
15527
15542
|
*/
|
|
15528
15543
|
interface AddressHint$1 {
|
|
15529
15544
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -18839,7 +18854,9 @@ declare enum Namespace {
|
|
|
18839
18854
|
*/
|
|
18840
18855
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
18841
18856
|
/** Codux Headless Sites */
|
|
18842
|
-
CODUX = "CODUX"
|
|
18857
|
+
CODUX = "CODUX",
|
|
18858
|
+
/** Bobb - AI Design Creator. */
|
|
18859
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
18843
18860
|
}
|
|
18844
18861
|
/** Site transferred to another user. */
|
|
18845
18862
|
interface SiteTransferred {
|
|
@@ -20512,7 +20529,7 @@ interface Properties {
|
|
|
20512
20529
|
businessSchedule?: BusinessSchedule;
|
|
20513
20530
|
/** Supported languages of a site and the primary language. */
|
|
20514
20531
|
multilingual?: Multilingual;
|
|
20515
|
-
/** Cookie policy the
|
|
20532
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
20516
20533
|
consentPolicy?: ConsentPolicy;
|
|
20517
20534
|
/**
|
|
20518
20535
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -20520,9 +20537,9 @@ interface Properties {
|
|
|
20520
20537
|
* Site business type.
|
|
20521
20538
|
*/
|
|
20522
20539
|
businessConfig?: string | null;
|
|
20523
|
-
/** External site
|
|
20540
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
20524
20541
|
externalSiteUrl?: string | null;
|
|
20525
|
-
/** Track clicks analytics */
|
|
20542
|
+
/** Track clicks analytics. */
|
|
20526
20543
|
trackClicksAnalytics?: boolean;
|
|
20527
20544
|
}
|
|
20528
20545
|
interface Categories {
|
|
@@ -20566,8 +20583,7 @@ interface Address$2 {
|
|
|
20566
20583
|
/**
|
|
20567
20584
|
* Extra information on displayed addresses.
|
|
20568
20585
|
* 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.
|
|
20586
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
20571
20587
|
*/
|
|
20572
20588
|
interface AddressHint {
|
|
20573
20589
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -20888,15 +20904,15 @@ interface BookingPolicyCreatedEnvelope {
|
|
|
20888
20904
|
entity: BookingPolicy;
|
|
20889
20905
|
metadata: EventMetadata$1;
|
|
20890
20906
|
}
|
|
20891
|
-
interface
|
|
20892
|
-
|
|
20907
|
+
interface BookingPolicyDefaultBookingPolicySetEnvelope {
|
|
20908
|
+
data: DefaultBookingPolicySet;
|
|
20893
20909
|
metadata: EventMetadata$1;
|
|
20894
20910
|
}
|
|
20895
20911
|
interface BookingPolicyDeletedEnvelope {
|
|
20896
20912
|
metadata: EventMetadata$1;
|
|
20897
20913
|
}
|
|
20898
|
-
interface
|
|
20899
|
-
|
|
20914
|
+
interface BookingPolicyUpdatedEnvelope {
|
|
20915
|
+
entity: BookingPolicy;
|
|
20900
20916
|
metadata: EventMetadata$1;
|
|
20901
20917
|
}
|
|
20902
20918
|
interface UpdateBookingPolicy {
|
|
@@ -21146,9 +21162,9 @@ interface CountBookingPoliciesSignature {
|
|
|
21146
21162
|
(options?: CountBookingPoliciesOptions | undefined): Promise<CountBookingPoliciesResponse & CountBookingPoliciesResponseNonNullableFields>;
|
|
21147
21163
|
}
|
|
21148
21164
|
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
21165
|
declare const onBookingPolicyDefaultBookingPolicySet$1: EventDefinition<BookingPolicyDefaultBookingPolicySetEnvelope, "wix.bookings.v1.booking_policy_default_booking_policy_set">;
|
|
21166
|
+
declare const onBookingPolicyDeleted$1: EventDefinition<BookingPolicyDeletedEnvelope, "wix.bookings.v1.booking_policy_deleted">;
|
|
21167
|
+
declare const onBookingPolicyUpdated$1: EventDefinition<BookingPolicyUpdatedEnvelope, "wix.bookings.v1.booking_policy_updated">;
|
|
21152
21168
|
|
|
21153
21169
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
21154
21170
|
|
|
@@ -21167,12 +21183,13 @@ type _publicOnBookingPolicyCreatedType = typeof onBookingPolicyCreated$1;
|
|
|
21167
21183
|
*/
|
|
21168
21184
|
declare const onBookingPolicyCreated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyCreatedType>>;
|
|
21169
21185
|
|
|
21170
|
-
type
|
|
21186
|
+
type _publicOnBookingPolicyDefaultBookingPolicySetType = typeof onBookingPolicyDefaultBookingPolicySet$1;
|
|
21171
21187
|
/**
|
|
21172
|
-
* Triggered when
|
|
21173
|
-
*
|
|
21188
|
+
* Triggered when the site's default policy changes. Then,
|
|
21189
|
+
* [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy/booking-policy-updated)
|
|
21190
|
+
* is also triggered both for the new and the previous default policy.
|
|
21174
21191
|
*/
|
|
21175
|
-
declare const
|
|
21192
|
+
declare const onBookingPolicyDefaultBookingPolicySet: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDefaultBookingPolicySetType>>;
|
|
21176
21193
|
|
|
21177
21194
|
type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
21178
21195
|
/**
|
|
@@ -21180,13 +21197,12 @@ type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
|
21180
21197
|
*/
|
|
21181
21198
|
declare const onBookingPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDeletedType>>;
|
|
21182
21199
|
|
|
21183
|
-
type
|
|
21200
|
+
type _publicOnBookingPolicyUpdatedType = typeof onBookingPolicyUpdated$1;
|
|
21184
21201
|
/**
|
|
21185
|
-
* Triggered when
|
|
21186
|
-
*
|
|
21187
|
-
* is also triggered both for the new and the previous default policy.
|
|
21202
|
+
* Triggered when a booking policy is updated, including when a policy's
|
|
21203
|
+
* `default` attribute changes.
|
|
21188
21204
|
*/
|
|
21189
|
-
declare const
|
|
21205
|
+
declare const onBookingPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyUpdatedType>>;
|
|
21190
21206
|
|
|
21191
21207
|
type context$4_AddressHint = AddressHint;
|
|
21192
21208
|
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. */
|
|
@@ -10858,7 +10857,9 @@ declare enum Namespace$1 {
|
|
|
10858
10857
|
*/
|
|
10859
10858
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
10860
10859
|
/** Codux Headless Sites */
|
|
10861
|
-
CODUX = "CODUX"
|
|
10860
|
+
CODUX = "CODUX",
|
|
10861
|
+
/** Bobb - AI Design Creator. */
|
|
10862
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
10862
10863
|
}
|
|
10863
10864
|
/** Site transferred to another user. */
|
|
10864
10865
|
interface SiteTransferred$1 {
|
|
@@ -10902,6 +10903,21 @@ interface SiteMarkedAsTemplate$1 {
|
|
|
10902
10903
|
}
|
|
10903
10904
|
interface SiteMarkedAsWixSite$1 {
|
|
10904
10905
|
}
|
|
10906
|
+
/**
|
|
10907
|
+
* Represents a service provisioned a site.
|
|
10908
|
+
*
|
|
10909
|
+
* Note on `origin_instance_id`:
|
|
10910
|
+
* There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
|
|
10911
|
+
* This is because of the following scenario:
|
|
10912
|
+
*
|
|
10913
|
+
* Imagine you have a template where a third-party application (TPA) includes some stub data,
|
|
10914
|
+
* such as a product catalog. When you create a site from this template, you inherit this
|
|
10915
|
+
* default product catalog. However, if the template's product catalog is modified,
|
|
10916
|
+
* your site will retain the catalog as it was at the time of site creation. This ensures that
|
|
10917
|
+
* your site remains consistent with what you initially received and does not include any
|
|
10918
|
+
* changes made to the original template afterward.
|
|
10919
|
+
* To ensure this, the TPA on the template gets a new instance_id.
|
|
10920
|
+
*/
|
|
10905
10921
|
interface ServiceProvisioned$1 {
|
|
10906
10922
|
/** Either UUID or EmbeddedServiceType. */
|
|
10907
10923
|
appDefId?: string;
|
|
@@ -13083,11 +13099,11 @@ interface Tag {
|
|
|
13083
13099
|
*/
|
|
13084
13100
|
type?: string;
|
|
13085
13101
|
/**
|
|
13086
|
-
* A `{
|
|
13087
|
-
* For example: `{
|
|
13102
|
+
* A `{"key": "value"}` pair object where each SEO tag property (`"name"`, `"content"`, `"rel"`, `"href"`) contains a value.
|
|
13103
|
+
* For example: `{"name": "description", "content": "the description itself"}`.
|
|
13088
13104
|
*/
|
|
13089
13105
|
props?: Record<string, any> | null;
|
|
13090
|
-
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
13106
|
+
/** SEO tag meta data. For example, `{"height": 300, "width": 240}`. */
|
|
13091
13107
|
meta?: Record<string, any> | null;
|
|
13092
13108
|
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
13093
13109
|
children?: string;
|
|
@@ -15468,7 +15484,7 @@ interface Properties$1 {
|
|
|
15468
15484
|
businessSchedule?: BusinessSchedule$2;
|
|
15469
15485
|
/** Supported languages of a site and the primary language. */
|
|
15470
15486
|
multilingual?: Multilingual$1;
|
|
15471
|
-
/** Cookie policy the
|
|
15487
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
15472
15488
|
consentPolicy?: ConsentPolicy$1;
|
|
15473
15489
|
/**
|
|
15474
15490
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -15476,9 +15492,9 @@ interface Properties$1 {
|
|
|
15476
15492
|
* Site business type.
|
|
15477
15493
|
*/
|
|
15478
15494
|
businessConfig?: string | null;
|
|
15479
|
-
/** External site
|
|
15495
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
15480
15496
|
externalSiteUrl?: string | null;
|
|
15481
|
-
/** Track clicks analytics */
|
|
15497
|
+
/** Track clicks analytics. */
|
|
15482
15498
|
trackClicksAnalytics?: boolean;
|
|
15483
15499
|
}
|
|
15484
15500
|
interface Categories$1 {
|
|
@@ -15522,8 +15538,7 @@ interface V4Address {
|
|
|
15522
15538
|
/**
|
|
15523
15539
|
* Extra information on displayed addresses.
|
|
15524
15540
|
* 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.
|
|
15541
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
15527
15542
|
*/
|
|
15528
15543
|
interface AddressHint$1 {
|
|
15529
15544
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -18839,7 +18854,9 @@ declare enum Namespace {
|
|
|
18839
18854
|
*/
|
|
18840
18855
|
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
18841
18856
|
/** Codux Headless Sites */
|
|
18842
|
-
CODUX = "CODUX"
|
|
18857
|
+
CODUX = "CODUX",
|
|
18858
|
+
/** Bobb - AI Design Creator. */
|
|
18859
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR"
|
|
18843
18860
|
}
|
|
18844
18861
|
/** Site transferred to another user. */
|
|
18845
18862
|
interface SiteTransferred {
|
|
@@ -20512,7 +20529,7 @@ interface Properties {
|
|
|
20512
20529
|
businessSchedule?: BusinessSchedule;
|
|
20513
20530
|
/** Supported languages of a site and the primary language. */
|
|
20514
20531
|
multilingual?: Multilingual;
|
|
20515
|
-
/** Cookie policy the
|
|
20532
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
20516
20533
|
consentPolicy?: ConsentPolicy;
|
|
20517
20534
|
/**
|
|
20518
20535
|
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
@@ -20520,9 +20537,9 @@ interface Properties {
|
|
|
20520
20537
|
* Site business type.
|
|
20521
20538
|
*/
|
|
20522
20539
|
businessConfig?: string | null;
|
|
20523
|
-
/** External site
|
|
20540
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
20524
20541
|
externalSiteUrl?: string | null;
|
|
20525
|
-
/** Track clicks analytics */
|
|
20542
|
+
/** Track clicks analytics. */
|
|
20526
20543
|
trackClicksAnalytics?: boolean;
|
|
20527
20544
|
}
|
|
20528
20545
|
interface Categories {
|
|
@@ -20566,8 +20583,7 @@ interface Address$2 {
|
|
|
20566
20583
|
/**
|
|
20567
20584
|
* Extra information on displayed addresses.
|
|
20568
20585
|
* 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.
|
|
20586
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
20571
20587
|
*/
|
|
20572
20588
|
interface AddressHint {
|
|
20573
20589
|
/** Extra text displayed next to, or instead of, the actual address. */
|
|
@@ -20888,15 +20904,15 @@ interface BookingPolicyCreatedEnvelope {
|
|
|
20888
20904
|
entity: BookingPolicy;
|
|
20889
20905
|
metadata: EventMetadata$1;
|
|
20890
20906
|
}
|
|
20891
|
-
interface
|
|
20892
|
-
|
|
20907
|
+
interface BookingPolicyDefaultBookingPolicySetEnvelope {
|
|
20908
|
+
data: DefaultBookingPolicySet;
|
|
20893
20909
|
metadata: EventMetadata$1;
|
|
20894
20910
|
}
|
|
20895
20911
|
interface BookingPolicyDeletedEnvelope {
|
|
20896
20912
|
metadata: EventMetadata$1;
|
|
20897
20913
|
}
|
|
20898
|
-
interface
|
|
20899
|
-
|
|
20914
|
+
interface BookingPolicyUpdatedEnvelope {
|
|
20915
|
+
entity: BookingPolicy;
|
|
20900
20916
|
metadata: EventMetadata$1;
|
|
20901
20917
|
}
|
|
20902
20918
|
interface UpdateBookingPolicy {
|
|
@@ -21146,9 +21162,9 @@ interface CountBookingPoliciesSignature {
|
|
|
21146
21162
|
(options?: CountBookingPoliciesOptions | undefined): Promise<CountBookingPoliciesResponse & CountBookingPoliciesResponseNonNullableFields>;
|
|
21147
21163
|
}
|
|
21148
21164
|
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
21165
|
declare const onBookingPolicyDefaultBookingPolicySet$1: EventDefinition<BookingPolicyDefaultBookingPolicySetEnvelope, "wix.bookings.v1.booking_policy_default_booking_policy_set">;
|
|
21166
|
+
declare const onBookingPolicyDeleted$1: EventDefinition<BookingPolicyDeletedEnvelope, "wix.bookings.v1.booking_policy_deleted">;
|
|
21167
|
+
declare const onBookingPolicyUpdated$1: EventDefinition<BookingPolicyUpdatedEnvelope, "wix.bookings.v1.booking_policy_updated">;
|
|
21152
21168
|
|
|
21153
21169
|
declare function createEventModule$2<T extends EventDefinition<any, string>>(eventDefinition: T): BuildEventDefinition<T> & T;
|
|
21154
21170
|
|
|
@@ -21167,12 +21183,13 @@ type _publicOnBookingPolicyCreatedType = typeof onBookingPolicyCreated$1;
|
|
|
21167
21183
|
*/
|
|
21168
21184
|
declare const onBookingPolicyCreated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyCreatedType>>;
|
|
21169
21185
|
|
|
21170
|
-
type
|
|
21186
|
+
type _publicOnBookingPolicyDefaultBookingPolicySetType = typeof onBookingPolicyDefaultBookingPolicySet$1;
|
|
21171
21187
|
/**
|
|
21172
|
-
* Triggered when
|
|
21173
|
-
*
|
|
21188
|
+
* Triggered when the site's default policy changes. Then,
|
|
21189
|
+
* [Booking Policy Updated](https://dev.wix.com/docs/rest/business-solutions/bookings/services/booking-policy/booking-policy-updated)
|
|
21190
|
+
* is also triggered both for the new and the previous default policy.
|
|
21174
21191
|
*/
|
|
21175
|
-
declare const
|
|
21192
|
+
declare const onBookingPolicyDefaultBookingPolicySet: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDefaultBookingPolicySetType>>;
|
|
21176
21193
|
|
|
21177
21194
|
type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
21178
21195
|
/**
|
|
@@ -21180,13 +21197,12 @@ type _publicOnBookingPolicyDeletedType = typeof onBookingPolicyDeleted$1;
|
|
|
21180
21197
|
*/
|
|
21181
21198
|
declare const onBookingPolicyDeleted: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyDeletedType>>;
|
|
21182
21199
|
|
|
21183
|
-
type
|
|
21200
|
+
type _publicOnBookingPolicyUpdatedType = typeof onBookingPolicyUpdated$1;
|
|
21184
21201
|
/**
|
|
21185
|
-
* Triggered when
|
|
21186
|
-
*
|
|
21187
|
-
* is also triggered both for the new and the previous default policy.
|
|
21202
|
+
* Triggered when a booking policy is updated, including when a policy's
|
|
21203
|
+
* `default` attribute changes.
|
|
21188
21204
|
*/
|
|
21189
|
-
declare const
|
|
21205
|
+
declare const onBookingPolicyUpdated: ReturnType<typeof createEventModule$2<_publicOnBookingPolicyUpdatedType>>;
|
|
21190
21206
|
|
|
21191
21207
|
type index_d$4_AddressHint = AddressHint;
|
|
21192
21208
|
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;
|