@raystack/frontier 0.0.2 → 0.0.4
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/index.d.ts +416 -20
- package/dist/index.js +316 -3
- package/dist/index.mjs +316 -3
- package/package.json +7 -2
- package/react/dist/index.d.ts +448 -37
- package/react/dist/index.js +3835 -359
- package/react/dist/index.mjs +3940 -361
package/dist/index.d.ts
CHANGED
|
@@ -147,7 +147,9 @@ interface V1Beta1AuthTokenResponse {
|
|
|
147
147
|
tokenType?: string;
|
|
148
148
|
}
|
|
149
149
|
interface V1Beta1AuthenticateResponse {
|
|
150
|
+
/** endpoint specifies the url to redirect user for starting authentication flow */
|
|
150
151
|
endpoint?: string;
|
|
152
|
+
/** state is used for resuming authentication flow in applicable strategies */
|
|
151
153
|
state?: string;
|
|
152
154
|
}
|
|
153
155
|
interface V1Beta1CheckResourcePermissionRequest {
|
|
@@ -163,6 +165,15 @@ interface V1Beta1CheckResourcePermissionRequest {
|
|
|
163
165
|
interface V1Beta1CheckResourcePermissionResponse {
|
|
164
166
|
status?: boolean;
|
|
165
167
|
}
|
|
168
|
+
interface V1Beta1CreateCurrentUserPreferencesRequest {
|
|
169
|
+
bodies?: V1Beta1PreferenceRequestBody[];
|
|
170
|
+
}
|
|
171
|
+
interface V1Beta1CreateCurrentUserPreferencesResponse {
|
|
172
|
+
preferences?: V1Beta1Preference[];
|
|
173
|
+
}
|
|
174
|
+
interface V1Beta1CreateGroupPreferencesResponse {
|
|
175
|
+
preferences?: V1Beta1Preference[];
|
|
176
|
+
}
|
|
166
177
|
interface V1Beta1CreateGroupResponse {
|
|
167
178
|
group?: V1Beta1Group;
|
|
168
179
|
}
|
|
@@ -170,8 +181,14 @@ interface V1Beta1CreateMetaSchemaResponse {
|
|
|
170
181
|
metaschema?: V1Beta1MetaSchema;
|
|
171
182
|
}
|
|
172
183
|
type V1Beta1CreateOrganizationAuditLogsResponse = object;
|
|
184
|
+
interface V1Beta1CreateOrganizationDomainResponse {
|
|
185
|
+
domain?: V1Beta1Domain;
|
|
186
|
+
}
|
|
173
187
|
interface V1Beta1CreateOrganizationInvitationResponse {
|
|
174
|
-
|
|
188
|
+
invitations?: V1Beta1Invitation[];
|
|
189
|
+
}
|
|
190
|
+
interface V1Beta1CreateOrganizationPreferencesResponse {
|
|
191
|
+
preferences?: V1Beta1Preference[];
|
|
175
192
|
}
|
|
176
193
|
interface V1Beta1CreateOrganizationResponse {
|
|
177
194
|
organization?: V1Beta1Organization;
|
|
@@ -188,6 +205,15 @@ interface V1Beta1CreatePermissionResponse {
|
|
|
188
205
|
interface V1Beta1CreatePolicyResponse {
|
|
189
206
|
policy?: V1Beta1Policy;
|
|
190
207
|
}
|
|
208
|
+
interface V1Beta1CreatePreferencesRequest {
|
|
209
|
+
preferences?: V1Beta1PreferenceRequestBody[];
|
|
210
|
+
}
|
|
211
|
+
interface V1Beta1CreatePreferencesResponse {
|
|
212
|
+
preference?: V1Beta1Preference[];
|
|
213
|
+
}
|
|
214
|
+
interface V1Beta1CreateProjectPreferencesResponse {
|
|
215
|
+
preferences?: V1Beta1Preference[];
|
|
216
|
+
}
|
|
191
217
|
interface V1Beta1CreateProjectResourceResponse {
|
|
192
218
|
resource?: V1Beta1Resource;
|
|
193
219
|
}
|
|
@@ -214,11 +240,15 @@ interface V1Beta1CreateServiceUserResponse {
|
|
|
214
240
|
interface V1Beta1CreateServiceUserSecretResponse {
|
|
215
241
|
secret?: V1Beta1SecretCredential;
|
|
216
242
|
}
|
|
243
|
+
interface V1Beta1CreateUserPreferencesResponse {
|
|
244
|
+
preferences?: V1Beta1Preference[];
|
|
245
|
+
}
|
|
217
246
|
interface V1Beta1CreateUserResponse {
|
|
218
247
|
user?: V1Beta1User;
|
|
219
248
|
}
|
|
220
249
|
type V1Beta1DeleteGroupResponse = object;
|
|
221
250
|
type V1Beta1DeleteMetaSchemaResponse = object;
|
|
251
|
+
type V1Beta1DeleteOrganizationDomainResponse = object;
|
|
222
252
|
type V1Beta1DeleteOrganizationInvitationResponse = object;
|
|
223
253
|
type V1Beta1DeleteOrganizationResponse = object;
|
|
224
254
|
type V1Beta1DeleteOrganizationRoleResponse = object;
|
|
@@ -232,10 +262,52 @@ type V1Beta1DeleteServiceUserKeyResponse = object;
|
|
|
232
262
|
type V1Beta1DeleteServiceUserResponse = object;
|
|
233
263
|
type V1Beta1DeleteServiceUserSecretResponse = object;
|
|
234
264
|
type V1Beta1DeleteUserResponse = object;
|
|
265
|
+
interface V1Beta1DescribePreferencesResponse {
|
|
266
|
+
traits?: V1Beta1PreferenceTrait[];
|
|
267
|
+
}
|
|
235
268
|
type V1Beta1DisableGroupResponse = object;
|
|
236
269
|
type V1Beta1DisableOrganizationResponse = object;
|
|
237
270
|
type V1Beta1DisableProjectResponse = object;
|
|
238
271
|
type V1Beta1DisableUserResponse = object;
|
|
272
|
+
interface V1Beta1Domain {
|
|
273
|
+
/**
|
|
274
|
+
* The domain id
|
|
275
|
+
* @example "943e4567-e89b-12d3-a456-426655440000"
|
|
276
|
+
*/
|
|
277
|
+
id?: string;
|
|
278
|
+
/**
|
|
279
|
+
* The domain name
|
|
280
|
+
* @example "raystack.org"
|
|
281
|
+
*/
|
|
282
|
+
name?: string;
|
|
283
|
+
/**
|
|
284
|
+
* The organization id
|
|
285
|
+
* @example "123e4567-e89b-12d3-a456-426655440000"
|
|
286
|
+
*/
|
|
287
|
+
orgId?: string;
|
|
288
|
+
/**
|
|
289
|
+
* The dns TXT record token to verify the domain
|
|
290
|
+
* @example "_frontier-domain-verification=LB6U2lSQgGS55HOy6kpWFqkngRC8TMEjyrakfmYC2D0s+nfy/WkFSg=="
|
|
291
|
+
*/
|
|
292
|
+
token?: string;
|
|
293
|
+
/**
|
|
294
|
+
* The domain state either pending or verified
|
|
295
|
+
* @example "pending"
|
|
296
|
+
*/
|
|
297
|
+
state?: string;
|
|
298
|
+
/**
|
|
299
|
+
* The time the domain whitelist request was created
|
|
300
|
+
* @format date-time
|
|
301
|
+
* @example "2023-06-07T05:39:56.961Z"
|
|
302
|
+
*/
|
|
303
|
+
createdAt?: string;
|
|
304
|
+
/**
|
|
305
|
+
* The time the org domain was updated
|
|
306
|
+
* @format date-time
|
|
307
|
+
* @example "2023-06-07T05:39:56.961Z"
|
|
308
|
+
*/
|
|
309
|
+
updatedAt?: string;
|
|
310
|
+
}
|
|
239
311
|
type V1Beta1EnableGroupResponse = object;
|
|
240
312
|
type V1Beta1EnableOrganizationResponse = object;
|
|
241
313
|
type V1Beta1EnableProjectResponse = object;
|
|
@@ -260,6 +332,9 @@ interface V1Beta1GetNamespaceResponse {
|
|
|
260
332
|
interface V1Beta1GetOrganizationAuditLogResponse {
|
|
261
333
|
log?: V1Beta1AuditLog;
|
|
262
334
|
}
|
|
335
|
+
interface V1Beta1GetOrganizationDomainResponse {
|
|
336
|
+
domain?: V1Beta1Domain;
|
|
337
|
+
}
|
|
263
338
|
interface V1Beta1GetOrganizationInvitationResponse {
|
|
264
339
|
invitation?: V1Beta1Invitation;
|
|
265
340
|
}
|
|
@@ -271,9 +346,11 @@ interface V1Beta1GetOrganizationRoleResponse {
|
|
|
271
346
|
}
|
|
272
347
|
interface V1Beta1GetOrganizationsByCurrentUserResponse {
|
|
273
348
|
organizations?: V1Beta1Organization[];
|
|
349
|
+
joinableViaDomain?: V1Beta1Organization[];
|
|
274
350
|
}
|
|
275
351
|
interface V1Beta1GetOrganizationsByUserResponse {
|
|
276
352
|
organizations?: V1Beta1Organization[];
|
|
353
|
+
joinableViaDomain?: V1Beta1Organization[];
|
|
277
354
|
}
|
|
278
355
|
interface V1Beta1GetPermissionResponse {
|
|
279
356
|
permission?: V1Beta1Permission;
|
|
@@ -370,6 +447,11 @@ interface V1Beta1Invitation {
|
|
|
370
447
|
* @example "2023-06-07T05:39:56.961Z"
|
|
371
448
|
*/
|
|
372
449
|
expiresAt?: string;
|
|
450
|
+
/**
|
|
451
|
+
* The list of role ids to which the user is invited in an organization.
|
|
452
|
+
* @example "d9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
|
|
453
|
+
*/
|
|
454
|
+
roleIds?: string[];
|
|
373
455
|
}
|
|
374
456
|
/** JSON Web Key as specified in RFC 7517 */
|
|
375
457
|
interface V1Beta1JSONWebKey {
|
|
@@ -392,6 +474,7 @@ interface V1Beta1JSONWebKey {
|
|
|
392
474
|
/** Used for ECDSA keys. */
|
|
393
475
|
crv?: string;
|
|
394
476
|
}
|
|
477
|
+
type V1Beta1JoinOrganizationResponse = object;
|
|
395
478
|
interface V1Beta1KeyCredential {
|
|
396
479
|
type?: string;
|
|
397
480
|
kid?: string;
|
|
@@ -413,6 +496,12 @@ interface V1Beta1ListAuthStrategiesResponse {
|
|
|
413
496
|
interface V1Beta1ListCurrentUserGroupsResponse {
|
|
414
497
|
groups?: V1Beta1Group[];
|
|
415
498
|
}
|
|
499
|
+
interface V1Beta1ListCurrentUserPreferencesResponse {
|
|
500
|
+
preferences?: V1Beta1Preference[];
|
|
501
|
+
}
|
|
502
|
+
interface V1Beta1ListGroupPreferencesResponse {
|
|
503
|
+
preferences?: V1Beta1Preference[];
|
|
504
|
+
}
|
|
416
505
|
interface V1Beta1ListGroupUsersResponse {
|
|
417
506
|
users?: V1Beta1User[];
|
|
418
507
|
}
|
|
@@ -431,12 +520,18 @@ interface V1Beta1ListOrganizationAdminsResponse {
|
|
|
431
520
|
interface V1Beta1ListOrganizationAuditLogsResponse {
|
|
432
521
|
logs?: V1Beta1AuditLog[];
|
|
433
522
|
}
|
|
523
|
+
interface V1Beta1ListOrganizationDomainsResponse {
|
|
524
|
+
domains?: V1Beta1Domain[];
|
|
525
|
+
}
|
|
434
526
|
interface V1Beta1ListOrganizationGroupsResponse {
|
|
435
527
|
groups?: V1Beta1Group[];
|
|
436
528
|
}
|
|
437
529
|
interface V1Beta1ListOrganizationInvitationsResponse {
|
|
438
530
|
invitations?: V1Beta1Invitation[];
|
|
439
531
|
}
|
|
532
|
+
interface V1Beta1ListOrganizationPreferencesResponse {
|
|
533
|
+
preferences?: V1Beta1Preference[];
|
|
534
|
+
}
|
|
440
535
|
interface V1Beta1ListOrganizationProjectsResponse {
|
|
441
536
|
projects?: V1Beta1Project[];
|
|
442
537
|
}
|
|
@@ -458,9 +553,15 @@ interface V1Beta1ListPermissionsResponse {
|
|
|
458
553
|
interface V1Beta1ListPoliciesResponse {
|
|
459
554
|
policies?: V1Beta1Policy[];
|
|
460
555
|
}
|
|
556
|
+
interface V1Beta1ListPreferencesResponse {
|
|
557
|
+
preferences?: V1Beta1Preference[];
|
|
558
|
+
}
|
|
461
559
|
interface V1Beta1ListProjectAdminsResponse {
|
|
462
560
|
users?: V1Beta1User[];
|
|
463
561
|
}
|
|
562
|
+
interface V1Beta1ListProjectPreferencesResponse {
|
|
563
|
+
preferences?: V1Beta1Preference[];
|
|
564
|
+
}
|
|
464
565
|
interface V1Beta1ListProjectResourcesResponse {
|
|
465
566
|
resources?: V1Beta1Resource[];
|
|
466
567
|
}
|
|
@@ -495,6 +596,9 @@ interface V1Beta1ListUserGroupsResponse {
|
|
|
495
596
|
interface V1Beta1ListUserInvitationsResponse {
|
|
496
597
|
invitations?: V1Beta1Invitation[];
|
|
497
598
|
}
|
|
599
|
+
interface V1Beta1ListUserPreferencesResponse {
|
|
600
|
+
preferences?: V1Beta1Preference[];
|
|
601
|
+
}
|
|
498
602
|
interface V1Beta1ListUsersResponse {
|
|
499
603
|
/** @format int32 */
|
|
500
604
|
count?: number;
|
|
@@ -604,7 +708,7 @@ interface V1Beta1PermissionRequestBody {
|
|
|
604
708
|
name?: string;
|
|
605
709
|
/**
|
|
606
710
|
* namespace should be in service/resource format
|
|
607
|
-
* The namespace of the permission.The namespace should be in service/resource format.<br/>*Example:*`
|
|
711
|
+
* The namespace of the permission. The namespace should be in service/resource format.<br/>*Example:*`compute/guardian`
|
|
608
712
|
*/
|
|
609
713
|
namespace?: string;
|
|
610
714
|
/** The metadata object for permissions that can hold key value pairs. */
|
|
@@ -612,7 +716,9 @@ interface V1Beta1PermissionRequestBody {
|
|
|
612
716
|
/** The title can contain any UTF-8 character, used to provide a human-readable name for the permissions. Can also be left empty. */
|
|
613
717
|
title?: string;
|
|
614
718
|
/**
|
|
615
|
-
*
|
|
719
|
+
* key is composed of three parts, 'service.resource.verb'. Where 'service.resource' works as a namespace for the 'verb'.
|
|
720
|
+
* Use this instead of using name and namespace fields
|
|
721
|
+
* Permission path key is composed of three parts, 'service.resource.verb'. Where 'service.resource' works as a namespace for the 'verb'. Namespace name cannot be `app` as it's reserved for core permissions.
|
|
616
722
|
* @example "compute.instance.get"
|
|
617
723
|
*/
|
|
618
724
|
key?: string;
|
|
@@ -651,6 +757,51 @@ interface V1Beta1PolicyRequestBody {
|
|
|
651
757
|
/** Metadata object for policies that can hold key value pairs defined in Policy Metaschema.<br/> *Example:* `{"labels": {"key": "value"}, "description": "Policy description"}` */
|
|
652
758
|
metadata?: object;
|
|
653
759
|
}
|
|
760
|
+
interface V1Beta1Preference {
|
|
761
|
+
id?: string;
|
|
762
|
+
name?: string;
|
|
763
|
+
value?: string;
|
|
764
|
+
resourceId?: string;
|
|
765
|
+
resourceType?: string;
|
|
766
|
+
/**
|
|
767
|
+
* The time when the preference was created.
|
|
768
|
+
* @format date-time
|
|
769
|
+
* @example "2023-06-07T05:39:56.961Z"
|
|
770
|
+
*/
|
|
771
|
+
createdAt?: string;
|
|
772
|
+
/**
|
|
773
|
+
* The time when the preference was updated.
|
|
774
|
+
* @format date-time
|
|
775
|
+
* @example "2023-06-07T05:39:56.961Z"
|
|
776
|
+
*/
|
|
777
|
+
updatedAt?: string;
|
|
778
|
+
}
|
|
779
|
+
interface V1Beta1PreferenceRequestBody {
|
|
780
|
+
name?: string;
|
|
781
|
+
value?: string;
|
|
782
|
+
}
|
|
783
|
+
/**
|
|
784
|
+
* PreferenceTrait is a trait that can be used to add preferences to a resource
|
|
785
|
+
* it explains what preferences are available for a resource
|
|
786
|
+
*/
|
|
787
|
+
interface V1Beta1PreferenceTrait {
|
|
788
|
+
resourceType?: string;
|
|
789
|
+
name?: string;
|
|
790
|
+
title?: string;
|
|
791
|
+
description?: string;
|
|
792
|
+
longDescription?: string;
|
|
793
|
+
heading?: string;
|
|
794
|
+
subHeading?: string;
|
|
795
|
+
breadcrumb?: string;
|
|
796
|
+
inputHints?: string;
|
|
797
|
+
text?: string;
|
|
798
|
+
textarea?: string;
|
|
799
|
+
select?: string;
|
|
800
|
+
combobox?: string;
|
|
801
|
+
checkbox?: string;
|
|
802
|
+
multiselect?: string;
|
|
803
|
+
number?: string;
|
|
804
|
+
}
|
|
654
805
|
interface V1Beta1Project {
|
|
655
806
|
id?: string;
|
|
656
807
|
name?: string;
|
|
@@ -859,6 +1010,9 @@ interface V1Beta1UpdateProjectResourceResponse {
|
|
|
859
1010
|
interface V1Beta1UpdateProjectResponse {
|
|
860
1011
|
project?: V1Beta1Project;
|
|
861
1012
|
}
|
|
1013
|
+
interface V1Beta1UpdateRoleResponse {
|
|
1014
|
+
role?: V1Beta1Role;
|
|
1015
|
+
}
|
|
862
1016
|
interface V1Beta1UpdateUserResponse {
|
|
863
1017
|
user?: V1Beta1User;
|
|
864
1018
|
}
|
|
@@ -901,6 +1055,9 @@ interface V1Beta1UserRequestBody {
|
|
|
901
1055
|
/** The title can contain any UTF-8 character, used to provide a human-readable name for the user. Can also be left empty. <br/>*Example:*`"John Doe"` */
|
|
902
1056
|
title?: string;
|
|
903
1057
|
}
|
|
1058
|
+
interface V1Beta1VerifyOrganizationDomainResponse {
|
|
1059
|
+
state?: string;
|
|
1060
|
+
}
|
|
904
1061
|
|
|
905
1062
|
declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
|
|
906
1063
|
/**
|
|
@@ -1084,15 +1241,17 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1084
1241
|
frontierServiceAuthenticate: (strategyName: string, query?: {
|
|
1085
1242
|
/**
|
|
1086
1243
|
* by default, location redirect header for starting authentication flow if applicable
|
|
1087
|
-
* will be skipped unless this is set to true, useful in browser
|
|
1244
|
+
* will be skipped unless this is set to true, useful in browser, same value will
|
|
1245
|
+
* also be returned as endpoint in response anyway
|
|
1088
1246
|
*
|
|
1089
|
-
* If set to true, location header will be set for redirect
|
|
1247
|
+
* If set to true, location header will be set for redirect to start auth flow
|
|
1090
1248
|
*/
|
|
1091
|
-
|
|
1249
|
+
redirectOnstart?: boolean;
|
|
1092
1250
|
/**
|
|
1093
|
-
* by default, after successful authentication no operation will be performed
|
|
1094
|
-
* to apply redirection in case of browsers, provide
|
|
1095
|
-
*
|
|
1251
|
+
* by default, after successful authentication(flow completes) no operation will be performed,
|
|
1252
|
+
* to apply redirection in case of browsers, provide an url that will be used
|
|
1253
|
+
* after authentication where users are sent from frontier.
|
|
1254
|
+
* return_to should be one of the allowed urls configured at instance level
|
|
1096
1255
|
*
|
|
1097
1256
|
* URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
|
|
1098
1257
|
*/
|
|
@@ -1103,6 +1262,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1103
1262
|
* Email of the user to authenticate. Used for magic links.<br/> *Example:*`example@acme.org`
|
|
1104
1263
|
*/
|
|
1105
1264
|
email?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* callback_url will be used by strategy as last step to finish authentication flow
|
|
1267
|
+
* in OIDC this host will receive "state" and "code" query params, in case of magic links
|
|
1268
|
+
* this will be the url where user is redirected after clicking on magic link.
|
|
1269
|
+
* For most cases it could be host of frontier but in case of proxies, this will be proxy public endpoint.
|
|
1270
|
+
* callback_url should be one of the allowed urls configured at instance level
|
|
1271
|
+
*
|
|
1272
|
+
* Host which should handle the call to finish authentication flow, for most cases it could be host of frontier but in case of proxies, this will be proxy public endpoint.<br/> *Example:*`https://frontier.example.com/v1beta1/auth/callback`
|
|
1273
|
+
*/
|
|
1274
|
+
callbackUrl?: string;
|
|
1106
1275
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
|
|
1107
1276
|
/**
|
|
1108
1277
|
* @description Authenticate a user with a strategy. By default, after successful authentication no operation will be performed to apply redirection in case of browsers, provide a url in the authenticate request body that will be used for redirection after authentication. Also set redirect as true for redirecting the user request to the redirect_url after successful authentication.
|
|
@@ -1116,14 +1285,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1116
1285
|
frontierServiceAuthenticate2: (strategyName: string, body: {
|
|
1117
1286
|
/**
|
|
1118
1287
|
* by default, location redirect header for starting authentication flow if applicable
|
|
1119
|
-
* will be skipped unless this is set to true, useful in browser
|
|
1120
|
-
*
|
|
1288
|
+
* will be skipped unless this is set to true, useful in browser, same value will
|
|
1289
|
+
* also be returned as endpoint in response anyway
|
|
1290
|
+
* If set to true, location header will be set for redirect to start auth flow
|
|
1121
1291
|
*/
|
|
1122
|
-
|
|
1292
|
+
redirectOnstart?: boolean;
|
|
1123
1293
|
/**
|
|
1124
|
-
* by default, after successful authentication no operation will be performed
|
|
1125
|
-
* to apply redirection in case of browsers, provide
|
|
1126
|
-
*
|
|
1294
|
+
* by default, after successful authentication(flow completes) no operation will be performed,
|
|
1295
|
+
* to apply redirection in case of browsers, provide an url that will be used
|
|
1296
|
+
* after authentication where users are sent from frontier.
|
|
1297
|
+
* return_to should be one of the allowed urls configured at instance level
|
|
1127
1298
|
* URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
|
|
1128
1299
|
*/
|
|
1129
1300
|
returnTo?: string;
|
|
@@ -1132,6 +1303,15 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1132
1303
|
* Email of the user to authenticate. Used for magic links.<br/> *Example:*`example@acme.org`
|
|
1133
1304
|
*/
|
|
1134
1305
|
email?: string;
|
|
1306
|
+
/**
|
|
1307
|
+
* callback_url will be used by strategy as last step to finish authentication flow
|
|
1308
|
+
* in OIDC this host will receive "state" and "code" query params, in case of magic links
|
|
1309
|
+
* this will be the url where user is redirected after clicking on magic link.
|
|
1310
|
+
* For most cases it could be host of frontier but in case of proxies, this will be proxy public endpoint.
|
|
1311
|
+
* callback_url should be one of the allowed urls configured at instance level
|
|
1312
|
+
* Host which should handle the call to finish authentication flow, for most cases it could be host of frontier but in case of proxies, this will be proxy public endpoint.<br/> *Example:*`https://frontier.example.com/v1beta1/auth/callback`
|
|
1313
|
+
*/
|
|
1314
|
+
callbackUrl?: string;
|
|
1135
1315
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
|
|
1136
1316
|
/**
|
|
1137
1317
|
* @description Access token can be generated by providing the credentials in the request body/header. The credentials can be client id and secret or service account generated key jwt. Use the generated access token in Authorization header to access the frontier resources.
|
|
@@ -1153,6 +1333,28 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1153
1333
|
* @secure
|
|
1154
1334
|
*/
|
|
1155
1335
|
frontierServiceCheckResourcePermission: (body: V1Beta1CheckResourcePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckResourcePermissionResponse, RpcStatus>>;
|
|
1336
|
+
/**
|
|
1337
|
+
* @description List a group preferences by ID.
|
|
1338
|
+
*
|
|
1339
|
+
* @tags Preference
|
|
1340
|
+
* @name FrontierServiceListGroupPreferences
|
|
1341
|
+
* @summary List group preferences
|
|
1342
|
+
* @request GET:/v1beta1/groups/{id}/preferences
|
|
1343
|
+
* @secure
|
|
1344
|
+
*/
|
|
1345
|
+
frontierServiceListGroupPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupPreferencesResponse, RpcStatus>>;
|
|
1346
|
+
/**
|
|
1347
|
+
* @description Create a new group preferences. The group preferences **name** must be unique within the group and can contain only alphanumeric characters, dashes and underscores.
|
|
1348
|
+
*
|
|
1349
|
+
* @tags Preference
|
|
1350
|
+
* @name FrontierServiceCreateGroupPreferences
|
|
1351
|
+
* @summary Create group preferences
|
|
1352
|
+
* @request POST:/v1beta1/groups/{id}/preferences
|
|
1353
|
+
* @secure
|
|
1354
|
+
*/
|
|
1355
|
+
frontierServiceCreateGroupPreferences: (id: string, body: {
|
|
1356
|
+
bodies?: V1Beta1PreferenceRequestBody[];
|
|
1357
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupPreferencesResponse, RpcStatus>>;
|
|
1156
1358
|
/**
|
|
1157
1359
|
* @description Returns a list of all metaschemas configured on an instance level in Frontier. e.g user, project, organization etc
|
|
1158
1360
|
*
|
|
@@ -1350,6 +1552,28 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1350
1552
|
* @secure
|
|
1351
1553
|
*/
|
|
1352
1554
|
frontierServiceEnableOrganization: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
1555
|
+
/**
|
|
1556
|
+
* @description List an organization preferences by ID.
|
|
1557
|
+
*
|
|
1558
|
+
* @tags Preference
|
|
1559
|
+
* @name FrontierServiceListOrganizationPreferences
|
|
1560
|
+
* @summary List organization preferences
|
|
1561
|
+
* @request GET:/v1beta1/organizations/{id}/preferences
|
|
1562
|
+
* @secure
|
|
1563
|
+
*/
|
|
1564
|
+
frontierServiceListOrganizationPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationPreferencesResponse, RpcStatus>>;
|
|
1565
|
+
/**
|
|
1566
|
+
* @description Create a new organization preferences. The organization preferences **name** must be unique within the organization and can contain only alphanumeric characters, dashes and underscores.
|
|
1567
|
+
*
|
|
1568
|
+
* @tags Preference
|
|
1569
|
+
* @name FrontierServiceCreateOrganizationPreferences
|
|
1570
|
+
* @summary Create organization preferences
|
|
1571
|
+
* @request POST:/v1beta1/organizations/{id}/preferences
|
|
1572
|
+
* @secure
|
|
1573
|
+
*/
|
|
1574
|
+
frontierServiceCreateOrganizationPreferences: (id: string, body: {
|
|
1575
|
+
bodies?: V1Beta1PreferenceRequestBody[];
|
|
1576
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationPreferencesResponse, RpcStatus>>;
|
|
1353
1577
|
/**
|
|
1354
1578
|
* @description Get all projects that belong to an organization
|
|
1355
1579
|
*
|
|
@@ -1408,6 +1632,62 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1408
1632
|
* @secure
|
|
1409
1633
|
*/
|
|
1410
1634
|
frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
1635
|
+
/**
|
|
1636
|
+
* @description Returns all domains whitelisted for an organization (both pending and verified if no filters are provided for the state). The verified domains allow users email with the org's whitelisted domain to join the organization without invitation.
|
|
1637
|
+
*
|
|
1638
|
+
* @tags Organization
|
|
1639
|
+
* @name FrontierServiceListOrganizationDomains
|
|
1640
|
+
* @summary List org domains
|
|
1641
|
+
* @request GET:/v1beta1/organizations/{orgId}/domains
|
|
1642
|
+
* @secure
|
|
1643
|
+
*/
|
|
1644
|
+
frontierServiceListOrganizationDomains: (orgId: string, query?: {
|
|
1645
|
+
/** filter to list domains by their state (pending/verified). If not provided, all domains for an org will be listed */
|
|
1646
|
+
state?: string;
|
|
1647
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationDomainsResponse, RpcStatus>>;
|
|
1648
|
+
/**
|
|
1649
|
+
* @description Add a domain to an organization which if verified allows all users of the same domain to be signed up to the organization without invitation. This API generates a verification token for a domain which must be added to your domain's DNS provider as a TXT record should be verified with Frontier VerifyOrganizationDomain API before it can be used as an Organization's trusted domain to sign up users.
|
|
1650
|
+
*
|
|
1651
|
+
* @tags Organization
|
|
1652
|
+
* @name FrontierServiceCreateOrganizationDomain
|
|
1653
|
+
* @summary Create org domain
|
|
1654
|
+
* @request POST:/v1beta1/organizations/{orgId}/domains
|
|
1655
|
+
* @secure
|
|
1656
|
+
*/
|
|
1657
|
+
frontierServiceCreateOrganizationDomain: (orgId: string, body: {
|
|
1658
|
+
/** domain name to be added to the trusted domain list */
|
|
1659
|
+
domain: string;
|
|
1660
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationDomainResponse, RpcStatus>>;
|
|
1661
|
+
/**
|
|
1662
|
+
* @description Get a domain from the list of an organization's whitelisted domains. Returns both verified and unverified domains by their ID
|
|
1663
|
+
*
|
|
1664
|
+
* @tags Organization
|
|
1665
|
+
* @name FrontierServiceGetOrganizationDomain
|
|
1666
|
+
* @summary Get org domain
|
|
1667
|
+
* @request GET:/v1beta1/organizations/{orgId}/domains/{id}
|
|
1668
|
+
* @secure
|
|
1669
|
+
*/
|
|
1670
|
+
frontierServiceGetOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationDomainResponse, RpcStatus>>;
|
|
1671
|
+
/**
|
|
1672
|
+
* @description Remove a domain from the list of an organization's trusted domains list
|
|
1673
|
+
*
|
|
1674
|
+
* @tags Organization
|
|
1675
|
+
* @name FrontierServiceDeleteOrganizationDomain
|
|
1676
|
+
* @summary Delete org domain
|
|
1677
|
+
* @request DELETE:/v1beta1/organizations/{orgId}/domains/{id}
|
|
1678
|
+
* @secure
|
|
1679
|
+
*/
|
|
1680
|
+
frontierServiceDeleteOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
1681
|
+
/**
|
|
1682
|
+
* @description Verify a domain for an organization with a verification token generated by Frontier GenerateDomainVerificationToken API. The token must be added to your domain's DNS provider as a TXT record before it can be verified. This API returns the state of the domain (pending/verified) after verification.
|
|
1683
|
+
*
|
|
1684
|
+
* @tags Organization
|
|
1685
|
+
* @name FrontierServiceVerifyOrganizationDomain
|
|
1686
|
+
* @summary Verify org domain
|
|
1687
|
+
* @request POST:/v1beta1/organizations/{orgId}/domains/{id}/verify
|
|
1688
|
+
* @secure
|
|
1689
|
+
*/
|
|
1690
|
+
frontierServiceVerifyOrganizationDomain: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<V1Beta1VerifyOrganizationDomainResponse, RpcStatus>>;
|
|
1411
1691
|
/**
|
|
1412
1692
|
* @description Get all groups that belong to an organization. The results can be filtered by state which can be either be enabled or disabled.
|
|
1413
1693
|
*
|
|
@@ -1527,7 +1807,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1527
1807
|
userId?: string;
|
|
1528
1808
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationInvitationsResponse, RpcStatus>>;
|
|
1529
1809
|
/**
|
|
1530
|
-
* @description Invite users to an organization, if
|
|
1810
|
+
* @description Invite users to an organization, if user is not registered on the platform, it will be notified. Invitations expire in 7 days
|
|
1531
1811
|
*
|
|
1532
1812
|
* @tags Organization
|
|
1533
1813
|
* @name FrontierServiceCreateOrganizationInvitation
|
|
@@ -1537,9 +1817,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1537
1817
|
*/
|
|
1538
1818
|
frontierServiceCreateOrganizationInvitation: (orgId: string, body: {
|
|
1539
1819
|
/** user_id is email id of user who are invited inside the organization. If user is not registered on the platform, it will be notified */
|
|
1540
|
-
|
|
1820
|
+
userIds: string[];
|
|
1541
1821
|
/** list of group ids to which user needs to be added as a member. */
|
|
1542
1822
|
groupIds?: string[];
|
|
1823
|
+
/** list of role ids to which user needs to be added as a member. Roles are binded at organization level by default. */
|
|
1824
|
+
roleIds?: string[];
|
|
1543
1825
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationInvitationResponse, RpcStatus>>;
|
|
1544
1826
|
/**
|
|
1545
1827
|
* @description Returns a pending invitation queued for an organization
|
|
@@ -1571,6 +1853,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1571
1853
|
* @secure
|
|
1572
1854
|
*/
|
|
1573
1855
|
frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
1856
|
+
/**
|
|
1857
|
+
* @description Allows the current logged in user to join the Org if one is not a part of it. The user will only be able to join when the user email's domain matches the organization's whitelisted domains.
|
|
1858
|
+
*
|
|
1859
|
+
* @tags Organization
|
|
1860
|
+
* @name FrontierServiceJoinOrganization
|
|
1861
|
+
* @summary Join organization
|
|
1862
|
+
* @request POST:/v1beta1/organizations/{orgId}/join
|
|
1863
|
+
* @secure
|
|
1864
|
+
*/
|
|
1865
|
+
frontierServiceJoinOrganization: (orgId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
1574
1866
|
/**
|
|
1575
1867
|
* @description Returns a list of custom roles created under an organization with their associated permissions
|
|
1576
1868
|
*
|
|
@@ -1734,6 +2026,36 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1734
2026
|
* @secure
|
|
1735
2027
|
*/
|
|
1736
2028
|
frontierServiceUpdatePolicy: (id: string, body: V1Beta1PolicyRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePolicyResponse, RpcStatus>>;
|
|
2029
|
+
/**
|
|
2030
|
+
* @description Returns a list of all preferences configured on an instance in Frontier. e.g user, project, organization etc
|
|
2031
|
+
*
|
|
2032
|
+
* @tags Preference
|
|
2033
|
+
* @name AdminServiceListPreferences
|
|
2034
|
+
* @summary List platform preferences
|
|
2035
|
+
* @request GET:/v1beta1/preferences
|
|
2036
|
+
* @secure
|
|
2037
|
+
*/
|
|
2038
|
+
adminServiceListPreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPreferencesResponse, RpcStatus>>;
|
|
2039
|
+
/**
|
|
2040
|
+
* @description Create new platform preferences. The platform preferences **name** must be unique within the platform and can contain only alphanumeric characters, dashes and underscores.
|
|
2041
|
+
*
|
|
2042
|
+
* @tags Preference
|
|
2043
|
+
* @name AdminServiceCreatePreferences
|
|
2044
|
+
* @summary Create platform preferences
|
|
2045
|
+
* @request POST:/v1beta1/preferences
|
|
2046
|
+
* @secure
|
|
2047
|
+
*/
|
|
2048
|
+
adminServiceCreatePreferences: (body: V1Beta1CreatePreferencesRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePreferencesResponse, RpcStatus>>;
|
|
2049
|
+
/**
|
|
2050
|
+
* @description Returns a list of all preferences supported by Frontier.
|
|
2051
|
+
*
|
|
2052
|
+
* @tags Preference
|
|
2053
|
+
* @name FrontierServiceDescribePreferences
|
|
2054
|
+
* @summary Describe preferences
|
|
2055
|
+
* @request GET:/v1beta1/preferences/_describe
|
|
2056
|
+
* @secure
|
|
2057
|
+
*/
|
|
2058
|
+
frontierServiceDescribePreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1DescribePreferencesResponse, RpcStatus>>;
|
|
1737
2059
|
/**
|
|
1738
2060
|
* No description
|
|
1739
2061
|
*
|
|
@@ -1804,6 +2126,28 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1804
2126
|
* @secure
|
|
1805
2127
|
*/
|
|
1806
2128
|
frontierServiceEnableProject: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2129
|
+
/**
|
|
2130
|
+
* @description List a project preferences by ID.
|
|
2131
|
+
*
|
|
2132
|
+
* @tags Preference
|
|
2133
|
+
* @name FrontierServiceListProjectPreferences
|
|
2134
|
+
* @summary List project preferences
|
|
2135
|
+
* @request GET:/v1beta1/projects/{id}/preferences
|
|
2136
|
+
* @secure
|
|
2137
|
+
*/
|
|
2138
|
+
frontierServiceListProjectPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectPreferencesResponse, RpcStatus>>;
|
|
2139
|
+
/**
|
|
2140
|
+
* @description Create a new project preferences. The project preferences **name** must be unique within the project and can contain only alphanumeric characters, dashes and underscores.
|
|
2141
|
+
*
|
|
2142
|
+
* @tags Preference
|
|
2143
|
+
* @name FrontierServiceCreateProjectPreferences
|
|
2144
|
+
* @summary Create project preferences
|
|
2145
|
+
* @request POST:/v1beta1/projects/{id}/preferences
|
|
2146
|
+
* @secure
|
|
2147
|
+
*/
|
|
2148
|
+
frontierServiceCreateProjectPreferences: (id: string, body: {
|
|
2149
|
+
bodies?: V1Beta1PreferenceRequestBody[];
|
|
2150
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProjectPreferencesResponse, RpcStatus>>;
|
|
1807
2151
|
/**
|
|
1808
2152
|
* @description Returns a collection of users of a project. Filter by user permissions is supported.
|
|
1809
2153
|
*
|
|
@@ -1933,6 +2277,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1933
2277
|
* @secure
|
|
1934
2278
|
*/
|
|
1935
2279
|
adminServiceDeleteRole: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2280
|
+
/**
|
|
2281
|
+
* @description Update a role title, description and permissions.
|
|
2282
|
+
*
|
|
2283
|
+
* @tags Role
|
|
2284
|
+
* @name AdminServiceUpdateRole
|
|
2285
|
+
* @summary Update role
|
|
2286
|
+
* @request PUT:/v1beta1/roles/{id}
|
|
2287
|
+
* @secure
|
|
2288
|
+
*/
|
|
2289
|
+
adminServiceUpdateRole: (id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateRoleResponse, RpcStatus>>;
|
|
1936
2290
|
/**
|
|
1937
2291
|
* @description Returns the service user of an organization in a Frontier instance. It can be filter by it's state
|
|
1938
2292
|
*
|
|
@@ -2166,7 +2520,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2166
2520
|
*/
|
|
2167
2521
|
frontierServiceListUserInvitations: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserInvitationsResponse, RpcStatus>>;
|
|
2168
2522
|
/**
|
|
2169
|
-
* @description
|
|
2523
|
+
* @description This API returns two list of organizations for the user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
|
|
2170
2524
|
*
|
|
2171
2525
|
* @tags User
|
|
2172
2526
|
* @name FrontierServiceGetOrganizationsByUser
|
|
@@ -2175,6 +2529,28 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2175
2529
|
* @secure
|
|
2176
2530
|
*/
|
|
2177
2531
|
frontierServiceGetOrganizationsByUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationsByUserResponse, RpcStatus>>;
|
|
2532
|
+
/**
|
|
2533
|
+
* @description List a user preferences by ID.
|
|
2534
|
+
*
|
|
2535
|
+
* @tags Preference
|
|
2536
|
+
* @name FrontierServiceListUserPreferences
|
|
2537
|
+
* @summary List user preferences
|
|
2538
|
+
* @request GET:/v1beta1/users/{id}/preferences
|
|
2539
|
+
* @secure
|
|
2540
|
+
*/
|
|
2541
|
+
frontierServiceListUserPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserPreferencesResponse, RpcStatus>>;
|
|
2542
|
+
/**
|
|
2543
|
+
* @description Create a new user preferences. The user preferences **name** must be unique within the user and can contain only alphanumeric characters, dashes and underscores.
|
|
2544
|
+
*
|
|
2545
|
+
* @tags Preference
|
|
2546
|
+
* @name FrontierServiceCreateUserPreferences
|
|
2547
|
+
* @summary Create user preferences
|
|
2548
|
+
* @request POST:/v1beta1/users/{id}/preferences
|
|
2549
|
+
* @secure
|
|
2550
|
+
*/
|
|
2551
|
+
frontierServiceCreateUserPreferences: (id: string, body: {
|
|
2552
|
+
bodies?: V1Beta1PreferenceRequestBody[];
|
|
2553
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateUserPreferencesResponse, RpcStatus>>;
|
|
2178
2554
|
/**
|
|
2179
2555
|
* @description Get all the projects a user belongs to.
|
|
2180
2556
|
*
|
|
@@ -2216,7 +2592,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2216
2592
|
*/
|
|
2217
2593
|
frontierServiceListCurrentUserGroups: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, RpcStatus>>;
|
|
2218
2594
|
/**
|
|
2219
|
-
* @description
|
|
2595
|
+
* @description This API returns two list of organizations for the current logged in user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
|
|
2220
2596
|
*
|
|
2221
2597
|
* @tags User
|
|
2222
2598
|
* @name FrontierServiceGetOrganizationsByCurrentUser
|
|
@@ -2225,6 +2601,26 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2225
2601
|
* @secure
|
|
2226
2602
|
*/
|
|
2227
2603
|
frontierServiceGetOrganizationsByCurrentUser: (params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationsByCurrentUserResponse, RpcStatus>>;
|
|
2604
|
+
/**
|
|
2605
|
+
* @description List a user preferences by ID.
|
|
2606
|
+
*
|
|
2607
|
+
* @tags Preference
|
|
2608
|
+
* @name FrontierServiceListCurrentUserPreferences
|
|
2609
|
+
* @summary List current user preferences
|
|
2610
|
+
* @request GET:/v1beta1/users/self/preferences
|
|
2611
|
+
* @secure
|
|
2612
|
+
*/
|
|
2613
|
+
frontierServiceListCurrentUserPreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserPreferencesResponse, RpcStatus>>;
|
|
2614
|
+
/**
|
|
2615
|
+
* @description Create a new user preferences. The user preferences **name** must be unique within the user and can contain only alphanumeric characters, dashes and underscores.
|
|
2616
|
+
*
|
|
2617
|
+
* @tags Preference
|
|
2618
|
+
* @name FrontierServiceCreateCurrentUserPreferences
|
|
2619
|
+
* @summary Create current user preferences
|
|
2620
|
+
* @request POST:/v1beta1/users/self/preferences
|
|
2621
|
+
* @secure
|
|
2622
|
+
*/
|
|
2623
|
+
frontierServiceCreateCurrentUserPreferences: (body: V1Beta1CreateCurrentUserPreferencesRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCurrentUserPreferencesResponse, RpcStatus>>;
|
|
2228
2624
|
/**
|
|
2229
2625
|
* @description Get all projects the current user belongs to
|
|
2230
2626
|
*
|
|
@@ -2239,4 +2635,4 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2239
2635
|
|
|
2240
2636
|
declare const FrontierClient: typeof V1Beta1;
|
|
2241
2637
|
|
|
2242
|
-
export { FrontierClient, ProtobufAny, ProtobufNullValue, RpcStatus, V1Beta1, V1Beta1AcceptOrganizationInvitationResponse, V1Beta1AddGroupUsersResponse, V1Beta1AddOrganizationUsersResponse, V1Beta1AuditLog, V1Beta1AuditLogActor, V1Beta1AuditLogTarget, V1Beta1AuthCallbackRequest, V1Beta1AuthCallbackResponse, V1Beta1AuthLogoutResponse, V1Beta1AuthStrategy, V1Beta1AuthTokenRequest, V1Beta1AuthTokenResponse, V1Beta1AuthenticateResponse, V1Beta1CheckResourcePermissionRequest, V1Beta1CheckResourcePermissionResponse, V1Beta1CreateGroupResponse, V1Beta1CreateMetaSchemaResponse, V1Beta1CreateOrganizationAuditLogsResponse, V1Beta1CreateOrganizationInvitationResponse, V1Beta1CreateOrganizationResponse, V1Beta1CreateOrganizationRoleResponse, V1Beta1CreatePermissionRequest, V1Beta1CreatePermissionResponse, V1Beta1CreatePolicyResponse, V1Beta1CreateProjectResourceResponse, V1Beta1CreateProjectResponse, V1Beta1CreateRelationResponse, V1Beta1CreateRoleResponse, V1Beta1CreateServiceUserKeyResponse, V1Beta1CreateServiceUserRequest, V1Beta1CreateServiceUserResponse, V1Beta1CreateServiceUserSecretResponse, V1Beta1CreateUserResponse, V1Beta1DeleteGroupResponse, V1Beta1DeleteMetaSchemaResponse, V1Beta1DeleteOrganizationInvitationResponse, V1Beta1DeleteOrganizationResponse, V1Beta1DeleteOrganizationRoleResponse, V1Beta1DeletePermissionResponse, V1Beta1DeletePolicyResponse, V1Beta1DeleteProjectResourceResponse, V1Beta1DeleteProjectResponse, V1Beta1DeleteRelationResponse, V1Beta1DeleteRoleResponse, V1Beta1DeleteServiceUserKeyResponse, V1Beta1DeleteServiceUserResponse, V1Beta1DeleteServiceUserSecretResponse, V1Beta1DeleteUserResponse, V1Beta1DisableGroupResponse, V1Beta1DisableOrganizationResponse, V1Beta1DisableProjectResponse, V1Beta1DisableUserResponse, V1Beta1EnableGroupResponse, V1Beta1EnableOrganizationResponse, V1Beta1EnableProjectResponse, V1Beta1EnableUserResponse, V1Beta1GetCurrentUserResponse, V1Beta1GetGroupResponse, V1Beta1GetJWKsResponse, V1Beta1GetMetaSchemaResponse, V1Beta1GetNamespaceResponse, V1Beta1GetOrganizationAuditLogResponse, V1Beta1GetOrganizationInvitationResponse, V1Beta1GetOrganizationResponse, V1Beta1GetOrganizationRoleResponse, V1Beta1GetOrganizationsByCurrentUserResponse, V1Beta1GetOrganizationsByUserResponse, V1Beta1GetPermissionResponse, V1Beta1GetPolicyResponse, V1Beta1GetProjectResourceResponse, V1Beta1GetProjectResponse, V1Beta1GetProjectsByCurrentUserResponse, V1Beta1GetProjectsByUserResponse, V1Beta1GetRelationResponse, V1Beta1GetServiceUserKeyResponse, V1Beta1GetServiceUserResponse, V1Beta1GetUserResponse, V1Beta1Group, V1Beta1GroupRequestBody, V1Beta1Invitation, V1Beta1JSONWebKey, V1Beta1KeyCredential, V1Beta1ListAllOrganizationsResponse, V1Beta1ListAllUsersResponse, V1Beta1ListAuthStrategiesResponse, V1Beta1ListCurrentUserGroupsResponse, V1Beta1ListGroupUsersResponse, V1Beta1ListGroupsResponse, V1Beta1ListMetaSchemasResponse, V1Beta1ListNamespacesResponse, V1Beta1ListOrganizationAdminsResponse, V1Beta1ListOrganizationAuditLogsResponse, V1Beta1ListOrganizationGroupsResponse, V1Beta1ListOrganizationInvitationsResponse, V1Beta1ListOrganizationProjectsResponse, V1Beta1ListOrganizationRolesResponse, V1Beta1ListOrganizationServiceUsersResponse, V1Beta1ListOrganizationUsersResponse, V1Beta1ListOrganizationsResponse, V1Beta1ListPermissionsResponse, V1Beta1ListPoliciesResponse, V1Beta1ListProjectAdminsResponse, V1Beta1ListProjectResourcesResponse, V1Beta1ListProjectUsersResponse, V1Beta1ListProjectsResponse, V1Beta1ListRelationsResponse, V1Beta1ListResourcesResponse, V1Beta1ListRolesResponse, V1Beta1ListServiceUserKeysResponse, V1Beta1ListServiceUserSecretsResponse, V1Beta1ListServiceUsersResponse, V1Beta1ListUserGroupsResponse, V1Beta1ListUserInvitationsResponse, V1Beta1ListUsersResponse, V1Beta1MetaSchema, V1Beta1MetaSchemaRequestBody, V1Beta1Namespace, V1Beta1Organization, V1Beta1OrganizationRequestBody, V1Beta1Permission, V1Beta1PermissionRequestBody, V1Beta1Policy, V1Beta1PolicyRequestBody, V1Beta1Project, V1Beta1ProjectRequestBody, V1Beta1Relation, V1Beta1RelationRequestBody, V1Beta1RemoveGroupUserResponse, V1Beta1RemoveOrganizationUserResponse, V1Beta1Resource, V1Beta1ResourceRequestBody, V1Beta1Role, V1Beta1RoleRequestBody, V1Beta1SecretCredential, V1Beta1ServiceUser, V1Beta1ServiceUserKey, V1Beta1ServiceUserRequestBody, V1Beta1UpdateCurrentUserResponse, V1Beta1UpdateGroupResponse, V1Beta1UpdateMetaSchemaResponse, V1Beta1UpdateOrganizationResponse, V1Beta1UpdateOrganizationRoleResponse, V1Beta1UpdatePermissionResponse, V1Beta1UpdatePolicyResponse, V1Beta1UpdateProjectResourceResponse, V1Beta1UpdateProjectResponse, V1Beta1UpdateUserResponse, V1Beta1User, V1Beta1UserRequestBody };
|
|
2638
|
+
export { FrontierClient, ProtobufAny, ProtobufNullValue, RpcStatus, V1Beta1, V1Beta1AcceptOrganizationInvitationResponse, V1Beta1AddGroupUsersResponse, V1Beta1AddOrganizationUsersResponse, V1Beta1AuditLog, V1Beta1AuditLogActor, V1Beta1AuditLogTarget, V1Beta1AuthCallbackRequest, V1Beta1AuthCallbackResponse, V1Beta1AuthLogoutResponse, V1Beta1AuthStrategy, V1Beta1AuthTokenRequest, V1Beta1AuthTokenResponse, V1Beta1AuthenticateResponse, V1Beta1CheckResourcePermissionRequest, V1Beta1CheckResourcePermissionResponse, V1Beta1CreateCurrentUserPreferencesRequest, V1Beta1CreateCurrentUserPreferencesResponse, V1Beta1CreateGroupPreferencesResponse, V1Beta1CreateGroupResponse, V1Beta1CreateMetaSchemaResponse, V1Beta1CreateOrganizationAuditLogsResponse, V1Beta1CreateOrganizationDomainResponse, V1Beta1CreateOrganizationInvitationResponse, V1Beta1CreateOrganizationPreferencesResponse, V1Beta1CreateOrganizationResponse, V1Beta1CreateOrganizationRoleResponse, V1Beta1CreatePermissionRequest, V1Beta1CreatePermissionResponse, V1Beta1CreatePolicyResponse, V1Beta1CreatePreferencesRequest, V1Beta1CreatePreferencesResponse, V1Beta1CreateProjectPreferencesResponse, V1Beta1CreateProjectResourceResponse, V1Beta1CreateProjectResponse, V1Beta1CreateRelationResponse, V1Beta1CreateRoleResponse, V1Beta1CreateServiceUserKeyResponse, V1Beta1CreateServiceUserRequest, V1Beta1CreateServiceUserResponse, V1Beta1CreateServiceUserSecretResponse, V1Beta1CreateUserPreferencesResponse, V1Beta1CreateUserResponse, V1Beta1DeleteGroupResponse, V1Beta1DeleteMetaSchemaResponse, V1Beta1DeleteOrganizationDomainResponse, V1Beta1DeleteOrganizationInvitationResponse, V1Beta1DeleteOrganizationResponse, V1Beta1DeleteOrganizationRoleResponse, V1Beta1DeletePermissionResponse, V1Beta1DeletePolicyResponse, V1Beta1DeleteProjectResourceResponse, V1Beta1DeleteProjectResponse, V1Beta1DeleteRelationResponse, V1Beta1DeleteRoleResponse, V1Beta1DeleteServiceUserKeyResponse, V1Beta1DeleteServiceUserResponse, V1Beta1DeleteServiceUserSecretResponse, V1Beta1DeleteUserResponse, V1Beta1DescribePreferencesResponse, V1Beta1DisableGroupResponse, V1Beta1DisableOrganizationResponse, V1Beta1DisableProjectResponse, V1Beta1DisableUserResponse, V1Beta1Domain, V1Beta1EnableGroupResponse, V1Beta1EnableOrganizationResponse, V1Beta1EnableProjectResponse, V1Beta1EnableUserResponse, V1Beta1GetCurrentUserResponse, V1Beta1GetGroupResponse, V1Beta1GetJWKsResponse, V1Beta1GetMetaSchemaResponse, V1Beta1GetNamespaceResponse, V1Beta1GetOrganizationAuditLogResponse, V1Beta1GetOrganizationDomainResponse, V1Beta1GetOrganizationInvitationResponse, V1Beta1GetOrganizationResponse, V1Beta1GetOrganizationRoleResponse, V1Beta1GetOrganizationsByCurrentUserResponse, V1Beta1GetOrganizationsByUserResponse, V1Beta1GetPermissionResponse, V1Beta1GetPolicyResponse, V1Beta1GetProjectResourceResponse, V1Beta1GetProjectResponse, V1Beta1GetProjectsByCurrentUserResponse, V1Beta1GetProjectsByUserResponse, V1Beta1GetRelationResponse, V1Beta1GetServiceUserKeyResponse, V1Beta1GetServiceUserResponse, V1Beta1GetUserResponse, V1Beta1Group, V1Beta1GroupRequestBody, V1Beta1Invitation, V1Beta1JSONWebKey, V1Beta1JoinOrganizationResponse, V1Beta1KeyCredential, V1Beta1ListAllOrganizationsResponse, V1Beta1ListAllUsersResponse, V1Beta1ListAuthStrategiesResponse, V1Beta1ListCurrentUserGroupsResponse, V1Beta1ListCurrentUserPreferencesResponse, V1Beta1ListGroupPreferencesResponse, V1Beta1ListGroupUsersResponse, V1Beta1ListGroupsResponse, V1Beta1ListMetaSchemasResponse, V1Beta1ListNamespacesResponse, V1Beta1ListOrganizationAdminsResponse, V1Beta1ListOrganizationAuditLogsResponse, V1Beta1ListOrganizationDomainsResponse, V1Beta1ListOrganizationGroupsResponse, V1Beta1ListOrganizationInvitationsResponse, V1Beta1ListOrganizationPreferencesResponse, V1Beta1ListOrganizationProjectsResponse, V1Beta1ListOrganizationRolesResponse, V1Beta1ListOrganizationServiceUsersResponse, V1Beta1ListOrganizationUsersResponse, V1Beta1ListOrganizationsResponse, V1Beta1ListPermissionsResponse, V1Beta1ListPoliciesResponse, V1Beta1ListPreferencesResponse, V1Beta1ListProjectAdminsResponse, V1Beta1ListProjectPreferencesResponse, V1Beta1ListProjectResourcesResponse, V1Beta1ListProjectUsersResponse, V1Beta1ListProjectsResponse, V1Beta1ListRelationsResponse, V1Beta1ListResourcesResponse, V1Beta1ListRolesResponse, V1Beta1ListServiceUserKeysResponse, V1Beta1ListServiceUserSecretsResponse, V1Beta1ListServiceUsersResponse, V1Beta1ListUserGroupsResponse, V1Beta1ListUserInvitationsResponse, V1Beta1ListUserPreferencesResponse, V1Beta1ListUsersResponse, V1Beta1MetaSchema, V1Beta1MetaSchemaRequestBody, V1Beta1Namespace, V1Beta1Organization, V1Beta1OrganizationRequestBody, V1Beta1Permission, V1Beta1PermissionRequestBody, V1Beta1Policy, V1Beta1PolicyRequestBody, V1Beta1Preference, V1Beta1PreferenceRequestBody, V1Beta1PreferenceTrait, V1Beta1Project, V1Beta1ProjectRequestBody, V1Beta1Relation, V1Beta1RelationRequestBody, V1Beta1RemoveGroupUserResponse, V1Beta1RemoveOrganizationUserResponse, V1Beta1Resource, V1Beta1ResourceRequestBody, V1Beta1Role, V1Beta1RoleRequestBody, V1Beta1SecretCredential, V1Beta1ServiceUser, V1Beta1ServiceUserKey, V1Beta1ServiceUserRequestBody, V1Beta1UpdateCurrentUserResponse, V1Beta1UpdateGroupResponse, V1Beta1UpdateMetaSchemaResponse, V1Beta1UpdateOrganizationResponse, V1Beta1UpdateOrganizationRoleResponse, V1Beta1UpdatePermissionResponse, V1Beta1UpdatePolicyResponse, V1Beta1UpdateProjectResourceResponse, V1Beta1UpdateProjectResponse, V1Beta1UpdateRoleResponse, V1Beta1UpdateUserResponse, V1Beta1User, V1Beta1UserRequestBody, V1Beta1VerifyOrganizationDomainResponse };
|