@knowledge-stack/ksapi 1.20.0 → 1.20.1

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.
Files changed (217) hide show
  1. package/.openapi-generator/FILES +1 -1
  2. package/README.md +2 -2
  3. package/dist/apis/AuthApi.d.ts +9 -9
  4. package/dist/apis/ChunkLineagesApi.d.ts +3 -3
  5. package/dist/apis/ChunksApi.d.ts +6 -6
  6. package/dist/apis/DocumentVersionsApi.d.ts +8 -8
  7. package/dist/apis/DocumentsApi.d.ts +12 -12
  8. package/dist/apis/DocumentsApi.js +2 -2
  9. package/dist/apis/FoldersApi.d.ts +11 -11
  10. package/dist/apis/FoldersApi.js +2 -2
  11. package/dist/apis/InvitesApi.d.ts +5 -5
  12. package/dist/apis/PathPartsApi.d.ts +3 -3
  13. package/dist/apis/SectionsApi.d.ts +4 -4
  14. package/dist/apis/TagsApi.d.ts +7 -7
  15. package/dist/apis/TenantsApi.d.ts +6 -6
  16. package/dist/apis/ThreadMessagesApi.d.ts +4 -4
  17. package/dist/apis/ThreadsApi.d.ts +6 -6
  18. package/dist/apis/UserPermissionsApi.d.ts +4 -4
  19. package/dist/apis/UsersApi.d.ts +2 -2
  20. package/dist/apis/WorkflowsApi.d.ts +3 -3
  21. package/dist/esm/apis/AuthApi.d.ts +9 -9
  22. package/dist/esm/apis/ChunkLineagesApi.d.ts +3 -3
  23. package/dist/esm/apis/ChunksApi.d.ts +6 -6
  24. package/dist/esm/apis/DocumentVersionsApi.d.ts +8 -8
  25. package/dist/esm/apis/DocumentsApi.d.ts +12 -12
  26. package/dist/esm/apis/DocumentsApi.js +2 -2
  27. package/dist/esm/apis/FoldersApi.d.ts +11 -11
  28. package/dist/esm/apis/FoldersApi.js +2 -2
  29. package/dist/esm/apis/InvitesApi.d.ts +5 -5
  30. package/dist/esm/apis/PathPartsApi.d.ts +3 -3
  31. package/dist/esm/apis/SectionsApi.d.ts +4 -4
  32. package/dist/esm/apis/TagsApi.d.ts +7 -7
  33. package/dist/esm/apis/TenantsApi.d.ts +6 -6
  34. package/dist/esm/apis/ThreadMessagesApi.d.ts +4 -4
  35. package/dist/esm/apis/ThreadsApi.d.ts +6 -6
  36. package/dist/esm/apis/UserPermissionsApi.d.ts +4 -4
  37. package/dist/esm/apis/UsersApi.d.ts +2 -2
  38. package/dist/esm/apis/WorkflowsApi.d.ts +3 -3
  39. package/dist/esm/models/ChunkMetadataInput.d.ts +1 -1
  40. package/dist/esm/models/ChunkMetadataOutput.d.ts +1 -1
  41. package/dist/esm/models/ChunkResponse.d.ts +4 -4
  42. package/dist/esm/models/ChunkSearchRequest.d.ts +5 -9
  43. package/dist/esm/models/ChunkSearchRequest.js +0 -1
  44. package/dist/esm/models/CreateChunkRequest.d.ts +3 -3
  45. package/dist/esm/models/CreateDocumentRequest.d.ts +2 -2
  46. package/dist/esm/models/CreateSectionRequest.d.ts +2 -2
  47. package/dist/esm/models/CreateTagRequest.d.ts +1 -1
  48. package/dist/esm/models/CreateTenantRequest.d.ts +1 -1
  49. package/dist/esm/models/CreateThreadMessageRequest.d.ts +5 -7
  50. package/dist/esm/models/CreateThreadMessageRequest.js +0 -1
  51. package/dist/esm/models/CreateThreadRequest.d.ts +1 -1
  52. package/dist/esm/models/DocumentContentPathPart.d.ts +5 -5
  53. package/dist/esm/models/DocumentResponse.d.ts +4 -4
  54. package/dist/esm/models/DocumentVersionMetadata.d.ts +12 -7
  55. package/dist/esm/models/DocumentVersionMetadata.js +3 -18
  56. package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +6 -6
  57. package/dist/esm/models/DocumentVersionResponse.d.ts +3 -3
  58. package/dist/esm/models/FolderDocumentResponse.d.ts +9 -9
  59. package/dist/esm/models/FolderResponse.d.ts +1 -1
  60. package/dist/esm/models/InviteResponse.d.ts +2 -2
  61. package/dist/esm/models/LineageNodeResponse.d.ts +2 -2
  62. package/dist/esm/models/LocationInner.d.ts +41 -0
  63. package/dist/esm/models/LocationInner.js +32 -0
  64. package/dist/esm/models/OAuth2Config.d.ts +5 -0
  65. package/dist/esm/models/OAuth2Config.js +3 -12
  66. package/dist/esm/models/PathPartResponse.d.ts +3 -3
  67. package/dist/esm/models/PipelineState.d.ts +5 -5
  68. package/dist/esm/models/PolygonReference.d.ts +1 -1
  69. package/dist/esm/models/ScoredChunkResponse.d.ts +4 -4
  70. package/dist/esm/models/SectionResponse.d.ts +3 -3
  71. package/dist/esm/models/SignInRequest.d.ts +1 -1
  72. package/dist/esm/models/TagResponse.d.ts +1 -1
  73. package/dist/esm/models/TenantResponse.d.ts +1 -1
  74. package/dist/esm/models/TenantUserInTenantResponse.d.ts +2 -2
  75. package/dist/esm/models/ThreadMessageResponse.d.ts +5 -7
  76. package/dist/esm/models/ThreadMessageResponse.js +0 -1
  77. package/dist/esm/models/ThreadResponse.d.ts +1 -1
  78. package/dist/esm/models/UpdateChunkContentRequest.d.ts +1 -1
  79. package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +1 -1
  80. package/dist/esm/models/UpdateDocumentRequest.d.ts +3 -3
  81. package/dist/esm/models/UpdateFolderRequest.d.ts +2 -2
  82. package/dist/esm/models/UpdatePermissionRequest.d.ts +1 -1
  83. package/dist/esm/models/UpdateSectionRequest.d.ts +3 -3
  84. package/dist/esm/models/UpdateTagRequest.d.ts +3 -3
  85. package/dist/esm/models/UpdateTenantRequest.d.ts +2 -2
  86. package/dist/esm/models/UpdateThreadRequest.d.ts +2 -2
  87. package/dist/esm/models/UserResponse.d.ts +3 -3
  88. package/dist/esm/models/ValidationError.d.ts +3 -3
  89. package/dist/esm/models/ValidationError.js +3 -3
  90. package/dist/esm/models/WorkflowDetailResponse.d.ts +4 -4
  91. package/dist/esm/models/WorkflowSummaryResponse.d.ts +2 -2
  92. package/dist/esm/models/index.d.ts +1 -1
  93. package/dist/esm/models/index.js +1 -1
  94. package/dist/models/ChunkMetadataInput.d.ts +1 -1
  95. package/dist/models/ChunkMetadataOutput.d.ts +1 -1
  96. package/dist/models/ChunkResponse.d.ts +4 -4
  97. package/dist/models/ChunkSearchRequest.d.ts +5 -9
  98. package/dist/models/ChunkSearchRequest.js +1 -2
  99. package/dist/models/CreateChunkRequest.d.ts +3 -3
  100. package/dist/models/CreateDocumentRequest.d.ts +2 -2
  101. package/dist/models/CreateSectionRequest.d.ts +2 -2
  102. package/dist/models/CreateTagRequest.d.ts +1 -1
  103. package/dist/models/CreateTenantRequest.d.ts +1 -1
  104. package/dist/models/CreateThreadMessageRequest.d.ts +5 -7
  105. package/dist/models/CreateThreadMessageRequest.js +1 -2
  106. package/dist/models/CreateThreadRequest.d.ts +1 -1
  107. package/dist/models/DocumentContentPathPart.d.ts +5 -5
  108. package/dist/models/DocumentResponse.d.ts +4 -4
  109. package/dist/models/DocumentVersionMetadata.d.ts +12 -7
  110. package/dist/models/DocumentVersionMetadata.js +4 -19
  111. package/dist/models/DocumentVersionMetadataUpdate.d.ts +6 -6
  112. package/dist/models/DocumentVersionResponse.d.ts +3 -3
  113. package/dist/models/FolderDocumentResponse.d.ts +9 -9
  114. package/dist/models/FolderResponse.d.ts +1 -1
  115. package/dist/models/InviteResponse.d.ts +2 -2
  116. package/dist/models/LineageNodeResponse.d.ts +2 -2
  117. package/dist/models/LocationInner.d.ts +41 -0
  118. package/dist/models/LocationInner.js +40 -0
  119. package/dist/models/OAuth2Config.d.ts +5 -0
  120. package/dist/models/OAuth2Config.js +4 -13
  121. package/dist/models/PathPartResponse.d.ts +3 -3
  122. package/dist/models/PipelineState.d.ts +5 -5
  123. package/dist/models/PolygonReference.d.ts +1 -1
  124. package/dist/models/ScoredChunkResponse.d.ts +4 -4
  125. package/dist/models/SectionResponse.d.ts +3 -3
  126. package/dist/models/SignInRequest.d.ts +1 -1
  127. package/dist/models/TagResponse.d.ts +1 -1
  128. package/dist/models/TenantResponse.d.ts +1 -1
  129. package/dist/models/TenantUserInTenantResponse.d.ts +2 -2
  130. package/dist/models/ThreadMessageResponse.d.ts +5 -7
  131. package/dist/models/ThreadMessageResponse.js +1 -2
  132. package/dist/models/ThreadResponse.d.ts +1 -1
  133. package/dist/models/UpdateChunkContentRequest.d.ts +1 -1
  134. package/dist/models/UpdateChunkMetadataRequest.d.ts +1 -1
  135. package/dist/models/UpdateDocumentRequest.d.ts +3 -3
  136. package/dist/models/UpdateFolderRequest.d.ts +2 -2
  137. package/dist/models/UpdatePermissionRequest.d.ts +1 -1
  138. package/dist/models/UpdateSectionRequest.d.ts +3 -3
  139. package/dist/models/UpdateTagRequest.d.ts +3 -3
  140. package/dist/models/UpdateTenantRequest.d.ts +2 -2
  141. package/dist/models/UpdateThreadRequest.d.ts +2 -2
  142. package/dist/models/UserResponse.d.ts +3 -3
  143. package/dist/models/ValidationError.d.ts +3 -3
  144. package/dist/models/ValidationError.js +3 -3
  145. package/dist/models/WorkflowDetailResponse.d.ts +4 -4
  146. package/dist/models/WorkflowSummaryResponse.d.ts +2 -2
  147. package/dist/models/index.d.ts +1 -1
  148. package/dist/models/index.js +1 -1
  149. package/package.json +1 -1
  150. package/src/apis/AuthApi.ts +9 -9
  151. package/src/apis/ChunkLineagesApi.ts +3 -3
  152. package/src/apis/ChunksApi.ts +6 -6
  153. package/src/apis/DocumentVersionsApi.ts +8 -8
  154. package/src/apis/DocumentsApi.ts +12 -12
  155. package/src/apis/FoldersApi.ts +11 -11
  156. package/src/apis/InvitesApi.ts +5 -5
  157. package/src/apis/PathPartsApi.ts +3 -3
  158. package/src/apis/SectionsApi.ts +4 -4
  159. package/src/apis/TagsApi.ts +7 -7
  160. package/src/apis/TenantsApi.ts +6 -6
  161. package/src/apis/ThreadMessagesApi.ts +4 -4
  162. package/src/apis/ThreadsApi.ts +6 -6
  163. package/src/apis/UserPermissionsApi.ts +4 -4
  164. package/src/apis/UsersApi.ts +2 -2
  165. package/src/apis/WorkflowsApi.ts +3 -3
  166. package/src/models/ChunkMetadataInput.ts +1 -1
  167. package/src/models/ChunkMetadataOutput.ts +1 -1
  168. package/src/models/ChunkResponse.ts +4 -4
  169. package/src/models/ChunkSearchRequest.ts +5 -8
  170. package/src/models/CreateChunkRequest.ts +3 -3
  171. package/src/models/CreateDocumentRequest.ts +2 -2
  172. package/src/models/CreateSectionRequest.ts +2 -2
  173. package/src/models/CreateTagRequest.ts +1 -1
  174. package/src/models/CreateTenantRequest.ts +1 -1
  175. package/src/models/CreateThreadMessageRequest.ts +3 -6
  176. package/src/models/CreateThreadRequest.ts +1 -1
  177. package/src/models/DocumentContentPathPart.ts +5 -5
  178. package/src/models/DocumentResponse.ts +4 -4
  179. package/src/models/DocumentVersionMetadata.ts +13 -7
  180. package/src/models/DocumentVersionMetadataUpdate.ts +6 -6
  181. package/src/models/DocumentVersionResponse.ts +3 -3
  182. package/src/models/FolderDocumentResponse.ts +9 -9
  183. package/src/models/FolderResponse.ts +1 -1
  184. package/src/models/InviteResponse.ts +2 -2
  185. package/src/models/LineageNodeResponse.ts +2 -2
  186. package/src/models/LocationInner.ts +63 -0
  187. package/src/models/OAuth2Config.ts +6 -0
  188. package/src/models/PathPartResponse.ts +3 -3
  189. package/src/models/PipelineState.ts +5 -5
  190. package/src/models/PolygonReference.ts +1 -1
  191. package/src/models/ScoredChunkResponse.ts +4 -4
  192. package/src/models/SectionResponse.ts +3 -3
  193. package/src/models/SignInRequest.ts +1 -1
  194. package/src/models/TagResponse.ts +1 -1
  195. package/src/models/TenantResponse.ts +1 -1
  196. package/src/models/TenantUserInTenantResponse.ts +2 -2
  197. package/src/models/ThreadMessageResponse.ts +3 -6
  198. package/src/models/ThreadResponse.ts +1 -1
  199. package/src/models/UpdateChunkContentRequest.ts +1 -1
  200. package/src/models/UpdateChunkMetadataRequest.ts +1 -1
  201. package/src/models/UpdateDocumentRequest.ts +3 -3
  202. package/src/models/UpdateFolderRequest.ts +2 -2
  203. package/src/models/UpdatePermissionRequest.ts +1 -1
  204. package/src/models/UpdateSectionRequest.ts +3 -3
  205. package/src/models/UpdateTagRequest.ts +3 -3
  206. package/src/models/UpdateTenantRequest.ts +2 -2
  207. package/src/models/UpdateThreadRequest.ts +2 -2
  208. package/src/models/UserResponse.ts +3 -3
  209. package/src/models/ValidationError.ts +10 -10
  210. package/src/models/WorkflowDetailResponse.ts +4 -4
  211. package/src/models/WorkflowSummaryResponse.ts +2 -2
  212. package/src/models/index.ts +1 -1
  213. package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -41
  214. package/dist/esm/models/ValidationErrorLocInner.js +0 -32
  215. package/dist/models/ValidationErrorLocInner.d.ts +0 -41
  216. package/dist/models/ValidationErrorLocInner.js +0 -40
  217. package/src/models/ValidationErrorLocInner.ts +0 -63
