# Models

## The AddressProofCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"AddressProofCreate":{"properties":{"document_type":{"$ref":"#/components/schemas/DocumentType"},"document_url":{"type":"string","title":"Document Url"},"address":{"type":"string","title":"Address"},"address_type":{"anyOf":[{"$ref":"#/components/schemas/AddressType"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"}},"type":"object","required":["document_type","document_url","address","session_id"],"title":"AddressProofCreate"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"},"AddressType":{"type":"string","enum":["Residential","Business"],"title":"AddressType"}}}}
```

## The AddressProofResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"AddressProofResponse":{"properties":{"document_type":{"$ref":"#/components/schemas/DocumentType"},"document_url":{"type":"string","title":"Document Url"},"address":{"type":"string","title":"Address"},"address_type":{"anyOf":[{"$ref":"#/components/schemas/AddressType"},{"type":"null"}]},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country"},"id":{"type":"string","format":"uuid4","title":"Id"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"},"is_primary":{"type":"boolean","title":"Is Primary"},"verified":{"type":"boolean","title":"Verified"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["document_type","document_url","address","id","session_id","is_primary","verified","created_at"],"title":"AddressProofResponse"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"},"AddressType":{"type":"string","enum":["Residential","Business"],"title":"AddressType"}}}}
```

## The AddressType object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"AddressType":{"type":"string","enum":["Residential","Business"],"title":"AddressType"}}}}
```

## The Body\_invite\_users\_verification\_session\_invite\_post object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"Body_invite_users_verification_session_invite_post":{"properties":{"invite_type":{"$ref":"#/components/schemas/InviteType"},"flow_config_id":{"type":"string","title":"Flow Config Id"},"client_id":{"type":"integer","title":"Client Id"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Phone"},"business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Name"},"existing_business":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Existing Business"},"csv_file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"Csv File"}},"type":"object","required":["invite_type","flow_config_id","client_id","email","phone","business_name","existing_business"],"title":"Body_invite_users_verification_session_invite_post"},"InviteType":{"type":"string","enum":["bulk","single"],"title":"InviteType"}}}}
```

## The BusinessDocumentCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"BusinessDocumentCreate":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"document_type":{"$ref":"#/components/schemas/BusinessDocumentType"},"document_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Number"},"document_url":{"type":"string","title":"Document Url"},"issue_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Issue Date"},"expiry_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expiry Date"},"ocr_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ocr Data"},"verified":{"type":"boolean","title":"Verified","default":false},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"}},"type":"object","required":["session_id","document_type","document_url"],"title":"BusinessDocumentCreate"},"BusinessDocumentType":{"type":"string","enum":["ARTICLES_OF_INCORPORATION","CERTIFICATE_OF_INCORPORATION","TAX_REGISTRATION","BUSINESS_LICENSE","BANK_STATEMENT","OTHER","DEEP_SEARCH","PR_SUMMARY"],"title":"BusinessDocumentType"}}}}
```

## The BusinessDocumentResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"BusinessDocumentResponse":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"document_type":{"$ref":"#/components/schemas/BusinessDocumentType"},"document_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Number"},"document_url":{"type":"string","title":"Document Url"},"issue_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Issue Date"},"expiry_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expiry Date"},"ocr_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ocr Data"},"verified":{"type":"boolean","title":"Verified","default":false},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"id":{"type":"string","format":"uuid","title":"Id"},"uploaded_at":{"type":"string","format":"date-time","title":"Uploaded At"}},"type":"object","required":["session_id","document_type","document_url","id","uploaded_at"],"title":"BusinessDocumentResponse"},"BusinessDocumentType":{"type":"string","enum":["ARTICLES_OF_INCORPORATION","CERTIFICATE_OF_INCORPORATION","TAX_REGISTRATION","BUSINESS_LICENSE","BANK_STATEMENT","OTHER","DEEP_SEARCH","PR_SUMMARY"],"title":"BusinessDocumentType"}}}}
```

## The BusinessDocumentType object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"BusinessDocumentType":{"type":"string","enum":["ARTICLES_OF_INCORPORATION","CERTIFICATE_OF_INCORPORATION","TAX_REGISTRATION","BUSINESS_LICENSE","BANK_STATEMENT","OTHER","DEEP_SEARCH","PR_SUMMARY"],"title":"BusinessDocumentType"}}}}
```

## The BusinessDocumentUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"BusinessDocumentUpdate":{"properties":{"document_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Document Number"},"issue_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Issue Date"},"expiry_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expiry Date"},"ocr_data":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Ocr Data"},"verified":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Verified"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"}},"type":"object","title":"BusinessDocumentUpdate"}}}}
```

