@kommerz/ts-client 1.186.0 → 1.187.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/dist/apis/GravatarsApi.d.ts +38 -0
- package/dist/apis/GravatarsApi.js +140 -0
- package/dist/apis/InboxEmailsApi.d.ts +1 -1
- package/dist/apis/RolesApi.d.ts +19 -0
- package/dist/apis/RolesApi.js +60 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/EmailDto.d.ts +6 -1
- package/dist/models/EmailDto.js +2 -0
- package/dist/models/EmailInlineImageDto.d.ts +33 -0
- package/dist/models/EmailInlineImageDto.js +54 -0
- package/dist/models/GetRoleUsers200Response.d.ts +30 -0
- package/dist/models/GetRoleUsers200Response.js +51 -0
- package/dist/models/InvoiceConfigDto.d.ts +1 -1
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
export interface GetGravatarRequest {
|
|
13
|
+
/**
|
|
14
|
+
* MD5 or SHA-256 hash of the lower-cased email address
|
|
15
|
+
*/
|
|
16
|
+
hash: string;
|
|
17
|
+
/**
|
|
18
|
+
* default image, passed on to Gravatar
|
|
19
|
+
*/
|
|
20
|
+
d?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
export declare class GravatarsApi extends runtime.BaseAPI {
|
|
26
|
+
/**
|
|
27
|
+
* Creates request options for getGravatar without sending the request
|
|
28
|
+
*/
|
|
29
|
+
getGravatarRequestOpts(requestParameters: GetGravatarRequest): Promise<runtime.RequestOpts>;
|
|
30
|
+
/**
|
|
31
|
+
* get a gravatar image via the proxy, which forwards no client data to Gravatar
|
|
32
|
+
*/
|
|
33
|
+
getGravatarRaw(requestParameters: GetGravatarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<runtime.HttpFile>>;
|
|
34
|
+
/**
|
|
35
|
+
* get a gravatar image via the proxy, which forwards no client data to Gravatar
|
|
36
|
+
*/
|
|
37
|
+
getGravatar(requestParameters: GetGravatarRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.HttpFile>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
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.GravatarsApi = void 0;
|
|
67
|
+
var runtime = require("../runtime");
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
*/
|
|
71
|
+
var GravatarsApi = /** @class */ (function (_super) {
|
|
72
|
+
__extends(GravatarsApi, _super);
|
|
73
|
+
function GravatarsApi() {
|
|
74
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Creates request options for getGravatar without sending the request
|
|
78
|
+
*/
|
|
79
|
+
GravatarsApi.prototype.getGravatarRequestOpts = function (requestParameters) {
|
|
80
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
81
|
+
var queryParameters, headerParameters, urlPath;
|
|
82
|
+
return __generator(this, function (_a) {
|
|
83
|
+
if (requestParameters['hash'] == null) {
|
|
84
|
+
throw new runtime.RequiredError('hash', 'Required parameter "hash" was null or undefined when calling getGravatar().');
|
|
85
|
+
}
|
|
86
|
+
queryParameters = {};
|
|
87
|
+
if (requestParameters['d'] != null) {
|
|
88
|
+
queryParameters['d'] = requestParameters['d'];
|
|
89
|
+
}
|
|
90
|
+
headerParameters = {};
|
|
91
|
+
urlPath = "/ui/users/v1/gravatars/{hash}";
|
|
92
|
+
urlPath = urlPath.replace('{hash}', encodeURIComponent(String(requestParameters['hash'])));
|
|
93
|
+
return [2 /*return*/, {
|
|
94
|
+
path: urlPath,
|
|
95
|
+
method: 'GET',
|
|
96
|
+
headers: headerParameters,
|
|
97
|
+
query: queryParameters,
|
|
98
|
+
}];
|
|
99
|
+
});
|
|
100
|
+
});
|
|
101
|
+
};
|
|
102
|
+
/**
|
|
103
|
+
* get a gravatar image via the proxy, which forwards no client data to Gravatar
|
|
104
|
+
*/
|
|
105
|
+
GravatarsApi.prototype.getGravatarRaw = function (requestParameters, initOverrides) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
107
|
+
var requestOptions, response;
|
|
108
|
+
return __generator(this, function (_a) {
|
|
109
|
+
switch (_a.label) {
|
|
110
|
+
case 0: return [4 /*yield*/, this.getGravatarRequestOpts(requestParameters)];
|
|
111
|
+
case 1:
|
|
112
|
+
requestOptions = _a.sent();
|
|
113
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
114
|
+
case 2:
|
|
115
|
+
response = _a.sent();
|
|
116
|
+
return [2 /*return*/, new runtime.BlobApiResponse(response)];
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
});
|
|
120
|
+
};
|
|
121
|
+
/**
|
|
122
|
+
* get a gravatar image via the proxy, which forwards no client data to Gravatar
|
|
123
|
+
*/
|
|
124
|
+
GravatarsApi.prototype.getGravatar = function (requestParameters, initOverrides) {
|
|
125
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
126
|
+
var response;
|
|
127
|
+
return __generator(this, function (_a) {
|
|
128
|
+
switch (_a.label) {
|
|
129
|
+
case 0: return [4 /*yield*/, this.getGravatarRaw(requestParameters, initOverrides)];
|
|
130
|
+
case 1:
|
|
131
|
+
response = _a.sent();
|
|
132
|
+
return [4 /*yield*/, response.value()];
|
|
133
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
134
|
+
}
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
return GravatarsApi;
|
|
139
|
+
}(runtime.BaseAPI));
|
|
140
|
+
exports.GravatarsApi = GravatarsApi;
|
package/dist/apis/RolesApi.d.ts
CHANGED
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
12
|
import { type GetAllRoles200Response } from '../models/GetAllRoles200Response';
|
|
13
|
+
import { type GetRoleUsers200Response } from '../models/GetRoleUsers200Response';
|
|
13
14
|
import { type KommerzPageable } from '../models/KommerzPageable';
|
|
14
15
|
import { type RoleDto } from '../models/RoleDto';
|
|
15
16
|
export interface AddRoleRequest {
|
|
@@ -40,6 +41,12 @@ export interface GetRoleRequest {
|
|
|
40
41
|
*/
|
|
41
42
|
id: string;
|
|
42
43
|
}
|
|
44
|
+
export interface GetRoleUsersRequest {
|
|
45
|
+
/**
|
|
46
|
+
* id of entity
|
|
47
|
+
*/
|
|
48
|
+
id: string;
|
|
49
|
+
}
|
|
43
50
|
export interface UpdateRoleRequest {
|
|
44
51
|
/**
|
|
45
52
|
* id of entity
|
|
@@ -106,6 +113,18 @@ export declare class RolesApi extends runtime.BaseAPI {
|
|
|
106
113
|
* get role information
|
|
107
114
|
*/
|
|
108
115
|
getRole(requestParameters: GetRoleRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RoleDto>;
|
|
116
|
+
/**
|
|
117
|
+
* Creates request options for getRoleUsers without sending the request
|
|
118
|
+
*/
|
|
119
|
+
getRoleUsersRequestOpts(requestParameters: GetRoleUsersRequest): Promise<runtime.RequestOpts>;
|
|
120
|
+
/**
|
|
121
|
+
* get the users assigned to a role
|
|
122
|
+
*/
|
|
123
|
+
getRoleUsersRaw(requestParameters: GetRoleUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetRoleUsers200Response>>;
|
|
124
|
+
/**
|
|
125
|
+
* get the users assigned to a role
|
|
126
|
+
*/
|
|
127
|
+
getRoleUsers(requestParameters: GetRoleUsersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetRoleUsers200Response>;
|
|
109
128
|
/**
|
|
110
129
|
* Creates request options for updateRole without sending the request
|
|
111
130
|
*/
|
package/dist/apis/RolesApi.js
CHANGED
|
@@ -66,6 +66,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
66
66
|
exports.RolesApi = void 0;
|
|
67
67
|
var runtime = require("../runtime");
|
|
68
68
|
var GetAllRoles200Response_1 = require("../models/GetAllRoles200Response");
|
|
69
|
+
var GetRoleUsers200Response_1 = require("../models/GetRoleUsers200Response");
|
|
69
70
|
var RoleDto_1 = require("../models/RoleDto");
|
|
70
71
|
/**
|
|
71
72
|
*
|
|
@@ -315,6 +316,65 @@ var RolesApi = /** @class */ (function (_super) {
|
|
|
315
316
|
});
|
|
316
317
|
});
|
|
317
318
|
};
|
|
319
|
+
/**
|
|
320
|
+
* Creates request options for getRoleUsers without sending the request
|
|
321
|
+
*/
|
|
322
|
+
RolesApi.prototype.getRoleUsersRequestOpts = function (requestParameters) {
|
|
323
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
324
|
+
var queryParameters, headerParameters, urlPath;
|
|
325
|
+
return __generator(this, function (_a) {
|
|
326
|
+
if (requestParameters['id'] == null) {
|
|
327
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling getRoleUsers().');
|
|
328
|
+
}
|
|
329
|
+
queryParameters = {};
|
|
330
|
+
headerParameters = {};
|
|
331
|
+
urlPath = "/ui/roles/v1/{id}/users";
|
|
332
|
+
urlPath = urlPath.replace('{id}', encodeURIComponent(String(requestParameters['id'])));
|
|
333
|
+
return [2 /*return*/, {
|
|
334
|
+
path: urlPath,
|
|
335
|
+
method: 'GET',
|
|
336
|
+
headers: headerParameters,
|
|
337
|
+
query: queryParameters,
|
|
338
|
+
}];
|
|
339
|
+
});
|
|
340
|
+
});
|
|
341
|
+
};
|
|
342
|
+
/**
|
|
343
|
+
* get the users assigned to a role
|
|
344
|
+
*/
|
|
345
|
+
RolesApi.prototype.getRoleUsersRaw = function (requestParameters, initOverrides) {
|
|
346
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
347
|
+
var requestOptions, response;
|
|
348
|
+
return __generator(this, function (_a) {
|
|
349
|
+
switch (_a.label) {
|
|
350
|
+
case 0: return [4 /*yield*/, this.getRoleUsersRequestOpts(requestParameters)];
|
|
351
|
+
case 1:
|
|
352
|
+
requestOptions = _a.sent();
|
|
353
|
+
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
354
|
+
case 2:
|
|
355
|
+
response = _a.sent();
|
|
356
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, GetRoleUsers200Response_1.GetRoleUsers200ResponseFromJSON)(jsonValue); })];
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
});
|
|
360
|
+
};
|
|
361
|
+
/**
|
|
362
|
+
* get the users assigned to a role
|
|
363
|
+
*/
|
|
364
|
+
RolesApi.prototype.getRoleUsers = function (requestParameters, initOverrides) {
|
|
365
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
366
|
+
var response;
|
|
367
|
+
return __generator(this, function (_a) {
|
|
368
|
+
switch (_a.label) {
|
|
369
|
+
case 0: return [4 /*yield*/, this.getRoleUsersRaw(requestParameters, initOverrides)];
|
|
370
|
+
case 1:
|
|
371
|
+
response = _a.sent();
|
|
372
|
+
return [4 /*yield*/, response.value()];
|
|
373
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
374
|
+
}
|
|
375
|
+
});
|
|
376
|
+
});
|
|
377
|
+
};
|
|
318
378
|
/**
|
|
319
379
|
* Creates request options for updateRole without sending the request
|
|
320
380
|
*/
|
package/dist/apis/index.d.ts
CHANGED
|
@@ -42,6 +42,7 @@ export * from './FileTagsApi';
|
|
|
42
42
|
export * from './FileUploadsApi';
|
|
43
43
|
export * from './FilesApi';
|
|
44
44
|
export * from './FormsPortalApi';
|
|
45
|
+
export * from './GravatarsApi';
|
|
45
46
|
export * from './HolidaysApi';
|
|
46
47
|
export * from './HospitalityReceiptsApi';
|
|
47
48
|
export * from './IdentifiersApi';
|
package/dist/apis/index.js
CHANGED
|
@@ -60,6 +60,7 @@ __exportStar(require("./FileTagsApi"), exports);
|
|
|
60
60
|
__exportStar(require("./FileUploadsApi"), exports);
|
|
61
61
|
__exportStar(require("./FilesApi"), exports);
|
|
62
62
|
__exportStar(require("./FormsPortalApi"), exports);
|
|
63
|
+
__exportStar(require("./GravatarsApi"), exports);
|
|
63
64
|
__exportStar(require("./HolidaysApi"), exports);
|
|
64
65
|
__exportStar(require("./HospitalityReceiptsApi"), exports);
|
|
65
66
|
__exportStar(require("./IdentifiersApi"), exports);
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { EmailEvent } from './EmailEvent';
|
|
12
|
+
import type { EmailInlineImageDto } from './EmailInlineImageDto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -79,6 +80,10 @@ export interface EmailDto {
|
|
|
79
80
|
* Delivery events received from the email provider.
|
|
80
81
|
*/
|
|
81
82
|
readonly events?: Array<EmailEvent>;
|
|
83
|
+
/**
|
|
84
|
+
* Attachments the body references as `cid:<contentId>`. Browsers cannot load `cid:` URLs, so the client shows the attached file instead.
|
|
85
|
+
*/
|
|
86
|
+
readonly inlineImages?: Array<EmailInlineImageDto>;
|
|
82
87
|
}
|
|
83
88
|
/**
|
|
84
89
|
* @export
|
|
@@ -96,4 +101,4 @@ export declare function instanceOfEmailDto(value: object): value is EmailDto;
|
|
|
96
101
|
export declare function EmailDtoFromJSON(json: any): EmailDto;
|
|
97
102
|
export declare function EmailDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailDto;
|
|
98
103
|
export declare function EmailDtoToJSON(json: any): EmailDto;
|
|
99
|
-
export declare function EmailDtoToJSONTyped(value?: Omit<EmailDto, 'externalId' | 'events'> | null, ignoreDiscriminator?: boolean): any;
|
|
104
|
+
export declare function EmailDtoToJSONTyped(value?: Omit<EmailDto, 'externalId' | 'events' | 'inlineImages'> | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/EmailDto.js
CHANGED
|
@@ -20,6 +20,7 @@ exports.EmailDtoToJSON = EmailDtoToJSON;
|
|
|
20
20
|
exports.EmailDtoToJSONTyped = EmailDtoToJSONTyped;
|
|
21
21
|
var runtime_1 = require("../runtime");
|
|
22
22
|
var EmailEvent_1 = require("./EmailEvent");
|
|
23
|
+
var EmailInlineImageDto_1 = require("./EmailInlineImageDto");
|
|
23
24
|
/**
|
|
24
25
|
* @export
|
|
25
26
|
*/
|
|
@@ -58,6 +59,7 @@ function EmailDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
59
|
'attachmentIds': json['attachmentIds'] == null ? undefined : json['attachmentIds'],
|
|
59
60
|
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
60
61
|
'events': json['events'] == null ? undefined : (json['events'].map(EmailEvent_1.EmailEventFromJSON)),
|
|
62
|
+
'inlineImages': json['inlineImages'] == null ? undefined : (json['inlineImages'].map(EmailInlineImageDto_1.EmailInlineImageDtoFromJSON)),
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
function EmailDtoToJSON(json) {
|
|
@@ -0,0 +1,33 @@
|
|
|
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 EmailInlineImageDto
|
|
15
|
+
*/
|
|
16
|
+
export interface EmailInlineImageDto {
|
|
17
|
+
/**
|
|
18
|
+
* Token the body references the image with as `cid:<contentId>`.
|
|
19
|
+
*/
|
|
20
|
+
contentId: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
fileId: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the EmailInlineImageDto interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfEmailInlineImageDto(value: object): value is EmailInlineImageDto;
|
|
30
|
+
export declare function EmailInlineImageDtoFromJSON(json: any): EmailInlineImageDto;
|
|
31
|
+
export declare function EmailInlineImageDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailInlineImageDto;
|
|
32
|
+
export declare function EmailInlineImageDtoToJSON(json: any): EmailInlineImageDto;
|
|
33
|
+
export declare function EmailInlineImageDtoToJSONTyped(value?: EmailInlineImageDto | 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.instanceOfEmailInlineImageDto = instanceOfEmailInlineImageDto;
|
|
16
|
+
exports.EmailInlineImageDtoFromJSON = EmailInlineImageDtoFromJSON;
|
|
17
|
+
exports.EmailInlineImageDtoFromJSONTyped = EmailInlineImageDtoFromJSONTyped;
|
|
18
|
+
exports.EmailInlineImageDtoToJSON = EmailInlineImageDtoToJSON;
|
|
19
|
+
exports.EmailInlineImageDtoToJSONTyped = EmailInlineImageDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the EmailInlineImageDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfEmailInlineImageDto(value) {
|
|
24
|
+
if (!('contentId' in value) || value['contentId'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function EmailInlineImageDtoFromJSON(json) {
|
|
31
|
+
return EmailInlineImageDtoFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function EmailInlineImageDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'contentId': json['contentId'],
|
|
39
|
+
'fileId': json['fileId'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function EmailInlineImageDtoToJSON(json) {
|
|
43
|
+
return EmailInlineImageDtoToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function EmailInlineImageDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'contentId': value['contentId'],
|
|
52
|
+
'fileId': value['fileId'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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 { UserDto } from './UserDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetRoleUsers200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetRoleUsers200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
content: Array<UserDto>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the GetRoleUsers200Response interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfGetRoleUsers200Response(value: object): value is GetRoleUsers200Response;
|
|
27
|
+
export declare function GetRoleUsers200ResponseFromJSON(json: any): GetRoleUsers200Response;
|
|
28
|
+
export declare function GetRoleUsers200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetRoleUsers200Response;
|
|
29
|
+
export declare function GetRoleUsers200ResponseToJSON(json: any): GetRoleUsers200Response;
|
|
30
|
+
export declare function GetRoleUsers200ResponseToJSONTyped(value?: GetRoleUsers200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfGetRoleUsers200Response = instanceOfGetRoleUsers200Response;
|
|
16
|
+
exports.GetRoleUsers200ResponseFromJSON = GetRoleUsers200ResponseFromJSON;
|
|
17
|
+
exports.GetRoleUsers200ResponseFromJSONTyped = GetRoleUsers200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetRoleUsers200ResponseToJSON = GetRoleUsers200ResponseToJSON;
|
|
19
|
+
exports.GetRoleUsers200ResponseToJSONTyped = GetRoleUsers200ResponseToJSONTyped;
|
|
20
|
+
var UserDto_1 = require("./UserDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetRoleUsers200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetRoleUsers200Response(value) {
|
|
25
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GetRoleUsers200ResponseFromJSON(json) {
|
|
30
|
+
return GetRoleUsers200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GetRoleUsers200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'content': (json['content'].map(UserDto_1.UserDtoFromJSON)),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GetRoleUsers200ResponseToJSON(json) {
|
|
41
|
+
return GetRoleUsers200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GetRoleUsers200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'content': (value['content'].map(UserDto_1.UserDtoToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface InvoiceConfigDto {
|
|
|
23
23
|
*/
|
|
24
24
|
logo?: string;
|
|
25
25
|
/**
|
|
26
|
-
* Date pattern
|
|
26
|
+
* Date pattern (java.time.format.DateTimeFormatter) used to format dates in generated documents such as invoices, offers, delivery notes and dunning letters. Must only contain date fields; defaults to yyyy-MM-dd if empty.
|
|
27
27
|
*/
|
|
28
28
|
invoiceDateFormat?: string;
|
|
29
29
|
/**
|
package/dist/models/index.d.ts
CHANGED
|
@@ -99,6 +99,7 @@ export * from './DunningLetterItemDto';
|
|
|
99
99
|
export * from './EditorTypeDto';
|
|
100
100
|
export * from './EmailDto';
|
|
101
101
|
export * from './EmailEvent';
|
|
102
|
+
export * from './EmailInlineImageDto';
|
|
102
103
|
export * from './EntityAccessTokenDto';
|
|
103
104
|
export * from './EntityReference';
|
|
104
105
|
export * from './EntityType';
|
|
@@ -184,6 +185,7 @@ export * from './GetAllWorkflowExternalTasks200Response';
|
|
|
184
185
|
export * from './GetAllWorkflowProcesses200Response';
|
|
185
186
|
export * from './GetAllWorkflows200Response';
|
|
186
187
|
export * from './GetAllWritings200Response';
|
|
188
|
+
export * from './GetRoleUsers200Response';
|
|
187
189
|
export * from './GetSubscribedProducts200Response';
|
|
188
190
|
export * from './GetUserRoles200Response';
|
|
189
191
|
export * from './HolidaysDto';
|
package/dist/models/index.js
CHANGED
|
@@ -117,6 +117,7 @@ __exportStar(require("./DunningLetterItemDto"), exports);
|
|
|
117
117
|
__exportStar(require("./EditorTypeDto"), exports);
|
|
118
118
|
__exportStar(require("./EmailDto"), exports);
|
|
119
119
|
__exportStar(require("./EmailEvent"), exports);
|
|
120
|
+
__exportStar(require("./EmailInlineImageDto"), exports);
|
|
120
121
|
__exportStar(require("./EntityAccessTokenDto"), exports);
|
|
121
122
|
__exportStar(require("./EntityReference"), exports);
|
|
122
123
|
__exportStar(require("./EntityType"), exports);
|
|
@@ -202,6 +203,7 @@ __exportStar(require("./GetAllWorkflowExternalTasks200Response"), exports);
|
|
|
202
203
|
__exportStar(require("./GetAllWorkflowProcesses200Response"), exports);
|
|
203
204
|
__exportStar(require("./GetAllWorkflows200Response"), exports);
|
|
204
205
|
__exportStar(require("./GetAllWritings200Response"), exports);
|
|
206
|
+
__exportStar(require("./GetRoleUsers200Response"), exports);
|
|
205
207
|
__exportStar(require("./GetSubscribedProducts200Response"), exports);
|
|
206
208
|
__exportStar(require("./GetUserRoles200Response"), exports);
|
|
207
209
|
__exportStar(require("./HolidaysDto"), exports);
|