@wix/auto_sdk_loyalty_programs 1.0.28 → 1.0.30

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.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { GetLoyaltyProgramResponse, BulkGetLoyaltyProgramResponse, LoyaltyProgram, UpdateLoyaltyProgramResponse, ActivateLoyaltyProgramResponse, PauseLoyaltyProgramResponse, GetLoyaltyProgramPremiumFeaturesResponse, EnablePointsExpirationResponse, DisablePointsExpirationResponse, ProgramUpdatedEnvelope } from './index.typings.js';
3
- export { ActionEvent, ActivateLoyaltyProgramRequest, Asset, AssignedFromFloatingReason, BaseEventMetadata, BooleanFeature, BulkGetLoyaltyProgramRequest, CancelRequestedReason, ContractSwitchedReason, DeleteContext, DeleteStatus, DisablePointsExpirationRequest, DomainEvent, DomainEventBodyOneOf, Empty, EnablePointsExpirationRequest, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeatureQuantityInfoOneOf, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, FocalPoint, GetLoyaltyProgramDescriptionRequest, GetLoyaltyProgramDescriptionResponse, GetLoyaltyProgramPremiumFeaturesRequest, GetLoyaltyProgramRequest, IdentificationData, IdentificationDataIdOneOf, LoyaltyProgramActivated, LoyaltyProgramDescriptionUpdated, ManualFeatureCreationReason, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MigratedFromLegacyReason, Namespace, NamespaceChanged, NewFeatureReason, OdeditorAssigned, OdeditorUnassigned, PauseLoyaltyProgramRequest, PicassoAssigned, PicassoUnassigned, PointDefinition, PointsExpiration, PointsExpirationChanges, PointsExpirationConfigurationChanged, PointsExpirationDisabled, PointsExpirationEnabled, PremiumFeatures, ProgramInSite, ProgramStatus, QuotaFeature, QuotaInfo, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SocialMediaChannel, SocialMediaSettings, State, Status, StudioAssigned, StudioUnassigned, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, Type, UnAssingedToFloatingReason, UpdateLoyaltyProgramDescriptionRequest, UpdateLoyaltyProgramDescriptionResponse, UpdateLoyaltyProgramRequest, WebhookIdentityType } from './index.typings.js';
3
+ export { ActionEvent, ActivateLoyaltyProgramRequest, Asset, AssignedFromFloatingReason, BaseEventMetadata, BooleanFeature, BulkGetLoyaltyProgramRequest, CancelRequestedReason, ContractSwitchedReason, DeleteContext, DeleteStatus, DisablePointsExpirationRequest, DomainEvent, DomainEventBodyOneOf, Empty, EnablePointsExpirationRequest, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, Feature, FeatureCancelled, FeatureCancelledReasonOneOf, FeatureContext, FeatureDisabled, FeatureDisabledReasonOneOf, FeatureEnabled, FeatureEnabledReasonOneOf, FeatureEvent, FeatureEventEventOneOf, FeaturePeriod, FeatureQuantityInfoOneOf, FeatureUpdated, FeatureUpdatedPreviousQuantityInfoOneOf, FeatureUpdatedReasonOneOf, FocalPoint, GetLoyaltyProgramDescriptionRequest, GetLoyaltyProgramDescriptionResponse, GetLoyaltyProgramPremiumFeaturesRequest, GetLoyaltyProgramRequest, IdentificationData, IdentificationDataIdOneOf, LoyaltyAppInstallation, LoyaltyProgramActivated, LoyaltyProgramDescriptionUpdated, ManualFeatureCreationReason, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, MigratedFromLegacyReason, Namespace, NamespaceChanged, NewFeatureReason, OdeditorAssigned, OdeditorUnassigned, PauseLoyaltyProgramRequest, PicassoAssigned, PicassoUnassigned, PointDefinition, PointsExpiration, PointsExpirationChanges, PointsExpirationConfigurationChanged, PointsExpirationDisabled, PointsExpirationEnabled, PremiumFeatures, ProgramInSite, ProgramStatus, QuotaFeature, QuotaInfo, QuotaInfoEntry, ReassignedFromSiteReason, ReassignedToAnotherSiteReason, ReplacedByAnotherSubscriptionReason, RestoreInfo, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, SocialMediaChannel, SocialMediaSettings, State, Status, StudioAssigned, StudioUnassigned, TransferredFromAnotherAccountReason, TransferredToAnotherAccountReason, Type, UnAssingedToFloatingReason, UpdateLoyaltyProgramDescriptionRequest, UpdateLoyaltyProgramDescriptionResponse, UpdateLoyaltyProgramRequest, V1Type, WebhookIdentityType } from './index.typings.js';
4
4
 
5
5
  type ProgramNonNullablePaths = `status` | `pointsExpiration.status` | `pointsExpiration.monthsOfInactivity` | `pointsExpiration.expiringPointsPercentage` | `premiumFeatures.loyaltyProgram` | `premiumFeatures.tiers` | `premiumFeatures.pointsExpiration`;
6
6
  declare function getLoyaltyProgram$1(httpClient: HttpClient): GetLoyaltyProgramSignature;
@@ -28,6 +28,7 @@ __export(index_exports, {
28
28
  State: () => State,
29
29
  Status: () => Status,
30
30
  Type: () => Type,
31
+ V1Type: () => V1Type,
31
32
  WebhookIdentityType: () => WebhookIdentityType,
32
33
  activateLoyaltyProgram: () => activateLoyaltyProgram4,
33
34
  bulkGetLoyaltyProgram: () => bulkGetLoyaltyProgram4,
@@ -515,6 +516,12 @@ var FeaturePeriod = /* @__PURE__ */ ((FeaturePeriod2) => {
515
516
  FeaturePeriod2["YEAR"] = "YEAR";
516
517
  return FeaturePeriod2;
517
518
  })(FeaturePeriod || {});
519
+ var V1Type = /* @__PURE__ */ ((V1Type2) => {
520
+ V1Type2["UNSPECIFIED"] = "UNSPECIFIED";
521
+ V1Type2["INSTALLED"] = "INSTALLED";
522
+ V1Type2["DELETED"] = "DELETED";
523
+ return V1Type2;
524
+ })(V1Type || {});
518
525
  var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
519
526
  WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
520
527
  WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
@@ -860,6 +867,7 @@ var onProgramUpdated2 = (0, import_event_definition_modules.createEventModule)(o
860
867
  State,
861
868
  Status,
862
869
  Type,
870
+ V1Type,
863
871
  WebhookIdentityType,
864
872
  activateLoyaltyProgram,
865
873
  bulkGetLoyaltyProgram,