@wix/auto_sdk_referral_programs 1.0.38 → 1.0.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
2
2
  import { GetReferralProgramResponse, ReferralProgram, UpdateReferralProgramResponse, ActivateReferralProgramResponse, PauseReferralProgramResponse, GetAiSocialMediaPostsSuggestionsOptions, GetAISocialMediaPostsSuggestionsResponse, GenerateAiSocialMediaPostsSuggestionsOptions, GenerateAISocialMediaPostsSuggestionsResponse, GetReferralProgramPremiumFeaturesResponse, ProgramUpdatedEnvelope } from './index.typings.js';
3
- export { AISocialMediaPostSuggestion, Action, ActionEvent, ActivateReferralProgramRequest, App, Asset, BaseEventMetadata, BillingReference, BulkGetReferralProgramRequest, BulkGetReferralProgramResponse, CancellationDetails, ContractSwitchReason, ContractSwitchType, ContractSwitched, Coupon, CouponDiscountTypeOptionsOneOf, CouponScope, CouponScopeOrMinSubtotalOneOf, Cycle, CycleCycleSelectorOneOf, DeleteContext, DeleteStatus, DiscountType, DomainEvent, DomainEventBodyOneOf, Emails, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FixedAmountDiscount, GenerateAISocialMediaPostsSuggestionsRequest, GetAISocialMediaPostsSuggestionsRequest, GetReferralProgramPremiumFeaturesRequest, GetReferralProgramRequest, Group, HtmlSitePublished, IdentificationData, IdentificationDataIdOneOf, Initiator, Interval, IntervalUnit, LoyaltyPoints, MessageEnvelope, MetaSiteSpecialEvent, MetaSiteSpecialEventPayloadOneOf, Namespace, NamespaceChanged, OdeditorAssigned, OdeditorUnassigned, OneTime, Page, PauseReferralProgramRequest, PercentageDiscount, PicassoAssigned, PicassoUnassigned, PremiumFeatures, PriceIncreaseTrigger, ProductAdjustment, ProductPriceIncreaseData, ProgramInSite, ProgramStatus, ProviderName, ReactivationData, ReactivationReasonEnum, RecurringChargeAttemptFailed, RecurringChargeSucceeded, ReferralAppInstallation, RestoreInfo, Reward, RewardOptionsOneOf, RewardType, ServiceProvisioned, ServiceRemoved, SiteCreated, SiteCreatedContext, SiteDeleted, SiteHardDeleted, SiteMarkedAsTemplate, SiteMarkedAsWixSite, SitePublished, SitePurgedExternally, SiteRenamed, SiteTransferred, SiteUndeleted, SiteUnpublished, SiteUrlChanged, State, StudioAssigned, StudioUnassigned, Subscription, SubscriptionAssigned, SubscriptionAutoRenewTurnedOff, SubscriptionAutoRenewTurnedOn, SubscriptionCancelled, SubscriptionCreated, SubscriptionEvent, SubscriptionEventEventOneOf, SubscriptionNearEndOfPeriod, SubscriptionPendingChange, SubscriptionStatus, SubscriptionTransferred, SubscriptionUnassigned, Type, UnassignReason, UpdateReferralProgramRequest, WebhookIdentityType } from './index.typings.js';
3
+ export { AISocialMediaPostSuggestion, Action, ActionEvent, ActivateReferralProgramRequest, App, BaseEventMetadata, BillingReference, BulkGetReferralProgramRequest, BulkGetReferralProgramResponse, CancellationDetails, ContractSwitchReason, ContractSwitchType, ContractSwitched, Coupon, CouponDiscountTypeOptionsOneOf, CouponScope, CouponScopeOrMinSubtotalOneOf, Cycle, CycleCycleSelectorOneOf, DiscountType, DomainEvent, DomainEventBodyOneOf, Emails, Empty, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, FixedAmountDiscount, GenerateAISocialMediaPostsSuggestionsRequest, GetAISocialMediaPostsSuggestionsRequest, GetReferralProgramPremiumFeaturesRequest, GetReferralProgramRequest, Group, HtmlSitePublished, IdentificationData, IdentificationDataIdOneOf, Initiator, Interval, IntervalUnit, LoyaltyPoints, MessageEnvelope, OneTime, Page, PauseReferralProgramRequest, PercentageDiscount, PremiumFeatures, PriceIncreaseTrigger, ProductAdjustment, ProductPriceIncreaseData, ProgramInSite, ProgramStatus, ProviderName, ReactivationData, ReactivationReasonEnum, RecurringChargeAttemptFailed, RecurringChargeSucceeded, ReferralAppInstallation, RestoreInfo, Reward, RewardOptionsOneOf, RewardType, Subscription, SubscriptionAssigned, SubscriptionAutoRenewTurnedOff, SubscriptionAutoRenewTurnedOn, SubscriptionCancelled, SubscriptionCreated, SubscriptionEvent, SubscriptionEventEventOneOf, SubscriptionNearEndOfPeriod, SubscriptionPendingChange, SubscriptionStatus, SubscriptionTransferred, SubscriptionUnassigned, Type, UnassignReason, UpdateReferralProgramRequest, WebhookIdentityType } from './index.typings.js';
4
4
 
