@seamapi/http 1.56.0 → 1.58.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 (46) hide show
  1. package/dist/connect.cjs +0 -698
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +3 -278
  4. package/dist/index.cjs +0 -704
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/routes/index.d.ts +0 -3
  8. package/lib/seam/connect/routes/index.js +0 -3
  9. package/lib/seam/connect/routes/index.js.map +1 -1
  10. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +2 -21
  11. package/lib/seam/connect/routes/seam-http-endpoints.js +0 -163
  12. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  13. package/lib/seam/connect/routes/seam-http.d.ts +0 -6
  14. package/lib/seam/connect/routes/seam-http.js +0 -12
  15. package/lib/seam/connect/routes/seam-http.js.map +1 -1
  16. package/lib/version.d.ts +1 -1
  17. package/lib/version.js +1 -1
  18. package/package.json +3 -3
  19. package/src/lib/seam/connect/routes/index.ts +0 -3
  20. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +0 -361
  21. package/src/lib/seam/connect/routes/seam-http.ts +0 -15
  22. package/src/lib/version.ts +1 -1
  23. package/lib/seam/connect/routes/unstable-access-grants/index.d.ts +0 -1
  24. package/lib/seam/connect/routes/unstable-access-grants/index.js +0 -6
  25. package/lib/seam/connect/routes/unstable-access-grants/index.js.map +0 -1
  26. package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.d.ts +0 -73
  27. package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js +0 -138
  28. package/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.js.map +0 -1
  29. package/lib/seam/connect/routes/unstable-access-methods/index.d.ts +0 -1
  30. package/lib/seam/connect/routes/unstable-access-methods/index.js +0 -6
  31. package/lib/seam/connect/routes/unstable-access-methods/index.js.map +0 -1
  32. package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.d.ts +0 -60
  33. package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js +0 -126
  34. package/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.js.map +0 -1
  35. package/lib/seam/connect/routes/unstable-locations/index.d.ts +0 -1
  36. package/lib/seam/connect/routes/unstable-locations/index.js +0 -6
  37. package/lib/seam/connect/routes/unstable-locations/index.js.map +0 -1
  38. package/lib/seam/connect/routes/unstable-locations/unstable-locations.d.ts +0 -138
  39. package/lib/seam/connect/routes/unstable-locations/unstable-locations.js +0 -198
  40. package/lib/seam/connect/routes/unstable-locations/unstable-locations.js.map +0 -1
  41. package/src/lib/seam/connect/routes/unstable-access-grants/index.ts +0 -6
  42. package/src/lib/seam/connect/routes/unstable-access-grants/unstable-access-grants.ts +0 -333
  43. package/src/lib/seam/connect/routes/unstable-access-methods/index.ts +0 -6
  44. package/src/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.ts +0 -295
  45. package/src/lib/seam/connect/routes/unstable-locations/index.ts +0 -6
  46. package/src/lib/seam/connect/routes/unstable-locations/unstable-locations.ts +0 -544
