@deliverart/sdk-js-subscription 2.13.6 → 2.13.7

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/dist/index.d.ts CHANGED
@@ -758,6 +758,216 @@ declare const resolveSubscriptionRenewalPaymentInputSchema: z.ZodObject<{
758
758
  response: z.ZodOptional<z.ZodString>;
759
759
  }, z.core.$strip>;
760
760
  type ResolveSubscriptionRenewalPaymentInput = z.infer<typeof resolveSubscriptionRenewalPaymentInputSchema>;
761
+ declare const manageSubscriptionBillingInputSchema: z.ZodObject<{
762
+ response: z.ZodOptional<z.ZodString>;
763
+ }, z.core.$strip>;
764
+ type ManageSubscriptionBillingInput = z.infer<typeof manageSubscriptionBillingInputSchema>;
765
+ declare const subscriptionPurchaseLifecycleSubscriptionSchema: z.ZodObject<{
766
+ id: z.ZodString;
767
+ status: z.ZodEnum<{
768
+ created: "created";
769
+ active: "active";
770
+ pending_renewal: "pending_renewal";
771
+ expired: "expired";
772
+ suspended: "suspended";
773
+ cancelled: "cancelled";
774
+ }>;
775
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
776
+ infinite: "infinite";
777
+ time_based: "time_based";
778
+ consumption: "consumption";
779
+ }>>>;
780
+ }, z.core.$strip>;
781
+ type SubscriptionPurchaseLifecycleSubscription = z.infer<typeof subscriptionPurchaseLifecycleSubscriptionSchema>;
782
+ declare const subscriptionPurchaseLifecycleResponseSchema: z.ZodObject<{
783
+ id: z.ZodString;
784
+ status: z.ZodEnum<{
785
+ pending: "pending";
786
+ completed: "completed";
787
+ cancelled: "cancelled";
788
+ failed: "failed";
789
+ }>;
790
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
791
+ id: z.ZodString;
792
+ status: z.ZodEnum<{
793
+ pending: "pending";
794
+ pending_verification: "pending_verification";
795
+ paid: "paid";
796
+ canceled: "canceled";
797
+ refunded: "refunded";
798
+ failed: "failed";
799
+ }>;
800
+ amount: z.ZodString;
801
+ method: z.ZodLiteral<"stripe">;
802
+ sessionUrl: z.ZodString;
803
+ expiresAt: z.ZodString;
804
+ }, z.core.$strip>, z.ZodObject<{
805
+ id: z.ZodString;
806
+ status: z.ZodEnum<{
807
+ pending: "pending";
808
+ pending_verification: "pending_verification";
809
+ paid: "paid";
810
+ canceled: "canceled";
811
+ refunded: "refunded";
812
+ failed: "failed";
813
+ }>;
814
+ amount: z.ZodString;
815
+ method: z.ZodLiteral<"bank_transfer">;
816
+ iban: z.ZodString;
817
+ bic: z.ZodString;
818
+ accountHolder: z.ZodString;
819
+ bankName: z.ZodString;
820
+ bankAddress: z.ZodNullable<z.ZodString>;
821
+ currency: z.ZodString;
822
+ description: z.ZodString;
823
+ }, z.core.$strip>, z.ZodObject<{
824
+ id: z.ZodString;
825
+ status: z.ZodEnum<{
826
+ pending: "pending";
827
+ pending_verification: "pending_verification";
828
+ paid: "paid";
829
+ canceled: "canceled";
830
+ refunded: "refunded";
831
+ failed: "failed";
832
+ }>;
833
+ amount: z.ZodString;
834
+ method: z.ZodLiteral<"cash">;
835
+ }, z.core.$strip>, z.ZodObject<{
836
+ id: z.ZodString;
837
+ status: z.ZodEnum<{
838
+ pending: "pending";
839
+ pending_verification: "pending_verification";
840
+ paid: "paid";
841
+ canceled: "canceled";
842
+ refunded: "refunded";
843
+ failed: "failed";
844
+ }>;
845
+ amount: z.ZodString;
846
+ method: z.ZodLiteral<"credit_card">;
847
+ }, z.core.$strip>], "method">>;
848
+ subscription: z.ZodNullable<z.ZodObject<{
849
+ id: z.ZodString;
850
+ status: z.ZodEnum<{
851
+ created: "created";
852
+ active: "active";
853
+ pending_renewal: "pending_renewal";
854
+ expired: "expired";
855
+ suspended: "suspended";
856
+ cancelled: "cancelled";
857
+ }>;
858
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
859
+ infinite: "infinite";
860
+ time_based: "time_based";
861
+ consumption: "consumption";
862
+ }>>>;
863
+ }, z.core.$strip>>;
864
+ }, z.core.$strip>;
865
+ type SubscriptionPurchaseLifecycleResponse = z.infer<typeof subscriptionPurchaseLifecycleResponseSchema>;
866
+ declare const subscriptionRenewalLifecycleSubscriptionSchema: z.ZodObject<{
867
+ id: z.ZodString;
868
+ status: z.ZodEnum<{
869
+ created: "created";
870
+ active: "active";
871
+ pending_renewal: "pending_renewal";
872
+ expired: "expired";
873
+ suspended: "suspended";
874
+ cancelled: "cancelled";
875
+ }>;
876
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
877
+ infinite: "infinite";
878
+ time_based: "time_based";
879
+ consumption: "consumption";
880
+ }>>>;
881
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
882
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
883
+ }, z.core.$strip>;
884
+ type SubscriptionRenewalLifecycleSubscription = z.infer<typeof subscriptionRenewalLifecycleSubscriptionSchema>;
885
+ declare const subscriptionRenewalLifecycleResponseSchema: z.ZodObject<{
886
+ id: z.ZodString;
887
+ status: z.ZodEnum<{
888
+ pending: "pending";
889
+ failed: "failed";
890
+ cancelled: "cancelled";
891
+ completed: "completed";
892
+ }>;
893
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
894
+ id: z.ZodString;
895
+ status: z.ZodEnum<{
896
+ pending: "pending";
897
+ pending_verification: "pending_verification";
898
+ paid: "paid";
899
+ canceled: "canceled";
900
+ refunded: "refunded";
901
+ failed: "failed";
902
+ }>;
903
+ amount: z.ZodString;
904
+ method: z.ZodLiteral<"stripe">;
905
+ sessionUrl: z.ZodString;
906
+ expiresAt: z.ZodString;
907
+ }, z.core.$strip>, z.ZodObject<{
908
+ id: z.ZodString;
909
+ status: z.ZodEnum<{
910
+ pending: "pending";
911
+ pending_verification: "pending_verification";
912
+ paid: "paid";
913
+ canceled: "canceled";
914
+ refunded: "refunded";
915
+ failed: "failed";
916
+ }>;
917
+ amount: z.ZodString;
918
+ method: z.ZodLiteral<"bank_transfer">;
919
+ iban: z.ZodString;
920
+ bic: z.ZodString;
921
+ accountHolder: z.ZodString;
922
+ bankName: z.ZodString;
923
+ bankAddress: z.ZodNullable<z.ZodString>;
924
+ currency: z.ZodString;
925
+ description: z.ZodString;
926
+ }, z.core.$strip>, z.ZodObject<{
927
+ id: z.ZodString;
928
+ status: z.ZodEnum<{
929
+ pending: "pending";
930
+ pending_verification: "pending_verification";
931
+ paid: "paid";
932
+ canceled: "canceled";
933
+ refunded: "refunded";
934
+ failed: "failed";
935
+ }>;
936
+ amount: z.ZodString;
937
+ method: z.ZodLiteral<"cash">;
938
+ }, z.core.$strip>, z.ZodObject<{
939
+ id: z.ZodString;
940
+ status: z.ZodEnum<{
941
+ pending: "pending";
942
+ pending_verification: "pending_verification";
943
+ paid: "paid";
944
+ canceled: "canceled";
945
+ refunded: "refunded";
946
+ failed: "failed";
947
+ }>;
948
+ amount: z.ZodString;
949
+ method: z.ZodLiteral<"credit_card">;
950
+ }, z.core.$strip>], "method">>;
951
+ subscription: z.ZodObject<{
952
+ id: z.ZodString;
953
+ status: z.ZodEnum<{
954
+ created: "created";
955
+ active: "active";
956
+ pending_renewal: "pending_renewal";
957
+ expired: "expired";
958
+ suspended: "suspended";
959
+ cancelled: "cancelled";
960
+ }>;
961
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
962
+ infinite: "infinite";
963
+ time_based: "time_based";
964
+ consumption: "consumption";
965
+ }>>>;
966
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
967
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
968
+ }, z.core.$strip>;
969
+ }, z.core.$strip>;
970
+ type SubscriptionRenewalLifecycleResponse = z.infer<typeof subscriptionRenewalLifecycleResponseSchema>;
761
971
  declare const writableSubscriptionPurchaseSchema: z.ZodObject<{
762
972
  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
973
  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>>;
@@ -2648,12 +2858,11 @@ declare class UpdateSubscriptionConsumption extends AbstractApiRequest<typeof up
2648
2858
  getPath(): string;
2649
2859
  }
2650
2860
 
2651
- declare const createSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
2652
- 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>>>;
2653
- credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
2861
+ declare const cancelSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
2862
+ response: z.ZodOptional<z.ZodString>;
2654
2863
  }, z.core.$strip>;
2655
- type CreateSubscriptionConsumptionRenewalInput = z.input<typeof createSubscriptionConsumptionRenewalInputSchema>;
2656
- declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
2864
+ type CancelSubscriptionConsumptionRenewalInput = z.input<typeof cancelSubscriptionConsumptionRenewalInputSchema>;
2865
+ declare const cancelSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
2657
2866
  id: z.ZodString;
2658
2867
  status: z.ZodEnum<{
2659
2868
  pending: "pending";
@@ -2661,72 +2870,262 @@ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
2661
2870
  cancelled: "cancelled";
2662
2871
  completed: "completed";
2663
2872
  }>;
