@wix/auto_sdk_bookings_service-options-and-variants 1.0.51 → 1.0.53

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.
@@ -394,6 +394,498 @@ interface Cursors {
394
394
  */
395
395
  prev?: string | null;
396
396
  }
397
+ interface DomainEvent extends DomainEventBodyOneOf {
398
+ createdEvent?: EntityCreatedEvent;
399
+ updatedEvent?: EntityUpdatedEvent;
400
+ deletedEvent?: EntityDeletedEvent;
401
+ actionEvent?: ActionEvent;
402
+ /** Event ID. With this ID you can easily spot duplicated events and ignore them. */
403
+ id?: string;
404
+ /**
405
+ * Fully Qualified Domain Name of an entity. This is a unique identifier assigned to the API main business entities.
406
+ * For example, `wix.stores.catalog.product`, `wix.bookings.session`, `wix.payments.transaction`.
407
+ */
408
+ entityFqdn?: string;
409
+ /**
410
+ * Event action name, placed at the top level to make it easier for users to dispatch messages.
411
+ * For example: `created`/`updated`/`deleted`/`started`/`completed`/`email_opened`.
412
+ */
413
+ slug?: string;
414
+ /** ID of the entity associated with the event. */
415
+ entityId?: string;
416
+ /** Event timestamp in [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format and UTC time. For example, `2020-04-26T13:57:50.699Z`. */
417
+ eventTime?: Date | null;
418
+ /**
419
+ * Whether the event was triggered as a result of a privacy regulation application
420
+ * (for example, GDPR).
421
+ */
422
+ triggeredByAnonymizeRequest?: boolean | null;
423
+ /** If present, indicates the action that triggered the event. */
424
+ originatedFrom?: string | null;
425
+ /**
426
+ * 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.
427
+ * 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.
428
+ */
429
+ entityEventSequence?: string | null;
430
+ }
431
+ /** @oneof */
432
+ interface DomainEventBodyOneOf {
433
+ createdEvent?: EntityCreatedEvent;
434
+ updatedEvent?: EntityUpdatedEvent;
435
+ deletedEvent?: EntityDeletedEvent;
436
+ actionEvent?: ActionEvent;
437
+ }
438
+ interface EntityCreatedEvent {
439
+ entityAsJson?: string;
440
+ /** Indicates the event was triggered by a restore-from-trashbin operation for a previously deleted entity */
441
+ restoreInfo?: RestoreInfo;
442
+ }
443
+ interface RestoreInfo {
444
+ deletedDate?: Date | null;
445
+ }
446
+ interface EntityUpdatedEvent {
447
+ /**
448
+ * Since platformized APIs only expose PATCH and not PUT we can't assume that the fields sent from the client are the actual diff.
449
+ * This means that to generate a list of changed fields (as opposed to sent fields) one needs to traverse both objects.
450
+ * We don't want to impose this on all developers and so we leave this traversal to the notification recipients which need it.
451
+ */
452
+ currentEntityAsJson?: string;
453
+ }
454
+ interface EntityDeletedEvent {
455
+ /** Entity that was deleted. */
456
+ deletedEntityAsJson?: string | null;
457
+ }
458
+ interface ActionEvent {
459
+ bodyAsJson?: string;
460
+ }
461
+ interface Empty {
462
+ }
463
+ /** Encapsulates all details written to the Greyhound topic when a site's properties are updated. */
464
+ interface SitePropertiesNotification {
465
+ /** The site ID for which this update notification applies. */
466
+ metasiteId?: string;
467
+ /** The actual update event. */
468
+ event?: SitePropertiesEvent;
469
+ /**
470
+ * A convenience set of mappings from the MetaSite ID to its constituent services.
471
+ * @maxSize 500
472
+ */
473
+ translations?: Translation[];
474
+ /** Context of the notification */
475
+ changeContext?: ChangeContext;
476
+ }
477
+ /** The actual update event for a particular notification. */
478
+ interface SitePropertiesEvent {
479
+ /** Version of the site's properties represented by this update. */
480
+ version?: number;
481
+ /** Set of properties that were updated - corresponds to the fields in "properties". */
482
+ fields?: string[];
483
+ /** Updated properties. */
484
+ properties?: Properties;
485
+ }
486
+ interface Properties {
487
+ /** Site categories. */
488
+ categories?: Categories;
489
+ /** Site locale. */
490
+ locale?: Locale;
491
+ /**
492
+ * Site language.
493
+ *
494
+ * Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format.
495
+ */
496
+ language?: string | null;
497
+ /**
498
+ * Site currency format used to bill customers.
499
+ *
500
+ * Three-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
501
+ */
502
+ paymentCurrency?: string | null;
503
+ /** Timezone in `America/New_York` format. */
504
+ timeZone?: string | null;
505
+ /** Email address. */
506
+ email?: string | null;
507
+ /** Phone number. */
508
+ phone?: string | null;
509
+ /** Fax number. */
510
+ fax?: string | null;
511
+ /** Address. */
512
+ address?: Address;
513
+ /** Site display name. */
514
+ siteDisplayName?: string | null;
515
+ /** Business name. */
516
+ businessName?: string | null;
517
+ /** Path to the site's logo in Wix Media (without Wix Media base URL). */
518
+ logo?: string | null;
519
+ /** Site description. */
520
+ description?: string | null;
521
+ /**
522
+ * Business schedule. Regular and exceptional time periods when the business is open or the service is available.
523
+ *
524
+ * __Note:__ Not supported by Wix Bookings.
525
+ */
526
+ businessSchedule?: BusinessSchedule;
527
+ /** Supported languages of a site and the primary language. */
528
+ multilingual?: Multilingual;
529
+ /** Cookie policy the Wix user defined for their site (before the site visitor interacts with/limits it). */
530
+ consentPolicy?: ConsentPolicy;
531
+ /**
532
+ * Supported values: `FITNESS SERVICE`, `RESTAURANT`, `BLOG`, `STORE`, `EVENT`, `UNKNOWN`.
533
+ *
534
+ * Site business type.
535
+ */
536
+ businessConfig?: string | null;
537
+ /** External site URL that uses Wix as its headless business solution. */
538
+ externalSiteUrl?: string | null;
539
+ /** Track clicks analytics. */
540
+ trackClicksAnalytics?: boolean;
541
+ }
542
+ interface Categories {
543
+ /** Primary site category. */
544
+ primary?: string;
545
+ /**
546
+ * Secondary site category.
547
+ * @maxSize 50
548
+ */
549
+ secondary?: string[];
550
+ /** Business Term Id */
551
+ businessTermId?: string | null;
552
+ }
553
+ interface Locale {
554
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
555
+ languageCode?: string;
556
+ /** Two-letter country code in [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) format. */
557
+ country?: string;
558
+ }
559
+ interface Address {
560
+ /** Street name. */
561
+ street?: string;
562
+ /** City name. */
563
+ city?: string;
564
+ /** Two-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
565
+ country?: string;
566
+ /** State. */
567
+ state?: string;
568
+ /**
569
+ * Zip or postal code.
570
+ * @maxLength 20
571
+ */
572
+ zip?: string;
573
+ /** Extra information to be displayed in the address. */
574
+ hint?: AddressHint;
575
+ /** Whether this address represents a physical location. */
576
+ isPhysical?: boolean;
577
+ /** Google-formatted version of this address. */
578
+ googleFormattedAddress?: string;
579
+ /** Street number. */
580
+ streetNumber?: string;
581
+ /** Apartment number. */
582
+ apartmentNumber?: string;
583
+ /** Geographic coordinates of location. */
584
+ coordinates?: GeoCoordinates;
585
+ }
586
+ /**
587
+ * Extra information on displayed addresses.
588
+ * This is used for display purposes. Used to add additional data about the address, such as "In the passage".
589
+ * Free text. In addition, the user can state where to display the additional description - before, after, or instead of the address string.
590
+ */
591
+ interface AddressHint {
592
+ /** Extra text displayed next to, or instead of, the actual address. */
593
+ text?: string;
594
+ /** Where the extra text should be displayed. */
595
+ placement?: PlacementTypeWithLiterals;
596
+ }
597
+ /** Where the extra text should be displayed: before, after or instead of the actual address. */
598
+ declare enum PlacementType {
599
+ BEFORE = "BEFORE",
600
+ AFTER = "AFTER",
601
+ REPLACE = "REPLACE"
602
+ }
603
+ /** @enumType */
604
+ type PlacementTypeWithLiterals = PlacementType | 'BEFORE' | 'AFTER' | 'REPLACE';
605
+ /** Geocoordinates for a particular address. */
606
+ interface GeoCoordinates {
607
+ /** Latitude of the location. Must be between -90 and 90. */
608
+ latitude?: number;
609
+ /** Longitude of the location. Must be between -180 and 180. */
610
+ longitude?: number;
611
+ }
612
+ /** Business schedule. Regular and exceptional time periods when the business is open or the service is available. */
613
+ interface BusinessSchedule {
614
+ /**
615
+ * Weekly recurring time periods when the business is regularly open or the service is available. Limited to 100 time periods.
616
+ * @maxSize 100
617
+ */
618
+ periods?: TimePeriod[];
619
+ /**
620
+ * Exceptions to the business's regular hours. The business can be open or closed during the exception.
621
+ * @maxSize 100
622
+ */
623
+ specialHourPeriod?: SpecialHourPeriod[];
624
+ }
625
+ /** Weekly recurring time periods when the business is regularly open or the service is available. */
626
+ interface TimePeriod {
627
+ /** Day of the week the period starts on. */
628
+ openDay?: DayOfWeekWithLiterals;
629
+ /**
630
+ * 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
631
+ * midnight at the end of the specified day.
632
+ */
633
+ openTime?: string;
634
+ /** Day of the week the period ends on. */
635
+ closeDay?: DayOfWeekWithLiterals;
636
+ /**
637
+ * 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
638
+ * midnight at the end of the specified day.
639
+ *
640
+ * __Note:__ If `openDay` and `closeDay` specify the same day of the week `closeTime` must be later than `openTime`.
641
+ */
642
+ closeTime?: string;
643
+ }
644
+ /** Enumerates the days of the week. */
645
+ declare enum DayOfWeek {
646
+ MONDAY = "MONDAY",
647
+ TUESDAY = "TUESDAY",
648
+ WEDNESDAY = "WEDNESDAY",
649
+ THURSDAY = "THURSDAY",
650
+ FRIDAY = "FRIDAY",
651
+ SATURDAY = "SATURDAY",
652
+ SUNDAY = "SUNDAY"
653
+ }
654
+ /** @enumType */
655
+ type DayOfWeekWithLiterals = DayOfWeek | 'MONDAY' | 'TUESDAY' | 'WEDNESDAY' | 'THURSDAY' | 'FRIDAY' | 'SATURDAY' | 'SUNDAY';
656
+ /** Exception to the business's regular hours. The business can be open or closed during the exception. */
657
+ interface SpecialHourPeriod {
658
+ /** 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). */
659
+ startDate?: string;
660
+ /** 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). */
661
+ endDate?: string;
662
+ /**
663
+ * Whether the business is closed (or the service is not available) during the exception.
664
+ *
665
+ * Default: `true`.
666
+ */
667
+ isClosed?: boolean;
668
+ /** Additional info about the exception. For example, "We close earlier on New Year's Eve." */
669
+ comment?: string;
670
+ }
671
+ interface Multilingual {
672
+ /**
673
+ * Supported languages list.
674
+ * @maxSize 200
675
+ */
676
+ supportedLanguages?: SupportedLanguage[];
677
+ /** Whether to redirect to user language. */
678
+ autoRedirect?: boolean;
679
+ }
680
+ interface SupportedLanguage {
681
+ /** Two-letter language code in [ISO 639-1 alpha-2](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format. */
682
+ languageCode?: string;
683
+ /** Locale. */
684
+ locale?: Locale;
685
+ /** Whether the supported language is the primary language for the site. */
686
+ isPrimary?: boolean;
687
+ /** Language icon. */
688
+ countryCode?: string;
689
+ /** How the language will be resolved. For internal use. */
690
+ resolutionMethod?: ResolutionMethodWithLiterals;
691
+ /** Whether the supported language is the primary language for site visitors. */
692
+ isVisitorPrimary?: boolean | null;
693
+ }
694
+ declare enum ResolutionMethod {
695
+ QUERY_PARAM = "QUERY_PARAM",
696
+ SUBDOMAIN = "SUBDOMAIN",
697
+ SUBDIRECTORY = "SUBDIRECTORY"
698
+ }
699
+ /** @enumType */
700
+ type ResolutionMethodWithLiterals = ResolutionMethod | 'QUERY_PARAM' | 'SUBDOMAIN' | 'SUBDIRECTORY';
701
+ interface ConsentPolicy {
702
+ /** Whether the site uses cookies that are essential to site operation. Always `true`. */
703
+ essential?: boolean | null;
704
+ /** Whether the site uses cookies that affect site performance and other functional measurements. */
705
+ functional?: boolean | null;
706
+ /** Whether the site uses cookies that collect analytics about how the site is used (in order to improve it). */
707
+ analytics?: boolean | null;
708
+ /** Whether the site uses cookies that collect information allowing better customization of the experience for a current visitor. */
709
+ advertising?: boolean | null;
710
+ /** CCPA compliance flag. */
711
+ dataToThirdParty?: boolean | null;
712
+ }
713
+ /** A single mapping from the MetaSite ID to a particular service. */
714
+ interface Translation {
715
+ /** The service type. */
716
+ serviceType?: string;
717
+ /** The application definition ID; this only applies to services of type ThirdPartyApps. */
718
+ appDefId?: string;
719
+ /** The instance ID of the service. */
720
+ instanceId?: string;
721
+ }
722
+ interface ChangeContext extends ChangeContextPayloadOneOf {
723
+ /** Properties were updated. */
724
+ propertiesChange?: PropertiesChange;
725
+ /** Default properties were created on site creation. */
726
+ siteCreated?: SiteCreated;
727
+ /** Properties were cloned on site cloning. */
728
+ siteCloned?: SiteCloned;
729
+ }
730
+ /** @oneof */
731
+ interface ChangeContextPayloadOneOf {
732
+ /** Properties were updated. */
733
+ propertiesChange?: PropertiesChange;
734
+ /** Default properties were created on site creation. */
735
+ siteCreated?: SiteCreated;
736
+ /** Properties were cloned on site cloning. */
737
+ siteCloned?: SiteCloned;
738
+ }
739
+ interface PropertiesChange {
740
+ }
741
+ interface SiteCreated {
742
+ /** Origin template site id. */
743
+ originTemplateId?: string | null;
744
+ }
745
+ interface SiteCloned {
746
+ /** Origin site id. */
747
+ originMetaSiteId?: string;
748
+ }
749
+ interface MessageEnvelope {
750
+ /**
751
+ * App instance ID.
752
+ * @format GUID
753
+ */
754
+ instanceId?: string | null;
755
+ /**
756
+ * Event type.
757
+ * @maxLength 150
758
+ */
759
+ eventType?: string;
760
+ /** The identification type and identity data. */
761
+ identity?: IdentificationData;
762
+ /** Stringify payload. */
763
+ data?: string;
764
+ }
765
+ interface IdentificationData extends IdentificationDataIdOneOf {
766
+ /**
767
+ * ID of a site visitor that has not logged in to the site.
768
+ * @format GUID
769
+ */
770
+ anonymousVisitorId?: string;
771
+ /**
772
+ * ID of a site visitor that has logged in to the site.
773
+ * @format GUID
774
+ */
775
+ memberId?: string;
776
+ /**
777
+ * ID of a Wix user (site owner, contributor, etc.).
778
+ * @format GUID
779
+ */
780
+ wixUserId?: string;
781
+ /**
782
+ * ID of an app.
783
+ * @format GUID
784
+ */
785
+ appId?: string;
786
+ /** @readonly */
787
+ identityType?: WebhookIdentityTypeWithLiterals;
788
+ }
789
+ /** @oneof */
790
+ interface IdentificationDataIdOneOf {
791
+ /**
792
+ * ID of a site visitor that has not logged in to the site.
793
+ * @format GUID
794
+ */
795
+ anonymousVisitorId?: string;
796
+ /**
797
+ * ID of a site visitor that has logged in to the site.
798
+ * @format GUID
799
+ */
800
+ memberId?: string;
801
+ /**
802
+ * ID of a Wix user (site owner, contributor, etc.).
803
+ * @format GUID
804
+ */
805
+ wixUserId?: string;
806
+ /**
807
+ * ID of an app.
808
+ * @format GUID
809
+ */
810
+ appId?: string;
811
+ }
812
+ declare enum WebhookIdentityType {
813
+ UNKNOWN = "UNKNOWN",
814
+ ANONYMOUS_VISITOR = "ANONYMOUS_VISITOR",
815
+ MEMBER = "MEMBER",
816
+ WIX_USER = "WIX_USER",
817
+ APP = "APP"
818
+ }
819
+ /** @enumType */
820
+ type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
821
+ /** @docsIgnore */
822
+ type CreateServiceOptionsAndVariantsApplicationErrors = {
823
+ code?: 'UNKNOWN_OPTION_IDS';
824
+ description?: string;
825
+ data?: Record<string, any>;
826
+ } | {
827
+ code?: 'MULTIPLE_CURRENCIES';
828
+ description?: string;
829
+ data?: Record<string, any>;
830
+ } | {
831
+ code?: 'UNSUPPORTED_OPTION_TYPE';
832
+ description?: string;
833
+ data?: Record<string, any>;
834
+ } | {
835
+ code?: 'UNKNOWN_STAFF_IDS';
836
+ description?: string;
837
+ data?: Record<string, any>;
838
+ } | {
839
+ code?: 'MISSING_STAFF_VARIANTS';
840
+ description?: string;
841
+ data?: Record<string, any>;
842
+ } | {
843
+ code?: 'IDENTICAL_CHOICES';
844
+ description?: string;
845
+ data?: Record<string, any>;
846
+ } | {
847
+ code?: 'MISSING_CUSTOM_CHOICES';
848
+ description?: string;
849
+ data?: Record<string, any>;
850
+ } | {
851
+ code?: 'UNSUPPORTED_OPTION_DATA';
852
+ description?: string;
853
+ data?: Record<string, any>;
854
+ };
855
+ /** @docsIgnore */
856
+ type UpdateServiceOptionsAndVariantsApplicationErrors = {
857
+ code?: 'UNKNOWN_OPTION_IDS';
858
+ description?: string;
859
+ data?: Record<string, any>;
860
+ } | {
861
+ code?: 'MULTIPLE_CURRENCIES';
862
+ description?: string;
863
+ data?: Record<string, any>;
864
+ } | {
865
+ code?: 'UNSUPPORTED_OPTION_TYPE';
866
+ description?: string;
867
+ data?: Record<string, any>;
868
+ } | {
869
+ code?: 'UNKNOWN_STAFF_IDS';
870
+ description?: string;
871
+ data?: Record<string, any>;
872
+ } | {
873
+ code?: 'MISSING_STAFF_VARIANTS';
874
+ description?: string;
875
+ data?: Record<string, any>;
876
+ } | {
877
+ code?: 'IDENTICAL_CHOICES';
878
+ description?: string;
879
+ data?: Record<string, any>;
880
+ } | {
881
+ code?: 'MISSING_CUSTOM_CHOICES';
882
+ description?: string;
883
+ data?: Record<string, any>;
884
+ } | {
885
+ code?: 'UNSUPPORTED_OPTION_DATA';
886
+ description?: string;
887
+ data?: Record<string, any>;
888
+ };
397
889
 
