Schema

Scalars

Enums

Objects

Input Objects

RootMutationType (OBJECT)

Schema Definition

type RootMutationType {   # Clones the given case. Accepts both residential and buy to let cases.
cloneCase: Case!   # Completes the given case.
completeCase: Case!   # Creates a buy-to-let, BTL, case to run the affordability results for.
createBtlCase: Case!   # Creates a draft buy-to-let, BTL, case to run the affordability results lazily.
createBtlCaseDraft: Case!   # Creates a residential case to run the affordability results for.
createCase: Case!   # Creates a draft residential case to run the affordability results lazily.
createCaseDraft: Case!   # Creates a company with the given details for third-party API integration. Requires an integration token.
createCompany: CreateCompanyResult!   # Creates a new or updates an existing webhook subscription.
createOrUpdateWebhookSubscription: WebhookSubscription!   # Creates broker tokens with the given email address for third-party API integration. Requires a company token.
createTokenByEmail: String!   # Creates broker tokens with the given unique identifier for third-party API integration. Requires a company token.
createTokenByUuid: String!   # Creates broker tokens with the given email or uuid for third-party API integration. Requires a company token.
createTokenForBroker: String!   # Creates company tokens with the given fca number, company number or domain for third-party API integration. Requires an integration token.
createTokenForCompany: String!   # Creates a user with the given details for the current company.
createUser: User!   # Evaluates the results of the case. Accepts both residential and buy to let cases. Check `case_results` subscription for listening to the results as they arrive.
invokeCaseResults: Case!   # Creates a magic link for the specified action
magicLink: MagicLink!   # Updates details of a buy-to-let, or BTL, draft case.
updateBtlCaseDraft: Case!   # Updates details of a residential draft case.
updateCaseDraft: Case! }