@kommerz/ts-client 1.171.3 → 1.172.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/PaymentProductsApi.d.ts +5 -5
- package/dist/apis/PaymentProductsApi.js +6 -6
- package/dist/apis/ProductsApi.d.ts +75 -0
- package/dist/apis/ProductsApi.js +321 -0
- package/dist/apis/UsersApi.d.ts +11 -0
- package/dist/apis/UsersApi.js +44 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +1 -0
- package/dist/models/GetAllProducts200Response.d.ts +50 -0
- package/dist/models/GetAllProducts200Response.js +59 -0
- package/dist/models/PaymentProductDto.d.ts +152 -0
- package/dist/models/PaymentProductDto.js +110 -0
- package/dist/models/ProductDto.d.ts +17 -71
- package/dist/models/ProductDto.js +19 -56
- package/dist/models/SubscriptionDto.d.ts +3 -3
- package/dist/models/SubscriptionDto.js +3 -3
- package/dist/models/UiModule.d.ts +1 -0
- package/dist/models/UiModule.js +1 -0
- package/dist/models/UnitCode.d.ts +42 -0
- package/dist/models/UnitCode.js +68 -0
- package/dist/models/UnitDto.d.ts +5 -23
- package/dist/models/UnitDto.js +8 -24
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* unit of measure according to UN/ECE Recommendation 20 as required by EN 16931
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const UnitCode: {
|
|
16
|
+
readonly P1: "P1";
|
|
17
|
+
readonly Nar: "NAR";
|
|
18
|
+
readonly Kgm: "KGM";
|
|
19
|
+
readonly Kmt: "KMT";
|
|
20
|
+
readonly Kwh: "KWH";
|
|
21
|
+
readonly Ltr: "LTR";
|
|
22
|
+
readonly Mtr: "MTR";
|
|
23
|
+
readonly Mtk: "MTK";
|
|
24
|
+
readonly Mtq: "MTQ";
|
|
25
|
+
readonly Min: "MIN";
|
|
26
|
+
readonly Mmt: "MMT";
|
|
27
|
+
readonly Mmk: "MMK";
|
|
28
|
+
readonly Ls: "LS";
|
|
29
|
+
readonly Npr: "NPR";
|
|
30
|
+
readonly Set: "SET";
|
|
31
|
+
readonly Hur: "HUR";
|
|
32
|
+
readonly C62: "C62";
|
|
33
|
+
readonly Tne: "TNE";
|
|
34
|
+
readonly Day: "DAY";
|
|
35
|
+
readonly Wee: "WEE";
|
|
36
|
+
};
|
|
37
|
+
export type UnitCode = typeof UnitCode[keyof typeof UnitCode];
|
|
38
|
+
export declare function instanceOfUnitCode(value: any): boolean;
|
|
39
|
+
export declare function UnitCodeFromJSON(json: any): UnitCode;
|
|
40
|
+
export declare function UnitCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnitCode;
|
|
41
|
+
export declare function UnitCodeToJSON(value?: UnitCode | null): any;
|
|
42
|
+
export declare function UnitCodeToJSONTyped(value: any, ignoreDiscriminator: boolean): UnitCode;
|
|
@@ -0,0 +1,68 @@
|
|
|
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.UnitCode = void 0;
|
|
16
|
+
exports.instanceOfUnitCode = instanceOfUnitCode;
|
|
17
|
+
exports.UnitCodeFromJSON = UnitCodeFromJSON;
|
|
18
|
+
exports.UnitCodeFromJSONTyped = UnitCodeFromJSONTyped;
|
|
19
|
+
exports.UnitCodeToJSON = UnitCodeToJSON;
|
|
20
|
+
exports.UnitCodeToJSONTyped = UnitCodeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* unit of measure according to UN/ECE Recommendation 20 as required by EN 16931
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.UnitCode = {
|
|
26
|
+
P1: 'P1',
|
|
27
|
+
Nar: 'NAR',
|
|
28
|
+
Kgm: 'KGM',
|
|
29
|
+
Kmt: 'KMT',
|
|
30
|
+
Kwh: 'KWH',
|
|
31
|
+
Ltr: 'LTR',
|
|
32
|
+
Mtr: 'MTR',
|
|
33
|
+
Mtk: 'MTK',
|
|
34
|
+
Mtq: 'MTQ',
|
|
35
|
+
Min: 'MIN',
|
|
36
|
+
Mmt: 'MMT',
|
|
37
|
+
Mmk: 'MMK',
|
|
38
|
+
Ls: 'LS',
|
|
39
|
+
Npr: 'NPR',
|
|
40
|
+
Set: 'SET',
|
|
41
|
+
Hur: 'HUR',
|
|
42
|
+
C62: 'C62',
|
|
43
|
+
Tne: 'TNE',
|
|
44
|
+
Day: 'DAY',
|
|
45
|
+
Wee: 'WEE'
|
|
46
|
+
};
|
|
47
|
+
function instanceOfUnitCode(value) {
|
|
48
|
+
for (var key in exports.UnitCode) {
|
|
49
|
+
if (Object.prototype.hasOwnProperty.call(exports.UnitCode, key)) {
|
|
50
|
+
if (exports.UnitCode[key] === value) {
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
return false;
|
|
56
|
+
}
|
|
57
|
+
function UnitCodeFromJSON(json) {
|
|
58
|
+
return UnitCodeFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function UnitCodeFromJSONTyped(json, ignoreDiscriminator) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
function UnitCodeToJSON(value) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
function UnitCodeToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
+
return value;
|
|
68
|
+
}
|
package/dist/models/UnitDto.d.ts
CHANGED
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* https://openapi-generator.tech
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
|
+
import type { UnitCode } from './UnitCode';
|
|
11
12
|
/**
|
|
12
13
|
*
|
|
13
14
|
* @export
|
|
@@ -37,39 +38,20 @@ export interface UnitDto {
|
|
|
37
38
|
* @type {string}
|
|
38
39
|
* @memberof UnitDto
|
|
39
40
|
*/
|
|
40
|
-
|
|
41
|
+
symbol: string;
|
|
41
42
|
/**
|
|
42
43
|
*
|
|
43
|
-
* @type {
|
|
44
|
+
* @type {UnitCode}
|
|
44
45
|
* @memberof UnitDto
|
|
45
46
|
*/
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
*
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof UnitDto
|
|
51
|
-
*/
|
|
52
|
-
symbol: string;
|
|
47
|
+
code: UnitCode;
|
|
53
48
|
/**
|
|
54
49
|
*
|
|
55
50
|
* @type {number}
|
|
56
51
|
* @memberof UnitDto
|
|
57
52
|
*/
|
|
58
|
-
|
|
53
|
+
baseQuantity: number;
|
|
59
54
|
}
|
|
60
|
-
/**
|
|
61
|
-
* @export
|
|
62
|
-
*/
|
|
63
|
-
export declare const UnitDtoBaseEnum: {
|
|
64
|
-
readonly Metre: "METRE";
|
|
65
|
-
readonly Squaremetre: "SQUAREMETRE";
|
|
66
|
-
readonly Cubicmetre: "CUBICMETRE";
|
|
67
|
-
readonly Gram: "GRAM";
|
|
68
|
-
readonly Second: "SECOND";
|
|
69
|
-
readonly Piece: "PIECE";
|
|
70
|
-
readonly Money: "MONEY";
|
|
71
|
-
};
|
|
72
|
-
export type UnitDtoBaseEnum = typeof UnitDtoBaseEnum[keyof typeof UnitDtoBaseEnum];
|
|
73
55
|
/**
|
|
74
56
|
* Check if a given object implements the UnitDto interface.
|
|
75
57
|
*/
|
package/dist/models/UnitDto.js
CHANGED
|
@@ -12,37 +12,23 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.UnitDtoBaseEnum = void 0;
|
|
16
15
|
exports.instanceOfUnitDto = instanceOfUnitDto;
|
|
17
16
|
exports.UnitDtoFromJSON = UnitDtoFromJSON;
|
|
18
17
|
exports.UnitDtoFromJSONTyped = UnitDtoFromJSONTyped;
|
|
19
18
|
exports.UnitDtoToJSON = UnitDtoToJSON;
|
|
20
19
|
exports.UnitDtoToJSONTyped = UnitDtoToJSONTyped;
|
|
21
|
-
|
|
22
|
-
* @export
|
|
23
|
-
*/
|
|
24
|
-
exports.UnitDtoBaseEnum = {
|
|
25
|
-
Metre: 'METRE',
|
|
26
|
-
Squaremetre: 'SQUAREMETRE',
|
|
27
|
-
Cubicmetre: 'CUBICMETRE',
|
|
28
|
-
Gram: 'GRAM',
|
|
29
|
-
Second: 'SECOND',
|
|
30
|
-
Piece: 'PIECE',
|
|
31
|
-
Money: 'MONEY'
|
|
32
|
-
};
|
|
20
|
+
var UnitCode_1 = require("./UnitCode");
|
|
33
21
|
/**
|
|
34
22
|
* Check if a given object implements the UnitDto interface.
|
|
35
23
|
*/
|
|
36
24
|
function instanceOfUnitDto(value) {
|
|
37
25
|
if (!('name' in value) || value['name'] === undefined)
|
|
38
26
|
return false;
|
|
39
|
-
if (!('base' in value) || value['base'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
if (!('shortHand' in value) || value['shortHand'] === undefined)
|
|
42
|
-
return false;
|
|
43
27
|
if (!('symbol' in value) || value['symbol'] === undefined)
|
|
44
28
|
return false;
|
|
45
|
-
if (!('
|
|
29
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('baseQuantity' in value) || value['baseQuantity'] === undefined)
|
|
46
32
|
return false;
|
|
47
33
|
return true;
|
|
48
34
|
}
|
|
@@ -57,10 +43,9 @@ function UnitDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
43
|
'id': json['id'] == null ? undefined : json['id'],
|
|
58
44
|
'version': json['version'] == null ? undefined : json['version'],
|
|
59
45
|
'name': json['name'],
|
|
60
|
-
'base': json['base'],
|
|
61
|
-
'shortHand': json['shortHand'],
|
|
62
46
|
'symbol': json['symbol'],
|
|
63
|
-
'
|
|
47
|
+
'code': (0, UnitCode_1.UnitCodeFromJSON)(json['code']),
|
|
48
|
+
'baseQuantity': json['baseQuantity'],
|
|
64
49
|
};
|
|
65
50
|
}
|
|
66
51
|
function UnitDtoToJSON(json) {
|
|
@@ -73,9 +58,8 @@ function UnitDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
73
58
|
}
|
|
74
59
|
return {
|
|
75
60
|
'name': value['name'],
|
|
76
|
-
'base': value['base'],
|
|
77
|
-
'shortHand': value['shortHand'],
|
|
78
61
|
'symbol': value['symbol'],
|
|
79
|
-
'
|
|
62
|
+
'code': (0, UnitCode_1.UnitCodeToJSON)(value['code']),
|
|
63
|
+
'baseQuantity': value['baseQuantity'],
|
|
80
64
|
};
|
|
81
65
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export * from './GetAllPages200Response';
|
|
|
151
151
|
export * from './GetAllPayments200Response';
|
|
152
152
|
export * from './GetAllPresenceEntries200Response';
|
|
153
153
|
export * from './GetAllPresenceTypes200Response';
|
|
154
|
+
export * from './GetAllProducts200Response';
|
|
154
155
|
export * from './GetAllReferences200Response';
|
|
155
156
|
export * from './GetAllRegistrations200Response';
|
|
156
157
|
export * from './GetAllResults200Response';
|
|
@@ -220,6 +221,7 @@ export * from './ParticipantStatus';
|
|
|
220
221
|
export * from './PatternDto';
|
|
221
222
|
export * from './PaymentConfigurationDto';
|
|
222
223
|
export * from './PaymentInvoiceDto';
|
|
224
|
+
export * from './PaymentProductDto';
|
|
223
225
|
export * from './PaymentUriResponseDto';
|
|
224
226
|
export * from './PaymentsDto';
|
|
225
227
|
export * from './Permissions';
|
|
@@ -260,6 +262,7 @@ export * from './TimesDto';
|
|
|
260
262
|
export * from './UiConfigurationDto';
|
|
261
263
|
export * from './UiLandingWelcomeConfigDto';
|
|
262
264
|
export * from './UiModule';
|
|
265
|
+
export * from './UnitCode';
|
|
263
266
|
export * from './UnitDto';
|
|
264
267
|
export * from './UsageMetricType';
|
|
265
268
|
export * from './UsageMonitorDto';
|
package/dist/models/index.js
CHANGED
|
@@ -169,6 +169,7 @@ __exportStar(require("./GetAllPages200Response"), exports);
|
|
|
169
169
|
__exportStar(require("./GetAllPayments200Response"), exports);
|
|
170
170
|
__exportStar(require("./GetAllPresenceEntries200Response"), exports);
|
|
171
171
|
__exportStar(require("./GetAllPresenceTypes200Response"), exports);
|
|
172
|
+
__exportStar(require("./GetAllProducts200Response"), exports);
|
|
172
173
|
__exportStar(require("./GetAllReferences200Response"), exports);
|
|
173
174
|
__exportStar(require("./GetAllRegistrations200Response"), exports);
|
|
174
175
|
__exportStar(require("./GetAllResults200Response"), exports);
|
|
@@ -238,6 +239,7 @@ __exportStar(require("./ParticipantStatus"), exports);
|
|
|
238
239
|
__exportStar(require("./PatternDto"), exports);
|
|
239
240
|
__exportStar(require("./PaymentConfigurationDto"), exports);
|
|
240
241
|
__exportStar(require("./PaymentInvoiceDto"), exports);
|
|
242
|
+
__exportStar(require("./PaymentProductDto"), exports);
|
|
241
243
|
__exportStar(require("./PaymentUriResponseDto"), exports);
|
|
242
244
|
__exportStar(require("./PaymentsDto"), exports);
|
|
243
245
|
__exportStar(require("./Permissions"), exports);
|
|
@@ -278,6 +280,7 @@ __exportStar(require("./TimesDto"), exports);
|
|
|
278
280
|
__exportStar(require("./UiConfigurationDto"), exports);
|
|
279
281
|
__exportStar(require("./UiLandingWelcomeConfigDto"), exports);
|
|
280
282
|
__exportStar(require("./UiModule"), exports);
|
|
283
|
+
__exportStar(require("./UnitCode"), exports);
|
|
281
284
|
__exportStar(require("./UnitDto"), exports);
|
|
282
285
|
__exportStar(require("./UsageMetricType"), exports);
|
|
283
286
|
__exportStar(require("./UsageMonitorDto"), exports);
|