398
890
  type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
399
891
  getUrl: (context: any) => string;
@@ -423,4 +915,4 @@ declare function deleteServiceOptionsAndVariants(): __PublicMethodMetaInfo<'DELE
423
915
  }, DeleteServiceOptionsAndVariantsRequest$1, DeleteServiceOptionsAndVariantsRequest, DeleteServiceOptionsAndVariantsResponse$1, DeleteServiceOptionsAndVariantsResponse>;
424
916
  declare function queryServiceOptionsAndVariants(): __PublicMethodMetaInfo<'POST', {}, QueryServiceOptionsAndVariantsRequest$1, QueryServiceOptionsAndVariantsRequest, QueryServiceOptionsAndVariantsResponse$1, QueryServiceOptionsAndVariantsResponse>;
425
917
 
426
- export { type __PublicMethodMetaInfo, cloneServiceOptionsAndVariants, createServiceOptionsAndVariants, deleteServiceOptionsAndVariants, getServiceOptionsAndVariants, getServiceOptionsAndVariantsByServiceId, queryServiceOptionsAndVariants, updateServiceOptionsAndVariants };
918
+ export { type ActionEvent as ActionEventOriginal, type AddressHint as AddressHintOriginal, type Address as AddressOriginal, type BusinessSchedule as BusinessScheduleOriginal, type Categories as CategoriesOriginal, type ChangeContext as ChangeContextOriginal, type ChangeContextPayloadOneOf as ChangeContextPayloadOneOfOriginal, type CloneServiceOptionsAndVariantsRequest as CloneServiceOptionsAndVariantsRequestOriginal, type CloneServiceOptionsAndVariantsResponse as CloneServiceOptionsAndVariantsResponseOriginal, type ConsentPolicy as ConsentPolicyOriginal, type CreateServiceOptionsAndVariantsApplicationErrors as CreateServiceOptionsAndVariantsApplicationErrorsOriginal, type CreateServiceOptionsAndVariantsRequest as CreateServiceOptionsAndVariantsRequestOriginal, type CreateServiceOptionsAndVariantsResponse as CreateServiceOptionsAndVariantsResponseOriginal, type CursorPaging as CursorPagingOriginal, type Cursors as CursorsOriginal, type CustomServiceOption as CustomServiceOptionOriginal, DayOfWeek as DayOfWeekOriginal, type DayOfWeekWithLiterals as DayOfWeekWithLiteralsOriginal, type DeleteServiceOptionsAndVariantsRequest as DeleteServiceOptionsAndVariantsRequestOriginal, type DeleteServiceOptionsAndVariantsResponse as DeleteServiceOptionsAndVariantsResponseOriginal, type DomainEventBodyOneOf as DomainEventBodyOneOfOriginal, type DomainEvent as DomainEventOriginal, type Duration as DurationOriginal, type DurationServiceOption as DurationServiceOptionOriginal, 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 GetServiceOptionsAndVariantsByServiceIdRequest as GetServiceOptionsAndVariantsByServiceIdRequestOriginal, type GetServiceOptionsAndVariantsByServiceIdResponse as GetServiceOptionsAndVariantsByServiceIdResponseOriginal, type GetServiceOptionsAndVariantsRequest as GetServiceOptionsAndVariantsRequestOriginal, type GetServiceOptionsAndVariantsResponse as GetServiceOptionsAndVariantsResponseOriginal, type IdentificationDataIdOneOf as IdentificationDataIdOneOfOriginal, type IdentificationData as IdentificationDataOriginal, type Locale as LocaleOriginal, type MessageEnvelope as MessageEnvelopeOriginal, type Money as MoneyOriginal, type Multilingual as MultilingualOriginal, type PagingMetadataV2 as PagingMetadataV2Original, type Paging as PagingOriginal, PlacementType as PlacementTypeOriginal, type PlacementTypeWithLiterals as PlacementTypeWithLiteralsOriginal, type PropertiesChange as PropertiesChangeOriginal, type Properties as PropertiesOriginal, type QueryServiceOptionsAndVariantsRequest as QueryServiceOptionsAndVariantsRequestOriginal, type QueryServiceOptionsAndVariantsResponse as QueryServiceOptionsAndVariantsResponseOriginal, type QueryV2 as QueryV2Original, type QueryV2PagingMethodOneOf as QueryV2PagingMethodOneOfOriginal, ResolutionMethod as ResolutionMethodOriginal, type ResolutionMethodWithLiterals as ResolutionMethodWithLiteralsOriginal, type RestoreInfo as RestoreInfoOriginal, type ServiceChoiceChoiceOneOf as ServiceChoiceChoiceOneOfOriginal, type ServiceChoice as ServiceChoiceOriginal, type ServiceOptionOptionSpecificDataOneOf as ServiceOptionOptionSpecificDataOneOfOriginal, type ServiceOption as ServiceOptionOriginal, ServiceOptionType as ServiceOptionTypeOriginal, type ServiceOptionTypeWithLiterals as ServiceOptionTypeWithLiteralsOriginal, type ServiceOptionsAndVariants as ServiceOptionsAndVariantsOriginal, type ServiceOptions as ServiceOptionsOriginal, type ServiceVariant as ServiceVariantOriginal, type ServiceVariants as ServiceVariantsOriginal, type SiteCloned as SiteClonedOriginal, type SiteCreated as SiteCreatedOriginal, type SitePropertiesEvent as SitePropertiesEventOriginal, type SitePropertiesNotification as SitePropertiesNotificationOriginal, SortOrder as SortOrderOriginal, type SortOrderWithLiterals as SortOrderWithLiteralsOriginal, type Sorting as SortingOriginal, type SpecialHourPeriod as SpecialHourPeriodOriginal, type SupportedLanguage as SupportedLanguageOriginal, type TimePeriod as TimePeriodOriginal, type Translation as TranslationOriginal, type UpdateServiceOptionsAndVariantsApplicationErrors as UpdateServiceOptionsAndVariantsApplicationErrorsOriginal, type UpdateServiceOptionsAndVariantsRequest as UpdateServiceOptionsAndVariantsRequestOriginal, type UpdateServiceOptionsAndVariantsResponse as UpdateServiceOptionsAndVariantsResponseOriginal, WebhookIdentityType as WebhookIdentityTypeOriginal, type WebhookIdentityTypeWithLiterals as WebhookIdentityTypeWithLiteralsOriginal, type __PublicMethodMetaInfo, cloneServiceOptionsAndVariants, createServiceOptionsAndVariants, deleteServiceOptionsAndVariants, getServiceOptionsAndVariants, getServiceOptionsAndVariantsByServiceId, queryServiceOptionsAndVariants, updateServiceOptionsAndVariants };
@@ -20,6 +20,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // meta.ts
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
+ DayOfWeekOriginal: () => DayOfWeek,
24
+ PlacementTypeOriginal: () => PlacementType,
25
+ ResolutionMethodOriginal: () => ResolutionMethod,
26
+ ServiceOptionTypeOriginal: () => ServiceOptionType,
27
+ SortOrderOriginal: () => SortOrder,
28
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
23
29
  cloneServiceOptionsAndVariants: () => cloneServiceOptionsAndVariants2,
