@knowledge-stack/ksapi 1.66.3 → 1.68.0

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.66.3
1
+ # @knowledge-stack/ksapi@1.68.0
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -385,7 +385,7 @@ and is automatically generated by the
385
385
  [OpenAPI Generator](https://openapi-generator.tech) project:
386
386
 
387
387
  - API version: `0.1.0`
388
- - Package version: `1.66.3`
388
+ - Package version: `1.68.0`
389
389
  - Generator version: `7.21.0`
390
390
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
391
391
 
@@ -28,6 +28,12 @@ export interface TenantSettingsResponse {
28
28
  * @memberof TenantSettingsResponse
29
29
  */
30
30
  description: string;
31
+ /**
32
+ * IANA timezone (e.g. 'America/New_York')
33
+ * @type {string}
34
+ * @memberof TenantSettingsResponse
35
+ */
36
+ timezone: string;
31
37
  }
32
38
  export declare const TenantSettingsResponsePropertyValidationAttributesMap: {
33
39
  [property: string]: {
@@ -21,6 +21,8 @@ export function instanceOfTenantSettingsResponse(value) {
21
21
  return false;
22
22
  if (!('description' in value) || value['description'] === undefined)
23
23
  return false;
24
+ if (!('timezone' in value) || value['timezone'] === undefined)
25
+ return false;
24
26
  return true;
25
27
  }
26
28
  export function TenantSettingsResponseFromJSON(json) {
@@ -33,6 +35,7 @@ export function TenantSettingsResponseFromJSONTyped(json, ignoreDiscriminator) {
33
35
  return {
34
36
  'language': SupportedLanguageFromJSON(json['language']),
35
37
  'description': json['description'],
38
+ 'timezone': json['timezone'],
36
39
  };
37
40
  }
38
41
  export function TenantSettingsResponseToJSON(json) {
@@ -45,5 +48,6 @@ export function TenantSettingsResponseToJSONTyped(value, ignoreDiscriminator = f
45
48
  return {
46
49
  'language': SupportedLanguageToJSON(value['language']),
47
50
  'description': value['description'],
51
+ 'timezone': value['timezone'],
48
52
  };
49
53
  }
@@ -28,6 +28,12 @@ export interface TenantSettingsUpdate {
28
28
  * @memberof TenantSettingsUpdate
29
29
  */
30
30
  description?: string | null;
31
+ /**
32
+ * IANA timezone (e.g. 'America/New_York')
33
+ * @type {string}
34
+ * @memberof TenantSettingsUpdate
35
+ */
36
+ timezone?: string | null;
31
37
  /**
32
38
  * Custom brand name for logo
33
39
  * @type {string}
@@ -29,6 +29,7 @@ export function TenantSettingsUpdateFromJSONTyped(json, ignoreDiscriminator) {
29
29
  return {
30
30
  'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
31
31
  'description': json['description'] == null ? undefined : json['description'],
32
+ 'timezone': json['timezone'] == null ? undefined : json['timezone'],
32
33
  'brandName': json['brand_name'] == null ? undefined : json['brand_name'],
33
34
  'brandColor': json['brand_color'] == null ? undefined : json['brand_color'],
34
35
  'themeOverrides': json['theme_overrides'] == null ? undefined : json['theme_overrides'],
@@ -44,6 +45,7 @@ export function TenantSettingsUpdateToJSONTyped(value, ignoreDiscriminator = fal
44
45
  return {
45
46
  'language': SupportedLanguageToJSON(value['language']),
46
47
  'description': value['description'],
48
+ 'timezone': value['timezone'],
47
49
  'brand_name': value['brandName'],
48
50
  'brand_color': value['brandColor'],
49
51
  'theme_overrides': value['themeOverrides'],
@@ -28,6 +28,12 @@ export interface TenantSettingsResponse {
28
28
  * @memberof TenantSettingsResponse
29
29
  */
30
30
  description: string;
31
+ /**
32
+ * IANA timezone (e.g. 'America/New_York')
33
+ * @type {string}
34
+ * @memberof TenantSettingsResponse
35
+ */
36
+ timezone: string;
31
37
  }
32
38
  export declare const TenantSettingsResponsePropertyValidationAttributesMap: {
33
39
  [property: string]: {
@@ -29,6 +29,8 @@ function instanceOfTenantSettingsResponse(value) {
29
29
  return false;
30
30
  if (!('description' in value) || value['description'] === undefined)
31
31
  return false;
32
+ if (!('timezone' in value) || value['timezone'] === undefined)
33
+ return false;
32
34
  return true;
33
35
  }
34
36
  function TenantSettingsResponseFromJSON(json) {
@@ -41,6 +43,7 @@ function TenantSettingsResponseFromJSONTyped(json, ignoreDiscriminator) {
41
43
  return {
42
44
  'language': (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
43
45
  'description': json['description'],
46
+ 'timezone': json['timezone'],
44
47
  };
45
48
  }
46
49
  function TenantSettingsResponseToJSON(json) {
@@ -53,5 +56,6 @@ function TenantSettingsResponseToJSONTyped(value, ignoreDiscriminator = false) {
53
56
  return {
54
57
  'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
55
58
  'description': value['description'],
59
+ 'timezone': value['timezone'],
56
60
  };
57
61
  }
@@ -28,6 +28,12 @@ export interface TenantSettingsUpdate {
28
28
  * @memberof TenantSettingsUpdate
29
29
  */
30
30
  description?: string | null;
31
+ /**
32
+ * IANA timezone (e.g. 'America/New_York')
33
+ * @type {string}
34
+ * @memberof TenantSettingsUpdate
35
+ */
36
+ timezone?: string | null;
31
37
  /**
32
38
  * Custom brand name for logo
33
39
  * @type {string}
@@ -37,6 +37,7 @@ function TenantSettingsUpdateFromJSONTyped(json, ignoreDiscriminator) {
37
37
  return {
38
38
  'language': json['language'] == null ? undefined : (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
39
39
  'description': json['description'] == null ? undefined : json['description'],
40
+ 'timezone': json['timezone'] == null ? undefined : json['timezone'],
40
41
  'brandName': json['brand_name'] == null ? undefined : json['brand_name'],
41
42
  'brandColor': json['brand_color'] == null ? undefined : json['brand_color'],
42
43
  'themeOverrides': json['theme_overrides'] == null ? undefined : json['theme_overrides'],
@@ -52,6 +53,7 @@ function TenantSettingsUpdateToJSONTyped(value, ignoreDiscriminator = false) {
52
53
  return {
53
54
  'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
54
55
  'description': value['description'],
56
+ 'timezone': value['timezone'],
55
57
  'brand_name': value['brandName'],
56
58
  'brand_color': value['brandColor'],
57
59
  'theme_overrides': value['themeOverrides'],
@@ -9,6 +9,7 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `language` | [SupportedLanguage](SupportedLanguage.md)
11
11
  `description` | string
12
+ `timezone` | string
12
13
 
13
14
  ## Example
14
15
 
@@ -19,6 +20,7 @@ import type { TenantSettingsResponse } from '@knowledge-stack/ksapi'
19
20
  const example = {
20
21
  "language": null,
21
22
  "description": null,
23
+ "timezone": null,
22
24
  } satisfies TenantSettingsResponse
23
25
 
24
26
  console.log(example)
@@ -9,6 +9,7 @@ Name | Type
9
9
  ------------ | -------------
10
10
  `language` | [SupportedLanguage](SupportedLanguage.md)
11
11
  `description` | string
12
+ `timezone` | string
12
13
  `brandName` | string
13
14
  `brandColor` | string
14
15
  `themeOverrides` | { [key: string]: string; }
@@ -22,6 +23,7 @@ import type { TenantSettingsUpdate } from '@knowledge-stack/ksapi'
22
23
  const example = {
23
24
  "language": null,
24
25
  "description": null,
26
+ "timezone": null,
25
27
  "brandName": null,
26
28
  "brandColor": null,
27
29
  "themeOverrides": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.66.3",
3
+ "version": "1.68.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -39,6 +39,12 @@ export interface TenantSettingsResponse {
39
39
  * @memberof TenantSettingsResponse
40
40
  */
41
41
  description: string;
42
+ /**
43
+ * IANA timezone (e.g. 'America/New_York')
44
+ * @type {string}
45
+ * @memberof TenantSettingsResponse
46
+ */
47
+ timezone: string;
42
48
  }
43
49
 
44
50
 
@@ -66,6 +72,7 @@ export const TenantSettingsResponsePropertyValidationAttributesMap: {
66
72
  export function instanceOfTenantSettingsResponse(value: object): value is TenantSettingsResponse {
67
73
  if (!('language' in value) || value['language'] === undefined) return false;
68
74
  if (!('description' in value) || value['description'] === undefined) return false;
75
+ if (!('timezone' in value) || value['timezone'] === undefined) return false;
69
76
  return true;
70
77
  }
71
78
 
@@ -81,6 +88,7 @@ export function TenantSettingsResponseFromJSONTyped(json: any, ignoreDiscriminat
81
88
 
82
89
  'language': SupportedLanguageFromJSON(json['language']),
83
90
  'description': json['description'],
91
+ 'timezone': json['timezone'],
84
92
  };
85
93
  }
86
94
 
@@ -97,6 +105,7 @@ export function TenantSettingsResponseToJSONTyped(value?: TenantSettingsResponse
97
105
 
98
106
  'language': SupportedLanguageToJSON(value['language']),
99
107
  'description': value['description'],
108
+ 'timezone': value['timezone'],
100
109
  };
101
110
  }
102
111
 
@@ -39,6 +39,12 @@ export interface TenantSettingsUpdate {
39
39
  * @memberof TenantSettingsUpdate
40
40
  */
41
41
  description?: string | null;
42
+ /**
43
+ * IANA timezone (e.g. 'America/New_York')
44
+ * @type {string}
45
+ * @memberof TenantSettingsUpdate
46
+ */
47
+ timezone?: string | null;
42
48
  /**
43
49
  * Custom brand name for logo
44
50
  * @type {string}
@@ -97,6 +103,7 @@ export function TenantSettingsUpdateFromJSONTyped(json: any, ignoreDiscriminator
97
103
 
98
104
  'language': json['language'] == null ? undefined : SupportedLanguageFromJSON(json['language']),
99
105
  'description': json['description'] == null ? undefined : json['description'],
106
+ 'timezone': json['timezone'] == null ? undefined : json['timezone'],
100
107
  'brandName': json['brand_name'] == null ? undefined : json['brand_name'],
101
108
  'brandColor': json['brand_color'] == null ? undefined : json['brand_color'],
102
109
  'themeOverrides': json['theme_overrides'] == null ? undefined : json['theme_overrides'],
@@ -116,6 +123,7 @@ export function TenantSettingsUpdateToJSONTyped(value?: TenantSettingsUpdate | n
116
123
 
117
124
  'language': SupportedLanguageToJSON(value['language']),
118
125
  'description': value['description'],
126
+ 'timezone': value['timezone'],
119
127
  'brand_name': value['brandName'],
120
128
  'brand_color': value['brandColor'],
121
129
  'theme_overrides': value['themeOverrides'],