@raystack/frontier 0.8.2 → 0.8.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 +590 -6
- package/dist/index.js +407 -5
- package/dist/index.mjs +407 -5
- package/package.json +1 -1
- package/react/dist/index.d.ts +585 -5
- package/react/dist/index.js +520 -67
- package/react/dist/index.mjs +619 -165
package/react/dist/index.d.ts
CHANGED
|
@@ -275,6 +275,21 @@ declare class HttpClient<SecurityDataType = unknown> {
|
|
|
275
275
|
request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
|
|
276
276
|
}
|
|
277
277
|
|
|
278
|
+
interface BillingAccountAddress {
|
|
279
|
+
line1?: string;
|
|
280
|
+
line2?: string;
|
|
281
|
+
city?: string;
|
|
282
|
+
state?: string;
|
|
283
|
+
postalCode?: string;
|
|
284
|
+
country?: string;
|
|
285
|
+
}
|
|
286
|
+
interface BillingAccountBalance {
|
|
287
|
+
/** @format int64 */
|
|
288
|
+
amount?: string;
|
|
289
|
+
currency?: string;
|
|
290
|
+
/** @format date-time */
|
|
291
|
+
updatedAt?: string;
|
|
292
|
+
}
|
|
278
293
|
interface ProtobufAny {
|
|
279
294
|
'@type'?: string;
|
|
280
295
|
[key: string]: any;
|
|
@@ -285,6 +300,14 @@ interface RpcStatus {
|
|
|
285
300
|
message?: string;
|
|
286
301
|
details?: ProtobufAny[];
|
|
287
302
|
}
|
|
303
|
+
interface V1Beta1AddPlatformUserRequest {
|
|
304
|
+
/** The user id to add to the platform. */
|
|
305
|
+
userId?: string;
|
|
306
|
+
/** The service user id to add to the platform. */
|
|
307
|
+
serviceuserId?: string;
|
|
308
|
+
/** The relation to add as in the platform. It can be admin or member. */
|
|
309
|
+
relation: string;
|
|
310
|
+
}
|
|
288
311
|
interface V1Beta1AuditLog {
|
|
289
312
|
/** A unique identifier of the audit log if not supplied will be autogenerated */
|
|
290
313
|
id?: string;
|
|
@@ -376,6 +399,59 @@ interface V1Beta1BatchCheckPermissionResponsePair {
|
|
|
376
399
|
body?: V1Beta1BatchCheckPermissionBody;
|
|
377
400
|
status?: boolean;
|
|
378
401
|
}
|
|
402
|
+
interface V1Beta1BillingAccount {
|
|
403
|
+
id?: string;
|
|
404
|
+
orgId?: string;
|
|
405
|
+
name?: string;
|
|
406
|
+
email?: string;
|
|
407
|
+
phone?: string;
|
|
408
|
+
address?: BillingAccountAddress;
|
|
409
|
+
providerId?: string;
|
|
410
|
+
provider?: string;
|
|
411
|
+
currency?: string;
|
|
412
|
+
state?: string;
|
|
413
|
+
metadata?: object;
|
|
414
|
+
/** @format date-time */
|
|
415
|
+
createdAt?: string;
|
|
416
|
+
/** @format date-time */
|
|
417
|
+
updatedAt?: string;
|
|
418
|
+
}
|
|
419
|
+
interface V1Beta1BillingAccountRequestBody {
|
|
420
|
+
name?: string;
|
|
421
|
+
email?: string;
|
|
422
|
+
phone?: string;
|
|
423
|
+
address?: BillingAccountAddress;
|
|
424
|
+
currency?: string;
|
|
425
|
+
metadata?: object;
|
|
426
|
+
}
|
|
427
|
+
interface V1Beta1BillingTransaction {
|
|
428
|
+
id?: string;
|
|
429
|
+
customerId?: string;
|
|
430
|
+
source?: string;
|
|
431
|
+
/** @format int64 */
|
|
432
|
+
amount?: string;
|
|
433
|
+
type?: string;
|
|
434
|
+
description?: string;
|
|
435
|
+
metadata?: object;
|
|
436
|
+
/** @format date-time */
|
|
437
|
+
createdAt?: string;
|
|
438
|
+
/** @format date-time */
|
|
439
|
+
updatedAt?: string;
|
|
440
|
+
}
|
|
441
|
+
interface V1Beta1CheckFeatureEntitlementResponse {
|
|
442
|
+
status?: boolean;
|
|
443
|
+
}
|
|
444
|
+
interface V1Beta1CheckFederatedResourcePermissionRequest {
|
|
445
|
+
/** the subject to check. <br/> *Example:* `user:..uuidofuser..` */
|
|
446
|
+
subject: string;
|
|
447
|
+
/** `namespace:uuid` or `namespace:name` of the org or project, and `namespace:urn` of a resource under a project. In case of an org/project either provide the complete namespace (app/organization) or Frontier can also parse aliases for the same as `org` or `project`. <br/> *Example:* `organization:92f69c3a-334b-4f25-90b8-4d4f3be6b825` or `app/project:project-name` or `compute/instance:92f69c3a-334b-4f25-90b8-4d4f3be6b825` */
|
|
448
|
+
resource: string;
|
|
449
|
+
/** the permission name to check. <br/> *Example:* `get`, `list`, `compute.instance.create` */
|
|
450
|
+
permission: string;
|
|
451
|
+
}
|
|
452
|
+
interface V1Beta1CheckFederatedResourcePermissionResponse {
|
|
453
|
+
status?: boolean;
|
|
454
|
+
}
|
|
379
455
|
interface V1Beta1CheckResourcePermissionRequest {
|
|
380
456
|
/** Deprecated. Use `resource` field instead. */
|
|
381
457
|
objectId?: string;
|
|
@@ -389,12 +465,50 @@ interface V1Beta1CheckResourcePermissionRequest {
|
|
|
389
465
|
interface V1Beta1CheckResourcePermissionResponse {
|
|
390
466
|
status?: boolean;
|
|
391
467
|
}
|
|
468
|
+
interface V1Beta1CheckoutFeatureBody {
|
|
469
|
+
feature?: string;
|
|
470
|
+
}
|
|
471
|
+
interface V1Beta1CheckoutSession {
|
|
472
|
+
id?: string;
|
|
473
|
+
checkoutUrl?: string;
|
|
474
|
+
successUrl?: string;
|
|
475
|
+
cancelUrl?: string;
|
|
476
|
+
state?: string;
|
|
477
|
+
metadata?: object;
|
|
478
|
+
/** @format date-time */
|
|
479
|
+
createdAt?: string;
|
|
480
|
+
/** @format date-time */
|
|
481
|
+
updatedAt?: string;
|
|
482
|
+
/** @format date-time */
|
|
483
|
+
expireAt?: string;
|
|
484
|
+
}
|
|
485
|
+
interface V1Beta1CheckoutSubscriptionBody {
|
|
486
|
+
plan?: string;
|
|
487
|
+
/** @format int32 */
|
|
488
|
+
trailDays?: number;
|
|
489
|
+
}
|
|
490
|
+
interface V1Beta1CreateBillingAccountResponse {
|
|
491
|
+
/** Created billing account */
|
|
492
|
+
billingAccount?: V1Beta1BillingAccount;
|
|
493
|
+
}
|
|
494
|
+
interface V1Beta1CreateCheckoutResponse {
|
|
495
|
+
/** Checkout session */
|
|
496
|
+
checkoutSession?: V1Beta1CheckoutSession;
|
|
497
|
+
}
|
|
392
498
|
interface V1Beta1CreateCurrentUserPreferencesRequest {
|
|
393
499
|
bodies?: V1Beta1PreferenceRequestBody[];
|
|
394
500
|
}
|
|
395
501
|
interface V1Beta1CreateCurrentUserPreferencesResponse {
|
|
396
502
|
preferences?: V1Beta1Preference[];
|
|
397
503
|
}
|
|
504
|
+
interface V1Beta1CreateFeatureRequest {
|
|
505
|
+
/** Feature to create */
|
|
506
|
+
body?: V1Beta1FeatureRequestBody;
|
|
507
|
+
}
|
|
508
|
+
interface V1Beta1CreateFeatureResponse {
|
|
509
|
+
/** Created feature */
|
|
510
|
+
feature?: V1Beta1Feature;
|
|
511
|
+
}
|
|
398
512
|
interface V1Beta1CreateGroupPreferencesResponse {
|
|
399
513
|
preferences?: V1Beta1Preference[];
|
|
400
514
|
}
|
|
@@ -425,6 +539,14 @@ interface V1Beta1CreatePermissionRequest {
|
|
|
425
539
|
interface V1Beta1CreatePermissionResponse {
|
|
426
540
|
permissions?: V1Beta1Permission[];
|
|
427
541
|
}
|
|
542
|
+
interface V1Beta1CreatePlanRequest {
|
|
543
|
+
/** Plan to create */
|
|
544
|
+
body?: V1Beta1PlanRequestBody;
|
|
545
|
+
}
|
|
546
|
+
interface V1Beta1CreatePlanResponse {
|
|
547
|
+
/** Created plan */
|
|
548
|
+
plan?: V1Beta1Plan;
|
|
549
|
+
}
|
|
428
550
|
interface V1Beta1CreatePolicyResponse {
|
|
429
551
|
policy?: V1Beta1Policy;
|
|
430
552
|
}
|
|
@@ -511,10 +633,48 @@ interface V1Beta1Domain {
|
|
|
511
633
|
*/
|
|
512
634
|
updatedAt?: string;
|
|
513
635
|
}
|
|
636
|
+
interface V1Beta1Feature {
|
|
637
|
+
id?: string;
|
|
638
|
+
name?: string;
|
|
639
|
+
title?: string;
|
|
640
|
+
description?: string;
|
|
641
|
+
planIds?: string[];
|
|
642
|
+
state?: string;
|
|
643
|
+
prices?: V1Beta1Price[];
|
|
644
|
+
/** @format int64 */
|
|
645
|
+
creditAmount?: string;
|
|
646
|
+
metadata?: object;
|
|
647
|
+
/** @format date-time */
|
|
648
|
+
createdAt?: string;
|
|
649
|
+
/** @format date-time */
|
|
650
|
+
updatedAt?: string;
|
|
651
|
+
}
|
|
652
|
+
interface V1Beta1FeatureRequestBody {
|
|
653
|
+
name?: string;
|
|
654
|
+
title?: string;
|
|
655
|
+
description?: string;
|
|
656
|
+
planId?: string;
|
|
657
|
+
prices?: V1Beta1Price[];
|
|
658
|
+
/** @format int64 */
|
|
659
|
+
creditAmount?: string;
|
|
660
|
+
metadata?: object;
|
|
661
|
+
}
|
|
662
|
+
interface V1Beta1GetBillingAccountResponse {
|
|
663
|
+
/** Billing account */
|
|
664
|
+
billingAccount?: V1Beta1BillingAccount;
|
|
665
|
+
}
|
|
666
|
+
interface V1Beta1GetBillingBalanceResponse {
|
|
667
|
+
/** Balance of the billing account */
|
|
668
|
+
balance?: BillingAccountBalance;
|
|
669
|
+
}
|
|
514
670
|
interface V1Beta1GetCurrentUserResponse {
|
|
515
671
|
user?: V1Beta1User;
|
|
516
672
|
serviceuser?: V1Beta1ServiceUser;
|
|
517
673
|
}
|
|
674
|
+
interface V1Beta1GetFeatureResponse {
|
|
675
|
+
/** Feature */
|
|
676
|
+
feature?: V1Beta1Feature;
|
|
677
|
+
}
|
|
518
678
|
interface V1Beta1GetGroupResponse {
|
|
519
679
|
group?: V1Beta1Group;
|
|
520
680
|
}
|
|
@@ -546,6 +706,10 @@ interface V1Beta1GetOrganizationRoleResponse {
|
|
|
546
706
|
interface V1Beta1GetPermissionResponse {
|
|
547
707
|
permission?: V1Beta1Permission;
|
|
548
708
|
}
|
|
709
|
+
interface V1Beta1GetPlanResponse {
|
|
710
|
+
/** Plan */
|
|
711
|
+
plan?: V1Beta1Plan;
|
|
712
|
+
}
|
|
549
713
|
interface V1Beta1GetPolicyResponse {
|
|
550
714
|
policy?: V1Beta1Policy;
|
|
551
715
|
}
|
|
@@ -564,6 +728,9 @@ interface V1Beta1GetServiceUserKeyResponse {
|
|
|
564
728
|
interface V1Beta1GetServiceUserResponse {
|
|
565
729
|
serviceuser?: V1Beta1ServiceUser;
|
|
566
730
|
}
|
|
731
|
+
interface V1Beta1GetSubscriptionResponse {
|
|
732
|
+
subscription?: V1Beta1Subscription;
|
|
733
|
+
}
|
|
567
734
|
interface V1Beta1GetUserResponse {
|
|
568
735
|
user?: V1Beta1User;
|
|
569
736
|
}
|
|
@@ -585,6 +752,7 @@ interface V1Beta1Group {
|
|
|
585
752
|
* @example "2023-06-07T05:39:56.961Z"
|
|
586
753
|
*/
|
|
587
754
|
updatedAt?: string;
|
|
755
|
+
users?: V1Beta1User[];
|
|
588
756
|
}
|
|
589
757
|
interface V1Beta1GroupRequestBody {
|
|
590
758
|
/** The name of the group. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores. */
|
|
@@ -677,6 +845,18 @@ interface V1Beta1ListAllUsersResponse {
|
|
|
677
845
|
interface V1Beta1ListAuthStrategiesResponse {
|
|
678
846
|
strategies?: V1Beta1AuthStrategy[];
|
|
679
847
|
}
|
|
848
|
+
interface V1Beta1ListBillingAccountsResponse {
|
|
849
|
+
/** List of billing accounts */
|
|
850
|
+
billingAccounts?: V1Beta1BillingAccount[];
|
|
851
|
+
}
|
|
852
|
+
interface V1Beta1ListBillingTransactionsResponse {
|
|
853
|
+
/** List of transactions */
|
|
854
|
+
transactions?: V1Beta1BillingTransaction[];
|
|
855
|
+
}
|
|
856
|
+
interface V1Beta1ListCheckoutsResponse {
|
|
857
|
+
/** List of checkouts */
|
|
858
|
+
checkoutSessions?: V1Beta1CheckoutSession[];
|
|
859
|
+
}
|
|
680
860
|
interface V1Beta1ListCurrentUserGroupsResponse {
|
|
681
861
|
groups?: V1Beta1Group[];
|
|
682
862
|
accessPairs?: V1Beta1ListCurrentUserGroupsResponseAccessPair[];
|
|
@@ -692,6 +872,10 @@ interface V1Beta1ListCurrentUserInvitationsResponse {
|
|
|
692
872
|
interface V1Beta1ListCurrentUserPreferencesResponse {
|
|
693
873
|
preferences?: V1Beta1Preference[];
|
|
694
874
|
}
|
|
875
|
+
interface V1Beta1ListFeaturesResponse {
|
|
876
|
+
/** List of features */
|
|
877
|
+
features?: V1Beta1Feature[];
|
|
878
|
+
}
|
|
695
879
|
interface V1Beta1ListGroupPreferencesResponse {
|
|
696
880
|
preferences?: V1Beta1Preference[];
|
|
697
881
|
}
|
|
@@ -761,6 +945,10 @@ interface V1Beta1ListOrganizationsResponse {
|
|
|
761
945
|
interface V1Beta1ListPermissionsResponse {
|
|
762
946
|
permissions?: V1Beta1Permission[];
|
|
763
947
|
}
|
|
948
|
+
interface V1Beta1ListPlansResponse {
|
|
949
|
+
/** List of plans */
|
|
950
|
+
plans?: V1Beta1Plan[];
|
|
951
|
+
}
|
|
764
952
|
interface V1Beta1ListPoliciesResponse {
|
|
765
953
|
policies?: V1Beta1Policy[];
|
|
766
954
|
}
|
|
@@ -772,6 +960,11 @@ interface V1Beta1ListProjectAdminsResponse {
|
|
|
772
960
|
}
|
|
773
961
|
interface V1Beta1ListProjectGroupsResponse {
|
|
774
962
|
groups?: V1Beta1Group[];
|
|
963
|
+
rolePairs?: V1Beta1ListProjectGroupsResponseRolePair[];
|
|
964
|
+
}
|
|
965
|
+
interface V1Beta1ListProjectGroupsResponseRolePair {
|
|
966
|
+
groupId?: string;
|
|
967
|
+
roles?: V1Beta1Role[];
|
|
775
968
|
}
|
|
776
969
|
interface V1Beta1ListProjectPreferencesResponse {
|
|
777
970
|
preferences?: V1Beta1Preference[];
|
|
@@ -828,6 +1021,10 @@ interface V1Beta1ListServiceUserSecretsResponse {
|
|
|
828
1021
|
interface V1Beta1ListServiceUsersResponse {
|
|
829
1022
|
serviceusers?: V1Beta1ServiceUser[];
|
|
830
1023
|
}
|
|
1024
|
+
interface V1Beta1ListSubscriptionsResponse {
|
|
1025
|
+
/** List of subscriptions */
|
|
1026
|
+
subscriptions?: V1Beta1Subscription[];
|
|
1027
|
+
}
|
|
831
1028
|
interface V1Beta1ListUserGroupsResponse {
|
|
832
1029
|
groups?: V1Beta1Group[];
|
|
833
1030
|
}
|
|
@@ -973,6 +1170,29 @@ interface V1Beta1PermissionRequestBody {
|
|
|
973
1170
|
*/
|
|
974
1171
|
key?: string;
|
|
975
1172
|
}
|
|
1173
|
+
interface V1Beta1Plan {
|
|
1174
|
+
id?: string;
|
|
1175
|
+
name?: string;
|
|
1176
|
+
title?: string;
|
|
1177
|
+
description?: string;
|
|
1178
|
+
features?: V1Beta1Feature[];
|
|
1179
|
+
/** known intervals are "day", "week", "month", and "year" */
|
|
1180
|
+
interval?: string;
|
|
1181
|
+
metadata?: object;
|
|
1182
|
+
/** @format date-time */
|
|
1183
|
+
createdAt?: string;
|
|
1184
|
+
/** @format date-time */
|
|
1185
|
+
updatedAt?: string;
|
|
1186
|
+
}
|
|
1187
|
+
interface V1Beta1PlanRequestBody {
|
|
1188
|
+
name?: string;
|
|
1189
|
+
title?: string;
|
|
1190
|
+
description?: string;
|
|
1191
|
+
features?: V1Beta1Feature[];
|
|
1192
|
+
/** known intervals are "day", "week", "month", and "year" */
|
|
1193
|
+
interval?: string;
|
|
1194
|
+
metadata?: object;
|
|
1195
|
+
}
|
|
976
1196
|
interface V1Beta1Policy {
|
|
977
1197
|
id?: string;
|
|
978
1198
|
title?: string;
|
|
@@ -1053,6 +1273,32 @@ interface V1Beta1PreferenceTrait {
|
|
|
1053
1273
|
multiselect?: string;
|
|
1054
1274
|
number?: string;
|
|
1055
1275
|
}
|
|
1276
|
+
interface V1Beta1Price {
|
|
1277
|
+
id?: string;
|
|
1278
|
+
featureId?: string;
|
|
1279
|
+
providerId?: string;
|
|
1280
|
+
name?: string;
|
|
1281
|
+
/** known intervals are "day", "week", "month", and "year" */
|
|
1282
|
+
interval?: string;
|
|
1283
|
+
/** usage_type known types are "licensed" and "metered" */
|
|
1284
|
+
usageType?: string;
|
|
1285
|
+
/** billing_scheme known schemes are "tiered" and "flat" */
|
|
1286
|
+
billingScheme?: string;
|
|
1287
|
+
state?: string;
|
|
1288
|
+
/** currency like "usd", "eur", "gbp" */
|
|
1289
|
+
currency?: string;
|
|
1290
|
+
/** @format int64 */
|
|
1291
|
+
amount?: string;
|
|
1292
|
+
/** metered_aggregate known aggregations are "sum", "last_during_period" and "max" */
|
|
1293
|
+
meteredAggregate?: string;
|
|
1294
|
+
/** tier_mode known modes are "graduated" and "volume" */
|
|
1295
|
+
tierMode?: string;
|
|
1296
|
+
metadata?: object;
|
|
1297
|
+
/** @format date-time */
|
|
1298
|
+
createdAt?: string;
|
|
1299
|
+
/** @format date-time */
|
|
1300
|
+
updatedAt?: string;
|
|
1301
|
+
}
|
|
1056
1302
|
interface V1Beta1Project {
|
|
1057
1303
|
id?: string;
|
|
1058
1304
|
name?: string;
|
|
@@ -1235,9 +1481,35 @@ interface V1Beta1ServiceUserRequestBody {
|
|
|
1235
1481
|
title?: string;
|
|
1236
1482
|
metadata?: object;
|
|
1237
1483
|
}
|
|
1484
|
+
interface V1Beta1Subscription {
|
|
1485
|
+
id?: string;
|
|
1486
|
+
customerId?: string;
|
|
1487
|
+
providerId?: string;
|
|
1488
|
+
planId?: string;
|
|
1489
|
+
state?: string;
|
|
1490
|
+
/** @format int32 */
|
|
1491
|
+
trialDays?: number;
|
|
1492
|
+
metadata?: object;
|
|
1493
|
+
/** @format date-time */
|
|
1494
|
+
createdAt?: string;
|
|
1495
|
+
/** @format date-time */
|
|
1496
|
+
updatedAt?: string;
|
|
1497
|
+
/** @format date-time */
|
|
1498
|
+
canceledAt?: string;
|
|
1499
|
+
/** @format date-time */
|
|
1500
|
+
endedAt?: string;
|
|
1501
|
+
}
|
|
1502
|
+
interface V1Beta1UpdateBillingAccountResponse {
|
|
1503
|
+
/** Updated billing account */
|
|
1504
|
+
billingAccount?: V1Beta1BillingAccount;
|
|
1505
|
+
}
|
|
1238
1506
|
interface V1Beta1UpdateCurrentUserResponse {
|
|
1239
1507
|
user?: V1Beta1User;
|
|
1240
1508
|
}
|
|
1509
|
+
interface V1Beta1UpdateFeatureResponse {
|
|
1510
|
+
/** Updated feature */
|
|
1511
|
+
feature?: V1Beta1Feature;
|
|
1512
|
+
}
|
|
1241
1513
|
interface V1Beta1UpdateGroupResponse {
|
|
1242
1514
|
group?: V1Beta1Group;
|
|
1243
1515
|
}
|
|
@@ -1253,6 +1525,10 @@ interface V1Beta1UpdateOrganizationRoleResponse {
|
|
|
1253
1525
|
interface V1Beta1UpdatePermissionResponse {
|
|
1254
1526
|
permission?: V1Beta1Permission;
|
|
1255
1527
|
}
|
|
1528
|
+
interface V1Beta1UpdatePlanResponse {
|
|
1529
|
+
/** Updated plan */
|
|
1530
|
+
plan?: V1Beta1Plan;
|
|
1531
|
+
}
|
|
1256
1532
|
interface V1Beta1UpdatePolicyResponse {
|
|
1257
1533
|
policies?: V1Beta1Policy[];
|
|
1258
1534
|
}
|
|
@@ -1265,9 +1541,27 @@ interface V1Beta1UpdateProjectResponse {
|
|
|
1265
1541
|
interface V1Beta1UpdateRoleResponse {
|
|
1266
1542
|
role?: V1Beta1Role;
|
|
1267
1543
|
}
|
|
1544
|
+
interface V1Beta1UpdateSubscriptionResponse {
|
|
1545
|
+
/** Updated subscription */
|
|
1546
|
+
subscription?: V1Beta1Subscription;
|
|
1547
|
+
}
|
|
1268
1548
|
interface V1Beta1UpdateUserResponse {
|
|
1269
1549
|
user?: V1Beta1User;
|
|
1270
1550
|
}
|
|
1551
|
+
interface V1Beta1Usage {
|
|
1552
|
+
id?: string;
|
|
1553
|
+
customerId?: string;
|
|
1554
|
+
source?: string;
|
|
1555
|
+
description?: string;
|
|
1556
|
+
type?: string;
|
|
1557
|
+
/** @format int64 */
|
|
1558
|
+
amount?: string;
|
|
1559
|
+
metadata?: object;
|
|
1560
|
+
/** @format date-time */
|
|
1561
|
+
createdAt?: string;
|
|
1562
|
+
/** @format date-time */
|
|
1563
|
+
updatedAt?: string;
|
|
1564
|
+
}
|
|
1271
1565
|
interface V1Beta1User {
|
|
1272
1566
|
id?: string;
|
|
1273
1567
|
/**
|
|
@@ -1323,6 +1617,16 @@ interface V1Beta1VerifyOrganizationDomainResponse {
|
|
|
1323
1617
|
}
|
|
1324
1618
|
|
|
1325
1619
|
declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
|
|
1620
|
+
/**
|
|
1621
|
+
* @description Returns true if a principal has required permissions to access a resource and false otherwise.<br/> Note the principal can be a user, group or a service account.
|
|
1622
|
+
*
|
|
1623
|
+
* @tags Authz
|
|
1624
|
+
* @name AdminServiceCheckFederatedResourcePermission
|
|
1625
|
+
* @summary Check
|
|
1626
|
+
* @request POST:/v1beta1/admin/check
|
|
1627
|
+
* @secure
|
|
1628
|
+
*/
|
|
1629
|
+
adminServiceCheckFederatedResourcePermission: (body: V1Beta1CheckFederatedResourcePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFederatedResourcePermissionResponse, RpcStatus>>;
|
|
1326
1630
|
/**
|
|
1327
1631
|
* @description Lists all the groups from all the organizations in a Frontier instance. It can be filtered by organization and state.
|
|
1328
1632
|
*
|
|
@@ -1353,6 +1657,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1353
1657
|
/** The state to filter by. It can be enabled or disabled. */
|
|
1354
1658
|
state?: string;
|
|
1355
1659
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
|
|
1660
|
+
/**
|
|
1661
|
+
* @description Adds a user to a platform.
|
|
1662
|
+
*
|
|
1663
|
+
* @tags Platform
|
|
1664
|
+
* @name AdminServiceAddPlatformUser
|
|
1665
|
+
* @summary Add platform user
|
|
1666
|
+
* @request POST:/v1beta1/admin/platform/users
|
|
1667
|
+
* @secure
|
|
1668
|
+
*/
|
|
1669
|
+
adminServiceAddPlatformUser: (body: V1Beta1AddPlatformUserRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
1356
1670
|
/**
|
|
1357
1671
|
* @description Lists all the projects from all the organizations in a Frontier instance. It can be filtered by organization and state.
|
|
1358
1672
|
*
|
|
@@ -1602,7 +1916,107 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1602
1916
|
*/
|
|
1603
1917
|
frontierServiceBatchCheckPermission: (body: V1Beta1BatchCheckPermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1BatchCheckPermissionResponse, RpcStatus>>;
|
|
1604
1918
|
/**
|
|
1605
|
-
* @description
|
|
1919
|
+
* @description List all transactions of a billing account.
|
|
1920
|
+
*
|
|
1921
|
+
* @tags Transaction
|
|
1922
|
+
* @name FrontierServiceListBillingTransactions
|
|
1923
|
+
* @summary List billing transactions
|
|
1924
|
+
* @request GET:/v1beta1/billing/{billingId}/transactions
|
|
1925
|
+
* @secure
|
|
1926
|
+
*/
|
|
1927
|
+
frontierServiceListBillingTransactions: (billingId: string, query?: {
|
|
1928
|
+
orgId?: string;
|
|
1929
|
+
/** @format date-time */
|
|
1930
|
+
since?: string;
|
|
1931
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
|
|
1932
|
+
/**
|
|
1933
|
+
* @description List all features of a platform.
|
|
1934
|
+
*
|
|
1935
|
+
* @tags Feature
|
|
1936
|
+
* @name FrontierServiceListFeatures
|
|
1937
|
+
* @summary List features
|
|
1938
|
+
* @request GET:/v1beta1/billing/features
|
|
1939
|
+
* @secure
|
|
1940
|
+
*/
|
|
1941
|
+
frontierServiceListFeatures: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListFeaturesResponse, RpcStatus>>;
|
|
1942
|
+
/**
|
|
1943
|
+
* @description Create a new feature for platform.
|
|
1944
|
+
*
|
|
1945
|
+
* @tags Feature
|
|
1946
|
+
* @name FrontierServiceCreateFeature
|
|
1947
|
+
* @summary Create feature
|
|
1948
|
+
* @request POST:/v1beta1/billing/features
|
|
1949
|
+
* @secure
|
|
1950
|
+
*/
|
|
1951
|
+
frontierServiceCreateFeature: (body: V1Beta1CreateFeatureRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateFeatureResponse, RpcStatus>>;
|
|
1952
|
+
/**
|
|
1953
|
+
* @description Get a feature by ID.
|
|
1954
|
+
*
|
|
1955
|
+
* @tags Feature
|
|
1956
|
+
* @name FrontierServiceGetFeature
|
|
1957
|
+
* @summary Get feature
|
|
1958
|
+
* @request GET:/v1beta1/billing/features/{id}
|
|
1959
|
+
* @secure
|
|
1960
|
+
*/
|
|
1961
|
+
frontierServiceGetFeature: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetFeatureResponse, RpcStatus>>;
|
|
1962
|
+
/**
|
|
1963
|
+
* @description Update a feature by ID.
|
|
1964
|
+
*
|
|
1965
|
+
* @tags Feature
|
|
1966
|
+
* @name FrontierServiceUpdateFeature
|
|
1967
|
+
* @summary Update feature
|
|
1968
|
+
* @request PUT:/v1beta1/billing/features/{id}
|
|
1969
|
+
* @secure
|
|
1970
|
+
*/
|
|
1971
|
+
frontierServiceUpdateFeature: (id: string, body: {
|
|
1972
|
+
/** Feature to update */
|
|
1973
|
+
body?: V1Beta1FeatureRequestBody | undefined;
|
|
1974
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
|
|
1975
|
+
/**
|
|
1976
|
+
* @description List all plans.
|
|
1977
|
+
*
|
|
1978
|
+
* @tags Plan
|
|
1979
|
+
* @name FrontierServiceListPlans
|
|
1980
|
+
* @summary List plans
|
|
1981
|
+
* @request GET:/v1beta1/billing/plans
|
|
1982
|
+
* @secure
|
|
1983
|
+
*/
|
|
1984
|
+
frontierServiceListPlans: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlansResponse, RpcStatus>>;
|
|
1985
|
+
/**
|
|
1986
|
+
* @description Create a new plan for platform.
|
|
1987
|
+
*
|
|
1988
|
+
* @tags Plan
|
|
1989
|
+
* @name FrontierServiceCreatePlan
|
|
1990
|
+
* @summary Create plan
|
|
1991
|
+
* @request POST:/v1beta1/billing/plans
|
|
1992
|
+
* @secure
|
|
1993
|
+
*/
|
|
1994
|
+
frontierServiceCreatePlan: (body: V1Beta1CreatePlanRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePlanResponse, RpcStatus>>;
|
|
1995
|
+
/**
|
|
1996
|
+
* @description Get a plan by ID.
|
|
1997
|
+
*
|
|
1998
|
+
* @tags Plan
|
|
1999
|
+
* @name FrontierServiceGetPlan
|
|
2000
|
+
* @summary Get plan
|
|
2001
|
+
* @request GET:/v1beta1/billing/plans/{id}
|
|
2002
|
+
* @secure
|
|
2003
|
+
*/
|
|
2004
|
+
frontierServiceGetPlan: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPlanResponse, RpcStatus>>;
|
|
2005
|
+
/**
|
|
2006
|
+
* @description Update a plan by ID.
|
|
2007
|
+
*
|
|
2008
|
+
* @tags Plan
|
|
2009
|
+
* @name FrontierServiceUpdatePlan
|
|
2010
|
+
* @summary Update plan
|
|
2011
|
+
* @request PUT:/v1beta1/billing/plans/{id}
|
|
2012
|
+
* @secure
|
|
2013
|
+
*/
|
|
2014
|
+
frontierServiceUpdatePlan: (id: string, body: {
|
|
2015
|
+
/** Plan to update */
|
|
2016
|
+
body?: V1Beta1PlanRequestBody | undefined;
|
|
2017
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
|
|
2018
|
+
/**
|
|
2019
|
+
* @description Returns true if a principal has required permissions to access a resource and false otherwise.<br/> Note the principal can be a user or a service account. Frontier will extract principal from the current logged in session cookie (if any), or the client id and secret (in case of service users) or the access token.
|
|
1606
2020
|
*
|
|
1607
2021
|
* @tags Authz
|
|
1608
2022
|
* @name FrontierServiceCheckResourcePermission
|
|
@@ -1911,6 +2325,166 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1911
2325
|
* @secure
|
|
1912
2326
|
*/
|
|
1913
2327
|
frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2328
|
+
/**
|
|
2329
|
+
* @description List billing accounts of an organization.
|
|
2330
|
+
*
|
|
2331
|
+
* @tags Billing
|
|
2332
|
+
* @name FrontierServiceListBillingAccounts
|
|
2333
|
+
* @summary List billing accounts
|
|
2334
|
+
* @request GET:/v1beta1/organizations/{orgId}/billing
|
|
2335
|
+
* @secure
|
|
2336
|
+
*/
|
|
2337
|
+
frontierServiceListBillingAccounts: (orgId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingAccountsResponse, RpcStatus>>;
|
|
2338
|
+
/**
|
|
2339
|
+
* @description Create a new billing account for an organization.
|
|
2340
|
+
*
|
|
2341
|
+
* @tags Billing
|
|
2342
|
+
* @name FrontierServiceCreateBillingAccount
|
|
2343
|
+
* @summary Create billing account
|
|
2344
|
+
* @request POST:/v1beta1/organizations/{orgId}/billing
|
|
2345
|
+
* @secure
|
|
2346
|
+
*/
|
|
2347
|
+
frontierServiceCreateBillingAccount: (orgId: string, body: {
|
|
2348
|
+
/** Billing account to create. */
|
|
2349
|
+
body?: V1Beta1BillingAccountRequestBody | undefined;
|
|
2350
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
|
|
2351
|
+
/**
|
|
2352
|
+
* @description Check if a billing account is entitled to a feature.
|
|
2353
|
+
*
|
|
2354
|
+
* @tags Entitlement
|
|
2355
|
+
* @name FrontierServiceCheckFeatureEntitlement
|
|
2356
|
+
* @summary Check entitlement
|
|
2357
|
+
* @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/check
|
|
2358
|
+
* @secure
|
|
2359
|
+
*/
|
|
2360
|
+
frontierServiceCheckFeatureEntitlement: (orgId: string, billingId: string, body: {
|
|
2361
|
+
feature?: string;
|
|
2362
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, RpcStatus>>;
|
|
2363
|
+
/**
|
|
2364
|
+
* @description List all checkouts of a billing account.
|
|
2365
|
+
*
|
|
2366
|
+
* @tags Checkout
|
|
2367
|
+
* @name FrontierServiceListCheckouts
|
|
2368
|
+
* @summary List checkouts
|
|
2369
|
+
* @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
|
|
2370
|
+
* @secure
|
|
2371
|
+
*/
|
|
2372
|
+
frontierServiceListCheckouts: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
|
|
2373
|
+
/**
|
|
2374
|
+
* @description Checkout a feature to buy it one time or start a subscription plan on a billing account.
|
|
2375
|
+
*
|
|
2376
|
+
* @tags Checkout
|
|
2377
|
+
* @name FrontierServiceCreateCheckout
|
|
2378
|
+
* @summary Checkout a feature or subscription
|
|
2379
|
+
* @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
|
|
2380
|
+
* @secure
|
|
2381
|
+
*/
|
|
2382
|
+
frontierServiceCreateCheckout: (orgId: string, billingId: string, body: {
|
|
2383
|
+
successUrl?: string;
|
|
2384
|
+
cancelUrl?: string;
|
|
2385
|
+
/** Subscription to create */
|
|
2386
|
+
subscriptionBody?: V1Beta1CheckoutSubscriptionBody;
|
|
2387
|
+
/** Feature to buy */
|
|
2388
|
+
featureBody?: V1Beta1CheckoutFeatureBody;
|
|
2389
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
|
|
2390
|
+
/**
|
|
2391
|
+
* @description List subscriptions of a billing account.
|
|
2392
|
+
*
|
|
2393
|
+
* @tags Subscription
|
|
2394
|
+
* @name FrontierServiceListSubscriptions
|
|
2395
|
+
* @summary List subscriptions
|
|
2396
|
+
* @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions
|
|
2397
|
+
* @secure
|
|
2398
|
+
*/
|
|
2399
|
+
frontierServiceListSubscriptions: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
|
|
2400
|
+
/**
|
|
2401
|
+
* @description Get a subscription by ID.
|
|
2402
|
+
*
|
|
2403
|
+
* @tags Subscription
|
|
2404
|
+
* @name FrontierServiceGetSubscription
|
|
2405
|
+
* @summary Get subscription
|
|
2406
|
+
* @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
|
|
2407
|
+
* @secure
|
|
2408
|
+
*/
|
|
2409
|
+
frontierServiceGetSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
|
|
2410
|
+
/**
|
|
2411
|
+
* @description Update a subscription by ID.
|
|
2412
|
+
*
|
|
2413
|
+
* @tags Subscription
|
|
2414
|
+
* @name FrontierServiceUpdateSubscription
|
|
2415
|
+
* @summary Update subscription
|
|
2416
|
+
* @request PUT:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
|
|
2417
|
+
* @secure
|
|
2418
|
+
*/
|
|
2419
|
+
frontierServiceUpdateSubscription: (orgId: string, billingId: string, id: string, body: {
|
|
2420
|
+
metadata?: object;
|
|
2421
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateSubscriptionResponse, RpcStatus>>;
|
|
2422
|
+
/**
|
|
2423
|
+
* @description Cancel a subscription by ID.
|
|
2424
|
+
*
|
|
2425
|
+
* @tags Subscription
|
|
2426
|
+
* @name FrontierServiceCancelSubscription
|
|
2427
|
+
* @summary Cancel subscription
|
|
2428
|
+
* @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}/cancel
|
|
2429
|
+
* @secure
|
|
2430
|
+
*/
|
|
2431
|
+
frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2432
|
+
/**
|
|
2433
|
+
* @description Report a new billing usage for a billing account.
|
|
2434
|
+
*
|
|
2435
|
+
* @tags Usage
|
|
2436
|
+
* @name FrontierServiceCreateBillingUsage
|
|
2437
|
+
* @summary Create billing usage
|
|
2438
|
+
* @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/usages
|
|
2439
|
+
* @secure
|
|
2440
|
+
*/
|
|
2441
|
+
frontierServiceCreateBillingUsage: (orgId: string, billingId: string, body: {
|
|
2442
|
+
/** Usage to create */
|
|
2443
|
+
usages?: V1Beta1Usage[];
|
|
2444
|
+
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2445
|
+
/**
|
|
2446
|
+
* @description Get a billing account by ID.
|
|
2447
|
+
*
|
|
2448
|
+
* @tags Billing
|
|
2449
|
+
* @name FrontierServiceGetBillingAccount
|
|
2450
|
+
* @summary Get billing account
|
|
2451
|
+
* @request GET:/v1beta1/organizations/{orgId}/billing/{id}
|
|
2452
|
+
* @secure
|
|
2453
|
+
*/
|
|
2454
|
+
frontierServiceGetBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
|
|
2455
|
+
/**
|
|
2456
|
+
* @description Delete a billing account by ID.
|
|
2457
|
+
*
|
|
2458
|
+
* @tags Billing
|
|
2459
|
+
* @name FrontierServiceDeleteBillingAccount
|
|
2460
|
+
* @summary Delete billing account
|
|
2461
|
+
* @request DELETE:/v1beta1/organizations/{orgId}/billing/{id}
|
|
2462
|
+
* @secure
|
|
2463
|
+
*/
|
|
2464
|
+
frontierServiceDeleteBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2465
|
+
/**
|
|
2466
|
+
* @description Update a billing account by ID.
|
|
2467
|
+
*
|
|
2468
|
+
* @tags Billing
|
|
2469
|
+
* @name FrontierServiceUpdateBillingAccount
|
|
2470
|
+
* @summary Update billing account
|
|
2471
|
+
* @request PUT:/v1beta1/organizations/{orgId}/billing/{id}
|
|
2472
|
+
* @secure
|
|
2473
|
+
*/
|
|
2474
|
+
frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
|
|
2475
|
+
/** Billing account to update. */
|
|
2476
|
+
body?: V1Beta1BillingAccountRequestBody | undefined;
|
|
2477
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, RpcStatus>>;
|
|
2478
|
+
/**
|
|
2479
|
+
* @description Get the balance of a billing account by ID.
|
|
2480
|
+
*
|
|
2481
|
+
* @tags Billing
|
|
2482
|
+
* @name FrontierServiceGetBillingBalance
|
|
2483
|
+
* @summary Get billing balance
|
|
2484
|
+
* @request GET:/v1beta1/organizations/{orgId}/billing/{id}/balance
|
|
2485
|
+
* @secure
|
|
2486
|
+
*/
|
|
2487
|
+
frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, RpcStatus>>;
|
|
1914
2488
|
/**
|
|
1915
2489
|
* @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.
|
|
1916
2490
|
*
|
|
@@ -1979,6 +2553,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1979
2553
|
frontierServiceListOrganizationGroups: (orgId: string, query?: {
|
|
1980
2554
|
/** The state of the group to filter by. It can be enabled or disabled. */
|
|
1981
2555
|
state?: string;
|
|
2556
|
+
groupIds?: string[];
|
|
2557
|
+
withMembers?: boolean;
|
|
1982
2558
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationGroupsResponse, RpcStatus>>;
|
|
1983
2559
|
/**
|
|
1984
2560
|
* @description Create a new group in an organization which serves as a container for users. The group can be assigned roles and permissions and can be used to manage access to resources. Also a group can also be assigned to other groups.
|
|
@@ -1999,7 +2575,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1999
2575
|
* @request GET:/v1beta1/organizations/{orgId}/groups/{id}
|
|
2000
2576
|
* @secure
|
|
2001
2577
|
*/
|
|
2002
|
-
frontierServiceGetGroup: (orgId: string, id: string,
|
|
2578
|
+
frontierServiceGetGroup: (orgId: string, id: string, query?: {
|
|
2579
|
+
withMembers?: boolean;
|
|
2580
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, RpcStatus>>;
|
|
2003
2581
|
/**
|
|
2004
2582
|
* @description Delete an organization group permanently and all of its relations
|
|
2005
2583
|
*
|
|
@@ -2251,12 +2829,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2251
2829
|
* @description Lists all the policies from all the organizations in a Frontier instance. It can be filtered by organization, project, user, role and group.
|
|
2252
2830
|
*
|
|
2253
2831
|
* @tags Policy
|
|
2254
|
-
* @name
|
|
2832
|
+
* @name FrontierServiceListPolicies
|
|
2255
2833
|
* @summary List all policies
|
|
2256
2834
|
* @request GET:/v1beta1/policies
|
|
2257
2835
|
* @secure
|
|
2258
2836
|
*/
|
|
2259
|
-
|
|
2837
|
+
frontierServiceListPolicies: (query?: {
|
|
2260
2838
|
/** The organization id to filter by. */
|
|
2261
2839
|
orgId?: string;
|
|
2262
2840
|
/** The project id to filter by. */
|
|
@@ -2417,7 +2995,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2417
2995
|
* @request GET:/v1beta1/projects/{id}/groups
|
|
2418
2996
|
* @secure
|
|
2419
2997
|
*/
|
|
2420
|
-
frontierServiceListProjectGroups: (id: string,
|
|
2998
|
+
frontierServiceListProjectGroups: (id: string, query?: {
|
|
2999
|
+
withRoles?: boolean;
|
|
3000
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, RpcStatus>>;
|
|
2421
3001
|
/**
|
|
2422
3002
|
* @description List a project preferences by ID.
|
|
2423
3003
|
*
|