@wix/auto_sdk_loyalty_programs 1.0.29 → 1.0.31

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.
@@ -286,465 +286,6 @@ interface PointsExpirationDisabled {
286
286
  /** Loyalty program. */
287
287
  loyaltyProgram?: LoyaltyProgram;
288
288
  }
289
- interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
290
- /** Emitted on a meta site creation. */
291
- siteCreated?: SiteCreated;
292
- /** Emitted on a meta site transfer completion. */
293
- siteTransferred?: SiteTransferred;
294
- /** Emitted on a meta site deletion. */
295
- siteDeleted?: SiteDeleted;
296
- /** Emitted on a meta site restoration. */
297
- siteUndeleted?: SiteUndeleted;
298
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
299
- sitePublished?: SitePublished;
300
- /** Emitted on a meta site unpublish. */
301
- siteUnpublished?: SiteUnpublished;
302
- /** Emitted when meta site is marked as template. */
303
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
304
- /** Emitted when meta site is marked as a WixSite. */
305
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
306
- /** Emitted when an application is provisioned (installed). */
307
- serviceProvisioned?: ServiceProvisioned;
308
- /** Emitted when an application is removed (uninstalled). */
309
- serviceRemoved?: ServiceRemoved;
310
- /** Emitted when meta site name (URL slug) is changed. */
311
- siteRenamedPayload?: SiteRenamed;
312
- /** Emitted when meta site was permanently deleted. */
313
- hardDeleted?: SiteHardDeleted;
314
- /** Emitted on a namespace change. */
315
- namespaceChanged?: NamespaceChanged;
316
- /** Emitted when Studio is attached. */
317
- studioAssigned?: StudioAssigned;
318
- /** Emitted when Studio is detached. */
319
- studioUnassigned?: StudioUnassigned;
320
- /**
321
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
322
- * the actual URL.
323
- *
324
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
325
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
326
- */
327
- urlChanged?: SiteUrlChanged;
328
- /** Site is marked as PurgedExternally */
329
- sitePurgedExternally?: SitePurgedExternally;
330
- /** Emitted when Odeditor is attached. */
331
- odeditorAssigned?: OdeditorAssigned;
332
- /** Emitted when Odeditor is detached. */
333
- odeditorUnassigned?: OdeditorUnassigned;
334
- /** Emitted when Picasso is attached. */
335
- picassoAssigned?: PicassoAssigned;
336
- /** Emitted when Picasso is detached. */
337
- picassoUnassigned?: PicassoUnassigned;
338
- /**
339
- * A meta site id.
340
- * @format GUID
341
- */
342
- metaSiteId?: string;
343
- /** A meta site version. Monotonically increasing. */
344
- version?: string;
345
- /** A timestamp of the event. */
346
- timestamp?: string;
347
- /**
348
- * TODO(meta-site): Change validation once validations are disabled for consumers
349
- * More context: https://wix.slack.com/archives/C0UHEBPFT/p1720957844413149 and https://wix.slack.com/archives/CFWKX325T/p1728892152855659
350
- * @maxSize 4000
351
- */
352
- assets?: Asset[];
353
- }
354
- /** @oneof */
355
- interface MetaSiteSpecialEventPayloadOneOf {
356
- /** Emitted on a meta site creation. */
357
- siteCreated?: SiteCreated;
358
- /** Emitted on a meta site transfer completion. */
359
- siteTransferred?: SiteTransferred;
360
- /** Emitted on a meta site deletion. */
361
- siteDeleted?: SiteDeleted;
362
- /** Emitted on a meta site restoration. */
363
- siteUndeleted?: SiteUndeleted;
364
- /** Emitted on the first* publish of the meta site (* switching from unpublished to published state). */
365
- sitePublished?: SitePublished;
366
- /** Emitted on a meta site unpublish. */
367
- siteUnpublished?: SiteUnpublished;
368
- /** Emitted when meta site is marked as template. */
369
- siteMarkedAsTemplate?: SiteMarkedAsTemplate;
370
- /** Emitted when meta site is marked as a WixSite. */
371
- siteMarkedAsWixSite?: SiteMarkedAsWixSite;
372
- /** Emitted when an application is provisioned (installed). */
373
- serviceProvisioned?: ServiceProvisioned;
374
- /** Emitted when an application is removed (uninstalled). */
375
- serviceRemoved?: ServiceRemoved;
376
- /** Emitted when meta site name (URL slug) is changed. */
377
- siteRenamedPayload?: SiteRenamed;
378
- /** Emitted when meta site was permanently deleted. */
379
- hardDeleted?: SiteHardDeleted;
380
- /** Emitted on a namespace change. */
381
- namespaceChanged?: NamespaceChanged;
382
- /** Emitted when Studio is attached. */
383
- studioAssigned?: StudioAssigned;
384
- /** Emitted when Studio is detached. */
385
- studioUnassigned?: StudioUnassigned;
386
- /**
387
- * Emitted when one of the URLs is changed. After this event you may call `urls-server` to fetch
388
- * the actual URL.
389
- *
390
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1732520791210559?thread_ts=1732027914.294059&cid=C0UHEBPFT
391
- * See: https://wix.slack.com/archives/C0UHEBPFT/p1744115197619459
392
- */
393
- urlChanged?: SiteUrlChanged;
394
- /** Site is marked as PurgedExternally */
395
- sitePurgedExternally?: SitePurgedExternally;
396
- /** Emitted when Odeditor is attached. */
397
- odeditorAssigned?: OdeditorAssigned;
398
- /** Emitted when Odeditor is detached. */
399
- odeditorUnassigned?: OdeditorUnassigned;
400
- /** Emitted when Picasso is attached. */
401
- picassoAssigned?: PicassoAssigned;
402
- /** Emitted when Picasso is detached. */
403
- picassoUnassigned?: PicassoUnassigned;
404
- }
405
- interface Asset {
406
- /**
407
- * An application definition id (app_id in dev-center). For legacy reasons may be UUID or a string (from Java Enum).
408
- * @maxLength 36
409
- */
410
- appDefId?: string;
411
- /**
412
- * An instance id. For legacy reasons may be UUID or a string.
413
- * @maxLength 200
414
- */
415
- instanceId?: string;
416
- /** An application state. */
417
- state?: StateWithLiterals;
418
- }
419
- declare enum State {
420
- UNKNOWN = "UNKNOWN",
421
- ENABLED = "ENABLED",
422
- DISABLED = "DISABLED",
423
- PENDING = "PENDING",
424
- DEMO = "DEMO"
425
- }
426
- /** @enumType */
427
- type StateWithLiterals = State | 'UNKNOWN' | 'ENABLED' | 'DISABLED' | 'PENDING' | 'DEMO';
428
- interface SiteCreated {
429
- /**
430
- * A template identifier (empty if not created from a template).
431
- * @maxLength 36
432
- */
433
- originTemplateId?: string;
434
- /**
435
- * An account id of the owner.
436
- * @format GUID
437
- */
438
- ownerId?: string;
439
- /** A context in which meta site was created. */
440
- context?: SiteCreatedContextWithLiterals;
441
- /**
442
- * A meta site id from which this site was created.
443
- *
444
- * In case of a creation from a template it's a template id.
445
- * In case of a site duplication ("Save As" in dashboard or duplicate in UM) it's an id of a source site.
446
- * @format GUID
447
- */
448
- originMetaSiteId?: string | null;
449
- /**
450
- * A meta site name (URL slug).
451
- * @maxLength 20
452
- */
453
- siteName?: string;
454
- /** A namespace. */
455
- namespace?: NamespaceWithLiterals;
456
- }
457
- declare enum SiteCreatedContext {
458
- /** A valid option, we don't expose all reasons why site might be created. */
459
- OTHER = "OTHER",
460
- /** A meta site was created from template. */
461
- FROM_TEMPLATE = "FROM_TEMPLATE",
462
- /** A meta site was created by copying of the transfferred meta site. */
463
- DUPLICATE_BY_SITE_TRANSFER = "DUPLICATE_BY_SITE_TRANSFER",
464
- /** A copy of existing meta site. */
465
- DUPLICATE = "DUPLICATE",
466
- /** A meta site was created as a transfferred site (copy of the original), old flow, should die soon. */
467
- OLD_SITE_TRANSFER = "OLD_SITE_TRANSFER",
468
- /** deprecated A meta site was created for Flash editor. */
469
- FLASH = "FLASH"
470
- }
471
- /** @enumType */
472
- type SiteCreatedContextWithLiterals = SiteCreatedContext | 'OTHER' | 'FROM_TEMPLATE' | 'DUPLICATE_BY_SITE_TRANSFER' | 'DUPLICATE' | 'OLD_SITE_TRANSFER' | 'FLASH';
473
- declare enum Namespace {
474
- UNKNOWN_NAMESPACE = "UNKNOWN_NAMESPACE",
475
- /** Default namespace for UGC sites. MetaSites with this namespace will be shown in a user's site list by default. */
476
- WIX = "WIX",
477
- /** 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. */
478
- SHOUT_OUT = "SHOUT_OUT",
479
- /** 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. */
480
- ALBUMS = "ALBUMS",
481
- /** 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. */
482
- WIX_STORES_TEST_DRIVE = "WIX_STORES_TEST_DRIVE",
483
- /** Hotels standalone (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
484
- HOTELS = "HOTELS",
485
- /** 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. */
486
- CLUBS = "CLUBS",
487
- /** A partially created ADI website. MetaSites with this namespace will *not* be shown in a user's site list by default. */
488
- ONBOARDING_DRAFT = "ONBOARDING_DRAFT",
489
- /** AppBuilder for AppStudio / shmite (c). MetaSites with this namespace will *not* be shown in a user's site list by default. */
490
- DEV_SITE = "DEV_SITE",
491
- /** 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. */
492
- LOGOS = "LOGOS",
493
- /** 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. */
494
- VIDEO_MAKER = "VIDEO_MAKER",
495
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
496
- PARTNER_DASHBOARD = "PARTNER_DASHBOARD",
497
- /** MetaSites with this namespace will *not* be shown in a user's site list by default. */
498
- DEV_CENTER_COMPANY = "DEV_CENTER_COMPANY",
499
- /**
500
- * A draft created by HTML editor on open. Upon "first save" it will be moved to be of WIX domain.
501
- *
502
- * Meta site with this namespace will *not* be shown in a user's site list by default.
503
- */
504
- HTML_DRAFT = "HTML_DRAFT",
505
- /**
506
- * the user-journey for Fitness users who want to start from managing their business instead of designing their website.
507
- * Will be accessible from Site List and will not have a website app.
508
- * Once the user attaches a site, the site will become a regular wixsite.
509
- */
510
- SITELESS_BUSINESS = "SITELESS_BUSINESS",
511
- /** Belongs to "strategic products" company. Supports new product in the creator's economy space. */
512
- CREATOR_ECONOMY = "CREATOR_ECONOMY",
513
- /** It is to be used in the Business First efforts. */
514
- DASHBOARD_FIRST = "DASHBOARD_FIRST",
515
- /** Bookings business flow with no site. */
516
- ANYWHERE = "ANYWHERE",
517
- /** Namespace for Headless Backoffice with no editor */
518
- HEADLESS = "HEADLESS",
519
- /**
520
- * Namespace for master site that will exist in parent account that will be referenced by subaccounts
521
- * The site will be used for account level CSM feature for enterprise
522
- */
523
- ACCOUNT_MASTER_CMS = "ACCOUNT_MASTER_CMS",
524
- /** Rise.ai Siteless account management for Gift Cards and Store Credit. */
525
- RISE = "RISE",
526
- /**
527
- * As part of the branded app new funnel, users now can create a meta site that will be branded app first.
528
- * There's a blank site behind the scene but it's blank).
529
- * The Mobile company will be the owner of this namespace.
530
- */
531
- BRANDED_FIRST = "BRANDED_FIRST",
532
- /** Nownia.com Siteless account management for Ai Scheduling Assistant. */
533
- NOWNIA = "NOWNIA",
534
- /**
535
- * UGC Templates are templates that are created by users for personal use and to sale to other users.
536
- * The Partners company owns this namespace.
537
- */
538
- UGC_TEMPLATE = "UGC_TEMPLATE",
539
- /** Codux Headless Sites */
540
- CODUX = "CODUX",
541
- /** Bobb - AI Design Creator. */
542
- MEDIA_DESIGN_CREATOR = "MEDIA_DESIGN_CREATOR",
543
- /**
544
- * Shared Blog Site is a unique single site across Enterprise account,
545
- * This site will hold all Blog posts related to the Marketing product.
546
- */
547
- SHARED_BLOG_ENTERPRISE = "SHARED_BLOG_ENTERPRISE",
548
- /** Standalone forms (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
549
- STANDALONE_FORMS = "STANDALONE_FORMS",
550
- /** Standalone events (siteless). MetaSites with this namespace will *not* be shown in a user's site list by default. */
551
- STANDALONE_EVENTS = "STANDALONE_EVENTS",
552
- /** MIMIR - Siteless account for MIMIR Ai Job runner. */
553
- MIMIR = "MIMIR"
554
- }
555
- /** @enumType */
556
- 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';
557
- /** Site transferred to another user. */
558
- interface SiteTransferred {
559
- /**
560
- * A previous owner id (user that transfers meta site).
561
- * @format GUID
562
- */
563
- oldOwnerId?: string;
564
- /**
565
- * A new owner id (user that accepts meta site).
566
- * @format GUID
567
- */
568
- newOwnerId?: string;
569
- }
570
- /** Soft deletion of the meta site. Could be restored. */
571
- interface SiteDeleted {
572
- /** A deletion context. */
573
- deleteContext?: DeleteContext;
574
- }
575
- interface DeleteContext {
576
- /** When the meta site was deleted. */
577
- dateDeleted?: Date | null;
578
- /** A status. */
579
- deleteStatus?: DeleteStatusWithLiterals;
580
- /**
581
- * A reason (flow).
582
- * @maxLength 255
583
- */
584
- deleteOrigin?: string;
585
- /**
586
- * A service that deleted it.
587
- * @maxLength 255
588
- */
589
- initiatorId?: string | null;
590
- }
591
- declare enum DeleteStatus {
592
- UNKNOWN = "UNKNOWN",
593
- TRASH = "TRASH",
594
- DELETED = "DELETED",
595
- PENDING_PURGE = "PENDING_PURGE",
596
- PURGED_EXTERNALLY = "PURGED_EXTERNALLY"
597
- }
598
- /** @enumType */
599
- type DeleteStatusWithLiterals = DeleteStatus | 'UNKNOWN' | 'TRASH' | 'DELETED' | 'PENDING_PURGE' | 'PURGED_EXTERNALLY';
600
- /** Restoration of the meta site. */
601
- interface SiteUndeleted {
602
- }
603
- /** First publish of a meta site. Or subsequent publish after unpublish. */
604
- interface SitePublished {
605
- }
606
- interface SiteUnpublished {
607
- /**
608
- * A list of URLs previously associated with the meta site.
609
- * @maxLength 4000
610
- * @maxSize 10000
611
- */
612
- urls?: string[];
613
- }
614
- interface SiteMarkedAsTemplate {
615
- }
616
- interface SiteMarkedAsWixSite {
617
- }
618
- /**
619
- * Represents a service provisioned a site.
620
- *
621
- * Note on `origin_instance_id`:
622
- * There is no guarantee that you will be able to find a meta site using `origin_instance_id`.
623
- * This is because of the following scenario:
624
- *
625
- * Imagine you have a template where a third-party application (TPA) includes some stub data,
626
- * such as a product catalog. When you create a site from this template, you inherit this
627
- * default product catalog. However, if the template's product catalog is modified,
628
- * your site will retain the catalog as it was at the time of site creation. This ensures that
629
- * your site remains consistent with what you initially received and does not include any
630
- * changes made to the original template afterward.
631
- * To ensure this, the TPA on the template gets a new instance_id.
632
- */
633
- interface ServiceProvisioned {
634
- /**
635
- * Either UUID or EmbeddedServiceType.
636
- * @maxLength 36
637
- */
638
- appDefId?: string;
639
- /**
640
- * Not only UUID. Something here could be something weird.
641
- * @maxLength 36
642
- */
643
- instanceId?: string;
644
- /**
645
- * An instance id from which this instance is originated.
646
- * @maxLength 36
647
- */
648
- originInstanceId?: string;
649
- /**
650
- * A version.
651
- * @maxLength 500
652
- */
653
- version?: string | null;
654
- /**
655
- * The origin meta site id
656
- * @format GUID
657
- */
658
- originMetaSiteId?: string | null;
659
- }
660
- interface ServiceRemoved {
661
- /**
662
- * Either UUID or EmbeddedServiceType.
663
- * @maxLength 36
664
- */
665
- appDefId?: string;
666
- /**
667
- * Not only UUID. Something here could be something weird.
668
- * @maxLength 36
669
- */
670
- instanceId?: string;
671
- /**
672
- * A version.
673
- * @maxLength 500
674
- */
675
- version?: string | null;
676
- }
677
- /** Rename of the site. Meaning, free public url has been changed as well. */
678
- interface SiteRenamed {
679
- /**
680
- * A new meta site name (URL slug).
681
- * @maxLength 20
682
- */
683
- newSiteName?: string;
684
- /**
685
- * A previous meta site name (URL slug).
686
- * @maxLength 255
687
- */
688
- oldSiteName?: string;
689
- }
690
- /**
691
- * Hard deletion of the meta site.
692
- *
693
- * Could not be restored. Therefore it's desirable to cleanup data.
694
- */
695
- interface SiteHardDeleted {
696
- /** A deletion context. */
697
- deleteContext?: DeleteContext;
698
- }
699
- interface NamespaceChanged {
700
- /** A previous namespace. */
701
- oldNamespace?: NamespaceWithLiterals;
702
- /** A new namespace. */
703
- newNamespace?: NamespaceWithLiterals;
704
- }
705
- /** Assigned Studio editor */
706
- interface StudioAssigned {
707
- }
708
- /** Unassigned Studio editor */
709
- interface StudioUnassigned {
710
- }
711
- /**
712
- * Fired in case site URLs were changed in any way: new secondary domain, published, account slug rename, site rename etc.
713
- *
714
- * This is an internal event, it's not propagated in special events, because it's non-actionable. If you need to keep up
715
- * with sites and its urls, you need to listen to another topic/event. Read about it:
716
- *
717
- * https://bo.wix.com/wix-docs/rest/meta-site/meta-site---urls-service
718
- */
719
- interface SiteUrlChanged {
720
- }
721
- /**
722
- * Used at the end of the deletion flow for both draft sites and when a user deletes a site.
723
- * Consumed by other teams to remove relevant data.
724
- */
725
- interface SitePurgedExternally {
726
- /**
727
- * @maxLength 2048
728
- * @maxSize 100
729
- * @deprecated
730
- * @targetRemovalDate 2025-04-15
731
- */
732
- appDefId?: string[];
733
- }
734
- /** Assigned Odeditor */
735
- interface OdeditorAssigned {
736
- }
737
- /** Unassigned Odeditor */
738
- interface OdeditorUnassigned {
739
- }
740
- /** Assigned Picasso editor */
741
- interface PicassoAssigned {
742
- }
743
- /** Unassigned Picasso */
744
- interface PicassoUnassigned {
745
- }
746
- interface Empty {
747
- }
748
289
  interface FeatureEvent extends FeatureEventEventOneOf {
749
290
  /**
750
291
  * Information about an event that makes a feature eligible to the user.
@@ -1220,6 +761,18 @@ interface TransferredToAnotherAccountReason {
1220
761
  /** Cancellation was requested from the subscription manager api, might be a result of billing event, or direct call */
1221
762
  interface CancelRequestedReason {
1222
763
  }
764
+ interface Empty {
765
+ }
766
+ interface LoyaltyAppInstallation {
767
+ type?: V1TypeWithLiterals;
768
+ }
769
+ declare enum V1Type {
770
+ UNSPECIFIED = "UNSPECIFIED",
771
+ INSTALLED = "INSTALLED",
772
+ DELETED = "DELETED"
773
+ }
774
+ /** @enumType */
775
+ type V1TypeWithLiterals = V1Type | 'UNSPECIFIED' | 'INSTALLED' | 'DELETED';
1223
776
  interface DomainEvent extends DomainEventBodyOneOf {
1224
777
  createdEvent?: EntityCreatedEvent;
1225
778
  updatedEvent?: EntityUpdatedEvent;
@@ -1515,4 +1068,4 @@ declare function disablePointsExpiration(): Promise<NonNullablePaths<DisablePoin
1515
1068
  [P in ProgramNonNullablePaths]: `loyaltyProgram.${P}`;
1516
1069
  }[ProgramNonNullablePaths]>>;
1517
1070
 
1518
- export { type ActionEvent, type ActivateLoyaltyProgramRequest, type ActivateLoyaltyProgramResponse, type Asset, type AssignedFromFloatingReason, type BaseEventMetadata, type BooleanFeature, type BulkGetLoyaltyProgramRequest, type BulkGetLoyaltyProgramResponse, type CancelRequestedReason, type ContractSwitchedReason, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DisablePointsExpirationRequest, type DisablePointsExpirationResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EnablePointsExpirationRequest, type EnablePointsExpirationResponse, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, 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 FocalPoint, type GetLoyaltyProgramDescriptionRequest, type GetLoyaltyProgramDescriptionResponse, type GetLoyaltyProgramPremiumFeaturesRequest, type GetLoyaltyProgramPremiumFeaturesResponse, type GetLoyaltyProgramRequest, type GetLoyaltyProgramResponse, type IdentificationData, type IdentificationDataIdOneOf, type LoyaltyProgram, type LoyaltyProgramActivated, type LoyaltyProgramDescriptionUpdated, type ManualFeatureCreationReason, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigratedFromLegacyReason, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type NewFeatureReason, type OdeditorAssigned, type OdeditorUnassigned, type PauseLoyaltyProgramRequest, type PauseLoyaltyProgramResponse, type PicassoAssigned, type PicassoUnassigned, type PointDefinition, type PointsExpiration, type PointsExpirationChanges, type PointsExpirationConfigurationChanged, type PointsExpirationDisabled, type PointsExpirationEnabled, type PremiumFeatures, type ProgramInSite, ProgramStatus, type ProgramStatusWithLiterals, type ProgramUpdatedEnvelope, 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, type SocialMediaChannel, type SocialMediaSettings, State, type StateWithLiterals, Status, type StatusWithLiterals, type StudioAssigned, type StudioUnassigned, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, Type, type TypeWithLiterals, type UnAssingedToFloatingReason, type UpdateLoyaltyProgramDescriptionRequest, type UpdateLoyaltyProgramDescriptionResponse, type UpdateLoyaltyProgramRequest, type UpdateLoyaltyProgramResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, activateLoyaltyProgram, bulkGetLoyaltyProgram, disablePointsExpiration, enablePointsExpiration, getLoyaltyProgram, getLoyaltyProgramPremiumFeatures, onProgramUpdated, pauseLoyaltyProgram, updateLoyaltyProgram };
1071
+ export { type ActionEvent, type ActivateLoyaltyProgramRequest, type ActivateLoyaltyProgramResponse, type AssignedFromFloatingReason, type BaseEventMetadata, type BooleanFeature, type BulkGetLoyaltyProgramRequest, type BulkGetLoyaltyProgramResponse, type CancelRequestedReason, type ContractSwitchedReason, type DisablePointsExpirationRequest, type DisablePointsExpirationResponse, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EnablePointsExpirationRequest, type EnablePointsExpirationResponse, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type EventMetadata, 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 FocalPoint, type GetLoyaltyProgramDescriptionRequest, type GetLoyaltyProgramDescriptionResponse, type GetLoyaltyProgramPremiumFeaturesRequest, type GetLoyaltyProgramPremiumFeaturesResponse, type GetLoyaltyProgramRequest, type GetLoyaltyProgramResponse, type IdentificationData, type IdentificationDataIdOneOf, type LoyaltyAppInstallation, type LoyaltyProgram, type LoyaltyProgramActivated, type LoyaltyProgramDescriptionUpdated, type ManualFeatureCreationReason, type MessageEnvelope, type MigratedFromLegacyReason, type NewFeatureReason, type PauseLoyaltyProgramRequest, type PauseLoyaltyProgramResponse, type PointDefinition, type PointsExpiration, type PointsExpirationChanges, type PointsExpirationConfigurationChanged, type PointsExpirationDisabled, type PointsExpirationEnabled, type PremiumFeatures, type ProgramInSite, ProgramStatus, type ProgramStatusWithLiterals, type ProgramUpdatedEnvelope, type QuotaFeature, type QuotaInfo, type QuotaInfoEntry, type ReassignedFromSiteReason, type ReassignedToAnotherSiteReason, type ReplacedByAnotherSubscriptionReason, type RestoreInfo, type SocialMediaChannel, type SocialMediaSettings, Status, type StatusWithLiterals, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, Type, type TypeWithLiterals, type UnAssingedToFloatingReason, type UpdateLoyaltyProgramDescriptionRequest, type UpdateLoyaltyProgramDescriptionResponse, type UpdateLoyaltyProgramRequest, type UpdateLoyaltyProgramResponse, V1Type, type V1TypeWithLiterals, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, activateLoyaltyProgram, bulkGetLoyaltyProgram, disablePointsExpiration, enablePointsExpiration, getLoyaltyProgram, getLoyaltyProgramPremiumFeatures, onProgramUpdated, pauseLoyaltyProgram, updateLoyaltyProgram };
@@ -20,14 +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,
24
23
  FeaturePeriod: () => FeaturePeriod,
25
- Namespace: () => Namespace,
26
24
  ProgramStatus: () => ProgramStatus,
27
- SiteCreatedContext: () => SiteCreatedContext,
28
- State: () => State,
29
25
  Status: () => Status,
30
26
  Type: () => Type,
27
+ V1Type: () => V1Type,
31
28
  WebhookIdentityType: () => WebhookIdentityType,
32
29
  activateLoyaltyProgram: () => activateLoyaltyProgram2,
33
30
  bulkGetLoyaltyProgram: () => bulkGetLoyaltyProgram2,
@@ -437,64 +434,6 @@ var Type = /* @__PURE__ */ ((Type2) => {
437
434
  Type2["TIKTOK"] = "TIKTOK";
438
435
  return Type2;
439
436
  })(Type || {});
440
- var State = /* @__PURE__ */ ((State2) => {
441
- State2["UNKNOWN"] = "UNKNOWN";
442
- State2["ENABLED"] = "ENABLED";
443
- State2["DISABLED"] = "DISABLED";
444
- State2["PENDING"] = "PENDING";
445
- State2["DEMO"] = "DEMO";
446
- return State2;
447
- })(State || {});
448
- var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
449
- SiteCreatedContext2["OTHER"] = "OTHER";
450
- SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
451
- SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
452
- SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
453
- SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
454
- SiteCreatedContext2["FLASH"] = "FLASH";
455
- return SiteCreatedContext2;
456
- })(SiteCreatedContext || {});
457
- var Namespace = /* @__PURE__ */ ((Namespace2) => {
458
- Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
459
- Namespace2["WIX"] = "WIX";
460
- Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
461
- Namespace2["ALBUMS"] = "ALBUMS";
462
- Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
463
- Namespace2["HOTELS"] = "HOTELS";
464
- Namespace2["CLUBS"] = "CLUBS";
465
- Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
466
- Namespace2["DEV_SITE"] = "DEV_SITE";
467
- Namespace2["LOGOS"] = "LOGOS";
468
- Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
469
- Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
470
- Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
471
- Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
472
- Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
473
- Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
474
- Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
475
- Namespace2["ANYWHERE"] = "ANYWHERE";
476
- Namespace2["HEADLESS"] = "HEADLESS";
477
- Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
478
- Namespace2["RISE"] = "RISE";
479
- Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
480
- Namespace2["NOWNIA"] = "NOWNIA";
481
- Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
482
- Namespace2["CODUX"] = "CODUX";
483
- Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
484
- Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
485
- Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
486
- Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
487
- Namespace2["MIMIR"] = "MIMIR";
488
- return Namespace2;
489
- })(Namespace || {});
490
- var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
491
- DeleteStatus2["UNKNOWN"] = "UNKNOWN";
492
- DeleteStatus2["TRASH"] = "TRASH";
493
- DeleteStatus2["DELETED"] = "DELETED";
494
- DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
495
- DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
496
- return DeleteStatus2;
497
- })(DeleteStatus || {});
498
437
  var FeaturePeriod = /* @__PURE__ */ ((FeaturePeriod2) => {
499
438
  FeaturePeriod2["NO_PERIOD"] = "NO_PERIOD";
500
439
  FeaturePeriod2["MILLISECOND"] = "MILLISECOND";
@@ -507,6 +446,12 @@ var FeaturePeriod = /* @__PURE__ */ ((FeaturePeriod2) => {
507
446
  FeaturePeriod2["YEAR"] = "YEAR";
508
447
  return FeaturePeriod2;
509
448
  })(FeaturePeriod || {});
449
+ var V1Type = /* @__PURE__ */ ((V1Type2) => {
450
+ V1Type2["UNSPECIFIED"] = "UNSPECIFIED";
451
+ V1Type2["INSTALLED"] = "INSTALLED";
452
+ V1Type2["DELETED"] = "DELETED";
453
+ return V1Type2;
454
+ })(V1Type || {});
510
455
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
511
456
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
512
457
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -760,14 +705,11 @@ async function disablePointsExpiration2() {
760
705
  }
761
706
  // Annotate the CommonJS export names for ESM import in node:
762
707
  0 && (module.exports = {
763
- DeleteStatus,
764
708
  FeaturePeriod,
765
- Namespace,
766
709
  ProgramStatus,
767
- SiteCreatedContext,
768
- State,
769
710
  Status,
770
711
  Type,
712
+ V1Type,
771
713
  WebhookIdentityType,
772
714
  activateLoyaltyProgram,
773
715
  bulkGetLoyaltyProgram,