@seamapi/http 1.72.0 → 1.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/dist/connect.cjs +372 -0
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +138 -3
  4. package/dist/index.cjs +378 -0
  5. package/dist/index.cjs.map +1 -1
  6. package/dist/index.d.cts +1 -1
  7. package/lib/seam/connect/routes/access-grants/access-grants.d.ts +2 -0
  8. package/lib/seam/connect/routes/access-grants/access-grants.js +4 -0
  9. package/lib/seam/connect/routes/access-grants/access-grants.js.map +1 -1
  10. package/lib/seam/connect/routes/access-grants/index.d.ts +1 -0
  11. package/lib/seam/connect/routes/access-grants/index.js +1 -0
  12. package/lib/seam/connect/routes/access-grants/index.js.map +1 -1
  13. package/lib/seam/connect/routes/access-grants/unmanaged/index.d.ts +1 -0
  14. package/lib/seam/connect/routes/access-grants/unmanaged/index.js +6 -0
  15. package/lib/seam/connect/routes/access-grants/unmanaged/index.js.map +1 -0
  16. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.d.ts +47 -0
  17. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js +107 -0
  18. package/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.js.map +1 -0
  19. package/lib/seam/connect/routes/access-methods/access-methods.d.ts +2 -0
  20. package/lib/seam/connect/routes/access-methods/access-methods.js +4 -0
  21. package/lib/seam/connect/routes/access-methods/access-methods.js.map +1 -1
  22. package/lib/seam/connect/routes/access-methods/index.d.ts +1 -0
  23. package/lib/seam/connect/routes/access-methods/index.js +1 -0
  24. package/lib/seam/connect/routes/access-methods/index.js.map +1 -1
  25. package/lib/seam/connect/routes/access-methods/unmanaged/index.d.ts +1 -0
  26. package/lib/seam/connect/routes/access-methods/unmanaged/index.js +6 -0
  27. package/lib/seam/connect/routes/access-methods/unmanaged/index.js.map +1 -0
  28. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.d.ts +47 -0
  29. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js +107 -0
  30. package/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.js.map +1 -0
  31. package/lib/seam/connect/routes/seam-http-endpoints.d.ts +11 -2
  32. package/lib/seam/connect/routes/seam-http-endpoints.js +45 -0
  33. package/lib/seam/connect/routes/seam-http-endpoints.js.map +1 -1
  34. package/lib/seam/connect/routes/user-identities/index.d.ts +1 -0
  35. package/lib/seam/connect/routes/user-identities/index.js +1 -0
  36. package/lib/seam/connect/routes/user-identities/index.js.map +1 -1
  37. package/lib/seam/connect/routes/user-identities/unmanaged/index.d.ts +1 -0
  38. package/lib/seam/connect/routes/user-identities/unmanaged/index.js +6 -0
  39. package/lib/seam/connect/routes/user-identities/unmanaged/index.js.map +1 -0
  40. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.d.ts +47 -0
  41. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js +107 -0
  42. package/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.js.map +1 -0
  43. package/lib/seam/connect/routes/user-identities/user-identities.d.ts +2 -0
  44. package/lib/seam/connect/routes/user-identities/user-identities.js +4 -0
  45. package/lib/seam/connect/routes/user-identities/user-identities.js.map +1 -1
  46. package/lib/version.d.ts +1 -1
  47. package/lib/version.js +1 -1
  48. package/package.json +3 -3
  49. package/src/lib/seam/connect/routes/access-grants/access-grants.ts +6 -0
  50. package/src/lib/seam/connect/routes/access-grants/index.ts +1 -0
  51. package/src/lib/seam/connect/routes/access-grants/unmanaged/index.ts +6 -0
  52. package/src/lib/seam/connect/routes/access-grants/unmanaged/unmanaged.ts +236 -0
  53. package/src/lib/seam/connect/routes/access-methods/access-methods.ts +6 -0
  54. package/src/lib/seam/connect/routes/access-methods/index.ts +1 -0
  55. package/src/lib/seam/connect/routes/access-methods/unmanaged/index.ts +6 -0
  56. package/src/lib/seam/connect/routes/access-methods/unmanaged/unmanaged.ts +237 -0
  57. package/src/lib/seam/connect/routes/seam-http-endpoints.ts +112 -0
  58. package/src/lib/seam/connect/routes/user-identities/index.ts +1 -0
  59. package/src/lib/seam/connect/routes/user-identities/unmanaged/index.ts +6 -0
  60. package/src/lib/seam/connect/routes/user-identities/unmanaged/unmanaged.ts +240 -0
  61. package/src/lib/seam/connect/routes/user-identities/user-identities.ts +8 -0
  62. package/src/lib/version.ts +1 -1