5
5
  type ProgramNonNullablePaths = `status` | `referredFriendReward.couponOptions.fixedAmountOptions.amount` | `referredFriendReward.couponOptions.percentageOptions.percentage` | `referredFriendReward.couponOptions.minimumSubtotal` | `referredFriendReward.couponOptions.scope.namespace` | `referredFriendReward.couponOptions.scope.group.name` | `referredFriendReward.couponOptions.name` | `referredFriendReward.couponOptions.discountType` | `referredFriendReward.loyaltyPointsOptions.amount` | `referredFriendReward.type` | `referringCustomerReward.couponOptions.fixedAmountOptions.amount` | `referringCustomerReward.couponOptions.percentageOptions.percentage` | `referringCustomerReward.couponOptions.minimumSubtotal` | `referringCustomerReward.couponOptions.scope.namespace` | `referringCustomerReward.couponOptions.scope.group.name` | `referringCustomerReward.couponOptions.name` | `referringCustomerReward.couponOptions.discountType` | `referringCustomerReward.loyaltyPointsOptions.amount` | `referringCustomerReward.type` | `successfulReferralActions` | `emails.encourageToReferFriends` | `emails.notifyCustomersAboutReward` | `premiumFeatures.referralProgram`;
6
6
  declare function getReferralProgram$1(httpClient: HttpClient): GetReferralProgramSignature;
