@wix/auto_sdk_loyalty_earning-rules 1.0.20 → 1.0.21

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.
@@ -438,463 +438,6 @@ interface InvalidateEarningRuleCacheRequest {
438
438
  }
439
439
  interface InvalidateEarningRuleCacheResponse {
440
440
  }
441
- interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
442
- /** Emitted on a meta site creation. */
443
- siteCreated?: SiteCreated;
444
- /** Emitted on a meta site transfer completion. */
445
- siteTransferred?: SiteTransferred;
446
- /** Emitted on a meta site deletion. */
447
- siteDeleted?: SiteDeleted;
448
- /** Emitted on a meta site restoration. */
449
- siteUndeleted?: SiteUndeleted;
450
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
451
- sitePublished?: SitePublished;
452
- /** Emitted on a meta site unpublish. */
453
- siteUnpublished?: SiteUnpublished;
454
- /** Emitted when meta site is marked as template. */
455
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
456
- /** Emitted when meta site is marked as a WixSite. */
457
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
458
- /** Emitted when an application is provisioned (installed). */
459
- serviceProvisioned?: ServiceProvisioned;
460
- /** Emitted when an application is removed (uninstalled). */
461
- serviceRemoved?: ServiceRemoved;
462
- /** Emitted when meta site name (URL slug) is changed. */
463
- siteRenamedPayload?: SiteRenamed;
464
- /** Emitted when meta site was permanently deleted. */
465
- hardDeleted?: SiteHardDeleted;
466
- /** Emitted on a namespace change. */
467
- namespaceChanged?: NamespaceChanged;
468
- /** Emitted when Studio is attached. */
469
- studioAssigned?: StudioAssigned;
470
- /** Emitted when Studio is detached. */
471
- studioUnassigned?: StudioUnassigned;
472
- /**
473
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
474
- * the actual URL.
475
- *
476
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
477
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
478
- */
479
- urlChanged?: SiteUrlChanged;
480
- /** Site is marked as PurgedExternally */
481
- sitePurgedExternally?: SitePurgedExternally;
482
- /** Emitted when Odeditor is attached. */
483
- odeditorAssigned?: OdeditorAssigned;
484
- /** Emitted when Odeditor is detached. */
485
- odeditorUnassigned?: OdeditorUnassigned;
486
- /** Emitted when Picasso is attached. */
487
- picassoAssigned?: PicassoAssigned;
488
- /** Emitted when Picasso is detached. */
489
- picassoUnassigned?: PicassoUnassigned;
490
- /**
491
- * A meta site id.
492
- * @format GUID
493
- */
494
- metaSiteId?: string;
495
- /** A meta site version. Monotonically increasing. */
496
- version?: string;
497
- /** A timestamp of the event. */
498
- timestamp?: string;
499
- /**
500
- * TODO(meta-site): Change validation once validations are disabled for consumers
501
- * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
502
- * @maxSize 4000
503
- */
504
- assets?: Asset[];
505
- }
506
- /** @oneof */
507
- interface MetaSiteSpecialEventPayloadOneOf {
508
- /** Emitted on a meta site creation. */
509
- siteCreated?: SiteCreated;
510
- /** Emitted on a meta site transfer completion. */
511
- siteTransferred?: SiteTransferred;
512
- /** Emitted on a meta site deletion. */
513
- siteDeleted?: SiteDeleted;
514
- /** Emitted on a meta site restoration. */
515
- siteUndeleted?: SiteUndeleted;
516
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
517
- sitePublished?: SitePublished;
518
- /** Emitted on a meta site unpublish. */
519
- siteUnpublished?: SiteUnpublished;
520
- /** Emitted when meta site is marked as template. */
521
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
522
- /** Emitted when meta site is marked as a WixSite. */
523
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
524
- /** Emitted when an application is provisioned (installed). */
525
- serviceProvisioned?: ServiceProvisioned;
526
- /** Emitted when an application is removed (uninstalled). */
527
- serviceRemoved?: ServiceRemoved;
528
- /** Emitted when meta site name (URL slug) is changed. */
529
- siteRenamedPayload?: SiteRenamed;
530
- /** Emitted when meta site was permanently deleted. */
531
- hardDeleted?: SiteHardDeleted;
532
- /** Emitted on a namespace change. */
533
- namespaceChanged?: NamespaceChanged;
534
- /** Emitted when Studio is attached. */
535
- studioAssigned?: StudioAssigned;
536
- /** Emitted when Studio is detached. */
537
- studioUnassigned?: StudioUnassigned;
538
- /**
539
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
540
- * the actual URL.
541
- *
542
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
543
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
544
- */
545
- urlChanged?: SiteUrlChanged;
546
- /** Site is marked as PurgedExternally */
547
- sitePurgedExternally?: SitePurgedExternally;
548
- /** Emitted when Odeditor is attached. */
549
- odeditorAssigned?: OdeditorAssigned;
550
- /** Emitted when Odeditor is detached. */
551
- odeditorUnassigned?: OdeditorUnassigned;
552
- /** Emitted when Picasso is attached. */
553
- picassoAssigned?: PicassoAssigned;
554
- /** Emitted when Picasso is detached. */
555
- picassoUnassigned?: PicassoUnassigned;
556
- }
557
- interface Asset {
558
- /**
559
- * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
560
- * @maxLength 36
561
- */
562
- appDefId?: string;
563
- /**
564
- * An instance id. For legacy reasons may be UUID or a string.
565
- * @maxLength 200
566
- */
567
- instanceId?: string;
568
- /** An application state. */
569
- state?: StateWithLiterals;
570
- }
571
- declare enum State {
572
- UNKNOWN = "UNKNOWN",
573
- ENABLED = "ENABLED",
574
- DISABLED = "DISABLED",
575
- PENDING = "PENDING",
576
- DEMO = "DEMO"
577
- }
578
- /** @enumType */
579
- type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
580
- interface SiteCreated {
581
- /**
582
- * A template identifier (empty if not created from a template).
583
- * @maxLength 36
584
- */
585
- originTemplateId?: string;
586
- /**
587
- * An account id of the owner.
588
- * @format GUID
589
- */
590
- ownerId?: string;
591
- /** A context in which meta site was created. */
592
- context?: SiteCreatedContextWithLiterals;
593
- /**
594
- * A meta site id from which this site was created.
595
- *
596
- * In case of a creation from a template it's a template id.
597
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
598
- * @format GUID
599
- */
600
- originMetaSiteId?: string | null;
601
- /**
602
- * A meta site name (URL slug).
603
- * @maxLength 20
604
- */
605
- siteName?: string;
606
- /** A namespace. */
607
- namespace?: NamespaceWithLiterals;
608
- }
609
- declare enum SiteCreatedContext {
610
- /** A valid option, we don't expose all reasons why site might be created. */
611
- OTHER = "OTHER",
612
- /** A meta site was created from template. */
613
- FROM_TEMPLATE = "FROM_TEMPLATE",
614
- /** A meta site was created by copying of the transfferred meta site. */
615
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
616
- /** A copy of existing meta site. */
617
- DUPLICATE = "DUPLICATE",
618
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
619
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
620
- /** deprecated A meta site was created for Flash editor. */
621
- FLASH = "FLASH"
622
- }
623
- /** @enumType */
624
- type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
625
- declare enum Namespace {
626
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
627
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
628
- WIX = "WIX",
629
- /** 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. */
630
- SHOUT_OUT = "SHOUT_OUT",
631
- /** 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. */
632
- ALBUMS = "ALBUMS",
633
- /** 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. */
634
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
635
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
636
- HOTELS = "HOTELS",
637
- /** 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. */
638
- CLUBS = "CLUBS",
639
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
640
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
641
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
642
- DEV_SITE = "DEV_SITE",
643
- /** 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. */
644
- LOGOS = "LOGOS",
645
- /** 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. */
646
- VIDEO_MAKER = "VIDEO_MAKER",
647
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
648
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
649
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
650
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
651
- /**
652
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
653
- *
654
- * Meta site with this namespace will *not* be shown in a user's site list by default.
655
- */
656
- HTML_DRAFT = "HTML_DRAFT",
657
- /**
658
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
659
- * Will be accessible from Site List and will not have a website app.
660
- * Once the user attaches a site, the site will become a regular wixsite.
661
- */
662
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
663
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
664
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
665
- /** It is to be used in the Business First efforts. */
666
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
667
- /** Bookings business flow with no site. */
668
- ANYWHERE = "ANYWHERE",
669
- /** Namespace for Headless Backoffice with no editor */
670
- HEADLESS = "HEADLESS",
671
- /**
672
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
673
- * The site will be used for account level CSM feature for enterprise
674
- */
675
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
676
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
677
- RISE = "RISE",
678
- /**
679
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
680
- * There's a blank site behind the scene but it's blank).
681
- * The Mobile company will be the owner of this namespace.
682
- */
683
- BRANDED_FIRST = "BRANDED_FIRST",
684
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
685
- NOWNIA = "NOWNIA",
686
- /**
687
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
688
- * The Partners company owns this namespace.
689
- */
690
- UGC_TEMPLATE = "UGC_TEMPLATE",
691
- /** Codux Headless Sites */
692
- CODUX = "CODUX",
693
- /** Bobb - AI Design Creator. */
694
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
695
- /**
696
- * Shared Blog Site is a unique single site across Enterprise account,
697
- * This site will hold all Blog posts related to the Marketing product.
698
- */
699
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
700
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
701
- STANDALONE_FORMS = "STANDALONE_FORMS",
702
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
703
- STANDALONE_EVENTS = "STANDALONE_EVENTS",
704
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
705
- MIMIR = "MIMIR"
706
- }
707
- /** @enumType */
708
- 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';
709
- /** Site transferred to another user. */
710
- interface SiteTransferred {
711
- /**
712
- * A previous owner id (user that transfers meta site).
713
- * @format GUID
714
- */
715
- oldOwnerId?: string;
716
- /**
717
- * A new owner id (user that accepts meta site).
718
- * @format GUID
719
- */
720
- newOwnerId?: string;
721
- }
722
- /** Soft deletion of the meta site. Could be restored. */
723
- interface SiteDeleted {
724
- /** A deletion context. */
725
- deleteContext?: DeleteContext;
726
- }
727
- interface DeleteContext {
728
- /** When the meta site was deleted. */
729
- dateDeleted?: Date | null;
730
- /** A status. */
731
- deleteStatus?: DeleteStatusWithLiterals;
732
- /**
733
- * A reason (flow).
734
- * @maxLength 255
735
- */
736
- deleteOrigin?: string;
737
- /**
738
- * A service that deleted it.
739
- * @maxLength 255
740
- */
741
- initiatorId?: string | null;
742
- }
743
- declare enum DeleteStatus {
744
- UNKNOWN = "UNKNOWN",
745
- TRASH = "TRASH",
746
- DELETED = "DELETED",
747
- PENDING_PURGE = "PENDING_PURGE",
748
- PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
749
- }
750
- /** @enumType */
751
- type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
752
- /** Restoration of the meta site. */
753
- interface SiteUndeleted {
754
- }
755
- /** First publish of a meta site. Or subsequent publish after unpublish. */
756
- interface SitePublished {
757
- }
758
- interface SiteUnpublished {
759
- /**
760
- * A list of URLs previously associated with the meta site.
761
- * @maxLength 4000
762
- * @maxSize 10000
763
- */
764
- urls?: string[];
765
- }
766
- interface SiteMarkedAsTemplate {
767
- }
768
- interface SiteMarkedAsWixSite {
769
- }
770
- /**
771
- * Represents a service provisioned a site.
772
- *
773
- * Note on `origin_instance_id`:
774
- * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
775
- * This is because of the following scenario:
776
- *
777
- * Imagine you have a template where a third-party application (TPA) includes some stub data,
778
- * such as a product catalog. When you create a site from this template, you inherit this
779
- * default product catalog. However, if the template's product catalog is modified,
780
- * your site will retain the catalog as it was at the time of site creation. This ensures that
781
- * your site remains consistent with what you initially received and does not include any
782
- * changes made to the original template afterward.
783
- * To ensure this, the TPA on the template gets a new instance_id.
784
- */
785
- interface ServiceProvisioned {
786
- /**
787
- * Either UUID or EmbeddedServiceType.
788
- * @maxLength 36
789
- */
790
- appDefId?: string;
791
- /**
792
- * Not only UUID. Something here could be something weird.
793
- * @maxLength 36
794
- */
795
- instanceId?: string;
796
- /**
797
- * An instance id from which this instance is originated.
798
- * @maxLength 36
799
- */
800
- originInstanceId?: string;
801
- /**
802
- * A version.
803
- * @maxLength 500
804
- */
805
- version?: string | null;
806
- /**
807
- * The origin meta site id
808
- * @format GUID
809
- */
810
- originMetaSiteId?: string | null;
811
- }
812
- interface ServiceRemoved {
813
- /**
814
- * Either UUID or EmbeddedServiceType.
815
- * @maxLength 36
816
- */
817
- appDefId?: string;
818
- /**
819
- * Not only UUID. Something here could be something weird.
820
- * @maxLength 36
821
- */
822
- instanceId?: string;
823
- /**
824
- * A version.
825
- * @maxLength 500
826
- */
827
- version?: string | null;
828
- }
829
- /** Rename of the site. Meaning, free public url has been changed as well. */
830
- interface SiteRenamed {
831
- /**
832
- * A new meta site name (URL slug).
833
- * @maxLength 20
834
- */
835
- newSiteName?: string;
836
- /**
837
- * A previous meta site name (URL slug).
838
- * @maxLength 255
839
- */
840
- oldSiteName?: string;
841
- }
842
- /**
843
- * Hard deletion of the meta site.
844
- *
845
- * Could not be restored. Therefore it's desirable to cleanup data.
846
- */
847
- interface SiteHardDeleted {
848
- /** A deletion context. */
849
- deleteContext?: DeleteContext;
850
- }
851
- interface NamespaceChanged {
852
- /** A previous namespace. */
853
- oldNamespace?: NamespaceWithLiterals;
854
- /** A new namespace. */
855
- newNamespace?: NamespaceWithLiterals;
856
- }
857
- /** Assigned Studio editor */
858
- interface StudioAssigned {
859
- }
860
- /** Unassigned Studio editor */
861
- interface StudioUnassigned {
862
- }
863
- /**
864
- * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
865
- *
866
- * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
867
- * with sites and its urls, you need to listen to another topic/event. Read about it:
868
- *
869
- * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
870
- */
871
- interface SiteUrlChanged {
872
- }
873
- /**
874
- * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
875
- * Consumed by other teams to remove relevant data.
876
- */
877
- interface SitePurgedExternally {
878
- /**
879
- * @maxLength 2048
880
- * @maxSize 100
881
- * @deprecated
882
- * @targetRemovalDate 2025-04-15
883
- */
884
- appDefId?: string[];
885
- }
886
- /** Assigned Odeditor */
887
- interface OdeditorAssigned {
888
- }
889
- /** Unassigned Odeditor */
890
- interface OdeditorUnassigned {
891
- }
892
- /** Assigned Picasso editor */
893
- interface PicassoAssigned {
894
- }
895
- /** Unassigned Picasso */
896
- interface PicassoUnassigned {
897
- }
898
441
  interface AppInstallationInLoyaltySite {
899
442
  /** @format GUID */
900
443
  appDefId?: string;
@@ -1285,4 +828,4 @@ interface ListEarningRulesOptions {
1285
828
  triggerActivityType?: string | null;
1286
829
  }
1287
830
 
1288
- export { type ActionEvent, type AppInstallationInLoyaltySite, type ApplicationError, type Asset, type BaseEventMetadata, type BulkActionMetadata, type BulkCreateLoyaltyEarningRulesRequest, type BulkCreateLoyaltyEarningRulesResponse, type BulkLoyaltyEarningRuleResult, type CacheInvalidated, type ConversionRate, type ConversionRateConfig, type CreateCustomLoyaltyEarningRuleOptions, type CreateCustomLoyaltyEarningRuleRequest, type CreateCustomLoyaltyEarningRuleResponse, type CreateLoyaltyEarningRuleRequest, type CreateLoyaltyEarningRuleResponse, type CursorPaging, type Cursors, type CustomLoyaltyEarningRule, type CustomLoyaltyEarningRuleTypeOneOf, type DeleteAutomationEarningRuleRequest, type DeleteAutomationEarningRuleResponse, type DeleteContext, type DeleteLoyaltyEarningRuleOptions, type DeleteLoyaltyEarningRuleRequest, type DeleteLoyaltyEarningRuleResponse, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type EarningRuleDisabled, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type FixedAmount, type FixedAmountConfig, type GetLoyaltyEarningRuleRequest, type GetLoyaltyEarningRuleResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateEarningRuleCacheRequest, type InvalidateEarningRuleCacheResponse, type ItemMetadata, type ListEarningRulesInTierRequest, type ListEarningRulesInTierResponse, type ListEarningRulesOptions, type ListEarningRulesRequest, type ListEarningRulesResponse, type LoyaltyEarningRule, type LoyaltyEarningRuleCreatedEnvelope, type LoyaltyEarningRuleDeletedEnvelope, type LoyaltyEarningRuleTypeOneOf, type LoyaltyEarningRuleTypeTag, LoyaltyEarningRuleTypeTagType, type LoyaltyEarningRuleTypeTagTypeWithLiterals, type LoyaltyEarningRuleUpdatedEnvelope, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type Metadata, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type OdeditorAssigned, type OdeditorUnassigned, type PagingMetadataV2, type PicassoAssigned, type PicassoUnassigned, 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, Status, type StatusWithLiterals, type StudioAssigned, type StudioUnassigned, Type, type TypeWithLiterals, type UpdateLoyaltyEarningRule, type UpdateLoyaltyEarningRuleRequest, type UpdateLoyaltyEarningRuleResponse, V1Type, type V1TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateLoyaltyEarningRules, createCustomLoyaltyEarningRule, createLoyaltyEarningRule, deleteAutomationEarningRule, deleteLoyaltyEarningRule, getLoyaltyEarningRule, listEarningRules, onLoyaltyEarningRuleCreated, onLoyaltyEarningRuleDeleted, onLoyaltyEarningRuleUpdated, updateLoyaltyEarningRule };
831
+ export { type ActionEvent, type AppInstallationInLoyaltySite, type ApplicationError, type BaseEventMetadata, type BulkActionMetadata, type BulkCreateLoyaltyEarningRulesRequest, type BulkCreateLoyaltyEarningRulesResponse, type BulkLoyaltyEarningRuleResult, type CacheInvalidated, type ConversionRate, type ConversionRateConfig, type CreateCustomLoyaltyEarningRuleOptions, type CreateCustomLoyaltyEarningRuleRequest, type CreateCustomLoyaltyEarningRuleResponse, type CreateLoyaltyEarningRuleRequest, type CreateLoyaltyEarningRuleResponse, type CursorPaging, type Cursors, type CustomLoyaltyEarningRule, type CustomLoyaltyEarningRuleTypeOneOf, type DeleteAutomationEarningRuleRequest, type DeleteAutomationEarningRuleResponse, type DeleteLoyaltyEarningRuleOptions, type DeleteLoyaltyEarningRuleRequest, type DeleteLoyaltyEarningRuleResponse, type DomainEvent, type DomainEventBodyOneOf, type EarningRuleDisabled, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, type FixedAmount, type FixedAmountConfig, type GetLoyaltyEarningRuleRequest, type GetLoyaltyEarningRuleResponse, type IdentificationData, type IdentificationDataIdOneOf, type InvalidateEarningRuleCacheRequest, type InvalidateEarningRuleCacheResponse, type ItemMetadata, type ListEarningRulesInTierRequest, type ListEarningRulesInTierResponse, type ListEarningRulesOptions, type ListEarningRulesRequest, type ListEarningRulesResponse, type LoyaltyEarningRule, type LoyaltyEarningRuleCreatedEnvelope, type LoyaltyEarningRuleDeletedEnvelope, type LoyaltyEarningRuleTypeOneOf, type LoyaltyEarningRuleTypeTag, LoyaltyEarningRuleTypeTagType, type LoyaltyEarningRuleTypeTagTypeWithLiterals, type LoyaltyEarningRuleUpdatedEnvelope, type MessageEnvelope, type Metadata, type PagingMetadataV2, type RestoreInfo, Status, type StatusWithLiterals, Type, type TypeWithLiterals, type UpdateLoyaltyEarningRule, type UpdateLoyaltyEarningRuleRequest, type UpdateLoyaltyEarningRuleResponse, V1Type, type V1TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, bulkCreateLoyaltyEarningRules, createCustomLoyaltyEarningRule, createLoyaltyEarningRule, deleteAutomationEarningRule, deleteLoyaltyEarningRule, getLoyaltyEarningRule, listEarningRules, onLoyaltyEarningRuleCreated, onLoyaltyEarningRuleDeleted, onLoyaltyEarningRuleUpdated, updateLoyaltyEarningRule };
@@ -20,11 +20,7 @@ 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,
24
23
  LoyaltyEarningRuleTypeTagType: () => LoyaltyEarningRuleTypeTagType,
25
- Namespace: () => Namespace,
26
- SiteCreatedContext: () => SiteCreatedContext,
27
- State: () => State,
28
24
  Status: () => Status,
29
25
  Type: () => Type,
30
26
  V1Type: () => V1Type,
@@ -366,64 +362,6 @@ var Type = /* @__PURE__ */ ((Type2) => {
366
362
  Type2["BIRTHDAY"] = "BIRTHDAY";
367
363
  return Type2;
368
364
  })(Type || {});
369
- var State = /* @__PURE__ */ ((State2) => {
370
- State2["UNKNOWN"] = "UNKNOWN";
371
- State2["ENABLED"] = "ENABLED";
372
- State2["DISABLED"] = "DISABLED";
373
- State2["PENDING"] = "PENDING";
374
- State2["DEMO"] = "DEMO";
375
- return State2;
376
- })(State || {});
377
- var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
378
- SiteCreatedContext2["OTHER"] = "OTHER";
379
- SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
380
- SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
381
- SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
382
- SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
383
- SiteCreatedContext2["FLASH"] = "FLASH";
384
- return SiteCreatedContext2;
385
- })(SiteCreatedContext || {});
386
- var Namespace = /* @__PURE__ */ ((Namespace2) => {
387
- Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
388
- Namespace2["WIX"] = "WIX";
389
- Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
390
- Namespace2["ALBUMS"] = "ALBUMS";
391
- Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
392
- Namespace2["HOTELS"] = "HOTELS";
393
- Namespace2["CLUBS"] = "CLUBS";
394
- Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
395
- Namespace2["DEV_SITE"] = "DEV_SITE";
396
- Namespace2["LOGOS"] = "LOGOS";
397
- Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
398
- Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
399
- Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
400
- Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
401
- Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
402
- Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
403
- Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
404
- Namespace2["ANYWHERE"] = "ANYWHERE";
405
- Namespace2["HEADLESS"] = "HEADLESS";
406
- Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
407
- Namespace2["RISE"] = "RISE";
408
- Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
409
- Namespace2["NOWNIA"] = "NOWNIA";
410
- Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
411
- Namespace2["CODUX"] = "CODUX";
412
- Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
413
- Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
414
- Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
415
- Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
416
- Namespace2["MIMIR"] = "MIMIR";
417
- return Namespace2;
418
- })(Namespace || {});
419
- var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
420
- DeleteStatus2["UNKNOWN"] = "UNKNOWN";
421
- DeleteStatus2["TRASH"] = "TRASH";
422
- DeleteStatus2["DELETED"] = "DELETED";
423
- DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
424
- DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
425
- return DeleteStatus2;
426
- })(DeleteStatus || {});
427
365
  var V1Type = /* @__PURE__ */ ((V1Type2) => {
428
366
  V1Type2["UNSPECIFIED"] = "UNSPECIFIED";
429
367
  V1Type2["INSTALLED"] = "INSTALLED";
@@ -649,11 +587,7 @@ async function listEarningRules2(options) {
649
587
  }
650
588
  // Annotate the CommonJS export names for ESM import in node:
651
589
  0 && (module.exports = {
652
- DeleteStatus,
653
590
  LoyaltyEarningRuleTypeTagType,
654
- Namespace,
655
- SiteCreatedContext,
656
- State,
657
591
  Status,
658
592
  Type,
659
593
  V1Type,