## The ClientCustomerCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"ClientCustomerCreate":{"properties":{"business_name":{"type":"string","title":"Business Name"},"business_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Email"},"session_id":{"anyOf":[{"type":"string","format":"uuid4"},{"type":"null"}],"title":"Session Id"},"business_registration_number":{"type":"string","title":"Business Registration Number"},"business_registered_address":{"type":"string","title":"Business Registered Address"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus","default":"pending"},"risk_level":{"$ref":"#/components/schemas/RiskLevel","default":"medium"},"assigned_officer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Officer"},"client_id":{"type":"integer","title":"Client Id"},"business_website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Website"},"incorporation_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Incorporation Date"},"incorporation_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incorporation Country"},"annual_revenue":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annual Revenue"},"revenue_currency":{"anyOf":[{"$ref":"#/components/schemas/Currency"},{"type":"null"}]},"business_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Type"},"business_ceo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Ceo"},"business_industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Industry"},"business_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Logo Url"},"discrepancy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Discrepancy"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent","default":false}},"type":"object","required":["business_name","business_registration_number","business_registered_address","client_id"],"title":"ClientCustomerCreate"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"},"Currency":{"type":"string","enum":["AED","INR","AUD","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HUF","IDR","ILS","ISK","JPY","KRW","MXN","NOK","NZD","PHP","PLN","RUB","SEK","SGD","THB","TRY","USD","ZAR","BRL","RSD","AFN","ALL","AMD","ANG","AOA","ARS","AWG","AZN","BAM","BBD","YEN"],"title":"Currency"}}}}
```

## The ClientCustomerOut object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"ClientCustomerOut":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"client_id":{"type":"integer","title":"Client Id"},"session_id":{"anyOf":[{"type":"string","format":"uuid4"},{"type":"null"}],"title":"Session Id"},"business_name":{"type":"string","title":"Business Name"},"business_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Email"},"business_registered_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registered Address"},"business_registration_number":{"type":"string","title":"Business Registration Number"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus"},"risk_level":{"$ref":"#/components/schemas/RiskLevel"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"documents":{"items":{"$ref":"#/components/schemas/DocumentOut"},"type":"array","title":"Documents","default":[]},"assigned_officer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Officer"},"business_website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Website"},"incorporation_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Incorporation Date"},"incorporation_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incorporation Country"},"annual_revenue":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annual Revenue"},"revenue_currency":{"anyOf":[{"$ref":"#/components/schemas/Currency"},{"type":"null"}]},"business_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Type"},"business_ceo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Ceo"},"business_industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Industry"},"business_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Logo Url"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"type":"object","required":["id","client_id","business_name","business_email","business_registered_address","business_registration_number","verification_status","risk_level","created_at","assigned_officer","business_website","incorporation_date","incorporation_country","annual_revenue","revenue_currency","business_type"],"title":"ClientCustomerOut"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"},"DocumentOut":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"file_url":{"type":"string","title":"File Url"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","file_url","verification_status","created_at"],"title":"DocumentOut"},"Currency":{"type":"string","enum":["AED","INR","AUD","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HUF","IDR","ILS","ISK","JPY","KRW","MXN","NOK","NZD","PHP","PLN","RUB","SEK","SGD","THB","TRY","USD","ZAR","BRL","RSD","AFN","ALL","AMD","ANG","AOA","ARS","AWG","AZN","BAM","BBD","YEN"],"title":"Currency"}}}}
```

