@wix/auto_sdk_bookings_booking-policies 1.0.69 → 1.0.71
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/index.d.ts +5 -5
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +5 -9
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1036 -3
- package/build/cjs/meta.js +132 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +5 -5
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +5 -9
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1036 -3
- package/build/es/meta.mjs +121 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +5 -5
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +5 -9
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1036 -3
- package/build/internal/cjs/meta.js +132 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +5 -5
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +5 -9
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1036 -3
- package/build/internal/es/meta.mjs +121 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -68,8 +68,6 @@ interface BookingPolicy {
|
|
|
68
68
|
cancellationFeePolicy?: CancellationFeePolicy;
|
|
69
69
|
/** Rule for saving credit card details. */
|
|
70
70
|
saveCreditCardPolicy?: SaveCreditCardPolicy;
|
|
71
|
-
/** Rules for Intake form integration */
|
|
72
|
-
intakeFormPolicy?: IntakeFormPolicy;
|
|
73
71
|
/** Extensions enabling users to save custom data related to the booking policies. */
|
|
74
72
|
extendedFields?: ExtendedFields;
|
|
75
73
|
}
|
|
@@ -242,6 +240,25 @@ interface ParticipantsPolicy {
|
|
|
242
240
|
*/
|
|
243
241
|
maxParticipantsPerBooking?: number;
|
|
244
242
|
}
|
|
243
|
+
/** The rule regarding the allocation of resources (e.g. staff members). */
|
|
244
|
+
interface ResourcesPolicy {
|
|
245
|
+
/**
|
|
246
|
+
* Whether the customer must select a resource, for example a staff member, when
|
|
247
|
+
* booking. `false` means the customer can book without selecting a resource.
|
|
248
|
+
*
|
|
249
|
+
* Default: `false`
|
|
250
|
+
*/
|
|
251
|
+
enabled?: boolean;
|
|
252
|
+
/**
|
|
253
|
+
* Whether Wix Bookings automatically assigns a resource, for example a *staff member*
|
|
254
|
+
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/staff-members/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/staff-members/introduction)),
|
|
255
|
+
* to the booking. `false` means the customer must select the resource
|
|
256
|
+
* themselves and Wix Bookings doesn't assign it automatically.
|
|
257
|
+
*
|
|
258
|
+
* Default: `false`
|
|
259
|
+
*/
|
|
260
|
+
autoAssignAllowed?: boolean;
|
|
261
|
+
}
|
|
245
262
|
interface CancellationFeePolicy {
|
|
246
263
|
/**
|
|
247
264
|
* Whether customers must pay a cancellation fee when canceling a booking.
|
|
@@ -331,6 +348,79 @@ interface SaveCreditCardPolicy {
|
|
|
331
348
|
*/
|
|
332
349
|
enabled?: boolean;
|
|
333
350
|
}
|
|
351
|
+
/**
|
|
352
|
+
* Policy for determining how staff members are sorted and selected during the booking process.
|
|
353
|
+
* This affects which staff member is chosen when multiple staff members are available for a service.
|
|
354
|
+
*/
|
|
355
|
+
interface StaffSortingPolicy extends StaffSortingPolicyOptionsOneOf {
|
|
356
|
+
rankingOptions?: RankingOptions;
|
|
357
|
+
customOptions?: CustomOptions;
|
|
358
|
+
/**
|
|
359
|
+
* Method used for sorting and selecting staff members.
|
|
360
|
+
*
|
|
361
|
+
* Default: `RANDOM`
|
|
362
|
+
*/
|
|
363
|
+
sortingMethodType?: SortingMethodTypeWithLiterals;
|
|
364
|
+
}
|
|
365
|
+
/** @oneof */
|
|
366
|
+
interface StaffSortingPolicyOptionsOneOf {
|
|
367
|
+
rankingOptions?: RankingOptions;
|
|
368
|
+
customOptions?: CustomOptions;
|
|
369
|
+
}
|
|
370
|
+
/** Order for ranking-based staff selection. */
|
|
371
|
+
declare enum RankingOrder {
|
|
372
|
+
UNKNOWN_RANKING_ORDER = "UNKNOWN_RANKING_ORDER",
|
|
373
|
+
/** Staff members with lower priority values are selected first. */
|
|
374
|
+
LOWEST_TO_HIGHEST = "LOWEST_TO_HIGHEST",
|
|
375
|
+
/** Staff members with higher priority values are selected first. */
|
|
376
|
+
HIGHEST_TO_LOWEST = "HIGHEST_TO_LOWEST"
|
|
377
|
+
}
|
|
378
|
+
/** @enumType */
|
|
379
|
+
type RankingOrderWithLiterals = RankingOrder | 'UNKNOWN_RANKING_ORDER' | 'LOWEST_TO_HIGHEST' | 'HIGHEST_TO_LOWEST';
|
|
380
|
+
/** Method used to sort and select staff members. */
|
|
381
|
+
declare enum SortingMethodType {
|
|
382
|
+
UNKNOWN_SORTING_METHOD_TYPE = "UNKNOWN_SORTING_METHOD_TYPE",
|
|
383
|
+
/** Staff members are selected randomly from available options. */
|
|
384
|
+
RANDOM = "RANDOM",
|
|
385
|
+
/** Staff members are selected based on their priority ranking. */
|
|
386
|
+
RANKING = "RANKING",
|
|
387
|
+
/**
|
|
388
|
+
* Staff members are selected using a custom method provided by StaffSelectionSPI.
|
|
389
|
+
* This allows third-party apps to implement custom staff selection logic.
|
|
390
|
+
*/
|
|
391
|
+
CUSTOM = "CUSTOM"
|
|
392
|
+
}
|
|
393
|
+
/** @enumType */
|
|
394
|
+
type SortingMethodTypeWithLiterals = SortingMethodType | 'UNKNOWN_SORTING_METHOD_TYPE' | 'RANDOM' | 'RANKING' | 'CUSTOM';
|
|
395
|
+
/**
|
|
396
|
+
* Configuration options for ranking-based staff selection.
|
|
397
|
+
* Used when `sorting_method_type` is set to `RANKING`.
|
|
398
|
+
*/
|
|
399
|
+
interface RankingOptions {
|
|
400
|
+
/**
|
|
401
|
+
* Order in which staff members are sorted by their priority ranking.
|
|
402
|
+
*
|
|
403
|
+
* Default: `LOWEST_TO_HIGHEST`
|
|
404
|
+
*/
|
|
405
|
+
order?: RankingOrderWithLiterals;
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Configuration options for custom staff selection methods.
|
|
409
|
+
* Used when `sorting_method_type` is set to `CUSTOM`.
|
|
410
|
+
*/
|
|
411
|
+
interface CustomOptions {
|
|
412
|
+
/**
|
|
413
|
+
* ID of the custom selection method implemented in StaffSelectionSPI.
|
|
414
|
+
* This identifies which custom sorting algorithm to use.
|
|
415
|
+
* @format GUID
|
|
416
|
+
*/
|
|
417
|
+
methodId?: string;
|
|
418
|
+
/**
|
|
419
|
+
* ID of the app that provides the custom selection method.
|
|
420
|
+
* @format GUID
|
|
421
|
+
*/
|
|
422
|
+
appId?: string;
|
|
423
|
+
}
|
|
334
424
|
/** Policy for integrating with Intake form. Stores which form to use and when to present it. */
|
|
335
425
|
interface IntakeFormPolicy {
|
|
336
426
|
/**
|
|
@@ -356,6 +446,16 @@ interface ExtendedFields {
|
|
|
356
446
|
*/
|
|
357
447
|
namespaces?: Record<string, Record<string, any>>;
|
|
358
448
|
}
|
|
449
|
+
/** This event is triggered when a different booking policy has been set as the default policy. */
|
|
450
|
+
interface DefaultBookingPolicySet {
|
|
451
|
+
/** The new default booking policy. */
|
|
452
|
+
currentDefaultBookingPolicy?: BookingPolicy;
|
|
453
|
+
/**
|
|
454
|
+
* The booking policy that was the default before this endpoint was called.
|
|
455
|
+
* This field will be empty if there was no default booking policy before this method was called.
|
|
456
|
+
*/
|
|
457
|
+
previousDefaultBookingPolicy?: BookingPolicy;
|
|
458
|
+
}
|
|
359
459
|
interface CreateBookingPolicyRequest {
|
|
360
460
|
/** Booking policy to create. */
|
|
361
461
|
bookingPolicy: BookingPolicy;
|
|
@@ -531,6 +631,939 @@ interface CountBookingPoliciesResponse {
|
|
|
531
631
|
/** Number of booking policies matching the provided filter. */
|
|
532
632
|
count?: number;
|
|
533
633
|
}
|
|
634
|
+
interface UpdateAllPoliciesRequest {
|
|
635
|
+
/** Fields to set to all booking policies. */
|
|
636
|
+
bookingPolicy?: BookingPolicy;
|
|
637
|
+
}
|
|
638
|
+
interface UpdateAllPoliciesResponse {
|
|
639
|
+
}
|
|
640
|
+
interface CreateMissingDefaultPolicyRequest {
|
|
641
|
+
}
|
|
642
|
+
interface CreateMissingDefaultPolicyResponse {
|
|
643
|
+
/** The default booking policy. */
|
|
644
|
+
defaultBookingPolicy?: BookingPolicy;
|
|
645
|
+
/** Whether a new default policy was created. */
|
|
646
|
+
wasANewPolicyCreated?: boolean;
|
|
647
|
+
}
|
|
648
|
+
interface DomainEvent extends DomainEventBodyOneOf {
|
|
649
|
+
createdEvent?: EntityCreatedEvent;
|
|
650
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
651
|
+
deletedEvent?: EntityDeletedEvent;
|
|
652
|
+
actionEvent?: ActionEvent;
|
|
653
|
+
/** Event ID. With this ID you can easily spot duplicated events and ignore them. */
|
|
654
|
+
id?: string;
|
|
655
|
+
/**
|
|
656
|
+
* Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
|
|
657
|
+
* For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
|
|
658
|
+
*/
|
|
659
|
+
entityFqdn?: string;
|
|
660
|
+
/**
|
|
661
|
+
* Event action name, placed at the top level to make it easier for users to dispatch messages.
|
|
662
|
+
* For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
|
|
663
|
+
*/
|
|
664
|
+
slug?: string;
|
|
665
|
+
/** ID of the entity associated with the event. */
|
|
666
|
+
entityId?: string;
|
|
667
|
+
/** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
|
|
668
|
+
eventTime?: Date | null;
|
|
669
|
+
/**
|
|
670
|
+
* Whether the event was triggered as a result of a privacy regulation application
|
|
671
|
+
* (for example, GDPR).
|
|
672
|
+
*/
|
|
673
|
+
triggeredByAnonymizeRequest?: boolean | null;
|
|
674
|
+
/** If present, indicates the action that triggered the event. */
|
|
675
|
+
originatedFrom?: string | null;
|
|
676
|
+
/**
|
|
677
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
678
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
679
|
+
*/
|
|
680
|
+
entityEventSequence?: string | null;
|
|
681
|
+
}
|
|
682
|
+
/** @oneof */
|
|
683
|
+
interface DomainEventBodyOneOf {
|
|
684
|
+
createdEvent?: EntityCreatedEvent;
|
|
685
|
+
updatedEvent?: EntityUpdatedEvent;
|
|
686
|
+
deletedEvent?: EntityDeletedEvent;
|
|
687
|
+
actionEvent?: ActionEvent;
|
|
688
|
+
}
|
|
689
|
+
interface EntityCreatedEvent {
|
|
690
|
+
entityAsJson?: string;
|
|
691
|
+
/** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
|
|
692
|
+
restoreInfo?: RestoreInfo;
|
|
693
|
+
}
|
|
694
|
+
interface RestoreInfo {
|
|
695
|
+
deletedDate?: Date | null;
|
|
696
|
+
}
|
|
697
|
+
interface EntityUpdatedEvent {
|
|
698
|
+
/**
|
|
699
|
+
* Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
|
|
700
|
+
* This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
|
|
701
|
+
* We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
|
|
702
|
+
*/
|
|
703
|
+
currentEntityAsJson?: string;
|
|
704
|
+
}
|
|
705
|
+
interface EntityDeletedEvent {
|
|
706
|
+
/** Entity that was deleted. */
|
|
707
|
+
deletedEntityAsJson?: string | null;
|
|
708
|
+
}
|
|
709
|
+
interface ActionEvent {
|
|
710
|
+
bodyAsJson?: string;
|
|
711
|
+
}
|
|
712
|
+
interface Empty {
|
|
713
|
+
}
|
|
714
|
+
/** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
|
|
715
|
+
interface SitePropertiesNotification {
|
|
716
|
+
/** The site ID for which this update notification applies. */
|
|
717
|
+
metasiteId?: string;
|
|
718
|
+
/** The actual update event. */
|
|
719
|
+
event?: SitePropertiesEvent;
|
|
720
|
+
/**
|
|
721
|
+
* A convenience set of mappings from the MetaSite ID to its constituent services.
|
|
722
|
+
* @maxSize 500
|
|
723
|
+
*/
|
|
724
|
+
translations?: Translation[];
|
|
725
|
+
/** Context of the notification */
|
|
726
|
+
changeContext?: ChangeContext;
|
|
727
|
+
}
|
|
728
|
+
/** The actual update event for a particular notification. */
|
|
729
|
+
interface SitePropertiesEvent {
|
|
730
|
+
/** Version of the site's properties represented by this update. */
|
|
731
|
+
version?: number;
|
|
732
|
+
/** Set of properties that were updated - corresponds to the fields in "properties". */
|
|
733
|
+
fields?: string[];
|
|
734
|
+
/** Updated properties. */
|
|
735
|
+
properties?: Properties;
|
|
736
|
+
}
|
|
737
|
+
interface Properties {
|
|
738
|
+
/** Site categories. */
|
|
739
|
+
categories?: Categories;
|
|
740
|
+
/** Site locale. */
|
|
741
|
+
locale?: Locale;
|
|
742
|
+
/**
|
|
743
|
+
* Site language.
|
|
744
|
+
*
|
|
745
|
+
* Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
|
|
746
|
+
*/
|
|
747
|
+
language?: string | null;
|
|
748
|
+
/**
|
|
749
|
+
* Site currency format used to bill customers.
|
|
750
|
+
*
|
|
751
|
+
* Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
|
|
752
|
+
*/
|
|
753
|
+
paymentCurrency?: string | null;
|
|
754
|
+
/** Timezone in `America/New_York` format. */
|
|
755
|
+
timeZone?: string | null;
|
|
756
|
+
/** Email address. */
|
|
757
|
+
email?: string | null;
|
|
758
|
+
/** Phone number. */
|
|
759
|
+
phone?: string | null;
|
|
760
|
+
/** Fax number. */
|
|
761
|
+
fax?: string | null;
|
|
762
|
+
/** Address. */
|
|
763
|
+
address?: Address;
|
|
764
|
+
/** Site display name. */
|
|
765
|
+
siteDisplayName?: string | null;
|
|
766
|
+
/** Business name. */
|
|
767
|
+
businessName?: string | null;
|
|
768
|
+
/** Path to the site's logo in Wix Media (without Wix Media base URL). */
|
|
769
|
+
logo?: string | null;
|
|
770
|
+
/** Site description. */
|
|
771
|
+
description?: string | null;
|
|
772
|
+
/**
|
|
773
|
+
* Business schedule. Regular and exceptional time periods when the business is open or the service is available.
|
|
774
|
+
*
|
|
775
|
+
* __Note:__ Not supported by Wix Bookings.
|
|
776
|
+
*/
|
|
777
|
+
businessSchedule?: BusinessSchedule;
|
|
778
|
+
/** Supported languages of a site and the primary language. */
|
|
779
|
+
multilingual?: Multilingual;
|
|
780
|
+
/** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
|
|
781
|
+
consentPolicy?: ConsentPolicy;
|
|
782
|
+
/**
|
|
783
|
+
* Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
|
|
784
|
+
*
|
|
785
|
+
* Site business type.
|
|
786
|
+
*/
|
|
787
|
+
businessConfig?: string | null;
|
|
788
|
+
/** External site URL that uses Wix as its headless business solution. */
|
|
789
|
+
externalSiteUrl?: string | null;
|
|
790
|
+
/** Track clicks analytics. */
|
|
791
|
+
trackClicksAnalytics?: boolean;
|
|
792
|
+
}
|
|
793
|
+
interface Categories {
|
|
794
|
+
/** Primary site category. */
|
|
795
|
+
primary?: string;
|
|
796
|
+
/**
|
|
797
|
+
* Secondary site category.
|
|
798
|
+
* @maxSize 50
|
|
799
|
+
*/
|
|
800
|
+
secondary?: string[];
|
|
801
|
+
/** Business Term Id */
|
|
802
|
+
businessTermId?: string | null;
|
|
803
|
+
}
|
|
804
|
+
interface Locale {
|
|
805
|
+
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
806
|
+
languageCode?: string;
|
|
807
|
+
/** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
|
|
808
|
+
country?: string;
|
|
809
|
+
}
|
|
810
|
+
interface Address {
|
|
811
|
+
/** Street name. */
|
|
812
|
+
street?: string;
|
|
813
|
+
/** City name. */
|
|
814
|
+
city?: string;
|
|
815
|
+
/** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
|
|
816
|
+
country?: string;
|
|
817
|
+
/** State. */
|
|
818
|
+
state?: string;
|
|
819
|
+
/**
|
|
820
|
+
* Zip or postal code.
|
|
821
|
+
* @maxLength 20
|
|
822
|
+
*/
|
|
823
|
+
zip?: string;
|
|
824
|
+
/** Extra information to be displayed in the address. */
|
|
825
|
+
hint?: AddressHint;
|
|
826
|
+
/** Whether this address represents a physical location. */
|
|
827
|
+
isPhysical?: boolean;
|
|
828
|
+
/** Google-formatted version of this address. */
|
|
829
|
+
googleFormattedAddress?: string;
|
|
830
|
+
/** Street number. */
|
|
831
|
+
streetNumber?: string;
|
|
832
|
+
/** Apartment number. */
|
|
833
|
+
apartmentNumber?: string;
|
|
834
|
+
/** Geographic coordinates of location. */
|
|
835
|
+
coordinates?: GeoCoordinates;
|
|
836
|
+
}
|
|
837
|
+
/**
|
|
838
|
+
* Extra information on displayed addresses.
|
|
839
|
+
* This is used for display purposes. Used to add additional data about the address, such as "In the passage".
|
|
840
|
+
* Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
|
|
841
|
+
*/
|
|
842
|
+
interface AddressHint {
|
|
843
|
+
/** Extra text displayed next to, or instead of, the actual address. */
|
|
844
|
+
text?: string;
|
|
845
|
+
/** Where the extra text should be displayed. */
|
|
846
|
+
placement?: PlacementTypeWithLiterals;
|
|
847
|
+
}
|
|
848
|
+
/** Where the extra text should be displayed: before, after or instead of the actual address. */
|
|
849
|
+
declare enum PlacementType {
|
|
850
|
+
BEFORE = "BEFORE",
|
|
851
|
+
AFTER = "AFTER",
|
|
852
|
+
REPLACE = "REPLACE"
|
|
853
|
+
}
|
|
854
|
+
/** @enumType */
|
|
855
|
+
type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
|
|
856
|
+
/** Geocoordinates for a particular address. */
|
|
857
|
+
interface GeoCoordinates {
|
|
858
|
+
/** Latitude of the location. Must be between -90 and 90. */
|
|
859
|
+
latitude?: number;
|
|
860
|
+
/** Longitude of the location. Must be between -180 and 180. */
|
|
861
|
+
longitude?: number;
|
|
862
|
+
}
|
|
863
|
+
/** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
|
|
864
|
+
interface BusinessSchedule {
|
|
865
|
+
/**
|
|
866
|
+
* Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
|
|
867
|
+
* @maxSize 100
|
|
868
|
+
*/
|
|
869
|
+
periods?: TimePeriod[];
|
|
870
|
+
/**
|
|
871
|
+
* Exceptions to the business's regular hours. The business can be open or closed during the exception.
|
|
872
|
+
* @maxSize 100
|
|
873
|
+
*/
|
|
874
|
+
specialHourPeriod?: SpecialHourPeriod[];
|
|
875
|
+
}
|
|
876
|
+
/** Weekly recurring time periods when the business is regularly open or the service is available. */
|
|
877
|
+
interface TimePeriod {
|
|
878
|
+
/** Day of the week the period starts on. */
|
|
879
|
+
openDay?: DayOfWeekWithLiterals;
|
|
880
|
+
/**
|
|
881
|
+
* Time the period starts in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
|
|
882
|
+
* midnight at the end of the specified day.
|
|
883
|
+
*/
|
|
884
|
+
openTime?: string;
|
|
885
|
+
/** Day of the week the period ends on. */
|
|
886
|
+
closeDay?: DayOfWeekWithLiterals;
|
|
887
|
+
/**
|
|
888
|
+
* Time the period ends in 24-hour [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) extended format. Valid values are `00:00` to `24:00`, where `24:00` represents
|
|
889
|
+
* midnight at the end of the specified day.
|
|
890
|
+
*
|
|
891
|
+
* __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
|
|
892
|
+
*/
|
|
893
|
+
closeTime?: string;
|
|
894
|
+
}
|
|
895
|
+
/** Enumerates the days of the week. */
|
|
896
|
+
declare enum DayOfWeek {
|
|
897
|
+
MONDAY = "MONDAY",
|
|
898
|
+
TUESDAY = "TUESDAY",
|
|
899
|
+
WEDNESDAY = "WEDNESDAY",
|
|
900
|
+
THURSDAY = "THURSDAY",
|
|
901
|
+
FRIDAY = "FRIDAY",
|
|
902
|
+
SATURDAY = "SATURDAY",
|
|
903
|
+
SUNDAY = "SUNDAY"
|
|
904
|
+
}
|
|
905
|
+
/** @enumType */
|
|
906
|
+
type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
|
|
907
|
+
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
908
|
+
interface SpecialHourPeriod {
|
|
909
|
+
/** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
|
|
910
|
+
startDate?: string;
|
|
911
|
+
/** End date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
|
|
912
|
+
endDate?: string;
|
|
913
|
+
/**
|
|
914
|
+
* Whether the business is closed (or the service is not available) during the exception.
|
|
915
|
+
*
|
|
916
|
+
* Default: `true`.
|
|
917
|
+
*/
|
|
918
|
+
isClosed?: boolean;
|
|
919
|
+
/** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
|
|
920
|
+
comment?: string;
|
|
921
|
+
}
|
|
922
|
+
interface Multilingual {
|
|
923
|
+
/**
|
|
924
|
+
* Supported languages list.
|
|
925
|
+
* @maxSize 200
|
|
926
|
+
*/
|
|
927
|
+
supportedLanguages?: SupportedLanguage[];
|
|
928
|
+
/** Whether to redirect to user language. */
|
|
929
|
+
autoRedirect?: boolean;
|
|
930
|
+
}
|
|
931
|
+
interface SupportedLanguage {
|
|
932
|
+
/** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
|
|
933
|
+
languageCode?: string;
|
|
934
|
+
/** Locale. */
|
|
935
|
+
locale?: Locale;
|
|
936
|
+
/** Whether the supported language is the primary language for the site. */
|
|
937
|
+
isPrimary?: boolean;
|
|
938
|
+
/** Language icon. */
|
|
939
|
+
countryCode?: string;
|
|
940
|
+
/** How the language will be resolved. For internal use. */
|
|
941
|
+
resolutionMethod?: ResolutionMethodWithLiterals;
|
|
942
|
+
/** Whether the supported language is the primary language for site visitors. */
|
|
943
|
+
isVisitorPrimary?: boolean | null;
|
|
944
|
+
}
|
|
945
|
+
declare enum ResolutionMethod {
|
|
946
|
+
QUERY_PARAM = "QUERY_PARAM",
|
|
947
|
+
SUBDOMAIN = "SUBDOMAIN",
|
|
948
|
+
SUBDIRECTORY = "SUBDIRECTORY"
|
|
949
|
+
}
|
|
950
|
+
/** @enumType */
|
|
951
|
+
type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
|
|
952
|
+
interface ConsentPolicy {
|
|
953
|
+
/** Whether the site uses cookies that are essential to site operation. Always `true`. */
|
|
954
|
+
essential?: boolean | null;
|
|
955
|
+
/** Whether the site uses cookies that affect site performance and other functional measurements. */
|
|
956
|
+
functional?: boolean | null;
|
|
957
|
+
/** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
|
|
958
|
+
analytics?: boolean | null;
|
|
959
|
+
/** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
|
|
960
|
+
advertising?: boolean | null;
|
|
961
|
+
/** CCPA compliance flag. */
|
|
962
|
+
dataToThirdParty?: boolean | null;
|
|
963
|
+
}
|
|
964
|
+
/** A single mapping from the MetaSite ID to a particular service. */
|
|
965
|
+
interface Translation {
|
|
966
|
+
/** The service type. */
|
|
967
|
+
serviceType?: string;
|
|
968
|
+
/** The application definition ID; this only applies to services of type ThirdPartyApps. */
|
|
969
|
+
appDefId?: string;
|
|
970
|
+
/** The instance ID of the service. */
|
|
971
|
+
instanceId?: string;
|
|
972
|
+
}
|
|
973
|
+
interface ChangeContext extends ChangeContextPayloadOneOf {
|
|
974
|
+
/** Properties were updated. */
|
|
975
|
+
propertiesChange?: PropertiesChange;
|
|
976
|
+
/** Default properties were created on site creation. */
|
|
977
|
+
siteCreated?: V4SiteCreated;
|
|
978
|
+
/** Properties were cloned on site cloning. */
|
|
979
|
+
siteCloned?: SiteCloned;
|
|
980
|
+
}
|
|
981
|
+
/** @oneof */
|
|
982
|
+
interface ChangeContextPayloadOneOf {
|
|
983
|
+
/** Properties were updated. */
|
|
984
|
+
propertiesChange?: PropertiesChange;
|
|
985
|
+
/** Default properties were created on site creation. */
|
|
986
|
+
siteCreated?: V4SiteCreated;
|
|
987
|
+
/** Properties were cloned on site cloning. */
|
|
988
|
+
siteCloned?: SiteCloned;
|
|
989
|
+
}
|
|
990
|
+
interface PropertiesChange {
|
|
991
|
+
}
|
|
992
|
+
interface V4SiteCreated {
|
|
993
|
+
/** Origin template site id. */
|
|
994
|
+
originTemplateId?: string | null;
|
|
995
|
+
}
|
|
996
|
+
interface SiteCloned {
|
|
997
|
+
/** Origin site id. */
|
|
998
|
+
originMetaSiteId?: string;
|
|
999
|
+
}
|
|
1000
|
+
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
1001
|
+
/** Emitted on a meta site creation. */
|
|
1002
|
+
siteCreated?: SiteCreated;
|
|
1003
|
+
/** Emitted on a meta site transfer completion. */
|
|
1004
|
+
siteTransferred?: SiteTransferred;
|
|
1005
|
+
/** Emitted on a meta site deletion. */
|
|
1006
|
+
siteDeleted?: SiteDeleted;
|
|
1007
|
+
/** Emitted on a meta site restoration. */
|
|
1008
|
+
siteUndeleted?: SiteUndeleted;
|
|
1009
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
1010
|
+
sitePublished?: SitePublished;
|
|
1011
|
+
/** Emitted on a meta site unpublish. */
|
|
1012
|
+
siteUnpublished?: SiteUnpublished;
|
|
1013
|
+
/** Emitted when meta site is marked as template. */
|
|
1014
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
1015
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
1016
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
1017
|
+
/** Emitted when an application is provisioned (installed). */
|
|
1018
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
1019
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
1020
|
+
serviceRemoved?: ServiceRemoved;
|
|
1021
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
1022
|
+
siteRenamedPayload?: SiteRenamed;
|
|
1023
|
+
/** Emitted when meta site was permanently deleted. */
|
|
1024
|
+
hardDeleted?: SiteHardDeleted;
|
|
1025
|
+
/** Emitted on a namespace change. */
|
|
1026
|
+
namespaceChanged?: NamespaceChanged;
|
|
1027
|
+
/** Emitted when Studio is attached. */
|
|
1028
|
+
studioAssigned?: StudioAssigned;
|
|
1029
|
+
/** Emitted when Studio is detached. */
|
|
1030
|
+
studioUnassigned?: StudioUnassigned;
|
|
1031
|
+
/**
|
|
1032
|
+
* Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
|
|
1033
|
+
* the actual URL.
|
|
1034
|
+
*
|
|
1035
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
|
|
1036
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
|
|
1037
|
+
*/
|
|
1038
|
+
urlChanged?: SiteUrlChanged;
|
|
1039
|
+
/** Site is marked as PurgedExternally */
|
|
1040
|
+
sitePurgedExternally?: SitePurgedExternally;
|
|
1041
|
+
/** Emitted when Odeditor is attached. */
|
|
1042
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
1043
|
+
/** Emitted when Odeditor is detached. */
|
|
1044
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
1045
|
+
/** Emitted when Picasso is attached. */
|
|
1046
|
+
picassoAssigned?: PicassoAssigned;
|
|
1047
|
+
/** Emitted when Picasso is detached. */
|
|
1048
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
1049
|
+
/**
|
|
1050
|
+
* A meta site id.
|
|
1051
|
+
* @format GUID
|
|
1052
|
+
*/
|
|
1053
|
+
metaSiteId?: string;
|
|
1054
|
+
/** A meta site version. Monotonically increasing. */
|
|
1055
|
+
version?: string;
|
|
1056
|
+
/** A timestamp of the event. */
|
|
1057
|
+
timestamp?: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* TODO(meta-site): Change validation once validations are disabled for consumers
|
|
1060
|
+
* More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
|
|
1061
|
+
* @maxSize 4000
|
|
1062
|
+
*/
|
|
1063
|
+
assets?: Asset[];
|
|
1064
|
+
}
|
|
1065
|
+
/** @oneof */
|
|
1066
|
+
interface MetaSiteSpecialEventPayloadOneOf {
|
|
1067
|
+
/** Emitted on a meta site creation. */
|
|
1068
|
+
siteCreated?: SiteCreated;
|
|
1069
|
+
/** Emitted on a meta site transfer completion. */
|
|
1070
|
+
siteTransferred?: SiteTransferred;
|
|
1071
|
+
/** Emitted on a meta site deletion. */
|
|
1072
|
+
siteDeleted?: SiteDeleted;
|
|
1073
|
+
/** Emitted on a meta site restoration. */
|
|
1074
|
+
siteUndeleted?: SiteUndeleted;
|
|
1075
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
1076
|
+
sitePublished?: SitePublished;
|
|
1077
|
+
/** Emitted on a meta site unpublish. */
|
|
1078
|
+
siteUnpublished?: SiteUnpublished;
|
|
1079
|
+
/** Emitted when meta site is marked as template. */
|
|
1080
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
1081
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
1082
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
1083
|
+
/** Emitted when an application is provisioned (installed). */
|
|
1084
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
1085
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
1086
|
+
serviceRemoved?: ServiceRemoved;
|
|
1087
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
1088
|
+
siteRenamedPayload?: SiteRenamed;
|
|
1089
|
+
/** Emitted when meta site was permanently deleted. */
|
|
1090
|
+
hardDeleted?: SiteHardDeleted;
|
|
1091
|
+
/** Emitted on a namespace change. */
|
|
1092
|
+
namespaceChanged?: NamespaceChanged;
|
|
1093
|
+
/** Emitted when Studio is attached. */
|
|
1094
|
+
studioAssigned?: StudioAssigned;
|
|
1095
|
+
/** Emitted when Studio is detached. */
|
|
1096
|
+
studioUnassigned?: StudioUnassigned;
|
|
1097
|
+
/**
|
|
1098
|
+
* Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
|
|
1099
|
+
* the actual URL.
|
|
1100
|
+
*
|
|
1101
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
|
|
1102
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
|
|
1103
|
+
*/
|
|
1104
|
+
urlChanged?: SiteUrlChanged;
|
|
1105
|
+
/** Site is marked as PurgedExternally */
|
|
1106
|
+
sitePurgedExternally?: SitePurgedExternally;
|
|
1107
|
+
/** Emitted when Odeditor is attached. */
|
|
1108
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
1109
|
+
/** Emitted when Odeditor is detached. */
|
|
1110
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
1111
|
+
/** Emitted when Picasso is attached. */
|
|
1112
|
+
picassoAssigned?: PicassoAssigned;
|
|
1113
|
+
/** Emitted when Picasso is detached. */
|
|
1114
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
1115
|
+
}
|
|
1116
|
+
interface Asset {
|
|
1117
|
+
/**
|
|
1118
|
+
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
|
|
1119
|
+
* @maxLength 36
|
|
1120
|
+
*/
|
|
1121
|
+
appDefId?: string;
|
|
1122
|
+
/**
|
|
1123
|
+
* An instance id. For legacy reasons may be UUID or a string.
|
|
1124
|
+
* @maxLength 200
|
|
1125
|
+
*/
|
|
1126
|
+
instanceId?: string;
|
|
1127
|
+
/** An application state. */
|
|
1128
|
+
state?: StateWithLiterals;
|
|
1129
|
+
}
|
|
1130
|
+
declare enum State {
|
|
1131
|
+
UNKNOWN = "UNKNOWN",
|
|
1132
|
+
ENABLED = "ENABLED",
|
|
1133
|
+
DISABLED = "DISABLED",
|
|
1134
|
+
PENDING = "PENDING",
|
|
1135
|
+
DEMO = "DEMO"
|
|
1136
|
+
}
|
|
1137
|
+
/** @enumType */
|
|
1138
|
+
type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
1139
|
+
interface SiteCreated {
|
|
1140
|
+
/**
|
|
1141
|
+
* A template identifier (empty if not created from a template).
|
|
1142
|
+
* @maxLength 36
|
|
1143
|
+
*/
|
|
1144
|
+
originTemplateId?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* An account id of the owner.
|
|
1147
|
+
* @format GUID
|
|
1148
|
+
*/
|
|
1149
|
+
ownerId?: string;
|
|
1150
|
+
/** A context in which meta site was created. */
|
|
1151
|
+
context?: SiteCreatedContextWithLiterals;
|
|
1152
|
+
/**
|
|
1153
|
+
* A meta site id from which this site was created.
|
|
1154
|
+
*
|
|
1155
|
+
* In case of a creation from a template it's a template id.
|
|
1156
|
+
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
|
|
1157
|
+
* @format GUID
|
|
1158
|
+
*/
|
|
1159
|
+
originMetaSiteId?: string | null;
|
|
1160
|
+
/**
|
|
1161
|
+
* A meta site name (URL slug).
|
|
1162
|
+
* @maxLength 20
|
|
1163
|
+
*/
|
|
1164
|
+
siteName?: string;
|
|
1165
|
+
/** A namespace. */
|
|
1166
|
+
namespace?: NamespaceWithLiterals;
|
|
1167
|
+
}
|
|
1168
|
+
declare enum SiteCreatedContext {
|
|
1169
|
+
/** A valid option, we don't expose all reasons why site might be created. */
|
|
1170
|
+
OTHER = "OTHER",
|
|
1171
|
+
/** A meta site was created from template. */
|
|
1172
|
+
FROM_TEMPLATE = "FROM_TEMPLATE",
|
|
1173
|
+
/** A meta site was created by copying of the transfferred meta site. */
|
|
1174
|
+
DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
|
|
1175
|
+
/** A copy of existing meta site. */
|
|
1176
|
+
DUPLICATE = "DUPLICATE",
|
|
1177
|
+
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
|
|
1178
|
+
OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
|
|
1179
|
+
/** deprecated A meta site was created for Flash editor. */
|
|
1180
|
+
FLASH = "FLASH"
|
|
1181
|
+
}
|
|
1182
|
+
/** @enumType */
|
|
1183
|
+
type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
1184
|
+
declare enum Namespace {
|
|
1185
|
+
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
1186
|
+
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
1187
|
+
WIX = "WIX",
|
|
1188
|
+
/** ShoutOut stand alone product. These are siteless (no actual Wix site, no HtmlWeb). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1189
|
+
SHOUT_OUT = "SHOUT_OUT",
|
|
1190
|
+
/** MetaSites created by the Albums product, they appear as part of the Albums app. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1191
|
+
ALBUMS = "ALBUMS",
|
|
1192
|
+
/** Part of the WixStores migration flow, a user tries to migrate and gets this site to view and if the user likes it then stores removes this namespace and deletes the old site with the old stores. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1193
|
+
WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
|
|
1194
|
+
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1195
|
+
HOTELS = "HOTELS",
|
|
1196
|
+
/** Clubs siteless MetaSites, a club without a wix website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1197
|
+
CLUBS = "CLUBS",
|
|
1198
|
+
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1199
|
+
ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
|
|
1200
|
+
/** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1201
|
+
DEV_SITE = "DEV_SITE",
|
|
1202
|
+
/** LogoMaker websites offered to the user after logo purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1203
|
+
LOGOS = "LOGOS",
|
|
1204
|
+
/** VideoMaker websites offered to the user after video purchase. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1205
|
+
VIDEO_MAKER = "VIDEO_MAKER",
|
|
1206
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1207
|
+
PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
|
|
1208
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1209
|
+
DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
|
|
1210
|
+
/**
|
|
1211
|
+
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
|
|
1212
|
+
*
|
|
1213
|
+
* Meta site with this namespace will *not* be shown in a user's site list by default.
|
|
1214
|
+
*/
|
|
1215
|
+
HTML_DRAFT = "HTML_DRAFT",
|
|
1216
|
+
/**
|
|
1217
|
+
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
|
|
1218
|
+
* Will be accessible from Site List and will not have a website app.
|
|
1219
|
+
* Once the user attaches a site, the site will become a regular wixsite.
|
|
1220
|
+
*/
|
|
1221
|
+
SITELESS_BUSINESS = "SITELESS_BUSINESS",
|
|
1222
|
+
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
|
|
1223
|
+
CREATOR_ECONOMY = "CREATOR_ECONOMY",
|
|
1224
|
+
/** It is to be used in the Business First efforts. */
|
|
1225
|
+
DASHBOARD_FIRST = "DASHBOARD_FIRST",
|
|
1226
|
+
/** Bookings business flow with no site. */
|
|
1227
|
+
ANYWHERE = "ANYWHERE",
|
|
1228
|
+
/** Namespace for Headless Backoffice with no editor */
|
|
1229
|
+
HEADLESS = "HEADLESS",
|
|
1230
|
+
/**
|
|
1231
|
+
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
|
|
1232
|
+
* The site will be used for account level CSM feature for enterprise
|
|
1233
|
+
*/
|
|
1234
|
+
ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
|
|
1235
|
+
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
1236
|
+
RISE = "RISE",
|
|
1237
|
+
/**
|
|
1238
|
+
* As part of the branded app new funnel, users now can create a meta site that will be branded app first.
|
|
1239
|
+
* There's a blank site behind the scene but it's blank).
|
|
1240
|
+
* The Mobile company will be the owner of this namespace.
|
|
1241
|
+
*/
|
|
1242
|
+
BRANDED_FIRST = "BRANDED_FIRST",
|
|
1243
|
+
/** Nownia.com Siteless account management for Ai Scheduling Assistant. */
|
|
1244
|
+
NOWNIA = "NOWNIA",
|
|
1245
|
+
/**
|
|
1246
|
+
* UGC Templates are templates that are created by users for personal use and to sale to other users.
|
|
1247
|
+
* The Partners company owns this namespace.
|
|
1248
|
+
*/
|
|
1249
|
+
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
1250
|
+
/** Codux Headless Sites */
|
|
1251
|
+
CODUX = "CODUX",
|
|
1252
|
+
/** Bobb - AI Design Creator. */
|
|
1253
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
|
|
1254
|
+
/**
|
|
1255
|
+
* Shared Blog Site is a unique single site across Enterprise account,
|
|
1256
|
+
* This site will hold all Blog posts related to the Marketing product.
|
|
1257
|
+
*/
|
|
1258
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
1259
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1260
|
+
STANDALONE_FORMS = "STANDALONE_FORMS",
|
|
1261
|
+
/** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
1262
|
+
STANDALONE_EVENTS = "STANDALONE_EVENTS",
|
|
1263
|
+
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
1264
|
+
MIMIR = "MIMIR",
|
|
1265
|
+
/** Wix Twins platform. */
|
|
1266
|
+
TWINS = "TWINS",
|
|
1267
|
+
/** Wix Nano. */
|
|
1268
|
+
NANO = "NANO"
|
|
1269
|
+
}
|
|
1270
|
+
/** @enumType */
|
|
1271
|
+
type NamespaceWithLiterals = Namespace | 'UNKNOWN_NAMESPACE' | 'WIX' | 'SHOUT_OUT' | 'ALBUMS' | 'WIX_STORES_TEST_DRIVE' | 'HOTELS' | 'CLUBS' | 'ONBOARDING_DRAFT' | 'DEV_SITE' | 'LOGOS' | 'VIDEO_MAKER' | 'PARTNER_DASHBOARD' | 'DEV_CENTER_COMPANY' | 'HTML_DRAFT' | 'SITELESS_BUSINESS' | 'CREATOR_ECONOMY' | 'DASHBOARD_FIRST' | 'ANYWHERE' | 'HEADLESS' | 'ACCOUNT_MASTER_CMS' | 'RISE' | 'BRANDED_FIRST' | 'NOWNIA' | 'UGC_TEMPLATE' | 'CODUX' | 'MEDIA_DESIGN_CREATOR' | 'SHARED_BLOG_ENTERPRISE' | 'STANDALONE_FORMS' | 'STANDALONE_EVENTS' | 'MIMIR' | 'TWINS' | 'NANO';
|
|
1272
|
+
/** Site transferred to another user. */
|
|
1273
|
+
interface SiteTransferred {
|
|
1274
|
+
/**
|
|
1275
|
+
* A previous owner id (user that transfers meta site).
|
|
1276
|
+
* @format GUID
|
|
1277
|
+
*/
|
|
1278
|
+
oldOwnerId?: string;
|
|
1279
|
+
/**
|
|
1280
|
+
* A new owner id (user that accepts meta site).
|
|
1281
|
+
* @format GUID
|
|
1282
|
+
*/
|
|
1283
|
+
newOwnerId?: string;
|
|
1284
|
+
}
|
|
1285
|
+
/** Soft deletion of the meta site. Could be restored. */
|
|
1286
|
+
interface SiteDeleted {
|
|
1287
|
+
/** A deletion context. */
|
|
1288
|
+
deleteContext?: DeleteContext;
|
|
1289
|
+
}
|
|
1290
|
+
interface DeleteContext {
|
|
1291
|
+
/** When the meta site was deleted. */
|
|
1292
|
+
dateDeleted?: Date | null;
|
|
1293
|
+
/** A status. */
|
|
1294
|
+
deleteStatus?: DeleteStatusWithLiterals;
|
|
1295
|
+
/**
|
|
1296
|
+
* A reason (flow).
|
|
1297
|
+
* @maxLength 255
|
|
1298
|
+
*/
|
|
1299
|
+
deleteOrigin?: string;
|
|
1300
|
+
/**
|
|
1301
|
+
* A service that deleted it.
|
|
1302
|
+
* @maxLength 255
|
|
1303
|
+
*/
|
|
1304
|
+
initiatorId?: string | null;
|
|
1305
|
+
}
|
|
1306
|
+
declare enum DeleteStatus {
|
|
1307
|
+
UNKNOWN = "UNKNOWN",
|
|
1308
|
+
TRASH = "TRASH",
|
|
1309
|
+
DELETED = "DELETED",
|
|
1310
|
+
PENDING_PURGE = "PENDING_PURGE",
|
|
1311
|
+
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
1312
|
+
}
|
|
1313
|
+
/** @enumType */
|
|
1314
|
+
type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
1315
|
+
/** Restoration of the meta site. */
|
|
1316
|
+
interface SiteUndeleted {
|
|
1317
|
+
}
|
|
1318
|
+
/** First publish of a meta site. Or subsequent publish after unpublish. */
|
|
1319
|
+
interface SitePublished {
|
|
1320
|
+
}
|
|
1321
|
+
interface SiteUnpublished {
|
|
1322
|
+
/**
|
|
1323
|
+
* A list of URLs previously associated with the meta site.
|
|
1324
|
+
* @maxLength 4000
|
|
1325
|
+
* @maxSize 10000
|
|
1326
|
+
*/
|
|
1327
|
+
urls?: string[];
|
|
1328
|
+
}
|
|
1329
|
+
interface SiteMarkedAsTemplate {
|
|
1330
|
+
}
|
|
1331
|
+
interface SiteMarkedAsWixSite {
|
|
1332
|
+
}
|
|
1333
|
+
/**
|
|
1334
|
+
* Represents a service provisioned a site.
|
|
1335
|
+
*
|
|
1336
|
+
* Note on `origin_instance_id`:
|
|
1337
|
+
* There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
|
|
1338
|
+
* This is because of the following scenario:
|
|
1339
|
+
*
|
|
1340
|
+
* Imagine you have a template where a third-party application (TPA) includes some stub data,
|
|
1341
|
+
* such as a product catalog. When you create a site from this template, you inherit this
|
|
1342
|
+
* default product catalog. However, if the template's product catalog is modified,
|
|
1343
|
+
* your site will retain the catalog as it was at the time of site creation. This ensures that
|
|
1344
|
+
* your site remains consistent with what you initially received and does not include any
|
|
1345
|
+
* changes made to the original template afterward.
|
|
1346
|
+
* To ensure this, the TPA on the template gets a new instance_id.
|
|
1347
|
+
*/
|
|
1348
|
+
interface ServiceProvisioned {
|
|
1349
|
+
/**
|
|
1350
|
+
* Either UUID or EmbeddedServiceType.
|
|
1351
|
+
* @maxLength 36
|
|
1352
|
+
*/
|
|
1353
|
+
appDefId?: string;
|
|
1354
|
+
/**
|
|
1355
|
+
* Not only UUID. Something here could be something weird.
|
|
1356
|
+
* @maxLength 36
|
|
1357
|
+
*/
|
|
1358
|
+
instanceId?: string;
|
|
1359
|
+
/**
|
|
1360
|
+
* An instance id from which this instance is originated.
|
|
1361
|
+
* @maxLength 36
|
|
1362
|
+
*/
|
|
1363
|
+
originInstanceId?: string;
|
|
1364
|
+
/**
|
|
1365
|
+
* A version.
|
|
1366
|
+
* @maxLength 500
|
|
1367
|
+
*/
|
|
1368
|
+
version?: string | null;
|
|
1369
|
+
/**
|
|
1370
|
+
* The origin meta site id
|
|
1371
|
+
* @format GUID
|
|
1372
|
+
*/
|
|
1373
|
+
originMetaSiteId?: string | null;
|
|
1374
|
+
}
|
|
1375
|
+
interface ServiceRemoved {
|
|
1376
|
+
/**
|
|
1377
|
+
* Either UUID or EmbeddedServiceType.
|
|
1378
|
+
* @maxLength 36
|
|
1379
|
+
*/
|
|
1380
|
+
appDefId?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* Not only UUID. Something here could be something weird.
|
|
1383
|
+
* @maxLength 36
|
|
1384
|
+
*/
|
|
1385
|
+
instanceId?: string;
|
|
1386
|
+
/**
|
|
1387
|
+
* A version.
|
|
1388
|
+
* @maxLength 500
|
|
1389
|
+
*/
|
|
1390
|
+
version?: string | null;
|
|
1391
|
+
}
|
|
1392
|
+
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
1393
|
+
interface SiteRenamed {
|
|
1394
|
+
/**
|
|
1395
|
+
* A new meta site name (URL slug).
|
|
1396
|
+
* @maxLength 20
|
|
1397
|
+
*/
|
|
1398
|
+
newSiteName?: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* A previous meta site name (URL slug).
|
|
1401
|
+
* @maxLength 255
|
|
1402
|
+
*/
|
|
1403
|
+
oldSiteName?: string;
|
|
1404
|
+
}
|
|
1405
|
+
/**
|
|
1406
|
+
* Hard deletion of the meta site.
|
|
1407
|
+
*
|
|
1408
|
+
* Could not be restored. Therefore it's desirable to cleanup data.
|
|
1409
|
+
*/
|
|
1410
|
+
interface SiteHardDeleted {
|
|
1411
|
+
/** A deletion context. */
|
|
1412
|
+
deleteContext?: DeleteContext;
|
|
1413
|
+
}
|
|
1414
|
+
interface NamespaceChanged {
|
|
1415
|
+
/** A previous namespace. */
|
|
1416
|
+
oldNamespace?: NamespaceWithLiterals;
|
|
1417
|
+
/** A new namespace. */
|
|
1418
|
+
newNamespace?: NamespaceWithLiterals;
|
|
1419
|
+
}
|
|
1420
|
+
/** Assigned Studio editor */
|
|
1421
|
+
interface StudioAssigned {
|
|
1422
|
+
}
|
|
1423
|
+
/** Unassigned Studio editor */
|
|
1424
|
+
interface StudioUnassigned {
|
|
1425
|
+
}
|
|
1426
|
+
/**
|
|
1427
|
+
* Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
|
|
1428
|
+
*
|
|
1429
|
+
* This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
|
|
1430
|
+
* with sites and its urls, you need to listen to another topic/event. Read about it:
|
|
1431
|
+
*
|
|
1432
|
+
* https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
|
|
1433
|
+
*/
|
|
1434
|
+
interface SiteUrlChanged {
|
|
1435
|
+
}
|
|
1436
|
+
/**
|
|
1437
|
+
* Used at the end of the deletion flow for both draft sites and when a user deletes a site.
|
|
1438
|
+
* Consumed by other teams to remove relevant data.
|
|
1439
|
+
*/
|
|
1440
|
+
interface SitePurgedExternally {
|
|
1441
|
+
/**
|
|
1442
|
+
* @maxLength 2048
|
|
1443
|
+
* @maxSize 100
|
|
1444
|
+
* @deprecated
|
|
1445
|
+
* @targetRemovalDate 2025-04-15
|
|
1446
|
+
*/
|
|
1447
|
+
appDefId?: string[];
|
|
1448
|
+
}
|
|
1449
|
+
/** Assigned Odeditor */
|
|
1450
|
+
interface OdeditorAssigned {
|
|
1451
|
+
}
|
|
1452
|
+
/** Unassigned Odeditor */
|
|
1453
|
+
interface OdeditorUnassigned {
|
|
1454
|
+
}
|
|
1455
|
+
/** Assigned Picasso editor */
|
|
1456
|
+
interface PicassoAssigned {
|
|
1457
|
+
}
|
|
1458
|
+
/** Unassigned Picasso */
|
|
1459
|
+
interface PicassoUnassigned {
|
|
1460
|
+
}
|
|
1461
|
+
interface MessageEnvelope {
|
|
1462
|
+
/**
|
|
1463
|
+
* App instance ID.
|
|
1464
|
+
* @format GUID
|
|
1465
|
+
*/
|
|
1466
|
+
instanceId?: string | null;
|
|
1467
|
+
/**
|
|
1468
|
+
* Event type.
|
|
1469
|
+
* @maxLength 150
|
|
1470
|
+
*/
|
|
1471
|
+
eventType?: string;
|
|
1472
|
+
/** The identification type and identity data. */
|
|
1473
|
+
identity?: IdentificationData;
|
|
1474
|
+
/** Stringify payload. */
|
|
1475
|
+
data?: string;
|
|
1476
|
+
}
|
|
1477
|
+
interface IdentificationData extends IdentificationDataIdOneOf {
|
|
1478
|
+
/**
|
|
1479
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1480
|
+
* @format GUID
|
|
1481
|
+
*/
|
|
1482
|
+
anonymousVisitorId?: string;
|
|
1483
|
+
/**
|
|
1484
|
+
* ID of a site visitor that has logged in to the site.
|
|
1485
|
+
* @format GUID
|
|
1486
|
+
*/
|
|
1487
|
+
memberId?: string;
|
|
1488
|
+
/**
|
|
1489
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1490
|
+
* @format GUID
|
|
1491
|
+
*/
|
|
1492
|
+
wixUserId?: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* ID of an app.
|
|
1495
|
+
* @format GUID
|
|
1496
|
+
*/
|
|
1497
|
+
appId?: string;
|
|
1498
|
+
/** @readonly */
|
|
1499
|
+
identityType?: WebhookIdentityTypeWithLiterals;
|
|
1500
|
+
}
|
|
1501
|
+
/** @oneof */
|
|
1502
|
+
interface IdentificationDataIdOneOf {
|
|
1503
|
+
/**
|
|
1504
|
+
* ID of a site visitor that has not logged in to the site.
|
|
1505
|
+
* @format GUID
|
|
1506
|
+
*/
|
|
1507
|
+
anonymousVisitorId?: string;
|
|
1508
|
+
/**
|
|
1509
|
+
* ID of a site visitor that has logged in to the site.
|
|
1510
|
+
* @format GUID
|
|
1511
|
+
*/
|
|
1512
|
+
memberId?: string;
|
|
1513
|
+
/**
|
|
1514
|
+
* ID of a Wix user (site owner, contributor, etc.).
|
|
1515
|
+
* @format GUID
|
|
1516
|
+
*/
|
|
1517
|
+
wixUserId?: string;
|
|
1518
|
+
/**
|
|
1519
|
+
* ID of an app.
|
|
1520
|
+
* @format GUID
|
|
1521
|
+
*/
|
|
1522
|
+
appId?: string;
|
|
1523
|
+
}
|
|
1524
|
+
declare enum WebhookIdentityType {
|
|
1525
|
+
UNKNOWN = "UNKNOWN",
|
|
1526
|
+
ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
|
|
1527
|
+
MEMBER = "MEMBER",
|
|
1528
|
+
WIX_USER = "WIX_USER",
|
|
1529
|
+
APP = "APP"
|
|
1530
|
+
}
|
|
1531
|
+
/** @enumType */
|
|
1532
|
+
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1533
|
+
/** @docsIgnore */
|
|
1534
|
+
type CreateBookingPolicyValidationErrors = {
|
|
1535
|
+
ruleName?: 'BOTH_LATE_AND_AFTER_START_POLICIES_NOT_ALLOWED';
|
|
1536
|
+
} | {
|
|
1537
|
+
ruleName?: 'INVALID_BOOKING_WINDOW';
|
|
1538
|
+
} | {
|
|
1539
|
+
ruleName?: 'CANCELLATION_FEE_WITHOUT_CREDIT_CARD';
|
|
1540
|
+
} | {
|
|
1541
|
+
ruleName?: 'CANCELLATION_FEE_WITHOUT_DESCRIPTION';
|
|
1542
|
+
} | {
|
|
1543
|
+
ruleName?: 'INVALID_CANCELLATION_WINDOWS_ORDER';
|
|
1544
|
+
} | {
|
|
1545
|
+
ruleName?: 'EMPTY_CANCELLATION_WINDOWS_LIST';
|
|
1546
|
+
};
|
|
1547
|
+
/** @docsIgnore */
|
|
1548
|
+
type UpdateBookingPolicyValidationErrors = {
|
|
1549
|
+
ruleName?: 'BOTH_LATE_AND_AFTER_START_POLICIES_NOT_ALLOWED';
|
|
1550
|
+
} | {
|
|
1551
|
+
ruleName?: 'INVALID_BOOKING_WINDOW';
|
|
1552
|
+
} | {
|
|
1553
|
+
ruleName?: 'CANCELLATION_FEE_WITHOUT_CREDIT_CARD';
|
|
1554
|
+
} | {
|
|
1555
|
+
ruleName?: 'CANCELLATION_FEE_WITHOUT_DESCRIPTION';
|
|
1556
|
+
} | {
|
|
1557
|
+
ruleName?: 'INVALID_CANCELLATION_WINDOWS_ORDER';
|
|
1558
|
+
} | {
|
|
1559
|
+
ruleName?: 'EMPTY_CANCELLATION_WINDOWS_LIST';
|
|
1560
|
+
};
|
|
1561
|
+
/** @docsIgnore */
|
|
1562
|
+
type DeleteBookingPolicyApplicationErrors = {
|
|
1563
|
+
code?: 'DEFAULT_POLICY_CANNOT_BE_DELETED';
|
|
1564
|
+
description?: string;
|
|
1565
|
+
data?: Record<string, any>;
|
|
1566
|
+
};
|
|
534
1567
|
|
|
535
1568
|
type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
536
1569
|
getUrl: (context: any) => string;
|
|
@@ -559,4 +1592,4 @@ declare function deleteBookingPolicy(): __PublicMethodMetaInfo<'DELETE', {
|
|
|
559
1592
|
declare function queryBookingPolicies(): __PublicMethodMetaInfo<'POST', {}, QueryBookingPoliciesRequest$1, QueryBookingPoliciesRequest, QueryBookingPoliciesResponse$1, QueryBookingPoliciesResponse>;
|
|
560
1593
|
declare function countBookingPolicies(): __PublicMethodMetaInfo<'POST', {}, CountBookingPoliciesRequest$1, CountBookingPoliciesRequest, CountBookingPoliciesResponse$1, CountBookingPoliciesResponse>;
|
|
561
1594
|
|
|
562
|
-
export { type __PublicMethodMetaInfo, countBookingPolicies, createBookingPolicy, deleteBookingPolicy, getBookingPolicy, getStrictestBookingPolicy, queryBookingPolicies, setDefaultBookingPolicy, updateBookingPolicy };
|
|
1595
|
+
export { type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type Asset as AssetOriginal, type BookAfterStartPolicy as BookAfterStartPolicyOriginal, type BookingPolicy as BookingPolicyOriginal, type BusinessSchedule as BusinessScheduleOriginal, type CancellationFeePolicy as CancellationFeePolicyOriginal, type CancellationPolicy as CancellationPolicyOriginal, type CancellationWindowFeeOneOf as CancellationWindowFeeOneOfOriginal, type CancellationWindow as CancellationWindowOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CountBookingPoliciesRequest as CountBookingPoliciesRequestOriginal, type CountBookingPoliciesResponse as CountBookingPoliciesResponseOriginal, type CreateBookingPolicyRequest as CreateBookingPolicyRequestOriginal, type CreateBookingPolicyResponse as CreateBookingPolicyResponseOriginal, type CreateBookingPolicyValidationErrors as CreateBookingPolicyValidationErrorsOriginal, type CreateMissingDefaultPolicyRequest as CreateMissingDefaultPolicyRequestOriginal, type CreateMissingDefaultPolicyResponse as CreateMissingDefaultPolicyResponseOriginal, type CursorPagingMetadata as CursorPagingMetadataOriginal, type CursorPaging as CursorPagingOriginal, type CursorQuery as CursorQueryOriginal, type CursorQueryPagingMethodOneOf as CursorQueryPagingMethodOneOfOriginal, type Cursors as CursorsOriginal, type CustomOptions as CustomOptionsOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DefaultBookingPolicySet as DefaultBookingPolicySetOriginal, type DeleteBookingPolicyApplicationErrors as DeleteBookingPolicyApplicationErrorsOriginal, type DeleteBookingPolicyRequest as DeleteBookingPolicyRequestOriginal, type DeleteBookingPolicyResponse as DeleteBookingPolicyResponseOriginal, type DeleteContext as DeleteContextOriginal, DeleteStatus as DeleteStatusOriginal, type DeleteStatusWithLiterals as DeleteStatusWithLiteralsOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Empty as EmptyOriginal, type EntityCreatedEvent as EntityCreatedEventOriginal, type EntityDeletedEvent as EntityDeletedEventOriginal, type EntityUpdatedEvent as EntityUpdatedEventOriginal, type ExtendedFields as ExtendedFieldsOriginal, type GeoCoordinates as GeoCoordinatesOriginal, type GetBookingPolicyRequest as GetBookingPolicyRequestOriginal, type GetBookingPolicyResponse as GetBookingPolicyResponseOriginal, type GetStrictestBookingPolicyRequest as GetStrictestBookingPolicyRequestOriginal, type GetStrictestBookingPolicyResponse as GetStrictestBookingPolicyResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type IntakeFormPolicy as IntakeFormPolicyOriginal, type LimitEarlyBookingPolicy as LimitEarlyBookingPolicyOriginal, type LimitLateBookingPolicy as LimitLateBookingPolicyOriginal, type Locale as LocaleOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type MetaSiteSpecialEvent as MetaSiteSpecialEventOriginal, type MetaSiteSpecialEventPayloadOneOf as MetaSiteSpecialEventPayloadOneOfOriginal, type Money as MoneyOriginal, type Multilingual as MultilingualOriginal, type NamespaceChanged as NamespaceChangedOriginal, Namespace as NamespaceOriginal, type NamespaceWithLiterals as NamespaceWithLiteralsOriginal, type OdeditorAssigned as OdeditorAssignedOriginal, type OdeditorUnassigned as OdeditorUnassignedOriginal, type ParticipantsPolicy as ParticipantsPolicyOriginal, type PicassoAssigned as PicassoAssignedOriginal, type PicassoUnassigned as PicassoUnassignedOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PolicyDescription as PolicyDescriptionOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type QueryBookingPoliciesRequest as QueryBookingPoliciesRequestOriginal, type QueryBookingPoliciesResponse as QueryBookingPoliciesResponseOriginal, type RankingOptions as RankingOptionsOriginal, RankingOrder as RankingOrderOriginal, type RankingOrderWithLiterals as RankingOrderWithLiteralsOriginal, type ReschedulePolicy as ReschedulePolicyOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type ResourcesPolicy as ResourcesPolicyOriginal, type RestoreInfo as RestoreInfoOriginal, type SaveCreditCardPolicy as SaveCreditCardPolicyOriginal, type ServiceProvisioned as ServiceProvisionedOriginal, type ServiceRemoved as ServiceRemovedOriginal, type SetDefaultBookingPolicyRequest as SetDefaultBookingPolicyRequestOriginal, type SetDefaultBookingPolicyResponse as SetDefaultBookingPolicyResponseOriginal, type SiteCloned as SiteClonedOriginal, SiteCreatedContext as SiteCreatedContextOriginal, type SiteCreatedContextWithLiterals as SiteCreatedContextWithLiteralsOriginal, type SiteCreated as SiteCreatedOriginal, type SiteDeleted as SiteDeletedOriginal, type SiteHardDeleted as SiteHardDeletedOriginal, type SiteMarkedAsTemplate as SiteMarkedAsTemplateOriginal, type SiteMarkedAsWixSite as SiteMarkedAsWixSiteOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, type SitePublished as SitePublishedOriginal, type SitePurgedExternally as SitePurgedExternallyOriginal, type SiteRenamed as SiteRenamedOriginal, type SiteTransferred as SiteTransferredOriginal, type SiteUndeleted as SiteUndeletedOriginal, type SiteUnpublished as SiteUnpublishedOriginal, type SiteUrlChanged as SiteUrlChangedOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, SortingMethodType as SortingMethodTypeOriginal, type SortingMethodTypeWithLiterals as SortingMethodTypeWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type StaffSortingPolicyOptionsOneOf as StaffSortingPolicyOptionsOneOfOriginal, type StaffSortingPolicy as StaffSortingPolicyOriginal, State as StateOriginal, type StateWithLiterals as StateWithLiteralsOriginal, type StudioAssigned as StudioAssignedOriginal, type StudioUnassigned as StudioUnassignedOriginal, type SupportedLanguage as SupportedLanguageOriginal, type TimePeriod as TimePeriodOriginal, type Translation as TranslationOriginal, type UpdateAllPoliciesRequest as UpdateAllPoliciesRequestOriginal, type UpdateAllPoliciesResponse as UpdateAllPoliciesResponseOriginal, type UpdateBookingPolicyRequest as UpdateBookingPolicyRequestOriginal, type UpdateBookingPolicyResponse as UpdateBookingPolicyResponseOriginal, type UpdateBookingPolicyValidationErrors as UpdateBookingPolicyValidationErrorsOriginal, type V4SiteCreated as V4SiteCreatedOriginal, type WaitlistPolicy as WaitlistPolicyOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, countBookingPolicies, createBookingPolicy, deleteBookingPolicy, getBookingPolicy, getStrictestBookingPolicy, queryBookingPolicies, setDefaultBookingPolicy, updateBookingPolicy };
|