@@ -1,6 +0,0 @@
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 './unstable-access-methods.js';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/unstable-access-methods/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,8BAA8B,CAAA"}
@@ -1,60 +0,0 @@
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 SeamHttpUnstableAccessMethods {
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'>): SeamHttpUnstableAccessMethods;
14
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpUnstableAccessMethods;
15
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpUnstableAccessMethods;
16
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpUnstableAccessMethods>;
17
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUnstableAccessMethods;
18
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUnstableAccessMethods;
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?: UnstableAccessMethodsDeleteParameters, options?: UnstableAccessMethodsDeleteOptions): UnstableAccessMethodsDeleteRequest;
22
- get(parameters?: UnstableAccessMethodsGetParameters, options?: UnstableAccessMethodsGetOptions): UnstableAccessMethodsGetRequest;
23
- list(parameters?: UnstableAccessMethodsListParameters, options?: UnstableAccessMethodsListOptions): UnstableAccessMethodsListRequest;
24
- }
25
- export type UnstableAccessMethodsDeleteParameters = RouteRequestBody<'/unstable_access_methods/delete'>;
26
- /**
27
- * @deprecated Use UnstableAccessMethodsDeleteParameters instead.
28
- */
29
- export type UnstableAccessMethodsDeleteParams = UnstableAccessMethodsDeleteParameters;
30
- /**
31
- * @deprecated Use UnstableAccessMethodsDeleteRequest instead.
32
- */
33
- export type UnstableAccessMethodsDeleteResponse = SetNonNullable<Required<RouteResponse<'/unstable_access_methods/delete'>>>;
34
- export type UnstableAccessMethodsDeleteRequest = SeamHttpRequest<void, undefined>;
35
- export interface UnstableAccessMethodsDeleteOptions {
36
- }
37
- export type UnstableAccessMethodsGetParameters = RouteRequestBody<'/unstable_access_methods/get'>;
38
- /**
39
- * @deprecated Use UnstableAccessMethodsGetParameters instead.
40
- */
41
- export type UnstableAccessMethodsGetParams = UnstableAccessMethodsGetParameters;
42
- /**
43
- * @deprecated Use UnstableAccessMethodsGetRequest instead.
44
- */
45
- export type UnstableAccessMethodsGetResponse = SetNonNullable<Required<RouteResponse<'/unstable_access_methods/get'>>>;
46
- export type UnstableAccessMethodsGetRequest = SeamHttpRequest<UnstableAccessMethodsGetResponse, 'access_method'>;
47
- export interface UnstableAccessMethodsGetOptions {
48
- }
49
- export type UnstableAccessMethodsListParameters = RouteRequestBody<'/unstable_access_methods/list'>;
50
- /**
51
- * @deprecated Use UnstableAccessMethodsListParameters instead.
52
- */
53
- export type UnstableAccessMethodsListParams = UnstableAccessMethodsListParameters;
54
- /**
55
- * @deprecated Use UnstableAccessMethodsListRequest instead.
56
- */
57
- export type UnstableAccessMethodsListResponse = SetNonNullable<Required<RouteResponse<'/unstable_access_methods/list'>>>;
58
- export type UnstableAccessMethodsListRequest = SeamHttpRequest<UnstableAccessMethodsListResponse, 'access_methods'>;
59
- export interface UnstableAccessMethodsListOptions {
60
- }
@@ -1,126 +0,0 @@
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 SeamHttpUnstableAccessMethods {
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 SeamHttpUnstableAccessMethods(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 SeamHttpUnstableAccessMethods(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 SeamHttpUnstableAccessMethods(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 SeamHttpUnstableAccessMethods.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 SeamHttpUnstableAccessMethods.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 SeamHttpUnstableAccessMethods(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 SeamHttpUnstableAccessMethods(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: '/unstable_access_methods/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: '/unstable_access_methods/get',
106
- method: 'POST',
107
- body: parameters,
108
- responseKey: 'access_method',
109
- options,
110
- });
111
- }
112
- list(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: '/unstable_access_methods/list',
118
- method: 'POST',
119
- body: parameters,
120
- responseKey: 'access_methods',
121
- options,
122
- });
123
- }
124
- }
125
- SeamHttpUnstableAccessMethods.ltsVersion = seamApiLtsVersion;
126
- //# sourceMappingURL=unstable-access-methods.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unstable-access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/unstable-access-methods/unstable-access-methods.ts"],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Ae,CAAC,IAAI,EAAE;YAC/B,QAAQ,EAAE,+BAA+B;YACzC,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,gBAAgB;YAC7B,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AApLM,wCAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -1 +0,0 @@
1
- export * from './unstable-locations.js';
@@ -1,6 +0,0 @@
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 './unstable-locations.js';
6
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/unstable-locations/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,cAAc,yBAAyB,CAAA"}
@@ -1,138 +0,0 @@
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 SeamHttpUnstableLocations {
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'>): SeamHttpUnstableLocations;
14
- static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit<SeamHttpOptionsWithApiKey, 'apiKey'>): SeamHttpUnstableLocations;
15
- static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit<SeamHttpOptionsWithClientSessionToken, 'clientSessionToken'>): SeamHttpUnstableLocations;
16
- static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise<SeamHttpUnstableLocations>;
17
- static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit<SeamHttpOptionsWithConsoleSessionToken, 'consoleSessionToken' | 'workspaceId'>): SeamHttpUnstableLocations;
18
- static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit<SeamHttpOptionsWithPersonalAccessToken, 'personalAccessToken' | 'workspaceId'>): SeamHttpUnstableLocations;
19
- createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(request: SeamHttpRequest<TResponse, TResponseKey>): SeamPaginator<TResponse, TResponseKey>;
20
- updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise<void>;
21
- addAcsEntrances(parameters?: UnstableLocationsAddAcsEntrancesParameters, options?: UnstableLocationsAddAcsEntrancesOptions): UnstableLocationsAddAcsEntrancesRequest;
22
- addDevices(parameters?: UnstableLocationsAddDevicesParameters, options?: UnstableLocationsAddDevicesOptions): UnstableLocationsAddDevicesRequest;
23
- create(parameters?: UnstableLocationsCreateParameters, options?: UnstableLocationsCreateOptions): UnstableLocationsCreateRequest;
24
- delete(parameters?: UnstableLocationsDeleteParameters, options?: UnstableLocationsDeleteOptions): UnstableLocationsDeleteRequest;
25
- get(parameters?: UnstableLocationsGetParameters, options?: UnstableLocationsGetOptions): UnstableLocationsGetRequest;
26
- list(parameters?: UnstableLocationsListParameters, options?: UnstableLocationsListOptions): UnstableLocationsListRequest;
27
- removeAcsEntrances(parameters?: UnstableLocationsRemoveAcsEntrancesParameters, options?: UnstableLocationsRemoveAcsEntrancesOptions): UnstableLocationsRemoveAcsEntrancesRequest;
28
- removeDevices(parameters?: UnstableLocationsRemoveDevicesParameters, options?: UnstableLocationsRemoveDevicesOptions): UnstableLocationsRemoveDevicesRequest;
29
- update(parameters?: UnstableLocationsUpdateParameters, options?: UnstableLocationsUpdateOptions): UnstableLocationsUpdateRequest;
30
- }
31
- export type UnstableLocationsAddAcsEntrancesParameters = RouteRequestBody<'/unstable_locations/add_acs_entrances'>;
32
- /**
33
- * @deprecated Use UnstableLocationsAddAcsEntrancesParameters instead.
34
- */
35
- export type UnstableLocationsAddAcsEntrancesBody = UnstableLocationsAddAcsEntrancesParameters;
36
- /**
37
- * @deprecated Use UnstableLocationsAddAcsEntrancesRequest instead.
38
- */
39
- export type UnstableLocationsAddAcsEntrancesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/add_acs_entrances'>>>;
40
- export type UnstableLocationsAddAcsEntrancesRequest = SeamHttpRequest<void, undefined>;
41
- export interface UnstableLocationsAddAcsEntrancesOptions {
42
- }
43
- export type UnstableLocationsAddDevicesParameters = RouteRequestBody<'/unstable_locations/add_devices'>;
44
- /**
45
- * @deprecated Use UnstableLocationsAddDevicesParameters instead.
46
- */
47
- export type UnstableLocationsAddDevicesBody = UnstableLocationsAddDevicesParameters;
48
- /**
49
- * @deprecated Use UnstableLocationsAddDevicesRequest instead.
50
- */
51
- export type UnstableLocationsAddDevicesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/add_devices'>>>;
52
- export type UnstableLocationsAddDevicesRequest = SeamHttpRequest<void, undefined>;
53
- export interface UnstableLocationsAddDevicesOptions {
54
- }
55
- export type UnstableLocationsCreateParameters = RouteRequestBody<'/unstable_locations/create'>;
56
- /**
57
- * @deprecated Use UnstableLocationsCreateParameters instead.
58
- */
59
- export type UnstableLocationsCreateBody = UnstableLocationsCreateParameters;
60
- /**
61
- * @deprecated Use UnstableLocationsCreateRequest instead.
62
- */
63
- export type UnstableLocationsCreateResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/create'>>>;
64
- export type UnstableLocationsCreateRequest = SeamHttpRequest<UnstableLocationsCreateResponse, 'location'>;
65
- export interface UnstableLocationsCreateOptions {
66
- }
67
- export type UnstableLocationsDeleteParameters = RouteRequestBody<'/unstable_locations/delete'>;
68
- /**
69
- * @deprecated Use UnstableLocationsDeleteParameters instead.
70
- */
71
- export type UnstableLocationsDeleteParams = UnstableLocationsDeleteParameters;
72
- /**
73
- * @deprecated Use UnstableLocationsDeleteRequest instead.
74
- */
75
- export type UnstableLocationsDeleteResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/delete'>>>;
76
- export type UnstableLocationsDeleteRequest = SeamHttpRequest<void, undefined>;
77
- export interface UnstableLocationsDeleteOptions {
78
- }
79
- export type UnstableLocationsGetParameters = RouteRequestBody<'/unstable_locations/get'>;
80
- /**
81
- * @deprecated Use UnstableLocationsGetParameters instead.
82
- */
83
- export type UnstableLocationsGetParams = UnstableLocationsGetParameters;
84
- /**
85
- * @deprecated Use UnstableLocationsGetRequest instead.
86
- */
87
- export type UnstableLocationsGetResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/get'>>>;
88
- export type UnstableLocationsGetRequest = SeamHttpRequest<UnstableLocationsGetResponse, 'location'>;
89
- export interface UnstableLocationsGetOptions {
90
- }
91
- export type UnstableLocationsListParameters = RouteRequestParams<'/unstable_locations/list'>;
92
- /**
93
- * @deprecated Use UnstableLocationsListParameters instead.
94
- */
95
- export type UnstableLocationsListParams = UnstableLocationsListParameters;
96
- /**
97
- * @deprecated Use UnstableLocationsListRequest instead.
98
- */
99
- export type UnstableLocationsListResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/list'>>>;
100
- export type UnstableLocationsListRequest = SeamHttpRequest<UnstableLocationsListResponse, 'locations'>;
101
- export interface UnstableLocationsListOptions {
102
- }
103
- export type UnstableLocationsRemoveAcsEntrancesParameters = RouteRequestBody<'/unstable_locations/remove_acs_entrances'>;
104
- /**
105
- * @deprecated Use UnstableLocationsRemoveAcsEntrancesParameters instead.
106
- */
107
- export type UnstableLocationsRemoveAcsEntrancesParams = UnstableLocationsRemoveAcsEntrancesParameters;
108
- /**
109
- * @deprecated Use UnstableLocationsRemoveAcsEntrancesRequest instead.
110
- */
111
- export type UnstableLocationsRemoveAcsEntrancesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/remove_acs_entrances'>>>;
112
- export type UnstableLocationsRemoveAcsEntrancesRequest = SeamHttpRequest<void, undefined>;
113
- export interface UnstableLocationsRemoveAcsEntrancesOptions {
114
- }
115
- export type UnstableLocationsRemoveDevicesParameters = RouteRequestBody<'/unstable_locations/remove_devices'>;
116
- /**
117
- * @deprecated Use UnstableLocationsRemoveDevicesParameters instead.
118
- */
119
- export type UnstableLocationsRemoveDevicesParams = UnstableLocationsRemoveDevicesParameters;
120
- /**
121
- * @deprecated Use UnstableLocationsRemoveDevicesRequest instead.
122
- */
123
- export type UnstableLocationsRemoveDevicesResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/remove_devices'>>>;
124
- export type UnstableLocationsRemoveDevicesRequest = SeamHttpRequest<void, undefined>;
125
- export interface UnstableLocationsRemoveDevicesOptions {
126
- }
127
- export type UnstableLocationsUpdateParameters = RouteRequestBody<'/unstable_locations/update'>;
128
- /**
129
- * @deprecated Use UnstableLocationsUpdateParameters instead.
130
- */
131
- export type UnstableLocationsUpdateBody = UnstableLocationsUpdateParameters;
132
- /**
133
- * @deprecated Use UnstableLocationsUpdateRequest instead.
134
- */
135
- export type UnstableLocationsUpdateResponse = SetNonNullable<Required<RouteResponse<'/unstable_locations/update'>>>;
136
- export type UnstableLocationsUpdateRequest = SeamHttpRequest<UnstableLocationsUpdateResponse, 'location'>;
137
- export interface UnstableLocationsUpdateOptions {
138
- }
@@ -1,198 +0,0 @@
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 SeamHttpUnstableLocations {
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 SeamHttpUnstableLocations(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 SeamHttpUnstableLocations(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 SeamHttpUnstableLocations(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 SeamHttpUnstableLocations.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 SeamHttpUnstableLocations.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 SeamHttpUnstableLocations(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 SeamHttpUnstableLocations(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
- addAcsEntrances(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: '/unstable_locations/add_acs_entrances',
94
- method: 'PUT',
95
- body: parameters,
96
- responseKey: undefined,
97
- options,
98
- });
99
- }
100
- addDevices(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: '/unstable_locations/add_devices',
106
- method: 'PUT',
107
- body: parameters,
108
- responseKey: undefined,
109
- options,
110
- });
111
- }
112
- create(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: '/unstable_locations/create',
118
- method: 'POST',
119
- body: parameters,
120
- responseKey: 'location',
121
- options,
122
- });
123
- }
124
- delete(parameters, options = {}) {
125
- if (!this.defaults.isUndocumentedApiEnabled) {
126
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
127
- }
128
- return new SeamHttpRequest(this, {
129
- pathname: '/unstable_locations/delete',
130
- method: 'POST',
131
- body: parameters,
132
- responseKey: undefined,
133
- options,
134
- });
135
- }
136
- get(parameters, options = {}) {
137
- if (!this.defaults.isUndocumentedApiEnabled) {
138
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
139
- }
140
- return new SeamHttpRequest(this, {
141
- pathname: '/unstable_locations/get',
142
- method: 'POST',
143
- body: parameters,
144
- responseKey: 'location',
145
- options,
146
- });
147
- }
148
- list(parameters, options = {}) {
149
- if (!this.defaults.isUndocumentedApiEnabled) {
150
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
151
- }
152
- return new SeamHttpRequest(this, {
153
- pathname: '/unstable_locations/list',
154
- method: 'GET',
155
- params: parameters,
156
- responseKey: 'locations',
157
- options,
158
- });
159
- }
160
- removeAcsEntrances(parameters, options = {}) {
161
- if (!this.defaults.isUndocumentedApiEnabled) {
162
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
163
- }
164
- return new SeamHttpRequest(this, {
165
- pathname: '/unstable_locations/remove_acs_entrances',
166
- method: 'POST',
167
- body: parameters,
168
- responseKey: undefined,
169
- options,
170
- });
171
- }
172
- removeDevices(parameters, options = {}) {
173
- if (!this.defaults.isUndocumentedApiEnabled) {
174
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
175
- }
176
- return new SeamHttpRequest(this, {
177
- pathname: '/unstable_locations/remove_devices',
178
- method: 'POST',
179
- body: parameters,
180
- responseKey: undefined,
181
- options,
182
- });
183
- }
184
- update(parameters, options = {}) {
185
- if (!this.defaults.isUndocumentedApiEnabled) {
186
- throw new Error('Cannot use undocumented API without isUndocumentedApiEnabled');
187
- }
188
- return new SeamHttpRequest(this, {
189
- pathname: '/unstable_locations/update',
190
- method: 'PATCH',
191
- body: parameters,
192
- responseKey: 'location',
193
- options,
194
- });
195
- }
196
- }
197
- SeamHttpUnstableLocations.ltsVersion = seamApiLtsVersion;
198
- //# sourceMappingURL=unstable-locations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"unstable-locations.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/routes/unstable-locations/unstable-locations.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,2BAA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,0CAA0C;YACpD,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,aAAa,CACX,UAAqD,EACrD,UAAiD,EAAE;QAEnD,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,oCAAoC;YAC9C,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,SAAS;YACtB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;IAED,MAAM,CACJ,UAA8C,EAC9C,UAA0C,EAAE;QAE5C,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,4BAA4B;YACtC,MAAM,EAAE,OAAO;YACf,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,UAAU;YACvB,OAAO;SACR,CAAC,CAAA;IACJ,CAAC;;AAhSM,oCAAU,GAAG,iBAAiB,AAApB,CAAoB"}
@@ -1,6 +0,0 @@
1
- /*
2
- * Automatically generated by codegen/smith.ts.
3
- * Do not edit this file or add other files to this directory.
4
- */
5
-
6
- export * from './unstable-access-grants.js'