@deliverart/sdk-js-subscription 2.13.2 → 2.13.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import * as _deliverart_sdk_js_global_types from '@deliverart/sdk-js-global-types';
2
- export { CreditTransactionType, RenewalStatus, SubscriptionStatus, SubscriptionType, creditTransactionTypeSchema, creditTransactionTypes, renewalStatusSchema, renewalStatuses, subscriptionStatusSchema, subscriptionStatuses, subscriptionTypeSchema, subscriptionTypes } from '@deliverart/sdk-js-global-types';
2
+ import { PaymentMethod } from '@deliverart/sdk-js-global-types';
3
+ export { CreditTransactionType, PaymentMethod, PaymentStatus, RenewalStatus, SubscriptionStatus, SubscriptionType, creditTransactionTypeSchema, creditTransactionTypes, paymentMethodSchema, paymentMethods, paymentStatusSchema, paymentStatuses, renewalStatusSchema, renewalStatuses, subscriptionStatusSchema, subscriptionStatuses, subscriptionTypeSchema, subscriptionTypes } from '@deliverart/sdk-js-global-types';
3
4
  import { z } from 'zod';
4
5
  import { AbstractApiRequest } from '@deliverart/sdk-js-core';
5
6
 
@@ -258,6 +259,7 @@ declare const subscriptionConsumptionRenewalSchema: z.ZodObject<{
258
259
  price: z.ZodString;
259
260
  createdAt: z.ZodString;
260
261
  updatedAt: z.ZodString;
262
+ 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>>;
261
263
  credits: z.ZodCoercedNumber<unknown>;
262
264
  pricePerCredit: z.ZodCoercedNumber<unknown>;
263
265
  }, z.core.$strip>;
@@ -273,6 +275,7 @@ declare const subscriptionConsumptionRenewalDetailsSchema: z.ZodObject<{
273
275
  price: z.ZodString;
274
276
  createdAt: z.ZodString;
275
277
  updatedAt: z.ZodString;
278
+ 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>>;
276
279
  credits: z.ZodCoercedNumber<unknown>;
277
280
  pricePerCredit: z.ZodCoercedNumber<unknown>;
278
281
  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>>;
@@ -289,6 +292,7 @@ declare const subscriptionTimeBasedRenewalSchema: z.ZodObject<{
289
292
  price: z.ZodString;
290
293
  createdAt: z.ZodString;
291
294
  updatedAt: z.ZodString;
295
+ 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>>;
292
296
  days: z.ZodCoercedNumber<unknown>;
293
297
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
294
298
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -306,6 +310,7 @@ declare const subscriptionTimeBasedRenewalDetailsSchema: z.ZodObject<{
306
310
  price: z.ZodString;
307
311
  createdAt: z.ZodString;
308
312
  updatedAt: z.ZodString;
313
+ 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>>;
309
314
  days: z.ZodCoercedNumber<unknown>;
310
315
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
311
316
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -377,6 +382,83 @@ declare const adjustSubscriptionConsumptionCreditsInputSchema: z.ZodObject<{
377
382
  reference: z.ZodOptional<z.ZodString>;
378
383
  note: z.ZodOptional<z.ZodString>;
379
384
  }, z.core.$strip>;
385
+ declare const paySubscriptionRenewalInputSchema: z.ZodObject<{
386
+ method: z.ZodEnum<{
387
+ stripe: "stripe";
388
+ bank_transfer: "bank_transfer";
389
+ cash: "cash";
390
+ credit_card: "credit_card";
391
+ }>;
392
+ }, z.core.$strip>;
393
+ type PaySubscriptionRenewalInput = z.infer<typeof paySubscriptionRenewalInputSchema>;
394
+ declare const subscriptionRenewalPaymentInfoSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
395
+ id: z.ZodString;
396
+ status: z.ZodEnum<{
397
+ pending: "pending";
398
+ pending_verification: "pending_verification";
399
+ paid: "paid";
400
+ canceled: "canceled";
401
+ refunded: "refunded";
402
+ failed: "failed";
403
+ }>;
404
+ amount: z.ZodString;
405
+ method: z.ZodLiteral<"stripe">;
406
+ sessionUrl: z.ZodString;
407
+ expiresAt: z.ZodString;
408
+ }, z.core.$strip>, z.ZodObject<{
409
+ id: z.ZodString;
410
+ status: z.ZodEnum<{
411
+ pending: "pending";
412
+ pending_verification: "pending_verification";
413
+ paid: "paid";
414
+ canceled: "canceled";
415
+ refunded: "refunded";
416
+ failed: "failed";
417
+ }>;
418
+ amount: z.ZodString;
419
+ method: z.ZodLiteral<"bank_transfer">;
420
+ iban: z.ZodString;
421
+ bic: z.ZodString;
422
+ accountHolder: z.ZodString;
423
+ bankName: z.ZodString;
424
+ bankAddress: z.ZodNullable<z.ZodString>;
425
+ currency: z.ZodString;
426
+ description: z.ZodString;
427
+ }, z.core.$strip>, z.ZodObject<{
428
+ id: z.ZodString;
429
+ status: z.ZodEnum<{
430
+ pending: "pending";
431
+ pending_verification: "pending_verification";
432
+ paid: "paid";
433
+ canceled: "canceled";
434
+ refunded: "refunded";
435
+ failed: "failed";
436
+ }>;
437
+ amount: z.ZodString;
438
+ method: z.ZodLiteral<"cash">;
439
+ }, z.core.$strip>, z.ZodObject<{
440
+ id: z.ZodString;
441
+ status: z.ZodEnum<{
442
+ pending: "pending";
443
+ pending_verification: "pending_verification";
444
+ paid: "paid";
445
+ canceled: "canceled";
446
+ refunded: "refunded";
447
+ failed: "failed";
448
+ }>;
449
+ amount: z.ZodString;
450
+ method: z.ZodLiteral<"credit_card">;
451
+ }, z.core.$strip>], "method">;
452
+ type SubscriptionRenewalPaymentInfo = z.infer<typeof subscriptionRenewalPaymentInfoSchema>;
453
+ declare const resolveSubscriptionRenewalPaymentInputSchema: z.ZodObject<{
454
+ status: z.ZodEnum<{
455
+ paid: "paid";
456
+ failed: "failed";
457
+ canceled: "canceled";
458
+ }>;
459
+ response: z.ZodOptional<z.ZodString>;
460
+ }, z.core.$strip>;
461
+ type ResolveSubscriptionRenewalPaymentInput = z.infer<typeof resolveSubscriptionRenewalPaymentInputSchema>;
380
462
  declare const subscriptionOverviewSubscriptionSchema: z.ZodObject<{
381
463
  id: z.ZodString;
382
464
  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>>]>;
@@ -1065,6 +1147,7 @@ declare const getSubscriptionConsumptionRenewalsResponseSchema: z.ZodObject<{
1065
1147
  price: z.ZodString;
1066
1148
  createdAt: z.ZodString;
1067
1149
  updatedAt: z.ZodString;
1150
+ 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>>;
1068
1151
  credits: z.ZodCoercedNumber<unknown>;
1069
1152
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1070
1153
  }, z.core.$strip>>;
@@ -1089,6 +1172,7 @@ declare const getSubscriptionTimeBasedRenewalsResponseSchema: z.ZodObject<{
1089
1172
  price: z.ZodString;
1090
1173
  createdAt: z.ZodString;
1091
1174
  updatedAt: z.ZodString;
1175
+ 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>>;
1092
1176
  days: z.ZodCoercedNumber<unknown>;
1093
1177
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
1094
1178
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -1786,6 +1870,7 @@ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
1786
1870
  price: z.ZodString;
1787
1871
  createdAt: z.ZodString;
1788
1872
  updatedAt: z.ZodString;
1873
+ 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>>;
1789
1874
  credits: z.ZodCoercedNumber<unknown>;
1790
1875
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1791
1876
  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>>;
@@ -1810,6 +1895,7 @@ declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
1810
1895
  price: z.ZodString;
1811
1896
  createdAt: z.ZodString;
1812
1897
  updatedAt: z.ZodString;
1898
+ 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>>;
1813
1899
  credits: z.ZodCoercedNumber<unknown>;
1814
1900
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1815
1901
  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>>;
@@ -1848,6 +1934,7 @@ declare const getSubscriptionConsumptionRenewalDetailsResponseSchema: z.ZodObjec
1848
1934
  price: z.ZodString;
1849
1935
  createdAt: z.ZodString;
1850
1936
  updatedAt: z.ZodString;
1937
+ 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>>;
1851
1938
  credits: z.ZodCoercedNumber<unknown>;
1852
1939
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1853
1940
  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>>;
@@ -1869,6 +1956,7 @@ declare class GetSubscriptionConsumptionRenewalDetails extends AbstractApiReques
1869
1956
  price: z.ZodString;
1870
1957
  createdAt: z.ZodString;
1871
1958
  updatedAt: z.ZodString;
1959
+ 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>>;
1872
1960
  credits: z.ZodCoercedNumber<unknown>;
1873
1961
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1874
1962
  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>>;
@@ -1901,6 +1989,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
1901
1989
  price: z.ZodString;
1902
1990
  createdAt: z.ZodString;
1903
1991
  updatedAt: z.ZodString;
1992
+ 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>>;
1904
1993
  credits: z.ZodCoercedNumber<unknown>;
1905
1994
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1906
1995
  }, z.core.$strip>>;
@@ -1966,6 +2055,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
1966
2055
  price: z.ZodString;
1967
2056
  createdAt: z.ZodString;
1968
2057
  updatedAt: z.ZodString;
2058
+ 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>>;
1969
2059
  credits: z.ZodCoercedNumber<unknown>;
1970
2060
  pricePerCredit: z.ZodCoercedNumber<unknown>;
1971
2061
  }, z.core.$strip>;
