@asposecloud/aspose-tasks-cloud 25.4.0 → 25.11.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.
@@ -1 +1 @@
1
- {"version":3,"file":"requestHelper.js","sourceRoot":"","sources":["../../../src/internal/requestHelper.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;;;;;;;;;;AAIH,yDAAsD;AACtD,yCAA0C;AAE1C;;;;;GAKG;AACH,SAAsB,eAAe,CAAC,cAA+B,EAAE,YAA2B,EAAE,qBAA+B,EAAE,QAAiB;;QAClJ,IAAI;YACA,OAAO,MAAM,uBAAuB,CAAC,cAAc,EAAE,YAAY,EAAE,qBAAqB,EAAE,QAAQ,CAAC,CAAC;SACvG;QAAC,OAAO,CAAC,EAAE;YACR,IAAI,CAAC,YAAY,mBAAmB,EAAE;gBAClC,OAAO,MAAM,uBAAuB,CAAC,cAAc,EAAE,YAAY,EAAE,qBAAqB,EAAE,QAAQ,CAAC,CAAC;aACvG;YACD,MAAM,CAAC,CAAC;SACX;IACL,CAAC;CAAA;AATD,0CASC;AAED;;;;;;GAMG;AACH,SAAgB,sBAAsB,CAAC,GAAG,EAAE,eAAe,EAAE,aAAa,EAAE,cAAc;IACtF,IAAI,cAAc,KAAK,SAAS,EAAE;QAC9B,IAAI,aAAqB,CAAC;QAC1B,IAAG,cAAc,YAAY,IAAI,EACjC;YACI,aAAa,GAAI,cAAuB,CAAC,WAAW,EAAE,CAAC;SAC1D;aAED;YACI,aAAa,GAAG,MAAM,CAAC,cAAc,CAAC,CAAC;SAC1C;QAED,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,aAAa,GAAG,GAAG,CAAC,IAAI,CAAC,EAAE;YAC7C,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,GAAG,aAAa,GAAG,GAAG,EAAE,aAAa,CAAC,CAAC;SAC/D;aAAM;YACH,eAAe,CAAC,aAAa,CAAC,G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G,CAAC,MAAM,KAAK,GAAG,IAAI,CAAC,qBAAqB,EAAE;oBAC9C,MAAM,IAAI,CAAC,iBAAiB,CAAC,YAAY,CAAC,CAAC;oBAC3C,MAAM,CAAC,IAAI,mBAAmB,EAAE,CAAC,CAAC;iBACrC;qBAAM;oBACH,MAAM,CAAC,GAAG,CAAC,CAAC;iBACf;YAEJ,CAAC,CAAA,CAAC,CAAC;YAEJ,EAAE,CAAC,IAAI,CAAC,CAAO,QAAQ,EAAE,EAAE;gBACvB,IAAI,QAAQ,CAAC,MAAM,IAAI,GAAG,IAAI,QAAQ,CAAC,MAAM,IAAI,GAAG,EAAE;oBAClD,OAAO,CAAC,QAAQ,CAAC,CAAC;iBACrB;qBAAM;oBACH,IAAI;wBACA,IAAI,WAAW,GAAG,QAAQ,CAAC,IAAI,CAAC;wBAChC,IAAI,WAAW,YAAY,MAAM,EAAE;4BAC/B,WAAW,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC;yBAC1D;wBAED,MAAM,MAAM,GAAG,mCAAgB,CAAC,WAAW,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC;wBAC3E,MAAM,CAAC,EAAE,OAAO,EAAE,MAAM,CAAC,OAAO,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,EAAE,CAAC,CAAC;qBAC9D;oBAAC,OAAO,KAAK,EAAE;wBACZ,MAAM,CAAC,EAAE,OAAO,EAAE,kCAAkC,GAAG,KAAK,EAAE,CAAC,CAAC;qBACnE;iBACJ;YACL,CAAC,CAAA,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC;CAAA;AAED;;GAEG;AACH,MAAM,mBAAoB,SAAQ,KAAK;CACtC"}
@@ -2329,6 +2329,49 @@ export declare enum ItemType {
2329
2329
  ResourceItem,
2330
2330
  OtherItem
2331
2331
  }
2332
+ export declare class LevelingOptions {
2333
+ /**
2334
+ * Attribute type map
2335
+ */
2336
+ static attributeTypeMap: Array<{
2337
+ name: string;
2338
+ baseName: string;
2339
+ type: string;
2340
+ }>;
2341
+ /**
2342
+ * Returns attribute type map
2343
+ */
2344
+ static getAttributeTypeMap(): {
2345
+ name: string;
2346
+ baseName: string;
2347
+ type: string;
2348
+ }[];
2349
+ /**
2350
+ * Leveling period start date. The default value is the project`s start date.
2351
+ */
2352
+ startDate: Date;
2353
+ /**
2354
+ * Leveling period end date. The default value is the project`s finish date.
2355
+ */
2356
+ finishDate: Date;
2357
+ /**
2358
+ * The list of the resource uids which will be leveled. If null is set, all project resources will be leveled.
2359
+ */
2360
+ resourceUids: Array<number>;
2361
+ /**
2362
+ * The order in which the leveling algorithm delays tasks that have overallocations. After determination of tasks causing the overallocation and which tasks can be delayed, the specified order is used which task should be delayed first.
2363
+ */
2364
+ levelingOrder: LevelingOrder;
2365
+ constructor(init?: Partial<LevelingOptions>);
2366
+ }
2367
+ /**
2368
+ * Defines the possible values of leveling order.
2369
+ */
2370
+ export declare enum LevelingOrder {
2371
+ Standard,
2372
+ IdOnly,
2373
+ PriorityThenStandard
2374
+ }
2332
2375
  /**
2333
2376
  * Provides information for the object link. This is supposed to be an atom:link, therefore it should have all attributes specified here http://tools.ietf.org/html/rfc4287#section-4.2.7
2334
2377
  */
@@ -2803,6 +2846,21 @@ export declare enum PrimaveraActivityType {
2803
2846
  LevelOfEffort,
2804
2847
  WbsSummary
2805
2848
  }
2849
+ /**
2850
+ * Specifies a type of activity's constraint.
2851
+ */
2852
+ export declare enum PrimaveraConstraintType {
2853
+ None,
2854
+ FinishOn,
2855
+ FinishOnOrAfter,
2856
+ FinishOnOrBefore,
2857
+ MandatoryFinish,
2858
+ MandatoryStart,
2859
+ StartOn,
2860
+ StartOnOrAfter,
2861
+ StartOnOrBefore,
2862
+ AsLateAsPossible
2863
+ }
2806
2864
  /**
2807
2865
  * Specifies duration type of Primavera activity.
2808
2866
  */
@@ -2966,6 +3024,22 @@ export declare class PrimaveraTaskProperties {
2966
3024
  * Gets the value of budgeted (or planned) expense cost.
2967
3025
  */
2968
3026
  budgetedExpenseCost: number;
3027
+ /**
3028
+ * Gets a type of primary constraint.
3029
+ */
3030
+ primaryConstraintType: PrimaveraConstraintType;
3031
+ /**
3032
+ * Gets the date of primary constraint.
3033
+ */
3034
+ primaryConstraintDate: Date;
3035
+ /**
3036
+ * Gets a type of secondary constraint.
3037
+ */
3038
+ secondaryConstraintType: PrimaveraConstraintType;
3039
+ /**
3040
+ * Gets the date of secondary constraint.
3041
+ */
3042
+ secondaryConstraintDate: Date;
2969
3043
  constructor(init?: Partial<PrimaveraTaskProperties>);
2970
3044
  }
2971
3045
  /**
@@ -5816,6 +5890,32 @@ export declare class FileVersion extends StorageFile {
5816
5890
  isLatest: boolean;
5817
5891
  constructor(init?: Partial<FileVersion>);
5818
5892
  }
5893
+ /**
5894
+ * Represents the results of resource leveling.
5895
+ */
5896
+ export declare class LevelingResponse extends AsposeResponse {
5897
+ /**
5898
+ * Attribute type map
5899
+ */
5900
+ static attributeTypeMap: Array<{
5901
+ name: string;
5902
+ baseName: string;
5903
+ type: string;
5904
+ }>;
5905
+ /**
5906
+ * Returns attribute type map
5907
+ */
5908
+ static getAttributeTypeMap(): {
5909
+ name: string;
5910
+ baseName: string;
5911
+ type: string;
5912
+ }[];
5913
+ /**
5914
+ * Gets a set of task uids affected by resource leveling.
5915
+ */
5916
+ affectedTaskUids: Array<number>;
5917
+ constructor(init?: Partial<LevelingResponse>);
5918
+ }
5819
5919
  export declare class OutlineCodeItems extends LinkElement {
5820
5920
  /**
5821
5921
  * Attribute type map
@@ -6511,6 +6611,7 @@ declare const enumsMap: {
6511
6611
  "Field": typeof Field;
6512
6612
  "ImportedProjectType": typeof ImportedProjectType;
6513
6613
  "ItemType": typeof ItemType;
6614
+ "LevelingOrder": typeof LevelingOrder;
6514
6615
  "MaskType": typeof MaskType;
6515
6616
  "Month": typeof Month;
6516
6617
  "MonthItemType": typeof MonthItemType;
@@ -6520,6 +6621,7 @@ declare const enumsMap: {
6520
6621
  "PageSize": typeof PageSize;
6521
6622
  "PresentationFormat": typeof PresentationFormat;
6522
6623
  "PrimaveraActivityType": typeof PrimaveraActivityType;
6624
+ "PrimaveraConstraintType": typeof PrimaveraConstraintType;
6523
6625
  "PrimaveraDurationType": typeof PrimaveraDurationType;
6524
6626
  "PrimaveraPercentCompleteType": typeof PrimaveraPercentCompleteType;
6525
6627
  "ProbabilityDistributionType": typeof ProbabilityDistributionType;
@@ -6562,6 +6664,7 @@ declare const typeMap: {
6562
6664
  FileVersions: typeof FileVersions;
6563
6665
  FilesList: typeof FilesList;
6564
6666
  FilesUploadResult: typeof FilesUploadResult;
6667
+ LevelingOptions: typeof LevelingOptions;
6565
6668
  Link: typeof Link;
6566
6669
  LinkElement: typeof LinkElement;
6567
6670
  ModelError: typeof ModelError;
@@ -6619,6 +6722,7 @@ declare const typeMap: {
6619
6722
  ExtendedAttributeItemsResponse: typeof ExtendedAttributeItemsResponse;
6620
6723
  ExtendedAttributeResponse: typeof ExtendedAttributeResponse;
6621
6724
  FileVersion: typeof FileVersion;
6725
+ LevelingResponse: typeof LevelingResponse;
6622
6726
  OutlineCodeItems: typeof OutlineCodeItems;
6623
6727
  OutlineCodeItemsResponse: typeof OutlineCodeItemsResponse;
6624
6728
  OutlineCodeResponse: typeof OutlineCodeResponse;
@@ -8043,6 +8147,58 @@ export declare class GetReportPdfRequest {
8043
8147
  folder: string;
8044
8148
  constructor(init?: Partial<GetReportPdfRequest>);
8045
8149
  }
8150
+ /**
8151
+ * Request model for clearLeveling operation.
8152
+ */
8153
+ export declare class ClearLevelingRequest {
8154
+ /**
8155
+ * The name of the file
8156
+ */
8157
+ name: string;
8158
+ /**
8159
+ * The array containing task uids for which leveling delay should be cleared. If not specified, all leveling delays will be cleared.
8160
+ */
8161
+ taskUids: Array<number>;
8162
+ /**
8163
+ * The name of the project document to save changes to. If this parameter is omitted then the changes will be saved to the source project document.
8164
+ */
8165
+ fileName: string;
8166
+ /**
8167
+ * The folder storage
8168
+ */
8169
+ folder: string;
8170
+ /**
8171
+ * The document storage.
8172
+ */
8173
+ storage: string;
8174
+ constructor(init?: Partial<ClearLevelingRequest>);
8175
+ }
8176
+ /**
8177
+ * Request model for levelTasks operation.
8178
+ */
8179
+ export declare class LevelTasksRequest {
8180
+ /**
8181
+ * The name of the file
8182
+ */
8183
+ name: string;
8184
+ /**
8185
+ * Options which specifies how to level resources. If not specified, default leveling options will be used.
8186
+ */
8187
+ options: LevelingOptions;
8188
+ /**
8189
+ * The name of the project document to save changes to. If this parameter is omitted then the changes will be saved to the source project document.
8190
+ */
8191
+ fileName: string;
8192
+ /**
8193
+ * The folder storage
8194
+ */
8195
+ folder: string;
8196
+ /**
8197
+ * The document storage.
8198
+ */
8199
+ storage: string;
8200
+ constructor(init?: Partial<LevelTasksRequest>);
8201
+ }
8046
8202
  /**
8047
8203
  * Request model for deleteResource operation.
8048
8204
  */
@@ -2444,6 +2444,52 @@ var ItemType;
2444
2444
  ItemType[ItemType["ResourceItem"] = 'ResourceItem'] = "ResourceItem";
2445
2445
  ItemType[ItemType["OtherItem"] = 'OtherItem'] = "OtherItem";
2446
2446
  })(ItemType = exports.ItemType || (exports.ItemType = {}));
