Class WorkflowsBankApi


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2024-11-05T16:45:10.687565Z[Etc/UTC]")
    public class WorkflowsBankApi
    extends Object
    • Constructor Detail

      • WorkflowsBankApi

        public WorkflowsBankApi()
      • WorkflowsBankApi

        @Autowired
        public WorkflowsBankApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • createWorkflow

        public reactor.core.publisher.Mono<WorkflowBankModel> createWorkflow​(PostWorkflowBankModel postWorkflowBankModel)
                                                                      throws org.springframework.web.reactive.function.client.WebClientResponseException
        Create Workflow Creates a workflow. ## State | State | Description | |-------|-------------| | storing | The Platform is storing the workflow details in our private store | | completed | The Platform has created the workflow | | failed | The workflow was not completed successfully | ## Plaid | Param | Description | |-------|-------------| | redirect_uri | All URIs must be registered with Cybrid. For local testing use `http://localhost:4200/bank-account-connect` | Required scope: **workflows:execute**

        201 - Workflow created

        400 - Invalid requests

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        422 - Unable to process request

        Parameters:
        postWorkflowBankModel - The postWorkflowBankModel parameter
        Returns:
        WorkflowBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • createWorkflowWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowBankModel>> createWorkflowWithHttpInfo​(PostWorkflowBankModel postWorkflowBankModel)
                                                                                                                           throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • getWorkflow

        public reactor.core.publisher.Mono<WorkflowWithDetailsBankModel> getWorkflow​(String workflowGuid)
                                                                              throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get Workflow Retrieves a workflow. Required scope: **workflows:read**

        200 - trade found

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        404 - workflow not found

        Parameters:
        workflowGuid - Identifier for the workflow.
        Returns:
        WorkflowWithDetailsBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • getWorkflowWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowWithDetailsBankModel>> getWorkflowWithHttpInfo​(String workflowGuid)
                                                                                                                                   throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException
      • listWorkflows

        public reactor.core.publisher.Mono<WorkflowsListBankModel> listWorkflows​(BigInteger page,
                                                                                 BigInteger perPage,
                                                                                 String guid,
                                                                                 String bankGuid,
                                                                                 String customerGuid)
                                                                          throws org.springframework.web.reactive.function.client.WebClientResponseException
        Get workflows list Retrieves a listing of workflows. Required scope: **workflows:read**

        200 - get list of workflows

        400 - Invalid requests

        401 - Unauthorized - Authentication failed,

        403 - Invalid scope

        Parameters:
        page - The page index to retrieve.
        perPage - The number of entities per page to return.
        guid - Comma separated workflow_guids to list workflows for.
        bankGuid - Comma separated bank_guids to list workflows for.
        customerGuid - Comma separated customer_guids to list workflows for.
        Returns:
        WorkflowsListBankModel
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException - if an error occurs while attempting to invoke the API
      • listWorkflowsWithHttpInfo

        public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<WorkflowsListBankModel>> listWorkflowsWithHttpInfo​(BigInteger page,
                                                                                                                                      BigInteger perPage,
                                                                                                                                      String guid,
                                                                                                                                      String bankGuid,
                                                                                                                                      String customerGuid)
                                                                                                                               throws org.springframework.web.reactive.function.client.WebClientResponseException
        Throws:
        org.springframework.web.reactive.function.client.WebClientResponseException