@@ -59,6 +59,7 @@ def create(
59
59
external_plan_id : Optional [str ] | NotGiven = NOT_GIVEN ,
60
60
metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
61
61
net_terms : Optional [int ] | NotGiven = NOT_GIVEN ,
62
+ status : Literal ["active" , "draft" ] | NotGiven = NOT_GIVEN ,
62
63
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
63
64
# The extra values given here take precedence over values defined on the client or passed to this method.
64
65
extra_headers : Headers | None = None ,
@@ -87,6 +88,9 @@ def create(
87
88
date for the invoice. If you intend the invoice to be due on issue, set this
88
89
to 0.
89
90
91
+ status: The status of the plan to create (either active or draft). If not specified,
92
+ this defaults to active.
93
+
90
94
extra_headers: Send extra headers
91
95
92
96
extra_query: Add additional query parameters to the request
@@ -108,6 +112,7 @@ def create(
108
112
"external_plan_id" : external_plan_id ,
109
113
"metadata" : metadata ,
110
114
"net_terms" : net_terms ,
115
+ "status" : status ,
111
116
},
112
117
plan_create_params .PlanCreateParams ,
113
118
),
@@ -318,6 +323,7 @@ async def create(
318
323
external_plan_id : Optional [str ] | NotGiven = NOT_GIVEN ,
319
324
metadata : Optional [Dict [str , Optional [str ]]] | NotGiven = NOT_GIVEN ,
320
325
net_terms : Optional [int ] | NotGiven = NOT_GIVEN ,
326
+ status : Literal ["active" , "draft" ] | NotGiven = NOT_GIVEN ,
321
327
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
322
328
# The extra values given here take precedence over values defined on the client or passed to this method.
323
329
extra_headers : Headers | None = None ,
@@ -346,6 +352,9 @@ async def create(
346
352
date for the invoice. If you intend the invoice to be due on issue, set this
347
353
to 0.
348
354
355
+ status: The status of the plan to create (either active or draft). If not specified,
356
+ this defaults to active.
357
+
349
358
extra_headers: Send extra headers
350
359
351
360
extra_query: Add additional query parameters to the request
@@ -367,6 +376,7 @@ async def create(
367
376
"external_plan_id" : external_plan_id ,
368
377
"metadata" : metadata ,
369
378
"net_terms" : net_terms ,
379
+ "status" : status ,
370
380
},
371
381
plan_create_params .PlanCreateParams ,
372
382
),
0 commit comments