@knowledge-stack/ksapi 1.117.0 → 1.119.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 +40 -4
- package/README.md +27 -4
- package/dist/apis/DataSourcesApi.d.ts +211 -9
- package/dist/apis/DataSourcesApi.js +260 -4
- package/dist/apis/DocumentVersionsApi.d.ts +4 -4
- package/dist/apis/DocumentVersionsApi.js +2 -2
- package/dist/apis/FoldersApi.d.ts +9 -9
- package/dist/apis/FoldersApi.js +2 -2
- package/dist/esm/apis/DataSourcesApi.d.ts +211 -9
- package/dist/esm/apis/DataSourcesApi.js +261 -5
- package/dist/esm/apis/DocumentVersionsApi.d.ts +4 -4
- package/dist/esm/apis/DocumentVersionsApi.js +2 -2
- package/dist/esm/apis/FoldersApi.d.ts +9 -9
- package/dist/esm/apis/FoldersApi.js +3 -3
- package/dist/esm/models/BlockChangeType.d.ts +26 -0
- package/dist/esm/models/BlockChangeType.js +44 -0
- package/dist/esm/models/BlockKind.d.ts +28 -0
- package/dist/esm/models/BlockKind.js +46 -0
- package/dist/esm/models/BulkModelTablesRequest.d.ts +48 -0
- package/dist/esm/models/BulkModelTablesRequest.js +50 -0
- package/dist/esm/models/BulkModelTablesResponse.d.ts +48 -0
- package/dist/esm/models/BulkModelTablesResponse.js +45 -0
- package/dist/esm/models/CellChange.d.ts +47 -0
- package/dist/esm/models/CellChange.js +14 -0
- package/dist/esm/models/CellDiff.d.ts +7 -0
- package/dist/esm/models/CellDiff.js +5 -0
- package/dist/esm/models/ChangeClass.d.ts +29 -0
- package/dist/esm/models/ChangeClass.js +47 -0
- package/dist/esm/models/CloneWorkflowRunRequest.d.ts +1 -1
- package/dist/esm/models/DataSourceDescriptionResponse.d.ts +53 -0
- package/dist/esm/models/DataSourceDescriptionResponse.js +48 -0
- package/dist/esm/models/DataSourceDetailResponse.d.ts +13 -4
- package/dist/esm/models/DataSourceDetailResponse.js +6 -4
- package/dist/esm/models/DataSourceSchemaListItem.d.ts +53 -0
- package/dist/esm/models/DataSourceSchemaListItem.js +48 -0
- package/dist/esm/models/DataSourceSchemaListResponse.d.ts +3 -3
- package/dist/esm/models/DataSourceSchemaListResponse.js +3 -3
- package/dist/esm/models/DataSourceSchemaResponse.d.ts +95 -1
- package/dist/esm/models/DataSourceSchemaResponse.js +61 -0
- package/dist/esm/models/DataSourceTableResponse.d.ts +8 -5
- package/dist/esm/models/DataSourceTableResponse.js +4 -2
- package/dist/esm/models/DiffFormat.d.ts +2 -0
- package/dist/esm/models/DiffFormat.js +3 -1
- package/dist/esm/models/DocumentBlockChange.d.ts +174 -0
- package/dist/esm/models/DocumentBlockChange.js +97 -0
- package/dist/esm/models/DocumentDiff.d.ts +102 -0
- package/dist/esm/models/DocumentDiff.js +77 -0
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts} +9 -6
- package/dist/esm/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.js} +11 -6
- package/dist/esm/models/InputSnapshot.d.ts +10 -3
- package/dist/esm/models/InputSnapshot.js +3 -1
- package/dist/esm/models/ModelTableResult.d.ts +81 -0
- package/dist/esm/models/ModelTableResult.js +63 -0
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts +66 -0
- package/dist/esm/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js} +12 -12
- package/dist/esm/models/PartType.d.ts +1 -0
- package/dist/esm/models/PartType.js +1 -0
- package/dist/esm/models/PixelRegion.d.ts +65 -0
- package/dist/esm/models/PixelRegion.js +56 -0
- package/dist/esm/models/ReferenceType.d.ts +1 -0
- package/dist/esm/models/ReferenceType.js +1 -0
- package/dist/esm/models/RevisionEdit.d.ts +71 -0
- package/dist/esm/models/RevisionEdit.js +57 -0
- package/dist/esm/models/SearchablePartType.d.ts +2 -0
- package/dist/esm/models/SearchablePartType.js +2 -0
- package/dist/esm/models/SheetVisibilityChange.d.ts +63 -0
- package/dist/esm/models/SheetVisibilityChange.js +52 -0
- package/dist/esm/models/StructuredChange.d.ts +69 -0
- package/dist/esm/models/StructuredChange.js +57 -0
- package/dist/esm/models/StructuredChangeType.d.ts +26 -0
- package/dist/esm/models/StructuredChangeType.js +44 -0
- package/dist/esm/models/StructuredDiff.d.ts +82 -0
- package/dist/esm/models/StructuredDiff.js +65 -0
- package/dist/esm/models/TableCellChange.d.ts +72 -0
- package/dist/esm/models/TableCellChange.js +61 -0
- package/dist/esm/models/UpdateApiConnectionRequest.d.ts +16 -0
- package/dist/esm/models/UpdateApiConnectionRequest.js +8 -0
- package/dist/esm/models/UpdateDataSourceRequest.d.ts +58 -0
- package/dist/esm/models/UpdateDataSourceRequest.js +49 -0
- package/dist/esm/models/UpdateWorkflowRunRequest.d.ts +1 -1
- package/dist/esm/models/VersionDiffResponse.d.ts +72 -1
- package/dist/esm/models/VersionDiffResponse.js +25 -0
- package/dist/esm/models/index.d.ts +20 -2
- package/dist/esm/models/index.js +20 -2
- package/dist/models/BlockChangeType.d.ts +26 -0
- package/dist/models/BlockChangeType.js +52 -0
- package/dist/models/BlockKind.d.ts +28 -0
- package/dist/models/BlockKind.js +54 -0
- package/dist/models/BulkModelTablesRequest.d.ts +48 -0
- package/dist/models/BulkModelTablesRequest.js +58 -0
- package/dist/models/BulkModelTablesResponse.d.ts +48 -0
- package/dist/models/BulkModelTablesResponse.js +53 -0
- package/dist/models/CellChange.d.ts +47 -0
- package/dist/models/CellChange.js +14 -0
- package/dist/models/CellDiff.d.ts +7 -0
- package/dist/models/CellDiff.js +5 -0
- package/dist/models/ChangeClass.d.ts +29 -0
- package/dist/models/ChangeClass.js +55 -0
- package/dist/models/CloneWorkflowRunRequest.d.ts +1 -1
- package/dist/models/DataSourceDescriptionResponse.d.ts +53 -0
- package/dist/models/DataSourceDescriptionResponse.js +56 -0
- package/dist/models/DataSourceDetailResponse.d.ts +13 -4
- package/dist/models/DataSourceDetailResponse.js +6 -4
- package/dist/models/DataSourceSchemaListItem.d.ts +53 -0
- package/dist/models/DataSourceSchemaListItem.js +56 -0
- package/dist/models/DataSourceSchemaListResponse.d.ts +3 -3
- package/dist/models/DataSourceSchemaListResponse.js +3 -3
- package/dist/models/DataSourceSchemaResponse.d.ts +95 -1
- package/dist/models/DataSourceSchemaResponse.js +62 -1
- package/dist/models/DataSourceTableResponse.d.ts +8 -5
- package/dist/models/DataSourceTableResponse.js +4 -2
- package/dist/models/DiffFormat.d.ts +2 -0
- package/dist/models/DiffFormat.js +3 -1
- package/dist/models/DocumentBlockChange.d.ts +174 -0
- package/dist/models/DocumentBlockChange.js +105 -0
- package/dist/models/DocumentDiff.d.ts +102 -0
- package/dist/models/DocumentDiff.js +85 -0
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.d.ts} +9 -6
- package/dist/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.js → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.js} +15 -10
- package/dist/models/InputSnapshot.d.ts +10 -3
- package/dist/models/InputSnapshot.js +3 -1
- package/dist/models/ModelTableResult.d.ts +81 -0
- package/dist/models/ModelTableResult.js +71 -0
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts +66 -0
- package/dist/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.js} +18 -18
- package/dist/models/PartType.d.ts +1 -0
- package/dist/models/PartType.js +1 -0
- package/dist/models/PixelRegion.d.ts +65 -0
- package/dist/models/PixelRegion.js +64 -0
- package/dist/models/ReferenceType.d.ts +1 -0
- package/dist/models/ReferenceType.js +1 -0
- package/dist/models/RevisionEdit.d.ts +71 -0
- package/dist/models/RevisionEdit.js +65 -0
- package/dist/models/SearchablePartType.d.ts +2 -0
- package/dist/models/SearchablePartType.js +2 -0
- package/dist/models/SheetVisibilityChange.d.ts +63 -0
- package/dist/models/SheetVisibilityChange.js +60 -0
- package/dist/models/StructuredChange.d.ts +69 -0
- package/dist/models/StructuredChange.js +65 -0
- package/dist/models/StructuredChangeType.d.ts +26 -0
- package/dist/models/StructuredChangeType.js +52 -0
- package/dist/models/StructuredDiff.d.ts +82 -0
- package/dist/models/StructuredDiff.js +73 -0
- package/dist/models/TableCellChange.d.ts +72 -0
- package/dist/models/TableCellChange.js +69 -0
- package/dist/models/UpdateApiConnectionRequest.d.ts +16 -0
- package/dist/models/UpdateApiConnectionRequest.js +8 -0
- package/dist/models/UpdateDataSourceRequest.d.ts +58 -0
- package/dist/models/UpdateDataSourceRequest.js +57 -0
- package/dist/models/UpdateWorkflowRunRequest.d.ts +1 -1
- package/dist/models/VersionDiffResponse.d.ts +72 -1
- package/dist/models/VersionDiffResponse.js +25 -0
- package/dist/models/index.d.ts +20 -2
- package/dist/models/index.js +20 -2
- package/docs/BlockChangeType.md +32 -0
- package/docs/BlockKind.md +32 -0
- package/docs/BulkModelTablesRequest.md +35 -0
- package/docs/BulkModelTablesResponse.md +35 -0
- package/docs/CellChange.md +15 -1
- package/docs/CellDiff.md +2 -0
- package/docs/ChangeClass.md +33 -0
- package/docs/ChunksApi.md +1 -1
- package/docs/DataSourceDescriptionResponse.md +37 -0
- package/docs/DataSourceDetailResponse.md +5 -3
- package/docs/DataSourceSchemaListItem.md +37 -0
- package/docs/DataSourceSchemaListResponse.md +1 -1
- package/docs/DataSourceSchemaResponse.md +29 -0
- package/docs/DataSourceTableResponse.md +3 -3
- package/docs/DataSourcesApi.md +394 -2
- package/docs/DocumentBlockChange.md +73 -0
- package/docs/DocumentDiff.md +51 -0
- package/docs/DocumentVersionsApi.md +1 -1
- package/docs/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.md → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.md} +12 -6
- package/docs/FoldersApi.md +5 -5
- package/docs/InputSnapshot.md +1 -1
- package/docs/ModelTableResult.md +43 -0
- package/docs/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.md → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.md} +5 -5
- package/docs/PixelRegion.md +41 -0
- package/docs/RevisionEdit.md +41 -0
- package/docs/SheetVisibilityChange.md +39 -0
- package/docs/StructuredChange.md +41 -0
- package/docs/StructuredChangeType.md +32 -0
- package/docs/StructuredDiff.md +45 -0
- package/docs/TableCellChange.md +43 -0
- package/docs/UpdateApiConnectionRequest.md +5 -1
- package/docs/UpdateDataSourceRequest.md +37 -0
- package/docs/VersionDiffResponse.md +23 -1
- package/package.json +1 -1
- package/src/apis/DataSourcesApi.ts +481 -8
- package/src/apis/DocumentVersionsApi.ts +4 -4
- package/src/apis/FoldersApi.ts +13 -13
- package/src/models/BlockChangeType.ts +54 -0
- package/src/models/BlockKind.ts +56 -0
- package/src/models/BulkModelTablesRequest.ts +95 -0
- package/src/models/BulkModelTablesResponse.ts +91 -0
- package/src/models/CellChange.ts +61 -0
- package/src/models/CellDiff.ts +16 -0
- package/src/models/ChangeClass.ts +57 -0
- package/src/models/CloneWorkflowRunRequest.ts +1 -1
- package/src/models/DataSourceDescriptionResponse.ts +92 -0
- package/src/models/DataSourceDetailResponse.ts +24 -13
- package/src/models/DataSourceSchemaListItem.ts +92 -0
- package/src/models/DataSourceSchemaListResponse.ts +10 -10
- package/src/models/DataSourceSchemaResponse.ts +157 -1
- package/src/models/DataSourceTableResponse.ts +11 -7
- package/src/models/DiffFormat.ts +3 -1
- package/src/models/DocumentBlockChange.ts +297 -0
- package/src/models/DocumentDiff.ts +169 -0
- package/src/models/{FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceTableResponseOrApiConnectionResponse.ts → FolderResponseOrDocumentResponseOrWorkflowDefinitionResponseOrWorkflowRunResponseOrDataSourceResponseOrDataSourceSchemaResponseOrDataSourceTableResponseOrApiConnectionResponse.ts} +19 -8
- package/src/models/InputSnapshot.ts +11 -4
- package/src/models/ModelTableResult.ts +136 -0
- package/src/models/{PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.ts → PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceSchemaResponseDataSourceTableResponseApiConnectionResponseDiscriminator.ts} +25 -25
- package/src/models/PartType.ts +1 -0
- package/src/models/PixelRegion.ts +110 -0
- package/src/models/ReferenceType.ts +1 -0
- package/src/models/RevisionEdit.ts +125 -0
- package/src/models/SearchablePartType.ts +2 -0
- package/src/models/SheetVisibilityChange.ts +105 -0
- package/src/models/StructuredChange.ts +123 -0
- package/src/models/StructuredChangeType.ts +54 -0
- package/src/models/StructuredDiff.ts +140 -0
- package/src/models/TableCellChange.ts +129 -0
- package/src/models/UpdateApiConnectionRequest.ts +24 -0
- package/src/models/UpdateDataSourceRequest.ts +99 -0
- package/src/models/UpdateWorkflowRunRequest.ts +1 -1
- package/src/models/VersionDiffResponse.ts +112 -1
- package/src/models/index.ts +20 -2
- package/dist/esm/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts +0 -66
- package/dist/models/PaginatedResponseAnnotatedUnionFolderResponseDocumentResponseWorkflowDefinitionResponseWorkflowRunResponseDataSourceResponseDataSourceTableResponseApiConnectionResponseDiscriminator.d.ts +0 -66
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
* A worksheet that became hidden or visible.
|
|
14
|
+
*
|
|
15
|
+
* Hidden data is an audit red flag (a sheet quietly hidden between versions),
|
|
16
|
+
* so a ``visible``↔``hidden``/``veryHidden`` transition is surfaced. ``old_state``/
|
|
17
|
+
* ``new_state`` is null when the sheet was added or removed.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SheetVisibilityChange
|
|
20
|
+
*/
|
|
21
|
+
export interface SheetVisibilityChange {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof SheetVisibilityChange
|
|
26
|
+
*/
|
|
27
|
+
sheet: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SheetVisibilityChange
|
|
32
|
+
*/
|
|
33
|
+
oldState: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SheetVisibilityChange
|
|
38
|
+
*/
|
|
39
|
+
newState: string | null;
|
|
40
|
+
}
|
|
41
|
+
export declare const SheetVisibilityChangePropertyValidationAttributesMap: {
|
|
42
|
+
[property: string]: {
|
|
43
|
+
maxLength?: number;
|
|
44
|
+
minLength?: number;
|
|
45
|
+
pattern?: string;
|
|
46
|
+
maximum?: number;
|
|
47
|
+
exclusiveMaximum?: boolean;
|
|
48
|
+
minimum?: number;
|
|
49
|
+
exclusiveMinimum?: boolean;
|
|
50
|
+
multipleOf?: number;
|
|
51
|
+
maxItems?: number;
|
|
52
|
+
minItems?: number;
|
|
53
|
+
uniqueItems?: boolean;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the SheetVisibilityChange interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfSheetVisibilityChange(value: object): value is SheetVisibilityChange;
|
|
60
|
+
export declare function SheetVisibilityChangeFromJSON(json: any): SheetVisibilityChange;
|
|
61
|
+
export declare function SheetVisibilityChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SheetVisibilityChange;
|
|
62
|
+
export declare function SheetVisibilityChangeToJSON(json: any): SheetVisibilityChange;
|
|
63
|
+
export declare function SheetVisibilityChangeToJSONTyped(value?: SheetVisibilityChange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.SheetVisibilityChangePropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfSheetVisibilityChange = instanceOfSheetVisibilityChange;
|
|
18
|
+
exports.SheetVisibilityChangeFromJSON = SheetVisibilityChangeFromJSON;
|
|
19
|
+
exports.SheetVisibilityChangeFromJSONTyped = SheetVisibilityChangeFromJSONTyped;
|
|
20
|
+
exports.SheetVisibilityChangeToJSON = SheetVisibilityChangeToJSON;
|
|
21
|
+
exports.SheetVisibilityChangeToJSONTyped = SheetVisibilityChangeToJSONTyped;
|
|
22
|
+
exports.SheetVisibilityChangePropertyValidationAttributesMap = {};
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the SheetVisibilityChange interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfSheetVisibilityChange(value) {
|
|
27
|
+
if (!('sheet' in value) || value['sheet'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('oldState' in value) || value['oldState'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('newState' in value) || value['newState'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function SheetVisibilityChangeFromJSON(json) {
|
|
36
|
+
return SheetVisibilityChangeFromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function SheetVisibilityChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'sheet': json['sheet'],
|
|
44
|
+
'oldState': json['old_state'],
|
|
45
|
+
'newState': json['new_state'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function SheetVisibilityChangeToJSON(json) {
|
|
49
|
+
return SheetVisibilityChangeToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function SheetVisibilityChangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'sheet': value['sheet'],
|
|
57
|
+
'old_state': value['oldState'],
|
|
58
|
+
'new_state': value['newState'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
import type { StructuredChangeType } from './StructuredChangeType';
|
|
13
|
+
/**
|
|
14
|
+
* One changed key-path in a JSON/YAML document.
|
|
15
|
+
*
|
|
16
|
+
* ``path`` is a dotted/indexed locator like ``services.web.image`` or
|
|
17
|
+
* ``items[3].qty``. ``old`` is null for added, ``new`` is null for removed.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface StructuredChange
|
|
20
|
+
*/
|
|
21
|
+
export interface StructuredChange {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof StructuredChange
|
|
26
|
+
*/
|
|
27
|
+
path: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof StructuredChange
|
|
32
|
+
*/
|
|
33
|
+
old: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof StructuredChange
|
|
38
|
+
*/
|
|
39
|
+
_new: string | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {StructuredChangeType}
|
|
43
|
+
* @memberof StructuredChange
|
|
44
|
+
*/
|
|
45
|
+
type: StructuredChangeType;
|
|
46
|
+
}
|
|
47
|
+
export declare const StructuredChangePropertyValidationAttributesMap: {
|
|
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
|
+
* Check if a given object implements the StructuredChange interface.
|
|
64
|
+
*/
|
|
65
|
+
export declare function instanceOfStructuredChange(value: object): value is StructuredChange;
|
|
66
|
+
export declare function StructuredChangeFromJSON(json: any): StructuredChange;
|
|
67
|
+
export declare function StructuredChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StructuredChange;
|
|
68
|
+
export declare function StructuredChangeToJSON(json: any): StructuredChange;
|
|
69
|
+
export declare function StructuredChangeToJSONTyped(value?: StructuredChange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.StructuredChangePropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfStructuredChange = instanceOfStructuredChange;
|
|
18
|
+
exports.StructuredChangeFromJSON = StructuredChangeFromJSON;
|
|
19
|
+
exports.StructuredChangeFromJSONTyped = StructuredChangeFromJSONTyped;
|
|
20
|
+
exports.StructuredChangeToJSON = StructuredChangeToJSON;
|
|
21
|
+
exports.StructuredChangeToJSONTyped = StructuredChangeToJSONTyped;
|
|
22
|
+
const StructuredChangeType_1 = require("./StructuredChangeType");
|
|
23
|
+
exports.StructuredChangePropertyValidationAttributesMap = {};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StructuredChange interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfStructuredChange(value) {
|
|
28
|
+
if (!('path' in value) || value['path'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('old' in value) || value['old'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('_new' in value) || value['_new'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
function StructuredChangeFromJSON(json) {
|
|
39
|
+
return StructuredChangeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function StructuredChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'path': json['path'],
|
|
47
|
+
'old': json['old'],
|
|
48
|
+
'_new': json['new'],
|
|
49
|
+
'type': (0, StructuredChangeType_1.StructuredChangeTypeFromJSON)(json['type']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function StructuredChangeToJSON(json) {
|
|
53
|
+
return StructuredChangeToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function StructuredChangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'path': value['path'],
|
|
61
|
+
'old': value['old'],
|
|
62
|
+
'new': value['_new'],
|
|
63
|
+
'type': (0, StructuredChangeType_1.StructuredChangeTypeToJSON)(value['type']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
*/
|
|
16
|
+
export declare const StructuredChangeType: {
|
|
17
|
+
readonly Added: "added";
|
|
18
|
+
readonly Removed: "removed";
|
|
19
|
+
readonly Modified: "modified";
|
|
20
|
+
};
|
|
21
|
+
export type StructuredChangeType = typeof StructuredChangeType[keyof typeof StructuredChangeType];
|
|
22
|
+
export declare function instanceOfStructuredChangeType(value: any): boolean;
|
|
23
|
+
export declare function StructuredChangeTypeFromJSON(json: any): StructuredChangeType;
|
|
24
|
+
export declare function StructuredChangeTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): StructuredChangeType;
|
|
25
|
+
export declare function StructuredChangeTypeToJSON(value?: StructuredChangeType | null): any;
|
|
26
|
+
export declare function StructuredChangeTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): StructuredChangeType;
|
|
@@ -0,0 +1,52 @@
|
|
|
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.StructuredChangeType = void 0;
|
|
17
|
+
exports.instanceOfStructuredChangeType = instanceOfStructuredChangeType;
|
|
18
|
+
exports.StructuredChangeTypeFromJSON = StructuredChangeTypeFromJSON;
|
|
19
|
+
exports.StructuredChangeTypeFromJSONTyped = StructuredChangeTypeFromJSONTyped;
|
|
20
|
+
exports.StructuredChangeTypeToJSON = StructuredChangeTypeToJSON;
|
|
21
|
+
exports.StructuredChangeTypeToJSONTyped = StructuredChangeTypeToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.StructuredChangeType = {
|
|
27
|
+
Added: 'added',
|
|
28
|
+
Removed: 'removed',
|
|
29
|
+
Modified: 'modified'
|
|
30
|
+
};
|
|
31
|
+
function instanceOfStructuredChangeType(value) {
|
|
32
|
+
for (const key in exports.StructuredChangeType) {
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(exports.StructuredChangeType, key)) {
|
|
34
|
+
if (exports.StructuredChangeType[key] === value) {
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return false;
|
|
40
|
+
}
|
|
41
|
+
function StructuredChangeTypeFromJSON(json) {
|
|
42
|
+
return StructuredChangeTypeFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function StructuredChangeTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
function StructuredChangeTypeToJSON(value) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
function StructuredChangeTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
import type { StructuredChange } from './StructuredChange';
|
|
13
|
+
/**
|
|
14
|
+
* A key-path diff of two JSON/YAML versions.
|
|
15
|
+
*
|
|
16
|
+
* ``added``/``removed``/``modified`` are full totals; ``changes`` is capped at
|
|
17
|
+
* the engine limit and ``omitted`` reports exactly how many were dropped, so a
|
|
18
|
+
* truncated diff never silently hides a change.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface StructuredDiff
|
|
21
|
+
*/
|
|
22
|
+
export interface StructuredDiff {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {Array<StructuredChange>}
|
|
26
|
+
* @memberof StructuredDiff
|
|
27
|
+
*/
|
|
28
|
+
changes: Array<StructuredChange>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof StructuredDiff
|
|
33
|
+
*/
|
|
34
|
+
added: number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof StructuredDiff
|
|
39
|
+
*/
|
|
40
|
+
removed: number;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof StructuredDiff
|
|
45
|
+
*/
|
|
46
|
+
modified: number;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof StructuredDiff
|
|
51
|
+
*/
|
|
52
|
+
truncated: boolean;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {number}
|
|
56
|
+
* @memberof StructuredDiff
|
|
57
|
+
*/
|
|
58
|
+
omitted: number;
|
|
59
|
+
}
|
|
60
|
+
export declare const StructuredDiffPropertyValidationAttributesMap: {
|
|
61
|
+
[property: string]: {
|
|
62
|
+
maxLength?: number;
|
|
63
|
+
minLength?: number;
|
|
64
|
+
pattern?: string;
|
|
65
|
+
maximum?: number;
|
|
66
|
+
exclusiveMaximum?: boolean;
|
|
67
|
+
minimum?: number;
|
|
68
|
+
exclusiveMinimum?: boolean;
|
|
69
|
+
multipleOf?: number;
|
|
70
|
+
maxItems?: number;
|
|
71
|
+
minItems?: number;
|
|
72
|
+
uniqueItems?: boolean;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the StructuredDiff interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfStructuredDiff(value: object): value is StructuredDiff;
|
|
79
|
+
export declare function StructuredDiffFromJSON(json: any): StructuredDiff;
|
|
80
|
+
export declare function StructuredDiffFromJSONTyped(json: any, ignoreDiscriminator: boolean): StructuredDiff;
|
|
81
|
+
export declare function StructuredDiffToJSON(json: any): StructuredDiff;
|
|
82
|
+
export declare function StructuredDiffToJSONTyped(value?: StructuredDiff | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
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.StructuredDiffPropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfStructuredDiff = instanceOfStructuredDiff;
|
|
18
|
+
exports.StructuredDiffFromJSON = StructuredDiffFromJSON;
|
|
19
|
+
exports.StructuredDiffFromJSONTyped = StructuredDiffFromJSONTyped;
|
|
20
|
+
exports.StructuredDiffToJSON = StructuredDiffToJSON;
|
|
21
|
+
exports.StructuredDiffToJSONTyped = StructuredDiffToJSONTyped;
|
|
22
|
+
const StructuredChange_1 = require("./StructuredChange");
|
|
23
|
+
exports.StructuredDiffPropertyValidationAttributesMap = {};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StructuredDiff interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfStructuredDiff(value) {
|
|
28
|
+
if (!('changes' in value) || value['changes'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('added' in value) || value['added'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('removed' in value) || value['removed'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('modified' in value) || value['modified'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('truncated' in value) || value['truncated'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('omitted' in value) || value['omitted'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
function StructuredDiffFromJSON(json) {
|
|
43
|
+
return StructuredDiffFromJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StructuredDiffFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
+
if (json == null) {
|
|
47
|
+
return json;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'changes': (json['changes'].map(StructuredChange_1.StructuredChangeFromJSON)),
|
|
51
|
+
'added': json['added'],
|
|
52
|
+
'removed': json['removed'],
|
|
53
|
+
'modified': json['modified'],
|
|
54
|
+
'truncated': json['truncated'],
|
|
55
|
+
'omitted': json['omitted'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
function StructuredDiffToJSON(json) {
|
|
59
|
+
return StructuredDiffToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
function StructuredDiffToJSONTyped(value, ignoreDiscriminator = false) {
|
|
62
|
+
if (value == null) {
|
|
63
|
+
return value;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
'changes': (value['changes'].map(StructuredChange_1.StructuredChangeToJSON)),
|
|
67
|
+
'added': value['added'],
|
|
68
|
+
'removed': value['removed'],
|
|
69
|
+
'modified': value['modified'],
|
|
70
|
+
'truncated': value['truncated'],
|
|
71
|
+
'omitted': value['omitted'],
|
|
72
|
+
};
|
|
73
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
import type { BlockChangeType } from './BlockChangeType';
|
|
13
|
+
/**
|
|
14
|
+
* One changed table cell (``old`` null for added, ``new`` for removed).
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TableCellChange
|
|
17
|
+
*/
|
|
18
|
+
export interface TableCellChange {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof TableCellChange
|
|
23
|
+
*/
|
|
24
|
+
row: number;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof TableCellChange
|
|
29
|
+
*/
|
|
30
|
+
col: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {BlockChangeType}
|
|
34
|
+
* @memberof TableCellChange
|
|
35
|
+
*/
|
|
36
|
+
type: BlockChangeType;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof TableCellChange
|
|
41
|
+
*/
|
|
42
|
+
old: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof TableCellChange
|
|
47
|
+
*/
|
|
48
|
+
_new: string | null;
|
|
49
|
+
}
|
|
50
|
+
export declare const TableCellChangePropertyValidationAttributesMap: {
|
|
51
|
+
[property: string]: {
|
|
52
|
+
maxLength?: number;
|
|
53
|
+
minLength?: number;
|
|
54
|
+
pattern?: string;
|
|
55
|
+
maximum?: number;
|
|
56
|
+
exclusiveMaximum?: boolean;
|
|
57
|
+
minimum?: number;
|
|
58
|
+
exclusiveMinimum?: boolean;
|
|
59
|
+
multipleOf?: number;
|
|
60
|
+
maxItems?: number;
|
|
61
|
+
minItems?: number;
|
|
62
|
+
uniqueItems?: boolean;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Check if a given object implements the TableCellChange interface.
|
|
67
|
+
*/
|
|
68
|
+
export declare function instanceOfTableCellChange(value: object): value is TableCellChange;
|
|
69
|
+
export declare function TableCellChangeFromJSON(json: any): TableCellChange;
|
|
70
|
+
export declare function TableCellChangeFromJSONTyped(json: any, ignoreDiscriminator: boolean): TableCellChange;
|
|
71
|
+
export declare function TableCellChangeToJSON(json: any): TableCellChange;
|
|
72
|
+
export declare function TableCellChangeToJSONTyped(value?: TableCellChange | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,69 @@
|
|
|
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.TableCellChangePropertyValidationAttributesMap = void 0;
|
|
17
|
+
exports.instanceOfTableCellChange = instanceOfTableCellChange;
|
|
18
|
+
exports.TableCellChangeFromJSON = TableCellChangeFromJSON;
|
|
19
|
+
exports.TableCellChangeFromJSONTyped = TableCellChangeFromJSONTyped;
|
|
20
|
+
exports.TableCellChangeToJSON = TableCellChangeToJSON;
|
|
21
|
+
exports.TableCellChangeToJSONTyped = TableCellChangeToJSONTyped;
|
|
22
|
+
const BlockChangeType_1 = require("./BlockChangeType");
|
|
23
|
+
exports.TableCellChangePropertyValidationAttributesMap = {};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the TableCellChange interface.
|
|
26
|
+
*/
|
|
27
|
+
function instanceOfTableCellChange(value) {
|
|
28
|
+
if (!('row' in value) || value['row'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('col' in value) || value['col'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('old' in value) || value['old'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('_new' in value) || value['_new'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
return true;
|
|
39
|
+
}
|
|
40
|
+
function TableCellChangeFromJSON(json) {
|
|
41
|
+
return TableCellChangeFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function TableCellChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
if (json == null) {
|
|
45
|
+
return json;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'row': json['row'],
|
|
49
|
+
'col': json['col'],
|
|
50
|
+
'type': (0, BlockChangeType_1.BlockChangeTypeFromJSON)(json['type']),
|
|
51
|
+
'old': json['old'],
|
|
52
|
+
'_new': json['new'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
function TableCellChangeToJSON(json) {
|
|
56
|
+
return TableCellChangeToJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
function TableCellChangeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
+
if (value == null) {
|
|
60
|
+
return value;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
'row': value['row'],
|
|
64
|
+
'col': value['col'],
|
|
65
|
+
'type': (0, BlockChangeType_1.BlockChangeTypeToJSON)(value['type']),
|
|
66
|
+
'old': value['old'],
|
|
67
|
+
'new': value['_new'],
|
|
68
|
+
};
|
|
69
|
+
}
|
|
@@ -13,10 +13,26 @@ import type { NetworkClass } from './NetworkClass';
|
|
|
13
13
|
import type { ApiAuthConfig } from './ApiAuthConfig';
|
|
14
14
|
/**
|
|
15
15
|
* Partial update (PATCH). A risk-increasing change re-arms the disclaimer.
|
|
16
|
+
*
|
|
17
|
+
* ``name`` renames the connection and ``parent_path_part_id`` moves it under
|
|
18
|
+
* a new FOLDER; neither is a risk-increasing change, so a rename/move alone
|
|
19
|
+
* leaves the disclaimer intact.
|
|
16
20
|
* @export
|
|
17
21
|
* @interface UpdateApiConnectionRequest
|
|
18
22
|
*/
|
|
19
23
|
export interface UpdateApiConnectionRequest {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateApiConnectionRequest
|
|
28
|
+
*/
|
|
29
|
+
name?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* New parent FOLDER path_part to move the connection under.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateApiConnectionRequest
|
|
34
|
+
*/
|
|
35
|
+
parentPathPartId?: string | null;
|
|
20
36
|
/**
|
|
21
37
|
*
|
|
22
38
|
* @type {string}
|