factpulse 3.0.32 → 3.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +9 -17
  3. data/Gemfile.lock +1 -1
  4. data/docs/ActionCodeInfo.md +22 -0
  5. data/docs/ActionCodesResponse.md +22 -0
  6. data/docs/BodySubmitCdarApiV1CdarSubmitPost.md +20 -0
  7. data/docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md +20 -0
  8. data/docs/CDARCycleDeVieApi.md +489 -0
  9. data/docs/ChorusProCredentials.md +8 -8
  10. data/docs/ChorusProDestination.md +1 -1
  11. data/docs/CreateCDARRequest.md +52 -0
  12. data/docs/Encaisseamount.md +15 -0
  13. data/docs/Encaisseamount1.md +15 -0
  14. data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
  15. data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +18 -0
  16. data/docs/GenerateCDARResponse.md +26 -0
  17. data/docs/GetChorusProIdRequest.md +1 -1
  18. data/docs/GetInvoiceRequest.md +1 -1
  19. data/docs/GetStructureRequest.md +1 -1
  20. data/docs/ReasonCodeInfo.md +22 -0
  21. data/docs/ReasonCodesResponse.md +22 -0
  22. data/docs/RecipientInput.md +26 -0
  23. data/docs/SearchStructureRequest.md +1 -1
  24. data/docs/StatusCodeInfo.md +22 -0
  25. data/docs/StatusCodesResponse.md +22 -0
  26. data/docs/SubmitCDARRequest.md +54 -0
  27. data/docs/SubmitCDARResponse.md +24 -0
  28. data/docs/SubmitCDARXMLRequest.md +22 -0
  29. data/docs/SubmitInvoiceRequest.md +1 -1
  30. data/docs/ValidateCDARRequest.md +32 -0
  31. data/docs/ValidateCDARResponse.md +22 -0
  32. data/docs/ValidationErrorResponse.md +8 -2
  33. data/lib/factpulse/api/cdar_cycle_de_vie_api.rb +491 -0
  34. data/lib/factpulse/helpers/client.rb +1 -1
  35. data/lib/factpulse/models/action_code_info.rb +220 -0
  36. data/lib/factpulse/models/action_codes_response.rb +207 -0
  37. data/lib/factpulse/models/body_submit_cdar_api_v1_cdar_submit_post.rb +174 -0
  38. data/lib/factpulse/models/body_submit_cdar_xml_api_v1_cdar_submit_xml_post.rb +174 -0
  39. data/lib/factpulse/models/chorus_pro_credentials.rb +26 -94
  40. data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
  41. data/lib/factpulse/models/create_cdar_request.rb +414 -0
  42. data/lib/factpulse/models/encaisseamount.rb +104 -0
  43. data/lib/factpulse/models/encaisseamount1.rb +103 -0
  44. data/lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb +259 -0
  45. data/lib/factpulse/models/facture_electronique_rest_api_schemas_validation_validation_error_response.rb +168 -0
  46. data/lib/factpulse/models/generate_cdar_response.rb +273 -0
  47. data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
  48. data/lib/factpulse/models/get_invoice_request.rb +1 -1
  49. data/lib/factpulse/models/get_structure_request.rb +1 -1
  50. data/lib/factpulse/models/reason_code_info.rb +220 -0
  51. data/lib/factpulse/models/reason_codes_response.rb +207 -0
  52. data/lib/factpulse/models/recipient_input.rb +191 -0
  53. data/lib/factpulse/models/search_structure_request.rb +1 -1
  54. data/lib/factpulse/models/status_code_info.rb +220 -0
  55. data/lib/factpulse/models/status_codes_response.rb +207 -0
  56. data/lib/factpulse/models/submit_cdar_request.rb +426 -0
  57. data/lib/factpulse/models/submit_cdar_response.rb +213 -0
  58. data/lib/factpulse/models/submit_cdarxml_request.rb +188 -0
  59. data/lib/factpulse/models/submit_invoice_request.rb +1 -1
  60. data/lib/factpulse/models/validate_cdar_request.rb +219 -0
  61. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb → validate_cdar_response.rb} +47 -48
  62. data/lib/factpulse/models/validation_error_response.rb +67 -20
  63. data/lib/factpulse/version.rb +1 -1
  64. data/lib/factpulse.rb +21 -1
  65. metadata +44 -4
  66. data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
