@@ -2666,6 +2666,14 @@ class Add(TypedDict, total=False):
26662666 external_price_id : Optional [str ]
26672667 """The external price id of the price to add to the subscription."""
26682668
2669+ filter : Optional [str ]
2670+ """An additional filter to apply to usage queries.
2671+
2672+ This filter must be expressed as a boolean
2673+ [computed property](/extensibility/advanced-metrics#computed-properties). If
2674+ null, usage queries will not include any additional filter.
2675+ """
2676+
26692677 fixed_fee_quantity_transitions : Optional [Iterable [AddFixedFeeQuantityTransition ]]
26702678 """A list of fixed fee quantity transitions to initialize on the price interval."""
26712679
@@ -2687,6 +2695,16 @@ class Add(TypedDict, total=False):
26872695 price_id : Optional [str ]
26882696 """The id of the price to add to the subscription."""
26892697
2698+ usage_customer_ids : Optional [List [str ]]
2699+ """
2700+ A list of customer IDs whose usage events will be aggregated and billed under
2701+ this subscription. By default, a subscription only considers usage events
2702+ associated with its attached customer's customer_id. When usage_customer_ids is
2703+ provided, the subscription includes usage events from the specified customers
2704+ only. Provided usage_customer_ids must be either the customer for this
2705+ subscription itself, or any of that customer's children.
2706+ """
2707+
26902708
26912709class AddAdjustmentAdjustmentNewPercentageDiscount (TypedDict , total = False ):
26922710 adjustment_type : Required [Literal ["percentage_discount" ]]
@@ -2821,6 +2839,14 @@ class Edit(TypedDict, total=False):
28212839 If not specified, the start date will not be updated.
28222840 """
28232841
2842+ filter : Optional [str ]
2843+ """An additional filter to apply to usage queries.
2844+
2845+ This filter must be expressed as a boolean
2846+ [computed property](/extensibility/advanced-metrics#computed-properties). If
2847+ null, usage queries will not include any additional filter.
2848+ """
2849+
28242850 fixed_fee_quantity_transitions : Optional [Iterable [EditFixedFeeQuantityTransition ]]
28252851 """A list of fixed fee quantity transitions to use for this price interval.
28262852
@@ -2834,6 +2860,16 @@ class Edit(TypedDict, total=False):
28342860 If not specified, the start date will not be updated.
28352861 """
28362862
2863+ usage_customer_ids : Optional [List [str ]]
2864+ """
2865+ A list of customer IDs whose usage events will be aggregated and billed under
2866+ this subscription. By default, a subscription only considers usage events
2867+ associated with its attached customer's customer_id. When usage_customer_ids is
2868+ provided, the subscription includes usage events from the specified customers
2869+ only. Provided usage_customer_ids must be either the customer for this
2870+ subscription itself, or any of that customer's children.
2871+ """
2872+
28372873
28382874class EditAdjustment (TypedDict , total = False ):
28392875 adjustment_interval_id : Required [str ]
0 commit comments