@kommerz/ts-client 1.167.12 → 1.167.14
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/dist/apis/FilesApi.d.ts +2 -1
- package/dist/apis/FilesApi.js +3 -0
- package/dist/models/FileDownloadDisposition.d.ts +24 -0
- package/dist/models/FileDownloadDisposition.js +50 -0
- package/dist/models/KanbanBoardDto.d.ts +6 -0
- package/dist/models/KanbanBoardDto.js +2 -0
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/package.json +1 -1
package/dist/apis/FilesApi.d.ts
CHANGED
|
@@ -9,11 +9,12 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type { ColamdaPageable, FileDetailsDto, FileUploadDto, ListFiles200Response } from '../models/index';
|
|
12
|
+
import type { ColamdaPageable, FileDetailsDto, FileDownloadDisposition, FileUploadDto, ListFiles200Response } from '../models/index';
|
|
13
13
|
export interface DownloadFileRequest {
|
|
14
14
|
id: string;
|
|
15
15
|
accessToken: string;
|
|
16
16
|
expires: number;
|
|
17
|
+
disposition?: FileDownloadDisposition;
|
|
17
18
|
}
|
|
18
19
|
export interface GetFileRequest {
|
|
19
20
|
id: string;
|
package/dist/apis/FilesApi.js
CHANGED
|
@@ -99,6 +99,9 @@ var FilesApi = /** @class */ (function (_super) {
|
|
|
99
99
|
if (requestParameters['expires'] != null) {
|
|
100
100
|
queryParameters['expires'] = requestParameters['expires'];
|
|
101
101
|
}
|
|
102
|
+
if (requestParameters['disposition'] != null) {
|
|
103
|
+
queryParameters['disposition'] = requestParameters['disposition'];
|
|
104
|
+
}
|
|
102
105
|
headerParameters = {};
|
|
103
106
|
urlPath = "/ui/files/v1/files/{id}/download";
|
|
104
107
|
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Content-Disposition to send for a file download.
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const FileDownloadDisposition: {
|
|
16
|
+
readonly Attachment: "attachment";
|
|
17
|
+
readonly Inline: "inline";
|
|
18
|
+
};
|
|
19
|
+
export type FileDownloadDisposition = typeof FileDownloadDisposition[keyof typeof FileDownloadDisposition];
|
|
20
|
+
export declare function instanceOfFileDownloadDisposition(value: any): boolean;
|
|
21
|
+
export declare function FileDownloadDispositionFromJSON(json: any): FileDownloadDisposition;
|
|
22
|
+
export declare function FileDownloadDispositionFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileDownloadDisposition;
|
|
23
|
+
export declare function FileDownloadDispositionToJSON(value?: FileDownloadDisposition | null): any;
|
|
24
|
+
export declare function FileDownloadDispositionToJSONTyped(value: any, ignoreDiscriminator: boolean): FileDownloadDisposition;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.FileDownloadDisposition = void 0;
|
|
16
|
+
exports.instanceOfFileDownloadDisposition = instanceOfFileDownloadDisposition;
|
|
17
|
+
exports.FileDownloadDispositionFromJSON = FileDownloadDispositionFromJSON;
|
|
18
|
+
exports.FileDownloadDispositionFromJSONTyped = FileDownloadDispositionFromJSONTyped;
|
|
19
|
+
exports.FileDownloadDispositionToJSON = FileDownloadDispositionToJSON;
|
|
20
|
+
exports.FileDownloadDispositionToJSONTyped = FileDownloadDispositionToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Content-Disposition to send for a file download.
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.FileDownloadDisposition = {
|
|
26
|
+
Attachment: 'attachment',
|
|
27
|
+
Inline: 'inline'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfFileDownloadDisposition(value) {
|
|
30
|
+
for (var key in exports.FileDownloadDisposition) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.FileDownloadDisposition, key)) {
|
|
32
|
+
if (exports.FileDownloadDisposition[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function FileDownloadDispositionFromJSON(json) {
|
|
40
|
+
return FileDownloadDispositionFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function FileDownloadDispositionFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function FileDownloadDispositionToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function FileDownloadDispositionToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
@@ -32,6 +32,12 @@ export interface KanbanBoardDto {
|
|
|
32
32
|
* @memberof KanbanBoardDto
|
|
33
33
|
*/
|
|
34
34
|
name: string;
|
|
35
|
+
/**
|
|
36
|
+
* use this type when creating a new card
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof KanbanBoardDto
|
|
39
|
+
*/
|
|
40
|
+
defaultEditorTypeId?: string;
|
|
35
41
|
}
|
|
36
42
|
/**
|
|
37
43
|
* Check if a given object implements the KanbanBoardDto interface.
|
|
@@ -36,6 +36,7 @@ function KanbanBoardDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'id': json['id'] == null ? undefined : json['id'],
|
|
37
37
|
'version': json['version'] == null ? undefined : json['version'],
|
|
38
38
|
'name': json['name'],
|
|
39
|
+
'defaultEditorTypeId': json['defaultEditorTypeId'] == null ? undefined : json['defaultEditorTypeId'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
function KanbanBoardDtoToJSON(json) {
|
|
@@ -50,5 +51,6 @@ function KanbanBoardDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
51
|
'id': value['id'],
|
|
51
52
|
'version': value['version'],
|
|
52
53
|
'name': value['name'],
|
|
54
|
+
'defaultEditorTypeId': value['defaultEditorTypeId'],
|
|
53
55
|
};
|
|
54
56
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -91,6 +91,7 @@ export * from './EntityType';
|
|
|
91
91
|
export * from './FeatureDto';
|
|
92
92
|
export * from './FileDetailsDto';
|
|
93
93
|
export * from './FileDirectoryDto';
|
|
94
|
+
export * from './FileDownloadDisposition';
|
|
94
95
|
export * from './FileDto';
|
|
95
96
|
export * from './FileMovementDto';
|
|
96
97
|
export * from './FileSelectionDto';
|
package/dist/models/index.js
CHANGED
|
@@ -109,6 +109,7 @@ __exportStar(require("./EntityType"), exports);
|
|
|
109
109
|
__exportStar(require("./FeatureDto"), exports);
|
|
110
110
|
__exportStar(require("./FileDetailsDto"), exports);
|
|
111
111
|
__exportStar(require("./FileDirectoryDto"), exports);
|
|
112
|
+
__exportStar(require("./FileDownloadDisposition"), exports);
|
|
112
113
|
__exportStar(require("./FileDto"), exports);
|
|
113
114
|
__exportStar(require("./FileMovementDto"), exports);
|
|
114
115
|
__exportStar(require("./FileSelectionDto"), exports);
|