Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| documentation_technique_scripts [2025/05/20 16:32] – ctisserand | documentation_technique_scripts [2025/05/20 16:38] (Version actuelle) – ctisserand | ||
|---|---|---|---|
| Ligne 82: | Ligne 82: | ||
| services.email.verify(input.data.email[0], | services.email.verify(input.data.email[0], | ||
| ``` | ``` | ||
| + | |||
| + | ``` | ||
| + | services.email.verify(email: | ||
| + | ``` | ||
| + | Verify the regex and domain of an email | ||
| + | |||
| + | - email: the email address | ||
| + | - check_mx: Check if an MX entry exist for this domain. True by default | ||
| + | - check_server_respond: | ||
| + | |||
| ## inpi | ## inpi | ||
| ``` | ``` | ||
| Ligne 104: | Ligne 114: | ||
| - country: Name of the country to search | - country: Name of the country to search | ||
| - | |||
| - | |||
| - | ``` | ||
| - | services.email.verify(email: | ||
| - | ``` | ||
| - | Verify the regex and domain of an email | ||
| - | |||
| - | - email: the email address | ||
| - | - check_mx: Check if an MX entry exist for this domain. True by default | ||
| - | - check_server_respond: | ||
| # Données fournies en entrée du script | # Données fournies en entrée du script | ||
| Ligne 783: | Ligne 783: | ||
| ) | ) | ||
| ``` | ``` | ||
| - | # Définition des objet utilisés dans les scripts | + | # Définition des objets |
| ## DocumentWrapper | ## DocumentWrapper | ||
| - | - document: Document | + | - document |
| - | - name: str | + | - name |
| - | - iteration: int | None | + | - iteration |
| - | - mode: DocumentWrapperModeEnum | + | - mode |
| - | - engine: EngineTypes | + | - engine |
| - | - type: list[DocumentTypeEnum] | + | - type |
| - | - content: dict | null | + | - content |
| - | - input_documents: list[Document] | + | - input_documents |
| - | - is_internal: bool | + | - is_internal |
| - | - step_step_documents: list[StepStepDocument] | + | - step_step_documents |
| - | - ignore_validation: bool | + | - ignore_validation |
| - | - tags: list[object] | + | - tags |
| - | - is_valid: bool | null | + | - is_valid |
| - | - document_provider: str | null | + | - document_provider |
| - | - enrollment_steps: list[EnrollmentStep] | + | - enrollment_steps |
| ## EnrollmentStatusCode | ## EnrollmentStatusCode | ||
| + | - id | ||
| + | - code | ||
| + | - message | ||
| + | - step | ||
| + | - external_method_step | ||
| + | - enrollment | ||
| + | - validation | ||
| + | - document | ||
| + | |||
| + | - pk: _empty | ||
| + | |||
| ## ErrorCodeException | ## ErrorCodeException | ||
| Ligne 808: | Ligne 819: | ||
| ## IdentityDocument | ## IdentityDocument | ||
| - | - definition: list[dict[str | IdentityDocumentPart]] | + | - definition |
| - | - type: MRZDocumentType | + | - type |
| - | - name: str | + | - name |
| - | - line_size: int | + | - line_size |
| - | - nb_line: int | + | - nb_line |
| ## IdentityExtractedDataExtra | ## IdentityExtractedDataExtra | ||
| - | - id_number: str | null | + | - id_number |
| - | - issuing_date: datetime | null | + | - issuing_date |
| - | - expiration_date: datetime | null | + | - expiration_date |
| - | - issuing_country: str | null | + | - issuing_country |
| - | - issuer: str | null | + | - issuer |
| - | - address: str | null | + | - address |
| - | - dmx_id_number: str | null | + | - dmx_id_number |
| - | - dmx_signature_status: str | null | + | - dmx_signature_status |
| - | - mrz_line_1: str | null | + | - mrz_line_1 |
| - | - mrz_line_2: str | null | + | - mrz_line_2 |
| - | - mrz_line_3: str | null | + | - mrz_line_3 |
| - | - nfc_compatible: bool | null | + | - nfc_compatible |
| ## PersonalDetails | ## PersonalDetails | ||
| + | - id | ||
| + | - name | ||
| + | - birth_name | ||
| + | - first_name | ||
| + | - first_names | ||
| + | |||
| + | - address | ||
| + | - zip_code | ||
| + | - city | ||
| + | - country | ||
| + | - phone_number | ||
| + | - birth_date | ||
| + | - gender | ||
| + | - birth_place | ||
| + | - birth_country | ||
| + | - nationality | ||
| + | - identity_valid | ||
| + | - enrollment | ||
| + | |||
| + | - pk: _empty | ||
| + | |||
| # Exemple | # Exemple | ||
| ```lua | ```lua | ||
| Ligne 921: | Ligne 953: | ||
| return enrollment_valid | return enrollment_valid | ||
| ``` | ``` | ||
| + | |||
| </ | </ | ||