@@ -110,6 +110,15 @@ import {
110
110
  type AccessGrantsUpdateRequest,
111
111
  SeamHttpAccessGrants,
112
112
  } from './access-grants/index.js'
113
+ import {
114
+ type AccessGrantsUnmanagedGetOptions,
115
+ type AccessGrantsUnmanagedGetParameters,
116
+ type AccessGrantsUnmanagedGetRequest,
117
+ type AccessGrantsUnmanagedListOptions,
118
+ type AccessGrantsUnmanagedListParameters,
119
+ type AccessGrantsUnmanagedListRequest,
120
+ SeamHttpAccessGrantsUnmanaged,
121
+ } from './access-grants/unmanaged/index.js'
113
122
  import {
114
123
  type AccessMethodsDeleteOptions,
115
124
  type AccessMethodsDeleteParameters,
@@ -128,6 +137,15 @@ import {
128
137
  type AccessMethodsListRequest,
129
138
  SeamHttpAccessMethods,
130
139
  } from './access-methods/index.js'
140
+ import {
141
+ type AccessMethodsUnmanagedGetOptions,
142
+ type AccessMethodsUnmanagedGetParameters,
143
+ type AccessMethodsUnmanagedGetRequest,
144
+ type AccessMethodsUnmanagedListOptions,
145
+ type AccessMethodsUnmanagedListParameters,
146
+ type AccessMethodsUnmanagedListRequest,
147
+ SeamHttpAccessMethodsUnmanaged,
148
+ } from './access-methods/unmanaged/index.js'
131
149
  import {
132
150
  type AcsAccessGroupsAddUserOptions,
133
151
  type AcsAccessGroupsAddUserParameters,
@@ -800,6 +818,15 @@ import {
800
818
  type UserIdentitiesUpdateParameters,
801
819
  type UserIdentitiesUpdateRequest,
802
820
  } from './user-identities/index.js'
821
+ import {
822
+ SeamHttpUserIdentitiesUnmanaged,
823
+ type UserIdentitiesUnmanagedGetOptions,
824
+ type UserIdentitiesUnmanagedGetParameters,
825
+ type UserIdentitiesUnmanagedGetRequest,
826
+ type UserIdentitiesUnmanagedListOptions,
827
+ type UserIdentitiesUnmanagedListParameters,
828
+ type UserIdentitiesUnmanagedListRequest,
829
+ } from './user-identities/unmanaged/index.js'
803
830
  import {
804
831
  SeamHttpWebhooks,
805
832
  type WebhooksCreateOptions,
@@ -1273,6 +1300,32 @@ export class SeamHttpEndpoints {
1273
1300
  }
1274
1301
  }
1275
1302
 
1303
+ get '/access_grants/unmanaged/get'(): (
1304
+ parameters?: AccessGrantsUnmanagedGetParameters,
1305
+ options?: AccessGrantsUnmanagedGetOptions,
1306
+ ) => AccessGrantsUnmanagedGetRequest {
1307
+ const { client, defaults } = this
1308
+ return function accessGrantsUnmanagedGet(
1309
+ ...args: Parameters<SeamHttpAccessGrantsUnmanaged['get']>
1310
+ ): ReturnType<SeamHttpAccessGrantsUnmanaged['get']> {
1311
+ const seam = SeamHttpAccessGrantsUnmanaged.fromClient(client, defaults)
1312
+ return seam.get(...args)
1313
+ }
1314
+ }
1315
+
1316
+ get '/access_grants/unmanaged/list'(): (
1317
+ parameters?: AccessGrantsUnmanagedListParameters,
1318
+ options?: AccessGrantsUnmanagedListOptions,
1319
+ ) => AccessGrantsUnmanagedListRequest {
1320
+ const { client, defaults } = this
1321
+ return function accessGrantsUnmanagedList(
1322
+ ...args: Parameters<SeamHttpAccessGrantsUnmanaged['list']>
1323
+ ): ReturnType<SeamHttpAccessGrantsUnmanaged['list']> {
1324
+ const seam = SeamHttpAccessGrantsUnmanaged.fromClient(client, defaults)
1325
+ return seam.list(...args)
1326
+ }
1327
+ }
1328
+
1276
1329
  get '/access_methods/delete'(): (
1277
1330
  parameters?: AccessMethodsDeleteParameters,
1278
1331
  options?: AccessMethodsDeleteOptions,
@@ -1338,6 +1391,32 @@ export class SeamHttpEndpoints {
1338
1391
  }
1339
1392
  }
1340
1393
 
1394
+ get '/access_methods/unmanaged/get'(): (
1395
+ parameters?: AccessMethodsUnmanagedGetParameters,
1396
+ options?: AccessMethodsUnmanagedGetOptions,
1397
+ ) => AccessMethodsUnmanagedGetRequest {
1398
+ const { client, defaults } = this
1399
+ return function accessMethodsUnmanagedGet(
1400
+ ...args: Parameters<SeamHttpAccessMethodsUnmanaged['get']>
1401
+ ): ReturnType<SeamHttpAccessMethodsUnmanaged['get']> {
1402
+ const seam = SeamHttpAccessMethodsUnmanaged.fromClient(client, defaults)
1403
+ return seam.get(...args)
1404
+ }
1405
+ }
1406
+
1407
+ get '/access_methods/unmanaged/list'(): (
1408
+ parameters?: AccessMethodsUnmanagedListParameters,
1409
+ options?: AccessMethodsUnmanagedListOptions,
1410
+ ) => AccessMethodsUnmanagedListRequest {
1411
+ const { client, defaults } = this
1412
+ return function accessMethodsUnmanagedList(
1413
+ ...args: Parameters<SeamHttpAccessMethodsUnmanaged['list']>
1414
+ ): ReturnType<SeamHttpAccessMethodsUnmanaged['list']> {
1415
+ const seam = SeamHttpAccessMethodsUnmanaged.fromClient(client, defaults)
1416
+ return seam.list(...args)
1417
+ }
1418
+ }
1419
+
1341
1420
  get '/acs/access_groups/add_user'(): (
1342
1421
  parameters?: AcsAccessGroupsAddUserParameters,
1343
1422
  options?: AcsAccessGroupsAddUserOptions,
@@ -3898,6 +3977,32 @@ export class SeamHttpEndpoints {
3898
3977
  }
3899
3978
  }
3900
3979
 
3980
+ get '/user_identities/unmanaged/get'(): (
3981
+ parameters?: UserIdentitiesUnmanagedGetParameters,
3982
+ options?: UserIdentitiesUnmanagedGetOptions,
3983
+ ) => UserIdentitiesUnmanagedGetRequest {
3984
+ const { client, defaults } = this
3985
+ return function userIdentitiesUnmanagedGet(
3986
+ ...args: Parameters<SeamHttpUserIdentitiesUnmanaged['get']>
3987
+ ): ReturnType<SeamHttpUserIdentitiesUnmanaged['get']> {
3988
+ const seam = SeamHttpUserIdentitiesUnmanaged.fromClient(client, defaults)
3989
+ return seam.get(...args)
3990
+ }
3991
+ }
3992
+
3993
+ get '/user_identities/unmanaged/list'(): (
3994
+ parameters?: UserIdentitiesUnmanagedListParameters,
3995
+ options?: UserIdentitiesUnmanagedListOptions,
3996
+ ) => UserIdentitiesUnmanagedListRequest {
3997
+ const { client, defaults } = this
3998
+ return function userIdentitiesUnmanagedList(
3999
+ ...args: Parameters<SeamHttpUserIdentitiesUnmanaged['list']>
4000
+ ): ReturnType<SeamHttpUserIdentitiesUnmanaged['list']> {
4001
+ const seam = SeamHttpUserIdentitiesUnmanaged.fromClient(client, defaults)
4002
+ return seam.list(...args)
4003
+ }
4004
+ }
4005
+
3901
4006
  get '/webhooks/create'(): (
3902
4007
  parameters?: WebhooksCreateParameters,
3903
4008
  options?: WebhooksCreateOptions,
@@ -4163,9 +4268,13 @@ export type SeamHttpEndpointQueryPaths =
4163
4268
  | '/access_grants/get'
4164
4269
  | '/access_grants/get_related'
4165
4270
  | '/access_grants/list'
4271
+ | '/access_grants/unmanaged/get'
4272
+ | '/access_grants/unmanaged/list'
4166
4273
  | '/access_methods/get'
4167
4274
  | '/access_methods/get_related'
4168
4275
  | '/access_methods/list'
4276
+ | '/access_methods/unmanaged/get'
4277
+ | '/access_methods/unmanaged/list'
4169
4278
  | '/acs/access_groups/get'
4170
4279
  | '/acs/access_groups/list'
4171
4280
  | '/acs/access_groups/list_accessible_entrances'
@@ -4242,6 +4351,8 @@ export type SeamHttpEndpointQueryPaths =
4242
4351
  | '/user_identities/list_acs_users'
4243
4352
  | '/user_identities/enrollment_automations/get'
4244
4353
  | '/user_identities/enrollment_automations/list'
4354
+ | '/user_identities/unmanaged/get'
4355
+ | '/user_identities/unmanaged/list'
4245
4356
  | '/webhooks/get'
4246
4357
  | '/webhooks/list'
4247
4358
  | '/workspaces/find_anything'
@@ -4260,6 +4371,7 @@ export type SeamHttpEndpointPaginatedQueryPaths =
4260
4371
  | '/connect_webviews/list'
4261
4372
  | '/connected_accounts/list'
4262
4373
  | '/devices/list'
4374
+ | '/devices/unmanaged/list'
4263
4375
  | '/seam/console/v1/timelines/get'
4264
4376
  | '/seam/customer/v1/automation_runs/list'
4265
4377
  | '/seam/customer/v1/reservations/list'
@@ -4,4 +4,5 @@
4
4
  */
5
5
 
6
6
  export * from './enrollment-automations/index.js'
7
+ export * from './unmanaged/index.js'
7
8
  export * from './user-identities.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
+
6
+ export * from './unmanaged.js'
@@ -0,0 +1,240 @@
1
+ /*
2
+ * Automatically generated by codegen/smith.ts.
3
+ * Do not edit this file or add other files to this directory.
4
+ */
5
+
6
+ import type { RouteRequestBody, RouteResponse } from '@seamapi/types/connect'
7
+
8
+ import { seamApiLtsVersion } from 'lib/lts-version.js'
9
+ import {
10
+ getAuthHeadersForClientSessionToken,
11
+ warnOnInsecureuserIdentifierKey,
12
+ } from 'lib/seam/connect/auth.js'
13
+ import { type Client, createClient } from 'lib/seam/connect/client.js'
14
+ import {
15
+ isSeamHttpOptionsWithApiKey,
16
+ isSeamHttpOptionsWithClient,
17
+ isSeamHttpOptionsWithClientSessionToken,
18
+ isSeamHttpOptionsWithConsoleSessionToken,
19
+ isSeamHttpOptionsWithPersonalAccessToken,
20
+ type SeamHttpFromPublishableKeyOptions,
21
+ SeamHttpInvalidOptionsError,
22
+ type SeamHttpOptions,
23
+ type SeamHttpOptionsWithApiKey,
24
+ type SeamHttpOptionsWithClient,
25
+ type SeamHttpOptionsWithClientSessionToken,
26
+ type SeamHttpOptionsWithConsoleSessionToken,
27
+ type SeamHttpOptionsWithPersonalAccessToken,
28
+ type SeamHttpRequestOptions,
29
+ } from 'lib/seam/connect/options.js'
30
+ import {
31
+ limitToSeamHttpRequestOptions,
32
+ parseOptions,
33
+ } from 'lib/seam/connect/parse-options.js'
34
+ import { SeamHttpClientSessions } from 'lib/seam/connect/routes/client-sessions/index.js'
35
+ import { SeamHttpRequest } from 'lib/seam/connect/seam-http-request.js'
36
+ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
37
+ import type { SetNonNullable } from 'lib/types.js'
38
+
39
+ export class SeamHttpUserIdentitiesUnmanaged {
40
+ client: Client
41
+ readonly defaults: Required<SeamHttpRequestOptions>
42
+ readonly ltsVersion = seamApiLtsVersion
43
+ static ltsVersion = seamApiLtsVersion
44
+
45
+ constructor(apiKeyOrOptions: string | SeamHttpOptions = {}) {
46
+ const options = parseOptions(apiKeyOrOptions)
47
+ this.client = 'client' in options ? options.client : createClient(options)
48
+ this.defaults = limitToSeamHttpRequestOptions(options)
49
+ }
50
+
51
+ static fromClient(
52
+ client: SeamHttpOptionsWithClient['client'],
53
+ options: Omit<SeamHttpOptionsWithClient, 'client'> = {},
54
+ ): SeamHttpUserIdentitiesUnmanaged {
55
+ const constructorOptions = { ...options, client }
56
+ if (!isSeamHttpOptionsWithClient(constructorOptions)) {
57
+ throw new SeamHttpInvalidOptionsError('Missing client')
58
+ }
59
+ return new SeamHttpUserIdentitiesUnmanaged(constructorOptions)
60
+ }
61
+
62
+ static fromApiKey(
63
+ apiKey: SeamHttpOptionsWithApiKey['apiKey'],
64
+ options: Omit<SeamHttpOptionsWithApiKey, 'apiKey'> = {},
65
+ ): SeamHttpUserIdentitiesUnmanaged {
66
+ const constructorOptions = { ...options, apiKey }
67
+ if (!isSeamHttpOptionsWithApiKey(constructorOptions)) {
68
+ throw new SeamHttpInvalidOptionsError('Missing apiKey')
69
+ }
70
+ return new SeamHttpUserIdentitiesUnmanaged(constructorOptions)
71
+ }
72
+
73
+ static fromClientSessionToken(
74
+ clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
75
+ options: Omit<
76
+ SeamHttpOptionsWithClientSessionToken,
77
+ 'clientSessionToken'
78
+ > = {},
79
+ ): SeamHttpUserIdentitiesUnmanaged {
80
+ const constructorOptions = { ...options, clientSessionToken }
81
+ if (!isSeamHttpOptionsWithClientSessionToken(constructorOptions)) {
82
+ throw new SeamHttpInvalidOptionsError('Missing clientSessionToken')
83
+ }
84
+ return new SeamHttpUserIdentitiesUnmanaged(constructorOptions)
85
+ }
86
+
87
+ static async fromPublishableKey(
88
+ publishableKey: string,
89
+ userIdentifierKey: string,
90
+ options: SeamHttpFromPublishableKeyOptions = {},
91
+ ): Promise<SeamHttpUserIdentitiesUnmanaged> {
92
+ warnOnInsecureuserIdentifierKey(userIdentifierKey)
93
+ const clientOptions = parseOptions({ ...options, publishableKey })
94
+ if (isSeamHttpOptionsWithClient(clientOptions)) {
95
+ throw new SeamHttpInvalidOptionsError(
96
+ 'The client option cannot be used with SeamHttpUserIdentitiesUnmanaged.fromPublishableKey',
97
+ )
98
+ }
99
+ const client = createClient(clientOptions)
100
+ const clientSessions = SeamHttpClientSessions.fromClient(client)
101
+ const { token } = await clientSessions.getOrCreate({
102
+ user_identifier_key: userIdentifierKey,
103
+ })
104
+ return SeamHttpUserIdentitiesUnmanaged.fromClientSessionToken(
105
+ token,
106
+ options,
107
+ )
108
+ }
109
+
110
+ static fromConsoleSessionToken(
111
+ consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'],
112
+ workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'],
113
+ options: Omit<
114
+ SeamHttpOptionsWithConsoleSessionToken,
115
+ 'consoleSessionToken' | 'workspaceId'
116
+ > = {},
117
+ ): SeamHttpUserIdentitiesUnmanaged {
118
+ const constructorOptions = { ...options, consoleSessionToken, workspaceId }
119
+ if (!isSeamHttpOptionsWithConsoleSessionToken(constructorOptions)) {
120
+ throw new SeamHttpInvalidOptionsError(
121
+ 'Missing consoleSessionToken or workspaceId',
122
+ )
123
+ }
124
+ return new SeamHttpUserIdentitiesUnmanaged(constructorOptions)
125
+ }
126
+
127
+ static fromPersonalAccessToken(
128
+ personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'],
129
+ workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'],
130
+ options: Omit<
131
+ SeamHttpOptionsWithPersonalAccessToken,
132
+ 'personalAccessToken' | 'workspaceId'
133
+ > = {},
134
+ ): SeamHttpUserIdentitiesUnmanaged {
135
+ const constructorOptions = { ...options, personalAccessToken, workspaceId }
136
+ if (!isSeamHttpOptionsWithPersonalAccessToken(constructorOptions)) {
137
+ throw new SeamHttpInvalidOptionsError(
138
+ 'Missing personalAccessToken or workspaceId',
139
+ )
140
+ }
141
+ return new SeamHttpUserIdentitiesUnmanaged(constructorOptions)
142
+ }
143
+
144
+ createPaginator<const TResponse, const TResponseKey extends keyof TResponse>(
145
+ request: SeamHttpRequest<TResponse, TResponseKey>,
146
+ ): SeamPaginator<TResponse, TResponseKey> {
147
+ return new SeamPaginator<TResponse, TResponseKey>(this, request)
148
+ }
149
+
150
+ async updateClientSessionToken(
151
+ clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'],
152
+ ): Promise<void> {
153
+ const { headers } = this.client.defaults
154
+ const authHeaders = getAuthHeadersForClientSessionToken({
155
+ clientSessionToken,
156
+ })
157
+ for (const key of Object.keys(authHeaders)) {
158
+ if (headers[key] == null) {
159
+ throw new Error(
160
+ 'Cannot update a clientSessionToken on a client created without a clientSessionToken',
161
+ )
162
+ }
163
+ }
164
+ this.client.defaults.headers = { ...headers, ...authHeaders }
165
+ const clientSessions = SeamHttpClientSessions.fromClient(this.client)
166
+ await clientSessions.get()
167
+ }
168
+
169
+ get(
170
+ parameters?: UserIdentitiesUnmanagedGetParameters,
171
+ options: UserIdentitiesUnmanagedGetOptions = {},
172
+ ): UserIdentitiesUnmanagedGetRequest {
173
+ return new SeamHttpRequest(this, {
174
+ pathname: '/user_identities/unmanaged/get',
175
+ method: 'POST',
176
+ body: parameters,
177
+ responseKey: 'user_identity',
178
+ options,
179
+ })
180
+ }
181
+
182
+ list(
183
+ parameters?: UserIdentitiesUnmanagedListParameters,
184
+ options: UserIdentitiesUnmanagedListOptions = {},
185
+ ): UserIdentitiesUnmanagedListRequest {
186
+ return new SeamHttpRequest(this, {
187
+ pathname: '/user_identities/unmanaged/list',
188
+ method: 'POST',
189
+ body: parameters,
190
+ responseKey: 'user_identities',
191
+ options,
192
+ })
193
+ }
194
+ }
195
+
196
+ export type UserIdentitiesUnmanagedGetParameters =
197
+ RouteRequestBody<'/user_identities/unmanaged/get'>
198
+
199
+ /**
200
+ * @deprecated Use UserIdentitiesUnmanagedGetParameters instead.
201
+ */
202
+ export type UserIdentitiesUnmanagedGetParams =
203
+ UserIdentitiesUnmanagedGetParameters
204
+
205
+ /**
206
+ * @deprecated Use UserIdentitiesUnmanagedGetRequest instead.
207
+ */
208
+ export type UserIdentitiesUnmanagedGetResponse = SetNonNullable<
209
+ Required<RouteResponse<'/user_identities/unmanaged/get'>>
210
+ >
211
+
212
+ export type UserIdentitiesUnmanagedGetRequest = SeamHttpRequest<
213
+ UserIdentitiesUnmanagedGetResponse,
214
+ 'user_identity'
215
+ >
216
+
217
+ export interface UserIdentitiesUnmanagedGetOptions {}
218
+
219
+ export type UserIdentitiesUnmanagedListParameters =
220
+ RouteRequestBody<'/user_identities/unmanaged/list'>
221
+
222
+ /**
223
+ * @deprecated Use UserIdentitiesUnmanagedListParameters instead.
224
+ */
225
+ export type UserIdentitiesUnmanagedListParams =
226
+ UserIdentitiesUnmanagedListParameters
227
+
228
+ /**
229
+ * @deprecated Use UserIdentitiesUnmanagedListRequest instead.
230
+ */
231
+ export type UserIdentitiesUnmanagedListResponse = SetNonNullable<
232
+ Required<RouteResponse<'/user_identities/unmanaged/list'>>
233
+ >
234
+
235
+ export type UserIdentitiesUnmanagedListRequest = SeamHttpRequest<
236
+ UserIdentitiesUnmanagedListResponse,
237
+ 'user_identities'
238
+ >
239
+
240
+ export interface UserIdentitiesUnmanagedListOptions {}
@@ -41,6 +41,7 @@ import { SeamPaginator } from 'lib/seam/connect/seam-paginator.js'
41
41
  import type { SetNonNullable } from 'lib/types.js'
42
42
 
43
43
  import { SeamHttpUserIdentitiesEnrollmentAutomations } from './enrollment-automations/index.js'
44
+ import { SeamHttpUserIdentitiesUnmanaged } from './unmanaged/index.js'
44
45
 
45
46
  export class SeamHttpUserIdentities {
46
47
  client: Client
@@ -176,6 +177,13 @@ export class SeamHttpUserIdentities {
176
177
  )
177
178
  }
178
179
 
180
+ get unmanaged(): SeamHttpUserIdentitiesUnmanaged {
181
+ return SeamHttpUserIdentitiesUnmanaged.fromClient(
182
+ this.client,
183
+ this.defaults,
184
+ )
185
+ }
186
+
179
187
  addAcsUser(
180
188
  parameters?: UserIdentitiesAddAcsUserParameters,
181
189
  options: UserIdentitiesAddAcsUserOptions = {},
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '1.72.0'
1
+ const seamapiJavascriptHttpVersion = '1.74.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion