@dangl/avacloud-client-node 1.51.1-avacloud-preview → 1.52.0-avacloud-preview
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/api.d.ts +552 -2
- package/api.js +1308 -76
- package/api.js.map +1 -1
- package/api.ts +1463 -7
- package/package.json +1 -1
package/api.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* AVACloud API 1.
|
|
3
|
+
* AVACloud API 1.52.0
|
|
4
4
|
* AVACloud API specification
|
|
5
5
|
*
|
|
6
|
-
* OpenAPI spec version: 1.
|
|
6
|
+
* OpenAPI spec version: 1.52.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -11,9 +11,10 @@
|
|
|
11
11
|
* Do not edit the class manually.
|
|
12
12
|
*/
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.
|
|
15
|
-
exports.
|
|
16
|
-
exports.
|
|
14
|
+
exports.LabourPriceComponentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.ItemNumberDto = exports.InvoiceType = exports.InvoiceTotals = exports.InvoicePeriod = exports.InvoiceNote = exports.InvoiceLineItem = exports.InvoiceCharge = exports.InvoiceAllowance = exports.Invoice = exports.IdsConnectVersion = exports.HttpStatusCode = exports.HoldOutTypeDto = exports.HoldOutDurationUnitDto = exports.GrossPriceComponentDto = exports.GetStatus = exports.ForgotPasswordPost = exports.FlatElementDto = exports.FlatAvaProject = exports.FileValidationSourceType = exports.ExecutionDescriptionDto = exports.IElementDto = exports.ExchangePhaseDto = exports.DurationUnitDto = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebType = exports.DestinationGaebExchangePhase = exports.DatanormDestinationVersion = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.CommerceInquiryTypeDto = exports.ComissionStatusDto = exports.ClaimGet = exports.CatalogueTypeDto = exports.CatalogueReferenceDto = exports.CatalogueDto = exports.CalculationDto = exports.BankingInformationDto = exports.AwardTypeDto = exports.AvaProjectWrapper = exports.AttachmentMimeType = exports.ArticleDataDto = exports.ApiError = exports.AdditionTypeDto = exports.AddendumStatusDto = void 0;
|
|
15
|
+
exports.SourceType = exports.SiaDestinationType = exports.ServiceTypeDto = exports.ServiceSpecificationGroupDto = exports.ServiceSpecificationDto = exports.ServiceSpecificationCommercePropertiesDto = exports.STLBReferenceDto = exports.STLBKeyDto = exports.ResponseErrorType = exports.RegisterPost = exports.References = exports.QuantityAssignmentDto = exports.ProjectValidationCheckDetails = exports.ProjectInformationDto = exports.ProjectDto = exports.ProductDataDto = exports.PriceTypeDto = exports.PriceRoundingModeDto = exports.PriceInformationDto = exports.PriceComponentTypeDto = exports.PriceComponentDto = exports.PriceCatalogueDataDto = exports.PreviousInvoice = exports.PostOenormDestinationOptions = exports.PostGaebDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = exports.PositionTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionDto = exports.PositionComplementingTypeDto = exports.PaymentMeans = exports.PaymentInstructions = exports.Payee = exports.PartyInformationDto = exports.OriginDto = exports.Organization = exports.OenormPropertiesDto = exports.OenormPositionPropertiesDto = exports.OenormOriginCodeDto = exports.OenormNoteTextPropertiesDto = exports.ObjectValidationCheckDetails = exports.NoteTextDto = exports.LoginPost = exports.LineItemVatInformation = exports.LineItemPriceDetail = exports.LineItemInformation = exports.LineItemCharge = exports.LineItemAttribute = exports.LineItemAllowance = void 0;
|
|
16
|
+
exports.UglConversionApi = exports.UglConversionApiApiKeys = exports.StatusApi = exports.StatusApiApiKeys = exports.SiaConversionApi = exports.SiaConversionApiApiKeys = exports.RebConversionApi = exports.RebConversionApiApiKeys = exports.OenormConversionApi = exports.OenormConversionApiApiKeys = exports.IdsConnectConversionApi = exports.IdsConnectConversionApiApiKeys = exports.GaebConversionApi = exports.GaebConversionApiApiKeys = exports.FlatAvaConversionApi = exports.FlatAvaConversionApiApiKeys = exports.ExcelConversionApi = exports.ExcelConversionApiApiKeys = exports.DatanormConversionApi = exports.DatanormConversionApiApiKeys = exports.DanglIdentityApi = exports.DanglIdentityApiApiKeys = exports.AvaConversionApi = exports.AvaConversionApiApiKeys = exports.AslvConversionApi = exports.AslvConversionApiApiKeys = exports.VoidAuth = exports.OAuth = exports.ApiKeyAuth = exports.HttpBasicAuth = exports.XmlSchemaValidationCheckDetails = exports.WarrantyDurationDto = exports.VatCategory = exports.VatBreakdown = exports.ValidationType = exports.ValidationSeverity = exports.ValidationResult = exports.ValidationCheckType = exports.ValidationCheckResult = exports.UserInfoGet = exports.UglDestinationVersion = exports.TradeDiscountDto = exports.TokenResponseGet = exports.TokenRefreshPost = exports.TokenLoginPost = exports.SupportingDocument = exports.SubDescriptionDto = exports.StandardizedDescriptionDto = exports.StandardReferenceTypeDto = exports.SpecialAwardKindDto = void 0;
|
|
17
|
+
exports.XRechnungConversionApi = exports.XRechnungConversionApiApiKeys = exports.ValidationApi = exports.ValidationApiApiKeys = void 0;
|
|
17
18
|
const localVarRequest = require("request");
|
|
18
19
|
let defaultBasePath = 'https://avacloud-api.dangl-it.com';
|
|
19
20
|
// ===============================================
|
|
@@ -239,6 +240,81 @@ ArticleDataDto.attributeTypeMap = [
|
|
|
239
240
|
}
|
|
240
241
|
];
|
|
241
242
|
/**
|
|
243
|
+
*
|
|
244
|
+
*/
|
|
245
|
+
class AttachmentMimeType {
|
|
246
|
+
static getAttributeTypeMap() {
|
|
247
|
+
return AttachmentMimeType.attributeTypeMap;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
exports.AttachmentMimeType = AttachmentMimeType;
|
|
251
|
+
AttachmentMimeType.discriminator = undefined;
|
|
252
|
+
AttachmentMimeType.attributeTypeMap = [];
|
|
253
|
+
class AvaProjectWrapper {
|
|
254
|
+
static getAttributeTypeMap() {
|
|
255
|
+
return AvaProjectWrapper.attributeTypeMap;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
exports.AvaProjectWrapper = AvaProjectWrapper;
|
|
259
|
+
AvaProjectWrapper.discriminator = undefined;
|
|
260
|
+
AvaProjectWrapper.attributeTypeMap = [
|
|
261
|
+
{
|
|
262
|
+
"name": "project",
|
|
263
|
+
"baseName": "project",
|
|
264
|
+
"type": "ProjectDto"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "invoiceNumber",
|
|
268
|
+
"baseName": "invoiceNumber",
|
|
269
|
+
"type": "string"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "documents",
|
|
273
|
+
"baseName": "documents",
|
|
274
|
+
"type": "Array<SupportingDocument>"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "invoicePeriod",
|
|
278
|
+
"baseName": "invoicePeriod",
|
|
279
|
+
"type": "InvoicePeriod"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "paymentInstructions",
|
|
283
|
+
"baseName": "paymentInstructions",
|
|
284
|
+
"type": "PaymentInstructions"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "invoiceType",
|
|
288
|
+
"baseName": "invoiceType",
|
|
289
|
+
"type": "InvoiceType"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "paymentDueDate",
|
|
293
|
+
"baseName": "paymentDueDate",
|
|
294
|
+
"type": "Date"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "paymentTerms",
|
|
298
|
+
"baseName": "paymentTerms",
|
|
299
|
+
"type": "string"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "previousInvoices",
|
|
303
|
+
"baseName": "previousInvoices",
|
|
304
|
+
"type": "Array<PreviousInvoice>"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "alreadyPaidTotalGross",
|
|
308
|
+
"baseName": "alreadyPaidTotalGross",
|
|
309
|
+
"type": "number"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "references",
|
|
313
|
+
"baseName": "references",
|
|
314
|
+
"type": "References"
|
|
315
|
+
}
|
|
316
|
+
];
|
|
317
|
+
/**
|
|
242
318
|
* This enumeration describes the type of the award / procurement process. If this is used in a GAEB context, more information about award types can be found in the German VOB/A rules and the GAEB standard
|
|
243
319
|
*/
|
|
244
320
|
class AwardTypeDto {
|
|
@@ -903,6 +979,385 @@ class IdsConnectVersion {
|
|
|
903
979
|
exports.IdsConnectVersion = IdsConnectVersion;
|
|
904
980
|
IdsConnectVersion.discriminator = undefined;
|
|
905
981
|
IdsConnectVersion.attributeTypeMap = [];
|
|
982
|
+
class Invoice {
|
|
983
|
+
static getAttributeTypeMap() {
|
|
984
|
+
return Invoice.attributeTypeMap;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
exports.Invoice = Invoice;
|
|
988
|
+
Invoice.discriminator = undefined;
|
|
989
|
+
Invoice.attributeTypeMap = [
|
|
990
|
+
{
|
|
991
|
+
"name": "invoiceNumber",
|
|
992
|
+
"baseName": "invoiceNumber",
|
|
993
|
+
"type": "string"
|
|
994
|
+
},
|
|
995
|
+
{
|
|
996
|
+
"name": "invoiceDate",
|
|
997
|
+
"baseName": "invoiceDate",
|
|
998
|
+
"type": "Date"
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
"name": "invoiceType",
|
|
1002
|
+
"baseName": "invoiceType",
|
|
1003
|
+
"type": "InvoiceType"
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
"name": "currencyCode",
|
|
1007
|
+
"baseName": "currencyCode",
|
|
1008
|
+
"type": "string"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "paymentDueDate",
|
|
1012
|
+
"baseName": "paymentDueDate",
|
|
1013
|
+
"type": "Date"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"name": "references",
|
|
1017
|
+
"baseName": "references",
|
|
1018
|
+
"type": "References"
|
|
1019
|
+
},
|
|
1020
|
+
{
|
|
1021
|
+
"name": "paymentTerms",
|
|
1022
|
+
"baseName": "paymentTerms",
|
|
1023
|
+
"type": "string"
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
"name": "previousInvoices",
|
|
1027
|
+
"baseName": "previousInvoices",
|
|
1028
|
+
"type": "Array<PreviousInvoice>"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
"name": "buyer",
|
|
1032
|
+
"baseName": "buyer",
|
|
1033
|
+
"type": "Organization"
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
"name": "seller",
|
|
1037
|
+
"baseName": "seller",
|
|
1038
|
+
"type": "Organization"
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
"name": "payee",
|
|
1042
|
+
"baseName": "payee",
|
|
1043
|
+
"type": "Payee"
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"name": "invoiceNotes",
|
|
1047
|
+
"baseName": "invoiceNotes",
|
|
1048
|
+
"type": "Array<InvoiceNote>"
|
|
1049
|
+
},
|
|
1050
|
+
{
|
|
1051
|
+
"name": "invoicePeriod",
|
|
1052
|
+
"baseName": "invoicePeriod",
|
|
1053
|
+
"type": "InvoicePeriod"
|
|
1054
|
+
},
|
|
1055
|
+
{
|
|
1056
|
+
"name": "totals",
|
|
1057
|
+
"baseName": "totals",
|
|
1058
|
+
"type": "InvoiceTotals"
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "paymentInstructions",
|
|
1062
|
+
"baseName": "paymentInstructions",
|
|
1063
|
+
"type": "PaymentInstructions"
|
|
1064
|
+
},
|
|
1065
|
+
{
|
|
1066
|
+
"name": "documents",
|
|
1067
|
+
"baseName": "documents",
|
|
1068
|
+
"type": "Array<SupportingDocument>"
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
"name": "vatBreakdown",
|
|
1072
|
+
"baseName": "vatBreakdown",
|
|
1073
|
+
"type": "Array<VatBreakdown>"
|
|
1074
|
+
},
|
|
1075
|
+
{
|
|
1076
|
+
"name": "allowances",
|
|
1077
|
+
"baseName": "allowances",
|
|
1078
|
+
"type": "Array<InvoiceAllowance>"
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"name": "charges",
|
|
1082
|
+
"baseName": "charges",
|
|
1083
|
+
"type": "Array<InvoiceCharge>"
|
|
1084
|
+
},
|
|
1085
|
+
{
|
|
1086
|
+
"name": "lineItems",
|
|
1087
|
+
"baseName": "lineItems",
|
|
1088
|
+
"type": "Array<InvoiceLineItem>"
|
|
1089
|
+
},
|
|
1090
|
+
{
|
|
1091
|
+
"name": "sourceType",
|
|
1092
|
+
"baseName": "sourceType",
|
|
1093
|
+
"type": "SourceType"
|
|
1094
|
+
}
|
|
1095
|
+
];
|
|
1096
|
+
class InvoiceAllowance {
|
|
1097
|
+
static getAttributeTypeMap() {
|
|
1098
|
+
return InvoiceAllowance.attributeTypeMap;
|
|
1099
|
+
}
|
|
1100
|
+
}
|
|
1101
|
+
exports.InvoiceAllowance = InvoiceAllowance;
|
|
1102
|
+
InvoiceAllowance.discriminator = undefined;
|
|
1103
|
+
InvoiceAllowance.attributeTypeMap = [
|
|
1104
|
+
{
|
|
1105
|
+
"name": "netAmount",
|
|
1106
|
+
"baseName": "netAmount",
|
|
1107
|
+
"type": "number"
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
"name": "relativeAllowanceBaseAmount",
|
|
1111
|
+
"baseName": "relativeAllowanceBaseAmount",
|
|
1112
|
+
"type": "number"
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
"name": "relativeAllowancePercentage",
|
|
1116
|
+
"baseName": "relativeAllowancePercentage",
|
|
1117
|
+
"type": "number"
|
|
1118
|
+
},
|
|
1119
|
+
{
|
|
1120
|
+
"name": "vatCategory",
|
|
1121
|
+
"baseName": "vatCategory",
|
|
1122
|
+
"type": "VatCategory"
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"name": "vatRate",
|
|
1126
|
+
"baseName": "vatRate",
|
|
1127
|
+
"type": "number"
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
"name": "reason",
|
|
1131
|
+
"baseName": "reason",
|
|
1132
|
+
"type": "string"
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
"name": "reasonCode",
|
|
1136
|
+
"baseName": "reasonCode",
|
|
1137
|
+
"type": "string"
|
|
1138
|
+
}
|
|
1139
|
+
];
|
|
1140
|
+
class InvoiceCharge {
|
|
1141
|
+
static getAttributeTypeMap() {
|
|
1142
|
+
return InvoiceCharge.attributeTypeMap;
|
|
1143
|
+
}
|
|
1144
|
+
}
|
|
1145
|
+
exports.InvoiceCharge = InvoiceCharge;
|
|
1146
|
+
InvoiceCharge.discriminator = undefined;
|
|
1147
|
+
InvoiceCharge.attributeTypeMap = [
|
|
1148
|
+
{
|
|
1149
|
+
"name": "netAmount",
|
|
1150
|
+
"baseName": "netAmount",
|
|
1151
|
+
"type": "number"
|
|
1152
|
+
},
|
|
1153
|
+
{
|
|
1154
|
+
"name": "relativeChargeBaseAmount",
|
|
1155
|
+
"baseName": "relativeChargeBaseAmount",
|
|
1156
|
+
"type": "number"
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
"name": "relativeChargePercentage",
|
|
1160
|
+
"baseName": "relativeChargePercentage",
|
|
1161
|
+
"type": "number"
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
"name": "vatCategory",
|
|
1165
|
+
"baseName": "vatCategory",
|
|
1166
|
+
"type": "VatCategory"
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"name": "vatRate",
|
|
1170
|
+
"baseName": "vatRate",
|
|
1171
|
+
"type": "number"
|
|
1172
|
+
},
|
|
1173
|
+
{
|
|
1174
|
+
"name": "reason",
|
|
1175
|
+
"baseName": "reason",
|
|
1176
|
+
"type": "string"
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
"name": "reasonCode",
|
|
1180
|
+
"baseName": "reasonCode",
|
|
1181
|
+
"type": "string"
|
|
1182
|
+
}
|
|
1183
|
+
];
|
|
1184
|
+
class InvoiceLineItem {
|
|
1185
|
+
static getAttributeTypeMap() {
|
|
1186
|
+
return InvoiceLineItem.attributeTypeMap;
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
exports.InvoiceLineItem = InvoiceLineItem;
|
|
1190
|
+
InvoiceLineItem.discriminator = undefined;
|
|
1191
|
+
InvoiceLineItem.attributeTypeMap = [
|
|
1192
|
+
{
|
|
1193
|
+
"name": "identifier",
|
|
1194
|
+
"baseName": "identifier",
|
|
1195
|
+
"type": "string"
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
"name": "note",
|
|
1199
|
+
"baseName": "note",
|
|
1200
|
+
"type": "string"
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
"name": "objectIdentifier",
|
|
1204
|
+
"baseName": "objectIdentifier",
|
|
1205
|
+
"type": "string"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "quantity",
|
|
1209
|
+
"baseName": "quantity",
|
|
1210
|
+
"type": "number"
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "unitCode",
|
|
1214
|
+
"baseName": "unitCode",
|
|
1215
|
+
"type": "string"
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
"name": "netAmount",
|
|
1219
|
+
"baseName": "netAmount",
|
|
1220
|
+
"type": "number"
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"name": "purchaseOrderReference",
|
|
1224
|
+
"baseName": "purchaseOrderReference",
|
|
1225
|
+
"type": "string"
|
|
1226
|
+
},
|
|
1227
|
+
{
|
|
1228
|
+
"name": "lineItemPeriod",
|
|
1229
|
+
"baseName": "lineItemPeriod",
|
|
1230
|
+
"type": "InvoicePeriod"
|
|
1231
|
+
},
|
|
1232
|
+
{
|
|
1233
|
+
"name": "allowances",
|
|
1234
|
+
"baseName": "allowances",
|
|
1235
|
+
"type": "Array<LineItemAllowance>"
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"name": "charges",
|
|
1239
|
+
"baseName": "charges",
|
|
1240
|
+
"type": "Array<LineItemCharge>"
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"name": "priceDetails",
|
|
1244
|
+
"baseName": "priceDetails",
|
|
1245
|
+
"type": "LineItemPriceDetail"
|
|
1246
|
+
},
|
|
1247
|
+
{
|
|
1248
|
+
"name": "vatInformation",
|
|
1249
|
+
"baseName": "vatInformation",
|
|
1250
|
+
"type": "Array<LineItemVatInformation>"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"name": "itemInformation",
|
|
1254
|
+
"baseName": "itemInformation",
|
|
1255
|
+
"type": "LineItemInformation"
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
"name": "subItems",
|
|
1259
|
+
"baseName": "subItems",
|
|
1260
|
+
"type": "Array<InvoiceLineItem>"
|
|
1261
|
+
}
|
|
1262
|
+
];
|
|
1263
|
+
class InvoiceNote {
|
|
1264
|
+
static getAttributeTypeMap() {
|
|
1265
|
+
return InvoiceNote.attributeTypeMap;
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
exports.InvoiceNote = InvoiceNote;
|
|
1269
|
+
InvoiceNote.discriminator = undefined;
|
|
1270
|
+
InvoiceNote.attributeTypeMap = [
|
|
1271
|
+
{
|
|
1272
|
+
"name": "shortText",
|
|
1273
|
+
"baseName": "shortText",
|
|
1274
|
+
"type": "string"
|
|
1275
|
+
},
|
|
1276
|
+
{
|
|
1277
|
+
"name": "longText",
|
|
1278
|
+
"baseName": "longText",
|
|
1279
|
+
"type": "string"
|
|
1280
|
+
}
|
|
1281
|
+
];
|
|
1282
|
+
class InvoicePeriod {
|
|
1283
|
+
static getAttributeTypeMap() {
|
|
1284
|
+
return InvoicePeriod.attributeTypeMap;
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
exports.InvoicePeriod = InvoicePeriod;
|
|
1288
|
+
InvoicePeriod.discriminator = undefined;
|
|
1289
|
+
InvoicePeriod.attributeTypeMap = [
|
|
1290
|
+
{
|
|
1291
|
+
"name": "start",
|
|
1292
|
+
"baseName": "start",
|
|
1293
|
+
"type": "Date"
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
"name": "end",
|
|
1297
|
+
"baseName": "end",
|
|
1298
|
+
"type": "Date"
|
|
1299
|
+
}
|
|
1300
|
+
];
|
|
1301
|
+
class InvoiceTotals {
|
|
1302
|
+
static getAttributeTypeMap() {
|
|
1303
|
+
return InvoiceTotals.attributeTypeMap;
|
|
1304
|
+
}
|
|
1305
|
+
}
|
|
1306
|
+
exports.InvoiceTotals = InvoiceTotals;
|
|
1307
|
+
InvoiceTotals.discriminator = undefined;
|
|
1308
|
+
InvoiceTotals.attributeTypeMap = [
|
|
1309
|
+
{
|
|
1310
|
+
"name": "totalNet",
|
|
1311
|
+
"baseName": "totalNet",
|
|
1312
|
+
"type": "number"
|
|
1313
|
+
},
|
|
1314
|
+
{
|
|
1315
|
+
"name": "totalAllowances",
|
|
1316
|
+
"baseName": "totalAllowances",
|
|
1317
|
+
"type": "number"
|
|
1318
|
+
},
|
|
1319
|
+
{
|
|
1320
|
+
"name": "totalCharges",
|
|
1321
|
+
"baseName": "totalCharges",
|
|
1322
|
+
"type": "number"
|
|
1323
|
+
},
|
|
1324
|
+
{
|
|
1325
|
+
"name": "totalAfterDeductions",
|
|
1326
|
+
"baseName": "totalAfterDeductions",
|
|
1327
|
+
"type": "number"
|
|
1328
|
+
},
|
|
1329
|
+
{
|
|
1330
|
+
"name": "totalVatAmount",
|
|
1331
|
+
"baseName": "totalVatAmount",
|
|
1332
|
+
"type": "number"
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
"name": "totalGross",
|
|
1336
|
+
"baseName": "totalGross",
|
|
1337
|
+
"type": "number"
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"name": "alreadyPaidTotal",
|
|
1341
|
+
"baseName": "alreadyPaidTotal",
|
|
1342
|
+
"type": "number"
|
|
1343
|
+
},
|
|
1344
|
+
{
|
|
1345
|
+
"name": "totalToBePaid",
|
|
1346
|
+
"baseName": "totalToBePaid",
|
|
1347
|
+
"type": "number"
|
|
1348
|
+
}
|
|
1349
|
+
];
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
*/
|
|
1353
|
+
class InvoiceType {
|
|
1354
|
+
static getAttributeTypeMap() {
|
|
1355
|
+
return InvoiceType.attributeTypeMap;
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
exports.InvoiceType = InvoiceType;
|
|
1359
|
+
InvoiceType.discriminator = undefined;
|
|
1360
|
+
InvoiceType.attributeTypeMap = [];
|
|
906
1361
|
/**
|
|
907
1362
|
* This class represents as identifier of a certain service specification's element and is uniquely within the service specification.
|
|
908
1363
|
*/
|
|
@@ -1024,103 +1479,292 @@ exports.ItemNumberSchemaTierDto = ItemNumberSchemaTierDto;
|
|
|
1024
1479
|
ItemNumberSchemaTierDto.discriminator = undefined;
|
|
1025
1480
|
ItemNumberSchemaTierDto.attributeTypeMap = [
|
|
1026
1481
|
{
|
|
1027
|
-
"name": "length",
|
|
1028
|
-
"baseName": "length",
|
|
1029
|
-
"type": "number"
|
|
1482
|
+
"name": "length",
|
|
1483
|
+
"baseName": "length",
|
|
1484
|
+
"type": "number"
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
"name": "type",
|
|
1488
|
+
"baseName": "type",
|
|
1489
|
+
"type": "ItemNumberTypeDto"
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"name": "tierType",
|
|
1493
|
+
"baseName": "tierType",
|
|
1494
|
+
"type": "ItemNumberSchemaTierTypeDto"
|
|
1495
|
+
},
|
|
1496
|
+
{
|
|
1497
|
+
"name": "isLot",
|
|
1498
|
+
"baseName": "isLot",
|
|
1499
|
+
"type": "boolean"
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"name": "increment",
|
|
1503
|
+
"baseName": "increment",
|
|
1504
|
+
"type": "number"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "tierName",
|
|
1508
|
+
"baseName": "tierName",
|
|
1509
|
+
"type": "string"
|
|
1510
|
+
}
|
|
1511
|
+
];
|
|
1512
|
+
/**
|
|
1513
|
+
* Specifies the type an ItemNumberSchemaTier represents. For example, a tier may indicate to be used for positions or for groups.
|
|
1514
|
+
*/
|
|
1515
|
+
class ItemNumberSchemaTierTypeDto {
|
|
1516
|
+
static getAttributeTypeMap() {
|
|
1517
|
+
return ItemNumberSchemaTierTypeDto.attributeTypeMap;
|
|
1518
|
+
}
|
|
1519
|
+
}
|
|
1520
|
+
exports.ItemNumberSchemaTierTypeDto = ItemNumberSchemaTierTypeDto;
|
|
1521
|
+
ItemNumberSchemaTierTypeDto.discriminator = undefined;
|
|
1522
|
+
ItemNumberSchemaTierTypeDto.attributeTypeMap = [];
|
|
1523
|
+
/**
|
|
1524
|
+
* Determines the type of an ItemNumberSchema
|
|
1525
|
+
*/
|
|
1526
|
+
class ItemNumberTypeDto {
|
|
1527
|
+
static getAttributeTypeMap() {
|
|
1528
|
+
return ItemNumberTypeDto.attributeTypeMap;
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
exports.ItemNumberTypeDto = ItemNumberTypeDto;
|
|
1532
|
+
ItemNumberTypeDto.discriminator = undefined;
|
|
1533
|
+
ItemNumberTypeDto.attributeTypeMap = [];
|
|
1534
|
+
/**
|
|
1535
|
+
* Based on the PriceComponent, this class is responsible for labour time components.
|
|
1536
|
+
*/
|
|
1537
|
+
class LabourPriceComponentDto {
|
|
1538
|
+
static getAttributeTypeMap() {
|
|
1539
|
+
return LabourPriceComponentDto.attributeTypeMap;
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
exports.LabourPriceComponentDto = LabourPriceComponentDto;
|
|
1543
|
+
LabourPriceComponentDto.discriminator = undefined;
|
|
1544
|
+
LabourPriceComponentDto.attributeTypeMap = [
|
|
1545
|
+
{
|
|
1546
|
+
"name": "label",
|
|
1547
|
+
"baseName": "label",
|
|
1548
|
+
"type": "string"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"name": "price",
|
|
1552
|
+
"baseName": "price",
|
|
1553
|
+
"type": "number"
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
"name": "hourlyWage",
|
|
1557
|
+
"baseName": "hourlyWage",
|
|
1558
|
+
"type": "number"
|
|
1559
|
+
},
|
|
1560
|
+
{
|
|
1561
|
+
"name": "values",
|
|
1562
|
+
"baseName": "values",
|
|
1563
|
+
"type": "Array<CalculationDto>"
|
|
1564
|
+
},
|
|
1565
|
+
{
|
|
1566
|
+
"name": "useOwnHourlyWage",
|
|
1567
|
+
"baseName": "useOwnHourlyWage",
|
|
1568
|
+
"type": "boolean"
|
|
1569
|
+
},
|
|
1570
|
+
{
|
|
1571
|
+
"name": "totalTime",
|
|
1572
|
+
"baseName": "totalTime",
|
|
1573
|
+
"type": "number"
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"name": "projectCatalogues",
|
|
1577
|
+
"baseName": "projectCatalogues",
|
|
1578
|
+
"type": "Array<CatalogueDto>"
|
|
1579
|
+
}
|
|
1580
|
+
];
|
|
1581
|
+
class LineItemAllowance {
|
|
1582
|
+
static getAttributeTypeMap() {
|
|
1583
|
+
return LineItemAllowance.attributeTypeMap;
|
|
1584
|
+
}
|
|
1585
|
+
}
|
|
1586
|
+
exports.LineItemAllowance = LineItemAllowance;
|
|
1587
|
+
LineItemAllowance.discriminator = undefined;
|
|
1588
|
+
LineItemAllowance.attributeTypeMap = [
|
|
1589
|
+
{
|
|
1590
|
+
"name": "netAmount",
|
|
1591
|
+
"baseName": "netAmount",
|
|
1592
|
+
"type": "number"
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"name": "relativeAllowanceBaseAmount",
|
|
1596
|
+
"baseName": "relativeAllowanceBaseAmount",
|
|
1597
|
+
"type": "number"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"name": "relativeAllowancePercentage",
|
|
1601
|
+
"baseName": "relativeAllowancePercentage",
|
|
1602
|
+
"type": "number"
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "reason",
|
|
1606
|
+
"baseName": "reason",
|
|
1607
|
+
"type": "string"
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"name": "reasonCode",
|
|
1611
|
+
"baseName": "reasonCode",
|
|
1612
|
+
"type": "string"
|
|
1613
|
+
}
|
|
1614
|
+
];
|
|
1615
|
+
class LineItemAttribute {
|
|
1616
|
+
static getAttributeTypeMap() {
|
|
1617
|
+
return LineItemAttribute.attributeTypeMap;
|
|
1618
|
+
}
|
|
1619
|
+
}
|
|
1620
|
+
exports.LineItemAttribute = LineItemAttribute;
|
|
1621
|
+
LineItemAttribute.discriminator = undefined;
|
|
1622
|
+
LineItemAttribute.attributeTypeMap = [
|
|
1623
|
+
{
|
|
1624
|
+
"name": "name",
|
|
1625
|
+
"baseName": "name",
|
|
1626
|
+
"type": "string"
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
"name": "value",
|
|
1630
|
+
"baseName": "value",
|
|
1631
|
+
"type": "string"
|
|
1632
|
+
}
|
|
1633
|
+
];
|
|
1634
|
+
class LineItemCharge {
|
|
1635
|
+
static getAttributeTypeMap() {
|
|
1636
|
+
return LineItemCharge.attributeTypeMap;
|
|
1637
|
+
}
|
|
1638
|
+
}
|
|
1639
|
+
exports.LineItemCharge = LineItemCharge;
|
|
1640
|
+
LineItemCharge.discriminator = undefined;
|
|
1641
|
+
LineItemCharge.attributeTypeMap = [
|
|
1642
|
+
{
|
|
1643
|
+
"name": "netAmount",
|
|
1644
|
+
"baseName": "netAmount",
|
|
1645
|
+
"type": "number"
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"name": "relativeChargeBaseAmount",
|
|
1649
|
+
"baseName": "relativeChargeBaseAmount",
|
|
1650
|
+
"type": "number"
|
|
1651
|
+
},
|
|
1652
|
+
{
|
|
1653
|
+
"name": "relativeChargePercentage",
|
|
1654
|
+
"baseName": "relativeChargePercentage",
|
|
1655
|
+
"type": "number"
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
"name": "reason",
|
|
1659
|
+
"baseName": "reason",
|
|
1660
|
+
"type": "string"
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"name": "reasonCode",
|
|
1664
|
+
"baseName": "reasonCode",
|
|
1665
|
+
"type": "string"
|
|
1666
|
+
}
|
|
1667
|
+
];
|
|
1668
|
+
class LineItemInformation {
|
|
1669
|
+
static getAttributeTypeMap() {
|
|
1670
|
+
return LineItemInformation.attributeTypeMap;
|
|
1671
|
+
}
|
|
1672
|
+
}
|
|
1673
|
+
exports.LineItemInformation = LineItemInformation;
|
|
1674
|
+
LineItemInformation.discriminator = undefined;
|
|
1675
|
+
LineItemInformation.attributeTypeMap = [
|
|
1676
|
+
{
|
|
1677
|
+
"name": "name",
|
|
1678
|
+
"baseName": "name",
|
|
1679
|
+
"type": "string"
|
|
1030
1680
|
},
|
|
1031
1681
|
{
|
|
1032
|
-
"name": "
|
|
1033
|
-
"baseName": "
|
|
1034
|
-
"type": "
|
|
1682
|
+
"name": "description",
|
|
1683
|
+
"baseName": "description",
|
|
1684
|
+
"type": "string"
|
|
1035
1685
|
},
|
|
1036
1686
|
{
|
|
1037
|
-
"name": "
|
|
1038
|
-
"baseName": "
|
|
1039
|
-
"type": "
|
|
1687
|
+
"name": "sellerIdentifier",
|
|
1688
|
+
"baseName": "sellerIdentifier",
|
|
1689
|
+
"type": "string"
|
|
1040
1690
|
},
|
|
1041
1691
|
{
|
|
1042
|
-
"name": "
|
|
1043
|
-
"baseName": "
|
|
1044
|
-
"type": "
|
|
1692
|
+
"name": "buyerIdentifier",
|
|
1693
|
+
"baseName": "buyerIdentifier",
|
|
1694
|
+
"type": "string"
|
|
1045
1695
|
},
|
|
1046
1696
|
{
|
|
1047
|
-
"name": "
|
|
1048
|
-
"baseName": "
|
|
1049
|
-
"type": "
|
|
1697
|
+
"name": "standardIdentifier",
|
|
1698
|
+
"baseName": "standardIdentifier",
|
|
1699
|
+
"type": "string"
|
|
1050
1700
|
},
|
|
1051
1701
|
{
|
|
1052
|
-
"name": "
|
|
1053
|
-
"baseName": "
|
|
1702
|
+
"name": "classificationIdentifiers",
|
|
1703
|
+
"baseName": "classificationIdentifiers",
|
|
1704
|
+
"type": "Array<string>"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"name": "countryOfOrigin",
|
|
1708
|
+
"baseName": "countryOfOrigin",
|
|
1054
1709
|
"type": "string"
|
|
1710
|
+
},
|
|
1711
|
+
{
|
|
1712
|
+
"name": "attributes",
|
|
1713
|
+
"baseName": "attributes",
|
|
1714
|
+
"type": "Array<LineItemAttribute>"
|
|
1055
1715
|
}
|
|
1056
1716
|
];
|
|
1057
|
-
|
|
1058
|
-
* Specifies the type an ItemNumberSchemaTier represents. For example, a tier may indicate to be used for positions or for groups.
|
|
1059
|
-
*/
|
|
1060
|
-
class ItemNumberSchemaTierTypeDto {
|
|
1061
|
-
static getAttributeTypeMap() {
|
|
1062
|
-
return ItemNumberSchemaTierTypeDto.attributeTypeMap;
|
|
1063
|
-
}
|
|
1064
|
-
}
|
|
1065
|
-
exports.ItemNumberSchemaTierTypeDto = ItemNumberSchemaTierTypeDto;
|
|
1066
|
-
ItemNumberSchemaTierTypeDto.discriminator = undefined;
|
|
1067
|
-
ItemNumberSchemaTierTypeDto.attributeTypeMap = [];
|
|
1068
|
-
/**
|
|
1069
|
-
* Determines the type of an ItemNumberSchema
|
|
1070
|
-
*/
|
|
1071
|
-
class ItemNumberTypeDto {
|
|
1072
|
-
static getAttributeTypeMap() {
|
|
1073
|
-
return ItemNumberTypeDto.attributeTypeMap;
|
|
1074
|
-
}
|
|
1075
|
-
}
|
|
1076
|
-
exports.ItemNumberTypeDto = ItemNumberTypeDto;
|
|
1077
|
-
ItemNumberTypeDto.discriminator = undefined;
|
|
1078
|
-
ItemNumberTypeDto.attributeTypeMap = [];
|
|
1079
|
-
/**
|
|
1080
|
-
* Based on the PriceComponent, this class is responsible for labour time components.
|
|
1081
|
-
*/
|
|
1082
|
-
class LabourPriceComponentDto {
|
|
1717
|
+
class LineItemPriceDetail {
|
|
1083
1718
|
static getAttributeTypeMap() {
|
|
1084
|
-
return
|
|
1719
|
+
return LineItemPriceDetail.attributeTypeMap;
|
|
1085
1720
|
}
|
|
1086
1721
|
}
|
|
1087
|
-
exports.
|
|
1088
|
-
|
|
1089
|
-
|
|
1722
|
+
exports.LineItemPriceDetail = LineItemPriceDetail;
|
|
1723
|
+
LineItemPriceDetail.discriminator = undefined;
|
|
1724
|
+
LineItemPriceDetail.attributeTypeMap = [
|
|
1090
1725
|
{
|
|
1091
|
-
"name": "
|
|
1092
|
-
"baseName": "
|
|
1093
|
-
"type": "
|
|
1726
|
+
"name": "netPrice",
|
|
1727
|
+
"baseName": "netPrice",
|
|
1728
|
+
"type": "number"
|
|
1094
1729
|
},
|
|
1095
1730
|
{
|
|
1096
|
-
"name": "
|
|
1097
|
-
"baseName": "
|
|
1731
|
+
"name": "discount",
|
|
1732
|
+
"baseName": "discount",
|
|
1098
1733
|
"type": "number"
|
|
1099
1734
|
},
|
|
1100
1735
|
{
|
|
1101
|
-
"name": "
|
|
1102
|
-
"baseName": "
|
|
1736
|
+
"name": "grossPrice",
|
|
1737
|
+
"baseName": "grossPrice",
|
|
1103
1738
|
"type": "number"
|
|
1104
1739
|
},
|
|
1105
1740
|
{
|
|
1106
|
-
"name": "
|
|
1107
|
-
"baseName": "
|
|
1108
|
-
"type": "
|
|
1741
|
+
"name": "baseQuantity",
|
|
1742
|
+
"baseName": "baseQuantity",
|
|
1743
|
+
"type": "number"
|
|
1109
1744
|
},
|
|
1110
1745
|
{
|
|
1111
|
-
"name": "
|
|
1112
|
-
"baseName": "
|
|
1113
|
-
"type": "
|
|
1114
|
-
}
|
|
1746
|
+
"name": "baseQuantityUnitCode",
|
|
1747
|
+
"baseName": "baseQuantityUnitCode",
|
|
1748
|
+
"type": "string"
|
|
1749
|
+
}
|
|
1750
|
+
];
|
|
1751
|
+
class LineItemVatInformation {
|
|
1752
|
+
static getAttributeTypeMap() {
|
|
1753
|
+
return LineItemVatInformation.attributeTypeMap;
|
|
1754
|
+
}
|
|
1755
|
+
}
|
|
1756
|
+
exports.LineItemVatInformation = LineItemVatInformation;
|
|
1757
|
+
LineItemVatInformation.discriminator = undefined;
|
|
1758
|
+
LineItemVatInformation.attributeTypeMap = [
|
|
1115
1759
|
{
|
|
1116
|
-
"name": "
|
|
1117
|
-
"baseName": "
|
|
1118
|
-
"type": "
|
|
1760
|
+
"name": "vatCategory",
|
|
1761
|
+
"baseName": "vatCategory",
|
|
1762
|
+
"type": "VatCategory"
|
|
1119
1763
|
},
|
|
1120
1764
|
{
|
|
1121
|
-
"name": "
|
|
1122
|
-
"baseName": "
|
|
1123
|
-
"type": "
|
|
1765
|
+
"name": "vatRate",
|
|
1766
|
+
"baseName": "vatRate",
|
|
1767
|
+
"type": "number"
|
|
1124
1768
|
}
|
|
1125
1769
|
];
|
|
1126
1770
|
class LoginPost {
|
|
@@ -1325,6 +1969,70 @@ OenormPropertiesDto.attributeTypeMap = [
|
|
|
1325
1969
|
"type": "boolean"
|
|
1326
1970
|
}
|
|
1327
1971
|
];
|
|
1972
|
+
class Organization {
|
|
1973
|
+
static getAttributeTypeMap() {
|
|
1974
|
+
return Organization.attributeTypeMap;
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
exports.Organization = Organization;
|
|
1978
|
+
Organization.discriminator = undefined;
|
|
1979
|
+
Organization.attributeTypeMap = [
|
|
1980
|
+
{
|
|
1981
|
+
"name": "name",
|
|
1982
|
+
"baseName": "name",
|
|
1983
|
+
"type": "string"
|
|
1984
|
+
},
|
|
1985
|
+
{
|
|
1986
|
+
"name": "vatId",
|
|
1987
|
+
"baseName": "vatId",
|
|
1988
|
+
"type": "string"
|
|
1989
|
+
},
|
|
1990
|
+
{
|
|
1991
|
+
"name": "email",
|
|
1992
|
+
"baseName": "email",
|
|
1993
|
+
"type": "string"
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
"name": "contactPersonName",
|
|
1997
|
+
"baseName": "contactPersonName",
|
|
1998
|
+
"type": "string"
|
|
1999
|
+
},
|
|
2000
|
+
{
|
|
2001
|
+
"name": "contactPersonPhone",
|
|
2002
|
+
"baseName": "contactPersonPhone",
|
|
2003
|
+
"type": "string"
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"name": "contactPersonEmail",
|
|
2007
|
+
"baseName": "contactPersonEmail",
|
|
2008
|
+
"type": "string"
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
"name": "address",
|
|
2012
|
+
"baseName": "address",
|
|
2013
|
+
"type": "string"
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
"name": "city",
|
|
2017
|
+
"baseName": "city",
|
|
2018
|
+
"type": "string"
|
|
2019
|
+
},
|
|
2020
|
+
{
|
|
2021
|
+
"name": "zipCode",
|
|
2022
|
+
"baseName": "zipCode",
|
|
2023
|
+
"type": "string"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"name": "countryCode",
|
|
2027
|
+
"baseName": "countryCode",
|
|
2028
|
+
"type": "string"
|
|
2029
|
+
},
|
|
2030
|
+
{
|
|
2031
|
+
"name": "state",
|
|
2032
|
+
"baseName": "state",
|
|
2033
|
+
"type": "string"
|
|
2034
|
+
}
|
|
2035
|
+
];
|
|
1328
2036
|
/**
|
|
1329
2037
|
* Indicates where a service specification was originally created.
|
|
1330
2038
|
*/
|
|
@@ -1448,6 +2156,78 @@ PartyInformationDto.attributeTypeMap = [
|
|
|
1448
2156
|
"type": "string"
|
|
1449
2157
|
}
|
|
1450
2158
|
];
|
|
2159
|
+
class Payee {
|
|
2160
|
+
static getAttributeTypeMap() {
|
|
2161
|
+
return Payee.attributeTypeMap;
|
|
2162
|
+
}
|
|
2163
|
+
}
|
|
2164
|
+
exports.Payee = Payee;
|
|
2165
|
+
Payee.discriminator = undefined;
|
|
2166
|
+
Payee.attributeTypeMap = [
|
|
2167
|
+
{
|
|
2168
|
+
"name": "name",
|
|
2169
|
+
"baseName": "name",
|
|
2170
|
+
"type": "string"
|
|
2171
|
+
},
|
|
2172
|
+
{
|
|
2173
|
+
"name": "identifier",
|
|
2174
|
+
"baseName": "identifier",
|
|
2175
|
+
"type": "string"
|
|
2176
|
+
},
|
|
2177
|
+
{
|
|
2178
|
+
"name": "legalRegistrationIdentifier",
|
|
2179
|
+
"baseName": "legalRegistrationIdentifier",
|
|
2180
|
+
"type": "string"
|
|
2181
|
+
}
|
|
2182
|
+
];
|
|
2183
|
+
class PaymentInstructions {
|
|
2184
|
+
static getAttributeTypeMap() {
|
|
2185
|
+
return PaymentInstructions.attributeTypeMap;
|
|
2186
|
+
}
|
|
2187
|
+
}
|
|
2188
|
+
exports.PaymentInstructions = PaymentInstructions;
|
|
2189
|
+
PaymentInstructions.discriminator = undefined;
|
|
2190
|
+
PaymentInstructions.attributeTypeMap = [
|
|
2191
|
+
{
|
|
2192
|
+
"name": "description",
|
|
2193
|
+
"baseName": "description",
|
|
2194
|
+
"type": "string"
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
"name": "paymentTypeCode",
|
|
2198
|
+
"baseName": "paymentTypeCode",
|
|
2199
|
+
"type": "string"
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"name": "paymentMeans",
|
|
2203
|
+
"baseName": "paymentMeans",
|
|
2204
|
+
"type": "Array<PaymentMeans>"
|
|
2205
|
+
}
|
|
2206
|
+
];
|
|
2207
|
+
class PaymentMeans {
|
|
2208
|
+
static getAttributeTypeMap() {
|
|
2209
|
+
return PaymentMeans.attributeTypeMap;
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
exports.PaymentMeans = PaymentMeans;
|
|
2213
|
+
PaymentMeans.discriminator = undefined;
|
|
2214
|
+
PaymentMeans.attributeTypeMap = [
|
|
2215
|
+
{
|
|
2216
|
+
"name": "accountIdentifier",
|
|
2217
|
+
"baseName": "accountIdentifier",
|
|
2218
|
+
"type": "string"
|
|
2219
|
+
},
|
|
2220
|
+
{
|
|
2221
|
+
"name": "accountName",
|
|
2222
|
+
"baseName": "accountName",
|
|
2223
|
+
"type": "string"
|
|
2224
|
+
},
|
|
2225
|
+
{
|
|
2226
|
+
"name": "serviceProviderIdentifier",
|
|
2227
|
+
"baseName": "serviceProviderIdentifier",
|
|
2228
|
+
"type": "string"
|
|
2229
|
+
}
|
|
2230
|
+
];
|
|
1451
2231
|
/**
|
|
1452
2232
|
* This enum represents the different ways in which a complementing position type can be specified. It is typically only used in GAEB exports, since in Dangl.AVA, complementing positions are always explicitly referenced.
|
|
1453
2233
|
*/
|
|
@@ -1939,6 +2719,25 @@ PostOenormDestinationOptions.attributeTypeMap = [
|
|
|
1939
2719
|
"type": "boolean"
|
|
1940
2720
|
}
|
|
1941
2721
|
];
|
|
2722
|
+
class PreviousInvoice {
|
|
2723
|
+
static getAttributeTypeMap() {
|
|
2724
|
+
return PreviousInvoice.attributeTypeMap;
|
|
2725
|
+
}
|
|
2726
|
+
}
|
|
2727
|
+
exports.PreviousInvoice = PreviousInvoice;
|
|
2728
|
+
PreviousInvoice.discriminator = undefined;
|
|
2729
|
+
PreviousInvoice.attributeTypeMap = [
|
|
2730
|
+
{
|
|
2731
|
+
"name": "invoiceDate",
|
|
2732
|
+
"baseName": "invoiceDate",
|
|
2733
|
+
"type": "Date"
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "invoiceNumber",
|
|
2737
|
+
"baseName": "invoiceNumber",
|
|
2738
|
+
"type": "string"
|
|
2739
|
+
}
|
|
2740
|
+
];
|
|
1942
2741
|
/**
|
|
1943
2742
|
* Price catalogue data represents assumed or estimated prices from a catalogue source
|
|
1944
2743
|
*/
|
|
@@ -2338,6 +3137,60 @@ QuantityAssignmentDto.attributeTypeMap = [
|
|
|
2338
3137
|
"type": "Array<CatalogueReferenceDto>"
|
|
2339
3138
|
}
|
|
2340
3139
|
];
|
|
3140
|
+
class References {
|
|
3141
|
+
static getAttributeTypeMap() {
|
|
3142
|
+
return References.attributeTypeMap;
|
|
3143
|
+
}
|
|
3144
|
+
}
|
|
3145
|
+
exports.References = References;
|
|
3146
|
+
References.discriminator = undefined;
|
|
3147
|
+
References.attributeTypeMap = [
|
|
3148
|
+
{
|
|
3149
|
+
"name": "buyerReference",
|
|
3150
|
+
"baseName": "buyerReference",
|
|
3151
|
+
"type": "string"
|
|
3152
|
+
},
|
|
3153
|
+
{
|
|
3154
|
+
"name": "projectReference",
|
|
3155
|
+
"baseName": "projectReference",
|
|
3156
|
+
"type": "string"
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
"name": "contractReference",
|
|
3160
|
+
"baseName": "contractReference",
|
|
3161
|
+
"type": "string"
|
|
3162
|
+
},
|
|
3163
|
+
{
|
|
3164
|
+
"name": "purchaseOrderReference",
|
|
3165
|
+
"baseName": "purchaseOrderReference",
|
|
3166
|
+
"type": "string"
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
"name": "salesOrderReference",
|
|
3170
|
+
"baseName": "salesOrderReference",
|
|
3171
|
+
"type": "string"
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"name": "receivingAdviceReference",
|
|
3175
|
+
"baseName": "receivingAdviceReference",
|
|
3176
|
+
"type": "string"
|
|
3177
|
+
},
|
|
3178
|
+
{
|
|
3179
|
+
"name": "dispatchAdviceReference",
|
|
3180
|
+
"baseName": "dispatchAdviceReference",
|
|
3181
|
+
"type": "string"
|
|
3182
|
+
},
|
|
3183
|
+
{
|
|
3184
|
+
"name": "tenderOrLotReference",
|
|
3185
|
+
"baseName": "tenderOrLotReference",
|
|
3186
|
+
"type": "string"
|
|
3187
|
+
},
|
|
3188
|
+
{
|
|
3189
|
+
"name": "invoicedObjectIdentifier",
|
|
3190
|
+
"baseName": "invoicedObjectIdentifier",
|
|
3191
|
+
"type": "string"
|
|
3192
|
+
}
|
|
3193
|
+
];
|
|
2341
3194
|
class RegisterPost {
|
|
2342
3195
|
static getAttributeTypeMap() {
|
|
2343
3196
|
return RegisterPost.attributeTypeMap;
|
|
@@ -2978,6 +3831,17 @@ exports.SiaDestinationType = SiaDestinationType;
|
|
|
2978
3831
|
SiaDestinationType.discriminator = undefined;
|
|
2979
3832
|
SiaDestinationType.attributeTypeMap = [];
|
|
2980
3833
|
/**
|
|
3834
|
+
*
|
|
3835
|
+
*/
|
|
3836
|
+
class SourceType {
|
|
3837
|
+
static getAttributeTypeMap() {
|
|
3838
|
+
return SourceType.attributeTypeMap;
|
|
3839
|
+
}
|
|
3840
|
+
}
|
|
3841
|
+
exports.SourceType = SourceType;
|
|
3842
|
+
SourceType.discriminator = undefined;
|
|
3843
|
+
SourceType.attributeTypeMap = [];
|
|
3844
|
+
/**
|
|
2981
3845
|
* This enumeration describes awards for project that are not just a regular procurement. For example, it can be used to describe recurring maintenance or an outline contract (German: Rahmenvertrag) which just specifies services and prices but may be requested on demand when necessary
|
|
2982
3846
|
*/
|
|
2983
3847
|
class SpecialAwardKindDto {
|
|
@@ -3118,14 +3982,53 @@ SubDescriptionDto.attributeTypeMap = [
|
|
|
3118
3982
|
"type": "boolean"
|
|
3119
3983
|
},
|
|
3120
3984
|
{
|
|
3121
|
-
"name": "elementType",
|
|
3122
|
-
"baseName": "elementType",
|
|
3985
|
+
"name": "elementType",
|
|
3986
|
+
"baseName": "elementType",
|
|
3987
|
+
"type": "string"
|
|
3988
|
+
},
|
|
3989
|
+
{
|
|
3990
|
+
"name": "elementTypeDiscriminator",
|
|
3991
|
+
"baseName": "elementTypeDiscriminator",
|
|
3992
|
+
"type": "string"
|
|
3993
|
+
}
|
|
3994
|
+
];
|
|
3995
|
+
class SupportingDocument {
|
|
3996
|
+
static getAttributeTypeMap() {
|
|
3997
|
+
return SupportingDocument.attributeTypeMap;
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
exports.SupportingDocument = SupportingDocument;
|
|
4001
|
+
SupportingDocument.discriminator = undefined;
|
|
4002
|
+
SupportingDocument.attributeTypeMap = [
|
|
4003
|
+
{
|
|
4004
|
+
"name": "documentReference",
|
|
4005
|
+
"baseName": "documentReference",
|
|
4006
|
+
"type": "string"
|
|
4007
|
+
},
|
|
4008
|
+
{
|
|
4009
|
+
"name": "description",
|
|
4010
|
+
"baseName": "description",
|
|
4011
|
+
"type": "string"
|
|
4012
|
+
},
|
|
4013
|
+
{
|
|
4014
|
+
"name": "externalDocumentUrl",
|
|
4015
|
+
"baseName": "externalDocumentUrl",
|
|
4016
|
+
"type": "string"
|
|
4017
|
+
},
|
|
4018
|
+
{
|
|
4019
|
+
"name": "documentBase64",
|
|
4020
|
+
"baseName": "documentBase64",
|
|
3123
4021
|
"type": "string"
|
|
3124
4022
|
},
|
|
3125
4023
|
{
|
|
3126
|
-
"name": "
|
|
3127
|
-
"baseName": "
|
|
4024
|
+
"name": "fileName",
|
|
4025
|
+
"baseName": "fileName",
|
|
3128
4026
|
"type": "string"
|
|
4027
|
+
},
|
|
4028
|
+
{
|
|
4029
|
+
"name": "documentMimeType",
|
|
4030
|
+
"baseName": "documentMimeType",
|
|
4031
|
+
"type": "AttachmentMimeType"
|
|
3129
4032
|
}
|
|
3130
4033
|
];
|
|
3131
4034
|
class TokenLoginPost {
|
|
@@ -3424,6 +4327,56 @@ class ValidationType {
|
|
|
3424
4327
|
exports.ValidationType = ValidationType;
|
|
3425
4328
|
ValidationType.discriminator = undefined;
|
|
3426
4329
|
ValidationType.attributeTypeMap = [];
|
|
4330
|
+
class VatBreakdown {
|
|
4331
|
+
static getAttributeTypeMap() {
|
|
4332
|
+
return VatBreakdown.attributeTypeMap;
|
|
4333
|
+
}
|
|
4334
|
+
}
|
|
4335
|
+
exports.VatBreakdown = VatBreakdown;
|
|
4336
|
+
VatBreakdown.discriminator = undefined;
|
|
4337
|
+
VatBreakdown.attributeTypeMap = [
|
|
4338
|
+
{
|
|
4339
|
+
"name": "netTaxableAmount",
|
|
4340
|
+
"baseName": "netTaxableAmount",
|
|
4341
|
+
"type": "number"
|
|
4342
|
+
},
|
|
4343
|
+
{
|
|
4344
|
+
"name": "vatAmount",
|
|
4345
|
+
"baseName": "vatAmount",
|
|
4346
|
+
"type": "number"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
"name": "vatCategory",
|
|
4350
|
+
"baseName": "vatCategory",
|
|
4351
|
+
"type": "VatCategory"
|
|
4352
|
+
},
|
|
4353
|
+
{
|
|
4354
|
+
"name": "taxRate",
|
|
4355
|
+
"baseName": "taxRate",
|
|
4356
|
+
"type": "number"
|
|
4357
|
+
},
|
|
4358
|
+
{
|
|
4359
|
+
"name": "vatExemptionReasonText",
|
|
4360
|
+
"baseName": "vatExemptionReasonText",
|
|
4361
|
+
"type": "string"
|
|
4362
|
+
},
|
|
4363
|
+
{
|
|
4364
|
+
"name": "vatExemptionReasonCode",
|
|
4365
|
+
"baseName": "vatExemptionReasonCode",
|
|
4366
|
+
"type": "string"
|
|
4367
|
+
}
|
|
4368
|
+
];
|
|
4369
|
+
/**
|
|
4370
|
+
*
|
|
4371
|
+
*/
|
|
4372
|
+
class VatCategory {
|
|
4373
|
+
static getAttributeTypeMap() {
|
|
4374
|
+
return VatCategory.attributeTypeMap;
|
|
4375
|
+
}
|
|
4376
|
+
}
|
|
4377
|
+
exports.VatCategory = VatCategory;
|
|
4378
|
+
VatCategory.discriminator = undefined;
|
|
4379
|
+
VatCategory.attributeTypeMap = [];
|
|
3427
4380
|
/**
|
|
3428
4381
|
* This class does not represent a typical `TimeSpan` but has a scalar value int Duration and a DurationUnit Unit to represent durations as typically used in contracts, e.g. 5 Months
|
|
3429
4382
|
*/
|
|
@@ -3474,6 +4427,8 @@ let typeMap = {
|
|
|
3474
4427
|
"AdditionTypeDto": AdditionTypeDto,
|
|
3475
4428
|
"ApiError": ApiError,
|
|
3476
4429
|
"ArticleDataDto": ArticleDataDto,
|
|
4430
|
+
"AttachmentMimeType": AttachmentMimeType,
|
|
4431
|
+
"AvaProjectWrapper": AvaProjectWrapper,
|
|
3477
4432
|
"AwardTypeDto": AwardTypeDto,
|
|
3478
4433
|
"BankingInformationDto": BankingInformationDto,
|
|
3479
4434
|
"CalculationDto": CalculationDto,
|
|
@@ -3504,12 +4459,26 @@ let typeMap = {
|
|
|
3504
4459
|
"HttpStatusCode": HttpStatusCode,
|
|
3505
4460
|
"IElementDto": IElementDto,
|
|
3506
4461
|
"IdsConnectVersion": IdsConnectVersion,
|
|
4462
|
+
"Invoice": Invoice,
|
|
4463
|
+
"InvoiceAllowance": InvoiceAllowance,
|
|
4464
|
+
"InvoiceCharge": InvoiceCharge,
|
|
4465
|
+
"InvoiceLineItem": InvoiceLineItem,
|
|
4466
|
+
"InvoiceNote": InvoiceNote,
|
|
4467
|
+
"InvoicePeriod": InvoicePeriod,
|
|
4468
|
+
"InvoiceTotals": InvoiceTotals,
|
|
4469
|
+
"InvoiceType": InvoiceType,
|
|
3507
4470
|
"ItemNumberDto": ItemNumberDto,
|
|
3508
4471
|
"ItemNumberSchemaDto": ItemNumberSchemaDto,
|
|
3509
4472
|
"ItemNumberSchemaTierDto": ItemNumberSchemaTierDto,
|
|
3510
4473
|
"ItemNumberSchemaTierTypeDto": ItemNumberSchemaTierTypeDto,
|
|
3511
4474
|
"ItemNumberTypeDto": ItemNumberTypeDto,
|
|
3512
4475
|
"LabourPriceComponentDto": LabourPriceComponentDto,
|
|
4476
|
+
"LineItemAllowance": LineItemAllowance,
|
|
4477
|
+
"LineItemAttribute": LineItemAttribute,
|
|
4478
|
+
"LineItemCharge": LineItemCharge,
|
|
4479
|
+
"LineItemInformation": LineItemInformation,
|
|
4480
|
+
"LineItemPriceDetail": LineItemPriceDetail,
|
|
4481
|
+
"LineItemVatInformation": LineItemVatInformation,
|
|
3513
4482
|
"LoginPost": LoginPost,
|
|
3514
4483
|
"NoteTextDto": NoteTextDto,
|
|
3515
4484
|
"ObjectValidationCheckDetails": ObjectValidationCheckDetails,
|
|
@@ -3517,8 +4486,12 @@ let typeMap = {
|
|
|
3517
4486
|
"OenormOriginCodeDto": OenormOriginCodeDto,
|
|
3518
4487
|
"OenormPositionPropertiesDto": OenormPositionPropertiesDto,
|
|
3519
4488
|
"OenormPropertiesDto": OenormPropertiesDto,
|
|
4489
|
+
"Organization": Organization,
|
|
3520
4490
|
"OriginDto": OriginDto,
|
|
3521
4491
|
"PartyInformationDto": PartyInformationDto,
|
|
4492
|
+
"Payee": Payee,
|
|
4493
|
+
"PaymentInstructions": PaymentInstructions,
|
|
4494
|
+
"PaymentMeans": PaymentMeans,
|
|
3522
4495
|
"PositionComplementingTypeDto": PositionComplementingTypeDto,
|
|
3523
4496
|
"PositionDto": PositionDto,
|
|
3524
4497
|
"PositionHoldOutPropertiesDto": PositionHoldOutPropertiesDto,
|
|
@@ -3527,6 +4500,7 @@ let typeMap = {
|
|
|
3527
4500
|
"PostAvaSourceOptions": PostAvaSourceOptions,
|
|
3528
4501
|
"PostGaebDestinationOptions": PostGaebDestinationOptions,
|
|
3529
4502
|
"PostOenormDestinationOptions": PostOenormDestinationOptions,
|
|
4503
|
+
"PreviousInvoice": PreviousInvoice,
|
|
3530
4504
|
"PriceCatalogueDataDto": PriceCatalogueDataDto,
|
|
3531
4505
|
"PriceComponentDto": PriceComponentDto,
|
|
3532
4506
|
"PriceComponentTypeDto": PriceComponentTypeDto,
|
|
@@ -3538,6 +4512,7 @@ let typeMap = {
|
|
|
3538
4512
|
"ProjectInformationDto": ProjectInformationDto,
|
|
3539
4513
|
"ProjectValidationCheckDetails": ProjectValidationCheckDetails,
|
|
3540
4514
|
"QuantityAssignmentDto": QuantityAssignmentDto,
|
|
4515
|
+
"References": References,
|
|
3541
4516
|
"RegisterPost": RegisterPost,
|
|
3542
4517
|
"ResponseErrorType": ResponseErrorType,
|
|
3543
4518
|
"STLBKeyDto": STLBKeyDto,
|
|
@@ -3547,10 +4522,12 @@ let typeMap = {
|
|
|
3547
4522
|
"ServiceSpecificationGroupDto": ServiceSpecificationGroupDto,
|
|
3548
4523
|
"ServiceTypeDto": ServiceTypeDto,
|
|
3549
4524
|
"SiaDestinationType": SiaDestinationType,
|
|
4525
|
+
"SourceType": SourceType,
|
|
3550
4526
|
"SpecialAwardKindDto": SpecialAwardKindDto,
|
|
3551
4527
|
"StandardReferenceTypeDto": StandardReferenceTypeDto,
|
|
3552
4528
|
"StandardizedDescriptionDto": StandardizedDescriptionDto,
|
|
3553
4529
|
"SubDescriptionDto": SubDescriptionDto,
|
|
4530
|
+
"SupportingDocument": SupportingDocument,
|
|
3554
4531
|
"TokenLoginPost": TokenLoginPost,
|
|
3555
4532
|
"TokenRefreshPost": TokenRefreshPost,
|
|
3556
4533
|
"TokenResponseGet": TokenResponseGet,
|
|
@@ -3562,6 +4539,8 @@ let typeMap = {
|
|
|
3562
4539
|
"ValidationResult": ValidationResult,
|
|
3563
4540
|
"ValidationSeverity": ValidationSeverity,
|
|
3564
4541
|
"ValidationType": ValidationType,
|
|
4542
|
+
"VatBreakdown": VatBreakdown,
|
|
4543
|
+
"VatCategory": VatCategory,
|
|
3565
4544
|
"WarrantyDurationDto": WarrantyDurationDto,
|
|
3566
4545
|
"XmlSchemaValidationCheckDetails": XmlSchemaValidationCheckDetails,
|
|
3567
4546
|
};
|
|
@@ -8806,4 +9785,257 @@ class ValidationApi {
|
|
|
8806
9785
|
}
|
|
8807
9786
|
}
|
|
8808
9787
|
exports.ValidationApi = ValidationApi;
|
|
9788
|
+
var XRechnungConversionApiApiKeys;
|
|
9789
|
+
(function (XRechnungConversionApiApiKeys) {
|
|
9790
|
+
})(XRechnungConversionApiApiKeys = exports.XRechnungConversionApiApiKeys || (exports.XRechnungConversionApiApiKeys = {}));
|
|
9791
|
+
class XRechnungConversionApi {
|
|
9792
|
+
constructor(basePathOrUsername, password, basePath) {
|
|
9793
|
+
this._basePath = defaultBasePath;
|
|
9794
|
+
this.defaultHeaders = {};
|
|
9795
|
+
this._useQuerystring = false;
|
|
9796
|
+
this.authentications = {
|
|
9797
|
+
'default': new VoidAuth(),
|
|
9798
|
+
'Dangl.Identity': new OAuth(),
|
|
9799
|
+
};
|
|
9800
|
+
if (password) {
|
|
9801
|
+
if (basePath) {
|
|
9802
|
+
this.basePath = basePath;
|
|
9803
|
+
}
|
|
9804
|
+
}
|
|
9805
|
+
else {
|
|
9806
|
+
if (basePathOrUsername) {
|
|
9807
|
+
this.basePath = basePathOrUsername;
|
|
9808
|
+
}
|
|
9809
|
+
}
|
|
9810
|
+
}
|
|
9811
|
+
set useQuerystring(value) {
|
|
9812
|
+
this._useQuerystring = value;
|
|
9813
|
+
}
|
|
9814
|
+
set basePath(basePath) {
|
|
9815
|
+
this._basePath = basePath;
|
|
9816
|
+
}
|
|
9817
|
+
get basePath() {
|
|
9818
|
+
return this._basePath;
|
|
9819
|
+
}
|
|
9820
|
+
setDefaultAuthentication(auth) {
|
|
9821
|
+
this.authentications.default = auth;
|
|
9822
|
+
}
|
|
9823
|
+
setApiKey(key, value) {
|
|
9824
|
+
this.authentications[XRechnungConversionApiApiKeys[key]].apiKey = value;
|
|
9825
|
+
}
|
|
9826
|
+
set accessToken(token) {
|
|
9827
|
+
this.authentications['Dangl.Identity'].accessToken = token;
|
|
9828
|
+
}
|
|
9829
|
+
/**
|
|
9830
|
+
*
|
|
9831
|
+
* @summary This will convert an AVA wrapper object to an XRechnung file
|
|
9832
|
+
* @param avaWrapper
|
|
9833
|
+
* @param {*} [options] Override http request options.
|
|
9834
|
+
*/
|
|
9835
|
+
xRechnungConversionConvertAvaToXRechnung(avaWrapper, options = {}) {
|
|
9836
|
+
const localVarPath = this.basePath + '/conversion/xrechnung/ava-wrapper/xrechnung';
|
|
9837
|
+
let localVarQueryParameters = {};
|
|
9838
|
+
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
9839
|
+
let localVarFormParams = {};
|
|
9840
|
+
// verify required parameter 'avaWrapper' is not null or undefined
|
|
9841
|
+
if (avaWrapper === null || avaWrapper === undefined) {
|
|
9842
|
+
throw new Error('Required parameter avaWrapper was null or undefined when calling xRechnungConversionConvertAvaToXRechnung.');
|
|
9843
|
+
}
|
|
9844
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
9845
|
+
let localVarUseFormData = false;
|
|
9846
|
+
let localVarRequestOptions = {
|
|
9847
|
+
method: 'POST',
|
|
9848
|
+
qs: localVarQueryParameters,
|
|
9849
|
+
headers: localVarHeaderParams,
|
|
9850
|
+
uri: localVarPath,
|
|
9851
|
+
useQuerystring: this._useQuerystring,
|
|
9852
|
+
encoding: null,
|
|
9853
|
+
body: ObjectSerializer.serialize(avaWrapper, "AvaProjectWrapper")
|
|
9854
|
+
};
|
|
9855
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
9856
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
9857
|
+
if (Object.keys(localVarFormParams).length) {
|
|
9858
|
+
if (localVarUseFormData) {
|
|
9859
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
9860
|
+
}
|
|
9861
|
+
else {
|
|
9862
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
9863
|
+
}
|
|
9864
|
+
}
|
|
9865
|
+
return new Promise((resolve, reject) => {
|
|
9866
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
9867
|
+
if (error) {
|
|
9868
|
+
reject(error);
|
|
9869
|
+
}
|
|
9870
|
+
else {
|
|
9871
|
+
body = ObjectSerializer.deserialize(body, "Buffer");
|
|
9872
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
9873
|
+
resolve({ response: response, body: body });
|
|
9874
|
+
}
|
|
9875
|
+
else {
|
|
9876
|
+
reject({ response: response, body: body });
|
|
9877
|
+
}
|
|
9878
|
+
}
|
|
9879
|
+
});
|
|
9880
|
+
});
|
|
9881
|
+
}
|
|
9882
|
+
/**
|
|
9883
|
+
*
|
|
9884
|
+
* @summary This will convert an Invoice object to an XRechnung file
|
|
9885
|
+
* @param invoice
|
|
9886
|
+
* @param {*} [options] Override http request options.
|
|
9887
|
+
*/
|
|
9888
|
+
xRechnungConversionConvertInvoiceToXRechnung(invoice, options = {}) {
|
|
9889
|
+
const localVarPath = this.basePath + '/conversion/xrechnung/invoice/xrechnung';
|
|
9890
|
+
let localVarQueryParameters = {};
|
|
9891
|
+
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
9892
|
+
let localVarFormParams = {};
|
|
9893
|
+
// verify required parameter 'invoice' is not null or undefined
|
|
9894
|
+
if (invoice === null || invoice === undefined) {
|
|
9895
|
+
throw new Error('Required parameter invoice was null or undefined when calling xRechnungConversionConvertInvoiceToXRechnung.');
|
|
9896
|
+
}
|
|
9897
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
9898
|
+
let localVarUseFormData = false;
|
|
9899
|
+
let localVarRequestOptions = {
|
|
9900
|
+
method: 'POST',
|
|
9901
|
+
qs: localVarQueryParameters,
|
|
9902
|
+
headers: localVarHeaderParams,
|
|
9903
|
+
uri: localVarPath,
|
|
9904
|
+
useQuerystring: this._useQuerystring,
|
|
9905
|
+
encoding: null,
|
|
9906
|
+
body: ObjectSerializer.serialize(invoice, "Invoice")
|
|
9907
|
+
};
|
|
9908
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
9909
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
9910
|
+
if (Object.keys(localVarFormParams).length) {
|
|
9911
|
+
if (localVarUseFormData) {
|
|
9912
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
9913
|
+
}
|
|
9914
|
+
else {
|
|
9915
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
9916
|
+
}
|
|
9917
|
+
}
|
|
9918
|
+
return new Promise((resolve, reject) => {
|
|
9919
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
9920
|
+
if (error) {
|
|
9921
|
+
reject(error);
|
|
9922
|
+
}
|
|
9923
|
+
else {
|
|
9924
|
+
body = ObjectSerializer.deserialize(body, "Buffer");
|
|
9925
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
9926
|
+
resolve({ response: response, body: body });
|
|
9927
|
+
}
|
|
9928
|
+
else {
|
|
9929
|
+
reject({ response: response, body: body });
|
|
9930
|
+
}
|
|
9931
|
+
}
|
|
9932
|
+
});
|
|
9933
|
+
});
|
|
9934
|
+
}
|
|
9935
|
+
/**
|
|
9936
|
+
*
|
|
9937
|
+
* @summary This will read an XRechnung file and convert it to an AVA wrapper object
|
|
9938
|
+
* @param xrechnungFile
|
|
9939
|
+
* @param {*} [options] Override http request options.
|
|
9940
|
+
*/
|
|
9941
|
+
xRechnungConversionConvertXRechnungToAva(xrechnungFile, options = {}) {
|
|
9942
|
+
const localVarPath = this.basePath + '/conversion/xrechnung/ava-wrapper';
|
|
9943
|
+
let localVarQueryParameters = {};
|
|
9944
|
+
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
9945
|
+
let localVarFormParams = {};
|
|
9946
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
9947
|
+
let localVarUseFormData = false;
|
|
9948
|
+
if (xrechnungFile !== undefined) {
|
|
9949
|
+
localVarFormParams['xrechnungFile'] = xrechnungFile;
|
|
9950
|
+
}
|
|
9951
|
+
localVarUseFormData = true;
|
|
9952
|
+
let localVarRequestOptions = {
|
|
9953
|
+
method: 'POST',
|
|
9954
|
+
qs: localVarQueryParameters,
|
|
9955
|
+
headers: localVarHeaderParams,
|
|
9956
|
+
uri: localVarPath,
|
|
9957
|
+
useQuerystring: this._useQuerystring,
|
|
9958
|
+
json: true,
|
|
9959
|
+
};
|
|
9960
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
9961
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
9962
|
+
if (Object.keys(localVarFormParams).length) {
|
|
9963
|
+
if (localVarUseFormData) {
|
|
9964
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
9965
|
+
}
|
|
9966
|
+
else {
|
|
9967
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
9968
|
+
}
|
|
9969
|
+
}
|
|
9970
|
+
return new Promise((resolve, reject) => {
|
|
9971
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
9972
|
+
if (error) {
|
|
9973
|
+
reject(error);
|
|
9974
|
+
}
|
|
9975
|
+
else {
|
|
9976
|
+
body = ObjectSerializer.deserialize(body, "AvaProjectWrapper");
|
|
9977
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
9978
|
+
resolve({ response: response, body: body });
|
|
9979
|
+
}
|
|
9980
|
+
else {
|
|
9981
|
+
reject({ response: response, body: body });
|
|
9982
|
+
}
|
|
9983
|
+
}
|
|
9984
|
+
});
|
|
9985
|
+
});
|
|
9986
|
+
}
|
|
9987
|
+
/**
|
|
9988
|
+
*
|
|
9989
|
+
* @summary This will read an XRechnung file and convert it to an Invoice object
|
|
9990
|
+
* @param xrechnungFile
|
|
9991
|
+
* @param {*} [options] Override http request options.
|
|
9992
|
+
*/
|
|
9993
|
+
xRechnungConversionConvertXRechnungToInvoice(xrechnungFile, options = {}) {
|
|
9994
|
+
const localVarPath = this.basePath + '/conversion/xrechnung/invoice';
|
|
9995
|
+
let localVarQueryParameters = {};
|
|
9996
|
+
let localVarHeaderParams = Object.assign({}, this.defaultHeaders);
|
|
9997
|
+
let localVarFormParams = {};
|
|
9998
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
9999
|
+
let localVarUseFormData = false;
|
|
10000
|
+
if (xrechnungFile !== undefined) {
|
|
10001
|
+
localVarFormParams['xrechnungFile'] = xrechnungFile;
|
|
10002
|
+
}
|
|
10003
|
+
localVarUseFormData = true;
|
|
10004
|
+
let localVarRequestOptions = {
|
|
10005
|
+
method: 'POST',
|
|
10006
|
+
qs: localVarQueryParameters,
|
|
10007
|
+
headers: localVarHeaderParams,
|
|
10008
|
+
uri: localVarPath,
|
|
10009
|
+
useQuerystring: this._useQuerystring,
|
|
10010
|
+
json: true,
|
|
10011
|
+
};
|
|
10012
|
+
this.authentications['Dangl.Identity'].applyToRequest(localVarRequestOptions);
|
|
10013
|
+
this.authentications.default.applyToRequest(localVarRequestOptions);
|
|
10014
|
+
if (Object.keys(localVarFormParams).length) {
|
|
10015
|
+
if (localVarUseFormData) {
|
|
10016
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
10017
|
+
}
|
|
10018
|
+
else {
|
|
10019
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
10020
|
+
}
|
|
10021
|
+
}
|
|
10022
|
+
return new Promise((resolve, reject) => {
|
|
10023
|
+
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
10024
|
+
if (error) {
|
|
10025
|
+
reject(error);
|
|
10026
|
+
}
|
|
10027
|
+
else {
|
|
10028
|
+
body = ObjectSerializer.deserialize(body, "Invoice");
|
|
10029
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
10030
|
+
resolve({ response: response, body: body });
|
|
10031
|
+
}
|
|
10032
|
+
else {
|
|
10033
|
+
reject({ response: response, body: body });
|
|
10034
|
+
}
|
|
10035
|
+
}
|
|
10036
|
+
});
|
|
10037
|
+
});
|
|
10038
|
+
}
|
|
10039
|
+
}
|
|
10040
|
+
exports.XRechnungConversionApi = XRechnungConversionApi;
|
|
8809
10041
|
//# sourceMappingURL=api.js.map
|