@seamapi/http 1.73.0 → 1.75.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/dist/connect.cjs +478 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +169 -3
- package/dist/index.cjs +486 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/lib/seam/connect/routes/access-grants/access-grants.d.ts +2 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js +4 -0
- package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/index.d.ts +1 -0
- package/lib/seam/connect/routes/access-grants/index.js +1 -0
- package/lib/seam/connect/routes/access-grants/index.js.map +1 -1
- package/lib/seam/connect/routes/access-grants/unmanaged/index.d.ts +1 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/index.js +6 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/index.js.map +1 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +47 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +107 -0
- package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -0
- package/lib/seam/connect/routes/access-methods/access-methods.d.ts +2 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js +4 -0
- package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/index.d.ts +1 -0
- package/lib/seam/connect/routes/access-methods/index.js +1 -0
- package/lib/seam/connect/routes/access-methods/index.js.map +1 -1
- package/lib/seam/connect/routes/access-methods/unmanaged/index.d.ts +1 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/index.js +6 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/index.js.map +1 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +47 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +107 -0
- package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
- package/lib/seam/connect/routes/seam/customer/v1/spaces/index.d.ts +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/index.js +6 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/index.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.d.ts +34 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js +98 -0
- package/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.js.map +1 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +2 -0
- package/lib/seam/connect/routes/seam/customer/v1/v1.js +4 -3
- package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
- package/lib/seam/connect/routes/seam-http-endpoints.d.ts +13 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +53 -0
- package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/index.d.ts +1 -0
- package/lib/seam/connect/routes/user-identities/index.js +1 -0
- package/lib/seam/connect/routes/user-identities/index.js.map +1 -1
- package/lib/seam/connect/routes/user-identities/unmanaged/index.d.ts +1 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/index.js +6 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/index.js.map +1 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +47 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +107 -0
- package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -0
- package/lib/seam/connect/routes/user-identities/user-identities.d.ts +2 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js +4 -0
- package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/seam/connect/routes/access-grants/access-grants.ts +6 -0
- package/src/lib/seam/connect/routes/access-grants/index.ts +1 -0
- package/src/lib/seam/connect/routes/access-grants/unmanaged/index.ts +6 -0
- package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +236 -0
- package/src/lib/seam/connect/routes/access-methods/access-methods.ts +6 -0
- package/src/lib/seam/connect/routes/access-methods/index.ts +1 -0
- package/src/lib/seam/connect/routes/access-methods/unmanaged/index.ts +6 -0
- package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +237 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +1 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/spaces/index.ts +6 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts +201 -0
- package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +5 -5
- package/src/lib/seam/connect/routes/seam-http-endpoints.ts +131 -0
- package/src/lib/seam/connect/routes/user-identities/index.ts +1 -0
- package/src/lib/seam/connect/routes/user-identities/unmanaged/index.ts +6 -0
- package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +240 -0
- package/src/lib/seam/connect/routes/user-identities/user-identities.ts +8 -0
- package/src/lib/version.ts +1 -1
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Automatically generated by codegen/smith.ts.
|
|
3
|
+
* Do not edit this file or add other files to this directory.
|
|
4
|
+
*/
|
|
5
|
+
import { seamApiLtsVersion } from '../../../../../../lib/lts-version.js';
|
|
6
|
+
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../lib/seam/connect/auth.js';
|
|
7
|
+
import { createClient } from '../../../../../../lib/seam/connect/client.js';
|
|
8
|
+
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../lib/seam/connect/options.js';
|
|
9
|
+
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../lib/seam/connect/parse-options.js';
|
|
10
|
+
import { SeamHttpClientSessions } from '../../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
|
+
import { SeamHttpRequest } from '../../../../../../lib/seam/connect/seam-http-request.js';
|
|
12
|
+
import { SeamPaginator } from '../../../../../../lib/seam/connect/seam-paginator.js';
|
|
13
|
+
export class SeamHttpAccessMethodsUnmanaged {
|
|
14
|
+
client;
|
|
15
|
+
defaults;
|
|
16
|
+
ltsVersion = seamApiLtsVersion;
|
|
17
|
+
static ltsVersion = seamApiLtsVersion;
|
|
18
|
+
constructor(apiKeyOrOptions = {}) {
|
|
19
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
+
this.client = 'client' in options ? options.client : createClient(options);
|
|
21
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
22
|
+
}
|
|
23
|
+
static fromClient(client, options = {}) {
|
|
24
|
+
const constructorOptions = { ...options, client };
|
|
25
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
|
+
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
|
+
}
|
|
28
|
+
return new SeamHttpAccessMethodsUnmanaged(constructorOptions);
|
|
29
|
+
}
|
|
30
|
+
static fromApiKey(apiKey, options = {}) {
|
|
31
|
+
const constructorOptions = { ...options, apiKey };
|
|
32
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
|
+
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
|
+
}
|
|
35
|
+
return new SeamHttpAccessMethodsUnmanaged(constructorOptions);
|
|
36
|
+
}
|
|
37
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
39
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
|
+
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
|
+
}
|
|
42
|
+
return new SeamHttpAccessMethodsUnmanaged(constructorOptions);
|
|
43
|
+
}
|
|
44
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
+
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpAccessMethodsUnmanaged.fromPublishableKey');
|
|
49
|
+
}
|
|
50
|
+
const client = createClient(clientOptions);
|
|
51
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
|
+
const { token } = await clientSessions.getOrCreate({
|
|
53
|
+
user_identifier_key: userIdentifierKey,
|
|
54
|
+
});
|
|
55
|
+
return SeamHttpAccessMethodsUnmanaged.fromClientSessionToken(token, options);
|
|
56
|
+
}
|
|
57
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
|
+
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
|
+
}
|
|
62
|
+
return new SeamHttpAccessMethodsUnmanaged(constructorOptions);
|
|
63
|
+
}
|
|
64
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
|
+
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
|
+
}
|
|
69
|
+
return new SeamHttpAccessMethodsUnmanaged(constructorOptions);
|
|
70
|
+
}
|
|
71
|
+
createPaginator(request) {
|
|
72
|
+
return new SeamPaginator(this, request);
|
|
73
|
+
}
|
|
74
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
75
|
+
const { headers } = this.client.defaults;
|
|
76
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
77
|
+
clientSessionToken,
|
|
78
|
+
});
|
|
79
|
+
for (const key of Object.keys(authHeaders)) {
|
|
80
|
+
if (headers[key] == null) {
|
|
81
|
+
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
85
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
|
+
await clientSessions.get();
|
|
87
|
+
}
|
|
88
|
+
get(parameters, options = {}) {
|
|
89
|
+
return new SeamHttpRequest(this, {
|
|
90
|
+
pathname: '/access_methods/unmanaged/get',
|
|
91
|
+
method: 'POST',
|
|
92
|
+
body: parameters,
|
|
93
|
+
responseKey: 'access_method',
|
|
94
|
+
options,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
list(parameters, options = {}) {
|
|
98
|
+
return new SeamHttpRequest(this, {
|
|
99
|
+
pathname: '/access_methods/unmanaged/list',
|
|
100
|
+
method: 'POST',
|
|
101
|
+
body: parameters,
|
|
102
|
+
responseKey: 'access_methods',
|
|
103
|
+
options,
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=unmanaged.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"unmanaged.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe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CAAA;QAC7D,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrE,MAAM,cAAc,CAAC,GAAG,EAAE,CAAA;IAC5B,CAAC;IAED,GAAG,CACD,UAAgD,EAChD,UAA4C,EAAE;QAE9C,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,+BAA+B;YACzC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,eAAe;YAC5B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,CACF,UAAiD,EACjD,UAA6C,EAAE;QAE/C,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,gCAAgC;YAC1C,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gBAAgB;YAC7B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,SAAS,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './spaces.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/spaces/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,aAAa,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect';
|
|
2
|
+
import { type Client } from '../../../../../../../../lib/seam/connect/client.js';
|
|
3
|
+
import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../../../lib/seam/connect/options.js';
|
|
4
|
+
import { SeamHttpRequest } from '../../../../../../../../lib/seam/connect/seam-http-request.js';
|
|
5
|
+
import { SeamPaginator } from '../../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
6
|
+
import type { SetNonNullable } from '../../../../../../../../lib/types.js';
|
|
7
|
+
export declare class SeamHttpSeamCustomerV1Spaces {
|
|
8
|
+
client: Client;
|
|
9
|
+
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
10
|
+
readonly ltsVersion = "1.0.0";
|
|
11
|
+
static ltsVersion: string;
|
|
12
|
+
constructor(apiKeyOrOptions?: string | SeamHttpOptions);
|
|
13
|
+
static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit<SeamHttpOptionsWithClient, 'client'>): SeamHttpSeamCustomerV1Spaces;
|
|
14
|
+
static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1Spaces;
|
|
15
|
+
static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1Spaces;
|
|
16
|
+
static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1Spaces>;
|
|
17
|
+
static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Spaces;
|
|
18
|
+
static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Spaces;
|
|
19
|
+
createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
|
|
20
|
+
updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
|
|
21
|
+
create(parameters?: SeamCustomerV1SpacesCreateParameters, options?: SeamCustomerV1SpacesCreateOptions): SeamCustomerV1SpacesCreateRequest;
|
|
22
|
+
}
|
|
23
|
+
export type SeamCustomerV1SpacesCreateParameters = RouteRequestBody<'/seam/customer/v1/spaces/create'>;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Use SeamCustomerV1SpacesCreateParameters instead.
|
|
26
|
+
*/
|
|
27
|
+
export type SeamCustomerV1SpacesCreateBody = SeamCustomerV1SpacesCreateParameters;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Use SeamCustomerV1SpacesCreateRequest instead.
|
|
30
|
+
*/
|
|
31
|
+
export type SeamCustomerV1SpacesCreateResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/spaces/create'>>>;
|
|
32
|
+
export type SeamCustomerV1SpacesCreateRequest = SeamHttpRequest<SeamCustomerV1SpacesCreateResponse, 'space'>;
|
|
33
|
+
export interface SeamCustomerV1SpacesCreateOptions {
|
|
34
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Automatically generated by codegen/smith.ts.
|
|
3
|
+
* Do not edit this file or add other files to this directory.
|
|
4
|
+
*/
|
|
5
|
+
import { seamApiLtsVersion } from '../../../../../../../../lib/lts-version.js';
|
|
6
|
+
import { getAuthHeadersForClientSessionToken, warnOnInsecureuserIdentifierKey, } from '../../../../../../../../lib/seam/connect/auth.js';
|
|
7
|
+
import { createClient } from '../../../../../../../../lib/seam/connect/client.js';
|
|
8
|
+
import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOptionsWithClientSessionToken, isSeamHttpOptionsWithConsoleSessionToken, isSeamHttpOptionsWithPersonalAccessToken, SeamHttpInvalidOptionsError, } from '../../../../../../../../lib/seam/connect/options.js';
|
|
9
|
+
import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../../../lib/seam/connect/parse-options.js';
|
|
10
|
+
import { SeamHttpClientSessions } from '../../../../../../../../lib/seam/connect/routes/client-sessions/index.js';
|
|
11
|
+
import { SeamHttpRequest } from '../../../../../../../../lib/seam/connect/seam-http-request.js';
|
|
12
|
+
import { SeamPaginator } from '../../../../../../../../lib/seam/connect/seam-paginator.js';
|
|
13
|
+
export class SeamHttpSeamCustomerV1Spaces {
|
|
14
|
+
client;
|
|
15
|
+
defaults;
|
|
16
|
+
ltsVersion = seamApiLtsVersion;
|
|
17
|
+
static ltsVersion = seamApiLtsVersion;
|
|
18
|
+
constructor(apiKeyOrOptions = {}) {
|
|
19
|
+
const options = parseOptions(apiKeyOrOptions);
|
|
20
|
+
this.client = 'client' in options ? options.client : createClient(options);
|
|
21
|
+
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
22
|
+
}
|
|
23
|
+
static fromClient(client, options = {}) {
|
|
24
|
+
const constructorOptions = { ...options, client };
|
|
25
|
+
if (!isSeamHttpOptionsWithClient(constructorOptions)) {
|
|
26
|
+
throw new SeamHttpInvalidOptionsError('Missing client');
|
|
27
|
+
}
|
|
28
|
+
return new SeamHttpSeamCustomerV1Spaces(constructorOptions);
|
|
29
|
+
}
|
|
30
|
+
static fromApiKey(apiKey, options = {}) {
|
|
31
|
+
const constructorOptions = { ...options, apiKey };
|
|
32
|
+
if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
|
|
33
|
+
throw new SeamHttpInvalidOptionsError('Missing apiKey');
|
|
34
|
+
}
|
|
35
|
+
return new SeamHttpSeamCustomerV1Spaces(constructorOptions);
|
|
36
|
+
}
|
|
37
|
+
static fromClientSessionToken(clientSessionToken, options = {}) {
|
|
38
|
+
const constructorOptions = { ...options, clientSessionToken };
|
|
39
|
+
if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
|
|
40
|
+
throw new SeamHttpInvalidOptionsError('Missing clientSessionToken');
|
|
41
|
+
}
|
|
42
|
+
return new SeamHttpSeamCustomerV1Spaces(constructorOptions);
|
|
43
|
+
}
|
|
44
|
+
static async fromPublishableKey(publishableKey, userIdentifierKey, options = {}) {
|
|
45
|
+
warnOnInsecureuserIdentifierKey(userIdentifierKey);
|
|
46
|
+
const clientOptions = parseOptions({ ...options, publishableKey });
|
|
47
|
+
if (isSeamHttpOptionsWithClient(clientOptions)) {
|
|
48
|
+
throw new SeamHttpInvalidOptionsError('The client option cannot be used with SeamHttpSeamCustomerV1Spaces.fromPublishableKey');
|
|
49
|
+
}
|
|
50
|
+
const client = createClient(clientOptions);
|
|
51
|
+
const clientSessions = SeamHttpClientSessions.fromClient(client);
|
|
52
|
+
const { token } = await clientSessions.getOrCreate({
|
|
53
|
+
user_identifier_key: userIdentifierKey,
|
|
54
|
+
});
|
|
55
|
+
return SeamHttpSeamCustomerV1Spaces.fromClientSessionToken(token, options);
|
|
56
|
+
}
|
|
57
|
+
static fromConsoleSessionToken(consoleSessionToken, workspaceId, options = {}) {
|
|
58
|
+
const constructorOptions = { ...options, consoleSessionToken, workspaceId };
|
|
59
|
+
if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
|
|
60
|
+
throw new SeamHttpInvalidOptionsError('Missing consoleSessionToken or workspaceId');
|
|
61
|
+
}
|
|
62
|
+
return new SeamHttpSeamCustomerV1Spaces(constructorOptions);
|
|
63
|
+
}
|
|
64
|
+
static fromPersonalAccessToken(personalAccessToken, workspaceId, options = {}) {
|
|
65
|
+
const constructorOptions = { ...options, personalAccessToken, workspaceId };
|
|
66
|
+
if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
|
|
67
|
+
throw new SeamHttpInvalidOptionsError('Missing personalAccessToken or workspaceId');
|
|
68
|
+
}
|
|
69
|
+
return new SeamHttpSeamCustomerV1Spaces(constructorOptions);
|
|
70
|
+
}
|
|
71
|
+
createPaginator(request) {
|
|
72
|
+
return new SeamPaginator(this, request);
|
|
73
|
+
}
|
|
74
|
+
async updateClientSessionToken(clientSessionToken) {
|
|
75
|
+
const { headers } = this.client.defaults;
|
|
76
|
+
const authHeaders = getAuthHeadersForClientSessionToken({
|
|
77
|
+
clientSessionToken,
|
|
78
|
+
});
|
|
79
|
+
for (const key of Object.keys(authHeaders)) {
|
|
80
|
+
if (headers[key] == null) {
|
|
81
|
+
throw new Error('Cannot update a clientSessionToken on a client created without a clientSessionToken');
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
this.client.defaults.headers = { ...headers, ...authHeaders };
|
|
85
|
+
const clientSessions = SeamHttpClientSessions.fromClient(this.client);
|
|
86
|
+
await clientSessions.get();
|
|
87
|
+
}
|
|
88
|
+
create(parameters, options = {}) {
|
|
89
|
+
return new SeamHttpRequest(this, {
|
|
90
|
+
pathname: '/seam/customer/v1/spaces/create',
|
|
91
|
+
method: 'POST',
|
|
92
|
+
body: parameters,
|
|
93
|
+
responseKey: 'space',
|
|
94
|
+
options,
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=spaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spaces.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/spaces/spaces.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AACzF,OAAO,EAAE,eAAe,EAAE,MAAM,uCAAuC,CAAA;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGlE,MAAM,OAAO,4BAA4B;IACvC,MAAM,CAAQ;IACL,QAAQ,CAAkC;IAC1C,UAAU,GAAG,iBAAiB,CAAA;IACvC,MAAM,CAAC,UAAU,GAAG,iBAAiB,CAAA;IAErC,YAAY,kBAA4C,EAAE;QACxD,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,MAAM,GAAG,QAAQ,IAAI,OAAO,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,YAAY,CAAC,OAAO,CAAC,CAAA;QAC1E,IAAI,CAAC,QAAQ,GAAG,6BAA6B,CAAC,OAAO,CAAC,CA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,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAA;QACxC,MAAM,WAAW,GAAG,mCAAmC,CAAC;YACtD,kBAAkB;SACnB,CAAC,CAAA;QACF,KAAK,MAAM,GAAG,IAAI,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YAC3C,IAAI,OAAO,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC;gBACzB,MAAM,IAAI,KAAK,CACb,qFAAqF,CACtF,CAAA;YACH,CAAC;QACH,CAAC;QACD,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,GAAG,EAAE,GAAG,OAAO,EAAE,GAAG,WAAW,EAAE,CAAA;QAC7D,MAAM,cAAc,GAAG,sBAAsB,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,CAAA;QACrE,MAAM,cAAc,CAAC,GAAG,EAAE,CAAA;IAC5B,CAAC;IAED,MAAM,CACJ,UAAiD,EACjD,UAA6C,EAAE;QAE/C,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,iCAAiC;YAC3C,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,OAAO;YACpB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC"}
|
|
@@ -8,6 +8,7 @@ import { SeamHttpSeamCustomerV1Events } from './events/index.js';
|
|
|
8
8
|
import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
|
|
9
9
|
import { SeamHttpSeamCustomerV1Reservations } from './reservations/index.js';
|
|
10
10
|
import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
|
|
11
|
+
import { SeamHttpSeamCustomerV1Spaces } from './spaces/index.js';
|
|
11
12
|
export declare class SeamHttpSeamCustomerV1 {
|
|
12
13
|
client: Client;
|
|
13
14
|
readonly defaults: Required<SeamHttpRequestOptions>;
|
|
@@ -28,4 +29,5 @@ export declare class SeamHttpSeamCustomerV1 {
|
|
|
28
29
|
get portals(): SeamHttpSeamCustomerV1Portals;
|
|
29
30
|
get reservations(): SeamHttpSeamCustomerV1Reservations;
|
|
30
31
|
get settings(): SeamHttpSeamCustomerV1Settings;
|
|
32
|
+
get spaces(): SeamHttpSeamCustomerV1Spaces;
|
|
31
33
|
}
|
|
@@ -15,6 +15,7 @@ import { SeamHttpSeamCustomerV1Events } from './events/index.js';
|
|
|
15
15
|
import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
|
|
16
16
|
import { SeamHttpSeamCustomerV1Reservations } from './reservations/index.js';
|
|
17
17
|
import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
|
|
18
|
+
import { SeamHttpSeamCustomerV1Spaces } from './spaces/index.js';
|
|
18
19
|
export class SeamHttpSeamCustomerV1 {
|
|
19
20
|
client;
|
|
20
21
|
defaults;
|
|
@@ -22,9 +23,6 @@ export class SeamHttpSeamCustomerV1 {
|
|
|
22
23
|
static ltsVersion = seamApiLtsVersion;
|
|
23
24
|
constructor(apiKeyOrOptions = {}) {
|
|
24
25
|
const options = parseOptions(apiKeyOrOptions);
|
|
25
|
-
if (!options.isUndocumentedApiEnabled) {
|
|
26
|
-
throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
|
|
27
|
-
}
|
|
28
26
|
this.client = 'client' in options ? options.client : createClient(options);
|
|
29
27
|
this.defaults = limitToSeamHttpRequestOptions(options);
|
|
30
28
|
}
|
|
@@ -111,5 +109,8 @@ export class SeamHttpSeamCustomerV1 {
|
|
|
111
109
|
get settings() {
|
|
112
110
|
return SeamHttpSeamCustomerV1Settings.fromClient(this.client, this.defaults);
|
|
113
111
|
}
|
|
112
|
+
get spaces() {
|
|
113
|
+
return SeamHttpSeamCustomerV1Spaces.fromClient(this.client, this.defaults);
|
|
114
|
+
}
|
|
114
115
|
}
|
|
115
116
|
//# sourceMappingURL=v1.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/v1.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GAQ5B,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,6BAA6B,EAC7B,YAAY,GACb,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EAAE,sBAAsB,EAAE,MAAM,kDAAkD,CAAA;AAEzF,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAElE,OAAO,EAAE,oCAAoC,EAAE,MAAM,4BAA4B,CAAA;AACjF,OAAO,EAAE,iCAAiC,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,EAAE,4BAA4B,EAAE,MAAM,mBAAmB,CAAA;AAChE,OAAO,EAAE,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAClE,OAAO,EAAE,kCAAkC,EAAE,MAAM,yBAAyB,CAAA;AAC5E,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAA;
|
|
1
|
+
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/v1.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,EACL,mCAAmC,EACnC,+BAA+B,GAChC,MAAM,0BAA0B,CAAA;AACjC,OAAO,EAAe,YAAY,EAAE,MAAM,4BAA4B,CAAA;AACtE,OAAO,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,uCAAuC,EACvC,wCAAwC,EACxC,wCAAwC,EAExC,2BAA2B,GA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MultiplePa
|
|
|
6
6
|
import { type AccessCodesSimulateCreateUnmanagedAccessCodeOptions, type AccessCodesSimulateCreateUnmanagedAccessCodeParameters, type AccessCodesSimulateCreateUnmanagedAccessCodeRequest } from './access-codes/simulate/index.js';
|
|
7
7
|
import { type AccessCodesUnmanagedConvertToManagedOptions, type AccessCodesUnmanagedConvertToManagedParameters, type AccessCodesUnmanagedConvertToManagedRequest, type AccessCodesUnmanagedDeleteOptions, type AccessCodesUnmanagedDeleteParameters, type AccessCodesUnmanagedDeleteRequest, type AccessCodesUnmanagedGetOptions, type AccessCodesUnmanagedGetParameters, type AccessCodesUnmanagedGetRequest, type AccessCodesUnmanagedListOptions, type AccessCodesUnmanagedListParameters, type AccessCodesUnmanagedListRequest, type AccessCodesUnmanagedUpdateOptions, type AccessCodesUnmanagedUpdateParameters, type AccessCodesUnmanagedUpdateRequest } from './access-codes/unmanaged/index.js';
|
|
8
8
|
import { type AccessGrantsCreateOptions, type AccessGrantsCreateParameters, type AccessGrantsCreateRequest, type AccessGrantsDeleteOptions, type AccessGrantsDeleteParameters, type AccessGrantsDeleteRequest, type AccessGrantsGetOptions, type AccessGrantsGetParameters, type AccessGrantsGetRelatedOptions, type AccessGrantsGetRelatedParameters, type AccessGrantsGetRelatedRequest, type AccessGrantsGetRequest, type AccessGrantsListOptions, type AccessGrantsListParameters, type AccessGrantsListRequest, type AccessGrantsUpdateOptions, type AccessGrantsUpdateParameters, type AccessGrantsUpdateRequest } from './access-grants/index.js';
|
|
9
|
+
import { type AccessGrantsUnmanagedGetOptions, type AccessGrantsUnmanagedGetParameters, type AccessGrantsUnmanagedGetRequest, type AccessGrantsUnmanagedListOptions, type AccessGrantsUnmanagedListParameters, type AccessGrantsUnmanagedListRequest } from './access-grants/unmanaged/index.js';
|
|
9
10
|
import { type AccessMethodsDeleteOptions, type AccessMethodsDeleteParameters, type AccessMethodsDeleteRequest, type AccessMethodsEncodeOptions, type AccessMethodsEncodeParameters, type AccessMethodsEncodeRequest, type AccessMethodsGetOptions, type AccessMethodsGetParameters, type AccessMethodsGetRelatedOptions, type AccessMethodsGetRelatedParameters, type AccessMethodsGetRelatedRequest, type AccessMethodsGetRequest, type AccessMethodsListOptions, type AccessMethodsListParameters, type AccessMethodsListRequest } from './access-methods/index.js';
|
|
11
|
+
import { type AccessMethodsUnmanagedGetOptions, type AccessMethodsUnmanagedGetParameters, type AccessMethodsUnmanagedGetRequest, type AccessMethodsUnmanagedListOptions, type AccessMethodsUnmanagedListParameters, type AccessMethodsUnmanagedListRequest } from './access-methods/unmanaged/index.js';
|
|
10
12
|
import { type AcsAccessGroupsAddUserOptions, type AcsAccessGroupsAddUserParameters, type AcsAccessGroupsAddUserRequest, type AcsAccessGroupsGetOptions, type AcsAccessGroupsGetParameters, type AcsAccessGroupsGetRequest, type AcsAccessGroupsListAccessibleEntrancesOptions, type AcsAccessGroupsListAccessibleEntrancesParameters, type AcsAccessGroupsListAccessibleEntrancesRequest, type AcsAccessGroupsListOptions, type AcsAccessGroupsListParameters, type AcsAccessGroupsListRequest, type AcsAccessGroupsListUsersOptions, type AcsAccessGroupsListUsersParameters, type AcsAccessGroupsListUsersRequest, type AcsAccessGroupsRemoveUserOptions, type AcsAccessGroupsRemoveUserParameters, type AcsAccessGroupsRemoveUserRequest } from './acs/access-groups/index.js';
|
|
11
13
|
import { type AcsAccessGroupsUnmanagedGetOptions, type AcsAccessGroupsUnmanagedGetParameters, type AcsAccessGroupsUnmanagedGetRequest, type AcsAccessGroupsUnmanagedListOptions, type AcsAccessGroupsUnmanagedListParameters, type AcsAccessGroupsUnmanagedListRequest } from './acs/access-groups/unmanaged/index.js';
|
|
12
14
|
import { type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParameters, type AcsCredentialPoolsListRequest } from './acs/credential-pools/index.js';
|
|
@@ -45,6 +47,7 @@ import { type SeamCustomerV1EventsListOptions, type SeamCustomerV1EventsListPara
|
|
|
45
47
|
import { type SeamCustomerV1PortalsGetOptions, type SeamCustomerV1PortalsGetParameters, type SeamCustomerV1PortalsGetRequest } from './seam/customer/v1/portals/index.js';
|
|
46
48
|
import { type SeamCustomerV1ReservationsGetOptions, type SeamCustomerV1ReservationsGetParameters, type SeamCustomerV1ReservationsGetRequest, type SeamCustomerV1ReservationsListOptions, type SeamCustomerV1ReservationsListParameters, type SeamCustomerV1ReservationsListRequest } from './seam/customer/v1/reservations/index.js';
|
|
47
49
|
import { type SeamCustomerV1SettingsGetOptions, type SeamCustomerV1SettingsGetParameters, type SeamCustomerV1SettingsGetRequest, type SeamCustomerV1SettingsUpdateOptions, type SeamCustomerV1SettingsUpdateParameters, type SeamCustomerV1SettingsUpdateRequest } from './seam/customer/v1/settings/index.js';
|
|
50
|
+
import { type SeamCustomerV1SpacesCreateOptions, type SeamCustomerV1SpacesCreateParameters, type SeamCustomerV1SpacesCreateRequest } from './seam/customer/v1/spaces/index.js';
|
|
48
51
|
import { type SeamPartnerV1BuildingBlocksSpacesAutoMapOptions, type SeamPartnerV1BuildingBlocksSpacesAutoMapParameters, type SeamPartnerV1BuildingBlocksSpacesAutoMapRequest } from './seam/partner/v1/building-blocks/spaces/index.js';
|
|
49
52
|
import { type SpacesAddAcsEntrancesOptions, type SpacesAddAcsEntrancesParameters, type SpacesAddAcsEntrancesRequest, type SpacesAddDevicesOptions, type SpacesAddDevicesParameters, type SpacesAddDevicesRequest, type SpacesCreateOptions, type SpacesCreateParameters, type SpacesCreateRequest, type SpacesDeleteOptions, type SpacesDeleteParameters, type SpacesDeleteRequest, type SpacesGetOptions, type SpacesGetParameters, type SpacesGetRelatedOptions, type SpacesGetRelatedParameters, type SpacesGetRelatedRequest, type SpacesGetRequest, type SpacesListOptions, type SpacesListParameters, type SpacesListRequest, type SpacesRemoveAcsEntrancesOptions, type SpacesRemoveAcsEntrancesParameters, type SpacesRemoveAcsEntrancesRequest, type SpacesRemoveDevicesOptions, type SpacesRemoveDevicesParameters, type SpacesRemoveDevicesRequest, type SpacesUpdateOptions, type SpacesUpdateParameters, type SpacesUpdateRequest } from './spaces/index.js';
|
|
50
53
|
import { type ThermostatsDailyProgramsCreateOptions, type ThermostatsDailyProgramsCreateParameters, type ThermostatsDailyProgramsCreateRequest, type ThermostatsDailyProgramsDeleteOptions, type ThermostatsDailyProgramsDeleteParameters, type ThermostatsDailyProgramsDeleteRequest, type ThermostatsDailyProgramsUpdateOptions, type ThermostatsDailyProgramsUpdateParameters, type ThermostatsDailyProgramsUpdateRequest } from './thermostats/daily-programs/index.js';
|
|
@@ -54,6 +57,7 @@ import { type ThermostatsSimulateHvacModeAdjustedOptions, type ThermostatsSimula
|
|
|
54
57
|
import { type UnstablePartnerBuildingBlocksConnectAccountsOptions, type UnstablePartnerBuildingBlocksConnectAccountsParameters, type UnstablePartnerBuildingBlocksConnectAccountsRequest, type UnstablePartnerBuildingBlocksGenerateMagicLinkOptions, type UnstablePartnerBuildingBlocksGenerateMagicLinkParameters, type UnstablePartnerBuildingBlocksGenerateMagicLinkRequest, type UnstablePartnerBuildingBlocksManageDevicesOptions, type UnstablePartnerBuildingBlocksManageDevicesParameters, type UnstablePartnerBuildingBlocksManageDevicesRequest, type UnstablePartnerBuildingBlocksOrganizeSpacesOptions, type UnstablePartnerBuildingBlocksOrganizeSpacesParameters, type UnstablePartnerBuildingBlocksOrganizeSpacesRequest } from './unstable-partner/building-blocks/index.js';
|
|
55
58
|
import { type UserIdentitiesEnrollmentAutomationsDeleteOptions, type UserIdentitiesEnrollmentAutomationsDeleteParameters, type UserIdentitiesEnrollmentAutomationsDeleteRequest, type UserIdentitiesEnrollmentAutomationsGetOptions, type UserIdentitiesEnrollmentAutomationsGetParameters, type UserIdentitiesEnrollmentAutomationsGetRequest, type UserIdentitiesEnrollmentAutomationsLaunchOptions, type UserIdentitiesEnrollmentAutomationsLaunchParameters, type UserIdentitiesEnrollmentAutomationsLaunchRequest, type UserIdentitiesEnrollmentAutomationsListOptions, type UserIdentitiesEnrollmentAutomationsListParameters, type UserIdentitiesEnrollmentAutomationsListRequest } from './user-identities/enrollment-automations/index.js';
|
|
56
59
|
import { type UserIdentitiesAddAcsUserOptions, type UserIdentitiesAddAcsUserParameters, type UserIdentitiesAddAcsUserRequest, type UserIdentitiesCreateOptions, type UserIdentitiesCreateParameters, type UserIdentitiesCreateRequest, type UserIdentitiesDeleteOptions, type UserIdentitiesDeleteParameters, type UserIdentitiesDeleteRequest, type UserIdentitiesGenerateInstantKeyOptions, type UserIdentitiesGenerateInstantKeyParameters, type UserIdentitiesGenerateInstantKeyRequest, type UserIdentitiesGetOptions, type UserIdentitiesGetParameters, type UserIdentitiesGetRequest, type UserIdentitiesGrantAccessToDeviceOptions, type UserIdentitiesGrantAccessToDeviceParameters, type UserIdentitiesGrantAccessToDeviceRequest, type UserIdentitiesListAccessibleDevicesOptions, type UserIdentitiesListAccessibleDevicesParameters, type UserIdentitiesListAccessibleDevicesRequest, type UserIdentitiesListAcsSystemsOptions, type UserIdentitiesListAcsSystemsParameters, type UserIdentitiesListAcsSystemsRequest, type UserIdentitiesListAcsUsersOptions, type UserIdentitiesListAcsUsersParameters, type UserIdentitiesListAcsUsersRequest, type UserIdentitiesListOptions, type UserIdentitiesListParameters, type UserIdentitiesListRequest, type UserIdentitiesRemoveAcsUserOptions, type UserIdentitiesRemoveAcsUserParameters, type UserIdentitiesRemoveAcsUserRequest, type UserIdentitiesRevokeAccessToDeviceOptions, type UserIdentitiesRevokeAccessToDeviceParameters, type UserIdentitiesRevokeAccessToDeviceRequest, type UserIdentitiesUpdateOptions, type UserIdentitiesUpdateParameters, type UserIdentitiesUpdateRequest } from './user-identities/index.js';
|
|
60
|
+
import { type UserIdentitiesUnmanagedGetOptions, type UserIdentitiesUnmanagedGetParameters, type UserIdentitiesUnmanagedGetRequest, type UserIdentitiesUnmanagedListOptions, type UserIdentitiesUnmanagedListParameters, type UserIdentitiesUnmanagedListRequest } from './user-identities/unmanaged/index.js';
|
|
57
61
|
import { type WebhooksCreateOptions, type WebhooksCreateParameters, type WebhooksCreateRequest, type WebhooksDeleteOptions, type WebhooksDeleteParameters, type WebhooksDeleteRequest, type WebhooksGetOptions, type WebhooksGetParameters, type WebhooksGetRequest, type WebhooksListOptions, type WebhooksListParameters, type WebhooksListRequest, type WebhooksUpdateOptions, type WebhooksUpdateParameters, type WebhooksUpdateRequest } from './webhooks/index.js';
|
|
58
62
|
import { type WorkspacesCustomizationProfilesCreateOptions, type WorkspacesCustomizationProfilesCreateParameters, type WorkspacesCustomizationProfilesCreateRequest, type WorkspacesCustomizationProfilesGetOptions, type WorkspacesCustomizationProfilesGetParameters, type WorkspacesCustomizationProfilesGetRequest, type WorkspacesCustomizationProfilesListOptions, type WorkspacesCustomizationProfilesListParameters, type WorkspacesCustomizationProfilesListRequest, type WorkspacesCustomizationProfilesUpdateOptions, type WorkspacesCustomizationProfilesUpdateParameters, type WorkspacesCustomizationProfilesUpdateRequest, type WorkspacesCustomizationProfilesUploadImagesOptions, type WorkspacesCustomizationProfilesUploadImagesParameters, type WorkspacesCustomizationProfilesUploadImagesRequest } from './workspaces/customization-profiles/index.js';
|
|
59
63
|
import { type WorkspacesCreateOptions, type WorkspacesCreateParameters, type WorkspacesCreateRequest, type WorkspacesFindAnythingOptions, type WorkspacesFindAnythingParameters, type WorkspacesFindAnythingRequest, type WorkspacesGetOptions, type WorkspacesGetParameters, type WorkspacesGetRequest, type WorkspacesListOptions, type WorkspacesListParameters, type WorkspacesListRequest, type WorkspacesResetSandboxOptions, type WorkspacesResetSandboxParameters, type WorkspacesResetSandboxRequest, type WorkspacesUpdateOptions, type WorkspacesUpdateParameters, type WorkspacesUpdateRequest } from './workspaces/index.js';
|
|
@@ -93,11 +97,15 @@ export declare class SeamHttpEndpoints {
|
|
|
93
97
|
get '/access_grants/get_related'(): (parameters?: AccessGrantsGetRelatedParameters, options?: AccessGrantsGetRelatedOptions) => AccessGrantsGetRelatedRequest;
|
|
94
98
|
get '/access_grants/list'(): (parameters?: AccessGrantsListParameters, options?: AccessGrantsListOptions) => AccessGrantsListRequest;
|
|
95
99
|
get '/access_grants/update'(): (parameters?: AccessGrantsUpdateParameters, options?: AccessGrantsUpdateOptions) => AccessGrantsUpdateRequest;
|
|
100
|
+
get '/access_grants/unmanaged/get'(): (parameters?: AccessGrantsUnmanagedGetParameters, options?: AccessGrantsUnmanagedGetOptions) => AccessGrantsUnmanagedGetRequest;
|
|
101
|
+
get '/access_grants/unmanaged/list'(): (parameters?: AccessGrantsUnmanagedListParameters, options?: AccessGrantsUnmanagedListOptions) => AccessGrantsUnmanagedListRequest;
|
|
96
102
|
get '/access_methods/delete'(): (parameters?: AccessMethodsDeleteParameters, options?: AccessMethodsDeleteOptions) => AccessMethodsDeleteRequest;
|
|
97
103
|
get '/access_methods/encode'(): (parameters?: AccessMethodsEncodeParameters, options?: AccessMethodsEncodeOptions) => AccessMethodsEncodeRequest;
|
|
98
104
|
get '/access_methods/get'(): (parameters?: AccessMethodsGetParameters, options?: AccessMethodsGetOptions) => AccessMethodsGetRequest;
|
|
99
105
|
get '/access_methods/get_related'(): (parameters?: AccessMethodsGetRelatedParameters, options?: AccessMethodsGetRelatedOptions) => AccessMethodsGetRelatedRequest;
|
|
100
106
|
get '/access_methods/list'(): (parameters?: AccessMethodsListParameters, options?: AccessMethodsListOptions) => AccessMethodsListRequest;
|
|
107
|
+
get '/access_methods/unmanaged/get'(): (parameters?: AccessMethodsUnmanagedGetParameters, options?: AccessMethodsUnmanagedGetOptions) => AccessMethodsUnmanagedGetRequest;
|
|
108
|
+
get '/access_methods/unmanaged/list'(): (parameters?: AccessMethodsUnmanagedListParameters, options?: AccessMethodsUnmanagedListOptions) => AccessMethodsUnmanagedListRequest;
|
|
101
109
|
get '/acs/access_groups/add_user'(): (parameters?: AcsAccessGroupsAddUserParameters, options?: AcsAccessGroupsAddUserOptions) => AcsAccessGroupsAddUserRequest;
|
|
102
110
|
get '/acs/access_groups/get'(): (parameters?: AcsAccessGroupsGetParameters, options?: AcsAccessGroupsGetOptions) => AcsAccessGroupsGetRequest;
|
|
103
111
|
get '/acs/access_groups/list'(): (parameters?: AcsAccessGroupsListParameters, options?: AcsAccessGroupsListOptions) => AcsAccessGroupsListRequest;
|
|
@@ -218,6 +226,7 @@ export declare class SeamHttpEndpoints {
|
|
|
218
226
|
get '/seam/customer/v1/reservations/list'(): (parameters?: SeamCustomerV1ReservationsListParameters, options?: SeamCustomerV1ReservationsListOptions) => SeamCustomerV1ReservationsListRequest;
|
|
219
227
|
get '/seam/customer/v1/settings/get'(): (parameters?: SeamCustomerV1SettingsGetParameters, options?: SeamCustomerV1SettingsGetOptions) => SeamCustomerV1SettingsGetRequest;
|
|
220
228
|
get '/seam/customer/v1/settings/update'(): (parameters?: SeamCustomerV1SettingsUpdateParameters, options?: SeamCustomerV1SettingsUpdateOptions) => SeamCustomerV1SettingsUpdateRequest;
|
|
229
|
+
get '/seam/customer/v1/spaces/create'(): (parameters?: SeamCustomerV1SpacesCreateParameters, options?: SeamCustomerV1SpacesCreateOptions) => SeamCustomerV1SpacesCreateRequest;
|
|
221
230
|
get '/seam/partner/v1/building_blocks/spaces/auto_map'(): (parameters?: SeamPartnerV1BuildingBlocksSpacesAutoMapParameters, options?: SeamPartnerV1BuildingBlocksSpacesAutoMapOptions) => SeamPartnerV1BuildingBlocksSpacesAutoMapRequest;
|
|
222
231
|
get '/spaces/add_acs_entrances'(): (parameters?: SpacesAddAcsEntrancesParameters, options?: SpacesAddAcsEntrancesOptions) => SpacesAddAcsEntrancesRequest;
|
|
223
232
|
get '/spaces/add_devices'(): (parameters?: SpacesAddDevicesParameters, options?: SpacesAddDevicesOptions) => SpacesAddDevicesRequest;
|
|
@@ -275,6 +284,8 @@ export declare class SeamHttpEndpoints {
|
|
|
275
284
|
get '/user_identities/enrollment_automations/get'(): (parameters?: UserIdentitiesEnrollmentAutomationsGetParameters, options?: UserIdentitiesEnrollmentAutomationsGetOptions) => UserIdentitiesEnrollmentAutomationsGetRequest;
|
|
276
285
|
get '/user_identities/enrollment_automations/launch'(): (parameters?: UserIdentitiesEnrollmentAutomationsLaunchParameters, options?: UserIdentitiesEnrollmentAutomationsLaunchOptions) => UserIdentitiesEnrollmentAutomationsLaunchRequest;
|
|
277
286
|
get '/user_identities/enrollment_automations/list'(): (parameters?: UserIdentitiesEnrollmentAutomationsListParameters, options?: UserIdentitiesEnrollmentAutomationsListOptions) => UserIdentitiesEnrollmentAutomationsListRequest;
|
|
287
|
+
get '/user_identities/unmanaged/get'(): (parameters?: UserIdentitiesUnmanagedGetParameters, options?: UserIdentitiesUnmanagedGetOptions) => UserIdentitiesUnmanagedGetRequest;
|
|
288
|
+
get '/user_identities/unmanaged/list'(): (parameters?: UserIdentitiesUnmanagedListParameters, options?: UserIdentitiesUnmanagedListOptions) => UserIdentitiesUnmanagedListRequest;
|
|
278
289
|
get '/webhooks/create'(): (parameters?: WebhooksCreateParameters, options?: WebhooksCreateOptions) => WebhooksCreateRequest;
|
|
279
290
|
get '/webhooks/delete'(): (parameters?: WebhooksDeleteParameters, options?: WebhooksDeleteOptions) => WebhooksDeleteRequest;
|
|
280
291
|
get '/webhooks/get'(): (parameters?: WebhooksGetParameters, options?: WebhooksGetOptions) => WebhooksGetRequest;
|
|
@@ -292,6 +303,6 @@ export declare class SeamHttpEndpoints {
|
|
|
292
303
|
get '/workspaces/customization_profiles/update'(): (parameters?: WorkspacesCustomizationProfilesUpdateParameters, options?: WorkspacesCustomizationProfilesUpdateOptions) => WorkspacesCustomizationProfilesUpdateRequest;
|
|
293
304
|
get '/workspaces/customization_profiles/upload_images'(): (parameters?: WorkspacesCustomizationProfilesUploadImagesParameters, options?: WorkspacesCustomizationProfilesUploadImagesOptions) => WorkspacesCustomizationProfilesUploadImagesRequest;
|
|
294
305
|
}
|
|
295
|
-
export type SeamHttpEndpointQueryPaths = '/access_codes/generate_code' | '/access_codes/get' | '/access_codes/list' | '/access_codes/unmanaged/get' | '/access_codes/unmanaged/list' | '/access_grants/get' | '/access_grants/get_related' | '/access_grants/list' | '/access_methods/get' | '/access_methods/get_related' | '/access_methods/list' | '/acs/access_groups/get' | '/acs/access_groups/list' | '/acs/access_groups/list_accessible_entrances' | '/acs/access_groups/list_users' | '/acs/access_groups/unmanaged/get' | '/acs/access_groups/unmanaged/list' | '/acs/credential_pools/list' | '/acs/credentials/get' | '/acs/credentials/list' | '/acs/credentials/list_accessible_entrances' | '/acs/credentials/unmanaged/get' | '/acs/credentials/unmanaged/list' | '/acs/encoders/get' | '/acs/encoders/list' | '/acs/entrances/get' | '/acs/entrances/list' | '/acs/entrances/list_credentials_with_access' | '/acs/systems/get' | '/acs/systems/list' | '/acs/systems/list_compatible_credential_manager_acs_systems' | '/acs/users/get' | '/acs/users/list' | '/acs/users/list_accessible_entrances' | '/acs/users/unmanaged/get' | '/acs/users/unmanaged/list' | '/action_attempts/get' | '/action_attempts/list' | '/bridges/get' | '/bridges/list' | '/client_sessions/get' | '/client_sessions/list' | '/connect_webviews/get' | '/connect_webviews/list' | '/connected_accounts/get' | '/connected_accounts/list' | '/devices/get' | '/devices/list' | '/devices/list_device_providers' | '/devices/unmanaged/get' | '/devices/unmanaged/list' | '/events/get' | '/events/list' | '/instant_keys/get' | '/instant_keys/list' | '/locks/get' | '/locks/list' | '/noise_sensors/list' | '/noise_sensors/noise_thresholds/get' | '/noise_sensors/noise_thresholds/list' | '/phones/get' | '/phones/list' | '/seam/console/v1/get_resource_locator' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/automation_runs/list' | '/seam/customer/v1/automations/get' | '/seam/customer/v1/events/list' | '/seam/customer/v1/portals/get' | '/seam/customer/v1/reservations/get' | '/seam/customer/v1/reservations/list' | '/seam/customer/v1/settings/get' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/spaces/get' | '/spaces/get_related' | '/spaces/list' | '/thermostats/get' | '/thermostats/list' | '/thermostats/schedules/get' | '/thermostats/schedules/list' | '/unstable_partner/building_blocks/generate_magic_link' | '/user_identities/get' | '/user_identities/list' | '/user_identities/list_accessible_devices' | '/user_identities/list_acs_systems' | '/user_identities/list_acs_users' | '/user_identities/enrollment_automations/get' | '/user_identities/enrollment_automations/list' | '/webhooks/get' | '/webhooks/list' | '/workspaces/find_anything' | '/workspaces/get' | '/workspaces/list' | '/workspaces/customization_profiles/get' | '/workspaces/customization_profiles/list';
|
|
306
|
+
export type SeamHttpEndpointQueryPaths = '/access_codes/generate_code' | '/access_codes/get' | '/access_codes/list' | '/access_codes/unmanaged/get' | '/access_codes/unmanaged/list' | '/access_grants/get' | '/access_grants/get_related' | '/access_grants/list' | '/access_grants/unmanaged/get' | '/access_grants/unmanaged/list' | '/access_methods/get' | '/access_methods/get_related' | '/access_methods/list' | '/access_methods/unmanaged/get' | '/access_methods/unmanaged/list' | '/acs/access_groups/get' | '/acs/access_groups/list' | '/acs/access_groups/list_accessible_entrances' | '/acs/access_groups/list_users' | '/acs/access_groups/unmanaged/get' | '/acs/access_groups/unmanaged/list' | '/acs/credential_pools/list' | '/acs/credentials/get' | '/acs/credentials/list' | '/acs/credentials/list_accessible_entrances' | '/acs/credentials/unmanaged/get' | '/acs/credentials/unmanaged/list' | '/acs/encoders/get' | '/acs/encoders/list' | '/acs/entrances/get' | '/acs/entrances/list' | '/acs/entrances/list_credentials_with_access' | '/acs/systems/get' | '/acs/systems/list' | '/acs/systems/list_compatible_credential_manager_acs_systems' | '/acs/users/get' | '/acs/users/list' | '/acs/users/list_accessible_entrances' | '/acs/users/unmanaged/get' | '/acs/users/unmanaged/list' | '/action_attempts/get' | '/action_attempts/list' | '/bridges/get' | '/bridges/list' | '/client_sessions/get' | '/client_sessions/list' | '/connect_webviews/get' | '/connect_webviews/list' | '/connected_accounts/get' | '/connected_accounts/list' | '/devices/get' | '/devices/list' | '/devices/list_device_providers' | '/devices/unmanaged/get' | '/devices/unmanaged/list' | '/events/get' | '/events/list' | '/instant_keys/get' | '/instant_keys/list' | '/locks/get' | '/locks/list' | '/noise_sensors/list' | '/noise_sensors/noise_thresholds/get' | '/noise_sensors/noise_thresholds/list' | '/phones/get' | '/phones/list' | '/seam/console/v1/get_resource_locator' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/automation_runs/list' | '/seam/customer/v1/automations/get' | '/seam/customer/v1/events/list' | '/seam/customer/v1/portals/get' | '/seam/customer/v1/reservations/get' | '/seam/customer/v1/reservations/list' | '/seam/customer/v1/settings/get' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/spaces/get' | '/spaces/get_related' | '/spaces/list' | '/thermostats/get' | '/thermostats/list' | '/thermostats/schedules/get' | '/thermostats/schedules/list' | '/unstable_partner/building_blocks/generate_magic_link' | '/user_identities/get' | '/user_identities/list' | '/user_identities/list_accessible_devices' | '/user_identities/list_acs_systems' | '/user_identities/list_acs_users' | '/user_identities/enrollment_automations/get' | '/user_identities/enrollment_automations/list' | '/user_identities/unmanaged/get' | '/user_identities/unmanaged/list' | '/webhooks/get' | '/webhooks/list' | '/workspaces/find_anything' | '/workspaces/get' | '/workspaces/list' | '/workspaces/customization_profiles/get' | '/workspaces/customization_profiles/list';
|
|
296
307
|
export type SeamHttpEndpointPaginatedQueryPaths = '/access_codes/list' | '/access_codes/unmanaged/list' | '/acs/credentials/list' | '/acs/encoders/list' | '/acs/entrances/list' | '/acs/users/list' | '/connect_webviews/list' | '/connected_accounts/list' | '/devices/list' | '/devices/unmanaged/list' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/automation_runs/list' | '/seam/customer/v1/reservations/list';
|
|
297
|
-
export type SeamHttpEndpointMutationPaths = '/access_codes/create' | '/access_codes/create_multiple' | '/access_codes/delete' | '/access_codes/pull_backup_access_code' | '/access_codes/report_device_constraints' | '/access_codes/update' | '/access_codes/update_multiple' | '/access_codes/simulate/create_unmanaged_access_code' | '/access_codes/unmanaged/convert_to_managed' | '/access_codes/unmanaged/delete' | '/access_codes/unmanaged/update' | '/access_grants/create' | '/access_grants/delete' | '/access_grants/update' | '/access_methods/delete' | '/access_methods/encode' | '/acs/access_groups/add_user' | '/acs/access_groups/remove_user' | '/acs/credential_provisioning_automations/launch' | '/acs/credentials/assign' | '/acs/credentials/create' | '/acs/credentials/create_offline_code' | '/acs/credentials/delete' | '/acs/credentials/unassign' | '/acs/credentials/update' | '/acs/encoders/encode_credential' | '/acs/encoders/scan_credential' | '/acs/encoders/simulate/next_credential_encode_will_fail' | '/acs/encoders/simulate/next_credential_encode_will_succeed' | '/acs/encoders/simulate/next_credential_scan_will_fail' | '/acs/encoders/simulate/next_credential_scan_will_succeed' | '/acs/entrances/grant_access' | '/acs/users/add_to_access_group' | '/acs/users/create' | '/acs/users/delete' | '/acs/users/remove_from_access_group' | '/acs/users/revoke_access_to_all_entrances' | '/acs/users/suspend' | '/acs/users/unsuspend' | '/acs/users/update' | '/client_sessions/create' | '/client_sessions/delete' | '/client_sessions/get_or_create' | '/client_sessions/grant_access' | '/client_sessions/revoke' | '/connect_webviews/create' | '/connect_webviews/delete' | '/connected_accounts/delete' | '/connected_accounts/sync' | '/connected_accounts/update' | '/customers/create_portal' | '/customers/delete_data' | '/customers/push_data' | '/devices/delete' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/connect_to_hub' | '/devices/simulate/disconnect' | '/devices/simulate/disconnect_from_hub' | '/devices/simulate/paid_subscription' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/instant_keys/delete' | '/locks/lock_door' | '/locks/unlock_door' | '/locks/simulate/keypad_code_entry' | '/locks/simulate/manual_lock_via_keypad' | '/noise_sensors/noise_thresholds/create' | '/noise_sensors/noise_thresholds/delete' | '/noise_sensors/noise_thresholds/update' | '/noise_sensors/simulate/trigger_noise_threshold' | '/phones/deactivate' | '/phones/simulate/create_sandbox_phone' | '/seam/customer/v1/automations/delete' | '/seam/customer/v1/automations/update' | '/seam/customer/v1/settings/update' | '/spaces/add_acs_entrances' | '/spaces/add_devices' | '/spaces/create' | '/spaces/delete' | '/spaces/remove_acs_entrances' | '/spaces/remove_devices' | '/spaces/update' | '/thermostats/activate_climate_preset' | '/thermostats/cool' | '/thermostats/create_climate_preset' | '/thermostats/delete_climate_preset' | '/thermostats/heat' | '/thermostats/heat_cool' | '/thermostats/off' | '/thermostats/set_fallback_climate_preset' | '/thermostats/set_fan_mode' | '/thermostats/set_hvac_mode' | '/thermostats/set_temperature_threshold' | '/thermostats/update_climate_preset' | '/thermostats/update_weekly_program' | '/thermostats/daily_programs/create' | '/thermostats/daily_programs/delete' | '/thermostats/daily_programs/update' | '/thermostats/schedules/create' | '/thermostats/schedules/delete' | '/thermostats/schedules/update' | '/thermostats/simulate/hvac_mode_adjusted' | '/thermostats/simulate/temperature_reached' | '/unstable_partner/building_blocks/connect_accounts' | '/unstable_partner/building_blocks/manage_devices' | '/unstable_partner/building_blocks/organize_spaces' | '/user_identities/add_acs_user' | '/user_identities/create' | '/user_identities/delete' | '/user_identities/generate_instant_key' | '/user_identities/grant_access_to_device' | '/user_identities/remove_acs_user' | '/user_identities/revoke_access_to_device' | '/user_identities/update' | '/user_identities/enrollment_automations/delete' | '/user_identities/enrollment_automations/launch' | '/webhooks/create' | '/webhooks/delete' | '/webhooks/update' | '/workspaces/create' | '/workspaces/reset_sandbox' | '/workspaces/update' | '/workspaces/customization_profiles/create' | '/workspaces/customization_profiles/update' | '/workspaces/customization_profiles/upload_images';
|
|
308
|
+
export type SeamHttpEndpointMutationPaths = '/access_codes/create' | '/access_codes/create_multiple' | '/access_codes/delete' | '/access_codes/pull_backup_access_code' | '/access_codes/report_device_constraints' | '/access_codes/update' | '/access_codes/update_multiple' | '/access_codes/simulate/create_unmanaged_access_code' | '/access_codes/unmanaged/convert_to_managed' | '/access_codes/unmanaged/delete' | '/access_codes/unmanaged/update' | '/access_grants/create' | '/access_grants/delete' | '/access_grants/update' | '/access_methods/delete' | '/access_methods/encode' | '/acs/access_groups/add_user' | '/acs/access_groups/remove_user' | '/acs/credential_provisioning_automations/launch' | '/acs/credentials/assign' | '/acs/credentials/create' | '/acs/credentials/create_offline_code' | '/acs/credentials/delete' | '/acs/credentials/unassign' | '/acs/credentials/update' | '/acs/encoders/encode_credential' | '/acs/encoders/scan_credential' | '/acs/encoders/simulate/next_credential_encode_will_fail' | '/acs/encoders/simulate/next_credential_encode_will_succeed' | '/acs/encoders/simulate/next_credential_scan_will_fail' | '/acs/encoders/simulate/next_credential_scan_will_succeed' | '/acs/entrances/grant_access' | '/acs/users/add_to_access_group' | '/acs/users/create' | '/acs/users/delete' | '/acs/users/remove_from_access_group' | '/acs/users/revoke_access_to_all_entrances' | '/acs/users/suspend' | '/acs/users/unsuspend' | '/acs/users/update' | '/client_sessions/create' | '/client_sessions/delete' | '/client_sessions/get_or_create' | '/client_sessions/grant_access' | '/client_sessions/revoke' | '/connect_webviews/create' | '/connect_webviews/delete' | '/connected_accounts/delete' | '/connected_accounts/sync' | '/connected_accounts/update' | '/customers/create_portal' | '/customers/delete_data' | '/customers/push_data' | '/devices/delete' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/connect_to_hub' | '/devices/simulate/disconnect' | '/devices/simulate/disconnect_from_hub' | '/devices/simulate/paid_subscription' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/instant_keys/delete' | '/locks/lock_door' | '/locks/unlock_door' | '/locks/simulate/keypad_code_entry' | '/locks/simulate/manual_lock_via_keypad' | '/noise_sensors/noise_thresholds/create' | '/noise_sensors/noise_thresholds/delete' | '/noise_sensors/noise_thresholds/update' | '/noise_sensors/simulate/trigger_noise_threshold' | '/phones/deactivate' | '/phones/simulate/create_sandbox_phone' | '/seam/customer/v1/automations/delete' | '/seam/customer/v1/automations/update' | '/seam/customer/v1/settings/update' | '/seam/customer/v1/spaces/create' | '/spaces/add_acs_entrances' | '/spaces/add_devices' | '/spaces/create' | '/spaces/delete' | '/spaces/remove_acs_entrances' | '/spaces/remove_devices' | '/spaces/update' | '/thermostats/activate_climate_preset' | '/thermostats/cool' | '/thermostats/create_climate_preset' | '/thermostats/delete_climate_preset' | '/thermostats/heat' | '/thermostats/heat_cool' | '/thermostats/off' | '/thermostats/set_fallback_climate_preset' | '/thermostats/set_fan_mode' | '/thermostats/set_hvac_mode' | '/thermostats/set_temperature_threshold' | '/thermostats/update_climate_preset' | '/thermostats/update_weekly_program' | '/thermostats/daily_programs/create' | '/thermostats/daily_programs/delete' | '/thermostats/daily_programs/update' | '/thermostats/schedules/create' | '/thermostats/schedules/delete' | '/thermostats/schedules/update' | '/thermostats/simulate/hvac_mode_adjusted' | '/thermostats/simulate/temperature_reached' | '/unstable_partner/building_blocks/connect_accounts' | '/unstable_partner/building_blocks/manage_devices' | '/unstable_partner/building_blocks/organize_spaces' | '/user_identities/add_acs_user' | '/user_identities/create' | '/user_identities/delete' | '/user_identities/generate_instant_key' | '/user_identities/grant_access_to_device' | '/user_identities/remove_acs_user' | '/user_identities/revoke_access_to_device' | '/user_identities/update' | '/user_identities/enrollment_automations/delete' | '/user_identities/enrollment_automations/launch' | '/webhooks/create' | '/webhooks/delete' | '/webhooks/update' | '/workspaces/create' | '/workspaces/reset_sandbox' | '/workspaces/update' | '/workspaces/customization_profiles/create' | '/workspaces/customization_profiles/update' | '/workspaces/customization_profiles/upload_images';
|
|
@@ -12,7 +12,9 @@ import { SeamHttpAccessCodes, } from './access-codes/index.js';
|
|
|
12
12
|
import { SeamHttpAccessCodesSimulate, } from './access-codes/simulate/index.js';
|
|
13
13
|
import { SeamHttpAccessCodesUnmanaged, } from './access-codes/unmanaged/index.js';
|
|
14
14
|
import { SeamHttpAccessGrants, } from './access-grants/index.js';
|
|
15
|
+
import { SeamHttpAccessGrantsUnmanaged, } from './access-grants/unmanaged/index.js';
|
|
15
16
|
import { SeamHttpAccessMethods, } from './access-methods/index.js';
|
|
17
|
+
import { SeamHttpAccessMethodsUnmanaged, } from './access-methods/unmanaged/index.js';
|
|
16
18
|
import { SeamHttpAcsAccessGroups, } from './acs/access-groups/index.js';
|
|
17
19
|
import { SeamHttpAcsAccessGroupsUnmanaged, } from './acs/access-groups/unmanaged/index.js';
|
|
18
20
|
import { SeamHttpAcsCredentialPools, } from './acs/credential-pools/index.js';
|
|
@@ -51,6 +53,7 @@ import { SeamHttpSeamCustomerV1Events, } from './seam/customer/v1/events/index.j
|
|
|
51
53
|
import { SeamHttpSeamCustomerV1Portals, } from './seam/customer/v1/portals/index.js';
|
|
52
54
|
import { SeamHttpSeamCustomerV1Reservations, } from './seam/customer/v1/reservations/index.js';
|
|
53
55
|
import { SeamHttpSeamCustomerV1Settings, } from './seam/customer/v1/settings/index.js';
|
|
56
|
+
import { SeamHttpSeamCustomerV1Spaces, } from './seam/customer/v1/spaces/index.js';
|
|
54
57
|
import { SeamHttpSeamPartnerV1BuildingBlocksSpaces, } from './seam/partner/v1/building-blocks/spaces/index.js';
|
|
55
58
|
import { SeamHttpSpaces, } from './spaces/index.js';
|
|
56
59
|
import { SeamHttpThermostatsDailyPrograms, } from './thermostats/daily-programs/index.js';
|
|
@@ -60,6 +63,7 @@ import { SeamHttpThermostatsSimulate, } from './thermostats/simulate/index.js';
|
|
|
60
63
|
import { SeamHttpUnstablePartnerBuildingBlocks, } from './unstable-partner/building-blocks/index.js';
|
|
61
64
|
import { SeamHttpUserIdentitiesEnrollmentAutomations, } from './user-identities/enrollment-automations/index.js';
|
|
62
65
|
import { SeamHttpUserIdentities, } from './user-identities/index.js';
|
|
66
|
+
import { SeamHttpUserIdentitiesUnmanaged, } from './user-identities/unmanaged/index.js';
|
|
63
67
|
import { SeamHttpWebhooks, } from './webhooks/index.js';
|
|
64
68
|
import { SeamHttpWorkspacesCustomizationProfiles, } from './workspaces/customization-profiles/index.js';
|
|
65
69
|
import { SeamHttpWorkspaces, } from './workspaces/index.js';
|
|
@@ -292,6 +296,20 @@ export class SeamHttpEndpoints {
|
|
|
292
296
|
return seam.update(...args);
|
|
293
297
|
};
|
|
294
298
|
}
|
|
299
|
+
get '/access_grants/unmanaged/get'() {
|
|
300
|
+
const { client, defaults } = this;
|
|
301
|
+
return function accessGrantsUnmanagedGet(...args) {
|
|
302
|
+
const seam = SeamHttpAccessGrantsUnmanaged.fromClient(client, defaults);
|
|
303
|
+
return seam.get(...args);
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
get '/access_grants/unmanaged/list'() {
|
|
307
|
+
const { client, defaults } = this;
|
|
308
|
+
return function accessGrantsUnmanagedList(...args) {
|
|
309
|
+
const seam = SeamHttpAccessGrantsUnmanaged.fromClient(client, defaults);
|
|
310
|
+
return seam.list(...args);
|
|
311
|
+
};
|
|
312
|
+
}
|
|
295
313
|
get '/access_methods/delete'() {
|
|
296
314
|
const { client, defaults } = this;
|
|
297
315
|
return function accessMethodsDelete(...args) {
|
|
@@ -327,6 +345,20 @@ export class SeamHttpEndpoints {
|
|
|
327
345
|
return seam.list(...args);
|
|
328
346
|
};
|
|
329
347
|
}
|
|
348
|
+
get '/access_methods/unmanaged/get'() {
|
|
349
|
+
const { client, defaults } = this;
|
|
350
|
+
return function accessMethodsUnmanagedGet(...args) {
|
|
351
|
+
const seam = SeamHttpAccessMethodsUnmanaged.fromClient(client, defaults);
|
|
352
|
+
return seam.get(...args);
|
|
353
|
+
};
|
|
354
|
+
}
|
|
355
|
+
get '/access_methods/unmanaged/list'() {
|
|
356
|
+
const { client, defaults } = this;
|
|
357
|
+
return function accessMethodsUnmanagedList(...args) {
|
|
358
|
+
const seam = SeamHttpAccessMethodsUnmanaged.fromClient(client, defaults);
|
|
359
|
+
return seam.list(...args);
|
|
360
|
+
};
|
|
361
|
+
}
|
|
330
362
|
get '/acs/access_groups/add_user'() {
|
|
331
363
|
const { client, defaults } = this;
|
|
332
364
|
return function acsAccessGroupsAddUser(...args) {
|
|
@@ -1239,6 +1271,13 @@ export class SeamHttpEndpoints {
|
|
|
1239
1271
|
return seam.update(...args);
|
|
1240
1272
|
};
|
|
1241
1273
|
}
|
|
1274
|
+
get '/seam/customer/v1/spaces/create'() {
|
|
1275
|
+
const { client, defaults } = this;
|
|
1276
|
+
return function seamCustomerV1SpacesCreate(...args) {
|
|
1277
|
+
const seam = SeamHttpSeamCustomerV1Spaces.fromClient(client, defaults);
|
|
1278
|
+
return seam.create(...args);
|
|
1279
|
+
};
|
|
1280
|
+
}
|
|
1242
1281
|
get '/seam/partner/v1/building_blocks/spaces/auto_map'() {
|
|
1243
1282
|
const { client, defaults } = this;
|
|
1244
1283
|
if (!this.defaults.isUndocumentedApiEnabled) {
|
|
@@ -1668,6 +1707,20 @@ export class SeamHttpEndpoints {
|
|
|
1668
1707
|
return seam.list(...args);
|
|
1669
1708
|
};
|
|
1670
1709
|
}
|
|
1710
|
+
get '/user_identities/unmanaged/get'() {
|
|
1711
|
+
const { client, defaults } = this;
|
|
1712
|
+
return function userIdentitiesUnmanagedGet(...args) {
|
|
1713
|
+
const seam = SeamHttpUserIdentitiesUnmanaged.fromClient(client, defaults);
|
|
1714
|
+
return seam.get(...args);
|
|
1715
|
+
};
|
|
1716
|
+
}
|
|
1717
|
+
get '/user_identities/unmanaged/list'() {
|
|
1718
|
+
const { client, defaults } = this;
|
|
1719
|
+
return function userIdentitiesUnmanagedList(...args) {
|
|
1720
|
+
const seam = SeamHttpUserIdentitiesUnmanaged.fromClient(client, defaults);
|
|
1721
|
+
return seam.list(...args);
|
|
1722
|
+
};
|
|
1723
|
+
}
|
|
1671
1724
|
get '/webhooks/create'() {
|
|
1672
1725
|
const { client, defaults } = this;
|
|
1673
1726
|
return function webhooksCreate(...args) {
|