@deliverart/sdk-js-subscription 2.13.5 → 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/README.md +124 -0
- package/dist/index.cjs +448 -94
- package/dist/index.d.cts +2658 -598
- package/dist/index.d.ts +2658 -598
- package/dist/index.js +409 -94
- package/package.json +4 -4
package/dist/index.d.cts
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>>;
|
|
@@ -765,6 +975,33 @@ declare const writableSubscriptionPurchaseSchema: z.ZodObject<{
|
|
|
765
975
|
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
766
976
|
}, z.core.$strip>;
|
|
767
977
|
type WritableSubscriptionPurchase = z.infer<typeof writableSubscriptionPurchaseSchema>;
|
|
978
|
+
declare const assignSubscriptionPlanInputSchema: z.ZodObject<{
|
|
979
|
+
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>>;
|
|
980
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
981
|
+
startsAt: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
982
|
+
}, z.core.$strip>;
|
|
983
|
+
type WritableAssignedSubscriptionPlan = z.infer<typeof assignSubscriptionPlanInputSchema>;
|
|
984
|
+
declare const calculateSubscriptionPlanPurchaseQuoteInputSchema: z.ZodObject<{
|
|
985
|
+
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>>;
|
|
986
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
987
|
+
startsAt: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
988
|
+
}, z.core.$strip>;
|
|
989
|
+
type WritableSubscriptionPlanPurchaseQuote = z.infer<typeof calculateSubscriptionPlanPurchaseQuoteInputSchema>;
|
|
990
|
+
declare const subscriptionPurchaseQuoteSchema: z.ZodObject<{
|
|
991
|
+
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>>;
|
|
992
|
+
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>>;
|
|
993
|
+
type: z.ZodEnum<{
|
|
994
|
+
infinite: "infinite";
|
|
995
|
+
time_based: "time_based";
|
|
996
|
+
consumption: "consumption";
|
|
997
|
+
}>;
|
|
998
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
999
|
+
autoRenewal: z.ZodBoolean;
|
|
1000
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
1001
|
+
unitPrice: z.ZodString;
|
|
1002
|
+
amount: z.ZodString;
|
|
1003
|
+
}, z.core.$strip>;
|
|
1004
|
+
type SubscriptionPurchaseQuote = z.infer<typeof subscriptionPurchaseQuoteSchema>;
|
|
768
1005
|
declare const subscriptionOverviewSubscriptionSchema: z.ZodObject<{
|
|
769
1006
|
id: z.ZodString;
|
|
770
1007
|
iri: z.ZodUnion<readonly [z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id">, unknown>>, 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>>, 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>>]>;
|
|
@@ -2621,12 +2858,11 @@ declare class UpdateSubscriptionConsumption extends AbstractApiRequest<typeof up
|
|
|
2621
2858
|
getPath(): string;
|
|
2622
2859
|
}
|
|
2623
2860
|
|
|
2624
|
-
declare const
|
|
2625
|
-
|
|
2626
|
-
credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2861
|
+
declare const cancelSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
|
|
2862
|
+
response: z.ZodOptional<z.ZodString>;
|
|
2627
2863
|
}, z.core.$strip>;
|
|
2628
|
-
type
|
|
2629
|
-
declare const
|
|
2864
|
+
type CancelSubscriptionConsumptionRenewalInput = z.input<typeof cancelSubscriptionConsumptionRenewalInputSchema>;
|
|
2865
|
+
declare const cancelSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
2630
2866
|
id: z.ZodString;
|
|
2631
2867
|
status: z.ZodEnum<{
|
|
2632
2868
|
pending: "pending";
|
|
@@ -2634,53 +2870,243 @@ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
2634
2870
|
cancelled: "cancelled";
|
|
2635
2871
|
completed: "completed";
|
|
2636
2872
|
}>;
|
|
2637
|
-
|
|
2638
|
-
createdAt: z.ZodString;
|
|
2639
|
-
updatedAt: z.ZodString;
|
|
2640
|
-
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>>;
|
|
2641
|
-
credits: z.ZodCoercedNumber<unknown>;
|
|
2642
|
-
pricePerCredit: z.ZodCoercedNumber<unknown>;
|
|
2643
|
-
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>>;
|
|
2644
|
-
}, z.core.$strip>;
|
|
2645
|
-
type CreateSubscriptionConsumptionRenewalResponse = z.infer<typeof createSubscriptionConsumptionRenewalResponseSchema>;
|
|
2646
|
-
declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<typeof createSubscriptionConsumptionRenewalInputSchema, typeof createSubscriptionConsumptionRenewalResponseSchema> {
|
|
2647
|
-
readonly method = "POST";
|
|
2648
|
-
readonly contentType = "application/json";
|
|
2649
|
-
readonly accept = "application/json";
|
|
2650
|
-
readonly inputSchema: z.ZodObject<{
|
|
2651
|
-
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>>>;
|
|
2652
|
-
credits: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
2653
|
-
}, z.core.$strip>;
|
|
2654
|
-
readonly outputSchema: z.ZodObject<{
|
|
2873
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2655
2874
|
id: z.ZodString;
|
|
2656
2875
|
status: z.ZodEnum<{
|
|
2657
2876
|
pending: "pending";
|
|
2877
|
+
pending_verification: "pending_verification";
|
|
2878
|
+
paid: "paid";
|
|
2879
|
+
canceled: "canceled";
|
|
2880
|
+
refunded: "refunded";
|
|
2658
2881
|
failed: "failed";
|
|
2659
|
-
cancelled: "cancelled";
|
|
2660
|
-
completed: "completed";
|
|
2661
2882
|
}>;
|
|
2662
|
-
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
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]>;
|
|
2684
3110
|
readonly querySchema: undefined;
|
|
2685
3111
|
readonly headersSchema: undefined;
|
|
2686
3112
|
private readonly renewalId;
|
|
@@ -3154,67 +3580,256 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
|
|
|
3154
3580
|
getPath(): string;
|
|
3155
3581
|
}
|
|
3156
3582
|
|
|
3157
|
-
declare const
|
|
3158
|
-
status: z.ZodEnum<{
|
|
3159
|
-
failed: "failed";
|
|
3160
|
-
paid: "paid";
|
|
3161
|
-
canceled: "canceled";
|
|
3162
|
-
}>;
|
|
3583
|
+
declare const refundSubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
|
|
3163
3584
|
response: z.ZodOptional<z.ZodString>;
|
|
3164
3585
|
}, z.core.$strip>;
|
|
3165
|
-
type
|
|
3166
|
-
declare const
|
|
3167
|
-
id: z.ZodString;
|
|
3168
|
-
status: z.ZodEnum<{
|
|
3169
|
-
pending: "pending";
|
|
3170
|
-
pending_verification: "pending_verification";
|
|
3171
|
-
paid: "paid";
|
|
3172
|
-
canceled: "canceled";
|
|
3173
|
-
refunded: "refunded";
|
|
3174
|
-
failed: "failed";
|
|
3175
|
-
}>;
|
|
3176
|
-
amount: z.ZodString;
|
|
3177
|
-
method: z.ZodLiteral<"stripe">;
|
|
3178
|
-
sessionUrl: z.ZodString;
|
|
3179
|
-
expiresAt: z.ZodString;
|
|
3180
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3181
|
-
id: z.ZodString;
|
|
3182
|
-
status: z.ZodEnum<{
|
|
3183
|
-
pending: "pending";
|
|
3184
|
-
pending_verification: "pending_verification";
|
|
3185
|
-
paid: "paid";
|
|
3186
|
-
canceled: "canceled";
|
|
3187
|
-
refunded: "refunded";
|
|
3188
|
-
failed: "failed";
|
|
3189
|
-
}>;
|
|
3190
|
-
amount: z.ZodString;
|
|
3191
|
-
method: z.ZodLiteral<"bank_transfer">;
|
|
3192
|
-
iban: z.ZodString;
|
|
3193
|
-
bic: z.ZodString;
|
|
3194
|
-
accountHolder: z.ZodString;
|
|
3195
|
-
bankName: z.ZodString;
|
|
3196
|
-
bankAddress: z.ZodNullable<z.ZodString>;
|
|
3197
|
-
currency: z.ZodString;
|
|
3198
|
-
description: z.ZodString;
|
|
3199
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3586
|
+
type RefundSubscriptionConsumptionRenewalInput = z.input<typeof refundSubscriptionConsumptionRenewalInputSchema>;
|
|
3587
|
+
declare const refundSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
3200
3588
|
id: z.ZodString;
|
|
3201
3589
|
status: z.ZodEnum<{
|
|
3202
3590
|
pending: "pending";
|
|
3203
|
-
pending_verification: "pending_verification";
|
|
3204
|
-
paid: "paid";
|
|
3205
|
-
canceled: "canceled";
|
|
3206
|
-
refunded: "refunded";
|
|
3207
3591
|
failed: "failed";
|
|
3592
|
+
cancelled: "cancelled";
|
|
3593
|
+
completed: "completed";
|
|
3208
3594
|
}>;
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
|
|
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;
|
|
3814
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3815
|
+
id: z.ZodString;
|
|
3816
|
+
status: z.ZodEnum<{
|
|
3817
|
+
pending: "pending";
|
|
3818
|
+
pending_verification: "pending_verification";
|
|
3819
|
+
paid: "paid";
|
|
3820
|
+
canceled: "canceled";
|
|
3821
|
+
refunded: "refunded";
|
|
3822
|
+
failed: "failed";
|
|
3823
|
+
}>;
|
|
3824
|
+
amount: z.ZodString;
|
|
3825
|
+
method: z.ZodLiteral<"cash">;
|
|
3826
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3827
|
+
id: z.ZodString;
|
|
3828
|
+
status: z.ZodEnum<{
|
|
3829
|
+
pending: "pending";
|
|
3830
|
+
pending_verification: "pending_verification";
|
|
3831
|
+
paid: "paid";
|
|
3832
|
+
canceled: "canceled";
|
|
3218
3833
|
refunded: "refunded";
|
|
3219
3834
|
failed: "failed";
|
|
3220
3835
|
}>;
|
|
@@ -3299,44 +3914,189 @@ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRe
|
|
|
3299
3914
|
getPath(): string;
|
|
3300
3915
|
}
|
|
3301
3916
|
|
|
3302
|
-
declare const
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
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
|
+
}>;
|
|
3306
3924
|
}, z.core.$strip>;
|
|
3307
|
-
type
|
|
3308
|
-
declare const
|
|
3925
|
+
type RetrySubscriptionConsumptionRenewalPaymentInput = z.input<typeof retrySubscriptionConsumptionRenewalPaymentInputSchema>;
|
|
3926
|
+
declare const retrySubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3309
3927
|
id: z.ZodString;
|
|
3310
3928
|
status: z.ZodEnum<{
|
|
3311
|
-
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3929
|
+
pending: "pending";
|
|
3930
|
+
pending_verification: "pending_verification";
|
|
3931
|
+
paid: "paid";
|
|
3932
|
+
canceled: "canceled";
|
|
3933
|
+
refunded: "refunded";
|
|
3934
|
+
failed: "failed";
|
|
3317
3935
|
}>;
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
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>;
|
|
3340
4100
|
declare class CreateSubscriptionInfinite extends AbstractApiRequest<typeof createSubscriptionInfiniteInputSchema, typeof createSubscriptionInfiniteResponseSchema> {
|
|
3341
4101
|
readonly method = "POST";
|
|
3342
4102
|
readonly contentType = "application/json";
|
|
@@ -3466,112 +4226,323 @@ declare class GetSubscriptionInfiniteDetails extends AbstractApiRequest<typeof g
|
|
|
3466
4226
|
createdAt: z.ZodString;
|
|
3467
4227
|
updatedAt: z.ZodString;
|
|
3468
4228
|
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>>;
|
|
3469
|
-
type: z.ZodLiteral<"infinite">;
|
|
3470
|
-
}, z.core.$strip>;
|
|
3471
|
-
readonly querySchema: undefined;
|
|
3472
|
-
readonly headersSchema: undefined;
|
|
3473
|
-
private readonly subscriptionId;
|
|
3474
|
-
constructor(subscriptionId: string);
|
|
3475
|
-
getPath(): string;
|
|
3476
|
-
}
|
|
3477
|
-
|
|
3478
|
-
type GetSubscriptionInfiniteListQueryParams = SubscriptionQueryParams;
|
|
3479
|
-
declare const getSubscriptionInfiniteListInputSchema: z.ZodUndefined;
|
|
3480
|
-
type GetSubscriptionInfiniteListInput = z.input<typeof getSubscriptionInfiniteListInputSchema>;
|
|
3481
|
-
type GetSubscriptionInfiniteListResponse = z.infer<typeof getSubscriptionInfiniteListResponseSchema>;
|
|
3482
|
-
declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getSubscriptionInfiniteListInputSchema, typeof getSubscriptionInfiniteListResponseSchema, GetSubscriptionInfiniteListQueryParams> {
|
|
3483
|
-
readonly method: "GET";
|
|
3484
|
-
readonly contentType: "application/json";
|
|
3485
|
-
readonly accept: "application/json";
|
|
3486
|
-
readonly inputSchema: z.ZodUndefined;
|
|
3487
|
-
readonly outputSchema: z.ZodObject<{
|
|
3488
|
-
data: z.ZodArray<z.ZodObject<{
|
|
3489
|
-
id: z.ZodString;
|
|
3490
|
-
status: z.ZodEnum<{
|
|
3491
|
-
created: "created";
|
|
3492
|
-
active: "active";
|
|
3493
|
-
pending_renewal: "pending_renewal";
|
|
3494
|
-
expired: "expired";
|
|
3495
|
-
suspended: "suspended";
|
|
3496
|
-
cancelled: "cancelled";
|
|
3497
|
-
}>;
|
|
3498
|
-
autoRenewal: z.ZodBoolean;
|
|
3499
|
-
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
3500
|
-
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
3501
|
-
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3502
|
-
id: z.ZodString;
|
|
3503
|
-
code: z.ZodString;
|
|
3504
|
-
name: z.ZodString;
|
|
3505
|
-
type: z.ZodEnum<{
|
|
3506
|
-
infinite: "infinite";
|
|
3507
|
-
time_based: "time_based";
|
|
3508
|
-
consumption: "consumption";
|
|
3509
|
-
}>;
|
|
3510
|
-
isActive: z.ZodBoolean;
|
|
3511
|
-
isPurchasable: z.ZodBoolean;
|
|
3512
|
-
isAdminOnly: z.ZodBoolean;
|
|
3513
|
-
}, z.core.$strip>>>;
|
|
3514
|
-
createdAt: z.ZodString;
|
|
3515
|
-
updatedAt: z.ZodString;
|
|
3516
|
-
type: z.ZodLiteral<"infinite">;
|
|
3517
|
-
}, z.core.$strip>>;
|
|
3518
|
-
pagination: z.ZodObject<{
|
|
3519
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
3520
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
3521
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
3522
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
3523
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
3524
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
3525
|
-
}, z.core.$strip>;
|
|
3526
|
-
}, z.core.$strip>;
|
|
3527
|
-
readonly querySchema: z.ZodObject<{
|
|
3528
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3529
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3530
|
-
created: "created";
|
|
3531
|
-
active: "active";
|
|
3532
|
-
pending_renewal: "pending_renewal";
|
|
3533
|
-
expired: "expired";
|
|
3534
|
-
suspended: "suspended";
|
|
3535
|
-
cancelled: "cancelled";
|
|
3536
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
3537
|
-
created: "created";
|
|
3538
|
-
active: "active";
|
|
3539
|
-
pending_renewal: "pending_renewal";
|
|
3540
|
-
expired: "expired";
|
|
3541
|
-
suspended: "suspended";
|
|
3542
|
-
cancelled: "cancelled";
|
|
3543
|
-
}>>]>>;
|
|
3544
|
-
type: z.ZodOptional<z.ZodEnum<{
|
|
3545
|
-
infinite: "infinite";
|
|
3546
|
-
time_based: "time_based";
|
|
3547
|
-
consumption: "consumption";
|
|
3548
|
-
}>>;
|
|
3549
|
-
autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3550
|
-
'exists[customUnitPrice]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
3551
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
3552
|
-
asc: "asc";
|
|
3553
|
-
desc: "desc";
|
|
3554
|
-
}>>;
|
|
3555
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
3556
|
-
asc: "asc";
|
|
3557
|
-
desc: "desc";
|
|
3558
|
-
}>>;
|
|
3559
|
-
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
3560
|
-
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3561
|
-
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
3562
|
-
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3563
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
3564
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
3565
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3566
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
3567
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3568
|
-
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
3569
|
-
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
3570
|
-
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
3571
|
-
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
3572
|
-
}, z.core.$strip>;
|
|
3573
|
-
readonly headersSchema: undefined;
|
|
3574
|
-
readonly listItemSchema: z.ZodObject<{
|
|
4229
|
+
type: z.ZodLiteral<"infinite">;
|
|
4230
|
+
}, z.core.$strip>;
|
|
4231
|
+
readonly querySchema: undefined;
|
|
4232
|
+
readonly headersSchema: undefined;
|
|
4233
|
+
private readonly subscriptionId;
|
|
4234
|
+
constructor(subscriptionId: string);
|
|
4235
|
+
getPath(): string;
|
|
4236
|
+
}
|
|
4237
|
+
|
|
4238
|
+
type GetSubscriptionInfiniteListQueryParams = SubscriptionQueryParams;
|
|
4239
|
+
declare const getSubscriptionInfiniteListInputSchema: z.ZodUndefined;
|
|
4240
|
+
type GetSubscriptionInfiniteListInput = z.input<typeof getSubscriptionInfiniteListInputSchema>;
|
|
4241
|
+
type GetSubscriptionInfiniteListResponse = z.infer<typeof getSubscriptionInfiniteListResponseSchema>;
|
|
4242
|
+
declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getSubscriptionInfiniteListInputSchema, typeof getSubscriptionInfiniteListResponseSchema, GetSubscriptionInfiniteListQueryParams> {
|
|
4243
|
+
readonly method: "GET";
|
|
4244
|
+
readonly contentType: "application/json";
|
|
4245
|
+
readonly accept: "application/json";
|
|
4246
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4247
|
+
readonly outputSchema: z.ZodObject<{
|
|
4248
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4249
|
+
id: z.ZodString;
|
|
4250
|
+
status: z.ZodEnum<{
|
|
4251
|
+
created: "created";
|
|
4252
|
+
active: "active";
|
|
4253
|
+
pending_renewal: "pending_renewal";
|
|
4254
|
+
expired: "expired";
|
|
4255
|
+
suspended: "suspended";
|
|
4256
|
+
cancelled: "cancelled";
|
|
4257
|
+
}>;
|
|
4258
|
+
autoRenewal: z.ZodBoolean;
|
|
4259
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4260
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
4261
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4262
|
+
id: z.ZodString;
|
|
4263
|
+
code: z.ZodString;
|
|
4264
|
+
name: z.ZodString;
|
|
4265
|
+
type: z.ZodEnum<{
|
|
4266
|
+
infinite: "infinite";
|
|
4267
|
+
time_based: "time_based";
|
|
4268
|
+
consumption: "consumption";
|
|
4269
|
+
}>;
|
|
4270
|
+
isActive: z.ZodBoolean;
|
|
4271
|
+
isPurchasable: z.ZodBoolean;
|
|
4272
|
+
isAdminOnly: z.ZodBoolean;
|
|
4273
|
+
}, z.core.$strip>>>;
|
|
4274
|
+
createdAt: z.ZodString;
|
|
4275
|
+
updatedAt: z.ZodString;
|
|
4276
|
+
type: z.ZodLiteral<"infinite">;
|
|
4277
|
+
}, z.core.$strip>>;
|
|
4278
|
+
pagination: z.ZodObject<{
|
|
4279
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4280
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4281
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4282
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4283
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4284
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4285
|
+
}, z.core.$strip>;
|
|
4286
|
+
}, z.core.$strip>;
|
|
4287
|
+
readonly querySchema: z.ZodObject<{
|
|
4288
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4289
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4290
|
+
created: "created";
|
|
4291
|
+
active: "active";
|
|
4292
|
+
pending_renewal: "pending_renewal";
|
|
4293
|
+
expired: "expired";
|
|
4294
|
+
suspended: "suspended";
|
|
4295
|
+
cancelled: "cancelled";
|
|
4296
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4297
|
+
created: "created";
|
|
4298
|
+
active: "active";
|
|
4299
|
+
pending_renewal: "pending_renewal";
|
|
4300
|
+
expired: "expired";
|
|
4301
|
+
suspended: "suspended";
|
|
4302
|
+
cancelled: "cancelled";
|
|
4303
|
+
}>>]>>;
|
|
4304
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
4305
|
+
infinite: "infinite";
|
|
4306
|
+
time_based: "time_based";
|
|
4307
|
+
consumption: "consumption";
|
|
4308
|
+
}>>;
|
|
4309
|
+
autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4310
|
+
'exists[customUnitPrice]': z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
4311
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4312
|
+
asc: "asc";
|
|
4313
|
+
desc: "desc";
|
|
4314
|
+
}>>;
|
|
4315
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
4316
|
+
asc: "asc";
|
|
4317
|
+
desc: "desc";
|
|
4318
|
+
}>>;
|
|
4319
|
+
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
4320
|
+
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4321
|
+
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
4322
|
+
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4323
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4324
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4325
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4326
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4327
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4328
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4329
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4330
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4331
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4332
|
+
}, z.core.$strip>;
|
|
4333
|
+
readonly headersSchema: undefined;
|
|
4334
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4335
|
+
id: z.ZodString;
|
|
4336
|
+
status: z.ZodEnum<{
|
|
4337
|
+
created: "created";
|
|
4338
|
+
active: "active";
|
|
4339
|
+
pending_renewal: "pending_renewal";
|
|
4340
|
+
expired: "expired";
|
|
4341
|
+
suspended: "suspended";
|
|
4342
|
+
cancelled: "cancelled";
|
|
4343
|
+
}>;
|
|
4344
|
+
autoRenewal: z.ZodBoolean;
|
|
4345
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4346
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
4347
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4348
|
+
id: z.ZodString;
|
|
4349
|
+
code: z.ZodString;
|
|
4350
|
+
name: z.ZodString;
|
|
4351
|
+
type: z.ZodEnum<{
|
|
4352
|
+
infinite: "infinite";
|
|
4353
|
+
time_based: "time_based";
|
|
4354
|
+
consumption: "consumption";
|
|
4355
|
+
}>;
|
|
4356
|
+
isActive: z.ZodBoolean;
|
|
4357
|
+
isPurchasable: z.ZodBoolean;
|
|
4358
|
+
isAdminOnly: z.ZodBoolean;
|
|
4359
|
+
}, z.core.$strip>>>;
|
|
4360
|
+
createdAt: z.ZodString;
|
|
4361
|
+
updatedAt: z.ZodString;
|
|
4362
|
+
type: z.ZodLiteral<"infinite">;
|
|
4363
|
+
}, z.core.$strip>;
|
|
4364
|
+
readonly paginationDefaultEnabled = true;
|
|
4365
|
+
constructor(options?: {
|
|
4366
|
+
query?: GetSubscriptionInfiniteListQueryParams;
|
|
4367
|
+
});
|
|
4368
|
+
getPath(): string;
|
|
4369
|
+
}
|
|
4370
|
+
|
|
4371
|
+
type AssignSubscriptionPlanInput = z.input<typeof assignSubscriptionPlanInputSchema>;
|
|
4372
|
+
declare const assignSubscriptionPlanResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4373
|
+
id: z.ZodString;
|
|
4374
|
+
status: z.ZodEnum<{
|
|
4375
|
+
created: "created";
|
|
4376
|
+
active: "active";
|
|
4377
|
+
pending_renewal: "pending_renewal";
|
|
4378
|
+
expired: "expired";
|
|
4379
|
+
suspended: "suspended";
|
|
4380
|
+
cancelled: "cancelled";
|
|
4381
|
+
}>;
|
|
4382
|
+
autoRenewal: z.ZodBoolean;
|
|
4383
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4384
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
4385
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4386
|
+
id: z.ZodString;
|
|
4387
|
+
code: z.ZodString;
|
|
4388
|
+
name: z.ZodString;
|
|
4389
|
+
type: z.ZodEnum<{
|
|
4390
|
+
infinite: "infinite";
|
|
4391
|
+
time_based: "time_based";
|
|
4392
|
+
consumption: "consumption";
|
|
4393
|
+
}>;
|
|
4394
|
+
isActive: z.ZodBoolean;
|
|
4395
|
+
isPurchasable: z.ZodBoolean;
|
|
4396
|
+
isAdminOnly: z.ZodBoolean;
|
|
4397
|
+
}, z.core.$strip>>>;
|
|
4398
|
+
createdAt: z.ZodString;
|
|
4399
|
+
updatedAt: z.ZodString;
|
|
4400
|
+
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>>;
|
|
4401
|
+
type: z.ZodLiteral<"infinite">;
|
|
4402
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4403
|
+
id: z.ZodString;
|
|
4404
|
+
status: z.ZodEnum<{
|
|
4405
|
+
created: "created";
|
|
4406
|
+
active: "active";
|
|
4407
|
+
pending_renewal: "pending_renewal";
|
|
4408
|
+
expired: "expired";
|
|
4409
|
+
suspended: "suspended";
|
|
4410
|
+
cancelled: "cancelled";
|
|
4411
|
+
}>;
|
|
4412
|
+
autoRenewal: z.ZodBoolean;
|
|
4413
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4414
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
4415
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4416
|
+
id: z.ZodString;
|
|
4417
|
+
code: z.ZodString;
|
|
4418
|
+
name: z.ZodString;
|
|
4419
|
+
type: z.ZodEnum<{
|
|
4420
|
+
infinite: "infinite";
|
|
4421
|
+
time_based: "time_based";
|
|
4422
|
+
consumption: "consumption";
|
|
4423
|
+
}>;
|
|
4424
|
+
isActive: z.ZodBoolean;
|
|
4425
|
+
isPurchasable: z.ZodBoolean;
|
|
4426
|
+
isAdminOnly: z.ZodBoolean;
|
|
4427
|
+
}, z.core.$strip>>>;
|
|
4428
|
+
createdAt: z.ZodString;
|
|
4429
|
+
updatedAt: z.ZodString;
|
|
4430
|
+
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>>;
|
|
4431
|
+
type: z.ZodLiteral<"consumption">;
|
|
4432
|
+
credits: z.ZodCoercedNumber<unknown>;
|
|
4433
|
+
autoRenewalExtensionCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4434
|
+
autoRenewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4435
|
+
hasAvailableCredits: z.ZodBoolean;
|
|
4436
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4437
|
+
id: z.ZodString;
|
|
4438
|
+
status: z.ZodEnum<{
|
|
4439
|
+
created: "created";
|
|
4440
|
+
active: "active";
|
|
4441
|
+
pending_renewal: "pending_renewal";
|
|
4442
|
+
expired: "expired";
|
|
4443
|
+
suspended: "suspended";
|
|
4444
|
+
cancelled: "cancelled";
|
|
4445
|
+
}>;
|
|
4446
|
+
autoRenewal: z.ZodBoolean;
|
|
4447
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4448
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
4449
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4450
|
+
id: z.ZodString;
|
|
4451
|
+
code: z.ZodString;
|
|
4452
|
+
name: z.ZodString;
|
|
4453
|
+
type: z.ZodEnum<{
|
|
4454
|
+
infinite: "infinite";
|
|
4455
|
+
time_based: "time_based";
|
|
4456
|
+
consumption: "consumption";
|
|
4457
|
+
}>;
|
|
4458
|
+
isActive: z.ZodBoolean;
|
|
4459
|
+
isPurchasable: z.ZodBoolean;
|
|
4460
|
+
isAdminOnly: z.ZodBoolean;
|
|
4461
|
+
}, z.core.$strip>>>;
|
|
4462
|
+
createdAt: z.ZodString;
|
|
4463
|
+
updatedAt: z.ZodString;
|
|
4464
|
+
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>>;
|
|
4465
|
+
type: z.ZodLiteral<"time_based">;
|
|
4466
|
+
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4467
|
+
autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4468
|
+
autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4469
|
+
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>>>;
|
|
4470
|
+
}, z.core.$strip>], "type">;
|
|
4471
|
+
type AssignSubscriptionPlanResponse = z.infer<typeof assignSubscriptionPlanResponseSchema>;
|
|
4472
|
+
declare class AssignSubscriptionPlan extends AbstractApiRequest<typeof assignSubscriptionPlanInputSchema, typeof assignSubscriptionPlanResponseSchema> {
|
|
4473
|
+
readonly method: "POST";
|
|
4474
|
+
readonly contentType: "application/json";
|
|
4475
|
+
readonly accept: "application/json";
|
|
4476
|
+
readonly inputSchema: z.ZodObject<{
|
|
4477
|
+
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>>;
|
|
4478
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4479
|
+
startsAt: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
4480
|
+
}, z.core.$strip>;
|
|
4481
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4482
|
+
id: z.ZodString;
|
|
4483
|
+
status: z.ZodEnum<{
|
|
4484
|
+
created: "created";
|
|
4485
|
+
active: "active";
|
|
4486
|
+
pending_renewal: "pending_renewal";
|
|
4487
|
+
expired: "expired";
|
|
4488
|
+
suspended: "suspended";
|
|
4489
|
+
cancelled: "cancelled";
|
|
4490
|
+
}>;
|
|
4491
|
+
autoRenewal: z.ZodBoolean;
|
|
4492
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4493
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
4494
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4495
|
+
id: z.ZodString;
|
|
4496
|
+
code: z.ZodString;
|
|
4497
|
+
name: z.ZodString;
|
|
4498
|
+
type: z.ZodEnum<{
|
|
4499
|
+
infinite: "infinite";
|
|
4500
|
+
time_based: "time_based";
|
|
4501
|
+
consumption: "consumption";
|
|
4502
|
+
}>;
|
|
4503
|
+
isActive: z.ZodBoolean;
|
|
4504
|
+
isPurchasable: z.ZodBoolean;
|
|
4505
|
+
isAdminOnly: z.ZodBoolean;
|
|
4506
|
+
}, z.core.$strip>>>;
|
|
4507
|
+
createdAt: z.ZodString;
|
|
4508
|
+
updatedAt: z.ZodString;
|
|
4509
|
+
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>>;
|
|
4510
|
+
type: z.ZodLiteral<"infinite">;
|
|
4511
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4512
|
+
id: z.ZodString;
|
|
4513
|
+
status: z.ZodEnum<{
|
|
4514
|
+
created: "created";
|
|
4515
|
+
active: "active";
|
|
4516
|
+
pending_renewal: "pending_renewal";
|
|
4517
|
+
expired: "expired";
|
|
4518
|
+
suspended: "suspended";
|
|
4519
|
+
cancelled: "cancelled";
|
|
4520
|
+
}>;
|
|
4521
|
+
autoRenewal: z.ZodBoolean;
|
|
4522
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4523
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
4524
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
4525
|
+
id: z.ZodString;
|
|
4526
|
+
code: z.ZodString;
|
|
4527
|
+
name: z.ZodString;
|
|
4528
|
+
type: z.ZodEnum<{
|
|
4529
|
+
infinite: "infinite";
|
|
4530
|
+
time_based: "time_based";
|
|
4531
|
+
consumption: "consumption";
|
|
4532
|
+
}>;
|
|
4533
|
+
isActive: z.ZodBoolean;
|
|
4534
|
+
isPurchasable: z.ZodBoolean;
|
|
4535
|
+
isAdminOnly: z.ZodBoolean;
|
|
4536
|
+
}, z.core.$strip>>>;
|
|
4537
|
+
createdAt: z.ZodString;
|
|
4538
|
+
updatedAt: z.ZodString;
|
|
4539
|
+
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>>;
|
|
4540
|
+
type: z.ZodLiteral<"consumption">;
|
|
4541
|
+
credits: z.ZodCoercedNumber<unknown>;
|
|
4542
|
+
autoRenewalExtensionCredits: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4543
|
+
autoRenewalThreshold: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4544
|
+
hasAvailableCredits: z.ZodBoolean;
|
|
4545
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3575
4546
|
id: z.ZodString;
|
|
3576
4547
|
status: z.ZodEnum<{
|
|
3577
4548
|
created: "created";
|
|
@@ -3599,12 +4570,63 @@ declare class GetSubscriptionInfiniteList extends AbstractApiRequest<typeof getS
|
|
|
3599
4570
|
}, z.core.$strip>>>;
|
|
3600
4571
|
createdAt: z.ZodString;
|
|
3601
4572
|
updatedAt: z.ZodString;
|
|
3602
|
-
|
|
4573
|
+
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>>;
|
|
4574
|
+
type: z.ZodLiteral<"time_based">;
|
|
4575
|
+
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4576
|
+
autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4577
|
+
autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4578
|
+
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>>>;
|
|
4579
|
+
}, z.core.$strip>], "type">;
|
|
4580
|
+
readonly querySchema: undefined;
|
|
4581
|
+
readonly headersSchema: undefined;
|
|
4582
|
+
private readonly subscriptionPlanId;
|
|
4583
|
+
constructor(subscriptionPlanId: string, input: AssignSubscriptionPlanInput);
|
|
4584
|
+
getPath(): string;
|
|
4585
|
+
}
|
|
4586
|
+
|
|
4587
|
+
type CalculateSubscriptionPlanPurchaseQuoteInput = z.input<typeof calculateSubscriptionPlanPurchaseQuoteInputSchema>;
|
|
4588
|
+
declare const calculateSubscriptionPlanPurchaseQuoteResponseSchema: z.ZodObject<{
|
|
4589
|
+
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>>;
|
|
4590
|
+
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>>;
|
|
4591
|
+
type: z.ZodEnum<{
|
|
4592
|
+
infinite: "infinite";
|
|
4593
|
+
time_based: "time_based";
|
|
4594
|
+
consumption: "consumption";
|
|
4595
|
+
}>;
|
|
4596
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4597
|
+
autoRenewal: z.ZodBoolean;
|
|
4598
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4599
|
+
unitPrice: z.ZodString;
|
|
4600
|
+
amount: z.ZodString;
|
|
4601
|
+
}, z.core.$strip>;
|
|
4602
|
+
type CalculateSubscriptionPlanPurchaseQuoteResponse = z.infer<typeof calculateSubscriptionPlanPurchaseQuoteResponseSchema>;
|
|
4603
|
+
declare class CalculateSubscriptionPlanPurchaseQuote extends AbstractApiRequest<typeof calculateSubscriptionPlanPurchaseQuoteInputSchema, typeof calculateSubscriptionPlanPurchaseQuoteResponseSchema> {
|
|
4604
|
+
readonly method: "POST";
|
|
4605
|
+
readonly contentType: "application/json";
|
|
4606
|
+
readonly accept: "application/json";
|
|
4607
|
+
readonly inputSchema: z.ZodObject<{
|
|
4608
|
+
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>>;
|
|
4609
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4610
|
+
startsAt: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>>;
|
|
3603
4611
|
}, z.core.$strip>;
|
|
3604
|
-
readonly
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
4612
|
+
readonly outputSchema: z.ZodObject<{
|
|
4613
|
+
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>>;
|
|
4614
|
+
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>>;
|
|
4615
|
+
type: z.ZodEnum<{
|
|
4616
|
+
infinite: "infinite";
|
|
4617
|
+
time_based: "time_based";
|
|
4618
|
+
consumption: "consumption";
|
|
4619
|
+
}>;
|
|
4620
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4621
|
+
autoRenewal: z.ZodBoolean;
|
|
4622
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4623
|
+
unitPrice: z.ZodString;
|
|
4624
|
+
amount: z.ZodString;
|
|
4625
|
+
}, z.core.$strip>;
|
|
4626
|
+
readonly querySchema: undefined;
|
|
4627
|
+
readonly headersSchema: undefined;
|
|
4628
|
+
private readonly subscriptionPlanId;
|
|
4629
|
+
constructor(subscriptionPlanId: string, input: CalculateSubscriptionPlanPurchaseQuoteInput);
|
|
3608
4630
|
getPath(): string;
|
|
3609
4631
|
}
|
|
3610
4632
|
|
|
@@ -4455,28 +5477,213 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
|
|
|
4455
5477
|
infinite: "infinite";
|
|
4456
5478
|
time_based: "time_based";
|
|
4457
5479
|
consumption: "consumption";
|
|
4458
|
-
}>>;
|
|
4459
|
-
plan: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>>;
|
|
4460
|
-
threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4461
|
-
unitPrice: z.ZodOptional<z.ZodString>;
|
|
5480
|
+
}>>;
|
|
5481
|
+
plan: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>>;
|
|
5482
|
+
threshold: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5483
|
+
unitPrice: z.ZodOptional<z.ZodString>;
|
|
5484
|
+
}, z.core.$strip>;
|
|
5485
|
+
readonly outputSchema: z.ZodObject<{
|
|
5486
|
+
id: z.ZodString;
|
|
5487
|
+
type: z.ZodEnum<{
|
|
5488
|
+
infinite: "infinite";
|
|
5489
|
+
time_based: "time_based";
|
|
5490
|
+
consumption: "consumption";
|
|
5491
|
+
}>;
|
|
5492
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id"> | null, unknown>>>>;
|
|
5493
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
5494
|
+
unitPrice: z.ZodString;
|
|
5495
|
+
createdAt: z.ZodString;
|
|
5496
|
+
updatedAt: z.ZodString;
|
|
5497
|
+
}, z.core.$strip>;
|
|
5498
|
+
readonly querySchema: undefined;
|
|
5499
|
+
readonly headersSchema: undefined;
|
|
5500
|
+
private readonly priceId;
|
|
5501
|
+
constructor(priceId: string, input: UpdateSubscriptionPriceInput);
|
|
5502
|
+
getPath(): string;
|
|
5503
|
+
}
|
|
5504
|
+
|
|
5505
|
+
declare const cancelSubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
5506
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5507
|
+
}, z.core.$strip>;
|
|
5508
|
+
type CancelSubscriptionPurchaseInput = z.input<typeof cancelSubscriptionPurchaseInputSchema>;
|
|
5509
|
+
declare const cancelSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
5510
|
+
id: z.ZodString;
|
|
5511
|
+
status: z.ZodEnum<{
|
|
5512
|
+
pending: "pending";
|
|
5513
|
+
completed: "completed";
|
|
5514
|
+
cancelled: "cancelled";
|
|
5515
|
+
failed: "failed";
|
|
5516
|
+
}>;
|
|
5517
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5518
|
+
id: z.ZodString;
|
|
5519
|
+
status: z.ZodEnum<{
|
|
5520
|
+
pending: "pending";
|
|
5521
|
+
pending_verification: "pending_verification";
|
|
5522
|
+
paid: "paid";
|
|
5523
|
+
canceled: "canceled";
|
|
5524
|
+
refunded: "refunded";
|
|
5525
|
+
failed: "failed";
|
|
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>;
|
|
4462
5599
|
}, z.core.$strip>;
|
|
4463
5600
|
readonly outputSchema: z.ZodObject<{
|
|
4464
5601
|
id: z.ZodString;
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
5602
|
+
status: z.ZodEnum<{
|
|
5603
|
+
pending: "pending";
|
|
5604
|
+
completed: "completed";
|
|
5605
|
+
cancelled: "cancelled";
|
|
5606
|
+
failed: "failed";
|
|
4469
5607
|
}>;
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
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>>;
|
|
4475
5682
|
}, z.core.$strip>;
|
|
4476
5683
|
readonly querySchema: undefined;
|
|
4477
5684
|
readonly headersSchema: undefined;
|
|
4478
|
-
private readonly
|
|
4479
|
-
constructor(
|
|
5685
|
+
private readonly purchaseId;
|
|
5686
|
+
constructor(purchaseId: string, input?: CancelSubscriptionPurchaseInput);
|
|
4480
5687
|
getPath(): string;
|
|
4481
5688
|
}
|
|
4482
5689
|
|
|
@@ -4660,22 +5867,184 @@ declare class GetSubscriptionPurchaseDetails extends AbstractApiRequest<typeof g
|
|
|
4660
5867
|
}>>;
|
|
4661
5868
|
createdAt: z.ZodString;
|
|
4662
5869
|
updatedAt: z.ZodString;
|
|
4663
|
-
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>>;
|
|
4664
|
-
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>>>>;
|
|
4665
|
-
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>>>>;
|
|
5870
|
+
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>>;
|
|
5871
|
+
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>>>>;
|
|
5872
|
+
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>>>>;
|
|
5873
|
+
}, z.core.$strip>;
|
|
5874
|
+
readonly querySchema: undefined;
|
|
5875
|
+
readonly headersSchema: undefined;
|
|
5876
|
+
private readonly purchaseId;
|
|
5877
|
+
constructor(purchaseId: string);
|
|
5878
|
+
getPath(): string;
|
|
5879
|
+
}
|
|
5880
|
+
|
|
5881
|
+
type GetSubscriptionPurchasesQueryParams = SubscriptionPurchasesQueryParams;
|
|
5882
|
+
declare const getSubscriptionPurchasesInputSchema: z.ZodUndefined;
|
|
5883
|
+
type GetSubscriptionPurchasesInput = z.input<typeof getSubscriptionPurchasesInputSchema>;
|
|
5884
|
+
type GetSubscriptionPurchasesResponse = z.infer<typeof getSubscriptionPurchasesResponseSchema>;
|
|
5885
|
+
declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubscriptionPurchasesInputSchema, typeof getSubscriptionPurchasesResponseSchema, GetSubscriptionPurchasesQueryParams> {
|
|
5886
|
+
readonly method: "GET";
|
|
5887
|
+
readonly contentType: "application/json";
|
|
5888
|
+
readonly accept: "application/json";
|
|
5889
|
+
readonly inputSchema: z.ZodUndefined;
|
|
5890
|
+
readonly outputSchema: z.ZodObject<{
|
|
5891
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5892
|
+
id: z.ZodString;
|
|
5893
|
+
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>>;
|
|
5894
|
+
status: z.ZodEnum<{
|
|
5895
|
+
pending: "pending";
|
|
5896
|
+
completed: "completed";
|
|
5897
|
+
cancelled: "cancelled";
|
|
5898
|
+
failed: "failed";
|
|
5899
|
+
}>;
|
|
5900
|
+
type: z.ZodEnum<{
|
|
5901
|
+
infinite: "infinite";
|
|
5902
|
+
time_based: "time_based";
|
|
5903
|
+
consumption: "consumption";
|
|
5904
|
+
}>;
|
|
5905
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
5906
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5907
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
5908
|
+
amount: z.ZodString;
|
|
5909
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
5910
|
+
stripe: "stripe";
|
|
5911
|
+
bank_transfer: "bank_transfer";
|
|
5912
|
+
cash: "cash";
|
|
5913
|
+
credit_card: "credit_card";
|
|
5914
|
+
}>>;
|
|
5915
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
5916
|
+
pending: "pending";
|
|
5917
|
+
pending_verification: "pending_verification";
|
|
5918
|
+
paid: "paid";
|
|
5919
|
+
canceled: "canceled";
|
|
5920
|
+
refunded: "refunded";
|
|
5921
|
+
failed: "failed";
|
|
5922
|
+
}>>;
|
|
5923
|
+
createdAt: z.ZodString;
|
|
5924
|
+
updatedAt: z.ZodString;
|
|
5925
|
+
}, z.core.$strip>>;
|
|
5926
|
+
pagination: z.ZodObject<{
|
|
5927
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
5928
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
5929
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5930
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5931
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5932
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
5933
|
+
}, z.core.$strip>;
|
|
5934
|
+
}, z.core.$strip>;
|
|
5935
|
+
readonly querySchema: z.ZodObject<{
|
|
5936
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5937
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5938
|
+
pending: "pending";
|
|
5939
|
+
completed: "completed";
|
|
5940
|
+
cancelled: "cancelled";
|
|
5941
|
+
failed: "failed";
|
|
5942
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5943
|
+
pending: "pending";
|
|
5944
|
+
completed: "completed";
|
|
5945
|
+
cancelled: "cancelled";
|
|
5946
|
+
failed: "failed";
|
|
5947
|
+
}>>]>>;
|
|
5948
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5949
|
+
infinite: "infinite";
|
|
5950
|
+
time_based: "time_based";
|
|
5951
|
+
consumption: "consumption";
|
|
5952
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
5953
|
+
infinite: "infinite";
|
|
5954
|
+
time_based: "time_based";
|
|
5955
|
+
consumption: "consumption";
|
|
5956
|
+
}>>]>>;
|
|
5957
|
+
'pointOfSale.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5958
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5959
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5960
|
+
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
5961
|
+
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5962
|
+
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
5963
|
+
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5964
|
+
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5965
|
+
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5966
|
+
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5967
|
+
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5968
|
+
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5969
|
+
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5970
|
+
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5971
|
+
'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5972
|
+
'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5973
|
+
'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5974
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
5975
|
+
asc: "asc";
|
|
5976
|
+
desc: "desc";
|
|
5977
|
+
}>>;
|
|
5978
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
5979
|
+
asc: "asc";
|
|
5980
|
+
desc: "desc";
|
|
5981
|
+
}>>;
|
|
5982
|
+
'order[startsAt]': z.ZodOptional<z.ZodEnum<{
|
|
5983
|
+
asc: "asc";
|
|
5984
|
+
desc: "desc";
|
|
5985
|
+
}>>;
|
|
5986
|
+
'order[amount]': z.ZodOptional<z.ZodEnum<{
|
|
5987
|
+
asc: "asc";
|
|
5988
|
+
desc: "desc";
|
|
5989
|
+
}>>;
|
|
5990
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
5991
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
5992
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5993
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
5994
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5995
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
5996
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
5997
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
5998
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
5999
|
+
}, z.core.$strip>;
|
|
6000
|
+
readonly headersSchema: undefined;
|
|
6001
|
+
readonly listItemSchema: z.ZodObject<{
|
|
6002
|
+
id: z.ZodString;
|
|
6003
|
+
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>>;
|
|
6004
|
+
status: z.ZodEnum<{
|
|
6005
|
+
pending: "pending";
|
|
6006
|
+
completed: "completed";
|
|
6007
|
+
cancelled: "cancelled";
|
|
6008
|
+
failed: "failed";
|
|
6009
|
+
}>;
|
|
6010
|
+
type: z.ZodEnum<{
|
|
6011
|
+
infinite: "infinite";
|
|
6012
|
+
time_based: "time_based";
|
|
6013
|
+
consumption: "consumption";
|
|
6014
|
+
}>;
|
|
6015
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
6016
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6017
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
6018
|
+
amount: z.ZodString;
|
|
6019
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
6020
|
+
stripe: "stripe";
|
|
6021
|
+
bank_transfer: "bank_transfer";
|
|
6022
|
+
cash: "cash";
|
|
6023
|
+
credit_card: "credit_card";
|
|
6024
|
+
}>>;
|
|
6025
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
6026
|
+
pending: "pending";
|
|
6027
|
+
pending_verification: "pending_verification";
|
|
6028
|
+
paid: "paid";
|
|
6029
|
+
canceled: "canceled";
|
|
6030
|
+
refunded: "refunded";
|
|
6031
|
+
failed: "failed";
|
|
6032
|
+
}>>;
|
|
6033
|
+
createdAt: z.ZodString;
|
|
6034
|
+
updatedAt: z.ZodString;
|
|
4666
6035
|
}, z.core.$strip>;
|
|
4667
|
-
readonly
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
6036
|
+
readonly paginationDefaultEnabled = true;
|
|
6037
|
+
constructor(options?: {
|
|
6038
|
+
query?: GetSubscriptionPurchasesQueryParams;
|
|
6039
|
+
});
|
|
4671
6040
|
getPath(): string;
|
|
4672
6041
|
}
|
|
4673
6042
|
|
|
4674
|
-
type
|
|
4675
|
-
declare const
|
|
4676
|
-
type
|
|
4677
|
-
type
|
|
4678
|
-
declare class
|
|
6043
|
+
type GetSubscriptionPurchasesFromPointOfSaleQueryParams = SubscriptionPurchasesQueryParams;
|
|
6044
|
+
declare const getSubscriptionPurchasesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
6045
|
+
type GetSubscriptionPurchasesFromPointOfSaleInput = z.input<typeof getSubscriptionPurchasesFromPointOfSaleInputSchema>;
|
|
6046
|
+
type GetSubscriptionPurchasesFromPointOfSaleResponse = z.infer<typeof getSubscriptionPurchasesResponseSchema>;
|
|
6047
|
+
declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest<typeof getSubscriptionPurchasesFromPointOfSaleInputSchema, typeof getSubscriptionPurchasesResponseSchema, GetSubscriptionPurchasesFromPointOfSaleQueryParams> {
|
|
4679
6048
|
readonly method: "GET";
|
|
4680
6049
|
readonly contentType: "application/json";
|
|
4681
6050
|
readonly accept: "application/json";
|
|
@@ -4827,185 +6196,353 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
4827
6196
|
updatedAt: z.ZodString;
|
|
4828
6197
|
}, z.core.$strip>;
|
|
4829
6198
|
readonly paginationDefaultEnabled = true;
|
|
4830
|
-
|
|
4831
|
-
|
|
6199
|
+
private readonly pointOfSaleId;
|
|
6200
|
+
constructor(pointOfSaleId: string, options?: {
|
|
6201
|
+
query?: GetSubscriptionPurchasesFromPointOfSaleQueryParams;
|
|
4832
6202
|
});
|
|
4833
6203
|
getPath(): string;
|
|
4834
6204
|
}
|
|
4835
6205
|
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
|
|
6206
|
+
declare const paySubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
6207
|
+
method: z.ZodEnum<{
|
|
6208
|
+
stripe: "stripe";
|
|
6209
|
+
bank_transfer: "bank_transfer";
|
|
6210
|
+
cash: "cash";
|
|
6211
|
+
credit_card: "credit_card";
|
|
6212
|
+
}>;
|
|
6213
|
+
}, z.core.$strip>;
|
|
6214
|
+
type PaySubscriptionPurchaseInput = z.input<typeof paySubscriptionPurchaseInputSchema>;
|
|
6215
|
+
declare const paySubscriptionPurchaseResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6216
|
+
id: z.ZodString;
|
|
6217
|
+
status: z.ZodEnum<{
|
|
6218
|
+
pending: "pending";
|
|
6219
|
+
pending_verification: "pending_verification";
|
|
6220
|
+
paid: "paid";
|
|
6221
|
+
canceled: "canceled";
|
|
6222
|
+
refunded: "refunded";
|
|
6223
|
+
failed: "failed";
|
|
6224
|
+
}>;
|
|
6225
|
+
amount: z.ZodString;
|
|
6226
|
+
method: z.ZodLiteral<"stripe">;
|
|
6227
|
+
sessionUrl: z.ZodString;
|
|
6228
|
+
expiresAt: z.ZodString;
|
|
6229
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6230
|
+
id: z.ZodString;
|
|
6231
|
+
status: z.ZodEnum<{
|
|
6232
|
+
pending: "pending";
|
|
6233
|
+
pending_verification: "pending_verification";
|
|
6234
|
+
paid: "paid";
|
|
6235
|
+
canceled: "canceled";
|
|
6236
|
+
refunded: "refunded";
|
|
6237
|
+
failed: "failed";
|
|
6238
|
+
}>;
|
|
6239
|
+
amount: z.ZodString;
|
|
6240
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
6241
|
+
iban: z.ZodString;
|
|
6242
|
+
bic: z.ZodString;
|
|
6243
|
+
accountHolder: z.ZodString;
|
|
6244
|
+
bankName: z.ZodString;
|
|
6245
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6246
|
+
currency: z.ZodString;
|
|
6247
|
+
description: z.ZodString;
|
|
6248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6249
|
+
id: z.ZodString;
|
|
6250
|
+
status: z.ZodEnum<{
|
|
6251
|
+
pending: "pending";
|
|
6252
|
+
pending_verification: "pending_verification";
|
|
6253
|
+
paid: "paid";
|
|
6254
|
+
canceled: "canceled";
|
|
6255
|
+
refunded: "refunded";
|
|
6256
|
+
failed: "failed";
|
|
6257
|
+
}>;
|
|
6258
|
+
amount: z.ZodString;
|
|
6259
|
+
method: z.ZodLiteral<"cash">;
|
|
6260
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6261
|
+
id: z.ZodString;
|
|
6262
|
+
status: z.ZodEnum<{
|
|
6263
|
+
pending: "pending";
|
|
6264
|
+
pending_verification: "pending_verification";
|
|
6265
|
+
paid: "paid";
|
|
6266
|
+
canceled: "canceled";
|
|
6267
|
+
refunded: "refunded";
|
|
6268
|
+
failed: "failed";
|
|
6269
|
+
}>;
|
|
6270
|
+
amount: z.ZodString;
|
|
6271
|
+
method: z.ZodLiteral<"credit_card">;
|
|
6272
|
+
}, z.core.$strip>], "method">;
|
|
6273
|
+
type PaySubscriptionPurchaseResponse = z.infer<typeof paySubscriptionPurchaseResponseSchema>;
|
|
6274
|
+
declare class PaySubscriptionPurchase extends AbstractApiRequest<typeof paySubscriptionPurchaseInputSchema, typeof paySubscriptionPurchaseResponseSchema> {
|
|
6275
|
+
readonly method: "POST";
|
|
6276
|
+
readonly contentType: "application/json";
|
|
6277
|
+
readonly accept: "application/json";
|
|
6278
|
+
readonly inputSchema: z.ZodObject<{
|
|
6279
|
+
method: z.ZodEnum<{
|
|
6280
|
+
stripe: "stripe";
|
|
6281
|
+
bank_transfer: "bank_transfer";
|
|
6282
|
+
cash: "cash";
|
|
6283
|
+
credit_card: "credit_card";
|
|
6284
|
+
}>;
|
|
6285
|
+
}, z.core.$strip>;
|
|
6286
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6287
|
+
id: z.ZodString;
|
|
6288
|
+
status: z.ZodEnum<{
|
|
6289
|
+
pending: "pending";
|
|
6290
|
+
pending_verification: "pending_verification";
|
|
6291
|
+
paid: "paid";
|
|
6292
|
+
canceled: "canceled";
|
|
6293
|
+
refunded: "refunded";
|
|
6294
|
+
failed: "failed";
|
|
6295
|
+
}>;
|
|
6296
|
+
amount: z.ZodString;
|
|
6297
|
+
method: z.ZodLiteral<"stripe">;
|
|
6298
|
+
sessionUrl: z.ZodString;
|
|
6299
|
+
expiresAt: z.ZodString;
|
|
6300
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6301
|
+
id: z.ZodString;
|
|
6302
|
+
status: z.ZodEnum<{
|
|
6303
|
+
pending: "pending";
|
|
6304
|
+
pending_verification: "pending_verification";
|
|
6305
|
+
paid: "paid";
|
|
6306
|
+
canceled: "canceled";
|
|
6307
|
+
refunded: "refunded";
|
|
6308
|
+
failed: "failed";
|
|
6309
|
+
}>;
|
|
6310
|
+
amount: z.ZodString;
|
|
6311
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
6312
|
+
iban: z.ZodString;
|
|
6313
|
+
bic: z.ZodString;
|
|
6314
|
+
accountHolder: z.ZodString;
|
|
6315
|
+
bankName: z.ZodString;
|
|
6316
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
6317
|
+
currency: z.ZodString;
|
|
6318
|
+
description: z.ZodString;
|
|
6319
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6320
|
+
id: z.ZodString;
|
|
6321
|
+
status: z.ZodEnum<{
|
|
6322
|
+
pending: "pending";
|
|
6323
|
+
pending_verification: "pending_verification";
|
|
6324
|
+
paid: "paid";
|
|
6325
|
+
canceled: "canceled";
|
|
6326
|
+
refunded: "refunded";
|
|
6327
|
+
failed: "failed";
|
|
6328
|
+
}>;
|
|
6329
|
+
amount: z.ZodString;
|
|
6330
|
+
method: z.ZodLiteral<"cash">;
|
|
6331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6332
|
+
id: z.ZodString;
|
|
6333
|
+
status: z.ZodEnum<{
|
|
6334
|
+
pending: "pending";
|
|
6335
|
+
pending_verification: "pending_verification";
|
|
6336
|
+
paid: "paid";
|
|
6337
|
+
canceled: "canceled";
|
|
6338
|
+
refunded: "refunded";
|
|
6339
|
+
failed: "failed";
|
|
6340
|
+
}>;
|
|
6341
|
+
amount: z.ZodString;
|
|
6342
|
+
method: z.ZodLiteral<"credit_card">;
|
|
6343
|
+
}, z.core.$strip>], "method">;
|
|
6344
|
+
readonly querySchema: undefined;
|
|
6345
|
+
readonly headersSchema: undefined;
|
|
6346
|
+
private readonly purchaseId;
|
|
6347
|
+
constructor(purchaseId: string, method: PaymentMethod);
|
|
6348
|
+
getPath(): string;
|
|
6349
|
+
}
|
|
6350
|
+
|
|
6351
|
+
declare const refundSubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
6352
|
+
response: z.ZodOptional<z.ZodString>;
|
|
6353
|
+
}, z.core.$strip>;
|
|
6354
|
+
type RefundSubscriptionPurchaseInput = z.input<typeof refundSubscriptionPurchaseInputSchema>;
|
|
6355
|
+
declare const refundSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
6356
|
+
id: z.ZodString;
|
|
6357
|
+
status: z.ZodEnum<{
|
|
6358
|
+
pending: "pending";
|
|
6359
|
+
completed: "completed";
|
|
6360
|
+
cancelled: "cancelled";
|
|
6361
|
+
failed: "failed";
|
|
6362
|
+
}>;
|
|
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";
|
|
4842
6441
|
readonly contentType: "application/json";
|
|
4843
6442
|
readonly accept: "application/json";
|
|
4844
|
-
readonly inputSchema: z.
|
|
6443
|
+
readonly inputSchema: z.ZodObject<{
|
|
6444
|
+
response: z.ZodOptional<z.ZodString>;
|
|
6445
|
+
}, z.core.$strip>;
|
|
4845
6446
|
readonly outputSchema: z.ZodObject<{
|
|
4846
|
-
|
|
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<{
|
|
4847
6455
|
id: z.ZodString;
|
|
4848
|
-
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>>;
|
|
4849
6456
|
status: z.ZodEnum<{
|
|
4850
6457
|
pending: "pending";
|
|
4851
|
-
|
|
4852
|
-
|
|
6458
|
+
pending_verification: "pending_verification";
|
|
6459
|
+
paid: "paid";
|
|
6460
|
+
canceled: "canceled";
|
|
6461
|
+
refunded: "refunded";
|
|
4853
6462
|
failed: "failed";
|
|
4854
6463
|
}>;
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
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";
|
|
4859
6477
|
}>;
|
|
4860
|
-
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4861
|
-
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4862
|
-
threshold: z.ZodCoercedNumber<unknown>;
|
|
4863
6478
|
amount: z.ZodString;
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
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<{
|
|
4871
6490
|
pending: "pending";
|
|
4872
6491
|
pending_verification: "pending_verification";
|
|
4873
6492
|
paid: "paid";
|
|
4874
6493
|
canceled: "canceled";
|
|
4875
6494
|
refunded: "refunded";
|
|
4876
6495
|
failed: "failed";
|
|
4877
|
-
}
|
|
4878
|
-
|
|
4879
|
-
|
|
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
|
+
}>>>;
|
|
4880
6527
|
}, z.core.$strip>>;
|
|
4881
|
-
pagination: z.ZodObject<{
|
|
4882
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
4883
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
4884
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4885
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4886
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4887
|
-
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4888
|
-
}, z.core.$strip>;
|
|
4889
|
-
}, z.core.$strip>;
|
|
4890
|
-
readonly querySchema: z.ZodObject<{
|
|
4891
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4892
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4893
|
-
pending: "pending";
|
|
4894
|
-
completed: "completed";
|
|
4895
|
-
cancelled: "cancelled";
|
|
4896
|
-
failed: "failed";
|
|
4897
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
4898
|
-
pending: "pending";
|
|
4899
|
-
completed: "completed";
|
|
4900
|
-
cancelled: "cancelled";
|
|
4901
|
-
failed: "failed";
|
|
4902
|
-
}>>]>>;
|
|
4903
|
-
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4904
|
-
infinite: "infinite";
|
|
4905
|
-
time_based: "time_based";
|
|
4906
|
-
consumption: "consumption";
|
|
4907
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
4908
|
-
infinite: "infinite";
|
|
4909
|
-
time_based: "time_based";
|
|
4910
|
-
consumption: "consumption";
|
|
4911
|
-
}>>]>>;
|
|
4912
|
-
'pointOfSale.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4913
|
-
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4914
|
-
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4915
|
-
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
4916
|
-
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4917
|
-
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
4918
|
-
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4919
|
-
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4920
|
-
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4921
|
-
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4922
|
-
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4923
|
-
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4924
|
-
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4925
|
-
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4926
|
-
'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4927
|
-
'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4928
|
-
'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4929
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4930
|
-
asc: "asc";
|
|
4931
|
-
desc: "desc";
|
|
4932
|
-
}>>;
|
|
4933
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
4934
|
-
asc: "asc";
|
|
4935
|
-
desc: "desc";
|
|
4936
|
-
}>>;
|
|
4937
|
-
'order[startsAt]': z.ZodOptional<z.ZodEnum<{
|
|
4938
|
-
asc: "asc";
|
|
4939
|
-
desc: "desc";
|
|
4940
|
-
}>>;
|
|
4941
|
-
'order[amount]': z.ZodOptional<z.ZodEnum<{
|
|
4942
|
-
asc: "asc";
|
|
4943
|
-
desc: "desc";
|
|
4944
|
-
}>>;
|
|
4945
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4946
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4947
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4948
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4949
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4950
|
-
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4951
|
-
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4952
|
-
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4953
|
-
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4954
6528
|
}, z.core.$strip>;
|
|
6529
|
+
readonly querySchema: undefined;
|
|
4955
6530
|
readonly headersSchema: undefined;
|
|
4956
|
-
readonly
|
|
4957
|
-
|
|
4958
|
-
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>>;
|
|
4959
|
-
status: z.ZodEnum<{
|
|
4960
|
-
pending: "pending";
|
|
4961
|
-
completed: "completed";
|
|
4962
|
-
cancelled: "cancelled";
|
|
4963
|
-
failed: "failed";
|
|
4964
|
-
}>;
|
|
4965
|
-
type: z.ZodEnum<{
|
|
4966
|
-
infinite: "infinite";
|
|
4967
|
-
time_based: "time_based";
|
|
4968
|
-
consumption: "consumption";
|
|
4969
|
-
}>;
|
|
4970
|
-
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4971
|
-
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4972
|
-
threshold: z.ZodCoercedNumber<unknown>;
|
|
4973
|
-
amount: z.ZodString;
|
|
4974
|
-
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4975
|
-
stripe: "stripe";
|
|
4976
|
-
bank_transfer: "bank_transfer";
|
|
4977
|
-
cash: "cash";
|
|
4978
|
-
credit_card: "credit_card";
|
|
4979
|
-
}>>;
|
|
4980
|
-
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4981
|
-
pending: "pending";
|
|
4982
|
-
pending_verification: "pending_verification";
|
|
4983
|
-
paid: "paid";
|
|
4984
|
-
canceled: "canceled";
|
|
4985
|
-
refunded: "refunded";
|
|
4986
|
-
failed: "failed";
|
|
4987
|
-
}>>;
|
|
4988
|
-
createdAt: z.ZodString;
|
|
4989
|
-
updatedAt: z.ZodString;
|
|
4990
|
-
}, z.core.$strip>;
|
|
4991
|
-
readonly paginationDefaultEnabled = true;
|
|
4992
|
-
private readonly pointOfSaleId;
|
|
4993
|
-
constructor(pointOfSaleId: string, options?: {
|
|
4994
|
-
query?: GetSubscriptionPurchasesFromPointOfSaleQueryParams;
|
|
4995
|
-
});
|
|
6531
|
+
private readonly purchaseId;
|
|
6532
|
+
constructor(purchaseId: string, input?: RefundSubscriptionPurchaseInput);
|
|
4996
6533
|
getPath(): string;
|
|
4997
6534
|
}
|
|
4998
6535
|
|
|
4999
|
-
declare const
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
credit_card: "credit_card";
|
|
6536
|
+
declare const resolveSubscriptionPurchasePaymentInputSchema: z.ZodObject<{
|
|
6537
|
+
status: z.ZodEnum<{
|
|
6538
|
+
failed: "failed";
|
|
6539
|
+
paid: "paid";
|
|
6540
|
+
canceled: "canceled";
|
|
5005
6541
|
}>;
|
|
6542
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5006
6543
|
}, z.core.$strip>;
|
|
5007
|
-
type
|
|
5008
|
-
declare const
|
|
6544
|
+
type ResolveSubscriptionPurchasePaymentInput = z.input<typeof resolveSubscriptionPurchasePaymentInputSchema>;
|
|
6545
|
+
declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5009
6546
|
id: z.ZodString;
|
|
5010
6547
|
status: z.ZodEnum<{
|
|
5011
6548
|
pending: "pending";
|
|
@@ -5063,18 +6600,18 @@ declare const paySubscriptionPurchaseResponseSchema: z.ZodDiscriminatedUnion<[z.
|
|
|
5063
6600
|
amount: z.ZodString;
|
|
5064
6601
|
method: z.ZodLiteral<"credit_card">;
|
|
5065
6602
|
}, z.core.$strip>], "method">;
|
|
5066
|
-
type
|
|
5067
|
-
declare class
|
|
6603
|
+
type ResolveSubscriptionPurchasePaymentResponse = z.infer<typeof resolveSubscriptionPurchasePaymentResponseSchema>;
|
|
6604
|
+
declare class ResolveSubscriptionPurchasePayment extends AbstractApiRequest<typeof resolveSubscriptionPurchasePaymentInputSchema, typeof resolveSubscriptionPurchasePaymentResponseSchema> {
|
|
5068
6605
|
readonly method: "POST";
|
|
5069
6606
|
readonly contentType: "application/json";
|
|
5070
6607
|
readonly accept: "application/json";
|
|
5071
6608
|
readonly inputSchema: z.ZodObject<{
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
credit_card: "credit_card";
|
|
6609
|
+
status: z.ZodEnum<{
|
|
6610
|
+
failed: "failed";
|
|
6611
|
+
paid: "paid";
|
|
6612
|
+
canceled: "canceled";
|
|
5077
6613
|
}>;
|
|
6614
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5078
6615
|
}, z.core.$strip>;
|
|
5079
6616
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5080
6617
|
id: z.ZodString;
|
|
@@ -5137,20 +6674,20 @@ declare class PaySubscriptionPurchase extends AbstractApiRequest<typeof paySubsc
|
|
|
5137
6674
|
readonly querySchema: undefined;
|
|
5138
6675
|
readonly headersSchema: undefined;
|
|
5139
6676
|
private readonly purchaseId;
|
|
5140
|
-
constructor(purchaseId: string,
|
|
6677
|
+
constructor(purchaseId: string, input: ResolveSubscriptionPurchasePaymentInput);
|
|
5141
6678
|
getPath(): string;
|
|
5142
6679
|
}
|
|
5143
6680
|
|
|
5144
|
-
declare const
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
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";
|
|
5149
6687
|
}>;
|
|
5150
|
-
response: z.ZodOptional<z.ZodString>;
|
|
5151
6688
|
}, z.core.$strip>;
|
|
5152
|
-
type
|
|
5153
|
-
declare const
|
|
6689
|
+
type RetrySubscriptionPurchasePaymentInput = z.input<typeof retrySubscriptionPurchasePaymentInputSchema>;
|
|
6690
|
+
declare const retrySubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5154
6691
|
id: z.ZodString;
|
|
5155
6692
|
status: z.ZodEnum<{
|
|
5156
6693
|
pending: "pending";
|
|
@@ -5208,18 +6745,18 @@ declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminat
|
|
|
5208
6745
|
amount: z.ZodString;
|
|
5209
6746
|
method: z.ZodLiteral<"credit_card">;
|
|
5210
6747
|
}, z.core.$strip>], "method">;
|
|
5211
|
-
type
|
|
5212
|
-
declare class
|
|
6748
|
+
type RetrySubscriptionPurchasePaymentResponse = z.infer<typeof retrySubscriptionPurchasePaymentResponseSchema>;
|
|
6749
|
+
declare class RetrySubscriptionPurchasePayment extends AbstractApiRequest<typeof retrySubscriptionPurchasePaymentInputSchema, typeof retrySubscriptionPurchasePaymentResponseSchema> {
|
|
5213
6750
|
readonly method: "POST";
|
|
5214
6751
|
readonly contentType: "application/json";
|
|
5215
6752
|
readonly accept: "application/json";
|
|
5216
6753
|
readonly inputSchema: z.ZodObject<{
|
|
5217
|
-
|
|
5218
|
-
|
|
5219
|
-
|
|
5220
|
-
|
|
6754
|
+
method: z.ZodEnum<{
|
|
6755
|
+
stripe: "stripe";
|
|
6756
|
+
bank_transfer: "bank_transfer";
|
|
6757
|
+
cash: "cash";
|
|
6758
|
+
credit_card: "credit_card";
|
|
5221
6759
|
}>;
|
|
5222
|
-
response: z.ZodOptional<z.ZodString>;
|
|
5223
6760
|
}, z.core.$strip>;
|
|
5224
6761
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5225
6762
|
id: z.ZodString;
|
|
@@ -5282,7 +6819,7 @@ declare class ResolveSubscriptionPurchasePayment extends AbstractApiRequest<type
|
|
|
5282
6819
|
readonly querySchema: undefined;
|
|
5283
6820
|
readonly headersSchema: undefined;
|
|
5284
6821
|
private readonly purchaseId;
|
|
5285
|
-
constructor(purchaseId: string,
|
|
6822
|
+
constructor(purchaseId: string, method: PaymentMethod);
|
|
5286
6823
|
getPath(): string;
|
|
5287
6824
|
}
|
|
5288
6825
|
|
|
@@ -5734,6 +7271,195 @@ declare class UpdateSubscriptionTimeBased extends AbstractApiRequest<typeof upda
|
|
|
5734
7271
|
getPath(): string;
|
|
5735
7272
|
}
|
|
5736
7273
|
|
|
7274
|
+
declare const cancelSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
|
|
7275
|
+
response: z.ZodOptional<z.ZodString>;
|
|
7276
|
+
}, z.core.$strip>;
|
|
7277
|
+
type CancelSubscriptionTimeBasedRenewalInput = z.input<typeof cancelSubscriptionTimeBasedRenewalInputSchema>;
|
|
7278
|
+
declare const cancelSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
7279
|
+
id: z.ZodString;
|
|
7280
|
+
status: z.ZodEnum<{
|
|
7281
|
+
pending: "pending";
|
|
7282
|
+
failed: "failed";
|
|
7283
|
+
cancelled: "cancelled";
|
|
7284
|
+
completed: "completed";
|
|
7285
|
+
}>;
|
|
7286
|
+
payment: z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7287
|
+
id: z.ZodString;
|
|
7288
|
+
status: z.ZodEnum<{
|
|
7289
|
+
pending: "pending";
|
|
7290
|
+
pending_verification: "pending_verification";
|
|
7291
|
+
paid: "paid";
|
|
7292
|
+
canceled: "canceled";
|
|
7293
|
+
refunded: "refunded";
|
|
7294
|
+
failed: "failed";
|
|
7295
|
+
}>;
|
|
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
|
+
|
|
5737
7463
|
declare const createSubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
|
|
5738
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>>>;
|
|
5739
7465
|
days: z.ZodNonOptional<z.ZodCoercedNumber<unknown>>;
|
|
@@ -5847,20 +7573,122 @@ declare class GetSubscriptionTimeBasedRenewalDetails extends AbstractApiRequest<
|
|
|
5847
7573
|
previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5848
7574
|
newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5849
7575
|
pricePerDay: z.ZodCoercedNumber<unknown>;
|
|
5850
|
-
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>>;
|
|
7576
|
+
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>>;
|
|
7577
|
+
}, z.core.$strip>;
|
|
7578
|
+
readonly querySchema: undefined;
|
|
7579
|
+
readonly headersSchema: undefined;
|
|
7580
|
+
private readonly renewalId;
|
|
7581
|
+
constructor(renewalId: string);
|
|
7582
|
+
getPath(): string;
|
|
7583
|
+
}
|
|
7584
|
+
|
|
7585
|
+
type GetSubscriptionTimeBasedRenewalsQueryParams = SubscriptionTimeBasedRenewalsQueryParams;
|
|
7586
|
+
declare const getSubscriptionTimeBasedRenewalsInputSchema: z.ZodUndefined;
|
|
7587
|
+
type GetSubscriptionTimeBasedRenewalsInput = z.input<typeof getSubscriptionTimeBasedRenewalsInputSchema>;
|
|
7588
|
+
type GetSubscriptionTimeBasedRenewalsResponse = z.infer<typeof getSubscriptionTimeBasedRenewalsResponseSchema>;
|
|
7589
|
+
declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof getSubscriptionTimeBasedRenewalsInputSchema, typeof getSubscriptionTimeBasedRenewalsResponseSchema, GetSubscriptionTimeBasedRenewalsQueryParams> {
|
|
7590
|
+
readonly method: "GET";
|
|
7591
|
+
readonly contentType: "application/json";
|
|
7592
|
+
readonly accept: "application/json";
|
|
7593
|
+
readonly inputSchema: z.ZodUndefined;
|
|
7594
|
+
readonly outputSchema: z.ZodObject<{
|
|
7595
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7596
|
+
id: z.ZodString;
|
|
7597
|
+
status: z.ZodEnum<{
|
|
7598
|
+
pending: "pending";
|
|
7599
|
+
failed: "failed";
|
|
7600
|
+
cancelled: "cancelled";
|
|
7601
|
+
completed: "completed";
|
|
7602
|
+
}>;
|
|
7603
|
+
price: z.ZodString;
|
|
7604
|
+
createdAt: z.ZodString;
|
|
7605
|
+
updatedAt: z.ZodString;
|
|
7606
|
+
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>>;
|
|
7607
|
+
days: z.ZodCoercedNumber<unknown>;
|
|
7608
|
+
previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
7609
|
+
newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
7610
|
+
pricePerDay: z.ZodCoercedNumber<unknown>;
|
|
7611
|
+
}, z.core.$strip>>;
|
|
7612
|
+
pagination: z.ZodObject<{
|
|
7613
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
7614
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
7615
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
7616
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
7617
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
7618
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
7619
|
+
}, z.core.$strip>;
|
|
7620
|
+
}, z.core.$strip>;
|
|
7621
|
+
readonly querySchema: z.ZodObject<{
|
|
7622
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7623
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7624
|
+
pending: "pending";
|
|
7625
|
+
failed: "failed";
|
|
7626
|
+
cancelled: "cancelled";
|
|
7627
|
+
completed: "completed";
|
|
7628
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
7629
|
+
pending: "pending";
|
|
7630
|
+
failed: "failed";
|
|
7631
|
+
cancelled: "cancelled";
|
|
7632
|
+
completed: "completed";
|
|
7633
|
+
}>>]>>;
|
|
7634
|
+
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7635
|
+
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7636
|
+
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7637
|
+
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7638
|
+
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7639
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
7640
|
+
asc: "asc";
|
|
7641
|
+
desc: "desc";
|
|
7642
|
+
}>>;
|
|
7643
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
7644
|
+
asc: "asc";
|
|
7645
|
+
desc: "desc";
|
|
7646
|
+
}>>;
|
|
7647
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7648
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
7649
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7650
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
7651
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7652
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
7653
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
7654
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
7655
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
7656
|
+
'days[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7657
|
+
'days[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7658
|
+
'days[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7659
|
+
'days[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7660
|
+
'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
7661
|
+
}, z.core.$strip>;
|
|
7662
|
+
readonly headersSchema: undefined;
|
|
7663
|
+
readonly listItemSchema: z.ZodObject<{
|
|
7664
|
+
id: z.ZodString;
|
|
7665
|
+
status: z.ZodEnum<{
|
|
7666
|
+
pending: "pending";
|
|
7667
|
+
failed: "failed";
|
|
7668
|
+
cancelled: "cancelled";
|
|
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>;
|
|
5851
7679
|
}, z.core.$strip>;
|
|
5852
|
-
readonly
|
|
5853
|
-
|
|
5854
|
-
|
|
5855
|
-
|
|
7680
|
+
readonly paginationDefaultEnabled = true;
|
|
7681
|
+
constructor(options?: {
|
|
7682
|
+
query?: GetSubscriptionTimeBasedRenewalsQueryParams;
|
|
7683
|
+
});
|
|
5856
7684
|
getPath(): string;
|
|
5857
7685
|
}
|
|
5858
7686
|
|
|
5859
|
-
type
|
|
5860
|
-
declare const
|
|
5861
|
-
type
|
|
5862
|
-
type
|
|
5863
|
-
declare class
|
|
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> {
|
|
5864
7692
|
readonly method: "GET";
|
|
5865
7693
|
readonly contentType: "application/json";
|
|
5866
7694
|
readonly accept: "application/json";
|
|
@@ -5940,137 +7768,369 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
|
|
|
5940
7768
|
pending: "pending";
|
|
5941
7769
|
failed: "failed";
|
|
5942
7770
|
cancelled: "cancelled";
|
|
5943
|
-
completed: "completed";
|
|
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";
|
|
5944
8014
|
}>;
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
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]>>;
|
|
5953
8022
|
}, z.core.$strip>;
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
getPath(): string;
|
|
5959
|
-
}
|
|
5960
|
-
|
|
5961
|
-
type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams = SubscriptionTimeBasedRenewalsQueryParams;
|
|
5962
|
-
declare const getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema: z.ZodUndefined;
|
|
5963
|
-
type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInput = z.input<typeof getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema>;
|
|
5964
|
-
type GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedResponse = z.infer<typeof getSubscriptionTimeBasedRenewalsResponseSchema>;
|
|
5965
|
-
declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends AbstractApiRequest<typeof getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, typeof getSubscriptionTimeBasedRenewalsResponseSchema, GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams> {
|
|
5966
|
-
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";
|
|
5967
8027
|
readonly contentType: "application/json";
|
|
5968
8028
|
readonly accept: "application/json";
|
|
5969
|
-
readonly inputSchema: z.
|
|
8029
|
+
readonly inputSchema: z.ZodObject<{
|
|
8030
|
+
response: z.ZodOptional<z.ZodString>;
|
|
8031
|
+
}, z.core.$strip>;
|
|
5970
8032
|
readonly outputSchema: z.ZodObject<{
|
|
5971
|
-
|
|
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<{
|
|
5972
8086
|
id: z.ZodString;
|
|
5973
8087
|
status: z.ZodEnum<{
|
|
5974
8088
|
pending: "pending";
|
|
8089
|
+
pending_verification: "pending_verification";
|
|
8090
|
+
paid: "paid";
|
|
8091
|
+
canceled: "canceled";
|
|
8092
|
+
refunded: "refunded";
|
|
5975
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";
|
|
5976
8106
|
cancelled: "cancelled";
|
|
5977
|
-
completed: "completed";
|
|
5978
8107
|
}>;
|
|
5979
|
-
|
|
5980
|
-
|
|
5981
|
-
|
|
5982
|
-
|
|
5983
|
-
|
|
5984
|
-
|
|
5985
|
-
|
|
5986
|
-
pricePerDay: z.ZodCoercedNumber<unknown>;
|
|
5987
|
-
}, z.core.$strip>>;
|
|
5988
|
-
pagination: z.ZodObject<{
|
|
5989
|
-
from: z.ZodCoercedNumber<unknown>;
|
|
5990
|
-
to: z.ZodCoercedNumber<unknown>;
|
|
5991
|
-
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
5992
|
-
totalItems: z.ZodCoercedNumber<unknown>;
|
|
5993
|
-
currentPage: z.ZodCoercedNumber<unknown>;
|
|
5994
|
-
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]>>;
|
|
5995
8115
|
}, z.core.$strip>;
|
|
5996
8116
|
}, z.core.$strip>;
|
|
5997
|
-
readonly querySchema:
|
|
5998
|
-
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5999
|
-
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6000
|
-
pending: "pending";
|
|
6001
|
-
failed: "failed";
|
|
6002
|
-
cancelled: "cancelled";
|
|
6003
|
-
completed: "completed";
|
|
6004
|
-
}>, z.ZodArray<z.ZodEnum<{
|
|
6005
|
-
pending: "pending";
|
|
6006
|
-
failed: "failed";
|
|
6007
|
-
cancelled: "cancelled";
|
|
6008
|
-
completed: "completed";
|
|
6009
|
-
}>>]>>;
|
|
6010
|
-
'price[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6011
|
-
'price[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6012
|
-
'price[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6013
|
-
'price[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6014
|
-
'price[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6015
|
-
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
6016
|
-
asc: "asc";
|
|
6017
|
-
desc: "desc";
|
|
6018
|
-
}>>;
|
|
6019
|
-
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
6020
|
-
asc: "asc";
|
|
6021
|
-
desc: "desc";
|
|
6022
|
-
}>>;
|
|
6023
|
-
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6024
|
-
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
6025
|
-
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6026
|
-
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
6027
|
-
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6028
|
-
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
6029
|
-
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
6030
|
-
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
6031
|
-
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
6032
|
-
'days[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6033
|
-
'days[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6034
|
-
'days[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6035
|
-
'days[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6036
|
-
'days[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
6037
|
-
}, z.core.$strip>;
|
|
8117
|
+
readonly querySchema: undefined;
|
|
6038
8118
|
readonly headersSchema: undefined;
|
|
6039
|
-
readonly
|
|
6040
|
-
|
|
6041
|
-
status: z.ZodEnum<{
|
|
6042
|
-
pending: "pending";
|
|
6043
|
-
failed: "failed";
|
|
6044
|
-
cancelled: "cancelled";
|
|
6045
|
-
completed: "completed";
|
|
6046
|
-
}>;
|
|
6047
|
-
price: z.ZodString;
|
|
6048
|
-
createdAt: z.ZodString;
|
|
6049
|
-
updatedAt: z.ZodString;
|
|
6050
|
-
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>>;
|
|
6051
|
-
days: z.ZodCoercedNumber<unknown>;
|
|
6052
|
-
previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6053
|
-
newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
6054
|
-
pricePerDay: z.ZodCoercedNumber<unknown>;
|
|
6055
|
-
}, z.core.$strip>;
|
|
6056
|
-
readonly paginationDefaultEnabled = true;
|
|
6057
|
-
private readonly subscriptionId;
|
|
6058
|
-
constructor(subscriptionId: string, options?: {
|
|
6059
|
-
query?: GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedQueryParams;
|
|
6060
|
-
});
|
|
8119
|
+
private readonly renewalId;
|
|
8120
|
+
constructor(renewalId: string, input?: RefundSubscriptionTimeBasedRenewalInput);
|
|
6061
8121
|
getPath(): string;
|
|
6062
8122
|
}
|
|
6063
8123
|
|
|
6064
|
-
declare const
|
|
6065
|
-
|
|
6066
|
-
|
|
6067
|
-
|
|
6068
|
-
|
|
6069
|
-
credit_card: "credit_card";
|
|
8124
|
+
declare const resolveSubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
|
|
8125
|
+
status: z.ZodEnum<{
|
|
8126
|
+
failed: "failed";
|
|
8127
|
+
paid: "paid";
|
|
8128
|
+
canceled: "canceled";
|
|
6070
8129
|
}>;
|
|
8130
|
+
response: z.ZodOptional<z.ZodString>;
|
|
6071
8131
|
}, z.core.$strip>;
|
|
6072
|
-
type
|
|
6073
|
-
declare const
|
|
8132
|
+
type ResolveSubscriptionTimeBasedRenewalPaymentInput = z.input<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema>;
|
|
8133
|
+
declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6074
8134
|
id: z.ZodString;
|
|
6075
8135
|
status: z.ZodEnum<{
|
|
6076
8136
|
pending: "pending";
|
|
@@ -6128,18 +8188,18 @@ declare const paySubscriptionTimeBasedRenewalResponseSchema: z.ZodDiscriminatedU
|
|
|
6128
8188
|
amount: z.ZodString;
|
|
6129
8189
|
method: z.ZodLiteral<"credit_card">;
|
|
6130
8190
|
}, z.core.$strip>], "method">;
|
|
6131
|
-
type
|
|
6132
|
-
declare class
|
|
8191
|
+
type ResolveSubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema>;
|
|
8192
|
+
declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema, typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema> {
|
|
6133
8193
|
readonly method = "POST";
|
|
6134
8194
|
readonly contentType = "application/json";
|
|
6135
8195
|
readonly accept = "application/json";
|
|
6136
8196
|
readonly inputSchema: z.ZodObject<{
|
|
6137
|
-
|
|
6138
|
-
|
|
6139
|
-
|
|
6140
|
-
|
|
6141
|
-
credit_card: "credit_card";
|
|
8197
|
+
status: z.ZodEnum<{
|
|
8198
|
+
failed: "failed";
|
|
8199
|
+
paid: "paid";
|
|
8200
|
+
canceled: "canceled";
|
|
6142
8201
|
}>;
|
|
8202
|
+
response: z.ZodOptional<z.ZodString>;
|
|
6143
8203
|
}, z.core.$strip>;
|
|
6144
8204
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6145
8205
|
id: z.ZodString;
|
|
@@ -6202,20 +8262,20 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
|
|
|
6202
8262
|
readonly querySchema: undefined;
|
|
6203
8263
|
readonly headersSchema: undefined;
|
|
6204
8264
|
private readonly renewalId;
|
|
6205
|
-
constructor(renewalId: string,
|
|
8265
|
+
constructor(renewalId: string, input: ResolveSubscriptionTimeBasedRenewalPaymentInput);
|
|
6206
8266
|
getPath(): string;
|
|
6207
8267
|
}
|
|
6208
8268
|
|
|
6209
|
-
declare const
|
|
6210
|
-
|
|
6211
|
-
|
|
6212
|
-
|
|
6213
|
-
|
|
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";
|
|
6214
8275
|
}>;
|
|
6215
|
-
response: z.ZodOptional<z.ZodString>;
|
|
6216
8276
|
}, z.core.$strip>;
|
|
6217
|
-
type
|
|
6218
|
-
declare const
|
|
8277
|
+
type RetrySubscriptionTimeBasedRenewalPaymentInput = z.input<typeof retrySubscriptionTimeBasedRenewalPaymentInputSchema>;
|
|
8278
|
+
declare const retrySubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6219
8279
|
id: z.ZodString;
|
|
6220
8280
|
status: z.ZodEnum<{
|
|
6221
8281
|
pending: "pending";
|
|
@@ -6273,18 +8333,18 @@ declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDis
|
|
|
6273
8333
|
amount: z.ZodString;
|
|
6274
8334
|
method: z.ZodLiteral<"credit_card">;
|
|
6275
8335
|
}, z.core.$strip>], "method">;
|
|
6276
|
-
type
|
|
6277
|
-
declare class
|
|
6278
|
-
readonly method
|
|
6279
|
-
readonly contentType
|
|
6280
|
-
readonly accept
|
|
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";
|
|
6281
8341
|
readonly inputSchema: z.ZodObject<{
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
8342
|
+
method: z.ZodEnum<{
|
|
8343
|
+
stripe: "stripe";
|
|
8344
|
+
bank_transfer: "bank_transfer";
|
|
8345
|
+
cash: "cash";
|
|
8346
|
+
credit_card: "credit_card";
|
|
6286
8347
|
}>;
|
|
6287
|
-
response: z.ZodOptional<z.ZodString>;
|
|
6288
8348
|
}, z.core.$strip>;
|
|
6289
8349
|
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6290
8350
|
id: z.ZodString;
|
|
@@ -6347,7 +8407,7 @@ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequ
|
|
|
6347
8407
|
readonly querySchema: undefined;
|
|
6348
8408
|
readonly headersSchema: undefined;
|
|
6349
8409
|
private readonly renewalId;
|
|
6350
|
-
constructor(renewalId: string,
|
|
8410
|
+
constructor(renewalId: string, method: PaymentMethod);
|
|
6351
8411
|
getPath(): string;
|
|
6352
8412
|
}
|
|
6353
8413
|
|
|
@@ -7551,4 +9611,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
|
|
|
7551
9611
|
getPath(): string;
|
|
7552
9612
|
}
|
|
7553
9613
|
|
|
7554
|
-
export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, 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 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 WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPlan, type WritableSubscriptionPrice, type WritableSubscriptionPurchase, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, 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, 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 };
|