@revkeen/sdk 1.20260616.1189 → 1.20260619.1193
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +24 -0
- package/dist/index.d.ts +24 -0
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2357,6 +2357,14 @@ type Dispute = {
|
|
|
2357
2357
|
* Name of the payment processor that handled the original transaction
|
|
2358
2358
|
*/
|
|
2359
2359
|
gateway: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* Rail/payment method for the disputed transaction
|
|
2362
|
+
*/
|
|
2363
|
+
payment_rail: string | null;
|
|
2364
|
+
/**
|
|
2365
|
+
* Rail-specific dispute subtype, when available
|
|
2366
|
+
*/
|
|
2367
|
+
dispute_kind: string | null;
|
|
2360
2368
|
/**
|
|
2361
2369
|
* Dispute identifier assigned by the payment gateway
|
|
2362
2370
|
*/
|
|
@@ -2458,6 +2466,14 @@ type OpenDispute = {
|
|
|
2458
2466
|
* Payment gateway that processed the original transaction
|
|
2459
2467
|
*/
|
|
2460
2468
|
gateway: string;
|
|
2469
|
+
/**
|
|
2470
|
+
* Rail/payment method for the disputed transaction
|
|
2471
|
+
*/
|
|
2472
|
+
payment_rail: string | null;
|
|
2473
|
+
/**
|
|
2474
|
+
* Rail-specific dispute subtype, when available
|
|
2475
|
+
*/
|
|
2476
|
+
dispute_kind: string | null;
|
|
2461
2477
|
/**
|
|
2462
2478
|
* Disputed amount in cents
|
|
2463
2479
|
*/
|
|
@@ -3211,6 +3227,10 @@ type Price = {
|
|
|
3211
3227
|
* Trial period in days (recurring only)
|
|
3212
3228
|
*/
|
|
3213
3229
|
trial_period_days?: number | null;
|
|
3230
|
+
/**
|
|
3231
|
+
* First-charge behavior for recurring checkout. `immediate`: full first period now. `next_anchor`: first charge on the billing anchor. `prorate`: prorated stub now, then full charge on the billing anchor.
|
|
3232
|
+
*/
|
|
3233
|
+
start_rule?: 'immediate' | 'next_anchor' | 'prorate' | null;
|
|
3214
3234
|
/**
|
|
3215
3235
|
* PWYW: minimum amount in cents
|
|
3216
3236
|
*/
|
|
@@ -3340,6 +3360,10 @@ type CreatePriceRequest = {
|
|
|
3340
3360
|
* Trial period in days (0-730)
|
|
3341
3361
|
*/
|
|
3342
3362
|
trial_period_days?: number;
|
|
3363
|
+
/**
|
|
3364
|
+
* First-charge behavior for recurring checkout. `immediate`: full first period now. `next_anchor`: first charge on the billing anchor. `prorate`: prorated stub now, then full charge on the billing anchor.
|
|
3365
|
+
*/
|
|
3366
|
+
start_rule?: 'immediate' | 'next_anchor' | 'prorate';
|
|
3343
3367
|
/**
|
|
3344
3368
|
* PWYW: minimum amount in cents
|
|
3345
3369
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -2357,6 +2357,14 @@ type Dispute = {
|
|
|
2357
2357
|
* Name of the payment processor that handled the original transaction
|
|
2358
2358
|
*/
|
|
2359
2359
|
gateway: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* Rail/payment method for the disputed transaction
|
|
2362
|
+
*/
|
|
2363
|
+
payment_rail: string | null;
|
|
2364
|
+
/**
|
|
2365
|
+
* Rail-specific dispute subtype, when available
|
|
2366
|
+
*/
|
|
2367
|
+
dispute_kind: string | null;
|
|
2360
2368
|
/**
|
|
2361
2369
|
* Dispute identifier assigned by the payment gateway
|
|
2362
2370
|
*/
|
|
@@ -2458,6 +2466,14 @@ type OpenDispute = {
|
|
|
2458
2466
|
* Payment gateway that processed the original transaction
|
|
2459
2467
|
*/
|
|
2460
2468
|
gateway: string;
|
|
2469
|
+
/**
|
|
2470
|
+
* Rail/payment method for the disputed transaction
|
|
2471
|
+
*/
|
|
2472
|
+
payment_rail: string | null;
|
|
2473
|
+
/**
|
|
2474
|
+
* Rail-specific dispute subtype, when available
|
|
2475
|
+
*/
|
|
2476
|
+
dispute_kind: string | null;
|
|
2461
2477
|
/**
|
|
2462
2478
|
* Disputed amount in cents
|
|
2463
2479
|
*/
|
|
@@ -3211,6 +3227,10 @@ type Price = {
|
|
|
3211
3227
|
* Trial period in days (recurring only)
|
|
3212
3228
|
*/
|
|
3213
3229
|
trial_period_days?: number | null;
|
|
3230
|
+
/**
|
|
3231
|
+
* First-charge behavior for recurring checkout. `immediate`: full first period now. `next_anchor`: first charge on the billing anchor. `prorate`: prorated stub now, then full charge on the billing anchor.
|
|
3232
|
+
*/
|
|
3233
|
+
start_rule?: 'immediate' | 'next_anchor' | 'prorate' | null;
|
|
3214
3234
|
/**
|
|
3215
3235
|
* PWYW: minimum amount in cents
|
|
3216
3236
|
*/
|
|
@@ -3340,6 +3360,10 @@ type CreatePriceRequest = {
|
|
|
3340
3360
|
* Trial period in days (0-730)
|
|
3341
3361
|
*/
|
|
3342
3362
|
trial_period_days?: number;
|
|
3363
|
+
/**
|
|
3364
|
+
* First-charge behavior for recurring checkout. `immediate`: full first period now. `next_anchor`: first charge on the billing anchor. `prorate`: prorated stub now, then full charge on the billing anchor.
|
|
3365
|
+
*/
|
|
3366
|
+
start_rule?: 'immediate' | 'next_anchor' | 'prorate';
|
|
3343
3367
|
/**
|
|
3344
3368
|
* PWYW: minimum amount in cents
|
|
3345
3369
|
*/
|