@seamapi/http 1.41.0 → 1.43.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.
Files changed (47) hide show
  1. package/dist/connect.cjs +332 -41
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +131 -143
  4. package/lib/seam/connect/resolve-action-attempt.d.ts +32 -168
  5. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +12 -0
  6. package/lib/seam/connect/routes/access-methods/access-methods.js +9 -0
  7. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  8. package/lib/seam/connect/routes/acs/encoders/encoders.d.ts +0 -12
  9. package/lib/seam/connect/routes/acs/encoders/encoders.js +0 -9
  10. package/lib/seam/connect/routes/acs/encoders/encoders.js.map +1 -1
  11. package/lib/seam/connect/routes/locks/simulate/simulate.js +0 -9
  12. package/lib/seam/connect/routes/locks/simulate/simulate.js.map +1 -1
  13. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.d.ts +34 -0
  14. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js +102 -0
  15. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.js.map +1 -0
  16. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.d.ts +1 -0
  17. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js +6 -0
  18. package/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.js.map +1 -0
  19. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.d.ts +60 -0
  20. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js +126 -0
  21. package/lib/seam/connect/routes/seam/customer/v1/automations/automations.js.map +1 -0
  22. package/lib/seam/connect/routes/seam/customer/v1/automations/index.d.ts +1 -0
  23. package/lib/seam/connect/routes/seam/customer/v1/automations/index.js +6 -0
  24. package/lib/seam/connect/routes/seam/customer/v1/automations/index.js.map +1 -0
  25. package/lib/seam/connect/routes/seam/customer/v1/index.d.ts +2 -0
  26. package/lib/seam/connect/routes/seam/customer/v1/index.js +2 -0
  27. package/lib/seam/connect/routes/seam/customer/v1/index.js.map +1 -1
  28. package/lib/seam/connect/routes/seam/customer/v1/v1.d.ts +4 -0
  29. package/lib/seam/connect/routes/seam/customer/v1/v1.js +8 -0
  30. package/lib/seam/connect/routes/seam/customer/v1/v1.js.map +1 -1
  31. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +12 -6
  32. package/lib/seam/connect/routes/seam-http-endpoints.js +49 -13
  33. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  34. package/lib/version.d.ts +1 -1
  35. package/lib/version.js +1 -1
  36. package/package.json +3 -3
  37. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +38 -0
  38. package/src/lib/seam/connect/routes/acs/encoders/encoders.ts +0 -39
  39. package/src/lib/seam/connect/routes/locks/simulate/simulate.ts +0 -15
  40. package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.ts +215 -0
  41. package/src/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.ts +6 -0
  42. package/src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts +303 -0
  43. package/src/lib/seam/connect/routes/seam/customer/v1/automations/index.ts +6 -0
  44. package/src/lib/seam/connect/routes/seam/customer/v1/index.ts +2 -0
  45. package/src/lib/seam/connect/routes/seam/customer/v1/v1.ts +16 -0
  46. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +128 -31
  47. package/src/lib/version.ts +1 -1
