Api reference
components.eligibility.public.entities ¶
AlsaceMoselleParsedData
dataclass
¶
DocumentParsingUsedForValidation
dataclass
¶
EligibilityDocumentType ¶
EligibilityRequest
dataclass
¶
EligibilityRequest(
id,
status,
validations,
documents,
created_at,
eligibility_type,
entity_ref,
entity_type,
current_validation,
parsed_data=None,
task_ref=None,
)
Bases: DataClassJsonMixin
EligibilityRequestDocument
dataclass
¶
EligibilityRequestDocumentStatus ¶
Bases: AlanBaseEnum
Enum representing the status of a eligibility request document.
Attributes:
| Name | Type | Description |
|---|---|---|
uploaded |
Indicates that the document has been uploaded. |
|
reparsing |
Indicates that the document is being reparsed. |
|
parsed |
Indicates that the document has been parsed. |
|
rejected |
Indicates that the document has been rejected during parsing. |
EligibilityRequestEntityType ¶
Bases: AlanBaseEnum
Enum representing the entity type of an eligibility request is linked to.
Attributes:
| Name | Type | Description |
|---|---|---|
user |
The eligibility request is linked to a user. |
|
retiree_request |
The eligibility request is linked to a retiree request. |
EligibilityRequestStatus ¶
Bases: AlanBaseEnum
Enum representing the status of a eligibility request.
Attributes:
| Name | Type | Description |
|---|---|---|
uploaded |
The request has been uploaded. |
|
parsing |
The request is currently being parsed. |
|
parsed |
The request has been parsed. |
|
rejected |
The request has been rejected. |
|
validated |
The request has been validated. |
|
not_eligible |
The request is not eligible (can happen when there is an extra eligibility step and not simplpy parsing validiation). |
EligibilityRequestType ¶
Bases: AlanBaseEnum
Enum representing the type of an eligibility request.
Attributes:
| Name | Type | Description |
|---|---|---|
alsace_moselle |
The eligibility request is for the Alsace-Moselle regime. |
|
social_funds |
The eligibility request is for the social funds. |
|
retiree |
The eligibility request is for the retiree. |
|
income |
The eligibility request is for income (revenue gathering). |
EligibilityRequestValidation
dataclass
¶
EligibilityRequestValidation(
id,
request_id,
validation_rules,
document_parsings,
eligibility_status,
created_at,
)
Bases: DataClassJsonMixin
EligibilityRequestValidationRule
dataclass
¶
EligibilityRequestValidationRuleStatus ¶
Bases: AlanBaseEnum
Enum representing the status of a eligibility request validation rule.
Attributes:
| Name | Type | Description |
|---|---|---|
passed |
Indicates that the validation rule has passed. |
|
not_applicable |
Indicates that the validation rule is not applicable. |
|
failed |
Indicates that the validation rule has failed. |
EligibilityRequestValidationRuleType ¶
Bases: AlanBaseEnum
Enum representing the type of a eligibility request validation rule.
Attributes:
| Name | Type | Description |
|---|---|---|
attestation_is_local_regime |
Indicates that the attestation is for the local regime. |
|
attestation_is_ongoing |
Indicates that the attestation is ongoing. |
|
ssn_match_attestation |
Indicates that the SSN of the member and the attestation match. |
|
names_match_attestation |
Indicates that the names of the member and the attestation match. |
|
names_match_tax_notice |
Indicates that the names of the member and the tax regime match. |
|
tax_notice_year_is_the_latest |
Indicates that the tax notice year is the latest. |
|
siret_is_valid |
Indicates that the SIRET number is valid. |
|
names_match |
Indicates that the names of the retiree and the document match. |
|
ssn_match |
Indicates that the SSN of the retiree and the document match. |
|
retirement_dates_match |
Indicates that the retirement dates of the form and the document match. |
|
retirement_date_close_to_last_payslip |
Indicates that the dates are close enough. |
|
gross_monthly_income_present |
Indicates that the gross monthly income is present in the document. |
|
ssn_match_payslip |
Indicates that the SSN of the member and the payslip match. |
attestation_is_local_regime
class-attribute
instance-attribute
¶
attestation_is_ongoing
class-attribute
instance-attribute
¶
gross_monthly_income_present
class-attribute
instance-attribute
¶
names_match_attestation
class-attribute
instance-attribute
¶
names_match_tax_notice
class-attribute
instance-attribute
¶
retirement_date_close_to_last_payslip
class-attribute
instance-attribute
¶
retirement_dates_match
class-attribute
instance-attribute
¶
ssn_match_attestation
class-attribute
instance-attribute
¶
tax_notice_year_is_the_latest
class-attribute
instance-attribute
¶
IncomeEligibilityParsedData
dataclass
¶
IncomeEligibilityParsedData(
gross_monthly_income,
tax_income,
number_of_tax_shares,
proof_year,
proof_month,
proof_type,
)
Bases: DataClassJsonMixin