@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 CHANGED
@@ -57,6 +57,21 @@ declare class HttpClient<SecurityDataType = unknown> {
57
57
  request: <T = any, E = any>({ body, secure, path, type, query, format, baseUrl, cancelToken, ...params }: FullRequestParams) => Promise<HttpResponse<T, E>>;
58
58
  }
59
59
 
60
+ interface BillingAccountAddress {
61
+ line1?: string;
62
+ line2?: string;
63
+ city?: string;
64
+ state?: string;
65
+ postalCode?: string;
66
+ country?: string;
67
+ }
68
+ interface BillingAccountBalance {
69
+ /** @format int64 */
70
+ amount?: string;
71
+ currency?: string;
72
+ /** @format date-time */
73
+ updatedAt?: string;
74
+ }
60
75
  interface ProtobufAny {
61
76
  '@type'?: string;
62
77
  [key: string]: any;
@@ -82,6 +97,15 @@ interface RpcStatus {
82
97
  type V1Beta1AcceptOrganizationInvitationResponse = object;
83
98
  type V1Beta1AddGroupUsersResponse = object;
84
99
  type V1Beta1AddOrganizationUsersResponse = object;
100
+ interface V1Beta1AddPlatformUserRequest {
101
+ /** The user id to add to the platform. */
102
+ userId?: string;
103
+ /** The service user id to add to the platform. */
104
+ serviceuserId?: string;
105
+ /** The relation to add as in the platform. It can be admin or member. */
106
+ relation: string;
107
+ }
108
+ type V1Beta1AddPlatformUserResponse = object;
85
109
  interface V1Beta1AuditLog {
86
110
  /** A unique identifier of the audit log if not supplied will be autogenerated */
87
111
  id?: string;
@@ -175,6 +199,60 @@ interface V1Beta1BatchCheckPermissionResponsePair {
175
199
  body?: V1Beta1BatchCheckPermissionBody;
176
200
  status?: boolean;
177
201
  }
202
+ interface V1Beta1BillingAccount {
203
+ id?: string;
204
+ orgId?: string;
205
+ name?: string;
206
+ email?: string;
207
+ phone?: string;
208
+ address?: BillingAccountAddress;
209
+ providerId?: string;
210
+ provider?: string;
211
+ currency?: string;
212
+ state?: string;
213
+ metadata?: object;
214
+ /** @format date-time */
215
+ createdAt?: string;
216
+ /** @format date-time */
217
+ updatedAt?: string;
218
+ }
219
+ interface V1Beta1BillingAccountRequestBody {
220
+ name?: string;
221
+ email?: string;
222
+ phone?: string;
223
+ address?: BillingAccountAddress;
224
+ currency?: string;
225
+ metadata?: object;
226
+ }
227
+ interface V1Beta1BillingTransaction {
228
+ id?: string;
229
+ customerId?: string;
230
+ source?: string;
231
+ /** @format int64 */
232
+ amount?: string;
233
+ type?: string;
234
+ description?: string;
235
+ metadata?: object;
236
+ /** @format date-time */
237
+ createdAt?: string;
238
+ /** @format date-time */
239
+ updatedAt?: string;
240
+ }
241
+ type V1Beta1CancelSubscriptionResponse = object;
242
+ interface V1Beta1CheckFeatureEntitlementResponse {
243
+ status?: boolean;
244
+ }
245
+ interface V1Beta1CheckFederatedResourcePermissionRequest {
246
+ /** the subject to check. <br/> *Example:* `user:..uuidofuser..` */
247
+ subject: string;
248
+ /** `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` */
249
+ resource: string;
250
+ /** the permission name to check. <br/> *Example:* `get`, `list`, `compute.instance.create` */
251
+ permission: string;
252
+ }
253
+ interface V1Beta1CheckFederatedResourcePermissionResponse {
254
+ status?: boolean;
255
+ }
178
256
  interface V1Beta1CheckResourcePermissionRequest {
179
257
  /** Deprecated. Use `resource` field instead. */
180
258
  objectId?: string;
@@ -188,12 +266,51 @@ interface V1Beta1CheckResourcePermissionRequest {
188
266
  interface V1Beta1CheckResourcePermissionResponse {
189
267
  status?: boolean;
190
268
  }
269
+ interface V1Beta1CheckoutFeatureBody {
270
+ feature?: string;
271
+ }
272
+ interface V1Beta1CheckoutSession {
273
+ id?: string;
274
+ checkoutUrl?: string;
275
+ successUrl?: string;
276
+ cancelUrl?: string;
277
+ state?: string;
278
+ metadata?: object;
279
+ /** @format date-time */
280
+ createdAt?: string;
281
+ /** @format date-time */
282
+ updatedAt?: string;
283
+ /** @format date-time */
284
+ expireAt?: string;
285
+ }
286
+ interface V1Beta1CheckoutSubscriptionBody {
287
+ plan?: string;
288
+ /** @format int32 */
289
+ trailDays?: number;
290
+ }
291
+ interface V1Beta1CreateBillingAccountResponse {
292
+ /** Created billing account */
293
+ billingAccount?: V1Beta1BillingAccount;
294
+ }
295
+ type V1Beta1CreateBillingUsageResponse = object;
296
+ interface V1Beta1CreateCheckoutResponse {
297
+ /** Checkout session */
298
+ checkoutSession?: V1Beta1CheckoutSession;
299
+ }
191
300
  interface V1Beta1CreateCurrentUserPreferencesRequest {
192
301
  bodies?: V1Beta1PreferenceRequestBody[];
193
302
  }
194
303
  interface V1Beta1CreateCurrentUserPreferencesResponse {
195
304
  preferences?: V1Beta1Preference[];
196
305
  }
306
+ interface V1Beta1CreateFeatureRequest {
307
+ /** Feature to create */
308
+ body?: V1Beta1FeatureRequestBody;
309
+ }
310
+ interface V1Beta1CreateFeatureResponse {
311
+ /** Created feature */
312
+ feature?: V1Beta1Feature;
313
+ }
197
314
  interface V1Beta1CreateGroupPreferencesResponse {
198
315
  preferences?: V1Beta1Preference[];
199
316
  }
@@ -225,6 +342,14 @@ interface V1Beta1CreatePermissionRequest {
225
342
  interface V1Beta1CreatePermissionResponse {
226
343
  permissions?: V1Beta1Permission[];
227
344
  }
345
+ interface V1Beta1CreatePlanRequest {
346
+ /** Plan to create */
347
+ body?: V1Beta1PlanRequestBody;
348
+ }
349
+ interface V1Beta1CreatePlanResponse {
350
+ /** Created plan */
351
+ plan?: V1Beta1Plan;
352
+ }
228
353
  interface V1Beta1CreatePolicyResponse {
229
354
  policy?: V1Beta1Policy;
230
355
  }
@@ -269,6 +394,7 @@ interface V1Beta1CreateUserPreferencesResponse {
269
394
  interface V1Beta1CreateUserResponse {
270
395
  user?: V1Beta1User;
271
396
  }
397
+ type V1Beta1DeleteBillingAccountResponse = object;
272
398
  type V1Beta1DeleteGroupResponse = object;
273
399
  type V1Beta1DeleteMetaSchemaResponse = object;
274
400
  type V1Beta1DeleteOrganizationDomainResponse = object;
@@ -335,10 +461,48 @@ type V1Beta1EnableGroupResponse = object;
335
461
  type V1Beta1EnableOrganizationResponse = object;
336
462
  type V1Beta1EnableProjectResponse = object;
337
463
  type V1Beta1EnableUserResponse = object;
464
+ interface V1Beta1Feature {
465
+ id?: string;
466
+ name?: string;
467
+ title?: string;
468
+ description?: string;
469
+ planIds?: string[];
470
+ state?: string;
471
+ prices?: V1Beta1Price[];
472
+ /** @format int64 */
473
+ creditAmount?: string;
474
+ metadata?: object;
475
+ /** @format date-time */
476
+ createdAt?: string;
477
+ /** @format date-time */
478
+ updatedAt?: string;
479
+ }
480
+ interface V1Beta1FeatureRequestBody {
481
+ name?: string;
482
+ title?: string;
483
+ description?: string;
484
+ planId?: string;
485
+ prices?: V1Beta1Price[];
486
+ /** @format int64 */
487
+ creditAmount?: string;
488
+ metadata?: object;
489
+ }
490
+ interface V1Beta1GetBillingAccountResponse {
491
+ /** Billing account */
492
+ billingAccount?: V1Beta1BillingAccount;
493
+ }
494
+ interface V1Beta1GetBillingBalanceResponse {
495
+ /** Balance of the billing account */
496
+ balance?: BillingAccountBalance;
497
+ }
338
498
  interface V1Beta1GetCurrentUserResponse {
339
499
  user?: V1Beta1User;
340
500
  serviceuser?: V1Beta1ServiceUser;
341
501
  }
502
+ interface V1Beta1GetFeatureResponse {
503
+ /** Feature */
504
+ feature?: V1Beta1Feature;
505
+ }
342
506
  interface V1Beta1GetGroupResponse {
343
507
  group?: V1Beta1Group;
344
508
  }
@@ -370,6 +534,10 @@ interface V1Beta1GetOrganizationRoleResponse {
370
534
  interface V1Beta1GetPermissionResponse {
371
535
  permission?: V1Beta1Permission;
372
536
  }
537
+ interface V1Beta1GetPlanResponse {
538
+ /** Plan */
539
+ plan?: V1Beta1Plan;
540
+ }
373
541
  interface V1Beta1GetPolicyResponse {
374
542
  policy?: V1Beta1Policy;
375
543
  }
@@ -388,6 +556,9 @@ interface V1Beta1GetServiceUserKeyResponse {
388
556
  interface V1Beta1GetServiceUserResponse {
389
557
  serviceuser?: V1Beta1ServiceUser;
390
558
  }
559
+ interface V1Beta1GetSubscriptionResponse {
560
+ subscription?: V1Beta1Subscription;
561
+ }
391
562
  interface V1Beta1GetUserResponse {
392
563
  user?: V1Beta1User;
393
564
  }
@@ -409,6 +580,7 @@ interface V1Beta1Group {
409
580
  * @example "2023-06-07T05:39:56.961Z"
410
581
  */
411
582
  updatedAt?: string;
583
+ users?: V1Beta1User[];
412
584
  }
413
585
  interface V1Beta1GroupRequestBody {
414
586
  /** 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. */
@@ -502,6 +674,18 @@ interface V1Beta1ListAllUsersResponse {
502
674
  interface V1Beta1ListAuthStrategiesResponse {
503
675
  strategies?: V1Beta1AuthStrategy[];
504
676
  }
677
+ interface V1Beta1ListBillingAccountsResponse {
678
+ /** List of billing accounts */
679
+ billingAccounts?: V1Beta1BillingAccount[];
680
+ }
681
+ interface V1Beta1ListBillingTransactionsResponse {
682
+ /** List of transactions */
683
+ transactions?: V1Beta1BillingTransaction[];
684
+ }
685
+ interface V1Beta1ListCheckoutsResponse {
686
+ /** List of checkouts */
687
+ checkoutSessions?: V1Beta1CheckoutSession[];
688
+ }
505
689
  interface V1Beta1ListCurrentUserGroupsResponse {
506
690
  groups?: V1Beta1Group[];
507
691
  accessPairs?: V1Beta1ListCurrentUserGroupsResponseAccessPair[];
@@ -517,6 +701,10 @@ interface V1Beta1ListCurrentUserInvitationsResponse {
517
701
  interface V1Beta1ListCurrentUserPreferencesResponse {
518
702
  preferences?: V1Beta1Preference[];
519
703
  }
704
+ interface V1Beta1ListFeaturesResponse {
705
+ /** List of features */
706
+ features?: V1Beta1Feature[];
707
+ }
520
708
  interface V1Beta1ListGroupPreferencesResponse {
521
709
  preferences?: V1Beta1Preference[];
522
710
  }
@@ -586,6 +774,10 @@ interface V1Beta1ListOrganizationsResponse {
586
774
  interface V1Beta1ListPermissionsResponse {
587
775
  permissions?: V1Beta1Permission[];
588
776
  }
777
+ interface V1Beta1ListPlansResponse {
778
+ /** List of plans */
779
+ plans?: V1Beta1Plan[];
780
+ }
589
781
  interface V1Beta1ListPoliciesResponse {
590
782
  policies?: V1Beta1Policy[];
591
783
  }
@@ -597,6 +789,11 @@ interface V1Beta1ListProjectAdminsResponse {
597
789
  }
598
790
  interface V1Beta1ListProjectGroupsResponse {
599
791
  groups?: V1Beta1Group[];
792
+ rolePairs?: V1Beta1ListProjectGroupsResponseRolePair[];
793
+ }
794
+ interface V1Beta1ListProjectGroupsResponseRolePair {
795
+ groupId?: string;
796
+ roles?: V1Beta1Role[];
600
797
  }
601
798
  interface V1Beta1ListProjectPreferencesResponse {
602
799
  preferences?: V1Beta1Preference[];
@@ -653,6 +850,10 @@ interface V1Beta1ListServiceUserSecretsResponse {
653
850
  interface V1Beta1ListServiceUsersResponse {
654
851
  serviceusers?: V1Beta1ServiceUser[];
655
852
  }
853
+ interface V1Beta1ListSubscriptionsResponse {
854
+ /** List of subscriptions */
855
+ subscriptions?: V1Beta1Subscription[];
856
+ }
656
857
  interface V1Beta1ListUserGroupsResponse {
657
858
  groups?: V1Beta1Group[];
658
859
  }
@@ -798,6 +999,29 @@ interface V1Beta1PermissionRequestBody {
798
999
  */
799
1000
  key?: string;
800
1001
  }
1002
+ interface V1Beta1Plan {
1003
+ id?: string;
1004
+ name?: string;
1005
+ title?: string;
1006
+ description?: string;
1007
+ features?: V1Beta1Feature[];
1008
+ /** known intervals are "day", "week", "month", and "year" */
1009
+ interval?: string;
1010
+ metadata?: object;
1011
+ /** @format date-time */
1012
+ createdAt?: string;
1013
+ /** @format date-time */
1014
+ updatedAt?: string;
1015
+ }
1016
+ interface V1Beta1PlanRequestBody {
1017
+ name?: string;
1018
+ title?: string;
1019
+ description?: string;
1020
+ features?: V1Beta1Feature[];
1021
+ /** known intervals are "day", "week", "month", and "year" */
1022
+ interval?: string;
1023
+ metadata?: object;
1024
+ }
801
1025
  interface V1Beta1Policy {
802
1026
  id?: string;
803
1027
  title?: string;
@@ -878,6 +1102,32 @@ interface V1Beta1PreferenceTrait {
878
1102
  multiselect?: string;
879
1103
  number?: string;
880
1104
  }
1105
+ interface V1Beta1Price {
1106
+ id?: string;
1107
+ featureId?: string;
1108
+ providerId?: string;
1109
+ name?: string;
1110
+ /** known intervals are "day", "week", "month", and "year" */
1111
+ interval?: string;
1112
+ /** usage_type known types are "licensed" and "metered" */
1113
+ usageType?: string;
1114
+ /** billing_scheme known schemes are "tiered" and "flat" */
1115
+ billingScheme?: string;
1116
+ state?: string;
1117
+ /** currency like "usd", "eur", "gbp" */
1118
+ currency?: string;
1119
+ /** @format int64 */
1120
+ amount?: string;
1121
+ /** metered_aggregate known aggregations are "sum", "last_during_period" and "max" */
1122
+ meteredAggregate?: string;
1123
+ /** tier_mode known modes are "graduated" and "volume" */
1124
+ tierMode?: string;
1125
+ metadata?: object;
1126
+ /** @format date-time */
1127
+ createdAt?: string;
1128
+ /** @format date-time */
1129
+ updatedAt?: string;
1130
+ }
881
1131
  interface V1Beta1Project {
882
1132
  id?: string;
883
1133
  name?: string;
@@ -1062,9 +1312,35 @@ interface V1Beta1ServiceUserRequestBody {
1062
1312
  title?: string;
1063
1313
  metadata?: object;
1064
1314
  }
1315
+ interface V1Beta1Subscription {
1316
+ id?: string;
1317
+ customerId?: string;
1318
+ providerId?: string;
1319
+ planId?: string;
1320
+ state?: string;
1321
+ /** @format int32 */
1322
+ trialDays?: number;
1323
+ metadata?: object;
1324
+ /** @format date-time */
1325
+ createdAt?: string;
1326
+ /** @format date-time */
1327
+ updatedAt?: string;
1328
+ /** @format date-time */
1329
+ canceledAt?: string;
1330
+ /** @format date-time */
1331
+ endedAt?: string;
1332
+ }
1333
+ interface V1Beta1UpdateBillingAccountResponse {
1334
+ /** Updated billing account */
1335
+ billingAccount?: V1Beta1BillingAccount;
1336
+ }
1065
1337
  interface V1Beta1UpdateCurrentUserResponse {
1066
1338
  user?: V1Beta1User;
1067
1339
  }
1340
+ interface V1Beta1UpdateFeatureResponse {
1341
+ /** Updated feature */
1342
+ feature?: V1Beta1Feature;
1343
+ }
1068
1344
  interface V1Beta1UpdateGroupResponse {
1069
1345
  group?: V1Beta1Group;
1070
1346
  }
@@ -1080,6 +1356,10 @@ interface V1Beta1UpdateOrganizationRoleResponse {
1080
1356
  interface V1Beta1UpdatePermissionResponse {
1081
1357
  permission?: V1Beta1Permission;
1082
1358
  }
1359
+ interface V1Beta1UpdatePlanResponse {
1360
+ /** Updated plan */
1361
+ plan?: V1Beta1Plan;
1362
+ }
1083
1363
  interface V1Beta1UpdatePolicyResponse {
1084
1364
  policies?: V1Beta1Policy[];
1085
1365
  }
@@ -1092,9 +1372,27 @@ interface V1Beta1UpdateProjectResponse {
1092
1372
  interface V1Beta1UpdateRoleResponse {
1093
1373
  role?: V1Beta1Role;
1094
1374
  }
1375
+ interface V1Beta1UpdateSubscriptionResponse {
1376
+ /** Updated subscription */
1377
+ subscription?: V1Beta1Subscription;
1378
+ }
1095
1379
  interface V1Beta1UpdateUserResponse {
1096
1380
  user?: V1Beta1User;
1097
1381
  }
1382
+ interface V1Beta1Usage {
1383
+ id?: string;
1384
+ customerId?: string;
1385
+ source?: string;
1386
+ description?: string;
1387
+ type?: string;
1388
+ /** @format int64 */
1389
+ amount?: string;
1390
+ metadata?: object;
1391
+ /** @format date-time */
1392
+ createdAt?: string;
1393
+ /** @format date-time */
1394
+ updatedAt?: string;
1395
+ }
1098
1396
  interface V1Beta1User {
1099
1397
  id?: string;
1100
1398
  /**
@@ -1150,6 +1448,16 @@ interface V1Beta1VerifyOrganizationDomainResponse {
1150
1448
  }
1151
1449
 
1152
1450
  declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDataType> {
1451
+ /**
1452
+ * @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.
1453
+ *
1454
+ * @tags Authz
1455
+ * @name AdminServiceCheckFederatedResourcePermission
1456
+ * @summary Check
1457
+ * @request POST:/v1beta1/admin/check
1458
+ * @secure
1459
+ */
1460
+ adminServiceCheckFederatedResourcePermission: (body: V1Beta1CheckFederatedResourcePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFederatedResourcePermissionResponse, RpcStatus>>;
1153
1461
  /**
1154
1462
  * @description Lists all the groups from all the organizations in a Frontier instance. It can be filtered by organization and state.
1155
1463
  *
@@ -1180,6 +1488,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1180
1488
  /** The state to filter by. It can be enabled or disabled. */
1181
1489
  state?: string;
1182
1490
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
1491
+ /**
1492
+ * @description Adds a user to a platform.
1493
+ *
1494
+ * @tags Platform
1495
+ * @name AdminServiceAddPlatformUser
1496
+ * @summary Add platform user
1497
+ * @request POST:/v1beta1/admin/platform/users
1498
+ * @secure
1499
+ */
1500
+ adminServiceAddPlatformUser: (body: V1Beta1AddPlatformUserRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
1183
1501
  /**
1184
1502
  * @description Lists all the projects from all the organizations in a Frontier instance. It can be filtered by organization and state.
1185
1503
  *
@@ -1429,7 +1747,107 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1429
1747
  */
1430
1748
  frontierServiceBatchCheckPermission: (body: V1Beta1BatchCheckPermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1BatchCheckPermissionResponse, RpcStatus>>;
1431
1749
  /**
1432
- * @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, and Frontier will the credentials from the current logged in principal from the session cookie (if any), or the client id and secret (in case of service users) or the access token (in case of human user accounts).
1750
+ * @description List all transactions of a billing account.
1751
+ *
1752
+ * @tags Transaction
1753
+ * @name FrontierServiceListBillingTransactions
1754
+ * @summary List billing transactions
1755
+ * @request GET:/v1beta1/billing/{billingId}/transactions
1756
+ * @secure
1757
+ */
1758
+ frontierServiceListBillingTransactions: (billingId: string, query?: {
1759
+ orgId?: string;
1760
+ /** @format date-time */
1761
+ since?: string;
1762
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
1763
+ /**
1764
+ * @description List all features of a platform.
1765
+ *
1766
+ * @tags Feature
1767
+ * @name FrontierServiceListFeatures
1768
+ * @summary List features
1769
+ * @request GET:/v1beta1/billing/features
1770
+ * @secure
1771
+ */
1772
+ frontierServiceListFeatures: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListFeaturesResponse, RpcStatus>>;
1773
+ /**
1774
+ * @description Create a new feature for platform.
1775
+ *
1776
+ * @tags Feature
1777
+ * @name FrontierServiceCreateFeature
1778
+ * @summary Create feature
1779
+ * @request POST:/v1beta1/billing/features
1780
+ * @secure
1781
+ */
1782
+ frontierServiceCreateFeature: (body: V1Beta1CreateFeatureRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateFeatureResponse, RpcStatus>>;
1783
+ /**
1784
+ * @description Get a feature by ID.
1785
+ *
1786
+ * @tags Feature
1787
+ * @name FrontierServiceGetFeature
1788
+ * @summary Get feature
1789
+ * @request GET:/v1beta1/billing/features/{id}
1790
+ * @secure
1791
+ */
1792
+ frontierServiceGetFeature: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetFeatureResponse, RpcStatus>>;
1793
+ /**
1794
+ * @description Update a feature by ID.
1795
+ *
1796
+ * @tags Feature
1797
+ * @name FrontierServiceUpdateFeature
1798
+ * @summary Update feature
1799
+ * @request PUT:/v1beta1/billing/features/{id}
1800
+ * @secure
1801
+ */
1802
+ frontierServiceUpdateFeature: (id: string, body: {
1803
+ /** Feature to update */
1804
+ body?: V1Beta1FeatureRequestBody | undefined;
1805
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
1806
+ /**
1807
+ * @description List all plans.
1808
+ *
1809
+ * @tags Plan
1810
+ * @name FrontierServiceListPlans
1811
+ * @summary List plans
1812
+ * @request GET:/v1beta1/billing/plans
1813
+ * @secure
1814
+ */
1815
+ frontierServiceListPlans: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlansResponse, RpcStatus>>;
1816
+ /**
1817
+ * @description Create a new plan for platform.
1818
+ *
1819
+ * @tags Plan
1820
+ * @name FrontierServiceCreatePlan
1821
+ * @summary Create plan
1822
+ * @request POST:/v1beta1/billing/plans
1823
+ * @secure
1824
+ */
1825
+ frontierServiceCreatePlan: (body: V1Beta1CreatePlanRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePlanResponse, RpcStatus>>;
1826
+ /**
1827
+ * @description Get a plan by ID.
1828
+ *
1829
+ * @tags Plan
1830
+ * @name FrontierServiceGetPlan
1831
+ * @summary Get plan
1832
+ * @request GET:/v1beta1/billing/plans/{id}
1833
+ * @secure
1834
+ */
1835
+ frontierServiceGetPlan: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPlanResponse, RpcStatus>>;
1836
+ /**
1837
+ * @description Update a plan by ID.
1838
+ *
1839
+ * @tags Plan
1840
+ * @name FrontierServiceUpdatePlan
1841
+ * @summary Update plan
1842
+ * @request PUT:/v1beta1/billing/plans/{id}
1843
+ * @secure
1844
+ */
1845
+ frontierServiceUpdatePlan: (id: string, body: {
1846
+ /** Plan to update */
1847
+ body?: V1Beta1PlanRequestBody | undefined;
1848
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
1849
+ /**
1850
+ * @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.
1433
1851
  *
1434
1852
  * @tags Authz
1435
1853
  * @name FrontierServiceCheckResourcePermission
@@ -1738,6 +2156,166 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1738
2156
  * @secure
1739
2157
  */
1740
2158
  frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2159
+ /**
2160
+ * @description List billing accounts of an organization.
2161
+ *
2162
+ * @tags Billing
2163
+ * @name FrontierServiceListBillingAccounts
2164
+ * @summary List billing accounts
2165
+ * @request GET:/v1beta1/organizations/{orgId}/billing
2166
+ * @secure
2167
+ */
2168
+ frontierServiceListBillingAccounts: (orgId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingAccountsResponse, RpcStatus>>;
2169
+ /**
2170
+ * @description Create a new billing account for an organization.
2171
+ *
2172
+ * @tags Billing
2173
+ * @name FrontierServiceCreateBillingAccount
2174
+ * @summary Create billing account
2175
+ * @request POST:/v1beta1/organizations/{orgId}/billing
2176
+ * @secure
2177
+ */
2178
+ frontierServiceCreateBillingAccount: (orgId: string, body: {
2179
+ /** Billing account to create. */
2180
+ body?: V1Beta1BillingAccountRequestBody | undefined;
2181
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
2182
+ /**
2183
+ * @description Check if a billing account is entitled to a feature.
2184
+ *
2185
+ * @tags Entitlement
2186
+ * @name FrontierServiceCheckFeatureEntitlement
2187
+ * @summary Check entitlement
2188
+ * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/check
2189
+ * @secure
2190
+ */
2191
+ frontierServiceCheckFeatureEntitlement: (orgId: string, billingId: string, body: {
2192
+ feature?: string;
2193
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, RpcStatus>>;
2194
+ /**
2195
+ * @description List all checkouts of a billing account.
2196
+ *
2197
+ * @tags Checkout
2198
+ * @name FrontierServiceListCheckouts
2199
+ * @summary List checkouts
2200
+ * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
2201
+ * @secure
2202
+ */
2203
+ frontierServiceListCheckouts: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
2204
+ /**
2205
+ * @description Checkout a feature to buy it one time or start a subscription plan on a billing account.
2206
+ *
2207
+ * @tags Checkout
2208
+ * @name FrontierServiceCreateCheckout
2209
+ * @summary Checkout a feature or subscription
2210
+ * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
2211
+ * @secure
2212
+ */
2213
+ frontierServiceCreateCheckout: (orgId: string, billingId: string, body: {
2214
+ successUrl?: string;
2215
+ cancelUrl?: string;
2216
+ /** Subscription to create */
2217
+ subscriptionBody?: V1Beta1CheckoutSubscriptionBody;
2218
+ /** Feature to buy */
2219
+ featureBody?: V1Beta1CheckoutFeatureBody;
2220
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
2221
+ /**
2222
+ * @description List subscriptions of a billing account.
2223
+ *
2224
+ * @tags Subscription
2225
+ * @name FrontierServiceListSubscriptions
2226
+ * @summary List subscriptions
2227
+ * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions
2228
+ * @secure
2229
+ */
2230
+ frontierServiceListSubscriptions: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
2231
+ /**
2232
+ * @description Get a subscription by ID.
2233
+ *
2234
+ * @tags Subscription
2235
+ * @name FrontierServiceGetSubscription
2236
+ * @summary Get subscription
2237
+ * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
2238
+ * @secure
2239
+ */
2240
+ frontierServiceGetSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
2241
+ /**
2242
+ * @description Update a subscription by ID.
2243
+ *
2244
+ * @tags Subscription
2245
+ * @name FrontierServiceUpdateSubscription
2246
+ * @summary Update subscription
2247
+ * @request PUT:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
2248
+ * @secure
2249
+ */
2250
+ frontierServiceUpdateSubscription: (orgId: string, billingId: string, id: string, body: {
2251
+ metadata?: object;
2252
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateSubscriptionResponse, RpcStatus>>;
2253
+ /**
2254
+ * @description Cancel a subscription by ID.
2255
+ *
2256
+ * @tags Subscription
2257
+ * @name FrontierServiceCancelSubscription
2258
+ * @summary Cancel subscription
2259
+ * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}/cancel
2260
+ * @secure
2261
+ */
2262
+ frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2263
+ /**
2264
+ * @description Report a new billing usage for a billing account.
2265
+ *
2266
+ * @tags Usage
2267
+ * @name FrontierServiceCreateBillingUsage
2268
+ * @summary Create billing usage
2269
+ * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/usages
2270
+ * @secure
2271
+ */
2272
+ frontierServiceCreateBillingUsage: (orgId: string, billingId: string, body: {
2273
+ /** Usage to create */
2274
+ usages?: V1Beta1Usage[];
2275
+ }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2276
+ /**
2277
+ * @description Get a billing account by ID.
2278
+ *
2279
+ * @tags Billing
2280
+ * @name FrontierServiceGetBillingAccount
2281
+ * @summary Get billing account
2282
+ * @request GET:/v1beta1/organizations/{orgId}/billing/{id}
2283
+ * @secure
2284
+ */
2285
+ frontierServiceGetBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
2286
+ /**
2287
+ * @description Delete a billing account by ID.
2288
+ *
2289
+ * @tags Billing
2290
+ * @name FrontierServiceDeleteBillingAccount
2291
+ * @summary Delete billing account
2292
+ * @request DELETE:/v1beta1/organizations/{orgId}/billing/{id}
2293
+ * @secure
2294
+ */
2295
+ frontierServiceDeleteBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2296
+ /**
2297
+ * @description Update a billing account by ID.
2298
+ *
2299
+ * @tags Billing
2300
+ * @name FrontierServiceUpdateBillingAccount
2301
+ * @summary Update billing account
2302
+ * @request PUT:/v1beta1/organizations/{orgId}/billing/{id}
2303
+ * @secure
2304
+ */
2305
+ frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
2306
+ /** Billing account to update. */
2307
+ body?: V1Beta1BillingAccountRequestBody | undefined;
2308
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, RpcStatus>>;
2309
+ /**
2310
+ * @description Get the balance of a billing account by ID.
2311
+ *
2312
+ * @tags Billing
2313
+ * @name FrontierServiceGetBillingBalance
2314
+ * @summary Get billing balance
2315
+ * @request GET:/v1beta1/organizations/{orgId}/billing/{id}/balance
2316
+ * @secure
2317
+ */
2318
+ frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, RpcStatus>>;
1741
2319
  /**
1742
2320
  * @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.
1743
2321
  *
@@ -1806,6 +2384,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1806
2384
  frontierServiceListOrganizationGroups: (orgId: string, query?: {
1807
2385
  /** The state of the group to filter by. It can be enabled or disabled. */
1808
2386
  state?: string;
2387
+ groupIds?: string[];
2388
+ withMembers?: boolean;
1809
2389
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationGroupsResponse, RpcStatus>>;
1810
2390
  /**
1811
2391
  * @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.
@@ -1826,7 +2406,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1826
2406
  * @request GET:/v1beta1/organizations/{orgId}/groups/{id}
1827
2407
  * @secure
1828
2408
  */
1829
- frontierServiceGetGroup: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, RpcStatus>>;
2409
+ frontierServiceGetGroup: (orgId: string, id: string, query?: {
2410
+ withMembers?: boolean;
2411
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, RpcStatus>>;
1830
2412
  /**
1831
2413
  * @description Delete an organization group permanently and all of its relations
1832
2414
  *
@@ -2078,12 +2660,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2078
2660
  * @description Lists all the policies from all the organizations in a Frontier instance. It can be filtered by organization, project, user, role and group.
2079
2661
  *
2080
2662
  * @tags Policy
2081
- * @name AdminServiceListPolicies
2663
+ * @name FrontierServiceListPolicies
2082
2664
  * @summary List all policies
2083
2665
  * @request GET:/v1beta1/policies
2084
2666
  * @secure
2085
2667
  */
2086
- adminServiceListPolicies: (query?: {
2668
+ frontierServiceListPolicies: (query?: {
2087
2669
  /** The organization id to filter by. */
2088
2670
  orgId?: string;
2089
2671
  /** The project id to filter by. */
@@ -2244,7 +2826,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2244
2826
  * @request GET:/v1beta1/projects/{id}/groups
2245
2827
  * @secure
2246
2828
  */
2247
- frontierServiceListProjectGroups: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, RpcStatus>>;
2829
+ frontierServiceListProjectGroups: (id: string, query?: {
2830
+ withRoles?: boolean;
2831
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, RpcStatus>>;
2248
2832
  /**
2249
2833
  * @description List a project preferences by ID.
2250
2834
  *
@@ -2793,4 +3377,4 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2793
3377
 
2794
3378
  declare const FrontierClient: typeof V1Beta1;
2795
3379
 
2796
- export { FrontierClient, ProtobufAny, ProtobufNullValue, RpcStatus, V1Beta1, V1Beta1AcceptOrganizationInvitationResponse, V1Beta1AddGroupUsersResponse, V1Beta1AddOrganizationUsersResponse, V1Beta1AuditLog, V1Beta1AuditLogActor, V1Beta1AuditLogTarget, V1Beta1AuthCallbackRequest, V1Beta1AuthCallbackResponse, V1Beta1AuthLogoutResponse, V1Beta1AuthStrategy, V1Beta1AuthTokenRequest, V1Beta1AuthTokenResponse, V1Beta1AuthenticateResponse, V1Beta1BatchCheckPermissionBody, V1Beta1BatchCheckPermissionRequest, V1Beta1BatchCheckPermissionResponse, V1Beta1BatchCheckPermissionResponsePair, 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, V1Beta1GetPermissionResponse, V1Beta1GetPolicyResponse, V1Beta1GetProjectResourceResponse, V1Beta1GetProjectResponse, V1Beta1GetRelationResponse, V1Beta1GetServiceUserKeyResponse, V1Beta1GetServiceUserResponse, V1Beta1GetUserResponse, V1Beta1Group, V1Beta1GroupRequestBody, V1Beta1Invitation, V1Beta1JSONWebKey, V1Beta1JoinOrganizationResponse, V1Beta1KeyCredential, V1Beta1ListAllOrganizationsResponse, V1Beta1ListAllUsersResponse, V1Beta1ListAuthStrategiesResponse, V1Beta1ListCurrentUserGroupsResponse, V1Beta1ListCurrentUserGroupsResponseAccessPair, V1Beta1ListCurrentUserInvitationsResponse, V1Beta1ListCurrentUserPreferencesResponse, V1Beta1ListGroupPreferencesResponse, V1Beta1ListGroupUsersResponse, V1Beta1ListGroupUsersResponseRolePair, V1Beta1ListGroupsResponse, V1Beta1ListMetaSchemasResponse, V1Beta1ListNamespacesResponse, V1Beta1ListOrganizationAdminsResponse, V1Beta1ListOrganizationAuditLogsResponse, V1Beta1ListOrganizationDomainsResponse, V1Beta1ListOrganizationGroupsResponse, V1Beta1ListOrganizationInvitationsResponse, V1Beta1ListOrganizationPreferencesResponse, V1Beta1ListOrganizationProjectsResponse, V1Beta1ListOrganizationRolesResponse, V1Beta1ListOrganizationServiceUsersResponse, V1Beta1ListOrganizationUsersResponse, V1Beta1ListOrganizationUsersResponseRolePair, V1Beta1ListOrganizationsByCurrentUserResponse, V1Beta1ListOrganizationsByUserResponse, V1Beta1ListOrganizationsResponse, V1Beta1ListPermissionsResponse, V1Beta1ListPoliciesResponse, V1Beta1ListPreferencesResponse, V1Beta1ListProjectAdminsResponse, V1Beta1ListProjectGroupsResponse, V1Beta1ListProjectPreferencesResponse, V1Beta1ListProjectResourcesResponse, V1Beta1ListProjectServiceUsersResponse, V1Beta1ListProjectServiceUsersResponseRolePair, V1Beta1ListProjectUsersResponse, V1Beta1ListProjectUsersResponseRolePair, V1Beta1ListProjectsByCurrentUserResponse, V1Beta1ListProjectsByCurrentUserResponseAccessPair, V1Beta1ListProjectsByUserResponse, 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 };
3380
+ export { BillingAccountAddress, BillingAccountBalance, FrontierClient, ProtobufAny, ProtobufNullValue, RpcStatus, V1Beta1, V1Beta1AcceptOrganizationInvitationResponse, V1Beta1AddGroupUsersResponse, V1Beta1AddOrganizationUsersResponse, V1Beta1AddPlatformUserRequest, V1Beta1AddPlatformUserResponse, V1Beta1AuditLog, V1Beta1AuditLogActor, V1Beta1AuditLogTarget, V1Beta1AuthCallbackRequest, V1Beta1AuthCallbackResponse, V1Beta1AuthLogoutResponse, V1Beta1AuthStrategy, V1Beta1AuthTokenRequest, V1Beta1AuthTokenResponse, V1Beta1AuthenticateResponse, V1Beta1BatchCheckPermissionBody, V1Beta1BatchCheckPermissionRequest, V1Beta1BatchCheckPermissionResponse, V1Beta1BatchCheckPermissionResponsePair, V1Beta1BillingAccount, V1Beta1BillingAccountRequestBody, V1Beta1BillingTransaction, V1Beta1CancelSubscriptionResponse, V1Beta1CheckFeatureEntitlementResponse, V1Beta1CheckFederatedResourcePermissionRequest, V1Beta1CheckFederatedResourcePermissionResponse, V1Beta1CheckResourcePermissionRequest, V1Beta1CheckResourcePermissionResponse, V1Beta1CheckoutFeatureBody, V1Beta1CheckoutSession, V1Beta1CheckoutSubscriptionBody, V1Beta1CreateBillingAccountResponse, V1Beta1CreateBillingUsageResponse, V1Beta1CreateCheckoutResponse, V1Beta1CreateCurrentUserPreferencesRequest, V1Beta1CreateCurrentUserPreferencesResponse, V1Beta1CreateFeatureRequest, V1Beta1CreateFeatureResponse, V1Beta1CreateGroupPreferencesResponse, V1Beta1CreateGroupResponse, V1Beta1CreateMetaSchemaResponse, V1Beta1CreateOrganizationAuditLogsResponse, V1Beta1CreateOrganizationDomainResponse, V1Beta1CreateOrganizationInvitationResponse, V1Beta1CreateOrganizationPreferencesResponse, V1Beta1CreateOrganizationResponse, V1Beta1CreateOrganizationRoleResponse, V1Beta1CreatePermissionRequest, V1Beta1CreatePermissionResponse, V1Beta1CreatePlanRequest, V1Beta1CreatePlanResponse, V1Beta1CreatePolicyResponse, V1Beta1CreatePreferencesRequest, V1Beta1CreatePreferencesResponse, V1Beta1CreateProjectPreferencesResponse, V1Beta1CreateProjectResourceResponse, V1Beta1CreateProjectResponse, V1Beta1CreateRelationResponse, V1Beta1CreateRoleResponse, V1Beta1CreateServiceUserKeyResponse, V1Beta1CreateServiceUserRequest, V1Beta1CreateServiceUserResponse, V1Beta1CreateServiceUserSecretResponse, V1Beta1CreateUserPreferencesResponse, V1Beta1CreateUserResponse, V1Beta1DeleteBillingAccountResponse, 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, V1Beta1Feature, V1Beta1FeatureRequestBody, V1Beta1GetBillingAccountResponse, V1Beta1GetBillingBalanceResponse, V1Beta1GetCurrentUserResponse, V1Beta1GetFeatureResponse, V1Beta1GetGroupResponse, V1Beta1GetJWKsResponse, V1Beta1GetMetaSchemaResponse, V1Beta1GetNamespaceResponse, V1Beta1GetOrganizationAuditLogResponse, V1Beta1GetOrganizationDomainResponse, V1Beta1GetOrganizationInvitationResponse, V1Beta1GetOrganizationResponse, V1Beta1GetOrganizationRoleResponse, V1Beta1GetPermissionResponse, V1Beta1GetPlanResponse, V1Beta1GetPolicyResponse, V1Beta1GetProjectResourceResponse, V1Beta1GetProjectResponse, V1Beta1GetRelationResponse, V1Beta1GetServiceUserKeyResponse, V1Beta1GetServiceUserResponse, V1Beta1GetSubscriptionResponse, V1Beta1GetUserResponse, V1Beta1Group, V1Beta1GroupRequestBody, V1Beta1Invitation, V1Beta1JSONWebKey, V1Beta1JoinOrganizationResponse, V1Beta1KeyCredential, V1Beta1ListAllOrganizationsResponse, V1Beta1ListAllUsersResponse, V1Beta1ListAuthStrategiesResponse, V1Beta1ListBillingAccountsResponse, V1Beta1ListBillingTransactionsResponse, V1Beta1ListCheckoutsResponse, V1Beta1ListCurrentUserGroupsResponse, V1Beta1ListCurrentUserGroupsResponseAccessPair, V1Beta1ListCurrentUserInvitationsResponse, V1Beta1ListCurrentUserPreferencesResponse, V1Beta1ListFeaturesResponse, V1Beta1ListGroupPreferencesResponse, V1Beta1ListGroupUsersResponse, V1Beta1ListGroupUsersResponseRolePair, V1Beta1ListGroupsResponse, V1Beta1ListMetaSchemasResponse, V1Beta1ListNamespacesResponse, V1Beta1ListOrganizationAdminsResponse, V1Beta1ListOrganizationAuditLogsResponse, V1Beta1ListOrganizationDomainsResponse, V1Beta1ListOrganizationGroupsResponse, V1Beta1ListOrganizationInvitationsResponse, V1Beta1ListOrganizationPreferencesResponse, V1Beta1ListOrganizationProjectsResponse, V1Beta1ListOrganizationRolesResponse, V1Beta1ListOrganizationServiceUsersResponse, V1Beta1ListOrganizationUsersResponse, V1Beta1ListOrganizationUsersResponseRolePair, V1Beta1ListOrganizationsByCurrentUserResponse, V1Beta1ListOrganizationsByUserResponse, V1Beta1ListOrganizationsResponse, V1Beta1ListPermissionsResponse, V1Beta1ListPlansResponse, V1Beta1ListPoliciesResponse, V1Beta1ListPreferencesResponse, V1Beta1ListProjectAdminsResponse, V1Beta1ListProjectGroupsResponse, V1Beta1ListProjectGroupsResponseRolePair, V1Beta1ListProjectPreferencesResponse, V1Beta1ListProjectResourcesResponse, V1Beta1ListProjectServiceUsersResponse, V1Beta1ListProjectServiceUsersResponseRolePair, V1Beta1ListProjectUsersResponse, V1Beta1ListProjectUsersResponseRolePair, V1Beta1ListProjectsByCurrentUserResponse, V1Beta1ListProjectsByCurrentUserResponseAccessPair, V1Beta1ListProjectsByUserResponse, V1Beta1ListProjectsResponse, V1Beta1ListRelationsResponse, V1Beta1ListResourcesResponse, V1Beta1ListRolesResponse, V1Beta1ListServiceUserKeysResponse, V1Beta1ListServiceUserSecretsResponse, V1Beta1ListServiceUsersResponse, V1Beta1ListSubscriptionsResponse, V1Beta1ListUserGroupsResponse, V1Beta1ListUserInvitationsResponse, V1Beta1ListUserPreferencesResponse, V1Beta1ListUsersResponse, V1Beta1MetaSchema, V1Beta1MetaSchemaRequestBody, V1Beta1Namespace, V1Beta1Organization, V1Beta1OrganizationRequestBody, V1Beta1Permission, V1Beta1PermissionRequestBody, V1Beta1Plan, V1Beta1PlanRequestBody, V1Beta1Policy, V1Beta1PolicyRequestBody, V1Beta1Preference, V1Beta1PreferenceRequestBody, V1Beta1PreferenceTrait, V1Beta1Price, V1Beta1Project, V1Beta1ProjectRequestBody, V1Beta1Relation, V1Beta1RelationRequestBody, V1Beta1RemoveGroupUserResponse, V1Beta1RemoveOrganizationUserResponse, V1Beta1Resource, V1Beta1ResourceRequestBody, V1Beta1Role, V1Beta1RoleRequestBody, V1Beta1SecretCredential, V1Beta1ServiceUser, V1Beta1ServiceUserKey, V1Beta1ServiceUserRequestBody, V1Beta1Subscription, V1Beta1UpdateBillingAccountResponse, V1Beta1UpdateCurrentUserResponse, V1Beta1UpdateFeatureResponse, V1Beta1UpdateGroupResponse, V1Beta1UpdateMetaSchemaResponse, V1Beta1UpdateOrganizationResponse, V1Beta1UpdateOrganizationRoleResponse, V1Beta1UpdatePermissionResponse, V1Beta1UpdatePlanResponse, V1Beta1UpdatePolicyResponse, V1Beta1UpdateProjectResourceResponse, V1Beta1UpdateProjectResponse, V1Beta1UpdateRoleResponse, V1Beta1UpdateSubscriptionResponse, V1Beta1UpdateUserResponse, V1Beta1Usage, V1Beta1User, V1Beta1UserRequestBody, V1Beta1VerifyOrganizationDomainResponse };