@finbourne/lusid 0.11.3831 → 0.11.3850
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/allocationsApi.d.ts +1 -1
- package/lib/api/allocationsApi.js +1 -1
- package/lib/api/apis.d.ts +3 -1
- package/lib/api/apis.js +3 -1
- package/lib/api/applicationMetadataApi.d.ts +1 -1
- package/lib/api/applicationMetadataApi.js +1 -1
- package/lib/api/complexMarketDataApi.d.ts +1 -1
- package/lib/api/complexMarketDataApi.js +1 -1
- package/lib/api/cutLabelDefinitionsApi.d.ts +1 -1
- package/lib/api/cutLabelDefinitionsApi.js +1 -1
- package/lib/api/dataTypesApi.d.ts +1 -1
- package/lib/api/dataTypesApi.js +1 -1
- package/lib/api/derivedTransactionPortfoliosApi.d.ts +1 -1
- package/lib/api/derivedTransactionPortfoliosApi.js +1 -1
- package/lib/api/entitiesApi.d.ts +1 -1
- package/lib/api/entitiesApi.js +1 -1
- package/lib/api/instrumentsApi.d.ts +17 -9
- package/lib/api/instrumentsApi.js +41 -9
- package/lib/api/legalEntitiesApi.d.ts +76 -1
- package/lib/api/legalEntitiesApi.js +426 -10
- package/lib/api/ordersApi.d.ts +1 -1
- package/lib/api/ordersApi.js +1 -1
- package/lib/api/personsApi.d.ts +113 -0
- package/lib/api/personsApi.js +571 -0
- package/lib/api/portfolioGroupsApi.d.ts +72 -1
- package/lib/api/portfolioGroupsApi.js +432 -40
- package/lib/api/portfoliosApi.d.ts +71 -0
- package/lib/api/portfoliosApi.js +432 -40
- package/lib/api/propertyDefinitionsApi.d.ts +1 -1
- package/lib/api/propertyDefinitionsApi.js +1 -1
- package/lib/api/quotesApi.d.ts +1 -1
- package/lib/api/quotesApi.js +1 -1
- package/lib/api/reconciliationsApi.d.ts +1 -1
- package/lib/api/reconciliationsApi.js +1 -1
- package/lib/api/referencePortfolioApi.d.ts +1 -1
- package/lib/api/referencePortfolioApi.js +1 -1
- package/lib/api/scopesApi.d.ts +1 -1
- package/lib/api/scopesApi.js +1 -1
- package/lib/api/searchApi.d.ts +1 -1
- package/lib/api/searchApi.js +1 -1
- package/lib/api/systemConfigurationApi.d.ts +1 -1
- package/lib/api/systemConfigurationApi.js +1 -1
- package/lib/api/transactionPortfoliosApi.d.ts +1 -1
- package/lib/api/transactionPortfoliosApi.js +1 -1
- package/lib/apis.d.ts +2 -0
- package/lib/model/accessControlledAction.d.ts +1 -1
- package/lib/model/accessControlledAction.js +1 -1
- package/lib/model/accessControlledResource.d.ts +1 -1
- package/lib/model/accessControlledResource.js +1 -1
- package/lib/model/accessMetadataValue.d.ts +29 -0
- package/lib/model/accessMetadataValue.js +39 -0
- package/lib/model/actionId.d.ts +1 -1
- package/lib/model/actionId.js +1 -1
- package/lib/model/adjustHolding.d.ts +1 -1
- package/lib/model/adjustHolding.js +1 -1
- package/lib/model/adjustHoldingRequest.d.ts +1 -1
- package/lib/model/adjustHoldingRequest.js +1 -1
- package/lib/model/aggregatedReturn.d.ts +1 -1
- package/lib/model/aggregatedReturn.js +1 -1
- package/lib/model/aggregatedReturnsRequest.d.ts +1 -1
- package/lib/model/aggregatedReturnsRequest.js +1 -1
- package/lib/model/allocation.d.ts +1 -1
- package/lib/model/allocation.js +1 -1
- package/lib/model/allocationRequest.d.ts +1 -1
- package/lib/model/allocationRequest.js +1 -1
- package/lib/model/allocationSetRequest.d.ts +1 -1
- package/lib/model/allocationSetRequest.js +1 -1
- package/lib/model/annulQuotesResponse.d.ts +1 -1
- package/lib/model/annulQuotesResponse.js +1 -1
- package/lib/model/annulStructuredDataResponse.d.ts +1 -1
- package/lib/model/annulStructuredDataResponse.js +1 -1
- package/lib/model/change.d.ts +1 -1
- package/lib/model/change.js +1 -1
- package/lib/model/completePortfolio.d.ts +1 -1
- package/lib/model/completePortfolio.js +1 -1
- package/lib/model/complexMarketData.d.ts +1 -1
- package/lib/model/complexMarketData.js +1 -1
- package/lib/model/complexMarketDataId.d.ts +1 -1
- package/lib/model/complexMarketDataId.js +1 -1
- package/lib/model/constituentsAdjustmentHeader.d.ts +1 -1
- package/lib/model/constituentsAdjustmentHeader.js +1 -1
- package/lib/model/counterpartyRiskInformation.d.ts +1 -1
- package/lib/model/counterpartyRiskInformation.js +1 -1
- package/lib/model/createCutLabelDefinitionRequest.d.ts +1 -1
- package/lib/model/createCutLabelDefinitionRequest.js +1 -1
- package/lib/model/createDerivedPropertyDefinitionRequest.d.ts +1 -1
- package/lib/model/createDerivedPropertyDefinitionRequest.js +1 -1
- package/lib/model/createDerivedTransactionPortfolioRequest.d.ts +21 -2
- package/lib/model/createDerivedTransactionPortfolioRequest.js +6 -1
- package/lib/model/createPortfolioDetails.d.ts +1 -1
- package/lib/model/createPortfolioDetails.js +1 -1
- package/lib/model/createPortfolioGroupRequest.d.ts +1 -1
- package/lib/model/createPortfolioGroupRequest.js +1 -1
- package/lib/model/createPropertyDefinitionRequest.d.ts +1 -1
- package/lib/model/createPropertyDefinitionRequest.js +1 -1
- package/lib/model/createReferencePortfolioRequest.d.ts +2 -1
- package/lib/model/createReferencePortfolioRequest.js +6 -1
- package/lib/model/createTransactionPortfolioRequest.d.ts +5 -1
- package/lib/model/createTransactionPortfolioRequest.js +6 -1
- package/lib/model/creditRating.d.ts +1 -1
- package/lib/model/creditRating.js +1 -1
- package/lib/model/currencyAndAmount.d.ts +1 -1
- package/lib/model/currencyAndAmount.js +1 -1
- package/lib/model/cutLabelDefinition.d.ts +1 -1
- package/lib/model/cutLabelDefinition.js +1 -1
- package/lib/model/cutLocalTime.d.ts +1 -1
- package/lib/model/cutLocalTime.js +1 -1
- package/lib/model/dataType.d.ts +1 -1
- package/lib/model/dataType.js +1 -1
- package/lib/model/dateRange.d.ts +1 -1
- package/lib/model/dateRange.js +1 -1
- package/lib/model/deleteInstrumentResponse.d.ts +1 -1
- package/lib/model/deleteInstrumentResponse.js +1 -1
- package/lib/model/deletedEntityResponse.d.ts +1 -1
- package/lib/model/deletedEntityResponse.js +1 -1
- package/lib/model/errorDetail.d.ts +1 -1
- package/lib/model/errorDetail.js +1 -1
- package/lib/model/expandedGroup.d.ts +1 -1
- package/lib/model/expandedGroup.js +1 -1
- package/lib/model/fieldDefinition.d.ts +1 -1
- package/lib/model/fieldDefinition.js +1 -1
- package/lib/model/fieldValue.d.ts +1 -1
- package/lib/model/fieldValue.js +1 -1
- package/lib/model/fileResponse.d.ts +1 -1
- package/lib/model/fileResponse.js +1 -1
- package/lib/model/getComplexMarketDataResponse.d.ts +1 -1
- package/lib/model/getComplexMarketDataResponse.js +1 -1
- package/lib/model/getInstrumentsResponse.d.ts +1 -1
- package/lib/model/getInstrumentsResponse.js +1 -1
- package/lib/model/getQuotesResponse.d.ts +1 -1
- package/lib/model/getQuotesResponse.js +1 -1
- package/lib/model/getReferencePortfolioConstituentsResponse.d.ts +1 -1
- package/lib/model/getReferencePortfolioConstituentsResponse.js +1 -1
- package/lib/model/holdingAdjustment.d.ts +5 -1
- package/lib/model/holdingAdjustment.js +6 -1
- package/lib/model/holdingsAdjustment.d.ts +1 -1
- package/lib/model/holdingsAdjustment.js +1 -1
- package/lib/model/holdingsAdjustmentHeader.d.ts +1 -1
- package/lib/model/holdingsAdjustmentHeader.js +1 -1
- package/lib/model/iUnitDefinitionDto.d.ts +1 -1
- package/lib/model/iUnitDefinitionDto.js +1 -1
- package/lib/model/idSelectorDefinition.d.ts +1 -1
- package/lib/model/idSelectorDefinition.js +1 -1
- package/lib/model/identifierPartSchema.d.ts +1 -1
- package/lib/model/identifierPartSchema.js +1 -1
- package/lib/model/industryClassifier.d.ts +1 -1
- package/lib/model/industryClassifier.js +1 -1
- package/lib/model/instrument.d.ts +5 -1
- package/lib/model/instrument.js +6 -1
- package/lib/model/instrumentDefinition.d.ts +1 -1
- package/lib/model/instrumentDefinition.js +1 -1
- package/lib/model/instrumentIdTypeDescriptor.d.ts +1 -1
- package/lib/model/instrumentIdTypeDescriptor.js +1 -1
- package/lib/model/instrumentIdValue.d.ts +1 -1
- package/lib/model/instrumentIdValue.js +1 -1
- package/lib/model/labelValueSet.d.ts +1 -1
- package/lib/model/labelValueSet.js +1 -1
- package/lib/model/legalEntity.d.ts +1 -1
- package/lib/model/legalEntity.js +1 -1
- package/lib/model/link.d.ts +1 -1
- package/lib/model/link.js +1 -1
- package/lib/model/lusidInstrument.d.ts +1 -1
- package/lib/model/lusidInstrument.js +1 -1
- package/lib/model/lusidProblemDetails.d.ts +1 -1
- package/lib/model/lusidProblemDetails.js +1 -1
- package/lib/model/lusidValidationProblemDetails.d.ts +1 -1
- package/lib/model/lusidValidationProblemDetails.js +1 -1
- package/lib/model/metricValue.d.ts +1 -1
- package/lib/model/metricValue.js +1 -1
- package/lib/model/models.d.ts +6 -0
- package/lib/model/models.js +18 -0
- package/lib/model/order.d.ts +1 -1
- package/lib/model/order.js +1 -1
- package/lib/model/orderRequest.d.ts +1 -1
- package/lib/model/orderRequest.js +1 -1
- package/lib/model/orderSetRequest.d.ts +1 -1
- package/lib/model/orderSetRequest.js +1 -1
- package/lib/model/otcConfirmation.d.ts +1 -1
- package/lib/model/otcConfirmation.js +1 -1
- package/lib/model/outputTransaction.d.ts +5 -1
- package/lib/model/outputTransaction.js +6 -1
- package/lib/model/pagedResourceListOfAllocation.d.ts +1 -1
- package/lib/model/pagedResourceListOfAllocation.js +1 -1
- package/lib/model/pagedResourceListOfCutLabelDefinition.d.ts +1 -1
- package/lib/model/pagedResourceListOfCutLabelDefinition.js +1 -1
- package/lib/model/pagedResourceListOfInstrument.d.ts +1 -1
- package/lib/model/pagedResourceListOfInstrument.js +1 -1
- package/lib/model/pagedResourceListOfLegalEntity.d.ts +1 -1
- package/lib/model/pagedResourceListOfLegalEntity.js +1 -1
- package/lib/model/pagedResourceListOfOrder.d.ts +1 -1
- package/lib/model/pagedResourceListOfOrder.js +1 -1
- package/lib/model/pagedResourceListOfPortfolioGroupSearchResult.d.ts +1 -1
- package/lib/model/pagedResourceListOfPortfolioGroupSearchResult.js +1 -1
- package/lib/model/pagedResourceListOfPortfolioSearchResult.d.ts +1 -1
- package/lib/model/pagedResourceListOfPortfolioSearchResult.js +1 -1
- package/lib/model/pagedResourceListOfPropertyDefinitionSearchResult.d.ts +1 -1
- package/lib/model/pagedResourceListOfPropertyDefinitionSearchResult.js +1 -1
- package/lib/model/performanceReturn.d.ts +1 -1
- package/lib/model/performanceReturn.js +1 -1
- package/lib/model/performanceReturnsMetric.d.ts +1 -1
- package/lib/model/performanceReturnsMetric.js +1 -1
- package/lib/model/perpetualProperty.d.ts +1 -1
- package/lib/model/perpetualProperty.js +1 -1
- package/lib/model/portfolio.d.ts +5 -1
- package/lib/model/portfolio.js +6 -1
- package/lib/model/portfolioCashFlow.d.ts +1 -1
- package/lib/model/portfolioCashFlow.js +1 -1
- package/lib/model/portfolioDetails.d.ts +5 -1
- package/lib/model/portfolioDetails.js +6 -1
- package/lib/model/portfolioGroup.d.ts +1 -1
- package/lib/model/portfolioGroup.js +1 -1
- package/lib/model/portfolioGroupProperties.d.ts +1 -1
- package/lib/model/portfolioGroupProperties.js +1 -1
- package/lib/model/portfolioGroupSearchResult.d.ts +1 -1
- package/lib/model/portfolioGroupSearchResult.js +1 -1
- package/lib/model/portfolioHolding.d.ts +5 -1
- package/lib/model/portfolioHolding.js +6 -1
- package/lib/model/portfolioProperties.d.ts +1 -1
- package/lib/model/portfolioProperties.js +1 -1
- package/lib/model/portfolioReconciliationRequest.d.ts +1 -1
- package/lib/model/portfolioReconciliationRequest.js +1 -1
- package/lib/model/portfolioSearchResult.d.ts +1 -1
- package/lib/model/portfolioSearchResult.js +1 -1
- package/lib/model/portfoliosReconciliationRequest.d.ts +1 -1
- package/lib/model/portfoliosReconciliationRequest.js +1 -1
- package/lib/model/processedCommand.d.ts +1 -1
- package/lib/model/processedCommand.js +1 -1
- package/lib/model/property.d.ts +1 -1
- package/lib/model/property.js +1 -1
- package/lib/model/propertyDefinition.d.ts +1 -1
- package/lib/model/propertyDefinition.js +1 -1
- package/lib/model/propertyDefinitionSearchResult.d.ts +1 -1
- package/lib/model/propertyDefinitionSearchResult.js +1 -1
- package/lib/model/propertyInterval.d.ts +1 -1
- package/lib/model/propertyInterval.js +1 -1
- package/lib/model/propertyValue.d.ts +1 -1
- package/lib/model/propertyValue.js +1 -1
- package/lib/model/quote.d.ts +1 -1
- package/lib/model/quote.js +1 -1
- package/lib/model/quoteId.d.ts +1 -1
- package/lib/model/quoteId.js +1 -1
- package/lib/model/quoteSeriesId.d.ts +1 -1
- package/lib/model/quoteSeriesId.js +1 -1
- package/lib/model/realisedGainLoss.d.ts +1 -1
- package/lib/model/realisedGainLoss.js +1 -1
- package/lib/model/reconciliationBreak.d.ts +1 -1
- package/lib/model/reconciliationBreak.js +1 -1
- package/lib/model/referenceData.d.ts +1 -1
- package/lib/model/referenceData.js +1 -1
- package/lib/model/referencePortfolioConstituent.d.ts +2 -1
- package/lib/model/referencePortfolioConstituent.js +6 -1
- package/lib/model/referencePortfolioConstituentRequest.d.ts +1 -1
- package/lib/model/referencePortfolioConstituentRequest.js +1 -1
- package/lib/model/resourceId.d.ts +1 -1
- package/lib/model/resourceId.js +1 -1
- package/lib/model/resourceListOfAccessControlledResource.d.ts +1 -1
- package/lib/model/resourceListOfAccessControlledResource.js +1 -1
- package/lib/model/resourceListOfAccessMetadataValueOf.d.ts +49 -0
- package/lib/model/resourceListOfAccessMetadataValueOf.js +54 -0
- package/lib/model/resourceListOfAggregatedReturn.d.ts +1 -1
- package/lib/model/resourceListOfAggregatedReturn.js +1 -1
- package/lib/model/resourceListOfAllocation.d.ts +1 -1
- package/lib/model/resourceListOfAllocation.js +1 -1
- package/lib/model/resourceListOfChange.d.ts +1 -1
- package/lib/model/resourceListOfChange.js +1 -1
- package/lib/model/resourceListOfConstituentsAdjustmentHeader.d.ts +1 -1
- package/lib/model/resourceListOfConstituentsAdjustmentHeader.js +1 -1
- package/lib/model/resourceListOfDataType.d.ts +1 -1
- package/lib/model/resourceListOfDataType.js +1 -1
- package/lib/model/resourceListOfHoldingsAdjustmentHeader.d.ts +1 -1
- package/lib/model/resourceListOfHoldingsAdjustmentHeader.js +1 -1
- package/lib/model/resourceListOfIUnitDefinitionDto.d.ts +1 -1
- package/lib/model/resourceListOfIUnitDefinitionDto.js +1 -1
- package/lib/model/resourceListOfInstrumentIdTypeDescriptor.d.ts +1 -1
- package/lib/model/resourceListOfInstrumentIdTypeDescriptor.js +1 -1
- package/lib/model/resourceListOfOrder.d.ts +1 -1
- package/lib/model/resourceListOfOrder.js +1 -1
- package/lib/model/resourceListOfPerformanceReturn.d.ts +1 -1
- package/lib/model/resourceListOfPerformanceReturn.js +1 -1
- package/lib/model/resourceListOfPortfolio.d.ts +1 -1
- package/lib/model/resourceListOfPortfolio.js +1 -1
- package/lib/model/resourceListOfPortfolioCashFlow.d.ts +1 -1
- package/lib/model/resourceListOfPortfolioCashFlow.js +1 -1
- package/lib/model/resourceListOfPortfolioGroup.d.ts +1 -1
- package/lib/model/resourceListOfPortfolioGroup.js +1 -1
- package/lib/model/resourceListOfProcessedCommand.d.ts +1 -1
- package/lib/model/resourceListOfProcessedCommand.js +1 -1
- package/lib/model/resourceListOfPropertyDefinition.d.ts +1 -1
- package/lib/model/resourceListOfPropertyDefinition.js +1 -1
- package/lib/model/resourceListOfPropertyInterval.d.ts +1 -1
- package/lib/model/resourceListOfPropertyInterval.js +1 -1
- package/lib/model/resourceListOfQuote.d.ts +1 -1
- package/lib/model/resourceListOfQuote.js +1 -1
- package/lib/model/resourceListOfReconciliationBreak.d.ts +1 -1
- package/lib/model/resourceListOfReconciliationBreak.js +1 -1
- package/lib/model/resourceListOfScopeDefinition.d.ts +1 -1
- package/lib/model/resourceListOfScopeDefinition.js +1 -1
- package/lib/model/scopeDefinition.d.ts +1 -1
- package/lib/model/scopeDefinition.js +1 -1
- package/lib/model/sideConfigurationData.d.ts +1 -1
- package/lib/model/sideConfigurationData.js +1 -1
- package/lib/model/stream.d.ts +1 -1
- package/lib/model/stream.js +1 -1
- package/lib/model/targetTaxLot.d.ts +1 -1
- package/lib/model/targetTaxLot.js +1 -1
- package/lib/model/targetTaxLotRequest.d.ts +1 -1
- package/lib/model/targetTaxLotRequest.js +1 -1
- package/lib/model/transaction.d.ts +5 -1
- package/lib/model/transaction.js +6 -1
- package/lib/model/transactionConfigurationData.d.ts +1 -1
- package/lib/model/transactionConfigurationData.js +1 -1
- package/lib/model/transactionConfigurationDataRequest.d.ts +1 -1
- package/lib/model/transactionConfigurationDataRequest.js +1 -1
- package/lib/model/transactionConfigurationMovementData.d.ts +1 -1
- package/lib/model/transactionConfigurationMovementData.js +1 -1
- package/lib/model/transactionConfigurationMovementDataRequest.d.ts +1 -1
- package/lib/model/transactionConfigurationMovementDataRequest.js +1 -1
- package/lib/model/transactionConfigurationTypeAlias.d.ts +1 -1
- package/lib/model/transactionConfigurationTypeAlias.js +1 -1
- package/lib/model/transactionPrice.d.ts +1 -1
- package/lib/model/transactionPrice.js +1 -1
- package/lib/model/transactionPropertyMapping.d.ts +1 -1
- package/lib/model/transactionPropertyMapping.js +1 -1
- package/lib/model/transactionPropertyMappingRequest.d.ts +1 -1
- package/lib/model/transactionPropertyMappingRequest.js +1 -1
- package/lib/model/transactionQueryParameters.d.ts +1 -1
- package/lib/model/transactionQueryParameters.js +1 -1
- package/lib/model/transactionRequest.d.ts +1 -1
- package/lib/model/transactionRequest.js +1 -1
- package/lib/model/transactionSetConfigurationData.d.ts +1 -1
- package/lib/model/transactionSetConfigurationData.js +1 -1
- package/lib/model/updateCutLabelDefinitionRequest.d.ts +1 -1
- package/lib/model/updateCutLabelDefinitionRequest.js +1 -1
- package/lib/model/updateInstrumentIdentifierRequest.d.ts +1 -1
- package/lib/model/updateInstrumentIdentifierRequest.js +1 -1
- package/lib/model/updatePortfolioGroupRequest.d.ts +1 -1
- package/lib/model/updatePortfolioGroupRequest.js +1 -1
- package/lib/model/updatePortfolioRequest.d.ts +1 -1
- package/lib/model/updatePortfolioRequest.js +1 -1
- package/lib/model/updatePropertyDefinitionRequest.d.ts +1 -1
- package/lib/model/updatePropertyDefinitionRequest.js +1 -1
- package/lib/model/upsertComplexMarketDataRequest.d.ts +1 -1
- package/lib/model/upsertComplexMarketDataRequest.js +1 -1
- package/lib/model/upsertInstrumentPropertiesResponse.d.ts +1 -1
- package/lib/model/upsertInstrumentPropertiesResponse.js +1 -1
- package/lib/model/upsertInstrumentPropertyRequest.d.ts +1 -1
- package/lib/model/upsertInstrumentPropertyRequest.js +1 -1
- package/lib/model/upsertInstrumentsResponse.d.ts +1 -1
- package/lib/model/upsertInstrumentsResponse.js +1 -1
- package/lib/model/upsertLegalEntityAccessMetadataRequest.d.ts +29 -0
- package/lib/model/upsertLegalEntityAccessMetadataRequest.js +31 -0
- package/lib/model/upsertLegalEntityRequest.d.ts +1 -1
- package/lib/model/upsertLegalEntityRequest.js +1 -1
- package/lib/model/upsertPersonAccessMetadataRequest.d.ts +29 -0
- package/lib/model/upsertPersonAccessMetadataRequest.js +31 -0
- package/lib/model/upsertPortfolioAccessMetadataRequest.d.ts +29 -0
- package/lib/model/upsertPortfolioAccessMetadataRequest.js +31 -0
- package/lib/model/upsertPortfolioGroupAccessMetadataRequest.d.ts +29 -0
- package/lib/model/upsertPortfolioGroupAccessMetadataRequest.js +31 -0
- package/lib/model/upsertPortfolioTransactionsResponse.d.ts +1 -1
- package/lib/model/upsertPortfolioTransactionsResponse.js +1 -1
- package/lib/model/upsertQuoteRequest.d.ts +1 -1
- package/lib/model/upsertQuoteRequest.js +1 -1
- package/lib/model/upsertQuotesResponse.d.ts +1 -1
- package/lib/model/upsertQuotesResponse.js +1 -1
- package/lib/model/upsertReferencePortfolioConstituentsRequest.d.ts +1 -1
- package/lib/model/upsertReferencePortfolioConstituentsRequest.js +1 -1
- package/lib/model/upsertReferencePortfolioConstituentsResponse.d.ts +1 -1
- package/lib/model/upsertReferencePortfolioConstituentsResponse.js +1 -1
- package/lib/model/upsertReturnsResponse.d.ts +1 -1
- package/lib/model/upsertReturnsResponse.js +1 -1
- package/lib/model/upsertStructuredDataResponse.d.ts +1 -1
- package/lib/model/upsertStructuredDataResponse.js +1 -1
- package/lib/model/upsertTransactionPropertiesResponse.d.ts +1 -1
- package/lib/model/upsertTransactionPropertiesResponse.js +1 -1
- package/lib/model/user.d.ts +1 -1
- package/lib/model/user.js +1 -1
- package/lib/model/version.d.ts +1 -1
- package/lib/model/version.js +1 -1
- package/lib/model/versionSummaryDto.d.ts +1 -1
- package/lib/model/versionSummaryDto.js +1 -1
- package/lib/model/versionedResourceListOfOutputTransaction.d.ts +1 -1
- package/lib/model/versionedResourceListOfOutputTransaction.js +1 -1
- package/lib/model/versionedResourceListOfPortfolioHolding.d.ts +1 -1
- package/lib/model/versionedResourceListOfPortfolioHolding.js +1 -1
- package/lib/model/versionedResourceListOfTransaction.d.ts +1 -1
- package/lib/model/versionedResourceListOfTransaction.js +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* LUSID API
|
|
4
4
|
* # Introduction This page documents the [LUSID APIs](https://www.lusid.com/api/swagger), which allows authorised clients to query and update their data within the LUSID platform. SDKs to interact with the LUSID APIs are available in the following languages and frameworks: * [C#](https://github.com/finbourne/lusid-sdk-csharp) * [Java](https://github.com/finbourne/lusid-sdk-java) * [JavaScript](https://github.com/finbourne/lusid-sdk-js) * [Python](https://github.com/finbourne/lusid-sdk-python) * [Angular](https://github.com/finbourne/lusid-sdk-angular) The LUSID platform is made up of a number of sub-applications. You can find the API / swagger documentation by following the links in the table below. | Application | Description | API / Swagger Documentation | | ----- | ----- | ---- | | LUSID | Open, API-first, developer-friendly investment data platform. | [Swagger](https://www.lusid.com/api/swagger/index.html) | | Web app | User-facing front end for LUSID. | [Swagger](https://www.lusid.com/app/swagger/index.html) | | Scheduler | Automated job scheduler. | [Swagger](https://www.lusid.com/scheduler2/swagger/index.html) | | Insights |Monitoring and troubleshooting service. | [Swagger](https://www.lusid.com/insights/swagger/index.html) | | Identity | Identity management for LUSID (in conjuction with Access) | [Swagger](https://www.lusid.com/identity/swagger/index.html) | | Access | Access control for LUSID (in conjunction with Identity) | [Swagger](https://www.lusid.com/access/swagger/index.html) | | Drive | Secure file repository and manager for collaboration. | [Swagger](https://www.lusid.com/drive/swagger/index.html) | | Luminesce | Data virtualisation service (query data from multiple providers, including LUSID) | [Swagger](https://www.lusid.com/honeycomb/swagger/index.html) | | Notification | Notification service. | [Swagger](https://www.lusid.com/notifications/swagger/index.html) | | Configuration | File store for secrets and other sensitive information. | [Swagger](https://www.lusid.com/configuration/swagger/index.html) | # Error Codes | Code|Name|Description | | ---|---|--- | | <a name=\"-10\">-10</a>|Server Configuration Error| | | <a name=\"-1\">-1</a>|Unknown error|An unexpected error was encountered on our side. | | <a name=\"102\">102</a>|Version Not Found| | | <a name=\"103\">103</a>|Api Rate Limit Violation| | | <a name=\"104\">104</a>|Instrument Not Found| | | <a name=\"105\">105</a>|Property Not Found| | | <a name=\"106\">106</a>|Portfolio Recursion Depth| | | <a name=\"108\">108</a>|Group Not Found| | | <a name=\"109\">109</a>|Portfolio Not Found| | | <a name=\"110\">110</a>|Property Schema Not Found| | | <a name=\"111\">111</a>|Portfolio Ancestry Not Found| | | <a name=\"112\">112</a>|Portfolio With Id Already Exists| | | <a name=\"113\">113</a>|Orphaned Portfolio| | | <a name=\"119\">119</a>|Missing Base Claims| | | <a name=\"121\">121</a>|Property Not Defined| | | <a name=\"122\">122</a>|Cannot Delete System Property| | | <a name=\"123\">123</a>|Cannot Modify Immutable Property Field| | | <a name=\"124\">124</a>|Property Already Exists| | | <a name=\"125\">125</a>|Invalid Property Life Time| | | <a name=\"126\">126</a>|Property Constraint Style Excludes Properties| | | <a name=\"127\">127</a>|Cannot Modify Default Data Type| | | <a name=\"128\">128</a>|Group Already Exists| | | <a name=\"129\">129</a>|No Such Data Type| | | <a name=\"130\">130</a>|Undefined Value For Data Type| | | <a name=\"131\">131</a>|Unsupported Value Type Defined On Data Type| | | <a name=\"132\">132</a>|Validation Error| | | <a name=\"133\">133</a>|Loop Detected In Group Hierarchy| | | <a name=\"134\">134</a>|Undefined Acceptable Values| | | <a name=\"135\">135</a>|Sub Group Already Exists| | | <a name=\"138\">138</a>|Price Source Not Found| | | <a name=\"139\">139</a>|Analytic Store Not Found| | | <a name=\"141\">141</a>|Analytic Store Already Exists| | | <a name=\"143\">143</a>|Client Instrument Already Exists| | | <a name=\"144\">144</a>|Duplicate In Parameter Set| | | <a name=\"147\">147</a>|Results Not Found| | | <a name=\"148\">148</a>|Order Field Not In Result Set| | | <a name=\"149\">149</a>|Operation Failed| | | <a name=\"150\">150</a>|Elastic Search Error| | | <a name=\"151\">151</a>|Invalid Parameter Value| | | <a name=\"153\">153</a>|Command Processing Failure| | | <a name=\"154\">154</a>|Entity State Construction Failure| | | <a name=\"155\">155</a>|Entity Timeline Does Not Exist| | | <a name=\"156\">156</a>|Concurrency Conflict Failure| | | <a name=\"157\">157</a>|Invalid Request| | | <a name=\"158\">158</a>|Event Publish Unknown| | | <a name=\"159\">159</a>|Event Query Failure| | | <a name=\"160\">160</a>|Blob Did Not Exist| | | <a name=\"162\">162</a>|Sub System Request Failure| | | <a name=\"163\">163</a>|Sub System Configuration Failure| | | <a name=\"165\">165</a>|Failed To Delete| | | <a name=\"166\">166</a>|Upsert Client Instrument Failure| | | <a name=\"167\">167</a>|Illegal As At Interval| | | <a name=\"168\">168</a>|Illegal Bitemporal Query| | | <a name=\"169\">169</a>|Invalid Alternate Id| | | <a name=\"170\">170</a>|Cannot Add Source Portfolio Property Explicitly| | | <a name=\"171\">171</a>|Entity Already Exists In Group| | | <a name=\"173\">173</a>|Entity With Id Already Exists| | | <a name=\"174\">174</a>|Derived Portfolio Details Do Not Exist| | | <a name=\"176\">176</a>|Portfolio With Name Already Exists| | | <a name=\"177\">177</a>|Invalid Transactions| | | <a name=\"178\">178</a>|Reference Portfolio Not Found| | | <a name=\"179\">179</a>|Duplicate Id| | | <a name=\"180\">180</a>|Command Retrieval Failure| | | <a name=\"181\">181</a>|Data Filter Application Failure| | | <a name=\"182\">182</a>|Search Failed| | | <a name=\"183\">183</a>|Movements Engine Configuration Key Failure| | | <a name=\"184\">184</a>|Fx Rate Source Not Found| | | <a name=\"185\">185</a>|Accrual Source Not Found| | | <a name=\"186\">186</a>|Access Denied| | | <a name=\"187\">187</a>|Invalid Identity Token| | | <a name=\"188\">188</a>|Invalid Request Headers| | | <a name=\"189\">189</a>|Price Not Found| | | <a name=\"190\">190</a>|Invalid Sub Holding Keys Provided| | | <a name=\"191\">191</a>|Duplicate Sub Holding Keys Provided| | | <a name=\"192\">192</a>|Cut Definition Not Found| | | <a name=\"193\">193</a>|Cut Definition Invalid| | | <a name=\"194\">194</a>|Time Variant Property Deletion Date Unspecified| | | <a name=\"195\">195</a>|Perpetual Property Deletion Date Specified| | | <a name=\"196\">196</a>|Time Variant Property Upsert Date Unspecified| | | <a name=\"197\">197</a>|Perpetual Property Upsert Date Specified| | | <a name=\"200\">200</a>|Invalid Unit For Data Type| | | <a name=\"201\">201</a>|Invalid Type For Data Type| | | <a name=\"202\">202</a>|Invalid Value For Data Type| | | <a name=\"203\">203</a>|Unit Not Defined For Data Type| | | <a name=\"204\">204</a>|Units Not Supported On Data Type| | | <a name=\"205\">205</a>|Cannot Specify Units On Data Type| | | <a name=\"206\">206</a>|Unit Schema Inconsistent With Data Type| | | <a name=\"207\">207</a>|Unit Definition Not Specified| | | <a name=\"208\">208</a>|Duplicate Unit Definitions Specified| | | <a name=\"209\">209</a>|Invalid Units Definition| | | <a name=\"210\">210</a>|Invalid Instrument Identifier Unit| | | <a name=\"211\">211</a>|Holdings Adjustment Does Not Exist| | | <a name=\"212\">212</a>|Could Not Build Excel Url| | | <a name=\"213\">213</a>|Could Not Get Excel Version| | | <a name=\"214\">214</a>|Instrument By Code Not Found| | | <a name=\"215\">215</a>|Entity Schema Does Not Exist| | | <a name=\"216\">216</a>|Feature Not Supported On Portfolio Type| | | <a name=\"217\">217</a>|Quote Not Found| | | <a name=\"218\">218</a>|Invalid Quote Identifier| | | <a name=\"219\">219</a>|Invalid Metric For Data Type| | | <a name=\"220\">220</a>|Invalid Instrument Definition| | | <a name=\"221\">221</a>|Instrument Upsert Failure| | | <a name=\"222\">222</a>|Reference Portfolio Request Not Supported| | | <a name=\"223\">223</a>|Transaction Portfolio Request Not Supported| | | <a name=\"224\">224</a>|Invalid Property Value Assignment| | | <a name=\"230\">230</a>|Transaction Type Not Found| | | <a name=\"231\">231</a>|Transaction Type Duplication| | | <a name=\"232\">232</a>|Portfolio Does Not Exist At Given Date| | | <a name=\"233\">233</a>|Query Parser Failure| | | <a name=\"234\">234</a>|Duplicate Constituent| | | <a name=\"235\">235</a>|Unresolved Instrument Constituent| | | <a name=\"236\">236</a>|Unresolved Instrument In Transition| | | <a name=\"237\">237</a>|Missing Side Definitions| | | <a name=\"299\">299</a>|Invalid Recipe| | | <a name=\"300\">300</a>|Missing Recipe| | | <a name=\"301\">301</a>|Dependencies| | | <a name=\"304\">304</a>|Portfolio Preprocess Failure| | | <a name=\"310\">310</a>|Valuation Engine Failure| | | <a name=\"311\">311</a>|Task Factory Failure| | | <a name=\"312\">312</a>|Task Evaluation Failure| | | <a name=\"313\">313</a>|Task Generation Failure| | | <a name=\"314\">314</a>|Engine Configuration Failure| | | <a name=\"315\">315</a>|Model Specification Failure| | | <a name=\"320\">320</a>|Market Data Key Failure| | | <a name=\"321\">321</a>|Market Resolver Failure| | | <a name=\"322\">322</a>|Market Data Failure| | | <a name=\"330\">330</a>|Curve Failure| | | <a name=\"331\">331</a>|Volatility Surface Failure| | | <a name=\"332\">332</a>|Volatility Cube Failure| | | <a name=\"350\">350</a>|Instrument Failure| | | <a name=\"351\">351</a>|Cash Flows Failure| | | <a name=\"352\">352</a>|Reference Data Failure| | | <a name=\"360\">360</a>|Aggregation Failure| | | <a name=\"361\">361</a>|Aggregation Measure Failure| | | <a name=\"370\">370</a>|Result Retrieval Failure| | | <a name=\"371\">371</a>|Result Processing Failure| | | <a name=\"372\">372</a>|Vendor Result Processing Failure| | | <a name=\"373\">373</a>|Vendor Result Mapping Failure| | | <a name=\"374\">374</a>|Vendor Library Unauthorised| | | <a name=\"375\">375</a>|Vendor Connectivity Error| | | <a name=\"376\">376</a>|Vendor Interface Error| | | <a name=\"377\">377</a>|Vendor Pricing Failure| | | <a name=\"378\">378</a>|Vendor Translation Failure| | | <a name=\"379\">379</a>|Vendor Key Mapping Failure| | | <a name=\"380\">380</a>|Vendor Reflection Failure| | | <a name=\"381\">381</a>|Vendor Process Failure| | | <a name=\"382\">382</a>|Vendor System Failure| | | <a name=\"390\">390</a>|Attempt To Upsert Duplicate Quotes| | | <a name=\"391\">391</a>|Corporate Action Source Does Not Exist| | | <a name=\"392\">392</a>|Corporate Action Source Already Exists| | | <a name=\"393\">393</a>|Instrument Identifier Already In Use| | | <a name=\"394\">394</a>|Properties Not Found| | | <a name=\"395\">395</a>|Batch Operation Aborted| | | <a name=\"400\">400</a>|Invalid Iso4217 Currency Code| | | <a name=\"401\">401</a>|Cannot Assign Instrument Identifier To Currency| | | <a name=\"402\">402</a>|Cannot Assign Currency Identifier To Non Currency| | | <a name=\"403\">403</a>|Currency Instrument Cannot Be Deleted| | | <a name=\"404\">404</a>|Currency Instrument Cannot Have Economic Definition| | | <a name=\"405\">405</a>|Currency Instrument Cannot Have Lookthrough Portfolio| | | <a name=\"406\">406</a>|Cannot Create Currency Instrument With Multiple Identifiers| | | <a name=\"407\">407</a>|Specified Currency Is Undefined| | | <a name=\"410\">410</a>|Index Does Not Exist| | | <a name=\"411\">411</a>|Sort Field Does Not Exist| | | <a name=\"413\">413</a>|Negative Pagination Parameters| | | <a name=\"414\">414</a>|Invalid Search Syntax| | | <a name=\"415\">415</a>|Filter Execution Timeout| | | <a name=\"420\">420</a>|Side Definition Inconsistent| | | <a name=\"450\">450</a>|Invalid Quote Access Metadata Rule| | | <a name=\"451\">451</a>|Access Metadata Not Found| | | <a name=\"452\">452</a>|Invalid Access Metadata Identifier| | | <a name=\"460\">460</a>|Standard Resource Not Found| | | <a name=\"461\">461</a>|Standard Resource Conflict| | | <a name=\"462\">462</a>|Calendar Not Found| | | <a name=\"463\">463</a>|Date In A Calendar Not Found| | | <a name=\"464\">464</a>|Invalid Date Source Data| | | <a name=\"465\">465</a>|Invalid Timezone| | | <a name=\"601\">601</a>|Person Identifier Already In Use| | | <a name=\"602\">602</a>|Person Not Found| | | <a name=\"603\">603</a>|Cannot Set Identifier| | | <a name=\"617\">617</a>|Invalid Recipe Specification In Request| | | <a name=\"618\">618</a>|Inline Recipe Deserialisation Failure| | | <a name=\"619\">619</a>|Identifier Types Not Set For Entity| | | <a name=\"620\">620</a>|Cannot Delete All Client Defined Identifiers| | | <a name=\"650\">650</a>|The Order requested was not found.| | | <a name=\"654\">654</a>|The Allocation requested was not found.| | | <a name=\"655\">655</a>|Cannot build the fx forward target with the given holdings.| | | <a name=\"656\">656</a>|Group does not contain expected entities.| | | <a name=\"665\">665</a>|Destination directory not found| | | <a name=\"667\">667</a>|Relation definition already exists| | | <a name=\"672\">672</a>|Could not retrieve file contents| | | <a name=\"673\">673</a>|Missing entitlements for entities in Group| | | <a name=\"674\">674</a>|Next Best Action not found| | | <a name=\"676\">676</a>|Relation definition not defined| | | <a name=\"677\">677</a>|Invalid entity identifier for relation| | | <a name=\"681\">681</a>|Sorting by specified field not supported|One or more of the provided fields to order by were either invalid or not supported. | | <a name=\"682\">682</a>|Too many fields to sort by|The number of fields to sort the data by exceeds the number allowed by the endpoint | | <a name=\"684\">684</a>|Sequence Not Found| | | <a name=\"685\">685</a>|Sequence Already Exists| | | <a name=\"686\">686</a>|Non-cycling sequence has been exhausted| | | <a name=\"687\">687</a>|Legal Entity Identifier Already In Use| | | <a name=\"688\">688</a>|Legal Entity Not Found| | | <a name=\"689\">689</a>|The supplied pagination token is invalid| | | <a name=\"690\">690</a>|Property Type Is Not Supported| | | <a name=\"691\">691</a>|Multiple Tax-lots For Currency Type Is Not Supported| | | <a name=\"692\">692</a>|This endpoint does not support impersonation| | | <a name=\"693\">693</a>|Entity type is not supported for Relationship| | | <a name=\"694\">694</a>|Relationship Validation Failure| | | <a name=\"695\">695</a>|Relationship Not Found| | | <a name=\"697\">697</a>|Derived Property Formula No Longer Valid| | | <a name=\"698\">698</a>|Story is not available| | | <a name=\"703\">703</a>|Corporate Action Does Not Exist| | | <a name=\"720\">720</a>|The provided sort and filter combination is not valid| | | <a name=\"721\">721</a>|A2B generation failed| | | <a name=\"722\">722</a>|Aggregated Return Calculation Failure| | | <a name=\"723\">723</a>|Custom Entity Definition Identifier Already In Use| | | <a name=\"724\">724</a>|Custom Entity Definition Not Found| | | <a name=\"725\">725</a>|The Placement requested was not found.| | | <a name=\"726\">726</a>|The Execution requested was not found.| | | <a name=\"727\">727</a>|The Block requested was not found.| | | <a name=\"728\">728</a>|The Participation requested was not found.| | | <a name=\"729\">729</a>|The Package requested was not found.| | | <a name=\"730\">730</a>|The OrderInstruction requested was not found.| | | <a name=\"732\">732</a>|Custom Entity not found.| | | <a name=\"733\">733</a>|Custom Entity Identifier already in use.| | | <a name=\"735\">735</a>|Calculation Failed.| | | <a name=\"736\">736</a>|An expected key on HttpResponse is missing.| | | <a name=\"737\">737</a>|A required fee detail is missing.| | | <a name=\"738\">738</a>|Zero rows were returned from Luminesce| | | <a name=\"739\">739</a>|Provided Weekend Mask was invalid| | | <a name=\"742\">742</a>|Custom Entity fields do not match the definition| | | <a name=\"746\">746</a>|The provided sequence is not valid.| | | <a name=\"751\">751</a>|The type of the Custom Entity is different than the type provided in the definition.| | | <a name=\"752\">752</a>|Luminesce process returned an error.| | | <a name=\"753\">753</a>|File name or content incompatible with operation.| | | <a name=\"755\">755</a>|Schema of response from Drive is not as expected.| | | <a name=\"757\">757</a>|Schema of response from Luminesce is not as expected.| | | <a name=\"758\">758</a>|Luminesce timed out.| |
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 0.11.
|
|
6
|
+
* The version of the OpenAPI document: 0.11.3850
|
|
7
7
|
* Contact: info@finbourne.com
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -624,6 +624,102 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
624
624
|
});
|
|
625
625
|
});
|
|
626
626
|
};
|
|
627
|
+
/**
|
|
628
|
+
* Deletes the Portfolio Group Access Metadata entry that exactly matches the provided identifier parts. It is important to always check to verify success (or failure).
|
|
629
|
+
* @summary [EARLY ACCESS] DeleteKeyFromPortfolioGroupAccessMetadata: Delete a Portfolio Group Access Metadata entry
|
|
630
|
+
* @param scope The scope of the Portfolio Group
|
|
631
|
+
* @param code The Portfolio Group code
|
|
632
|
+
* @param metadataKey Key of the Access Metadata entry to delete
|
|
633
|
+
* @param effectiveAt The effective date to delete at, if this is not supplied, it will delete all data found
|
|
634
|
+
*/
|
|
635
|
+
PortfolioGroupsApi.prototype.deleteKeyFromPortfolioGroupAccessMetadata = function (scope, code, metadataKey, effectiveAt, options) {
|
|
636
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
637
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
638
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_6, _i, _a, interceptor;
|
|
639
|
+
var _this = this;
|
|
640
|
+
return __generator(this, function (_b) {
|
|
641
|
+
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/metadata/{metadataKey}'
|
|
642
|
+
.replace('{' + 'scope' + '}', encodeURIComponent(String(scope)))
|
|
643
|
+
.replace('{' + 'code' + '}', encodeURIComponent(String(code)))
|
|
644
|
+
.replace('{' + 'metadataKey' + '}', encodeURIComponent(String(metadataKey)));
|
|
645
|
+
localVarQueryParameters = {};
|
|
646
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
647
|
+
produces = ['text/plain', 'application/json', 'text/json'];
|
|
648
|
+
// give precedence to 'application/json'
|
|
649
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
650
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
651
|
+
}
|
|
652
|
+
else {
|
|
653
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
654
|
+
}
|
|
655
|
+
localVarFormParams = {};
|
|
656
|
+
// verify required parameter 'scope' is not null or undefined
|
|
657
|
+
if (scope === null || scope === undefined) {
|
|
658
|
+
throw new Error('Required parameter scope was null or undefined when calling deleteKeyFromPortfolioGroupAccessMetadata.');
|
|
659
|
+
}
|
|
660
|
+
// verify required parameter 'code' is not null or undefined
|
|
661
|
+
if (code === null || code === undefined) {
|
|
662
|
+
throw new Error('Required parameter code was null or undefined when calling deleteKeyFromPortfolioGroupAccessMetadata.');
|
|
663
|
+
}
|
|
664
|
+
// verify required parameter 'metadataKey' is not null or undefined
|
|
665
|
+
if (metadataKey === null || metadataKey === undefined) {
|
|
666
|
+
throw new Error('Required parameter metadataKey was null or undefined when calling deleteKeyFromPortfolioGroupAccessMetadata.');
|
|
667
|
+
}
|
|
668
|
+
if (effectiveAt !== undefined) {
|
|
669
|
+
localVarQueryParameters['effectiveAt'] = models_1.ObjectSerializer.serialize(effectiveAt, "string");
|
|
670
|
+
}
|
|
671
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
672
|
+
localVarUseFormData = false;
|
|
673
|
+
localVarRequestOptions = {
|
|
674
|
+
method: 'DELETE',
|
|
675
|
+
qs: localVarQueryParameters,
|
|
676
|
+
headers: localVarHeaderParams,
|
|
677
|
+
uri: localVarPath,
|
|
678
|
+
useQuerystring: this._useQuerystring,
|
|
679
|
+
json: true,
|
|
680
|
+
};
|
|
681
|
+
authenticationPromise = Promise.resolve();
|
|
682
|
+
if (this.authentications.oauth2.accessToken) {
|
|
683
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.oauth2.applyToRequest(localVarRequestOptions); });
|
|
684
|
+
}
|
|
685
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
686
|
+
interceptorPromise = authenticationPromise;
|
|
687
|
+
_loop_6 = function (interceptor) {
|
|
688
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
689
|
+
};
|
|
690
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
691
|
+
interceptor = _a[_i];
|
|
692
|
+
_loop_6(interceptor);
|
|
693
|
+
}
|
|
694
|
+
return [2 /*return*/, interceptorPromise.then(function () {
|
|
695
|
+
if (Object.keys(localVarFormParams).length) {
|
|
696
|
+
if (localVarUseFormData) {
|
|
697
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
698
|
+
}
|
|
699
|
+
else {
|
|
700
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
return new Promise(function (resolve, reject) {
|
|
704
|
+
request_1.default(localVarRequestOptions, function (error, response, body) {
|
|
705
|
+
if (error) {
|
|
706
|
+
reject(error);
|
|
707
|
+
}
|
|
708
|
+
else {
|
|
709
|
+
body = models_1.ObjectSerializer.deserialize(body, "DeletedEntityResponse");
|
|
710
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
711
|
+
resolve({ response: response, body: body });
|
|
712
|
+
}
|
|
713
|
+
else {
|
|
714
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
715
|
+
}
|
|
716
|
+
}
|
|
717
|
+
});
|
|
718
|
+
});
|
|
719
|
+
})];
|
|
720
|
+
});
|
|
721
|
+
});
|
|
722
|
+
};
|
|
627
723
|
/**
|
|
628
724
|
* Remove a single portfolio from a portfolio group.
|
|
629
725
|
* @summary [EARLY ACCESS] DeletePortfolioFromGroup: Delete portfolio from group
|
|
@@ -636,7 +732,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
636
732
|
PortfolioGroupsApi.prototype.deletePortfolioFromGroup = function (scope, code, portfolioScope, portfolioCode, effectiveAt, options) {
|
|
637
733
|
if (options === void 0) { options = { headers: {} }; }
|
|
638
734
|
return __awaiter(this, void 0, void 0, function () {
|
|
639
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
735
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_7, _i, _a, interceptor;
|
|
640
736
|
var _this = this;
|
|
641
737
|
return __generator(this, function (_b) {
|
|
642
738
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/portfolios/{portfolioScope}/{portfolioCode}'
|
|
@@ -690,12 +786,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
690
786
|
}
|
|
691
787
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
692
788
|
interceptorPromise = authenticationPromise;
|
|
693
|
-
|
|
789
|
+
_loop_7 = function (interceptor) {
|
|
694
790
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
695
791
|
};
|
|
696
792
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
697
793
|
interceptor = _a[_i];
|
|
698
|
-
|
|
794
|
+
_loop_7(interceptor);
|
|
699
795
|
}
|
|
700
796
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
701
797
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -735,7 +831,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
735
831
|
PortfolioGroupsApi.prototype.deletePortfolioGroup = function (scope, code, options) {
|
|
736
832
|
if (options === void 0) { options = { headers: {} }; }
|
|
737
833
|
return __awaiter(this, void 0, void 0, function () {
|
|
738
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
834
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_8, _i, _a, interceptor;
|
|
739
835
|
var _this = this;
|
|
740
836
|
return __generator(this, function (_b) {
|
|
741
837
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}'
|
|
@@ -776,12 +872,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
776
872
|
}
|
|
777
873
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
778
874
|
interceptorPromise = authenticationPromise;
|
|
779
|
-
|
|
875
|
+
_loop_8 = function (interceptor) {
|
|
780
876
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
781
877
|
};
|
|
782
878
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
783
879
|
interceptor = _a[_i];
|
|
784
|
-
|
|
880
|
+
_loop_8(interceptor);
|
|
785
881
|
}
|
|
786
882
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
787
883
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -824,7 +920,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
824
920
|
PortfolioGroupsApi.prototype.deleteSubGroupFromGroup = function (scope, code, subgroupScope, subgroupCode, effectiveAt, options) {
|
|
825
921
|
if (options === void 0) { options = { headers: {} }; }
|
|
826
922
|
return __awaiter(this, void 0, void 0, function () {
|
|
827
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
923
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_9, _i, _a, interceptor;
|
|
828
924
|
var _this = this;
|
|
829
925
|
return __generator(this, function (_b) {
|
|
830
926
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/subgroups/{subgroupScope}/{subgroupCode}'
|
|
@@ -878,12 +974,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
878
974
|
}
|
|
879
975
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
880
976
|
interceptorPromise = authenticationPromise;
|
|
881
|
-
|
|
977
|
+
_loop_9 = function (interceptor) {
|
|
882
978
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
883
979
|
};
|
|
884
980
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
885
981
|
interceptor = _a[_i];
|
|
886
|
-
|
|
982
|
+
_loop_9(interceptor);
|
|
887
983
|
}
|
|
888
984
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
889
985
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -925,7 +1021,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
925
1021
|
PortfolioGroupsApi.prototype.getGroupProperties = function (scope, code, effectiveAt, asAt, options) {
|
|
926
1022
|
if (options === void 0) { options = { headers: {} }; }
|
|
927
1023
|
return __awaiter(this, void 0, void 0, function () {
|
|
928
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1024
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_10, _i, _a, interceptor;
|
|
929
1025
|
var _this = this;
|
|
930
1026
|
return __generator(this, function (_b) {
|
|
931
1027
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/properties'
|
|
@@ -972,12 +1068,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
972
1068
|
}
|
|
973
1069
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
974
1070
|
interceptorPromise = authenticationPromise;
|
|
975
|
-
|
|
1071
|
+
_loop_10 = function (interceptor) {
|
|
976
1072
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
977
1073
|
};
|
|
978
1074
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
979
1075
|
interceptor = _a[_i];
|
|
980
|
-
|
|
1076
|
+
_loop_10(interceptor);
|
|
981
1077
|
}
|
|
982
1078
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
983
1079
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1022,7 +1118,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1022
1118
|
PortfolioGroupsApi.prototype.getHoldingsForPortfolioGroup = function (scope, code, effectiveAt, asAt, filter, propertyKeys, byTaxlots, options) {
|
|
1023
1119
|
if (options === void 0) { options = { headers: {} }; }
|
|
1024
1120
|
return __awaiter(this, void 0, void 0, function () {
|
|
1025
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1121
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_11, _i, _a, interceptor;
|
|
1026
1122
|
var _this = this;
|
|
1027
1123
|
return __generator(this, function (_b) {
|
|
1028
1124
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/holdings'
|
|
@@ -1078,12 +1174,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1078
1174
|
}
|
|
1079
1175
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1080
1176
|
interceptorPromise = authenticationPromise;
|
|
1081
|
-
|
|
1177
|
+
_loop_11 = function (interceptor) {
|
|
1082
1178
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1083
1179
|
};
|
|
1084
1180
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1085
1181
|
interceptor = _a[_i];
|
|
1086
|
-
|
|
1182
|
+
_loop_11(interceptor);
|
|
1087
1183
|
}
|
|
1088
1184
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1089
1185
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1125,7 +1221,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1125
1221
|
PortfolioGroupsApi.prototype.getPortfolioGroup = function (scope, code, effectiveAt, asAt, options) {
|
|
1126
1222
|
if (options === void 0) { options = { headers: {} }; }
|
|
1127
1223
|
return __awaiter(this, void 0, void 0, function () {
|
|
1128
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1224
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_12, _i, _a, interceptor;
|
|
1129
1225
|
var _this = this;
|
|
1130
1226
|
return __generator(this, function (_b) {
|
|
1131
1227
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}'
|
|
@@ -1172,12 +1268,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1172
1268
|
}
|
|
1173
1269
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1174
1270
|
interceptorPromise = authenticationPromise;
|
|
1175
|
-
|
|
1271
|
+
_loop_12 = function (interceptor) {
|
|
1176
1272
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1177
1273
|
};
|
|
1178
1274
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1179
1275
|
interceptor = _a[_i];
|
|
1180
|
-
|
|
1276
|
+
_loop_12(interceptor);
|
|
1181
1277
|
}
|
|
1182
1278
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1183
1279
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1208,6 +1304,106 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1208
1304
|
});
|
|
1209
1305
|
});
|
|
1210
1306
|
};
|
|
1307
|
+
/**
|
|
1308
|
+
* Get a specific Portfolio Group access metadata by specifying the corresponding identifier parts No matching will be performed through this endpoint. To retrieve a rule, it is necessary to specify, exactly, the identifier of the rule
|
|
1309
|
+
* @summary [EARLY ACCESS] GetPortfolioGroupAccessMetadataByKey: Get an entry identified by a metadataKey in the Access Metadata of a Portfolio Group
|
|
1310
|
+
* @param scope The scope of the Portfolio Group
|
|
1311
|
+
* @param code The Portfolio Group code
|
|
1312
|
+
* @param metadataKey Key of the metadata entry to retrieve
|
|
1313
|
+
* @param effectiveAt The effectiveAt datetime at which to retrieve the access metadata
|
|
1314
|
+
* @param asAt The asAt datetime at which to retrieve the access metadata
|
|
1315
|
+
*/
|
|
1316
|
+
PortfolioGroupsApi.prototype.getPortfolioGroupAccessMetadataByKey = function (scope, code, metadataKey, effectiveAt, asAt, options) {
|
|
1317
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
1318
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1319
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_13, _i, _a, interceptor;
|
|
1320
|
+
var _this = this;
|
|
1321
|
+
return __generator(this, function (_b) {
|
|
1322
|
+
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/metadata/{metadataKey}'
|
|
1323
|
+
.replace('{' + 'scope' + '}', encodeURIComponent(String(scope)))
|
|
1324
|
+
.replace('{' + 'code' + '}', encodeURIComponent(String(code)))
|
|
1325
|
+
.replace('{' + 'metadataKey' + '}', encodeURIComponent(String(metadataKey)));
|
|
1326
|
+
localVarQueryParameters = {};
|
|
1327
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
1328
|
+
produces = ['text/plain', 'application/json', 'text/json'];
|
|
1329
|
+
// give precedence to 'application/json'
|
|
1330
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1331
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1332
|
+
}
|
|
1333
|
+
else {
|
|
1334
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1335
|
+
}
|
|
1336
|
+
localVarFormParams = {};
|
|
1337
|
+
// verify required parameter 'scope' is not null or undefined
|
|
1338
|
+
if (scope === null || scope === undefined) {
|
|
1339
|
+
throw new Error('Required parameter scope was null or undefined when calling getPortfolioGroupAccessMetadataByKey.');
|
|
1340
|
+
}
|
|
1341
|
+
// verify required parameter 'code' is not null or undefined
|
|
1342
|
+
if (code === null || code === undefined) {
|
|
1343
|
+
throw new Error('Required parameter code was null or undefined when calling getPortfolioGroupAccessMetadataByKey.');
|
|
1344
|
+
}
|
|
1345
|
+
// verify required parameter 'metadataKey' is not null or undefined
|
|
1346
|
+
if (metadataKey === null || metadataKey === undefined) {
|
|
1347
|
+
throw new Error('Required parameter metadataKey was null or undefined when calling getPortfolioGroupAccessMetadataByKey.');
|
|
1348
|
+
}
|
|
1349
|
+
if (effectiveAt !== undefined) {
|
|
1350
|
+
localVarQueryParameters['effectiveAt'] = models_1.ObjectSerializer.serialize(effectiveAt, "string");
|
|
1351
|
+
}
|
|
1352
|
+
if (asAt !== undefined) {
|
|
1353
|
+
localVarQueryParameters['asAt'] = models_1.ObjectSerializer.serialize(asAt, "Date");
|
|
1354
|
+
}
|
|
1355
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
1356
|
+
localVarUseFormData = false;
|
|
1357
|
+
localVarRequestOptions = {
|
|
1358
|
+
method: 'GET',
|
|
1359
|
+
qs: localVarQueryParameters,
|
|
1360
|
+
headers: localVarHeaderParams,
|
|
1361
|
+
uri: localVarPath,
|
|
1362
|
+
useQuerystring: this._useQuerystring,
|
|
1363
|
+
json: true,
|
|
1364
|
+
};
|
|
1365
|
+
authenticationPromise = Promise.resolve();
|
|
1366
|
+
if (this.authentications.oauth2.accessToken) {
|
|
1367
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.oauth2.applyToRequest(localVarRequestOptions); });
|
|
1368
|
+
}
|
|
1369
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1370
|
+
interceptorPromise = authenticationPromise;
|
|
1371
|
+
_loop_13 = function (interceptor) {
|
|
1372
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1373
|
+
};
|
|
1374
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1375
|
+
interceptor = _a[_i];
|
|
1376
|
+
_loop_13(interceptor);
|
|
1377
|
+
}
|
|
1378
|
+
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1379
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1380
|
+
if (localVarUseFormData) {
|
|
1381
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
1382
|
+
}
|
|
1383
|
+
else {
|
|
1384
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1385
|
+
}
|
|
1386
|
+
}
|
|
1387
|
+
return new Promise(function (resolve, reject) {
|
|
1388
|
+
request_1.default(localVarRequestOptions, function (error, response, body) {
|
|
1389
|
+
if (error) {
|
|
1390
|
+
reject(error);
|
|
1391
|
+
}
|
|
1392
|
+
else {
|
|
1393
|
+
body = models_1.ObjectSerializer.deserialize(body, "Array<AccessMetadataValue>");
|
|
1394
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1395
|
+
resolve({ response: response, body: body });
|
|
1396
|
+
}
|
|
1397
|
+
else {
|
|
1398
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
});
|
|
1402
|
+
});
|
|
1403
|
+
})];
|
|
1404
|
+
});
|
|
1405
|
+
});
|
|
1406
|
+
};
|
|
1211
1407
|
/**
|
|
1212
1408
|
* Gets all the commands that modified a single portfolio group.
|
|
1213
1409
|
* @summary [EARLY ACCESS] GetPortfolioGroupCommands: Get portfolio group commands
|
|
@@ -1220,7 +1416,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1220
1416
|
PortfolioGroupsApi.prototype.getPortfolioGroupCommands = function (scope, code, fromAsAt, toAsAt, filter, options) {
|
|
1221
1417
|
if (options === void 0) { options = { headers: {} }; }
|
|
1222
1418
|
return __awaiter(this, void 0, void 0, function () {
|
|
1223
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1419
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_14, _i, _a, interceptor;
|
|
1224
1420
|
var _this = this;
|
|
1225
1421
|
return __generator(this, function (_b) {
|
|
1226
1422
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/commands'
|
|
@@ -1270,12 +1466,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1270
1466
|
}
|
|
1271
1467
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1272
1468
|
interceptorPromise = authenticationPromise;
|
|
1273
|
-
|
|
1469
|
+
_loop_14 = function (interceptor) {
|
|
1274
1470
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1275
1471
|
};
|
|
1276
1472
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1277
1473
|
interceptor = _a[_i];
|
|
1278
|
-
|
|
1474
|
+
_loop_14(interceptor);
|
|
1279
1475
|
}
|
|
1280
1476
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1281
1477
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1318,7 +1514,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1318
1514
|
PortfolioGroupsApi.prototype.getPortfolioGroupExpansion = function (scope, code, effectiveAt, asAt, propertyFilter, options) {
|
|
1319
1515
|
if (options === void 0) { options = { headers: {} }; }
|
|
1320
1516
|
return __awaiter(this, void 0, void 0, function () {
|
|
1321
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1517
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_15, _i, _a, interceptor;
|
|
1322
1518
|
var _this = this;
|
|
1323
1519
|
return __generator(this, function (_b) {
|
|
1324
1520
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/expansion'
|
|
@@ -1368,12 +1564,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1368
1564
|
}
|
|
1369
1565
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1370
1566
|
interceptorPromise = authenticationPromise;
|
|
1371
|
-
|
|
1567
|
+
_loop_15 = function (interceptor) {
|
|
1372
1568
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1373
1569
|
};
|
|
1374
1570
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1375
1571
|
interceptor = _a[_i];
|
|
1376
|
-
|
|
1572
|
+
_loop_15(interceptor);
|
|
1377
1573
|
}
|
|
1378
1574
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1379
1575
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1404,6 +1600,100 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1404
1600
|
});
|
|
1405
1601
|
});
|
|
1406
1602
|
};
|
|
1603
|
+
/**
|
|
1604
|
+
* Pass the scope and Portfolio Group code parameters to retrieve the associated Access Metadata
|
|
1605
|
+
* @summary [EARLY ACCESS] GetPortfolioGroupMetadata: Get Access Metadata rules for Portfolio Group
|
|
1606
|
+
* @param scope The scope of the Portfolio Group
|
|
1607
|
+
* @param code The Portfolio Group code
|
|
1608
|
+
* @param effectiveAt The effectiveAt datetime at which to retrieve the Access Metadata
|
|
1609
|
+
* @param asAt The asAt datetime at which to retrieve the Access Metadata
|
|
1610
|
+
*/
|
|
1611
|
+
PortfolioGroupsApi.prototype.getPortfolioGroupMetadata = function (scope, code, effectiveAt, asAt, options) {
|
|
1612
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
1613
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1614
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_16, _i, _a, interceptor;
|
|
1615
|
+
var _this = this;
|
|
1616
|
+
return __generator(this, function (_b) {
|
|
1617
|
+
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/metadata'
|
|
1618
|
+
.replace('{' + 'scope' + '}', encodeURIComponent(String(scope)))
|
|
1619
|
+
.replace('{' + 'code' + '}', encodeURIComponent(String(code)));
|
|
1620
|
+
localVarQueryParameters = {};
|
|
1621
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
1622
|
+
produces = ['text/plain', 'application/json', 'text/json'];
|
|
1623
|
+
// give precedence to 'application/json'
|
|
1624
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
1625
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
1626
|
+
}
|
|
1627
|
+
else {
|
|
1628
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
1629
|
+
}
|
|
1630
|
+
localVarFormParams = {};
|
|
1631
|
+
// verify required parameter 'scope' is not null or undefined
|
|
1632
|
+
if (scope === null || scope === undefined) {
|
|
1633
|
+
throw new Error('Required parameter scope was null or undefined when calling getPortfolioGroupMetadata.');
|
|
1634
|
+
}
|
|
1635
|
+
// verify required parameter 'code' is not null or undefined
|
|
1636
|
+
if (code === null || code === undefined) {
|
|
1637
|
+
throw new Error('Required parameter code was null or undefined when calling getPortfolioGroupMetadata.');
|
|
1638
|
+
}
|
|
1639
|
+
if (effectiveAt !== undefined) {
|
|
1640
|
+
localVarQueryParameters['effectiveAt'] = models_1.ObjectSerializer.serialize(effectiveAt, "string");
|
|
1641
|
+
}
|
|
1642
|
+
if (asAt !== undefined) {
|
|
1643
|
+
localVarQueryParameters['asAt'] = models_1.ObjectSerializer.serialize(asAt, "Date");
|
|
1644
|
+
}
|
|
1645
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
1646
|
+
localVarUseFormData = false;
|
|
1647
|
+
localVarRequestOptions = {
|
|
1648
|
+
method: 'GET',
|
|
1649
|
+
qs: localVarQueryParameters,
|
|
1650
|
+
headers: localVarHeaderParams,
|
|
1651
|
+
uri: localVarPath,
|
|
1652
|
+
useQuerystring: this._useQuerystring,
|
|
1653
|
+
json: true,
|
|
1654
|
+
};
|
|
1655
|
+
authenticationPromise = Promise.resolve();
|
|
1656
|
+
if (this.authentications.oauth2.accessToken) {
|
|
1657
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.oauth2.applyToRequest(localVarRequestOptions); });
|
|
1658
|
+
}
|
|
1659
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1660
|
+
interceptorPromise = authenticationPromise;
|
|
1661
|
+
_loop_16 = function (interceptor) {
|
|
1662
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1663
|
+
};
|
|
1664
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1665
|
+
interceptor = _a[_i];
|
|
1666
|
+
_loop_16(interceptor);
|
|
1667
|
+
}
|
|
1668
|
+
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1669
|
+
if (Object.keys(localVarFormParams).length) {
|
|
1670
|
+
if (localVarUseFormData) {
|
|
1671
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
1672
|
+
}
|
|
1673
|
+
else {
|
|
1674
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
1675
|
+
}
|
|
1676
|
+
}
|
|
1677
|
+
return new Promise(function (resolve, reject) {
|
|
1678
|
+
request_1.default(localVarRequestOptions, function (error, response, body) {
|
|
1679
|
+
if (error) {
|
|
1680
|
+
reject(error);
|
|
1681
|
+
}
|
|
1682
|
+
else {
|
|
1683
|
+
body = models_1.ObjectSerializer.deserialize(body, "{ [key: string]: Array<AccessMetadataValue>; }");
|
|
1684
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
1685
|
+
resolve({ response: response, body: body });
|
|
1686
|
+
}
|
|
1687
|
+
else {
|
|
1688
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
});
|
|
1692
|
+
});
|
|
1693
|
+
})];
|
|
1694
|
+
});
|
|
1695
|
+
});
|
|
1696
|
+
};
|
|
1407
1697
|
/**
|
|
1408
1698
|
* List the complete time series of a portfolio group property.
|
|
1409
1699
|
* @summary [EARLY ACCESS] GetPortfolioGroupPropertyTimeSeries: Get the time series of a portfolio group property
|
|
@@ -1419,7 +1709,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1419
1709
|
PortfolioGroupsApi.prototype.getPortfolioGroupPropertyTimeSeries = function (scope, code, propertyKey, portfolioGroupEffectiveAt, asAt, filter, page, limit, options) {
|
|
1420
1710
|
if (options === void 0) { options = { headers: {} }; }
|
|
1421
1711
|
return __awaiter(this, void 0, void 0, function () {
|
|
1422
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1712
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_17, _i, _a, interceptor;
|
|
1423
1713
|
var _this = this;
|
|
1424
1714
|
return __generator(this, function (_b) {
|
|
1425
1715
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/properties/time-series'
|
|
@@ -1482,12 +1772,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1482
1772
|
}
|
|
1483
1773
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1484
1774
|
interceptorPromise = authenticationPromise;
|
|
1485
|
-
|
|
1775
|
+
_loop_17 = function (interceptor) {
|
|
1486
1776
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1487
1777
|
};
|
|
1488
1778
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1489
1779
|
interceptor = _a[_i];
|
|
1490
|
-
|
|
1780
|
+
_loop_17(interceptor);
|
|
1491
1781
|
}
|
|
1492
1782
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1493
1783
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1534,7 +1824,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1534
1824
|
PortfolioGroupsApi.prototype.getTransactionsForPortfolioGroup = function (scope, code, fromTransactionDate, toTransactionDate, asAt, filter, propertyKeys, limit, page, options) {
|
|
1535
1825
|
if (options === void 0) { options = { headers: {} }; }
|
|
1536
1826
|
return __awaiter(this, void 0, void 0, function () {
|
|
1537
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1827
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_18, _i, _a, interceptor;
|
|
1538
1828
|
var _this = this;
|
|
1539
1829
|
return __generator(this, function (_b) {
|
|
1540
1830
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/transactions'
|
|
@@ -1596,12 +1886,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1596
1886
|
}
|
|
1597
1887
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1598
1888
|
interceptorPromise = authenticationPromise;
|
|
1599
|
-
|
|
1889
|
+
_loop_18 = function (interceptor) {
|
|
1600
1890
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1601
1891
|
};
|
|
1602
1892
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1603
1893
|
interceptor = _a[_i];
|
|
1604
|
-
|
|
1894
|
+
_loop_18(interceptor);
|
|
1605
1895
|
}
|
|
1606
1896
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1607
1897
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1643,7 +1933,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1643
1933
|
PortfolioGroupsApi.prototype.listPortfolioGroups = function (scope, effectiveAt, asAt, filter, options) {
|
|
1644
1934
|
if (options === void 0) { options = { headers: {} }; }
|
|
1645
1935
|
return __awaiter(this, void 0, void 0, function () {
|
|
1646
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
1936
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_19, _i, _a, interceptor;
|
|
1647
1937
|
var _this = this;
|
|
1648
1938
|
return __generator(this, function (_b) {
|
|
1649
1939
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}'
|
|
@@ -1688,12 +1978,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1688
1978
|
}
|
|
1689
1979
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1690
1980
|
interceptorPromise = authenticationPromise;
|
|
1691
|
-
|
|
1981
|
+
_loop_19 = function (interceptor) {
|
|
1692
1982
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1693
1983
|
};
|
|
1694
1984
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1695
1985
|
interceptor = _a[_i];
|
|
1696
|
-
|
|
1986
|
+
_loop_19(interceptor);
|
|
1697
1987
|
}
|
|
1698
1988
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1699
1989
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1735,7 +2025,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1735
2025
|
PortfolioGroupsApi.prototype.updatePortfolioGroup = function (scope, code, effectiveAt, updatePortfolioGroupRequest, options) {
|
|
1736
2026
|
if (options === void 0) { options = { headers: {} }; }
|
|
1737
2027
|
return __awaiter(this, void 0, void 0, function () {
|
|
1738
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
2028
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_20, _i, _a, interceptor;
|
|
1739
2029
|
var _this = this;
|
|
1740
2030
|
return __generator(this, function (_b) {
|
|
1741
2031
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}'
|
|
@@ -1780,12 +2070,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1780
2070
|
}
|
|
1781
2071
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1782
2072
|
interceptorPromise = authenticationPromise;
|
|
1783
|
-
|
|
2073
|
+
_loop_20 = function (interceptor) {
|
|
1784
2074
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1785
2075
|
};
|
|
1786
2076
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1787
2077
|
interceptor = _a[_i];
|
|
1788
|
-
|
|
2078
|
+
_loop_20(interceptor);
|
|
1789
2079
|
}
|
|
1790
2080
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1791
2081
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1826,7 +2116,7 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1826
2116
|
PortfolioGroupsApi.prototype.upsertGroupProperties = function (scope, code, requestBody, options) {
|
|
1827
2117
|
if (options === void 0) { options = { headers: {} }; }
|
|
1828
2118
|
return __awaiter(this, void 0, void 0, function () {
|
|
1829
|
-
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise,
|
|
2119
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_21, _i, _a, interceptor;
|
|
1830
2120
|
var _this = this;
|
|
1831
2121
|
return __generator(this, function (_b) {
|
|
1832
2122
|
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/properties/$upsert'
|
|
@@ -1868,12 +2158,12 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1868
2158
|
}
|
|
1869
2159
|
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
1870
2160
|
interceptorPromise = authenticationPromise;
|
|
1871
|
-
|
|
2161
|
+
_loop_21 = function (interceptor) {
|
|
1872
2162
|
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
1873
2163
|
};
|
|
1874
2164
|
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
1875
2165
|
interceptor = _a[_i];
|
|
1876
|
-
|
|
2166
|
+
_loop_21(interceptor);
|
|
1877
2167
|
}
|
|
1878
2168
|
return [2 /*return*/, interceptorPromise.then(function () {
|
|
1879
2169
|
if (Object.keys(localVarFormParams).length) {
|
|
@@ -1904,6 +2194,108 @@ var PortfolioGroupsApi = /** @class */ (function () {
|
|
|
1904
2194
|
});
|
|
1905
2195
|
});
|
|
1906
2196
|
};
|
|
2197
|
+
/**
|
|
2198
|
+
* Update or insert one Portfolio Group Access Metadata Entry in a single scope. An item will be updated if it already exists and inserted if it does not. The response will return the successfully updated or inserted Portfolio Group Access Metadata rule or failure message if unsuccessful. It is important to always check to verify success (or failure). Multiple rules for a metadataKey can exist with different effective at dates, when resources are accessed the rule that is active for the current time will be fetched.
|
|
2199
|
+
* @summary [EARLY ACCESS] UpsertPortfolioGroupAccessMetadata: Upsert a Portfolio Group Access Metadata entry associated with a specific metadataKey. This creates or updates the data in LUSID.
|
|
2200
|
+
* @param scope The scope of the Portfolio Group
|
|
2201
|
+
* @param code The Portfolio Group code
|
|
2202
|
+
* @param metadataKey Key of the access metadata entry to upsert
|
|
2203
|
+
* @param upsertPortfolioGroupAccessMetadataRequest The Portfolio Group Access Metadata rule to upsert
|
|
2204
|
+
* @param effectiveAt The date this rule will be effective from
|
|
2205
|
+
*/
|
|
2206
|
+
PortfolioGroupsApi.prototype.upsertPortfolioGroupAccessMetadata = function (scope, code, metadataKey, upsertPortfolioGroupAccessMetadataRequest, effectiveAt, options) {
|
|
2207
|
+
if (options === void 0) { options = { headers: {} }; }
|
|
2208
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
2209
|
+
var localVarPath, localVarQueryParameters, localVarHeaderParams, produces, localVarFormParams, localVarUseFormData, localVarRequestOptions, authenticationPromise, interceptorPromise, _loop_22, _i, _a, interceptor;
|
|
2210
|
+
var _this = this;
|
|
2211
|
+
return __generator(this, function (_b) {
|
|
2212
|
+
localVarPath = this.basePath + '/api/portfoliogroups/{scope}/{code}/metadata/{metadataKey}'
|
|
2213
|
+
.replace('{' + 'scope' + '}', encodeURIComponent(String(scope)))
|
|
2214
|
+
.replace('{' + 'code' + '}', encodeURIComponent(String(code)))
|
|
2215
|
+
.replace('{' + 'metadataKey' + '}', encodeURIComponent(String(metadataKey)));
|
|
2216
|
+
localVarQueryParameters = {};
|
|
2217
|
+
localVarHeaderParams = Object.assign({}, this._defaultHeaders);
|
|
2218
|
+
produces = ['text/plain', 'application/json', 'text/json'];
|
|
2219
|
+
// give precedence to 'application/json'
|
|
2220
|
+
if (produces.indexOf('application/json') >= 0) {
|
|
2221
|
+
localVarHeaderParams.Accept = 'application/json';
|
|
2222
|
+
}
|
|
2223
|
+
else {
|
|
2224
|
+
localVarHeaderParams.Accept = produces.join(',');
|
|
2225
|
+
}
|
|
2226
|
+
localVarFormParams = {};
|
|
2227
|
+
// verify required parameter 'scope' is not null or undefined
|
|
2228
|
+
if (scope === null || scope === undefined) {
|
|
2229
|
+
throw new Error('Required parameter scope was null or undefined when calling upsertPortfolioGroupAccessMetadata.');
|
|
2230
|
+
}
|
|
2231
|
+
// verify required parameter 'code' is not null or undefined
|
|
2232
|
+
if (code === null || code === undefined) {
|
|
2233
|
+
throw new Error('Required parameter code was null or undefined when calling upsertPortfolioGroupAccessMetadata.');
|
|
2234
|
+
}
|
|
2235
|
+
// verify required parameter 'metadataKey' is not null or undefined
|
|
2236
|
+
if (metadataKey === null || metadataKey === undefined) {
|
|
2237
|
+
throw new Error('Required parameter metadataKey was null or undefined when calling upsertPortfolioGroupAccessMetadata.');
|
|
2238
|
+
}
|
|
2239
|
+
// verify required parameter 'upsertPortfolioGroupAccessMetadataRequest' is not null or undefined
|
|
2240
|
+
if (upsertPortfolioGroupAccessMetadataRequest === null || upsertPortfolioGroupAccessMetadataRequest === undefined) {
|
|
2241
|
+
throw new Error('Required parameter upsertPortfolioGroupAccessMetadataRequest was null or undefined when calling upsertPortfolioGroupAccessMetadata.');
|
|
2242
|
+
}
|
|
2243
|
+
if (effectiveAt !== undefined) {
|
|
2244
|
+
localVarQueryParameters['effectiveAt'] = models_1.ObjectSerializer.serialize(effectiveAt, "string");
|
|
2245
|
+
}
|
|
2246
|
+
Object.assign(localVarHeaderParams, options.headers);
|
|
2247
|
+
localVarUseFormData = false;
|
|
2248
|
+
localVarRequestOptions = {
|
|
2249
|
+
method: 'PUT',
|
|
2250
|
+
qs: localVarQueryParameters,
|
|
2251
|
+
headers: localVarHeaderParams,
|
|
2252
|
+
uri: localVarPath,
|
|
2253
|
+
useQuerystring: this._useQuerystring,
|
|
2254
|
+
json: true,
|
|
2255
|
+
body: models_1.ObjectSerializer.serialize(upsertPortfolioGroupAccessMetadataRequest, "UpsertPortfolioGroupAccessMetadataRequest")
|
|
2256
|
+
};
|
|
2257
|
+
authenticationPromise = Promise.resolve();
|
|
2258
|
+
if (this.authentications.oauth2.accessToken) {
|
|
2259
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.oauth2.applyToRequest(localVarRequestOptions); });
|
|
2260
|
+
}
|
|
2261
|
+
authenticationPromise = authenticationPromise.then(function () { return _this.authentications.default.applyToRequest(localVarRequestOptions); });
|
|
2262
|
+
interceptorPromise = authenticationPromise;
|
|
2263
|
+
_loop_22 = function (interceptor) {
|
|
2264
|
+
interceptorPromise = interceptorPromise.then(function () { return interceptor(localVarRequestOptions); });
|
|
2265
|
+
};
|
|
2266
|
+
for (_i = 0, _a = this.interceptors; _i < _a.length; _i++) {
|
|
2267
|
+
interceptor = _a[_i];
|
|
2268
|
+
_loop_22(interceptor);
|
|
2269
|
+
}
|
|
2270
|
+
return [2 /*return*/, interceptorPromise.then(function () {
|
|
2271
|
+
if (Object.keys(localVarFormParams).length) {
|
|
2272
|
+
if (localVarUseFormData) {
|
|
2273
|
+
localVarRequestOptions.formData = localVarFormParams;
|
|
2274
|
+
}
|
|
2275
|
+
else {
|
|
2276
|
+
localVarRequestOptions.form = localVarFormParams;
|
|
2277
|
+
}
|
|
2278
|
+
}
|
|
2279
|
+
return new Promise(function (resolve, reject) {
|
|
2280
|
+
request_1.default(localVarRequestOptions, function (error, response, body) {
|
|
2281
|
+
if (error) {
|
|
2282
|
+
reject(error);
|
|
2283
|
+
}
|
|
2284
|
+
else {
|
|
2285
|
+
body = models_1.ObjectSerializer.deserialize(body, "ResourceListOfAccessMetadataValueOf");
|
|
2286
|
+
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
2287
|
+
resolve({ response: response, body: body });
|
|
2288
|
+
}
|
|
2289
|
+
else {
|
|
2290
|
+
reject(new HttpError(response, body, response.statusCode));
|
|
2291
|
+
}
|
|
2292
|
+
}
|
|
2293
|
+
});
|
|
2294
|
+
});
|
|
2295
|
+
})];
|
|
2296
|
+
});
|
|
2297
|
+
});
|
|
2298
|
+
};
|
|
1907
2299
|
return PortfolioGroupsApi;
|
|
1908
2300
|
}());
|
|
1909
2301
|
exports.PortfolioGroupsApi = PortfolioGroupsApi;
|