@raystack/frontier 0.57.0 → 0.58.1

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.
@@ -1,5 +1,5 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import React, { ComponentPropsWithRef, Dispatch, SetStateAction, PropsWithChildren } from 'react';
2
+ import React, { ComponentPropsWithRef, ReactNode as ReactNode$1, Dispatch, SetStateAction, PropsWithChildren } from 'react';
3
3
  import * as yup from 'yup';
4
4
  import * as _tanstack_react_router from '@tanstack/react-router';
5
5
  import { ReactNode, RouteComponent } from '@tanstack/react-router';
@@ -66,20 +66,41 @@ type SignUpProps = ComponentPropsWithRef<typeof Container> & {
66
66
  };
67
67
  declare const SignUp: ({ logo, title, excludes, ...props }: SignUpProps) => react_jsx_runtime.JSX.Element;
68
68
 
69
- declare const schema: yup.ObjectSchema<{
69
+ declare const schema$1: yup.ObjectSchema<{
70
70
  newsletter: boolean | undefined;
71
71
  }, yup.AnyObject, {
72
72
  newsletter: undefined;
73
73
  }, "">;
74
- type FormData = yup.InferType<typeof schema>;
75
- type SubscribeProps = {
74
+ type FormData$1 = yup.InferType<typeof schema$1>;
75
+ type UpdatesProps = {
76
76
  logo?: ReactNode;
77
77
  title?: string;
78
78
  preferenceTitle?: string;
79
79
  preferenceDescription?: string;
80
+ onSubmit?: (data: FormData$1) => void;
81
+ };
82
+ declare const Updates: ({ logo, title, preferenceTitle, preferenceDescription, onSubmit }: UpdatesProps) => react_jsx_runtime.JSX.Element;
83
+
84
+ declare const schema: yup.ObjectSchema<{
85
+ name: string;
86
+ email: string;
87
+ contactNumber: string | null | undefined;
88
+ }, yup.AnyObject, {
89
+ name: undefined;
90
+ email: undefined;
91
+ contactNumber: undefined;
92
+ }, "">;
93
+ type FormData = yup.InferType<typeof schema>;
94
+ type SubscribeProps = {
95
+ title?: string;
96
+ desc?: string;
97
+ activity?: string;
98
+ medium?: string;
99
+ source?: string;
100
+ confirmSection?: ReactNode$1;
80
101
  onSubmit?: (data: FormData) => void;
81
102
  };
82
- declare const Subscribe: ({ logo, title, preferenceTitle, preferenceDescription, onSubmit }: SubscribeProps) => react_jsx_runtime.JSX.Element;
103
+ declare const Subscribe: ({ title, desc, activity, medium, source, confirmSection, onSubmit }: SubscribeProps) => react_jsx_runtime.JSX.Element;
83
104
 
84
105
  type CreateOrganizationProps = ComponentPropsWithRef<typeof Container> & {
85
106
  title?: string;
@@ -211,6 +232,93 @@ interface ProductBehaviorConfig {
211
232
  /** @format int64 */
212
233
  max_quantity?: string;
213
234
  }
235
+ interface SearchOrganizationInvoicesResponseOrganizationInvoice {
236
+ id?: string;
237
+ /** @format int64 */
238
+ amount?: string;
239
+ currency?: string;
240
+ state?: string;
241
+ invoice_link?: string;
242
+ /** @format date-time */
243
+ created_at?: string;
244
+ org_id?: string;
245
+ }
246
+ interface SearchOrganizationProjectsResponseOrganizationProject {
247
+ id?: string;
248
+ name?: string;
249
+ title?: string;
250
+ state?: string;
251
+ /** @format int64 */
252
+ member_count?: string;
253
+ user_ids?: string[];
254
+ /** @format date-time */
255
+ created_at?: string;
256
+ organization_id?: string;
257
+ }
258
+ interface SearchOrganizationServiceUserCredentialsResponseOrganizationServiceUserCredential {
259
+ title?: string;
260
+ serviceuser_title?: string;
261
+ /** @format date-time */
262
+ created_at?: string;
263
+ org_id?: string;
264
+ }
265
+ interface SearchOrganizationTokensResponseOrganizationToken {
266
+ /** @format int64 */
267
+ amount?: string;
268
+ type?: string;
269
+ description?: string;
270
+ user_id?: string;
271
+ user_title?: string;
272
+ user_avatar?: string;
273
+ /** @format date-time */
274
+ created_at?: string;
275
+ org_id?: string;
276
+ }
277
+ interface SearchOrganizationUsersResponseOrganizationUser {
278
+ id?: string;
279
+ name?: string;
280
+ title?: string;
281
+ email?: string;
282
+ /** @format date-time */
283
+ org_joined_at?: string;
284
+ state?: string;
285
+ avatar?: string;
286
+ role_names?: string[];
287
+ role_titles?: string[];
288
+ role_ids?: string[];
289
+ organization_id?: string;
290
+ }
291
+ interface SearchOrganizationsResponseOrganizationResult {
292
+ id?: string;
293
+ name?: string;
294
+ title?: string;
295
+ /** @format date-time */
296
+ created_at?: string;
297
+ /** @format date-time */
298
+ updated_at?: string;
299
+ state?: string;
300
+ avatar?: string;
301
+ created_by?: string;
302
+ plan_name?: string;
303
+ payment_mode?: string;
304
+ /** @format date-time */
305
+ subscription_cycle_end_at?: string;
306
+ country?: string;
307
+ subscription_state?: string;
308
+ plan_interval?: string;
309
+ plan_id?: string;
310
+ }
311
+ interface SearchProjectUsersResponseProjectUser {
312
+ id?: string;
313
+ name?: string;
314
+ title?: string;
315
+ email?: string;
316
+ avatar?: string;
317
+ role_names?: string[];
318
+ role_titles?: string[];
319
+ role_ids?: string[];
320
+ project_id?: string;
321
+ }
214
322
  interface SubscriptionPhase {
215
323
  /** @format date-time */
216
324
  effective_at?: string;
@@ -221,16 +329,133 @@ interface WebhookSecret {
221
329
  id?: string;
222
330
  value?: string;
223
331
  }
224
- interface ProtobufAny {
225
- '@type'?: string;
226
- [key: string]: any;
227
- }
228
- interface RpcStatus {
332
+ interface GooglerpcStatus {
229
333
  /** @format int32 */
230
334
  code?: number;
231
335
  message?: string;
232
336
  details?: ProtobufAny[];
233
337
  }
338
+ /**
339
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
340
+ * URL that describes the type of the serialized message.
341
+ *
342
+ * Protobuf library provides support to pack/unpack Any values in the form
343
+ * of utility functions or additional generated methods of the Any type.
344
+ *
345
+ * Example 1: Pack and unpack a message in C++.
346
+ *
347
+ * Foo foo = ...;
348
+ * Any any;
349
+ * any.PackFrom(foo);
350
+ * ...
351
+ * if (any.UnpackTo(&foo)) {
352
+ * ...
353
+ * }
354
+ *
355
+ * Example 2: Pack and unpack a message in Java.
356
+ *
357
+ * Foo foo = ...;
358
+ * Any any = Any.pack(foo);
359
+ * ...
360
+ * if (any.is(Foo.class)) {
361
+ * foo = any.unpack(Foo.class);
362
+ * }
363
+ * // or ...
364
+ * if (any.isSameTypeAs(Foo.getDefaultInstance())) {
365
+ * foo = any.unpack(Foo.getDefaultInstance());
366
+ * }
367
+ *
368
+ * Example 3: Pack and unpack a message in Python.
369
+ *
370
+ * foo = Foo(...)
371
+ * any = Any()
372
+ * any.Pack(foo)
373
+ * ...
374
+ * if any.Is(Foo.DESCRIPTOR):
375
+ * any.Unpack(foo)
376
+ * ...
377
+ *
378
+ * Example 4: Pack and unpack a message in Go
379
+ *
380
+ * foo := &pb.Foo{...}
381
+ * any, err := anypb.New(foo)
382
+ * if err != nil {
383
+ * ...
384
+ * }
385
+ * ...
386
+ * foo := &pb.Foo{}
387
+ * if err := any.UnmarshalTo(foo); err != nil {
388
+ * ...
389
+ * }
390
+ *
391
+ * The pack methods provided by protobuf library will by default use
392
+ * 'type.googleapis.com/full.type.name' as the type URL and the unpack
393
+ * methods only use the fully qualified type name after the last '/'
394
+ * in the type URL, for example "foo.bar.com/x/y.z" will yield type
395
+ * name "y.z".
396
+ *
397
+ * JSON
398
+ * ====
399
+ * The JSON representation of an `Any` value uses the regular
400
+ * representation of the deserialized, embedded message, with an
401
+ * additional field `@type` which contains the type URL. Example:
402
+ *
403
+ * package google.profile;
404
+ * message Person {
405
+ * string first_name = 1;
406
+ * string last_name = 2;
407
+ * }
408
+ *
409
+ * {
410
+ * "@type": "type.googleapis.com/google.profile.Person",
411
+ * "firstName": <string>,
412
+ * "lastName": <string>
413
+ * }
414
+ *
415
+ * If the embedded message type is well-known and has a custom JSON
416
+ * representation, that representation will be embedded adding a field
417
+ * `value` which holds the custom JSON in addition to the `@type`
418
+ * field. Example (for message [google.protobuf.Duration][]):
419
+ *
420
+ * {
421
+ * "@type": "type.googleapis.com/google.protobuf.Duration",
422
+ * "value": "1.212s"
423
+ * }
424
+ */
425
+ interface ProtobufAny {
426
+ /**
427
+ * A URL/resource name that uniquely identifies the type of the serialized
428
+ * protocol buffer message. This string must contain at least
429
+ * one "/" character. The last segment of the URL's path must represent
430
+ * the fully qualified name of the type (as in
431
+ * `path/google.protobuf.Duration`). The name should be in a canonical form
432
+ * (e.g., leading "." is not accepted).
433
+ *
434
+ * In practice, teams usually precompile into the binary all types that they
435
+ * expect it to use in the context of Any. However, for URLs which use the
436
+ * scheme `http`, `https`, or no scheme, one can optionally set up a type
437
+ * server that maps type URLs to message definitions as follows:
438
+ *
439
+ * * If no scheme is provided, `https` is assumed.
440
+ * * An HTTP GET on the URL must yield a [google.protobuf.Type][]
441
+ * value in binary format, or produce an error.
442
+ * * Applications are allowed to cache lookup results based on the
443
+ * URL, or have them precompiled into a binary to avoid any
444
+ * lookup. Therefore, binary compatibility needs to be preserved
445
+ * on changes to types. (Use versioned type names to manage
446
+ * breaking changes.)
447
+ *
448
+ * Note: this functionality is not currently available in the official
449
+ * protobuf release, and it is not used for type URLs beginning with
450
+ * type.googleapis.com. As of May 2023, there are no widely used type server
451
+ * implementations and no plans to implement one.
452
+ *
453
+ * Schemes other than `http`, `https` (or the empty scheme) might be
454
+ * used with implementation specific semantics.
455
+ */
456
+ '@type'?: string;
457
+ [key: string]: any;
458
+ }
234
459
  interface V1Beta1AddPlatformUserRequest {
235
460
  /** The user id to add to the platform. */
236
461
  user_id?: string;
@@ -561,6 +786,41 @@ interface V1Beta1CreateProjectResourceResponse {
561
786
  interface V1Beta1CreateProjectResponse {
562
787
  project?: V1Beta1Project;
563
788
  }
789
+ interface V1Beta1CreateProspectPublicRequest {
790
+ /** full name of the user */
791
+ name?: string;
792
+ /** email of the user */
793
+ email: string;
794
+ /** phone number of the user */
795
+ phone?: string;
796
+ /** activity for which user is subscribing, e.g. newsletter, waitlist, blogs etc */
797
+ activity: string;
798
+ /** source of this user addition e.g. platform, website, admin etc */
799
+ source?: string;
800
+ /** additional info as key value pair */
801
+ metadata?: object;
802
+ }
803
+ interface V1Beta1CreateProspectRequest {
804
+ /** full name of the user */
805
+ name?: string;
806
+ /** email of the user */
807
+ email: string;
808
+ /** phone number of the user */
809
+ phone?: string;
810
+ /** activity for which user is subscribing, e.g. newsletter, waitlist, blogs etc */
811
+ activity: string;
812
+ /** subscription status for this activity. Allowed values - 1 for UNSUBSCRIBED; 2 for SUBSCRIBED; */
813
+ status: V1Beta1ProspectStatus;
814
+ /** source of this user addition e.g. platform, website, admin etc */
815
+ source?: string;
816
+ /** verification status of this user addition e.g. true, false */
817
+ verified?: boolean;
818
+ /** additional info as key value pair */
819
+ metadata?: object;
820
+ }
821
+ interface V1Beta1CreateProspectResponse {
822
+ prospect?: V1Beta1Prospect;
823
+ }
564
824
  interface V1Beta1CreateRelationResponse {
565
825
  relation?: V1Beta1Relation;
566
826
  }
@@ -734,6 +994,9 @@ interface V1Beta1GetProjectResourceResponse {
734
994
  interface V1Beta1GetProjectResponse {
735
995
  project?: V1Beta1Project;
736
996
  }
997
+ interface V1Beta1GetProspectResponse {
998
+ prospect?: V1Beta1Prospect;
999
+ }
737
1000
  interface V1Beta1GetRelationResponse {
738
1001
  relation?: V1Beta1Relation;
739
1002
  }
@@ -1015,6 +1278,9 @@ interface V1Beta1ListOrganizationsByUserResponse {
1015
1278
  organizations?: V1Beta1Organization[];
1016
1279
  joinable_via_domain?: V1Beta1Organization[];
1017
1280
  }
1281
+ interface V1Beta1ListOrganizationsKycResponse {
1282
+ organizations_kyc?: V1Beta1OrganizationKyc[];
1283
+ }
1018
1284
  interface V1Beta1ListOrganizationsResponse {
1019
1285
  organizations?: V1Beta1Organization[];
1020
1286
  }
@@ -1088,6 +1354,11 @@ interface V1Beta1ListProjectsByUserResponse {
1088
1354
  interface V1Beta1ListProjectsResponse {
1089
1355
  projects?: V1Beta1Project[];
1090
1356
  }
1357
+ interface V1Beta1ListProspectsResponse {
1358
+ prospects?: V1Beta1Prospect[];
1359
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1360
+ group?: V1Beta1RQLQueryGroupResponse;
1361
+ }
1091
1362
  interface V1Beta1ListRelationsResponse {
1092
1363
  relations?: V1Beta1Relation[];
1093
1364
  }
@@ -1502,6 +1773,71 @@ interface V1Beta1ProjectRequestBody {
1502
1773
  /** unique id of the organization to which project belongs */
1503
1774
  org_id: string;
1504
1775
  }
1776
+ interface V1Beta1Prospect {
1777
+ id?: string;
1778
+ name?: string;
1779
+ email?: string;
1780
+ phone?: string;
1781
+ activity?: string;
1782
+ status?: V1Beta1ProspectStatus;
1783
+ /** @format date-time */
1784
+ changed_at?: string;
1785
+ source?: string;
1786
+ verified?: boolean;
1787
+ /** @format date-time */
1788
+ created_at?: string;
1789
+ /** @format date-time */
1790
+ updated_at?: string;
1791
+ metadata?: object;
1792
+ }
1793
+ /**
1794
+ * subscription status
1795
+ * @default "STATUS_UNSPECIFIED"
1796
+ */
1797
+ declare enum V1Beta1ProspectStatus {
1798
+ STATUS_UNSPECIFIED = "STATUS_UNSPECIFIED",
1799
+ STATUS_UNSUBSCRIBED = "STATUS_UNSUBSCRIBED",
1800
+ STATUS_SUBSCRIBED = "STATUS_SUBSCRIBED"
1801
+ }
1802
+ interface V1Beta1RQLFilter {
1803
+ name?: string;
1804
+ operator?: string;
1805
+ bool_value?: boolean;
1806
+ string_value?: string;
1807
+ /** @format float */
1808
+ number_value?: number;
1809
+ }
1810
+ interface V1Beta1RQLQueryGroupData {
1811
+ name?: string;
1812
+ /** @format int64 */
1813
+ count?: number;
1814
+ }
1815
+ interface V1Beta1RQLQueryGroupResponse {
1816
+ name?: string;
1817
+ data?: V1Beta1RQLQueryGroupData[];
1818
+ }
1819
+ interface V1Beta1RQLQueryPaginationResponse {
1820
+ /** @format int64 */
1821
+ offset?: number;
1822
+ /** @format int64 */
1823
+ limit?: number;
1824
+ /** @format int64 */
1825
+ total_count?: number;
1826
+ }
1827
+ interface V1Beta1RQLRequest {
1828
+ filters?: V1Beta1RQLFilter[];
1829
+ group_by?: string[];
1830
+ /** @format int64 */
1831
+ offset?: number;
1832
+ /** @format int64 */
1833
+ limit?: number;
1834
+ search?: string;
1835
+ sort?: V1Beta1RQLSort[];
1836
+ }
1837
+ interface V1Beta1RQLSort {
1838
+ name?: string;
1839
+ order?: string;
1840
+ }
1505
1841
  interface V1Beta1Relation {
1506
1842
  id?: string;
1507
1843
  /**
@@ -1620,6 +1956,41 @@ interface V1Beta1RoleRequestBody {
1620
1956
  title?: string;
1621
1957
  scopes?: string[];
1622
1958
  }
1959
+ interface V1Beta1SearchOrganizationInvoicesResponse {
1960
+ organization_invoices?: SearchOrganizationInvoicesResponseOrganizationInvoice[];
1961
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1962
+ group?: V1Beta1RQLQueryGroupResponse;
1963
+ }
1964
+ interface V1Beta1SearchOrganizationProjectsResponse {
1965
+ org_projects?: SearchOrganizationProjectsResponseOrganizationProject[];
1966
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1967
+ group?: V1Beta1RQLQueryGroupResponse;
1968
+ }
1969
+ interface V1Beta1SearchOrganizationServiceUserCredentialsResponse {
1970
+ organization_serviceuser_credentials?: SearchOrganizationServiceUserCredentialsResponseOrganizationServiceUserCredential[];
1971
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1972
+ group?: V1Beta1RQLQueryGroupResponse;
1973
+ }
1974
+ interface V1Beta1SearchOrganizationTokensResponse {
1975
+ organization_tokens?: SearchOrganizationTokensResponseOrganizationToken[];
1976
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1977
+ group?: V1Beta1RQLQueryGroupResponse;
1978
+ }
1979
+ interface V1Beta1SearchOrganizationUsersResponse {
1980
+ org_users?: SearchOrganizationUsersResponseOrganizationUser[];
1981
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1982
+ group?: V1Beta1RQLQueryGroupResponse;
1983
+ }
1984
+ interface V1Beta1SearchOrganizationsResponse {
1985
+ organizations?: SearchOrganizationsResponseOrganizationResult[];
1986
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1987
+ group?: V1Beta1RQLQueryGroupResponse;
1988
+ }
1989
+ interface V1Beta1SearchProjectUsersResponse {
1990
+ project_users?: SearchProjectUsersResponseProjectUser[];
1991
+ pagination?: V1Beta1RQLQueryPaginationResponse;
1992
+ group?: V1Beta1RQLQueryGroupResponse;
1993
+ }
1623
1994
  interface V1Beta1SecretCredential {
1624
1995
  id?: string;
1625
1996
  title?: string;
@@ -1723,6 +2094,10 @@ interface V1Beta1Subscription {
1723
2094
  customer?: V1Beta1BillingAccount;
1724
2095
  plan?: V1Beta1Plan;
1725
2096
  }
2097
+ interface V1Beta1TotalDebitedTransactionsResponse {
2098
+ /** Total debited amount in the billing account */
2099
+ debited?: BillingAccountBalance;
2100
+ }
1726
2101
  interface V1Beta1UpdateBillingAccountResponse {
1727
2102
  /** Updated billing account */
1728
2103
  billing_account?: V1Beta1BillingAccount;
@@ -1766,6 +2141,9 @@ interface V1Beta1UpdateProjectResourceResponse {
1766
2141
  interface V1Beta1UpdateProjectResponse {
1767
2142
  project?: V1Beta1Project;
1768
2143
  }
2144
+ interface V1Beta1UpdateProspectResponse {
2145
+ prospect?: V1Beta1Prospect;
2146
+ }
1769
2147
  interface V1Beta1UpdateRoleResponse {
1770
2148
  role?: V1Beta1Role;
1771
2149
  }
@@ -1898,7 +2276,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1898
2276
  */
1899
2277
  adminServiceListAllBillingAccounts: (query?: {
1900
2278
  org_id?: string;
1901
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllBillingAccountsResponse, RpcStatus>>;
2279
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllBillingAccountsResponse, GooglerpcStatus>>;
1902
2280
  /**
1903
2281
  * @description Lists all the invoices from all the organizations in a Frontier instance. It can be filtered by organization.
1904
2282
  *
@@ -1920,7 +2298,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1920
2298
  * @format int32
1921
2299
  */
1922
2300
  page_num?: number;
1923
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllInvoicesResponse, RpcStatus>>;
2301
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllInvoicesResponse, GooglerpcStatus>>;
1924
2302
  /**
1925
2303
  * @description Triggers the creation of credit overdraft invoices for all billing accounts.
1926
2304
  *
@@ -1930,7 +2308,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1930
2308
  * @request POST:/v1beta1/admin/billing/invoices/generate
1931
2309
  * @secure
1932
2310
  */
1933
- adminServiceGenerateInvoices: (body: V1Beta1GenerateInvoicesRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2311
+ adminServiceGenerateInvoices: (body: V1Beta1GenerateInvoicesRequest, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
1934
2312
  /**
1935
2313
  * @description Returns true if a principal has required permissions to access a resource and false otherwise.<br/> Note the principal can be a user, group or a service account.
1936
2314
  *
@@ -1940,7 +2318,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1940
2318
  * @request POST:/v1beta1/admin/check
1941
2319
  * @secure
1942
2320
  */
1943
- adminServiceCheckFederatedResourcePermission: (body: V1Beta1CheckFederatedResourcePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFederatedResourcePermissionResponse, RpcStatus>>;
2321
+ adminServiceCheckFederatedResourcePermission: (body: V1Beta1CheckFederatedResourcePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFederatedResourcePermissionResponse, GooglerpcStatus>>;
1944
2322
  /**
1945
2323
  * @description Lists all the groups from all the organizations in a Frontier instance. It can be filtered by organization and state.
1946
2324
  *
@@ -1955,7 +2333,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1955
2333
  org_id?: string;
1956
2334
  /** The state to filter by. It can be enabled or disabled. */
1957
2335
  state?: string;
1958
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupsResponse, RpcStatus>>;
2336
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupsResponse, GooglerpcStatus>>;
1959
2337
  /**
1960
2338
  * @description Lists all the organizations in a Frontier instance. It can be filtered by user and state.
1961
2339
  *
@@ -1980,7 +2358,87 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1980
2358
  * @format int32
1981
2359
  */
1982
2360
  page_num?: number;
1983
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
2361
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, GooglerpcStatus>>;
2362
+ /**
2363
+ * No description
2364
+ *
2365
+ * @tags Organization
2366
+ * @name AdminServiceSearchOrganizationInvoices
2367
+ * @summary Search organization invoices
2368
+ * @request POST:/v1beta1/admin/organizations/{id}/invoices/search
2369
+ * @secure
2370
+ */
2371
+ adminServiceSearchOrganizationInvoices: (id: string, query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1SearchOrganizationInvoicesResponse, GooglerpcStatus>>;
2372
+ /**
2373
+ * @description Export organization projects with user IDs
2374
+ *
2375
+ * @tags Organization
2376
+ * @name AdminServiceExportOrganizationProjects
2377
+ * @summary Export organization projects
2378
+ * @request GET:/v1beta1/admin/organizations/{id}/projects/export
2379
+ * @secure
2380
+ */
2381
+ adminServiceExportOrganizationProjects: (id: string, params?: RequestParams) => Promise<HttpResponse<File, GooglerpcStatus>>;
2382
+ /**
2383
+ * No description
2384
+ *
2385
+ * @tags Organization
2386
+ * @name AdminServiceSearchOrganizationProjects
2387
+ * @summary Search organization projects
2388
+ * @request POST:/v1beta1/admin/organizations/{id}/projects/search
2389
+ * @secure
2390
+ */
2391
+ adminServiceSearchOrganizationProjects: (id: string, query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1SearchOrganizationProjectsResponse, GooglerpcStatus>>;
2392
+ /**
2393
+ * No description
2394
+ *
2395
+ * @tags Organization
2396
+ * @name AdminServiceSearchOrganizationServiceUserCredentials
2397
+ * @summary Search organization service user credentials
2398
+ * @request POST:/v1beta1/admin/organizations/{id}/serviceuser_credentials/search
2399
+ * @secure
2400
+ */
2401
+ adminServiceSearchOrganizationServiceUserCredentials: (id: string, query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1SearchOrganizationServiceUserCredentialsResponse, GooglerpcStatus>>;
2402
+ /**
2403
+ * @description Export organization tokens
2404
+ *
2405
+ * @tags Organization
2406
+ * @name AdminServiceExportOrganizationTokens
2407
+ * @summary Export organization tokens
2408
+ * @request GET:/v1beta1/admin/organizations/{id}/tokens/export
2409
+ * @secure
2410
+ */
2411
+ adminServiceExportOrganizationTokens: (id: string, params?: RequestParams) => Promise<HttpResponse<File, GooglerpcStatus>>;
2412
+ /**
2413
+ * No description
2414
+ *
2415
+ * @tags Organization
2416
+ * @name AdminServiceSearchOrganizationTokens
2417
+ * @summary Search organization tokens
2418
+ * @request POST:/v1beta1/admin/organizations/{id}/tokens/search
2419
+ * @secure
2420
+ */
2421
+ adminServiceSearchOrganizationTokens: (id: string, query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1SearchOrganizationTokensResponse, GooglerpcStatus>>;
2422
+ /**
2423
+ * @description Export organization user their role details
2424
+ *
2425
+ * @tags Organization
2426
+ * @name AdminServiceExportOrganizationUsers
2427
+ * @summary Export organization users
2428
+ * @request GET:/v1beta1/admin/organizations/{id}/users/export
2429
+ * @secure
2430
+ */
2431
+ adminServiceExportOrganizationUsers: (id: string, params?: RequestParams) => Promise<HttpResponse<File, GooglerpcStatus>>;
2432
+ /**
2433
+ * No description
2434
+ *
2435
+ * @tags Organization
2436
+ * @name AdminServiceSearchOrganizationUsers
2437
+ * @summary Search organization users
2438
+ * @request POST:/v1beta1/admin/organizations/{id}/users/search
2439
+ * @secure
2440
+ */
2441
+ adminServiceSearchOrganizationUsers: (id: string, query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1SearchOrganizationUsersResponse, GooglerpcStatus>>;
1984
2442
  /**
1985
2443
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
1986
2444
  *
@@ -1995,7 +2453,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1995
2453
  subscription_body?: V1Beta1CheckoutSubscriptionBody;
1996
2454
  /** Product to buy */
1997
2455
  product_body?: V1Beta1CheckoutProductBody;
1998
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, RpcStatus>>;
2456
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, GooglerpcStatus>>;
1999
2457
  /**
2000
2458
  * @description Revert billing usage for a billing account.
2001
2459
  *
@@ -2012,7 +2470,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2012
2470
  * @format int64
2013
2471
  */
2014
2472
  amount?: string;
2015
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2473
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2016
2474
  /**
2017
2475
  * @description Update billing account limits.
2018
2476
  *
@@ -2030,7 +2488,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2030
2488
  * @format int64
2031
2489
  */
2032
2490
  credit_min?: string;
2033
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2491
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2034
2492
  /**
2035
2493
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
2036
2494
  *
@@ -2047,7 +2505,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2047
2505
  subscription_body?: V1Beta1CheckoutSubscriptionBody;
2048
2506
  /** Product to buy */
2049
2507
  product_body?: V1Beta1CheckoutProductBody;
2050
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, RpcStatus>>;
2508
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, GooglerpcStatus>>;
2051
2509
  /**
2052
2510
  * @description Set KYC information of an organization using ID or name
2053
2511
  *
@@ -2060,7 +2518,37 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2060
2518
  adminServiceSetOrganizationKyc: (orgId: string, body: {
2061
2519
  status?: boolean;
2062
2520
  link?: string;
2063
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1SetOrganizationKycResponse, RpcStatus>>;
2521
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1SetOrganizationKycResponse, GooglerpcStatus>>;
2522
+ /**
2523
+ * @description Export organization with demographic properties and billing plan details
2524
+ *
2525
+ * @tags Organization
2526
+ * @name AdminServiceExportOrganizations
2527
+ * @summary Export organizations
2528
+ * @request GET:/v1beta1/admin/organizations/export
2529
+ * @secure
2530
+ */
2531
+ adminServiceExportOrganizations: (params?: RequestParams) => Promise<HttpResponse<File, GooglerpcStatus>>;
2532
+ /**
2533
+ * @description List KYC information of all organization
2534
+ *
2535
+ * @tags OrganizationKyc
2536
+ * @name AdminServiceListOrganizationsKyc
2537
+ * @summary List KYC information of all organizations
2538
+ * @request GET:/v1beta1/admin/organizations/kyc
2539
+ * @secure
2540
+ */
2541
+ adminServiceListOrganizationsKyc: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsKycResponse, GooglerpcStatus>>;
2542
+ /**
2543
+ * @description Search organization based on org demographic properties and billing plan details
2544
+ *
2545
+ * @tags Organization
2546
+ * @name AdminServiceSearchOrganizations
2547
+ * @summary Search organizations
2548
+ * @request POST:/v1beta1/admin/organizations/search
2549
+ * @secure
2550
+ */
2551
+ adminServiceSearchOrganizations: (query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1SearchOrganizationsResponse, GooglerpcStatus>>;
2064
2552
  /**
2065
2553
  * @description Lists all the users added to the platform.
2066
2554
  *
@@ -2070,7 +2558,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2070
2558
  * @request GET:/v1beta1/admin/platform/users
2071
2559
  * @secure
2072
2560
  */
2073
- adminServiceListPlatformUsers: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlatformUsersResponse, RpcStatus>>;
2561
+ adminServiceListPlatformUsers: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlatformUsersResponse, GooglerpcStatus>>;
2074
2562
  /**
2075
2563
  * @description Adds a user to the platform.
2076
2564
  *
@@ -2080,7 +2568,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2080
2568
  * @request POST:/v1beta1/admin/platform/users
2081
2569
  * @secure
2082
2570
  */
2083
- adminServiceAddPlatformUser: (body: V1Beta1AddPlatformUserRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2571
+ adminServiceAddPlatformUser: (body: V1Beta1AddPlatformUserRequest, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2084
2572
  /**
2085
2573
  * @description Removes a user from the platform.
2086
2574
  *
@@ -2090,7 +2578,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2090
2578
  * @request POST:/v1beta1/admin/platform/users/remove
2091
2579
  * @secure
2092
2580
  */
2093
- adminServiceRemovePlatformUser: (body: V1Beta1RemovePlatformUserRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2581
+ adminServiceRemovePlatformUser: (body: V1Beta1RemovePlatformUserRequest, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2094
2582
  /**
2095
2583
  * @description Lists all the projects from all the organizations in a Frontier instance. It can be filtered by organization and state.
2096
2584
  *
@@ -2105,7 +2593,84 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2105
2593
  org_id?: string;
2106
2594
  /** The state to filter by. It can be enabled or disabled. */
2107
2595
  state?: string;
2108
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsResponse, RpcStatus>>;
2596
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsResponse, GooglerpcStatus>>;
2597
+ /**
2598
+ * No description
2599
+ *
2600
+ * @tags Project
2601
+ * @name AdminServiceSearchProjectUsers
2602
+ * @summary Search Project users
2603
+ * @request POST:/v1beta1/admin/projects/{id}/users/search
2604
+ * @secure
2605
+ */
2606
+ adminServiceSearchProjectUsers: (id: string, query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1SearchProjectUsersResponse, GooglerpcStatus>>;
2607
+ /**
2608
+ * @description Create prospect for given email and activity.
2609
+ *
2610
+ * @tags Prospect
2611
+ * @name AdminServiceCreateProspect
2612
+ * @summary Create prospect
2613
+ * @request POST:/v1beta1/admin/prospects
2614
+ * @secure
2615
+ */
2616
+ adminServiceCreateProspect: (body: V1Beta1CreateProspectRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProspectResponse, GooglerpcStatus>>;
2617
+ /**
2618
+ * @description Get prospect by ID
2619
+ *
2620
+ * @tags Prospect
2621
+ * @name AdminServiceGetProspect
2622
+ * @summary Get prospect
2623
+ * @request GET:/v1beta1/admin/prospects/{id}
2624
+ * @secure
2625
+ */
2626
+ adminServiceGetProspect: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProspectResponse, GooglerpcStatus>>;
2627
+ /**
2628
+ * @description Delete prospect for given ID
2629
+ *
2630
+ * @tags Prospect
2631
+ * @name AdminServiceDeleteProspect
2632
+ * @summary Delete prospect
2633
+ * @request DELETE:/v1beta1/admin/prospects/{id}
2634
+ * @secure
2635
+ */
2636
+ adminServiceDeleteProspect: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2637
+ /**
2638
+ * @description Update prospect for given ID
2639
+ *
2640
+ * @tags Prospect
2641
+ * @name AdminServiceUpdateProspect
2642
+ * @summary Update prospect
2643
+ * @request PUT:/v1beta1/admin/prospects/{id}
2644
+ * @secure
2645
+ */
2646
+ adminServiceUpdateProspect: (id: string, body: {
2647
+ /** full name of the user */
2648
+ name?: string;
2649
+ /** email of the user */
2650
+ email: string;
2651
+ /** phone number of the user */
2652
+ phone?: string;
2653
+ /** activity for which user is subscribing, e.g. newsletter, waitlist, blogs etc */
2654
+ activity: string;
2655
+ /** subscription status for this activity. Allowed values - 1 for UNSUBSCRIBED; 2 for SUBSCRIBED; */
2656
+ status: V1Beta1ProspectStatus;
2657
+ /** source of this user addition e.g. platform, website, admin etc */
2658
+ source?: string;
2659
+ /** verification status of this user addition e.g. true, false */
2660
+ verified?: boolean;
2661
+ /** additional info as key value pair */
2662
+ metadata?: object;
2663
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProspectResponse, GooglerpcStatus>>;
2664
+ /**
2665
+ * @description List prospects and supports filters, sorting and pagination.
2666
+ *
2667
+ * @tags Prospect
2668
+ * @name AdminServiceListProspects
2669
+ * @summary List prospects
2670
+ * @request POST:/v1beta1/admin/prospects/list
2671
+ * @secure
2672
+ */
2673
+ adminServiceListProspects: (query: V1Beta1RQLRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProspectsResponse, GooglerpcStatus>>;
2109
2674
  /**
2110
2675
  * No description
2111
2676
  *
@@ -2120,7 +2685,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2120
2685
  subject?: string;
2121
2686
  /** The object to filter by. */
2122
2687
  object?: string;
2123
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRelationsResponse, RpcStatus>>;
2688
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRelationsResponse, GooglerpcStatus>>;
2124
2689
  /**
2125
2690
  * @description Lists all the resources from all the organizations in a Frontier instance. It can be filtered by user, project, organization and namespace.
2126
2691
  *
@@ -2139,7 +2704,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2139
2704
  organization_id?: string;
2140
2705
  /** The namespace to filter by. */
2141
2706
  namespace?: string;
2142
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListResourcesResponse, RpcStatus>>;
2707
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListResourcesResponse, GooglerpcStatus>>;
2143
2708
  /**
2144
2709
  * @description Lists all the users from all the organizations in a Frontier instance. It can be filtered by keyword, organization, group and state.
2145
2710
  *
@@ -2168,7 +2733,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2168
2733
  group_id?: string;
2169
2734
  /** The state to filter by. It can be enabled or disabled. */
2170
2735
  state?: string;
2171
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllUsersResponse, RpcStatus>>;
2736
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllUsersResponse, GooglerpcStatus>>;
2172
2737
  /**
2173
2738
  * @description List all webhooks.
2174
2739
  *
@@ -2178,7 +2743,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2178
2743
  * @request GET:/v1beta1/admin/webhooks
2179
2744
  * @secure
2180
2745
  */
2181
- adminServiceListWebhooks: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListWebhooksResponse, RpcStatus>>;
2746
+ adminServiceListWebhooks: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListWebhooksResponse, GooglerpcStatus>>;
2182
2747
  /**
2183
2748
  * @description Create a new webhook.
2184
2749
  *
@@ -2188,7 +2753,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2188
2753
  * @request POST:/v1beta1/admin/webhooks
2189
2754
  * @secure
2190
2755
  */
2191
- adminServiceCreateWebhook: (body: V1Beta1CreateWebhookRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateWebhookResponse, RpcStatus>>;
2756
+ adminServiceCreateWebhook: (body: V1Beta1CreateWebhookRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateWebhookResponse, GooglerpcStatus>>;
2192
2757
  /**
2193
2758
  * @description Delete a webhook.
2194
2759
  *
@@ -2198,7 +2763,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2198
2763
  * @request DELETE:/v1beta1/admin/webhooks/{id}
2199
2764
  * @secure
2200
2765
  */
2201
- adminServiceDeleteWebhook: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2766
+ adminServiceDeleteWebhook: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2202
2767
  /**
2203
2768
  * @description Update a webhook.
2204
2769
  *
@@ -2210,7 +2775,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2210
2775
  */
2211
2776
  adminServiceUpdateWebhook: (id: string, body: {
2212
2777
  body?: V1Beta1WebhookRequestBody | undefined;
2213
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateWebhookResponse, RpcStatus>>;
2778
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateWebhookResponse, GooglerpcStatus>>;
2214
2779
  /**
2215
2780
  * @description Returns a list of identity providers configured on an instance level in Frontier. e.g Google, AzureAD, Github etc
2216
2781
  *
@@ -2220,7 +2785,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2220
2785
  * @request GET:/v1beta1/auth
2221
2786
  * @secure
2222
2787
  */
2223
- frontierServiceListAuthStrategies: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAuthStrategiesResponse, RpcStatus>>;
2788
+ frontierServiceListAuthStrategies: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAuthStrategiesResponse, GooglerpcStatus>>;
2224
2789
  /**
2225
2790
  * @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.
2226
2791
  *
@@ -2241,7 +2806,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2241
2806
  * for example, in case of passkey, it has challenge and public key
2242
2807
  */
2243
2808
  state_options?: object;
2244
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2809
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2245
2810
  /**
2246
2811
  * @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.
2247
2812
  *
@@ -2251,7 +2816,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2251
2816
  * @request POST:/v1beta1/auth/callback
2252
2817
  * @secure
2253
2818
  */
2254
- frontierServiceAuthCallback2: (body: V1Beta1AuthCallbackRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2819
+ frontierServiceAuthCallback2: (body: V1Beta1AuthCallbackRequest, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2255
2820
  /**
2256
2821
  * No description
2257
2822
  *
@@ -2261,7 +2826,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2261
2826
  * @request GET:/v1beta1/auth/jwks
2262
2827
  * @secure
2263
2828
  */
2264
- frontierServiceGetJwKs: (params?: RequestParams) => Promise<HttpResponse<V1Beta1GetJWKsResponse, RpcStatus>>;
2829
+ frontierServiceGetJwKs: (params?: RequestParams) => Promise<HttpResponse<V1Beta1GetJWKsResponse, GooglerpcStatus>>;
2265
2830
  /**
2266
2831
  * No description
2267
2832
  *
@@ -2271,7 +2836,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2271
2836
  * @request GET:/v1beta1/auth/logout
2272
2837
  * @secure
2273
2838
  */
2274
- frontierServiceAuthLogout: (params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2839
+ frontierServiceAuthLogout: (params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2275
2840
  /**
2276
2841
  * No description
2277
2842
  *
@@ -2281,7 +2846,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2281
2846
  * @request DELETE:/v1beta1/auth/logout
2282
2847
  * @secure
2283
2848
  */
2284
- frontierServiceAuthLogout2: (params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2849
+ frontierServiceAuthLogout2: (params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2285
2850
  /**
2286
2851
  * @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.
2287
2852
  *
@@ -2325,7 +2890,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2325
2890
  * 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`
2326
2891
  */
2327
2892
  callback_url?: string;
2328
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
2893
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, GooglerpcStatus>>;
2329
2894
  /**
2330
2895
  * @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.
2331
2896
  *
@@ -2365,7 +2930,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2365
2930
  * 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`
2366
2931
  */
2367
2932
  callback_url?: string;
2368
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
2933
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, GooglerpcStatus>>;
2369
2934
  /**
2370
2935
  * @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.
2371
2936
  *
@@ -2375,7 +2940,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2375
2940
  * @request POST:/v1beta1/auth/token
2376
2941
  * @secure
2377
2942
  */
2378
- frontierServiceAuthToken: (body: V1Beta1AuthTokenRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthTokenResponse, RpcStatus>>;
2943
+ frontierServiceAuthToken: (body: V1Beta1AuthTokenRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthTokenResponse, GooglerpcStatus>>;
2379
2944
  /**
2380
2945
  * @description Returns true if a principal has required permissions to access a resource and false otherwise.<br/> Note the principal can be a user or a service account, and Frontier will the credentials from the current logged in principal from the session cookie (if any), or the client id and secret (in case of service users) or the access token (in case of human user accounts).
2381
2946
  *
@@ -2385,7 +2950,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2385
2950
  * @request POST:/v1beta1/batchcheck
2386
2951
  * @secure
2387
2952
  */
2388
- frontierServiceBatchCheckPermission: (body: V1Beta1BatchCheckPermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1BatchCheckPermissionResponse, RpcStatus>>;
2953
+ frontierServiceBatchCheckPermission: (body: V1Beta1BatchCheckPermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1BatchCheckPermissionResponse, GooglerpcStatus>>;
2389
2954
  /**
2390
2955
  * @description List all features
2391
2956
  *
@@ -2395,7 +2960,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2395
2960
  * @request GET:/v1beta1/billing/features
2396
2961
  * @secure
2397
2962
  */
2398
- frontierServiceListFeatures: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListFeaturesResponse, RpcStatus>>;
2963
+ frontierServiceListFeatures: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListFeaturesResponse, GooglerpcStatus>>;
2399
2964
  /**
2400
2965
  * @description Create a new feature for platform.
2401
2966
  *
@@ -2405,7 +2970,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2405
2970
  * @request POST:/v1beta1/billing/features
2406
2971
  * @secure
2407
2972
  */
2408
- frontierServiceCreateFeature: (body: V1Beta1CreateFeatureRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateFeatureResponse, RpcStatus>>;
2973
+ frontierServiceCreateFeature: (body: V1Beta1CreateFeatureRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateFeatureResponse, GooglerpcStatus>>;
2409
2974
  /**
2410
2975
  * @description Get a feature by ID.
2411
2976
  *
@@ -2415,7 +2980,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2415
2980
  * @request GET:/v1beta1/billing/features/{id}
2416
2981
  * @secure
2417
2982
  */
2418
- frontierServiceGetFeature: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetFeatureResponse, RpcStatus>>;
2983
+ frontierServiceGetFeature: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetFeatureResponse, GooglerpcStatus>>;
2419
2984
  /**
2420
2985
  * @description Update a feature by ID.
2421
2986
  *
@@ -2428,7 +2993,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2428
2993
  frontierServiceUpdateFeature: (id: string, body: {
2429
2994
  /** Feature to update */
2430
2995
  body?: V1Beta1FeatureRequestBody | undefined;
2431
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
2996
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, GooglerpcStatus>>;
2432
2997
  /**
2433
2998
  * @description List all plans.
2434
2999
  *
@@ -2438,7 +3003,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2438
3003
  * @request GET:/v1beta1/billing/plans
2439
3004
  * @secure
2440
3005
  */
2441
- frontierServiceListPlans: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlansResponse, RpcStatus>>;
3006
+ frontierServiceListPlans: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlansResponse, GooglerpcStatus>>;
2442
3007
  /**
2443
3008
  * @description Create a new plan for platform.
2444
3009
  *
@@ -2448,7 +3013,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2448
3013
  * @request POST:/v1beta1/billing/plans
2449
3014
  * @secure
2450
3015
  */
2451
- frontierServiceCreatePlan: (body: V1Beta1CreatePlanRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePlanResponse, RpcStatus>>;
3016
+ frontierServiceCreatePlan: (body: V1Beta1CreatePlanRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePlanResponse, GooglerpcStatus>>;
2452
3017
  /**
2453
3018
  * @description Get a plan by ID.
2454
3019
  *
@@ -2458,7 +3023,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2458
3023
  * @request GET:/v1beta1/billing/plans/{id}
2459
3024
  * @secure
2460
3025
  */
2461
- frontierServiceGetPlan: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPlanResponse, RpcStatus>>;
3026
+ frontierServiceGetPlan: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPlanResponse, GooglerpcStatus>>;
2462
3027
  /**
2463
3028
  * @description Update a plan by ID.
2464
3029
  *
@@ -2471,7 +3036,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2471
3036
  frontierServiceUpdatePlan: (id: string, body: {
2472
3037
  /** Plan to update */
2473
3038
  body?: V1Beta1PlanRequestBody | undefined;
2474
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
3039
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, GooglerpcStatus>>;
2475
3040
  /**
2476
3041
  * @description List all products of a platform.
2477
3042
  *
@@ -2481,7 +3046,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2481
3046
  * @request GET:/v1beta1/billing/products
2482
3047
  * @secure
2483
3048
  */
2484
- frontierServiceListProducts: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProductsResponse, RpcStatus>>;
3049
+ frontierServiceListProducts: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProductsResponse, GooglerpcStatus>>;
2485
3050
  /**
2486
3051
  * @description Create a new product for platform.
2487
3052
  *
@@ -2491,7 +3056,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2491
3056
  * @request POST:/v1beta1/billing/products
2492
3057
  * @secure
2493
3058
  */
2494
- frontierServiceCreateProduct: (body: V1Beta1CreateProductRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProductResponse, RpcStatus>>;
3059
+ frontierServiceCreateProduct: (body: V1Beta1CreateProductRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProductResponse, GooglerpcStatus>>;
2495
3060
  /**
2496
3061
  * @description Get a product by ID.
2497
3062
  *
@@ -2501,7 +3066,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2501
3066
  * @request GET:/v1beta1/billing/products/{id}
2502
3067
  * @secure
2503
3068
  */
2504
- frontierServiceGetProduct: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProductResponse, RpcStatus>>;
3069
+ frontierServiceGetProduct: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProductResponse, GooglerpcStatus>>;
2505
3070
  /**
2506
3071
  * @description Update a product by ID.
2507
3072
  *
@@ -2514,7 +3079,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2514
3079
  frontierServiceUpdateProduct: (id: string, body: {
2515
3080
  /** Product to update */
2516
3081
  body?: V1Beta1ProductRequestBody | undefined;
2517
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
3082
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, GooglerpcStatus>>;
2518
3083
  /**
2519
3084
  * @description Accepts a Billing webhook and processes it.
2520
3085
  *
@@ -2524,7 +3089,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2524
3089
  * @request POST:/v1beta1/billing/webhooks/callback/{provider}
2525
3090
  * @secure
2526
3091
  */
2527
- frontierServiceBillingWebhookCallback: (provider: string, body: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3092
+ frontierServiceBillingWebhookCallback: (provider: string, body: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2528
3093
  /**
2529
3094
  * @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.
2530
3095
  *
@@ -2534,7 +3099,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2534
3099
  * @request POST:/v1beta1/check
2535
3100
  * @secure
2536
3101
  */
2537
- frontierServiceCheckResourcePermission: (body: V1Beta1CheckResourcePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckResourcePermissionResponse, RpcStatus>>;
3102
+ frontierServiceCheckResourcePermission: (body: V1Beta1CheckResourcePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckResourcePermissionResponse, GooglerpcStatus>>;
2538
3103
  /**
2539
3104
  * @description List a group preferences by ID.
2540
3105
  *
@@ -2544,7 +3109,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2544
3109
  * @request GET:/v1beta1/groups/{id}/preferences
2545
3110
  * @secure
2546
3111
  */
2547
- frontierServiceListGroupPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupPreferencesResponse, RpcStatus>>;
3112
+ frontierServiceListGroupPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupPreferencesResponse, GooglerpcStatus>>;
2548
3113
  /**
2549
3114
  * @description Create a new group preferences. The group preferences **name** must be unique within the group and can contain only alphanumeric characters, dashes and underscores.
2550
3115
  *
@@ -2556,7 +3121,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2556
3121
  */
2557
3122
  frontierServiceCreateGroupPreferences: (id: string, body: {
2558
3123
  bodies?: V1Beta1PreferenceRequestBody[];
2559
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupPreferencesResponse, RpcStatus>>;
3124
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupPreferencesResponse, GooglerpcStatus>>;
2560
3125
  /**
2561
3126
  * @description Returns a list of all metaschemas configured on an instance level in Frontier. e.g user, project, organization etc
2562
3127
  *
@@ -2566,7 +3131,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2566
3131
  * @request GET:/v1beta1/meta/schemas
2567
3132
  * @secure
2568
3133
  */
2569
- frontierServiceListMetaSchemas: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListMetaSchemasResponse, RpcStatus>>;
3134
+ frontierServiceListMetaSchemas: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListMetaSchemasResponse, GooglerpcStatus>>;
2570
3135
  /**
2571
3136
  * @description Create a new metadata schema. The metaschema **name** must be unique within the entire Frontier instance and can contain only alphanumeric characters, dashes and underscores. The metaschema **schema** must be a valid JSON schema.Please refer to https://json-schema.org/ to know more about json schema. <br/>*Example:* `{name:"user",schema:{"type":"object","properties":{"label":{"type":"object","additionalProperties":{"type":"string"}},"description":{"type":"string"}}}}`
2572
3137
  *
@@ -2576,7 +3141,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2576
3141
  * @request POST:/v1beta1/meta/schemas
2577
3142
  * @secure
2578
3143
  */
2579
- frontierServiceCreateMetaSchema: (body: V1Beta1MetaSchemaRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateMetaSchemaResponse, RpcStatus>>;
3144
+ frontierServiceCreateMetaSchema: (body: V1Beta1MetaSchemaRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateMetaSchemaResponse, GooglerpcStatus>>;
2580
3145
  /**
2581
3146
  * @description Get a metadata schema by ID.
2582
3147
  *
@@ -2586,7 +3151,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2586
3151
  * @request GET:/v1beta1/meta/schemas/{id}
2587
3152
  * @secure
2588
3153
  */
2589
- frontierServiceGetMetaSchema: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetMetaSchemaResponse, RpcStatus>>;
3154
+ frontierServiceGetMetaSchema: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetMetaSchemaResponse, GooglerpcStatus>>;
2590
3155
  /**
2591
3156
  * @description Delete a metadata schema permanently. Once deleted the metaschema won't be used to validate the metadata. For example, if a metaschema(with `label` and `description` fields) is used to validate the metadata of a user, then deleting the metaschema will not validate the metadata of the user and metadata field can contain any key-value pair(and say another field called `foo` can be inserted in a user's metadata).
2592
3157
  *
@@ -2596,7 +3161,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2596
3161
  * @request DELETE:/v1beta1/meta/schemas/{id}
2597
3162
  * @secure
2598
3163
  */
2599
- frontierServiceDeleteMetaSchema: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3164
+ frontierServiceDeleteMetaSchema: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2600
3165
  /**
2601
3166
  * @description Update a metadata schema. Only `schema` field of a metaschema can be updated. The metaschema `schema` must be a valid JSON schema.Please refer to https://json-schema.org/ to know more about json schema. <br/>*Example:* `{name:"user",schema:{"type":"object","properties":{"label":{"type":"object","additionalProperties":{"type":"string"}},"description":{"type":"string"}}}}`
2602
3167
  *
@@ -2606,7 +3171,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2606
3171
  * @request PUT:/v1beta1/meta/schemas/{id}
2607
3172
  * @secure
2608
3173
  */
2609
- frontierServiceUpdateMetaSchema: (id: string, body: V1Beta1MetaSchemaRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateMetaSchemaResponse, RpcStatus>>;
3174
+ frontierServiceUpdateMetaSchema: (id: string, body: V1Beta1MetaSchemaRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateMetaSchemaResponse, GooglerpcStatus>>;
2610
3175
  /**
2611
3176
  * @description Returns the list of all namespaces in a Frontier instance
2612
3177
  *
@@ -2616,7 +3181,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2616
3181
  * @request GET:/v1beta1/namespaces
2617
3182
  * @secure
2618
3183
  */
2619
- frontierServiceListNamespaces: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListNamespacesResponse, RpcStatus>>;
3184
+ frontierServiceListNamespaces: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListNamespacesResponse, GooglerpcStatus>>;
2620
3185
  /**
2621
3186
  * @description Returns a namespace by ID
2622
3187
  *
@@ -2626,7 +3191,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2626
3191
  * @request GET:/v1beta1/namespaces/{id}
2627
3192
  * @secure
2628
3193
  */
2629
- frontierServiceGetNamespace: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetNamespaceResponse, RpcStatus>>;
3194
+ frontierServiceGetNamespace: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetNamespaceResponse, GooglerpcStatus>>;
2630
3195
  /**
2631
3196
  * @description Returns a list of organizations. It can be filtered by userID or organization state.
2632
3197
  *
@@ -2651,7 +3216,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2651
3216
  * @format int32
2652
3217
  */
2653
3218
  page_num?: number;
2654
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsResponse, RpcStatus>>;
3219
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsResponse, GooglerpcStatus>>;
2655
3220
  /**
2656
3221
  * No description
2657
3222
  *
@@ -2661,7 +3226,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2661
3226
  * @request POST:/v1beta1/organizations
2662
3227
  * @secure
2663
3228
  */
2664
- frontierServiceCreateOrganization: (body: V1Beta1OrganizationRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationResponse, RpcStatus>>;
3229
+ frontierServiceCreateOrganization: (body: V1Beta1OrganizationRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationResponse, GooglerpcStatus>>;
2665
3230
  /**
2666
3231
  * @description Get organization by ID or name
2667
3232
  *
@@ -2671,7 +3236,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2671
3236
  * @request GET:/v1beta1/organizations/{id}
2672
3237
  * @secure
2673
3238
  */
2674
- frontierServiceGetOrganization: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationResponse, RpcStatus>>;
3239
+ frontierServiceGetOrganization: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationResponse, GooglerpcStatus>>;
2675
3240
  /**
2676
3241
  * @description Delete an organization and all of its relations permanently. The organization users will not be deleted from Frontier.
2677
3242
  *
@@ -2681,7 +3246,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2681
3246
  * @request DELETE:/v1beta1/organizations/{id}
2682
3247
  * @secure
2683
3248
  */
2684
- frontierServiceDeleteOrganization: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3249
+ frontierServiceDeleteOrganization: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2685
3250
  /**
2686
3251
  * @description Update organization by ID
2687
3252
  *
@@ -2691,7 +3256,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2691
3256
  * @request PUT:/v1beta1/organizations/{id}
2692
3257
  * @secure
2693
3258
  */
2694
- frontierServiceUpdateOrganization: (id: string, body: V1Beta1OrganizationRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationResponse, RpcStatus>>;
3259
+ frontierServiceUpdateOrganization: (id: string, body: V1Beta1OrganizationRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationResponse, GooglerpcStatus>>;
2695
3260
  /**
2696
3261
  * @description Returns a list admins of an organization
2697
3262
  *
@@ -2701,7 +3266,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2701
3266
  * @request GET:/v1beta1/organizations/{id}/admins
2702
3267
  * @secure
2703
3268
  */
2704
- frontierServiceListOrganizationAdmins: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAdminsResponse, RpcStatus>>;
3269
+ frontierServiceListOrganizationAdmins: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAdminsResponse, GooglerpcStatus>>;
2705
3270
  /**
2706
3271
  * @description Sets the state of the organization as disabled. The existing users in the org will not be able to access any organization resources.
2707
3272
  *
@@ -2711,7 +3276,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2711
3276
  * @request POST:/v1beta1/organizations/{id}/disable
2712
3277
  * @secure
2713
3278
  */
2714
- frontierServiceDisableOrganization: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3279
+ frontierServiceDisableOrganization: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2715
3280
  /**
2716
3281
  * @description Sets the state of the organization as enabled. The existing users in the org will be able to access any organization resources.
2717
3282
  *
@@ -2721,7 +3286,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2721
3286
  * @request POST:/v1beta1/organizations/{id}/enable
2722
3287
  * @secure
2723
3288
  */
2724
- frontierServiceEnableOrganization: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3289
+ frontierServiceEnableOrganization: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2725
3290
  /**
2726
3291
  * @description List an organization preferences by ID.
2727
3292
  *
@@ -2731,7 +3296,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2731
3296
  * @request GET:/v1beta1/organizations/{id}/preferences
2732
3297
  * @secure
2733
3298
  */
2734
- frontierServiceListOrganizationPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationPreferencesResponse, RpcStatus>>;
3299
+ frontierServiceListOrganizationPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationPreferencesResponse, GooglerpcStatus>>;
2735
3300
  /**
2736
3301
  * @description Create a new organization preferences. The organization preferences **name** must be unique within the organization and can contain only alphanumeric characters, dashes and underscores.
2737
3302
  *
@@ -2743,7 +3308,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2743
3308
  */
2744
3309
  frontierServiceCreateOrganizationPreferences: (id: string, body: {
2745
3310
  bodies?: V1Beta1PreferenceRequestBody[];
2746
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationPreferencesResponse, RpcStatus>>;
3311
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationPreferencesResponse, GooglerpcStatus>>;
2747
3312
  /**
2748
3313
  * @description Get all projects that belong to an organization
2749
3314
  *
@@ -2757,7 +3322,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2757
3322
  /** Filter projects by state. If not specified, all projects are returned. <br/> *Possible values:* `enabled` or `disabled` */
2758
3323
  state?: string;
2759
3324
  with_member_count?: boolean;
2760
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationProjectsResponse, RpcStatus>>;
3325
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationProjectsResponse, GooglerpcStatus>>;
2761
3326
  /**
2762
3327
  * No description
2763
3328
  *
@@ -2767,7 +3332,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2767
3332
  * @request GET:/v1beta1/organizations/{id}/serviceusers
2768
3333
  * @secure
2769
3334
  */
2770
- frontierServiceListOrganizationServiceUsers: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationServiceUsersResponse, RpcStatus>>;
3335
+ frontierServiceListOrganizationServiceUsers: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationServiceUsersResponse, GooglerpcStatus>>;
2771
3336
  /**
2772
3337
  * No description
2773
3338
  *
@@ -2781,7 +3346,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2781
3346
  permission_filter?: string;
2782
3347
  with_roles?: boolean;
2783
3348
  role_filters?: string[];
2784
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationUsersResponse, RpcStatus>>;
3349
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationUsersResponse, GooglerpcStatus>>;
2785
3350
  /**
2786
3351
  * @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
2787
3352
  *
@@ -2794,7 +3359,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2794
3359
  frontierServiceAddOrganizationUsers: (id: string, body: {
2795
3360
  /** List of user IDs to be added to the organization. */
2796
3361
  user_ids?: string[];
2797
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3362
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2798
3363
  /**
2799
3364
  * @description Remove a user from an organization
2800
3365
  *
@@ -2804,7 +3369,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2804
3369
  * @request DELETE:/v1beta1/organizations/{id}/users/{user_id}
2805
3370
  * @secure
2806
3371
  */
2807
- frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3372
+ frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2808
3373
  /**
2809
3374
  * @description Returns a list of audit logs of an organization in Frontier.
2810
3375
  *
@@ -2825,7 +3390,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2825
3390
  start_time?: string;
2826
3391
  /** @format date-time */
2827
3392
  end_time?: string;
2828
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAuditLogsResponse, RpcStatus>>;
3393
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAuditLogsResponse, GooglerpcStatus>>;
2829
3394
  /**
2830
3395
  * @description Create new audit logs in a batch.
2831
3396
  *
@@ -2837,7 +3402,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2837
3402
  */
2838
3403
  frontierServiceCreateOrganizationAuditLogs: (orgId: string, body: {
2839
3404
  logs?: V1Beta1AuditLog[];
2840
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3405
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
2841
3406
  /**
2842
3407
  * @description Get an audit log by ID.
2843
3408
  *
@@ -2847,7 +3412,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2847
3412
  * @request GET:/v1beta1/organizations/{org_id}/auditlogs/{id}
2848
3413
  * @secure
2849
3414
  */
2850
- frontierServiceGetOrganizationAuditLog: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationAuditLogResponse, RpcStatus>>;
3415
+ frontierServiceGetOrganizationAuditLog: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationAuditLogResponse, GooglerpcStatus>>;
2851
3416
  /**
2852
3417
  * @description List billing accounts of an organization.
2853
3418
  *
@@ -2859,7 +3424,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2859
3424
  */
2860
3425
  frontierServiceListBillingAccounts: (orgId: string, query?: {
2861
3426
  expand?: string[];
2862
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingAccountsResponse, RpcStatus>>;
3427
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingAccountsResponse, GooglerpcStatus>>;
2863
3428
  /**
2864
3429
  * @description Create a new billing account for an organization.
2865
3430
  *
@@ -2874,7 +3439,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2874
3439
  body?: V1Beta1BillingAccountRequestBody | undefined;
2875
3440
  /** Offline billing account don't get registered with billing provider */
2876
3441
  offline?: boolean | undefined;
2877
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, RpcStatus>>;
3442
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateBillingAccountResponse, GooglerpcStatus>>;
2878
3443
  /**
2879
3444
  * @description Check if a billing account is entitled to a feature.
2880
3445
  *
@@ -2892,7 +3457,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2892
3457
  project_id?: string;
2893
3458
  /** feature or product name */
2894
3459
  feature?: string;
2895
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, RpcStatus>>;
3460
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, GooglerpcStatus>>;
2896
3461
  /**
2897
3462
  * @description List all checkouts of a billing account.
2898
3463
  *
@@ -2902,7 +3467,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2902
3467
  * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts
2903
3468
  * @secure
2904
3469
  */
2905
- frontierServiceListCheckouts: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
3470
+ frontierServiceListCheckouts: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, GooglerpcStatus>>;
2906
3471
  /**
2907
3472
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account.
2908
3473
  *
@@ -2921,7 +3486,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2921
3486
  product_body?: V1Beta1CheckoutProductBody;
2922
3487
  /** Payment method setup */
2923
3488
  setup_body?: V1Beta1CheckoutSetupBody;
2924
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
3489
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, GooglerpcStatus>>;
2925
3490
  /**
2926
3491
  * @description Get a checkout by ID.
2927
3492
  *
@@ -2931,7 +3496,17 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2931
3496
  * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts/{id}
2932
3497
  * @secure
2933
3498
  */
2934
- frontierServiceGetCheckout: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCheckoutResponse, RpcStatus>>;
3499
+ frontierServiceGetCheckout: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCheckoutResponse, GooglerpcStatus>>;
3500
+ /**
3501
+ * @description Sum of amount of debited transactions including refunds
3502
+ *
3503
+ * @tags Transaction
3504
+ * @name FrontierServiceTotalDebitedTransactions
3505
+ * @summary Sum of amount of debited transactions including refunds
3506
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/debited_transactions_total
3507
+ * @secure
3508
+ */
3509
+ frontierServiceTotalDebitedTransactions: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1TotalDebitedTransactionsResponse, GooglerpcStatus>>;
2935
3510
  /**
2936
3511
  * @description List all invoices of a billing account.
2937
3512
  *
@@ -2944,7 +3519,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2944
3519
  frontierServiceListInvoices: (orgId: string, billingId: string, query?: {
2945
3520
  nonzero_amount_only?: boolean;
2946
3521
  expand?: string[];
2947
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListInvoicesResponse, RpcStatus>>;
3522
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListInvoicesResponse, GooglerpcStatus>>;
2948
3523
  /**
2949
3524
  * @description Get the upcoming invoice of a billing account.
2950
3525
  *
@@ -2954,7 +3529,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2954
3529
  * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/invoices/upcoming
2955
3530
  * @secure
2956
3531
  */
2957
- frontierServiceGetUpcomingInvoice: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, RpcStatus>>;
3532
+ frontierServiceGetUpcomingInvoice: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, GooglerpcStatus>>;
2958
3533
  /**
2959
3534
  * @description List subscriptions of a billing account.
2960
3535
  *
@@ -2969,7 +3544,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2969
3544
  state?: string;
2970
3545
  plan?: string;
2971
3546
  expand?: string[];
2972
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
3547
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, GooglerpcStatus>>;
2973
3548
  /**
2974
3549
  * @description Get a subscription by ID.
2975
3550
  *
@@ -2981,7 +3556,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2981
3556
  */
2982
3557
  frontierServiceGetSubscription: (orgId: string, billingId: string, id: string, query?: {
2983
3558
  expand?: string[];
2984
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
3559
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, GooglerpcStatus>>;
2985
3560
  /**
2986
3561
  * @description Update a subscription by ID.
2987
3562
  *
@@ -2993,7 +3568,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2993
3568
  */
2994
3569
  frontierServiceUpdateSubscription: (orgId: string, billingId: string, id: string, body: {
2995
3570
  metadata?: object;
2996
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateSubscriptionResponse, RpcStatus>>;
3571
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateSubscriptionResponse, GooglerpcStatus>>;
2997
3572
  /**
2998
3573
  * @description Cancel a subscription by ID.
2999
3574
  *
@@ -3005,7 +3580,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3005
3580
  */
3006
3581
  frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, body: {
3007
3582
  immediate?: boolean;
3008
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3583
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3009
3584
  /**
3010
3585
  * @description Change a subscription plan by ID.
3011
3586
  *
@@ -3028,7 +3603,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3028
3603
  immediate?: boolean;
3029
3604
  plan_change?: ChangeSubscriptionRequestPlanChange;
3030
3605
  phase_change?: ChangeSubscriptionRequestPhaseChange;
3031
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ChangeSubscriptionResponse, RpcStatus>>;
3606
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ChangeSubscriptionResponse, GooglerpcStatus>>;
3032
3607
  /**
3033
3608
  * @description List all transactions of a billing account.
3034
3609
  *
@@ -3046,7 +3621,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3046
3621
  /** @format date-time */
3047
3622
  end_range?: string;
3048
3623
  expand?: string[];
3049
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
3624
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, GooglerpcStatus>>;
3050
3625
  /**
3051
3626
  * @description Report a new billing usage for a billing account.
3052
3627
  *
@@ -3064,7 +3639,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3064
3639
  project_id?: string;
3065
3640
  /** Usage to create */
3066
3641
  usages?: V1Beta1Usage[];
3067
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3642
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3068
3643
  /**
3069
3644
  * @description Get a billing account by ID.
3070
3645
  *
@@ -3077,7 +3652,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3077
3652
  frontierServiceGetBillingAccount: (orgId: string, id: string, query?: {
3078
3653
  with_payment_methods?: boolean;
3079
3654
  expand?: string[];
3080
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
3655
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, GooglerpcStatus>>;
3081
3656
  /**
3082
3657
  * @description Delete a billing account by ID.
3083
3658
  *
@@ -3087,7 +3662,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3087
3662
  * @request DELETE:/v1beta1/organizations/{org_id}/billing/{id}
3088
3663
  * @secure
3089
3664
  */
3090
- frontierServiceDeleteBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3665
+ frontierServiceDeleteBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3091
3666
  /**
3092
3667
  * @description Update a billing account by ID.
3093
3668
  *
@@ -3100,7 +3675,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3100
3675
  frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
3101
3676
  /** Billing account to update. */
3102
3677
  body?: V1Beta1BillingAccountRequestBody | undefined;
3103
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, RpcStatus>>;
3678
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateBillingAccountResponse, GooglerpcStatus>>;
3104
3679
  /**
3105
3680
  * @description Get the balance of a billing account by ID.
3106
3681
  *
@@ -3110,7 +3685,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3110
3685
  * @request GET:/v1beta1/organizations/{org_id}/billing/{id}/balance
3111
3686
  * @secure
3112
3687
  */
3113
- frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, RpcStatus>>;
3688
+ frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, GooglerpcStatus>>;
3114
3689
  /**
3115
3690
  * @description Disable a billing account by ID. Disabling a billing account doesn't automatically disable it's active subscriptions.
3116
3691
  *
@@ -3120,7 +3695,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3120
3695
  * @request POST:/v1beta1/organizations/{org_id}/billing/{id}/disable
3121
3696
  * @secure
3122
3697
  */
3123
- frontierServiceDisableBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3698
+ frontierServiceDisableBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3124
3699
  /**
3125
3700
  * @description Enable a billing account by ID.
3126
3701
  *
@@ -3130,7 +3705,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3130
3705
  * @request POST:/v1beta1/organizations/{org_id}/billing/{id}/enable
3131
3706
  * @secure
3132
3707
  */
3133
- frontierServiceEnableBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3708
+ frontierServiceEnableBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3134
3709
  /**
3135
3710
  * @description Check if a billing account has trialed.
3136
3711
  *
@@ -3140,7 +3715,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3140
3715
  * @request GET:/v1beta1/organizations/{org_id}/billing/{id}/plans/{plan_id}/trialed
3141
3716
  * @secure
3142
3717
  */
3143
- frontierServiceHasTrialed: (orgId: string, id: string, planId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1HasTrialedResponse, RpcStatus>>;
3718
+ frontierServiceHasTrialed: (orgId: string, id: string, planId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1HasTrialedResponse, GooglerpcStatus>>;
3144
3719
  /**
3145
3720
  * @description Register a billing account to a provider if it's not already.
3146
3721
  *
@@ -3150,7 +3725,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3150
3725
  * @request POST:/v1beta1/organizations/{org_id}/billing/{id}/register
3151
3726
  * @secure
3152
3727
  */
3153
- frontierServiceRegisterBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3728
+ frontierServiceRegisterBillingAccount: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3154
3729
  /**
3155
3730
  * @description List all checkouts of a billing account.
3156
3731
  *
@@ -3163,7 +3738,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3163
3738
  frontierServiceListCheckouts2: (orgId: string, query?: {
3164
3739
  /** ID of the billing account to get the subscriptions for */
3165
3740
  billing_id?: string;
3166
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
3741
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, GooglerpcStatus>>;
3167
3742
  /**
3168
3743
  * @description Checkout a product to buy it one time or start a subscription plan on a billing account.
3169
3744
  *
@@ -3184,7 +3759,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3184
3759
  product_body?: V1Beta1CheckoutProductBody;
3185
3760
  /** Payment method setup */
3186
3761
  setup_body?: V1Beta1CheckoutSetupBody;
3187
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
3762
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, GooglerpcStatus>>;
3188
3763
  /**
3189
3764
  * @description Get a checkout by ID.
3190
3765
  *
@@ -3197,7 +3772,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3197
3772
  frontierServiceGetCheckout2: (orgId: string, id: string, query?: {
3198
3773
  /** ID of the billing account to get the subscriptions for */
3199
3774
  billing_id?: string;
3200
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCheckoutResponse, RpcStatus>>;
3775
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCheckoutResponse, GooglerpcStatus>>;
3201
3776
  /**
3202
3777
  * @description List all invoices of a billing account.
3203
3778
  *
@@ -3212,7 +3787,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3212
3787
  billing_id?: string;
3213
3788
  nonzero_amount_only?: boolean;
3214
3789
  expand?: string[];
3215
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListInvoicesResponse, RpcStatus>>;
3790
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListInvoicesResponse, GooglerpcStatus>>;
3216
3791
  /**
3217
3792
  * @description Get the upcoming invoice of a billing account.
3218
3793
  *
@@ -3225,7 +3800,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3225
3800
  frontierServiceGetUpcomingInvoice2: (orgId: string, query?: {
3226
3801
  /** ID of the billing account to get the upcoming invoice for */
3227
3802
  billing_id?: string;
3228
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, RpcStatus>>;
3803
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, GooglerpcStatus>>;
3229
3804
  /**
3230
3805
  * @description List subscriptions of a billing account.
3231
3806
  *
@@ -3242,7 +3817,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3242
3817
  state?: string;
3243
3818
  plan?: string;
3244
3819
  expand?: string[];
3245
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
3820
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, GooglerpcStatus>>;
3246
3821
  /**
3247
3822
  * @description Get a subscription by ID.
3248
3823
  *
@@ -3256,7 +3831,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3256
3831
  /** ID of the billing account to get the subscription for */
3257
3832
  billing_id?: string;
3258
3833
  expand?: string[];
3259
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
3834
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, GooglerpcStatus>>;
3260
3835
  /**
3261
3836
  * @description Update a subscription by ID.
3262
3837
  *
@@ -3270,7 +3845,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3270
3845
  /** ID of the billing account to update the subscription for */
3271
3846
  billing_id?: string;
3272
3847
  metadata?: object;
3273
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateSubscriptionResponse, RpcStatus>>;
3848
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateSubscriptionResponse, GooglerpcStatus>>;
3274
3849
  /**
3275
3850
  * @description Cancel a subscription by ID.
3276
3851
  *
@@ -3284,7 +3859,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3284
3859
  /** ID of the billing account to update the subscription for */
3285
3860
  billing_id?: string;
3286
3861
  immediate?: boolean;
3287
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3862
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3288
3863
  /**
3289
3864
  * @description Change a subscription plan by ID.
3290
3865
  *
@@ -3309,7 +3884,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3309
3884
  immediate?: boolean;
3310
3885
  plan_change?: ChangeSubscriptionRequestPlanChange;
3311
3886
  phase_change?: ChangeSubscriptionRequestPhaseChange;
3312
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ChangeSubscriptionResponse, RpcStatus>>;
3887
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ChangeSubscriptionResponse, GooglerpcStatus>>;
3313
3888
  /**
3314
3889
  * @description List all transactions of a billing account.
3315
3890
  *
@@ -3329,7 +3904,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3329
3904
  /** @format date-time */
3330
3905
  end_range?: string;
3331
3906
  expand?: string[];
3332
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
3907
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, GooglerpcStatus>>;
3333
3908
  /**
3334
3909
  * @description Returns all domains whitelisted for an organization (both pending and verified if no filters are provided for the state). The verified domains allow users email with the org's whitelisted domain to join the organization without invitation.
3335
3910
  *
@@ -3342,7 +3917,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3342
3917
  frontierServiceListOrganizationDomains: (orgId: string, query?: {
3343
3918
  /** filter to list domains by their state (pending/verified). If not provided, all domains for an org will be listed */
3344
3919
  state?: string;
3345
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationDomainsResponse, RpcStatus>>;
3920
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationDomainsResponse, GooglerpcStatus>>;
3346
3921
  /**
3347
3922
  * @description Add a domain to an organization which if verified allows all users of the same domain to be signed up to the organization without invitation. This API generates a verification token for a domain which must be added to your domain's DNS provider as a TXT record should be verified with Frontier VerifyOrganizationDomain API before it can be used as an Organization's trusted domain to sign up users.
3348
3923
  *
@@ -3355,7 +3930,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3355
3930
  frontierServiceCreateOrganizationDomain: (orgId: string, body: {
3356
3931
  /** domain name to be added to the trusted domain list */
3357
3932
  domain: string;
3358
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationDomainResponse, RpcStatus>>;
3933
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationDomainResponse, GooglerpcStatus>>;
3359
3934
  /**
3360
3935
  * @description Get a domain from the list of an organization's whitelisted domains. Returns both verified and unverified domains by their ID
3361
3936
  *
@@ -3365,7 +3940,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3365
3940
  * @request GET:/v1beta1/organizations/{org_id}/domains/{id}
3366
3941
  * @secure
3367
3942
  */
3368
- frontierServiceGetOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationDomainResponse, RpcStatus>>;
3943
+ frontierServiceGetOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationDomainResponse, GooglerpcStatus>>;
3369
3944
  /**
3370
3945
  * @description Remove a domain from the list of an organization's trusted domains list
3371
3946
  *
@@ -3375,7 +3950,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3375
3950
  * @request DELETE:/v1beta1/organizations/{org_id}/domains/{id}
3376
3951
  * @secure
3377
3952
  */
3378
- frontierServiceDeleteOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3953
+ frontierServiceDeleteOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3379
3954
  /**
3380
3955
  * @description Verify a domain for an organization with a verification token generated by Frontier GenerateDomainVerificationToken API. The token must be added to your domain's DNS provider as a TXT record before it can be verified. This API returns the state of the domain (pending/verified) after verification.
3381
3956
  *
@@ -3385,7 +3960,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3385
3960
  * @request POST:/v1beta1/organizations/{org_id}/domains/{id}/verify
3386
3961
  * @secure
3387
3962
  */
3388
- frontierServiceVerifyOrganizationDomain: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<V1Beta1VerifyOrganizationDomainResponse, RpcStatus>>;
3963
+ frontierServiceVerifyOrganizationDomain: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<V1Beta1VerifyOrganizationDomainResponse, GooglerpcStatus>>;
3389
3964
  /**
3390
3965
  * @description Get all groups that belong to an organization. The results can be filtered by state which can be either be enabled or disabled.
3391
3966
  *
@@ -3401,7 +3976,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3401
3976
  group_ids?: string[];
3402
3977
  with_members?: boolean;
3403
3978
  with_member_count?: boolean;
3404
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationGroupsResponse, RpcStatus>>;
3979
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationGroupsResponse, GooglerpcStatus>>;
3405
3980
  /**
3406
3981
  * @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.
3407
3982
  *
@@ -3411,7 +3986,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3411
3986
  * @request POST:/v1beta1/organizations/{org_id}/groups
3412
3987
  * @secure
3413
3988
  */
3414
- frontierServiceCreateGroup: (orgId: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupResponse, RpcStatus>>;
3989
+ frontierServiceCreateGroup: (orgId: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupResponse, GooglerpcStatus>>;
3415
3990
  /**
3416
3991
  * No description
3417
3992
  *
@@ -3423,7 +3998,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3423
3998
  */
3424
3999
  frontierServiceGetGroup: (orgId: string, id: string, query?: {
3425
4000
  with_members?: boolean;
3426
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, RpcStatus>>;
4001
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, GooglerpcStatus>>;
3427
4002
  /**
3428
4003
  * @description Delete an organization group permanently and all of its relations
3429
4004
  *
@@ -3433,7 +4008,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3433
4008
  * @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}
3434
4009
  * @secure
3435
4010
  */
3436
- frontierServiceDeleteGroup: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4011
+ frontierServiceDeleteGroup: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3437
4012
  /**
3438
4013
  * No description
3439
4014
  *
@@ -3443,7 +4018,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3443
4018
  * @request PUT:/v1beta1/organizations/{org_id}/groups/{id}
3444
4019
  * @secure
3445
4020
  */
3446
- frontierServiceUpdateGroup: (orgId: string, id: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateGroupResponse, RpcStatus>>;
4021
+ frontierServiceUpdateGroup: (orgId: string, id: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateGroupResponse, GooglerpcStatus>>;
3447
4022
  /**
3448
4023
  * @description Sets the state of the group as disabled. The group will not be available for access control and the existing users in the group will not be able to access any resources that are assigned to the group. No other users can be added to the group while it is disabled.
3449
4024
  *
@@ -3453,7 +4028,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3453
4028
  * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/disable
3454
4029
  * @secure
3455
4030
  */
3456
- frontierServiceDisableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4031
+ frontierServiceDisableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3457
4032
  /**
3458
4033
  * @description Sets the state of the group as enabled. The `enabled` flag is used to determine if the group can be used for access control.
3459
4034
  *
@@ -3463,7 +4038,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3463
4038
  * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/enable
3464
4039
  * @secure
3465
4040
  */
3466
- frontierServiceEnableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4041
+ frontierServiceEnableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3467
4042
  /**
3468
4043
  * @description Returns a list of users that belong to a group.
3469
4044
  *
@@ -3475,7 +4050,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3475
4050
  */
3476
4051
  frontierServiceListGroupUsers: (orgId: string, id: string, query?: {
3477
4052
  with_roles?: boolean;
3478
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupUsersResponse, RpcStatus>>;
4053
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupUsersResponse, GooglerpcStatus>>;
3479
4054
  /**
3480
4055
  * @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.
3481
4056
  *
@@ -3487,7 +4062,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3487
4062
  */
3488
4063
  frontierServiceAddGroupUsers: (orgId: string, id: string, body: {
3489
4064
  user_ids?: string[];
3490
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4065
+ }, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3491
4066
  /**
3492
4067
  * @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.
3493
4068
  *
@@ -3497,7 +4072,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3497
4072
  * @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}/users/{user_id}
3498
4073
  * @secure
3499
4074
  */
3500
- frontierServiceRemoveGroupUser: (orgId: string, id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4075
+ frontierServiceRemoveGroupUser: (orgId: string, id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3501
4076
  /**
3502
4077
  * @description Returns all pending invitations queued for an organization
3503
4078
  *
@@ -3510,7 +4085,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3510
4085
  frontierServiceListOrganizationInvitations: (orgId: string, query?: {
3511
4086
  /** user_id filter is the email id of user who are invited inside the organization. */
3512
4087
  user_id?: string;
3513
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationInvitationsResponse, RpcStatus>>;
4088
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationInvitationsResponse, GooglerpcStatus>>;
3514
4089
  /**
3515
4090
  * @description Invite users to an organization, if user is not registered on the platform, it will be notified. Invitations expire in 7 days
3516
4091
  *
@@ -3527,7 +4102,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3527
4102
  group_ids?: string[];
3528
4103
  /** list of role ids to which user needs to be added as a member. Roles are binded at organization level by default. */
3529
4104
  role_ids?: string[];
3530
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationInvitationResponse, RpcStatus>>;
4105
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationInvitationResponse, GooglerpcStatus>>;
3531
4106
  /**
3532
4107
  * @description Returns a pending invitation queued for an organization
3533
4108
  *
@@ -3537,7 +4112,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3537
4112
  * @request GET:/v1beta1/organizations/{org_id}/invitations/{id}
3538
4113
  * @secure
3539
4114
  */
3540
- frontierServiceGetOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationInvitationResponse, RpcStatus>>;
4115
+ frontierServiceGetOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationInvitationResponse, GooglerpcStatus>>;
3541
4116
  /**
3542
4117
  * @description Delete a pending invitation queued for an organization
3543
4118
  *
@@ -3547,7 +4122,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3547
4122
  * @request DELETE:/v1beta1/organizations/{org_id}/invitations/{id}
3548
4123
  * @secure
3549
4124
  */
3550
- frontierServiceDeleteOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4125
+ frontierServiceDeleteOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3551
4126
  /**
3552
4127
  * @description Accept pending invitation queued for an organization. The user will be added to the organization and groups defined in the invitation
3553
4128
  *
@@ -3557,7 +4132,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3557
4132
  * @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
3558
4133
  * @secure
3559
4134
  */
3560
- frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4135
+ frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3561
4136
  /**
3562
4137
  * @description Allows the current logged in user to join the Org if one is not a part of it. The user will only be able to join when the user email's domain matches the organization's whitelisted domains.
3563
4138
  *
@@ -3567,7 +4142,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3567
4142
  * @request POST:/v1beta1/organizations/{org_id}/join
3568
4143
  * @secure
3569
4144
  */
3570
- frontierServiceJoinOrganization: (orgId: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4145
+ frontierServiceJoinOrganization: (orgId: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3571
4146
  /**
3572
4147
  * @description Get KYC info of an organization using ID or name
3573
4148
  *
@@ -3577,7 +4152,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3577
4152
  * @request GET:/v1beta1/organizations/{org_id}/kyc
3578
4153
  * @secure
3579
4154
  */
3580
- frontierServiceGetOrganizationKyc: (orgId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationKycResponse, RpcStatus>>;
4155
+ frontierServiceGetOrganizationKyc: (orgId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationKycResponse, GooglerpcStatus>>;
3581
4156
  /**
3582
4157
  * @description Returns a list of custom roles created under an organization with their associated permissions
3583
4158
  *
@@ -3590,7 +4165,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3590
4165
  frontierServiceListOrganizationRoles: (orgId: string, query?: {
3591
4166
  state?: string;
3592
4167
  scopes?: string[];
3593
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationRolesResponse, RpcStatus>>;
4168
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationRolesResponse, GooglerpcStatus>>;
3594
4169
  /**
3595
4170
  * @description Create a custom role under an organization. This custom role will only be available for assignment to the principles within the organization.
3596
4171
  *
@@ -3600,7 +4175,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3600
4175
  * @request POST:/v1beta1/organizations/{org_id}/roles
3601
4176
  * @secure
3602
4177
  */
3603
- frontierServiceCreateOrganizationRole: (orgId: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationRoleResponse, RpcStatus>>;
4178
+ frontierServiceCreateOrganizationRole: (orgId: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationRoleResponse, GooglerpcStatus>>;
3604
4179
  /**
3605
4180
  * @description Returns a custom role under an organization along with its associated permissions
3606
4181
  *
@@ -3610,7 +4185,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3610
4185
  * @request GET:/v1beta1/organizations/{org_id}/roles/{id}
3611
4186
  * @secure
3612
4187
  */
3613
- frontierServiceGetOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationRoleResponse, RpcStatus>>;
4188
+ frontierServiceGetOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationRoleResponse, GooglerpcStatus>>;
3614
4189
  /**
3615
4190
  * @description Delete a custom role and all of its relations under an organization permanently.
3616
4191
  *
@@ -3620,7 +4195,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3620
4195
  * @request DELETE:/v1beta1/organizations/{org_id}/roles/{id}
3621
4196
  * @secure
3622
4197
  */
3623
- frontierServiceDeleteOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4198
+ frontierServiceDeleteOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3624
4199
  /**
3625
4200
  * @description Update a custom role under an organization. This custom role will only be available for assignment to the principles within the organization.
3626
4201
  *
@@ -3630,7 +4205,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3630
4205
  * @request PUT:/v1beta1/organizations/{org_id}/roles/{id}
3631
4206
  * @secure
3632
4207
  */
3633
- frontierServiceUpdateOrganizationRole: (orgId: string, id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationRoleResponse, RpcStatus>>;
4208
+ frontierServiceUpdateOrganizationRole: (orgId: string, id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationRoleResponse, GooglerpcStatus>>;
3634
4209
  /**
3635
4210
  * @description Create a service user.
3636
4211
  *
@@ -3642,7 +4217,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3642
4217
  */
3643
4218
  frontierServiceCreateServiceUser: (orgId: string, body: {
3644
4219
  body?: V1Beta1ServiceUserRequestBody | undefined;
3645
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserResponse, RpcStatus>>;
4220
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserResponse, GooglerpcStatus>>;
3646
4221
  /**
3647
4222
  * @description Get service user details by its id.
3648
4223
  *
@@ -3652,7 +4227,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3652
4227
  * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}
3653
4228
  * @secure
3654
4229
  */
3655
- frontierServiceGetServiceUser: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserResponse, RpcStatus>>;
4230
+ frontierServiceGetServiceUser: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserResponse, GooglerpcStatus>>;
3656
4231
  /**
3657
4232
  * @description Delete a service user permanently and all of its relations (keys, organizations, roles, etc)
3658
4233
  *
@@ -3662,7 +4237,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3662
4237
  * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}
3663
4238
  * @secure
3664
4239
  */
3665
- frontierServiceDeleteServiceUser: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4240
+ frontierServiceDeleteServiceUser: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3666
4241
  /**
3667
4242
  * @description List all the keys of a service user with its details except jwk.
3668
4243
  *
@@ -3672,7 +4247,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3672
4247
  * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys
3673
4248
  * @secure
3674
4249
  */
3675
- frontierServiceListServiceUserJwKs: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserJWKsResponse, RpcStatus>>;
4250
+ frontierServiceListServiceUserJwKs: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserJWKsResponse, GooglerpcStatus>>;
3676
4251
  /**
3677
4252
  * @description Generate a service user key and return it, the private key part of the response will not be persisted and should be kept securely by client.
3678
4253
  *
@@ -3684,7 +4259,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3684
4259
  */
3685
4260
  frontierServiceCreateServiceUserJwk: (orgId: string, id: string, body: {
3686
4261
  title?: string;
3687
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserJWKResponse, RpcStatus>>;
4262
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserJWKResponse, GooglerpcStatus>>;
3688
4263
  /**
3689
4264
  * @description Get a service user public RSA JWK set.
3690
4265
  *
@@ -3694,7 +4269,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3694
4269
  * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys/{key_id}
3695
4270
  * @secure
3696
4271
  */
3697
- frontierServiceGetServiceUserJwk: (orgId: string, id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserJWKResponse, RpcStatus>>;
4272
+ frontierServiceGetServiceUserJwk: (orgId: string, id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserJWKResponse, GooglerpcStatus>>;
3698
4273
  /**
3699
4274
  * @description Delete a service user key permanently.
3700
4275
  *
@@ -3704,7 +4279,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3704
4279
  * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/keys/{key_id}
3705
4280
  * @secure
3706
4281
  */
3707
- frontierServiceDeleteServiceUserJwk: (orgId: string, id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4282
+ frontierServiceDeleteServiceUserJwk: (orgId: string, id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3708
4283
  /**
3709
4284
  * @description List all projects the service user belongs to
3710
4285
  *
@@ -3721,7 +4296,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3721
4296
  * to be represented as array
3722
4297
  */
3723
4298
  with_permissions?: string[];
3724
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserProjectsResponse, RpcStatus>>;
4299
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserProjectsResponse, GooglerpcStatus>>;
3725
4300
  /**
3726
4301
  * @description List all the credentials of a service user.
3727
4302
  *
@@ -3731,7 +4306,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3731
4306
  * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets
3732
4307
  * @secure
3733
4308
  */
3734
- frontierServiceListServiceUserCredentials: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserCredentialsResponse, RpcStatus>>;
4309
+ frontierServiceListServiceUserCredentials: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserCredentialsResponse, GooglerpcStatus>>;
3735
4310
  /**
3736
4311
  * @description Generate a service user credential and return it. The credential value will not be persisted and should be securely stored by client.
3737
4312
  *
@@ -3743,7 +4318,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3743
4318
  */
3744
4319
  frontierServiceCreateServiceUserCredential: (orgId: string, id: string, body: {
3745
4320
  title?: string;
3746
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserCredentialResponse, RpcStatus>>;
4321
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserCredentialResponse, GooglerpcStatus>>;
3747
4322
  /**
3748
4323
  * @description Delete a service user credential.
3749
4324
  *
@@ -3753,7 +4328,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3753
4328
  * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/secrets/{secret_id}
3754
4329
  * @secure
3755
4330
  */
3756
- frontierServiceDeleteServiceUserCredential: (orgId: string, id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4331
+ frontierServiceDeleteServiceUserCredential: (orgId: string, id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3757
4332
  /**
3758
4333
  * @description List all the tokens of a service user.
3759
4334
  *
@@ -3763,7 +4338,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3763
4338
  * @request GET:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens
3764
4339
  * @secure
3765
4340
  */
3766
- frontierServiceListServiceUserTokens: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserTokensResponse, RpcStatus>>;
4341
+ frontierServiceListServiceUserTokens: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUserTokensResponse, GooglerpcStatus>>;
3767
4342
  /**
3768
4343
  * @description Generate a service user token and return it. The token value will not be persisted and should be securely stored by client.
3769
4344
  *
@@ -3775,7 +4350,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3775
4350
  */
3776
4351
  frontierServiceCreateServiceUserToken: (orgId: string, id: string, body: {
3777
4352
  title?: string;
3778
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserTokenResponse, RpcStatus>>;
4353
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateServiceUserTokenResponse, GooglerpcStatus>>;
3779
4354
  /**
3780
4355
  * @description Delete a service user token.
3781
4356
  *
@@ -3785,7 +4360,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3785
4360
  * @request DELETE:/v1beta1/organizations/{org_id}/serviceusers/{id}/tokens/{token_id}
3786
4361
  * @secure
3787
4362
  */
3788
- frontierServiceDeleteServiceUserToken: (orgId: string, id: string, tokenId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4363
+ frontierServiceDeleteServiceUserToken: (orgId: string, id: string, tokenId: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3789
4364
  /**
3790
4365
  * @description Check if a billing account is entitled to a feature.
3791
4366
  *
@@ -3795,7 +4370,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3795
4370
  * @request POST:/v1beta1/organizations/billing/check
3796
4371
  * @secure
3797
4372
  */
3798
- frontierServiceCheckFeatureEntitlement2: (body: V1Beta1CheckFeatureEntitlementRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, RpcStatus>>;
4373
+ frontierServiceCheckFeatureEntitlement2: (body: V1Beta1CheckFeatureEntitlementRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, GooglerpcStatus>>;
3799
4374
  /**
3800
4375
  * @description Report a new billing usage for a billing account.
3801
4376
  *
@@ -3805,7 +4380,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3805
4380
  * @request POST:/v1beta1/organizations/billing/usages
3806
4381
  * @secure
3807
4382
  */
3808
- frontierServiceCreateBillingUsage2: (body: V1Beta1CreateBillingUsageRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4383
+ frontierServiceCreateBillingUsage2: (body: V1Beta1CreateBillingUsageRequest, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3809
4384
  /**
3810
4385
  * @description Revert billing usage for a billing account.
3811
4386
  *
@@ -3815,7 +4390,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3815
4390
  * @request POST:/v1beta1/organizations/billing/usages/revert
3816
4391
  * @secure
3817
4392
  */
3818
- adminServiceRevertBillingUsage2: (body: V1Beta1RevertBillingUsageRequest, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4393
+ adminServiceRevertBillingUsage2: (body: V1Beta1RevertBillingUsageRequest, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3819
4394
  /**
3820
4395
  * No description
3821
4396
  *
@@ -3825,7 +4400,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3825
4400
  * @request GET:/v1beta1/permissions
3826
4401
  * @secure
3827
4402
  */
3828
- frontierServiceListPermissions: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPermissionsResponse, RpcStatus>>;
4403
+ frontierServiceListPermissions: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPermissionsResponse, GooglerpcStatus>>;
3829
4404
  /**
3830
4405
  * @description Creates a permission. It can be used to grant permissions to all the resources in a Frontier instance.
3831
4406
  *
@@ -3835,7 +4410,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3835
4410
  * @request POST:/v1beta1/permissions
3836
4411
  * @secure
3837
4412
  */
3838
- adminServiceCreatePermission: (body: V1Beta1CreatePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePermissionResponse, RpcStatus>>;
4413
+ adminServiceCreatePermission: (body: V1Beta1CreatePermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePermissionResponse, GooglerpcStatus>>;
3839
4414
  /**
3840
4415
  * @description Returns a permission by ID
3841
4416
  *
@@ -3845,7 +4420,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3845
4420
  * @request GET:/v1beta1/permissions/{id}
3846
4421
  * @secure
3847
4422
  */
3848
- frontierServiceGetPermission: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPermissionResponse, RpcStatus>>;
4423
+ frontierServiceGetPermission: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPermissionResponse, GooglerpcStatus>>;
3849
4424
  /**
3850
4425
  * No description
3851
4426
  *
@@ -3855,7 +4430,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3855
4430
  * @request DELETE:/v1beta1/permissions/{id}
3856
4431
  * @secure
3857
4432
  */
3858
- adminServiceDeletePermission: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4433
+ adminServiceDeletePermission: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3859
4434
  /**
3860
4435
  * @description Updates a permission by ID. It can be used to grant permissions to all the resources in a Frontier instance.
3861
4436
  *
@@ -3865,7 +4440,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3865
4440
  * @request PUT:/v1beta1/permissions/{id}
3866
4441
  * @secure
3867
4442
  */
3868
- adminServiceUpdatePermission: (id: string, body: V1Beta1PermissionRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePermissionResponse, RpcStatus>>;
4443
+ adminServiceUpdatePermission: (id: string, body: V1Beta1PermissionRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePermissionResponse, GooglerpcStatus>>;
3869
4444
  /**
3870
4445
  * @description Lists all the policies from all the organizations in a Frontier instance. It can be filtered by organization, project, user, role and group.
3871
4446
  *
@@ -3886,7 +4461,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3886
4461
  role_id?: string;
3887
4462
  /** The group id to filter by. */
3888
4463
  group_id?: string;
3889
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPoliciesResponse, RpcStatus>>;
4464
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPoliciesResponse, GooglerpcStatus>>;
3890
4465
  /**
3891
4466
  * @description Creates a policy
3892
4467
  *
@@ -3896,7 +4471,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3896
4471
  * @request POST:/v1beta1/policies
3897
4472
  * @secure
3898
4473
  */
3899
- frontierServiceCreatePolicy: (body: V1Beta1PolicyRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePolicyResponse, RpcStatus>>;
4474
+ frontierServiceCreatePolicy: (body: V1Beta1PolicyRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePolicyResponse, GooglerpcStatus>>;
3900
4475
  /**
3901
4476
  * @description Returns a policy by ID
3902
4477
  *
@@ -3906,7 +4481,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3906
4481
  * @request GET:/v1beta1/policies/{id}
3907
4482
  * @secure
3908
4483
  */
3909
- frontierServiceGetPolicy: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPolicyResponse, RpcStatus>>;
4484
+ frontierServiceGetPolicy: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetPolicyResponse, GooglerpcStatus>>;
3910
4485
  /**
3911
4486
  * @description Delete a policy all of its relations permanently.
3912
4487
  *
@@ -3916,7 +4491,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3916
4491
  * @request DELETE:/v1beta1/policies/{id}
3917
4492
  * @secure
3918
4493
  */
3919
- frontierServiceDeletePolicy: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4494
+ frontierServiceDeletePolicy: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3920
4495
  /**
3921
4496
  * @description Updates a policy by ID
3922
4497
  *
@@ -3926,7 +4501,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3926
4501
  * @request PUT:/v1beta1/policies/{id}
3927
4502
  * @secure
3928
4503
  */
3929
- frontierServiceUpdatePolicy: (id: string, body: V1Beta1PolicyRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePolicyResponse, RpcStatus>>;
4504
+ frontierServiceUpdatePolicy: (id: string, body: V1Beta1PolicyRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePolicyResponse, GooglerpcStatus>>;
3930
4505
  /**
3931
4506
  * @description Create a policy for a project
3932
4507
  *
@@ -3936,7 +4511,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3936
4511
  * @request POST:/v1beta1/policies/projects/{project_id}
3937
4512
  * @secure
3938
4513
  */
3939
- frontierServiceCreatePolicyForProject: (projectId: string, body: V1Beta1CreatePolicyForProjectBody, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4514
+ frontierServiceCreatePolicyForProject: (projectId: string, body: V1Beta1CreatePolicyForProjectBody, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
3940
4515
  /**
3941
4516
  * @description Returns a list of all preferences configured on an instance in Frontier. e.g user, project, organization etc
3942
4517
  *
@@ -3946,7 +4521,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3946
4521
  * @request GET:/v1beta1/preferences
3947
4522
  * @secure
3948
4523
  */
3949
- adminServiceListPreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPreferencesResponse, RpcStatus>>;
4524
+ adminServiceListPreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPreferencesResponse, GooglerpcStatus>>;
3950
4525
  /**
3951
4526
  * @description Create new platform preferences. The platform preferences **name** must be unique within the platform and can contain only alphanumeric characters, dashes and underscores.
3952
4527
  *
@@ -3956,7 +4531,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3956
4531
  * @request POST:/v1beta1/preferences
3957
4532
  * @secure
3958
4533
  */
3959
- adminServiceCreatePreferences: (body: V1Beta1CreatePreferencesRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePreferencesResponse, RpcStatus>>;
4534
+ adminServiceCreatePreferences: (body: V1Beta1CreatePreferencesRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreatePreferencesResponse, GooglerpcStatus>>;
3960
4535
  /**
3961
4536
  * @description Returns a list of all preferences supported by Frontier.
3962
4537
  *
@@ -3966,7 +4541,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3966
4541
  * @request GET:/v1beta1/preferences/traits
3967
4542
  * @secure
3968
4543
  */
3969
- frontierServiceDescribePreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1DescribePreferencesResponse, RpcStatus>>;
4544
+ frontierServiceDescribePreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1DescribePreferencesResponse, GooglerpcStatus>>;
3970
4545
  /**
3971
4546
  * No description
3972
4547
  *
@@ -3976,7 +4551,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3976
4551
  * @request POST:/v1beta1/projects
3977
4552
  * @secure
3978
4553
  */
3979
- frontierServiceCreateProject: (body: V1Beta1ProjectRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProjectResponse, RpcStatus>>;
4554
+ frontierServiceCreateProject: (body: V1Beta1ProjectRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProjectResponse, GooglerpcStatus>>;
3980
4555
  /**
3981
4556
  * @description Returns a project by ID
3982
4557
  *
@@ -3986,7 +4561,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3986
4561
  * @request GET:/v1beta1/projects/{id}
3987
4562
  * @secure
3988
4563
  */
3989
- frontierServiceGetProject: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProjectResponse, RpcStatus>>;
4564
+ frontierServiceGetProject: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProjectResponse, GooglerpcStatus>>;
3990
4565
  /**
3991
4566
  * @description Delete a project all of its relations permanently.
3992
4567
  *
@@ -3996,7 +4571,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3996
4571
  * @request DELETE:/v1beta1/projects/{id}
3997
4572
  * @secure
3998
4573
  */
3999
- frontierServiceDeleteProject: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4574
+ frontierServiceDeleteProject: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4000
4575
  /**
4001
4576
  * @description Updates a project by ID
4002
4577
  *
@@ -4006,7 +4581,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4006
4581
  * @request PUT:/v1beta1/projects/{id}
4007
4582
  * @secure
4008
4583
  */
4009
- frontierServiceUpdateProject: (id: string, body: V1Beta1ProjectRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProjectResponse, RpcStatus>>;
4584
+ frontierServiceUpdateProject: (id: string, body: V1Beta1ProjectRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProjectResponse, GooglerpcStatus>>;
4010
4585
  /**
4011
4586
  * @description Returns a collection of admins of a project
4012
4587
  *
@@ -4016,7 +4591,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4016
4591
  * @request GET:/v1beta1/projects/{id}/admins
4017
4592
  * @secure
4018
4593
  */
4019
- frontierServiceListProjectAdmins: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectAdminsResponse, RpcStatus>>;
4594
+ frontierServiceListProjectAdmins: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectAdminsResponse, GooglerpcStatus>>;
4020
4595
  /**
4021
4596
  * No description
4022
4597
  *
@@ -4026,7 +4601,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4026
4601
  * @request POST:/v1beta1/projects/{id}/disable
4027
4602
  * @secure
4028
4603
  */
4029
- frontierServiceDisableProject: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4604
+ frontierServiceDisableProject: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4030
4605
  /**
4031
4606
  * No description
4032
4607
  *
@@ -4036,7 +4611,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4036
4611
  * @request POST:/v1beta1/projects/{id}/enable
4037
4612
  * @secure
4038
4613
  */
4039
- frontierServiceEnableProject: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4614
+ frontierServiceEnableProject: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4040
4615
  /**
4041
4616
  * @description Returns a collection of groups of a project.
4042
4617
  *
@@ -4048,7 +4623,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4048
4623
  */
4049
4624
  frontierServiceListProjectGroups: (id: string, query?: {
4050
4625
  with_roles?: boolean;
4051
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, RpcStatus>>;
4626
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, GooglerpcStatus>>;
4052
4627
  /**
4053
4628
  * @description List a project preferences by ID.
4054
4629
  *
@@ -4058,7 +4633,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4058
4633
  * @request GET:/v1beta1/projects/{id}/preferences
4059
4634
  * @secure
4060
4635
  */
4061
- frontierServiceListProjectPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectPreferencesResponse, RpcStatus>>;
4636
+ frontierServiceListProjectPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectPreferencesResponse, GooglerpcStatus>>;
4062
4637
  /**
4063
4638
  * @description Create a new project preferences. The project preferences **name** must be unique within the project and can contain only alphanumeric characters, dashes and underscores.
4064
4639
  *
@@ -4070,7 +4645,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4070
4645
  */
4071
4646
  frontierServiceCreateProjectPreferences: (id: string, body: {
4072
4647
  bodies?: V1Beta1PreferenceRequestBody[];
4073
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProjectPreferencesResponse, RpcStatus>>;
4648
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProjectPreferencesResponse, GooglerpcStatus>>;
4074
4649
  /**
4075
4650
  * @description Returns a collection of users of a project.
4076
4651
  *
@@ -4082,7 +4657,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4082
4657
  */
4083
4658
  frontierServiceListProjectServiceUsers: (id: string, query?: {
4084
4659
  with_roles?: boolean;
4085
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectServiceUsersResponse, RpcStatus>>;
4660
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectServiceUsersResponse, GooglerpcStatus>>;
4086
4661
  /**
4087
4662
  * @description Returns a collection of users of a project. Filter by user permissions is supported.
4088
4663
  *
@@ -4095,7 +4670,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4095
4670
  frontierServiceListProjectUsers: (id: string, query?: {
4096
4671
  permission_filter?: string;
4097
4672
  with_roles?: boolean;
4098
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectUsersResponse, RpcStatus>>;
4673
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectUsersResponse, GooglerpcStatus>>;
4099
4674
  /**
4100
4675
  * No description
4101
4676
  *
@@ -4107,7 +4682,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4107
4682
  */
4108
4683
  frontierServiceListProjectResources: (projectId: string, query?: {
4109
4684
  namespace?: string;
4110
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectResourcesResponse, RpcStatus>>;
4685
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectResourcesResponse, GooglerpcStatus>>;
4111
4686
  /**
4112
4687
  * @description Creates a resource in a project
4113
4688
  *
@@ -4120,7 +4695,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4120
4695
  frontierServiceCreateProjectResource: (projectId: string, body: V1Beta1ResourceRequestBody, query?: {
4121
4696
  /** Autogenerated if skipped. */
4122
4697
  id?: string;
4123
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProjectResourceResponse, RpcStatus>>;
4698
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProjectResourceResponse, GooglerpcStatus>>;
4124
4699
  /**
4125
4700
  * @description Returns a project resource by ID
4126
4701
  *
@@ -4130,7 +4705,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4130
4705
  * @request GET:/v1beta1/projects/{project_id}/resources/{id}
4131
4706
  * @secure
4132
4707
  */
4133
- frontierServiceGetProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProjectResourceResponse, RpcStatus>>;
4708
+ frontierServiceGetProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProjectResourceResponse, GooglerpcStatus>>;
4134
4709
  /**
4135
4710
  * @description Deletes a resource from a project permanently
4136
4711
  *
@@ -4140,7 +4715,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4140
4715
  * @request DELETE:/v1beta1/projects/{project_id}/resources/{id}
4141
4716
  * @secure
4142
4717
  */
4143
- frontierServiceDeleteProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4718
+ frontierServiceDeleteProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4144
4719
  /**
4145
4720
  * @description Updates a resource in a project
4146
4721
  *
@@ -4150,7 +4725,17 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4150
4725
  * @request PUT:/v1beta1/projects/{project_id}/resources/{id}
4151
4726
  * @secure
4152
4727
  */
4153
- frontierServiceUpdateProjectResource: (projectId: string, id: string, body: V1Beta1ResourceRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProjectResourceResponse, RpcStatus>>;
4728
+ frontierServiceUpdateProjectResource: (projectId: string, id: string, body: V1Beta1ResourceRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProjectResourceResponse, GooglerpcStatus>>;
4729
+ /**
4730
+ * @description Create prospect for given email and activity. Available for public access.
4731
+ *
4732
+ * @tags Prospect
4733
+ * @name FrontierServiceCreateProspectPublic
4734
+ * @summary Create prospect
4735
+ * @request POST:/v1beta1/prospects
4736
+ * @secure
4737
+ */
4738
+ frontierServiceCreateProspectPublic: (body: V1Beta1CreateProspectPublicRequest, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4154
4739
  /**
4155
4740
  * No description
4156
4741
  *
@@ -4160,7 +4745,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4160
4745
  * @request POST:/v1beta1/relations
4161
4746
  * @secure
4162
4747
  */
4163
- frontierServiceCreateRelation: (body: V1Beta1RelationRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateRelationResponse, RpcStatus>>;
4748
+ frontierServiceCreateRelation: (body: V1Beta1RelationRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateRelationResponse, GooglerpcStatus>>;
4164
4749
  /**
4165
4750
  * @description Returns a relation by ID
4166
4751
  *
@@ -4170,7 +4755,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4170
4755
  * @request GET:/v1beta1/relations/{id}
4171
4756
  * @secure
4172
4757
  */
4173
- frontierServiceGetRelation: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetRelationResponse, RpcStatus>>;
4758
+ frontierServiceGetRelation: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetRelationResponse, GooglerpcStatus>>;
4174
4759
  /**
4175
4760
  * @description Remove a subject having a relation from an object
4176
4761
  *
@@ -4180,7 +4765,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4180
4765
  * @request DELETE:/v1beta1/relations/{relation}/object/{object}/subject/{subject}
4181
4766
  * @secure
4182
4767
  */
4183
- frontierServiceDeleteRelation: (relation: string, object: string, subject: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4768
+ frontierServiceDeleteRelation: (relation: string, object: string, subject: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4184
4769
  /**
4185
4770
  * @description Returns a list of platform wide roles available in enitre Frontier instance along with their associated permissions
4186
4771
  *
@@ -4193,7 +4778,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4193
4778
  frontierServiceListRoles: (query?: {
4194
4779
  state?: string;
4195
4780
  scopes?: string[];
4196
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRolesResponse, RpcStatus>>;
4781
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRolesResponse, GooglerpcStatus>>;
4197
4782
  /**
4198
4783
  * @description Creates a platform wide role. It can be used to grant permissions to all the resources in a Frontier instance.
4199
4784
  *
@@ -4203,7 +4788,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4203
4788
  * @request POST:/v1beta1/roles
4204
4789
  * @secure
4205
4790
  */
4206
- adminServiceCreateRole: (body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateRoleResponse, RpcStatus>>;
4791
+ adminServiceCreateRole: (body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateRoleResponse, GooglerpcStatus>>;
4207
4792
  /**
4208
4793
  * @description Delete a platform wide role and all of its relations.
4209
4794
  *
@@ -4213,7 +4798,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4213
4798
  * @request DELETE:/v1beta1/roles/{id}
4214
4799
  * @secure
4215
4800
  */
4216
- adminServiceDeleteRole: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4801
+ adminServiceDeleteRole: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4217
4802
  /**
4218
4803
  * @description Update a role title, description and permissions.
4219
4804
  *
@@ -4223,7 +4808,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4223
4808
  * @request PUT:/v1beta1/roles/{id}
4224
4809
  * @secure
4225
4810
  */
4226
- adminServiceUpdateRole: (id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateRoleResponse, RpcStatus>>;
4811
+ adminServiceUpdateRole: (id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateRoleResponse, GooglerpcStatus>>;
4227
4812
  /**
4228
4813
  * @description Returns the service user of an organization in a Frontier instance. It can be filter by it's state
4229
4814
  *
@@ -4238,7 +4823,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4238
4823
  org_id: string;
4239
4824
  /** The state to filter by. It can be enabled or disabled. */
4240
4825
  state?: string;
4241
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUsersResponse, RpcStatus>>;
4826
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUsersResponse, GooglerpcStatus>>;
4242
4827
  /**
4243
4828
  * @description Returns the users from all the organizations in a Frontier instance. It can be filtered by keyword, organization, group and state. Additionally you can include page number and page size for pagination.
4244
4829
  *
@@ -4267,7 +4852,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4267
4852
  group_id?: string;
4268
4853
  /** The state to filter by. It can be enabled or disabled. */
4269
4854
  state?: string;
4270
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUsersResponse, RpcStatus>>;
4855
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUsersResponse, GooglerpcStatus>>;
4271
4856
  /**
4272
4857
  * @description Create a user with the given details. A user is not attached to an organization or a group by default,and can be invited to the org/group. The name of the user must be unique within the entire Frontier instance. If a user name is not provided, Frontier automatically generates a name from the user email. The user metadata is validated against the user metaschema. By default the user metaschema contains `labels` and `descriptions` for the user. The `title` field can be optionally added for a user-friendly name. <br/><br/>*Example:*`{"email":"john.doe@raystack.org","title":"John Doe",metadata:{"label": {"key1": "value1"}, "description": "User Description"}}`
4273
4858
  *
@@ -4276,7 +4861,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4276
4861
  * @summary Create user
4277
4862
  * @request POST:/v1beta1/users
4278
4863
  */
4279
- frontierServiceCreateUser: (body: V1Beta1UserRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateUserResponse, RpcStatus>>;
4864
+ frontierServiceCreateUser: (body: V1Beta1UserRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateUserResponse, GooglerpcStatus>>;
4280
4865
  /**
4281
4866
  * @description Get a user by id searched over all organizations in Frontier.
4282
4867
  *
@@ -4286,7 +4871,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4286
4871
  * @request GET:/v1beta1/users/{id}
4287
4872
  * @secure
4288
4873
  */
4289
- frontierServiceGetUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUserResponse, RpcStatus>>;
4874
+ frontierServiceGetUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUserResponse, GooglerpcStatus>>;
4290
4875
  /**
4291
4876
  * @description Delete an user permanently forever and all of its relations (organizations, groups, etc)
4292
4877
  *
@@ -4296,7 +4881,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4296
4881
  * @request DELETE:/v1beta1/users/{id}
4297
4882
  * @secure
4298
4883
  */
4299
- frontierServiceDeleteUser: (id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4884
+ frontierServiceDeleteUser: (id: string, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4300
4885
  /**
4301
4886
  * No description
4302
4887
  *
@@ -4306,7 +4891,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4306
4891
  * @request PUT:/v1beta1/users/{id}
4307
4892
  * @secure
4308
4893
  */
4309
- frontierServiceUpdateUser: (id: string, body: V1Beta1UserRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateUserResponse, RpcStatus>>;
4894
+ frontierServiceUpdateUser: (id: string, body: V1Beta1UserRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateUserResponse, GooglerpcStatus>>;
4310
4895
  /**
4311
4896
  * @description Sets the state of the user as diabled.The user's membership to groups and organizations will still exist along with all it's roles for access control, but the user will not be able to log in and access the Frontier instance.
4312
4897
  *
@@ -4316,7 +4901,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4316
4901
  * @request POST:/v1beta1/users/{id}/disable
4317
4902
  * @secure
4318
4903
  */
4319
- frontierServiceDisableUser: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4904
+ frontierServiceDisableUser: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4320
4905
  /**
4321
4906
  * @description Sets the state of the user as enabled. The user will be able to log in and access the Frontier instance.
4322
4907
  *
@@ -4326,7 +4911,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4326
4911
  * @request POST:/v1beta1/users/{id}/enable
4327
4912
  * @secure
4328
4913
  */
4329
- frontierServiceEnableUser: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
4914
+ frontierServiceEnableUser: (id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, GooglerpcStatus>>;
4330
4915
  /**
4331
4916
  * @description Lists all the groups a user belongs to across all organization in Frontier. To get the groups of a user in a specific organization, use the org_id filter in the query parameter.
4332
4917
  *
@@ -4339,7 +4924,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4339
4924
  frontierServiceListUserGroups: (id: string, query?: {
4340
4925
  /** The organization ID to filter groups by. If not provided, groups from all organizations are returned. */
4341
4926
  org_id?: string;
4342
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserGroupsResponse, RpcStatus>>;
4927
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserGroupsResponse, GooglerpcStatus>>;
4343
4928
  /**
4344
4929
  * @description List all the invitations sent to a user.
4345
4930
  *
@@ -4349,7 +4934,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4349
4934
  * @request GET:/v1beta1/users/{id}/invitations
4350
4935
  * @secure
4351
4936
  */
4352
- frontierServiceListUserInvitations: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserInvitationsResponse, RpcStatus>>;
4937
+ frontierServiceListUserInvitations: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserInvitationsResponse, GooglerpcStatus>>;
4353
4938
  /**
4354
4939
  * @description This API returns two list of organizations for the user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
4355
4940
  *
@@ -4361,7 +4946,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4361
4946
  */
4362
4947
  frontierServiceListOrganizationsByUser: (id: string, query?: {
4363
4948
  state?: string;
4364
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByUserResponse, RpcStatus>>;
4949
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByUserResponse, GooglerpcStatus>>;
4365
4950
  /**
4366
4951
  * @description List a user preferences by ID.
4367
4952
  *
@@ -4371,7 +4956,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4371
4956
  * @request GET:/v1beta1/users/{id}/preferences
4372
4957
  * @secure
4373
4958
  */
4374
- frontierServiceListUserPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserPreferencesResponse, RpcStatus>>;
4959
+ frontierServiceListUserPreferences: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserPreferencesResponse, GooglerpcStatus>>;
4375
4960
  /**
4376
4961
  * @description Create a new user preferences. The user preferences **name** must be unique within the user and can contain only alphanumeric characters, dashes and underscores.
4377
4962
  *
@@ -4383,7 +4968,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4383
4968
  */
4384
4969
  frontierServiceCreateUserPreferences: (id: string, body: {
4385
4970
  bodies?: V1Beta1PreferenceRequestBody[];
4386
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateUserPreferencesResponse, RpcStatus>>;
4971
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateUserPreferencesResponse, GooglerpcStatus>>;
4387
4972
  /**
4388
4973
  * @description Get all the projects a user belongs to.
4389
4974
  *
@@ -4393,7 +4978,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4393
4978
  * @request GET:/v1beta1/users/{id}/projects
4394
4979
  * @secure
4395
4980
  */
4396
- frontierServiceListProjectsByUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByUserResponse, RpcStatus>>;
4981
+ frontierServiceListProjectsByUser: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByUserResponse, GooglerpcStatus>>;
4397
4982
  /**
4398
4983
  * No description
4399
4984
  *
@@ -4403,7 +4988,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4403
4988
  * @request GET:/v1beta1/users/self
4404
4989
  * @secure
4405
4990
  */
4406
- frontierServiceGetCurrentUser: (params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCurrentUserResponse, RpcStatus>>;
4991
+ frontierServiceGetCurrentUser: (params?: RequestParams) => Promise<HttpResponse<V1Beta1GetCurrentUserResponse, GooglerpcStatus>>;
4407
4992
  /**
4408
4993
  * No description
4409
4994
  *
@@ -4413,7 +4998,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4413
4998
  * @request PUT:/v1beta1/users/self
4414
4999
  * @secure
4415
5000
  */
4416
- frontierServiceUpdateCurrentUser: (body: V1Beta1UserRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateCurrentUserResponse, RpcStatus>>;
5001
+ frontierServiceUpdateCurrentUser: (body: V1Beta1UserRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateCurrentUserResponse, GooglerpcStatus>>;
4417
5002
  /**
4418
5003
  * No description
4419
5004
  *
@@ -4428,7 +5013,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4428
5013
  org_id?: string;
4429
5014
  with_permissions?: string[];
4430
5015
  with_member_count?: boolean;
4431
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, RpcStatus>>;
5016
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, GooglerpcStatus>>;
4432
5017
  /**
4433
5018
  * @description List all the invitations sent to current user.
4434
5019
  *
@@ -4438,7 +5023,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4438
5023
  * @request GET:/v1beta1/users/self/invitations
4439
5024
  * @secure
4440
5025
  */
4441
- frontierServiceListCurrentUserInvitations: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserInvitationsResponse, RpcStatus>>;
5026
+ frontierServiceListCurrentUserInvitations: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserInvitationsResponse, GooglerpcStatus>>;
4442
5027
  /**
4443
5028
  * @description This API returns two list of organizations for the current logged in user. i) The list of orgs which the current user is already a part of ii) The list of organizations the user can join directly (based on domain whitelisted and verified by the org). This list will also contain orgs of which user is already a part of. Note: the domain needs to be verified by the org before the it is returned as one of the joinable orgs by domain
4444
5029
  *
@@ -4450,7 +5035,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4450
5035
  */
4451
5036
  frontierServiceListOrganizationsByCurrentUser: (query?: {
4452
5037
  state?: string;
4453
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByCurrentUserResponse, RpcStatus>>;
5038
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsByCurrentUserResponse, GooglerpcStatus>>;
4454
5039
  /**
4455
5040
  * @description List a user preferences by ID.
4456
5041
  *
@@ -4460,7 +5045,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4460
5045
  * @request GET:/v1beta1/users/self/preferences
4461
5046
  * @secure
4462
5047
  */
4463
- frontierServiceListCurrentUserPreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserPreferencesResponse, RpcStatus>>;
5048
+ frontierServiceListCurrentUserPreferences: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserPreferencesResponse, GooglerpcStatus>>;
4464
5049
  /**
4465
5050
  * @description Create a new user preferences. The user preferences **name** must be unique within the user and can contain only alphanumeric characters, dashes and underscores.
4466
5051
  *
@@ -4470,7 +5055,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4470
5055
  * @request POST:/v1beta1/users/self/preferences
4471
5056
  * @secure
4472
5057
  */
4473
- frontierServiceCreateCurrentUserPreferences: (body: V1Beta1CreateCurrentUserPreferencesRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCurrentUserPreferencesResponse, RpcStatus>>;
5058
+ frontierServiceCreateCurrentUserPreferences: (body: V1Beta1CreateCurrentUserPreferencesRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCurrentUserPreferencesResponse, GooglerpcStatus>>;
4474
5059
  /**
4475
5060
  * @description Get all projects the current user belongs to
4476
5061
  *
@@ -4509,7 +5094,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
4509
5094
  * @format int32
4510
5095
  */
4511
5096
  page_num?: number;
4512
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByCurrentUserResponse, RpcStatus>>;
5097
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByCurrentUserResponse, GooglerpcStatus>>;
4513
5098
  }
4514
5099
 
4515
5100
  declare const router: _tanstack_react_router.Router<_tanstack_react_router.RootRoute<undefined, Pick<OrganizationProfileProps, "organizationId" | "showBilling" | "showTokens" | "showAPIKeys" | "hideToast" | "showPreferences"> & {
@@ -4715,7 +5300,9 @@ interface UsePreferences {
4715
5300
  fetchPreferences: () => Promise<V1Beta1Preference[] | undefined>;
4716
5301
  updatePreferences: (preferences: V1Beta1Preference[]) => Promise<V1Beta1Preference[] | undefined>;
4717
5302
  }
4718
- declare function usePreferences(): UsePreferences;
5303
+ declare function usePreferences({ autoFetch }?: {
5304
+ autoFetch?: boolean;
5305
+ }): UsePreferences;
4719
5306
 
4720
5307
  interface LayoutProps {
4721
5308
  title: string;
@@ -4726,4 +5313,4 @@ declare const PREFERENCE_OPTIONS: {
4726
5313
  readonly NEWSLETTER: "newsletter";
4727
5314
  };
4728
5315
 
4729
- export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, PREFERENCE_OPTIONS, SignIn, SignUp, Subscribe, Window, useBillingPermission, useFrontier, usePreferences, useTokens };
5316
+ export { Amount, AvatarUpload, Container, CreateOrganization, FrontierClientBillingOptions, FrontierClientOptions, FrontierProvider, Header, Layout, MagicLink, MagicLinkVerify, OrganizationProfile, PREFERENCE_OPTIONS, SignIn, SignUp, Subscribe, Updates, Window, useBillingPermission, useFrontier, usePreferences, useTokens };