@@ -58,7 +58,7 @@ def create(
5858 device_id : str ,
5959 new_config_instances : Iterable [deployment_create_params .NewConfigInstance ],
6060 release_id : str ,
61- target_status : Literal ["pending" , "approved " , "deployed" ],
61+ target_status : Literal ["staged " , "deployed" ],
6262 expand : List [Literal ["device" , "release" , "config_instances" ]] | Omit = omit ,
6363 patch_source_id : str | Omit = omit ,
6464 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -86,10 +86,8 @@ def create(
8686
8787 target_status: Desired state of the deployment.
8888
89- - Pending: staged for deployment but not yet approved. Deployments can only be
90- staged if their release is not the current release for the device.
91- - Approved: staged and approved for deployment. Deployments can only be staged
92- if their release is not the current release for the device.
89+ - Staged: ready for deployment. Deployments can only be staged if their release
90+ is not the current release for the device.
9391 - Deployed: deployed to the device. Deployments can only be deployed if their
9492 release is the device's current release.
9593
@@ -175,7 +173,7 @@ def list(
175173 self ,
176174 * ,
177175 id : str | Omit = omit ,
178- activity_status : Literal ["validating" , "pending " , "approved " , "queued" , "deployed" , "removing" , "archived" ]
176+ activity_status : Literal ["validating" , "needs_review " , "staged " , "queued" , "deployed" , "removing" , "archived" ]
179177 | Omit = omit ,
180178 device_id : str | Omit = omit ,
181179 error_status : Literal ["none" , "failed" , "retrying" ] | Omit = omit ,
@@ -184,7 +182,7 @@ def list(
184182 offset : int | Omit = omit ,
185183 order_by : Literal ["id:asc" , "id:desc" , "created_at:desc" , "created_at:asc" ] | Omit = omit ,
186184 release_id : str | Omit = omit ,
187- target_status : Literal ["pending" , "approved " , "deployed" , "archived" ] | Omit = omit ,
185+ target_status : Literal ["staged " , "deployed" , "archived" ] | Omit = omit ,
188186 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
189187 # The extra values given here take precedence over values defined on the client or passed to this method.
190188 extra_headers : Headers | None = None ,
@@ -329,7 +327,7 @@ async def create(
329327 device_id : str ,
330328 new_config_instances : Iterable [deployment_create_params .NewConfigInstance ],
331329 release_id : str ,
332- target_status : Literal ["pending" , "approved " , "deployed" ],
330+ target_status : Literal ["staged " , "deployed" ],
333331 expand : List [Literal ["device" , "release" , "config_instances" ]] | Omit = omit ,
334332 patch_source_id : str | Omit = omit ,
335333 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -357,10 +355,8 @@ async def create(
357355
358356 target_status: Desired state of the deployment.
359357
360- - Pending: staged for deployment but not yet approved. Deployments can only be
361- staged if their release is not the current release for the device.
362- - Approved: staged and approved for deployment. Deployments can only be staged
363- if their release is not the current release for the device.
358+ - Staged: ready for deployment. Deployments can only be staged if their release
359+ is not the current release for the device.
364360 - Deployed: deployed to the device. Deployments can only be deployed if their
365361 release is the device's current release.
366362
@@ -448,7 +444,7 @@ async def list(
448444 self ,
449445 * ,
450446 id : str | Omit = omit ,
451- activity_status : Literal ["validating" , "pending " , "approved " , "queued" , "deployed" , "removing" , "archived" ]
447+ activity_status : Literal ["validating" , "needs_review " , "staged " , "queued" , "deployed" , "removing" , "archived" ]
452448 | Omit = omit ,
453449 device_id : str | Omit = omit ,
454450 error_status : Literal ["none" , "failed" , "retrying" ] | Omit = omit ,
@@ -457,7 +453,7 @@ async def list(
457453 offset : int | Omit = omit ,
458454 order_by : Literal ["id:asc" , "id:desc" , "created_at:desc" , "created_at:asc" ] | Omit = omit ,
459455 release_id : str | Omit = omit ,
460- target_status : Literal ["pending" , "approved " , "deployed" , "archived" ] | Omit = omit ,
456+ target_status : Literal ["staged " , "deployed" , "archived" ] | Omit = omit ,
461457 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
462458 # The extra values given here take precedence over values defined on the client or passed to this method.
463459 extra_headers : Headers | None = None ,
0 commit comments