@revkeen/sdk 1.20260619.1193 → 1.20260620.1197
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 +44 -1
- package/dist/index.d.ts +44 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -3247,10 +3247,22 @@ type Price = {
|
|
|
3247
3247
|
* PWYW: quick-select amounts
|
|
3248
3248
|
*/
|
|
3249
3249
|
preset_amounts?: Array<number> | null;
|
|
3250
|
+
/**
|
|
3251
|
+
* Customer-facing price name (e.g., 'Morning', 'Full day')
|
|
3252
|
+
*/
|
|
3253
|
+
name?: string | null;
|
|
3250
3254
|
/**
|
|
3251
3255
|
* Display name (e.g., 'Monthly', 'Annual - Save 17%')
|
|
3252
3256
|
*/
|
|
3253
3257
|
nickname?: string | null;
|
|
3258
|
+
/**
|
|
3259
|
+
* Description of this price option
|
|
3260
|
+
*/
|
|
3261
|
+
description?: string | null;
|
|
3262
|
+
/**
|
|
3263
|
+
* Immutable version for this price row
|
|
3264
|
+
*/
|
|
3265
|
+
version: number;
|
|
3254
3266
|
/**
|
|
3255
3267
|
* Stable key for API lookups
|
|
3256
3268
|
*/
|
|
@@ -3380,10 +3392,18 @@ type CreatePriceRequest = {
|
|
|
3380
3392
|
* PWYW: quick-select amounts (max 10)
|
|
3381
3393
|
*/
|
|
3382
3394
|
preset_amounts?: Array<number>;
|
|
3395
|
+
/**
|
|
3396
|
+
* Customer-facing price name (e.g., 'Morning', 'Full day')
|
|
3397
|
+
*/
|
|
3398
|
+
name?: string;
|
|
3383
3399
|
/**
|
|
3384
3400
|
* Display name (e.g., 'Monthly', 'Annual')
|
|
3385
3401
|
*/
|
|
3386
3402
|
nickname?: string;
|
|
3403
|
+
/**
|
|
3404
|
+
* Description of this price option
|
|
3405
|
+
*/
|
|
3406
|
+
description?: string;
|
|
3387
3407
|
/**
|
|
3388
3408
|
* Stable key for API lookups
|
|
3389
3409
|
*/
|
|
@@ -3433,10 +3453,18 @@ type UpdatePriceRequest = {
|
|
|
3433
3453
|
* Whether the price is active
|
|
3434
3454
|
*/
|
|
3435
3455
|
active?: boolean;
|
|
3456
|
+
/**
|
|
3457
|
+
* Customer-facing price name
|
|
3458
|
+
*/
|
|
3459
|
+
name?: string | null;
|
|
3436
3460
|
/**
|
|
3437
3461
|
* Display name
|
|
3438
3462
|
*/
|
|
3439
3463
|
nickname?: string | null;
|
|
3464
|
+
/**
|
|
3465
|
+
* Description of this price option
|
|
3466
|
+
*/
|
|
3467
|
+
description?: string | null;
|
|
3440
3468
|
/**
|
|
3441
3469
|
* Stable key for API lookups
|
|
3442
3470
|
*/
|
|
@@ -3664,6 +3692,18 @@ type CreateMeterPriceRequest = {
|
|
|
3664
3692
|
* Merchant's cost per unit for margin intelligence
|
|
3665
3693
|
*/
|
|
3666
3694
|
cost_per_unit_minor?: number;
|
|
3695
|
+
/**
|
|
3696
|
+
* Customer-facing price name
|
|
3697
|
+
*/
|
|
3698
|
+
name?: string;
|
|
3699
|
+
/**
|
|
3700
|
+
* Internal price nickname
|
|
3701
|
+
*/
|
|
3702
|
+
nickname?: string;
|
|
3703
|
+
/**
|
|
3704
|
+
* Description of this price option
|
|
3705
|
+
*/
|
|
3706
|
+
description?: string;
|
|
3667
3707
|
/**
|
|
3668
3708
|
* Tier configuration (for graduated and volume)
|
|
3669
3709
|
*/
|
|
@@ -3709,6 +3749,9 @@ type UpdateMeterPriceRequest = {
|
|
|
3709
3749
|
flat_fee_minor?: number;
|
|
3710
3750
|
package_size?: number;
|
|
3711
3751
|
cost_per_unit_minor?: number;
|
|
3752
|
+
name?: string | null;
|
|
3753
|
+
nickname?: string | null;
|
|
3754
|
+
description?: string | null;
|
|
3712
3755
|
tiers?: Array<{
|
|
3713
3756
|
/**
|
|
3714
3757
|
* Start of tier range
|
|
@@ -13477,7 +13520,7 @@ declare const pricesGet: <ThrowOnError extends boolean = false>(options: Options
|
|
|
13477
13520
|
/**
|
|
13478
13521
|
* Update a price
|
|
13479
13522
|
*
|
|
13480
|
-
* Updates a price. Only certain fields can be updated (active, nickname, lookup_key, metadata). Core pricing fields are immutable.
|
|
13523
|
+
* Updates a price. Only certain fields can be updated (active, name, nickname, lookup_key, metadata). Core pricing fields are immutable.
|
|
13481
13524
|
*
|
|
13482
13525
|
* ---
|
|
13483
13526
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -3247,10 +3247,22 @@ type Price = {
|
|
|
3247
3247
|
* PWYW: quick-select amounts
|
|
3248
3248
|
*/
|
|
3249
3249
|
preset_amounts?: Array<number> | null;
|
|
3250
|
+
/**
|
|
3251
|
+
* Customer-facing price name (e.g., 'Morning', 'Full day')
|
|
3252
|
+
*/
|
|
3253
|
+
name?: string | null;
|
|
3250
3254
|
/**
|
|
3251
3255
|
* Display name (e.g., 'Monthly', 'Annual - Save 17%')
|
|
3252
3256
|
*/
|
|
3253
3257
|
nickname?: string | null;
|
|
3258
|
+
/**
|
|
3259
|
+
* Description of this price option
|
|
3260
|
+
*/
|
|
3261
|
+
description?: string | null;
|
|
3262
|
+
/**
|
|
3263
|
+
* Immutable version for this price row
|
|
3264
|
+
*/
|
|
3265
|
+
version: number;
|
|
3254
3266
|
/**
|
|
3255
3267
|
* Stable key for API lookups
|
|
3256
3268
|
*/
|
|
@@ -3380,10 +3392,18 @@ type CreatePriceRequest = {
|
|
|
3380
3392
|
* PWYW: quick-select amounts (max 10)
|
|
3381
3393
|
*/
|
|
3382
3394
|
preset_amounts?: Array<number>;
|
|
3395
|
+
/**
|
|
3396
|
+
* Customer-facing price name (e.g., 'Morning', 'Full day')
|
|
3397
|
+
*/
|
|
3398
|
+
name?: string;
|
|
3383
3399
|
/**
|
|
3384
3400
|
* Display name (e.g., 'Monthly', 'Annual')
|
|
3385
3401
|
*/
|
|
3386
3402
|
nickname?: string;
|
|
3403
|
+
/**
|
|
3404
|
+
* Description of this price option
|
|
3405
|
+
*/
|
|
3406
|
+
description?: string;
|
|
3387
3407
|
/**
|
|
3388
3408
|
* Stable key for API lookups
|
|
3389
3409
|
*/
|
|
@@ -3433,10 +3453,18 @@ type UpdatePriceRequest = {
|
|
|
3433
3453
|
* Whether the price is active
|
|
3434
3454
|
*/
|
|
3435
3455
|
active?: boolean;
|
|
3456
|
+
/**
|
|
3457
|
+
* Customer-facing price name
|
|
3458
|
+
*/
|
|
3459
|
+
name?: string | null;
|
|
3436
3460
|
/**
|
|
3437
3461
|
* Display name
|
|
3438
3462
|
*/
|
|
3439
3463
|
nickname?: string | null;
|
|
3464
|
+
/**
|
|
3465
|
+
* Description of this price option
|
|
3466
|
+
*/
|
|
3467
|
+
description?: string | null;
|
|
3440
3468
|
/**
|
|
3441
3469
|
* Stable key for API lookups
|
|
3442
3470
|
*/
|
|
@@ -3664,6 +3692,18 @@ type CreateMeterPriceRequest = {
|
|
|
3664
3692
|
* Merchant's cost per unit for margin intelligence
|
|
3665
3693
|
*/
|
|
3666
3694
|
cost_per_unit_minor?: number;
|
|
3695
|
+
/**
|
|
3696
|
+
* Customer-facing price name
|
|
3697
|
+
*/
|
|
3698
|
+
name?: string;
|
|
3699
|
+
/**
|
|
3700
|
+
* Internal price nickname
|
|
3701
|
+
*/
|
|
3702
|
+
nickname?: string;
|
|
3703
|
+
/**
|
|
3704
|
+
* Description of this price option
|
|
3705
|
+
*/
|
|
3706
|
+
description?: string;
|
|
3667
3707
|
/**
|
|
3668
3708
|
* Tier configuration (for graduated and volume)
|
|
3669
3709
|
*/
|
|
@@ -3709,6 +3749,9 @@ type UpdateMeterPriceRequest = {
|
|
|
3709
3749
|
flat_fee_minor?: number;
|
|
3710
3750
|
package_size?: number;
|
|
3711
3751
|
cost_per_unit_minor?: number;
|
|
3752
|
+
name?: string | null;
|
|
3753
|
+
nickname?: string | null;
|
|
3754
|
+
description?: string | null;
|
|
3712
3755
|
tiers?: Array<{
|
|
3713
3756
|
/**
|
|
3714
3757
|
* Start of tier range
|
|
@@ -13477,7 +13520,7 @@ declare const pricesGet: <ThrowOnError extends boolean = false>(options: Options
|
|
|
13477
13520
|
/**
|
|
13478
13521
|
* Update a price
|
|
13479
13522
|
*
|
|
13480
|
-
* Updates a price. Only certain fields can be updated (active, nickname, lookup_key, metadata). Core pricing fields are immutable.
|
|
13523
|
+
* Updates a price. Only certain fields can be updated (active, name, nickname, lookup_key, metadata). Core pricing fields are immutable.
|
|
13481
13524
|
*
|
|
13482
13525
|
* ---
|
|
13483
13526
|
*
|