2447
+ class LevelingOptions {
2448
+ constructor(init) {
2449
+ Object.assign(this, init);
2450
+ }
2451
+ /**
2452
+ * Returns attribute type map
2453
+ */
2454
+ static getAttributeTypeMap() {
2455
+ return LevelingOptions.attributeTypeMap;
2456
+ }
2457
+ }
2458
+ exports.LevelingOptions = LevelingOptions;
2459
+ /**
2460
+ * Attribute type map
2461
+ */
2462
+ LevelingOptions.attributeTypeMap = [
2463
+ {
2464
+ name: "startDate",
2465
+ baseName: "startDate",
2466
+ type: "Date",
2467
+ },
2468
+ {
2469
+ name: "finishDate",
2470
+ baseName: "finishDate",
2471
+ type: "Date",
2472
+ },
2473
+ {
2474
+ name: "resourceUids",
2475
+ baseName: "resourceUids",
2476
+ type: "Array<number>",
2477
+ },
2478
+ {
2479
+ name: "levelingOrder",
2480
+ baseName: "levelingOrder",
2481
+ type: "LevelingOrder",
2482
+ }
2483
+ ];
2484
+ /**
2485
+ * Defines the possible values of leveling order.
2486
+ */
2487
+ var LevelingOrder;
2488
+ (function (LevelingOrder) {
2489
+ LevelingOrder[LevelingOrder["Standard"] = 'Standard'] = "Standard";
2490
+ LevelingOrder[LevelingOrder["IdOnly"] = 'IdOnly'] = "IdOnly";
2491
+ LevelingOrder[LevelingOrder["PriorityThenStandard"] = 'PriorityThenStandard'] = "PriorityThenStandard";
2492
+ })(LevelingOrder = exports.LevelingOrder || (exports.LevelingOrder = {}));
2447
2493
  /**
2448
2494
  * Provides information for the object link. This is supposed to be an atom:link, therefore it should have all attributes specified here http://tools.ietf.org/html/rfc4287#section-4.2.7
2449
2495
  */
