@kommerz/ts-client 1.141.2 → 1.141.4
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/models/AcceptanceDocumentDto.d.ts +12 -1
- package/dist/models/AcceptanceDocumentDto.js +5 -2
- package/dist/models/AcceptanceDocumentSenderInfo.d.ts +6 -0
- package/dist/models/AcceptanceDocumentSenderInfo.js +3 -0
- package/dist/models/AcceptancePortalShareConfigDto.d.ts +6 -0
- package/dist/models/AcceptancePortalShareConfigDto.js +2 -0
- package/dist/models/TextModuleType.d.ts +2 -0
- package/dist/models/TextModuleType.js +2 -0
- package/package.json +1 -1
|
@@ -89,12 +89,24 @@ export interface AcceptanceDocumentDto {
|
|
|
89
89
|
* @memberof AcceptanceDocumentDto
|
|
90
90
|
*/
|
|
91
91
|
attachmentIds?: Array<string>;
|
|
92
|
+
/**
|
|
93
|
+
*
|
|
94
|
+
* @type {string}
|
|
95
|
+
* @memberof AcceptanceDocumentDto
|
|
96
|
+
*/
|
|
97
|
+
legalEntityId?: string;
|
|
92
98
|
/**
|
|
93
99
|
*
|
|
94
100
|
* @type {string}
|
|
95
101
|
* @memberof AcceptanceDocumentDto
|
|
96
102
|
*/
|
|
97
103
|
status: AcceptanceDocumentDtoStatusEnum;
|
|
104
|
+
/**
|
|
105
|
+
* name of the recipient that will be used in the acceptance portal
|
|
106
|
+
* @type {string}
|
|
107
|
+
* @memberof AcceptanceDocumentDto
|
|
108
|
+
*/
|
|
109
|
+
recipientName?: string;
|
|
98
110
|
}
|
|
99
111
|
/**
|
|
100
112
|
* @export
|
|
@@ -103,7 +115,6 @@ export declare const AcceptanceDocumentDtoStatusEnum: {
|
|
|
103
115
|
readonly Accepted: "ACCEPTED";
|
|
104
116
|
readonly Declined: "DECLINED";
|
|
105
117
|
readonly Open: "OPEN";
|
|
106
|
-
readonly Expired: "EXPIRED";
|
|
107
118
|
};
|
|
108
119
|
export type AcceptanceDocumentDtoStatusEnum = typeof AcceptanceDocumentDtoStatusEnum[keyof typeof AcceptanceDocumentDtoStatusEnum];
|
|
109
120
|
/**
|
|
@@ -23,8 +23,7 @@ var EntityType_1 = require("./EntityType");
|
|
|
23
23
|
exports.AcceptanceDocumentDtoStatusEnum = {
|
|
24
24
|
Accepted: 'ACCEPTED',
|
|
25
25
|
Declined: 'DECLINED',
|
|
26
|
-
Open: 'OPEN'
|
|
27
|
-
Expired: 'EXPIRED'
|
|
26
|
+
Open: 'OPEN'
|
|
28
27
|
};
|
|
29
28
|
/**
|
|
30
29
|
* Check if a given object implements the AcceptanceDocumentDto interface.
|
|
@@ -60,7 +59,9 @@ function AcceptanceDocumentDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
59
|
'entityType': (0, EntityType_1.EntityTypeFromJSON)(json['entityType']),
|
|
61
60
|
'log': (json['log'].map(AcceptanceDocumentLogEntry_1.AcceptanceDocumentLogEntryFromJSON)),
|
|
62
61
|
'attachmentIds': !(0, runtime_1.exists)(json, 'attachmentIds') ? undefined : json['attachmentIds'],
|
|
62
|
+
'legalEntityId': !(0, runtime_1.exists)(json, 'legalEntityId') ? undefined : json['legalEntityId'],
|
|
63
63
|
'status': json['status'],
|
|
64
|
+
'recipientName': !(0, runtime_1.exists)(json, 'recipientName') ? undefined : json['recipientName'],
|
|
64
65
|
};
|
|
65
66
|
}
|
|
66
67
|
exports.AcceptanceDocumentDtoFromJSONTyped = AcceptanceDocumentDtoFromJSONTyped;
|
|
@@ -84,7 +85,9 @@ function AcceptanceDocumentDtoToJSON(value) {
|
|
|
84
85
|
'entityType': (0, EntityType_1.EntityTypeToJSON)(value.entityType),
|
|
85
86
|
'log': (value.log.map(AcceptanceDocumentLogEntry_1.AcceptanceDocumentLogEntryToJSON)),
|
|
86
87
|
'attachmentIds': value.attachmentIds,
|
|
88
|
+
'legalEntityId': value.legalEntityId,
|
|
87
89
|
'status': value.status,
|
|
90
|
+
'recipientName': value.recipientName,
|
|
88
91
|
};
|
|
89
92
|
}
|
|
90
93
|
exports.AcceptanceDocumentDtoToJSON = AcceptanceDocumentDtoToJSON;
|
|
@@ -26,6 +26,12 @@ export interface AcceptanceDocumentSenderInfo {
|
|
|
26
26
|
* @memberof AcceptanceDocumentSenderInfo
|
|
27
27
|
*/
|
|
28
28
|
email: string;
|
|
29
|
+
/**
|
|
30
|
+
* line-separated address
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AcceptanceDocumentSenderInfo
|
|
33
|
+
*/
|
|
34
|
+
address?: string;
|
|
29
35
|
}
|
|
30
36
|
/**
|
|
31
37
|
* Check if a given object implements the AcceptanceDocumentSenderInfo interface.
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.AcceptanceDocumentSenderInfoToJSON = exports.AcceptanceDocumentSenderInfoFromJSONTyped = exports.AcceptanceDocumentSenderInfoFromJSON = exports.instanceOfAcceptanceDocumentSenderInfo = void 0;
|
|
16
|
+
var runtime_1 = require("../runtime");
|
|
16
17
|
/**
|
|
17
18
|
* Check if a given object implements the AcceptanceDocumentSenderInfo interface.
|
|
18
19
|
*/
|
|
@@ -34,6 +35,7 @@ function AcceptanceDocumentSenderInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
35
|
return {
|
|
35
36
|
'name': json['name'],
|
|
36
37
|
'email': json['email'],
|
|
38
|
+
'address': !(0, runtime_1.exists)(json, 'address') ? undefined : json['address'],
|
|
37
39
|
};
|
|
38
40
|
}
|
|
39
41
|
exports.AcceptanceDocumentSenderInfoFromJSONTyped = AcceptanceDocumentSenderInfoFromJSONTyped;
|
|
@@ -47,6 +49,7 @@ function AcceptanceDocumentSenderInfoToJSON(value) {
|
|
|
47
49
|
return {
|
|
48
50
|
'name': value.name,
|
|
49
51
|
'email': value.email,
|
|
52
|
+
'address': value.address,
|
|
50
53
|
};
|
|
51
54
|
}
|
|
52
55
|
exports.AcceptanceDocumentSenderInfoToJSON = AcceptanceDocumentSenderInfoToJSON;
|
|
@@ -56,6 +56,12 @@ export interface AcceptancePortalShareConfigDto {
|
|
|
56
56
|
* @memberof AcceptancePortalShareConfigDto
|
|
57
57
|
*/
|
|
58
58
|
designTemplateId?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof AcceptancePortalShareConfigDto
|
|
63
|
+
*/
|
|
64
|
+
legalEntityId?: string;
|
|
59
65
|
/**
|
|
60
66
|
*
|
|
61
67
|
* @type {Array<string>}
|
|
@@ -38,6 +38,7 @@ function AcceptancePortalShareConfigDtoFromJSONTyped(json, ignoreDiscriminator)
|
|
|
38
38
|
'acceptanceDueDate': !(0, runtime_1.exists)(json, 'acceptanceDueDate') ? undefined : (new Date(json['acceptanceDueDate'])),
|
|
39
39
|
'bodyTemplate': !(0, runtime_1.exists)(json, 'bodyTemplate') ? undefined : json['bodyTemplate'],
|
|
40
40
|
'designTemplateId': !(0, runtime_1.exists)(json, 'designTemplateId') ? undefined : json['designTemplateId'],
|
|
41
|
+
'legalEntityId': !(0, runtime_1.exists)(json, 'legalEntityId') ? undefined : json['legalEntityId'],
|
|
41
42
|
'attachmentIds': !(0, runtime_1.exists)(json, 'attachmentIds') ? undefined : json['attachmentIds'],
|
|
42
43
|
};
|
|
43
44
|
}
|
|
@@ -57,6 +58,7 @@ function AcceptancePortalShareConfigDtoToJSON(value) {
|
|
|
57
58
|
'acceptanceDueDate': value.acceptanceDueDate === undefined ? undefined : (value.acceptanceDueDate.toISOString().substring(0, 10)),
|
|
58
59
|
'bodyTemplate': value.bodyTemplate,
|
|
59
60
|
'designTemplateId': value.designTemplateId,
|
|
61
|
+
'legalEntityId': value.legalEntityId,
|
|
60
62
|
'attachmentIds': value.attachmentIds,
|
|
61
63
|
};
|
|
62
64
|
}
|
|
@@ -20,6 +20,8 @@ export declare const TextModuleType: {
|
|
|
20
20
|
readonly OfferSubject: "OFFER_SUBJECT";
|
|
21
21
|
readonly OfferIntro: "OFFER_INTRO";
|
|
22
22
|
readonly OfferOutro: "OFFER_OUTRO";
|
|
23
|
+
readonly OfferEmailSubject: "OFFER_EMAIL_SUBJECT";
|
|
24
|
+
readonly OfferEmailBody: "OFFER_EMAIL_BODY";
|
|
23
25
|
readonly OfferSmallBusiness: "OFFER_SMALL_BUSINESS";
|
|
24
26
|
readonly DeliveryNoteSubject: "DELIVERY_NOTE_SUBJECT";
|
|
25
27
|
readonly DeliveryNoteIntro: "DELIVERY_NOTE_INTRO";
|
|
@@ -25,6 +25,8 @@ exports.TextModuleType = {
|
|
|
25
25
|
OfferSubject: 'OFFER_SUBJECT',
|
|
26
26
|
OfferIntro: 'OFFER_INTRO',
|
|
27
27
|
OfferOutro: 'OFFER_OUTRO',
|
|
28
|
+
OfferEmailSubject: 'OFFER_EMAIL_SUBJECT',
|
|
29
|
+
OfferEmailBody: 'OFFER_EMAIL_BODY',
|
|
28
30
|
OfferSmallBusiness: 'OFFER_SMALL_BUSINESS',
|
|
29
31
|
DeliveryNoteSubject: 'DELIVERY_NOTE_SUBJECT',
|
|
30
32
|
DeliveryNoteIntro: 'DELIVERY_NOTE_INTRO',
|