24
30
  createServiceOptionsAndVariants: () => createServiceOptionsAndVariants2,
25
31
  deleteServiceOptionsAndVariants: () => deleteServiceOptionsAndVariants2,
@@ -301,6 +307,50 @@ function queryServiceOptionsAndVariants(payload) {
301
307
  return __queryServiceOptionsAndVariants;
302
308
  }
303
309
 
310
+ // src/bookings-catalog-v1-service-options-and-variants-service-options-and-variants.types.ts
311
+ var ServiceOptionType = /* @__PURE__ */ ((ServiceOptionType2) => {
312
+ ServiceOptionType2["UNKNOWN"] = "UNKNOWN";
313
+ ServiceOptionType2["CUSTOM"] = "CUSTOM";
314
+ ServiceOptionType2["STAFF_MEMBER"] = "STAFF_MEMBER";
315
+ ServiceOptionType2["DURATION"] = "DURATION";
316
+ return ServiceOptionType2;
317
+ })(ServiceOptionType || {});
318
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
319
+ SortOrder2["ASC"] = "ASC";
320
+ SortOrder2["DESC"] = "DESC";
321
+ return SortOrder2;
322
+ })(SortOrder || {});
323
+ var PlacementType = /* @__PURE__ */ ((PlacementType2) => {
324
+ PlacementType2["BEFORE"] = "BEFORE";
325
+ PlacementType2["AFTER"] = "AFTER";
326
+ PlacementType2["REPLACE"] = "REPLACE";
327
+ return PlacementType2;
328
+ })(PlacementType || {});
329
+ var DayOfWeek = /* @__PURE__ */ ((DayOfWeek2) => {
330
+ DayOfWeek2["MONDAY"] = "MONDAY";
331
+ DayOfWeek2["TUESDAY"] = "TUESDAY";
332
+ DayOfWeek2["WEDNESDAY"] = "WEDNESDAY";
333
+ DayOfWeek2["THURSDAY"] = "THURSDAY";
334
+ DayOfWeek2["FRIDAY"] = "FRIDAY";
335
+ DayOfWeek2["SATURDAY"] = "SATURDAY";
336
+ DayOfWeek2["SUNDAY"] = "SUNDAY";
337
+ return DayOfWeek2;
338
+ })(DayOfWeek || {});
339
+ var ResolutionMethod = /* @__PURE__ */ ((ResolutionMethod2) => {
340
+ ResolutionMethod2["QUERY_PARAM"] = "QUERY_PARAM";
341
+ ResolutionMethod2["SUBDOMAIN"] = "SUBDOMAIN";
342
+ ResolutionMethod2["SUBDIRECTORY"] = "SUBDIRECTORY";
343
+ return ResolutionMethod2;
344
+ })(ResolutionMethod || {});
345
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
346
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
347
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
348
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
349
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
350
+ WebhookIdentityType2["APP"] = "APP";
351
+ return WebhookIdentityType2;
352
+ })(WebhookIdentityType || {});
353
+
304
354
  // src/bookings-catalog-v1-service-options-and-variants-service-options-and-variants.meta.ts
305
355
  function createServiceOptionsAndVariants2() {
306
356
  const payload = {};
@@ -450,6 +500,12 @@ function queryServiceOptionsAndVariants2() {
450
500
  }
451
501
  // Annotate the CommonJS export names for ESM import in node:
452
502
  0 && (module.exports = {
503
+ DayOfWeekOriginal,
504
+ PlacementTypeOriginal,
505
+ ResolutionMethodOriginal,
506
+ ServiceOptionTypeOriginal,
507
+ SortOrderOriginal,
508
+ WebhookIdentityTypeOriginal,
453
509
  cloneServiceOptionsAndVariants,
454
510
  createServiceOptionsAndVariants,
455
511
  deleteServiceOptionsAndVariants,