@@ -2956,6 +3002,22 @@ var PrimaveraActivityType;
2956
3002
  PrimaveraActivityType[PrimaveraActivityType["LevelOfEffort"] = 'LevelOfEffort'] = "LevelOfEffort";
2957
3003
  PrimaveraActivityType[PrimaveraActivityType["WbsSummary"] = 'WbsSummary'] = "WbsSummary";
2958
3004
  })(PrimaveraActivityType = exports.PrimaveraActivityType || (exports.PrimaveraActivityType = {}));
3005
+ /**
3006
+ * Specifies a type of activity's constraint.
3007
+ */
3008
+ var PrimaveraConstraintType;
3009
+ (function (PrimaveraConstraintType) {
3010
+ PrimaveraConstraintType[PrimaveraConstraintType["None"] = 'None'] = "None";
3011
+ PrimaveraConstraintType[PrimaveraConstraintType["FinishOn"] = 'FinishOn'] = "FinishOn";
3012
+ PrimaveraConstraintType[PrimaveraConstraintType["FinishOnOrAfter"] = 'FinishOnOrAfter'] = "FinishOnOrAfter";
3013
+ PrimaveraConstraintType[PrimaveraConstraintType["FinishOnOrBefore"] = 'FinishOnOrBefore'] = "FinishOnOrBefore";
3014
+ PrimaveraConstraintType[PrimaveraConstraintType["MandatoryFinish"] = 'MandatoryFinish'] = "MandatoryFinish";
3015
+ PrimaveraConstraintType[PrimaveraConstraintType["MandatoryStart"] = 'MandatoryStart'] = "MandatoryStart";
3016
+ PrimaveraConstraintType[PrimaveraConstraintType["StartOn"] = 'StartOn'] = "StartOn";
3017
+ PrimaveraConstraintType[PrimaveraConstraintType["StartOnOrAfter"] = 'StartOnOrAfter'] = "StartOnOrAfter";
3018
+ PrimaveraConstraintType[PrimaveraConstraintType["StartOnOrBefore"] = 'StartOnOrBefore'] = "StartOnOrBefore";
3019
+ PrimaveraConstraintType[PrimaveraConstraintType["AsLateAsPossible"] = 'AsLateAsPossible'] = "AsLateAsPossible";
3020
+ })(PrimaveraConstraintType = exports.PrimaveraConstraintType || (exports.PrimaveraConstraintType = {}));
2959
3021
  /**
2960
3022
  * Specifies duration type of Primavera activity.
2961
3023
  */
