@dangl/avacloud-client-node 1.62.0-beta0001-avacloud-preview → 1.62.1-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 +20 -0
- package/api.js +8 -0
- package/api.js.map +1 -1
- package/api.ts +20 -0
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -388,6 +388,12 @@ export declare class AvaMergeApi {
|
|
|
388
388
|
constructor(baseUrl?: string, http?: {
|
|
389
389
|
fetch(url: RequestInfo, init?: RequestInit): Promise<Response>;
|
|
390
390
|
});
|
|
391
|
+
/**
|
|
392
|
+
* This will merge two AVA projects into one. Typically this is used for merging offers into a base project, which
|
|
393
|
+
preserves the base projects structure and adds prices and text additions from the offer project.
|
|
394
|
+
This is currently in a preview phase, and the endpoint and its models are subject to change in the next versions
|
|
395
|
+
of AVACloud.
|
|
396
|
+
*/
|
|
391
397
|
avaMergeConvertToAva(mergeConfiguration: PostAvaProjectMerge): Promise<SwaggerResponse<GetProjectMergeResult>>;
|
|
392
398
|
protected processAvaMergeConvertToAva(response: Response): Promise<SwaggerResponse<GetProjectMergeResult>>;
|
|
393
399
|
}
|
|
@@ -3947,30 +3953,44 @@ export declare enum UglDestinationVersion {
|
|
|
3947
3953
|
export declare enum IdsConnectVersion {
|
|
3948
3954
|
V2_5 = "V2_5"
|
|
3949
3955
|
}
|
|
3956
|
+
/** This represents the result of merging two AVA projects. */
|
|
3950
3957
|
export declare class GetProjectMergeResult implements IGetProjectMergeResult {
|
|
3958
|
+
/** The resulting merged project. */
|
|
3951
3959
|
mergedProject?: ProjectDto | undefined;
|
|
3960
|
+
/** Elements that were present in the source project, but could not be matched to any element in the target project. */
|
|
3952
3961
|
nonMatchedSourceElements?: IElementDto[] | undefined;
|
|
3962
|
+
/** Elements that were present in the target project, but could not be matched to any element in the source project. */
|
|
3953
3963
|
nonMatchedTargetElements?: IElementDto[] | undefined;
|
|
3954
3964
|
constructor(data?: IGetProjectMergeResult);
|
|
3955
3965
|
init?(_data?: any): void;
|
|
3956
3966
|
static fromJS(data: any): GetProjectMergeResult;
|
|
3957
3967
|
toJSON?(data?: any): any;
|
|
3958
3968
|
}
|
|
3969
|
+
/** This represents the result of merging two AVA projects. */
|
|
3959
3970
|
export interface IGetProjectMergeResult {
|
|
3971
|
+
/** The resulting merged project. */
|
|
3960
3972
|
mergedProject?: IProjectDto | undefined;
|
|
3973
|
+
/** Elements that were present in the source project, but could not be matched to any element in the target project. */
|
|
3961
3974
|
nonMatchedSourceElements?: IElementDto[] | undefined;
|
|
3975
|
+
/** Elements that were present in the target project, but could not be matched to any element in the source project. */
|
|
3962
3976
|
nonMatchedTargetElements?: IElementDto[] | undefined;
|
|
3963
3977
|
}
|
|
3978
|
+
/** This model represents the configuration needed to merge two AVA projects. */
|
|
3964
3979
|
export declare class PostAvaProjectMerge implements IPostAvaProjectMerge {
|
|
3980
|
+
/** The source project from which to take prices and text additions. */
|
|
3965
3981
|
sourceProject?: ProjectDto | undefined;
|
|
3982
|
+
/** The target project which will keep its structure and receive prices and text additions from the source project. */
|
|
3966
3983
|
targetProject?: ProjectDto | undefined;
|
|
3967
3984
|
constructor(data?: IPostAvaProjectMerge);
|
|
3968
3985
|
init?(_data?: any): void;
|
|
3969
3986
|
static fromJS(data: any): PostAvaProjectMerge;
|
|
3970
3987
|
toJSON?(data?: any): any;
|
|
3971
3988
|
}
|
|
3989
|
+
/** This model represents the configuration needed to merge two AVA projects. */
|
|
3972
3990
|
export interface IPostAvaProjectMerge {
|
|
3991
|
+
/** The source project from which to take prices and text additions. */
|
|
3973
3992
|
sourceProject?: IProjectDto | undefined;
|
|
3993
|
+
/** The target project which will keep its structure and receive prices and text additions from the source project. */
|
|
3974
3994
|
targetProject?: IProjectDto | undefined;
|
|
3975
3995
|
}
|
|
3976
3996
|
/** Indicates the status of the AVACloud service */
|
package/api.js
CHANGED
|
@@ -1362,6 +1362,12 @@ class AvaMergeApi {
|
|
|
1362
1362
|
this.http = http ? http : (typeof window !== 'undefined' ? window : { fetch });
|
|
1363
1363
|
this.baseUrl = baseUrl !== null && baseUrl !== void 0 ? baseUrl : "https://avacloud-api.dangl-it.com";
|
|
1364
1364
|
}
|
|
1365
|
+
/**
|
|
1366
|
+
* This will merge two AVA projects into one. Typically this is used for merging offers into a base project, which
|
|
1367
|
+
preserves the base projects structure and adds prices and text additions from the offer project.
|
|
1368
|
+
This is currently in a preview phase, and the endpoint and its models are subject to change in the next versions
|
|
1369
|
+
of AVACloud.
|
|
1370
|
+
*/
|
|
1365
1371
|
avaMergeConvertToAva(mergeConfiguration) {
|
|
1366
1372
|
let url_ = this.baseUrl + "/ava-merge";
|
|
1367
1373
|
url_ = url_.replace(/[?&]$/, "");
|
|
@@ -9417,6 +9423,7 @@ var IdsConnectVersion;
|
|
|
9417
9423
|
(function (IdsConnectVersion) {
|
|
9418
9424
|
IdsConnectVersion["V2_5"] = "V2_5";
|
|
9419
9425
|
})(IdsConnectVersion = exports.IdsConnectVersion || (exports.IdsConnectVersion = {}));
|
|
9426
|
+
/** This represents the result of merging two AVA projects. */
|
|
9420
9427
|
class GetProjectMergeResult {
|
|
9421
9428
|
constructor(data) {
|
|
9422
9429
|
if (data) {
|
|
@@ -9485,6 +9492,7 @@ class GetProjectMergeResult {
|
|
|
9485
9492
|
}
|
|
9486
9493
|
}
|
|
9487
9494
|
exports.GetProjectMergeResult = GetProjectMergeResult;
|
|
9495
|
+
/** This model represents the configuration needed to merge two AVA projects. */
|
|
9488
9496
|
class PostAvaProjectMerge {
|
|
9489
9497
|
constructor(data) {
|
|
9490
9498
|
if (data) {
|