@seamapi/http 0.25.3 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/dist/connect.cjs +0 -8
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +6 -7
- package/lib/seam/connect/routes/access-codes-unmanaged.d.ts +1 -1
- package/lib/seam/connect/routes/access-codes-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/access-codes.d.ts +1 -1
- package/lib/seam/connect/routes/access-codes.js.map +1 -1
- package/lib/seam/connect/routes/acs-access-groups.d.ts +1 -1
- package/lib/seam/connect/routes/acs-access-groups.js.map +1 -1
- package/lib/seam/connect/routes/acs-credential-pools.d.ts +1 -1
- package/lib/seam/connect/routes/acs-credential-pools.js.map +1 -1
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.d.ts +1 -1
- package/lib/seam/connect/routes/acs-credential-provisioning-automations.js.map +1 -1
- package/lib/seam/connect/routes/acs-credentials.d.ts +1 -1
- package/lib/seam/connect/routes/acs-credentials.js.map +1 -1
- package/lib/seam/connect/routes/acs-entrances.d.ts +1 -1
- package/lib/seam/connect/routes/acs-entrances.js.map +1 -1
- package/lib/seam/connect/routes/acs-systems.d.ts +1 -1
- package/lib/seam/connect/routes/acs-systems.js.map +1 -1
- package/lib/seam/connect/routes/acs-users.d.ts +1 -1
- package/lib/seam/connect/routes/acs-users.js.map +1 -1
- package/lib/seam/connect/routes/action-attempts.d.ts +1 -1
- package/lib/seam/connect/routes/action-attempts.js.map +1 -1
- package/lib/seam/connect/routes/client-sessions.d.ts +1 -1
- package/lib/seam/connect/routes/client-sessions.js.map +1 -1
- package/lib/seam/connect/routes/connect-webviews.d.ts +2 -6
- package/lib/seam/connect/routes/connect-webviews.js +0 -8
- package/lib/seam/connect/routes/connect-webviews.js.map +1 -1
- package/lib/seam/connect/routes/connected-accounts.d.ts +1 -1
- package/lib/seam/connect/routes/connected-accounts.js.map +1 -1
- package/lib/seam/connect/routes/devices-simulate.d.ts +1 -1
- package/lib/seam/connect/routes/devices-simulate.js.map +1 -1
- package/lib/seam/connect/routes/devices-unmanaged.d.ts +1 -1
- package/lib/seam/connect/routes/devices-unmanaged.js.map +1 -1
- package/lib/seam/connect/routes/devices.d.ts +1 -1
- package/lib/seam/connect/routes/devices.js.map +1 -1
- package/lib/seam/connect/routes/events.d.ts +1 -1
- package/lib/seam/connect/routes/events.js.map +1 -1
- package/lib/seam/connect/routes/locks.d.ts +1 -1
- package/lib/seam/connect/routes/locks.js.map +1 -1
- package/lib/seam/connect/routes/networks.d.ts +1 -1
- package/lib/seam/connect/routes/networks.js.map +1 -1
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.d.ts +1 -1
- package/lib/seam/connect/routes/noise-sensors-noise-thresholds.js.map +1 -1
- package/lib/seam/connect/routes/phones-simulate.d.ts +1 -1
- package/lib/seam/connect/routes/phones-simulate.js.map +1 -1
- package/lib/seam/connect/routes/phones.d.ts +1 -1
- package/lib/seam/connect/routes/phones.js.map +1 -1
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.d.ts +1 -1
- package/lib/seam/connect/routes/thermostats-climate-setting-schedules.js.map +1 -1
- package/lib/seam/connect/routes/thermostats.d.ts +1 -1
- package/lib/seam/connect/routes/thermostats.js.map +1 -1
- package/lib/seam/connect/routes/user-identities-enrollment-automations.d.ts +1 -1
- package/lib/seam/connect/routes/user-identities-enrollment-automations.js.map +1 -1
- package/lib/seam/connect/routes/user-identities.d.ts +1 -1
- package/lib/seam/connect/routes/user-identities.js.map +1 -1
- package/lib/seam/connect/routes/webhooks.d.ts +1 -1
- package/lib/seam/connect/routes/webhooks.js.map +1 -1
- package/lib/seam/connect/routes/workspaces.d.ts +1 -1
- package/lib/seam/connect/routes/workspaces.js.map +1 -1
- package/lib/types.d.ts +3 -0
- package/lib/types.js +2 -0
- package/lib/types.js.map +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -8
- package/src/lib/seam/connect/routes/access-codes-unmanaged.ts +1 -1
- package/src/lib/seam/connect/routes/access-codes.ts +1 -1
- package/src/lib/seam/connect/routes/acs-access-groups.ts +1 -1
- package/src/lib/seam/connect/routes/acs-credential-pools.ts +1 -1
- package/src/lib/seam/connect/routes/acs-credential-provisioning-automations.ts +1 -1
- package/src/lib/seam/connect/routes/acs-credentials.ts +1 -1
- package/src/lib/seam/connect/routes/acs-entrances.ts +1 -1
- package/src/lib/seam/connect/routes/acs-systems.ts +1 -1
- package/src/lib/seam/connect/routes/acs-users.ts +1 -1
- package/src/lib/seam/connect/routes/action-attempts.ts +1 -1
- package/src/lib/seam/connect/routes/client-sessions.ts +1 -1
- package/src/lib/seam/connect/routes/connect-webviews.ts +2 -24
- package/src/lib/seam/connect/routes/connected-accounts.ts +1 -1
- package/src/lib/seam/connect/routes/devices-simulate.ts +1 -1
- package/src/lib/seam/connect/routes/devices-unmanaged.ts +1 -1
- package/src/lib/seam/connect/routes/devices.ts +1 -1
- package/src/lib/seam/connect/routes/events.ts +1 -1
- package/src/lib/seam/connect/routes/locks.ts +1 -1
- package/src/lib/seam/connect/routes/networks.ts +1 -1
- package/src/lib/seam/connect/routes/noise-sensors-noise-thresholds.ts +1 -1
- package/src/lib/seam/connect/routes/phones-simulate.ts +1 -1
- package/src/lib/seam/connect/routes/phones.ts +1 -1
- package/src/lib/seam/connect/routes/thermostats-climate-setting-schedules.ts +1 -1
- package/src/lib/seam/connect/routes/thermostats.ts +1 -1
- package/src/lib/seam/connect/routes/user-identities-enrollment-automations.ts +1 -1
- package/src/lib/seam/connect/routes/user-identities.ts +1 -1
- package/src/lib/seam/connect/routes/webhooks.ts +1 -1
- package/src/lib/seam/connect/routes/workspaces.ts +1 -1
- package/src/lib/types.ts +8 -0
- package/src/lib/version.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/http",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "JavaScript HTTP client for the Seam API written in TypeScript.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -84,15 +84,11 @@
|
|
|
84
84
|
"npm": ">= 9.0.0"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
|
-
"@seamapi/types": "^1.
|
|
88
|
-
"type-fest": "^4.0.0"
|
|
87
|
+
"@seamapi/types": "^1.157.2"
|
|
89
88
|
},
|
|
90
89
|
"peerDependenciesMeta": {
|
|
91
90
|
"@seamapi/types": {
|
|
92
91
|
"optional": true
|
|
93
|
-
},
|
|
94
|
-
"type-fest": {
|
|
95
|
-
"optional": true
|
|
96
92
|
}
|
|
97
93
|
},
|
|
98
94
|
"dependencies": {
|
|
@@ -103,13 +99,14 @@
|
|
|
103
99
|
},
|
|
104
100
|
"devDependencies": {
|
|
105
101
|
"@seamapi/fake-seam-connect": "^1.44.2",
|
|
106
|
-
"@seamapi/types": "1.
|
|
102
|
+
"@seamapi/types": "1.157.2",
|
|
107
103
|
"@types/eslint": "^8.44.2",
|
|
108
104
|
"@types/node": "^20.8.10",
|
|
109
105
|
"ava": "^5.0.1",
|
|
110
106
|
"c8": "^9.0.0",
|
|
111
107
|
"change-case": "^5.0.2",
|
|
112
108
|
"concurrently": "^8.2.1",
|
|
109
|
+
"del": "^7.1.0",
|
|
113
110
|
"del-cli": "^5.0.0",
|
|
114
111
|
"eslint": "^8.9.0",
|
|
115
112
|
"eslint-config-prettier": "^9.0.0",
|
|
@@ -125,7 +122,6 @@
|
|
|
125
122
|
"tsc-alias": "^1.8.2",
|
|
126
123
|
"tsup": "^8.0.1",
|
|
127
124
|
"tsx": "^4.6.2",
|
|
128
|
-
"type-fest": "^4.3.1",
|
|
129
125
|
"typedoc": "^0.25.2",
|
|
130
126
|
"typescript": "~5.3.0"
|
|
131
127
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpAccessCodesUnmanaged } from './access-codes-unmanaged.js'
|
|
37
37
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
export class SeamHttpClientSessions {
|
|
37
37
|
client: Client
|
|
@@ -3,12 +3,7 @@
|
|
|
3
3
|
* Do not edit this file or add other files to this directory.
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
import type {
|
|
7
|
-
RouteRequestBody,
|
|
8
|
-
RouteRequestParams,
|
|
9
|
-
RouteResponse,
|
|
10
|
-
} from '@seamapi/types/connect'
|
|
11
|
-
import type { SetNonNullable } from 'type-fest'
|
|
6
|
+
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
12
7
|
|
|
13
8
|
import {
|
|
14
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -36,6 +31,7 @@ import {
|
|
|
36
31
|
parseOptions,
|
|
37
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
38
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
39
35
|
|
|
40
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
41
37
|
|
|
@@ -199,15 +195,6 @@ export class SeamHttpConnectWebviews {
|
|
|
199
195
|
responseKey: 'connect_webviews',
|
|
200
196
|
})
|
|
201
197
|
}
|
|
202
|
-
|
|
203
|
-
view(params?: ConnectWebviewsViewParams): SeamHttpRequest<void, undefined> {
|
|
204
|
-
return new SeamHttpRequest(this, {
|
|
205
|
-
path: '/connect_webviews/view',
|
|
206
|
-
method: 'get',
|
|
207
|
-
params,
|
|
208
|
-
responseKey: undefined,
|
|
209
|
-
})
|
|
210
|
-
}
|
|
211
198
|
}
|
|
212
199
|
|
|
213
200
|
export type ConnectWebviewsCreateBody =
|
|
@@ -244,12 +231,3 @@ export type ConnectWebviewsListResponse = SetNonNullable<
|
|
|
244
231
|
>
|
|
245
232
|
|
|
246
233
|
export type ConnectWebviewsListOptions = never
|
|
247
|
-
|
|
248
|
-
export type ConnectWebviewsViewParams =
|
|
249
|
-
RouteRequestParams<'/connect_webviews/view'>
|
|
250
|
-
|
|
251
|
-
export type ConnectWebviewsViewResponse = SetNonNullable<
|
|
252
|
-
Required<RouteResponse<'/connect_webviews/view'>>
|
|
253
|
-
>
|
|
254
|
-
|
|
255
|
-
export type ConnectWebviewsViewOptions = never
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
import { SeamHttpDevicesSimulate } from './devices-simulate.js'
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
import { SeamHttpPhonesSimulate } from './phones-simulate.js'
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
import { SeamHttpThermostatsClimateSettingSchedules } from './thermostats-climate-setting-schedules.js'
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
import { SeamHttpUserIdentitiesEnrollmentAutomations } from './user-identities-enrollment-automations.js'
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
|
|
7
|
-
import type { SetNonNullable } from 'type-fest'
|
|
8
7
|
|
|
9
8
|
import {
|
|
10
9
|
getAuthHeadersForClientSessionToken,
|
|
@@ -32,6 +31,7 @@ import {
|
|
|
32
31
|
parseOptions,
|
|
33
32
|
} from 'lib/seam/connect/parse-options.js'
|
|
34
33
|
import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
|
|
34
|
+
import type { SetNonNullable } from 'lib/types.js'
|
|
35
35
|
|
|
36
36
|
import { SeamHttpClientSessions } from './client-sessions.js'
|
|
37
37
|
|
package/src/lib/types.ts
ADDED
package/src/lib/version.ts
CHANGED