Skip to content

Commit

Permalink
fix: update schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Anty0 committed Jan 15, 2025
1 parent 579f783 commit 03e5213
Showing 1 changed file with 61 additions and 52 deletions.
113 changes: 61 additions & 52 deletions webapp/src/service/apiSchema.generated.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1230,29 +1230,6 @@ export interface components {
| "SERVER_ADMIN";
/** @description The user's permission type. This field is null if uses granular permissions */
type?: "NONE" | "VIEW" | "TRANSLATE" | "REVIEW" | "EDIT" | "MANAGE";
/**
* @description List of languages user can translate to. If null, all languages editing is permitted.
* @example 200001,200004
*/
translateLanguageIds?: number[];
/**
* @description List of languages user can change state to. If null, changing state of all language values is permitted.
* @example 200001,200004
*/
stateChangeLanguageIds?: number[];
/**
* @deprecated
* @description Deprecated (use translateLanguageIds).
*
* List of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.
* @example 200001,200004
*/
permittedLanguageIds?: number[];
/**
* @description List of languages user can view. If null, all languages view is permitted.
* @example 200001,200004
*/
viewLanguageIds?: number[];
/**
* @description Granted scopes to the user. When user has type permissions, this field contains permission scopes of the type.
* @example KEYS_EDIT,TRANSLATIONS_VIEW
Expand Down Expand Up @@ -1287,6 +1264,29 @@ export interface components {
| "tasks.view"
| "tasks.edit"
)[];
/**
* @description List of languages user can view. If null, all languages view is permitted.
* @example 200001,200004
*/
viewLanguageIds?: number[];
/**
* @description List of languages user can translate to. If null, all languages editing is permitted.
* @example 200001,200004
*/
translateLanguageIds?: number[];
/**
* @description List of languages user can change state to. If null, changing state of all language values is permitted.
* @example 200001,200004
*/
stateChangeLanguageIds?: number[];
/**
* @deprecated
* @description Deprecated (use translateLanguageIds).
*
* List of languages current user has TRANSLATE permission to. If null, all languages edition is permitted.
* @example 200001,200004
*/
permittedLanguageIds?: number[];
};
LanguageModel: {
/** Format: int64 */
Expand Down Expand Up @@ -1953,8 +1953,8 @@ export interface components {
secretKey?: string;
endpoint: string;
signingRegion: string;
contentStorageType?: "S3" | "AZURE";
enabled?: boolean;
contentStorageType?: "S3" | "AZURE";
};
AzureContentStorageConfigModel: {
containerName?: string;
Expand Down Expand Up @@ -2018,7 +2018,8 @@ export interface components {
| "YAML"
| "JSON_I18NEXT"
| "CSV"
| "RESX_ICU";
| "RESX_ICU"
| "XLSX";
/**
* @description Delimiter to structure file content.
*
Expand Down Expand Up @@ -2121,7 +2122,8 @@ export interface components {
| "YAML"
| "JSON_I18NEXT"
| "CSV"
| "RESX_ICU";
| "RESX_ICU"
| "XLSX";
/**
* @description Delimiter to structure file content.
*
Expand Down Expand Up @@ -2233,12 +2235,12 @@ export interface components {
createNewKeys: boolean;
};
ImportSettingsModel: {
/** @description If false, only updates keys, skipping the creation of new keys */
createNewKeys: boolean;
/** @description If true, placeholders from other formats will be converted to ICU when possible */
convertPlaceholdersToIcu: boolean;
/** @description If true, key descriptions will be overridden by the import */
overrideKeyDescriptions: boolean;
/** @description If false, only updates keys, skipping the creation of new keys */
createNewKeys: boolean;
};
TranslationCommentModel: {
/**
Expand Down Expand Up @@ -2565,17 +2567,17 @@ export interface components {
key: string;
/** Format: int64 */
id: number;
userFullName?: string;
description: string;
username?: string;
/** Format: int64 */
projectId: number;
/** Format: int64 */
lastUsedAt?: number;
/** Format: int64 */
expiresAt?: number;
projectId: number;
scopes: string[];
/** Format: int64 */
expiresAt?: number;
projectName: string;
userFullName?: string;
};
SuperTokenRequest: {
/** @description Has to be provided when TOTP enabled */
Expand Down Expand Up @@ -3334,7 +3336,11 @@ export interface components {
| "XLIFF_JAVA"
| "XLIFF_PHP"
| "XLIFF_RUBY"
| "RESX_ICU";
| "RESX_ICU"
| "XLSX_ICU"
| "XLSX_JAVA"
| "XLSX_PHP"
| "XLSX_RUBY";
/**
* @description The existing language tag in the Tolgee platform to which the imported language should be mapped.
*
Expand Down Expand Up @@ -3471,7 +3477,8 @@ export interface components {
| "YAML"
| "JSON_I18NEXT"
| "CSV"
| "RESX_ICU";
| "RESX_ICU"
| "XLSX";
/**
* @description Delimiter to structure file content.
*
Expand Down Expand Up @@ -3874,18 +3881,18 @@ export interface components {
name: string;
/** Format: int64 */
id: number;
/** @example This is a beautiful organization full of beautiful and clever people */
description?: string;
avatar?: components["schemas"]["Avatar"];
/** @example btforg */
slug: string;
basePermissions: components["schemas"]["PermissionModel"];
/**
* @description The role of currently authorized user.
*
* Can be null when user has direct access to one of the projects owned by the organization.
*/
currentUserRole?: "MEMBER" | "OWNER";
basePermissions: components["schemas"]["PermissionModel"];
/** @example This is a beautiful organization full of beautiful and clever people */
description?: string;
avatar?: components["schemas"]["Avatar"];
/** @example btforg */
slug: string;
};
PublicBillingConfigurationDTO: {
enabled: boolean;
Expand Down Expand Up @@ -3956,7 +3963,8 @@ export interface components {
| "YAML"
| "JSON_I18NEXT"
| "CSV"
| "RESX_ICU";
| "RESX_ICU"
| "XLSX";
extension: string;
mediaType: string;
defaultFileStructureTemplate: string;
Expand Down Expand Up @@ -4062,20 +4070,20 @@ export interface components {
name: string;
/** Format: int64 */
id: number;
baseTranslation?: string;
translation?: string;
namespace?: string;
description?: string;
baseTranslation?: string;
};
KeySearchSearchResultModel: {
view?: components["schemas"]["KeySearchResultView"];
name: string;
/** Format: int64 */
id: number;
baseTranslation?: string;
translation?: string;
namespace?: string;
description?: string;
baseTranslation?: string;
};
PagedModelKeySearchSearchResultModel: {
_embedded?: {
Expand Down Expand Up @@ -4803,17 +4811,17 @@ export interface components {
permittedLanguageIds?: number[];
/** Format: int64 */
id: number;
userFullName?: string;
description: string;
username?: string;
/** Format: int64 */
projectId: number;
/** Format: int64 */
lastUsedAt?: number;
/** Format: int64 */
expiresAt?: number;
projectId: number;
scopes: string[];
/** Format: int64 */
expiresAt?: number;
projectName: string;
userFullName?: string;
};
PagedModelUserAccountModel: {
_embedded?: {
Expand Down Expand Up @@ -11640,8 +11648,8 @@ export interface operations {
filterAgency?: number[];
/** Exclude "done" tasks which are older than specified timestamp */
filterDoneMinClosedAt?: number;
/** Exclude tasks closed before timestamp */
excludeClosedBefore?: number;
/** Exclude tasks which were closed before specified timestamp */
filterNotClosedBefore?: number;
/** Zero-based page index (0..N) */
page?: number;
/** The size of the page to be returned */
Expand Down Expand Up @@ -13091,7 +13099,8 @@ export interface operations {
| "YAML"
| "JSON_I18NEXT"
| "CSV"
| "RESX_ICU";
| "RESX_ICU"
| "XLSX";
/**
* Delimiter to structure file content.
*
Expand Down Expand Up @@ -14696,8 +14705,8 @@ export interface operations {
filterAgency?: number[];
/** Exclude "done" tasks which are older than specified timestamp */
filterDoneMinClosedAt?: number;
/** Exclude tasks closed before timestamp */
excludeClosedBefore?: number;
/** Exclude tasks which were closed before specified timestamp */
filterNotClosedBefore?: number;
/** Zero-based page index (0..N) */
page?: number;
/** The size of the page to be returned */
Expand Down

0 comments on commit 03e5213

Please sign in to comment.