mirror of
https://github.com/tribufu/sdk-js
synced 2025-06-15 18:24:19 +00:00
Disable markOptionalProperties
This commit is contained in:
@ -2651,159 +2651,159 @@ export class TribufuApiGenerated extends TribufuApiBase {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface Account {
|
export interface Account {
|
||||||
id?: string | null;
|
id: string | null;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
provider?: LoginProvider;
|
provider: LoginProvider;
|
||||||
user_id?: string;
|
user_id: string;
|
||||||
authorized?: boolean;
|
authorized: boolean;
|
||||||
fields?: any | null;
|
fields: any | null;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface CryptoViewModel {
|
export interface CryptoViewModel {
|
||||||
encoded?: string | null;
|
encoded: string | null;
|
||||||
decoded?: string | null;
|
decoded: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface File {
|
export interface File {
|
||||||
id?: string;
|
id: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
description?: string | null;
|
description: string | null;
|
||||||
image_url?: string | null;
|
image_url: string | null;
|
||||||
author_id?: string;
|
author_id: string;
|
||||||
version?: string | null;
|
version: string | null;
|
||||||
file_url?: string | null;
|
file_url: string | null;
|
||||||
raw_size?: number;
|
raw_size: number;
|
||||||
download_count?: number;
|
download_count: number;
|
||||||
last_download?: string | null;
|
last_download: string | null;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Game {
|
export interface Game {
|
||||||
id?: string;
|
id: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
description?: string | null;
|
description: string | null;
|
||||||
type?: number;
|
type: number;
|
||||||
organization_id?: string;
|
organization_id: string;
|
||||||
icon_url?: string | null;
|
icon_url: string | null;
|
||||||
banner_url?: string | null;
|
banner_url: string | null;
|
||||||
capsule_image_url?: string | null;
|
capsule_image_url: string | null;
|
||||||
library_image_url?: string | null;
|
library_image_url: string | null;
|
||||||
parent_id?: string | null;
|
parent_id: string | null;
|
||||||
slug?: string | null;
|
slug: string | null;
|
||||||
visibility?: number;
|
visibility: number;
|
||||||
password?: string | null;
|
password: string | null;
|
||||||
primary?: number;
|
primary: number;
|
||||||
game_port?: number | null;
|
game_port: number | null;
|
||||||
query_port?: number | null;
|
query_port: number | null;
|
||||||
rcon_port?: number | null;
|
rcon_port: number | null;
|
||||||
user_count?: number;
|
user_count: number;
|
||||||
server_count?: number;
|
server_count: number;
|
||||||
achievement_count?: number;
|
achievement_count: number;
|
||||||
badge_count?: number;
|
badge_count: number;
|
||||||
download_count?: number;
|
download_count: number;
|
||||||
steam_app_id?: number | null;
|
steam_app_id: number | null;
|
||||||
steam_server_app_id?: number | null;
|
steam_server_app_id: number | null;
|
||||||
enable_servers?: boolean;
|
enable_servers: boolean;
|
||||||
rust_gamedig_id?: string | null;
|
rust_gamedig_id: string | null;
|
||||||
node_gamedig_id?: string | null;
|
node_gamedig_id: string | null;
|
||||||
server_connect_url?: string | null;
|
server_connect_url: string | null;
|
||||||
server_tags?: string | null;
|
server_tags: string | null;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GameServer {
|
export interface GameServer {
|
||||||
id?: string;
|
id: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
description?: string | null;
|
description: string | null;
|
||||||
address?: string | null;
|
address: string | null;
|
||||||
game_port?: number | null;
|
game_port: number | null;
|
||||||
query_port?: number;
|
query_port: number;
|
||||||
game_id?: string;
|
game_id: string;
|
||||||
game_icon_url?: string | null;
|
game_icon_url: string | null;
|
||||||
version?: string | null;
|
version: string | null;
|
||||||
featured?: number;
|
featured: number;
|
||||||
cluster_id?: string | null;
|
cluster_id: string | null;
|
||||||
website_url?: string | null;
|
website_url: string | null;
|
||||||
banner_url?: string | null;
|
banner_url: string | null;
|
||||||
owner_id?: string | null;
|
owner_id: string | null;
|
||||||
uptime?: number;
|
uptime: number;
|
||||||
status?: ServerStatus;
|
status: ServerStatus;
|
||||||
ping?: number | null;
|
ping: number | null;
|
||||||
map?: string | null;
|
map: string | null;
|
||||||
used_slots?: number | null;
|
used_slots: number | null;
|
||||||
max_slots?: number | null;
|
max_slots: number | null;
|
||||||
motd?: string | null;
|
motd: string | null;
|
||||||
players?: string | null;
|
players: string | null;
|
||||||
last_online?: string | null;
|
last_online: string | null;
|
||||||
country?: string | null;
|
country: string | null;
|
||||||
steam?: number;
|
steam: number;
|
||||||
discord_server_id?: string | null;
|
discord_server_id: string | null;
|
||||||
youtube_video_url?: string | null;
|
youtube_video_url: string | null;
|
||||||
tags?: string | null;
|
tags: string | null;
|
||||||
comment_count?: number;
|
comment_count: number;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GameServerCluster {
|
export interface GameServerCluster {
|
||||||
id?: string;
|
id: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
description?: string | null;
|
description: string | null;
|
||||||
package_id?: string;
|
package_id: string;
|
||||||
website_url?: string | null;
|
website_url: string | null;
|
||||||
banner_url?: string | null;
|
banner_url: string | null;
|
||||||
owner_id?: string;
|
owner_id: string;
|
||||||
discord_server_id?: string | null;
|
discord_server_id: string | null;
|
||||||
youtube_video_url?: string | null;
|
youtube_video_url: string | null;
|
||||||
tags?: string | null;
|
tags: string | null;
|
||||||
comment_count?: number;
|
comment_count: number;
|
||||||
server_count?: number;
|
server_count: number;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Group {
|
export interface Group {
|
||||||
id?: string;
|
id: string;
|
||||||
uuid?: string;
|
uuid: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
tag?: string | null;
|
tag: string | null;
|
||||||
description?: string | null;
|
description: string | null;
|
||||||
type?: number;
|
type: number;
|
||||||
privacy?: number;
|
privacy: number;
|
||||||
owner_id?: string;
|
owner_id: string;
|
||||||
verified?: boolean;
|
verified: boolean;
|
||||||
photo_url?: string | null;
|
photo_url: string | null;
|
||||||
banner_url?: string | null;
|
banner_url: string | null;
|
||||||
member_count?: number;
|
member_count: number;
|
||||||
follower_count?: number;
|
follower_count: number;
|
||||||
view_count?: number;
|
view_count: number;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GroupGame {
|
export interface GroupGame {
|
||||||
group_id?: string;
|
group_id: string;
|
||||||
game_id?: string;
|
game_id: string;
|
||||||
stats?: any | null;
|
stats: any | null;
|
||||||
acquired?: string;
|
acquired: string;
|
||||||
last_used?: string | null;
|
last_used: string | null;
|
||||||
group?: Group;
|
group: Group;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface GroupMember {
|
export interface GroupMember {
|
||||||
id?: string;
|
id: string;
|
||||||
uuid?: string;
|
uuid: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
display_name?: string | null;
|
display_name: string | null;
|
||||||
verified?: boolean;
|
verified: boolean;
|
||||||
photo_url?: string | null;
|
photo_url: string | null;
|
||||||
last_online?: string | null;
|
last_online: string | null;
|
||||||
rank?: GroupRank;
|
rank: GroupRank;
|
||||||
since?: string;
|
since: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum GroupRank {
|
export enum GroupRank {
|
||||||
@ -2813,16 +2813,16 @@ export enum GroupRank {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface HashViewModel {
|
export interface HashViewModel {
|
||||||
value?: string | null;
|
value: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LeaderboardItem {
|
export interface LeaderboardItem {
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
display_name?: string | null;
|
display_name: string | null;
|
||||||
photo_url?: string | null;
|
photo_url: string | null;
|
||||||
level?: number;
|
level: number;
|
||||||
experience?: number;
|
experience: number;
|
||||||
points?: number;
|
points: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum LeaderboardOrder {
|
export enum LeaderboardOrder {
|
||||||
@ -2841,82 +2841,82 @@ export enum LoginProvider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface LoginRequest {
|
export interface LoginRequest {
|
||||||
login?: string | null;
|
login: string | null;
|
||||||
password?: string | null;
|
password: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface LoginResponse {
|
export interface LoginResponse {
|
||||||
user?: UserInfo;
|
user: UserInfo;
|
||||||
access_token?: string | null;
|
access_token: string | null;
|
||||||
refresh_token?: string | null;
|
refresh_token: string | null;
|
||||||
expires_in?: number;
|
expires_in: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Profile {
|
export interface Profile {
|
||||||
id?: string;
|
id: string;
|
||||||
uuid?: string;
|
uuid: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
display_name?: string | null;
|
display_name: string | null;
|
||||||
flags?: string;
|
flags: string;
|
||||||
verified?: boolean;
|
verified: boolean;
|
||||||
level?: number;
|
level: number;
|
||||||
experience?: number;
|
experience: number;
|
||||||
public_birthday?: boolean;
|
public_birthday: boolean;
|
||||||
birthday?: string | null;
|
birthday: string | null;
|
||||||
points?: number;
|
points: number;
|
||||||
location?: string | null;
|
location: string | null;
|
||||||
photo_url?: string | null;
|
photo_url: string | null;
|
||||||
banner_url?: string | null;
|
banner_url: string | null;
|
||||||
last_online?: string | null;
|
last_online: string | null;
|
||||||
biography?: string | null;
|
biography: string | null;
|
||||||
view_count?: number;
|
view_count: number;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProfileGame {
|
export interface ProfileGame {
|
||||||
id?: string;
|
id: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
capsule_image_url?: string | null;
|
capsule_image_url: string | null;
|
||||||
library_image_url?: string | null;
|
library_image_url: string | null;
|
||||||
slug?: string | null;
|
slug: string | null;
|
||||||
time_used?: number;
|
time_used: number;
|
||||||
unlocked_achievements?: number;
|
unlocked_achievements: number;
|
||||||
total_achievements?: number;
|
total_achievements: number;
|
||||||
stats?: any | null;
|
stats: any | null;
|
||||||
acquired?: string;
|
acquired: string;
|
||||||
last_used?: string | null;
|
last_used: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ProfileGroup {
|
export interface ProfileGroup {
|
||||||
id?: string;
|
id: string;
|
||||||
uuid?: string;
|
uuid: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
tag?: string | null;
|
tag: string | null;
|
||||||
privacy?: number;
|
privacy: number;
|
||||||
verified?: boolean;
|
verified: boolean;
|
||||||
photo_url?: string | null;
|
photo_url: string | null;
|
||||||
member_count?: number;
|
member_count: number;
|
||||||
rank?: GroupRank;
|
rank: GroupRank;
|
||||||
since?: string;
|
since: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RefreshRequest {
|
export interface RefreshRequest {
|
||||||
refresh_token?: string | null;
|
refresh_token: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface RegisterRequest {
|
export interface RegisterRequest {
|
||||||
uuid?: string | null;
|
uuid: string | null;
|
||||||
name: string;
|
name: string;
|
||||||
email?: string | null;
|
email: string | null;
|
||||||
password: string;
|
password: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface SearchRequest {
|
export interface SearchRequest {
|
||||||
type?: SearchType;
|
type: SearchType;
|
||||||
query?: string | null;
|
query: string | null;
|
||||||
page?: number | null;
|
page: number | null;
|
||||||
game_id?: string | null;
|
game_id: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum SearchType {
|
export enum SearchType {
|
||||||
@ -2927,9 +2927,9 @@ export enum SearchType {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface ServerMetrics {
|
export interface ServerMetrics {
|
||||||
server_count?: number;
|
server_count: number;
|
||||||
package_count?: number;
|
package_count: number;
|
||||||
country_count?: number;
|
country_count: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum ServerStatus {
|
export enum ServerStatus {
|
||||||
@ -2939,46 +2939,46 @@ export enum ServerStatus {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface Subscription {
|
export interface Subscription {
|
||||||
id?: string;
|
id: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
description?: string | null;
|
description: string | null;
|
||||||
image_url?: string | null;
|
image_url: string | null;
|
||||||
readonly prices?: { [key: string]: number; } | null;
|
readonly prices: { [key: string]: number; } | null;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UpdateProfile {
|
export interface UpdateProfile {
|
||||||
display_name?: string | null;
|
display_name: string | null;
|
||||||
biography?: string | null;
|
biography: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface UserInfo {
|
export interface UserInfo {
|
||||||
id?: string;
|
id: string;
|
||||||
uuid?: string;
|
uuid: string;
|
||||||
name?: string | null;
|
name: string | null;
|
||||||
display_name?: string | null;
|
display_name: string | null;
|
||||||
email?: string | null;
|
email: string | null;
|
||||||
type?: UserType;
|
type: UserType;
|
||||||
flags?: string;
|
flags: string;
|
||||||
permissions?: string;
|
permissions: string;
|
||||||
verified?: boolean;
|
verified: boolean;
|
||||||
level?: number;
|
level: number;
|
||||||
experience?: number;
|
experience: number;
|
||||||
public_birthday?: boolean;
|
public_birthday: boolean;
|
||||||
birthday?: string | null;
|
birthday: string | null;
|
||||||
points?: number;
|
points: number;
|
||||||
location?: string | null;
|
location: string | null;
|
||||||
language?: string | null;
|
language: string | null;
|
||||||
timezone?: string | null;
|
timezone: string | null;
|
||||||
currency?: string | null;
|
currency: string | null;
|
||||||
photo_url?: string | null;
|
photo_url: string | null;
|
||||||
banner_url?: string | null;
|
banner_url: string | null;
|
||||||
last_online?: string | null;
|
last_online: string | null;
|
||||||
biography?: string | null;
|
biography: string | null;
|
||||||
view_count?: number;
|
view_count: number;
|
||||||
created?: string;
|
created: string;
|
||||||
updated?: string | null;
|
updated: string | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
export enum UserType {
|
export enum UserType {
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
"useTransformResultMethod": false,
|
"useTransformResultMethod": false,
|
||||||
"generateDtoTypes": true,
|
"generateDtoTypes": true,
|
||||||
"operationGenerationMode": "SingleClientFromOperationId",
|
"operationGenerationMode": "SingleClientFromOperationId",
|
||||||
"markOptionalProperties": true,
|
"markOptionalProperties": false,
|
||||||
"generateCloneMethod": false,
|
"generateCloneMethod": false,
|
||||||
"typeStyle": "Interface",
|
"typeStyle": "Interface",
|
||||||
"enumStyle": "Enum",
|
"enumStyle": "Enum",
|
||||||
|
Reference in New Issue
Block a user