@@ -59,6 +59,7 @@ def create(
5959 external_plan_id : Optional [str ] | NotGiven = NOT_GIVEN ,
6060 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
6161 net_terms : Optional [int ] | NotGiven = NOT_GIVEN ,
62+ status : Literal ["active" , "draft" ] | NotGiven = NOT_GIVEN ,
6263 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6364 # The extra values given here take precedence over values defined on the client or passed to this method.
6465 extra_headers : Headers | None = None ,
@@ -87,6 +88,9 @@ def create(
8788 date for the invoice. If you intend the invoice to be due on issue, set this
8889 to 0.
8990
91+ status: The status of the plan to create (either active or draft). If not specified,
92+ this defaults to active.
93+
9094 extra_headers: Send extra headers
9195
9296 extra_query: Add additional query parameters to the request
@@ -108,6 +112,7 @@ def create(
108112 "external_plan_id" : external_plan_id ,
109113 "metadata" : metadata ,
110114 "net_terms" : net_terms ,
115+ "status" : status ,
111116 },
112117 plan_create_params .PlanCreateParams ,
113118 ),
@@ -318,6 +323,7 @@ async def create(
318323 external_plan_id : Optional [str ] | NotGiven = NOT_GIVEN ,
319324 metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
320325 net_terms : Optional [int ] | NotGiven = NOT_GIVEN ,
326+ status : Literal ["active" , "draft" ] | NotGiven = NOT_GIVEN ,
321327 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
322328 # The extra values given here take precedence over values defined on the client or passed to this method.
323329 extra_headers : Headers | None = None ,
@@ -346,6 +352,9 @@ async def create(
346352 date for the invoice. If you intend the invoice to be due on issue, set this
347353 to 0.
348354
355+ status: The status of the plan to create (either active or draft). If not specified,
356+ this defaults to active.
357+
349358 extra_headers: Send extra headers
350359
351360 extra_query: Add additional query parameters to the request
@@ -367,6 +376,7 @@ async def create(
367376 "external_plan_id" : external_plan_id ,
368377 "metadata" : metadata ,
369378 "net_terms" : net_terms ,
379+ "status" : status ,
370380 },
371381 plan_create_params .PlanCreateParams ,
372382 ),
0 commit comments