@@ -1997,6 +2087,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
1997
2087
  price: z.ZodString;
1998
2088
  createdAt: z.ZodString;
1999
2089
  updatedAt: z.ZodString;
2090
+ 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>>;
2000
2091
  credits: z.ZodCoercedNumber<unknown>;
2001
2092
  pricePerCredit: z.ZodCoercedNumber<unknown>;
2002
2093
  }, z.core.$strip>>;
@@ -2062,6 +2153,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
2062
2153
  price: z.ZodString;
2063
2154
  createdAt: z.ZodString;
2064
2155
  updatedAt: z.ZodString;
2156
+ 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>>;
2065
2157
  credits: z.ZodCoercedNumber<unknown>;
2066
2158
  pricePerCredit: z.ZodCoercedNumber<unknown>;
2067
2159
  }, z.core.$strip>;
@@ -2073,6 +2165,357 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
2073
2165
  getPath(): string;
2074
2166
  }
2075
2167
 
2168
+ declare const adjustableCreditTransactionTypes: readonly ["gift", "bonus", "refund", "manual_adjustment"];
2169
+ declare const adjustableCreditTransactionTypeSchema: z.ZodEnum<{
2170
+ gift: "gift";
2171
+ bonus: "bonus";
2172
+ refund: "refund";
2173
+ manual_adjustment: "manual_adjustment";
2174
+ }>;
2175
+ type AdjustableCreditTransactionType = z.infer<typeof adjustableCreditTransactionTypeSchema>;
2176
+ declare const subscriptionAvailabilityReasons: readonly ["available", "no_active_subscription", "expired", "insufficient_credits", "operation_not_allowed"];
2177
+ declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
2178
+ available: "available";
2179
+ no_active_subscription: "no_active_subscription";
2180
+ expired: "expired";
2181
+ insufficient_credits: "insufficient_credits";
2182
+ operation_not_allowed: "operation_not_allowed";
2183
+ }>;
2184
+ type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
2185
+ declare const resolvableRenewalPaymentStatuses: readonly ["paid", "failed", "canceled"];
2186
+ declare const resolvableRenewalPaymentStatusSchema: z.ZodEnum<{
2187
+ paid: "paid";
2188
+ failed: "failed";
2189
+ canceled: "canceled";
2190
+ }>;
2191
+ type ResolvableRenewalPaymentStatus = z.infer<typeof resolvableRenewalPaymentStatusSchema>;
2192
+ declare const subscriptionIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown>>;
2193
+ type SubscriptionIri = z.infer<typeof subscriptionIriSchema>;
2194
+ declare const subscriptionNullableIriSchema: 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>>;
2195
+ type SubscriptionNullableIri = z.infer<typeof subscriptionNullableIriSchema>;
2196
+ declare const subscriptionInfiniteIriSchema: 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>>;
2197
+ type SubscriptionInfiniteIri = z.infer<typeof subscriptionInfiniteIriSchema>;
2198
+ declare const subscriptionInfiniteNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown>>;
2199
+ type SubscriptionInfiniteNullableIri = z.infer<typeof subscriptionInfiniteNullableIriSchema>;
2200
+ declare const subscriptionConsumptionIriSchema: 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>>;
2201
+ type SubscriptionConsumptionIri = z.infer<typeof subscriptionConsumptionIriSchema>;
2202
+ declare const subscriptionConsumptionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown>>;
2203
+ type SubscriptionConsumptionNullableIri = z.infer<typeof subscriptionConsumptionNullableIriSchema>;
2204
+ declare const subscriptionTimeBasedIriSchema: 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>>;
2205
+ type SubscriptionTimeBasedIri = z.infer<typeof subscriptionTimeBasedIriSchema>;
2206
+ declare const subscriptionTimeBasedNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown>>;
2207
+ type SubscriptionTimeBasedNullableIri = z.infer<typeof subscriptionTimeBasedNullableIriSchema>;
2208
+ declare const subscriptionPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
2209
+ type SubscriptionPriceIri = z.infer<typeof subscriptionPriceIriSchema>;
2210
+ declare const subscriptionPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown>>;
2211
+ type SubscriptionPriceNullableIri = z.infer<typeof subscriptionPriceNullableIriSchema>;
2212
+ declare const subscriptionConsumptionRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown>>;
2213
+ type SubscriptionConsumptionRenewalIri = z.infer<typeof subscriptionConsumptionRenewalIriSchema>;
2214
+ declare const subscriptionConsumptionRenewalNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id"> | null, unknown>>;
2215
+ type SubscriptionConsumptionRenewalNullableIri = z.infer<typeof subscriptionConsumptionRenewalNullableIriSchema>;
2216
+ declare const subscriptionTimeBasedRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown>>;
2217
+ type SubscriptionTimeBasedRenewalIri = z.infer<typeof subscriptionTimeBasedRenewalIriSchema>;
2218
+ declare const subscriptionTimeBasedRenewalNullableIriSchema: 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>>;
2219
+ type SubscriptionTimeBasedRenewalNullableIri = z.infer<typeof subscriptionTimeBasedRenewalNullableIriSchema>;
2220
+ declare const paymentIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/payments/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/payments/:id">, unknown>>;
2221
+ type PaymentIri = z.infer<typeof paymentIriSchema>;
2222
+ declare const paymentNullableIriSchema: 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>>;
2223
+ type PaymentNullableIri = z.infer<typeof paymentNullableIriSchema>;
2224
+ declare const creditUsageLogIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown>>;
2225
+ type CreditUsageLogIri = z.infer<typeof creditUsageLogIriSchema>;
2226
+ declare const creditUsageLogNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown>>;
2227
+ type CreditUsageLogNullableIri = z.infer<typeof creditUsageLogNullableIriSchema>;
2228
+
2229
+ declare const paySubscriptionConsumptionRenewalInputSchema: z.ZodObject<{
2230
+ method: z.ZodEnum<{
2231
+ stripe: "stripe";
2232
+ bank_transfer: "bank_transfer";
2233
+ cash: "cash";
2234
+ credit_card: "credit_card";
2235
+ }>;
2236
+ }, z.core.$strip>;
2237
+ type PaySubscriptionConsumptionRenewalInput = z.input<typeof paySubscriptionConsumptionRenewalInputSchema>;
2238
+ declare const paySubscriptionConsumptionRenewalResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2239
+ id: z.ZodString;
2240
+ status: z.ZodEnum<{
2241
+ pending: "pending";
2242
+ pending_verification: "pending_verification";
2243
+ paid: "paid";
2244
+ canceled: "canceled";
2245
+ refunded: "refunded";
2246
+ failed: "failed";
2247
+ }>;
2248
+ amount: z.ZodString;
2249
+ method: z.ZodLiteral<"stripe">;
2250
+ sessionUrl: z.ZodString;
2251
+ expiresAt: z.ZodString;
2252
+ }, z.core.$strip>, z.ZodObject<{
2253
+ id: z.ZodString;
2254
+ status: z.ZodEnum<{
2255
+ pending: "pending";
2256
+ pending_verification: "pending_verification";
2257
+ paid: "paid";
2258
+ canceled: "canceled";
2259
+ refunded: "refunded";
2260
+ failed: "failed";
2261
+ }>;
2262
+ amount: z.ZodString;
2263
+ method: z.ZodLiteral<"bank_transfer">;
2264
+ iban: z.ZodString;
2265
+ bic: z.ZodString;
2266
+ accountHolder: z.ZodString;
2267
+ bankName: z.ZodString;
2268
+ bankAddress: z.ZodNullable<z.ZodString>;
2269
+ currency: z.ZodString;
2270
+ description: z.ZodString;
2271
+ }, z.core.$strip>, z.ZodObject<{
2272
+ id: z.ZodString;
2273
+ status: z.ZodEnum<{
2274
+ pending: "pending";
2275
+ pending_verification: "pending_verification";
2276
+ paid: "paid";
2277
+ canceled: "canceled";
2278
+ refunded: "refunded";
2279
+ failed: "failed";
2280
+ }>;
2281
+ amount: z.ZodString;
2282
+ method: z.ZodLiteral<"cash">;
2283
+ }, z.core.$strip>, z.ZodObject<{
2284
+ id: z.ZodString;
2285
+ status: z.ZodEnum<{
2286
+ pending: "pending";
2287
+ pending_verification: "pending_verification";
2288
+ paid: "paid";
2289
+ canceled: "canceled";
2290
+ refunded: "refunded";
2291
+ failed: "failed";
2292
+ }>;
2293
+ amount: z.ZodString;
2294
+ method: z.ZodLiteral<"credit_card">;
2295
+ }, z.core.$strip>], "method">;
2296
+ type PaySubscriptionConsumptionRenewalResponse = z.infer<typeof paySubscriptionConsumptionRenewalResponseSchema>;
2297
+ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeof paySubscriptionConsumptionRenewalInputSchema, typeof paySubscriptionConsumptionRenewalResponseSchema> {
2298
+ readonly method = "POST";
2299
+ readonly contentType = "application/json";
2300
+ readonly accept = "application/json";
2301
+ readonly inputSchema: z.ZodObject<{
2302
+ method: z.ZodEnum<{
2303
+ stripe: "stripe";
2304
+ bank_transfer: "bank_transfer";
2305
+ cash: "cash";
2306
+ credit_card: "credit_card";
2307
+ }>;
2308
+ }, z.core.$strip>;
2309
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2310
+ id: z.ZodString;
2311
+ status: z.ZodEnum<{
2312
+ pending: "pending";
2313
+ pending_verification: "pending_verification";
2314
+ paid: "paid";
2315
+ canceled: "canceled";
2316
+ refunded: "refunded";
2317
+ failed: "failed";
2318
+ }>;
2319
+ amount: z.ZodString;
2320
+ method: z.ZodLiteral<"stripe">;
2321
+ sessionUrl: z.ZodString;
2322
+ expiresAt: z.ZodString;
2323
+ }, z.core.$strip>, z.ZodObject<{
2324
+ id: z.ZodString;
2325
+ status: z.ZodEnum<{
2326
+ pending: "pending";
2327
+ pending_verification: "pending_verification";
2328
+ paid: "paid";
2329
+ canceled: "canceled";
2330
+ refunded: "refunded";
2331
+ failed: "failed";
2332
+ }>;
2333
+ amount: z.ZodString;
2334
+ method: z.ZodLiteral<"bank_transfer">;
2335
+ iban: z.ZodString;
2336
+ bic: z.ZodString;
2337
+ accountHolder: z.ZodString;
2338
+ bankName: z.ZodString;
2339
+ bankAddress: z.ZodNullable<z.ZodString>;
2340
+ currency: z.ZodString;
2341
+ description: z.ZodString;
2342
+ }, z.core.$strip>, z.ZodObject<{
2343
+ id: z.ZodString;
2344
+ status: z.ZodEnum<{
2345
+ pending: "pending";
2346
+ pending_verification: "pending_verification";
2347
+ paid: "paid";
2348
+ canceled: "canceled";
2349
+ refunded: "refunded";
2350
+ failed: "failed";
2351
+ }>;
2352
+ amount: z.ZodString;
2353
+ method: z.ZodLiteral<"cash">;
2354
+ }, z.core.$strip>, z.ZodObject<{
2355
+ id: z.ZodString;
2356
+ status: z.ZodEnum<{
2357
+ pending: "pending";
2358
+ pending_verification: "pending_verification";
2359
+ paid: "paid";
2360
+ canceled: "canceled";
2361
+ refunded: "refunded";
2362
+ failed: "failed";
2363
+ }>;
2364
+ amount: z.ZodString;
2365
+ method: z.ZodLiteral<"credit_card">;
2366
+ }, z.core.$strip>], "method">;
2367
+ readonly querySchema: undefined;
2368
+ readonly headersSchema: undefined;
2369
+ private readonly renewalId;
2370
+ constructor(renewalId: string, method: PaymentMethod);
2371
+ getPath(): string;
2372
+ }
2373
+
2374
+ declare const resolveSubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
2375
+ status: z.ZodEnum<{
2376
+ paid: "paid";
2377
+ failed: "failed";
2378
+ canceled: "canceled";
2379
+ }>;
2380
+ response: z.ZodOptional<z.ZodString>;
2381
+ }, z.core.$strip>;
2382
+ type ResolveSubscriptionConsumptionRenewalPaymentInput = z.input<typeof resolveSubscriptionConsumptionRenewalPaymentInputSchema>;
2383
+ declare const resolveSubscriptionConsumptionRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2384
+ id: z.ZodString;
2385
+ status: z.ZodEnum<{
2386
+ pending: "pending";
2387
+ pending_verification: "pending_verification";
2388
+ paid: "paid";
2389
+ canceled: "canceled";
2390
+ refunded: "refunded";
2391
+ failed: "failed";
2392
+ }>;
2393
+ amount: z.ZodString;
2394
+ method: z.ZodLiteral<"stripe">;
2395
+ sessionUrl: z.ZodString;
2396
+ expiresAt: z.ZodString;
2397
+ }, z.core.$strip>, z.ZodObject<{
2398
+ id: z.ZodString;
2399
+ status: z.ZodEnum<{
2400
+ pending: "pending";
2401
+ pending_verification: "pending_verification";
2402
+ paid: "paid";
2403
+ canceled: "canceled";
2404
+ refunded: "refunded";
2405
+ failed: "failed";
2406
+ }>;
2407
+ amount: z.ZodString;
2408
+ method: z.ZodLiteral<"bank_transfer">;
2409
+ iban: z.ZodString;
2410
+ bic: z.ZodString;
2411
+ accountHolder: z.ZodString;
2412
+ bankName: z.ZodString;
2413
+ bankAddress: z.ZodNullable<z.ZodString>;
2414
+ currency: z.ZodString;
2415
+ description: z.ZodString;
2416
+ }, z.core.$strip>, z.ZodObject<{
2417
+ id: z.ZodString;
2418
+ status: z.ZodEnum<{
2419
+ pending: "pending";
2420
+ pending_verification: "pending_verification";
2421
+ paid: "paid";
2422
+ canceled: "canceled";
2423
+ refunded: "refunded";
2424
+ failed: "failed";
2425
+ }>;
2426
+ amount: z.ZodString;
2427
+ method: z.ZodLiteral<"cash">;
2428
+ }, z.core.$strip>, z.ZodObject<{
2429
+ id: z.ZodString;
2430
+ status: z.ZodEnum<{
2431
+ pending: "pending";
2432
+ pending_verification: "pending_verification";
2433
+ paid: "paid";
2434
+ canceled: "canceled";
2435
+ refunded: "refunded";
2436
+ failed: "failed";
2437
+ }>;
2438
+ amount: z.ZodString;
2439
+ method: z.ZodLiteral<"credit_card">;
2440
+ }, z.core.$strip>], "method">;
2441
+ type ResolveSubscriptionConsumptionRenewalPaymentResponse = z.infer<typeof resolveSubscriptionConsumptionRenewalPaymentResponseSchema>;
2442
+ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionConsumptionRenewalPaymentInputSchema, typeof resolveSubscriptionConsumptionRenewalPaymentResponseSchema> {
2443
+ readonly method = "POST";
2444
+ readonly contentType = "application/json";
2445
+ readonly accept = "application/json";
2446
+ readonly inputSchema: z.ZodObject<{
2447
+ status: z.ZodEnum<{
2448
+ paid: "paid";
2449
+ failed: "failed";
2450
+ canceled: "canceled";
2451
+ }>;
2452
+ response: z.ZodOptional<z.ZodString>;
2453
+ }, z.core.$strip>;
2454
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
2455
+ id: z.ZodString;
2456
+ status: z.ZodEnum<{
2457
+ pending: "pending";
2458
+ pending_verification: "pending_verification";
2459
+ paid: "paid";
2460
+ canceled: "canceled";
2461
+ refunded: "refunded";
2462
+ failed: "failed";
2463
+ }>;
2464
+ amount: z.ZodString;
2465
+ method: z.ZodLiteral<"stripe">;
2466
+ sessionUrl: z.ZodString;
2467
+ expiresAt: z.ZodString;
2468
+ }, z.core.$strip>, z.ZodObject<{
2469
+ id: z.ZodString;
2470
+ status: z.ZodEnum<{
2471
+ pending: "pending";
2472
+ pending_verification: "pending_verification";
2473
+ paid: "paid";
2474
+ canceled: "canceled";
2475
+ refunded: "refunded";
2476
+ failed: "failed";
2477
+ }>;
2478
+ amount: z.ZodString;
2479
+ method: z.ZodLiteral<"bank_transfer">;
2480
+ iban: z.ZodString;
2481
+ bic: z.ZodString;
2482
+ accountHolder: z.ZodString;
2483
+ bankName: z.ZodString;
2484
+ bankAddress: z.ZodNullable<z.ZodString>;
2485
+ currency: z.ZodString;
2486
+ description: z.ZodString;
2487
+ }, z.core.$strip>, z.ZodObject<{
2488
+ id: z.ZodString;
2489
+ status: z.ZodEnum<{
2490
+ pending: "pending";
2491
+ pending_verification: "pending_verification";
2492
+ paid: "paid";
2493
+ canceled: "canceled";
2494
+ refunded: "refunded";
2495
+ failed: "failed";
2496
+ }>;
2497
+ amount: z.ZodString;
2498
+ method: z.ZodLiteral<"cash">;
2499
+ }, z.core.$strip>, z.ZodObject<{
2500
+ id: z.ZodString;
2501
+ status: z.ZodEnum<{
2502
+ pending: "pending";
2503
+ pending_verification: "pending_verification";
2504
+ paid: "paid";
2505
+ canceled: "canceled";
2506
+ refunded: "refunded";
2507
+ failed: "failed";
2508
+ }>;
2509
+ amount: z.ZodString;
2510
+ method: z.ZodLiteral<"credit_card">;
2511
+ }, z.core.$strip>], "method">;
2512
+ readonly querySchema: undefined;
2513
+ readonly headersSchema: undefined;
2514
+ private readonly renewalId;
2515
+ constructor(renewalId: string, input: ResolveSubscriptionConsumptionRenewalPaymentInput);
2516
+ getPath(): string;
2517
+ }
2518
+
2076
2519
  declare const createSubscriptionInfiniteInputSchema: z.ZodObject<{
2077
2520
  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>>;
2078
2521
  autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
@@ -2921,6 +3364,7 @@ declare const createSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
2921
3364
  price: z.ZodString;
2922
3365
  createdAt: z.ZodString;
2923
3366
  updatedAt: z.ZodString;
3367
+ 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>>;
2924
3368
  days: z.ZodCoercedNumber<unknown>;
2925
3369
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2926
3370
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -2947,6 +3391,7 @@ declare class CreateSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
2947
3391
  price: z.ZodString;
2948
3392
  createdAt: z.ZodString;
2949
3393
  updatedAt: z.ZodString;
3394
+ 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>>;
2950
3395
  days: z.ZodCoercedNumber<unknown>;
2951
3396
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2952
3397
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -2987,6 +3432,7 @@ declare const getSubscriptionTimeBasedRenewalDetailsResponseSchema: z.ZodObject<
2987
3432
  price: z.ZodString;
2988
3433
  createdAt: z.ZodString;
2989
3434
  updatedAt: z.ZodString;
3435
+ 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>>;
2990
3436
  days: z.ZodCoercedNumber<unknown>;
2991
3437
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
2992
3438
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3010,6 +3456,7 @@ declare class GetSubscriptionTimeBasedRenewalDetails extends AbstractApiRequest<
3010
3456
  price: z.ZodString;
3011
3457
  createdAt: z.ZodString;
3012
3458
  updatedAt: z.ZodString;
3459
+ 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>>;
3013
3460
  days: z.ZodCoercedNumber<unknown>;
3014
3461
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3015
3462
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3044,6 +3491,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
3044
3491
  price: z.ZodString;
3045
3492
  createdAt: z.ZodString;
3046
3493
  updatedAt: z.ZodString;
3494
+ 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>>;
3047
3495
  days: z.ZodCoercedNumber<unknown>;
3048
3496
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3049
3497
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3111,6 +3559,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
3111
3559
  price: z.ZodString;
3112
3560
  createdAt: z.ZodString;
3113
3561
  updatedAt: z.ZodString;
3562
+ 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>>;
3114
3563
  days: z.ZodCoercedNumber<unknown>;
3115
3564
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3116
3565
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3144,6 +3593,7 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
3144
3593
  price: z.ZodString;
3145
3594
  createdAt: z.ZodString;
3146
3595
  updatedAt: z.ZodString;
3596
+ 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>>;
3147
3597
  days: z.ZodCoercedNumber<unknown>;
3148
3598
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3149
3599
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3211,6 +3661,7 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
3211
3661
  price: z.ZodString;
3212
3662
  createdAt: z.ZodString;
3213
3663
  updatedAt: z.ZodString;
3664
+ 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>>;
3214
3665
  days: z.ZodCoercedNumber<unknown>;
3215
3666
  previousExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
3216
3667
  newExpiresDate: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
@@ -3224,6 +3675,296 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
3224
3675
  getPath(): string;
3225
3676
  }
