@kommerz/ts-client 1.188.0 → 1.189.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/AcceptancePortalDocumentsApi.d.ts +17 -27
- package/dist/apis/AcceptancePortalDocumentsApi.js +30 -75
- package/dist/apis/AttributeTypesApi.d.ts +121 -0
- package/dist/apis/AttributeTypesApi.js +387 -0
- package/dist/apis/FileDirectorySharesApi.d.ts +26 -10
- package/dist/apis/FileDirectorySharesApi.js +40 -20
- package/dist/apis/FormsPortalApi.d.ts +12 -4
- package/dist/apis/FormsPortalApi.js +20 -8
- package/dist/apis/InvoicePortalApi.d.ts +4 -18
- package/dist/apis/InvoicePortalApi.js +5 -62
- package/dist/apis/TenantPortalApi.d.ts +35 -0
- package/dist/apis/TenantPortalApi.js +138 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/AttributeTypeDto.d.ts +51 -0
- package/dist/models/AttributeTypeDto.js +66 -0
- package/dist/models/CustomerDto.d.ts +8 -0
- package/dist/models/CustomerDto.js +4 -0
- package/dist/models/EntityAttributeDto.d.ts +49 -0
- package/dist/models/EntityAttributeDto.js +68 -0
- package/dist/models/EntityType.d.ts +1 -0
- package/dist/models/EntityType.js +1 -0
- package/dist/models/FileDetailsDto.d.ts +8 -0
- package/dist/models/FileDetailsDto.js +4 -0
- package/dist/models/GetAllAttributeTypes200Response.d.ts +42 -0
- package/dist/models/GetAllAttributeTypes200Response.js +59 -0
- package/dist/models/InvoicePortalDocumentDto.d.ts +5 -0
- package/dist/models/InvoicePortalDocumentDto.js +3 -0
- package/dist/models/Permissions.d.ts +4 -0
- package/dist/models/Permissions.js +4 -0
- package/dist/models/ProductDto.d.ts +8 -0
- package/dist/models/ProductDto.js +4 -0
- package/dist/models/PublicShareListingDto.d.ts +4 -0
- package/dist/models/PublicShareListingDto.js +4 -0
- package/dist/models/PublicTenantLegalInfoDto.d.ts +53 -0
- package/dist/models/PublicTenantLegalInfoDto.js +60 -0
- package/dist/models/PublicTenantPageDto.d.ts +52 -0
- package/dist/models/PublicTenantPageDto.js +65 -0
- package/dist/models/TenantConfigurationDto.d.ts +4 -0
- package/dist/models/TenantConfigurationDto.js +2 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/package.json +1 -1
|
@@ -85,6 +85,7 @@ export declare const EntityType: {
|
|
|
85
85
|
readonly EditorType: "EditorType";
|
|
86
86
|
readonly DecisionTable: "DecisionTable";
|
|
87
87
|
readonly AccessToken: "AccessToken";
|
|
88
|
+
readonly AttributeType: "AttributeType";
|
|
88
89
|
};
|
|
89
90
|
export type EntityType = typeof EntityType[keyof typeof EntityType];
|
|
90
91
|
export declare function instanceOfEntityType(value: any): boolean;
|
|
@@ -54,6 +54,14 @@ export interface FileDetailsDto {
|
|
|
54
54
|
*
|
|
55
55
|
*/
|
|
56
56
|
inferred?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
attributeTypeId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Values for the attributes of the attribute type, keyed by the attribute key
|
|
63
|
+
*/
|
|
64
|
+
typeAttributes?: any;
|
|
57
65
|
}
|
|
58
66
|
/**
|
|
59
67
|
* Check if a given object implements the FileDetailsDto interface.
|
|
@@ -42,6 +42,8 @@ function FileDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'expires': json['expires'] == null ? undefined : json['expires'],
|
|
43
43
|
'tagIds': json['tagIds'] == null ? undefined : json['tagIds'],
|
|
44
44
|
'inferred': json['inferred'] == null ? undefined : json['inferred'],
|
|
45
|
+
'attributeTypeId': json['attributeTypeId'] == null ? undefined : json['attributeTypeId'],
|
|
46
|
+
'typeAttributes': json['typeAttributes'] == null ? undefined : json['typeAttributes'],
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
function FileDetailsDtoToJSON(json) {
|
|
@@ -61,5 +63,7 @@ function FileDetailsDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
61
63
|
'parentId': value['parentId'],
|
|
62
64
|
'tagIds': value['tagIds'],
|
|
63
65
|
'inferred': value['inferred'],
|
|
66
|
+
'attributeTypeId': value['attributeTypeId'],
|
|
67
|
+
'typeAttributes': value['typeAttributes'],
|
|
64
68
|
};
|
|
65
69
|
}
|
|
@@ -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
|
+
import type { AttributeTypeDto } from './AttributeTypeDto';
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface GetAllAttributeTypes200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetAllAttributeTypes200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
pageNumber?: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
pageSize?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
totalElements: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
content: Array<AttributeTypeDto>;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the GetAllAttributeTypes200Response interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfGetAllAttributeTypes200Response(value: object): value is GetAllAttributeTypes200Response;
|
|
39
|
+
export declare function GetAllAttributeTypes200ResponseFromJSON(json: any): GetAllAttributeTypes200Response;
|
|
40
|
+
export declare function GetAllAttributeTypes200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllAttributeTypes200Response;
|
|
41
|
+
export declare function GetAllAttributeTypes200ResponseToJSON(json: any): GetAllAttributeTypes200Response;
|
|
42
|
+
export declare function GetAllAttributeTypes200ResponseToJSONTyped(value?: GetAllAttributeTypes200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,59 @@
|
|
|
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.instanceOfGetAllAttributeTypes200Response = instanceOfGetAllAttributeTypes200Response;
|
|
16
|
+
exports.GetAllAttributeTypes200ResponseFromJSON = GetAllAttributeTypes200ResponseFromJSON;
|
|
17
|
+
exports.GetAllAttributeTypes200ResponseFromJSONTyped = GetAllAttributeTypes200ResponseFromJSONTyped;
|
|
18
|
+
exports.GetAllAttributeTypes200ResponseToJSON = GetAllAttributeTypes200ResponseToJSON;
|
|
19
|
+
exports.GetAllAttributeTypes200ResponseToJSONTyped = GetAllAttributeTypes200ResponseToJSONTyped;
|
|
20
|
+
var AttributeTypeDto_1 = require("./AttributeTypeDto");
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetAllAttributeTypes200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGetAllAttributeTypes200Response(value) {
|
|
25
|
+
if (!('totalElements' in value) || value['totalElements'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('content' in value) || value['content'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function GetAllAttributeTypes200ResponseFromJSON(json) {
|
|
32
|
+
return GetAllAttributeTypes200ResponseFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function GetAllAttributeTypes200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'pageNumber': json['pageNumber'] == null ? undefined : json['pageNumber'],
|
|
40
|
+
'pageSize': json['pageSize'] == null ? undefined : json['pageSize'],
|
|
41
|
+
'totalElements': json['totalElements'],
|
|
42
|
+
'content': (json['content'].map(AttributeTypeDto_1.AttributeTypeDtoFromJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
function GetAllAttributeTypes200ResponseToJSON(json) {
|
|
46
|
+
return GetAllAttributeTypes200ResponseToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
function GetAllAttributeTypes200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
50
|
+
if (value == null) {
|
|
51
|
+
return value;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'pageNumber': value['pageNumber'],
|
|
55
|
+
'pageSize': value['pageSize'],
|
|
56
|
+
'totalElements': value['totalElements'],
|
|
57
|
+
'content': (value['content'].map(AttributeTypeDto_1.AttributeTypeDtoToJSON)),
|
|
58
|
+
};
|
|
59
|
+
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { InvoiceItemDto } from './InvoiceItemDto';
|
|
12
|
+
import type { FileDto } from './FileDto';
|
|
12
13
|
import type { AcceptanceDocumentSenderInfo } from './AcceptanceDocumentSenderInfo';
|
|
13
14
|
import type { AmountDto } from './AmountDto';
|
|
14
15
|
import type { AddressDto } from './AddressDto';
|
|
@@ -67,6 +68,10 @@ export interface InvoicePortalDocumentDto {
|
|
|
67
68
|
*
|
|
68
69
|
*/
|
|
69
70
|
sender: AcceptanceDocumentSenderInfo;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
*/
|
|
74
|
+
file?: FileDto;
|
|
70
75
|
}
|
|
71
76
|
/**
|
|
72
77
|
* Check if a given object implements the InvoicePortalDocumentDto interface.
|
|
@@ -18,6 +18,7 @@ exports.InvoicePortalDocumentDtoFromJSONTyped = InvoicePortalDocumentDtoFromJSON
|
|
|
18
18
|
exports.InvoicePortalDocumentDtoToJSON = InvoicePortalDocumentDtoToJSON;
|
|
19
19
|
exports.InvoicePortalDocumentDtoToJSONTyped = InvoicePortalDocumentDtoToJSONTyped;
|
|
20
20
|
var InvoiceItemDto_1 = require("./InvoiceItemDto");
|
|
21
|
+
var FileDto_1 = require("./FileDto");
|
|
21
22
|
var AcceptanceDocumentSenderInfo_1 = require("./AcceptanceDocumentSenderInfo");
|
|
22
23
|
var AmountDto_1 = require("./AmountDto");
|
|
23
24
|
var AddressDto_1 = require("./AddressDto");
|
|
@@ -58,6 +59,7 @@ function InvoicePortalDocumentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
59
|
'total': (0, AmountDto_1.AmountDtoFromJSON)(json['total']),
|
|
59
60
|
'showGross': json['showGross'] == null ? undefined : json['showGross'],
|
|
60
61
|
'sender': (0, AcceptanceDocumentSenderInfo_1.AcceptanceDocumentSenderInfoFromJSON)(json['sender']),
|
|
62
|
+
'file': json['file'] == null ? undefined : (0, FileDto_1.FileDtoFromJSON)(json['file']),
|
|
61
63
|
};
|
|
62
64
|
}
|
|
63
65
|
function InvoicePortalDocumentDtoToJSON(json) {
|
|
@@ -81,5 +83,6 @@ function InvoicePortalDocumentDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
81
83
|
'total': (0, AmountDto_1.AmountDtoToJSON)(value['total']),
|
|
82
84
|
'showGross': value['showGross'],
|
|
83
85
|
'sender': (0, AcceptanceDocumentSenderInfo_1.AcceptanceDocumentSenderInfoToJSON)(value['sender']),
|
|
86
|
+
'file': (0, FileDto_1.FileDtoToJSON)(value['file']),
|
|
84
87
|
};
|
|
85
88
|
}
|
|
@@ -48,6 +48,10 @@ export declare const Permissions: {
|
|
|
48
48
|
readonly AccessTokenCreate: "ACCESS_TOKEN_CREATE";
|
|
49
49
|
readonly AccessTokenEdit: "ACCESS_TOKEN_EDIT";
|
|
50
50
|
readonly AccessTokenDelete: "ACCESS_TOKEN_DELETE";
|
|
51
|
+
readonly AttributeTypeRead: "ATTRIBUTE_TYPE_READ";
|
|
52
|
+
readonly AttributeTypeCreate: "ATTRIBUTE_TYPE_CREATE";
|
|
53
|
+
readonly AttributeTypeEdit: "ATTRIBUTE_TYPE_EDIT";
|
|
54
|
+
readonly AttributeTypeDelete: "ATTRIBUTE_TYPE_DELETE";
|
|
51
55
|
};
|
|
52
56
|
export type Permissions = typeof Permissions[keyof typeof Permissions];
|
|
53
57
|
export declare function instanceOfPermissions(value: any): boolean;
|
|
@@ -58,6 +58,10 @@ exports.Permissions = {
|
|
|
58
58
|
AccessTokenCreate: 'ACCESS_TOKEN_CREATE',
|
|
59
59
|
AccessTokenEdit: 'ACCESS_TOKEN_EDIT',
|
|
60
60
|
AccessTokenDelete: 'ACCESS_TOKEN_DELETE',
|
|
61
|
+
AttributeTypeRead: 'ATTRIBUTE_TYPE_READ',
|
|
62
|
+
AttributeTypeCreate: 'ATTRIBUTE_TYPE_CREATE',
|
|
63
|
+
AttributeTypeEdit: 'ATTRIBUTE_TYPE_EDIT',
|
|
64
|
+
AttributeTypeDelete: 'ATTRIBUTE_TYPE_DELETE',
|
|
61
65
|
};
|
|
62
66
|
function instanceOfPermissions(value) {
|
|
63
67
|
for (var key in exports.Permissions) {
|
|
@@ -63,6 +63,14 @@ export interface ProductDto {
|
|
|
63
63
|
* images of the product
|
|
64
64
|
*/
|
|
65
65
|
imageIds?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
*/
|
|
69
|
+
attributeTypeId?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Values for the attributes of the attribute type, keyed by the attribute key
|
|
72
|
+
*/
|
|
73
|
+
typeAttributes?: any;
|
|
66
74
|
}
|
|
67
75
|
/**
|
|
68
76
|
* Check if a given object implements the ProductDto interface.
|
|
@@ -46,6 +46,8 @@ function ProductDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'supplierId': json['supplierId'] == null ? undefined : json['supplierId'],
|
|
47
47
|
'unitId': json['unitId'] == null ? undefined : json['unitId'],
|
|
48
48
|
'imageIds': json['imageIds'] == null ? undefined : json['imageIds'],
|
|
49
|
+
'attributeTypeId': json['attributeTypeId'] == null ? undefined : json['attributeTypeId'],
|
|
50
|
+
'typeAttributes': json['typeAttributes'] == null ? undefined : json['typeAttributes'],
|
|
49
51
|
};
|
|
50
52
|
}
|
|
51
53
|
function ProductDtoToJSON(json) {
|
|
@@ -69,5 +71,7 @@ function ProductDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
71
|
'supplierId': value['supplierId'],
|
|
70
72
|
'unitId': value['unitId'],
|
|
71
73
|
'imageIds': value['imageIds'],
|
|
74
|
+
'attributeTypeId': value['attributeTypeId'],
|
|
75
|
+
'typeAttributes': value['typeAttributes'],
|
|
72
76
|
};
|
|
73
77
|
}
|
|
@@ -15,6 +15,10 @@ import type { PublicShareDirectorDto } from './PublicShareDirectorDto';
|
|
|
15
15
|
* @interface PublicShareListingDto
|
|
16
16
|
*/
|
|
17
17
|
export interface PublicShareListingDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
shareId: string;
|
|
18
22
|
/**
|
|
19
23
|
* unix timestamp in seconds when the access tokens expire
|
|
20
24
|
*/
|
|
@@ -22,6 +22,8 @@ var PublicShareDirectorDto_1 = require("./PublicShareDirectorDto");
|
|
|
22
22
|
* Check if a given object implements the PublicShareListingDto interface.
|
|
23
23
|
*/
|
|
24
24
|
function instanceOfPublicShareListingDto(value) {
|
|
25
|
+
if (!('shareId' in value) || value['shareId'] === undefined)
|
|
26
|
+
return false;
|
|
25
27
|
if (!('expires' in value) || value['expires'] === undefined)
|
|
26
28
|
return false;
|
|
27
29
|
if (!('archiveAccessToken' in value) || value['archiveAccessToken'] === undefined)
|
|
@@ -38,6 +40,7 @@ function PublicShareListingDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
40
|
return json;
|
|
39
41
|
}
|
|
40
42
|
return {
|
|
43
|
+
'shareId': json['shareId'],
|
|
41
44
|
'expires': json['expires'],
|
|
42
45
|
'archiveAccessToken': json['archiveAccessToken'],
|
|
43
46
|
'root': (0, PublicShareDirectorDto_1.PublicShareDirectorDtoFromJSON)(json['root']),
|
|
@@ -52,6 +55,7 @@ function PublicShareListingDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
52
55
|
return value;
|
|
53
56
|
}
|
|
54
57
|
return {
|
|
58
|
+
'shareId': value['shareId'],
|
|
55
59
|
'expires': value['expires'],
|
|
56
60
|
'archiveAccessToken': value['archiveAccessToken'],
|
|
57
61
|
'root': (0, PublicShareDirectorDto_1.PublicShareDirectorDtoToJSON)(value['root']),
|
|
@@ -0,0 +1,53 @@
|
|
|
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
|
+
* legal information of a tenant that is shown on its public page
|
|
13
|
+
* @export
|
|
14
|
+
* @interface PublicTenantLegalInfoDto
|
|
15
|
+
*/
|
|
16
|
+
export interface PublicTenantLegalInfoDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
companyName?: string;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*/
|
|
24
|
+
companyAddendum?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
managingDirectors?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
legalForm?: string;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
localCourt?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
commercialRegister?: string;
|
|
41
|
+
/**
|
|
42
|
+
* VAT ID
|
|
43
|
+
*/
|
|
44
|
+
salesTaxId?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the PublicTenantLegalInfoDto interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfPublicTenantLegalInfoDto(value: object): value is PublicTenantLegalInfoDto;
|
|
50
|
+
export declare function PublicTenantLegalInfoDtoFromJSON(json: any): PublicTenantLegalInfoDto;
|
|
51
|
+
export declare function PublicTenantLegalInfoDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicTenantLegalInfoDto;
|
|
52
|
+
export declare function PublicTenantLegalInfoDtoToJSON(json: any): PublicTenantLegalInfoDto;
|
|
53
|
+
export declare function PublicTenantLegalInfoDtoToJSONTyped(value?: PublicTenantLegalInfoDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,60 @@
|
|
|
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.instanceOfPublicTenantLegalInfoDto = instanceOfPublicTenantLegalInfoDto;
|
|
16
|
+
exports.PublicTenantLegalInfoDtoFromJSON = PublicTenantLegalInfoDtoFromJSON;
|
|
17
|
+
exports.PublicTenantLegalInfoDtoFromJSONTyped = PublicTenantLegalInfoDtoFromJSONTyped;
|
|
18
|
+
exports.PublicTenantLegalInfoDtoToJSON = PublicTenantLegalInfoDtoToJSON;
|
|
19
|
+
exports.PublicTenantLegalInfoDtoToJSONTyped = PublicTenantLegalInfoDtoToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PublicTenantLegalInfoDto interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfPublicTenantLegalInfoDto(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function PublicTenantLegalInfoDtoFromJSON(json) {
|
|
27
|
+
return PublicTenantLegalInfoDtoFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function PublicTenantLegalInfoDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'companyName': json['companyName'] == null ? undefined : json['companyName'],
|
|
35
|
+
'companyAddendum': json['companyAddendum'] == null ? undefined : json['companyAddendum'],
|
|
36
|
+
'managingDirectors': json['managingDirectors'] == null ? undefined : json['managingDirectors'],
|
|
37
|
+
'legalForm': json['legalForm'] == null ? undefined : json['legalForm'],
|
|
38
|
+
'localCourt': json['localCourt'] == null ? undefined : json['localCourt'],
|
|
39
|
+
'commercialRegister': json['commercialRegister'] == null ? undefined : json['commercialRegister'],
|
|
40
|
+
'salesTaxId': json['salesTaxId'] == null ? undefined : json['salesTaxId'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function PublicTenantLegalInfoDtoToJSON(json) {
|
|
44
|
+
return PublicTenantLegalInfoDtoToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function PublicTenantLegalInfoDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'companyName': value['companyName'],
|
|
53
|
+
'companyAddendum': value['companyAddendum'],
|
|
54
|
+
'managingDirectors': value['managingDirectors'],
|
|
55
|
+
'legalForm': value['legalForm'],
|
|
56
|
+
'localCourt': value['localCourt'],
|
|
57
|
+
'commercialRegister': value['commercialRegister'],
|
|
58
|
+
'salesTaxId': value['salesTaxId'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { ContactDto } from './ContactDto';
|
|
12
|
+
import type { PublicTenantLegalInfoDto } from './PublicTenantLegalInfoDto';
|
|
13
|
+
import type { AddressDto } from './AddressDto';
|
|
14
|
+
/**
|
|
15
|
+
* public page of a tenant. Without the opt-in of the tenant only the name is filled.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PublicTenantPageDto
|
|
18
|
+
*/
|
|
19
|
+
export interface PublicTenantPageDto {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* whether the tenant has fully enabled its public page
|
|
26
|
+
*/
|
|
27
|
+
publicPageEnabled: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* base 64 encoded logo
|
|
30
|
+
*/
|
|
31
|
+
logo?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
address?: AddressDto;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
contact?: ContactDto;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
legalInfo?: PublicTenantLegalInfoDto;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the PublicTenantPageDto interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfPublicTenantPageDto(value: object): value is PublicTenantPageDto;
|
|
49
|
+
export declare function PublicTenantPageDtoFromJSON(json: any): PublicTenantPageDto;
|
|
50
|
+
export declare function PublicTenantPageDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): PublicTenantPageDto;
|
|
51
|
+
export declare function PublicTenantPageDtoToJSON(json: any): PublicTenantPageDto;
|
|
52
|
+
export declare function PublicTenantPageDtoToJSONTyped(value?: PublicTenantPageDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,65 @@
|
|
|
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.instanceOfPublicTenantPageDto = instanceOfPublicTenantPageDto;
|
|
16
|
+
exports.PublicTenantPageDtoFromJSON = PublicTenantPageDtoFromJSON;
|
|
17
|
+
exports.PublicTenantPageDtoFromJSONTyped = PublicTenantPageDtoFromJSONTyped;
|
|
18
|
+
exports.PublicTenantPageDtoToJSON = PublicTenantPageDtoToJSON;
|
|
19
|
+
exports.PublicTenantPageDtoToJSONTyped = PublicTenantPageDtoToJSONTyped;
|
|
20
|
+
var ContactDto_1 = require("./ContactDto");
|
|
21
|
+
var PublicTenantLegalInfoDto_1 = require("./PublicTenantLegalInfoDto");
|
|
22
|
+
var AddressDto_1 = require("./AddressDto");
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the PublicTenantPageDto interface.
|
|
25
|
+
*/
|
|
26
|
+
function instanceOfPublicTenantPageDto(value) {
|
|
27
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('publicPageEnabled' in value) || value['publicPageEnabled'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
function PublicTenantPageDtoFromJSON(json) {
|
|
34
|
+
return PublicTenantPageDtoFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
function PublicTenantPageDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'name': json['name'],
|
|
42
|
+
'publicPageEnabled': json['publicPageEnabled'],
|
|
43
|
+
'logo': json['logo'] == null ? undefined : json['logo'],
|
|
44
|
+
'address': json['address'] == null ? undefined : (0, AddressDto_1.AddressDtoFromJSON)(json['address']),
|
|
45
|
+
'contact': json['contact'] == null ? undefined : (0, ContactDto_1.ContactDtoFromJSON)(json['contact']),
|
|
46
|
+
'legalInfo': json['legalInfo'] == null ? undefined : (0, PublicTenantLegalInfoDto_1.PublicTenantLegalInfoDtoFromJSON)(json['legalInfo']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
function PublicTenantPageDtoToJSON(json) {
|
|
50
|
+
return PublicTenantPageDtoToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
function PublicTenantPageDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'name': value['name'],
|
|
59
|
+
'publicPageEnabled': value['publicPageEnabled'],
|
|
60
|
+
'logo': value['logo'],
|
|
61
|
+
'address': (0, AddressDto_1.AddressDtoToJSON)(value['address']),
|
|
62
|
+
'contact': (0, ContactDto_1.ContactDtoToJSON)(value['contact']),
|
|
63
|
+
'legalInfo': (0, PublicTenantLegalInfoDto_1.PublicTenantLegalInfoDtoToJSON)(value['legalInfo']),
|
|
64
|
+
};
|
|
65
|
+
}
|
|
@@ -32,6 +32,10 @@ export interface TenantConfigurationDto {
|
|
|
32
32
|
*
|
|
33
33
|
*/
|
|
34
34
|
locale?: string;
|
|
35
|
+
/**
|
|
36
|
+
* whether the public page of the tenant (/@handle) shows logo, address, contact and legal information. Otherwise it only shows the name.
|
|
37
|
+
*/
|
|
38
|
+
publicPageEnabled?: boolean;
|
|
35
39
|
/**
|
|
36
40
|
*
|
|
37
41
|
*/
|
|
@@ -37,6 +37,7 @@ function TenantConfigurationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'timeZoneId': json['timeZoneId'] == null ? undefined : json['timeZoneId'],
|
|
38
38
|
'timeZoneOffset': json['timeZoneOffset'] == null ? undefined : json['timeZoneOffset'],
|
|
39
39
|
'locale': json['locale'] == null ? undefined : json['locale'],
|
|
40
|
+
'publicPageEnabled': json['publicPageEnabled'] == null ? undefined : json['publicPageEnabled'],
|
|
40
41
|
'payment': json['payment'] == null ? undefined : (0, PaymentConfigurationDto_1.PaymentConfigurationDtoFromJSON)(json['payment']),
|
|
41
42
|
'ui': json['ui'] == null ? undefined : (0, UiConfigurationDto_1.UiConfigurationDtoFromJSON)(json['ui']),
|
|
42
43
|
};
|
|
@@ -54,6 +55,7 @@ function TenantConfigurationDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
54
55
|
'timeZoneId': value['timeZoneId'],
|
|
55
56
|
'timeZoneOffset': value['timeZoneOffset'],
|
|
56
57
|
'locale': value['locale'],
|
|
58
|
+
'publicPageEnabled': value['publicPageEnabled'],
|
|
57
59
|
'payment': (0, PaymentConfigurationDto_1.PaymentConfigurationDtoToJSON)(value['payment']),
|
|
58
60
|
'ui': (0, UiConfigurationDto_1.UiConfigurationDtoToJSON)(value['ui']),
|
|
59
61
|
};
|
package/dist/models/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export * from './ApprovalEntryDto';
|
|
|
44
44
|
export * from './ApprovalModeEnum';
|
|
45
45
|
export * from './ApprovalStatusEnum';
|
|
46
46
|
export * from './ApprovalTypeDto';
|
|
47
|
+
export * from './AttributeTypeDto';
|
|
47
48
|
export * from './BankAccountDto';
|
|
48
49
|
export * from './BankAccountRegistrationDto';
|
|
49
50
|
export * from './BankConnectionDto';
|
|
@@ -101,6 +102,7 @@ export * from './EmailDto';
|
|
|
101
102
|
export * from './EmailEvent';
|
|
102
103
|
export * from './EmailInlineImageDto';
|
|
103
104
|
export * from './EntityAccessTokenDto';
|
|
105
|
+
export * from './EntityAttributeDto';
|
|
104
106
|
export * from './EntityReference';
|
|
105
107
|
export * from './EntityType';
|
|
106
108
|
export * from './FeatureDto';
|
|
@@ -136,6 +138,7 @@ export * from './GetAllAccounts200Response';
|
|
|
136
138
|
export * from './GetAllActivities200Response';
|
|
137
139
|
export * from './GetAllApprovalEntries200Response';
|
|
138
140
|
export * from './GetAllApprovalTypes200Response';
|
|
141
|
+
export * from './GetAllAttributeTypes200Response';
|
|
139
142
|
export * from './GetAllBankDetails200Response';
|
|
140
143
|
export * from './GetAllCalendarEntries200Response';
|
|
141
144
|
export * from './GetAllCalendarEntryTypes200Response';
|
|
@@ -258,6 +261,8 @@ export * from './PublicShareDirectorDto';
|
|
|
258
261
|
export * from './PublicShareDto';
|
|
259
262
|
export * from './PublicShareFileDto';
|
|
260
263
|
export * from './PublicShareListingDto';
|
|
264
|
+
export * from './PublicTenantLegalInfoDto';
|
|
265
|
+
export * from './PublicTenantPageDto';
|
|
261
266
|
export * from './ReferenceDto';
|
|
262
267
|
export * from './RegisterUserDto';
|
|
263
268
|
export * from './RoleDto';
|
package/dist/models/index.js
CHANGED
|
@@ -62,6 +62,7 @@ __exportStar(require("./ApprovalEntryDto"), exports);
|
|
|
62
62
|
__exportStar(require("./ApprovalModeEnum"), exports);
|
|
63
63
|
__exportStar(require("./ApprovalStatusEnum"), exports);
|
|
64
64
|
__exportStar(require("./ApprovalTypeDto"), exports);
|
|
65
|
+
__exportStar(require("./AttributeTypeDto"), exports);
|
|
65
66
|
__exportStar(require("./BankAccountDto"), exports);
|
|
66
67
|
__exportStar(require("./BankAccountRegistrationDto"), exports);
|
|
67
68
|
__exportStar(require("./BankConnectionDto"), exports);
|
|
@@ -119,6 +120,7 @@ __exportStar(require("./EmailDto"), exports);
|
|
|
119
120
|
__exportStar(require("./EmailEvent"), exports);
|
|
120
121
|
__exportStar(require("./EmailInlineImageDto"), exports);
|
|
121
122
|
__exportStar(require("./EntityAccessTokenDto"), exports);
|
|
123
|
+
__exportStar(require("./EntityAttributeDto"), exports);
|
|
122
124
|
__exportStar(require("./EntityReference"), exports);
|
|
123
125
|
__exportStar(require("./EntityType"), exports);
|
|
124
126
|
__exportStar(require("./FeatureDto"), exports);
|
|
@@ -154,6 +156,7 @@ __exportStar(require("./GetAllAccounts200Response"), exports);
|
|
|
154
156
|
__exportStar(require("./GetAllActivities200Response"), exports);
|
|
155
157
|
__exportStar(require("./GetAllApprovalEntries200Response"), exports);
|
|
156
158
|
__exportStar(require("./GetAllApprovalTypes200Response"), exports);
|
|
159
|
+
__exportStar(require("./GetAllAttributeTypes200Response"), exports);
|
|
157
160
|
__exportStar(require("./GetAllBankDetails200Response"), exports);
|
|
158
161
|
__exportStar(require("./GetAllCalendarEntries200Response"), exports);
|
|
159
162
|
__exportStar(require("./GetAllCalendarEntryTypes200Response"), exports);
|
|
@@ -276,6 +279,8 @@ __exportStar(require("./PublicShareDirectorDto"), exports);
|
|
|
276
279
|
__exportStar(require("./PublicShareDto"), exports);
|
|
277
280
|
__exportStar(require("./PublicShareFileDto"), exports);
|
|
278
281
|
__exportStar(require("./PublicShareListingDto"), exports);
|
|
282
|
+
__exportStar(require("./PublicTenantLegalInfoDto"), exports);
|
|
283
|
+
__exportStar(require("./PublicTenantPageDto"), exports);
|
|
279
284
|
__exportStar(require("./ReferenceDto"), exports);
|
|
280
285
|
__exportStar(require("./RegisterUserDto"), exports);
|
|
281
286
|
__exportStar(require("./RoleDto"), exports);
|