@kommerz/ts-client 1.168.0 → 1.169.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/FormsPortalApi.d.ts +40 -0
- package/dist/apis/FormsPortalApi.js +174 -0
- package/dist/apis/KanbanBoardsApi.d.ts +2 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/FormsPortalReceiverInfo.d.ts +43 -0
- package/dist/models/FormsPortalReceiverInfo.js +54 -0
- package/dist/models/FormsPortalSpecDto.d.ts +50 -0
- package/dist/models/FormsPortalSpecDto.js +57 -0
- package/dist/models/FormsPortalSubmitDto.d.ts +31 -0
- package/dist/models/FormsPortalSubmitDto.js +50 -0
- package/dist/models/KanbanBoardDto.d.ts +13 -1
- package/dist/models/KanbanBoardDto.js +3 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
import * as runtime from '../runtime';
|
|
12
|
+
import type { FormsPortalSpecDto, FormsPortalSubmitDto } from '../models/index';
|
|
13
|
+
export interface CreateFormsPortalEntryRequest {
|
|
14
|
+
secretId: string;
|
|
15
|
+
formsPortalSubmitDto: FormsPortalSubmitDto;
|
|
16
|
+
}
|
|
17
|
+
export interface GetFormsPortalFormRequest {
|
|
18
|
+
secretId: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare class FormsPortalApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
* submit
|
|
26
|
+
*/
|
|
27
|
+
createFormsPortalEntryRaw(requestParameters: CreateFormsPortalEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
28
|
+
/**
|
|
29
|
+
* submit
|
|
30
|
+
*/
|
|
31
|
+
createFormsPortalEntry(requestParameters: CreateFormsPortalEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
32
|
+
/**
|
|
33
|
+
* get forms spec
|
|
34
|
+
*/
|
|
35
|
+
getFormsPortalFormRaw(requestParameters: GetFormsPortalFormRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<FormsPortalSpecDto>>;
|
|
36
|
+
/**
|
|
37
|
+
* get forms spec
|
|
38
|
+
*/
|
|
39
|
+
getFormsPortalForm(requestParameters: GetFormsPortalFormRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<FormsPortalSpecDto>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
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
|
+
var __extends = (this && this.__extends) || (function () {
|
|
15
|
+
var extendStatics = function (d, b) {
|
|
16
|
+
extendStatics = Object.setPrototypeOf ||
|
|
17
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
18
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
19
|
+
return extendStatics(d, b);
|
|
20
|
+
};
|
|
21
|
+
return function (d, b) {
|
|
22
|
+
if (typeof b !== "function" && b !== null)
|
|
23
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
24
|
+
extendStatics(d, b);
|
|
25
|
+
function __() { this.constructor = d; }
|
|
26
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
27
|
+
};
|
|
28
|
+
})();
|
|
29
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
30
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
31
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
32
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
33
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
34
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
35
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
39
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
40
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
41
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
42
|
+
function step(op) {
|
|
43
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
44
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
45
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
46
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
47
|
+
switch (op[0]) {
|
|
48
|
+
case 0: case 1: t = op; break;
|
|
49
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
50
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
51
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
52
|
+
default:
|
|
53
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
54
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
55
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
56
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
57
|
+
if (t[2]) _.ops.pop();
|
|
58
|
+
_.trys.pop(); continue;
|
|
59
|
+
}
|
|
60
|
+
op = body.call(thisArg, _);
|
|
61
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
62
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
66
|
+
exports.FormsPortalApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
var index_1 = require("../models/index");
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
var FormsPortalApi = /** @class */ (function (_super) {
|
|
73
|
+
__extends(FormsPortalApi, _super);
|
|
74
|
+
function FormsPortalApi() {
|
|
75
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* submit
|
|
79
|
+
*/
|
|
80
|
+
FormsPortalApi.prototype.createFormsPortalEntryRaw = function (requestParameters, initOverrides) {
|
|
81
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
82
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
83
|
+
return __generator(this, function (_a) {
|
|
84
|
+
switch (_a.label) {
|
|
85
|
+
case 0:
|
|
86
|
+
if (requestParameters['secretId'] == null) {
|
|
87
|
+
throw new runtime.RequiredError('secretId', 'Required parameter "secretId" was null or undefined when calling createFormsPortalEntry().');
|
|
88
|
+
}
|
|
89
|
+
if (requestParameters['formsPortalSubmitDto'] == null) {
|
|
90
|
+
throw new runtime.RequiredError('formsPortalSubmitDto', 'Required parameter "formsPortalSubmitDto" was null or undefined when calling createFormsPortalEntry().');
|
|
91
|
+
}
|
|
92
|
+
queryParameters = {};
|
|
93
|
+
headerParameters = {};
|
|
94
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
95
|
+
urlPath = "/ui/forms-portal/v1/{secretId}";
|
|
96
|
+
urlPath = urlPath.replace("{".concat("secretId", "}"), encodeURIComponent(String(requestParameters['secretId'])));
|
|
97
|
+
return [4 /*yield*/, this.request({
|
|
98
|
+
path: urlPath,
|
|
99
|
+
method: 'POST',
|
|
100
|
+
headers: headerParameters,
|
|
101
|
+
query: queryParameters,
|
|
102
|
+
body: (0, index_1.FormsPortalSubmitDtoToJSON)(requestParameters['formsPortalSubmitDto']),
|
|
103
|
+
}, initOverrides)];
|
|
104
|
+
case 1:
|
|
105
|
+
response = _a.sent();
|
|
106
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* submit
|
|
113
|
+
*/
|
|
114
|
+
FormsPortalApi.prototype.createFormsPortalEntry = function (requestParameters, initOverrides) {
|
|
115
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
116
|
+
return __generator(this, function (_a) {
|
|
117
|
+
switch (_a.label) {
|
|
118
|
+
case 0: return [4 /*yield*/, this.createFormsPortalEntryRaw(requestParameters, initOverrides)];
|
|
119
|
+
case 1:
|
|
120
|
+
_a.sent();
|
|
121
|
+
return [2 /*return*/];
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
/**
|
|
127
|
+
* get forms spec
|
|
128
|
+
*/
|
|
129
|
+
FormsPortalApi.prototype.getFormsPortalFormRaw = function (requestParameters, initOverrides) {
|
|
130
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
131
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
132
|
+
return __generator(this, function (_a) {
|
|
133
|
+
switch (_a.label) {
|
|
134
|
+
case 0:
|
|
135
|
+
if (requestParameters['secretId'] == null) {
|
|
136
|
+
throw new runtime.RequiredError('secretId', 'Required parameter "secretId" was null or undefined when calling getFormsPortalForm().');
|
|
137
|
+
}
|
|
138
|
+
queryParameters = {};
|
|
139
|
+
headerParameters = {};
|
|
140
|
+
urlPath = "/ui/forms-portal/v1/{secretId}";
|
|
141
|
+
urlPath = urlPath.replace("{".concat("secretId", "}"), encodeURIComponent(String(requestParameters['secretId'])));
|
|
142
|
+
return [4 /*yield*/, this.request({
|
|
143
|
+
path: urlPath,
|
|
144
|
+
method: 'GET',
|
|
145
|
+
headers: headerParameters,
|
|
146
|
+
query: queryParameters,
|
|
147
|
+
}, initOverrides)];
|
|
148
|
+
case 1:
|
|
149
|
+
response = _a.sent();
|
|
150
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.FormsPortalSpecDtoFromJSON)(jsonValue); })];
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
});
|
|
154
|
+
};
|
|
155
|
+
/**
|
|
156
|
+
* get forms spec
|
|
157
|
+
*/
|
|
158
|
+
FormsPortalApi.prototype.getFormsPortalForm = function (requestParameters, initOverrides) {
|
|
159
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
160
|
+
var response;
|
|
161
|
+
return __generator(this, function (_a) {
|
|
162
|
+
switch (_a.label) {
|
|
163
|
+
case 0: return [4 /*yield*/, this.getFormsPortalFormRaw(requestParameters, initOverrides)];
|
|
164
|
+
case 1:
|
|
165
|
+
response = _a.sent();
|
|
166
|
+
return [4 /*yield*/, response.value()];
|
|
167
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
};
|
|
172
|
+
return FormsPortalApi;
|
|
173
|
+
}(runtime.BaseAPI));
|
|
174
|
+
exports.FormsPortalApi = FormsPortalApi;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
12
|
import type { ColamdaPageable, GetAllKanbanBoards200Response, KanbanBoardDto } from '../models/index';
|
|
13
13
|
export interface CreateKanbanBoardRequest {
|
|
14
|
-
kanbanBoardDto: KanbanBoardDto
|
|
14
|
+
kanbanBoardDto: Omit<KanbanBoardDto, 'secretId'>;
|
|
15
15
|
}
|
|
16
16
|
export interface DeleteKanbanBoardRequest {
|
|
17
17
|
id: string;
|
|
@@ -25,7 +25,7 @@ export interface GetKanbanBoardRequest {
|
|
|
25
25
|
}
|
|
26
26
|
export interface UpdateKanbanBoardRequest {
|
|
27
27
|
id: string;
|
|
28
|
-
kanbanBoardDto: KanbanBoardDto
|
|
28
|
+
kanbanBoardDto: Omit<KanbanBoardDto, 'secretId'>;
|
|
29
29
|
force?: boolean;
|
|
30
30
|
}
|
|
31
31
|
/**
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ export * from './FileDirectorySharesApi';
|
|
|
39
39
|
export * from './FileTagsApi';
|
|
40
40
|
export * from './FileUploadsApi';
|
|
41
41
|
export * from './FilesApi';
|
|
42
|
+
export * from './FormsPortalApi';
|
|
42
43
|
export * from './HolidaysApi';
|
|
43
44
|
export * from './HospitalityReceiptsApi';
|
|
44
45
|
export * from './IdentifiersApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -57,6 +57,7 @@ __exportStar(require("./FileDirectorySharesApi"), exports);
|
|
|
57
57
|
__exportStar(require("./FileTagsApi"), exports);
|
|
58
58
|
__exportStar(require("./FileUploadsApi"), exports);
|
|
59
59
|
__exportStar(require("./FilesApi"), exports);
|
|
60
|
+
__exportStar(require("./FormsPortalApi"), exports);
|
|
60
61
|
__exportStar(require("./HolidaysApi"), exports);
|
|
61
62
|
__exportStar(require("./HospitalityReceiptsApi"), exports);
|
|
62
63
|
__exportStar(require("./IdentifiersApi"), exports);
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface FormsPortalReceiverInfo
|
|
15
|
+
*/
|
|
16
|
+
export interface FormsPortalReceiverInfo {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof FormsPortalReceiverInfo
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof FormsPortalReceiverInfo
|
|
27
|
+
*/
|
|
28
|
+
email?: string;
|
|
29
|
+
/**
|
|
30
|
+
* line-separated address
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof FormsPortalReceiverInfo
|
|
33
|
+
*/
|
|
34
|
+
address?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the FormsPortalReceiverInfo interface.
|
|
38
|
+
*/
|
|
39
|
+
export declare function instanceOfFormsPortalReceiverInfo(value: object): value is FormsPortalReceiverInfo;
|
|
40
|
+
export declare function FormsPortalReceiverInfoFromJSON(json: any): FormsPortalReceiverInfo;
|
|
41
|
+
export declare function FormsPortalReceiverInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormsPortalReceiverInfo;
|
|
42
|
+
export declare function FormsPortalReceiverInfoToJSON(json: any): FormsPortalReceiverInfo;
|
|
43
|
+
export declare function FormsPortalReceiverInfoToJSONTyped(value?: FormsPortalReceiverInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
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.instanceOfFormsPortalReceiverInfo = instanceOfFormsPortalReceiverInfo;
|
|
16
|
+
exports.FormsPortalReceiverInfoFromJSON = FormsPortalReceiverInfoFromJSON;
|
|
17
|
+
exports.FormsPortalReceiverInfoFromJSONTyped = FormsPortalReceiverInfoFromJSONTyped;
|
|
18
|
+
exports.FormsPortalReceiverInfoToJSON = FormsPortalReceiverInfoToJSON;
|
|
19
|
+
exports.FormsPortalReceiverInfoToJSONTyped = FormsPortalReceiverInfoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the FormsPortalReceiverInfo interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfFormsPortalReceiverInfo(value) {
|
|
24
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function FormsPortalReceiverInfoFromJSON(json) {
|
|
29
|
+
return FormsPortalReceiverInfoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function FormsPortalReceiverInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'name': json['name'],
|
|
37
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
38
|
+
'address': json['address'] == null ? undefined : json['address'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function FormsPortalReceiverInfoToJSON(json) {
|
|
42
|
+
return FormsPortalReceiverInfoToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function FormsPortalReceiverInfoToJSONTyped(value, ignoreDiscriminator) {
|
|
45
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
|
+
if (value == null) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'name': value['name'],
|
|
51
|
+
'email': value['email'],
|
|
52
|
+
'address': value['address'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
import type { FormsPortalReceiverInfo } from './FormsPortalReceiverInfo';
|
|
12
|
+
/**
|
|
13
|
+
* jsonforms.io based editor configuration
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FormsPortalSpecDto
|
|
16
|
+
*/
|
|
17
|
+
export interface FormsPortalSpecDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {FormsPortalReceiverInfo}
|
|
21
|
+
* @memberof FormsPortalSpecDto
|
|
22
|
+
*/
|
|
23
|
+
receiverInfo?: FormsPortalReceiverInfo;
|
|
24
|
+
/**
|
|
25
|
+
* The name of the editor type
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FormsPortalSpecDto
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* JSON forms UI spec
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FormsPortalSpecDto
|
|
34
|
+
*/
|
|
35
|
+
uiSchema?: string;
|
|
36
|
+
/**
|
|
37
|
+
* JSON forms data spec
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FormsPortalSpecDto
|
|
40
|
+
*/
|
|
41
|
+
dataSchema?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the FormsPortalSpecDto interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfFormsPortalSpecDto(value: object): value is FormsPortalSpecDto;
|
|
47
|
+
export declare function FormsPortalSpecDtoFromJSON(json: any): FormsPortalSpecDto;
|
|
48
|
+
export declare function FormsPortalSpecDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormsPortalSpecDto;
|
|
49
|
+
export declare function FormsPortalSpecDtoToJSON(json: any): FormsPortalSpecDto;
|
|
50
|
+
export declare function FormsPortalSpecDtoToJSONTyped(value?: FormsPortalSpecDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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.instanceOfFormsPortalSpecDto = instanceOfFormsPortalSpecDto;
|
|
16
|
+
exports.FormsPortalSpecDtoFromJSON = FormsPortalSpecDtoFromJSON;
|
|
17
|
+
exports.FormsPortalSpecDtoFromJSONTyped = FormsPortalSpecDtoFromJSONTyped;
|
|
18
|
+
exports.FormsPortalSpecDtoToJSON = FormsPortalSpecDtoToJSON;
|
|
19
|
+
exports.FormsPortalSpecDtoToJSONTyped = FormsPortalSpecDtoToJSONTyped;
|
|
20
|
+
var FormsPortalReceiverInfo_1 = require("./FormsPortalReceiverInfo");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the FormsPortalSpecDto interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfFormsPortalSpecDto(value) {
|
|
25
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function FormsPortalSpecDtoFromJSON(json) {
|
|
30
|
+
return FormsPortalSpecDtoFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function FormsPortalSpecDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'receiverInfo': json['receiverInfo'] == null ? undefined : (0, FormsPortalReceiverInfo_1.FormsPortalReceiverInfoFromJSON)(json['receiverInfo']),
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'uiSchema': json['uiSchema'] == null ? undefined : json['uiSchema'],
|
|
40
|
+
'dataSchema': json['dataSchema'] == null ? undefined : json['dataSchema'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function FormsPortalSpecDtoToJSON(json) {
|
|
44
|
+
return FormsPortalSpecDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function FormsPortalSpecDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'receiverInfo': (0, FormsPortalReceiverInfo_1.FormsPortalReceiverInfoToJSON)(value['receiverInfo']),
|
|
53
|
+
'name': value['name'],
|
|
54
|
+
'uiSchema': value['uiSchema'],
|
|
55
|
+
'dataSchema': value['dataSchema'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface FormsPortalSubmitDto
|
|
15
|
+
*/
|
|
16
|
+
export interface FormsPortalSubmitDto {
|
|
17
|
+
/**
|
|
18
|
+
* json data for form
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof FormsPortalSubmitDto
|
|
21
|
+
*/
|
|
22
|
+
content: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the FormsPortalSubmitDto interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfFormsPortalSubmitDto(value: object): value is FormsPortalSubmitDto;
|
|
28
|
+
export declare function FormsPortalSubmitDtoFromJSON(json: any): FormsPortalSubmitDto;
|
|
29
|
+
export declare function FormsPortalSubmitDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): FormsPortalSubmitDto;
|
|
30
|
+
export declare function FormsPortalSubmitDtoToJSON(json: any): FormsPortalSubmitDto;
|
|
31
|
+
export declare function FormsPortalSubmitDtoToJSONTyped(value?: FormsPortalSubmitDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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.instanceOfFormsPortalSubmitDto = instanceOfFormsPortalSubmitDto;
|
|
16
|
+
exports.FormsPortalSubmitDtoFromJSON = FormsPortalSubmitDtoFromJSON;
|
|
17
|
+
exports.FormsPortalSubmitDtoFromJSONTyped = FormsPortalSubmitDtoFromJSONTyped;
|
|
18
|
+
exports.FormsPortalSubmitDtoToJSON = FormsPortalSubmitDtoToJSON;
|
|
19
|
+
exports.FormsPortalSubmitDtoToJSONTyped = FormsPortalSubmitDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the FormsPortalSubmitDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfFormsPortalSubmitDto(value) {
|
|
24
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function FormsPortalSubmitDtoFromJSON(json) {
|
|
29
|
+
return FormsPortalSubmitDtoFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function FormsPortalSubmitDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'content': json['content'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function FormsPortalSubmitDtoToJSON(json) {
|
|
40
|
+
return FormsPortalSubmitDtoToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function FormsPortalSubmitDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'content': value['content'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -38,6 +38,18 @@ export interface KanbanBoardDto {
|
|
|
38
38
|
* @memberof KanbanBoardDto
|
|
39
39
|
*/
|
|
40
40
|
defaultEditorTypeId?: string;
|
|
41
|
+
/**
|
|
42
|
+
* secret part of public url for form
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof KanbanBoardDto
|
|
45
|
+
*/
|
|
46
|
+
readonly secretId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* set to true if a public input shall be available
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof KanbanBoardDto
|
|
51
|
+
*/
|
|
52
|
+
publicForm?: boolean;
|
|
41
53
|
}
|
|
42
54
|
/**
|
|
43
55
|
* Check if a given object implements the KanbanBoardDto interface.
|
|
@@ -46,4 +58,4 @@ export declare function instanceOfKanbanBoardDto(value: object): value is Kanban
|
|
|
46
58
|
export declare function KanbanBoardDtoFromJSON(json: any): KanbanBoardDto;
|
|
47
59
|
export declare function KanbanBoardDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): KanbanBoardDto;
|
|
48
60
|
export declare function KanbanBoardDtoToJSON(json: any): KanbanBoardDto;
|
|
49
|
-
export declare function KanbanBoardDtoToJSONTyped(value?: KanbanBoardDto | null, ignoreDiscriminator?: boolean): any;
|
|
61
|
+
export declare function KanbanBoardDtoToJSONTyped(value?: Omit<KanbanBoardDto, 'secretId'> | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -37,6 +37,8 @@ function KanbanBoardDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'version': json['version'] == null ? undefined : json['version'],
|
|
38
38
|
'name': json['name'],
|
|
39
39
|
'defaultEditorTypeId': json['defaultEditorTypeId'] == null ? undefined : json['defaultEditorTypeId'],
|
|
40
|
+
'secretId': json['secretId'] == null ? undefined : json['secretId'],
|
|
41
|
+
'publicForm': json['publicForm'] == null ? undefined : json['publicForm'],
|
|
40
42
|
};
|
|
41
43
|
}
|
|
42
44
|
function KanbanBoardDtoToJSON(json) {
|
|
@@ -52,5 +54,6 @@ function KanbanBoardDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
54
|
'version': value['version'],
|
|
53
55
|
'name': value['name'],
|
|
54
56
|
'defaultEditorTypeId': value['defaultEditorTypeId'],
|
|
57
|
+
'publicForm': value['publicForm'],
|
|
55
58
|
};
|
|
56
59
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -101,6 +101,9 @@ export * from './FileUploadDto';
|
|
|
101
101
|
export * from './FileUploadManifestDto';
|
|
102
102
|
export * from './FileUploadPartDto';
|
|
103
103
|
export * from './FilterableEndpointDto';
|
|
104
|
+
export * from './FormsPortalReceiverInfo';
|
|
105
|
+
export * from './FormsPortalSpecDto';
|
|
106
|
+
export * from './FormsPortalSubmitDto';
|
|
104
107
|
export * from './GetAllAbsenceEntries200Response';
|
|
105
108
|
export * from './GetAllAbsenceTypes200Response';
|
|
106
109
|
export * from './GetAllAcceptanceDocuments200Response';
|
package/dist/models/index.js
CHANGED
|
@@ -119,6 +119,9 @@ __exportStar(require("./FileUploadDto"), exports);
|
|
|
119
119
|
__exportStar(require("./FileUploadManifestDto"), exports);
|
|
120
120
|
__exportStar(require("./FileUploadPartDto"), exports);
|
|
121
121
|
__exportStar(require("./FilterableEndpointDto"), exports);
|
|
122
|
+
__exportStar(require("./FormsPortalReceiverInfo"), exports);
|
|
123
|
+
__exportStar(require("./FormsPortalSpecDto"), exports);
|
|
124
|
+
__exportStar(require("./FormsPortalSubmitDto"), exports);
|
|
122
125
|
__exportStar(require("./GetAllAbsenceEntries200Response"), exports);
|
|
123
126
|
__exportStar(require("./GetAllAbsenceTypes200Response"), exports);
|
|
124
127
|
__exportStar(require("./GetAllAcceptanceDocuments200Response"), exports);
|