@seamapi/types 1.594.0 → 1.595.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +238 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +362 -0
- package/dist/index.cjs +238 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/openapi.d.ts +330 -0
- package/lib/seam/connect/openapi.js +238 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +32 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +252 -0
- package/src/lib/seam/connect/route-types.ts +32 -0
|
@@ -19465,6 +19465,172 @@ declare const _default: {
|
|
|
19465
19465
|
'x-title': string;
|
|
19466
19466
|
};
|
|
19467
19467
|
};
|
|
19468
|
+
'/access_grants/unmanaged/update': {
|
|
19469
|
+
patch: {
|
|
19470
|
+
description: string;
|
|
19471
|
+
operationId: string;
|
|
19472
|
+
requestBody: {
|
|
19473
|
+
content: {
|
|
19474
|
+
'application/json': {
|
|
19475
|
+
schema: {
|
|
19476
|
+
properties: {
|
|
19477
|
+
access_grant_id: {
|
|
19478
|
+
description: string;
|
|
19479
|
+
format: string;
|
|
19480
|
+
type: string;
|
|
19481
|
+
};
|
|
19482
|
+
access_grant_key: {
|
|
19483
|
+
description: string;
|
|
19484
|
+
type: string;
|
|
19485
|
+
};
|
|
19486
|
+
is_managed: {
|
|
19487
|
+
description: string;
|
|
19488
|
+
enum: boolean[];
|
|
19489
|
+
type: string;
|
|
19490
|
+
};
|
|
19491
|
+
};
|
|
19492
|
+
required: string[];
|
|
19493
|
+
type: string;
|
|
19494
|
+
};
|
|
19495
|
+
};
|
|
19496
|
+
};
|
|
19497
|
+
};
|
|
19498
|
+
responses: {
|
|
19499
|
+
200: {
|
|
19500
|
+
content: {
|
|
19501
|
+
'application/json': {
|
|
19502
|
+
schema: {
|
|
19503
|
+
properties: {
|
|
19504
|
+
ok: {
|
|
19505
|
+
type: string;
|
|
19506
|
+
};
|
|
19507
|
+
};
|
|
19508
|
+
required: string[];
|
|
19509
|
+
type: string;
|
|
19510
|
+
};
|
|
19511
|
+
};
|
|
19512
|
+
};
|
|
19513
|
+
description: string;
|
|
19514
|
+
};
|
|
19515
|
+
400: {
|
|
19516
|
+
description: string;
|
|
19517
|
+
};
|
|
19518
|
+
401: {
|
|
19519
|
+
description: string;
|
|
19520
|
+
};
|
|
19521
|
+
};
|
|
19522
|
+
security: ({
|
|
19523
|
+
pat_with_workspace: never[];
|
|
19524
|
+
console_session_with_workspace?: never;
|
|
19525
|
+
api_key?: never;
|
|
19526
|
+
client_session_with_customer?: never;
|
|
19527
|
+
} | {
|
|
19528
|
+
console_session_with_workspace: never[];
|
|
19529
|
+
pat_with_workspace?: never;
|
|
19530
|
+
api_key?: never;
|
|
19531
|
+
client_session_with_customer?: never;
|
|
19532
|
+
} | {
|
|
19533
|
+
api_key: never[];
|
|
19534
|
+
pat_with_workspace?: never;
|
|
19535
|
+
console_session_with_workspace?: never;
|
|
19536
|
+
client_session_with_customer?: never;
|
|
19537
|
+
} | {
|
|
19538
|
+
client_session_with_customer: never[];
|
|
19539
|
+
pat_with_workspace?: never;
|
|
19540
|
+
console_session_with_workspace?: never;
|
|
19541
|
+
api_key?: never;
|
|
19542
|
+
})[];
|
|
19543
|
+
summary: string;
|
|
19544
|
+
tags: never[];
|
|
19545
|
+
'x-draft': string;
|
|
19546
|
+
'x-fern-sdk-group-name': string[];
|
|
19547
|
+
'x-fern-sdk-method-name': string;
|
|
19548
|
+
'x-response-key': null;
|
|
19549
|
+
'x-title': string;
|
|
19550
|
+
};
|
|
19551
|
+
post: {
|
|
19552
|
+
description: string;
|
|
19553
|
+
operationId: string;
|
|
19554
|
+
requestBody: {
|
|
19555
|
+
content: {
|
|
19556
|
+
'application/json': {
|
|
19557
|
+
schema: {
|
|
19558
|
+
properties: {
|
|
19559
|
+
access_grant_id: {
|
|
19560
|
+
description: string;
|
|
19561
|
+
format: string;
|
|
19562
|
+
type: string;
|
|
19563
|
+
};
|
|
19564
|
+
access_grant_key: {
|
|
19565
|
+
description: string;
|
|
19566
|
+
type: string;
|
|
19567
|
+
};
|
|
19568
|
+
is_managed: {
|
|
19569
|
+
description: string;
|
|
19570
|
+
enum: boolean[];
|
|
19571
|
+
type: string;
|
|
19572
|
+
};
|
|
19573
|
+
};
|
|
19574
|
+
required: string[];
|
|
19575
|
+
type: string;
|
|
19576
|
+
};
|
|
19577
|
+
};
|
|
19578
|
+
};
|
|
19579
|
+
};
|
|
19580
|
+
responses: {
|
|
19581
|
+
200: {
|
|
19582
|
+
content: {
|
|
19583
|
+
'application/json': {
|
|
19584
|
+
schema: {
|
|
19585
|
+
properties: {
|
|
19586
|
+
ok: {
|
|
19587
|
+
type: string;
|
|
19588
|
+
};
|
|
19589
|
+
};
|
|
19590
|
+
required: string[];
|
|
19591
|
+
type: string;
|
|
19592
|
+
};
|
|
19593
|
+
};
|
|
19594
|
+
};
|
|
19595
|
+
description: string;
|
|
19596
|
+
};
|
|
19597
|
+
400: {
|
|
19598
|
+
description: string;
|
|
19599
|
+
};
|
|
19600
|
+
401: {
|
|
19601
|
+
description: string;
|
|
19602
|
+
};
|
|
19603
|
+
};
|
|
19604
|
+
security: ({
|
|
19605
|
+
pat_with_workspace: never[];
|
|
19606
|
+
console_session_with_workspace?: never;
|
|
19607
|
+
api_key?: never;
|
|
19608
|
+
client_session_with_customer?: never;
|
|
19609
|
+
} | {
|
|
19610
|
+
console_session_with_workspace: never[];
|
|
19611
|
+
pat_with_workspace?: never;
|
|
19612
|
+
api_key?: never;
|
|
19613
|
+
client_session_with_customer?: never;
|
|
19614
|
+
} | {
|
|
19615
|
+
api_key: never[];
|
|
19616
|
+
pat_with_workspace?: never;
|
|
19617
|
+
console_session_with_workspace?: never;
|
|
19618
|
+
client_session_with_customer?: never;
|
|
19619
|
+
} | {
|
|
19620
|
+
client_session_with_customer: never[];
|
|
19621
|
+
pat_with_workspace?: never;
|
|
19622
|
+
console_session_with_workspace?: never;
|
|
19623
|
+
api_key?: never;
|
|
19624
|
+
})[];
|
|
19625
|
+
summary: string;
|
|
19626
|
+
tags: never[];
|
|
19627
|
+
'x-draft': string;
|
|
19628
|
+
'x-fern-sdk-group-name': string[];
|
|
19629
|
+
'x-fern-sdk-method-name': string;
|
|
19630
|
+
'x-response-key': null;
|
|
19631
|
+
'x-title': string;
|
|
19632
|
+
};
|
|
19633
|
+
};
|
|
19468
19634
|
'/access_grants/update': {
|
|
19469
19635
|
patch: {
|
|
19470
19636
|
description: string;
|
|
@@ -53438,6 +53604,170 @@ declare const _default: {
|
|
|
53438
53604
|
'x-title': string;
|
|
53439
53605
|
};
|
|
53440
53606
|
};
|
|
53607
|
+
'/user_identities/unmanaged/update': {
|
|
53608
|
+
patch: {
|
|
53609
|
+
description: string;
|
|
53610
|
+
operationId: string;
|
|
53611
|
+
requestBody: {
|
|
53612
|
+
content: {
|
|
53613
|
+
'application/json': {
|
|
53614
|
+
schema: {
|
|
53615
|
+
properties: {
|
|
53616
|
+
is_managed: {
|
|
53617
|
+
description: string;
|
|
53618
|
+
enum: boolean[];
|
|
53619
|
+
type: string;
|
|
53620
|
+
};
|
|
53621
|
+
user_identity_id: {
|
|
53622
|
+
description: string;
|
|
53623
|
+
format: string;
|
|
53624
|
+
type: string;
|
|
53625
|
+
};
|
|
53626
|
+
user_identity_key: {
|
|
53627
|
+
description: string;
|
|
53628
|
+
type: string;
|
|
53629
|
+
};
|
|
53630
|
+
};
|
|
53631
|
+
required: string[];
|
|
53632
|
+
type: string;
|
|
53633
|
+
};
|
|
53634
|
+
};
|
|
53635
|
+
};
|
|
53636
|
+
};
|
|
53637
|
+
responses: {
|
|
53638
|
+
200: {
|
|
53639
|
+
content: {
|
|
53640
|
+
'application/json': {
|
|
53641
|
+
schema: {
|
|
53642
|
+
properties: {
|
|
53643
|
+
ok: {
|
|
53644
|
+
type: string;
|
|
53645
|
+
};
|
|
53646
|
+
};
|
|
53647
|
+
required: string[];
|
|
53648
|
+
type: string;
|
|
53649
|
+
};
|
|
53650
|
+
};
|
|
53651
|
+
};
|
|
53652
|
+
description: string;
|
|
53653
|
+
};
|
|
53654
|
+
400: {
|
|
53655
|
+
description: string;
|
|
53656
|
+
};
|
|
53657
|
+
401: {
|
|
53658
|
+
description: string;
|
|
53659
|
+
};
|
|
53660
|
+
};
|
|
53661
|
+
security: ({
|
|
53662
|
+
api_key: never[];
|
|
53663
|
+
client_session?: never;
|
|
53664
|
+
pat_with_workspace?: never;
|
|
53665
|
+
console_session_with_workspace?: never;
|
|
53666
|
+
} | {
|
|
53667
|
+
client_session: never[];
|
|
53668
|
+
api_key?: never;
|
|
53669
|
+
pat_with_workspace?: never;
|
|
53670
|
+
console_session_with_workspace?: never;
|
|
53671
|
+
} | {
|
|
53672
|
+
pat_with_workspace: never[];
|
|
53673
|
+
api_key?: never;
|
|
53674
|
+
client_session?: never;
|
|
53675
|
+
console_session_with_workspace?: never;
|
|
53676
|
+
} | {
|
|
53677
|
+
console_session_with_workspace: never[];
|
|
53678
|
+
api_key?: never;
|
|
53679
|
+
client_session?: never;
|
|
53680
|
+
pat_with_workspace?: never;
|
|
53681
|
+
})[];
|
|
53682
|
+
summary: string;
|
|
53683
|
+
tags: string[];
|
|
53684
|
+
'x-fern-sdk-group-name': string[];
|
|
53685
|
+
'x-fern-sdk-method-name': string;
|
|
53686
|
+
'x-response-key': null;
|
|
53687
|
+
'x-title': string;
|
|
53688
|
+
};
|
|
53689
|
+
post: {
|
|
53690
|
+
description: string;
|
|
53691
|
+
operationId: string;
|
|
53692
|
+
requestBody: {
|
|
53693
|
+
content: {
|
|
53694
|
+
'application/json': {
|
|
53695
|
+
schema: {
|
|
53696
|
+
properties: {
|
|
53697
|
+
is_managed: {
|
|
53698
|
+
description: string;
|
|
53699
|
+
enum: boolean[];
|
|
53700
|
+
type: string;
|
|
53701
|
+
};
|
|
53702
|
+
user_identity_id: {
|
|
53703
|
+
description: string;
|
|
53704
|
+
format: string;
|
|
53705
|
+
type: string;
|
|
53706
|
+
};
|
|
53707
|
+
user_identity_key: {
|
|
53708
|
+
description: string;
|
|
53709
|
+
type: string;
|
|
53710
|
+
};
|
|
53711
|
+
};
|
|
53712
|
+
required: string[];
|
|
53713
|
+
type: string;
|
|
53714
|
+
};
|
|
53715
|
+
};
|
|
53716
|
+
};
|
|
53717
|
+
};
|
|
53718
|
+
responses: {
|
|
53719
|
+
200: {
|
|
53720
|
+
content: {
|
|
53721
|
+
'application/json': {
|
|
53722
|
+
schema: {
|
|
53723
|
+
properties: {
|
|
53724
|
+
ok: {
|
|
53725
|
+
type: string;
|
|
53726
|
+
};
|
|
53727
|
+
};
|
|
53728
|
+
required: string[];
|
|
53729
|
+
type: string;
|
|
53730
|
+
};
|
|
53731
|
+
};
|
|
53732
|
+
};
|
|
53733
|
+
description: string;
|
|
53734
|
+
};
|
|
53735
|
+
400: {
|
|
53736
|
+
description: string;
|
|
53737
|
+
};
|
|
53738
|
+
401: {
|
|
53739
|
+
description: string;
|
|
53740
|
+
};
|
|
53741
|
+
};
|
|
53742
|
+
security: ({
|
|
53743
|
+
api_key: never[];
|
|
53744
|
+
client_session?: never;
|
|
53745
|
+
pat_with_workspace?: never;
|
|
53746
|
+
console_session_with_workspace?: never;
|
|
53747
|
+
} | {
|
|
53748
|
+
client_session: never[];
|
|
53749
|
+
api_key?: never;
|
|
53750
|
+
pat_with_workspace?: never;
|
|
53751
|
+
console_session_with_workspace?: never;
|
|
53752
|
+
} | {
|
|
53753
|
+
pat_with_workspace: never[];
|
|
53754
|
+
api_key?: never;
|
|
53755
|
+
client_session?: never;
|
|
53756
|
+
console_session_with_workspace?: never;
|
|
53757
|
+
} | {
|
|
53758
|
+
console_session_with_workspace: never[];
|
|
53759
|
+
api_key?: never;
|
|
53760
|
+
client_session?: never;
|
|
53761
|
+
pat_with_workspace?: never;
|
|
53762
|
+
})[];
|
|
53763
|
+
summary: string;
|
|
53764
|
+
tags: string[];
|
|
53765
|
+
'x-fern-sdk-group-name': string[];
|
|
53766
|
+
'x-fern-sdk-method-name': string;
|
|
53767
|
+
'x-response-key': null;
|
|
53768
|
+
'x-title': string;
|
|
53769
|
+
};
|
|
53770
|
+
};
|
|
53441
53771
|
'/user_identities/update': {
|
|
53442
53772
|
patch: {
|
|
53443
53773
|
description: string;
|
|
@@ -27146,6 +27146,126 @@ export default {
|
|
|
27146
27146
|
'x-title': 'List Unmanaged Access Grants',
|
|
27147
27147
|
},
|
|
27148
27148
|
},
|
|
27149
|
+
'/access_grants/unmanaged/update': {
|
|
27150
|
+
patch: {
|
|
27151
|
+
description: 'Updates an unmanaged Access Grant to make it managed.\n\nThis endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.\n\nWhen converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.',
|
|
27152
|
+
operationId: 'accessGrantsUnmanagedUpdatePatch',
|
|
27153
|
+
requestBody: {
|
|
27154
|
+
content: {
|
|
27155
|
+
'application/json': {
|
|
27156
|
+
schema: {
|
|
27157
|
+
properties: {
|
|
27158
|
+
access_grant_id: {
|
|
27159
|
+
description: 'ID of the unmanaged Access Grant to update.',
|
|
27160
|
+
format: 'uuid',
|
|
27161
|
+
type: 'string',
|
|
27162
|
+
},
|
|
27163
|
+
access_grant_key: {
|
|
27164
|
+
description: 'Unique key for the access grant. If not provided, the existing key will be preserved.',
|
|
27165
|
+
type: 'string',
|
|
27166
|
+
},
|
|
27167
|
+
is_managed: {
|
|
27168
|
+
description: 'Must be set to true to convert the unmanaged access grant to managed.',
|
|
27169
|
+
enum: [true],
|
|
27170
|
+
type: 'boolean',
|
|
27171
|
+
},
|
|
27172
|
+
},
|
|
27173
|
+
required: ['access_grant_id', 'is_managed'],
|
|
27174
|
+
type: 'object',
|
|
27175
|
+
},
|
|
27176
|
+
},
|
|
27177
|
+
},
|
|
27178
|
+
},
|
|
27179
|
+
responses: {
|
|
27180
|
+
200: {
|
|
27181
|
+
content: {
|
|
27182
|
+
'application/json': {
|
|
27183
|
+
schema: {
|
|
27184
|
+
properties: { ok: { type: 'boolean' } },
|
|
27185
|
+
required: ['ok'],
|
|
27186
|
+
type: 'object',
|
|
27187
|
+
},
|
|
27188
|
+
},
|
|
27189
|
+
},
|
|
27190
|
+
description: 'OK',
|
|
27191
|
+
},
|
|
27192
|
+
400: { description: 'Bad Request' },
|
|
27193
|
+
401: { description: 'Unauthorized' },
|
|
27194
|
+
},
|
|
27195
|
+
security: [
|
|
27196
|
+
{ pat_with_workspace: [] },
|
|
27197
|
+
{ console_session_with_workspace: [] },
|
|
27198
|
+
{ api_key: [] },
|
|
27199
|
+
{ client_session_with_customer: [] },
|
|
27200
|
+
],
|
|
27201
|
+
summary: '/access_grants/unmanaged/update',
|
|
27202
|
+
tags: [],
|
|
27203
|
+
'x-draft': 'Early access.',
|
|
27204
|
+
'x-fern-sdk-group-name': ['access_grants', 'unmanaged'],
|
|
27205
|
+
'x-fern-sdk-method-name': 'update',
|
|
27206
|
+
'x-response-key': null,
|
|
27207
|
+
'x-title': 'Update an Unmanaged Access Grant',
|
|
27208
|
+
},
|
|
27209
|
+
post: {
|
|
27210
|
+
description: 'Updates an unmanaged Access Grant to make it managed.\n\nThis endpoint can only be used to convert unmanaged access grants to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed access grants back to unmanaged.\n\nWhen converting an unmanaged access grant to managed, all associated access methods will also be converted to managed.',
|
|
27211
|
+
operationId: 'accessGrantsUnmanagedUpdatePost',
|
|
27212
|
+
requestBody: {
|
|
27213
|
+
content: {
|
|
27214
|
+
'application/json': {
|
|
27215
|
+
schema: {
|
|
27216
|
+
properties: {
|
|
27217
|
+
access_grant_id: {
|
|
27218
|
+
description: 'ID of the unmanaged Access Grant to update.',
|
|
27219
|
+
format: 'uuid',
|
|
27220
|
+
type: 'string',
|
|
27221
|
+
},
|
|
27222
|
+
access_grant_key: {
|
|
27223
|
+
description: 'Unique key for the access grant. If not provided, the existing key will be preserved.',
|
|
27224
|
+
type: 'string',
|
|
27225
|
+
},
|
|
27226
|
+
is_managed: {
|
|
27227
|
+
description: 'Must be set to true to convert the unmanaged access grant to managed.',
|
|
27228
|
+
enum: [true],
|
|
27229
|
+
type: 'boolean',
|
|
27230
|
+
},
|
|
27231
|
+
},
|
|
27232
|
+
required: ['access_grant_id', 'is_managed'],
|
|
27233
|
+
type: 'object',
|
|
27234
|
+
},
|
|
27235
|
+
},
|
|
27236
|
+
},
|
|
27237
|
+
},
|
|
27238
|
+
responses: {
|
|
27239
|
+
200: {
|
|
27240
|
+
content: {
|
|
27241
|
+
'application/json': {
|
|
27242
|
+
schema: {
|
|
27243
|
+
properties: { ok: { type: 'boolean' } },
|
|
27244
|
+
required: ['ok'],
|
|
27245
|
+
type: 'object',
|
|
27246
|
+
},
|
|
27247
|
+
},
|
|
27248
|
+
},
|
|
27249
|
+
description: 'OK',
|
|
27250
|
+
},
|
|
27251
|
+
400: { description: 'Bad Request' },
|
|
27252
|
+
401: { description: 'Unauthorized' },
|
|
27253
|
+
},
|
|
27254
|
+
security: [
|
|
27255
|
+
{ pat_with_workspace: [] },
|
|
27256
|
+
{ console_session_with_workspace: [] },
|
|
27257
|
+
{ api_key: [] },
|
|
27258
|
+
{ client_session_with_customer: [] },
|
|
27259
|
+
],
|
|
27260
|
+
summary: '/access_grants/unmanaged/update',
|
|
27261
|
+
tags: [],
|
|
27262
|
+
'x-draft': 'Early access.',
|
|
27263
|
+
'x-fern-sdk-group-name': ['access_grants', 'unmanaged'],
|
|
27264
|
+
'x-fern-sdk-method-name': 'update',
|
|
27265
|
+
'x-response-key': null,
|
|
27266
|
+
'x-title': 'Update an Unmanaged Access Grant',
|
|
27267
|
+
},
|
|
27268
|
+
},
|
|
27149
27269
|
'/access_grants/update': {
|
|
27150
27270
|
patch: {
|
|
27151
27271
|
description: "Updates an existing Access Grant's time window.",
|
|
@@ -56853,6 +56973,124 @@ export default {
|
|
|
56853
56973
|
'x-title': 'List Unmanaged User Identities',
|
|
56854
56974
|
},
|
|
56855
56975
|
},
|
|
56976
|
+
'/user_identities/unmanaged/update': {
|
|
56977
|
+
patch: {
|
|
56978
|
+
description: 'Updates an unmanaged [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.\n\nThis endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.',
|
|
56979
|
+
operationId: 'userIdentitiesUnmanagedUpdatePatch',
|
|
56980
|
+
requestBody: {
|
|
56981
|
+
content: {
|
|
56982
|
+
'application/json': {
|
|
56983
|
+
schema: {
|
|
56984
|
+
properties: {
|
|
56985
|
+
is_managed: {
|
|
56986
|
+
description: 'Must be set to true to convert the unmanaged user identity to managed.',
|
|
56987
|
+
enum: [true],
|
|
56988
|
+
type: 'boolean',
|
|
56989
|
+
},
|
|
56990
|
+
user_identity_id: {
|
|
56991
|
+
description: 'ID of the unmanaged user identity that you want to update.',
|
|
56992
|
+
format: 'uuid',
|
|
56993
|
+
type: 'string',
|
|
56994
|
+
},
|
|
56995
|
+
user_identity_key: {
|
|
56996
|
+
description: 'Unique key for the user identity. If not provided, the existing key will be preserved.',
|
|
56997
|
+
type: 'string',
|
|
56998
|
+
},
|
|
56999
|
+
},
|
|
57000
|
+
required: ['user_identity_id', 'is_managed'],
|
|
57001
|
+
type: 'object',
|
|
57002
|
+
},
|
|
57003
|
+
},
|
|
57004
|
+
},
|
|
57005
|
+
},
|
|
57006
|
+
responses: {
|
|
57007
|
+
200: {
|
|
57008
|
+
content: {
|
|
57009
|
+
'application/json': {
|
|
57010
|
+
schema: {
|
|
57011
|
+
properties: { ok: { type: 'boolean' } },
|
|
57012
|
+
required: ['ok'],
|
|
57013
|
+
type: 'object',
|
|
57014
|
+
},
|
|
57015
|
+
},
|
|
57016
|
+
},
|
|
57017
|
+
description: 'OK',
|
|
57018
|
+
},
|
|
57019
|
+
400: { description: 'Bad Request' },
|
|
57020
|
+
401: { description: 'Unauthorized' },
|
|
57021
|
+
},
|
|
57022
|
+
security: [
|
|
57023
|
+
{ api_key: [] },
|
|
57024
|
+
{ client_session: [] },
|
|
57025
|
+
{ pat_with_workspace: [] },
|
|
57026
|
+
{ console_session_with_workspace: [] },
|
|
57027
|
+
],
|
|
57028
|
+
summary: '/user_identities/unmanaged/update',
|
|
57029
|
+
tags: ['/user_identities'],
|
|
57030
|
+
'x-fern-sdk-group-name': ['user_identities', 'unmanaged'],
|
|
57031
|
+
'x-fern-sdk-method-name': 'update',
|
|
57032
|
+
'x-response-key': null,
|
|
57033
|
+
'x-title': 'Update an Unmanaged User Identity',
|
|
57034
|
+
},
|
|
57035
|
+
post: {
|
|
57036
|
+
description: 'Updates an unmanaged [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) to make it managed.\n\nThis endpoint can only be used to convert unmanaged user identities to managed ones by setting `is_managed` to `true`. It cannot be used to convert managed user identities back to unmanaged.',
|
|
57037
|
+
operationId: 'userIdentitiesUnmanagedUpdatePost',
|
|
57038
|
+
requestBody: {
|
|
57039
|
+
content: {
|
|
57040
|
+
'application/json': {
|
|
57041
|
+
schema: {
|
|
57042
|
+
properties: {
|
|
57043
|
+
is_managed: {
|
|
57044
|
+
description: 'Must be set to true to convert the unmanaged user identity to managed.',
|
|
57045
|
+
enum: [true],
|
|
57046
|
+
type: 'boolean',
|
|
57047
|
+
},
|
|
57048
|
+
user_identity_id: {
|
|
57049
|
+
description: 'ID of the unmanaged user identity that you want to update.',
|
|
57050
|
+
format: 'uuid',
|
|
57051
|
+
type: 'string',
|
|
57052
|
+
},
|
|
57053
|
+
user_identity_key: {
|
|
57054
|
+
description: 'Unique key for the user identity. If not provided, the existing key will be preserved.',
|
|
57055
|
+
type: 'string',
|
|
57056
|
+
},
|
|
57057
|
+
},
|
|
57058
|
+
required: ['user_identity_id', 'is_managed'],
|
|
57059
|
+
type: 'object',
|
|
57060
|
+
},
|
|
57061
|
+
},
|
|
57062
|
+
},
|
|
57063
|
+
},
|
|
57064
|
+
responses: {
|
|
57065
|
+
200: {
|
|
57066
|
+
content: {
|
|
57067
|
+
'application/json': {
|
|
57068
|
+
schema: {
|
|
57069
|
+
properties: { ok: { type: 'boolean' } },
|
|
57070
|
+
required: ['ok'],
|
|
57071
|
+
type: 'object',
|
|
57072
|
+
},
|
|
57073
|
+
},
|
|
57074
|
+
},
|
|
57075
|
+
description: 'OK',
|
|
57076
|
+
},
|
|
57077
|
+
400: { description: 'Bad Request' },
|
|
57078
|
+
401: { description: 'Unauthorized' },
|
|
57079
|
+
},
|
|
57080
|
+
security: [
|
|
57081
|
+
{ api_key: [] },
|
|
57082
|
+
{ client_session: [] },
|
|
57083
|
+
{ pat_with_workspace: [] },
|
|
57084
|
+
{ console_session_with_workspace: [] },
|
|
57085
|
+
],
|
|
57086
|
+
summary: '/user_identities/unmanaged/update',
|
|
57087
|
+
tags: ['/user_identities'],
|
|
57088
|
+
'x-fern-sdk-group-name': ['user_identities', 'unmanaged'],
|
|
57089
|
+
'x-fern-sdk-method-name': 'update',
|
|
57090
|
+
'x-response-key': null,
|
|
57091
|
+
'x-title': 'Update an Unmanaged User Identity',
|
|
57092
|
+
},
|
|
57093
|
+
},
|
|
56856
57094
|
'/user_identities/update': {
|
|
56857
57095
|
patch: {
|
|
56858
57096
|
description: 'Updates a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|