2664
- price: z.ZodString;
2665
- createdAt: z.ZodString;
2666
- updatedAt: z.ZodString;
2667
- 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>>;
2668
- credits: z.ZodCoercedNumber<unknown>;
2669
- pricePerCredit: z.ZodCoercedNumber<unknown>;
2670
- 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>>;
2671
- }, z.core.$strip>;
2672
- type CreateSubscriptionConsumptionRenewalResponse = z.infer<typeof createSubscriptionConsumptionRenewalResponseSchema>;
2673
- declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof createSubscriptionConsumptionRenewalInputSchema, typeof createSubscriptionConsumptionRenewalResponseSchema> {
2674
- readonly method = "POST";
2675
- readonly contentType = "application/json";
2676
- readonly accept = "application/json";
2677
- readonly inputSchema: z.ZodObject<{
2678
- 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>>>;
2679
- credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
2680
- }, z.core.$strip>;
2681
- readonly outputSchema: z.ZodObject<{
2873
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2682
2874
  id: z.ZodString;
2683
2875
  status: z.ZodEnum<{
2684
2876
  pending: "pending";
2877
+ pending_verification: "pending_verification";
2878
+ paid: "paid";
2879
+ canceled: "canceled";
2880
+ refunded: "refunded";
2685
2881
  failed: "failed";
2686
- cancelled: "cancelled";
2687
- completed: "completed";
2688
2882
  }>;
2689
- price: z.ZodString;
2690
- createdAt: z.ZodString;
2691
- updatedAt: z.ZodString;
2692
- 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>>;
2693
- credits: z.ZodCoercedNumber<unknown>;
2694
- pricePerCredit: z.ZodCoercedNumber<unknown>;
2695
- 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>>;
2696
- }, z.core.$strip>;
2697
- readonly querySchema: undefined;
2698
- readonly headersSchema: undefined;
2699
- constructor(input: CreateSubscriptionConsumptionRenewalInput);
2700
- getPath(): string;
2701
- }
2702
-
2703
- declare const deleteSubscriptionConsumptionRenewalInputSchema: z.ZodUndefined;
2704
- declare const deleteSubscriptionConsumptionRenewalResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
2705
- declare class DeleteSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof deleteSubscriptionConsumptionRenewalInputSchema, typeof deleteSubscriptionConsumptionRenewalResponseSchema> {
2706
- readonly method = "DELETE";
2707
- readonly contentType = "application/json";
2708
- readonly accept = "application/json";
2709
- readonly inputSchema: z.ZodUndefined;
2710
- readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
2711
- readonly querySchema: undefined;
2712
- readonly headersSchema: undefined;
2713
- private readonly renewalId;
2714
- constructor(renewalId: string);
2715
- getPath(): string;
2716
- }
2717
-
2718
- declare const getSubscriptionConsumptionRenewalDetailsInputSchema: z.ZodUndefined;
2719
- type GetSubscriptionConsumptionRenewalDetailsInput = z.input<typeof getSubscriptionConsumptionRenewalDetailsInputSchema>;
2720
- declare const getSubscriptionConsumptionRenewalDetailsResponseSchema: z.ZodObject<{
2721
- id: z.ZodString;
2722
- status: z.ZodEnum<{
2723
- pending: "pending";
2724
- failed: "failed";
2725
- cancelled: "cancelled";
2726
- completed: "completed";
2727
- }>;
2728
- price: z.ZodString;
2729
- createdAt: z.ZodString;
2883
+ amount: z.ZodString;
2884
+ method: z.ZodLiteral<"stripe">;
2885
+ sessionUrl: z.ZodString;
2886
+ expiresAt: z.ZodString;
2887
+ }, z.core.$strip>, z.ZodObject<{
2888
+ id: z.ZodString;
2889
+ status: z.ZodEnum<{
2890
+ pending: "pending";
2891
+ pending_verification: "pending_verification";
2892
+ paid: "paid";
2893
+ canceled: "canceled";
2894
+ refunded: "refunded";
2895
+ failed: "failed";
2896
+ }>;
2897
+ amount: z.ZodString;
2898
+ method: z.ZodLiteral<"bank_transfer">;
2899
+ iban: z.ZodString;
2900
+ bic: z.ZodString;
2901
+ accountHolder: z.ZodString;
2902
+ bankName: z.ZodString;
2903
+ bankAddress: z.ZodNullable<z.ZodString>;
2904
+ currency: z.ZodString;
2905
+ description: z.ZodString;
2906
+ }, z.core.$strip>, z.ZodObject<{
2907
+ id: z.ZodString;
2908
+ status: z.ZodEnum<{
2909
+ pending: "pending";
2910
+ pending_verification: "pending_verification";
2911
+ paid: "paid";
2912
+ canceled: "canceled";
2913
+ refunded: "refunded";
2914
+ failed: "failed";
2915
+ }>;
2916
+ amount: z.ZodString;
2917
+ method: z.ZodLiteral<"cash">;
2918
+ }, z.core.$strip>, z.ZodObject<{
2919
+ id: z.ZodString;
2920
+ status: z.ZodEnum<{
2921
+ pending: "pending";
2922
+ pending_verification: "pending_verification";
2923
+ paid: "paid";
2924
+ canceled: "canceled";
2925
+ refunded: "refunded";
2926
+ failed: "failed";
2927
+ }>;
2928
+ amount: z.ZodString;
2929
+ method: z.ZodLiteral<"credit_card">;
2930
+ }, z.core.$strip>], "method">>;
2931
+ subscription: z.ZodObject<{
2932
+ id: z.ZodString;
2933
+ status: z.ZodEnum<{
2934
+ created: "created";
2935
+ active: "active";
2936
+ pending_renewal: "pending_renewal";
2937
+ expired: "expired";
2938
+ suspended: "suspended";
2939
+ cancelled: "cancelled";
2940
+ }>;
2941
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2942
+ infinite: "infinite";
2943
+ time_based: "time_based";
2944
+ consumption: "consumption";
2945
+ }>>>;
2946
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
2947
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
2948
+ }, z.core.$strip>;
2949
+ }, z.core.$strip>;
2950
+ type CancelSubscriptionConsumptionRenewalResponse = z.infer<typeof cancelSubscriptionConsumptionRenewalResponseSchema>;
2951
+ declare class CancelSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof cancelSubscriptionConsumptionRenewalInputSchema, typeof cancelSubscriptionConsumptionRenewalResponseSchema> {
2952
+ readonly method: "POST";
2953
+ readonly contentType: "application/json";
2954
+ readonly accept: "application/json";
2955
+ readonly inputSchema: z.ZodObject<{
2956
+ response: z.ZodOptional<z.ZodString>;
2957
+ }, z.core.$strip>;
2958
+ readonly outputSchema: z.ZodObject<{
2959
+ id: z.ZodString;
2960
+ status: z.ZodEnum<{
2961
+ pending: "pending";
2962
+ failed: "failed";
2963
+ cancelled: "cancelled";
2964
+ completed: "completed";
2965
+ }>;
2966
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
2967
+ id: z.ZodString;
2968
+ status: z.ZodEnum<{
2969
+ pending: "pending";
2970
+ pending_verification: "pending_verification";
2971
+ paid: "paid";
2972
+ canceled: "canceled";
2973
+ refunded: "refunded";
2974
+ failed: "failed";
2975
+ }>;
2976
+ amount: z.ZodString;
2977
+ method: z.ZodLiteral<"stripe">;
2978
+ sessionUrl: z.ZodString;
2979
+ expiresAt: z.ZodString;
2980
+ }, z.core.$strip>, z.ZodObject<{
2981
+ id: z.ZodString;
2982
+ status: z.ZodEnum<{
2983
+ pending: "pending";
2984
+ pending_verification: "pending_verification";
2985
+ paid: "paid";
2986
+ canceled: "canceled";
2987
+ refunded: "refunded";
2988
+ failed: "failed";
2989
+ }>;
2990
+ amount: z.ZodString;
2991
+ method: z.ZodLiteral<"bank_transfer">;
2992
+ iban: z.ZodString;
2993
+ bic: z.ZodString;
2994
+ accountHolder: z.ZodString;
2995
+ bankName: z.ZodString;
2996
+ bankAddress: z.ZodNullable<z.ZodString>;
2997
+ currency: z.ZodString;
2998
+ description: z.ZodString;
2999
+ }, z.core.$strip>, z.ZodObject<{
3000
+ id: z.ZodString;
3001
+ status: z.ZodEnum<{
3002
+ pending: "pending";
3003
+ pending_verification: "pending_verification";
3004
+ paid: "paid";
3005
+ canceled: "canceled";
3006
+ refunded: "refunded";
3007
+ failed: "failed";
3008
+ }>;
3009
+ amount: z.ZodString;
3010
+ method: z.ZodLiteral<"cash">;
3011
+ }, z.core.$strip>, z.ZodObject<{
3012
+ id: z.ZodString;
3013
+ status: z.ZodEnum<{
3014
+ pending: "pending";
3015
+ pending_verification: "pending_verification";
3016
+ paid: "paid";
3017
+ canceled: "canceled";
3018
+ refunded: "refunded";
3019
+ failed: "failed";
3020
+ }>;
3021
+ amount: z.ZodString;
3022
+ method: z.ZodLiteral<"credit_card">;
3023
+ }, z.core.$strip>], "method">>;
3024
+ subscription: z.ZodObject<{
3025
+ id: z.ZodString;
3026
+ status: z.ZodEnum<{
3027
+ created: "created";
3028
+ active: "active";
3029
+ pending_renewal: "pending_renewal";
3030
+ expired: "expired";
3031
+ suspended: "suspended";
3032
+ cancelled: "cancelled";
3033
+ }>;
3034
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3035
+ infinite: "infinite";
3036
+ time_based: "time_based";
3037
+ consumption: "consumption";
3038
+ }>>>;
3039
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3040
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
3041
+ }, z.core.$strip>;
3042
+ }, z.core.$strip>;
3043
+ readonly querySchema: undefined;
3044
+ readonly headersSchema: undefined;
3045
+ private readonly renewalId;
3046
+ constructor(renewalId: string, input?: CancelSubscriptionConsumptionRenewalInput);
3047
+ getPath(): string;
3048
+ }
3049
+
3050
+ declare const createSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
3051
+ 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>>>;
3052
+ credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
3053
+ }, z.core.$strip>;
3054
+ type CreateSubscriptionConsumptionRenewalInput = z.input<typeof createSubscriptionConsumptionRenewalInputSchema>;
3055
+ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
3056
+ id: z.ZodString;
3057
+ status: z.ZodEnum<{
3058
+ pending: "pending";
3059
+ failed: "failed";
3060
+ cancelled: "cancelled";
3061
+ completed: "completed";
3062
+ }>;
3063
+ price: z.ZodString;
3064
+ createdAt: z.ZodString;
3065
+ updatedAt: z.ZodString;
3066
+ 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>>;
3067
+ credits: z.ZodCoercedNumber<unknown>;
3068
+ pricePerCredit: z.ZodCoercedNumber<unknown>;
3069
+ 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>>;
3070
+ }, z.core.$strip>;
3071
+ type CreateSubscriptionConsumptionRenewalResponse = z.infer<typeof createSubscriptionConsumptionRenewalResponseSchema>;
3072
+ declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof createSubscriptionConsumptionRenewalInputSchema, typeof createSubscriptionConsumptionRenewalResponseSchema> {
3073
+ readonly method = "POST";
3074
+ readonly contentType = "application/json";
3075
+ readonly accept = "application/json";
3076
+ readonly inputSchema: z.ZodObject<{
3077
+ 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>>>;
3078
+ credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
3079
+ }, z.core.$strip>;
3080
+ readonly outputSchema: z.ZodObject<{
3081
+ id: z.ZodString;
3082
+ status: z.ZodEnum<{
3083
+ pending: "pending";
3084
+ failed: "failed";
3085
+ cancelled: "cancelled";
3086
+ completed: "completed";
3087
+ }>;
3088
+ price: z.ZodString;
3089
+ createdAt: z.ZodString;
3090
+ updatedAt: z.ZodString;
3091
+ 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>>;
3092
+ credits: z.ZodCoercedNumber<unknown>;
3093
+ pricePerCredit: z.ZodCoercedNumber<unknown>;
3094
+ 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>>;
3095
+ }, z.core.$strip>;
3096
+ readonly querySchema: undefined;
3097
+ readonly headersSchema: undefined;
3098
+ constructor(input: CreateSubscriptionConsumptionRenewalInput);
3099
+ getPath(): string;
3100
+ }
3101
+
3102
+ declare const deleteSubscriptionConsumptionRenewalInputSchema: z.ZodUndefined;
3103
+ declare const deleteSubscriptionConsumptionRenewalResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
3104
+ declare class DeleteSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof deleteSubscriptionConsumptionRenewalInputSchema, typeof deleteSubscriptionConsumptionRenewalResponseSchema> {
3105
+ readonly method = "DELETE";
3106
+ readonly contentType = "application/json";
3107
+ readonly accept = "application/json";
3108
+ readonly inputSchema: z.ZodUndefined;
3109
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
3110
+ readonly querySchema: undefined;
3111
+ readonly headersSchema: undefined;
3112
+ private readonly renewalId;
3113
+ constructor(renewalId: string);
3114
+ getPath(): string;
3115
+ }
3116
+
3117
+ declare const getSubscriptionConsumptionRenewalDetailsInputSchema: z.ZodUndefined;
3118
+ type GetSubscriptionConsumptionRenewalDetailsInput = z.input<typeof getSubscriptionConsumptionRenewalDetailsInputSchema>;
3119
+ declare const getSubscriptionConsumptionRenewalDetailsResponseSchema: z.ZodObject<{
3120
+ id: z.ZodString;
3121
+ status: z.ZodEnum<{
3122
+ pending: "pending";
3123
+ failed: "failed";
3124
+ cancelled: "cancelled";
3125
+ completed: "completed";
3126
+ }>;
3127
+ price: z.ZodString;
3128
+ createdAt: z.ZodString;
2730
3129
  updatedAt: z.ZodString;
2731
3130
  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>>;
2732
3131
  credits: z.ZodCoercedNumber<unknown>;
@@ -3181,48 +3580,237 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
3181
3580
  getPath(): string;
3182
3581
  }
3183
3582
 
3184
- declare const resolveSubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
3185
- status: z.ZodEnum<{
3186
- failed: "failed";
3187
- paid: "paid";
3188
- canceled: "canceled";
3189
- }>;
3583
+ declare const refundSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
3190
3584
  response: z.ZodOptional<z.ZodString>;
3191
3585
  }, z.core.$strip>;
