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