Documentation ¶
Index ¶
Constants ¶
View Source
const ( RoleActionRead = "READ" RoleActionWrite = "WRITE" RoleActionUpdate = "UPDATE" RoleActionDelete = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type DocumentStatus ¶
type DocumentStatus string
const ( DocumentStatusPendingReview DocumentStatus = "PENDING_REVIEW" DocumentStatusDeclined DocumentStatus = "DECLINED" DocumentStatusApproved DocumentStatus = "APPROVED" )
type DocumentType ¶
type DocumentType string
const ( DocumentTypeOwnAsset DocumentType = "OWN_ASSET" DocumentTypeSignatureAcknowledgment DocumentType = "SIGNATURE_ACKNOWLEDGMENT" DocumentTypeTwoGuarantees DocumentType = "TWO_GUARANTEES" DocumentTypeLastInvoice DocumentType = "LAST_INVOICE" )
type Loan ¶
type LoanStatus ¶
type LoanStatus string
const ( LoanStatusRegister LoanStatus = "REGISTERED" LoanStatusPendingRequirements LoanStatus = "PENDING_REQUIREMENTS" LoanStatusPendingPreApproved LoanStatus = "PENDING_PRE_APPROVED" LoanStatusPendingRejected LoanStatus = "REJECTED" LoanStatusHasObservation LoanStatus = "HAS_OBSERVATION" LoanStatusClientSigned LoanStatus = "CLIENT_SIGNED" LoanStatusPreApproved LoanStatus = "PRE_APPROVED" LoanStatusApproved LoanStatus = "APPROVED" LoanStatusRunning LoanStatus = "RUNNING" )
type LoanType ¶
type Requirement ¶
type Requirement struct { RequirementType RequirementType `json:"requirementType"` Title string `json:"title"` Description string `json:"description"` Status bool `json:"status"` DocumentStatus DocumentStatus `gorm:"-"` }
type RequirementType ¶
type RequirementType string
const ( RequirementTypeClientDocumentPhotoFront RequirementType = "CLIENT_DOCUMENT_PHOTO_FRONT" RequirementTypeClientDocumentPhotoBack RequirementType = "CLIENT_DOCUMENT_PHOTO_BACK" RequirementTypeLastInvoicePhoto RequirementType = "LAST_INVOICE_PHOTO" RequirementTypeGuaranteeDocumentPhoto RequirementType = "GUARANTEE_DOCUMENT_PHOTO" RequirementTypeOwnAssetPhoto RequirementType = "OWN_ASSET_PHOTO" RequirementTypeGuaranteeName RequirementType = "GUARANTEE_NAME" RequirementTypeGuaranteeCI RequirementType = "GUARANTEE_CI" RequirementTypeCoBorrowerName RequirementType = "CO_BORROWER_NAME" RequirementTypeCoBorrowerCI RequirementType = "CO_BORROWER_CI" )
type RoleAction ¶
type RoleAction string
type TimelineState ¶
type TimelineState struct { ID string Status TimelineStatus `json:"status"` Label string Title string Description string }
type TimelineStatus ¶
type TimelineStatus string
const ( TimelineStatusDone TimelineStatus = "DONE" TimelineStatusPending TimelineStatus = "PENDING" TimelineStatusRejected TimelineStatus = "REJECTED" )
Click to show internal directories.
Click to hide internal directories.