3192
- type ResolveSubscriptionConsumptionRenewalPaymentInput = z.input<typeof resolveSubscriptionConsumptionRenewalPaymentInputSchema>;
3193
- declare const resolveSubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3194
- id: z.ZodString;
3195
- status: z.ZodEnum<{
3196
- pending: "pending";
3197
- pending_verification: "pending_verification";
3198
- paid: "paid";
3199
- canceled: "canceled";
3200
- refunded: "refunded";
3201
- failed: "failed";
3202
- }>;
3203
- amount: z.ZodString;
3204
- method: z.ZodLiteral<"stripe">;
3205
- sessionUrl: z.ZodString;
3206
- expiresAt: z.ZodString;
3207
- }, z.core.$strip>, z.ZodObject<{
3586
+ type RefundSubscriptionConsumptionRenewalInput = z.input<typeof refundSubscriptionConsumptionRenewalInputSchema>;
3587
+ declare const refundSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
3208
3588
  id: z.ZodString;
3209
3589
  status: z.ZodEnum<{
3210
3590
  pending: "pending";
3211
- pending_verification: "pending_verification";
3212
- paid: "paid";
3213
- canceled: "canceled";
3214
- refunded: "refunded";
3215
3591
  failed: "failed";
3592
+ cancelled: "cancelled";
3593
+ completed: "completed";
3216
3594
  }>;
3217
- amount: z.ZodString;
3218
- method: z.ZodLiteral<"bank_transfer">;
3219
- iban: z.ZodString;
3220
- bic: z.ZodString;
3221
- accountHolder: z.ZodString;
3222
- bankName: z.ZodString;
3223
- bankAddress: z.ZodNullable<z.ZodString>;
3224
- currency: z.ZodString;
3225
- description: z.ZodString;
3595
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3596
+ id: z.ZodString;
3597
+ status: z.ZodEnum<{
3598
+ pending: "pending";
3599
+ pending_verification: "pending_verification";
3600
+ paid: "paid";
3601
+ canceled: "canceled";
3602
+ refunded: "refunded";
3603
+ failed: "failed";
3604
+ }>;
3605
+ amount: z.ZodString;
3606
+ method: z.ZodLiteral<"stripe">;
3607
+ sessionUrl: z.ZodString;
3608
+ expiresAt: z.ZodString;
3609
+ }, z.core.$strip>, z.ZodObject<{
3610
+ id: z.ZodString;
3611
+ status: z.ZodEnum<{
3612
+ pending: "pending";
3613
+ pending_verification: "pending_verification";
3614
+ paid: "paid";
3615
+ canceled: "canceled";
3616
+ refunded: "refunded";
3617
+ failed: "failed";
3618
+ }>;
3619
+ amount: z.ZodString;
3620
+ method: z.ZodLiteral<"bank_transfer">;
3621
+ iban: z.ZodString;
3622
+ bic: z.ZodString;
3623
+ accountHolder: z.ZodString;
3624
+ bankName: z.ZodString;
3625
+ bankAddress: z.ZodNullable<z.ZodString>;
3626
+ currency: z.ZodString;
3627
+ description: z.ZodString;
3628
+ }, z.core.$strip>, z.ZodObject<{
3629
+ id: z.ZodString;
3630
+ status: z.ZodEnum<{
3631
+ pending: "pending";
3632
+ pending_verification: "pending_verification";
3633
+ paid: "paid";
3634
+ canceled: "canceled";
3635
+ refunded: "refunded";
3636
+ failed: "failed";
3637
+ }>;
3638
+ amount: z.ZodString;
3639
+ method: z.ZodLiteral<"cash">;
3640
+ }, z.core.$strip>, z.ZodObject<{
3641
+ id: z.ZodString;
3642
+ status: z.ZodEnum<{
3643
+ pending: "pending";
3644
+ pending_verification: "pending_verification";
3645
+ paid: "paid";
3646
+ canceled: "canceled";
3647
+ refunded: "refunded";
3648
+ failed: "failed";
3649
+ }>;
3650
+ amount: z.ZodString;
3651
+ method: z.ZodLiteral<"credit_card">;
3652
+ }, z.core.$strip>], "method">>;
3653
+ subscription: z.ZodObject<{
3654
+ id: z.ZodString;
3655
+ status: z.ZodEnum<{
3656
+ created: "created";
3657
+ active: "active";
3658
+ pending_renewal: "pending_renewal";
3659
+ expired: "expired";
3660
+ suspended: "suspended";
3661
+ cancelled: "cancelled";
3662
+ }>;
3663
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3664
+ infinite: "infinite";
3665
+ time_based: "time_based";
3666
+ consumption: "consumption";
3667
+ }>>>;
3668
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3669
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
3670
+ }, z.core.$strip>;
3671
+ }, z.core.$strip>;
3672
+ type RefundSubscriptionConsumptionRenewalResponse = z.infer<typeof refundSubscriptionConsumptionRenewalResponseSchema>;
3673
+ declare class RefundSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof refundSubscriptionConsumptionRenewalInputSchema, typeof refundSubscriptionConsumptionRenewalResponseSchema> {
3674
+ readonly method: "POST";
3675
+ readonly contentType: "application/json";
3676
+ readonly accept: "application/json";
3677
+ readonly inputSchema: z.ZodObject<{
3678
+ response: z.ZodOptional<z.ZodString>;
3679
+ }, z.core.$strip>;
3680
+ readonly outputSchema: z.ZodObject<{
3681
+ id: z.ZodString;
3682
+ status: z.ZodEnum<{
3683
+ pending: "pending";
3684
+ failed: "failed";
3685
+ cancelled: "cancelled";
3686
+ completed: "completed";
3687
+ }>;
3688
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
3689
+ id: z.ZodString;
3690
+ status: z.ZodEnum<{
3691
+ pending: "pending";
3692
+ pending_verification: "pending_verification";
3693
+ paid: "paid";
3694
+ canceled: "canceled";
3695
+ refunded: "refunded";
3696
+ failed: "failed";
3697
+ }>;
3698
+ amount: z.ZodString;
3699
+ method: z.ZodLiteral<"stripe">;
3700
+ sessionUrl: z.ZodString;
3701
+ expiresAt: z.ZodString;
3702
+ }, z.core.$strip>, z.ZodObject<{
3703
+ id: z.ZodString;
3704
+ status: z.ZodEnum<{
3705
+ pending: "pending";
3706
+ pending_verification: "pending_verification";
3707
+ paid: "paid";
3708
+ canceled: "canceled";
3709
+ refunded: "refunded";
3710
+ failed: "failed";
3711
+ }>;
3712
+ amount: z.ZodString;
3713
+ method: z.ZodLiteral<"bank_transfer">;
3714
+ iban: z.ZodString;
3715
+ bic: z.ZodString;
3716
+ accountHolder: z.ZodString;
3717
+ bankName: z.ZodString;
3718
+ bankAddress: z.ZodNullable<z.ZodString>;
3719
+ currency: z.ZodString;
3720
+ description: z.ZodString;
3721
+ }, z.core.$strip>, z.ZodObject<{
3722
+ id: z.ZodString;
3723
+ status: z.ZodEnum<{
3724
+ pending: "pending";
3725
+ pending_verification: "pending_verification";
3726
+ paid: "paid";
3727
+ canceled: "canceled";
3728
+ refunded: "refunded";
3729
+ failed: "failed";
3730
+ }>;
3731
+ amount: z.ZodString;
3732
+ method: z.ZodLiteral<"cash">;
3733
+ }, z.core.$strip>, z.ZodObject<{
3734
+ id: z.ZodString;
3735
+ status: z.ZodEnum<{
3736
+ pending: "pending";
3737
+ pending_verification: "pending_verification";
3738
+ paid: "paid";
3739
+ canceled: "canceled";
3740
+ refunded: "refunded";
3741
+ failed: "failed";
3742
+ }>;
3743
+ amount: z.ZodString;
3744
+ method: z.ZodLiteral<"credit_card">;
3745
+ }, z.core.$strip>], "method">>;
3746
+ subscription: z.ZodObject<{
3747
+ id: z.ZodString;
3748
+ status: z.ZodEnum<{
3749
+ created: "created";
3750
+ active: "active";
3751
+ pending_renewal: "pending_renewal";
3752
+ expired: "expired";
3753
+ suspended: "suspended";
3754
+ cancelled: "cancelled";
3755
+ }>;
3756
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3757
+ infinite: "infinite";
3758
+ time_based: "time_based";
3759
+ consumption: "consumption";
3760
+ }>>>;
3761
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
3762
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
3763
+ }, z.core.$strip>;
3764
+ }, z.core.$strip>;
3765
+ readonly querySchema: undefined;
3766
+ readonly headersSchema: undefined;
3767
+ private readonly renewalId;
3768
+ constructor(renewalId: string, input?: RefundSubscriptionConsumptionRenewalInput);
3769
+ getPath(): string;
3770
+ }
3771
+
3772
+ declare const resolveSubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
3773
+ status: z.ZodEnum<{
3774
+ failed: "failed";
3775
+ paid: "paid";
3776
+ canceled: "canceled";
3777
+ }>;
3778
+ response: z.ZodOptional<z.ZodString>;
3779
+ }, z.core.$strip>;
3780
+ type ResolveSubscriptionConsumptionRenewalPaymentInput = z.input<typeof resolveSubscriptionConsumptionRenewalPaymentInputSchema>;
3781
+ declare const resolveSubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3782
+ id: z.ZodString;
3783
+ status: z.ZodEnum<{
3784
+ pending: "pending";
3785
+ pending_verification: "pending_verification";
3786
+ paid: "paid";
3787
+ canceled: "canceled";
3788
+ refunded: "refunded";
3789
+ failed: "failed";
3790
+ }>;
3791
+ amount: z.ZodString;
3792
+ method: z.ZodLiteral<"stripe">;
3793
+ sessionUrl: z.ZodString;
3794
+ expiresAt: z.ZodString;
3795
+ }, z.core.$strip>, z.ZodObject<{
3796
+ id: z.ZodString;
3797
+ status: z.ZodEnum<{
3798
+ pending: "pending";
3799
+ pending_verification: "pending_verification";
3800
+ paid: "paid";
3801
+ canceled: "canceled";
3802
+ refunded: "refunded";
3803
+ failed: "failed";
3804
+ }>;
3805
+ amount: z.ZodString;
3806
+ method: z.ZodLiteral<"bank_transfer">;
3807
+ iban: z.ZodString;
3808
+ bic: z.ZodString;
3809
+ accountHolder: z.ZodString;
3810
+ bankName: z.ZodString;
3811
+ bankAddress: z.ZodNullable<z.ZodString>;
3812
+ currency: z.ZodString;
3813
+ description: z.ZodString;
3226
3814
  }, z.core.$strip>, z.ZodObject<{
3227
3815
  id: z.ZodString;
3228
3816
  status: z.ZodEnum<{
@@ -3326,63 +3914,208 @@ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRe
3326
3914
  getPath(): string;
3327
3915
  }
3328
3916
 
3329
- declare const createSubscriptionInfiniteInputSchema: z.ZodObject<{
3330
- 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>>;
3331
- autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3332
- startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
3917
+ declare const retrySubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
3918
+ method: z.ZodEnum<{
3919
+ stripe: "stripe";
3920
+ bank_transfer: "bank_transfer";
3921
+ cash: "cash";
3922
+ credit_card: "credit_card";
3923
+ }>;
3333
3924
  }, z.core.$strip>;
3334
- type CreateSubscriptionInfiniteInput = z.input<typeof createSubscriptionInfiniteInputSchema>;
3335
- declare const createSubscriptionInfiniteResponseSchema: z.ZodObject<{
3925
+ type RetrySubscriptionConsumptionRenewalPaymentInput = z.input<typeof retrySubscriptionConsumptionRenewalPaymentInputSchema>;
3926
+ declare const retrySubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3336
3927
  id: z.ZodString;
3337
3928
  status: z.ZodEnum<{
3338
- created: "created";
3339
- active: "active";
3340
- pending_renewal: "pending_renewal";
3341
- expired: "expired";
3342
- suspended: "suspended";
3343
- cancelled: "cancelled";
3929
+ pending: "pending";
3930
+ pending_verification: "pending_verification";
3931
+ paid: "paid";
3932
+ canceled: "canceled";
3933
+ refunded: "refunded";
3934
+ failed: "failed";
3344
3935
  }>;
3345
- autoRenewal: z.ZodBoolean;
3346
- startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3347
- customUnitPrice: z.ZodNullable<z.ZodString>;
3348
- plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3349
- id: z.ZodString;
3350
- code: z.ZodString;
3351
- name: z.ZodString;
3352
- type: z.ZodEnum<{
3353
- infinite: "infinite";
3354
- time_based: "time_based";
3355
- consumption: "consumption";
3356
- }>;
3357
- isActive: z.ZodBoolean;
3358
- isPurchasable: z.ZodBoolean;
3359
- isAdminOnly: z.ZodBoolean;
3360
- }, z.core.$strip>>>;
3361
- createdAt: z.ZodString;
3362
- updatedAt: z.ZodString;
3363
- 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>>;
3364
- type: z.ZodLiteral<"infinite">;
3365
- }, z.core.$strip>;
3366
- type CreateSubscriptionInfiniteResponse = z.infer<typeof createSubscriptionInfiniteResponseSchema>;
3367
- declare class CreateSubscriptionInfinite extends AbstractApiRequest<typeof createSubscriptionInfiniteInputSchema, typeof createSubscriptionInfiniteResponseSchema> {
3368
- readonly method = "POST";
3369
- readonly contentType = "application/json";
3370
- readonly accept = "application/json";
3371
- readonly inputSchema: z.ZodObject<{
3372
- 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>>;
3373
- autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
3374
- startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
3375
- }, z.core.$strip>;
3376
- readonly outputSchema: z.ZodObject<{
3377
- id: z.ZodString;
3378
- status: z.ZodEnum<{
3379
- created: "created";
3380
- active: "active";
3381
- pending_renewal: "pending_renewal";
3382
- expired: "expired";
3383
- suspended: "suspended";
3384
- cancelled: "cancelled";
3385
- }>;
3936
+ amount: z.ZodString;
3937
+ method: z.ZodLiteral<"stripe">;
3938
+ sessionUrl: z.ZodString;
3939
+ expiresAt: z.ZodString;
3940
+ }, z.core.$strip>, z.ZodObject<{
3941
+ id: z.ZodString;
3942
+ status: z.ZodEnum<{
3943
+ pending: "pending";
3944
+ pending_verification: "pending_verification";
3945
+ paid: "paid";
3946
+ canceled: "canceled";
3947
+ refunded: "refunded";
3948
+ failed: "failed";
3949
+ }>;
3950
+ amount: z.ZodString;
3951
+ method: z.ZodLiteral<"bank_transfer">;
3952
+ iban: z.ZodString;
3953
+ bic: z.ZodString;
3954
+ accountHolder: z.ZodString;
3955
+ bankName: z.ZodString;
3956
+ bankAddress: z.ZodNullable<z.ZodString>;
3957
+ currency: z.ZodString;
3958
+ description: z.ZodString;
3959
+ }, z.core.$strip>, z.ZodObject<{
3960
+ id: z.ZodString;
3961
+ status: z.ZodEnum<{
3962
+ pending: "pending";
3963
+ pending_verification: "pending_verification";
3964
+ paid: "paid";
3965
+ canceled: "canceled";
3966
+ refunded: "refunded";
3967
+ failed: "failed";
3968
+ }>;
3969
+ amount: z.ZodString;
3970
+ method: z.ZodLiteral<"cash">;
3971
+ }, z.core.$strip>, z.ZodObject<{
3972
+ id: z.ZodString;
3973
+ status: z.ZodEnum<{
3974
+ pending: "pending";
3975
+ pending_verification: "pending_verification";
3976
+ paid: "paid";
3977
+ canceled: "canceled";
3978
+ refunded: "refunded";
3979
+ failed: "failed";
3980
+ }>;
3981
+ amount: z.ZodString;
3982
+ method: z.ZodLiteral<"credit_card">;
3983
+ }, z.core.$strip>], "method">;
3984
+ type RetrySubscriptionConsumptionRenewalPaymentResponse = z.infer<typeof retrySubscriptionConsumptionRenewalPaymentResponseSchema>;
3985
+ declare class RetrySubscriptionConsumptionRenewalPayment extends AbstractApiRequest<typeof retrySubscriptionConsumptionRenewalPaymentInputSchema, typeof retrySubscriptionConsumptionRenewalPaymentResponseSchema> {
3986
+ readonly method: "POST";
3987
+ readonly contentType: "application/json";
3988
+ readonly accept: "application/json";
3989
+ readonly inputSchema: z.ZodObject<{
3990
+ method: z.ZodEnum<{
3991
+ stripe: "stripe";
3992
+ bank_transfer: "bank_transfer";
3993
+ cash: "cash";
3994
+ credit_card: "credit_card";
3995
+ }>;
3996
+ }, z.core.$strip>;
3997
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3998
+ id: z.ZodString;
3999
+ status: z.ZodEnum<{
4000
+ pending: "pending";
4001
+ pending_verification: "pending_verification";
4002
+ paid: "paid";
4003
+ canceled: "canceled";
4004
+ refunded: "refunded";
4005
+ failed: "failed";
4006
+ }>;
4007
+ amount: z.ZodString;
4008
+ method: z.ZodLiteral<"stripe">;
4009
+ sessionUrl: z.ZodString;
4010
+ expiresAt: z.ZodString;
4011
+ }, z.core.$strip>, z.ZodObject<{
4012
+ id: z.ZodString;
4013
+ status: z.ZodEnum<{
4014
+ pending: "pending";
4015
+ pending_verification: "pending_verification";
4016
+ paid: "paid";
4017
+ canceled: "canceled";
4018
+ refunded: "refunded";
4019
+ failed: "failed";
4020
+ }>;
4021
+ amount: z.ZodString;
4022
+ method: z.ZodLiteral<"bank_transfer">;
4023
+ iban: z.ZodString;
4024
+ bic: z.ZodString;
4025
+ accountHolder: z.ZodString;
4026
+ bankName: z.ZodString;
4027
+ bankAddress: z.ZodNullable<z.ZodString>;
4028
+ currency: z.ZodString;
4029
+ description: z.ZodString;
4030
+ }, z.core.$strip>, z.ZodObject<{
4031
+ id: z.ZodString;
4032
+ status: z.ZodEnum<{
4033
+ pending: "pending";
4034
+ pending_verification: "pending_verification";
4035
+ paid: "paid";
4036
+ canceled: "canceled";
4037
+ refunded: "refunded";
4038
+ failed: "failed";
4039
+ }>;
4040
+ amount: z.ZodString;
4041
+ method: z.ZodLiteral<"cash">;
4042
+ }, z.core.$strip>, z.ZodObject<{
4043
+ id: z.ZodString;
4044
+ status: z.ZodEnum<{
4045
+ pending: "pending";
4046
+ pending_verification: "pending_verification";
4047
+ paid: "paid";
4048
+ canceled: "canceled";
4049
+ refunded: "refunded";
4050
+ failed: "failed";
4051
+ }>;
4052
+ amount: z.ZodString;
4053
+ method: z.ZodLiteral<"credit_card">;
4054
+ }, z.core.$strip>], "method">;
4055
+ readonly querySchema: undefined;
4056
+ readonly headersSchema: undefined;
4057
+ private readonly renewalId;
4058
+ constructor(renewalId: string, method: PaymentMethod);
4059
+ getPath(): string;
4060
+ }
4061
+
4062
+ declare const createSubscriptionInfiniteInputSchema: z.ZodObject<{
4063
+ 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>>;
4064
+ autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
4065
+ startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
4066
+ }, z.core.$strip>;
4067
+ type CreateSubscriptionInfiniteInput = z.input<typeof createSubscriptionInfiniteInputSchema>;
4068
+ declare const createSubscriptionInfiniteResponseSchema: z.ZodObject<{
4069
+ id: z.ZodString;
4070
+ status: z.ZodEnum<{
4071
+ created: "created";
4072
+ active: "active";
4073
+ pending_renewal: "pending_renewal";
4074
+ expired: "expired";
4075
+ suspended: "suspended";
4076
+ cancelled: "cancelled";
4077
+ }>;
4078
+ autoRenewal: z.ZodBoolean;
4079
+ startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4080
+ customUnitPrice: z.ZodNullable<z.ZodString>;
4081
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4082
+ id: z.ZodString;
4083
+ code: z.ZodString;
4084
+ name: z.ZodString;
4085
+ type: z.ZodEnum<{
4086
+ infinite: "infinite";
4087
+ time_based: "time_based";
4088
+ consumption: "consumption";
4089
+ }>;
4090
+ isActive: z.ZodBoolean;
4091
+ isPurchasable: z.ZodBoolean;
4092
+ isAdminOnly: z.ZodBoolean;
4093
+ }, z.core.$strip>>>;
4094
+ createdAt: z.ZodString;
4095
+ updatedAt: z.ZodString;
4096
+ 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>>;
4097
+ type: z.ZodLiteral<"infinite">;
4098
+ }, z.core.$strip>;
4099
+ type CreateSubscriptionInfiniteResponse = z.infer<typeof createSubscriptionInfiniteResponseSchema>;
4100
+ declare class CreateSubscriptionInfinite extends AbstractApiRequest<typeof createSubscriptionInfiniteInputSchema, typeof createSubscriptionInfiniteResponseSchema> {
4101
+ readonly method = "POST";
4102
+ readonly contentType = "application/json";
4103
+ readonly accept = "application/json";
4104
+ readonly inputSchema: z.ZodObject<{
4105
+ 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>>;
4106
+ autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
4107
+ startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
4108
+ }, z.core.$strip>;
4109
+ readonly outputSchema: z.ZodObject<{
4110
+ id: z.ZodString;
4111
+ status: z.ZodEnum<{
4112
+ created: "created";
4113
+ active: "active";
4114
+ pending_renewal: "pending_renewal";
4115
+ expired: "expired";
4116
+ suspended: "suspended";
4117
+ cancelled: "cancelled";
4118
+ }>;
3386
4119
  autoRenewal: z.ZodBoolean;
3387
4120
  startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3388
4121
  customUnitPrice: z.ZodNullable<z.ZodString>;
@@ -4769,96 +5502,281 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
4769
5502
  getPath(): string;
4770
5503
  }
4771
5504
 
4772
- declare const createSubscriptionPurchaseInputSchema: z.ZodObject<{
4773
- 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
- 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>>;
4775
- autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4776
- startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
5505
+ declare const cancelSubscriptionPurchaseInputSchema: z.ZodObject<{
5506
+ response: z.ZodOptional<z.ZodString>;
4777
5507
  }, z.core.$strip>;
4778
- type CreateSubscriptionPurchaseInput = z.input<typeof createSubscriptionPurchaseInputSchema>;
4779
- declare const createSubscriptionPurchaseResponseSchema: z.ZodObject<{
5508
+ type CancelSubscriptionPurchaseInput = z.input<typeof cancelSubscriptionPurchaseInputSchema>;
5509
+ declare const cancelSubscriptionPurchaseResponseSchema: z.ZodObject<{
4780
5510
  id: z.ZodString;
4781
- 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>>;
4782
5511
  status: z.ZodEnum<{
4783
5512
  pending: "pending";
4784
5513
  completed: "completed";
4785
5514
  cancelled: "cancelled";
4786
5515
  failed: "failed";
4787
5516
  }>;
4788
- type: z.ZodEnum<{
4789
- infinite: "infinite";
4790
- time_based: "time_based";
4791
- consumption: "consumption";
4792
- }>;
4793
- autoRenewal: z.ZodNullable<z.ZodBoolean>;
4794
- startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4795
- threshold: z.ZodCoercedNumber<unknown>;
4796
- amount: z.ZodString;
4797
- paymentMethod: z.ZodNullable<z.ZodEnum<{
4798
- stripe: "stripe";
4799
- bank_transfer: "bank_transfer";
4800
- cash: "cash";
4801
- credit_card: "credit_card";
4802
- }>>;
4803
- paymentStatus: z.ZodNullable<z.ZodEnum<{
4804
- pending: "pending";
4805
- pending_verification: "pending_verification";
4806
- paid: "paid";
4807
- canceled: "canceled";
4808
- refunded: "refunded";
4809
- failed: "failed";
4810
- }>>;
4811
- createdAt: z.ZodString;
4812
- updatedAt: z.ZodString;
4813
- 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>>;
4814
- payment: z.ZodOptional<z.ZodNullable<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>>>>;
4815
- subscription: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown>>>>;
4816
- }, z.core.$strip>;
4817
- type CreateSubscriptionPurchaseResponse = z.infer<typeof createSubscriptionPurchaseResponseSchema>;
4818
- declare class CreateSubscriptionPurchase extends AbstractApiRequest<typeof createSubscriptionPurchaseInputSchema, typeof createSubscriptionPurchaseResponseSchema> {
4819
- readonly method: "POST";
4820
- readonly contentType: "application/json";
4821
- readonly accept: "application/json";
4822
- readonly inputSchema: z.ZodObject<{
4823
- 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>>;
4824
- 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>>;
4825
- autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
4826
- startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
4827
- }, z.core.$strip>;
4828
- readonly outputSchema: z.ZodObject<{
5517
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
4829
5518
  id: z.ZodString;
4830
- 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>>;
4831
5519
  status: z.ZodEnum<{
4832
- pending: "pending";
4833
- completed: "completed";
4834
- cancelled: "cancelled";
4835
- failed: "failed";
4836
- }>;
4837
- type: z.ZodEnum<{
4838
- infinite: "infinite";
4839
- time_based: "time_based";
4840
- consumption: "consumption";
4841
- }>;
4842
- autoRenewal: z.ZodNullable<z.ZodBoolean>;
4843
- startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
4844
- threshold: z.ZodCoercedNumber<unknown>;
4845
- amount: z.ZodString;
4846
- paymentMethod: z.ZodNullable<z.ZodEnum<{
4847
- stripe: "stripe";
4848
- bank_transfer: "bank_transfer";
4849
- cash: "cash";
4850
- credit_card: "credit_card";
4851
- }>>;
4852
- paymentStatus: z.ZodNullable<z.ZodEnum<{
4853
5520
  pending: "pending";
4854
5521
  pending_verification: "pending_verification";
4855
5522
  paid: "paid";
4856
5523
  canceled: "canceled";
4857
5524
  refunded: "refunded";
4858
5525
  failed: "failed";
4859
- }>>;
4860
- createdAt: z.ZodString;
4861
- updatedAt: z.ZodString;
5526
+ }>;
5527
+ amount: z.ZodString;
5528
+ method: z.ZodLiteral<"stripe">;
5529
+ sessionUrl: z.ZodString;
5530
+ expiresAt: z.ZodString;
5531
+ }, z.core.$strip>, z.ZodObject<{
5532
+ id: z.ZodString;
5533
+ status: z.ZodEnum<{
5534
+ pending: "pending";
5535
+ pending_verification: "pending_verification";
5536
+ paid: "paid";
5537
+ canceled: "canceled";
5538
+ refunded: "refunded";
5539
+ failed: "failed";
5540
+ }>;
5541
+ amount: z.ZodString;
5542
+ method: z.ZodLiteral<"bank_transfer">;
5543
+ iban: z.ZodString;
5544
+ bic: z.ZodString;
5545
+ accountHolder: z.ZodString;
5546
+ bankName: z.ZodString;
5547
+ bankAddress: z.ZodNullable<z.ZodString>;
5548
+ currency: z.ZodString;
5549
+ description: z.ZodString;
5550
+ }, z.core.$strip>, z.ZodObject<{
5551
+ id: z.ZodString;
5552
+ status: z.ZodEnum<{
5553
+ pending: "pending";
5554
+ pending_verification: "pending_verification";
5555
+ paid: "paid";
5556
+ canceled: "canceled";
5557
+ refunded: "refunded";
5558
+ failed: "failed";
5559
+ }>;
5560
+ amount: z.ZodString;
5561
+ method: z.ZodLiteral<"cash">;
5562
+ }, z.core.$strip>, z.ZodObject<{
5563
+ id: z.ZodString;
5564
+ status: z.ZodEnum<{
5565
+ pending: "pending";
5566
+ pending_verification: "pending_verification";
5567
+ paid: "paid";
5568
+ canceled: "canceled";
5569
+ refunded: "refunded";
5570
+ failed: "failed";
5571
+ }>;
5572
+ amount: z.ZodString;
5573
+ method: z.ZodLiteral<"credit_card">;
5574
+ }, z.core.$strip>], "method">>;
5575
+ subscription: z.ZodNullable<z.ZodObject<{
5576
+ id: z.ZodString;
5577
+ status: z.ZodEnum<{
5578
+ created: "created";
5579
+ active: "active";
5580
+ pending_renewal: "pending_renewal";
5581
+ expired: "expired";
5582
+ suspended: "suspended";
5583
+ cancelled: "cancelled";
5584
+ }>;
5585
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5586
+ infinite: "infinite";
5587
+ time_based: "time_based";
5588
+ consumption: "consumption";
5589
+ }>>>;
5590
+ }, z.core.$strip>>;
5591
+ }, z.core.$strip>;
5592
+ type CancelSubscriptionPurchaseResponse = z.infer<typeof cancelSubscriptionPurchaseResponseSchema>;
5593
+ declare class CancelSubscriptionPurchase extends AbstractApiRequest<typeof cancelSubscriptionPurchaseInputSchema, typeof cancelSubscriptionPurchaseResponseSchema> {
5594
+ readonly method: "POST";
5595
+ readonly contentType: "application/json";
5596
+ readonly accept: "application/json";
5597
+ readonly inputSchema: z.ZodObject<{
5598
+ response: z.ZodOptional<z.ZodString>;
5599
+ }, z.core.$strip>;
5600
+ readonly outputSchema: z.ZodObject<{
5601
+ id: z.ZodString;
5602
+ status: z.ZodEnum<{
5603
+ pending: "pending";
5604
+ completed: "completed";
5605
+ cancelled: "cancelled";
5606
+ failed: "failed";
5607
+ }>;
5608
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
5609
+ id: z.ZodString;
5610
+ status: z.ZodEnum<{
5611
+ pending: "pending";
5612
+ pending_verification: "pending_verification";
5613
+ paid: "paid";
5614
+ canceled: "canceled";
5615
+ refunded: "refunded";
5616
+ failed: "failed";
5617
+ }>;
5618
+ amount: z.ZodString;
5619
+ method: z.ZodLiteral<"stripe">;
5620
+ sessionUrl: z.ZodString;
5621
+ expiresAt: z.ZodString;
5622
+ }, z.core.$strip>, z.ZodObject<{
5623
+ id: z.ZodString;
5624
+ status: z.ZodEnum<{
5625
+ pending: "pending";
5626
+ pending_verification: "pending_verification";
5627
+ paid: "paid";
5628
+ canceled: "canceled";
5629
+ refunded: "refunded";
5630
+ failed: "failed";
5631
+ }>;
5632
+ amount: z.ZodString;
5633
+ method: z.ZodLiteral<"bank_transfer">;
5634
+ iban: z.ZodString;
5635
+ bic: z.ZodString;
5636
+ accountHolder: z.ZodString;
5637
+ bankName: z.ZodString;
5638
+ bankAddress: z.ZodNullable<z.ZodString>;
5639
+ currency: z.ZodString;
5640
+ description: z.ZodString;
5641
+ }, z.core.$strip>, z.ZodObject<{
5642
+ id: z.ZodString;
5643
+ status: z.ZodEnum<{
5644
+ pending: "pending";
5645
+ pending_verification: "pending_verification";
5646
+ paid: "paid";
5647
+ canceled: "canceled";
5648
+ refunded: "refunded";
5649
+ failed: "failed";
5650
+ }>;
5651
+ amount: z.ZodString;
5652
+ method: z.ZodLiteral<"cash">;
5653
+ }, z.core.$strip>, z.ZodObject<{
5654
+ id: z.ZodString;
5655
+ status: z.ZodEnum<{
5656
+ pending: "pending";
5657
+ pending_verification: "pending_verification";
5658
+ paid: "paid";
5659
+ canceled: "canceled";
5660
+ refunded: "refunded";
5661
+ failed: "failed";
5662
+ }>;
5663
+ amount: z.ZodString;
5664
+ method: z.ZodLiteral<"credit_card">;
5665
+ }, z.core.$strip>], "method">>;
5666
+ subscription: z.ZodNullable<z.ZodObject<{
5667
+ id: z.ZodString;
5668
+ status: z.ZodEnum<{
5669
+ created: "created";
5670
+ active: "active";
5671
+ pending_renewal: "pending_renewal";
5672
+ expired: "expired";
5673
+ suspended: "suspended";
5674
+ cancelled: "cancelled";
5675
+ }>;
5676
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5677
+ infinite: "infinite";
5678
+ time_based: "time_based";
5679
+ consumption: "consumption";
5680
+ }>>>;
5681
+ }, z.core.$strip>>;
5682
+ }, z.core.$strip>;
5683
+ readonly querySchema: undefined;
5684
+ readonly headersSchema: undefined;
5685
+ private readonly purchaseId;
5686
+ constructor(purchaseId: string, input?: CancelSubscriptionPurchaseInput);
5687
+ getPath(): string;
5688
+ }
5689
+
5690
+ declare const createSubscriptionPurchaseInputSchema: z.ZodObject<{
5691
+ 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>>;
5692
+ 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>>;
5693
+ autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5694
+ startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
5695
+ }, z.core.$strip>;
5696
+ type CreateSubscriptionPurchaseInput = z.input<typeof createSubscriptionPurchaseInputSchema>;
5697
+ declare const createSubscriptionPurchaseResponseSchema: z.ZodObject<{
5698
+ id: z.ZodString;
5699
+ 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>>;
5700
+ status: z.ZodEnum<{
5701
+ pending: "pending";
5702
+ completed: "completed";
5703
+ cancelled: "cancelled";
5704
+ failed: "failed";
5705
+ }>;
5706
+ type: z.ZodEnum<{
5707
+ infinite: "infinite";
5708
+ time_based: "time_based";
5709
+ consumption: "consumption";
5710
+ }>;
5711
+ autoRenewal: z.ZodNullable<z.ZodBoolean>;
5712
+ startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5713
+ threshold: z.ZodCoercedNumber<unknown>;
5714
+ amount: z.ZodString;
5715
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
5716
+ stripe: "stripe";
5717
+ bank_transfer: "bank_transfer";
5718
+ cash: "cash";
5719
+ credit_card: "credit_card";
5720
+ }>>;
5721
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
5722
+ pending: "pending";
5723
+ pending_verification: "pending_verification";
5724
+ paid: "paid";
5725
+ canceled: "canceled";
5726
+ refunded: "refunded";
5727
+ failed: "failed";
5728
+ }>>;
5729
+ createdAt: z.ZodString;
5730
+ updatedAt: z.ZodString;
5731
+ 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>>;
5732
+ payment: z.ZodOptional<z.ZodNullable<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>>>>;
5733
+ subscription: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown>>>>;
5734
+ }, z.core.$strip>;
5735
+ type CreateSubscriptionPurchaseResponse = z.infer<typeof createSubscriptionPurchaseResponseSchema>;
5736
+ declare class CreateSubscriptionPurchase extends AbstractApiRequest<typeof createSubscriptionPurchaseInputSchema, typeof createSubscriptionPurchaseResponseSchema> {
5737
+ readonly method: "POST";
5738
+ readonly contentType: "application/json";
5739
+ readonly accept: "application/json";
5740
+ readonly inputSchema: z.ZodObject<{
5741
+ 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>>;
5742
+ 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>>;
5743
+ autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
5744
+ startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
5745
+ }, z.core.$strip>;
5746
+ readonly outputSchema: z.ZodObject<{
5747
+ id: z.ZodString;
5748
+ 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>>;
5749
+ status: z.ZodEnum<{
5750
+ pending: "pending";
5751
+ completed: "completed";
5752
+ cancelled: "cancelled";
5753
+ failed: "failed";
5754
+ }>;
5755
+ type: z.ZodEnum<{
5756
+ infinite: "infinite";
5757
+ time_based: "time_based";
5758
+ consumption: "consumption";
5759
+ }>;
5760
+ autoRenewal: z.ZodNullable<z.ZodBoolean>;
5761
+ startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5762
+ threshold: z.ZodCoercedNumber<unknown>;
5763
+ amount: z.ZodString;
5764
+ paymentMethod: z.ZodNullable<z.ZodEnum<{
5765
+ stripe: "stripe";
5766
+ bank_transfer: "bank_transfer";
5767
+ cash: "cash";
5768
+ credit_card: "credit_card";
5769
+ }>>;
5770
+ paymentStatus: z.ZodNullable<z.ZodEnum<{
5771
+ pending: "pending";
5772
+ pending_verification: "pending_verification";
5773
+ paid: "paid";
5774
+ canceled: "canceled";
5775
+ refunded: "refunded";
5776
+ failed: "failed";
5777
+ }>>;
5778
+ createdAt: z.ZodString;
5779
+ updatedAt: z.ZodString;
4862
5780
  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>>;
4863
5781
  payment: z.ZodOptional<z.ZodNullable<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>>>>;
4864
5782
  subscription: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id"> | null, unknown>>>>;
@@ -5430,36 +6348,221 @@ declare class PaySubscriptionPurchase extends AbstractApiRequest<typeof paySubsc
5430
6348
  getPath(): string;
5431
6349
  }
5432
6350
 
5433
- declare const resolveSubscriptionPurchasePaymentInputSchema: z.ZodObject<{
5434
- status: z.ZodEnum<{
5435
- failed: "failed";
5436
- paid: "paid";
5437
- canceled: "canceled";
5438
- }>;
6351
+ declare const refundSubscriptionPurchaseInputSchema: z.ZodObject<{
5439
6352
  response: z.ZodOptional<z.ZodString>;
5440
6353
  }, z.core.$strip>;
5441
- type ResolveSubscriptionPurchasePaymentInput = z.input<typeof resolveSubscriptionPurchasePaymentInputSchema>;
5442
- declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6354
+ type RefundSubscriptionPurchaseInput = z.input<typeof refundSubscriptionPurchaseInputSchema>;
6355
+ declare const refundSubscriptionPurchaseResponseSchema: z.ZodObject<{
5443
6356
  id: z.ZodString;
5444
6357
  status: z.ZodEnum<{
5445
6358
  pending: "pending";
5446
- pending_verification: "pending_verification";
5447
- paid: "paid";
5448
- canceled: "canceled";
5449
- refunded: "refunded";
6359
+ completed: "completed";
6360
+ cancelled: "cancelled";
5450
6361
  failed: "failed";
5451
6362
  }>;
5452
- amount: z.ZodString;
5453
- method: z.ZodLiteral<"stripe">;
5454
- sessionUrl: z.ZodString;
5455
- expiresAt: z.ZodString;
5456
- }, z.core.$strip>, z.ZodObject<{
5457
- id: z.ZodString;
5458
- status: z.ZodEnum<{
5459
- pending: "pending";
5460
- pending_verification: "pending_verification";
5461
- paid: "paid";
5462
- canceled: "canceled";
6363
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
6364
+ id: z.ZodString;
6365
+ status: z.ZodEnum<{
6366
+ pending: "pending";
6367
+ pending_verification: "pending_verification";
6368
+ paid: "paid";
6369
+ canceled: "canceled";
6370
+ refunded: "refunded";
6371
+ failed: "failed";
6372
+ }>;
6373
+ amount: z.ZodString;
6374
+ method: z.ZodLiteral<"stripe">;
6375
+ sessionUrl: z.ZodString;
6376
+ expiresAt: z.ZodString;
6377
+ }, z.core.$strip>, z.ZodObject<{
6378
+ id: z.ZodString;
6379
+ status: z.ZodEnum<{
6380
+ pending: "pending";
6381
+ pending_verification: "pending_verification";
6382
+ paid: "paid";
6383
+ canceled: "canceled";
6384
+ refunded: "refunded";
6385
+ failed: "failed";
6386
+ }>;
6387
+ amount: z.ZodString;
6388
+ method: z.ZodLiteral<"bank_transfer">;
6389
+ iban: z.ZodString;
6390
+ bic: z.ZodString;
6391
+ accountHolder: z.ZodString;
6392
+ bankName: z.ZodString;
6393
+ bankAddress: z.ZodNullable<z.ZodString>;
6394
+ currency: z.ZodString;
6395
+ description: z.ZodString;
6396
+ }, z.core.$strip>, z.ZodObject<{
6397
+ id: z.ZodString;
6398
+ status: z.ZodEnum<{
6399
+ pending: "pending";
6400
+ pending_verification: "pending_verification";
6401
+ paid: "paid";
6402
+ canceled: "canceled";
6403
+ refunded: "refunded";
6404
+ failed: "failed";
6405
+ }>;
6406
+ amount: z.ZodString;
6407
+ method: z.ZodLiteral<"cash">;
6408
+ }, z.core.$strip>, z.ZodObject<{
6409
+ id: z.ZodString;
6410
+ status: z.ZodEnum<{
6411
+ pending: "pending";
6412
+ pending_verification: "pending_verification";
6413
+ paid: "paid";
6414
+ canceled: "canceled";
6415
+ refunded: "refunded";
6416
+ failed: "failed";
6417
+ }>;
6418
+ amount: z.ZodString;
6419
+ method: z.ZodLiteral<"credit_card">;
6420
+ }, z.core.$strip>], "method">>;
6421
+ subscription: z.ZodNullable<z.ZodObject<{
6422
+ id: z.ZodString;
6423
+ status: z.ZodEnum<{
6424
+ created: "created";
6425
+ active: "active";
6426
+ pending_renewal: "pending_renewal";
6427
+ expired: "expired";
6428
+ suspended: "suspended";
6429
+ cancelled: "cancelled";
6430
+ }>;
6431
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6432
+ infinite: "infinite";
6433
+ time_based: "time_based";
6434
+ consumption: "consumption";
6435
+ }>>>;
6436
+ }, z.core.$strip>>;
6437
+ }, z.core.$strip>;
6438
+ type RefundSubscriptionPurchaseResponse = z.infer<typeof refundSubscriptionPurchaseResponseSchema>;
6439
+ declare class RefundSubscriptionPurchase extends AbstractApiRequest<typeof refundSubscriptionPurchaseInputSchema, typeof refundSubscriptionPurchaseResponseSchema> {
6440
+ readonly method: "POST";
6441
+ readonly contentType: "application/json";
6442
+ readonly accept: "application/json";
6443
+ readonly inputSchema: z.ZodObject<{
6444
+ response: z.ZodOptional<z.ZodString>;
6445
+ }, z.core.$strip>;
6446
+ readonly outputSchema: z.ZodObject<{
6447
+ id: z.ZodString;
6448
+ status: z.ZodEnum<{
6449
+ pending: "pending";
6450
+ completed: "completed";
6451
+ cancelled: "cancelled";
6452
+ failed: "failed";
6453
+ }>;
6454
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
6455
+ id: z.ZodString;
6456
+ status: z.ZodEnum<{
6457
+ pending: "pending";
6458
+ pending_verification: "pending_verification";
6459
+ paid: "paid";
6460
+ canceled: "canceled";
6461
+ refunded: "refunded";
6462
+ failed: "failed";
6463
+ }>;
6464
+ amount: z.ZodString;
6465
+ method: z.ZodLiteral<"stripe">;
6466
+ sessionUrl: z.ZodString;
6467
+ expiresAt: z.ZodString;
6468
+ }, z.core.$strip>, z.ZodObject<{
6469
+ id: z.ZodString;
6470
+ status: z.ZodEnum<{
6471
+ pending: "pending";
6472
+ pending_verification: "pending_verification";
6473
+ paid: "paid";
6474
+ canceled: "canceled";
6475
+ refunded: "refunded";
6476
+ failed: "failed";
6477
+ }>;
6478
+ amount: z.ZodString;
6479
+ method: z.ZodLiteral<"bank_transfer">;
6480
+ iban: z.ZodString;
6481
+ bic: z.ZodString;
6482
+ accountHolder: z.ZodString;
6483
+ bankName: z.ZodString;
6484
+ bankAddress: z.ZodNullable<z.ZodString>;
6485
+ currency: z.ZodString;
6486
+ description: z.ZodString;
6487
+ }, z.core.$strip>, z.ZodObject<{
6488
+ id: z.ZodString;
6489
+ status: z.ZodEnum<{
6490
+ pending: "pending";
6491
+ pending_verification: "pending_verification";
6492
+ paid: "paid";
6493
+ canceled: "canceled";
6494
+ refunded: "refunded";
6495
+ failed: "failed";
6496
+ }>;
6497
+ amount: z.ZodString;
6498
+ method: z.ZodLiteral<"cash">;
6499
+ }, z.core.$strip>, z.ZodObject<{
6500
+ id: z.ZodString;
6501
+ status: z.ZodEnum<{
6502
+ pending: "pending";
6503
+ pending_verification: "pending_verification";
6504
+ paid: "paid";
6505
+ canceled: "canceled";
6506
+ refunded: "refunded";
6507
+ failed: "failed";
6508
+ }>;
6509
+ amount: z.ZodString;
6510
+ method: z.ZodLiteral<"credit_card">;
6511
+ }, z.core.$strip>], "method">>;
6512
+ subscription: z.ZodNullable<z.ZodObject<{
6513
+ id: z.ZodString;
6514
+ status: z.ZodEnum<{
6515
+ created: "created";
6516
+ active: "active";
6517
+ pending_renewal: "pending_renewal";
6518
+ expired: "expired";
6519
+ suspended: "suspended";
6520
+ cancelled: "cancelled";
6521
+ }>;
6522
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6523
+ infinite: "infinite";
6524
+ time_based: "time_based";
6525
+ consumption: "consumption";
6526
+ }>>>;
6527
+ }, z.core.$strip>>;
6528
+ }, z.core.$strip>;
6529
+ readonly querySchema: undefined;
6530
+ readonly headersSchema: undefined;
6531
+ private readonly purchaseId;
6532
+ constructor(purchaseId: string, input?: RefundSubscriptionPurchaseInput);
6533
+ getPath(): string;
6534
+ }
6535
+
6536
+ declare const resolveSubscriptionPurchasePaymentInputSchema: z.ZodObject<{
6537
+ status: z.ZodEnum<{
6538
+ failed: "failed";
6539
+ paid: "paid";
6540
+ canceled: "canceled";
6541
+ }>;
6542
+ response: z.ZodOptional<z.ZodString>;
6543
+ }, z.core.$strip>;
6544
+ type ResolveSubscriptionPurchasePaymentInput = z.input<typeof resolveSubscriptionPurchasePaymentInputSchema>;
6545
+ declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6546
+ id: z.ZodString;
6547
+ status: z.ZodEnum<{
6548
+ pending: "pending";
6549
+ pending_verification: "pending_verification";
6550
+ paid: "paid";
6551
+ canceled: "canceled";
6552
+ refunded: "refunded";
6553
+ failed: "failed";
6554
+ }>;
6555
+ amount: z.ZodString;
6556
+ method: z.ZodLiteral<"stripe">;
6557
+ sessionUrl: z.ZodString;
6558
+ expiresAt: z.ZodString;
6559
+ }, z.core.$strip>, z.ZodObject<{
6560
+ id: z.ZodString;
6561
+ status: z.ZodEnum<{
6562
+ pending: "pending";
6563
+ pending_verification: "pending_verification";
6564
+ paid: "paid";
6565
+ canceled: "canceled";
5463
6566
  refunded: "refunded";
5464
6567
  failed: "failed";
5465
6568
  }>;
@@ -5575,75 +6678,220 @@ declare class ResolveSubscriptionPurchasePayment extends AbstractApiRequest<type
5575
6678
  getPath(): string;
5576
6679
  }
