chore(api): regenerate client types from OpenAPI spec
This commit is contained in:
parent
18a4adb32f
commit
dedcd33c70
File diff suppressed because one or more lines are too long
@ -14,4 +14,6 @@ export type ApiResponseContextMeData = {
|
||||
avatar_url?: string | null;
|
||||
/** @minimum 0 */
|
||||
has_unread_notifications: number;
|
||||
language: string;
|
||||
timezone: string;
|
||||
};
|
||||
|
||||
13
src/client/model/apiResponseProjectMessageFavoriteItem.ts
Normal file
13
src/client/model/apiResponseProjectMessageFavoriteItem.ts
Normal file
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
import type { ApiResponseProjectMessageFavoriteItemData } from './apiResponseProjectMessageFavoriteItemData';
|
||||
|
||||
export interface ApiResponseProjectMessageFavoriteItem {
|
||||
code: number;
|
||||
message: string;
|
||||
data?: ApiResponseProjectMessageFavoriteItemData;
|
||||
}
|
||||
@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
|
||||
export type ApiResponseProjectMessageFavoriteItemData = {
|
||||
uid: string;
|
||||
project_uid: string;
|
||||
room_id: string;
|
||||
room_name: string;
|
||||
message_id: string;
|
||||
/** @nullable */
|
||||
sender_id?: string | null;
|
||||
sender_type: string;
|
||||
/** @nullable */
|
||||
display_name?: string | null;
|
||||
content: string;
|
||||
content_type: string;
|
||||
send_at: string;
|
||||
favorited_at: string;
|
||||
};
|
||||
@ -0,0 +1,13 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
import type { ApiResponseProjectMessageFavoriteResponseData } from './apiResponseProjectMessageFavoriteResponseData';
|
||||
|
||||
export interface ApiResponseProjectMessageFavoriteResponse {
|
||||
code: number;
|
||||
message: string;
|
||||
data?: ApiResponseProjectMessageFavoriteResponseData;
|
||||
}
|
||||
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
import type { ProjectMessageFavoriteItem } from './projectMessageFavoriteItem';
|
||||
|
||||
export type ApiResponseProjectMessageFavoriteResponseData = {
|
||||
/** @minimum 0 */
|
||||
page: number;
|
||||
/** @minimum 0 */
|
||||
per_page: number;
|
||||
/** @minimum 0 */
|
||||
total: number;
|
||||
list: ProjectMessageFavoriteItem[];
|
||||
};
|
||||
@ -14,4 +14,6 @@ export interface ContextMe {
|
||||
avatar_url?: string | null;
|
||||
/** @minimum 0 */
|
||||
has_unread_notifications: number;
|
||||
language: string;
|
||||
timezone: string;
|
||||
}
|
||||
|
||||
@ -244,6 +244,10 @@ export * from './apiResponseProjectInfoRelational';
|
||||
export * from './apiResponseProjectInfoRelationalData';
|
||||
export * from './apiResponseProjectInitResponse';
|
||||
export * from './apiResponseProjectInitResponseData';
|
||||
export * from './apiResponseProjectMessageFavoriteItem';
|
||||
export * from './apiResponseProjectMessageFavoriteItemData';
|
||||
export * from './apiResponseProjectMessageFavoriteResponse';
|
||||
export * from './apiResponseProjectMessageFavoriteResponseData';
|
||||
export * from './apiResponseProjectRepoCreateResponse';
|
||||
export * from './apiResponseProjectRepoCreateResponseData';
|
||||
export * from './apiResponseProjectRepositoryPagination';
|
||||
@ -704,6 +708,10 @@ export * from './projectInitResponse';
|
||||
export * from './projectInvitationsParams';
|
||||
export * from './projectJoinRequestsParams';
|
||||
export * from './projectMembersParams';
|
||||
export * from './projectMessageFavoriteItem';
|
||||
export * from './projectMessageFavoriteQuery';
|
||||
export * from './projectMessageFavoriteResponse';
|
||||
export * from './projectMessageFavoritesParams';
|
||||
export * from './projectModel';
|
||||
export * from './projectRepoCreateParams';
|
||||
export * from './projectRepoCreateResponse';
|
||||
|
||||
23
src/client/model/projectMessageFavoriteItem.ts
Normal file
23
src/client/model/projectMessageFavoriteItem.ts
Normal file
@ -0,0 +1,23 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
|
||||
export interface ProjectMessageFavoriteItem {
|
||||
uid: string;
|
||||
project_uid: string;
|
||||
room_id: string;
|
||||
room_name: string;
|
||||
message_id: string;
|
||||
/** @nullable */
|
||||
sender_id?: string | null;
|
||||
sender_type: string;
|
||||
/** @nullable */
|
||||
display_name?: string | null;
|
||||
content: string;
|
||||
content_type: string;
|
||||
send_at: string;
|
||||
favorited_at: string;
|
||||
}
|
||||
19
src/client/model/projectMessageFavoriteQuery.ts
Normal file
19
src/client/model/projectMessageFavoriteQuery.ts
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
|
||||
export interface ProjectMessageFavoriteQuery {
|
||||
/**
|
||||
* @minimum 0
|
||||
* @nullable
|
||||
*/
|
||||
page?: number | null;
|
||||
/**
|
||||
* @minimum 0
|
||||
* @nullable
|
||||
*/
|
||||
per_page?: number | null;
|
||||
}
|
||||
17
src/client/model/projectMessageFavoriteResponse.ts
Normal file
17
src/client/model/projectMessageFavoriteResponse.ts
Normal file
@ -0,0 +1,17 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
import type { ProjectMessageFavoriteItem } from './projectMessageFavoriteItem';
|
||||
|
||||
export interface ProjectMessageFavoriteResponse {
|
||||
/** @minimum 0 */
|
||||
page: number;
|
||||
/** @minimum 0 */
|
||||
per_page: number;
|
||||
/** @minimum 0 */
|
||||
total: number;
|
||||
list: ProjectMessageFavoriteItem[];
|
||||
}
|
||||
19
src/client/model/projectMessageFavoritesParams.ts
Normal file
19
src/client/model/projectMessageFavoritesParams.ts
Normal file
@ -0,0 +1,19 @@
|
||||
/**
|
||||
* Generated by orval v8.9.0 🍺
|
||||
* Do not edit manually.
|
||||
* api
|
||||
* OpenAPI spec version: 0.2.9
|
||||
*/
|
||||
|
||||
export type ProjectMessageFavoritesParams = {
|
||||
/**
|
||||
* @minimum 0
|
||||
* @nullable
|
||||
*/
|
||||
page?: number | null;
|
||||
/**
|
||||
* @minimum 0
|
||||
* @nullable
|
||||
*/
|
||||
per_page?: number | null;
|
||||
};
|
||||
@ -7,9 +7,9 @@
|
||||
|
||||
export interface UserBillingHistoryItem {
|
||||
uid: string;
|
||||
project_uid: string;
|
||||
/** @nullable */
|
||||
user_uid?: string | null;
|
||||
project_uid?: string | null;
|
||||
user_uid: string;
|
||||
amount: number;
|
||||
currency: string;
|
||||
reason: string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user