@seamapi/types 1.476.0 → 1.478.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 +153 -28
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +290 -4
- package/dist/index.cjs +153 -28
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +236 -0
- package/lib/seam/connect/models/batch.js +3 -0
- package/lib/seam/connect/models/batch.js.map +1 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.d.ts +4 -1
- package/lib/seam/connect/models/customization_profiles/customization_profile.js +11 -3
- package/lib/seam/connect/models/customization_profiles/customization_profile.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +76 -0
- package/lib/seam/connect/openapi.js +79 -11
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +92 -3
- package/package.json +1 -1
- package/src/lib/seam/connect/models/batch.ts +3 -0
- package/src/lib/seam/connect/models/customization_profiles/customization_profile.ts +11 -3
- package/src/lib/seam/connect/openapi.ts +80 -11
- package/src/lib/seam/connect/route-types.ts +96 -3
|
@@ -16903,6 +16903,48 @@ export type Routes = {
|
|
|
16903
16903
|
/** The actual PIN code for code access methods. */
|
|
16904
16904
|
code?: string | undefined;
|
|
16905
16905
|
}[] | undefined;
|
|
16906
|
+
access_grants?: {
|
|
16907
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
16908
|
+
workspace_id: string;
|
|
16909
|
+
/** ID of the Access Grant. */
|
|
16910
|
+
access_grant_id: string;
|
|
16911
|
+
/** Unique key for the access grant within the workspace. */
|
|
16912
|
+
access_grant_key?: string | undefined;
|
|
16913
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
16914
|
+
user_identity_id: string;
|
|
16915
|
+
/**
|
|
16916
|
+
* @deprecated Use `space_ids`.*/
|
|
16917
|
+
location_ids: string[];
|
|
16918
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
16919
|
+
space_ids: string[];
|
|
16920
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
16921
|
+
requested_access_methods: {
|
|
16922
|
+
/** Display name of the access method. */
|
|
16923
|
+
display_name: string;
|
|
16924
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
16925
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
16926
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
16927
|
+
created_at: string;
|
|
16928
|
+
/** IDs of the access methods created for the requested access method. */
|
|
16929
|
+
created_access_method_ids: string[];
|
|
16930
|
+
}[];
|
|
16931
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
16932
|
+
access_method_ids: string[];
|
|
16933
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
16934
|
+
client_session_token?: string | undefined;
|
|
16935
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
16936
|
+
name: string | null;
|
|
16937
|
+
/** Display name of the Access Grant. */
|
|
16938
|
+
display_name: string;
|
|
16939
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
16940
|
+
instant_key_url?: string | undefined;
|
|
16941
|
+
/** Date and time at which the Access Grant was created. */
|
|
16942
|
+
created_at: string;
|
|
16943
|
+
/** Date and time at which the Access Grant starts. */
|
|
16944
|
+
starts_at: string;
|
|
16945
|
+
/** Date and time at which the Access Grant ends. */
|
|
16946
|
+
ends_at: string | null;
|
|
16947
|
+
}[] | undefined;
|
|
16906
16948
|
};
|
|
16907
16949
|
};
|
|
16908
16950
|
};
|
|
@@ -75716,9 +75758,11 @@ export type Routes = {
|
|
|
75716
75758
|
commonParams: {};
|
|
75717
75759
|
formData: {};
|
|
75718
75760
|
jsonResponse: {
|
|
75761
|
+
/** A customization profile. */
|
|
75719
75762
|
customization_profile: {
|
|
75720
|
-
workspace_id: string;
|
|
75721
75763
|
customization_profile_id: string;
|
|
75764
|
+
workspace_id: string;
|
|
75765
|
+
created_at: string;
|
|
75722
75766
|
logo_url?: string | undefined;
|
|
75723
75767
|
primary_color?: string | undefined;
|
|
75724
75768
|
secondary_color?: string | undefined;
|
|
@@ -75735,9 +75779,11 @@ export type Routes = {
|
|
|
75735
75779
|
};
|
|
75736
75780
|
formData: {};
|
|
75737
75781
|
jsonResponse: {
|
|
75782
|
+
/** A customization profile. */
|
|
75738
75783
|
customization_profile: {
|
|
75739
|
-
workspace_id: string;
|
|
75740
75784
|
customization_profile_id: string;
|
|
75785
|
+
workspace_id: string;
|
|
75786
|
+
created_at: string;
|
|
75741
75787
|
logo_url?: string | undefined;
|
|
75742
75788
|
primary_color?: string | undefined;
|
|
75743
75789
|
secondary_color?: string | undefined;
|
|
@@ -75753,8 +75799,9 @@ export type Routes = {
|
|
|
75753
75799
|
formData: {};
|
|
75754
75800
|
jsonResponse: {
|
|
75755
75801
|
customization_profiles: {
|
|
75756
|
-
workspace_id: string;
|
|
75757
75802
|
customization_profile_id: string;
|
|
75803
|
+
workspace_id: string;
|
|
75804
|
+
created_at: string;
|
|
75758
75805
|
logo_url?: string | undefined;
|
|
75759
75806
|
primary_color?: string | undefined;
|
|
75760
75807
|
secondary_color?: string | undefined;
|
|
@@ -79546,6 +79593,48 @@ export type Routes = {
|
|
|
79546
79593
|
/** The actual PIN code for code access methods. */
|
|
79547
79594
|
code?: string | undefined;
|
|
79548
79595
|
}[] | undefined;
|
|
79596
|
+
access_grants?: {
|
|
79597
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
79598
|
+
workspace_id: string;
|
|
79599
|
+
/** ID of the Access Grant. */
|
|
79600
|
+
access_grant_id: string;
|
|
79601
|
+
/** Unique key for the access grant within the workspace. */
|
|
79602
|
+
access_grant_key?: string | undefined;
|
|
79603
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
79604
|
+
user_identity_id: string;
|
|
79605
|
+
/**
|
|
79606
|
+
* @deprecated Use `space_ids`.*/
|
|
79607
|
+
location_ids: string[];
|
|
79608
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
79609
|
+
space_ids: string[];
|
|
79610
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
79611
|
+
requested_access_methods: {
|
|
79612
|
+
/** Display name of the access method. */
|
|
79613
|
+
display_name: string;
|
|
79614
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
79615
|
+
mode: 'code' | 'card' | 'mobile_key';
|
|
79616
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
79617
|
+
created_at: string;
|
|
79618
|
+
/** IDs of the access methods created for the requested access method. */
|
|
79619
|
+
created_access_method_ids: string[];
|
|
79620
|
+
}[];
|
|
79621
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
79622
|
+
access_method_ids: string[];
|
|
79623
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
79624
|
+
client_session_token?: string | undefined;
|
|
79625
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
79626
|
+
name: string | null;
|
|
79627
|
+
/** Display name of the Access Grant. */
|
|
79628
|
+
display_name: string;
|
|
79629
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
79630
|
+
instant_key_url?: string | undefined;
|
|
79631
|
+
/** Date and time at which the Access Grant was created. */
|
|
79632
|
+
created_at: string;
|
|
79633
|
+
/** Date and time at which the Access Grant starts. */
|
|
79634
|
+
starts_at: string;
|
|
79635
|
+
/** Date and time at which the Access Grant ends. */
|
|
79636
|
+
ends_at: string | null;
|
|
79637
|
+
}[] | undefined;
|
|
79549
79638
|
};
|
|
79550
79639
|
};
|
|
79551
79640
|
};
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
|
+
import { access_grant } from './access-grants/access-grant.js'
|
|
3
4
|
import { access_method } from './access-grants/access-method.js'
|
|
4
5
|
import {
|
|
5
6
|
acs_access_group,
|
|
@@ -65,6 +66,7 @@ export const workspaces_batch = z
|
|
|
65
66
|
unmanaged_devices: unmanaged_device.array().optional(),
|
|
66
67
|
connect_webviews: connect_webview.array().optional(),
|
|
67
68
|
access_methods: access_method.array().optional(),
|
|
69
|
+
access_grants: access_grant.array().optional(),
|
|
68
70
|
})
|
|
69
71
|
.describe('A batch of workspace resources.')
|
|
70
72
|
|
|
@@ -92,6 +94,7 @@ export const batch = z
|
|
|
92
94
|
unmanaged_devices: unmanaged_device.array().optional(),
|
|
93
95
|
connect_webviews: connect_webview.array().optional(),
|
|
94
96
|
access_methods: access_method.array().optional(),
|
|
97
|
+
access_grants: access_grant.array().optional(),
|
|
95
98
|
})
|
|
96
99
|
.describe('A batch of workspace resources.')
|
|
97
100
|
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import { z } from 'zod'
|
|
2
2
|
|
|
3
3
|
export const customization_profile = z.object({
|
|
4
|
-
workspace_id: z.string().uuid(),
|
|
5
4
|
customization_profile_id: z.string().uuid(),
|
|
6
|
-
|
|
5
|
+
workspace_id: z.string().uuid(),
|
|
6
|
+
created_at: z.string().datetime(),
|
|
7
|
+
logo_url: z.string().url().optional(),
|
|
7
8
|
primary_color: z.string().optional(),
|
|
8
9
|
secondary_color: z.string().optional(),
|
|
9
|
-
})
|
|
10
|
+
}).describe(`
|
|
11
|
+
---
|
|
12
|
+
title: Customization Profile
|
|
13
|
+
undocumented: Unreleased.
|
|
14
|
+
route_path: /workspaces/customization_profiles
|
|
15
|
+
---
|
|
16
|
+
A customization profile.
|
|
17
|
+
`)
|
|
10
18
|
|
|
11
19
|
export type CustomizationProfile = z.infer<typeof customization_profile>
|
|
@@ -29150,6 +29150,10 @@ export default {
|
|
|
29150
29150
|
batch: {
|
|
29151
29151
|
description: 'A batch of workspace resources.',
|
|
29152
29152
|
properties: {
|
|
29153
|
+
access_grants: {
|
|
29154
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
29155
|
+
type: 'array',
|
|
29156
|
+
},
|
|
29153
29157
|
access_methods: {
|
|
29154
29158
|
items: { $ref: '#/components/schemas/access_method' },
|
|
29155
29159
|
type: 'array',
|
|
@@ -29313,6 +29317,10 @@ export default {
|
|
|
29313
29317
|
batch: {
|
|
29314
29318
|
description: 'A batch of workspace resources.',
|
|
29315
29319
|
properties: {
|
|
29320
|
+
access_grants: {
|
|
29321
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
29322
|
+
type: 'array',
|
|
29323
|
+
},
|
|
29316
29324
|
access_methods: {
|
|
29317
29325
|
items: { $ref: '#/components/schemas/access_method' },
|
|
29318
29326
|
type: 'array',
|
|
@@ -56082,18 +56090,27 @@ export default {
|
|
|
56082
56090
|
schema: {
|
|
56083
56091
|
properties: {
|
|
56084
56092
|
customization_profile: {
|
|
56093
|
+
description: 'A customization profile.',
|
|
56085
56094
|
properties: {
|
|
56095
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
56086
56096
|
customization_profile_id: {
|
|
56087
56097
|
format: 'uuid',
|
|
56088
56098
|
type: 'string',
|
|
56089
56099
|
},
|
|
56090
|
-
logo_url: { type: 'string' },
|
|
56100
|
+
logo_url: { format: 'uri', type: 'string' },
|
|
56091
56101
|
primary_color: { type: 'string' },
|
|
56092
56102
|
secondary_color: { type: 'string' },
|
|
56093
56103
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
56094
56104
|
},
|
|
56095
|
-
required: [
|
|
56105
|
+
required: [
|
|
56106
|
+
'customization_profile_id',
|
|
56107
|
+
'workspace_id',
|
|
56108
|
+
'created_at',
|
|
56109
|
+
],
|
|
56096
56110
|
type: 'object',
|
|
56111
|
+
'x-route-path': '/workspaces/customization_profiles',
|
|
56112
|
+
'x-title': 'Customization Profile',
|
|
56113
|
+
'x-undocumented': 'Unreleased.',
|
|
56097
56114
|
},
|
|
56098
56115
|
ok: { type: 'boolean' },
|
|
56099
56116
|
},
|
|
@@ -56115,6 +56132,7 @@ export default {
|
|
|
56115
56132
|
'x-fern-sdk-return-value': 'customization_profile',
|
|
56116
56133
|
'x-response-key': 'customization_profile',
|
|
56117
56134
|
'x-title': 'Update Customization Profile',
|
|
56135
|
+
'x-undocumented': 'Unreleased.',
|
|
56118
56136
|
},
|
|
56119
56137
|
},
|
|
56120
56138
|
'/workspaces/customization_profiles/get': {
|
|
@@ -56136,18 +56154,27 @@ export default {
|
|
|
56136
56154
|
schema: {
|
|
56137
56155
|
properties: {
|
|
56138
56156
|
customization_profile: {
|
|
56157
|
+
description: 'A customization profile.',
|
|
56139
56158
|
properties: {
|
|
56159
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
56140
56160
|
customization_profile_id: {
|
|
56141
56161
|
format: 'uuid',
|
|
56142
56162
|
type: 'string',
|
|
56143
56163
|
},
|
|
56144
|
-
logo_url: { type: 'string' },
|
|
56164
|
+
logo_url: { format: 'uri', type: 'string' },
|
|
56145
56165
|
primary_color: { type: 'string' },
|
|
56146
56166
|
secondary_color: { type: 'string' },
|
|
56147
56167
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
56148
56168
|
},
|
|
56149
|
-
required: [
|
|
56169
|
+
required: [
|
|
56170
|
+
'customization_profile_id',
|
|
56171
|
+
'workspace_id',
|
|
56172
|
+
'created_at',
|
|
56173
|
+
],
|
|
56150
56174
|
type: 'object',
|
|
56175
|
+
'x-route-path': '/workspaces/customization_profiles',
|
|
56176
|
+
'x-title': 'Customization Profile',
|
|
56177
|
+
'x-undocumented': 'Unreleased.',
|
|
56151
56178
|
},
|
|
56152
56179
|
ok: { type: 'boolean' },
|
|
56153
56180
|
},
|
|
@@ -56169,6 +56196,7 @@ export default {
|
|
|
56169
56196
|
'x-fern-sdk-return-value': 'customization_profile',
|
|
56170
56197
|
'x-response-key': 'customization_profile',
|
|
56171
56198
|
'x-title': 'Get Customization Profile',
|
|
56199
|
+
'x-undocumented': 'Unreleased.',
|
|
56172
56200
|
},
|
|
56173
56201
|
post: {
|
|
56174
56202
|
description: 'Retrieves the customization profile for the workspace.',
|
|
@@ -56193,18 +56221,27 @@ export default {
|
|
|
56193
56221
|
schema: {
|
|
56194
56222
|
properties: {
|
|
56195
56223
|
customization_profile: {
|
|
56224
|
+
description: 'A customization profile.',
|
|
56196
56225
|
properties: {
|
|
56226
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
56197
56227
|
customization_profile_id: {
|
|
56198
56228
|
format: 'uuid',
|
|
56199
56229
|
type: 'string',
|
|
56200
56230
|
},
|
|
56201
|
-
logo_url: { type: 'string' },
|
|
56231
|
+
logo_url: { format: 'uri', type: 'string' },
|
|
56202
56232
|
primary_color: { type: 'string' },
|
|
56203
56233
|
secondary_color: { type: 'string' },
|
|
56204
56234
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
56205
56235
|
},
|
|
56206
|
-
required: [
|
|
56236
|
+
required: [
|
|
56237
|
+
'customization_profile_id',
|
|
56238
|
+
'workspace_id',
|
|
56239
|
+
'created_at',
|
|
56240
|
+
],
|
|
56207
56241
|
type: 'object',
|
|
56242
|
+
'x-route-path': '/workspaces/customization_profiles',
|
|
56243
|
+
'x-title': 'Customization Profile',
|
|
56244
|
+
'x-undocumented': 'Unreleased.',
|
|
56208
56245
|
},
|
|
56209
56246
|
ok: { type: 'boolean' },
|
|
56210
56247
|
},
|
|
@@ -56226,6 +56263,7 @@ export default {
|
|
|
56226
56263
|
'x-fern-sdk-return-value': 'customization_profile',
|
|
56227
56264
|
'x-response-key': 'customization_profile',
|
|
56228
56265
|
'x-title': 'Get Customization Profile',
|
|
56266
|
+
'x-undocumented': 'Unreleased.',
|
|
56229
56267
|
},
|
|
56230
56268
|
},
|
|
56231
56269
|
'/workspaces/customization_profiles/list': {
|
|
@@ -56240,18 +56278,27 @@ export default {
|
|
|
56240
56278
|
properties: {
|
|
56241
56279
|
customization_profiles: {
|
|
56242
56280
|
items: {
|
|
56281
|
+
description: 'A customization profile.',
|
|
56243
56282
|
properties: {
|
|
56283
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
56244
56284
|
customization_profile_id: {
|
|
56245
56285
|
format: 'uuid',
|
|
56246
56286
|
type: 'string',
|
|
56247
56287
|
},
|
|
56248
|
-
logo_url: { type: 'string' },
|
|
56288
|
+
logo_url: { format: 'uri', type: 'string' },
|
|
56249
56289
|
primary_color: { type: 'string' },
|
|
56250
56290
|
secondary_color: { type: 'string' },
|
|
56251
56291
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
56252
56292
|
},
|
|
56253
|
-
required: [
|
|
56293
|
+
required: [
|
|
56294
|
+
'customization_profile_id',
|
|
56295
|
+
'workspace_id',
|
|
56296
|
+
'created_at',
|
|
56297
|
+
],
|
|
56254
56298
|
type: 'object',
|
|
56299
|
+
'x-route-path': '/workspaces/customization_profiles',
|
|
56300
|
+
'x-title': 'Customization Profile',
|
|
56301
|
+
'x-undocumented': 'Unreleased.',
|
|
56255
56302
|
},
|
|
56256
56303
|
type: 'array',
|
|
56257
56304
|
},
|
|
@@ -56275,6 +56322,7 @@ export default {
|
|
|
56275
56322
|
'x-fern-sdk-return-value': 'customization_profiles',
|
|
56276
56323
|
'x-response-key': 'customization_profiles',
|
|
56277
56324
|
'x-title': 'Get Customization Profile',
|
|
56325
|
+
'x-undocumented': 'Unreleased.',
|
|
56278
56326
|
},
|
|
56279
56327
|
post: {
|
|
56280
56328
|
description: 'Retrieves the customization profile for the workspace.',
|
|
@@ -56287,18 +56335,27 @@ export default {
|
|
|
56287
56335
|
properties: {
|
|
56288
56336
|
customization_profiles: {
|
|
56289
56337
|
items: {
|
|
56338
|
+
description: 'A customization profile.',
|
|
56290
56339
|
properties: {
|
|
56340
|
+
created_at: { format: 'date-time', type: 'string' },
|
|
56291
56341
|
customization_profile_id: {
|
|
56292
56342
|
format: 'uuid',
|
|
56293
56343
|
type: 'string',
|
|
56294
56344
|
},
|
|
56295
|
-
logo_url: { type: 'string' },
|
|
56345
|
+
logo_url: { format: 'uri', type: 'string' },
|
|
56296
56346
|
primary_color: { type: 'string' },
|
|
56297
56347
|
secondary_color: { type: 'string' },
|
|
56298
56348
|
workspace_id: { format: 'uuid', type: 'string' },
|
|
56299
56349
|
},
|
|
56300
|
-
required: [
|
|
56350
|
+
required: [
|
|
56351
|
+
'customization_profile_id',
|
|
56352
|
+
'workspace_id',
|
|
56353
|
+
'created_at',
|
|
56354
|
+
],
|
|
56301
56355
|
type: 'object',
|
|
56356
|
+
'x-route-path': '/workspaces/customization_profiles',
|
|
56357
|
+
'x-title': 'Customization Profile',
|
|
56358
|
+
'x-undocumented': 'Unreleased.',
|
|
56302
56359
|
},
|
|
56303
56360
|
type: 'array',
|
|
56304
56361
|
},
|
|
@@ -56322,6 +56379,7 @@ export default {
|
|
|
56322
56379
|
'x-fern-sdk-return-value': 'customization_profiles',
|
|
56323
56380
|
'x-response-key': 'customization_profiles',
|
|
56324
56381
|
'x-title': 'Get Customization Profile',
|
|
56382
|
+
'x-undocumented': 'Unreleased.',
|
|
56325
56383
|
},
|
|
56326
56384
|
},
|
|
56327
56385
|
'/workspaces/customization_profiles/update': {
|
|
@@ -56366,6 +56424,7 @@ export default {
|
|
|
56366
56424
|
'x-fern-sdk-method-name': 'update',
|
|
56367
56425
|
'x-response-key': null,
|
|
56368
56426
|
'x-title': 'Update Customization Profile',
|
|
56427
|
+
'x-undocumented': 'Unreleased.',
|
|
56369
56428
|
},
|
|
56370
56429
|
post: {
|
|
56371
56430
|
description: 'Updates the customization profile for the workspace.',
|
|
@@ -56408,6 +56467,7 @@ export default {
|
|
|
56408
56467
|
'x-fern-sdk-method-name': 'update',
|
|
56409
56468
|
'x-response-key': null,
|
|
56410
56469
|
'x-title': 'Update Customization Profile',
|
|
56470
|
+
'x-undocumented': 'Unreleased.',
|
|
56411
56471
|
},
|
|
56412
56472
|
},
|
|
56413
56473
|
'/workspaces/customization_profiles/upload_images': {
|
|
@@ -56437,7 +56497,8 @@ export default {
|
|
|
56437
56497
|
'x-fern-sdk-method-name': 'upload_images',
|
|
56438
56498
|
'x-response-key': null,
|
|
56439
56499
|
'x-title': 'Upload Customization Profile Logo',
|
|
56440
|
-
'x-undocumented':
|
|
56500
|
+
'x-undocumented':
|
|
56501
|
+
'Internal form-data endpoint for Console and Customer Portal.',
|
|
56441
56502
|
},
|
|
56442
56503
|
},
|
|
56443
56504
|
'/workspaces/find_resources': {
|
|
@@ -56461,6 +56522,10 @@ export default {
|
|
|
56461
56522
|
batch: {
|
|
56462
56523
|
description: 'A batch of workspace resources.',
|
|
56463
56524
|
properties: {
|
|
56525
|
+
access_grants: {
|
|
56526
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
56527
|
+
type: 'array',
|
|
56528
|
+
},
|
|
56464
56529
|
access_methods: {
|
|
56465
56530
|
items: { $ref: '#/components/schemas/access_method' },
|
|
56466
56531
|
type: 'array',
|
|
@@ -56599,6 +56664,10 @@ export default {
|
|
|
56599
56664
|
batch: {
|
|
56600
56665
|
description: 'A batch of workspace resources.',
|
|
56601
56666
|
properties: {
|
|
56667
|
+
access_grants: {
|
|
56668
|
+
items: { $ref: '#/components/schemas/access_grant' },
|
|
56669
|
+
type: 'array',
|
|
56670
|
+
},
|
|
56602
56671
|
access_methods: {
|
|
56603
56672
|
items: { $ref: '#/components/schemas/access_method' },
|
|
56604
56673
|
type: 'array',
|
|
@@ -19578,6 +19578,50 @@ export type Routes = {
|
|
|
19578
19578
|
code?: string | undefined
|
|
19579
19579
|
}[]
|
|
19580
19580
|
| undefined
|
|
19581
|
+
access_grants?:
|
|
19582
|
+
| {
|
|
19583
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
19584
|
+
workspace_id: string
|
|
19585
|
+
/** ID of the Access Grant. */
|
|
19586
|
+
access_grant_id: string
|
|
19587
|
+
/** Unique key for the access grant within the workspace. */
|
|
19588
|
+
access_grant_key?: string | undefined
|
|
19589
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
19590
|
+
user_identity_id: string
|
|
19591
|
+
/**
|
|
19592
|
+
* @deprecated Use `space_ids`.*/
|
|
19593
|
+
location_ids: string[]
|
|
19594
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
19595
|
+
space_ids: string[]
|
|
19596
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
19597
|
+
requested_access_methods: {
|
|
19598
|
+
/** Display name of the access method. */
|
|
19599
|
+
display_name: string
|
|
19600
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
19601
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
19602
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
19603
|
+
created_at: string
|
|
19604
|
+
/** IDs of the access methods created for the requested access method. */
|
|
19605
|
+
created_access_method_ids: string[]
|
|
19606
|
+
}[]
|
|
19607
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
19608
|
+
access_method_ids: string[]
|
|
19609
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
19610
|
+
client_session_token?: string | undefined
|
|
19611
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
19612
|
+
name: string | null
|
|
19613
|
+
/** Display name of the Access Grant. */
|
|
19614
|
+
display_name: string
|
|
19615
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
19616
|
+
instant_key_url?: string | undefined
|
|
19617
|
+
/** Date and time at which the Access Grant was created. */
|
|
19618
|
+
created_at: string
|
|
19619
|
+
/** Date and time at which the Access Grant starts. */
|
|
19620
|
+
starts_at: string
|
|
19621
|
+
/** Date and time at which the Access Grant ends. */
|
|
19622
|
+
ends_at: string | null
|
|
19623
|
+
}[]
|
|
19624
|
+
| undefined
|
|
19581
19625
|
}
|
|
19582
19626
|
}
|
|
19583
19627
|
}
|
|
@@ -89861,9 +89905,11 @@ export type Routes = {
|
|
|
89861
89905
|
commonParams: {}
|
|
89862
89906
|
formData: {}
|
|
89863
89907
|
jsonResponse: {
|
|
89908
|
+
/** A customization profile. */
|
|
89864
89909
|
customization_profile: {
|
|
89865
|
-
workspace_id: string
|
|
89866
89910
|
customization_profile_id: string
|
|
89911
|
+
workspace_id: string
|
|
89912
|
+
created_at: string
|
|
89867
89913
|
logo_url?: string | undefined
|
|
89868
89914
|
primary_color?: string | undefined
|
|
89869
89915
|
secondary_color?: string | undefined
|
|
@@ -89880,9 +89926,11 @@ export type Routes = {
|
|
|
89880
89926
|
}
|
|
89881
89927
|
formData: {}
|
|
89882
89928
|
jsonResponse: {
|
|
89929
|
+
/** A customization profile. */
|
|
89883
89930
|
customization_profile: {
|
|
89884
|
-
workspace_id: string
|
|
89885
89931
|
customization_profile_id: string
|
|
89932
|
+
workspace_id: string
|
|
89933
|
+
created_at: string
|
|
89886
89934
|
logo_url?: string | undefined
|
|
89887
89935
|
primary_color?: string | undefined
|
|
89888
89936
|
secondary_color?: string | undefined
|
|
@@ -89898,8 +89946,9 @@ export type Routes = {
|
|
|
89898
89946
|
formData: {}
|
|
89899
89947
|
jsonResponse: {
|
|
89900
89948
|
customization_profiles: {
|
|
89901
|
-
workspace_id: string
|
|
89902
89949
|
customization_profile_id: string
|
|
89950
|
+
workspace_id: string
|
|
89951
|
+
created_at: string
|
|
89903
89952
|
logo_url?: string | undefined
|
|
89904
89953
|
primary_color?: string | undefined
|
|
89905
89954
|
secondary_color?: string | undefined
|
|
@@ -94514,6 +94563,50 @@ export type Routes = {
|
|
|
94514
94563
|
code?: string | undefined
|
|
94515
94564
|
}[]
|
|
94516
94565
|
| undefined
|
|
94566
|
+
access_grants?:
|
|
94567
|
+
| {
|
|
94568
|
+
/** ID of the Seam workspace associated with the Access Grant. */
|
|
94569
|
+
workspace_id: string
|
|
94570
|
+
/** ID of the Access Grant. */
|
|
94571
|
+
access_grant_id: string
|
|
94572
|
+
/** Unique key for the access grant within the workspace. */
|
|
94573
|
+
access_grant_key?: string | undefined
|
|
94574
|
+
/** ID of user identity to which the Access Grant gives access. */
|
|
94575
|
+
user_identity_id: string
|
|
94576
|
+
/**
|
|
94577
|
+
* @deprecated Use `space_ids`.*/
|
|
94578
|
+
location_ids: string[]
|
|
94579
|
+
/** IDs of the spaces to which the Access Grant gives access. */
|
|
94580
|
+
space_ids: string[]
|
|
94581
|
+
/** Access methods that the user requested for the Access Grant. */
|
|
94582
|
+
requested_access_methods: {
|
|
94583
|
+
/** Display name of the access method. */
|
|
94584
|
+
display_name: string
|
|
94585
|
+
/** Access method mode. Supported values: `code`, `card`, `mobile_key`. */
|
|
94586
|
+
mode: 'code' | 'card' | 'mobile_key'
|
|
94587
|
+
/** Date and time at which the requested access method was added to the Access Grant. */
|
|
94588
|
+
created_at: string
|
|
94589
|
+
/** IDs of the access methods created for the requested access method. */
|
|
94590
|
+
created_access_method_ids: string[]
|
|
94591
|
+
}[]
|
|
94592
|
+
/** IDs of the access methods created for the Access Grant. */
|
|
94593
|
+
access_method_ids: string[]
|
|
94594
|
+
/** Client Session Token. Only returned if the Access Grant has a mobile_key access method. */
|
|
94595
|
+
client_session_token?: string | undefined
|
|
94596
|
+
/** Name of the Access Grant. If not provided, the display name will be computed. */
|
|
94597
|
+
name: string | null
|
|
94598
|
+
/** Display name of the Access Grant. */
|
|
94599
|
+
display_name: string
|
|
94600
|
+
/** Instant Key URL. Only returned if the Access Grant has a single mobile_key access_method. */
|
|
94601
|
+
instant_key_url?: string | undefined
|
|
94602
|
+
/** Date and time at which the Access Grant was created. */
|
|
94603
|
+
created_at: string
|
|
94604
|
+
/** Date and time at which the Access Grant starts. */
|
|
94605
|
+
starts_at: string
|
|
94606
|
+
/** Date and time at which the Access Grant ends. */
|
|
94607
|
+
ends_at: string | null
|
|
94608
|
+
}[]
|
|
94609
|
+
| undefined
|
|
94517
94610
|
}
|
|
94518
94611
|
}
|
|
94519
94612
|
}
|