@@ -42,13 +42,13 @@ export interface ScoredChunkResponse {
42
42
  */
43
43
  content: string;
44
44
  /**
45
- * Type of chunk content
45
+ *
46
46
  * @type {ChunkType}
47
47
  * @memberof ScoredChunkResponse
48
48
  */
49
49
  chunkType: ChunkType;
50
50
  /**
51
- * Chunk metadata
51
+ *
52
52
  * @type {ChunkMetadataOutput}
53
53
  * @memberof ScoredChunkResponse
54
54
  */
@@ -64,13 +64,13 @@ export interface ScoredChunkResponse {
64
64
  * @type {string}
65
65
  * @memberof ScoredChunkResponse
66
66
  */
67
- prevSiblingPathId?: string;
67
+ prevSiblingPathId?: string | null;
68
68
  /**
69
69
  * Next sibling PathPart ID
70
70
  * @type {string}
71
71
  * @memberof ScoredChunkResponse
72
72
  */
73
- nextSiblingPathId?: string;
73
+ nextSiblingPathId?: string | null;
74
74
  /**
75
75
  * Full materialized path from root
76
76
  * @type {string}
@@ -38,7 +38,7 @@ export interface SectionResponse {
38
38
  * @type {number}
39
39
  * @memberof SectionResponse
40
40
  */
41
- pageNumber?: number;
41
+ pageNumber?: number | null;
42
42
  /**
43
43
  * Parent PathPart ID
44
44
  * @type {string}
@@ -50,13 +50,13 @@ export interface SectionResponse {
50
50
  * @type {string}
51
51
  * @memberof SectionResponse
52
52
  */
53
- prevSiblingPathId?: string;
53
+ prevSiblingPathId?: string | null;
54
54
  /**
55
55
  * Next sibling PathPart ID
56
56
  * @type {string}
57
57
  * @memberof SectionResponse
58
58
  */
59
- nextSiblingPathId?: string;
59
+ nextSiblingPathId?: string | null;
60
60
  /**
61
61
  * Full materialized path from root
62
62
  * @type {string}
@@ -32,7 +32,7 @@ export interface SignInRequest {
32
32
  * @type {string}
33
33
  * @memberof SignInRequest
34
34
  */
35
- tenantId?: string;
35
+ tenantId?: string | null;
36
36
  }
37
37
  /**
38
38
  * Check if a given object implements the SignInRequest interface.
@@ -38,7 +38,7 @@ export interface TagResponse {
38
38
  * @type {string}
39
39
  * @memberof TagResponse
40
40
  */
41
- description?: string;
41
+ description?: string | null;
42
42
  /**
43
43
  * Tenant ID
44
44
  * @type {string}
@@ -34,7 +34,7 @@ export interface TenantResponse {
34
34
  */
35
35
  idpConfig?: {
36
36
  [key: string]: string;
37
- };
37
+ } | null;
38
38
  }
