@wix/auto_sdk_pricing-plans_orders 1.0.76 → 1.0.78

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/es/meta.mjs CHANGED
@@ -94,6 +94,10 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
94
94
  {
95
95
  srcPath: "/_api/paid-plans/v2/checkout",
96
96
  destPath: "/v2/checkout"
97
+ },
98
+ {
99
+ srcPath: "/pricing-plans/v2/checkout",
100
+ destPath: "/v2/checkout"
97
101
  }
98
102
  ],
99
103
  "www._base_domain_": [
@@ -770,6 +774,100 @@ function getPricePreview(payload) {
770
774
  return __getPricePreview;
771
775
  }
772
776
 
777
+ // src/pricing-plans-v2-order-orders.types.ts
778
+ var PeriodUnit = /* @__PURE__ */ ((PeriodUnit2) => {
779
+ PeriodUnit2["UNDEFINED"] = "UNDEFINED";
780
+ PeriodUnit2["DAY"] = "DAY";
781
+ PeriodUnit2["WEEK"] = "WEEK";
782
+ PeriodUnit2["MONTH"] = "MONTH";
783
+ PeriodUnit2["YEAR"] = "YEAR";
784
+ return PeriodUnit2;
785
+ })(PeriodUnit || {});
786
+ var OrderType = /* @__PURE__ */ ((OrderType2) => {
787
+ OrderType2["UNDEFINED"] = "UNDEFINED";
788
+ OrderType2["ONLINE"] = "ONLINE";
789
+ OrderType2["OFFLINE"] = "OFFLINE";
790
+ OrderType2["EXTERNAL"] = "EXTERNAL";
791
+ return OrderType2;
792
+ })(OrderType || {});
793
+ var OrderMethod = /* @__PURE__ */ ((OrderMethod2) => {
794
+ OrderMethod2["UNKNOWN"] = "UNKNOWN";
795
+ OrderMethod2["MOTO"] = "MOTO";
796
+ OrderMethod2["POS"] = "POS";
797
+ return OrderMethod2;
798
+ })(OrderMethod || {});
799
+ var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
800
+ OrderStatus2["UNDEFINED"] = "UNDEFINED";
801
+ OrderStatus2["DRAFT"] = "DRAFT";
802
+ OrderStatus2["PENDING"] = "PENDING";
803
+ OrderStatus2["ACTIVE"] = "ACTIVE";
804
+ OrderStatus2["PAUSED"] = "PAUSED";
805
+ OrderStatus2["ENDED"] = "ENDED";
806
+ OrderStatus2["CANCELED"] = "CANCELED";
807
+ return OrderStatus2;
808
+ })(OrderStatus || {});
809
+ var CancellationCause = /* @__PURE__ */ ((CancellationCause2) => {
810
+ CancellationCause2["UNDEFINED"] = "UNDEFINED";
811
+ CancellationCause2["OWNER_ACTION"] = "OWNER_ACTION";
812
+ CancellationCause2["MEMBER_ACTION"] = "MEMBER_ACTION";
813
+ CancellationCause2["PAYMENT_FAILURE"] = "PAYMENT_FAILURE";
814
+ CancellationCause2["PAYMENT_SETUP_FAILURE"] = "PAYMENT_SETUP_FAILURE";
815
+ CancellationCause2["UNKNOWN"] = "UNKNOWN";
816
+ return CancellationCause2;
817
+ })(CancellationCause || {});
818
+ var CancellationEffectiveAt = /* @__PURE__ */ ((CancellationEffectiveAt2) => {
819
+ CancellationEffectiveAt2["UNDEFINED"] = "UNDEFINED";
820
+ CancellationEffectiveAt2["IMMEDIATELY"] = "IMMEDIATELY";
821
+ CancellationEffectiveAt2["NEXT_PAYMENT_DATE"] = "NEXT_PAYMENT_DATE";
822
+ return CancellationEffectiveAt2;
823
+ })(CancellationEffectiveAt || {});
824
+ var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
825
+ PaymentStatus2["UNDEFINED"] = "UNDEFINED";
826
+ PaymentStatus2["PAID"] = "PAID";
827
+ PaymentStatus2["REFUNDED"] = "REFUNDED";
828
+ PaymentStatus2["FAILED"] = "FAILED";
829
+ PaymentStatus2["UNPAID"] = "UNPAID";
830
+ PaymentStatus2["PENDING"] = "PENDING";
831
+ PaymentStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
832
+ return PaymentStatus2;
833
+ })(PaymentStatus || {});
834
+ var Status = /* @__PURE__ */ ((Status2) => {
835
+ Status2["UNDEFINED"] = "UNDEFINED";
836
+ Status2["ACTIVE"] = "ACTIVE";
837
+ Status2["ENDED"] = "ENDED";
838
+ return Status2;
839
+ })(Status || {});
840
+ var Set = /* @__PURE__ */ ((Set2) => {
841
+ Set2["UNKNOWN_SET"] = "UNKNOWN_SET";
842
+ Set2["BASIC"] = "BASIC";
843
+ Set2["FULL"] = "FULL";
844
+ return Set2;
845
+ })(Set || {});
846
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
847
+ SortOrder2["ASC"] = "ASC";
848
+ SortOrder2["DESC"] = "DESC";
849
+ return SortOrder2;
850
+ })(SortOrder || {});
851
+ var ReasonNotSuspendable = /* @__PURE__ */ ((ReasonNotSuspendable2) => {
852
+ ReasonNotSuspendable2["UNDEFINED"] = "UNDEFINED";
853
+ ReasonNotSuspendable2["PENDING"] = "PENDING";
854
+ ReasonNotSuspendable2["TRIAL"] = "TRIAL";
855
+ ReasonNotSuspendable2["CANCELED"] = "CANCELED";
856
+ ReasonNotSuspendable2["ENDED"] = "ENDED";
857
+ ReasonNotSuspendable2["NOT_STARTED"] = "NOT_STARTED";
858
+ ReasonNotSuspendable2["ALREADY_SUSPENDED"] = "ALREADY_SUSPENDED";
859
+ ReasonNotSuspendable2["OLD_STRIPE"] = "OLD_STRIPE";
860
+ return ReasonNotSuspendable2;
861
+ })(ReasonNotSuspendable || {});
862
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
863
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
864
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
865
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
866
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
867
+ WebhookIdentityType2["APP"] = "APP";
868
+ return WebhookIdentityType2;
869
+ })(WebhookIdentityType || {});
870
+
773
871
  // src/pricing-plans-v2-order-orders.meta.ts
774
872
  function managementGetOrder2() {
775
873
  const payload = { id: ":id" };
@@ -1042,6 +1140,18 @@ function getPricePreview2() {
1042
1140
  };
1043
1141
  }
1044
1142
  export {
1143
+ CancellationCause as CancellationCauseOriginal,
1144
+ CancellationEffectiveAt as CancellationEffectiveAtOriginal,
1145
+ OrderMethod as OrderMethodOriginal,
1146
+ OrderStatus as OrderStatusOriginal,
1147
+ OrderType as OrderTypeOriginal,
1148
+ PaymentStatus as PaymentStatusOriginal,
1149
+ PeriodUnit as PeriodUnitOriginal,
1150
+ ReasonNotSuspendable as ReasonNotSuspendableOriginal,
1151
+ Set as SetOriginal,
1152
+ SortOrder as SortOrderOriginal,
1153
+ Status as StatusOriginal,
1154
+ WebhookIdentityType as WebhookIdentityTypeOriginal,
1045
1155
  cancelOrder2 as cancelOrder,
1046
1156
  createOfflineOrder2 as createOfflineOrder,
1047
1157
  createOnlineOrder2 as createOnlineOrder,