openapi: 3.2.0 info: title: Fenergo Deals API version: '1.0' description: 'Operations tagged Deals across 3 of this provider''s published API definitions: fenergo-associationquery-v1-0-openapi.json, fenergo-dealscommand-v1-0-openapi.json, fenergo-dealsquery-v1-0-openapi.json. Each path carries the servers of the definition it was published in.' servers: - url: /associationquery - url: /dealscommand - url: /dealsquery security: - Bearer: [] tags: - name: Deals paths: /api/deals/root/{entityId}/journey/{journeyId}: get: tags: - Deals summary: Get all verified Deal-Product associations and Deal-Product associations for a… description: 'Required permissions: Following permissions are required: AssociationAccess' operationId: GetDealProductAssociations parameters: - name: entityId in: path description: The ID of the Entity to search for Product-Deal associations required: true schema: type: string - name: journeyId in: path description: The ID of the Journey to search for Product-Deal associations required: true schema: type: string - 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: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/AssociationDtoIEnumerableServiceResponse' '400': description: Bad Request content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: Internal Server Error '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 servers: - url: /associationquery /api/deals/deal/{dealId}: get: tags: - Deals summary: Get all deal Associations by Deal Id description: This method returns a deal associations list for a given deal operationId: GetDealAssociationsByDealId parameters: - name: dealId in: path description: The unique identifier of the Deal that associations are connected to required: true schema: type: string - 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: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/AssociationDtoIEnumerableServiceResponse' '400': description: Invalid request content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the query '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 servers: - url: /associationquery /api/deals: post: tags: - Deals summary: Create a Deal description: 'Creates a new deal. Required permissions: Following permissions are required: DealCreate' operationId: CreateDeal parameters: - 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: content: application/json: schema: allOf: - $ref: '#/components/schemas/DealDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/DealDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/DealDtoServiceRequest' responses: '201': description: Success. Deal created content: text/plain: schema: $ref: '#/components/schemas/CreateDealResponseServiceResponse' application/json: schema: $ref: '#/components/schemas/CreateDealResponseServiceResponse' text/json: schema: $ref: '#/components/schemas/CreateDealResponseServiceResponse' '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 get: tags: - Deals summary: Get All Deals description: 'Returns a List containing all deals for the tenant. Required permissions: At least one of the following permissions is required: DealAccessAndSearch' operationId: GetAllDeals parameters: - 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: '200': description: Success. List of Deals is returned content: application/json: schema: $ref: '#/components/schemas/DealDtoIEnumerableServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/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 servers: - url: /dealscommand /api/deals/{id}: delete: tags: - Deals summary: Deletes a deal description: 'This method deletes a deal record and all associated drafts. Required permissions: Following permissions are required: DealDelete' operationId: DeleteDeal parameters: - name: id in: path description: The Id of the deal 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 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 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 servers: - url: /dealscommand /api/deals/{id}/create-url-to-upload-file: post: tags: - Deals summary: Create url to upload file. description: 'Creates url for file upload. Returns url that can be used to upload file. Required permissions: At least one of the following permissions is required: DealEdit' operationId: CreateUrlToUploadFile parameters: - name: id 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: Parameters to create url to upload content: application/json: schema: allOf: - $ref: '#/components/schemas/CreateUrlToUploadFileRequestDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/CreateUrlToUploadFileRequestDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/CreateUrlToUploadFileRequestDtoServiceRequest' responses: '202': description: Success content: text/plain: schema: $ref: '#/components/schemas/CreateUrlToUploadFileResponseDtoServiceResponse' application/json: schema: $ref: '#/components/schemas/CreateUrlToUploadFileResponseDtoServiceResponse' text/json: schema: $ref: '#/components/schemas/CreateUrlToUploadFileResponseDtoServiceResponse' '400': description: Bad request. The request has missing/invalid values content: text/plain: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' text/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '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 servers: - url: /dealscommand /api/deals/{id}/enable-editing: post: tags: - Deals summary: Creates new draft entries for each entry required to make a verified deal… description: 'Required permissions: At least one of the following permissions is required: DealEdit' operationId: EnableEditing parameters: - name: id 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: Parameters required to create drafts of connected entities content: application/json: schema: allOf: - $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealRequestDtoServiceRequest' text/json: schema: allOf: - $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealRequestDtoServiceRequest' application/*+json: schema: allOf: - $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealRequestDtoServiceRequest' responses: '202': description: Success content: text/plain: schema: $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealResponseServiceResponse' application/json: schema: $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealResponseServiceResponse' text/json: schema: $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealResponseServiceResponse' '400': description: Bad request. The request has missing/invalid values content: text/plain: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' text/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '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 servers: - url: /dealscommand /api/deals/{dealId}: get: tags: - Deals summary: Get Deal By Id description: 'Returns a single Deal for the tenant based on the provided ID. Required permissions: At least one of the following permissions is required: DealAccessAndSearch' operationId: GetDealById 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 responses: '200': description: Success. Single Deal is returned content: application/json: schema: $ref: '#/components/schemas/DealDtoServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found 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 '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 servers: - url: /dealsquery /api/deals/journey/{journeyId}/task/{taskId}: get: tags: - Deals summary: Get a deals snapshot description: 'This method retrieves an object containing lists of deals and drafts from S3 for a given taskId Required permissions: Following permissions are required: DealAccessAndSearch' operationId: GetDealsSnapshot parameters: - name: journeyId in: path description: The id of a journey that the deals belong to required: true schema: type: string format: uuid - name: taskId in: path description: The id of a task that the deals belong to 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: '200': description: OK content: application/json: schema: $ref: '#/components/schemas/DealsSnapshotDtoServiceResponse' '400': description: Invalid request content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the query '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found 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 servers: - url: /dealsquery /api/deals/entity/{entityId}: get: tags: - Deals summary: Get Verified Deals by Entity ID description: 'Returns a List containing all Deals with IsVerified set to true and whose parent Entity matches the supplied ID. Required permissions: At least one of the following permissions is required: DealAccessAndSearch' operationId: GetVerifiedDealsByEntityId parameters: - name: entityId in: path 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: '200': description: Success. List of Deals is returned content: application/json: schema: $ref: '#/components/schemas/DealDtoIEnumerableServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/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 servers: - url: /dealsquery /api/deals/related-deals/entity/{entityId}/journey/{journeyId}: get: tags: - Deals summary: Get Related Deals Data Source description: 'Gets related deals data source Required permissions: Following permissions are required: DealAccessAndSearch' operationId: GetRelatedDealsDataSource parameters: - name: entityId in: path description: The Id of the existing Entity required: true schema: type: string format: uuid - name: journeyId in: path description: The Id of the existing Journey 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: '200': description: The created Fenergo.Nebula.Deals.Query.Application.Dto.GetRelatedDealsDataSource.GetRelatedDealsDataSourceResponseDto containing related deals content: application/json: schema: $ref: '#/components/schemas/GetRelatedDealsDataSourceResponseDtoServiceResponse' '400': description: Invalid request content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '500': description: An exception occurred while processing the request '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 servers: - url: /dealsquery /api/deals/{dealId}/pre-sign-urls: post: tags: - Deals summary: Get pre-sign URLs for a file identifiers This endpoint is intended for use with… description: 'Returns URLs for each file identifier Required permissions: At least one of the following permissions is required: DealAccessAndSearch' operationId: GetPreSignUrlForFileIdentifiers 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: File identifiers request content: application/json: schema: allOf: - $ref: '#/components/schemas/GetPreSignUrlForFileIdentifiersRequestDtoServiceRequest' responses: '200': description: Success. Instance of property is returned content: application/json: schema: $ref: '#/components/schemas/GetPreSignUrlForFileIdentifiersResponseDtoServiceResponse' '403': description: Forbidden. User has no access to reveal property content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found. Deal or PropertyName with given id/name does not exist type: Error errorCode: Error Code '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ValidationErrorModelListServiceResponse' '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 servers: - url: /dealsquery /api/deals/entity/{entityId}/journey/{journeyId}: get: tags: - Deals summary: Get all verified and draft deals for the current journey description: 'Returns all verified and draft deals for the current journey given an entityId and journeyId. Required permissions: Following permissions are required: DealAccessAndSearch' operationId: GetAllDealsForEntityJourney parameters: - name: entityId in: path description: Entity Id required: true schema: type: string format: uuid - name: journeyId in: path description: Journey 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: '200': description: Success. A list of all deals is returned content: application/json: schema: $ref: '#/components/schemas/DealJourneyDtoIEnumerableServiceResponse' '400': description: Bad request. The request has missing/invalid values content: application/json: schema: $ref: '#/components/schemas/ServiceResponse' '404': description: Resource not found content: application/json: schema: $ref: '#/components/schemas/ObjectServiceResponse' example: data: {} messages: - message: Not Found 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 '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 servers: - url: /dealsquery components: schemas: ServiceResponse: type: object properties: data: type: - string - 'null' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false AssociationDto: type: object properties: id: type: string description: The UiD of the association model format: uuid example: 118313c6-91e6-4b05-a537-5a1ab906418f sourceId: type: string description: The UiD of the Parent Entity format: uuid example: 2920b7a7-7336-4fb1-82b7-1d691b8367fa targetId: type: string description: The UiD of the Child Entity format: uuid example: 6b399cff-6e35-42a0-aaf0-69a94a008636 type: type: - string - 'null' description: The type of association example: Shareholder journeyId: type: string description: The UiD of the Journey that this association was created format: uuid example: 4a056330-18d2-4ec1-8b1e-c959ed4b5f12 isVerified: type: boolean description: Annotates whether the association has been validated example: true ownershipPercentage: type: - number - 'null' description: 'The percentage amount of the target entity owned by the source entity (optional)' format: double example: 5.007 controlPercentage: type: - number - 'null' description: 'The percentage amount of the target entity controlled by the source entity (optional)' format: double example: 23.4 markedForDeletion: uniqueItems: true type: - array - 'null' items: type: string format: uuid description: Lists the JourneyIds which have marked the association for deletion properties: type: - object - 'null' additionalProperties: type: - string - 'null' description: A list of custom properties that describe the association example: - Ownership Percentage: 15 - CountryOfIncorporation: Ireland subtype: type: - string - 'null' description: The subtype of association used for product association type example: Shareholder relationshipContext: allOf: - $ref: '#/components/schemas/RelationshipContexts' description: 'Identifies the relationship context for the association. Null when the IA RP feature is disabled or not applicable.' investmentAccountName: type: - string - 'null' description: 'The name of the investment account this RP is associated with. Null when the RP originates from the entity hierarchy only.' additionalProperties: false description: The metadata of an association between two entities RelationshipContexts: enum: - None - Hierarchy - InvestmentAccount - Both type: string description: 'Identifies the relationship context for a related party in the RPD&D task. Defined as a flags enum so that Fenergo.Nebula.Association.Query.Application.Enums.RelationshipContexts.Both is a true bitwise combination of Fenergo.Nebula.Association.Query.Application.Enums.RelationshipContexts.Hierarchy and Fenergo.Nebula.Association.Query.Application.Enums.RelationshipContexts.InvestmentAccount, allowing callers to use `HasFlag` to test individual origins.' AssociationDtoIEnumerableServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/AssociationDto' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false ServiceResponseMessage: type: object properties: message: type: - string - 'null' type: type: - string - 'null' errorCode: 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 CreateDraftsForAllEntitiesInDealRequestDto: type: object properties: journeyId: type: string format: uuid entityId: type: string format: uuid taskId: type: string format: uuid productIds: type: array items: type: string format: uuid additionalProperties: false CreateUrlToUploadFileRequestDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/CreateUrlToUploadFileRequestDto' additionalProperties: false CreateUrlToUploadFileResponseDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/CreateUrlToUploadFileResponseDto' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false CreateDealResponse: type: object properties: id: 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 DealPropertyType: enum: - Single - Group - Collection type: string CreateDraftsForAllEntitiesInDealRequestDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealRequestDto' additionalProperties: false DealDto: type: object properties: entityId: type: string format: uuid journeyId: type: string format: uuid requirementSetId: type: string format: uuid properties: type: object 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 CreateDraftsForAllEntitiesInDealResponse: type: object properties: dealDraftId: type: string format: uuid productIds: type: array items: type: string format: uuid associationIds: type: array items: type: string format: uuid covenantsConditionsId: type: string format: uuid additionalProperties: false Property: type: object properties: type: allOf: - $ref: '#/components/schemas/DealPropertyType' readOnly: true discriminator: allOf: - $ref: '#/components/schemas/DealPropertyType' readOnly: true additionalProperties: false CreateUrlToUploadFileRequestDto: type: object properties: fileName: type: string dataKey: type: string isRootContent: type: boolean dealDraftId: type: string format: uuid contentSize: type: integer format: int64 additionalProperties: false CreateDraftsForAllEntitiesInDealResponseServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/CreateDraftsForAllEntitiesInDealResponse' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false DealDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/DealDto' additionalProperties: false CreateUrlToUploadFileResponseDto: type: object properties: url: type: string fileIdentifier: type: string additionalProperties: false ValidationErrorModelListServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/ValidationErrorModel' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false example: data: - propertyName: data errorMessage: Data is required attemptedValue: '' errorCode: NotNullValidator messages: - message: Data is required type: Error errorCode: Error Code ValidationErrorModel: type: object properties: propertyName: type: - string - 'null' errorMessage: type: - string - 'null' attemptedValue: {} errorCode: type: - string - 'null' additionalProperties: false CreateDealResponseServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/CreateDealResponse' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false 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 DealsSnapshotDto: type: object properties: associatedProducts: type: - array - 'null' items: $ref: '#/components/schemas/SnapshotProduct' dealProductAssociations: type: - array - 'null' items: $ref: '#/components/schemas/AssociationDto_2' dealDrafts: type: - array - 'null' items: $ref: '#/components/schemas/DealDraft' verifiedDeals: type: - array - 'null' items: $ref: '#/components/schemas/Deal' additionalProperties: false GetRelatedDealsDataSourceResponseDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/GetRelatedDealsDataSourceResponseDto' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' 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 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 DealDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/DealDto_2' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' 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 CurrentJourneysDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true inProgressJourneyTypes: type: - array - 'null' items: type: string additionalProperties: false CurrentFieldDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true currentField: type: - string - 'null' 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 JourneyLevelDataDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true properties: allOf: - $ref: '#/components/schemas/PropertiesDto' additionalProperties: false PropertyDto: required: - discriminator type: object properties: discriminator: allOf: - $ref: '#/components/schemas/PropertyType' readOnly: true type: allOf: - $ref: '#/components/schemas/PropertyType' readOnly: true isValid: type: - boolean - 'null' additionalProperties: false discriminator: propertyName: discriminator mapping: Collection: '#/components/schemas/CollectionPropertyDto' Custom: '#/components/schemas/CustomPropertyDto' Single: '#/components/schemas/SinglePropertyDto' GetPreSignUrlForFileIdentifiersResponseDto: type: object properties: isRootContent: type: boolean urls: type: object additionalProperties: type: string 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 DealJourneyDto: type: object properties: id: type: string format: uuid dealDraftId: type: - string - 'null' 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_2' version: type: integer format: int32 created: type: string format: date-time status: type: - string - 'null' additionalProperties: false GetPreSignUrlForFileIdentifiersResponseDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/GetPreSignUrlForFileIdentifiersResponseDto' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false RelatedAssociationsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true relatedAssociations: type: - array - 'null' items: $ref: '#/components/schemas/RelatedAssociationDto' additionalProperties: false GetPreSignUrlForFileIdentifiersRequestDtoServiceRequest: type: object properties: data: allOf: - $ref: '#/components/schemas/GetPreSignUrlForFileIdentifiersRequestDto' 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 Deal: type: object properties: id: type: string format: uuid tenant: type: - string - 'null' version: type: integer format: int32 isLocked: type: boolean 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_2' isDeleted: type: boolean created: type: string format: date-time status: type: - string - 'null' additionalProperties: false ManualCreditAssessmentV2DataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true creditAssessments: type: - array - 'null' items: $ref: '#/components/schemas/CreditAssessmentDto' additionalProperties: false RelatedPartyDto: type: object properties: properties: allOf: - $ref: '#/components/schemas/PropertiesDto' metadata: type: - object - 'null' additionalProperties: type: - string - 'null' additionalProperties: false RelatedClientDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' 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 DealDtoIEnumerableServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/DealDto_2' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' additionalProperties: false ChangedFieldsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true changedFields: type: - array - 'null' items: $ref: '#/components/schemas/ChangedFieldDto' 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 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 CollateralDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true collaterals: type: - array - 'null' items: $ref: '#/components/schemas/CollateralDto' 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 AssociationDto_2: type: object properties: id: type: string isVerified: type: boolean journeyId: type: string sourceId: type: string targetId: type: string type: type: string additionalProperties: false SnapshotProduct: type: object properties: id: type: string type: type: string family: type: string properties: type: object additionalProperties: $ref: '#/components/schemas/PropertyDto' entityId: type: string status: type: - string - 'null' additionalProperties: false DealDto_2: type: object properties: id: 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_2' version: type: integer format: int32 created: type: string format: date-time status: type: - string - 'null' additionalProperties: false DealDraft: type: object properties: id: type: string format: uuid tenant: type: - string - 'null' version: type: integer format: int32 isLocked: type: boolean 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_2' isDeleted: type: boolean created: type: string format: date-time additionalProperties: false RelatedDealsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true relatedDeals: type: - array - 'null' items: $ref: '#/components/schemas/RelatedDealDto' additionalProperties: false RelatedAssetDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' additionalProperties: false RelatedDealDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' 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_2: required: - discriminator type: object properties: discriminator: allOf: - $ref: '#/components/schemas/DealPropertyType' readOnly: true type: allOf: - $ref: '#/components/schemas/DealPropertyType' readOnly: true additionalProperties: false discriminator: propertyName: discriminator mapping: Collection: '#/components/schemas/CollectionProperty' Group: '#/components/schemas/GroupProperty' Single: '#/components/schemas/SingleProperty' DealsSnapshotDtoServiceResponse: type: object properties: data: allOf: - $ref: '#/components/schemas/DealsSnapshotDto' messages: type: - array - 'null' items: $ref: '#/components/schemas/ServiceResponseMessage' 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 AutoCreditAssessmentDto: type: object properties: properties: type: - object - 'null' additionalProperties: $ref: '#/components/schemas/PropertyDto' assessmentOutcome: type: - string - 'null' providerInternalIdentifier: 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 SinglePropertyDto2: type: object properties: value: type: - string - 'null' valueId: type: - string - 'null' additionalProperties: false DealJourneyDtoIEnumerableServiceResponse: type: object properties: data: type: - array - 'null' items: $ref: '#/components/schemas/DealJourneyDto' 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 GetRelatedDealsDataSourceResponseDto: type: object properties: dataSources: allOf: - $ref: '#/components/schemas/DataSourcesDto' additionalProperties: false 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 ExternalDataAdapterDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true eventType: type: - string - 'null' eventSubtype: type: - string - 'null' additionalProperties: false RelatedAssetsDataSource: type: object properties: dataSource: type: - string - 'null' readOnly: true assets: type: - array - 'null' items: $ref: '#/components/schemas/RelatedAssetDto' additionalProperties: false GetPreSignUrlForFileIdentifiersRequestDto: type: object properties: isRootContent: type: boolean dataKey: type: string fileIdentifiers: type: array items: type: string dealDraftId: type: - string - 'null' format: uuid 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 x-refined-from: - fenergo-associationquery-v1-0-openapi.json - fenergo-dealscommand-v1-0-openapi.json - fenergo-dealsquery-v1-0-openapi.json