@@ -0,0 +1,52 @@
1
+ # FactPulse::CreateCDARRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **document_id** | **String** | Identifiant unique du message CDAR | |
8
+ | **business_process** | **String** | Code processus métier (REGULATED, B2C, B2BINT, etc.) | [optional][default to 'REGULATED'] |
9
+ | **type_code** | **String** | Type de message (23=Traitement, 305=Transmission) | [optional][default to '23'] |
10
+ | **sender_siren** | **String** | SIREN de l'émetteur (9 chiffres) | |
11
+ | **sender_role** | **String** | Rôle de l'émetteur (WK, SE, BY, etc.) | [optional][default to 'WK'] |
12
+ | **sender_name** | **String** | | [optional] |
13
+ | **sender_email** | **String** | | [optional] |
14
+ | **recipients** | [**Array<RecipientInput>**](RecipientInput.md) | Liste des destinataires | [optional] |
15
+ | **invoice_id** | **String** | Identifiant de la facture (BT-1) | |
16
+ | **invoice_issue_date** | **Date** | Date d'émission de la facture (YYYY-MM-DD) | |
17
+ | **invoice_type_code** | **String** | Type de document (380=Facture, 381=Avoir) | [optional][default to '380'] |
18
+ | **invoice_seller_siren** | **String** | | [optional] |
19
+ | **invoice_buyer_siren** | **String** | | [optional] |
20
+ | **status** | **String** | Code statut de la facture (200-601) | |
21
+ | **reason_code** | **String** | | [optional] |
22
+ | **reason_text** | **String** | | [optional] |
23
+ | **action_code** | **String** | | [optional] |
24
+ | **encaisse_amount** | [**Encaisseamount**](Encaisseamount.md) | | [optional] |
25
+
26
+ ## Example
27
+
28
+ ```ruby
29
+ require 'factpulse'
30
+
31
+ instance = FactPulse::CreateCDARRequest.new(
32
+ document_id: null,
33
+ business_process: null,
34
+ type_code: null,
35
+ sender_siren: null,
36
+ sender_role: null,
37
+ sender_name: null,
38
+ sender_email: null,
39
+ recipients: null,
40
+ invoice_id: null,
41
+ invoice_issue_date: null,
42
+ invoice_type_code: null,
43
+ invoice_seller_siren: null,
44
+ invoice_buyer_siren: null,
45
+ status: null,
46
+ reason_code: null,
47
+ reason_text: null,
48
+ action_code: null,
49
+ encaisse_amount: null
50
+ )
51
+ ```
52
+
@@ -0,0 +1,15 @@
1
+ # FactPulse::Encaisseamount
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'factpulse'
12
+
13
+ instance = FactPulse::Encaisseamount.new()
14
+ ```
15
+
@@ -0,0 +1,15 @@
1
+ # FactPulse::Encaisseamount1
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'factpulse'
12
+
13
+ instance = FactPulse::Encaisseamount1.new()
14
+ ```
15
+
@@ -0,0 +1,26 @@
1
+ # FactPulse::FactureElectroniqueRestApiSchemasChorusProChorusProCredentials
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **piste_client_id** | **String** | PISTE Client ID (government API portal) | |
8
+ | **piste_client_secret** | **String** | PISTE Client Secret | |
9
+ | **chorus_pro_login** | **String** | Chorus Pro login | |
10
+ | **chorus_pro_password** | **String** | Chorus Pro password | |
11
+ | **sandbox** | **Boolean** | Use sandbox environment (true) or production (false) | [optional][default to true] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'factpulse'
17
+
18
+ instance = FactPulse::FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.new(
19
+ piste_client_id: null,
20
+ piste_client_secret: null,
21
+ chorus_pro_login: null,
22
+ chorus_pro_password: null,
23
+ sandbox: null
24
+ )
25
+ ```
26
+
@@ -0,0 +1,18 @@
1
+ # FactPulse::FactureElectroniqueRestApiSchemasValidationValidationErrorResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **detail** | **Array<String>** | List of detected validation errors. | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'factpulse'
13
+
14
+ instance = FactPulse::FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.new(
15
+ detail: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # FactPulse::GenerateCDARResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **document_id** | **String** | | |
8
+ | **xml** | **String** | XML CDAR généré | |
9
+ | **xml_size** | **Integer** | Taille du XML en octets | |
10
+ | **sha256** | **String** | Hash SHA256 du XML | |
11
+ | **message** | **String** | Message de succès | |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'factpulse'
17
+
18
+ instance = FactPulse::GenerateCDARResponse.new(
19
+ document_id: null,
20
+ xml: null,
21
+ xml_size: null,
22
+ sha256: null,
23
+ message: null
24
+ )
25
+ ```
26
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
7
+ | **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
8
8
  | **siret** | **String** | Structure SIRET (14 digits) | |
9
9
  | **identifier_type** | **String** | Identifier type (SIRET, SIREN, UE_HORS_FRANCE, etc.) | [optional][default to 'SIRET'] |
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
7
+ | **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
8
8
  | **chorus_invoice_id** | **Integer** | Chorus Pro invoice ID | |
9
9
 