## The ClientCustomerUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"ClientCustomerUpdate":{"properties":{"business_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Name"},"business_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Email"},"business_registration_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registration Number"},"business_registered_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registered Address"},"verification_status":{"anyOf":[{"$ref":"#/components/schemas/VerificationStatus"},{"type":"null"}],"default":"pending"},"risk_level":{"anyOf":[{"$ref":"#/components/schemas/RiskLevel"},{"type":"null"}],"default":"medium"},"assigned_officer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Officer"},"business_website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Website"},"incorporation_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Incorporation Date"},"incorporation_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incorporation Country"},"annual_revenue":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annual Revenue"},"revenue_currency":{"anyOf":[{"$ref":"#/components/schemas/Currency"},{"type":"null"}]},"business_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Type"},"business_ceo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Ceo"},"business_industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Industry"},"business_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Logo Url"},"discrepancy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Discrepancy"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"type":"object","title":"ClientCustomerUpdate"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"},"Currency":{"type":"string","enum":["AED","INR","AUD","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HUF","IDR","ILS","ISK","JPY","KRW","MXN","NOK","NZD","PHP","PLN","RUB","SEK","SGD","THB","TRY","USD","ZAR","BRL","RSD","AFN","ALL","AMD","ANG","AOA","ARS","AWG","AZN","BAM","BBD","YEN"],"title":"Currency"}}}}
```

## The Currency object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"Currency":{"type":"string","enum":["AED","INR","AUD","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HUF","IDR","ILS","ISK","JPY","KRW","MXN","NOK","NZD","PHP","PLN","RUB","SEK","SGD","THB","TRY","USD","ZAR","BRL","RSD","AFN","ALL","AMD","ANG","AOA","ARS","AWG","AZN","BAM","BBD","YEN"],"title":"Currency"}}}}
```

## The DirectorCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"DirectorCreate":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"full_name":{"type":"string","title":"Full Name"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"nationality":{"type":"string","title":"Nationality"},"position":{"type":"string","title":"Position"},"residential_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residential Address"},"id_document_type":{"anyOf":[{"$ref":"#/components/schemas/DocumentType"},{"type":"null"}]},"id_document_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Number"},"id_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Url"},"id_document_back_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Back Path"},"liveness_check_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liveness Check Path"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent","default":false}},"type":"object","required":["session_id","full_name","nationality","position"],"title":"DirectorCreate"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The DirectorResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"DirectorResponse":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"full_name":{"type":"string","title":"Full Name"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"nationality":{"type":"string","title":"Nationality"},"position":{"type":"string","title":"Position"},"residential_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residential Address"},"id_document_type":{"anyOf":[{"$ref":"#/components/schemas/DocumentType"},{"type":"null"}]},"id_document_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Number"},"id_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Url"},"id_document_back_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Back Path"},"liveness_check_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liveness Check Path"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent","default":false},"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["session_id","full_name","nationality","position","id"],"title":"DirectorResponse"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The DirectorUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"DirectorUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"position":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Position"},"residential_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residential Address"},"id_document_type":{"anyOf":[{"$ref":"#/components/schemas/DocumentType"},{"type":"null"}]},"id_document_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Number"},"id_document_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Url"},"id_document_back_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Back Path"},"liveness_check_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liveness Check Path"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"type":"object","title":"DirectorUpdate"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The DocumentOut object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"DocumentOut":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"file_url":{"type":"string","title":"File Url"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","file_url","verification_status","created_at"],"title":"DocumentOut"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"}}}}
```

## The DocumentType object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The FlowCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"FlowCreate":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"name":{"type":"string","title":"Name"},"verification_type":{"$ref":"#/components/schemas/VerificationType"},"version":{"type":"integer","title":"Version"},"is_active":{"type":"boolean","title":"Is Active","default":true},"config":{"additionalProperties":true,"type":"object","title":"Config"}},"type":"object","required":["client_id","name","verification_type","version","config"],"title":"FlowCreate"},"VerificationType":{"type":"string","enum":["INDIVIDUAL","BUSINESS","INDIVIDUAL_BUSINESS"],"title":"VerificationType"}}}}
```

## The FlowOut object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"FlowOut":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"name":{"type":"string","title":"Name"},"verification_type":{"$ref":"#/components/schemas/VerificationType"},"version":{"type":"integer","title":"Version"},"is_active":{"type":"boolean","title":"Is Active","default":true},"config":{"additionalProperties":true,"type":"object","title":"Config"},"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["client_id","name","verification_type","version","config","id","created_at","updated_at"],"title":"FlowOut"},"VerificationType":{"type":"string","enum":["INDIVIDUAL","BUSINESS","INDIVIDUAL_BUSINESS"],"title":"VerificationType"}}}}
```

## The FlowUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"FlowUpdate":{"properties":{"name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Name"},"version":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Version"},"is_active":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Active"},"config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Config"}},"type":"object","title":"FlowUpdate"}}}}
```

## The HTTPValidationError object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

