File tree Expand file tree Collapse file tree 5 files changed +89
-3
lines changed
src/miru_server_sdk/types Expand file tree Collapse file tree 5 files changed +89
-3
lines changed Original file line number Diff line number Diff line change 11configured_endpoints : 14
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-server-27a36dbdb4599ced6b71693d6caaeaab48d92d0a944d389e63186aade3f53fee .yml
3- openapi_spec_hash : f18d5563d11ea6c3f33da296d7bfce7b
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/miru-ml%2Fmiru-server-e8b887c478291aecbbf06e532903242a5d5ff682a2a6814921bb770c97a1753d .yml
3+ openapi_spec_hash : b15141c2e0e81b8029c620d4aef4188c
44config_hash : c1d1c4ffd4bc69023d6bf98b1bbc4304
Original file line number Diff line number Diff line change @@ -72,5 +72,5 @@ Methods:
7272Types:
7373
7474``` python
75- from miru_server_sdk.types import UnwrapWebhookEvent
75+ from miru_server_sdk.types import DeploymentValidateWebhookEvent, UnwrapWebhookEvent
7676```
Original file line number Diff line number Diff line change 1414from .device_create_params import DeviceCreateParams as DeviceCreateParams
1515from .device_list_response import DeviceListResponse as DeviceListResponse
1616from .device_update_params import DeviceUpdateParams as DeviceUpdateParams
17+ from .unwrap_webhook_event import UnwrapWebhookEvent as UnwrapWebhookEvent
1718from .release_list_response import ReleaseListResponse as ReleaseListResponse
1819from .deployment_list_params import DeploymentListParams as DeploymentListParams
1920from .device_delete_response import DeviceDeleteResponse as DeviceDeleteResponse
2627from .deployment_validate_response import DeploymentValidateResponse as DeploymentValidateResponse
2728from .config_instance_list_response import ConfigInstanceListResponse as ConfigInstanceListResponse
2829from .config_instance_retrieve_params import ConfigInstanceRetrieveParams as ConfigInstanceRetrieveParams
30+ from .deployment_validate_webhook_event import DeploymentValidateWebhookEvent as DeploymentValidateWebhookEvent
2931from .device_create_activation_token_params import (
3032 DeviceCreateActivationTokenParams as DeviceCreateActivationTokenParams ,
3133)
Original file line number Diff line number Diff line change 1+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+ from datetime import datetime
4+ from typing_extensions import Literal
5+
6+ from .._models import BaseModel
7+
8+ __all__ = ["DeploymentValidateWebhookEvent" , "Data" , "DataDeployment" ]
9+
10+
11+ class DataDeployment (BaseModel ):
12+ id : str
13+ """ID of the deployment"""
14+
15+ created_at : datetime
16+ """Timestamp of when the device release was created"""
17+
18+ device_id : str
19+ """ID of the device"""
20+
21+ object : Literal ["deployment" ]
22+
23+ release_id : str
24+ """The version of the release"""
25+
26+
27+ class Data (BaseModel ):
28+ deployment : DataDeployment
29+
30+
31+ class DeploymentValidateWebhookEvent (BaseModel ):
32+ data : Data
33+ """The data associated with the event"""
34+
35+ object : Literal ["event" ]
36+ """The object that occurred"""
37+
38+ timestamp : datetime
39+ """The timestamp of the event"""
40+
41+ type : Literal ["deployment.validate" ]
42+ """The type of event"""
Original file line number Diff line number Diff line change 1+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+ from datetime import datetime
4+ from typing_extensions import Literal
5+
6+ from .._models import BaseModel
7+
8+ __all__ = ["UnwrapWebhookEvent" , "Data" , "DataDeployment" ]
9+
10+
11+ class DataDeployment (BaseModel ):
12+ id : str
13+ """ID of the deployment"""
14+
15+ created_at : datetime
16+ """Timestamp of when the device release was created"""
17+
18+ device_id : str
19+ """ID of the device"""
20+
21+ object : Literal ["deployment" ]
22+
23+ release_id : str
24+ """The version of the release"""
25+
26+
27+ class Data (BaseModel ):
28+ deployment : DataDeployment
29+
30+
31+ class UnwrapWebhookEvent (BaseModel ):
32+ data : Data
33+ """The data associated with the event"""
34+
35+ object : Literal ["event" ]
36+ """The object that occurred"""
37+
38+ timestamp : datetime
39+ """The timestamp of the event"""
40+
41+ type : Literal ["deployment.validate" ]
42+ """The type of event"""
You can’t perform that action at this time.
0 commit comments