@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.
@@ -12024,6 +12024,22 @@ export type Routes = {
12024
12024
  }[];
12025
12025
  };
12026
12026
  };
12027
+ '/access_grants/unmanaged/update': {
12028
+ route: '/access_grants/unmanaged/update';
12029
+ method: 'PATCH' | 'POST';
12030
+ queryParams: {};
12031
+ jsonBody: {
12032
+ /** ID of the unmanaged Access Grant to update. */
12033
+ access_grant_id: string;
12034
+ /** Must be set to true to convert the unmanaged access grant to managed. */
12035
+ is_managed: true;
12036
+ /** Unique key for the access grant. If not provided, the existing key will be preserved. */
12037
+ access_grant_key?: string | undefined;
12038
+ };
12039
+ commonParams: {};
12040
+ formData: {};
12041
+ jsonResponse: {};
12042
+ };
12027
12043
  '/access_grants/update': {
12028
12044
  route: '/access_grants/update';
12029
12045
  method: 'POST' | 'PATCH';
@@ -80194,6 +80210,22 @@ export type Routes = {
80194
80210
  }[];
80195
80211
  };
80196
80212
  };
80213
+ '/user_identities/unmanaged/update': {
80214
+ route: '/user_identities/unmanaged/update';
80215
+ method: 'PATCH' | 'POST';
80216
+ queryParams: {};
80217
+ jsonBody: {
80218
+ /** ID of the unmanaged user identity that you want to update. */
80219
+ user_identity_id: string;
80220
+ /** Must be set to true to convert the unmanaged user identity to managed. */
80221
+ is_managed: true;
80222
+ /** Unique key for the user identity. If not provided, the existing key will be preserved. */
80223
+ user_identity_key?: string | undefined;
80224
+ };
80225
+ commonParams: {};
80226
+ formData: {};
80227
+ jsonResponse: {};
80228
+ };
80197
80229
  '/user_identities/update': {
80198
80230
  route: '/user_identities/update';
80199
80231
  method: 'PATCH' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.594.0",
3
+ "version": "1.595.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -30149,6 +30149,132 @@ export default {
30149
30149
  'x-title': 'List Unmanaged Access Grants',
30150
30150
  },
30151
30151
  },