## The IDDocumentCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"IDDocumentCreate":{"properties":{"document_type":{"$ref":"#/components/schemas/DocumentType"},"document_number":{"type":"string","title":"Document Number"},"full_name":{"type":"string","title":"Full Name"},"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"expiry_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expiry Date"},"nationality":{"type":"string","title":"Nationality"},"front_image_url":{"type":"string","title":"Front Image Url"},"back_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Back Image Url"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"}},"type":"object","required":["document_type","document_number","full_name","date_of_birth","nationality","front_image_url","session_id"],"title":"IDDocumentCreate"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The IDDocumentResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"IDDocumentResponse":{"properties":{"document_type":{"$ref":"#/components/schemas/DocumentType"},"document_number":{"type":"string","title":"Document Number"},"full_name":{"type":"string","title":"Full Name"},"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"expiry_date":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Expiry Date"},"nationality":{"type":"string","title":"Nationality"},"front_image_url":{"type":"string","title":"Front Image Url"},"back_image_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Back Image Url"},"id":{"type":"string","format":"uuid4","title":"Id"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"},"verified":{"type":"boolean","title":"Verified"},"uploaded_at":{"type":"string","format":"date-time","title":"Uploaded At"}},"type":"object","required":["document_type","document_number","full_name","date_of_birth","nationality","front_image_url","id","session_id","verified","uploaded_at"],"title":"IDDocumentResponse"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The IDDocumentUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"IDDocumentUpdate":{"properties":{"verified":{"type":"boolean","title":"Verified"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"}},"type":"object","required":["verified","verification_notes"],"title":"IDDocumentUpdate"}}}}
```

## The InvitatioResponseWithCount object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"InvitatioResponseWithCount":{"properties":{"invitations":{"items":{"$ref":"#/components/schemas/InvitationResponse"},"type":"array","title":"Invitations"},"count":{"type":"integer","title":"Count"}},"type":"object","required":["invitations","count"],"title":"InvitatioResponseWithCount"},"InvitationResponse":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"},"recipient_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Email"},"recipient_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Phone"},"unique_url":{"type":"string","title":"Unique Url"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"},"delivered":{"type":"boolean","title":"Delivered"}},"type":"object","required":["id","session_id","unique_url","sent_at","delivered"],"title":"InvitationResponse"}}}}
```

## The InvitationListResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"InvitationListResponse":{"properties":{"invites":{"items":{"$ref":"#/components/schemas/InvitationResponse"},"type":"array","title":"Invites"},"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"size":{"type":"integer","title":"Size"}},"type":"object","required":["invites","total","page","size"],"title":"InvitationListResponse"},"InvitationResponse":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"},"recipient_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Email"},"recipient_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Phone"},"unique_url":{"type":"string","title":"Unique Url"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"},"delivered":{"type":"boolean","title":"Delivered"}},"type":"object","required":["id","session_id","unique_url","sent_at","delivered"],"title":"InvitationResponse"}}}}
```

## The InvitationResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"InvitationResponse":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"},"recipient_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Email"},"recipient_phone":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Recipient Phone"},"unique_url":{"type":"string","title":"Unique Url"},"sent_at":{"type":"string","format":"date-time","title":"Sent At"},"delivered":{"type":"boolean","title":"Delivered"}},"type":"object","required":["id","session_id","unique_url","sent_at","delivered"],"title":"InvitationResponse"}}}}
```

## The InviteType object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"InviteType":{"type":"string","enum":["bulk","single"],"title":"InviteType"}}}}
```

## The LivenessCheckCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"LivenessCheckCreate":{"properties":{"video_url":{"type":"string","title":"Video Url"},"image_url":{"type":"string","title":"Image Url"},"session_id":{"type":"string","format":"uuid4","title":"Session Id"},"passed":{"type":"boolean","title":"Passed"},"confidence_score":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Confidence Score"}},"type":"object","required":["video_url","image_url","session_id","passed"],"title":"LivenessCheckCreate"}}}}
```

