import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
import { Observable } from 'rxjs';
import { AdjustHolding } from '../model/adjustHolding';
import { AdjustHoldingForDateRequest } from '../model/adjustHoldingForDateRequest';
import { AdjustHoldingRequest } from '../model/adjustHoldingRequest';
import { BatchAdjustHoldingsResponse } from '../model/batchAdjustHoldingsResponse';
import { BatchUpsertPortfolioTransactionsResponse } from '../model/batchUpsertPortfolioTransactionsResponse';
import { BucketedCashFlowRequest } from '../model/bucketedCashFlowRequest';
import { BucketedCashFlowResponse } from '../model/bucketedCashFlowResponse';
import { CancelSingleHoldingAdjustmentRequest } from '../model/cancelSingleHoldingAdjustmentRequest';
import { CreatePortfolioDetails } from '../model/createPortfolioDetails';
import { CreateTradeTicketsResponse } from '../model/createTradeTicketsResponse';
import { CreateTransactionPortfolioRequest } from '../model/createTransactionPortfolioRequest';
import { CustodianAccount } from '../model/custodianAccount';
import { CustodianAccountProperties } from '../model/custodianAccountProperties';
import { CustodianAccountRequest } from '../model/custodianAccountRequest';
import { CustodianAccountsUpsertResponse } from '../model/custodianAccountsUpsertResponse';
import { DeleteCustodianAccountsResponse } from '../model/deleteCustodianAccountsResponse';
import { DeletedEntityResponse } from '../model/deletedEntityResponse';
import { HoldingIdsRequest } from '../model/holdingIdsRequest';
import { HoldingsAdjustment } from '../model/holdingsAdjustment';
import { LusidTradeTicket } from '../model/lusidTradeTicket';
import { Operation } from '../model/operation';
import { PagedResourceListOfCustodianAccount } from '../model/pagedResourceListOfCustodianAccount';
import { PerpetualProperty } from '../model/perpetualProperty';
import { Portfolio } from '../model/portfolio';
import { PortfolioDetails } from '../model/portfolioDetails';
import { Property } from '../model/property';
import { ResourceId } from '../model/resourceId';
import { ResourceListOfChangeHistory } from '../model/resourceListOfChangeHistory';
import { ResourceListOfHoldingsAdjustmentHeader } from '../model/resourceListOfHoldingsAdjustmentHeader';
import { ResourceListOfInstrumentCashFlow } from '../model/resourceListOfInstrumentCashFlow';
import { ResourceListOfOutputTransaction } from '../model/resourceListOfOutputTransaction';
import { ResourceListOfPortfolioCashFlow } from '../model/resourceListOfPortfolioCashFlow';
import { ResourceListOfPortfolioCashLadder } from '../model/resourceListOfPortfolioCashLadder';
import { ResourceListOfTransaction } from '../model/resourceListOfTransaction';
import { TransactionQueryParameters } from '../model/transactionQueryParameters';
import { TransactionRequest } from '../model/transactionRequest';
import { UpsertPortfolioTransactionsResponse } from '../model/upsertPortfolioTransactionsResponse';
import { UpsertTransactionPropertiesResponse } from '../model/upsertTransactionPropertiesResponse';
import { VersionedResourceListOfA2BDataRecord } from '../model/versionedResourceListOfA2BDataRecord';
import { VersionedResourceListOfA2BMovementRecord } from '../model/versionedResourceListOfA2BMovementRecord';
import { VersionedResourceListOfHoldingContributor } from '../model/versionedResourceListOfHoldingContributor';
import { VersionedResourceListOfOutputTransaction } from '../model/versionedResourceListOfOutputTransaction';
import { VersionedResourceListOfPortfolioHolding } from '../model/versionedResourceListOfPortfolioHolding';
import { VersionedResourceListOfTransaction } from '../model/versionedResourceListOfTransaction';
import { VersionedResourceListWithWarningsOfPortfolioHolding } from '../model/versionedResourceListWithWarningsOfPortfolioHolding';
import { Configuration } from '../configuration';
import * as i0 from "@angular/core";
export interface AdjustHoldingsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label at which the holdings should be set to the provided targets. */
    effectiveAt: string;
    /** The selected set of holdings to adjust to the provided targets for the              transaction portfolio. */
    adjustHoldingRequest: Array<AdjustHoldingRequest>;
    /** Optional parameter for specifying a reconciliation method: e.g. FxForward. */
    reconciliationMethods?: Array<string>;
}
export interface BatchAdjustHoldingsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies               the transaction portfolio. */
    code: string;
    /** Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial */
    successMode: string;
    /** The selected set of holdings to adjust to the provided targets for the               transaction portfolio. */
    requestBody: {
        [key: string]: AdjustHoldingForDateRequest;
    };
    /** Optional parameter for specifying a reconciliation method: e.g. FxForward. */
    reconciliationMethods?: Array<string>;
}
export interface BatchCreateTradeTicketsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** the trade tickets to create */
    lusidTradeTicket: Array<LusidTradeTicket>;
}
export interface BatchSetHoldingsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies               the transaction portfolio. */
    code: string;
    /** Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial */
    successMode: string;
    /** The selected set of holdings to adjust to the provided targets for the               transaction portfolio. */
    requestBody: {
        [key: string]: AdjustHoldingForDateRequest;
    };
    /** Optional parameter for specifying a reconciliation method: e.g. FxForward. */
    reconciliationMethods?: Array<string>;
}
export interface BatchUpsertTransactionsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. */
    successMode: string;
    /** The payload describing the transactions to be created or updated. */
    requestBody: {
        [key: string]: TransactionRequest;
    };
    /** If set to false, the entire property set will be overwritten by the provided properties. If not specified or set to true, only the properties provided will be updated. */
    preserveProperties?: boolean;
}
export interface BuildTransactionsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The query queryParameters which control how the output transactions are built. */
    transactionQueryParameters: TransactionQueryParameters;
    /** The asAt datetime at which to build the transactions. Defaults to return the latest              version of each transaction if not specified. */
    asAt?: string;
    /** Expression to filter the result set.              For example, to return only transactions with a transaction type of \&#39;Buy\&#39;, specify \&quot;type eq \&#39;Buy\&#39;\&quot;.              For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** A list of property keys from the \&quot;Instrument\&quot; or \&quot;Transaction\&quot; domain to decorate onto              the transactions. These take the format {domain}/{scope}/{code} e.g. \&quot;Instrument/system/Name\&quot; or              \&quot;Transaction/strategy/quantsignal\&quot;. */
    propertyKeys?: Array<string>;
    /** When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. */
    limit?: number;
    /** The pagination token to use to continue listing transactions from a previous call to BuildTransactions. */
    page?: string;
}
export interface CancelAdjustHoldingsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label at which the holding adjustments should be undone. */
    effectiveAt: string;
}
export interface CancelSingleAdjustHoldingRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label at which the previous adjustment was made. */
    effectiveAt: string;
    /** The selected holding adjustment to be canceled. */
    cancelSingleHoldingAdjustmentRequest: CancelSingleHoldingAdjustmentRequest;
}
export interface CancelTransactionsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The IDs of the transactions to cancel. */
    transactionIds: Array<string>;
}
export interface CreatePortfolioRequestParams {
    /** The scope in which to create the transaction portfolio. */
    scope: string;
    /** The definition of the transaction portfolio. */
    createTransactionPortfolioRequest: CreateTransactionPortfolioRequest;
}
export interface CreateTradeTicketRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** the trade ticket to upsert */
    lusidTradeTicket?: LusidTradeTicket;
}
export interface DeleteCustodianAccountsRequestParams {
    /** The scope of the Transaction Portfolios. */
    scope: string;
    /** The code of the Transaction Portfolios. Together with the scope this uniquely identifies              the Transaction Portfolios. */
    code: string;
    /** The scope and codes of the custodian accounts to delete. */
    resourceId: Array<ResourceId>;
    /** The delete mode to use (defaults to \&#39;Soft\&#39;). */
    deleteMode?: 'Soft' | 'Hard';
}
export interface DeletePropertiesFromTransactionRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The unique ID of the transaction from which to delete properties. */
    transactionId: string;
    /** The property keys of the properties to delete.              These must be from the \&quot;Transaction\&quot; domain and have the format {domain}/{scope}/{code}, for example              \&quot;Transaction/strategy/quantsignal\&quot;. */
    propertyKeys: Array<string>;
}
export interface GetA2BDataRequestParams {
    /** The scope of the portfolio to retrieve the A2B report for. */
    scope: string;
    /** The code of the portfolio to retrieve the A2B report for. Together with the scope this              uniquely identifies the portfolio. */
    code: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no lower bound if this is not specified. */
    fromEffectiveAt: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no upper bound if this is not specified. */
    toEffectiveAt: string;
    /** The asAt datetime at which to retrieve the portfolio. Defaults to return the latest version              of each transaction if not specified. */
    asAt?: string;
    /** The scope of the given recipeId */
    recipeIdScope?: string;
    /** The code of the given recipeId */
    recipeIdCode?: string;
    /** A list of property keys from the \&quot;Instrument\&quot; domain to decorate onto              the results. These take the format {domain}/{scope}/{code} e.g. \&quot;Instrument/system/Name\&quot;. */
    propertyKeys?: Array<string>;
    /** Expression to filter the result set.              Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. */
    filter?: string;
}
export interface GetA2BMovementsRequestParams {
    /** The scope of the portfolio to retrieve the A2B movement report for. */
    scope: string;
    /** The code of the portfolio to retrieve the A2B movement report for. Together with the scope this              uniquely identifies the portfolio. */
    code: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no lower bound if this is not specified. */
    fromEffectiveAt: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no upper bound if this is not specified. */
    toEffectiveAt: string;
    /** The asAt datetime at which to retrieve the portfolio. Defaults to return the latest version              of each transaction if not specified. */
    asAt?: string;
    /** The scope of the given recipeId */
    recipeIdScope?: string;
    /** The code of the given recipeId */
    recipeIdCode?: string;
    /** A list of property keys from the \&quot;Instrument\&quot; domain to decorate onto              the results. These take the format {domain}/{scope}/{code} e.g. \&quot;Instrument/system/Name\&quot;. */
    propertyKeys?: Array<string>;
    /** Expression to filter the result set.              Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. */
    filter?: string;
}
export interface GetBucketedCashFlowsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies the portfolio. */
    code: string;
    /** Request specifying the bucketing of cashflows */
    bucketedCashFlowRequest?: BucketedCashFlowRequest;
}
export interface GetCustodianAccountRequestParams {
    /** The scope of the Transaction Portfolio. */
    scope: string;
    /** The code of the Transaction Portfolio. Together with the scope this uniquely identifies the Transaction Portfolio. */
    code: string;
    /** The scope of the Custodian Account. */
    custodianAccountScope: string;
    /** The code of the Custodian Account. */
    custodianAccountCode: string;
    /** The effective datetime or cut label at which to retrieve the Custodian Account properties. Defaults to the current LUSID system datetime if not specified. */
    effectiveAt?: string;
    /** The asAt datetime at which to retrieve the Custodian Account definition. Defaults to returning the latest version of the Custodian Account definition if not specified. */
    asAt?: string;
    /** A list of property keys from the \&#39;CustodianAccount\&#39; domain to decorate onto the Custodian Account.              These must take the format {domain}/{scope}/{code}, for example \&#39;CustodianAccount/Manager/Id\&#39;. If no properties are specified, then no properties will be returned. */
    propertyKeys?: Array<string>;
}
export interface GetDetailsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the              scope this uniquely identifies the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label at which to retrieve the details of the transaction              portfolio. Defaults to the current LUSID system datetime if not specified. */
    effectiveAt?: string;
    /** The asAt datetime at which to retrieve the details of the transaction portfolio. Defaults              to returning the latest version of the details if not specified. */
    asAt?: string;
}
export interface GetHoldingContributorsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The unique holding identifier */
    holdingId: number;
    /** Effective date */
    effectiveDate?: string;
    /** The from trade date, defaults to first time this holding is opened, lower bound for transactions */
    fromTradeDate?: string;
    /** The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions */
    toTradeDate?: string;
    /** If true, transactions from previously closed holdings are returned.              If false, only transactions from last time position is opened. */
    includeHistoric?: boolean;
    /** Constrains the Holding Contributors to those which contributed to the specified tax lot. */
    taxLotId?: string;
    /** When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. */
    limit?: number;
    /** The asAt datetime at which to build the transactions. Defaults to return the latest              version of each transaction if not specified. */
    asAt?: string;
    /** The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors. */
    page?: string;
}
export interface GetHoldingsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label at which to retrieve the holdings of the transaction              portfolio. Defaults to the current LUSID system datetime if not specified. */
    effectiveAt?: string;
    /** The asAt datetime at which to retrieve the holdings of the transaction portfolio. Defaults              to return the latest version if not specified. */
    asAt?: string;
    /** Expression to filter the result set.              For example, to filter on the Holding Type, use \&quot;holdingType eq \&#39;p\&#39;\&quot;.              For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** A list of property keys from the \&quot;Instrument\&quot;, \&quot;Holding\&quot;, \&quot;Custodian Account\&quot;, \&quot;Legal Entity\&quot; or \&quot;Portfolio\&quot; domain to decorate onto              holdings. These must have the format {domain}/{scope}/{code}, for example \&quot;Instrument/system/Name\&quot; or \&quot;Holding/system/Cost\&quot;. */
    propertyKeys?: Array<string>;
    /** Whether or not to expand the holdings to return the underlying tax-lots. Defaults to              False. */
    byTaxlots?: boolean;
    /** Number of days ahead to bring back settlements from, in relation to the specified effectiveAt */
    includeSettlementEventsAfterDays?: number;
}
export interface GetHoldingsAdjustmentRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label of the holdings adjustment. */
    effectiveAt: string;
    /** The asAt datetime at which to retrieve the holdings adjustment. Defaults to the return the latest              version of the holdings adjustment if not specified. */
    asAt?: string;
    /** A list of property keys from the ‘Instrument\&#39; domain to decorate onto holdings adjustments.              These must have the format {domain}/{scope}/{code}, for example \&#39;Instrument/system/Name\&#39;.              Note that properties from the \&#39;Holding’ domain are automatically returned. */
    propertyKeys?: Array<string>;
}
export interface GetHoldingsWithOrdersRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label at which to retrieve the holdings of the transaction              portfolio. Defaults to the current LUSID system datetime if not specified. */
    effectiveAt?: string;
    /** The asAt datetime at which to retrieve the holdings of the transaction portfolio. Defaults              to return the latest version of the holdings if not specified. */
    asAt?: string;
    /** Expression to filter the result set.              For example, to filter on the Holding Type, use \&quot;holdingType eq \&#39;p\&#39;\&quot;              For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** A list of property keys from the \&quot;Instrument\&quot;, \&quot;Holding\&quot; or \&quot;Portfolio\&quot; domain to decorate onto              the holdings. These take the format {domain}/{scope}/{code} e.g. \&quot;Instrument/system/Name\&quot; or \&quot;Holding/system/Cost\&quot;. */
    propertyKeys?: Array<string>;
    /** Whether or not to expand the holdings to return the underlying tax-lots. Defaults to              False. */
    byTaxlots?: boolean;
    /** The scope of the given recipeId */
    recipeIdScope?: string;
    /** The code of the given recipeId */
    recipeIdCode?: string;
    /** Number of days ahead to bring back settlements from, in relation to the specified effectiveAt */
    includeSettlementEventsAfterDays?: number;
}
export interface GetMultipleHoldingContributorsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The array of unique holding identifiers */
    holdingIdsRequest: HoldingIdsRequest;
    /** Effective date */
    effectiveDate?: string;
    /** The from trade date, defaults to first time this holding is opened, lower bound for transactions */
    fromTransactionDate?: string;
    /** The to trade date upper bound date, defaults to effectiveDate. upper bound for transactions */
    toTransactionDate?: string;
    /** If true, transactions from previously closed holdings are returned.              If false, only transactions from last time position is opened. */
    includeHistoric?: boolean;
    /** Constrains the Holding Contributors to those which contributed to the specified tax lot. */
    taxLotId?: string;
    /** When paginating, limit the number of returned results to this many. Defaults to 100 if not specified. */
    limit?: number;
    /** The asAt datetime at which to build the transactions. Defaults to return the latest              version of each transaction if not specified. */
    asAt?: string;
    /** The pagination token to use to continue listing transactions from a previous call to GetHoldingContributors. */
    page?: string;
}
export interface GetPortfolioCashFlowsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this               uniquely identifies the portfolio. */
    code: string;
    /** The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows.  This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up.  For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt  is before the start of the range they are forward looking and will be expectations assuming the model supports that.  There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. */
    effectiveAt?: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows.               There is no lower bound if this is not specified. i.e. it is the minimum date. */
    windowStart?: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows.               The upper bound defaults to \&#39;max date\&#39; if it is not specified */
    windowEnd?: string;
    /** The asAt datetime at which to retrieve the data. Defaults to returning the latest version               of each transaction if not specified. */
    asAt?: string;
    /** Expression to filter the result set.               For example, to return only transactions with a transaction type of \&#39;Buy\&#39;, specify \&quot;type eq \&#39;Buy\&#39;\&quot;.               For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** The scope of the given recipeId */
    recipeIdScope?: string;
    /** The code of the given recipeID */
    recipeIdCode?: string;
    /** If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set. */
    excludeUnsettledTrades?: boolean;
}
export interface GetPortfolioCashLadderRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this              uniquely identifies the portfolio. */
    code: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no lower bound if this is not specified. */
    fromEffectiveAt: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no upper bound if this is not specified. */
    toEffectiveAt: string;
    /** The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows.  This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up.  For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt  is before the start of the range they are forward looking and will be expectations assuming the model supports that.  There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. */
    effectiveAt: string;
    /** The asAt datetime at which to retrieve the portfolio. Defaults to returning the latest version              of each transaction if not specified. */
    asAt?: string;
    /** Expression to filter the result set.              For example, to return only transactions with a transaction type of \&#39;Buy\&#39;, specify \&quot;type eq \&#39;Buy\&#39;\&quot;.              For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** The scope of the given recipeId */
    recipeIdScope?: string;
    /** The code of the given recipeID */
    recipeIdCode?: string;
    /** If absent or set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. If set to true, unsettled trades will be excluded from the result set. */
    excludeUnsettledTrades?: boolean;
}
export interface GetPortfolioCashStatementRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this              uniquely identifies the portfolio. */
    code: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no lower bound if this is not specified. */
    fromEffectiveAt: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no upper bound if this is not specified. */
    toEffectiveAt: string;
    /** The asAt datetime at which to retrieve the portfolio. Defaults to returning the latest version              of each transaction if not specified. */
    asAt?: string;
    /** Expression to filter the result set.              For example, to return only transactions with a transaction type of \&#39;Buy\&#39;, specify \&quot;type eq \&#39;Buy\&#39;\&quot;.              For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** The scope of the given recipeId */
    recipeIdScope?: string;
    /** The code of the given recipeID */
    recipeIdCode?: string;
    /** A list of property keys from the \&quot;Instrument\&quot; or \&quot;Transaction\&quot; domain to decorate onto              the cash flows\&#39; transactions. These take the format {domain}/{scope}/{code} e.g. \&quot;Instrument/system/Name\&quot; or              \&quot;Transaction/strategy/quantsignal\&quot;. */
    propertyKeys?: Array<string>;
}
export interface GetTransactionHistoryRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The unique ID of the transaction to create or update. */
    transactionId: string;
    /** The asAt datetime at which to retrieve the history of the transaction. Defaults              to return the latest version if not specified. */
    asAt?: string;
}
export interface GetTransactionsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies               the transaction portfolio. */
    code: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve transactions.               There is no lower bound if this is not specified. */
    fromTransactionDate?: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve transactions.               There is no upper bound if this is not specified. */
    toTransactionDate?: string;
    /** The asAt datetime at which to retrieve transactions. Defaults to returning the latest version               of each transaction if not specified. */
    asAt?: string;
    /** Expression with which to filter the result set.               For example, to return only transactions with a transaction type of \&#39;Buy\&#39;, specify \&quot;type eq \&#39;Buy\&#39;\&quot;               For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** A list of property keys from the \&#39;Instrument\&#39;, \&#39;Transaction\&#39;, \&quot;LegalEntity\&quot; or \&quot;CustodianAccount\&quot; domain to decorate onto               transactions. These must have the format {domain}/{scope}/{code}, for example \&#39;Instrument/system/Name\&#39; or               \&#39;Transaction/strategy/quantsignal\&#39;. */
    propertyKeys?: Array<string>;
    /** The pagination token to use to continue listing transactions from a previous call to GetTransactions. */
    page?: string;
    /** When paginating, limit the number of returned results to this many. The current behaviour is               to return all transactions if possible, but this will change to defaulting to 1000 if not specified in the future. It is recommended               to populate this field to enable pagination. */
    limit?: number;
    /** Option to specify whether or not to include cancelled transactions,               including previous versions of transactions which have since been amended.               Defaults to False if not specified. */
    showCancelledTransactions?: boolean;
    /** A list of field names or properties to sort by, each suffixed by \&quot; ASC\&quot; or \&quot; DESC\&quot;. */
    sortBy?: Array<string>;
    /** The optional scope of a Custom Data Model to use */
    dataModelScope?: string;
    /** The optional code of a Custom Data Model to use */
    dataModelCode?: string;
}
export interface GetUpsertablePortfolioCashFlowsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this               uniquely identifies the portfolio. */
    code: string;
    /** The valuation (pricing) effective datetime or cut label (inclusive) at which to evaluate the cashflows.  This determines whether cashflows are evaluated in a historic or forward looking context and will, for certain models, affect where data is looked up.  For example, on a swap if the effectiveAt is in the middle of the window, cashflows before it will be historic and resets assumed to exist where if the effectiveAt  is before the start of the range they are forward looking and will be expectations assuming the model supports that.  There is evidently a presumption here about availability of data and that the effectiveAt is realistically on or before the real-world today. */
    effectiveAt?: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the cashflows.               There is no lower bound if this is not specified. i.e. uses minimum date-time */
    windowStart?: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve the cashflows.               The upper bound defaults to \&#39;max date\&#39; if it is not specified */
    windowEnd?: string;
    /** The asAt datetime at which to retrieve the portfolio. Defaults to return the latest version               of each transaction if not specified. */
    asAt?: string;
    /** Expression to filter the result set.               For example, to return only transactions with a transaction type of \&#39;Buy\&#39;, specify \&quot;type eq \&#39;Buy\&#39;\&quot;.               For more information about filtering LUSID results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** The scope of the given recipeId */
    recipeIdScope?: string;
    /** The code of the given recipeID */
    recipeIdCode?: string;
    /** If absent or set to true, unsettled trades will be excluded from the result set. If set to false, cashflows will returned based on trade date - more specifically, cashflows from any unsettled trades will be included in the results. */
    excludeUnsettledTrades?: boolean;
}
export interface ListCustodianAccountsRequestParams {
    /** The scope of the Transaction Portfolio. */
    scope: string;
    /** The code of the Transaction Portfolio. Together with the scope this uniquely identifies              the Transaction Portfolios. */
    code: string;
    /** The effective datetime or cut label at which to list the TimeVariant properties decorated on Custodian Accounts. Defaults to the current LUSID              system datetime if not specified. */
    effectiveAt?: string;
    /** The asAt datetime at which to retrieve the instrument. Defaults to              returning the latest version if not specified. */
    asAt?: string;
    /** The pagination token to use to continue listing custodian accounts; this              value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt              and asAt fields must not have changed since the original request. */
    page?: string;
    /** When paginating, limit the results to this number. Defaults to 100 if not specified. */
    limit?: number;
    /** Expression to filter the results.              For example, to filter on the Custodian Account type, specify \&quot;code eq \&#39;001\&#39;\&quot;. For more information about filtering              results, see https://support.lusid.com/knowledgebase/article/KA-01914. */
    filter?: string;
    /** A list of property keys from the \&#39;CustodianAccount\&#39; domain to decorate onto the Custodian Account.              These must have the format {domain}/{scope}/{code}, for example \&#39;CustodianAccount/system/Name\&#39;. */
    propertyKeys?: Array<string>;
}
export interface ListHoldingsAdjustmentsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the holdings              adjustments. There is no lower bound if this is not specified. */
    fromEffectiveAt?: string;
    /** The upper bound effective datetime or cut label (inclusive) from which to retrieve the holdings              adjustments. There is no upper bound if this is not specified. */
    toEffectiveAt?: string;
    /** The asAt datetime at which to retrieve the holdings adjustments. Defaults to return the              latest version of each holding adjustment if not specified. */
    asAt?: string;
}
export interface PatchPortfolioDetailsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the               scope this uniquely identifies the transaction portfolio. */
    code: string;
    /** The patch document. */
    operation: Array<Operation>;
    /** The effective datetime or cut label at which the updated or inserted details should become valid.               Defaults to the current LUSID system datetime if not specified.               Note that this will affect all bitemporal entities in the request, but will not be used for any perpetual entities. */
    effectiveAt?: string;
}
export interface PreviewTransactionRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The transaction to be previewed. */
    transactionRequest: TransactionRequest;
    /** A list of property keys from the \&quot;Instrument\&quot; or \&quot;Transaction\&quot; domain to decorate onto              the transactions. These take the format {domain}/{scope}/{code} e.g. \&quot;Instrument/system/Name\&quot; or              \&quot;Transaction/strategy/quantsignal\&quot;. */
    propertyKeys?: Array<string>;
    /** Option to specify whether to include previous versions of an amended transaction in the response.              Defaults to False if not specified. */
    showCancelledTransactions?: boolean;
    /** If the preview transaction is an amendment to an existing transaction, then setting this to true will carry forward any unmodified properties from the earlier version. */
    preserveProperties?: boolean;
}
export interface ResolveInstrumentRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The instrument identifier type. */
    instrumentIdentifierType: string;
    /** The value for the given instrument identifier. */
    instrumentIdentifierValue: string;
    /** The lower bound effective datetime or cut label (inclusive) from which to retrieve the data.              There is no lower bound if this is not specified. */
    fromEffectiveAt?: string;
    /** When set to true, instrument resolution will be attempted for all transactions and holdings for the given identifier and date range.              When set to false (default behaviour), instrument resolution will only be attempted for those transactions and holdings that were previously unresolved. */
    reResolve?: boolean;
    /** The dictionary with the instrument identifiers to be updated on the             transaction and holdings. */
    requestBody?: {
        [key: string]: string;
    };
}
export interface SetHoldingsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The effective datetime or cut label at which the holdings should be set to the provided targets. */
    effectiveAt: string;
    /** The complete set of target holdings for the transaction portfolio. */
    adjustHoldingRequest: Array<AdjustHoldingRequest>;
    /** Optional parameter for specifying a reconciliation method: e.g. FxForward. */
    reconciliationMethods?: Array<string>;
}
export interface UpsertCustodianAccountsRequestParams {
    /** The scope of the Transaction Portfolio. */
    scope: string;
    /** The code of the Transaction Portfolio. Together with the scope this uniquely identifies              the Transaction Portfolios. */
    code: string;
    /** A list of Custodian Accounts to be created or updated. */
    custodianAccountRequest: Array<CustodianAccountRequest>;
}
export interface UpsertCustodianAccountsPropertiesRequestParams {
    /** The scope of the Transaction Portfolios to update or insert the properties onto. */
    scope: string;
    /** The code of the Transaction Portfolios to update or insert the properties onto. Together with the scope this uniquely identifies the Transaction Portfolios. */
    code: string;
    /** The scope of the Custodian Account to update or insert the properties onto. */
    custodianAccountScope: string;
    /** The unique ID of the custodian account to create or update properties for. */
    custodianAccountCode: string;
    /** The properties to be updated or inserted onto the Transaction Portfolio. Each property in               the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. \&quot;CustodianAccount/Manager/Id\&quot;. */
    requestBody?: {
        [key: string]: Property;
    };
}
export interface UpsertPortfolioDetailsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the               scope this uniquely identifies the transaction portfolio. */
    code: string;
    /** The details to create or update for the specified transaction portfolio. */
    createPortfolioDetails: CreatePortfolioDetails;
    /** The effective datetime or cut label at which the updated or inserted details should become valid.               Defaults to the current LUSID system datetime if not specified. */
    effectiveAt?: string;
}
export interface UpsertTransactionPropertiesRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** The unique ID of the transaction to create or update properties for. */
    transactionId: string;
    /** The properties and their associated values to create or update. */
    requestBody: {
        [key: string]: PerpetualProperty;
    };
}
export interface UpsertTransactionsRequestParams {
    /** The scope of the transaction portfolio. */
    scope: string;
    /** The code of the transaction portfolio. Together with the scope this uniquely identifies              the transaction portfolio. */
    code: string;
    /** A list of transactions to be created or updated. */
    transactionRequest: Array<TransactionRequest>;
    /** If set to false, the entire property set will be overwritten by the provided properties. If not specified or set to true, only the properties provided will be updated. */
    preserveProperties?: boolean;
    /** The optional scope of a Custom Data Model to use */
    dataModelScope?: string;
    /** The optional code of a Custom Data Model to use */
    dataModelCode?: string;
}
export declare class TransactionPortfoliosService {
    protected httpClient: HttpClient;
    protected basePath: string;
    defaultHeaders: HttpHeaders;
    configuration: Configuration;
    encoder: HttpParameterCodec;
    constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
    private addToHttpParams;
    private addToHttpParamsRecursive;
    /**
     * AdjustHoldings: Adjust holdings
     * Adjust one or more holdings of the specified transaction portfolio to the provided targets. LUSID will  automatically construct adjustment transactions to ensure that the holdings which have been adjusted are  always set to the provided targets for the specified effective datetime. Read more about the difference between  adjusting and setting holdings here https://support.lusid.com/docs/how-do-i-manually-adjust-or-set-holdings.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    adjustHoldings(requestParameters?: AdjustHoldingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<AdjustHolding>;
    adjustHoldings(requestParameters?: AdjustHoldingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<AdjustHolding>>;
    adjustHoldings(requestParameters?: AdjustHoldingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<AdjustHolding>>;
    /**
     * BatchAdjustHoldings: Batch adjust holdings
     * Adjust one or more holdings of the specified transaction portfolio to the provided targets. LUSID will  automatically construct adjustment transactions to ensure that the holdings which have been adjusted are  always set to the provided targets for the specified effective datetime in each request.                Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID.  It serves only as a way to easily identify each adjustment in the response.    Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    batchAdjustHoldings(requestParameters?: BatchAdjustHoldingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<BatchAdjustHoldingsResponse>;
    batchAdjustHoldings(requestParameters?: BatchAdjustHoldingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<BatchAdjustHoldingsResponse>>;
    batchAdjustHoldings(requestParameters?: BatchAdjustHoldingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<BatchAdjustHoldingsResponse>>;
    /**
     * BatchCreateTradeTickets: Batch Create Trade Tickets
     * Batch create trade tickets. Each ticket is broadly equivalent to a singular call to upsert an instrument, then a counterparty and finally  a transaction that makes use of the two.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    batchCreateTradeTickets(requestParameters?: BatchCreateTradeTicketsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<CreateTradeTicketsResponse>;
    batchCreateTradeTickets(requestParameters?: BatchCreateTradeTicketsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<CreateTradeTicketsResponse>>;
    batchCreateTradeTickets(requestParameters?: BatchCreateTradeTicketsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<CreateTradeTicketsResponse>>;
    /**
     * BatchSetHoldings: Batch set holdings
     * Set the holdings of the specified transaction portfolio to the provided targets. LUSID will automatically  construct adjustment transactions to ensure that the entire set of holdings for the transaction portfolio  are always set to the provided targets for the specified effective datetime. Read more about the difference between  adjusting and setting holdings here https://support.lusid.com/docs/how-do-i-manually-adjust-or-set-holdings.                Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID.  It serves only as a way to easily identify each adjustment in the response.    Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    batchSetHoldings(requestParameters?: BatchSetHoldingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<BatchAdjustHoldingsResponse>;
    batchSetHoldings(requestParameters?: BatchSetHoldingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<BatchAdjustHoldingsResponse>>;
    batchSetHoldings(requestParameters?: BatchSetHoldingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<BatchAdjustHoldingsResponse>>;
    /**
     * BatchUpsertTransactions: Batch upsert transactions
     * Create or update transactions in the transaction portfolio. A transaction will be updated  if it already exists and created if it does not.    Each request must be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID.  It serves only as a way to easily identify each transaction in the response.    Note: If using partial failure modes, then it is important to check the response body for failures as any failures will still return a 200 status code
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    batchUpsertTransactions(requestParameters?: BatchUpsertTransactionsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<BatchUpsertPortfolioTransactionsResponse>;
    batchUpsertTransactions(requestParameters?: BatchUpsertTransactionsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<BatchUpsertPortfolioTransactionsResponse>>;
    batchUpsertTransactions(requestParameters?: BatchUpsertTransactionsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<BatchUpsertPortfolioTransactionsResponse>>;
    /**
     * BuildTransactions: Build transactions
     * Builds and returns all transactions that affect the holdings of a portfolio over a given interval of  effective time into a set of output transactions. This includes transactions automatically generated by  LUSID such as holding adjustments.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    buildTransactions(requestParameters?: BuildTransactionsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListOfOutputTransaction>;
    buildTransactions(requestParameters?: BuildTransactionsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListOfOutputTransaction>>;
    buildTransactions(requestParameters?: BuildTransactionsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListOfOutputTransaction>>;
    /**
     * CancelAdjustHoldings: Cancel adjust holdings
     * Cancel all previous holding adjustments made on the specified transaction portfolio for a specified effective  datetime. This should be used to undo holding adjustments made via set holdings or adjust holdings.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cancelAdjustHoldings(requestParameters?: CancelAdjustHoldingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<DeletedEntityResponse>;
    cancelAdjustHoldings(requestParameters?: CancelAdjustHoldingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<DeletedEntityResponse>>;
    cancelAdjustHoldings(requestParameters?: CancelAdjustHoldingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<DeletedEntityResponse>>;
    /**
     * CancelSingleAdjustHolding: Cancel single holding adjustment.
     * Cancel one previously sent holding adjustment without affecting the rest of the adjustment in the previous request on the specified effective datetime.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cancelSingleAdjustHolding(requestParameters?: CancelSingleAdjustHoldingRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<DeletedEntityResponse>;
    cancelSingleAdjustHolding(requestParameters?: CancelSingleAdjustHoldingRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<DeletedEntityResponse>>;
    cancelSingleAdjustHolding(requestParameters?: CancelSingleAdjustHoldingRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<DeletedEntityResponse>>;
    /**
     * CancelTransactions: Cancel transactions
     * Cancel one or more transactions from the transaction portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    cancelTransactions(requestParameters?: CancelTransactionsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<DeletedEntityResponse>;
    cancelTransactions(requestParameters?: CancelTransactionsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<DeletedEntityResponse>>;
    cancelTransactions(requestParameters?: CancelTransactionsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<DeletedEntityResponse>>;
    /**
     * CreatePortfolio: Create portfolio
     * Create a transaction portfolio in a particular scope.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    createPortfolio(requestParameters?: CreatePortfolioRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<Portfolio>;
    createPortfolio(requestParameters?: CreatePortfolioRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<Portfolio>>;
    createPortfolio(requestParameters?: CreatePortfolioRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<Portfolio>>;
    /**
     * CreateTradeTicket: Create Trade Ticket
     * Upsert a trade ticket. Broadly equivalent to a singular call to upsert an instrument, then a counterparty and finally  a transaction that makes use of the two. It can be viewed as a utility function or part of a workflow more familiar to users  with OTC systems than flow and equity trading ones.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    createTradeTicket(requestParameters?: CreateTradeTicketRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<LusidTradeTicket>;
    createTradeTicket(requestParameters?: CreateTradeTicketRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<LusidTradeTicket>>;
    createTradeTicket(requestParameters?: CreateTradeTicketRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<LusidTradeTicket>>;
    /**
     * DeleteCustodianAccounts: Soft or hard delete multiple custodian accounts
     * Delete one or more custodian accounts from the Transaction Portfolios. Soft deletion marks the custodian account as inactive  While the Hard deletion is deleting the custodian account.  The batch limit per request is 2,000.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    deleteCustodianAccounts(requestParameters?: DeleteCustodianAccountsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<DeleteCustodianAccountsResponse>;
    deleteCustodianAccounts(requestParameters?: DeleteCustodianAccountsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<DeleteCustodianAccountsResponse>>;
    deleteCustodianAccounts(requestParameters?: DeleteCustodianAccountsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<DeleteCustodianAccountsResponse>>;
    /**
     * DeletePropertiesFromTransaction: Delete properties from transaction
     * Delete one or more properties from a single transaction in a transaction portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    deletePropertiesFromTransaction(requestParameters?: DeletePropertiesFromTransactionRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<DeletedEntityResponse>;
    deletePropertiesFromTransaction(requestParameters?: DeletePropertiesFromTransactionRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<DeletedEntityResponse>>;
    deletePropertiesFromTransaction(requestParameters?: DeletePropertiesFromTransactionRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<DeletedEntityResponse>>;
    /**
     * GetA2BData: Get A2B data
     * Get an A2B report for the given portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getA2BData(requestParameters?: GetA2BDataRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListOfA2BDataRecord>;
    getA2BData(requestParameters?: GetA2BDataRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListOfA2BDataRecord>>;
    getA2BData(requestParameters?: GetA2BDataRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListOfA2BDataRecord>>;
    /**
     * GetA2BMovements: Get an A2B report at the movement level for the given portfolio.
     * Get an A2B report at the movement level for the given portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getA2BMovements(requestParameters?: GetA2BMovementsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListOfA2BMovementRecord>;
    getA2BMovements(requestParameters?: GetA2BMovementsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListOfA2BMovementRecord>>;
    getA2BMovements(requestParameters?: GetA2BMovementsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListOfA2BMovementRecord>>;
    /**
     * GetBucketedCashFlows: Get bucketed cash flows from a list of portfolios
     * We bucket/aggregate a transaction portfolio\&#39;s instruments by date or tenor specified in the request.  The cashflows are grouped by both instrumentId and currency.                If you want transactional level cashflow, please use the \&#39;GetUpsertableCashFlows\&#39; endpoint.  If you want instrument cashflow, please use the \&#39;GetPortfolioCashFlows\&#39; endpoint.  Note that these endpoints do not apply bucketing.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getBucketedCashFlows(requestParameters?: GetBucketedCashFlowsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<BucketedCashFlowResponse>;
    getBucketedCashFlows(requestParameters?: GetBucketedCashFlowsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<BucketedCashFlowResponse>>;
    getBucketedCashFlows(requestParameters?: GetBucketedCashFlowsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<BucketedCashFlowResponse>>;
    /**
     * GetCustodianAccount: Get Custodian Account
     * Retrieve the definition of a particular Custodian Account which is part of a Transaction Portfolios.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getCustodianAccount(requestParameters?: GetCustodianAccountRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<CustodianAccount>;
    getCustodianAccount(requestParameters?: GetCustodianAccountRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<CustodianAccount>>;
    getCustodianAccount(requestParameters?: GetCustodianAccountRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<CustodianAccount>>;
    /**
     * GetDetails: Get details
     * Get certain details associated with a transaction portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getDetails(requestParameters?: GetDetailsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<PortfolioDetails>;
    getDetails(requestParameters?: GetDetailsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<PortfolioDetails>>;
    getDetails(requestParameters?: GetDetailsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<PortfolioDetails>>;
    /**
     * GetHoldingContributors: Get Holdings Contributors
     * Lists all transactions that affect the holdings of a portfolio over a given effective interval. This includes  transactions automatically generated by LUSID such as holding adjustments.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getHoldingContributors(requestParameters?: GetHoldingContributorsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListOfHoldingContributor>;
    getHoldingContributors(requestParameters?: GetHoldingContributorsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListOfHoldingContributor>>;
    getHoldingContributors(requestParameters?: GetHoldingContributorsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListOfHoldingContributor>>;
    /**
     * GetHoldings: Get holdings
     * Calculate holdings for a transaction portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getHoldings(requestParameters?: GetHoldingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListOfPortfolioHolding>;
    getHoldings(requestParameters?: GetHoldingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListOfPortfolioHolding>>;
    getHoldings(requestParameters?: GetHoldingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListOfPortfolioHolding>>;
    /**
     * GetHoldingsAdjustment: Get holdings adjustment
     * Get a holdings adjustment made to a transaction portfolio at a specific effective datetime. Note that a  holdings adjustment will only be returned if one exists for the specified effective datetime.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getHoldingsAdjustment(requestParameters?: GetHoldingsAdjustmentRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HoldingsAdjustment>;
    getHoldingsAdjustment(requestParameters?: GetHoldingsAdjustmentRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<HoldingsAdjustment>>;
    getHoldingsAdjustment(requestParameters?: GetHoldingsAdjustmentRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<HoldingsAdjustment>>;
    /**
     * GetHoldingsWithOrders: Get holdings with orders
     * Get the holdings of a transaction portfolio. Create virtual holdings for any outstanding orders,  and account for order state/fulfillment; that is, treat outstanding orders (and related records) as  if they had been realised at moment of query.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getHoldingsWithOrders(requestParameters?: GetHoldingsWithOrdersRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListWithWarningsOfPortfolioHolding>;
    getHoldingsWithOrders(requestParameters?: GetHoldingsWithOrdersRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListWithWarningsOfPortfolioHolding>>;
    getHoldingsWithOrders(requestParameters?: GetHoldingsWithOrdersRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListWithWarningsOfPortfolioHolding>>;
    /**
     * GetMultipleHoldingContributors: Get Multiple Holding Contributors
     * Lists all transactions that affect multiple specified holdings of a portfolio over a given effective interval. This includes  transactions automatically generated by LUSID such as holding adjustments.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getMultipleHoldingContributors(requestParameters?: GetMultipleHoldingContributorsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListOfHoldingContributor>;
    getMultipleHoldingContributors(requestParameters?: GetMultipleHoldingContributorsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListOfHoldingContributor>>;
    getMultipleHoldingContributors(requestParameters?: GetMultipleHoldingContributorsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListOfHoldingContributor>>;
    /**
     * GetPortfolioCashFlows: Get portfolio cash flows
     * Get the set of cash flows that occur in a window for the transaction portfolio\&#39;s instruments.                Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique  transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is  not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getPortfolioCashFlows(requestParameters?: GetPortfolioCashFlowsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<ResourceListOfInstrumentCashFlow>;
    getPortfolioCashFlows(requestParameters?: GetPortfolioCashFlowsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<ResourceListOfInstrumentCashFlow>>;
    getPortfolioCashFlows(requestParameters?: GetPortfolioCashFlowsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<ResourceListOfInstrumentCashFlow>>;
    /**
     * GetPortfolioCashLadder: Get portfolio cash ladder
     * Get a cash ladder for a transaction portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getPortfolioCashLadder(requestParameters?: GetPortfolioCashLadderRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<ResourceListOfPortfolioCashLadder>;
    getPortfolioCashLadder(requestParameters?: GetPortfolioCashLadderRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<ResourceListOfPortfolioCashLadder>>;
    getPortfolioCashLadder(requestParameters?: GetPortfolioCashLadderRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<ResourceListOfPortfolioCashLadder>>;
    /**
     * GetPortfolioCashStatement: Get portfolio cash statement
     * Get a cash statement for a transaction portfolio.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getPortfolioCashStatement(requestParameters?: GetPortfolioCashStatementRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<ResourceListOfPortfolioCashFlow>;
    getPortfolioCashStatement(requestParameters?: GetPortfolioCashStatementRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<ResourceListOfPortfolioCashFlow>>;
    getPortfolioCashStatement(requestParameters?: GetPortfolioCashStatementRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<ResourceListOfPortfolioCashFlow>>;
    /**
     * GetTransactionHistory: Get the history of a transaction
     * Get all of the changes that have happened to a transaction.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getTransactionHistory(requestParameters?: GetTransactionHistoryRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<ResourceListOfChangeHistory>;
    getTransactionHistory(requestParameters?: GetTransactionHistoryRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<ResourceListOfChangeHistory>>;
    getTransactionHistory(requestParameters?: GetTransactionHistoryRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<ResourceListOfChangeHistory>>;
    /**
     * GetTransactions: Get transactions
     * Retrieve all the transactions that occurred during a particular time interval.                If the portfolio is a derived transaction portfolio, the transactions returned are the  union set of all transactions of the parent (and any grandparents, etc.) as well as  those of the derived transaction portfolio itself.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getTransactions(requestParameters?: GetTransactionsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<VersionedResourceListOfTransaction>;
    getTransactions(requestParameters?: GetTransactionsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<VersionedResourceListOfTransaction>>;
    getTransactions(requestParameters?: GetTransactionsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<VersionedResourceListOfTransaction>>;
    /**
     * GetUpsertablePortfolioCashFlows: Get upsertable portfolio cash flows.
     * Get the set of cash flows that occur in a window for the given portfolio instruments as a set of upsertable transactions (DTOs).                Note that grouping can affect the quantity of information returned; where a holding is an amalgamation of one or more (e.g. cash) instruments, a unique  transaction identifier will not be available. The same may go for diagnostic information (e.g. multiple sources of an aggregate cash amount on a date that is  not split out. Grouping at the transaction and instrument level is recommended for those seeking to attribute individual flows.                In essence this is identical to the \&#39;GetCashFlows\&#39; endpoint but returns the cash flows as a set of transactions suitable for directly putting back into LUSID.  There are a couple of important points:  (1) Internally it can not be fully known where the user wishes to insert these transactions, e.g. portfolio and movement type.      These are therefore defaulted to a sensible option; the user will likely need to change these.  (2) Similarly, knowledge of any properties the user might wish to add to a transaction are unknown and consequently left empty.  (3) The transaction id that is added is simply a concatenation of the original transaction id, instrument id and payment date and direction. The user can happily override this.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    getUpsertablePortfolioCashFlows(requestParameters?: GetUpsertablePortfolioCashFlowsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<ResourceListOfTransaction>;
    getUpsertablePortfolioCashFlows(requestParameters?: GetUpsertablePortfolioCashFlowsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<ResourceListOfTransaction>>;
    getUpsertablePortfolioCashFlows(requestParameters?: GetUpsertablePortfolioCashFlowsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<ResourceListOfTransaction>>;
    /**
     * ListCustodianAccounts: List Custodian Accounts
     * List the custodian accounts in a Transaction Portfolios
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    listCustodianAccounts(requestParameters?: ListCustodianAccountsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<PagedResourceListOfCustodianAccount>;
    listCustodianAccounts(requestParameters?: ListCustodianAccountsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<PagedResourceListOfCustodianAccount>>;
    listCustodianAccounts(requestParameters?: ListCustodianAccountsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<PagedResourceListOfCustodianAccount>>;
    /**
     * ListHoldingsAdjustments: List holdings adjustments
     * List the holdings adjustments made to the specified transaction portfolio over a specified interval of effective time.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    listHoldingsAdjustments(requestParameters?: ListHoldingsAdjustmentsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<ResourceListOfHoldingsAdjustmentHeader>;
    listHoldingsAdjustments(requestParameters?: ListHoldingsAdjustmentsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<ResourceListOfHoldingsAdjustmentHeader>>;
    listHoldingsAdjustments(requestParameters?: ListHoldingsAdjustmentsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<ResourceListOfHoldingsAdjustmentHeader>>;
    /**
     * PatchPortfolioDetails: Patch portfolio details
     * Create or update certain details for a particular transaction portfolio.  The behaviour is defined by the JSON Patch specification.                Note that not all elements of a transaction portfolio definition are  modifiable once it has been created due to the potential implications for data already stored.  Currently supported properties are: SubHoldingKeys, BaseCurrency, AmortisationMethod
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    patchPortfolioDetails(requestParameters?: PatchPortfolioDetailsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<PortfolioDetails>;
    patchPortfolioDetails(requestParameters?: PatchPortfolioDetailsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<PortfolioDetails>>;
    patchPortfolioDetails(requestParameters?: PatchPortfolioDetailsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<PortfolioDetails>>;
    /**
     * PreviewTransaction: Preview a transaction
     * Returns the output-transaction(s) - e.g. as returned by BuildTransactions  that would come out of LUSID if the provided TransactionRequest was booked.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    previewTransaction(requestParameters?: PreviewTransactionRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<ResourceListOfOutputTransaction>;
    previewTransaction(requestParameters?: PreviewTransactionRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<ResourceListOfOutputTransaction>>;
    previewTransaction(requestParameters?: PreviewTransactionRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<ResourceListOfOutputTransaction>>;
    /**
     * ResolveInstrument: Resolve instrument
     * Try to resolve the instrument for transaction and holdings for a given instrument identifier and a specified  period of time. Also update the instrument identifiers with the given instrument identifiers collection.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    resolveInstrument(requestParameters?: ResolveInstrumentRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<UpsertPortfolioTransactionsResponse>;
    resolveInstrument(requestParameters?: ResolveInstrumentRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<UpsertPortfolioTransactionsResponse>>;
    resolveInstrument(requestParameters?: ResolveInstrumentRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<UpsertPortfolioTransactionsResponse>>;
    /**
     * SetHoldings: Set holdings
     * Set the holdings of the specified transaction portfolio to the provided targets. LUSID will automatically  construct adjustment transactions to ensure that the entire set of holdings for the transaction portfolio  are always set to the provided targets for the specified effective datetime. Read more about the difference between  adjusting and setting holdings here https://support.lusid.com/docs/how-do-i-manually-adjust-or-set-holdings.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    setHoldings(requestParameters?: SetHoldingsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<AdjustHolding>;
    setHoldings(requestParameters?: SetHoldingsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<AdjustHolding>>;
    setHoldings(requestParameters?: SetHoldingsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<AdjustHolding>>;
    /**
     * UpsertCustodianAccounts: Upsert Custodian Accounts
     * Create or update Custodian Accounts in the Transaction Portfolios. A Custodian Account will be updated  if it already exists and created if it does not.  The batch limit per request is 2,000.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    upsertCustodianAccounts(requestParameters?: UpsertCustodianAccountsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<CustodianAccountsUpsertResponse>;
    upsertCustodianAccounts(requestParameters?: UpsertCustodianAccountsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<CustodianAccountsUpsertResponse>>;
    upsertCustodianAccounts(requestParameters?: UpsertCustodianAccountsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<CustodianAccountsUpsertResponse>>;
    /**
     * UpsertCustodianAccountsProperties: Upsert custodian accounts properties
     * Update or insert one or more properties onto a single custodian account. A property will be updated if it  already exists and inserted if it does not. All properties must be of the domain \&#39;CustodianAccount\&#39;.                Upserting a property that exists for a Transaction Portfolios, with a null value, will delete the instance of the property for that group.                Properties have an &lt;i&gt;effectiveFrom&lt;/i&gt; datetime for which the property is valid, and an &lt;i&gt;effectiveUntil&lt;/i&gt;  datetime until which the property is valid. Not supplying an &lt;i&gt;effectiveUntil&lt;/i&gt; datetime results in the property being  valid indefinitely, or until the next &lt;i&gt;effectiveFrom&lt;/i&gt; datetime of the property.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    upsertCustodianAccountsProperties(requestParameters?: UpsertCustodianAccountsPropertiesRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<CustodianAccountProperties>;
    upsertCustodianAccountsProperties(requestParameters?: UpsertCustodianAccountsPropertiesRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<CustodianAccountProperties>>;
    upsertCustodianAccountsProperties(requestParameters?: UpsertCustodianAccountsPropertiesRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<CustodianAccountProperties>>;
    /**
     * UpsertPortfolioDetails: Upsert portfolio details
     * Create or update certain details for a particular transaction portfolio. The details are updated if they already exist, and inserted if they do not.                Note that not all elements of a transaction portfolio definition are  modifiable once it has been created due to the potential implications for data already stored.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    upsertPortfolioDetails(requestParameters?: UpsertPortfolioDetailsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<PortfolioDetails>;
    upsertPortfolioDetails(requestParameters?: UpsertPortfolioDetailsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<PortfolioDetails>>;
    upsertPortfolioDetails(requestParameters?: UpsertPortfolioDetailsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<PortfolioDetails>>;
    /**
     * UpsertTransactionProperties: Upsert transaction properties
     * Create or update one or more transaction properties for a single transaction in the transaction portfolio.  Each property will be updated if it already exists and created if it does not.  Both transaction and portfolio must exist at the time when properties are created or updated.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    upsertTransactionProperties(requestParameters?: UpsertTransactionPropertiesRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<UpsertTransactionPropertiesResponse>;
    upsertTransactionProperties(requestParameters?: UpsertTransactionPropertiesRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<UpsertTransactionPropertiesResponse>>;
    upsertTransactionProperties(requestParameters?: UpsertTransactionPropertiesRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<UpsertTransactionPropertiesResponse>>;
    /**
     * UpsertTransactions: Upsert transactions
     * Create or update transactions in the transaction portfolio. A transaction will be updated  if it already exists and created if it does not.  The maximum number of transactions that this method can upsert per request is 10,000.
     * @param requestParameters
     * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
     * @param reportProgress flag to report request and response progress.
     */
    upsertTransactions(requestParameters?: UpsertTransactionsRequestParams, observe?: 'body', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<UpsertPortfolioTransactionsResponse>;
    upsertTransactions(requestParameters?: UpsertTransactionsRequestParams, observe?: 'response', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpResponse<UpsertPortfolioTransactionsResponse>>;
    upsertTransactions(requestParameters?: UpsertTransactionsRequestParams, observe?: 'events', reportProgress?: boolean, options?: {
        httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json';
        context?: HttpContext;
        transferCache?: boolean;
    }): Observable<HttpEvent<UpsertPortfolioTransactionsResponse>>;
    static ɵfac: i0.ɵɵFactoryDeclaration<TransactionPortfoliosService, [null, { optional: true; }, { optional: true; }]>;
    static ɵprov: i0.ɵɵInjectableDeclaration<TransactionPortfoliosService>;
}
