@knowledge-stack/ksapi 1.44.1 → 1.44.2
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.
- package/README.md +2 -2
- package/dist/esm/models/TenantSettings.d.ts +6 -0
- package/dist/esm/models/TenantSettings.js +2 -0
- package/dist/esm/models/TenantSettingsUpdate.d.ts +6 -0
- package/dist/esm/models/TenantSettingsUpdate.js +2 -0
- package/dist/models/TenantSettings.d.ts +6 -0
- package/dist/models/TenantSettings.js +2 -0
- package/dist/models/TenantSettingsUpdate.d.ts +6 -0
- package/dist/models/TenantSettingsUpdate.js +2 -0
- package/docs/TenantSettings.md +2 -0
- package/docs/TenantSettingsUpdate.md +2 -0
- package/package.json +1 -1
- package/src/models/TenantSettings.ts +8 -0
- package/src/models/TenantSettingsUpdate.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.44.
|
|
1
|
+
# @knowledge-stack/ksapi@1.44.2
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -287,7 +287,7 @@ and is automatically generated by the
|
|
|
287
287
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
288
288
|
|
|
289
289
|
- API version: `0.1.0`
|
|
290
|
-
- Package version: `1.44.
|
|
290
|
+
- Package version: `1.44.2`
|
|
291
291
|
- Generator version: `7.20.0`
|
|
292
292
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
293
293
|
|
|
@@ -22,6 +22,12 @@ export interface TenantSettings {
|
|
|
22
22
|
* @memberof TenantSettings
|
|
23
23
|
*/
|
|
24
24
|
language?: SupportedLanguage;
|
|
25
|
+
/**
|
|
26
|
+
* Tenant description
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TenantSettings
|
|
29
|
+
*/
|
|
30
|
+
description?: string;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Check if a given object implements the TenantSettings interface.
|
|
@@ -27,6 +27,7 @@ export function TenantSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
29
|
'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
|
|
30
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export function TenantSettingsToJSON(json) {
|
|
@@ -38,6 +39,7 @@ export function TenantSettingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'language': SupportedLanguageToJSON(value['language']),
|
|
42
|
+
'description': value['description'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
export const TenantSettingsPropertyValidationAttributesMap = {};
|
|
@@ -22,6 +22,12 @@ export interface TenantSettingsUpdate {
|
|
|
22
22
|
* @memberof TenantSettingsUpdate
|
|
23
23
|
*/
|
|
24
24
|
language?: SupportedLanguage;
|
|
25
|
+
/**
|
|
26
|
+
* Tenant description
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TenantSettingsUpdate
|
|
29
|
+
*/
|
|
30
|
+
description?: string | null;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Check if a given object implements the TenantSettingsUpdate interface.
|
|
@@ -27,6 +27,7 @@ export function TenantSettingsUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
29
|
'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
|
|
30
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export function TenantSettingsUpdateToJSON(json) {
|
|
@@ -38,6 +39,7 @@ export function TenantSettingsUpdateToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
38
39
|
}
|
|
39
40
|
return {
|
|
40
41
|
'language': SupportedLanguageToJSON(value['language']),
|
|
42
|
+
'description': value['description'],
|
|
41
43
|
};
|
|
42
44
|
}
|
|
43
45
|
export const TenantSettingsUpdatePropertyValidationAttributesMap = {};
|
|
@@ -22,6 +22,12 @@ export interface TenantSettings {
|
|
|
22
22
|
* @memberof TenantSettings
|
|
23
23
|
*/
|
|
24
24
|
language?: SupportedLanguage;
|
|
25
|
+
/**
|
|
26
|
+
* Tenant description
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TenantSettings
|
|
29
|
+
*/
|
|
30
|
+
description?: string;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Check if a given object implements the TenantSettings interface.
|
|
@@ -35,6 +35,7 @@ function TenantSettingsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'language': json['language'] == null ? undefined : (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
|
|
38
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function TenantSettingsToJSON(json) {
|
|
@@ -46,6 +47,7 @@ function TenantSettingsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
49
|
'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
|
|
50
|
+
'description': value['description'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
exports.TenantSettingsPropertyValidationAttributesMap = {};
|
|
@@ -22,6 +22,12 @@ export interface TenantSettingsUpdate {
|
|
|
22
22
|
* @memberof TenantSettingsUpdate
|
|
23
23
|
*/
|
|
24
24
|
language?: SupportedLanguage;
|
|
25
|
+
/**
|
|
26
|
+
* Tenant description
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TenantSettingsUpdate
|
|
29
|
+
*/
|
|
30
|
+
description?: string | null;
|
|
25
31
|
}
|
|
26
32
|
/**
|
|
27
33
|
* Check if a given object implements the TenantSettingsUpdate interface.
|
|
@@ -35,6 +35,7 @@ function TenantSettingsUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'language': json['language'] == null ? undefined : (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
|
|
38
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function TenantSettingsUpdateToJSON(json) {
|
|
@@ -46,6 +47,7 @@ function TenantSettingsUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
46
47
|
}
|
|
47
48
|
return {
|
|
48
49
|
'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
|
|
50
|
+
'description': value['description'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
exports.TenantSettingsUpdatePropertyValidationAttributesMap = {};
|
package/docs/TenantSettings.md
CHANGED
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`language` | [SupportedLanguage](SupportedLanguage.md)
|
|
10
|
+
`description` | string
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import type { TenantSettings } from '@knowledge-stack/ksapi'
|
|
|
16
17
|
// TODO: Update the object below with actual values
|
|
17
18
|
const example = {
|
|
18
19
|
"language": null,
|
|
20
|
+
"description": null,
|
|
19
21
|
} satisfies TenantSettings
|
|
20
22
|
|
|
21
23
|
console.log(example)
|
|
@@ -8,6 +8,7 @@ Partial tenant settings update.
|
|
|
8
8
|
Name | Type
|
|
9
9
|
------------ | -------------
|
|
10
10
|
`language` | [SupportedLanguage](SupportedLanguage.md)
|
|
11
|
+
`description` | string
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -17,6 +18,7 @@ import type { TenantSettingsUpdate } from '@knowledge-stack/ksapi'
|
|
|
17
18
|
// TODO: Update the object below with actual values
|
|
18
19
|
const example = {
|
|
19
20
|
"language": null,
|
|
21
|
+
"description": null,
|
|
20
22
|
} satisfies TenantSettingsUpdate
|
|
21
23
|
|
|
22
24
|
console.log(example)
|
package/package.json
CHANGED
|
@@ -33,6 +33,12 @@ export interface TenantSettings {
|
|
|
33
33
|
* @memberof TenantSettings
|
|
34
34
|
*/
|
|
35
35
|
language?: SupportedLanguage;
|
|
36
|
+
/**
|
|
37
|
+
* Tenant description
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TenantSettings
|
|
40
|
+
*/
|
|
41
|
+
description?: string;
|
|
36
42
|
}
|
|
37
43
|
|
|
38
44
|
|
|
@@ -55,6 +61,7 @@ export function TenantSettingsFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
55
61
|
return {
|
|
56
62
|
|
|
57
63
|
'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
|
|
64
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
58
65
|
};
|
|
59
66
|
}
|
|
60
67
|
|
|
@@ -70,6 +77,7 @@ export function TenantSettingsToJSONTyped(value?: TenantSettings | null, ignoreD
|
|
|
70
77
|
return {
|
|
71
78
|
|
|
72
79
|
'language': SupportedLanguageToJSON(value['language']),
|
|
80
|
+
'description': value['description'],
|
|
73
81
|
};
|
|
74
82
|
}
|
|
75
83
|
|
|
@@ -33,6 +33,12 @@ export interface TenantSettingsUpdate {
|
|
|
33
33
|
* @memberof TenantSettingsUpdate
|
|
34
34
|
*/
|
|
35
35
|
language?: SupportedLanguage;
|
|
36
|
+
/**
|
|
37
|
+
* Tenant description
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TenantSettingsUpdate
|
|
40
|
+
*/
|
|
41
|
+
description?: string | null;
|
|
36
42
|
}
|
|
37
43
|
|
|
38
44
|
|
|
@@ -55,6 +61,7 @@ export function TenantSettingsUpdateFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
55
61
|
return {
|
|
56
62
|
|
|
57
63
|
'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
|
|
64
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
58
65
|
};
|
|
59
66
|
}
|
|
60
67
|
|
|
@@ -70,6 +77,7 @@ export function TenantSettingsUpdateToJSONTyped(value?: TenantSettingsUpdate | n
|
|
|
70
77
|
return {
|
|
71
78
|
|
|
72
79
|
'language': SupportedLanguageToJSON(value['language']),
|
|
80
|
+
'description': value['description'],
|
|
73
81
|
};
|
|
74
82
|
}
|
|
75
83
|
|