## The Metadata object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"Metadata":{"properties":{"risk_levels":{"items":{"type":"string"},"type":"array","title":"Risk Levels"},"statuses":{"items":{"type":"string"},"type":"array","title":"Statuses"},"time_ranges":{"additionalProperties":{"type":"string"},"type":"object","title":"Time Ranges"}},"type":"object","required":["risk_levels","statuses","time_ranges"],"title":"Metadata"}}}}
```

## The OverallSummary object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"OverallSummary":{"properties":{"risk_levels":{"$ref":"#/components/schemas/RiskLevelSummary"},"statuses":{"$ref":"#/components/schemas/StatusSummary"},"total_sessions":{"type":"integer","title":"Total Sessions"}},"type":"object","required":["risk_levels","statuses","total_sessions"],"title":"OverallSummary"},"RiskLevelSummary":{"properties":{"low":{"type":"integer","title":"Low","default":0},"medium":{"type":"integer","title":"Medium","default":0},"high":{"type":"integer","title":"High","default":0},"unknown":{"type":"integer","title":"Unknown","default":0}},"type":"object","title":"RiskLevelSummary"},"StatusSummary":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"approved":{"type":"integer","title":"Approved","default":0},"rejected":{"type":"integer","title":"Rejected","default":0},"failed":{"type":"integer","title":"Failed","default":0},"expired":{"type":"integer","title":"Expired","default":0}},"type":"object","title":"StatusSummary"}}}}
```

## The PaginatedClientCustomers object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"PaginatedClientCustomers":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"size":{"type":"integer","title":"Size"},"results":{"items":{"$ref":"#/components/schemas/ClientCustomerOut"},"type":"array","title":"Results"}},"type":"object","required":["total","page","size","results"],"title":"PaginatedClientCustomers"},"ClientCustomerOut":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"client_id":{"type":"integer","title":"Client Id"},"session_id":{"anyOf":[{"type":"string","format":"uuid4"},{"type":"null"}],"title":"Session Id"},"business_name":{"type":"string","title":"Business Name"},"business_email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Email"},"business_registered_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Registered Address"},"business_registration_number":{"type":"string","title":"Business Registration Number"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus"},"risk_level":{"$ref":"#/components/schemas/RiskLevel"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"documents":{"items":{"$ref":"#/components/schemas/DocumentOut"},"type":"array","title":"Documents","default":[]},"assigned_officer":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Assigned Officer"},"business_website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Website"},"incorporation_date":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Incorporation Date"},"incorporation_country":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Incorporation Country"},"annual_revenue":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Annual Revenue"},"revenue_currency":{"anyOf":[{"$ref":"#/components/schemas/Currency"},{"type":"null"}]},"business_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Type"},"business_ceo":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Ceo"},"business_industry":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Industry"},"business_logo_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Business Logo Url"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"type":"object","required":["id","client_id","business_name","business_email","business_registered_address","business_registration_number","verification_status","risk_level","created_at","assigned_officer","business_website","incorporation_date","incorporation_country","annual_revenue","revenue_currency","business_type"],"title":"ClientCustomerOut"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"},"DocumentOut":{"properties":{"id":{"type":"string","format":"uuid4","title":"Id"},"file_url":{"type":"string","title":"File Url"},"verification_status":{"$ref":"#/components/schemas/VerificationStatus"},"created_at":{"type":"string","format":"date-time","title":"Created At"}},"type":"object","required":["id","file_url","verification_status","created_at"],"title":"DocumentOut"},"Currency":{"type":"string","enum":["AED","INR","AUD","CAD","CHF","CNY","CZK","DKK","EUR","GBP","HKD","HUF","IDR","ILS","ISK","JPY","KRW","MXN","NOK","NZD","PHP","PLN","RUB","SEK","SGD","THB","TRY","USD","ZAR","BRL","RSD","AFN","ALL","AMD","ANG","AOA","ARS","AWG","AZN","BAM","BBD","YEN"],"title":"Currency"}}}}
```

## The PaginatedFlowOut object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"PaginatedFlowOut":{"properties":{"total":{"type":"integer","title":"Total"},"page":{"type":"integer","title":"Page"},"size":{"type":"integer","title":"Size"},"items":{"items":{"$ref":"#/components/schemas/FlowOut"},"type":"array","title":"Items"}},"type":"object","required":["total","page","size","items"],"title":"PaginatedFlowOut"},"FlowOut":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"name":{"type":"string","title":"Name"},"verification_type":{"$ref":"#/components/schemas/VerificationType"},"version":{"type":"integer","title":"Version"},"is_active":{"type":"boolean","title":"Is Active","default":true},"config":{"additionalProperties":true,"type":"object","title":"Config"},"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["client_id","name","verification_type","version","config","id","created_at","updated_at"],"title":"FlowOut"},"VerificationType":{"type":"string","enum":["INDIVIDUAL","BUSINESS","INDIVIDUAL_BUSINESS"],"title":"VerificationType"}}}}
```

