orb-billing 5.17.0 → 5.18.0

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.
@@ -190,7 +190,7 @@ export declare namespace PriceEvaluatePreviewEventsResponse {
190
190
  price_id?: string | null;
191
191
  }
192
192
  }
193
- export type PriceCreateParams = PriceCreateParams.NewFloatingUnitPrice | PriceCreateParams.NewFloatingTieredPrice | PriceCreateParams.NewFloatingBulkPrice | PriceCreateParams.NewFloatingPackagePrice | PriceCreateParams.NewFloatingMatrixPrice | PriceCreateParams.NewFloatingThresholdTotalAmountPrice | PriceCreateParams.NewFloatingTieredPackagePrice | PriceCreateParams.NewFloatingTieredWithMinimumPrice | PriceCreateParams.NewFloatingGroupedTieredPrice | PriceCreateParams.NewFloatingTieredPackageWithMinimumPrice | PriceCreateParams.NewFloatingPackageWithAllocationPrice | PriceCreateParams.NewFloatingUnitWithPercentPrice | PriceCreateParams.NewFloatingMatrixWithAllocationPrice | PriceCreateParams.NewFloatingTieredWithProrationPrice | PriceCreateParams.NewFloatingUnitWithProrationPrice | PriceCreateParams.NewFloatingGroupedAllocationPrice | PriceCreateParams.NewFloatingBulkWithProrationPrice | PriceCreateParams.NewFloatingGroupedWithProratedMinimumPrice | PriceCreateParams.NewFloatingGroupedWithMeteredMinimumPrice | PriceCreateParams.NewFloatingGroupedWithMinMaxThresholdsPrice | PriceCreateParams.NewFloatingMatrixWithDisplayNamePrice | PriceCreateParams.NewFloatingGroupedTieredPackagePrice | PriceCreateParams.NewFloatingMaxGroupTieredPackagePrice | PriceCreateParams.NewFloatingScalableMatrixWithUnitPricingPrice | PriceCreateParams.NewFloatingScalableMatrixWithTieredPricingPrice | PriceCreateParams.NewFloatingCumulativeGroupedBulkPrice | PriceCreateParams.NewFloatingMinimumCompositePrice | PriceCreateParams.NewFloatingPercentCompositePrice | PriceCreateParams.NewFloatingEventOutputPrice;
193
+ export type PriceCreateParams = PriceCreateParams.NewFloatingUnitPrice | PriceCreateParams.NewFloatingTieredPrice | PriceCreateParams.NewFloatingBulkPrice | PriceCreateParams.NewFloatingBulkWithFiltersPrice | PriceCreateParams.NewFloatingPackagePrice | PriceCreateParams.NewFloatingMatrixPrice | PriceCreateParams.NewFloatingThresholdTotalAmountPrice | PriceCreateParams.NewFloatingTieredPackagePrice | PriceCreateParams.NewFloatingTieredWithMinimumPrice | PriceCreateParams.NewFloatingGroupedTieredPrice | PriceCreateParams.NewFloatingTieredPackageWithMinimumPrice | PriceCreateParams.NewFloatingPackageWithAllocationPrice | PriceCreateParams.NewFloatingUnitWithPercentPrice | PriceCreateParams.NewFloatingMatrixWithAllocationPrice | PriceCreateParams.NewFloatingTieredWithProrationPrice | PriceCreateParams.NewFloatingUnitWithProrationPrice | PriceCreateParams.NewFloatingGroupedAllocationPrice | PriceCreateParams.NewFloatingBulkWithProrationPrice | PriceCreateParams.NewFloatingGroupedWithProratedMinimumPrice | PriceCreateParams.NewFloatingGroupedWithMeteredMinimumPrice | PriceCreateParams.NewFloatingGroupedWithMinMaxThresholdsPrice | PriceCreateParams.NewFloatingMatrixWithDisplayNamePrice | PriceCreateParams.NewFloatingGroupedTieredPackagePrice | PriceCreateParams.NewFloatingMaxGroupTieredPackagePrice | PriceCreateParams.NewFloatingScalableMatrixWithUnitPricingPrice | PriceCreateParams.NewFloatingScalableMatrixWithTieredPricingPrice | PriceCreateParams.NewFloatingCumulativeGroupedBulkPrice | PriceCreateParams.NewFloatingMinimumCompositePrice | PriceCreateParams.NewFloatingPercentCompositePrice | PriceCreateParams.NewFloatingEventOutputPrice;
194
194
  export declare namespace PriceCreateParams {
195
195
  interface NewFloatingUnitPrice {
196
196
  /**
@@ -429,6 +429,128 @@ export declare namespace PriceCreateParams {
429
429
  [key: string]: string | null;
430
430
  } | null;
431
431
  }
432
+ interface NewFloatingBulkWithFiltersPrice {
433
+ /**
434
+ * Configuration for bulk_with_filters pricing
435
+ */
436
+ bulk_with_filters_config: NewFloatingBulkWithFiltersPrice.BulkWithFiltersConfig;
437
+ /**
438
+ * The cadence to bill for this price on.
439
+ */
440
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
441
+ /**
442
+ * An ISO 4217 currency string for which this price is billed in.
443
+ */
444
+ currency: string;
445
+ /**
446
+ * The id of the item the price will be associated with.
447
+ */
448
+ item_id: string;
449
+ /**
450
+ * The pricing model type
451
+ */
452
+ model_type: 'bulk_with_filters';
453
+ /**
454
+ * The name of the price.
455
+ */
456
+ name: string;
457
+ /**
458
+ * The id of the billable metric for the price. Only needed if the price is
459
+ * usage-based.
460
+ */
461
+ billable_metric_id?: string | null;
462
+ /**
463
+ * If the Price represents a fixed cost, the price will be billed in-advance if
464
+ * this is true, and in-arrears if this is false.
465
+ */
466
+ billed_in_advance?: boolean | null;
467
+ /**
468
+ * For custom cadence: specifies the duration of the billing period in days or
469
+ * months.
470
+ */
471
+ billing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
472
+ /**
473
+ * The per unit conversion rate of the price currency to the invoicing currency.
474
+ */
475
+ conversion_rate?: number | null;
476
+ /**
477
+ * The configuration for the rate of the price currency to the invoicing currency.
478
+ */
479
+ conversion_rate_config?: Shared.UnitConversionRateConfig | Shared.TieredConversionRateConfig | null;
480
+ /**
481
+ * For dimensional price: specifies a price group and dimension values
482
+ */
483
+ dimensional_price_configuration?: Shared.NewDimensionalPriceConfiguration | null;
484
+ /**
485
+ * An alias for the price.
486
+ */
487
+ external_price_id?: string | null;
488
+ /**
489
+ * If the Price represents a fixed cost, this represents the quantity of units
490
+ * applied.
491
+ */
492
+ fixed_price_quantity?: number | null;
493
+ /**
494
+ * The property used to group this price on an invoice
495
+ */
496
+ invoice_grouping_key?: string | null;
497
+ /**
498
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
499
+ * If unspecified, a single invoice is produced per billing cycle.
500
+ */
501
+ invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
502
+ /**
503
+ * User-specified key/value pairs for the resource. Individual keys can be removed
504
+ * by setting the value to `null`, and the entire metadata mapping can be cleared
505
+ * by setting `metadata` to `null`.
506
+ */
507
+ metadata?: {
508
+ [key: string]: string | null;
509
+ } | null;
510
+ }
511
+ namespace NewFloatingBulkWithFiltersPrice {
512
+ /**
513
+ * Configuration for bulk_with_filters pricing
514
+ */
515
+ interface BulkWithFiltersConfig {
516
+ /**
517
+ * Property filters to apply (all must match)
518
+ */
519
+ filters: Array<BulkWithFiltersConfig.Filter>;
520
+ /**
521
+ * Bulk tiers for rating based on total usage volume
522
+ */
523
+ tiers: Array<BulkWithFiltersConfig.Tier>;
524
+ }
525
+ namespace BulkWithFiltersConfig {
526
+ /**
527
+ * Configuration for a single property filter
528
+ */
529
+ interface Filter {
530
+ /**
531
+ * Event property key to filter on
532
+ */
533
+ property_key: string;
534
+ /**
535
+ * Event property value to match
536
+ */
537
+ property_value: string;
538
+ }
539
+ /**
540
+ * Configuration for a single bulk pricing tier
541
+ */
542
+ interface Tier {
543
+ /**
544
+ * Amount per unit
545
+ */
546
+ unit_amount: string;
547
+ /**
548
+ * The lower bound for this tier
549
+ */
550
+ tier_lower_bound?: string | null;
551
+ }
552
+ }
553
+ }
432
554
  interface NewFloatingPackagePrice {
433
555
  /**
434
556
  * The cadence to bill for this price on.
@@ -3238,13 +3360,135 @@ export declare namespace PriceEvaluateMultipleParams {
3238
3360
  /**
3239
3361
  * New floating price request body params.
3240
3362
  */
3241
- price?: Shared.NewFloatingUnitPrice | Shared.NewFloatingTieredPrice | Shared.NewFloatingBulkPrice | Shared.NewFloatingPackagePrice | Shared.NewFloatingMatrixPrice | Shared.NewFloatingThresholdTotalAmountPrice | Shared.NewFloatingTieredPackagePrice | Shared.NewFloatingTieredWithMinimumPrice | Shared.NewFloatingGroupedTieredPrice | Shared.NewFloatingTieredPackageWithMinimumPrice | Shared.NewFloatingPackageWithAllocationPrice | Shared.NewFloatingUnitWithPercentPrice | Shared.NewFloatingMatrixWithAllocationPrice | Shared.NewFloatingTieredWithProrationPrice | Shared.NewFloatingUnitWithProrationPrice | Shared.NewFloatingGroupedAllocationPrice | Shared.NewFloatingBulkWithProrationPrice | Shared.NewFloatingGroupedWithProratedMinimumPrice | Shared.NewFloatingGroupedWithMeteredMinimumPrice | PriceEvaluation.NewFloatingGroupedWithMinMaxThresholdsPrice | Shared.NewFloatingMatrixWithDisplayNamePrice | Shared.NewFloatingGroupedTieredPackagePrice | Shared.NewFloatingMaxGroupTieredPackagePrice | Shared.NewFloatingScalableMatrixWithUnitPricingPrice | Shared.NewFloatingScalableMatrixWithTieredPricingPrice | Shared.NewFloatingCumulativeGroupedBulkPrice | Shared.NewFloatingMinimumCompositePrice | PriceEvaluation.NewFloatingPercentCompositePrice | PriceEvaluation.NewFloatingEventOutputPrice | null;
3363
+ price?: Shared.NewFloatingUnitPrice | Shared.NewFloatingTieredPrice | Shared.NewFloatingBulkPrice | PriceEvaluation.NewFloatingBulkWithFiltersPrice | Shared.NewFloatingPackagePrice | Shared.NewFloatingMatrixPrice | Shared.NewFloatingThresholdTotalAmountPrice | Shared.NewFloatingTieredPackagePrice | Shared.NewFloatingTieredWithMinimumPrice | Shared.NewFloatingGroupedTieredPrice | Shared.NewFloatingTieredPackageWithMinimumPrice | Shared.NewFloatingPackageWithAllocationPrice | Shared.NewFloatingUnitWithPercentPrice | Shared.NewFloatingMatrixWithAllocationPrice | Shared.NewFloatingTieredWithProrationPrice | Shared.NewFloatingUnitWithProrationPrice | Shared.NewFloatingGroupedAllocationPrice | Shared.NewFloatingBulkWithProrationPrice | Shared.NewFloatingGroupedWithProratedMinimumPrice | Shared.NewFloatingGroupedWithMeteredMinimumPrice | PriceEvaluation.NewFloatingGroupedWithMinMaxThresholdsPrice | Shared.NewFloatingMatrixWithDisplayNamePrice | Shared.NewFloatingGroupedTieredPackagePrice | Shared.NewFloatingMaxGroupTieredPackagePrice | Shared.NewFloatingScalableMatrixWithUnitPricingPrice | Shared.NewFloatingScalableMatrixWithTieredPricingPrice | Shared.NewFloatingCumulativeGroupedBulkPrice | Shared.NewFloatingMinimumCompositePrice | PriceEvaluation.NewFloatingPercentCompositePrice | PriceEvaluation.NewFloatingEventOutputPrice | null;
3242
3364
  /**
3243
3365
  * The ID of a price to evaluate that exists in your Orb account.
3244
3366
  */
3245
3367
  price_id?: string | null;
3246
3368
  }
3247
3369
  namespace PriceEvaluation {
3370
+ interface NewFloatingBulkWithFiltersPrice {
3371
+ /**
3372
+ * Configuration for bulk_with_filters pricing
3373
+ */
3374
+ bulk_with_filters_config: NewFloatingBulkWithFiltersPrice.BulkWithFiltersConfig;
3375
+ /**
3376
+ * The cadence to bill for this price on.
3377
+ */
3378
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3379
+ /**
3380
+ * An ISO 4217 currency string for which this price is billed in.
3381
+ */
3382
+ currency: string;
3383
+ /**
3384
+ * The id of the item the price will be associated with.
3385
+ */
3386
+ item_id: string;
3387
+ /**
3388
+ * The pricing model type
3389
+ */
3390
+ model_type: 'bulk_with_filters';
3391
+ /**
3392
+ * The name of the price.
3393
+ */
3394
+ name: string;
3395
+ /**
3396
+ * The id of the billable metric for the price. Only needed if the price is
3397
+ * usage-based.
3398
+ */
3399
+ billable_metric_id?: string | null;
3400
+ /**
3401
+ * If the Price represents a fixed cost, the price will be billed in-advance if
3402
+ * this is true, and in-arrears if this is false.
3403
+ */
3404
+ billed_in_advance?: boolean | null;
3405
+ /**
3406
+ * For custom cadence: specifies the duration of the billing period in days or
3407
+ * months.
3408
+ */
3409
+ billing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3410
+ /**
3411
+ * The per unit conversion rate of the price currency to the invoicing currency.
3412
+ */
3413
+ conversion_rate?: number | null;
3414
+ /**
3415
+ * The configuration for the rate of the price currency to the invoicing currency.
3416
+ */
3417
+ conversion_rate_config?: Shared.UnitConversionRateConfig | Shared.TieredConversionRateConfig | null;
3418
+ /**
3419
+ * For dimensional price: specifies a price group and dimension values
3420
+ */
3421
+ dimensional_price_configuration?: Shared.NewDimensionalPriceConfiguration | null;
3422
+ /**
3423
+ * An alias for the price.
3424
+ */
3425
+ external_price_id?: string | null;
3426
+ /**
3427
+ * If the Price represents a fixed cost, this represents the quantity of units
3428
+ * applied.
3429
+ */
3430
+ fixed_price_quantity?: number | null;
3431
+ /**
3432
+ * The property used to group this price on an invoice
3433
+ */
3434
+ invoice_grouping_key?: string | null;
3435
+ /**
3436
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
3437
+ * If unspecified, a single invoice is produced per billing cycle.
3438
+ */
3439
+ invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3440
+ /**
3441
+ * User-specified key/value pairs for the resource. Individual keys can be removed
3442
+ * by setting the value to `null`, and the entire metadata mapping can be cleared
3443
+ * by setting `metadata` to `null`.
3444
+ */
3445
+ metadata?: {
3446
+ [key: string]: string | null;
3447
+ } | null;
3448
+ }
3449
+ namespace NewFloatingBulkWithFiltersPrice {
3450
+ /**
3451
+ * Configuration for bulk_with_filters pricing
3452
+ */
3453
+ interface BulkWithFiltersConfig {
3454
+ /**
3455
+ * Property filters to apply (all must match)
3456
+ */
3457
+ filters: Array<BulkWithFiltersConfig.Filter>;
3458
+ /**
3459
+ * Bulk tiers for rating based on total usage volume
3460
+ */
3461
+ tiers: Array<BulkWithFiltersConfig.Tier>;
3462
+ }
3463
+ namespace BulkWithFiltersConfig {
3464
+ /**
3465
+ * Configuration for a single property filter
3466
+ */
3467
+ interface Filter {
3468
+ /**
3469
+ * Event property key to filter on
3470
+ */
3471
+ property_key: string;
3472
+ /**
3473
+ * Event property value to match
3474
+ */
3475
+ property_value: string;
3476
+ }
3477
+ /**
3478
+ * Configuration for a single bulk pricing tier
3479
+ */
3480
+ interface Tier {
3481
+ /**
3482
+ * Amount per unit
3483
+ */
3484
+ unit_amount: string;
3485
+ /**
3486
+ * The lower bound for this tier
3487
+ */
3488
+ tier_lower_bound?: string | null;
3489
+ }
3490
+ }
3491
+ }
3248
3492
  interface NewFloatingGroupedWithMinMaxThresholdsPrice {
3249
3493
  /**
3250
3494
  * The cadence to bill for this price on.
@@ -3609,13 +3853,135 @@ export declare namespace PriceEvaluatePreviewEventsParams {
3609
3853
  /**
3610
3854
  * New floating price request body params.
3611
3855
  */
3612
- price?: Shared.NewFloatingUnitPrice | Shared.NewFloatingTieredPrice | Shared.NewFloatingBulkPrice | Shared.NewFloatingPackagePrice | Shared.NewFloatingMatrixPrice | Shared.NewFloatingThresholdTotalAmountPrice | Shared.NewFloatingTieredPackagePrice | Shared.NewFloatingTieredWithMinimumPrice | Shared.NewFloatingGroupedTieredPrice | Shared.NewFloatingTieredPackageWithMinimumPrice | Shared.NewFloatingPackageWithAllocationPrice | Shared.NewFloatingUnitWithPercentPrice | Shared.NewFloatingMatrixWithAllocationPrice | Shared.NewFloatingTieredWithProrationPrice | Shared.NewFloatingUnitWithProrationPrice | Shared.NewFloatingGroupedAllocationPrice | Shared.NewFloatingBulkWithProrationPrice | Shared.NewFloatingGroupedWithProratedMinimumPrice | Shared.NewFloatingGroupedWithMeteredMinimumPrice | PriceEvaluation.NewFloatingGroupedWithMinMaxThresholdsPrice | Shared.NewFloatingMatrixWithDisplayNamePrice | Shared.NewFloatingGroupedTieredPackagePrice | Shared.NewFloatingMaxGroupTieredPackagePrice | Shared.NewFloatingScalableMatrixWithUnitPricingPrice | Shared.NewFloatingScalableMatrixWithTieredPricingPrice | Shared.NewFloatingCumulativeGroupedBulkPrice | Shared.NewFloatingMinimumCompositePrice | PriceEvaluation.NewFloatingPercentCompositePrice | PriceEvaluation.NewFloatingEventOutputPrice | null;
3856
+ price?: Shared.NewFloatingUnitPrice | Shared.NewFloatingTieredPrice | Shared.NewFloatingBulkPrice | PriceEvaluation.NewFloatingBulkWithFiltersPrice | Shared.NewFloatingPackagePrice | Shared.NewFloatingMatrixPrice | Shared.NewFloatingThresholdTotalAmountPrice | Shared.NewFloatingTieredPackagePrice | Shared.NewFloatingTieredWithMinimumPrice | Shared.NewFloatingGroupedTieredPrice | Shared.NewFloatingTieredPackageWithMinimumPrice | Shared.NewFloatingPackageWithAllocationPrice | Shared.NewFloatingUnitWithPercentPrice | Shared.NewFloatingMatrixWithAllocationPrice | Shared.NewFloatingTieredWithProrationPrice | Shared.NewFloatingUnitWithProrationPrice | Shared.NewFloatingGroupedAllocationPrice | Shared.NewFloatingBulkWithProrationPrice | Shared.NewFloatingGroupedWithProratedMinimumPrice | Shared.NewFloatingGroupedWithMeteredMinimumPrice | PriceEvaluation.NewFloatingGroupedWithMinMaxThresholdsPrice | Shared.NewFloatingMatrixWithDisplayNamePrice | Shared.NewFloatingGroupedTieredPackagePrice | Shared.NewFloatingMaxGroupTieredPackagePrice | Shared.NewFloatingScalableMatrixWithUnitPricingPrice | Shared.NewFloatingScalableMatrixWithTieredPricingPrice | Shared.NewFloatingCumulativeGroupedBulkPrice | Shared.NewFloatingMinimumCompositePrice | PriceEvaluation.NewFloatingPercentCompositePrice | PriceEvaluation.NewFloatingEventOutputPrice | null;
3613
3857
  /**
3614
3858
  * The ID of a price to evaluate that exists in your Orb account.
3615
3859
  */
3616
3860
  price_id?: string | null;
3617
3861
  }
3618
3862
  namespace PriceEvaluation {
3863
+ interface NewFloatingBulkWithFiltersPrice {
3864
+ /**
3865
+ * Configuration for bulk_with_filters pricing
3866
+ */
3867
+ bulk_with_filters_config: NewFloatingBulkWithFiltersPrice.BulkWithFiltersConfig;
3868
+ /**
3869
+ * The cadence to bill for this price on.
3870
+ */
3871
+ cadence: 'annual' | 'semi_annual' | 'monthly' | 'quarterly' | 'one_time' | 'custom';
3872
+ /**
3873
+ * An ISO 4217 currency string for which this price is billed in.
3874
+ */
3875
+ currency: string;
3876
+ /**
3877
+ * The id of the item the price will be associated with.
3878
+ */
3879
+ item_id: string;
3880
+ /**
3881
+ * The pricing model type
3882
+ */
3883
+ model_type: 'bulk_with_filters';
3884
+ /**
3885
+ * The name of the price.
3886
+ */
3887
+ name: string;
3888
+ /**
3889
+ * The id of the billable metric for the price. Only needed if the price is
3890
+ * usage-based.
3891
+ */
3892
+ billable_metric_id?: string | null;
3893
+ /**
3894
+ * If the Price represents a fixed cost, the price will be billed in-advance if
3895
+ * this is true, and in-arrears if this is false.
3896
+ */
3897
+ billed_in_advance?: boolean | null;
3898
+ /**
3899
+ * For custom cadence: specifies the duration of the billing period in days or
3900
+ * months.
3901
+ */
3902
+ billing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3903
+ /**
3904
+ * The per unit conversion rate of the price currency to the invoicing currency.
3905
+ */
3906
+ conversion_rate?: number | null;
3907
+ /**
3908
+ * The configuration for the rate of the price currency to the invoicing currency.
3909
+ */
3910
+ conversion_rate_config?: Shared.UnitConversionRateConfig | Shared.TieredConversionRateConfig | null;
3911
+ /**
3912
+ * For dimensional price: specifies a price group and dimension values
3913
+ */
3914
+ dimensional_price_configuration?: Shared.NewDimensionalPriceConfiguration | null;
3915
+ /**
3916
+ * An alias for the price.
3917
+ */
3918
+ external_price_id?: string | null;
3919
+ /**
3920
+ * If the Price represents a fixed cost, this represents the quantity of units
3921
+ * applied.
3922
+ */
3923
+ fixed_price_quantity?: number | null;
3924
+ /**
3925
+ * The property used to group this price on an invoice
3926
+ */
3927
+ invoice_grouping_key?: string | null;
3928
+ /**
3929
+ * Within each billing cycle, specifies the cadence at which invoices are produced.
3930
+ * If unspecified, a single invoice is produced per billing cycle.
3931
+ */
3932
+ invoicing_cycle_configuration?: Shared.NewBillingCycleConfiguration | null;
3933
+ /**
3934
+ * User-specified key/value pairs for the resource. Individual keys can be removed
3935
+ * by setting the value to `null`, and the entire metadata mapping can be cleared
3936
+ * by setting `metadata` to `null`.
3937
+ */
3938
+ metadata?: {
3939
+ [key: string]: string | null;
3940
+ } | null;
3941
+ }
3942
+ namespace NewFloatingBulkWithFiltersPrice {
3943
+ /**
3944
+ * Configuration for bulk_with_filters pricing
3945
+ */
3946
+ interface BulkWithFiltersConfig {
3947
+ /**
3948
+ * Property filters to apply (all must match)
3949
+ */
3950
+ filters: Array<BulkWithFiltersConfig.Filter>;
3951
+ /**
3952
+ * Bulk tiers for rating based on total usage volume
3953
+ */
3954
+ tiers: Array<BulkWithFiltersConfig.Tier>;
3955
+ }
3956
+ namespace BulkWithFiltersConfig {
3957
+ /**
3958
+ * Configuration for a single property filter
3959
+ */
3960
+ interface Filter {
3961
+ /**
3962
+ * Event property key to filter on
3963
+ */
3964
+ property_key: string;
3965
+ /**
3966
+ * Event property value to match
3967
+ */
3968
+ property_value: string;
3969
+ }
3970
+ /**
3971
+ * Configuration for a single bulk pricing tier
3972
+ */
3973
+ interface Tier {
3974
+ /**
3975
+ * Amount per unit
3976
+ */
3977
+ unit_amount: string;
3978
+ /**
3979
+ * The lower bound for this tier
3980
+ */
3981
+ tier_lower_bound?: string | null;
3982
+ }
3983
+ }
3984
+ }
3619
3985
  interface NewFloatingGroupedWithMinMaxThresholdsPrice {
3620
3986
  /**
3621
3987
  * The cadence to bill for this price on.