@raystack/frontier 0.8.11 → 0.8.15

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
@@ -62,7 +62,7 @@ interface BillingAccountAddress {
62
62
  line2?: string;
63
63
  city?: string;
64
64
  state?: string;
65
- postalCode?: string;
65
+ postal_code?: string;
66
66
  country?: string;
67
67
  }
68
68
  interface BillingAccountBalance {
@@ -70,7 +70,7 @@ interface BillingAccountBalance {
70
70
  amount?: string;
71
71
  currency?: string;
72
72
  /** @format date-time */
73
- updatedAt?: string;
73
+ updated_at?: string;
74
74
  }
75
75
  interface ProtobufAny {
76
76
  '@type'?: string;
@@ -99,9 +99,9 @@ type V1Beta1AddGroupUsersResponse = object;
99
99
  type V1Beta1AddOrganizationUsersResponse = object;
100
100
  interface V1Beta1AddPlatformUserRequest {
101
101
  /** The user id to add to the platform. */
102
- userId?: string;
102
+ user_id?: string;
103
103
  /** The service user id to add to the platform. */
104
- serviceuserId?: string;
104
+ serviceuser_id?: string;
105
105
  /** The relation to add as in the platform. It can be admin or member. */
106
106
  relation: string;
107
107
  }
@@ -128,7 +128,7 @@ interface V1Beta1AuditLog {
128
128
  * @format date-time
129
129
  * @example "2023-06-07T05:39:56.961Z"
130
130
  */
131
- createdAt?: string;
131
+ created_at?: string;
132
132
  }
133
133
  interface V1Beta1AuditLogActor {
134
134
  id?: string;
@@ -142,7 +142,7 @@ interface V1Beta1AuditLogTarget {
142
142
  }
143
143
  interface V1Beta1AuthCallbackRequest {
144
144
  /** strategy_name will not be set for oidc but can be utilized for methods like email magic links */
145
- strategyName?: string;
145
+ strategy_name?: string;
146
146
  /** for oidc & magic links */
147
147
  state?: string;
148
148
  code?: string;
@@ -150,7 +150,7 @@ interface V1Beta1AuthCallbackRequest {
150
150
  * state_options has additional configurations for the authentication flow at hand
151
151
  * for example, in case of passkey, it has challenge and public key
152
152
  */
153
- stateOptions?: object;
153
+ state_options?: object;
154
154
  }
155
155
  type V1Beta1AuthCallbackResponse = object;
156
156
  type V1Beta1AuthLogoutResponse = object;
@@ -164,16 +164,16 @@ interface V1Beta1AuthTokenRequest {
164
164
  * - client_credentials
165
165
  * - urn:ietf:params:oauth:grant-type:jwt-bearer
166
166
  */
167
- grantType?: string;
167
+ grant_type?: string;
168
168
  /** client_id and client_secret are required for grant_type client_credentials */
169
- clientId?: string;
170
- clientSecret?: string;
169
+ client_id?: string;
170
+ client_secret?: string;
171
171
  /** assertion is required for grant_type urn:ietf:params:oauth:grant-type:jwt-bearer */
172
172
  assertion?: string;
173
173
  }
174
174
  interface V1Beta1AuthTokenResponse {
175
- accessToken?: string;
176
- tokenType?: string;
175
+ access_token?: string;
176
+ token_type?: string;
177
177
  }
178
178
  interface V1Beta1AuthenticateResponse {
179
179
  /** endpoint specifies the url to redirect user for starting authentication flow */
@@ -181,7 +181,7 @@ interface V1Beta1AuthenticateResponse {
181
181
  /** state is used for resuming authentication flow in applicable strategies */
182
182
  state?: string;
183
183
  /** state_options has additional configurations for the authentication flow at hand */
184
- stateOptions?: object;
184
+ state_options?: object;
185
185
  }
186
186
  interface V1Beta1BatchCheckPermissionBody {
187
187
  /** the permission name to check. <br/> *Example:* `get` or `list` */
@@ -201,20 +201,20 @@ interface V1Beta1BatchCheckPermissionResponsePair {
201
201
  }
202
202
  interface V1Beta1BillingAccount {
203
203
  id?: string;
204
- orgId?: string;
204
+ org_id?: string;
205
205
  name?: string;
206
206
  email?: string;
207
207
  phone?: string;
208
208
  address?: BillingAccountAddress;
209
- providerId?: string;
209
+ provider_id?: string;
210
210
  provider?: string;
211
211
  currency?: string;
212
212
  state?: string;
213
213
  metadata?: object;
214
214
  /** @format date-time */
215
- createdAt?: string;
215
+ created_at?: string;
216
216
  /** @format date-time */
217
- updatedAt?: string;
217
+ updated_at?: string;
218
218
  }
219
219
  interface V1Beta1BillingAccountRequestBody {
220
220
  name?: string;
@@ -226,7 +226,7 @@ interface V1Beta1BillingAccountRequestBody {
226
226
  }
227
227
  interface V1Beta1BillingTransaction {
228
228
  id?: string;
229
- customerId?: string;
229
+ customer_id?: string;
230
230
  source?: string;
231
231
  /** @format int64 */
232
232
  amount?: string;
@@ -234,9 +234,9 @@ interface V1Beta1BillingTransaction {
234
234
  description?: string;
235
235
  metadata?: object;
236
236
  /** @format date-time */
237
- createdAt?: string;
237
+ created_at?: string;
238
238
  /** @format date-time */
239
- updatedAt?: string;
239
+ updated_at?: string;
240
240
  }
241
241
  type V1Beta1CancelSubscriptionResponse = object;
242
242
  interface V1Beta1CheckFeatureEntitlementResponse {
@@ -255,9 +255,9 @@ interface V1Beta1CheckFederatedResourcePermissionResponse {
255
255
  }
256
256
  interface V1Beta1CheckResourcePermissionRequest {
257
257
  /** Deprecated. Use `resource` field instead. */
258
- objectId?: string;
258
+ object_id?: string;
259
259
  /** Deprecated. Use `resource` field instead. */
260
- objectNamespace?: string;
260
+ object_namespace?: string;
261
261
  /** the permission name to check. <br/> *Example:* `get`, `list`, `compute.instance.create` */
262
262
  permission: string;
263
263
  /** `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` */
@@ -266,36 +266,36 @@ interface V1Beta1CheckResourcePermissionRequest {
266
266
  interface V1Beta1CheckResourcePermissionResponse {
267
267
  status?: boolean;
268
268
  }
269
- interface V1Beta1CheckoutFeatureBody {
270
- feature?: string;
269
+ interface V1Beta1CheckoutProductBody {
270
+ product?: string;
271
271
  }
272
272
  interface V1Beta1CheckoutSession {
273
273
  id?: string;
274
- checkoutUrl?: string;
275
- successUrl?: string;
276
- cancelUrl?: string;
274
+ checkout_url?: string;
275
+ success_url?: string;
276
+ cancel_url?: string;
277
277
  state?: string;
278
278
  metadata?: object;
279
279
  /** @format date-time */
280
- createdAt?: string;
280
+ created_at?: string;
281
281
  /** @format date-time */
282
- updatedAt?: string;
282
+ updated_at?: string;
283
283
  /** @format date-time */
284
- expireAt?: string;
284
+ expire_at?: string;
285
285
  }
286
286
  interface V1Beta1CheckoutSubscriptionBody {
287
287
  plan?: string;
288
288
  /** @format int32 */
289
- trailDays?: number;
289
+ trail_days?: number;
290
290
  }
291
291
  interface V1Beta1CreateBillingAccountResponse {
292
292
  /** Created billing account */
293
- billingAccount?: V1Beta1BillingAccount;
293
+ billing_account?: V1Beta1BillingAccount;
294
294
  }
295
295
  type V1Beta1CreateBillingUsageResponse = object;
296
296
  interface V1Beta1CreateCheckoutResponse {
297
297
  /** Checkout session */
298
- checkoutSession?: V1Beta1CheckoutSession;
298
+ checkout_session?: V1Beta1CheckoutSession;
299
299
  }
300
300
  interface V1Beta1CreateCurrentUserPreferencesRequest {
301
301
  bodies?: V1Beta1PreferenceRequestBody[];
@@ -303,14 +303,6 @@ interface V1Beta1CreateCurrentUserPreferencesRequest {
303
303
  interface V1Beta1CreateCurrentUserPreferencesResponse {
304
304
  preferences?: V1Beta1Preference[];
305
305
  }
306
- interface V1Beta1CreateFeatureRequest {
307
- /** Feature to create */
308
- body?: V1Beta1FeatureRequestBody;
309
- }
310
- interface V1Beta1CreateFeatureResponse {
311
- /** Created feature */
312
- feature?: V1Beta1Feature;
313
- }
314
306
  interface V1Beta1CreateGroupPreferencesResponse {
315
307
  preferences?: V1Beta1Preference[];
316
308
  }
@@ -359,6 +351,14 @@ interface V1Beta1CreatePreferencesRequest {
359
351
  interface V1Beta1CreatePreferencesResponse {
360
352
  preference?: V1Beta1Preference[];
361
353
  }
354
+ interface V1Beta1CreateProductRequest {
355
+ /** Product to create */
356
+ body?: V1Beta1ProductRequestBody;
357
+ }
358
+ interface V1Beta1CreateProductResponse {
359
+ /** Created product */
360
+ product?: V1Beta1Product;
361
+ }
362
362
  interface V1Beta1CreateProjectPreferencesResponse {
363
363
  preferences?: V1Beta1Preference[];
364
364
  }
@@ -380,7 +380,7 @@ interface V1Beta1CreateServiceUserKeyResponse {
380
380
  interface V1Beta1CreateServiceUserRequest {
381
381
  body?: V1Beta1ServiceUserRequestBody;
382
382
  /** The organization ID to which the service user belongs to. */
383
- orgId: string;
383
+ org_id: string;
384
384
  }
385
385
  interface V1Beta1CreateServiceUserResponse {
386
386
  serviceuser?: V1Beta1ServiceUser;
@@ -396,7 +396,7 @@ interface V1Beta1CreateUserResponse {
396
396
  }
397
397
  interface V1Beta1DelegatedCheckoutResponse {
398
398
  /** Checkout session */
399
- checkoutSession?: V1Beta1CheckoutSession;
399
+ checkout_session?: V1Beta1CheckoutSession;
400
400
  }
401
401
  type V1Beta1DeleteBillingAccountResponse = object;
402
402
  type V1Beta1DeleteGroupResponse = object;
@@ -437,7 +437,7 @@ interface V1Beta1Domain {
437
437
  * The organization id
438
438
  * @example "123e4567-e89b-12d3-a456-426655440000"
439
439
  */
440
- orgId?: string;
440
+ org_id?: string;
441
441
  /**
442
442
  * The dns TXT record token to verify the domain
443
443
  * @example "_frontier-domain-verification=LB6U2lSQgGS55HOy6kpWFqkngRC8TMEjyrakfmYC2D0s+nfy/WkFSg=="
@@ -453,13 +453,13 @@ interface V1Beta1Domain {
453
453
  * @format date-time
454
454
  * @example "2023-06-07T05:39:56.961Z"
455
455
  */
456
- createdAt?: string;
456
+ created_at?: string;
457
457
  /**
458
458
  * The time the org domain was updated
459
459
  * @format date-time
460
460
  * @example "2023-06-07T05:39:56.961Z"
461
461
  */
462
- updatedAt?: string;
462
+ updated_at?: string;
463
463
  }
464
464
  type V1Beta1EnableGroupResponse = object;
465
465
  type V1Beta1EnableOrganizationResponse = object;
@@ -468,32 +468,18 @@ type V1Beta1EnableUserResponse = object;
468
468
  interface V1Beta1Feature {
469
469
  id?: string;
470
470
  name?: string;
471
- title?: string;
472
- description?: string;
473
- planIds?: string[];
474
- state?: string;
475
- prices?: V1Beta1Price[];
476
- /** @format int64 */
477
- creditAmount?: string;
471
+ product_ids?: string[];
478
472
  metadata?: object;
479
473
  /** @format date-time */
480
- createdAt?: string;
474
+ created_at?: string;
481
475
  /** @format date-time */
482
- updatedAt?: string;
483
- }
484
- interface V1Beta1FeatureRequestBody {
485
- name?: string;
486
- title?: string;
487
- description?: string;
488
- planId?: string;
489
- prices?: V1Beta1Price[];
490
- /** @format int64 */
491
- creditAmount?: string;
492
- metadata?: object;
476
+ updated_at?: string;
493
477
  }
494
478
  interface V1Beta1GetBillingAccountResponse {
495
479
  /** Billing account */
496
- billingAccount?: V1Beta1BillingAccount;
480
+ billing_account?: V1Beta1BillingAccount;
481
+ /** List of payment methods */
482
+ payment_methods?: V1Beta1PaymentMethod[];
497
483
  }
498
484
  interface V1Beta1GetBillingBalanceResponse {
499
485
  /** Balance of the billing account */
@@ -503,10 +489,6 @@ interface V1Beta1GetCurrentUserResponse {
503
489
  user?: V1Beta1User;
504
490
  serviceuser?: V1Beta1ServiceUser;
505
491
  }
506
- interface V1Beta1GetFeatureResponse {
507
- /** Feature */
508
- feature?: V1Beta1Feature;
509
- }
510
492
  interface V1Beta1GetGroupResponse {
511
493
  group?: V1Beta1Group;
512
494
  }
@@ -545,6 +527,10 @@ interface V1Beta1GetPlanResponse {
545
527
  interface V1Beta1GetPolicyResponse {
546
528
  policy?: V1Beta1Policy;
547
529
  }
530
+ interface V1Beta1GetProductResponse {
531
+ /** Product */
532
+ product?: V1Beta1Product;
533
+ }
548
534
  interface V1Beta1GetProjectResourceResponse {
549
535
  resource?: V1Beta1Resource;
550
536
  }
@@ -563,6 +549,10 @@ interface V1Beta1GetServiceUserResponse {
563
549
  interface V1Beta1GetSubscriptionResponse {
564
550
  subscription?: V1Beta1Subscription;
565
551
  }
552
+ interface V1Beta1GetUpcomingInvoiceResponse {
553
+ /** Upcoming invoice */
554
+ invoice?: V1Beta1Invoice;
555
+ }
566
556
  interface V1Beta1GetUserResponse {
567
557
  user?: V1Beta1User;
568
558
  }
@@ -570,21 +560,27 @@ interface V1Beta1Group {
570
560
  id?: string;
571
561
  name?: string;
572
562
  title?: string;
573
- orgId?: string;
563
+ org_id?: string;
574
564
  metadata?: object;
575
565
  /**
576
566
  * The time the group was created.
577
567
  * @format date-time
578
568
  * @example "2023-06-07T05:39:56.961Z"
579
569
  */
580
- createdAt?: string;
570
+ created_at?: string;
581
571
  /**
582
572
  * The time the group was last updated.
583
573
  * @format date-time
584
574
  * @example "2023-06-07T05:39:56.961Z"
585
575
  */
586
- updatedAt?: string;
576
+ updated_at?: string;
587
577
  users?: V1Beta1User[];
578
+ /**
579
+ * The number of members explicitly added in the project.
580
+ * @format int32
581
+ * @example 2
582
+ */
583
+ members_count?: number;
588
584
  }
589
585
  interface V1Beta1GroupRequestBody {
590
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. */
@@ -604,17 +600,17 @@ interface V1Beta1Invitation {
604
600
  * The user email of the invited user.
605
601
  * @example "john.doe@raystack.org"
606
602
  */
607
- userId?: string;
603
+ user_id?: string;
608
604
  /**
609
605
  * The organization id to which the user is invited.
610
606
  * @example "b9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
611
607
  */
612
- orgId?: string;
608
+ org_id?: string;
613
609
  /**
614
610
  * The list of group ids to which the user is invited.
615
611
  * @example "c9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
616
612
  */
617
- groupIds?: string[];
613
+ group_ids?: string[];
618
614
  /**
619
615
  * The metadata of the invitation.
620
616
  * @example {"key":"value"}
@@ -625,18 +621,41 @@ interface V1Beta1Invitation {
625
621
  * @format date-time
626
622
  * @example "2023-06-07T05:39:56.961Z"
627
623
  */
628
- createdAt?: string;
624
+ created_at?: string;
629
625
  /**
630
626
  * The time when the invitation expires.
631
627
  * @format date-time
632
628
  * @example "2023-06-07T05:39:56.961Z"
633
629
  */
634
- expiresAt?: string;
630
+ expires_at?: string;
635
631
  /**
636
632
  * The list of role ids to which the user is invited in an organization.
637
633
  * @example "d9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
638
634
  */
639
- roleIds?: string[];
635
+ role_ids?: string[];
636
+ }
637
+ interface V1Beta1Invoice {
638
+ id?: string;
639
+ customer_id?: string;
640
+ provider_id?: string;
641
+ state?: string;
642
+ currency?: string;
643
+ /** @format int64 */
644
+ amount?: string;
645
+ hosted_url?: string;
646
+ /**
647
+ * The date on which payment for this invoice is due
648
+ * @format date-time
649
+ */
650
+ due_date?: string;
651
+ /**
652
+ * The date when this invoice is in effect.
653
+ * @format date-time
654
+ */
655
+ effective_at?: string;
656
+ metadata?: object;
657
+ /** @format date-time */
658
+ created_at?: string;
640
659
  }
641
660
  /** JSON Web Key as specified in RFC 7517 */
642
661
  interface V1Beta1JSONWebKey {
@@ -663,9 +682,9 @@ type V1Beta1JoinOrganizationResponse = object;
663
682
  interface V1Beta1KeyCredential {
664
683
  type?: string;
665
684
  kid?: string;
666
- principalId?: string;
685
+ principal_id?: string;
667
686
  /** RSA private key as string */
668
- privateKey?: string;
687
+ private_key?: string;
669
688
  }
670
689
  interface V1Beta1ListAllOrganizationsResponse {
671
690
  organizations?: V1Beta1Organization[];
@@ -680,7 +699,7 @@ interface V1Beta1ListAuthStrategiesResponse {
680
699
  }
681
700
  interface V1Beta1ListBillingAccountsResponse {
682
701
  /** List of billing accounts */
683
- billingAccounts?: V1Beta1BillingAccount[];
702
+ billing_accounts?: V1Beta1BillingAccount[];
684
703
  }
685
704
  interface V1Beta1ListBillingTransactionsResponse {
686
705
  /** List of transactions */
@@ -688,14 +707,14 @@ interface V1Beta1ListBillingTransactionsResponse {
688
707
  }
689
708
  interface V1Beta1ListCheckoutsResponse {
690
709
  /** List of checkouts */
691
- checkoutSessions?: V1Beta1CheckoutSession[];
710
+ checkout_sessions?: V1Beta1CheckoutSession[];
692
711
  }
693
712
  interface V1Beta1ListCurrentUserGroupsResponse {
694
713
  groups?: V1Beta1Group[];
695
- accessPairs?: V1Beta1ListCurrentUserGroupsResponseAccessPair[];
714
+ access_pairs?: V1Beta1ListCurrentUserGroupsResponseAccessPair[];
696
715
  }
697
716
  interface V1Beta1ListCurrentUserGroupsResponseAccessPair {
698
- groupId?: string;
717
+ group_id?: string;
699
718
  permissions?: string[];
700
719
  }
701
720
  interface V1Beta1ListCurrentUserInvitationsResponse {
@@ -705,24 +724,24 @@ interface V1Beta1ListCurrentUserInvitationsResponse {
705
724
  interface V1Beta1ListCurrentUserPreferencesResponse {
706
725
  preferences?: V1Beta1Preference[];
707
726
  }
708
- interface V1Beta1ListFeaturesResponse {
709
- /** List of features */
710
- features?: V1Beta1Feature[];
711
- }
712
727
  interface V1Beta1ListGroupPreferencesResponse {
713
728
  preferences?: V1Beta1Preference[];
714
729
  }
715
730
  interface V1Beta1ListGroupUsersResponse {
716
731
  users?: V1Beta1User[];
717
- rolePairs?: V1Beta1ListGroupUsersResponseRolePair[];
732
+ role_pairs?: V1Beta1ListGroupUsersResponseRolePair[];
718
733
  }
719
734
  interface V1Beta1ListGroupUsersResponseRolePair {
720
- userId?: string;
735
+ user_id?: string;
721
736
  roles?: V1Beta1Role[];
722
737
  }
723
738
  interface V1Beta1ListGroupsResponse {
724
739
  groups?: V1Beta1Group[];
725
740
  }
741
+ interface V1Beta1ListInvoicesResponse {
742
+ /** List of invoices */
743
+ invoices?: V1Beta1Invoice[];
744
+ }
726
745
  interface V1Beta1ListMetaSchemasResponse {
727
746
  metaschemas?: V1Beta1MetaSchema[];
728
747
  }
@@ -758,19 +777,19 @@ interface V1Beta1ListOrganizationServiceUsersResponse {
758
777
  }
759
778
  interface V1Beta1ListOrganizationUsersResponse {
760
779
  users?: V1Beta1User[];
761
- rolePairs?: V1Beta1ListOrganizationUsersResponseRolePair[];
780
+ role_pairs?: V1Beta1ListOrganizationUsersResponseRolePair[];
762
781
  }
763
782
  interface V1Beta1ListOrganizationUsersResponseRolePair {
764
- userId?: string;
783
+ user_id?: string;
765
784
  roles?: V1Beta1Role[];
766
785
  }
767
786
  interface V1Beta1ListOrganizationsByCurrentUserResponse {
768
787
  organizations?: V1Beta1Organization[];
769
- joinableViaDomain?: V1Beta1Organization[];
788
+ joinable_via_domain?: V1Beta1Organization[];
770
789
  }
771
790
  interface V1Beta1ListOrganizationsByUserResponse {
772
791
  organizations?: V1Beta1Organization[];
773
- joinableViaDomain?: V1Beta1Organization[];
792
+ joinable_via_domain?: V1Beta1Organization[];
774
793
  }
775
794
  interface V1Beta1ListOrganizationsResponse {
776
795
  organizations?: V1Beta1Organization[];
@@ -782,21 +801,29 @@ interface V1Beta1ListPlansResponse {
782
801
  /** List of plans */
783
802
  plans?: V1Beta1Plan[];
784
803
  }
804
+ interface V1Beta1ListPlatformUsersResponse {
805
+ users?: V1Beta1User[];
806
+ serviceusers?: V1Beta1ServiceUser[];
807
+ }
785
808
  interface V1Beta1ListPoliciesResponse {
786
809
  policies?: V1Beta1Policy[];
787
810
  }
788
811
  interface V1Beta1ListPreferencesResponse {
789
812
  preferences?: V1Beta1Preference[];
790
813
  }
814
+ interface V1Beta1ListProductsResponse {
815
+ /** List of products */
816
+ products?: V1Beta1Product[];
817
+ }
791
818
  interface V1Beta1ListProjectAdminsResponse {
792
819
  users?: V1Beta1User[];
793
820
  }
794
821
  interface V1Beta1ListProjectGroupsResponse {
795
822
  groups?: V1Beta1Group[];
796
- rolePairs?: V1Beta1ListProjectGroupsResponseRolePair[];
823
+ role_pairs?: V1Beta1ListProjectGroupsResponseRolePair[];
797
824
  }
798
825
  interface V1Beta1ListProjectGroupsResponseRolePair {
799
- groupId?: string;
826
+ group_id?: string;
800
827
  roles?: V1Beta1Role[];
801
828
  }
802
829
  interface V1Beta1ListProjectPreferencesResponse {
@@ -807,26 +834,26 @@ interface V1Beta1ListProjectResourcesResponse {
807
834
  }
808
835
  interface V1Beta1ListProjectServiceUsersResponse {
809
836
  serviceusers?: V1Beta1ServiceUser[];
810
- rolePairs?: V1Beta1ListProjectServiceUsersResponseRolePair[];
837
+ role_pairs?: V1Beta1ListProjectServiceUsersResponseRolePair[];
811
838
  }
812
839
  interface V1Beta1ListProjectServiceUsersResponseRolePair {
813
- serviceuserId?: string;
840
+ serviceuser_id?: string;
814
841
  roles?: V1Beta1Role[];
815
842
  }
816
843
  interface V1Beta1ListProjectUsersResponse {
817
844
  users?: V1Beta1User[];
818
- rolePairs?: V1Beta1ListProjectUsersResponseRolePair[];
845
+ role_pairs?: V1Beta1ListProjectUsersResponseRolePair[];
819
846
  }
820
847
  interface V1Beta1ListProjectUsersResponseRolePair {
821
- userId?: string;
848
+ user_id?: string;
822
849
  roles?: V1Beta1Role[];
823
850
  }
824
851
  interface V1Beta1ListProjectsByCurrentUserResponse {
825
852
  projects?: V1Beta1Project[];
826
- accessPairs?: V1Beta1ListProjectsByCurrentUserResponseAccessPair[];
853
+ access_pairs?: V1Beta1ListProjectsByCurrentUserResponseAccessPair[];
827
854
  }
828
855
  interface V1Beta1ListProjectsByCurrentUserResponseAccessPair {
829
- projectId?: string;
856
+ project_id?: string;
830
857
  permissions?: string[];
831
858
  }
832
859
  interface V1Beta1ListProjectsByUserResponse {
@@ -889,13 +916,13 @@ interface V1Beta1MetaSchema {
889
916
  * @format date-time
890
917
  * @example "2023-06-07T05:39:56.961Z"
891
918
  */
892
- createdAt?: string;
919
+ created_at?: string;
893
920
  /**
894
921
  * The time when the metaschema was updated.
895
922
  * @format date-time
896
923
  * @example "2023-06-07T05:39:56.961Z"
897
924
  */
898
- updatedAt?: string;
925
+ updated_at?: string;
899
926
  }
900
927
  interface V1Beta1MetaSchemaRequestBody {
901
928
  /** The name of the metaschema. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores. */
@@ -913,13 +940,13 @@ interface V1Beta1Namespace {
913
940
  * @format date-time
914
941
  * @example "2023-06-07T05:39:56.961Z"
915
942
  */
916
- createdAt?: string;
943
+ created_at?: string;
917
944
  /**
918
945
  * The time the namespace was last updated.
919
946
  * @format date-time
920
947
  * @example "2023-06-07T05:39:56.961Z"
921
948
  */
922
- updatedAt?: string;
949
+ updated_at?: string;
923
950
  }
924
951
  interface V1Beta1Organization {
925
952
  id?: string;
@@ -931,13 +958,13 @@ interface V1Beta1Organization {
931
958
  * @format date-time
932
959
  * @example "2023-06-07T05:39:56.961Z"
933
960
  */
934
- createdAt?: string;
961
+ created_at?: string;
935
962
  /**
936
963
  * The time the organization was last updated.
937
964
  * @format date-time
938
965
  * @example "2023-06-07T05:39:56.961Z"
939
966
  */
940
- updatedAt?: string;
967
+ updated_at?: string;
941
968
  /**
942
969
  * The state of the organization (enabled or disabled).
943
970
  * @example "enabled"
@@ -959,6 +986,21 @@ interface V1Beta1OrganizationRequestBody {
959
986
  */
960
987
  avatar?: string;
961
988
  }
989
+ interface V1Beta1PaymentMethod {
990
+ id?: string;
991
+ customer_id?: string;
992
+ provider_id?: string;
993
+ type?: string;
994
+ card_brand?: string;
995
+ card_last4?: string;
996
+ /** @format int64 */
997
+ card_expiry_month?: string;
998
+ /** @format int64 */
999
+ card_expiry_year?: string;
1000
+ metadata?: object;
1001
+ /** @format date-time */
1002
+ created_at?: string;
1003
+ }
962
1004
  interface V1Beta1Permission {
963
1005
  id?: string;
964
1006
  name?: string;
@@ -968,13 +1010,13 @@ interface V1Beta1Permission {
968
1010
  * @format date-time
969
1011
  * @example "2023-06-07T05:39:56.961Z"
970
1012
  */
971
- createdAt?: string;
1013
+ created_at?: string;
972
1014
  /**
973
1015
  * The time the permission was last updated.
974
1016
  * @format date-time
975
1017
  * @example "2023-06-07T05:39:56.961Z"
976
1018
  */
977
- updatedAt?: string;
1019
+ updated_at?: string;
978
1020
  namespace?: string;
979
1021
  metadata?: object;
980
1022
  /**
@@ -1008,20 +1050,20 @@ interface V1Beta1Plan {
1008
1050
  name?: string;
1009
1051
  title?: string;
1010
1052
  description?: string;
1011
- features?: V1Beta1Feature[];
1053
+ products?: V1Beta1Product[];
1012
1054
  /** known intervals are "day", "week", "month", and "year" */
1013
1055
  interval?: string;
1014
1056
  metadata?: object;
1015
1057
  /** @format date-time */
1016
- createdAt?: string;
1058
+ created_at?: string;
1017
1059
  /** @format date-time */
1018
- updatedAt?: string;
1060
+ updated_at?: string;
1019
1061
  }
1020
1062
  interface V1Beta1PlanRequestBody {
1021
1063
  name?: string;
1022
1064
  title?: string;
1023
1065
  description?: string;
1024
- features?: V1Beta1Feature[];
1066
+ products?: V1Beta1Product[];
1025
1067
  /** known intervals are "day", "week", "month", and "year" */
1026
1068
  interval?: string;
1027
1069
  metadata?: object;
@@ -1034,14 +1076,14 @@ interface V1Beta1Policy {
1034
1076
  * @format date-time
1035
1077
  * @example "2023-06-07T05:39:56.961Z"
1036
1078
  */
1037
- createdAt?: string;
1079
+ created_at?: string;
1038
1080
  /**
1039
1081
  * The time the policy was last updated.
1040
1082
  * @format date-time
1041
1083
  * @example "2023-06-07T05:39:56.961Z"
1042
1084
  */
1043
- updatedAt?: string;
1044
- roleId?: string;
1085
+ updated_at?: string;
1086
+ role_id?: string;
1045
1087
  /** namespace:uuid */
1046
1088
  resource?: string;
1047
1089
  /** namespace:uuid */
@@ -1050,7 +1092,7 @@ interface V1Beta1Policy {
1050
1092
  }
1051
1093
  interface V1Beta1PolicyRequestBody {
1052
1094
  /** unique id of the role to which policy is assigned */
1053
- roleId: string;
1095
+ role_id: string;
1054
1096
  /** The title can contain any UTF-8 character, used to provide a human-readable name for the policy. Can also be left empty. <br/> *Example:* `Policy title` */
1055
1097
  title?: string;
1056
1098
  /** The resource to which policy is assigned in this format `namespace:uuid`. <br/> *Example:* `app/guardian:70f69c3a-334b-4f25-90b8-4d4f3be6b8e2` */
@@ -1064,20 +1106,20 @@ interface V1Beta1Preference {
1064
1106
  id?: string;
1065
1107
  name?: string;
1066
1108
  value?: string;
1067
- resourceId?: string;
1068
- resourceType?: string;
1109
+ resource_id?: string;
1110
+ resource_type?: string;
1069
1111
  /**
1070
1112
  * The time when the preference was created.
1071
1113
  * @format date-time
1072
1114
  * @example "2023-06-07T05:39:56.961Z"
1073
1115
  */
1074
- createdAt?: string;
1116
+ created_at?: string;
1075
1117
  /**
1076
1118
  * The time when the preference was updated.
1077
1119
  * @format date-time
1078
1120
  * @example "2023-06-07T05:39:56.961Z"
1079
1121
  */
1080
- updatedAt?: string;
1122
+ updated_at?: string;
1081
1123
  }
1082
1124
  interface V1Beta1PreferenceRequestBody {
1083
1125
  name?: string;
@@ -1088,16 +1130,16 @@ interface V1Beta1PreferenceRequestBody {
1088
1130
  * it explains what preferences are available for a resource
1089
1131
  */
1090
1132
  interface V1Beta1PreferenceTrait {
1091
- resourceType?: string;
1133
+ resource_type?: string;
1092
1134
  name?: string;
1093
1135
  title?: string;
1094
1136
  description?: string;
1095
- longDescription?: string;
1137
+ long_description?: string;
1096
1138
  heading?: string;
1097
- subHeading?: string;
1139
+ sub_heading?: string;
1098
1140
  breadcrumb?: string;
1099
1141
  default?: string;
1100
- inputHints?: string;
1142
+ input_hints?: string;
1101
1143
  text?: string;
1102
1144
  textarea?: string;
1103
1145
  select?: string;
@@ -1108,48 +1150,84 @@ interface V1Beta1PreferenceTrait {
1108
1150
  }
1109
1151
  interface V1Beta1Price {
1110
1152
  id?: string;
1111
- featureId?: string;
1112
- providerId?: string;
1153
+ product_id?: string;
1154
+ provider_id?: string;
1113
1155
  name?: string;
1114
1156
  /** known intervals are "day", "week", "month", and "year" */
1115
1157
  interval?: string;
1116
1158
  /** usage_type known types are "licensed" and "metered" */
1117
- usageType?: string;
1159
+ usage_type?: string;
1118
1160
  /** billing_scheme known schemes are "tiered" and "flat" */
1119
- billingScheme?: string;
1161
+ billing_scheme?: string;
1120
1162
  state?: string;
1121
1163
  /** currency like "usd", "eur", "gbp" */
1122
1164
  currency?: string;
1123
1165
  /** @format int64 */
1124
1166
  amount?: string;
1125
1167
  /** metered_aggregate known aggregations are "sum", "last_during_period" and "max" */
1126
- meteredAggregate?: string;
1168
+ metered_aggregate?: string;
1127
1169
  /** tier_mode known modes are "graduated" and "volume" */
1128
- tierMode?: string;
1170
+ tier_mode?: string;
1171
+ metadata?: object;
1172
+ /** @format date-time */
1173
+ created_at?: string;
1174
+ /** @format date-time */
1175
+ updated_at?: string;
1176
+ }
1177
+ interface V1Beta1Product {
1178
+ id?: string;
1179
+ name?: string;
1180
+ title?: string;
1181
+ description?: string;
1182
+ plan_ids?: string[];
1183
+ state?: string;
1184
+ prices?: V1Beta1Price[];
1185
+ /** @format int64 */
1186
+ credit_amount?: string;
1187
+ behavior?: string;
1188
+ features?: V1Beta1Feature[];
1129
1189
  metadata?: object;
1130
1190
  /** @format date-time */
1131
- createdAt?: string;
1191
+ created_at?: string;
1132
1192
  /** @format date-time */
1133
- updatedAt?: string;
1193
+ updated_at?: string;
1194
+ }
1195
+ interface V1Beta1ProductRequestBody {
1196
+ name?: string;
1197
+ title?: string;
1198
+ description?: string;
1199
+ plan_id?: string;
1200
+ prices?: V1Beta1Price[];
1201
+ /** @format int64 */
1202
+ credit_amount?: string;
1203
+ behavior?: string;
1204
+ features?: V1Beta1Feature[];
1205
+ metadata?: object;
1134
1206
  }
1135
1207
  interface V1Beta1Project {
1136
1208
  id?: string;
1137
1209
  name?: string;
1138
1210
  title?: string;
1139
- orgId?: string;
1211
+ org_id?: string;
1140
1212
  metadata?: object;
1141
1213
  /**
1142
1214
  * The time the project was created.
1143
1215
  * @format date-time
1144
1216
  * @example "2023-06-07T05:39:56.961Z"
1145
1217
  */
1146
- createdAt?: string;
1218
+ created_at?: string;
1147
1219
  /**
1148
1220
  * The time the project was last updated.
1149
1221
  * @format date-time
1150
1222
  * @example "2023-06-07T05:39:56.961Z"
1151
1223
  */
1152
- updatedAt?: string;
1224
+ updated_at?: string;
1225
+ /**
1226
+ * The number of members explicitly added in the project.
1227
+ * @format int32
1228
+ * @example 2
1229
+ */
1230
+ members_count?: number;
1153
1231
  }
1154
1232
  interface V1Beta1ProjectRequestBody {
1155
1233
  /** The name of the project. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores.<br/> *Example:* `frontier-playground` */
@@ -1159,7 +1237,7 @@ interface V1Beta1ProjectRequestBody {
1159
1237
  /** Metadata object for projects that can hold key value pairs defined in Project Metaschema. */
1160
1238
  metadata?: object;
1161
1239
  /** unique id of the organization to which project belongs */
1162
- orgId: string;
1240
+ org_id: string;
1163
1241
  }
1164
1242
  interface V1Beta1Relation {
1165
1243
  id?: string;
@@ -1168,14 +1246,14 @@ interface V1Beta1Relation {
1168
1246
  * @format date-time
1169
1247
  * @example "2023-06-07T05:39:56.961Z"
1170
1248
  */
1171
- createdAt?: string;
1249
+ created_at?: string;
1172
1250
  /**
1173
1251
  * The time the relation was last updated.
1174
1252
  * @format date-time
1175
1253
  * @example "2023-06-07T05:39:56.961Z"
1176
1254
  */
1177
- updatedAt?: string;
1178
- subjectSubRelation?: string;
1255
+ updated_at?: string;
1256
+ subject_sub_relation?: string;
1179
1257
  relation?: string;
1180
1258
  /** objectnamespace:id */
1181
1259
  object?: string;
@@ -1188,7 +1266,7 @@ interface V1Beta1RelationRequestBody {
1188
1266
  /** subjectnamespace:uuid */
1189
1267
  subject?: string;
1190
1268
  relation?: string;
1191
- subjectSubRelation?: string;
1269
+ subject_sub_relation?: string;
1192
1270
  }
1193
1271
  type V1Beta1RemoveGroupUserResponse = object;
1194
1272
  type V1Beta1RemoveOrganizationUserResponse = object;
@@ -1201,15 +1279,15 @@ interface V1Beta1Resource {
1201
1279
  * @format date-time
1202
1280
  * @example "2023-06-07T05:39:56.961Z"
1203
1281
  */
1204
- createdAt?: string;
1282
+ created_at?: string;
1205
1283
  /**
1206
1284
  * The time the resource was last updated.
1207
1285
  * @format date-time
1208
1286
  * @example "2023-06-07T05:39:56.961Z"
1209
1287
  */
1210
- updatedAt?: string;
1288
+ updated_at?: string;
1211
1289
  urn?: string;
1212
- projectId?: string;
1290
+ project_id?: string;
1213
1291
  namespace?: string;
1214
1292
  principal?: string;
1215
1293
  metadata?: object;
@@ -1240,14 +1318,14 @@ interface V1Beta1Role {
1240
1318
  * @format date-time
1241
1319
  * @example "2023-06-07T05:39:56.961Z"
1242
1320
  */
1243
- createdAt?: string;
1321
+ created_at?: string;
1244
1322
  /**
1245
1323
  * The time the role was last updated.
1246
1324
  * @format date-time
1247
1325
  * @example "2023-06-07T05:39:56.961Z"
1248
1326
  */
1249
- updatedAt?: string;
1250
- orgId?: string;
1327
+ updated_at?: string;
1328
+ org_id?: string;
1251
1329
  state?: string;
1252
1330
  scopes?: string[];
1253
1331
  }
@@ -1271,7 +1349,7 @@ interface V1Beta1SecretCredential {
1271
1349
  * @format date-time
1272
1350
  * @example "2023-06-07T05:39:56.961Z"
1273
1351
  */
1274
- createdAt?: string;
1352
+ created_at?: string;
1275
1353
  }
1276
1354
  interface V1Beta1ServiceUser {
1277
1355
  id?: string;
@@ -1286,27 +1364,27 @@ interface V1Beta1ServiceUser {
1286
1364
  * @format date-time
1287
1365
  * @example "2023-06-07T05:39:56.961Z"
1288
1366
  */
1289
- createdAt?: string;
1367
+ created_at?: string;
1290
1368
  /**
1291
1369
  * The time the user was last updated.
1292
1370
  * @format date-time
1293
1371
  * @example "2023-06-07T05:39:56.961Z"
1294
1372
  */
1295
- updatedAt?: string;
1373
+ updated_at?: string;
1296
1374
  state?: string;
1297
- orgId?: string;
1375
+ org_id?: string;
1298
1376
  }
1299
1377
  interface V1Beta1ServiceUserKey {
1300
1378
  id?: string;
1301
1379
  title?: string;
1302
- principalId?: string;
1303
- publicKey?: string;
1380
+ principal_id?: string;
1381
+ public_key?: string;
1304
1382
  /**
1305
1383
  * The time when the secret was created.
1306
1384
  * @format date-time
1307
1385
  * @example "2023-06-07T05:39:56.961Z"
1308
1386
  */
1309
- createdAt?: string;
1387
+ created_at?: string;
1310
1388
  }
1311
1389
  interface V1Beta1ServiceUserRequestBody {
1312
1390
  /**
@@ -1318,33 +1396,29 @@ interface V1Beta1ServiceUserRequestBody {
1318
1396
  }
1319
1397
  interface V1Beta1Subscription {
1320
1398
  id?: string;
1321
- customerId?: string;
1322
- providerId?: string;
1323
- planId?: string;
1399
+ customer_id?: string;
1400
+ provider_id?: string;
1401
+ plan_id?: string;
1324
1402
  state?: string;
1325
1403
  /** @format int32 */
1326
- trialDays?: number;
1404
+ trial_days?: number;
1327
1405
  metadata?: object;
1328
1406
  /** @format date-time */
1329
- createdAt?: string;
1407
+ created_at?: string;
1330
1408
  /** @format date-time */
1331
- updatedAt?: string;
1409
+ updated_at?: string;
1332
1410
  /** @format date-time */
1333
- canceledAt?: string;
1411
+ canceled_at?: string;
1334
1412
  /** @format date-time */
1335
- endedAt?: string;
1413
+ ended_at?: string;
1336
1414
  }
1337
1415
  interface V1Beta1UpdateBillingAccountResponse {
1338
1416
  /** Updated billing account */
1339
- billingAccount?: V1Beta1BillingAccount;
1417
+ billing_account?: V1Beta1BillingAccount;
1340
1418
  }
1341
1419
  interface V1Beta1UpdateCurrentUserResponse {
1342
1420
  user?: V1Beta1User;
1343
1421
  }
1344
- interface V1Beta1UpdateFeatureResponse {
1345
- /** Updated feature */
1346
- feature?: V1Beta1Feature;
1347
- }
1348
1422
  interface V1Beta1UpdateGroupResponse {
1349
1423
  group?: V1Beta1Group;
1350
1424
  }
@@ -1367,6 +1441,10 @@ interface V1Beta1UpdatePlanResponse {
1367
1441
  interface V1Beta1UpdatePolicyResponse {
1368
1442
  policies?: V1Beta1Policy[];
1369
1443
  }
1444
+ interface V1Beta1UpdateProductResponse {
1445
+ /** Updated product */
1446
+ product?: V1Beta1Product;
1447
+ }
1370
1448
  interface V1Beta1UpdateProjectResourceResponse {
1371
1449
  resource?: V1Beta1Resource;
1372
1450
  }
@@ -1385,7 +1463,7 @@ interface V1Beta1UpdateUserResponse {
1385
1463
  }
1386
1464
  interface V1Beta1Usage {
1387
1465
  id?: string;
1388
- customerId?: string;
1466
+ customer_id?: string;
1389
1467
  source?: string;
1390
1468
  description?: string;
1391
1469
  type?: string;
@@ -1393,9 +1471,9 @@ interface V1Beta1Usage {
1393
1471
  amount?: string;
1394
1472
  metadata?: object;
1395
1473
  /** @format date-time */
1396
- createdAt?: string;
1474
+ created_at?: string;
1397
1475
  /** @format date-time */
1398
- updatedAt?: string;
1476
+ updated_at?: string;
1399
1477
  }
1400
1478
  interface V1Beta1User {
1401
1479
  id?: string;
@@ -1417,13 +1495,13 @@ interface V1Beta1User {
1417
1495
  * @format date-time
1418
1496
  * @example "2023-06-07T05:39:56.961Z"
1419
1497
  */
1420
- createdAt?: string;
1498
+ created_at?: string;
1421
1499
  /**
1422
1500
  * The time the user was last updated.
1423
1501
  * @format date-time
1424
1502
  * @example "2023-06-07T05:39:56.961Z"
1425
1503
  */
1426
- updatedAt?: string;
1504
+ updated_at?: string;
1427
1505
  /**
1428
1506
  * The state of the user (enabled or disabled).
1429
1507
  * @example "enabled"
@@ -1473,7 +1551,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1473
1551
  */
1474
1552
  adminServiceListGroups: (query?: {
1475
1553
  /** The organization id to filter by. */
1476
- orgId?: string;
1554
+ org_id?: string;
1477
1555
  /** The state to filter by. It can be enabled or disabled. */
1478
1556
  state?: string;
1479
1557
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupsResponse, RpcStatus>>;
@@ -1488,27 +1566,37 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1488
1566
  */
1489
1567
  adminServiceListAllOrganizations: (query?: {
1490
1568
  /** The user id to filter by. */
1491
- userId?: string;
1569
+ user_id?: string;
1492
1570
  /** The state to filter by. It can be enabled or disabled. */
1493
1571
  state?: string;
1494
1572
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
1495
1573
  /**
1496
- * @description Checkout a feature to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
1574
+ * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
1497
1575
  *
1498
1576
  * @tags Checkout
1499
1577
  * @name AdminServiceDelegatedCheckout
1500
- * @summary Checkout a feature or subscription
1501
- * @request POST:/v1beta1/admin/organizations/{orgId}/billing/{billingId}/checkouts
1578
+ * @summary Checkout a product or subscription
1579
+ * @request POST:/v1beta1/admin/organizations/{org_id}/billing/{billing_id}/checkouts
1502
1580
  * @secure
1503
1581
  */
1504
1582
  adminServiceDelegatedCheckout: (orgId: string, billingId: string, body: {
1505
1583
  /** Subscription to create */
1506
- subscriptionBody?: V1Beta1CheckoutSubscriptionBody;
1507
- /** Feature to buy */
1508
- featureBody?: V1Beta1CheckoutFeatureBody;
1584
+ subscription_body?: V1Beta1CheckoutSubscriptionBody;
1585
+ /** Product to buy */
1586
+ product_body?: V1Beta1CheckoutProductBody;
1509
1587
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, RpcStatus>>;
1510
1588
  /**
1511
- * @description Adds a user to a platform.
1589
+ * @description Lists all the users added to the platform.
1590
+ *
1591
+ * @tags Platform
1592
+ * @name AdminServiceListPlatformUsers
1593
+ * @summary List platform users
1594
+ * @request GET:/v1beta1/admin/platform/users
1595
+ * @secure
1596
+ */
1597
+ adminServiceListPlatformUsers: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlatformUsersResponse, RpcStatus>>;
1598
+ /**
1599
+ * @description Adds a user to the platform.
1512
1600
  *
1513
1601
  * @tags Platform
1514
1602
  * @name AdminServiceAddPlatformUser
@@ -1528,7 +1616,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1528
1616
  */
1529
1617
  adminServiceListProjects: (query?: {
1530
1618
  /** The organization id to filter by. */
1531
- orgId?: string;
1619
+ org_id?: string;
1532
1620
  /** The state to filter by. It can be enabled or disabled. */
1533
1621
  state?: string;
1534
1622
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsResponse, RpcStatus>>;
@@ -1541,7 +1629,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1541
1629
  * @request GET:/v1beta1/admin/relations
1542
1630
  * @secure
1543
1631
  */
1544
- adminServiceListRelations: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRelationsResponse, RpcStatus>>;
1632
+ adminServiceListRelations: (query?: {
1633
+ /** The subject to filter by. */
1634
+ subject?: string;
1635
+ /** The object to filter by. */
1636
+ object?: string;
1637
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRelationsResponse, RpcStatus>>;
1545
1638
  /**
1546
1639
  * @description Lists all the resources from all the organizations in a Frontier instance. It can be filtered by user, project, organization and namespace.
1547
1640
  *
@@ -1553,11 +1646,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1553
1646
  */
1554
1647
  adminServiceListResources: (query?: {
1555
1648
  /** The user id to filter by. */
1556
- userId?: string;
1649
+ user_id?: string;
1557
1650
  /** The project id to filter by. */
1558
- projectId?: string;
1651
+ project_id?: string;
1559
1652
  /** The organization id to filter by. */
1560
- organizationId?: string;
1653
+ organization_id?: string;
1561
1654
  /** The namespace to filter by. */
1562
1655
  namespace?: string;
1563
1656
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListResourcesResponse, RpcStatus>>;
@@ -1575,18 +1668,18 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1575
1668
  * The maximum number of users to return per page. The default is 50.
1576
1669
  * @format int32
1577
1670
  */
1578
- pageSize?: number;
1671
+ page_size?: number;
1579
1672
  /**
1580
1673
  * The page number to return. The default is 1.
1581
1674
  * @format int32
1582
1675
  */
1583
- pageNum?: number;
1676
+ page_num?: number;
1584
1677
  /** The keyword to search for. It can be a user's name, email,metadata or id. */
1585
1678
  keyword?: string;
1586
1679
  /** The organization id to filter by. */
1587
- orgId?: string;
1680
+ org_id?: string;
1588
1681
  /** The group id to filter by. */
1589
- groupId?: string;
1682
+ group_id?: string;
1590
1683
  /** The state to filter by. It can be enabled or disabled. */
1591
1684
  state?: string;
1592
1685
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllUsersResponse, RpcStatus>>;
@@ -1611,7 +1704,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1611
1704
  */
1612
1705
  frontierServiceAuthCallback: (query?: {
1613
1706
  /** strategy_name will not be set for oidc but can be utilized for methods like email magic links */
1614
- strategyName?: string;
1707
+ strategy_name?: string;
1615
1708
  /** for oidc & magic links */
1616
1709
  state?: string;
1617
1710
  code?: string;
@@ -1619,7 +1712,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1619
1712
  * state_options has additional configurations for the authentication flow at hand
1620
1713
  * for example, in case of passkey, it has challenge and public key
1621
1714
  */
1622
- stateOptions?: object;
1715
+ state_options?: object;
1623
1716
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
1624
1717
  /**
1625
1718
  * @description Callback from a strategy. This is the endpoint where the strategy will redirect the user after successful authentication. This endpoint will be called with the code and state query parameters. The code will be used to get the access token from the strategy and the state will be used to get the return_to url from the session and redirect the user to that url.
@@ -1667,7 +1760,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1667
1760
  * @tags Authn
1668
1761
  * @name FrontierServiceAuthenticate
1669
1762
  * @summary Authenticate with a strategy
1670
- * @request GET:/v1beta1/auth/register/{strategyName}
1763
+ * @request GET:/v1beta1/auth/register/{strategy_name}
1671
1764
  * @secure
1672
1765
  */
1673
1766
  frontierServiceAuthenticate: (strategyName: string, query?: {
@@ -1678,7 +1771,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1678
1771
  *
1679
1772
  * If set to true, location header will be set for redirect to start auth flow
1680
1773
  */
1681
- redirectOnstart?: boolean;
1774
+ redirect_onstart?: boolean;
1682
1775
  /**
1683
1776
  * by default, after successful authentication(flow completes) no operation will be performed,
1684
1777
  * to apply redirection in case of browsers, provide an url that will be used
@@ -1687,7 +1780,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1687
1780
  *
1688
1781
  * URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
1689
1782
  */
1690
- returnTo?: string;
1783
+ return_to?: string;
1691
1784
  /**
1692
1785
  * email of the user for magic links
1693
1786
  *
@@ -1703,7 +1796,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1703
1796
  *
1704
1797
  * 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`
1705
1798
  */
1706
- callbackUrl?: string;
1799
+ callback_url?: string;
1707
1800
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
1708
1801
  /**
1709
1802
  * @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.
@@ -1711,7 +1804,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1711
1804
  * @tags Authn
1712
1805
  * @name FrontierServiceAuthenticate2
1713
1806
  * @summary Authenticate with a strategy
1714
- * @request POST:/v1beta1/auth/register/{strategyName}
1807
+ * @request POST:/v1beta1/auth/register/{strategy_name}
1715
1808
  * @secure
1716
1809
  */
1717
1810
  frontierServiceAuthenticate2: (strategyName: string, body: {
@@ -1721,7 +1814,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1721
1814
  * also be returned as endpoint in response anyway
1722
1815
  * If set to true, location header will be set for redirect to start auth flow
1723
1816
  */
1724
- redirectOnstart?: boolean;
1817
+ redirect_onstart?: boolean;
1725
1818
  /**
1726
1819
  * by default, after successful authentication(flow completes) no operation will be performed,
1727
1820
  * to apply redirection in case of browsers, provide an url that will be used
@@ -1729,7 +1822,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1729
1822
  * return_to should be one of the allowed urls configured at instance level
1730
1823
  * URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
1731
1824
  */
1732
- returnTo?: string;
1825
+ return_to?: string;
1733
1826
  /**
1734
1827
  * email of the user for magic links
1735
1828
  * Email of the user to authenticate. Used for magic links.<br/> *Example:*`example@acme.org`
@@ -1743,7 +1836,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1743
1836
  * callback_url should be one of the allowed urls configured at instance level
1744
1837
  * 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`
1745
1838
  */
1746
- callbackUrl?: string;
1839
+ callback_url?: string;
1747
1840
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
1748
1841
  /**
1749
1842
  * @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.
@@ -1765,63 +1858,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1765
1858
  * @secure
1766
1859
  */
1767
1860
  frontierServiceBatchCheckPermission: (body: V1Beta1BatchCheckPermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1BatchCheckPermissionResponse, RpcStatus>>;
1768
- /**
1769
- * @description List all transactions of a billing account.
1770
- *
1771
- * @tags Transaction
1772
- * @name FrontierServiceListBillingTransactions
1773
- * @summary List billing transactions
1774
- * @request GET:/v1beta1/billing/{billingId}/transactions
1775
- * @secure
1776
- */
1777
- frontierServiceListBillingTransactions: (billingId: string, query?: {
1778
- orgId?: string;
1779
- /** @format date-time */
1780
- since?: string;
1781
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
1782
- /**
1783
- * @description List all features of a platform.
1784
- *
1785
- * @tags Feature
1786
- * @name FrontierServiceListFeatures
1787
- * @summary List features
1788
- * @request GET:/v1beta1/billing/features
1789
- * @secure
1790
- */
1791
- frontierServiceListFeatures: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListFeaturesResponse, RpcStatus>>;
1792
- /**
1793
- * @description Create a new feature for platform.
1794
- *
1795
- * @tags Feature
1796
- * @name FrontierServiceCreateFeature
1797
- * @summary Create feature
1798
- * @request POST:/v1beta1/billing/features
1799
- * @secure
1800
- */
1801
- frontierServiceCreateFeature: (body: V1Beta1CreateFeatureRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateFeatureResponse, RpcStatus>>;
1802
- /**
1803
- * @description Get a feature by ID.
1804
- *
1805
- * @tags Feature
1806
- * @name FrontierServiceGetFeature
1807
- * @summary Get feature
1808
- * @request GET:/v1beta1/billing/features/{id}
1809
- * @secure
1810
- */
1811
- frontierServiceGetFeature: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetFeatureResponse, RpcStatus>>;
1812
- /**
1813
- * @description Update a feature by ID.
1814
- *
1815
- * @tags Feature
1816
- * @name FrontierServiceUpdateFeature
1817
- * @summary Update feature
1818
- * @request PUT:/v1beta1/billing/features/{id}
1819
- * @secure
1820
- */
1821
- frontierServiceUpdateFeature: (id: string, body: {
1822
- /** Feature to update */
1823
- body?: V1Beta1FeatureRequestBody | undefined;
1824
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
1825
1861
  /**
1826
1862
  * @description List all plans.
1827
1863
  *
@@ -1865,6 +1901,49 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1865
1901
  /** Plan to update */
1866
1902
  body?: V1Beta1PlanRequestBody | undefined;
1867
1903
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
1904
+ /**
1905
+ * @description List all products of a platform.
1906
+ *
1907
+ * @tags Product
1908
+ * @name FrontierServiceListProducts
1909
+ * @summary List products
1910
+ * @request GET:/v1beta1/billing/products
1911
+ * @secure
1912
+ */
1913
+ frontierServiceListProducts: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProductsResponse, RpcStatus>>;
1914
+ /**
1915
+ * @description Create a new product for platform.
1916
+ *
1917
+ * @tags Product
1918
+ * @name FrontierServiceCreateProduct
1919
+ * @summary Create product
1920
+ * @request POST:/v1beta1/billing/products
1921
+ * @secure
1922
+ */
1923
+ frontierServiceCreateProduct: (body: V1Beta1CreateProductRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProductResponse, RpcStatus>>;
1924
+ /**
1925
+ * @description Get a product by ID.
1926
+ *
1927
+ * @tags Product
1928
+ * @name FrontierServiceGetProduct
1929
+ * @summary Get product
1930
+ * @request GET:/v1beta1/billing/products/{id}
1931
+ * @secure
1932
+ */
1933
+ frontierServiceGetProduct: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProductResponse, RpcStatus>>;
1934
+ /**
1935
+ * @description Update a product by ID.
1936
+ *
1937
+ * @tags Product
1938
+ * @name FrontierServiceUpdateProduct
1939
+ * @summary Update product
1940
+ * @request PUT:/v1beta1/billing/products/{id}
1941
+ * @secure
1942
+ */
1943
+ frontierServiceUpdateProduct: (id: string, body: {
1944
+ /** Product to update */
1945
+ body?: V1Beta1ProductRequestBody | undefined;
1946
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
1868
1947
  /**
1869
1948
  * @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.
1870
1949
  *
@@ -1967,48 +2046,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1967
2046
  * @secure
1968
2047
  */
1969
2048
  frontierServiceGetNamespace: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetNamespaceResponse, RpcStatus>>;
1970
- /**
1971
- * @description Returns a list of audit logs of an organization in Frontier.
1972
- *
1973
- * @tags AuditLog
1974
- * @name FrontierServiceListOrganizationAuditLogs
1975
- * @summary List audit logs
1976
- * @request GET:/v1beta1/organization/{orgId}/auditlogs
1977
- * @secure
1978
- */
1979
- frontierServiceListOrganizationAuditLogs: (orgId: string, query?: {
1980
- source?: string;
1981
- action?: string;
1982
- /**
1983
- * start_time and end_time are inclusive
1984
- * @format date-time
1985
- */
1986
- startTime?: string;
1987
- /** @format date-time */
1988
- endTime?: string;
1989
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAuditLogsResponse, RpcStatus>>;
1990
- /**
1991
- * @description Create new audit logs in a batch.
1992
- *
1993
- * @tags AuditLog
1994
- * @name FrontierServiceCreateOrganizationAuditLogs
1995
- * @summary Create audit log
1996
- * @request POST:/v1beta1/organization/{orgId}/auditlogs
1997
- * @secure
1998
- */
1999
- frontierServiceCreateOrganizationAuditLogs: (orgId: string, body: {
2000
- logs?: V1Beta1AuditLog[];
2001
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2002
- /**
2003
- * @description Get an audit log by ID.
2004
- *
2005
- * @tags AuditLog
2006
- * @name FrontierServiceGetOrganizationAuditLog
2007
- * @summary Get audit log
2008
- * @request GET:/v1beta1/organization/{orgId}/auditlogs/{id}
2009
- * @secure
2010
- */
2011
- frontierServiceGetOrganizationAuditLog: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationAuditLogResponse, RpcStatus>>;
2012
2049
  /**
2013
2050
  * @description Returns a list of organizations. It can be filtered by userID or organization state.
2014
2051
  *
@@ -2020,7 +2057,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2020
2057
  */
2021
2058
  frontierServiceListOrganizations: (query?: {
2022
2059
  /** The user ID to filter by. It can be used to list all the organizations that the user is a member of. Otherwise, all the organizations in the Frontier instance will be listed. */
2023
- userId?: string;
2060
+ user_id?: string;
2024
2061
  /** The state to filter by. It can be `enabled` or `disabled`. */
2025
2062
  state?: string;
2026
2063
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsResponse, RpcStatus>>;
@@ -2128,6 +2165,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2128
2165
  frontierServiceListOrganizationProjects: (id: string, query?: {
2129
2166
  /** Filter projects by state. If not specified, all projects are returned. <br/> *Possible values:* `enabled` or `disabled` */
2130
2167
  state?: string;
2168
+ with_member_count?: boolean;
2131
2169
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationProjectsResponse, RpcStatus>>;
2132
2170
  /**
2133
2171
  * No description
@@ -2149,8 +2187,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2149
2187
  * @secure
2150
2188
  */
2151
2189
  frontierServiceListOrganizationUsers: (id: string, query?: {
2152
- permissionFilter?: string;
2153
- withRoles?: boolean;
2190
+ permission_filter?: string;
2191
+ with_roles?: boolean;
2154
2192
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationUsersResponse, RpcStatus>>;
2155
2193
  /**
2156
2194
  * @description Add a user to an organization. A user must exists in Frontier before adding it to an org. This request will fail if the user doesn't exists
@@ -2163,7 +2201,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2163
2201
  */
2164
2202
  frontierServiceAddOrganizationUsers: (id: string, body: {
2165
2203
  /** List of user IDs to be added to the organization. */
2166
- userIds?: string[];
2204
+ user_ids?: string[];
2167
2205
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2168
2206
  /**
2169
2207
  * @description Remove a user from an organization
@@ -2171,17 +2209,59 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2171
2209
  * @tags Organization
2172
2210
  * @name FrontierServiceRemoveOrganizationUser
2173
2211
  * @summary Remove organization user
2174
- * @request DELETE:/v1beta1/organizations/{id}/users/{userId}
2212
+ * @request DELETE:/v1beta1/organizations/{id}/users/{user_id}
2175
2213
  * @secure
2176
2214
  */
2177
2215
  frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2216
+ /**
2217
+ * @description Returns a list of audit logs of an organization in Frontier.
2218
+ *
2219
+ * @tags AuditLog
2220
+ * @name FrontierServiceListOrganizationAuditLogs
2221
+ * @summary List audit logs
2222
+ * @request GET:/v1beta1/organizations/{org_id}/auditlogs
2223
+ * @secure
2224
+ */
2225
+ frontierServiceListOrganizationAuditLogs: (orgId: string, query?: {
2226
+ source?: string;
2227
+ action?: string;
2228
+ /**
2229
+ * start_time and end_time are inclusive
2230
+ * @format date-time
2231
+ */
2232
+ start_time?: string;
2233
+ /** @format date-time */
2234
+ end_time?: string;
2235
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAuditLogsResponse, RpcStatus>>;
2236
+ /**
2237
+ * @description Create new audit logs in a batch.
2238
+ *
2239
+ * @tags AuditLog
2240
+ * @name FrontierServiceCreateOrganizationAuditLogs
2241
+ * @summary Create audit log
2242
+ * @request POST:/v1beta1/organizations/{org_id}/auditlogs
2243
+ * @secure
2244
+ */
2245
+ frontierServiceCreateOrganizationAuditLogs: (orgId: string, body: {
2246
+ logs?: V1Beta1AuditLog[];
2247
+ }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2248
+ /**
2249
+ * @description Get an audit log by ID.
2250
+ *
2251
+ * @tags AuditLog
2252
+ * @name FrontierServiceGetOrganizationAuditLog
2253
+ * @summary Get audit log
2254
+ * @request GET:/v1beta1/organizations/{org_id}/auditlogs/{id}
2255
+ * @secure
2256
+ */
2257
+ frontierServiceGetOrganizationAuditLog: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationAuditLogResponse, RpcStatus>>;
2178
2258
  /**
2179
2259
  * @description List billing accounts of an organization.
2180
2260
  *
2181
2261
  * @tags Billing
2182
2262
  * @name FrontierServiceListBillingAccounts
2183
2263
  * @summary List billing accounts
2184
- * @request GET:/v1beta1/organizations/{orgId}/billing
2264
+ * @request GET:/v1beta1/organizations/{org_id}/billing
2185
2265
  * @secure
2186
2266
  */
2187
2267
  frontierServiceListBillingAccounts: (orgId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingAccountsResponse, RpcStatus>>;
@@ -2191,7 +2271,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2191
2271
  * @tags Billing
2192
2272
  * @name FrontierServiceCreateBillingAccount
2193
2273
  * @summary Create billing account
2194
- * @request POST:/v1beta1/organizations/{orgId}/billing
2274
+ * @request POST:/v1beta1/organizations/{org_id}/billing
2195
2275
  * @secure
2196
2276
  */
2197
2277
  frontierServiceCreateBillingAccount: (orgId: string, body: {
@@ -2204,10 +2284,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2204
2284
  * @tags Entitlement
2205
2285
  * @name FrontierServiceCheckFeatureEntitlement
2206
2286
  * @summary Check entitlement
2207
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/check
2287
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/check
2208
2288
  * @secure
2209
2289
  */
2210
2290
  frontierServiceCheckFeatureEntitlement: (orgId: string, billingId: string, body: {
2291
+ /** feature or product name */
2211
2292
  feature?: string;
2212
2293
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, RpcStatus>>;
2213
2294
  /**
@@ -2216,34 +2297,54 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2216
2297
  * @tags Checkout
2217
2298
  * @name FrontierServiceListCheckouts
2218
2299
  * @summary List checkouts
2219
- * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
2300
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts
2220
2301
  * @secure
2221
2302
  */
2222
2303
  frontierServiceListCheckouts: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
2223
2304
  /**
2224
- * @description Checkout a feature to buy it one time or start a subscription plan on a billing account.
2305
+ * @description Checkout a product to buy it one time or start a subscription plan on a billing account.
2225
2306
  *
2226
2307
  * @tags Checkout
2227
2308
  * @name FrontierServiceCreateCheckout
2228
- * @summary Checkout a feature or subscription
2229
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
2309
+ * @summary Checkout a product or subscription
2310
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts
2230
2311
  * @secure
2231
2312
  */
2232
2313
  frontierServiceCreateCheckout: (orgId: string, billingId: string, body: {
2233
- successUrl?: string;
2234
- cancelUrl?: string;
2314
+ success_url?: string;
2315
+ cancel_url?: string;
2235
2316
  /** Subscription to create */
2236
- subscriptionBody?: V1Beta1CheckoutSubscriptionBody;
2237
- /** Feature to buy */
2238
- featureBody?: V1Beta1CheckoutFeatureBody;
2317
+ subscription_body?: V1Beta1CheckoutSubscriptionBody;
2318
+ /** Product to buy */
2319
+ product_body?: V1Beta1CheckoutProductBody;
2239
2320
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
2321
+ /**
2322
+ * @description List all invoices of a billing account.
2323
+ *
2324
+ * @tags Invoice
2325
+ * @name FrontierServiceListInvoices
2326
+ * @summary List invoices
2327
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/invoices
2328
+ * @secure
2329
+ */
2330
+ frontierServiceListInvoices: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListInvoicesResponse, RpcStatus>>;
2331
+ /**
2332
+ * @description Get the upcoming invoice of a billing account.
2333
+ *
2334
+ * @tags Invoice
2335
+ * @name FrontierServiceGetUpcomingInvoice
2336
+ * @summary Get upcoming invoice
2337
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/invoices/upcoming
2338
+ * @secure
2339
+ */
2340
+ frontierServiceGetUpcomingInvoice: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, RpcStatus>>;
2240
2341
  /**
2241
2342
  * @description List subscriptions of a billing account.
2242
2343
  *
2243
2344
  * @tags Subscription
2244
2345
  * @name FrontierServiceListSubscriptions
2245
2346
  * @summary List subscriptions
2246
- * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions
2347
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions
2247
2348
  * @secure
2248
2349
  */
2249
2350
  frontierServiceListSubscriptions: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
@@ -2253,7 +2354,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2253
2354
  * @tags Subscription
2254
2355
  * @name FrontierServiceGetSubscription
2255
2356
  * @summary Get subscription
2256
- * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
2357
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}
2257
2358
  * @secure
2258
2359
  */
2259
2360
  frontierServiceGetSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
@@ -2263,7 +2364,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2263
2364
  * @tags Subscription
2264
2365
  * @name FrontierServiceUpdateSubscription
2265
2366
  * @summary Update subscription
2266
- * @request PUT:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
2367
+ * @request PUT:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}
2267
2368
  * @secure
2268
2369
  */
2269
2370
  frontierServiceUpdateSubscription: (orgId: string, billingId: string, id: string, body: {
@@ -2275,17 +2376,30 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2275
2376
  * @tags Subscription
2276
2377
  * @name FrontierServiceCancelSubscription
2277
2378
  * @summary Cancel subscription
2278
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}/cancel
2379
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}/cancel
2279
2380
  * @secure
2280
2381
  */
2281
2382
  frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2383
+ /**
2384
+ * @description List all transactions of a billing account.
2385
+ *
2386
+ * @tags Transaction
2387
+ * @name FrontierServiceListBillingTransactions
2388
+ * @summary List billing transactions
2389
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/transactions
2390
+ * @secure
2391
+ */
2392
+ frontierServiceListBillingTransactions: (orgId: string, billingId: string, query?: {
2393
+ /** @format date-time */
2394
+ since?: string;
2395
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
2282
2396
  /**
2283
2397
  * @description Report a new billing usage for a billing account.
2284
2398
  *
2285
2399
  * @tags Usage
2286
2400
  * @name FrontierServiceCreateBillingUsage
2287
2401
  * @summary Create billing usage
2288
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/usages
2402
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/usages
2289
2403
  * @secure
2290
2404
  */
2291
2405
  frontierServiceCreateBillingUsage: (orgId: string, billingId: string, body: {
@@ -2298,17 +2412,19 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2298
2412
  * @tags Billing
2299
2413
  * @name FrontierServiceGetBillingAccount
2300
2414
  * @summary Get billing account
2301
- * @request GET:/v1beta1/organizations/{orgId}/billing/{id}
2415
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{id}
2302
2416
  * @secure
2303
2417
  */
2304
- frontierServiceGetBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
2418
+ frontierServiceGetBillingAccount: (orgId: string, id: string, query?: {
2419
+ with_payment_methods?: boolean;
2420
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
2305
2421
  /**
2306
2422
  * @description Delete a billing account by ID.
2307
2423
  *
2308
2424
  * @tags Billing
2309
2425
  * @name FrontierServiceDeleteBillingAccount
2310
2426
  * @summary Delete billing account
2311
- * @request DELETE:/v1beta1/organizations/{orgId}/billing/{id}
2427
+ * @request DELETE:/v1beta1/organizations/{org_id}/billing/{id}
2312
2428
  * @secure
2313
2429
  */
2314
2430
  frontierServiceDeleteBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2318,7 +2434,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2318
2434
  * @tags Billing
2319
2435
  * @name FrontierServiceUpdateBillingAccount
2320
2436
  * @summary Update billing account
2321
- * @request PUT:/v1beta1/organizations/{orgId}/billing/{id}
2437
+ * @request PUT:/v1beta1/organizations/{org_id}/billing/{id}
2322
2438
  * @secure
2323
2439
  */
2324
2440
  frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
@@ -2331,7 +2447,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2331
2447
  * @tags Billing
2332
2448
  * @name FrontierServiceGetBillingBalance
2333
2449
  * @summary Get billing balance
2334
- * @request GET:/v1beta1/organizations/{orgId}/billing/{id}/balance
2450
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{id}/balance
2335
2451
  * @secure
2336
2452
  */
2337
2453
  frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, RpcStatus>>;
@@ -2341,7 +2457,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2341
2457
  * @tags Organization
2342
2458
  * @name FrontierServiceListOrganizationDomains
2343
2459
  * @summary List org domains
2344
- * @request GET:/v1beta1/organizations/{orgId}/domains
2460
+ * @request GET:/v1beta1/organizations/{org_id}/domains
2345
2461
  * @secure
2346
2462
  */
2347
2463
  frontierServiceListOrganizationDomains: (orgId: string, query?: {
@@ -2354,7 +2470,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2354
2470
  * @tags Organization
2355
2471
  * @name FrontierServiceCreateOrganizationDomain
2356
2472
  * @summary Create org domain
2357
- * @request POST:/v1beta1/organizations/{orgId}/domains
2473
+ * @request POST:/v1beta1/organizations/{org_id}/domains
2358
2474
  * @secure
2359
2475
  */
2360
2476
  frontierServiceCreateOrganizationDomain: (orgId: string, body: {
@@ -2367,7 +2483,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2367
2483
  * @tags Organization
2368
2484
  * @name FrontierServiceGetOrganizationDomain
2369
2485
  * @summary Get org domain
2370
- * @request GET:/v1beta1/organizations/{orgId}/domains/{id}
2486
+ * @request GET:/v1beta1/organizations/{org_id}/domains/{id}
2371
2487
  * @secure
2372
2488
  */
2373
2489
  frontierServiceGetOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationDomainResponse, RpcStatus>>;
@@ -2377,7 +2493,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2377
2493
  * @tags Organization
2378
2494
  * @name FrontierServiceDeleteOrganizationDomain
2379
2495
  * @summary Delete org domain
2380
- * @request DELETE:/v1beta1/organizations/{orgId}/domains/{id}
2496
+ * @request DELETE:/v1beta1/organizations/{org_id}/domains/{id}
2381
2497
  * @secure
2382
2498
  */
2383
2499
  frontierServiceDeleteOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2387,7 +2503,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2387
2503
  * @tags Organization
2388
2504
  * @name FrontierServiceVerifyOrganizationDomain
2389
2505
  * @summary Verify org domain
2390
- * @request POST:/v1beta1/organizations/{orgId}/domains/{id}/verify
2506
+ * @request POST:/v1beta1/organizations/{org_id}/domains/{id}/verify
2391
2507
  * @secure
2392
2508
  */
2393
2509
  frontierServiceVerifyOrganizationDomain: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<V1Beta1VerifyOrganizationDomainResponse, RpcStatus>>;
@@ -2397,14 +2513,15 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2397
2513
  * @tags Group
2398
2514
  * @name FrontierServiceListOrganizationGroups
2399
2515
  * @summary List organization groups
2400
- * @request GET:/v1beta1/organizations/{orgId}/groups
2516
+ * @request GET:/v1beta1/organizations/{org_id}/groups
2401
2517
  * @secure
2402
2518
  */
2403
2519
  frontierServiceListOrganizationGroups: (orgId: string, query?: {
2404
2520
  /** The state of the group to filter by. It can be enabled or disabled. */
2405
2521
  state?: string;
2406
- groupIds?: string[];
2407
- withMembers?: boolean;
2522
+ group_ids?: string[];
2523
+ with_members?: boolean;
2524
+ with_member_count?: boolean;
2408
2525
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationGroupsResponse, RpcStatus>>;
2409
2526
  /**
2410
2527
  * @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.
@@ -2412,7 +2529,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2412
2529
  * @tags Group
2413
2530
  * @name FrontierServiceCreateGroup
2414
2531
  * @summary Create group
2415
- * @request POST:/v1beta1/organizations/{orgId}/groups
2532
+ * @request POST:/v1beta1/organizations/{org_id}/groups
2416
2533
  * @secure
2417
2534
  */
2418
2535
  frontierServiceCreateGroup: (orgId: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupResponse, RpcStatus>>;
@@ -2422,11 +2539,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2422
2539
  * @tags Group
2423
2540
  * @name FrontierServiceGetGroup
2424
2541
  * @summary Get group
2425
- * @request GET:/v1beta1/organizations/{orgId}/groups/{id}
2542
+ * @request GET:/v1beta1/organizations/{org_id}/groups/{id}
2426
2543
  * @secure
2427
2544
  */
2428
2545
  frontierServiceGetGroup: (orgId: string, id: string, query?: {
2429
- withMembers?: boolean;
2546
+ with_members?: boolean;
2430
2547
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, RpcStatus>>;
2431
2548
  /**
2432
2549
  * @description Delete an organization group permanently and all of its relations
@@ -2434,7 +2551,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2434
2551
  * @tags Group
2435
2552
  * @name FrontierServiceDeleteGroup
2436
2553
  * @summary Delete group
2437
- * @request DELETE:/v1beta1/organizations/{orgId}/groups/{id}
2554
+ * @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}
2438
2555
  * @secure
2439
2556
  */
2440
2557
  frontierServiceDeleteGroup: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2444,7 +2561,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2444
2561
  * @tags Group
2445
2562
  * @name FrontierServiceUpdateGroup
2446
2563
  * @summary Update group
2447
- * @request PUT:/v1beta1/organizations/{orgId}/groups/{id}
2564
+ * @request PUT:/v1beta1/organizations/{org_id}/groups/{id}
2448
2565
  * @secure
2449
2566
  */
2450
2567
  frontierServiceUpdateGroup: (orgId: string, id: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateGroupResponse, RpcStatus>>;
@@ -2454,7 +2571,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2454
2571
  * @tags Group
2455
2572
  * @name FrontierServiceDisableGroup
2456
2573
  * @summary Disable group
2457
- * @request POST:/v1beta1/organizations/{orgId}/groups/{id}/disable
2574
+ * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/disable
2458
2575
  * @secure
2459
2576
  */
2460
2577
  frontierServiceDisableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2464,7 +2581,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2464
2581
  * @tags Group
2465
2582
  * @name FrontierServiceEnableGroup
2466
2583
  * @summary Enable group
2467
- * @request POST:/v1beta1/organizations/{orgId}/groups/{id}/enable
2584
+ * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/enable
2468
2585
  * @secure
2469
2586
  */
2470
2587
  frontierServiceEnableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2474,11 +2591,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2474
2591
  * @tags Group
2475
2592
  * @name FrontierServiceListGroupUsers
2476
2593
  * @summary List group users
2477
- * @request GET:/v1beta1/organizations/{orgId}/groups/{id}/users
2594
+ * @request GET:/v1beta1/organizations/{org_id}/groups/{id}/users
2478
2595
  * @secure
2479
2596
  */
2480
2597
  frontierServiceListGroupUsers: (orgId: string, id: string, query?: {
2481
- withRoles?: boolean;
2598
+ with_roles?: boolean;
2482
2599
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupUsersResponse, RpcStatus>>;
2483
2600
  /**
2484
2601
  * @description Adds a principle(user and service-users) to a group, existing users in the group will be ignored. A group can't have nested groups as members.
@@ -2486,11 +2603,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2486
2603
  * @tags Group
2487
2604
  * @name FrontierServiceAddGroupUsers
2488
2605
  * @summary Add group user
2489
- * @request POST:/v1beta1/organizations/{orgId}/groups/{id}/users
2606
+ * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/users
2490
2607
  * @secure
2491
2608
  */
2492
2609
  frontierServiceAddGroupUsers: (orgId: string, id: string, body: {
2493
- userIds?: string[];
2610
+ user_ids?: string[];
2494
2611
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2495
2612
  /**
2496
2613
  * @description Removes a principle(user and service-users) from a group. If the user is not in the group, the request will succeed but no changes will be made.
@@ -2498,7 +2615,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2498
2615
  * @tags Group
2499
2616
  * @name FrontierServiceRemoveGroupUser
2500
2617
  * @summary Remove group user
2501
- * @request DELETE:/v1beta1/organizations/{orgId}/groups/{id}/users/{userId}
2618
+ * @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}/users/{user_id}
2502
2619
  * @secure
2503
2620
  */
2504
2621
  frontierServiceRemoveGroupUser: (orgId: string, id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2508,12 +2625,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2508
2625
  * @tags Organization
2509
2626
  * @name FrontierServiceListOrganizationInvitations
2510
2627
  * @summary List pending invitations
2511
- * @request GET:/v1beta1/organizations/{orgId}/invitations
2628
+ * @request GET:/v1beta1/organizations/{org_id}/invitations
2512
2629
  * @secure
2513
2630
  */
2514
2631
  frontierServiceListOrganizationInvitations: (orgId: string, query?: {
2515
2632
  /** user_id filter is the email id of user who are invited inside the organization. */
2516
- userId?: string;
2633
+ user_id?: string;
2517
2634
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationInvitationsResponse, RpcStatus>>;
2518
2635
  /**
2519
2636
  * @description Invite users to an organization, if user is not registered on the platform, it will be notified. Invitations expire in 7 days
@@ -2521,16 +2638,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2521
2638
  * @tags Organization
2522
2639
  * @name FrontierServiceCreateOrganizationInvitation
2523
2640
  * @summary Invite user
2524
- * @request POST:/v1beta1/organizations/{orgId}/invitations
2641
+ * @request POST:/v1beta1/organizations/{org_id}/invitations
2525
2642
  * @secure
2526
2643
  */
2527
2644
  frontierServiceCreateOrganizationInvitation: (orgId: string, body: {
2528
2645
  /** 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 */
2529
- userIds: string[];
2646
+ user_ids: string[];
2530
2647
  /** list of group ids to which user needs to be added as a member. */
2531
- groupIds?: string[];
2648
+ group_ids?: string[];
2532
2649
  /** list of role ids to which user needs to be added as a member. Roles are binded at organization level by default. */
2533
- roleIds?: string[];
2650
+ role_ids?: string[];
2534
2651
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationInvitationResponse, RpcStatus>>;
2535
2652
  /**
2536
2653
  * @description Returns a pending invitation queued for an organization
@@ -2538,7 +2655,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2538
2655
  * @tags Organization
2539
2656
  * @name FrontierServiceGetOrganizationInvitation
2540
2657
  * @summary Get pending invitation
2541
- * @request GET:/v1beta1/organizations/{orgId}/invitations/{id}
2658
+ * @request GET:/v1beta1/organizations/{org_id}/invitations/{id}
2542
2659
  * @secure
2543
2660
  */
2544
2661
  frontierServiceGetOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationInvitationResponse, RpcStatus>>;
@@ -2548,7 +2665,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2548
2665
  * @tags Organization
2549
2666
  * @name FrontierServiceDeleteOrganizationInvitation
2550
2667
  * @summary Delete pending invitation
2551
- * @request DELETE:/v1beta1/organizations/{orgId}/invitations/{id}
2668
+ * @request DELETE:/v1beta1/organizations/{org_id}/invitations/{id}
2552
2669
  * @secure
2553
2670
  */
2554
2671
  frontierServiceDeleteOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2558,7 +2675,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2558
2675
  * @tags Organization
2559
2676
  * @name FrontierServiceAcceptOrganizationInvitation
2560
2677
  * @summary Accept pending invitation
2561
- * @request POST:/v1beta1/organizations/{orgId}/invitations/{id}/accept
2678
+ * @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
2562
2679
  * @secure
2563
2680
  */
2564
2681
  frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2568,7 +2685,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2568
2685
  * @tags Organization
2569
2686
  * @name FrontierServiceJoinOrganization
2570
2687
  * @summary Join organization
2571
- * @request POST:/v1beta1/organizations/{orgId}/join
2688
+ * @request POST:/v1beta1/organizations/{org_id}/join
2572
2689
  * @secure
2573
2690
  */
2574
2691
  frontierServiceJoinOrganization: (orgId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2578,7 +2695,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2578
2695
  * @tags Role
2579
2696
  * @name FrontierServiceListOrganizationRoles
2580
2697
  * @summary List organization roles
2581
- * @request GET:/v1beta1/organizations/{orgId}/roles
2698
+ * @request GET:/v1beta1/organizations/{org_id}/roles
2582
2699
  * @secure
2583
2700
  */
2584
2701
  frontierServiceListOrganizationRoles: (orgId: string, query?: {
@@ -2591,7 +2708,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2591
2708
  * @tags Role
2592
2709
  * @name FrontierServiceCreateOrganizationRole
2593
2710
  * @summary Create organization role
2594
- * @request POST:/v1beta1/organizations/{orgId}/roles
2711
+ * @request POST:/v1beta1/organizations/{org_id}/roles
2595
2712
  * @secure
2596
2713
  */
2597
2714
  frontierServiceCreateOrganizationRole: (orgId: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationRoleResponse, RpcStatus>>;
@@ -2601,7 +2718,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2601
2718
  * @tags Role
2602
2719
  * @name FrontierServiceGetOrganizationRole
2603
2720
  * @summary Get organization role
2604
- * @request GET:/v1beta1/organizations/{orgId}/roles/{id}
2721
+ * @request GET:/v1beta1/organizations/{org_id}/roles/{id}
2605
2722
  * @secure
2606
2723
  */
2607
2724
  frontierServiceGetOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationRoleResponse, RpcStatus>>;
@@ -2611,7 +2728,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2611
2728
  * @tags Role
2612
2729
  * @name FrontierServiceDeleteOrganizationRole
2613
2730
  * @summary Delete organization role
2614
- * @request DELETE:/v1beta1/organizations/{orgId}/roles/{id}
2731
+ * @request DELETE:/v1beta1/organizations/{org_id}/roles/{id}
2615
2732
  * @secure
2616
2733
  */
2617
2734
  frontierServiceDeleteOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2621,7 +2738,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2621
2738
  * @tags Role
2622
2739
  * @name FrontierServiceUpdateOrganizationRole
2623
2740
  * @summary Update organization role
2624
- * @request PUT:/v1beta1/organizations/{orgId}/roles/{id}
2741
+ * @request PUT:/v1beta1/organizations/{org_id}/roles/{id}
2625
2742
  * @secure
2626
2743
  */
2627
2744
  frontierServiceUpdateOrganizationRole: (orgId: string, id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationRoleResponse, RpcStatus>>;
@@ -2686,15 +2803,15 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2686
2803
  */
2687
2804
  frontierServiceListPolicies: (query?: {
2688
2805
  /** The organization id to filter by. */
2689
- orgId?: string;
2806
+ org_id?: string;
2690
2807
  /** The project id to filter by. */
2691
- projectId?: string;
2808
+ project_id?: string;
2692
2809
  /** The user id to filter by. */
2693
- userId?: string;
2810
+ user_id?: string;
2694
2811
  /** The role id to filter by. */
2695
- roleId?: string;
2812
+ role_id?: string;
2696
2813
  /** The group id to filter by. */
2697
- groupId?: string;
2814
+ group_id?: string;
2698
2815
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPoliciesResponse, RpcStatus>>;
2699
2816
  /**
2700
2817
  * @description Creates a policy
@@ -2846,7 +2963,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2846
2963
  * @secure
2847
2964
  */
2848
2965
  frontierServiceListProjectGroups: (id: string, query?: {
2849
- withRoles?: boolean;
2966
+ with_roles?: boolean;
2850
2967
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, RpcStatus>>;
2851
2968
  /**
2852
2969
  * @description List a project preferences by ID.
@@ -2880,7 +2997,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2880
2997
  * @secure
2881
2998
  */
2882
2999
  frontierServiceListProjectServiceUsers: (id: string, query?: {
2883
- withRoles?: boolean;
3000
+ with_roles?: boolean;
2884
3001
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectServiceUsersResponse, RpcStatus>>;
2885
3002
  /**
2886
3003
  * @description Returns a collection of users of a project. Filter by user permissions is supported.
@@ -2892,8 +3009,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2892
3009
  * @secure
2893
3010
  */
2894
3011
  frontierServiceListProjectUsers: (id: string, query?: {
2895
- permissionFilter?: string;
2896
- withRoles?: boolean;
3012
+ permission_filter?: string;
3013
+ with_roles?: boolean;
2897
3014
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectUsersResponse, RpcStatus>>;
2898
3015
  /**
2899
3016
  * No description
@@ -2901,7 +3018,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2901
3018
  * @tags Resource
2902
3019
  * @name FrontierServiceListProjectResources
2903
3020
  * @summary Get all resources
2904
- * @request GET:/v1beta1/projects/{projectId}/resources
3021
+ * @request GET:/v1beta1/projects/{project_id}/resources
2905
3022
  * @secure
2906
3023
  */
2907
3024
  frontierServiceListProjectResources: (projectId: string, query?: {
@@ -2913,7 +3030,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2913
3030
  * @tags Resource
2914
3031
  * @name FrontierServiceCreateProjectResource
2915
3032
  * @summary Create resource
2916
- * @request POST:/v1beta1/projects/{projectId}/resources
3033
+ * @request POST:/v1beta1/projects/{project_id}/resources
2917
3034
  * @secure
2918
3035
  */
2919
3036
  frontierServiceCreateProjectResource: (projectId: string, body: V1Beta1ResourceRequestBody, query?: {
@@ -2926,7 +3043,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2926
3043
  * @tags Resource
2927
3044
  * @name FrontierServiceGetProjectResource
2928
3045
  * @summary Get resource
2929
- * @request GET:/v1beta1/projects/{projectId}/resources/{id}
3046
+ * @request GET:/v1beta1/projects/{project_id}/resources/{id}
2930
3047
  * @secure
2931
3048
  */
2932
3049
  frontierServiceGetProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProjectResourceResponse, RpcStatus>>;
@@ -2936,7 +3053,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2936
3053
  * @tags Resource
2937
3054
  * @name FrontierServiceDeleteProjectResource
2938
3055
  * @summary Delete resource
2939
- * @request DELETE:/v1beta1/projects/{projectId}/resources/{id}
3056
+ * @request DELETE:/v1beta1/projects/{project_id}/resources/{id}
2940
3057
  * @secure
2941
3058
  */
2942
3059
  frontierServiceDeleteProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2946,7 +3063,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2946
3063
  * @tags Resource
2947
3064
  * @name FrontierServiceUpdateProjectResource
2948
3065
  * @summary Update resource
2949
- * @request PUT:/v1beta1/projects/{projectId}/resources/{id}
3066
+ * @request PUT:/v1beta1/projects/{project_id}/resources/{id}
2950
3067
  * @secure
2951
3068
  */
2952
3069
  frontierServiceUpdateProjectResource: (projectId: string, id: string, body: V1Beta1ResourceRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProjectResourceResponse, RpcStatus>>;
@@ -3034,7 +3151,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3034
3151
  */
3035
3152
  frontierServiceListServiceUsers: (query: {
3036
3153
  /** The organization ID to filter service users by. */
3037
- orgId: string;
3154
+ org_id: string;
3038
3155
  /** The state to filter by. It can be enabled or disabled. */
3039
3156
  state?: string;
3040
3157
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUsersResponse, RpcStatus>>;
@@ -3068,7 +3185,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3068
3185
  * @secure
3069
3186
  */
3070
3187
  frontierServiceDeleteServiceUser: (id: string, query?: {
3071
- orgId?: string;
3188
+ org_id?: string;
3072
3189
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3073
3190
  /**
3074
3191
  * @description List all the keys of a service user with its details except jwk.
@@ -3098,7 +3215,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3098
3215
  * @tags ServiceUser
3099
3216
  * @name FrontierServiceGetServiceUserKey
3100
3217
  * @summary Get service user key
3101
- * @request GET:/v1beta1/serviceusers/{id}/keys/{keyId}
3218
+ * @request GET:/v1beta1/serviceusers/{id}/keys/{key_id}
3102
3219
  * @secure
3103
3220
  */
3104
3221
  frontierServiceGetServiceUserKey: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserKeyResponse, RpcStatus>>;
@@ -3108,7 +3225,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3108
3225
  * @tags ServiceUser
3109
3226
  * @name FrontierServiceDeleteServiceUserKey
3110
3227
  * @summary Delete service user key
3111
- * @request DELETE:/v1beta1/serviceusers/{id}/keys/{keyId}
3228
+ * @request DELETE:/v1beta1/serviceusers/{id}/keys/{key_id}
3112
3229
  * @secure
3113
3230
  */
3114
3231
  frontierServiceDeleteServiceUserKey: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -3140,7 +3257,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3140
3257
  * @tags ServiceUser
3141
3258
  * @name FrontierServiceDeleteServiceUserSecret
3142
3259
  * @summary Delete service user secret
3143
- * @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secretId}
3260
+ * @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secret_id}
3144
3261
  * @secure
3145
3262
  */
3146
3263
  frontierServiceDeleteServiceUserSecret: (id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -3158,18 +3275,18 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3158
3275
  * The maximum number of users to return per page. The default is 50.
3159
3276
  * @format int32
3160
3277
  */
3161
- pageSize?: number;
3278
+ page_size?: number;
3162
3279
  /**
3163
3280
  * The page number to return. The default is 1.
3164
3281
  * @format int32
3165
3282
  */
3166
- pageNum?: number;
3283
+ page_num?: number;
3167
3284
  /** The keyword to search for in name or email. */
3168
3285
  keyword?: string;
3169
3286
  /** The organization ID to filter users by. */
3170
- orgId?: string;
3287
+ org_id?: string;
3171
3288
  /** The group id to filter by. */
3172
- groupId?: string;
3289
+ group_id?: string;
3173
3290
  /** The state to filter by. It can be enabled or disabled. */
3174
3291
  state?: string;
3175
3292
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUsersResponse, RpcStatus>>;
@@ -3243,7 +3360,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3243
3360
  */
3244
3361
  frontierServiceListUserGroups: (id: string, query?: {
3245
3362
  /** The organization ID to filter groups by. If not provided, groups from all organizations are returned. */
3246
- orgId?: string;
3363
+ org_id?: string;
3247
3364
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserGroupsResponse, RpcStatus>>;
3248
3365
  /**
3249
3366
  * @description List all the invitations sent to a user.
@@ -3328,8 +3445,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3328
3445
  */
3329
3446
  frontierServiceListCurrentUserGroups: (query?: {
3330
3447
  /** org_id is optional filter over an organization */
3331
- orgId?: string;
3332
- withPermissions?: string[];
3448
+ org_id?: string;
3449
+ with_permissions?: string[];
3450
+ with_member_count?: boolean;
3333
3451
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, RpcStatus>>;
3334
3452
  /**
3335
3453
  * @description List all the invitations sent to current user.
@@ -3384,13 +3502,13 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3384
3502
  */
3385
3503
  frontierServiceListProjectsByCurrentUser: (query?: {
3386
3504
  /** org_id is optional and filter projects by org */
3387
- orgId?: string;
3505
+ org_id?: string;
3388
3506
  /**
3389
3507
  * list of permissions needs to be checked against each project
3390
3508
  * query params are set as with_permissions=get&with_permissions=delete
3391
3509
  * to be represented as array
3392
3510
  */
3393
- withPermissions?: string[];
3511
+ with_permissions?: string[];
3394
3512
  /**
3395
3513
  * Note: this is a bad design and would recommend against using this filter
3396
3514
  * It is used to list only projects which are explicitly given permission
@@ -3399,10 +3517,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3399
3517
  * only users who could have inherited these permissions from top but we only
3400
3518
  * want explictly added ones.
3401
3519
  */
3402
- nonInherited?: boolean;
3520
+ non_inherited?: boolean;
3521
+ with_member_count?: boolean;
3403
3522
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByCurrentUserResponse, RpcStatus>>;
3404
3523
  }
3405
3524
 
3406
3525
  declare const FrontierClient: typeof V1Beta1;
3407
3526
 
3408
- 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, V1Beta1DelegatedCheckoutResponse, 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 };
3527
+ 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, V1Beta1CheckoutProductBody, V1Beta1CheckoutSession, V1Beta1CheckoutSubscriptionBody, V1Beta1CreateBillingAccountResponse, V1Beta1CreateBillingUsageResponse, V1Beta1CreateCheckoutResponse, V1Beta1CreateCurrentUserPreferencesRequest, V1Beta1CreateCurrentUserPreferencesResponse, V1Beta1CreateGroupPreferencesResponse, V1Beta1CreateGroupResponse, V1Beta1CreateMetaSchemaResponse, V1Beta1CreateOrganizationAuditLogsResponse, V1Beta1CreateOrganizationDomainResponse, V1Beta1CreateOrganizationInvitationResponse, V1Beta1CreateOrganizationPreferencesResponse, V1Beta1CreateOrganizationResponse, V1Beta1CreateOrganizationRoleResponse, V1Beta1CreatePermissionRequest, V1Beta1CreatePermissionResponse, V1Beta1CreatePlanRequest, V1Beta1CreatePlanResponse, V1Beta1CreatePolicyResponse, V1Beta1CreatePreferencesRequest, V1Beta1CreatePreferencesResponse, V1Beta1CreateProductRequest, V1Beta1CreateProductResponse, V1Beta1CreateProjectPreferencesResponse, V1Beta1CreateProjectResourceResponse, V1Beta1CreateProjectResponse, V1Beta1CreateRelationResponse, V1Beta1CreateRoleResponse, V1Beta1CreateServiceUserKeyResponse, V1Beta1CreateServiceUserRequest, V1Beta1CreateServiceUserResponse, V1Beta1CreateServiceUserSecretResponse, V1Beta1CreateUserPreferencesResponse, V1Beta1CreateUserResponse, V1Beta1DelegatedCheckoutResponse, 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, V1Beta1GetBillingAccountResponse, V1Beta1GetBillingBalanceResponse, V1Beta1GetCurrentUserResponse, V1Beta1GetGroupResponse, V1Beta1GetJWKsResponse, V1Beta1GetMetaSchemaResponse, V1Beta1GetNamespaceResponse, V1Beta1GetOrganizationAuditLogResponse, V1Beta1GetOrganizationDomainResponse, V1Beta1GetOrganizationInvitationResponse, V1Beta1GetOrganizationResponse, V1Beta1GetOrganizationRoleResponse, V1Beta1GetPermissionResponse, V1Beta1GetPlanResponse, V1Beta1GetPolicyResponse, V1Beta1GetProductResponse, V1Beta1GetProjectResourceResponse, V1Beta1GetProjectResponse, V1Beta1GetRelationResponse, V1Beta1GetServiceUserKeyResponse, V1Beta1GetServiceUserResponse, V1Beta1GetSubscriptionResponse, V1Beta1GetUpcomingInvoiceResponse, V1Beta1GetUserResponse, V1Beta1Group, V1Beta1GroupRequestBody, V1Beta1Invitation, V1Beta1Invoice, V1Beta1JSONWebKey, V1Beta1JoinOrganizationResponse, V1Beta1KeyCredential, V1Beta1ListAllOrganizationsResponse, V1Beta1ListAllUsersResponse, V1Beta1ListAuthStrategiesResponse, V1Beta1ListBillingAccountsResponse, V1Beta1ListBillingTransactionsResponse, V1Beta1ListCheckoutsResponse, V1Beta1ListCurrentUserGroupsResponse, V1Beta1ListCurrentUserGroupsResponseAccessPair, V1Beta1ListCurrentUserInvitationsResponse, V1Beta1ListCurrentUserPreferencesResponse, V1Beta1ListGroupPreferencesResponse, V1Beta1ListGroupUsersResponse, V1Beta1ListGroupUsersResponseRolePair, V1Beta1ListGroupsResponse, V1Beta1ListInvoicesResponse, V1Beta1ListMetaSchemasResponse, V1Beta1ListNamespacesResponse, V1Beta1ListOrganizationAdminsResponse, V1Beta1ListOrganizationAuditLogsResponse, V1Beta1ListOrganizationDomainsResponse, V1Beta1ListOrganizationGroupsResponse, V1Beta1ListOrganizationInvitationsResponse, V1Beta1ListOrganizationPreferencesResponse, V1Beta1ListOrganizationProjectsResponse, V1Beta1ListOrganizationRolesResponse, V1Beta1ListOrganizationServiceUsersResponse, V1Beta1ListOrganizationUsersResponse, V1Beta1ListOrganizationUsersResponseRolePair, V1Beta1ListOrganizationsByCurrentUserResponse, V1Beta1ListOrganizationsByUserResponse, V1Beta1ListOrganizationsResponse, V1Beta1ListPermissionsResponse, V1Beta1ListPlansResponse, V1Beta1ListPlatformUsersResponse, V1Beta1ListPoliciesResponse, V1Beta1ListPreferencesResponse, V1Beta1ListProductsResponse, 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, V1Beta1PaymentMethod, V1Beta1Permission, V1Beta1PermissionRequestBody, V1Beta1Plan, V1Beta1PlanRequestBody, V1Beta1Policy, V1Beta1PolicyRequestBody, V1Beta1Preference, V1Beta1PreferenceRequestBody, V1Beta1PreferenceTrait, V1Beta1Price, V1Beta1Product, V1Beta1ProductRequestBody, V1Beta1Project, V1Beta1ProjectRequestBody, V1Beta1Relation, V1Beta1RelationRequestBody, V1Beta1RemoveGroupUserResponse, V1Beta1RemoveOrganizationUserResponse, V1Beta1Resource, V1Beta1ResourceRequestBody, V1Beta1Role, V1Beta1RoleRequestBody, V1Beta1SecretCredential, V1Beta1ServiceUser, V1Beta1ServiceUserKey, V1Beta1ServiceUserRequestBody, V1Beta1Subscription, V1Beta1UpdateBillingAccountResponse, V1Beta1UpdateCurrentUserResponse, V1Beta1UpdateGroupResponse, V1Beta1UpdateMetaSchemaResponse, V1Beta1UpdateOrganizationResponse, V1Beta1UpdateOrganizationRoleResponse, V1Beta1UpdatePermissionResponse, V1Beta1UpdatePlanResponse, V1Beta1UpdatePolicyResponse, V1Beta1UpdateProductResponse, V1Beta1UpdateProjectResourceResponse, V1Beta1UpdateProjectResponse, V1Beta1UpdateRoleResponse, V1Beta1UpdateSubscriptionResponse, V1Beta1UpdateUserResponse, V1Beta1Usage, V1Beta1User, V1Beta1UserRequestBody, V1Beta1VerifyOrganizationDomainResponse };