@dangl/avacloud-client-node 1.52.3-beta0002-avacloud-preview → 1.53.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 +50 -16
- package/api.js +84 -27
- package/api.js.map +1 -1
- package/api.ts +93 -32
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -83,6 +83,7 @@ export declare class AslvConversionApi {
|
|
|
83
83
|
writeLongTexts?: boolean | undefined;
|
|
84
84
|
conversionCulture?: string | null | undefined;
|
|
85
85
|
includeArticleNumbers?: boolean | undefined;
|
|
86
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
86
87
|
}): Promise<SwaggerResponse<FileResponse>>;
|
|
87
88
|
/**
|
|
88
89
|
* Converts Aslv files to Excel
|
|
@@ -90,12 +91,14 @@ export declare class AslvConversionApi {
|
|
|
90
91
|
* @param writePrices (optional) Defaults to true
|
|
91
92
|
* @param writeLongTexts (optional) Defaults to true
|
|
92
93
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
93
|
-
localized Excel files
|
|
94
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
94
95
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
95
96
|
that contains the article numbers for positions. Article numbers will be read from
|
|
96
97
|
'position.commerceProperties.articleNumber'
|
|
98
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
99
|
+
be locked, so users can not accidentally modify other fields.
|
|
97
100
|
*/
|
|
98
|
-
aslvConversionConvertToExcel(aslvFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
101
|
+
aslvConversionConvertToExcel(aslvFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
99
102
|
protected processAslvConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
100
103
|
/**
|
|
101
104
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -230,6 +233,7 @@ export declare class AvaConversionApi {
|
|
|
230
233
|
writeLongTexts?: boolean | undefined;
|
|
231
234
|
conversionCulture?: string | null | undefined;
|
|
232
235
|
includeArticleNumbers?: boolean | undefined;
|
|
236
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
233
237
|
}): Promise<SwaggerResponse<FileResponse>>;
|
|
234
238
|
/**
|
|
235
239
|
* Converts Dangl.AVA projects to Excel
|
|
@@ -241,12 +245,14 @@ export declare class AvaConversionApi {
|
|
|
241
245
|
* @param writePrices (optional) Defaults to true
|
|
242
246
|
* @param writeLongTexts (optional) Defaults to true
|
|
243
247
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
244
|
-
localized Excel files
|
|
248
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
245
249
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
246
250
|
that contains the article numbers for positions. Article numbers will be read from
|
|
247
251
|
'position.commerceProperties.articleNumber'
|
|
252
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
253
|
+
be locked, so users can not accidentally modify other fields.
|
|
248
254
|
*/
|
|
249
|
-
avaConversionConvertToExcel(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
255
|
+
avaConversionConvertToExcel(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
250
256
|
protected processAvaConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
251
257
|
/**
|
|
252
258
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -514,6 +520,7 @@ export declare class ExcelConversionApi {
|
|
|
514
520
|
writeLongTexts?: boolean | undefined;
|
|
515
521
|
conversionCulture?: string | null | undefined;
|
|
516
522
|
includeArticleNumbers?: boolean | undefined;
|
|
523
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
517
524
|
}): Promise<SwaggerResponse<FileResponse>>;
|
|
518
525
|
/**
|
|
519
526
|
* Converts Excel files to Excel files. Used, for example, when elements
|
|
@@ -527,12 +534,14 @@ export declare class ExcelConversionApi {
|
|
|
527
534
|
* @param writePrices (optional) Defaults to true
|
|
528
535
|
* @param writeLongTexts (optional) Defaults to true
|
|
529
536
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
530
|
-
localized Excel files
|
|
537
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
531
538
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
532
539
|
that contains the article numbers for positions. Article numbers will be read from
|
|
533
540
|
'position.commerceProperties.articleNumber'
|
|
541
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
542
|
+
be locked, so users can not accidentally modify other fields.
|
|
534
543
|
*/
|
|
535
|
-
excelConversionConvertToExcel(excelFile: FileParameter | null | undefined, readNewElements?: boolean | undefined, rebuildItemNumberSchema?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
544
|
+
excelConversionConvertToExcel(excelFile: FileParameter | null | undefined, readNewElements?: boolean | undefined, rebuildItemNumberSchema?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
536
545
|
protected processExcelConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
537
546
|
/**
|
|
538
547
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -673,6 +682,7 @@ export declare class FlatAvaConversionApi {
|
|
|
673
682
|
writeLongTexts?: boolean | undefined;
|
|
674
683
|
conversionCulture?: string | null | undefined;
|
|
675
684
|
includeArticleNumbers?: boolean | undefined;
|
|
685
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
676
686
|
}): Promise<SwaggerResponse<FileResponse>>;
|
|
677
687
|
/**
|
|
678
688
|
* Converts flat Dangl.AVA projects to Excel
|
|
@@ -684,12 +694,14 @@ export declare class FlatAvaConversionApi {
|
|
|
684
694
|
* @param writePrices (optional) Defaults to true
|
|
685
695
|
* @param writeLongTexts (optional) Defaults to true
|
|
686
696
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
687
|
-
localized Excel files
|
|
697
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
688
698
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
689
699
|
that contains the article numbers for positions. Article numbers will be read from
|
|
690
700
|
'position.commerceProperties.articleNumber'
|
|
701
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
702
|
+
be locked, so users can not accidentally modify other fields.
|
|
691
703
|
*/
|
|
692
|
-
flatAvaConversionConvertToExcel(flatAvaProject: FlatAvaProject, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
704
|
+
flatAvaConversionConvertToExcel(flatAvaProject: FlatAvaProject, tryAutoGenerateItemNumbersAndSchema?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
693
705
|
protected processFlatAvaConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
694
706
|
/**
|
|
695
707
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -972,6 +984,7 @@ export declare class GaebConversionApi {
|
|
|
972
984
|
writeLongTexts?: boolean | undefined;
|
|
973
985
|
conversionCulture?: string | null | undefined;
|
|
974
986
|
includeArticleNumbers?: boolean | undefined;
|
|
987
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
975
988
|
outputHtmlAsXml?: boolean | undefined;
|
|
976
989
|
keepEmptyHtmlText?: boolean | undefined;
|
|
977
990
|
allowUpperCaseItemNumbers?: boolean | undefined;
|
|
@@ -987,10 +1000,12 @@ export declare class GaebConversionApi {
|
|
|
987
1000
|
* @param writePrices (optional) Defaults to true
|
|
988
1001
|
* @param writeLongTexts (optional) Defaults to true
|
|
989
1002
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
990
|
-
localized Excel files
|
|
1003
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
991
1004
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
992
1005
|
that contains the article numbers for positions. Article numbers will be read from
|
|
993
1006
|
'position.commerceProperties.articleNumber'
|
|
1007
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
1008
|
+
be locked, so users can not accidentally modify other fields.
|
|
994
1009
|
* @param outputHtmlAsXml (optional) Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
|
|
995
1010
|
This means that e.g. void Html tags will always be output with their closing tag, e.g.
|
|
996
1011
|
it will produce '<br />' instead of '<br>'.
|
|
@@ -1005,7 +1020,7 @@ export declare class GaebConversionApi {
|
|
|
1005
1020
|
of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
|
|
1006
1021
|
differing quantities will be kept during the import.
|
|
1007
1022
|
*/
|
|
1008
|
-
gaebConversionConvertToExcel(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1023
|
+
gaebConversionConvertToExcel(gaebFile: FileParameter | null | undefined, supportSkippedItemNumberLevelsInPositions?: boolean | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined, outputHtmlAsXml?: boolean | undefined, keepEmptyHtmlText?: boolean | undefined, allowUpperCaseItemNumbers?: boolean | undefined, allowLumpSumItemsWithDifferingQuantities?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1009
1024
|
protected processGaebConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
1010
1025
|
/**
|
|
1011
1026
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -1172,6 +1187,7 @@ export declare class OenormConversionApi {
|
|
|
1172
1187
|
writeLongTexts?: boolean | undefined;
|
|
1173
1188
|
conversionCulture?: string | null | undefined;
|
|
1174
1189
|
includeArticleNumbers?: boolean | undefined;
|
|
1190
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
1175
1191
|
}): Promise<SwaggerResponse<FileResponse>>;
|
|
1176
1192
|
/**
|
|
1177
1193
|
* Converts ÖNorm files to Excel
|
|
@@ -1179,12 +1195,14 @@ export declare class OenormConversionApi {
|
|
|
1179
1195
|
* @param writePrices (optional) Defaults to true
|
|
1180
1196
|
* @param writeLongTexts (optional) Defaults to true
|
|
1181
1197
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
1182
|
-
localized Excel files
|
|
1198
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
1183
1199
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
1184
1200
|
that contains the article numbers for positions. Article numbers will be read from
|
|
1185
1201
|
'position.commerceProperties.articleNumber'
|
|
1202
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
1203
|
+
be locked, so users can not accidentally modify other fields.
|
|
1186
1204
|
*/
|
|
1187
|
-
oenormConversionConvertToExcel(oenormFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1205
|
+
oenormConversionConvertToExcel(oenormFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1188
1206
|
protected processOenormConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
1189
1207
|
/**
|
|
1190
1208
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -1296,6 +1314,7 @@ export declare class RebConversionApi {
|
|
|
1296
1314
|
writeLongTexts?: boolean | undefined;
|
|
1297
1315
|
conversionCulture?: string | null | undefined;
|
|
1298
1316
|
includeArticleNumbers?: boolean | undefined;
|
|
1317
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
1299
1318
|
}): Promise<SwaggerResponse<FileResponse>>;
|
|
1300
1319
|
/**
|
|
1301
1320
|
* Converts REB files to Excel
|
|
@@ -1303,12 +1322,14 @@ export declare class RebConversionApi {
|
|
|
1303
1322
|
* @param writePrices (optional) Defaults to true
|
|
1304
1323
|
* @param writeLongTexts (optional) Defaults to true
|
|
1305
1324
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
1306
|
-
localized Excel files
|
|
1325
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
1307
1326
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
1308
1327
|
that contains the article numbers for positions. Article numbers will be read from
|
|
1309
1328
|
'position.commerceProperties.articleNumber'
|
|
1329
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
1330
|
+
be locked, so users can not accidentally modify other fields.
|
|
1310
1331
|
*/
|
|
1311
|
-
rebConversionConvertToExcel(rebFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1332
|
+
rebConversionConvertToExcel(rebFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1312
1333
|
protected processRebConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
1313
1334
|
/**
|
|
1314
1335
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -1420,6 +1441,7 @@ export declare class SiaConversionApi {
|
|
|
1420
1441
|
writeLongTexts?: boolean | undefined;
|
|
1421
1442
|
conversionCulture?: string | null | undefined;
|
|
1422
1443
|
includeArticleNumbers?: boolean | undefined;
|
|
1444
|
+
lockAllCellsButPrices?: boolean | undefined;
|
|
1423
1445
|
}): Promise<SwaggerResponse<FileResponse>>;
|
|
1424
1446
|
/**
|
|
1425
1447
|
* Converts SIA 451 files to Excel
|
|
@@ -1427,12 +1449,14 @@ export declare class SiaConversionApi {
|
|
|
1427
1449
|
* @param writePrices (optional) Defaults to true
|
|
1428
1450
|
* @param writeLongTexts (optional) Defaults to true
|
|
1429
1451
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
1430
|
-
localized Excel files
|
|
1452
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
1431
1453
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
1432
1454
|
that contains the article numbers for positions. Article numbers will be read from
|
|
1433
1455
|
'position.commerceProperties.articleNumber'
|
|
1456
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
1457
|
+
be locked, so users can not accidentally modify other fields.
|
|
1434
1458
|
*/
|
|
1435
|
-
siaConversionConvertToExcel(siaFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1459
|
+
siaConversionConvertToExcel(siaFile: FileParameter | null | undefined, writePrices?: boolean | undefined, writeLongTexts?: boolean | undefined, conversionCulture?: string | null | undefined, includeArticleNumbers?: boolean | undefined, lockAllCellsButPrices?: boolean | undefined): Promise<SwaggerResponse<FileResponse>>;
|
|
1436
1460
|
protected processSiaConversionConvertToExcel(response: Response): Promise<SwaggerResponse<FileResponse>>;
|
|
1437
1461
|
/**
|
|
1438
1462
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
@@ -1919,6 +1943,8 @@ export declare class ItemNumberSchemaTierDto implements IItemNumberSchemaTierDto
|
|
|
1919
1943
|
length: number;
|
|
1920
1944
|
/** This ItemNumberSchemaTier's type. */
|
|
1921
1945
|
type: ItemNumberTypeDto;
|
|
1946
|
+
/** This enum represents the alignment value for a tier in an ItemNumberSchema. It is not used anywhere for computations at the moment, and is mostly an informational value. */
|
|
1947
|
+
alignment: ItemNumberSchemaTierAlignmentDto;
|
|
1922
1948
|
/** This specifies which ItemNumberSchemaTierType this tier represents. This can be, for example, a group tier / level, a position level or a lot level. */
|
|
1923
1949
|
tierType: ItemNumberSchemaTierTypeDto;
|
|
1924
1950
|
/** Indicates if this tier represents a lot. See the documentation for more information about lots. */
|
|
@@ -1938,6 +1964,8 @@ export interface IItemNumberSchemaTierDto {
|
|
|
1938
1964
|
length: number;
|
|
1939
1965
|
/** This ItemNumberSchemaTier's type. */
|
|
1940
1966
|
type: ItemNumberTypeDto;
|
|
1967
|
+
/** This enum represents the alignment value for a tier in an ItemNumberSchema. It is not used anywhere for computations at the moment, and is mostly an informational value. */
|
|
1968
|
+
alignment: ItemNumberSchemaTierAlignmentDto;
|
|
1941
1969
|
/** This specifies which ItemNumberSchemaTierType this tier represents. This can be, for example, a group tier / level, a position level or a lot level. */
|
|
1942
1970
|
tierType: ItemNumberSchemaTierTypeDto;
|
|
1943
1971
|
/** Indicates if this tier represents a lot. See the documentation for more information about lots. */
|
|
@@ -1952,6 +1980,12 @@ export declare enum ItemNumberTypeDto {
|
|
|
1952
1980
|
Numeric = "Numeric",
|
|
1953
1981
|
Alphanumeric = "Alphanumeric"
|
|
1954
1982
|
}
|
|
1983
|
+
/** This enum represents the alignment value for a tier in an ItemNumberSchema. It is not used anywhere for computations at the moment, and is mostly an informational value. */
|
|
1984
|
+
export declare enum ItemNumberSchemaTierAlignmentDto {
|
|
1985
|
+
Undefined = "Undefined",
|
|
1986
|
+
Left = "Left",
|
|
1987
|
+
Right = "Right"
|
|
1988
|
+
}
|
|
1955
1989
|
/** Specifies the type an ItemNumberSchemaTier represents. For example, a tier may indicate to be used for positions or for groups. */
|
|
1956
1990
|
export declare enum ItemNumberSchemaTierTypeDto {
|
|
1957
1991
|
Undefined = "Undefined",
|
package/api.js
CHANGED
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
// </auto-generated>
|
|
6
6
|
//----------------------
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.ApiException = exports.SwaggerResponse = exports.ClaimGet = exports.UserInfoGet = exports.ForgotPasswordPost = exports.RegisterPost = exports.TokenRefreshPost = exports.TokenLoginPost = exports.ResponseErrorType = exports.HttpStatusCode = exports.TokenResponseGet = exports.LoginPost = exports.AvaProjectWrapper = exports.SourceType = exports.LineItemAttribute = exports.LineItemInformation = exports.LineItemVatInformation = exports.LineItemPriceDetail = exports.LineItemCharge = exports.LineItemAllowance = exports.InvoiceLineItem = exports.InvoiceCharge = exports.InvoiceAllowance = exports.VatCategory = exports.VatBreakdown = exports.AttachmentMimeType = exports.SupportingDocument = exports.PaymentMeans = exports.PaymentInstructions = exports.InvoiceTotals = exports.InvoicePeriod = exports.InvoiceNote = exports.Payee = exports.Organization = exports.PreviousInvoice = exports.References = exports.InvoiceType = void 0;
|
|
8
|
+
exports.ArticleDataDto = exports.ProductDataDto = exports.ServiceTypeDto = exports.PriceTypeDto = exports.PositionTypeDto = exports.ItemNumberDto = exports.ComissionStatusDto = exports.STLBKeyDto = exports.STLBReferenceDto = exports.StandardReferenceTypeDto = exports.StandardizedDescriptionDto = exports.AdditionTypeDto = exports.SubDescriptionDto = exports.PriceComponentDto = exports.CalculationDto = exports.LabourPriceComponentDto = exports.PositionDto = exports.CatalogueReferenceDto = exports.CatalogueTypeDto = exports.CatalogueDto = exports.IElementDto = exports.ServiceSpecificationDto = exports.SpecialAwardKindDto = exports.AwardTypeDto = exports.PriceComponentTypeDto = exports.ItemNumberSchemaTierTypeDto = exports.ItemNumberSchemaTierAlignmentDto = exports.ItemNumberTypeDto = exports.ItemNumberSchemaTierDto = exports.ItemNumberSchemaDto = exports.BankingInformationDto = exports.PartyInformationDto = exports.ProjectInformationDto = exports.PriceRoundingModeDto = exports.ProjectDto = exports.DanglIdentityApi = exports.XRechnungConversionApi = exports.ValidationApi = exports.UglConversionApi = exports.StatusApi = exports.SiaConversionApi = exports.RebConversionApi = exports.OenormConversionApi = exports.IdsConnectConversionApi = exports.GaebConversionApi = exports.FlatAvaConversionApi = exports.ExcelConversionApi = exports.DatanormConversionApi = exports.AvaConversionApi = exports.AslvConversionApi = void 0;
|
|
9
|
+
exports.PostGaebDestinationOptions = exports.PostOenormDestinationOptions = exports.PostAvaSourceOptions = exports.PostAvaProjectValidationSourceOptions = exports.FileValidationSourceType = exports.ValidationType = exports.ProjectValidationCheckDetails = exports.XmlSchemaValidationCheckDetails = exports.ObjectValidationCheckDetails = exports.ValidationCheckType = exports.ValidationSeverity = exports.ValidationCheckResult = exports.ValidationResult = exports.GetStatus = exports.IdsConnectVersion = exports.UglDestinationVersion = exports.DatanormDestinationVersion = exports.SiaDestinationType = exports.DestinationRebType = exports.DestinationOenormType = exports.DestinationGaebExchangePhase = exports.DestinationGaebType = exports.FlatElementDto = exports.FlatAvaProject = exports.ApiError = exports.CommerceInquiryTypeDto = exports.ServiceSpecificationCommercePropertiesDto = exports.DurationUnitDto = exports.WarrantyDurationDto = exports.TradeDiscountDto = exports.PriceInformationDto = exports.OriginDto = exports.ExchangePhaseDto = exports.OenormPropertiesDto = exports.GrossPriceComponentDto = exports.ServiceSpecificationGroupDto = exports.OenormNoteTextPropertiesDto = exports.NoteTextDto = exports.ExecutionDescriptionDto = exports.PriceCatalogueDataDto = exports.HoldOutDurationUnitDto = exports.HoldOutTypeDto = exports.PositionHoldOutPropertiesDto = exports.PositionComplementingTypeDto = exports.AddendumStatusDto = exports.OenormOriginCodeDto = exports.OenormPositionPropertiesDto = exports.ComplementedByQuantityDto = exports.CommercePropertiesDto = exports.QuantityAssignmentDto = void 0;
|
|
10
|
+
exports.ApiException = exports.SwaggerResponse = exports.ClaimGet = exports.UserInfoGet = exports.ForgotPasswordPost = exports.RegisterPost = exports.TokenRefreshPost = exports.TokenLoginPost = exports.ResponseErrorType = exports.HttpStatusCode = exports.TokenResponseGet = exports.LoginPost = exports.AvaProjectWrapper = exports.SourceType = exports.LineItemAttribute = exports.LineItemInformation = exports.LineItemVatInformation = exports.LineItemPriceDetail = exports.LineItemCharge = exports.LineItemAllowance = exports.InvoiceLineItem = exports.InvoiceCharge = exports.InvoiceAllowance = exports.VatCategory = exports.VatBreakdown = exports.AttachmentMimeType = exports.SupportingDocument = exports.PaymentMeans = exports.PaymentInstructions = exports.InvoiceTotals = exports.InvoicePeriod = exports.InvoiceNote = exports.Payee = exports.Organization = exports.PreviousInvoice = exports.References = exports.InvoiceType = exports.Invoice = void 0;
|
|
11
11
|
/* tslint:disable */
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
// ReSharper disable InconsistentNaming
|
|
@@ -278,7 +278,7 @@ class AslvConversionApi {
|
|
|
278
278
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
279
279
|
*/
|
|
280
280
|
aslvConversionConvertToExcelWithRequestObject(aslvFile, options) {
|
|
281
|
-
return this.aslvConversionConvertToExcel(aslvFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers);
|
|
281
|
+
return this.aslvConversionConvertToExcel(aslvFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices);
|
|
282
282
|
}
|
|
283
283
|
/**
|
|
284
284
|
* Converts Aslv files to Excel
|
|
@@ -286,12 +286,14 @@ class AslvConversionApi {
|
|
|
286
286
|
* @param writePrices (optional) Defaults to true
|
|
287
287
|
* @param writeLongTexts (optional) Defaults to true
|
|
288
288
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
289
|
-
localized Excel files
|
|
289
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
290
290
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
291
291
|
that contains the article numbers for positions. Article numbers will be read from
|
|
292
292
|
'position.commerceProperties.articleNumber'
|
|
293
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
294
|
+
be locked, so users can not accidentally modify other fields.
|
|
293
295
|
*/
|
|
294
|
-
aslvConversionConvertToExcel(aslvFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers) {
|
|
296
|
+
aslvConversionConvertToExcel(aslvFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices) {
|
|
295
297
|
let url_ = this.baseUrl + "/conversion/aslv/excel?";
|
|
296
298
|
if (writePrices === null)
|
|
297
299
|
throw new Error("The parameter 'writePrices' cannot be null.");
|
|
@@ -307,6 +309,10 @@ class AslvConversionApi {
|
|
|
307
309
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
308
310
|
else if (includeArticleNumbers !== undefined)
|
|
309
311
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
312
|
+
if (lockAllCellsButPrices === null)
|
|
313
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
314
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
315
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
310
316
|
url_ = url_.replace(/[?&]$/, "");
|
|
311
317
|
const content_ = new FormData();
|
|
312
318
|
if (aslvFile !== null && aslvFile !== undefined)
|
|
@@ -750,7 +756,7 @@ class AvaConversionApi {
|
|
|
750
756
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
751
757
|
*/
|
|
752
758
|
avaConversionConvertToExcelWithRequestObject(avaProject, options) {
|
|
753
|
-
return this.avaConversionConvertToExcel(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers);
|
|
759
|
+
return this.avaConversionConvertToExcel(avaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices);
|
|
754
760
|
}
|
|
755
761
|
/**
|
|
756
762
|
* Converts Dangl.AVA projects to Excel
|
|
@@ -762,12 +768,14 @@ class AvaConversionApi {
|
|
|
762
768
|
* @param writePrices (optional) Defaults to true
|
|
763
769
|
* @param writeLongTexts (optional) Defaults to true
|
|
764
770
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
765
|
-
localized Excel files
|
|
771
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
766
772
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
767
773
|
that contains the article numbers for positions. Article numbers will be read from
|
|
768
774
|
'position.commerceProperties.articleNumber'
|
|
775
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
776
|
+
be locked, so users can not accidentally modify other fields.
|
|
769
777
|
*/
|
|
770
|
-
avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers) {
|
|
778
|
+
avaConversionConvertToExcel(avaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices) {
|
|
771
779
|
let url_ = this.baseUrl + "/conversion/ava/excel?";
|
|
772
780
|
if (tryAutoGenerateItemNumbersAndSchema === null)
|
|
773
781
|
throw new Error("The parameter 'tryAutoGenerateItemNumbersAndSchema' cannot be null.");
|
|
@@ -787,6 +795,10 @@ class AvaConversionApi {
|
|
|
787
795
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
788
796
|
else if (includeArticleNumbers !== undefined)
|
|
789
797
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
798
|
+
if (lockAllCellsButPrices === null)
|
|
799
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
800
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
801
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
790
802
|
url_ = url_.replace(/[?&]$/, "");
|
|
791
803
|
const content_ = JSON.stringify(avaProject);
|
|
792
804
|
let options_ = {
|
|
@@ -1787,7 +1799,7 @@ class ExcelConversionApi {
|
|
|
1787
1799
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
1788
1800
|
*/
|
|
1789
1801
|
excelConversionConvertToExcelWithRequestObject(excelFile, options) {
|
|
1790
|
-
return this.excelConversionConvertToExcel(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers);
|
|
1802
|
+
return this.excelConversionConvertToExcel(excelFile, options === null || options === void 0 ? void 0 : options.readNewElements, options === null || options === void 0 ? void 0 : options.rebuildItemNumberSchema, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices);
|
|
1791
1803
|
}
|
|
1792
1804
|
/**
|
|
1793
1805
|
* Converts Excel files to Excel files. Used, for example, when elements
|
|
@@ -1801,12 +1813,14 @@ class ExcelConversionApi {
|
|
|
1801
1813
|
* @param writePrices (optional) Defaults to true
|
|
1802
1814
|
* @param writeLongTexts (optional) Defaults to true
|
|
1803
1815
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
1804
|
-
localized Excel files
|
|
1816
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
1805
1817
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
1806
1818
|
that contains the article numbers for positions. Article numbers will be read from
|
|
1807
1819
|
'position.commerceProperties.articleNumber'
|
|
1820
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
1821
|
+
be locked, so users can not accidentally modify other fields.
|
|
1808
1822
|
*/
|
|
1809
|
-
excelConversionConvertToExcel(excelFile, readNewElements, rebuildItemNumberSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers) {
|
|
1823
|
+
excelConversionConvertToExcel(excelFile, readNewElements, rebuildItemNumberSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices) {
|
|
1810
1824
|
let url_ = this.baseUrl + "/conversion/excel/excel?";
|
|
1811
1825
|
if (readNewElements === null)
|
|
1812
1826
|
throw new Error("The parameter 'readNewElements' cannot be null.");
|
|
@@ -1830,6 +1844,10 @@ class ExcelConversionApi {
|
|
|
1830
1844
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
1831
1845
|
else if (includeArticleNumbers !== undefined)
|
|
1832
1846
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
1847
|
+
if (lockAllCellsButPrices === null)
|
|
1848
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
1849
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
1850
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
1833
1851
|
url_ = url_.replace(/[?&]$/, "");
|
|
1834
1852
|
const content_ = new FormData();
|
|
1835
1853
|
if (excelFile !== null && excelFile !== undefined)
|
|
@@ -2285,7 +2303,7 @@ class FlatAvaConversionApi {
|
|
|
2285
2303
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
2286
2304
|
*/
|
|
2287
2305
|
flatAvaConversionConvertToExcelWithRequestObject(flatAvaProject, options) {
|
|
2288
|
-
return this.flatAvaConversionConvertToExcel(flatAvaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers);
|
|
2306
|
+
return this.flatAvaConversionConvertToExcel(flatAvaProject, options === null || options === void 0 ? void 0 : options.tryAutoGenerateItemNumbersAndSchema, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices);
|
|
2289
2307
|
}
|
|
2290
2308
|
/**
|
|
2291
2309
|
* Converts flat Dangl.AVA projects to Excel
|
|
@@ -2297,12 +2315,14 @@ class FlatAvaConversionApi {
|
|
|
2297
2315
|
* @param writePrices (optional) Defaults to true
|
|
2298
2316
|
* @param writeLongTexts (optional) Defaults to true
|
|
2299
2317
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
2300
|
-
localized Excel files
|
|
2318
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
2301
2319
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
2302
2320
|
that contains the article numbers for positions. Article numbers will be read from
|
|
2303
2321
|
'position.commerceProperties.articleNumber'
|
|
2322
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
2323
|
+
be locked, so users can not accidentally modify other fields.
|
|
2304
2324
|
*/
|
|
2305
|
-
flatAvaConversionConvertToExcel(flatAvaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers) {
|
|
2325
|
+
flatAvaConversionConvertToExcel(flatAvaProject, tryAutoGenerateItemNumbersAndSchema, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices) {
|
|
2306
2326
|
let url_ = this.baseUrl + "/conversion/flat-ava/excel?";
|
|
2307
2327
|
if (tryAutoGenerateItemNumbersAndSchema === null)
|
|
2308
2328
|
throw new Error("The parameter 'tryAutoGenerateItemNumbersAndSchema' cannot be null.");
|
|
@@ -2322,6 +2342,10 @@ class FlatAvaConversionApi {
|
|
|
2322
2342
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
2323
2343
|
else if (includeArticleNumbers !== undefined)
|
|
2324
2344
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
2345
|
+
if (lockAllCellsButPrices === null)
|
|
2346
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
2347
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
2348
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
2325
2349
|
url_ = url_.replace(/[?&]$/, "");
|
|
2326
2350
|
const content_ = JSON.stringify(flatAvaProject);
|
|
2327
2351
|
let options_ = {
|
|
@@ -3254,7 +3278,7 @@ class GaebConversionApi {
|
|
|
3254
3278
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3255
3279
|
*/
|
|
3256
3280
|
gaebConversionConvertToExcelWithRequestObject(gaebFile, options) {
|
|
3257
|
-
return this.gaebConversionConvertToExcel(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities);
|
|
3281
|
+
return this.gaebConversionConvertToExcel(gaebFile, options === null || options === void 0 ? void 0 : options.supportSkippedItemNumberLevelsInPositions, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices, options === null || options === void 0 ? void 0 : options.outputHtmlAsXml, options === null || options === void 0 ? void 0 : options.keepEmptyHtmlText, options === null || options === void 0 ? void 0 : options.allowUpperCaseItemNumbers, options === null || options === void 0 ? void 0 : options.allowLumpSumItemsWithDifferingQuantities);
|
|
3258
3282
|
}
|
|
3259
3283
|
/**
|
|
3260
3284
|
* Converts GAEB files to Excel
|
|
@@ -3266,10 +3290,12 @@ class GaebConversionApi {
|
|
|
3266
3290
|
* @param writePrices (optional) Defaults to true
|
|
3267
3291
|
* @param writeLongTexts (optional) Defaults to true
|
|
3268
3292
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
3269
|
-
localized Excel files
|
|
3293
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
3270
3294
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
3271
3295
|
that contains the article numbers for positions. Article numbers will be read from
|
|
3272
3296
|
'position.commerceProperties.articleNumber'
|
|
3297
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
3298
|
+
be locked, so users can not accidentally modify other fields.
|
|
3273
3299
|
* @param outputHtmlAsXml (optional) Defaults to 'false'. If this is enabled, then Html text will be output as XML in the output.
|
|
3274
3300
|
This means that e.g. void Html tags will always be output with their closing tag, e.g.
|
|
3275
3301
|
it will produce '<br />' instead of '<br>'.
|
|
@@ -3284,7 +3310,7 @@ class GaebConversionApi {
|
|
|
3284
3310
|
of exactly 1. AVACloud does enforce this convention, but if you set this property to 'true', then
|
|
3285
3311
|
differing quantities will be kept during the import.
|
|
3286
3312
|
*/
|
|
3287
|
-
gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities) {
|
|
3313
|
+
gaebConversionConvertToExcel(gaebFile, supportSkippedItemNumberLevelsInPositions, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices, outputHtmlAsXml, keepEmptyHtmlText, allowUpperCaseItemNumbers, allowLumpSumItemsWithDifferingQuantities) {
|
|
3288
3314
|
let url_ = this.baseUrl + "/conversion/gaeb/excel?";
|
|
3289
3315
|
if (supportSkippedItemNumberLevelsInPositions === null)
|
|
3290
3316
|
throw new Error("The parameter 'supportSkippedItemNumberLevelsInPositions' cannot be null.");
|
|
@@ -3304,6 +3330,10 @@ class GaebConversionApi {
|
|
|
3304
3330
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
3305
3331
|
else if (includeArticleNumbers !== undefined)
|
|
3306
3332
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
3333
|
+
if (lockAllCellsButPrices === null)
|
|
3334
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
3335
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
3336
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
3307
3337
|
if (outputHtmlAsXml === null)
|
|
3308
3338
|
throw new Error("The parameter 'outputHtmlAsXml' cannot be null.");
|
|
3309
3339
|
else if (outputHtmlAsXml !== undefined)
|
|
@@ -3915,7 +3945,7 @@ class OenormConversionApi {
|
|
|
3915
3945
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3916
3946
|
*/
|
|
3917
3947
|
oenormConversionConvertToExcelWithRequestObject(oenormFile, options) {
|
|
3918
|
-
return this.oenormConversionConvertToExcel(oenormFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers);
|
|
3948
|
+
return this.oenormConversionConvertToExcel(oenormFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices);
|
|
3919
3949
|
}
|
|
3920
3950
|
/**
|
|
3921
3951
|
* Converts ÖNorm files to Excel
|
|
@@ -3923,12 +3953,14 @@ class OenormConversionApi {
|
|
|
3923
3953
|
* @param writePrices (optional) Defaults to true
|
|
3924
3954
|
* @param writeLongTexts (optional) Defaults to true
|
|
3925
3955
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
3926
|
-
localized Excel files
|
|
3956
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
3927
3957
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
3928
3958
|
that contains the article numbers for positions. Article numbers will be read from
|
|
3929
3959
|
'position.commerceProperties.articleNumber'
|
|
3960
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
3961
|
+
be locked, so users can not accidentally modify other fields.
|
|
3930
3962
|
*/
|
|
3931
|
-
oenormConversionConvertToExcel(oenormFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers) {
|
|
3963
|
+
oenormConversionConvertToExcel(oenormFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices) {
|
|
3932
3964
|
let url_ = this.baseUrl + "/conversion/oenorm/excel?";
|
|
3933
3965
|
if (writePrices === null)
|
|
3934
3966
|
throw new Error("The parameter 'writePrices' cannot be null.");
|
|
@@ -3944,6 +3976,10 @@ class OenormConversionApi {
|
|
|
3944
3976
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
3945
3977
|
else if (includeArticleNumbers !== undefined)
|
|
3946
3978
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
3979
|
+
if (lockAllCellsButPrices === null)
|
|
3980
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
3981
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
3982
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
3947
3983
|
url_ = url_.replace(/[?&]$/, "");
|
|
3948
3984
|
const content_ = new FormData();
|
|
3949
3985
|
if (oenormFile !== null && oenormFile !== undefined)
|
|
@@ -4358,7 +4394,7 @@ class RebConversionApi {
|
|
|
4358
4394
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
4359
4395
|
*/
|
|
4360
4396
|
rebConversionConvertToExcelWithRequestObject(rebFile, options) {
|
|
4361
|
-
return this.rebConversionConvertToExcel(rebFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers);
|
|
4397
|
+
return this.rebConversionConvertToExcel(rebFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices);
|
|
4362
4398
|
}
|
|
4363
4399
|
/**
|
|
4364
4400
|
* Converts REB files to Excel
|
|
@@ -4366,12 +4402,14 @@ class RebConversionApi {
|
|
|
4366
4402
|
* @param writePrices (optional) Defaults to true
|
|
4367
4403
|
* @param writeLongTexts (optional) Defaults to true
|
|
4368
4404
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
4369
|
-
localized Excel files
|
|
4405
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
4370
4406
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
4371
4407
|
that contains the article numbers for positions. Article numbers will be read from
|
|
4372
4408
|
'position.commerceProperties.articleNumber'
|
|
4409
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
4410
|
+
be locked, so users can not accidentally modify other fields.
|
|
4373
4411
|
*/
|
|
4374
|
-
rebConversionConvertToExcel(rebFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers) {
|
|
4412
|
+
rebConversionConvertToExcel(rebFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices) {
|
|
4375
4413
|
let url_ = this.baseUrl + "/conversion/reb/excel?";
|
|
4376
4414
|
if (writePrices === null)
|
|
4377
4415
|
throw new Error("The parameter 'writePrices' cannot be null.");
|
|
@@ -4387,6 +4425,10 @@ class RebConversionApi {
|
|
|
4387
4425
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
4388
4426
|
else if (includeArticleNumbers !== undefined)
|
|
4389
4427
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
4428
|
+
if (lockAllCellsButPrices === null)
|
|
4429
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
4430
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
4431
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
4390
4432
|
url_ = url_.replace(/[?&]$/, "");
|
|
4391
4433
|
const content_ = new FormData();
|
|
4392
4434
|
if (rebFile !== null && rebFile !== undefined)
|
|
@@ -4801,7 +4843,7 @@ class SiaConversionApi {
|
|
|
4801
4843
|
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
4802
4844
|
*/
|
|
4803
4845
|
siaConversionConvertToExcelWithRequestObject(siaFile, options) {
|
|
4804
|
-
return this.siaConversionConvertToExcel(siaFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers);
|
|
4846
|
+
return this.siaConversionConvertToExcel(siaFile, options === null || options === void 0 ? void 0 : options.writePrices, options === null || options === void 0 ? void 0 : options.writeLongTexts, options === null || options === void 0 ? void 0 : options.conversionCulture, options === null || options === void 0 ? void 0 : options.includeArticleNumbers, options === null || options === void 0 ? void 0 : options.lockAllCellsButPrices);
|
|
4805
4847
|
}
|
|
4806
4848
|
/**
|
|
4807
4849
|
* Converts SIA 451 files to Excel
|
|
@@ -4809,12 +4851,14 @@ class SiaConversionApi {
|
|
|
4809
4851
|
* @param writePrices (optional) Defaults to true
|
|
4810
4852
|
* @param writeLongTexts (optional) Defaults to true
|
|
4811
4853
|
* @param conversionCulture (optional) The culture that should be used for the conversion process, to have
|
|
4812
|
-
localized Excel files
|
|
4854
|
+
localized Excel files. The following conversion cultures are available: 'en' for English, 'de' for German, 'fr' for French, ' it' for Italian and ' es' for Spanish. If the culture is not supported, 'en' will be used.
|
|
4813
4855
|
* @param includeArticleNumbers (optional) If this is enabled, then a new column will be created in the overview worksheet
|
|
4814
4856
|
that contains the article numbers for positions. Article numbers will be read from
|
|
4815
4857
|
'position.commerceProperties.articleNumber'
|
|
4858
|
+
* @param lockAllCellsButPrices (optional) If this is enabled, then all cells except the unit price cells will
|
|
4859
|
+
be locked, so users can not accidentally modify other fields.
|
|
4816
4860
|
*/
|
|
4817
|
-
siaConversionConvertToExcel(siaFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers) {
|
|
4861
|
+
siaConversionConvertToExcel(siaFile, writePrices, writeLongTexts, conversionCulture, includeArticleNumbers, lockAllCellsButPrices) {
|
|
4818
4862
|
let url_ = this.baseUrl + "/conversion/sia/excel?";
|
|
4819
4863
|
if (writePrices === null)
|
|
4820
4864
|
throw new Error("The parameter 'writePrices' cannot be null.");
|
|
@@ -4830,6 +4874,10 @@ class SiaConversionApi {
|
|
|
4830
4874
|
throw new Error("The parameter 'includeArticleNumbers' cannot be null.");
|
|
4831
4875
|
else if (includeArticleNumbers !== undefined)
|
|
4832
4876
|
url_ += "IncludeArticleNumbers=" + encodeURIComponent("" + includeArticleNumbers) + "&";
|
|
4877
|
+
if (lockAllCellsButPrices === null)
|
|
4878
|
+
throw new Error("The parameter 'lockAllCellsButPrices' cannot be null.");
|
|
4879
|
+
else if (lockAllCellsButPrices !== undefined)
|
|
4880
|
+
url_ += "LockAllCellsButPrices=" + encodeURIComponent("" + lockAllCellsButPrices) + "&";
|
|
4833
4881
|
url_ = url_.replace(/[?&]$/, "");
|
|
4834
4882
|
const content_ = new FormData();
|
|
4835
4883
|
if (siaFile !== null && siaFile !== undefined)
|
|
@@ -6290,6 +6338,7 @@ class ItemNumberSchemaTierDto {
|
|
|
6290
6338
|
if (_data) {
|
|
6291
6339
|
this.length = _data["length"];
|
|
6292
6340
|
this.type = _data["type"];
|
|
6341
|
+
this.alignment = _data["alignment"];
|
|
6293
6342
|
this.tierType = _data["tierType"];
|
|
6294
6343
|
this.isLot = _data["isLot"];
|
|
6295
6344
|
this.increment = _data["increment"];
|
|
@@ -6306,6 +6355,7 @@ class ItemNumberSchemaTierDto {
|
|
|
6306
6355
|
data = typeof data === 'object' ? data : {};
|
|
6307
6356
|
data["length"] = this.length;
|
|
6308
6357
|
data["type"] = this.type;
|
|
6358
|
+
data["alignment"] = this.alignment;
|
|
6309
6359
|
data["tierType"] = this.tierType;
|
|
6310
6360
|
data["isLot"] = this.isLot;
|
|
6311
6361
|
data["increment"] = this.increment;
|
|
@@ -6320,6 +6370,13 @@ var ItemNumberTypeDto;
|
|
|
6320
6370
|
ItemNumberTypeDto["Numeric"] = "Numeric";
|
|
6321
6371
|
ItemNumberTypeDto["Alphanumeric"] = "Alphanumeric";
|
|
6322
6372
|
})(ItemNumberTypeDto = exports.ItemNumberTypeDto || (exports.ItemNumberTypeDto = {}));
|
|
6373
|
+
/** This enum represents the alignment value for a tier in an ItemNumberSchema. It is not used anywhere for computations at the moment, and is mostly an informational value. */
|
|
6374
|
+
var ItemNumberSchemaTierAlignmentDto;
|
|
6375
|
+
(function (ItemNumberSchemaTierAlignmentDto) {
|
|
6376
|
+
ItemNumberSchemaTierAlignmentDto["Undefined"] = "Undefined";
|
|
6377
|
+
ItemNumberSchemaTierAlignmentDto["Left"] = "Left";
|
|
6378
|
+
ItemNumberSchemaTierAlignmentDto["Right"] = "Right";
|
|
6379
|
+
})(ItemNumberSchemaTierAlignmentDto = exports.ItemNumberSchemaTierAlignmentDto || (exports.ItemNumberSchemaTierAlignmentDto = {}));
|
|
6323
6380
|
/** Specifies the type an ItemNumberSchemaTier represents. For example, a tier may indicate to be used for positions or for groups. */
|
|
6324
6381
|
var ItemNumberSchemaTierTypeDto;
|
|
6325
6382
|
(function (ItemNumberSchemaTierTypeDto) {
|