"use strict";
/** @typedef {'NotSet'|'Standard'|'RunOff'} */
export var AnalysisType;
(function (AnalysisType) {
AnalysisType["NotSet"] = "NotSet"
AnalysisType["Standard"] = "Standard"
AnalysisType["RunOff"] = "RunOff"
})(AnalysisType || (AnalysisType = {}));
/** @typedef {'NotSet'|'Agg'|'Occ'} */
export var SimulationLossPerspective;
(function (SimulationLossPerspective) {
SimulationLossPerspective["NotSet"] = "NotSet"
SimulationLossPerspective["Agg"] = "Agg"
SimulationLossPerspective["Occ"] = "Occ"
})(SimulationLossPerspective || (SimulationLossPerspective = {}));
/** @typedef {'NotSet'|'Net'|'Gross'} */
export var ReinsurancePremiumLossType;
(function (ReinsurancePremiumLossType) {
ReinsurancePremiumLossType["NotSet"] = "NotSet"
ReinsurancePremiumLossType["Net"] = "Net"
ReinsurancePremiumLossType["Gross"] = "Gross"
})(ReinsurancePremiumLossType || (ReinsurancePremiumLossType = {}));
/** @typedef {'NotSet'|'PortfolioMetrics'|'Curve'|'YLT'|'TailIntensity'|'DealYlt'|'DealElt'|'DealEltWithIndustryLoss'|'PortfolioElt'|'PortfolioEltWithIndustryLoss'|'EventSetGeneration'|'PortfolioRaps'|'DealRaps'|'PortfolioSepyIndustryLoss'|'DealSepyIndustryLoss'} */
export var ResultOutputLevel;
(function (ResultOutputLevel) {
ResultOutputLevel["NotSet"] = "NotSet"
ResultOutputLevel["PortfolioMetrics"] = "PortfolioMetrics"
ResultOutputLevel["Curve"] = "Curve"
ResultOutputLevel["YLT"] = "YLT"
ResultOutputLevel["TailIntensity"] = "TailIntensity"
ResultOutputLevel["DealYlt"] = "DealYlt"
ResultOutputLevel["DealElt"] = "DealElt"
ResultOutputLevel["DealEltWithIndustryLoss"] = "DealEltWithIndustryLoss"
ResultOutputLevel["PortfolioElt"] = "PortfolioElt"
ResultOutputLevel["PortfolioEltWithIndustryLoss"] = "PortfolioEltWithIndustryLoss"
ResultOutputLevel["EventSetGeneration"] = "EventSetGeneration"
ResultOutputLevel["PortfolioRaps"] = "PortfolioRaps"
ResultOutputLevel["DealRaps"] = "DealRaps"
ResultOutputLevel["PortfolioSepyIndustryLoss"] = "PortfolioSepyIndustryLoss"
ResultOutputLevel["DealSepyIndustryLoss"] = "DealSepyIndustryLoss"
})(ResultOutputLevel || (ResultOutputLevel = {}));
export class AnalysisPortfolioEventSetResult {
/** @param {{id?:number,analysisId?:number,analysisPortfolioEventSetConfigurationId?:number,analysisResultId?:number,portfolioName?:string,rowIdentifier?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
id;
/** @type {number} */
analysisId;
/** @type {number} */
analysisPortfolioEventSetConfigurationId;
/** @type {number} */
analysisResultId;
/** @type {string} */
portfolioName;
/** @type {string} */
rowIdentifier;
}
export class AnalysisResult {
/** @param {{id?:number,analysisId?:number,analysisConfigurationId?:number,container?:string,blobName?:string,resultTableName?:string,analysisType?:AnalysisType,simulationLossPerspective?:SimulationLossPerspective,reinsurancePremiumLossType?:ReinsurancePremiumLossType,outputLevel?:ResultOutputLevel,metaRiskId?:number,analysisPortfolioEventSetResults?:AnalysisPortfolioEventSetResult[],rowIdentifier?:string}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {number} */
id;
/** @type {number} */
analysisId;
/** @type {number} */
analysisConfigurationId;
/** @type {string} */
container;
/** @type {string} */
blobName;
/** @type {string} */
resultTableName;
/** @type {AnalysisType} */
analysisType;
/** @type {SimulationLossPerspective} */
simulationLossPerspective;
/** @type {ReinsurancePremiumLossType} */
reinsurancePremiumLossType;
/** @type {ResultOutputLevel} */
outputLevel;
/** @type {number} */
metaRiskId;
/** @type {AnalysisPortfolioEventSetResult[]} */
analysisPortfolioEventSetResults;
/** @type {string} */
rowIdentifier;
}
export class ProcessHotPathRollupOutputPersistenceRequest {
/** @param {{id?:string,outputDetails?:AnalysisResult[]}} [init] */
constructor(init) { Object.assign(this, init) }
/** @type {string} */
id;
/** @type {AnalysisResult[]} */
outputDetails;
}
JavaScript ProcessHotPathRollupOutputPersistenceRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /xml/oneway/ProcessHotPathRollupOutputPersistenceRequest HTTP/1.1
Host: riskstoreng-dev.nephila.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<ProcessHotPathRollupOutputPersistenceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Requests">
<Id>00000000-0000-0000-0000-000000000000</Id>
<OutputDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/Nephila.RiskStore.ServiceModel.Types">
<d2p1:AnalysisResult>
<d2p1:Id>0</d2p1:Id>
<d2p1:AnalysisId>0</d2p1:AnalysisId>
<d2p1:AnalysisConfigurationId>0</d2p1:AnalysisConfigurationId>
<d2p1:Container>String</d2p1:Container>
<d2p1:BlobName>String</d2p1:BlobName>
<d2p1:ResultTableName>String</d2p1:ResultTableName>
<d2p1:AnalysisType>NotSet</d2p1:AnalysisType>
<d2p1:SimulationLossPerspective>NotSet</d2p1:SimulationLossPerspective>
<d2p1:ReinsurancePremiumLossType>NotSet</d2p1:ReinsurancePremiumLossType>
<d2p1:OutputLevel>NotSet</d2p1:OutputLevel>
<d2p1:MetaRiskId>0</d2p1:MetaRiskId>
<d2p1:AnalysisPortfolioEventSetResults>
<d2p1:AnalysisPortfolioEventSetResult>
<d2p1:AnalysisId>0</d2p1:AnalysisId>
<d2p1:AnalysisPortfolioEventSetConfigurationId>0</d2p1:AnalysisPortfolioEventSetConfigurationId>
<d2p1:AnalysisResultId>0</d2p1:AnalysisResultId>
<d2p1:Id>0</d2p1:Id>
<d2p1:PortfolioName>String</d2p1:PortfolioName>
<d2p1:RowIdentifier>00000000-0000-0000-0000-000000000000</d2p1:RowIdentifier>
</d2p1:AnalysisPortfolioEventSetResult>
</d2p1:AnalysisPortfolioEventSetResults>
<d2p1:RowIdentifier>00000000-0000-0000-0000-000000000000</d2p1:RowIdentifier>
</d2p1:AnalysisResult>
</OutputDetails>
</ProcessHotPathRollupOutputPersistenceRequest>