## The PeriodSummary object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"PeriodSummary":{"properties":{"period":{"type":"string","title":"Period"},"risk_levels":{"$ref":"#/components/schemas/RiskLevelSummary"},"statuses":{"$ref":"#/components/schemas/StatusSummary"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["period","risk_levels","statuses","total"],"title":"PeriodSummary"},"RiskLevelSummary":{"properties":{"low":{"type":"integer","title":"Low","default":0},"medium":{"type":"integer","title":"Medium","default":0},"high":{"type":"integer","title":"High","default":0},"unknown":{"type":"integer","title":"Unknown","default":0}},"type":"object","title":"RiskLevelSummary"},"StatusSummary":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"approved":{"type":"integer","title":"Approved","default":0},"rejected":{"type":"integer","title":"Rejected","default":0},"failed":{"type":"integer","title":"Failed","default":0},"expired":{"type":"integer","title":"Expired","default":0}},"type":"object","title":"StatusSummary"}}}}
```

## The PersonalDetailsCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"PersonalDetailsCreate":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"residential_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residential Address"},"occupation":{"type":"string","title":"Occupation"},"source_of_funds":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Of Funds"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"mobile_verification":{"type":"boolean","title":"Mobile Verification","default":false},"email_verification":{"type":"boolean","title":"Email Verification","default":false},"status":{"$ref":"#/components/schemas/VerificationStatus","default":"pending"},"risk_level":{"$ref":"#/components/schemas/RiskLevel","default":"unknown"},"country_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Of Birth"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"discrepancy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Discrepancy"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent","default":false}},"type":"object","required":["client_id","session_id","occupation"],"title":"PersonalDetailsCreate"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"}}}}
```

## The PersonalDetailsResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"PersonalDetailsResponse":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"session_id":{"type":"string","format":"uuid","title":"Session Id"},"residential_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residential Address"},"occupation":{"type":"string","title":"Occupation"},"source_of_funds":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Of Funds"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"mobile_verification":{"type":"boolean","title":"Mobile Verification","default":false},"email_verification":{"type":"boolean","title":"Email Verification","default":false},"status":{"$ref":"#/components/schemas/VerificationStatus","default":"pending"},"risk_level":{"$ref":"#/components/schemas/RiskLevel","default":"unknown"},"country_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Of Birth"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"discrepancy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Discrepancy"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent","default":false},"id":{"type":"string","format":"uuid","title":"Id"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"updated_at":{"type":"string","format":"date-time","title":"Updated At"}},"type":"object","required":["client_id","session_id","occupation","id","created_at","updated_at"],"title":"PersonalDetailsResponse"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"}}}}
```

## The PersonalDetailsUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"PersonalDetailsUpdate":{"properties":{"residential_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residential Address"},"occupation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Occupation"},"source_of_funds":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Of Funds"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"mobile_verification":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Mobile Verification"},"email_verification":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Email Verification"},"status":{"anyOf":[{"$ref":"#/components/schemas/VerificationStatus"},{"type":"null"}]},"risk_level":{"anyOf":[{"$ref":"#/components/schemas/RiskLevel"},{"type":"null"}]},"country_of_birth":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Country Of Birth"},"gender":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Gender"},"discrepancy":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Discrepancy"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"type":"object","title":"PersonalDetailsUpdate"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"}}}}
```

## The RiskLevel object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"}}}}
```

## The RiskLevelSummary object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"RiskLevelSummary":{"properties":{"low":{"type":"integer","title":"Low","default":0},"medium":{"type":"integer","title":"Medium","default":0},"high":{"type":"integer","title":"High","default":0},"unknown":{"type":"integer","title":"Unknown","default":0}},"type":"object","title":"RiskLevelSummary"}}}}
```

