@knowledge-stack/ksapi 2.12.1 → 2.13.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@2.12.1
1
+ # @knowledge-stack/ksapi@2.13.0
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -725,7 +725,7 @@ and is automatically generated by the
725
725
  [OpenAPI Generator](https://openapi-generator.tech) project:
726
726
 
727
727
  - API version: `0.1.0`
728
- - Package version: `2.12.1`
728
+ - Package version: `2.13.0`
729
729
  - Generator version: `7.21.0`
730
730
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
731
731
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { DocumentType } from './DocumentType';
12
13
  import type { ReferenceType } from './ReferenceType';
13
14
  /**
14
15
  * A parsed reference enriched with display name and path from the database.
@@ -44,6 +45,12 @@ export interface ResolvedReferenceInput {
44
45
  * @memberof ResolvedReferenceInput
45
46
  */
46
47
  materializedPath?: string | null;
48
+ /**
49
+ *
50
+ * @type {DocumentType}
51
+ * @memberof ResolvedReferenceInput
52
+ */
53
+ documentType?: DocumentType;
47
54
  }
48
55
  export declare const ResolvedReferenceInputPropertyValidationAttributesMap: {
49
56
  [property: string]: {
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { DocumentTypeFromJSON, DocumentTypeToJSON, } from './DocumentType';
14
15
  import { ReferenceTypeFromJSON, ReferenceTypeToJSON, } from './ReferenceType';
15
16
  export const ResolvedReferenceInputPropertyValidationAttributesMap = {};
16
17
  /**
@@ -37,6 +38,7 @@ export function ResolvedReferenceInputFromJSONTyped(json, ignoreDiscriminator) {
37
38
  'entityId': json['entity_id'],
38
39
  'displayName': json['display_name'],
39
40
  'materializedPath': json['materialized_path'] == null ? undefined : json['materialized_path'],
41
+ 'documentType': json['document_type'] == null ? undefined : DocumentTypeFromJSON(json['document_type']),
40
42
  };
41
43
  }
42
44
  export function ResolvedReferenceInputToJSON(json) {
@@ -51,5 +53,6 @@ export function ResolvedReferenceInputToJSONTyped(value, ignoreDiscriminator = f
51
53
  'entity_id': value['entityId'],
52
54
  'display_name': value['displayName'],
53
55
  'materialized_path': value['materializedPath'],
56
+ 'document_type': DocumentTypeToJSON(value['documentType']),
54
57
  };
55
58
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { DocumentType } from './DocumentType';
12
13
  /**
13
14
  * A parsed reference enriched with display name and path from the database.
14
15
  *
@@ -43,6 +44,12 @@ export interface ResolvedReferenceOutput {
43
44
  * @memberof ResolvedReferenceOutput
44
45
  */
45
46
  materializedPath?: string | null;
47
+ /**
48
+ *
49
+ * @type {DocumentType}
50
+ * @memberof ResolvedReferenceOutput
51
+ */
52
+ documentType?: DocumentType;
46
53
  }
47
54
  export declare const ResolvedReferenceOutputPropertyValidationAttributesMap: {
48
55
  [property: string]: {
@@ -11,6 +11,7 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
+ import { DocumentTypeFromJSON, DocumentTypeToJSON, } from './DocumentType';
14
15
  export const ResolvedReferenceOutputPropertyValidationAttributesMap = {};
15
16
  /**
16
17
  * Check if a given object implements the ResolvedReferenceOutput interface.
@@ -36,6 +37,7 @@ export function ResolvedReferenceOutputFromJSONTyped(json, ignoreDiscriminator)
36
37
  'entityId': json['entity_id'],
37
38
  'displayName': json['display_name'],
38
39
  'materializedPath': json['materialized_path'] == null ? undefined : json['materialized_path'],
40
+ 'documentType': json['document_type'] == null ? undefined : DocumentTypeFromJSON(json['document_type']),
39
41
  };
40
42
  }
41
43
  export function ResolvedReferenceOutputToJSON(json) {
@@ -50,5 +52,6 @@ export function ResolvedReferenceOutputToJSONTyped(value, ignoreDiscriminator =
50
52
  'entity_id': value['entityId'],
51
53
  'display_name': value['displayName'],
52
54
  'materialized_path': value['materializedPath'],
55
+ 'document_type': DocumentTypeToJSON(value['documentType']),
53
56
  };
54
57
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { DocumentType } from './DocumentType';
12
13
  import type { ReferenceType } from './ReferenceType';
13
14
  /**
14
15
  * A parsed reference enriched with display name and path from the database.
@@ -44,6 +45,12 @@ export interface ResolvedReferenceInput {
44
45
  * @memberof ResolvedReferenceInput
45
46
  */
46
47
  materializedPath?: string | null;
48
+ /**
49
+ *
50
+ * @type {DocumentType}
51
+ * @memberof ResolvedReferenceInput
52
+ */
53
+ documentType?: DocumentType;
47
54
  }
48
55
  export declare const ResolvedReferenceInputPropertyValidationAttributesMap: {
49
56
  [property: string]: {
@@ -19,6 +19,7 @@ exports.ResolvedReferenceInputFromJSON = ResolvedReferenceInputFromJSON;
19
19
  exports.ResolvedReferenceInputFromJSONTyped = ResolvedReferenceInputFromJSONTyped;
20
20
  exports.ResolvedReferenceInputToJSON = ResolvedReferenceInputToJSON;
21
21
  exports.ResolvedReferenceInputToJSONTyped = ResolvedReferenceInputToJSONTyped;
22
+ const DocumentType_1 = require("./DocumentType");
22
23
  const ReferenceType_1 = require("./ReferenceType");
23
24
  exports.ResolvedReferenceInputPropertyValidationAttributesMap = {};
24
25
  /**
@@ -45,6 +46,7 @@ function ResolvedReferenceInputFromJSONTyped(json, ignoreDiscriminator) {
45
46
  'entityId': json['entity_id'],
46
47
  'displayName': json['display_name'],
47
48
  'materializedPath': json['materialized_path'] == null ? undefined : json['materialized_path'],
49
+ 'documentType': json['document_type'] == null ? undefined : (0, DocumentType_1.DocumentTypeFromJSON)(json['document_type']),
48
50
  };
49
51
  }
50
52
  function ResolvedReferenceInputToJSON(json) {
@@ -59,5 +61,6 @@ function ResolvedReferenceInputToJSONTyped(value, ignoreDiscriminator = false) {
59
61
  'entity_id': value['entityId'],
60
62
  'display_name': value['displayName'],
61
63
  'materialized_path': value['materializedPath'],
64
+ 'document_type': (0, DocumentType_1.DocumentTypeToJSON)(value['documentType']),
62
65
  };
63
66
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { DocumentType } from './DocumentType';
12
13
  /**
13
14
  * A parsed reference enriched with display name and path from the database.
14
15
  *
@@ -43,6 +44,12 @@ export interface ResolvedReferenceOutput {
43
44
  * @memberof ResolvedReferenceOutput
44
45
  */
45
46
  materializedPath?: string | null;
47
+ /**
48
+ *
49
+ * @type {DocumentType}
50
+ * @memberof ResolvedReferenceOutput
51
+ */
52
+ documentType?: DocumentType;
46
53
  }
47
54
  export declare const ResolvedReferenceOutputPropertyValidationAttributesMap: {
48
55
  [property: string]: {
@@ -19,6 +19,7 @@ exports.ResolvedReferenceOutputFromJSON = ResolvedReferenceOutputFromJSON;
19
19
  exports.ResolvedReferenceOutputFromJSONTyped = ResolvedReferenceOutputFromJSONTyped;
20
20
  exports.ResolvedReferenceOutputToJSON = ResolvedReferenceOutputToJSON;
21
21
  exports.ResolvedReferenceOutputToJSONTyped = ResolvedReferenceOutputToJSONTyped;
22
+ const DocumentType_1 = require("./DocumentType");
22
23
  exports.ResolvedReferenceOutputPropertyValidationAttributesMap = {};
23
24
  /**
24
25
  * Check if a given object implements the ResolvedReferenceOutput interface.
@@ -44,6 +45,7 @@ function ResolvedReferenceOutputFromJSONTyped(json, ignoreDiscriminator) {
44
45
  'entityId': json['entity_id'],
45
46
  'displayName': json['display_name'],
46
47
  'materializedPath': json['materialized_path'] == null ? undefined : json['materialized_path'],
48
+ 'documentType': json['document_type'] == null ? undefined : (0, DocumentType_1.DocumentTypeFromJSON)(json['document_type']),
47
49
  };
48
50
  }
49
51
  function ResolvedReferenceOutputToJSON(json) {
@@ -58,5 +60,6 @@ function ResolvedReferenceOutputToJSONTyped(value, ignoreDiscriminator = false)
58
60
  'entity_id': value['entityId'],
59
61
  'display_name': value['displayName'],
60
62
  'materialized_path': value['materializedPath'],
63
+ 'document_type': (0, DocumentType_1.DocumentTypeToJSON)(value['documentType']),
61
64
  };
62
65
  }
@@ -11,6 +11,7 @@ Name | Type
11
11
  `entityId` | string
12
12
  `displayName` | string
13
13
  `materializedPath` | string
14
+ `documentType` | [DocumentType](DocumentType.md)
14
15
 
15
16
  ## Example
16
17
 
@@ -23,6 +24,7 @@ const example = {
23
24
  "entityId": null,
24
25
  "displayName": null,
25
26
  "materializedPath": null,
27
+ "documentType": null,
26
28
  } satisfies ResolvedReferenceInput
27
29
 
28
30
  console.log(example)
@@ -11,6 +11,7 @@ Name | Type
11
11
  `entityId` | string
12
12
  `displayName` | string
13
13
  `materializedPath` | string
14
+ `documentType` | [DocumentType](DocumentType.md)
14
15
 
15
16
  ## Example
16
17
 
@@ -23,6 +24,7 @@ const example = {
23
24
  "entityId": null,
24
25
  "displayName": null,
25
26
  "materializedPath": null,
27
+ "documentType": null,
26
28
  } satisfies ResolvedReferenceOutput
27
29
 
28
30
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "2.12.1",
3
+ "version": "2.13.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { DocumentType } from './DocumentType';
17
+ import {
18
+ DocumentTypeFromJSON,
19
+ DocumentTypeFromJSONTyped,
20
+ DocumentTypeToJSON,
21
+ DocumentTypeToJSONTyped,
22
+ } from './DocumentType';
16
23
  import type { ReferenceType } from './ReferenceType';
17
24
  import {
18
25
  ReferenceTypeFromJSON,
@@ -55,6 +62,12 @@ export interface ResolvedReferenceInput {
55
62
  * @memberof ResolvedReferenceInput
56
63
  */
57
64
  materializedPath?: string | null;
65
+ /**
66
+ *
67
+ * @type {DocumentType}
68
+ * @memberof ResolvedReferenceInput
69
+ */
70
+ documentType?: DocumentType;
58
71
  }
59
72
 
60
73
 
@@ -100,6 +113,7 @@ export function ResolvedReferenceInputFromJSONTyped(json: any, ignoreDiscriminat
100
113
  'entityId': json['entity_id'],
101
114
  'displayName': json['display_name'],
102
115
  'materializedPath': json['materialized_path'] == null ? undefined : json['materialized_path'],
116
+ 'documentType': json['document_type'] == null ? undefined : DocumentTypeFromJSON(json['document_type']),
103
117
  };
104
118
  }
105
119
 
@@ -118,6 +132,7 @@ export function ResolvedReferenceInputToJSONTyped(value?: ResolvedReferenceInput
118
132
  'entity_id': value['entityId'],
119
133
  'display_name': value['displayName'],
120
134
  'materialized_path': value['materializedPath'],
135
+ 'document_type': DocumentTypeToJSON(value['documentType']),
121
136
  };
122
137
  }
123
138
 
@@ -13,6 +13,14 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { DocumentType } from './DocumentType';
17
+ import {
18
+ DocumentTypeFromJSON,
19
+ DocumentTypeFromJSONTyped,
20
+ DocumentTypeToJSON,
21
+ DocumentTypeToJSONTyped,
22
+ } from './DocumentType';
23
+
16
24
  /**
17
25
  * A parsed reference enriched with display name and path from the database.
18
26
  *
@@ -47,7 +55,15 @@ export interface ResolvedReferenceOutput {
47
55
  * @memberof ResolvedReferenceOutput
48
56
  */
49
57
  materializedPath?: string | null;
58
+ /**
59
+ *
60
+ * @type {DocumentType}
61
+ * @memberof ResolvedReferenceOutput
62
+ */
63
+ documentType?: DocumentType;
50
64
  }
65
+
66
+
51
67
  export const ResolvedReferenceOutputPropertyValidationAttributesMap: {
52
68
  [property: string]: {
53
69
  maxLength?: number,
@@ -90,6 +106,7 @@ export function ResolvedReferenceOutputFromJSONTyped(json: any, ignoreDiscrimina
90
106
  'entityId': json['entity_id'],
91
107
  'displayName': json['display_name'],
92
108
  'materializedPath': json['materialized_path'] == null ? undefined : json['materialized_path'],
109
+ 'documentType': json['document_type'] == null ? undefined : DocumentTypeFromJSON(json['document_type']),
93
110
  };
94
111
  }
95
112
 
@@ -108,6 +125,7 @@ export function ResolvedReferenceOutputToJSONTyped(value?: ResolvedReferenceOutp
108
125
  'entity_id': value['entityId'],
109
126
  'display_name': value['displayName'],
110
127
  'materialized_path': value['materializedPath'],
128
+ 'document_type': DocumentTypeToJSON(value['documentType']),
111
129
  };
112
130
  }
113
131