Skip to content

Commit

Permalink
Rebuild client schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Oct 10, 2024
1 parent 096ebf3 commit 4e35f14
Showing 1 changed file with 65 additions and 5 deletions.
70 changes: 65 additions & 5 deletions client/src/api/schema/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4646,6 +4646,26 @@ export interface paths {
patch?: never;
trace?: never;
};
"/api/users/{user_id}/roles": {
parameters: {
query?: never;
header?: never;
path?: never;
cookie?: never;
};
/**
* Get User Roles
* @description Return a collection of roles associated with this user. Only admins can see user roles.
*/
get: operations["get_user_roles_api_users__user_id__roles_get"];
put?: never;
post?: never;
delete?: never;
options?: never;
head?: never;
patch?: never;
trace?: never;
};
"/api/users/{user_id}/send_activation_email": {
parameters: {
query?: never;
Expand Down Expand Up @@ -13041,7 +13061,7 @@ export interface components {
page_limit: number;
/**
* Roles
* @description A list available roles that can be assigned to a particular permission.
* @description A list containing available roles that can be assigned to a particular permission.
*/
roles: components["schemas"]["BasicRoleModel"][];
/**
Expand Down Expand Up @@ -21262,8 +21282,6 @@ export interface operations {
page?: number;
/** @description The maximum number of permissions per page when paginating. */
page_limit?: number;
/** @description Optional search text to retrieve only the roles matching this query. */
q?: string | null;
};
header?: {
/** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */
Expand Down Expand Up @@ -28096,8 +28114,6 @@ export interface operations {
page?: number;
/** @description The maximum number of permissions per page when paginating. */
page_limit?: number;
/** @description Optional search text to retrieve only the roles matching this query. */
q?: string | null;
};
header?: {
/** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */
Expand Down Expand Up @@ -33297,6 +33313,50 @@ export interface operations {
};
};
};
get_user_roles_api_users__user_id__roles_get: {
parameters: {
query?: never;
header?: {
/** @description The user ID that will be used to effectively make this API call. Only admins and designated users can make API calls on behalf of other users. */
"run-as"?: string | null;
};
path: {
/** @description The ID of the user. */
user_id: string;
};
cookie?: never;
};
requestBody?: never;
responses: {
/** @description Successful Response */
200: {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["RoleListResponse"];
};
};
/** @description Request Error */
"4XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
/** @description Server Error */
"5XX": {
headers: {
[name: string]: unknown;
};
content: {
"application/json": components["schemas"]["MessageExceptionModel"];
};
};
};
};
send_activation_email_api_users__user_id__send_activation_email_post: {
parameters: {
query?: never;
Expand Down

0 comments on commit 4e35f14

Please sign in to comment.