@wix/auto_sdk_referral_programs 1.0.38 → 1.0.40
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 +0 -66
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +1 -458
- package/build/cjs/index.typings.js +0 -66
- package/build/cjs/index.typings.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +0 -62
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +1 -458
- package/build/es/index.typings.mjs +0 -62
- package/build/es/index.typings.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +0 -66
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +1 -458
- package/build/internal/cjs/index.typings.js +0 -66
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +0 -62
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +1 -458
- package/build/internal/es/index.typings.mjs +0 -62
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
@@ -1745,4 +1288,4 @@ interface GenerateAiSocialMediaPostsSuggestionsOptions {
|
|
|
1745
1288
|
*/
|
|
1746
1289
|
declare function getReferralProgramPremiumFeatures(): Promise<NonNullablePaths<GetReferralProgramPremiumFeaturesResponse, `referralProgram`>>;
|
|
1747
1290
|
|
|
1748
|
-
export { type AISocialMediaPostSuggestion, Action, type ActionEvent, type ActionWithLiterals, type ActivateReferralProgramRequest, type ActivateReferralProgramResponse, App, type AppWithLiterals, type
|
|
1291
|
+
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, bulkGetReferralProgram, generateAiSocialMediaPostsSuggestions, getAiSocialMediaPostsSuggestions, getReferralProgram, getReferralProgramPremiumFeatures, onProgramUpdated, pauseReferralProgram, updateReferralProgram };
|
|
@@ -24,19 +24,15 @@ __export(index_typings_exports, {
|
|
|
24
24
|
App: () => App,
|
|
25
25
|
ContractSwitchReason: () => ContractSwitchReason,
|
|
26
26
|
ContractSwitchType: () => ContractSwitchType,
|
|
27
|
-
DeleteStatus: () => DeleteStatus,
|
|
28
27
|
DiscountType: () => DiscountType,
|
|
29
28
|
Initiator: () => Initiator,
|
|
30
29
|
IntervalUnit: () => IntervalUnit,
|
|
31
|
-
Namespace: () => Namespace,
|
|
32
30
|
PriceIncreaseTrigger: () => PriceIncreaseTrigger,
|
|
33
31
|
ProductAdjustment: () => ProductAdjustment,
|
|
34
32
|
ProgramStatus: () => ProgramStatus,
|
|
35
33
|
ProviderName: () => ProviderName,
|
|
36
34
|
ReactivationReasonEnum: () => ReactivationReasonEnum,
|
|
37
35
|
RewardType: () => RewardType,
|
|
38
|
-
SiteCreatedContext: () => SiteCreatedContext,
|
|
39
|
-
State: () => State,
|
|
40
36
|
SubscriptionStatus: () => SubscriptionStatus,
|
|
41
37
|
Type: () => Type,
|
|
42
38
|
UnassignReason: () => UnassignReason,
|
|
@@ -508,64 +504,6 @@ var App = /* @__PURE__ */ ((App2) => {
|
|
|
508
504
|
App2["ONLINE_PROGRAMS"] = "ONLINE_PROGRAMS";
|
|
509
505
|
return App2;
|
|
510
506
|
})(App || {});
|
|
511
|
-
var State = /* @__PURE__ */ ((State2) => {
|
|
512
|
-
State2["UNKNOWN"] = "UNKNOWN";
|
|
513
|
-
State2["ENABLED"] = "ENABLED";
|
|
514
|
-
State2["DISABLED"] = "DISABLED";
|
|
515
|
-
State2["PENDING"] = "PENDING";
|
|
516
|
-
State2["DEMO"] = "DEMO";
|
|
517
|
-
return State2;
|
|
518
|
-
})(State || {});
|
|
519
|
-
var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
|
|
520
|
-
SiteCreatedContext2["OTHER"] = "OTHER";
|
|
521
|
-
SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
|
|
522
|
-
SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
|
|
523
|
-
SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
|
|
524
|
-
SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
|
|
525
|
-
SiteCreatedContext2["FLASH"] = "FLASH";
|
|
526
|
-
return SiteCreatedContext2;
|
|
527
|
-
})(SiteCreatedContext || {});
|
|
528
|
-
var Namespace = /* @__PURE__ */ ((Namespace2) => {
|
|
529
|
-
Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
|
|
530
|
-
Namespace2["WIX"] = "WIX";
|
|
531
|
-
Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
|
|
532
|
-
Namespace2["ALBUMS"] = "ALBUMS";
|
|
533
|
-
Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
|
|
534
|
-
Namespace2["HOTELS"] = "HOTELS";
|
|
535
|
-
Namespace2["CLUBS"] = "CLUBS";
|
|
536
|
-
Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
|
|
537
|
-
Namespace2["DEV_SITE"] = "DEV_SITE";
|
|
538
|
-
Namespace2["LOGOS"] = "LOGOS";
|
|
539
|
-
Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
|
|
540
|
-
Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
|
|
541
|
-
Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
|
|
542
|
-
Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
|
|
543
|
-
Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
|
|
544
|
-
Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
|
|
545
|
-
Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
|
|
546
|
-
Namespace2["ANYWHERE"] = "ANYWHERE";
|
|
547
|
-
Namespace2["HEADLESS"] = "HEADLESS";
|
|
548
|
-
Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
|
|
549
|
-
Namespace2["RISE"] = "RISE";
|
|
550
|
-
Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
|
|
551
|
-
Namespace2["NOWNIA"] = "NOWNIA";
|
|
552
|
-
Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
|
|
553
|
-
Namespace2["CODUX"] = "CODUX";
|
|
554
|
-
Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
|
|
555
|
-
Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
|
|
556
|
-
Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
|
|
557
|
-
Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
|
|
558
|
-
Namespace2["MIMIR"] = "MIMIR";
|
|
559
|
-
return Namespace2;
|
|
560
|
-
})(Namespace || {});
|
|
561
|
-
var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
|
|
562
|
-
DeleteStatus2["UNKNOWN"] = "UNKNOWN";
|
|
563
|
-
DeleteStatus2["TRASH"] = "TRASH";
|
|
564
|
-
DeleteStatus2["DELETED"] = "DELETED";
|
|
565
|
-
DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
|
|
566
|
-
DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
|
|
567
|
-
return DeleteStatus2;
|
|
568
|
-
})(DeleteStatus || {});
|
|
569
507
|
var ProviderName = /* @__PURE__ */ ((ProviderName2) => {
|
|
570
508
|
ProviderName2["UNKNOWN"] = "UNKNOWN";
|
|
571
509
|
ProviderName2["SBS"] = "SBS";
|
|
@@ -856,19 +794,15 @@ async function getReferralProgramPremiumFeatures2() {
|
|
|
856
794
|
App,
|
|
857
795
|
ContractSwitchReason,
|
|
858
796
|
ContractSwitchType,
|
|
859
|
-
DeleteStatus,
|
|
860
797
|
DiscountType,
|
|
861
798
|
Initiator,
|
|
862
799
|
IntervalUnit,
|
|
863
|
-
Namespace,
|
|
864
800
|
PriceIncreaseTrigger,
|
|
865
801
|
ProductAdjustment,
|
|
866
802
|
ProgramStatus,
|
|
867
803
|
ProviderName,
|
|
868
804
|
ReactivationReasonEnum,
|
|
869
805
|
RewardType,
|
|
870
|
-
SiteCreatedContext,
|
|
871
|
-
State,
|
|
872
806
|
SubscriptionStatus,
|
|
873
807
|
Type,
|
|
874
808
|
UnassignReason,
|