@raystack/frontier 0.8.11 → 0.8.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,12 @@ type HeaderProps = ComponentPropsWithRef<'div'> & {
17
17
  };
18
18
  declare const Header: ({ title, logo }: HeaderProps) => react_jsx_runtime.JSX.Element;
19
19
 
20
+ type MagicLinkProps = {
21
+ open?: boolean;
22
+ children?: React$1.ReactNode;
23
+ };
24
+ declare const MagicLink: ({ children, open, ...props }: MagicLinkProps) => react_jsx_runtime.JSX.Element;
25
+
20
26
  type MagicLinkVerifyProps = ComponentPropsWithRef<typeof Container> & {
21
27
  logo?: React$1.ReactNode;
22
28
  title?: string;
@@ -27,8 +33,9 @@ type SignedInProps = ComponentPropsWithRef<typeof Container> & {
27
33
  logo?: React$1.ReactNode;
28
34
  title?: string;
29
35
  excludes?: string[];
36
+ footer?: boolean;
30
37
  };
31
- declare const SignIn: ({ logo, title, excludes, ...props }: SignedInProps) => react_jsx_runtime.JSX.Element;
38
+ declare const SignIn: ({ logo, title, excludes, footer, ...props }: SignedInProps) => react_jsx_runtime.JSX.Element;
32
39
 
33
40
  type SignUpProps = ComponentPropsWithRef<typeof Container> & {
34
41
  logo?: React$1.ReactNode;
@@ -46,147 +53,147 @@ declare const CreateOrganization: ({ title, description, ...props }: CreateOrgan
46
53
  interface OrganizationProfileProps {
47
54
  organizationId: string;
48
55
  defaultRoute?: string;
56
+ tempShowBilling?: boolean;
49
57
  }
50
- declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<{
51
- organizationId: string;
52
- }, _tanstack_react_router.DeepMerge<_tanstack_react_router.AnyContext, _tanstack_react_router.DeepMerge<_tanstack_react_router.RouteContext, {}>>>, {
53
- organizationId: string;
54
- }, (Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
55
- organizationId: string;
56
- }>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
57
- organizationId: string;
58
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
58
+ declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">, _tanstack_react_router.DeepMerge<_tanstack_react_router.AnyContext, _tanstack_react_router.DeepMerge<_tanstack_react_router.RouteContext, {}>>>, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">, (Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
59
59
  organizationId: string;
60
- }>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
60
+ tempShowBilling?: boolean | undefined;
61
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
61
62
  organizationId: string;
63
+ tempShowBilling?: boolean | undefined;
62
64
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/delete", string, "/delete", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
63
65
  organizationId: string;
64
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
66
+ tempShowBilling?: boolean | undefined;
67
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/security", "/security", string, "/security", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
65
68
  organizationId: string;
66
- }>, "/security", "/security", string, "/security", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
69
+ tempShowBilling?: boolean | undefined;
70
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
67
71
  organizationId: string;
68
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
69
- organizationId: string;
70
- }>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
71
- organizationId: string;
72
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
73
- organizationId: string;
74
- }>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
72
+ tempShowBilling?: boolean | undefined;
73
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/members", "/members", string, "/members", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
75
74
  organizationId: string;
75
+ tempShowBilling?: boolean | undefined;
76
76
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/members/modal", string, "/members/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
77
77
  organizationId: string;
78
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
79
- organizationId: string;
80
- }>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
78
+ tempShowBilling?: boolean | undefined;
79
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
81
80
  organizationId: string;
82
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
83
- organizationId: string;
84
- }>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
81
+ tempShowBilling?: boolean | undefined;
82
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
85
83
  organizationId: string;
84
+ tempShowBilling?: boolean | undefined;
86
85
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/teams/modal", string, "/teams/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
87
86
  organizationId: string;
88
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
89
- organizationId: string;
90
- }>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
87
+ tempShowBilling?: boolean | undefined;
88
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
91
89
  organizationId: string;
92
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
93
- organizationId: string;
94
- }>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
90
+ tempShowBilling?: boolean | undefined;
91
+ }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
95
92
  organizationId: string;
93
+ tempShowBilling?: boolean | undefined;
96
94
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/domains/modal", string, "/domains/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
97
95
  organizationId: string;
98
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
99
- organizationId: string;
100
- }>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
96
+ tempShowBilling?: boolean | undefined;
97
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
101
98
  organizationId: string;
99
+ tempShowBilling?: boolean | undefined;
102
100
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", {}, unknown, {}, {}, {
103
101
  domainId: string;
104
102
  }, {
105
103
  domainId: string;
106
104
  }, _tanstack_react_router.RouteContext, {
107
105
  organizationId: string;
108
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
109
- organizationId: string;
110
- }>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
106
+ tempShowBilling?: boolean | undefined;
107
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
111
108
  organizationId: string;
109
+ tempShowBilling?: boolean | undefined;
112
110
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", {}, unknown, {}, {}, {
113
111
  domainId: string;
114
112
  }, {
115
113
  domainId: string;
116
114
  }, _tanstack_react_router.RouteContext, {
117
115
  organizationId: string;
118
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
119
- organizationId: string;
120
- }>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
116
+ tempShowBilling?: boolean | undefined;
117
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
121
118
  teamId: string;
122
119
  }, {
123
120
  teamId: string;
124
121
  }, _tanstack_react_router.RouteContext, {
125
122
  organizationId: string;
126
- }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
127
- organizationId: string;
128
- }>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
123
+ tempShowBilling?: boolean | undefined;
124
+ }, _tanstack_react_router.AnyContext, (Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
129
125
  teamId: string;
130
126
  }, {
131
127
  teamId: string;
132
128
  }, _tanstack_react_router.RouteContext, {
133
129
  organizationId: string;
130
+ tempShowBilling?: boolean | undefined;
134
131
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", {}, unknown, {}, {}, {}, {
135
132
  teamId: string;
136
133
  }, _tanstack_react_router.RouteContext, {
137
134
  organizationId: string;
138
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
139
- organizationId: string;
140
- }>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
135
+ tempShowBilling?: boolean | undefined;
136
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
141
137
  teamId: string;
142
138
  }, {
143
139
  teamId: string;
144
140
  }, _tanstack_react_router.RouteContext, {
145
141
  organizationId: string;
142
+ tempShowBilling?: boolean | undefined;
146
143
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", {}, unknown, {}, {}, {}, {
147
144
  teamId: string;
148
145
  }, _tanstack_react_router.RouteContext, {
149
146
  organizationId: string;
150
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
147
+ tempShowBilling?: boolean | undefined;
148
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
151
149
  organizationId: string;
152
- }>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
153
- organizationId: string;
154
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
155
- organizationId: string;
156
- }>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
150
+ tempShowBilling?: boolean | undefined;
151
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
157
152
  organizationId: string;
153
+ tempShowBilling?: boolean | undefined;
158
154
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/projects/modal", string, "/projects/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
159
155
  organizationId: string;
160
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
161
- organizationId: string;
162
- }>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
156
+ tempShowBilling?: boolean | undefined;
157
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
163
158
  projectId: string;
164
159
  }, {
165
160
  projectId: string;
166
161
  }, _tanstack_react_router.RouteContext, {
167
162
  organizationId: string;
168
- }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
169
- organizationId: string;
170
- }>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
163
+ tempShowBilling?: boolean | undefined;
164
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
171
165
  projectId: string;
172
166
  }, {
173
167
  projectId: string;
174
168
  }, _tanstack_react_router.RouteContext, {
175
169
  organizationId: string;
170
+ tempShowBilling?: boolean | undefined;
176
171
  }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", {}, unknown, {}, {}, {}, {
177
172
  projectId: string;
178
173
  }, _tanstack_react_router.RouteContext, {
179
174
  organizationId: string;
180
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
175
+ tempShowBilling?: boolean | undefined;
176
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/profile", "/profile", string, "/profile", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
181
177
  organizationId: string;
182
- }>, "/profile", "/profile", string, "/profile", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
178
+ tempShowBilling?: boolean | undefined;
179
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/preferences", "/preferences", string, "/preferences", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
183
180
  organizationId: string;
184
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, {
181
+ tempShowBilling?: boolean | undefined;
182
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute> | Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
185
183
  organizationId: string;
186
- }>, "/preferences", "/preferences", string, "/preferences", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
184
+ tempShowBilling?: boolean | undefined;
185
+ }, _tanstack_react_router.AnyContext, Route<Route<_tanstack_react_router.RootRoute<_tanstack_react_router.AnyContext, unknown, {}, _tanstack_react_router.RouteContext, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/billing", "/billing", string, "/billing", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
187
186
  organizationId: string;
