@asposecloud/aspose-tasks-cloud 24.10.0 → 25.8.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
  */
@@ -3078,6 +3121,10 @@ export declare class ProjectRecalculationResult {
3078
3121
  }[];
3079
3122
  validationState: ProjectValidationState;
3080
3123
  validationErrorMessage: string;
3124
+ /**
3125
+ * Gets the task uid which caused the validation error.
3126
+ */
3127
+ failedTaskUid: number;
3081
3128
  constructor(init?: Partial<ProjectRecalculationResult>);
3082
3129
  }
3083
3130
  /**
@@ -4204,6 +4251,10 @@ export declare class Task {
4204
4251
  * The projected or scheduled cost of a task.
4205
4252
  */
4206
4253
  cost: number;
4254
+ /**
4255
+ * Gets or sets a value of OutlineNumber.
4256
+ */
4257
+ outlineNumber: string;
4207
4258
  /**
4208
4259
  * The difference between the baseline cost and total cost for a task.
4209
4260
  */
@@ -4533,6 +4584,10 @@ export declare class Task {
4533
4584
  * Represents activity id field - a task's unique identifier used by Primavera (only applicable to Primavera projects).
4534
4585
  */
4535
4586
  activityId: string;
4587
+ /**
4588
+ * Contains the external task's Unique identifier when the task is external.
4589
+ */
4590
+ externalUid: number;
4536
4591
  constructor(init?: Partial<Task>);
4537
4592
  }
