@wix/auto_sdk_pricing-plans_plans 1.0.75 → 1.0.77

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.
@@ -681,19 +681,23 @@ declare enum WebhookIdentityType {
681
681
  }
682
682
  /** @enumType */
683
683
  type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
684
+ /** @docsIgnore */
684
685
  type ListPublicPlansApplicationErrors = {
685
686
  code?: 'PRICING_PLANS_NOT_INSTALLED';
686
687
  description?: string;
687
688
  data?: Record<string, any>;
688
689
  };
690
+ /** @docsIgnore */
689
691
  type QueryPublicPlansApplicationErrors = {
690
692
  code?: 'PRICING_PLANS_NOT_INSTALLED';
691
693
  description?: string;
692
694
  data?: Record<string, any>;
693
695
  };
696
+ /** @docsIgnore */
694
697
  type QueryPublicPlansValidationErrors = {
695
698
  ruleName?: 'PAGING_LIMIT_OUT_OF_RANGE';
696
699
  };
700
+ /** @docsIgnore */
697
701
  type GetPlanApplicationErrors = {
698
702
  code?: 'plan_not_found';
699
703
  description?: string;
@@ -703,26 +707,31 @@ type GetPlanApplicationErrors = {
703
707
  description?: string;
704
708
  data?: Record<string, any>;
705
709
  };
710
+ /** @docsIgnore */
706
711
  type ListPlansApplicationErrors = {
707
712
  code?: 'PRICING_PLANS_NOT_INSTALLED';
708
713
  description?: string;
709
714
  data?: Record<string, any>;
710
715
  };
716
+ /** @docsIgnore */
711
717
  type ListPlansValidationErrors = {
712
718
  ruleName?: 'INVALID_ARCHIVE_FILTER';
713
719
  } | {
714
720
  ruleName?: 'INVALID_VISIBLE_FILTER';
715
721
  };
722
+ /** @docsIgnore */
716
723
  type GetPlanStatsApplicationErrors = {
717
724
  code?: 'PRICING_PLANS_NOT_INSTALLED';
718
725
  description?: string;
719
726
  data?: Record<string, any>;
720
727
  };
728
+ /** @docsIgnore */
721
729
  type CreatePlanApplicationErrors = {
722
730
  code?: 'PRICING_PLANS_NOT_INSTALLED';
723
731
  description?: string;
724
732
  data?: Record<string, any>;
725
733
  };
734
+ /** @docsIgnore */
726
735
  type CreatePlanValidationErrors = {
727
736
  ruleName?: 'PLAN_NAME_BLANK';
728
737
  } | {
@@ -748,6 +757,7 @@ type CreatePlanValidationErrors = {
748
757
  } | {
749
758
  ruleName?: 'client_data_is_invalid';
750
759
  };
760
+ /** @docsIgnore */
751
761
  type UpdatePlanApplicationErrors = {
752
762
  code?: 'plan_not_found';
753
763
  description?: string;
@@ -757,6 +767,7 @@ type UpdatePlanApplicationErrors = {
757
767
  description?: string;
758
768
  data?: Record<string, any>;
759
769
  };
770
+ /** @docsIgnore */
760
771
  type UpdatePlanValidationErrors = {
761
772
  ruleName?: 'MISSING_PLAN_ID';
762
773
  } | {
@@ -792,6 +803,7 @@ type UpdatePlanValidationErrors = {
792
803
  } | {
793
804
  ruleName?: 'client_data_is_invalid';
794
805
  };
806
+ /** @docsIgnore */
795
807
  type SetPlanVisibilityApplicationErrors = {
796
808
  code?: 'PRICING_PLANS_NOT_INSTALLED';
797
809
  description?: string;
@@ -805,6 +817,7 @@ type SetPlanVisibilityApplicationErrors = {
805
817
  description?: string;
806
818
  data?: Record<string, any>;
807
819
  };
820
+ /** @docsIgnore */
808
821
  type MakePlanPrimaryApplicationErrors = {
809
822
  code?: 'PRICING_PLANS_NOT_INSTALLED';
810
823
  description?: string;
@@ -818,11 +831,13 @@ type MakePlanPrimaryApplicationErrors = {
818
831
  description?: string;
819
832
  data?: Record<string, any>;
820
833
  };
834
+ /** @docsIgnore */
821
835
  type ClearPrimaryApplicationErrors = {
822
836
  code?: 'PRICING_PLANS_NOT_INSTALLED';
823
837
  description?: string;
824
838
  data?: Record<string, any>;
825
839
  };
840
+ /** @docsIgnore */
826
841
  type ArchivePlanApplicationErrors = {
827
842
  code?: 'PRICING_PLANS_NOT_INSTALLED';
828
843
  description?: string;
@@ -999,7 +1014,6 @@ declare function onPlanUpdated(handler: (event: PlanUpdatedEnvelope) => void | P
999
1014
  * @param options - Options for filtering and paging the list of public plans.
1000
1015
  * @permissionId PRICING_PLANS.READ_PUBLIC_PLANS
1001
1016
  * @applicableIdentity APP
1002
- * @applicableIdentity VISITOR
1003
1017
  * @fqn com.wixpress.membership.v2.plans.PlansServiceV2.ListPublicPlans
1004
1018
  * @deprecated
1005
1019
  * @replacedBy wix.pricing_plans.plans.v3.PlanService.QueryPlans
@@ -1044,7 +1058,6 @@ interface ListPublicPlansOptions {
1044
1058
  * @public
1045
1059
  * @permissionId PRICING_PLANS.READ_PUBLIC_PLANS
1046
1060
  * @applicableIdentity APP
1047
- * @applicableIdentity VISITOR
1048
1061
  * @fqn com.wixpress.membership.v2.plans.PlansServiceV2.QueryPublicPlans
1049
1062
  * @deprecated
1050
1063
  * @replacedBy wix.pricing_plans.plans.v3.PlanService.QueryPlans