@seamapi/http 1.72.0 → 1.74.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 +372 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +138 -3
- package/dist/index.cjs +378 -0
- 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-http-endpoints.d.ts +11 -2
- package/lib/seam/connect/routes/seam-http-endpoints.js +45 -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-http-endpoints.ts +112 -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":"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"}
|
|
@@ -6,7 +6,9 @@ import { type AccessCodesCreateMultipleOptions, type AccessCodesCreateMultiplePa
|
|
|
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';
|
|
@@ -54,6 +56,7 @@ import { type ThermostatsSimulateHvacModeAdjustedOptions, type ThermostatsSimula
|
|
|
54
56
|
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
57
|
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
58
|
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';
|
|
59
|
+
import { type UserIdentitiesUnmanagedGetOptions, type UserIdentitiesUnmanagedGetParameters, type UserIdentitiesUnmanagedGetRequest, type UserIdentitiesUnmanagedListOptions, type UserIdentitiesUnmanagedListParameters, type UserIdentitiesUnmanagedListRequest } from './user-identities/unmanaged/index.js';
|
|
57
60
|
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
61
|
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
62
|
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 +96,15 @@ export declare class SeamHttpEndpoints {
|
|
|
93
96
|
get '/access_grants/get_related'(): (parameters?: AccessGrantsGetRelatedParameters, options?: AccessGrantsGetRelatedOptions) => AccessGrantsGetRelatedRequest;
|
|
94
97
|
get '/access_grants/list'(): (parameters?: AccessGrantsListParameters, options?: AccessGrantsListOptions) => AccessGrantsListRequest;
|
|
95
98
|
get '/access_grants/update'(): (parameters?: AccessGrantsUpdateParameters, options?: AccessGrantsUpdateOptions) => AccessGrantsUpdateRequest;
|
|
99
|
+
get '/access_grants/unmanaged/get'(): (parameters?: AccessGrantsUnmanagedGetParameters, options?: AccessGrantsUnmanagedGetOptions) => AccessGrantsUnmanagedGetRequest;
|
|
100
|
+
get '/access_grants/unmanaged/list'(): (parameters?: AccessGrantsUnmanagedListParameters, options?: AccessGrantsUnmanagedListOptions) => AccessGrantsUnmanagedListRequest;
|
|
96
101
|
get '/access_methods/delete'(): (parameters?: AccessMethodsDeleteParameters, options?: AccessMethodsDeleteOptions) => AccessMethodsDeleteRequest;
|
|
97
102
|
get '/access_methods/encode'(): (parameters?: AccessMethodsEncodeParameters, options?: AccessMethodsEncodeOptions) => AccessMethodsEncodeRequest;
|
|
98
103
|
get '/access_methods/get'(): (parameters?: AccessMethodsGetParameters, options?: AccessMethodsGetOptions) => AccessMethodsGetRequest;
|
|
99
104
|
get '/access_methods/get_related'(): (parameters?: AccessMethodsGetRelatedParameters, options?: AccessMethodsGetRelatedOptions) => AccessMethodsGetRelatedRequest;
|
|
100
105
|
get '/access_methods/list'(): (parameters?: AccessMethodsListParameters, options?: AccessMethodsListOptions) => AccessMethodsListRequest;
|
|
106
|
+
get '/access_methods/unmanaged/get'(): (parameters?: AccessMethodsUnmanagedGetParameters, options?: AccessMethodsUnmanagedGetOptions) => AccessMethodsUnmanagedGetRequest;
|
|
107
|
+
get '/access_methods/unmanaged/list'(): (parameters?: AccessMethodsUnmanagedListParameters, options?: AccessMethodsUnmanagedListOptions) => AccessMethodsUnmanagedListRequest;
|
|
101
108
|
get '/acs/access_groups/add_user'(): (parameters?: AcsAccessGroupsAddUserParameters, options?: AcsAccessGroupsAddUserOptions) => AcsAccessGroupsAddUserRequest;
|
|
102
109
|
get '/acs/access_groups/get'(): (parameters?: AcsAccessGroupsGetParameters, options?: AcsAccessGroupsGetOptions) => AcsAccessGroupsGetRequest;
|
|
103
110
|
get '/acs/access_groups/list'(): (parameters?: AcsAccessGroupsListParameters, options?: AcsAccessGroupsListOptions) => AcsAccessGroupsListRequest;
|
|
@@ -275,6 +282,8 @@ export declare class SeamHttpEndpoints {
|
|
|
275
282
|
get '/user_identities/enrollment_automations/get'(): (parameters?: UserIdentitiesEnrollmentAutomationsGetParameters, options?: UserIdentitiesEnrollmentAutomationsGetOptions) => UserIdentitiesEnrollmentAutomationsGetRequest;
|
|
276
283
|
get '/user_identities/enrollment_automations/launch'(): (parameters?: UserIdentitiesEnrollmentAutomationsLaunchParameters, options?: UserIdentitiesEnrollmentAutomationsLaunchOptions) => UserIdentitiesEnrollmentAutomationsLaunchRequest;
|
|
277
284
|
get '/user_identities/enrollment_automations/list'(): (parameters?: UserIdentitiesEnrollmentAutomationsListParameters, options?: UserIdentitiesEnrollmentAutomationsListOptions) => UserIdentitiesEnrollmentAutomationsListRequest;
|
|
285
|
+
get '/user_identities/unmanaged/get'(): (parameters?: UserIdentitiesUnmanagedGetParameters, options?: UserIdentitiesUnmanagedGetOptions) => UserIdentitiesUnmanagedGetRequest;
|
|
286
|
+
get '/user_identities/unmanaged/list'(): (parameters?: UserIdentitiesUnmanagedListParameters, options?: UserIdentitiesUnmanagedListOptions) => UserIdentitiesUnmanagedListRequest;
|
|
278
287
|
get '/webhooks/create'(): (parameters?: WebhooksCreateParameters, options?: WebhooksCreateOptions) => WebhooksCreateRequest;
|
|
279
288
|
get '/webhooks/delete'(): (parameters?: WebhooksDeleteParameters, options?: WebhooksDeleteOptions) => WebhooksDeleteRequest;
|
|
280
289
|
get '/webhooks/get'(): (parameters?: WebhooksGetParameters, options?: WebhooksGetOptions) => WebhooksGetRequest;
|
|
@@ -292,6 +301,6 @@ export declare class SeamHttpEndpoints {
|
|
|
292
301
|
get '/workspaces/customization_profiles/update'(): (parameters?: WorkspacesCustomizationProfilesUpdateParameters, options?: WorkspacesCustomizationProfilesUpdateOptions) => WorkspacesCustomizationProfilesUpdateRequest;
|
|
293
302
|
get '/workspaces/customization_profiles/upload_images'(): (parameters?: WorkspacesCustomizationProfilesUploadImagesParameters, options?: WorkspacesCustomizationProfilesUploadImagesOptions) => WorkspacesCustomizationProfilesUploadImagesRequest;
|
|
294
303
|
}
|
|
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';
|
|
296
|
-
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' | '/seam/console/v1/timelines/get' | '/seam/customer/v1/automation_runs/list' | '/seam/customer/v1/reservations/list';
|
|
304
|
+
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';
|
|
305
|
+
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
306
|
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';
|
|
@@ -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';
|
|
@@ -60,6 +62,7 @@ import { SeamHttpThermostatsSimulate, } from './thermostats/simulate/index.js';
|
|
|
60
62
|
import { SeamHttpUnstablePartnerBuildingBlocks, } from './unstable-partner/building-blocks/index.js';
|
|
61
63
|
import { SeamHttpUserIdentitiesEnrollmentAutomations, } from './user-identities/enrollment-automations/index.js';
|
|
62
64
|
import { SeamHttpUserIdentities, } from './user-identities/index.js';
|
|
65
|
+
import { SeamHttpUserIdentitiesUnmanaged, } from './user-identities/unmanaged/index.js';
|
|
63
66
|
import { SeamHttpWebhooks, } from './webhooks/index.js';
|
|
64
67
|
import { SeamHttpWorkspacesCustomizationProfiles, } from './workspaces/customization-profiles/index.js';
|
|
65
68
|
import { SeamHttpWorkspaces, } from './workspaces/index.js';
|
|
@@ -292,6 +295,20 @@ export class SeamHttpEndpoints {
|
|
|
292
295
|
return seam.update(...args);
|
|
293
296
|
};
|
|
294
297
|
}
|
|
298
|
+
get '/access_grants/unmanaged/get'() {
|
|
299
|
+
const { client, defaults } = this;
|
|
300
|
+
return function accessGrantsUnmanagedGet(...args) {
|
|
301
|
+
const seam = SeamHttpAccessGrantsUnmanaged.fromClient(client, defaults);
|
|
302
|
+
return seam.get(...args);
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
get '/access_grants/unmanaged/list'() {
|
|
306
|
+
const { client, defaults } = this;
|
|
307
|
+
return function accessGrantsUnmanagedList(...args) {
|
|
308
|
+
const seam = SeamHttpAccessGrantsUnmanaged.fromClient(client, defaults);
|
|
309
|
+
return seam.list(...args);
|
|
310
|
+
};
|
|
311
|
+
}
|
|
295
312
|
get '/access_methods/delete'() {
|
|
296
313
|
const { client, defaults } = this;
|
|
297
314
|
return function accessMethodsDelete(...args) {
|
|
@@ -327,6 +344,20 @@ export class SeamHttpEndpoints {
|
|
|
327
344
|
return seam.list(...args);
|
|
328
345
|
};
|
|
329
346
|
}
|
|
347
|
+
get '/access_methods/unmanaged/get'() {
|
|
348
|
+
const { client, defaults } = this;
|
|
349
|
+
return function accessMethodsUnmanagedGet(...args) {
|
|
350
|
+
const seam = SeamHttpAccessMethodsUnmanaged.fromClient(client, defaults);
|
|
351
|
+
return seam.get(...args);
|
|
352
|
+
};
|
|
353
|
+
}
|
|
354
|
+
get '/access_methods/unmanaged/list'() {
|
|
355
|
+
const { client, defaults } = this;
|
|
356
|
+
return function accessMethodsUnmanagedList(...args) {
|
|
357
|
+
const seam = SeamHttpAccessMethodsUnmanaged.fromClient(client, defaults);
|
|
358
|
+
return seam.list(...args);
|
|
359
|
+
};
|
|
360
|
+
}
|
|
330
361
|
get '/acs/access_groups/add_user'() {
|
|
331
362
|
const { client, defaults } = this;
|
|
332
363
|
return function acsAccessGroupsAddUser(...args) {
|
|
@@ -1668,6 +1699,20 @@ export class SeamHttpEndpoints {
|
|
|
1668
1699
|
return seam.list(...args);
|
|
1669
1700
|
};
|
|
1670
1701
|
}
|
|
1702
|
+
get '/user_identities/unmanaged/get'() {
|
|
1703
|
+
const { client, defaults } = this;
|
|
1704
|
+
return function userIdentitiesUnmanagedGet(...args) {
|
|
1705
|
+
const seam = SeamHttpUserIdentitiesUnmanaged.fromClient(client, defaults);
|
|
1706
|
+
return seam.get(...args);
|
|
1707
|
+
};
|
|
1708
|
+
}
|
|
1709
|
+
get '/user_identities/unmanaged/list'() {
|
|
1710
|
+
const { client, defaults } = this;
|
|
1711
|
+
return function userIdentitiesUnmanagedList(...args) {
|
|
1712
|
+
const seam = SeamHttpUserIdentitiesUnmanaged.fromClient(client, defaults);
|
|
1713
|
+
return seam.list(...args);
|
|
1714
|
+
};
|
|
1715
|
+
}
|
|
1671
1716
|
get '/webhooks/create'() {
|
|
1672
1717
|
const { client, defaults } = this;
|
|
1673
1718
|
return function webhooksCreate(...args) {
|