4538
4593
  export declare class TaskCreationRequest {
@@ -4622,6 +4677,10 @@ export declare class TaskLink {
4622
4677
  linkType: TaskLinkType;
4623
4678
  lag: number;
4624
4679
  lagFormat: TimeUnitType;
4680
+ /**
4681
+ * Gets or sets lag duration, depending on LagFormat.
4682
+ */
4683
+ linkLagTimeSpan: string;
4625
4684
  constructor(init?: Partial<TaskLink>);
4626
4685
  }
4627
4686
  /**
@@ -5800,6 +5859,32 @@ export declare class FileVersion extends StorageFile {
5800
5859
  isLatest: boolean;
5801
5860
  constructor(init?: Partial<FileVersion>);
5802
5861
  }
5862
+ /**
5863
+ * Represents the results of resource leveling.
5864
+ */
5865
+ export declare class LevelingResponse extends AsposeResponse {
5866
+ /**
5867
+ * Attribute type map
5868
+ */
5869
+ static attributeTypeMap: Array<{
5870
+ name: string;
5871
+ baseName: string;
5872
+ type: string;
5873
+ }>;
5874
+ /**
5875
+ * Returns attribute type map
5876
+ */
5877
+ static getAttributeTypeMap(): {
5878
+ name: string;
5879
+ baseName: string;
5880
+ type: string;
5881
+ }[];
5882
+ /**
5883
+ * Gets a set of task uids affected by resource leveling.
5884
+ */
5885
+ affectedTaskUids: Array<number>;
5886
+ constructor(init?: Partial<LevelingResponse>);
5887
+ }
5803
5888
  export declare class OutlineCodeItems extends LinkElement {
5804
5889
  /**
5805
5890
  * Attribute type map
@@ -6495,6 +6580,7 @@ declare const enumsMap: {
6495
6580
  "Field": typeof Field;
6496
6581
  "ImportedProjectType": typeof ImportedProjectType;
6497
6582
  "ItemType": typeof ItemType;
6583
+ "LevelingOrder": typeof LevelingOrder;
6498
6584
  "MaskType": typeof MaskType;
6499
6585
  "Month": typeof Month;
6500
6586
  "MonthItemType": typeof MonthItemType;
@@ -6546,6 +6632,7 @@ declare const typeMap: {
6546
6632
  FileVersions: typeof FileVersions;
6547
6633
  FilesList: typeof FilesList;
6548
6634
  FilesUploadResult: typeof FilesUploadResult;
6635
+ LevelingOptions: typeof LevelingOptions;
6549
6636
  Link: typeof Link;
6550
6637
  LinkElement: typeof LinkElement;
6551
6638
  ModelError: typeof ModelError;
@@ -6603,6 +6690,7 @@ declare const typeMap: {
6603
6690
  ExtendedAttributeItemsResponse: typeof ExtendedAttributeItemsResponse;
6604
6691
  ExtendedAttributeResponse: typeof ExtendedAttributeResponse;
6605
6692
  FileVersion: typeof FileVersion;
6693
+ LevelingResponse: typeof LevelingResponse;
6606
6694
  OutlineCodeItems: typeof OutlineCodeItems;
6607
6695
  OutlineCodeItemsResponse: typeof OutlineCodeItemsResponse;
6608
6696
  OutlineCodeResponse: typeof OutlineCodeResponse;
@@ -8027,6 +8115,58 @@ export declare class GetReportPdfRequest {
8027
8115
  folder: string;
8028
8116
  constructor(init?: Partial<GetReportPdfRequest>);
8029
8117
  }
8118
+ /**
8119
+ * Request model for clearLeveling operation.
8120
+ */
8121
+ export declare class ClearLevelingRequest {
8122
+ /**
8123
+ * The name of the file
8124
+ */
8125
+ name: string;
8126
+ /**
8127
+ * The array containing task uids for which leveling delay should be cleared. If not specified, all leveling delays will be cleared.
8128
+ */
8129
+ taskUids: Array<number>;
8130
+ /**
8131
+ * 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.
8132
+ */
8133
+ fileName: string;
8134
+ /**
8135
+ * The folder storage
8136
+ */
8137
+ folder: string;
8138
+ /**
8139
+ * The document storage.
8140
+ */
8141
+ storage: string;
8142
+ constructor(init?: Partial<ClearLevelingRequest>);
8143
+ }
8144
+ /**
8145
+ * Request model for levelTasks operation.
8146
+ */
8147
+ export declare class LevelTasksRequest {
8148
+ /**
8149
+ * The name of the file
8150
+ */
8151
+ name: string;
8152
+ /**
8153
+ * Options which specifies how to level resources. If not specified, default leveling options will be used.
8154
+ */
8155
+ options: LevelingOptions;
8156
+ /**
8157
+ * 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.
8158
+ */
8159
+ fileName: string;
8160
+ /**
8161
+ * The folder storage
8162
+ */
8163
+ folder: string;
8164
+ /**
8165
+ * The document storage.
8166
+ */
8167
+ storage: string;
8168
+ constructor(init?: Partial<LevelTasksRequest>);
8169
+ }
8030
8170
  /**
8031
8171
  * Request model for deleteResource operation.
8032
8172
  */
@@ -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
  */
@@ -3276,6 +3322,11 @@ ProjectRecalculationResult.attributeTypeMap = [
3276
3322
  name: "validationErrorMessage",
3277
3323
  baseName: "validationErrorMessage",
3278
3324
  type: "string",
3325
+ },
3326
+ {
3327
+ name: "failedTaskUid",
3328
+ baseName: "failedTaskUid",
3329
+ type: "number",
3279
3330
  }
3280
3331
  ];
3281
3332
  /**
@@ -4622,6 +4673,11 @@ Task.attributeTypeMap = [
4622
4673
  baseName: "cost",
4623
4674
  type: "number",
4624
4675
  },
4676
+ {
4677
+ name: "outlineNumber",
4678
+ baseName: "outlineNumber",
4679
+ type: "string",
4680
+ },
4625
4681
  {
4626
4682
  name: "cv",
4627
4683
  baseName: "cv",
@@ -5066,6 +5122,11 @@ Task.attributeTypeMap = [
5066
5122
  name: "activityId",
5067
5123
  baseName: "activityId",
5068
5124
  type: "string",
5125
+ },
5126
+ {
5127
+ name: "externalUid",
5128
+ baseName: "externalUid",
5129
+ type: "number",
5069
5130
  }
5070
5131
  ];
5071
5132
  class TaskCreationRequest {
@@ -5205,6 +5266,11 @@ TaskLink.attributeTypeMap = [
5205
5266
  name: "lagFormat",
5206
5267
  baseName: "lagFormat",
5207
5268
  type: "TimeUnitType",
5269
+ },
5270
+ {
5271
+ name: "linkLagTimeSpan",
5272
+ baseName: "linkLagTimeSpan",
5273
+ type: "string",
5208
5274
  }
5209
5275
  ];
5210
5276
  /**
@@ -6453,6 +6519,32 @@ FileVersion.attributeTypeMap = [
6453
6519
  type: "boolean",
6454
6520
  }
6455
6521
  ];
6522
+ /**
6523
+ * Represents the results of resource leveling.
6524
+ */
6525
+ class LevelingResponse extends AsposeResponse {
6526
+ constructor(init) {
6527
+ super(init);
6528
+ Object.assign(this, init);
6529
+ }
6530
+ /**
6531
+ * Returns attribute type map
6532
+ */
6533
+ static getAttributeTypeMap() {
6534
+ return super.getAttributeTypeMap().concat(LevelingResponse.attributeTypeMap);
6535
+ }
6536
+ }
6537
+ exports.LevelingResponse = LevelingResponse;
6538
+ /**
6539
+ * Attribute type map
6540
+ */
6541
+ LevelingResponse.attributeTypeMap = [
6542
+ {
6543
+ name: "affectedTaskUids",
6544
+ baseName: "affectedTaskUids",
6545
+ type: "Array<number>",
6546
+ }
6547
+ ];
6456
6548
  class OutlineCodeItems extends LinkElement {
6457
6549
  constructor(init) {
6458
6550
  super(init);
@@ -7192,6 +7284,7 @@ const enumsMap = {
7192
7284
  "Field": Field,
7193
7285
  "ImportedProjectType": ImportedProjectType,
7194
7286
  "ItemType": ItemType,
7287
+ "LevelingOrder": LevelingOrder,
7195
7288
  "MaskType": MaskType,
7196
7289
  "Month": Month,
7197
7290
  "MonthItemType": MonthItemType,
@@ -7244,6 +7337,7 @@ const typeMap = {
7244
7337
  FileVersions,
7245
7338
  FilesList,
7246
7339
  FilesUploadResult,
7340
+ LevelingOptions,
7247
7341
  Link,
7248
7342
  LinkElement,
7249
7343
  ModelError,
@@ -7301,6 +7395,7 @@ const typeMap = {
7301
7395
  ExtendedAttributeItemsResponse,
7302
7396
  ExtendedAttributeResponse,
7303
7397
  FileVersion,
7398
+ LevelingResponse,
7304
7399
  OutlineCodeItems,
7305
7400
  OutlineCodeItemsResponse,
7306
7401
  OutlineCodeResponse,
@@ -7844,6 +7939,24 @@ class GetReportPdfRequest {
7844
7939
  }
7845
7940
  }
7846
7941
  exports.GetReportPdfRequest = GetReportPdfRequest;
7942
+ /**
7943
+ * Request model for clearLeveling operation.
7944
+ */
7945
+ class ClearLevelingRequest {
7946
+ constructor(init) {
7947
+ Object.assign(this, init);
7948
+ }
7949
+ }
7950
+ exports.ClearLevelingRequest = ClearLevelingRequest;
7951
+ /**
7952
+ * Request model for levelTasks operation.
7953
+ */
7954
+ class LevelTasksRequest {
7955
+ constructor(init) {
7956
+ Object.assign(this, init);
7957
+ }
7958
+ }
7959
+ exports.LevelTasksRequest = LevelTasksRequest;
7847
7960
  /**
7848
7961
  * Request model for deleteResource operation.
7849
7962
  */