5577
6680
 
5578
- declare const createSubscriptionTimeBasedInputSchema: z.ZodObject<{
5579
- 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>>;
5580
- autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
5581
- startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
5582
- expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5583
- autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
5584
- autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
6681
+ declare const retrySubscriptionPurchasePaymentInputSchema: z.ZodObject<{
6682
+ method: z.ZodEnum<{
6683
+ stripe: "stripe";
6684
+ bank_transfer: "bank_transfer";
6685
+ cash: "cash";
6686
+ credit_card: "credit_card";
6687
+ }>;
5585
6688
  }, z.core.$strip>;
5586
- type CreateSubscriptionTimeBasedInput = z.input<typeof createSubscriptionTimeBasedInputSchema>;
5587
- declare const createSubscriptionTimeBasedResponseSchema: z.ZodObject<{
6689
+ type RetrySubscriptionPurchasePaymentInput = z.input<typeof retrySubscriptionPurchasePaymentInputSchema>;
6690
+ declare const retrySubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
5588
6691
  id: z.ZodString;
5589
6692
  status: z.ZodEnum<{
5590
- created: "created";
5591
- active: "active";
5592
- pending_renewal: "pending_renewal";
5593
- expired: "expired";
5594
- suspended: "suspended";
5595
- cancelled: "cancelled";
6693
+ pending: "pending";
6694
+ pending_verification: "pending_verification";
6695
+ paid: "paid";
6696
+ canceled: "canceled";
6697
+ refunded: "refunded";
6698
+ failed: "failed";
5596
6699
  }>;
5597
- autoRenewal: z.ZodBoolean;
5598
- startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5599
- customUnitPrice: z.ZodNullable<z.ZodString>;
5600
- plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5601
- id: z.ZodString;
5602
- code: z.ZodString;
5603
- name: z.ZodString;
5604
- type: z.ZodEnum<{
5605
- infinite: "infinite";
5606
- time_based: "time_based";
5607
- consumption: "consumption";
5608
- }>;
5609
- isActive: z.ZodBoolean;
5610
- isPurchasable: z.ZodBoolean;
5611
- isAdminOnly: z.ZodBoolean;
5612
- }, z.core.$strip>>>;
5613
- createdAt: z.ZodString;
5614
- updatedAt: z.ZodString;
5615
- 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>>;
5616
- type: z.ZodLiteral<"time_based">;
5617
- expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5618
- autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5619
- autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
5620
- 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>>>;
5621
- }, z.core.$strip>;
5622
- type CreateSubscriptionTimeBasedResponse = z.infer<typeof createSubscriptionTimeBasedResponseSchema>;
5623
- declare class CreateSubscriptionTimeBased extends AbstractApiRequest<typeof createSubscriptionTimeBasedInputSchema, typeof createSubscriptionTimeBasedResponseSchema> {
5624
- readonly method = "POST";
5625
- readonly contentType = "application/json";
5626
- readonly accept = "application/json";
5627
- readonly inputSchema: z.ZodObject<{
5628
- 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>>;
5629
- autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
5630
- startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
5631
- expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5632
- autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
5633
- autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
5634
- }, z.core.$strip>;
5635
- readonly outputSchema: z.ZodObject<{
5636
- id: z.ZodString;
5637
- status: z.ZodEnum<{
5638
- created: "created";
5639
- active: "active";
5640
- pending_renewal: "pending_renewal";
5641
- expired: "expired";
5642
- suspended: "suspended";
5643
- cancelled: "cancelled";
5644
- }>;
5645
- autoRenewal: z.ZodBoolean;
5646
- startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6700
+ amount: z.ZodString;
6701
+ method: z.ZodLiteral<"stripe">;
6702
+ sessionUrl: z.ZodString;
6703
+ expiresAt: z.ZodString;
6704
+ }, z.core.$strip>, z.ZodObject<{
6705
+ id: z.ZodString;
6706
+ status: z.ZodEnum<{
6707
+ pending: "pending";
6708
+ pending_verification: "pending_verification";
6709
+ paid: "paid";
6710
+ canceled: "canceled";
6711
+ refunded: "refunded";
6712
+ failed: "failed";
6713
+ }>;
6714
+ amount: z.ZodString;
6715
+ method: z.ZodLiteral<"bank_transfer">;
6716
+ iban: z.ZodString;
6717
+ bic: z.ZodString;
6718
+ accountHolder: z.ZodString;
6719
+ bankName: z.ZodString;
6720
+ bankAddress: z.ZodNullable<z.ZodString>;
6721
+ currency: z.ZodString;
6722
+ description: z.ZodString;
6723
+ }, z.core.$strip>, z.ZodObject<{
6724
+ id: z.ZodString;
6725
+ status: z.ZodEnum<{
6726
+ pending: "pending";
6727
+ pending_verification: "pending_verification";
6728
+ paid: "paid";
6729
+ canceled: "canceled";
6730
+ refunded: "refunded";
6731
+ failed: "failed";
6732
+ }>;
6733
+ amount: z.ZodString;
6734
+ method: z.ZodLiteral<"cash">;
6735
+ }, z.core.$strip>, z.ZodObject<{
6736
+ id: z.ZodString;
6737
+ status: z.ZodEnum<{
6738
+ pending: "pending";
6739
+ pending_verification: "pending_verification";
6740
+ paid: "paid";
6741
+ canceled: "canceled";
6742
+ refunded: "refunded";
6743
+ failed: "failed";
6744
+ }>;
6745
+ amount: z.ZodString;
6746
+ method: z.ZodLiteral<"credit_card">;
6747
+ }, z.core.$strip>], "method">;
6748
+ type RetrySubscriptionPurchasePaymentResponse = z.infer<typeof retrySubscriptionPurchasePaymentResponseSchema>;
6749
+ declare class RetrySubscriptionPurchasePayment extends AbstractApiRequest<typeof retrySubscriptionPurchasePaymentInputSchema, typeof retrySubscriptionPurchasePaymentResponseSchema> {
6750
+ readonly method: "POST";
6751
+ readonly contentType: "application/json";
6752
+ readonly accept: "application/json";
6753
+ readonly inputSchema: z.ZodObject<{
6754
+ method: z.ZodEnum<{
6755
+ stripe: "stripe";
6756
+ bank_transfer: "bank_transfer";
6757
+ cash: "cash";
6758
+ credit_card: "credit_card";
6759
+ }>;
6760
+ }, z.core.$strip>;
6761
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6762
+ id: z.ZodString;
6763
+ status: z.ZodEnum<{
6764
+ pending: "pending";
6765
+ pending_verification: "pending_verification";
6766
+ paid: "paid";
6767
+ canceled: "canceled";
6768
+ refunded: "refunded";
6769
+ failed: "failed";
6770
+ }>;
6771
+ amount: z.ZodString;
6772
+ method: z.ZodLiteral<"stripe">;
6773
+ sessionUrl: z.ZodString;
6774
+ expiresAt: z.ZodString;
6775
+ }, z.core.$strip>, z.ZodObject<{
6776
+ id: z.ZodString;
6777
+ status: z.ZodEnum<{
6778
+ pending: "pending";
6779
+ pending_verification: "pending_verification";
6780
+ paid: "paid";
6781
+ canceled: "canceled";
6782
+ refunded: "refunded";
6783
+ failed: "failed";
6784
+ }>;
6785
+ amount: z.ZodString;
6786
+ method: z.ZodLiteral<"bank_transfer">;
6787
+ iban: z.ZodString;
6788
+ bic: z.ZodString;
6789
+ accountHolder: z.ZodString;
6790
+ bankName: z.ZodString;
6791
+ bankAddress: z.ZodNullable<z.ZodString>;
6792
+ currency: z.ZodString;
6793
+ description: z.ZodString;
6794
+ }, z.core.$strip>, z.ZodObject<{
6795
+ id: z.ZodString;
6796
+ status: z.ZodEnum<{
6797
+ pending: "pending";
6798
+ pending_verification: "pending_verification";
6799
+ paid: "paid";
6800
+ canceled: "canceled";
6801
+ refunded: "refunded";
6802
+ failed: "failed";
6803
+ }>;
6804
+ amount: z.ZodString;
6805
+ method: z.ZodLiteral<"cash">;
6806
+ }, z.core.$strip>, z.ZodObject<{
6807
+ id: z.ZodString;
6808
+ status: z.ZodEnum<{
6809
+ pending: "pending";
6810
+ pending_verification: "pending_verification";
6811
+ paid: "paid";
6812
+ canceled: "canceled";
6813
+ refunded: "refunded";
6814
+ failed: "failed";
6815
+ }>;
6816
+ amount: z.ZodString;
6817
+ method: z.ZodLiteral<"credit_card">;
6818
+ }, z.core.$strip>], "method">;
6819
+ readonly querySchema: undefined;
6820
+ readonly headersSchema: undefined;
6821
+ private readonly purchaseId;
6822
+ constructor(purchaseId: string, method: PaymentMethod);
6823
+ getPath(): string;
6824
+ }
6825
+
6826
+ declare const createSubscriptionTimeBasedInputSchema: z.ZodObject<{
6827
+ 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>>;
6828
+ autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
6829
+ startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
6830
+ expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6831
+ autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
6832
+ autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
6833
+ }, z.core.$strip>;
6834
+ type CreateSubscriptionTimeBasedInput = z.input<typeof createSubscriptionTimeBasedInputSchema>;
6835
+ declare const createSubscriptionTimeBasedResponseSchema: z.ZodObject<{
6836
+ id: z.ZodString;
6837
+ status: z.ZodEnum<{
6838
+ created: "created";
6839
+ active: "active";
6840
+ pending_renewal: "pending_renewal";
6841
+ expired: "expired";
6842
+ suspended: "suspended";
6843
+ cancelled: "cancelled";
6844
+ }>;
6845
+ autoRenewal: z.ZodBoolean;
6846
+ startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6847
+ customUnitPrice: z.ZodNullable<z.ZodString>;
6848
+ plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6849
+ id: z.ZodString;
6850
+ code: z.ZodString;
6851
+ name: z.ZodString;
6852
+ type: z.ZodEnum<{
6853
+ infinite: "infinite";
6854
+ time_based: "time_based";
6855
+ consumption: "consumption";
6856
+ }>;
6857
+ isActive: z.ZodBoolean;
6858
+ isPurchasable: z.ZodBoolean;
6859
+ isAdminOnly: z.ZodBoolean;
6860
+ }, z.core.$strip>>>;
6861
+ createdAt: z.ZodString;
6862
+ updatedAt: z.ZodString;
6863
+ 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>>;
6864
+ type: z.ZodLiteral<"time_based">;
6865
+ expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6866
+ autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6867
+ autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
6868
+ 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>>>;
6869
+ }, z.core.$strip>;
6870
+ type CreateSubscriptionTimeBasedResponse = z.infer<typeof createSubscriptionTimeBasedResponseSchema>;
6871
+ declare class CreateSubscriptionTimeBased extends AbstractApiRequest<typeof createSubscriptionTimeBasedInputSchema, typeof createSubscriptionTimeBasedResponseSchema> {
6872
+ readonly method = "POST";
6873
+ readonly contentType = "application/json";
6874
+ readonly accept = "application/json";
6875
+ readonly inputSchema: z.ZodObject<{
6876
+ 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>>;
6877
+ autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
6878
+ startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
6879
+ expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6880
+ autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
6881
+ autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
6882
+ }, z.core.$strip>;
6883
+ readonly outputSchema: z.ZodObject<{
6884
+ id: z.ZodString;
6885
+ status: z.ZodEnum<{
6886
+ created: "created";
6887
+ active: "active";
6888
+ pending_renewal: "pending_renewal";
6889
+ expired: "expired";
6890
+ suspended: "suspended";
6891
+ cancelled: "cancelled";
6892
+ }>;
6893
+ autoRenewal: z.ZodBoolean;
6894
+ startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
5647
6895
  customUnitPrice: z.ZodNullable<z.ZodString>;
5648
6896
  plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5649
6897
  id: z.ZodString;
@@ -6023,12 +7271,11 @@ declare class UpdateSubscriptionTimeBased extends AbstractApiRequest<typeof upda
6023
7271
  getPath(): string;
6024
7272
  }
6025
7273
 
6026
- declare const createSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
6027
- subscription: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>>;
6028
- days: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
7274
+ declare const cancelSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
7275
+ response: z.ZodOptional<z.ZodString>;
6029
7276
  }, z.core.$strip>;
