@wix/auto_sdk_referral_programs 1.0.38 → 1.0.39

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.
@@ -398,463 +398,6 @@ interface ActionEvent {
398
398
  }
399
399
  interface Empty {
400
400
  }
401
- interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
402
- /** Emitted on a meta site creation. */
403
- siteCreated?: SiteCreated;
404
- /** Emitted on a meta site transfer completion. */
405
- siteTransferred?: SiteTransferred;
406
- /** Emitted on a meta site deletion. */
407
- siteDeleted?: SiteDeleted;
408
- /** Emitted on a meta site restoration. */
409
- siteUndeleted?: SiteUndeleted;
410
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
411
- sitePublished?: SitePublished;
412
- /** Emitted on a meta site unpublish. */
413
- siteUnpublished?: SiteUnpublished;
414
- /** Emitted when meta site is marked as template. */
415
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
416
- /** Emitted when meta site is marked as a WixSite. */
417
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
418
- /** Emitted when an application is provisioned (installed). */
419
- serviceProvisioned?: ServiceProvisioned;
420
- /** Emitted when an application is removed (uninstalled). */
421
- serviceRemoved?: ServiceRemoved;
422
- /** Emitted when meta site name (URL slug) is changed. */
423
- siteRenamedPayload?: SiteRenamed;
424
- /** Emitted when meta site was permanently deleted. */
425
- hardDeleted?: SiteHardDeleted;
426
- /** Emitted on a namespace change. */
427
- namespaceChanged?: NamespaceChanged;
428
- /** Emitted when Studio is attached. */
429
- studioAssigned?: StudioAssigned;
430
- /** Emitted when Studio is detached. */
431
- studioUnassigned?: StudioUnassigned;
432
- /**
433
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
434
- * the actual URL.
435
- *
436
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
437
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
438
- */
439
- urlChanged?: SiteUrlChanged;
440
- /** Site is marked as PurgedExternally */
441
- sitePurgedExternally?: SitePurgedExternally;
442
- /** Emitted when Odeditor is attached. */
443
- odeditorAssigned?: OdeditorAssigned;
444
- /** Emitted when Odeditor is detached. */
445
- odeditorUnassigned?: OdeditorUnassigned;
446
- /** Emitted when Picasso is attached. */
447
- picassoAssigned?: PicassoAssigned;
448
- /** Emitted when Picasso is detached. */
449
- picassoUnassigned?: PicassoUnassigned;
450
- /**
451
- * A meta site id.
452
- * @format GUID
453
- */
454
- metaSiteId?: string;
455
- /** A meta site version. Monotonically increasing. */
456
- version?: string;
457
- /** A timestamp of the event. */
458
- timestamp?: string;
459
- /**
460
- * TODO(meta-site): Change validation once validations are disabled for consumers
461
- * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
462
- * @maxSize 4000
463
- */
464
- assets?: Asset[];
465
- }
466
- /** @oneof */
467
- interface MetaSiteSpecialEventPayloadOneOf {
468
- /** Emitted on a meta site creation. */
469
- siteCreated?: SiteCreated;
470
- /** Emitted on a meta site transfer completion. */
471
- siteTransferred?: SiteTransferred;
472
- /** Emitted on a meta site deletion. */
473
- siteDeleted?: SiteDeleted;
474
- /** Emitted on a meta site restoration. */
475
- siteUndeleted?: SiteUndeleted;
476
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
477
- sitePublished?: SitePublished;
478
- /** Emitted on a meta site unpublish. */
479
- siteUnpublished?: SiteUnpublished;
480
- /** Emitted when meta site is marked as template. */
481
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
482
- /** Emitted when meta site is marked as a WixSite. */
483
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
484
- /** Emitted when an application is provisioned (installed). */
485
- serviceProvisioned?: ServiceProvisioned;
486
- /** Emitted when an application is removed (uninstalled). */
487
- serviceRemoved?: ServiceRemoved;
488
- /** Emitted when meta site name (URL slug) is changed. */
489
- siteRenamedPayload?: SiteRenamed;
490
- /** Emitted when meta site was permanently deleted. */
491
- hardDeleted?: SiteHardDeleted;
492
- /** Emitted on a namespace change. */
493
- namespaceChanged?: NamespaceChanged;
494
- /** Emitted when Studio is attached. */
495
- studioAssigned?: StudioAssigned;
496
- /** Emitted when Studio is detached. */
497
- studioUnassigned?: StudioUnassigned;
498
- /**
499
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
500
- * the actual URL.
501
- *
502
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
503
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
504
- */
505
- urlChanged?: SiteUrlChanged;
506
- /** Site is marked as PurgedExternally */
507
- sitePurgedExternally?: SitePurgedExternally;
508
- /** Emitted when Odeditor is attached. */
509
- odeditorAssigned?: OdeditorAssigned;
510
- /** Emitted when Odeditor is detached. */
511
- odeditorUnassigned?: OdeditorUnassigned;
512
- /** Emitted when Picasso is attached. */
513
- picassoAssigned?: PicassoAssigned;
514
- /** Emitted when Picasso is detached. */
515
- picassoUnassigned?: PicassoUnassigned;
516
- }
517
- interface Asset {
518
- /**
519
- * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
520
- * @maxLength 36
521
- */
522
- appDefId?: string;
523
- /**
524
- * An instance id. For legacy reasons may be UUID or a string.
525
- * @maxLength 200
526
- */
527
- instanceId?: string;
528
- /** An application state. */
529
- state?: StateWithLiterals;
530
- }
531
- declare enum State {
532
- UNKNOWN = "UNKNOWN",
533
- ENABLED = "ENABLED",
534
- DISABLED = "DISABLED",
535
- PENDING = "PENDING",
536
- DEMO = "DEMO"
537
- }
538
- /** @enumType */
539
- type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
540
- interface SiteCreated {
541
- /**
542
- * A template identifier (empty if not created from a template).
543
- * @maxLength 36
544
- */
545
- originTemplateId?: string;
546
- /**
547
- * An account id of the owner.
548
- * @format GUID
549
- */
550
- ownerId?: string;
551
- /** A context in which meta site was created. */
552
- context?: SiteCreatedContextWithLiterals;
553
- /**
554
- * A meta site id from which this site was created.
555
- *
556
- * In case of a creation from a template it's a template id.
557
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
558
- * @format GUID
559
- */
560
- originMetaSiteId?: string | null;
561
- /**
562
- * A meta site name (URL slug).
563
- * @maxLength 20
564
- */
565
- siteName?: string;
566
- /** A namespace. */
567
- namespace?: NamespaceWithLiterals;
568
- }
569
- declare enum SiteCreatedContext {
570
- /** A valid option, we don't expose all reasons why site might be created. */
571
- OTHER = "OTHER",
572
- /** A meta site was created from template. */
573
- FROM_TEMPLATE = "FROM_TEMPLATE",
574
- /** A meta site was created by copying of the transfferred meta site. */
575
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
576
- /** A copy of existing meta site. */
577
- DUPLICATE = "DUPLICATE",
578
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
579
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
580
- /** deprecated A meta site was created for Flash editor. */
581
- FLASH = "FLASH"
582
- }
583
- /** @enumType */
584
- type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
585
- declare enum Namespace {
586
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
587
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
588
- WIX = "WIX",
589
- /** 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. */
590
- SHOUT_OUT = "SHOUT_OUT",
591
- /** 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. */
592
- ALBUMS = "ALBUMS",
593
- /** 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. */
594
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
595
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
596
- HOTELS = "HOTELS",
597
- /** 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. */
598
- CLUBS = "CLUBS",
599
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
600
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
601
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
602
- DEV_SITE = "DEV_SITE",
603
- /** 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. */
604
- LOGOS = "LOGOS",
605
- /** 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. */
606
- VIDEO_MAKER = "VIDEO_MAKER",
607
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
608
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
609
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
610
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
611
- /**
612
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
613
- *
614
- * Meta site with this namespace will *not* be shown in a user's site list by default.
615
- */
616
- HTML_DRAFT = "HTML_DRAFT",
617
- /**
618
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
619
- * Will be accessible from Site List and will not have a website app.
620
- * Once the user attaches a site, the site will become a regular wixsite.
621
- */
622
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
623
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
624
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
625
- /** It is to be used in the Business First efforts. */
626
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
627
- /** Bookings business flow with no site. */
628
- ANYWHERE = "ANYWHERE",
629
- /** Namespace for Headless Backoffice with no editor */
630
- HEADLESS = "HEADLESS",
631
- /**
632
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
633
- * The site will be used for account level CSM feature for enterprise
634
- */
635
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
636
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
637
- RISE = "RISE",
638
- /**
639
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
640
- * There's a blank site behind the scene but it's blank).
641
- * The Mobile company will be the owner of this namespace.
642
- */
643
- BRANDED_FIRST = "BRANDED_FIRST",
644
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
645
- NOWNIA = "NOWNIA",
646
- /**
647
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
648
- * The Partners company owns this namespace.
649
- */
650
- UGC_TEMPLATE = "UGC_TEMPLATE",
651
- /** Codux Headless Sites */
652
- CODUX = "CODUX",
653
- /** Bobb - AI Design Creator. */
654
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
655
- /**
656
- * Shared Blog Site is a unique single site across Enterprise account,
657
- * This site will hold all Blog posts related to the Marketing product.
658
- */
659
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
660
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
661
- STANDALONE_FORMS = "STANDALONE_FORMS",
662
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
663
- STANDALONE_EVENTS = "STANDALONE_EVENTS",
664
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
665
- MIMIR = "MIMIR"
666
- }
667
- /** @enumType */
668
- 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';
669
- /** Site transferred to another user. */
670
- interface SiteTransferred {
671
- /**
672
- * A previous owner id (user that transfers meta site).
673
- * @format GUID
674
- */
675
- oldOwnerId?: string;
676
- /**
677
- * A new owner id (user that accepts meta site).
678
- * @format GUID
679
- */
680
- newOwnerId?: string;
681
- }
682
- /** Soft deletion of the meta site. Could be restored. */
683
- interface SiteDeleted {
684
- /** A deletion context. */
685
- deleteContext?: DeleteContext;
686
- }
687
- interface DeleteContext {
688
- /** When the meta site was deleted. */
689
- dateDeleted?: Date | null;
690
- /** A status. */
691
- deleteStatus?: DeleteStatusWithLiterals;
692
- /**
693
- * A reason (flow).
694
- * @maxLength 255
695
- */
696
- deleteOrigin?: string;
697
- /**
698
- * A service that deleted it.
699
- * @maxLength 255
700
- */
701
- initiatorId?: string | null;
702
- }
703
- declare enum DeleteStatus {
704
- UNKNOWN = "UNKNOWN",
705
- TRASH = "TRASH",
706
- DELETED = "DELETED",
707
- PENDING_PURGE = "PENDING_PURGE",
708
- PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
709
- }
710
- /** @enumType */
711
- type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
712
- /** Restoration of the meta site. */
713
- interface SiteUndeleted {
714
- }
715
- /** First publish of a meta site. Or subsequent publish after unpublish. */
716
- interface SitePublished {
717
- }
718
- interface SiteUnpublished {
719
- /**
720
- * A list of URLs previously associated with the meta site.
721
- * @maxLength 4000
722
- * @maxSize 10000
723
- */
724
- urls?: string[];
725
- }
726
- interface SiteMarkedAsTemplate {
727
- }
728
- interface SiteMarkedAsWixSite {
729
- }
730
- /**
731
- * Represents a service provisioned a site.
732
- *
733
- * Note on `origin_instance_id`:
734
- * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
735
- * This is because of the following scenario:
736
- *
737
- * Imagine you have a template where a third-party application (TPA) includes some stub data,
738
- * such as a product catalog. When you create a site from this template, you inherit this
739
- * default product catalog. However, if the template's product catalog is modified,
740
- * your site will retain the catalog as it was at the time of site creation. This ensures that
741
- * your site remains consistent with what you initially received and does not include any
742
- * changes made to the original template afterward.
743
- * To ensure this, the TPA on the template gets a new instance_id.
744
- */
745
- interface ServiceProvisioned {
746
- /**
747
- * Either UUID or EmbeddedServiceType.
748
- * @maxLength 36
749
- */
750
- appDefId?: string;
751
- /**
752
- * Not only UUID. Something here could be something weird.
753
- * @maxLength 36
754
- */
755
- instanceId?: string;
756
- /**
757
- * An instance id from which this instance is originated.
758
- * @maxLength 36
759
- */
760
- originInstanceId?: string;
761
- /**
762
- * A version.
763
- * @maxLength 500
764
- */
765
- version?: string | null;
766
- /**
767
- * The origin meta site id
768
- * @format GUID
769
- */
770
- originMetaSiteId?: string | null;
771
- }
772
- interface ServiceRemoved {
773
- /**
774
- * Either UUID or EmbeddedServiceType.
775
- * @maxLength 36
776
- */
777
- appDefId?: string;
778
- /**
779
- * Not only UUID. Something here could be something weird.
780
- * @maxLength 36
781
- */
782
- instanceId?: string;
783
- /**
784
- * A version.
785
- * @maxLength 500
786
- */
787
- version?: string | null;
788
- }
789
- /** Rename of the site. Meaning, free public url has been changed as well. */
790
- interface SiteRenamed {
791
- /**
792
- * A new meta site name (URL slug).
793
- * @maxLength 20
794
- */
795
- newSiteName?: string;
796
- /**
797
- * A previous meta site name (URL slug).
798
- * @maxLength 255
799
- */
800
- oldSiteName?: string;
801
- }
802
- /**
803
- * Hard deletion of the meta site.
804
- *
805
- * Could not be restored. Therefore it's desirable to cleanup data.
806
- */
807
- interface SiteHardDeleted {
808
- /** A deletion context. */
809
- deleteContext?: DeleteContext;
810
- }
811
- interface NamespaceChanged {
812
- /** A previous namespace. */
813
- oldNamespace?: NamespaceWithLiterals;
814
- /** A new namespace. */
815
- newNamespace?: NamespaceWithLiterals;
816
- }
817
- /** Assigned Studio editor */
818
- interface StudioAssigned {
819
- }
820
- /** Unassigned Studio editor */
821
- interface StudioUnassigned {
822
- }
823
- /**
824
- * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
825
- *
826
- * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
827
- * with sites and its urls, you need to listen to another topic/event. Read about it:
828
- *
829
- * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
830
- */
831
- interface SiteUrlChanged {
832
- }
833
- /**
834
- * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
835
- * Consumed by other teams to remove relevant data.
836
- */
837
- interface SitePurgedExternally {
838
- /**
839
- * @maxLength 2048
840
- * @maxSize 100
841
- * @deprecated
842
- * @targetRemovalDate 2025-04-15
843
- */
844
- appDefId?: string[];
845
- }
846
- /** Assigned Odeditor */
847
- interface OdeditorAssigned {
848
- }
849
- /** Unassigned Odeditor */
850
- interface OdeditorUnassigned {
851
- }
852
- /** Assigned Picasso editor */
853
- interface PicassoAssigned {
854
- }
855
- /** Unassigned Picasso */
856
- interface PicassoUnassigned {
857
- }
858
401
  interface HtmlSitePublished {
859
402
  /**
860
403
  * Application instance ID
@@ -1627,6 +1170,8 @@ interface ProgramUpdatedEnvelope {
1627
1170
  }
1628
1171
  /**
1629
1172
  * Triggered when a referral program is updated.
1173
+ * @permissionScope Manage Restaurants - all permissions
1174
+ * @permissionScopeId SCOPE.RESTAURANTS.MEGA-SCOPES
1630
1175
  * @permissionScope Manage Referrals
1631
1176
  * @permissionScopeId SCOPE.DC-REFERRALS.MANAGE-REFERRALS
1632
1177
  * @permissionId REFERRALS.READ_PROGRAM
@@ -1733,4 +1278,4 @@ interface GenerateAiSocialMediaPostsSuggestionsOptions {
1733
1278
  */
1734
1279
  declare function getReferralProgramPremiumFeatures(): Promise<NonNullablePaths<GetReferralProgramPremiumFeaturesResponse, `referralProgram`>>;
1735
1280
 
1736
- export { type AISocialMediaPostSuggestion, Action, type ActionEvent, type ActionWithLiterals, type ActivateReferralProgramRequest, type ActivateReferralProgramResponse, App, type AppWithLiterals, type Asset, type BaseEventMetadata, type BillingReference, type BulkGetReferralProgramRequest, type BulkGetReferralProgramResponse, type CancellationDetails, ContractSwitchReason, type ContractSwitchReasonWithLiterals, ContractSwitchType, type ContractSwitchTypeWithLiterals, type ContractSwitched, type Coupon, type CouponDiscountTypeOptionsOneOf, type CouponScope, type CouponScopeOrMinSubtotalOneOf, type Cycle, type CycleCycleSelectorOneOf, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Emails, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type FixedAmountDiscount, type GenerateAISocialMediaPostsSuggestionsRequest, type GenerateAISocialMediaPostsSuggestionsResponse, type GenerateAiSocialMediaPostsSuggestionsOptions, type GetAISocialMediaPostsSuggestionsRequest, type GetAISocialMediaPostsSuggestionsResponse, type GetAiSocialMediaPostsSuggestionsOptions, type GetReferralProgramPremiumFeaturesRequest, type GetReferralProgramPremiumFeaturesResponse, type GetReferralProgramRequest, type GetReferralProgramResponse, type Group, type HtmlSitePublished, type IdentificationData, type IdentificationDataIdOneOf, Initiator, type InitiatorWithLiterals, type Interval, IntervalUnit, type IntervalUnitWithLiterals, type LoyaltyPoints, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type OneTime, type Page, type PauseReferralProgramRequest, type PauseReferralProgramResponse, type PercentageDiscount, type PicassoAssigned, type PicassoUnassigned, type PremiumFeatures, PriceIncreaseTrigger, type PriceIncreaseTriggerWithLiterals, ProductAdjustment, type ProductAdjustmentWithLiterals, type ProductPriceIncreaseData, type ProgramInSite, ProgramStatus, type ProgramStatusWithLiterals, type ProgramUpdatedEnvelope, ProviderName, type ProviderNameWithLiterals, type ReactivationData, ReactivationReasonEnum, type ReactivationReasonEnumWithLiterals, type RecurringChargeAttemptFailed, type RecurringChargeSucceeded, type ReferralAppInstallation, type ReferralProgram, type RestoreInfo, type Reward, type RewardOptionsOneOf, RewardType, type RewardTypeWithLiterals, type ServiceProvisioned, type ServiceRemoved, type SiteCreated, SiteCreatedContext, type SiteCreatedContextWithLiterals, type SiteDeleted, type SiteHardDeleted, type SiteMarkedAsTemplate, type SiteMarkedAsWixSite, type SitePublished, type SitePurgedExternally, type SiteRenamed, type SiteTransferred, type SiteUndeleted, type SiteUnpublished, type SiteUrlChanged, State, type StateWithLiterals, type StudioAssigned, type StudioUnassigned, type Subscription, type SubscriptionAssigned, type SubscriptionAutoRenewTurnedOff, type SubscriptionAutoRenewTurnedOn, type SubscriptionCancelled, type SubscriptionCreated, type SubscriptionEvent, type SubscriptionEventEventOneOf, type SubscriptionNearEndOfPeriod, type SubscriptionPendingChange, SubscriptionStatus, type SubscriptionStatusWithLiterals, type SubscriptionTransferred, type SubscriptionUnassigned, Type, type TypeWithLiterals, UnassignReason, type UnassignReasonWithLiterals, type UpdateReferralProgramRequest, type UpdateReferralProgramResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, activateReferralProgram, generateAiSocialMediaPostsSuggestions, getAiSocialMediaPostsSuggestions, getReferralProgram, getReferralProgramPremiumFeatures, onProgramUpdated, pauseReferralProgram, updateReferralProgram };
1281
+ export { type AISocialMediaPostSuggestion, Action, type ActionEvent, type ActionWithLiterals, type ActivateReferralProgramRequest, type ActivateReferralProgramResponse, App, type AppWithLiterals, type BaseEventMetadata, type BillingReference, type BulkGetReferralProgramRequest, type BulkGetReferralProgramResponse, type CancellationDetails, ContractSwitchReason, type ContractSwitchReasonWithLiterals, ContractSwitchType, type ContractSwitchTypeWithLiterals, type ContractSwitched, type Coupon, type CouponDiscountTypeOptionsOneOf, type CouponScope, type CouponScopeOrMinSubtotalOneOf, type Cycle, type CycleCycleSelectorOneOf, DiscountType, type DiscountTypeWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Emails, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type FixedAmountDiscount, type GenerateAISocialMediaPostsSuggestionsRequest, type GenerateAISocialMediaPostsSuggestionsResponse, type GenerateAiSocialMediaPostsSuggestionsOptions, type GetAISocialMediaPostsSuggestionsRequest, type GetAISocialMediaPostsSuggestionsResponse, type GetAiSocialMediaPostsSuggestionsOptions, type GetReferralProgramPremiumFeaturesRequest, type GetReferralProgramPremiumFeaturesResponse, type GetReferralProgramRequest, type GetReferralProgramResponse, type Group, type HtmlSitePublished, type IdentificationData, type IdentificationDataIdOneOf, Initiator, type InitiatorWithLiterals, type Interval, IntervalUnit, type IntervalUnitWithLiterals, type LoyaltyPoints, type MessageEnvelope, type OneTime, type Page, type PauseReferralProgramRequest, type PauseReferralProgramResponse, type PercentageDiscount, type PremiumFeatures, PriceIncreaseTrigger, type PriceIncreaseTriggerWithLiterals, ProductAdjustment, type ProductAdjustmentWithLiterals, type ProductPriceIncreaseData, type ProgramInSite, ProgramStatus, type ProgramStatusWithLiterals, type ProgramUpdatedEnvelope, ProviderName, type ProviderNameWithLiterals, type ReactivationData, ReactivationReasonEnum, type ReactivationReasonEnumWithLiterals, type RecurringChargeAttemptFailed, type RecurringChargeSucceeded, type ReferralAppInstallation, type ReferralProgram, type RestoreInfo, type Reward, type RewardOptionsOneOf, RewardType, type RewardTypeWithLiterals, type Subscription, type SubscriptionAssigned, type SubscriptionAutoRenewTurnedOff, type SubscriptionAutoRenewTurnedOn, type SubscriptionCancelled, type SubscriptionCreated, type SubscriptionEvent, type SubscriptionEventEventOneOf, type SubscriptionNearEndOfPeriod, type SubscriptionPendingChange, SubscriptionStatus, type SubscriptionStatusWithLiterals, type SubscriptionTransferred, type SubscriptionUnassigned, Type, type TypeWithLiterals, UnassignReason, type UnassignReasonWithLiterals, type UpdateReferralProgramRequest, type UpdateReferralProgramResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, activateReferralProgram, generateAiSocialMediaPostsSuggestions, getAiSocialMediaPostsSuggestions, getReferralProgram, getReferralProgramPremiumFeatures, onProgramUpdated, pauseReferralProgram, updateReferralProgram };
@@ -457,64 +457,6 @@ var App = /* @__PURE__ */ ((App2) => {
457
457
  App2["ONLINE_PROGRAMS"] = "ONLINE_PROGRAMS";
458
458
  return App2;
459
459
  })(App || {});
460
- var State = /* @__PURE__ */ ((State2) => {
461
- State2["UNKNOWN"] = "UNKNOWN";
462
- State2["ENABLED"] = "ENABLED";
463
- State2["DISABLED"] = "DISABLED";
464
- State2["PENDING"] = "PENDING";
465
- State2["DEMO"] = "DEMO";
466
- return State2;
467
- })(State || {});
468
- var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
469
- SiteCreatedContext2["OTHER"] = "OTHER";
470
- SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
471
- SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
472
- SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
473
- SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
474
- SiteCreatedContext2["FLASH"] = "FLASH";
475
- return SiteCreatedContext2;
476
- })(SiteCreatedContext || {});
477
- var Namespace = /* @__PURE__ */ ((Namespace2) => {
478
- Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
479
- Namespace2["WIX"] = "WIX";
480
- Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
481
- Namespace2["ALBUMS"] = "ALBUMS";
482
- Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
483
- Namespace2["HOTELS"] = "HOTELS";
484
- Namespace2["CLUBS"] = "CLUBS";
485
- Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
486
- Namespace2["DEV_SITE"] = "DEV_SITE";
487
- Namespace2["LOGOS"] = "LOGOS";
488
- Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
489
- Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
490
- Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
491
- Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
492
- Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
493
- Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
494
- Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
495
- Namespace2["ANYWHERE"] = "ANYWHERE";
496
- Namespace2["HEADLESS"] = "HEADLESS";
497
- Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
498
- Namespace2["RISE"] = "RISE";
499
- Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
500
- Namespace2["NOWNIA"] = "NOWNIA";
501
- Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
502
- Namespace2["CODUX"] = "CODUX";
503
- Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
504
- Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
505
- Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
506
- Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
507
- Namespace2["MIMIR"] = "MIMIR";
508
- return Namespace2;
509
- })(Namespace || {});
510
- var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
511
- DeleteStatus2["UNKNOWN"] = "UNKNOWN";
512
- DeleteStatus2["TRASH"] = "TRASH";
513
- DeleteStatus2["DELETED"] = "DELETED";
514
- DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
515
- DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
516
- return DeleteStatus2;
517
- })(DeleteStatus || {});
518
460
  var ProviderName = /* @__PURE__ */ ((ProviderName2) => {
519
461
  ProviderName2["UNKNOWN"] = "UNKNOWN";
520
462
  ProviderName2["SBS"] = "SBS";
@@ -804,19 +746,15 @@ export {
804
746
  App,
805
747
  ContractSwitchReason,
806
748
  ContractSwitchType,
807
- DeleteStatus,
808
749
  DiscountType,
809
750
  Initiator,
810
751
  IntervalUnit,
811
- Namespace,
812
752
  PriceIncreaseTrigger,
813
753
  ProductAdjustment,
814
754
  ProgramStatus,
815
755
  ProviderName,
816
756
  ReactivationReasonEnum,
817
757
  RewardType,
818
- SiteCreatedContext,
819
- State,
820
758
  SubscriptionStatus,
821
759
  Type,
822
760
  UnassignReason,