@deliverart/sdk-js-subscription 2.13.6 → 2.14.0
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/README.md +100 -2
- package/dist/index.cjs +387 -111
- package/dist/index.d.cts +1313 -377
- package/dist/index.d.ts +1313 -377
- package/dist/index.js +353 -112
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
|
|
2
|
-
|
|
3
|
-
export { CreditTransactionType, PaymentMethod, PaymentStatus, RenewalStatus, SubscriptionStatus, SubscriptionType, creditTransactionTypeSchema, creditTransactionTypes, paymentMethodSchema, paymentMethods, paymentStatusSchema, paymentStatuses, renewalStatusSchema, renewalStatuses, subscriptionStatusSchema, subscriptionStatuses, subscriptionTypeSchema, subscriptionTypes } from '@deliverart/sdk-js-global-types';
|
|
2
|
+
export { CreditTransactionType, PaymentStatus, RenewalStatus, SubscriptionStatus, SubscriptionType, creditTransactionTypeSchema, creditTransactionTypes, paymentStatusSchema, paymentStatuses, renewalStatusSchema, renewalStatuses, subscriptionStatusSchema, subscriptionStatuses, subscriptionTypeSchema, subscriptionTypes } from '@deliverart/sdk-js-global-types';
|
|
4
3
|
import { z } from 'zod';
|
|
5
4
|
import { AbstractApiRequest } from '@deliverart/sdk-js-core';
|
|
6
5
|
|
|
@@ -562,8 +561,6 @@ declare const subscriptionPurchaseSchema: z.ZodObject<{
|
|
|
562
561
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
563
562
|
stripe: "stripe";
|
|
564
563
|
bank_transfer: "bank_transfer";
|
|
565
|
-
cash: "cash";
|
|
566
|
-
credit_card: "credit_card";
|
|
567
564
|
}>>;
|
|
568
565
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
569
566
|
pending: "pending";
|
|
@@ -598,8 +595,6 @@ declare const subscriptionPurchaseDetailsSchema: z.ZodObject<{
|
|
|
598
595
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
599
596
|
stripe: "stripe";
|
|
600
597
|
bank_transfer: "bank_transfer";
|
|
601
|
-
cash: "cash";
|
|
602
|
-
credit_card: "credit_card";
|
|
603
598
|
}>>;
|
|
604
599
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
605
600
|
pending: "pending";
|
|
@@ -685,8 +680,6 @@ declare const paySubscriptionRenewalInputSchema: z.ZodObject<{
|
|
|
685
680
|
method: z.ZodEnum<{
|
|
686
681
|
stripe: "stripe";
|
|
687
682
|
bank_transfer: "bank_transfer";
|
|
688
|
-
cash: "cash";
|
|
689
|
-
credit_card: "credit_card";
|
|
690
683
|
}>;
|
|
691
684
|
}, z.core.$strip>;
|
|
692
685
|
type PaySubscriptionRenewalInput = z.infer<typeof paySubscriptionRenewalInputSchema>;
|
|
@@ -723,41 +716,179 @@ declare const subscriptionRenewalPaymentInfoSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
723
716
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
724
717
|
currency: z.ZodString;
|
|
725
718
|
description: z.ZodString;
|
|
726
|
-
}, z.core.$strip
|
|
727
|
-
|
|
719
|
+
}, z.core.$strip>], "method">;
|
|
720
|
+
type SubscriptionRenewalPaymentInfo = z.infer<typeof subscriptionRenewalPaymentInfoSchema>;
|
|
721
|
+
declare const resolveSubscriptionRenewalPaymentInputSchema: z.ZodObject<{
|
|
728
722
|
status: z.ZodEnum<{
|
|
729
|
-
|
|
730
|
-
pending_verification: "pending_verification";
|
|
723
|
+
failed: "failed";
|
|
731
724
|
paid: "paid";
|
|
732
725
|
canceled: "canceled";
|
|
733
|
-
refunded: "refunded";
|
|
734
|
-
failed: "failed";
|
|
735
726
|
}>;
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
727
|
+
response: z.ZodOptional<z.ZodString>;
|
|
728
|
+
}, z.core.$strip>;
|
|
729
|
+
type ResolveSubscriptionRenewalPaymentInput = z.infer<typeof resolveSubscriptionRenewalPaymentInputSchema>;
|
|
730
|
+
declare const manageSubscriptionBillingInputSchema: z.ZodObject<{
|
|
731
|
+
response: z.ZodOptional<z.ZodString>;
|
|
732
|
+
}, z.core.$strip>;
|
|
733
|
+
type ManageSubscriptionBillingInput = z.infer<typeof manageSubscriptionBillingInputSchema>;
|
|
734
|
+
declare const subscriptionPurchaseLifecycleSubscriptionSchema: z.ZodObject<{
|
|
735
|
+
id: z.ZodString;
|
|
736
|
+
status: z.ZodEnum<{
|
|
737
|
+
created: "created";
|
|
738
|
+
active: "active";
|
|
739
|
+
pending_renewal: "pending_renewal";
|
|
740
|
+
expired: "expired";
|
|
741
|
+
suspended: "suspended";
|
|
742
|
+
cancelled: "cancelled";
|
|
743
|
+
}>;
|
|
744
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
745
|
+
infinite: "infinite";
|
|
746
|
+
time_based: "time_based";
|
|
747
|
+
consumption: "consumption";
|
|
748
|
+
}>>>;
|
|
749
|
+
}, z.core.$strip>;
|
|
750
|
+
type SubscriptionPurchaseLifecycleSubscription = z.infer<typeof subscriptionPurchaseLifecycleSubscriptionSchema>;
|
|
751
|
+
declare const subscriptionPurchaseLifecycleResponseSchema: z.ZodObject<{
|
|
739
752
|
id: z.ZodString;
|
|
740
753
|
status: z.ZodEnum<{
|
|
741
754
|
pending: "pending";
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
canceled: "canceled";
|
|
745
|
-
refunded: "refunded";
|
|
755
|
+
completed: "completed";
|
|
756
|
+
cancelled: "cancelled";
|
|
746
757
|
failed: "failed";
|
|
747
758
|
}>;
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
759
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
760
|
+
id: z.ZodString;
|
|
761
|
+
status: z.ZodEnum<{
|
|
762
|
+
pending: "pending";
|
|
763
|
+
pending_verification: "pending_verification";
|
|
764
|
+
paid: "paid";
|
|
765
|
+
canceled: "canceled";
|
|
766
|
+
refunded: "refunded";
|
|
767
|
+
failed: "failed";
|
|
768
|
+
}>;
|
|
769
|
+
amount: z.ZodString;
|
|
770
|
+
method: z.ZodLiteral<"stripe">;
|
|
771
|
+
sessionUrl: z.ZodString;
|
|
772
|
+
expiresAt: z.ZodString;
|
|
773
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
774
|
+
id: z.ZodString;
|
|
775
|
+
status: z.ZodEnum<{
|
|
776
|
+
pending: "pending";
|
|
777
|
+
pending_verification: "pending_verification";
|
|
778
|
+
paid: "paid";
|
|
779
|
+
canceled: "canceled";
|
|
780
|
+
refunded: "refunded";
|
|
781
|
+
failed: "failed";
|
|
782
|
+
}>;
|
|
783
|
+
amount: z.ZodString;
|
|
784
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
785
|
+
iban: z.ZodString;
|
|
786
|
+
bic: z.ZodString;
|
|
787
|
+
accountHolder: z.ZodString;
|
|
788
|
+
bankName: z.ZodString;
|
|
789
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
790
|
+
currency: z.ZodString;
|
|
791
|
+
description: z.ZodString;
|
|
792
|
+
}, z.core.$strip>], "method">>;
|
|
793
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
794
|
+
id: z.ZodString;
|
|
795
|
+
status: z.ZodEnum<{
|
|
796
|
+
created: "created";
|
|
797
|
+
active: "active";
|
|
798
|
+
pending_renewal: "pending_renewal";
|
|
799
|
+
expired: "expired";
|
|
800
|
+
suspended: "suspended";
|
|
801
|
+
cancelled: "cancelled";
|
|
802
|
+
}>;
|
|
803
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
804
|
+
infinite: "infinite";
|
|
805
|
+
time_based: "time_based";
|
|
806
|
+
consumption: "consumption";
|
|
807
|
+
}>>>;
|
|
808
|
+
}, z.core.$strip>>;
|
|
809
|
+
}, z.core.$strip>;
|
|
810
|
+
type SubscriptionPurchaseLifecycleResponse = z.infer<typeof subscriptionPurchaseLifecycleResponseSchema>;
|
|
811
|
+
declare const subscriptionRenewalLifecycleSubscriptionSchema: z.ZodObject<{
|
|
812
|
+
id: z.ZodString;
|
|
813
|
+
status: z.ZodEnum<{
|
|
814
|
+
created: "created";
|
|
815
|
+
active: "active";
|
|
816
|
+
pending_renewal: "pending_renewal";
|
|
817
|
+
expired: "expired";
|
|
818
|
+
suspended: "suspended";
|
|
819
|
+
cancelled: "cancelled";
|
|
820
|
+
}>;
|
|
821
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
822
|
+
infinite: "infinite";
|
|
823
|
+
time_based: "time_based";
|
|
824
|
+
consumption: "consumption";
|
|
825
|
+
}>>>;
|
|
826
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
827
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
828
|
+
}, z.core.$strip>;
|
|
829
|
+
type SubscriptionRenewalLifecycleSubscription = z.infer<typeof subscriptionRenewalLifecycleSubscriptionSchema>;
|
|
830
|
+
declare const subscriptionRenewalLifecycleResponseSchema: z.ZodObject<{
|
|
831
|
+
id: z.ZodString;
|
|
753
832
|
status: z.ZodEnum<{
|
|
833
|
+
pending: "pending";
|
|
754
834
|
failed: "failed";
|
|
755
|
-
|
|
756
|
-
|
|
835
|
+
cancelled: "cancelled";
|
|
836
|
+
completed: "completed";
|
|
757
837
|
}>;
|
|
758
|
-
|
|
838
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
839
|
+
id: z.ZodString;
|
|
840
|
+
status: z.ZodEnum<{
|
|
841
|
+
pending: "pending";
|
|
842
|
+
pending_verification: "pending_verification";
|
|
843
|
+
paid: "paid";
|
|
844
|
+
canceled: "canceled";
|
|
845
|
+
refunded: "refunded";
|
|
846
|
+
failed: "failed";
|
|
847
|
+
}>;
|
|
848
|
+
amount: z.ZodString;
|
|
849
|
+
method: z.ZodLiteral<"stripe">;
|
|
850
|
+
sessionUrl: z.ZodString;
|
|
851
|
+
expiresAt: z.ZodString;
|
|
852
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
853
|
+
id: z.ZodString;
|
|
854
|
+
status: z.ZodEnum<{
|
|
855
|
+
pending: "pending";
|
|
856
|
+
pending_verification: "pending_verification";
|
|
857
|
+
paid: "paid";
|
|
858
|
+
canceled: "canceled";
|
|
859
|
+
refunded: "refunded";
|
|
860
|
+
failed: "failed";
|
|
861
|
+
}>;
|
|
862
|
+
amount: z.ZodString;
|
|
863
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
864
|
+
iban: z.ZodString;
|
|
865
|
+
bic: z.ZodString;
|
|
866
|
+
accountHolder: z.ZodString;
|
|
867
|
+
bankName: z.ZodString;
|
|
868
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
869
|
+
currency: z.ZodString;
|
|
870
|
+
description: z.ZodString;
|
|
871
|
+
}, z.core.$strip>], "method">>;
|
|
872
|
+
subscription: z.ZodObject<{
|
|
873
|
+
id: z.ZodString;
|
|
874
|
+
status: z.ZodEnum<{
|
|
875
|
+
created: "created";
|
|
876
|
+
active: "active";
|
|
877
|
+
pending_renewal: "pending_renewal";
|
|
878
|
+
expired: "expired";
|
|
879
|
+
suspended: "suspended";
|
|
880
|
+
cancelled: "cancelled";
|
|
881
|
+
}>;
|
|
882
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
883
|
+
infinite: "infinite";
|
|
884
|
+
time_based: "time_based";
|
|
885
|
+
consumption: "consumption";
|
|
886
|
+
}>>>;
|
|
887
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
888
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
889
|
+
}, z.core.$strip>;
|
|
759
890
|
}, z.core.$strip>;
|
|
760
|
-
type
|
|
891
|
+
type SubscriptionRenewalLifecycleResponse = z.infer<typeof subscriptionRenewalLifecycleResponseSchema>;
|
|
761
892
|
declare const writableSubscriptionPurchaseSchema: z.ZodObject<{
|
|
762
893
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
763
894
|
plan: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
|
|
@@ -1744,8 +1875,6 @@ declare const getSubscriptionPurchasesResponseSchema: z.ZodObject<{
|
|
|
1744
1875
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
1745
1876
|
stripe: "stripe";
|
|
1746
1877
|
bank_transfer: "bank_transfer";
|
|
1747
|
-
cash: "cash";
|
|
1748
|
-
credit_card: "credit_card";
|
|
1749
1878
|
}>>;
|
|
1750
1879
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
1751
1880
|
pending: "pending";
|
|
@@ -2648,12 +2777,11 @@ declare class UpdateSubscriptionConsumption extends AbstractApiRequest<typeof up
|
|
|
2648
2777
|
getPath(): string;
|
|
2649
2778
|
}
|
|
2650
2779
|
|
|
2651
|
-
declare const
|
|
2652
|
-
|
|
2653
|
-
credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2780
|
+
declare const cancelSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
|
|
2781
|
+
response: z.ZodOptional<z.ZodString>;
|
|
2654
2782
|
}, z.core.$strip>;
|
|
2655
|
-
type
|
|
2656
|
-
declare const
|
|
2783
|
+
type CancelSubscriptionConsumptionRenewalInput = z.input<typeof cancelSubscriptionConsumptionRenewalInputSchema>;
|
|
2784
|
+
declare const cancelSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
2657
2785
|
id: z.ZodString;
|
|
2658
2786
|
status: z.ZodEnum<{
|
|
2659
2787
|
pending: "pending";
|
|
@@ -2661,22 +2789,66 @@ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
2661
2789
|
cancelled: "cancelled";
|
|
2662
2790
|
completed: "completed";
|
|
2663
2791
|
}>;
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2792
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2793
|
+
id: z.ZodString;
|
|
2794
|
+
status: z.ZodEnum<{
|
|
2795
|
+
pending: "pending";
|
|
2796
|
+
pending_verification: "pending_verification";
|
|
2797
|
+
paid: "paid";
|
|
2798
|
+
canceled: "canceled";
|
|
2799
|
+
refunded: "refunded";
|
|
2800
|
+
failed: "failed";
|
|
2801
|
+
}>;
|
|
2802
|
+
amount: z.ZodString;
|
|
2803
|
+
method: z.ZodLiteral<"stripe">;
|
|
2804
|
+
sessionUrl: z.ZodString;
|
|
2805
|
+
expiresAt: z.ZodString;
|
|
2806
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2807
|
+
id: z.ZodString;
|
|
2808
|
+
status: z.ZodEnum<{
|
|
2809
|
+
pending: "pending";
|
|
2810
|
+
pending_verification: "pending_verification";
|
|
2811
|
+
paid: "paid";
|
|
2812
|
+
canceled: "canceled";
|
|
2813
|
+
refunded: "refunded";
|
|
2814
|
+
failed: "failed";
|
|
2815
|
+
}>;
|
|
2816
|
+
amount: z.ZodString;
|
|
2817
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
2818
|
+
iban: z.ZodString;
|
|
2819
|
+
bic: z.ZodString;
|
|
2820
|
+
accountHolder: z.ZodString;
|
|
2821
|
+
bankName: z.ZodString;
|
|
2822
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
2823
|
+
currency: z.ZodString;
|
|
2824
|
+
description: z.ZodString;
|
|
2825
|
+
}, z.core.$strip>], "method">>;
|
|
2826
|
+
subscription: z.ZodObject<{
|
|
2827
|
+
id: z.ZodString;
|
|
2828
|
+
status: z.ZodEnum<{
|
|
2829
|
+
created: "created";
|
|
2830
|
+
active: "active";
|
|
2831
|
+
pending_renewal: "pending_renewal";
|
|
2832
|
+
expired: "expired";
|
|
2833
|
+
suspended: "suspended";
|
|
2834
|
+
cancelled: "cancelled";
|
|
2835
|
+
}>;
|
|
2836
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2837
|
+
infinite: "infinite";
|
|
2838
|
+
time_based: "time_based";
|
|
2839
|
+
consumption: "consumption";
|
|
2840
|
+
}>>>;
|
|
2841
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2842
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
2843
|
+
}, z.core.$strip>;
|
|
2671
2844
|
}, z.core.$strip>;
|
|
2672
|
-
type
|
|
2673
|
-
declare class
|
|
2674
|
-
readonly method
|
|
2675
|
-
readonly contentType
|
|
2676
|
-
readonly accept
|
|
2845
|
+
type CancelSubscriptionConsumptionRenewalResponse = z.infer<typeof cancelSubscriptionConsumptionRenewalResponseSchema>;
|
|
2846
|
+
declare class CancelSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof cancelSubscriptionConsumptionRenewalInputSchema, typeof cancelSubscriptionConsumptionRenewalResponseSchema> {
|
|
2847
|
+
readonly method: "POST";
|
|
2848
|
+
readonly contentType: "application/json";
|
|
2849
|
+
readonly accept: "application/json";
|
|
2677
2850
|
readonly inputSchema: z.ZodObject<{
|
|
2678
|
-
|
|
2679
|
-
credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2851
|
+
response: z.ZodOptional<z.ZodString>;
|
|
2680
2852
|
}, z.core.$strip>;
|
|
2681
2853
|
readonly outputSchema: z.ZodObject<{
|
|
2682
2854
|
id: z.ZodString;
|
|
@@ -2686,37 +2858,135 @@ declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
|
|
|
2686
2858
|
cancelled: "cancelled";
|
|
2687
2859
|
completed: "completed";
|
|
2688
2860
|
}>;
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
|
|
2707
|
-
|
|
2708
|
-
|
|
2709
|
-
|
|
2710
|
-
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2861
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2862
|
+
id: z.ZodString;
|
|
2863
|
+
status: z.ZodEnum<{
|
|
2864
|
+
pending: "pending";
|
|
2865
|
+
pending_verification: "pending_verification";
|
|
2866
|
+
paid: "paid";
|
|
2867
|
+
canceled: "canceled";
|
|
2868
|
+
refunded: "refunded";
|
|
2869
|
+
failed: "failed";
|
|
2870
|
+
}>;
|
|
2871
|
+
amount: z.ZodString;
|
|
2872
|
+
method: z.ZodLiteral<"stripe">;
|
|
2873
|
+
sessionUrl: z.ZodString;
|
|
2874
|
+
expiresAt: z.ZodString;
|
|
2875
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2876
|
+
id: z.ZodString;
|
|
2877
|
+
status: z.ZodEnum<{
|
|
2878
|
+
pending: "pending";
|
|
2879
|
+
pending_verification: "pending_verification";
|
|
2880
|
+
paid: "paid";
|
|
2881
|
+
canceled: "canceled";
|
|
2882
|
+
refunded: "refunded";
|
|
2883
|
+
failed: "failed";
|
|
2884
|
+
}>;
|
|
2885
|
+
amount: z.ZodString;
|
|
2886
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
2887
|
+
iban: z.ZodString;
|
|
2888
|
+
bic: z.ZodString;
|
|
2889
|
+
accountHolder: z.ZodString;
|
|
2890
|
+
bankName: z.ZodString;
|
|
2891
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
2892
|
+
currency: z.ZodString;
|
|
2893
|
+
description: z.ZodString;
|
|
2894
|
+
}, z.core.$strip>], "method">>;
|
|
2895
|
+
subscription: z.ZodObject<{
|
|
2896
|
+
id: z.ZodString;
|
|
2897
|
+
status: z.ZodEnum<{
|
|
2898
|
+
created: "created";
|
|
2899
|
+
active: "active";
|
|
2900
|
+
pending_renewal: "pending_renewal";
|
|
2901
|
+
expired: "expired";
|
|
2902
|
+
suspended: "suspended";
|
|
2903
|
+
cancelled: "cancelled";
|
|
2904
|
+
}>;
|
|
2905
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2906
|
+
infinite: "infinite";
|
|
2907
|
+
time_based: "time_based";
|
|
2908
|
+
consumption: "consumption";
|
|
2909
|
+
}>>>;
|
|
2910
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
2911
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
2912
|
+
}, z.core.$strip>;
|
|
2913
|
+
}, z.core.$strip>;
|
|
2914
|
+
readonly querySchema: undefined;
|
|
2915
|
+
readonly headersSchema: undefined;
|
|
2916
|
+
private readonly renewalId;
|
|
2917
|
+
constructor(renewalId: string, input?: CancelSubscriptionConsumptionRenewalInput);
|
|
2918
|
+
getPath(): string;
|
|
2919
|
+
}
|
|
2920
|
+
|
|
2921
|
+
declare const createSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
|
|
2922
|
+
subscription: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>>;
|
|
2923
|
+
credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2924
|
+
}, z.core.$strip>;
|
|
2925
|
+
type CreateSubscriptionConsumptionRenewalInput = z.input<typeof createSubscriptionConsumptionRenewalInputSchema>;
|
|
2926
|
+
declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
2927
|
+
id: z.ZodString;
|
|
2928
|
+
status: z.ZodEnum<{
|
|
2929
|
+
pending: "pending";
|
|
2930
|
+
failed: "failed";
|
|
2931
|
+
cancelled: "cancelled";
|
|
2932
|
+
completed: "completed";
|
|
2933
|
+
}>;
|
|
2934
|
+
price: z.ZodString;
|
|
2935
|
+
createdAt: z.ZodString;
|
|
2936
|
+
updatedAt: z.ZodString;
|
|
2937
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2938
|
+
credits: z.ZodCoercedNumber<unknown>;
|
|
2939
|
+
pricePerCredit: z.ZodCoercedNumber<unknown>;
|
|
2940
|
+
subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>;
|
|
2941
|
+
}, z.core.$strip>;
|
|
2942
|
+
type CreateSubscriptionConsumptionRenewalResponse = z.infer<typeof createSubscriptionConsumptionRenewalResponseSchema>;
|
|
2943
|
+
declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof createSubscriptionConsumptionRenewalInputSchema, typeof createSubscriptionConsumptionRenewalResponseSchema> {
|
|
2944
|
+
readonly method = "POST";
|
|
2945
|
+
readonly contentType = "application/json";
|
|
2946
|
+
readonly accept = "application/json";
|
|
2947
|
+
readonly inputSchema: z.ZodObject<{
|
|
2948
|
+
subscription: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>>;
|
|
2949
|
+
credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2950
|
+
}, z.core.$strip>;
|
|
2951
|
+
readonly outputSchema: z.ZodObject<{
|
|
2952
|
+
id: z.ZodString;
|
|
2953
|
+
status: z.ZodEnum<{
|
|
2954
|
+
pending: "pending";
|
|
2955
|
+
failed: "failed";
|
|
2956
|
+
cancelled: "cancelled";
|
|
2957
|
+
completed: "completed";
|
|
2958
|
+
}>;
|
|
2959
|
+
price: z.ZodString;
|
|
2960
|
+
createdAt: z.ZodString;
|
|
2961
|
+
updatedAt: z.ZodString;
|
|
2962
|
+
payment: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id"> | null, unknown>>;
|
|
2963
|
+
credits: z.ZodCoercedNumber<unknown>;
|
|
2964
|
+
pricePerCredit: z.ZodCoercedNumber<unknown>;
|
|
2965
|
+
subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id">, unknown>>;
|
|
2966
|
+
}, z.core.$strip>;
|
|
2967
|
+
readonly querySchema: undefined;
|
|
2968
|
+
readonly headersSchema: undefined;
|
|
2969
|
+
constructor(input: CreateSubscriptionConsumptionRenewalInput);
|
|
2970
|
+
getPath(): string;
|
|
2971
|
+
}
|
|
2972
|
+
|
|
2973
|
+
declare const deleteSubscriptionConsumptionRenewalInputSchema: z.ZodUndefined;
|
|
2974
|
+
declare const deleteSubscriptionConsumptionRenewalResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
2975
|
+
declare class DeleteSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof deleteSubscriptionConsumptionRenewalInputSchema, typeof deleteSubscriptionConsumptionRenewalResponseSchema> {
|
|
2976
|
+
readonly method = "DELETE";
|
|
2977
|
+
readonly contentType = "application/json";
|
|
2978
|
+
readonly accept = "application/json";
|
|
2979
|
+
readonly inputSchema: z.ZodUndefined;
|
|
2980
|
+
readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
|
|
2981
|
+
readonly querySchema: undefined;
|
|
2982
|
+
readonly headersSchema: undefined;
|
|
2983
|
+
private readonly renewalId;
|
|
2984
|
+
constructor(renewalId: string);
|
|
2985
|
+
getPath(): string;
|
|
2986
|
+
}
|
|
2987
|
+
|
|
2988
|
+
declare const getSubscriptionConsumptionRenewalDetailsInputSchema: z.ZodUndefined;
|
|
2989
|
+
type GetSubscriptionConsumptionRenewalDetailsInput = z.input<typeof getSubscriptionConsumptionRenewalDetailsInputSchema>;
|
|
2720
2990
|
declare const getSubscriptionConsumptionRenewalDetailsResponseSchema: z.ZodObject<{
|
|
2721
2991
|
id: z.ZodString;
|
|
2722
2992
|
status: z.ZodEnum<{
|
|
@@ -2959,6 +3229,12 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
|
|
|
2959
3229
|
getPath(): string;
|
|
2960
3230
|
}
|
|
2961
3231
|
|
|
3232
|
+
declare const subscriptionPaymentMethods: readonly ["stripe", "bank_transfer"];
|
|
3233
|
+
declare const subscriptionPaymentMethodSchema: z.ZodEnum<{
|
|
3234
|
+
stripe: "stripe";
|
|
3235
|
+
bank_transfer: "bank_transfer";
|
|
3236
|
+
}>;
|
|
3237
|
+
type SubscriptionPaymentMethod = z.infer<typeof subscriptionPaymentMethodSchema>;
|
|
2962
3238
|
declare const adjustableCreditTransactionTypes: readonly ["gift", "bonus", "refund", "manual_adjustment"];
|
|
2963
3239
|
declare const adjustableCreditTransactionTypeSchema: z.ZodEnum<{
|
|
2964
3240
|
gift: "gift";
|
|
@@ -3040,8 +3316,6 @@ declare const paySubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
|
|
|
3040
3316
|
method: z.ZodEnum<{
|
|
3041
3317
|
stripe: "stripe";
|
|
3042
3318
|
bank_transfer: "bank_transfer";
|
|
3043
|
-
cash: "cash";
|
|
3044
|
-
credit_card: "credit_card";
|
|
3045
3319
|
}>;
|
|
3046
3320
|
}, z.core.$strip>;
|
|
3047
3321
|
type PaySubscriptionConsumptionRenewalInput = z.input<typeof paySubscriptionConsumptionRenewalInputSchema>;
|
|
@@ -3078,30 +3352,6 @@ declare const paySubscriptionConsumptionRenewalResponseSchema: z.ZodDiscriminate
|
|
|
3078
3352
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3079
3353
|
currency: z.ZodString;
|
|
3080
3354
|
description: z.ZodString;
|
|
3081
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3082
|
-
id: z.ZodString;
|
|
3083
|
-
status: z.ZodEnum<{
|
|
3084
|
-
pending: "pending";
|
|
3085
|
-
pending_verification: "pending_verification";
|
|
3086
|
-
paid: "paid";
|
|
3087
|
-
canceled: "canceled";
|
|
3088
|
-
refunded: "refunded";
|
|
3089
|
-
failed: "failed";
|
|
3090
|
-
}>;
|
|
3091
|
-
amount: z.ZodString;
|
|
3092
|
-
method: z.ZodLiteral<"cash">;
|
|
3093
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3094
|
-
id: z.ZodString;
|
|
3095
|
-
status: z.ZodEnum<{
|
|
3096
|
-
pending: "pending";
|
|
3097
|
-
pending_verification: "pending_verification";
|
|
3098
|
-
paid: "paid";
|
|
3099
|
-
canceled: "canceled";
|
|
3100
|
-
refunded: "refunded";
|
|
3101
|
-
failed: "failed";
|
|
3102
|
-
}>;
|
|
3103
|
-
amount: z.ZodString;
|
|
3104
|
-
method: z.ZodLiteral<"credit_card">;
|
|
3105
3355
|
}, z.core.$strip>], "method">;
|
|
3106
3356
|
type PaySubscriptionConsumptionRenewalResponse = z.infer<typeof paySubscriptionConsumptionRenewalResponseSchema>;
|
|
3107
3357
|
declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeof paySubscriptionConsumptionRenewalInputSchema, typeof paySubscriptionConsumptionRenewalResponseSchema> {
|
|
@@ -3112,8 +3362,6 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
|
|
|
3112
3362
|
method: z.ZodEnum<{
|
|
3113
3363
|
stripe: "stripe";
|
|
3114
3364
|
bank_transfer: "bank_transfer";
|
|
3115
|
-
cash: "cash";
|
|
3116
|
-
credit_card: "credit_card";
|
|
3117
3365
|
}>;
|
|
3118
3366
|
}, z.core.$strip>;
|
|
3119
3367
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -3149,7 +3397,27 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
|
|
|
3149
3397
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3150
3398
|
currency: z.ZodString;
|
|
3151
3399
|
description: z.ZodString;
|
|
3152
|
-
}, z.core.$strip
|
|
3400
|
+
}, z.core.$strip>], "method">;
|
|
3401
|
+
readonly querySchema: undefined;
|
|
3402
|
+
readonly headersSchema: undefined;
|
|
3403
|
+
private readonly renewalId;
|
|
3404
|
+
constructor(renewalId: string, method: SubscriptionPaymentMethod);
|
|
3405
|
+
getPath(): string;
|
|
3406
|
+
}
|
|
3407
|
+
|
|
3408
|
+
declare const refundSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
|
|
3409
|
+
response: z.ZodOptional<z.ZodString>;
|
|
3410
|
+
}, z.core.$strip>;
|
|
3411
|
+
type RefundSubscriptionConsumptionRenewalInput = z.input<typeof refundSubscriptionConsumptionRenewalInputSchema>;
|
|
3412
|
+
declare const refundSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
3413
|
+
id: z.ZodString;
|
|
3414
|
+
status: z.ZodEnum<{
|
|
3415
|
+
pending: "pending";
|
|
3416
|
+
failed: "failed";
|
|
3417
|
+
cancelled: "cancelled";
|
|
3418
|
+
completed: "completed";
|
|
3419
|
+
}>;
|
|
3420
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3153
3421
|
id: z.ZodString;
|
|
3154
3422
|
status: z.ZodEnum<{
|
|
3155
3423
|
pending: "pending";
|
|
@@ -3160,7 +3428,9 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
|
|
|
3160
3428
|
failed: "failed";
|
|
3161
3429
|
}>;
|
|
3162
3430
|
amount: z.ZodString;
|
|
3163
|
-
method: z.ZodLiteral<"
|
|
3431
|
+
method: z.ZodLiteral<"stripe">;
|
|
3432
|
+
sessionUrl: z.ZodString;
|
|
3433
|
+
expiresAt: z.ZodString;
|
|
3164
3434
|
}, z.core.$strip>, z.ZodObject<{
|
|
3165
3435
|
id: z.ZodString;
|
|
3166
3436
|
status: z.ZodEnum<{
|
|
@@ -3172,12 +3442,107 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
|
|
|
3172
3442
|
failed: "failed";
|
|
3173
3443
|
}>;
|
|
3174
3444
|
amount: z.ZodString;
|
|
3175
|
-
method: z.ZodLiteral<"
|
|
3176
|
-
|
|
3445
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
3446
|
+
iban: z.ZodString;
|
|
3447
|
+
bic: z.ZodString;
|
|
3448
|
+
accountHolder: z.ZodString;
|
|
3449
|
+
bankName: z.ZodString;
|
|
3450
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3451
|
+
currency: z.ZodString;
|
|
3452
|
+
description: z.ZodString;
|
|
3453
|
+
}, z.core.$strip>], "method">>;
|
|
3454
|
+
subscription: z.ZodObject<{
|
|
3455
|
+
id: z.ZodString;
|
|
3456
|
+
status: z.ZodEnum<{
|
|
3457
|
+
created: "created";
|
|
3458
|
+
active: "active";
|
|
3459
|
+
pending_renewal: "pending_renewal";
|
|
3460
|
+
expired: "expired";
|
|
3461
|
+
suspended: "suspended";
|
|
3462
|
+
cancelled: "cancelled";
|
|
3463
|
+
}>;
|
|
3464
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3465
|
+
infinite: "infinite";
|
|
3466
|
+
time_based: "time_based";
|
|
3467
|
+
consumption: "consumption";
|
|
3468
|
+
}>>>;
|
|
3469
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3470
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
3471
|
+
}, z.core.$strip>;
|
|
3472
|
+
}, z.core.$strip>;
|
|
3473
|
+
type RefundSubscriptionConsumptionRenewalResponse = z.infer<typeof refundSubscriptionConsumptionRenewalResponseSchema>;
|
|
3474
|
+
declare class RefundSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof refundSubscriptionConsumptionRenewalInputSchema, typeof refundSubscriptionConsumptionRenewalResponseSchema> {
|
|
3475
|
+
readonly method: "POST";
|
|
3476
|
+
readonly contentType: "application/json";
|
|
3477
|
+
readonly accept: "application/json";
|
|
3478
|
+
readonly inputSchema: z.ZodObject<{
|
|
3479
|
+
response: z.ZodOptional<z.ZodString>;
|
|
3480
|
+
}, z.core.$strip>;
|
|
3481
|
+
readonly outputSchema: z.ZodObject<{
|
|
3482
|
+
id: z.ZodString;
|
|
3483
|
+
status: z.ZodEnum<{
|
|
3484
|
+
pending: "pending";
|
|
3485
|
+
failed: "failed";
|
|
3486
|
+
cancelled: "cancelled";
|
|
3487
|
+
completed: "completed";
|
|
3488
|
+
}>;
|
|
3489
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3490
|
+
id: z.ZodString;
|
|
3491
|
+
status: z.ZodEnum<{
|
|
3492
|
+
pending: "pending";
|
|
3493
|
+
pending_verification: "pending_verification";
|
|
3494
|
+
paid: "paid";
|
|
3495
|
+
canceled: "canceled";
|
|
3496
|
+
refunded: "refunded";
|
|
3497
|
+
failed: "failed";
|
|
3498
|
+
}>;
|
|
3499
|
+
amount: z.ZodString;
|
|
3500
|
+
method: z.ZodLiteral<"stripe">;
|
|
3501
|
+
sessionUrl: z.ZodString;
|
|
3502
|
+
expiresAt: z.ZodString;
|
|
3503
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3504
|
+
id: z.ZodString;
|
|
3505
|
+
status: z.ZodEnum<{
|
|
3506
|
+
pending: "pending";
|
|
3507
|
+
pending_verification: "pending_verification";
|
|
3508
|
+
paid: "paid";
|
|
3509
|
+
canceled: "canceled";
|
|
3510
|
+
refunded: "refunded";
|
|
3511
|
+
failed: "failed";
|
|
3512
|
+
}>;
|
|
3513
|
+
amount: z.ZodString;
|
|
3514
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
3515
|
+
iban: z.ZodString;
|
|
3516
|
+
bic: z.ZodString;
|
|
3517
|
+
accountHolder: z.ZodString;
|
|
3518
|
+
bankName: z.ZodString;
|
|
3519
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3520
|
+
currency: z.ZodString;
|
|
3521
|
+
description: z.ZodString;
|
|
3522
|
+
}, z.core.$strip>], "method">>;
|
|
3523
|
+
subscription: z.ZodObject<{
|
|
3524
|
+
id: z.ZodString;
|
|
3525
|
+
status: z.ZodEnum<{
|
|
3526
|
+
created: "created";
|
|
3527
|
+
active: "active";
|
|
3528
|
+
pending_renewal: "pending_renewal";
|
|
3529
|
+
expired: "expired";
|
|
3530
|
+
suspended: "suspended";
|
|
3531
|
+
cancelled: "cancelled";
|
|
3532
|
+
}>;
|
|
3533
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3534
|
+
infinite: "infinite";
|
|
3535
|
+
time_based: "time_based";
|
|
3536
|
+
consumption: "consumption";
|
|
3537
|
+
}>>>;
|
|
3538
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
3539
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
3540
|
+
}, z.core.$strip>;
|
|
3541
|
+
}, z.core.$strip>;
|
|
3177
3542
|
readonly querySchema: undefined;
|
|
3178
3543
|
readonly headersSchema: undefined;
|
|
3179
3544
|
private readonly renewalId;
|
|
3180
|
-
constructor(renewalId: string,
|
|
3545
|
+
constructor(renewalId: string, input?: RefundSubscriptionConsumptionRenewalInput);
|
|
3181
3546
|
getPath(): string;
|
|
3182
3547
|
}
|
|
3183
3548
|
|
|
@@ -3223,30 +3588,6 @@ declare const resolveSubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodD
|
|
|
3223
3588
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3224
3589
|
currency: z.ZodString;
|
|
3225
3590
|
description: z.ZodString;
|
|
3226
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3227
|
-
id: z.ZodString;
|
|
3228
|
-
status: z.ZodEnum<{
|
|
3229
|
-
pending: "pending";
|
|
3230
|
-
pending_verification: "pending_verification";
|
|
3231
|
-
paid: "paid";
|
|
3232
|
-
canceled: "canceled";
|
|
3233
|
-
refunded: "refunded";
|
|
3234
|
-
failed: "failed";
|
|
3235
|
-
}>;
|
|
3236
|
-
amount: z.ZodString;
|
|
3237
|
-
method: z.ZodLiteral<"cash">;
|
|
3238
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3239
|
-
id: z.ZodString;
|
|
3240
|
-
status: z.ZodEnum<{
|
|
3241
|
-
pending: "pending";
|
|
3242
|
-
pending_verification: "pending_verification";
|
|
3243
|
-
paid: "paid";
|
|
3244
|
-
canceled: "canceled";
|
|
3245
|
-
refunded: "refunded";
|
|
3246
|
-
failed: "failed";
|
|
3247
|
-
}>;
|
|
3248
|
-
amount: z.ZodString;
|
|
3249
|
-
method: z.ZodLiteral<"credit_card">;
|
|
3250
3591
|
}, z.core.$strip>], "method">;
|
|
3251
3592
|
type ResolveSubscriptionConsumptionRenewalPaymentResponse = z.infer<typeof resolveSubscriptionConsumptionRenewalPaymentResponseSchema>;
|
|
3252
3593
|
declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionConsumptionRenewalPaymentInputSchema, typeof resolveSubscriptionConsumptionRenewalPaymentResponseSchema> {
|
|
@@ -3294,18 +3635,80 @@ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRe
|
|
|
3294
3635
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3295
3636
|
currency: z.ZodString;
|
|
3296
3637
|
description: z.ZodString;
|
|
3297
|
-
}, z.core.$strip
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3638
|
+
}, z.core.$strip>], "method">;
|
|
3639
|
+
readonly querySchema: undefined;
|
|
3640
|
+
readonly headersSchema: undefined;
|
|
3641
|
+
private readonly renewalId;
|
|
3642
|
+
constructor(renewalId: string, input: ResolveSubscriptionConsumptionRenewalPaymentInput);
|
|
3643
|
+
getPath(): string;
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
declare const retrySubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
|
|
3647
|
+
method: z.ZodEnum<{
|
|
3648
|
+
stripe: "stripe";
|
|
3649
|
+
bank_transfer: "bank_transfer";
|
|
3650
|
+
}>;
|
|
3651
|
+
}, z.core.$strip>;
|
|
3652
|
+
type RetrySubscriptionConsumptionRenewalPaymentInput = z.input<typeof retrySubscriptionConsumptionRenewalPaymentInputSchema>;
|
|
3653
|
+
declare const retrySubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3654
|
+
id: z.ZodString;
|
|
3655
|
+
status: z.ZodEnum<{
|
|
3656
|
+
pending: "pending";
|
|
3657
|
+
pending_verification: "pending_verification";
|
|
3658
|
+
paid: "paid";
|
|
3659
|
+
canceled: "canceled";
|
|
3660
|
+
refunded: "refunded";
|
|
3661
|
+
failed: "failed";
|
|
3662
|
+
}>;
|
|
3663
|
+
amount: z.ZodString;
|
|
3664
|
+
method: z.ZodLiteral<"stripe">;
|
|
3665
|
+
sessionUrl: z.ZodString;
|
|
3666
|
+
expiresAt: z.ZodString;
|
|
3667
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3668
|
+
id: z.ZodString;
|
|
3669
|
+
status: z.ZodEnum<{
|
|
3670
|
+
pending: "pending";
|
|
3671
|
+
pending_verification: "pending_verification";
|
|
3672
|
+
paid: "paid";
|
|
3673
|
+
canceled: "canceled";
|
|
3674
|
+
refunded: "refunded";
|
|
3675
|
+
failed: "failed";
|
|
3676
|
+
}>;
|
|
3677
|
+
amount: z.ZodString;
|
|
3678
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
3679
|
+
iban: z.ZodString;
|
|
3680
|
+
bic: z.ZodString;
|
|
3681
|
+
accountHolder: z.ZodString;
|
|
3682
|
+
bankName: z.ZodString;
|
|
3683
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3684
|
+
currency: z.ZodString;
|
|
3685
|
+
description: z.ZodString;
|
|
3686
|
+
}, z.core.$strip>], "method">;
|
|
3687
|
+
type RetrySubscriptionConsumptionRenewalPaymentResponse = z.infer<typeof retrySubscriptionConsumptionRenewalPaymentResponseSchema>;
|
|
3688
|
+
declare class RetrySubscriptionConsumptionRenewalPayment extends AbstractApiRequest<typeof retrySubscriptionConsumptionRenewalPaymentInputSchema, typeof retrySubscriptionConsumptionRenewalPaymentResponseSchema> {
|
|
3689
|
+
readonly method: "POST";
|
|
3690
|
+
readonly contentType: "application/json";
|
|
3691
|
+
readonly accept: "application/json";
|
|
3692
|
+
readonly inputSchema: z.ZodObject<{
|
|
3693
|
+
method: z.ZodEnum<{
|
|
3694
|
+
stripe: "stripe";
|
|
3695
|
+
bank_transfer: "bank_transfer";
|
|
3696
|
+
}>;
|
|
3697
|
+
}, z.core.$strip>;
|
|
3698
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3699
|
+
id: z.ZodString;
|
|
3700
|
+
status: z.ZodEnum<{
|
|
3701
|
+
pending: "pending";
|
|
3702
|
+
pending_verification: "pending_verification";
|
|
3703
|
+
paid: "paid";
|
|
3303
3704
|
canceled: "canceled";
|
|
3304
3705
|
refunded: "refunded";
|
|
3305
3706
|
failed: "failed";
|
|
3306
3707
|
}>;
|
|
3307
3708
|
amount: z.ZodString;
|
|
3308
|
-
method: z.ZodLiteral<"
|
|
3709
|
+
method: z.ZodLiteral<"stripe">;
|
|
3710
|
+
sessionUrl: z.ZodString;
|
|
3711
|
+
expiresAt: z.ZodString;
|
|
3309
3712
|
}, z.core.$strip>, z.ZodObject<{
|
|
3310
3713
|
id: z.ZodString;
|
|
3311
3714
|
status: z.ZodEnum<{
|
|
@@ -3317,12 +3720,19 @@ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRe
|
|
|
3317
3720
|
failed: "failed";
|
|
3318
3721
|
}>;
|
|
3319
3722
|
amount: z.ZodString;
|
|
3320
|
-
method: z.ZodLiteral<"
|
|
3723
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
3724
|
+
iban: z.ZodString;
|
|
3725
|
+
bic: z.ZodString;
|
|
3726
|
+
accountHolder: z.ZodString;
|
|
3727
|
+
bankName: z.ZodString;
|
|
3728
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3729
|
+
currency: z.ZodString;
|
|
3730
|
+
description: z.ZodString;
|
|
3321
3731
|
}, z.core.$strip>], "method">;
|
|
3322
3732
|
readonly querySchema: undefined;
|
|
3323
3733
|
readonly headersSchema: undefined;
|
|
3324
3734
|
private readonly renewalId;
|
|
3325
|
-
constructor(renewalId: string,
|
|
3735
|
+
constructor(renewalId: string, method: SubscriptionPaymentMethod);
|
|
3326
3736
|
getPath(): string;
|
|
3327
3737
|
}
|
|
3328
3738
|
|
|
@@ -4769,6 +5179,143 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
|
|
|
4769
5179
|
getPath(): string;
|
|
4770
5180
|
}
|
|
4771
5181
|
|
|
5182
|
+
declare const cancelSubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
5183
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5184
|
+
}, z.core.$strip>;
|
|
5185
|
+
type CancelSubscriptionPurchaseInput = z.input<typeof cancelSubscriptionPurchaseInputSchema>;
|
|
5186
|
+
declare const cancelSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
5187
|
+
id: z.ZodString;
|
|
5188
|
+
status: z.ZodEnum<{
|
|
5189
|
+
pending: "pending";
|
|
5190
|
+
completed: "completed";
|
|
5191
|
+
cancelled: "cancelled";
|
|
5192
|
+
failed: "failed";
|
|
5193
|
+
}>;
|
|
5194
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5195
|
+
id: z.ZodString;
|
|
5196
|
+
status: z.ZodEnum<{
|
|
5197
|
+
pending: "pending";
|
|
5198
|
+
pending_verification: "pending_verification";
|
|
5199
|
+
paid: "paid";
|
|
5200
|
+
canceled: "canceled";
|
|
5201
|
+
refunded: "refunded";
|
|
5202
|
+
failed: "failed";
|
|
5203
|
+
}>;
|
|
5204
|
+
amount: z.ZodString;
|
|
5205
|
+
method: z.ZodLiteral<"stripe">;
|
|
5206
|
+
sessionUrl: z.ZodString;
|
|
5207
|
+
expiresAt: z.ZodString;
|
|
5208
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5209
|
+
id: z.ZodString;
|
|
5210
|
+
status: z.ZodEnum<{
|
|
5211
|
+
pending: "pending";
|
|
5212
|
+
pending_verification: "pending_verification";
|
|
5213
|
+
paid: "paid";
|
|
5214
|
+
canceled: "canceled";
|
|
5215
|
+
refunded: "refunded";
|
|
5216
|
+
failed: "failed";
|
|
5217
|
+
}>;
|
|
5218
|
+
amount: z.ZodString;
|
|
5219
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5220
|
+
iban: z.ZodString;
|
|
5221
|
+
bic: z.ZodString;
|
|
5222
|
+
accountHolder: z.ZodString;
|
|
5223
|
+
bankName: z.ZodString;
|
|
5224
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5225
|
+
currency: z.ZodString;
|
|
5226
|
+
description: z.ZodString;
|
|
5227
|
+
}, z.core.$strip>], "method">>;
|
|
5228
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
5229
|
+
id: z.ZodString;
|
|
5230
|
+
status: z.ZodEnum<{
|
|
5231
|
+
created: "created";
|
|
5232
|
+
active: "active";
|
|
5233
|
+
pending_renewal: "pending_renewal";
|
|
5234
|
+
expired: "expired";
|
|
5235
|
+
suspended: "suspended";
|
|
5236
|
+
cancelled: "cancelled";
|
|
5237
|
+
}>;
|
|
5238
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5239
|
+
infinite: "infinite";
|
|
5240
|
+
time_based: "time_based";
|
|
5241
|
+
consumption: "consumption";
|
|
5242
|
+
}>>>;
|
|
5243
|
+
}, z.core.$strip>>;
|
|
5244
|
+
}, z.core.$strip>;
|
|
5245
|
+
type CancelSubscriptionPurchaseResponse = z.infer<typeof cancelSubscriptionPurchaseResponseSchema>;
|
|
5246
|
+
declare class CancelSubscriptionPurchase extends AbstractApiRequest<typeof cancelSubscriptionPurchaseInputSchema, typeof cancelSubscriptionPurchaseResponseSchema> {
|
|
5247
|
+
readonly method: "POST";
|
|
5248
|
+
readonly contentType: "application/json";
|
|
5249
|
+
readonly accept: "application/json";
|
|
5250
|
+
readonly inputSchema: z.ZodObject<{
|
|
5251
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5252
|
+
}, z.core.$strip>;
|
|
5253
|
+
readonly outputSchema: z.ZodObject<{
|
|
5254
|
+
id: z.ZodString;
|
|
5255
|
+
status: z.ZodEnum<{
|
|
5256
|
+
pending: "pending";
|
|
5257
|
+
completed: "completed";
|
|
5258
|
+
cancelled: "cancelled";
|
|
5259
|
+
failed: "failed";
|
|
5260
|
+
}>;
|
|
5261
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5262
|
+
id: z.ZodString;
|
|
5263
|
+
status: z.ZodEnum<{
|
|
5264
|
+
pending: "pending";
|
|
5265
|
+
pending_verification: "pending_verification";
|
|
5266
|
+
paid: "paid";
|
|
5267
|
+
canceled: "canceled";
|
|
5268
|
+
refunded: "refunded";
|
|
5269
|
+
failed: "failed";
|
|
5270
|
+
}>;
|
|
5271
|
+
amount: z.ZodString;
|
|
5272
|
+
method: z.ZodLiteral<"stripe">;
|
|
5273
|
+
sessionUrl: z.ZodString;
|
|
5274
|
+
expiresAt: z.ZodString;
|
|
5275
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5276
|
+
id: z.ZodString;
|
|
5277
|
+
status: z.ZodEnum<{
|
|
5278
|
+
pending: "pending";
|
|
5279
|
+
pending_verification: "pending_verification";
|
|
5280
|
+
paid: "paid";
|
|
5281
|
+
canceled: "canceled";
|
|
5282
|
+
refunded: "refunded";
|
|
5283
|
+
failed: "failed";
|
|
5284
|
+
}>;
|
|
5285
|
+
amount: z.ZodString;
|
|
5286
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5287
|
+
iban: z.ZodString;
|
|
5288
|
+
bic: z.ZodString;
|
|
5289
|
+
accountHolder: z.ZodString;
|
|
5290
|
+
bankName: z.ZodString;
|
|
5291
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5292
|
+
currency: z.ZodString;
|
|
5293
|
+
description: z.ZodString;
|
|
5294
|
+
}, z.core.$strip>], "method">>;
|
|
5295
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
5296
|
+
id: z.ZodString;
|
|
5297
|
+
status: z.ZodEnum<{
|
|
5298
|
+
created: "created";
|
|
5299
|
+
active: "active";
|
|
5300
|
+
pending_renewal: "pending_renewal";
|
|
5301
|
+
expired: "expired";
|
|
5302
|
+
suspended: "suspended";
|
|
5303
|
+
cancelled: "cancelled";
|
|
5304
|
+
}>;
|
|
5305
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5306
|
+
infinite: "infinite";
|
|
5307
|
+
time_based: "time_based";
|
|
5308
|
+
consumption: "consumption";
|
|
5309
|
+
}>>>;
|
|
5310
|
+
}, z.core.$strip>>;
|
|
5311
|
+
}, z.core.$strip>;
|
|
5312
|
+
readonly querySchema: undefined;
|
|
5313
|
+
readonly headersSchema: undefined;
|
|
5314
|
+
private readonly purchaseId;
|
|
5315
|
+
constructor(purchaseId: string, input?: CancelSubscriptionPurchaseInput);
|
|
5316
|
+
getPath(): string;
|
|
5317
|
+
}
|
|
5318
|
+
|
|
4772
5319
|
declare const createSubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
4773
5320
|
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
4774
5321
|
plan: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
|
|
@@ -4797,8 +5344,6 @@ declare const createSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
|
4797
5344
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4798
5345
|
stripe: "stripe";
|
|
4799
5346
|
bank_transfer: "bank_transfer";
|
|
4800
|
-
cash: "cash";
|
|
4801
|
-
credit_card: "credit_card";
|
|
4802
5347
|
}>>;
|
|
4803
5348
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4804
5349
|
pending: "pending";
|
|
@@ -4846,8 +5391,6 @@ declare class CreateSubscriptionPurchase extends AbstractApiRequest<typeof creat
|
|
|
4846
5391
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4847
5392
|
stripe: "stripe";
|
|
4848
5393
|
bank_transfer: "bank_transfer";
|
|
4849
|
-
cash: "cash";
|
|
4850
|
-
credit_card: "credit_card";
|
|
4851
5394
|
}>>;
|
|
4852
5395
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4853
5396
|
pending: "pending";
|
|
@@ -4892,8 +5435,6 @@ declare const getSubscriptionPurchaseDetailsResponseSchema: z.ZodObject<{
|
|
|
4892
5435
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4893
5436
|
stripe: "stripe";
|
|
4894
5437
|
bank_transfer: "bank_transfer";
|
|
4895
|
-
cash: "cash";
|
|
4896
|
-
credit_card: "credit_card";
|
|
4897
5438
|
}>>;
|
|
4898
5439
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4899
5440
|
pending: "pending";
|
|
@@ -4936,8 +5477,6 @@ declare class GetSubscriptionPurchaseDetails extends AbstractApiRequest<typeof g
|
|
|
4936
5477
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4937
5478
|
stripe: "stripe";
|
|
4938
5479
|
bank_transfer: "bank_transfer";
|
|
4939
|
-
cash: "cash";
|
|
4940
|
-
credit_card: "credit_card";
|
|
4941
5480
|
}>>;
|
|
4942
5481
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4943
5482
|
pending: "pending";
|
|
@@ -4991,8 +5530,6 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
4991
5530
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4992
5531
|
stripe: "stripe";
|
|
4993
5532
|
bank_transfer: "bank_transfer";
|
|
4994
|
-
cash: "cash";
|
|
4995
|
-
credit_card: "credit_card";
|
|
4996
5533
|
}>>;
|
|
4997
5534
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4998
5535
|
pending: "pending";
|
|
@@ -5101,8 +5638,6 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
5101
5638
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
5102
5639
|
stripe: "stripe";
|
|
5103
5640
|
bank_transfer: "bank_transfer";
|
|
5104
|
-
cash: "cash";
|
|
5105
|
-
credit_card: "credit_card";
|
|
5106
5641
|
}>>;
|
|
5107
5642
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
5108
5643
|
pending: "pending";
|
|
@@ -5153,8 +5688,6 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5153
5688
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
5154
5689
|
stripe: "stripe";
|
|
5155
5690
|
bank_transfer: "bank_transfer";
|
|
5156
|
-
cash: "cash";
|
|
5157
|
-
credit_card: "credit_card";
|
|
5158
5691
|
}>>;
|
|
5159
5692
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
5160
5693
|
pending: "pending";
|
|
@@ -5263,8 +5796,6 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5263
5796
|
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
5264
5797
|
stripe: "stripe";
|
|
5265
5798
|
bank_transfer: "bank_transfer";
|
|
5266
|
-
cash: "cash";
|
|
5267
|
-
credit_card: "credit_card";
|
|
5268
5799
|
}>>;
|
|
5269
5800
|
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
5270
5801
|
pending: "pending";
|
|
@@ -5277,24 +5808,254 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5277
5808
|
createdAt: z.ZodString;
|
|
5278
5809
|
updatedAt: z.ZodString;
|
|
5279
5810
|
}, z.core.$strip>;
|
|
5280
|
-
readonly paginationDefaultEnabled = true;
|
|
5281
|
-
private readonly pointOfSaleId;
|
|
5282
|
-
constructor(pointOfSaleId: string, options?: {
|
|
5283
|
-
query?: GetSubscriptionPurchasesFromPointOfSaleQueryParams;
|
|
5284
|
-
});
|
|
5811
|
+
readonly paginationDefaultEnabled = true;
|
|
5812
|
+
private readonly pointOfSaleId;
|
|
5813
|
+
constructor(pointOfSaleId: string, options?: {
|
|
5814
|
+
query?: GetSubscriptionPurchasesFromPointOfSaleQueryParams;
|
|
5815
|
+
});
|
|
5816
|
+
getPath(): string;
|
|
5817
|
+
}
|
|
5818
|
+
|
|
5819
|
+
declare const paySubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
5820
|
+
method: z.ZodEnum<{
|
|
5821
|
+
stripe: "stripe";
|
|
5822
|
+
bank_transfer: "bank_transfer";
|
|
5823
|
+
}>;
|
|
5824
|
+
}, z.core.$strip>;
|
|
5825
|
+
type PaySubscriptionPurchaseInput = z.input<typeof paySubscriptionPurchaseInputSchema>;
|
|
5826
|
+
declare const paySubscriptionPurchaseResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5827
|
+
id: z.ZodString;
|
|
5828
|
+
status: z.ZodEnum<{
|
|
5829
|
+
pending: "pending";
|
|
5830
|
+
pending_verification: "pending_verification";
|
|
5831
|
+
paid: "paid";
|
|
5832
|
+
canceled: "canceled";
|
|
5833
|
+
refunded: "refunded";
|
|
5834
|
+
failed: "failed";
|
|
5835
|
+
}>;
|
|
5836
|
+
amount: z.ZodString;
|
|
5837
|
+
method: z.ZodLiteral<"stripe">;
|
|
5838
|
+
sessionUrl: z.ZodString;
|
|
5839
|
+
expiresAt: z.ZodString;
|
|
5840
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5841
|
+
id: z.ZodString;
|
|
5842
|
+
status: z.ZodEnum<{
|
|
5843
|
+
pending: "pending";
|
|
5844
|
+
pending_verification: "pending_verification";
|
|
5845
|
+
paid: "paid";
|
|
5846
|
+
canceled: "canceled";
|
|
5847
|
+
refunded: "refunded";
|
|
5848
|
+
failed: "failed";
|
|
5849
|
+
}>;
|
|
5850
|
+
amount: z.ZodString;
|
|
5851
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5852
|
+
iban: z.ZodString;
|
|
5853
|
+
bic: z.ZodString;
|
|
5854
|
+
accountHolder: z.ZodString;
|
|
5855
|
+
bankName: z.ZodString;
|
|
5856
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5857
|
+
currency: z.ZodString;
|
|
5858
|
+
description: z.ZodString;
|
|
5859
|
+
}, z.core.$strip>], "method">;
|
|
5860
|
+
type PaySubscriptionPurchaseResponse = z.infer<typeof paySubscriptionPurchaseResponseSchema>;
|
|
5861
|
+
declare class PaySubscriptionPurchase extends AbstractApiRequest<typeof paySubscriptionPurchaseInputSchema, typeof paySubscriptionPurchaseResponseSchema> {
|
|
5862
|
+
readonly method: "POST";
|
|
5863
|
+
readonly contentType: "application/json";
|
|
5864
|
+
readonly accept: "application/json";
|
|
5865
|
+
readonly inputSchema: z.ZodObject<{
|
|
5866
|
+
method: z.ZodEnum<{
|
|
5867
|
+
stripe: "stripe";
|
|
5868
|
+
bank_transfer: "bank_transfer";
|
|
5869
|
+
}>;
|
|
5870
|
+
}, z.core.$strip>;
|
|
5871
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5872
|
+
id: z.ZodString;
|
|
5873
|
+
status: z.ZodEnum<{
|
|
5874
|
+
pending: "pending";
|
|
5875
|
+
pending_verification: "pending_verification";
|
|
5876
|
+
paid: "paid";
|
|
5877
|
+
canceled: "canceled";
|
|
5878
|
+
refunded: "refunded";
|
|
5879
|
+
failed: "failed";
|
|
5880
|
+
}>;
|
|
5881
|
+
amount: z.ZodString;
|
|
5882
|
+
method: z.ZodLiteral<"stripe">;
|
|
5883
|
+
sessionUrl: z.ZodString;
|
|
5884
|
+
expiresAt: z.ZodString;
|
|
5885
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5886
|
+
id: z.ZodString;
|
|
5887
|
+
status: z.ZodEnum<{
|
|
5888
|
+
pending: "pending";
|
|
5889
|
+
pending_verification: "pending_verification";
|
|
5890
|
+
paid: "paid";
|
|
5891
|
+
canceled: "canceled";
|
|
5892
|
+
refunded: "refunded";
|
|
5893
|
+
failed: "failed";
|
|
5894
|
+
}>;
|
|
5895
|
+
amount: z.ZodString;
|
|
5896
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5897
|
+
iban: z.ZodString;
|
|
5898
|
+
bic: z.ZodString;
|
|
5899
|
+
accountHolder: z.ZodString;
|
|
5900
|
+
bankName: z.ZodString;
|
|
5901
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5902
|
+
currency: z.ZodString;
|
|
5903
|
+
description: z.ZodString;
|
|
5904
|
+
}, z.core.$strip>], "method">;
|
|
5905
|
+
readonly querySchema: undefined;
|
|
5906
|
+
readonly headersSchema: undefined;
|
|
5907
|
+
private readonly purchaseId;
|
|
5908
|
+
constructor(purchaseId: string, method: SubscriptionPaymentMethod);
|
|
5909
|
+
getPath(): string;
|
|
5910
|
+
}
|
|
5911
|
+
|
|
5912
|
+
declare const refundSubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
5913
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5914
|
+
}, z.core.$strip>;
|
|
5915
|
+
type RefundSubscriptionPurchaseInput = z.input<typeof refundSubscriptionPurchaseInputSchema>;
|
|
5916
|
+
declare const refundSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
5917
|
+
id: z.ZodString;
|
|
5918
|
+
status: z.ZodEnum<{
|
|
5919
|
+
pending: "pending";
|
|
5920
|
+
completed: "completed";
|
|
5921
|
+
cancelled: "cancelled";
|
|
5922
|
+
failed: "failed";
|
|
5923
|
+
}>;
|
|
5924
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5925
|
+
id: z.ZodString;
|
|
5926
|
+
status: z.ZodEnum<{
|
|
5927
|
+
pending: "pending";
|
|
5928
|
+
pending_verification: "pending_verification";
|
|
5929
|
+
paid: "paid";
|
|
5930
|
+
canceled: "canceled";
|
|
5931
|
+
refunded: "refunded";
|
|
5932
|
+
failed: "failed";
|
|
5933
|
+
}>;
|
|
5934
|
+
amount: z.ZodString;
|
|
5935
|
+
method: z.ZodLiteral<"stripe">;
|
|
5936
|
+
sessionUrl: z.ZodString;
|
|
5937
|
+
expiresAt: z.ZodString;
|
|
5938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5939
|
+
id: z.ZodString;
|
|
5940
|
+
status: z.ZodEnum<{
|
|
5941
|
+
pending: "pending";
|
|
5942
|
+
pending_verification: "pending_verification";
|
|
5943
|
+
paid: "paid";
|
|
5944
|
+
canceled: "canceled";
|
|
5945
|
+
refunded: "refunded";
|
|
5946
|
+
failed: "failed";
|
|
5947
|
+
}>;
|
|
5948
|
+
amount: z.ZodString;
|
|
5949
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5950
|
+
iban: z.ZodString;
|
|
5951
|
+
bic: z.ZodString;
|
|
5952
|
+
accountHolder: z.ZodString;
|
|
5953
|
+
bankName: z.ZodString;
|
|
5954
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5955
|
+
currency: z.ZodString;
|
|
5956
|
+
description: z.ZodString;
|
|
5957
|
+
}, z.core.$strip>], "method">>;
|
|
5958
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
5959
|
+
id: z.ZodString;
|
|
5960
|
+
status: z.ZodEnum<{
|
|
5961
|
+
created: "created";
|
|
5962
|
+
active: "active";
|
|
5963
|
+
pending_renewal: "pending_renewal";
|
|
5964
|
+
expired: "expired";
|
|
5965
|
+
suspended: "suspended";
|
|
5966
|
+
cancelled: "cancelled";
|
|
5967
|
+
}>;
|
|
5968
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5969
|
+
infinite: "infinite";
|
|
5970
|
+
time_based: "time_based";
|
|
5971
|
+
consumption: "consumption";
|
|
5972
|
+
}>>>;
|
|
5973
|
+
}, z.core.$strip>>;
|
|
5974
|
+
}, z.core.$strip>;
|
|
5975
|
+
type RefundSubscriptionPurchaseResponse = z.infer<typeof refundSubscriptionPurchaseResponseSchema>;
|
|
5976
|
+
declare class RefundSubscriptionPurchase extends AbstractApiRequest<typeof refundSubscriptionPurchaseInputSchema, typeof refundSubscriptionPurchaseResponseSchema> {
|
|
5977
|
+
readonly method: "POST";
|
|
5978
|
+
readonly contentType: "application/json";
|
|
5979
|
+
readonly accept: "application/json";
|
|
5980
|
+
readonly inputSchema: z.ZodObject<{
|
|
5981
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5982
|
+
}, z.core.$strip>;
|
|
5983
|
+
readonly outputSchema: z.ZodObject<{
|
|
5984
|
+
id: z.ZodString;
|
|
5985
|
+
status: z.ZodEnum<{
|
|
5986
|
+
pending: "pending";
|
|
5987
|
+
completed: "completed";
|
|
5988
|
+
cancelled: "cancelled";
|
|
5989
|
+
failed: "failed";
|
|
5990
|
+
}>;
|
|
5991
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5992
|
+
id: z.ZodString;
|
|
5993
|
+
status: z.ZodEnum<{
|
|
5994
|
+
pending: "pending";
|
|
5995
|
+
pending_verification: "pending_verification";
|
|
5996
|
+
paid: "paid";
|
|
5997
|
+
canceled: "canceled";
|
|
5998
|
+
refunded: "refunded";
|
|
5999
|
+
failed: "failed";
|
|
6000
|
+
}>;
|
|
6001
|
+
amount: z.ZodString;
|
|
6002
|
+
method: z.ZodLiteral<"stripe">;
|
|
6003
|
+
sessionUrl: z.ZodString;
|
|
6004
|
+
expiresAt: z.ZodString;
|
|
6005
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6006
|
+
id: z.ZodString;
|
|
6007
|
+
status: z.ZodEnum<{
|
|
6008
|
+
pending: "pending";
|
|
6009
|
+
pending_verification: "pending_verification";
|
|
6010
|
+
paid: "paid";
|
|
6011
|
+
canceled: "canceled";
|
|
6012
|
+
refunded: "refunded";
|
|
6013
|
+
failed: "failed";
|
|
6014
|
+
}>;
|
|
6015
|
+
amount: z.ZodString;
|
|
6016
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
6017
|
+
iban: z.ZodString;
|
|
6018
|
+
bic: z.ZodString;
|
|
6019
|
+
accountHolder: z.ZodString;
|
|
6020
|
+
bankName: z.ZodString;
|
|
6021
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6022
|
+
currency: z.ZodString;
|
|
6023
|
+
description: z.ZodString;
|
|
6024
|
+
}, z.core.$strip>], "method">>;
|
|
6025
|
+
subscription: z.ZodNullable<z.ZodObject<{
|
|
6026
|
+
id: z.ZodString;
|
|
6027
|
+
status: z.ZodEnum<{
|
|
6028
|
+
created: "created";
|
|
6029
|
+
active: "active";
|
|
6030
|
+
pending_renewal: "pending_renewal";
|
|
6031
|
+
expired: "expired";
|
|
6032
|
+
suspended: "suspended";
|
|
6033
|
+
cancelled: "cancelled";
|
|
6034
|
+
}>;
|
|
6035
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6036
|
+
infinite: "infinite";
|
|
6037
|
+
time_based: "time_based";
|
|
6038
|
+
consumption: "consumption";
|
|
6039
|
+
}>>>;
|
|
6040
|
+
}, z.core.$strip>>;
|
|
6041
|
+
}, z.core.$strip>;
|
|
6042
|
+
readonly querySchema: undefined;
|
|
6043
|
+
readonly headersSchema: undefined;
|
|
6044
|
+
private readonly purchaseId;
|
|
6045
|
+
constructor(purchaseId: string, input?: RefundSubscriptionPurchaseInput);
|
|
5285
6046
|
getPath(): string;
|
|
5286
6047
|
}
|
|
5287
6048
|
|
|
5288
|
-
declare const
|
|
5289
|
-
|
|
5290
|
-
|
|
5291
|
-
|
|
5292
|
-
|
|
5293
|
-
credit_card: "credit_card";
|
|
6049
|
+
declare const resolveSubscriptionPurchasePaymentInputSchema: z.ZodObject<{
|
|
6050
|
+
status: z.ZodEnum<{
|
|
6051
|
+
failed: "failed";
|
|
6052
|
+
paid: "paid";
|
|
6053
|
+
canceled: "canceled";
|
|
5294
6054
|
}>;
|
|
6055
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5295
6056
|
}, z.core.$strip>;
|
|
5296
|
-
type
|
|
5297
|
-
declare const
|
|
6057
|
+
type ResolveSubscriptionPurchasePaymentInput = z.input<typeof resolveSubscriptionPurchasePaymentInputSchema>;
|
|
6058
|
+
declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5298
6059
|
id: z.ZodString;
|
|
5299
6060
|
status: z.ZodEnum<{
|
|
5300
6061
|
pending: "pending";
|
|
@@ -5327,43 +6088,19 @@ declare const paySubscriptionPurchaseResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5327
6088
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5328
6089
|
currency: z.ZodString;
|
|
5329
6090
|
description: z.ZodString;
|
|
5330
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5331
|
-
id: z.ZodString;
|
|
5332
|
-
status: z.ZodEnum<{
|
|
5333
|
-
pending: "pending";
|
|
5334
|
-
pending_verification: "pending_verification";
|
|
5335
|
-
paid: "paid";
|
|
5336
|
-
canceled: "canceled";
|
|
5337
|
-
refunded: "refunded";
|
|
5338
|
-
failed: "failed";
|
|
5339
|
-
}>;
|
|
5340
|
-
amount: z.ZodString;
|
|
5341
|
-
method: z.ZodLiteral<"cash">;
|
|
5342
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5343
|
-
id: z.ZodString;
|
|
5344
|
-
status: z.ZodEnum<{
|
|
5345
|
-
pending: "pending";
|
|
5346
|
-
pending_verification: "pending_verification";
|
|
5347
|
-
paid: "paid";
|
|
5348
|
-
canceled: "canceled";
|
|
5349
|
-
refunded: "refunded";
|
|
5350
|
-
failed: "failed";
|
|
5351
|
-
}>;
|
|
5352
|
-
amount: z.ZodString;
|
|
5353
|
-
method: z.ZodLiteral<"credit_card">;
|
|
5354
6091
|
}, z.core.$strip>], "method">;
|
|
5355
|
-
type
|
|
5356
|
-
declare class
|
|
6092
|
+
type ResolveSubscriptionPurchasePaymentResponse = z.infer<typeof resolveSubscriptionPurchasePaymentResponseSchema>;
|
|
6093
|
+
declare class ResolveSubscriptionPurchasePayment extends AbstractApiRequest<typeof resolveSubscriptionPurchasePaymentInputSchema, typeof resolveSubscriptionPurchasePaymentResponseSchema> {
|
|
5357
6094
|
readonly method: "POST";
|
|
5358
6095
|
readonly contentType: "application/json";
|
|
5359
6096
|
readonly accept: "application/json";
|
|
5360
6097
|
readonly inputSchema: z.ZodObject<{
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
credit_card: "credit_card";
|
|
6098
|
+
status: z.ZodEnum<{
|
|
6099
|
+
failed: "failed";
|
|
6100
|
+
paid: "paid";
|
|
6101
|
+
canceled: "canceled";
|
|
5366
6102
|
}>;
|
|
6103
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5367
6104
|
}, z.core.$strip>;
|
|
5368
6105
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5369
6106
|
id: z.ZodString;
|
|
@@ -5398,48 +6135,22 @@ declare class PaySubscriptionPurchase extends AbstractApiRequest<typeof paySubsc
|
|
|
5398
6135
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5399
6136
|
currency: z.ZodString;
|
|
5400
6137
|
description: z.ZodString;
|
|
5401
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5402
|
-
id: z.ZodString;
|
|
5403
|
-
status: z.ZodEnum<{
|
|
5404
|
-
pending: "pending";
|
|
5405
|
-
pending_verification: "pending_verification";
|
|
5406
|
-
paid: "paid";
|
|
5407
|
-
canceled: "canceled";
|
|
5408
|
-
refunded: "refunded";
|
|
5409
|
-
failed: "failed";
|
|
5410
|
-
}>;
|
|
5411
|
-
amount: z.ZodString;
|
|
5412
|
-
method: z.ZodLiteral<"cash">;
|
|
5413
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5414
|
-
id: z.ZodString;
|
|
5415
|
-
status: z.ZodEnum<{
|
|
5416
|
-
pending: "pending";
|
|
5417
|
-
pending_verification: "pending_verification";
|
|
5418
|
-
paid: "paid";
|
|
5419
|
-
canceled: "canceled";
|
|
5420
|
-
refunded: "refunded";
|
|
5421
|
-
failed: "failed";
|
|
5422
|
-
}>;
|
|
5423
|
-
amount: z.ZodString;
|
|
5424
|
-
method: z.ZodLiteral<"credit_card">;
|
|
5425
6138
|
}, z.core.$strip>], "method">;
|
|
5426
6139
|
readonly querySchema: undefined;
|
|
5427
6140
|
readonly headersSchema: undefined;
|
|
5428
6141
|
private readonly purchaseId;
|
|
5429
|
-
constructor(purchaseId: string,
|
|
6142
|
+
constructor(purchaseId: string, input: ResolveSubscriptionPurchasePaymentInput);
|
|
5430
6143
|
getPath(): string;
|
|
5431
6144
|
}
|
|
5432
6145
|
|
|
5433
|
-
declare const
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
canceled: "canceled";
|
|
6146
|
+
declare const retrySubscriptionPurchasePaymentInputSchema: z.ZodObject<{
|
|
6147
|
+
method: z.ZodEnum<{
|
|
6148
|
+
stripe: "stripe";
|
|
6149
|
+
bank_transfer: "bank_transfer";
|
|
5438
6150
|
}>;
|
|
5439
|
-
response: z.ZodOptional<z.ZodString>;
|
|
5440
6151
|
}, z.core.$strip>;
|
|
5441
|
-
type
|
|
5442
|
-
declare const
|
|
6152
|
+
type RetrySubscriptionPurchasePaymentInput = z.input<typeof retrySubscriptionPurchasePaymentInputSchema>;
|
|
6153
|
+
declare const retrySubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5443
6154
|
id: z.ZodString;
|
|
5444
6155
|
status: z.ZodEnum<{
|
|
5445
6156
|
pending: "pending";
|
|
@@ -5472,43 +6183,17 @@ declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminat
|
|
|
5472
6183
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5473
6184
|
currency: z.ZodString;
|
|
5474
6185
|
description: z.ZodString;
|
|
5475
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5476
|
-
id: z.ZodString;
|
|
5477
|
-
status: z.ZodEnum<{
|
|
5478
|
-
pending: "pending";
|
|
5479
|
-
pending_verification: "pending_verification";
|
|
5480
|
-
paid: "paid";
|
|
5481
|
-
canceled: "canceled";
|
|
5482
|
-
refunded: "refunded";
|
|
5483
|
-
failed: "failed";
|
|
5484
|
-
}>;
|
|
5485
|
-
amount: z.ZodString;
|
|
5486
|
-
method: z.ZodLiteral<"cash">;
|
|
5487
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5488
|
-
id: z.ZodString;
|
|
5489
|
-
status: z.ZodEnum<{
|
|
5490
|
-
pending: "pending";
|
|
5491
|
-
pending_verification: "pending_verification";
|
|
5492
|
-
paid: "paid";
|
|
5493
|
-
canceled: "canceled";
|
|
5494
|
-
refunded: "refunded";
|
|
5495
|
-
failed: "failed";
|
|
5496
|
-
}>;
|
|
5497
|
-
amount: z.ZodString;
|
|
5498
|
-
method: z.ZodLiteral<"credit_card">;
|
|
5499
6186
|
}, z.core.$strip>], "method">;
|
|
5500
|
-
type
|
|
5501
|
-
declare class
|
|
6187
|
+
type RetrySubscriptionPurchasePaymentResponse = z.infer<typeof retrySubscriptionPurchasePaymentResponseSchema>;
|
|
6188
|
+
declare class RetrySubscriptionPurchasePayment extends AbstractApiRequest<typeof retrySubscriptionPurchasePaymentInputSchema, typeof retrySubscriptionPurchasePaymentResponseSchema> {
|
|
5502
6189
|
readonly method: "POST";
|
|
5503
6190
|
readonly contentType: "application/json";
|
|
5504
6191
|
readonly accept: "application/json";
|
|
5505
6192
|
readonly inputSchema: z.ZodObject<{
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
canceled: "canceled";
|
|
6193
|
+
method: z.ZodEnum<{
|
|
6194
|
+
stripe: "stripe";
|
|
6195
|
+
bank_transfer: "bank_transfer";
|
|
5510
6196
|
}>;
|
|
5511
|
-
response: z.ZodOptional<z.ZodString>;
|
|
5512
6197
|
}, z.core.$strip>;
|
|
5513
6198
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5514
6199
|
id: z.ZodString;
|
|
@@ -5543,35 +6228,11 @@ declare class ResolveSubscriptionPurchasePayment extends AbstractApiRequest<type
|
|
|
5543
6228
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5544
6229
|
currency: z.ZodString;
|
|
5545
6230
|
description: z.ZodString;
|
|
5546
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5547
|
-
id: z.ZodString;
|
|
5548
|
-
status: z.ZodEnum<{
|
|
5549
|
-
pending: "pending";
|
|
5550
|
-
pending_verification: "pending_verification";
|
|
5551
|
-
paid: "paid";
|
|
5552
|
-
canceled: "canceled";
|
|
5553
|
-
refunded: "refunded";
|
|
5554
|
-
failed: "failed";
|
|
5555
|
-
}>;
|
|
5556
|
-
amount: z.ZodString;
|
|
5557
|
-
method: z.ZodLiteral<"cash">;
|
|
5558
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5559
|
-
id: z.ZodString;
|
|
5560
|
-
status: z.ZodEnum<{
|
|
5561
|
-
pending: "pending";
|
|
5562
|
-
pending_verification: "pending_verification";
|
|
5563
|
-
paid: "paid";
|
|
5564
|
-
canceled: "canceled";
|
|
5565
|
-
refunded: "refunded";
|
|
5566
|
-
failed: "failed";
|
|
5567
|
-
}>;
|
|
5568
|
-
amount: z.ZodString;
|
|
5569
|
-
method: z.ZodLiteral<"credit_card">;
|
|
5570
6231
|
}, z.core.$strip>], "method">;
|
|
5571
6232
|
readonly querySchema: undefined;
|
|
5572
6233
|
readonly headersSchema: undefined;
|
|
5573
6234
|
private readonly purchaseId;
|
|
5574
|
-
constructor(purchaseId: string,
|
|
6235
|
+
constructor(purchaseId: string, method: SubscriptionPaymentMethod);
|
|
5575
6236
|
getPath(): string;
|
|
5576
6237
|
}
|
|
5577
6238
|
|
|
@@ -5996,30 +6657,171 @@ declare class UpdateSubscriptionTimeBased extends AbstractApiRequest<typeof upda
|
|
|
5996
6657
|
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5997
6658
|
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5998
6659
|
id: z.ZodString;
|
|
5999
|
-
code: z.ZodString;
|
|
6000
|
-
name: z.ZodString;
|
|
6001
|
-
type: z.ZodEnum<{
|
|
6660
|
+
code: z.ZodString;
|
|
6661
|
+
name: z.ZodString;
|
|
6662
|
+
type: z.ZodEnum<{
|
|
6663
|
+
infinite: "infinite";
|
|
6664
|
+
time_based: "time_based";
|
|
6665
|
+
consumption: "consumption";
|
|
6666
|
+
}>;
|
|
6667
|
+
isActive: z.ZodBoolean;
|
|
6668
|
+
isPurchasable: z.ZodBoolean;
|
|
6669
|
+
isAdminOnly: z.ZodBoolean;
|
|
6670
|
+
}, z.core.$strip>>>;
|
|
6671
|
+
createdAt: z.ZodString;
|
|
6672
|
+
updatedAt: z.ZodString;
|
|
6673
|
+
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6674
|
+
type: z.ZodLiteral<"time_based">;
|
|
6675
|
+
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6676
|
+
autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6677
|
+
autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6678
|
+
latestCompletedRenewal: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown>>>;
|
|
6679
|
+
}, z.core.$strip>;
|
|
6680
|
+
readonly querySchema: undefined;
|
|
6681
|
+
readonly headersSchema: undefined;
|
|
6682
|
+
private readonly subscriptionId;
|
|
6683
|
+
constructor(subscriptionId: string, input: UpdateSubscriptionTimeBasedInput);
|
|
6684
|
+
getPath(): string;
|
|
6685
|
+
}
|
|
6686
|
+
|
|
6687
|
+
declare const cancelSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
|
|
6688
|
+
response: z.ZodOptional<z.ZodString>;
|
|
6689
|
+
}, z.core.$strip>;
|
|
6690
|
+
type CancelSubscriptionTimeBasedRenewalInput = z.input<typeof cancelSubscriptionTimeBasedRenewalInputSchema>;
|
|
6691
|
+
declare const cancelSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
6692
|
+
id: z.ZodString;
|
|
6693
|
+
status: z.ZodEnum<{
|
|
6694
|
+
pending: "pending";
|
|
6695
|
+
failed: "failed";
|
|
6696
|
+
cancelled: "cancelled";
|
|
6697
|
+
completed: "completed";
|
|
6698
|
+
}>;
|
|
6699
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6700
|
+
id: z.ZodString;
|
|
6701
|
+
status: z.ZodEnum<{
|
|
6702
|
+
pending: "pending";
|
|
6703
|
+
pending_verification: "pending_verification";
|
|
6704
|
+
paid: "paid";
|
|
6705
|
+
canceled: "canceled";
|
|
6706
|
+
refunded: "refunded";
|
|
6707
|
+
failed: "failed";
|
|
6708
|
+
}>;
|
|
6709
|
+
amount: z.ZodString;
|
|
6710
|
+
method: z.ZodLiteral<"stripe">;
|
|
6711
|
+
sessionUrl: z.ZodString;
|
|
6712
|
+
expiresAt: z.ZodString;
|
|
6713
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6714
|
+
id: z.ZodString;
|
|
6715
|
+
status: z.ZodEnum<{
|
|
6716
|
+
pending: "pending";
|
|
6717
|
+
pending_verification: "pending_verification";
|
|
6718
|
+
paid: "paid";
|
|
6719
|
+
canceled: "canceled";
|
|
6720
|
+
refunded: "refunded";
|
|
6721
|
+
failed: "failed";
|
|
6722
|
+
}>;
|
|
6723
|
+
amount: z.ZodString;
|
|
6724
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
6725
|
+
iban: z.ZodString;
|
|
6726
|
+
bic: z.ZodString;
|
|
6727
|
+
accountHolder: z.ZodString;
|
|
6728
|
+
bankName: z.ZodString;
|
|
6729
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6730
|
+
currency: z.ZodString;
|
|
6731
|
+
description: z.ZodString;
|
|
6732
|
+
}, z.core.$strip>], "method">>;
|
|
6733
|
+
subscription: z.ZodObject<{
|
|
6734
|
+
id: z.ZodString;
|
|
6735
|
+
status: z.ZodEnum<{
|
|
6736
|
+
created: "created";
|
|
6737
|
+
active: "active";
|
|
6738
|
+
pending_renewal: "pending_renewal";
|
|
6739
|
+
expired: "expired";
|
|
6740
|
+
suspended: "suspended";
|
|
6741
|
+
cancelled: "cancelled";
|
|
6742
|
+
}>;
|
|
6743
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6744
|
+
infinite: "infinite";
|
|
6745
|
+
time_based: "time_based";
|
|
6746
|
+
consumption: "consumption";
|
|
6747
|
+
}>>>;
|
|
6748
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6749
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
6750
|
+
}, z.core.$strip>;
|
|
6751
|
+
}, z.core.$strip>;
|
|
6752
|
+
type CancelSubscriptionTimeBasedRenewalResponse = z.infer<typeof cancelSubscriptionTimeBasedRenewalResponseSchema>;
|
|
6753
|
+
declare class CancelSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof cancelSubscriptionTimeBasedRenewalInputSchema, typeof cancelSubscriptionTimeBasedRenewalResponseSchema> {
|
|
6754
|
+
readonly method: "POST";
|
|
6755
|
+
readonly contentType: "application/json";
|
|
6756
|
+
readonly accept: "application/json";
|
|
6757
|
+
readonly inputSchema: z.ZodObject<{
|
|
6758
|
+
response: z.ZodOptional<z.ZodString>;
|
|
6759
|
+
}, z.core.$strip>;
|
|
6760
|
+
readonly outputSchema: z.ZodObject<{
|
|
6761
|
+
id: z.ZodString;
|
|
6762
|
+
status: z.ZodEnum<{
|
|
6763
|
+
pending: "pending";
|
|
6764
|
+
failed: "failed";
|
|
6765
|
+
cancelled: "cancelled";
|
|
6766
|
+
completed: "completed";
|
|
6767
|
+
}>;
|
|
6768
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6769
|
+
id: z.ZodString;
|
|
6770
|
+
status: z.ZodEnum<{
|
|
6771
|
+
pending: "pending";
|
|
6772
|
+
pending_verification: "pending_verification";
|
|
6773
|
+
paid: "paid";
|
|
6774
|
+
canceled: "canceled";
|
|
6775
|
+
refunded: "refunded";
|
|
6776
|
+
failed: "failed";
|
|
6777
|
+
}>;
|
|
6778
|
+
amount: z.ZodString;
|
|
6779
|
+
method: z.ZodLiteral<"stripe">;
|
|
6780
|
+
sessionUrl: z.ZodString;
|
|
6781
|
+
expiresAt: z.ZodString;
|
|
6782
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6783
|
+
id: z.ZodString;
|
|
6784
|
+
status: z.ZodEnum<{
|
|
6785
|
+
pending: "pending";
|
|
6786
|
+
pending_verification: "pending_verification";
|
|
6787
|
+
paid: "paid";
|
|
6788
|
+
canceled: "canceled";
|
|
6789
|
+
refunded: "refunded";
|
|
6790
|
+
failed: "failed";
|
|
6791
|
+
}>;
|
|
6792
|
+
amount: z.ZodString;
|
|
6793
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
6794
|
+
iban: z.ZodString;
|
|
6795
|
+
bic: z.ZodString;
|
|
6796
|
+
accountHolder: z.ZodString;
|
|
6797
|
+
bankName: z.ZodString;
|
|
6798
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6799
|
+
currency: z.ZodString;
|
|
6800
|
+
description: z.ZodString;
|
|
6801
|
+
}, z.core.$strip>], "method">>;
|
|
6802
|
+
subscription: z.ZodObject<{
|
|
6803
|
+
id: z.ZodString;
|
|
6804
|
+
status: z.ZodEnum<{
|
|
6805
|
+
created: "created";
|
|
6806
|
+
active: "active";
|
|
6807
|
+
pending_renewal: "pending_renewal";
|
|
6808
|
+
expired: "expired";
|
|
6809
|
+
suspended: "suspended";
|
|
6810
|
+
cancelled: "cancelled";
|
|
6811
|
+
}>;
|
|
6812
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6002
6813
|
infinite: "infinite";
|
|
6003
6814
|
time_based: "time_based";
|
|
6004
6815
|
consumption: "consumption";
|
|
6005
|
-
}
|
|
6006
|
-
|
|
6007
|
-
|
|
6008
|
-
|
|
6009
|
-
}, z.core.$strip>>>;
|
|
6010
|
-
createdAt: z.ZodString;
|
|
6011
|
-
updatedAt: z.ZodString;
|
|
6012
|
-
pointOfSale: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/point_of_sales/:id">, unknown>>;
|
|
6013
|
-
type: z.ZodLiteral<"time_based">;
|
|
6014
|
-
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6015
|
-
autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6016
|
-
autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6017
|
-
latestCompletedRenewal: z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id"> | null, unknown>>>;
|
|
6816
|
+
}>>>;
|
|
6817
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
6818
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
6819
|
+
}, z.core.$strip>;
|
|
6018
6820
|
}, z.core.$strip>;
|
|
6019
6821
|
readonly querySchema: undefined;
|
|
6020
6822
|
readonly headersSchema: undefined;
|
|
6021
|
-
private readonly
|
|
6022
|
-
constructor(
|
|
6823
|
+
private readonly renewalId;
|
|
6824
|
+
constructor(renewalId: string, input?: CancelSubscriptionTimeBasedRenewalInput);
|
|
6023
6825
|
getPath(): string;
|
|
6024
6826
|
}
|
|
6025
6827
|
|
|
@@ -6354,8 +7156,6 @@ declare const paySubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
|
|
|
6354
7156
|
method: z.ZodEnum<{
|
|
6355
7157
|
stripe: "stripe";
|
|
6356
7158
|
bank_transfer: "bank_transfer";
|
|
6357
|
-
cash: "cash";
|
|
6358
|
-
credit_card: "credit_card";
|
|
6359
7159
|
}>;
|
|
6360
7160
|
}, z.core.$strip>;
|
|
6361
7161
|
type PaySubscriptionTimeBasedRenewalInput = z.input<typeof paySubscriptionTimeBasedRenewalInputSchema>;
|
|
@@ -6392,30 +7192,6 @@ declare const paySubscriptionTimeBasedRenewalResponseSchema: z.ZodDiscriminatedU
|
|
|
6392
7192
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6393
7193
|
currency: z.ZodString;
|
|
6394
7194
|
description: z.ZodString;
|
|
6395
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6396
|
-
id: z.ZodString;
|
|
6397
|
-
status: z.ZodEnum<{
|
|
6398
|
-
pending: "pending";
|
|
6399
|
-
pending_verification: "pending_verification";
|
|
6400
|
-
paid: "paid";
|
|
6401
|
-
canceled: "canceled";
|
|
6402
|
-
refunded: "refunded";
|
|
6403
|
-
failed: "failed";
|
|
6404
|
-
}>;
|
|
6405
|
-
amount: z.ZodString;
|
|
6406
|
-
method: z.ZodLiteral<"cash">;
|
|
6407
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6408
|
-
id: z.ZodString;
|
|
6409
|
-
status: z.ZodEnum<{
|
|
6410
|
-
pending: "pending";
|
|
6411
|
-
pending_verification: "pending_verification";
|
|
6412
|
-
paid: "paid";
|
|
6413
|
-
canceled: "canceled";
|
|
6414
|
-
refunded: "refunded";
|
|
6415
|
-
failed: "failed";
|
|
6416
|
-
}>;
|
|
6417
|
-
amount: z.ZodString;
|
|
6418
|
-
method: z.ZodLiteral<"credit_card">;
|
|
6419
7195
|
}, z.core.$strip>], "method">;
|
|
6420
7196
|
type PaySubscriptionTimeBasedRenewalResponse = z.infer<typeof paySubscriptionTimeBasedRenewalResponseSchema>;
|
|
6421
7197
|
declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof paySubscriptionTimeBasedRenewalInputSchema, typeof paySubscriptionTimeBasedRenewalResponseSchema> {
|
|
@@ -6426,8 +7202,6 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
|
|
|
6426
7202
|
method: z.ZodEnum<{
|
|
6427
7203
|
stripe: "stripe";
|
|
6428
7204
|
bank_transfer: "bank_transfer";
|
|
6429
|
-
cash: "cash";
|
|
6430
|
-
credit_card: "credit_card";
|
|
6431
7205
|
}>;
|
|
6432
7206
|
}, z.core.$strip>;
|
|
6433
7207
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -6463,7 +7237,27 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
|
|
|
6463
7237
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6464
7238
|
currency: z.ZodString;
|
|
6465
7239
|
description: z.ZodString;
|
|
6466
|
-
}, z.core.$strip
|
|
7240
|
+
}, z.core.$strip>], "method">;
|
|
7241
|
+
readonly querySchema: undefined;
|
|
7242
|
+
readonly headersSchema: undefined;
|
|
7243
|
+
private readonly renewalId;
|
|
7244
|
+
constructor(renewalId: string, method: SubscriptionPaymentMethod);
|
|
7245
|
+
getPath(): string;
|
|
7246
|
+
}
|
|
7247
|
+
|
|
7248
|
+
declare const refundSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
|
|
7249
|
+
response: z.ZodOptional<z.ZodString>;
|
|
7250
|
+
}, z.core.$strip>;
|
|
7251
|
+
type RefundSubscriptionTimeBasedRenewalInput = z.input<typeof refundSubscriptionTimeBasedRenewalInputSchema>;
|
|
7252
|
+
declare const refundSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
7253
|
+
id: z.ZodString;
|
|
7254
|
+
status: z.ZodEnum<{
|
|
7255
|
+
pending: "pending";
|
|
7256
|
+
failed: "failed";
|
|
7257
|
+
cancelled: "cancelled";
|
|
7258
|
+
completed: "completed";
|
|
7259
|
+
}>;
|
|
7260
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6467
7261
|
id: z.ZodString;
|
|
6468
7262
|
status: z.ZodEnum<{
|
|
6469
7263
|
pending: "pending";
|
|
@@ -6474,7 +7268,9 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
|
|
|
6474
7268
|
failed: "failed";
|
|
6475
7269
|
}>;
|
|
6476
7270
|
amount: z.ZodString;
|
|
6477
|
-
method: z.ZodLiteral<"
|
|
7271
|
+
method: z.ZodLiteral<"stripe">;
|
|
7272
|
+
sessionUrl: z.ZodString;
|
|
7273
|
+
expiresAt: z.ZodString;
|
|
6478
7274
|
}, z.core.$strip>, z.ZodObject<{
|
|
6479
7275
|
id: z.ZodString;
|
|
6480
7276
|
status: z.ZodEnum<{
|
|
@@ -6486,12 +7282,107 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
|
|
|
6486
7282
|
failed: "failed";
|
|
6487
7283
|
}>;
|
|
6488
7284
|
amount: z.ZodString;
|
|
6489
|
-
method: z.ZodLiteral<"
|
|
6490
|
-
|
|
7285
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
7286
|
+
iban: z.ZodString;
|
|
7287
|
+
bic: z.ZodString;
|
|
7288
|
+
accountHolder: z.ZodString;
|
|
7289
|
+
bankName: z.ZodString;
|
|
7290
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
7291
|
+
currency: z.ZodString;
|
|
7292
|
+
description: z.ZodString;
|
|
7293
|
+
}, z.core.$strip>], "method">>;
|
|
7294
|
+
subscription: z.ZodObject<{
|
|
7295
|
+
id: z.ZodString;
|
|
7296
|
+
status: z.ZodEnum<{
|
|
7297
|
+
created: "created";
|
|
7298
|
+
active: "active";
|
|
7299
|
+
pending_renewal: "pending_renewal";
|
|
7300
|
+
expired: "expired";
|
|
7301
|
+
suspended: "suspended";
|
|
7302
|
+
cancelled: "cancelled";
|
|
7303
|
+
}>;
|
|
7304
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7305
|
+
infinite: "infinite";
|
|
7306
|
+
time_based: "time_based";
|
|
7307
|
+
consumption: "consumption";
|
|
7308
|
+
}>>>;
|
|
7309
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7310
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
7311
|
+
}, z.core.$strip>;
|
|
7312
|
+
}, z.core.$strip>;
|
|
7313
|
+
type RefundSubscriptionTimeBasedRenewalResponse = z.infer<typeof refundSubscriptionTimeBasedRenewalResponseSchema>;
|
|
7314
|
+
declare class RefundSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof refundSubscriptionTimeBasedRenewalInputSchema, typeof refundSubscriptionTimeBasedRenewalResponseSchema> {
|
|
7315
|
+
readonly method: "POST";
|
|
7316
|
+
readonly contentType: "application/json";
|
|
7317
|
+
readonly accept: "application/json";
|
|
7318
|
+
readonly inputSchema: z.ZodObject<{
|
|
7319
|
+
response: z.ZodOptional<z.ZodString>;
|
|
7320
|
+
}, z.core.$strip>;
|
|
7321
|
+
readonly outputSchema: z.ZodObject<{
|
|
7322
|
+
id: z.ZodString;
|
|
7323
|
+
status: z.ZodEnum<{
|
|
7324
|
+
pending: "pending";
|
|
7325
|
+
failed: "failed";
|
|
7326
|
+
cancelled: "cancelled";
|
|
7327
|
+
completed: "completed";
|
|
7328
|
+
}>;
|
|
7329
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7330
|
+
id: z.ZodString;
|
|
7331
|
+
status: z.ZodEnum<{
|
|
7332
|
+
pending: "pending";
|
|
7333
|
+
pending_verification: "pending_verification";
|
|
7334
|
+
paid: "paid";
|
|
7335
|
+
canceled: "canceled";
|
|
7336
|
+
refunded: "refunded";
|
|
7337
|
+
failed: "failed";
|
|
7338
|
+
}>;
|
|
7339
|
+
amount: z.ZodString;
|
|
7340
|
+
method: z.ZodLiteral<"stripe">;
|
|
7341
|
+
sessionUrl: z.ZodString;
|
|
7342
|
+
expiresAt: z.ZodString;
|
|
7343
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7344
|
+
id: z.ZodString;
|
|
7345
|
+
status: z.ZodEnum<{
|
|
7346
|
+
pending: "pending";
|
|
7347
|
+
pending_verification: "pending_verification";
|
|
7348
|
+
paid: "paid";
|
|
7349
|
+
canceled: "canceled";
|
|
7350
|
+
refunded: "refunded";
|
|
7351
|
+
failed: "failed";
|
|
7352
|
+
}>;
|
|
7353
|
+
amount: z.ZodString;
|
|
7354
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
7355
|
+
iban: z.ZodString;
|
|
7356
|
+
bic: z.ZodString;
|
|
7357
|
+
accountHolder: z.ZodString;
|
|
7358
|
+
bankName: z.ZodString;
|
|
7359
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
7360
|
+
currency: z.ZodString;
|
|
7361
|
+
description: z.ZodString;
|
|
7362
|
+
}, z.core.$strip>], "method">>;
|
|
7363
|
+
subscription: z.ZodObject<{
|
|
7364
|
+
id: z.ZodString;
|
|
7365
|
+
status: z.ZodEnum<{
|
|
7366
|
+
created: "created";
|
|
7367
|
+
active: "active";
|
|
7368
|
+
pending_renewal: "pending_renewal";
|
|
7369
|
+
expired: "expired";
|
|
7370
|
+
suspended: "suspended";
|
|
7371
|
+
cancelled: "cancelled";
|
|
7372
|
+
}>;
|
|
7373
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7374
|
+
infinite: "infinite";
|
|
7375
|
+
time_based: "time_based";
|
|
7376
|
+
consumption: "consumption";
|
|
7377
|
+
}>>>;
|
|
7378
|
+
credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
7379
|
+
expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
7380
|
+
}, z.core.$strip>;
|
|
7381
|
+
}, z.core.$strip>;
|
|
6491
7382
|
readonly querySchema: undefined;
|
|
6492
7383
|
readonly headersSchema: undefined;
|
|
6493
7384
|
private readonly renewalId;
|
|
6494
|
-
constructor(renewalId: string,
|
|
7385
|
+
constructor(renewalId: string, input?: RefundSubscriptionTimeBasedRenewalInput);
|
|
6495
7386
|
getPath(): string;
|
|
6496
7387
|
}
|
|
6497
7388
|
|
|
@@ -6537,30 +7428,6 @@ declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDis
|
|
|
6537
7428
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6538
7429
|
currency: z.ZodString;
|
|
6539
7430
|
description: z.ZodString;
|
|
6540
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6541
|
-
id: z.ZodString;
|
|
6542
|
-
status: z.ZodEnum<{
|
|
6543
|
-
pending: "pending";
|
|
6544
|
-
pending_verification: "pending_verification";
|
|
6545
|
-
paid: "paid";
|
|
6546
|
-
canceled: "canceled";
|
|
6547
|
-
refunded: "refunded";
|
|
6548
|
-
failed: "failed";
|
|
6549
|
-
}>;
|
|
6550
|
-
amount: z.ZodString;
|
|
6551
|
-
method: z.ZodLiteral<"cash">;
|
|
6552
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
6553
|
-
id: z.ZodString;
|
|
6554
|
-
status: z.ZodEnum<{
|
|
6555
|
-
pending: "pending";
|
|
6556
|
-
pending_verification: "pending_verification";
|
|
6557
|
-
paid: "paid";
|
|
6558
|
-
canceled: "canceled";
|
|
6559
|
-
refunded: "refunded";
|
|
6560
|
-
failed: "failed";
|
|
6561
|
-
}>;
|
|
6562
|
-
amount: z.ZodString;
|
|
6563
|
-
method: z.ZodLiteral<"credit_card">;
|
|
6564
7431
|
}, z.core.$strip>], "method">;
|
|
6565
7432
|
type ResolveSubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema>;
|
|
6566
7433
|
declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema, typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema> {
|
|
@@ -6608,7 +7475,67 @@ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequ
|
|
|
6608
7475
|
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6609
7476
|
currency: z.ZodString;
|
|
6610
7477
|
description: z.ZodString;
|
|
6611
|
-
}, z.core.$strip
|
|
7478
|
+
}, z.core.$strip>], "method">;
|
|
7479
|
+
readonly querySchema: undefined;
|
|
7480
|
+
readonly headersSchema: undefined;
|
|
7481
|
+
private readonly renewalId;
|
|
7482
|
+
constructor(renewalId: string, input: ResolveSubscriptionTimeBasedRenewalPaymentInput);
|
|
7483
|
+
getPath(): string;
|
|
7484
|
+
}
|
|
7485
|
+
|
|
7486
|
+
declare const retrySubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
|
|
7487
|
+
method: z.ZodEnum<{
|
|
7488
|
+
stripe: "stripe";
|
|
7489
|
+
bank_transfer: "bank_transfer";
|
|
7490
|
+
}>;
|
|
7491
|
+
}, z.core.$strip>;
|
|
7492
|
+
type RetrySubscriptionTimeBasedRenewalPaymentInput = z.input<typeof retrySubscriptionTimeBasedRenewalPaymentInputSchema>;
|
|
7493
|
+
declare const retrySubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7494
|
+
id: z.ZodString;
|
|
7495
|
+
status: z.ZodEnum<{
|
|
7496
|
+
pending: "pending";
|
|
7497
|
+
pending_verification: "pending_verification";
|
|
7498
|
+
paid: "paid";
|
|
7499
|
+
canceled: "canceled";
|
|
7500
|
+
refunded: "refunded";
|
|
7501
|
+
failed: "failed";
|
|
7502
|
+
}>;
|
|
7503
|
+
amount: z.ZodString;
|
|
7504
|
+
method: z.ZodLiteral<"stripe">;
|
|
7505
|
+
sessionUrl: z.ZodString;
|
|
7506
|
+
expiresAt: z.ZodString;
|
|
7507
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
7508
|
+
id: z.ZodString;
|
|
7509
|
+
status: z.ZodEnum<{
|
|
7510
|
+
pending: "pending";
|
|
7511
|
+
pending_verification: "pending_verification";
|
|
7512
|
+
paid: "paid";
|
|
7513
|
+
canceled: "canceled";
|
|
7514
|
+
refunded: "refunded";
|
|
7515
|
+
failed: "failed";
|
|
7516
|
+
}>;
|
|
7517
|
+
amount: z.ZodString;
|
|
7518
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
7519
|
+
iban: z.ZodString;
|
|
7520
|
+
bic: z.ZodString;
|
|
7521
|
+
accountHolder: z.ZodString;
|
|
7522
|
+
bankName: z.ZodString;
|
|
7523
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
7524
|
+
currency: z.ZodString;
|
|
7525
|
+
description: z.ZodString;
|
|
7526
|
+
}, z.core.$strip>], "method">;
|
|
7527
|
+
type RetrySubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof retrySubscriptionTimeBasedRenewalPaymentResponseSchema>;
|
|
7528
|
+
declare class RetrySubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof retrySubscriptionTimeBasedRenewalPaymentInputSchema, typeof retrySubscriptionTimeBasedRenewalPaymentResponseSchema> {
|
|
7529
|
+
readonly method: "POST";
|
|
7530
|
+
readonly contentType: "application/json";
|
|
7531
|
+
readonly accept: "application/json";
|
|
7532
|
+
readonly inputSchema: z.ZodObject<{
|
|
7533
|
+
method: z.ZodEnum<{
|
|
7534
|
+
stripe: "stripe";
|
|
7535
|
+
bank_transfer: "bank_transfer";
|
|
7536
|
+
}>;
|
|
7537
|
+
}, z.core.$strip>;
|
|
7538
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6612
7539
|
id: z.ZodString;
|
|
6613
7540
|
status: z.ZodEnum<{
|
|
6614
7541
|
pending: "pending";
|
|
@@ -6619,7 +7546,9 @@ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequ
|
|
|
6619
7546
|
failed: "failed";
|
|
6620
7547
|
}>;
|
|
6621
7548
|
amount: z.ZodString;
|
|
6622
|
-
method: z.ZodLiteral<"
|
|
7549
|
+
method: z.ZodLiteral<"stripe">;
|
|
7550
|
+
sessionUrl: z.ZodString;
|
|
7551
|
+
expiresAt: z.ZodString;
|
|
6623
7552
|
}, z.core.$strip>, z.ZodObject<{
|
|
6624
7553
|
id: z.ZodString;
|
|
6625
7554
|
status: z.ZodEnum<{
|
|
@@ -6631,12 +7560,19 @@ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequ
|
|
|
6631
7560
|
failed: "failed";
|
|
6632
7561
|
}>;
|
|
6633
7562
|
amount: z.ZodString;
|
|
6634
|
-
method: z.ZodLiteral<"
|
|
7563
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
7564
|
+
iban: z.ZodString;
|
|
7565
|
+
bic: z.ZodString;
|
|
7566
|
+
accountHolder: z.ZodString;
|
|
7567
|
+
bankName: z.ZodString;
|
|
7568
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
7569
|
+
currency: z.ZodString;
|
|
7570
|
+
description: z.ZodString;
|
|
6635
7571
|
}, z.core.$strip>], "method">;
|
|
6636
7572
|
readonly querySchema: undefined;
|
|
6637
7573
|
readonly headersSchema: undefined;
|
|
6638
7574
|
private readonly renewalId;
|
|
6639
|
-
constructor(renewalId: string,
|
|
7575
|
+
constructor(renewalId: string, method: SubscriptionPaymentMethod);
|
|
6640
7576
|
getPath(): string;
|
|
6641
7577
|
}
|
|
6642
7578
|
|
|
@@ -7840,4 +8776,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
|
|
|
7840
8776
|
getPath(): string;
|
|
7841
8777
|
}
|
|
7842
8778
|
|
|
7843
|
-
export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, AssignSubscriptionPlan, type AssignSubscriptionPlanInput, type AssignSubscriptionPlanResponse, CalculateSubscriptionPlanPurchaseQuote, type CalculateSubscriptionPlanPurchaseQuoteInput, type CalculateSubscriptionPlanPurchaseQuoteResponse, CreateSubscriptionConsumption, type CreateSubscriptionConsumptionInput, CreateSubscriptionConsumptionRenewal, type CreateSubscriptionConsumptionRenewalInput, type CreateSubscriptionConsumptionRenewalResponse, type CreateSubscriptionConsumptionResponse, CreateSubscriptionInfinite, type CreateSubscriptionInfiniteInput, type CreateSubscriptionInfiniteResponse, CreateSubscriptionPlan, type CreateSubscriptionPlanInput, type CreateSubscriptionPlanResponse, CreateSubscriptionPrice, type CreateSubscriptionPriceInput, type CreateSubscriptionPriceResponse, CreateSubscriptionPurchase, type CreateSubscriptionPurchaseInput, type CreateSubscriptionPurchaseResponse, CreateSubscriptionTimeBased, type CreateSubscriptionTimeBasedInput, CreateSubscriptionTimeBasedRenewal, type CreateSubscriptionTimeBasedRenewalInput, type CreateSubscriptionTimeBasedRenewalResponse, type CreateSubscriptionTimeBasedResponse, type CreditUsageLog, type CreditUsageLogDetails, type CreditUsageLogIri, type CreditUsageLogNullableIri, type CreditUsageLogsQueryParams, DeleteCreditUsageLog, DeleteSubscription, DeleteSubscriptionConsumption, DeleteSubscriptionConsumptionRenewal, DeleteSubscriptionInfinite, DeleteSubscriptionPlan, type DeleteSubscriptionPlanInput, type DeleteSubscriptionPlanResponse, DeleteSubscriptionPrice, DeleteSubscriptionTimeBased, DeleteSubscriptionTimeBasedRenewal, GetCreditUsageLogDetails, type GetCreditUsageLogDetailsInput, type GetCreditUsageLogDetailsResponse, GetCreditUsageLogs, GetCreditUsageLogsFromPointOfSale, type GetCreditUsageLogsFromPointOfSaleInput, type GetCreditUsageLogsFromPointOfSaleQueryParams, type GetCreditUsageLogsFromPointOfSaleResponse, type GetCreditUsageLogsInput, type GetCreditUsageLogsQueryParams, type GetCreditUsageLogsResponse, GetSubscriptionConsumptionDetails, type GetSubscriptionConsumptionDetailsInput, type GetSubscriptionConsumptionDetailsResponse, GetSubscriptionConsumptionList, type GetSubscriptionConsumptionListInput, type GetSubscriptionConsumptionListQueryParams, type GetSubscriptionConsumptionListResponse, GetSubscriptionConsumptionRenewalDetails, type GetSubscriptionConsumptionRenewalDetailsInput, type GetSubscriptionConsumptionRenewalDetailsResponse, GetSubscriptionConsumptionRenewals, GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInput, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionQueryParams, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionResponse, type GetSubscriptionConsumptionRenewalsInput, type GetSubscriptionConsumptionRenewalsQueryParams, type GetSubscriptionConsumptionRenewalsResponse, GetSubscriptionDetails, type GetSubscriptionDetailsInput, type GetSubscriptionDetailsResponse, GetSubscriptionInfiniteDetails, type GetSubscriptionInfiniteDetailsInput, type GetSubscriptionInfiniteDetailsResponse, GetSubscriptionInfiniteList, type GetSubscriptionInfiniteListInput, type GetSubscriptionInfiniteListQueryParams, type GetSubscriptionInfiniteListResponse, GetSubscriptionOverviewFromPointOfSale, type GetSubscriptionOverviewFromPointOfSaleInput, type GetSubscriptionOverviewFromPointOfSaleResponse, GetSubscriptionPlanCatalog, GetSubscriptionPlanCatalogDetails, type GetSubscriptionPlanCatalogDetailsInput, type GetSubscriptionPlanCatalogDetailsResponse, type GetSubscriptionPlanCatalogInput, type GetSubscriptionPlanCatalogResponse, GetSubscriptionPlanDetails, type GetSubscriptionPlanDetailsInput, type GetSubscriptionPlanDetailsResponse, GetSubscriptionPlans, type GetSubscriptionPlansInput, type GetSubscriptionPlansQueryParams, type GetSubscriptionPlansResponse, GetSubscriptionPriceDetails, type GetSubscriptionPriceDetailsInput, type GetSubscriptionPriceDetailsResponse, GetSubscriptionPrices, type GetSubscriptionPricesInput, type GetSubscriptionPricesQueryParams, type GetSubscriptionPricesResponse, GetSubscriptionPurchaseDetails, type GetSubscriptionPurchaseDetailsInput, type GetSubscriptionPurchaseDetailsResponse, GetSubscriptionPurchases, GetSubscriptionPurchasesFromPointOfSale, type GetSubscriptionPurchasesFromPointOfSaleInput, type GetSubscriptionPurchasesFromPointOfSaleQueryParams, type GetSubscriptionPurchasesFromPointOfSaleResponse, type GetSubscriptionPurchasesInput, type GetSubscriptionPurchasesQueryParams, type GetSubscriptionPurchasesResponse, GetSubscriptionTimeBasedDetails, type GetSubscriptionTimeBasedDetailsInput, type GetSubscriptionTimeBasedDetailsResponse, GetSubscriptionTimeBasedList, type GetSubscriptionTimeBasedListInput, type GetSubscriptionTimeBasedListQueryParams, type GetSubscriptionTimeBasedListResponse, GetSubscriptionTimeBasedRenewalDetails, type GetSubscriptionTimeBasedRenewalDetailsInput, type GetSubscriptionTimeBasedRenewalDetailsResponse, GetSubscriptionTimeBasedRenewals, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse, type GetSubscriptionTimeBasedRenewalsInput, type GetSubscriptionTimeBasedRenewalsQueryParams, type GetSubscriptionTimeBasedRenewalsResponse, GetSubscriptions, GetSubscriptionsFromPointOfSale, type GetSubscriptionsFromPointOfSaleInput, type GetSubscriptionsFromPointOfSaleQueryParams, type GetSubscriptionsFromPointOfSaleResponse, type GetSubscriptionsInput, type GetSubscriptionsQueryParams, type GetSubscriptionsResponse, PaySubscriptionConsumptionRenewal, type PaySubscriptionConsumptionRenewalInput, type PaySubscriptionConsumptionRenewalResponse, PaySubscriptionPurchase, type PaySubscriptionPurchaseInput, type PaySubscriptionPurchaseResponse, type PaySubscriptionRenewalInput, PaySubscriptionTimeBasedRenewal, type PaySubscriptionTimeBasedRenewalInput, type PaySubscriptionTimeBasedRenewalResponse, type PaymentIri, type PaymentNullableIri, type ResolvableRenewalPaymentStatus, ResolveSubscriptionConsumptionRenewalPayment, type ResolveSubscriptionConsumptionRenewalPaymentInput, type ResolveSubscriptionConsumptionRenewalPaymentResponse, ResolveSubscriptionPurchasePayment, type ResolveSubscriptionPurchasePaymentInput, type ResolveSubscriptionPurchasePaymentResponse, type ResolveSubscriptionRenewalPaymentInput, ResolveSubscriptionTimeBasedRenewalPayment, type ResolveSubscriptionTimeBasedRenewalPaymentInput, type ResolveSubscriptionTimeBasedRenewalPaymentResponse, type Subscription, type SubscriptionAvailabilityReason, type SubscriptionConsumption, type SubscriptionConsumptionDetails, type SubscriptionConsumptionIri, type SubscriptionConsumptionNullableIri, type SubscriptionConsumptionQueryParams, type SubscriptionConsumptionRenewal, type SubscriptionConsumptionRenewalDetails, type SubscriptionConsumptionRenewalIri, type SubscriptionConsumptionRenewalNullableIri, type SubscriptionConsumptionRenewalsQueryParams, type SubscriptionDetails, type SubscriptionInfinite, type SubscriptionInfiniteDetails, type SubscriptionInfiniteIri, type SubscriptionInfiniteNullableIri, type SubscriptionIri, type SubscriptionNullableIri, type SubscriptionOperationQuote, type SubscriptionOverviewPlan, type SubscriptionOverviewResponse, type SubscriptionOverviewSubscription, type SubscriptionPlan, type SubscriptionPlanIri, type SubscriptionPlanNullableIri, type SubscriptionPlanPriceOption, type SubscriptionPlanSummary, type SubscriptionPlansQueryParams, type SubscriptionPrice, type SubscriptionPriceIri, type SubscriptionPriceNullableIri, type SubscriptionPricesQueryParams, type SubscriptionPurchase, type SubscriptionPurchaseDetails, type SubscriptionPurchaseIri, type SubscriptionPurchaseNullableIri, type SubscriptionPurchaseQuote, type SubscriptionPurchaseStatus, type SubscriptionPurchasesQueryParams, type SubscriptionQueryParams, type SubscriptionRenewalPaymentInfo, type SubscriptionTimeBased, type SubscriptionTimeBasedDetails, type SubscriptionTimeBasedIri, type SubscriptionTimeBasedNullableIri, type SubscriptionTimeBasedQueryParams, type SubscriptionTimeBasedRenewal, type SubscriptionTimeBasedRenewalDetails, type SubscriptionTimeBasedRenewalIri, type SubscriptionTimeBasedRenewalNullableIri, type SubscriptionTimeBasedRenewalsQueryParams, UpdateSubscription, UpdateSubscriptionConsumption, type UpdateSubscriptionConsumptionInput, type UpdateSubscriptionConsumptionResponse, type UpdateSubscriptionInput, UpdateSubscriptionPlan, type UpdateSubscriptionPlanInput, type UpdateSubscriptionPlanResponse, UpdateSubscriptionPrice, type UpdateSubscriptionPriceInput, type UpdateSubscriptionPriceResponse, type UpdateSubscriptionResponse, UpdateSubscriptionTimeBased, type UpdateSubscriptionTimeBasedInput, type UpdateSubscriptionTimeBasedResponse, type WritableAssignedSubscriptionPlan, type WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPlan, type WritableSubscriptionPlanPurchaseQuote, type WritableSubscriptionPrice, type WritableSubscriptionPurchase, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, assignSubscriptionPlanInputSchema, assignSubscriptionPlanResponseSchema, calculateSubscriptionPlanPurchaseQuoteInputSchema, calculateSubscriptionPlanPurchaseQuoteResponseSchema, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPlanInputSchema, createSubscriptionPlanResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionPurchaseInputSchema, createSubscriptionPurchaseResponseSchema, createSubscriptionTimeBasedInputSchema, createSubscriptionTimeBasedRenewalInputSchema, createSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionTimeBasedResponseSchema, creditUsageLogDetailsSchema, creditUsageLogIriSchema, creditUsageLogNullableIriSchema, creditUsageLogSchema, creditUsageLogsQuerySchema, deleteCreditUsageLogInputSchema, deleteCreditUsageLogResponseSchema, deleteSubscriptionConsumptionInputSchema, deleteSubscriptionConsumptionRenewalInputSchema, deleteSubscriptionConsumptionRenewalResponseSchema, deleteSubscriptionConsumptionResponseSchema, deleteSubscriptionInfiniteInputSchema, deleteSubscriptionInfiniteResponseSchema, deleteSubscriptionInputSchema, deleteSubscriptionPlanInputSchema, deleteSubscriptionPlanResponseSchema, deleteSubscriptionPriceInputSchema, deleteSubscriptionPriceResponseSchema, deleteSubscriptionResponseSchema, deleteSubscriptionTimeBasedInputSchema, deleteSubscriptionTimeBasedRenewalInputSchema, deleteSubscriptionTimeBasedRenewalResponseSchema, deleteSubscriptionTimeBasedResponseSchema, getCreditUsageLogDetailsInputSchema, getCreditUsageLogDetailsResponseSchema, getCreditUsageLogsFromPointOfSaleInputSchema, getCreditUsageLogsFromPointOfSaleResponseSchema, getCreditUsageLogsInputSchema, getCreditUsageLogsResponseSchema, getSubscriptionConsumptionDetailsInputSchema, getSubscriptionConsumptionDetailsResponseSchema, getSubscriptionConsumptionListInputSchema, getSubscriptionConsumptionListResponseSchema, getSubscriptionConsumptionRenewalDetailsInputSchema, getSubscriptionConsumptionRenewalDetailsResponseSchema, getSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInputSchema, getSubscriptionConsumptionRenewalsInputSchema, getSubscriptionConsumptionRenewalsResponseSchema, getSubscriptionDetailsInputSchema, getSubscriptionDetailsResponseSchema, getSubscriptionInfiniteDetailsInputSchema, getSubscriptionInfiniteDetailsResponseSchema, getSubscriptionInfiniteListInputSchema, getSubscriptionInfiniteListResponseSchema, getSubscriptionOverviewFromPointOfSaleInputSchema, getSubscriptionOverviewFromPointOfSaleResponseSchema, getSubscriptionPlanCatalogDetailsInputSchema, getSubscriptionPlanCatalogDetailsResponseSchema, getSubscriptionPlanCatalogInputSchema, getSubscriptionPlanCatalogResponseSchema, getSubscriptionPlanDetailsInputSchema, getSubscriptionPlanDetailsResponseSchema, getSubscriptionPlansInputSchema, getSubscriptionPlansResponseSchema, getSubscriptionPriceDetailsInputSchema, getSubscriptionPriceDetailsResponseSchema, getSubscriptionPricesInputSchema, getSubscriptionPricesResponseSchema, getSubscriptionPurchaseDetailsInputSchema, getSubscriptionPurchaseDetailsResponseSchema, getSubscriptionPurchasesFromPointOfSaleInputSchema, getSubscriptionPurchasesInputSchema, getSubscriptionPurchasesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, paySubscriptionConsumptionRenewalInputSchema, paySubscriptionConsumptionRenewalResponseSchema, paySubscriptionPurchaseInputSchema, paySubscriptionPurchaseResponseSchema, paySubscriptionRenewalInputSchema, paySubscriptionTimeBasedRenewalInputSchema, paySubscriptionTimeBasedRenewalResponseSchema, paymentIriSchema, paymentNullableIriSchema, resolvableRenewalPaymentStatusSchema, resolvableRenewalPaymentStatuses, resolveSubscriptionConsumptionRenewalPaymentInputSchema, resolveSubscriptionConsumptionRenewalPaymentResponseSchema, resolveSubscriptionPurchasePaymentInputSchema, resolveSubscriptionPurchasePaymentResponseSchema, resolveSubscriptionRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentResponseSchema, subscriptionAvailabilityReasonSchema, subscriptionAvailabilityReasons, subscriptionConsumptionDetailsSchema, subscriptionConsumptionIriSchema, subscriptionConsumptionNullableIriSchema, subscriptionConsumptionQuerySchema, subscriptionConsumptionRenewalDetailsSchema, subscriptionConsumptionRenewalIriSchema, subscriptionConsumptionRenewalNullableIriSchema, subscriptionConsumptionRenewalSchema, subscriptionConsumptionRenewalsQuerySchema, subscriptionConsumptionSchema, subscriptionDetailsSchema, subscriptionInfiniteDetailsSchema, subscriptionInfiniteIriSchema, subscriptionInfiniteNullableIriSchema, subscriptionInfiniteSchema, subscriptionIriSchema, subscriptionNullableIriSchema, subscriptionOperationQuoteSchema, subscriptionOverviewPlanSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPlanIriSchema, subscriptionPlanNullableIriSchema, subscriptionPlanPriceOptionSchema, subscriptionPlanSchema, subscriptionPlanSummarySchema, subscriptionPlansQuerySchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, subscriptionPurchaseDetailsSchema, subscriptionPurchaseIriSchema, subscriptionPurchaseNullableIriSchema, subscriptionPurchaseQuoteSchema, subscriptionPurchaseSchema, subscriptionPurchaseStatusSchema, subscriptionPurchaseStatuses, subscriptionPurchasesQuerySchema, subscriptionQuerySchema, subscriptionRenewalPaymentInfoSchema, subscriptionSchema, subscriptionTimeBasedDetailsSchema, subscriptionTimeBasedIriSchema, subscriptionTimeBasedNullableIriSchema, subscriptionTimeBasedQuerySchema, subscriptionTimeBasedRenewalDetailsSchema, subscriptionTimeBasedRenewalIriSchema, subscriptionTimeBasedRenewalNullableIriSchema, subscriptionTimeBasedRenewalSchema, subscriptionTimeBasedRenewalsQuerySchema, subscriptionTimeBasedSchema, updateSubscriptionConsumptionInputSchema, updateSubscriptionConsumptionResponseSchema, updateSubscriptionInputSchema, updateSubscriptionPlanInputSchema, updateSubscriptionPlanResponseSchema, updateSubscriptionPriceInputSchema, updateSubscriptionPriceResponseSchema, updateSubscriptionResponseSchema, updateSubscriptionTimeBasedInputSchema, updateSubscriptionTimeBasedResponseSchema, writableSubscriptionCommonSchema, writableSubscriptionConsumptionRenewalSchema, writableSubscriptionConsumptionSchema, writableSubscriptionInfiniteSchema, writableSubscriptionPlanSchema, writableSubscriptionPriceSchema, writableSubscriptionPurchaseSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };
|
|
8779
|
+
export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, AssignSubscriptionPlan, type AssignSubscriptionPlanInput, type AssignSubscriptionPlanResponse, CalculateSubscriptionPlanPurchaseQuote, type CalculateSubscriptionPlanPurchaseQuoteInput, type CalculateSubscriptionPlanPurchaseQuoteResponse, CancelSubscriptionConsumptionRenewal, type CancelSubscriptionConsumptionRenewalInput, type CancelSubscriptionConsumptionRenewalResponse, CancelSubscriptionPurchase, type CancelSubscriptionPurchaseInput, type CancelSubscriptionPurchaseResponse, CancelSubscriptionTimeBasedRenewal, type CancelSubscriptionTimeBasedRenewalInput, type CancelSubscriptionTimeBasedRenewalResponse, CreateSubscriptionConsumption, type CreateSubscriptionConsumptionInput, CreateSubscriptionConsumptionRenewal, type CreateSubscriptionConsumptionRenewalInput, type CreateSubscriptionConsumptionRenewalResponse, type CreateSubscriptionConsumptionResponse, CreateSubscriptionInfinite, type CreateSubscriptionInfiniteInput, type CreateSubscriptionInfiniteResponse, CreateSubscriptionPlan, type CreateSubscriptionPlanInput, type CreateSubscriptionPlanResponse, CreateSubscriptionPrice, type CreateSubscriptionPriceInput, type CreateSubscriptionPriceResponse, CreateSubscriptionPurchase, type CreateSubscriptionPurchaseInput, type CreateSubscriptionPurchaseResponse, CreateSubscriptionTimeBased, type CreateSubscriptionTimeBasedInput, CreateSubscriptionTimeBasedRenewal, type CreateSubscriptionTimeBasedRenewalInput, type CreateSubscriptionTimeBasedRenewalResponse, type CreateSubscriptionTimeBasedResponse, type CreditUsageLog, type CreditUsageLogDetails, type CreditUsageLogIri, type CreditUsageLogNullableIri, type CreditUsageLogsQueryParams, DeleteCreditUsageLog, DeleteSubscription, DeleteSubscriptionConsumption, DeleteSubscriptionConsumptionRenewal, DeleteSubscriptionInfinite, DeleteSubscriptionPlan, type DeleteSubscriptionPlanInput, type DeleteSubscriptionPlanResponse, DeleteSubscriptionPrice, DeleteSubscriptionTimeBased, DeleteSubscriptionTimeBasedRenewal, GetCreditUsageLogDetails, type GetCreditUsageLogDetailsInput, type GetCreditUsageLogDetailsResponse, GetCreditUsageLogs, GetCreditUsageLogsFromPointOfSale, type GetCreditUsageLogsFromPointOfSaleInput, type GetCreditUsageLogsFromPointOfSaleQueryParams, type GetCreditUsageLogsFromPointOfSaleResponse, type GetCreditUsageLogsInput, type GetCreditUsageLogsQueryParams, type GetCreditUsageLogsResponse, GetSubscriptionConsumptionDetails, type GetSubscriptionConsumptionDetailsInput, type GetSubscriptionConsumptionDetailsResponse, GetSubscriptionConsumptionList, type GetSubscriptionConsumptionListInput, type GetSubscriptionConsumptionListQueryParams, type GetSubscriptionConsumptionListResponse, GetSubscriptionConsumptionRenewalDetails, type GetSubscriptionConsumptionRenewalDetailsInput, type GetSubscriptionConsumptionRenewalDetailsResponse, GetSubscriptionConsumptionRenewals, GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInput, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionQueryParams, type GetSubscriptionConsumptionRenewalsFromSubscriptionConsumptionResponse, type GetSubscriptionConsumptionRenewalsInput, type GetSubscriptionConsumptionRenewalsQueryParams, type GetSubscriptionConsumptionRenewalsResponse, GetSubscriptionDetails, type GetSubscriptionDetailsInput, type GetSubscriptionDetailsResponse, GetSubscriptionInfiniteDetails, type GetSubscriptionInfiniteDetailsInput, type GetSubscriptionInfiniteDetailsResponse, GetSubscriptionInfiniteList, type GetSubscriptionInfiniteListInput, type GetSubscriptionInfiniteListQueryParams, type GetSubscriptionInfiniteListResponse, GetSubscriptionOverviewFromPointOfSale, type GetSubscriptionOverviewFromPointOfSaleInput, type GetSubscriptionOverviewFromPointOfSaleResponse, GetSubscriptionPlanCatalog, GetSubscriptionPlanCatalogDetails, type GetSubscriptionPlanCatalogDetailsInput, type GetSubscriptionPlanCatalogDetailsResponse, type GetSubscriptionPlanCatalogInput, type GetSubscriptionPlanCatalogResponse, GetSubscriptionPlanDetails, type GetSubscriptionPlanDetailsInput, type GetSubscriptionPlanDetailsResponse, GetSubscriptionPlans, type GetSubscriptionPlansInput, type GetSubscriptionPlansQueryParams, type GetSubscriptionPlansResponse, GetSubscriptionPriceDetails, type GetSubscriptionPriceDetailsInput, type GetSubscriptionPriceDetailsResponse, GetSubscriptionPrices, type GetSubscriptionPricesInput, type GetSubscriptionPricesQueryParams, type GetSubscriptionPricesResponse, GetSubscriptionPurchaseDetails, type GetSubscriptionPurchaseDetailsInput, type GetSubscriptionPurchaseDetailsResponse, GetSubscriptionPurchases, GetSubscriptionPurchasesFromPointOfSale, type GetSubscriptionPurchasesFromPointOfSaleInput, type GetSubscriptionPurchasesFromPointOfSaleQueryParams, type GetSubscriptionPurchasesFromPointOfSaleResponse, type GetSubscriptionPurchasesInput, type GetSubscriptionPurchasesQueryParams, type GetSubscriptionPurchasesResponse, GetSubscriptionTimeBasedDetails, type GetSubscriptionTimeBasedDetailsInput, type GetSubscriptionTimeBasedDetailsResponse, GetSubscriptionTimeBasedList, type GetSubscriptionTimeBasedListInput, type GetSubscriptionTimeBasedListQueryParams, type GetSubscriptionTimeBasedListResponse, GetSubscriptionTimeBasedRenewalDetails, type GetSubscriptionTimeBasedRenewalDetailsInput, type GetSubscriptionTimeBasedRenewalDetailsResponse, GetSubscriptionTimeBasedRenewals, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams, type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse, type GetSubscriptionTimeBasedRenewalsInput, type GetSubscriptionTimeBasedRenewalsQueryParams, type GetSubscriptionTimeBasedRenewalsResponse, GetSubscriptions, GetSubscriptionsFromPointOfSale, type GetSubscriptionsFromPointOfSaleInput, type GetSubscriptionsFromPointOfSaleQueryParams, type GetSubscriptionsFromPointOfSaleResponse, type GetSubscriptionsInput, type GetSubscriptionsQueryParams, type GetSubscriptionsResponse, type ManageSubscriptionBillingInput, PaySubscriptionConsumptionRenewal, type PaySubscriptionConsumptionRenewalInput, type PaySubscriptionConsumptionRenewalResponse, PaySubscriptionPurchase, type PaySubscriptionPurchaseInput, type PaySubscriptionPurchaseResponse, type PaySubscriptionRenewalInput, PaySubscriptionTimeBasedRenewal, type PaySubscriptionTimeBasedRenewalInput, type PaySubscriptionTimeBasedRenewalResponse, type PaymentIri, type PaymentNullableIri, RefundSubscriptionConsumptionRenewal, type RefundSubscriptionConsumptionRenewalInput, type RefundSubscriptionConsumptionRenewalResponse, RefundSubscriptionPurchase, type RefundSubscriptionPurchaseInput, type RefundSubscriptionPurchaseResponse, RefundSubscriptionTimeBasedRenewal, type RefundSubscriptionTimeBasedRenewalInput, type RefundSubscriptionTimeBasedRenewalResponse, type ResolvableRenewalPaymentStatus, ResolveSubscriptionConsumptionRenewalPayment, type ResolveSubscriptionConsumptionRenewalPaymentInput, type ResolveSubscriptionConsumptionRenewalPaymentResponse, ResolveSubscriptionPurchasePayment, type ResolveSubscriptionPurchasePaymentInput, type ResolveSubscriptionPurchasePaymentResponse, type ResolveSubscriptionRenewalPaymentInput, ResolveSubscriptionTimeBasedRenewalPayment, type ResolveSubscriptionTimeBasedRenewalPaymentInput, type ResolveSubscriptionTimeBasedRenewalPaymentResponse, RetrySubscriptionConsumptionRenewalPayment, type RetrySubscriptionConsumptionRenewalPaymentInput, type RetrySubscriptionConsumptionRenewalPaymentResponse, RetrySubscriptionPurchasePayment, type RetrySubscriptionPurchasePaymentInput, type RetrySubscriptionPurchasePaymentResponse, RetrySubscriptionTimeBasedRenewalPayment, type RetrySubscriptionTimeBasedRenewalPaymentInput, type RetrySubscriptionTimeBasedRenewalPaymentResponse, type Subscription, type SubscriptionAvailabilityReason, type SubscriptionConsumption, type SubscriptionConsumptionDetails, type SubscriptionConsumptionIri, type SubscriptionConsumptionNullableIri, type SubscriptionConsumptionQueryParams, type SubscriptionConsumptionRenewal, type SubscriptionConsumptionRenewalDetails, type SubscriptionConsumptionRenewalIri, type SubscriptionConsumptionRenewalNullableIri, type SubscriptionConsumptionRenewalsQueryParams, type SubscriptionDetails, type SubscriptionInfinite, type SubscriptionInfiniteDetails, type SubscriptionInfiniteIri, type SubscriptionInfiniteNullableIri, type SubscriptionIri, type SubscriptionNullableIri, type SubscriptionOperationQuote, type SubscriptionOverviewPlan, type SubscriptionOverviewResponse, type SubscriptionOverviewSubscription, type SubscriptionPaymentMethod, type SubscriptionPlan, type SubscriptionPlanIri, type SubscriptionPlanNullableIri, type SubscriptionPlanPriceOption, type SubscriptionPlanSummary, type SubscriptionPlansQueryParams, type SubscriptionPrice, type SubscriptionPriceIri, type SubscriptionPriceNullableIri, type SubscriptionPricesQueryParams, type SubscriptionPurchase, type SubscriptionPurchaseDetails, type SubscriptionPurchaseIri, type SubscriptionPurchaseLifecycleResponse, type SubscriptionPurchaseLifecycleSubscription, type SubscriptionPurchaseNullableIri, type SubscriptionPurchaseQuote, type SubscriptionPurchaseStatus, type SubscriptionPurchasesQueryParams, type SubscriptionQueryParams, type SubscriptionRenewalLifecycleResponse, type SubscriptionRenewalLifecycleSubscription, type SubscriptionRenewalPaymentInfo, type SubscriptionTimeBased, type SubscriptionTimeBasedDetails, type SubscriptionTimeBasedIri, type SubscriptionTimeBasedNullableIri, type SubscriptionTimeBasedQueryParams, type SubscriptionTimeBasedRenewal, type SubscriptionTimeBasedRenewalDetails, type SubscriptionTimeBasedRenewalIri, type SubscriptionTimeBasedRenewalNullableIri, type SubscriptionTimeBasedRenewalsQueryParams, UpdateSubscription, UpdateSubscriptionConsumption, type UpdateSubscriptionConsumptionInput, type UpdateSubscriptionConsumptionResponse, type UpdateSubscriptionInput, UpdateSubscriptionPlan, type UpdateSubscriptionPlanInput, type UpdateSubscriptionPlanResponse, UpdateSubscriptionPrice, type UpdateSubscriptionPriceInput, type UpdateSubscriptionPriceResponse, type UpdateSubscriptionResponse, UpdateSubscriptionTimeBased, type UpdateSubscriptionTimeBasedInput, type UpdateSubscriptionTimeBasedResponse, type WritableAssignedSubscriptionPlan, type WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPlan, type WritableSubscriptionPlanPurchaseQuote, type WritableSubscriptionPrice, type WritableSubscriptionPurchase, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, assignSubscriptionPlanInputSchema, assignSubscriptionPlanResponseSchema, calculateSubscriptionPlanPurchaseQuoteInputSchema, calculateSubscriptionPlanPurchaseQuoteResponseSchema, cancelSubscriptionConsumptionRenewalInputSchema, cancelSubscriptionConsumptionRenewalResponseSchema, cancelSubscriptionPurchaseInputSchema, cancelSubscriptionPurchaseResponseSchema, cancelSubscriptionTimeBasedRenewalInputSchema, cancelSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPlanInputSchema, createSubscriptionPlanResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionPurchaseInputSchema, createSubscriptionPurchaseResponseSchema, createSubscriptionTimeBasedInputSchema, createSubscriptionTimeBasedRenewalInputSchema, createSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionTimeBasedResponseSchema, creditUsageLogDetailsSchema, creditUsageLogIriSchema, creditUsageLogNullableIriSchema, creditUsageLogSchema, creditUsageLogsQuerySchema, deleteCreditUsageLogInputSchema, deleteCreditUsageLogResponseSchema, deleteSubscriptionConsumptionInputSchema, deleteSubscriptionConsumptionRenewalInputSchema, deleteSubscriptionConsumptionRenewalResponseSchema, deleteSubscriptionConsumptionResponseSchema, deleteSubscriptionInfiniteInputSchema, deleteSubscriptionInfiniteResponseSchema, deleteSubscriptionInputSchema, deleteSubscriptionPlanInputSchema, deleteSubscriptionPlanResponseSchema, deleteSubscriptionPriceInputSchema, deleteSubscriptionPriceResponseSchema, deleteSubscriptionResponseSchema, deleteSubscriptionTimeBasedInputSchema, deleteSubscriptionTimeBasedRenewalInputSchema, deleteSubscriptionTimeBasedRenewalResponseSchema, deleteSubscriptionTimeBasedResponseSchema, getCreditUsageLogDetailsInputSchema, getCreditUsageLogDetailsResponseSchema, getCreditUsageLogsFromPointOfSaleInputSchema, getCreditUsageLogsFromPointOfSaleResponseSchema, getCreditUsageLogsInputSchema, getCreditUsageLogsResponseSchema, getSubscriptionConsumptionDetailsInputSchema, getSubscriptionConsumptionDetailsResponseSchema, getSubscriptionConsumptionListInputSchema, getSubscriptionConsumptionListResponseSchema, getSubscriptionConsumptionRenewalDetailsInputSchema, getSubscriptionConsumptionRenewalDetailsResponseSchema, getSubscriptionConsumptionRenewalsFromSubscriptionConsumptionInputSchema, getSubscriptionConsumptionRenewalsInputSchema, getSubscriptionConsumptionRenewalsResponseSchema, getSubscriptionDetailsInputSchema, getSubscriptionDetailsResponseSchema, getSubscriptionInfiniteDetailsInputSchema, getSubscriptionInfiniteDetailsResponseSchema, getSubscriptionInfiniteListInputSchema, getSubscriptionInfiniteListResponseSchema, getSubscriptionOverviewFromPointOfSaleInputSchema, getSubscriptionOverviewFromPointOfSaleResponseSchema, getSubscriptionPlanCatalogDetailsInputSchema, getSubscriptionPlanCatalogDetailsResponseSchema, getSubscriptionPlanCatalogInputSchema, getSubscriptionPlanCatalogResponseSchema, getSubscriptionPlanDetailsInputSchema, getSubscriptionPlanDetailsResponseSchema, getSubscriptionPlansInputSchema, getSubscriptionPlansResponseSchema, getSubscriptionPriceDetailsInputSchema, getSubscriptionPriceDetailsResponseSchema, getSubscriptionPricesInputSchema, getSubscriptionPricesResponseSchema, getSubscriptionPurchaseDetailsInputSchema, getSubscriptionPurchaseDetailsResponseSchema, getSubscriptionPurchasesFromPointOfSaleInputSchema, getSubscriptionPurchasesInputSchema, getSubscriptionPurchasesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, manageSubscriptionBillingInputSchema, paySubscriptionConsumptionRenewalInputSchema, paySubscriptionConsumptionRenewalResponseSchema, paySubscriptionPurchaseInputSchema, paySubscriptionPurchaseResponseSchema, paySubscriptionRenewalInputSchema, paySubscriptionTimeBasedRenewalInputSchema, paySubscriptionTimeBasedRenewalResponseSchema, paymentIriSchema, paymentNullableIriSchema, refundSubscriptionConsumptionRenewalInputSchema, refundSubscriptionConsumptionRenewalResponseSchema, refundSubscriptionPurchaseInputSchema, refundSubscriptionPurchaseResponseSchema, refundSubscriptionTimeBasedRenewalInputSchema, refundSubscriptionTimeBasedRenewalResponseSchema, resolvableRenewalPaymentStatusSchema, resolvableRenewalPaymentStatuses, resolveSubscriptionConsumptionRenewalPaymentInputSchema, resolveSubscriptionConsumptionRenewalPaymentResponseSchema, resolveSubscriptionPurchasePaymentInputSchema, resolveSubscriptionPurchasePaymentResponseSchema, resolveSubscriptionRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentResponseSchema, retrySubscriptionConsumptionRenewalPaymentInputSchema, retrySubscriptionConsumptionRenewalPaymentResponseSchema, retrySubscriptionPurchasePaymentInputSchema, retrySubscriptionPurchasePaymentResponseSchema, retrySubscriptionTimeBasedRenewalPaymentInputSchema, retrySubscriptionTimeBasedRenewalPaymentResponseSchema, subscriptionAvailabilityReasonSchema, subscriptionAvailabilityReasons, subscriptionConsumptionDetailsSchema, subscriptionConsumptionIriSchema, subscriptionConsumptionNullableIriSchema, subscriptionConsumptionQuerySchema, subscriptionConsumptionRenewalDetailsSchema, subscriptionConsumptionRenewalIriSchema, subscriptionConsumptionRenewalNullableIriSchema, subscriptionConsumptionRenewalSchema, subscriptionConsumptionRenewalsQuerySchema, subscriptionConsumptionSchema, subscriptionDetailsSchema, subscriptionInfiniteDetailsSchema, subscriptionInfiniteIriSchema, subscriptionInfiniteNullableIriSchema, subscriptionInfiniteSchema, subscriptionIriSchema, subscriptionNullableIriSchema, subscriptionOperationQuoteSchema, subscriptionOverviewPlanSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPaymentMethodSchema, subscriptionPaymentMethods, subscriptionPlanIriSchema, subscriptionPlanNullableIriSchema, subscriptionPlanPriceOptionSchema, subscriptionPlanSchema, subscriptionPlanSummarySchema, subscriptionPlansQuerySchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, subscriptionPurchaseDetailsSchema, subscriptionPurchaseIriSchema, subscriptionPurchaseLifecycleResponseSchema, subscriptionPurchaseLifecycleSubscriptionSchema, subscriptionPurchaseNullableIriSchema, subscriptionPurchaseQuoteSchema, subscriptionPurchaseSchema, subscriptionPurchaseStatusSchema, subscriptionPurchaseStatuses, subscriptionPurchasesQuerySchema, subscriptionQuerySchema, subscriptionRenewalLifecycleResponseSchema, subscriptionRenewalLifecycleSubscriptionSchema, subscriptionRenewalPaymentInfoSchema, subscriptionSchema, subscriptionTimeBasedDetailsSchema, subscriptionTimeBasedIriSchema, subscriptionTimeBasedNullableIriSchema, subscriptionTimeBasedQuerySchema, subscriptionTimeBasedRenewalDetailsSchema, subscriptionTimeBasedRenewalIriSchema, subscriptionTimeBasedRenewalNullableIriSchema, subscriptionTimeBasedRenewalSchema, subscriptionTimeBasedRenewalsQuerySchema, subscriptionTimeBasedSchema, updateSubscriptionConsumptionInputSchema, updateSubscriptionConsumptionResponseSchema, updateSubscriptionInputSchema, updateSubscriptionPlanInputSchema, updateSubscriptionPlanResponseSchema, updateSubscriptionPriceInputSchema, updateSubscriptionPriceResponseSchema, updateSubscriptionResponseSchema, updateSubscriptionTimeBasedInputSchema, updateSubscriptionTimeBasedResponseSchema, writableSubscriptionCommonSchema, writableSubscriptionConsumptionRenewalSchema, writableSubscriptionConsumptionSchema, writableSubscriptionInfiniteSchema, writableSubscriptionPlanSchema, writableSubscriptionPriceSchema, writableSubscriptionPurchaseSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };
|