From 09d99aae87b91f37325516a5327f92594c1b4a4b Mon Sep 17 00:00:00 2001 From: Tristan Brewster Date: Mon, 3 Oct 2022 08:42:35 -0600 Subject: [PATCH] fix: Type error and rebuild docs Some issue with the latest PR :/ --- docs/classes/Seam.md | 18 +++++++-------- .../interfaces/AccessCodeCreateBaseRequest.md | 6 ++--- .../AccessCodeCreateOngoingRequest.md | 6 ++--- .../AccessCodeCreateScheduledRequest.md | 10 ++++---- .../interfaces/AccessCodeUpdateBaseRequest.md | 4 ++-- .../ConnectedAccountsDeleteRequest.md | 4 ++-- docs/interfaces/DevicesListRequest.md | 6 ++--- docs/interfaces/EventsListRequest.md | 10 ++++---- docs/modules.md | 23 ++++++++++--------- src/types/route-requests.ts | 4 ++++ 10 files changed, 48 insertions(+), 43 deletions(-) diff --git a/docs/classes/Seam.md b/docs/classes/Seam.md index aa0dca37..734268a7 100644 --- a/docs/classes/Seam.md +++ b/docs/classes/Seam.md @@ -73,7 +73,7 @@ Routes.accessCodes #### Defined in -[src/routes.ts:229](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L229) +[src/routes.ts:230](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L230) ___ @@ -93,7 +93,7 @@ Routes.actionAttempts #### Defined in -[src/routes.ts:295](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L295) +[src/routes.ts:302](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L302) ___ @@ -126,7 +126,7 @@ Routes.connectWebviews #### Defined in -[src/routes.ts:197](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L197) +[src/routes.ts:198](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L198) ___ @@ -148,7 +148,7 @@ Routes.connectedAccounts #### Defined in -[src/routes.ts:276](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L276) +[src/routes.ts:277](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L277) ___ @@ -171,7 +171,7 @@ Routes.devices #### Defined in -[src/routes.ts:160](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L160) +[src/routes.ts:161](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L161) ___ @@ -191,7 +191,7 @@ Routes.events #### Defined in -[src/routes.ts:185](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L185) +[src/routes.ts:186](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L186) ___ @@ -214,7 +214,7 @@ Routes.locks #### Defined in -[src/routes.ts:125](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L125) +[src/routes.ts:126](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L126) ___ @@ -237,7 +237,7 @@ Routes.webhooks #### Defined in -[src/routes.ts:305](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L305) +[src/routes.ts:312](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L312) ___ @@ -259,7 +259,7 @@ Routes.workspaces #### Defined in -[src/routes.ts:109](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L109) +[src/routes.ts:110](https://github.com/seamapi/javascript/blob/main/src/routes.ts#L110) ## Methods diff --git a/docs/interfaces/AccessCodeCreateBaseRequest.md b/docs/interfaces/AccessCodeCreateBaseRequest.md index 1189ad87..8b685fd8 100644 --- a/docs/interfaces/AccessCodeCreateBaseRequest.md +++ b/docs/interfaces/AccessCodeCreateBaseRequest.md @@ -26,7 +26,7 @@ #### Defined in -[src/types/route-requests.ts:28](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L28) +[src/types/route-requests.ts:32](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L32) ___ @@ -36,7 +36,7 @@ ___ #### Defined in -[src/types/route-requests.ts:26](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L26) +[src/types/route-requests.ts:30](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L30) ___ @@ -46,4 +46,4 @@ ___ #### Defined in -[src/types/route-requests.ts:27](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L27) +[src/types/route-requests.ts:31](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L31) diff --git a/docs/interfaces/AccessCodeCreateOngoingRequest.md b/docs/interfaces/AccessCodeCreateOngoingRequest.md index b94f453f..53c8b026 100644 --- a/docs/interfaces/AccessCodeCreateOngoingRequest.md +++ b/docs/interfaces/AccessCodeCreateOngoingRequest.md @@ -28,7 +28,7 @@ #### Defined in -[src/types/route-requests.ts:28](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L28) +[src/types/route-requests.ts:32](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L32) ___ @@ -42,7 +42,7 @@ ___ #### Defined in -[src/types/route-requests.ts:26](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L26) +[src/types/route-requests.ts:30](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L30) ___ @@ -56,4 +56,4 @@ ___ #### Defined in -[src/types/route-requests.ts:27](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L27) +[src/types/route-requests.ts:31](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L31) diff --git a/docs/interfaces/AccessCodeCreateScheduledRequest.md b/docs/interfaces/AccessCodeCreateScheduledRequest.md index ac34d028..d3b7dce1 100644 --- a/docs/interfaces/AccessCodeCreateScheduledRequest.md +++ b/docs/interfaces/AccessCodeCreateScheduledRequest.md @@ -30,7 +30,7 @@ #### Defined in -[src/types/route-requests.ts:28](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L28) +[src/types/route-requests.ts:32](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L32) ___ @@ -44,7 +44,7 @@ ___ #### Defined in -[src/types/route-requests.ts:26](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L26) +[src/types/route-requests.ts:30](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L30) ___ @@ -54,7 +54,7 @@ ___ #### Defined in -[src/types/route-requests.ts:37](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L37) +[src/types/route-requests.ts:41](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L41) ___ @@ -68,7 +68,7 @@ ___ #### Defined in -[src/types/route-requests.ts:27](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L27) +[src/types/route-requests.ts:31](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L31) ___ @@ -78,4 +78,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:40](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L40) diff --git a/docs/interfaces/AccessCodeUpdateBaseRequest.md b/docs/interfaces/AccessCodeUpdateBaseRequest.md index 15e2c5bb..47ef5149 100644 --- a/docs/interfaces/AccessCodeUpdateBaseRequest.md +++ b/docs/interfaces/AccessCodeUpdateBaseRequest.md @@ -17,7 +17,7 @@ #### Defined in -[src/types/route-requests.ts:46](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L46) +[src/types/route-requests.ts:50](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L50) ___ @@ -27,4 +27,4 @@ ___ #### Defined in -[src/types/route-requests.ts:45](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L45) +[src/types/route-requests.ts:49](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L49) diff --git a/docs/interfaces/ConnectedAccountsDeleteRequest.md b/docs/interfaces/ConnectedAccountsDeleteRequest.md index 06c845fc..0cc16c0e 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:9](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L9) +[src/types/route-requests.ts:13](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L13) ___ @@ -41,4 +41,4 @@ ConnectedAccountBaseRequest.email #### 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:14](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L14) diff --git a/docs/interfaces/DevicesListRequest.md b/docs/interfaces/DevicesListRequest.md index 3fea3627..fd878560 100644 --- a/docs/interfaces/DevicesListRequest.md +++ b/docs/interfaces/DevicesListRequest.md @@ -18,7 +18,7 @@ #### Defined in -[src/types/route-requests.ts:21](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L21) +[src/types/route-requests.ts:25](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L25) ___ @@ -28,7 +28,7 @@ ___ #### Defined in -[src/types/route-requests.ts:20](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L20) +[src/types/route-requests.ts:24](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L24) ___ @@ -38,4 +38,4 @@ ___ #### Defined in -[src/types/route-requests.ts:22](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L22) +[src/types/route-requests.ts:26](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L26) diff --git a/docs/interfaces/EventsListRequest.md b/docs/interfaces/EventsListRequest.md index 8d25cfe0..e910b063 100644 --- a/docs/interfaces/EventsListRequest.md +++ b/docs/interfaces/EventsListRequest.md @@ -20,7 +20,7 @@ #### Defined in -[src/types/route-requests.ts:104](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L104) +[src/types/route-requests.ts:108](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L108) ___ @@ -30,7 +30,7 @@ ___ #### Defined in -[src/types/route-requests.ts:103](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L103) +[src/types/route-requests.ts:107](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L107) ___ @@ -40,7 +40,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:110](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L110) ___ @@ -50,7 +50,7 @@ ___ #### Defined in -[src/types/route-requests.ts:105](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L105) +[src/types/route-requests.ts:109](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L109) ___ @@ -60,4 +60,4 @@ ___ #### Defined in -[src/types/route-requests.ts:102](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L102) +[src/types/route-requests.ts:106](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L106) diff --git a/docs/modules.md b/docs/modules.md index cf9514ad..40a2b11d 100644 --- a/docs/modules.md +++ b/docs/modules.md @@ -141,7 +141,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:44](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L44) ___ @@ -158,7 +158,7 @@ ___ #### Defined in -[src/types/route-requests.ts:63](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L63) +[src/types/route-requests.ts:67](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L67) ___ @@ -176,7 +176,7 @@ ___ #### Defined in -[src/types/route-requests.ts:68](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L68) +[src/types/route-requests.ts:72](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L72) ___ @@ -186,7 +186,7 @@ ___ #### Defined in -[src/types/route-requests.ts:49](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L49) +[src/types/route-requests.ts:53](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L53) ___ @@ -196,7 +196,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:63](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L63) ___ @@ -206,7 +206,7 @@ ___ #### Defined in -[src/types/route-requests.ts:54](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L54) +[src/types/route-requests.ts:58](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L58) ___ @@ -275,7 +275,7 @@ ___ #### Defined in -[src/types/route-requests.ts:89](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L89) +[src/types/route-requests.ts:93](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L93) ___ @@ -285,7 +285,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:78](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L78) ___ @@ -314,7 +314,8 @@ ___ #### Defined in -[src/types/route-requests.ts:82](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L82) +[src/types/route-requests.ts:86](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L86) + ___ ### Event @@ -395,7 +396,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:101](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L101) ___ @@ -411,7 +412,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:97](https://github.com/seamapi/javascript/blob/main/src/types/route-requests.ts#L97) ## Functions diff --git a/src/types/route-requests.ts b/src/types/route-requests.ts index 940340f9..f2043bb8 100644 --- a/src/types/route-requests.ts +++ b/src/types/route-requests.ts @@ -5,6 +5,10 @@ export interface ConnectWebviewCreateRequest { accepted_providers: Provider[] } +export interface ConnectWebviewDeleteRequest { + connect_webview_id: string +} + interface ConnectedAccountBaseRequest { connected_account_id?: string email?: string