@@ -71,7 +71,6 @@ class SeamClient
7171 public LocksClient $ locks ;
7272 public NoiseSensorsClient $ noise_sensors ;
7373 public PhonesClient $ phones ;
74- public SeamClient $ seam ;
7574 public SpacesClient $ spaces ;
7675 public ThermostatsClient $ thermostats ;
7776 public UserIdentitiesClient $ user_identities ;
@@ -116,7 +115,6 @@ public function __construct(
116115 $ this ->locks = new LocksClient ($ this );
117116 $ this ->noise_sensors = new NoiseSensorsClient ($ this );
118117 $ this ->phones = new PhonesClient ($ this );
119- $ this ->seam = new SeamClient ($ this );
120118 $ this ->spaces = new SpacesClient ($ this );
121119 $ this ->thermostats = new ThermostatsClient ($ this );
122120 $ this ->user_identities = new UserIdentitiesClient ($ this );
@@ -4620,65 +4618,6 @@ public function create_sandbox_phone(
46204618 }
46214619}
46224620
4623- class SeamCustomerV1SpacesClient
4624- {
4625- private SeamClient $ seam ;
4626-
4627- public function __construct (SeamClient $ seam )
4628- {
4629- $ this ->seam = $ seam ;
4630- }
4631-
4632- public function create (
4633- string $ name ,
4634- ?array $ acs_entrance_ids = null ,
4635- ?array $ device_ids = null ,
4636- ?string $ parent_space_key = null ,
4637- ?string $ parent_space_name = null ,
4638- ?string $ space_key = null ,
4639- ): Space {
4640- $ request_payload = [];
4641-
4642- if ($ name !== null ) {
4643- $ request_payload ["name " ] = $ name ;
4644- }
4645- if ($ acs_entrance_ids !== null ) {
4646- $ request_payload ["acs_entrance_ids " ] = $ acs_entrance_ids ;
4647- }
4648- if ($ device_ids !== null ) {
4649- $ request_payload ["device_ids " ] = $ device_ids ;
4650- }
4651- if ($ parent_space_key !== null ) {
4652- $ request_payload ["parent_space_key " ] = $ parent_space_key ;
4653- }
4654- if ($ parent_space_name !== null ) {
4655- $ request_payload ["parent_space_name " ] = $ parent_space_name ;
4656- }
4657- if ($ space_key !== null ) {
4658- $ request_payload ["space_key " ] = $ space_key ;
4659- }
4660-
4661- $ res = $ this ->seam ->request (
4662- "POST " ,
4663- "/seam/customer/v1/spaces/create " ,
4664- json: (object ) $ request_payload ,
4665- );
4666-
4667- return Space ::from_json ($ res ->space );
4668- }
4669- }
4670-
4671- class SeamClient
4672- {
4673- private SeamClient $ seam ;
4674- public SeamCustomerClient $ customer ;
4675- public function __construct (SeamClient $ seam )
4676- {
4677- $ this ->seam = $ seam ;
4678- $ this ->customer = new SeamCustomerClient ($ seam );
4679- }
4680- }
4681-
46824621class SpacesClient
46834622{
46844623 private SeamClient $ seam ;
0 commit comments