## The StatusSummary object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"StatusSummary":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"approved":{"type":"integer","title":"Approved","default":0},"rejected":{"type":"integer","title":"Rejected","default":0},"failed":{"type":"integer","title":"Failed","default":0},"expired":{"type":"integer","title":"Expired","default":0}},"type":"object","title":"StatusSummary"}}}}
```

## The UBOCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"UBOCreate":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"full_name":{"type":"string","title":"Full Name"},"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"nationality":{"type":"string","title":"Nationality"},"ownership_percentage":{"type":"integer","title":"Ownership Percentage"},"residential_address":{"type":"string","title":"Residential Address"},"id_document_type":{"$ref":"#/components/schemas/DocumentType"},"id_document_number":{"type":"string","title":"Id Document Number"},"id_document_path":{"type":"string","title":"Id Document Path"},"id_document_back_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Back Path"},"liveness_check_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liveness Check Path"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent","default":false}},"type":"object","required":["session_id","full_name","date_of_birth","nationality","ownership_percentage","residential_address","id_document_type","id_document_number","id_document_path"],"title":"UBOCreate"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The UBOResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"UBOResponse":{"properties":{"session_id":{"type":"string","format":"uuid","title":"Session Id"},"full_name":{"type":"string","title":"Full Name"},"date_of_birth":{"type":"string","format":"date","title":"Date Of Birth"},"nationality":{"type":"string","title":"Nationality"},"ownership_percentage":{"type":"integer","title":"Ownership Percentage"},"residential_address":{"type":"string","title":"Residential Address"},"id_document_type":{"$ref":"#/components/schemas/DocumentType"},"id_document_number":{"type":"string","title":"Id Document Number"},"id_document_path":{"type":"string","title":"Id Document Path"},"id_document_back_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Back Path"},"liveness_check_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liveness Check Path"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent","default":false},"id":{"type":"string","format":"uuid","title":"Id"}},"type":"object","required":["session_id","full_name","date_of_birth","nationality","ownership_percentage","residential_address","id_document_type","id_document_number","id_document_path","id"],"title":"UBOResponse"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The UBOUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"UBOUpdate":{"properties":{"full_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Full Name"},"date_of_birth":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Date Of Birth"},"nationality":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Nationality"},"ownership_percentage":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Ownership Percentage"},"residential_address":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Residential Address"},"id_document_type":{"anyOf":[{"$ref":"#/components/schemas/DocumentType"},{"type":"null"}]},"id_document_number":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Number"},"id_document_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Path"},"id_document_back_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Id Document Back Path"},"liveness_check_path":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Liveness Check Path"},"verification_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Verification Notes"},"consent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent"}},"type":"object","title":"UBOUpdate"},"DocumentType":{"type":"string","enum":["PASSPORT","NRIC","DRIVING_LICENSE","AADHAAR","PAN","BANK_STATEMENT","UTILITY_BILL"],"title":"DocumentType"}}}}
```

## The ValidationError object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}
```

## The VerificationSessionCreate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"VerificationSessionCreate":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"verification_type":{"anyOf":[{"$ref":"#/components/schemas/VerificationType"},{"type":"null"}]},"status":{"$ref":"#/components/schemas/VerificationStatus","default":"pending"},"verification_config_id":{"type":"string","format":"uuid4","title":"Verification Config Id"}},"type":"object","required":["client_id","verification_config_id"],"title":"VerificationSessionCreate"},"VerificationType":{"type":"string","enum":["INDIVIDUAL","BUSINESS","INDIVIDUAL_BUSINESS"],"title":"VerificationType"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"}}}}
```

## The VerificationSessionListResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"VerificationSessionListResponse":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"verification_type":{"anyOf":[{"$ref":"#/components/schemas/VerificationType"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"verification_config_id":{"type":"string","format":"uuid4","title":"Verification Config Id"},"id":{"type":"string","format":"uuid4","title":"Id"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"consent_given":{"type":"boolean","title":"Consent Given","default":false},"consent_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Consent Timestamp"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"personal_details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Personal Details"},"business_details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Business Details"},"risk_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Level"},"verification_config":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Verification Config"},"invitations":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Invitations"}},"type":"object","required":["client_id","verification_config_id","id","created_at"],"title":"VerificationSessionListResponse"},"VerificationType":{"type":"string","enum":["INDIVIDUAL","BUSINESS","INDIVIDUAL_BUSINESS"],"title":"VerificationType"}}}}
```

## The VerificationSessionResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"VerificationSessionResponse":{"properties":{"client_id":{"type":"integer","title":"Client Id"},"verification_type":{"anyOf":[{"$ref":"#/components/schemas/VerificationType"},{"type":"null"}]},"status":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"},"verification_config_id":{"type":"string","format":"uuid4","title":"Verification Config Id"},"id":{"type":"string","format":"uuid4","title":"Id"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"consent_given":{"type":"boolean","title":"Consent Given","default":false},"consent_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Consent Timestamp"},"created_at":{"type":"string","format":"date-time","title":"Created At"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"personal_details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Personal Details"},"business_details":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Business Details"},"id_document":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Id Document"},"liveness_check":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Liveness Check"},"address_proof":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Address Proof"},"business_documents":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Business Documents"},"ultimate_beneficial_owners":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Ultimate Beneficial Owners"},"directors":{"anyOf":[{"items":{"additionalProperties":true,"type":"object"},"type":"array"},{"type":"null"}],"title":"Directors"},"invitations":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Invitations"},"risk_level":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Risk Level"}},"type":"object","required":["client_id","verification_config_id","id","created_at"],"title":"VerificationSessionResponse"},"VerificationType":{"type":"string","enum":["INDIVIDUAL","BUSINESS","INDIVIDUAL_BUSINESS"],"title":"VerificationType"}}}}
```

