@raystack/frontier 0.8.10 → 0.8.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +512 -393
- package/dist/index.js +226 -179
- package/dist/index.mjs +226 -179
- package/package.json +4 -1
- package/react/dist/index.d.ts +581 -456
- package/react/dist/index.js +1184 -589
- package/react/dist/index.mjs +1146 -538
package/react/dist/index.d.ts
CHANGED
|
@@ -46,147 +46,147 @@ declare const CreateOrganization: ({ title, description, ...props }: CreateOrgan
|
|
|
46
46
|
interface OrganizationProfileProps {
|
|
47
47
|
organizationId: string;
|
|
48
48
|
defaultRoute?: string;
|
|
49
|
+
tempShowBilling?: boolean;
|
|
49
50
|
}
|
|
50
|
-
declare const router: Router<Route<any, "/", "/", string, "__root__", _tanstack_react_router.AnyContext, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, _tanstack_react_router.DeepMerge<{
|
|
51
|
+
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, {
|
|
51
52
|
organizationId: string;
|
|
52
|
-
|
|
53
|
-
|
|
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, {
|
|
59
|
-
organizationId: string;
|
|
60
|
-
}>, "/", "/", string, "/", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
53
|
+
tempShowBilling?: boolean | undefined;
|
|
54
|
+
}, _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
55
|
organizationId: string;
|
|
56
|
+
tempShowBilling?: boolean | undefined;
|
|
62
57
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/delete", string, "/delete", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
63
58
|
organizationId: string;
|
|
64
|
-
|
|
59
|
+
tempShowBilling?: boolean | undefined;
|
|
60
|
+
}, _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
61
|
organizationId: string;
|
|
66
|
-
|
|
62
|
+
tempShowBilling?: boolean | undefined;
|
|
63
|
+
}, _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
64
|
organizationId: string;
|
|
68
|
-
|
|
69
|
-
|
|
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, {
|
|
65
|
+
tempShowBilling?: boolean | undefined;
|
|
66
|
+
}, _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
67
|
organizationId: string;
|
|
68
|
+
tempShowBilling?: boolean | undefined;
|
|
76
69
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/members/modal", string, "/members/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
77
70
|
organizationId: string;
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
71
|
+
tempShowBilling?: boolean | undefined;
|
|
72
|
+
}, _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
73
|
organizationId: string;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
}>, "/teams", "/teams", string, "/teams", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
74
|
+
tempShowBilling?: boolean | undefined;
|
|
75
|
+
}, _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
76
|
organizationId: string;
|
|
77
|
+
tempShowBilling?: boolean | undefined;
|
|
86
78
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/teams/modal", string, "/teams/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
87
79
|
organizationId: string;
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
80
|
+
tempShowBilling?: boolean | undefined;
|
|
81
|
+
}, _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
82
|
organizationId: string;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
83
|
+
tempShowBilling?: boolean | undefined;
|
|
84
|
+
}, _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
85
|
organizationId: string;
|
|
86
|
+
tempShowBilling?: boolean | undefined;
|
|
96
87
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/domains/modal", string, "/domains/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
97
88
|
organizationId: string;
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
}>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
89
|
+
tempShowBilling?: boolean | undefined;
|
|
90
|
+
}, _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
91
|
organizationId: string;
|
|
92
|
+
tempShowBilling?: boolean | undefined;
|
|
102
93
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/verify", "/domains/$domainId/verify", string, "/domains/$domainId/verify", {}, unknown, {}, {}, {
|
|
103
94
|
domainId: string;
|
|
104
95
|
}, {
|
|
105
96
|
domainId: string;
|
|
106
97
|
}, _tanstack_react_router.RouteContext, {
|
|
107
98
|
organizationId: string;
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}>, "/domains", "/domains", string, "/domains", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
99
|
+
tempShowBilling?: boolean | undefined;
|
|
100
|
+
}, _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
101
|
organizationId: string;
|
|
102
|
+
tempShowBilling?: boolean | undefined;
|
|
112
103
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$domainId/delete", "/domains/$domainId/delete", string, "/domains/$domainId/delete", {}, unknown, {}, {}, {
|
|
113
104
|
domainId: string;
|
|
114
105
|
}, {
|
|
115
106
|
domainId: string;
|
|
116
107
|
}, _tanstack_react_router.RouteContext, {
|
|
117
108
|
organizationId: string;
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
}>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
|
|
109
|
+
tempShowBilling?: boolean | undefined;
|
|
110
|
+
}, _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
111
|
teamId: string;
|
|
122
112
|
}, {
|
|
123
113
|
teamId: string;
|
|
124
114
|
}, _tanstack_react_router.RouteContext, {
|
|
125
115
|
organizationId: string;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
}>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
|
|
116
|
+
tempShowBilling?: boolean | undefined;
|
|
117
|
+
}, _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
118
|
teamId: string;
|
|
130
119
|
}, {
|
|
131
120
|
teamId: string;
|
|
132
121
|
}, _tanstack_react_router.RouteContext, {
|
|
133
122
|
organizationId: string;
|
|
123
|
+
tempShowBilling?: boolean | undefined;
|
|
134
124
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/teams/$teamId/delete", string, "/teams/$teamId/delete", {}, unknown, {}, {}, {}, {
|
|
135
125
|
teamId: string;
|
|
136
126
|
}, _tanstack_react_router.RouteContext, {
|
|
137
127
|
organizationId: string;
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
}>, "/teams/$teamId", "/teams/$teamId", string, "/teams/$teamId", {}, unknown, {}, {}, {
|
|
128
|
+
tempShowBilling?: boolean | undefined;
|
|
129
|
+
}, _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
130
|
teamId: string;
|
|
142
131
|
}, {
|
|
143
132
|
teamId: string;
|
|
144
133
|
}, _tanstack_react_router.RouteContext, {
|
|
145
134
|
organizationId: string;
|
|
135
|
+
tempShowBilling?: boolean | undefined;
|
|
146
136
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/invite", "/teams/$teamId/invite", string, "/teams/$teamId/invite", {}, unknown, {}, {}, {}, {
|
|
147
137
|
teamId: string;
|
|
148
138
|
}, _tanstack_react_router.RouteContext, {
|
|
149
139
|
organizationId: string;
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
}>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
140
|
+
tempShowBilling?: boolean | undefined;
|
|
141
|
+
}, _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, {
|
|
153
142
|
organizationId: string;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
}>, "/projects", "/projects", string, "/projects", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
143
|
+
tempShowBilling?: boolean | undefined;
|
|
144
|
+
}, _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
145
|
organizationId: string;
|
|
146
|
+
tempShowBilling?: boolean | undefined;
|
|
158
147
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/modal", "/projects/modal", string, "/projects/modal", {}, unknown, {}, {}, {}, {}, _tanstack_react_router.RouteContext, {
|
|
159
148
|
organizationId: string;
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
}>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
|
|
149
|
+
tempShowBilling?: boolean | undefined;
|
|
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, Pick<OrganizationProfileProps, "organizationId" | "tempShowBilling">>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
|
|
163
151
|
projectId: string;
|
|
164
152
|
}, {
|
|
165
153
|
projectId: string;
|
|
166
154
|
}, _tanstack_react_router.RouteContext, {
|
|
167
155
|
organizationId: string;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
}>, "/projects/$projectId", "/projects/$projectId", string, "/projects/$projectId", {}, unknown, {}, {}, {
|
|
156
|
+
tempShowBilling?: boolean | undefined;
|
|
157
|
+
}, _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
158
|
projectId: string;
|
|
172
159
|
}, {
|
|
173
160
|
projectId: string;
|
|
174
161
|
}, _tanstack_react_router.RouteContext, {
|
|
175
162
|
organizationId: string;
|
|
163
|
+
tempShowBilling?: boolean | undefined;
|
|
176
164
|
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/delete", "/projects/$projectId/delete", string, "/projects/$projectId/delete", {}, unknown, {}, {}, {}, {
|
|
177
165
|
projectId: string;
|
|
178
166
|
}, _tanstack_react_router.RouteContext, {
|
|
179
167
|
organizationId: string;
|
|
180
|
-
|
|
168
|
+
tempShowBilling?: boolean | undefined;
|
|
169
|
+
}, _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, {
|
|
170
|
+
organizationId: string;
|
|
171
|
+
tempShowBilling?: boolean | undefined;
|
|
172
|
+
}, _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, {
|
|
181
173
|
organizationId: string;
|
|
182
|
-
|
|
174
|
+
tempShowBilling?: boolean | undefined;
|
|
175
|
+
}, _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, {
|
|
183
176
|
organizationId: string;
|
|
184
|
-
|
|
177
|
+
tempShowBilling?: boolean | undefined;
|
|
178
|
+
}, _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, {
|
|
185
179
|
organizationId: string;
|
|
186
|
-
|
|
180
|
+
tempShowBilling?: boolean | undefined;
|
|
181
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>, "/$billingId/edit-address", "/billing/$billingId/edit-address", string, "/billing/$billingId/edit-address", {}, unknown, {}, {}, {
|
|
182
|
+
billingId: string;
|
|
183
|
+
}, {
|
|
184
|
+
billingId: string;
|
|
185
|
+
}, _tanstack_react_router.RouteContext, {
|
|
187
186
|
organizationId: string;
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
tempShowBilling?: boolean | undefined;
|
|
188
|
+
}, _tanstack_react_router.AnyContext, unknown, _tanstack_react_router.AnyRoute>[], _tanstack_react_router.AnyRoute>)[], any>, Record<string, any>>;
|
|
189
|
+
declare const OrganizationProfile: ({ organizationId, defaultRoute, tempShowBilling }: OrganizationProfileProps) => react_jsx_runtime.JSX.Element;
|
|
190
190
|
declare module '@tanstack/react-router' {
|
|
191
191
|
interface Register {
|
|
192
192
|
router: typeof router;
|
|
@@ -200,12 +200,16 @@ interface WindowProps extends React.HTMLAttributes<HTMLDialogElement> {
|
|
|
200
200
|
}
|
|
201
201
|
declare const Window: ({ open, onOpenChange, children, ...props }: WindowProps) => react_jsx_runtime.JSX.Element;
|
|
202
202
|
|
|
203
|
+
interface FrontierClientBillingOptions {
|
|
204
|
+
supportEmail?: string;
|
|
205
|
+
}
|
|
203
206
|
interface FrontierClientOptions {
|
|
204
207
|
endpoint?: string;
|
|
205
208
|
redirectSignup?: string;
|
|
206
209
|
redirectLogin?: string;
|
|
207
210
|
redirectMagicLinkVerify?: string;
|
|
208
211
|
callbackUrl?: string;
|
|
212
|
+
billing?: FrontierClientBillingOptions;
|
|
209
213
|
}
|
|
210
214
|
interface InitialState {
|
|
211
215
|
sessionId?: string | null;
|
|
@@ -280,7 +284,7 @@ interface BillingAccountAddress {
|
|
|
280
284
|
line2?: string;
|
|
281
285
|
city?: string;
|
|
282
286
|
state?: string;
|
|
283
|
-
|
|
287
|
+
postal_code?: string;
|
|
284
288
|
country?: string;
|
|
285
289
|
}
|
|
286
290
|
interface BillingAccountBalance {
|
|
@@ -288,7 +292,7 @@ interface BillingAccountBalance {
|
|
|
288
292
|
amount?: string;
|
|
289
293
|
currency?: string;
|
|
290
294
|
/** @format date-time */
|
|
291
|
-
|
|
295
|
+
updated_at?: string;
|
|
292
296
|
}
|
|
293
297
|
interface ProtobufAny {
|
|
294
298
|
'@type'?: string;
|
|
@@ -302,9 +306,9 @@ interface RpcStatus {
|
|
|
302
306
|
}
|
|
303
307
|
interface V1Beta1AddPlatformUserRequest {
|
|
304
308
|
/** The user id to add to the platform. */
|
|
305
|
-
|
|
309
|
+
user_id?: string;
|
|
306
310
|
/** The service user id to add to the platform. */
|
|
307
|
-
|
|
311
|
+
serviceuser_id?: string;
|
|
308
312
|
/** The relation to add as in the platform. It can be admin or member. */
|
|
309
313
|
relation: string;
|
|
310
314
|
}
|
|
@@ -330,7 +334,7 @@ interface V1Beta1AuditLog {
|
|
|
330
334
|
* @format date-time
|
|
331
335
|
* @example "2023-06-07T05:39:56.961Z"
|
|
332
336
|
*/
|
|
333
|
-
|
|
337
|
+
created_at?: string;
|
|
334
338
|
}
|
|
335
339
|
interface V1Beta1AuditLogActor {
|
|
336
340
|
id?: string;
|
|
@@ -344,7 +348,7 @@ interface V1Beta1AuditLogTarget {
|
|
|
344
348
|
}
|
|
345
349
|
interface V1Beta1AuthCallbackRequest {
|
|
346
350
|
/** strategy_name will not be set for oidc but can be utilized for methods like email magic links */
|
|
347
|
-
|
|
351
|
+
strategy_name?: string;
|
|
348
352
|
/** for oidc & magic links */
|
|
349
353
|
state?: string;
|
|
350
354
|
code?: string;
|
|
@@ -352,7 +356,7 @@ interface V1Beta1AuthCallbackRequest {
|
|
|
352
356
|
* state_options has additional configurations for the authentication flow at hand
|
|
353
357
|
* for example, in case of passkey, it has challenge and public key
|
|
354
358
|
*/
|
|
355
|
-
|
|
359
|
+
state_options?: object;
|
|
356
360
|
}
|
|
357
361
|
interface V1Beta1AuthStrategy {
|
|
358
362
|
name?: string;
|
|
@@ -364,16 +368,16 @@ interface V1Beta1AuthTokenRequest {
|
|
|
364
368
|
* - client_credentials
|
|
365
369
|
* - urn:ietf:params:oauth:grant-type:jwt-bearer
|
|
366
370
|
*/
|
|
367
|
-
|
|
371
|
+
grant_type?: string;
|
|
368
372
|
/** client_id and client_secret are required for grant_type client_credentials */
|
|
369
|
-
|
|
370
|
-
|
|
373
|
+
client_id?: string;
|
|
374
|
+
client_secret?: string;
|
|
371
375
|
/** assertion is required for grant_type urn:ietf:params:oauth:grant-type:jwt-bearer */
|
|
372
376
|
assertion?: string;
|
|
373
377
|
}
|
|
374
378
|
interface V1Beta1AuthTokenResponse {
|
|
375
|
-
|
|
376
|
-
|
|
379
|
+
access_token?: string;
|
|
380
|
+
token_type?: string;
|
|
377
381
|
}
|
|
378
382
|
interface V1Beta1AuthenticateResponse {
|
|
379
383
|
/** endpoint specifies the url to redirect user for starting authentication flow */
|
|
@@ -381,7 +385,7 @@ interface V1Beta1AuthenticateResponse {
|
|
|
381
385
|
/** state is used for resuming authentication flow in applicable strategies */
|
|
382
386
|
state?: string;
|
|
383
387
|
/** state_options has additional configurations for the authentication flow at hand */
|
|
384
|
-
|
|
388
|
+
state_options?: object;
|
|
385
389
|
}
|
|
386
390
|
interface V1Beta1BatchCheckPermissionBody {
|
|
387
391
|
/** the permission name to check. <br/> *Example:* `get` or `list` */
|
|
@@ -401,20 +405,20 @@ interface V1Beta1BatchCheckPermissionResponsePair {
|
|
|
401
405
|
}
|
|
402
406
|
interface V1Beta1BillingAccount {
|
|
403
407
|
id?: string;
|
|
404
|
-
|
|
408
|
+
org_id?: string;
|
|
405
409
|
name?: string;
|
|
406
410
|
email?: string;
|
|
407
411
|
phone?: string;
|
|
408
412
|
address?: BillingAccountAddress;
|
|
409
|
-
|
|
413
|
+
provider_id?: string;
|
|
410
414
|
provider?: string;
|
|
411
415
|
currency?: string;
|
|
412
416
|
state?: string;
|
|
413
417
|
metadata?: object;
|
|
414
418
|
/** @format date-time */
|
|
415
|
-
|
|
419
|
+
created_at?: string;
|
|
416
420
|
/** @format date-time */
|
|
417
|
-
|
|
421
|
+
updated_at?: string;
|
|
418
422
|
}
|
|
419
423
|
interface V1Beta1BillingAccountRequestBody {
|
|
420
424
|
name?: string;
|
|
@@ -426,7 +430,7 @@ interface V1Beta1BillingAccountRequestBody {
|
|
|
426
430
|
}
|
|
427
431
|
interface V1Beta1BillingTransaction {
|
|
428
432
|
id?: string;
|
|
429
|
-
|
|
433
|
+
customer_id?: string;
|
|
430
434
|
source?: string;
|
|
431
435
|
/** @format int64 */
|
|
432
436
|
amount?: string;
|
|
@@ -434,9 +438,9 @@ interface V1Beta1BillingTransaction {
|
|
|
434
438
|
description?: string;
|
|
435
439
|
metadata?: object;
|
|
436
440
|
/** @format date-time */
|
|
437
|
-
|
|
441
|
+
created_at?: string;
|
|
438
442
|
/** @format date-time */
|
|
439
|
-
|
|
443
|
+
updated_at?: string;
|
|
440
444
|
}
|
|
441
445
|
interface V1Beta1CheckFeatureEntitlementResponse {
|
|
442
446
|
status?: boolean;
|
|
@@ -454,9 +458,9 @@ interface V1Beta1CheckFederatedResourcePermissionResponse {
|
|
|
454
458
|
}
|
|
455
459
|
interface V1Beta1CheckResourcePermissionRequest {
|
|
456
460
|
/** Deprecated. Use `resource` field instead. */
|
|
457
|
-
|
|
461
|
+
object_id?: string;
|
|
458
462
|
/** Deprecated. Use `resource` field instead. */
|
|
459
|
-
|
|
463
|
+
object_namespace?: string;
|
|
460
464
|
/** the permission name to check. <br/> *Example:* `get`, `list`, `compute.instance.create` */
|
|
461
465
|
permission: string;
|
|
462
466
|
/** `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 +469,35 @@ interface V1Beta1CheckResourcePermissionRequest {
|
|
|
465
469
|
interface V1Beta1CheckResourcePermissionResponse {
|
|
466
470
|
status?: boolean;
|
|
467
471
|
}
|
|
468
|
-
interface
|
|
469
|
-
|
|
472
|
+
interface V1Beta1CheckoutProductBody {
|
|
473
|
+
product?: string;
|
|
470
474
|
}
|
|
471
475
|
interface V1Beta1CheckoutSession {
|
|
472
476
|
id?: string;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
477
|
+
checkout_url?: string;
|
|
478
|
+
success_url?: string;
|
|
479
|
+
cancel_url?: string;
|
|
476
480
|
state?: string;
|
|
477
481
|
metadata?: object;
|
|
478
482
|
/** @format date-time */
|
|
479
|
-
|
|
483
|
+
created_at?: string;
|
|
480
484
|
/** @format date-time */
|
|
481
|
-
|
|
485
|
+
updated_at?: string;
|
|
482
486
|
/** @format date-time */
|
|
483
|
-
|
|
487
|
+
expire_at?: string;
|
|
484
488
|
}
|
|
485
489
|
interface V1Beta1CheckoutSubscriptionBody {
|
|
486
490
|
plan?: string;
|
|
487
491
|
/** @format int32 */
|
|
488
|
-
|
|
492
|
+
trail_days?: number;
|
|
489
493
|
}
|
|
490
494
|
interface V1Beta1CreateBillingAccountResponse {
|
|
491
495
|
/** Created billing account */
|
|
492
|
-
|
|
496
|
+
billing_account?: V1Beta1BillingAccount;
|
|
493
497
|
}
|
|
494
498
|
interface V1Beta1CreateCheckoutResponse {
|
|
495
499
|
/** Checkout session */
|
|
496
|
-
|
|
500
|
+
checkout_session?: V1Beta1CheckoutSession;
|
|
497
501
|
}
|
|
498
502
|
interface V1Beta1CreateCurrentUserPreferencesRequest {
|
|
499
503
|
bodies?: V1Beta1PreferenceRequestBody[];
|
|
@@ -501,14 +505,6 @@ interface V1Beta1CreateCurrentUserPreferencesRequest {
|
|
|
501
505
|
interface V1Beta1CreateCurrentUserPreferencesResponse {
|
|
502
506
|
preferences?: V1Beta1Preference[];
|
|
503
507
|
}
|
|
504
|
-
interface V1Beta1CreateFeatureRequest {
|
|
505
|
-
/** Feature to create */
|
|
506
|
-
body?: V1Beta1FeatureRequestBody;
|
|
507
|
-
}
|
|
508
|
-
interface V1Beta1CreateFeatureResponse {
|
|
509
|
-
/** Created feature */
|
|
510
|
-
feature?: V1Beta1Feature;
|
|
511
|
-
}
|
|
512
508
|
interface V1Beta1CreateGroupPreferencesResponse {
|
|
513
509
|
preferences?: V1Beta1Preference[];
|
|
514
510
|
}
|
|
@@ -556,6 +552,14 @@ interface V1Beta1CreatePreferencesRequest {
|
|
|
556
552
|
interface V1Beta1CreatePreferencesResponse {
|
|
557
553
|
preference?: V1Beta1Preference[];
|
|
558
554
|
}
|
|
555
|
+
interface V1Beta1CreateProductRequest {
|
|
556
|
+
/** Product to create */
|
|
557
|
+
body?: V1Beta1ProductRequestBody;
|
|
558
|
+
}
|
|
559
|
+
interface V1Beta1CreateProductResponse {
|
|
560
|
+
/** Created product */
|
|
561
|
+
product?: V1Beta1Product;
|
|
562
|
+
}
|
|
559
563
|
interface V1Beta1CreateProjectPreferencesResponse {
|
|
560
564
|
preferences?: V1Beta1Preference[];
|
|
561
565
|
}
|
|
@@ -577,7 +581,7 @@ interface V1Beta1CreateServiceUserKeyResponse {
|
|
|
577
581
|
interface V1Beta1CreateServiceUserRequest {
|
|
578
582
|
body?: V1Beta1ServiceUserRequestBody;
|
|
579
583
|
/** The organization ID to which the service user belongs to. */
|
|
580
|
-
|
|
584
|
+
org_id: string;
|
|
581
585
|
}
|
|
582
586
|
interface V1Beta1CreateServiceUserResponse {
|
|
583
587
|
serviceuser?: V1Beta1ServiceUser;
|
|
@@ -593,7 +597,7 @@ interface V1Beta1CreateUserResponse {
|
|
|
593
597
|
}
|
|
594
598
|
interface V1Beta1DelegatedCheckoutResponse {
|
|
595
599
|
/** Checkout session */
|
|
596
|
-
|
|
600
|
+
checkout_session?: V1Beta1CheckoutSession;
|
|
597
601
|
}
|
|
598
602
|
interface V1Beta1DescribePreferencesResponse {
|
|
599
603
|
traits?: V1Beta1PreferenceTrait[];
|
|
@@ -613,7 +617,7 @@ interface V1Beta1Domain {
|
|
|
613
617
|
* The organization id
|
|
614
618
|
* @example "123e4567-e89b-12d3-a456-426655440000"
|
|
615
619
|
*/
|
|
616
|
-
|
|
620
|
+
org_id?: string;
|
|
617
621
|
/**
|
|
618
622
|
* The dns TXT record token to verify the domain
|
|
619
623
|
* @example "_frontier-domain-verification=LB6U2lSQgGS55HOy6kpWFqkngRC8TMEjyrakfmYC2D0s+nfy/WkFSg=="
|
|
@@ -629,43 +633,29 @@ interface V1Beta1Domain {
|
|
|
629
633
|
* @format date-time
|
|
630
634
|
* @example "2023-06-07T05:39:56.961Z"
|
|
631
635
|
*/
|
|
632
|
-
|
|
636
|
+
created_at?: string;
|
|
633
637
|
/**
|
|
634
638
|
* The time the org domain was updated
|
|
635
639
|
* @format date-time
|
|
636
640
|
* @example "2023-06-07T05:39:56.961Z"
|
|
637
641
|
*/
|
|
638
|
-
|
|
642
|
+
updated_at?: string;
|
|
639
643
|
}
|
|
640
644
|
interface V1Beta1Feature {
|
|
641
645
|
id?: string;
|
|
642
646
|
name?: string;
|
|
643
|
-
|
|
644
|
-
description?: string;
|
|
645
|
-
planIds?: string[];
|
|
646
|
-
state?: string;
|
|
647
|
-
prices?: V1Beta1Price[];
|
|
648
|
-
/** @format int64 */
|
|
649
|
-
creditAmount?: string;
|
|
647
|
+
product_ids?: string[];
|
|
650
648
|
metadata?: object;
|
|
651
649
|
/** @format date-time */
|
|
652
|
-
|
|
650
|
+
created_at?: string;
|
|
653
651
|
/** @format date-time */
|
|
654
|
-
|
|
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;
|
|
652
|
+
updated_at?: string;
|
|
665
653
|
}
|
|
666
654
|
interface V1Beta1GetBillingAccountResponse {
|
|
667
655
|
/** Billing account */
|
|
668
|
-
|
|
656
|
+
billing_account?: V1Beta1BillingAccount;
|
|
657
|
+
/** List of payment methods */
|
|
658
|
+
payment_methods?: V1Beta1PaymentMethod[];
|
|
669
659
|
}
|
|
670
660
|
interface V1Beta1GetBillingBalanceResponse {
|
|
671
661
|
/** Balance of the billing account */
|
|
@@ -675,10 +665,6 @@ interface V1Beta1GetCurrentUserResponse {
|
|
|
675
665
|
user?: V1Beta1User;
|
|
676
666
|
serviceuser?: V1Beta1ServiceUser;
|
|
677
667
|
}
|
|
678
|
-
interface V1Beta1GetFeatureResponse {
|
|
679
|
-
/** Feature */
|
|
680
|
-
feature?: V1Beta1Feature;
|
|
681
|
-
}
|
|
682
668
|
interface V1Beta1GetGroupResponse {
|
|
683
669
|
group?: V1Beta1Group;
|
|
684
670
|
}
|
|
@@ -717,6 +703,10 @@ interface V1Beta1GetPlanResponse {
|
|
|
717
703
|
interface V1Beta1GetPolicyResponse {
|
|
718
704
|
policy?: V1Beta1Policy;
|
|
719
705
|
}
|
|
706
|
+
interface V1Beta1GetProductResponse {
|
|
707
|
+
/** Product */
|
|
708
|
+
product?: V1Beta1Product;
|
|
709
|
+
}
|
|
720
710
|
interface V1Beta1GetProjectResourceResponse {
|
|
721
711
|
resource?: V1Beta1Resource;
|
|
722
712
|
}
|
|
@@ -735,6 +725,10 @@ interface V1Beta1GetServiceUserResponse {
|
|
|
735
725
|
interface V1Beta1GetSubscriptionResponse {
|
|
736
726
|
subscription?: V1Beta1Subscription;
|
|
737
727
|
}
|
|
728
|
+
interface V1Beta1GetUpcomingInvoiceResponse {
|
|
729
|
+
/** Upcoming invoice */
|
|
730
|
+
invoice?: V1Beta1Invoice;
|
|
731
|
+
}
|
|
738
732
|
interface V1Beta1GetUserResponse {
|
|
739
733
|
user?: V1Beta1User;
|
|
740
734
|
}
|
|
@@ -742,21 +736,27 @@ interface V1Beta1Group {
|
|
|
742
736
|
id?: string;
|
|
743
737
|
name?: string;
|
|
744
738
|
title?: string;
|
|
745
|
-
|
|
739
|
+
org_id?: string;
|
|
746
740
|
metadata?: object;
|
|
747
741
|
/**
|
|
748
742
|
* The time the group was created.
|
|
749
743
|
* @format date-time
|
|
750
744
|
* @example "2023-06-07T05:39:56.961Z"
|
|
751
745
|
*/
|
|
752
|
-
|
|
746
|
+
created_at?: string;
|
|
753
747
|
/**
|
|
754
748
|
* The time the group was last updated.
|
|
755
749
|
* @format date-time
|
|
756
750
|
* @example "2023-06-07T05:39:56.961Z"
|
|
757
751
|
*/
|
|
758
|
-
|
|
752
|
+
updated_at?: string;
|
|
759
753
|
users?: V1Beta1User[];
|
|
754
|
+
/**
|
|
755
|
+
* The number of members explicitly added in the project.
|
|
756
|
+
* @format int32
|
|
757
|
+
* @example 2
|
|
758
|
+
*/
|
|
759
|
+
members_count?: number;
|
|
760
760
|
}
|
|
761
761
|
interface V1Beta1GroupRequestBody {
|
|
762
762
|
/** 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 +776,17 @@ interface V1Beta1Invitation {
|
|
|
776
776
|
* The user email of the invited user.
|
|
777
777
|
* @example "john.doe@raystack.org"
|
|
778
778
|
*/
|
|
779
|
-
|
|
779
|
+
user_id?: string;
|
|
780
780
|
/**
|
|
781
781
|
* The organization id to which the user is invited.
|
|
782
782
|
* @example "b9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
|
|
783
783
|
*/
|
|
784
|
-
|
|
784
|
+
org_id?: string;
|
|
785
785
|
/**
|
|
786
786
|
* The list of group ids to which the user is invited.
|
|
787
787
|
* @example "c9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
|
|
788
788
|
*/
|
|
789
|
-
|
|
789
|
+
group_ids?: string[];
|
|
790
790
|
/**
|
|
791
791
|
* The metadata of the invitation.
|
|
792
792
|
* @example {"key":"value"}
|
|
@@ -797,18 +797,41 @@ interface V1Beta1Invitation {
|
|
|
797
797
|
* @format date-time
|
|
798
798
|
* @example "2023-06-07T05:39:56.961Z"
|
|
799
799
|
*/
|
|
800
|
-
|
|
800
|
+
created_at?: string;
|
|
801
801
|
/**
|
|
802
802
|
* The time when the invitation expires.
|
|
803
803
|
* @format date-time
|
|
804
804
|
* @example "2023-06-07T05:39:56.961Z"
|
|
805
805
|
*/
|
|
806
|
-
|
|
806
|
+
expires_at?: string;
|
|
807
807
|
/**
|
|
808
808
|
* The list of role ids to which the user is invited in an organization.
|
|
809
809
|
* @example "d9c4f4e2-9b9a-4c1a-8f1a-2b9b9b9b9b9b"
|
|
810
810
|
*/
|
|
811
|
-
|
|
811
|
+
role_ids?: string[];
|
|
812
|
+
}
|
|
813
|
+
interface V1Beta1Invoice {
|
|
814
|
+
id?: string;
|
|
815
|
+
customer_id?: string;
|
|
816
|
+
provider_id?: string;
|
|
817
|
+
state?: string;
|
|
818
|
+
currency?: string;
|
|
819
|
+
/** @format int64 */
|
|
820
|
+
amount?: string;
|
|
821
|
+
hosted_url?: string;
|
|
822
|
+
/**
|
|
823
|
+
* The date on which payment for this invoice is due
|
|
824
|
+
* @format date-time
|
|
825
|
+
*/
|
|
826
|
+
due_date?: string;
|
|
827
|
+
/**
|
|
828
|
+
* The date when this invoice is in effect.
|
|
829
|
+
* @format date-time
|
|
830
|
+
*/
|
|
831
|
+
effective_at?: string;
|
|
832
|
+
metadata?: object;
|
|
833
|
+
/** @format date-time */
|
|
834
|
+
created_at?: string;
|
|
812
835
|
}
|
|
813
836
|
/** JSON Web Key as specified in RFC 7517 */
|
|
814
837
|
interface V1Beta1JSONWebKey {
|
|
@@ -834,9 +857,9 @@ interface V1Beta1JSONWebKey {
|
|
|
834
857
|
interface V1Beta1KeyCredential {
|
|
835
858
|
type?: string;
|
|
836
859
|
kid?: string;
|
|
837
|
-
|
|
860
|
+
principal_id?: string;
|
|
838
861
|
/** RSA private key as string */
|
|
839
|
-
|
|
862
|
+
private_key?: string;
|
|
840
863
|
}
|
|
841
864
|
interface V1Beta1ListAllOrganizationsResponse {
|
|
842
865
|
organizations?: V1Beta1Organization[];
|
|
@@ -851,7 +874,7 @@ interface V1Beta1ListAuthStrategiesResponse {
|
|
|
851
874
|
}
|
|
852
875
|
interface V1Beta1ListBillingAccountsResponse {
|
|
853
876
|
/** List of billing accounts */
|
|
854
|
-
|
|
877
|
+
billing_accounts?: V1Beta1BillingAccount[];
|
|
855
878
|
}
|
|
856
879
|
interface V1Beta1ListBillingTransactionsResponse {
|
|
857
880
|
/** List of transactions */
|
|
@@ -859,14 +882,14 @@ interface V1Beta1ListBillingTransactionsResponse {
|
|
|
859
882
|
}
|
|
860
883
|
interface V1Beta1ListCheckoutsResponse {
|
|
861
884
|
/** List of checkouts */
|
|
862
|
-
|
|
885
|
+
checkout_sessions?: V1Beta1CheckoutSession[];
|
|
863
886
|
}
|
|
864
887
|
interface V1Beta1ListCurrentUserGroupsResponse {
|
|
865
888
|
groups?: V1Beta1Group[];
|
|
866
|
-
|
|
889
|
+
access_pairs?: V1Beta1ListCurrentUserGroupsResponseAccessPair[];
|
|
867
890
|
}
|
|
868
891
|
interface V1Beta1ListCurrentUserGroupsResponseAccessPair {
|
|
869
|
-
|
|
892
|
+
group_id?: string;
|
|
870
893
|
permissions?: string[];
|
|
871
894
|
}
|
|
872
895
|
interface V1Beta1ListCurrentUserInvitationsResponse {
|
|
@@ -876,24 +899,24 @@ interface V1Beta1ListCurrentUserInvitationsResponse {
|
|
|
876
899
|
interface V1Beta1ListCurrentUserPreferencesResponse {
|
|
877
900
|
preferences?: V1Beta1Preference[];
|
|
878
901
|
}
|
|
879
|
-
interface V1Beta1ListFeaturesResponse {
|
|
880
|
-
/** List of features */
|
|
881
|
-
features?: V1Beta1Feature[];
|
|
882
|
-
}
|
|
883
902
|
interface V1Beta1ListGroupPreferencesResponse {
|
|
884
903
|
preferences?: V1Beta1Preference[];
|
|
885
904
|
}
|
|
886
905
|
interface V1Beta1ListGroupUsersResponse {
|
|
887
906
|
users?: V1Beta1User[];
|
|
888
|
-
|
|
907
|
+
role_pairs?: V1Beta1ListGroupUsersResponseRolePair[];
|
|
889
908
|
}
|
|
890
909
|
interface V1Beta1ListGroupUsersResponseRolePair {
|
|
891
|
-
|
|
910
|
+
user_id?: string;
|
|
892
911
|
roles?: V1Beta1Role[];
|
|
893
912
|
}
|
|
894
913
|
interface V1Beta1ListGroupsResponse {
|
|
895
914
|
groups?: V1Beta1Group[];
|
|
896
915
|
}
|
|
916
|
+
interface V1Beta1ListInvoicesResponse {
|
|
917
|
+
/** List of invoices */
|
|
918
|
+
invoices?: V1Beta1Invoice[];
|
|
919
|
+
}
|
|
897
920
|
interface V1Beta1ListMetaSchemasResponse {
|
|
898
921
|
metaschemas?: V1Beta1MetaSchema[];
|
|
899
922
|
}
|
|
@@ -929,19 +952,19 @@ interface V1Beta1ListOrganizationServiceUsersResponse {
|
|
|
929
952
|
}
|
|
930
953
|
interface V1Beta1ListOrganizationUsersResponse {
|
|
931
954
|
users?: V1Beta1User[];
|
|
932
|
-
|
|
955
|
+
role_pairs?: V1Beta1ListOrganizationUsersResponseRolePair[];
|
|
933
956
|
}
|
|
934
957
|
interface V1Beta1ListOrganizationUsersResponseRolePair {
|
|
935
|
-
|
|
958
|
+
user_id?: string;
|
|
936
959
|
roles?: V1Beta1Role[];
|
|
937
960
|
}
|
|
938
961
|
interface V1Beta1ListOrganizationsByCurrentUserResponse {
|
|
939
962
|
organizations?: V1Beta1Organization[];
|
|
940
|
-
|
|
963
|
+
joinable_via_domain?: V1Beta1Organization[];
|
|
941
964
|
}
|
|
942
965
|
interface V1Beta1ListOrganizationsByUserResponse {
|
|
943
966
|
organizations?: V1Beta1Organization[];
|
|
944
|
-
|
|
967
|
+
joinable_via_domain?: V1Beta1Organization[];
|
|
945
968
|
}
|
|
946
969
|
interface V1Beta1ListOrganizationsResponse {
|
|
947
970
|
organizations?: V1Beta1Organization[];
|
|
@@ -953,21 +976,29 @@ interface V1Beta1ListPlansResponse {
|
|
|
953
976
|
/** List of plans */
|
|
954
977
|
plans?: V1Beta1Plan[];
|
|
955
978
|
}
|
|
979
|
+
interface V1Beta1ListPlatformUsersResponse {
|
|
980
|
+
users?: V1Beta1User[];
|
|
981
|
+
serviceusers?: V1Beta1ServiceUser[];
|
|
982
|
+
}
|
|
956
983
|
interface V1Beta1ListPoliciesResponse {
|
|
957
984
|
policies?: V1Beta1Policy[];
|
|
958
985
|
}
|
|
959
986
|
interface V1Beta1ListPreferencesResponse {
|
|
960
987
|
preferences?: V1Beta1Preference[];
|
|
961
988
|
}
|
|
989
|
+
interface V1Beta1ListProductsResponse {
|
|
990
|
+
/** List of products */
|
|
991
|
+
products?: V1Beta1Product[];
|
|
992
|
+
}
|
|
962
993
|
interface V1Beta1ListProjectAdminsResponse {
|
|
963
994
|
users?: V1Beta1User[];
|
|
964
995
|
}
|
|
965
996
|
interface V1Beta1ListProjectGroupsResponse {
|
|
966
997
|
groups?: V1Beta1Group[];
|
|
967
|
-
|
|
998
|
+
role_pairs?: V1Beta1ListProjectGroupsResponseRolePair[];
|
|
968
999
|
}
|
|
969
1000
|
interface V1Beta1ListProjectGroupsResponseRolePair {
|
|
970
|
-
|
|
1001
|
+
group_id?: string;
|
|
971
1002
|
roles?: V1Beta1Role[];
|
|
972
1003
|
}
|
|
973
1004
|
interface V1Beta1ListProjectPreferencesResponse {
|
|
@@ -978,26 +1009,26 @@ interface V1Beta1ListProjectResourcesResponse {
|
|
|
978
1009
|
}
|
|
979
1010
|
interface V1Beta1ListProjectServiceUsersResponse {
|
|
980
1011
|
serviceusers?: V1Beta1ServiceUser[];
|
|
981
|
-
|
|
1012
|
+
role_pairs?: V1Beta1ListProjectServiceUsersResponseRolePair[];
|
|
982
1013
|
}
|
|
983
1014
|
interface V1Beta1ListProjectServiceUsersResponseRolePair {
|
|
984
|
-
|
|
1015
|
+
serviceuser_id?: string;
|
|
985
1016
|
roles?: V1Beta1Role[];
|
|
986
1017
|
}
|
|
987
1018
|
interface V1Beta1ListProjectUsersResponse {
|
|
988
1019
|
users?: V1Beta1User[];
|
|
989
|
-
|
|
1020
|
+
role_pairs?: V1Beta1ListProjectUsersResponseRolePair[];
|
|
990
1021
|
}
|
|
991
1022
|
interface V1Beta1ListProjectUsersResponseRolePair {
|
|
992
|
-
|
|
1023
|
+
user_id?: string;
|
|
993
1024
|
roles?: V1Beta1Role[];
|
|
994
1025
|
}
|
|
995
1026
|
interface V1Beta1ListProjectsByCurrentUserResponse {
|
|
996
1027
|
projects?: V1Beta1Project[];
|
|
997
|
-
|
|
1028
|
+
access_pairs?: V1Beta1ListProjectsByCurrentUserResponseAccessPair[];
|
|
998
1029
|
}
|
|
999
1030
|
interface V1Beta1ListProjectsByCurrentUserResponseAccessPair {
|
|
1000
|
-
|
|
1031
|
+
project_id?: string;
|
|
1001
1032
|
permissions?: string[];
|
|
1002
1033
|
}
|
|
1003
1034
|
interface V1Beta1ListProjectsByUserResponse {
|
|
@@ -1060,13 +1091,13 @@ interface V1Beta1MetaSchema {
|
|
|
1060
1091
|
* @format date-time
|
|
1061
1092
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1062
1093
|
*/
|
|
1063
|
-
|
|
1094
|
+
created_at?: string;
|
|
1064
1095
|
/**
|
|
1065
1096
|
* The time when the metaschema was updated.
|
|
1066
1097
|
* @format date-time
|
|
1067
1098
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1068
1099
|
*/
|
|
1069
|
-
|
|
1100
|
+
updated_at?: string;
|
|
1070
1101
|
}
|
|
1071
1102
|
interface V1Beta1MetaSchemaRequestBody {
|
|
1072
1103
|
/** 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 +1115,13 @@ interface V1Beta1Namespace {
|
|
|
1084
1115
|
* @format date-time
|
|
1085
1116
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1086
1117
|
*/
|
|
1087
|
-
|
|
1118
|
+
created_at?: string;
|
|
1088
1119
|
/**
|
|
1089
1120
|
* The time the namespace was last updated.
|
|
1090
1121
|
* @format date-time
|
|
1091
1122
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1092
1123
|
*/
|
|
1093
|
-
|
|
1124
|
+
updated_at?: string;
|
|
1094
1125
|
}
|
|
1095
1126
|
interface V1Beta1Organization {
|
|
1096
1127
|
id?: string;
|
|
@@ -1102,13 +1133,13 @@ interface V1Beta1Organization {
|
|
|
1102
1133
|
* @format date-time
|
|
1103
1134
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1104
1135
|
*/
|
|
1105
|
-
|
|
1136
|
+
created_at?: string;
|
|
1106
1137
|
/**
|
|
1107
1138
|
* The time the organization was last updated.
|
|
1108
1139
|
* @format date-time
|
|
1109
1140
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1110
1141
|
*/
|
|
1111
|
-
|
|
1142
|
+
updated_at?: string;
|
|
1112
1143
|
/**
|
|
1113
1144
|
* The state of the organization (enabled or disabled).
|
|
1114
1145
|
* @example "enabled"
|
|
@@ -1130,6 +1161,21 @@ interface V1Beta1OrganizationRequestBody {
|
|
|
1130
1161
|
*/
|
|
1131
1162
|
avatar?: string;
|
|
1132
1163
|
}
|
|
1164
|
+
interface V1Beta1PaymentMethod {
|
|
1165
|
+
id?: string;
|
|
1166
|
+
customer_id?: string;
|
|
1167
|
+
provider_id?: string;
|
|
1168
|
+
type?: string;
|
|
1169
|
+
card_brand?: string;
|
|
1170
|
+
card_last4?: string;
|
|
1171
|
+
/** @format int64 */
|
|
1172
|
+
card_expiry_month?: string;
|
|
1173
|
+
/** @format int64 */
|
|
1174
|
+
card_expiry_year?: string;
|
|
1175
|
+
metadata?: object;
|
|
1176
|
+
/** @format date-time */
|
|
1177
|
+
created_at?: string;
|
|
1178
|
+
}
|
|
1133
1179
|
interface V1Beta1Permission {
|
|
1134
1180
|
id?: string;
|
|
1135
1181
|
name?: string;
|
|
@@ -1139,13 +1185,13 @@ interface V1Beta1Permission {
|
|
|
1139
1185
|
* @format date-time
|
|
1140
1186
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1141
1187
|
*/
|
|
1142
|
-
|
|
1188
|
+
created_at?: string;
|
|
1143
1189
|
/**
|
|
1144
1190
|
* The time the permission was last updated.
|
|
1145
1191
|
* @format date-time
|
|
1146
1192
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1147
1193
|
*/
|
|
1148
|
-
|
|
1194
|
+
updated_at?: string;
|
|
1149
1195
|
namespace?: string;
|
|
1150
1196
|
metadata?: object;
|
|
1151
1197
|
/**
|
|
@@ -1179,20 +1225,20 @@ interface V1Beta1Plan {
|
|
|
1179
1225
|
name?: string;
|
|
1180
1226
|
title?: string;
|
|
1181
1227
|
description?: string;
|
|
1182
|
-
|
|
1228
|
+
products?: V1Beta1Product[];
|
|
1183
1229
|
/** known intervals are "day", "week", "month", and "year" */
|
|
1184
1230
|
interval?: string;
|
|
1185
1231
|
metadata?: object;
|
|
1186
1232
|
/** @format date-time */
|
|
1187
|
-
|
|
1233
|
+
created_at?: string;
|
|
1188
1234
|
/** @format date-time */
|
|
1189
|
-
|
|
1235
|
+
updated_at?: string;
|
|
1190
1236
|
}
|
|
1191
1237
|
interface V1Beta1PlanRequestBody {
|
|
1192
1238
|
name?: string;
|
|
1193
1239
|
title?: string;
|
|
1194
1240
|
description?: string;
|
|
1195
|
-
|
|
1241
|
+
products?: V1Beta1Product[];
|
|
1196
1242
|
/** known intervals are "day", "week", "month", and "year" */
|
|
1197
1243
|
interval?: string;
|
|
1198
1244
|
metadata?: object;
|
|
@@ -1205,14 +1251,14 @@ interface V1Beta1Policy {
|
|
|
1205
1251
|
* @format date-time
|
|
1206
1252
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1207
1253
|
*/
|
|
1208
|
-
|
|
1254
|
+
created_at?: string;
|
|
1209
1255
|
/**
|
|
1210
1256
|
* The time the policy was last updated.
|
|
1211
1257
|
* @format date-time
|
|
1212
1258
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1213
1259
|
*/
|
|
1214
|
-
|
|
1215
|
-
|
|
1260
|
+
updated_at?: string;
|
|
1261
|
+
role_id?: string;
|
|
1216
1262
|
/** namespace:uuid */
|
|
1217
1263
|
resource?: string;
|
|
1218
1264
|
/** namespace:uuid */
|
|
@@ -1221,7 +1267,7 @@ interface V1Beta1Policy {
|
|
|
1221
1267
|
}
|
|
1222
1268
|
interface V1Beta1PolicyRequestBody {
|
|
1223
1269
|
/** unique id of the role to which policy is assigned */
|
|
1224
|
-
|
|
1270
|
+
role_id: string;
|
|
1225
1271
|
/** 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
1272
|
title?: string;
|
|
1227
1273
|
/** The resource to which policy is assigned in this format `namespace:uuid`. <br/> *Example:* `app/guardian:70f69c3a-334b-4f25-90b8-4d4f3be6b8e2` */
|
|
@@ -1235,20 +1281,20 @@ interface V1Beta1Preference {
|
|
|
1235
1281
|
id?: string;
|
|
1236
1282
|
name?: string;
|
|
1237
1283
|
value?: string;
|
|
1238
|
-
|
|
1239
|
-
|
|
1284
|
+
resource_id?: string;
|
|
1285
|
+
resource_type?: string;
|
|
1240
1286
|
/**
|
|
1241
1287
|
* The time when the preference was created.
|
|
1242
1288
|
* @format date-time
|
|
1243
1289
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1244
1290
|
*/
|
|
1245
|
-
|
|
1291
|
+
created_at?: string;
|
|
1246
1292
|
/**
|
|
1247
1293
|
* The time when the preference was updated.
|
|
1248
1294
|
* @format date-time
|
|
1249
1295
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1250
1296
|
*/
|
|
1251
|
-
|
|
1297
|
+
updated_at?: string;
|
|
1252
1298
|
}
|
|
1253
1299
|
interface V1Beta1PreferenceRequestBody {
|
|
1254
1300
|
name?: string;
|
|
@@ -1259,16 +1305,16 @@ interface V1Beta1PreferenceRequestBody {
|
|
|
1259
1305
|
* it explains what preferences are available for a resource
|
|
1260
1306
|
*/
|
|
1261
1307
|
interface V1Beta1PreferenceTrait {
|
|
1262
|
-
|
|
1308
|
+
resource_type?: string;
|
|
1263
1309
|
name?: string;
|
|
1264
1310
|
title?: string;
|
|
1265
1311
|
description?: string;
|
|
1266
|
-
|
|
1312
|
+
long_description?: string;
|
|
1267
1313
|
heading?: string;
|
|
1268
|
-
|
|
1314
|
+
sub_heading?: string;
|
|
1269
1315
|
breadcrumb?: string;
|
|
1270
1316
|
default?: string;
|
|
1271
|
-
|
|
1317
|
+
input_hints?: string;
|
|
1272
1318
|
text?: string;
|
|
1273
1319
|
textarea?: string;
|
|
1274
1320
|
select?: string;
|
|
@@ -1279,48 +1325,84 @@ interface V1Beta1PreferenceTrait {
|
|
|
1279
1325
|
}
|
|
1280
1326
|
interface V1Beta1Price {
|
|
1281
1327
|
id?: string;
|
|
1282
|
-
|
|
1283
|
-
|
|
1328
|
+
product_id?: string;
|
|
1329
|
+
provider_id?: string;
|
|
1284
1330
|
name?: string;
|
|
1285
1331
|
/** known intervals are "day", "week", "month", and "year" */
|
|
1286
1332
|
interval?: string;
|
|
1287
1333
|
/** usage_type known types are "licensed" and "metered" */
|
|
1288
|
-
|
|
1334
|
+
usage_type?: string;
|
|
1289
1335
|
/** billing_scheme known schemes are "tiered" and "flat" */
|
|
1290
|
-
|
|
1336
|
+
billing_scheme?: string;
|
|
1291
1337
|
state?: string;
|
|
1292
1338
|
/** currency like "usd", "eur", "gbp" */
|
|
1293
1339
|
currency?: string;
|
|
1294
1340
|
/** @format int64 */
|
|
1295
1341
|
amount?: string;
|
|
1296
1342
|
/** metered_aggregate known aggregations are "sum", "last_during_period" and "max" */
|
|
1297
|
-
|
|
1343
|
+
metered_aggregate?: string;
|
|
1298
1344
|
/** tier_mode known modes are "graduated" and "volume" */
|
|
1299
|
-
|
|
1345
|
+
tier_mode?: string;
|
|
1300
1346
|
metadata?: object;
|
|
1301
1347
|
/** @format date-time */
|
|
1302
|
-
|
|
1348
|
+
created_at?: string;
|
|
1303
1349
|
/** @format date-time */
|
|
1304
|
-
|
|
1350
|
+
updated_at?: string;
|
|
1351
|
+
}
|
|
1352
|
+
interface V1Beta1Product {
|
|
1353
|
+
id?: string;
|
|
1354
|
+
name?: string;
|
|
1355
|
+
title?: string;
|
|
1356
|
+
description?: string;
|
|
1357
|
+
plan_ids?: string[];
|
|
1358
|
+
state?: string;
|
|
1359
|
+
prices?: V1Beta1Price[];
|
|
1360
|
+
/** @format int64 */
|
|
1361
|
+
credit_amount?: string;
|
|
1362
|
+
behavior?: string;
|
|
1363
|
+
features?: V1Beta1Feature[];
|
|
1364
|
+
metadata?: object;
|
|
1365
|
+
/** @format date-time */
|
|
1366
|
+
created_at?: string;
|
|
1367
|
+
/** @format date-time */
|
|
1368
|
+
updated_at?: string;
|
|
1369
|
+
}
|
|
1370
|
+
interface V1Beta1ProductRequestBody {
|
|
1371
|
+
name?: string;
|
|
1372
|
+
title?: string;
|
|
1373
|
+
description?: string;
|
|
1374
|
+
plan_id?: string;
|
|
1375
|
+
prices?: V1Beta1Price[];
|
|
1376
|
+
/** @format int64 */
|
|
1377
|
+
credit_amount?: string;
|
|
1378
|
+
behavior?: string;
|
|
1379
|
+
features?: V1Beta1Feature[];
|
|
1380
|
+
metadata?: object;
|
|
1305
1381
|
}
|
|
1306
1382
|
interface V1Beta1Project {
|
|
1307
1383
|
id?: string;
|
|
1308
1384
|
name?: string;
|
|
1309
1385
|
title?: string;
|
|
1310
|
-
|
|
1386
|
+
org_id?: string;
|
|
1311
1387
|
metadata?: object;
|
|
1312
1388
|
/**
|
|
1313
1389
|
* The time the project was created.
|
|
1314
1390
|
* @format date-time
|
|
1315
1391
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1316
1392
|
*/
|
|
1317
|
-
|
|
1393
|
+
created_at?: string;
|
|
1318
1394
|
/**
|
|
1319
1395
|
* The time the project was last updated.
|
|
1320
1396
|
* @format date-time
|
|
1321
1397
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1322
1398
|
*/
|
|
1323
|
-
|
|
1399
|
+
updated_at?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* The number of members explicitly added in the project.
|
|
1402
|
+
* @format int32
|
|
1403
|
+
* @example 2
|
|
1404
|
+
*/
|
|
1405
|
+
members_count?: number;
|
|
1324
1406
|
}
|
|
1325
1407
|
interface V1Beta1ProjectRequestBody {
|
|
1326
1408
|
/** 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 +1412,7 @@ interface V1Beta1ProjectRequestBody {
|
|
|
1330
1412
|
/** Metadata object for projects that can hold key value pairs defined in Project Metaschema. */
|
|
1331
1413
|
metadata?: object;
|
|
1332
1414
|
/** unique id of the organization to which project belongs */
|
|
1333
|
-
|
|
1415
|
+
org_id: string;
|
|
1334
1416
|
}
|
|
1335
1417
|
interface V1Beta1Relation {
|
|
1336
1418
|
id?: string;
|
|
@@ -1339,14 +1421,14 @@ interface V1Beta1Relation {
|
|
|
1339
1421
|
* @format date-time
|
|
1340
1422
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1341
1423
|
*/
|
|
1342
|
-
|
|
1424
|
+
created_at?: string;
|
|
1343
1425
|
/**
|
|
1344
1426
|
* The time the relation was last updated.
|
|
1345
1427
|
* @format date-time
|
|
1346
1428
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1347
1429
|
*/
|
|
1348
|
-
|
|
1349
|
-
|
|
1430
|
+
updated_at?: string;
|
|
1431
|
+
subject_sub_relation?: string;
|
|
1350
1432
|
relation?: string;
|
|
1351
1433
|
/** objectnamespace:id */
|
|
1352
1434
|
object?: string;
|
|
@@ -1359,7 +1441,7 @@ interface V1Beta1RelationRequestBody {
|
|
|
1359
1441
|
/** subjectnamespace:uuid */
|
|
1360
1442
|
subject?: string;
|
|
1361
1443
|
relation?: string;
|
|
1362
|
-
|
|
1444
|
+
subject_sub_relation?: string;
|
|
1363
1445
|
}
|
|
1364
1446
|
interface V1Beta1Resource {
|
|
1365
1447
|
id?: string;
|
|
@@ -1370,15 +1452,15 @@ interface V1Beta1Resource {
|
|
|
1370
1452
|
* @format date-time
|
|
1371
1453
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1372
1454
|
*/
|
|
1373
|
-
|
|
1455
|
+
created_at?: string;
|
|
1374
1456
|
/**
|
|
1375
1457
|
* The time the resource was last updated.
|
|
1376
1458
|
* @format date-time
|
|
1377
1459
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1378
1460
|
*/
|
|
1379
|
-
|
|
1461
|
+
updated_at?: string;
|
|
1380
1462
|
urn?: string;
|
|
1381
|
-
|
|
1463
|
+
project_id?: string;
|
|
1382
1464
|
namespace?: string;
|
|
1383
1465
|
principal?: string;
|
|
1384
1466
|
metadata?: object;
|
|
@@ -1409,14 +1491,14 @@ interface V1Beta1Role {
|
|
|
1409
1491
|
* @format date-time
|
|
1410
1492
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1411
1493
|
*/
|
|
1412
|
-
|
|
1494
|
+
created_at?: string;
|
|
1413
1495
|
/**
|
|
1414
1496
|
* The time the role was last updated.
|
|
1415
1497
|
* @format date-time
|
|
1416
1498
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1417
1499
|
*/
|
|
1418
|
-
|
|
1419
|
-
|
|
1500
|
+
updated_at?: string;
|
|
1501
|
+
org_id?: string;
|
|
1420
1502
|
state?: string;
|
|
1421
1503
|
scopes?: string[];
|
|
1422
1504
|
}
|
|
@@ -1440,7 +1522,7 @@ interface V1Beta1SecretCredential {
|
|
|
1440
1522
|
* @format date-time
|
|
1441
1523
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1442
1524
|
*/
|
|
1443
|
-
|
|
1525
|
+
created_at?: string;
|
|
1444
1526
|
}
|
|
1445
1527
|
interface V1Beta1ServiceUser {
|
|
1446
1528
|
id?: string;
|
|
@@ -1455,27 +1537,27 @@ interface V1Beta1ServiceUser {
|
|
|
1455
1537
|
* @format date-time
|
|
1456
1538
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1457
1539
|
*/
|
|
1458
|
-
|
|
1540
|
+
created_at?: string;
|
|
1459
1541
|
/**
|
|
1460
1542
|
* The time the user was last updated.
|
|
1461
1543
|
* @format date-time
|
|
1462
1544
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1463
1545
|
*/
|
|
1464
|
-
|
|
1546
|
+
updated_at?: string;
|
|
1465
1547
|
state?: string;
|
|
1466
|
-
|
|
1548
|
+
org_id?: string;
|
|
1467
1549
|
}
|
|
1468
1550
|
interface V1Beta1ServiceUserKey {
|
|
1469
1551
|
id?: string;
|
|
1470
1552
|
title?: string;
|
|
1471
|
-
|
|
1472
|
-
|
|
1553
|
+
principal_id?: string;
|
|
1554
|
+
public_key?: string;
|
|
1473
1555
|
/**
|
|
1474
1556
|
* The time when the secret was created.
|
|
1475
1557
|
* @format date-time
|
|
1476
1558
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1477
1559
|
*/
|
|
1478
|
-
|
|
1560
|
+
created_at?: string;
|
|
1479
1561
|
}
|
|
1480
1562
|
interface V1Beta1ServiceUserRequestBody {
|
|
1481
1563
|
/**
|
|
@@ -1487,33 +1569,29 @@ interface V1Beta1ServiceUserRequestBody {
|
|
|
1487
1569
|
}
|
|
1488
1570
|
interface V1Beta1Subscription {
|
|
1489
1571
|
id?: string;
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1572
|
+
customer_id?: string;
|
|
1573
|
+
provider_id?: string;
|
|
1574
|
+
plan_id?: string;
|
|
1493
1575
|
state?: string;
|
|
1494
1576
|
/** @format int32 */
|
|
1495
|
-
|
|
1577
|
+
trial_days?: number;
|
|
1496
1578
|
metadata?: object;
|
|
1497
1579
|
/** @format date-time */
|
|
1498
|
-
|
|
1580
|
+
created_at?: string;
|
|
1499
1581
|
/** @format date-time */
|
|
1500
|
-
|
|
1582
|
+
updated_at?: string;
|
|
1501
1583
|
/** @format date-time */
|
|
1502
|
-
|
|
1584
|
+
canceled_at?: string;
|
|
1503
1585
|
/** @format date-time */
|
|
1504
|
-
|
|
1586
|
+
ended_at?: string;
|
|
1505
1587
|
}
|
|
1506
1588
|
interface V1Beta1UpdateBillingAccountResponse {
|
|
1507
1589
|
/** Updated billing account */
|
|
1508
|
-
|
|
1590
|
+
billing_account?: V1Beta1BillingAccount;
|
|
1509
1591
|
}
|
|
1510
1592
|
interface V1Beta1UpdateCurrentUserResponse {
|
|
1511
1593
|
user?: V1Beta1User;
|
|
1512
1594
|
}
|
|
1513
|
-
interface V1Beta1UpdateFeatureResponse {
|
|
1514
|
-
/** Updated feature */
|
|
1515
|
-
feature?: V1Beta1Feature;
|
|
1516
|
-
}
|
|
1517
1595
|
interface V1Beta1UpdateGroupResponse {
|
|
1518
1596
|
group?: V1Beta1Group;
|
|
1519
1597
|
}
|
|
@@ -1536,6 +1614,10 @@ interface V1Beta1UpdatePlanResponse {
|
|
|
1536
1614
|
interface V1Beta1UpdatePolicyResponse {
|
|
1537
1615
|
policies?: V1Beta1Policy[];
|
|
1538
1616
|
}
|
|
1617
|
+
interface V1Beta1UpdateProductResponse {
|
|
1618
|
+
/** Updated product */
|
|
1619
|
+
product?: V1Beta1Product;
|
|
1620
|
+
}
|
|
1539
1621
|
interface V1Beta1UpdateProjectResourceResponse {
|
|
1540
1622
|
resource?: V1Beta1Resource;
|
|
1541
1623
|
}
|
|
@@ -1554,7 +1636,7 @@ interface V1Beta1UpdateUserResponse {
|
|
|
1554
1636
|
}
|
|
1555
1637
|
interface V1Beta1Usage {
|
|
1556
1638
|
id?: string;
|
|
1557
|
-
|
|
1639
|
+
customer_id?: string;
|
|
1558
1640
|
source?: string;
|
|
1559
1641
|
description?: string;
|
|
1560
1642
|
type?: string;
|
|
@@ -1562,9 +1644,9 @@ interface V1Beta1Usage {
|
|
|
1562
1644
|
amount?: string;
|
|
1563
1645
|
metadata?: object;
|
|
1564
1646
|
/** @format date-time */
|
|
1565
|
-
|
|
1647
|
+
created_at?: string;
|
|
1566
1648
|
/** @format date-time */
|
|
1567
|
-
|
|
1649
|
+
updated_at?: string;
|
|
1568
1650
|
}
|
|
1569
1651
|
interface V1Beta1User {
|
|
1570
1652
|
id?: string;
|
|
@@ -1586,13 +1668,13 @@ interface V1Beta1User {
|
|
|
1586
1668
|
* @format date-time
|
|
1587
1669
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1588
1670
|
*/
|
|
1589
|
-
|
|
1671
|
+
created_at?: string;
|
|
1590
1672
|
/**
|
|
1591
1673
|
* The time the user was last updated.
|
|
1592
1674
|
* @format date-time
|
|
1593
1675
|
* @example "2023-06-07T05:39:56.961Z"
|
|
1594
1676
|
*/
|
|
1595
|
-
|
|
1677
|
+
updated_at?: string;
|
|
1596
1678
|
/**
|
|
1597
1679
|
* The state of the user (enabled or disabled).
|
|
1598
1680
|
* @example "enabled"
|
|
@@ -1642,7 +1724,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1642
1724
|
*/
|
|
1643
1725
|
adminServiceListGroups: (query?: {
|
|
1644
1726
|
/** The organization id to filter by. */
|
|
1645
|
-
|
|
1727
|
+
org_id?: string;
|
|
1646
1728
|
/** The state to filter by. It can be enabled or disabled. */
|
|
1647
1729
|
state?: string;
|
|
1648
1730
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupsResponse, RpcStatus>>;
|
|
@@ -1657,27 +1739,37 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1657
1739
|
*/
|
|
1658
1740
|
adminServiceListAllOrganizations: (query?: {
|
|
1659
1741
|
/** The user id to filter by. */
|
|
1660
|
-
|
|
1742
|
+
user_id?: string;
|
|
1661
1743
|
/** The state to filter by. It can be enabled or disabled. */
|
|
1662
1744
|
state?: string;
|
|
1663
1745
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllOrganizationsResponse, RpcStatus>>;
|
|
1664
1746
|
/**
|
|
1665
|
-
* @description Checkout a
|
|
1747
|
+
* @description Checkout a product to buy it one time or start a subscription plan on a billing account manually. It bypasses billing engine.
|
|
1666
1748
|
*
|
|
1667
1749
|
* @tags Checkout
|
|
1668
1750
|
* @name AdminServiceDelegatedCheckout
|
|
1669
|
-
* @summary Checkout a
|
|
1670
|
-
* @request POST:/v1beta1/admin/organizations/{
|
|
1751
|
+
* @summary Checkout a product or subscription
|
|
1752
|
+
* @request POST:/v1beta1/admin/organizations/{org_id}/billing/{billing_id}/checkouts
|
|
1671
1753
|
* @secure
|
|
1672
1754
|
*/
|
|
1673
1755
|
adminServiceDelegatedCheckout: (orgId: string, billingId: string, body: {
|
|
1674
1756
|
/** Subscription to create */
|
|
1675
|
-
|
|
1676
|
-
/**
|
|
1677
|
-
|
|
1757
|
+
subscription_body?: V1Beta1CheckoutSubscriptionBody;
|
|
1758
|
+
/** Product to buy */
|
|
1759
|
+
product_body?: V1Beta1CheckoutProductBody;
|
|
1678
1760
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1DelegatedCheckoutResponse, RpcStatus>>;
|
|
1679
1761
|
/**
|
|
1680
|
-
* @description
|
|
1762
|
+
* @description Lists all the users added to the platform.
|
|
1763
|
+
*
|
|
1764
|
+
* @tags Platform
|
|
1765
|
+
* @name AdminServiceListPlatformUsers
|
|
1766
|
+
* @summary List platform users
|
|
1767
|
+
* @request GET:/v1beta1/admin/platform/users
|
|
1768
|
+
* @secure
|
|
1769
|
+
*/
|
|
1770
|
+
adminServiceListPlatformUsers: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPlatformUsersResponse, RpcStatus>>;
|
|
1771
|
+
/**
|
|
1772
|
+
* @description Adds a user to the platform.
|
|
1681
1773
|
*
|
|
1682
1774
|
* @tags Platform
|
|
1683
1775
|
* @name AdminServiceAddPlatformUser
|
|
@@ -1697,7 +1789,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1697
1789
|
*/
|
|
1698
1790
|
adminServiceListProjects: (query?: {
|
|
1699
1791
|
/** The organization id to filter by. */
|
|
1700
|
-
|
|
1792
|
+
org_id?: string;
|
|
1701
1793
|
/** The state to filter by. It can be enabled or disabled. */
|
|
1702
1794
|
state?: string;
|
|
1703
1795
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsResponse, RpcStatus>>;
|
|
@@ -1710,7 +1802,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1710
1802
|
* @request GET:/v1beta1/admin/relations
|
|
1711
1803
|
* @secure
|
|
1712
1804
|
*/
|
|
1713
|
-
adminServiceListRelations: (
|
|
1805
|
+
adminServiceListRelations: (query?: {
|
|
1806
|
+
/** The subject to filter by. */
|
|
1807
|
+
subject?: string;
|
|
1808
|
+
/** The object to filter by. */
|
|
1809
|
+
object?: string;
|
|
1810
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListRelationsResponse, RpcStatus>>;
|
|
1714
1811
|
/**
|
|
1715
1812
|
* @description Lists all the resources from all the organizations in a Frontier instance. It can be filtered by user, project, organization and namespace.
|
|
1716
1813
|
*
|
|
@@ -1722,11 +1819,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1722
1819
|
*/
|
|
1723
1820
|
adminServiceListResources: (query?: {
|
|
1724
1821
|
/** The user id to filter by. */
|
|
1725
|
-
|
|
1822
|
+
user_id?: string;
|
|
1726
1823
|
/** The project id to filter by. */
|
|
1727
|
-
|
|
1824
|
+
project_id?: string;
|
|
1728
1825
|
/** The organization id to filter by. */
|
|
1729
|
-
|
|
1826
|
+
organization_id?: string;
|
|
1730
1827
|
/** The namespace to filter by. */
|
|
1731
1828
|
namespace?: string;
|
|
1732
1829
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListResourcesResponse, RpcStatus>>;
|
|
@@ -1744,18 +1841,18 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1744
1841
|
* The maximum number of users to return per page. The default is 50.
|
|
1745
1842
|
* @format int32
|
|
1746
1843
|
*/
|
|
1747
|
-
|
|
1844
|
+
page_size?: number;
|
|
1748
1845
|
/**
|
|
1749
1846
|
* The page number to return. The default is 1.
|
|
1750
1847
|
* @format int32
|
|
1751
1848
|
*/
|
|
1752
|
-
|
|
1849
|
+
page_num?: number;
|
|
1753
1850
|
/** The keyword to search for. It can be a user's name, email,metadata or id. */
|
|
1754
1851
|
keyword?: string;
|
|
1755
1852
|
/** The organization id to filter by. */
|
|
1756
|
-
|
|
1853
|
+
org_id?: string;
|
|
1757
1854
|
/** The group id to filter by. */
|
|
1758
|
-
|
|
1855
|
+
group_id?: string;
|
|
1759
1856
|
/** The state to filter by. It can be enabled or disabled. */
|
|
1760
1857
|
state?: string;
|
|
1761
1858
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListAllUsersResponse, RpcStatus>>;
|
|
@@ -1780,7 +1877,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1780
1877
|
*/
|
|
1781
1878
|
frontierServiceAuthCallback: (query?: {
|
|
1782
1879
|
/** strategy_name will not be set for oidc but can be utilized for methods like email magic links */
|
|
1783
|
-
|
|
1880
|
+
strategy_name?: string;
|
|
1784
1881
|
/** for oidc & magic links */
|
|
1785
1882
|
state?: string;
|
|
1786
1883
|
code?: string;
|
|
@@ -1788,7 +1885,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1788
1885
|
* state_options has additional configurations for the authentication flow at hand
|
|
1789
1886
|
* for example, in case of passkey, it has challenge and public key
|
|
1790
1887
|
*/
|
|
1791
|
-
|
|
1888
|
+
state_options?: object;
|
|
1792
1889
|
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
1793
1890
|
/**
|
|
1794
1891
|
* @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 +1933,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1836
1933
|
* @tags Authn
|
|
1837
1934
|
* @name FrontierServiceAuthenticate
|
|
1838
1935
|
* @summary Authenticate with a strategy
|
|
1839
|
-
* @request GET:/v1beta1/auth/register/{
|
|
1936
|
+
* @request GET:/v1beta1/auth/register/{strategy_name}
|
|
1840
1937
|
* @secure
|
|
1841
1938
|
*/
|
|
1842
1939
|
frontierServiceAuthenticate: (strategyName: string, query?: {
|
|
@@ -1847,7 +1944,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1847
1944
|
*
|
|
1848
1945
|
* If set to true, location header will be set for redirect to start auth flow
|
|
1849
1946
|
*/
|
|
1850
|
-
|
|
1947
|
+
redirect_onstart?: boolean;
|
|
1851
1948
|
/**
|
|
1852
1949
|
* by default, after successful authentication(flow completes) no operation will be performed,
|
|
1853
1950
|
* to apply redirection in case of browsers, provide an url that will be used
|
|
@@ -1856,7 +1953,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1856
1953
|
*
|
|
1857
1954
|
* URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
|
|
1858
1955
|
*/
|
|
1859
|
-
|
|
1956
|
+
return_to?: string;
|
|
1860
1957
|
/**
|
|
1861
1958
|
* email of the user for magic links
|
|
1862
1959
|
*
|
|
@@ -1872,7 +1969,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1872
1969
|
*
|
|
1873
1970
|
* 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
1971
|
*/
|
|
1875
|
-
|
|
1972
|
+
callback_url?: string;
|
|
1876
1973
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
|
|
1877
1974
|
/**
|
|
1878
1975
|
* @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 +1977,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1880
1977
|
* @tags Authn
|
|
1881
1978
|
* @name FrontierServiceAuthenticate2
|
|
1882
1979
|
* @summary Authenticate with a strategy
|
|
1883
|
-
* @request POST:/v1beta1/auth/register/{
|
|
1980
|
+
* @request POST:/v1beta1/auth/register/{strategy_name}
|
|
1884
1981
|
* @secure
|
|
1885
1982
|
*/
|
|
1886
1983
|
frontierServiceAuthenticate2: (strategyName: string, body: {
|
|
@@ -1890,7 +1987,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1890
1987
|
* also be returned as endpoint in response anyway
|
|
1891
1988
|
* If set to true, location header will be set for redirect to start auth flow
|
|
1892
1989
|
*/
|
|
1893
|
-
|
|
1990
|
+
redirect_onstart?: boolean;
|
|
1894
1991
|
/**
|
|
1895
1992
|
* by default, after successful authentication(flow completes) no operation will be performed,
|
|
1896
1993
|
* to apply redirection in case of browsers, provide an url that will be used
|
|
@@ -1898,7 +1995,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1898
1995
|
* return_to should be one of the allowed urls configured at instance level
|
|
1899
1996
|
* URL to redirect after successful authentication.<br/> *Example:*`"https://frontier.example.com"`
|
|
1900
1997
|
*/
|
|
1901
|
-
|
|
1998
|
+
return_to?: string;
|
|
1902
1999
|
/**
|
|
1903
2000
|
* email of the user for magic links
|
|
1904
2001
|
* Email of the user to authenticate. Used for magic links.<br/> *Example:*`example@acme.org`
|
|
@@ -1912,7 +2009,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1912
2009
|
* callback_url should be one of the allowed urls configured at instance level
|
|
1913
2010
|
* 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
2011
|
*/
|
|
1915
|
-
|
|
2012
|
+
callback_url?: string;
|
|
1916
2013
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1AuthenticateResponse, RpcStatus>>;
|
|
1917
2014
|
/**
|
|
1918
2015
|
* @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 +2031,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
1934
2031
|
* @secure
|
|
1935
2032
|
*/
|
|
1936
2033
|
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
2034
|
/**
|
|
1995
2035
|
* @description List all plans.
|
|
1996
2036
|
*
|
|
@@ -2034,6 +2074,49 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2034
2074
|
/** Plan to update */
|
|
2035
2075
|
body?: V1Beta1PlanRequestBody | undefined;
|
|
2036
2076
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdatePlanResponse, RpcStatus>>;
|
|
2077
|
+
/**
|
|
2078
|
+
* @description List all products of a platform.
|
|
2079
|
+
*
|
|
2080
|
+
* @tags Product
|
|
2081
|
+
* @name FrontierServiceListProducts
|
|
2082
|
+
* @summary List products
|
|
2083
|
+
* @request GET:/v1beta1/billing/products
|
|
2084
|
+
* @secure
|
|
2085
|
+
*/
|
|
2086
|
+
frontierServiceListProducts: (params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProductsResponse, RpcStatus>>;
|
|
2087
|
+
/**
|
|
2088
|
+
* @description Create a new product for platform.
|
|
2089
|
+
*
|
|
2090
|
+
* @tags Product
|
|
2091
|
+
* @name FrontierServiceCreateProduct
|
|
2092
|
+
* @summary Create product
|
|
2093
|
+
* @request POST:/v1beta1/billing/products
|
|
2094
|
+
* @secure
|
|
2095
|
+
*/
|
|
2096
|
+
frontierServiceCreateProduct: (body: V1Beta1CreateProductRequest, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateProductResponse, RpcStatus>>;
|
|
2097
|
+
/**
|
|
2098
|
+
* @description Get a product by ID.
|
|
2099
|
+
*
|
|
2100
|
+
* @tags Product
|
|
2101
|
+
* @name FrontierServiceGetProduct
|
|
2102
|
+
* @summary Get product
|
|
2103
|
+
* @request GET:/v1beta1/billing/products/{id}
|
|
2104
|
+
* @secure
|
|
2105
|
+
*/
|
|
2106
|
+
frontierServiceGetProduct: (id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProductResponse, RpcStatus>>;
|
|
2107
|
+
/**
|
|
2108
|
+
* @description Update a product by ID.
|
|
2109
|
+
*
|
|
2110
|
+
* @tags Product
|
|
2111
|
+
* @name FrontierServiceUpdateProduct
|
|
2112
|
+
* @summary Update product
|
|
2113
|
+
* @request PUT:/v1beta1/billing/products/{id}
|
|
2114
|
+
* @secure
|
|
2115
|
+
*/
|
|
2116
|
+
frontierServiceUpdateProduct: (id: string, body: {
|
|
2117
|
+
/** Product to update */
|
|
2118
|
+
body?: V1Beta1ProductRequestBody | undefined;
|
|
2119
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProductResponse, RpcStatus>>;
|
|
2037
2120
|
/**
|
|
2038
2121
|
* @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
2122
|
*
|
|
@@ -2136,48 +2219,6 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2136
2219
|
* @secure
|
|
2137
2220
|
*/
|
|
2138
2221
|
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
2222
|
/**
|
|
2182
2223
|
* @description Returns a list of organizations. It can be filtered by userID or organization state.
|
|
2183
2224
|
*
|
|
@@ -2189,7 +2230,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2189
2230
|
*/
|
|
2190
2231
|
frontierServiceListOrganizations: (query?: {
|
|
2191
2232
|
/** 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
|
-
|
|
2233
|
+
user_id?: string;
|
|
2193
2234
|
/** The state to filter by. It can be `enabled` or `disabled`. */
|
|
2194
2235
|
state?: string;
|
|
2195
2236
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationsResponse, RpcStatus>>;
|
|
@@ -2297,6 +2338,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2297
2338
|
frontierServiceListOrganizationProjects: (id: string, query?: {
|
|
2298
2339
|
/** Filter projects by state. If not specified, all projects are returned. <br/> *Possible values:* `enabled` or `disabled` */
|
|
2299
2340
|
state?: string;
|
|
2341
|
+
with_member_count?: boolean;
|
|
2300
2342
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationProjectsResponse, RpcStatus>>;
|
|
2301
2343
|
/**
|
|
2302
2344
|
* No description
|
|
@@ -2318,8 +2360,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2318
2360
|
* @secure
|
|
2319
2361
|
*/
|
|
2320
2362
|
frontierServiceListOrganizationUsers: (id: string, query?: {
|
|
2321
|
-
|
|
2322
|
-
|
|
2363
|
+
permission_filter?: string;
|
|
2364
|
+
with_roles?: boolean;
|
|
2323
2365
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationUsersResponse, RpcStatus>>;
|
|
2324
2366
|
/**
|
|
2325
2367
|
* @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 +2374,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2332
2374
|
*/
|
|
2333
2375
|
frontierServiceAddOrganizationUsers: (id: string, body: {
|
|
2334
2376
|
/** List of user IDs to be added to the organization. */
|
|
2335
|
-
|
|
2377
|
+
user_ids?: string[];
|
|
2336
2378
|
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2337
2379
|
/**
|
|
2338
2380
|
* @description Remove a user from an organization
|
|
@@ -2340,17 +2382,59 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2340
2382
|
* @tags Organization
|
|
2341
2383
|
* @name FrontierServiceRemoveOrganizationUser
|
|
2342
2384
|
* @summary Remove organization user
|
|
2343
|
-
* @request DELETE:/v1beta1/organizations/{id}/users/{
|
|
2385
|
+
* @request DELETE:/v1beta1/organizations/{id}/users/{user_id}
|
|
2344
2386
|
* @secure
|
|
2345
2387
|
*/
|
|
2346
2388
|
frontierServiceRemoveOrganizationUser: (id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2389
|
+
/**
|
|
2390
|
+
* @description Returns a list of audit logs of an organization in Frontier.
|
|
2391
|
+
*
|
|
2392
|
+
* @tags AuditLog
|
|
2393
|
+
* @name FrontierServiceListOrganizationAuditLogs
|
|
2394
|
+
* @summary List audit logs
|
|
2395
|
+
* @request GET:/v1beta1/organizations/{org_id}/auditlogs
|
|
2396
|
+
* @secure
|
|
2397
|
+
*/
|
|
2398
|
+
frontierServiceListOrganizationAuditLogs: (orgId: string, query?: {
|
|
2399
|
+
source?: string;
|
|
2400
|
+
action?: string;
|
|
2401
|
+
/**
|
|
2402
|
+
* start_time and end_time are inclusive
|
|
2403
|
+
* @format date-time
|
|
2404
|
+
*/
|
|
2405
|
+
start_time?: string;
|
|
2406
|
+
/** @format date-time */
|
|
2407
|
+
end_time?: string;
|
|
2408
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationAuditLogsResponse, RpcStatus>>;
|
|
2409
|
+
/**
|
|
2410
|
+
* @description Create new audit logs in a batch.
|
|
2411
|
+
*
|
|
2412
|
+
* @tags AuditLog
|
|
2413
|
+
* @name FrontierServiceCreateOrganizationAuditLogs
|
|
2414
|
+
* @summary Create audit log
|
|
2415
|
+
* @request POST:/v1beta1/organizations/{org_id}/auditlogs
|
|
2416
|
+
* @secure
|
|
2417
|
+
*/
|
|
2418
|
+
frontierServiceCreateOrganizationAuditLogs: (orgId: string, body: {
|
|
2419
|
+
logs?: V1Beta1AuditLog[];
|
|
2420
|
+
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2421
|
+
/**
|
|
2422
|
+
* @description Get an audit log by ID.
|
|
2423
|
+
*
|
|
2424
|
+
* @tags AuditLog
|
|
2425
|
+
* @name FrontierServiceGetOrganizationAuditLog
|
|
2426
|
+
* @summary Get audit log
|
|
2427
|
+
* @request GET:/v1beta1/organizations/{org_id}/auditlogs/{id}
|
|
2428
|
+
* @secure
|
|
2429
|
+
*/
|
|
2430
|
+
frontierServiceGetOrganizationAuditLog: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationAuditLogResponse, RpcStatus>>;
|
|
2347
2431
|
/**
|
|
2348
2432
|
* @description List billing accounts of an organization.
|
|
2349
2433
|
*
|
|
2350
2434
|
* @tags Billing
|
|
2351
2435
|
* @name FrontierServiceListBillingAccounts
|
|
2352
2436
|
* @summary List billing accounts
|
|
2353
|
-
* @request GET:/v1beta1/organizations/{
|
|
2437
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing
|
|
2354
2438
|
* @secure
|
|
2355
2439
|
*/
|
|
2356
2440
|
frontierServiceListBillingAccounts: (orgId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingAccountsResponse, RpcStatus>>;
|
|
@@ -2360,7 +2444,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2360
2444
|
* @tags Billing
|
|
2361
2445
|
* @name FrontierServiceCreateBillingAccount
|
|
2362
2446
|
* @summary Create billing account
|
|
2363
|
-
* @request POST:/v1beta1/organizations/{
|
|
2447
|
+
* @request POST:/v1beta1/organizations/{org_id}/billing
|
|
2364
2448
|
* @secure
|
|
2365
2449
|
*/
|
|
2366
2450
|
frontierServiceCreateBillingAccount: (orgId: string, body: {
|
|
@@ -2373,10 +2457,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2373
2457
|
* @tags Entitlement
|
|
2374
2458
|
* @name FrontierServiceCheckFeatureEntitlement
|
|
2375
2459
|
* @summary Check entitlement
|
|
2376
|
-
* @request POST:/v1beta1/organizations/{
|
|
2460
|
+
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/check
|
|
2377
2461
|
* @secure
|
|
2378
2462
|
*/
|
|
2379
2463
|
frontierServiceCheckFeatureEntitlement: (orgId: string, billingId: string, body: {
|
|
2464
|
+
/** feature or product name */
|
|
2380
2465
|
feature?: string;
|
|
2381
2466
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CheckFeatureEntitlementResponse, RpcStatus>>;
|
|
2382
2467
|
/**
|
|
@@ -2385,34 +2470,54 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2385
2470
|
* @tags Checkout
|
|
2386
2471
|
* @name FrontierServiceListCheckouts
|
|
2387
2472
|
* @summary List checkouts
|
|
2388
|
-
* @request GET:/v1beta1/organizations/{
|
|
2473
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts
|
|
2389
2474
|
* @secure
|
|
2390
2475
|
*/
|
|
2391
2476
|
frontierServiceListCheckouts: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCheckoutsResponse, RpcStatus>>;
|
|
2392
2477
|
/**
|
|
2393
|
-
* @description Checkout a
|
|
2478
|
+
* @description Checkout a product to buy it one time or start a subscription plan on a billing account.
|
|
2394
2479
|
*
|
|
2395
2480
|
* @tags Checkout
|
|
2396
2481
|
* @name FrontierServiceCreateCheckout
|
|
2397
|
-
* @summary Checkout a
|
|
2398
|
-
* @request POST:/v1beta1/organizations/{
|
|
2482
|
+
* @summary Checkout a product or subscription
|
|
2483
|
+
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/checkouts
|
|
2399
2484
|
* @secure
|
|
2400
2485
|
*/
|
|
2401
2486
|
frontierServiceCreateCheckout: (orgId: string, billingId: string, body: {
|
|
2402
|
-
|
|
2403
|
-
|
|
2487
|
+
success_url?: string;
|
|
2488
|
+
cancel_url?: string;
|
|
2404
2489
|
/** Subscription to create */
|
|
2405
|
-
|
|
2406
|
-
/**
|
|
2407
|
-
|
|
2490
|
+
subscription_body?: V1Beta1CheckoutSubscriptionBody;
|
|
2491
|
+
/** Product to buy */
|
|
2492
|
+
product_body?: V1Beta1CheckoutProductBody;
|
|
2408
2493
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateCheckoutResponse, RpcStatus>>;
|
|
2494
|
+
/**
|
|
2495
|
+
* @description List all invoices of a billing account.
|
|
2496
|
+
*
|
|
2497
|
+
* @tags Invoice
|
|
2498
|
+
* @name FrontierServiceListInvoices
|
|
2499
|
+
* @summary List invoices
|
|
2500
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/invoices
|
|
2501
|
+
* @secure
|
|
2502
|
+
*/
|
|
2503
|
+
frontierServiceListInvoices: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListInvoicesResponse, RpcStatus>>;
|
|
2504
|
+
/**
|
|
2505
|
+
* @description Get the upcoming invoice of a billing account.
|
|
2506
|
+
*
|
|
2507
|
+
* @tags Invoice
|
|
2508
|
+
* @name FrontierServiceGetUpcomingInvoice
|
|
2509
|
+
* @summary Get upcoming invoice
|
|
2510
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/invoices/upcoming
|
|
2511
|
+
* @secure
|
|
2512
|
+
*/
|
|
2513
|
+
frontierServiceGetUpcomingInvoice: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetUpcomingInvoiceResponse, RpcStatus>>;
|
|
2409
2514
|
/**
|
|
2410
2515
|
* @description List subscriptions of a billing account.
|
|
2411
2516
|
*
|
|
2412
2517
|
* @tags Subscription
|
|
2413
2518
|
* @name FrontierServiceListSubscriptions
|
|
2414
2519
|
* @summary List subscriptions
|
|
2415
|
-
* @request GET:/v1beta1/organizations/{
|
|
2520
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions
|
|
2416
2521
|
* @secure
|
|
2417
2522
|
*/
|
|
2418
2523
|
frontierServiceListSubscriptions: (orgId: string, billingId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListSubscriptionsResponse, RpcStatus>>;
|
|
@@ -2422,7 +2527,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2422
2527
|
* @tags Subscription
|
|
2423
2528
|
* @name FrontierServiceGetSubscription
|
|
2424
2529
|
* @summary Get subscription
|
|
2425
|
-
* @request GET:/v1beta1/organizations/{
|
|
2530
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}
|
|
2426
2531
|
* @secure
|
|
2427
2532
|
*/
|
|
2428
2533
|
frontierServiceGetSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetSubscriptionResponse, RpcStatus>>;
|
|
@@ -2432,7 +2537,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2432
2537
|
* @tags Subscription
|
|
2433
2538
|
* @name FrontierServiceUpdateSubscription
|
|
2434
2539
|
* @summary Update subscription
|
|
2435
|
-
* @request PUT:/v1beta1/organizations/{
|
|
2540
|
+
* @request PUT:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}
|
|
2436
2541
|
* @secure
|
|
2437
2542
|
*/
|
|
2438
2543
|
frontierServiceUpdateSubscription: (orgId: string, billingId: string, id: string, body: {
|
|
@@ -2444,17 +2549,30 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2444
2549
|
* @tags Subscription
|
|
2445
2550
|
* @name FrontierServiceCancelSubscription
|
|
2446
2551
|
* @summary Cancel subscription
|
|
2447
|
-
* @request POST:/v1beta1/organizations/{
|
|
2552
|
+
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/subscriptions/{id}/cancel
|
|
2448
2553
|
* @secure
|
|
2449
2554
|
*/
|
|
2450
2555
|
frontierServiceCancelSubscription: (orgId: string, billingId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2556
|
+
/**
|
|
2557
|
+
* @description List all transactions of a billing account.
|
|
2558
|
+
*
|
|
2559
|
+
* @tags Transaction
|
|
2560
|
+
* @name FrontierServiceListBillingTransactions
|
|
2561
|
+
* @summary List billing transactions
|
|
2562
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{billing_id}/transactions
|
|
2563
|
+
* @secure
|
|
2564
|
+
*/
|
|
2565
|
+
frontierServiceListBillingTransactions: (orgId: string, billingId: string, query?: {
|
|
2566
|
+
/** @format date-time */
|
|
2567
|
+
since?: string;
|
|
2568
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListBillingTransactionsResponse, RpcStatus>>;
|
|
2451
2569
|
/**
|
|
2452
2570
|
* @description Report a new billing usage for a billing account.
|
|
2453
2571
|
*
|
|
2454
2572
|
* @tags Usage
|
|
2455
2573
|
* @name FrontierServiceCreateBillingUsage
|
|
2456
2574
|
* @summary Create billing usage
|
|
2457
|
-
* @request POST:/v1beta1/organizations/{
|
|
2575
|
+
* @request POST:/v1beta1/organizations/{org_id}/billing/{billing_id}/usages
|
|
2458
2576
|
* @secure
|
|
2459
2577
|
*/
|
|
2460
2578
|
frontierServiceCreateBillingUsage: (orgId: string, billingId: string, body: {
|
|
@@ -2467,17 +2585,19 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2467
2585
|
* @tags Billing
|
|
2468
2586
|
* @name FrontierServiceGetBillingAccount
|
|
2469
2587
|
* @summary Get billing account
|
|
2470
|
-
* @request GET:/v1beta1/organizations/{
|
|
2588
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{id}
|
|
2471
2589
|
* @secure
|
|
2472
2590
|
*/
|
|
2473
|
-
frontierServiceGetBillingAccount: (orgId: string, id: string,
|
|
2591
|
+
frontierServiceGetBillingAccount: (orgId: string, id: string, query?: {
|
|
2592
|
+
with_payment_methods?: boolean;
|
|
2593
|
+
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingAccountResponse, RpcStatus>>;
|
|
2474
2594
|
/**
|
|
2475
2595
|
* @description Delete a billing account by ID.
|
|
2476
2596
|
*
|
|
2477
2597
|
* @tags Billing
|
|
2478
2598
|
* @name FrontierServiceDeleteBillingAccount
|
|
2479
2599
|
* @summary Delete billing account
|
|
2480
|
-
* @request DELETE:/v1beta1/organizations/{
|
|
2600
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/billing/{id}
|
|
2481
2601
|
* @secure
|
|
2482
2602
|
*/
|
|
2483
2603
|
frontierServiceDeleteBillingAccount: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2487,7 +2607,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2487
2607
|
* @tags Billing
|
|
2488
2608
|
* @name FrontierServiceUpdateBillingAccount
|
|
2489
2609
|
* @summary Update billing account
|
|
2490
|
-
* @request PUT:/v1beta1/organizations/{
|
|
2610
|
+
* @request PUT:/v1beta1/organizations/{org_id}/billing/{id}
|
|
2491
2611
|
* @secure
|
|
2492
2612
|
*/
|
|
2493
2613
|
frontierServiceUpdateBillingAccount: (orgId: string, id: string, body: {
|
|
@@ -2500,7 +2620,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2500
2620
|
* @tags Billing
|
|
2501
2621
|
* @name FrontierServiceGetBillingBalance
|
|
2502
2622
|
* @summary Get billing balance
|
|
2503
|
-
* @request GET:/v1beta1/organizations/{
|
|
2623
|
+
* @request GET:/v1beta1/organizations/{org_id}/billing/{id}/balance
|
|
2504
2624
|
* @secure
|
|
2505
2625
|
*/
|
|
2506
2626
|
frontierServiceGetBillingBalance: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetBillingBalanceResponse, RpcStatus>>;
|
|
@@ -2510,7 +2630,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2510
2630
|
* @tags Organization
|
|
2511
2631
|
* @name FrontierServiceListOrganizationDomains
|
|
2512
2632
|
* @summary List org domains
|
|
2513
|
-
* @request GET:/v1beta1/organizations/{
|
|
2633
|
+
* @request GET:/v1beta1/organizations/{org_id}/domains
|
|
2514
2634
|
* @secure
|
|
2515
2635
|
*/
|
|
2516
2636
|
frontierServiceListOrganizationDomains: (orgId: string, query?: {
|
|
@@ -2523,7 +2643,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2523
2643
|
* @tags Organization
|
|
2524
2644
|
* @name FrontierServiceCreateOrganizationDomain
|
|
2525
2645
|
* @summary Create org domain
|
|
2526
|
-
* @request POST:/v1beta1/organizations/{
|
|
2646
|
+
* @request POST:/v1beta1/organizations/{org_id}/domains
|
|
2527
2647
|
* @secure
|
|
2528
2648
|
*/
|
|
2529
2649
|
frontierServiceCreateOrganizationDomain: (orgId: string, body: {
|
|
@@ -2536,7 +2656,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2536
2656
|
* @tags Organization
|
|
2537
2657
|
* @name FrontierServiceGetOrganizationDomain
|
|
2538
2658
|
* @summary Get org domain
|
|
2539
|
-
* @request GET:/v1beta1/organizations/{
|
|
2659
|
+
* @request GET:/v1beta1/organizations/{org_id}/domains/{id}
|
|
2540
2660
|
* @secure
|
|
2541
2661
|
*/
|
|
2542
2662
|
frontierServiceGetOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationDomainResponse, RpcStatus>>;
|
|
@@ -2546,7 +2666,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2546
2666
|
* @tags Organization
|
|
2547
2667
|
* @name FrontierServiceDeleteOrganizationDomain
|
|
2548
2668
|
* @summary Delete org domain
|
|
2549
|
-
* @request DELETE:/v1beta1/organizations/{
|
|
2669
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/domains/{id}
|
|
2550
2670
|
* @secure
|
|
2551
2671
|
*/
|
|
2552
2672
|
frontierServiceDeleteOrganizationDomain: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2556,7 +2676,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2556
2676
|
* @tags Organization
|
|
2557
2677
|
* @name FrontierServiceVerifyOrganizationDomain
|
|
2558
2678
|
* @summary Verify org domain
|
|
2559
|
-
* @request POST:/v1beta1/organizations/{
|
|
2679
|
+
* @request POST:/v1beta1/organizations/{org_id}/domains/{id}/verify
|
|
2560
2680
|
* @secure
|
|
2561
2681
|
*/
|
|
2562
2682
|
frontierServiceVerifyOrganizationDomain: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<V1Beta1VerifyOrganizationDomainResponse, RpcStatus>>;
|
|
@@ -2566,14 +2686,15 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2566
2686
|
* @tags Group
|
|
2567
2687
|
* @name FrontierServiceListOrganizationGroups
|
|
2568
2688
|
* @summary List organization groups
|
|
2569
|
-
* @request GET:/v1beta1/organizations/{
|
|
2689
|
+
* @request GET:/v1beta1/organizations/{org_id}/groups
|
|
2570
2690
|
* @secure
|
|
2571
2691
|
*/
|
|
2572
2692
|
frontierServiceListOrganizationGroups: (orgId: string, query?: {
|
|
2573
2693
|
/** The state of the group to filter by. It can be enabled or disabled. */
|
|
2574
2694
|
state?: string;
|
|
2575
|
-
|
|
2576
|
-
|
|
2695
|
+
group_ids?: string[];
|
|
2696
|
+
with_members?: boolean;
|
|
2697
|
+
with_member_count?: boolean;
|
|
2577
2698
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationGroupsResponse, RpcStatus>>;
|
|
2578
2699
|
/**
|
|
2579
2700
|
* @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 +2702,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2581
2702
|
* @tags Group
|
|
2582
2703
|
* @name FrontierServiceCreateGroup
|
|
2583
2704
|
* @summary Create group
|
|
2584
|
-
* @request POST:/v1beta1/organizations/{
|
|
2705
|
+
* @request POST:/v1beta1/organizations/{org_id}/groups
|
|
2585
2706
|
* @secure
|
|
2586
2707
|
*/
|
|
2587
2708
|
frontierServiceCreateGroup: (orgId: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateGroupResponse, RpcStatus>>;
|
|
@@ -2591,11 +2712,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2591
2712
|
* @tags Group
|
|
2592
2713
|
* @name FrontierServiceGetGroup
|
|
2593
2714
|
* @summary Get group
|
|
2594
|
-
* @request GET:/v1beta1/organizations/{
|
|
2715
|
+
* @request GET:/v1beta1/organizations/{org_id}/groups/{id}
|
|
2595
2716
|
* @secure
|
|
2596
2717
|
*/
|
|
2597
2718
|
frontierServiceGetGroup: (orgId: string, id: string, query?: {
|
|
2598
|
-
|
|
2719
|
+
with_members?: boolean;
|
|
2599
2720
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetGroupResponse, RpcStatus>>;
|
|
2600
2721
|
/**
|
|
2601
2722
|
* @description Delete an organization group permanently and all of its relations
|
|
@@ -2603,7 +2724,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2603
2724
|
* @tags Group
|
|
2604
2725
|
* @name FrontierServiceDeleteGroup
|
|
2605
2726
|
* @summary Delete group
|
|
2606
|
-
* @request DELETE:/v1beta1/organizations/{
|
|
2727
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}
|
|
2607
2728
|
* @secure
|
|
2608
2729
|
*/
|
|
2609
2730
|
frontierServiceDeleteGroup: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2613,7 +2734,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2613
2734
|
* @tags Group
|
|
2614
2735
|
* @name FrontierServiceUpdateGroup
|
|
2615
2736
|
* @summary Update group
|
|
2616
|
-
* @request PUT:/v1beta1/organizations/{
|
|
2737
|
+
* @request PUT:/v1beta1/organizations/{org_id}/groups/{id}
|
|
2617
2738
|
* @secure
|
|
2618
2739
|
*/
|
|
2619
2740
|
frontierServiceUpdateGroup: (orgId: string, id: string, body: V1Beta1GroupRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateGroupResponse, RpcStatus>>;
|
|
@@ -2623,7 +2744,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2623
2744
|
* @tags Group
|
|
2624
2745
|
* @name FrontierServiceDisableGroup
|
|
2625
2746
|
* @summary Disable group
|
|
2626
|
-
* @request POST:/v1beta1/organizations/{
|
|
2747
|
+
* @request POST:/v1beta1/organizations/{org_id}/groups/{id}/disable
|
|
2627
2748
|
* @secure
|
|
2628
2749
|
*/
|
|
2629
2750
|
frontierServiceDisableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2633,7 +2754,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2633
2754
|
* @tags Group
|
|
2634
2755
|
* @name FrontierServiceEnableGroup
|
|
2635
2756
|
* @summary Enable group
|
|
2636
|
-
* @request POST:/v1beta1/organizations/{
|
|
2757
|
+
* @request POST:/v1beta1/organizations/{org_id}/groups/{id}/enable
|
|
2637
2758
|
* @secure
|
|
2638
2759
|
*/
|
|
2639
2760
|
frontierServiceEnableGroup: (orgId: string, id: string, body: object, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2643,11 +2764,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2643
2764
|
* @tags Group
|
|
2644
2765
|
* @name FrontierServiceListGroupUsers
|
|
2645
2766
|
* @summary List group users
|
|
2646
|
-
* @request GET:/v1beta1/organizations/{
|
|
2767
|
+
* @request GET:/v1beta1/organizations/{org_id}/groups/{id}/users
|
|
2647
2768
|
* @secure
|
|
2648
2769
|
*/
|
|
2649
2770
|
frontierServiceListGroupUsers: (orgId: string, id: string, query?: {
|
|
2650
|
-
|
|
2771
|
+
with_roles?: boolean;
|
|
2651
2772
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListGroupUsersResponse, RpcStatus>>;
|
|
2652
2773
|
/**
|
|
2653
2774
|
* @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 +2776,11 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2655
2776
|
* @tags Group
|
|
2656
2777
|
* @name FrontierServiceAddGroupUsers
|
|
2657
2778
|
* @summary Add group user
|
|
2658
|
-
* @request POST:/v1beta1/organizations/{
|
|
2779
|
+
* @request POST:/v1beta1/organizations/{org_id}/groups/{id}/users
|
|
2659
2780
|
* @secure
|
|
2660
2781
|
*/
|
|
2661
2782
|
frontierServiceAddGroupUsers: (orgId: string, id: string, body: {
|
|
2662
|
-
|
|
2783
|
+
user_ids?: string[];
|
|
2663
2784
|
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
2664
2785
|
/**
|
|
2665
2786
|
* @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 +2788,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2667
2788
|
* @tags Group
|
|
2668
2789
|
* @name FrontierServiceRemoveGroupUser
|
|
2669
2790
|
* @summary Remove group user
|
|
2670
|
-
* @request DELETE:/v1beta1/organizations/{
|
|
2791
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/groups/{id}/users/{user_id}
|
|
2671
2792
|
* @secure
|
|
2672
2793
|
*/
|
|
2673
2794
|
frontierServiceRemoveGroupUser: (orgId: string, id: string, userId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2677,12 +2798,12 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2677
2798
|
* @tags Organization
|
|
2678
2799
|
* @name FrontierServiceListOrganizationInvitations
|
|
2679
2800
|
* @summary List pending invitations
|
|
2680
|
-
* @request GET:/v1beta1/organizations/{
|
|
2801
|
+
* @request GET:/v1beta1/organizations/{org_id}/invitations
|
|
2681
2802
|
* @secure
|
|
2682
2803
|
*/
|
|
2683
2804
|
frontierServiceListOrganizationInvitations: (orgId: string, query?: {
|
|
2684
2805
|
/** user_id filter is the email id of user who are invited inside the organization. */
|
|
2685
|
-
|
|
2806
|
+
user_id?: string;
|
|
2686
2807
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListOrganizationInvitationsResponse, RpcStatus>>;
|
|
2687
2808
|
/**
|
|
2688
2809
|
* @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 +2811,16 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2690
2811
|
* @tags Organization
|
|
2691
2812
|
* @name FrontierServiceCreateOrganizationInvitation
|
|
2692
2813
|
* @summary Invite user
|
|
2693
|
-
* @request POST:/v1beta1/organizations/{
|
|
2814
|
+
* @request POST:/v1beta1/organizations/{org_id}/invitations
|
|
2694
2815
|
* @secure
|
|
2695
2816
|
*/
|
|
2696
2817
|
frontierServiceCreateOrganizationInvitation: (orgId: string, body: {
|
|
2697
2818
|
/** 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
|
-
|
|
2819
|
+
user_ids: string[];
|
|
2699
2820
|
/** list of group ids to which user needs to be added as a member. */
|
|
2700
|
-
|
|
2821
|
+
group_ids?: string[];
|
|
2701
2822
|
/** list of role ids to which user needs to be added as a member. Roles are binded at organization level by default. */
|
|
2702
|
-
|
|
2823
|
+
role_ids?: string[];
|
|
2703
2824
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationInvitationResponse, RpcStatus>>;
|
|
2704
2825
|
/**
|
|
2705
2826
|
* @description Returns a pending invitation queued for an organization
|
|
@@ -2707,7 +2828,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2707
2828
|
* @tags Organization
|
|
2708
2829
|
* @name FrontierServiceGetOrganizationInvitation
|
|
2709
2830
|
* @summary Get pending invitation
|
|
2710
|
-
* @request GET:/v1beta1/organizations/{
|
|
2831
|
+
* @request GET:/v1beta1/organizations/{org_id}/invitations/{id}
|
|
2711
2832
|
* @secure
|
|
2712
2833
|
*/
|
|
2713
2834
|
frontierServiceGetOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationInvitationResponse, RpcStatus>>;
|
|
@@ -2717,7 +2838,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2717
2838
|
* @tags Organization
|
|
2718
2839
|
* @name FrontierServiceDeleteOrganizationInvitation
|
|
2719
2840
|
* @summary Delete pending invitation
|
|
2720
|
-
* @request DELETE:/v1beta1/organizations/{
|
|
2841
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/invitations/{id}
|
|
2721
2842
|
* @secure
|
|
2722
2843
|
*/
|
|
2723
2844
|
frontierServiceDeleteOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2727,7 +2848,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2727
2848
|
* @tags Organization
|
|
2728
2849
|
* @name FrontierServiceAcceptOrganizationInvitation
|
|
2729
2850
|
* @summary Accept pending invitation
|
|
2730
|
-
* @request POST:/v1beta1/organizations/{
|
|
2851
|
+
* @request POST:/v1beta1/organizations/{org_id}/invitations/{id}/accept
|
|
2731
2852
|
* @secure
|
|
2732
2853
|
*/
|
|
2733
2854
|
frontierServiceAcceptOrganizationInvitation: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2737,7 +2858,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2737
2858
|
* @tags Organization
|
|
2738
2859
|
* @name FrontierServiceJoinOrganization
|
|
2739
2860
|
* @summary Join organization
|
|
2740
|
-
* @request POST:/v1beta1/organizations/{
|
|
2861
|
+
* @request POST:/v1beta1/organizations/{org_id}/join
|
|
2741
2862
|
* @secure
|
|
2742
2863
|
*/
|
|
2743
2864
|
frontierServiceJoinOrganization: (orgId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2747,7 +2868,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2747
2868
|
* @tags Role
|
|
2748
2869
|
* @name FrontierServiceListOrganizationRoles
|
|
2749
2870
|
* @summary List organization roles
|
|
2750
|
-
* @request GET:/v1beta1/organizations/{
|
|
2871
|
+
* @request GET:/v1beta1/organizations/{org_id}/roles
|
|
2751
2872
|
* @secure
|
|
2752
2873
|
*/
|
|
2753
2874
|
frontierServiceListOrganizationRoles: (orgId: string, query?: {
|
|
@@ -2760,7 +2881,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2760
2881
|
* @tags Role
|
|
2761
2882
|
* @name FrontierServiceCreateOrganizationRole
|
|
2762
2883
|
* @summary Create organization role
|
|
2763
|
-
* @request POST:/v1beta1/organizations/{
|
|
2884
|
+
* @request POST:/v1beta1/organizations/{org_id}/roles
|
|
2764
2885
|
* @secure
|
|
2765
2886
|
*/
|
|
2766
2887
|
frontierServiceCreateOrganizationRole: (orgId: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1CreateOrganizationRoleResponse, RpcStatus>>;
|
|
@@ -2770,7 +2891,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2770
2891
|
* @tags Role
|
|
2771
2892
|
* @name FrontierServiceGetOrganizationRole
|
|
2772
2893
|
* @summary Get organization role
|
|
2773
|
-
* @request GET:/v1beta1/organizations/{
|
|
2894
|
+
* @request GET:/v1beta1/organizations/{org_id}/roles/{id}
|
|
2774
2895
|
* @secure
|
|
2775
2896
|
*/
|
|
2776
2897
|
frontierServiceGetOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetOrganizationRoleResponse, RpcStatus>>;
|
|
@@ -2780,7 +2901,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2780
2901
|
* @tags Role
|
|
2781
2902
|
* @name FrontierServiceDeleteOrganizationRole
|
|
2782
2903
|
* @summary Delete organization role
|
|
2783
|
-
* @request DELETE:/v1beta1/organizations/{
|
|
2904
|
+
* @request DELETE:/v1beta1/organizations/{org_id}/roles/{id}
|
|
2784
2905
|
* @secure
|
|
2785
2906
|
*/
|
|
2786
2907
|
frontierServiceDeleteOrganizationRole: (orgId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -2790,7 +2911,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2790
2911
|
* @tags Role
|
|
2791
2912
|
* @name FrontierServiceUpdateOrganizationRole
|
|
2792
2913
|
* @summary Update organization role
|
|
2793
|
-
* @request PUT:/v1beta1/organizations/{
|
|
2914
|
+
* @request PUT:/v1beta1/organizations/{org_id}/roles/{id}
|
|
2794
2915
|
* @secure
|
|
2795
2916
|
*/
|
|
2796
2917
|
frontierServiceUpdateOrganizationRole: (orgId: string, id: string, body: V1Beta1RoleRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateOrganizationRoleResponse, RpcStatus>>;
|
|
@@ -2855,15 +2976,15 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
2855
2976
|
*/
|
|
2856
2977
|
frontierServiceListPolicies: (query?: {
|
|
2857
2978
|
/** The organization id to filter by. */
|
|
2858
|
-
|
|
2979
|
+
org_id?: string;
|
|
2859
2980
|
/** The project id to filter by. */
|
|
2860
|
-
|
|
2981
|
+
project_id?: string;
|
|
2861
2982
|
/** The user id to filter by. */
|
|
2862
|
-
|
|
2983
|
+
user_id?: string;
|
|
2863
2984
|
/** The role id to filter by. */
|
|
2864
|
-
|
|
2985
|
+
role_id?: string;
|
|
2865
2986
|
/** The group id to filter by. */
|
|
2866
|
-
|
|
2987
|
+
group_id?: string;
|
|
2867
2988
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListPoliciesResponse, RpcStatus>>;
|
|
2868
2989
|
/**
|
|
2869
2990
|
* @description Creates a policy
|
|
@@ -3015,7 +3136,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3015
3136
|
* @secure
|
|
3016
3137
|
*/
|
|
3017
3138
|
frontierServiceListProjectGroups: (id: string, query?: {
|
|
3018
|
-
|
|
3139
|
+
with_roles?: boolean;
|
|
3019
3140
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectGroupsResponse, RpcStatus>>;
|
|
3020
3141
|
/**
|
|
3021
3142
|
* @description List a project preferences by ID.
|
|
@@ -3049,7 +3170,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3049
3170
|
* @secure
|
|
3050
3171
|
*/
|
|
3051
3172
|
frontierServiceListProjectServiceUsers: (id: string, query?: {
|
|
3052
|
-
|
|
3173
|
+
with_roles?: boolean;
|
|
3053
3174
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectServiceUsersResponse, RpcStatus>>;
|
|
3054
3175
|
/**
|
|
3055
3176
|
* @description Returns a collection of users of a project. Filter by user permissions is supported.
|
|
@@ -3061,8 +3182,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3061
3182
|
* @secure
|
|
3062
3183
|
*/
|
|
3063
3184
|
frontierServiceListProjectUsers: (id: string, query?: {
|
|
3064
|
-
|
|
3065
|
-
|
|
3185
|
+
permission_filter?: string;
|
|
3186
|
+
with_roles?: boolean;
|
|
3066
3187
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectUsersResponse, RpcStatus>>;
|
|
3067
3188
|
/**
|
|
3068
3189
|
* No description
|
|
@@ -3070,7 +3191,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3070
3191
|
* @tags Resource
|
|
3071
3192
|
* @name FrontierServiceListProjectResources
|
|
3072
3193
|
* @summary Get all resources
|
|
3073
|
-
* @request GET:/v1beta1/projects/{
|
|
3194
|
+
* @request GET:/v1beta1/projects/{project_id}/resources
|
|
3074
3195
|
* @secure
|
|
3075
3196
|
*/
|
|
3076
3197
|
frontierServiceListProjectResources: (projectId: string, query?: {
|
|
@@ -3082,7 +3203,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3082
3203
|
* @tags Resource
|
|
3083
3204
|
* @name FrontierServiceCreateProjectResource
|
|
3084
3205
|
* @summary Create resource
|
|
3085
|
-
* @request POST:/v1beta1/projects/{
|
|
3206
|
+
* @request POST:/v1beta1/projects/{project_id}/resources
|
|
3086
3207
|
* @secure
|
|
3087
3208
|
*/
|
|
3088
3209
|
frontierServiceCreateProjectResource: (projectId: string, body: V1Beta1ResourceRequestBody, query?: {
|
|
@@ -3095,7 +3216,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3095
3216
|
* @tags Resource
|
|
3096
3217
|
* @name FrontierServiceGetProjectResource
|
|
3097
3218
|
* @summary Get resource
|
|
3098
|
-
* @request GET:/v1beta1/projects/{
|
|
3219
|
+
* @request GET:/v1beta1/projects/{project_id}/resources/{id}
|
|
3099
3220
|
* @secure
|
|
3100
3221
|
*/
|
|
3101
3222
|
frontierServiceGetProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetProjectResourceResponse, RpcStatus>>;
|
|
@@ -3105,7 +3226,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3105
3226
|
* @tags Resource
|
|
3106
3227
|
* @name FrontierServiceDeleteProjectResource
|
|
3107
3228
|
* @summary Delete resource
|
|
3108
|
-
* @request DELETE:/v1beta1/projects/{
|
|
3229
|
+
* @request DELETE:/v1beta1/projects/{project_id}/resources/{id}
|
|
3109
3230
|
* @secure
|
|
3110
3231
|
*/
|
|
3111
3232
|
frontierServiceDeleteProjectResource: (projectId: string, id: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -3115,7 +3236,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3115
3236
|
* @tags Resource
|
|
3116
3237
|
* @name FrontierServiceUpdateProjectResource
|
|
3117
3238
|
* @summary Update resource
|
|
3118
|
-
* @request PUT:/v1beta1/projects/{
|
|
3239
|
+
* @request PUT:/v1beta1/projects/{project_id}/resources/{id}
|
|
3119
3240
|
* @secure
|
|
3120
3241
|
*/
|
|
3121
3242
|
frontierServiceUpdateProjectResource: (projectId: string, id: string, body: V1Beta1ResourceRequestBody, params?: RequestParams) => Promise<HttpResponse<V1Beta1UpdateProjectResourceResponse, RpcStatus>>;
|
|
@@ -3203,7 +3324,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3203
3324
|
*/
|
|
3204
3325
|
frontierServiceListServiceUsers: (query: {
|
|
3205
3326
|
/** The organization ID to filter service users by. */
|
|
3206
|
-
|
|
3327
|
+
org_id: string;
|
|
3207
3328
|
/** The state to filter by. It can be enabled or disabled. */
|
|
3208
3329
|
state?: string;
|
|
3209
3330
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListServiceUsersResponse, RpcStatus>>;
|
|
@@ -3237,7 +3358,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3237
3358
|
* @secure
|
|
3238
3359
|
*/
|
|
3239
3360
|
frontierServiceDeleteServiceUser: (id: string, query?: {
|
|
3240
|
-
|
|
3361
|
+
org_id?: string;
|
|
3241
3362
|
}, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
3242
3363
|
/**
|
|
3243
3364
|
* @description List all the keys of a service user with its details except jwk.
|
|
@@ -3267,7 +3388,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3267
3388
|
* @tags ServiceUser
|
|
3268
3389
|
* @name FrontierServiceGetServiceUserKey
|
|
3269
3390
|
* @summary Get service user key
|
|
3270
|
-
* @request GET:/v1beta1/serviceusers/{id}/keys/{
|
|
3391
|
+
* @request GET:/v1beta1/serviceusers/{id}/keys/{key_id}
|
|
3271
3392
|
* @secure
|
|
3272
3393
|
*/
|
|
3273
3394
|
frontierServiceGetServiceUserKey: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<V1Beta1GetServiceUserKeyResponse, RpcStatus>>;
|
|
@@ -3277,7 +3398,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3277
3398
|
* @tags ServiceUser
|
|
3278
3399
|
* @name FrontierServiceDeleteServiceUserKey
|
|
3279
3400
|
* @summary Delete service user key
|
|
3280
|
-
* @request DELETE:/v1beta1/serviceusers/{id}/keys/{
|
|
3401
|
+
* @request DELETE:/v1beta1/serviceusers/{id}/keys/{key_id}
|
|
3281
3402
|
* @secure
|
|
3282
3403
|
*/
|
|
3283
3404
|
frontierServiceDeleteServiceUserKey: (id: string, keyId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -3309,7 +3430,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3309
3430
|
* @tags ServiceUser
|
|
3310
3431
|
* @name FrontierServiceDeleteServiceUserSecret
|
|
3311
3432
|
* @summary Delete service user secret
|
|
3312
|
-
* @request DELETE:/v1beta1/serviceusers/{id}/secrets/{
|
|
3433
|
+
* @request DELETE:/v1beta1/serviceusers/{id}/secrets/{secret_id}
|
|
3313
3434
|
* @secure
|
|
3314
3435
|
*/
|
|
3315
3436
|
frontierServiceDeleteServiceUserSecret: (id: string, secretId: string, params?: RequestParams) => Promise<HttpResponse<object, RpcStatus>>;
|
|
@@ -3327,18 +3448,18 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3327
3448
|
* The maximum number of users to return per page. The default is 50.
|
|
3328
3449
|
* @format int32
|
|
3329
3450
|
*/
|
|
3330
|
-
|
|
3451
|
+
page_size?: number;
|
|
3331
3452
|
/**
|
|
3332
3453
|
* The page number to return. The default is 1.
|
|
3333
3454
|
* @format int32
|
|
3334
3455
|
*/
|
|
3335
|
-
|
|
3456
|
+
page_num?: number;
|
|
3336
3457
|
/** The keyword to search for in name or email. */
|
|
3337
3458
|
keyword?: string;
|
|
3338
3459
|
/** The organization ID to filter users by. */
|
|
3339
|
-
|
|
3460
|
+
org_id?: string;
|
|
3340
3461
|
/** The group id to filter by. */
|
|
3341
|
-
|
|
3462
|
+
group_id?: string;
|
|
3342
3463
|
/** The state to filter by. It can be enabled or disabled. */
|
|
3343
3464
|
state?: string;
|
|
3344
3465
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUsersResponse, RpcStatus>>;
|
|
@@ -3412,7 +3533,7 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3412
3533
|
*/
|
|
3413
3534
|
frontierServiceListUserGroups: (id: string, query?: {
|
|
3414
3535
|
/** The organization ID to filter groups by. If not provided, groups from all organizations are returned. */
|
|
3415
|
-
|
|
3536
|
+
org_id?: string;
|
|
3416
3537
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListUserGroupsResponse, RpcStatus>>;
|
|
3417
3538
|
/**
|
|
3418
3539
|
* @description List all the invitations sent to a user.
|
|
@@ -3497,8 +3618,9 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3497
3618
|
*/
|
|
3498
3619
|
frontierServiceListCurrentUserGroups: (query?: {
|
|
3499
3620
|
/** org_id is optional filter over an organization */
|
|
3500
|
-
|
|
3501
|
-
|
|
3621
|
+
org_id?: string;
|
|
3622
|
+
with_permissions?: string[];
|
|
3623
|
+
with_member_count?: boolean;
|
|
3502
3624
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListCurrentUserGroupsResponse, RpcStatus>>;
|
|
3503
3625
|
/**
|
|
3504
3626
|
* @description List all the invitations sent to current user.
|
|
@@ -3553,13 +3675,13 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3553
3675
|
*/
|
|
3554
3676
|
frontierServiceListProjectsByCurrentUser: (query?: {
|
|
3555
3677
|
/** org_id is optional and filter projects by org */
|
|
3556
|
-
|
|
3678
|
+
org_id?: string;
|
|
3557
3679
|
/**
|
|
3558
3680
|
* list of permissions needs to be checked against each project
|
|
3559
3681
|
* query params are set as with_permissions=get&with_permissions=delete
|
|
3560
3682
|
* to be represented as array
|
|
3561
3683
|
*/
|
|
3562
|
-
|
|
3684
|
+
with_permissions?: string[];
|
|
3563
3685
|
/**
|
|
3564
3686
|
* Note: this is a bad design and would recommend against using this filter
|
|
3565
3687
|
* It is used to list only projects which are explicitly given permission
|
|
@@ -3568,7 +3690,8 @@ declare class V1Beta1<SecurityDataType = unknown> extends HttpClient<SecurityDat
|
|
|
3568
3690
|
* only users who could have inherited these permissions from top but we only
|
|
3569
3691
|
* want explictly added ones.
|
|
3570
3692
|
*/
|
|
3571
|
-
|
|
3693
|
+
non_inherited?: boolean;
|
|
3694
|
+
with_member_count?: boolean;
|
|
3572
3695
|
}, params?: RequestParams) => Promise<HttpResponse<V1Beta1ListProjectsByCurrentUserResponse, RpcStatus>>;
|
|
3573
3696
|
}
|
|
3574
3697
|
|
|
@@ -3589,6 +3712,8 @@ interface FrontierContextProviderProps {
|
|
|
3589
3712
|
setIsActiveOrganizationLoading: Dispatch<SetStateAction<boolean>>;
|
|
3590
3713
|
isUserLoading: boolean;
|
|
3591
3714
|
setIsUserLoading: Dispatch<SetStateAction<boolean>>;
|
|
3715
|
+
billingAccount: V1Beta1BillingAccount | undefined;
|
|
3716
|
+
setBillingAccount: Dispatch<SetStateAction<V1Beta1BillingAccount | undefined>>;
|
|
3592
3717
|
}
|
|
3593
3718
|
declare function useFrontier(): FrontierContextProviderProps;
|
|
3594
3719
|
|