@knowledge-stack/ksapi 1.20.0 → 1.21.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/.openapi-generator/FILES +3 -2
- package/README.md +2 -2
- package/dist/apis/AuthApi.d.ts +9 -9
- package/dist/apis/ChunkLineagesApi.d.ts +3 -3
- package/dist/apis/ChunksApi.d.ts +6 -6
- package/dist/apis/DocumentVersionsApi.d.ts +8 -8
- package/dist/apis/DocumentsApi.d.ts +12 -12
- package/dist/apis/DocumentsApi.js +2 -2
- package/dist/apis/FoldersApi.d.ts +17 -15
- package/dist/apis/FoldersApi.js +7 -4
- package/dist/apis/InvitesApi.d.ts +5 -5
- package/dist/apis/PathPartsApi.d.ts +70 -8
- package/dist/apis/PathPartsApi.js +76 -2
- package/dist/apis/SectionsApi.d.ts +4 -4
- package/dist/apis/TagsApi.d.ts +6 -68
- package/dist/apis/TagsApi.js +0 -72
- package/dist/apis/TenantsApi.d.ts +6 -6
- package/dist/apis/ThreadMessagesApi.d.ts +4 -4
- package/dist/apis/ThreadsApi.d.ts +6 -6
- package/dist/apis/UserPermissionsApi.d.ts +4 -4
- package/dist/apis/UsersApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.d.ts +3 -3
- package/dist/esm/apis/AuthApi.d.ts +9 -9
- package/dist/esm/apis/ChunkLineagesApi.d.ts +3 -3
- package/dist/esm/apis/ChunksApi.d.ts +6 -6
- package/dist/esm/apis/DocumentVersionsApi.d.ts +8 -8
- package/dist/esm/apis/DocumentsApi.d.ts +12 -12
- package/dist/esm/apis/DocumentsApi.js +2 -2
- package/dist/esm/apis/FoldersApi.d.ts +17 -15
- package/dist/esm/apis/FoldersApi.js +7 -4
- package/dist/esm/apis/InvitesApi.d.ts +5 -5
- package/dist/esm/apis/PathPartsApi.d.ts +70 -8
- package/dist/esm/apis/PathPartsApi.js +77 -3
- package/dist/esm/apis/SectionsApi.d.ts +4 -4
- package/dist/esm/apis/TagsApi.d.ts +6 -68
- package/dist/esm/apis/TagsApi.js +1 -73
- package/dist/esm/apis/TenantsApi.d.ts +6 -6
- package/dist/esm/apis/ThreadMessagesApi.d.ts +4 -4
- package/dist/esm/apis/ThreadsApi.d.ts +6 -6
- package/dist/esm/apis/UserPermissionsApi.d.ts +4 -4
- package/dist/esm/apis/UsersApi.d.ts +2 -2
- package/dist/esm/apis/WorkflowsApi.d.ts +3 -3
- package/dist/esm/models/BulkTagRequest.d.ts +47 -0
- package/dist/esm/models/BulkTagRequest.js +49 -0
- package/dist/esm/models/ChunkMetadataInput.d.ts +1 -1
- package/dist/esm/models/ChunkMetadataOutput.d.ts +1 -1
- package/dist/esm/models/ChunkResponse.d.ts +4 -4
- package/dist/esm/models/ChunkSearchRequest.d.ts +5 -9
- package/dist/esm/models/ChunkSearchRequest.js +0 -1
- package/dist/esm/models/CreateChunkRequest.d.ts +3 -3
- package/dist/esm/models/CreateDocumentRequest.d.ts +2 -2
- package/dist/esm/models/CreateSectionRequest.d.ts +2 -2
- package/dist/esm/models/CreateTagRequest.d.ts +1 -1
- package/dist/esm/models/CreateTenantRequest.d.ts +1 -1
- package/dist/esm/models/CreateThreadMessageRequest.d.ts +5 -7
- package/dist/esm/models/CreateThreadMessageRequest.js +0 -1
- package/dist/esm/models/CreateThreadRequest.d.ts +1 -1
- package/dist/esm/models/DocumentContentPathPart.d.ts +5 -5
- package/dist/esm/models/DocumentResponse.d.ts +4 -4
- package/dist/esm/models/DocumentVersionMetadata.d.ts +12 -7
- package/dist/esm/models/DocumentVersionMetadata.js +3 -18
- package/dist/esm/models/DocumentVersionMetadataUpdate.d.ts +6 -6
- package/dist/esm/models/DocumentVersionResponse.d.ts +3 -3
- package/dist/esm/models/FolderDocumentResponse.d.ts +16 -9
- package/dist/esm/models/FolderDocumentResponse.js +3 -0
- package/dist/esm/models/FolderResponse.d.ts +1 -1
- package/dist/esm/models/InviteResponse.d.ts +2 -2
- package/dist/esm/models/LineageNodeResponse.d.ts +2 -2
- package/dist/esm/models/LocationInner.d.ts +41 -0
- package/dist/esm/models/LocationInner.js +32 -0
- package/dist/esm/models/OAuth2Config.d.ts +5 -0
- package/dist/esm/models/OAuth2Config.js +3 -12
- package/dist/esm/models/PathPartResponse.d.ts +10 -3
- package/dist/esm/models/PathPartResponse.js +3 -0
- package/dist/esm/models/PathPartTagsResponse.d.ts +48 -0
- package/dist/esm/models/PathPartTagsResponse.js +45 -0
- package/dist/esm/models/PipelineState.d.ts +5 -5
- package/dist/esm/models/PolygonReference.d.ts +1 -1
- package/dist/esm/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/esm/models/SectionResponse.d.ts +3 -3
- package/dist/esm/models/SignInRequest.d.ts +1 -1
- package/dist/esm/models/TagResponse.d.ts +1 -1
- package/dist/esm/models/TenantResponse.d.ts +1 -1
- package/dist/esm/models/TenantUserInTenantResponse.d.ts +2 -2
- package/dist/esm/models/ThreadMessageResponse.d.ts +5 -7
- package/dist/esm/models/ThreadMessageResponse.js +0 -1
- package/dist/esm/models/ThreadResponse.d.ts +1 -1
- package/dist/esm/models/UpdateChunkContentRequest.d.ts +1 -1
- package/dist/esm/models/UpdateChunkMetadataRequest.d.ts +1 -1
- package/dist/esm/models/UpdateDocumentRequest.d.ts +3 -3
- package/dist/esm/models/UpdateFolderRequest.d.ts +2 -2
- package/dist/esm/models/UpdatePermissionRequest.d.ts +1 -1
- package/dist/esm/models/UpdateSectionRequest.d.ts +3 -3
- package/dist/esm/models/UpdateTagRequest.d.ts +3 -3
- package/dist/esm/models/UpdateTenantRequest.d.ts +2 -2
- package/dist/esm/models/UpdateThreadRequest.d.ts +2 -2
- package/dist/esm/models/UserResponse.d.ts +3 -3
- package/dist/esm/models/ValidationError.d.ts +3 -3
- package/dist/esm/models/ValidationError.js +3 -3
- package/dist/esm/models/WorkflowDetailResponse.d.ts +4 -4
- package/dist/esm/models/WorkflowSummaryResponse.d.ts +2 -2
- package/dist/esm/models/index.d.ts +3 -2
- package/dist/esm/models/index.js +3 -2
- package/dist/models/BulkTagRequest.d.ts +47 -0
- package/dist/models/BulkTagRequest.js +57 -0
- package/dist/models/ChunkMetadataInput.d.ts +1 -1
- package/dist/models/ChunkMetadataOutput.d.ts +1 -1
- package/dist/models/ChunkResponse.d.ts +4 -4
- package/dist/models/ChunkSearchRequest.d.ts +5 -9
- package/dist/models/ChunkSearchRequest.js +1 -2
- package/dist/models/CreateChunkRequest.d.ts +3 -3
- package/dist/models/CreateDocumentRequest.d.ts +2 -2
- package/dist/models/CreateSectionRequest.d.ts +2 -2
- package/dist/models/CreateTagRequest.d.ts +1 -1
- package/dist/models/CreateTenantRequest.d.ts +1 -1
- package/dist/models/CreateThreadMessageRequest.d.ts +5 -7
- package/dist/models/CreateThreadMessageRequest.js +1 -2
- package/dist/models/CreateThreadRequest.d.ts +1 -1
- package/dist/models/DocumentContentPathPart.d.ts +5 -5
- package/dist/models/DocumentResponse.d.ts +4 -4
- package/dist/models/DocumentVersionMetadata.d.ts +12 -7
- package/dist/models/DocumentVersionMetadata.js +4 -19
- package/dist/models/DocumentVersionMetadataUpdate.d.ts +6 -6
- package/dist/models/DocumentVersionResponse.d.ts +3 -3
- package/dist/models/FolderDocumentResponse.d.ts +16 -9
- package/dist/models/FolderDocumentResponse.js +3 -0
- package/dist/models/FolderResponse.d.ts +1 -1
- package/dist/models/InviteResponse.d.ts +2 -2
- package/dist/models/LineageNodeResponse.d.ts +2 -2
- package/dist/models/LocationInner.d.ts +41 -0
- package/dist/models/LocationInner.js +40 -0
- package/dist/models/OAuth2Config.d.ts +5 -0
- package/dist/models/OAuth2Config.js +4 -13
- package/dist/models/PathPartResponse.d.ts +10 -3
- package/dist/models/PathPartResponse.js +3 -0
- package/dist/models/PathPartTagsResponse.d.ts +48 -0
- package/dist/models/PathPartTagsResponse.js +53 -0
- package/dist/models/PipelineState.d.ts +5 -5
- package/dist/models/PolygonReference.d.ts +1 -1
- package/dist/models/ScoredChunkResponse.d.ts +4 -4
- package/dist/models/SectionResponse.d.ts +3 -3
- package/dist/models/SignInRequest.d.ts +1 -1
- package/dist/models/TagResponse.d.ts +1 -1
- package/dist/models/TenantResponse.d.ts +1 -1
- package/dist/models/TenantUserInTenantResponse.d.ts +2 -2
- package/dist/models/ThreadMessageResponse.d.ts +5 -7
- package/dist/models/ThreadMessageResponse.js +1 -2
- package/dist/models/ThreadResponse.d.ts +1 -1
- package/dist/models/UpdateChunkContentRequest.d.ts +1 -1
- package/dist/models/UpdateChunkMetadataRequest.d.ts +1 -1
- package/dist/models/UpdateDocumentRequest.d.ts +3 -3
- package/dist/models/UpdateFolderRequest.d.ts +2 -2
- package/dist/models/UpdatePermissionRequest.d.ts +1 -1
- package/dist/models/UpdateSectionRequest.d.ts +3 -3
- package/dist/models/UpdateTagRequest.d.ts +3 -3
- package/dist/models/UpdateTenantRequest.d.ts +2 -2
- package/dist/models/UpdateThreadRequest.d.ts +2 -2
- package/dist/models/UserResponse.d.ts +3 -3
- package/dist/models/ValidationError.d.ts +3 -3
- package/dist/models/ValidationError.js +3 -3
- package/dist/models/WorkflowDetailResponse.d.ts +4 -4
- package/dist/models/WorkflowSummaryResponse.d.ts +2 -2
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/package.json +1 -1
- package/src/apis/AuthApi.ts +9 -9
- package/src/apis/ChunkLineagesApi.ts +3 -3
- package/src/apis/ChunksApi.ts +6 -6
- package/src/apis/DocumentVersionsApi.ts +8 -8
- package/src/apis/DocumentsApi.ts +12 -12
- package/src/apis/FoldersApi.ts +21 -15
- package/src/apis/InvitesApi.ts +5 -5
- package/src/apis/PathPartsApi.ts +159 -7
- package/src/apis/SectionsApi.ts +4 -4
- package/src/apis/TagsApi.ts +5 -151
- package/src/apis/TenantsApi.ts +6 -6
- package/src/apis/ThreadMessagesApi.ts +4 -4
- package/src/apis/ThreadsApi.ts +6 -6
- package/src/apis/UserPermissionsApi.ts +4 -4
- package/src/apis/UsersApi.ts +2 -2
- package/src/apis/WorkflowsApi.ts +3 -3
- package/src/models/BulkTagRequest.ts +87 -0
- package/src/models/ChunkMetadataInput.ts +1 -1
- package/src/models/ChunkMetadataOutput.ts +1 -1
- package/src/models/ChunkResponse.ts +4 -4
- package/src/models/ChunkSearchRequest.ts +5 -8
- package/src/models/CreateChunkRequest.ts +3 -3
- package/src/models/CreateDocumentRequest.ts +2 -2
- package/src/models/CreateSectionRequest.ts +2 -2
- package/src/models/CreateTagRequest.ts +1 -1
- package/src/models/CreateTenantRequest.ts +1 -1
- package/src/models/CreateThreadMessageRequest.ts +3 -6
- package/src/models/CreateThreadRequest.ts +1 -1
- package/src/models/DocumentContentPathPart.ts +5 -5
- package/src/models/DocumentResponse.ts +4 -4
- package/src/models/DocumentVersionMetadata.ts +13 -7
- package/src/models/DocumentVersionMetadataUpdate.ts +6 -6
- package/src/models/DocumentVersionResponse.ts +3 -3
- package/src/models/FolderDocumentResponse.ts +24 -9
- package/src/models/FolderResponse.ts +1 -1
- package/src/models/InviteResponse.ts +2 -2
- package/src/models/LineageNodeResponse.ts +2 -2
- package/src/models/LocationInner.ts +63 -0
- package/src/models/OAuth2Config.ts +6 -0
- package/src/models/PathPartResponse.ts +18 -3
- package/src/models/PathPartTagsResponse.ts +91 -0
- package/src/models/PipelineState.ts +5 -5
- package/src/models/PolygonReference.ts +1 -1
- package/src/models/ScoredChunkResponse.ts +4 -4
- package/src/models/SectionResponse.ts +3 -3
- package/src/models/SignInRequest.ts +1 -1
- package/src/models/TagResponse.ts +1 -1
- package/src/models/TenantResponse.ts +1 -1
- package/src/models/TenantUserInTenantResponse.ts +2 -2
- package/src/models/ThreadMessageResponse.ts +3 -6
- package/src/models/ThreadResponse.ts +1 -1
- package/src/models/UpdateChunkContentRequest.ts +1 -1
- package/src/models/UpdateChunkMetadataRequest.ts +1 -1
- package/src/models/UpdateDocumentRequest.ts +3 -3
- package/src/models/UpdateFolderRequest.ts +2 -2
- package/src/models/UpdatePermissionRequest.ts +1 -1
- package/src/models/UpdateSectionRequest.ts +3 -3
- package/src/models/UpdateTagRequest.ts +3 -3
- package/src/models/UpdateTenantRequest.ts +2 -2
- package/src/models/UpdateThreadRequest.ts +2 -2
- package/src/models/UserResponse.ts +3 -3
- package/src/models/ValidationError.ts +10 -10
- package/src/models/WorkflowDetailResponse.ts +4 -4
- package/src/models/WorkflowSummaryResponse.ts +2 -2
- package/src/models/index.ts +3 -2
- package/dist/esm/models/TagPathPartRequest.d.ts +0 -47
- package/dist/esm/models/TagPathPartRequest.js +0 -44
- package/dist/esm/models/ValidationErrorLocInner.d.ts +0 -41
- package/dist/esm/models/ValidationErrorLocInner.js +0 -32
- package/dist/models/TagPathPartRequest.d.ts +0 -47
- package/dist/models/TagPathPartRequest.js +0 -52
- package/dist/models/ValidationErrorLocInner.d.ts +0 -41
- package/dist/models/ValidationErrorLocInner.js +0 -40
- package/src/models/TagPathPartRequest.ts +0 -83
- package/src/models/ValidationErrorLocInner.ts +0 -63
|
@@ -56,13 +56,13 @@ export interface WorkflowDetailResponse {
|
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof WorkflowDetailResponse
|
|
58
58
|
*/
|
|
59
|
-
lastActivity?: string;
|
|
59
|
+
lastActivity?: string | null;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof WorkflowDetailResponse
|
|
64
64
|
*/
|
|
65
|
-
error?: string;
|
|
65
|
+
error?: string | null;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {Date}
|
|
@@ -92,7 +92,7 @@ export interface WorkflowDetailResponse {
|
|
|
92
92
|
* @type {Date}
|
|
93
93
|
* @memberof WorkflowDetailResponse
|
|
94
94
|
*/
|
|
95
|
-
closeTime?: Date;
|
|
95
|
+
closeTime?: Date | null;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @type {string}
|
|
@@ -116,7 +116,7 @@ export interface WorkflowDetailResponse {
|
|
|
116
116
|
* @type {number}
|
|
117
117
|
* @memberof WorkflowDetailResponse
|
|
118
118
|
*/
|
|
119
|
-
chunksProcessed?: number;
|
|
119
|
+
chunksProcessed?: number | null;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
|
|
@@ -56,13 +56,13 @@ export interface WorkflowSummaryResponse {
|
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof WorkflowSummaryResponse
|
|
58
58
|
*/
|
|
59
|
-
lastActivity?: string;
|
|
59
|
+
lastActivity?: string | null;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {string}
|
|
63
63
|
* @memberof WorkflowSummaryResponse
|
|
64
64
|
*/
|
|
65
|
-
error?: string;
|
|
65
|
+
error?: string | null;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {Date}
|
package/src/models/index.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './BulkTagRequest';
|
|
3
4
|
export * from './ChunkLineageResponse';
|
|
4
5
|
export * from './ChunkMetadataInput';
|
|
5
6
|
export * from './ChunkMetadataOutput';
|
|
@@ -40,6 +41,7 @@ export * from './InviteUserRequest';
|
|
|
40
41
|
export * from './LineageEdgeResponse';
|
|
41
42
|
export * from './LineageGraphResponse';
|
|
42
43
|
export * from './LineageNodeResponse';
|
|
44
|
+
export * from './LocationInner';
|
|
43
45
|
export * from './MessageRole';
|
|
44
46
|
export * from './OAuth2Config';
|
|
45
47
|
export * from './PaginatedResponseDocumentContentPathPart';
|
|
@@ -61,6 +63,7 @@ export * from './PasswordResetRequest';
|
|
|
61
63
|
export * from './PasswordResetWithTokenRequest';
|
|
62
64
|
export * from './PathOrder';
|
|
63
65
|
export * from './PathPartResponse';
|
|
66
|
+
export * from './PathPartTagsResponse';
|
|
64
67
|
export * from './PermissionCapability';
|
|
65
68
|
export * from './PermissionResponse';
|
|
66
69
|
export * from './PipelineState';
|
|
@@ -71,7 +74,6 @@ export * from './RootResponse';
|
|
|
71
74
|
export * from './ScoredChunkResponse';
|
|
72
75
|
export * from './SectionResponse';
|
|
73
76
|
export * from './SignInRequest';
|
|
74
|
-
export * from './TagPathPartRequest';
|
|
75
77
|
export * from './TagResponse';
|
|
76
78
|
export * from './TenantResponse';
|
|
77
79
|
export * from './TenantUserInTenantResponse';
|
|
@@ -90,7 +92,6 @@ export * from './UpdateThreadRequest';
|
|
|
90
92
|
export * from './UpdateUserRequest';
|
|
91
93
|
export * from './UserResponse';
|
|
92
94
|
export * from './ValidationError';
|
|
93
|
-
export * from './ValidationErrorLocInner';
|
|
94
95
|
export * from './WorkflowAction';
|
|
95
96
|
export * from './WorkflowActionResponse';
|
|
96
97
|
export * from './WorkflowDetailResponse';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Knowledge Stack API
|
|
3
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Request to attach/detach a tag to/from a path part.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TagPathPartRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface TagPathPartRequest {
|
|
18
|
-
/**
|
|
19
|
-
* PathPart ID to attach the tag to
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TagPathPartRequest
|
|
22
|
-
*/
|
|
23
|
-
pathPartId: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the TagPathPartRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfTagPathPartRequest(value: object): value is TagPathPartRequest;
|
|
29
|
-
export declare function TagPathPartRequestFromJSON(json: any): TagPathPartRequest;
|
|
30
|
-
export declare function TagPathPartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagPathPartRequest;
|
|
31
|
-
export declare function TagPathPartRequestToJSON(json: any): TagPathPartRequest;
|
|
32
|
-
export declare function TagPathPartRequestToJSONTyped(value?: TagPathPartRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
-
export declare const TagPathPartRequestPropertyValidationAttributesMap: {
|
|
34
|
-
[property: string]: {
|
|
35
|
-
maxLength?: number;
|
|
36
|
-
minLength?: number;
|
|
37
|
-
pattern?: string;
|
|
38
|
-
maximum?: number;
|
|
39
|
-
exclusiveMaximum?: boolean;
|
|
40
|
-
minimum?: number;
|
|
41
|
-
exclusiveMinimum?: boolean;
|
|
42
|
-
multipleOf?: number;
|
|
43
|
-
maxItems?: number;
|
|
44
|
-
minItems?: number;
|
|
45
|
-
uniqueItems?: boolean;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Knowledge Stack API
|
|
5
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the TagPathPartRequest interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfTagPathPartRequest(value) {
|
|
18
|
-
if (!('pathPartId' in value) || value['pathPartId'] === undefined)
|
|
19
|
-
return false;
|
|
20
|
-
return true;
|
|
21
|
-
}
|
|
22
|
-
export function TagPathPartRequestFromJSON(json) {
|
|
23
|
-
return TagPathPartRequestFromJSONTyped(json, false);
|
|
24
|
-
}
|
|
25
|
-
export function TagPathPartRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
-
if (json == null) {
|
|
27
|
-
return json;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
'pathPartId': json['path_part_id'],
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
export function TagPathPartRequestToJSON(json) {
|
|
34
|
-
return TagPathPartRequestToJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
export function TagPathPartRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
-
if (value == null) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'path_part_id': value['pathPartId'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
export const TagPathPartRequestPropertyValidationAttributesMap = {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Knowledge Stack API
|
|
3
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ValidationErrorLocInner
|
|
16
|
-
*/
|
|
17
|
-
export interface ValidationErrorLocInner {
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
21
|
-
*/
|
|
22
|
-
export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
|
|
23
|
-
export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
|
|
24
|
-
export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
|
|
25
|
-
export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
|
|
26
|
-
export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
|
|
27
|
-
export declare const ValidationErrorLocInnerPropertyValidationAttributesMap: {
|
|
28
|
-
[property: string]: {
|
|
29
|
-
maxLength?: number;
|
|
30
|
-
minLength?: number;
|
|
31
|
-
pattern?: string;
|
|
32
|
-
maximum?: number;
|
|
33
|
-
exclusiveMaximum?: boolean;
|
|
34
|
-
minimum?: number;
|
|
35
|
-
exclusiveMinimum?: boolean;
|
|
36
|
-
multipleOf?: number;
|
|
37
|
-
maxItems?: number;
|
|
38
|
-
minItems?: number;
|
|
39
|
-
uniqueItems?: boolean;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Knowledge Stack API
|
|
5
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
/**
|
|
15
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
16
|
-
*/
|
|
17
|
-
export function instanceOfValidationErrorLocInner(value) {
|
|
18
|
-
return true;
|
|
19
|
-
}
|
|
20
|
-
export function ValidationErrorLocInnerFromJSON(json) {
|
|
21
|
-
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
22
|
-
}
|
|
23
|
-
export function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
-
return json;
|
|
25
|
-
}
|
|
26
|
-
export function ValidationErrorLocInnerToJSON(json) {
|
|
27
|
-
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
export function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
30
|
-
return value;
|
|
31
|
-
}
|
|
32
|
-
export const ValidationErrorLocInnerPropertyValidationAttributesMap = {};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Knowledge Stack API
|
|
3
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Request to attach/detach a tag to/from a path part.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface TagPathPartRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface TagPathPartRequest {
|
|
18
|
-
/**
|
|
19
|
-
* PathPart ID to attach the tag to
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TagPathPartRequest
|
|
22
|
-
*/
|
|
23
|
-
pathPartId: string;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the TagPathPartRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfTagPathPartRequest(value: object): value is TagPathPartRequest;
|
|
29
|
-
export declare function TagPathPartRequestFromJSON(json: any): TagPathPartRequest;
|
|
30
|
-
export declare function TagPathPartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagPathPartRequest;
|
|
31
|
-
export declare function TagPathPartRequestToJSON(json: any): TagPathPartRequest;
|
|
32
|
-
export declare function TagPathPartRequestToJSONTyped(value?: TagPathPartRequest | null, ignoreDiscriminator?: boolean): any;
|
|
33
|
-
export declare const TagPathPartRequestPropertyValidationAttributesMap: {
|
|
34
|
-
[property: string]: {
|
|
35
|
-
maxLength?: number;
|
|
36
|
-
minLength?: number;
|
|
37
|
-
pattern?: string;
|
|
38
|
-
maximum?: number;
|
|
39
|
-
exclusiveMaximum?: boolean;
|
|
40
|
-
minimum?: number;
|
|
41
|
-
exclusiveMinimum?: boolean;
|
|
42
|
-
multipleOf?: number;
|
|
43
|
-
maxItems?: number;
|
|
44
|
-
minItems?: number;
|
|
45
|
-
uniqueItems?: boolean;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Knowledge Stack API
|
|
6
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.TagPathPartRequestPropertyValidationAttributesMap = void 0;
|
|
17
|
-
exports.instanceOfTagPathPartRequest = instanceOfTagPathPartRequest;
|
|
18
|
-
exports.TagPathPartRequestFromJSON = TagPathPartRequestFromJSON;
|
|
19
|
-
exports.TagPathPartRequestFromJSONTyped = TagPathPartRequestFromJSONTyped;
|
|
20
|
-
exports.TagPathPartRequestToJSON = TagPathPartRequestToJSON;
|
|
21
|
-
exports.TagPathPartRequestToJSONTyped = TagPathPartRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the TagPathPartRequest interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfTagPathPartRequest(value) {
|
|
26
|
-
if (!('pathPartId' in value) || value['pathPartId'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function TagPathPartRequestFromJSON(json) {
|
|
31
|
-
return TagPathPartRequestFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function TagPathPartRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'pathPartId': json['path_part_id'],
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function TagPathPartRequestToJSON(json) {
|
|
42
|
-
return TagPathPartRequestToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function TagPathPartRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'path_part_id': value['pathPartId'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
exports.TagPathPartRequestPropertyValidationAttributesMap = {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Knowledge Stack API
|
|
3
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 0.1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ValidationErrorLocInner
|
|
16
|
-
*/
|
|
17
|
-
export interface ValidationErrorLocInner {
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
21
|
-
*/
|
|
22
|
-
export declare function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner;
|
|
23
|
-
export declare function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner;
|
|
24
|
-
export declare function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner;
|
|
25
|
-
export declare function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner;
|
|
26
|
-
export declare function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator?: boolean): any;
|
|
27
|
-
export declare const ValidationErrorLocInnerPropertyValidationAttributesMap: {
|
|
28
|
-
[property: string]: {
|
|
29
|
-
maxLength?: number;
|
|
30
|
-
minLength?: number;
|
|
31
|
-
pattern?: string;
|
|
32
|
-
maximum?: number;
|
|
33
|
-
exclusiveMaximum?: boolean;
|
|
34
|
-
minimum?: number;
|
|
35
|
-
exclusiveMinimum?: boolean;
|
|
36
|
-
multipleOf?: number;
|
|
37
|
-
maxItems?: number;
|
|
38
|
-
minItems?: number;
|
|
39
|
-
uniqueItems?: boolean;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Knowledge Stack API
|
|
6
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 0.1.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.ValidationErrorLocInnerPropertyValidationAttributesMap = void 0;
|
|
17
|
-
exports.instanceOfValidationErrorLocInner = instanceOfValidationErrorLocInner;
|
|
18
|
-
exports.ValidationErrorLocInnerFromJSON = ValidationErrorLocInnerFromJSON;
|
|
19
|
-
exports.ValidationErrorLocInnerFromJSONTyped = ValidationErrorLocInnerFromJSONTyped;
|
|
20
|
-
exports.ValidationErrorLocInnerToJSON = ValidationErrorLocInnerToJSON;
|
|
21
|
-
exports.ValidationErrorLocInnerToJSONTyped = ValidationErrorLocInnerToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfValidationErrorLocInner(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ValidationErrorLocInnerFromJSON(json) {
|
|
29
|
-
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ValidationErrorLocInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
return json;
|
|
33
|
-
}
|
|
34
|
-
function ValidationErrorLocInnerToJSON(json) {
|
|
35
|
-
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function ValidationErrorLocInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
-
return value;
|
|
39
|
-
}
|
|
40
|
-
exports.ValidationErrorLocInnerPropertyValidationAttributesMap = {};
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Knowledge Stack API
|
|
5
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
* Request to attach/detach a tag to/from a path part.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface TagPathPartRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface TagPathPartRequest {
|
|
22
|
-
/**
|
|
23
|
-
* PathPart ID to attach the tag to
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof TagPathPartRequest
|
|
26
|
-
*/
|
|
27
|
-
pathPartId: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the TagPathPartRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfTagPathPartRequest(value: object): value is TagPathPartRequest {
|
|
34
|
-
if (!('pathPartId' in value) || value['pathPartId'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function TagPathPartRequestFromJSON(json: any): TagPathPartRequest {
|
|
39
|
-
return TagPathPartRequestFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function TagPathPartRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagPathPartRequest {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'pathPartId': json['path_part_id'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function TagPathPartRequestToJSON(json: any): TagPathPartRequest {
|
|
53
|
-
return TagPathPartRequestToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function TagPathPartRequestToJSONTyped(value?: TagPathPartRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'path_part_id': value['pathPartId'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
export const TagPathPartRequestPropertyValidationAttributesMap: {
|
|
68
|
-
[property: string]: {
|
|
69
|
-
maxLength?: number,
|
|
70
|
-
minLength?: number,
|
|
71
|
-
pattern?: string,
|
|
72
|
-
maximum?: number,
|
|
73
|
-
exclusiveMaximum?: boolean,
|
|
74
|
-
minimum?: number,
|
|
75
|
-
exclusiveMinimum?: boolean,
|
|
76
|
-
multipleOf?: number,
|
|
77
|
-
maxItems?: number,
|
|
78
|
-
minItems?: number,
|
|
79
|
-
uniqueItems?: boolean
|
|
80
|
-
}
|
|
81
|
-
} = {
|
|
82
|
-
}
|
|
83
|
-
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Knowledge Stack API
|
|
5
|
-
* Knowledge Stack backend API for authentication and knowledge management
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 0.1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ValidationErrorLocInner
|
|
20
|
-
*/
|
|
21
|
-
export interface ValidationErrorLocInner {
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the ValidationErrorLocInner interface.
|
|
26
|
-
*/
|
|
27
|
-
export function instanceOfValidationErrorLocInner(value: object): value is ValidationErrorLocInner {
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export function ValidationErrorLocInnerFromJSON(json: any): ValidationErrorLocInner {
|
|
32
|
-
return ValidationErrorLocInnerFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function ValidationErrorLocInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidationErrorLocInner {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function ValidationErrorLocInnerToJSON(json: any): ValidationErrorLocInner {
|
|
40
|
-
return ValidationErrorLocInnerToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export function ValidationErrorLocInnerToJSONTyped(value?: ValidationErrorLocInner | null, ignoreDiscriminator: boolean = false): any {
|
|
44
|
-
return value;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export const ValidationErrorLocInnerPropertyValidationAttributesMap: {
|
|
48
|
-
[property: string]: {
|
|
49
|
-
maxLength?: number,
|
|
50
|
-
minLength?: number,
|
|
51
|
-
pattern?: string,
|
|
52
|
-
maximum?: number,
|
|
53
|
-
exclusiveMaximum?: boolean,
|
|
54
|
-
minimum?: number,
|
|
55
|
-
exclusiveMinimum?: boolean,
|
|
56
|
-
multipleOf?: number,
|
|
57
|
-
maxItems?: number,
|
|
58
|
-
minItems?: number,
|
|
59
|
-
uniqueItems?: boolean
|
|
60
|
-
}
|
|
61
|
-
} = {
|
|
62
|
-
}
|
|
63
|
-
|