@wix/auto_sdk_subscription_subscriptions 1.0.41 → 1.0.42

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 +767 -91
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +469 -51
  5. package/build/cjs/index.typings.js +620 -0
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +445 -51
  8. package/build/cjs/meta.js +478 -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 +760 -91
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +469 -51
  14. package/build/es/index.typings.mjs +613 -0
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +445 -51
  17. package/build/es/meta.mjs +471 -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 +767 -91
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +545 -51
  23. package/build/internal/cjs/index.typings.js +620 -0
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +445 -51
  26. package/build/internal/cjs/meta.js +478 -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 +760 -91
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +545 -51
  32. package/build/internal/es/index.typings.mjs +613 -0
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +445 -51
  35. package/build/internal/es/meta.mjs +471 -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";
@@ -3599,6 +3955,114 @@ function customerInitiatePaymentMethodSetup2() {
3599
3955
  __originalResponseType: null
3600
3956
  };
3601
3957
  }
3958
+ function customerSkipCycle2() {
3959
+ const payload = { id: ":id" };
3960
+ const getRequestOptions = customerSkipCycle(payload);
3961
+ const getUrl = (context) => {
3962
+ const { url } = getRequestOptions(context);
3963
+ return url;
3964
+ };
3965
+ return {
3966
+ getUrl,
3967
+ httpMethod: "POST",
3968
+ path: "/v1/customer_subscriptions/{id}/skip_cycle",
3969
+ pathParams: { id: "id" },
3970
+ __requestType: null,
3971
+ __originalRequestType: null,
3972
+ __responseType: null,
3973
+ __originalResponseType: null
3974
+ };
3975
+ }
3976
+ function customerCancelScheduledSkip2() {
3977
+ const payload = { id: ":id" };
3978
+ const getRequestOptions = customerCancelScheduledSkip(payload);
3979
+ const getUrl = (context) => {
3980
+ const { url } = getRequestOptions(context);
3981
+ return url;
3982
+ };
3983
+ return {
3984
+ getUrl,
3985
+ httpMethod: "POST",
3986
+ path: "/v1/customer_subscriptions/{id}/cancel_scheduled_skip",
3987
+ pathParams: { id: "id" },
3988
+ __requestType: null,
3989
+ __originalRequestType: null,
3990
+ __responseType: null,
3991
+ __originalResponseType: null
3992
+ };
3993
+ }
3994
+ function customerPauseSubscription2() {
3995
+ const payload = { id: ":id" };
3996
+ const getRequestOptions = customerPauseSubscription(payload);
3997
+ const getUrl = (context) => {
3998
+ const { url } = getRequestOptions(context);
3999
+ return url;
4000
+ };
4001
+ return {
4002
+ getUrl,
4003
+ httpMethod: "POST",
4004
+ path: "/v1/customer_subscriptions/{id}/pause",
4005
+ pathParams: { id: "id" },
4006
+ __requestType: null,
4007
+ __originalRequestType: null,
4008
+ __responseType: null,
4009
+ __originalResponseType: null
4010
+ };
4011
+ }
4012
+ function customerResumeSubscription2() {
4013
+ const payload = { id: ":id" };
4014
+ const getRequestOptions = customerResumeSubscription(payload);
4015
+ const getUrl = (context) => {
4016
+ const { url } = getRequestOptions(context);
4017
+ return url;
4018
+ };
4019
+ return {
4020
+ getUrl,
4021
+ httpMethod: "POST",
4022
+ path: "/v1/customer_subscriptions/{id}/resume",
4023
+ pathParams: { id: "id" },
4024
+ __requestType: null,
4025
+ __originalRequestType: null,
4026
+ __responseType: null,
4027
+ __originalResponseType: null
4028
+ };
4029
+ }
4030
+ function customerCancelScheduledPause2() {
4031
+ const payload = { id: ":id" };
4032
+ const getRequestOptions = customerCancelScheduledPause(payload);
4033
+ const getUrl = (context) => {
4034
+ const { url } = getRequestOptions(context);
4035
+ return url;
4036
+ };
4037
+ return {
4038
+ getUrl,
4039
+ httpMethod: "POST",
4040
+ path: "/v1/customer_subscriptions/{id}/cancel_scheduled_pause",
4041
+ pathParams: { id: "id" },
4042
+ __requestType: null,
4043
+ __originalRequestType: null,
4044
+ __responseType: null,
4045
+ __originalResponseType: null
4046
+ };
4047
+ }
4048
+ function customerUpdateBillingDate2() {
4049
+ const payload = { id: ":id" };
4050
+ const getRequestOptions = customerUpdateBillingDate(payload);
4051
+ const getUrl = (context) => {
4052
+ const { url } = getRequestOptions(context);
4053
+ return url;
4054
+ };
4055
+ return {
4056
+ getUrl,
4057
+ httpMethod: "POST",
4058
+ path: "/v1/customer_subscriptions/{id}/update_billing_date",
4059
+ pathParams: { id: "id" },
4060
+ __requestType: null,
4061
+ __originalRequestType: null,
4062
+ __responseType: null,
4063
+ __originalResponseType: null
4064
+ };
4065
+ }
3602
4066
  function payCycle2() {
3603
4067
  const payload = { subscriptionId: ":subscriptionId" };
3604
4068
  const getRequestOptions = payCycle(payload);
@@ -4037,6 +4501,7 @@ export {
4037
4501
  PaymentStatusEnumPaymentStatus as PaymentStatusEnumPaymentStatusOriginal,
4038
4502
  PaymentStatus as PaymentStatusOriginal,
4039
4503
  PaymentTestMode as PaymentTestModeOriginal,
4504
+ PriceAdjustmentReason as PriceAdjustmentReasonOriginal,
4040
4505
  RefundReason as RefundReasonOriginal,
4041
4506
  RequestedFields as RequestedFieldsOriginal,
4042
4507
  ResumeAt as ResumeAtOriginal,
@@ -4055,14 +4520,20 @@ export {
4055
4520
  cancelSubscription2 as cancelSubscription,
4056
4521
  countSubscriptions2 as countSubscriptions,
4057
4522
  customerAllowedActions2 as customerAllowedActions,
4523
+ customerCancelScheduledPause2 as customerCancelScheduledPause,
4524
+ customerCancelScheduledSkip2 as customerCancelScheduledSkip,
4058
4525
  customerCancelSubscription2 as customerCancelSubscription,
4059
4526
  customerExtendSubscription2 as customerExtendSubscription,
4060
4527
  customerGetSubscription2 as customerGetSubscription,
4061
4528
  customerInitiatePaymentMethodSetup2 as customerInitiatePaymentMethodSetup,
4062
4529
  customerListUpcomingCharges2 as customerListUpcomingCharges,
4530
+ customerPauseSubscription2 as customerPauseSubscription,
4063
4531
  customerQuerySubscriptions2 as customerQuerySubscriptions,
4532
+ customerResumeSubscription2 as customerResumeSubscription,
4533
+ customerSkipCycle2 as customerSkipCycle,
4064
4534
  customerTurnOffSubscriptionAutoRenewal2 as customerTurnOffSubscriptionAutoRenewal,
4065
4535
  customerTurnOnSubscriptionAutoRenewal2 as customerTurnOnSubscriptionAutoRenewal,
4536
+ customerUpdateBillingDate2 as customerUpdateBillingDate,
4066
4537
  customerUpdateSubscriptionPaymentMethod2 as customerUpdateSubscriptionPaymentMethod,
4067
4538
  extendSubscription2 as extendSubscription,
4068
4539
  getSubscription2 as getSubscription,