@seamapi/types 1.1007.0 → 1.1009.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/seam/connect/models/access-codes/managed-access-code.js +8 -4
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/events/access-codes.d.ts +2 -0
- package/lib/seam/connect/models/events/access-codes.js +2 -0
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/phones/phone-session.d.ts +10 -0
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +12 -0
- package/lib/seam/connect/models/user-identities/user-identity.js +6 -0
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -1
- package/lib/seam/connect/openapi.js +124 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +52 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +11 -7
- package/src/lib/seam/connect/models/events/access-codes.ts +3 -0
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +10 -0
- package/src/lib/seam/connect/openapi.ts +137 -0
- package/src/lib/seam/connect/route-types.ts +54 -0
|
@@ -13956,6 +13956,10 @@ export type Routes = {
|
|
|
13956
13956
|
display_name: string;
|
|
13957
13957
|
/** Full name of the user associated with the user identity. */
|
|
13958
13958
|
full_name: string | null;
|
|
13959
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
13960
|
+
merged_user_identity_ids: string[];
|
|
13961
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
13962
|
+
merged_user_identity_keys: string[];
|
|
13959
13963
|
/** Date and time at which the user identity was created. */
|
|
13960
13964
|
created_at: string;
|
|
13961
13965
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -86875,6 +86879,10 @@ export type Routes = {
|
|
|
86875
86879
|
display_name: string;
|
|
86876
86880
|
/** Full name of the user associated with the user identity. */
|
|
86877
86881
|
full_name: string | null;
|
|
86882
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
86883
|
+
merged_user_identity_ids: string[];
|
|
86884
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
86885
|
+
merged_user_identity_keys: string[];
|
|
86878
86886
|
/** Date and time at which the user identity was created. */
|
|
86879
86887
|
created_at: string;
|
|
86880
86888
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -111054,6 +111062,10 @@ export type Routes = {
|
|
|
111054
111062
|
display_name: string;
|
|
111055
111063
|
/** Full name of the user associated with the user identity. */
|
|
111056
111064
|
full_name: string | null;
|
|
111065
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
111066
|
+
merged_user_identity_ids: string[];
|
|
111067
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
111068
|
+
merged_user_identity_keys: string[];
|
|
111057
111069
|
/** Date and time at which the user identity was created. */
|
|
111058
111070
|
created_at: string;
|
|
111059
111071
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -111281,6 +111293,10 @@ export type Routes = {
|
|
|
111281
111293
|
display_name: string;
|
|
111282
111294
|
/** Full name of the user associated with the user identity. */
|
|
111283
111295
|
full_name: string | null;
|
|
111296
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
111297
|
+
merged_user_identity_ids: string[];
|
|
111298
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
111299
|
+
merged_user_identity_keys: string[];
|
|
111284
111300
|
/** Date and time at which the user identity was created. */
|
|
111285
111301
|
created_at: string;
|
|
111286
111302
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -111369,6 +111385,10 @@ export type Routes = {
|
|
|
111369
111385
|
display_name: string;
|
|
111370
111386
|
/** Full name of the user associated with the user identity. */
|
|
111371
111387
|
full_name: string | null;
|
|
111388
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
111389
|
+
merged_user_identity_ids: string[];
|
|
111390
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
111391
|
+
merged_user_identity_keys: string[];
|
|
111372
111392
|
/** Date and time at which the user identity was created. */
|
|
111373
111393
|
created_at: string;
|
|
111374
111394
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -115076,6 +115096,26 @@ export type Routes = {
|
|
|
115076
115096
|
};
|
|
115077
115097
|
maxDuration: undefined;
|
|
115078
115098
|
};
|
|
115099
|
+
'/user_identities/merge': {
|
|
115100
|
+
route: '/user_identities/merge';
|
|
115101
|
+
method: 'POST';
|
|
115102
|
+
queryParams: {};
|
|
115103
|
+
jsonBody: {
|
|
115104
|
+
/** ID of the primary user identity to keep. */
|
|
115105
|
+
user_identity_id: string;
|
|
115106
|
+
/** IDs of the user identities to merge into the primary user identity. These user identities are deleted. */
|
|
115107
|
+
merged_user_identity_ids: string[];
|
|
115108
|
+
} | {
|
|
115109
|
+
/** Key of the primary user identity to keep. */
|
|
115110
|
+
user_identity_key: string;
|
|
115111
|
+
/** Keys of the user identities to merge into the primary user identity. These user identities are deleted. */
|
|
115112
|
+
merged_user_identity_keys: string[];
|
|
115113
|
+
};
|
|
115114
|
+
commonParams: {};
|
|
115115
|
+
formData: {};
|
|
115116
|
+
jsonResponse: {};
|
|
115117
|
+
maxDuration: undefined;
|
|
115118
|
+
};
|
|
115079
115119
|
'/user_identities/remove_acs_user': {
|
|
115080
115120
|
route: '/user_identities/remove_acs_user';
|
|
115081
115121
|
method: 'DELETE' | 'POST';
|
|
@@ -115129,6 +115169,10 @@ export type Routes = {
|
|
|
115129
115169
|
display_name: string;
|
|
115130
115170
|
/** Full name of the user associated with the user identity. */
|
|
115131
115171
|
full_name: string | null;
|
|
115172
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
115173
|
+
merged_user_identity_ids: string[];
|
|
115174
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
115175
|
+
merged_user_identity_keys: string[];
|
|
115132
115176
|
/** Date and time at which the user identity was created. */
|
|
115133
115177
|
created_at: string;
|
|
115134
115178
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -115196,6 +115240,10 @@ export type Routes = {
|
|
|
115196
115240
|
display_name: string;
|
|
115197
115241
|
/** Full name of the user associated with the user identity. */
|
|
115198
115242
|
full_name: string | null;
|
|
115243
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
115244
|
+
merged_user_identity_ids: string[];
|
|
115245
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
115246
|
+
merged_user_identity_keys: string[];
|
|
115199
115247
|
/** Date and time at which the user identity was created. */
|
|
115200
115248
|
created_at: string;
|
|
115201
115249
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -115648,6 +115696,10 @@ export type Routes = {
|
|
|
115648
115696
|
display_name: string;
|
|
115649
115697
|
/** Full name of the user associated with the user identity. */
|
|
115650
115698
|
full_name: string | null;
|
|
115699
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
115700
|
+
merged_user_identity_ids: string[];
|
|
115701
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
115702
|
+
merged_user_identity_keys: string[];
|
|
115651
115703
|
/** Date and time at which the user identity was created. */
|
|
115652
115704
|
created_at: string;
|
|
115653
115705
|
/** ID of the workspace that contains the user identity. */
|
package/package.json
CHANGED
|
@@ -235,13 +235,17 @@ const delay_in_setting_on_device = common_access_code_warning
|
|
|
235
235
|
})
|
|
236
236
|
.describe('Delay in setting code on device.')
|
|
237
237
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
238
|
+
/** @deprecated Seam no longer sets this warning. */
|
|
239
|
+
const delay_in_removing_from_device = common_access_code_warning.extend({
|
|
240
|
+
warning_code: z
|
|
241
|
+
.literal('delay_in_removing_from_device')
|
|
242
|
+
.describe(warning_code_description),
|
|
243
|
+
}).describe(`
|
|
244
|
+
---
|
|
245
|
+
deprecated: Seam no longer sets this warning. Use the \`failed_to_remove_from_device\` error instead.
|
|
246
|
+
---
|
|
247
|
+
Delay in removing code from device.
|
|
248
|
+
`)
|
|
245
249
|
|
|
246
250
|
const third_party_integration_detected = common_access_code_warning
|
|
247
251
|
.extend({
|
|
@@ -312,17 +312,20 @@ export const access_code_deleted_event = access_code_event.extend({
|
|
|
312
312
|
|
|
313
313
|
export type AccessCodeDeletedEvent = z.infer<typeof access_code_deleted_event>
|
|
314
314
|
|
|
315
|
+
/** @deprecated Seam no longer emits this event. */
|
|
315
316
|
export const access_code_delay_in_removing_from_device_event = access_code_event
|
|
316
317
|
.extend({
|
|
317
318
|
event_type: z.literal('access_code.delay_in_removing_from_device'),
|
|
318
319
|
})
|
|
319
320
|
.extend(access_code_event_issue_properties).describe(`
|
|
320
321
|
---
|
|
322
|
+
deprecated: Seam no longer emits this event. Use \`access_code.failed_to_remove_from_device\` instead.
|
|
321
323
|
route_path: /access_codes
|
|
322
324
|
---
|
|
323
325
|
There was an unusually long delay in removing an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) from a device.
|
|
324
326
|
`)
|
|
325
327
|
|
|
328
|
+
/** @deprecated Seam no longer emits this event. */
|
|
326
329
|
export type AccessCodeDelayInRemovingFromDeviceEvent = z.infer<
|
|
327
330
|
typeof access_code_delay_in_removing_from_device_event
|
|
328
331
|
>
|
|
@@ -129,6 +129,16 @@ export const user_identity = z.object({
|
|
|
129
129
|
.min(1)
|
|
130
130
|
.nullable()
|
|
131
131
|
.describe('Full name of the user associated with the user identity.'),
|
|
132
|
+
merged_user_identity_ids: z
|
|
133
|
+
.array(z.string().uuid())
|
|
134
|
+
.describe(
|
|
135
|
+
'IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
136
|
+
),
|
|
137
|
+
merged_user_identity_keys: z
|
|
138
|
+
.array(z.string())
|
|
139
|
+
.describe(
|
|
140
|
+
'Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
141
|
+
),
|
|
132
142
|
created_at: z
|
|
133
143
|
.string()
|
|
134
144
|
.datetime()
|
|
@@ -1406,6 +1406,7 @@ const openapi: OpenAPISpec = {
|
|
|
1406
1406
|
type: 'object',
|
|
1407
1407
|
},
|
|
1408
1408
|
{
|
|
1409
|
+
deprecated: true,
|
|
1409
1410
|
description: 'Delay in removing code from device.',
|
|
1410
1411
|
properties: {
|
|
1411
1412
|
created_at: {
|
|
@@ -1428,6 +1429,8 @@ const openapi: OpenAPISpec = {
|
|
|
1428
1429
|
},
|
|
1429
1430
|
required: ['message', 'warning_code'],
|
|
1430
1431
|
type: 'object',
|
|
1432
|
+
'x-deprecated':
|
|
1433
|
+
'Seam no longer sets this warning. Use the `failed_to_remove_from_device` error instead.',
|
|
1431
1434
|
},
|
|
1432
1435
|
{
|
|
1433
1436
|
description:
|
|
@@ -19458,6 +19461,7 @@ const openapi: OpenAPISpec = {
|
|
|
19458
19461
|
'x-route-path': '/access_codes',
|
|
19459
19462
|
},
|
|
19460
19463
|
{
|
|
19464
|
+
deprecated: true,
|
|
19461
19465
|
description:
|
|
19462
19466
|
'There was an unusually long delay in removing an [access code](https://docs.seam.co/low-level-apis/smart-locks/access-codes) from a device.',
|
|
19463
19467
|
properties: {
|
|
@@ -19709,6 +19713,8 @@ const openapi: OpenAPISpec = {
|
|
|
19709
19713
|
'access_code_warnings',
|
|
19710
19714
|
],
|
|
19711
19715
|
type: 'object',
|
|
19716
|
+
'x-deprecated':
|
|
19717
|
+
'Seam no longer emits this event. Use `access_code.failed_to_remove_from_device` instead.',
|
|
19712
19718
|
'x-route-path': '/access_codes',
|
|
19713
19719
|
},
|
|
19714
19720
|
{
|
|
@@ -29602,6 +29608,18 @@ const openapi: OpenAPISpec = {
|
|
|
29602
29608
|
nullable: true,
|
|
29603
29609
|
type: 'string',
|
|
29604
29610
|
},
|
|
29611
|
+
merged_user_identity_ids: {
|
|
29612
|
+
description:
|
|
29613
|
+
'IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
29614
|
+
items: { format: 'uuid', type: 'string' },
|
|
29615
|
+
type: 'array',
|
|
29616
|
+
},
|
|
29617
|
+
merged_user_identity_keys: {
|
|
29618
|
+
description:
|
|
29619
|
+
'Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
29620
|
+
items: { type: 'string' },
|
|
29621
|
+
type: 'array',
|
|
29622
|
+
},
|
|
29605
29623
|
phone_number: {
|
|
29606
29624
|
description:
|
|
29607
29625
|
'Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).',
|
|
@@ -29696,6 +29714,8 @@ const openapi: OpenAPISpec = {
|
|
|
29696
29714
|
'phone_number',
|
|
29697
29715
|
'display_name',
|
|
29698
29716
|
'full_name',
|
|
29717
|
+
'merged_user_identity_ids',
|
|
29718
|
+
'merged_user_identity_keys',
|
|
29699
29719
|
'created_at',
|
|
29700
29720
|
'workspace_id',
|
|
29701
29721
|
'errors',
|
|
@@ -31184,6 +31204,7 @@ const openapi: OpenAPISpec = {
|
|
|
31184
31204
|
type: 'object',
|
|
31185
31205
|
},
|
|
31186
31206
|
{
|
|
31207
|
+
deprecated: true,
|
|
31187
31208
|
description: 'Delay in removing code from device.',
|
|
31188
31209
|
properties: {
|
|
31189
31210
|
created_at: {
|
|
@@ -31206,6 +31227,8 @@ const openapi: OpenAPISpec = {
|
|
|
31206
31227
|
},
|
|
31207
31228
|
required: ['message', 'warning_code'],
|
|
31208
31229
|
type: 'object',
|
|
31230
|
+
'x-deprecated':
|
|
31231
|
+
'Seam no longer sets this warning. Use the `failed_to_remove_from_device` error instead.',
|
|
31209
31232
|
},
|
|
31210
31233
|
{
|
|
31211
31234
|
description:
|
|
@@ -36228,6 +36251,18 @@ const openapi: OpenAPISpec = {
|
|
|
36228
36251
|
nullable: true,
|
|
36229
36252
|
type: 'string',
|
|
36230
36253
|
},
|
|
36254
|
+
merged_user_identity_ids: {
|
|
36255
|
+
description:
|
|
36256
|
+
'IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
36257
|
+
items: { format: 'uuid', type: 'string' },
|
|
36258
|
+
type: 'array',
|
|
36259
|
+
},
|
|
36260
|
+
merged_user_identity_keys: {
|
|
36261
|
+
description:
|
|
36262
|
+
'Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
36263
|
+
items: { type: 'string' },
|
|
36264
|
+
type: 'array',
|
|
36265
|
+
},
|
|
36231
36266
|
phone_number: {
|
|
36232
36267
|
description:
|
|
36233
36268
|
'Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).',
|
|
@@ -36312,6 +36347,8 @@ const openapi: OpenAPISpec = {
|
|
|
36312
36347
|
'phone_number',
|
|
36313
36348
|
'display_name',
|
|
36314
36349
|
'full_name',
|
|
36350
|
+
'merged_user_identity_ids',
|
|
36351
|
+
'merged_user_identity_keys',
|
|
36315
36352
|
'created_at',
|
|
36316
36353
|
'workspace_id',
|
|
36317
36354
|
'errors',
|
|
@@ -36411,6 +36448,18 @@ const openapi: OpenAPISpec = {
|
|
|
36411
36448
|
nullable: true,
|
|
36412
36449
|
type: 'string',
|
|
36413
36450
|
},
|
|
36451
|
+
merged_user_identity_ids: {
|
|
36452
|
+
description:
|
|
36453
|
+
'IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
36454
|
+
items: { format: 'uuid', type: 'string' },
|
|
36455
|
+
type: 'array',
|
|
36456
|
+
},
|
|
36457
|
+
merged_user_identity_keys: {
|
|
36458
|
+
description:
|
|
36459
|
+
'Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity.',
|
|
36460
|
+
items: { type: 'string' },
|
|
36461
|
+
type: 'array',
|
|
36462
|
+
},
|
|
36414
36463
|
phone_number: {
|
|
36415
36464
|
description:
|
|
36416
36465
|
'Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).',
|
|
@@ -36502,6 +36551,8 @@ const openapi: OpenAPISpec = {
|
|
|
36502
36551
|
'phone_number',
|
|
36503
36552
|
'display_name',
|
|
36504
36553
|
'full_name',
|
|
36554
|
+
'merged_user_identity_ids',
|
|
36555
|
+
'merged_user_identity_keys',
|
|
36505
36556
|
'created_at',
|
|
36506
36557
|
'workspace_id',
|
|
36507
36558
|
'errors',
|
|
@@ -85732,6 +85783,92 @@ const openapi: OpenAPISpec = {
|
|
|
85732
85783
|
'x-title': 'List ACS Users Associated with a User Identity',
|
|
85733
85784
|
},
|
|
85734
85785
|
},
|
|
85786
|
+
'/user_identities/merge': {
|
|
85787
|
+
post: {
|
|
85788
|
+
description:
|
|
85789
|
+
'Merges one or more [user identities](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) into a primary user identity, for when the same person ended up with more than one user identity.\n\nThe primary user identity takes on any email address or phone number it was missing from the user identities merged into it, and the merged user identities are then deleted. Their IDs and keys keep working: looking one up returns the primary user identity, and they are listed on it as `merged_user_identity_ids` and `merged_user_identity_keys`.\n\nAccess grants, access system users, client sessions and other resources belonging to the merged user identities are moved to the primary user identity.\n\nIdentify the user identities either by ID or by key, but not both in the same request. Repeating a merge that has already been applied makes no further changes.',
|
|
85790
|
+
operationId: 'userIdentitiesMergePost',
|
|
85791
|
+
requestBody: {
|
|
85792
|
+
content: {
|
|
85793
|
+
'application/json': {
|
|
85794
|
+
schema: {
|
|
85795
|
+
oneOf: [
|
|
85796
|
+
{
|
|
85797
|
+
properties: {
|
|
85798
|
+
merged_user_identity_ids: {
|
|
85799
|
+
description:
|
|
85800
|
+
'IDs of the user identities to merge into the primary user identity. These user identities are deleted.',
|
|
85801
|
+
items: { format: 'uuid', type: 'string' },
|
|
85802
|
+
maxItems: 20,
|
|
85803
|
+
minItems: 1,
|
|
85804
|
+
type: 'array',
|
|
85805
|
+
},
|
|
85806
|
+
user_identity_id: {
|
|
85807
|
+
description: 'ID of the primary user identity to keep.',
|
|
85808
|
+
format: 'uuid',
|
|
85809
|
+
type: 'string',
|
|
85810
|
+
},
|
|
85811
|
+
},
|
|
85812
|
+
required: ['user_identity_id', 'merged_user_identity_ids'],
|
|
85813
|
+
type: 'object',
|
|
85814
|
+
},
|
|
85815
|
+
{
|
|
85816
|
+
properties: {
|
|
85817
|
+
merged_user_identity_keys: {
|
|
85818
|
+
description:
|
|
85819
|
+
'Keys of the user identities to merge into the primary user identity. These user identities are deleted.',
|
|
85820
|
+
items: { minLength: 1, type: 'string' },
|
|
85821
|
+
maxItems: 20,
|
|
85822
|
+
minItems: 1,
|
|
85823
|
+
type: 'array',
|
|
85824
|
+
},
|
|
85825
|
+
user_identity_key: {
|
|
85826
|
+
description:
|
|
85827
|
+
'Key of the primary user identity to keep.',
|
|
85828
|
+
minLength: 1,
|
|
85829
|
+
type: 'string',
|
|
85830
|
+
},
|
|
85831
|
+
},
|
|
85832
|
+
required: [
|
|
85833
|
+
'user_identity_key',
|
|
85834
|
+
'merged_user_identity_keys',
|
|
85835
|
+
],
|
|
85836
|
+
type: 'object',
|
|
85837
|
+
},
|
|
85838
|
+
],
|
|
85839
|
+
},
|
|
85840
|
+
},
|
|
85841
|
+
},
|
|
85842
|
+
},
|
|
85843
|
+
responses: {
|
|
85844
|
+
'200': {
|
|
85845
|
+
content: {
|
|
85846
|
+
'application/json': {
|
|
85847
|
+
schema: {
|
|
85848
|
+
properties: { ok: { type: 'boolean' } },
|
|
85849
|
+
required: ['ok'],
|
|
85850
|
+
type: 'object',
|
|
85851
|
+
},
|
|
85852
|
+
},
|
|
85853
|
+
},
|
|
85854
|
+
description: 'OK',
|
|
85855
|
+
},
|
|
85856
|
+
'400': { description: 'Bad Request' },
|
|
85857
|
+
'401': { description: 'Unauthorized' },
|
|
85858
|
+
},
|
|
85859
|
+
security: [
|
|
85860
|
+
{ api_key: [] },
|
|
85861
|
+
{ pat_with_workspace: [] },
|
|
85862
|
+
{ console_session_with_workspace: [] },
|
|
85863
|
+
],
|
|
85864
|
+
summary: '/user_identities/merge',
|
|
85865
|
+
tags: ['/user_identities'],
|
|
85866
|
+
'x-fern-sdk-group-name': ['user_identities'],
|
|
85867
|
+
'x-fern-sdk-method-name': 'merge',
|
|
85868
|
+
'x-response-key': null,
|
|
85869
|
+
'x-title': 'Merge User Identities',
|
|
85870
|
+
},
|
|
85871
|
+
},
|
|
85735
85872
|
'/user_identities/remove_acs_user': {
|
|
85736
85873
|
delete: {
|
|
85737
85874
|
description:
|
|
@@ -16281,6 +16281,10 @@ export type Routes = {
|
|
|
16281
16281
|
display_name: string
|
|
16282
16282
|
/** Full name of the user associated with the user identity. */
|
|
16283
16283
|
full_name: string | null
|
|
16284
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
16285
|
+
merged_user_identity_ids: string[]
|
|
16286
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
16287
|
+
merged_user_identity_keys: string[]
|
|
16284
16288
|
/** Date and time at which the user identity was created. */
|
|
16285
16289
|
created_at: string
|
|
16286
16290
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -104306,6 +104310,10 @@ export type Routes = {
|
|
|
104306
104310
|
display_name: string
|
|
104307
104311
|
/** Full name of the user associated with the user identity. */
|
|
104308
104312
|
full_name: string | null
|
|
104313
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
104314
|
+
merged_user_identity_ids: string[]
|
|
104315
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
104316
|
+
merged_user_identity_keys: string[]
|
|
104309
104317
|
/** Date and time at which the user identity was created. */
|
|
104310
104318
|
created_at: string
|
|
104311
104319
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -133039,6 +133047,10 @@ export type Routes = {
|
|
|
133039
133047
|
display_name: string
|
|
133040
133048
|
/** Full name of the user associated with the user identity. */
|
|
133041
133049
|
full_name: string | null
|
|
133050
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
133051
|
+
merged_user_identity_ids: string[]
|
|
133052
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
133053
|
+
merged_user_identity_keys: string[]
|
|
133042
133054
|
/** Date and time at which the user identity was created. */
|
|
133043
133055
|
created_at: string
|
|
133044
133056
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -133273,6 +133285,10 @@ export type Routes = {
|
|
|
133273
133285
|
display_name: string
|
|
133274
133286
|
/** Full name of the user associated with the user identity. */
|
|
133275
133287
|
full_name: string | null
|
|
133288
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
133289
|
+
merged_user_identity_ids: string[]
|
|
133290
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
133291
|
+
merged_user_identity_keys: string[]
|
|
133276
133292
|
/** Date and time at which the user identity was created. */
|
|
133277
133293
|
created_at: string
|
|
133278
133294
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -133364,6 +133380,10 @@ export type Routes = {
|
|
|
133364
133380
|
display_name: string
|
|
133365
133381
|
/** Full name of the user associated with the user identity. */
|
|
133366
133382
|
full_name: string | null
|
|
133383
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
133384
|
+
merged_user_identity_ids: string[]
|
|
133385
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
133386
|
+
merged_user_identity_keys: string[]
|
|
133367
133387
|
/** Date and time at which the user identity was created. */
|
|
133368
133388
|
created_at: string
|
|
133369
133389
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -137973,6 +137993,28 @@ export type Routes = {
|
|
|
137973
137993
|
}
|
|
137974
137994
|
maxDuration: undefined
|
|
137975
137995
|
}
|
|
137996
|
+
'/user_identities/merge': {
|
|
137997
|
+
route: '/user_identities/merge'
|
|
137998
|
+
method: 'POST'
|
|
137999
|
+
queryParams: {}
|
|
138000
|
+
jsonBody:
|
|
138001
|
+
| {
|
|
138002
|
+
/** ID of the primary user identity to keep. */
|
|
138003
|
+
user_identity_id: string
|
|
138004
|
+
/** IDs of the user identities to merge into the primary user identity. These user identities are deleted. */
|
|
138005
|
+
merged_user_identity_ids: string[]
|
|
138006
|
+
}
|
|
138007
|
+
| {
|
|
138008
|
+
/** Key of the primary user identity to keep. */
|
|
138009
|
+
user_identity_key: string
|
|
138010
|
+
/** Keys of the user identities to merge into the primary user identity. These user identities are deleted. */
|
|
138011
|
+
merged_user_identity_keys: string[]
|
|
138012
|
+
}
|
|
138013
|
+
commonParams: {}
|
|
138014
|
+
formData: {}
|
|
138015
|
+
jsonResponse: {}
|
|
138016
|
+
maxDuration: undefined
|
|
138017
|
+
}
|
|
137976
138018
|
'/user_identities/remove_acs_user': {
|
|
137977
138019
|
route: '/user_identities/remove_acs_user'
|
|
137978
138020
|
method: 'DELETE' | 'POST'
|
|
@@ -138026,6 +138068,10 @@ export type Routes = {
|
|
|
138026
138068
|
display_name: string
|
|
138027
138069
|
/** Full name of the user associated with the user identity. */
|
|
138028
138070
|
full_name: string | null
|
|
138071
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
138072
|
+
merged_user_identity_ids: string[]
|
|
138073
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
138074
|
+
merged_user_identity_keys: string[]
|
|
138029
138075
|
/** Date and time at which the user identity was created. */
|
|
138030
138076
|
created_at: string
|
|
138031
138077
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -138096,6 +138142,10 @@ export type Routes = {
|
|
|
138096
138142
|
display_name: string
|
|
138097
138143
|
/** Full name of the user associated with the user identity. */
|
|
138098
138144
|
full_name: string | null
|
|
138145
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
138146
|
+
merged_user_identity_ids: string[]
|
|
138147
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
138148
|
+
merged_user_identity_keys: string[]
|
|
138099
138149
|
/** Date and time at which the user identity was created. */
|
|
138100
138150
|
created_at: string
|
|
138101
138151
|
/** ID of the workspace that contains the user identity. */
|
|
@@ -138580,6 +138630,10 @@ export type Routes = {
|
|
|
138580
138630
|
display_name: string
|
|
138581
138631
|
/** Full name of the user associated with the user identity. */
|
|
138582
138632
|
full_name: string | null
|
|
138633
|
+
/** IDs that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
138634
|
+
merged_user_identity_ids: string[]
|
|
138635
|
+
/** Keys that other user identities used to have before they were merged into this user identity. Looking up any of them returns this user identity. */
|
|
138636
|
+
merged_user_identity_keys: string[]
|
|
138583
138637
|
/** Date and time at which the user identity was created. */
|
|
138584
138638
|
created_at: string
|
|
138585
138639
|
/** ID of the workspace that contains the user identity. */
|