39
39
  /**
40
40
  * Check if a given object implements the TenantResponse interface.
@@ -27,9 +27,9 @@ export interface TenantUserInTenantResponse {
27
27
  * @type {string}
28
28
  * @memberof TenantUserInTenantResponse
29
29
  */
30
- email?: string;
30
+ email?: string | null;
31
31
  /**
32
- * User role within the tenant
32
+ *
33
33
  * @type {TenantUserRole}
34
34
  * @memberof TenantUserInTenantResponse
35
35
  */
@@ -35,17 +35,19 @@ export interface ThreadMessageResponse {
35
35
  */
36
36
  sequence: number;
37
37
  /**
38
- * Message role
38
+ *
39
39
  * @type {MessageRole}
40
40
  * @memberof ThreadMessageResponse
41
41
  */
42
42
  role: MessageRole;
43
43
  /**
44
44
  * Structured message content
45
- * @type {object}
45
+ * @type {{ [key: string]: any; }}
46
46
  * @memberof ThreadMessageResponse
47
47
  */
48
- content: object;
48
+ content: {
49
+ [key: string]: any;
50
+ };
49
51
  /**
50
52
  * Thread's PathPart ID
51
53
  * @type {string}
@@ -100,7 +102,3 @@ export declare const ThreadMessageResponsePropertyValidationAttributesMap: {
100
102
  uniqueItems?: boolean;
101
103
  };
102
104
  };
103
- export declare const ThreadMessageResponseAdditionalPropertiesValidationAttributes: {
104
- maxProperties?: number;
105
- minProperties?: number;
106
- };
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.ThreadMessageResponseAdditionalPropertiesValidationAttributes = exports.ThreadMessageResponsePropertyValidationAttributesMap = void 0;
16
+ exports.ThreadMessageResponsePropertyValidationAttributesMap = void 0;
17
17
  exports.instanceOfThreadMessageResponse = instanceOfThreadMessageResponse;
18
18
  exports.ThreadMessageResponseFromJSON = ThreadMessageResponseFromJSON;
19
19
  exports.ThreadMessageResponseFromJSONTyped = ThreadMessageResponseFromJSONTyped;
@@ -87,4 +87,3 @@ function ThreadMessageResponseToJSONTyped(value, ignoreDiscriminator = false) {
87
87
  };
88
88
  }
89
89
  exports.ThreadMessageResponsePropertyValidationAttributesMap = {};
90
- exports.ThreadMessageResponseAdditionalPropertiesValidationAttributes = {};
@@ -38,7 +38,7 @@ export interface ThreadResponse {
38
38
  * @type {string}
39
39
  * @memberof ThreadResponse
40
40
  */
41
- parentThreadId?: string;
41
+ parentThreadId?: string | null;
42
42
  /**
43
43
  * Full materialized path from root
44
44
  * @type {string}
@@ -23,7 +23,7 @@ export interface UpdateChunkContentRequest {
23
23
  */
24
24
  content: string;
25
25
  /**
26
- * New chunk type (null = keep existing type)
26
+ *
27
27
  * @type {ChunkType}
28
28
  * @memberof UpdateChunkContentRequest
29
29
  */
@@ -17,7 +17,7 @@ import type { ChunkMetadataInput } from './ChunkMetadataInput';
17
17
  */
18
18
  export interface UpdateChunkMetadataRequest {
19
19
  /**
20
- * Metadata to merge into existing chunk_metadata
20
+ *
21
21
  * @type {ChunkMetadataInput}
22
22
  * @memberof UpdateChunkMetadataRequest
23
23
  */
@@ -20,19 +20,19 @@ export interface UpdateDocumentRequest {
20
20
  * @type {string}
21
21
  * @memberof UpdateDocumentRequest
22
22
  */
23
- name?: string;
23
+ name?: string | null;
24
24
  /**
25
25
  * New parent PathPart ID for move (must be a FOLDER type)
26
26
  * @type {string}
27
27
  * @memberof UpdateDocumentRequest
28
28
  */
29
- parentPathPartId?: string;
29
+ parentPathPartId?: string | null;
30
30
  /**
31
31
  * New active version ID
32
32
  * @type {string}
33
33
  * @memberof UpdateDocumentRequest
34
34
  */
35
- activeVersionId?: string;
35
+ activeVersionId?: string | null;
36
36
  }
37
37
  /**
38
38
  * Check if a given object implements the UpdateDocumentRequest interface.
@@ -20,13 +20,13 @@ export interface UpdateFolderRequest {
20
20
  * @type {string}
21
21
  * @memberof UpdateFolderRequest
22
22
  */
23
- name?: string;
23
+ name?: string | null;
24
24
  /**
25
25
  * New parent PathPart ID for move (must be a FOLDER type)
26
26
  * @type {string}
27
27
  * @memberof UpdateFolderRequest
28
28
  */
29
- parentPathPartId?: string;
29
+ parentPathPartId?: string | null;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the UpdateFolderRequest interface.
@@ -21,7 +21,7 @@ export interface UpdatePermissionRequest {
21
21
  * @type {string}
22
22
  * @memberof UpdatePermissionRequest
23
23
  */
24
- pathPartId?: string;
24
+ pathPartId?: string | null;
25
25
  /**
26
26
  *
27
27
  * @type {PermissionCapability}
@@ -20,19 +20,19 @@ export interface UpdateSectionRequest {
20
20
  * @type {string}
21
21
  * @memberof UpdateSectionRequest
22
22
  */
23
- name?: string;
23
+ name?: string | null;
24
24
  /**
25
25
  * New page number (must be > 0)
26
26
  * @type {number}
27
27
  * @memberof UpdateSectionRequest
28
28
  */
29
- pageNumber?: number;
29
+ pageNumber?: number | null;
30
30
  /**
31
31
  * Move after this sibling PathPart ID
32
32
  * @type {string}
33
33
  * @memberof UpdateSectionRequest
34
34
  */
35
- prevSiblingPathId?: string;
35
+ prevSiblingPathId?: string | null;
36
36
  /**
37
37
  * Set to true to move to head of sibling list. This is needed since prev_sibling_path_id = None means no update
38
38
  * @type {boolean}
@@ -20,19 +20,19 @@ export interface UpdateTagRequest {
20
20
  * @type {string}
21
21
  * @memberof UpdateTagRequest
22
22
  */
23
- name?: string;
23
+ name?: string | null;
24
24
  /**
25
25
  * New tag color as 6-character hex string
26
26
  * @type {string}
27
27
  * @memberof UpdateTagRequest
28
28
  */
29
- color?: string;
29
+ color?: string | null;
30
30
  /**
31
31
  * New tag description (empty string to clear)
32
32
  * @type {string}
33
33
  * @memberof UpdateTagRequest
34
34
  */
35
- description?: string;
35
+ description?: string | null;
36
36
  }
37
37
  /**
38
38
  * Check if a given object implements the UpdateTagRequest interface.
@@ -21,9 +21,9 @@ export interface UpdateTenantRequest {
21
21
  * @type {string}
22
22
  * @memberof UpdateTenantRequest
23
23
  */
24
- name?: string;
24
+ name?: string | null;
25
25
  /**
26
- * Optional external IdP configuration to update
26
+ *
27
27
  * @type {OAuth2Config}
28
28
  * @memberof UpdateTenantRequest
29
29
  */
@@ -20,13 +20,13 @@ export interface UpdateThreadRequest {
20
20
  * @type {string}
21
21
  * @memberof UpdateThreadRequest
22
22
  */
23
- title?: string;
23
+ title?: string | null;
24
24
  /**
25
25
  * Parent thread ID. Set to a UUID to link, or null to clear.
26
26
  * @type {string}
27
27
  * @memberof UpdateThreadRequest
28
28
  */
29
- parentThreadId?: string;
29
+ parentThreadId?: string | null;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the UpdateThreadRequest interface.
@@ -28,9 +28,9 @@ export interface UserResponse {
28
28
  * @type {string}
29
29
  * @memberof UserResponse
30
30
  */
31
- email: string;
31
+ email: string | null;
32
32
  /**
33
- * Identity provider type of the user
33
+ *
34
34
  * @type {IdpType}
35
35
  * @memberof UserResponse
36
36
  */
@@ -42,7 +42,7 @@ export interface UserResponse {
42
42
  */
43
43
  currentTenantId: string;
44
44
  /**
45
- * Current tenant role of the user
45
+ *
46
46
  * @type {TenantUserRole}
47
47
  * @memberof UserResponse
48
48
  */
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { ValidationErrorLocInner } from './ValidationErrorLocInner';
12
+ import type { LocationInner } from './LocationInner';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,10 +18,10 @@ import type { ValidationErrorLocInner } from './ValidationErrorLocInner';
18
18
  export interface ValidationError {
19
19
  /**
20
20
  *
21
- * @type {Array<ValidationErrorLocInner>}
21
+ * @type {Array<LocationInner>}
22
22
  * @memberof ValidationError
23
23
  */
24
- loc: Array<ValidationErrorLocInner>;
24
+ loc: Array<LocationInner>;
25
25
  /**
26
26
  *
27
27
  * @type {string}
@@ -19,7 +19,7 @@ exports.ValidationErrorFromJSON = ValidationErrorFromJSON;
19
19
  exports.ValidationErrorFromJSONTyped = ValidationErrorFromJSONTyped;
20
20
  exports.ValidationErrorToJSON = ValidationErrorToJSON;
21
21
  exports.ValidationErrorToJSONTyped = ValidationErrorToJSONTyped;
22
- const ValidationErrorLocInner_1 = require("./ValidationErrorLocInner");
22
+ const LocationInner_1 = require("./LocationInner");
23
23
  /**
24
24
  * Check if a given object implements the ValidationError interface.
25
25
  */
@@ -40,7 +40,7 @@ function ValidationErrorFromJSONTyped(json, ignoreDiscriminator) {
40
40
  return json;
41
41
  }
42
42
  return {
43
- 'loc': (json['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerFromJSON)),
43
+ 'loc': (json['loc'].map(LocationInner_1.LocationInnerFromJSON)),
44
44
  'msg': json['msg'],
45
45
  'type': json['type'],
46
46
  'input': json['input'] == null ? undefined : json['input'],
@@ -55,7 +55,7 @@ function ValidationErrorToJSONTyped(value, ignoreDiscriminator = false) {
55
55
  return value;
56
56
  }
57
57
  return {
58
- 'loc': (value['loc'].map(ValidationErrorLocInner_1.ValidationErrorLocInnerToJSON)),
58
+ 'loc': (value['loc'].map(LocationInner_1.LocationInnerToJSON)),
59
59
  'msg': value['msg'],
60
60
  'type': value['type'],
61
61
  'input': value['input'],
@@ -45,13 +45,13 @@ export interface WorkflowDetailResponse {
45
45
  * @type {string}
46
46
  * @memberof WorkflowDetailResponse
47
47
  */
48
- lastActivity?: string;
48
+ lastActivity?: string | null;
49
49
  /**
50
50
  *
51
51
  * @type {string}
52
52
  * @memberof WorkflowDetailResponse
53
53
  */
54
- error?: string;
54
+ error?: string | null;
55
55
  /**
56
56
  *
57
57
  * @type {Date}
@@ -81,7 +81,7 @@ export interface WorkflowDetailResponse {
81
81
  * @type {Date}
82
82
  * @memberof WorkflowDetailResponse
83
83
  */
84
- closeTime?: Date;
84
+ closeTime?: Date | null;
85
85
  /**
86
86
  *
87
87
  * @type {string}
@@ -105,7 +105,7 @@ export interface WorkflowDetailResponse {
105
105
  * @type {number}
106
106
  * @memberof WorkflowDetailResponse
107
107
  */
108
- chunksProcessed?: number;
108
+ chunksProcessed?: number | null;
109
109
  }
110
110
  /**
111
111
  * Check if a given object implements the WorkflowDetailResponse interface.
@@ -45,13 +45,13 @@ export interface WorkflowSummaryResponse {
45
45
  * @type {string}
46
46
  * @memberof WorkflowSummaryResponse
47
47
  */
48
- lastActivity?: string;
48
+ lastActivity?: string | null;
49
49
  /**
50
50
  *
51
51
  * @type {string}
52
52
  * @memberof WorkflowSummaryResponse
53
53
  */
54
- error?: string;
54
+ error?: string | null;
55
55
  /**
56
56
  *
57
57
  * @type {Date}
@@ -38,6 +38,7 @@ export * from './InviteUserRequest';
38
38
  export * from './LineageEdgeResponse';
39
39
  export * from './LineageGraphResponse';
40
40
  export * from './LineageNodeResponse';
41
+ export * from './LocationInner';
41
42
  export * from './MessageRole';
42
43
  export * from './OAuth2Config';
43
44
  export * from './PaginatedResponseDocumentContentPathPart';
@@ -88,7 +89,6 @@ export * from './UpdateThreadRequest';
88
89
  export * from './UpdateUserRequest';
89
90
  export * from './UserResponse';
90
91
  export * from './ValidationError';
91
- export * from './ValidationErrorLocInner';
92
92
  export * from './WorkflowAction';
93
93
  export * from './WorkflowActionResponse';
94
94
  export * from './WorkflowDetailResponse';
@@ -56,6 +56,7 @@ __exportStar(require("./InviteUserRequest"), exports);
56
56
  __exportStar(require("./LineageEdgeResponse"), exports);
57
57
  __exportStar(require("./LineageGraphResponse"), exports);
58
58
  __exportStar(require("./LineageNodeResponse"), exports);
59
+ __exportStar(require("./LocationInner"), exports);
59
60
  __exportStar(require("./MessageRole"), exports);
60
61
  __exportStar(require("./OAuth2Config"), exports);
61
62
  __exportStar(require("./PaginatedResponseDocumentContentPathPart"), exports);
@@ -106,7 +107,6 @@ __exportStar(require("./UpdateThreadRequest"), exports);
106
107
  __exportStar(require("./UpdateUserRequest"), exports);
107
108
  __exportStar(require("./UserResponse"), exports);
108
109
  __exportStar(require("./ValidationError"), exports);
109
- __exportStar(require("./ValidationErrorLocInner"), exports);
110
110
  __exportStar(require("./WorkflowAction"), exports);
111
111
  __exportStar(require("./WorkflowActionResponse"), exports);
112
112
  __exportStar(require("./WorkflowDetailResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -52,16 +52,16 @@ export interface CreatePasswordUserOperationRequest {
52
52
 
53
53
  export interface InitiateSsoRequest {
54
54
  provider: IdpType;
55
- tenantId?: string;
55
+ tenantId?: string | null;
56
56
  }
57
57
 
58
58
  export interface Oauth2CallbackRequest {
59
59
  provider: IdpType;
60
- code?: string;
61
- state?: string;
62
- error?: string;
63
- errorDescription?: string;
64
- tenantId?: string;
60
+ code?: string | null;
61
+ state?: string | null;
62
+ error?: string | null;
63
+ errorDescription?: string | null;
64
+ tenantId?: string | null;
65
65
  }
66
66
 
67
67
  export interface PwEmailVerificationRequest {
@@ -73,13 +73,13 @@ export interface PwSigninRequest {
73
73
  }
74
74
 
75
75
  export interface RefreshUatRequest {
76
- tenantId?: string;
77
- ksUat?: string;
76
+ tenantId?: string | null;
77
+ ksUat?: string | null;
78
78
  }
79
79
 
80
80
  export interface ResetPasswordRequest {
81
81
  passwordResetRequest: PasswordResetRequest;
82
- ksUat?: string;
82
+ ksUat?: string | null;
83
83
  }
84
84
 
85
85
  export interface ResetPasswordWithTokenRequest {
@@ -33,19 +33,19 @@ import {
33
33
 
34
34
  export interface CreateChunkLineageOperationRequest {
35
35
  createChunkLineageRequest: CreateChunkLineageRequest;
36
- ksUat?: string;
36
+ ksUat?: string | null;
37
37
  }
38
38
 
39
39
  export interface DeleteChunkLineageRequest {
40
40
  parentChunkId: string;
41
41
  chunkId: string;
42
- ksUat?: string;
42
+ ksUat?: string | null;
43
43
  }
44
44
 
45
45
  export interface GetChunkLineageRequest {
46
46
  chunkId: string;
47
47
  maxDepth?: number;
48
- ksUat?: string;
48
+ ksUat?: string | null;
49
49
  }
50
50
 
51
51
  /**
@@ -42,34 +42,34 @@ import {
42
42
 
43
43
  export interface CreateChunkOperationRequest {
44
44
  createChunkRequest: CreateChunkRequest;
45
- ksUat?: string;
45
+ ksUat?: string | null;
46
46
  }
47
47
 
48
48
  export interface DeleteChunkRequest {
49
49
  chunkId: string;
50
- ksUat?: string;
50
+ ksUat?: string | null;
51
51
  }
52
52
 
53
53
  export interface GetChunkRequest {
54
54
  chunkId: string;
55
- ksUat?: string;
55
+ ksUat?: string | null;
56
56
  }
57
57
 
58
58
  export interface SearchChunksRequest {
59
59
  chunkSearchRequest: ChunkSearchRequest;
60
- ksUat?: string;
60
+ ksUat?: string | null;
61
61
  }
62
62
 
63
63
  export interface UpdateChunkContentOperationRequest {
64
64
  chunkId: string;
65
65
  updateChunkContentRequest: UpdateChunkContentRequest;
66
- ksUat?: string;
66
+ ksUat?: string | null;
67
67
  }
68
68
 
69
69
  export interface UpdateChunkMetadataOperationRequest {
70
70
  chunkId: string;
71
71
  updateChunkMetadataRequest: UpdateChunkMetadataRequest;
72
- ksUat?: string;
72
+ ksUat?: string | null;
73
73
  }
74
74
 
75
75
  /**
@@ -39,43 +39,43 @@ import {
39
39
 
40
40
  export interface ClearDocumentVersionContentsRequest {
41
41
  versionId: string;
42
- ksUat?: string;
42
+ ksUat?: string | null;
43
43
  }
44
44
 
45
45
  export interface CreateDocumentVersionRequest {
46
46
  documentId: string;
47
- ksUat?: string;
47
+ ksUat?: string | null;
48
48
  }
49
49
 
50
50
  export interface DeleteDocumentVersionRequest {
51
51
  versionId: string;
52
- ksUat?: string;
52
+ ksUat?: string | null;
53
53
  }
54
54
 
55
55
  export interface GetDocumentVersionRequest {
56
56
  versionId: string;
57
- ksUat?: string;
57
+ ksUat?: string | null;
58
58
  }
59
59
 
60
60
  export interface GetDocumentVersionContentsRequest {
61
61
  versionId: string;
62
- sectionId?: string;
62
+ sectionId?: string | null;
63
63
  limit?: number;
64
64
  offset?: number;
65
- ksUat?: string;
65
+ ksUat?: string | null;
66
66
  }
67
67
 
68
68
  export interface ListDocumentVersionsRequest {
69
69
  documentId: string;
70
70
  limit?: number;
71
71
  offset?: number;
72
- ksUat?: string;
72
+ ksUat?: string | null;
73
73
  }
74
74
 
75
75
  export interface UpdateDocumentVersionMetadataRequest {
76
76
  versionId: string;
77
77
  documentVersionMetadataUpdate: DocumentVersionMetadataUpdate;
78
- ksUat?: string;
78
+ ksUat?: string | null;
79
79
  }
80
80
 
81
81
  /**