@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.
@@ -20,6 +20,18 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
20
20
  // meta.ts
21
21
  var meta_exports = {};
22
22
  __export(meta_exports, {
23
+ CancellationCauseOriginal: () => CancellationCause,
24
+ CancellationEffectiveAtOriginal: () => CancellationEffectiveAt,
25
+ OrderMethodOriginal: () => OrderMethod,
26
+ OrderStatusOriginal: () => OrderStatus,
27
+ OrderTypeOriginal: () => OrderType,
28
+ PaymentStatusOriginal: () => PaymentStatus,
29
+ PeriodUnitOriginal: () => PeriodUnit,
30
+ ReasonNotSuspendableOriginal: () => ReasonNotSuspendable,
31
+ SetOriginal: () => Set,
32
+ SortOrderOriginal: () => SortOrder,
33
+ StatusOriginal: () => Status,
34
+ WebhookIdentityTypeOriginal: () => WebhookIdentityType,
23
35
  cancelOrder: () => cancelOrder2,
24
36
  createOfflineOrder: () => createOfflineOrder2,
25
37
  createOnlineOrder: () => createOnlineOrder2,
@@ -134,6 +146,10 @@ function resolveComWixpressMembershipV2OrdersCheckoutServiceUrl(opts) {
134
146
  {
135
147
  srcPath: "/_api/paid-plans/v2/checkout",
136
148
  destPath: "/v2/checkout"
149
+ },
150
+ {
151
+ srcPath: "/pricing-plans/v2/checkout",
152
+ destPath: "/v2/checkout"
137
153
  }
138
154
  ],
139
155
  "www._base_domain_": [
@@ -810,6 +826,100 @@ function getPricePreview(payload) {
810
826
  return __getPricePreview;
811
827
  }
812
828
 
829
+ // src/pricing-plans-v2-order-orders.types.ts
830
+ var PeriodUnit = /* @__PURE__ */ ((PeriodUnit2) => {
831
+ PeriodUnit2["UNDEFINED"] = "UNDEFINED";
832
+ PeriodUnit2["DAY"] = "DAY";
833
+ PeriodUnit2["WEEK"] = "WEEK";
834
+ PeriodUnit2["MONTH"] = "MONTH";
835
+ PeriodUnit2["YEAR"] = "YEAR";
836
+ return PeriodUnit2;
837
+ })(PeriodUnit || {});
838
+ var OrderType = /* @__PURE__ */ ((OrderType2) => {
839
+ OrderType2["UNDEFINED"] = "UNDEFINED";
840
+ OrderType2["ONLINE"] = "ONLINE";
841
+ OrderType2["OFFLINE"] = "OFFLINE";
842
+ OrderType2["EXTERNAL"] = "EXTERNAL";
843
+ return OrderType2;
844
+ })(OrderType || {});
845
+ var OrderMethod = /* @__PURE__ */ ((OrderMethod2) => {
846
+ OrderMethod2["UNKNOWN"] = "UNKNOWN";
847
+ OrderMethod2["MOTO"] = "MOTO";
848
+ OrderMethod2["POS"] = "POS";
849
+ return OrderMethod2;
850
+ })(OrderMethod || {});
851
+ var OrderStatus = /* @__PURE__ */ ((OrderStatus2) => {
852
+ OrderStatus2["UNDEFINED"] = "UNDEFINED";
853
+ OrderStatus2["DRAFT"] = "DRAFT";
854
+ OrderStatus2["PENDING"] = "PENDING";
855
+ OrderStatus2["ACTIVE"] = "ACTIVE";
856
+ OrderStatus2["PAUSED"] = "PAUSED";
857
+ OrderStatus2["ENDED"] = "ENDED";
858
+ OrderStatus2["CANCELED"] = "CANCELED";
859
+ return OrderStatus2;
860
+ })(OrderStatus || {});
861
+ var CancellationCause = /* @__PURE__ */ ((CancellationCause2) => {
862
+ CancellationCause2["UNDEFINED"] = "UNDEFINED";
863
+ CancellationCause2["OWNER_ACTION"] = "OWNER_ACTION";
864
+ CancellationCause2["MEMBER_ACTION"] = "MEMBER_ACTION";
865
+ CancellationCause2["PAYMENT_FAILURE"] = "PAYMENT_FAILURE";
866
+ CancellationCause2["PAYMENT_SETUP_FAILURE"] = "PAYMENT_SETUP_FAILURE";
867
+ CancellationCause2["UNKNOWN"] = "UNKNOWN";
868
+ return CancellationCause2;
869
+ })(CancellationCause || {});
870
+ var CancellationEffectiveAt = /* @__PURE__ */ ((CancellationEffectiveAt2) => {
871
+ CancellationEffectiveAt2["UNDEFINED"] = "UNDEFINED";
872
+ CancellationEffectiveAt2["IMMEDIATELY"] = "IMMEDIATELY";
873
+ CancellationEffectiveAt2["NEXT_PAYMENT_DATE"] = "NEXT_PAYMENT_DATE";
874
+ return CancellationEffectiveAt2;
875
+ })(CancellationEffectiveAt || {});
876
+ var PaymentStatus = /* @__PURE__ */ ((PaymentStatus2) => {
877
+ PaymentStatus2["UNDEFINED"] = "UNDEFINED";
878
+ PaymentStatus2["PAID"] = "PAID";
879
+ PaymentStatus2["REFUNDED"] = "REFUNDED";
880
+ PaymentStatus2["FAILED"] = "FAILED";
881
+ PaymentStatus2["UNPAID"] = "UNPAID";
882
+ PaymentStatus2["PENDING"] = "PENDING";
883
+ PaymentStatus2["NOT_APPLICABLE"] = "NOT_APPLICABLE";
884
+ return PaymentStatus2;
885
+ })(PaymentStatus || {});
886
+ var Status = /* @__PURE__ */ ((Status2) => {
887
+ Status2["UNDEFINED"] = "UNDEFINED";
888
+ Status2["ACTIVE"] = "ACTIVE";
889
+ Status2["ENDED"] = "ENDED";
890
+ return Status2;
891
+ })(Status || {});
892
+ var Set = /* @__PURE__ */ ((Set2) => {
893
+ Set2["UNKNOWN_SET"] = "UNKNOWN_SET";
894
+ Set2["BASIC"] = "BASIC";
895
+ Set2["FULL"] = "FULL";
896
+ return Set2;
897
+ })(Set || {});
898
+ var SortOrder = /* @__PURE__ */ ((SortOrder2) => {
899
+ SortOrder2["ASC"] = "ASC";
900
+ SortOrder2["DESC"] = "DESC";
901
+ return SortOrder2;
902
+ })(SortOrder || {});
903
+ var ReasonNotSuspendable = /* @__PURE__ */ ((ReasonNotSuspendable2) => {
904
+ ReasonNotSuspendable2["UNDEFINED"] = "UNDEFINED";
905
+ ReasonNotSuspendable2["PENDING"] = "PENDING";
906
+ ReasonNotSuspendable2["TRIAL"] = "TRIAL";
907
+ ReasonNotSuspendable2["CANCELED"] = "CANCELED";
908
+ ReasonNotSuspendable2["ENDED"] = "ENDED";
909
+ ReasonNotSuspendable2["NOT_STARTED"] = "NOT_STARTED";
910
+ ReasonNotSuspendable2["ALREADY_SUSPENDED"] = "ALREADY_SUSPENDED";
911
+ ReasonNotSuspendable2["OLD_STRIPE"] = "OLD_STRIPE";
912
+ return ReasonNotSuspendable2;
913
+ })(ReasonNotSuspendable || {});
914
+ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
915
+ WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
916
+ WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
917
+ WebhookIdentityType2["MEMBER"] = "MEMBER";
918
+ WebhookIdentityType2["WIX_USER"] = "WIX_USER";
919
+ WebhookIdentityType2["APP"] = "APP";
920
+ return WebhookIdentityType2;
921
+ })(WebhookIdentityType || {});
922
+
813
923
  // src/pricing-plans-v2-order-orders.meta.ts
814
924
  function managementGetOrder2() {
815
925
  const payload = { id: ":id" };
@@ -1083,6 +1193,18 @@ function getPricePreview2() {
1083
1193
  }
1084
1194
  // Annotate the CommonJS export names for ESM import in node:
1085
1195
  0 && (module.exports = {
1196
+ CancellationCauseOriginal,
1197
+ CancellationEffectiveAtOriginal,
1198
+ OrderMethodOriginal,
1199
+ OrderStatusOriginal,
1200
+ OrderTypeOriginal,
1201
+ PaymentStatusOriginal,
1202
+ PeriodUnitOriginal,
1203
+ ReasonNotSuspendableOriginal,
1204
+ SetOriginal,
1205
+ SortOrderOriginal,
1206
+ StatusOriginal,
1207
+ WebhookIdentityTypeOriginal,
1086
1208
  cancelOrder,
1087
1209
  createOfflineOrder,
1088
1210
  createOnlineOrder,