## The VerificationSessionUpdate object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"VerificationSessionUpdate":{"properties":{"status":{"anyOf":[{"$ref":"#/components/schemas/VerificationStatus"},{"type":"null"}]},"rejection_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rejection Reason"},"completed_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Completed At"},"consent_given":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Consent Given"},"consent_timestamp":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Consent Timestamp"},"session_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Session Token"},"risk_level":{"anyOf":[{"$ref":"#/components/schemas/RiskLevel"},{"type":"null"}]}},"type":"object","title":"VerificationSessionUpdate"},"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"},"RiskLevel":{"type":"string","enum":["low","medium","high","unknown"],"title":"RiskLevel"}}}}
```

## The VerificationStatus object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"VerificationStatus":{"type":"string","enum":["pending","approved","rejected"],"title":"VerificationStatus"}}}}
```

## The VerificationSummaryResponse object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"VerificationSummaryResponse":{"properties":{"weekly":{"items":{"$ref":"#/components/schemas/PeriodSummary"},"type":"array","title":"Weekly"},"monthly":{"items":{"$ref":"#/components/schemas/PeriodSummary"},"type":"array","title":"Monthly"},"yearly":{"items":{"$ref":"#/components/schemas/PeriodSummary"},"type":"array","title":"Yearly"},"overall":{"$ref":"#/components/schemas/OverallSummary"},"metadata":{"$ref":"#/components/schemas/Metadata"}},"type":"object","required":["weekly","monthly","yearly","overall","metadata"],"title":"VerificationSummaryResponse"},"PeriodSummary":{"properties":{"period":{"type":"string","title":"Period"},"risk_levels":{"$ref":"#/components/schemas/RiskLevelSummary"},"statuses":{"$ref":"#/components/schemas/StatusSummary"},"total":{"type":"integer","title":"Total"}},"type":"object","required":["period","risk_levels","statuses","total"],"title":"PeriodSummary"},"RiskLevelSummary":{"properties":{"low":{"type":"integer","title":"Low","default":0},"medium":{"type":"integer","title":"Medium","default":0},"high":{"type":"integer","title":"High","default":0},"unknown":{"type":"integer","title":"Unknown","default":0}},"type":"object","title":"RiskLevelSummary"},"StatusSummary":{"properties":{"pending":{"type":"integer","title":"Pending","default":0},"approved":{"type":"integer","title":"Approved","default":0},"rejected":{"type":"integer","title":"Rejected","default":0},"failed":{"type":"integer","title":"Failed","default":0},"expired":{"type":"integer","title":"Expired","default":0}},"type":"object","title":"StatusSummary"},"OverallSummary":{"properties":{"risk_levels":{"$ref":"#/components/schemas/RiskLevelSummary"},"statuses":{"$ref":"#/components/schemas/StatusSummary"},"total_sessions":{"type":"integer","title":"Total Sessions"}},"type":"object","required":["risk_levels","statuses","total_sessions"],"title":"OverallSummary"},"Metadata":{"properties":{"risk_levels":{"items":{"type":"string"},"type":"array","title":"Risk Levels"},"statuses":{"items":{"type":"string"},"type":"array","title":"Statuses"},"time_ranges":{"additionalProperties":{"type":"string"},"type":"object","title":"Time Ranges"}},"type":"object","required":["risk_levels","statuses","time_ranges"],"title":"Metadata"}}}}
```

## The VerificationType object

```json
{"openapi":"3.1.0","info":{"title":"BeetleLabs","version":"1.0.0"},"components":{"schemas":{"VerificationType":{"type":"string","enum":["INDIVIDUAL","BUSINESS","INDIVIDUAL_BUSINESS"],"title":"VerificationType"}}}}
```