@@ -24,19 +24,15 @@ __export(index_exports, {
24
24
  App: () => App,
25
25
  ContractSwitchReason: () => ContractSwitchReason,
26
26
  ContractSwitchType: () => ContractSwitchType,
27
- DeleteStatus: () => DeleteStatus,
28
27
  DiscountType: () => DiscountType,
29
28
  Initiator: () => Initiator,
30
29
  IntervalUnit: () => IntervalUnit,
31
- Namespace: () => Namespace,
32
30
  PriceIncreaseTrigger: () => PriceIncreaseTrigger,
33
31
  ProductAdjustment: () => ProductAdjustment,
34
32
  ProgramStatus: () => ProgramStatus,
35
33
  ProviderName: () => ProviderName,
36
34
  ReactivationReasonEnum: () => ReactivationReasonEnum,
37
35
  RewardType: () => RewardType,
38
- SiteCreatedContext: () => SiteCreatedContext,
39
- State: () => State,
40
36
  SubscriptionStatus: () => SubscriptionStatus,
41
37
  Type: () => Type,
42
38
  UnassignReason: () => UnassignReason,
@@ -516,64 +512,6 @@ var App = /* @__PURE__ */ ((App2) => {
516
512
  App2["ONLINE_PROGRAMS"] = "ONLINE_PROGRAMS";
517
513
  return App2;
518
514
  })(App || {});
519
- var State = /* @__PURE__ */ ((State2) => {
520
- State2["UNKNOWN"] = "UNKNOWN";
521
- State2["ENABLED"] = "ENABLED";
522
- State2["DISABLED"] = "DISABLED";
523
- State2["PENDING"] = "PENDING";
524
- State2["DEMO"] = "DEMO";
525
- return State2;
526
- })(State || {});
527
- var SiteCreatedContext = /* @__PURE__ */ ((SiteCreatedContext2) => {
528
- SiteCreatedContext2["OTHER"] = "OTHER";
529
- SiteCreatedContext2["FROM_TEMPLATE"] = "FROM_TEMPLATE";
530
- SiteCreatedContext2["DUPLICATE_BY_SITE_TRANSFER"] = "DUPLICATE_BY_SITE_TRANSFER";
531
- SiteCreatedContext2["DUPLICATE"] = "DUPLICATE";
532
- SiteCreatedContext2["OLD_SITE_TRANSFER"] = "OLD_SITE_TRANSFER";
533
- SiteCreatedContext2["FLASH"] = "FLASH";
534
- return SiteCreatedContext2;
535
- })(SiteCreatedContext || {});
536
- var Namespace = /* @__PURE__ */ ((Namespace2) => {
537
- Namespace2["UNKNOWN_NAMESPACE"] = "UNKNOWN_NAMESPACE";
538
- Namespace2["WIX"] = "WIX";
539
- Namespace2["SHOUT_OUT"] = "SHOUT_OUT";
540
- Namespace2["ALBUMS"] = "ALBUMS";
541
- Namespace2["WIX_STORES_TEST_DRIVE"] = "WIX_STORES_TEST_DRIVE";
542
- Namespace2["HOTELS"] = "HOTELS";
543
- Namespace2["CLUBS"] = "CLUBS";
544
- Namespace2["ONBOARDING_DRAFT"] = "ONBOARDING_DRAFT";
545
- Namespace2["DEV_SITE"] = "DEV_SITE";
546
- Namespace2["LOGOS"] = "LOGOS";
547
- Namespace2["VIDEO_MAKER"] = "VIDEO_MAKER";
548
- Namespace2["PARTNER_DASHBOARD"] = "PARTNER_DASHBOARD";
549
- Namespace2["DEV_CENTER_COMPANY"] = "DEV_CENTER_COMPANY";
550
- Namespace2["HTML_DRAFT"] = "HTML_DRAFT";
551
- Namespace2["SITELESS_BUSINESS"] = "SITELESS_BUSINESS";
552
- Namespace2["CREATOR_ECONOMY"] = "CREATOR_ECONOMY";
553
- Namespace2["DASHBOARD_FIRST"] = "DASHBOARD_FIRST";
554
- Namespace2["ANYWHERE"] = "ANYWHERE";
555
- Namespace2["HEADLESS"] = "HEADLESS";
556
- Namespace2["ACCOUNT_MASTER_CMS"] = "ACCOUNT_MASTER_CMS";
557
- Namespace2["RISE"] = "RISE";
558
- Namespace2["BRANDED_FIRST"] = "BRANDED_FIRST";
559
- Namespace2["NOWNIA"] = "NOWNIA";
560
- Namespace2["UGC_TEMPLATE"] = "UGC_TEMPLATE";
561
- Namespace2["CODUX"] = "CODUX";
562
- Namespace2["MEDIA_DESIGN_CREATOR"] = "MEDIA_DESIGN_CREATOR";
563
- Namespace2["SHARED_BLOG_ENTERPRISE"] = "SHARED_BLOG_ENTERPRISE";
564
- Namespace2["STANDALONE_FORMS"] = "STANDALONE_FORMS";
565
- Namespace2["STANDALONE_EVENTS"] = "STANDALONE_EVENTS";
566
- Namespace2["MIMIR"] = "MIMIR";
567
- return Namespace2;
568
- })(Namespace || {});
569
- var DeleteStatus = /* @__PURE__ */ ((DeleteStatus2) => {
570
- DeleteStatus2["UNKNOWN"] = "UNKNOWN";
571
- DeleteStatus2["TRASH"] = "TRASH";
572
- DeleteStatus2["DELETED"] = "DELETED";
573
- DeleteStatus2["PENDING_PURGE"] = "PENDING_PURGE";
574
- DeleteStatus2["PURGED_EXTERNALLY"] = "PURGED_EXTERNALLY";
575
- return DeleteStatus2;
576
- })(DeleteStatus || {});
577
515
  var ProviderName = /* @__PURE__ */ ((ProviderName2) => {
578
516
  ProviderName2["UNKNOWN"] = "UNKNOWN";
579
517
  ProviderName2["SBS"] = "SBS";
@@ -969,19 +907,15 @@ var onProgramUpdated2 = (0, import_event_definition_modules.createEventModule)(o
969
907
  App,
970
908
  ContractSwitchReason,
971
909
  ContractSwitchType,
972
- DeleteStatus,
973
910
  DiscountType,
974
911
  Initiator,
975
912
  IntervalUnit,
976
- Namespace,
977
913
  PriceIncreaseTrigger,
978
914
  ProductAdjustment,
979
915
  ProgramStatus,
980
916
  ProviderName,
981
917
  ReactivationReasonEnum,
982
918
  RewardType,
983
- SiteCreatedContext,
984
- State,
985
919
  SubscriptionStatus,
986
920
  Type,
987
921
  UnassignReason,