Parsers¶
- class app.parsers.BasicUser(*, username: str, name: str | None = None, password: str, temp_password: str)[source]¶
- username: str¶
- name: str | None¶
- password: str¶
- temp_password: str¶
- class app.parsers.SetupMFA(*, temp_password: str, session: str)[source]¶
- temp_password: str¶
- session: str¶
- class app.parsers.AwardUpdate(*, source_contract_id: str | None = None, title: str | None = None, description: str | None = None, contracting_process_id: str | None = None, award_currency: str | None = None, award_amount: Decimal | None = None, award_date: datetime | None = None, payment_method: dict[str, Any] | None = None, buyer_name: str | None = None, source_url: str | None = None, entity_code: str | None = None, contract_status: str | None = None, contractperiod_startdate: datetime | None = None, contractperiod_enddate: datetime | None = None, procurement_method: str | None = None, procurement_category: str | None = None)[source]¶
- source_contract_id: str | None¶
- title: str | None¶
- description: str | None¶
- contracting_process_id: str | None¶
- award_currency: str | None¶
- award_amount: Decimal | None¶
- award_date: datetime | None¶
- payment_method: dict[str, Any] | None¶
- buyer_name: str | None¶
- source_url: str | None¶
- entity_code: str | None¶
- contract_status: str | None¶
- contractperiod_startdate: datetime | None¶
- contractperiod_enddate: datetime | None¶
- procurement_method: str | None¶
- procurement_category: str | None¶
- class app.parsers.LenderApprovedData(*, compliant_checks_completed: bool, compliant_checks_passed: bool, disbursed_final_amount: Annotated[Decimal, Gt(gt=0)])[source]¶
- compliant_checks_completed: bool¶
- compliant_checks_passed: bool¶
- disbursed_final_amount: Annotated[Decimal, FieldInfo(annotation=NoneType, required=True, metadata=[Gt(gt=0)])]¶
- class app.parsers.BorrowerUpdate(*, legal_name: str | None = None, email: str | None = None, address: str | None = None, legal_identifier: str | None = None, type: str | None = None, sector: str | None = None, size: BorrowerSize | None = None)[source]¶
- legal_name: str | None¶
- email: str | None¶
- address: str | None¶
- legal_identifier: str | None¶
- type: str | None¶
- sector: str | None¶
- size: BorrowerSize | None¶
- class app.parsers.UpdateDataField(*, legal_name: bool | None = None, email: bool | None = None, address: bool | None = None, legal_identifier: bool | None = None, type: bool | None = None)[source]¶
- legal_name: bool | None¶
- email: bool | None¶
- address: bool | None¶
- legal_identifier: bool | None¶
- type: bool | None¶
- class app.parsers.LenderRejectedApplication(*, compliance_checks_failed: bool, poor_credit_history: bool, risk_of_fraud: bool, other: bool, other_reason: str | None = None)[source]¶
- compliance_checks_failed: bool¶
- poor_credit_history: bool¶
- risk_of_fraud: bool¶
- other: bool¶
- other_reason: str | None¶
- class app.parsers.ConfirmNewEmail(*, uuid: str, confirmation_email_token: str)[source]¶
- confirmation_email_token: str¶
- class app.parsers.ApplicationCreditOptions(*, uuid: str, borrower_size: BorrowerSize, amount_requested: Decimal)[source]¶
- borrower_size: BorrowerSize¶
- amount_requested: Decimal¶
- class app.parsers.ApplicationSelectCreditProduct(*, uuid: str, borrower_size: BorrowerSize, amount_requested: Decimal, sector: str, annual_revenue: Decimal | None = None, credit_product_id: int, repayment_years: int | None = None, repayment_months: int | None = None, payment_start_date: datetime | None = None)[source]¶
- sector: str¶
- annual_revenue: Decimal | None¶
- credit_product_id: int¶
- repayment_years: int | None¶
- repayment_months: int | None¶
- payment_start_date: datetime | None¶
- class app.parsers.UploadContractConfirmation(*, uuid: str, contract_amount_submitted: Decimal | None = None)[source]¶
- contract_amount_submitted: Decimal | None¶
- class app.parsers.ApplicationDeclinePayload(*, uuid: str, decline_this: bool, decline_all: bool)[source]¶
- decline_this: bool¶
- decline_all: bool¶
- class app.parsers.ApplicationDeclineFeedbackPayload(*, uuid: str, dont_need_access_credit: bool, already_have_acredit: bool, preffer_to_go_to_bank: bool, dont_want_access_credit: bool, suspicious_email: bool, other: bool, other_comments: str)[source]¶
- dont_need_access_credit: bool¶
- already_have_acredit: bool¶
- preffer_to_go_to_bank: bool¶
- dont_want_access_credit: bool¶
- suspicious_email: bool¶
- other: bool¶
- other_comments: str¶