From 3d89bb89ec1a7876a40692f4e3166eefd92d2879 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 5 Jun 2023 11:40:23 -0700 Subject: [PATCH 01/17] Add Thermostats and Climate Settings --- docs/classes/Seam.md | 71 +++++- docs/interfaces/AccessCodeBase.md | 12 +- .../interfaces/AccessCodeCreateBaseRequest.md | 8 +- .../AccessCodeCreateMultipleOngoingRequest.md | 6 +- .../AccessCodeCreateMultipleResponse.md | 2 +- ...ccessCodeCreateMultipleScheduledRequest.md | 10 +- .../AccessCodeCreateOngoingRequest.md | 8 +- docs/interfaces/AccessCodeCreateResponse.md | 4 +- .../AccessCodeCreateScheduledRequest.md | 12 +- docs/interfaces/AccessCodeGetResponse.md | 2 +- .../interfaces/AccessCodeUpdateBaseRequest.md | 4 +- docs/interfaces/AccessCodesListResponse.md | 2 +- .../interfaces/ActionAttemptCreateResponse.md | 2 +- docs/interfaces/ActionAttemptGetResponse.md | 2 +- docs/interfaces/ActionAttemptResultTypeMap.md | 15 +- docs/interfaces/ActionAttemptWithError.md | 10 +- docs/interfaces/ClientSession.md | 6 +- docs/interfaces/ClientSessionResponse.md | 2 +- .../ClimateSettingScheduleCreateResponse.md | 19 ++ .../ClimateSettingScheduleGetResponse.md | 19 ++ .../ClimateSettingSchedulesListResponse.md | 19 ++ docs/interfaces/ConnectWebview.md | 34 +-- .../interfaces/ConnectWebviewCreateRequest.md | 10 +- .../ConnectWebviewCreateResponse.md | 2 +- .../interfaces/ConnectWebviewDeleteRequest.md | 2 +- docs/interfaces/ConnectWebviewGetResponse.md | 2 +- .../interfaces/ConnectWebviewsListResponse.md | 2 +- docs/interfaces/ConnectedAccount.md | 14 +- .../ConnectedAccountsDeleteRequest.md | 4 +- .../interfaces/ConnectedAccountsGetRequest.md | 4 +- .../ConnectedAccountsGetResponse.md | 2 +- .../ConnectedAccountsListResponse.md | 2 +- docs/interfaces/DeviceGetResponse.md | 2 +- docs/interfaces/DeviceModel.md | 16 +- docs/interfaces/DeviceProvidersListRequest.md | 2 +- .../interfaces/DeviceProvidersListResponse.md | 2 +- docs/interfaces/DevicesListRequest.md | 8 +- docs/interfaces/DevicesListResponse.md | 2 +- docs/interfaces/EventsListRequest.md | 12 +- docs/interfaces/EventsListResponse.md | 2 +- docs/interfaces/LockGetResponse.md | 2 +- docs/interfaces/LocksListResponse.md | 2 +- docs/interfaces/ManagedAccessCodeBase.md | 16 +- docs/interfaces/OngoingAccessCode.md | 22 +- docs/interfaces/PendingActionAttempt.md | 10 +- docs/interfaces/SuccessfulActionAttempt.md | 10 +- docs/interfaces/ThermostatGetResponse.md | 19 ++ docs/interfaces/ThermostatsListResponse.md | 19 ++ docs/interfaces/TimeBoundAccessCode.md | 26 +-- docs/interfaces/UnmanagedAccessCodeBase.md | 16 +- .../UnmanagedAccessCodesGetResponse.md | 2 +- .../UnmanagedAccessCodesListResponse.md | 2 +- .../interfaces/UnmanagedDeviceListResponse.md | 2 +- docs/interfaces/UnmanagedOngoingAccessCode.md | 18 +- .../UnmanagedTimeBoundAccessCode.md | 22 +- docs/interfaces/UserIdentifier.md | 2 +- docs/interfaces/Webhook.md | 8 +- docs/interfaces/WebhookGetResponse.md | 2 +- docs/interfaces/WebhookListResponse.md | 2 +- docs/interfaces/WorkspaceGetResponse.md | 2 +- .../WorkspaceResetSandboxResponse.md | 2 +- docs/interfaces/WorkspacesListResponse.md | 2 +- docs/modules.md | 210 +++++++++++++++--- src/seam-connect/routes.ts | 76 +++++++ src/types/models.ts | 25 +++ src/types/route-requests.ts | 37 ++- src/types/route-responses.ts | 22 ++ 67 files changed, 697 insertions(+), 240 deletions(-) create mode 100644 docs/interfaces/ClimateSettingScheduleCreateResponse.md create mode 100644 docs/interfaces/ClimateSettingScheduleGetResponse.md create mode 100644 docs/interfaces/ClimateSettingSchedulesListResponse.md create mode 100644 docs/interfaces/ThermostatGetResponse.md create mode 100644 docs/interfaces/ThermostatsListResponse.md diff --git a/docs/classes/Seam.md b/docs/classes/Seam.md index c98ed424..518ad8f7 100644 --- a/docs/classes/Seam.md +++ b/docs/classes/Seam.md @@ -19,6 +19,7 @@ - [accessCodes](Seam.md#accesscodes) - [actionAttempts](Seam.md#actionattempts) - [client](Seam.md#client) +- [climateSettingSchedules](Seam.md#climatesettingschedules) - [connectWebviews](Seam.md#connectwebviews) - [connectedAccounts](Seam.md#connectedaccounts) - [deviceModels](Seam.md#devicemodels) @@ -26,6 +27,7 @@ - [events](Seam.md#events) - [locks](Seam.md#locks) - [noiseThresholds](Seam.md#noisethresholds) +- [thermostats](Seam.md#thermostats) - [webhooks](Seam.md#webhooks) - [workspaces](Seam.md#workspaces) @@ -83,7 +85,7 @@ Routes.accessCodes #### Defined in -[src/seam-connect/routes.ts:282](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L282) +[src/seam-connect/routes.ts:293](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L293) ___ @@ -103,7 +105,7 @@ Routes.actionAttempts #### Defined in -[src/seam-connect/routes.ts:404](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L404) +[src/seam-connect/routes.ts:415](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L415) ___ @@ -117,6 +119,30 @@ ___ ___ +### climateSettingSchedules + +• `Readonly` **climateSettingSchedules**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `create` | (`data`: [`ClimateSettingScheduleBase`](../modules.md#climatesettingschedulebase)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | +| `delete` | (`params`: [`ClimateSettingScheduleDeleteRequest`](../modules.md#climatesettingscheduledeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | +| `get` | (`params`: [`ClimateSettingScheduleGetRequest`](../modules.md#climatesettingschedulegetrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | +| `list` | (`params`: [`ClimateSettingSchedulesListRequest`](../modules.md#climatesettingscheduleslistrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)[]\> | +| `update` | (`params`: [`ClimateSettingScheduleUpdateRequest`](../modules.md#climatesettingscheduleupdaterequest)) => `Promise`<{ `ok`: ``true`` }\> | + +#### Inherited from + +Routes.climateSettingSchedules + +#### Defined in + +[src/seam-connect/routes.ts:514](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L514) + +___ + ### connectWebviews • `Readonly` **connectWebviews**: `Object` @@ -136,7 +162,7 @@ Routes.connectWebviews #### Defined in -[src/seam-connect/routes.ts:250](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L250) +[src/seam-connect/routes.ts:261](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L261) ___ @@ -158,7 +184,7 @@ Routes.connectedAccounts #### Defined in -[src/seam-connect/routes.ts:379](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L379) +[src/seam-connect/routes.ts:390](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L390) ___ @@ -178,7 +204,7 @@ Routes.deviceModels #### Defined in -[src/seam-connect/routes.ts:470](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L470) +[src/seam-connect/routes.ts:481](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L481) ___ @@ -205,7 +231,7 @@ Routes.devices #### Defined in -[src/seam-connect/routes.ts:191](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L191) +[src/seam-connect/routes.ts:202](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L202) ___ @@ -225,7 +251,7 @@ Routes.events #### Defined in -[src/seam-connect/routes.ts:238](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L238) +[src/seam-connect/routes.ts:249](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L249) ___ @@ -248,7 +274,7 @@ Routes.locks #### Defined in -[src/seam-connect/routes.ts:156](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L156) +[src/seam-connect/routes.ts:167](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L167) ___ @@ -271,7 +297,30 @@ Routes.noiseThresholds #### Defined in -[src/seam-connect/routes.ts:414](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L414) +[src/seam-connect/routes.ts:425](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L425) + +___ + +### thermostats + +• `Readonly` **thermostats**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `delete` | (`params`: [`DeviceDeleteRequest`](../modules.md#devicedeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | +| `get` | (`params`: [`DeviceGetRequest`](../modules.md#devicegetrequest)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>\> | +| `list` | (`params?`: [`DevicesListRequest`](../interfaces/DevicesListRequest.md)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>[]\> | +| `update` | (`params`: [`ThermostatUpdateRequest`](../modules.md#thermostatupdaterequest)) => `Promise`<[`SuccessfulAPIResponse`](../modules.md#successfulapiresponse)<[`ActionAttemptGetResponse`](../interfaces/ActionAttemptGetResponse.md)<``"UPDATE_THERMOSTAT"``\>\>\> | + +#### Inherited from + +Routes.thermostats + +#### Defined in + +[src/seam-connect/routes.ts:489](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L489) ___ @@ -294,7 +343,7 @@ Routes.webhooks #### Defined in -[src/seam-connect/routes.ts:445](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L445) +[src/seam-connect/routes.ts:456](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L456) ___ @@ -316,7 +365,7 @@ Routes.workspaces #### Defined in -[src/seam-connect/routes.ts:140](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L140) +[src/seam-connect/routes.ts:151](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L151) ## Methods diff --git a/docs/interfaces/AccessCodeBase.md b/docs/interfaces/AccessCodeBase.md index c1fb7ed6..d76a2771 100644 --- a/docs/interfaces/AccessCodeBase.md +++ b/docs/interfaces/AccessCodeBase.md @@ -29,7 +29,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -49,7 +49,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -79,4 +79,4 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) diff --git a/docs/interfaces/AccessCodeCreateBaseRequest.md b/docs/interfaces/AccessCodeCreateBaseRequest.md index 2e259854..08342692 100644 --- a/docs/interfaces/AccessCodeCreateBaseRequest.md +++ b/docs/interfaces/AccessCodeCreateBaseRequest.md @@ -27,7 +27,7 @@ #### Defined in -[src/types/route-requests.ts:42](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L42) +[src/types/route-requests.ts:48](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L48) ___ @@ -37,7 +37,7 @@ ___ #### Defined in -[src/types/route-requests.ts:43](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L43) +[src/types/route-requests.ts:49](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L49) ___ @@ -47,7 +47,7 @@ ___ #### Defined in -[src/types/route-requests.ts:40](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L40) +[src/types/route-requests.ts:46](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L46) ___ @@ -57,4 +57,4 @@ ___ #### Defined in -[src/types/route-requests.ts:41](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L41) +[src/types/route-requests.ts:47](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L47) diff --git a/docs/interfaces/AccessCodeCreateMultipleOngoingRequest.md b/docs/interfaces/AccessCodeCreateMultipleOngoingRequest.md index df096fbc..2398e363 100644 --- a/docs/interfaces/AccessCodeCreateMultipleOngoingRequest.md +++ b/docs/interfaces/AccessCodeCreateMultipleOngoingRequest.md @@ -28,7 +28,7 @@ AccessCodeCreateMultipleBaseRequest.behavior\_when\_code\_cannot\_be\_shared #### Defined in -[src/types/route-requests.ts:62](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L62) +[src/types/route-requests.ts:68](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L68) ___ @@ -42,7 +42,7 @@ AccessCodeCreateMultipleBaseRequest.device\_ids #### Defined in -[src/types/route-requests.ts:60](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L60) +[src/types/route-requests.ts:66](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L66) ___ @@ -56,4 +56,4 @@ AccessCodeCreateMultipleBaseRequest.name #### Defined in -[src/types/route-requests.ts:61](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L61) +[src/types/route-requests.ts:67](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L67) diff --git a/docs/interfaces/AccessCodeCreateMultipleResponse.md b/docs/interfaces/AccessCodeCreateMultipleResponse.md index 990f7e6e..261c5582 100644 --- a/docs/interfaces/AccessCodeCreateMultipleResponse.md +++ b/docs/interfaces/AccessCodeCreateMultipleResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:87](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L87) +[src/types/route-responses.ts:88](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L88) diff --git a/docs/interfaces/AccessCodeCreateMultipleScheduledRequest.md b/docs/interfaces/AccessCodeCreateMultipleScheduledRequest.md index e04085b2..693a9527 100644 --- a/docs/interfaces/AccessCodeCreateMultipleScheduledRequest.md +++ b/docs/interfaces/AccessCodeCreateMultipleScheduledRequest.md @@ -30,7 +30,7 @@ AccessCodeCreateMultipleBaseRequest.behavior\_when\_code\_cannot\_be\_shared #### Defined in -[src/types/route-requests.ts:62](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L62) +[src/types/route-requests.ts:68](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L68) ___ @@ -44,7 +44,7 @@ AccessCodeCreateMultipleBaseRequest.device\_ids #### Defined in -[src/types/route-requests.ts:60](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L60) +[src/types/route-requests.ts:66](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L66) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[src/types/route-requests.ts:71](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L71) +[src/types/route-requests.ts:77](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L77) ___ @@ -68,7 +68,7 @@ AccessCodeCreateMultipleBaseRequest.name #### Defined in -[src/types/route-requests.ts:61](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L61) +[src/types/route-requests.ts:67](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L67) ___ @@ -78,4 +78,4 @@ ___ #### Defined in -[src/types/route-requests.ts:70](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L70) +[src/types/route-requests.ts:76](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L76) diff --git a/docs/interfaces/AccessCodeCreateOngoingRequest.md b/docs/interfaces/AccessCodeCreateOngoingRequest.md index 726996fe..fdbd2f4b 100644 --- a/docs/interfaces/AccessCodeCreateOngoingRequest.md +++ b/docs/interfaces/AccessCodeCreateOngoingRequest.md @@ -29,7 +29,7 @@ #### Defined in -[src/types/route-requests.ts:42](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L42) +[src/types/route-requests.ts:48](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L48) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[src/types/route-requests.ts:43](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L43) +[src/types/route-requests.ts:49](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L49) ___ @@ -57,7 +57,7 @@ ___ #### Defined in -[src/types/route-requests.ts:40](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L40) +[src/types/route-requests.ts:46](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L46) ___ @@ -71,4 +71,4 @@ ___ #### Defined in -[src/types/route-requests.ts:41](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L41) +[src/types/route-requests.ts:47](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L47) diff --git a/docs/interfaces/AccessCodeCreateResponse.md b/docs/interfaces/AccessCodeCreateResponse.md index 17176219..c6865986 100644 --- a/docs/interfaces/AccessCodeCreateResponse.md +++ b/docs/interfaces/AccessCodeCreateResponse.md @@ -29,7 +29,7 @@ #### Defined in -[src/types/route-responses.ts:80](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L80) +[src/types/route-responses.ts:81](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L81) ___ @@ -43,4 +43,4 @@ ___ #### Defined in -[src/types/route-responses.ts:124](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L124) +[src/types/route-responses.ts:125](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L125) diff --git a/docs/interfaces/AccessCodeCreateScheduledRequest.md b/docs/interfaces/AccessCodeCreateScheduledRequest.md index b6052d47..dc2f48e2 100644 --- a/docs/interfaces/AccessCodeCreateScheduledRequest.md +++ b/docs/interfaces/AccessCodeCreateScheduledRequest.md @@ -31,7 +31,7 @@ #### Defined in -[src/types/route-requests.ts:42](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L42) +[src/types/route-requests.ts:48](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L48) ___ @@ -45,7 +45,7 @@ ___ #### Defined in -[src/types/route-requests.ts:43](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L43) +[src/types/route-requests.ts:49](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L49) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/types/route-requests.ts:40](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L40) +[src/types/route-requests.ts:46](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L46) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[src/types/route-requests.ts:52](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L52) +[src/types/route-requests.ts:58](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L58) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[src/types/route-requests.ts:41](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L41) +[src/types/route-requests.ts:47](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L47) ___ @@ -93,4 +93,4 @@ ___ #### Defined in -[src/types/route-requests.ts:51](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L51) +[src/types/route-requests.ts:57](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L57) diff --git a/docs/interfaces/AccessCodeGetResponse.md b/docs/interfaces/AccessCodeGetResponse.md index c10969eb..6e53b56c 100644 --- a/docs/interfaces/AccessCodeGetResponse.md +++ b/docs/interfaces/AccessCodeGetResponse.md @@ -22,4 +22,4 @@ #### Defined in -[src/types/route-responses.ts:80](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L80) +[src/types/route-responses.ts:81](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L81) diff --git a/docs/interfaces/AccessCodeUpdateBaseRequest.md b/docs/interfaces/AccessCodeUpdateBaseRequest.md index ac0e6345..137cca51 100644 --- a/docs/interfaces/AccessCodeUpdateBaseRequest.md +++ b/docs/interfaces/AccessCodeUpdateBaseRequest.md @@ -17,7 +17,7 @@ #### Defined in -[src/types/route-requests.ts:80](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L80) +[src/types/route-requests.ts:86](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L86) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/types/route-requests.ts:79](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L79) +[src/types/route-requests.ts:85](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L85) diff --git a/docs/interfaces/AccessCodesListResponse.md b/docs/interfaces/AccessCodesListResponse.md index 15117753..cd2153ec 100644 --- a/docs/interfaces/AccessCodesListResponse.md +++ b/docs/interfaces/AccessCodesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:77](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L77) +[src/types/route-responses.ts:78](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L78) diff --git a/docs/interfaces/ActionAttemptCreateResponse.md b/docs/interfaces/ActionAttemptCreateResponse.md index abe8a5a9..0e2585a6 100644 --- a/docs/interfaces/ActionAttemptCreateResponse.md +++ b/docs/interfaces/ActionAttemptCreateResponse.md @@ -22,4 +22,4 @@ #### Defined in -[src/types/route-responses.ts:120](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L120) +[src/types/route-responses.ts:121](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L121) diff --git a/docs/interfaces/ActionAttemptGetResponse.md b/docs/interfaces/ActionAttemptGetResponse.md index f1373510..f016376d 100644 --- a/docs/interfaces/ActionAttemptGetResponse.md +++ b/docs/interfaces/ActionAttemptGetResponse.md @@ -28,4 +28,4 @@ #### Defined in -[src/types/route-responses.ts:124](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L124) +[src/types/route-responses.ts:125](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L125) diff --git a/docs/interfaces/ActionAttemptResultTypeMap.md b/docs/interfaces/ActionAttemptResultTypeMap.md index 44fc8ece..01d2b620 100644 --- a/docs/interfaces/ActionAttemptResultTypeMap.md +++ b/docs/interfaces/ActionAttemptResultTypeMap.md @@ -17,6 +17,7 @@ - [LOCK\_DOOR](ActionAttemptResultTypeMap.md#lock_door) - [UNLOCK\_DOOR](ActionAttemptResultTypeMap.md#unlock_door) - [UPDATE\_ACCESS\_CODE](ActionAttemptResultTypeMap.md#update_access_code) +- [UPDATE\_THERMOSTAT](ActionAttemptResultTypeMap.md#update_thermostat) ## Properties @@ -36,7 +37,7 @@ Record.CREATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:222](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L222) +[src/types/models.ts:223](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L223) ___ @@ -86,4 +87,14 @@ Record.UPDATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:223](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L223) +[src/types/models.ts:224](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L224) + +___ + +### UPDATE\_THERMOSTAT + +• **UPDATE\_THERMOSTAT**: `unknown` + +#### Inherited from + +Record.UPDATE\_THERMOSTAT diff --git a/docs/interfaces/ActionAttemptWithError.md b/docs/interfaces/ActionAttemptWithError.md index 5922a625..246a9b1f 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:196](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L196) +[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) +[src/types/models.ts:198](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L198) ___ @@ -71,7 +71,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:214](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L214) +[src/types/models.ts:215](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L215) ___ @@ -85,7 +85,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L213) +[src/types/models.ts:214](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L214) ___ @@ -99,4 +99,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) +[src/types/models.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L213) diff --git a/docs/interfaces/ClientSession.md b/docs/interfaces/ClientSession.md index 27c495c9..2c143778 100644 --- a/docs/interfaces/ClientSession.md +++ b/docs/interfaces/ClientSession.md @@ -18,7 +18,7 @@ #### Defined in -[src/types/models.ts:342](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L342) +[src/types/models.ts:343](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L343) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[src/types/models.ts:340](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L340) +[src/types/models.ts:341](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L341) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[src/types/models.ts:341](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L341) +[src/types/models.ts:342](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L342) diff --git a/docs/interfaces/ClientSessionResponse.md b/docs/interfaces/ClientSessionResponse.md index 1f8899aa..4d82e3c3 100644 --- a/docs/interfaces/ClientSessionResponse.md +++ b/docs/interfaces/ClientSessionResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:133](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L133) +[src/types/route-responses.ts:134](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L134) diff --git a/docs/interfaces/ClimateSettingScheduleCreateResponse.md b/docs/interfaces/ClimateSettingScheduleCreateResponse.md new file mode 100644 index 00000000..99a2e96a --- /dev/null +++ b/docs/interfaces/ClimateSettingScheduleCreateResponse.md @@ -0,0 +1,19 @@ +[seamapi](../README.md) / [Exports](../modules.md) / ClimateSettingScheduleCreateResponse + +# Interface: ClimateSettingScheduleCreateResponse + +## Table of contents + +### Properties + +- [climate\_setting\_schedule](ClimateSettingScheduleCreateResponse.md#climate_setting_schedule) + +## Properties + +### climate\_setting\_schedule + +• **climate\_setting\_schedule**: [`ClimateSettingSchedule`](../modules.md#climatesettingschedule) + +#### Defined in + +[src/types/route-responses.ts:163](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L163) diff --git a/docs/interfaces/ClimateSettingScheduleGetResponse.md b/docs/interfaces/ClimateSettingScheduleGetResponse.md new file mode 100644 index 00000000..dd9fc5fa --- /dev/null +++ b/docs/interfaces/ClimateSettingScheduleGetResponse.md @@ -0,0 +1,19 @@ +[seamapi](../README.md) / [Exports](../modules.md) / ClimateSettingScheduleGetResponse + +# Interface: ClimateSettingScheduleGetResponse + +## Table of contents + +### Properties + +- [climate\_setting\_schedule](ClimateSettingScheduleGetResponse.md#climate_setting_schedule) + +## Properties + +### climate\_setting\_schedule + +• **climate\_setting\_schedule**: [`ClimateSettingSchedule`](../modules.md#climatesettingschedule) + +#### Defined in + +[src/types/route-responses.ts:159](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L159) diff --git a/docs/interfaces/ClimateSettingSchedulesListResponse.md b/docs/interfaces/ClimateSettingSchedulesListResponse.md new file mode 100644 index 00000000..423ec631 --- /dev/null +++ b/docs/interfaces/ClimateSettingSchedulesListResponse.md @@ -0,0 +1,19 @@ +[seamapi](../README.md) / [Exports](../modules.md) / ClimateSettingSchedulesListResponse + +# Interface: ClimateSettingSchedulesListResponse + +## Table of contents + +### Properties + +- [climate\_setting\_schedules](ClimateSettingSchedulesListResponse.md#climate_setting_schedules) + +## Properties + +### climate\_setting\_schedules + +• **climate\_setting\_schedules**: [`ClimateSettingSchedule`](../modules.md#climatesettingschedule)[] + +#### Defined in + +[src/types/route-responses.ts:155](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L155) diff --git a/docs/interfaces/ConnectWebview.md b/docs/interfaces/ConnectWebview.md index 7bb0ac0c..e09b08bd 100644 --- a/docs/interfaces/ConnectWebview.md +++ b/docs/interfaces/ConnectWebview.md @@ -32,7 +32,7 @@ #### Defined in -[src/types/models.ts:244](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L244) +[src/types/models.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L245) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:242](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L242) +[src/types/models.ts:243](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L243) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:246](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L246) +[src/types/models.ts:247](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L247) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L245) +[src/types/models.ts:246](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L246) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:254](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L254) +[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/types/models.ts:239](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L239) +[src/types/models.ts:240](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L240) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/types/models.ts:250](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L250) +[src/types/models.ts:251](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L251) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:247](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L247) +[src/types/models.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L248) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) +[src/types/models.ts:256](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L256) ___ @@ -122,7 +122,7 @@ ___ #### Defined in -[src/types/models.ts:252](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L252) +[src/types/models.ts:253](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L253) ___ @@ -132,7 +132,7 @@ ___ #### Defined in -[src/types/models.ts:251](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L251) +[src/types/models.ts:252](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L252) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:241](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L241) +[src/types/models.ts:242](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L242) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L248) +[src/types/models.ts:249](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L249) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:243](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L243) +[src/types/models.ts:244](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L244) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:249](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L249) +[src/types/models.ts:250](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L250) ___ @@ -182,7 +182,7 @@ ___ #### Defined in -[src/types/models.ts:253](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L253) +[src/types/models.ts:254](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L254) ___ @@ -192,4 +192,4 @@ ___ #### Defined in -[src/types/models.ts:240](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L240) +[src/types/models.ts:241](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L241) diff --git a/docs/interfaces/ConnectWebviewCreateRequest.md b/docs/interfaces/ConnectWebviewCreateRequest.md index c53c64cc..0eecb8bd 100644 --- a/docs/interfaces/ConnectWebviewCreateRequest.md +++ b/docs/interfaces/ConnectWebviewCreateRequest.md @@ -20,7 +20,7 @@ #### Defined in -[src/types/route-requests.ts:6](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L6) +[src/types/route-requests.ts:12](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L12) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/types/route-requests.ts:10](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L10) +[src/types/route-requests.ts:16](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L16) ___ @@ -40,7 +40,7 @@ ___ #### Defined in -[src/types/route-requests.ts:9](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L9) +[src/types/route-requests.ts:15](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L15) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/route-requests.ts:8](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L8) +[src/types/route-requests.ts:14](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L14) ___ @@ -60,4 +60,4 @@ ___ #### Defined in -[src/types/route-requests.ts:7](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L7) +[src/types/route-requests.ts:13](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L13) diff --git a/docs/interfaces/ConnectWebviewCreateResponse.md b/docs/interfaces/ConnectWebviewCreateResponse.md index 1e5c92ed..bff3d2e4 100644 --- a/docs/interfaces/ConnectWebviewCreateResponse.md +++ b/docs/interfaces/ConnectWebviewCreateResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:69](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L69) +[src/types/route-responses.ts:70](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L70) diff --git a/docs/interfaces/ConnectWebviewDeleteRequest.md b/docs/interfaces/ConnectWebviewDeleteRequest.md index db67f260..be7a2abf 100644 --- a/docs/interfaces/ConnectWebviewDeleteRequest.md +++ b/docs/interfaces/ConnectWebviewDeleteRequest.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-requests.ts:14](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L14) +[src/types/route-requests.ts:20](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L20) diff --git a/docs/interfaces/ConnectWebviewGetResponse.md b/docs/interfaces/ConnectWebviewGetResponse.md index 798e3e52..99861874 100644 --- a/docs/interfaces/ConnectWebviewGetResponse.md +++ b/docs/interfaces/ConnectWebviewGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:66](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L66) +[src/types/route-responses.ts:67](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L67) diff --git a/docs/interfaces/ConnectWebviewsListResponse.md b/docs/interfaces/ConnectWebviewsListResponse.md index f672d1ef..13bdcb5e 100644 --- a/docs/interfaces/ConnectWebviewsListResponse.md +++ b/docs/interfaces/ConnectWebviewsListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:63](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L63) +[src/types/route-responses.ts:64](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L64) diff --git a/docs/interfaces/ConnectedAccount.md b/docs/interfaces/ConnectedAccount.md index efcbf4b3..6c27f385 100644 --- a/docs/interfaces/ConnectedAccount.md +++ b/docs/interfaces/ConnectedAccount.md @@ -22,7 +22,7 @@ #### Defined in -[src/types/models.ts:314](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L314) +[src/types/models.ts:315](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L315) ___ @@ -32,7 +32,7 @@ ___ #### Defined in -[src/types/models.ts:311](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L311) +[src/types/models.ts:312](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L312) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:312](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L312) +[src/types/models.ts:313](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L313) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:317](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L317) +[src/types/models.ts:318](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L318) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:315](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L315) +[src/types/models.ts:316](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L316) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:313](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L313) +[src/types/models.ts:314](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L314) ___ @@ -82,4 +82,4 @@ ___ #### Defined in -[src/types/models.ts:316](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L316) +[src/types/models.ts:317](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L317) diff --git a/docs/interfaces/ConnectedAccountsDeleteRequest.md b/docs/interfaces/ConnectedAccountsDeleteRequest.md index 5c8b0892..b336114a 100644 --- a/docs/interfaces/ConnectedAccountsDeleteRequest.md +++ b/docs/interfaces/ConnectedAccountsDeleteRequest.md @@ -27,7 +27,7 @@ ConnectedAccountBaseRequest.connected\_account\_id #### Defined in -[src/types/route-requests.ts:18](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L18) +[src/types/route-requests.ts:24](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L24) ___ @@ -41,4 +41,4 @@ ConnectedAccountBaseRequest.email #### Defined in -[src/types/route-requests.ts:19](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L19) +[src/types/route-requests.ts:25](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L25) diff --git a/docs/interfaces/ConnectedAccountsGetRequest.md b/docs/interfaces/ConnectedAccountsGetRequest.md index 347380a4..9f799e21 100644 --- a/docs/interfaces/ConnectedAccountsGetRequest.md +++ b/docs/interfaces/ConnectedAccountsGetRequest.md @@ -27,7 +27,7 @@ ConnectedAccountBaseRequest.connected\_account\_id #### Defined in -[src/types/route-requests.ts:18](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L18) +[src/types/route-requests.ts:24](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L24) ___ @@ -41,4 +41,4 @@ ConnectedAccountBaseRequest.email #### Defined in -[src/types/route-requests.ts:19](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L19) +[src/types/route-requests.ts:25](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L25) diff --git a/docs/interfaces/ConnectedAccountsGetResponse.md b/docs/interfaces/ConnectedAccountsGetResponse.md index e580635c..58d761b7 100644 --- a/docs/interfaces/ConnectedAccountsGetResponse.md +++ b/docs/interfaces/ConnectedAccountsGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:103](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L103) +[src/types/route-responses.ts:104](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L104) diff --git a/docs/interfaces/ConnectedAccountsListResponse.md b/docs/interfaces/ConnectedAccountsListResponse.md index d1ca6612..c776d3d5 100644 --- a/docs/interfaces/ConnectedAccountsListResponse.md +++ b/docs/interfaces/ConnectedAccountsListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:100](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L100) +[src/types/route-responses.ts:101](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L101) diff --git a/docs/interfaces/DeviceGetResponse.md b/docs/interfaces/DeviceGetResponse.md index fdf00614..cb4b7a06 100644 --- a/docs/interfaces/DeviceGetResponse.md +++ b/docs/interfaces/DeviceGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:48](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L48) +[src/types/route-responses.ts:49](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L49) diff --git a/docs/interfaces/DeviceModel.md b/docs/interfaces/DeviceModel.md index 9c662cde..26a66dcd 100644 --- a/docs/interfaces/DeviceModel.md +++ b/docs/interfaces/DeviceModel.md @@ -23,7 +23,7 @@ #### Defined in -[src/types/models.ts:364](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L364) +[src/types/models.ts:365](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L365) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[src/types/models.ts:362](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L362) +[src/types/models.ts:363](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L363) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[src/types/models.ts:365](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L365) +[src/types/models.ts:366](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L366) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[src/types/models.ts:359](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L359) +[src/types/models.ts:360](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L360) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[src/types/models.ts:361](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L361) +[src/types/models.ts:362](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L362) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[src/types/models.ts:360](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L360) +[src/types/models.ts:361](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L361) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[src/types/models.ts:366](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L366) +[src/types/models.ts:367](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L367) ___ @@ -93,4 +93,4 @@ ___ #### Defined in -[src/types/models.ts:363](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L363) +[src/types/models.ts:364](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L364) diff --git a/docs/interfaces/DeviceProvidersListRequest.md b/docs/interfaces/DeviceProvidersListRequest.md index cba056a4..c4835ded 100644 --- a/docs/interfaces/DeviceProvidersListRequest.md +++ b/docs/interfaces/DeviceProvidersListRequest.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-requests.ts:36](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L36) +[src/types/route-requests.ts:42](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L42) diff --git a/docs/interfaces/DeviceProvidersListResponse.md b/docs/interfaces/DeviceProvidersListResponse.md index 5347740e..a5c5c5d4 100644 --- a/docs/interfaces/DeviceProvidersListResponse.md +++ b/docs/interfaces/DeviceProvidersListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:58](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L58) +[src/types/route-responses.ts:59](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L59) diff --git a/docs/interfaces/DevicesListRequest.md b/docs/interfaces/DevicesListRequest.md index 5ef27b1a..cd1d9cf8 100644 --- a/docs/interfaces/DevicesListRequest.md +++ b/docs/interfaces/DevicesListRequest.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/route-requests.ts:30](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L30) +[src/types/route-requests.ts:36](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L36) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/route-requests.ts:29](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L29) +[src/types/route-requests.ts:35](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L35) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/route-requests.ts:32](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L32) +[src/types/route-requests.ts:38](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L38) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/route-requests.ts:31](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L31) +[src/types/route-requests.ts:37](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L37) diff --git a/docs/interfaces/DevicesListResponse.md b/docs/interfaces/DevicesListResponse.md index 12f2442b..1f7f3e56 100644 --- a/docs/interfaces/DevicesListResponse.md +++ b/docs/interfaces/DevicesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:45](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L45) +[src/types/route-responses.ts:46](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L46) diff --git a/docs/interfaces/EventsListRequest.md b/docs/interfaces/EventsListRequest.md index 94a3d862..e35dc655 100644 --- a/docs/interfaces/EventsListRequest.md +++ b/docs/interfaces/EventsListRequest.md @@ -21,7 +21,7 @@ #### Defined in -[src/types/route-requests.ts:175](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L175) +[src/types/route-requests.ts:181](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L181) ___ @@ -31,7 +31,7 @@ ___ #### Defined in -[src/types/route-requests.ts:172](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L172) +[src/types/route-requests.ts:178](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L178) ___ @@ -41,7 +41,7 @@ ___ #### Defined in -[src/types/route-requests.ts:171](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L171) +[src/types/route-requests.ts:177](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L177) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/route-requests.ts:174](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L174) +[src/types/route-requests.ts:180](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L180) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/route-requests.ts:173](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L173) +[src/types/route-requests.ts:179](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L179) ___ @@ -71,4 +71,4 @@ ___ #### Defined in -[src/types/route-requests.ts:170](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L170) +[src/types/route-requests.ts:176](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L176) diff --git a/docs/interfaces/EventsListResponse.md b/docs/interfaces/EventsListResponse.md index 71f092f6..885e491c 100644 --- a/docs/interfaces/EventsListResponse.md +++ b/docs/interfaces/EventsListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:129](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L129) +[src/types/route-responses.ts:130](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L130) diff --git a/docs/interfaces/LockGetResponse.md b/docs/interfaces/LockGetResponse.md index bdb425eb..d531a693 100644 --- a/docs/interfaces/LockGetResponse.md +++ b/docs/interfaces/LockGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:40](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L40) +[src/types/route-responses.ts:41](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L41) diff --git a/docs/interfaces/LocksListResponse.md b/docs/interfaces/LocksListResponse.md index 6e04f917..2b9f81e8 100644 --- a/docs/interfaces/LocksListResponse.md +++ b/docs/interfaces/LocksListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:36](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L36) +[src/types/route-responses.ts:37](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L37) diff --git a/docs/interfaces/ManagedAccessCodeBase.md b/docs/interfaces/ManagedAccessCodeBase.md index d27ef585..f73ed689 100644 --- a/docs/interfaces/ManagedAccessCodeBase.md +++ b/docs/interfaces/ManagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) diff --git a/docs/interfaces/OngoingAccessCode.md b/docs/interfaces/OngoingAccessCode.md index be04c033..f7ee0eb4 100644 --- a/docs/interfaces/OngoingAccessCode.md +++ b/docs/interfaces/OngoingAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) ___ @@ -130,7 +130,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) diff --git a/docs/interfaces/PendingActionAttempt.md b/docs/interfaces/PendingActionAttempt.md index b0ecf755..b6b2be7a 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:196](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L196) +[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) +[src/types/models.ts:198](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L198) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:207](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L207) +[src/types/models.ts:208](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L208) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:206](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L206) +[src/types/models.ts:207](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L207) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:205](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L205) +[src/types/models.ts:206](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L206) diff --git a/docs/interfaces/SuccessfulActionAttempt.md b/docs/interfaces/SuccessfulActionAttempt.md index acd20d8d..8bf8a157 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:196](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L196) +[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) +[src/types/models.ts:198](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L198) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:229](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L229) +[src/types/models.ts:230](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L230) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:230](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L230) +[src/types/models.ts:231](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L231) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:228](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L228) +[src/types/models.ts:229](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L229) diff --git a/docs/interfaces/ThermostatGetResponse.md b/docs/interfaces/ThermostatGetResponse.md new file mode 100644 index 00000000..26927ef3 --- /dev/null +++ b/docs/interfaces/ThermostatGetResponse.md @@ -0,0 +1,19 @@ +[seamapi](../README.md) / [Exports](../modules.md) / ThermostatGetResponse + +# Interface: ThermostatGetResponse + +## Table of contents + +### Properties + +- [thermostat](ThermostatGetResponse.md#thermostat) + +## Properties + +### thermostat + +• **thermostat**: [`Device`](Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\> + +#### Defined in + +[src/types/route-responses.ts:150](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L150) diff --git a/docs/interfaces/ThermostatsListResponse.md b/docs/interfaces/ThermostatsListResponse.md new file mode 100644 index 00000000..b9f51505 --- /dev/null +++ b/docs/interfaces/ThermostatsListResponse.md @@ -0,0 +1,19 @@ +[seamapi](../README.md) / [Exports](../modules.md) / ThermostatsListResponse + +# Interface: ThermostatsListResponse + +## Table of contents + +### Properties + +- [thermostats](ThermostatsListResponse.md#thermostats) + +## Properties + +### thermostats + +• **thermostats**: [`Device`](Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>[] + +#### Defined in + +[src/types/route-responses.ts:147](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L147) diff --git a/docs/interfaces/TimeBoundAccessCode.md b/docs/interfaces/TimeBoundAccessCode.md index 9a22f1ba..1bfab31b 100644 --- a/docs/interfaces/TimeBoundAccessCode.md +++ b/docs/interfaces/TimeBoundAccessCode.md @@ -38,7 +38,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) +[src/types/models.ts:281](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L281) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) +[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:282](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L282) +[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:281](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L281) +[src/types/models.ts:282](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L282) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) ___ @@ -186,4 +186,4 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) diff --git a/docs/interfaces/UnmanagedAccessCodeBase.md b/docs/interfaces/UnmanagedAccessCodeBase.md index 78d3320f..0cbbfa16 100644 --- a/docs/interfaces/UnmanagedAccessCodeBase.md +++ b/docs/interfaces/UnmanagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) diff --git a/docs/interfaces/UnmanagedAccessCodesGetResponse.md b/docs/interfaces/UnmanagedAccessCodesGetResponse.md index 09b8ce74..a98a4507 100644 --- a/docs/interfaces/UnmanagedAccessCodesGetResponse.md +++ b/docs/interfaces/UnmanagedAccessCodesGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:95](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L95) +[src/types/route-responses.ts:96](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L96) diff --git a/docs/interfaces/UnmanagedAccessCodesListResponse.md b/docs/interfaces/UnmanagedAccessCodesListResponse.md index 9e7b1db2..3895a394 100644 --- a/docs/interfaces/UnmanagedAccessCodesListResponse.md +++ b/docs/interfaces/UnmanagedAccessCodesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:92](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L92) +[src/types/route-responses.ts:93](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L93) diff --git a/docs/interfaces/UnmanagedDeviceListResponse.md b/docs/interfaces/UnmanagedDeviceListResponse.md index bca3681c..0416c8ed 100644 --- a/docs/interfaces/UnmanagedDeviceListResponse.md +++ b/docs/interfaces/UnmanagedDeviceListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:53](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L53) +[src/types/route-responses.ts:54](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L54) diff --git a/docs/interfaces/UnmanagedOngoingAccessCode.md b/docs/interfaces/UnmanagedOngoingAccessCode.md index 342148bb..6159f243 100644 --- a/docs/interfaces/UnmanagedOngoingAccessCode.md +++ b/docs/interfaces/UnmanagedOngoingAccessCode.md @@ -34,7 +34,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -48,7 +48,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:294](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L294) +[src/types/models.ts:295](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L295) ___ @@ -142,4 +142,4 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) diff --git a/docs/interfaces/UnmanagedTimeBoundAccessCode.md b/docs/interfaces/UnmanagedTimeBoundAccessCode.md index 25df4608..fc27029e 100644 --- a/docs/interfaces/UnmanagedTimeBoundAccessCode.md +++ b/docs/interfaces/UnmanagedTimeBoundAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) +[src/types/models.ts:300](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L300) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -126,7 +126,7 @@ ___ #### Defined in -[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) +[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:297](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L297) +[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) diff --git a/docs/interfaces/UserIdentifier.md b/docs/interfaces/UserIdentifier.md index e206869c..e9a11fab 100644 --- a/docs/interfaces/UserIdentifier.md +++ b/docs/interfaces/UserIdentifier.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/models.ts:307](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L307) +[src/types/models.ts:308](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L308) diff --git a/docs/interfaces/Webhook.md b/docs/interfaces/Webhook.md index 0dd78b0e..c23bcd08 100644 --- a/docs/interfaces/Webhook.md +++ b/docs/interfaces/Webhook.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:323](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L323) +[src/types/models.ts:324](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L324) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:324](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L324) +[src/types/models.ts:325](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L325) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:322](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L322) +[src/types/models.ts:323](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L323) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:321](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L321) +[src/types/models.ts:322](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L322) diff --git a/docs/interfaces/WebhookGetResponse.md b/docs/interfaces/WebhookGetResponse.md index 37d43645..4e613276 100644 --- a/docs/interfaces/WebhookGetResponse.md +++ b/docs/interfaces/WebhookGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:112](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L112) +[src/types/route-responses.ts:113](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L113) diff --git a/docs/interfaces/WebhookListResponse.md b/docs/interfaces/WebhookListResponse.md index b4584a55..370287dc 100644 --- a/docs/interfaces/WebhookListResponse.md +++ b/docs/interfaces/WebhookListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:108](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L108) +[src/types/route-responses.ts:109](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L109) diff --git a/docs/interfaces/WorkspaceGetResponse.md b/docs/interfaces/WorkspaceGetResponse.md index 978e7ee9..8eb387e8 100644 --- a/docs/interfaces/WorkspaceGetResponse.md +++ b/docs/interfaces/WorkspaceGetResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:26](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L26) +[src/types/route-responses.ts:27](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L27) diff --git a/docs/interfaces/WorkspaceResetSandboxResponse.md b/docs/interfaces/WorkspaceResetSandboxResponse.md index 07ac184a..7b404f6b 100644 --- a/docs/interfaces/WorkspaceResetSandboxResponse.md +++ b/docs/interfaces/WorkspaceResetSandboxResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:31](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L31) +[src/types/route-responses.ts:32](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L32) diff --git a/docs/interfaces/WorkspacesListResponse.md b/docs/interfaces/WorkspacesListResponse.md index 02860321..777c35e3 100644 --- a/docs/interfaces/WorkspacesListResponse.md +++ b/docs/interfaces/WorkspacesListResponse.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/route-responses.ts:23](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L23) +[src/types/route-responses.ts:24](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L24) diff --git a/docs/modules.md b/docs/modules.md index a88b8876..dd97232c 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -41,6 +41,9 @@ - [ActionAttemptWithError](interfaces/ActionAttemptWithError.md) - [ClientSession](interfaces/ClientSession.md) - [ClientSessionResponse](interfaces/ClientSessionResponse.md) +- [ClimateSettingScheduleCreateResponse](interfaces/ClimateSettingScheduleCreateResponse.md) +- [ClimateSettingScheduleGetResponse](interfaces/ClimateSettingScheduleGetResponse.md) +- [ClimateSettingSchedulesListResponse](interfaces/ClimateSettingSchedulesListResponse.md) - [ConnectWebview](interfaces/ConnectWebview.md) - [ConnectWebviewCreateRequest](interfaces/ConnectWebviewCreateRequest.md) - [ConnectWebviewCreateResponse](interfaces/ConnectWebviewCreateResponse.md) @@ -76,6 +79,8 @@ - [SeamOSClientOptions](interfaces/SeamOSClientOptions.md) - [SeamWarning](interfaces/SeamWarning.md) - [SuccessfulActionAttempt](interfaces/SuccessfulActionAttempt.md) +- [ThermostatGetResponse](interfaces/ThermostatGetResponse.md) +- [ThermostatsListResponse](interfaces/ThermostatsListResponse.md) - [TimeBoundAccessCode](interfaces/TimeBoundAccessCode.md) - [UnmanagedAccessCodeBase](interfaces/UnmanagedAccessCodeBase.md) - [UnmanagedAccessCodesGetResponse](interfaces/UnmanagedAccessCodesGetResponse.md) @@ -110,6 +115,14 @@ - [ActionType](modules.md#actiontype) - [AnyDevice](modules.md#anydevice) - [BatteryStatus](modules.md#batterystatus) +- [ClimateSetting](modules.md#climatesetting) +- [ClimateSettingSchedule](modules.md#climatesettingschedule) +- [ClimateSettingScheduleBase](modules.md#climatesettingschedulebase) +- [ClimateSettingScheduleCreateRequest](modules.md#climatesettingschedulecreaterequest) +- [ClimateSettingScheduleDeleteRequest](modules.md#climatesettingscheduledeleterequest) +- [ClimateSettingScheduleGetRequest](modules.md#climatesettingschedulegetrequest) +- [ClimateSettingScheduleUpdateRequest](modules.md#climatesettingscheduleupdaterequest) +- [ClimateSettingSchedulesListRequest](modules.md#climatesettingscheduleslistrequest) - [CommonDeviceProperties](modules.md#commondeviceproperties) - [CustomMetadata](modules.md#custommetadata) - [DeviceDeleteRequest](modules.md#devicedeleterequest) @@ -133,6 +146,7 @@ - [ProviderCategory](modules.md#providercategory) - [SeamWebhookEvent](modules.md#seamwebhookevent) - [SuccessfulAPIResponse](modules.md#successfulapiresponse) +- [ThermostatUpdateRequest](modules.md#thermostatupdaterequest) - [UnmanagedAccessCode](modules.md#unmanagedaccesscode) - [UnmanagedAccessCodeConvertToManagedRequest](modules.md#unmanagedaccesscodeconverttomanagedrequest) - [UnmanagedAccessCodeDeleteRequest](modules.md#unmanagedaccesscodedeleterequest) @@ -185,7 +199,7 @@ ___ #### Defined in -[src/types/models.ts:286](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L286) +[src/types/models.ts:287](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L287) ___ @@ -213,7 +227,7 @@ ___ #### Defined in -[src/types/route-requests.ts:59](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L59) +[src/types/route-requests.ts:65](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L65) ___ @@ -223,7 +237,7 @@ ___ #### Defined in -[src/types/route-requests.ts:74](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L74) +[src/types/route-requests.ts:80](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L80) ___ @@ -233,7 +247,7 @@ ___ #### Defined in -[src/types/route-requests.ts:55](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L55) +[src/types/route-requests.ts:61](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L61) ___ @@ -250,7 +264,7 @@ ___ #### Defined in -[src/types/route-requests.ts:101](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L101) +[src/types/route-requests.ts:107](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L107) ___ @@ -268,7 +282,7 @@ ___ #### Defined in -[src/types/route-requests.ts:106](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L106) +[src/types/route-requests.ts:112](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L112) ___ @@ -278,7 +292,7 @@ ___ #### Defined in -[src/types/route-requests.ts:83](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L83) +[src/types/route-requests.ts:89](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L89) ___ @@ -288,7 +302,7 @@ ___ #### Defined in -[src/types/route-requests.ts:93](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L93) +[src/types/route-requests.ts:99](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L99) ___ @@ -298,7 +312,7 @@ ___ #### Defined in -[src/types/route-requests.ts:88](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L88) +[src/types/route-requests.ts:94](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L94) ___ @@ -314,7 +328,7 @@ ___ #### Defined in -[src/types/route-requests.ts:97](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L97) +[src/types/route-requests.ts:103](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L103) ___ @@ -330,13 +344,13 @@ ___ #### Defined in -[src/types/models.ts:233](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L233) +[src/types/models.ts:234](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L234) ___ ### ActionType -Ƭ **ActionType**: ``"LOCK_DOOR"`` \| ``"UNLOCK_DOOR"`` \| ``"CREATE_ACCESS_CODE"`` \| ``"UPDATE_ACCESS_CODE"`` \| ``"DELETE_ACCESS_CODE"`` +Ƭ **ActionType**: ``"LOCK_DOOR"`` \| ``"UNLOCK_DOOR"`` \| ``"CREATE_ACCESS_CODE"`` \| ``"UPDATE_ACCESS_CODE"`` \| ``"DELETE_ACCESS_CODE"`` \| ``"UPDATE_THERMOSTAT"`` #### Defined in @@ -364,6 +378,118 @@ ___ ___ +### ClimateSetting + +Ƭ **ClimateSetting**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `automatic_cooling_enabled?` | `boolean` | +| `automatic_heating_enabled?` | `boolean` | +| `cooling_set_point_celsius?` | `number` | +| `cooling_set_point_fahrenheit?` | `number` | +| `heating_set_point_celsius?` | `number` | +| `heating_set_point_fahrenheit?` | `number` | +| `hvac_mode_setting?` | ``"off"`` \| ``"heat"`` \| ``"cool"`` \| ``"heatcool"`` | +| `manual_override_allowed?` | `boolean` | + +#### Defined in + +[src/types/models.ts:370](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L370) + +___ + +### ClimateSettingSchedule + +Ƭ **ClimateSettingSchedule**: [`ClimateSettingScheduleBase`](modules.md#climatesettingschedulebase) & { `climate_setting_schedule_id`: `string` ; `created_at`: `string` } + +#### Defined in + +[src/types/models.ts:389](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L389) + +___ + +### ClimateSettingScheduleBase + +Ƭ **ClimateSettingScheduleBase**: `Partial`<[`ClimateSetting`](modules.md#climatesetting)\> & { `device_id`: `string` ; `name?`: `string` ; `schedule_ends_at`: `string` ; `schedule_starts_at`: `string` ; `schedule_type?`: ``"time_bound"`` } + +#### Defined in + +[src/types/models.ts:381](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L381) + +___ + +### ClimateSettingScheduleCreateRequest + +Ƭ **ClimateSettingScheduleCreateRequest**: [`ClimateSettingScheduleBase`](modules.md#climatesettingschedulebase) + +#### Defined in + +[src/types/route-requests.ts:236](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L236) + +___ + +### ClimateSettingScheduleDeleteRequest + +Ƭ **ClimateSettingScheduleDeleteRequest**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `climate_setting_schedule_id` | `string` | + +#### Defined in + +[src/types/route-requests.ts:242](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L242) + +___ + +### ClimateSettingScheduleGetRequest + +Ƭ **ClimateSettingScheduleGetRequest**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `climate_setting_schedule_id` | `string` | +| `device_id` | `string` | + +#### Defined in + +[src/types/route-requests.ts:231](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L231) + +___ + +### ClimateSettingScheduleUpdateRequest + +Ƭ **ClimateSettingScheduleUpdateRequest**: [`ClimateSettingScheduleBase`](modules.md#climatesettingschedulebase) & { `climate_setting_schedule_id`: `string` } + +#### Defined in + +[src/types/route-requests.ts:238](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L238) + +___ + +### ClimateSettingSchedulesListRequest + +Ƭ **ClimateSettingSchedulesListRequest**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `device_id` | `string` | + +#### Defined in + +[src/types/route-requests.ts:227](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L227) + +___ + ### CommonDeviceProperties Ƭ **CommonDeviceProperties**: `Object` @@ -407,7 +533,7 @@ ___ #### Defined in -[src/types/route-requests.ts:152](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L152) +[src/types/route-requests.ts:158](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L158) ___ @@ -417,7 +543,7 @@ ___ #### Defined in -[src/types/route-requests.ts:136](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L136) +[src/types/route-requests.ts:142](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L142) ___ @@ -453,7 +579,7 @@ ___ #### Defined in -[src/types/route-requests.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L212) +[src/types/route-requests.ts:218](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L218) ___ @@ -469,7 +595,7 @@ ___ #### Defined in -[src/types/route-responses.ts:140](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L140) +[src/types/route-responses.ts:141](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L141) ___ @@ -499,7 +625,7 @@ ___ #### Defined in -[src/types/route-requests.ts:144](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L144) +[src/types/route-requests.ts:150](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L150) ___ @@ -509,7 +635,7 @@ ___ #### Defined in -[src/types/models.ts:337](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L337) +[src/types/models.ts:338](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L338) ___ @@ -561,7 +687,7 @@ ___ #### Defined in -[src/types/models.ts:345](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L345) +[src/types/models.ts:346](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L346) ___ @@ -582,7 +708,7 @@ ___ #### Defined in -[src/types/route-requests.ts:182](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L182) +[src/types/route-requests.ts:188](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L188) ___ @@ -599,7 +725,7 @@ ___ #### Defined in -[src/types/route-requests.ts:207](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L207) +[src/types/route-requests.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L213) ___ @@ -615,7 +741,7 @@ ___ #### Defined in -[src/types/route-requests.ts:178](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L178) +[src/types/route-requests.ts:184](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L184) ___ @@ -631,7 +757,7 @@ ___ #### Defined in -[src/types/route-responses.ts:136](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L136) +[src/types/route-responses.ts:137](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L137) ___ @@ -653,7 +779,7 @@ ___ #### Defined in -[src/types/route-requests.ts:194](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L194) +[src/types/route-requests.ts:200](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L200) ___ @@ -705,13 +831,31 @@ ___ ___ +### ThermostatUpdateRequest + +Ƭ **ThermostatUpdateRequest**: `Object` + +#### Type declaration + +| Name | Type | +| :------ | :------ | +| `default_climate_setting` | `Partial`<[`ClimateSetting`](modules.md#climatesetting)\> | +| `device_id` | `string` | +| `sync?` | `boolean` | + +#### Defined in + +[src/types/route-requests.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L248) + +___ + ### UnmanagedAccessCode Ƭ **UnmanagedAccessCode**: [`UnmanagedOngoingAccessCode`](interfaces/UnmanagedOngoingAccessCode.md) \| [`UnmanagedTimeBoundAccessCode`](interfaces/UnmanagedTimeBoundAccessCode.md) #### Defined in -[src/types/models.ts:302](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L302) +[src/types/models.ts:303](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L303) ___ @@ -727,7 +871,7 @@ ___ #### Defined in -[src/types/route-requests.ts:132](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L132) +[src/types/route-requests.ts:138](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L138) ___ @@ -744,7 +888,7 @@ ___ #### Defined in -[src/types/route-requests.ts:118](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L118) +[src/types/route-requests.ts:124](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L124) ___ @@ -762,7 +906,7 @@ ___ #### Defined in -[src/types/route-requests.ts:112](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L112) +[src/types/route-requests.ts:118](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L118) ___ @@ -779,7 +923,7 @@ ___ #### Defined in -[src/types/route-requests.ts:127](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L127) +[src/types/route-requests.ts:133](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L133) ___ @@ -795,7 +939,7 @@ ___ #### Defined in -[src/types/route-requests.ts:123](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L123) +[src/types/route-requests.ts:129](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L129) ___ @@ -822,7 +966,7 @@ ___ #### Defined in -[src/types/route-requests.ts:164](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L164) +[src/types/route-requests.ts:170](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L170) ___ @@ -838,7 +982,7 @@ ___ #### Defined in -[src/types/route-requests.ts:160](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L160) +[src/types/route-requests.ts:166](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L166) ___ @@ -854,7 +998,7 @@ ___ #### Defined in -[src/types/route-requests.ts:156](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L156) +[src/types/route-requests.ts:162](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L162) ## Variables diff --git a/src/seam-connect/routes.ts b/src/seam-connect/routes.ts index 5f00a82b..498b6dc3 100644 --- a/src/seam-connect/routes.ts +++ b/src/seam-connect/routes.ts @@ -44,6 +44,12 @@ import { NoiseThresholdsUpdateRequest, UnmanagedAccessCodeConvertToManagedRequest, DeviceModelsListRequest, + ThermostatUpdateRequest, + ClimateSettingSchedulesListRequest, + ClimateSettingScheduleGetRequest, + ClimateSettingScheduleCreateRequest, + ClimateSettingScheduleDeleteRequest, + ClimateSettingScheduleUpdateRequest, } from "../types/route-requests" import { AccessCodeCreateMultipleResponse, @@ -73,6 +79,11 @@ import { WorkspacesListResponse, NoiseThresholdsListResponse, DeviceModelsListResponse, + ThermostatsListResponse, + ThermostatGetResponse, + ClimateSettingSchedulesListResponse, + ClimateSettingScheduleGetResponse, + ClimateSettingScheduleCreateResponse, } from "../types/route-responses" export abstract class Routes { @@ -474,4 +485,69 @@ export abstract class Routes { params, }), } + + public readonly thermostats = { + list: (params?: DevicesListRequest) => + this.makeRequestAndFormat("thermostats", { + url: "/thermostats/list", + params, + }), + get: (params: DeviceGetRequest) => + this.makeRequestAndFormat("thermostat", { + url: "/thermostats/get", + params, + }), + update: (params: ThermostatUpdateRequest) => + this.makeRequest>({ + url: "/thermostats/update", + method: "PATCH", + data: params, + }), + delete: (params: DeviceDeleteRequest) => + this.makeRequest({ + url: "/thermostats/delete", + method: "DELETE", + params, + }), + } + + public readonly climateSettingSchedules = { + list: (params: ClimateSettingSchedulesListRequest) => + this.makeRequestAndFormat( + "climate_setting_schedules", + { + url: "/thermostats/climate_setting_schedules/list", + params, + } + ), + get: (params: ClimateSettingScheduleGetRequest) => + this.makeRequestAndFormat( + "climate_setting_schedule", + { + url: "/thermostats/climate_setting_schedules/get", + params, + } + ), + create: (data: ClimateSettingScheduleCreateRequest) => + this.makeRequestAndFormat( + "climate_setting_schedule", + { + url: "/thermostats/climate_setting_schedules/create", + method: "POST", + data, + } + ), + update: (params: ClimateSettingScheduleUpdateRequest) => + this.makeRequest({ + url: "/thermostats/climate_setting_schedules/update", + method: "PATCH", + data: params, + }), + delete: (params: ClimateSettingScheduleDeleteRequest) => + this.makeRequest({ + url: `/thermostats/climate_setting_schedules/delete`, + method: "DELETE", + params, + }), + } } diff --git a/src/types/models.ts b/src/types/models.ts index 443450cb..f65f51c4 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -191,6 +191,7 @@ export type ActionType = | "CREATE_ACCESS_CODE" | "UPDATE_ACCESS_CODE" | "DELETE_ACCESS_CODE" + | "UPDATE_THERMOSTAT" interface ActionAttemptBase { action_attempt_id: string @@ -365,3 +366,27 @@ export interface DeviceModel { icon_url: string seam_device_model_page_url: string } + +export type ClimateSetting = { + automatic_heating_enabled?: boolean + automatic_cooling_enabled?: boolean + hvac_mode_setting?: "off" | "heat" | "cool" | "heatcool" + cooling_set_point_celsius?: number + heating_set_point_celsius?: number + cooling_set_point_fahrenheit?: number + heating_set_point_fahrenheit?: number + manual_override_allowed?: boolean +} + +export type ClimateSettingScheduleBase = Partial & { + schedule_type?: "time_bound" + device_id: string + name?: string + schedule_starts_at: string + schedule_ends_at: string +} + +export type ClimateSettingSchedule = ClimateSettingScheduleBase & { + climate_setting_schedule_id: string + created_at: string +} diff --git a/src/types/route-requests.ts b/src/types/route-requests.ts index 2c2da789..2f4405dc 100644 --- a/src/types/route-requests.ts +++ b/src/types/route-requests.ts @@ -1,5 +1,11 @@ import { Except } from "type-fest" -import { CommonDeviceProperties, Provider } from "./models" +import { + ClimateSetting, + ClimateSettingSchedule, + ClimateSettingScheduleBase, + CommonDeviceProperties, + Provider, +} from "./models" import { CustomMetadata } from "./globals" export interface ConnectWebviewCreateRequest { @@ -215,3 +221,32 @@ export type DeviceModelsListRequest = { brand?: string text_search?: string } + +// Climate Setting Schedules + +export type ClimateSettingSchedulesListRequest = { + device_id: string +} + +export type ClimateSettingScheduleGetRequest = { + device_id: string + climate_setting_schedule_id: string +} + +export type ClimateSettingScheduleCreateRequest = ClimateSettingScheduleBase + +export type ClimateSettingScheduleUpdateRequest = ClimateSettingScheduleBase & { + climate_setting_schedule_id: string +} + +export type ClimateSettingScheduleDeleteRequest = { + climate_setting_schedule_id: string +} + +// Thermostats + +export type ThermostatUpdateRequest = { + device_id: string + sync?: boolean + default_climate_setting: Partial +} diff --git a/src/types/route-responses.ts b/src/types/route-responses.ts index ee78d5d4..f033fc60 100644 --- a/src/types/route-responses.ts +++ b/src/types/route-responses.ts @@ -16,6 +16,7 @@ import { Workspace, NoiseThresholds, DeviceModel, + ClimateSettingSchedule, } from "./models" // Workspaces @@ -140,3 +141,24 @@ export type NoiseThresholdsListResponse = { export type DeviceModelsListResponse = { device_models: DeviceModel[] } + +// Thermostats +export interface ThermostatsListResponse { + thermostats: Device[] +} +export interface ThermostatGetResponse { + thermostat: Device +} + +// Climate Setting Schedules +export interface ClimateSettingSchedulesListResponse { + climate_setting_schedules: ClimateSettingSchedule[] +} + +export interface ClimateSettingScheduleGetResponse { + climate_setting_schedule: ClimateSettingSchedule +} + +export interface ClimateSettingScheduleCreateResponse { + climate_setting_schedule: ClimateSettingSchedule +} From 08d7a368f9ed5e30e88ea1e0e90f257aee331e90 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 5 Jun 2023 14:02:06 -0700 Subject: [PATCH 02/17] remove action attempt from thermostat update --- docs/classes/Seam.md | 2 +- docs/interfaces/AccessCodeBase.md | 12 +++---- docs/interfaces/ActionAttemptResultTypeMap.md | 15 ++------ docs/interfaces/ActionAttemptWithError.md | 10 +++--- docs/interfaces/ClientSession.md | 6 ++-- docs/interfaces/ConnectWebview.md | 34 +++++++++---------- docs/interfaces/ConnectedAccount.md | 14 ++++---- docs/interfaces/DeviceModel.md | 16 ++++----- docs/interfaces/ManagedAccessCodeBase.md | 16 ++++----- docs/interfaces/OngoingAccessCode.md | 22 ++++++------ docs/interfaces/PendingActionAttempt.md | 10 +++--- docs/interfaces/SuccessfulActionAttempt.md | 10 +++--- docs/interfaces/TimeBoundAccessCode.md | 26 +++++++------- docs/interfaces/UnmanagedAccessCodeBase.md | 16 ++++----- docs/interfaces/UnmanagedOngoingAccessCode.md | 18 +++++----- .../UnmanagedTimeBoundAccessCode.md | 22 ++++++------ docs/interfaces/UserIdentifier.md | 2 +- docs/interfaces/Webhook.md | 8 ++--- docs/modules.md | 18 +++++----- src/seam-connect/routes.ts | 2 +- src/types/models.ts | 1 - 21 files changed, 134 insertions(+), 146 deletions(-) diff --git a/docs/classes/Seam.md b/docs/classes/Seam.md index 518ad8f7..d67058dc 100644 --- a/docs/classes/Seam.md +++ b/docs/classes/Seam.md @@ -312,7 +312,7 @@ ___ | `delete` | (`params`: [`DeviceDeleteRequest`](../modules.md#devicedeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | | `get` | (`params`: [`DeviceGetRequest`](../modules.md#devicegetrequest)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>\> | | `list` | (`params?`: [`DevicesListRequest`](../interfaces/DevicesListRequest.md)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>[]\> | -| `update` | (`params`: [`ThermostatUpdateRequest`](../modules.md#thermostatupdaterequest)) => `Promise`<[`SuccessfulAPIResponse`](../modules.md#successfulapiresponse)<[`ActionAttemptGetResponse`](../interfaces/ActionAttemptGetResponse.md)<``"UPDATE_THERMOSTAT"``\>\>\> | +| `update` | (`params`: [`ThermostatUpdateRequest`](../modules.md#thermostatupdaterequest)) => `Promise`<{ `ok`: ``true`` }\> | #### Inherited from diff --git a/docs/interfaces/AccessCodeBase.md b/docs/interfaces/AccessCodeBase.md index d76a2771..c1fb7ed6 100644 --- a/docs/interfaces/AccessCodeBase.md +++ b/docs/interfaces/AccessCodeBase.md @@ -29,7 +29,7 @@ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -49,7 +49,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -79,4 +79,4 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) diff --git a/docs/interfaces/ActionAttemptResultTypeMap.md b/docs/interfaces/ActionAttemptResultTypeMap.md index 01d2b620..44fc8ece 100644 --- a/docs/interfaces/ActionAttemptResultTypeMap.md +++ b/docs/interfaces/ActionAttemptResultTypeMap.md @@ -17,7 +17,6 @@ - [LOCK\_DOOR](ActionAttemptResultTypeMap.md#lock_door) - [UNLOCK\_DOOR](ActionAttemptResultTypeMap.md#unlock_door) - [UPDATE\_ACCESS\_CODE](ActionAttemptResultTypeMap.md#update_access_code) -- [UPDATE\_THERMOSTAT](ActionAttemptResultTypeMap.md#update_thermostat) ## Properties @@ -37,7 +36,7 @@ Record.CREATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:223](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L223) +[src/types/models.ts:222](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L222) ___ @@ -87,14 +86,4 @@ Record.UPDATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:224](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L224) - -___ - -### UPDATE\_THERMOSTAT - -• **UPDATE\_THERMOSTAT**: `unknown` - -#### Inherited from - -Record.UPDATE\_THERMOSTAT +[src/types/models.ts:223](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L223) diff --git a/docs/interfaces/ActionAttemptWithError.md b/docs/interfaces/ActionAttemptWithError.md index 246a9b1f..5922a625 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:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) +[src/types/models.ts:196](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L196) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:198](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L198) +[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) ___ @@ -71,7 +71,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:215](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L215) +[src/types/models.ts:214](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L214) ___ @@ -85,7 +85,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:214](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L214) +[src/types/models.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L213) ___ @@ -99,4 +99,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L213) +[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) diff --git a/docs/interfaces/ClientSession.md b/docs/interfaces/ClientSession.md index 2c143778..27c495c9 100644 --- a/docs/interfaces/ClientSession.md +++ b/docs/interfaces/ClientSession.md @@ -18,7 +18,7 @@ #### Defined in -[src/types/models.ts:343](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L343) +[src/types/models.ts:342](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L342) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[src/types/models.ts:341](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L341) +[src/types/models.ts:340](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L340) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[src/types/models.ts:342](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L342) +[src/types/models.ts:341](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L341) diff --git a/docs/interfaces/ConnectWebview.md b/docs/interfaces/ConnectWebview.md index e09b08bd..7bb0ac0c 100644 --- a/docs/interfaces/ConnectWebview.md +++ b/docs/interfaces/ConnectWebview.md @@ -32,7 +32,7 @@ #### Defined in -[src/types/models.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L245) +[src/types/models.ts:244](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L244) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:243](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L243) +[src/types/models.ts:242](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L242) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:247](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L247) +[src/types/models.ts:246](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L246) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:246](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L246) +[src/types/models.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L245) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) +[src/types/models.ts:254](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L254) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/types/models.ts:240](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L240) +[src/types/models.ts:239](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L239) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/types/models.ts:251](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L251) +[src/types/models.ts:250](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L250) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L248) +[src/types/models.ts:247](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L247) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[src/types/models.ts:256](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L256) +[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) ___ @@ -122,7 +122,7 @@ ___ #### Defined in -[src/types/models.ts:253](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L253) +[src/types/models.ts:252](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L252) ___ @@ -132,7 +132,7 @@ ___ #### Defined in -[src/types/models.ts:252](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L252) +[src/types/models.ts:251](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L251) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:242](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L242) +[src/types/models.ts:241](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L241) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:249](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L249) +[src/types/models.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L248) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:244](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L244) +[src/types/models.ts:243](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L243) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:250](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L250) +[src/types/models.ts:249](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L249) ___ @@ -182,7 +182,7 @@ ___ #### Defined in -[src/types/models.ts:254](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L254) +[src/types/models.ts:253](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L253) ___ @@ -192,4 +192,4 @@ ___ #### Defined in -[src/types/models.ts:241](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L241) +[src/types/models.ts:240](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L240) diff --git a/docs/interfaces/ConnectedAccount.md b/docs/interfaces/ConnectedAccount.md index 6c27f385..efcbf4b3 100644 --- a/docs/interfaces/ConnectedAccount.md +++ b/docs/interfaces/ConnectedAccount.md @@ -22,7 +22,7 @@ #### Defined in -[src/types/models.ts:315](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L315) +[src/types/models.ts:314](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L314) ___ @@ -32,7 +32,7 @@ ___ #### Defined in -[src/types/models.ts:312](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L312) +[src/types/models.ts:311](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L311) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:313](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L313) +[src/types/models.ts:312](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L312) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:318](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L318) +[src/types/models.ts:317](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L317) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:316](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L316) +[src/types/models.ts:315](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L315) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:314](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L314) +[src/types/models.ts:313](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L313) ___ @@ -82,4 +82,4 @@ ___ #### Defined in -[src/types/models.ts:317](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L317) +[src/types/models.ts:316](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L316) diff --git a/docs/interfaces/DeviceModel.md b/docs/interfaces/DeviceModel.md index 26a66dcd..9c662cde 100644 --- a/docs/interfaces/DeviceModel.md +++ b/docs/interfaces/DeviceModel.md @@ -23,7 +23,7 @@ #### Defined in -[src/types/models.ts:365](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L365) +[src/types/models.ts:364](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L364) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[src/types/models.ts:363](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L363) +[src/types/models.ts:362](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L362) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[src/types/models.ts:366](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L366) +[src/types/models.ts:365](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L365) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[src/types/models.ts:360](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L360) +[src/types/models.ts:359](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L359) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[src/types/models.ts:362](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L362) +[src/types/models.ts:361](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L361) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[src/types/models.ts:361](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L361) +[src/types/models.ts:360](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L360) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[src/types/models.ts:367](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L367) +[src/types/models.ts:366](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L366) ___ @@ -93,4 +93,4 @@ ___ #### Defined in -[src/types/models.ts:364](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L364) +[src/types/models.ts:363](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L363) diff --git a/docs/interfaces/ManagedAccessCodeBase.md b/docs/interfaces/ManagedAccessCodeBase.md index f73ed689..d27ef585 100644 --- a/docs/interfaces/ManagedAccessCodeBase.md +++ b/docs/interfaces/ManagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) diff --git a/docs/interfaces/OngoingAccessCode.md b/docs/interfaces/OngoingAccessCode.md index f7ee0eb4..be04c033 100644 --- a/docs/interfaces/OngoingAccessCode.md +++ b/docs/interfaces/OngoingAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -130,7 +130,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) diff --git a/docs/interfaces/PendingActionAttempt.md b/docs/interfaces/PendingActionAttempt.md index b6b2be7a..b0ecf755 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:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) +[src/types/models.ts:196](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L196) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:198](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L198) +[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:208](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L208) +[src/types/models.ts:207](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L207) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:207](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L207) +[src/types/models.ts:206](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L206) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:206](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L206) +[src/types/models.ts:205](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L205) diff --git a/docs/interfaces/SuccessfulActionAttempt.md b/docs/interfaces/SuccessfulActionAttempt.md index 8bf8a157..acd20d8d 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:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) +[src/types/models.ts:196](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L196) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:198](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L198) +[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:230](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L230) +[src/types/models.ts:229](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L229) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:231](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L231) +[src/types/models.ts:230](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L230) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:229](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L229) +[src/types/models.ts:228](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L228) diff --git a/docs/interfaces/TimeBoundAccessCode.md b/docs/interfaces/TimeBoundAccessCode.md index 1bfab31b..9a22f1ba 100644 --- a/docs/interfaces/TimeBoundAccessCode.md +++ b/docs/interfaces/TimeBoundAccessCode.md @@ -38,7 +38,7 @@ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:281](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L281) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) +[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) +[src/types/models.ts:282](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L282) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:282](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L282) +[src/types/models.ts:281](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L281) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -186,4 +186,4 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) diff --git a/docs/interfaces/UnmanagedAccessCodeBase.md b/docs/interfaces/UnmanagedAccessCodeBase.md index 0cbbfa16..78d3320f 100644 --- a/docs/interfaces/UnmanagedAccessCodeBase.md +++ b/docs/interfaces/UnmanagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) diff --git a/docs/interfaces/UnmanagedOngoingAccessCode.md b/docs/interfaces/UnmanagedOngoingAccessCode.md index 6159f243..342148bb 100644 --- a/docs/interfaces/UnmanagedOngoingAccessCode.md +++ b/docs/interfaces/UnmanagedOngoingAccessCode.md @@ -34,7 +34,7 @@ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -48,7 +48,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:295](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L295) +[src/types/models.ts:294](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L294) ___ @@ -142,4 +142,4 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) diff --git a/docs/interfaces/UnmanagedTimeBoundAccessCode.md b/docs/interfaces/UnmanagedTimeBoundAccessCode.md index fc27029e..25df4608 100644 --- a/docs/interfaces/UnmanagedTimeBoundAccessCode.md +++ b/docs/interfaces/UnmanagedTimeBoundAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:300](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L300) +[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -126,7 +126,7 @@ ___ #### Defined in -[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) +[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) +[src/types/models.ts:297](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L297) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) diff --git a/docs/interfaces/UserIdentifier.md b/docs/interfaces/UserIdentifier.md index e9a11fab..e206869c 100644 --- a/docs/interfaces/UserIdentifier.md +++ b/docs/interfaces/UserIdentifier.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/models.ts:308](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L308) +[src/types/models.ts:307](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L307) diff --git a/docs/interfaces/Webhook.md b/docs/interfaces/Webhook.md index c23bcd08..0dd78b0e 100644 --- a/docs/interfaces/Webhook.md +++ b/docs/interfaces/Webhook.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:324](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L324) +[src/types/models.ts:323](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L323) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:325](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L325) +[src/types/models.ts:324](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L324) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:323](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L323) +[src/types/models.ts:322](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L322) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:322](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L322) +[src/types/models.ts:321](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L321) diff --git a/docs/modules.md b/docs/modules.md index dd97232c..3cddfaae 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -199,7 +199,7 @@ ___ #### Defined in -[src/types/models.ts:287](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L287) +[src/types/models.ts:286](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L286) ___ @@ -344,13 +344,13 @@ ___ #### Defined in -[src/types/models.ts:234](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L234) +[src/types/models.ts:233](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L233) ___ ### ActionType -Ƭ **ActionType**: ``"LOCK_DOOR"`` \| ``"UNLOCK_DOOR"`` \| ``"CREATE_ACCESS_CODE"`` \| ``"UPDATE_ACCESS_CODE"`` \| ``"DELETE_ACCESS_CODE"`` \| ``"UPDATE_THERMOSTAT"`` +Ƭ **ActionType**: ``"LOCK_DOOR"`` \| ``"UNLOCK_DOOR"`` \| ``"CREATE_ACCESS_CODE"`` \| ``"UPDATE_ACCESS_CODE"`` \| ``"DELETE_ACCESS_CODE"`` #### Defined in @@ -397,7 +397,7 @@ ___ #### Defined in -[src/types/models.ts:370](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L370) +[src/types/models.ts:369](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L369) ___ @@ -407,7 +407,7 @@ ___ #### Defined in -[src/types/models.ts:389](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L389) +[src/types/models.ts:388](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L388) ___ @@ -417,7 +417,7 @@ ___ #### Defined in -[src/types/models.ts:381](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L381) +[src/types/models.ts:380](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L380) ___ @@ -635,7 +635,7 @@ ___ #### Defined in -[src/types/models.ts:338](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L338) +[src/types/models.ts:337](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L337) ___ @@ -687,7 +687,7 @@ ___ #### Defined in -[src/types/models.ts:346](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L346) +[src/types/models.ts:345](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L345) ___ @@ -855,7 +855,7 @@ ___ #### Defined in -[src/types/models.ts:303](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L303) +[src/types/models.ts:302](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L302) ___ diff --git a/src/seam-connect/routes.ts b/src/seam-connect/routes.ts index 498b6dc3..6b830b10 100644 --- a/src/seam-connect/routes.ts +++ b/src/seam-connect/routes.ts @@ -498,7 +498,7 @@ export abstract class Routes { params, }), update: (params: ThermostatUpdateRequest) => - this.makeRequest>({ + this.makeRequest({ url: "/thermostats/update", method: "PATCH", data: params, diff --git a/src/types/models.ts b/src/types/models.ts index f65f51c4..7dc4a7a6 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -191,7 +191,6 @@ export type ActionType = | "CREATE_ACCESS_CODE" | "UPDATE_ACCESS_CODE" | "DELETE_ACCESS_CODE" - | "UPDATE_THERMOSTAT" interface ActionAttemptBase { action_attempt_id: string From 1fc659b3df2105cb7fcec2f73c12ac06d34868de Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Tue, 6 Jun 2023 21:51:18 -0700 Subject: [PATCH 03/17] Update routes, and add tests --- docs/classes/Seam.md | 31 +---- docs/modules.md | 7 +- src/seam-connect/routes.ts | 76 ++++++------- src/types/route-requests.ts | 8 +- tests/fixtures/plugins/get-server-plugin.ts | 16 ++- tests/fixtures/workers/get-server-worker.ts | 14 ++- .../workers/helpers/add-fake-nest-devices.ts | 40 +++++++ .../workers/helpers/start-and-seed-server.ts | 6 +- tests/routes.test.ts | 107 ++++++++++++++++++ 9 files changed, 229 insertions(+), 76 deletions(-) create mode 100644 tests/fixtures/workers/helpers/add-fake-nest-devices.ts diff --git a/docs/classes/Seam.md b/docs/classes/Seam.md index d67058dc..4604edab 100644 --- a/docs/classes/Seam.md +++ b/docs/classes/Seam.md @@ -19,7 +19,6 @@ - [accessCodes](Seam.md#accesscodes) - [actionAttempts](Seam.md#actionattempts) - [client](Seam.md#client) -- [climateSettingSchedules](Seam.md#climatesettingschedules) - [connectWebviews](Seam.md#connectwebviews) - [connectedAccounts](Seam.md#connectedaccounts) - [deviceModels](Seam.md#devicemodels) @@ -119,30 +118,6 @@ ___ ___ -### climateSettingSchedules - -• `Readonly` **climateSettingSchedules**: `Object` - -#### Type declaration - -| Name | Type | -| :------ | :------ | -| `create` | (`data`: [`ClimateSettingScheduleBase`](../modules.md#climatesettingschedulebase)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | -| `delete` | (`params`: [`ClimateSettingScheduleDeleteRequest`](../modules.md#climatesettingscheduledeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | -| `get` | (`params`: [`ClimateSettingScheduleGetRequest`](../modules.md#climatesettingschedulegetrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | -| `list` | (`params`: [`ClimateSettingSchedulesListRequest`](../modules.md#climatesettingscheduleslistrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)[]\> | -| `update` | (`params`: [`ClimateSettingScheduleUpdateRequest`](../modules.md#climatesettingscheduleupdaterequest)) => `Promise`<{ `ok`: ``true`` }\> | - -#### Inherited from - -Routes.climateSettingSchedules - -#### Defined in - -[src/seam-connect/routes.ts:514](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L514) - -___ - ### connectWebviews • `Readonly` **connectWebviews**: `Object` @@ -309,6 +284,12 @@ ___ | Name | Type | | :------ | :------ | +| `climateSettingSchedules` | `Object` | +| `climateSettingSchedules.create` | (`data`: [`ClimateSettingScheduleBase`](../modules.md#climatesettingschedulebase)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | +| `climateSettingSchedules.delete` | (`params`: [`ClimateSettingScheduleDeleteRequest`](../modules.md#climatesettingscheduledeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | +| `climateSettingSchedules.get` | (`params`: [`ClimateSettingScheduleGetRequest`](../modules.md#climatesettingschedulegetrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | +| `climateSettingSchedules.list` | (`params`: [`ClimateSettingSchedulesListRequest`](../modules.md#climatesettingscheduleslistrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)[]\> | +| `climateSettingSchedules.update` | (`params`: [`ClimateSettingScheduleUpdateRequest`](../modules.md#climatesettingscheduleupdaterequest)) => `Promise`<{ `ok`: ``true`` }\> | | `delete` | (`params`: [`DeviceDeleteRequest`](../modules.md#devicedeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | | `get` | (`params`: [`DeviceGetRequest`](../modules.md#devicegetrequest)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>\> | | `list` | (`params?`: [`DevicesListRequest`](../interfaces/DevicesListRequest.md)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>[]\> | diff --git a/docs/modules.md b/docs/modules.md index 3cddfaae..eab8f9bd 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -427,7 +427,7 @@ ___ #### Defined in -[src/types/route-requests.ts:236](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L236) +[src/types/route-requests.ts:235](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L235) ___ @@ -456,7 +456,6 @@ ___ | Name | Type | | :------ | :------ | | `climate_setting_schedule_id` | `string` | -| `device_id` | `string` | #### Defined in @@ -466,11 +465,11 @@ ___ ### ClimateSettingScheduleUpdateRequest -Ƭ **ClimateSettingScheduleUpdateRequest**: [`ClimateSettingScheduleBase`](modules.md#climatesettingschedulebase) & { `climate_setting_schedule_id`: `string` } +Ƭ **ClimateSettingScheduleUpdateRequest**: `Partial`<[`ClimateSettingScheduleBase`](modules.md#climatesettingschedulebase)\> & { `climate_setting_schedule_id`: `string` } #### Defined in -[src/types/route-requests.ts:238](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L238) +[src/types/route-requests.ts:237](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L237) ___ diff --git a/src/seam-connect/routes.ts b/src/seam-connect/routes.ts index 6b830b10..d5250fee 100644 --- a/src/seam-connect/routes.ts +++ b/src/seam-connect/routes.ts @@ -509,45 +509,45 @@ export abstract class Routes { method: "DELETE", params, }), - } - public readonly climateSettingSchedules = { - list: (params: ClimateSettingSchedulesListRequest) => - this.makeRequestAndFormat( - "climate_setting_schedules", - { - url: "/thermostats/climate_setting_schedules/list", - params, - } - ), - get: (params: ClimateSettingScheduleGetRequest) => - this.makeRequestAndFormat( - "climate_setting_schedule", - { - url: "/thermostats/climate_setting_schedules/get", + climateSettingSchedules: { + list: (params: ClimateSettingSchedulesListRequest) => + this.makeRequestAndFormat( + "climate_setting_schedules", + { + url: "/thermostats/climate_setting_schedules/list", + params, + } + ), + get: (params: ClimateSettingScheduleGetRequest) => + this.makeRequestAndFormat( + "climate_setting_schedule", + { + url: "/thermostats/climate_setting_schedules/get", + params, + } + ), + create: (data: ClimateSettingScheduleCreateRequest) => + this.makeRequestAndFormat( + "climate_setting_schedule", + { + url: "/thermostats/climate_setting_schedules/create", + method: "POST", + data, + } + ), + update: (params: ClimateSettingScheduleUpdateRequest) => + this.makeRequest({ + url: "/thermostats/climate_setting_schedules/update", + method: "PATCH", + data: params, + }), + delete: (params: ClimateSettingScheduleDeleteRequest) => + this.makeRequest({ + url: `/thermostats/climate_setting_schedules/delete`, + method: "DELETE", params, - } - ), - create: (data: ClimateSettingScheduleCreateRequest) => - this.makeRequestAndFormat( - "climate_setting_schedule", - { - url: "/thermostats/climate_setting_schedules/create", - method: "POST", - data, - } - ), - update: (params: ClimateSettingScheduleUpdateRequest) => - this.makeRequest({ - url: "/thermostats/climate_setting_schedules/update", - method: "PATCH", - data: params, - }), - delete: (params: ClimateSettingScheduleDeleteRequest) => - this.makeRequest({ - url: `/thermostats/climate_setting_schedules/delete`, - method: "DELETE", - params, - }), + }), + }, } } diff --git a/src/types/route-requests.ts b/src/types/route-requests.ts index 2f4405dc..e5811a7f 100644 --- a/src/types/route-requests.ts +++ b/src/types/route-requests.ts @@ -229,15 +229,15 @@ export type ClimateSettingSchedulesListRequest = { } export type ClimateSettingScheduleGetRequest = { - device_id: string climate_setting_schedule_id: string } export type ClimateSettingScheduleCreateRequest = ClimateSettingScheduleBase -export type ClimateSettingScheduleUpdateRequest = ClimateSettingScheduleBase & { - climate_setting_schedule_id: string -} +export type ClimateSettingScheduleUpdateRequest = + Partial & { + climate_setting_schedule_id: string + } export type ClimateSettingScheduleDeleteRequest = { climate_setting_schedule_id: string diff --git a/tests/fixtures/plugins/get-server-plugin.ts b/tests/fixtures/plugins/get-server-plugin.ts index 6fd97203..b092430b 100644 --- a/tests/fixtures/plugins/get-server-plugin.ts +++ b/tests/fixtures/plugins/get-server-plugin.ts @@ -3,7 +3,7 @@ import { URL } from "url" import defaultAxios from "axios" import knex from "knex" import path from "path" -import Seam, { AccessCode, Device } from "../../../src" +import Seam, { AccessCode, Device, ClimateSettingSchedule } from "../../../src" type SeedLock = { connectedAccountId: string @@ -12,6 +12,13 @@ type SeedLock = { accessCode: AccessCode } +type SeedThermostat = { + connectedAccountId: string + id1: string + name1: string + climateSettingSchedule: ClimateSettingSchedule +} + type SeedNoiseSensors = { device_with_quiet_hours: Device device_without_quiet_hours: Device @@ -35,6 +42,7 @@ export type WorkerPublishedMessage = { minut: SeedNoiseSensors schlageLock: SeedLock augustLock: SeedLock + nest: SeedThermostat } } } @@ -47,7 +55,11 @@ const serverWorker = registerSharedTypeScriptWorker({ export const getServer = async ( writable = false, - load_devices_from: ("minut" | "schlage" | "august")[] = ["august", "schlage"] + load_devices_from: ("minut" | "schlage" | "august" | "nest")[] = [ + "august", + "schlage", + "nest", + ] ) => { const message = serverWorker.publish( writable diff --git a/tests/fixtures/workers/get-server-worker.ts b/tests/fixtures/workers/get-server-worker.ts index b6a6ec09..b85f6415 100644 --- a/tests/fixtures/workers/get-server-worker.ts +++ b/tests/fixtures/workers/get-server-worker.ts @@ -19,7 +19,12 @@ const getServer = async (protocol: SharedWorker.Protocol) => { if (!readableServer) { // We don't care about the teardown function for a long running server const { teardownFn, ...server } = await startAndSeedServer( - load_devices_from.split(",") as ("minut" | "schlage" | "august")[] + load_devices_from.split(",") as ( + | "minut" + | "schlage" + | "august" + | "nest" + )[] ) readableServer = server } @@ -27,7 +32,12 @@ const getServer = async (protocol: SharedWorker.Protocol) => { message.reply(readableServer) } else if (command === "GET_WRITABLE_SERVER") { const writableServer = await startAndSeedServer( - load_devices_from.split(",") as ("minut" | "schlage" | "august")[] + load_devices_from.split(",") as ( + | "minut" + | "schlage" + | "august" + | "nest" + )[] ) const { teardownFn, ...server } = writableServer diff --git a/tests/fixtures/workers/helpers/add-fake-nest-devices.ts b/tests/fixtures/workers/helpers/add-fake-nest-devices.ts new file mode 100644 index 00000000..af4575f7 --- /dev/null +++ b/tests/fixtures/workers/helpers/add-fake-nest-devices.ts @@ -0,0 +1,40 @@ +import { Axios } from "axios" +import getDeviceType from "./get-device-type" + +const addFakeNestDevices = async (axios: Axios) => { + await axios.post("/internal/scenarios/factories/load", { + factory_name: "create_nest_devices", + input: { + num: 1, + }, + sync: true, + }) + + const [firstDevice] = await getDeviceType(axios, "nest_thermostat") + + const schedule_starts_at = new Date() + const schedule_ends_at = new Date(Date.now() + 1000 * 60 * 60 * 24 * 7) + + const { + data: { climate_setting_schedule }, + } = await axios.post("/thermostats/climate_setting_schedule", { + device_id: firstDevice.device_id, + name: "Vacation Setting", + schedule_starts_at: schedule_starts_at.toUTCString(), + schedule_ends_at: schedule_ends_at.toUTCString(), + schedule_type: "time_bound", + automatic_heating_enabled: true, + automatic_cooling_enabled: true, + heating_set_point_fahrenheit: 40, + cooling_set_point_fahrenheit: 80, + }) + + return { + id1: firstDevice.device_id, + name1: firstDevice.properties.name, + connectedAccountId: firstDevice.connected_account_id, + climateSettingSchedule: climate_setting_schedule, + } +} + +export default addFakeNestDevices diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index 830feacc..82e1a1ad 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -11,7 +11,11 @@ import addFakeMinutDevices from "./add-fake-minut-devices" const SEAM_ADMIN_PASSWORD = "1234" const startAndSeedServer = async ( - load_devices_from: ("minut" | "schlage" | "august")[] = ["august", "schlage"] + load_devices_from: ("minut" | "schlage" | "august" | "nest")[] = [ + "august", + "schlage", + "nest", + ] ) => { const database = await getTestDatabase() const svix = await getTestSvix({ diff --git a/tests/routes.test.ts b/tests/routes.test.ts index f9901b2c..22630ddb 100644 --- a/tests/routes.test.ts +++ b/tests/routes.test.ts @@ -361,3 +361,110 @@ test( }, "{}" ) +test( + testAPIMethod("thermostats.get"), + { + args: (seed) => [ + { + device_id: seed.devices.nest.id1, + }, + ], + }, + "AnyDevice" +) +test( + testAPIMethod("thermostats.list"), + { + args: (seed) => [ + { + connected_account_id: seed.devices.nest.connectedAccountId, + }, + ], + }, + "AnyDevice[]" +) +test( + testAPIMethod("thermostats.update"), + { + args: (seed) => [ + { + device_id: seed.devices.nest.id1, + default_climate_setting: { + automatic_heating_enabled: true, + heating_set_point_celsius: 20, + }, + }, + ], + }, + "{}" +) +test( + testAPIMethod("thermostats.delete"), + { + args: (seed) => [ + { + device_id: seed.devices.nest.id1, + }, + ], + modifiesState: true, + }, + "{}" +) +test( + testAPIMethod("thermostats.climateSettingSchedules.get"), + { + args: (seed) => [ + { + climate_setting_schedule_id: + seed.devices.nest.climateSettingSchedule.climate_setting_schedule_id, + }, + ], + }, + "ClimateSettingSchedule" +) +test( + testAPIMethod("thermostats.climateSettingSchedules.create"), + { + args: (seed) => [ + { + device_id: seed.devices.nest.id1, + name: "Vacation Setting", + schedule_starts_at: new Date().toUTCString(), + schedule_ends_at: new Date( + Date.now() + 1000 * 60 * 60 * 24 * 7 + ).toUTCString(), + schedule_type: "time_bound", + automatic_heating_enabled: true, + automatic_cooling_enabled: true, + heating_set_point_fahrenheit: 40, + cooling_set_point_fahrenheit: 80, + }, + ], + }, + "ClimateSettingSchedule" +) +test( + testAPIMethod("thermostats.climateSettingSchedules.update"), + { + args: (seed) => [ + { + climate_setting_schedule_id: + seed.devices.nest.climateSettingSchedule.climate_setting_schedule_id, + name: "Vacation Setting 2", + }, + ], + }, + "ClimateSettingSchedule" +) +test( + testAPIMethod("thermostats.climateSettingSchedules.delete"), + { + args: (seed) => [ + { + climate_setting_schedule_id: + seed.devices.nest.climateSettingSchedule.climate_setting_schedule_id, + }, + ], + }, + "{}" +) From 8ce305632f266981e03a005f9938a15d9bb55274 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Wed, 7 Jun 2023 12:19:35 -0700 Subject: [PATCH 04/17] Fix fake setup --- tests/fixtures/workers/helpers/add-fake-nest-devices.ts | 2 +- tests/fixtures/workers/helpers/start-and-seed-server.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tests/fixtures/workers/helpers/add-fake-nest-devices.ts b/tests/fixtures/workers/helpers/add-fake-nest-devices.ts index af4575f7..47843b81 100644 --- a/tests/fixtures/workers/helpers/add-fake-nest-devices.ts +++ b/tests/fixtures/workers/helpers/add-fake-nest-devices.ts @@ -17,7 +17,7 @@ const addFakeNestDevices = async (axios: Axios) => { const { data: { climate_setting_schedule }, - } = await axios.post("/thermostats/climate_setting_schedule", { + } = await axios.post("/thermostats/climate_setting_schedules/create", { device_id: firstDevice.device_id, name: "Vacation Setting", schedule_starts_at: schedule_starts_at.toUTCString(), diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index 82e1a1ad..6d758ad2 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -7,6 +7,7 @@ import getTestSvix from "./get-test-svix" import addFakeSchlageDevices from "./add-fake-schlage-devices" import addFakeAugustDevices from "./add-fake-august-devices" import addFakeMinutDevices from "./add-fake-minut-devices" +import addFakeNestDevices from "./add-fake-nest-devices" const SEAM_ADMIN_PASSWORD = "1234" @@ -95,6 +96,7 @@ const startAndSeedServer = async ( augustLock?: Awaited> minut?: Awaited> schlageLock?: Awaited> + nest?: Awaited> } = {} if (load_devices_from.includes("schlage")) { @@ -109,6 +111,10 @@ const startAndSeedServer = async ( devices["minut"] = await addFakeMinutDevices(axios) } + if (load_devices_from.includes("nest")) { + devices["nest"] = await addFakeNestDevices(axios) + } + return { serverUrl, externalDatabaseUrl: database.externalDatabaseUrl, From 185aa5f011159226a1ecc8be5c46af522652ab0f Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Wed, 7 Jun 2023 12:50:17 -0700 Subject: [PATCH 05/17] try nodes for testing --- .github/workflows/npm-test.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index e16e9151..239b25e5 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -33,6 +33,11 @@ jobs: env: SEAM_CONNECT_IMAGE: ghcr.io/seamapi/seam-connect:${{ github.event.inputs.connectSha || 'latest' }} RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + strategy: + fail-fast: false + matrix: + node: [0, 1, 2] + total_nodes: [3] steps: - uses: Sibz/github-status-action@v1 if: ${{ github.event.inputs.connectSha }} @@ -70,6 +75,8 @@ jobs: id: test env: SEAM_CONNECT_IMAGE: ${{ env.SEAM_CONNECT_IMAGE }} + CI_NODE_INDEX: ${{ matrix.node }} + CI_NODE_TOTAL: ${{ matrix.total_nodes }} - uses: Sibz/github-status-action@v1 if: ${{ github.event.inputs.connectSha && always() }} From 2a6ab7918dd21ebfdbd2865ff3cbe70dd471afb9 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 09:54:41 -0700 Subject: [PATCH 06/17] fix test --- tests/fixtures/workers/helpers/start-and-seed-server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index 6d758ad2..e1020a71 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -88,7 +88,7 @@ const startAndSeedServer = async ( const connectWebview = await axios.post("/connect_webviews/create", { // TODO: remove filter when minut is ready accepted_providers: load_devices_from.filter( - (provider) => provider !== "minut" + (provider) => provider !== "minut" && provider !== "nest" ), }) From ce0499ed2ab1f5f3aeb8ddbacefa6378ebd667ed Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 10:04:42 -0700 Subject: [PATCH 07/17] not sure what is failing --- .../workers/helpers/start-and-seed-server.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index e1020a71..4481de58 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -81,6 +81,22 @@ const startAndSeedServer = async ( baseURL: serverUrl, }) + axios.interceptors.response.use( + (response) => response, + (error) => { + if (defaultAxios.isAxiosError(error)) { + throw new Error( + `Failed Request to ${error.config.url} with ${JSON.stringify( + error.config.data + )} with status ${error.response?.status} and data ${JSON.stringify( + error.response?.data + )}` + ) + } + throw error + } + ) + const api_key = "seam_sandykey_0000000000000000000sand" ;(axios.defaults.headers as any).Authorization = `Bearer ${api_key}` From 369a299a1e10d737339eee1eedca7a77f5520fd8 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 10:12:01 -0700 Subject: [PATCH 08/17] fix test --- docs/modules.md | 2 +- src/types/models.ts | 2 +- tests/fixtures/workers/helpers/add-fake-nest-devices.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/modules.md b/docs/modules.md index dbaab7db..02fdcd61 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -439,7 +439,7 @@ ___ | `heating_set_point_celsius?` | `number` | | `heating_set_point_fahrenheit?` | `number` | | `hvac_mode_setting?` | ``"off"`` \| ``"heat"`` \| ``"cool"`` \| ``"heatcool"`` | -| `manual_override_allowed?` | `boolean` | +| `manual_override_allowed` | `boolean` | #### Defined in diff --git a/src/types/models.ts b/src/types/models.ts index 60a07231..29f609a5 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -383,7 +383,7 @@ export type ClimateSetting = { heating_set_point_celsius?: number cooling_set_point_fahrenheit?: number heating_set_point_fahrenheit?: number - manual_override_allowed?: boolean + manual_override_allowed: boolean } export type ClimateSettingScheduleBase = Partial & { diff --git a/tests/fixtures/workers/helpers/add-fake-nest-devices.ts b/tests/fixtures/workers/helpers/add-fake-nest-devices.ts index 47843b81..e15d608e 100644 --- a/tests/fixtures/workers/helpers/add-fake-nest-devices.ts +++ b/tests/fixtures/workers/helpers/add-fake-nest-devices.ts @@ -27,6 +27,7 @@ const addFakeNestDevices = async (axios: Axios) => { automatic_cooling_enabled: true, heating_set_point_fahrenheit: 40, cooling_set_point_fahrenheit: 80, + manual_override_allowed: true, }) return { From fd89249bc7b9301f4312e8d485294052c885fcd2 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 12:31:23 -0700 Subject: [PATCH 09/17] dont load nest by default --- tests/fixtures/helpers/test-api-method-macro.ts | 2 +- tests/fixtures/workers/helpers/start-and-seed-server.ts | 1 - tests/routes.test.ts | 7 +++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/fixtures/helpers/test-api-method-macro.ts b/tests/fixtures/helpers/test-api-method-macro.ts index a9d73d90..021c5696 100644 --- a/tests/fixtures/helpers/test-api-method-macro.ts +++ b/tests/fixtures/helpers/test-api-method-macro.ts @@ -20,7 +20,7 @@ interface Input { | ParametersByPath | ((seed: WorkerPublishedMessage["seed"]) => ParametersByPath) modifiesState?: boolean - load_devices_from?: ("minut" | "schlage" | "august")[] + load_devices_from?: ("minut" | "schlage" | "august" | "nest")[] } // Ava simplifies types so unfortunately we need to wrap the macro diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index 4481de58..3deb6c77 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -15,7 +15,6 @@ const startAndSeedServer = async ( load_devices_from: ("minut" | "schlage" | "august" | "nest")[] = [ "august", "schlage", - "nest", ] ) => { const database = await getTestDatabase() diff --git a/tests/routes.test.ts b/tests/routes.test.ts index b91620d9..bf1ceef2 100644 --- a/tests/routes.test.ts +++ b/tests/routes.test.ts @@ -370,6 +370,7 @@ test( device_id: seed.devices.nest.id1, }, ], + load_devices_from: ["nest"], }, "AnyDevice" ) @@ -381,6 +382,7 @@ test( connected_account_id: seed.devices.nest.connectedAccountId, }, ], + load_devices_from: ["nest"], }, "AnyDevice[]" ) @@ -408,6 +410,7 @@ test( }, ], modifiesState: true, + load_devices_from: ["nest"], }, "{}" ) @@ -420,6 +423,7 @@ test( seed.devices.nest.climateSettingSchedule.climate_setting_schedule_id, }, ], + load_devices_from: ["nest"], }, "ClimateSettingSchedule" ) @@ -441,6 +445,7 @@ test( cooling_set_point_fahrenheit: 80, }, ], + load_devices_from: ["nest"], }, "ClimateSettingSchedule" ) @@ -454,6 +459,7 @@ test( name: "Vacation Setting 2", }, ], + load_devices_from: ["nest"], }, "ClimateSettingSchedule" ) @@ -466,6 +472,7 @@ test( seed.devices.nest.climateSettingSchedule.climate_setting_schedule_id, }, ], + load_devices_from: ["nest"], }, "{}" ) From 614c1fb89a07ad46b911386a62a191aea21f13fe Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 13:15:46 -0700 Subject: [PATCH 10/17] more nodes --- .github/workflows/npm-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 239b25e5..c7b5d7aa 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -36,8 +36,8 @@ jobs: strategy: fail-fast: false matrix: - node: [0, 1, 2] - total_nodes: [3] + node: [0, 1, 2, 3] + total_nodes: [4] steps: - uses: Sibz/github-status-action@v1 if: ${{ github.event.inputs.connectSha }} From 0b42a853e92b8708aa4d80a10903703019792ba3 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 13:36:22 -0700 Subject: [PATCH 11/17] debug --- src/seam-connect/routes.ts | 4 ++-- tests/fixtures/workers/helpers/start-and-seed-server.ts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/seam-connect/routes.ts b/src/seam-connect/routes.ts index 24e23783..1206b348 100644 --- a/src/seam-connect/routes.ts +++ b/src/seam-connect/routes.ts @@ -518,7 +518,7 @@ export abstract class Routes { update: (params: ThermostatUpdateRequest) => this.makeRequest({ url: "/thermostats/update", - method: "PATCH", + method: "POST", data: params, }), delete: (params: DeviceDeleteRequest) => @@ -557,7 +557,7 @@ export abstract class Routes { update: (params: ClimateSettingScheduleUpdateRequest) => this.makeRequest({ url: "/thermostats/climate_setting_schedules/update", - method: "PATCH", + method: "POST", data: params, }), delete: (params: ClimateSettingScheduleDeleteRequest) => diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index 3deb6c77..06406a53 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -58,12 +58,18 @@ const startAndSeedServer = async ( SVIX_API_KEY: svix.apiKey, ENABLE_UNMANAGED_DEVICES: "true", }) + .withStartupTimeout(60_000) // 1 minute .withCommand(["start:for-integration-testing"]) .withNetwork(database.network) .withNetworkAliases("api") .withWaitStrategy(Wait.forLogMessage("ready - started server")) .start() + const stream = await server.logs() + stream + .on("data", (line) => console.log(line)) + .on("err", (line) => console.error(line)) + const db = knex(database.externalDatabaseUrl) const workspace = await db("seam.workspace") From f1ea6d767d2fdc4ada9ae859e8d0304966951c40 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 16:16:17 -0700 Subject: [PATCH 12/17] fix device types --- docs/classes/Seam.md | 28 +++---- docs/interfaces/AccessCodeBase.md | 12 +-- docs/interfaces/ActionAttemptResultTypeMap.md | 4 +- docs/interfaces/ActionAttemptWithError.md | 10 +-- docs/interfaces/ClientSession.md | 6 +- .../ClimateSettingScheduleUpdateResponse.md | 19 +++++ docs/interfaces/ConnectWebview.md | 34 ++++----- docs/interfaces/ConnectedAccount.md | 14 ++-- docs/interfaces/Device.md | 20 ++--- docs/interfaces/DeviceModel.md | 16 ++-- docs/interfaces/DeviceProvider.md | 8 +- docs/interfaces/LockProperties.md | 40 +++++----- docs/interfaces/ManagedAccessCodeBase.md | 16 ++-- docs/interfaces/OngoingAccessCode.md | 22 +++--- docs/interfaces/PendingActionAttempt.md | 10 +-- docs/interfaces/SeamError.md | 4 +- docs/interfaces/SeamWarning.md | 4 +- docs/interfaces/SuccessfulActionAttempt.md | 10 +-- docs/interfaces/TimeBoundAccessCode.md | 26 +++---- docs/interfaces/UnmanagedAccessCodeBase.md | 16 ++-- docs/interfaces/UnmanagedOngoingAccessCode.md | 18 ++--- .../UnmanagedTimeBoundAccessCode.md | 22 +++--- docs/interfaces/UserIdentifier.md | 2 +- docs/interfaces/Webhook.md | 8 +- docs/modules.md | 74 ++++++++++++------- src/seam-connect/routes.ts | 14 ++-- src/types/models.ts | 8 +- src/types/route-requests.ts | 1 + src/types/route-responses.ts | 4 + tests/fixtures/plugins/get-server-plugin.ts | 1 - .../workers/helpers/start-and-seed-server.ts | 5 -- tests/routes.test.ts | 1 + 32 files changed, 265 insertions(+), 212 deletions(-) create mode 100644 docs/interfaces/ClimateSettingScheduleUpdateResponse.md diff --git a/docs/classes/Seam.md b/docs/classes/Seam.md index c3b268c5..51d78343 100644 --- a/docs/classes/Seam.md +++ b/docs/classes/Seam.md @@ -85,7 +85,7 @@ Routes.accessCodes #### Defined in -[src/seam-connect/routes.ts:296](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L296) +[src/seam-connect/routes.ts:297](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L297) ___ @@ -105,7 +105,7 @@ Routes.actionAttempts #### Defined in -[src/seam-connect/routes.ts:418](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L418) +[src/seam-connect/routes.ts:419](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L419) ___ @@ -136,7 +136,7 @@ Routes.clientSessions #### Defined in -[src/seam-connect/routes.ts:484](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L484) +[src/seam-connect/routes.ts:485](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L485) ___ @@ -159,7 +159,7 @@ Routes.connectWebviews #### Defined in -[src/seam-connect/routes.ts:264](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L264) +[src/seam-connect/routes.ts:265](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L265) ___ @@ -181,7 +181,7 @@ Routes.connectedAccounts #### Defined in -[src/seam-connect/routes.ts:393](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L393) +[src/seam-connect/routes.ts:394](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L394) ___ @@ -201,7 +201,7 @@ Routes.deviceModels #### Defined in -[src/seam-connect/routes.ts:499](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L499) +[src/seam-connect/routes.ts:500](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L500) ___ @@ -228,7 +228,7 @@ Routes.devices #### Defined in -[src/seam-connect/routes.ts:205](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L205) +[src/seam-connect/routes.ts:206](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L206) ___ @@ -248,7 +248,7 @@ Routes.events #### Defined in -[src/seam-connect/routes.ts:252](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L252) +[src/seam-connect/routes.ts:253](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L253) ___ @@ -271,7 +271,7 @@ Routes.locks #### Defined in -[src/seam-connect/routes.ts:170](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L170) +[src/seam-connect/routes.ts:171](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L171) ___ @@ -294,7 +294,7 @@ Routes.noiseThresholds #### Defined in -[src/seam-connect/routes.ts:428](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L428) +[src/seam-connect/routes.ts:429](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L429) ___ @@ -311,7 +311,7 @@ ___ | `climateSettingSchedules.delete` | (`params`: [`ClimateSettingScheduleDeleteRequest`](../modules.md#climatesettingscheduledeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | | `climateSettingSchedules.get` | (`params`: [`ClimateSettingScheduleGetRequest`](../modules.md#climatesettingschedulegetrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | | `climateSettingSchedules.list` | (`params`: [`ClimateSettingSchedulesListRequest`](../modules.md#climatesettingscheduleslistrequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)[]\> | -| `climateSettingSchedules.update` | (`params`: [`ClimateSettingScheduleUpdateRequest`](../modules.md#climatesettingscheduleupdaterequest)) => `Promise`<{ `ok`: ``true`` }\> | +| `climateSettingSchedules.update` | (`params`: [`ClimateSettingScheduleUpdateRequest`](../modules.md#climatesettingscheduleupdaterequest)) => `Promise`<[`ClimateSettingSchedule`](../modules.md#climatesettingschedule)\> | | `delete` | (`params`: [`DeviceDeleteRequest`](../modules.md#devicedeleterequest)) => `Promise`<{ `ok`: ``true`` }\> | | `get` | (`params`: [`DeviceGetRequest`](../modules.md#devicegetrequest)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>\> | | `list` | (`params?`: [`DevicesListRequest`](../interfaces/DevicesListRequest.md)) => `Promise`<[`Device`](../interfaces/Device.md)<[`CommonDeviceProperties`](../modules.md#commondeviceproperties), `string`\>[]\> | @@ -323,7 +323,7 @@ Routes.thermostats #### Defined in -[src/seam-connect/routes.ts:507](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L507) +[src/seam-connect/routes.ts:508](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L508) ___ @@ -346,7 +346,7 @@ Routes.webhooks #### Defined in -[src/seam-connect/routes.ts:459](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L459) +[src/seam-connect/routes.ts:460](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L460) ___ @@ -368,7 +368,7 @@ Routes.workspaces #### Defined in -[src/seam-connect/routes.ts:154](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L154) +[src/seam-connect/routes.ts:155](https://github.com/seamapi/javascript/blob/main/src/seam-connect/routes.ts#L155) ## Methods diff --git a/docs/interfaces/AccessCodeBase.md b/docs/interfaces/AccessCodeBase.md index 0193fdf9..93e425e6 100644 --- a/docs/interfaces/AccessCodeBase.md +++ b/docs/interfaces/AccessCodeBase.md @@ -29,7 +29,7 @@ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -49,7 +49,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/types/models.ts:272](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L272) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -79,4 +79,4 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) diff --git a/docs/interfaces/ActionAttemptResultTypeMap.md b/docs/interfaces/ActionAttemptResultTypeMap.md index a41422f5..7dd27141 100644 --- a/docs/interfaces/ActionAttemptResultTypeMap.md +++ b/docs/interfaces/ActionAttemptResultTypeMap.md @@ -36,7 +36,7 @@ Record.CREATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:231](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L231) +[src/types/models.ts:237](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L237) ___ @@ -86,4 +86,4 @@ Record.UPDATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:232](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L232) +[src/types/models.ts:238](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L238) diff --git a/docs/interfaces/ActionAttemptWithError.md b/docs/interfaces/ActionAttemptWithError.md index df92c69d..82a4840a 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:205](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L205) +[src/types/models.ts:211](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L211) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:206](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L206) +[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) ___ @@ -71,7 +71,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:223](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L223) +[src/types/models.ts:229](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L229) ___ @@ -85,7 +85,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:222](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L222) +[src/types/models.ts:228](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L228) ___ @@ -99,4 +99,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:221](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L221) +[src/types/models.ts:227](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L227) diff --git a/docs/interfaces/ClientSession.md b/docs/interfaces/ClientSession.md index 1f5168b2..197057dd 100644 --- a/docs/interfaces/ClientSession.md +++ b/docs/interfaces/ClientSession.md @@ -18,7 +18,7 @@ #### Defined in -[src/types/models.ts:350](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L350) +[src/types/models.ts:356](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L356) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[src/types/models.ts:351](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L351) +[src/types/models.ts:357](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L357) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[src/types/models.ts:349](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L349) +[src/types/models.ts:355](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L355) diff --git a/docs/interfaces/ClimateSettingScheduleUpdateResponse.md b/docs/interfaces/ClimateSettingScheduleUpdateResponse.md new file mode 100644 index 00000000..ba71db98 --- /dev/null +++ b/docs/interfaces/ClimateSettingScheduleUpdateResponse.md @@ -0,0 +1,19 @@ +[seamapi](../README.md) / [Exports](../modules.md) / ClimateSettingScheduleUpdateResponse + +# Interface: ClimateSettingScheduleUpdateResponse + +## Table of contents + +### Properties + +- [climate\_setting\_schedule](ClimateSettingScheduleUpdateResponse.md#climate_setting_schedule) + +## Properties + +### climate\_setting\_schedule + +• **climate\_setting\_schedule**: [`ClimateSettingSchedule`](../modules.md#climatesettingschedule) + +#### Defined in + +[src/types/route-responses.ts:169](https://github.com/seamapi/javascript/blob/main/src/types/route-responses.ts#L169) diff --git a/docs/interfaces/ConnectWebview.md b/docs/interfaces/ConnectWebview.md index be093452..32bb84c9 100644 --- a/docs/interfaces/ConnectWebview.md +++ b/docs/interfaces/ConnectWebview.md @@ -32,7 +32,7 @@ #### Defined in -[src/types/models.ts:253](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L253) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:251](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L251) +[src/types/models.ts:257](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L257) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:254](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L254) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/types/models.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L248) +[src/types/models.ts:254](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L254) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:256](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L256) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) ___ @@ -122,7 +122,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:267](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L267) ___ @@ -132,7 +132,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:266](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L266) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:250](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L250) +[src/types/models.ts:256](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L256) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:257](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L257) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:252](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L252) +[src/types/models.ts:258](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L258) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:258](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L258) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -182,7 +182,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) ___ @@ -192,4 +192,4 @@ ___ #### Defined in -[src/types/models.ts:249](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L249) +[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) diff --git a/docs/interfaces/ConnectedAccount.md b/docs/interfaces/ConnectedAccount.md index 2d545dd1..68e837df 100644 --- a/docs/interfaces/ConnectedAccount.md +++ b/docs/interfaces/ConnectedAccount.md @@ -22,7 +22,7 @@ #### Defined in -[src/types/models.ts:323](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L323) +[src/types/models.ts:329](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L329) ___ @@ -32,7 +32,7 @@ ___ #### Defined in -[src/types/models.ts:320](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L320) +[src/types/models.ts:326](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L326) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:321](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L321) +[src/types/models.ts:327](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L327) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:326](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L326) +[src/types/models.ts:332](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L332) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:324](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L324) +[src/types/models.ts:330](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L330) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:322](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L322) +[src/types/models.ts:328](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L328) ___ @@ -82,4 +82,4 @@ ___ #### Defined in -[src/types/models.ts:325](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L325) +[src/types/models.ts:331](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L331) diff --git a/docs/interfaces/Device.md b/docs/interfaces/Device.md index d59c3732..74f3250f 100644 --- a/docs/interfaces/Device.md +++ b/docs/interfaces/Device.md @@ -32,7 +32,7 @@ #### Defined in -[src/types/models.ts:100](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L100) +[src/types/models.ts:106](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L106) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:99](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L99) +[src/types/models.ts:105](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L105) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:103](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L103) +[src/types/models.ts:109](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L109) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:94](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L94) +[src/types/models.ts:100](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L100) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:98](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L98) +[src/types/models.ts:104](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L104) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/types/models.ts:101](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L101) +[src/types/models.ts:107](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L107) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/types/models.ts:97](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L97) +[src/types/models.ts:103](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L103) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:96](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L96) +[src/types/models.ts:102](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L102) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[src/types/models.ts:102](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L102) +[src/types/models.ts:108](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L108) ___ @@ -122,4 +122,4 @@ ___ #### Defined in -[src/types/models.ts:95](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L95) +[src/types/models.ts:101](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L101) diff --git a/docs/interfaces/DeviceModel.md b/docs/interfaces/DeviceModel.md index 8db1fb19..6707a1a2 100644 --- a/docs/interfaces/DeviceModel.md +++ b/docs/interfaces/DeviceModel.md @@ -23,7 +23,7 @@ #### Defined in -[src/types/models.ts:373](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L373) +[src/types/models.ts:379](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L379) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[src/types/models.ts:371](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L371) +[src/types/models.ts:377](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L377) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[src/types/models.ts:374](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L374) +[src/types/models.ts:380](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L380) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[src/types/models.ts:368](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L368) +[src/types/models.ts:374](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L374) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[src/types/models.ts:370](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L370) +[src/types/models.ts:376](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L376) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[src/types/models.ts:369](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L369) +[src/types/models.ts:375](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L375) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[src/types/models.ts:375](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L375) +[src/types/models.ts:381](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L381) ___ @@ -93,4 +93,4 @@ ___ #### Defined in -[src/types/models.ts:372](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L372) +[src/types/models.ts:378](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L378) diff --git a/docs/interfaces/DeviceProvider.md b/docs/interfaces/DeviceProvider.md index f52a2f5e..e922c1cf 100644 --- a/docs/interfaces/DeviceProvider.md +++ b/docs/interfaces/DeviceProvider.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:126](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L126) +[src/types/models.ts:132](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L132) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:127](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L127) +[src/types/models.ts:133](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L133) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:128](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L128) +[src/types/models.ts:134](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L134) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:129](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L129) +[src/types/models.ts:135](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L135) diff --git a/docs/interfaces/LockProperties.md b/docs/interfaces/LockProperties.md index c99414a8..cca406dc 100644 --- a/docs/interfaces/LockProperties.md +++ b/docs/interfaces/LockProperties.md @@ -53,7 +53,7 @@ #### Defined in -[src/types/models.ts:172](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L172) +[src/types/models.ts:178](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L178) ___ @@ -74,7 +74,7 @@ CommonDeviceProperties.battery #### Defined in -[src/types/models.ts:77](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L77) +[src/types/models.ts:83](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L83) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[src/types/models.ts:153](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L153) +[src/types/models.ts:159](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L159) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/models.ts:161](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L161) +[src/types/models.ts:167](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L167) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:152](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L152) +[src/types/models.ts:158](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L158) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:157](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L157) +[src/types/models.ts:163](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L163) ___ @@ -128,7 +128,7 @@ CommonDeviceProperties.image\_alt\_text #### Defined in -[src/types/models.ts:82](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L82) +[src/types/models.ts:88](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L88) ___ @@ -142,7 +142,7 @@ CommonDeviceProperties.image\_url #### Defined in -[src/types/models.ts:81](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L81) +[src/types/models.ts:87](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L87) ___ @@ -158,7 +158,7 @@ ___ #### Defined in -[src/types/models.ts:154](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L154) +[src/types/models.ts:160](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L160) ___ @@ -168,7 +168,7 @@ ___ #### Defined in -[src/types/models.ts:151](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L151) +[src/types/models.ts:157](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L157) ___ @@ -178,7 +178,7 @@ ___ #### Defined in -[src/types/models.ts:158](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L158) +[src/types/models.ts:164](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L164) ___ @@ -188,7 +188,7 @@ ___ #### Defined in -[src/types/models.ts:160](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L160) +[src/types/models.ts:166](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L166) ___ @@ -202,7 +202,7 @@ CommonDeviceProperties.name #### Defined in -[src/types/models.ts:75](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L75) +[src/types/models.ts:81](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L81) ___ @@ -218,7 +218,7 @@ ___ #### Defined in -[src/types/models.ts:182](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L182) +[src/types/models.ts:188](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L188) ___ @@ -232,7 +232,7 @@ CommonDeviceProperties.online #### Defined in -[src/types/models.ts:76](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L76) +[src/types/models.ts:82](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L82) ___ @@ -252,7 +252,7 @@ ___ #### Defined in -[src/types/models.ts:164](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L164) +[src/types/models.ts:170](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L170) ___ @@ -262,7 +262,7 @@ ___ #### Defined in -[src/types/models.ts:162](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L162) +[src/types/models.ts:168](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L168) ___ @@ -272,7 +272,7 @@ ___ #### Defined in -[src/types/models.ts:186](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L186) +[src/types/models.ts:192](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L192) ___ @@ -282,7 +282,7 @@ ___ #### Defined in -[src/types/models.ts:159](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L159) +[src/types/models.ts:165](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L165) ___ @@ -299,4 +299,4 @@ ___ #### Defined in -[src/types/models.ts:188](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L188) +[src/types/models.ts:194](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L194) diff --git a/docs/interfaces/ManagedAccessCodeBase.md b/docs/interfaces/ManagedAccessCodeBase.md index 6c4213d9..39580e99 100644 --- a/docs/interfaces/ManagedAccessCodeBase.md +++ b/docs/interfaces/ManagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:272](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L272) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) diff --git a/docs/interfaces/OngoingAccessCode.md b/docs/interfaces/OngoingAccessCode.md index 69bfb9c7..658a249d 100644 --- a/docs/interfaces/OngoingAccessCode.md +++ b/docs/interfaces/OngoingAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) +[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:272](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L272) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) ___ @@ -130,7 +130,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:282](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L282) +[src/types/models.ts:288](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L288) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) diff --git a/docs/interfaces/PendingActionAttempt.md b/docs/interfaces/PendingActionAttempt.md index ed1c1799..ade0197a 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:205](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L205) +[src/types/models.ts:211](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L211) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:206](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L206) +[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:216](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L216) +[src/types/models.ts:222](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L222) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:215](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L215) +[src/types/models.ts:221](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L221) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:214](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L214) +[src/types/models.ts:220](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L220) diff --git a/docs/interfaces/SeamError.md b/docs/interfaces/SeamError.md index 40b053ba..0d7a5982 100644 --- a/docs/interfaces/SeamError.md +++ b/docs/interfaces/SeamError.md @@ -17,7 +17,7 @@ #### Defined in -[src/types/models.ts:63](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L63) +[src/types/models.ts:69](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L69) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/types/models.ts:64](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L64) +[src/types/models.ts:70](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L70) diff --git a/docs/interfaces/SeamWarning.md b/docs/interfaces/SeamWarning.md index f8ae2ff0..09be4ce7 100644 --- a/docs/interfaces/SeamWarning.md +++ b/docs/interfaces/SeamWarning.md @@ -17,7 +17,7 @@ #### Defined in -[src/types/models.ts:69](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L69) +[src/types/models.ts:75](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L75) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/types/models.ts:68](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L68) +[src/types/models.ts:74](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L74) diff --git a/docs/interfaces/SuccessfulActionAttempt.md b/docs/interfaces/SuccessfulActionAttempt.md index 3cb742ad..e7eb3158 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:205](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L205) +[src/types/models.ts:211](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L211) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:206](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L206) +[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:238](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L238) +[src/types/models.ts:244](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L244) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:239](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L239) +[src/types/models.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L245) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:237](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L237) +[src/types/models.ts:243](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L243) diff --git a/docs/interfaces/TimeBoundAccessCode.md b/docs/interfaces/TimeBoundAccessCode.md index 4838dba9..d06f72c9 100644 --- a/docs/interfaces/TimeBoundAccessCode.md +++ b/docs/interfaces/TimeBoundAccessCode.md @@ -38,7 +38,7 @@ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) +[src/types/models.ts:295](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L295) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[src/types/models.ts:292](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L292) +[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:272](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L272) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) +[src/types/models.ts:297](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L297) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:296](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L296) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:288](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L288) +[src/types/models.ts:294](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L294) ___ @@ -186,4 +186,4 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) diff --git a/docs/interfaces/UnmanagedAccessCodeBase.md b/docs/interfaces/UnmanagedAccessCodeBase.md index 16829506..b30b0f3c 100644 --- a/docs/interfaces/UnmanagedAccessCodeBase.md +++ b/docs/interfaces/UnmanagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) +[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:272](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L272) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) +[src/types/models.ts:304](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L304) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) diff --git a/docs/interfaces/UnmanagedOngoingAccessCode.md b/docs/interfaces/UnmanagedOngoingAccessCode.md index 470721c1..29e7775e 100644 --- a/docs/interfaces/UnmanagedOngoingAccessCode.md +++ b/docs/interfaces/UnmanagedOngoingAccessCode.md @@ -34,7 +34,7 @@ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -48,7 +48,7 @@ ___ #### Defined in -[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) +[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:272](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L272) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) +[src/types/models.ts:304](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L304) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:303](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L303) +[src/types/models.ts:309](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L309) ___ @@ -142,4 +142,4 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) diff --git a/docs/interfaces/UnmanagedTimeBoundAccessCode.md b/docs/interfaces/UnmanagedTimeBoundAccessCode.md index 310fa559..fb4e501b 100644 --- a/docs/interfaces/UnmanagedTimeBoundAccessCode.md +++ b/docs/interfaces/UnmanagedTimeBoundAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) +[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:308](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L308) +[src/types/models.ts:314](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L314) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:272](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L272) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -126,7 +126,7 @@ ___ #### Defined in -[src/types/models.ts:307](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L307) +[src/types/models.ts:313](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L313) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) +[src/types/models.ts:304](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L304) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:306](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L306) +[src/types/models.ts:312](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L312) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:273](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L273) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) diff --git a/docs/interfaces/UserIdentifier.md b/docs/interfaces/UserIdentifier.md index 93205f2e..c2df565e 100644 --- a/docs/interfaces/UserIdentifier.md +++ b/docs/interfaces/UserIdentifier.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/models.ts:316](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L316) +[src/types/models.ts:322](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L322) diff --git a/docs/interfaces/Webhook.md b/docs/interfaces/Webhook.md index f842b532..ed576062 100644 --- a/docs/interfaces/Webhook.md +++ b/docs/interfaces/Webhook.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:332](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L332) +[src/types/models.ts:338](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L338) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:333](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L333) +[src/types/models.ts:339](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L339) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:331](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L331) +[src/types/models.ts:337](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L337) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:330](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L330) +[src/types/models.ts:336](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L336) diff --git a/docs/modules.md b/docs/modules.md index 02fdcd61..62c120bf 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -42,6 +42,7 @@ - [ClientSession](interfaces/ClientSession.md) - [ClimateSettingScheduleCreateResponse](interfaces/ClimateSettingScheduleCreateResponse.md) - [ClimateSettingScheduleGetResponse](interfaces/ClimateSettingScheduleGetResponse.md) +- [ClimateSettingScheduleUpdateResponse](interfaces/ClimateSettingScheduleUpdateResponse.md) - [ClimateSettingSchedulesListResponse](interfaces/ClimateSettingSchedulesListResponse.md) - [ConnectWebview](interfaces/ConnectWebview.md) - [ConnectWebviewCreateRequest](interfaces/ConnectWebviewCreateRequest.md) @@ -148,6 +149,7 @@ - [ProviderCategory](modules.md#providercategory) - [SeamWebhookEvent](modules.md#seamwebhookevent) - [SuccessfulAPIResponse](modules.md#successfulapiresponse) +- [ThermostatDeviceType](modules.md#thermostatdevicetype) - [ThermostatUpdateRequest](modules.md#thermostatupdaterequest) - [UnmanagedAccessCode](modules.md#unmanagedaccesscode) - [UnmanagedAccessCodeConvertToManagedRequest](modules.md#unmanagedaccesscodeconverttomanagedrequest) @@ -165,6 +167,7 @@ - [LOCK\_DEVICE\_TYPES](modules.md#lock_device_types) - [NOISE\_DETECTION\_DEVICE\_TYPES](modules.md#noise_detection_device_types) - [PROVIDERS](modules.md#providers) +- [THERMOSTAT\_DEVICE\_TYPES](modules.md#thermostat_device_types) ### Functions @@ -201,7 +204,7 @@ ___ #### Defined in -[src/types/models.ts:295](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L295) +[src/types/models.ts:301](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L301) ___ @@ -211,7 +214,7 @@ ___ #### Defined in -[src/types/models.ts:142](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L142) +[src/types/models.ts:148](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L148) ___ @@ -346,7 +349,7 @@ ___ #### Defined in -[src/types/models.ts:242](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L242) +[src/types/models.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L248) ___ @@ -356,7 +359,7 @@ ___ #### Defined in -[src/types/models.ts:197](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L197) +[src/types/models.ts:203](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L203) ___ @@ -366,7 +369,7 @@ ___ #### Defined in -[src/types/models.ts:194](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L194) +[src/types/models.ts:200](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L200) ___ @@ -376,7 +379,7 @@ ___ #### Defined in -[src/types/models.ts:72](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L72) +[src/types/models.ts:78](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L78) ___ @@ -443,7 +446,7 @@ ___ #### Defined in -[src/types/models.ts:378](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L378) +[src/types/models.ts:384](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L384) ___ @@ -453,7 +456,7 @@ ___ #### Defined in -[src/types/models.ts:397](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L397) +[src/types/models.ts:403](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L403) ___ @@ -463,7 +466,7 @@ ___ #### Defined in -[src/types/models.ts:389](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L389) +[src/types/models.ts:395](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L395) ___ @@ -473,7 +476,7 @@ ___ #### Defined in -[src/types/route-requests.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L245) +[src/types/route-requests.ts:246](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L246) ___ @@ -489,7 +492,7 @@ ___ #### Defined in -[src/types/route-requests.ts:252](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L252) +[src/types/route-requests.ts:253](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L253) ___ @@ -502,6 +505,7 @@ ___ | Name | Type | | :------ | :------ | | `climate_setting_schedule_id` | `string` | +| `device_id` | `string` | #### Defined in @@ -515,7 +519,7 @@ ___ #### Defined in -[src/types/route-requests.ts:247](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L247) +[src/types/route-requests.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L248) ___ @@ -553,7 +557,7 @@ ___ #### Defined in -[src/types/models.ts:74](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L74) +[src/types/models.ts:80](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L80) ___ @@ -606,7 +610,7 @@ ___ #### Defined in -[src/types/models.ts:85](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L85) +[src/types/models.ts:91](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L91) ___ @@ -647,11 +651,11 @@ ___ ### DeviceType -Ƭ **DeviceType**: [`LockDeviceType`](modules.md#lockdevicetype) \| [`NoiseDetectionDeviceType`](modules.md#noisedetectiondevicetype) +Ƭ **DeviceType**: [`LockDeviceType`](modules.md#lockdevicetype) \| [`NoiseDetectionDeviceType`](modules.md#noisedetectiondevicetype) \| [`ThermostatDeviceType`](modules.md#thermostatdevicetype) #### Defined in -[src/types/models.ts:37](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L37) +[src/types/models.ts:40](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L40) ___ @@ -681,7 +685,7 @@ ___ #### Defined in -[src/types/models.ts:346](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L346) +[src/types/models.ts:352](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L352) ___ @@ -691,7 +695,7 @@ ___ #### Defined in -[src/types/models.ts:195](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L195) +[src/types/models.ts:201](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L201) ___ @@ -733,7 +737,7 @@ ___ #### Defined in -[src/types/models.ts:354](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L354) +[src/types/models.ts:360](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L360) ___ @@ -835,7 +839,7 @@ ___ #### Defined in -[src/types/models.ts:57](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L57) +[src/types/models.ts:63](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L63) ___ @@ -847,7 +851,7 @@ This type can allow for other provider categories as they are added #### Defined in -[src/types/models.ts:60](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L60) +[src/types/models.ts:66](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L66) ___ @@ -877,6 +881,16 @@ ___ ___ +### ThermostatDeviceType + +Ƭ **ThermostatDeviceType**: typeof [`THERMOSTAT_DEVICE_TYPES`](modules.md#thermostat_device_types)[`number`] + +#### Defined in + +[src/types/models.ts:38](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L38) + +___ + ### ThermostatUpdateRequest Ƭ **ThermostatUpdateRequest**: `Object` @@ -891,7 +905,7 @@ ___ #### Defined in -[src/types/route-requests.ts:258](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L258) +[src/types/route-requests.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L259) ___ @@ -901,7 +915,7 @@ ___ #### Defined in -[src/types/models.ts:311](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L311) +[src/types/models.ts:317](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L317) ___ @@ -995,7 +1009,7 @@ ___ #### Defined in -[src/types/models.ts:106](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L106) +[src/types/models.ts:112](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L112) ___ @@ -1074,7 +1088,17 @@ ___ #### Defined in -[src/types/models.ts:39](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L39) +[src/types/models.ts:45](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L45) + +___ + +### THERMOSTAT\_DEVICE\_TYPES + +• `Const` **THERMOSTAT\_DEVICE\_TYPES**: `string`[] + +#### Defined in + +[src/types/models.ts:37](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L37) ## Functions diff --git a/src/seam-connect/routes.ts b/src/seam-connect/routes.ts index 1206b348..d8ebe644 100644 --- a/src/seam-connect/routes.ts +++ b/src/seam-connect/routes.ts @@ -87,6 +87,7 @@ import { ClimateSettingSchedulesListResponse, ClimateSettingScheduleGetResponse, ClimateSettingScheduleCreateResponse, + ClimateSettingScheduleUpdateResponse, } from "../types/route-responses" export abstract class Routes { @@ -555,11 +556,14 @@ export abstract class Routes { } ), update: (params: ClimateSettingScheduleUpdateRequest) => - this.makeRequest({ - url: "/thermostats/climate_setting_schedules/update", - method: "POST", - data: params, - }), + this.makeRequestAndFormat( + "climate_setting_schedule", + { + url: "/thermostats/climate_setting_schedules/update", + method: "POST", + data: params, + } + ), delete: (params: ClimateSettingScheduleDeleteRequest) => this.makeRequest({ url: `/thermostats/climate_setting_schedules/delete`, diff --git a/src/types/models.ts b/src/types/models.ts index 29f609a5..bdeb8535 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -34,7 +34,13 @@ export const NOISE_DETECTION_DEVICE_TYPES = [ export type NoiseDetectionDeviceType = typeof NOISE_DETECTION_DEVICE_TYPES[number] -export type DeviceType = LockDeviceType | NoiseDetectionDeviceType +export const THERMOSTAT_DEVICE_TYPES = ["nest_thermostat"] +export type ThermostatDeviceType = typeof THERMOSTAT_DEVICE_TYPES[number] + +export type DeviceType = + | LockDeviceType + | NoiseDetectionDeviceType + | ThermostatDeviceType export const PROVIDERS = [ "akuvox", diff --git a/src/types/route-requests.ts b/src/types/route-requests.ts index f900bdb5..1b58ed98 100644 --- a/src/types/route-requests.ts +++ b/src/types/route-requests.ts @@ -240,6 +240,7 @@ export type ClimateSettingSchedulesListRequest = { export type ClimateSettingScheduleGetRequest = { climate_setting_schedule_id: string + device_id: string } export type ClimateSettingScheduleCreateRequest = ClimateSettingScheduleBase diff --git a/src/types/route-responses.ts b/src/types/route-responses.ts index 79176a06..1ba9ff9e 100644 --- a/src/types/route-responses.ts +++ b/src/types/route-responses.ts @@ -164,3 +164,7 @@ export interface ClimateSettingScheduleGetResponse { export interface ClimateSettingScheduleCreateResponse { climate_setting_schedule: ClimateSettingSchedule } + +export interface ClimateSettingScheduleUpdateResponse { + climate_setting_schedule: ClimateSettingSchedule +} diff --git a/tests/fixtures/plugins/get-server-plugin.ts b/tests/fixtures/plugins/get-server-plugin.ts index b092430b..f2ef84fb 100644 --- a/tests/fixtures/plugins/get-server-plugin.ts +++ b/tests/fixtures/plugins/get-server-plugin.ts @@ -58,7 +58,6 @@ export const getServer = async ( load_devices_from: ("minut" | "schlage" | "august" | "nest")[] = [ "august", "schlage", - "nest", ] ) => { const message = serverWorker.publish( diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index 06406a53..03a02ee9 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -65,11 +65,6 @@ const startAndSeedServer = async ( .withWaitStrategy(Wait.forLogMessage("ready - started server")) .start() - const stream = await server.logs() - stream - .on("data", (line) => console.log(line)) - .on("err", (line) => console.error(line)) - const db = knex(database.externalDatabaseUrl) const workspace = await db("seam.workspace") diff --git a/tests/routes.test.ts b/tests/routes.test.ts index bf1ceef2..556fdeb8 100644 --- a/tests/routes.test.ts +++ b/tests/routes.test.ts @@ -421,6 +421,7 @@ test( { climate_setting_schedule_id: seed.devices.nest.climateSettingSchedule.climate_setting_schedule_id, + device_id: seed.devices.nest.id1, }, ], load_devices_from: ["nest"], From ed3b3a71c7cea87e3194c53a92509c7fcf832b7d Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 16:17:47 -0700 Subject: [PATCH 13/17] remove node --- .github/workflows/npm-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index c7b5d7aa..239b25e5 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -36,8 +36,8 @@ jobs: strategy: fail-fast: false matrix: - node: [0, 1, 2, 3] - total_nodes: [4] + node: [0, 1, 2] + total_nodes: [3] steps: - uses: Sibz/github-status-action@v1 if: ${{ github.event.inputs.connectSha }} From 1734cb13931512cceb6216bb3f3eac9975037643 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 18:10:49 -0700 Subject: [PATCH 14/17] hope this fixes everything --- docs/interfaces/AccessCodeBase.md | 12 +++--- docs/interfaces/ActionAttemptResultTypeMap.md | 4 +- docs/interfaces/ActionAttemptWithError.md | 10 ++--- docs/interfaces/ClientSession.md | 6 +-- docs/interfaces/ConnectWebview.md | 34 ++++++++-------- docs/interfaces/ConnectedAccount.md | 14 +++---- docs/interfaces/Device.md | 20 +++++----- docs/interfaces/DeviceModel.md | 16 ++++---- docs/interfaces/DeviceProvider.md | 8 ++-- docs/interfaces/LockProperties.md | 40 +++++++++---------- docs/interfaces/ManagedAccessCodeBase.md | 16 ++++---- docs/interfaces/OngoingAccessCode.md | 22 +++++----- docs/interfaces/PendingActionAttempt.md | 10 ++--- docs/interfaces/SeamError.md | 4 +- docs/interfaces/SeamWarning.md | 4 +- docs/interfaces/SuccessfulActionAttempt.md | 10 ++--- docs/interfaces/TimeBoundAccessCode.md | 26 ++++++------ docs/interfaces/UnmanagedAccessCodeBase.md | 16 ++++---- docs/interfaces/UnmanagedOngoingAccessCode.md | 18 ++++----- .../UnmanagedTimeBoundAccessCode.md | 22 +++++----- docs/interfaces/UserIdentifier.md | 2 +- docs/interfaces/Webhook.md | 8 ++-- docs/modules.md | 36 ++++++++--------- src/types/models.ts | 1 + tests/fixtures/plugins/get-server-plugin.ts | 1 + .../workers/helpers/start-and-seed-server.ts | 6 +-- tests/routes.test.ts | 32 +++++++++++---- 27 files changed, 207 insertions(+), 191 deletions(-) diff --git a/docs/interfaces/AccessCodeBase.md b/docs/interfaces/AccessCodeBase.md index 93e425e6..f3161bc8 100644 --- a/docs/interfaces/AccessCodeBase.md +++ b/docs/interfaces/AccessCodeBase.md @@ -29,7 +29,7 @@ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -49,7 +49,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -59,7 +59,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -69,7 +69,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -79,4 +79,4 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) diff --git a/docs/interfaces/ActionAttemptResultTypeMap.md b/docs/interfaces/ActionAttemptResultTypeMap.md index 7dd27141..c6264434 100644 --- a/docs/interfaces/ActionAttemptResultTypeMap.md +++ b/docs/interfaces/ActionAttemptResultTypeMap.md @@ -36,7 +36,7 @@ Record.CREATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:237](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L237) +[src/types/models.ts:238](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L238) ___ @@ -86,4 +86,4 @@ Record.UPDATE\_ACCESS\_CODE #### Defined in -[src/types/models.ts:238](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L238) +[src/types/models.ts:239](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L239) diff --git a/docs/interfaces/ActionAttemptWithError.md b/docs/interfaces/ActionAttemptWithError.md index 82a4840a..e1bf694c 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:211](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L211) +[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) +[src/types/models.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L213) ___ @@ -71,7 +71,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:229](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L229) +[src/types/models.ts:230](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L230) ___ @@ -85,7 +85,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:228](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L228) +[src/types/models.ts:229](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L229) ___ @@ -99,4 +99,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:227](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L227) +[src/types/models.ts:228](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L228) diff --git a/docs/interfaces/ClientSession.md b/docs/interfaces/ClientSession.md index 197057dd..55eb8225 100644 --- a/docs/interfaces/ClientSession.md +++ b/docs/interfaces/ClientSession.md @@ -18,7 +18,7 @@ #### Defined in -[src/types/models.ts:356](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L356) +[src/types/models.ts:357](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L357) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[src/types/models.ts:357](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L357) +[src/types/models.ts:358](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L358) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[src/types/models.ts:355](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L355) +[src/types/models.ts:356](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L356) diff --git a/docs/interfaces/ConnectWebview.md b/docs/interfaces/ConnectWebview.md index 32bb84c9..9205966d 100644 --- a/docs/interfaces/ConnectWebview.md +++ b/docs/interfaces/ConnectWebview.md @@ -32,7 +32,7 @@ #### Defined in -[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) +[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:257](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L257) +[src/types/models.ts:258](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L258) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) +[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:260](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L260) +[src/types/models.ts:261](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L261) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) +[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/types/models.ts:254](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L254) +[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) +[src/types/models.ts:266](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L266) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:262](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L262) +[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[src/types/models.ts:270](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L270) +[src/types/models.ts:271](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L271) ___ @@ -122,7 +122,7 @@ ___ #### Defined in -[src/types/models.ts:267](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L267) +[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) ___ @@ -132,7 +132,7 @@ ___ #### Defined in -[src/types/models.ts:266](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L266) +[src/types/models.ts:267](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L267) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:256](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L256) +[src/types/models.ts:257](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L257) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:263](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L263) +[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:258](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L258) +[src/types/models.ts:259](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L259) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:264](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L264) +[src/types/models.ts:265](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L265) ___ @@ -182,7 +182,7 @@ ___ #### Defined in -[src/types/models.ts:268](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L268) +[src/types/models.ts:269](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L269) ___ @@ -192,4 +192,4 @@ ___ #### Defined in -[src/types/models.ts:255](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L255) +[src/types/models.ts:256](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L256) diff --git a/docs/interfaces/ConnectedAccount.md b/docs/interfaces/ConnectedAccount.md index 68e837df..24d23159 100644 --- a/docs/interfaces/ConnectedAccount.md +++ b/docs/interfaces/ConnectedAccount.md @@ -22,7 +22,7 @@ #### Defined in -[src/types/models.ts:329](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L329) +[src/types/models.ts:330](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L330) ___ @@ -32,7 +32,7 @@ ___ #### Defined in -[src/types/models.ts:326](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L326) +[src/types/models.ts:327](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L327) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:327](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L327) +[src/types/models.ts:328](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L328) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:332](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L332) +[src/types/models.ts:333](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L333) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:330](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L330) +[src/types/models.ts:331](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L331) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:328](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L328) +[src/types/models.ts:329](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L329) ___ @@ -82,4 +82,4 @@ ___ #### Defined in -[src/types/models.ts:331](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L331) +[src/types/models.ts:332](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L332) diff --git a/docs/interfaces/Device.md b/docs/interfaces/Device.md index 74f3250f..f9c97f06 100644 --- a/docs/interfaces/Device.md +++ b/docs/interfaces/Device.md @@ -32,7 +32,7 @@ #### Defined in -[src/types/models.ts:106](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L106) +[src/types/models.ts:107](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L107) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/models.ts:105](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L105) +[src/types/models.ts:106](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L106) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:109](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L109) +[src/types/models.ts:110](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L110) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:100](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L100) +[src/types/models.ts:101](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L101) ___ @@ -72,7 +72,7 @@ ___ #### Defined in -[src/types/models.ts:104](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L104) +[src/types/models.ts:105](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L105) ___ @@ -82,7 +82,7 @@ ___ #### Defined in -[src/types/models.ts:107](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L107) +[src/types/models.ts:108](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L108) ___ @@ -92,7 +92,7 @@ ___ #### Defined in -[src/types/models.ts:103](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L103) +[src/types/models.ts:104](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L104) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:102](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L102) +[src/types/models.ts:103](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L103) ___ @@ -112,7 +112,7 @@ ___ #### Defined in -[src/types/models.ts:108](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L108) +[src/types/models.ts:109](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L109) ___ @@ -122,4 +122,4 @@ ___ #### Defined in -[src/types/models.ts:101](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L101) +[src/types/models.ts:102](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L102) diff --git a/docs/interfaces/DeviceModel.md b/docs/interfaces/DeviceModel.md index 6707a1a2..bbfd4003 100644 --- a/docs/interfaces/DeviceModel.md +++ b/docs/interfaces/DeviceModel.md @@ -23,7 +23,7 @@ #### Defined in -[src/types/models.ts:379](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L379) +[src/types/models.ts:380](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L380) ___ @@ -33,7 +33,7 @@ ___ #### Defined in -[src/types/models.ts:377](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L377) +[src/types/models.ts:378](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L378) ___ @@ -43,7 +43,7 @@ ___ #### Defined in -[src/types/models.ts:380](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L380) +[src/types/models.ts:381](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L381) ___ @@ -53,7 +53,7 @@ ___ #### Defined in -[src/types/models.ts:374](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L374) +[src/types/models.ts:375](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L375) ___ @@ -63,7 +63,7 @@ ___ #### Defined in -[src/types/models.ts:376](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L376) +[src/types/models.ts:377](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L377) ___ @@ -73,7 +73,7 @@ ___ #### Defined in -[src/types/models.ts:375](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L375) +[src/types/models.ts:376](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L376) ___ @@ -83,7 +83,7 @@ ___ #### Defined in -[src/types/models.ts:381](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L381) +[src/types/models.ts:382](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L382) ___ @@ -93,4 +93,4 @@ ___ #### Defined in -[src/types/models.ts:378](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L378) +[src/types/models.ts:379](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L379) diff --git a/docs/interfaces/DeviceProvider.md b/docs/interfaces/DeviceProvider.md index e922c1cf..32e20f0c 100644 --- a/docs/interfaces/DeviceProvider.md +++ b/docs/interfaces/DeviceProvider.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:132](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L132) +[src/types/models.ts:133](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L133) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:133](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L133) +[src/types/models.ts:134](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L134) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:134](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L134) +[src/types/models.ts:135](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L135) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:135](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L135) +[src/types/models.ts:136](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L136) diff --git a/docs/interfaces/LockProperties.md b/docs/interfaces/LockProperties.md index cca406dc..0ecc35f5 100644 --- a/docs/interfaces/LockProperties.md +++ b/docs/interfaces/LockProperties.md @@ -53,7 +53,7 @@ #### Defined in -[src/types/models.ts:178](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L178) +[src/types/models.ts:179](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L179) ___ @@ -74,7 +74,7 @@ CommonDeviceProperties.battery #### Defined in -[src/types/models.ts:83](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L83) +[src/types/models.ts:84](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L84) ___ @@ -84,7 +84,7 @@ ___ #### Defined in -[src/types/models.ts:159](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L159) +[src/types/models.ts:160](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L160) ___ @@ -94,7 +94,7 @@ ___ #### Defined in -[src/types/models.ts:167](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L167) +[src/types/models.ts:168](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L168) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:158](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L158) +[src/types/models.ts:159](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L159) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:163](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L163) +[src/types/models.ts:164](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L164) ___ @@ -128,7 +128,7 @@ CommonDeviceProperties.image\_alt\_text #### Defined in -[src/types/models.ts:88](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L88) +[src/types/models.ts:89](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L89) ___ @@ -142,7 +142,7 @@ CommonDeviceProperties.image\_url #### Defined in -[src/types/models.ts:87](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L87) +[src/types/models.ts:88](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L88) ___ @@ -158,7 +158,7 @@ ___ #### Defined in -[src/types/models.ts:160](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L160) +[src/types/models.ts:161](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L161) ___ @@ -168,7 +168,7 @@ ___ #### Defined in -[src/types/models.ts:157](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L157) +[src/types/models.ts:158](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L158) ___ @@ -178,7 +178,7 @@ ___ #### Defined in -[src/types/models.ts:164](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L164) +[src/types/models.ts:165](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L165) ___ @@ -188,7 +188,7 @@ ___ #### Defined in -[src/types/models.ts:166](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L166) +[src/types/models.ts:167](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L167) ___ @@ -202,7 +202,7 @@ CommonDeviceProperties.name #### Defined in -[src/types/models.ts:81](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L81) +[src/types/models.ts:82](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L82) ___ @@ -218,7 +218,7 @@ ___ #### Defined in -[src/types/models.ts:188](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L188) +[src/types/models.ts:189](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L189) ___ @@ -232,7 +232,7 @@ CommonDeviceProperties.online #### Defined in -[src/types/models.ts:82](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L82) +[src/types/models.ts:83](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L83) ___ @@ -252,7 +252,7 @@ ___ #### Defined in -[src/types/models.ts:170](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L170) +[src/types/models.ts:171](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L171) ___ @@ -262,7 +262,7 @@ ___ #### Defined in -[src/types/models.ts:168](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L168) +[src/types/models.ts:169](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L169) ___ @@ -272,7 +272,7 @@ ___ #### Defined in -[src/types/models.ts:192](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L192) +[src/types/models.ts:193](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L193) ___ @@ -282,7 +282,7 @@ ___ #### Defined in -[src/types/models.ts:165](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L165) +[src/types/models.ts:166](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L166) ___ @@ -299,4 +299,4 @@ ___ #### Defined in -[src/types/models.ts:194](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L194) +[src/types/models.ts:195](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L195) diff --git a/docs/interfaces/ManagedAccessCodeBase.md b/docs/interfaces/ManagedAccessCodeBase.md index 39580e99..08392bff 100644 --- a/docs/interfaces/ManagedAccessCodeBase.md +++ b/docs/interfaces/ManagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) +[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -99,7 +99,7 @@ ___ #### Defined in -[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) +[src/types/models.ts:285](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L285) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) diff --git a/docs/interfaces/OngoingAccessCode.md b/docs/interfaces/OngoingAccessCode.md index 658a249d..f0e327c0 100644 --- a/docs/interfaces/OngoingAccessCode.md +++ b/docs/interfaces/OngoingAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) +[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) ___ @@ -74,7 +74,7 @@ ___ #### Defined in -[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) +[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) +[src/types/models.ts:285](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L285) ___ @@ -130,7 +130,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:290](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L290) +[src/types/models.ts:291](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L291) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:288](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L288) +[src/types/models.ts:289](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L289) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) diff --git a/docs/interfaces/PendingActionAttempt.md b/docs/interfaces/PendingActionAttempt.md index ade0197a..5e34e047 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:211](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L211) +[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) +[src/types/models.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L213) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:222](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L222) +[src/types/models.ts:223](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L223) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:221](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L221) +[src/types/models.ts:222](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L222) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:220](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L220) +[src/types/models.ts:221](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L221) diff --git a/docs/interfaces/SeamError.md b/docs/interfaces/SeamError.md index 0d7a5982..0a0eba77 100644 --- a/docs/interfaces/SeamError.md +++ b/docs/interfaces/SeamError.md @@ -17,7 +17,7 @@ #### Defined in -[src/types/models.ts:69](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L69) +[src/types/models.ts:70](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L70) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/types/models.ts:70](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L70) +[src/types/models.ts:71](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L71) diff --git a/docs/interfaces/SeamWarning.md b/docs/interfaces/SeamWarning.md index 09be4ce7..cb3a0a44 100644 --- a/docs/interfaces/SeamWarning.md +++ b/docs/interfaces/SeamWarning.md @@ -17,7 +17,7 @@ #### Defined in -[src/types/models.ts:75](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L75) +[src/types/models.ts:76](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L76) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/types/models.ts:74](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L74) +[src/types/models.ts:75](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L75) diff --git a/docs/interfaces/SuccessfulActionAttempt.md b/docs/interfaces/SuccessfulActionAttempt.md index e7eb3158..e19c8e14 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:211](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L211) +[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) ___ @@ -50,7 +50,7 @@ ActionAttemptBase.action\_type #### Defined in -[src/types/models.ts:212](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L212) +[src/types/models.ts:213](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L213) ___ @@ -64,7 +64,7 @@ ActionAttemptBase.error #### Defined in -[src/types/models.ts:244](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L244) +[src/types/models.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L245) ___ @@ -78,7 +78,7 @@ ActionAttemptBase.result #### Defined in -[src/types/models.ts:245](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L245) +[src/types/models.ts:246](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L246) ___ @@ -92,4 +92,4 @@ ActionAttemptBase.status #### Defined in -[src/types/models.ts:243](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L243) +[src/types/models.ts:244](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L244) diff --git a/docs/interfaces/TimeBoundAccessCode.md b/docs/interfaces/TimeBoundAccessCode.md index d06f72c9..c33c65cd 100644 --- a/docs/interfaces/TimeBoundAccessCode.md +++ b/docs/interfaces/TimeBoundAccessCode.md @@ -38,7 +38,7 @@ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -52,7 +52,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -66,7 +66,7 @@ ___ #### Defined in -[src/types/models.ts:283](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L283) +[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:295](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L295) +[src/types/models.ts:296](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L296) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -100,7 +100,7 @@ ___ #### Defined in -[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) +[src/types/models.ts:299](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L299) ___ @@ -114,7 +114,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:284](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L284) +[src/types/models.ts:285](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L285) ___ @@ -142,7 +142,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -152,7 +152,7 @@ ___ #### Defined in -[src/types/models.ts:297](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L297) +[src/types/models.ts:298](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L298) ___ @@ -162,7 +162,7 @@ ___ #### Defined in -[src/types/models.ts:296](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L296) +[src/types/models.ts:297](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L297) ___ @@ -172,7 +172,7 @@ ___ #### Defined in -[src/types/models.ts:294](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L294) +[src/types/models.ts:295](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L295) ___ @@ -186,4 +186,4 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) diff --git a/docs/interfaces/UnmanagedAccessCodeBase.md b/docs/interfaces/UnmanagedAccessCodeBase.md index b30b0f3c..1af9f989 100644 --- a/docs/interfaces/UnmanagedAccessCodeBase.md +++ b/docs/interfaces/UnmanagedAccessCodeBase.md @@ -37,7 +37,7 @@ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -51,7 +51,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -61,7 +61,7 @@ ___ #### Defined in -[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) +[src/types/models.ts:306](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L306) ___ @@ -75,7 +75,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -89,7 +89,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -103,7 +103,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -113,7 +113,7 @@ ___ #### Defined in -[src/types/models.ts:304](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L304) +[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) ___ @@ -127,4 +127,4 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) diff --git a/docs/interfaces/UnmanagedOngoingAccessCode.md b/docs/interfaces/UnmanagedOngoingAccessCode.md index 29e7775e..6ae28a11 100644 --- a/docs/interfaces/UnmanagedOngoingAccessCode.md +++ b/docs/interfaces/UnmanagedOngoingAccessCode.md @@ -34,7 +34,7 @@ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -48,7 +48,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -62,7 +62,7 @@ ___ #### Defined in -[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) +[src/types/models.ts:306](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L306) ___ @@ -76,7 +76,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -90,7 +90,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -104,7 +104,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -118,7 +118,7 @@ ___ #### Defined in -[src/types/models.ts:304](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L304) +[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) ___ @@ -128,7 +128,7 @@ ___ #### Defined in -[src/types/models.ts:309](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L309) +[src/types/models.ts:310](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L310) ___ @@ -142,4 +142,4 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) diff --git a/docs/interfaces/UnmanagedTimeBoundAccessCode.md b/docs/interfaces/UnmanagedTimeBoundAccessCode.md index fb4e501b..ca0e9ec4 100644 --- a/docs/interfaces/UnmanagedTimeBoundAccessCode.md +++ b/docs/interfaces/UnmanagedTimeBoundAccessCode.md @@ -36,7 +36,7 @@ #### Defined in -[src/types/models.ts:274](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L274) +[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) +[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) ___ @@ -64,7 +64,7 @@ ___ #### Defined in -[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) +[src/types/models.ts:306](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L306) ___ @@ -78,7 +78,7 @@ ___ #### Defined in -[src/types/models.ts:275](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L275) +[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) ___ @@ -88,7 +88,7 @@ ___ #### Defined in -[src/types/models.ts:314](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L314) +[src/types/models.ts:315](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L315) ___ @@ -102,7 +102,7 @@ ___ #### Defined in -[src/types/models.ts:278](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L278) +[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) ___ @@ -116,7 +116,7 @@ ___ #### Defined in -[src/types/models.ts:276](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L276) +[src/types/models.ts:277](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L277) ___ @@ -126,7 +126,7 @@ ___ #### Defined in -[src/types/models.ts:313](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L313) +[src/types/models.ts:314](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L314) ___ @@ -140,7 +140,7 @@ ___ #### Defined in -[src/types/models.ts:304](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L304) +[src/types/models.ts:305](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L305) ___ @@ -150,7 +150,7 @@ ___ #### Defined in -[src/types/models.ts:312](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L312) +[src/types/models.ts:313](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L313) ___ @@ -164,4 +164,4 @@ ___ #### Defined in -[src/types/models.ts:279](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L279) +[src/types/models.ts:280](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L280) diff --git a/docs/interfaces/UserIdentifier.md b/docs/interfaces/UserIdentifier.md index c2df565e..5030665d 100644 --- a/docs/interfaces/UserIdentifier.md +++ b/docs/interfaces/UserIdentifier.md @@ -16,4 +16,4 @@ #### Defined in -[src/types/models.ts:322](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L322) +[src/types/models.ts:323](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L323) diff --git a/docs/interfaces/Webhook.md b/docs/interfaces/Webhook.md index ed576062..727b37f1 100644 --- a/docs/interfaces/Webhook.md +++ b/docs/interfaces/Webhook.md @@ -19,7 +19,7 @@ #### Defined in -[src/types/models.ts:338](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L338) +[src/types/models.ts:339](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L339) ___ @@ -29,7 +29,7 @@ ___ #### Defined in -[src/types/models.ts:339](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L339) +[src/types/models.ts:340](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L340) ___ @@ -39,7 +39,7 @@ ___ #### Defined in -[src/types/models.ts:337](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L337) +[src/types/models.ts:338](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L338) ___ @@ -49,4 +49,4 @@ ___ #### Defined in -[src/types/models.ts:336](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L336) +[src/types/models.ts:337](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L337) diff --git a/docs/modules.md b/docs/modules.md index 62c120bf..23d315ef 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -204,7 +204,7 @@ ___ #### Defined in -[src/types/models.ts:301](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L301) +[src/types/models.ts:302](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L302) ___ @@ -214,7 +214,7 @@ ___ #### Defined in -[src/types/models.ts:148](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L148) +[src/types/models.ts:149](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L149) ___ @@ -349,7 +349,7 @@ ___ #### Defined in -[src/types/models.ts:248](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L248) +[src/types/models.ts:249](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L249) ___ @@ -359,7 +359,7 @@ ___ #### Defined in -[src/types/models.ts:203](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L203) +[src/types/models.ts:204](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L204) ___ @@ -369,7 +369,7 @@ ___ #### Defined in -[src/types/models.ts:200](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L200) +[src/types/models.ts:201](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L201) ___ @@ -379,7 +379,7 @@ ___ #### Defined in -[src/types/models.ts:78](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L78) +[src/types/models.ts:79](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L79) ___ @@ -446,7 +446,7 @@ ___ #### Defined in -[src/types/models.ts:384](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L384) +[src/types/models.ts:385](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L385) ___ @@ -456,7 +456,7 @@ ___ #### Defined in -[src/types/models.ts:403](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L403) +[src/types/models.ts:404](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L404) ___ @@ -466,7 +466,7 @@ ___ #### Defined in -[src/types/models.ts:395](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L395) +[src/types/models.ts:396](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L396) ___ @@ -557,7 +557,7 @@ ___ #### Defined in -[src/types/models.ts:80](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L80) +[src/types/models.ts:81](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L81) ___ @@ -610,7 +610,7 @@ ___ #### Defined in -[src/types/models.ts:91](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L91) +[src/types/models.ts:92](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L92) ___ @@ -685,7 +685,7 @@ ___ #### Defined in -[src/types/models.ts:352](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L352) +[src/types/models.ts:353](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L353) ___ @@ -695,7 +695,7 @@ ___ #### Defined in -[src/types/models.ts:201](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L201) +[src/types/models.ts:202](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L202) ___ @@ -737,7 +737,7 @@ ___ #### Defined in -[src/types/models.ts:360](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L360) +[src/types/models.ts:361](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L361) ___ @@ -839,7 +839,7 @@ ___ #### Defined in -[src/types/models.ts:63](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L63) +[src/types/models.ts:64](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L64) ___ @@ -851,7 +851,7 @@ This type can allow for other provider categories as they are added #### Defined in -[src/types/models.ts:66](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L66) +[src/types/models.ts:67](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L67) ___ @@ -915,7 +915,7 @@ ___ #### Defined in -[src/types/models.ts:317](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L317) +[src/types/models.ts:318](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L318) ___ @@ -1009,7 +1009,7 @@ ___ #### Defined in -[src/types/models.ts:112](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L112) +[src/types/models.ts:113](https://github.com/seamapi/javascript/blob/main/src/types/models.ts#L113) ___ diff --git a/src/types/models.ts b/src/types/models.ts index bdeb8535..66d26f4c 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -59,6 +59,7 @@ export const PROVIDERS = [ "yale", "minut", "ttlock", + "nest", ] export type Provider = typeof PROVIDERS[number] diff --git a/tests/fixtures/plugins/get-server-plugin.ts b/tests/fixtures/plugins/get-server-plugin.ts index f2ef84fb..b092430b 100644 --- a/tests/fixtures/plugins/get-server-plugin.ts +++ b/tests/fixtures/plugins/get-server-plugin.ts @@ -58,6 +58,7 @@ export const getServer = async ( load_devices_from: ("minut" | "schlage" | "august" | "nest")[] = [ "august", "schlage", + "nest", ] ) => { const message = serverWorker.publish( diff --git a/tests/fixtures/workers/helpers/start-and-seed-server.ts b/tests/fixtures/workers/helpers/start-and-seed-server.ts index 03a02ee9..28aa108d 100644 --- a/tests/fixtures/workers/helpers/start-and-seed-server.ts +++ b/tests/fixtures/workers/helpers/start-and-seed-server.ts @@ -103,9 +103,7 @@ const startAndSeedServer = async ( const connectWebview = await axios.post("/connect_webviews/create", { // TODO: remove filter when minut is ready - accepted_providers: load_devices_from.filter( - (provider) => provider !== "minut" && provider !== "nest" - ), + accepted_providers: ["schlage", "august"], }) const devices: { @@ -119,7 +117,7 @@ const startAndSeedServer = async ( devices["schlageLock"] = await addFakeSchlageDevices(axios) } - if (load_devices_from.includes("schlage")) { + if (load_devices_from.includes("august")) { devices["augustLock"] = await addFakeAugustDevices(axios) } diff --git a/tests/routes.test.ts b/tests/routes.test.ts index 556fdeb8..549da123 100644 --- a/tests/routes.test.ts +++ b/tests/routes.test.ts @@ -93,6 +93,7 @@ test( { args: (seed) => [seed.devices.schlageLock.id1], modifiesState: true, + load_devices_from: ["schlage"], }, "{}" ) @@ -101,6 +102,7 @@ test( { args: (seed) => [seed.devices.schlageLock.id1], modifiesState: true, + load_devices_from: ["schlage"], }, "{}" ) @@ -143,6 +145,7 @@ test( }, ], modifiesState: true, + load_devices_from: ["schlage"], }, "{}" ) @@ -152,6 +155,7 @@ test( { args: (seed) => [{ device_id: seed.devices.schlageLock.id1 }], modifiesState: true, + load_devices_from: ["schlage"], }, "{}" ) @@ -187,6 +191,7 @@ test( accepted_providers: ["august"], }, ], + load_devices_from: [], modifiesState: true, }, "ConnectWebview" @@ -199,6 +204,7 @@ test( connect_webview_id: seed.connectWebviewId, }, ], + load_devices_from: [], modifiesState: true, }, "{}" @@ -222,6 +228,7 @@ test( code: "4321", }, ], + load_devices_from: ["schlage"], modifiesState: true, }, "AccessCode" @@ -235,6 +242,7 @@ test( name: "Created by Ava", }, ], + load_devices_from: ["schlage"], modifiesState: true, }, "AccessCode[]" @@ -276,6 +284,7 @@ test( ends_at: new Date(Date.now() + 1000 * 60 * 60), }, ], + load_devices_from: ["schlage"], modifiesState: true, }, "TimeBoundAccessCode" @@ -293,6 +302,7 @@ test( ends_at: new Date(Date.now() + 1000 * 60 * 60), }, ], + load_devices_from: ["august"], modifiesState: true, }, "AccessCode" @@ -302,10 +312,11 @@ test( { args: (seed) => [ { - access_code_id: seed.devices.augustLock.accessCode.access_code_id, + access_code_id: seed.devices.schlageLock.accessCode.access_code_id, name: "new name", }, ], + load_devices_from: ["schlage"], modifiesState: true, }, "AccessCode" @@ -316,10 +327,11 @@ test( { args: (seed) => [ { - access_code_id: seed.devices.augustLock.accessCode.access_code_id, + access_code_id: seed.devices.schlageLock.accessCode.access_code_id, type: "ongoing", }, ], + load_devices_from: ["schlage"], modifiesState: true, }, "OngoingAccessCode" @@ -357,10 +369,12 @@ test( connected_account_id: seed.devices.augustLock.connectedAccountId, }, ], + load_devices_from: ["august"], modifiesState: true, }, "{}" ) + // Thermostats test( testAPIMethod("thermostats.get"), @@ -370,7 +384,6 @@ test( device_id: seed.devices.nest.id1, }, ], - load_devices_from: ["nest"], }, "AnyDevice" ) @@ -382,7 +395,6 @@ test( connected_account_id: seed.devices.nest.connectedAccountId, }, ], - load_devices_from: ["nest"], }, "AnyDevice[]" ) @@ -398,6 +410,8 @@ test( }, }, ], + load_devices_from: ["nest"], + modifiesState: true, }, "{}" ) @@ -409,8 +423,8 @@ test( device_id: seed.devices.nest.id1, }, ], - modifiesState: true, load_devices_from: ["nest"], + modifiesState: true, }, "{}" ) @@ -424,7 +438,6 @@ test( device_id: seed.devices.nest.id1, }, ], - load_devices_from: ["nest"], }, "ClimateSettingSchedule" ) @@ -447,6 +460,7 @@ test( }, ], load_devices_from: ["nest"], + modifiesState: true, }, "ClimateSettingSchedule" ) @@ -461,6 +475,7 @@ test( }, ], load_devices_from: ["nest"], + modifiesState: true, }, "ClimateSettingSchedule" ) @@ -474,6 +489,7 @@ test( }, ], load_devices_from: ["nest"], + modifiesState: true, }, "{}" ) @@ -481,11 +497,11 @@ test( // Client Sessions test( testAPIMethod("clientSessions.create"), - { modifiesState: true }, + { modifiesState: true, load_devices_from: [] }, "ClientSession" ) test( testAPIMethod("clientSessions.getOrCreate"), - { modifiesState: true }, + { modifiesState: true, load_devices_from: [] }, "ClientSession" ) From 9ec40e0c924f048d5036bd131862529ca5d9b729 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Mon, 12 Jun 2023 18:15:06 -0700 Subject: [PATCH 15/17] reduce nodes --- .github/workflows/npm-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index 239b25e5..f30b8dee 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -36,8 +36,8 @@ jobs: strategy: fail-fast: false matrix: - node: [0, 1, 2] - total_nodes: [3] + node: [0, 1] + total_nodes: [2] steps: - uses: Sibz/github-status-action@v1 if: ${{ github.event.inputs.connectSha }} From 88dcc1ed34452b13d04b2af41e3a05c9f38c686d Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Tue, 13 Jun 2023 11:02:44 -0700 Subject: [PATCH 16/17] undo ci changes --- .github/workflows/npm-test.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.github/workflows/npm-test.yml b/.github/workflows/npm-test.yml index f30b8dee..e16e9151 100644 --- a/.github/workflows/npm-test.yml +++ b/.github/workflows/npm-test.yml @@ -33,11 +33,6 @@ jobs: env: SEAM_CONNECT_IMAGE: ghcr.io/seamapi/seam-connect:${{ github.event.inputs.connectSha || 'latest' }} RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} - strategy: - fail-fast: false - matrix: - node: [0, 1] - total_nodes: [2] steps: - uses: Sibz/github-status-action@v1 if: ${{ github.event.inputs.connectSha }} @@ -75,8 +70,6 @@ jobs: id: test env: SEAM_CONNECT_IMAGE: ${{ env.SEAM_CONNECT_IMAGE }} - CI_NODE_INDEX: ${{ matrix.node }} - CI_NODE_TOTAL: ${{ matrix.total_nodes }} - uses: Sibz/github-status-action@v1 if: ${{ github.event.inputs.connectSha && always() }} From 2aab22955a5edcbfca27925da9105daa229d8ae3 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Tue, 13 Jun 2023 11:05:50 -0700 Subject: [PATCH 17/17] add is_set_on_device --- docs/modules.md | 2 +- src/types/models.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/modules.md b/docs/modules.md index bd882703..70f056f2 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -461,7 +461,7 @@ ___ ### ClimateSettingSchedule -Ƭ **ClimateSettingSchedule**: [`ClimateSettingScheduleBase`](modules.md#climatesettingschedulebase) & { `climate_setting_schedule_id`: `string` ; `created_at`: `string` } +Ƭ **ClimateSettingSchedule**: [`ClimateSettingScheduleBase`](modules.md#climatesettingschedulebase) & { `climate_setting_schedule_id`: `string` ; `created_at`: `string` ; `is_set_on_device`: `boolean` } #### Defined in diff --git a/src/types/models.ts b/src/types/models.ts index 6169986d..46e56ee5 100644 --- a/src/types/models.ts +++ b/src/types/models.ts @@ -431,5 +431,6 @@ export type ClimateSettingScheduleBase = Partial & { export type ClimateSettingSchedule = ClimateSettingScheduleBase & { climate_setting_schedule_id: string + is_set_on_device: boolean created_at: string }