@deliverart/sdk-js-subscription 2.14.0 → 2.14.1
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 +7 -0
- package/dist/index.cjs +7 -1
- package/dist/index.d.cts +67 -1
- package/dist/index.d.ts +67 -1
- package/dist/index.js +7 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -102,6 +102,9 @@ await sdk.call(
|
|
|
102
102
|
)
|
|
103
103
|
```
|
|
104
104
|
|
|
105
|
+
For `bank_transfer`, the purchase or renewal moves to `pending_verification` until a
|
|
106
|
+
`ROLE_SUBSCRIPTION_ADMIN` approves or rejects it.
|
|
107
|
+
|
|
105
108
|
Cancel a non-completed purchase:
|
|
106
109
|
|
|
107
110
|
```ts
|
|
@@ -124,6 +127,8 @@ const payment = await sdk.call(
|
|
|
124
127
|
)
|
|
125
128
|
```
|
|
126
129
|
|
|
130
|
+
If the retry method is `bank_transfer`, the returned purchase status becomes `pending_verification`.
|
|
131
|
+
|
|
127
132
|
Refund a completed offline purchase:
|
|
128
133
|
|
|
129
134
|
```ts
|
|
@@ -190,6 +195,8 @@ await sdk.call(
|
|
|
190
195
|
|
|
191
196
|
Allowed statuses are `paid`, `failed` and `canceled`.
|
|
192
197
|
|
|
198
|
+
The renewal must typically be in `pending_verification` before manual approval.
|
|
199
|
+
|
|
193
200
|
## Renewal Lifecycle Actions
|
|
194
201
|
|
|
195
202
|
Consumption renewal:
|
package/dist/index.cjs
CHANGED
|
@@ -14109,7 +14109,13 @@ var subscriptionAvailabilityReasons = [
|
|
|
14109
14109
|
"operation_not_allowed"
|
|
14110
14110
|
];
|
|
14111
14111
|
var subscriptionAvailabilityReasonSchema = external_exports.enum(subscriptionAvailabilityReasons);
|
|
14112
|
-
var subscriptionPurchaseStatuses = [
|
|
14112
|
+
var subscriptionPurchaseStatuses = [
|
|
14113
|
+
"pending",
|
|
14114
|
+
"pending_verification",
|
|
14115
|
+
"completed",
|
|
14116
|
+
"cancelled",
|
|
14117
|
+
"failed"
|
|
14118
|
+
];
|
|
14113
14119
|
var subscriptionPurchaseStatusSchema = external_exports.enum(subscriptionPurchaseStatuses);
|
|
14114
14120
|
var resolvableRenewalPaymentStatuses = ["paid", "failed", "canceled"];
|
|
14115
14121
|
var resolvableRenewalPaymentStatusSchema = external_exports.enum(resolvableRenewalPaymentStatuses);
|
package/dist/index.d.cts
CHANGED
|
@@ -474,6 +474,7 @@ declare const subscriptionConsumptionRenewalSchema: z.ZodObject<{
|
|
|
474
474
|
id: z.ZodString;
|
|
475
475
|
status: z.ZodEnum<{
|
|
476
476
|
pending: "pending";
|
|
477
|
+
pending_verification: "pending_verification";
|
|
477
478
|
failed: "failed";
|
|
478
479
|
cancelled: "cancelled";
|
|
479
480
|
completed: "completed";
|
|
@@ -490,6 +491,7 @@ declare const subscriptionConsumptionRenewalDetailsSchema: z.ZodObject<{
|
|
|
490
491
|
id: z.ZodString;
|
|
491
492
|
status: z.ZodEnum<{
|
|
492
493
|
pending: "pending";
|
|
494
|
+
pending_verification: "pending_verification";
|
|
493
495
|
failed: "failed";
|
|
494
496
|
cancelled: "cancelled";
|
|
495
497
|
completed: "completed";
|
|
@@ -507,6 +509,7 @@ declare const subscriptionTimeBasedRenewalSchema: z.ZodObject<{
|
|
|
507
509
|
id: z.ZodString;
|
|
508
510
|
status: z.ZodEnum<{
|
|
509
511
|
pending: "pending";
|
|
512
|
+
pending_verification: "pending_verification";
|
|
510
513
|
failed: "failed";
|
|
511
514
|
cancelled: "cancelled";
|
|
512
515
|
completed: "completed";
|
|
@@ -525,6 +528,7 @@ declare const subscriptionTimeBasedRenewalDetailsSchema: z.ZodObject<{
|
|
|
525
528
|
id: z.ZodString;
|
|
526
529
|
status: z.ZodEnum<{
|
|
527
530
|
pending: "pending";
|
|
531
|
+
pending_verification: "pending_verification";
|
|
528
532
|
failed: "failed";
|
|
529
533
|
cancelled: "cancelled";
|
|
530
534
|
completed: "completed";
|
|
@@ -545,6 +549,7 @@ declare const subscriptionPurchaseSchema: z.ZodObject<{
|
|
|
545
549
|
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>>;
|
|
546
550
|
status: z.ZodEnum<{
|
|
547
551
|
pending: "pending";
|
|
552
|
+
pending_verification: "pending_verification";
|
|
548
553
|
completed: "completed";
|
|
549
554
|
cancelled: "cancelled";
|
|
550
555
|
failed: "failed";
|
|
@@ -579,6 +584,7 @@ declare const subscriptionPurchaseDetailsSchema: z.ZodObject<{
|
|
|
579
584
|
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>>;
|
|
580
585
|
status: z.ZodEnum<{
|
|
581
586
|
pending: "pending";
|
|
587
|
+
pending_verification: "pending_verification";
|
|
582
588
|
completed: "completed";
|
|
583
589
|
cancelled: "cancelled";
|
|
584
590
|
failed: "failed";
|
|
@@ -752,6 +758,7 @@ declare const subscriptionPurchaseLifecycleResponseSchema: z.ZodObject<{
|
|
|
752
758
|
id: z.ZodString;
|
|
753
759
|
status: z.ZodEnum<{
|
|
754
760
|
pending: "pending";
|
|
761
|
+
pending_verification: "pending_verification";
|
|
755
762
|
completed: "completed";
|
|
756
763
|
cancelled: "cancelled";
|
|
757
764
|
failed: "failed";
|
|
@@ -831,6 +838,7 @@ declare const subscriptionRenewalLifecycleResponseSchema: z.ZodObject<{
|
|
|
831
838
|
id: z.ZodString;
|
|
832
839
|
status: z.ZodEnum<{
|
|
833
840
|
pending: "pending";
|
|
841
|
+
pending_verification: "pending_verification";
|
|
834
842
|
failed: "failed";
|
|
835
843
|
cancelled: "cancelled";
|
|
836
844
|
completed: "completed";
|
|
@@ -1294,11 +1302,13 @@ declare const subscriptionConsumptionRenewalsQuerySchema: z.ZodObject<{
|
|
|
1294
1302
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1295
1303
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1296
1304
|
pending: "pending";
|
|
1305
|
+
pending_verification: "pending_verification";
|
|
1297
1306
|
failed: "failed";
|
|
1298
1307
|
cancelled: "cancelled";
|
|
1299
1308
|
completed: "completed";
|
|
1300
1309
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1301
1310
|
pending: "pending";
|
|
1311
|
+
pending_verification: "pending_verification";
|
|
1302
1312
|
failed: "failed";
|
|
1303
1313
|
cancelled: "cancelled";
|
|
1304
1314
|
completed: "completed";
|
|
@@ -1336,11 +1346,13 @@ declare const subscriptionTimeBasedRenewalsQuerySchema: z.ZodObject<{
|
|
|
1336
1346
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1337
1347
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1338
1348
|
pending: "pending";
|
|
1349
|
+
pending_verification: "pending_verification";
|
|
1339
1350
|
failed: "failed";
|
|
1340
1351
|
cancelled: "cancelled";
|
|
1341
1352
|
completed: "completed";
|
|
1342
1353
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1343
1354
|
pending: "pending";
|
|
1355
|
+
pending_verification: "pending_verification";
|
|
1344
1356
|
failed: "failed";
|
|
1345
1357
|
cancelled: "cancelled";
|
|
1346
1358
|
completed: "completed";
|
|
@@ -1468,11 +1480,13 @@ declare const subscriptionPurchasesQuerySchema: z.ZodObject<{
|
|
|
1468
1480
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1469
1481
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1470
1482
|
pending: "pending";
|
|
1483
|
+
pending_verification: "pending_verification";
|
|
1471
1484
|
completed: "completed";
|
|
1472
1485
|
cancelled: "cancelled";
|
|
1473
1486
|
failed: "failed";
|
|
1474
1487
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1475
1488
|
pending: "pending";
|
|
1489
|
+
pending_verification: "pending_verification";
|
|
1476
1490
|
completed: "completed";
|
|
1477
1491
|
cancelled: "cancelled";
|
|
1478
1492
|
failed: "failed";
|
|
@@ -1859,6 +1873,7 @@ declare const getSubscriptionPurchasesResponseSchema: z.ZodObject<{
|
|
|
1859
1873
|
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>>;
|
|
1860
1874
|
status: z.ZodEnum<{
|
|
1861
1875
|
pending: "pending";
|
|
1876
|
+
pending_verification: "pending_verification";
|
|
1862
1877
|
completed: "completed";
|
|
1863
1878
|
cancelled: "cancelled";
|
|
1864
1879
|
failed: "failed";
|
|
@@ -1929,6 +1944,7 @@ declare const getSubscriptionConsumptionRenewalsResponseSchema: z.ZodObject<{
|
|
|
1929
1944
|
id: z.ZodString;
|
|
1930
1945
|
status: z.ZodEnum<{
|
|
1931
1946
|
pending: "pending";
|
|
1947
|
+
pending_verification: "pending_verification";
|
|
1932
1948
|
failed: "failed";
|
|
1933
1949
|
cancelled: "cancelled";
|
|
1934
1950
|
completed: "completed";
|
|
@@ -1954,6 +1970,7 @@ declare const getSubscriptionTimeBasedRenewalsResponseSchema: z.ZodObject<{
|
|
|
1954
1970
|
id: z.ZodString;
|
|
1955
1971
|
status: z.ZodEnum<{
|
|
1956
1972
|
pending: "pending";
|
|
1973
|
+
pending_verification: "pending_verification";
|
|
1957
1974
|
failed: "failed";
|
|
1958
1975
|
cancelled: "cancelled";
|
|
1959
1976
|
completed: "completed";
|
|
@@ -2785,6 +2802,7 @@ declare const cancelSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
2785
2802
|
id: z.ZodString;
|
|
2786
2803
|
status: z.ZodEnum<{
|
|
2787
2804
|
pending: "pending";
|
|
2805
|
+
pending_verification: "pending_verification";
|
|
2788
2806
|
failed: "failed";
|
|
2789
2807
|
cancelled: "cancelled";
|
|
2790
2808
|
completed: "completed";
|
|
@@ -2854,6 +2872,7 @@ declare class CancelSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
|
|
|
2854
2872
|
id: z.ZodString;
|
|
2855
2873
|
status: z.ZodEnum<{
|
|
2856
2874
|
pending: "pending";
|
|
2875
|
+
pending_verification: "pending_verification";
|
|
2857
2876
|
failed: "failed";
|
|
2858
2877
|
cancelled: "cancelled";
|
|
2859
2878
|
completed: "completed";
|
|
@@ -2927,6 +2946,7 @@ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
2927
2946
|
id: z.ZodString;
|
|
2928
2947
|
status: z.ZodEnum<{
|
|
2929
2948
|
pending: "pending";
|
|
2949
|
+
pending_verification: "pending_verification";
|
|
2930
2950
|
failed: "failed";
|
|
2931
2951
|
cancelled: "cancelled";
|
|
2932
2952
|
completed: "completed";
|
|
@@ -2952,6 +2972,7 @@ declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
|
|
|
2952
2972
|
id: z.ZodString;
|
|
2953
2973
|
status: z.ZodEnum<{
|
|
2954
2974
|
pending: "pending";
|
|
2975
|
+
pending_verification: "pending_verification";
|
|
2955
2976
|
failed: "failed";
|
|
2956
2977
|
cancelled: "cancelled";
|
|
2957
2978
|
completed: "completed";
|
|
@@ -2991,6 +3012,7 @@ declare const getSubscriptionConsumptionRenewalDetailsResponseSchema: z.ZodObjec
|
|
|
2991
3012
|
id: z.ZodString;
|
|
2992
3013
|
status: z.ZodEnum<{
|
|
2993
3014
|
pending: "pending";
|
|
3015
|
+
pending_verification: "pending_verification";
|
|
2994
3016
|
failed: "failed";
|
|
2995
3017
|
cancelled: "cancelled";
|
|
2996
3018
|
completed: "completed";
|
|
@@ -3013,6 +3035,7 @@ declare class GetSubscriptionConsumptionRenewalDetails extends AbstractApiReques
|
|
|
3013
3035
|
id: z.ZodString;
|
|
3014
3036
|
status: z.ZodEnum<{
|
|
3015
3037
|
pending: "pending";
|
|
3038
|
+
pending_verification: "pending_verification";
|
|
3016
3039
|
failed: "failed";
|
|
3017
3040
|
cancelled: "cancelled";
|
|
3018
3041
|
completed: "completed";
|
|
@@ -3046,6 +3069,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
|
|
|
3046
3069
|
id: z.ZodString;
|
|
3047
3070
|
status: z.ZodEnum<{
|
|
3048
3071
|
pending: "pending";
|
|
3072
|
+
pending_verification: "pending_verification";
|
|
3049
3073
|
failed: "failed";
|
|
3050
3074
|
cancelled: "cancelled";
|
|
3051
3075
|
completed: "completed";
|
|
@@ -3070,11 +3094,13 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
|
|
|
3070
3094
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3071
3095
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3072
3096
|
pending: "pending";
|
|
3097
|
+
pending_verification: "pending_verification";
|
|
3073
3098
|
failed: "failed";
|
|
3074
3099
|
cancelled: "cancelled";
|
|
3075
3100
|
completed: "completed";
|
|
3076
3101
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3077
3102
|
pending: "pending";
|
|
3103
|
+
pending_verification: "pending_verification";
|
|
3078
3104
|
failed: "failed";
|
|
3079
3105
|
cancelled: "cancelled";
|
|
3080
3106
|
completed: "completed";
|
|
@@ -3112,6 +3138,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
|
|
|
3112
3138
|
id: z.ZodString;
|
|
3113
3139
|
status: z.ZodEnum<{
|
|
3114
3140
|
pending: "pending";
|
|
3141
|
+
pending_verification: "pending_verification";
|
|
3115
3142
|
failed: "failed";
|
|
3116
3143
|
cancelled: "cancelled";
|
|
3117
3144
|
completed: "completed";
|
|
@@ -3144,6 +3171,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
|
|
|
3144
3171
|
id: z.ZodString;
|
|
3145
3172
|
status: z.ZodEnum<{
|
|
3146
3173
|
pending: "pending";
|
|
3174
|
+
pending_verification: "pending_verification";
|
|
3147
3175
|
failed: "failed";
|
|
3148
3176
|
cancelled: "cancelled";
|
|
3149
3177
|
completed: "completed";
|
|
@@ -3168,11 +3196,13 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
|
|
|
3168
3196
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3169
3197
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3170
3198
|
pending: "pending";
|
|
3199
|
+
pending_verification: "pending_verification";
|
|
3171
3200
|
failed: "failed";
|
|
3172
3201
|
cancelled: "cancelled";
|
|
3173
3202
|
completed: "completed";
|
|
3174
3203
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3175
3204
|
pending: "pending";
|
|
3205
|
+
pending_verification: "pending_verification";
|
|
3176
3206
|
failed: "failed";
|
|
3177
3207
|
cancelled: "cancelled";
|
|
3178
3208
|
completed: "completed";
|
|
@@ -3210,6 +3240,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
|
|
|
3210
3240
|
id: z.ZodString;
|
|
3211
3241
|
status: z.ZodEnum<{
|
|
3212
3242
|
pending: "pending";
|
|
3243
|
+
pending_verification: "pending_verification";
|
|
3213
3244
|
failed: "failed";
|
|
3214
3245
|
cancelled: "cancelled";
|
|
3215
3246
|
completed: "completed";
|
|
@@ -3252,9 +3283,10 @@ declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
|
|
|
3252
3283
|
operation_not_allowed: "operation_not_allowed";
|
|
3253
3284
|
}>;
|
|
3254
3285
|
type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
|
|
3255
|
-
declare const subscriptionPurchaseStatuses: readonly ["pending", "completed", "cancelled", "failed"];
|
|
3286
|
+
declare const subscriptionPurchaseStatuses: readonly ["pending", "pending_verification", "completed", "cancelled", "failed"];
|
|
3256
3287
|
declare const subscriptionPurchaseStatusSchema: z.ZodEnum<{
|
|
3257
3288
|
pending: "pending";
|
|
3289
|
+
pending_verification: "pending_verification";
|
|
3258
3290
|
completed: "completed";
|
|
3259
3291
|
cancelled: "cancelled";
|
|
3260
3292
|
failed: "failed";
|
|
@@ -3413,6 +3445,7 @@ declare const refundSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
3413
3445
|
id: z.ZodString;
|
|
3414
3446
|
status: z.ZodEnum<{
|
|
3415
3447
|
pending: "pending";
|
|
3448
|
+
pending_verification: "pending_verification";
|
|
3416
3449
|
failed: "failed";
|
|
3417
3450
|
cancelled: "cancelled";
|
|
3418
3451
|
completed: "completed";
|
|
@@ -3482,6 +3515,7 @@ declare class RefundSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
|
|
|
3482
3515
|
id: z.ZodString;
|
|
3483
3516
|
status: z.ZodEnum<{
|
|
3484
3517
|
pending: "pending";
|
|
3518
|
+
pending_verification: "pending_verification";
|
|
3485
3519
|
failed: "failed";
|
|
3486
3520
|
cancelled: "cancelled";
|
|
3487
3521
|
completed: "completed";
|
|
@@ -5187,6 +5221,7 @@ declare const cancelSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
|
5187
5221
|
id: z.ZodString;
|
|
5188
5222
|
status: z.ZodEnum<{
|
|
5189
5223
|
pending: "pending";
|
|
5224
|
+
pending_verification: "pending_verification";
|
|
5190
5225
|
completed: "completed";
|
|
5191
5226
|
cancelled: "cancelled";
|
|
5192
5227
|
failed: "failed";
|
|
@@ -5254,6 +5289,7 @@ declare class CancelSubscriptionPurchase extends AbstractApiRequest<typeof cance
|
|
|
5254
5289
|
id: z.ZodString;
|
|
5255
5290
|
status: z.ZodEnum<{
|
|
5256
5291
|
pending: "pending";
|
|
5292
|
+
pending_verification: "pending_verification";
|
|
5257
5293
|
completed: "completed";
|
|
5258
5294
|
cancelled: "cancelled";
|
|
5259
5295
|
failed: "failed";
|
|
@@ -5328,6 +5364,7 @@ declare const createSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
|
5328
5364
|
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>>;
|
|
5329
5365
|
status: z.ZodEnum<{
|
|
5330
5366
|
pending: "pending";
|
|
5367
|
+
pending_verification: "pending_verification";
|
|
5331
5368
|
completed: "completed";
|
|
5332
5369
|
cancelled: "cancelled";
|
|
5333
5370
|
failed: "failed";
|
|
@@ -5375,6 +5412,7 @@ declare class CreateSubscriptionPurchase extends AbstractApiRequest<typeof creat
|
|
|
5375
5412
|
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>>;
|
|
5376
5413
|
status: z.ZodEnum<{
|
|
5377
5414
|
pending: "pending";
|
|
5415
|
+
pending_verification: "pending_verification";
|
|
5378
5416
|
completed: "completed";
|
|
5379
5417
|
cancelled: "cancelled";
|
|
5380
5418
|
failed: "failed";
|
|
@@ -5419,6 +5457,7 @@ declare const getSubscriptionPurchaseDetailsResponseSchema: z.ZodObject<{
|
|
|
5419
5457
|
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>>;
|
|
5420
5458
|
status: z.ZodEnum<{
|
|
5421
5459
|
pending: "pending";
|
|
5460
|
+
pending_verification: "pending_verification";
|
|
5422
5461
|
completed: "completed";
|
|
5423
5462
|
cancelled: "cancelled";
|
|
5424
5463
|
failed: "failed";
|
|
@@ -5461,6 +5500,7 @@ declare class GetSubscriptionPurchaseDetails extends AbstractApiRequest<typeof g
|
|
|
5461
5500
|
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>>;
|
|
5462
5501
|
status: z.ZodEnum<{
|
|
5463
5502
|
pending: "pending";
|
|
5503
|
+
pending_verification: "pending_verification";
|
|
5464
5504
|
completed: "completed";
|
|
5465
5505
|
cancelled: "cancelled";
|
|
5466
5506
|
failed: "failed";
|
|
@@ -5514,6 +5554,7 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
5514
5554
|
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>>;
|
|
5515
5555
|
status: z.ZodEnum<{
|
|
5516
5556
|
pending: "pending";
|
|
5557
|
+
pending_verification: "pending_verification";
|
|
5517
5558
|
completed: "completed";
|
|
5518
5559
|
cancelled: "cancelled";
|
|
5519
5560
|
failed: "failed";
|
|
@@ -5555,11 +5596,13 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
5555
5596
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5556
5597
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5557
5598
|
pending: "pending";
|
|
5599
|
+
pending_verification: "pending_verification";
|
|
5558
5600
|
completed: "completed";
|
|
5559
5601
|
cancelled: "cancelled";
|
|
5560
5602
|
failed: "failed";
|
|
5561
5603
|
}>, z.ZodArray<z.ZodEnum<{
|
|
5562
5604
|
pending: "pending";
|
|
5605
|
+
pending_verification: "pending_verification";
|
|
5563
5606
|
completed: "completed";
|
|
5564
5607
|
cancelled: "cancelled";
|
|
5565
5608
|
failed: "failed";
|
|
@@ -5622,6 +5665,7 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
5622
5665
|
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>>;
|
|
5623
5666
|
status: z.ZodEnum<{
|
|
5624
5667
|
pending: "pending";
|
|
5668
|
+
pending_verification: "pending_verification";
|
|
5625
5669
|
completed: "completed";
|
|
5626
5670
|
cancelled: "cancelled";
|
|
5627
5671
|
failed: "failed";
|
|
@@ -5672,6 +5716,7 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5672
5716
|
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>>;
|
|
5673
5717
|
status: z.ZodEnum<{
|
|
5674
5718
|
pending: "pending";
|
|
5719
|
+
pending_verification: "pending_verification";
|
|
5675
5720
|
completed: "completed";
|
|
5676
5721
|
cancelled: "cancelled";
|
|
5677
5722
|
failed: "failed";
|
|
@@ -5713,11 +5758,13 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5713
5758
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5714
5759
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5715
5760
|
pending: "pending";
|
|
5761
|
+
pending_verification: "pending_verification";
|
|
5716
5762
|
completed: "completed";
|
|
5717
5763
|
cancelled: "cancelled";
|
|
5718
5764
|
failed: "failed";
|
|
5719
5765
|
}>, z.ZodArray<z.ZodEnum<{
|
|
5720
5766
|
pending: "pending";
|
|
5767
|
+
pending_verification: "pending_verification";
|
|
5721
5768
|
completed: "completed";
|
|
5722
5769
|
cancelled: "cancelled";
|
|
5723
5770
|
failed: "failed";
|
|
@@ -5780,6 +5827,7 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5780
5827
|
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>>;
|
|
5781
5828
|
status: z.ZodEnum<{
|
|
5782
5829
|
pending: "pending";
|
|
5830
|
+
pending_verification: "pending_verification";
|
|
5783
5831
|
completed: "completed";
|
|
5784
5832
|
cancelled: "cancelled";
|
|
5785
5833
|
failed: "failed";
|
|
@@ -5917,6 +5965,7 @@ declare const refundSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
|
5917
5965
|
id: z.ZodString;
|
|
5918
5966
|
status: z.ZodEnum<{
|
|
5919
5967
|
pending: "pending";
|
|
5968
|
+
pending_verification: "pending_verification";
|
|
5920
5969
|
completed: "completed";
|
|
5921
5970
|
cancelled: "cancelled";
|
|
5922
5971
|
failed: "failed";
|
|
@@ -5984,6 +6033,7 @@ declare class RefundSubscriptionPurchase extends AbstractApiRequest<typeof refun
|
|
|
5984
6033
|
id: z.ZodString;
|
|
5985
6034
|
status: z.ZodEnum<{
|
|
5986
6035
|
pending: "pending";
|
|
6036
|
+
pending_verification: "pending_verification";
|
|
5987
6037
|
completed: "completed";
|
|
5988
6038
|
cancelled: "cancelled";
|
|
5989
6039
|
failed: "failed";
|
|
@@ -6692,6 +6742,7 @@ declare const cancelSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
|
6692
6742
|
id: z.ZodString;
|
|
6693
6743
|
status: z.ZodEnum<{
|
|
6694
6744
|
pending: "pending";
|
|
6745
|
+
pending_verification: "pending_verification";
|
|
6695
6746
|
failed: "failed";
|
|
6696
6747
|
cancelled: "cancelled";
|
|
6697
6748
|
completed: "completed";
|
|
@@ -6761,6 +6812,7 @@ declare class CancelSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
|
|
|
6761
6812
|
id: z.ZodString;
|
|
6762
6813
|
status: z.ZodEnum<{
|
|
6763
6814
|
pending: "pending";
|
|
6815
|
+
pending_verification: "pending_verification";
|
|
6764
6816
|
failed: "failed";
|
|
6765
6817
|
cancelled: "cancelled";
|
|
6766
6818
|
completed: "completed";
|
|
@@ -6834,6 +6886,7 @@ declare const createSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
|
6834
6886
|
id: z.ZodString;
|
|
6835
6887
|
status: z.ZodEnum<{
|
|
6836
6888
|
pending: "pending";
|
|
6889
|
+
pending_verification: "pending_verification";
|
|
6837
6890
|
failed: "failed";
|
|
6838
6891
|
cancelled: "cancelled";
|
|
6839
6892
|
completed: "completed";
|
|
@@ -6861,6 +6914,7 @@ declare class CreateSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
|
|
|
6861
6914
|
id: z.ZodString;
|
|
6862
6915
|
status: z.ZodEnum<{
|
|
6863
6916
|
pending: "pending";
|
|
6917
|
+
pending_verification: "pending_verification";
|
|
6864
6918
|
failed: "failed";
|
|
6865
6919
|
cancelled: "cancelled";
|
|
6866
6920
|
completed: "completed";
|
|
@@ -6902,6 +6956,7 @@ declare const getSubscriptionTimeBasedRenewalDetailsResponseSchema: z.ZodObject<
|
|
|
6902
6956
|
id: z.ZodString;
|
|
6903
6957
|
status: z.ZodEnum<{
|
|
6904
6958
|
pending: "pending";
|
|
6959
|
+
pending_verification: "pending_verification";
|
|
6905
6960
|
failed: "failed";
|
|
6906
6961
|
cancelled: "cancelled";
|
|
6907
6962
|
completed: "completed";
|
|
@@ -6926,6 +6981,7 @@ declare class GetSubscriptionTimeBasedRenewalDetails extends AbstractApiRequest<
|
|
|
6926
6981
|
id: z.ZodString;
|
|
6927
6982
|
status: z.ZodEnum<{
|
|
6928
6983
|
pending: "pending";
|
|
6984
|
+
pending_verification: "pending_verification";
|
|
6929
6985
|
failed: "failed";
|
|
6930
6986
|
cancelled: "cancelled";
|
|
6931
6987
|
completed: "completed";
|
|
@@ -6961,6 +7017,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
|
|
|
6961
7017
|
id: z.ZodString;
|
|
6962
7018
|
status: z.ZodEnum<{
|
|
6963
7019
|
pending: "pending";
|
|
7020
|
+
pending_verification: "pending_verification";
|
|
6964
7021
|
failed: "failed";
|
|
6965
7022
|
cancelled: "cancelled";
|
|
6966
7023
|
completed: "completed";
|
|
@@ -6987,11 +7044,13 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
|
|
|
6987
7044
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6988
7045
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6989
7046
|
pending: "pending";
|
|
7047
|
+
pending_verification: "pending_verification";
|
|
6990
7048
|
failed: "failed";
|
|
6991
7049
|
cancelled: "cancelled";
|
|
6992
7050
|
completed: "completed";
|
|
6993
7051
|
}>, z.ZodArray<z.ZodEnum<{
|
|
6994
7052
|
pending: "pending";
|
|
7053
|
+
pending_verification: "pending_verification";
|
|
6995
7054
|
failed: "failed";
|
|
6996
7055
|
cancelled: "cancelled";
|
|
6997
7056
|
completed: "completed";
|
|
@@ -7029,6 +7088,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
|
|
|
7029
7088
|
id: z.ZodString;
|
|
7030
7089
|
status: z.ZodEnum<{
|
|
7031
7090
|
pending: "pending";
|
|
7091
|
+
pending_verification: "pending_verification";
|
|
7032
7092
|
failed: "failed";
|
|
7033
7093
|
cancelled: "cancelled";
|
|
7034
7094
|
completed: "completed";
|
|
@@ -7063,6 +7123,7 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
|
|
|
7063
7123
|
id: z.ZodString;
|
|
7064
7124
|
status: z.ZodEnum<{
|
|
7065
7125
|
pending: "pending";
|
|
7126
|
+
pending_verification: "pending_verification";
|
|
7066
7127
|
failed: "failed";
|
|
7067
7128
|
cancelled: "cancelled";
|
|
7068
7129
|
completed: "completed";
|
|
@@ -7089,11 +7150,13 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
|
|
|
7089
7150
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7090
7151
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7091
7152
|
pending: "pending";
|
|
7153
|
+
pending_verification: "pending_verification";
|
|
7092
7154
|
failed: "failed";
|
|
7093
7155
|
cancelled: "cancelled";
|
|
7094
7156
|
completed: "completed";
|
|
7095
7157
|
}>, z.ZodArray<z.ZodEnum<{
|
|
7096
7158
|
pending: "pending";
|
|
7159
|
+
pending_verification: "pending_verification";
|
|
7097
7160
|
failed: "failed";
|
|
7098
7161
|
cancelled: "cancelled";
|
|
7099
7162
|
completed: "completed";
|
|
@@ -7131,6 +7194,7 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
|
|
|
7131
7194
|
id: z.ZodString;
|
|
7132
7195
|
status: z.ZodEnum<{
|
|
7133
7196
|
pending: "pending";
|
|
7197
|
+
pending_verification: "pending_verification";
|
|
7134
7198
|
failed: "failed";
|
|
7135
7199
|
cancelled: "cancelled";
|
|
7136
7200
|
completed: "completed";
|
|
@@ -7253,6 +7317,7 @@ declare const refundSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
|
7253
7317
|
id: z.ZodString;
|
|
7254
7318
|
status: z.ZodEnum<{
|
|
7255
7319
|
pending: "pending";
|
|
7320
|
+
pending_verification: "pending_verification";
|
|
7256
7321
|
failed: "failed";
|
|
7257
7322
|
cancelled: "cancelled";
|
|
7258
7323
|
completed: "completed";
|
|
@@ -7322,6 +7387,7 @@ declare class RefundSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
|
|
|
7322
7387
|
id: z.ZodString;
|
|
7323
7388
|
status: z.ZodEnum<{
|
|
7324
7389
|
pending: "pending";
|
|
7390
|
+
pending_verification: "pending_verification";
|
|
7325
7391
|
failed: "failed";
|
|
7326
7392
|
cancelled: "cancelled";
|
|
7327
7393
|
completed: "completed";
|
package/dist/index.d.ts
CHANGED
|
@@ -474,6 +474,7 @@ declare const subscriptionConsumptionRenewalSchema: z.ZodObject<{
|
|
|
474
474
|
id: z.ZodString;
|
|
475
475
|
status: z.ZodEnum<{
|
|
476
476
|
pending: "pending";
|
|
477
|
+
pending_verification: "pending_verification";
|
|
477
478
|
failed: "failed";
|
|
478
479
|
cancelled: "cancelled";
|
|
479
480
|
completed: "completed";
|
|
@@ -490,6 +491,7 @@ declare const subscriptionConsumptionRenewalDetailsSchema: z.ZodObject<{
|
|
|
490
491
|
id: z.ZodString;
|
|
491
492
|
status: z.ZodEnum<{
|
|
492
493
|
pending: "pending";
|
|
494
|
+
pending_verification: "pending_verification";
|
|
493
495
|
failed: "failed";
|
|
494
496
|
cancelled: "cancelled";
|
|
495
497
|
completed: "completed";
|
|
@@ -507,6 +509,7 @@ declare const subscriptionTimeBasedRenewalSchema: z.ZodObject<{
|
|
|
507
509
|
id: z.ZodString;
|
|
508
510
|
status: z.ZodEnum<{
|
|
509
511
|
pending: "pending";
|
|
512
|
+
pending_verification: "pending_verification";
|
|
510
513
|
failed: "failed";
|
|
511
514
|
cancelled: "cancelled";
|
|
512
515
|
completed: "completed";
|
|
@@ -525,6 +528,7 @@ declare const subscriptionTimeBasedRenewalDetailsSchema: z.ZodObject<{
|
|
|
525
528
|
id: z.ZodString;
|
|
526
529
|
status: z.ZodEnum<{
|
|
527
530
|
pending: "pending";
|
|
531
|
+
pending_verification: "pending_verification";
|
|
528
532
|
failed: "failed";
|
|
529
533
|
cancelled: "cancelled";
|
|
530
534
|
completed: "completed";
|
|
@@ -545,6 +549,7 @@ declare const subscriptionPurchaseSchema: z.ZodObject<{
|
|
|
545
549
|
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>>;
|
|
546
550
|
status: z.ZodEnum<{
|
|
547
551
|
pending: "pending";
|
|
552
|
+
pending_verification: "pending_verification";
|
|
548
553
|
completed: "completed";
|
|
549
554
|
cancelled: "cancelled";
|
|
550
555
|
failed: "failed";
|
|
@@ -579,6 +584,7 @@ declare const subscriptionPurchaseDetailsSchema: z.ZodObject<{
|
|
|
579
584
|
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>>;
|
|
580
585
|
status: z.ZodEnum<{
|
|
581
586
|
pending: "pending";
|
|
587
|
+
pending_verification: "pending_verification";
|
|
582
588
|
completed: "completed";
|
|
583
589
|
cancelled: "cancelled";
|
|
584
590
|
failed: "failed";
|
|
@@ -752,6 +758,7 @@ declare const subscriptionPurchaseLifecycleResponseSchema: z.ZodObject<{
|
|
|
752
758
|
id: z.ZodString;
|
|
753
759
|
status: z.ZodEnum<{
|
|
754
760
|
pending: "pending";
|
|
761
|
+
pending_verification: "pending_verification";
|
|
755
762
|
completed: "completed";
|
|
756
763
|
cancelled: "cancelled";
|
|
757
764
|
failed: "failed";
|
|
@@ -831,6 +838,7 @@ declare const subscriptionRenewalLifecycleResponseSchema: z.ZodObject<{
|
|
|
831
838
|
id: z.ZodString;
|
|
832
839
|
status: z.ZodEnum<{
|
|
833
840
|
pending: "pending";
|
|
841
|
+
pending_verification: "pending_verification";
|
|
834
842
|
failed: "failed";
|
|
835
843
|
cancelled: "cancelled";
|
|
836
844
|
completed: "completed";
|
|
@@ -1294,11 +1302,13 @@ declare const subscriptionConsumptionRenewalsQuerySchema: z.ZodObject<{
|
|
|
1294
1302
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1295
1303
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1296
1304
|
pending: "pending";
|
|
1305
|
+
pending_verification: "pending_verification";
|
|
1297
1306
|
failed: "failed";
|
|
1298
1307
|
cancelled: "cancelled";
|
|
1299
1308
|
completed: "completed";
|
|
1300
1309
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1301
1310
|
pending: "pending";
|
|
1311
|
+
pending_verification: "pending_verification";
|
|
1302
1312
|
failed: "failed";
|
|
1303
1313
|
cancelled: "cancelled";
|
|
1304
1314
|
completed: "completed";
|
|
@@ -1336,11 +1346,13 @@ declare const subscriptionTimeBasedRenewalsQuerySchema: z.ZodObject<{
|
|
|
1336
1346
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1337
1347
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1338
1348
|
pending: "pending";
|
|
1349
|
+
pending_verification: "pending_verification";
|
|
1339
1350
|
failed: "failed";
|
|
1340
1351
|
cancelled: "cancelled";
|
|
1341
1352
|
completed: "completed";
|
|
1342
1353
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1343
1354
|
pending: "pending";
|
|
1355
|
+
pending_verification: "pending_verification";
|
|
1344
1356
|
failed: "failed";
|
|
1345
1357
|
cancelled: "cancelled";
|
|
1346
1358
|
completed: "completed";
|
|
@@ -1468,11 +1480,13 @@ declare const subscriptionPurchasesQuerySchema: z.ZodObject<{
|
|
|
1468
1480
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1469
1481
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
1470
1482
|
pending: "pending";
|
|
1483
|
+
pending_verification: "pending_verification";
|
|
1471
1484
|
completed: "completed";
|
|
1472
1485
|
cancelled: "cancelled";
|
|
1473
1486
|
failed: "failed";
|
|
1474
1487
|
}>, z.ZodArray<z.ZodEnum<{
|
|
1475
1488
|
pending: "pending";
|
|
1489
|
+
pending_verification: "pending_verification";
|
|
1476
1490
|
completed: "completed";
|
|
1477
1491
|
cancelled: "cancelled";
|
|
1478
1492
|
failed: "failed";
|
|
@@ -1859,6 +1873,7 @@ declare const getSubscriptionPurchasesResponseSchema: z.ZodObject<{
|
|
|
1859
1873
|
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>>;
|
|
1860
1874
|
status: z.ZodEnum<{
|
|
1861
1875
|
pending: "pending";
|
|
1876
|
+
pending_verification: "pending_verification";
|
|
1862
1877
|
completed: "completed";
|
|
1863
1878
|
cancelled: "cancelled";
|
|
1864
1879
|
failed: "failed";
|
|
@@ -1929,6 +1944,7 @@ declare const getSubscriptionConsumptionRenewalsResponseSchema: z.ZodObject<{
|
|
|
1929
1944
|
id: z.ZodString;
|
|
1930
1945
|
status: z.ZodEnum<{
|
|
1931
1946
|
pending: "pending";
|
|
1947
|
+
pending_verification: "pending_verification";
|
|
1932
1948
|
failed: "failed";
|
|
1933
1949
|
cancelled: "cancelled";
|
|
1934
1950
|
completed: "completed";
|
|
@@ -1954,6 +1970,7 @@ declare const getSubscriptionTimeBasedRenewalsResponseSchema: z.ZodObject<{
|
|
|
1954
1970
|
id: z.ZodString;
|
|
1955
1971
|
status: z.ZodEnum<{
|
|
1956
1972
|
pending: "pending";
|
|
1973
|
+
pending_verification: "pending_verification";
|
|
1957
1974
|
failed: "failed";
|
|
1958
1975
|
cancelled: "cancelled";
|
|
1959
1976
|
completed: "completed";
|
|
@@ -2785,6 +2802,7 @@ declare const cancelSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
2785
2802
|
id: z.ZodString;
|
|
2786
2803
|
status: z.ZodEnum<{
|
|
2787
2804
|
pending: "pending";
|
|
2805
|
+
pending_verification: "pending_verification";
|
|
2788
2806
|
failed: "failed";
|
|
2789
2807
|
cancelled: "cancelled";
|
|
2790
2808
|
completed: "completed";
|
|
@@ -2854,6 +2872,7 @@ declare class CancelSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
|
|
|
2854
2872
|
id: z.ZodString;
|
|
2855
2873
|
status: z.ZodEnum<{
|
|
2856
2874
|
pending: "pending";
|
|
2875
|
+
pending_verification: "pending_verification";
|
|
2857
2876
|
failed: "failed";
|
|
2858
2877
|
cancelled: "cancelled";
|
|
2859
2878
|
completed: "completed";
|
|
@@ -2927,6 +2946,7 @@ declare const createSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
2927
2946
|
id: z.ZodString;
|
|
2928
2947
|
status: z.ZodEnum<{
|
|
2929
2948
|
pending: "pending";
|
|
2949
|
+
pending_verification: "pending_verification";
|
|
2930
2950
|
failed: "failed";
|
|
2931
2951
|
cancelled: "cancelled";
|
|
2932
2952
|
completed: "completed";
|
|
@@ -2952,6 +2972,7 @@ declare class CreateSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
|
|
|
2952
2972
|
id: z.ZodString;
|
|
2953
2973
|
status: z.ZodEnum<{
|
|
2954
2974
|
pending: "pending";
|
|
2975
|
+
pending_verification: "pending_verification";
|
|
2955
2976
|
failed: "failed";
|
|
2956
2977
|
cancelled: "cancelled";
|
|
2957
2978
|
completed: "completed";
|
|
@@ -2991,6 +3012,7 @@ declare const getSubscriptionConsumptionRenewalDetailsResponseSchema: z.ZodObjec
|
|
|
2991
3012
|
id: z.ZodString;
|
|
2992
3013
|
status: z.ZodEnum<{
|
|
2993
3014
|
pending: "pending";
|
|
3015
|
+
pending_verification: "pending_verification";
|
|
2994
3016
|
failed: "failed";
|
|
2995
3017
|
cancelled: "cancelled";
|
|
2996
3018
|
completed: "completed";
|
|
@@ -3013,6 +3035,7 @@ declare class GetSubscriptionConsumptionRenewalDetails extends AbstractApiReques
|
|
|
3013
3035
|
id: z.ZodString;
|
|
3014
3036
|
status: z.ZodEnum<{
|
|
3015
3037
|
pending: "pending";
|
|
3038
|
+
pending_verification: "pending_verification";
|
|
3016
3039
|
failed: "failed";
|
|
3017
3040
|
cancelled: "cancelled";
|
|
3018
3041
|
completed: "completed";
|
|
@@ -3046,6 +3069,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
|
|
|
3046
3069
|
id: z.ZodString;
|
|
3047
3070
|
status: z.ZodEnum<{
|
|
3048
3071
|
pending: "pending";
|
|
3072
|
+
pending_verification: "pending_verification";
|
|
3049
3073
|
failed: "failed";
|
|
3050
3074
|
cancelled: "cancelled";
|
|
3051
3075
|
completed: "completed";
|
|
@@ -3070,11 +3094,13 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
|
|
|
3070
3094
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3071
3095
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3072
3096
|
pending: "pending";
|
|
3097
|
+
pending_verification: "pending_verification";
|
|
3073
3098
|
failed: "failed";
|
|
3074
3099
|
cancelled: "cancelled";
|
|
3075
3100
|
completed: "completed";
|
|
3076
3101
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3077
3102
|
pending: "pending";
|
|
3103
|
+
pending_verification: "pending_verification";
|
|
3078
3104
|
failed: "failed";
|
|
3079
3105
|
cancelled: "cancelled";
|
|
3080
3106
|
completed: "completed";
|
|
@@ -3112,6 +3138,7 @@ declare class GetSubscriptionConsumptionRenewals extends AbstractApiRequest<type
|
|
|
3112
3138
|
id: z.ZodString;
|
|
3113
3139
|
status: z.ZodEnum<{
|
|
3114
3140
|
pending: "pending";
|
|
3141
|
+
pending_verification: "pending_verification";
|
|
3115
3142
|
failed: "failed";
|
|
3116
3143
|
cancelled: "cancelled";
|
|
3117
3144
|
completed: "completed";
|
|
@@ -3144,6 +3171,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
|
|
|
3144
3171
|
id: z.ZodString;
|
|
3145
3172
|
status: z.ZodEnum<{
|
|
3146
3173
|
pending: "pending";
|
|
3174
|
+
pending_verification: "pending_verification";
|
|
3147
3175
|
failed: "failed";
|
|
3148
3176
|
cancelled: "cancelled";
|
|
3149
3177
|
completed: "completed";
|
|
@@ -3168,11 +3196,13 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
|
|
|
3168
3196
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
3169
3197
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
3170
3198
|
pending: "pending";
|
|
3199
|
+
pending_verification: "pending_verification";
|
|
3171
3200
|
failed: "failed";
|
|
3172
3201
|
cancelled: "cancelled";
|
|
3173
3202
|
completed: "completed";
|
|
3174
3203
|
}>, z.ZodArray<z.ZodEnum<{
|
|
3175
3204
|
pending: "pending";
|
|
3205
|
+
pending_verification: "pending_verification";
|
|
3176
3206
|
failed: "failed";
|
|
3177
3207
|
cancelled: "cancelled";
|
|
3178
3208
|
completed: "completed";
|
|
@@ -3210,6 +3240,7 @@ declare class GetSubscriptionConsumptionRenewalsFromSubscriptionConsumption exte
|
|
|
3210
3240
|
id: z.ZodString;
|
|
3211
3241
|
status: z.ZodEnum<{
|
|
3212
3242
|
pending: "pending";
|
|
3243
|
+
pending_verification: "pending_verification";
|
|
3213
3244
|
failed: "failed";
|
|
3214
3245
|
cancelled: "cancelled";
|
|
3215
3246
|
completed: "completed";
|
|
@@ -3252,9 +3283,10 @@ declare const subscriptionAvailabilityReasonSchema: z.ZodEnum<{
|
|
|
3252
3283
|
operation_not_allowed: "operation_not_allowed";
|
|
3253
3284
|
}>;
|
|
3254
3285
|
type SubscriptionAvailabilityReason = z.infer<typeof subscriptionAvailabilityReasonSchema>;
|
|
3255
|
-
declare const subscriptionPurchaseStatuses: readonly ["pending", "completed", "cancelled", "failed"];
|
|
3286
|
+
declare const subscriptionPurchaseStatuses: readonly ["pending", "pending_verification", "completed", "cancelled", "failed"];
|
|
3256
3287
|
declare const subscriptionPurchaseStatusSchema: z.ZodEnum<{
|
|
3257
3288
|
pending: "pending";
|
|
3289
|
+
pending_verification: "pending_verification";
|
|
3258
3290
|
completed: "completed";
|
|
3259
3291
|
cancelled: "cancelled";
|
|
3260
3292
|
failed: "failed";
|
|
@@ -3413,6 +3445,7 @@ declare const refundSubscriptionConsumptionRenewalResponseSchema: z.ZodObject<{
|
|
|
3413
3445
|
id: z.ZodString;
|
|
3414
3446
|
status: z.ZodEnum<{
|
|
3415
3447
|
pending: "pending";
|
|
3448
|
+
pending_verification: "pending_verification";
|
|
3416
3449
|
failed: "failed";
|
|
3417
3450
|
cancelled: "cancelled";
|
|
3418
3451
|
completed: "completed";
|
|
@@ -3482,6 +3515,7 @@ declare class RefundSubscriptionConsumptionRenewal extends AbstractApiRequest<ty
|
|
|
3482
3515
|
id: z.ZodString;
|
|
3483
3516
|
status: z.ZodEnum<{
|
|
3484
3517
|
pending: "pending";
|
|
3518
|
+
pending_verification: "pending_verification";
|
|
3485
3519
|
failed: "failed";
|
|
3486
3520
|
cancelled: "cancelled";
|
|
3487
3521
|
completed: "completed";
|
|
@@ -5187,6 +5221,7 @@ declare const cancelSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
|
5187
5221
|
id: z.ZodString;
|
|
5188
5222
|
status: z.ZodEnum<{
|
|
5189
5223
|
pending: "pending";
|
|
5224
|
+
pending_verification: "pending_verification";
|
|
5190
5225
|
completed: "completed";
|
|
5191
5226
|
cancelled: "cancelled";
|
|
5192
5227
|
failed: "failed";
|
|
@@ -5254,6 +5289,7 @@ declare class CancelSubscriptionPurchase extends AbstractApiRequest<typeof cance
|
|
|
5254
5289
|
id: z.ZodString;
|
|
5255
5290
|
status: z.ZodEnum<{
|
|
5256
5291
|
pending: "pending";
|
|
5292
|
+
pending_verification: "pending_verification";
|
|
5257
5293
|
completed: "completed";
|
|
5258
5294
|
cancelled: "cancelled";
|
|
5259
5295
|
failed: "failed";
|
|
@@ -5328,6 +5364,7 @@ declare const createSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
|
5328
5364
|
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>>;
|
|
5329
5365
|
status: z.ZodEnum<{
|
|
5330
5366
|
pending: "pending";
|
|
5367
|
+
pending_verification: "pending_verification";
|
|
5331
5368
|
completed: "completed";
|
|
5332
5369
|
cancelled: "cancelled";
|
|
5333
5370
|
failed: "failed";
|
|
@@ -5375,6 +5412,7 @@ declare class CreateSubscriptionPurchase extends AbstractApiRequest<typeof creat
|
|
|
5375
5412
|
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>>;
|
|
5376
5413
|
status: z.ZodEnum<{
|
|
5377
5414
|
pending: "pending";
|
|
5415
|
+
pending_verification: "pending_verification";
|
|
5378
5416
|
completed: "completed";
|
|
5379
5417
|
cancelled: "cancelled";
|
|
5380
5418
|
failed: "failed";
|
|
@@ -5419,6 +5457,7 @@ declare const getSubscriptionPurchaseDetailsResponseSchema: z.ZodObject<{
|
|
|
5419
5457
|
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>>;
|
|
5420
5458
|
status: z.ZodEnum<{
|
|
5421
5459
|
pending: "pending";
|
|
5460
|
+
pending_verification: "pending_verification";
|
|
5422
5461
|
completed: "completed";
|
|
5423
5462
|
cancelled: "cancelled";
|
|
5424
5463
|
failed: "failed";
|
|
@@ -5461,6 +5500,7 @@ declare class GetSubscriptionPurchaseDetails extends AbstractApiRequest<typeof g
|
|
|
5461
5500
|
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>>;
|
|
5462
5501
|
status: z.ZodEnum<{
|
|
5463
5502
|
pending: "pending";
|
|
5503
|
+
pending_verification: "pending_verification";
|
|
5464
5504
|
completed: "completed";
|
|
5465
5505
|
cancelled: "cancelled";
|
|
5466
5506
|
failed: "failed";
|
|
@@ -5514,6 +5554,7 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
5514
5554
|
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>>;
|
|
5515
5555
|
status: z.ZodEnum<{
|
|
5516
5556
|
pending: "pending";
|
|
5557
|
+
pending_verification: "pending_verification";
|
|
5517
5558
|
completed: "completed";
|
|
5518
5559
|
cancelled: "cancelled";
|
|
5519
5560
|
failed: "failed";
|
|
@@ -5555,11 +5596,13 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
5555
5596
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5556
5597
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5557
5598
|
pending: "pending";
|
|
5599
|
+
pending_verification: "pending_verification";
|
|
5558
5600
|
completed: "completed";
|
|
5559
5601
|
cancelled: "cancelled";
|
|
5560
5602
|
failed: "failed";
|
|
5561
5603
|
}>, z.ZodArray<z.ZodEnum<{
|
|
5562
5604
|
pending: "pending";
|
|
5605
|
+
pending_verification: "pending_verification";
|
|
5563
5606
|
completed: "completed";
|
|
5564
5607
|
cancelled: "cancelled";
|
|
5565
5608
|
failed: "failed";
|
|
@@ -5622,6 +5665,7 @@ declare class GetSubscriptionPurchases extends AbstractApiRequest<typeof getSubs
|
|
|
5622
5665
|
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>>;
|
|
5623
5666
|
status: z.ZodEnum<{
|
|
5624
5667
|
pending: "pending";
|
|
5668
|
+
pending_verification: "pending_verification";
|
|
5625
5669
|
completed: "completed";
|
|
5626
5670
|
cancelled: "cancelled";
|
|
5627
5671
|
failed: "failed";
|
|
@@ -5672,6 +5716,7 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5672
5716
|
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>>;
|
|
5673
5717
|
status: z.ZodEnum<{
|
|
5674
5718
|
pending: "pending";
|
|
5719
|
+
pending_verification: "pending_verification";
|
|
5675
5720
|
completed: "completed";
|
|
5676
5721
|
cancelled: "cancelled";
|
|
5677
5722
|
failed: "failed";
|
|
@@ -5713,11 +5758,13 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5713
5758
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
5714
5759
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
5715
5760
|
pending: "pending";
|
|
5761
|
+
pending_verification: "pending_verification";
|
|
5716
5762
|
completed: "completed";
|
|
5717
5763
|
cancelled: "cancelled";
|
|
5718
5764
|
failed: "failed";
|
|
5719
5765
|
}>, z.ZodArray<z.ZodEnum<{
|
|
5720
5766
|
pending: "pending";
|
|
5767
|
+
pending_verification: "pending_verification";
|
|
5721
5768
|
completed: "completed";
|
|
5722
5769
|
cancelled: "cancelled";
|
|
5723
5770
|
failed: "failed";
|
|
@@ -5780,6 +5827,7 @@ declare class GetSubscriptionPurchasesFromPointOfSale extends AbstractApiRequest
|
|
|
5780
5827
|
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>>;
|
|
5781
5828
|
status: z.ZodEnum<{
|
|
5782
5829
|
pending: "pending";
|
|
5830
|
+
pending_verification: "pending_verification";
|
|
5783
5831
|
completed: "completed";
|
|
5784
5832
|
cancelled: "cancelled";
|
|
5785
5833
|
failed: "failed";
|
|
@@ -5917,6 +5965,7 @@ declare const refundSubscriptionPurchaseResponseSchema: z.ZodObject<{
|
|
|
5917
5965
|
id: z.ZodString;
|
|
5918
5966
|
status: z.ZodEnum<{
|
|
5919
5967
|
pending: "pending";
|
|
5968
|
+
pending_verification: "pending_verification";
|
|
5920
5969
|
completed: "completed";
|
|
5921
5970
|
cancelled: "cancelled";
|
|
5922
5971
|
failed: "failed";
|
|
@@ -5984,6 +6033,7 @@ declare class RefundSubscriptionPurchase extends AbstractApiRequest<typeof refun
|
|
|
5984
6033
|
id: z.ZodString;
|
|
5985
6034
|
status: z.ZodEnum<{
|
|
5986
6035
|
pending: "pending";
|
|
6036
|
+
pending_verification: "pending_verification";
|
|
5987
6037
|
completed: "completed";
|
|
5988
6038
|
cancelled: "cancelled";
|
|
5989
6039
|
failed: "failed";
|
|
@@ -6692,6 +6742,7 @@ declare const cancelSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
|
6692
6742
|
id: z.ZodString;
|
|
6693
6743
|
status: z.ZodEnum<{
|
|
6694
6744
|
pending: "pending";
|
|
6745
|
+
pending_verification: "pending_verification";
|
|
6695
6746
|
failed: "failed";
|
|
6696
6747
|
cancelled: "cancelled";
|
|
6697
6748
|
completed: "completed";
|
|
@@ -6761,6 +6812,7 @@ declare class CancelSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
|
|
|
6761
6812
|
id: z.ZodString;
|
|
6762
6813
|
status: z.ZodEnum<{
|
|
6763
6814
|
pending: "pending";
|
|
6815
|
+
pending_verification: "pending_verification";
|
|
6764
6816
|
failed: "failed";
|
|
6765
6817
|
cancelled: "cancelled";
|
|
6766
6818
|
completed: "completed";
|
|
@@ -6834,6 +6886,7 @@ declare const createSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
|
6834
6886
|
id: z.ZodString;
|
|
6835
6887
|
status: z.ZodEnum<{
|
|
6836
6888
|
pending: "pending";
|
|
6889
|
+
pending_verification: "pending_verification";
|
|
6837
6890
|
failed: "failed";
|
|
6838
6891
|
cancelled: "cancelled";
|
|
6839
6892
|
completed: "completed";
|
|
@@ -6861,6 +6914,7 @@ declare class CreateSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
|
|
|
6861
6914
|
id: z.ZodString;
|
|
6862
6915
|
status: z.ZodEnum<{
|
|
6863
6916
|
pending: "pending";
|
|
6917
|
+
pending_verification: "pending_verification";
|
|
6864
6918
|
failed: "failed";
|
|
6865
6919
|
cancelled: "cancelled";
|
|
6866
6920
|
completed: "completed";
|
|
@@ -6902,6 +6956,7 @@ declare const getSubscriptionTimeBasedRenewalDetailsResponseSchema: z.ZodObject<
|
|
|
6902
6956
|
id: z.ZodString;
|
|
6903
6957
|
status: z.ZodEnum<{
|
|
6904
6958
|
pending: "pending";
|
|
6959
|
+
pending_verification: "pending_verification";
|
|
6905
6960
|
failed: "failed";
|
|
6906
6961
|
cancelled: "cancelled";
|
|
6907
6962
|
completed: "completed";
|
|
@@ -6926,6 +6981,7 @@ declare class GetSubscriptionTimeBasedRenewalDetails extends AbstractApiRequest<
|
|
|
6926
6981
|
id: z.ZodString;
|
|
6927
6982
|
status: z.ZodEnum<{
|
|
6928
6983
|
pending: "pending";
|
|
6984
|
+
pending_verification: "pending_verification";
|
|
6929
6985
|
failed: "failed";
|
|
6930
6986
|
cancelled: "cancelled";
|
|
6931
6987
|
completed: "completed";
|
|
@@ -6961,6 +7017,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
|
|
|
6961
7017
|
id: z.ZodString;
|
|
6962
7018
|
status: z.ZodEnum<{
|
|
6963
7019
|
pending: "pending";
|
|
7020
|
+
pending_verification: "pending_verification";
|
|
6964
7021
|
failed: "failed";
|
|
6965
7022
|
cancelled: "cancelled";
|
|
6966
7023
|
completed: "completed";
|
|
@@ -6987,11 +7044,13 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
|
|
|
6987
7044
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6988
7045
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
6989
7046
|
pending: "pending";
|
|
7047
|
+
pending_verification: "pending_verification";
|
|
6990
7048
|
failed: "failed";
|
|
6991
7049
|
cancelled: "cancelled";
|
|
6992
7050
|
completed: "completed";
|
|
6993
7051
|
}>, z.ZodArray<z.ZodEnum<{
|
|
6994
7052
|
pending: "pending";
|
|
7053
|
+
pending_verification: "pending_verification";
|
|
6995
7054
|
failed: "failed";
|
|
6996
7055
|
cancelled: "cancelled";
|
|
6997
7056
|
completed: "completed";
|
|
@@ -7029,6 +7088,7 @@ declare class GetSubscriptionTimeBasedRenewals extends AbstractApiRequest<typeof
|
|
|
7029
7088
|
id: z.ZodString;
|
|
7030
7089
|
status: z.ZodEnum<{
|
|
7031
7090
|
pending: "pending";
|
|
7091
|
+
pending_verification: "pending_verification";
|
|
7032
7092
|
failed: "failed";
|
|
7033
7093
|
cancelled: "cancelled";
|
|
7034
7094
|
completed: "completed";
|
|
@@ -7063,6 +7123,7 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
|
|
|
7063
7123
|
id: z.ZodString;
|
|
7064
7124
|
status: z.ZodEnum<{
|
|
7065
7125
|
pending: "pending";
|
|
7126
|
+
pending_verification: "pending_verification";
|
|
7066
7127
|
failed: "failed";
|
|
7067
7128
|
cancelled: "cancelled";
|
|
7068
7129
|
completed: "completed";
|
|
@@ -7089,11 +7150,13 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
|
|
|
7089
7150
|
id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7090
7151
|
status: z.ZodOptional<z.ZodUnion<readonly [z.ZodEnum<{
|
|
7091
7152
|
pending: "pending";
|
|
7153
|
+
pending_verification: "pending_verification";
|
|
7092
7154
|
failed: "failed";
|
|
7093
7155
|
cancelled: "cancelled";
|
|
7094
7156
|
completed: "completed";
|
|
7095
7157
|
}>, z.ZodArray<z.ZodEnum<{
|
|
7096
7158
|
pending: "pending";
|
|
7159
|
+
pending_verification: "pending_verification";
|
|
7097
7160
|
failed: "failed";
|
|
7098
7161
|
cancelled: "cancelled";
|
|
7099
7162
|
completed: "completed";
|
|
@@ -7131,6 +7194,7 @@ declare class GetSubscriptionTimeBasedRenewalsFromSubscriptionTimeBased extends
|
|
|
7131
7194
|
id: z.ZodString;
|
|
7132
7195
|
status: z.ZodEnum<{
|
|
7133
7196
|
pending: "pending";
|
|
7197
|
+
pending_verification: "pending_verification";
|
|
7134
7198
|
failed: "failed";
|
|
7135
7199
|
cancelled: "cancelled";
|
|
7136
7200
|
completed: "completed";
|
|
@@ -7253,6 +7317,7 @@ declare const refundSubscriptionTimeBasedRenewalResponseSchema: z.ZodObject<{
|
|
|
7253
7317
|
id: z.ZodString;
|
|
7254
7318
|
status: z.ZodEnum<{
|
|
7255
7319
|
pending: "pending";
|
|
7320
|
+
pending_verification: "pending_verification";
|
|
7256
7321
|
failed: "failed";
|
|
7257
7322
|
cancelled: "cancelled";
|
|
7258
7323
|
completed: "completed";
|
|
@@ -7322,6 +7387,7 @@ declare class RefundSubscriptionTimeBasedRenewal extends AbstractApiRequest<type
|
|
|
7322
7387
|
id: z.ZodString;
|
|
7323
7388
|
status: z.ZodEnum<{
|
|
7324
7389
|
pending: "pending";
|
|
7390
|
+
pending_verification: "pending_verification";
|
|
7325
7391
|
failed: "failed";
|
|
7326
7392
|
cancelled: "cancelled";
|
|
7327
7393
|
completed: "completed";
|
package/dist/index.js
CHANGED
|
@@ -13818,7 +13818,13 @@ var subscriptionAvailabilityReasons = [
|
|
|
13818
13818
|
"operation_not_allowed"
|
|
13819
13819
|
];
|
|
13820
13820
|
var subscriptionAvailabilityReasonSchema = external_exports.enum(subscriptionAvailabilityReasons);
|
|
13821
|
-
var subscriptionPurchaseStatuses = [
|
|
13821
|
+
var subscriptionPurchaseStatuses = [
|
|
13822
|
+
"pending",
|
|
13823
|
+
"pending_verification",
|
|
13824
|
+
"completed",
|
|
13825
|
+
"cancelled",
|
|
13826
|
+
"failed"
|
|
13827
|
+
];
|
|
13822
13828
|
var subscriptionPurchaseStatusSchema = external_exports.enum(subscriptionPurchaseStatuses);
|
|
13823
13829
|
var resolvableRenewalPaymentStatuses = ["paid", "failed", "canceled"];
|
|
13824
13830
|
var resolvableRenewalPaymentStatusSchema = external_exports.enum(resolvableRenewalPaymentStatuses);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deliverart/sdk-js-subscription",
|
|
3
3
|
"description": "Deliverart JavaScript SDK for Subscription Management",
|
|
4
|
-
"version": "2.14.
|
|
4
|
+
"version": "2.14.1",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@deliverart/sdk-js-core": "2.14.
|
|
22
|
-
"@deliverart/sdk-js-
|
|
23
|
-
"@deliverart/sdk-js-
|
|
21
|
+
"@deliverart/sdk-js-core": "2.14.1",
|
|
22
|
+
"@deliverart/sdk-js-point-of-sale": "2.14.1",
|
|
23
|
+
"@deliverart/sdk-js-global-types": "2.14.1"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|