@incomy/platform-sdk 0.3.1-beta.0.3.1-beta.177 → 0.3.1-beta.0.3.1-beta.187
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.
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
export type ProjectSettings = {
|
|
2
2
|
bucketingEnabled?: boolean;
|
|
3
|
+
/**
|
|
4
|
+
* Whether the Companies feature is available for this project. Enabled by default; when
|
|
5
|
+
* disabled the frontend hides the Companies UI. Defaults to `true` so an omitted field
|
|
6
|
+
* deserializes to enabled rather than off.
|
|
7
|
+
*/
|
|
8
|
+
companiesEnabled?: boolean;
|
|
3
9
|
/**
|
|
4
10
|
* Currencies enabled for this project — a subset of the platform Incomy.Platform.Hub.Models.CurrencyCatalog.
|
|
5
11
|
* Operations, accruals and wallet defaults are restricted to this set.
|
|
@@ -5,6 +5,11 @@ export type User = {
|
|
|
5
5
|
firstName?: string | null;
|
|
6
6
|
lastName?: string | null;
|
|
7
7
|
avatar?: string | null;
|
|
8
|
+
/**
|
|
9
|
+
* Preferred UI language as a lowercase ISO 639-1 code (e.g. "en", "pl").
|
|
10
|
+
* Null means the user has not chosen one; the client falls back to the browser language.
|
|
11
|
+
*/
|
|
12
|
+
language?: string | null;
|
|
8
13
|
identities?: Array<UserIdentity> | null;
|
|
9
14
|
readonly name?: string | null;
|
|
10
15
|
};
|