Skip to content
This repository was archived by the owner on Nov 15, 2024. It is now read-only.

Commit 2a2923a

Browse files
chore(release): 4.18.3 [skip ci]
## [4.18.3](seamapi/javascript@v4.18.2...v4.18.3) (2022-12-08) ### Bug Fixes * update route types ([d2781d0](seamapi/javascript@d2781d0))
1 parent 3f5c5dd commit 2a2923a

File tree

4 files changed

+79
-57
lines changed

4 files changed

+79
-57
lines changed

docs/classes/SeamOS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ ___
7878

7979
| Name | Type |
8080
| :------ | :------ |
81-
| `create` | (`data`: `undefined` \| [`RouteRequestBody`](../modules/SeamOSRouteTypes.md#routerequestbody)<``"/access_passes/create"``\>) => `Promise`<{ `access_methods`: ({ `access_method`: ``"remote_unlock"`` ; `device_id`: `string` } \| { `access_method`: ``"access_code"`` ; `code`: `string` ; `device_id`: `string` })[] ; `access_pass_id`: `string` }\> |
81+
| `create` | (`data`: `undefined` \| [`RouteRequestBody`](../modules/SeamOSRouteTypes.md#routerequestbody)<``"/access_passes/create"``\>) => `Promise`<{ `access_methods`: ({ `access_method`: ``"remote_unlock"`` ; `device_id`: `string` } \| { `access_method`: ``"access_code"`` ; `code`: `string` ; `device_id`: `string` })[] ; `access_pass_id`: `string` ; `access_pass_name`: `string` ; `created_at`: `string` \| `Date` ; `does_not_end`: `boolean` ; `ends_at`: ``null`` \| `string` \| `Date` ; `last_used_at`: ``null`` \| `string` \| `Date` ; `organization_id`: `string` ; `starts_at`: `string` \| `Date` ; `url`: `string` }\> |
8282
| `delete` | (`data`: `undefined` \| { `access_pass_id`: `string` }) => `Promise`<{}\> |
83-
| `get` | (`data`: `undefined` \| { `access_pass_id`: `string` }) => `Promise`<{ `access_methods`: ({ `access_method`: ``"remote_unlock"`` ; `device_id`: `string` } \| { `access_method`: ``"access_code"`` ; `code`: `string` ; `device_id`: `string` })[] ; `access_pass_id`: `string` }\> |
84-
| `list` | (`data`: `undefined` \| { `building_id?`: `string` ; `user_id?`: `string` }) => `Promise`<{ `access_methods`: ({ `access_method`: ``"remote_unlock"`` ; `device_id`: `string` } \| { `access_method`: ``"access_code"`` ; `code`: `string` ; `device_id`: `string` })[] ; `access_pass_id`: `string` }[]\> |
83+
| `get` | (`data`: `undefined` \| { `access_pass_id`: `string` }) => `Promise`<{ `access_methods`: ({ `access_method`: ``"remote_unlock"`` ; `device_id`: `string` } \| { `access_method`: ``"access_code"`` ; `code`: `string` ; `device_id`: `string` })[] ; `access_pass_id`: `string` ; `access_pass_name`: `string` ; `created_at`: `string` \| `Date` ; `does_not_end`: `boolean` ; `ends_at`: ``null`` \| `string` \| `Date` ; `last_used_at`: ``null`` \| `string` \| `Date` ; `organization_id`: `string` ; `starts_at`: `string` \| `Date` ; `url`: `string` }\> |
84+
| `list` | (`data`: `undefined` \| { `building_id?`: `string` ; `user_id?`: `string` }) => `Promise`<{ `access_methods`: ({ `access_method`: ``"remote_unlock"`` ; `device_id`: `string` } \| { `access_method`: ``"access_code"`` ; `code`: `string` ; `device_id`: `string` })[] ; `access_pass_id`: `string` ; `access_pass_name`: `string` ; `created_at`: `string` \| `Date` ; `does_not_end`: `boolean` ; `ends_at`: ``null`` \| `string` \| `Date` ; `last_used_at`: ``null`` \| `string` \| `Date` ; `organization_id`: `string` ; `starts_at`: `string` \| `Date` ; `url`: `string` }[]\> |
8585
| `update` | (`data`: `undefined` \| { `device_group_id?`: `string` ; `device_id?`: `string`[] ; `device_ids?`: `string`[] ; `ends_at?`: `string` \| `Date` ; `name`: `string` ; `starts_at?`: `string` \| `Date` }) => `Promise`<{}\> |
8686

8787
#### Defined in
@@ -110,11 +110,11 @@ ___
110110
| :------ | :------ |
111111
| `add_device` | (`data`: `undefined` \| { `building_id`: `string` ; `device_id`: `string` }) => `Promise`<{}\> |
112112
| `add_user` | (`data`: `undefined` \| [`RouteRequestBody`](../modules/SeamOSRouteTypes.md#routerequestbody)<``"/buildings/add_user"``\>) => `Promise`<{}\> |
113-
| `create` | (`data`: `undefined` \| { `location?`: { [x: string]: `any`; } ; `name`: `string` ; `owner_id`: `string` }) => `Promise`<{ `building_id`: `string` ; `created_at`: `string` \| `Date` ; `location?`: `any` ; `name`: `string` ; `organization_id`: `string` }\> |
113+
| `create` | (`data`: `undefined` \| { `location?`: { [x: string]: `any`; } ; `name`: `string` ; `owner_id`: `string` ; `timezone`: `string` }) => `Promise`<{ `building_id`: `string` ; `created_at`: `string` \| `Date` ; `location?`: `any` ; `name`: `string` ; `organization_id`: `string` ; `owner_id`: `string` ; `timezone`: `string` }\> |
114114
| `delete` | (`data`: `undefined` \| { `building_id`: `string` }) => `Promise`<{}\> |
115-
| `get` | (`data`: `undefined` \| { `building_id`: `string` }) => `Promise`<{ `building_id`: `string` ; `created_at`: `string` \| `Date` ; `location?`: `any` ; `name`: `string` ; `organization_id`: `string` }\> |
116-
| `list` | (`data`: `undefined` \| {}) => `Promise`<{ `building_id`: `string` ; `created_at`: `string` \| `Date` ; `location?`: `any` ; `name`: `string` ; `organization_id`: `string` }[]\> |
117-
| `update` | (`data`: `undefined` \| { `building_id`: `string` ; `name?`: `string` ; `owner_id?`: `string` }) => `Promise`<{}\> |
115+
| `get` | (`data`: `undefined` \| { `building_id`: `string` }) => `Promise`<{ `building_id`: `string` ; `created_at`: `string` \| `Date` ; `location?`: `any` ; `name`: `string` ; `organization_id`: `string` ; `owner_id`: `string` ; `timezone`: `string` }\> |
116+
| `list` | (`data`: `undefined` \| {}) => `Promise`<{ `building_id`: `string` ; `created_at`: `string` \| `Date` ; `location?`: `any` ; `name`: `string` ; `organization_id`: `string` ; `owner_id`: `string` ; `timezone`: `string` }[]\> |
117+
| `update` | (`data`: `undefined` \| { `building_id`: `string` ; `name?`: `string` ; `owner_id?`: `string` ; `timezone?`: `string` }) => `Promise`<{}\> |
118118

119119
#### Defined in
120120

0 commit comments

Comments
 (0)