3226
3677
 
3678
+ declare const paySubscriptionTimeBasedRenewalInputSchema: z.ZodObject<{
3679
+ method: z.ZodEnum<{
3680
+ stripe: "stripe";
3681
+ bank_transfer: "bank_transfer";
3682
+ cash: "cash";
3683
+ credit_card: "credit_card";
3684
+ }>;
3685
+ }, z.core.$strip>;
3686
+ type PaySubscriptionTimeBasedRenewalInput = z.input<typeof paySubscriptionTimeBasedRenewalInputSchema>;
3687
+ declare const paySubscriptionTimeBasedRenewalResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3688
+ id: z.ZodString;
3689
+ status: z.ZodEnum<{
3690
+ pending: "pending";
3691
+ pending_verification: "pending_verification";
3692
+ paid: "paid";
3693
+ canceled: "canceled";
3694
+ refunded: "refunded";
3695
+ failed: "failed";
3696
+ }>;
3697
+ amount: z.ZodString;
3698
+ method: z.ZodLiteral<"stripe">;
3699
+ sessionUrl: z.ZodString;
3700
+ expiresAt: z.ZodString;
3701
+ }, z.core.$strip>, z.ZodObject<{
3702
+ id: z.ZodString;
3703
+ status: z.ZodEnum<{
3704
+ pending: "pending";
3705
+ pending_verification: "pending_verification";
3706
+ paid: "paid";
3707
+ canceled: "canceled";
3708
+ refunded: "refunded";
3709
+ failed: "failed";
3710
+ }>;
3711
+ amount: z.ZodString;
3712
+ method: z.ZodLiteral<"bank_transfer">;
3713
+ iban: z.ZodString;
3714
+ bic: z.ZodString;
3715
+ accountHolder: z.ZodString;
3716
+ bankName: z.ZodString;
3717
+ bankAddress: z.ZodNullable<z.ZodString>;
3718
+ currency: z.ZodString;
3719
+ description: z.ZodString;
3720
+ }, z.core.$strip>, z.ZodObject<{
3721
+ id: z.ZodString;
3722
+ status: z.ZodEnum<{
3723
+ pending: "pending";
3724
+ pending_verification: "pending_verification";
3725
+ paid: "paid";
3726
+ canceled: "canceled";
3727
+ refunded: "refunded";
3728
+ failed: "failed";
3729
+ }>;
3730
+ amount: z.ZodString;
3731
+ method: z.ZodLiteral<"cash">;
3732
+ }, z.core.$strip>, z.ZodObject<{
3733
+ id: z.ZodString;
3734
+ status: z.ZodEnum<{
3735
+ pending: "pending";
3736
+ pending_verification: "pending_verification";
3737
+ paid: "paid";
3738
+ canceled: "canceled";
3739
+ refunded: "refunded";
3740
+ failed: "failed";
3741
+ }>;
3742
+ amount: z.ZodString;
3743
+ method: z.ZodLiteral<"credit_card">;
3744
+ }, z.core.$strip>], "method">;
3745
+ type PaySubscriptionTimeBasedRenewalResponse = z.infer<typeof paySubscriptionTimeBasedRenewalResponseSchema>;
3746
+ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof paySubscriptionTimeBasedRenewalInputSchema, typeof paySubscriptionTimeBasedRenewalResponseSchema> {
3747
+ readonly method = "POST";
3748
+ readonly contentType = "application/json";
3749
+ readonly accept = "application/json";
3750
+ readonly inputSchema: z.ZodObject<{
3751
+ method: z.ZodEnum<{
3752
+ stripe: "stripe";
3753
+ bank_transfer: "bank_transfer";
3754
+ cash: "cash";
3755
+ credit_card: "credit_card";
3756
+ }>;
3757
+ }, z.core.$strip>;
3758
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3759
+ id: z.ZodString;
3760
+ status: z.ZodEnum<{
3761
+ pending: "pending";
3762
+ pending_verification: "pending_verification";
3763
+ paid: "paid";
3764
+ canceled: "canceled";
3765
+ refunded: "refunded";
3766
+ failed: "failed";
3767
+ }>;
3768
+ amount: z.ZodString;
3769
+ method: z.ZodLiteral<"stripe">;
3770
+ sessionUrl: z.ZodString;
3771
+ expiresAt: z.ZodString;
3772
+ }, z.core.$strip>, z.ZodObject<{
3773
+ id: z.ZodString;
3774
+ status: z.ZodEnum<{
3775
+ pending: "pending";
3776
+ pending_verification: "pending_verification";
3777
+ paid: "paid";
3778
+ canceled: "canceled";
3779
+ refunded: "refunded";
3780
+ failed: "failed";
3781
+ }>;
3782
+ amount: z.ZodString;
3783
+ method: z.ZodLiteral<"bank_transfer">;
3784
+ iban: z.ZodString;
3785
+ bic: z.ZodString;
3786
+ accountHolder: z.ZodString;
3787
+ bankName: z.ZodString;
3788
+ bankAddress: z.ZodNullable<z.ZodString>;
3789
+ currency: z.ZodString;
3790
+ description: z.ZodString;
3791
+ }, z.core.$strip>, z.ZodObject<{
3792
+ id: z.ZodString;
3793
+ status: z.ZodEnum<{
3794
+ pending: "pending";
3795
+ pending_verification: "pending_verification";
3796
+ paid: "paid";
3797
+ canceled: "canceled";
3798
+ refunded: "refunded";
3799
+ failed: "failed";
3800
+ }>;
3801
+ amount: z.ZodString;
3802
+ method: z.ZodLiteral<"cash">;
3803
+ }, z.core.$strip>, z.ZodObject<{
3804
+ id: z.ZodString;
3805
+ status: z.ZodEnum<{
3806
+ pending: "pending";
3807
+ pending_verification: "pending_verification";
3808
+ paid: "paid";
3809
+ canceled: "canceled";
3810
+ refunded: "refunded";
3811
+ failed: "failed";
3812
+ }>;
3813
+ amount: z.ZodString;
3814
+ method: z.ZodLiteral<"credit_card">;
3815
+ }, z.core.$strip>], "method">;
3816
+ readonly querySchema: undefined;
3817
+ readonly headersSchema: undefined;
3818
+ private readonly renewalId;
3819
+ constructor(renewalId: string, method: PaymentMethod);
3820
+ getPath(): string;
3821
+ }
3822
+
3823
+ declare const resolveSubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
3824
+ status: z.ZodEnum<{
3825
+ paid: "paid";
3826
+ failed: "failed";
3827
+ canceled: "canceled";
3828
+ }>;
3829
+ response: z.ZodOptional<z.ZodString>;
3830
+ }, z.core.$strip>;
3831
+ type ResolveSubscriptionTimeBasedRenewalPaymentInput = z.input<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema>;
3832
+ declare const resolveSubscriptionTimeBasedRenewalPaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3833
+ id: z.ZodString;
3834
+ status: z.ZodEnum<{
3835
+ pending: "pending";
3836
+ pending_verification: "pending_verification";
3837
+ paid: "paid";
3838
+ canceled: "canceled";
3839
+ refunded: "refunded";
3840
+ failed: "failed";
3841
+ }>;
3842
+ amount: z.ZodString;
3843
+ method: z.ZodLiteral<"stripe">;
3844
+ sessionUrl: z.ZodString;
3845
+ expiresAt: z.ZodString;
3846
+ }, z.core.$strip>, z.ZodObject<{
3847
+ id: z.ZodString;
3848
+ status: z.ZodEnum<{
3849
+ pending: "pending";
3850
+ pending_verification: "pending_verification";
3851
+ paid: "paid";
3852
+ canceled: "canceled";
3853
+ refunded: "refunded";
3854
+ failed: "failed";
3855
+ }>;
3856
+ amount: z.ZodString;
3857
+ method: z.ZodLiteral<"bank_transfer">;
3858
+ iban: z.ZodString;
3859
+ bic: z.ZodString;
3860
+ accountHolder: z.ZodString;
3861
+ bankName: z.ZodString;
3862
+ bankAddress: z.ZodNullable<z.ZodString>;
3863
+ currency: z.ZodString;
3864
+ description: z.ZodString;
3865
+ }, z.core.$strip>, z.ZodObject<{
3866
+ id: z.ZodString;
3867
+ status: z.ZodEnum<{
3868
+ pending: "pending";
3869
+ pending_verification: "pending_verification";
3870
+ paid: "paid";
3871
+ canceled: "canceled";
3872
+ refunded: "refunded";
3873
+ failed: "failed";
3874
+ }>;
3875
+ amount: z.ZodString;
3876
+ method: z.ZodLiteral<"cash">;
3877
+ }, z.core.$strip>, z.ZodObject<{
3878
+ id: z.ZodString;
3879
+ status: z.ZodEnum<{
3880
+ pending: "pending";
3881
+ pending_verification: "pending_verification";
3882
+ paid: "paid";
3883
+ canceled: "canceled";
3884
+ refunded: "refunded";
3885
+ failed: "failed";
3886
+ }>;
3887
+ amount: z.ZodString;
3888
+ method: z.ZodLiteral<"credit_card">;
3889
+ }, z.core.$strip>], "method">;
3890
+ type ResolveSubscriptionTimeBasedRenewalPaymentResponse = z.infer<typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema>;
3891
+ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequest<typeof resolveSubscriptionTimeBasedRenewalPaymentInputSchema, typeof resolveSubscriptionTimeBasedRenewalPaymentResponseSchema> {
3892
+ readonly method = "POST";
3893
+ readonly contentType = "application/json";
3894
+ readonly accept = "application/json";
3895
+ readonly inputSchema: z.ZodObject<{
3896
+ status: z.ZodEnum<{
3897
+ paid: "paid";
3898
+ failed: "failed";
3899
+ canceled: "canceled";
3900
+ }>;
3901
+ response: z.ZodOptional<z.ZodString>;
3902
+ }, z.core.$strip>;
3903
+ readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3904
+ id: z.ZodString;
3905
+ status: z.ZodEnum<{
3906
+ pending: "pending";
3907
+ pending_verification: "pending_verification";
3908
+ paid: "paid";
3909
+ canceled: "canceled";
3910
+ refunded: "refunded";
3911
+ failed: "failed";
3912
+ }>;
3913
+ amount: z.ZodString;
3914
+ method: z.ZodLiteral<"stripe">;
3915
+ sessionUrl: z.ZodString;
3916
+ expiresAt: z.ZodString;
3917
+ }, z.core.$strip>, z.ZodObject<{
3918
+ id: z.ZodString;
3919
+ status: z.ZodEnum<{
3920
+ pending: "pending";
3921
+ pending_verification: "pending_verification";
3922
+ paid: "paid";
3923
+ canceled: "canceled";
3924
+ refunded: "refunded";
3925
+ failed: "failed";
3926
+ }>;
3927
+ amount: z.ZodString;
3928
+ method: z.ZodLiteral<"bank_transfer">;
3929
+ iban: z.ZodString;
3930
+ bic: z.ZodString;
3931
+ accountHolder: z.ZodString;
3932
+ bankName: z.ZodString;
3933
+ bankAddress: z.ZodNullable<z.ZodString>;
3934
+ currency: z.ZodString;
3935
+ description: z.ZodString;
3936
+ }, z.core.$strip>, z.ZodObject<{
3937
+ id: z.ZodString;
3938
+ status: z.ZodEnum<{
3939
+ pending: "pending";
3940
+ pending_verification: "pending_verification";
3941
+ paid: "paid";
3942
+ canceled: "canceled";
3943
+ refunded: "refunded";
3944
+ failed: "failed";
3945
+ }>;
3946
+ amount: z.ZodString;
3947
+ method: z.ZodLiteral<"cash">;
3948
+ }, z.core.$strip>, z.ZodObject<{
3949
+ id: z.ZodString;
3950
+ status: z.ZodEnum<{
3951
+ pending: "pending";
3952
+ pending_verification: "pending_verification";
3953
+ paid: "paid";
3954
+ canceled: "canceled";
3955
+ refunded: "refunded";
3956
+ failed: "failed";
3957
+ }>;
3958
+ amount: z.ZodString;
3959
+ method: z.ZodLiteral<"credit_card">;
3960
+ }, z.core.$strip>], "method">;
3961
+ readonly querySchema: undefined;
3962
+ readonly headersSchema: undefined;
3963
+ private readonly renewalId;
3964
+ constructor(renewalId: string, input: ResolveSubscriptionTimeBasedRenewalPaymentInput);
3965
+ getPath(): string;
3966
+ }
3967
+
3227
3968
  declare const deleteSubscriptionInputSchema: z.ZodUndefined;