6030
- type CreateSubscriptionTimeBasedRenewalInput = z.input<typeof createSubscriptionTimeBasedRenewalInputSchema>;
6031
- declare const createSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
7277
+ type CancelSubscriptionTimeBasedRenewalInput = z.input<typeof cancelSubscriptionTimeBasedRenewalInputSchema>;
7278
+ declare const cancelSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
6032
7279
  id: z.ZodString;
6033
7280
  status: z.ZodEnum<{
6034
7281
  pending: "pending";
@@ -6036,64 +7283,254 @@ declare const createSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
6036
7283
  cancelled: "cancelled";
6037
7284
  completed: "completed";
6038
7285
  }>;
6039
- price: z.ZodString;
6040
- createdAt: z.ZodString;
6041
- updatedAt: z.ZodString;
6042
- 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>>;
6043
- days: z.ZodCoercedNumber<unknown>;
6044
- previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6045
- newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6046
- pricePerDay: z.ZodCoercedNumber<unknown>;
6047
- subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>;
6048
- }, z.core.$strip>;
6049
- type CreateSubscriptionTimeBasedRenewalResponse = z.infer<typeof createSubscriptionTimeBasedRenewalResponseSchema>;
6050
- declare class CreateSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof createSubscriptionTimeBasedRenewalInputSchema, typeof createSubscriptionTimeBasedRenewalResponseSchema> {
6051
- readonly method = "POST";
6052
- readonly contentType = "application/json";
6053
- readonly accept = "application/json";
6054
- readonly inputSchema: z.ZodObject<{
6055
- subscription: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>>;
6056
- days: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
6057
- }, z.core.$strip>;
6058
- readonly outputSchema: z.ZodObject<{
7286
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
6059
7287
  id: z.ZodString;
6060
7288
  status: z.ZodEnum<{
6061
7289
  pending: "pending";
7290
+ pending_verification: "pending_verification";
7291
+ paid: "paid";
7292
+ canceled: "canceled";
7293
+ refunded: "refunded";
6062
7294
  failed: "failed";
6063
- cancelled: "cancelled";
6064
- completed: "completed";
6065
7295
  }>;
6066
- price: z.ZodString;
6067
- createdAt: z.ZodString;
6068
- updatedAt: z.ZodString;
6069
- 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>>;
6070
- days: z.ZodCoercedNumber<unknown>;
6071
- previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6072
- newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6073
- pricePerDay: z.ZodCoercedNumber<unknown>;
6074
- subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>;
6075
- }, z.core.$strip>;
6076
- readonly querySchema: undefined;
6077
- readonly headersSchema: undefined;
6078
- constructor(input: CreateSubscriptionTimeBasedRenewalInput);
6079
- getPath(): string;
6080
- }
6081
-
6082
- declare const deleteSubscriptionTimeBasedRenewalInputSchema: z.ZodUndefined;
6083
- declare const deleteSubscriptionTimeBasedRenewalResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
6084
- declare class DeleteSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof deleteSubscriptionTimeBasedRenewalInputSchema, typeof deleteSubscriptionTimeBasedRenewalResponseSchema> {
6085
- readonly method = "DELETE";
6086
- readonly contentType = "application/json";
6087
- readonly accept = "application/json";
6088
- readonly inputSchema: z.ZodUndefined;
6089
- readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
6090
- readonly querySchema: undefined;
6091
- readonly headersSchema: undefined;
6092
- private readonly renewalId;
6093
- constructor(renewalId: string);
6094
- getPath(): string;
6095
- }
6096
-
7296
+ amount: z.ZodString;
7297
+ method: z.ZodLiteral<"stripe">;
7298
+ sessionUrl: z.ZodString;
7299
+ expiresAt: z.ZodString;
7300
+ }, z.core.$strip>, z.ZodObject<{
7301
+ id: z.ZodString;
7302
+ status: z.ZodEnum<{
7303
+ pending: "pending";
7304
+ pending_verification: "pending_verification";
7305
+ paid: "paid";
7306
+ canceled: "canceled";
7307
+ refunded: "refunded";
7308
+ failed: "failed";
7309
+ }>;
7310
+ amount: z.ZodString;
7311
+ method: z.ZodLiteral<"bank_transfer">;
7312
+ iban: z.ZodString;
7313
+ bic: z.ZodString;
7314
+ accountHolder: z.ZodString;
7315
+ bankName: z.ZodString;
7316
+ bankAddress: z.ZodNullable<z.ZodString>;
7317
+ currency: z.ZodString;
7318
+ description: z.ZodString;
7319
+ }, z.core.$strip>, z.ZodObject<{
7320
+ id: z.ZodString;
7321
+ status: z.ZodEnum<{
7322
+ pending: "pending";
7323
+ pending_verification: "pending_verification";
7324
+ paid: "paid";
7325
+ canceled: "canceled";
7326
+ refunded: "refunded";
7327
+ failed: "failed";
7328
+ }>;
7329
+ amount: z.ZodString;
7330
+ method: z.ZodLiteral<"cash">;
7331
+ }, z.core.$strip>, z.ZodObject<{
7332
+ id: z.ZodString;
7333
+ status: z.ZodEnum<{
7334
+ pending: "pending";
7335
+ pending_verification: "pending_verification";
7336
+ paid: "paid";
7337
+ canceled: "canceled";
7338
+ refunded: "refunded";
7339
+ failed: "failed";
7340
+ }>;
7341
+ amount: z.ZodString;
7342
+ method: z.ZodLiteral<"credit_card">;
7343
+ }, z.core.$strip>], "method">>;
7344
+ subscription: z.ZodObject<{
7345
+ id: z.ZodString;
7346
+ status: z.ZodEnum<{
7347
+ created: "created";
7348
+ active: "active";
7349
+ pending_renewal: "pending_renewal";
7350
+ expired: "expired";
7351
+ suspended: "suspended";
7352
+ cancelled: "cancelled";
7353
+ }>;
7354
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7355
+ infinite: "infinite";
7356
+ time_based: "time_based";
7357
+ consumption: "consumption";
7358
+ }>>>;
7359
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
7360
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
7361
+ }, z.core.$strip>;
7362
+ }, z.core.$strip>;
7363
+ type CancelSubscriptionTimeBasedRenewalResponse = z.infer<typeof cancelSubscriptionTimeBasedRenewalResponseSchema>;
7364
+ declare class CancelSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof cancelSubscriptionTimeBasedRenewalInputSchema, typeof cancelSubscriptionTimeBasedRenewalResponseSchema> {
7365
+ readonly method: "POST";
7366
+ readonly contentType: "application/json";
7367
+ readonly accept: "application/json";
7368
+ readonly inputSchema: z.ZodObject<{
7369
+ response: z.ZodOptional<z.ZodString>;
7370
+ }, z.core.$strip>;
7371
+ readonly outputSchema: z.ZodObject<{
7372
+ id: z.ZodString;
7373
+ status: z.ZodEnum<{
7374
+ pending: "pending";
7375
+ failed: "failed";
7376
+ cancelled: "cancelled";
7377
+ completed: "completed";
7378
+ }>;
7379
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
7380
+ id: z.ZodString;
7381
+ status: z.ZodEnum<{
7382
+ pending: "pending";
7383
+ pending_verification: "pending_verification";
7384
+ paid: "paid";
7385
+ canceled: "canceled";
7386
+ refunded: "refunded";
7387
+ failed: "failed";
7388
+ }>;
7389
+ amount: z.ZodString;
7390
+ method: z.ZodLiteral<"stripe">;
7391
+ sessionUrl: z.ZodString;
7392
+ expiresAt: z.ZodString;
7393
+ }, z.core.$strip>, z.ZodObject<{
7394
+ id: z.ZodString;
7395
+ status: z.ZodEnum<{
7396
+ pending: "pending";
7397
+ pending_verification: "pending_verification";
7398
+ paid: "paid";
7399
+ canceled: "canceled";
7400
+ refunded: "refunded";
7401
+ failed: "failed";
7402
+ }>;
7403
+ amount: z.ZodString;
7404
+ method: z.ZodLiteral<"bank_transfer">;
7405
+ iban: z.ZodString;
7406
+ bic: z.ZodString;
7407
+ accountHolder: z.ZodString;
7408
+ bankName: z.ZodString;
7409
+ bankAddress: z.ZodNullable<z.ZodString>;
7410
+ currency: z.ZodString;
7411
+ description: z.ZodString;
7412
+ }, z.core.$strip>, z.ZodObject<{
7413
+ id: z.ZodString;
7414
+ status: z.ZodEnum<{
7415
+ pending: "pending";
7416
+ pending_verification: "pending_verification";
7417
+ paid: "paid";
7418
+ canceled: "canceled";
7419
+ refunded: "refunded";
7420
+ failed: "failed";
7421
+ }>;
7422
+ amount: z.ZodString;
7423
+ method: z.ZodLiteral<"cash">;
7424
+ }, z.core.$strip>, z.ZodObject<{
7425
+ id: z.ZodString;
7426
+ status: z.ZodEnum<{
7427
+ pending: "pending";
7428
+ pending_verification: "pending_verification";
7429
+ paid: "paid";
7430
+ canceled: "canceled";
7431
+ refunded: "refunded";
7432
+ failed: "failed";
7433
+ }>;
7434
+ amount: z.ZodString;
7435
+ method: z.ZodLiteral<"credit_card">;
7436
+ }, z.core.$strip>], "method">>;
7437
+ subscription: z.ZodObject<{
7438
+ id: z.ZodString;
7439
+ status: z.ZodEnum<{
7440
+ created: "created";
7441
+ active: "active";
7442
+ pending_renewal: "pending_renewal";
7443
+ expired: "expired";
7444
+ suspended: "suspended";
7445
+ cancelled: "cancelled";
7446
+ }>;
7447
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
7448
+ infinite: "infinite";
7449
+ time_based: "time_based";
7450
+ consumption: "consumption";
7451
+ }>>>;
7452
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
7453
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
7454
+ }, z.core.$strip>;
7455
+ }, z.core.$strip>;
7456
+ readonly querySchema: undefined;
7457
+ readonly headersSchema: undefined;
7458
+ private readonly renewalId;
7459
+ constructor(renewalId: string, input?: CancelSubscriptionTimeBasedRenewalInput);
7460
+ getPath(): string;
7461
+ }
7462
+
7463
+ declare const createSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
7464
+ subscription: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>>;
7465
+ days: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
7466
+ }, z.core.$strip>;
7467
+ type CreateSubscriptionTimeBasedRenewalInput = z.input<typeof createSubscriptionTimeBasedRenewalInputSchema>;
7468
+ declare const createSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
7469
+ id: z.ZodString;
7470
+ status: z.ZodEnum<{
7471
+ pending: "pending";
7472
+ failed: "failed";
7473
+ cancelled: "cancelled";
7474
+ completed: "completed";
7475
+ }>;
7476
+ price: z.ZodString;
7477
+ createdAt: z.ZodString;
7478
+ updatedAt: z.ZodString;
7479
+ 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>>;
7480
+ days: z.ZodCoercedNumber<unknown>;
7481
+ previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7482
+ newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7483
+ pricePerDay: z.ZodCoercedNumber<unknown>;
7484
+ subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>;
7485
+ }, z.core.$strip>;
7486
+ type CreateSubscriptionTimeBasedRenewalResponse = z.infer<typeof createSubscriptionTimeBasedRenewalResponseSchema>;
7487
+ declare class CreateSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof createSubscriptionTimeBasedRenewalInputSchema, typeof createSubscriptionTimeBasedRenewalResponseSchema> {
7488
+ readonly method = "POST";
7489
+ readonly contentType = "application/json";
7490
+ readonly accept = "application/json";
7491
+ readonly inputSchema: z.ZodObject<{
7492
+ subscription: z.ZodNonOptional<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>>;
7493
+ days: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
7494
+ }, z.core.$strip>;
7495
+ readonly outputSchema: z.ZodObject<{
7496
+ id: z.ZodString;
7497
+ status: z.ZodEnum<{
7498
+ pending: "pending";
7499
+ failed: "failed";
7500
+ cancelled: "cancelled";
7501
+ completed: "completed";
7502
+ }>;
7503
+ price: z.ZodString;
7504
+ createdAt: z.ZodString;
7505
+ updatedAt: z.ZodString;
7506
+ 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>>;
7507
+ days: z.ZodCoercedNumber<unknown>;
7508
+ previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7509
+ newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7510
+ pricePerDay: z.ZodCoercedNumber<unknown>;
7511
+ subscription: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id">, unknown>>;
7512
+ }, z.core.$strip>;
7513
+ readonly querySchema: undefined;
7514
+ readonly headersSchema: undefined;
7515
+ constructor(input: CreateSubscriptionTimeBasedRenewalInput);
7516
+ getPath(): string;
7517
+ }
7518
+
7519
+ declare const deleteSubscriptionTimeBasedRenewalInputSchema: z.ZodUndefined;
7520
+ declare const deleteSubscriptionTimeBasedRenewalResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
7521
+ declare class DeleteSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof deleteSubscriptionTimeBasedRenewalInputSchema, typeof deleteSubscriptionTimeBasedRenewalResponseSchema> {
7522
+ readonly method = "DELETE";
7523
+ readonly contentType = "application/json";
7524
+ readonly accept = "application/json";
7525
+ readonly inputSchema: z.ZodUndefined;
7526
+ readonly outputSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
7527
+ readonly querySchema: undefined;
7528
+ readonly headersSchema: undefined;
7529
+ private readonly renewalId;
7530
+ constructor(renewalId: string);
7531
+ getPath(): string;
7532
+ }
7533
+
6097
7534
  declare const getSubscriptionTimeBasedRenewalDetailsInputSchema: z.ZodUndefined;
