@wix/auto_sdk_pricing-plans_pricing-plans-settings 1.0.11 → 1.0.12
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 +1 -1
- package/build/cjs/index.js +69 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +492 -1
- package/build/cjs/index.typings.js +69 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +492 -1
- package/build/cjs/meta.js +69 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +65 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +492 -1
- package/build/es/index.typings.mjs +65 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +492 -1
- package/build/es/meta.mjs +65 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +69 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +492 -1
- package/build/internal/cjs/index.typings.js +69 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +492 -1
- package/build/internal/cjs/meta.js +69 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +65 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +492 -1
- package/build/internal/es/index.typings.mjs +65 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +492 -1
- package/build/internal/es/meta.mjs +65 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +3 -3
|
@@ -547,6 +547,497 @@ interface CancelRequestedReason {
|
|
|
547
547
|
}
|
|
548
548
|
interface Empty {
|
|
549
549
|
}
|
|
550
|
+
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
551
|
+
/** Emitted on a meta site creation. */
|
|
552
|
+
siteCreated?: SiteCreated;
|
|
553
|
+
/** Emitted on a meta site transfer completion. */
|
|
554
|
+
siteTransferred?: SiteTransferred;
|
|
555
|
+
/** Emitted on a meta site deletion. */
|
|
556
|
+
siteDeleted?: SiteDeleted;
|
|
557
|
+
/** Emitted on a meta site restoration. */
|
|
558
|
+
siteUndeleted?: SiteUndeleted;
|
|
559
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
560
|
+
sitePublished?: SitePublished;
|
|
561
|
+
/** Emitted on a meta site unpublish. */
|
|
562
|
+
siteUnpublished?: SiteUnpublished;
|
|
563
|
+
/** Emitted when meta site is marked as template. */
|
|
564
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
565
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
566
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
567
|
+
/** Emitted when an application is provisioned (installed). */
|
|
568
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
569
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
570
|
+
serviceRemoved?: ServiceRemoved;
|
|
571
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
572
|
+
siteRenamedPayload?: SiteRenamed;
|
|
573
|
+
/** Emitted when meta site was permanently deleted. */
|
|
574
|
+
hardDeleted?: SiteHardDeleted;
|
|
575
|
+
/** Emitted on a namespace change. */
|
|
576
|
+
namespaceChanged?: NamespaceChanged;
|
|
577
|
+
/** Emitted when Studio is attached. */
|
|
578
|
+
studioAssigned?: StudioAssigned;
|
|
579
|
+
/** Emitted when Studio is detached. */
|
|
580
|
+
studioUnassigned?: StudioUnassigned;
|
|
581
|
+
/**
|
|
582
|
+
* Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
|
|
583
|
+
* the actual URL.
|
|
584
|
+
*
|
|
585
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
|
|
586
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
|
|
587
|
+
*/
|
|
588
|
+
urlChanged?: SiteUrlChanged;
|
|
589
|
+
/** Site is marked as PurgedExternally */
|
|
590
|
+
sitePurgedExternally?: SitePurgedExternally;
|
|
591
|
+
/** Emitted when Odeditor is attached. */
|
|
592
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
593
|
+
/** Emitted when Odeditor is detached. */
|
|
594
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
595
|
+
/** Emitted when Picasso is attached. */
|
|
596
|
+
picassoAssigned?: PicassoAssigned;
|
|
597
|
+
/** Emitted when Picasso is detached. */
|
|
598
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
599
|
+
/** Emitted when Wixel is attached. */
|
|
600
|
+
wixelAssigned?: WixelAssigned;
|
|
601
|
+
/** Emitted when Wixel is detached. */
|
|
602
|
+
wixelUnassigned?: WixelUnassigned;
|
|
603
|
+
/** Emitted when StudioTwo is attached. */
|
|
604
|
+
studioTwoAssigned?: StudioTwoAssigned;
|
|
605
|
+
/** Emitted when StudioTwo is detached. */
|
|
606
|
+
studioTwoUnassigned?: StudioTwoUnassigned;
|
|
607
|
+
/**
|
|
608
|
+
* A meta site id.
|
|
609
|
+
* @format GUID
|
|
610
|
+
*/
|
|
611
|
+
metaSiteId?: string;
|
|
612
|
+
/** A meta site version. Monotonically increasing. */
|
|
613
|
+
version?: string;
|
|
614
|
+
/** A timestamp of the event. */
|
|
615
|
+
timestamp?: string;
|
|
616
|
+
/**
|
|
617
|
+
* TODO(meta-site): Change validation once validations are disabled for consumers
|
|
618
|
+
* More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
|
|
619
|
+
* @maxSize 4000
|
|
620
|
+
*/
|
|
621
|
+
assets?: Asset[];
|
|
622
|
+
}
|
|
623
|
+
/** @oneof */
|
|
624
|
+
interface MetaSiteSpecialEventPayloadOneOf {
|
|
625
|
+
/** Emitted on a meta site creation. */
|
|
626
|
+
siteCreated?: SiteCreated;
|
|
627
|
+
/** Emitted on a meta site transfer completion. */
|
|
628
|
+
siteTransferred?: SiteTransferred;
|
|
629
|
+
/** Emitted on a meta site deletion. */
|
|
630
|
+
siteDeleted?: SiteDeleted;
|
|
631
|
+
/** Emitted on a meta site restoration. */
|
|
632
|
+
siteUndeleted?: SiteUndeleted;
|
|
633
|
+
/** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
|
|
634
|
+
sitePublished?: SitePublished;
|
|
635
|
+
/** Emitted on a meta site unpublish. */
|
|
636
|
+
siteUnpublished?: SiteUnpublished;
|
|
637
|
+
/** Emitted when meta site is marked as template. */
|
|
638
|
+
siteMarkedAsTemplate?: SiteMarkedAsTemplate;
|
|
639
|
+
/** Emitted when meta site is marked as a WixSite. */
|
|
640
|
+
siteMarkedAsWixSite?: SiteMarkedAsWixSite;
|
|
641
|
+
/** Emitted when an application is provisioned (installed). */
|
|
642
|
+
serviceProvisioned?: ServiceProvisioned;
|
|
643
|
+
/** Emitted when an application is removed (uninstalled). */
|
|
644
|
+
serviceRemoved?: ServiceRemoved;
|
|
645
|
+
/** Emitted when meta site name (URL slug) is changed. */
|
|
646
|
+
siteRenamedPayload?: SiteRenamed;
|
|
647
|
+
/** Emitted when meta site was permanently deleted. */
|
|
648
|
+
hardDeleted?: SiteHardDeleted;
|
|
649
|
+
/** Emitted on a namespace change. */
|
|
650
|
+
namespaceChanged?: NamespaceChanged;
|
|
651
|
+
/** Emitted when Studio is attached. */
|
|
652
|
+
studioAssigned?: StudioAssigned;
|
|
653
|
+
/** Emitted when Studio is detached. */
|
|
654
|
+
studioUnassigned?: StudioUnassigned;
|
|
655
|
+
/**
|
|
656
|
+
* Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
|
|
657
|
+
* the actual URL.
|
|
658
|
+
*
|
|
659
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
|
|
660
|
+
* See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
|
|
661
|
+
*/
|
|
662
|
+
urlChanged?: SiteUrlChanged;
|
|
663
|
+
/** Site is marked as PurgedExternally */
|
|
664
|
+
sitePurgedExternally?: SitePurgedExternally;
|
|
665
|
+
/** Emitted when Odeditor is attached. */
|
|
666
|
+
odeditorAssigned?: OdeditorAssigned;
|
|
667
|
+
/** Emitted when Odeditor is detached. */
|
|
668
|
+
odeditorUnassigned?: OdeditorUnassigned;
|
|
669
|
+
/** Emitted when Picasso is attached. */
|
|
670
|
+
picassoAssigned?: PicassoAssigned;
|
|
671
|
+
/** Emitted when Picasso is detached. */
|
|
672
|
+
picassoUnassigned?: PicassoUnassigned;
|
|
673
|
+
/** Emitted when Wixel is attached. */
|
|
674
|
+
wixelAssigned?: WixelAssigned;
|
|
675
|
+
/** Emitted when Wixel is detached. */
|
|
676
|
+
wixelUnassigned?: WixelUnassigned;
|
|
677
|
+
/** Emitted when StudioTwo is attached. */
|
|
678
|
+
studioTwoAssigned?: StudioTwoAssigned;
|
|
679
|
+
/** Emitted when StudioTwo is detached. */
|
|
680
|
+
studioTwoUnassigned?: StudioTwoUnassigned;
|
|
681
|
+
}
|
|
682
|
+
interface Asset {
|
|
683
|
+
/**
|
|
684
|
+
* An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
|
|
685
|
+
* @maxLength 36
|
|
686
|
+
*/
|
|
687
|
+
appDefId?: string;
|
|
688
|
+
/**
|
|
689
|
+
* An instance id. For legacy reasons may be UUID or a string.
|
|
690
|
+
* @maxLength 200
|
|
691
|
+
*/
|
|
692
|
+
instanceId?: string;
|
|
693
|
+
/** An application state. */
|
|
694
|
+
state?: StateWithLiterals;
|
|
695
|
+
}
|
|
696
|
+
declare enum State {
|
|
697
|
+
UNKNOWN = "UNKNOWN",
|
|
698
|
+
ENABLED = "ENABLED",
|
|
699
|
+
DISABLED = "DISABLED",
|
|
700
|
+
PENDING = "PENDING",
|
|
701
|
+
DEMO = "DEMO"
|
|
702
|
+
}
|
|
703
|
+
/** @enumType */
|
|
704
|
+
type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
|
|
705
|
+
interface SiteCreated {
|
|
706
|
+
/**
|
|
707
|
+
* A template identifier (empty if not created from a template).
|
|
708
|
+
* @maxLength 36
|
|
709
|
+
*/
|
|
710
|
+
originTemplateId?: string;
|
|
711
|
+
/**
|
|
712
|
+
* An account id of the owner.
|
|
713
|
+
* @format GUID
|
|
714
|
+
*/
|
|
715
|
+
ownerId?: string;
|
|
716
|
+
/** A context in which meta site was created. */
|
|
717
|
+
context?: SiteCreatedContextWithLiterals;
|
|
718
|
+
/**
|
|
719
|
+
* A meta site id from which this site was created.
|
|
720
|
+
*
|
|
721
|
+
* In case of a creation from a template it's a template id.
|
|
722
|
+
* In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
|
|
723
|
+
* @format GUID
|
|
724
|
+
*/
|
|
725
|
+
originMetaSiteId?: string | null;
|
|
726
|
+
/**
|
|
727
|
+
* A meta site name (URL slug).
|
|
728
|
+
* @maxLength 20
|
|
729
|
+
*/
|
|
730
|
+
siteName?: string;
|
|
731
|
+
/** A namespace. */
|
|
732
|
+
namespace?: NamespaceWithLiterals;
|
|
733
|
+
}
|
|
734
|
+
declare enum SiteCreatedContext {
|
|
735
|
+
/** A valid option, we don't expose all reasons why site might be created. */
|
|
736
|
+
OTHER = "OTHER",
|
|
737
|
+
/** A meta site was created from template. */
|
|
738
|
+
FROM_TEMPLATE = "FROM_TEMPLATE",
|
|
739
|
+
/** A meta site was created by copying of the transfferred meta site. */
|
|
740
|
+
DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
|
|
741
|
+
/** A copy of existing meta site. */
|
|
742
|
+
DUPLICATE = "DUPLICATE",
|
|
743
|
+
/** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
|
|
744
|
+
OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
|
|
745
|
+
/** deprecated A meta site was created for Flash editor. */
|
|
746
|
+
FLASH = "FLASH"
|
|
747
|
+
}
|
|
748
|
+
/** @enumType */
|
|
749
|
+
type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
|
|
750
|
+
declare enum Namespace {
|
|
751
|
+
UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
|
|
752
|
+
/** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
|
|
753
|
+
WIX = "WIX",
|
|
754
|
+
/** 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. */
|
|
755
|
+
SHOUT_OUT = "SHOUT_OUT",
|
|
756
|
+
/** 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. */
|
|
757
|
+
ALBUMS = "ALBUMS",
|
|
758
|
+
/** 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. */
|
|
759
|
+
WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
|
|
760
|
+
/** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
761
|
+
HOTELS = "HOTELS",
|
|
762
|
+
/** 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. */
|
|
763
|
+
CLUBS = "CLUBS",
|
|
764
|
+
/** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
765
|
+
ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
|
|
766
|
+
/** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
767
|
+
DEV_SITE = "DEV_SITE",
|
|
768
|
+
/** 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. */
|
|
769
|
+
LOGOS = "LOGOS",
|
|
770
|
+
/** 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. */
|
|
771
|
+
VIDEO_MAKER = "VIDEO_MAKER",
|
|
772
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
773
|
+
PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
|
|
774
|
+
/** MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
775
|
+
DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
|
|
776
|
+
/**
|
|
777
|
+
* A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
|
|
778
|
+
*
|
|
779
|
+
* Meta site with this namespace will *not* be shown in a user's site list by default.
|
|
780
|
+
*/
|
|
781
|
+
HTML_DRAFT = "HTML_DRAFT",
|
|
782
|
+
/**
|
|
783
|
+
* the user-journey for Fitness users who want to start from managing their business instead of designing their website.
|
|
784
|
+
* Will be accessible from Site List and will not have a website app.
|
|
785
|
+
* Once the user attaches a site, the site will become a regular wixsite.
|
|
786
|
+
*/
|
|
787
|
+
SITELESS_BUSINESS = "SITELESS_BUSINESS",
|
|
788
|
+
/** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
|
|
789
|
+
CREATOR_ECONOMY = "CREATOR_ECONOMY",
|
|
790
|
+
/** It is to be used in the Business First efforts. */
|
|
791
|
+
DASHBOARD_FIRST = "DASHBOARD_FIRST",
|
|
792
|
+
/** Bookings business flow with no site. */
|
|
793
|
+
ANYWHERE = "ANYWHERE",
|
|
794
|
+
/** Namespace for Headless Backoffice with no editor */
|
|
795
|
+
HEADLESS = "HEADLESS",
|
|
796
|
+
/**
|
|
797
|
+
* Namespace for master site that will exist in parent account that will be referenced by subaccounts
|
|
798
|
+
* The site will be used for account level CSM feature for enterprise
|
|
799
|
+
*/
|
|
800
|
+
ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
|
|
801
|
+
/** Rise.ai Siteless account management for Gift Cards and Store Credit. */
|
|
802
|
+
RISE = "RISE",
|
|
803
|
+
/**
|
|
804
|
+
* As part of the branded app new funnel, users now can create a meta site that will be branded app first.
|
|
805
|
+
* There's a blank site behind the scene but it's blank).
|
|
806
|
+
* The Mobile company will be the owner of this namespace.
|
|
807
|
+
*/
|
|
808
|
+
BRANDED_FIRST = "BRANDED_FIRST",
|
|
809
|
+
/** Nownia.com Siteless account management for Ai Scheduling Assistant. */
|
|
810
|
+
NOWNIA = "NOWNIA",
|
|
811
|
+
/**
|
|
812
|
+
* UGC Templates are templates that are created by users for personal use and to sale to other users.
|
|
813
|
+
* The Partners company owns this namespace.
|
|
814
|
+
*/
|
|
815
|
+
UGC_TEMPLATE = "UGC_TEMPLATE",
|
|
816
|
+
/** Codux Headless Sites */
|
|
817
|
+
CODUX = "CODUX",
|
|
818
|
+
/** Bobb - AI Design Creator. */
|
|
819
|
+
MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
|
|
820
|
+
/**
|
|
821
|
+
* Shared Blog Site is a unique single site across Enterprise account,
|
|
822
|
+
* This site will hold all Blog posts related to the Marketing product.
|
|
823
|
+
*/
|
|
824
|
+
SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
|
|
825
|
+
/** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
826
|
+
STANDALONE_FORMS = "STANDALONE_FORMS",
|
|
827
|
+
/** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
|
|
828
|
+
STANDALONE_EVENTS = "STANDALONE_EVENTS",
|
|
829
|
+
/** MIMIR - Siteless account for MIMIR Ai Job runner. */
|
|
830
|
+
MIMIR = "MIMIR",
|
|
831
|
+
/** Wix Twins platform. */
|
|
832
|
+
TWINS = "TWINS",
|
|
833
|
+
/** Wix Nano. */
|
|
834
|
+
NANO = "NANO",
|
|
835
|
+
/** Base44 headless sites. */
|
|
836
|
+
BASE44 = "BASE44"
|
|
837
|
+
}
|
|
838
|
+
/** @enumType */
|
|
839
|
+
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' | 'BASE44';
|
|
840
|
+
/** Site transferred to another user. */
|
|
841
|
+
interface SiteTransferred {
|
|
842
|
+
/**
|
|
843
|
+
* A previous owner id (user that transfers meta site).
|
|
844
|
+
* @format GUID
|
|
845
|
+
*/
|
|
846
|
+
oldOwnerId?: string;
|
|
847
|
+
/**
|
|
848
|
+
* A new owner id (user that accepts meta site).
|
|
849
|
+
* @format GUID
|
|
850
|
+
*/
|
|
851
|
+
newOwnerId?: string;
|
|
852
|
+
}
|
|
853
|
+
/** Soft deletion of the meta site. Could be restored. */
|
|
854
|
+
interface SiteDeleted {
|
|
855
|
+
/** A deletion context. */
|
|
856
|
+
deleteContext?: DeleteContext;
|
|
857
|
+
}
|
|
858
|
+
interface DeleteContext {
|
|
859
|
+
/** When the meta site was deleted. */
|
|
860
|
+
dateDeleted?: Date | null;
|
|
861
|
+
/** A status. */
|
|
862
|
+
deleteStatus?: DeleteStatusWithLiterals;
|
|
863
|
+
/**
|
|
864
|
+
* A reason (flow).
|
|
865
|
+
* @maxLength 255
|
|
866
|
+
*/
|
|
867
|
+
deleteOrigin?: string;
|
|
868
|
+
/**
|
|
869
|
+
* A service that deleted it.
|
|
870
|
+
* @maxLength 255
|
|
871
|
+
*/
|
|
872
|
+
initiatorId?: string | null;
|
|
873
|
+
}
|
|
874
|
+
declare enum DeleteStatus {
|
|
875
|
+
UNKNOWN = "UNKNOWN",
|
|
876
|
+
TRASH = "TRASH",
|
|
877
|
+
DELETED = "DELETED",
|
|
878
|
+
PENDING_PURGE = "PENDING_PURGE",
|
|
879
|
+
PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
|
|
880
|
+
}
|
|
881
|
+
/** @enumType */
|
|
882
|
+
type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
|
|
883
|
+
/** Restoration of the meta site. */
|
|
884
|
+
interface SiteUndeleted {
|
|
885
|
+
}
|
|
886
|
+
/** First publish of a meta site. Or subsequent publish after unpublish. */
|
|
887
|
+
interface SitePublished {
|
|
888
|
+
}
|
|
889
|
+
interface SiteUnpublished {
|
|
890
|
+
/**
|
|
891
|
+
* A list of URLs previously associated with the meta site.
|
|
892
|
+
* @maxLength 4000
|
|
893
|
+
* @maxSize 10000
|
|
894
|
+
*/
|
|
895
|
+
urls?: string[];
|
|
896
|
+
}
|
|
897
|
+
interface SiteMarkedAsTemplate {
|
|
898
|
+
}
|
|
899
|
+
interface SiteMarkedAsWixSite {
|
|
900
|
+
}
|
|
901
|
+
/**
|
|
902
|
+
* Represents a service provisioned a site.
|
|
903
|
+
*
|
|
904
|
+
* Note on `origin_instance_id`:
|
|
905
|
+
* There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
|
|
906
|
+
* This is because of the following scenario:
|
|
907
|
+
*
|
|
908
|
+
* Imagine you have a template where a third-party application (TPA) includes some stub data,
|
|
909
|
+
* such as a product catalog. When you create a site from this template, you inherit this
|
|
910
|
+
* default product catalog. However, if the template's product catalog is modified,
|
|
911
|
+
* your site will retain the catalog as it was at the time of site creation. This ensures that
|
|
912
|
+
* your site remains consistent with what you initially received and does not include any
|
|
913
|
+
* changes made to the original template afterward.
|
|
914
|
+
* To ensure this, the TPA on the template gets a new instance_id.
|
|
915
|
+
*/
|
|
916
|
+
interface ServiceProvisioned {
|
|
917
|
+
/**
|
|
918
|
+
* Either UUID or EmbeddedServiceType.
|
|
919
|
+
* @maxLength 36
|
|
920
|
+
*/
|
|
921
|
+
appDefId?: string;
|
|
922
|
+
/**
|
|
923
|
+
* Not only UUID. Something here could be something weird.
|
|
924
|
+
* @maxLength 36
|
|
925
|
+
*/
|
|
926
|
+
instanceId?: string;
|
|
927
|
+
/**
|
|
928
|
+
* An instance id from which this instance is originated.
|
|
929
|
+
* @maxLength 36
|
|
930
|
+
*/
|
|
931
|
+
originInstanceId?: string;
|
|
932
|
+
/**
|
|
933
|
+
* A version.
|
|
934
|
+
* @maxLength 500
|
|
935
|
+
*/
|
|
936
|
+
version?: string | null;
|
|
937
|
+
/**
|
|
938
|
+
* The origin meta site id
|
|
939
|
+
* @format GUID
|
|
940
|
+
*/
|
|
941
|
+
originMetaSiteId?: string | null;
|
|
942
|
+
}
|
|
943
|
+
interface ServiceRemoved {
|
|
944
|
+
/**
|
|
945
|
+
* Either UUID or EmbeddedServiceType.
|
|
946
|
+
* @maxLength 36
|
|
947
|
+
*/
|
|
948
|
+
appDefId?: string;
|
|
949
|
+
/**
|
|
950
|
+
* Not only UUID. Something here could be something weird.
|
|
951
|
+
* @maxLength 36
|
|
952
|
+
*/
|
|
953
|
+
instanceId?: string;
|
|
954
|
+
/**
|
|
955
|
+
* A version.
|
|
956
|
+
* @maxLength 500
|
|
957
|
+
*/
|
|
958
|
+
version?: string | null;
|
|
959
|
+
}
|
|
960
|
+
/** Rename of the site. Meaning, free public url has been changed as well. */
|
|
961
|
+
interface SiteRenamed {
|
|
962
|
+
/**
|
|
963
|
+
* A new meta site name (URL slug).
|
|
964
|
+
* @maxLength 20
|
|
965
|
+
*/
|
|
966
|
+
newSiteName?: string;
|
|
967
|
+
/**
|
|
968
|
+
* A previous meta site name (URL slug).
|
|
969
|
+
* @maxLength 255
|
|
970
|
+
*/
|
|
971
|
+
oldSiteName?: string;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Hard deletion of the meta site.
|
|
975
|
+
*
|
|
976
|
+
* Could not be restored. Therefore it's desirable to cleanup data.
|
|
977
|
+
*/
|
|
978
|
+
interface SiteHardDeleted {
|
|
979
|
+
/** A deletion context. */
|
|
980
|
+
deleteContext?: DeleteContext;
|
|
981
|
+
}
|
|
982
|
+
interface NamespaceChanged {
|
|
983
|
+
/** A previous namespace. */
|
|
984
|
+
oldNamespace?: NamespaceWithLiterals;
|
|
985
|
+
/** A new namespace. */
|
|
986
|
+
newNamespace?: NamespaceWithLiterals;
|
|
987
|
+
}
|
|
988
|
+
/** Assigned Studio editor */
|
|
989
|
+
interface StudioAssigned {
|
|
990
|
+
}
|
|
991
|
+
/** Unassigned Studio editor */
|
|
992
|
+
interface StudioUnassigned {
|
|
993
|
+
}
|
|
994
|
+
/**
|
|
995
|
+
* Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
|
|
996
|
+
*
|
|
997
|
+
* This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
|
|
998
|
+
* with sites and its urls, you need to listen to another topic/event. Read about it:
|
|
999
|
+
*
|
|
1000
|
+
* https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
|
|
1001
|
+
*/
|
|
1002
|
+
interface SiteUrlChanged {
|
|
1003
|
+
}
|
|
1004
|
+
/**
|
|
1005
|
+
* Used at the end of the deletion flow for both draft sites and when a user deletes a site.
|
|
1006
|
+
* Consumed by other teams to remove relevant data.
|
|
1007
|
+
*/
|
|
1008
|
+
interface SitePurgedExternally {
|
|
1009
|
+
/**
|
|
1010
|
+
* @maxLength 2048
|
|
1011
|
+
* @maxSize 100
|
|
1012
|
+
* @deprecated
|
|
1013
|
+
* @targetRemovalDate 2025-04-15
|
|
1014
|
+
*/
|
|
1015
|
+
appDefId?: string[];
|
|
1016
|
+
}
|
|
1017
|
+
/** Assigned Odeditor */
|
|
1018
|
+
interface OdeditorAssigned {
|
|
1019
|
+
}
|
|
1020
|
+
/** Unassigned Odeditor */
|
|
1021
|
+
interface OdeditorUnassigned {
|
|
1022
|
+
}
|
|
1023
|
+
/** Assigned Picasso editor */
|
|
1024
|
+
interface PicassoAssigned {
|
|
1025
|
+
}
|
|
1026
|
+
/** Unassigned Picasso */
|
|
1027
|
+
interface PicassoUnassigned {
|
|
1028
|
+
}
|
|
1029
|
+
/** Assigned Wixel */
|
|
1030
|
+
interface WixelAssigned {
|
|
1031
|
+
}
|
|
1032
|
+
/** Unassigned Wixel */
|
|
1033
|
+
interface WixelUnassigned {
|
|
1034
|
+
}
|
|
1035
|
+
/** Assigned StudioTwo */
|
|
1036
|
+
interface StudioTwoAssigned {
|
|
1037
|
+
}
|
|
1038
|
+
/** Unassigned StudioTwo */
|
|
1039
|
+
interface StudioTwoUnassigned {
|
|
1040
|
+
}
|
|
550
1041
|
interface DomainEvent extends DomainEventBodyOneOf {
|
|
551
1042
|
createdEvent?: EntityCreatedEvent;
|
|
552
1043
|
updatedEvent?: EntityUpdatedEvent;
|
|
@@ -709,4 +1200,4 @@ declare function getPricingPlansSettings(): Promise<NonNullablePaths<PricingPlan
|
|
|
709
1200
|
*/
|
|
710
1201
|
declare function updatePricingPlansSettings(pricingPlansSettings: NonNullablePaths<PricingPlansSettings, `revision`, 2>): Promise<NonNullablePaths<PricingPlansSettings, `taxableAddress`, 2>>;
|
|
711
1202
|
|
|
712
|
-
export { type ActionEvent, type AssignedFromFloatingReason, type BooleanFeature, type CancelRequestedReason, type ContractSwitchedReason, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type Feature, type FeatureCancelled, type FeatureCancelledReasonOneOf, type FeatureContext, type FeatureDisabled, type FeatureDisabledReasonOneOf, type FeatureEnabled, type FeatureEnabledReasonOneOf, type FeatureEvent, type FeatureEventEventOneOf, FeaturePeriod, type FeaturePeriodWithLiterals, type FeatureQuantityInfoOneOf, type FeatureUpdated, type FeatureUpdatedPreviousQuantityInfoOneOf, type FeatureUpdatedReasonOneOf, type GetPricingPlansSettingsRequest, type GetPricingPlansSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, type ManualFeatureCreationReason, type MessageEnvelope, type MigratedFromLegacyReason, type NewFeatureReason, type PricingPlansSettings, type QuotaFeature, type QuotaInfo, type QuotaInfoEntry, type ReassignedFromSiteReason, type ReassignedToAnotherSiteReason, type ReplacedByAnotherSubscriptionReason, type RestoreInfo, TaxableAddress, type TaxableAddressWithLiterals, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, type UnAssingedToFloatingReason, type UpdatePricingPlansSettingsRequest, type UpdatePricingPlansSettingsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, getPricingPlansSettings, updatePricingPlansSettings };
|
|
1203
|
+
export { type ActionEvent, type Asset, type AssignedFromFloatingReason, type BooleanFeature, type CancelRequestedReason, type ContractSwitchedReason, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, type Feature, type FeatureCancelled, type FeatureCancelledReasonOneOf, type FeatureContext, type FeatureDisabled, type FeatureDisabledReasonOneOf, type FeatureEnabled, type FeatureEnabledReasonOneOf, type FeatureEvent, type FeatureEventEventOneOf, FeaturePeriod, type FeaturePeriodWithLiterals, type FeatureQuantityInfoOneOf, type FeatureUpdated, type FeatureUpdatedPreviousQuantityInfoOneOf, type FeatureUpdatedReasonOneOf, type GetPricingPlansSettingsRequest, type GetPricingPlansSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, type ManualFeatureCreationReason, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigratedFromLegacyReason, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type NewFeatureReason, type OdeditorAssigned, type OdeditorUnassigned, type PicassoAssigned, type PicassoUnassigned, type PricingPlansSettings, type QuotaFeature, type QuotaInfo, type QuotaInfoEntry, type ReassignedFromSiteReason, type ReassignedToAnotherSiteReason, type ReplacedByAnotherSubscriptionReason, type RestoreInfo, 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 StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, TaxableAddress, type TaxableAddressWithLiterals, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, type UnAssingedToFloatingReason, type UpdatePricingPlansSettingsRequest, type UpdatePricingPlansSettingsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, getPricingPlansSettings, updatePricingPlansSettings };
|
|
@@ -20,7 +20,11 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
// index.typings.ts
|
|
21
21
|
var index_typings_exports = {};
|
|
22
22
|
__export(index_typings_exports, {
|
|
23
|
+
DeleteStatus: () => DeleteStatus,
|
|
23
24
|
FeaturePeriod: () => FeaturePeriod,
|
|
25
|
+
Namespace: () => Namespace,
|
|
26
|
+
SiteCreatedContext: () => SiteCreatedContext,
|
|
27
|
+
State: () => State,
|
|
24
28
|
TaxableAddress: () => TaxableAddress,
|
|
25
29
|
WebhookIdentityType: () => WebhookIdentityType,
|
|
26
30
|
getPricingPlansSettings: () => getPricingPlansSettings2,
|
|
@@ -162,6 +166,67 @@ var FeaturePeriod = /* @__PURE__ */ ((FeaturePeriod2) => {
|
|
|
162
166
|
FeaturePeriod2["YEAR"] = "YEAR";
|
|
163
167
|
return FeaturePeriod2;
|
|
164
168
|
})(FeaturePeriod || {});
|
|
169
|
+
var State = /* @__PURE__ */ ((State2) => {
|
|
170
|
+
State2["UNKNOWN"] = "UNKNOWN";
|
|
171
|
+
State2["ENABLED"] = "ENABLED";
|
|
172
|
+
State2["DISABLED"] = "DISABLED";
|
|
173
|
+
State2["PENDING"] = "PENDING";
|
|
174
|
+
State2["DEMO"] = "DEMO";
|
|
175
|
+
return State2;
|
|
176
|
+
})(State || {});
|
|
177
|
+
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
178
|
+
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
179
|
+
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
180
|
+
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
181
|
+
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
182
|
+
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
183
|
+
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
184
|
+
return SiteCreatedContext2;
|
|
185
|
+
})(SiteCreatedContext || {});
|
|
186
|
+
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
187
|
+
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
188
|
+
Namespace2["WIX"] = "WIX";
|
|
189
|
+
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
190
|
+
Namespace2["ALBUMS"] = "ALBUMS";
|
|
191
|
+
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
192
|
+
Namespace2["HOTELS"] = "HOTELS";
|
|
193
|
+
Namespace2["CLUBS"] = "CLUBS";
|
|
194
|
+
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
195
|
+
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
196
|
+
Namespace2["LOGOS"] = "LOGOS";
|
|
197
|
+
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
198
|
+
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
199
|
+
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
200
|
+
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
201
|
+
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
202
|
+
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
203
|
+
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
204
|
+
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
205
|
+
Namespace2["HEADLESS"] = "HEADLESS";
|
|
206
|
+
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
207
|
+
Namespace2["RISE"] = "RISE";
|
|
208
|
+
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
209
|
+
Namespace2["NOWNIA"] = "NOWNIA";
|
|
210
|
+
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
211
|
+
Namespace2["CODUX"] = "CODUX";
|
|
212
|
+
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
213
|
+
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
214
|
+
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
215
|
+
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
216
|
+
Namespace2["MIMIR"] = "MIMIR";
|
|
217
|
+
Namespace2["TWINS"] = "TWINS";
|
|
218
|
+
Namespace2["NANO"] = "NANO";
|
|
219
|
+
Namespace2["BASE44"] = "BASE44";
|
|
220
|
+
return Namespace2;
|
|
221
|
+
})(Namespace || {});
|
|
222
|
+
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
223
|
+
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
224
|
+
DeleteStatus2["TRASH"] = "TRASH";
|
|
225
|
+
DeleteStatus2["DELETED"] = "DELETED";
|
|
226
|
+
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
227
|
+
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
228
|
+
return DeleteStatus2;
|
|
229
|
+
})(DeleteStatus || {});
|
|
165
230
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
166
231
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
167
232
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -224,7 +289,11 @@ async function updatePricingPlansSettings2(pricingPlansSettings) {
|
|
|
224
289
|
}
|
|
225
290
|
// Annotate the CommonJS export names for ESM import in node:
|
|
226
291
|
0 && (module.exports = {
|
|
292
|
+
DeleteStatus,
|
|
227
293
|
FeaturePeriod,
|
|
294
|
+
Namespace,
|
|
295
|
+
SiteCreatedContext,
|
|
296
|
+
State,
|
|
228
297
|
TaxableAddress,
|
|
229
298
|
WebhookIdentityType,
|
|
230
299
|
getPricingPlansSettings,
|