openapi: 3.2.0 info: title: Fenergo Nebula Deals Command Deal Drafts API description: '**Deals Command API**: Deals Command API provides endpoints in order to manage and configure all related models and their versions.' version: '1.0' servers: - url: /dealscommand security: - Bearer: [] tags: - name: DealDrafts paths: /api/deals/{dealId}/drafts: post: tags: - DealDrafts summary: Create a Deal Draft description: 'Creates a new deal draft. Required permissions: Following permissions are required: DealCreate' operationId: CreateDealDraft parameters: - name: dealId in: path description: Deal id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: Update deal draft request. Must contain deal draft properties content: application/json: schema: allOf: - $ref: '#/components/schemas/DealDraftDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/DealDraftDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/DealDraftDtoServiceRequest' responses: '201': description: Success. Deal Draft created content: text/plain: schema: $ref: '#/components/schemas/CreateDealDraftResponseServiceResponse' application/json: schema: $ref: '#/components/schemas/CreateDealDraftResponseServiceResponse' text/json: schema: $ref: '#/components/schemas/CreateDealDraftResponseServiceResponse' '400': description: Bad request. The request has missing/invalid values content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '403': description: Forbidden. User doesn't have proper permissions '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: OBSOLETE_ENDPOINT /api/deals/{dealId}/drafts/{draftId}: put: tags: - DealDrafts summary: Update deal draft description: 'Updates an existing deal draft. Required permissions: Following permissions are required: DealEdit' operationId: UpdateDealDraft parameters: - name: dealId in: path description: Deal id required: true schema: type: string format: uuid - name: draftId in: path description: Deal draft id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: Update deal draft request. Must contain deal draft properties content: application/json: schema: allOf: - $ref: '#/components/schemas/UpdateDealDraftRequestDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/UpdateDealDraftRequestDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/UpdateDealDraftRequestDtoServiceRequest' responses: '202': description: Success. Deal draft updated content: text/plain: schema: $ref: '#/components/schemas/UpdateDealDraftResponseServiceResponse' application/json: schema: $ref: '#/components/schemas/UpdateDealDraftResponseServiceResponse' text/json: schema: $ref: '#/components/schemas/UpdateDealDraftResponseServiceResponse' '409': description: Conflict saving changes in expected version content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: There are conflicts that cannot be resolved automatically, get latest and apply your changes type: Error errorCode: CONFLICT '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Deal/Deal draft with given id does not exist type: Error errorCode: Error Code '400': description: Bad request. The request has missing/invalid values content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: OBSOLETE_ENDPOINT delete: tags: - DealDrafts summary: Deletes a deal draft description: 'This method deletes a deal draft record and all associated drafts. Required permissions: Following permissions are required: DealDelete' operationId: DeleteDealDraft parameters: - name: dealId in: path description: Deal id required: true schema: type: string format: uuid - name: draftId in: path description: Deal draft id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 responses: '202': description: Success. Deal Draft deleted content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '400': description: Bad request. The request has missing/invalid values content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: Internal Server Error '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Deal Draft with given id does not exist type: Error errorCode: Error Code '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: OBSOLETE_ENDPOINT /api/deals/{dealId}/drafts/{draftId}/complete: post: tags: - DealDrafts summary: Validate and Update deal draft description: 'Checks that an update to an existing deal draft is valid. Updates the draft only if valid. Returns Validation Errors if not Required permissions: Following permissions are required: DealEdit' operationId: ValidateAndUpdateDealDraft parameters: - name: dealId in: path description: Deal id required: true schema: type: string format: uuid - name: draftId in: path description: Deal draft id required: true schema: type: string format: uuid - name: X-TENANT-ID in: header description: The UiD of the tenant representing organization required: true schema: type: string example: b11f8be3-f29b-4959-8964-956d4af7c468 requestBody: description: Update deal draft request. Must contain deal draft properties content: application/json: schema: allOf: - $ref: '#/components/schemas/UpdateDealDraftRequestDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/UpdateDealDraftRequestDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/UpdateDealDraftRequestDtoServiceRequest' responses: '202': description: Success. Deal draft updated content: text/plain: schema: $ref: '#/components/schemas/UpdateDealDraftResponseServiceResponse' application/json: schema: $ref: '#/components/schemas/UpdateDealDraftResponseServiceResponse' text/json: schema: $ref: '#/components/schemas/UpdateDealDraftResponseServiceResponse' '409': description: Conflict saving changes in expected version content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: There are conflicts that cannot be resolved automatically, get latest and apply your changes type: Error errorCode: CONFLICT '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Deal/Deal draft with given id does not exist type: Error errorCode: Error Code '400': description: Bad request. The request has missing/invalid values content: text/plain: schema: $ref: '#/components/schemas/ServiceResponse' application/json: schema: $ref: '#/components/schemas/ServiceResponse' text/json: schema: $ref: '#/components/schemas/ServiceResponse' '401': description: User is not authorized to perform this request content: application/json: example: message: Unauthorized '403': description: Access to resource is forbidden. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: 'Access denied. Following permissions are required: Permission1, Permission2' type: Forbidden errorCode: Error Code '500': description: Internal server exception. Please, contact your provider. content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: null messages: - message: Internal server exception. Please, contact your provider. type: Error errorCode: INTERNAL_SERVER_ERROR '410': description: Endpoint marked as deprecated was terminated. This response will be present only if the endpoint was marked as deprecated and has reached the sunset date. During the deprecation period, the API will include additional 'sunset' and 'deprecation' headers. content: application/json: schema: $ref: '#/components/schemas/StringServiceResponse' example: data: null messages: - message: This endpoint is obsolete and was terminated on yyyy-MM-dd type: Error errorCode: OBSOLETE_ENDPOINT components: schemas: PropertiesDto: type: object properties: singleProperties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/SinglePropertyDto2' collectionProperties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/CollectionPropertyDto2' customProperties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/CustomPropertyDto2' additionalProperties: false DataSourcesDto: type: object properties: entityDataMetadata: allOf: - $ref: '#/components/schemas/EntityDataMetadataDataSource' eventIngress: allOf: - $ref: '#/components/schemas/EventIngressDataSource' changedFields: allOf: - $ref: '#/components/schemas/ChangedFieldsDataSource' relatedClient: allOf: - $ref: '#/components/schemas/RelatedClientDataSource' relatedProducts: allOf: - $ref: '#/components/schemas/RelatedProductsDataSource' currentDataGroupItem: allOf: - $ref: '#/components/schemas/CurrentDataGroupItemDataSource' externalDataAdapter: allOf: - $ref: '#/components/schemas/ExternalDataAdapterDataSource' entityAssociation: allOf: - $ref: '#/components/schemas/EntityAssociationDataSource' manualCreditAssessment: allOf: - $ref: '#/components/schemas/ManualCreditAssessmentV2DataSource' autoCreditAssessment: allOf: - $ref: '#/components/schemas/AutoCreditAssessmentDataSource' manualCreditScreening: allOf: - $ref: '#/components/schemas/ManualCreditScreeningDataSource' collateral: allOf: - $ref: '#/components/schemas/CollateralDataSource' currentJourneys: allOf: - $ref: '#/components/schemas/CurrentJourneysDataSource' autoCreditScreening: allOf: - $ref: '#/components/schemas/AutoCreditScreeningDataSource' currentProduct: allOf: - $ref: '#/components/schemas/CurrentProductDataSource' relatedDeals: allOf: - $ref: '#/components/schemas/RelatedDealsDataSource' mainEntity: allOf: - $ref: '#/components/schemas/MainEntityDataSource' relatedAssets: allOf: - $ref: '#/components/schemas/RelatedAssetsDataSource' relatedAssociations: allOf: - $ref: '#/components/schemas/RelatedAssociationsDataSource' accountRelatedFunds: allOf: - $ref: '#/components/schemas/AccountRelatedFundsDataSource' journeyLevelData: allOf: - $ref: '#/components/schemas/JourneyLevelDataDataSource' relatedParties: allOf: - $ref: '#/components/schemas/RelatedPartiesDataSource' currentField: allOf: - $ref: '#/components/schemas/CurrentFieldDataSource' significanceEngine: allOf: - $ref: '#/components/schemas/SignificanceEngineDataSource' additionalProperties: false CurrentJourneysDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true inProgressJourneyTypes: type: - array - 'null' items: type: string additionalProperties: false EntityAssociationDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true associationType: type: - string - 'null' ownershipPercentage: type: - number - 'null' format: double associationToClient: type: - string - 'null' properties: allOf: - $ref: '#/components/schemas/PropertiesDto' additionalProperties: false CurrentFieldDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true currentField: type: - string - 'null' additionalProperties: false SignificanceEngineDto: type: object properties: key: type: - string - 'null' additionalProperties: false AutoCreditScreeningDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true creditScreenings: type: - array - 'null' items: $ref: '#/components/schemas/AutoCreditScreeningDto' relatedPartyCreditScreenings: type: - array - 'null' items: $ref: '#/components/schemas/AutoCreditScreeningDto' additionalProperties: false SignificanceEngineDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true significanceEngine: type: - array - 'null' items: $ref: '#/components/schemas/SignificanceEngineDto' additionalProperties: false UpdateDealDraftResponse: type: object properties: id: type: string format: uuid dealId: type: string format: uuid entityId: type: string format: uuid journeyId: type: string format: uuid requirementSetId: type: string format: uuid requirementSetVersion: type: integer format: int32 properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/Property' description: This is a generic property which must be replaced with either a `SingleProperty` or a `CollectionProperty`If the field does not exist inside defined policy then it will not be saved. example: firstName: type: Single value: Tom dateOfBirth: type: Single value: '2021-07-15' address: type: Collection dataGroupId: 674ccef1-cfdc-46af-97f8-340b24ab7f43 collections: 54a25d24-1a4b-45c6-a5b4-980e5d3a1df5: properties: country: Spain city: Madrid street: C. de Sevilla 93468632-1a9e-4ad0-b2e1-c5ec0f65d7b2: properties: country: Spain city: Barcelona street: Carrer de Girona additionalProperties: false CreateDealDraftResponseServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/CreateDealDraftResponse' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false CreateDealDraftResponse: type: object properties: id: type: string format: uuid dealId: type: string format: uuid entityId: type: string format: uuid journeyId: type: string format: uuid requirementSetId: type: string format: uuid requirementSetVersion: type: integer format: int32 properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/Property' description: This is a generic property which must be replaced with either a `SingleProperty` or a `CollectionProperty`If the field does not exist inside defined policy then it will not be saved. example: firstName: type: Single value: Tom dateOfBirth: type: Single value: '2021-07-15' address: type: Collection dataGroupId: 674ccef1-cfdc-46af-97f8-340b24ab7f43 collections: 54a25d24-1a4b-45c6-a5b4-980e5d3a1df5: properties: country: Spain city: Madrid street: C. de Sevilla 93468632-1a9e-4ad0-b2e1-c5ec0f65d7b2: properties: country: Spain city: Barcelona street: Carrer de Girona additionalProperties: false RelatedProductDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' lifecycleStatus: type: - string - 'null' relationshipTypes: type: - array - 'null' items: type: string additionalProperties: false CustomProviderResponseDto: type: object properties: type: type: string message: type: - string - 'null' status: type: - string - 'null' taskId: type: - string - 'null' additionalProperties: false PropertyDto: type: object properties: type: allOf: - $ref: '#/components/schemas/PropertyType' readOnly: true discriminator: allOf: - $ref: '#/components/schemas/PropertyType' readOnly: true isValid: type: - boolean - 'null' additionalProperties: false JourneyLevelDataDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true properties: allOf: - $ref: '#/components/schemas/PropertiesDto' additionalProperties: false AutoCreditScreeningDto: type: object properties: entityId: type: string format: uuid creditScreeningOutcome: type: - string - 'null' properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' providerInternalIdentifier: type: - string - 'null' additionalProperties: false AutoCreditAssessmentDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true autoCreditAssessments: type: - array - 'null' items: $ref: '#/components/schemas/AutoCreditAssessmentDto' additionalProperties: false RelatedAssociationsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true relatedAssociations: type: - array - 'null' items: $ref: '#/components/schemas/RelatedAssociationDto' additionalProperties: false DealDraftDto: type: object properties: journeyId: type: string format: uuid properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/Property' description: This is a generic property which must be replaced with either a `SingleProperty` or a `CollectionProperty`If the field does not exist inside defined policy then it will not be saved. example: firstName: type: Single value: Tom dateOfBirth: type: Single value: '2021-07-15' address: type: Collection dataGroupId: 674ccef1-cfdc-46af-97f8-340b24ab7f43 collections: 54a25d24-1a4b-45c6-a5b4-980e5d3a1df5: properties: country: Spain city: Madrid street: C. de Sevilla 93468632-1a9e-4ad0-b2e1-c5ec0f65d7b2: properties: country: Spain city: Barcelona street: Carrer de Girona categoriesInScope: type: - object - 'null' additionalProperties: type: integer format: int32 isDocumentEnabled: type: boolean customProviderResponse: allOf: - $ref: '#/components/schemas/CustomProviderResponseDto' additionalProperties: false EntityDataMetadataDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true entityType: type: - string - 'null' additionalProperties: false ManualCreditScreeningDto: type: object properties: taskDataKey: type: - string - 'null' taskId: type: string format: uuid entityId: type: string format: uuid creditScreeningOutcome: type: - string - 'null' properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' additionalProperties: false ManualCreditAssessmentV2DataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true creditAssessments: type: - array - 'null' items: $ref: '#/components/schemas/CreditAssessmentDto' additionalProperties: false RelatedClientDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' additionalProperties: false RelatedPartyDto: type: object properties: properties: allOf: - $ref: '#/components/schemas/PropertiesDto' metadata: type: - object - 'null' additionalProperties: type: - string - 'null' additionalProperties: false ChangedFieldsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true changedFields: type: - array - 'null' items: $ref: '#/components/schemas/ChangedFieldDto' additionalProperties: false DealDraftDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/DealDraftDto' additionalProperties: false CollateralDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' additionalProperties: false AccountRelatedFundDto: type: object properties: properties: allOf: - $ref: '#/components/schemas/PropertiesDto' additionalProperties: false DealPropertyType: enum: - Single - Group - Collection type: string ServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false CreditAssessmentDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' assessmentOutcome: type: - string - 'null' assessmentComment: type: - string - 'null' taskId: type: - string - 'null' taskDataKey: type: - string - 'null' additionalProperties: false CollectionItemDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/SinglePropertyDto2' additionalProperties: false CollectionPropertyDto2: type: object properties: items: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/CollectionItemDto' collectionId: type: - string - 'null' format: uuid additionalProperties: false RelatedDealsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true relatedDeals: type: - array - 'null' items: $ref: '#/components/schemas/RelatedDealDto' additionalProperties: false RelatedDealDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' additionalProperties: false CollateralDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true collaterals: type: - array - 'null' items: $ref: '#/components/schemas/CollateralDto' additionalProperties: false RelatedAssociationDto: type: object properties: associationType: type: - string - 'null' ownershipPercentage: type: - number - 'null' format: double associationToClient: type: - string - 'null' properties: allOf: - $ref: '#/components/schemas/PropertiesDto' additionalProperties: false UpdateDealDraftResponseServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/UpdateDealDraftResponse' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false RelatedAssetDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' additionalProperties: false AutoCreditAssessmentDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' assessmentOutcome: type: - string - 'null' providerInternalIdentifier: type: - string - 'null' additionalProperties: false RelatedProductsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true products: type: - array - 'null' items: $ref: '#/components/schemas/RelatedProductDto' additionalProperties: false AccountRelatedFundsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true accountRelatedFunds: type: - array - 'null' items: $ref: '#/components/schemas/AccountRelatedFundDto' additionalProperties: false MainEntityDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true properties: allOf: - $ref: '#/components/schemas/PropertiesDto' additionalProperties: false Property: type: object properties: type: allOf: - $ref: '#/components/schemas/DealPropertyType' readOnly: true discriminator: allOf: - $ref: '#/components/schemas/DealPropertyType' readOnly: true additionalProperties: false CurrentProductDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' lifecycleStatus: type: - string - 'null' additionalProperties: false ManualCreditScreeningDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true creditScreenings: type: - array - 'null' items: $ref: '#/components/schemas/ManualCreditScreeningDto' relatedPartyCreditScreenings: type: - array - 'null' items: $ref: '#/components/schemas/ManualCreditScreeningDto' additionalProperties: false UpdateDealDraftRequestDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/UpdateDealDraftRequestDto' additionalProperties: false SinglePropertyDto2: type: object properties: value: type: - string - 'null' valueId: type: - string - 'null' additionalProperties: false ObjectServiceResponse: type: object properties: data: {} messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false StringServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false EventIngressDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true eventType: type: - string - 'null' eventSubtype: type: - string - 'null' additionalProperties: false PropertyType: enum: - Single - Custom - Collection type: string CustomPropertyDto2: type: object properties: singleProperties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/SinglePropertyDto2' customProperties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/CustomPropertyDto2' additionalProperties: false ChangedFieldDto: type: object properties: key: type: - string - 'null' additionalProperties: false RelatedPartiesDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true relatedParties: type: - array - 'null' items: $ref: '#/components/schemas/RelatedPartyDto' additionalProperties: false ServiceResponseMessage: type: object properties: message: type: - string - 'null' type: type: - string - 'null' errorCode: type: - string - 'null' additionalProperties: false ExternalDataAdapterDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true eventType: type: - string - 'null' eventSubtype: type: - string - 'null' additionalProperties: false UpdateDealDraftRequestDto: type: object properties: dealDraft: allOf: - $ref: '#/components/schemas/DealDraftDto' dataSources: allOf: - $ref: '#/components/schemas/DataSourcesDto' additionalProperties: false RelatedAssetsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true assets: type: - array - 'null' items: $ref: '#/components/schemas/RelatedAssetDto' additionalProperties: false CurrentDataGroupItemDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true properties: type: - object - 'null' additionalProperties: type: - string - 'null' additionalProperties: false securitySchemes: Bearer: type: apiKey description: Please insert JWT with Bearer into field name: Authorization in: header