6098
7535
  type GetSubscriptionTimeBasedRenewalDetailsInput = z.input<typeof getSubscriptionTimeBasedRenewalDetailsInputSchema>;
6099
7536
  declare const getSubscriptionTimeBasedRenewalDetailsResponseSchema: z.ZodObject<{
@@ -6229,137 +7666,471 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
6229
7666
  pending: "pending";
6230
7667
  failed: "failed";
6231
7668
  cancelled: "cancelled";
6232
- completed: "completed";
7669
+ completed: "completed";
7670
+ }>;
7671
+ price: z.ZodString;
7672
+ createdAt: z.ZodString;
7673
+ updatedAt: z.ZodString;
7674
+ 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>>;
7675
+ days: z.ZodCoercedNumber<unknown>;
7676
+ previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7677
+ newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7678
+ pricePerDay: z.ZodCoercedNumber<unknown>;
7679
+ }, z.core.$strip>;
7680
+ readonly paginationDefaultEnabled = true;
7681
+ constructor(options?: {
7682
+ query?: GetSubscriptionTimeBasedRenewalsQueryParams;
7683
+ });
7684
+ getPath(): string;
7685
+ }
7686
+
7687
+ type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams = SubscriptionTimeBasedRenewalsQueryParams;
7688
+ declare const getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema: z.ZodUndefined;
7689
+ type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput = z.input<typeof getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema>;
7690
+ type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse = z.infer<typeof getSubscriptionTimeBasedRenewalsResponseSchema>;
7691
+ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends AbstractApiRequest<typeof getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, typeof getSubscriptionTimeBasedRenewalsResponseSchema, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams> {
7692
+ readonly method: "GET";
7693
+ readonly contentType: "application/json";
7694
+ readonly accept: "application/json";
7695
+ readonly inputSchema: z.ZodUndefined;
7696
+ readonly outputSchema: z.ZodObject<{
7697
+ data: z.ZodArray<z.ZodObject<{
7698
+ id: z.ZodString;
7699
+ status: z.ZodEnum<{
7700
+ pending: "pending";
7701
+ failed: "failed";
7702
+ cancelled: "cancelled";
7703
+ completed: "completed";
7704
+ }>;
7705
+ price: z.ZodString;
7706
+ createdAt: z.ZodString;
7707
+ updatedAt: z.ZodString;
7708
+ 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>>;
7709
+ days: z.ZodCoercedNumber<unknown>;
7710
+ previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7711
+ newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7712
+ pricePerDay: z.ZodCoercedNumber<unknown>;
7713
+ }, z.core.$strip>>;
7714
+ pagination: z.ZodObject<{
7715
+ from: z.ZodCoercedNumber<unknown>;
7716
+ to: z.ZodCoercedNumber<unknown>;
7717
+ itemsPerPage: z.ZodCoercedNumber<unknown>;
7718
+ totalItems: z.ZodCoercedNumber<unknown>;
7719
+ currentPage: z.ZodCoercedNumber<unknown>;
7720
+ lastPage: z.ZodCoercedNumber<unknown>;
7721
+ }, z.core.$strip>;
7722
+ }, z.core.$strip>;
7723
+ readonly querySchema: z.ZodObject<{
7724
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
7725
+ status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
7726
+ pending: "pending";
7727
+ failed: "failed";
7728
+ cancelled: "cancelled";
7729
+ completed: "completed";
7730
+ }>, z.ZodArray<z.ZodEnum<{
7731
+ pending: "pending";
7732
+ failed: "failed";
7733
+ cancelled: "cancelled";
7734
+ completed: "completed";
7735
+ }>>]>>;
7736
+ 'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7737
+ 'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7738
+ 'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7739
+ 'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7740
+ 'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7741
+ 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
7742
+ asc: "asc";
7743
+ desc: "desc";
7744
+ }>>;
7745
+ 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
7746
+ asc: "asc";
7747
+ desc: "desc";
7748
+ }>>;
7749
+ page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7750
+ 'createdAt[before]': z.ZodOptional<z.ZodString>;
7751
+ 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
7752
+ 'createdAt[after]': z.ZodOptional<z.ZodString>;
7753
+ 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
7754
+ 'updatedAt[before]': z.ZodOptional<z.ZodString>;
7755
+ 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
7756
+ 'updatedAt[after]': z.ZodOptional<z.ZodString>;
7757
+ 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
7758
+ 'days[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7759
+ 'days[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7760
+ 'days[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7761
+ 'days[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7762
+ 'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
7763
+ }, z.core.$strip>;
7764
+ readonly headersSchema: undefined;
7765
+ readonly listItemSchema: z.ZodObject<{
7766
+ id: z.ZodString;
7767
+ status: z.ZodEnum<{
7768
+ pending: "pending";
7769
+ failed: "failed";
7770
+ cancelled: "cancelled";
7771
+ completed: "completed";
7772
+ }>;
7773
+ price: z.ZodString;
7774
+ createdAt: z.ZodString;
7775
+ updatedAt: z.ZodString;
7776
+ 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>>;
7777
+ days: z.ZodCoercedNumber<unknown>;
7778
+ previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7779
+ newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
7780
+ pricePerDay: z.ZodCoercedNumber<unknown>;
7781
+ }, z.core.$strip>;
7782
+ readonly paginationDefaultEnabled = true;
7783
+ private readonly subscriptionId;
7784
+ constructor(subscriptionId: string, options?: {
7785
+ query?: GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams;
7786
+ });
7787
+ getPath(): string;
7788
+ }
7789
+
7790
+ declare const paySubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
7791
+ method: z.ZodEnum<{
7792
+ stripe: "stripe";
7793
+ bank_transfer: "bank_transfer";
7794
+ cash: "cash";
7795
+ credit_card: "credit_card";
7796
+ }>;
7797
+ }, z.core.$strip>;
7798
+ type PaySubscriptionTimeBasedRenewalInput = z.input<typeof paySubscriptionTimeBasedRenewalInputSchema>;
7799
+ declare const paySubscriptionTimeBasedRenewalResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7800
+ id: z.ZodString;
7801
+ status: z.ZodEnum<{
7802
+ pending: "pending";
7803
+ pending_verification: "pending_verification";
7804
+ paid: "paid";
7805
+ canceled: "canceled";
7806
+ refunded: "refunded";
7807
+ failed: "failed";
7808
+ }>;
7809
+ amount: z.ZodString;
7810
+ method: z.ZodLiteral<"stripe">;
7811
+ sessionUrl: z.ZodString;
7812
+ expiresAt: z.ZodString;
7813
+ }, z.core.$strip>, z.ZodObject<{
7814
+ id: z.ZodString;
7815
+ status: z.ZodEnum<{
7816
+ pending: "pending";
7817
+ pending_verification: "pending_verification";
7818
+ paid: "paid";
7819
+ canceled: "canceled";
7820
+ refunded: "refunded";
7821
+ failed: "failed";
7822
+ }>;
7823
+ amount: z.ZodString;
7824
+ method: z.ZodLiteral<"bank_transfer">;
7825
+ iban: z.ZodString;
7826
+ bic: z.ZodString;
7827
+ accountHolder: z.ZodString;
7828
+ bankName: z.ZodString;
7829
+ bankAddress: z.ZodNullable<z.ZodString>;
7830
+ currency: z.ZodString;
7831
+ description: z.ZodString;
7832
+ }, z.core.$strip>, z.ZodObject<{
7833
+ id: z.ZodString;
7834
+ status: z.ZodEnum<{
7835
+ pending: "pending";
7836
+ pending_verification: "pending_verification";
7837
+ paid: "paid";
7838
+ canceled: "canceled";
7839
+ refunded: "refunded";
7840
+ failed: "failed";
7841
+ }>;
7842
+ amount: z.ZodString;
7843
+ method: z.ZodLiteral<"cash">;
7844
+ }, z.core.$strip>, z.ZodObject<{
7845
+ id: z.ZodString;
7846
+ status: z.ZodEnum<{
7847
+ pending: "pending";
7848
+ pending_verification: "pending_verification";
7849
+ paid: "paid";
7850
+ canceled: "canceled";
7851
+ refunded: "refunded";
7852
+ failed: "failed";
7853
+ }>;
7854
+ amount: z.ZodString;
7855
+ method: z.ZodLiteral<"credit_card">;
7856
+ }, z.core.$strip>], "method">;
7857
+ type PaySubscriptionTimeBasedRenewalResponse = z.infer<typeof paySubscriptionTimeBasedRenewalResponseSchema>;
7858
+ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof paySubscriptionTimeBasedRenewalInputSchema, typeof paySubscriptionTimeBasedRenewalResponseSchema> {
7859
+ readonly method = "POST";
7860
+ readonly contentType = "application/json";
7861
+ readonly accept = "application/json";
7862
+ readonly inputSchema: z.ZodObject<{
7863
+ method: z.ZodEnum<{
7864
+ stripe: "stripe";
7865
+ bank_transfer: "bank_transfer";
7866
+ cash: "cash";
7867
+ credit_card: "credit_card";
7868
+ }>;
7869
+ }, z.core.$strip>;
7870
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7871
+ id: z.ZodString;
7872
+ status: z.ZodEnum<{
7873
+ pending: "pending";
7874
+ pending_verification: "pending_verification";
7875
+ paid: "paid";
7876
+ canceled: "canceled";
7877
+ refunded: "refunded";
7878
+ failed: "failed";
7879
+ }>;
7880
+ amount: z.ZodString;
7881
+ method: z.ZodLiteral<"stripe">;
7882
+ sessionUrl: z.ZodString;
7883
+ expiresAt: z.ZodString;
7884
+ }, z.core.$strip>, z.ZodObject<{
7885
+ id: z.ZodString;
7886
+ status: z.ZodEnum<{
7887
+ pending: "pending";
7888
+ pending_verification: "pending_verification";
7889
+ paid: "paid";
7890
+ canceled: "canceled";
7891
+ refunded: "refunded";
7892
+ failed: "failed";
7893
+ }>;
7894
+ amount: z.ZodString;
7895
+ method: z.ZodLiteral<"bank_transfer">;
7896
+ iban: z.ZodString;
7897
+ bic: z.ZodString;
7898
+ accountHolder: z.ZodString;
7899
+ bankName: z.ZodString;
7900
+ bankAddress: z.ZodNullable<z.ZodString>;
7901
+ currency: z.ZodString;
7902
+ description: z.ZodString;
7903
+ }, z.core.$strip>, z.ZodObject<{
7904
+ id: z.ZodString;
7905
+ status: z.ZodEnum<{
7906
+ pending: "pending";
7907
+ pending_verification: "pending_verification";
7908
+ paid: "paid";
7909
+ canceled: "canceled";
7910
+ refunded: "refunded";
7911
+ failed: "failed";
7912
+ }>;
7913
+ amount: z.ZodString;
7914
+ method: z.ZodLiteral<"cash">;
7915
+ }, z.core.$strip>, z.ZodObject<{
7916
+ id: z.ZodString;
7917
+ status: z.ZodEnum<{
7918
+ pending: "pending";
7919
+ pending_verification: "pending_verification";
7920
+ paid: "paid";
7921
+ canceled: "canceled";
7922
+ refunded: "refunded";
7923
+ failed: "failed";
7924
+ }>;
7925
+ amount: z.ZodString;
7926
+ method: z.ZodLiteral<"credit_card">;
7927
+ }, z.core.$strip>], "method">;
7928
+ readonly querySchema: undefined;
7929
+ readonly headersSchema: undefined;
7930
+ private readonly renewalId;
7931
+ constructor(renewalId: string, method: PaymentMethod);
7932
+ getPath(): string;
7933
+ }
7934
+
7935
+ declare const refundSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
7936
+ response: z.ZodOptional<z.ZodString>;
7937
+ }, z.core.$strip>;
7938
+ type RefundSubscriptionTimeBasedRenewalInput = z.input<typeof refundSubscriptionTimeBasedRenewalInputSchema>;
7939
+ declare const refundSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
7940
+ id: z.ZodString;
7941
+ status: z.ZodEnum<{
7942
+ pending: "pending";
7943
+ failed: "failed";
7944
+ cancelled: "cancelled";
7945
+ completed: "completed";
7946
+ }>;
7947
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
7948
+ id: z.ZodString;
7949
+ status: z.ZodEnum<{
7950
+ pending: "pending";
7951
+ pending_verification: "pending_verification";
7952
+ paid: "paid";
7953
+ canceled: "canceled";
7954
+ refunded: "refunded";
7955
+ failed: "failed";
7956
+ }>;
7957
+ amount: z.ZodString;
7958
+ method: z.ZodLiteral<"stripe">;
7959
+ sessionUrl: z.ZodString;
7960
+ expiresAt: z.ZodString;
7961
+ }, z.core.$strip>, z.ZodObject<{
7962
+ id: z.ZodString;
7963
+ status: z.ZodEnum<{
7964
+ pending: "pending";
7965
+ pending_verification: "pending_verification";
7966
+ paid: "paid";
7967
+ canceled: "canceled";
7968
+ refunded: "refunded";
7969
+ failed: "failed";
7970
+ }>;
7971
+ amount: z.ZodString;
7972
+ method: z.ZodLiteral<"bank_transfer">;
7973
+ iban: z.ZodString;
7974
+ bic: z.ZodString;
7975
+ accountHolder: z.ZodString;
7976
+ bankName: z.ZodString;
7977
+ bankAddress: z.ZodNullable<z.ZodString>;
7978
+ currency: z.ZodString;
7979
+ description: z.ZodString;
7980
+ }, z.core.$strip>, z.ZodObject<{
7981
+ id: z.ZodString;
7982
+ status: z.ZodEnum<{
7983
+ pending: "pending";
7984
+ pending_verification: "pending_verification";
7985
+ paid: "paid";
7986
+ canceled: "canceled";
7987
+ refunded: "refunded";
7988
+ failed: "failed";
7989
+ }>;
7990
+ amount: z.ZodString;
7991
+ method: z.ZodLiteral<"cash">;
7992
+ }, z.core.$strip>, z.ZodObject<{
7993
+ id: z.ZodString;
7994
+ status: z.ZodEnum<{
7995
+ pending: "pending";
7996
+ pending_verification: "pending_verification";
7997
+ paid: "paid";
7998
+ canceled: "canceled";
7999
+ refunded: "refunded";
8000
+ failed: "failed";
8001
+ }>;
8002
+ amount: z.ZodString;
8003
+ method: z.ZodLiteral<"credit_card">;
8004
+ }, z.core.$strip>], "method">>;
8005
+ subscription: z.ZodObject<{
8006
+ id: z.ZodString;
8007
+ status: z.ZodEnum<{
8008
+ created: "created";
8009
+ active: "active";
8010
+ pending_renewal: "pending_renewal";
8011
+ expired: "expired";
8012
+ suspended: "suspended";
8013
+ cancelled: "cancelled";
6233
8014
  }>;
6234
- price: z.ZodString;
6235
- createdAt: z.ZodString;
6236
- updatedAt: z.ZodString;
6237
- 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>>;
6238
- days: z.ZodCoercedNumber<unknown>;
6239
- previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6240
- newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6241
- pricePerDay: z.ZodCoercedNumber<unknown>;
8015
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8016
+ infinite: "infinite";
8017
+ time_based: "time_based";
8018
+ consumption: "consumption";
8019
+ }>>>;
8020
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
8021
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
6242
8022
  }, z.core.$strip>;
