@@ -2053,6 +2053,129 @@ export enum PresentationFormat {
20532053 ResourceSheet = 'ResourceSheet' as any ,
20542054 TaskSheet = 'TaskSheet' as any ,
20552055}
2056+ /**
2057+ * Represents Primavera-specific properties for a task read from Primavera format (XER of P6XML).
2058+ */
2059+ export class PrimaveraTaskProperties {
2060+
2061+ /**
2062+ * Attribute type map
2063+ */
2064+ public static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
2065+ {
2066+ name : "sequenceNumber" ,
2067+ baseName : "sequenceNumber" ,
2068+ type : "number" ,
2069+ } ,
2070+ {
2071+ name : "activityId" ,
2072+ baseName : "activityId" ,
2073+ type : "string" ,
2074+ } ,
2075+ {
2076+ name : "remainingEarlyFinish" ,
2077+ baseName : "remainingEarlyFinish" ,
2078+ type : "Date" ,
2079+ } ,
2080+ {
2081+ name : "remainingEarlyStart" ,
2082+ baseName : "remainingEarlyStart" ,
2083+ type : "Date" ,
2084+ } ,
2085+ {
2086+ name : "remainingLateStart" ,
2087+ baseName : "remainingLateStart" ,
2088+ type : "Date" ,
2089+ } ,
2090+ {
2091+ name : "remainingLateFinish" ,
2092+ baseName : "remainingLateFinish" ,
2093+ type : "Date" ,
2094+ } ,
2095+ {
2096+ name : "rawDurationType" ,
2097+ baseName : "rawDurationType" ,
2098+ type : "string" ,
2099+ } ,
2100+ {
2101+ name : "rawActivityType" ,
2102+ baseName : "rawActivityType" ,
2103+ type : "string" ,
2104+ } ,
2105+ {
2106+ name : "rawCompletePercentType" ,
2107+ baseName : "rawCompletePercentType" ,
2108+ type : "string" ,
2109+ } ,
2110+ {
2111+ name : "rawStatus" ,
2112+ baseName : "rawStatus" ,
2113+ type : "string" ,
2114+ } ] ;
2115+
2116+ /**
2117+ * Returns attribute type map
2118+ */
2119+ public static getAttributeTypeMap ( ) {
2120+ return PrimaveraTaskProperties . attributeTypeMap ;
2121+ }
2122+
2123+ /**
2124+ * The sequence number of the WBS item (summary tasks). It is used to sort summary tasks in Primavera.
2125+ */
2126+ public sequenceNumber : number ;
2127+
2128+ /**
2129+ * Activity id field - a task's unique identifier used by Primavera.
2130+ */
2131+ public activityId : string ;
2132+
2133+ /**
2134+ * Remaining early finish date - the date when the remaining work for the activity is scheduled to be finished.
2135+ */
2136+ public remainingEarlyFinish : Date ;
2137+
2138+ /**
2139+ * Remaining early start date - the date when the remaining work for the activity is scheduled to begin.
2140+ */
2141+ public remainingEarlyStart : Date ;
2142+
2143+ /**
2144+ * Remaining late start date.
2145+ */
2146+ public remainingLateStart : Date ;
2147+
2148+ /**
2149+ * Remaining late finish date.
2150+ */
2151+ public remainingLateFinish : Date ;
2152+
2153+ /**
2154+ * Raw text representation (as in source file) of 'Duration Type' field of the activity.
2155+ */
2156+ public rawDurationType : string ;
2157+
2158+ /**
2159+ * Raw text representation (as in source file) of 'Activity Type' field of the activity.
2160+ */
2161+ public rawActivityType : string ;
2162+
2163+ /**
2164+ * Raw text representation (as in source file) of '% Complete Type' field of the activity.
2165+ */
2166+ public rawCompletePercentType : string ;
2167+
2168+ /**
2169+ * Raw text representation (as in source file) of 'Status' field of the activity.
2170+ */
2171+ public rawStatus : string ;
2172+
2173+ public constructor ( init ?: Partial < PrimaveraTaskProperties > ) {
2174+
2175+ Object . assign ( this , init ) ;
2176+ }
2177+ }
2178+
20562179/**
20572180 * Specifies types of supported probability distributions.
20582181 */
@@ -7240,6 +7363,39 @@ export class PageCountResponse extends AsposeResponse {
72407363 }
72417364}
72427365
7366+ /**
7367+ * PrimaveraProperties response.
7368+ */
7369+ export class PrimaveraTaskPropertiesResponse extends AsposeResponse {
7370+
7371+ /**
7372+ * Attribute type map
7373+ */
7374+ public static attributeTypeMap : Array < { name : string , baseName : string , type : string } > = [
7375+ {
7376+ name : "primaveraProperties" ,
7377+ baseName : "primaveraProperties" ,
7378+ type : "PrimaveraTaskProperties" ,
7379+ } ] ;
7380+
7381+ /**
7382+ * Returns attribute type map
7383+ */
7384+ public static getAttributeTypeMap ( ) {
7385+ return super . getAttributeTypeMap ( ) . concat ( PrimaveraTaskPropertiesResponse . attributeTypeMap ) ;
7386+ }
7387+
7388+ /**
7389+ * PrimaveraTaskProperties DTO
7390+ */
7391+ public primaveraProperties : PrimaveraTaskProperties ;
7392+
7393+ public constructor ( init ?: Partial < PrimaveraTaskPropertiesResponse > ) {
7394+ super ( init ) ;
7395+ Object . assign ( this , init ) ;
7396+ }
7397+ }
7398+
72437399/**
72447400 * ProjectIds response
72457401 */
@@ -7964,6 +8120,7 @@ const typeMap = {
79648120 OutlineCodeItem,
79658121 OutlineMask,
79668122 OutlineValue,
8123+ PrimaveraTaskProperties,
79678124 ProjectInfo,
79688125 ProjectRecalculationResult,
79698126 ProjectServerSaveOptionsDTO,
@@ -8013,6 +8170,7 @@ const typeMap = {
80138170 OutlineCodeItemsResponse,
80148171 OutlineCodeResponse,
80158172 PageCountResponse,
8173+ PrimaveraTaskPropertiesResponse,
80168174 ProjectIdsResponse,
80178175 ProjectList,
80188176 ProjectListResponse,
@@ -10206,6 +10364,35 @@ public fileName: string;
1020610364 }
1020710365}
1020810366
10367+ /**
10368+ * Request model for getPrimaveraTaskProperties operation.
10369+ */
10370+ export class GetPrimaveraTaskPropertiesRequest {
10371+ /**
10372+ * The name of the file.
10373+ */
10374+ public name : string ;
10375+
10376+ /**
10377+ * Uid of task to get primavera properties for.
10378+ */
10379+ public taskUid : number ;
10380+
10381+ /**
10382+ * The document folder.
10383+ */
10384+ public folder : string ;
10385+
10386+ /**
10387+ * The document storage.
10388+ */
10389+ public storage : string ;
10390+
10391+ public constructor ( init ?: Partial < GetPrimaveraTaskPropertiesRequest > ) {
10392+ Object . assign ( this , init ) ;
10393+ }
10394+ }
10395+
1020910396/**
1021010397 * Request model for getTask operation.
1021110398 */
0 commit comments