@@ -60,17 +60,17 @@ Routes.constructor
6060
6161| Name | Type |
6262| :------ | :------ |
63- | ` create ` | (` params ` : [ ` AccessCodeCreateRequest ` ] ( ../modules .md#accesscodecreaterequest ) ) => ` Promise ` <[ ` AccessCode ` ] ( ../interfaces/AccessCode .md ) \> |
64- | ` delete ` | (` params ` : [ ` AccessCodeDeleteRequest ` ] ( ../modules.md#accesscodedeleterequest ) ) => ` Promise ` <[ ` Workspace ` ] ( ../interfaces/Workspace.md ) \| [ ` Workspace ` ] ( ../interfaces/Workspace.md ) [ ] \| [ ` Device ` ] ( ../interfaces/Device.md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> \| [ ` Device ` ] ( ../interfaces/Device.md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> [ ] \| [ ` ActionAttempt ` ] ( ../modules.md#actionattempt ) < ` any ` \> \| [ ` AccessCode ` ] ( ../interfaces/AccessCode.md ) \| [ ` AccessCode ` ] ( ../interfaces/AccessCode.md ) [ ] \| [ ` Device ` ] ( ../interfaces/Device.md ) < ` any ` , ` any ` \> \| [ ` Device ` ] ( ../interfaces/Device.md ) < ` any ` , ` any ` \> [ ] \| [ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) \| [ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) [ ] \| [ ` ConnectedAccount ` ] ( ../interfaces/ConnectedAccount.md ) \| [ ` ConnectedAccount ` ] ( ../interfaces/ConnectedAccount.md ) [ ] \> |
65- | ` list ` | (` params ` : { ` device_id ` : ` string ` }) => ` Promise ` <[ ` AccessCode ` ] ( ../interfaces/AccessCode .md ) [ ] \> |
63+ | ` create ` | (` params ` : [ ` AccessCodeCreateBaseRequest ` ] ( ../interfaces/AccessCodeCreateBaseRequest .md ) ) => ` Promise ` <[ ` OngoingAccessCode ` ] ( ../interfaces/OngoingAccessCode.md ) \> \| ( ` params ` : [ ` AccessCodeCreateScheduledRequest ` ] ( ../interfaces/AccessCodeCreateScheduledRequest.md ) ) => ` Promise ` < [ ` TimeBoundAccessCode ` ] ( ../interfaces/TimeBoundAccessCode .md) \> |
64+ | ` delete ` | (` params ` : [ ` AccessCodeDeleteRequest ` ] ( ../modules.md#accesscodedeleterequest ) ) => ` Promise ` <` unknown ` \> |
65+ | ` list ` | (` params ` : { ` device_id ` : ` string ` }) => ` Promise ` <[ ` AccessCode ` ] ( ../modules .md#accesscode ) [ ] \> |
6666
6767#### Inherited from
6868
6969Routes.accessCodes
7070
7171#### Defined in
7272
73- [ src/routes.ts:168 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L168 )
73+ [ src/routes.ts:190 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L190 )
7474
7575___
7676
8282
8383| Name | Type |
8484| :------ | :------ |
85- | ` get ` | (` actionAttemptId ` : ` string ` ) => ` Promise ` <[ ` ActionAttempt ` ] ( ../modules.md#actionattempt ) <` any ` \>\> |
85+ | ` get ` | <T \> (` actionAttemptId ` : ` string ` ) => ` Promise ` <[ ` ActionAttempt ` ] ( ../modules.md#actionattempt ) <` T ` \>\> |
8686
8787#### Inherited from
8888
8989Routes.actionAttempts
9090
9191#### Defined in
9292
93- [ src/routes.ts:227 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L227 )
93+ [ src/routes.ts:262 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L262 )
9494
9595___
9696
112112
113113| Name | Type |
114114| :------ | :------ |
115- | ` create ` | (` params ` : [ ` ConnectWebviewCreateRequest ` ] ( ../interfaces/ConnectWebviewCreateRequest.md ) ) => ` Promise ` <[ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) \> |
115+ | ` create ` | (` params ` : [ ` ConnectWebviewCreateRequest ` ] ( ../interfaces/ConnectWebviewCreateRequest.md ) ) => ` Promise ` <` Omit ` < [ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) , `` "connected_account_id" `` \> & { ` custom_redirect_url ` : `` null `` \| ` string ` } \> |
116116| ` get ` | (` connectWebviewId ` : ` string ` ) => ` Promise ` <[ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) \> |
117117| ` list ` | () => ` Promise ` <[ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) [ ] \> |
118118
@@ -122,7 +122,7 @@ Routes.connectWebviews
122122
123123#### Defined in
124124
125- [ src/routes.ts:148 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L148 )
125+ [ src/routes.ts:164 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L164 )
126126
127127___
128128
@@ -143,7 +143,7 @@ Routes.connectedAccounts
143143
144144#### Defined in
145145
146- [ src/routes.ts:212 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L212 )
146+ [ src/routes.ts:241 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L241 )
147147
148148___
149149
@@ -155,16 +155,16 @@ ___
155155
156156| Name | Type |
157157| :------ | :------ |
158- | ` get ` | (` deviceId ` : ` string ` ) => ` Promise ` <[ ` Device ` ] ( ../interfaces/Device.md ) <` any ` , ` any ` \>\> |
159- | ` list ` | (` connectedAccountId? ` : ` string ` ) => ` Promise ` <[ ` Device ` ] ( ../interfaces/Device.md ) <` any ` , ` any ` \> [ ] \> |
158+ | ` get ` | (` deviceId ` : ` string ` ) => ` Promise ` <[ ` Device ` ] ( ../interfaces/Device.md ) <` unknown ` , [ ` DeviceType ` ] ( ../modules.md#devicetype ) \>\> |
159+ | ` list ` | (` connectedAccountId? ` : ` string ` ) => ` Promise ` <[ ` Device ` ] ( ../interfaces/Device.md ) <` unknown ` , [ ` DeviceType ` ] ( ../modules.md#devicetype ) \> [ ] \> |
160160
161161#### Inherited from
162162
163163Routes.devices
164164
165165#### Defined in
166166
167- [ src/routes.ts:129 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L129 )
167+ [ src/routes.ts:145 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L145 )
168168
169169___
170170
@@ -176,18 +176,18 @@ ___
176176
177177| Name | Type |
178178| :------ | :------ |
179- | ` get ` | (` deviceId ` : ` string ` ) => ` Promise ` <[ ` Device ` ] ( ../interfaces/Device .md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> \> |
180- | ` list ` | (` connectedAccountId? ` : ` string ` ) => ` Promise ` <[ ` Device ` ] ( ../interfaces/Device .md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> [ ] \> |
181- | ` lockDoor ` | (` deviceId ` : ` string ` ) => ` Promise ` <[ ` Workspace ` ] ( ../interfaces/Workspace.md ) \| [ ` Workspace ` ] ( ../interfaces/Workspace.md ) [ ] \| [ ` Device ` ] ( ../interfaces/Device.md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> \| [ ` Device ` ] ( ../interfaces/Device.md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> [ ] \| [ ` ActionAttempt ` ] ( ../modules.md#actionattempt ) < ` any ` \> \| [ ` AccessCode ` ] ( ../interfaces/AccessCode.md ) \| [ ` AccessCode ` ] ( ../interfaces/AccessCode.md ) [ ] \| [ ` Device ` ] ( ../interfaces/Device.md ) < ` any ` , ` any ` \> \| [ ` Device ` ] ( ../interfaces/Device.md ) < ` any ` , ` any ` \> [ ] \| [ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) \| [ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) [ ] \| [ ` ConnectedAccount ` ] ( ../interfaces/ConnectedAccount.md ) \| [ ` ConnectedAccount ` ] ( ../interfaces/ConnectedAccount.md ) [ ] \> |
182- | ` unlockDoor ` | (` deviceId ` : ` string ` ) => ` Promise ` <[ ` Workspace ` ] ( ../interfaces/Workspace.md ) \| [ ` Workspace ` ] ( ../interfaces/Workspace.md ) [ ] \| [ ` Device ` ] ( ../interfaces/Device.md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> \| [ ` Device ` ] ( ../interfaces/Device.md ) < [ ` LockProperties ` ] ( ../interfaces/LockProperties.md ) , ` any ` \> [ ] \| [ ` ActionAttempt ` ] ( ../modules.md#actionattempt ) < ` any ` \> \| [ ` AccessCode ` ] ( ../interfaces/AccessCode.md ) \| [ ` AccessCode ` ] ( ../interfaces/AccessCode.md ) [ ] \| [ ` Device ` ] ( ../interfaces/Device.md ) < ` any ` , ` any ` \> \| [ ` Device ` ] ( ../interfaces/Device.md ) < ` any ` , ` any ` \> [ ] \| [ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) \| [ ` ConnectWebview ` ] ( ../interfaces/ConnectWebview.md ) [ ] \| [ ` ConnectedAccount ` ] ( ../interfaces/ConnectedAccount.md ) \| [ ` ConnectedAccount ` ] ( ../interfaces/ConnectedAccount.md ) [ ] \> |
179+ | ` get ` | (` deviceId ` : ` string ` ) => ` Promise ` <[ ` LockDevice ` ] ( ../modules .md#lockdevice ) \> |
180+ | ` list ` | (` connectedAccountId? ` : ` string ` ) => ` Promise ` <[ ` LockDevice ` ] ( ../modules .md#lockdevice ) [ ] \> |
181+ | ` lockDoor ` | (` deviceId ` : ` string ` ) => ` Promise ` <` unknown ` \> |
182+ | ` unlockDoor ` | (` deviceId ` : ` string ` ) => ` Promise ` <` unknown ` \> |
183183
184184#### Inherited from
185185
186186Routes.locks
187187
188188#### Defined in
189189
190- [ src/routes.ts:94 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L94 )
190+ [ src/routes.ts:110 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L110 )
191191
192192___
193193
@@ -199,17 +199,17 @@ ___
199199
200200| Name | Type |
201201| :------ | :------ |
202- | ` get ` | () => ` Promise ` <[ ` Workspace ` ] ( ../interfaces/Workspace.md ) \> |
202+ | ` get ` | () => ` Promise ` <[ ` Workspace ` ] ( ../interfaces/Workspace.md ) & { ` connect_partner_name ` : ` string ` } \> |
203203| ` list ` | () => ` Promise ` <[ ` Workspace ` ] ( ../interfaces/Workspace.md ) [ ] \> |
204- | ` resetSandbox ` | () => ` Promise ` <{ ` ok ` : `` true `` } \> |
204+ | ` resetSandbox ` | () => ` Promise ` <[ ` SuccessfulAPIResponse ` ] ( ../modules.md#successfulapiresponse ) < [ ` WorkspaceResetSandboxResponse ` ] ( ../interfaces/WorkspaceResetSandboxResponse.md ) \> \> |
205205
206206#### Inherited from
207207
208208Routes.workspaces
209209
210210#### Defined in
211211
212- [ src/routes.ts:78 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L78 )
212+ [ src/routes.ts:94 ] ( https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L94 )
213213
214214## Methods
215215
0 commit comments