@knowledge-stack/ksapi 1.20.1 → 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.
Files changed (48) hide show
  1. package/.openapi-generator/FILES +2 -1
  2. package/README.md +2 -2
  3. package/dist/apis/FoldersApi.d.ts +6 -4
  4. package/dist/apis/FoldersApi.js +5 -2
  5. package/dist/apis/PathPartsApi.d.ts +67 -5
  6. package/dist/apis/PathPartsApi.js +76 -2
  7. package/dist/apis/TagsApi.d.ts +1 -63
  8. package/dist/apis/TagsApi.js +0 -72
  9. package/dist/esm/apis/FoldersApi.d.ts +6 -4
  10. package/dist/esm/apis/FoldersApi.js +5 -2
  11. package/dist/esm/apis/PathPartsApi.d.ts +67 -5
  12. package/dist/esm/apis/PathPartsApi.js +77 -3
  13. package/dist/esm/apis/TagsApi.d.ts +1 -63
  14. package/dist/esm/apis/TagsApi.js +1 -73
  15. package/dist/esm/models/BulkTagRequest.d.ts +47 -0
  16. package/dist/esm/models/BulkTagRequest.js +49 -0
  17. package/dist/esm/models/FolderDocumentResponse.d.ts +7 -0
  18. package/dist/esm/models/FolderDocumentResponse.js +3 -0
  19. package/dist/esm/models/PathPartResponse.d.ts +7 -0
  20. package/dist/esm/models/PathPartResponse.js +3 -0
  21. package/dist/esm/models/PathPartTagsResponse.d.ts +48 -0
  22. package/dist/esm/models/PathPartTagsResponse.js +45 -0
  23. package/dist/esm/models/index.d.ts +2 -1
  24. package/dist/esm/models/index.js +2 -1
  25. package/dist/models/BulkTagRequest.d.ts +47 -0
  26. package/dist/models/BulkTagRequest.js +57 -0
  27. package/dist/models/FolderDocumentResponse.d.ts +7 -0
  28. package/dist/models/FolderDocumentResponse.js +3 -0
  29. package/dist/models/PathPartResponse.d.ts +7 -0
  30. package/dist/models/PathPartResponse.js +3 -0
  31. package/dist/models/PathPartTagsResponse.d.ts +48 -0
  32. package/dist/models/PathPartTagsResponse.js +53 -0
  33. package/dist/models/index.d.ts +2 -1
  34. package/dist/models/index.js +2 -1
  35. package/package.json +1 -1
  36. package/src/apis/FoldersApi.ts +10 -4
  37. package/src/apis/PathPartsApi.ts +156 -4
  38. package/src/apis/TagsApi.ts +0 -146
  39. package/src/models/BulkTagRequest.ts +87 -0
  40. package/src/models/FolderDocumentResponse.ts +15 -0
  41. package/src/models/PathPartResponse.ts +15 -0
  42. package/src/models/PathPartTagsResponse.ts +91 -0
  43. package/src/models/index.ts +2 -1
  44. package/dist/esm/models/TagPathPartRequest.d.ts +0 -47
  45. package/dist/esm/models/TagPathPartRequest.js +0 -44
  46. package/dist/models/TagPathPartRequest.d.ts +0 -47
  47. package/dist/models/TagPathPartRequest.js +0 -52
  48. package/src/models/TagPathPartRequest.ts +0 -83
@@ -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';
@@ -62,6 +63,7 @@ export * from './PasswordResetRequest';
62
63
  export * from './PasswordResetWithTokenRequest';
63
64
  export * from './PathOrder';
64
65
  export * from './PathPartResponse';
66
+ export * from './PathPartTagsResponse';
65
67
  export * from './PermissionCapability';
66
68
  export * from './PermissionResponse';
67
69
  export * from './PipelineState';
@@ -72,7 +74,6 @@ export * from './RootResponse';
72
74
  export * from './ScoredChunkResponse';
73
75
  export * from './SectionResponse';
74
76
  export * from './SignInRequest';
75
- export * from './TagPathPartRequest';
76
77
  export * from './TagResponse';
77
78
  export * from './TenantResponse';
78
79
  export * from './TenantUserInTenantResponse';
@@ -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,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,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
-