@wix/auto_sdk_pricing-plans_pricing-plans-settings 1.0.12 → 1.0.14
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.
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +105 -0
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +616 -1
- package/build/cjs/index.typings.js +105 -0
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +616 -1
- package/build/cjs/meta.js +105 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.d.mts +1 -1
- package/build/es/index.mjs +94 -0
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +616 -1
- package/build/es/index.typings.mjs +94 -0
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +616 -1
- package/build/es/meta.mjs +94 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.d.ts +1 -1
- package/build/internal/cjs/index.js +105 -0
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +616 -1
- package/build/internal/cjs/index.typings.js +105 -0
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +616 -1
- package/build/internal/cjs/meta.js +105 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/index.d.mts +1 -1
- package/build/internal/es/index.mjs +94 -0
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +616 -1
- package/build/internal/es/index.typings.mjs +94 -0
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +616 -1
- package/build/internal/es/meta.mjs +94 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -547,6 +547,621 @@ interface CancelRequestedReason {
|
|
|
547
547
|
}
|
|
548
548
|
interface Empty {
|
|
549
549
|
}
|
|
550
|
+
interface SubscriptionEvent extends SubscriptionEventEventOneOf {
|
|
551
|
+
/** Triggered when a subscription is created. */
|
|
552
|
+
created?: SubscriptionCreated;
|
|
553
|
+
/**
|
|
554
|
+
* Triggered when a subscription is assigned to a Wix site, including the initial
|
|
555
|
+
* assignment of a floating subscription or a re-assignement from a different site.
|
|
556
|
+
*/
|
|
557
|
+
assigned?: SubscriptionAssigned;
|
|
558
|
+
/** Triggered when a subscription is canceled. */
|
|
559
|
+
cancelled?: SubscriptionCancelled;
|
|
560
|
+
/** Triggered when the subscription's auto renew is turned on. */
|
|
561
|
+
autoRenewTurnedOn?: SubscriptionAutoRenewTurnedOn;
|
|
562
|
+
/** Triggered when the subscription's auto renew is turned off. */
|
|
563
|
+
autoRenewTurnedOff?: SubscriptionAutoRenewTurnedOff;
|
|
564
|
+
/**
|
|
565
|
+
* Triggered when a subscription is unassigned from a Wix site and becomes
|
|
566
|
+
* floating.
|
|
567
|
+
*/
|
|
568
|
+
unassigned?: SubscriptionUnassigned;
|
|
569
|
+
/**
|
|
570
|
+
* Triggered when a subscription is transferred from one Wix account to another.
|
|
571
|
+
* A transfer includes cancelling the original subscription and creating a new
|
|
572
|
+
* subscription for the target account. The event returns both the original
|
|
573
|
+
* and the new subscription.
|
|
574
|
+
*/
|
|
575
|
+
transferred?: SubscriptionTransferred;
|
|
576
|
+
/** Triggered when a recurring charge succeeds for a subscription. */
|
|
577
|
+
recurringChargeSucceeded?: RecurringChargeSucceeded;
|
|
578
|
+
/**
|
|
579
|
+
* Triggered when a subscription was updated including when its product has been
|
|
580
|
+
* up- or downgraded or the billing cycle is changed.
|
|
581
|
+
*/
|
|
582
|
+
contractSwitched?: ContractSwitched;
|
|
583
|
+
/**
|
|
584
|
+
* Triggered when a subscription gets close to the end of its billing cycle.
|
|
585
|
+
* The exact number of days is defined in the billing system.
|
|
586
|
+
*/
|
|
587
|
+
nearEndOfPeriod?: SubscriptionNearEndOfPeriod;
|
|
588
|
+
/**
|
|
589
|
+
* Triggered when a subscription is updated and the change doesn't happen
|
|
590
|
+
* immediately but at the end of the current billing cycle.
|
|
591
|
+
*/
|
|
592
|
+
pendingChange?: SubscriptionPendingChange;
|
|
593
|
+
/** Triggered when a recurring charge attempt fails for a subscription. */
|
|
594
|
+
recurringChargeAttemptFailed?: RecurringChargeAttemptFailed;
|
|
595
|
+
/**
|
|
596
|
+
* ID of the subscription's event.
|
|
597
|
+
* @format GUID
|
|
598
|
+
*/
|
|
599
|
+
eventId?: string | null;
|
|
600
|
+
/**
|
|
601
|
+
* Date and time of the event in
|
|
602
|
+
* [UTC datetime](https://en.wikipedia.org/wiki/Coordinated_Universal_Time)
|
|
603
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
604
|
+
*/
|
|
605
|
+
eventDate?: Date | null;
|
|
606
|
+
}
|
|
607
|
+
/** @oneof */
|
|
608
|
+
interface SubscriptionEventEventOneOf {
|
|
609
|
+
/** Triggered when a subscription is created. */
|
|
610
|
+
created?: SubscriptionCreated;
|
|
611
|
+
/**
|
|
612
|
+
* Triggered when a subscription is assigned to a Wix site, including the initial
|
|
613
|
+
* assignment of a floating subscription or a re-assignement from a different site.
|
|
614
|
+
*/
|
|
615
|
+
assigned?: SubscriptionAssigned;
|
|
616
|
+
/** Triggered when a subscription is canceled. */
|
|
617
|
+
cancelled?: SubscriptionCancelled;
|
|
618
|
+
/** Triggered when the subscription's auto renew is turned on. */
|
|
619
|
+
autoRenewTurnedOn?: SubscriptionAutoRenewTurnedOn;
|
|
620
|
+
/** Triggered when the subscription's auto renew is turned off. */
|
|
621
|
+
autoRenewTurnedOff?: SubscriptionAutoRenewTurnedOff;
|
|
622
|
+
/**
|
|
623
|
+
* Triggered when a subscription is unassigned from a Wix site and becomes
|
|
624
|
+
* floating.
|
|
625
|
+
*/
|
|
626
|
+
unassigned?: SubscriptionUnassigned;
|
|
627
|
+
/**
|
|
628
|
+
* Triggered when a subscription is transferred from one Wix account to another.
|
|
629
|
+
* A transfer includes cancelling the original subscription and creating a new
|
|
630
|
+
* subscription for the target account. The event returns both the original
|
|
631
|
+
* and the new subscription.
|
|
632
|
+
*/
|
|
633
|
+
transferred?: SubscriptionTransferred;
|
|
634
|
+
/** Triggered when a recurring charge succeeds for a subscription. */
|
|
635
|
+
recurringChargeSucceeded?: RecurringChargeSucceeded;
|
|
636
|
+
/**
|
|
637
|
+
* Triggered when a subscription was updated including when its product has been
|
|
638
|
+
* up- or downgraded or the billing cycle is changed.
|
|
639
|
+
*/
|
|
640
|
+
contractSwitched?: ContractSwitched;
|
|
641
|
+
/**
|
|
642
|
+
* Triggered when a subscription gets close to the end of its billing cycle.
|
|
643
|
+
* The exact number of days is defined in the billing system.
|
|
644
|
+
*/
|
|
645
|
+
nearEndOfPeriod?: SubscriptionNearEndOfPeriod;
|
|
646
|
+
/**
|
|
647
|
+
* Triggered when a subscription is updated and the change doesn't happen
|
|
648
|
+
* immediately but at the end of the current billing cycle.
|
|
649
|
+
*/
|
|
650
|
+
pendingChange?: SubscriptionPendingChange;
|
|
651
|
+
/** Triggered when a recurring charge attempt fails for a subscription. */
|
|
652
|
+
recurringChargeAttemptFailed?: RecurringChargeAttemptFailed;
|
|
653
|
+
}
|
|
654
|
+
/** Triggered when a subscription is created. */
|
|
655
|
+
interface SubscriptionCreated {
|
|
656
|
+
/** Created subscription. */
|
|
657
|
+
subscription?: Subscription;
|
|
658
|
+
/** Metadata for the `created` event. */
|
|
659
|
+
metadata?: Record<string, string>;
|
|
660
|
+
/**
|
|
661
|
+
* Subscription reactivation data.
|
|
662
|
+
* A subscription can be reactivated for example if it was incorrectly canceled because of fraud and then reactivated
|
|
663
|
+
* by the billing system
|
|
664
|
+
*/
|
|
665
|
+
reactivationData?: ReactivationData;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* A subscription holds information about a Premium product that a Wix account
|
|
669
|
+
* owner has purchased including details about the billing.
|
|
670
|
+
*/
|
|
671
|
+
interface Subscription {
|
|
672
|
+
/**
|
|
673
|
+
* ID of the subscription.
|
|
674
|
+
* @format GUID
|
|
675
|
+
*/
|
|
676
|
+
_id?: string;
|
|
677
|
+
/**
|
|
678
|
+
* ID of the Wix account that purchased the subscription.
|
|
679
|
+
* @format GUID
|
|
680
|
+
*/
|
|
681
|
+
userId?: string;
|
|
682
|
+
/**
|
|
683
|
+
* ID of the [product](https://bo.wix.com/wix-docs/rest/premium/premium-product-catalog-v2/products/product-object)
|
|
684
|
+
* for which the subscription was purchased.
|
|
685
|
+
* @format GUID
|
|
686
|
+
*/
|
|
687
|
+
productId?: string;
|
|
688
|
+
/**
|
|
689
|
+
* Date and time the subscription was created in
|
|
690
|
+
* [UTC datetime](https://en.wikipedia.org/wiki/Coordinated_Universal_Time)
|
|
691
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
692
|
+
*/
|
|
693
|
+
createdAt?: Date | null;
|
|
694
|
+
/**
|
|
695
|
+
* Date and time the subscription was last updated in
|
|
696
|
+
* [UTC datetime](https://en.wikipedia.org/wiki/Coordinated_Universal_Time)
|
|
697
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
698
|
+
*/
|
|
699
|
+
updatedAt?: Date | null;
|
|
700
|
+
/**
|
|
701
|
+
* ID of the metasite that the subscription is assigned to.
|
|
702
|
+
* Available only when the subscription is assigned to a Wix site.
|
|
703
|
+
* Subscriptions for account level products can't be assigned to a Wix site.
|
|
704
|
+
* @format GUID
|
|
705
|
+
*/
|
|
706
|
+
metaSiteId?: string | null;
|
|
707
|
+
/** Information about the system that manages the subscription's billing. */
|
|
708
|
+
billingReference?: BillingReference;
|
|
709
|
+
/** Information about the billing cycle of the subscription. */
|
|
710
|
+
cycle?: Cycle;
|
|
711
|
+
/**
|
|
712
|
+
* Subscription status.
|
|
713
|
+
*
|
|
714
|
+
* + `UNKNOWN`: Default status.
|
|
715
|
+
* + `AUTO_RENEW_ON`: Subscription is active and automatically renews at the end of the current billing cycle.
|
|
716
|
+
* + `AUTO_RENEW_OFF`: Subscription is active but expires at the end of the current billing cycle.
|
|
717
|
+
* + `MANUAL_RECURRING`: Subscription is active and renews at the end of the current billing cycle, in case the customer takes an action related to the payment.
|
|
718
|
+
* + `CANCELLED`: Subscription isn't active because it has been canceled.
|
|
719
|
+
* + `TRANSFERRED`: Subscription isn't active because it has been transferred to a different account. A different active subscription was created for the target account.
|
|
720
|
+
*/
|
|
721
|
+
status?: SubscriptionStatusWithLiterals;
|
|
722
|
+
/**
|
|
723
|
+
* Date and time the subscription was last transferred from one Wix account to
|
|
724
|
+
* another in
|
|
725
|
+
* [UTC datetime](https://en.wikipedia.org/wiki/Coordinated_Universal_Time)
|
|
726
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
727
|
+
*/
|
|
728
|
+
transferredAt?: Date | null;
|
|
729
|
+
/**
|
|
730
|
+
* ID of the [product type](https://bo.wix.com/wix-docs/rest/premium/premium-product-catalog-v2/product-types/product-type-object)
|
|
731
|
+
* that the product, for which the subscription was purchased, belongs to.
|
|
732
|
+
* @format GUID
|
|
733
|
+
*/
|
|
734
|
+
productTypeId?: string;
|
|
735
|
+
/** Version number, which increments by 1 each time the subscription is updated. */
|
|
736
|
+
version?: number;
|
|
737
|
+
/**
|
|
738
|
+
* Whether the subscription is active. Includes the statuses
|
|
739
|
+
* `"AUTO_RENEW_ON"`, `"AUTO_RENEW_OFF"`, and `"MANUAL_RECURRING"`.
|
|
740
|
+
*/
|
|
741
|
+
active?: boolean;
|
|
742
|
+
/**
|
|
743
|
+
* Date and time the subscription was originally created in
|
|
744
|
+
* [UTC datetime](https://en.wikipedia.org/wiki/Coordinated_Universal_Time)
|
|
745
|
+
* `YYYY-MM-DDThh:mm:ss.sssZ` format.
|
|
746
|
+
* Differs from `createdAt` in case the subscription was originally created for a different Wix account and has been transferred.
|
|
747
|
+
*/
|
|
748
|
+
originalCreationDate?: Date | null;
|
|
749
|
+
/** Custom metadata about the subscription. */
|
|
750
|
+
metadata?: Record<string, string>;
|
|
751
|
+
/**
|
|
752
|
+
* 2-letter country code in
|
|
753
|
+
* [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements)
|
|
754
|
+
* format.
|
|
755
|
+
*/
|
|
756
|
+
countryCode?: string | null;
|
|
757
|
+
/**
|
|
758
|
+
* Seats of the product that the subscription was purchased for.
|
|
759
|
+
* Will be Null for products that don't support seats.
|
|
760
|
+
* @min 1
|
|
761
|
+
* @max 500
|
|
762
|
+
*/
|
|
763
|
+
seats?: number | null;
|
|
764
|
+
}
|
|
765
|
+
interface BillingReference {
|
|
766
|
+
/**
|
|
767
|
+
* Name of the billing system that manages the subscription.
|
|
768
|
+
*
|
|
769
|
+
* + `"UNKNOWN"`: Default value.
|
|
770
|
+
* + `"SBS"`: [Wix Billing](https://github.com/wix-p/premium-billing/tree/master/sbs).
|
|
771
|
+
* + `"LICENSER"`:
|
|
772
|
+
* + `"BASS"`: [Billing and Subscriptions System](https://dev.wix.com/docs/rest/internal-only/premium/subscriptions-by-billing-by-wix/introduction).
|
|
773
|
+
* + `"RESELLER"`: [External Reseller](https://dev.wix.com/api/rest/account-level-apis/resellers/introduction).
|
|
774
|
+
*/
|
|
775
|
+
providerName?: ProviderNameWithLiterals;
|
|
776
|
+
/** Current provider reference ID. */
|
|
777
|
+
providerReferenceId?: string | null;
|
|
778
|
+
/** Previous provider reference IDs. Used for when a subscription is extended, specifically for domains. */
|
|
779
|
+
previousProviderReferenceIds?: string[];
|
|
780
|
+
}
|
|
781
|
+
declare enum ProviderName {
|
|
782
|
+
UNKNOWN = "UNKNOWN",
|
|
783
|
+
SBS = "SBS",
|
|
784
|
+
LICENSER = "LICENSER",
|
|
785
|
+
BASS = "BASS",
|
|
786
|
+
RESELLER = "RESELLER",
|
|
787
|
+
RECURRING_INVOICES = "RECURRING_INVOICES"
|
|
788
|
+
}
|
|
789
|
+
/** @enumType */
|
|
790
|
+
type ProviderNameWithLiterals = ProviderName | 'UNKNOWN' | 'SBS' | 'LICENSER' | 'BASS' | 'RESELLER' | 'RECURRING_INVOICES';
|
|
791
|
+
interface Cycle extends CycleCycleSelectorOneOf {
|
|
792
|
+
/** repetitive interval */
|
|
793
|
+
interval?: Interval;
|
|
794
|
+
/** one time */
|
|
795
|
+
oneTime?: OneTime;
|
|
796
|
+
}
|
|
797
|
+
/** @oneof */
|
|
798
|
+
interface CycleCycleSelectorOneOf {
|
|
799
|
+
/** repetitive interval */
|
|
800
|
+
interval?: Interval;
|
|
801
|
+
/** one time */
|
|
802
|
+
oneTime?: OneTime;
|
|
803
|
+
}
|
|
804
|
+
interface Interval {
|
|
805
|
+
/** interval unit of measure */
|
|
806
|
+
unit?: IntervalUnitWithLiterals;
|
|
807
|
+
/** number of interval */
|
|
808
|
+
count?: number;
|
|
809
|
+
}
|
|
810
|
+
declare enum IntervalUnit {
|
|
811
|
+
/** unknown interval unit */
|
|
812
|
+
UNKNOWN = "UNKNOWN",
|
|
813
|
+
/** day */
|
|
814
|
+
DAY = "DAY",
|
|
815
|
+
/** week */
|
|
816
|
+
WEEK = "WEEK",
|
|
817
|
+
/** month */
|
|
818
|
+
MONTH = "MONTH",
|
|
819
|
+
/** year */
|
|
820
|
+
YEAR = "YEAR"
|
|
821
|
+
}
|
|
822
|
+
/** @enumType */
|
|
823
|
+
type IntervalUnitWithLiterals = IntervalUnit | 'UNKNOWN' | 'DAY' | 'WEEK' | 'MONTH' | 'YEAR';
|
|
824
|
+
interface OneTime {
|
|
825
|
+
}
|
|
826
|
+
declare enum SubscriptionStatus {
|
|
827
|
+
UNKNOWN = "UNKNOWN",
|
|
828
|
+
AUTO_RENEW_ON = "AUTO_RENEW_ON",
|
|
829
|
+
AUTO_RENEW_OFF = "AUTO_RENEW_OFF",
|
|
830
|
+
MANUAL_RECURRING = "MANUAL_RECURRING",
|
|
831
|
+
CANCELLED = "CANCELLED",
|
|
832
|
+
TRANSFERRED = "TRANSFERRED"
|
|
833
|
+
}
|
|
834
|
+
/** @enumType */
|
|
835
|
+
type SubscriptionStatusWithLiterals = SubscriptionStatus | 'UNKNOWN' | 'AUTO_RENEW_ON' | 'AUTO_RENEW_OFF' | 'MANUAL_RECURRING' | 'CANCELLED' | 'TRANSFERRED';
|
|
836
|
+
/** Triggered when a subscription is reactivated. */
|
|
837
|
+
interface ReactivationData {
|
|
838
|
+
reactivationReason?: ReactivationReasonEnumWithLiterals;
|
|
839
|
+
/**
|
|
840
|
+
* In the event of reactivation after chargeback dispute, the subscription may be extended according to the
|
|
841
|
+
* number of days it was inactive during the time of resolving the dispute
|
|
842
|
+
*/
|
|
843
|
+
newEndOfPeriod?: Date | null;
|
|
844
|
+
/** The original end date, before the inactive period. */
|
|
845
|
+
oldEndOfPeriod?: Date | null;
|
|
846
|
+
/** The difference in days between the new new_end_of_period and old_end_of_period */
|
|
847
|
+
differenceInDays?: number | null;
|
|
848
|
+
}
|
|
849
|
+
/** Reason for subscription reactivation */
|
|
850
|
+
declare enum ReactivationReasonEnum {
|
|
851
|
+
UNKNOWN = "UNKNOWN",
|
|
852
|
+
/**
|
|
853
|
+
* Subscription was reactivated due to billing status change from CANCELED to ACTIVE, for example if it was incorrectly
|
|
854
|
+
* canceled because of suspicion of fraud
|
|
855
|
+
*/
|
|
856
|
+
BILLING_STATUS_CHANGE = "BILLING_STATUS_CHANGE",
|
|
857
|
+
/** Subscription was reactivated after a chargeback dispute */
|
|
858
|
+
REACTIVATED_AFTER_CHARGEBACK = "REACTIVATED_AFTER_CHARGEBACK"
|
|
859
|
+
}
|
|
860
|
+
/** @enumType */
|
|
861
|
+
type ReactivationReasonEnumWithLiterals = ReactivationReasonEnum | 'UNKNOWN' | 'BILLING_STATUS_CHANGE' | 'REACTIVATED_AFTER_CHARGEBACK';
|
|
862
|
+
/**
|
|
863
|
+
* Triggered when a subscription is assigned to a Wix site, including the initial
|
|
864
|
+
* assignment of a floating subscription or a re-assignement from a different site.
|
|
865
|
+
*/
|
|
866
|
+
interface SubscriptionAssigned {
|
|
867
|
+
/** Assigned subscription. */
|
|
868
|
+
subscription?: Subscription;
|
|
869
|
+
/**
|
|
870
|
+
* ID of the metasite that the subscription has been assigned to before the update.
|
|
871
|
+
* @format GUID
|
|
872
|
+
*/
|
|
873
|
+
previousMetaSiteId?: string | null;
|
|
874
|
+
}
|
|
875
|
+
/** Triggered when a subscription is canceled. */
|
|
876
|
+
interface SubscriptionCancelled {
|
|
877
|
+
/** Canceled subscription. */
|
|
878
|
+
subscription?: Subscription;
|
|
879
|
+
/** Details about the cancellation including who canceled the subscription and why. */
|
|
880
|
+
cancellationDetails?: CancellationDetails;
|
|
881
|
+
/**
|
|
882
|
+
* Whether the subscription is canceled immediately or expires at the end of the current billing cycle.
|
|
883
|
+
*
|
|
884
|
+
* Default: `false`
|
|
885
|
+
*/
|
|
886
|
+
immediateCancel?: boolean;
|
|
887
|
+
/** Whether the subscription was canceled during the free trial period. */
|
|
888
|
+
canceledInFreeTrial?: boolean;
|
|
889
|
+
/** The type of refund applied to the cancellation. */
|
|
890
|
+
refundType?: RefundTypeWithLiterals;
|
|
891
|
+
}
|
|
892
|
+
/** Information about the cancellation flow including who canceled the subscription and why it was canceled. */
|
|
893
|
+
interface CancellationDetails {
|
|
894
|
+
/**
|
|
895
|
+
* Cancellation code.
|
|
896
|
+
*
|
|
897
|
+
* Values supported for cancellations on behalf of the billing system: `-1`, `-2`, `-3`, `-4`, `-5`, `-6`, `-7`, `-8`.
|
|
898
|
+
* For cancellations on behalf of the site owner or the service provider `cancellationCode`
|
|
899
|
+
* is taken from the request of
|
|
900
|
+
* [Cancel Immediately Offline](https://bo.wix.com/wix-docs/rest/premium/premium-subscriptions-manager/cancel-immediately-offline).
|
|
901
|
+
*
|
|
902
|
+
* + `-1`: The subscription has been cancelled by the billing system but none of the listed cancellation reasons applies.
|
|
903
|
+
* + `-2`: There were payment problems.
|
|
904
|
+
* + `-3`: There was a chargeback.
|
|
905
|
+
* + `-4`: Customer support has canceled the subscription and issued a refund.
|
|
906
|
+
* + `-5`: The site owner has changed their existing subscription.
|
|
907
|
+
* + `-6`: The subscription has been transferred to a different Wix account.
|
|
908
|
+
* + `-7`: The subscription has been canceled because the site owner hasn't manually authenticated the recurring payment during the subscription's grace period. For example, site owners must manually confirm recurring payments within 40 days when paying with boleto.
|
|
909
|
+
* + `-8`: The Wix account that the subscription belonged to has been deleted.
|
|
910
|
+
*/
|
|
911
|
+
cancellationCode?: number | null;
|
|
912
|
+
/**
|
|
913
|
+
* Cancellation reason. For cancellations on behalf of the site owner or the service provider `cancellationReason`
|
|
914
|
+
* is taken from the request of
|
|
915
|
+
* [Cancel Immediately Offline](https://bo.wix.com/wix-docs/rest/premium/premium-subscriptions-manager/cancel-immediately-offline).
|
|
916
|
+
* For cancellations on behalf of the billing system `cancellationReason` is `null` or an empty string.
|
|
917
|
+
*/
|
|
918
|
+
cancellationReason?: string | null;
|
|
919
|
+
/**
|
|
920
|
+
* Initiator of the cancellation. For `"USER_REQUESTED"` and `"APP_MANAGED"`,
|
|
921
|
+
* `cancellationCode` and `cancellationReason` are taken from the request of
|
|
922
|
+
* [Cancel Immediately](https://dev.wix.com/docs/rest/account-level/premium/premium-subscriptions-manager/subscription-v1/cancel-immediately)
|
|
923
|
+
* or [Cancel Immediately Offline](https://dev.wix.com/docs/rest/account-level/premium/premium-subscriptions-manager/subscription-v1/cancel-immediately-offline).
|
|
924
|
+
* For `"PASSIVE"`, cancellations `cancellationCode` is automatically calculated and `cancellationReason`
|
|
925
|
+
* is `null` or an empty string.
|
|
926
|
+
*
|
|
927
|
+
* + `"UNKNOWN`: Default value.
|
|
928
|
+
* + `"USER_REQUESTED"`: The Wix account owner has canceled the subscription.
|
|
929
|
+
* + `"APP_MANAGED"`: The service provider has canceled the subscription.
|
|
930
|
+
* + `"PASSIVE"`: The billing system has canceled the subscription. For example, in case of payment failure or fraud.
|
|
931
|
+
*/
|
|
932
|
+
initiator?: InitiatorWithLiterals;
|
|
933
|
+
}
|
|
934
|
+
declare enum Initiator {
|
|
935
|
+
UNKNOWN = "UNKNOWN",
|
|
936
|
+
USER_REQUESTED = "USER_REQUESTED",
|
|
937
|
+
APP_MANAGED = "APP_MANAGED",
|
|
938
|
+
PASSIVE = "PASSIVE"
|
|
939
|
+
}
|
|
940
|
+
/** @enumType */
|
|
941
|
+
type InitiatorWithLiterals = Initiator | 'UNKNOWN' | 'USER_REQUESTED' | 'APP_MANAGED' | 'PASSIVE';
|
|
942
|
+
declare enum RefundType {
|
|
943
|
+
UNKNOWN = "UNKNOWN",
|
|
944
|
+
NO_REFUND = "NO_REFUND",
|
|
945
|
+
FULL_REFUND = "FULL_REFUND",
|
|
946
|
+
PRORATED_REFUND = "PRORATED_REFUND"
|
|
947
|
+
}
|
|
948
|
+
/** @enumType */
|
|
949
|
+
type RefundTypeWithLiterals = RefundType | 'UNKNOWN' | 'NO_REFUND' | 'FULL_REFUND' | 'PRORATED_REFUND';
|
|
950
|
+
/** Triggered when the subscription's auto renew is turned on. */
|
|
951
|
+
interface SubscriptionAutoRenewTurnedOn {
|
|
952
|
+
/** Subscription for which auto renew is turned on. */
|
|
953
|
+
subscription?: Subscription;
|
|
954
|
+
/**
|
|
955
|
+
* Supported values: `USER`, `APP`.
|
|
956
|
+
*
|
|
957
|
+
* Information about who turned auto renew on.
|
|
958
|
+
* + `"USER"`: The site owner who purchased the subscription has turned auto renew on.
|
|
959
|
+
* + `"APP"`: The service provider has turned auto renew on.
|
|
960
|
+
*/
|
|
961
|
+
initiator?: string | null;
|
|
962
|
+
}
|
|
963
|
+
/** Triggered when the subscription's auto renew is turned off. */
|
|
964
|
+
interface SubscriptionAutoRenewTurnedOff {
|
|
965
|
+
/** Subscription for which auto renew is turned off. */
|
|
966
|
+
subscription?: Subscription;
|
|
967
|
+
/** Details about the cancellation including who canceled the subscription and why. */
|
|
968
|
+
cancellationDetails?: CancellationDetails;
|
|
969
|
+
/**
|
|
970
|
+
* Whether the subscription is immediately canceled or expires at the end of the current billing cycle.
|
|
971
|
+
*
|
|
972
|
+
* Default: `false`
|
|
973
|
+
*/
|
|
974
|
+
immediateCancel?: boolean;
|
|
975
|
+
}
|
|
976
|
+
/**
|
|
977
|
+
* Triggered when a subscription is unassigned from a Wix site and becomes
|
|
978
|
+
* floating.
|
|
979
|
+
*/
|
|
980
|
+
interface SubscriptionUnassigned {
|
|
981
|
+
/** Unassigned subscription. */
|
|
982
|
+
subscription?: Subscription;
|
|
983
|
+
/**
|
|
984
|
+
* ID of the metasite that the subscription has been assigned to before the event.
|
|
985
|
+
* @format GUID
|
|
986
|
+
*/
|
|
987
|
+
previousMetaSiteId?: string;
|
|
988
|
+
/**
|
|
989
|
+
* Reason why the subscription is unassigned.
|
|
990
|
+
*
|
|
991
|
+
* + `"UNKNOWN"`: Default value.
|
|
992
|
+
* + `"USER_REQUESTED"`: The Wix account owner has unassigned the subscription.
|
|
993
|
+
* + `"REPLACED_BY_ANOTHER_SUBSCRIPTION"`: A different subscription that replaces this subscription is assigned to the site.
|
|
994
|
+
*/
|
|
995
|
+
unassignReason?: UnassignReasonWithLiterals;
|
|
996
|
+
}
|
|
997
|
+
declare enum UnassignReason {
|
|
998
|
+
UNKNOWN = "UNKNOWN",
|
|
999
|
+
USER_REQUESTED = "USER_REQUESTED",
|
|
1000
|
+
REPLACED_BY_ANOTHER_SUBSCRIPTION = "REPLACED_BY_ANOTHER_SUBSCRIPTION"
|
|
1001
|
+
}
|
|
1002
|
+
/** @enumType */
|
|
1003
|
+
type UnassignReasonWithLiterals = UnassignReason | 'UNKNOWN' | 'USER_REQUESTED' | 'REPLACED_BY_ANOTHER_SUBSCRIPTION';
|
|
1004
|
+
/**
|
|
1005
|
+
* Triggered when a subscription is transferred from one Wix account to another.
|
|
1006
|
+
* A transfer includes cancelling the original subscription and creating a new
|
|
1007
|
+
* subscription for the target account. The event returns both the original
|
|
1008
|
+
* and the new subscription.
|
|
1009
|
+
*/
|
|
1010
|
+
interface SubscriptionTransferred {
|
|
1011
|
+
/** Original subscription that was canceled for the transfer. */
|
|
1012
|
+
originSubscription?: Subscription;
|
|
1013
|
+
/** Newly created subscription for the target account. */
|
|
1014
|
+
targetSubscription?: Subscription;
|
|
1015
|
+
}
|
|
1016
|
+
/** Triggered when a recurring charge succeeds for a subscription. */
|
|
1017
|
+
interface RecurringChargeSucceeded {
|
|
1018
|
+
/** Subscription for which the recurring charge has succeeded. */
|
|
1019
|
+
subscription?: Subscription;
|
|
1020
|
+
/** Indication that there was a successful charge at the end of the free trial period */
|
|
1021
|
+
freeTrialPeriodEnd?: boolean;
|
|
1022
|
+
}
|
|
1023
|
+
/**
|
|
1024
|
+
* Triggered when a subscription was updated including when its product has been
|
|
1025
|
+
* up- or downgraded or the billing cycle is changed.
|
|
1026
|
+
*/
|
|
1027
|
+
interface ContractSwitched {
|
|
1028
|
+
/** Updated subscription. */
|
|
1029
|
+
subscription?: Subscription;
|
|
1030
|
+
/** Billing cycle before the update. */
|
|
1031
|
+
previousCycle?: Cycle;
|
|
1032
|
+
/**
|
|
1033
|
+
* ID of the product belonging to the subscription before the update.
|
|
1034
|
+
* @format GUID
|
|
1035
|
+
*/
|
|
1036
|
+
previousProductId?: string;
|
|
1037
|
+
/**
|
|
1038
|
+
* ID of the product type that the subscription's original product belonged to before the update.
|
|
1039
|
+
* @format GUID
|
|
1040
|
+
*/
|
|
1041
|
+
previousProductTypeId?: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* Update type. __Note__: Doesn't include information about a product adjustment.
|
|
1044
|
+
* For that purpose, see `productAdjustment`.
|
|
1045
|
+
*
|
|
1046
|
+
* + `"NOT_APPLICABLE"`: Default value.
|
|
1047
|
+
* + `"ADDITIONAL_QUANTITY"`: An increased usage quota is added to the subscription. For example, a second mailbox is added to a subscription that previously included a single mailbox.
|
|
1048
|
+
* + `"CREDIT_UNUSED_PERIOD"`: The subscription is upgraded and the new price is less than the regular price. The new price applies to every billing cycle, not just the first cycle.
|
|
1049
|
+
* + `"REFUND_PRICE_DIFF"`: Not implemented.
|
|
1050
|
+
* + `"ADJUST_PERIOD_END"`: Not implemented.
|
|
1051
|
+
* + `"DOWNGRADE_GRACE_PERIOD"`: For downgrades during the grace period. In this situation, the site owner hasn’t paid yet and must immediately pay for the downgraded subscription.
|
|
1052
|
+
* + `"FULL_AMOUNT_PERIOD"`: For upgrades in which the site owner retains unused benefits. For example, site owners upgrading a Facebook Ads subscription retain their unused FB Ads credit. The unused credit is added to the new credit.
|
|
1053
|
+
* + `"END_OF_PERIOD"`: The subscription's billing current cycle is extended because of a downgrade.
|
|
1054
|
+
* + `"PENDING_CHANGES"`: The subscription's billing is updated, but the change doesn't apply immediately. Instead, the update becomes effective at the end of current billing cycle.
|
|
1055
|
+
* + `"DOWNGRADE_RENEWAL"`: The subscription is downgraded because of a declined payment. This prevents subscriptions from churning.
|
|
1056
|
+
*/
|
|
1057
|
+
contractSwitchType?: ContractSwitchTypeWithLiterals;
|
|
1058
|
+
/**
|
|
1059
|
+
* ID of the metasite the subscription has been assigned to previously.
|
|
1060
|
+
* Available only in case the subscription is assigned to a different site.
|
|
1061
|
+
* @format GUID
|
|
1062
|
+
*/
|
|
1063
|
+
previousMetaSiteId?: string | null;
|
|
1064
|
+
/**
|
|
1065
|
+
* Update reason.
|
|
1066
|
+
*
|
|
1067
|
+
* + `"PRICE_INCREASE"`: The subscription's price has been increased.
|
|
1068
|
+
* + `"EXTERNAL_PROVIDER_TRIGGER"`: Any reason other than a price increase.
|
|
1069
|
+
*/
|
|
1070
|
+
contractSwitchReason?: ContractSwitchReasonWithLiterals;
|
|
1071
|
+
/** Information about the price update. Available only for updates with a price increase. */
|
|
1072
|
+
productPriceIncreaseData?: ProductPriceIncreaseData;
|
|
1073
|
+
/**
|
|
1074
|
+
* Information about a product adjustment. For example, a downgrade.
|
|
1075
|
+
* __Note__: This isn't the same as `contractSwitchType`.
|
|
1076
|
+
*
|
|
1077
|
+
* + `NOT_APPLICABLE`: There is no information about whether the product has been up- or downgraded.
|
|
1078
|
+
* + `DOWNGRADE`: The product has been downgraded.
|
|
1079
|
+
*/
|
|
1080
|
+
productAdjustment?: ProductAdjustmentWithLiterals;
|
|
1081
|
+
/**
|
|
1082
|
+
* Number of seats before the contract switch.
|
|
1083
|
+
* @min 1
|
|
1084
|
+
* @max 500
|
|
1085
|
+
*/
|
|
1086
|
+
previousSeats?: number | null;
|
|
1087
|
+
}
|
|
1088
|
+
/** Copied from SBS */
|
|
1089
|
+
declare enum ContractSwitchType {
|
|
1090
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1091
|
+
ADDITIONAL_QUANTITY = "ADDITIONAL_QUANTITY",
|
|
1092
|
+
CREDIT_UNUSED_PERIOD = "CREDIT_UNUSED_PERIOD",
|
|
1093
|
+
REFUND_PRICE_DIFF = "REFUND_PRICE_DIFF",
|
|
1094
|
+
ADJUST_PERIOD_END = "ADJUST_PERIOD_END",
|
|
1095
|
+
DOWNGRADE_GRACE_PERIOD = "DOWNGRADE_GRACE_PERIOD",
|
|
1096
|
+
FULL_AMOUNT_PERIOD = "FULL_AMOUNT_PERIOD",
|
|
1097
|
+
END_OF_PERIOD = "END_OF_PERIOD",
|
|
1098
|
+
PENDING_CHANGES = "PENDING_CHANGES",
|
|
1099
|
+
DOWNGRADE_RENEWAL = "DOWNGRADE_RENEWAL",
|
|
1100
|
+
FIXED_BILLING_DATE_PRORATION = "FIXED_BILLING_DATE_PRORATION",
|
|
1101
|
+
IMMEDIATE_SWITCH = "IMMEDIATE_SWITCH"
|
|
1102
|
+
}
|
|
1103
|
+
/** @enumType */
|
|
1104
|
+
type ContractSwitchTypeWithLiterals = ContractSwitchType | 'NOT_APPLICABLE' | 'ADDITIONAL_QUANTITY' | 'CREDIT_UNUSED_PERIOD' | 'REFUND_PRICE_DIFF' | 'ADJUST_PERIOD_END' | 'DOWNGRADE_GRACE_PERIOD' | 'FULL_AMOUNT_PERIOD' | 'END_OF_PERIOD' | 'PENDING_CHANGES' | 'DOWNGRADE_RENEWAL' | 'FIXED_BILLING_DATE_PRORATION' | 'IMMEDIATE_SWITCH';
|
|
1105
|
+
declare enum ContractSwitchReason {
|
|
1106
|
+
EXTERNAL_PROVIDER_TRIGGER = "EXTERNAL_PROVIDER_TRIGGER",
|
|
1107
|
+
PRICE_INCREASE = "PRICE_INCREASE"
|
|
1108
|
+
}
|
|
1109
|
+
/** @enumType */
|
|
1110
|
+
type ContractSwitchReasonWithLiterals = ContractSwitchReason | 'EXTERNAL_PROVIDER_TRIGGER' | 'PRICE_INCREASE';
|
|
1111
|
+
/** Triggered when a subscription's price is increased. */
|
|
1112
|
+
interface ProductPriceIncreaseData {
|
|
1113
|
+
/**
|
|
1114
|
+
* Price of the subscription before the update.
|
|
1115
|
+
* @format DECIMAL_VALUE
|
|
1116
|
+
*/
|
|
1117
|
+
previousPrice?: string | null;
|
|
1118
|
+
/** A value that is used in order to select the correct email template to send the user regarding the price increase. */
|
|
1119
|
+
emailTemplateSelector?: string | null;
|
|
1120
|
+
/** Used to differentiate between migration segments. Does not have to be unique per segment. */
|
|
1121
|
+
segmentName?: string | null;
|
|
1122
|
+
/** Used to determine how the price increase was triggered. */
|
|
1123
|
+
priceIncreaseTrigger?: PriceIncreaseTriggerWithLiterals;
|
|
1124
|
+
}
|
|
1125
|
+
/** Reason for Price Increase Trigger */
|
|
1126
|
+
declare enum PriceIncreaseTrigger {
|
|
1127
|
+
NEAR_RENEWAL = "NEAR_RENEWAL",
|
|
1128
|
+
RECURRING_SUCCESS = "RECURRING_SUCCESS",
|
|
1129
|
+
MANUAL = "MANUAL"
|
|
1130
|
+
}
|
|
1131
|
+
/** @enumType */
|
|
1132
|
+
type PriceIncreaseTriggerWithLiterals = PriceIncreaseTrigger | 'NEAR_RENEWAL' | 'RECURRING_SUCCESS' | 'MANUAL';
|
|
1133
|
+
/** Triggered when a subscription's product is adusted. */
|
|
1134
|
+
declare enum ProductAdjustment {
|
|
1135
|
+
/** flag to show that the ContractSwitchedEvent is not applicable / needed */
|
|
1136
|
+
NOT_APPLICABLE = "NOT_APPLICABLE",
|
|
1137
|
+
/** flag to show that the ContractSwitchedEvent is a Downgrade */
|
|
1138
|
+
DOWNGRADE = "DOWNGRADE"
|
|
1139
|
+
}
|
|
1140
|
+
/** @enumType */
|
|
1141
|
+
type ProductAdjustmentWithLiterals = ProductAdjustment | 'NOT_APPLICABLE' | 'DOWNGRADE';
|
|
1142
|
+
/**
|
|
1143
|
+
* Triggered when a subscription gets close to the end of its billing cycle.
|
|
1144
|
+
* The exact number of days is defined in the billing system.
|
|
1145
|
+
*/
|
|
1146
|
+
interface SubscriptionNearEndOfPeriod {
|
|
1147
|
+
/** Subscription that got close to the end of its billing cycle. */
|
|
1148
|
+
subscription?: Subscription;
|
|
1149
|
+
/** Whether the subscription is within the free trial period. */
|
|
1150
|
+
inFreeTrial?: boolean;
|
|
1151
|
+
}
|
|
1152
|
+
/**
|
|
1153
|
+
* Triggered when a subscription is updated and the change doesn't happen
|
|
1154
|
+
* immediately but at the end of the current billing cycle.
|
|
1155
|
+
*/
|
|
1156
|
+
interface SubscriptionPendingChange {
|
|
1157
|
+
/** Subscription for which a pending update is triggered. */
|
|
1158
|
+
subscription?: Subscription;
|
|
1159
|
+
}
|
|
1160
|
+
/** Triggered when a recurring charge attempt failed for a subscription. */
|
|
1161
|
+
interface RecurringChargeAttemptFailed {
|
|
1162
|
+
/** Subscription for which the recurring charge attempt has failed. */
|
|
1163
|
+
subscription?: Subscription;
|
|
1164
|
+
}
|
|
550
1165
|
interface MetaSiteSpecialEvent extends MetaSiteSpecialEventPayloadOneOf {
|
|
551
1166
|
/** Emitted on a meta site creation. */
|
|
552
1167
|
siteCreated?: SiteCreated;
|
|
@@ -1200,4 +1815,4 @@ declare function getPricingPlansSettings(): Promise<NonNullablePaths<PricingPlan
|
|
|
1200
1815
|
*/
|
|
1201
1816
|
declare function updatePricingPlansSettings(pricingPlansSettings: NonNullablePaths<PricingPlansSettings, `revision`, 2>): Promise<NonNullablePaths<PricingPlansSettings, `taxableAddress`, 2>>;
|
|
1202
1817
|
|
|
1203
|
-
export { type ActionEvent, type Asset, type AssignedFromFloatingReason, type BooleanFeature, type CancelRequestedReason, type ContractSwitchedReason, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, 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 GetPricingPlansSettingsRequest, type GetPricingPlansSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, type ManualFeatureCreationReason, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigratedFromLegacyReason, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type NewFeatureReason, type OdeditorAssigned, type OdeditorUnassigned, type PicassoAssigned, type PicassoUnassigned, type PricingPlansSettings, 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, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, TaxableAddress, type TaxableAddressWithLiterals, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, type UnAssingedToFloatingReason, type UpdatePricingPlansSettingsRequest, type UpdatePricingPlansSettingsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, getPricingPlansSettings, updatePricingPlansSettings };
|
|
1818
|
+
export { type ActionEvent, type Asset, type AssignedFromFloatingReason, type BillingReference, type BooleanFeature, type CancelRequestedReason, type CancellationDetails, ContractSwitchReason, type ContractSwitchReasonWithLiterals, ContractSwitchType, type ContractSwitchTypeWithLiterals, type ContractSwitched, type ContractSwitchedReason, type Cycle, type CycleCycleSelectorOneOf, type DeleteContext, DeleteStatus, type DeleteStatusWithLiterals, type DomainEvent, type DomainEventBodyOneOf, type Empty, type EntityCreatedEvent, type EntityDeletedEvent, type EntityUpdatedEvent, type ExtendedFields, 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 GetPricingPlansSettingsRequest, type GetPricingPlansSettingsResponse, type IdentificationData, type IdentificationDataIdOneOf, Initiator, type InitiatorWithLiterals, type Interval, IntervalUnit, type IntervalUnitWithLiterals, type ManualFeatureCreationReason, type MessageEnvelope, type MetaSiteSpecialEvent, type MetaSiteSpecialEventPayloadOneOf, type MigratedFromLegacyReason, Namespace, type NamespaceChanged, type NamespaceWithLiterals, type NewFeatureReason, type OdeditorAssigned, type OdeditorUnassigned, type OneTime, type PicassoAssigned, type PicassoUnassigned, PriceIncreaseTrigger, type PriceIncreaseTriggerWithLiterals, type PricingPlansSettings, ProductAdjustment, type ProductAdjustmentWithLiterals, type ProductPriceIncreaseData, ProviderName, type ProviderNameWithLiterals, type QuotaFeature, type QuotaInfo, type QuotaInfoEntry, type ReactivationData, ReactivationReasonEnum, type ReactivationReasonEnumWithLiterals, type ReassignedFromSiteReason, type ReassignedToAnotherSiteReason, type RecurringChargeAttemptFailed, type RecurringChargeSucceeded, RefundType, type RefundTypeWithLiterals, 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, State, type StateWithLiterals, type StudioAssigned, type StudioTwoAssigned, type StudioTwoUnassigned, type StudioUnassigned, type Subscription, type SubscriptionAssigned, type SubscriptionAutoRenewTurnedOff, type SubscriptionAutoRenewTurnedOn, type SubscriptionCancelled, type SubscriptionCreated, type SubscriptionEvent, type SubscriptionEventEventOneOf, type SubscriptionNearEndOfPeriod, type SubscriptionPendingChange, SubscriptionStatus, type SubscriptionStatusWithLiterals, type SubscriptionTransferred, type SubscriptionUnassigned, TaxableAddress, type TaxableAddressWithLiterals, type TransferredFromAnotherAccountReason, type TransferredToAnotherAccountReason, type UnAssingedToFloatingReason, UnassignReason, type UnassignReasonWithLiterals, type UpdatePricingPlansSettingsRequest, type UpdatePricingPlansSettingsResponse, WebhookIdentityType, type WebhookIdentityTypeWithLiterals, type WixelAssigned, type WixelUnassigned, getPricingPlansSettings, updatePricingPlansSettings };
|