@asposecloud/aspose-tasks-cloud 24.4.0 → 25.4.0

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/README.md CHANGED
@@ -33,6 +33,13 @@ Feel free to explore the [Developer's Guide](https://docs.aspose.cloud/display/t
33
33
  ## Save Project Data As
34
34
  XER, XLSX, HTML, XML, TXT, TIF, SVG, PNG, JPEG
35
35
 
36
+ ## Enhancements in Version 25.4
37
+ - Enhanced Task model.
38
+ - Enhanced TaskLink model.
39
+ - Enhanced ProjectRecalculationResult model.
40
+
41
+ ## Enhancements in Version 24.10
42
+ - Enhanced reading data from Primavera-specific task's properties.
36
43
 
37
44
  ## Enhancements in Version 24.4
38
45
  - Added new ability to get views information
@@ -113,7 +113,7 @@ function invokeApiMethodInternal(requestOptions, confguration, notApplyAuthToReq
113
113
  //headers
114
114
  sa.set("User-Agent", "tasks nodejs sdk");
115
115
  sa.set("x-aspose-client", "nodejs sdk");
116
- sa.set("x-aspose-client-version", "24.4");
116
+ sa.set("x-aspose-client-version", "25.4");
117
117
  if (!requestOptions.headers) {
118
118
  requestOptions.headers = {};
119
119
  }
@@ -198,6 +198,10 @@ export declare class Calendar {
198
198
  baseName: string;
199
199
  type: string;
200
200
  }[];
201
+ /**
202
+ * Gets calendar's Guid.
203
+ */
204
+ guid: string;
201
205
  /**
202
206
  * The name of the calendar.
203
207
  */
@@ -2787,6 +2791,37 @@ export declare enum PresentationFormat {
2787
2791
  ResourceSheet,
2788
2792
  TaskSheet
2789
2793
  }
2794
+ /**
2795
+ * Specifies type of Primavera activity.
2796
+ */
2797
+ export declare enum PrimaveraActivityType {
2798
+ None,
2799
+ StartMilestone,
2800
+ FinishMilestone,
2801
+ TaskDependent,
2802
+ ResourceDependent,
2803
+ LevelOfEffort,
2804
+ WbsSummary
2805
+ }
2806
+ /**
2807
+ * Specifies duration type of Primavera activity.
2808
+ */
2809
+ export declare enum PrimaveraDurationType {
2810
+ None,
2811
+ FixedDurationUnits,
2812
+ FixedDurationUnitsTime,
2813
+ FixedUnits,
2814
+ FixedUnitsTime
2815
+ }
2816
+ /**
2817
+ * Specifies value of '% Complete Type' field for Primavera activities.
2818
+ */
2819
+ export declare enum PrimaveraPercentCompleteType {
2820
+ None,
2821
+ Duration,
2822
+ Physical,
2823
+ Units
2824
+ }
2790
2825
  /**
2791
2826
  * Represents Primavera-specific properties for a task read from Primavera format (XER of P6XML).
2792
2827
  */
@@ -2847,6 +2882,90 @@ export declare class PrimaveraTaskProperties {
2847
2882
  * Raw text representation (as in source file) of 'Status' field of the activity.
2848
2883
  */
2849
2884
  rawStatus: string;
2885
+ /**
2886
+ * Gets the value of duration percent complete.
2887
+ */
2888
+ durationPercentComplete: number;
2889
+ /**
2890
+ * Gets the value of Physical Percent Complete.
2891
+ */
2892
+ physicalPercentComplete: number;
2893
+ /**
2894
+ * Gets the value of actual non labor units.
2895
+ */
2896
+ actualNonLaborUnits: number;
2897
+ /**
2898
+ * Gets the value of actual labor units.
2899
+ */
2900
+ actualLaborUnits: number;
2901
+ /**
2902
+ * Gets the value of units percent complete.
2903
+ */
2904
+ unitsPercentComplete: number;
2905
+ /**
2906
+ * Gets the value of remaining labor units.
2907
+ */
2908
+ remainingLaborUnits: number;
2909
+ /**
2910
+ * Gets the value of remaining non labor units.
2911
+ */
2912
+ remainingNonLaborUnits: number;
2913
+ /**
2914
+ * Gets the value of 'Duration Type' field of the activity.
2915
+ */
2916
+ durationType: PrimaveraDurationType;
2917
+ /**
2918
+ * Gets the value of 'Activity Type' field.
2919
+ */
2920
+ activityType: PrimaveraActivityType;
2921
+ /**
2922
+ * Gets the value of '% Complete Type' field of the activity.
2923
+ */
2924
+ percentCompleteType: PrimaveraPercentCompleteType;
2925
+ /**
2926
+ * Gets the value of actual labor cost.
2927
+ */
2928
+ actualLaborCost: number;
2929
+ /**
2930
+ * Gets the value of actual non labor cost.
2931
+ */
2932
+ actualNonlaborCost: number;
2933
+ /**
2934
+ * Gets the value of actual material cost.
2935
+ */
2936
+ actualMaterialCost: number;
2937
+ /**
2938
+ * Gets the value of actual expense cost.
2939
+ */
2940
+ actualExpenseCost: number;
2941
+ /**
2942
+ * Gets the value of remaining expense cost.
2943
+ */
2944
+ remainingExpenseCost: number;
2945
+ /**
2946
+ * Gets the total value of actual costs.
2947
+ */
2948
+ actualTotalCost: number;
2949
+ /**
2950
+ * Gets the total value of budgeted (or planned) costs.
2951
+ */
2952
+ budgetedTotalCost: number;
2953
+ /**
2954
+ * Gets the value of budgeted (or planned) labor cost.
2955
+ */
2956
+ budgetedLaborCost: number;
2957
+ /**
2958
+ * Gets the value of budgeted (or planned) non labor cost.
2959
+ */
2960
+ budgetedNonlaborCost: number;
2961
+ /**
2962
+ * Gets the value of of budgeted (or planned) material cost.
2963
+ */
2964
+ budgetedMaterialCost: number;
2965
+ /**
2966
+ * Gets the value of budgeted (or planned) expense cost.
2967
+ */
2968
+ budgetedExpenseCost: number;
2850
2969
  constructor(init?: Partial<PrimaveraTaskProperties>);
2851
2970
  }
2852
2971
  /**
@@ -2959,6 +3078,10 @@ export declare class ProjectRecalculationResult {
2959
3078
  }[];
2960
3079
  validationState: ProjectValidationState;
2961
3080
  validationErrorMessage: string;
3081
+ /**
3082
+ * Gets the task uid which caused the validation error.
3083
+ */
3084
+ failedTaskUid: number;
2962
3085
  constructor(init?: Partial<ProjectRecalculationResult>);
2963
3086
  }
2964
3087
  /**
@@ -4085,6 +4208,10 @@ export declare class Task {
4085
4208
  * The projected or scheduled cost of a task.
4086
4209
  */
4087
4210
  cost: number;
4211
+ /**
4212
+ * Gets or sets a value of OutlineNumber.
4213
+ */
4214
+ outlineNumber: string;
4088
4215
  /**
4089
4216
  * The difference between the baseline cost and total cost for a task.
4090
4217
  */
@@ -4414,6 +4541,10 @@ export declare class Task {
4414
4541
  * Represents activity id field - a task's unique identifier used by Primavera (only applicable to Primavera projects).
4415
4542
  */
4416
4543
  activityId: string;
4544
+ /**
4545
+ * Contains the external task's Unique identifier when the task is external.
4546
+ */
4547
+ externalUid: number;
4417
4548
  constructor(init?: Partial<Task>);
4418
4549
  }
4419
4550
  export declare class TaskCreationRequest {
@@ -4503,6 +4634,10 @@ export declare class TaskLink {
4503
4634
  linkType: TaskLinkType;
4504
4635
  lag: number;
4505
4636
  lagFormat: TimeUnitType;
4637
+ /**
4638
+ * Gets or sets lag duration, depending on LagFormat.
4639
+ */
4640
+ linkLagTimeSpan: string;
4506
4641
  constructor(init?: Partial<TaskLink>);
4507
4642
  }
4508
4643
  /**
@@ -4944,7 +5079,7 @@ export declare class View {
4944
5079
  */
4945
5080
  screen: ViewScreen;
4946
5081
  /**
4947
- * Gets or sets the name of a View object.
5082
+ * Gets or sets the name of a view object.
4948
5083
  */
4949
5084
  name: string;
4950
5085
  /**
@@ -6384,6 +6519,9 @@ declare const enumsMap: {
6384
6519
  "OutlineValueType": typeof OutlineValueType;
6385
6520
  "PageSize": typeof PageSize;
6386
6521
  "PresentationFormat": typeof PresentationFormat;
6522
+ "PrimaveraActivityType": typeof PrimaveraActivityType;
6523
+ "PrimaveraDurationType": typeof PrimaveraDurationType;
6524
+ "PrimaveraPercentCompleteType": typeof PrimaveraPercentCompleteType;
6387
6525
  "ProbabilityDistributionType": typeof ProbabilityDistributionType;
6388
6526
  "ProjectDatabaseType": typeof ProjectDatabaseType;
6389
6527
  "ProjectFileFormat": typeof ProjectFileFormat;
@@ -226,6 +226,11 @@ exports.Calendar = Calendar;
226
226
  * Attribute type map
227
227
  */
228
228
  Calendar.attributeTypeMap = [
229
+ {
230
+ name: "guid",
231
+ baseName: "guid",
232
+ type: "string",
233
+ },
229
234
  {
230
235
  name: "name",
231
236
  baseName: "name",
@@ -2938,6 +2943,40 @@ var PresentationFormat;
2938
2943
  PresentationFormat[PresentationFormat["ResourceSheet"] = 'ResourceSheet'] = "ResourceSheet";
2939
2944
  PresentationFormat[PresentationFormat["TaskSheet"] = 'TaskSheet'] = "TaskSheet";
2940
2945
  })(PresentationFormat = exports.PresentationFormat || (exports.PresentationFormat = {}));
2946
+ /**
2947
+ * Specifies type of Primavera activity.
2948
+ */
2949
+ var PrimaveraActivityType;
2950
+ (function (PrimaveraActivityType) {
2951
+ PrimaveraActivityType[PrimaveraActivityType["None"] = 'None'] = "None";
2952
+ PrimaveraActivityType[PrimaveraActivityType["StartMilestone"] = 'StartMilestone'] = "StartMilestone";
2953
+ PrimaveraActivityType[PrimaveraActivityType["FinishMilestone"] = 'FinishMilestone'] = "FinishMilestone";
2954
+ PrimaveraActivityType[PrimaveraActivityType["TaskDependent"] = 'TaskDependent'] = "TaskDependent";
2955
+ PrimaveraActivityType[PrimaveraActivityType["ResourceDependent"] = 'ResourceDependent'] = "ResourceDependent";
2956
+ PrimaveraActivityType[PrimaveraActivityType["LevelOfEffort"] = 'LevelOfEffort'] = "LevelOfEffort";
2957
+ PrimaveraActivityType[PrimaveraActivityType["WbsSummary"] = 'WbsSummary'] = "WbsSummary";
2958
+ })(PrimaveraActivityType = exports.PrimaveraActivityType || (exports.PrimaveraActivityType = {}));
2959
+ /**
2960
+ * Specifies duration type of Primavera activity.
2961
+ */
2962
+ var PrimaveraDurationType;
2963
+ (function (PrimaveraDurationType) {
2964
+ PrimaveraDurationType[PrimaveraDurationType["None"] = 'None'] = "None";
2965
+ PrimaveraDurationType[PrimaveraDurationType["FixedDurationUnits"] = 'FixedDurationUnits'] = "FixedDurationUnits";
2966
+ PrimaveraDurationType[PrimaveraDurationType["FixedDurationUnitsTime"] = 'FixedDurationUnitsTime'] = "FixedDurationUnitsTime";
2967
+ PrimaveraDurationType[PrimaveraDurationType["FixedUnits"] = 'FixedUnits'] = "FixedUnits";
2968
+ PrimaveraDurationType[PrimaveraDurationType["FixedUnitsTime"] = 'FixedUnitsTime'] = "FixedUnitsTime";
2969
+ })(PrimaveraDurationType = exports.PrimaveraDurationType || (exports.PrimaveraDurationType = {}));
2970
+ /**
2971
+ * Specifies value of '% Complete Type' field for Primavera activities.
2972
+ */
2973
+ var PrimaveraPercentCompleteType;
2974
+ (function (PrimaveraPercentCompleteType) {
2975
+ PrimaveraPercentCompleteType[PrimaveraPercentCompleteType["None"] = 'None'] = "None";
2976
+ PrimaveraPercentCompleteType[PrimaveraPercentCompleteType["Duration"] = 'Duration'] = "Duration";
2977
+ PrimaveraPercentCompleteType[PrimaveraPercentCompleteType["Physical"] = 'Physical'] = "Physical";
2978
+ PrimaveraPercentCompleteType[PrimaveraPercentCompleteType["Units"] = 'Units'] = "Units";
2979
+ })(PrimaveraPercentCompleteType = exports.PrimaveraPercentCompleteType || (exports.PrimaveraPercentCompleteType = {}));
2941
2980
  /**
2942
2981
  * Represents Primavera-specific properties for a task read from Primavera format (XER of P6XML).
2943
2982
  */
@@ -3006,6 +3045,111 @@ PrimaveraTaskProperties.attributeTypeMap = [
3006
3045
  name: "rawStatus",
3007
3046
  baseName: "rawStatus",
3008
3047
  type: "string",
3048
+ },
3049
+ {
3050
+ name: "durationPercentComplete",
3051
+ baseName: "durationPercentComplete",
3052
+ type: "number",
3053
+ },
3054
+ {
3055
+ name: "physicalPercentComplete",
3056
+ baseName: "physicalPercentComplete",
3057
+ type: "number",
3058
+ },
3059
+ {
3060
+ name: "actualNonLaborUnits",
3061
+ baseName: "actualNonLaborUnits",
3062
+ type: "number",
3063
+ },
3064
+ {
3065
+ name: "actualLaborUnits",
3066
+ baseName: "actualLaborUnits",
3067
+ type: "number",
3068
+ },
3069
+ {
3070
+ name: "unitsPercentComplete",
3071
+ baseName: "unitsPercentComplete",
3072
+ type: "number",
3073
+ },
3074
+ {
3075
+ name: "remainingLaborUnits",
3076
+ baseName: "remainingLaborUnits",
3077
+ type: "number",
3078
+ },
3079
+ {
3080
+ name: "remainingNonLaborUnits",
3081
+ baseName: "remainingNonLaborUnits",
3082
+ type: "number",
3083
+ },
3084
+ {
3085
+ name: "durationType",
3086
+ baseName: "durationType",
3087
+ type: "PrimaveraDurationType",
3088
+ },
3089
+ {
3090
+ name: "activityType",
3091
+ baseName: "activityType",
3092
+ type: "PrimaveraActivityType",
3093
+ },
3094
+ {
3095
+ name: "percentCompleteType",
3096
+ baseName: "percentCompleteType",
3097
+ type: "PrimaveraPercentCompleteType",
3098
+ },
3099
+ {
3100
+ name: "actualLaborCost",
3101
+ baseName: "actualLaborCost",
3102
+ type: "number",
3103
+ },
3104
+ {
3105
+ name: "actualNonlaborCost",
3106
+ baseName: "actualNonlaborCost",
3107
+ type: "number",
3108
+ },
3109
+ {
3110
+ name: "actualMaterialCost",
3111
+ baseName: "actualMaterialCost",
3112
+ type: "number",
3113
+ },
3114
+ {
3115
+ name: "actualExpenseCost",
3116
+ baseName: "actualExpenseCost",
3117
+ type: "number",
3118
+ },
3119
+ {
3120
+ name: "remainingExpenseCost",
3121
+ baseName: "remainingExpenseCost",
3122
+ type: "number",
3123
+ },
3124
+ {
3125
+ name: "actualTotalCost",
3126
+ baseName: "actualTotalCost",
3127
+ type: "number",
3128
+ },
3129
+ {
3130
+ name: "budgetedTotalCost",
3131
+ baseName: "budgetedTotalCost",
3132
+ type: "number",
3133
+ },
3134
+ {
3135
+ name: "budgetedLaborCost",
3136
+ baseName: "budgetedLaborCost",
3137
+ type: "number",
3138
+ },
3139
+ {
3140
+ name: "budgetedNonlaborCost",
3141
+ baseName: "budgetedNonlaborCost",
3142
+ type: "number",
3143
+ },
3144
+ {
3145
+ name: "budgetedMaterialCost",
3146
+ baseName: "budgetedMaterialCost",
3147
+ type: "number",
3148
+ },
3149
+ {
3150
+ name: "budgetedExpenseCost",
3151
+ baseName: "budgetedExpenseCost",
3152
+ type: "number",
3009
3153
  }
3010
3154
  ];
3011
3155
  /**
@@ -3132,6 +3276,11 @@ ProjectRecalculationResult.attributeTypeMap = [
3132
3276
  name: "validationErrorMessage",
3133
3277
  baseName: "validationErrorMessage",
3134
3278
  type: "string",
3279
+ },
3280
+ {
3281
+ name: "failedTaskUid",
3282
+ baseName: "failedTaskUid",
3283
+ type: "number",
3135
3284
  }
3136
3285
  ];
3137
3286
  /**
@@ -4478,6 +4627,11 @@ Task.attributeTypeMap = [
4478
4627
  baseName: "cost",
4479
4628
  type: "number",
4480
4629
  },
4630
+ {
4631
+ name: "outlineNumber",
4632
+ baseName: "outlineNumber",
4633
+ type: "string",
4634
+ },
4481
4635
  {
4482
4636
  name: "cv",
4483
4637
  baseName: "cv",
@@ -4922,6 +5076,11 @@ Task.attributeTypeMap = [
4922
5076
  name: "activityId",
4923
5077
  baseName: "activityId",
4924
5078
  type: "string",
5079
+ },
5080
+ {
5081
+ name: "externalUid",
5082
+ baseName: "externalUid",
5083
+ type: "number",
4925
5084
  }
4926
5085
  ];
4927
5086
  class TaskCreationRequest {
@@ -5061,6 +5220,11 @@ TaskLink.attributeTypeMap = [
5061
5220
  name: "lagFormat",
5062
5221
  baseName: "lagFormat",
5063
5222
  type: "TimeUnitType",
5223
+ },
5224
+ {
5225
+ name: "linkLagTimeSpan",
5226
+ baseName: "linkLagTimeSpan",
5227
+ type: "string",
5064
5228
  }
5065
5229
  ];
5066
5230
  /**
@@ -7056,6 +7220,9 @@ const enumsMap = {
7056
7220
  "OutlineValueType": OutlineValueType,
7057
7221
  "PageSize": PageSize,
7058
7222
  "PresentationFormat": PresentationFormat,
7223
+ "PrimaveraActivityType": PrimaveraActivityType,
7224
+ "PrimaveraDurationType": PrimaveraDurationType,
7225
+ "PrimaveraPercentCompleteType": PrimaveraPercentCompleteType,
7059
7226
  "ProbabilityDistributionType": ProbabilityDistributionType,
7060
7227
  "ProjectDatabaseType": ProjectDatabaseType,
7061
7228
  "ProjectFileFormat": ProjectFileFormat,