Skip to content

Commit 2dcecf0

Browse files
[TASKSCLOUD-902] - Deployed new 25.4 version.
1 parent 4101406 commit 2dcecf0

File tree

6 files changed

+51
-5
lines changed

6 files changed

+51
-5
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/t
3333
## Save Project Data As
3434
XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG
3535

36+
## Enhancements in Version 25.4
37+
- Enhanced Task model.
38+
- Enhanced TaskLink model.
39+
- Enhanced ProjectRecalculationResult model.
40+
3641
## Enhancements in Version 24.10
3742
- Enhanced reading data from Primavera-specific task's properties.
3843

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@asposecloud/aspose-tasks-cloud",
3-
"version": "24.10.0",
3+
"version": "25.4.0",
44
"description": "Aspose.Tasks Cloud SDK for Node.js",
55
"homepage": "https://products.aspose.cloud/tasks",
66
"readmeFilename": "README.md",

src/internal/requestHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ async function invokeApiMethodInternal(requestOptions: request.Options, confgura
106106
//headers
107107
sa.set("User-Agent", "tasks nodejs sdk");
108108
sa.set("x-aspose-client", "nodejs sdk");
109-
sa.set("x-aspose-client-version", "24.10");
109+
sa.set("x-aspose-client-version", "25.4");
110110

111111
if (!requestOptions.headers) {
112112
requestOptions.headers = {};

src/model/model.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4104,6 +4104,11 @@ export class ProjectRecalculationResult {
41044104
name: "validationErrorMessage",
41054105
baseName: "validationErrorMessage",
41064106
type: "string",
4107+
},
4108+
{
4109+
name: "failedTaskUid",
4110+
baseName: "failedTaskUid",
4111+
type: "number",
41074112
} ];
41084113

41094114
/**
@@ -4117,6 +4122,11 @@ export class ProjectRecalculationResult {
41174122

41184123
public validationErrorMessage: string;
41194124

4125+
/**
4126+
* Gets the task uid which caused the validation error.
4127+
*/
4128+
public failedTaskUid: number;
4129+
41204130
public constructor(init?: Partial<ProjectRecalculationResult>) {
41214131

41224132
Object.assign(this, init);
@@ -6374,6 +6384,11 @@ export class Task {
63746384
baseName: "cost",
63756385
type: "number",
63766386
},
6387+
{
6388+
name: "outlineNumber",
6389+
baseName: "outlineNumber",
6390+
type: "string",
6391+
},
63776392
{
63786393
name: "cv",
63796394
baseName: "cv",
@@ -6818,6 +6833,11 @@ export class Task {
68186833
name: "activityId",
68196834
baseName: "activityId",
68206835
type: "string",
6836+
},
6837+
{
6838+
name: "externalUid",
6839+
baseName: "externalUid",
6840+
type: "number",
68216841
} ];
68226842

68236843
/**
@@ -6957,6 +6977,11 @@ export class Task {
69576977
*/
69586978
public cost: number;
69596979

6980+
/**
6981+
* Gets or sets a value of OutlineNumber.
6982+
*/
6983+
public outlineNumber: string;
6984+
69606985
/**
69616986
* The difference between the baseline cost and total cost for a task.
69626987
*/
@@ -7375,6 +7400,11 @@ export class Task {
73757400
*/
73767401
public activityId: string;
73777402

7403+
/**
7404+
* Contains the external task's Unique identifier when the task is external.
7405+
*/
7406+
public externalUid: number;
7407+
73787408
public constructor(init?: Partial<Task>) {
73797409

73807410
Object.assign(this, init);
@@ -7546,6 +7576,11 @@ export class TaskLink {
75467576
name: "lagFormat",
75477577
baseName: "lagFormat",
75487578
type: "TimeUnitType",
7579+
},
7580+
{
7581+
name: "linkLagTimeSpan",
7582+
baseName: "linkLagTimeSpan",
7583+
type: "string",
75497584
} ];
75507585

75517586
/**
@@ -7569,6 +7604,11 @@ export class TaskLink {
75697604

75707605
public lagFormat: TimeUnitType;
75717606

7607+
/**
7608+
* Gets or sets lag duration, depending on LagFormat.
7609+
*/
7610+
public linkLagTimeSpan: string;
7611+
75727612
public constructor(init?: Partial<TaskLink>) {
75737613

75747614
Object.assign(this, init);

test/taskLinksTests.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ describe("putTaskLinks function", () => {
117117
expect(getResult.body.taskLinks[0].linkType).to.equal(TaskLinkType.StartToFinish);
118118
expect(getResult.body.taskLinks[0].lag).to.equal(9600);
119119
expect(getResult.body.taskLinks[0].lagFormat).to.equal(TimeUnitType.Day);
120+
expect(getResult.body.taskLinks[0].linkLagTimeSpan).to.equal("16:00:00");
120121
});
121122
});
122123

@@ -150,4 +151,4 @@ describe("deleteTaskLink function", () => {
150151
expect(getResult.body.taskLinks).is.not.undefined.and.not.null;
151152
expect(getResult.body.taskLinks.length).to.equal(23);
152153
});
153-
});
154+
});

0 commit comments

Comments
 (0)