30152
+ '/access_grants/unmanaged/update': {
30153
+ patch: {
30154
+ description:
30155
+ '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.',
30156
+ operationId: 'accessGrantsUnmanagedUpdatePatch',
30157
+ requestBody: {
30158
+ content: {
30159
+ 'application/json': {
30160
+ schema: {
30161
+ properties: {
30162
+ access_grant_id: {
30163
+ description: 'ID of the unmanaged Access Grant to update.',
30164
+ format: 'uuid',
30165
+ type: 'string',
30166
+ },
30167
+ access_grant_key: {
30168
+ description:
30169
+ 'Unique key for the access grant. If not provided, the existing key will be preserved.',
30170
+ type: 'string',
30171
+ },
30172
+ is_managed: {
30173
+ description:
30174
+ 'Must be set to true to convert the unmanaged access grant to managed.',
30175
+ enum: [true],
30176
+ type: 'boolean',
30177
+ },
30178
+ },
30179
+ required: ['access_grant_id', 'is_managed'],
30180
+ type: 'object',
30181
+ },
30182
+ },
30183
+ },
30184
+ },
30185
+ responses: {
30186
+ 200: {
30187
+ content: {
30188
+ 'application/json': {
30189
+ schema: {
30190
+ properties: { ok: { type: 'boolean' } },
30191
+ required: ['ok'],
30192
+ type: 'object',
30193
+ },
30194
+ },
30195
+ },
30196
+ description: 'OK',
30197
+ },
30198
+ 400: { description: 'Bad Request' },
30199
+ 401: { description: 'Unauthorized' },
30200
+ },
30201
+ security: [
30202
+ { pat_with_workspace: [] },
30203
+ { console_session_with_workspace: [] },
30204
+ { api_key: [] },
30205
+ { client_session_with_customer: [] },
30206
+ ],
30207
+ summary: '/access_grants/unmanaged/update',
30208
+ tags: [],
30209
+ 'x-draft': 'Early access.',
30210
+ 'x-fern-sdk-group-name': ['access_grants', 'unmanaged'],
30211
+ 'x-fern-sdk-method-name': 'update',
30212
+ 'x-response-key': null,
30213
+ 'x-title': 'Update an Unmanaged Access Grant',
30214
+ },
30215
+ post: {
30216
+ description:
30217
+ '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.',
30218
+ operationId: 'accessGrantsUnmanagedUpdatePost',
30219
+ requestBody: {
30220
+ content: {
30221
+ 'application/json': {
30222
+ schema: {
30223
+ properties: {
30224
+ access_grant_id: {
30225
+ description: 'ID of the unmanaged Access Grant to update.',
30226
+ format: 'uuid',
30227
+ type: 'string',
30228
+ },
30229
+ access_grant_key: {
30230
+ description:
30231
+ 'Unique key for the access grant. If not provided, the existing key will be preserved.',
30232
+ type: 'string',
30233
+ },
30234
+ is_managed: {
30235
+ description:
30236
+ 'Must be set to true to convert the unmanaged access grant to managed.',
30237
+ enum: [true],
30238
+ type: 'boolean',
30239
+ },
30240
+ },
30241
+ required: ['access_grant_id', 'is_managed'],
30242
+ type: 'object',
30243
+ },
30244
+ },
30245
+ },
30246
+ },
30247
+ responses: {
30248
+ 200: {
30249
+ content: {
30250
+ 'application/json': {
30251
+ schema: {
30252
+ properties: { ok: { type: 'boolean' } },
30253
+ required: ['ok'],
30254
+ type: 'object',
30255
+ },
30256
+ },
30257
+ },
30258
+ description: 'OK',
30259
+ },
30260
+ 400: { description: 'Bad Request' },
30261
+ 401: { description: 'Unauthorized' },
30262
+ },
30263
+ security: [
30264
+ { pat_with_workspace: [] },
30265
+ { console_session_with_workspace: [] },
30266
+ { api_key: [] },
30267
+ { client_session_with_customer: [] },
30268
+ ],
30269
+ summary: '/access_grants/unmanaged/update',
30270
+ tags: [],
30271
+ 'x-draft': 'Early access.',
30272
+ 'x-fern-sdk-group-name': ['access_grants', 'unmanaged'],
30273
+ 'x-fern-sdk-method-name': 'update',
30274
+ 'x-response-key': null,
30275
+ 'x-title': 'Update an Unmanaged Access Grant',
30276
+ },
30277
+ },
30152
30278
  '/access_grants/update': {
30153
30279
  patch: {
30154
30280
  description: "Updates an existing Access Grant's time window.",
@@ -61465,6 +61591,132 @@ export default {
61465
61591
  'x-title': 'List Unmanaged User Identities',
61466
61592
  },
61467
61593
  },
61594
+ '/user_identities/unmanaged/update': {
61595
+ patch: {
61596
+ description:
61597
+ '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.',
61598
+ operationId: 'userIdentitiesUnmanagedUpdatePatch',
61599
+ requestBody: {
61600
+ content: {
61601
+ 'application/json': {
61602
+ schema: {
61603
+ properties: {
61604
+ is_managed: {
61605
+ description:
61606
+ 'Must be set to true to convert the unmanaged user identity to managed.',
61607
+ enum: [true],
61608
+ type: 'boolean',
61609
+ },
61610
+ user_identity_id: {
61611
+ description:
61612
+ 'ID of the unmanaged user identity that you want to update.',
61613
+ format: 'uuid',
61614
+ type: 'string',
61615
+ },
61616
+ user_identity_key: {
61617
+ description:
61618
+ 'Unique key for the user identity. If not provided, the existing key will be preserved.',
61619
+ type: 'string',
61620
+ },
61621
+ },
61622
+ required: ['user_identity_id', 'is_managed'],
61623
+ type: 'object',
61624
+ },
61625
+ },
61626
+ },
61627
+ },
61628
+ responses: {
61629
+ 200: {
61630
+ content: {
61631
+ 'application/json': {
61632
+ schema: {
61633
+ properties: { ok: { type: 'boolean' } },
61634
+ required: ['ok'],
61635
+ type: 'object',
61636
+ },
61637
+ },
61638
+ },
61639
+ description: 'OK',
61640
+ },
61641
+ 400: { description: 'Bad Request' },
61642
+ 401: { description: 'Unauthorized' },
61643
+ },
61644
+ security: [
61645
+ { api_key: [] },
61646
+ { client_session: [] },
61647
+ { pat_with_workspace: [] },
61648
+ { console_session_with_workspace: [] },
61649
+ ],
61650
+ summary: '/user_identities/unmanaged/update',
61651
+ tags: ['/user_identities'],
61652
+ 'x-fern-sdk-group-name': ['user_identities', 'unmanaged'],
61653
+ 'x-fern-sdk-method-name': 'update',
61654
+ 'x-response-key': null,
61655
+ 'x-title': 'Update an Unmanaged User Identity',
61656
+ },
61657
+ post: {
61658
+ description:
61659
+ '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.',
61660
+ operationId: 'userIdentitiesUnmanagedUpdatePost',
61661
+ requestBody: {
61662
+ content: {
61663
+ 'application/json': {
61664
+ schema: {
61665
+ properties: {
61666
+ is_managed: {
61667
+ description:
61668
+ 'Must be set to true to convert the unmanaged user identity to managed.',
61669
+ enum: [true],
61670
+ type: 'boolean',
61671
+ },
61672
+ user_identity_id: {
61673
+ description:
61674
+ 'ID of the unmanaged user identity that you want to update.',
61675
+ format: 'uuid',
61676
+ type: 'string',
61677
+ },
61678
+ user_identity_key: {
61679
+ description:
61680
+ 'Unique key for the user identity. If not provided, the existing key will be preserved.',
61681
+ type: 'string',
61682
+ },
61683
+ },
61684
+ required: ['user_identity_id', 'is_managed'],
61685
+ type: 'object',
61686
+ },
61687
+ },
61688
+ },
61689
+ },
61690
+ responses: {
61691
+ 200: {
61692
+ content: {
61693
+ 'application/json': {
61694
+ schema: {
61695
+ properties: { ok: { type: 'boolean' } },
61696
+ required: ['ok'],
61697
+ type: 'object',
61698
+ },
61699
+ },
61700
+ },
61701
+ description: 'OK',
61702
+ },
61703
+ 400: { description: 'Bad Request' },
61704
+ 401: { description: 'Unauthorized' },
61705
+ },
61706
+ security: [
61707
+ { api_key: [] },
61708
+ { client_session: [] },
61709
+ { pat_with_workspace: [] },
61710
+ { console_session_with_workspace: [] },
61711
+ ],
61712
+ summary: '/user_identities/unmanaged/update',
61713
+ tags: ['/user_identities'],
61714
+ 'x-fern-sdk-group-name': ['user_identities', 'unmanaged'],
61715
+ 'x-fern-sdk-method-name': 'update',
61716
+ 'x-response-key': null,
61717
+ 'x-title': 'Update an Unmanaged User Identity',
61718
+ },
61719
+ },
61468
61720
  '/user_identities/update': {
61469
61721
  patch: {
61470
61722
  description:
@@ -13752,6 +13752,22 @@ export type Routes = {
13752
13752
  }[]
13753
13753
  }
13754
13754
  }
13755
+ '/access_grants/unmanaged/update': {
13756
+ route: '/access_grants/unmanaged/update'
13757
+ method: 'PATCH' | 'POST'
13758
+ queryParams: {}
13759
+ jsonBody: {
13760
+ /** ID of the unmanaged Access Grant to update. */
13761
+ access_grant_id: string
13762
+ /** Must be set to true to convert the unmanaged access grant to managed. */
13763
+ is_managed: true
13764
+ /** Unique key for the access grant. If not provided, the existing key will be preserved. */
13765
+ access_grant_key?: string | undefined
13766
+ }
13767
+ commonParams: {}
13768
+ formData: {}
13769
+ jsonResponse: {}
13770
+ }
13755
13771
  '/access_grants/update': {
13756
13772
  route: '/access_grants/update'
13757
13773
  method: 'POST' | 'PATCH'
@@ -95445,6 +95461,22 @@ export type Routes = {
95445
95461
  }[]
95446
95462
  }
95447
95463
  }
95464
+ '/user_identities/unmanaged/update': {
95465
+ route: '/user_identities/unmanaged/update'
95466
+ method: 'PATCH' | 'POST'
95467
+ queryParams: {}
95468
+ jsonBody: {
95469
+ /** ID of the unmanaged user identity that you want to update. */
95470
+ user_identity_id: string
95471
+ /** Must be set to true to convert the unmanaged user identity to managed. */
95472
+ is_managed: true
95473
+ /** Unique key for the user identity. If not provided, the existing key will be preserved. */
95474
+ user_identity_key?: string | undefined
95475
+ }
95476
+ commonParams: {}
95477
+ formData: {}
95478
+ jsonResponse: {}
95479
+ }
95448
95480
  '/user_identities/update': {
95449
95481
  route: '/user_identities/update'
95450
95482
  method: 'PATCH' | 'POST'