factpulse 3.0.37 → 4.0.0

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 (49) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +10 -13
  3. data/Gemfile.lock +1 -1
  4. data/README.md +136 -138
  5. data/docs/ChorusProCredentials.md +8 -8
  6. data/docs/ChorusProDestination.md +1 -1
  7. data/docs/FactureElectroniqueModelsInvoiceTypeCode.md +15 -0
  8. data/docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md +24 -0
  9. data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +26 -0
  10. data/docs/GetChorusProIdRequest.md +1 -1
  11. data/docs/GetInvoiceRequest.md +1 -1
  12. data/docs/GetStructureRequest.md +1 -1
  13. data/docs/InvoiceInput.md +1 -1
  14. data/docs/Recipient.md +1 -1
  15. data/docs/SearchStructureRequest.md +1 -1
  16. data/docs/SimplifiedInvoiceData.md +1 -1
  17. data/docs/SubmitCompleteInvoiceResponse.md +2 -2
  18. data/docs/SubmitInvoiceRequest.md +1 -1
  19. data/docs/Supplier.md +1 -1
  20. data/docs/ValidateCDARResponse.md +2 -2
  21. data/docs/ValidationErrorResponse.md +2 -8
  22. data/lib/factpulse/helpers/client.rb +152 -770
  23. data/lib/factpulse/helpers/exceptions.rb +38 -14
  24. data/lib/factpulse/helpers/helpers.rb +8 -7
  25. data/lib/factpulse/models/chorus_pro_credentials.rb +94 -26
  26. data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
  27. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb → facture_electronique_models_invoice_type_code.rb} +20 -9
  28. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_validation_validation_error_response.rb → facture_electronique_rest_api_schemas_cdar_validation_error_response.rb} +70 -23
  29. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb} +29 -97
  30. data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
  31. data/lib/factpulse/models/get_invoice_request.rb +1 -1
  32. data/lib/factpulse/models/get_structure_request.rb +1 -1
  33. data/lib/factpulse/models/invoice_input.rb +1 -1
  34. data/lib/factpulse/models/invoice_type_code.rb +6 -17
  35. data/lib/factpulse/models/recipient.rb +0 -2
  36. data/lib/factpulse/models/scheme_id.rb +3 -3
  37. data/lib/factpulse/models/search_structure_request.rb +1 -1
  38. data/lib/factpulse/models/simplified_invoice_data.rb +1 -1
  39. data/lib/factpulse/models/submit_complete_invoice_response.rb +16 -16
  40. data/lib/factpulse/models/submit_invoice_request.rb +1 -1
  41. data/lib/factpulse/models/supplier.rb +0 -2
  42. data/lib/factpulse/models/validate_cdar_response.rb +2 -2
  43. data/lib/factpulse/models/validation_error_response.rb +20 -67
  44. data/lib/factpulse/version.rb +1 -1
  45. data/lib/factpulse.rb +3 -3
  46. metadata +8 -8
  47. data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +0 -26
  48. data/docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md +0 -15
  49. data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +0 -18
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factpulse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.37
4
+ version: 4.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-17 00:00:00.000000000 Z
11
+ date: 2026-01-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -271,9 +271,9 @@ files:
271
271
  - docs/ExtractionInfo.md
272
272
  - docs/FacturXInvoice.md
273
273
  - docs/FacturXPDFInfo.md
274
- - docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md
275
- - docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md
276
- - docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md
274
+ - docs/FactureElectroniqueModelsInvoiceTypeCode.md
275
+ - docs/FactureElectroniqueRestApiSchemasCdarValidationErrorResponse.md
276
+ - docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md
277
277
  - docs/FieldStatus.md
278
278
  - docs/FileInfo.md
279
279
  - docs/FilesInfo.md
@@ -590,9 +590,9 @@ files:
590
590
  - lib/factpulse/models/extraction_info.rb
591
591
  - lib/factpulse/models/factur_x_invoice.rb
592
592
  - lib/factpulse/models/factur_xpdf_info.rb
593
- - lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb
594
- - lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb
595
- - lib/factpulse/models/facture_electronique_rest_api_schemas_validation_validation_error_response.rb
593
+ - lib/factpulse/models/facture_electronique_models_invoice_type_code.rb
594
+ - lib/factpulse/models/facture_electronique_rest_api_schemas_cdar_validation_error_response.rb
595
+ - lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb
596
596
  - lib/factpulse/models/field_status.rb
597
597
  - lib/factpulse/models/file_info.rb
598
598
  - lib/factpulse/models/files_info.rb
@@ -1,26 +0,0 @@
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
-
@@ -1,15 +0,0 @@
1
- # FactPulse::FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
-
8
- ## Example
9
-
10
- ```ruby
11
- require 'factpulse'
12
-
13
- instance = FactPulse::FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.new()
14
- ```
15
-
@@ -1,18 +0,0 @@
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
-