@kommerz/ts-client 1.139.0 → 1.141.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/DeliveryNotesApi.d.ts +0 -11
- package/dist/apis/DeliveryNotesApi.js +0 -44
- package/dist/apis/DunningLettersApi.d.ts +0 -11
- package/dist/apis/DunningLettersApi.js +0 -44
- package/dist/apis/OffersApi.d.ts +11 -0
- package/dist/apis/OffersApi.js +44 -0
- package/dist/apis/TagRelationsApi.d.ts +63 -0
- package/dist/apis/TagRelationsApi.js +264 -0
- package/dist/apis/TagsApi.d.ts +86 -0
- package/dist/apis/TagsApi.js +357 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/models/CreateTagRelationsDto.d.ts +48 -0
- package/dist/models/CreateTagRelationsDto.js +57 -0
- package/dist/models/GetAllTags200Response.d.ts +49 -0
- package/dist/models/GetAllTags200Response.js +59 -0
- package/dist/models/OfferDto.d.ts +18 -14
- package/dist/models/OfferDto.js +8 -10
- package/dist/models/TagDto.d.ts +48 -0
- package/dist/models/TagDto.js +57 -0
- package/dist/models/TagRelationDto.d.ts +42 -0
- package/dist/models/TagRelationDto.js +55 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
package/dist/models/OfferDto.js
CHANGED
|
@@ -12,25 +12,19 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.OfferDtoToJSON = exports.OfferDtoFromJSONTyped = exports.OfferDtoFromJSON = exports.instanceOfOfferDto =
|
|
15
|
+
exports.OfferDtoToJSON = exports.OfferDtoFromJSONTyped = exports.OfferDtoFromJSON = exports.instanceOfOfferDto = void 0;
|
|
16
16
|
var runtime_1 = require("../runtime");
|
|
17
17
|
var AddressDto_1 = require("./AddressDto");
|
|
18
18
|
var AmountDto_1 = require("./AmountDto");
|
|
19
19
|
var InvoiceItemDto_1 = require("./InvoiceItemDto");
|
|
20
20
|
var InvoiceTaxItemDto_1 = require("./InvoiceTaxItemDto");
|
|
21
21
|
var InvoiceTextFieldsDto_1 = require("./InvoiceTextFieldsDto");
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.OfferDtoStatusEnum = {
|
|
26
|
-
Draft: 'DRAFT',
|
|
27
|
-
Done: 'DONE'
|
|
28
|
-
};
|
|
29
22
|
/**
|
|
30
23
|
* Check if a given object implements the OfferDto interface.
|
|
31
24
|
*/
|
|
32
25
|
function instanceOfOfferDto(value) {
|
|
33
26
|
var isInstance = true;
|
|
27
|
+
isInstance = isInstance && "daysOfGrace" in value;
|
|
34
28
|
isInstance = isInstance && "offerAddress" in value;
|
|
35
29
|
isInstance = isInstance && "subject" in value;
|
|
36
30
|
isInstance = isInstance && "textFields" in value;
|
|
@@ -49,6 +43,9 @@ function OfferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
43
|
return {
|
|
50
44
|
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
51
45
|
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
46
|
+
'finalized': !(0, runtime_1.exists)(json, 'finalized') ? undefined : json['finalized'],
|
|
47
|
+
'daysOfGrace': json['daysOfGrace'],
|
|
48
|
+
'dueDate': !(0, runtime_1.exists)(json, 'dueDate') ? undefined : (new Date(json['dueDate'])),
|
|
52
49
|
'offerEmail': !(0, runtime_1.exists)(json, 'offerEmail') ? undefined : json['offerEmail'],
|
|
53
50
|
'offerAddress': (0, AddressDto_1.AddressDtoFromJSON)(json['offerAddress']),
|
|
54
51
|
'offerDate': !(0, runtime_1.exists)(json, 'offerDate') ? undefined : (new Date(json['offerDate'])),
|
|
@@ -60,7 +57,6 @@ function OfferDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
57
|
'offerItems': !(0, runtime_1.exists)(json, 'offerItems') ? undefined : (json['offerItems'].map(InvoiceItemDto_1.InvoiceItemDtoFromJSON)),
|
|
61
58
|
'offerTaxItems': !(0, runtime_1.exists)(json, 'offerTaxItems') ? undefined : (json['offerTaxItems'].map(InvoiceTaxItemDto_1.InvoiceTaxItemDtoFromJSON)),
|
|
62
59
|
'textFields': (0, InvoiceTextFieldsDto_1.InvoiceTextFieldsDtoFromJSON)(json['textFields']),
|
|
63
|
-
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
|
|
64
60
|
'designTemplateId': json['designTemplateId'],
|
|
65
61
|
'fileId': !(0, runtime_1.exists)(json, 'fileId') ? undefined : json['fileId'],
|
|
66
62
|
};
|
|
@@ -76,6 +72,9 @@ function OfferDtoToJSON(value) {
|
|
|
76
72
|
return {
|
|
77
73
|
'id': value.id,
|
|
78
74
|
'version': value.version,
|
|
75
|
+
'finalized': value.finalized,
|
|
76
|
+
'daysOfGrace': value.daysOfGrace,
|
|
77
|
+
'dueDate': value.dueDate === undefined ? undefined : (value.dueDate.toISOString().substring(0, 10)),
|
|
79
78
|
'offerEmail': value.offerEmail,
|
|
80
79
|
'offerAddress': (0, AddressDto_1.AddressDtoToJSON)(value.offerAddress),
|
|
81
80
|
'offerDate': value.offerDate === undefined ? undefined : (value.offerDate.toISOString().substring(0, 10)),
|
|
@@ -87,7 +86,6 @@ function OfferDtoToJSON(value) {
|
|
|
87
86
|
'offerItems': value.offerItems === undefined ? undefined : (value.offerItems.map(InvoiceItemDto_1.InvoiceItemDtoToJSON)),
|
|
88
87
|
'offerTaxItems': value.offerTaxItems === undefined ? undefined : (value.offerTaxItems.map(InvoiceTaxItemDto_1.InvoiceTaxItemDtoToJSON)),
|
|
89
88
|
'textFields': (0, InvoiceTextFieldsDto_1.InvoiceTextFieldsDtoToJSON)(value.textFields),
|
|
90
|
-
'status': value.status,
|
|
91
89
|
'designTemplateId': value.designTemplateId,
|
|
92
90
|
'fileId': value.fileId,
|
|
93
91
|
};
|
|
@@ -0,0 +1,48 @@
|
|
|
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 TagDto
|
|
15
|
+
*/
|
|
16
|
+
export interface TagDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof TagDto
|
|
21
|
+
*/
|
|
22
|
+
id?: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof TagDto
|
|
27
|
+
*/
|
|
28
|
+
version?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TagDto
|
|
33
|
+
*/
|
|
34
|
+
name: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof TagDto
|
|
39
|
+
*/
|
|
40
|
+
color: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the TagDto interface.
|
|
44
|
+
*/
|
|
45
|
+
export declare function instanceOfTagDto(value: object): boolean;
|
|
46
|
+
export declare function TagDtoFromJSON(json: any): TagDto;
|
|
47
|
+
export declare function TagDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagDto;
|
|
48
|
+
export declare function TagDtoToJSON(value?: TagDto | null): 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.TagDtoToJSON = exports.TagDtoFromJSONTyped = exports.TagDtoFromJSON = exports.instanceOfTagDto = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the TagDto interface.
|
|
19
|
+
*/
|
|
20
|
+
function instanceOfTagDto(value) {
|
|
21
|
+
var isInstance = true;
|
|
22
|
+
isInstance = isInstance && "name" in value;
|
|
23
|
+
isInstance = isInstance && "color" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfTagDto = instanceOfTagDto;
|
|
27
|
+
function TagDtoFromJSON(json) {
|
|
28
|
+
return TagDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.TagDtoFromJSON = TagDtoFromJSON;
|
|
31
|
+
function TagDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
37
|
+
'version': !(0, runtime_1.exists)(json, 'version') ? undefined : json['version'],
|
|
38
|
+
'name': json['name'],
|
|
39
|
+
'color': json['color'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.TagDtoFromJSONTyped = TagDtoFromJSONTyped;
|
|
43
|
+
function TagDtoToJSON(value) {
|
|
44
|
+
if (value === undefined) {
|
|
45
|
+
return undefined;
|
|
46
|
+
}
|
|
47
|
+
if (value === null) {
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'id': value.id,
|
|
52
|
+
'version': value.version,
|
|
53
|
+
'name': value.name,
|
|
54
|
+
'color': value.color,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
exports.TagDtoToJSON = TagDtoToJSON;
|
|
@@ -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
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface TagRelationDto
|
|
15
|
+
*/
|
|
16
|
+
export interface TagRelationDto {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof TagRelationDto
|
|
21
|
+
*/
|
|
22
|
+
tagId: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof TagRelationDto
|
|
27
|
+
*/
|
|
28
|
+
entityId: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof TagRelationDto
|
|
33
|
+
*/
|
|
34
|
+
entityType: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the TagRelationDto interface.
|
|
38
|
+
*/
|
|
39
|
+
export declare function instanceOfTagRelationDto(value: object): boolean;
|
|
40
|
+
export declare function TagRelationDtoFromJSON(json: any): TagRelationDto;
|
|
41
|
+
export declare function TagRelationDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): TagRelationDto;
|
|
42
|
+
export declare function TagRelationDtoToJSON(value?: TagRelationDto | null): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.TagRelationDtoToJSON = exports.TagRelationDtoFromJSONTyped = exports.TagRelationDtoFromJSON = exports.instanceOfTagRelationDto = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the TagRelationDto interface.
|
|
18
|
+
*/
|
|
19
|
+
function instanceOfTagRelationDto(value) {
|
|
20
|
+
var isInstance = true;
|
|
21
|
+
isInstance = isInstance && "tagId" in value;
|
|
22
|
+
isInstance = isInstance && "entityId" in value;
|
|
23
|
+
isInstance = isInstance && "entityType" in value;
|
|
24
|
+
return isInstance;
|
|
25
|
+
}
|
|
26
|
+
exports.instanceOfTagRelationDto = instanceOfTagRelationDto;
|
|
27
|
+
function TagRelationDtoFromJSON(json) {
|
|
28
|
+
return TagRelationDtoFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
exports.TagRelationDtoFromJSON = TagRelationDtoFromJSON;
|
|
31
|
+
function TagRelationDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'tagId': json['tagId'],
|
|
37
|
+
'entityId': json['entityId'],
|
|
38
|
+
'entityType': json['entityType'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
exports.TagRelationDtoFromJSONTyped = TagRelationDtoFromJSONTyped;
|
|
42
|
+
function TagRelationDtoToJSON(value) {
|
|
43
|
+
if (value === undefined) {
|
|
44
|
+
return undefined;
|
|
45
|
+
}
|
|
46
|
+
if (value === null) {
|
|
47
|
+
return null;
|
|
48
|
+
}
|
|
49
|
+
return {
|
|
50
|
+
'tagId': value.tagId,
|
|
51
|
+
'entityId': value.entityId,
|
|
52
|
+
'entityType': value.entityType,
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
exports.TagRelationDtoToJSON = TagRelationDtoToJSON;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -56,6 +56,7 @@ export * from './ContractDto';
|
|
|
56
56
|
export * from './ContractStatusDto';
|
|
57
57
|
export * from './ContractTypeAttributeDto';
|
|
58
58
|
export * from './ContractTypeDto';
|
|
59
|
+
export * from './CreateTagRelationsDto';
|
|
59
60
|
export * from './CreateTenantRequest';
|
|
60
61
|
export * from './CustomerDto';
|
|
61
62
|
export * from './DeliveryNoteDto';
|
|
@@ -130,6 +131,7 @@ export * from './GetAllRegistrations200Response';
|
|
|
130
131
|
export * from './GetAllResults200Response';
|
|
131
132
|
export * from './GetAllRoles200Response';
|
|
132
133
|
export * from './GetAllShares200Response';
|
|
134
|
+
export * from './GetAllTags200Response';
|
|
133
135
|
export * from './GetAllTextModules200Response';
|
|
134
136
|
export * from './GetAllUnits200Response';
|
|
135
137
|
export * from './GetAllUsers200Response';
|
|
@@ -195,6 +197,8 @@ export * from './StatisticsResponseDto';
|
|
|
195
197
|
export * from './SubscriptionChangeDto';
|
|
196
198
|
export * from './SubscriptionDto';
|
|
197
199
|
export * from './SubscriptionResponseDto';
|
|
200
|
+
export * from './TagDto';
|
|
201
|
+
export * from './TagRelationDto';
|
|
198
202
|
export * from './TenantConfigurationDto';
|
|
199
203
|
export * from './TenantDto';
|
|
200
204
|
export * from './TenantInvitationDto';
|
package/dist/models/index.js
CHANGED
|
@@ -74,6 +74,7 @@ __exportStar(require("./ContractDto"), exports);
|
|
|
74
74
|
__exportStar(require("./ContractStatusDto"), exports);
|
|
75
75
|
__exportStar(require("./ContractTypeAttributeDto"), exports);
|
|
76
76
|
__exportStar(require("./ContractTypeDto"), exports);
|
|
77
|
+
__exportStar(require("./CreateTagRelationsDto"), exports);
|
|
77
78
|
__exportStar(require("./CreateTenantRequest"), exports);
|
|
78
79
|
__exportStar(require("./CustomerDto"), exports);
|
|
79
80
|
__exportStar(require("./DeliveryNoteDto"), exports);
|
|
@@ -148,6 +149,7 @@ __exportStar(require("./GetAllRegistrations200Response"), exports);
|
|
|
148
149
|
__exportStar(require("./GetAllResults200Response"), exports);
|
|
149
150
|
__exportStar(require("./GetAllRoles200Response"), exports);
|
|
150
151
|
__exportStar(require("./GetAllShares200Response"), exports);
|
|
152
|
+
__exportStar(require("./GetAllTags200Response"), exports);
|
|
151
153
|
__exportStar(require("./GetAllTextModules200Response"), exports);
|
|
152
154
|
__exportStar(require("./GetAllUnits200Response"), exports);
|
|
153
155
|
__exportStar(require("./GetAllUsers200Response"), exports);
|
|
@@ -213,6 +215,8 @@ __exportStar(require("./StatisticsResponseDto"), exports);
|
|
|
213
215
|
__exportStar(require("./SubscriptionChangeDto"), exports);
|
|
214
216
|
__exportStar(require("./SubscriptionDto"), exports);
|
|
215
217
|
__exportStar(require("./SubscriptionResponseDto"), exports);
|
|
218
|
+
__exportStar(require("./TagDto"), exports);
|
|
219
|
+
__exportStar(require("./TagRelationDto"), exports);
|
|
216
220
|
__exportStar(require("./TenantConfigurationDto"), exports);
|
|
217
221
|
__exportStar(require("./TenantDto"), exports);
|
|
218
222
|
__exportStar(require("./TenantInvitationDto"), exports);
|