188
- }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>)[], any>, Record<string, any>>;
189
- declare const OrganizationProfile: ({ organizationId, defaultRoute }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
187
+ tempShowBilling?: boolean | undefined;
188
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$billingId/edit-address", "/billing/$billingId/edit-address", string, "/billing/$billingId/edit-address", {}, unknown, {}, {}, {
189
+ billingId: string;
190
+ }, {
191
+ billingId: string;
192
+ }, _tanstack_react_router.RouteContext, {
193
+ organizationId: string;
194
+ tempShowBilling?: boolean | undefined;
195
+ }, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute>)[], any>, Record<string, any>>;
196
+ declare const OrganizationProfile: ({ organizationId, defaultRoute, tempShowBilling }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
190
197
  declare module '@tanstack/react-router' {
191
198
  interface Register {
192
199
  router: typeof router;
@@ -200,12 +207,16 @@ interface WindowProps extends React.HTMLAttributes<HTMLDialogElement> {
200
207
  }
201
208
  declare const Window: ({ open, onOpenChange, children, ...props }: WindowProps) => react_jsx_runtime.JSX.Element;
202
209
 
210
+ interface FrontierClientBillingOptions {
211
+ supportEmail?: string;
212
+ }
203
213
  interface FrontierClientOptions {
204
214
  endpoint?: string;
205
215
  redirectSignup?: string;
206
216
  redirectLogin?: string;
207
217
  redirectMagicLinkVerify?: string;
208
218
  callbackUrl?: string;
219
+ billing?: FrontierClientBillingOptions;
209
220
  }
210
221
  interface InitialState {
211
222
  sessionId?: string | null;
@@ -280,7 +291,7 @@ interface BillingAccountAddress {
280
291
  line2?: string;
281
292
  city?: string;
282
293
  state?: string;
283
- postalCode?: string;
294
+ postal_code?: string;
284
295
  country?: string;
285
296
  }
286
297
  interface BillingAccountBalance {
@@ -288,7 +299,7 @@ interface BillingAccountBalance {
288
299
  amount?: string;
289
300
  currency?: string;
290
301
  /** @format date-time */
291
- updatedAt?: string;
302
+ updated_at?: string;
292
303
  }
293
304
  interface ProtobufAny {
294
305
  '@type'?: string;
@@ -302,9 +313,9 @@ interface RpcStatus {
302
313
  }
303
314
  interface V1Beta1AddPlatformUserRequest {
304
315
  /** The user id to add to the platform. */
305
- userId?: string;
316
+ user_id?: string;
306
317
  /** The service user id to add to the platform. */
307
- serviceuserId?: string;
318
+ serviceuser_id?: string;
308
319
  /** The relation to add as in the platform. It can be admin or member. */
309
320
  relation: string;
310
321
  }
@@ -330,7 +341,7 @@ interface V1Beta1AuditLog {
330
341
  * @format date-time
331
342
  * @example "2023-06-07T05:39:56.961Z"
332
343
  */
333
- createdAt?: string;
344
+ created_at?: string;
334
345
  }
335
346
  interface V1Beta1AuditLogActor {
336
347
  id?: string;
@@ -344,7 +355,7 @@ interface V1Beta1AuditLogTarget {
344
355
  }
345
356
  interface V1Beta1AuthCallbackRequest {
346
357
  /** strategy_name will not be set for oidc but can be utilized for methods like email magic links */
347
- strategyName?: string;
358
+ strategy_name?: string;
348
359
  /** for oidc & magic links */
349
360
  state?: string;
350
361
  code?: string;
@@ -352,7 +363,7 @@ interface V1Beta1AuthCallbackRequest {
352
363
  * state_options has additional configurations for the authentication flow at hand
353
364
  * for example, in case of passkey, it has challenge and public key
354
365
  */
355
- stateOptions?: object;
366
+ state_options?: object;
356
367
  }
357
368
  interface V1Beta1AuthStrategy {
358
369
  name?: string;
@@ -364,16 +375,16 @@ interface V1Beta1AuthTokenRequest {
364
375
  * - client_credentials
365
376
  * - urn:ietf:params:oauth:grant-type:jwt-bearer
366
377
  */
367
- grantType?: string;
378
+ grant_type?: string;
368
379
  /** client_id and client_secret are required for grant_type client_credentials */
369
- clientId?: string;
370
- clientSecret?: string;
380
+ client_id?: string;
381
+ client_secret?: string;
371
382
  /** assertion is required for grant_type urn:ietf:params:oauth:grant-type:jwt-bearer */
372
383
  assertion?: string;
373
384
  }
374
385
  interface V1Beta1AuthTokenResponse {
375
- accessToken?: string;
376
- tokenType?: string;
386
+ access_token?: string;
387
+ token_type?: string;
377
388
  }
378
389
  interface V1Beta1AuthenticateResponse {
379
390
  /** endpoint specifies the url to redirect user for starting authentication flow */
@@ -381,7 +392,7 @@ interface V1Beta1AuthenticateResponse {
381
392
  /** state is used for resuming authentication flow in applicable strategies */
382
393
  state?: string;
383
394
  /** state_options has additional configurations for the authentication flow at hand */
384
- stateOptions?: object;
395
+ state_options?: object;
385
396
  }
386
397
  interface V1Beta1BatchCheckPermissionBody {
387
398
  /** the permission name to check. <br/> *Example:* `get` or `list` */
@@ -401,20 +412,20 @@ interface V1Beta1BatchCheckPermissionResponsePair {
401
412
  }
402
413
  interface V1Beta1BillingAccount {
403
414
  id?: string;
404
- orgId?: string;
415
+ org_id?: string;
405
416
  name?: string;
406
417
  email?: string;
407
418
  phone?: string;
408
419
  address?: BillingAccountAddress;
409
- providerId?: string;
420
+ provider_id?: string;
410
421
  provider?: string;
411
422
  currency?: string;
412
423
  state?: string;
413
424
  metadata?: object;
414
425
  /** @format date-time */
415
- createdAt?: string;
426
+ created_at?: string;
416
427
  /** @format date-time */
417
- updatedAt?: string;
428
+ updated_at?: string;
418
429
  }
419
430
  interface V1Beta1BillingAccountRequestBody {
420
431
  name?: string;
@@ -426,7 +437,7 @@ interface V1Beta1BillingAccountRequestBody {
426
437
  }
427
438
  interface V1Beta1BillingTransaction {
428
439
  id?: string;
429
- customerId?: string;
440
+ customer_id?: string;
430
441
  source?: string;
431
442
  /** @format int64 */
432
443
  amount?: string;
@@ -434,9 +445,9 @@ interface V1Beta1BillingTransaction {
434
445
  description?: string;
435
446
  metadata?: object;
436
447
  /** @format date-time */
437
- createdAt?: string;
448
+ created_at?: string;
438
449
  /** @format date-time */
439
- updatedAt?: string;
450
+ updated_at?: string;
440
451
  }
441
452
  interface V1Beta1CheckFeatureEntitlementResponse {
442
453
  status?: boolean;
@@ -454,9 +465,9 @@ interface V1Beta1CheckFederatedResourcePermissionResponse {
454
465
  }
455
466
  interface V1Beta1CheckResourcePermissionRequest {
456
467
  /** Deprecated. Use `resource` field instead. */
457
- objectId?: string;
468
+ object_id?: string;
458
469
  /** Deprecated. Use `resource` field instead. */
459
- objectNamespace?: string;
470
+ object_namespace?: string;
460
471
  /** the permission name to check. <br/> *Example:* `get`, `list`, `compute.instance.create` */
461
472
  permission: string;
462
473
  /** `namespace:uuid` or `namespace:name` of the org or project, and `namespace:urn` of a resource under a project. In case of an org/project either provide the complete namespace (app/organization) or Frontier can also parse aliases for the same as `org` or `project`. <br/> *Example:* `organization:92f69c3a-334b-4f25-90b8-4d4f3be6b825` or `app/project:project-name` or `compute/instance:92f69c3a-334b-4f25-90b8-4d4f3be6b825` */
@@ -465,35 +476,35 @@ interface V1Beta1CheckResourcePermissionRequest {
465
476
  interface V1Beta1CheckResourcePermissionResponse {
466
477
  status?: boolean;
467
478
  }
468
- interface V1Beta1CheckoutFeatureBody {
469
- feature?: string;
479
+ interface V1Beta1CheckoutProductBody {
480
+ product?: string;
470
481
  }
471
482
  interface V1Beta1CheckoutSession {
472
483
  id?: string;
473
- checkoutUrl?: string;
474
- successUrl?: string;
475
- cancelUrl?: string;
484
+ checkout_url?: string;
485
+ success_url?: string;
486
+ cancel_url?: string;
476
487
  state?: string;
477
488
  metadata?: object;
478
489
  /** @format date-time */
479
- createdAt?: string;
490
+ created_at?: string;
480
491
  /** @format date-time */
481
- updatedAt?: string;
492
+ updated_at?: string;
482
493
  /** @format date-time */
483
- expireAt?: string;
494
+ expire_at?: string;
484
495
  }
485
496
  interface V1Beta1CheckoutSubscriptionBody {
486
497
  plan?: string;
487
498
  /** @format int32 */
488
- trailDays?: number;
499
+ trail_days?: number;
489
500
  }
490
501
  interface V1Beta1CreateBillingAccountResponse {
491
502
  /** Created billing account */
492
- billingAccount?: V1Beta1BillingAccount;
503
+ billing_account?: V1Beta1BillingAccount;
493
504
  }
494
505
  interface V1Beta1CreateCheckoutResponse {
495
506
  /** Checkout session */
496
- checkoutSession?: V1Beta1CheckoutSession;
507
+ checkout_session?: V1Beta1CheckoutSession;
497
508
  }
498
509
  interface V1Beta1CreateCurrentUserPreferencesRequest {
499
510
  bodies?: V1Beta1PreferenceRequestBody[];
@@ -501,14 +512,6 @@ interface V1Beta1CreateCurrentUserPreferencesRequest {
501
512
  interface V1Beta1CreateCurrentUserPreferencesResponse {
502
513
  preferences?: V1Beta1Preference[];
503
514
  }
504
- interface V1Beta1CreateFeatureRequest {
505
- /** Feature to create */
506
- body?: V1Beta1FeatureRequestBody;
507
- }
508
- interface V1Beta1CreateFeatureResponse {
509
- /** Created feature */
510
- feature?: V1Beta1Feature;
511
- }
512
515
  interface V1Beta1CreateGroupPreferencesResponse {
513
516
  preferences?: V1Beta1Preference[];
514
517
  }
@@ -556,6 +559,14 @@ interface V1Beta1CreatePreferencesRequest {
556
559
  interface V1Beta1CreatePreferencesResponse {
557
560
  preference?: V1Beta1Preference[];
558
561
  }
562
+ interface V1Beta1CreateProductRequest {
563
+ /** Product to create */
564
+ body?: V1Beta1ProductRequestBody;
565
+ }
566
+ interface V1Beta1CreateProductResponse {
567
+ /** Created product */
568
+ product?: V1Beta1Product;
569
+ }
559
570
  interface V1Beta1CreateProjectPreferencesResponse {
560
571
  preferences?: V1Beta1Preference[];
561
572
  }
@@ -577,7 +588,7 @@ interface V1Beta1CreateServiceUserKeyResponse {
577
588
  interface V1Beta1CreateServiceUserRequest {
578
589
  body?: V1Beta1ServiceUserRequestBody;
579
590
  /** The organization ID to which the service user belongs to. */
580
- orgId: string;
591
+ org_id: string;
581
592
  }
582
593
  interface V1Beta1CreateServiceUserResponse {
583
594
  serviceuser?: V1Beta1ServiceUser;
@@ -593,7 +604,7 @@ interface V1Beta1CreateUserResponse {
593
604
  }
594
605
  interface V1Beta1DelegatedCheckoutResponse {
595
606
  /** Checkout session */
596
- checkoutSession?: V1Beta1CheckoutSession;
607
+ checkout_session?: V1Beta1CheckoutSession;
597
608
  }
598
609
  interface V1Beta1DescribePreferencesResponse {
599
610
  traits?: V1Beta1PreferenceTrait[];
@@ -613,7 +624,7 @@ interface V1Beta1Domain {
613
624
  * The organization id
614
625
  * @example "123e4567-e89b-12d3-a456-426655440000"
615
626
  */
616
- orgId?: string;
627
+ org_id?: string;
617
628
  /**
618
629
  * The dns TXT record token to verify the domain
619
630
  * @example "_frontier-domain-verification=LB6U2lSQgGS55HOy6kpWFqkngRC8TMEjyrakfmYC2D0s+nfy/WkFSg=="
@@ -629,43 +640,29 @@ interface V1Beta1Domain {
629
640
  * @format date-time
630
641
  * @example "2023-06-07T05:39:56.961Z"
631
642
  */
632
- createdAt?: string;
643
+ created_at?: string;
633
644
  /**
634
645
  * The time the org domain was updated
635
646
  * @format date-time
636
647
  * @example "2023-06-07T05:39:56.961Z"
637
648
  */
638
- updatedAt?: string;
649
+ updated_at?: string;
639
650
  }
640
651
  interface V1Beta1Feature {
641
652
  id?: string;
642
653
  name?: string;
643
- title?: string;
644
- description?: string;
645
- planIds?: string[];
646
- state?: string;
647
- prices?: V1Beta1Price[];
648
- /** @format int64 */
649
- creditAmount?: string;
654
+ product_ids?: string[];
650
655
  metadata?: object;
651
656
  /** @format date-time */
652
- createdAt?: string;
657
+ created_at?: string;
653
658
  /** @format date-time */
654
- updatedAt?: string;
655
- }
656
- interface V1Beta1FeatureRequestBody {
657
- name?: string;
658
- title?: string;
659
- description?: string;
660
- planId?: string;
661
- prices?: V1Beta1Price[];
662
- /** @format int64 */
663
- creditAmount?: string;
664
- metadata?: object;
659
+ updated_at?: string;
665
660
  }
666
661
  interface V1Beta1GetBillingAccountResponse {
667
662
  /** Billing account */
668
- billingAccount?: V1Beta1BillingAccount;
663
+ billing_account?: V1Beta1BillingAccount;
664
+ /** List of payment methods */
665
+ payment_methods?: V1Beta1PaymentMethod[];
669
666
  }
670
667
  interface V1Beta1GetBillingBalanceResponse {
671
668
  /** Balance of the billing account */
@@ -675,10 +672,6 @@ interface V1Beta1GetCurrentUserResponse {
675
672
  user?: V1Beta1User;
676
673
  serviceuser?: V1Beta1ServiceUser;
677
674
  }
678
- interface V1Beta1GetFeatureResponse {
679
- /** Feature */
680
- feature?: V1Beta1Feature;
681
- }
682
675
  interface V1Beta1GetGroupResponse {
683
676
  group?: V1Beta1Group;
684
677
  }
@@ -717,6 +710,10 @@ interface V1Beta1GetPlanResponse {
717
710
  interface V1Beta1GetPolicyResponse {
718
711
  policy?: V1Beta1Policy;
719
712
  }
713
+ interface V1Beta1GetProductResponse {
714
+ /** Product */
715
+ product?: V1Beta1Product;
716
+ }
720
717
  interface V1Beta1GetProjectResourceResponse {
721
718
  resource?: V1Beta1Resource;
722
719
  }
@@ -735,6 +732,10 @@ interface V1Beta1GetServiceUserResponse {
735
732
  interface V1Beta1GetSubscriptionResponse {
736
733
  subscription?: V1Beta1Subscription;
737
734
  }
735
+ interface V1Beta1GetUpcomingInvoiceResponse {
736
+ /** Upcoming invoice */
737
+ invoice?: V1Beta1Invoice;
738
+ }
738
739
  interface V1Beta1GetUserResponse {
739
740
  user?: V1Beta1User;
740
741
  }
@@ -742,21 +743,27 @@ interface V1Beta1Group {
742
743
  id?: string;
743
744
  name?: string;
744
745
  title?: string;
745
- orgId?: string;
746
+ org_id?: string;
746
747
  metadata?: object;
747
748
  /**
748
749
  * The time the group was created.
749
750
  * @format date-time
750
751
  * @example "2023-06-07T05:39:56.961Z"
751
752
  */
752
- createdAt?: string;
753
+ created_at?: string;
753
754
  /**
754
755
  * The time the group was last updated.
755
756
  * @format date-time
756
757
  * @example "2023-06-07T05:39:56.961Z"
757
758
  */
758
- updatedAt?: string;
759
+ updated_at?: string;
759
760
  users?: V1Beta1User[];
761
+ /**
762
+ * The number of members explicitly added in the project.
763
+ * @format int32
764
+ * @example 2
765
+ */
766
+ members_count?: number;
760
767
  }
761
768
  interface V1Beta1GroupRequestBody {
762
769
  /** The name of the group. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores. */
@@ -776,17 +783,17 @@ interface V1Beta1Invitation {
776
783
  * The user email of the invited user.
777
784
  * @example "john.doe@raystack.org"
778
785
  */
779
- userId?: string;
786
+ user_id?: string;
780
787
  /**
781
788
  * The organization id to which the user is invited.
782
789
  * @example "b9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
783
790
  */
784
- orgId?: string;
791
+ org_id?: string;
785
792
  /**
786
793
  * The list of group ids to which the user is invited.
787
794
  * @example "c9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
788
795
  */
789
- groupIds?: string[];
796
+ group_ids?: string[];
790
797
  /**
791
798
  * The metadata of the invitation.
792
799
  * @example {"key":"value"}
@@ -797,18 +804,41 @@ interface V1Beta1Invitation {
797
804
  * @format date-time
798
805
  * @example "2023-06-07T05:39:56.961Z"
799
806
  */
800
- createdAt?: string;
807
+ created_at?: string;
801
808
  /**
802
809
  * The time when the invitation expires.
803
810
  * @format date-time
804
811
  * @example "2023-06-07T05:39:56.961Z"
805
812
  */
806
- expiresAt?: string;
813
+ expires_at?: string;
807
814
  /**
808
815
  * The list of role ids to which the user is invited in an organization.
809
816
  * @example "d9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
810
817
  */
811
- roleIds?: string[];
818
+ role_ids?: string[];
819
+ }
820
+ interface V1Beta1Invoice {
821
+ id?: string;
822
+ customer_id?: string;
823
+ provider_id?: string;
824
+ state?: string;
825
+ currency?: string;
826
+ /** @format int64 */
827
+ amount?: string;
828
+ hosted_url?: string;
829
+ /**
830
+ * The date on which payment for this invoice is due
831
+ * @format date-time
832
+ */
833
+ due_date?: string;
834
+ /**
835
+ * The date when this invoice is in effect.
836
+ * @format date-time
837
+ */
838
+ effective_at?: string;
839
+ metadata?: object;
840
+ /** @format date-time */
841
+ created_at?: string;
812
842
  }
813
843
  /** JSON Web Key as specified in RFC 7517 */
814
844
  interface V1Beta1JSONWebKey {
@@ -834,9 +864,9 @@ interface V1Beta1JSONWebKey {
834
864
  interface V1Beta1KeyCredential {
835
865
  type?: string;
836
866
  kid?: string;
837
- principalId?: string;
867
+ principal_id?: string;
838
868
  /** RSA private key as string */
839
- privateKey?: string;
869
+ private_key?: string;
840
870
  }
841
871
  interface V1Beta1ListAllOrganizationsResponse {
842
872
  organizations?: V1Beta1Organization[];
@@ -851,7 +881,7 @@ interface V1Beta1ListAuthStrategiesResponse {
851
881
  }
852
882
  interface V1Beta1ListBillingAccountsResponse {
853
883
  /** List of billing accounts */
854
- billingAccounts?: V1Beta1BillingAccount[];
884
+ billing_accounts?: V1Beta1BillingAccount[];
855
885
  }
856
886
  interface V1Beta1ListBillingTransactionsResponse {
857
887
  /** List of transactions */
@@ -859,14 +889,14 @@ interface V1Beta1ListBillingTransactionsResponse {
859
889
  }
860
890
  interface V1Beta1ListCheckoutsResponse {
861
891
  /** List of checkouts */
862
- checkoutSessions?: V1Beta1CheckoutSession[];
892
+ checkout_sessions?: V1Beta1CheckoutSession[];
863
893
  }
864
894
  interface V1Beta1ListCurrentUserGroupsResponse {
865
895
  groups?: V1Beta1Group[];
866
- accessPairs?: V1Beta1ListCurrentUserGroupsResponseAccessPair[];
896
+ access_pairs?: V1Beta1ListCurrentUserGroupsResponseAccessPair[];
867
897
  }
868
898
  interface V1Beta1ListCurrentUserGroupsResponseAccessPair {
869
- groupId?: string;
899
+ group_id?: string;
870
900
  permissions?: string[];
871
901
  }
872
902
  interface V1Beta1ListCurrentUserInvitationsResponse {
@@ -876,24 +906,24 @@ interface V1Beta1ListCurrentUserInvitationsResponse {
876
906
  interface V1Beta1ListCurrentUserPreferencesResponse {
877
907
  preferences?: V1Beta1Preference[];
878
908
  }
879
- interface V1Beta1ListFeaturesResponse {
880
- /** List of features */
881
- features?: V1Beta1Feature[];
882
- }
883
909
  interface V1Beta1ListGroupPreferencesResponse {
884
910
  preferences?: V1Beta1Preference[];
885
911
  }
886
912
  interface V1Beta1ListGroupUsersResponse {
887
913
  users?: V1Beta1User[];
888
- rolePairs?: V1Beta1ListGroupUsersResponseRolePair[];
914
+ role_pairs?: V1Beta1ListGroupUsersResponseRolePair[];
889
915
  }
890
916
  interface V1Beta1ListGroupUsersResponseRolePair {
891
- userId?: string;
917
+ user_id?: string;
892
918
  roles?: V1Beta1Role[];
893
919
  }
894
920
  interface V1Beta1ListGroupsResponse {
895
921
  groups?: V1Beta1Group[];
896
922
  }
923
+ interface V1Beta1ListInvoicesResponse {
924
+ /** List of invoices */
925
+ invoices?: V1Beta1Invoice[];
926
+ }
897
927
  interface V1Beta1ListMetaSchemasResponse {
898
928
  metaschemas?: V1Beta1MetaSchema[];
899
929
  }
@@ -929,19 +959,19 @@ interface V1Beta1ListOrganizationServiceUsersResponse {
929
959
  }
930
960
  interface V1Beta1ListOrganizationUsersResponse {
931
961
  users?: V1Beta1User[];
932
- rolePairs?: V1Beta1ListOrganizationUsersResponseRolePair[];
962
+ role_pairs?: V1Beta1ListOrganizationUsersResponseRolePair[];
933
963
  }
934
964
  interface V1Beta1ListOrganizationUsersResponseRolePair {
935
- userId?: string;
965
+ user_id?: string;
936
966
  roles?: V1Beta1Role[];
937
967
  }
938
968
  interface V1Beta1ListOrganizationsByCurrentUserResponse {
939
969
  organizations?: V1Beta1Organization[];
940
- joinableViaDomain?: V1Beta1Organization[];
970
+ joinable_via_domain?: V1Beta1Organization[];
941
971
  }
942
972
  interface V1Beta1ListOrganizationsByUserResponse {
943
973
  organizations?: V1Beta1Organization[];
944
- joinableViaDomain?: V1Beta1Organization[];
974
+ joinable_via_domain?: V1Beta1Organization[];
945
975
  }
946
976
  interface V1Beta1ListOrganizationsResponse {
947
977
  organizations?: V1Beta1Organization[];
@@ -953,21 +983,29 @@ interface V1Beta1ListPlansResponse {
953
983
  /** List of plans */
954
984
  plans?: V1Beta1Plan[];
955
985
  }
986
+ interface V1Beta1ListPlatformUsersResponse {
987
+ users?: V1Beta1User[];
988
+ serviceusers?: V1Beta1ServiceUser[];
989
+ }
956
990
  interface V1Beta1ListPoliciesResponse {
957
991
  policies?: V1Beta1Policy[];
958
992
  }
959
993
  interface V1Beta1ListPreferencesResponse {
960
994
  preferences?: V1Beta1Preference[];
961
995
  }
996
+ interface V1Beta1ListProductsResponse {
997
+ /** List of products */
998
+ products?: V1Beta1Product[];
999
+ }
962
1000
  interface V1Beta1ListProjectAdminsResponse {
963
1001
  users?: V1Beta1User[];
964
1002
  }
965
1003
  interface V1Beta1ListProjectGroupsResponse {
966
1004
  groups?: V1Beta1Group[];
967
- rolePairs?: V1Beta1ListProjectGroupsResponseRolePair[];
1005
+ role_pairs?: V1Beta1ListProjectGroupsResponseRolePair[];
968
1006
  }
969
1007
  interface V1Beta1ListProjectGroupsResponseRolePair {
970
- groupId?: string;
1008
+ group_id?: string;
971
1009
  roles?: V1Beta1Role[];
972
1010
  }
973
1011
  interface V1Beta1ListProjectPreferencesResponse {
@@ -978,26 +1016,26 @@ interface V1Beta1ListProjectResourcesResponse {
978
1016
  }
979
1017
  interface V1Beta1ListProjectServiceUsersResponse {
980
1018
  serviceusers?: V1Beta1ServiceUser[];
981
- rolePairs?: V1Beta1ListProjectServiceUsersResponseRolePair[];
1019
+ role_pairs?: V1Beta1ListProjectServiceUsersResponseRolePair[];
982
1020
  }
983
1021
  interface V1Beta1ListProjectServiceUsersResponseRolePair {
984
- serviceuserId?: string;
1022
+ serviceuser_id?: string;
985
1023
  roles?: V1Beta1Role[];
986
1024
  }
987
1025
  interface V1Beta1ListProjectUsersResponse {
988
1026
  users?: V1Beta1User[];
989
- rolePairs?: V1Beta1ListProjectUsersResponseRolePair[];
1027
+ role_pairs?: V1Beta1ListProjectUsersResponseRolePair[];
990
1028
  }
991
1029
  interface V1Beta1ListProjectUsersResponseRolePair {
992
- userId?: string;
1030
+ user_id?: string;
993
1031
  roles?: V1Beta1Role[];
994
1032
  }
995
1033
  interface V1Beta1ListProjectsByCurrentUserResponse {
996
1034
  projects?: V1Beta1Project[];
997
- accessPairs?: V1Beta1ListProjectsByCurrentUserResponseAccessPair[];
1035
+ access_pairs?: V1Beta1ListProjectsByCurrentUserResponseAccessPair[];
998
1036
  }
999
1037
  interface V1Beta1ListProjectsByCurrentUserResponseAccessPair {
1000
- projectId?: string;
1038
+ project_id?: string;
1001
1039
  permissions?: string[];
1002
1040
  }
1003
1041
  interface V1Beta1ListProjectsByUserResponse {
@@ -1060,13 +1098,13 @@ interface V1Beta1MetaSchema {
1060
1098
  * @format date-time
1061
1099
  * @example "2023-06-07T05:39:56.961Z"
1062
1100
  */
1063
- createdAt?: string;
1101
+ created_at?: string;
1064
1102
  /**
1065
1103
  * The time when the metaschema was updated.
1066
1104
  * @format date-time
1067
1105
  * @example "2023-06-07T05:39:56.961Z"
1068
1106
  */
1069
- updatedAt?: string;
1107
+ updated_at?: string;
1070
1108
  }
1071
1109
  interface V1Beta1MetaSchemaRequestBody {
1072
1110
  /** The name of the metaschema. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores. */
@@ -1084,13 +1122,13 @@ interface V1Beta1Namespace {
1084
1122
  * @format date-time
1085
1123
  * @example "2023-06-07T05:39:56.961Z"
1086
1124
  */
1087
- createdAt?: string;
1125
+ created_at?: string;
1088
1126
  /**
1089
1127
  * The time the namespace was last updated.
1090
1128
  * @format date-time
1091
1129
  * @example "2023-06-07T05:39:56.961Z"
1092
1130
  */
1093
- updatedAt?: string;
1131
+ updated_at?: string;
1094
1132
  }
1095
1133
  interface V1Beta1Organization {
1096
1134
  id?: string;
@@ -1102,13 +1140,13 @@ interface V1Beta1Organization {
1102
1140
  * @format date-time
1103
1141
  * @example "2023-06-07T05:39:56.961Z"
1104
1142
  */
1105
- createdAt?: string;
1143
+ created_at?: string;
1106
1144
  /**
1107
1145
  * The time the organization was last updated.
1108
1146
  * @format date-time
1109
1147
  * @example "2023-06-07T05:39:56.961Z"
1110
1148
  */
1111
- updatedAt?: string;
1149
+ updated_at?: string;
1112
1150
  /**
1113
1151
  * The state of the organization (enabled or disabled).
1114
1152
  * @example "enabled"
@@ -1130,6 +1168,21 @@ interface V1Beta1OrganizationRequestBody {
1130
1168
  */
1131
1169
  avatar?: string;
1132
1170
  }
1171
+ interface V1Beta1PaymentMethod {
1172
+ id?: string;
1173
+ customer_id?: string;
1174
+ provider_id?: string;
1175
+ type?: string;
1176
+ card_brand?: string;
1177
+ card_last4?: string;
1178
+ /** @format int64 */
1179
+ card_expiry_month?: string;
1180
+ /** @format int64 */
1181
+ card_expiry_year?: string;
1182
+ metadata?: object;
1183
+ /** @format date-time */
1184
+ created_at?: string;
1185
+ }
1133
1186
  interface V1Beta1Permission {
1134
1187
  id?: string;
1135
1188
  name?: string;
@@ -1139,13 +1192,13 @@ interface V1Beta1Permission {
1139
1192
  * @format date-time
1140
1193
  * @example "2023-06-07T05:39:56.961Z"
1141
1194
  */
1142
- createdAt?: string;
1195
+ created_at?: string;
1143
1196
  /**
1144
1197
  * The time the permission was last updated.
1145
1198
  * @format date-time
1146
1199
  * @example "2023-06-07T05:39:56.961Z"
1147
1200
  */
1148
- updatedAt?: string;
1201
+ updated_at?: string;
1149
1202
  namespace?: string;
1150
1203
  metadata?: object;
1151
1204
  /**
@@ -1179,20 +1232,20 @@ interface V1Beta1Plan {
1179
1232
  name?: string;
1180
1233
  title?: string;
1181
1234
  description?: string;
1182
- features?: V1Beta1Feature[];
1235
+ products?: V1Beta1Product[];
1183
1236
  /** known intervals are "day", "week", "month", and "year" */
1184
1237
  interval?: string;
1185
1238
  metadata?: object;
1186
1239
  /** @format date-time */
1187
- createdAt?: string;
1240
+ created_at?: string;
1188
1241
  /** @format date-time */
1189
- updatedAt?: string;
1242
+ updated_at?: string;
1190
1243
  }
1191
1244
  interface V1Beta1PlanRequestBody {
1192
1245
  name?: string;
1193
1246
  title?: string;
1194
1247
  description?: string;
1195
- features?: V1Beta1Feature[];
1248
+ products?: V1Beta1Product[];
1196
1249
  /** known intervals are "day", "week", "month", and "year" */
1197
1250
  interval?: string;
1198
1251
  metadata?: object;
@@ -1205,14 +1258,14 @@ interface V1Beta1Policy {
1205
1258
  * @format date-time
1206
1259
  * @example "2023-06-07T05:39:56.961Z"
1207
1260
  */
1208
- createdAt?: string;
1261
+ created_at?: string;
1209
1262
  /**
1210
1263
  * The time the policy was last updated.
1211
1264
  * @format date-time
1212
1265
  * @example "2023-06-07T05:39:56.961Z"
1213
1266
  */
1214
- updatedAt?: string;
1215
- roleId?: string;
1267
+ updated_at?: string;
1268
+ role_id?: string;
1216
1269
  /** namespace:uuid */
1217
1270
  resource?: string;
1218
1271
  /** namespace:uuid */
@@ -1221,7 +1274,7 @@ interface V1Beta1Policy {
1221
1274
  }
1222
1275
  interface V1Beta1PolicyRequestBody {
1223
1276
  /** unique id of the role to which policy is assigned */
1224
- roleId: string;
1277
+ role_id: string;
1225
1278
  /** The title can contain any UTF-8 character, used to provide a human-readable name for the policy. Can also be left empty. <br/> *Example:* `Policy title` */
1226
1279
  title?: string;
1227
1280
  /** The resource to which policy is assigned in this format `namespace:uuid`. <br/> *Example:* `app/guardian:70f69c3a-334b-4f25-90b8-4d4f3be6b8e2` */
@@ -1235,20 +1288,20 @@ interface V1Beta1Preference {
1235
1288
  id?: string;
1236
1289
  name?: string;
1237
1290
  value?: string;
1238
- resourceId?: string;
1239
- resourceType?: string;
1291
+ resource_id?: string;
1292
+ resource_type?: string;
1240
1293
  /**
1241
1294
  * The time when the preference was created.
1242
1295
  * @format date-time
1243
1296
  * @example "2023-06-07T05:39:56.961Z"
1244
1297
  */
1245
- createdAt?: string;
1298
+ created_at?: string;
1246
1299
  /**
1247
1300
  * The time when the preference was updated.
1248
1301
  * @format date-time
1249
1302
  * @example "2023-06-07T05:39:56.961Z"
1250
1303
  */
1251
- updatedAt?: string;
1304
+ updated_at?: string;
1252
1305
  }
1253
1306
  interface V1Beta1PreferenceRequestBody {
1254
1307
  name?: string;
@@ -1259,16 +1312,16 @@ interface V1Beta1PreferenceRequestBody {
1259
1312
  * it explains what preferences are available for a resource
1260
1313
  */
1261
1314
  interface V1Beta1PreferenceTrait {
1262
- resourceType?: string;
1315
+ resource_type?: string;
1263
1316
  name?: string;
1264
1317
  title?: string;
1265
1318
  description?: string;
1266
- longDescription?: string;
1319
+ long_description?: string;
1267
1320
  heading?: string;
1268
- subHeading?: string;
1321
+ sub_heading?: string;
1269
1322
  breadcrumb?: string;
1270
1323
  default?: string;
1271
- inputHints?: string;
1324
+ input_hints?: string;
1272
1325
  text?: string;
1273
1326
  textarea?: string;
1274
1327
  select?: string;
@@ -1279,48 +1332,84 @@ interface V1Beta1PreferenceTrait {
1279
1332
  }
1280
1333
  interface V1Beta1Price {
1281
1334
  id?: string;
1282
- featureId?: string;
1283
- providerId?: string;
1335
+ product_id?: string;
1336
+ provider_id?: string;
1284
1337
  name?: string;
1285
1338
  /** known intervals are "day", "week", "month", and "year" */
1286
1339
  interval?: string;
1287
1340
  /** usage_type known types are "licensed" and "metered" */
1288
- usageType?: string;
1341
+ usage_type?: string;
1289
1342
  /** billing_scheme known schemes are "tiered" and "flat" */
1290
- billingScheme?: string;
1343
+ billing_scheme?: string;
1291
1344
  state?: string;
1292
1345
  /** currency like "usd", "eur", "gbp" */
1293
1346
  currency?: string;
1294
1347
  /** @format int64 */
1295
1348
  amount?: string;
1296
1349
  /** metered_aggregate known aggregations are "sum", "last_during_period" and "max" */
1297
- meteredAggregate?: string;
1350
+ metered_aggregate?: string;
1298
1351
  /** tier_mode known modes are "graduated" and "volume" */
1299
- tierMode?: string;
1352
+ tier_mode?: string;
1300
1353
  metadata?: object;
1301
1354
  /** @format date-time */
1302
- createdAt?: string;
1355
+ created_at?: string;
1303
1356
  /** @format date-time */
1304
- updatedAt?: string;
1357
+ updated_at?: string;
1358
+ }
1359
+ interface V1Beta1Product {
1360
+ id?: string;
1361
+ name?: string;
1362
+ title?: string;
1363
+ description?: string;
1364
+ plan_ids?: string[];
1365
+ state?: string;
1366
+ prices?: V1Beta1Price[];
1367
+ /** @format int64 */
1368
+ credit_amount?: string;
1369
+ behavior?: string;
1370
+ features?: V1Beta1Feature[];
1371
+ metadata?: object;
1372
+ /** @format date-time */
1373
+ created_at?: string;
1374
+ /** @format date-time */
1375
+ updated_at?: string;
1376
+ }
1377
+ interface V1Beta1ProductRequestBody {
1378
+ name?: string;
1379
+ title?: string;
1380
+ description?: string;
1381
+ plan_id?: string;
1382
+ prices?: V1Beta1Price[];
1383
+ /** @format int64 */
1384
+ credit_amount?: string;
1385
+ behavior?: string;
1386
+ features?: V1Beta1Feature[];
1387
+ metadata?: object;
1305
1388
  }
1306
1389
  interface V1Beta1Project {
1307
1390
  id?: string;
1308
1391
  name?: string;
1309
1392
  title?: string;
1310
- orgId?: string;
1393
+ org_id?: string;
1311
1394
  metadata?: object;
1312
1395
  /**
1313
1396
  * The time the project was created.
1314
1397
  * @format date-time
1315
1398
  * @example "2023-06-07T05:39:56.961Z"
1316
1399
  */
1317
- createdAt?: string;
1400
+ created_at?: string;
1318
1401
  /**
1319
1402
  * The time the project was last updated.
1320
1403
  * @format date-time
1321
1404
  * @example "2023-06-07T05:39:56.961Z"
1322
1405
  */
1323
- updatedAt?: string;
1406
+ updated_at?: string;
1407
+ /**
1408
+ * The number of members explicitly added in the project.
1409
+ * @format int32
1410
+ * @example 2
1411
+ */
1412
+ members_count?: number;
1324
1413
  }
1325
1414
  interface V1Beta1ProjectRequestBody {
1326
1415
  /** The name of the project. The name must be unique within the entire Frontier instance. The name can contain only alphanumeric characters, dashes and underscores.<br/> *Example:* `frontier-playground` */
@@ -1330,7 +1419,7 @@ interface V1Beta1ProjectRequestBody {
1330
1419
  /** Metadata object for projects that can hold key value pairs defined in Project Metaschema. */
1331
1420
  metadata?: object;
1332
1421
  /** unique id of the organization to which project belongs */
1333
- orgId: string;
1422
+ org_id: string;
1334
1423
  }
1335
1424
  interface V1Beta1Relation {
1336
1425
  id?: string;
@@ -1339,14 +1428,14 @@ interface V1Beta1Relation {
1339
1428
  * @format date-time
1340
1429
  * @example "2023-06-07T05:39:56.961Z"
1341
1430
  */
1342
- createdAt?: string;
1431
+ created_at?: string;
1343
1432
  /**
1344
1433
  * The time the relation was last updated.
1345
1434
  * @format date-time
1346
1435
  * @example "2023-06-07T05:39:56.961Z"
1347
1436
  */
1348
- updatedAt?: string;
1349
- subjectSubRelation?: string;
1437
+ updated_at?: string;
1438
+ subject_sub_relation?: string;
1350
1439
  relation?: string;
1351
1440
  /** objectnamespace:id */
1352
1441
  object?: string;
@@ -1359,7 +1448,7 @@ interface V1Beta1RelationRequestBody {
1359
1448
  /** subjectnamespace:uuid */
1360
1449
  subject?: string;
1361
1450
  relation?: string;
1362
- subjectSubRelation?: string;
1451
+ subject_sub_relation?: string;
1363
1452
  }
1364
1453
  interface V1Beta1Resource {
1365
1454
  id?: string;
@@ -1370,15 +1459,15 @@ interface V1Beta1Resource {
1370
1459
  * @format date-time
1371
1460
  * @example "2023-06-07T05:39:56.961Z"
1372
1461
  */
1373
- createdAt?: string;
1462
+ created_at?: string;
1374
1463
  /**
1375
1464
  * The time the resource was last updated.
1376
1465
  * @format date-time
1377
1466
  * @example "2023-06-07T05:39:56.961Z"
1378
1467
  */
1379
- updatedAt?: string;
1468
+ updated_at?: string;
1380
1469
  urn?: string;
1381
- projectId?: string;
1470
+ project_id?: string;
1382
1471
  namespace?: string;
1383
1472
  principal?: string;
1384
1473
  metadata?: object;
@@ -1409,14 +1498,14 @@ interface V1Beta1Role {
1409
1498
  * @format date-time
1410
1499
  * @example "2023-06-07T05:39:56.961Z"
1411
1500
  */
1412
- createdAt?: string;
1501
+ created_at?: string;
1413
1502
  /**
1414
1503
  * The time the role was last updated.
1415
1504
  * @format date-time
1416
1505
  * @example "2023-06-07T05:39:56.961Z"
1417
1506
  */
1418
- updatedAt?: string;
1419
- orgId?: string;
1507
+ updated_at?: string;
1508
+ org_id?: string;
1420
1509
  state?: string;
1421
1510
  scopes?: string[];
1422
1511
  }
@@ -1440,7 +1529,7 @@ interface V1Beta1SecretCredential {
1440
1529
  * @format date-time
1441
1530
  * @example "2023-06-07T05:39:56.961Z"
1442
1531
  */
1443
- createdAt?: string;
1532
+ created_at?: string;
1444
1533
  }
1445
1534
  interface V1Beta1ServiceUser {
1446
1535
  id?: string;
@@ -1455,27 +1544,27 @@ interface V1Beta1ServiceUser {
1455
1544
  * @format date-time
1456
1545
  * @example "2023-06-07T05:39:56.961Z"
1457
1546
  */
1458
- createdAt?: string;
1547
+ created_at?: string;
1459
1548
  /**
1460
1549
  * The time the user was last updated.
1461
1550
  * @format date-time
1462
1551
  * @example "2023-06-07T05:39:56.961Z"
1463
1552
  */
1464
- updatedAt?: string;
1553
+ updated_at?: string;
1465
1554
  state?: string;
1466
- orgId?: string;
1555
+ org_id?: string;
1467
1556
  }
1468
1557
  interface V1Beta1ServiceUserKey {
1469
1558
  id?: string;
1470
1559
  title?: string;
1471
- principalId?: string;
1472
- publicKey?: string;
1560
+ principal_id?: string;
1561
+ public_key?: string;
1473
1562
  /**
1474
1563
  * The time when the secret was created.
1475
1564
  * @format date-time
1476
1565
  * @example "2023-06-07T05:39:56.961Z"
1477
1566
  */
1478
- createdAt?: string;
1567
+ created_at?: string;
1479
1568
  }
1480
1569
  interface V1Beta1ServiceUserRequestBody {
1481
1570
  /**
@@ -1487,33 +1576,29 @@ interface V1Beta1ServiceUserRequestBody {
1487
1576
  }
1488
1577
  interface V1Beta1Subscription {
1489
1578
  id?: string;
1490
- customerId?: string;
1491
- providerId?: string;
1492
- planId?: string;
1579
+ customer_id?: string;
1580
+ provider_id?: string;
1581
+ plan_id?: string;
1493
1582
  state?: string;
1494
1583
  /** @format int32 */
1495
- trialDays?: number;
1584
+ trial_days?: number;
1496
1585
  metadata?: object;
1497
1586
  /** @format date-time */
1498
- createdAt?: string;
1587
+ created_at?: string;
1499
1588
  /** @format date-time */
1500
- updatedAt?: string;
1589
+ updated_at?: string;
1501
1590
  /** @format date-time */
1502
- canceledAt?: string;
1591
+ canceled_at?: string;
1503
1592
  /** @format date-time */
1504
- endedAt?: string;
1593
+ ended_at?: string;
1505
1594
  }
1506
1595
  interface V1Beta1UpdateBillingAccountResponse {
1507
1596
  /** Updated billing account */
1508
- billingAccount?: V1Beta1BillingAccount;
1597
+ billing_account?: V1Beta1BillingAccount;
1509
1598
  }
1510
1599
  interface V1Beta1UpdateCurrentUserResponse {
1511
1600
  user?: V1Beta1User;
1512
1601
  }
1513
- interface V1Beta1UpdateFeatureResponse {
1514
- /** Updated feature */
1515
- feature?: V1Beta1Feature;
1516
- }
1517
1602
  interface V1Beta1UpdateGroupResponse {
1518
1603
  group?: V1Beta1Group;
1519
1604
  }
@@ -1536,6 +1621,10 @@ interface V1Beta1UpdatePlanResponse {
1536
1621
  interface V1Beta1UpdatePolicyResponse {
1537
1622
  policies?: V1Beta1Policy[];
1538
1623
  }
1624
+ interface V1Beta1UpdateProductResponse {
1625
+ /** Updated product */
1626
+ product?: V1Beta1Product;
1627
+ }
1539
1628
  interface V1Beta1UpdateProjectResourceResponse {
1540
1629
  resource?: V1Beta1Resource;
1541
1630
  }
@@ -1554,7 +1643,7 @@ interface V1Beta1UpdateUserResponse {
1554
1643
  }
1555
1644
  interface V1Beta1Usage {
1556
1645
  id?: string;
1557
- customerId?: string;
1646
+ customer_id?: string;
1558
1647
  source?: string;
1559
1648
  description?: string;
1560
1649
  type?: string;
@@ -1562,9 +1651,9 @@ interface V1Beta1Usage {
1562
1651
  amount?: string;
1563
1652
  metadata?: object;
1564
1653
  /** @format date-time */
1565
- createdAt?: string;
1654
+ created_at?: string;
1566
1655
  /** @format date-time */
1567
- updatedAt?: string;
1656
+ updated_at?: string;
1568
1657
  }
1569
1658
  interface V1Beta1User {
1570
1659
  id?: string;
@@ -1586,13 +1675,13 @@ interface V1Beta1User {
1586
1675
  * @format date-time
1587
1676
  * @example "2023-06-07T05:39:56.961Z"
1588
1677
  */
1589
- createdAt?: string;
1678
+ created_at?: string;
1590
1679
  /**
1591
1680
  * The time the user was last updated.
1592
1681
  * @format date-time
1593
1682
  * @example "2023-06-07T05:39:56.961Z"
1594
1683
  */
1595
- updatedAt?: string;
1684
+ updated_at?: string;
1596
1685
  /**
1597
1686
  * The state of the user (enabled or disabled).
1598
1687
  * @example "enabled"
@@ -1642,7 +1731,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1642
1731
  */
1643
1732
  adminServiceListGroups: (query?: {
1644
1733
  /** The organization id to filter by. */
1645
- orgId?: string;
1734
+ org_id?: string;
1646
1735
  /** The state to filter by. It can be enabled or disabled. */
1647
1736
  state?: string;
1648
1737
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupsResponse, RpcStatus>>;
@@ -1657,27 +1746,37 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1657
1746
  */
1658
1747
  adminServiceListAllOrganizations: (query?: {
1659
1748
  /** The user id to filter by. */
1660
- userId?: string;
1749
+ user_id?: string;
1661
1750
  /** The state to filter by. It can be enabled or disabled. */
1662
1751
  state?: string;
1663
1752
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
1664
1753
  /**
1665
- * @description Checkout a feature to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
1754
+ * @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
1666
1755
  *
1667
1756
  * @tags Checkout
1668
1757
  * @name AdminServiceDelegatedCheckout
1669
- * @summary Checkout a feature or subscription
1670
- * @request POST:/v1beta1/admin/organizations/{orgId}/billing/{billingId}/checkouts
1758
+ * @summary Checkout a product or subscription
1759
+ * @request POST:/v1beta1/admin/organizations/{org_id}/billing/{billing_id}/checkouts
1671
1760
  * @secure
1672
1761
  */
1673
1762
  adminServiceDelegatedCheckout: (orgId: string, billingId: string, body: {
1674
1763
  /** Subscription to create */
1675
- subscriptionBody?: V1Beta1CheckoutSubscriptionBody;
1676
- /** Feature to buy */
1677
- featureBody?: V1Beta1CheckoutFeatureBody;
1764
+ subscription_body?: V1Beta1CheckoutSubscriptionBody;
1765
+ /** Product to buy */
1766
+ product_body?: V1Beta1CheckoutProductBody;
1678
1767
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, RpcStatus>>;
1679
1768
  /**
1680
- * @description Adds a user to a platform.
1769
+ * @description Lists all the users added to the platform.
1770
+ *
1771
+ * @tags Platform
1772
+ * @name AdminServiceListPlatformUsers
1773
+ * @summary List platform users
1774
+ * @request GET:/v1beta1/admin/platform/users
1775
+ * @secure
1776
+ */
1777
+ adminServiceListPlatformUsers: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlatformUsersResponse, RpcStatus>>;
1778
+ /**
1779
+ * @description Adds a user to the platform.
1681
1780
  *
1682
1781
  * @tags Platform
1683
1782
  * @name AdminServiceAddPlatformUser
@@ -1697,7 +1796,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1697
1796
  */
1698
1797
  adminServiceListProjects: (query?: {
1699
1798
  /** The organization id to filter by. */
1700
- orgId?: string;
1799
+ org_id?: string;
1701
1800
  /** The state to filter by. It can be enabled or disabled. */
1702
1801
  state?: string;
1703
1802
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsResponse, RpcStatus>>;
@@ -1710,7 +1809,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1710
1809
  * @request GET:/v1beta1/admin/relations
1711
1810
  * @secure
1712
1811
  */
1713
- adminServiceListRelations: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRelationsResponse, RpcStatus>>;
1812
+ adminServiceListRelations: (query?: {
1813
+ /** The subject to filter by. */
1814
+ subject?: string;
1815
+ /** The object to filter by. */
1816
+ object?: string;
1817
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRelationsResponse, RpcStatus>>;
1714
1818
  /**
1715
1819
  * @description Lists all the resources from all the organizations in a Frontier instance. It can be filtered by user, project, organization and namespace.
1716
1820
  *
@@ -1722,11 +1826,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1722
1826
  */
1723
1827
  adminServiceListResources: (query?: {
1724
1828
  /** The user id to filter by. */
1725
- userId?: string;
1829
+ user_id?: string;
1726
1830
  /** The project id to filter by. */
1727
- projectId?: string;
1831
+ project_id?: string;
1728
1832
  /** The organization id to filter by. */
1729
- organizationId?: string;
1833
+ organization_id?: string;
1730
1834
  /** The namespace to filter by. */
1731
1835
  namespace?: string;
1732
1836
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListResourcesResponse, RpcStatus>>;
@@ -1744,18 +1848,18 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1744
1848
  * The maximum number of users to return per page. The default is 50.
1745
1849
  * @format int32
1746
1850
  */
1747
- pageSize?: number;
1851
+ page_size?: number;
1748
1852
  /**
1749
1853
  * The page number to return. The default is 1.
1750
1854
  * @format int32
1751
1855
  */
1752
- pageNum?: number;
1856
+ page_num?: number;
1753
1857
  /** The keyword to search for. It can be a user's name, email,metadata or id. */
1754
1858
  keyword?: string;
1755
1859
  /** The organization id to filter by. */
1756
- orgId?: string;
1860
+ org_id?: string;
1757
1861
  /** The group id to filter by. */
1758
- groupId?: string;
1862
+ group_id?: string;
1759
1863
  /** The state to filter by. It can be enabled or disabled. */
1760
1864
  state?: string;
1761
1865
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllUsersResponse, RpcStatus>>;
@@ -1780,7 +1884,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1780
1884
  */
1781
1885
  frontierServiceAuthCallback: (query?: {
1782
1886
  /** strategy_name will not be set for oidc but can be utilized for methods like email magic links */
1783
- strategyName?: string;
1887
+ strategy_name?: string;
1784
1888
  /** for oidc & magic links */
1785
1889
  state?: string;
1786
1890
  code?: string;
@@ -1788,7 +1892,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1788
1892
  * state_options has additional configurations for the authentication flow at hand
1789
1893
  * for example, in case of passkey, it has challenge and public key
1790
1894
  */
1791
- stateOptions?: object;
1895
+ state_options?: object;
1792
1896
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
1793
1897
  /**
1794
1898
  * @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.
@@ -1836,7 +1940,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1836
1940
  * @tags Authn
1837
1941
  * @name FrontierServiceAuthenticate
1838
1942
  * @summary Authenticate with a strategy
1839
- * @request GET:/v1beta1/auth/register/{strategyName}
1943
+ * @request GET:/v1beta1/auth/register/{strategy_name}
1840
1944
  * @secure
1841
1945
  */
1842
1946
  frontierServiceAuthenticate: (strategyName: string, query?: {
@@ -1847,7 +1951,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1847
1951
  *
1848
1952
  * If set to true, location header will be set for redirect to start auth flow
1849
1953
  */
1850
- redirectOnstart?: boolean;
1954
+ redirect_onstart?: boolean;
1851
1955
  /**
1852
1956
  * by default, after successful authentication(flow completes) no operation will be performed,
1853
1957
  * to apply redirection in case of browsers, provide an url that will be used
@@ -1856,7 +1960,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1856
1960
  *
1857
1961
  * URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
1858
1962
  */
1859
- returnTo?: string;
1963
+ return_to?: string;
1860
1964
  /**
1861
1965
  * email of the user for magic links
1862
1966
  *
@@ -1872,7 +1976,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1872
1976
  *
1873
1977
  * 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`
1874
1978
  */
1875
- callbackUrl?: string;
1979
+ callback_url?: string;
1876
1980
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
1877
1981
  /**
1878
1982
  * @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.
@@ -1880,7 +1984,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1880
1984
  * @tags Authn
1881
1985
  * @name FrontierServiceAuthenticate2
1882
1986
  * @summary Authenticate with a strategy
1883
- * @request POST:/v1beta1/auth/register/{strategyName}
1987
+ * @request POST:/v1beta1/auth/register/{strategy_name}
1884
1988
  * @secure
1885
1989
  */
1886
1990
  frontierServiceAuthenticate2: (strategyName: string, body: {
@@ -1890,7 +1994,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1890
1994
  * also be returned as endpoint in response anyway
1891
1995
  * If set to true, location header will be set for redirect to start auth flow
1892
1996
  */
1893
- redirectOnstart?: boolean;
1997
+ redirect_onstart?: boolean;
1894
1998
  /**
1895
1999
  * by default, after successful authentication(flow completes) no operation will be performed,
1896
2000
  * to apply redirection in case of browsers, provide an url that will be used
@@ -1898,7 +2002,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1898
2002
  * return_to should be one of the allowed urls configured at instance level
1899
2003
  * URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
1900
2004
  */
1901
- returnTo?: string;
2005
+ return_to?: string;
1902
2006
  /**
1903
2007
  * email of the user for magic links
1904
2008
  * Email of the user to authenticate. Used for magic links.<br/> *Example:*`example@acme.org`
@@ -1912,7 +2016,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1912
2016
  * callback_url should be one of the allowed urls configured at instance level
1913
2017
  * 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`
1914
2018
  */
1915
- callbackUrl?: string;
2019
+ callback_url?: string;
1916
2020
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
1917
2021
  /**
1918
2022
  * @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.
@@ -1934,63 +2038,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
1934
2038
  * @secure
1935
2039
  */
1936
2040
  frontierServiceBatchCheckPermission: (body: V1Beta1BatchCheckPermissionRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1BatchCheckPermissionResponse, RpcStatus>>;
1937
- /**
1938
- * @description List all transactions of a billing account.
1939
- *
1940
- * @tags Transaction
1941
- * @name FrontierServiceListBillingTransactions
1942
- * @summary List billing transactions
1943
- * @request GET:/v1beta1/billing/{billingId}/transactions
1944
- * @secure
1945
- */
1946
- frontierServiceListBillingTransactions: (billingId: string, query?: {
1947
- orgId?: string;
1948
- /** @format date-time */
1949
- since?: string;
1950
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
1951
- /**
1952
- * @description List all features of a platform.
1953
- *
1954
- * @tags Feature
1955
- * @name FrontierServiceListFeatures
1956
- * @summary List features
1957
- * @request GET:/v1beta1/billing/features
1958
- * @secure
1959
- */
1960
- frontierServiceListFeatures: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListFeaturesResponse, RpcStatus>>;
1961
- /**
1962
- * @description Create a new feature for platform.
1963
- *
1964
- * @tags Feature
1965
- * @name FrontierServiceCreateFeature
1966
- * @summary Create feature
1967
- * @request POST:/v1beta1/billing/features
1968
- * @secure
1969
- */
1970
- frontierServiceCreateFeature: (body: V1Beta1CreateFeatureRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateFeatureResponse, RpcStatus>>;
1971
- /**
1972
- * @description Get a feature by ID.
1973
- *
1974
- * @tags Feature
1975
- * @name FrontierServiceGetFeature
1976
- * @summary Get feature
1977
- * @request GET:/v1beta1/billing/features/{id}
1978
- * @secure
1979
- */
1980
- frontierServiceGetFeature: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetFeatureResponse, RpcStatus>>;
1981
- /**
1982
- * @description Update a feature by ID.
1983
- *
1984
- * @tags Feature
1985
- * @name FrontierServiceUpdateFeature
1986
- * @summary Update feature
1987
- * @request PUT:/v1beta1/billing/features/{id}
1988
- * @secure
1989
- */
1990
- frontierServiceUpdateFeature: (id: string, body: {
1991
- /** Feature to update */
1992
- body?: V1Beta1FeatureRequestBody | undefined;
1993
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateFeatureResponse, RpcStatus>>;
1994
2041
  /**
1995
2042
  * @description List all plans.
1996
2043
  *
@@ -2034,6 +2081,49 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2034
2081
  /** Plan to update */
2035
2082
  body?: V1Beta1PlanRequestBody | undefined;
2036
2083
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
2084
+ /**
2085
+ * @description List all products of a platform.
2086
+ *
2087
+ * @tags Product
2088
+ * @name FrontierServiceListProducts
2089
+ * @summary List products
2090
+ * @request GET:/v1beta1/billing/products
2091
+ * @secure
2092
+ */
2093
+ frontierServiceListProducts: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProductsResponse, RpcStatus>>;
2094
+ /**
2095
+ * @description Create a new product for platform.
2096
+ *
2097
+ * @tags Product
2098
+ * @name FrontierServiceCreateProduct
2099
+ * @summary Create product
2100
+ * @request POST:/v1beta1/billing/products
2101
+ * @secure
2102
+ */
2103
+ frontierServiceCreateProduct: (body: V1Beta1CreateProductRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProductResponse, RpcStatus>>;
2104
+ /**
2105
+ * @description Get a product by ID.
2106
+ *
2107
+ * @tags Product
2108
+ * @name FrontierServiceGetProduct
2109
+ * @summary Get product
2110
+ * @request GET:/v1beta1/billing/products/{id}
2111
+ * @secure
2112
+ */
2113
+ frontierServiceGetProduct: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProductResponse, RpcStatus>>;
2114
+ /**
2115
+ * @description Update a product by ID.
2116
+ *
2117
+ * @tags Product
2118
+ * @name FrontierServiceUpdateProduct
2119
+ * @summary Update product
2120
+ * @request PUT:/v1beta1/billing/products/{id}
2121
+ * @secure
2122
+ */
2123
+ frontierServiceUpdateProduct: (id: string, body: {
2124
+ /** Product to update */
2125
+ body?: V1Beta1ProductRequestBody | undefined;
2126
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
2037
2127
  /**
2038
2128
  * @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.
2039
2129
  *
@@ -2136,48 +2226,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2136
2226
  * @secure
2137
2227
  */
2138
2228
  frontierServiceGetNamespace: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetNamespaceResponse, RpcStatus>>;
2139
- /**
2140
- * @description Returns a list of audit logs of an organization in Frontier.
2141
- *
2142
- * @tags AuditLog
2143
- * @name FrontierServiceListOrganizationAuditLogs
2144
- * @summary List audit logs
2145
- * @request GET:/v1beta1/organization/{orgId}/auditlogs
2146
- * @secure
2147
- */
2148
- frontierServiceListOrganizationAuditLogs: (orgId: string, query?: {
2149
- source?: string;
2150
- action?: string;
2151
- /**
2152
- * start_time and end_time are inclusive
2153
- * @format date-time
2154
- */
2155
- startTime?: string;
2156
- /** @format date-time */
2157
- endTime?: string;
2158
- }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAuditLogsResponse, RpcStatus>>;
2159
- /**
2160
- * @description Create new audit logs in a batch.
2161
- *
2162
- * @tags AuditLog
2163
- * @name FrontierServiceCreateOrganizationAuditLogs
2164
- * @summary Create audit log
2165
- * @request POST:/v1beta1/organization/{orgId}/auditlogs
2166
- * @secure
2167
- */
2168
- frontierServiceCreateOrganizationAuditLogs: (orgId: string, body: {
2169
- logs?: V1Beta1AuditLog[];
2170
- }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2171
- /**
2172
- * @description Get an audit log by ID.
2173
- *
2174
- * @tags AuditLog
2175
- * @name FrontierServiceGetOrganizationAuditLog
2176
- * @summary Get audit log
2177
- * @request GET:/v1beta1/organization/{orgId}/auditlogs/{id}
2178
- * @secure
2179
- */
2180
- frontierServiceGetOrganizationAuditLog: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationAuditLogResponse, RpcStatus>>;
2181
2229
  /**
2182
2230
  * @description Returns a list of organizations. It can be filtered by userID or organization state.
2183
2231
  *
@@ -2189,7 +2237,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2189
2237
  */
2190
2238
  frontierServiceListOrganizations: (query?: {
2191
2239
  /** The user ID to filter by. It can be used to list all the organizations that the user is a member of. Otherwise, all the organizations in the Frontier instance will be listed. */
2192
- userId?: string;
2240
+ user_id?: string;
2193
2241
  /** The state to filter by. It can be `enabled` or `disabled`. */
2194
2242
  state?: string;
2195
2243
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsResponse, RpcStatus>>;
@@ -2297,6 +2345,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2297
2345
  frontierServiceListOrganizationProjects: (id: string, query?: {
2298
2346
  /** Filter projects by state. If not specified, all projects are returned. <br/> *Possible values:* `enabled` or `disabled` */
2299
2347
  state?: string;
2348
+ with_member_count?: boolean;
2300
2349
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationProjectsResponse, RpcStatus>>;
2301
2350
  /**
2302
2351
  * No description
@@ -2318,8 +2367,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2318
2367
  * @secure
2319
2368
  */
2320
2369
  frontierServiceListOrganizationUsers: (id: string, query?: {
2321
- permissionFilter?: string;
2322
- withRoles?: boolean;
2370
+ permission_filter?: string;
2371
+ with_roles?: boolean;
2323
2372
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationUsersResponse, RpcStatus>>;
2324
2373
  /**
2325
2374
  * @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
@@ -2332,7 +2381,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2332
2381
  */
2333
2382
  frontierServiceAddOrganizationUsers: (id: string, body: {
2334
2383
  /** List of user IDs to be added to the organization. */
2335
- userIds?: string[];
2384
+ user_ids?: string[];
2336
2385
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2337
2386
  /**
2338
2387
  * @description Remove a user from an organization
@@ -2340,17 +2389,59 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2340
2389
  * @tags Organization
2341
2390
  * @name FrontierServiceRemoveOrganizationUser
2342
2391
  * @summary Remove organization user
2343
- * @request DELETE:/v1beta1/organizations/{id}/users/{userId}
2392
+ * @request DELETE:/v1beta1/organizations/{id}/users/{user_id}
2344
2393
  * @secure
2345
2394
  */
2346
2395
  frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2396
+ /**
2397
+ * @description Returns a list of audit logs of an organization in Frontier.
2398
+ *
2399
+ * @tags AuditLog
2400
+ * @name FrontierServiceListOrganizationAuditLogs
2401
+ * @summary List audit logs
2402
+ * @request GET:/v1beta1/organizations/{org_id}/auditlogs
2403
+ * @secure
2404
+ */
2405
+ frontierServiceListOrganizationAuditLogs: (orgId: string, query?: {
2406
+ source?: string;
2407
+ action?: string;
2408
+ /**
2409
+ * start_time and end_time are inclusive
2410
+ * @format date-time
2411
+ */
2412
+ start_time?: string;
2413
+ /** @format date-time */
2414
+ end_time?: string;
2415
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAuditLogsResponse, RpcStatus>>;
2416
+ /**
2417
+ * @description Create new audit logs in a batch.
2418
+ *
2419
+ * @tags AuditLog
2420
+ * @name FrontierServiceCreateOrganizationAuditLogs
2421
+ * @summary Create audit log
2422
+ * @request POST:/v1beta1/organizations/{org_id}/auditlogs
2423
+ * @secure
2424
+ */
2425
+ frontierServiceCreateOrganizationAuditLogs: (orgId: string, body: {
2426
+ logs?: V1Beta1AuditLog[];
2427
+ }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2428
+ /**
2429
+ * @description Get an audit log by ID.
2430
+ *
2431
+ * @tags AuditLog
2432
+ * @name FrontierServiceGetOrganizationAuditLog
2433
+ * @summary Get audit log
2434
+ * @request GET:/v1beta1/organizations/{org_id}/auditlogs/{id}
2435
+ * @secure
2436
+ */
2437
+ frontierServiceGetOrganizationAuditLog: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationAuditLogResponse, RpcStatus>>;
2347
2438
  /**
2348
2439
  * @description List billing accounts of an organization.
2349
2440
  *
2350
2441
  * @tags Billing
2351
2442
  * @name FrontierServiceListBillingAccounts
2352
2443
  * @summary List billing accounts
2353
- * @request GET:/v1beta1/organizations/{orgId}/billing
2444
+ * @request GET:/v1beta1/organizations/{org_id}/billing
2354
2445
  * @secure
2355
2446
  */
2356
2447
  frontierServiceListBillingAccounts: (orgId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingAccountsResponse, RpcStatus>>;
@@ -2360,7 +2451,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2360
2451
  * @tags Billing
2361
2452
  * @name FrontierServiceCreateBillingAccount
2362
2453
  * @summary Create billing account
2363
- * @request POST:/v1beta1/organizations/{orgId}/billing
2454
+ * @request POST:/v1beta1/organizations/{org_id}/billing
2364
2455
  * @secure
2365
2456
  */
2366
2457
  frontierServiceCreateBillingAccount: (orgId: string, body: {
@@ -2373,10 +2464,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2373
2464
  * @tags Entitlement
2374
2465
  * @name FrontierServiceCheckFeatureEntitlement
2375
2466
  * @summary Check entitlement
2376
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/check
2467
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/check
2377
2468
  * @secure
2378
2469
  */
2379
2470
  frontierServiceCheckFeatureEntitlement: (orgId: string, billingId: string, body: {
2471
+ /** feature or product name */
2380
2472
  feature?: string;
2381
2473
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, RpcStatus>>;
2382
2474
  /**
@@ -2385,34 +2477,54 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2385
2477
  * @tags Checkout
2386
2478
  * @name FrontierServiceListCheckouts
2387
2479
  * @summary List checkouts
2388
- * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
2480
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts
2389
2481
  * @secure
2390
2482
  */
2391
2483
  frontierServiceListCheckouts: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
2392
2484
  /**
2393
- * @description Checkout a feature to buy it one time or start a subscription plan on a billing account.
2485
+ * @description Checkout a product to buy it one time or start a subscription plan on a billing account.
2394
2486
  *
2395
2487
  * @tags Checkout
2396
2488
  * @name FrontierServiceCreateCheckout
2397
- * @summary Checkout a feature or subscription
2398
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/checkouts
2489
+ * @summary Checkout a product or subscription
2490
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts
2399
2491
  * @secure
2400
2492
  */
2401
2493
  frontierServiceCreateCheckout: (orgId: string, billingId: string, body: {
2402
- successUrl?: string;
2403
- cancelUrl?: string;
2494
+ success_url?: string;
2495
+ cancel_url?: string;
2404
2496
  /** Subscription to create */
2405
- subscriptionBody?: V1Beta1CheckoutSubscriptionBody;
2406
- /** Feature to buy */
2407
- featureBody?: V1Beta1CheckoutFeatureBody;
2497
+ subscription_body?: V1Beta1CheckoutSubscriptionBody;
2498
+ /** Product to buy */
2499
+ product_body?: V1Beta1CheckoutProductBody;
2408
2500
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
2501
+ /**
2502
+ * @description List all invoices of a billing account.
2503
+ *
2504
+ * @tags Invoice
2505
+ * @name FrontierServiceListInvoices
2506
+ * @summary List invoices
2507
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/invoices
2508
+ * @secure
2509
+ */
2510
+ frontierServiceListInvoices: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListInvoicesResponse, RpcStatus>>;
2511
+ /**
2512
+ * @description Get the upcoming invoice of a billing account.
2513
+ *
2514
+ * @tags Invoice
2515
+ * @name FrontierServiceGetUpcomingInvoice
2516
+ * @summary Get upcoming invoice
2517
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/invoices/upcoming
2518
+ * @secure
2519
+ */
2520
+ frontierServiceGetUpcomingInvoice: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, RpcStatus>>;
2409
2521
  /**
2410
2522
  * @description List subscriptions of a billing account.
2411
2523
  *
2412
2524
  * @tags Subscription
2413
2525
  * @name FrontierServiceListSubscriptions
2414
2526
  * @summary List subscriptions
2415
- * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions
2527
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions
2416
2528
  * @secure
2417
2529
  */
2418
2530
  frontierServiceListSubscriptions: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
@@ -2422,7 +2534,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2422
2534
  * @tags Subscription
2423
2535
  * @name FrontierServiceGetSubscription
2424
2536
  * @summary Get subscription
2425
- * @request GET:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
2537
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}
2426
2538
  * @secure
2427
2539
  */
2428
2540
  frontierServiceGetSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
@@ -2432,7 +2544,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2432
2544
  * @tags Subscription
2433
2545
  * @name FrontierServiceUpdateSubscription
2434
2546
  * @summary Update subscription
2435
- * @request PUT:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}
2547
+ * @request PUT:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}
2436
2548
  * @secure
2437
2549
  */
2438
2550
  frontierServiceUpdateSubscription: (orgId: string, billingId: string, id: string, body: {
@@ -2444,17 +2556,30 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2444
2556
  * @tags Subscription
2445
2557
  * @name FrontierServiceCancelSubscription
2446
2558
  * @summary Cancel subscription
2447
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/subscriptions/{id}/cancel
2559
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}/cancel
2448
2560
  * @secure
2449
2561
  */
2450
2562
  frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2563
+ /**
2564
+ * @description List all transactions of a billing account.
2565
+ *
2566
+ * @tags Transaction
2567
+ * @name FrontierServiceListBillingTransactions
2568
+ * @summary List billing transactions
2569
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/transactions
2570
+ * @secure
2571
+ */
2572
+ frontierServiceListBillingTransactions: (orgId: string, billingId: string, query?: {
2573
+ /** @format date-time */
2574
+ since?: string;
2575
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
2451
2576
  /**
2452
2577
  * @description Report a new billing usage for a billing account.
2453
2578
  *
2454
2579
  * @tags Usage
2455
2580
  * @name FrontierServiceCreateBillingUsage
2456
2581
  * @summary Create billing usage
2457
- * @request POST:/v1beta1/organizations/{orgId}/billing/{billingId}/usages
2582
+ * @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/usages
2458
2583
  * @secure
2459
2584
  */
2460
2585
  frontierServiceCreateBillingUsage: (orgId: string, billingId: string, body: {
@@ -2467,17 +2592,19 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2467
2592
  * @tags Billing
2468
2593
  * @name FrontierServiceGetBillingAccount
2469
2594
  * @summary Get billing account
2470
- * @request GET:/v1beta1/organizations/{orgId}/billing/{id}
2595
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{id}
2471
2596
  * @secure
2472
2597
  */
2473
- frontierServiceGetBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
2598
+ frontierServiceGetBillingAccount: (orgId: string, id: string, query?: {
2599
+ with_payment_methods?: boolean;
2600
+ }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
2474
2601
  /**
2475
2602
  * @description Delete a billing account by ID.
2476
2603
  *
2477
2604
  * @tags Billing
2478
2605
  * @name FrontierServiceDeleteBillingAccount
2479
2606
  * @summary Delete billing account
2480
- * @request DELETE:/v1beta1/organizations/{orgId}/billing/{id}
2607
+ * @request DELETE:/v1beta1/organizations/{org_id}/billing/{id}
2481
2608
  * @secure
2482
2609
  */
2483
2610
  frontierServiceDeleteBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2487,7 +2614,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2487
2614
  * @tags Billing
2488
2615
  * @name FrontierServiceUpdateBillingAccount
2489
2616
  * @summary Update billing account
2490
- * @request PUT:/v1beta1/organizations/{orgId}/billing/{id}
2617
+ * @request PUT:/v1beta1/organizations/{org_id}/billing/{id}
2491
2618
  * @secure
2492
2619
  */
2493
2620
  frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
@@ -2500,7 +2627,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2500
2627
  * @tags Billing
2501
2628
  * @name FrontierServiceGetBillingBalance
2502
2629
  * @summary Get billing balance
2503
- * @request GET:/v1beta1/organizations/{orgId}/billing/{id}/balance
2630
+ * @request GET:/v1beta1/organizations/{org_id}/billing/{id}/balance
2504
2631
  * @secure
2505
2632
  */
2506
2633
  frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, RpcStatus>>;
@@ -2510,7 +2637,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2510
2637
  * @tags Organization
2511
2638
  * @name FrontierServiceListOrganizationDomains
2512
2639
  * @summary List org domains
2513
- * @request GET:/v1beta1/organizations/{orgId}/domains
2640
+ * @request GET:/v1beta1/organizations/{org_id}/domains
2514
2641
  * @secure
2515
2642
  */
2516
2643
  frontierServiceListOrganizationDomains: (orgId: string, query?: {
@@ -2523,7 +2650,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2523
2650
  * @tags Organization
2524
2651
  * @name FrontierServiceCreateOrganizationDomain
2525
2652
  * @summary Create org domain
2526
- * @request POST:/v1beta1/organizations/{orgId}/domains
2653
+ * @request POST:/v1beta1/organizations/{org_id}/domains
2527
2654
  * @secure
2528
2655
  */
2529
2656
  frontierServiceCreateOrganizationDomain: (orgId: string, body: {
@@ -2536,7 +2663,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2536
2663
  * @tags Organization
2537
2664
  * @name FrontierServiceGetOrganizationDomain
2538
2665
  * @summary Get org domain
2539
- * @request GET:/v1beta1/organizations/{orgId}/domains/{id}
2666
+ * @request GET:/v1beta1/organizations/{org_id}/domains/{id}
2540
2667
  * @secure
2541
2668
  */
2542
2669
  frontierServiceGetOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationDomainResponse, RpcStatus>>;
@@ -2546,7 +2673,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2546
2673
  * @tags Organization
2547
2674
  * @name FrontierServiceDeleteOrganizationDomain
2548
2675
  * @summary Delete org domain
2549
- * @request DELETE:/v1beta1/organizations/{orgId}/domains/{id}
2676
+ * @request DELETE:/v1beta1/organizations/{org_id}/domains/{id}
2550
2677
  * @secure
2551
2678
  */
2552
2679
  frontierServiceDeleteOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2556,7 +2683,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2556
2683
  * @tags Organization
2557
2684
  * @name FrontierServiceVerifyOrganizationDomain
2558
2685
  * @summary Verify org domain
2559
- * @request POST:/v1beta1/organizations/{orgId}/domains/{id}/verify
2686
+ * @request POST:/v1beta1/organizations/{org_id}/domains/{id}/verify
2560
2687
  * @secure
2561
2688
  */
2562
2689
  frontierServiceVerifyOrganizationDomain: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<V1Beta1VerifyOrganizationDomainResponse, RpcStatus>>;
@@ -2566,14 +2693,15 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2566
2693
  * @tags Group
2567
2694
  * @name FrontierServiceListOrganizationGroups
2568
2695
  * @summary List organization groups
2569
- * @request GET:/v1beta1/organizations/{orgId}/groups
2696
+ * @request GET:/v1beta1/organizations/{org_id}/groups
2570
2697
  * @secure
2571
2698
  */
2572
2699
  frontierServiceListOrganizationGroups: (orgId: string, query?: {
2573
2700
  /** The state of the group to filter by. It can be enabled or disabled. */
2574
2701
  state?: string;
2575
- groupIds?: string[];
2576
- withMembers?: boolean;
2702
+ group_ids?: string[];
2703
+ with_members?: boolean;
2704
+ with_member_count?: boolean;
2577
2705
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationGroupsResponse, RpcStatus>>;
2578
2706
  /**
2579
2707
  * @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.
@@ -2581,7 +2709,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2581
2709
  * @tags Group
2582
2710
  * @name FrontierServiceCreateGroup
2583
2711
  * @summary Create group
2584
- * @request POST:/v1beta1/organizations/{orgId}/groups
2712
+ * @request POST:/v1beta1/organizations/{org_id}/groups
2585
2713
  * @secure
2586
2714
  */
2587
2715
  frontierServiceCreateGroup: (orgId: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupResponse, RpcStatus>>;
@@ -2591,11 +2719,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2591
2719
  * @tags Group
2592
2720
  * @name FrontierServiceGetGroup
2593
2721
  * @summary Get group
2594
- * @request GET:/v1beta1/organizations/{orgId}/groups/{id}
2722
+ * @request GET:/v1beta1/organizations/{org_id}/groups/{id}
2595
2723
  * @secure
2596
2724
  */
2597
2725
  frontierServiceGetGroup: (orgId: string, id: string, query?: {
2598
- withMembers?: boolean;
2726
+ with_members?: boolean;
2599
2727
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, RpcStatus>>;
2600
2728
  /**
2601
2729
  * @description Delete an organization group permanently and all of its relations
@@ -2603,7 +2731,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2603
2731
  * @tags Group
2604
2732
  * @name FrontierServiceDeleteGroup
2605
2733
  * @summary Delete group
2606
- * @request DELETE:/v1beta1/organizations/{orgId}/groups/{id}
2734
+ * @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}
2607
2735
  * @secure
2608
2736
  */
2609
2737
  frontierServiceDeleteGroup: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2613,7 +2741,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2613
2741
  * @tags Group
2614
2742
  * @name FrontierServiceUpdateGroup
2615
2743
  * @summary Update group
2616
- * @request PUT:/v1beta1/organizations/{orgId}/groups/{id}
2744
+ * @request PUT:/v1beta1/organizations/{org_id}/groups/{id}
2617
2745
  * @secure
2618
2746
  */
2619
2747
  frontierServiceUpdateGroup: (orgId: string, id: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateGroupResponse, RpcStatus>>;
@@ -2623,7 +2751,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2623
2751
  * @tags Group
2624
2752
  * @name FrontierServiceDisableGroup
2625
2753
  * @summary Disable group
2626
- * @request POST:/v1beta1/organizations/{orgId}/groups/{id}/disable
2754
+ * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/disable
2627
2755
  * @secure
2628
2756
  */
2629
2757
  frontierServiceDisableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2633,7 +2761,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2633
2761
  * @tags Group
2634
2762
  * @name FrontierServiceEnableGroup
2635
2763
  * @summary Enable group
2636
- * @request POST:/v1beta1/organizations/{orgId}/groups/{id}/enable
2764
+ * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/enable
2637
2765
  * @secure
2638
2766
  */
2639
2767
  frontierServiceEnableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2643,11 +2771,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2643
2771
  * @tags Group
2644
2772
  * @name FrontierServiceListGroupUsers
2645
2773
  * @summary List group users
2646
- * @request GET:/v1beta1/organizations/{orgId}/groups/{id}/users
2774
+ * @request GET:/v1beta1/organizations/{org_id}/groups/{id}/users
2647
2775
  * @secure
2648
2776
  */
2649
2777
  frontierServiceListGroupUsers: (orgId: string, id: string, query?: {
2650
- withRoles?: boolean;
2778
+ with_roles?: boolean;
2651
2779
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupUsersResponse, RpcStatus>>;
2652
2780
  /**
2653
2781
  * @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.
@@ -2655,11 +2783,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2655
2783
  * @tags Group
2656
2784
  * @name FrontierServiceAddGroupUsers
2657
2785
  * @summary Add group user
2658
- * @request POST:/v1beta1/organizations/{orgId}/groups/{id}/users
2786
+ * @request POST:/v1beta1/organizations/{org_id}/groups/{id}/users
2659
2787
  * @secure
2660
2788
  */
2661
2789
  frontierServiceAddGroupUsers: (orgId: string, id: string, body: {
2662
- userIds?: string[];
2790
+ user_ids?: string[];
2663
2791
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
2664
2792
  /**
2665
2793
  * @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.
@@ -2667,7 +2795,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2667
2795
  * @tags Group
2668
2796
  * @name FrontierServiceRemoveGroupUser
2669
2797
  * @summary Remove group user
2670
- * @request DELETE:/v1beta1/organizations/{orgId}/groups/{id}/users/{userId}
2798
+ * @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}/users/{user_id}
2671
2799
  * @secure
2672
2800
  */
2673
2801
  frontierServiceRemoveGroupUser: (orgId: string, id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2677,12 +2805,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2677
2805
  * @tags Organization
2678
2806
  * @name FrontierServiceListOrganizationInvitations
2679
2807
  * @summary List pending invitations
2680
- * @request GET:/v1beta1/organizations/{orgId}/invitations
2808
+ * @request GET:/v1beta1/organizations/{org_id}/invitations
2681
2809
  * @secure
2682
2810
  */
2683
2811
  frontierServiceListOrganizationInvitations: (orgId: string, query?: {
2684
2812
  /** user_id filter is the email id of user who are invited inside the organization. */
2685
- userId?: string;
2813
+ user_id?: string;
2686
2814
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationInvitationsResponse, RpcStatus>>;
2687
2815
  /**
2688
2816
  * @description Invite users to an organization, if user is not registered on the platform, it will be notified. Invitations expire in 7 days
@@ -2690,16 +2818,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2690
2818
  * @tags Organization
2691
2819
  * @name FrontierServiceCreateOrganizationInvitation
2692
2820
  * @summary Invite user
2693
- * @request POST:/v1beta1/organizations/{orgId}/invitations
2821
+ * @request POST:/v1beta1/organizations/{org_id}/invitations
2694
2822
  * @secure
2695
2823
  */
2696
2824
  frontierServiceCreateOrganizationInvitation: (orgId: string, body: {
2697
2825
  /** user_id is email id of user who are invited inside the organization. If user is not registered on the platform, it will be notified */
2698
- userIds: string[];
2826
+ user_ids: string[];
2699
2827
  /** list of group ids to which user needs to be added as a member. */
2700
- groupIds?: string[];
2828
+ group_ids?: string[];
2701
2829
  /** list of role ids to which user needs to be added as a member. Roles are binded at organization level by default. */
2702
- roleIds?: string[];
2830
+ role_ids?: string[];
2703
2831
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationInvitationResponse, RpcStatus>>;
2704
2832
  /**
2705
2833
  * @description Returns a pending invitation queued for an organization
@@ -2707,7 +2835,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2707
2835
  * @tags Organization
2708
2836
  * @name FrontierServiceGetOrganizationInvitation
2709
2837
  * @summary Get pending invitation
2710
- * @request GET:/v1beta1/organizations/{orgId}/invitations/{id}
2838
+ * @request GET:/v1beta1/organizations/{org_id}/invitations/{id}
2711
2839
  * @secure
2712
2840
  */
2713
2841
  frontierServiceGetOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationInvitationResponse, RpcStatus>>;
@@ -2717,7 +2845,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2717
2845
  * @tags Organization
2718
2846
  * @name FrontierServiceDeleteOrganizationInvitation
2719
2847
  * @summary Delete pending invitation
2720
- * @request DELETE:/v1beta1/organizations/{orgId}/invitations/{id}
2848
+ * @request DELETE:/v1beta1/organizations/{org_id}/invitations/{id}
2721
2849
  * @secure
2722
2850
  */
2723
2851
  frontierServiceDeleteOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2727,7 +2855,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2727
2855
  * @tags Organization
2728
2856
  * @name FrontierServiceAcceptOrganizationInvitation
2729
2857
  * @summary Accept pending invitation
2730
- * @request POST:/v1beta1/organizations/{orgId}/invitations/{id}/accept
2858
+ * @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
2731
2859
  * @secure
2732
2860
  */
2733
2861
  frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2737,7 +2865,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2737
2865
  * @tags Organization
2738
2866
  * @name FrontierServiceJoinOrganization
2739
2867
  * @summary Join organization
2740
- * @request POST:/v1beta1/organizations/{orgId}/join
2868
+ * @request POST:/v1beta1/organizations/{org_id}/join
2741
2869
  * @secure
2742
2870
  */
2743
2871
  frontierServiceJoinOrganization: (orgId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2747,7 +2875,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2747
2875
  * @tags Role
2748
2876
  * @name FrontierServiceListOrganizationRoles
2749
2877
  * @summary List organization roles
2750
- * @request GET:/v1beta1/organizations/{orgId}/roles
2878
+ * @request GET:/v1beta1/organizations/{org_id}/roles
2751
2879
  * @secure
2752
2880
  */
2753
2881
  frontierServiceListOrganizationRoles: (orgId: string, query?: {
@@ -2760,7 +2888,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2760
2888
  * @tags Role
2761
2889
  * @name FrontierServiceCreateOrganizationRole
2762
2890
  * @summary Create organization role
2763
- * @request POST:/v1beta1/organizations/{orgId}/roles
2891
+ * @request POST:/v1beta1/organizations/{org_id}/roles
2764
2892
  * @secure
2765
2893
  */
2766
2894
  frontierServiceCreateOrganizationRole: (orgId: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationRoleResponse, RpcStatus>>;
@@ -2770,7 +2898,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2770
2898
  * @tags Role
2771
2899
  * @name FrontierServiceGetOrganizationRole
2772
2900
  * @summary Get organization role
2773
- * @request GET:/v1beta1/organizations/{orgId}/roles/{id}
2901
+ * @request GET:/v1beta1/organizations/{org_id}/roles/{id}
2774
2902
  * @secure
2775
2903
  */
2776
2904
  frontierServiceGetOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationRoleResponse, RpcStatus>>;
@@ -2780,7 +2908,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2780
2908
  * @tags Role
2781
2909
  * @name FrontierServiceDeleteOrganizationRole
2782
2910
  * @summary Delete organization role
2783
- * @request DELETE:/v1beta1/organizations/{orgId}/roles/{id}
2911
+ * @request DELETE:/v1beta1/organizations/{org_id}/roles/{id}
2784
2912
  * @secure
2785
2913
  */
2786
2914
  frontierServiceDeleteOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -2790,7 +2918,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2790
2918
  * @tags Role
2791
2919
  * @name FrontierServiceUpdateOrganizationRole
2792
2920
  * @summary Update organization role
2793
- * @request PUT:/v1beta1/organizations/{orgId}/roles/{id}
2921
+ * @request PUT:/v1beta1/organizations/{org_id}/roles/{id}
2794
2922
  * @secure
2795
2923
  */
2796
2924
  frontierServiceUpdateOrganizationRole: (orgId: string, id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationRoleResponse, RpcStatus>>;
@@ -2855,15 +2983,15 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
2855
2983
  */
2856
2984
  frontierServiceListPolicies: (query?: {
2857
2985
  /** The organization id to filter by. */
2858
- orgId?: string;
2986
+ org_id?: string;
2859
2987
  /** The project id to filter by. */
2860
- projectId?: string;
2988
+ project_id?: string;
2861
2989
  /** The user id to filter by. */
2862
- userId?: string;
2990
+ user_id?: string;
2863
2991
  /** The role id to filter by. */
2864
- roleId?: string;
2992
+ role_id?: string;
2865
2993
  /** The group id to filter by. */
2866
- groupId?: string;
2994
+ group_id?: string;
2867
2995
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPoliciesResponse, RpcStatus>>;
2868
2996
  /**
2869
2997
  * @description Creates a policy
@@ -3015,7 +3143,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3015
3143
  * @secure
3016
3144
  */
3017
3145
  frontierServiceListProjectGroups: (id: string, query?: {
3018
- withRoles?: boolean;
3146
+ with_roles?: boolean;
3019
3147
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, RpcStatus>>;
3020
3148
  /**
3021
3149
  * @description List a project preferences by ID.
@@ -3049,7 +3177,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3049
3177
  * @secure
3050
3178
  */
3051
3179
  frontierServiceListProjectServiceUsers: (id: string, query?: {
3052
- withRoles?: boolean;
3180
+ with_roles?: boolean;
3053
3181
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectServiceUsersResponse, RpcStatus>>;
3054
3182
  /**
3055
3183
  * @description Returns a collection of users of a project. Filter by user permissions is supported.
@@ -3061,8 +3189,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3061
3189
  * @secure
3062
3190
  */
3063
3191
  frontierServiceListProjectUsers: (id: string, query?: {
3064
- permissionFilter?: string;
3065
- withRoles?: boolean;
3192
+ permission_filter?: string;
3193
+ with_roles?: boolean;
3066
3194
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectUsersResponse, RpcStatus>>;
3067
3195
  /**
3068
3196
  * No description
@@ -3070,7 +3198,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3070
3198
  * @tags Resource
3071
3199
  * @name FrontierServiceListProjectResources
3072
3200
  * @summary Get all resources
3073
- * @request GET:/v1beta1/projects/{projectId}/resources
3201
+ * @request GET:/v1beta1/projects/{project_id}/resources
3074
3202
  * @secure
3075
3203
  */
3076
3204
  frontierServiceListProjectResources: (projectId: string, query?: {
@@ -3082,7 +3210,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3082
3210
  * @tags Resource
3083
3211
  * @name FrontierServiceCreateProjectResource
3084
3212
  * @summary Create resource
3085
- * @request POST:/v1beta1/projects/{projectId}/resources
3213
+ * @request POST:/v1beta1/projects/{project_id}/resources
3086
3214
  * @secure
3087
3215
  */
3088
3216
  frontierServiceCreateProjectResource: (projectId: string, body: V1Beta1ResourceRequestBody, query?: {
@@ -3095,7 +3223,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3095
3223
  * @tags Resource
3096
3224
  * @name FrontierServiceGetProjectResource
3097
3225
  * @summary Get resource
3098
- * @request GET:/v1beta1/projects/{projectId}/resources/{id}
3226
+ * @request GET:/v1beta1/projects/{project_id}/resources/{id}
3099
3227
  * @secure
3100
3228
  */
3101
3229
  frontierServiceGetProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProjectResourceResponse, RpcStatus>>;
@@ -3105,7 +3233,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3105
3233
  * @tags Resource
3106
3234
  * @name FrontierServiceDeleteProjectResource
3107
3235
  * @summary Delete resource
3108
- * @request DELETE:/v1beta1/projects/{projectId}/resources/{id}
3236
+ * @request DELETE:/v1beta1/projects/{project_id}/resources/{id}
3109
3237
  * @secure
3110
3238
  */
3111
3239
  frontierServiceDeleteProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -3115,7 +3243,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3115
3243
  * @tags Resource
3116
3244
  * @name FrontierServiceUpdateProjectResource
3117
3245
  * @summary Update resource
3118
- * @request PUT:/v1beta1/projects/{projectId}/resources/{id}
3246
+ * @request PUT:/v1beta1/projects/{project_id}/resources/{id}
3119
3247
  * @secure
3120
3248
  */
3121
3249
  frontierServiceUpdateProjectResource: (projectId: string, id: string, body: V1Beta1ResourceRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProjectResourceResponse, RpcStatus>>;
@@ -3203,7 +3331,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3203
3331
  */
3204
3332
  frontierServiceListServiceUsers: (query: {
3205
3333
  /** The organization ID to filter service users by. */
3206
- orgId: string;
3334
+ org_id: string;
3207
3335
  /** The state to filter by. It can be enabled or disabled. */
3208
3336
  state?: string;
3209
3337
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUsersResponse, RpcStatus>>;
@@ -3237,7 +3365,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3237
3365
  * @secure
3238
3366
  */
3239
3367
  frontierServiceDeleteServiceUser: (id: string, query?: {
3240
- orgId?: string;
3368
+ org_id?: string;
3241
3369
  }, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
3242
3370
  /**
3243
3371
  * @description List all the keys of a service user with its details except jwk.
@@ -3267,7 +3395,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3267
3395
  * @tags ServiceUser
3268
3396
  * @name FrontierServiceGetServiceUserKey
3269
3397
  * @summary Get service user key
3270
- * @request GET:/v1beta1/serviceusers/{id}/keys/{keyId}
3398
+ * @request GET:/v1beta1/serviceusers/{id}/keys/{key_id}
3271
3399
  * @secure
3272
3400
  */
3273
3401
  frontierServiceGetServiceUserKey: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserKeyResponse, RpcStatus>>;
@@ -3277,7 +3405,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3277
3405
  * @tags ServiceUser
3278
3406
  * @name FrontierServiceDeleteServiceUserKey
3279
3407
  * @summary Delete service user key
3280
- * @request DELETE:/v1beta1/serviceusers/{id}/keys/{keyId}
3408
+ * @request DELETE:/v1beta1/serviceusers/{id}/keys/{key_id}
3281
3409
  * @secure
3282
3410
  */
3283
3411
  frontierServiceDeleteServiceUserKey: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -3309,7 +3437,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3309
3437
  * @tags ServiceUser
3310
3438
  * @name FrontierServiceDeleteServiceUserSecret
3311
3439
  * @summary Delete service user secret
3312
- * @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secretId}
3440
+ * @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secret_id}
3313
3441
  * @secure
3314
3442
  */
3315
3443
  frontierServiceDeleteServiceUserSecret: (id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
@@ -3327,18 +3455,18 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3327
3455
  * The maximum number of users to return per page. The default is 50.
3328
3456
  * @format int32
3329
3457
  */
3330
- pageSize?: number;
3458
+ page_size?: number;
3331
3459
  /**
3332
3460
  * The page number to return. The default is 1.
3333
3461
  * @format int32
3334
3462
  */
3335
- pageNum?: number;
3463
+ page_num?: number;
3336
3464
  /** The keyword to search for in name or email. */
3337
3465
  keyword?: string;
3338
3466
  /** The organization ID to filter users by. */
3339
- orgId?: string;
3467
+ org_id?: string;
3340
3468
  /** The group id to filter by. */
3341
- groupId?: string;
3469
+ group_id?: string;
3342
3470
  /** The state to filter by. It can be enabled or disabled. */
3343
3471
  state?: string;
3344
3472
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUsersResponse, RpcStatus>>;
@@ -3412,7 +3540,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3412
3540
  */
3413
3541
  frontierServiceListUserGroups: (id: string, query?: {
3414
3542
  /** The organization ID to filter groups by. If not provided, groups from all organizations are returned. */
3415
- orgId?: string;
3543
+ org_id?: string;
3416
3544
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserGroupsResponse, RpcStatus>>;
3417
3545
  /**
3418
3546
  * @description List all the invitations sent to a user.
@@ -3497,8 +3625,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3497
3625
  */
3498
3626
  frontierServiceListCurrentUserGroups: (query?: {
3499
3627
  /** org_id is optional filter over an organization */
3500
- orgId?: string;
3501
- withPermissions?: string[];
3628
+ org_id?: string;
3629
+ with_permissions?: string[];
3630
+ with_member_count?: boolean;
3502
3631
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, RpcStatus>>;
3503
3632
  /**
3504
3633
  * @description List all the invitations sent to current user.
@@ -3553,13 +3682,13 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3553
3682
  */
3554
3683
  frontierServiceListProjectsByCurrentUser: (query?: {
3555
3684
  /** org_id is optional and filter projects by org */
3556
- orgId?: string;
3685
+ org_id?: string;
3557
3686
  /**
3558
3687
  * list of permissions needs to be checked against each project
3559
3688
  * query params are set as with_permissions=get&with_permissions=delete
3560
3689
  * to be represented as array
3561
3690
  */
3562
- withPermissions?: string[];
3691
+ with_permissions?: string[];
3563
3692
  /**
3564
3693
  * Note: this is a bad design and would recommend against using this filter
3565
3694
  * It is used to list only projects which are explicitly given permission
@@ -3568,7 +3697,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
3568
3697
  * only users who could have inherited these permissions from top but we only
3569
3698
  * want explictly added ones.
3570
3699
  */
3571
- nonInherited?: boolean;
3700
+ non_inherited?: boolean;
3701
+ with_member_count?: boolean;
3572
3702
  }, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByCurrentUserResponse, RpcStatus>>;
3573
3703
  }
3574
3704
 
@@ -3589,6 +3719,8 @@ interface FrontierContextProviderProps {
3589
3719
  setIsActiveOrganizationLoading: Dispatch<SetStateAction<boolean>>;
3590
3720
  isUserLoading: boolean;
3591
3721
  setIsUserLoading: Dispatch<SetStateAction<boolean>>;
3722
+ billingAccount: V1Beta1BillingAccount | undefined;
3723
+ setBillingAccount: Dispatch<SetStateAction<V1Beta1BillingAccount | undefined>>;
3592
3724
  }
3593
3725
  declare function useFrontier(): FrontierContextProviderProps;
3594
3726
 
@@ -3597,4 +3729,4 @@ declare const FrontierProvider: {
3597
3729
  displayName: string;
3598
3730
  };
3599
3731
 
3600
- export { Container, CreateOrganization, FrontierProvider, Header, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier };
3732
+ export { Container, CreateOrganization, FrontierProvider, Header, MagicLink, MagicLinkVerify, OrganizationProfile, SignIn, SignUp, Window, useFrontier };