@@ -3150,6 +3212,26 @@ PrimaveraTaskProperties.attributeTypeMap = [
3150
3212
  name: "budgetedExpenseCost",
3151
3213
  baseName: "budgetedExpenseCost",
3152
3214
  type: "number",
3215
+ },
3216
+ {
3217
+ name: "primaryConstraintType",
3218
+ baseName: "primaryConstraintType",
3219
+ type: "PrimaveraConstraintType",
3220
+ },
3221
+ {
3222
+ name: "primaryConstraintDate",
3223
+ baseName: "primaryConstraintDate",
3224
+ type: "Date",
3225
+ },
3226
+ {
3227
+ name: "secondaryConstraintType",
3228
+ baseName: "secondaryConstraintType",
3229
+ type: "PrimaveraConstraintType",
3230
+ },
3231
+ {
3232
+ name: "secondaryConstraintDate",
3233
+ baseName: "secondaryConstraintDate",
3234
+ type: "Date",
3153
3235
  }
3154
3236
  ];
3155
3237
  /**
@@ -6473,6 +6555,32 @@ FileVersion.attributeTypeMap = [
6473
6555
  type: "boolean",
6474
6556
  }
6475
6557
  ];
6558
+ /**
6559
+ * Represents the results of resource leveling.
6560
+ */
6561
+ class LevelingResponse extends AsposeResponse {
6562
+ constructor(init) {
6563
+ super(init);
6564
+ Object.assign(this, init);
6565
+ }
6566
+ /**
6567
+ * Returns attribute type map
6568
+ */
6569
+ static getAttributeTypeMap() {
6570
+ return super.getAttributeTypeMap().concat(LevelingResponse.attributeTypeMap);
6571
+ }
6572
+ }
6573
+ exports.LevelingResponse = LevelingResponse;
6574
+ /**
6575
+ * Attribute type map
6576
+ */
6577
+ LevelingResponse.attributeTypeMap = [
6578
+ {
6579
+ name: "affectedTaskUids",
6580
+ baseName: "affectedTaskUids",
6581
+ type: "Array<number>",
6582
+ }
6583
+ ];
6476
6584
  class OutlineCodeItems extends LinkElement {
6477
6585
  constructor(init) {
6478
6586
  super(init);
@@ -7212,6 +7320,7 @@ const enumsMap = {
7212
7320
  "Field": Field,
7213
7321
  "ImportedProjectType": ImportedProjectType,
7214
7322
  "ItemType": ItemType,
7323
+ "LevelingOrder": LevelingOrder,
7215
7324
  "MaskType": MaskType,
7216
7325
  "Month": Month,
7217
7326
  "MonthItemType": MonthItemType,
@@ -7221,6 +7330,7 @@ const enumsMap = {
7221
7330
  "PageSize": PageSize,
7222
7331
  "PresentationFormat": PresentationFormat,
7223
7332
  "PrimaveraActivityType": PrimaveraActivityType,
7333
+ "PrimaveraConstraintType": PrimaveraConstraintType,
7224
7334
  "PrimaveraDurationType": PrimaveraDurationType,
7225
7335
  "PrimaveraPercentCompleteType": PrimaveraPercentCompleteType,
7226
7336
  "ProbabilityDistributionType": ProbabilityDistributionType,
@@ -7264,6 +7374,7 @@ const typeMap = {
7264
7374
  FileVersions,
7265
7375
  FilesList,
7266
7376
  FilesUploadResult,
7377
+ LevelingOptions,
7267
7378
  Link,
7268
7379
  LinkElement,
7269
7380
  ModelError,
@@ -7321,6 +7432,7 @@ const typeMap = {
7321
7432
  ExtendedAttributeItemsResponse,
7322
7433
  ExtendedAttributeResponse,
7323
7434
  FileVersion,
7435
+ LevelingResponse,
7324
7436
  OutlineCodeItems,
7325
7437
  OutlineCodeItemsResponse,
7326
7438
  OutlineCodeResponse,
@@ -7864,6 +7976,24 @@ class GetReportPdfRequest {
7864
7976
  }
7865
7977
  }
7866
7978
  exports.GetReportPdfRequest = GetReportPdfRequest;
7979
+ /**
7980
+ * Request model for clearLeveling operation.
7981
+ */
7982
+ class ClearLevelingRequest {
7983
+ constructor(init) {
7984
+ Object.assign(this, init);
7985
+ }
7986
+ }
7987
+ exports.ClearLevelingRequest = ClearLevelingRequest;
7988
+ /**
7989
+ * Request model for levelTasks operation.
7990
+ */
7991
+ class LevelTasksRequest {
7992
+ constructor(init) {
7993
+ Object.assign(this, init);
7994
+ }
7995
+ }
7996
+ exports.LevelTasksRequest = LevelTasksRequest;
7867
7997
  /**
7868
7998
  * Request model for deleteResource operation.
7869
7999
  */