6243
- readonly paginationDefaultEnabled = true;
6244
- constructor(options?: {
6245
- query?: GetSubscriptionTimeBasedRenewalsQueryParams;
6246
- });
6247
- getPath(): string;
6248
- }
6249
-
6250
- type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams = SubscriptionTimeBasedRenewalsQueryParams;
6251
- declare const getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema: z.ZodUndefined;
6252
- type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput = z.input<typeof getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema>;
6253
- type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse = z.infer<typeof getSubscriptionTimeBasedRenewalsResponseSchema>;
6254
- declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends AbstractApiRequest<typeof getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, typeof getSubscriptionTimeBasedRenewalsResponseSchema, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams> {
6255
- readonly method: "GET";
8023
+ }, z.core.$strip>;
8024
+ type RefundSubscriptionTimeBasedRenewalResponse = z.infer<typeof refundSubscriptionTimeBasedRenewalResponseSchema>;
8025
+ declare class RefundSubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof refundSubscriptionTimeBasedRenewalInputSchema, typeof refundSubscriptionTimeBasedRenewalResponseSchema> {
8026
+ readonly method: "POST";
6256
8027
  readonly contentType: "application/json";
6257
8028
  readonly accept: "application/json";
6258
- readonly inputSchema: z.ZodUndefined;
8029
+ readonly inputSchema: z.ZodObject<{
8030
+ response: z.ZodOptional<z.ZodString>;
8031
+ }, z.core.$strip>;
6259
8032
  readonly outputSchema: z.ZodObject<{
6260
- data: z.ZodArray<z.ZodObject<{
8033
+ id: z.ZodString;
8034
+ status: z.ZodEnum<{
8035
+ pending: "pending";
8036
+ failed: "failed";
8037
+ cancelled: "cancelled";
8038
+ completed: "completed";
8039
+ }>;
8040
+ payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
8041
+ id: z.ZodString;
8042
+ status: z.ZodEnum<{
8043
+ pending: "pending";
8044
+ pending_verification: "pending_verification";
8045
+ paid: "paid";
8046
+ canceled: "canceled";
8047
+ refunded: "refunded";
8048
+ failed: "failed";
8049
+ }>;
8050
+ amount: z.ZodString;
8051
+ method: z.ZodLiteral<"stripe">;
8052
+ sessionUrl: z.ZodString;
8053
+ expiresAt: z.ZodString;
8054
+ }, z.core.$strip>, z.ZodObject<{
8055
+ id: z.ZodString;
8056
+ status: z.ZodEnum<{
8057
+ pending: "pending";
8058
+ pending_verification: "pending_verification";
8059
+ paid: "paid";
8060
+ canceled: "canceled";
8061
+ refunded: "refunded";
8062
+ failed: "failed";
8063
+ }>;
8064
+ amount: z.ZodString;
8065
+ method: z.ZodLiteral<"bank_transfer">;
8066
+ iban: z.ZodString;
8067
+ bic: z.ZodString;
8068
+ accountHolder: z.ZodString;
8069
+ bankName: z.ZodString;
8070
+ bankAddress: z.ZodNullable<z.ZodString>;
8071
+ currency: z.ZodString;
8072
+ description: z.ZodString;
8073
+ }, z.core.$strip>, z.ZodObject<{
8074
+ id: z.ZodString;
8075
+ status: z.ZodEnum<{
8076
+ pending: "pending";
8077
+ pending_verification: "pending_verification";
8078
+ paid: "paid";
8079
+ canceled: "canceled";
8080
+ refunded: "refunded";
8081
+ failed: "failed";
8082
+ }>;
8083
+ amount: z.ZodString;
8084
+ method: z.ZodLiteral<"cash">;
8085
+ }, z.core.$strip>, z.ZodObject<{
6261
8086
  id: z.ZodString;
6262
8087
  status: z.ZodEnum<{
6263
8088
  pending: "pending";
8089
+ pending_verification: "pending_verification";
8090
+ paid: "paid";
8091
+ canceled: "canceled";
8092
+ refunded: "refunded";
6264
8093
  failed: "failed";
8094
+ }>;
8095
+ amount: z.ZodString;
8096
+ method: z.ZodLiteral<"credit_card">;
8097
+ }, z.core.$strip>], "method">>;
8098
+ subscription: z.ZodObject<{
8099
+ id: z.ZodString;
8100
+ status: z.ZodEnum<{
8101
+ created: "created";
8102
+ active: "active";
8103
+ pending_renewal: "pending_renewal";
8104
+ expired: "expired";
8105
+ suspended: "suspended";
6265
8106
  cancelled: "cancelled";
6266
- completed: "completed";
6267
8107
  }>;
6268
- price: z.ZodString;
6269
- createdAt: z.ZodString;
6270
- updatedAt: z.ZodString;
6271
- 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>>;
6272
- days: z.ZodCoercedNumber<unknown>;
6273
- previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6274
- newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6275
- pricePerDay: z.ZodCoercedNumber<unknown>;
6276
- }, z.core.$strip>>;
6277
- pagination: z.ZodObject<{
6278
- from: z.ZodCoercedNumber<unknown>;
6279
- to: z.ZodCoercedNumber<unknown>;
6280
- itemsPerPage: z.ZodCoercedNumber<unknown>;
6281
- totalItems: z.ZodCoercedNumber<unknown>;
6282
- currentPage: z.ZodCoercedNumber<unknown>;
6283
- lastPage: z.ZodCoercedNumber<unknown>;
8108
+ type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8109
+ infinite: "infinite";
8110
+ time_based: "time_based";
8111
+ consumption: "consumption";
8112
+ }>>>;
8113
+ credits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
8114
+ expiresAt: z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
6284
8115
  }, z.core.$strip>;
