@dangl/avacloud-client-node 1.36.0-pullrequest0045-0008-avacloud-preview → 1.37.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/.swagger-codegen/VERSION +1 -1
- package/api.d.ts +439 -18
- package/api.js +208 -16
- package/api.js.map +1 -1
- package/api.ts +275 -82
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* AVACloud API 1.
|
|
2
|
+
* AVACloud API 1.37.0
|
|
3
3
|
* AVACloud API specification
|
|
4
4
|
*
|
|
5
|
-
* OpenAPI spec version: 1.
|
|
5
|
+
* OpenAPI spec version: 1.37.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
@@ -1522,7 +1522,7 @@ export declare class PostGaebDestinationOptions {
|
|
|
1522
1522
|
*/
|
|
1523
1523
|
'exportQuantityDetermination': boolean;
|
|
1524
1524
|
/**
|
|
1525
|
-
* If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
1525
|
+
* If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
1526
1526
|
*/
|
|
1527
1527
|
'removeUnprintableCharactersFromTexts': boolean;
|
|
1528
1528
|
/**
|
|
@@ -1562,7 +1562,7 @@ export declare class PostOenormDestinationOptions {
|
|
|
1562
1562
|
*/
|
|
1563
1563
|
'skipTryEnforceSchemaCompliantXmlOutput': boolean;
|
|
1564
1564
|
/**
|
|
1565
|
-
* If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
1565
|
+
* If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
1566
1566
|
*/
|
|
1567
1567
|
'removeUnprintableCharactersFromTexts': boolean;
|
|
1568
1568
|
static discriminator: string | undefined;
|
|
@@ -2850,6 +2850,17 @@ export declare class AslvConversionApi {
|
|
|
2850
2850
|
setDefaultAuthentication(auth: Authentication): void;
|
|
2851
2851
|
setApiKey(key: AslvConversionApiApiKeys, value: string): void;
|
|
2852
2852
|
set accessToken(token: string);
|
|
2853
|
+
/**
|
|
2854
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
2855
|
+
*/
|
|
2856
|
+
aslvConversionConvertToAvaWithRequestObject(aslvFile: FileParameter, options: {
|
|
2857
|
+
removePlainTextLongTexts?: boolean;
|
|
2858
|
+
removeHtmlLongTexts?: boolean;
|
|
2859
|
+
options?: any;
|
|
2860
|
+
}): Promise<{
|
|
2861
|
+
response: http.IncomingMessage;
|
|
2862
|
+
body: ProjectDto;
|
|
2863
|
+
}>;
|
|
2853
2864
|
/**
|
|
2854
2865
|
*
|
|
2855
2866
|
* @summary Converts Aslv files to Dangl.AVA projects
|
|
@@ -2862,6 +2873,18 @@ export declare class AslvConversionApi {
|
|
|
2862
2873
|
response: http.IncomingMessage;
|
|
2863
2874
|
body: ProjectDto;
|
|
2864
2875
|
}>;
|
|
2876
|
+
/**
|
|
2877
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
2878
|
+
*/
|
|
2879
|
+
aslvConversionConvertToExcelWithRequestObject(aslvFile: FileParameter, options: {
|
|
2880
|
+
writePrices?: boolean;
|
|
2881
|
+
writeLongTexts?: boolean;
|
|
2882
|
+
conversionCulture?: string;
|
|
2883
|
+
options?: any;
|
|
2884
|
+
}): Promise<{
|
|
2885
|
+
response: http.IncomingMessage;
|
|
2886
|
+
body: Buffer;
|
|
2887
|
+
}>;
|
|
2865
2888
|
/**
|
|
2866
2889
|
*
|
|
2867
2890
|
* @summary Converts Aslv files to Excel
|
|
@@ -2875,6 +2898,22 @@ export declare class AslvConversionApi {
|
|
|
2875
2898
|
response: http.IncomingMessage;
|
|
2876
2899
|
body: Buffer;
|
|
2877
2900
|
}>;
|
|
2901
|
+
/**
|
|
2902
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
2903
|
+
*/
|
|
2904
|
+
aslvConversionConvertToGaebWithRequestObject(aslvFile: FileParameter, options: {
|
|
2905
|
+
destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce';
|
|
2906
|
+
targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer';
|
|
2907
|
+
enforceStrictOfferPhaseLongTextOutput?: boolean;
|
|
2908
|
+
exportQuantityDetermination?: boolean;
|
|
2909
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
2910
|
+
forceIncludeDescriptions?: boolean;
|
|
2911
|
+
treatNullItemNumberSchemaAsInvalid?: boolean;
|
|
2912
|
+
options?: any;
|
|
2913
|
+
}): Promise<{
|
|
2914
|
+
response: http.IncomingMessage;
|
|
2915
|
+
body: Buffer;
|
|
2916
|
+
}>;
|
|
2878
2917
|
/**
|
|
2879
2918
|
*
|
|
2880
2919
|
* @summary Converts Aslv files to GAEB files
|
|
@@ -2883,7 +2922,7 @@ export declare class AslvConversionApi {
|
|
|
2883
2922
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
2884
2923
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
2885
2924
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
2886
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
2925
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
2887
2926
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
2888
2927
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
2889
2928
|
* @param {*} [options] Override http request options.
|
|
@@ -2892,6 +2931,19 @@ export declare class AslvConversionApi {
|
|
|
2892
2931
|
response: http.IncomingMessage;
|
|
2893
2932
|
body: Buffer;
|
|
2894
2933
|
}>;
|
|
2934
|
+
/**
|
|
2935
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
2936
|
+
*/
|
|
2937
|
+
aslvConversionConvertToOenormWithRequestObject(aslvFile: FileParameter, options: {
|
|
2938
|
+
destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021';
|
|
2939
|
+
tryRepairProjectStructure?: boolean;
|
|
2940
|
+
skipTryEnforceSchemaCompliantXmlOutput?: boolean;
|
|
2941
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
2942
|
+
options?: any;
|
|
2943
|
+
}): Promise<{
|
|
2944
|
+
response: http.IncomingMessage;
|
|
2945
|
+
body: Buffer;
|
|
2946
|
+
}>;
|
|
2895
2947
|
/**
|
|
2896
2948
|
*
|
|
2897
2949
|
* @summary Converts Aslv files to Oenorm files
|
|
@@ -2899,7 +2951,7 @@ export declare class AslvConversionApi {
|
|
|
2899
2951
|
* @param destinationOenormType Defaults to Lv2015
|
|
2900
2952
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
2901
2953
|
* @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
|
|
2902
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
2954
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
2903
2955
|
* @param {*} [options] Override http request options.
|
|
2904
2956
|
*/
|
|
2905
2957
|
aslvConversionConvertToOenorm(aslvFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
|
|
@@ -2924,6 +2976,18 @@ export declare class AvaConversionApi {
|
|
|
2924
2976
|
setDefaultAuthentication(auth: Authentication): void;
|
|
2925
2977
|
setApiKey(key: AvaConversionApiApiKeys, value: string): void;
|
|
2926
2978
|
set accessToken(token: string);
|
|
2979
|
+
/**
|
|
2980
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
2981
|
+
*/
|
|
2982
|
+
avaConversionConvertToAvaWithRequestObject(avaProject: ProjectDto, options: {
|
|
2983
|
+
tryAutoGenerateItemNumbersAndSchema?: boolean;
|
|
2984
|
+
removePlainTextLongTexts?: boolean;
|
|
2985
|
+
removeHtmlLongTexts?: boolean;
|
|
2986
|
+
options?: any;
|
|
2987
|
+
}): Promise<{
|
|
2988
|
+
response: http.IncomingMessage;
|
|
2989
|
+
body: ProjectDto;
|
|
2990
|
+
}>;
|
|
2927
2991
|
/**
|
|
2928
2992
|
*
|
|
2929
2993
|
* @summary Converts Dangl.AVA projects to Dangl.AVA. This is useful when you want to generate the calculated properties.
|
|
@@ -2937,6 +3001,19 @@ export declare class AvaConversionApi {
|
|
|
2937
3001
|
response: http.IncomingMessage;
|
|
2938
3002
|
body: ProjectDto;
|
|
2939
3003
|
}>;
|
|
3004
|
+
/**
|
|
3005
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3006
|
+
*/
|
|
3007
|
+
avaConversionConvertToExcelWithRequestObject(avaProject: ProjectDto, options: {
|
|
3008
|
+
tryAutoGenerateItemNumbersAndSchema?: boolean;
|
|
3009
|
+
writePrices?: boolean;
|
|
3010
|
+
writeLongTexts?: boolean;
|
|
3011
|
+
conversionCulture?: string;
|
|
3012
|
+
options?: any;
|
|
3013
|
+
}): Promise<{
|
|
3014
|
+
response: http.IncomingMessage;
|
|
3015
|
+
body: Buffer;
|
|
3016
|
+
}>;
|
|
2940
3017
|
/**
|
|
2941
3018
|
*
|
|
2942
3019
|
* @summary Converts Dangl.AVA projects to Excel
|
|
@@ -2951,6 +3028,23 @@ export declare class AvaConversionApi {
|
|
|
2951
3028
|
response: http.IncomingMessage;
|
|
2952
3029
|
body: Buffer;
|
|
2953
3030
|
}>;
|
|
3031
|
+
/**
|
|
3032
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3033
|
+
*/
|
|
3034
|
+
avaConversionConvertToGaebWithRequestObject(avaProject: ProjectDto, options: {
|
|
3035
|
+
tryAutoGenerateItemNumbersAndSchema?: boolean;
|
|
3036
|
+
destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce';
|
|
3037
|
+
targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer';
|
|
3038
|
+
enforceStrictOfferPhaseLongTextOutput?: boolean;
|
|
3039
|
+
exportQuantityDetermination?: boolean;
|
|
3040
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3041
|
+
forceIncludeDescriptions?: boolean;
|
|
3042
|
+
treatNullItemNumberSchemaAsInvalid?: boolean;
|
|
3043
|
+
options?: any;
|
|
3044
|
+
}): Promise<{
|
|
3045
|
+
response: http.IncomingMessage;
|
|
3046
|
+
body: Buffer;
|
|
3047
|
+
}>;
|
|
2954
3048
|
/**
|
|
2955
3049
|
*
|
|
2956
3050
|
* @summary Converts Dangl.AVA projects to GAEB
|
|
@@ -2960,7 +3054,7 @@ export declare class AvaConversionApi {
|
|
|
2960
3054
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
2961
3055
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
2962
3056
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
2963
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3057
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
2964
3058
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
2965
3059
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
2966
3060
|
* @param {*} [options] Override http request options.
|
|
@@ -2969,6 +3063,20 @@ export declare class AvaConversionApi {
|
|
|
2969
3063
|
response: http.IncomingMessage;
|
|
2970
3064
|
body: Buffer;
|
|
2971
3065
|
}>;
|
|
3066
|
+
/**
|
|
3067
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3068
|
+
*/
|
|
3069
|
+
avaConversionConvertToOenormWithRequestObject(avaProject: ProjectDto, options: {
|
|
3070
|
+
tryAutoGenerateItemNumbersAndSchema?: boolean;
|
|
3071
|
+
destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021';
|
|
3072
|
+
tryRepairProjectStructure?: boolean;
|
|
3073
|
+
skipTryEnforceSchemaCompliantXmlOutput?: boolean;
|
|
3074
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3075
|
+
options?: any;
|
|
3076
|
+
}): Promise<{
|
|
3077
|
+
response: http.IncomingMessage;
|
|
3078
|
+
body: Buffer;
|
|
3079
|
+
}>;
|
|
2972
3080
|
/**
|
|
2973
3081
|
*
|
|
2974
3082
|
* @summary Converts Dangl.AVA projects to Oenorm
|
|
@@ -2977,13 +3085,24 @@ export declare class AvaConversionApi {
|
|
|
2977
3085
|
* @param destinationOenormType Defaults to Lv2015
|
|
2978
3086
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
2979
3087
|
* @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
|
|
2980
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3088
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
2981
3089
|
* @param {*} [options] Override http request options.
|
|
2982
3090
|
*/
|
|
2983
3091
|
avaConversionConvertToOenorm(avaProject: ProjectDto, tryAutoGenerateItemNumbersAndSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
|
|
2984
3092
|
response: http.IncomingMessage;
|
|
2985
3093
|
body: Buffer;
|
|
2986
3094
|
}>;
|
|
3095
|
+
/**
|
|
3096
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3097
|
+
*/
|
|
3098
|
+
avaConversionConvertToRebWithRequestObject(avaProject: ProjectDto, options: {
|
|
3099
|
+
tryAutoGenerateItemNumbersAndSchema?: boolean;
|
|
3100
|
+
destinationRebType?: 'D11' | 'X31GaebXmlV32';
|
|
3101
|
+
options?: any;
|
|
3102
|
+
}): Promise<{
|
|
3103
|
+
response: http.IncomingMessage;
|
|
3104
|
+
body: Buffer;
|
|
3105
|
+
}>;
|
|
2987
3106
|
/**
|
|
2988
3107
|
*
|
|
2989
3108
|
* @summary Converts Dangl.AVA projects to REB
|
|
@@ -2996,6 +3115,16 @@ export declare class AvaConversionApi {
|
|
|
2996
3115
|
response: http.IncomingMessage;
|
|
2997
3116
|
body: Buffer;
|
|
2998
3117
|
}>;
|
|
3118
|
+
/**
|
|
3119
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3120
|
+
*/
|
|
3121
|
+
avaConversionConvertToSiaWithRequestObject(avaProject: ProjectDto, options: {
|
|
3122
|
+
tryAutoGenerateItemNumbersAndSchema?: boolean;
|
|
3123
|
+
options?: any;
|
|
3124
|
+
}): Promise<{
|
|
3125
|
+
response: http.IncomingMessage;
|
|
3126
|
+
body: Buffer;
|
|
3127
|
+
}>;
|
|
2999
3128
|
/**
|
|
3000
3129
|
*
|
|
3001
3130
|
* @summary Converts Dangl.AVA projects to SIA 451
|
|
@@ -3034,6 +3163,16 @@ export declare class DanglIdentityApi {
|
|
|
3034
3163
|
response: http.IncomingMessage;
|
|
3035
3164
|
body: TokenResponseGet;
|
|
3036
3165
|
}>;
|
|
3166
|
+
/**
|
|
3167
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3168
|
+
*/
|
|
3169
|
+
danglIdentityLoginWithCookieWithRequestObject(model: LoginPost, options: {
|
|
3170
|
+
redirectUrl?: string;
|
|
3171
|
+
options?: any;
|
|
3172
|
+
}): Promise<{
|
|
3173
|
+
response: http.IncomingMessage;
|
|
3174
|
+
body?: any;
|
|
3175
|
+
}>;
|
|
3037
3176
|
/**
|
|
3038
3177
|
*
|
|
3039
3178
|
* @param model
|
|
@@ -3097,6 +3236,19 @@ export declare class ExcelConversionApi {
|
|
|
3097
3236
|
setDefaultAuthentication(auth: Authentication): void;
|
|
3098
3237
|
setApiKey(key: ExcelConversionApiApiKeys, value: string): void;
|
|
3099
3238
|
set accessToken(token: string);
|
|
3239
|
+
/**
|
|
3240
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3241
|
+
*/
|
|
3242
|
+
excelConversionConvertToAvaWithRequestObject(excelFile: FileParameter, options: {
|
|
3243
|
+
readNewElements?: boolean;
|
|
3244
|
+
rebuildItemNumberSchema?: boolean;
|
|
3245
|
+
removePlainTextLongTexts?: boolean;
|
|
3246
|
+
removeHtmlLongTexts?: boolean;
|
|
3247
|
+
options?: any;
|
|
3248
|
+
}): Promise<{
|
|
3249
|
+
response: http.IncomingMessage;
|
|
3250
|
+
body: ProjectDto;
|
|
3251
|
+
}>;
|
|
3100
3252
|
/**
|
|
3101
3253
|
*
|
|
3102
3254
|
* @summary Converts Excel files to Dangl.AVA projects.
|
|
@@ -3111,6 +3263,20 @@ export declare class ExcelConversionApi {
|
|
|
3111
3263
|
response: http.IncomingMessage;
|
|
3112
3264
|
body: ProjectDto;
|
|
3113
3265
|
}>;
|
|
3266
|
+
/**
|
|
3267
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3268
|
+
*/
|
|
3269
|
+
excelConversionConvertToExcelWithRequestObject(excelFile: FileParameter, options: {
|
|
3270
|
+
readNewElements?: boolean;
|
|
3271
|
+
rebuildItemNumberSchema?: boolean;
|
|
3272
|
+
writePrices?: boolean;
|
|
3273
|
+
writeLongTexts?: boolean;
|
|
3274
|
+
conversionCulture?: string;
|
|
3275
|
+
options?: any;
|
|
3276
|
+
}): Promise<{
|
|
3277
|
+
response: http.IncomingMessage;
|
|
3278
|
+
body: Buffer;
|
|
3279
|
+
}>;
|
|
3114
3280
|
/**
|
|
3115
3281
|
*
|
|
3116
3282
|
* @summary Converts Excel files to Excel files. Used, for example, when elements were added in excel to generate or modify a project. The Excel file can then be shared containing the full project with all formattings, formulas and styles applied.
|
|
@@ -3126,6 +3292,24 @@ export declare class ExcelConversionApi {
|
|
|
3126
3292
|
response: http.IncomingMessage;
|
|
3127
3293
|
body: Buffer;
|
|
3128
3294
|
}>;
|
|
3295
|
+
/**
|
|
3296
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3297
|
+
*/
|
|
3298
|
+
excelConversionConvertToGaebWithRequestObject(excelFile: FileParameter, options: {
|
|
3299
|
+
readNewElements?: boolean;
|
|
3300
|
+
rebuildItemNumberSchema?: boolean;
|
|
3301
|
+
destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce';
|
|
3302
|
+
targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer';
|
|
3303
|
+
enforceStrictOfferPhaseLongTextOutput?: boolean;
|
|
3304
|
+
exportQuantityDetermination?: boolean;
|
|
3305
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3306
|
+
forceIncludeDescriptions?: boolean;
|
|
3307
|
+
treatNullItemNumberSchemaAsInvalid?: boolean;
|
|
3308
|
+
options?: any;
|
|
3309
|
+
}): Promise<{
|
|
3310
|
+
response: http.IncomingMessage;
|
|
3311
|
+
body: Buffer;
|
|
3312
|
+
}>;
|
|
3129
3313
|
/**
|
|
3130
3314
|
*
|
|
3131
3315
|
* @summary Converts Excel files to GAEB files.
|
|
@@ -3136,7 +3320,7 @@ export declare class ExcelConversionApi {
|
|
|
3136
3320
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3137
3321
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
3138
3322
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
3139
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3323
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3140
3324
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
3141
3325
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
3142
3326
|
* @param {*} [options] Override http request options.
|
|
@@ -3145,6 +3329,21 @@ export declare class ExcelConversionApi {
|
|
|
3145
3329
|
response: http.IncomingMessage;
|
|
3146
3330
|
body: Buffer;
|
|
3147
3331
|
}>;
|
|
3332
|
+
/**
|
|
3333
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3334
|
+
*/
|
|
3335
|
+
excelConversionConvertToOenormWithRequestObject(excelFile: FileParameter, options: {
|
|
3336
|
+
readNewElements?: boolean;
|
|
3337
|
+
rebuildItemNumberSchema?: boolean;
|
|
3338
|
+
destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021';
|
|
3339
|
+
tryRepairProjectStructure?: boolean;
|
|
3340
|
+
skipTryEnforceSchemaCompliantXmlOutput?: boolean;
|
|
3341
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3342
|
+
options?: any;
|
|
3343
|
+
}): Promise<{
|
|
3344
|
+
response: http.IncomingMessage;
|
|
3345
|
+
body: Buffer;
|
|
3346
|
+
}>;
|
|
3148
3347
|
/**
|
|
3149
3348
|
*
|
|
3150
3349
|
* @summary Converts Excel files to Oenorm files.
|
|
@@ -3154,7 +3353,7 @@ export declare class ExcelConversionApi {
|
|
|
3154
3353
|
* @param destinationOenormType Defaults to Lv2015
|
|
3155
3354
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
3156
3355
|
* @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
|
|
3157
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3356
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3158
3357
|
* @param {*} [options] Override http request options.
|
|
3159
3358
|
*/
|
|
3160
3359
|
excelConversionConvertToOenorm(excelFile: FileParameter, readNewElements?: boolean, rebuildItemNumberSchema?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
|
|
@@ -3179,6 +3378,18 @@ export declare class GaebConversionApi {
|
|
|
3179
3378
|
setDefaultAuthentication(auth: Authentication): void;
|
|
3180
3379
|
setApiKey(key: GaebConversionApiApiKeys, value: string): void;
|
|
3181
3380
|
set accessToken(token: string);
|
|
3381
|
+
/**
|
|
3382
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3383
|
+
*/
|
|
3384
|
+
gaebConversionConvertToAvaWithRequestObject(gaebFile: FileParameter, options: {
|
|
3385
|
+
supportSkippedItemNumberLevelsInPositions?: boolean;
|
|
3386
|
+
removePlainTextLongTexts?: boolean;
|
|
3387
|
+
removeHtmlLongTexts?: boolean;
|
|
3388
|
+
options?: any;
|
|
3389
|
+
}): Promise<{
|
|
3390
|
+
response: http.IncomingMessage;
|
|
3391
|
+
body: ProjectDto;
|
|
3392
|
+
}>;
|
|
3182
3393
|
/**
|
|
3183
3394
|
*
|
|
3184
3395
|
* @summary Converts GAEB files to Dangl.AVA projects
|
|
@@ -3192,6 +3403,19 @@ export declare class GaebConversionApi {
|
|
|
3192
3403
|
response: http.IncomingMessage;
|
|
3193
3404
|
body: ProjectDto;
|
|
3194
3405
|
}>;
|
|
3406
|
+
/**
|
|
3407
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3408
|
+
*/
|
|
3409
|
+
gaebConversionConvertToExcelWithRequestObject(gaebFile: FileParameter, options: {
|
|
3410
|
+
supportSkippedItemNumberLevelsInPositions?: boolean;
|
|
3411
|
+
writePrices?: boolean;
|
|
3412
|
+
writeLongTexts?: boolean;
|
|
3413
|
+
conversionCulture?: string;
|
|
3414
|
+
options?: any;
|
|
3415
|
+
}): Promise<{
|
|
3416
|
+
response: http.IncomingMessage;
|
|
3417
|
+
body: Buffer;
|
|
3418
|
+
}>;
|
|
3195
3419
|
/**
|
|
3196
3420
|
*
|
|
3197
3421
|
* @summary Converts GAEB files to Excel
|
|
@@ -3206,6 +3430,23 @@ export declare class GaebConversionApi {
|
|
|
3206
3430
|
response: http.IncomingMessage;
|
|
3207
3431
|
body: Buffer;
|
|
3208
3432
|
}>;
|
|
3433
|
+
/**
|
|
3434
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3435
|
+
*/
|
|
3436
|
+
gaebConversionConvertToGaebWithRequestObject(gaebFile: FileParameter, options: {
|
|
3437
|
+
supportSkippedItemNumberLevelsInPositions?: boolean;
|
|
3438
|
+
destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce';
|
|
3439
|
+
targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer';
|
|
3440
|
+
enforceStrictOfferPhaseLongTextOutput?: boolean;
|
|
3441
|
+
exportQuantityDetermination?: boolean;
|
|
3442
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3443
|
+
forceIncludeDescriptions?: boolean;
|
|
3444
|
+
treatNullItemNumberSchemaAsInvalid?: boolean;
|
|
3445
|
+
options?: any;
|
|
3446
|
+
}): Promise<{
|
|
3447
|
+
response: http.IncomingMessage;
|
|
3448
|
+
body: Buffer;
|
|
3449
|
+
}>;
|
|
3209
3450
|
/**
|
|
3210
3451
|
*
|
|
3211
3452
|
* @summary Converts GAEB files to GAEB files. Used for example when transforming or repairing GAEB files.
|
|
@@ -3215,7 +3456,7 @@ export declare class GaebConversionApi {
|
|
|
3215
3456
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3216
3457
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
3217
3458
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
3218
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3459
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3219
3460
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
3220
3461
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
3221
3462
|
* @param {*} [options] Override http request options.
|
|
@@ -3224,6 +3465,20 @@ export declare class GaebConversionApi {
|
|
|
3224
3465
|
response: http.IncomingMessage;
|
|
3225
3466
|
body: Buffer;
|
|
3226
3467
|
}>;
|
|
3468
|
+
/**
|
|
3469
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3470
|
+
*/
|
|
3471
|
+
gaebConversionConvertToOenormWithRequestObject(gaebFile: FileParameter, options: {
|
|
3472
|
+
supportSkippedItemNumberLevelsInPositions?: boolean;
|
|
3473
|
+
destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021';
|
|
3474
|
+
tryRepairProjectStructure?: boolean;
|
|
3475
|
+
skipTryEnforceSchemaCompliantXmlOutput?: boolean;
|
|
3476
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3477
|
+
options?: any;
|
|
3478
|
+
}): Promise<{
|
|
3479
|
+
response: http.IncomingMessage;
|
|
3480
|
+
body: Buffer;
|
|
3481
|
+
}>;
|
|
3227
3482
|
/**
|
|
3228
3483
|
*
|
|
3229
3484
|
* @summary Converts GAEB files to Oenorm files
|
|
@@ -3232,7 +3487,7 @@ export declare class GaebConversionApi {
|
|
|
3232
3487
|
* @param destinationOenormType Defaults to Lv2015
|
|
3233
3488
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
3234
3489
|
* @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
|
|
3235
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3490
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3236
3491
|
* @param {*} [options] Override http request options.
|
|
3237
3492
|
*/
|
|
3238
3493
|
gaebConversionConvertToOenorm(gaebFile: FileParameter, supportSkippedItemNumberLevelsInPositions?: boolean, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
|
|
@@ -3257,6 +3512,17 @@ export declare class OenormConversionApi {
|
|
|
3257
3512
|
setDefaultAuthentication(auth: Authentication): void;
|
|
3258
3513
|
setApiKey(key: OenormConversionApiApiKeys, value: string): void;
|
|
3259
3514
|
set accessToken(token: string);
|
|
3515
|
+
/**
|
|
3516
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3517
|
+
*/
|
|
3518
|
+
oenormConversionConvertToAvaWithRequestObject(oenormFile: FileParameter, options: {
|
|
3519
|
+
removePlainTextLongTexts?: boolean;
|
|
3520
|
+
removeHtmlLongTexts?: boolean;
|
|
3521
|
+
options?: any;
|
|
3522
|
+
}): Promise<{
|
|
3523
|
+
response: http.IncomingMessage;
|
|
3524
|
+
body: ProjectDto;
|
|
3525
|
+
}>;
|
|
3260
3526
|
/**
|
|
3261
3527
|
*
|
|
3262
3528
|
* @summary Converts ÖNorm files to Dangl.AVA projects
|
|
@@ -3269,6 +3535,18 @@ export declare class OenormConversionApi {
|
|
|
3269
3535
|
response: http.IncomingMessage;
|
|
3270
3536
|
body: ProjectDto;
|
|
3271
3537
|
}>;
|
|
3538
|
+
/**
|
|
3539
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3540
|
+
*/
|
|
3541
|
+
oenormConversionConvertToExcelWithRequestObject(oenormFile: FileParameter, options: {
|
|
3542
|
+
writePrices?: boolean;
|
|
3543
|
+
writeLongTexts?: boolean;
|
|
3544
|
+
conversionCulture?: string;
|
|
3545
|
+
options?: any;
|
|
3546
|
+
}): Promise<{
|
|
3547
|
+
response: http.IncomingMessage;
|
|
3548
|
+
body: Buffer;
|
|
3549
|
+
}>;
|
|
3272
3550
|
/**
|
|
3273
3551
|
*
|
|
3274
3552
|
* @summary Converts ÖNorm files to Excel
|
|
@@ -3282,6 +3560,22 @@ export declare class OenormConversionApi {
|
|
|
3282
3560
|
response: http.IncomingMessage;
|
|
3283
3561
|
body: Buffer;
|
|
3284
3562
|
}>;
|
|
3563
|
+
/**
|
|
3564
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3565
|
+
*/
|
|
3566
|
+
oenormConversionConvertToGaebWithRequestObject(oenormFile: FileParameter, options: {
|
|
3567
|
+
destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce';
|
|
3568
|
+
targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer';
|
|
3569
|
+
enforceStrictOfferPhaseLongTextOutput?: boolean;
|
|
3570
|
+
exportQuantityDetermination?: boolean;
|
|
3571
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3572
|
+
forceIncludeDescriptions?: boolean;
|
|
3573
|
+
treatNullItemNumberSchemaAsInvalid?: boolean;
|
|
3574
|
+
options?: any;
|
|
3575
|
+
}): Promise<{
|
|
3576
|
+
response: http.IncomingMessage;
|
|
3577
|
+
body: Buffer;
|
|
3578
|
+
}>;
|
|
3285
3579
|
/**
|
|
3286
3580
|
*
|
|
3287
3581
|
* @summary Converts ÖNorm files to GAEB files.
|
|
@@ -3290,7 +3584,7 @@ export declare class OenormConversionApi {
|
|
|
3290
3584
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3291
3585
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
3292
3586
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
3293
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3587
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3294
3588
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
3295
3589
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
3296
3590
|
* @param {*} [options] Override http request options.
|
|
@@ -3299,6 +3593,19 @@ export declare class OenormConversionApi {
|
|
|
3299
3593
|
response: http.IncomingMessage;
|
|
3300
3594
|
body: Buffer;
|
|
3301
3595
|
}>;
|
|
3596
|
+
/**
|
|
3597
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3598
|
+
*/
|
|
3599
|
+
oenormConversionConvertToOenormWithRequestObject(oenormFile: FileParameter, options: {
|
|
3600
|
+
destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021';
|
|
3601
|
+
tryRepairProjectStructure?: boolean;
|
|
3602
|
+
skipTryEnforceSchemaCompliantXmlOutput?: boolean;
|
|
3603
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3604
|
+
options?: any;
|
|
3605
|
+
}): Promise<{
|
|
3606
|
+
response: http.IncomingMessage;
|
|
3607
|
+
body: Buffer;
|
|
3608
|
+
}>;
|
|
3302
3609
|
/**
|
|
3303
3610
|
*
|
|
3304
3611
|
* @summary Converts ÖNorm files to Oenorm files.
|
|
@@ -3306,7 +3613,7 @@ export declare class OenormConversionApi {
|
|
|
3306
3613
|
* @param destinationOenormType Defaults to Lv2015
|
|
3307
3614
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
3308
3615
|
* @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
|
|
3309
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3616
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3310
3617
|
* @param {*} [options] Override http request options.
|
|
3311
3618
|
*/
|
|
3312
3619
|
oenormConversionConvertToOenorm(oenormFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
|
|
@@ -3331,6 +3638,17 @@ export declare class RebConversionApi {
|
|
|
3331
3638
|
setDefaultAuthentication(auth: Authentication): void;
|
|
3332
3639
|
setApiKey(key: RebConversionApiApiKeys, value: string): void;
|
|
3333
3640
|
set accessToken(token: string);
|
|
3641
|
+
/**
|
|
3642
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3643
|
+
*/
|
|
3644
|
+
rebConversionConvertToAvaWithRequestObject(rebFile: FileParameter, options: {
|
|
3645
|
+
removePlainTextLongTexts?: boolean;
|
|
3646
|
+
removeHtmlLongTexts?: boolean;
|
|
3647
|
+
options?: any;
|
|
3648
|
+
}): Promise<{
|
|
3649
|
+
response: http.IncomingMessage;
|
|
3650
|
+
body: ProjectDto;
|
|
3651
|
+
}>;
|
|
3334
3652
|
/**
|
|
3335
3653
|
*
|
|
3336
3654
|
* @summary Converts REB files to Dangl.AVA projects
|
|
@@ -3343,6 +3661,18 @@ export declare class RebConversionApi {
|
|
|
3343
3661
|
response: http.IncomingMessage;
|
|
3344
3662
|
body: ProjectDto;
|
|
3345
3663
|
}>;
|
|
3664
|
+
/**
|
|
3665
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3666
|
+
*/
|
|
3667
|
+
rebConversionConvertToExcelWithRequestObject(rebFile: FileParameter, options: {
|
|
3668
|
+
writePrices?: boolean;
|
|
3669
|
+
writeLongTexts?: boolean;
|
|
3670
|
+
conversionCulture?: string;
|
|
3671
|
+
options?: any;
|
|
3672
|
+
}): Promise<{
|
|
3673
|
+
response: http.IncomingMessage;
|
|
3674
|
+
body: Buffer;
|
|
3675
|
+
}>;
|
|
3346
3676
|
/**
|
|
3347
3677
|
*
|
|
3348
3678
|
* @summary Converts REB files to Excel
|
|
@@ -3356,6 +3686,22 @@ export declare class RebConversionApi {
|
|
|
3356
3686
|
response: http.IncomingMessage;
|
|
3357
3687
|
body: Buffer;
|
|
3358
3688
|
}>;
|
|
3689
|
+
/**
|
|
3690
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3691
|
+
*/
|
|
3692
|
+
rebConversionConvertToGaebWithRequestObject(rebFile: FileParameter, options: {
|
|
3693
|
+
destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce';
|
|
3694
|
+
targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer';
|
|
3695
|
+
enforceStrictOfferPhaseLongTextOutput?: boolean;
|
|
3696
|
+
exportQuantityDetermination?: boolean;
|
|
3697
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3698
|
+
forceIncludeDescriptions?: boolean;
|
|
3699
|
+
treatNullItemNumberSchemaAsInvalid?: boolean;
|
|
3700
|
+
options?: any;
|
|
3701
|
+
}): Promise<{
|
|
3702
|
+
response: http.IncomingMessage;
|
|
3703
|
+
body: Buffer;
|
|
3704
|
+
}>;
|
|
3359
3705
|
/**
|
|
3360
3706
|
*
|
|
3361
3707
|
* @summary Converts REB files to GAEB files
|
|
@@ -3364,7 +3710,7 @@ export declare class RebConversionApi {
|
|
|
3364
3710
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3365
3711
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
3366
3712
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
3367
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3713
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3368
3714
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
3369
3715
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
3370
3716
|
* @param {*} [options] Override http request options.
|
|
@@ -3373,6 +3719,19 @@ export declare class RebConversionApi {
|
|
|
3373
3719
|
response: http.IncomingMessage;
|
|
3374
3720
|
body: Buffer;
|
|
3375
3721
|
}>;
|
|
3722
|
+
/**
|
|
3723
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3724
|
+
*/
|
|
3725
|
+
rebConversionConvertToOenormWithRequestObject(rebFile: FileParameter, options: {
|
|
3726
|
+
destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021';
|
|
3727
|
+
tryRepairProjectStructure?: boolean;
|
|
3728
|
+
skipTryEnforceSchemaCompliantXmlOutput?: boolean;
|
|
3729
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3730
|
+
options?: any;
|
|
3731
|
+
}): Promise<{
|
|
3732
|
+
response: http.IncomingMessage;
|
|
3733
|
+
body: Buffer;
|
|
3734
|
+
}>;
|
|
3376
3735
|
/**
|
|
3377
3736
|
*
|
|
3378
3737
|
* @summary Converts REB files to Oenorm
|
|
@@ -3380,7 +3739,7 @@ export declare class RebConversionApi {
|
|
|
3380
3739
|
* @param destinationOenormType Defaults to Lv2015
|
|
3381
3740
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
3382
3741
|
* @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
|
|
3383
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3742
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3384
3743
|
* @param {*} [options] Override http request options.
|
|
3385
3744
|
*/
|
|
3386
3745
|
rebConversionConvertToOenorm(rebFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
|
|
@@ -3405,6 +3764,17 @@ export declare class SiaConversionApi {
|
|
|
3405
3764
|
setDefaultAuthentication(auth: Authentication): void;
|
|
3406
3765
|
setApiKey(key: SiaConversionApiApiKeys, value: string): void;
|
|
3407
3766
|
set accessToken(token: string);
|
|
3767
|
+
/**
|
|
3768
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3769
|
+
*/
|
|
3770
|
+
siaConversionConvertToAvaWithRequestObject(siaFile: FileParameter, options: {
|
|
3771
|
+
removePlainTextLongTexts?: boolean;
|
|
3772
|
+
removeHtmlLongTexts?: boolean;
|
|
3773
|
+
options?: any;
|
|
3774
|
+
}): Promise<{
|
|
3775
|
+
response: http.IncomingMessage;
|
|
3776
|
+
body: ProjectDto;
|
|
3777
|
+
}>;
|
|
3408
3778
|
/**
|
|
3409
3779
|
*
|
|
3410
3780
|
* @summary Converts SIA 451 files to Dangl.AVA projects
|
|
@@ -3417,6 +3787,18 @@ export declare class SiaConversionApi {
|
|
|
3417
3787
|
response: http.IncomingMessage;
|
|
3418
3788
|
body: ProjectDto;
|
|
3419
3789
|
}>;
|
|
3790
|
+
/**
|
|
3791
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3792
|
+
*/
|
|
3793
|
+
siaConversionConvertToExcelWithRequestObject(siaFile: FileParameter, options: {
|
|
3794
|
+
writePrices?: boolean;
|
|
3795
|
+
writeLongTexts?: boolean;
|
|
3796
|
+
conversionCulture?: string;
|
|
3797
|
+
options?: any;
|
|
3798
|
+
}): Promise<{
|
|
3799
|
+
response: http.IncomingMessage;
|
|
3800
|
+
body: Buffer;
|
|
3801
|
+
}>;
|
|
3420
3802
|
/**
|
|
3421
3803
|
*
|
|
3422
3804
|
* @summary Converts SIA 451 files to Excel
|
|
@@ -3430,6 +3812,22 @@ export declare class SiaConversionApi {
|
|
|
3430
3812
|
response: http.IncomingMessage;
|
|
3431
3813
|
body: Buffer;
|
|
3432
3814
|
}>;
|
|
3815
|
+
/**
|
|
3816
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3817
|
+
*/
|
|
3818
|
+
siaConversionConvertToGaebWithRequestObject(siaFile: FileParameter, options: {
|
|
3819
|
+
destinationGaebType?: 'Gaeb90' | 'Gaeb2000' | 'Gaeb2000Commerce' | 'GaebXml_V3_1' | 'GaebXml_V3_2' | 'GaebXml_V3_2_Commerce' | 'GaebXml_V3_3' | 'GaebXml_V3_3_Commerce' | 'GaebXml_V3_3_2019' | 'GaebXml_V3_3_2019_Commerce';
|
|
3820
|
+
targetExchangePhaseTransform?: 'None' | 'Base' | 'OfferRequest' | 'Offer' | 'Grant' | 'CostEstimate' | 'SideOffer';
|
|
3821
|
+
enforceStrictOfferPhaseLongTextOutput?: boolean;
|
|
3822
|
+
exportQuantityDetermination?: boolean;
|
|
3823
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3824
|
+
forceIncludeDescriptions?: boolean;
|
|
3825
|
+
treatNullItemNumberSchemaAsInvalid?: boolean;
|
|
3826
|
+
options?: any;
|
|
3827
|
+
}): Promise<{
|
|
3828
|
+
response: http.IncomingMessage;
|
|
3829
|
+
body: Buffer;
|
|
3830
|
+
}>;
|
|
3433
3831
|
/**
|
|
3434
3832
|
*
|
|
3435
3833
|
* @summary Converts SIA 451 files to GAEB files
|
|
@@ -3438,7 +3836,7 @@ export declare class SiaConversionApi {
|
|
|
3438
3836
|
* @param targetExchangePhaseTransform Defaults to none, meaning no transformation will be done
|
|
3439
3837
|
* @param enforceStrictOfferPhaseLongTextOutput Defaults to false. If this is enabled, exported long texts to GAEB XML that use text additions will be strictly schema compliant. If this is not enabled, any text that is marked to contain a text addition is exported in full to ensure that incorrectly used text additions are still preserved in the export.
|
|
3440
3838
|
* @param exportQuantityDetermination Defaults to false. If this is enabled, quantities are exported in detail in GAEB XML targets via the 'QtyDeterm' (Quantity Determination, or Quantity Take Off) fields. To control this, you can set custom quantity calculations in the 'QuantityComponents' property of positions. Please see the entry for 'Quantity Determination' in the Dangl.AVA HowTo documentation section. Please be advised that enabling this might export data that was not intended to be exported, like internal quantity calculation details, depending on what data you put in the 'QuantityComponents' property.
|
|
3441
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3839
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3442
3840
|
* @param forceIncludeDescriptions If this is enabled, all description elements like texts and execution descriptions will be output to the result. This is mostly only applicable to GAEB exports to phase 84 - Offer, which does typically not include descriptions.
|
|
3443
3841
|
* @param treatNullItemNumberSchemaAsInvalid When exporting to GAEB, an item number schema is usually required. AVACloud will try to fix invalid item number schemas. With this setting, you can also tell AVACloud to treat a null value as invalid. Otherwise, null schemas will simply be ignored and not lead to any schema being generated. It is recommended to enable this option, but it is disabled by default for compatibility reasons.
|
|
3444
3842
|
* @param {*} [options] Override http request options.
|
|
@@ -3447,6 +3845,19 @@ export declare class SiaConversionApi {
|
|
|
3447
3845
|
response: http.IncomingMessage;
|
|
3448
3846
|
body: Buffer;
|
|
3449
3847
|
}>;
|
|
3848
|
+
/**
|
|
3849
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3850
|
+
*/
|
|
3851
|
+
siaConversionConvertToOenormWithRequestObject(siaFile: FileParameter, options: {
|
|
3852
|
+
destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021';
|
|
3853
|
+
tryRepairProjectStructure?: boolean;
|
|
3854
|
+
skipTryEnforceSchemaCompliantXmlOutput?: boolean;
|
|
3855
|
+
removeUnprintableCharactersFromTexts?: boolean;
|
|
3856
|
+
options?: any;
|
|
3857
|
+
}): Promise<{
|
|
3858
|
+
response: http.IncomingMessage;
|
|
3859
|
+
body: Buffer;
|
|
3860
|
+
}>;
|
|
3450
3861
|
/**
|
|
3451
3862
|
*
|
|
3452
3863
|
* @summary Converts SIA 451 files to Oenorm files
|
|
@@ -3454,7 +3865,7 @@ export declare class SiaConversionApi {
|
|
|
3454
3865
|
* @param destinationOenormType Defaults to Lv2015
|
|
3455
3866
|
* @param tryRepairProjectStructure Defaults to false. If this is enabled, the converter will try to ensure that the project structure can be mapped to Oenorm. It might introduce additional group levels to ensure a compatible target
|
|
3456
3867
|
* @param skipTryEnforceSchemaCompliantXmlOutput If this option is enabled, AVACloud will not attempt to force a schema-compliant Xml output for ÖNorm targets that are Xml based. By default, AVACloud will try to add required fields, even if no data is present, with sensible defaults. This behavior can be disabled with this option.
|
|
3457
|
-
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats.
|
|
3868
|
+
* @param removeUnprintableCharactersFromTexts If this is enabled, unprintable characters are removed from text elements. Otherwise, the conversion might fail in case some text content contains characters that are not allowed in XML output formats. Defaults to true.
|
|
3458
3869
|
* @param {*} [options] Override http request options.
|
|
3459
3870
|
*/
|
|
3460
3871
|
siaConversionConvertToOenorm(siaFile: FileParameter, destinationOenormType?: 'Lv2015' | 'Lb2015' | 'B2063' | 'Lv2009' | 'Lb2009' | 'Lv2021' | 'Lb2021', tryRepairProjectStructure?: boolean, skipTryEnforceSchemaCompliantXmlOutput?: boolean, removeUnprintableCharactersFromTexts?: boolean, options?: any): Promise<{
|
|
@@ -3506,6 +3917,16 @@ export declare class ValidationApi {
|
|
|
3506
3917
|
setDefaultAuthentication(auth: Authentication): void;
|
|
3507
3918
|
setApiKey(key: ValidationApiApiKeys, value: string): void;
|
|
3508
3919
|
set accessToken(token: string);
|
|
3920
|
+
/**
|
|
3921
|
+
* This is a generated method that accepts an options object, it simply calls the generated method with the parameter list
|
|
3922
|
+
*/
|
|
3923
|
+
validationValidateFileWithRequestObject(avaFile: FileParameter, options: {
|
|
3924
|
+
fileValidationSourceType?: 'Gaeb' | 'Oenorm';
|
|
3925
|
+
options?: any;
|
|
3926
|
+
}): Promise<{
|
|
3927
|
+
response: http.IncomingMessage;
|
|
3928
|
+
body: ValidationResult;
|
|
3929
|
+
}>;
|
|
3509
3930
|
/**
|
|
3510
3931
|
*
|
|
3511
3932
|
* @summary This endpoint validates AVA files, typically GAEB or ÖNorm. The type of file needs to be provided as a query parameter, since there is no auto detection of the uploaded file type.
|