10
10
  ## Example
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
7
+ | **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
8
8
  | **structure_id** | **Integer** | Chorus Pro structure ID | |
9
9
  | **language_code** | **String** | Language code (fr, en) | [optional][default to 'fr'] |
10
10
 
@@ -0,0 +1,22 @@
1
+ # FactPulse::ReasonCodeInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **String** | Code | |
8
+ | **name** | **String** | Nom Python de l'enum | |
9
+ | **description** | **String** | Description | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'factpulse'
15
+
16
+ instance = FactPulse::ReasonCodeInfo.new(
17
+ code: null,
18
+ name: null,
19
+ description: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # FactPulse::ReasonCodesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **codes** | [**Array<ReasonCodeInfo>**](ReasonCodeInfo.md) | Liste des codes motif | |
8
+ | **count** | **Integer** | Nombre de codes | |
9
+ | **source** | **String** | Règle source | [optional][default to 'BR-FR-CDV-CL-09'] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'factpulse'
15
+
16
+ instance = FactPulse::ReasonCodesResponse.new(
17
+ codes: null,
18
+ count: null,
19
+ source: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,26 @@
1
+ # FactPulse::RecipientInput
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **siren** | **String** | | [optional] |
8
+ | **siret** | **String** | | [optional] |
9
+ | **name** | **String** | | [optional] |
10
+ | **role** | **String** | Code rôle (BY, SE, WK, etc.) | [optional][default to 'BY'] |
11
+ | **email** | **String** | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'factpulse'
17
+
18
+ instance = FactPulse::RecipientInput.new(
19
+ siren: null,
20
+ siret: null,
21
+ name: null,
22
+ role: null,
23
+ email: null
24
+ )
25
+ ```
26
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
7
+ | **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
8
8
  | **structure_identifier** | **String** | | [optional] |
9
9
  | **structure_identifier_type** | **String** | | [optional] |
10
10
  | **company_name** | **String** | | [optional] |
@@ -0,0 +1,22 @@
1
+ # FactPulse::StatusCodeInfo
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **code** | **String** | Code numérique | |
8
+ | **name** | **String** | Nom Python de l'enum | |
9
+ | **description** | **String** | Description | |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'factpulse'
15
+
16
+ instance = FactPulse::StatusCodeInfo.new(
17
+ code: null,
18
+ name: null,
19
+ description: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ # FactPulse::StatusCodesResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **codes** | [**Array<StatusCodeInfo>**](StatusCodeInfo.md) | Liste des codes statut | |
8
+ | **count** | **Integer** | Nombre de codes | |
9
+ | **source** | **String** | Règle source | [optional][default to 'BR-FR-CDV-CL-06'] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'factpulse'
15
+
16
+ instance = FactPulse::StatusCodesResponse.new(
17
+ codes: null,
18
+ count: null,
19
+ source: null
20
+ )
21
+ ```
22
+
@@ -0,0 +1,54 @@
1
+ # FactPulse::SubmitCDARRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **document_id** | **String** | Identifiant unique du message CDAR | |
8
+ | **business_process** | **String** | Code processus métier (REGULATED, B2C, B2BINT, etc.) | [optional][default to 'REGULATED'] |
9
+ | **type_code** | **String** | Type de message (23=Traitement, 305=Transmission) | [optional][default to '23'] |
10
+ | **sender_siren** | **String** | SIREN de l'émetteur (9 chiffres) | |
11
+ | **sender_role** | **String** | Rôle de l'émetteur (WK, SE, BY, etc.) | [optional][default to 'WK'] |
12
+ | **sender_name** | **String** | | [optional] |
13
+ | **sender_email** | **String** | | [optional] |
14
+ | **recipients** | [**Array<RecipientInput>**](RecipientInput.md) | Liste des destinataires | [optional] |
15
+ | **invoice_id** | **String** | Identifiant de la facture (BT-1) | |
16
+ | **invoice_issue_date** | **Date** | Date d'émission de la facture (YYYY-MM-DD) | |
17
+ | **invoice_type_code** | **String** | Type de document (380=Facture, 381=Avoir) | [optional][default to '380'] |
18
+ | **invoice_seller_siren** | **String** | | [optional] |
19
+ | **invoice_buyer_siren** | **String** | | [optional] |
20
+ | **status** | **String** | Code statut de la facture (200-601) | |
21
+ | **reason_code** | **String** | | [optional] |
22
+ | **reason_text** | **String** | | [optional] |
23
+ | **action_code** | **String** | | [optional] |
24
+ | **encaisse_amount** | [**Encaisseamount**](Encaisseamount.md) | | [optional] |
25
+ | **flow_type** | **String** | Type de flux AFNOR (CustomerInvoiceLC, SupplierInvoiceLC, etc.) | [optional][default to 'CustomerInvoiceLC'] |
26
+
27
+ ## Example
28
+
29
+ ```ruby
30
+ require 'factpulse'
31
+
32
+ instance = FactPulse::SubmitCDARRequest.new(
33
+ document_id: null,
34
+ business_process: null,
35
+ type_code: null,
36
+ sender_siren: null,
37
+ sender_role: null,
38
+ sender_name: null,
39
+ sender_email: null,
40
+ recipients: null,
41
+ invoice_id: null,
42
+ invoice_issue_date: null,
43
+ invoice_type_code: null,
44
+ invoice_seller_siren: null,
45
+ invoice_buyer_siren: null,
46
+ status: null,
47
+ reason_code: null,
48
+ reason_text: null,
49
+ action_code: null,
50
+ encaisse_amount: null,
51
+ flow_type: null
52
+ )
53
+ ```
54
+
@@ -0,0 +1,24 @@
1
+ # FactPulse::SubmitCDARResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **flow_id** | **String** | Identifiant du flux AFNOR | |
8
+ | **status** | **String** | Statut de la soumission | |
9
+ | **message** | **String** | | [optional] |
10
+ | **document_id** | **String** | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'factpulse'
16
+
17
+ instance = FactPulse::SubmitCDARResponse.new(
18
+ flow_id: null,
19
+ status: null,
20
+ message: null,
21
+ document_id: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ # FactPulse::SubmitCDARXMLRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **xml** | **String** | XML CDAR à soumettre | |
8
+ | **flow_type** | **String** | Type de flux AFNOR | [optional][default to 'CustomerInvoiceLC'] |
9
+ | **filename** | **String** | | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'factpulse'
15
+
16
+ instance = FactPulse::SubmitCDARXMLRequest.new(
17
+ xml: null,
18
+ flow_type: null,
19
+ filename: null
20
+ )
21
+ ```
22
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
7
+ | **credentials** | [**FactureElectroniqueRestApiSchemasChorusProChorusProCredentials**](FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md) | | [optional] |
8
8
  | **invoice_number** | **String** | Invoice number | |
9
9
  | **invoice_date** | **String** | Invoice date (ISO format: YYYY-MM-DD) | |
10
10
  | **payment_due_date** | **String** | | [optional] |
@@ -0,0 +1,32 @@
1
+ # FactPulse::ValidateCDARRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **document_id** | **String** | | [optional] |
8
+ | **sender_siren** | **String** | | [optional] |
9
+ | **sender_role** | **String** | | [optional] |
10
+ | **invoice_id** | **String** | | [optional] |
11
+ | **invoice_issue_date** | **Date** | | [optional] |
12
+ | **status** | **String** | | [optional] |
13
+ | **reason_code** | **String** | | [optional] |
14
+ | **encaisse_amount** | [**Encaisseamount1**](Encaisseamount1.md) | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'factpulse'
20
+
21
+ instance = FactPulse::ValidateCDARRequest.new(
22
+ document_id: null,
23
+ sender_siren: null,
24
+ sender_role: null,
25
+ invoice_id: null,
26
+ invoice_issue_date: null,
27
+ status: null,
28
+ reason_code: null,
29
+ encaisse_amount: null
30
+ )
31
+ ```
32
+
@@ -0,0 +1,22 @@
1
+ # FactPulse::ValidateCDARResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **valid** | **Boolean** | Résultat de validation | |
8
+ | **errors** | [**Array<ValidationErrorResponse>**](ValidationErrorResponse.md) | Liste des erreurs | [optional] |
9
+ | **warnings** | [**Array<ValidationErrorResponse>**](ValidationErrorResponse.md) | Liste des avertissements | [optional] |
10
+
11
+ ## Example
12
+
13
+ ```ruby
14
+ require 'factpulse'
15
+
16
+ instance = FactPulse::ValidateCDARResponse.new(
17
+ valid: null,
18
+ errors: null,
19
+ warnings: null
20
+ )
21
+ ```
22
+
@@ -4,7 +4,10 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
- | **detail** | **Array<String>** | List of detected validation errors. | |
7
+ | **field** | **String** | Champ concerné | |
8
+ | **message** | **String** | Message d'erreur | |
9
+ | **rule** | **String** | | [optional] |
10
+ | **severity** | **String** | Sévérité (error/warning) | [optional][default to 'error'] |
8
11
 
9
12
  ## Example
10
13
 
@@ -12,7 +15,10 @@
12
15
  require 'factpulse'
13
16
 
14
17
  instance = FactPulse::ValidationErrorResponse.new(
15
- detail: null
18
+ field: null,
19
+ message: null,
20
+ rule: null,
21
+ severity: null
16
22
  )
17
23
  ```
18
24