@seamapi/types 1.593.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.
@@ -11823,6 +11823,82 @@ export type Routes = {
11823
11823
  }[];
11824
11824
  };
11825
11825
  };
11826
+ '/access_grants/request_access_methods': {
11827
+ route: '/access_grants/request_access_methods';
11828
+ method: 'POST';
11829
+ queryParams: {};
11830
+ jsonBody: {};
11831
+ commonParams: {
11832
+ /** ID of the Access Grant to add access methods to. */
11833
+ access_grant_id: string;
11834
+ /** Array of requested access methods to add to the access grant. */
11835
+ requested_access_methods: {
11836
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
11837
+ mode: 'code' | 'card' | 'mobile_key';
11838
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
11839
+ code?: string | undefined;
11840
+ }[];
11841
+ };
11842
+ formData: {};
11843
+ jsonResponse: {
11844
+ /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
11845
+ access_grant: {
11846
+ /** ID of the Seam workspace associated with the Access Grant. */
11847
+ workspace_id: string;
11848
+ /** ID of the Access Grant. */
11849
+ access_grant_id: string;
11850
+ /** Unique key for the access grant within the workspace. */
11851
+ access_grant_key?: string | undefined;
11852
+ /** ID of user identity to which the Access Grant gives access. */
11853
+ user_identity_id: string;
11854
+ /**
11855
+ * @deprecated Use `space_ids`.*/
11856
+ location_ids: string[];
11857
+ /** IDs of the spaces to which the Access Grant gives access. */
11858
+ space_ids: string[];
11859
+ /** Access methods that the user requested for the Access Grant. */
11860
+ requested_access_methods: {
11861
+ /** Display name of the access method. */
11862
+ display_name: string;
11863
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
11864
+ mode: 'code' | 'card' | 'mobile_key';
11865
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
11866
+ code?: string | undefined;
11867
+ /** Date and time at which the requested access method was added to the Access Grant. */
11868
+ created_at: string;
11869
+ /** IDs of the access methods created for the requested access method. */
11870
+ created_access_method_ids: string[];
11871
+ }[];
11872
+ /** IDs of the access methods created for the Access Grant. */
11873
+ access_method_ids: string[];
11874
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
11875
+ client_session_token?: string | undefined;
11876
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
11877
+ name: string | null;
11878
+ /** Display name of the Access Grant. */
11879
+ display_name: string;
11880
+ /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
11881
+ instant_key_url?: string | undefined;
11882
+ /** Date and time at which the Access Grant was created. */
11883
+ created_at: string;
11884
+ /** Date and time at which the Access Grant starts. */
11885
+ starts_at: string;
11886
+ /** Date and time at which the Access Grant ends. */
11887
+ ends_at: string | null;
11888
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
11889
+ warnings: {
11890
+ /** Date and time at which Seam created the warning. */
11891
+ created_at: string;
11892
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
11893
+ message: string;
11894
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
11895
+ warning_code: 'being_deleted';
11896
+ }[];
11897
+ /** ID of the customization profile associated with the Access Grant. */
11898
+ customization_profile_id?: string | undefined;
11899
+ };
11900
+ };
11901
+ };
11826
11902
  '/access_grants/unmanaged/get': {
11827
11903
  route: '/access_grants/unmanaged/get';
11828
11904
  method: 'GET' | 'POST';
@@ -11948,6 +12024,22 @@ export type Routes = {
11948
12024
  }[];
11949
12025
  };
11950
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
+ };
11951
12043
  '/access_grants/update': {
11952
12044
  route: '/access_grants/update';
11953
12045
  method: 'POST' | 'PATCH';
@@ -80118,6 +80210,22 @@ export type Routes = {
80118
80210
  }[];
80119
80211
  };
80120
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
+ };
80121
80229
  '/user_identities/update': {
80122
80230
  route: '/user_identities/update';
80123
80231
  method: 'PATCH' | 'POST';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.593.0",
3
+ "version": "1.595.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -29115,6 +29115,90 @@ export default {
29115
29115
  'x-title': 'List Access Grants',
29116
29116
  },
