From cb73f9bec057839e3baa6236072ee023053b5d84 Mon Sep 17 00:00:00 2001 From: andrii-balitskyi <10balian10@gmail.com> Date: Fri, 4 Mar 2022 15:44:40 +0200 Subject: [PATCH 1/4] devices update method added --- docs/classes/default.md | 15 ++++++++------- docs/interfaces/DeviceProperties.md | 19 +++++++++++++++++++ docs/modules.md | 21 +++++++++++++++++++++ src/routes.ts | 7 +++++++ src/types/models.ts | 4 ++++ src/types/route-requests.ts | 9 ++++++++- 6 files changed, 67 insertions(+), 8 deletions(-) create mode 100644 docs/interfaces/DeviceProperties.md diff --git a/docs/classes/default.md b/docs/classes/default.md index d6f8c979..417b8273 100644 --- a/docs/classes/default.md +++ b/docs/classes/default.md @@ -70,7 +70,7 @@ Routes.accessCodes #### Defined in -[src/routes.ts:168](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L168) +[src/routes.ts:175](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L175) ___ @@ -90,7 +90,7 @@ Routes.actionAttempts #### Defined in -[src/routes.ts:227](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L227) +[src/routes.ts:234](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L234) ___ @@ -122,7 +122,7 @@ Routes.connectWebviews #### Defined in -[src/routes.ts:148](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L148) +[src/routes.ts:155](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L155) ___ @@ -143,7 +143,7 @@ Routes.connectedAccounts #### Defined in -[src/routes.ts:212](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L212) +[src/routes.ts:219](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L219) ___ @@ -157,6 +157,7 @@ ___ | :------ | :------ | | `get` | (`deviceId`: `string`) => `Promise`<[`Device`](../interfaces/Device.md)<`any`, `any`\>\> | | `list` | (`connectedAccountId?`: `string`) => `Promise`<[`Device`](../interfaces/Device.md)<`any`, `any`\>[]\> | +| `update` | (`params`: [`DeviceUpdateRequest`](../modules.md#deviceupdaterequest)) => `Promise`<[`Device`](../interfaces/Device.md)<`any`, `any`\>\> | #### Inherited from @@ -164,7 +165,7 @@ Routes.devices #### Defined in -[src/routes.ts:129](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L129) +[src/routes.ts:130](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L130) ___ @@ -187,7 +188,7 @@ Routes.locks #### Defined in -[src/routes.ts:94](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L94) +[src/routes.ts:95](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L95) ___ @@ -209,7 +210,7 @@ Routes.workspaces #### Defined in -[src/routes.ts:78](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L78) +[src/routes.ts:79](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L79) ## Methods diff --git a/docs/interfaces/DeviceProperties.md b/docs/interfaces/DeviceProperties.md new file mode 100644 index 00000000..e0d5386c --- /dev/null +++ b/docs/interfaces/DeviceProperties.md @@ -0,0 +1,19 @@ +[seamapi](../README.md) / [Exports](../modules.md) / DeviceProperties + +# Interface: DeviceProperties + +## Table of contents + +### Properties + +- [name](DeviceProperties.md#name) + +## Properties + +### name + +• `Optional` **name**: `string` + +#### Defined in + +[src/types/models.ts:150](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L150) diff --git a/docs/modules.md b/docs/modules.md index 3338b8af..17797fdf 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -28,6 +28,7 @@ - [ConnectedAccountsListResponse](interfaces/ConnectedAccountsListResponse.md) - [Device](interfaces/Device.md) - [DeviceGetResponse](interfaces/DeviceGetResponse.md) +- [DeviceProperties](interfaces/DeviceProperties.md) - [DevicesListResponse](interfaces/DevicesListResponse.md) - [ErroredAPIResponse](interfaces/ErroredAPIResponse.md) - [LockGetResponse](interfaces/LockGetResponse.md) @@ -54,6 +55,7 @@ - [ActionType](modules.md#actiontype) - [AnyDevice](modules.md#anydevice) - [DeviceType](modules.md#devicetype) +- [DeviceUpdateRequest](modules.md#deviceupdaterequest) - [LockDevice](modules.md#lockdevice) - [LockDeviceType](modules.md#lockdevicetype) - [LockLockDoorResponse](modules.md#locklockdoorresponse) @@ -201,6 +203,25 @@ ___ ___ +### DeviceUpdateRequest + +Ƭ **DeviceUpdateRequest**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `device_id` | `string` | +| `location?` | `object` | +| `name?` | `string` | +| `properties?` | [`DeviceProperties`](interfaces/DeviceProperties.md) | + +#### Defined in + +[src/types/route-requests.ts:30](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-requests.ts#L30) + +___ + ### LockDevice Ƭ **LockDevice**: [`Device`](interfaces/Device.md)<[`LockProperties`](interfaces/LockProperties.md), [`LockDeviceType`](modules.md#lockdevicetype)\> diff --git a/src/routes.ts b/src/routes.ts index 7af80d52..e6c5cbe5 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -12,6 +12,7 @@ import { AccessCodeDeleteRequest, AccessCodeCreateScheduledRequest, ConnectWebviewCreateRequest, + DeviceUpdateRequest, } from "./types/route-requests" import { SeamActionAttemptError } from "./lib/api-error" @@ -143,6 +144,12 @@ export abstract class Routes { device_id: deviceId, }, }), + update: (params: DeviceUpdateRequest) => + this.makeRequestAndFormat("device", { + url: "/devices/update", + method: "PATCH", + data: params, + }), } public readonly connectWebviews = { diff --git a/src/types/models.ts b/src/types/models.ts index 32307c0d..505f24fe 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -145,3 +145,7 @@ export interface ActionAttemptResultTypeMap { CREATE_ACCESS_CODE: { access_code: AccessCode } DELETE_ACCESS_CODE: {} } + +export interface DeviceProperties { + name?: string +} diff --git a/src/types/route-requests.ts b/src/types/route-requests.ts index 03345c61..a74f588e 100644 --- a/src/types/route-requests.ts +++ b/src/types/route-requests.ts @@ -1,4 +1,4 @@ -import { Provider } from "./models" +import { DeviceProperties, Provider } from "./models" export interface ConnectWebviewCreateRequest { accepted_providers: Provider[] @@ -26,3 +26,10 @@ export type AccessCodeDeleteRequest = { device_id?: string access_code_id: string } + +export type DeviceUpdateRequest = { + device_id: string + properties?: DeviceProperties + name?: string + location?: object +} From 07338fe28592ff0386dc73245c9f4795de8edce9 Mon Sep 17 00:00:00 2001 From: andrii-balitskyi <10balian10@gmail.com> Date: Mon, 7 Mar 2022 21:49:40 +0100 Subject: [PATCH 2/4] common device properties type added --- docs/interfaces/AccessCode.md | 12 +++---- docs/interfaces/AccessCodesListResponse.md | 2 +- docs/interfaces/ActionAttemptGetResponse.md | 2 +- docs/interfaces/ActionAttemptResultTypeMap.md | 8 ++--- docs/interfaces/ActionAttemptWithError.md | 10 +++--- docs/interfaces/ConnectWebview.md | 26 +++++++------- .../ConnectWebviewCreateResponse.md | 2 +- docs/interfaces/ConnectWebviewGetResponse.md | 2 +- .../interfaces/ConnectWebviewsListResponse.md | 2 +- docs/interfaces/ConnectedAccount.md | 8 ++--- .../ConnectedAccountsGetResponse.md | 2 +- .../ConnectedAccountsListResponse.md | 2 +- docs/interfaces/Device.md | 18 +++++----- docs/interfaces/DeviceGetResponse.md | 4 +-- docs/interfaces/DeviceProperties.md | 19 ---------- docs/interfaces/DevicesListResponse.md | 4 +-- docs/interfaces/LockGetResponse.md | 2 +- docs/interfaces/LockProperties.md | 26 ++++++++++---- docs/interfaces/LocksListResponse.md | 2 +- docs/interfaces/PendingActionAttempt.md | 10 +++--- docs/interfaces/SeamObjectTypeMap.md | 26 +++++++------- docs/interfaces/SuccessfulActionAttempt.md | 10 +++--- docs/interfaces/WorkspaceGetResponse.md | 2 +- .../WorkspaceResetSandboxResponse.md | 2 +- docs/interfaces/WorkspacesListResponse.md | 2 +- docs/modules.md | 35 ++++++++++++++----- src/types/models.ts | 17 ++++----- src/types/route-requests.ts | 4 +-- src/types/route-responses.ts | 5 +-- 29 files changed, 140 insertions(+), 126 deletions(-) delete mode 100644 docs/interfaces/DeviceProperties.md diff --git a/docs/interfaces/AccessCode.md b/docs/interfaces/AccessCode.md index 15d04642..8e2599e8 100644 --- a/docs/interfaces/AccessCode.md +++ b/docs/interfaces/AccessCode.md @@ -21,7 +21,7 @@ #### Defined in -[src/types/models.ts:111](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L111) +[src/types/models.ts:116](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L116) ___ @@ -31,7 +31,7 @@ ___ #### Defined in -[src/types/models.ts:112](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L112) +[src/types/models.ts:117](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L117) ___ @@ -41,7 +41,7 @@ ___ #### Defined in -[src/types/models.ts:115](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L115) +[src/types/models.ts:120](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L120) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:113](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L113) +[src/types/models.ts:118](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L118) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:116](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L116) +[src/types/models.ts:121](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L121) ___ @@ -71,4 +71,4 @@ ___ #### Defined in -[src/types/models.ts:114](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L114) +[src/types/models.ts:119](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L119) diff --git a/docs/interfaces/AccessCodesListResponse.md b/docs/interfaces/AccessCodesListResponse.md index c32ac64b..ef1aaeb9 100644 --- a/docs/interfaces/AccessCodesListResponse.md +++ b/docs/interfaces/AccessCodesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:59](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L59) +[src/types/route-responses.ts:60](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L60) diff --git a/docs/interfaces/ActionAttemptGetResponse.md b/docs/interfaces/ActionAttemptGetResponse.md index 4a53c5de..5b250da1 100644 --- a/docs/interfaces/ActionAttemptGetResponse.md +++ b/docs/interfaces/ActionAttemptGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:73](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L73) +[src/types/route-responses.ts:74](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L74) diff --git a/docs/interfaces/ActionAttemptResultTypeMap.md b/docs/interfaces/ActionAttemptResultTypeMap.md index a9278f72..a311e3a2 100644 --- a/docs/interfaces/ActionAttemptResultTypeMap.md +++ b/docs/interfaces/ActionAttemptResultTypeMap.md @@ -25,7 +25,7 @@ #### Defined in -[src/types/models.ts:145](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L145) +[src/types/models.ts:150](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L150) ___ @@ -35,7 +35,7 @@ ___ #### Defined in -[src/types/models.ts:146](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L146) +[src/types/models.ts:151](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L151) ___ @@ -45,7 +45,7 @@ ___ #### Defined in -[src/types/models.ts:143](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L143) +[src/types/models.ts:148](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L148) ___ @@ -55,4 +55,4 @@ ___ #### Defined in -[src/types/models.ts:144](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L144) +[src/types/models.ts:149](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L149) diff --git a/docs/interfaces/ActionAttemptWithError.md b/docs/interfaces/ActionAttemptWithError.md index b4a4cf0d..f113b098 100644 --- a/docs/interfaces/ActionAttemptWithError.md +++ b/docs/interfaces/ActionAttemptWithError.md @@ -36,7 +36,7 @@ ActionAttemptBase.action\_attempt\_id #### Defined in -[src/types/models.ts:58](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L58) +[src/types/models.ts:63](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L63) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:59](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L59) +[src/types/models.ts:64](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L64) ___ @@ -71,7 +71,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:76](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L76) +[src/types/models.ts:81](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L81) ___ @@ -85,7 +85,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:75](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L75) +[src/types/models.ts:80](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L80) ___ @@ -99,4 +99,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:74](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L74) +[src/types/models.ts:79](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L79) diff --git a/docs/interfaces/ConnectWebview.md b/docs/interfaces/ConnectWebview.md index f4a44155..c9585480 100644 --- a/docs/interfaces/ConnectWebview.md +++ b/docs/interfaces/ConnectWebview.md @@ -28,7 +28,7 @@ #### Defined in -[src/types/models.ts:99](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L99) +[src/types/models.ts:104](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L104) ___ @@ -38,7 +38,7 @@ ___ #### Defined in -[src/types/models.ts:98](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L98) +[src/types/models.ts:103](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L103) ___ @@ -48,7 +48,7 @@ ___ #### Defined in -[src/types/models.ts:101](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L101) +[src/types/models.ts:106](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L106) ___ @@ -58,7 +58,7 @@ ___ #### Defined in -[src/types/models.ts:100](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L100) +[src/types/models.ts:105](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L105) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[src/types/models.ts:95](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L95) +[src/types/models.ts:100](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L100) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/types/models.ts:105](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L105) +[src/types/models.ts:110](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L110) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:102](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L102) +[src/types/models.ts:107](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L107) ___ @@ -98,7 +98,7 @@ ___ #### Defined in -[src/types/models.ts:106](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L106) +[src/types/models.ts:111](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L111) ___ @@ -108,7 +108,7 @@ ___ #### Defined in -[src/types/models.ts:97](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L97) +[src/types/models.ts:102](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L102) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/types/models.ts:103](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L103) +[src/types/models.ts:108](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L108) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:104](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L104) +[src/types/models.ts:109](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L109) ___ @@ -138,7 +138,7 @@ ___ #### Defined in -[src/types/models.ts:107](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L107) +[src/types/models.ts:112](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L112) ___ @@ -148,4 +148,4 @@ ___ #### Defined in -[src/types/models.ts:96](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L96) +[src/types/models.ts:101](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L101) diff --git a/docs/interfaces/ConnectWebviewCreateResponse.md b/docs/interfaces/ConnectWebviewCreateResponse.md index e7736bd5..13d45009 100644 --- a/docs/interfaces/ConnectWebviewCreateResponse.md +++ b/docs/interfaces/ConnectWebviewCreateResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:52](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L52) +[src/types/route-responses.ts:53](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L53) diff --git a/docs/interfaces/ConnectWebviewGetResponse.md b/docs/interfaces/ConnectWebviewGetResponse.md index 2e55084a..2a87750e 100644 --- a/docs/interfaces/ConnectWebviewGetResponse.md +++ b/docs/interfaces/ConnectWebviewGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:49](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L49) +[src/types/route-responses.ts:50](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L50) diff --git a/docs/interfaces/ConnectWebviewsListResponse.md b/docs/interfaces/ConnectWebviewsListResponse.md index ff84a42b..3c961d72 100644 --- a/docs/interfaces/ConnectWebviewsListResponse.md +++ b/docs/interfaces/ConnectWebviewsListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:46](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L46) +[src/types/route-responses.ts:47](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L47) diff --git a/docs/interfaces/ConnectedAccount.md b/docs/interfaces/ConnectedAccount.md index 64d47189..9b0e0cd9 100644 --- a/docs/interfaces/ConnectedAccount.md +++ b/docs/interfaces/ConnectedAccount.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:123](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L123) +[src/types/models.ts:128](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L128) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:120](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L120) +[src/types/models.ts:125](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L125) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:121](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L121) +[src/types/models.ts:126](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L126) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:122](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L122) +[src/types/models.ts:127](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L127) diff --git a/docs/interfaces/ConnectedAccountsGetResponse.md b/docs/interfaces/ConnectedAccountsGetResponse.md index c6b169f2..147de88c 100644 --- a/docs/interfaces/ConnectedAccountsGetResponse.md +++ b/docs/interfaces/ConnectedAccountsGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:68](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L68) +[src/types/route-responses.ts:69](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L69) diff --git a/docs/interfaces/ConnectedAccountsListResponse.md b/docs/interfaces/ConnectedAccountsListResponse.md index 37518748..d58a6c0d 100644 --- a/docs/interfaces/ConnectedAccountsListResponse.md +++ b/docs/interfaces/ConnectedAccountsListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:65](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L65) +[src/types/route-responses.ts:66](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L66) diff --git a/docs/interfaces/Device.md b/docs/interfaces/Device.md index f8191dd5..c5297585 100644 --- a/docs/interfaces/Device.md +++ b/docs/interfaces/Device.md @@ -6,7 +6,7 @@ | Name | Type | | :------ | :------ | -| `Properties` | `Properties` | +| `Properties` | extends [`CommonDeviceProperties`](../modules.md#commondeviceproperties) | | `Type` | [`DeviceType`](../modules.md#devicetype) | ## Table of contents @@ -30,7 +30,7 @@ #### Defined in -[src/types/models.ts:26](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L26) +[src/types/models.ts:33](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L33) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/models.ts:25](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L25) +[src/types/models.ts:32](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L32) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:27](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L27) +[src/types/models.ts:34](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L34) ___ @@ -60,7 +60,7 @@ ___ #### Defined in -[src/types/models.ts:20](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L20) +[src/types/models.ts:27](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L27) ___ @@ -70,7 +70,7 @@ ___ #### Defined in -[src/types/models.ts:24](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L24) +[src/types/models.ts:31](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L31) ___ @@ -80,7 +80,7 @@ ___ #### Defined in -[src/types/models.ts:23](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L23) +[src/types/models.ts:30](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L30) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:22](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L22) +[src/types/models.ts:29](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L29) ___ @@ -100,4 +100,4 @@ ___ #### Defined in -[src/types/models.ts:21](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L21) +[src/types/models.ts:28](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L28) diff --git a/docs/interfaces/DeviceGetResponse.md b/docs/interfaces/DeviceGetResponse.md index fbb083cc..0488f989 100644 --- a/docs/interfaces/DeviceGetResponse.md +++ b/docs/interfaces/DeviceGetResponse.md @@ -12,8 +12,8 @@ ### device -• **device**: [`Device`](Device.md)<`unknown`, [`DeviceType`](../modules.md#devicetype)\> +• **device**: [`Device`](Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), [`DeviceType`](../modules.md#devicetype)\> #### Defined in -[src/types/route-responses.ts:41](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L41) +[src/types/route-responses.ts:42](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L42) diff --git a/docs/interfaces/DeviceProperties.md b/docs/interfaces/DeviceProperties.md deleted file mode 100644 index e0d5386c..00000000 --- a/docs/interfaces/DeviceProperties.md +++ /dev/null @@ -1,19 +0,0 @@ -[seamapi](../README.md) / [Exports](../modules.md) / DeviceProperties - -# Interface: DeviceProperties - -## Table of contents - -### Properties - -- [name](DeviceProperties.md#name) - -## Properties - -### name - -• `Optional` **name**: `string` - -#### Defined in - -[src/types/models.ts:150](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L150) diff --git a/docs/interfaces/DevicesListResponse.md b/docs/interfaces/DevicesListResponse.md index b48341e9..8329bb39 100644 --- a/docs/interfaces/DevicesListResponse.md +++ b/docs/interfaces/DevicesListResponse.md @@ -12,8 +12,8 @@ ### devices -• **devices**: [`Device`](Device.md)<`unknown`, [`DeviceType`](../modules.md#devicetype)\>[] +• **devices**: [`Device`](Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), [`DeviceType`](../modules.md#devicetype)\>[] #### Defined in -[src/types/route-responses.ts:38](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L38) +[src/types/route-responses.ts:39](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L39) diff --git a/docs/interfaces/LockGetResponse.md b/docs/interfaces/LockGetResponse.md index 694af5dd..0584f680 100644 --- a/docs/interfaces/LockGetResponse.md +++ b/docs/interfaces/LockGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:31](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L31) +[src/types/route-responses.ts:32](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L32) diff --git a/docs/interfaces/LockProperties.md b/docs/interfaces/LockProperties.md index 274bfd36..c570cebc 100644 --- a/docs/interfaces/LockProperties.md +++ b/docs/interfaces/LockProperties.md @@ -2,6 +2,12 @@ # Interface: LockProperties +## Hierarchy + +- [`CommonDeviceProperties`](../modules.md#commondeviceproperties) + + ↳ **`LockProperties`** + ## Table of contents ### Properties @@ -29,7 +35,7 @@ #### Defined in -[src/types/models.ts:41](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L41) +[src/types/models.ts:46](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L46) ___ @@ -39,7 +45,7 @@ ___ #### Defined in -[src/types/models.ts:34](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L34) +[src/types/models.ts:39](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L39) ___ @@ -49,7 +55,7 @@ ___ #### Defined in -[src/types/models.ts:32](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L32) +[src/types/models.ts:38](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L38) ___ @@ -57,9 +63,13 @@ ___ • **name**: `string` +#### Inherited from + +CommonDeviceProperties.name + #### Defined in -[src/types/models.ts:31](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L31) +[src/types/models.ts:20](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L20) ___ @@ -67,9 +77,13 @@ ___ • **online**: `boolean` +#### Inherited from + +CommonDeviceProperties.online + #### Defined in -[src/types/models.ts:33](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L33) +[src/types/models.ts:21](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L21) ___ @@ -86,4 +100,4 @@ ___ #### Defined in -[src/types/models.ts:36](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L36) +[src/types/models.ts:41](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L41) diff --git a/docs/interfaces/LocksListResponse.md b/docs/interfaces/LocksListResponse.md index 0110ebfb..50c2b793 100644 --- a/docs/interfaces/LocksListResponse.md +++ b/docs/interfaces/LocksListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:27](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L27) +[src/types/route-responses.ts:28](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L28) diff --git a/docs/interfaces/PendingActionAttempt.md b/docs/interfaces/PendingActionAttempt.md index 1793f84a..39c352d3 100644 --- a/docs/interfaces/PendingActionAttempt.md +++ b/docs/interfaces/PendingActionAttempt.md @@ -36,7 +36,7 @@ ActionAttemptBase.action\_attempt\_id #### Defined in -[src/types/models.ts:58](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L58) +[src/types/models.ts:63](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L63) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:59](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L59) +[src/types/models.ts:64](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L64) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:69](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L69) +[src/types/models.ts:74](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L74) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:68](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L68) +[src/types/models.ts:73](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L73) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:67](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L67) +[src/types/models.ts:72](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L72) diff --git a/docs/interfaces/SeamObjectTypeMap.md b/docs/interfaces/SeamObjectTypeMap.md index 5842c473..15432bef 100644 --- a/docs/interfaces/SeamObjectTypeMap.md +++ b/docs/interfaces/SeamObjectTypeMap.md @@ -34,7 +34,7 @@ #### Defined in -[src/types/models.ts:128](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L128) +[src/types/models.ts:133](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L133) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[src/types/models.ts:129](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L129) +[src/types/models.ts:134](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L134) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[src/types/models.ts:127](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L127) +[src/types/models.ts:132](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L132) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:134](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L134) +[src/types/models.ts:139](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L139) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/models.ts:135](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L135) +[src/types/models.ts:140](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L140) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[src/types/models.ts:136](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L136) +[src/types/models.ts:141](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L141) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/models.ts:137](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L137) +[src/types/models.ts:142](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L142) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:130](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L130) +[src/types/models.ts:135](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L135) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:131](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L131) +[src/types/models.ts:136](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L136) ___ @@ -124,7 +124,7 @@ ___ #### Defined in -[src/types/models.ts:132](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L132) +[src/types/models.ts:137](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L137) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[src/types/models.ts:133](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L133) +[src/types/models.ts:138](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L138) ___ @@ -144,7 +144,7 @@ ___ #### Defined in -[src/types/models.ts:138](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L138) +[src/types/models.ts:143](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L143) ___ @@ -154,4 +154,4 @@ ___ #### Defined in -[src/types/models.ts:139](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L139) +[src/types/models.ts:144](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L144) diff --git a/docs/interfaces/SuccessfulActionAttempt.md b/docs/interfaces/SuccessfulActionAttempt.md index d280a3a7..5ec6b724 100644 --- a/docs/interfaces/SuccessfulActionAttempt.md +++ b/docs/interfaces/SuccessfulActionAttempt.md @@ -36,7 +36,7 @@ ActionAttemptBase.action\_attempt\_id #### Defined in -[src/types/models.ts:58](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L58) +[src/types/models.ts:63](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L63) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:59](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L59) +[src/types/models.ts:64](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L64) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:85](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L85) +[src/types/models.ts:90](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L90) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:86](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L86) +[src/types/models.ts:91](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L91) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:84](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L84) +[src/types/models.ts:89](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L89) diff --git a/docs/interfaces/WorkspaceGetResponse.md b/docs/interfaces/WorkspaceGetResponse.md index 4a2e4ea1..748e504f 100644 --- a/docs/interfaces/WorkspaceGetResponse.md +++ b/docs/interfaces/WorkspaceGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:17](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L17) +[src/types/route-responses.ts:18](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L18) diff --git a/docs/interfaces/WorkspaceResetSandboxResponse.md b/docs/interfaces/WorkspaceResetSandboxResponse.md index 533001cd..548cadcf 100644 --- a/docs/interfaces/WorkspaceResetSandboxResponse.md +++ b/docs/interfaces/WorkspaceResetSandboxResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:22](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L22) +[src/types/route-responses.ts:23](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L23) diff --git a/docs/interfaces/WorkspacesListResponse.md b/docs/interfaces/WorkspacesListResponse.md index 54b0ebbc..35ba9fff 100644 --- a/docs/interfaces/WorkspacesListResponse.md +++ b/docs/interfaces/WorkspacesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:14](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L14) +[src/types/route-responses.ts:15](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L15) diff --git a/docs/modules.md b/docs/modules.md index 17797fdf..ec1223d7 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -28,7 +28,6 @@ - [ConnectedAccountsListResponse](interfaces/ConnectedAccountsListResponse.md) - [Device](interfaces/Device.md) - [DeviceGetResponse](interfaces/DeviceGetResponse.md) -- [DeviceProperties](interfaces/DeviceProperties.md) - [DevicesListResponse](interfaces/DevicesListResponse.md) - [ErroredAPIResponse](interfaces/ErroredAPIResponse.md) - [LockGetResponse](interfaces/LockGetResponse.md) @@ -54,6 +53,7 @@ - [ActionAttempt](modules.md#actionattempt) - [ActionType](modules.md#actiontype) - [AnyDevice](modules.md#anydevice) +- [CommonDeviceProperties](modules.md#commondeviceproperties) - [DeviceType](modules.md#devicetype) - [DeviceUpdateRequest](modules.md#deviceupdaterequest) - [LockDevice](modules.md#lockdevice) @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/route-responses.ts:61](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L61) +[src/types/route-responses.ts:62](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L62) ___ @@ -169,7 +169,7 @@ ___ #### Defined in -[src/types/models.ts:89](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L89) +[src/types/models.ts:94](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L94) ___ @@ -179,7 +179,7 @@ ___ #### Defined in -[src/types/models.ts:51](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L51) +[src/types/models.ts:56](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L56) ___ @@ -189,7 +189,24 @@ ___ #### Defined in -[src/types/models.ts:48](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L48) +[src/types/models.ts:53](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L53) + +___ + +### CommonDeviceProperties + +Ƭ **CommonDeviceProperties**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `name` | `string` | +| `online` | `boolean` | + +#### Defined in + +[src/types/models.ts:19](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L19) ___ @@ -214,7 +231,7 @@ ___ | `device_id` | `string` | | `location?` | `object` | | `name?` | `string` | -| `properties?` | [`DeviceProperties`](interfaces/DeviceProperties.md) | +| `properties?` | `Partial`<[`CommonDeviceProperties`](modules.md#commondeviceproperties)\> | #### Defined in @@ -228,7 +245,7 @@ ___ #### Defined in -[src/types/models.ts:49](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L49) +[src/types/models.ts:54](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L54) ___ @@ -248,7 +265,7 @@ ___ #### Defined in -[src/types/route-responses.ts:33](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L33) +[src/types/route-responses.ts:34](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L34) ___ @@ -258,7 +275,7 @@ ___ #### Defined in -[src/types/route-responses.ts:34](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L34) +[src/types/route-responses.ts:35](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L35) ___ diff --git a/src/types/models.ts b/src/types/models.ts index 505f24fe..ee84ebcf 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -16,7 +16,14 @@ export type Provider = | "noiseaware" | "smartthings" -export interface Device { +export type CommonDeviceProperties = { + name: string + online: boolean +} +export interface Device< + Properties extends CommonDeviceProperties, + Type = DeviceType +> { device_id: string workspace_id: string properties: Properties @@ -27,10 +34,8 @@ export interface Device { created_at: string } -export interface LockProperties { - name: string +export interface LockProperties extends CommonDeviceProperties { locked: boolean - online: boolean door_open?: boolean schlage_metadata?: { @@ -145,7 +150,3 @@ export interface ActionAttemptResultTypeMap { CREATE_ACCESS_CODE: { access_code: AccessCode } DELETE_ACCESS_CODE: {} } - -export interface DeviceProperties { - name?: string -} diff --git a/src/types/route-requests.ts b/src/types/route-requests.ts index a74f588e..1b34d57c 100644 --- a/src/types/route-requests.ts +++ b/src/types/route-requests.ts @@ -1,4 +1,4 @@ -import { DeviceProperties, Provider } from "./models" +import { CommonDeviceProperties, Provider } from "./models" export interface ConnectWebviewCreateRequest { accepted_providers: Provider[] @@ -29,7 +29,7 @@ export type AccessCodeDeleteRequest = { export type DeviceUpdateRequest = { device_id: string - properties?: DeviceProperties + properties?: Partial name?: string location?: object } diff --git a/src/types/route-responses.ts b/src/types/route-responses.ts index 142d780f..66a3d14a 100644 --- a/src/types/route-responses.ts +++ b/src/types/route-responses.ts @@ -7,6 +7,7 @@ import { Workspace, ConnectedAccount, LockProperties, + CommonDeviceProperties, } from "./models" // Workspaces @@ -35,10 +36,10 @@ export type LockUnlockDoorResponse = ActionAttempt // Devices export interface DevicesListResponse { - devices: Device[] + devices: Device[] } export interface DeviceGetResponse { - device: Device + device: Device } // Connect Webview From 948bf0d06ffb56bac928905559b02f0a70ccf173 Mon Sep 17 00:00:00 2001 From: andrii-balitskyi <10balian10@gmail.com> Date: Fri, 11 Mar 2022 11:47:38 +0100 Subject: [PATCH 3/4] docs built --- docs/classes/SeamAPIError.md | 4 +-- docs/classes/SeamActionAttemptError.md | 4 +-- docs/classes/default.md | 20 +++++------ docs/enums/Provider.md | 10 +++--- docs/interfaces/APIErrorResponse.md | 6 ++-- docs/interfaces/AccessCode.md | 12 +++---- docs/interfaces/AccessCodesListResponse.md | 2 +- docs/interfaces/ActionAttemptGetResponse.md | 2 +- docs/interfaces/ActionAttemptResultTypeMap.md | 8 ++--- docs/interfaces/ActionAttemptWithError.md | 10 +++--- docs/interfaces/ConnectWebview.md | 26 +++++++------- .../interfaces/ConnectWebviewCreateRequest.md | 2 +- .../ConnectWebviewCreateResponse.md | 2 +- docs/interfaces/ConnectWebviewGetResponse.md | 2 +- .../interfaces/ConnectWebviewsListResponse.md | 2 +- docs/interfaces/ConnectedAccount.md | 8 ++--- .../ConnectedAccountsGetResponse.md | 2 +- .../ConnectedAccountsListResponse.md | 2 +- docs/interfaces/Device.md | 16 ++++----- docs/interfaces/DeviceGetResponse.md | 2 +- docs/interfaces/DevicesListResponse.md | 2 +- docs/interfaces/ErroredAPIResponse.md | 4 +-- docs/interfaces/LockGetResponse.md | 2 +- docs/interfaces/LockProperties.md | 14 ++++---- docs/interfaces/LocksListResponse.md | 2 +- docs/interfaces/PendingActionAttempt.md | 10 +++--- docs/interfaces/SeamAPIErrorMetadata.md | 6 ++-- docs/interfaces/SeamObjectTypeMap.md | 26 +++++++------- docs/interfaces/SuccessfulActionAttempt.md | 10 +++--- docs/interfaces/Workspace.md | 8 ++--- docs/interfaces/WorkspaceGetResponse.md | 2 +- .../WorkspaceResetSandboxResponse.md | 2 +- docs/interfaces/WorkspacesListResponse.md | 2 +- docs/modules.md | 36 +++++++++---------- 34 files changed, 134 insertions(+), 134 deletions(-) diff --git a/docs/classes/SeamAPIError.md b/docs/classes/SeamAPIError.md index ab1b4b53..9b269ca0 100644 --- a/docs/classes/SeamAPIError.md +++ b/docs/classes/SeamAPIError.md @@ -48,7 +48,7 @@ Error.constructor #### Defined in -[src/lib/api-error.ts:8](https://github.com/hello-seam/seamapi-javascript/blob/main/src/lib/api-error.ts#L8) +[src/lib/api-error.ts:8](https://github.com/seamapi/seamapi-javascript/blob/main/src/lib/api-error.ts#L8) ## Properties @@ -163,7 +163,7 @@ node_modules/@types/node/globals.d.ts:13 #### Defined in -[src/lib/api-error.ts:16](https://github.com/hello-seam/seamapi-javascript/blob/main/src/lib/api-error.ts#L16) +[src/lib/api-error.ts:16](https://github.com/seamapi/seamapi-javascript/blob/main/src/lib/api-error.ts#L16) ___ diff --git a/docs/classes/SeamActionAttemptError.md b/docs/classes/SeamActionAttemptError.md index 0f8d1e3c..7b669ee9 100644 --- a/docs/classes/SeamActionAttemptError.md +++ b/docs/classes/SeamActionAttemptError.md @@ -49,7 +49,7 @@ Error.constructor #### Defined in -[src/lib/api-error.ts:22](https://github.com/hello-seam/seamapi-javascript/blob/main/src/lib/api-error.ts#L22) +[src/lib/api-error.ts:22](https://github.com/seamapi/seamapi-javascript/blob/main/src/lib/api-error.ts#L22) ## Properties @@ -160,7 +160,7 @@ node_modules/@types/node/globals.d.ts:13 #### Defined in -[src/lib/api-error.ts:34](https://github.com/hello-seam/seamapi-javascript/blob/main/src/lib/api-error.ts#L34) +[src/lib/api-error.ts:34](https://github.com/seamapi/seamapi-javascript/blob/main/src/lib/api-error.ts#L34) ___ diff --git a/docs/classes/default.md b/docs/classes/default.md index 5a6276d6..433d2750 100644 --- a/docs/classes/default.md +++ b/docs/classes/default.md @@ -48,7 +48,7 @@ Routes.constructor #### Defined in -[src/index.ts:9](https://github.com/hello-seam/seamapi-javascript/blob/main/src/index.ts#L9) +[src/index.ts:9](https://github.com/seamapi/seamapi-javascript/blob/main/src/index.ts#L9) ## Properties @@ -70,7 +70,7 @@ Routes.accessCodes #### Defined in -[src/routes.ts:175](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L175) +[src/routes.ts:175](https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L175) ___ @@ -90,7 +90,7 @@ Routes.actionAttempts #### Defined in -[src/routes.ts:234](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L234) +[src/routes.ts:234](https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L234) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[src/index.ts:7](https://github.com/hello-seam/seamapi-javascript/blob/main/src/index.ts#L7) +[src/index.ts:7](https://github.com/seamapi/seamapi-javascript/blob/main/src/index.ts#L7) ___ @@ -122,7 +122,7 @@ Routes.connectWebviews #### Defined in -[src/routes.ts:155](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L155) +[src/routes.ts:155](https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L155) ___ @@ -143,7 +143,7 @@ Routes.connectedAccounts #### Defined in -[src/routes.ts:219](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L219) +[src/routes.ts:219](https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L219) ___ @@ -165,7 +165,7 @@ Routes.devices #### Defined in -[src/routes.ts:130](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L130) +[src/routes.ts:130](https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L130) ___ @@ -188,7 +188,7 @@ Routes.locks #### Defined in -[src/routes.ts:95](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L95) +[src/routes.ts:95](https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L95) ___ @@ -210,7 +210,7 @@ Routes.workspaces #### Defined in -[src/routes.ts:79](https://github.com/hello-seam/seamapi-javascript/blob/main/src/routes.ts#L79) +[src/routes.ts:79](https://github.com/seamapi/seamapi-javascript/blob/main/src/routes.ts#L79) ## Methods @@ -240,4 +240,4 @@ Routes.makeRequest #### Defined in -[src/index.ts:30](https://github.com/hello-seam/seamapi-javascript/blob/main/src/index.ts#L30) +[src/index.ts:30](https://github.com/seamapi/seamapi-javascript/blob/main/src/index.ts#L30) diff --git a/docs/enums/Provider.md b/docs/enums/Provider.md index 70212412..bdfe8abe 100644 --- a/docs/enums/Provider.md +++ b/docs/enums/Provider.md @@ -20,7 +20,7 @@ #### Defined in -[src/types/models.ts:17](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L17) +[src/types/models.ts:17](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L17) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/types/models.ts:20](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L20) +[src/types/models.ts:20](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L20) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/models.ts:18](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L18) +[src/types/models.ts:18](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L18) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:21](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L21) +[src/types/models.ts:21](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L21) ___ @@ -60,4 +60,4 @@ ___ #### Defined in -[src/types/models.ts:19](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L19) +[src/types/models.ts:19](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L19) diff --git a/docs/interfaces/APIErrorResponse.md b/docs/interfaces/APIErrorResponse.md index 54fb3577..963ba773 100644 --- a/docs/interfaces/APIErrorResponse.md +++ b/docs/interfaces/APIErrorResponse.md @@ -18,7 +18,7 @@ #### Defined in -[src/types/globals.ts:4](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/globals.ts#L4) +[src/types/globals.ts:4](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/globals.ts#L4) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[src/types/globals.ts:3](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/globals.ts#L3) +[src/types/globals.ts:3](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/globals.ts#L3) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[src/types/globals.ts:2](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/globals.ts#L2) +[src/types/globals.ts:2](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/globals.ts#L2) diff --git a/docs/interfaces/AccessCode.md b/docs/interfaces/AccessCode.md index e258c821..582d5e96 100644 --- a/docs/interfaces/AccessCode.md +++ b/docs/interfaces/AccessCode.md @@ -21,7 +21,7 @@ #### Defined in -[src/types/models.ts:123](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L123) +[src/types/models.ts:123](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L123) ___ @@ -31,7 +31,7 @@ ___ #### Defined in -[src/types/models.ts:124](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L124) +[src/types/models.ts:124](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L124) ___ @@ -41,7 +41,7 @@ ___ #### Defined in -[src/types/models.ts:127](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L127) +[src/types/models.ts:127](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L127) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:125](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L125) +[src/types/models.ts:125](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L125) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:128](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L128) +[src/types/models.ts:128](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L128) ___ @@ -71,4 +71,4 @@ ___ #### Defined in -[src/types/models.ts:126](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L126) +[src/types/models.ts:126](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L126) diff --git a/docs/interfaces/AccessCodesListResponse.md b/docs/interfaces/AccessCodesListResponse.md index ef1aaeb9..507ffe78 100644 --- a/docs/interfaces/AccessCodesListResponse.md +++ b/docs/interfaces/AccessCodesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:60](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L60) +[src/types/route-responses.ts:60](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L60) diff --git a/docs/interfaces/ActionAttemptGetResponse.md b/docs/interfaces/ActionAttemptGetResponse.md index 5b250da1..cbef0812 100644 --- a/docs/interfaces/ActionAttemptGetResponse.md +++ b/docs/interfaces/ActionAttemptGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:74](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L74) +[src/types/route-responses.ts:74](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L74) diff --git a/docs/interfaces/ActionAttemptResultTypeMap.md b/docs/interfaces/ActionAttemptResultTypeMap.md index 44bfd5dc..ba8fdaae 100644 --- a/docs/interfaces/ActionAttemptResultTypeMap.md +++ b/docs/interfaces/ActionAttemptResultTypeMap.md @@ -25,7 +25,7 @@ #### Defined in -[src/types/models.ts:157](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L157) +[src/types/models.ts:157](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L157) ___ @@ -35,7 +35,7 @@ ___ #### Defined in -[src/types/models.ts:158](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L158) +[src/types/models.ts:158](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L158) ___ @@ -45,7 +45,7 @@ ___ #### Defined in -[src/types/models.ts:155](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L155) +[src/types/models.ts:155](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L155) ___ @@ -55,4 +55,4 @@ ___ #### Defined in -[src/types/models.ts:156](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L156) +[src/types/models.ts:156](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L156) diff --git a/docs/interfaces/ActionAttemptWithError.md b/docs/interfaces/ActionAttemptWithError.md index 5929a235..25d8be9a 100644 --- a/docs/interfaces/ActionAttemptWithError.md +++ b/docs/interfaces/ActionAttemptWithError.md @@ -36,7 +36,7 @@ ActionAttemptBase.action\_attempt\_id #### Defined in -[src/types/models.ts:70](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L70) +[src/types/models.ts:70](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L70) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:71](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L71) +[src/types/models.ts:71](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L71) ___ @@ -71,7 +71,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:88](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L88) +[src/types/models.ts:88](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L88) ___ @@ -85,7 +85,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:87](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L87) +[src/types/models.ts:87](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L87) ___ @@ -99,4 +99,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:86](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L86) +[src/types/models.ts:86](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L86) diff --git a/docs/interfaces/ConnectWebview.md b/docs/interfaces/ConnectWebview.md index 460a9161..6ac87751 100644 --- a/docs/interfaces/ConnectWebview.md +++ b/docs/interfaces/ConnectWebview.md @@ -28,7 +28,7 @@ #### Defined in -[src/types/models.ts:111](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L111) +[src/types/models.ts:111](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L111) ___ @@ -38,7 +38,7 @@ ___ #### Defined in -[src/types/models.ts:110](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L110) +[src/types/models.ts:110](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L110) ___ @@ -48,7 +48,7 @@ ___ #### Defined in -[src/types/models.ts:113](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L113) +[src/types/models.ts:113](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L113) ___ @@ -58,7 +58,7 @@ ___ #### Defined in -[src/types/models.ts:112](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L112) +[src/types/models.ts:112](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L112) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[src/types/models.ts:107](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L107) +[src/types/models.ts:107](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L107) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/types/models.ts:117](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L117) +[src/types/models.ts:117](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L117) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:114](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L114) +[src/types/models.ts:114](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L114) ___ @@ -98,7 +98,7 @@ ___ #### Defined in -[src/types/models.ts:118](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L118) +[src/types/models.ts:118](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L118) ___ @@ -108,7 +108,7 @@ ___ #### Defined in -[src/types/models.ts:109](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L109) +[src/types/models.ts:109](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L109) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/types/models.ts:115](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L115) +[src/types/models.ts:115](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L115) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:116](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L116) +[src/types/models.ts:116](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L116) ___ @@ -138,7 +138,7 @@ ___ #### Defined in -[src/types/models.ts:119](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L119) +[src/types/models.ts:119](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L119) ___ @@ -148,4 +148,4 @@ ___ #### Defined in -[src/types/models.ts:108](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L108) +[src/types/models.ts:108](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L108) diff --git a/docs/interfaces/ConnectWebviewCreateRequest.md b/docs/interfaces/ConnectWebviewCreateRequest.md index a4e9a707..03452e48 100644 --- a/docs/interfaces/ConnectWebviewCreateRequest.md +++ b/docs/interfaces/ConnectWebviewCreateRequest.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-requests.ts:4](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-requests.ts#L4) +[src/types/route-requests.ts:4](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-requests.ts#L4) diff --git a/docs/interfaces/ConnectWebviewCreateResponse.md b/docs/interfaces/ConnectWebviewCreateResponse.md index 13d45009..0e9d24a3 100644 --- a/docs/interfaces/ConnectWebviewCreateResponse.md +++ b/docs/interfaces/ConnectWebviewCreateResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:53](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L53) +[src/types/route-responses.ts:53](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L53) diff --git a/docs/interfaces/ConnectWebviewGetResponse.md b/docs/interfaces/ConnectWebviewGetResponse.md index 2a87750e..3b29bdf2 100644 --- a/docs/interfaces/ConnectWebviewGetResponse.md +++ b/docs/interfaces/ConnectWebviewGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:50](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L50) +[src/types/route-responses.ts:50](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L50) diff --git a/docs/interfaces/ConnectWebviewsListResponse.md b/docs/interfaces/ConnectWebviewsListResponse.md index 3c961d72..cbf8d74f 100644 --- a/docs/interfaces/ConnectWebviewsListResponse.md +++ b/docs/interfaces/ConnectWebviewsListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:47](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L47) +[src/types/route-responses.ts:47](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L47) diff --git a/docs/interfaces/ConnectedAccount.md b/docs/interfaces/ConnectedAccount.md index 7326586f..1a93972c 100644 --- a/docs/interfaces/ConnectedAccount.md +++ b/docs/interfaces/ConnectedAccount.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:135](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L135) +[src/types/models.ts:135](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L135) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:132](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L132) +[src/types/models.ts:132](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L132) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:133](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L133) +[src/types/models.ts:133](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L133) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:134](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L134) +[src/types/models.ts:134](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L134) diff --git a/docs/interfaces/ConnectedAccountsGetResponse.md b/docs/interfaces/ConnectedAccountsGetResponse.md index 147de88c..e6604501 100644 --- a/docs/interfaces/ConnectedAccountsGetResponse.md +++ b/docs/interfaces/ConnectedAccountsGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:69](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L69) +[src/types/route-responses.ts:69](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L69) diff --git a/docs/interfaces/ConnectedAccountsListResponse.md b/docs/interfaces/ConnectedAccountsListResponse.md index d58a6c0d..a0fb5664 100644 --- a/docs/interfaces/ConnectedAccountsListResponse.md +++ b/docs/interfaces/ConnectedAccountsListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:66](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L66) +[src/types/route-responses.ts:66](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L66) diff --git a/docs/interfaces/Device.md b/docs/interfaces/Device.md index bdfd0a40..635b379d 100644 --- a/docs/interfaces/Device.md +++ b/docs/interfaces/Device.md @@ -30,7 +30,7 @@ #### Defined in -[src/types/models.ts:38](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L38) +[src/types/models.ts:38](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L38) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/models.ts:37](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L37) +[src/types/models.ts:37](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L37) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:39](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L39) +[src/types/models.ts:39](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L39) ___ @@ -60,7 +60,7 @@ ___ #### Defined in -[src/types/models.ts:32](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L32) +[src/types/models.ts:32](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L32) ___ @@ -70,7 +70,7 @@ ___ #### Defined in -[src/types/models.ts:36](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L36) +[src/types/models.ts:36](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L36) ___ @@ -80,7 +80,7 @@ ___ #### Defined in -[src/types/models.ts:35](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L35) +[src/types/models.ts:35](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L35) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:34](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L34) +[src/types/models.ts:34](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L34) ___ @@ -100,4 +100,4 @@ ___ #### Defined in -[src/types/models.ts:33](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L33) +[src/types/models.ts:33](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L33) diff --git a/docs/interfaces/DeviceGetResponse.md b/docs/interfaces/DeviceGetResponse.md index 0488f989..417f522c 100644 --- a/docs/interfaces/DeviceGetResponse.md +++ b/docs/interfaces/DeviceGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:42](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L42) +[src/types/route-responses.ts:42](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L42) diff --git a/docs/interfaces/DevicesListResponse.md b/docs/interfaces/DevicesListResponse.md index 8329bb39..93c47968 100644 --- a/docs/interfaces/DevicesListResponse.md +++ b/docs/interfaces/DevicesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:39](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L39) +[src/types/route-responses.ts:39](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L39) diff --git a/docs/interfaces/ErroredAPIResponse.md b/docs/interfaces/ErroredAPIResponse.md index 4b272dc3..97d460d1 100644 --- a/docs/interfaces/ErroredAPIResponse.md +++ b/docs/interfaces/ErroredAPIResponse.md @@ -17,7 +17,7 @@ #### Defined in -[src/types/globals.ts:13](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/globals.ts#L13) +[src/types/globals.ts:13](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/globals.ts#L13) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/types/globals.ts:12](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/globals.ts#L12) +[src/types/globals.ts:12](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/globals.ts#L12) diff --git a/docs/interfaces/LockGetResponse.md b/docs/interfaces/LockGetResponse.md index 0584f680..80136401 100644 --- a/docs/interfaces/LockGetResponse.md +++ b/docs/interfaces/LockGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:32](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L32) +[src/types/route-responses.ts:32](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L32) diff --git a/docs/interfaces/LockProperties.md b/docs/interfaces/LockProperties.md index 0e4b6e17..13210ca5 100644 --- a/docs/interfaces/LockProperties.md +++ b/docs/interfaces/LockProperties.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:51](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L51) +[src/types/models.ts:51](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L51) ___ @@ -46,7 +46,7 @@ ___ #### Defined in -[src/types/models.ts:44](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L44) +[src/types/models.ts:44](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L44) ___ @@ -56,7 +56,7 @@ ___ #### Defined in -[src/types/models.ts:43](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L43) +[src/types/models.ts:43](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L43) ___ @@ -70,7 +70,7 @@ CommonDeviceProperties.name #### Defined in -[src/types/models.ts:25](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L25) +[src/types/models.ts:25](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L25) ___ @@ -84,7 +84,7 @@ CommonDeviceProperties.online #### Defined in -[src/types/models.ts:26](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L26) +[src/types/models.ts:26](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L26) ___ @@ -101,7 +101,7 @@ ___ #### Defined in -[src/types/models.ts:46](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L46) +[src/types/models.ts:46](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L46) ___ @@ -111,4 +111,4 @@ ___ #### Defined in -[src/types/models.ts:57](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L57) +[src/types/models.ts:57](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L57) diff --git a/docs/interfaces/LocksListResponse.md b/docs/interfaces/LocksListResponse.md index 50c2b793..48dd6368 100644 --- a/docs/interfaces/LocksListResponse.md +++ b/docs/interfaces/LocksListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:28](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L28) +[src/types/route-responses.ts:28](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L28) diff --git a/docs/interfaces/PendingActionAttempt.md b/docs/interfaces/PendingActionAttempt.md index 85c33665..7bd2a169 100644 --- a/docs/interfaces/PendingActionAttempt.md +++ b/docs/interfaces/PendingActionAttempt.md @@ -36,7 +36,7 @@ ActionAttemptBase.action\_attempt\_id #### Defined in -[src/types/models.ts:70](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L70) +[src/types/models.ts:70](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L70) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:71](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L71) +[src/types/models.ts:71](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L71) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:81](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L81) +[src/types/models.ts:81](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L81) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:80](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L80) +[src/types/models.ts:80](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L80) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:79](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L79) +[src/types/models.ts:79](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L79) diff --git a/docs/interfaces/SeamAPIErrorMetadata.md b/docs/interfaces/SeamAPIErrorMetadata.md index d32efa5c..418eb543 100644 --- a/docs/interfaces/SeamAPIErrorMetadata.md +++ b/docs/interfaces/SeamAPIErrorMetadata.md @@ -18,7 +18,7 @@ #### Defined in -[src/lib/api-error.ts:4](https://github.com/hello-seam/seamapi-javascript/blob/main/src/lib/api-error.ts#L4) +[src/lib/api-error.ts:4](https://github.com/seamapi/seamapi-javascript/blob/main/src/lib/api-error.ts#L4) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[src/lib/api-error.ts:3](https://github.com/hello-seam/seamapi-javascript/blob/main/src/lib/api-error.ts#L3) +[src/lib/api-error.ts:3](https://github.com/seamapi/seamapi-javascript/blob/main/src/lib/api-error.ts#L3) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[src/lib/api-error.ts:2](https://github.com/hello-seam/seamapi-javascript/blob/main/src/lib/api-error.ts#L2) +[src/lib/api-error.ts:2](https://github.com/seamapi/seamapi-javascript/blob/main/src/lib/api-error.ts#L2) diff --git a/docs/interfaces/SeamObjectTypeMap.md b/docs/interfaces/SeamObjectTypeMap.md index 04da5b03..c0891d0d 100644 --- a/docs/interfaces/SeamObjectTypeMap.md +++ b/docs/interfaces/SeamObjectTypeMap.md @@ -34,7 +34,7 @@ #### Defined in -[src/types/models.ts:140](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L140) +[src/types/models.ts:140](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L140) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[src/types/models.ts:141](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L141) +[src/types/models.ts:141](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L141) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[src/types/models.ts:139](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L139) +[src/types/models.ts:139](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L139) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:146](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L146) +[src/types/models.ts:146](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L146) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/models.ts:147](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L147) +[src/types/models.ts:147](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L147) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[src/types/models.ts:148](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L148) +[src/types/models.ts:148](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L148) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/models.ts:149](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L149) +[src/types/models.ts:149](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L149) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:142](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L142) +[src/types/models.ts:142](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L142) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:143](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L143) +[src/types/models.ts:143](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L143) ___ @@ -124,7 +124,7 @@ ___ #### Defined in -[src/types/models.ts:144](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L144) +[src/types/models.ts:144](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L144) ___ @@ -134,7 +134,7 @@ ___ #### Defined in -[src/types/models.ts:145](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L145) +[src/types/models.ts:145](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L145) ___ @@ -144,7 +144,7 @@ ___ #### Defined in -[src/types/models.ts:150](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L150) +[src/types/models.ts:150](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L150) ___ @@ -154,4 +154,4 @@ ___ #### Defined in -[src/types/models.ts:151](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L151) +[src/types/models.ts:151](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L151) diff --git a/docs/interfaces/SuccessfulActionAttempt.md b/docs/interfaces/SuccessfulActionAttempt.md index b00b178d..1182998d 100644 --- a/docs/interfaces/SuccessfulActionAttempt.md +++ b/docs/interfaces/SuccessfulActionAttempt.md @@ -36,7 +36,7 @@ ActionAttemptBase.action\_attempt\_id #### Defined in -[src/types/models.ts:70](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L70) +[src/types/models.ts:70](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L70) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:71](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L71) +[src/types/models.ts:71](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L71) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:97](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L97) +[src/types/models.ts:97](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L97) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:98](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L98) +[src/types/models.ts:98](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L98) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:96](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L96) +[src/types/models.ts:96](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L96) diff --git a/docs/interfaces/Workspace.md b/docs/interfaces/Workspace.md index e84abb66..9b1dbc67 100644 --- a/docs/interfaces/Workspace.md +++ b/docs/interfaces/Workspace.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:3](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L3) +[src/types/models.ts:3](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L3) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:5](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L5) +[src/types/models.ts:5](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L5) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:4](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L4) +[src/types/models.ts:4](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L4) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:2](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L2) +[src/types/models.ts:2](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L2) diff --git a/docs/interfaces/WorkspaceGetResponse.md b/docs/interfaces/WorkspaceGetResponse.md index 748e504f..807efab4 100644 --- a/docs/interfaces/WorkspaceGetResponse.md +++ b/docs/interfaces/WorkspaceGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:18](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L18) +[src/types/route-responses.ts:18](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L18) diff --git a/docs/interfaces/WorkspaceResetSandboxResponse.md b/docs/interfaces/WorkspaceResetSandboxResponse.md index 548cadcf..8f6399a3 100644 --- a/docs/interfaces/WorkspaceResetSandboxResponse.md +++ b/docs/interfaces/WorkspaceResetSandboxResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:23](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L23) +[src/types/route-responses.ts:23](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L23) diff --git a/docs/interfaces/WorkspacesListResponse.md b/docs/interfaces/WorkspacesListResponse.md index 35ba9fff..fcfa82be 100644 --- a/docs/interfaces/WorkspacesListResponse.md +++ b/docs/interfaces/WorkspacesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:15](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L15) +[src/types/route-responses.ts:15](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L15) diff --git a/docs/modules.md b/docs/modules.md index 8e317fff..d0d5fea2 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -81,7 +81,7 @@ #### Defined in -[src/types/globals.ts:16](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/globals.ts#L16) +[src/types/globals.ts:16](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/globals.ts#L16) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[src/types/route-requests.ts:7](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-requests.ts#L7) +[src/types/route-requests.ts:7](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-requests.ts#L7) ___ @@ -109,7 +109,7 @@ ___ #### Defined in -[src/types/route-requests.ts:21](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-requests.ts#L21) +[src/types/route-requests.ts:21](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-requests.ts#L21) ___ @@ -119,7 +119,7 @@ ___ #### Defined in -[src/types/route-responses.ts:62](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L62) +[src/types/route-responses.ts:62](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L62) ___ @@ -139,7 +139,7 @@ ___ #### Defined in -[src/types/route-requests.ts:13](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-requests.ts#L13) +[src/types/route-requests.ts:13](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-requests.ts#L13) ___ @@ -156,7 +156,7 @@ ___ #### Defined in -[src/types/route-requests.ts:25](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-requests.ts#L25) +[src/types/route-requests.ts:25](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-requests.ts#L25) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:101](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L101) +[src/types/models.ts:101](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L101) ___ @@ -182,7 +182,7 @@ ___ #### Defined in -[src/types/models.ts:63](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L63) +[src/types/models.ts:63](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L63) ___ @@ -192,7 +192,7 @@ ___ #### Defined in -[src/types/models.ts:60](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L60) +[src/types/models.ts:60](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L60) ___ @@ -209,7 +209,7 @@ ___ #### Defined in -[src/types/models.ts:24](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L24) +[src/types/models.ts:24](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L24) ___ @@ -219,7 +219,7 @@ ___ #### Defined in -[src/types/models.ts:14](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L14) +[src/types/models.ts:14](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L14) ___ @@ -238,7 +238,7 @@ ___ #### Defined in -[src/types/route-requests.ts:30](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-requests.ts#L30) +[src/types/route-requests.ts:30](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-requests.ts#L30) ___ @@ -248,7 +248,7 @@ ___ #### Defined in -[src/types/models.ts:61](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L61) +[src/types/models.ts:61](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L61) ___ @@ -258,7 +258,7 @@ ___ #### Defined in -[src/types/models.ts:8](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L8) +[src/types/models.ts:8](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L8) ___ @@ -268,7 +268,7 @@ ___ #### Defined in -[src/types/route-responses.ts:34](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L34) +[src/types/route-responses.ts:34](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L34) ___ @@ -278,7 +278,7 @@ ___ #### Defined in -[src/types/route-responses.ts:35](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/route-responses.ts#L35) +[src/types/route-responses.ts:35](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/route-responses.ts#L35) ___ @@ -288,7 +288,7 @@ ___ #### Defined in -[src/types/models.ts:13](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/models.ts#L13) +[src/types/models.ts:13](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/models.ts#L13) ___ @@ -304,4 +304,4 @@ ___ #### Defined in -[src/types/globals.ts:7](https://github.com/hello-seam/seamapi-javascript/blob/main/src/types/globals.ts#L7) +[src/types/globals.ts:7](https://github.com/seamapi/seamapi-javascript/blob/main/src/types/globals.ts#L7) From 6e7ebce4c47c2fb0a10565ff020c2e2f6b1e8106 Mon Sep 17 00:00:00 2001 From: Severin Ibarluzea Date: Fri, 11 Mar 2022 13:06:00 -0800 Subject: [PATCH 4/4] Update src/routes.ts --- src/routes.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/routes.ts b/src/routes.ts index 29bc8d4c..2a787811 100644 --- a/src/routes.ts +++ b/src/routes.ts @@ -35,7 +35,6 @@ import { WorkspaceGetResponse, ActionAttemptCreateResponse, } from "./types/route-responses" -import { string } from "yargs" export abstract class Routes { public abstract makeRequest(