@@ -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 SeamHttpSeamCustomerV1AutomationRuns {
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'>): SeamHttpSeamCustomerV1AutomationRuns;
14
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1AutomationRuns;
15
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1AutomationRuns;
16
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1AutomationRuns>;
17
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1AutomationRuns;
18
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1AutomationRuns;
19
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
21
+ list(parameters?: SeamCustomerV1AutomationRunsListParameters, options?: SeamCustomerV1AutomationRunsListOptions): SeamCustomerV1AutomationRunsListRequest;
22
+ }
23
+ export type SeamCustomerV1AutomationRunsListParameters = RouteRequestBody<'/seam/customer/v1/automation_runs/list'>;
24
+ /**
25
+ * @deprecated Use SeamCustomerV1AutomationRunsListParameters instead.
26
+ */
27
+ export type SeamCustomerV1AutomationRunsListParams = SeamCustomerV1AutomationRunsListParameters;
28
+ /**
29
+ * @deprecated Use SeamCustomerV1AutomationRunsListRequest instead.
30
+ */
31
+ export type SeamCustomerV1AutomationRunsListResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automation_runs/list'>>>;
32
+ export type SeamCustomerV1AutomationRunsListRequest = SeamHttpRequest<SeamCustomerV1AutomationRunsListResponse, 'automation_runs'>;
33
+ export interface SeamCustomerV1AutomationRunsListOptions {
34
+ }
@@ -0,0 +1,102 @@
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 SeamHttpSeamCustomerV1AutomationRuns {
14
+ constructor(apiKeyOrOptions = {}) {
15
+ this.ltsVersion = seamApiLtsVersion;
16
+ const options = parseOptions(apiKeyOrOptions);
17
+ if (!options.isUndocumentedApiEnabled) {
18
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
19
+ }
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 SeamHttpSeamCustomerV1AutomationRuns(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 SeamHttpSeamCustomerV1AutomationRuns(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 SeamHttpSeamCustomerV1AutomationRuns(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 SeamHttpSeamCustomerV1AutomationRuns.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 SeamHttpSeamCustomerV1AutomationRuns.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 SeamHttpSeamCustomerV1AutomationRuns(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 SeamHttpSeamCustomerV1AutomationRuns(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
+ list(parameters, options = {}) {
89
+ if (!this.defaults.isUndocumentedApiEnabled) {
90
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
91
+ }
92
+ return new SeamHttpRequest(this, {
93
+ pathname: '/seam/customer/v1/automation_runs/list',
94
+ method: 'POST',
95
+ body: parameters,
96
+ responseKey: 'automation_runs',
97
+ options,
98
+ });
99
+ }
100
+ }
101
+ SeamHttpSeamCustomerV1AutomationRuns.ltsVersion = seamApiLtsVersion;
102
+ //# sourceMappingURL=automation-runs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automation-runs.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/automation-runs/automation-runs.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,oCAAoC;IAM/C,YAAY,kBAA4C,EAAE;QAHjD,eAAU,GAAG,iBAAiB,CAAA;QAIrC,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,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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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,IAAI,CACF,UAAuD,EACvD,UAAmD,EAAE;QAErD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,wCAAwC;YAClD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,iBAAiB;YAC9B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAnJM,+CAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -0,0 +1 @@
1
+ export * from './automation-runs.js';
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ export * from './automation-runs.js';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/automation-runs/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,sBAAsB,CAAA"}
@@ -0,0 +1,60 @@
1
+ import type { RouteRequestBody, RouteRequestParams, 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 SeamHttpSeamCustomerV1Automations {
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'>): SeamHttpSeamCustomerV1Automations;
14
+ static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpSeamCustomerV1Automations;
15
+ static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpSeamCustomerV1Automations;
16
+ static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpSeamCustomerV1Automations>;
17
+ static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Automations;
18
+ static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1Automations;
19
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
+ updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
21
+ delete(parameters?: SeamCustomerV1AutomationsDeleteParameters, options?: SeamCustomerV1AutomationsDeleteOptions): SeamCustomerV1AutomationsDeleteRequest;
22
+ get(parameters?: SeamCustomerV1AutomationsGetParameters, options?: SeamCustomerV1AutomationsGetOptions): SeamCustomerV1AutomationsGetRequest;
23
+ update(parameters?: SeamCustomerV1AutomationsUpdateParameters, options?: SeamCustomerV1AutomationsUpdateOptions): SeamCustomerV1AutomationsUpdateRequest;
24
+ }
25
+ export type SeamCustomerV1AutomationsDeleteParameters = RouteRequestBody<'/seam/customer/v1/automations/delete'>;
26
+ /**
27
+ * @deprecated Use SeamCustomerV1AutomationsDeleteParameters instead.
28
+ */
29
+ export type SeamCustomerV1AutomationsDeleteParams = SeamCustomerV1AutomationsDeleteParameters;
30
+ /**
31
+ * @deprecated Use SeamCustomerV1AutomationsDeleteRequest instead.
32
+ */
33
+ export type SeamCustomerV1AutomationsDeleteResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automations/delete'>>>;
34
+ export type SeamCustomerV1AutomationsDeleteRequest = SeamHttpRequest<void, undefined>;
35
+ export interface SeamCustomerV1AutomationsDeleteOptions {
36
+ }
37
+ export type SeamCustomerV1AutomationsGetParameters = RouteRequestParams<'/seam/customer/v1/automations/get'>;
38
+ /**
39
+ * @deprecated Use SeamCustomerV1AutomationsGetParameters instead.
40
+ */
41
+ export type SeamCustomerV1AutomationsGetParams = SeamCustomerV1AutomationsGetParameters;
42
+ /**
43
+ * @deprecated Use SeamCustomerV1AutomationsGetRequest instead.
44
+ */
45
+ export type SeamCustomerV1AutomationsGetResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automations/get'>>>;
46
+ export type SeamCustomerV1AutomationsGetRequest = SeamHttpRequest<void, undefined>;
47
+ export interface SeamCustomerV1AutomationsGetOptions {
48
+ }
49
+ export type SeamCustomerV1AutomationsUpdateParameters = RouteRequestBody<'/seam/customer/v1/automations/update'>;
50
+ /**
51
+ * @deprecated Use SeamCustomerV1AutomationsUpdateParameters instead.
52
+ */
53
+ export type SeamCustomerV1AutomationsUpdateBody = SeamCustomerV1AutomationsUpdateParameters;
54
+ /**
55
+ * @deprecated Use SeamCustomerV1AutomationsUpdateRequest instead.
56
+ */
57
+ export type SeamCustomerV1AutomationsUpdateResponse = SetNonNullable<Required<RouteResponse<'/seam/customer/v1/automations/update'>>>;
58
+ export type SeamCustomerV1AutomationsUpdateRequest = SeamHttpRequest<void, undefined>;
59
+ export interface SeamCustomerV1AutomationsUpdateOptions {
60
+ }
@@ -0,0 +1,126 @@
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 SeamHttpSeamCustomerV1Automations {
14
+ constructor(apiKeyOrOptions = {}) {
15
+ this.ltsVersion = seamApiLtsVersion;
16
+ const options = parseOptions(apiKeyOrOptions);
17
+ if (!options.isUndocumentedApiEnabled) {
18
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
19
+ }
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 SeamHttpSeamCustomerV1Automations(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 SeamHttpSeamCustomerV1Automations(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 SeamHttpSeamCustomerV1Automations(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 SeamHttpSeamCustomerV1Automations.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 SeamHttpSeamCustomerV1Automations.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 SeamHttpSeamCustomerV1Automations(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 SeamHttpSeamCustomerV1Automations(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
+ delete(parameters, options = {}) {
89
+ if (!this.defaults.isUndocumentedApiEnabled) {
90
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
91
+ }
92
+ return new SeamHttpRequest(this, {
93
+ pathname: '/seam/customer/v1/automations/delete',
94
+ method: 'POST',
95
+ body: parameters,
96
+ responseKey: undefined,
97
+ options,
98
+ });
99
+ }
100
+ get(parameters, options = {}) {
101
+ if (!this.defaults.isUndocumentedApiEnabled) {
102
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
103
+ }
104
+ return new SeamHttpRequest(this, {
105
+ pathname: '/seam/customer/v1/automations/get',
106
+ method: 'GET',
107
+ params: parameters,
108
+ responseKey: undefined,
109
+ options,
110
+ });
111
+ }
112
+ update(parameters, options = {}) {
113
+ if (!this.defaults.isUndocumentedApiEnabled) {
114
+ throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
115
+ }
116
+ return new SeamHttpRequest(this, {
117
+ pathname: '/seam/customer/v1/automations/update',
118
+ method: 'PATCH',
119
+ body: parameters,
120
+ responseKey: undefined,
121
+ options,
122
+ });
123
+ }
124
+ }
125
+ SeamHttpSeamCustomerV1Automations.ltsVersion = seamApiLtsVersion;
126
+ //# sourceMappingURL=automations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"automations.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/automations/automations.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAQH,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,uCAAu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;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,sCAAsC;YAChD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,GAAG,CACD,UAAmD,EACnD,UAA+C,EAAE;QAEjD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,mCAAmC;YAC7C,MAAM,EAAE,KAAK;YACb,MAAM,EAAE,UAAU;YAClB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CACJ,UAAsD,EACtD,UAAkD,EAAE;QAEpD,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,wBAAwB,EAAE,CAAC;YAC5C,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,sCAAsC;YAChD,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAvLM,4CAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -0,0 +1 @@
1
+ export * from './automations.js';
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+ export * from './automations.js';
6
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../../src/lib/seam/connect/routes/seam/customer/v1/automations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,kBAAkB,CAAA"}
@@ -1,3 +1,5 @@
1
+ export * from './automation-runs/index.js';
2
+ export * from './automations/index.js';
1
3
  export * from './portals/index.js';
2
4
  export * from './settings/index.js';
3
5
  export * from './v1.js';
@@ -2,6 +2,8 @@
2
2
  * Automatically generated by codegen/smith.ts.
3
3
  * Do not edit this file or add other files to this directory.
4
4
  */
5
+ export * from './automation-runs/index.js';
6
+ export * from './automations/index.js';
5
7
  export * from './portals/index.js';
6
8
  export * from './settings/index.js';
7
9
  export * from './v1.js';
@@ -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,oBAAoB,CAAA;AAClC,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,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,SAAS,CAAA"}
@@ -2,6 +2,8 @@ import { type Client } from '../../../../../../../lib/seam/connect/client.js';
2
2
  import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../../../../lib/seam/connect/options.js';
3
3
  import type { SeamHttpRequest } from '../../../../../../../lib/seam/connect/seam-http-request.js';
4
4
  import { SeamPaginator } from '../../../../../../../lib/seam/connect/seam-paginator.js';
5
+ import { SeamHttpSeamCustomerV1AutomationRuns } from './automation-runs/index.js';
6
+ import { SeamHttpSeamCustomerV1Automations } from './automations/index.js';
5
7
  import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
6
8
  import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
7
9
  export declare class SeamHttpSeamCustomerV1 {
@@ -18,6 +20,8 @@ export declare class SeamHttpSeamCustomerV1 {
18
20
  static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpSeamCustomerV1;
19
21
  createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
22
  updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
23
+ get automationRuns(): SeamHttpSeamCustomerV1AutomationRuns;
24
+ get automations(): SeamHttpSeamCustomerV1Automations;
21
25
  get portals(): SeamHttpSeamCustomerV1Portals;
22
26
  get settings(): SeamHttpSeamCustomerV1Settings;
23
27
  }
@@ -9,6 +9,8 @@ import { isSeamHttpOptionsWithApiKey, isSeamHttpOptionsWithClient, isSeamHttpOpt
9
9
  import { limitToSeamHttpRequestOptions, parseOptions, } from '../../../../../../../lib/seam/connect/parse-options.js';
10
10
  import { SeamHttpClientSessions } from '../../../../../../../lib/seam/connect/routes/client-sessions/index.js';
11
11
  import { SeamPaginator } from '../../../../../../../lib/seam/connect/seam-paginator.js';
12
+ import { SeamHttpSeamCustomerV1AutomationRuns } from './automation-runs/index.js';
13
+ import { SeamHttpSeamCustomerV1Automations } from './automations/index.js';
12
14
  import { SeamHttpSeamCustomerV1Portals } from './portals/index.js';
13
15
  import { SeamHttpSeamCustomerV1Settings } from './settings/index.js';
14
16
  export class SeamHttpSeamCustomerV1 {
@@ -86,6 +88,12 @@ export class SeamHttpSeamCustomerV1 {
86
88
  const clientSessions = SeamHttpClientSessions.fromClient(this.client);
87
89
  await clientSessions.get();
88
90
  }
91
+ get automationRuns() {
92
+ return SeamHttpSeamCustomerV1AutomationRuns.fromClient(this.client, this.defaults);
93
+ }
94
+ get automations() {
95
+ return SeamHttpSeamCustomerV1Automations.fromClient(this.client, this.defaults);
96
+ }
89
97
  get portals() {
90
98
  return SeamHttpSeamCustomerV1Portals.fromClient(this.client, this.defaults);
91
99
  }
@@ -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,6BAA6B,EAAE,MAAM,oBAAoB,CAAA;AAClE,OAAO,EAAE,8BAA8B,EAAE,MAAM,qBAAqB,CAAA;AAEpE,MAAM,OAAO,sBAAsB;IAMjC,YAAY,kBAA4C,EAAE;QAHjD,eAAU,GAAG,iBAAiB,CAAA;QAIrC,MAAM,OAAO,GAAG,YAAY,CAAC,eAAe,CAAC,CAAA;QAC7C,IAAI,CAAC,OAAO,CAAC,wBAAwB,EAAE,CAAC;YACtC,MAAM,IAAI,KAAK,CACb,8DAA8D,CAC/D,CAAA;QACH,CAAC;QACD,IAAI,CAA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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,IAAI,cAAc;QAChB,OAAO,oCAAoC,CAAC,UAAU,CACpD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,QAAQ,CACd,CAAA;IACH,CAAC;IAED,IAAI,WAAW;QACb,OAAO,iCAAiC,CAAC,UAAU,CACjD,IAAI,CAAC,MAAM,EACX,IAAI,CAAC,QAAQ,CACd,CAAA;IACH,CAAC;IAED,IAAI,OAAO;QACT,OAAO,6BAA6B,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC7E,CAAC;IAED,IAAI,QAAQ;QACV,OAAO,8BAA8B,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAA;IAC9E,CAAC;;AApJM,iCAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -6,14 +6,14 @@ 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 AccessGrantsGetRequest, type AccessGrantsListOptions, type AccessGrantsListParameters, type AccessGrantsListRequest, type AccessGrantsUpdateOptions, type AccessGrantsUpdateParameters, type AccessGrantsUpdateRequest } from './access-grants/index.js';
9
- import { type AccessMethodsDeleteOptions, type AccessMethodsDeleteParameters, type AccessMethodsDeleteRequest, type AccessMethodsGetOptions, type AccessMethodsGetParameters, type AccessMethodsGetRequest, type AccessMethodsListOptions, type AccessMethodsListParameters, type AccessMethodsListRequest } from './access-methods/index.js';
9
+ import { type AccessMethodsDeleteOptions, type AccessMethodsDeleteParameters, type AccessMethodsDeleteRequest, type AccessMethodsEncodeOptions, type AccessMethodsEncodeParameters, type AccessMethodsEncodeRequest, type AccessMethodsGetOptions, type AccessMethodsGetParameters, type AccessMethodsGetRequest, type AccessMethodsListOptions, type AccessMethodsListParameters, type AccessMethodsListRequest } from './access-methods/index.js';
10
10
  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
11
  import { type AcsAccessGroupsUnmanagedGetOptions, type AcsAccessGroupsUnmanagedGetParameters, type AcsAccessGroupsUnmanagedGetRequest, type AcsAccessGroupsUnmanagedListOptions, type AcsAccessGroupsUnmanagedListParameters, type AcsAccessGroupsUnmanagedListRequest } from './acs/access-groups/unmanaged/index.js';
12
12
  import { type AcsCredentialPoolsListOptions, type AcsCredentialPoolsListParameters, type AcsCredentialPoolsListRequest } from './acs/credential-pools/index.js';
13
13
  import { type AcsCredentialProvisioningAutomationsLaunchOptions, type AcsCredentialProvisioningAutomationsLaunchParameters, type AcsCredentialProvisioningAutomationsLaunchRequest } from './acs/credential-provisioning-automations/index.js';
14
14
  import { type AcsCredentialsAssignOptions, type AcsCredentialsAssignParameters, type AcsCredentialsAssignRequest, type AcsCredentialsCreateOfflineCodeOptions, type AcsCredentialsCreateOfflineCodeParameters, type AcsCredentialsCreateOfflineCodeRequest, type AcsCredentialsCreateOptions, type AcsCredentialsCreateParameters, type AcsCredentialsCreateRequest, type AcsCredentialsDeleteOptions, type AcsCredentialsDeleteParameters, type AcsCredentialsDeleteRequest, type AcsCredentialsGetOptions, type AcsCredentialsGetParameters, type AcsCredentialsGetRequest, type AcsCredentialsListAccessibleEntrancesOptions, type AcsCredentialsListAccessibleEntrancesParameters, type AcsCredentialsListAccessibleEntrancesRequest, type AcsCredentialsListOptions, type AcsCredentialsListParameters, type AcsCredentialsListRequest, type AcsCredentialsUnassignOptions, type AcsCredentialsUnassignParameters, type AcsCredentialsUnassignRequest, type AcsCredentialsUpdateOptions, type AcsCredentialsUpdateParameters, type AcsCredentialsUpdateRequest } from './acs/credentials/index.js';
15
15
  import { type AcsCredentialsUnmanagedGetOptions, type AcsCredentialsUnmanagedGetParameters, type AcsCredentialsUnmanagedGetRequest, type AcsCredentialsUnmanagedListOptions, type AcsCredentialsUnmanagedListParameters, type AcsCredentialsUnmanagedListRequest } from './acs/credentials/unmanaged/index.js';
16
- import { type AcsEncodersEncodeAccessMethodOptions, type AcsEncodersEncodeAccessMethodParameters, type AcsEncodersEncodeAccessMethodRequest, type AcsEncodersEncodeCredentialOptions, type AcsEncodersEncodeCredentialParameters, type AcsEncodersEncodeCredentialRequest, type AcsEncodersGetOptions, type AcsEncodersGetParameters, type AcsEncodersGetRequest, type AcsEncodersListOptions, type AcsEncodersListParameters, type AcsEncodersListRequest, type AcsEncodersScanCredentialOptions, type AcsEncodersScanCredentialParameters, type AcsEncodersScanCredentialRequest } from './acs/encoders/index.js';
16
+ import { type AcsEncodersEncodeCredentialOptions, type AcsEncodersEncodeCredentialParameters, type AcsEncodersEncodeCredentialRequest, type AcsEncodersGetOptions, type AcsEncodersGetParameters, type AcsEncodersGetRequest, type AcsEncodersListOptions, type AcsEncodersListParameters, type AcsEncodersListRequest, type AcsEncodersScanCredentialOptions, type AcsEncodersScanCredentialParameters, type AcsEncodersScanCredentialRequest } from './acs/encoders/index.js';
17
17
  import { type AcsEncodersSimulateNextCredentialEncodeWillFailOptions, type AcsEncodersSimulateNextCredentialEncodeWillFailParameters, type AcsEncodersSimulateNextCredentialEncodeWillFailRequest, type AcsEncodersSimulateNextCredentialEncodeWillSucceedOptions, type AcsEncodersSimulateNextCredentialEncodeWillSucceedParameters, type AcsEncodersSimulateNextCredentialEncodeWillSucceedRequest, type AcsEncodersSimulateNextCredentialScanWillFailOptions, type AcsEncodersSimulateNextCredentialScanWillFailParameters, type AcsEncodersSimulateNextCredentialScanWillFailRequest, type AcsEncodersSimulateNextCredentialScanWillSucceedOptions, type AcsEncodersSimulateNextCredentialScanWillSucceedParameters, type AcsEncodersSimulateNextCredentialScanWillSucceedRequest } from './acs/encoders/simulate/index.js';
18
18
  import { type AcsEntrancesGetOptions, type AcsEntrancesGetParameters, type AcsEntrancesGetRequest, type AcsEntrancesGrantAccessOptions, type AcsEntrancesGrantAccessParameters, type AcsEntrancesGrantAccessRequest, type AcsEntrancesListCredentialsWithAccessOptions, type AcsEntrancesListCredentialsWithAccessParameters, type AcsEntrancesListCredentialsWithAccessRequest, type AcsEntrancesListOptions, type AcsEntrancesListParameters, type AcsEntrancesListRequest } from './acs/entrances/index.js';
19
19
  import { type AcsSystemsGetOptions, type AcsSystemsGetParameters, type AcsSystemsGetRequest, type AcsSystemsListCompatibleCredentialManagerAcsSystemsOptions, type AcsSystemsListCompatibleCredentialManagerAcsSystemsParameters, type AcsSystemsListCompatibleCredentialManagerAcsSystemsRequest, type AcsSystemsListOptions, type AcsSystemsListParameters, type AcsSystemsListRequest } from './acs/systems/index.js';
@@ -37,6 +37,8 @@ import { type NoiseSensorsNoiseThresholdsCreateOptions, type NoiseSensorsNoiseTh
37
37
  import { type NoiseSensorsSimulateTriggerNoiseThresholdOptions, type NoiseSensorsSimulateTriggerNoiseThresholdParameters, type NoiseSensorsSimulateTriggerNoiseThresholdRequest } from './noise-sensors/simulate/index.js';
38
38
  import { type PhonesDeactivateOptions, type PhonesDeactivateParameters, type PhonesDeactivateRequest, type PhonesGetOptions, type PhonesGetParameters, type PhonesGetRequest, type PhonesListOptions, type PhonesListParameters, type PhonesListRequest } from './phones/index.js';
39
39
  import { type PhonesSimulateCreateSandboxPhoneOptions, type PhonesSimulateCreateSandboxPhoneParameters, type PhonesSimulateCreateSandboxPhoneRequest } from './phones/simulate/index.js';
40
+ import { type SeamCustomerV1AutomationRunsListOptions, type SeamCustomerV1AutomationRunsListParameters, type SeamCustomerV1AutomationRunsListRequest } from './seam/customer/v1/automation-runs/index.js';
41
+ import { type SeamCustomerV1AutomationsDeleteOptions, type SeamCustomerV1AutomationsDeleteParameters, type SeamCustomerV1AutomationsDeleteRequest, type SeamCustomerV1AutomationsGetOptions, type SeamCustomerV1AutomationsGetParameters, type SeamCustomerV1AutomationsGetRequest, type SeamCustomerV1AutomationsUpdateOptions, type SeamCustomerV1AutomationsUpdateParameters, type SeamCustomerV1AutomationsUpdateRequest } from './seam/customer/v1/automations/index.js';
40
42
  import { type SeamCustomerV1PortalsGetOptions, type SeamCustomerV1PortalsGetParameters, type SeamCustomerV1PortalsGetRequest } from './seam/customer/v1/portals/index.js';
41
43
  import { type SeamCustomerV1SettingsUpdateOptions, type SeamCustomerV1SettingsUpdateParameters, type SeamCustomerV1SettingsUpdateRequest } from './seam/customer/v1/settings/index.js';
42
44
  import { type SeamPartnerV1BuildingBlocksSpacesAutoMapOptions, type SeamPartnerV1BuildingBlocksSpacesAutoMapParameters, type SeamPartnerV1BuildingBlocksSpacesAutoMapRequest } from './seam/partner/v1/building-blocks/spaces/index.js';
@@ -89,6 +91,7 @@ export declare class SeamHttpEndpoints {
89
91
  get ['/access_grants/list'](): (parameters?: AccessGrantsListParameters, options?: AccessGrantsListOptions) => AccessGrantsListRequest;
90
92
  get ['/access_grants/update'](): (parameters?: AccessGrantsUpdateParameters, options?: AccessGrantsUpdateOptions) => AccessGrantsUpdateRequest;
91
93
  get ['/access_methods/delete'](): (parameters?: AccessMethodsDeleteParameters, options?: AccessMethodsDeleteOptions) => AccessMethodsDeleteRequest;
94
+ get ['/access_methods/encode'](): (parameters?: AccessMethodsEncodeParameters, options?: AccessMethodsEncodeOptions) => AccessMethodsEncodeRequest;
92
95
  get ['/access_methods/get'](): (parameters?: AccessMethodsGetParameters, options?: AccessMethodsGetOptions) => AccessMethodsGetRequest;
93
96
  get ['/access_methods/list'](): (parameters?: AccessMethodsListParameters, options?: AccessMethodsListOptions) => AccessMethodsListRequest;
94
97
  get ['/acs/access_groups/add_user'](): (parameters?: AcsAccessGroupsAddUserParameters, options?: AcsAccessGroupsAddUserOptions) => AcsAccessGroupsAddUserRequest;
@@ -112,7 +115,6 @@ export declare class SeamHttpEndpoints {
112
115
  get ['/acs/credentials/update'](): (parameters?: AcsCredentialsUpdateParameters, options?: AcsCredentialsUpdateOptions) => AcsCredentialsUpdateRequest;
113
116
  get ['/acs/credentials/unmanaged/get'](): (parameters?: AcsCredentialsUnmanagedGetParameters, options?: AcsCredentialsUnmanagedGetOptions) => AcsCredentialsUnmanagedGetRequest;
114
117
  get ['/acs/credentials/unmanaged/list'](): (parameters?: AcsCredentialsUnmanagedListParameters, options?: AcsCredentialsUnmanagedListOptions) => AcsCredentialsUnmanagedListRequest;
115
- get ['/acs/encoders/encode_access_method'](): (parameters?: AcsEncodersEncodeAccessMethodParameters, options?: AcsEncodersEncodeAccessMethodOptions) => AcsEncodersEncodeAccessMethodRequest;
116
118
  get ['/acs/encoders/encode_credential'](): (parameters?: AcsEncodersEncodeCredentialParameters, options?: AcsEncodersEncodeCredentialOptions) => AcsEncodersEncodeCredentialRequest;
117
119
  get ['/acs/encoders/get'](): (parameters?: AcsEncodersGetParameters, options?: AcsEncodersGetOptions) => AcsEncodersGetRequest;
118
120
  get ['/acs/encoders/list'](): (parameters?: AcsEncodersListParameters, options?: AcsEncodersListOptions) => AcsEncodersListRequest;
@@ -195,6 +197,10 @@ export declare class SeamHttpEndpoints {
195
197
  get ['/phones/get'](): (parameters?: PhonesGetParameters, options?: PhonesGetOptions) => PhonesGetRequest;
196
198
  get ['/phones/list'](): (parameters?: PhonesListParameters, options?: PhonesListOptions) => PhonesListRequest;
197
199
  get ['/phones/simulate/create_sandbox_phone'](): (parameters?: PhonesSimulateCreateSandboxPhoneParameters, options?: PhonesSimulateCreateSandboxPhoneOptions) => PhonesSimulateCreateSandboxPhoneRequest;
200
+ get ['/seam/customer/v1/automation_runs/list'](): (parameters?: SeamCustomerV1AutomationRunsListParameters, options?: SeamCustomerV1AutomationRunsListOptions) => SeamCustomerV1AutomationRunsListRequest;
201
+ get ['/seam/customer/v1/automations/delete'](): (parameters?: SeamCustomerV1AutomationsDeleteParameters, options?: SeamCustomerV1AutomationsDeleteOptions) => SeamCustomerV1AutomationsDeleteRequest;
202
+ get ['/seam/customer/v1/automations/get'](): (parameters?: SeamCustomerV1AutomationsGetParameters, options?: SeamCustomerV1AutomationsGetOptions) => SeamCustomerV1AutomationsGetRequest;
203
+ get ['/seam/customer/v1/automations/update'](): (parameters?: SeamCustomerV1AutomationsUpdateParameters, options?: SeamCustomerV1AutomationsUpdateOptions) => SeamCustomerV1AutomationsUpdateRequest;
198
204
  get ['/seam/customer/v1/portals/get'](): (parameters?: SeamCustomerV1PortalsGetParameters, options?: SeamCustomerV1PortalsGetOptions) => SeamCustomerV1PortalsGetRequest;
199
205
  get ['/seam/customer/v1/settings/update'](): (parameters?: SeamCustomerV1SettingsUpdateParameters, options?: SeamCustomerV1SettingsUpdateOptions) => SeamCustomerV1SettingsUpdateRequest;
200
206
  get ['/seam/partner/v1/building_blocks/spaces/auto_map'](): (parameters?: SeamPartnerV1BuildingBlocksSpacesAutoMapParameters, options?: SeamPartnerV1BuildingBlocksSpacesAutoMapOptions) => SeamPartnerV1BuildingBlocksSpacesAutoMapRequest;
@@ -280,6 +286,6 @@ export declare class SeamHttpEndpoints {
280
286
  get ['/workspaces/reset_sandbox'](): (parameters?: WorkspacesResetSandboxParameters, options?: WorkspacesResetSandboxOptions) => WorkspacesResetSandboxRequest;
281
287
  get ['/workspaces/update'](): (parameters?: WorkspacesUpdateParameters, options?: WorkspacesUpdateOptions) => WorkspacesUpdateRequest;
282
288
  }
283
- export type SeamHttpEndpointQueryPaths = '/access_codes/generate_code' | '/access_codes/get' | '/access_codes/list' | '/access_codes/unmanaged/get' | '/access_codes/unmanaged/list' | '/access_grants/delete' | '/access_grants/get' | '/access_grants/list' | '/access_methods/delete' | '/access_methods/get' | '/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' | '/locks/get' | '/locks/list' | '/networks/get' | '/networks/list' | '/noise_sensors/list' | '/noise_sensors/noise_thresholds/get' | '/noise_sensors/noise_thresholds/list' | '/phones/get' | '/phones/list' | '/seam/customer/v1/portals/get' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/spaces/get' | '/spaces/list' | '/thermostats/get' | '/thermostats/list' | '/thermostats/schedules/get' | '/thermostats/schedules/list' | '/unstable_access_grants/delete' | '/unstable_access_grants/get' | '/unstable_access_grants/list' | '/unstable_access_methods/delete' | '/unstable_access_methods/get' | '/unstable_access_methods/list' | '/unstable_locations/get' | '/unstable_locations/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/get' | '/workspaces/list';
284
- export type SeamHttpEndpointPaginatedQueryPaths = '/access_codes/list' | '/acs/users/list' | '/connect_webviews/list' | '/connected_accounts/list' | '/devices/list';
285
- 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/update' | '/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_access_method' | '/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/push_data' | '/devices/delete' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/disconnect' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/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/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_access_grants/create' | '/unstable_locations/add_acs_entrances' | '/unstable_locations/add_devices' | '/unstable_locations/create' | '/unstable_locations/delete' | '/unstable_locations/remove_acs_entrances' | '/unstable_locations/remove_devices' | '/unstable_locations/update' | '/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';
289
+ 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/list' | '/access_methods/get' | '/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' | '/locks/get' | '/locks/list' | '/networks/get' | '/networks/list' | '/noise_sensors/list' | '/noise_sensors/noise_thresholds/get' | '/noise_sensors/noise_thresholds/list' | '/phones/get' | '/phones/list' | '/seam/customer/v1/automation_runs/list' | '/seam/customer/v1/automations/get' | '/seam/customer/v1/portals/get' | '/seam/partner/v1/building_blocks/spaces/auto_map' | '/spaces/get' | '/spaces/list' | '/thermostats/get' | '/thermostats/list' | '/thermostats/schedules/get' | '/thermostats/schedules/list' | '/unstable_access_grants/get' | '/unstable_access_grants/list' | '/unstable_access_methods/get' | '/unstable_access_methods/list' | '/unstable_locations/get' | '/unstable_locations/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/get' | '/workspaces/list';
290
+ export type SeamHttpEndpointPaginatedQueryPaths = '/access_codes/list' | '/acs/users/list' | '/connect_webviews/list' | '/connected_accounts/list' | '/devices/list' | '/seam/customer/v1/automation_runs/list';
291
+ 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/push_data' | '/devices/delete' | '/devices/update' | '/devices/simulate/connect' | '/devices/simulate/disconnect' | '/devices/simulate/remove' | '/devices/unmanaged/update' | '/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_access_grants/create' | '/unstable_access_grants/delete' | '/unstable_access_methods/delete' | '/unstable_locations/add_acs_entrances' | '/unstable_locations/add_devices' | '/unstable_locations/create' | '/unstable_locations/delete' | '/unstable_locations/remove_acs_entrances' | '/unstable_locations/remove_devices' | '/unstable_locations/update' | '/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';