@wix/auto_sdk_subscription_subscriptions 1.0.41 → 1.0.43

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.
Files changed (37) hide show
  1. package/build/cjs/index.d.ts +2 -2
  2. package/build/cjs/index.js +795 -91
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +690 -51
  5. package/build/cjs/index.typings.js +648 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +666 -51
  8. package/build/cjs/meta.js +506 -0
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +2 -2
  11. package/build/es/index.mjs +785 -91
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +690 -51
  14. package/build/es/index.typings.mjs +638 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +666 -51
  17. package/build/es/meta.mjs +496 -0
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +90 -4
  20. package/build/internal/cjs/index.js +795 -91
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +766 -51
  23. package/build/internal/cjs/index.typings.js +648 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +666 -51
  26. package/build/internal/cjs/meta.js +506 -0
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +90 -4
  29. package/build/internal/es/index.mjs +785 -91
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +766 -51
  32. package/build/internal/es/index.typings.mjs +638 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +666 -51
  35. package/build/internal/es/meta.mjs +496 -0
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
package/build/es/meta.mjs CHANGED
@@ -576,6 +576,348 @@ function customerInitiatePaymentMethodSetup(payload) {
576
576
  }
577
577
  return __customerInitiatePaymentMethodSetup;
578
578
  }
579
+ function customerSkipCycle(payload) {
580
+ function __customerSkipCycle({ host }) {
581
+ const serializedData = transformPaths(payload, [
582
+ {
583
+ transformFn: transformSDKTimestampToRESTTimestamp,
584
+ paths: [
585
+ { path: "pauseAtSchedule.specificDate" },
586
+ { path: "autoResumeAtSchedule.specificDate" }
587
+ ]
588
+ }
589
+ ]);
590
+ const metadata = {
591
+ entityFqdn: "wix.billing.v1.subscription",
592
+ method: "POST",
593
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerSkipCycle",
594
+ packageName: PACKAGE_NAME,
595
+ migrationOptions: {
596
+ optInTransformResponse: true
597
+ },
598
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
599
+ {
600
+ protoPath: "/v1/customer_subscriptions/{id}/skip_cycle",
601
+ data: serializedData,
602
+ host
603
+ }
604
+ ),
605
+ data: serializedData,
606
+ transformResponse: (payload2) => transformPaths(payload2, [
607
+ {
608
+ transformFn: transformRESTTimestampToSDKTimestamp,
609
+ paths: [
610
+ { path: "subscription.createdDate" },
611
+ { path: "subscription.updatedDate" },
612
+ { path: "subscription.startDate" },
613
+ { path: "subscription.endDate" },
614
+ { path: "subscription.billingStatus.nextBillingDate" },
615
+ { path: "subscription.billingStatus.previousBillingDate" },
616
+ {
617
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
618
+ },
619
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
620
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
621
+ {
622
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
623
+ },
624
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
625
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
626
+ { path: "subscription.pauseInfo.startDate" },
627
+ { path: "subscription.pauseInfo.resumeDate" },
628
+ { path: "subscription.cancellationInfo.cancellationDate" },
629
+ {
630
+ path: "subscription.specificDatePendingUpdateData.executionDate"
631
+ }
632
+ ]
633
+ }
634
+ ])
635
+ };
636
+ return metadata;
637
+ }
638
+ return __customerSkipCycle;
639
+ }
640
+ function customerCancelScheduledSkip(payload) {
641
+ function __customerCancelScheduledSkip({ host }) {
642
+ const metadata = {
643
+ entityFqdn: "wix.billing.v1.subscription",
644
+ method: "POST",
645
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerCancelScheduledSkip",
646
+ packageName: PACKAGE_NAME,
647
+ migrationOptions: {
648
+ optInTransformResponse: true
649
+ },
650
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
651
+ {
652
+ protoPath: "/v1/customer_subscriptions/{id}/cancel_scheduled_skip",
653
+ data: payload,
654
+ host
655
+ }
656
+ ),
657
+ data: payload,
658
+ transformResponse: (payload2) => transformPaths(payload2, [
659
+ {
660
+ transformFn: transformRESTTimestampToSDKTimestamp,
661
+ paths: [
662
+ { path: "subscription.createdDate" },
663
+ { path: "subscription.updatedDate" },
664
+ { path: "subscription.startDate" },
665
+ { path: "subscription.endDate" },
666
+ { path: "subscription.billingStatus.nextBillingDate" },
667
+ { path: "subscription.billingStatus.previousBillingDate" },
668
+ {
669
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
670
+ },
671
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
672
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
673
+ {
674
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
675
+ },
676
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
677
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
678
+ { path: "subscription.pauseInfo.startDate" },
679
+ { path: "subscription.pauseInfo.resumeDate" },
680
+ { path: "subscription.cancellationInfo.cancellationDate" },
681
+ {
682
+ path: "subscription.specificDatePendingUpdateData.executionDate"
683
+ }
684
+ ]
685
+ }
686
+ ])
687
+ };
688
+ return metadata;
689
+ }
690
+ return __customerCancelScheduledSkip;
691
+ }
692
+ function customerPauseSubscription(payload) {
693
+ function __customerPauseSubscription({ host }) {
694
+ const serializedData = transformPaths(payload, [
695
+ {
696
+ transformFn: transformSDKTimestampToRESTTimestamp,
697
+ paths: [
698
+ { path: "pauseAtSchedule.specificDate" },
699
+ { path: "autoResumeAtSchedule.specificDate" }
700
+ ]
701
+ }
702
+ ]);
703
+ const metadata = {
704
+ entityFqdn: "wix.billing.v1.subscription",
705
+ method: "POST",
706
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerPauseSubscription",
707
+ packageName: PACKAGE_NAME,
708
+ migrationOptions: {
709
+ optInTransformResponse: true
710
+ },
711
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
712
+ {
713
+ protoPath: "/v1/customer_subscriptions/{id}/pause",
714
+ data: serializedData,
715
+ host
716
+ }
717
+ ),
718
+ data: serializedData,
719
+ transformResponse: (payload2) => transformPaths(payload2, [
720
+ {
721
+ transformFn: transformRESTTimestampToSDKTimestamp,
722
+ paths: [
723
+ { path: "subscription.createdDate" },
724
+ { path: "subscription.updatedDate" },
725
+ { path: "subscription.startDate" },
726
+ { path: "subscription.endDate" },
727
+ { path: "subscription.billingStatus.nextBillingDate" },
728
+ { path: "subscription.billingStatus.previousBillingDate" },
729
+ {
730
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
731
+ },
732
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
733
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
734
+ {
735
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
736
+ },
737
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
738
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
739
+ { path: "subscription.pauseInfo.startDate" },
740
+ { path: "subscription.pauseInfo.resumeDate" },
741
+ { path: "subscription.cancellationInfo.cancellationDate" },
742
+ {
743
+ path: "subscription.specificDatePendingUpdateData.executionDate"
744
+ }
745
+ ]
746
+ }
747
+ ])
748
+ };
749
+ return metadata;
750
+ }
751
+ return __customerPauseSubscription;
752
+ }
753
+ function customerResumeSubscription(payload) {
754
+ function __customerResumeSubscription({ host }) {
755
+ const serializedData = transformPaths(payload, [
756
+ {
757
+ transformFn: transformSDKTimestampToRESTTimestamp,
758
+ paths: [{ path: "resumeAtSchedule.specificDate" }]
759
+ }
760
+ ]);
761
+ const metadata = {
762
+ entityFqdn: "wix.billing.v1.subscription",
763
+ method: "POST",
764
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerResumeSubscription",
765
+ packageName: PACKAGE_NAME,
766
+ migrationOptions: {
767
+ optInTransformResponse: true
768
+ },
769
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
770
+ {
771
+ protoPath: "/v1/customer_subscriptions/{id}/resume",
772
+ data: serializedData,
773
+ host
774
+ }
775
+ ),
776
+ data: serializedData,
777
+ transformResponse: (payload2) => transformPaths(payload2, [
778
+ {
779
+ transformFn: transformRESTTimestampToSDKTimestamp,
780
+ paths: [
781
+ { path: "subscription.createdDate" },
782
+ { path: "subscription.updatedDate" },
783
+ { path: "subscription.startDate" },
784
+ { path: "subscription.endDate" },
785
+ { path: "subscription.billingStatus.nextBillingDate" },
786
+ { path: "subscription.billingStatus.previousBillingDate" },
787
+ {
788
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
789
+ },
790
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
791
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
792
+ {
793
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
794
+ },
795
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
796
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
797
+ { path: "subscription.pauseInfo.startDate" },
798
+ { path: "subscription.pauseInfo.resumeDate" },
799
+ { path: "subscription.cancellationInfo.cancellationDate" },
800
+ {
801
+ path: "subscription.specificDatePendingUpdateData.executionDate"
802
+ }
803
+ ]
804
+ }
805
+ ])
806
+ };
807
+ return metadata;
808
+ }
809
+ return __customerResumeSubscription;
810
+ }
811
+ function customerCancelScheduledPause(payload) {
812
+ function __customerCancelScheduledPause({ host }) {
813
+ const metadata = {
814
+ entityFqdn: "wix.billing.v1.subscription",
815
+ method: "POST",
816
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerCancelScheduledPause",
817
+ packageName: PACKAGE_NAME,
818
+ migrationOptions: {
819
+ optInTransformResponse: true
820
+ },
821
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
822
+ {
823
+ protoPath: "/v1/customer_subscriptions/{id}/cancel_scheduled_pause",
824
+ data: payload,
825
+ host
826
+ }
827
+ ),
828
+ data: payload,
829
+ transformResponse: (payload2) => transformPaths(payload2, [
830
+ {
831
+ transformFn: transformRESTTimestampToSDKTimestamp,
832
+ paths: [
833
+ { path: "subscription.createdDate" },
834
+ { path: "subscription.updatedDate" },
835
+ { path: "subscription.startDate" },
836
+ { path: "subscription.endDate" },
837
+ { path: "subscription.billingStatus.nextBillingDate" },
838
+ { path: "subscription.billingStatus.previousBillingDate" },
839
+ {
840
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
841
+ },
842
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
843
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
844
+ {
845
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
846
+ },
847
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
848
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
849
+ { path: "subscription.pauseInfo.startDate" },
850
+ { path: "subscription.pauseInfo.resumeDate" },
851
+ { path: "subscription.cancellationInfo.cancellationDate" },
852
+ {
853
+ path: "subscription.specificDatePendingUpdateData.executionDate"
854
+ }
855
+ ]
856
+ }
857
+ ])
858
+ };
859
+ return metadata;
860
+ }
861
+ return __customerCancelScheduledPause;
862
+ }
863
+ function customerUpdateBillingDate(payload) {
864
+ function __customerUpdateBillingDate({ host }) {
865
+ const serializedData = transformPaths(payload, [
866
+ {
867
+ transformFn: transformSDKTimestampToRESTTimestamp,
868
+ paths: [{ path: "billingDate" }]
869
+ }
870
+ ]);
871
+ const metadata = {
872
+ entityFqdn: "wix.billing.v1.subscription",
873
+ method: "POST",
874
+ methodFqn: "com.wixpress.billing.subscriptions.api.v1.CustomerSubscriptionsService.CustomerUpdateBillingDate",
875
+ packageName: PACKAGE_NAME,
876
+ migrationOptions: {
877
+ optInTransformResponse: true
878
+ },
879
+ url: resolveComWixpressBillingSubscriptionsApiV1CustomerSubscriptionsServiceUrl(
880
+ {
881
+ protoPath: "/v1/customer_subscriptions/{id}/update_billing_date",
882
+ data: serializedData,
883
+ host
884
+ }
885
+ ),
886
+ data: serializedData,
887
+ transformResponse: (payload2) => transformPaths(payload2, [
888
+ {
889
+ transformFn: transformRESTTimestampToSDKTimestamp,
890
+ paths: [
891
+ { path: "subscription.createdDate" },
892
+ { path: "subscription.updatedDate" },
893
+ { path: "subscription.startDate" },
894
+ { path: "subscription.endDate" },
895
+ { path: "subscription.billingStatus.nextBillingDate" },
896
+ { path: "subscription.billingStatus.previousBillingDate" },
897
+ {
898
+ path: "subscription.billingStatus.latestPaymentData.initialFailedPaymentDate"
899
+ },
900
+ { path: "subscription.billingStatus.freeTrialData.startDate" },
901
+ { path: "subscription.billingStatus.freeTrialData.endDate" },
902
+ {
903
+ path: "subscription.billingStatus.updateBillingDateData.paidUntil"
904
+ },
905
+ { path: "subscription.billingStatus.gracePeriodData.startDate" },
906
+ { path: "subscription.billingStatus.gracePeriodData.endDate" },
907
+ { path: "subscription.pauseInfo.startDate" },
908
+ { path: "subscription.pauseInfo.resumeDate" },
909
+ { path: "subscription.cancellationInfo.cancellationDate" },
910
+ {
911
+ path: "subscription.specificDatePendingUpdateData.executionDate"
912
+ }
913
+ ]
914
+ }
915
+ ])
916
+ };
917
+ return metadata;
918
+ }
919
+ return __customerUpdateBillingDate;
920
+ }
579
921
  function payCycle(payload) {
580
922
  function __payCycle({ host }) {
581
923
  const metadata = {
@@ -3240,6 +3582,8 @@ var ActionType = /* @__PURE__ */ ((ActionType2) => {
3240
3582
  ActionType2["UPM"] = "UPM";
3241
3583
  ActionType2["UPDATE_BILLING_DATE"] = "UPDATE_BILLING_DATE";
3242
3584
  ActionType2["UPDATE_COLLECTION_METHOD"] = "UPDATE_COLLECTION_METHOD";
3585
+ ActionType2["SKIP_CYCLE"] = "SKIP_CYCLE";
3586
+ ActionType2["CUSTOMER_UPDATE_BILLING_DATE"] = "CUSTOMER_UPDATE_BILLING_DATE";
3243
3587
  return ActionType2;
3244
3588
  })(ActionType || {});
3245
3589
  var ExtendPolicyType = /* @__PURE__ */ ((ExtendPolicyType2) => {
@@ -3307,6 +3651,7 @@ var InvoiceStatus = /* @__PURE__ */ ((InvoiceStatus2) => {
3307
3651
  InvoiceStatus2["ATTEMPT_FAILED"] = "ATTEMPT_FAILED";
3308
3652
  InvoiceStatus2["CANCELED"] = "CANCELED";
3309
3653
  InvoiceStatus2["REFUNDED"] = "REFUNDED";
3654
+ InvoiceStatus2["CHARGEBACKED"] = "CHARGEBACKED";
3310
3655
  return InvoiceStatus2;
3311
3656
  })(InvoiceStatus || {});
3312
3657
  var CollectionMethod = /* @__PURE__ */ ((CollectionMethod2) => {
@@ -3331,8 +3676,19 @@ var PaymentAttemptStatus = /* @__PURE__ */ ((PaymentAttemptStatus2) => {
3331
3676
  PaymentAttemptStatus2["TECHNICAL_FAILURE"] = "TECHNICAL_FAILURE";
3332
3677
  PaymentAttemptStatus2["CANCELED"] = "CANCELED";
3333
3678
  PaymentAttemptStatus2["PENDING"] = "PENDING";
3679
+ PaymentAttemptStatus2["REFUNDED"] = "REFUNDED";
3680
+ PaymentAttemptStatus2["CHARGEBACKED"] = "CHARGEBACKED";
3334
3681
  return PaymentAttemptStatus2;
3335
3682
  })(PaymentAttemptStatus || {});
3683
+ var PriceAdjustmentReason = /* @__PURE__ */ ((PriceAdjustmentReason2) => {
3684
+ PriceAdjustmentReason2["PRICE_ADJUSTMENT_REASON_UNSPECIFIED"] = "PRICE_ADJUSTMENT_REASON_UNSPECIFIED";
3685
+ PriceAdjustmentReason2["BILLING_DATE_CHANGE"] = "BILLING_DATE_CHANGE";
3686
+ PriceAdjustmentReason2["PLAN_CHANGE_PRORATION"] = "PLAN_CHANGE_PRORATION";
3687
+ PriceAdjustmentReason2["CYCLE_CHANGE_PRORATION"] = "CYCLE_CHANGE_PRORATION";
3688
+ PriceAdjustmentReason2["QUANTITY_CHANGE_PRORATION"] = "QUANTITY_CHANGE_PRORATION";
3689
+ PriceAdjustmentReason2["CUSTOM_PRICE_ADJUSTMENT"] = "CUSTOM_PRICE_ADJUSTMENT";
3690
+ return PriceAdjustmentReason2;
3691
+ })(PriceAdjustmentReason || {});
3336
3692
  var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
3337
3693
  RefundReason2["UNKNOWN_REFUND_REASON"] = "UNKNOWN_REFUND_REASON";
3338
3694
  RefundReason2["DUPLICATE_CHARGE"] = "DUPLICATE_CHARGE";
@@ -3342,6 +3698,28 @@ var RefundReason = /* @__PURE__ */ ((RefundReason2) => {
3342
3698
  RefundReason2["OTHER"] = "OTHER";
3343
3699
  return RefundReason2;
3344
3700
  })(RefundReason || {});
3701
+ var ChangeEffectiveTime = /* @__PURE__ */ ((ChangeEffectiveTime2) => {
3702
+ ChangeEffectiveTime2["UNKNOWN"] = "UNKNOWN";
3703
+ ChangeEffectiveTime2["IMMEDIATELY"] = "IMMEDIATELY";
3704
+ ChangeEffectiveTime2["AT_NEXT_RENEWAL"] = "AT_NEXT_RENEWAL";
3705
+ return ChangeEffectiveTime2;
3706
+ })(ChangeEffectiveTime || {});
3707
+ var ProrationBehavior = /* @__PURE__ */ ((ProrationBehavior2) => {
3708
+ ProrationBehavior2["UNKNOWN"] = "UNKNOWN";
3709
+ ProrationBehavior2["PRORATE_AND_CHARGE"] = "PRORATE_AND_CHARGE";
3710
+ ProrationBehavior2["PRORATE_AND_REFUND"] = "PRORATE_AND_REFUND";
3711
+ ProrationBehavior2["PRORATE_AND_EXTEND"] = "PRORATE_AND_EXTEND";
3712
+ ProrationBehavior2["NO_PRORATION"] = "NO_PRORATION";
3713
+ return ProrationBehavior2;
3714
+ })(ProrationBehavior || {});
3715
+ var ProrationAction = /* @__PURE__ */ ((ProrationAction2) => {
3716
+ ProrationAction2["UNKNOWN"] = "UNKNOWN";
3717
+ ProrationAction2["CHARGE"] = "CHARGE";
3718
+ ProrationAction2["REFUND"] = "REFUND";
3719
+ ProrationAction2["EXTEND_PERIOD"] = "EXTEND_PERIOD";
3720
+ ProrationAction2["NO_CHANGE"] = "NO_CHANGE";
3721
+ return ProrationAction2;
3722
+ })(ProrationAction || {});
3345
3723
  var IdentityType = /* @__PURE__ */ ((IdentityType2) => {
3346
3724
  IdentityType2["UNDEFINED"] = "UNDEFINED";
3347
3725
  IdentityType2["MEMBER"] = "MEMBER";
@@ -3599,6 +3977,114 @@ function customerInitiatePaymentMethodSetup2() {
3599
3977
  __originalResponseType: null
3600
3978
  };
3601
3979
  }
3980
+ function customerSkipCycle2() {
3981
+ const payload = { id: ":id" };
3982
+ const getRequestOptions = customerSkipCycle(payload);
3983
+ const getUrl = (context) => {
3984
+ const { url } = getRequestOptions(context);
3985
+ return url;
3986
+ };
3987
+ return {
3988
+ getUrl,
3989
+ httpMethod: "POST",
3990
+ path: "/v1/customer_subscriptions/{id}/skip_cycle",
3991
+ pathParams: { id: "id" },
3992
+ __requestType: null,
3993
+ __originalRequestType: null,
3994
+ __responseType: null,
3995
+ __originalResponseType: null
3996
+ };
3997
+ }
3998
+ function customerCancelScheduledSkip2() {
3999
+ const payload = { id: ":id" };
4000
+ const getRequestOptions = customerCancelScheduledSkip(payload);
4001
+ const getUrl = (context) => {
4002
+ const { url } = getRequestOptions(context);
4003
+ return url;
4004
+ };
4005
+ return {
4006
+ getUrl,
4007
+ httpMethod: "POST",
4008
+ path: "/v1/customer_subscriptions/{id}/cancel_scheduled_skip",
4009
+ pathParams: { id: "id" },
4010
+ __requestType: null,
4011
+ __originalRequestType: null,
4012
+ __responseType: null,
4013
+ __originalResponseType: null
4014
+ };
4015
+ }
4016
+ function customerPauseSubscription2() {
4017
+ const payload = { id: ":id" };
4018
+ const getRequestOptions = customerPauseSubscription(payload);
4019
+ const getUrl = (context) => {
4020
+ const { url } = getRequestOptions(context);
4021
+ return url;
4022
+ };
4023
+ return {
4024
+ getUrl,
4025
+ httpMethod: "POST",
4026
+ path: "/v1/customer_subscriptions/{id}/pause",
4027
+ pathParams: { id: "id" },
4028
+ __requestType: null,
4029
+ __originalRequestType: null,
4030
+ __responseType: null,
4031
+ __originalResponseType: null
4032
+ };
4033
+ }
4034
+ function customerResumeSubscription2() {
4035
+ const payload = { id: ":id" };
4036
+ const getRequestOptions = customerResumeSubscription(payload);
4037
+ const getUrl = (context) => {
4038
+ const { url } = getRequestOptions(context);
4039
+ return url;
4040
+ };
4041
+ return {
4042
+ getUrl,
4043
+ httpMethod: "POST",
4044
+ path: "/v1/customer_subscriptions/{id}/resume",
4045
+ pathParams: { id: "id" },
4046
+ __requestType: null,
4047
+ __originalRequestType: null,
4048
+ __responseType: null,
4049
+ __originalResponseType: null
4050
+ };
4051
+ }
4052
+ function customerCancelScheduledPause2() {
4053
+ const payload = { id: ":id" };
4054
+ const getRequestOptions = customerCancelScheduledPause(payload);
4055
+ const getUrl = (context) => {
4056
+ const { url } = getRequestOptions(context);
4057
+ return url;
4058
+ };
4059
+ return {
4060
+ getUrl,
4061
+ httpMethod: "POST",
4062
+ path: "/v1/customer_subscriptions/{id}/cancel_scheduled_pause",
4063
+ pathParams: { id: "id" },
4064
+ __requestType: null,
4065
+ __originalRequestType: null,
4066
+ __responseType: null,
4067
+ __originalResponseType: null
4068
+ };
4069
+ }
4070
+ function customerUpdateBillingDate2() {
4071
+ const payload = { id: ":id" };
4072
+ const getRequestOptions = customerUpdateBillingDate(payload);
4073
+ const getUrl = (context) => {
4074
+ const { url } = getRequestOptions(context);
4075
+ return url;
4076
+ };
4077
+ return {
4078
+ getUrl,
4079
+ httpMethod: "POST",
4080
+ path: "/v1/customer_subscriptions/{id}/update_billing_date",
4081
+ pathParams: { id: "id" },
4082
+ __requestType: null,
4083
+ __originalRequestType: null,
4084
+ __responseType: null,
4085
+ __originalResponseType: null
4086
+ };
4087
+ }
3602
4088
  function payCycle2() {
3603
4089
  const payload = { subscriptionId: ":subscriptionId" };
3604
4090
  const getRequestOptions = payCycle(payload);
@@ -4018,6 +4504,7 @@ export {
4018
4504
  ActionType as ActionTypeOriginal,
4019
4505
  AdditionalFeeTrigger as AdditionalFeeTriggerOriginal,
4020
4506
  CancellationInitiator as CancellationInitiatorOriginal,
4507
+ ChangeEffectiveTime as ChangeEffectiveTimeOriginal,
4021
4508
  CollectionMethodEnumCollectionMethod as CollectionMethodEnumCollectionMethodOriginal,
4022
4509
  CollectionMethod as CollectionMethodOriginal,
4023
4510
  CreationMode as CreationModeOriginal,
@@ -4037,6 +4524,9 @@ export {
4037
4524
  PaymentStatusEnumPaymentStatus as PaymentStatusEnumPaymentStatusOriginal,
4038
4525
  PaymentStatus as PaymentStatusOriginal,
4039
4526
  PaymentTestMode as PaymentTestModeOriginal,
4527
+ PriceAdjustmentReason as PriceAdjustmentReasonOriginal,
4528
+ ProrationAction as ProrationActionOriginal,
4529
+ ProrationBehavior as ProrationBehaviorOriginal,
4040
4530
  RefundReason as RefundReasonOriginal,
4041
4531
  RequestedFields as RequestedFieldsOriginal,
4042
4532
  ResumeAt as ResumeAtOriginal,
@@ -4055,14 +4545,20 @@ export {
4055
4545
  cancelSubscription2 as cancelSubscription,
4056
4546
  countSubscriptions2 as countSubscriptions,
4057
4547
  customerAllowedActions2 as customerAllowedActions,
4548
+ customerCancelScheduledPause2 as customerCancelScheduledPause,
4549
+ customerCancelScheduledSkip2 as customerCancelScheduledSkip,
4058
4550
  customerCancelSubscription2 as customerCancelSubscription,
4059
4551
  customerExtendSubscription2 as customerExtendSubscription,
4060
4552
  customerGetSubscription2 as customerGetSubscription,
4061
4553
  customerInitiatePaymentMethodSetup2 as customerInitiatePaymentMethodSetup,
4062
4554
  customerListUpcomingCharges2 as customerListUpcomingCharges,
4555
+ customerPauseSubscription2 as customerPauseSubscription,
4063
4556
  customerQuerySubscriptions2 as customerQuerySubscriptions,
4557
+ customerResumeSubscription2 as customerResumeSubscription,
4558
+ customerSkipCycle2 as customerSkipCycle,
4064
4559
  customerTurnOffSubscriptionAutoRenewal2 as customerTurnOffSubscriptionAutoRenewal,
4065
4560
  customerTurnOnSubscriptionAutoRenewal2 as customerTurnOnSubscriptionAutoRenewal,
4561
+ customerUpdateBillingDate2 as customerUpdateBillingDate,
4066
4562
  customerUpdateSubscriptionPaymentMethod2 as customerUpdateSubscriptionPaymentMethod,
4067
4563
  extendSubscription2 as extendSubscription,
4068
4564
  getSubscription2 as getSubscription,