6285
8116
  }, z.core.$strip>;
6286
- readonly querySchema: z.ZodObject<{
6287
- id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
6288
- status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
6289
- pending: "pending";
6290
- failed: "failed";
6291
- cancelled: "cancelled";
6292
- completed: "completed";
6293
- }>, z.ZodArray<z.ZodEnum<{
6294
- pending: "pending";
6295
- failed: "failed";
6296
- cancelled: "cancelled";
6297
- completed: "completed";
6298
- }>>]>>;
6299
- 'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6300
- 'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6301
- 'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6302
- 'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6303
- 'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6304
- 'order[createdAt]': z.ZodOptional<z.ZodEnum<{
6305
- asc: "asc";
6306
- desc: "desc";
6307
- }>>;
6308
- 'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
6309
- asc: "asc";
6310
- desc: "desc";
6311
- }>>;
6312
- page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6313
- 'createdAt[before]': z.ZodOptional<z.ZodString>;
6314
- 'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
6315
- 'createdAt[after]': z.ZodOptional<z.ZodString>;
6316
- 'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
6317
- 'updatedAt[before]': z.ZodOptional<z.ZodString>;
6318
- 'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
6319
- 'updatedAt[after]': z.ZodOptional<z.ZodString>;
6320
- 'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
6321
- 'days[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6322
- 'days[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6323
- 'days[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6324
- 'days[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6325
- 'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
6326
- }, z.core.$strip>;
8117
+ readonly querySchema: undefined;
6327
8118
  readonly headersSchema: undefined;
6328
- readonly listItemSchema: z.ZodObject<{
6329
- id: z.ZodString;
6330
- status: z.ZodEnum<{
6331
- pending: "pending";
6332
- failed: "failed";
6333
- cancelled: "cancelled";
6334
- completed: "completed";
6335
- }>;
6336
- price: z.ZodString;
6337
- createdAt: z.ZodString;
6338
- updatedAt: z.ZodString;
6339
- 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>>;
6340
- days: z.ZodCoercedNumber<unknown>;
6341
- previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6342
- newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
6343
- pricePerDay: z.ZodCoercedNumber<unknown>;
6344
- }, z.core.$strip>;
6345
- readonly paginationDefaultEnabled = true;
6346
- private readonly subscriptionId;
6347
- constructor(subscriptionId: string, options?: {
6348
- query?: GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams;
6349
- });
8119
+ private readonly renewalId;
8120
+ constructor(renewalId: string, input?: RefundSubscriptionTimeBasedRenewalInput);
6350
8121
  getPath(): string;
6351
8122
  }
6352
8123
 
6353
- declare const paySubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
6354
- method: z.ZodEnum<{
6355
- stripe: "stripe";
6356
- bank_transfer: "bank_transfer";
6357
- cash: "cash";
6358
- credit_card: "credit_card";
8124
+ declare const resolveSubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
8125
+ status: z.ZodEnum<{
8126
+ failed: "failed";
8127
+ paid: "paid";
8128
+ canceled: "canceled";
6359
8129
  }>;
8130
+ response: z.ZodOptional<z.ZodString>;
6360
8131
  }, z.core.$strip>;
6361
- type PaySubscriptionTimeBasedRenewalInput = z.input<typeof paySubscriptionTimeBasedRenewalInputSchema>;
6362
- declare const paySubscriptionTimeBasedRenewalResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8132
+ type ResolveSubscriptionTimeBasedRenewalPaymentInput = z.input<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema>;
8133
+ declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6363
8134
  id: z.ZodString;
6364
8135
  status: z.ZodEnum<{
6365
8136
  pending: "pending";
@@ -6417,18 +8188,18 @@ declare const paySubscriptionTimeBasedRenewalResponseSchema: z.ZodDiscriminatedU
6417
8188
  amount: z.ZodString;
6418
8189
  method: z.ZodLiteral<"credit_card">;
6419
8190
  }, z.core.$strip>], "method">;
6420
- type PaySubscriptionTimeBasedRenewalResponse = z.infer<typeof paySubscriptionTimeBasedRenewalResponseSchema>;
6421
- declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof paySubscriptionTimeBasedRenewalInputSchema, typeof paySubscriptionTimeBasedRenewalResponseSchema> {
8191
+ type ResolveSubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema>;
8192
+ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema, typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema> {
6422
8193
  readonly method = "POST";
6423
8194
  readonly contentType = "application/json";
6424
8195
  readonly accept = "application/json";
6425
8196
  readonly inputSchema: z.ZodObject<{
6426
- method: z.ZodEnum<{
6427
- stripe: "stripe";
6428
- bank_transfer: "bank_transfer";
6429
- cash: "cash";
6430
- credit_card: "credit_card";
8197
+ status: z.ZodEnum<{
8198
+ failed: "failed";
8199
+ paid: "paid";
8200
+ canceled: "canceled";
6431
8201
  }>;
8202
+ response: z.ZodOptional<z.ZodString>;
6432
8203
  }, z.core.$strip>;
6433
8204
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6434
8205
  id: z.ZodString;
@@ -6491,20 +8262,20 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
6491
8262
  readonly querySchema: undefined;
6492
8263
  readonly headersSchema: undefined;
6493
8264
  private readonly renewalId;
6494
- constructor(renewalId: string, method: PaymentMethod);
8265
+ constructor(renewalId: string, input: ResolveSubscriptionTimeBasedRenewalPaymentInput);
6495
8266
  getPath(): string;
6496
8267
  }
6497
8268
 
6498
- declare const resolveSubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
6499
- status: z.ZodEnum<{
6500
- failed: "failed";
6501
- paid: "paid";
6502
- canceled: "canceled";
8269
+ declare const retrySubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
8270
+ method: z.ZodEnum<{
8271
+ stripe: "stripe";
8272
+ bank_transfer: "bank_transfer";
8273
+ cash: "cash";
8274
+ credit_card: "credit_card";
6503
8275
  }>;
6504
- response: z.ZodOptional<z.ZodString>;
6505
8276
  }, z.core.$strip>;
6506
- type ResolveSubscriptionTimeBasedRenewalPaymentInput = z.input<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema>;
6507
- declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
8277
+ type RetrySubscriptionTimeBasedRenewalPaymentInput = z.input<typeof retrySubscriptionTimeBasedRenewalPaymentInputSchema>;
8278
+ declare const retrySubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6508
8279
  id: z.ZodString;
6509
8280
  status: z.ZodEnum<{
6510
8281
  pending: "pending";
@@ -6562,18 +8333,18 @@ declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDis
6562
8333
  amount: z.ZodString;
6563
8334
  method: z.ZodLiteral<"credit_card">;
6564
8335
  }, z.core.$strip>], "method">;
6565
- type ResolveSubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema>;
6566
- declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema, typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema> {
6567
- readonly method = "POST";
6568
- readonly contentType = "application/json";
6569
- readonly accept = "application/json";
8336
+ type RetrySubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof retrySubscriptionTimeBasedRenewalPaymentResponseSchema>;
8337
+ declare class RetrySubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof retrySubscriptionTimeBasedRenewalPaymentInputSchema, typeof retrySubscriptionTimeBasedRenewalPaymentResponseSchema> {
8338
+ readonly method: "POST";
8339
+ readonly contentType: "application/json";
8340
+ readonly accept: "application/json";
6570
8341
  readonly inputSchema: z.ZodObject<{
6571
- status: z.ZodEnum<{
6572
- failed: "failed";
6573
- paid: "paid";
6574
- canceled: "canceled";
8342
+ method: z.ZodEnum<{
8343
+ stripe: "stripe";
8344
+ bank_transfer: "bank_transfer";
8345
+ cash: "cash";
8346
+ credit_card: "credit_card";
6575
8347
  }>;
6576
- response: z.ZodOptional<z.ZodString>;
6577
8348
  }, z.core.$strip>;
6578
8349
  readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6579
8350
  id: z.ZodString;
@@ -6636,7 +8407,7 @@ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequ
6636
8407
  readonly querySchema: undefined;
6637
8408
  readonly headersSchema: undefined;
6638
8409
  private readonly renewalId;
6639
- constructor(renewalId: string, input: ResolveSubscriptionTimeBasedRenewalPaymentInput);
8410
+ constructor(renewalId: string, method: PaymentMethod);
6640
8411
  getPath(): string;
6641
8412
  }
6642
8413
 
@@ -7840,4 +9611,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
7840
9611
  getPath(): string;
7841
9612
  }
7842
9613
 
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 };
9614
+ 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 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, 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 };