3228
3969
  declare const deleteSubscriptionResponseSchema: z.ZodUnion<readonly [z.ZodVoid, z.ZodUndefined, z.ZodNull]>;
3229
3970
  declare class DeleteSubscription extends AbstractApiRequest<typeof deleteSubscriptionInputSchema, typeof deleteSubscriptionResponseSchema> {
@@ -4045,54 +4786,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
4045
4786
  getPath(): string;
4046
4787
  }
4047
4788
 
4048
- declare const adjustableCreditTransactionTypes: readonly ["gift", "bonus", "refund", "manual_adjustment"];
4049
- declare const adjustableCreditTransactionTypeSchema: z.ZodEnum<{
4050
- gift: "gift";
4051
- bonus: "bonus";
4052
- refund: "refund";
4053
- manual_adjustment: "manual_adjustment";
4054
- }>;
4055
- type AdjustableCreditTransactionType = z.infer<typeof adjustableCreditTransactionTypeSchema>;
4056
- declare const subscriptionAvailabilityReasons: readonly ["available", "no_active_subscription", "expired", "insufficient_credits", "operation_not_allowed"];
4057
- declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
4058
- available: "available";
4059
- no_active_subscription: "no_active_subscription";
4060
- expired: "expired";
4061
- insufficient_credits: "insufficient_credits";
4062
- operation_not_allowed: "operation_not_allowed";
4063
- }>;
4064
- type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
4065
- declare const subscriptionIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/:id">, unknown>>;
4066
- type SubscriptionIri = z.infer<typeof subscriptionIriSchema>;
4067
- declare const subscriptionNullableIriSchema: 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>>;
4068
- type SubscriptionNullableIri = z.infer<typeof subscriptionNullableIriSchema>;
4069
- declare const subscriptionInfiniteIriSchema: 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>>;
4070
- type SubscriptionInfiniteIri = z.infer<typeof subscriptionInfiniteIriSchema>;
4071
- declare const subscriptionInfiniteNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/infinite/:id"> | null, unknown>>;
4072
- type SubscriptionInfiniteNullableIri = z.infer<typeof subscriptionInfiniteNullableIriSchema>;
4073
- declare const subscriptionConsumptionIriSchema: 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>>;
4074
- type SubscriptionConsumptionIri = z.infer<typeof subscriptionConsumptionIriSchema>;
4075
- declare const subscriptionConsumptionNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/:id"> | null, unknown>>;
4076
- type SubscriptionConsumptionNullableIri = z.infer<typeof subscriptionConsumptionNullableIriSchema>;
4077
- declare const subscriptionTimeBasedIriSchema: 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>>;
4078
- type SubscriptionTimeBasedIri = z.infer<typeof subscriptionTimeBasedIriSchema>;
4079
- declare const subscriptionTimeBasedNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/:id"> | null, unknown>>;
4080
- type SubscriptionTimeBasedNullableIri = z.infer<typeof subscriptionTimeBasedNullableIriSchema>;
4081
- declare const subscriptionPriceIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id">, unknown>>;
4082
- type SubscriptionPriceIri = z.infer<typeof subscriptionPriceIriSchema>;
4083
- declare const subscriptionPriceNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/prices/:id"> | null, unknown>>;
4084
- type SubscriptionPriceNullableIri = z.infer<typeof subscriptionPriceNullableIriSchema>;
4085
- declare const subscriptionConsumptionRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id">, unknown>>;
4086
- type SubscriptionConsumptionRenewalIri = z.infer<typeof subscriptionConsumptionRenewalIriSchema>;
4087
- declare const subscriptionConsumptionRenewalNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/consumption/renewals/:id"> | null, unknown>>;
4088
- type SubscriptionConsumptionRenewalNullableIri = z.infer<typeof subscriptionConsumptionRenewalNullableIriSchema>;
4089
- declare const subscriptionTimeBasedRenewalIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/time_based/renewals/:id">, unknown>>;
4090
- type SubscriptionTimeBasedRenewalIri = z.infer<typeof subscriptionTimeBasedRenewalIriSchema>;
4091
- declare const subscriptionTimeBasedRenewalNullableIriSchema: 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>>;
4092
- type SubscriptionTimeBasedRenewalNullableIri = z.infer<typeof subscriptionTimeBasedRenewalNullableIriSchema>;
4093
- declare const creditUsageLogIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id">, unknown>>;
4094
- type CreditUsageLogIri = z.infer<typeof creditUsageLogIriSchema>;
4095
- declare const creditUsageLogNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/credit_usage_logs/:id"> | null, unknown>>;
4096
- type CreditUsageLogNullableIri = z.infer<typeof creditUsageLogNullableIriSchema>;
4097
-
4098
- export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, CreateSubscriptionConsumption, type CreateSubscriptionConsumptionInput, CreateSubscriptionConsumptionRenewal, type CreateSubscriptionConsumptionRenewalInput, type CreateSubscriptionConsumptionRenewalResponse, type CreateSubscriptionConsumptionResponse, CreateSubscriptionInfinite, type CreateSubscriptionInfiniteInput, type CreateSubscriptionInfiniteResponse, CreateSubscriptionPrice, type CreateSubscriptionPriceInput, type CreateSubscriptionPriceResponse, 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, 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, GetSubscriptionPriceDetails, type GetSubscriptionPriceDetailsInput, type GetSubscriptionPriceDetailsResponse, GetSubscriptionPrices, type GetSubscriptionPricesInput, type GetSubscriptionPricesQueryParams, type GetSubscriptionPricesResponse, 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 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 SubscriptionOverviewResponse, type SubscriptionOverviewSubscription, type SubscriptionPrice, type SubscriptionPriceIri, type SubscriptionPriceNullableIri, type SubscriptionPricesQueryParams, type SubscriptionQueryParams, 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, UpdateSubscriptionPrice, type UpdateSubscriptionPriceInput, type UpdateSubscriptionPriceResponse, type UpdateSubscriptionResponse, UpdateSubscriptionTimeBased, type UpdateSubscriptionTimeBasedInput, type UpdateSubscriptionTimeBasedResponse, type WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPrice, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionTimeBasedInputSchema, createSubscriptionTimeBasedRenewalInputSchema, createSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionTimeBasedResponseSchema, creditUsageLogDetailsSchema, creditUsageLogIriSchema, creditUsageLogNullableIriSchema, creditUsageLogSchema, creditUsageLogsQuerySchema, deleteCreditUsageLogInputSchema, deleteCreditUsageLogResponseSchema, deleteSubscriptionConsumptionInputSchema, deleteSubscriptionConsumptionRenewalInputSchema, deleteSubscriptionConsumptionRenewalResponseSchema, deleteSubscriptionConsumptionResponseSchema, deleteSubscriptionInfiniteInputSchema, deleteSubscriptionInfiniteResponseSchema, deleteSubscriptionInputSchema, 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, getSubscriptionPriceDetailsInputSchema, getSubscriptionPriceDetailsResponseSchema, getSubscriptionPricesInputSchema, getSubscriptionPricesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, subscriptionAvailabilityReasonSchema, subscriptionAvailabilityReasons, subscriptionConsumptionDetailsSchema, subscriptionConsumptionIriSchema, subscriptionConsumptionNullableIriSchema, subscriptionConsumptionQuerySchema, subscriptionConsumptionRenewalDetailsSchema, subscriptionConsumptionRenewalIriSchema, subscriptionConsumptionRenewalNullableIriSchema, subscriptionConsumptionRenewalSchema, subscriptionConsumptionRenewalsQuerySchema, subscriptionConsumptionSchema, subscriptionDetailsSchema, subscriptionInfiniteDetailsSchema, subscriptionInfiniteIriSchema, subscriptionInfiniteNullableIriSchema, subscriptionInfiniteSchema, subscriptionIriSchema, subscriptionNullableIriSchema, subscriptionOperationQuoteSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, subscriptionQuerySchema, subscriptionSchema, subscriptionTimeBasedDetailsSchema, subscriptionTimeBasedIriSchema, subscriptionTimeBasedNullableIriSchema, subscriptionTimeBasedQuerySchema, subscriptionTimeBasedRenewalDetailsSchema, subscriptionTimeBasedRenewalIriSchema, subscriptionTimeBasedRenewalNullableIriSchema, subscriptionTimeBasedRenewalSchema, subscriptionTimeBasedRenewalsQuerySchema, subscriptionTimeBasedSchema, updateSubscriptionConsumptionInputSchema, updateSubscriptionConsumptionResponseSchema, updateSubscriptionInputSchema, updateSubscriptionPriceInputSchema, updateSubscriptionPriceResponseSchema, updateSubscriptionResponseSchema, updateSubscriptionTimeBasedInputSchema, updateSubscriptionTimeBasedResponseSchema, writableSubscriptionCommonSchema, writableSubscriptionConsumptionRenewalSchema, writableSubscriptionConsumptionSchema, writableSubscriptionInfiniteSchema, writableSubscriptionPriceSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };
4789
+ export { AdjustSubscriptionConsumptionCredits, type AdjustSubscriptionConsumptionCreditsInput, type AdjustSubscriptionConsumptionCreditsResponse, type AdjustableCreditTransactionType, CreateSubscriptionConsumption, type CreateSubscriptionConsumptionInput, CreateSubscriptionConsumptionRenewal, type CreateSubscriptionConsumptionRenewalInput, type CreateSubscriptionConsumptionRenewalResponse, type CreateSubscriptionConsumptionResponse, CreateSubscriptionInfinite, type CreateSubscriptionInfiniteInput, type CreateSubscriptionInfiniteResponse, CreateSubscriptionPrice, type CreateSubscriptionPriceInput, type CreateSubscriptionPriceResponse, 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, 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, GetSubscriptionPriceDetails, type GetSubscriptionPriceDetailsInput, type GetSubscriptionPriceDetailsResponse, GetSubscriptionPrices, type GetSubscriptionPricesInput, type GetSubscriptionPricesQueryParams, type GetSubscriptionPricesResponse, 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, type PaySubscriptionRenewalInput, PaySubscriptionTimeBasedRenewal, type PaySubscriptionTimeBasedRenewalInput, type PaySubscriptionTimeBasedRenewalResponse, type PaymentIri, type PaymentNullableIri, type ResolvableRenewalPaymentStatus, ResolveSubscriptionConsumptionRenewalPayment, type ResolveSubscriptionConsumptionRenewalPaymentInput, type ResolveSubscriptionConsumptionRenewalPaymentResponse, 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 SubscriptionOverviewResponse, type SubscriptionOverviewSubscription, type SubscriptionPrice, type SubscriptionPriceIri, type SubscriptionPriceNullableIri, type SubscriptionPricesQueryParams, 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, UpdateSubscriptionPrice, type UpdateSubscriptionPriceInput, type UpdateSubscriptionPriceResponse, type UpdateSubscriptionResponse, UpdateSubscriptionTimeBased, type UpdateSubscriptionTimeBasedInput, type UpdateSubscriptionTimeBasedResponse, type WritableSubscriptionCommon, type WritableSubscriptionConsumption, type WritableSubscriptionConsumptionRenewal, type WritableSubscriptionInfinite, type WritableSubscriptionPrice, type WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, createSubscriptionTimeBasedInputSchema, createSubscriptionTimeBasedRenewalInputSchema, createSubscriptionTimeBasedRenewalResponseSchema, createSubscriptionTimeBasedResponseSchema, creditUsageLogDetailsSchema, creditUsageLogIriSchema, creditUsageLogNullableIriSchema, creditUsageLogSchema, creditUsageLogsQuerySchema, deleteCreditUsageLogInputSchema, deleteCreditUsageLogResponseSchema, deleteSubscriptionConsumptionInputSchema, deleteSubscriptionConsumptionRenewalInputSchema, deleteSubscriptionConsumptionRenewalResponseSchema, deleteSubscriptionConsumptionResponseSchema, deleteSubscriptionInfiniteInputSchema, deleteSubscriptionInfiniteResponseSchema, deleteSubscriptionInputSchema, 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, getSubscriptionPriceDetailsInputSchema, getSubscriptionPriceDetailsResponseSchema, getSubscriptionPricesInputSchema, getSubscriptionPricesResponseSchema, getSubscriptionTimeBasedDetailsInputSchema, getSubscriptionTimeBasedDetailsResponseSchema, getSubscriptionTimeBasedListInputSchema, getSubscriptionTimeBasedListResponseSchema, getSubscriptionTimeBasedRenewalDetailsInputSchema, getSubscriptionTimeBasedRenewalDetailsResponseSchema, getSubscriptionTimeBasedRenewalsFromSubscriptionTimeBasedInputSchema, getSubscriptionTimeBasedRenewalsInputSchema, getSubscriptionTimeBasedRenewalsResponseSchema, getSubscriptionsFromPointOfSaleInputSchema, getSubscriptionsFromPointOfSaleResponseSchema, getSubscriptionsInputSchema, getSubscriptionsResponseSchema, paySubscriptionConsumptionRenewalInputSchema, paySubscriptionConsumptionRenewalResponseSchema, paySubscriptionRenewalInputSchema, paySubscriptionTimeBasedRenewalInputSchema, paySubscriptionTimeBasedRenewalResponseSchema, paymentIriSchema, paymentNullableIriSchema, resolvableRenewalPaymentStatusSchema, resolvableRenewalPaymentStatuses, resolveSubscriptionConsumptionRenewalPaymentInputSchema, resolveSubscriptionConsumptionRenewalPaymentResponseSchema, resolveSubscriptionRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentInputSchema, resolveSubscriptionTimeBasedRenewalPaymentResponseSchema, subscriptionAvailabilityReasonSchema, subscriptionAvailabilityReasons, subscriptionConsumptionDetailsSchema, subscriptionConsumptionIriSchema, subscriptionConsumptionNullableIriSchema, subscriptionConsumptionQuerySchema, subscriptionConsumptionRenewalDetailsSchema, subscriptionConsumptionRenewalIriSchema, subscriptionConsumptionRenewalNullableIriSchema, subscriptionConsumptionRenewalSchema, subscriptionConsumptionRenewalsQuerySchema, subscriptionConsumptionSchema, subscriptionDetailsSchema, subscriptionInfiniteDetailsSchema, subscriptionInfiniteIriSchema, subscriptionInfiniteNullableIriSchema, subscriptionInfiniteSchema, subscriptionIriSchema, subscriptionNullableIriSchema, subscriptionOperationQuoteSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, subscriptionQuerySchema, subscriptionRenewalPaymentInfoSchema, subscriptionSchema, subscriptionTimeBasedDetailsSchema, subscriptionTimeBasedIriSchema, subscriptionTimeBasedNullableIriSchema, subscriptionTimeBasedQuerySchema, subscriptionTimeBasedRenewalDetailsSchema, subscriptionTimeBasedRenewalIriSchema, subscriptionTimeBasedRenewalNullableIriSchema, subscriptionTimeBasedRenewalSchema, subscriptionTimeBasedRenewalsQuerySchema, subscriptionTimeBasedSchema, updateSubscriptionConsumptionInputSchema, updateSubscriptionConsumptionResponseSchema, updateSubscriptionInputSchema, updateSubscriptionPriceInputSchema, updateSubscriptionPriceResponseSchema, updateSubscriptionResponseSchema, updateSubscriptionTimeBasedInputSchema, updateSubscriptionTimeBasedResponseSchema, writableSubscriptionCommonSchema, writableSubscriptionConsumptionRenewalSchema, writableSubscriptionConsumptionSchema, writableSubscriptionInfiniteSchema, writableSubscriptionPriceSchema, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };