{
  "x-generator": "NSwag v14.6.3.0 (NJsonSchema v11.5.2.0 (Newtonsoft.Json v13.0.0.0))",
  "openapi": "3.0.0",
  "info": {
    "title": "Confirm Reseller API",
    "description": "Endpoints available to external Confirm resellers.",
    "version": "v1"
  },
  "paths": {
    "/external/token/request/user": {
      "post": {
        "tags": [
          "External"
        ],
        "operationId": "RequestUserTokenForResellerEndpoint",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalSsoTokensRequestUserTokenForResellerResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/token/request": {
      "post": {
        "tags": [
          "External"
        ],
        "operationId": "RequestExternalTokenEndpoint",
        "requestBody": {
          "x-name": "Request",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalSsoTokensRequestExternalTokenRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalSsoTokensRequestExternalTokenResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/calls/{voiceId}/enroll": {
      "post": {
        "tags": [
          "External"
        ],
        "operationId": "ValidateForResellerEndpoint",
        "parameters": [
          {
            "name": "voiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "Request",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalPhoneCallsValidateForResellerRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/calls/{voiceId}/reject-voice": {
      "post": {
        "tags": [
          "External"
        ],
        "operationId": "RejectCallerVoiceForResellerEndpoint",
        "parameters": [
          {
            "name": "voiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/calls/queue": {
      "get": {
        "tags": [
          "External"
        ],
        "operationId": "GetCallQueueForResellerEndpoint",
        "parameters": [
          {
            "name": "searchString",
            "in": "query",
            "schema": {
              "type": "string",
              "nullable": true
            }
          },
          {
            "name": "continueFrom",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "pageSize",
            "in": "query",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int32"
            }
          },
          {
            "name": "startDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          },
          {
            "name": "endDate",
            "in": "query",
            "schema": {
              "type": "string",
              "format": "date-time",
              "nullable": true
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalPhoneCallsGetCallQueueResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/calls/{voiceId}/details": {
      "get": {
        "tags": [
          "External"
        ],
        "operationId": "GetCallDetailsByVoiceIdForResellerEndpoint",
        "parameters": [
          {
            "name": "voiceId",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "checkVoiceAuthentication",
            "in": "query",
            "required": true,
            "schema": {
              "type": "boolean"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalPhoneCallsGetCallDetailsResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/calls/assign": {
      "post": {
        "tags": [
          "External"
        ],
        "operationId": "AssignPhoneCallForResellerEndpoint",
        "requestBody": {
          "x-name": "Request",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalPhoneCallsAssignPhoneCallRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalPhoneCallsAssignPhoneCallResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/institutions/{key}": {
      "put": {
        "tags": [
          "External"
        ],
        "operationId": "UpdateInstitutionForReseller",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "x-name": "Request",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalInstitutionsUpdateInstitutionRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
                }
              }
            }
          }
        }
      },
      "get": {
        "tags": [
          "External"
        ],
        "operationId": "GetInstitutionByKeyForReseller",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalInstitutionsGetInstitutionByKeyResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/institutions/{key}/login": {
      "post": {
        "tags": [
          "External"
        ],
        "operationId": "LoginAsInstitutionForReseller",
        "parameters": [
          {
            "name": "key",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalInstitutionsLoginAsInstitutionResponse"
                }
              }
            }
          }
        }
      }
    },
    "/external/institutions": {
      "get": {
        "tags": [
          "External"
        ],
        "operationId": "GetAllInstitutionsForReseller",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalInstitutionsGetAllInstitutionsResponse"
                }
              }
            }
          }
        }
      },
      "post": {
        "tags": [
          "External"
        ],
        "operationId": "AddInstitutionForReseller",
        "requestBody": {
          "x-name": "Request",
          "description": "",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ConfirmBusinessEndpointsExternalInstitutionsAddInstitutionRequest"
              }
            }
          },
          "required": true,
          "x-position": 1
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/FastEndpointsErrorResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ConfirmBusinessEndpointsExternalSsoTokensRequestUserTokenForResellerResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "token": {
                "type": "string",
                "format": "guid",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmCoreBaseResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "success": {
            "type": "boolean"
          },
          "error": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "messages": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "code": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ConfirmBusinessEndpointsExternalSsoTokensRequestExternalTokenResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "token": {
                "type": "string",
                "format": "guid"
              },
              "expiresOn": {
                "type": "string",
                "format": "date-time"
              },
              "institutionKeys": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            }
          }
        ]
      },
      "ConfirmBusinessEndpointsExternalSsoTokensRequestExternalTokenRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "email": {
            "type": "string"
          },
          "password": {
            "type": "string"
          }
        }
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsValidateForResellerRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "personId": {
            "type": "string"
          },
          "validationType": {
            "$ref": "#/components/schemas/ConfirmCoreApiCoreSharedInterfacesValidationType"
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ConfirmCoreApiCoreSharedInterfacesValidationType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "VoiceAuth",
          "OneTimePasswordAuth",
          "KnowledgeBasedAuth",
          "NoAuth",
          "Other"
        ],
        "enum": [
          "VoiceAuth",
          "OneTimePasswordAuth",
          "KnowledgeBasedAuth",
          "NoAuth",
          "Other"
        ]
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsRejectCallerVoiceRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsGetCallQueueResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "phoneCalls": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmBusinessPhoneCallFacadeQueuePhoneModel"
                }
              }
            }
          }
        ]
      },
      "ConfirmBusinessPhoneCallFacadeQueuePhoneModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneNumber": {
            "type": "string"
          },
          "voiceId": {
            "type": "string"
          },
          "personId": {
            "type": "string",
            "nullable": true
          },
          "coreUsername": {
            "type": "string",
            "nullable": true
          },
          "startDateTime": {
            "type": "string",
            "format": "date-time"
          },
          "persons": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConfirmCoreApiCoreSharedModelsFindPersonByResult"
            }
          }
        }
      },
      "ConfirmCoreApiCoreSharedModelsFindPersonByResult": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string"
          },
          "personId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "last4Ssn": {
            "type": "string",
            "nullable": true
          },
          "fullSsn": {
            "type": "string",
            "nullable": true
          },
          "driverLicense": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmCoreApiCoreSharedModelsDriverLicense"
              }
            ]
          },
          "valueForCore": {
            "type": "string"
          },
          "dateOfBirth": {
            "type": "string",
            "format": "date",
            "nullable": true
          },
          "supportPassword": {
            "type": "string",
            "nullable": true
          },
          "personType": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmCoreApiCoreSharedModelsPersonType"
              }
            ]
          }
        }
      },
      "ConfirmCoreApiCoreSharedModelsDriverLicense": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "number": {
            "type": "string",
            "nullable": true
          },
          "issuer": {
            "type": "string",
            "nullable": true
          },
          "expirationDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        }
      },
      "ConfirmCoreApiCoreSharedModelsPersonType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Primary",
          "Joint",
          "Beneficiary",
          "AuthorizedSigner",
          "CoBorrower",
          "CoSigner"
        ],
        "enum": [
          "Primary",
          "Joint",
          "Beneficiary",
          "AuthorizedSigner",
          "CoBorrower",
          "CoSigner"
        ]
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsGetCallQueueRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsGetCallDetailsResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "phoneCall": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmBusinessPhoneCallModel"
                  }
                ]
              }
            }
          }
        ]
      },
      "ConfirmBusinessPhoneCallModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneCallId": {
            "type": "integer",
            "format": "int32"
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "voiceId": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "nullable": true
          },
          "isVerified": {
            "type": "boolean"
          },
          "isEnrolled": {
            "type": "boolean"
          },
          "isAccountEnrolled": {
            "type": "boolean"
          },
          "isVoiceEnrolled": {
            "type": "boolean"
          },
          "isBehaviorEnrolled": {
            "type": "boolean"
          },
          "isDeviceEnrolled": {
            "type": "boolean"
          },
          "successfulVoiceEnrollment": {
            "type": "boolean"
          },
          "isVoiceVerified": {
            "type": "boolean"
          },
          "isVoiceMismatch": {
            "type": "boolean"
          },
          "isHighRiskDevice": {
            "type": "boolean"
          },
          "verifiedDateTimeUtc": {
            "type": "string",
            "format": "date-time"
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "coreUsername": {
            "type": "string",
            "nullable": true
          },
          "createdDateUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedDateUtc": {
            "type": "string",
            "format": "date-time"
          },
          "status": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainPersonActivityStatus"
              }
            ]
          },
          "metaData": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmBusinessPhoneCallMetaDataModel"
              }
            ]
          },
          "voiceAuthenticationError": {
            "type": "string",
            "nullable": true
          },
          "callEnded": {
            "type": "boolean"
          },
          "callDuration": {
            "type": "string",
            "nullable": true
          },
          "valueForCore": {
            "type": "string",
            "nullable": true
          },
          "validationRuleId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "validationRuleName": {
            "type": "string",
            "nullable": true
          },
          "verificationQuestions": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "hasVoiceMatchValidationRule": {
            "type": "boolean"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "researchCase": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmBusinessResearchCasesHandlersModelsResearchCaseModel"
              }
            ]
          },
          "pindropEvents": {
            "type": "array",
            "nullable": true,
            "items": {
              "$ref": "#/components/schemas/ConfirmBusinessPindropEventDto"
            }
          }
        }
      },
      "ConfirmDomainPersonActivityStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "CheckRiskAndAuthentication",
          "FullAuthentication",
          "FullAuthenticationUnenrolled",
          "AcceptCallerVoice",
          "AnsweredQuestions",
          "MFAValidated",
          "RejectCallerVoice",
          "CallEnded",
          "CallStarted",
          "SentEmailMFA",
          "SentSmsMFA",
          "VoiceOptIn",
          "VoiceOptOut",
          "RejectCallerVoiceFromValidationRule",
          "VoiceMismatch",
          "GrabbedCall",
          "AgentViewed"
        ],
        "enum": [
          "CheckRiskAndAuthentication",
          "FullAuthentication",
          "FullAuthenticationUnenrolled",
          "AcceptCallerVoice",
          "AnsweredQuestions",
          "MFAValidated",
          "RejectCallerVoice",
          "CallEnded",
          "CallStarted",
          "SentEmailMFA",
          "SentSmsMFA",
          "VoiceOptIn",
          "VoiceOptOut",
          "RejectCallerVoiceFromValidationRule",
          "VoiceMismatch",
          "GrabbedCall",
          "AgentViewed"
        ]
      },
      "ConfirmBusinessPhoneCallMetaDataModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "pindropPolicies": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "ConfirmBusinessResearchCasesHandlersModelsResearchCaseModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid"
          },
          "voiceId": {
            "type": "string"
          },
          "phoneNumber": {
            "type": "string"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "nullable": true
          },
          "userNameAssigned": {
            "type": "string",
            "nullable": true
          },
          "valueForCore": {
            "type": "string",
            "nullable": true
          },
          "comment": {
            "type": "string",
            "nullable": true
          },
          "callStartDateUtc": {
            "type": "string",
            "format": "date-time"
          },
          "researchStatus": {
            "$ref": "#/components/schemas/ConfirmDomainEntitiesResearchCaseResearchStatus"
          },
          "otherCalls": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfirmBusinessPhoneCallModel"
            }
          }
        }
      },
      "ConfirmDomainEntitiesResearchCaseResearchStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "NeedsReview",
          "InReview",
          "DeterminedFraud",
          "FalsePositive",
          "SystemArchived"
        ],
        "enum": [
          "NeedsReview",
          "InReview",
          "DeterminedFraud",
          "FalsePositive",
          "SystemArchived"
        ]
      },
      "ConfirmBusinessPindropEventDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "currentTime": {
            "type": "string",
            "format": "date-time"
          },
          "customerId": {
            "type": "string",
            "format": "guid"
          },
          "eventId": {
            "type": "string",
            "format": "guid"
          },
          "eventType": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "integer",
            "format": "int32"
          },
          "call": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmBusinessPindropCallDto"
              }
            ]
          },
          "createdDateUtc": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "pindropEventDbId": {
            "type": "string",
            "format": "guid",
            "nullable": true
          }
        }
      },
      "ConfirmBusinessPindropCallDto": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "account": {
            "type": "string",
            "nullable": true
          },
          "accountRiskLastUpdated": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "accountRiskStatus": {
            "type": "string",
            "nullable": true
          },
          "agentStartTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "assignedAnalyst": {
            "type": "string",
            "nullable": true
          },
          "authenticationFeedback": {
            "type": "string",
            "nullable": true
          },
          "authenticationPolicy": {
            "type": "string"
          },
          "authenticationResult": {
            "type": "boolean"
          },
          "authenticationScore": {
            "type": "string",
            "nullable": true
          },
          "behaviorRisk": {
            "type": "string",
            "nullable": true
          },
          "callEndTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "callStartTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "callerIdBlacklisted": {
            "type": "string",
            "nullable": true
          },
          "callerIdStatus": {
            "type": "string",
            "nullable": true
          },
          "callerIdValidated": {
            "type": "boolean"
          },
          "callerIdWhitelisted": {
            "type": "string",
            "nullable": true
          },
          "carrier": {
            "type": "string",
            "nullable": true
          },
          "caseClosedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "caseCreatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "caseNotes": {
            "type": "string",
            "nullable": true
          },
          "casePolicyName": {
            "type": "string",
            "nullable": true
          },
          "caseRefId": {
            "type": "string",
            "nullable": true
          },
          "caseStatus": {
            "type": "string",
            "nullable": true
          },
          "caseUpdatedAt": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "correlationAltId": {
            "type": "string",
            "nullable": true
          },
          "customStatus": {
            "type": "string",
            "nullable": true
          },
          "destinationPhoneNumber": {
            "type": "string",
            "nullable": true
          },
          "deviceRisk": {
            "type": "string",
            "nullable": true
          },
          "deviceScore": {
            "type": "string",
            "nullable": true
          },
          "deviceType": {
            "type": "string",
            "nullable": true
          },
          "duration": {
            "type": "number",
            "format": "decimal"
          },
          "enrollmentPolicy": {
            "type": "string",
            "nullable": true
          },
          "eventId": {
            "type": "string",
            "format": "guid"
          },
          "eventType": {
            "type": "string",
            "nullable": true
          },
          "fraudStatus": {
            "type": "string",
            "nullable": true
          },
          "fraudType": {
            "type": "string",
            "nullable": true
          },
          "ivrStartTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lineOfBusiness": {
            "type": "string",
            "nullable": true
          },
          "location": {
            "type": "string",
            "nullable": true
          },
          "openedBy": {
            "type": "string",
            "nullable": true
          },
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "pindropCallId": {
            "type": "string",
            "nullable": true
          },
          "riskReasons": {
            "type": "string",
            "nullable": true
          },
          "riskResult": {
            "type": "string",
            "nullable": true
          },
          "riskScore": {
            "type": "string"
          },
          "spoofingRiskReasons": {
            "type": "string",
            "nullable": true
          },
          "spoofingRiskScore": {
            "type": "string",
            "nullable": true
          },
          "version": {
            "type": "string",
            "nullable": true
          },
          "voiceRisk": {
            "type": "string",
            "nullable": true
          },
          "voiceScore": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          }
        }
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsGetCallDetailsRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsAssignPhoneCallResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "voiceId": {
                "type": "string"
              }
            }
          }
        ]
      },
      "ConfirmBusinessEndpointsExternalPhoneCallsAssignPhoneCallRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneNumber": {
            "type": "string",
            "nullable": true
          },
          "voiceId": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string"
          }
        }
      },
      "ConfirmBusinessEndpointsExternalInstitutionsUpdateInstitutionRequest": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "name": {
            "type": "string",
            "nullable": true
          },
          "core": {
            "$ref": "#/components/schemas/ConfirmDomainSupportedCores"
          }
        }
      },
      "ConfirmDomainSupportedCores": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Keystone",
          "Symitar",
          "None"
        ],
        "enum": [
          "Keystone",
          "Symitar",
          "None"
        ]
      },
      "ConfirmBusinessEndpointsExternalInstitutionsLoginAsInstitutionResponse": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "token": {
            "type": "string",
            "format": "guid"
          },
          "actions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfirmBusinessSsoAction"
            }
          }
        }
      },
      "ConfirmBusinessSsoAction": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ssoUrl": {
            "type": "string"
          },
          "actionText": {
            "type": "string",
            "nullable": true
          },
          "isHidden": {
            "type": "boolean"
          },
          "ssoUrlIE": {
            "type": "string"
          },
          "ssoUrlNew": {
            "type": "string"
          }
        }
      },
      "ConfirmBusinessEndpointsExternalInstitutionsLoginAsInstitutionRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ConfirmBusinessEndpointsExternalInstitutionsGetInstitutionByKeyResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "institution": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmModelsInstitutionListResponse_InstitutionModel"
                  }
                ]
              }
            }
          }
        ]
      },
      "ConfirmModelsInstitutionListResponse_InstitutionModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "hostName": {
            "type": "string",
            "nullable": true
          },
          "allowedPhones": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "allowedEmails": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "isTestMode": {
            "type": "boolean"
          },
          "mailgunDomain": {
            "type": "string",
            "nullable": true
          },
          "fromEmail": {
            "type": "string",
            "nullable": true
          },
          "key": {
            "type": "string",
            "nullable": true
          },
          "hasVoiceAuth": {
            "type": "boolean"
          },
          "core": {
            "$ref": "#/components/schemas/ConfirmDomainSupportedCores"
          },
          "coreConfig": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainCoreConfig"
              }
            ]
          },
          "vpnConfig": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmBusinessAdminInstitutionModelsVpnConfigModel"
              }
            ]
          },
          "allowedOrigins": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string"
            }
          },
          "contacts": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfirmModelsInstitutionListResponse_ContactModel"
            }
          },
          "voiceConfig": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainEntitiesInstitutionVoiceConfigVoiceConfig"
              }
            ]
          },
          "billingConfig": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainEntitiesInstitutionValueObjectsInstitutionBillingConfig"
              }
            ]
          },
          "classification": {
            "$ref": "#/components/schemas/ConfirmDomainClassification"
          },
          "status": {
            "$ref": "#/components/schemas/ConfirmDomainInstitutionStatus"
          },
          "usesIpWhitelisting": {
            "type": "boolean"
          }
        }
      },
      "ConfirmDomainCoreConfig": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "coreConfigId": {
                "type": "integer",
                "format": "int32"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "url": {
                "type": "string",
                "nullable": true
              },
              "cloudflareAccessKey": {
                "type": "string",
                "nullable": true
              },
              "symitarSym": {
                "type": "string",
                "nullable": true
              },
              "symitarDeviceName": {
                "type": "string",
                "nullable": true
              },
              "symitarDeviceNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "symitarClientNumber": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "symitarSysUserNum": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "symitarAdminPassword": {
                "type": "string",
                "nullable": true
              },
              "symitarValidationTrackingRecord": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "keystoneUsername": {
                "type": "string",
                "nullable": true
              },
              "keystonePassword": {
                "type": "string",
                "nullable": true
              },
              "keystoneDeviceName": {
                "type": "string",
                "nullable": true
              },
              "keystoneInteractionTypeSerial": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "keystoneInteractionVoice": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "keystoneInteractionNonVoice": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "keystoneInteractionChannelSerial": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "keystoneInteractionNoAuthSerial": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "keystoneVoiceOptOutNoteTypeSerial": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "keystoneUiUrl": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmDomainBaseEntity": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "createdDateUtc",
          "updatedDateUtc"
        ],
        "properties": {
          "createdDateUtc": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          },
          "updatedDateUtc": {
            "type": "string",
            "format": "date-time",
            "minLength": 1
          }
        }
      },
      "ConfirmBusinessAdminInstitutionModelsVpnConfigModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "gatewayIp": {
            "type": "string"
          },
          "deviceAndModel": {
            "type": "string"
          },
          "authenticationValue": {
            "type": "string"
          },
          "firmwareVersion": {
            "type": "string"
          },
          "tunnelInterface": {
            "type": "string"
          },
          "sourceIp": {
            "type": "string"
          },
          "destinationIp": {
            "type": "string"
          },
          "createdDateUtc": {
            "type": "string",
            "format": "date-time"
          },
          "updatedDateUtc": {
            "type": "string",
            "format": "date-time"
          },
          "confirmStatus": {
            "$ref": "#/components/schemas/ConfirmDomainVpnStatus"
          },
          "institutionStatus": {
            "$ref": "#/components/schemas/ConfirmDomainVpnStatus"
          },
          "ticket": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainTicket"
              }
            ]
          }
        }
      },
      "ConfirmDomainVpnStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Pending",
          "Configured",
          "ConnectionSuccessful"
        ],
        "enum": [
          "Pending",
          "Configured",
          "ConnectionSuccessful"
        ]
      },
      "ConfirmDomainTicket": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ticketId": {
                "type": "string",
                "format": "guid"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "subject": {
                "type": "string"
              },
              "createdByUserId": {
                "type": "integer",
                "format": "int32"
              },
              "ticketMessages": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainTicketMessage"
                }
              },
              "status": {
                "$ref": "#/components/schemas/ConfirmDomainTicketStatus"
              }
            }
          }
        ]
      },
      "ConfirmDomainInstitution": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "name"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "name": {
                "type": "string",
                "minLength": 1
              },
              "key": {
                "type": "string",
                "nullable": true
              },
              "hostName": {
                "type": "string",
                "nullable": true
              },
              "shareType": {
                "type": "string",
                "nullable": true
              },
              "allowedPhones": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "allowedEmails": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "isTestMode": {
                "type": "boolean"
              },
              "adminUsernames": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "mailgunDomain": {
                "type": "string",
                "nullable": true
              },
              "fromEmail": {
                "type": "string",
                "nullable": true
              },
              "core": {
                "$ref": "#/components/schemas/ConfirmDomainSupportedCores"
              },
              "version": {
                "type": "string",
                "nullable": true
              },
              "status": {
                "$ref": "#/components/schemas/ConfirmDomainInstitutionStatus"
              },
              "coreConfig": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainCoreConfig"
                  }
                ]
              },
              "allowedOrigins": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "vpnConfig": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainVpnConfig"
                  }
                ]
              },
              "tickets": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainTicket"
                }
              },
              "users": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainUsersUser"
                }
              },
              "allowedIps": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainAllowedIp"
                }
              },
              "voiceConfig": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainEntitiesInstitutionVoiceConfigVoiceConfig"
                  }
                ]
              },
              "validationRules": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainValidationRule"
                }
              },
              "researchCases": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainEntitiesResearchCaseResearchCase"
                }
              },
              "billingConfig": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainEntitiesInstitutionValueObjectsInstitutionBillingConfig"
                  }
                ]
              },
              "useChromium": {
                "type": "boolean"
              },
              "useCcaasInterface": {
                "type": "boolean"
              },
              "usesIpWhitelisting": {
                "type": "boolean"
              },
              "defaultVerificationTab": {
                "$ref": "#/components/schemas/ConfirmDomainDefaultVerificationTab"
              },
              "classification": {
                "$ref": "#/components/schemas/ConfirmDomainClassification"
              },
              "resellerInstitutions": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainUsersReselllerInstitution"
                }
              },
              "syncSettings": {
                "$ref": "#/components/schemas/ConfirmDomainEntitiesInstitutionValueObjectsSyncSettings"
              },
              "confirmDatacenterEndpoint": {
                "type": "string",
                "nullable": true
              },
              "firewallIpsAcknowledged": {
                "type": "boolean"
              },
              "corePingSuccessful": {
                "type": "boolean"
              },
              "chatWidgetSlug": {
                "type": "string",
                "nullable": true
              },
              "ccaasEnabled": {
                "type": "boolean"
              },
              "ccaasSettingsJson": {
                "type": "string",
                "nullable": true
              },
              "aiAssistEnabled": {
                "type": "boolean"
              },
              "alertOnHighRiskSpike": {
                "type": "boolean"
              },
              "alertOnVoiceMismatchSpike": {
                "type": "boolean"
              },
              "highRiskSpikeThresholdPctOverride": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "voiceMismatchSpikeThresholdPctOverride": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "minSpikeEventCountOverride": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmDomainInstitutionStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Active",
          "Disabled",
          "Review"
        ],
        "enum": [
          "Active",
          "Disabled",
          "Review"
        ]
      },
      "ConfirmDomainVpnConfig": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "vpnType": {
                "$ref": "#/components/schemas/ConfirmDomainVpnType"
              },
              "gatewayIp": {
                "type": "string"
              },
              "deviceAndModel": {
                "type": "string"
              },
              "authenticationMethod": {
                "$ref": "#/components/schemas/ConfirmDomainAuthenticationMethod"
              },
              "authenticationValue": {
                "type": "string"
              },
              "firmwareVersion": {
                "type": "string"
              },
              "tunnelInterface": {
                "type": "string"
              },
              "sourceIp": {
                "type": "string"
              },
              "destinationIp": {
                "type": "string"
              },
              "confirmStatus": {
                "$ref": "#/components/schemas/ConfirmDomainVpnStatus"
              },
              "institutionStatus": {
                "$ref": "#/components/schemas/ConfirmDomainVpnStatus"
              },
              "ticketId": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "ticket": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainTicket"
                  }
                ]
              }
            }
          }
        ]
      },
      "ConfirmDomainVpnType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "IpSec"
        ],
        "enum": [
          "IpSec"
        ]
      },
      "ConfirmDomainAuthenticationMethod": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "PreSharedKey"
        ],
        "enum": [
          "PreSharedKey"
        ]
      },
      "ConfirmDomainUsersUser": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "email",
              "userType"
            ],
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "email": {
                "type": "string",
                "minLength": 1
              },
              "userType": {
                "$ref": "#/components/schemas/ConfirmDomainUsersUserType"
              },
              "password": {
                "type": "string",
                "nullable": true
              },
              "institutionId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "institution": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainInstitution"
                  }
                ]
              },
              "userGroup": {
                "$ref": "#/components/schemas/ConfirmDomainUsersUserGroup"
              },
              "firstName": {
                "type": "string",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "nullable": true
              },
              "phone": {
                "type": "string",
                "nullable": true
              },
              "title": {
                "type": "string",
                "nullable": true
              },
              "companyName": {
                "type": "string",
                "nullable": true
              },
              "coreUsername": {
                "type": "string",
                "nullable": true
              },
              "deletedDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "isHidden": {
                "type": "boolean"
              },
              "maxConcurrentVoice": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "maxConcurrentChat": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "agentState": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainCCaaSAgentStatus"
                  }
                ]
              },
              "isCcaasAgent": {
                "type": "boolean"
              },
              "researchCases": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainEntitiesResearchCaseResearchCase"
                }
              }
            }
          }
        ]
      },
      "ConfirmDomainUsersUserType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Confirm",
          "Institution"
        ],
        "enum": [
          "Confirm",
          "Institution"
        ]
      },
      "ConfirmDomainUsersUserGroup": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Agent",
          "IT",
          "Admin",
          "Manager",
          "ServiceAccount",
          "Anonymous"
        ],
        "enum": [
          "Agent",
          "IT",
          "Admin",
          "Manager",
          "ServiceAccount",
          "Anonymous"
        ]
      },
      "ConfirmDomainCCaaSAgentStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "available",
          "busy",
          "away",
          "offline",
          "break",
          "on_call",
          "acw",
          "dnd",
          "ringing"
        ],
        "enum": [
          "available",
          "busy",
          "away",
          "offline",
          "break",
          "on_call",
          "acw",
          "dnd",
          "ringing"
        ]
      },
      "ConfirmDomainEntitiesResearchCaseResearchCase": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "format": "guid"
              },
              "phoneCallId": {
                "type": "integer",
                "format": "int32"
              },
              "phoneCall": {
                "$ref": "#/components/schemas/ConfirmDomainPhoneCall"
              },
              "comment": {
                "type": "string",
                "nullable": true
              },
              "status": {
                "$ref": "#/components/schemas/ConfirmDomainEntitiesResearchCaseResearchStatus"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "institution": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainInstitution"
                  }
                ]
              },
              "userId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "user": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainUsersUser"
                  }
                ]
              }
            }
          }
        ]
      },
      "ConfirmDomainPhoneCall": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "phoneCallId": {
                "type": "integer",
                "format": "int32"
              },
              "phoneNumber": {
                "type": "string",
                "nullable": true
              },
              "voiceId": {
                "type": "string"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "institution": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainInstitution"
                  }
                ]
              },
              "personId": {
                "type": "string",
                "nullable": true
              },
              "person": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainPerson"
                  }
                ]
              },
              "valueForCore": {
                "type": "string",
                "nullable": true
              },
              "isVerified": {
                "type": "boolean"
              },
              "isVoiceVerified": {
                "type": "boolean"
              },
              "isVoiceMismatch": {
                "type": "boolean"
              },
              "isHighRiskDevice": {
                "type": "boolean"
              },
              "isAccountEnrolled": {
                "type": "boolean"
              },
              "isVoiceEnrolled": {
                "type": "boolean"
              },
              "isBehaviorEnrolled": {
                "type": "boolean"
              },
              "isDeviceEnrolled": {
                "type": "boolean"
              },
              "successfulVoiceEnrollment": {
                "type": "boolean"
              },
              "notes": {
                "type": "string",
                "nullable": true
              },
              "coreUsername": {
                "type": "string",
                "nullable": true
              },
              "latestStatus": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainPersonActivityStatus"
                  }
                ]
              },
              "destinationPhoneNumber": {
                "type": "string",
                "nullable": true
              },
              "phoneNumbersInCore": {
                "type": "string",
                "nullable": true
              },
              "emailsInCore": {
                "type": "string",
                "nullable": true
              },
              "callEnded": {
                "type": "boolean"
              },
              "callEndedDateTimeUtc": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "metaData": {
                "type": "string",
                "nullable": true
              },
              "phoneCallActivity": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainPersonActivity"
                }
              },
              "voiceAuthenticationError": {
                "type": "string",
                "nullable": true
              },
              "validationRuleId": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "validationRule": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainValidationRule"
                  }
                ]
              },
              "grabbedDateTimeUtc": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "numberMatchedOnCore": {
                "type": "boolean",
                "nullable": true
              },
              "questionVerifications": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainQuestionVerification"
                }
              },
              "researchCase": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainEntitiesResearchCaseResearchCase"
                  }
                ]
              },
              "pindropEvents": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainPindropEvent"
                }
              },
              "systemEndedCall": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "ConfirmDomainPerson": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "voiceAuthEnabled",
              "institutionId"
            ],
            "properties": {
              "personId": {
                "type": "string"
              },
              "voiceAuthEnabled": {
                "type": "boolean"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "validationRuleId": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "validationRule": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainValidationRule"
                  }
                ]
              },
              "firstName": {
                "type": "string",
                "nullable": true
              },
              "lastName": {
                "type": "string",
                "nullable": true
              },
              "phoneCalls": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainPhoneCall"
                }
              }
            }
          }
        ]
      },
      "ConfirmDomainValidationRule": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "format": "guid"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "description": {
                "type": "string"
              },
              "isDefault": {
                "type": "boolean"
              },
              "minQuestionsWithoutOtp": {
                "type": "integer",
                "format": "int32"
              },
              "minQuestionsWithOtp": {
                "type": "integer",
                "format": "int32"
              },
              "minBalance": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "minNumberOfRequiredQuestions": {
                "type": "integer",
                "format": "int32"
              },
              "persons": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainPerson"
                }
              },
              "phoneCalls": {
                "type": "array",
                "nullable": true,
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainPhoneCall"
                }
              },
              "deletedDateTimeUtc": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              },
              "applyToHighRisk": {
                "type": "boolean"
              },
              "applyToVoiceMismatch": {
                "type": "boolean"
              },
              "applyToVoiceMatch": {
                "type": "boolean"
              },
              "applyToPhoneMismatch": {
                "type": "boolean"
              }
            }
          }
        ]
      },
      "ConfirmDomainPersonActivity": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "personActivityId": {
                "type": "integer",
                "format": "int32"
              },
              "phoneCallId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "phoneCall": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainPhoneCall"
                  }
                ]
              },
              "personId": {
                "type": "string",
                "nullable": true
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "status": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainPersonActivityStatus"
                  }
                ]
              },
              "isVerified": {
                "type": "boolean"
              },
              "pindropEventId": {
                "type": "string",
                "format": "guid",
                "nullable": true
              },
              "pindropEvent": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainPindropEvent"
                  }
                ]
              },
              "coreUsername": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmDomainPindropEvent": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "jsonBody"
            ],
            "properties": {
              "pindropEventId": {
                "type": "string",
                "format": "guid"
              },
              "jsonBody": {
                "type": "string",
                "minLength": 1
              },
              "voiceId": {
                "type": "string",
                "nullable": true
              },
              "alternateId": {
                "type": "string",
                "nullable": true
              },
              "eventType": {
                "type": "string",
                "nullable": true
              },
              "voiceScore": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "deviceScore": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "riskScore": {
                "type": "number",
                "format": "decimal",
                "nullable": true
              },
              "phoneCall": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainPhoneCall"
                  }
                ]
              },
              "lastRebuildDateTimeUtc": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmDomainQuestionVerification": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "format": "guid"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "questionId": {
                "type": "string",
                "format": "guid"
              },
              "question": {
                "$ref": "#/components/schemas/ConfirmDomainQuestion"
              },
              "phoneCallId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "phoneCall": {
                "$ref": "#/components/schemas/ConfirmDomainPhoneCall"
              },
              "personId": {
                "type": "string"
              },
              "person": {
                "$ref": "#/components/schemas/ConfirmDomainPerson"
              }
            }
          }
        ]
      },
      "ConfirmDomainQuestion": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "format": "guid"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "description": {
                "type": "string"
              },
              "isRequired": {
                "type": "boolean"
              },
              "sortOrder": {
                "type": "integer",
                "format": "int32"
              },
              "isSystemProvided": {
                "type": "boolean"
              },
              "deletedDateTime": {
                "type": "string",
                "format": "date-time",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmDomainAllowedIp": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "string",
                "format": "guid"
              },
              "comment": {
                "type": "string"
              },
              "ip": {
                "type": "string"
              },
              "status": {
                "$ref": "#/components/schemas/ConfirmDomainIpStatus"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "institution": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainInstitution"
                  }
                ]
              }
            }
          }
        ]
      },
      "ConfirmDomainIpStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Review",
          "Approved",
          "Declined"
        ],
        "enum": [
          "Review",
          "Approved",
          "Declined"
        ]
      },
      "ConfirmDomainEntitiesInstitutionVoiceConfigVoiceConfig": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "hasVoiceAuth": {
                "type": "boolean"
              },
              "callCenterPhoneNumbers": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "ignoredPhoneNumbers": {
                "type": "array",
                "nullable": true,
                "items": {
                  "type": "string"
                }
              },
              "voiceSetupType": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainEntitiesInstitutionVoiceConfigVoiceSetupType"
                  }
                ]
              },
              "hostedPhoneSystem": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainEntitiesInstitutionVoiceConfigHostedPhoneSystem"
                  }
                ]
              },
              "sipTrunkIpAddress": {
                "type": "string",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmDomainEntitiesInstitutionVoiceConfigVoiceSetupType": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "SipTrunk",
          "Forwarding"
        ],
        "enum": [
          "SipTrunk",
          "Forwarding"
        ]
      },
      "ConfirmDomainEntitiesInstitutionVoiceConfigHostedPhoneSystem": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "RingCentral",
          "Five9",
          "GenesysCloudCX",
          "NiceCXone",
          "Odigo",
          "AvayaOneCloud"
        ],
        "enum": [
          "RingCentral",
          "Five9",
          "GenesysCloudCX",
          "NiceCXone",
          "Odigo",
          "AvayaOneCloud"
        ]
      },
      "ConfirmDomainEntitiesInstitutionValueObjectsInstitutionBillingConfig": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "monthly": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "hosting": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "smsPrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "emailPrice": {
            "type": "number",
            "format": "decimal",
            "nullable": true
          },
          "nextBillingDate": {
            "type": "string",
            "format": "date",
            "nullable": true
          }
        }
      },
      "ConfirmDomainDefaultVerificationTab": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Otp",
          "KnowledgeQuestions"
        ],
        "enum": [
          "Otp",
          "KnowledgeQuestions"
        ]
      },
      "ConfirmDomainClassification": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Bank",
          "CreditUnion",
          "Reseller",
          "Other",
          "CertManager"
        ],
        "enum": [
          "Bank",
          "CreditUnion",
          "Reseller",
          "Other",
          "CertManager"
        ]
      },
      "ConfirmDomainUsersReselllerInstitution": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "id": {
                "type": "integer",
                "format": "int32"
              },
              "institutionId": {
                "type": "integer",
                "format": "int32"
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "childInstitutionId": {
                "type": "integer",
                "format": "int32"
              },
              "childInstitution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              }
            }
          }
        ]
      },
      "ConfirmDomainEntitiesInstitutionValueObjectsSyncSettings": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "isSyncEnabled": {
            "type": "boolean"
          },
          "lastSyncStartDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "lastSyncEndDateTime": {
            "type": "string",
            "format": "date-time",
            "nullable": true
          },
          "batchesInParallel": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "recordsPerBatch": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lastProcessedBatchIndex": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "lastSyncError": {
            "type": "string",
            "nullable": true
          },
          "startingAccountNumber": {
            "type": "string",
            "nullable": true
          },
          "syncInProgress": {
            "type": "boolean",
            "nullable": true
          },
          "batchDelayMs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "accountDelayMs": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        }
      },
      "ConfirmDomainTicketMessage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "ticketMessageId": {
                "type": "string",
                "format": "guid"
              },
              "ticketId": {
                "type": "string",
                "format": "guid"
              },
              "ticket": {
                "$ref": "#/components/schemas/ConfirmDomainTicket"
              },
              "userId": {
                "type": "integer",
                "format": "int32"
              },
              "user": {
                "$ref": "#/components/schemas/ConfirmDomainUsersUser"
              },
              "message": {
                "type": "string"
              },
              "attachements": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmDomainTicketMessageAttachment"
                }
              }
            }
          }
        ]
      },
      "ConfirmDomainTicketMessageAttachment": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "messageAttachementId": {
                "type": "string",
                "format": "guid"
              },
              "ticketMessageId": {
                "type": "string",
                "format": "guid"
              },
              "ticketMessage": {
                "$ref": "#/components/schemas/ConfirmDomainTicketMessage"
              },
              "fileName": {
                "type": "string"
              },
              "attachmentSource": {
                "$ref": "#/components/schemas/ConfirmDomainAttachmentSource"
              },
              "sourceId": {
                "type": "string"
              }
            }
          }
        ]
      },
      "ConfirmDomainAttachmentSource": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "GoogleDrive"
        ],
        "enum": [
          "GoogleDrive"
        ]
      },
      "ConfirmDomainTicketStatus": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "Open",
          "Closed"
        ],
        "enum": [
          "Open",
          "Closed"
        ]
      },
      "ConfirmModelsInstitutionListResponse_ContactModel": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "integer",
            "format": "int32"
          },
          "firstName": {
            "type": "string",
            "nullable": true
          },
          "lastName": {
            "type": "string",
            "nullable": true
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string",
            "nullable": true
          },
          "coreUsername": {
            "type": "string",
            "nullable": true
          },
          "userGroup": {
            "type": "string"
          }
        }
      },
      "ConfirmBusinessEndpointsExternalInstitutionsGetInstitutionByKeyRequest": {
        "type": "object",
        "additionalProperties": false
      },
      "ConfirmBusinessEndpointsExternalInstitutionsGetAllInstitutionsResponse": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmCoreBaseResponse"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "institutions": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ConfirmModelsInstitutionListResponse_InstitutionModel"
                }
              }
            }
          }
        ]
      },
      "ConfirmBusinessEndpointsExternalInstitutionsAddInstitutionRequest": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "key"
        ],
        "properties": {
          "key": {
            "type": "string",
            "minLength": 1,
            "nullable": false
          },
          "name": {
            "type": "string",
            "nullable": true
          },
          "core": {
            "$ref": "#/components/schemas/ConfirmDomainSupportedCores"
          }
        }
      },
      "FastEndpointsErrorResponse": {
        "type": "object",
        "description": "the dto used to send an error response to the client",
        "additionalProperties": false,
        "properties": {
          "statusCode": {
            "type": "integer",
            "description": "the http status code sent to the client. default is 400.",
            "format": "int32",
            "default": 400
          },
          "message": {
            "type": "string",
            "description": "the message for the error response",
            "default": "One or more errors occurred!"
          },
          "errors": {
            "type": "object",
            "description": "the collection of errors for the current context",
            "additionalProperties": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      },
      "ConfirmBusinessVoiceOptOutDecision_Request": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "personId": {
            "type": "string",
            "nullable": true
          },
          "valueForCore": {
            "type": "string",
            "nullable": true
          },
          "optOutDecision": {
            "$ref": "#/components/schemas/ConfirmBusinessVoiceOptOutDecision_OptOutDecision"
          }
        }
      },
      "ConfirmBusinessVoiceOptOutDecision_OptOutDecision": {
        "type": "string",
        "description": "",
        "x-enumNames": [
          "OptIn",
          "OptOut"
        ],
        "enum": [
          "OptIn",
          "OptOut"
        ]
      },
      "ConfirmBusinessSendCode_Request": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "phoneOrEmail": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "nullable": true
          },
          "voiceId": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ConfirmBusinessValidateCode_Command": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ssoToken": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainSsoToken"
              }
            ]
          },
          "phoneOrEmail": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "string",
            "nullable": true
          },
          "codeNotReceived": {
            "type": "boolean"
          },
          "notes": {
            "type": "string",
            "nullable": true
          },
          "username": {
            "type": "string",
            "nullable": true
          },
          "personId": {
            "type": "string",
            "nullable": true
          },
          "valueForCore": {
            "type": "string",
            "nullable": true
          },
          "questionIds": {
            "type": "array",
            "nullable": true,
            "items": {
              "type": "string",
              "format": "guid"
            }
          }
        }
      },
      "ConfirmDomainSsoToken": {
        "allOf": [
          {
            "$ref": "#/components/schemas/ConfirmDomainBaseEntity"
          },
          {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "token",
              "expiresOn"
            ],
            "properties": {
              "token": {
                "type": "string",
                "format": "guid",
                "minLength": 1
              },
              "coreUsername": {
                "type": "string",
                "nullable": true
              },
              "expiresOn": {
                "type": "string",
                "format": "date-time",
                "minLength": 1
              },
              "institutionId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              },
              "institution": {
                "$ref": "#/components/schemas/ConfirmDomainInstitution"
              },
              "user": {
                "nullable": true,
                "oneOf": [
                  {
                    "$ref": "#/components/schemas/ConfirmDomainUsersUser"
                  }
                ]
              },
              "originatingAdminUserId": {
                "type": "integer",
                "format": "int32",
                "nullable": true
              }
            }
          }
        ]
      },
      "ConfirmBusinessEnrollVoice_Command": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ssoToken": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainSsoToken"
              }
            ]
          },
          "user": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainUsersUser"
              }
            ]
          },
          "personId": {
            "type": "string"
          },
          "voiceId": {
            "type": "string"
          },
          "validationType": {
            "$ref": "#/components/schemas/ConfirmCoreApiCoreSharedInterfacesValidationType"
          },
          "notes": {
            "type": "string",
            "nullable": true
          }
        }
      },
      "ConfirmBusinessUpdateQuestions_Command": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "ssoToken": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainSsoToken"
              }
            ]
          },
          "user": {
            "nullable": true,
            "oneOf": [
              {
                "$ref": "#/components/schemas/ConfirmDomainUsersUser"
              }
            ]
          },
          "questions": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/ConfirmBusinessUpdateQuestions_Question"
            }
          }
        }
      },
      "ConfirmBusinessUpdateQuestions_Question": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "format": "guid",
            "nullable": true
          },
          "description": {
            "type": "string"
          },
          "isRequired": {
            "type": "boolean"
          },
          "sortOrder": {
            "type": "integer",
            "format": "int32"
          },
          "isSystemProvided": {
            "type": "boolean"
          }
        }
      },
      "ConfirmBusinessGetKnowledgeBaseQuestions_Request": {
        "type": "object",
        "additionalProperties": false
      }
    },
    "securitySchemes": {
      "JWTBearerAuth": {
        "type": "http",
        "description": "Enter a JWT token to authorize the requests...",
        "scheme": "Bearer",
        "bearerFormat": "JWT"
      }
    }
  }
}