@deliverart/sdk-js-subscription 2.13.4 → 2.13.5
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 +39 -0
- package/dist/index.cjs +269 -36
- package/dist/index.d.cts +1071 -60
- package/dist/index.d.ts +1071 -60
- package/dist/index.js +244 -36
- package/package.json +4 -4
package/dist/index.d.cts
CHANGED
|
@@ -541,6 +541,81 @@ declare const subscriptionTimeBasedRenewalDetailsSchema: z.ZodObject<{
|
|
|
541
541
|
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>>;
|
|
542
542
|
}, z.core.$strip>;
|
|
543
543
|
type SubscriptionTimeBasedRenewalDetails = z.infer<typeof subscriptionTimeBasedRenewalDetailsSchema>;
|
|
544
|
+
declare const subscriptionPurchaseSchema: z.ZodObject<{
|
|
545
|
+
id: z.ZodString;
|
|
546
|
+
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>>;
|
|
547
|
+
status: z.ZodEnum<{
|
|
548
|
+
pending: "pending";
|
|
549
|
+
completed: "completed";
|
|
550
|
+
cancelled: "cancelled";
|
|
551
|
+
failed: "failed";
|
|
552
|
+
}>;
|
|
553
|
+
type: z.ZodEnum<{
|
|
554
|
+
infinite: "infinite";
|
|
555
|
+
time_based: "time_based";
|
|
556
|
+
consumption: "consumption";
|
|
557
|
+
}>;
|
|
558
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
559
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
560
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
561
|
+
amount: z.ZodString;
|
|
562
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
563
|
+
stripe: "stripe";
|
|
564
|
+
bank_transfer: "bank_transfer";
|
|
565
|
+
cash: "cash";
|
|
566
|
+
credit_card: "credit_card";
|
|
567
|
+
}>>;
|
|
568
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
569
|
+
pending: "pending";
|
|
570
|
+
pending_verification: "pending_verification";
|
|
571
|
+
paid: "paid";
|
|
572
|
+
canceled: "canceled";
|
|
573
|
+
refunded: "refunded";
|
|
574
|
+
failed: "failed";
|
|
575
|
+
}>>;
|
|
576
|
+
createdAt: z.ZodString;
|
|
577
|
+
updatedAt: z.ZodString;
|
|
578
|
+
}, z.core.$strip>;
|
|
579
|
+
type SubscriptionPurchase = z.infer<typeof subscriptionPurchaseSchema>;
|
|
580
|
+
declare const subscriptionPurchaseDetailsSchema: z.ZodObject<{
|
|
581
|
+
id: z.ZodString;
|
|
582
|
+
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>>;
|
|
583
|
+
status: z.ZodEnum<{
|
|
584
|
+
pending: "pending";
|
|
585
|
+
completed: "completed";
|
|
586
|
+
cancelled: "cancelled";
|
|
587
|
+
failed: "failed";
|
|
588
|
+
}>;
|
|
589
|
+
type: z.ZodEnum<{
|
|
590
|
+
infinite: "infinite";
|
|
591
|
+
time_based: "time_based";
|
|
592
|
+
consumption: "consumption";
|
|
593
|
+
}>;
|
|
594
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
595
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
596
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
597
|
+
amount: z.ZodString;
|
|
598
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
599
|
+
stripe: "stripe";
|
|
600
|
+
bank_transfer: "bank_transfer";
|
|
601
|
+
cash: "cash";
|
|
602
|
+
credit_card: "credit_card";
|
|
603
|
+
}>>;
|
|
604
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
605
|
+
pending: "pending";
|
|
606
|
+
pending_verification: "pending_verification";
|
|
607
|
+
paid: "paid";
|
|
608
|
+
canceled: "canceled";
|
|
609
|
+
refunded: "refunded";
|
|
610
|
+
failed: "failed";
|
|
611
|
+
}>>;
|
|
612
|
+
createdAt: z.ZodString;
|
|
613
|
+
updatedAt: z.ZodString;
|
|
614
|
+
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>>;
|
|
615
|
+
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>>>>;
|
|
616
|
+
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>>>>;
|
|
617
|
+
}, z.core.$strip>;
|
|
618
|
+
type SubscriptionPurchaseDetails = z.infer<typeof subscriptionPurchaseDetailsSchema>;
|
|
544
619
|
declare const subscriptionPriceSchema: z.ZodObject<{
|
|
545
620
|
id: z.ZodString;
|
|
546
621
|
type: z.ZodEnum<{
|
|
@@ -676,13 +751,20 @@ declare const subscriptionRenewalPaymentInfoSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
676
751
|
type SubscriptionRenewalPaymentInfo = z.infer<typeof subscriptionRenewalPaymentInfoSchema>;
|
|
677
752
|
declare const resolveSubscriptionRenewalPaymentInputSchema: z.ZodObject<{
|
|
678
753
|
status: z.ZodEnum<{
|
|
679
|
-
paid: "paid";
|
|
680
754
|
failed: "failed";
|
|
755
|
+
paid: "paid";
|
|
681
756
|
canceled: "canceled";
|
|
682
757
|
}>;
|
|
683
758
|
response: z.ZodOptional<z.ZodString>;
|
|
684
759
|
}, z.core.$strip>;
|
|
685
760
|
type ResolveSubscriptionRenewalPaymentInput = z.infer<typeof resolveSubscriptionRenewalPaymentInputSchema>;
|
|
761
|
+
declare const writableSubscriptionPurchaseSchema: z.ZodObject<{
|
|
762
|
+
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
|
+
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>>;
|
|
764
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
765
|
+
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
766
|
+
}, z.core.$strip>;
|
|
767
|
+
type WritableSubscriptionPurchase = z.infer<typeof writableSubscriptionPurchaseSchema>;
|
|
686
768
|
declare const subscriptionOverviewSubscriptionSchema: z.ZodObject<{
|
|
687
769
|
id: z.ZodString;
|
|
688
770
|
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>>]>;
|
|
@@ -1224,6 +1306,72 @@ declare const subscriptionPricesQuerySchema: z.ZodObject<{
|
|
|
1224
1306
|
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1225
1307
|
}, z.core.$strip>;
|
|
1226
1308
|
type SubscriptionPricesQueryParams = z.infer<typeof subscriptionPricesQuerySchema>;
|
|
1309
|
+
declare const subscriptionPurchasesQuerySchema: z.ZodObject<{
|
|
1310
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1311
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1312
|
+
pending: "pending";
|
|
1313
|
+
completed: "completed";
|
|
1314
|
+
cancelled: "cancelled";
|
|
1315
|
+
failed: "failed";
|
|
1316
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1317
|
+
pending: "pending";
|
|
1318
|
+
completed: "completed";
|
|
1319
|
+
cancelled: "cancelled";
|
|
1320
|
+
failed: "failed";
|
|
1321
|
+
}>>]>>;
|
|
1322
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1323
|
+
infinite: "infinite";
|
|
1324
|
+
time_based: "time_based";
|
|
1325
|
+
consumption: "consumption";
|
|
1326
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
1327
|
+
infinite: "infinite";
|
|
1328
|
+
time_based: "time_based";
|
|
1329
|
+
consumption: "consumption";
|
|
1330
|
+
}>>]>>;
|
|
1331
|
+
'pointOfSale.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1332
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1333
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1334
|
+
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
1335
|
+
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1336
|
+
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
1337
|
+
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1338
|
+
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1339
|
+
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1340
|
+
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1341
|
+
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1342
|
+
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1343
|
+
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1344
|
+
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1345
|
+
'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1346
|
+
'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1347
|
+
'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1348
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
1349
|
+
asc: "asc";
|
|
1350
|
+
desc: "desc";
|
|
1351
|
+
}>>;
|
|
1352
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
1353
|
+
asc: "asc";
|
|
1354
|
+
desc: "desc";
|
|
1355
|
+
}>>;
|
|
1356
|
+
'order[startsAt]': z.ZodOptional<z.ZodEnum<{
|
|
1357
|
+
asc: "asc";
|
|
1358
|
+
desc: "desc";
|
|
1359
|
+
}>>;
|
|
1360
|
+
'order[amount]': z.ZodOptional<z.ZodEnum<{
|
|
1361
|
+
asc: "asc";
|
|
1362
|
+
desc: "desc";
|
|
1363
|
+
}>>;
|
|
1364
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1365
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
1366
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1367
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
1368
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1369
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
1370
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
1371
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
1372
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
1373
|
+
}, z.core.$strip>;
|
|
1374
|
+
type SubscriptionPurchasesQueryParams = z.infer<typeof subscriptionPurchasesQuerySchema>;
|
|
1227
1375
|
declare const creditUsageLogsQuerySchema: z.ZodObject<{
|
|
1228
1376
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1229
1377
|
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -1547,6 +1695,51 @@ declare const getSubscriptionPricesResponseSchema: z.ZodObject<{
|
|
|
1547
1695
|
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1548
1696
|
}, z.core.$strip>;
|
|
1549
1697
|
}, z.core.$strip>;
|
|
1698
|
+
declare const getSubscriptionPurchasesResponseSchema: z.ZodObject<{
|
|
1699
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1700
|
+
id: z.ZodString;
|
|
1701
|
+
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>>;
|
|
1702
|
+
status: z.ZodEnum<{
|
|
1703
|
+
pending: "pending";
|
|
1704
|
+
completed: "completed";
|
|
1705
|
+
cancelled: "cancelled";
|
|
1706
|
+
failed: "failed";
|
|
1707
|
+
}>;
|
|
1708
|
+
type: z.ZodEnum<{
|
|
1709
|
+
infinite: "infinite";
|
|
1710
|
+
time_based: "time_based";
|
|
1711
|
+
consumption: "consumption";
|
|
1712
|
+
}>;
|
|
1713
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
1714
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
1715
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
1716
|
+
amount: z.ZodString;
|
|
1717
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
1718
|
+
stripe: "stripe";
|
|
1719
|
+
bank_transfer: "bank_transfer";
|
|
1720
|
+
cash: "cash";
|
|
1721
|
+
credit_card: "credit_card";
|
|
1722
|
+
}>>;
|
|
1723
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
1724
|
+
pending: "pending";
|
|
1725
|
+
pending_verification: "pending_verification";
|
|
1726
|
+
paid: "paid";
|
|
1727
|
+
canceled: "canceled";
|
|
1728
|
+
refunded: "refunded";
|
|
1729
|
+
failed: "failed";
|
|
1730
|
+
}>>;
|
|
1731
|
+
createdAt: z.ZodString;
|
|
1732
|
+
updatedAt: z.ZodString;
|
|
1733
|
+
}, z.core.$strip>>;
|
|
1734
|
+
pagination: z.ZodObject<{
|
|
1735
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
1736
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
1737
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
1738
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
1739
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
1740
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
1741
|
+
}, z.core.$strip>;
|
|
1742
|
+
}, z.core.$strip>;
|
|
1550
1743
|
declare const getCreditUsageLogsResponseSchema: z.ZodObject<{
|
|
1551
1744
|
data: z.ZodArray<z.ZodObject<{
|
|
1552
1745
|
id: z.ZodString;
|
|
@@ -2756,10 +2949,18 @@ declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
|
|
|
2756
2949
|
operation_not_allowed: "operation_not_allowed";
|
|
2757
2950
|
}>;
|
|
2758
2951
|
type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
|
|
2952
|
+
declare const subscriptionPurchaseStatuses: readonly ["pending", "completed", "cancelled", "failed"];
|
|
2953
|
+
declare const subscriptionPurchaseStatusSchema: z.ZodEnum<{
|
|
2954
|
+
pending: "pending";
|
|
2955
|
+
completed: "completed";
|
|
2956
|
+
cancelled: "cancelled";
|
|
2957
|
+
failed: "failed";
|
|
2958
|
+
}>;
|
|
2959
|
+
type SubscriptionPurchaseStatus = z.infer<typeof subscriptionPurchaseStatusSchema>;
|
|
2759
2960
|
declare const resolvableRenewalPaymentStatuses: readonly ["paid", "failed", "canceled"];
|
|
2760
2961
|
declare const resolvableRenewalPaymentStatusSchema: z.ZodEnum<{
|
|
2761
|
-
paid: "paid";
|
|
2762
2962
|
failed: "failed";
|
|
2963
|
+
paid: "paid";
|
|
2763
2964
|
canceled: "canceled";
|
|
2764
2965
|
}>;
|
|
2765
2966
|
type ResolvableRenewalPaymentStatus = z.infer<typeof resolvableRenewalPaymentStatusSchema>;
|
|
@@ -2787,6 +2988,10 @@ declare const subscriptionPlanIriSchema: z.ZodType<_deliverart_sdk_js_global_typ
|
|
|
2787
2988
|
type SubscriptionPlanIri = z.infer<typeof subscriptionPlanIriSchema>;
|
|
2788
2989
|
declare const subscriptionPlanNullableIriSchema: 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>>;
|
|
2789
2990
|
type SubscriptionPlanNullableIri = z.infer<typeof subscriptionPlanNullableIriSchema>;
|
|
2991
|
+
declare const subscriptionPurchaseIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id">, unknown>>;
|
|
2992
|
+
type SubscriptionPurchaseIri = z.infer<typeof subscriptionPurchaseIriSchema>;
|
|
2993
|
+
declare const subscriptionPurchaseNullableIriSchema: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id"> | null, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscriptions/purchases/:id"> | null, unknown>>;
|
|
2994
|
+
type SubscriptionPurchaseNullableIri = z.infer<typeof subscriptionPurchaseNullableIriSchema>;
|
|
2790
2995
|
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>>;
|
|
2791
2996
|
type SubscriptionConsumptionRenewalIri = z.infer<typeof subscriptionConsumptionRenewalIriSchema>;
|
|
2792
2997
|
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>>;
|
|
@@ -2951,8 +3156,8 @@ declare class PaySubscriptionConsumptionRenewal extends AbstractApiRequest<typeo
|
|
|
2951
3156
|
|
|
2952
3157
|
declare const resolveSubscriptionConsumptionRenewalPaymentInputSchema: z.ZodObject<{
|
|
2953
3158
|
status: z.ZodEnum<{
|
|
2954
|
-
paid: "paid";
|
|
2955
3159
|
failed: "failed";
|
|
3160
|
+
paid: "paid";
|
|
2956
3161
|
canceled: "canceled";
|
|
2957
3162
|
}>;
|
|
2958
3163
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -3023,8 +3228,8 @@ declare class ResolveSubscriptionConsumptionRenewalPayment extends AbstractApiRe
|
|
|
3023
3228
|
readonly accept = "application/json";
|
|
3024
3229
|
readonly inputSchema: z.ZodObject<{
|
|
3025
3230
|
status: z.ZodEnum<{
|
|
3026
|
-
paid: "paid";
|
|
3027
3231
|
failed: "failed";
|
|
3232
|
+
paid: "paid";
|
|
3028
3233
|
canceled: "canceled";
|
|
3029
3234
|
}>;
|
|
3030
3235
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -4275,81 +4480,887 @@ declare class UpdateSubscriptionPrice extends AbstractApiRequest<typeof updateSu
|
|
|
4275
4480
|
getPath(): string;
|
|
4276
4481
|
}
|
|
4277
4482
|
|
|
4278
|
-
declare const
|
|
4483
|
+
declare const createSubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
4279
4484
|
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>>;
|
|
4280
|
-
|
|
4485
|
+
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>>;
|
|
4486
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4281
4487
|
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
4282
|
-
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4283
|
-
autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
4284
|
-
autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
4285
4488
|
}, z.core.$strip>;
|
|
4286
|
-
type
|
|
4287
|
-
declare const
|
|
4489
|
+
type CreateSubscriptionPurchaseInput = z.input<typeof createSubscriptionPurchaseInputSchema>;
|
|
4490
|
+
declare const createSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
4288
4491
|
id: z.ZodString;
|
|
4492
|
+
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>>;
|
|
4289
4493
|
status: z.ZodEnum<{
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
pending_renewal: "pending_renewal";
|
|
4293
|
-
expired: "expired";
|
|
4294
|
-
suspended: "suspended";
|
|
4494
|
+
pending: "pending";
|
|
4495
|
+
completed: "completed";
|
|
4295
4496
|
cancelled: "cancelled";
|
|
4497
|
+
failed: "failed";
|
|
4296
4498
|
}>;
|
|
4297
|
-
|
|
4499
|
+
type: z.ZodEnum<{
|
|
4500
|
+
infinite: "infinite";
|
|
4501
|
+
time_based: "time_based";
|
|
4502
|
+
consumption: "consumption";
|
|
4503
|
+
}>;
|
|
4504
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4298
4505
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
|
|
4506
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4507
|
+
amount: z.ZodString;
|
|
4508
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4509
|
+
stripe: "stripe";
|
|
4510
|
+
bank_transfer: "bank_transfer";
|
|
4511
|
+
cash: "cash";
|
|
4512
|
+
credit_card: "credit_card";
|
|
4513
|
+
}>>;
|
|
4514
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4515
|
+
pending: "pending";
|
|
4516
|
+
pending_verification: "pending_verification";
|
|
4517
|
+
paid: "paid";
|
|
4518
|
+
canceled: "canceled";
|
|
4519
|
+
refunded: "refunded";
|
|
4520
|
+
failed: "failed";
|
|
4521
|
+
}>>;
|
|
4313
4522
|
createdAt: z.ZodString;
|
|
4314
4523
|
updatedAt: z.ZodString;
|
|
4315
4524
|
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>>;
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
-
autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4319
|
-
autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
4320
|
-
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>>>;
|
|
4525
|
+
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>>>>;
|
|
4526
|
+
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>>>>;
|
|
4321
4527
|
}, z.core.$strip>;
|
|
4322
|
-
type
|
|
4323
|
-
declare class
|
|
4324
|
-
readonly method
|
|
4325
|
-
readonly contentType
|
|
4326
|
-
readonly accept
|
|
4528
|
+
type CreateSubscriptionPurchaseResponse = z.infer<typeof createSubscriptionPurchaseResponseSchema>;
|
|
4529
|
+
declare class CreateSubscriptionPurchase extends AbstractApiRequest<typeof createSubscriptionPurchaseInputSchema, typeof createSubscriptionPurchaseResponseSchema> {
|
|
4530
|
+
readonly method: "POST";
|
|
4531
|
+
readonly contentType: "application/json";
|
|
4532
|
+
readonly accept: "application/json";
|
|
4327
4533
|
readonly inputSchema: z.ZodObject<{
|
|
4328
4534
|
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>>;
|
|
4329
|
-
|
|
4535
|
+
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>>;
|
|
4536
|
+
autoRenewal: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
4330
4537
|
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
4331
|
-
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4332
|
-
autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
4333
|
-
autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
4334
4538
|
}, z.core.$strip>;
|
|
4335
4539
|
readonly outputSchema: z.ZodObject<{
|
|
4336
4540
|
id: z.ZodString;
|
|
4541
|
+
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>>;
|
|
4337
4542
|
status: z.ZodEnum<{
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
pending_renewal: "pending_renewal";
|
|
4341
|
-
expired: "expired";
|
|
4342
|
-
suspended: "suspended";
|
|
4543
|
+
pending: "pending";
|
|
4544
|
+
completed: "completed";
|
|
4343
4545
|
cancelled: "cancelled";
|
|
4546
|
+
failed: "failed";
|
|
4344
4547
|
}>;
|
|
4345
|
-
|
|
4548
|
+
type: z.ZodEnum<{
|
|
4549
|
+
infinite: "infinite";
|
|
4550
|
+
time_based: "time_based";
|
|
4551
|
+
consumption: "consumption";
|
|
4552
|
+
}>;
|
|
4553
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4346
4554
|
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4555
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4556
|
+
amount: z.ZodString;
|
|
4557
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4558
|
+
stripe: "stripe";
|
|
4559
|
+
bank_transfer: "bank_transfer";
|
|
4560
|
+
cash: "cash";
|
|
4561
|
+
credit_card: "credit_card";
|
|
4562
|
+
}>>;
|
|
4563
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4564
|
+
pending: "pending";
|
|
4565
|
+
pending_verification: "pending_verification";
|
|
4566
|
+
paid: "paid";
|
|
4567
|
+
canceled: "canceled";
|
|
4568
|
+
refunded: "refunded";
|
|
4569
|
+
failed: "failed";
|
|
4570
|
+
}>>;
|
|
4571
|
+
createdAt: z.ZodString;
|
|
4572
|
+
updatedAt: z.ZodString;
|
|
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
|
+
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>>>>;
|
|
4575
|
+
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>>>>;
|
|
4576
|
+
}, z.core.$strip>;
|
|
4577
|
+
readonly querySchema: undefined;
|
|
4578
|
+
readonly headersSchema: undefined;
|
|
4579
|
+
constructor(input: CreateSubscriptionPurchaseInput);
|
|
4580
|
+
getPath(): string;
|
|
4581
|
+
}
|
|
4582
|
+
|
|
4583
|
+
declare const getSubscriptionPurchaseDetailsInputSchema: z.ZodUndefined;
|
|
4584
|
+
type GetSubscriptionPurchaseDetailsInput = z.input<typeof getSubscriptionPurchaseDetailsInputSchema>;
|
|
4585
|
+
declare const getSubscriptionPurchaseDetailsResponseSchema: z.ZodObject<{
|
|
4586
|
+
id: z.ZodString;
|
|
4587
|
+
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>>;
|
|
4588
|
+
status: z.ZodEnum<{
|
|
4589
|
+
pending: "pending";
|
|
4590
|
+
completed: "completed";
|
|
4591
|
+
cancelled: "cancelled";
|
|
4592
|
+
failed: "failed";
|
|
4593
|
+
}>;
|
|
4594
|
+
type: z.ZodEnum<{
|
|
4595
|
+
infinite: "infinite";
|
|
4596
|
+
time_based: "time_based";
|
|
4597
|
+
consumption: "consumption";
|
|
4598
|
+
}>;
|
|
4599
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4600
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4601
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4602
|
+
amount: z.ZodString;
|
|
4603
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4604
|
+
stripe: "stripe";
|
|
4605
|
+
bank_transfer: "bank_transfer";
|
|
4606
|
+
cash: "cash";
|
|
4607
|
+
credit_card: "credit_card";
|
|
4608
|
+
}>>;
|
|
4609
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4610
|
+
pending: "pending";
|
|
4611
|
+
pending_verification: "pending_verification";
|
|
4612
|
+
paid: "paid";
|
|
4613
|
+
canceled: "canceled";
|
|
4614
|
+
refunded: "refunded";
|
|
4615
|
+
failed: "failed";
|
|
4616
|
+
}>>;
|
|
4617
|
+
createdAt: z.ZodString;
|
|
4618
|
+
updatedAt: z.ZodString;
|
|
4619
|
+
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>>;
|
|
4620
|
+
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>>>>;
|
|
4621
|
+
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>>>>;
|
|
4622
|
+
}, z.core.$strip>;
|
|
4623
|
+
type GetSubscriptionPurchaseDetailsResponse = z.infer<typeof getSubscriptionPurchaseDetailsResponseSchema>;
|
|
4624
|
+
declare class GetSubscriptionPurchaseDetails extends AbstractApiRequest<typeof getSubscriptionPurchaseDetailsInputSchema, typeof getSubscriptionPurchaseDetailsResponseSchema> {
|
|
4625
|
+
readonly method: "GET";
|
|
4626
|
+
readonly contentType: "application/json";
|
|
4627
|
+
readonly accept: "application/json";
|
|
4628
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4629
|
+
readonly outputSchema: z.ZodObject<{
|
|
4630
|
+
id: z.ZodString;
|
|
4631
|
+
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>>;
|
|
4632
|
+
status: z.ZodEnum<{
|
|
4633
|
+
pending: "pending";
|
|
4634
|
+
completed: "completed";
|
|
4635
|
+
cancelled: "cancelled";
|
|
4636
|
+
failed: "failed";
|
|
4637
|
+
}>;
|
|
4638
|
+
type: z.ZodEnum<{
|
|
4639
|
+
infinite: "infinite";
|
|
4640
|
+
time_based: "time_based";
|
|
4641
|
+
consumption: "consumption";
|
|
4642
|
+
}>;
|
|
4643
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4644
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4645
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4646
|
+
amount: z.ZodString;
|
|
4647
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4648
|
+
stripe: "stripe";
|
|
4649
|
+
bank_transfer: "bank_transfer";
|
|
4650
|
+
cash: "cash";
|
|
4651
|
+
credit_card: "credit_card";
|
|
4652
|
+
}>>;
|
|
4653
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4654
|
+
pending: "pending";
|
|
4655
|
+
pending_verification: "pending_verification";
|
|
4656
|
+
paid: "paid";
|
|
4657
|
+
canceled: "canceled";
|
|
4658
|
+
refunded: "refunded";
|
|
4659
|
+
failed: "failed";
|
|
4660
|
+
}>>;
|
|
4661
|
+
createdAt: z.ZodString;
|
|
4662
|
+
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>>>>;
|
|
4666
|
+
}, z.core.$strip>;
|
|
4667
|
+
readonly querySchema: undefined;
|
|
4668
|
+
readonly headersSchema: undefined;
|
|
4669
|
+
private readonly purchaseId;
|
|
4670
|
+
constructor(purchaseId: string);
|
|
4671
|
+
getPath(): string;
|
|
4672
|
+
}
|
|
4673
|
+
|
|
4674
|
+
type GetSubscriptionPurchasesQueryParams = SubscriptionPurchasesQueryParams;
|
|
4675
|
+
declare const getSubscriptionPurchasesInputSchema: z.ZodUndefined;
|
|
4676
|
+
type GetSubscriptionPurchasesInput = z.input<typeof getSubscriptionPurchasesInputSchema>;
|
|
4677
|
+
type GetSubscriptionPurchasesResponse = z.infer<typeof getSubscriptionPurchasesResponseSchema>;
|
|
4678
|
+
declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubscriptionPurchasesInputSchema, typeof getSubscriptionPurchasesResponseSchema, GetSubscriptionPurchasesQueryParams> {
|
|
4679
|
+
readonly method: "GET";
|
|
4680
|
+
readonly contentType: "application/json";
|
|
4681
|
+
readonly accept: "application/json";
|
|
4682
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4683
|
+
readonly outputSchema: z.ZodObject<{
|
|
4684
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4685
|
+
id: z.ZodString;
|
|
4686
|
+
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>>;
|
|
4687
|
+
status: z.ZodEnum<{
|
|
4688
|
+
pending: "pending";
|
|
4689
|
+
completed: "completed";
|
|
4690
|
+
cancelled: "cancelled";
|
|
4691
|
+
failed: "failed";
|
|
4692
|
+
}>;
|
|
4693
|
+
type: z.ZodEnum<{
|
|
4694
|
+
infinite: "infinite";
|
|
4695
|
+
time_based: "time_based";
|
|
4696
|
+
consumption: "consumption";
|
|
4697
|
+
}>;
|
|
4698
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4699
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4700
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4701
|
+
amount: z.ZodString;
|
|
4702
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4703
|
+
stripe: "stripe";
|
|
4704
|
+
bank_transfer: "bank_transfer";
|
|
4705
|
+
cash: "cash";
|
|
4706
|
+
credit_card: "credit_card";
|
|
4707
|
+
}>>;
|
|
4708
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4709
|
+
pending: "pending";
|
|
4710
|
+
pending_verification: "pending_verification";
|
|
4711
|
+
paid: "paid";
|
|
4712
|
+
canceled: "canceled";
|
|
4713
|
+
refunded: "refunded";
|
|
4714
|
+
failed: "failed";
|
|
4715
|
+
}>>;
|
|
4716
|
+
createdAt: z.ZodString;
|
|
4717
|
+
updatedAt: z.ZodString;
|
|
4718
|
+
}, z.core.$strip>>;
|
|
4719
|
+
pagination: z.ZodObject<{
|
|
4720
|
+
from: z.ZodCoercedNumber<unknown>;
|
|
4721
|
+
to: z.ZodCoercedNumber<unknown>;
|
|
4722
|
+
itemsPerPage: z.ZodCoercedNumber<unknown>;
|
|
4723
|
+
totalItems: z.ZodCoercedNumber<unknown>;
|
|
4724
|
+
currentPage: z.ZodCoercedNumber<unknown>;
|
|
4725
|
+
lastPage: z.ZodCoercedNumber<unknown>;
|
|
4726
|
+
}, z.core.$strip>;
|
|
4727
|
+
}, z.core.$strip>;
|
|
4728
|
+
readonly querySchema: z.ZodObject<{
|
|
4729
|
+
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4730
|
+
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4731
|
+
pending: "pending";
|
|
4732
|
+
completed: "completed";
|
|
4733
|
+
cancelled: "cancelled";
|
|
4734
|
+
failed: "failed";
|
|
4735
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4736
|
+
pending: "pending";
|
|
4737
|
+
completed: "completed";
|
|
4738
|
+
cancelled: "cancelled";
|
|
4739
|
+
failed: "failed";
|
|
4740
|
+
}>>]>>;
|
|
4741
|
+
type: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
4742
|
+
infinite: "infinite";
|
|
4743
|
+
time_based: "time_based";
|
|
4744
|
+
consumption: "consumption";
|
|
4745
|
+
}>, z.ZodArray<z.ZodEnum<{
|
|
4746
|
+
infinite: "infinite";
|
|
4747
|
+
time_based: "time_based";
|
|
4748
|
+
consumption: "consumption";
|
|
4749
|
+
}>>]>>;
|
|
4750
|
+
'pointOfSale.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4751
|
+
'plan.id': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4752
|
+
'plan.code': z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
4753
|
+
'startsAt[before]': z.ZodOptional<z.ZodString>;
|
|
4754
|
+
'startsAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4755
|
+
'startsAt[after]': z.ZodOptional<z.ZodString>;
|
|
4756
|
+
'startsAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4757
|
+
'threshold[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4758
|
+
'threshold[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4759
|
+
'threshold[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4760
|
+
'threshold[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4761
|
+
'threshold[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4762
|
+
'amount[between]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4763
|
+
'amount[gt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4764
|
+
'amount[gte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4765
|
+
'amount[lt]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4766
|
+
'amount[lte]': z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4767
|
+
'order[createdAt]': z.ZodOptional<z.ZodEnum<{
|
|
4768
|
+
asc: "asc";
|
|
4769
|
+
desc: "desc";
|
|
4770
|
+
}>>;
|
|
4771
|
+
'order[updatedAt]': z.ZodOptional<z.ZodEnum<{
|
|
4772
|
+
asc: "asc";
|
|
4773
|
+
desc: "desc";
|
|
4774
|
+
}>>;
|
|
4775
|
+
'order[startsAt]': z.ZodOptional<z.ZodEnum<{
|
|
4776
|
+
asc: "asc";
|
|
4777
|
+
desc: "desc";
|
|
4778
|
+
}>>;
|
|
4779
|
+
'order[amount]': z.ZodOptional<z.ZodEnum<{
|
|
4780
|
+
asc: "asc";
|
|
4781
|
+
desc: "desc";
|
|
4782
|
+
}>>;
|
|
4783
|
+
page: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
4784
|
+
'createdAt[before]': z.ZodOptional<z.ZodString>;
|
|
4785
|
+
'createdAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4786
|
+
'createdAt[after]': z.ZodOptional<z.ZodString>;
|
|
4787
|
+
'createdAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4788
|
+
'updatedAt[before]': z.ZodOptional<z.ZodString>;
|
|
4789
|
+
'updatedAt[strictly_before]': z.ZodOptional<z.ZodString>;
|
|
4790
|
+
'updatedAt[after]': z.ZodOptional<z.ZodString>;
|
|
4791
|
+
'updatedAt[strictly_after]': z.ZodOptional<z.ZodString>;
|
|
4792
|
+
}, z.core.$strip>;
|
|
4793
|
+
readonly headersSchema: undefined;
|
|
4794
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4795
|
+
id: z.ZodString;
|
|
4796
|
+
plan: z.ZodType<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown, z.core.$ZodTypeInternals<_deliverart_sdk_js_global_types.IriObject<"/subscription_plans/:id">, unknown>>;
|
|
4797
|
+
status: z.ZodEnum<{
|
|
4798
|
+
pending: "pending";
|
|
4799
|
+
completed: "completed";
|
|
4800
|
+
cancelled: "cancelled";
|
|
4801
|
+
failed: "failed";
|
|
4802
|
+
}>;
|
|
4803
|
+
type: z.ZodEnum<{
|
|
4804
|
+
infinite: "infinite";
|
|
4805
|
+
time_based: "time_based";
|
|
4806
|
+
consumption: "consumption";
|
|
4807
|
+
}>;
|
|
4808
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4809
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4810
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4811
|
+
amount: z.ZodString;
|
|
4812
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4813
|
+
stripe: "stripe";
|
|
4814
|
+
bank_transfer: "bank_transfer";
|
|
4815
|
+
cash: "cash";
|
|
4816
|
+
credit_card: "credit_card";
|
|
4817
|
+
}>>;
|
|
4818
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4819
|
+
pending: "pending";
|
|
4820
|
+
pending_verification: "pending_verification";
|
|
4821
|
+
paid: "paid";
|
|
4822
|
+
canceled: "canceled";
|
|
4823
|
+
refunded: "refunded";
|
|
4824
|
+
failed: "failed";
|
|
4825
|
+
}>>;
|
|
4826
|
+
createdAt: z.ZodString;
|
|
4827
|
+
updatedAt: z.ZodString;
|
|
4828
|
+
}, z.core.$strip>;
|
|
4829
|
+
readonly paginationDefaultEnabled = true;
|
|
4830
|
+
constructor(options?: {
|
|
4831
|
+
query?: GetSubscriptionPurchasesQueryParams;
|
|
4832
|
+
});
|
|
4833
|
+
getPath(): string;
|
|
4834
|
+
}
|
|
4835
|
+
|
|
4836
|
+
type GetSubscriptionPurchasesFromPointOfSaleQueryParams = SubscriptionPurchasesQueryParams;
|
|
4837
|
+
declare const getSubscriptionPurchasesFromPointOfSaleInputSchema: z.ZodUndefined;
|
|
4838
|
+
type GetSubscriptionPurchasesFromPointOfSaleInput = z.input<typeof getSubscriptionPurchasesFromPointOfSaleInputSchema>;
|
|
4839
|
+
type GetSubscriptionPurchasesFromPointOfSaleResponse = z.infer<typeof getSubscriptionPurchasesResponseSchema>;
|
|
4840
|
+
declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest<typeof getSubscriptionPurchasesFromPointOfSaleInputSchema, typeof getSubscriptionPurchasesResponseSchema, GetSubscriptionPurchasesFromPointOfSaleQueryParams> {
|
|
4841
|
+
readonly method: "GET";
|
|
4842
|
+
readonly contentType: "application/json";
|
|
4843
|
+
readonly accept: "application/json";
|
|
4844
|
+
readonly inputSchema: z.ZodUndefined;
|
|
4845
|
+
readonly outputSchema: z.ZodObject<{
|
|
4846
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4847
|
+
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
|
+
status: z.ZodEnum<{
|
|
4850
|
+
pending: "pending";
|
|
4851
|
+
completed: "completed";
|
|
4852
|
+
cancelled: "cancelled";
|
|
4853
|
+
failed: "failed";
|
|
4854
|
+
}>;
|
|
4855
|
+
type: z.ZodEnum<{
|
|
4856
|
+
infinite: "infinite";
|
|
4857
|
+
time_based: "time_based";
|
|
4858
|
+
consumption: "consumption";
|
|
4859
|
+
}>;
|
|
4860
|
+
autoRenewal: z.ZodNullable<z.ZodBoolean>;
|
|
4861
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
4862
|
+
threshold: z.ZodCoercedNumber<unknown>;
|
|
4863
|
+
amount: z.ZodString;
|
|
4864
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
4865
|
+
stripe: "stripe";
|
|
4866
|
+
bank_transfer: "bank_transfer";
|
|
4867
|
+
cash: "cash";
|
|
4868
|
+
credit_card: "credit_card";
|
|
4869
|
+
}>>;
|
|
4870
|
+
paymentStatus: z.ZodNullable<z.ZodEnum<{
|
|
4871
|
+
pending: "pending";
|
|
4872
|
+
pending_verification: "pending_verification";
|
|
4873
|
+
paid: "paid";
|
|
4874
|
+
canceled: "canceled";
|
|
4875
|
+
refunded: "refunded";
|
|
4876
|
+
failed: "failed";
|
|
4877
|
+
}>>;
|
|
4878
|
+
createdAt: z.ZodString;
|
|
4879
|
+
updatedAt: z.ZodString;
|
|
4880
|
+
}, 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
|
+
}, z.core.$strip>;
|
|
4955
|
+
readonly headersSchema: undefined;
|
|
4956
|
+
readonly listItemSchema: z.ZodObject<{
|
|
4957
|
+
id: z.ZodString;
|
|
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
|
+
});
|
|
4996
|
+
getPath(): string;
|
|
4997
|
+
}
|
|
4998
|
+
|
|
4999
|
+
declare const paySubscriptionPurchaseInputSchema: z.ZodObject<{
|
|
5000
|
+
method: z.ZodEnum<{
|
|
5001
|
+
stripe: "stripe";
|
|
5002
|
+
bank_transfer: "bank_transfer";
|
|
5003
|
+
cash: "cash";
|
|
5004
|
+
credit_card: "credit_card";
|
|
5005
|
+
}>;
|
|
5006
|
+
}, z.core.$strip>;
|
|
5007
|
+
type PaySubscriptionPurchaseInput = z.input<typeof paySubscriptionPurchaseInputSchema>;
|
|
5008
|
+
declare const paySubscriptionPurchaseResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5009
|
+
id: z.ZodString;
|
|
5010
|
+
status: z.ZodEnum<{
|
|
5011
|
+
pending: "pending";
|
|
5012
|
+
pending_verification: "pending_verification";
|
|
5013
|
+
paid: "paid";
|
|
5014
|
+
canceled: "canceled";
|
|
5015
|
+
refunded: "refunded";
|
|
5016
|
+
failed: "failed";
|
|
5017
|
+
}>;
|
|
5018
|
+
amount: z.ZodString;
|
|
5019
|
+
method: z.ZodLiteral<"stripe">;
|
|
5020
|
+
sessionUrl: z.ZodString;
|
|
5021
|
+
expiresAt: z.ZodString;
|
|
5022
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5023
|
+
id: z.ZodString;
|
|
5024
|
+
status: z.ZodEnum<{
|
|
5025
|
+
pending: "pending";
|
|
5026
|
+
pending_verification: "pending_verification";
|
|
5027
|
+
paid: "paid";
|
|
5028
|
+
canceled: "canceled";
|
|
5029
|
+
refunded: "refunded";
|
|
5030
|
+
failed: "failed";
|
|
5031
|
+
}>;
|
|
5032
|
+
amount: z.ZodString;
|
|
5033
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5034
|
+
iban: z.ZodString;
|
|
5035
|
+
bic: z.ZodString;
|
|
5036
|
+
accountHolder: z.ZodString;
|
|
5037
|
+
bankName: z.ZodString;
|
|
5038
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5039
|
+
currency: z.ZodString;
|
|
5040
|
+
description: z.ZodString;
|
|
5041
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5042
|
+
id: z.ZodString;
|
|
5043
|
+
status: z.ZodEnum<{
|
|
5044
|
+
pending: "pending";
|
|
5045
|
+
pending_verification: "pending_verification";
|
|
5046
|
+
paid: "paid";
|
|
5047
|
+
canceled: "canceled";
|
|
5048
|
+
refunded: "refunded";
|
|
5049
|
+
failed: "failed";
|
|
5050
|
+
}>;
|
|
5051
|
+
amount: z.ZodString;
|
|
5052
|
+
method: z.ZodLiteral<"cash">;
|
|
5053
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5054
|
+
id: z.ZodString;
|
|
5055
|
+
status: z.ZodEnum<{
|
|
5056
|
+
pending: "pending";
|
|
5057
|
+
pending_verification: "pending_verification";
|
|
5058
|
+
paid: "paid";
|
|
5059
|
+
canceled: "canceled";
|
|
5060
|
+
refunded: "refunded";
|
|
5061
|
+
failed: "failed";
|
|
5062
|
+
}>;
|
|
5063
|
+
amount: z.ZodString;
|
|
5064
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5065
|
+
}, z.core.$strip>], "method">;
|
|
5066
|
+
type PaySubscriptionPurchaseResponse = z.infer<typeof paySubscriptionPurchaseResponseSchema>;
|
|
5067
|
+
declare class PaySubscriptionPurchase extends AbstractApiRequest<typeof paySubscriptionPurchaseInputSchema, typeof paySubscriptionPurchaseResponseSchema> {
|
|
5068
|
+
readonly method: "POST";
|
|
5069
|
+
readonly contentType: "application/json";
|
|
5070
|
+
readonly accept: "application/json";
|
|
5071
|
+
readonly inputSchema: z.ZodObject<{
|
|
5072
|
+
method: z.ZodEnum<{
|
|
5073
|
+
stripe: "stripe";
|
|
5074
|
+
bank_transfer: "bank_transfer";
|
|
5075
|
+
cash: "cash";
|
|
5076
|
+
credit_card: "credit_card";
|
|
5077
|
+
}>;
|
|
5078
|
+
}, z.core.$strip>;
|
|
5079
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5080
|
+
id: z.ZodString;
|
|
5081
|
+
status: z.ZodEnum<{
|
|
5082
|
+
pending: "pending";
|
|
5083
|
+
pending_verification: "pending_verification";
|
|
5084
|
+
paid: "paid";
|
|
5085
|
+
canceled: "canceled";
|
|
5086
|
+
refunded: "refunded";
|
|
5087
|
+
failed: "failed";
|
|
5088
|
+
}>;
|
|
5089
|
+
amount: z.ZodString;
|
|
5090
|
+
method: z.ZodLiteral<"stripe">;
|
|
5091
|
+
sessionUrl: z.ZodString;
|
|
5092
|
+
expiresAt: z.ZodString;
|
|
5093
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5094
|
+
id: z.ZodString;
|
|
5095
|
+
status: z.ZodEnum<{
|
|
5096
|
+
pending: "pending";
|
|
5097
|
+
pending_verification: "pending_verification";
|
|
5098
|
+
paid: "paid";
|
|
5099
|
+
canceled: "canceled";
|
|
5100
|
+
refunded: "refunded";
|
|
5101
|
+
failed: "failed";
|
|
5102
|
+
}>;
|
|
5103
|
+
amount: z.ZodString;
|
|
5104
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5105
|
+
iban: z.ZodString;
|
|
5106
|
+
bic: z.ZodString;
|
|
5107
|
+
accountHolder: z.ZodString;
|
|
5108
|
+
bankName: z.ZodString;
|
|
5109
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5110
|
+
currency: z.ZodString;
|
|
5111
|
+
description: z.ZodString;
|
|
5112
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5113
|
+
id: z.ZodString;
|
|
5114
|
+
status: z.ZodEnum<{
|
|
5115
|
+
pending: "pending";
|
|
5116
|
+
pending_verification: "pending_verification";
|
|
5117
|
+
paid: "paid";
|
|
5118
|
+
canceled: "canceled";
|
|
5119
|
+
refunded: "refunded";
|
|
5120
|
+
failed: "failed";
|
|
5121
|
+
}>;
|
|
5122
|
+
amount: z.ZodString;
|
|
5123
|
+
method: z.ZodLiteral<"cash">;
|
|
5124
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5125
|
+
id: z.ZodString;
|
|
5126
|
+
status: z.ZodEnum<{
|
|
5127
|
+
pending: "pending";
|
|
5128
|
+
pending_verification: "pending_verification";
|
|
5129
|
+
paid: "paid";
|
|
5130
|
+
canceled: "canceled";
|
|
5131
|
+
refunded: "refunded";
|
|
5132
|
+
failed: "failed";
|
|
5133
|
+
}>;
|
|
5134
|
+
amount: z.ZodString;
|
|
5135
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5136
|
+
}, z.core.$strip>], "method">;
|
|
5137
|
+
readonly querySchema: undefined;
|
|
5138
|
+
readonly headersSchema: undefined;
|
|
5139
|
+
private readonly purchaseId;
|
|
5140
|
+
constructor(purchaseId: string, method: PaymentMethod);
|
|
5141
|
+
getPath(): string;
|
|
5142
|
+
}
|
|
5143
|
+
|
|
5144
|
+
declare const resolveSubscriptionPurchasePaymentInputSchema: z.ZodObject<{
|
|
5145
|
+
status: z.ZodEnum<{
|
|
5146
|
+
failed: "failed";
|
|
5147
|
+
paid: "paid";
|
|
5148
|
+
canceled: "canceled";
|
|
5149
|
+
}>;
|
|
5150
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5151
|
+
}, z.core.$strip>;
|
|
5152
|
+
type ResolveSubscriptionPurchasePaymentInput = z.input<typeof resolveSubscriptionPurchasePaymentInputSchema>;
|
|
5153
|
+
declare const resolveSubscriptionPurchasePaymentResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5154
|
+
id: z.ZodString;
|
|
5155
|
+
status: z.ZodEnum<{
|
|
5156
|
+
pending: "pending";
|
|
5157
|
+
pending_verification: "pending_verification";
|
|
5158
|
+
paid: "paid";
|
|
5159
|
+
canceled: "canceled";
|
|
5160
|
+
refunded: "refunded";
|
|
5161
|
+
failed: "failed";
|
|
5162
|
+
}>;
|
|
5163
|
+
amount: z.ZodString;
|
|
5164
|
+
method: z.ZodLiteral<"stripe">;
|
|
5165
|
+
sessionUrl: z.ZodString;
|
|
5166
|
+
expiresAt: z.ZodString;
|
|
5167
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5168
|
+
id: z.ZodString;
|
|
5169
|
+
status: z.ZodEnum<{
|
|
5170
|
+
pending: "pending";
|
|
5171
|
+
pending_verification: "pending_verification";
|
|
5172
|
+
paid: "paid";
|
|
5173
|
+
canceled: "canceled";
|
|
5174
|
+
refunded: "refunded";
|
|
5175
|
+
failed: "failed";
|
|
5176
|
+
}>;
|
|
5177
|
+
amount: z.ZodString;
|
|
5178
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5179
|
+
iban: z.ZodString;
|
|
5180
|
+
bic: z.ZodString;
|
|
5181
|
+
accountHolder: z.ZodString;
|
|
5182
|
+
bankName: z.ZodString;
|
|
5183
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5184
|
+
currency: z.ZodString;
|
|
5185
|
+
description: z.ZodString;
|
|
5186
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5187
|
+
id: z.ZodString;
|
|
5188
|
+
status: z.ZodEnum<{
|
|
5189
|
+
pending: "pending";
|
|
5190
|
+
pending_verification: "pending_verification";
|
|
5191
|
+
paid: "paid";
|
|
5192
|
+
canceled: "canceled";
|
|
5193
|
+
refunded: "refunded";
|
|
5194
|
+
failed: "failed";
|
|
5195
|
+
}>;
|
|
5196
|
+
amount: z.ZodString;
|
|
5197
|
+
method: z.ZodLiteral<"cash">;
|
|
5198
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5199
|
+
id: z.ZodString;
|
|
5200
|
+
status: z.ZodEnum<{
|
|
5201
|
+
pending: "pending";
|
|
5202
|
+
pending_verification: "pending_verification";
|
|
5203
|
+
paid: "paid";
|
|
5204
|
+
canceled: "canceled";
|
|
5205
|
+
refunded: "refunded";
|
|
5206
|
+
failed: "failed";
|
|
5207
|
+
}>;
|
|
5208
|
+
amount: z.ZodString;
|
|
5209
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5210
|
+
}, z.core.$strip>], "method">;
|
|
5211
|
+
type ResolveSubscriptionPurchasePaymentResponse = z.infer<typeof resolveSubscriptionPurchasePaymentResponseSchema>;
|
|
5212
|
+
declare class ResolveSubscriptionPurchasePayment extends AbstractApiRequest<typeof resolveSubscriptionPurchasePaymentInputSchema, typeof resolveSubscriptionPurchasePaymentResponseSchema> {
|
|
5213
|
+
readonly method: "POST";
|
|
5214
|
+
readonly contentType: "application/json";
|
|
5215
|
+
readonly accept: "application/json";
|
|
5216
|
+
readonly inputSchema: z.ZodObject<{
|
|
5217
|
+
status: z.ZodEnum<{
|
|
5218
|
+
failed: "failed";
|
|
5219
|
+
paid: "paid";
|
|
5220
|
+
canceled: "canceled";
|
|
5221
|
+
}>;
|
|
5222
|
+
response: z.ZodOptional<z.ZodString>;
|
|
5223
|
+
}, z.core.$strip>;
|
|
5224
|
+
readonly outputSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5225
|
+
id: z.ZodString;
|
|
5226
|
+
status: z.ZodEnum<{
|
|
5227
|
+
pending: "pending";
|
|
5228
|
+
pending_verification: "pending_verification";
|
|
5229
|
+
paid: "paid";
|
|
5230
|
+
canceled: "canceled";
|
|
5231
|
+
refunded: "refunded";
|
|
5232
|
+
failed: "failed";
|
|
5233
|
+
}>;
|
|
5234
|
+
amount: z.ZodString;
|
|
5235
|
+
method: z.ZodLiteral<"stripe">;
|
|
5236
|
+
sessionUrl: z.ZodString;
|
|
5237
|
+
expiresAt: z.ZodString;
|
|
5238
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5239
|
+
id: z.ZodString;
|
|
5240
|
+
status: z.ZodEnum<{
|
|
5241
|
+
pending: "pending";
|
|
5242
|
+
pending_verification: "pending_verification";
|
|
5243
|
+
paid: "paid";
|
|
5244
|
+
canceled: "canceled";
|
|
5245
|
+
refunded: "refunded";
|
|
5246
|
+
failed: "failed";
|
|
5247
|
+
}>;
|
|
5248
|
+
amount: z.ZodString;
|
|
5249
|
+
method: z.ZodLiteral<"bank_transfer">;
|
|
5250
|
+
iban: z.ZodString;
|
|
5251
|
+
bic: z.ZodString;
|
|
5252
|
+
accountHolder: z.ZodString;
|
|
5253
|
+
bankName: z.ZodString;
|
|
5254
|
+
bankAddress: z.ZodNullable<z.ZodString>;
|
|
5255
|
+
currency: z.ZodString;
|
|
5256
|
+
description: z.ZodString;
|
|
5257
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5258
|
+
id: z.ZodString;
|
|
5259
|
+
status: z.ZodEnum<{
|
|
5260
|
+
pending: "pending";
|
|
5261
|
+
pending_verification: "pending_verification";
|
|
5262
|
+
paid: "paid";
|
|
5263
|
+
canceled: "canceled";
|
|
5264
|
+
refunded: "refunded";
|
|
5265
|
+
failed: "failed";
|
|
5266
|
+
}>;
|
|
5267
|
+
amount: z.ZodString;
|
|
5268
|
+
method: z.ZodLiteral<"cash">;
|
|
5269
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5270
|
+
id: z.ZodString;
|
|
5271
|
+
status: z.ZodEnum<{
|
|
5272
|
+
pending: "pending";
|
|
5273
|
+
pending_verification: "pending_verification";
|
|
5274
|
+
paid: "paid";
|
|
5275
|
+
canceled: "canceled";
|
|
5276
|
+
refunded: "refunded";
|
|
5277
|
+
failed: "failed";
|
|
5278
|
+
}>;
|
|
5279
|
+
amount: z.ZodString;
|
|
5280
|
+
method: z.ZodLiteral<"credit_card">;
|
|
5281
|
+
}, z.core.$strip>], "method">;
|
|
5282
|
+
readonly querySchema: undefined;
|
|
5283
|
+
readonly headersSchema: undefined;
|
|
5284
|
+
private readonly purchaseId;
|
|
5285
|
+
constructor(purchaseId: string, input: ResolveSubscriptionPurchasePaymentInput);
|
|
5286
|
+
getPath(): string;
|
|
5287
|
+
}
|
|
5288
|
+
|
|
5289
|
+
declare const createSubscriptionTimeBasedInputSchema: z.ZodObject<{
|
|
5290
|
+
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>>;
|
|
5291
|
+
autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5292
|
+
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
5293
|
+
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5294
|
+
autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
5295
|
+
autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
5296
|
+
}, z.core.$strip>;
|
|
5297
|
+
type CreateSubscriptionTimeBasedInput = z.input<typeof createSubscriptionTimeBasedInputSchema>;
|
|
5298
|
+
declare const createSubscriptionTimeBasedResponseSchema: z.ZodObject<{
|
|
5299
|
+
id: z.ZodString;
|
|
5300
|
+
status: z.ZodEnum<{
|
|
5301
|
+
created: "created";
|
|
5302
|
+
active: "active";
|
|
5303
|
+
pending_renewal: "pending_renewal";
|
|
5304
|
+
expired: "expired";
|
|
5305
|
+
suspended: "suspended";
|
|
5306
|
+
cancelled: "cancelled";
|
|
5307
|
+
}>;
|
|
5308
|
+
autoRenewal: z.ZodBoolean;
|
|
5309
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5310
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5311
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5312
|
+
id: z.ZodString;
|
|
5313
|
+
code: z.ZodString;
|
|
5314
|
+
name: z.ZodString;
|
|
5315
|
+
type: z.ZodEnum<{
|
|
5316
|
+
infinite: "infinite";
|
|
5317
|
+
time_based: "time_based";
|
|
5318
|
+
consumption: "consumption";
|
|
5319
|
+
}>;
|
|
5320
|
+
isActive: z.ZodBoolean;
|
|
5321
|
+
isPurchasable: z.ZodBoolean;
|
|
5322
|
+
isAdminOnly: z.ZodBoolean;
|
|
5323
|
+
}, z.core.$strip>>>;
|
|
5324
|
+
createdAt: z.ZodString;
|
|
5325
|
+
updatedAt: z.ZodString;
|
|
5326
|
+
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>>;
|
|
5327
|
+
type: z.ZodLiteral<"time_based">;
|
|
5328
|
+
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5329
|
+
autoRenewalExtensionDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
5330
|
+
autoRenewalOffsetDays: z.ZodNullable<z.ZodCoercedNumber<unknown>>;
|
|
5331
|
+
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>>>;
|
|
5332
|
+
}, z.core.$strip>;
|
|
5333
|
+
type CreateSubscriptionTimeBasedResponse = z.infer<typeof createSubscriptionTimeBasedResponseSchema>;
|
|
5334
|
+
declare class CreateSubscriptionTimeBased extends AbstractApiRequest<typeof createSubscriptionTimeBasedInputSchema, typeof createSubscriptionTimeBasedResponseSchema> {
|
|
5335
|
+
readonly method = "POST";
|
|
5336
|
+
readonly contentType = "application/json";
|
|
5337
|
+
readonly accept = "application/json";
|
|
5338
|
+
readonly inputSchema: z.ZodObject<{
|
|
5339
|
+
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>>;
|
|
5340
|
+
autoRenewal: z.ZodOptional<z.ZodPipe<z.ZodTransform<unknown, unknown>, z.ZodBoolean>>;
|
|
5341
|
+
startsAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodString]>>;
|
|
5342
|
+
expiresAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5343
|
+
autoRenewalExtensionDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
5344
|
+
autoRenewalOffsetDays: z.ZodOptional<z.ZodNullable<z.ZodCoercedNumber<unknown>>>;
|
|
5345
|
+
}, z.core.$strip>;
|
|
5346
|
+
readonly outputSchema: z.ZodObject<{
|
|
5347
|
+
id: z.ZodString;
|
|
5348
|
+
status: z.ZodEnum<{
|
|
5349
|
+
created: "created";
|
|
5350
|
+
active: "active";
|
|
5351
|
+
pending_renewal: "pending_renewal";
|
|
5352
|
+
expired: "expired";
|
|
5353
|
+
suspended: "suspended";
|
|
5354
|
+
cancelled: "cancelled";
|
|
5355
|
+
}>;
|
|
5356
|
+
autoRenewal: z.ZodBoolean;
|
|
5357
|
+
startsAt: z.ZodUnion<readonly [z.ZodString, z.ZodString]>;
|
|
5358
|
+
customUnitPrice: z.ZodNullable<z.ZodString>;
|
|
5359
|
+
plan: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5360
|
+
id: z.ZodString;
|
|
5361
|
+
code: z.ZodString;
|
|
5362
|
+
name: z.ZodString;
|
|
5363
|
+
type: z.ZodEnum<{
|
|
4353
5364
|
infinite: "infinite";
|
|
4354
5365
|
time_based: "time_based";
|
|
4355
5366
|
consumption: "consumption";
|
|
@@ -5197,8 +6208,8 @@ declare class PaySubscriptionTimeBasedRenewal extends AbstractApiRequest<typeof
|
|
|
5197
6208
|
|
|
5198
6209
|
declare const resolveSubscriptionTimeBasedRenewalPaymentInputSchema: z.ZodObject<{
|
|
5199
6210
|
status: z.ZodEnum<{
|
|
5200
|
-
paid: "paid";
|
|
5201
6211
|
failed: "failed";
|
|
6212
|
+
paid: "paid";
|
|
5202
6213
|
canceled: "canceled";
|
|
5203
6214
|
}>;
|
|
5204
6215
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -5269,8 +6280,8 @@ declare class ResolveSubscriptionTimeBasedRenewalPayment extends AbstractApiRequ
|
|
|
5269
6280
|
readonly accept = "application/json";
|
|
5270
6281
|
readonly inputSchema: z.ZodObject<{
|
|
5271
6282
|
status: z.ZodEnum<{
|
|
5272
|
-
paid: "paid";
|
|
5273
6283
|
failed: "failed";
|
|
6284
|
+
paid: "paid";
|
|
5274
6285
|
canceled: "canceled";
|
|
5275
6286
|
}>;
|
|
5276
6287
|
response: z.ZodOptional<z.ZodString>;
|
|
@@ -6540,4 +7551,4 @@ declare class UpdateSubscription extends AbstractApiRequest<typeof updateSubscri
|
|
|
6540
7551
|
getPath(): string;
|
|
6541
7552
|
}
|
|
6542
7553
|
|
|
6543
|
-
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, 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, 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 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 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 WritableSubscriptionTimeBased, type WritableSubscriptionTimeBasedRenewal, adjustSubscriptionConsumptionCreditsInputSchema, adjustSubscriptionConsumptionCreditsResponseSchema, adjustableCreditTransactionTypeSchema, adjustableCreditTransactionTypes, createSubscriptionConsumptionInputSchema, createSubscriptionConsumptionRenewalInputSchema, createSubscriptionConsumptionRenewalResponseSchema, createSubscriptionConsumptionResponseSchema, createSubscriptionInfiniteInputSchema, createSubscriptionInfiniteResponseSchema, createSubscriptionPlanInputSchema, createSubscriptionPlanResponseSchema, createSubscriptionPriceInputSchema, createSubscriptionPriceResponseSchema, 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, 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, subscriptionOverviewPlanSchema, subscriptionOverviewResponseSchema, subscriptionOverviewSubscriptionSchema, subscriptionPlanIriSchema, subscriptionPlanNullableIriSchema, subscriptionPlanPriceOptionSchema, subscriptionPlanSchema, subscriptionPlanSummarySchema, subscriptionPlansQuerySchema, subscriptionPriceIriSchema, subscriptionPriceNullableIriSchema, subscriptionPriceSchema, subscriptionPricesQuerySchema, 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, writableSubscriptionTimeBasedRenewalSchema, writableSubscriptionTimeBasedSchema };
|
|
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 };
|