29117
29117
  },
29118
+ '/access_grants/request_access_methods': {
29119
+ post: {
29120
+ description:
29121
+ 'Adds additional requested access methods to an existing Access Grant.',
29122
+ operationId: 'accessGrantsRequestAccessMethodsPost',
29123
+ requestBody: {
29124
+ content: {
29125
+ 'application/json': {
29126
+ schema: {
29127
+ properties: {
29128
+ access_grant_id: {
29129
+ description:
29130
+ 'ID of the Access Grant to add access methods to.',
29131
+ format: 'uuid',
29132
+ type: 'string',
29133
+ },
29134
+ requested_access_methods: {
29135
+ description:
29136
+ 'Array of requested access methods to add to the access grant.',
29137
+ items: {
29138
+ properties: {
29139
+ code: {
29140
+ description:
29141
+ "Specific PIN code to use for this access method. Only applicable when mode is 'code'.",
29142
+ maxLength: 9,
29143
+ minLength: 4,
29144
+ pattern: '^\\d+$',
29145
+ type: 'string',
29146
+ },
29147
+ mode: {
29148
+ description:
29149
+ 'Access method mode. Supported values: `code`, `card`, `mobile_key`.',
29150
+ enum: ['code', 'card', 'mobile_key'],
29151
+ type: 'string',
29152
+ },
29153
+ },
29154
+ required: ['mode'],
29155
+ type: 'object',
29156
+ },
29157
+ minItems: 1,
29158
+ type: 'array',
29159
+ },
29160
+ },
29161
+ required: ['access_grant_id', 'requested_access_methods'],
29162
+ type: 'object',
29163
+ },
29164
+ },
29165
+ },
29166
+ },
29167
+ responses: {
29168
+ 200: {
29169
+ content: {
29170
+ 'application/json': {
29171
+ schema: {
29172
+ properties: {
29173
+ access_grant: { $ref: '#/components/schemas/access_grant' },
29174
+ ok: { type: 'boolean' },
29175
+ },
29176
+ required: ['access_grant', 'ok'],
29177
+ type: 'object',
29178
+ },
29179
+ },
29180
+ },
29181
+ description: 'OK',
29182
+ },
29183
+ 400: { description: 'Bad Request' },
29184
+ 401: { description: 'Unauthorized' },
29185
+ },
29186
+ security: [
29187
+ { pat_with_workspace: [] },
29188
+ { console_session_with_workspace: [] },
29189
+ { api_key: [] },
29190
+ { client_session_with_customer: [] },
29191
+ ],
29192
+ summary: '/access_grants/request_access_methods',
29193
+ tags: [],
29194
+ 'x-draft': 'Early access.',
29195
+ 'x-fern-sdk-group-name': ['access_grants'],
29196
+ 'x-fern-sdk-method-name': 'request_access_methods',
29197
+ 'x-fern-sdk-return-value': 'access_grant',
29198
+ 'x-response-key': 'access_grant',
29199
+ 'x-title': 'Add Requested Access Methods to Access Grant',
29200
+ },
29201
+ },
29118
29202
  '/access_grants/unmanaged/get': {
29119
29203
  get: {
29120
29204
  description:
@@ -30065,6 +30149,132 @@ export default {
30065
30149
  'x-title': 'List Unmanaged Access Grants',
30066
30150
  },
30067
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
+ },
30068
30278
  '/access_grants/update': {
30069
30279
  patch: {
30070
30280
  description: "Updates an existing Access Grant's time window.",
@@ -61381,6 +61591,132 @@ export default {
61381
61591
  'x-title': 'List Unmanaged User Identities',
61382
61592
  },
61383
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
+ },
61384
61720
  '/user_identities/update': {
61385
61721
  patch: {
61386
61722
  description:
@@ -13551,6 +13551,82 @@ export type Routes = {
13551
13551
  }[]
13552
13552
  }
13553
13553
  }
13554
+ '/access_grants/request_access_methods': {
13555
+ route: '/access_grants/request_access_methods'
13556
+ method: 'POST'
13557
+ queryParams: {}
13558
+ jsonBody: {}
13559
+ commonParams: {
13560
+ /** ID of the Access Grant to add access methods to. */
13561
+ access_grant_id: string
13562
+ /** Array of requested access methods to add to the access grant. */
13563
+ requested_access_methods: {
13564
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13565
+ mode: 'code' | 'card' | 'mobile_key'
13566
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13567
+ code?: string | undefined
13568
+ }[]
13569
+ }
13570
+ formData: {}
13571
+ jsonResponse: {
13572
+ /** Represents an Access Grant. Access Grants enable you to grant a user identity access to spaces, entrances, and devices through one or more access methods, such as mobile keys, plastic cards, and PIN codes. You can create an Access Grant for an existing user identity, or you can create a new user identity *while* creating the new Access Grant. */
13573
+ access_grant: {
13574
+ /** ID of the Seam workspace associated with the Access Grant. */
13575
+ workspace_id: string
13576
+ /** ID of the Access Grant. */
13577
+ access_grant_id: string
13578
+ /** Unique key for the access grant within the workspace. */
13579
+ access_grant_key?: string | undefined
13580
+ /** ID of user identity to which the Access Grant gives access. */
13581
+ user_identity_id: string
13582
+ /**
13583
+ * @deprecated Use `space_ids`.*/
13584
+ location_ids: string[]
13585
+ /** IDs of the spaces to which the Access Grant gives access. */
13586
+ space_ids: string[]
13587
+ /** Access methods that the user requested for the Access Grant. */
13588
+ requested_access_methods: {
13589
+ /** Display name of the access method. */
13590
+ display_name: string
13591
+ /** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
13592
+ mode: 'code' | 'card' | 'mobile_key'
13593
+ /** Specific PIN code to use for this access method. Only applicable when mode is 'code'. */
13594
+ code?: string | undefined
13595
+ /** Date and time at which the requested access method was added to the Access Grant. */
13596
+ created_at: string
13597
+ /** IDs of the access methods created for the requested access method. */
13598
+ created_access_method_ids: string[]
13599
+ }[]
13600
+ /** IDs of the access methods created for the Access Grant. */
13601
+ access_method_ids: string[]
13602
+ /** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
13603
+ client_session_token?: string | undefined
13604
+ /** Name of the Access Grant. If not provided, the display name will be computed. */
13605
+ name: string | null
13606
+ /** Display name of the Access Grant. */
13607
+ display_name: string
13608
+ /** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
13609
+ instant_key_url?: string | undefined
13610
+ /** Date and time at which the Access Grant was created. */
13611
+ created_at: string
13612
+ /** Date and time at which the Access Grant starts. */
13613
+ starts_at: string
13614
+ /** Date and time at which the Access Grant ends. */
13615
+ ends_at: string | null
13616
+ /** Warnings associated with the [access grant](https://docs.seam.co/latest/capability-guides/access-grants). */
13617
+ warnings: {
13618
+ /** Date and time at which Seam created the warning. */
13619
+ created_at: string
13620
+ /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
13621
+ message: string
13622
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13623
+ warning_code: 'being_deleted'
13624
+ }[]
13625
+ /** ID of the customization profile associated with the Access Grant. */
13626
+ customization_profile_id?: string | undefined
13627
+ }
13628
+ }
13629
+ }
13554
13630
  '/access_grants/unmanaged/get': {
13555
13631
  route: '/access_grants/unmanaged/get'
13556
13632
  method: 'GET' | 'POST'
@@ -13676,6 +13752,22 @@ export type Routes = {
13676
13752
  }[]
13677
13753
  }
13678
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
+ }
13679
13771
  '/access_grants/update': {
13680
13772
  route: '/access_grants/update'
13681
13773
  method: 'POST' | 'PATCH'
@@ -95369,6 +95461,22 @@ export type Routes = {
95369
95461
  }[]
95370
95462
  }
95371
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
+ }
95372
95480
  '/user_identities/update': {
95373
95481
  route: '/user_identities/update'
95374
95482
  method: 'PATCH' | 'POST'