factpulse 3.0.15 → 3.0.16

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 (31) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -3
  3. data/Gemfile.lock +1 -1
  4. data/docs/ChorusProCredentials.md +8 -8
  5. data/docs/ChorusProDestination.md +1 -1
  6. data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
  7. data/docs/FactureElectroniqueRestApiSchemasConvertValidationError.md +32 -0
  8. data/docs/GetChorusProIdRequest.md +1 -1
  9. data/docs/GetInvoiceRequest.md +1 -1
  10. data/docs/GetStructureRequest.md +1 -1
  11. data/docs/SearchStructureRequest.md +1 -1
  12. data/docs/SubmitInvoiceRequest.md +1 -1
  13. data/docs/ValidateEReportingResponse.md +2 -2
  14. data/docs/ValidationInfo.md +1 -1
  15. data/lib/factpulse/models/chorus_pro_credentials.rb +26 -94
  16. data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
  17. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb → facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb} +97 -29
  18. data/lib/factpulse/models/{facture_electronique_rest_api_schemas_ereporting_validation_error.rb → facture_electronique_rest_api_schemas_convert_validation_error.rb} +120 -29
  19. data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
  20. data/lib/factpulse/models/get_invoice_request.rb +1 -1
  21. data/lib/factpulse/models/get_structure_request.rb +1 -1
  22. data/lib/factpulse/models/search_structure_request.rb +1 -1
  23. data/lib/factpulse/models/submit_invoice_request.rb +1 -1
  24. data/lib/factpulse/models/validate_e_reporting_response.rb +2 -2
  25. data/lib/factpulse/models/validation_info.rb +1 -1
  26. data/lib/factpulse/version.rb +1 -1
  27. data/lib/factpulse.rb +2 -2
  28. metadata +6 -6
  29. data/docs/FactureElectroniqueRestApiSchemasEreportingValidationError.md +0 -22
  30. data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
  31. /data/lib/factpulse/models/{taxableamount0.rb → taxableamount.rb} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5150809f8b3b3393bed2f574f2464d3b50b133b43fd9721515eabd3c8cc6c107
4
- data.tar.gz: a9a84f6de55a464411d26ffabcdd2be6c3427727454c9fecaab63af027150fbc
3
+ metadata.gz: 75dbe218884e710ab887e0824e607373bfd1c3089f6febcea7798731bc8aac4a
4
+ data.tar.gz: 6f2a3f5e46d183d7b25f3f23389063691b059f7c6ee45055cc721575675de672
5
5
  SHA512:
6
- metadata.gz: 5743dc8e1f7d8d42c0237e2c9a87d343ef6acb23879962f12dbc2c40cd4d528cec409bfc1dabacb13bf2fba51911111f8258584745fefab3f2327f4549579273
7
- data.tar.gz: 41da2d4a99becf6ea5f29c7e2ab6a36dc7d4d2efd8e97dc1b3234144560a7f8fe6dad7d3282033908e680dcd3fcb539163e450017f679f41607086c2092f8dc8
6
+ metadata.gz: 3af5eaca9b87dec27fc873034749fa809275cc71b8355b964a8439d60a8224d35446db272e855146ab07821dd6d40ea874561ced93868d427a9e7d48f38cfda9
7
+ data.tar.gz: 82616297ffad34fafff8a3bc0dcf2eafd80d4096a00fb03662201a9f62d356fb1b505622fb165061b3ccbb506db2d4711c2b2093b7b07b53039a083eb0e36c94
data/CHANGELOG.md CHANGED
@@ -7,7 +7,7 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
- ## [3.0.15] - 2026-01-14
10
+ ## [3.0.16] - 2026-01-14
11
11
 
12
12
  ### Added
13
13
  - Version initiale du SDK ruby
@@ -24,5 +24,5 @@ et ce projet adhère au [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
24
24
  - Guide d'authentification JWT
25
25
  - Configuration avancée (timeout, proxy, debug)
26
26
 
27
- [Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v3.0.15...HEAD
28
- [3.0.15]: https://github.com/factpulse/sdk-ruby/releases/tag/v3.0.15
27
+ [Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v3.0.16...HEAD
28
+ [3.0.16]: https://github.com/factpulse/sdk-ruby/releases/tag/v3.0.16
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factpulse (3.0.15)
4
+ factpulse (3.0.16)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -4,11 +4,11 @@
4
4
 
5
5
  | Name | Type | Description | Notes |
6
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] |
7
+ | **piste_client_id** | **String** | | [optional] |
8
+ | **piste_client_secret** | **String** | | [optional] |
9
+ | **chorus_login** | **String** | | [optional] |
10
+ | **chorus_password** | **String** | | [optional] |
11
+ | **sandbox_mode** | **Boolean** | [MODE 2] Use sandbox mode (default: True) | [optional][default to true] |
12
12
 
13
13
  ## Example
14
14
 
@@ -18,9 +18,9 @@ require 'factpulse'
18
18
  instance = FactPulse::ChorusProCredentials.new(
19
19
  piste_client_id: null,
20
20
  piste_client_secret: null,
21
- chorus_pro_login: null,
22
- chorus_pro_password: null,
23
- sandbox: null
21
+ chorus_login: null,
22
+ chorus_password: null,
23
+ sandbox_mode: null
24
24
  )
25
25
  ```
26
26
 
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **type** | **String** | | [optional][default to 'chorus_pro'] |
8
- | **credentials** | [**FactureElectroniqueRestApiSchemasProcessingChorusProCredentials**](FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md) | | [optional] |
8
+ | **credentials** | [**ChorusProCredentials**](ChorusProCredentials.md) | | [optional] |
9
9
 
10
10
  ## Example
11
11
 
@@ -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,32 @@
1
+ # FactPulse::FactureElectroniqueRestApiSchemasConvertValidationError
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **rule** | **String** | Code de la regle (BR-XX, BR-FR-XX) | |
8
+ | **bt_code** | **String** | | [optional] |
9
+ | **severity** | **String** | Gravite: error, warning | |
10
+ | **message** | **String** | Message d'erreur | |
11
+ | **suggested_value** | **String** | | [optional] |
12
+ | **suggested_field** | **String** | | [optional] |
13
+ | **explanation** | **String** | | [optional] |
14
+ | **confidence** | **Float** | | [optional] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'factpulse'
20
+
21
+ instance = FactPulse::FactureElectroniqueRestApiSchemasConvertValidationError.new(
22
+ rule: null,
23
+ bt_code: null,
24
+ severity: null,
25
+ message: null,
26
+ suggested_value: null,
27
+ suggested_field: null,
28
+ explanation: null,
29
+ confidence: null
30
+ )
31
+ ```
32
+
@@ -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
 
@@ -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] |
@@ -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] |
@@ -7,8 +7,8 @@
7
7
  | **valid** | **Boolean** | Whether the data is valid | |
8
8
  | **report_id** | **String** | Report identifier | |
9
9
  | **flow_type** | **String** | Flux type | |
10
- | **errors** | [**Array<FactureElectroniqueRestApiSchemasEreportingValidationError>**](FactureElectroniqueRestApiSchemasEreportingValidationError.md) | List of validation errors (if any) | [optional] |
11
- | **warnings** | [**Array<FactureElectroniqueRestApiSchemasEreportingValidationError>**](FactureElectroniqueRestApiSchemasEreportingValidationError.md) | List of validation warnings (if any) | [optional] |
10
+ | **errors** | [**Array<ValidationError>**](ValidationError.md) | List of validation errors (if any) | [optional] |
11
+ | **warnings** | [**Array<ValidationError>**](ValidationError.md) | List of validation warnings (if any) | [optional] |
12
12
  | **message** | **String** | Status message | |
13
13
 
14
14
  ## Example
@@ -9,7 +9,7 @@
9
9
  | **schematron_rules_total** | **Integer** | Total regles | |
10
10
  | **pdfa_compliant** | **Boolean** | PDF/A-3 conforme | [optional][default to true] |
11
11
  | **xml_embedded** | **Boolean** | XML embarque dans PDF | [optional][default to true] |
12
- | **errors** | [**Array<ValidationError>**](ValidationError.md) | | [optional] |
12
+ | **errors** | [**Array<FactureElectroniqueRestApiSchemasConvertValidationError>**](FactureElectroniqueRestApiSchemasConvertValidationError.md) | | [optional] |
13
13
 
14
14
  ## Example
15
15
 
@@ -14,31 +14,27 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FactPulse
17
- # Chorus Pro credentials for Zero-Trust mode. **Zero-Trust Mode**: Credentials are passed in each request and are NEVER stored. **Security**: - Credentials are never persisted in the database - They are used only for the duration of the request - Secure transmission via HTTPS **Use cases**: - High-security environments (banks, administrations) - Strict GDPR compliance - Tests with temporary credentials - Users who don't want to store their credentials
17
+ # Optional Chorus Pro credentials. **MODE 1 - JWT retrieval (recommended):** Do not provide this `credentials` field in the payload. Credentials will be automatically retrieved via client_uid from JWT (0-trust). **MODE 2 - Credentials in payload:** Provide all required fields below. Useful for tests or third-party integrations.
18
18
  class ChorusProCredentials < ApiModelBase
19
- # PISTE Client ID (government API portal)
20
19
  attr_accessor :piste_client_id
21
20
 
22
- # PISTE Client Secret
23
21
  attr_accessor :piste_client_secret
24
22
 
25
- # Chorus Pro login
26
- attr_accessor :chorus_pro_login
23
+ attr_accessor :chorus_login
27
24
 
28
- # Chorus Pro password
29
- attr_accessor :chorus_pro_password
25
+ attr_accessor :chorus_password
30
26
 
31
- # Use sandbox environment (true) or production (false)
32
- attr_accessor :sandbox
27
+ # [MODE 2] Use sandbox mode (default: True)
28
+ attr_accessor :sandbox_mode
33
29
 
34
30
  # Attribute mapping from ruby-style variable name to JSON key.
35
31
  def self.attribute_map
36
32
  {
37
33
  :'piste_client_id' => :'pisteClientId',
38
34
  :'piste_client_secret' => :'pisteClientSecret',
39
- :'chorus_pro_login' => :'chorusProLogin',
40
- :'chorus_pro_password' => :'chorusProPassword',
41
- :'sandbox' => :'sandbox'
35
+ :'chorus_login' => :'chorusLogin',
36
+ :'chorus_password' => :'chorusPassword',
37
+ :'sandbox_mode' => :'sandboxMode'
42
38
  }
43
39
  end
44
40
 
@@ -57,15 +53,19 @@ module FactPulse
57
53
  {
58
54
  :'piste_client_id' => :'String',
59
55
  :'piste_client_secret' => :'String',
60
- :'chorus_pro_login' => :'String',
61
- :'chorus_pro_password' => :'String',
62
- :'sandbox' => :'Boolean'
56
+ :'chorus_login' => :'String',
57
+ :'chorus_password' => :'String',
58
+ :'sandbox_mode' => :'Boolean'
63
59
  }
64
60
  end
65
61
 
66
62
  # List of attributes with nullable: true
67
63
  def self.openapi_nullable
68
64
  Set.new([
65
+ :'piste_client_id',
66
+ :'piste_client_secret',
67
+ :'chorus_login',
68
+ :'chorus_password',
69
69
  ])
70
70
  end
71
71
 
@@ -87,32 +87,24 @@ module FactPulse
87
87
 
88
88
  if attributes.key?(:'piste_client_id')
89
89
  self.piste_client_id = attributes[:'piste_client_id']
90
- else
91
- self.piste_client_id = nil
92
90
  end
93
91
 
94
92
  if attributes.key?(:'piste_client_secret')
95
93
  self.piste_client_secret = attributes[:'piste_client_secret']
96
- else
97
- self.piste_client_secret = nil
98
94
  end
99
95
 
100
- if attributes.key?(:'chorus_pro_login')
101
- self.chorus_pro_login = attributes[:'chorus_pro_login']
102
- else
103
- self.chorus_pro_login = nil
96
+ if attributes.key?(:'chorus_login')
97
+ self.chorus_login = attributes[:'chorus_login']
104
98
  end
105
99
 
106
- if attributes.key?(:'chorus_pro_password')
107
- self.chorus_pro_password = attributes[:'chorus_pro_password']
108
- else
109
- self.chorus_pro_password = nil
100
+ if attributes.key?(:'chorus_password')
101
+ self.chorus_password = attributes[:'chorus_password']
110
102
  end
111
103
 
112
- if attributes.key?(:'sandbox')
113
- self.sandbox = attributes[:'sandbox']
104
+ if attributes.key?(:'sandbox_mode')
105
+ self.sandbox_mode = attributes[:'sandbox_mode']
114
106
  else
115
- self.sandbox = true
107
+ self.sandbox_mode = true
116
108
  end
117
109
  end
118
110
 
@@ -121,22 +113,6 @@ module FactPulse
121
113
  def list_invalid_properties
122
114
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
123
115
  invalid_properties = Array.new
124
- if @piste_client_id.nil?
125
- invalid_properties.push('invalid value for "piste_client_id", piste_client_id cannot be nil.')
126
- end
127
-
128
- if @piste_client_secret.nil?
129
- invalid_properties.push('invalid value for "piste_client_secret", piste_client_secret cannot be nil.')
130
- end
131
-
132
- if @chorus_pro_login.nil?
133
- invalid_properties.push('invalid value for "chorus_pro_login", chorus_pro_login cannot be nil.')
134
- end
135
-
136
- if @chorus_pro_password.nil?
137
- invalid_properties.push('invalid value for "chorus_pro_password", chorus_pro_password cannot be nil.')
138
- end
139
-
140
116
  invalid_properties
141
117
  end
142
118
 
@@ -144,53 +120,9 @@ module FactPulse
144
120
  # @return true if the model is valid
145
121
  def valid?
146
122
  warn '[DEPRECATED] the `valid?` method is obsolete'
147
- return false if @piste_client_id.nil?
148
- return false if @piste_client_secret.nil?
149
- return false if @chorus_pro_login.nil?
150
- return false if @chorus_pro_password.nil?
151
123
  true
152
124
  end
153
125
 
154
- # Custom attribute writer method with validation
155
- # @param [Object] piste_client_id Value to be assigned
156
- def piste_client_id=(piste_client_id)
157
- if piste_client_id.nil?
158
- fail ArgumentError, 'piste_client_id cannot be nil'
159
- end
160
-
161
- @piste_client_id = piste_client_id
162
- end
163
-
164
- # Custom attribute writer method with validation
165
- # @param [Object] piste_client_secret Value to be assigned
166
- def piste_client_secret=(piste_client_secret)
167
- if piste_client_secret.nil?
168
- fail ArgumentError, 'piste_client_secret cannot be nil'
169
- end
170
-
171
- @piste_client_secret = piste_client_secret
172
- end
173
-
174
- # Custom attribute writer method with validation
175
- # @param [Object] chorus_pro_login Value to be assigned
176
- def chorus_pro_login=(chorus_pro_login)
177
- if chorus_pro_login.nil?
178
- fail ArgumentError, 'chorus_pro_login cannot be nil'
179
- end
180
-
181
- @chorus_pro_login = chorus_pro_login
182
- end
183
-
184
- # Custom attribute writer method with validation
185
- # @param [Object] chorus_pro_password Value to be assigned
186
- def chorus_pro_password=(chorus_pro_password)
187
- if chorus_pro_password.nil?
188
- fail ArgumentError, 'chorus_pro_password cannot be nil'
189
- end
190
-
191
- @chorus_pro_password = chorus_pro_password
192
- end
193
-
194
126
  # Checks equality by comparing each attribute.
195
127
  # @param [Object] Object to be compared
196
128
  def ==(o)
@@ -198,9 +130,9 @@ module FactPulse
198
130
  self.class == o.class &&
199
131
  piste_client_id == o.piste_client_id &&
200
132
  piste_client_secret == o.piste_client_secret &&
201
- chorus_pro_login == o.chorus_pro_login &&
202
- chorus_pro_password == o.chorus_pro_password &&
203
- sandbox == o.sandbox
133
+ chorus_login == o.chorus_login &&
134
+ chorus_password == o.chorus_password &&
135
+ sandbox_mode == o.sandbox_mode
204
136
  end
205
137
 
206
138
  # @see the `==` method
@@ -212,7 +144,7 @@ module FactPulse
212
144
  # Calculates hash code according to all attributes.
213
145
  # @return [Integer] Hash code
214
146
  def hash
215
- [piste_client_id, piste_client_secret, chorus_pro_login, chorus_pro_password, sandbox].hash
147
+ [piste_client_id, piste_client_secret, chorus_login, chorus_password, sandbox_mode].hash
216
148
  end
217
149
 
218
150
  # Builds the object from hash
@@ -64,7 +64,7 @@ module FactPulse
64
64
  def self.openapi_types
65
65
  {
66
66
  :'type' => :'String',
67
- :'credentials' => :'FactureElectroniqueRestApiSchemasProcessingChorusProCredentials'
67
+ :'credentials' => :'ChorusProCredentials'
68
68
  }
69
69
  end
70
70
 
@@ -14,27 +14,31 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FactPulse
17
- # Optional Chorus Pro credentials. **MODE 1 - JWT retrieval (recommended):** Do not provide this `credentials` field in the payload. Credentials will be automatically retrieved via client_uid from JWT (0-trust). **MODE 2 - Credentials in payload:** Provide all required fields below. Useful for tests or third-party integrations.
18
- class FactureElectroniqueRestApiSchemasProcessingChorusProCredentials < ApiModelBase
17
+ # Chorus Pro credentials for Zero-Trust mode. **Zero-Trust Mode**: Credentials are passed in each request and are NEVER stored. **Security**: - Credentials are never persisted in the database - They are used only for the duration of the request - Secure transmission via HTTPS **Use cases**: - High-security environments (banks, administrations) - Strict GDPR compliance - Tests with temporary credentials - Users who don't want to store their credentials
18
+ class FactureElectroniqueRestApiSchemasChorusProChorusProCredentials < ApiModelBase
19
+ # PISTE Client ID (government API portal)
19
20
  attr_accessor :piste_client_id
20
21
 
22
+ # PISTE Client Secret
21
23
  attr_accessor :piste_client_secret
22
24
 
23
- attr_accessor :chorus_login
25
+ # Chorus Pro login
26
+ attr_accessor :chorus_pro_login
24
27
 
25
- attr_accessor :chorus_password
28
+ # Chorus Pro password
29
+ attr_accessor :chorus_pro_password
26
30
 
27
- # [MODE 2] Use sandbox mode (default: True)
28
- attr_accessor :sandbox_mode
31
+ # Use sandbox environment (true) or production (false)
32
+ attr_accessor :sandbox
29
33
 
30
34
  # Attribute mapping from ruby-style variable name to JSON key.
31
35
  def self.attribute_map
32
36
  {
33
37
  :'piste_client_id' => :'pisteClientId',
34
38
  :'piste_client_secret' => :'pisteClientSecret',
35
- :'chorus_login' => :'chorusLogin',
36
- :'chorus_password' => :'chorusPassword',
37
- :'sandbox_mode' => :'sandboxMode'
39
+ :'chorus_pro_login' => :'chorusProLogin',
40
+ :'chorus_pro_password' => :'chorusProPassword',
41
+ :'sandbox' => :'sandbox'
38
42
  }
39
43
  end
40
44
 
@@ -53,19 +57,15 @@ module FactPulse
53
57
  {
54
58
  :'piste_client_id' => :'String',
55
59
  :'piste_client_secret' => :'String',
56
- :'chorus_login' => :'String',
57
- :'chorus_password' => :'String',
58
- :'sandbox_mode' => :'Boolean'
60
+ :'chorus_pro_login' => :'String',
61
+ :'chorus_pro_password' => :'String',
62
+ :'sandbox' => :'Boolean'
59
63
  }
60
64
  end
61
65
 
62
66
  # List of attributes with nullable: true
63
67
  def self.openapi_nullable
64
68
  Set.new([
65
- :'piste_client_id',
66
- :'piste_client_secret',
67
- :'chorus_login',
68
- :'chorus_password',
69
69
  ])
70
70
  end
71
71
 
@@ -73,38 +73,46 @@ module FactPulse
73
73
  # @param [Hash] attributes Model attributes in the form of hash
74
74
  def initialize(attributes = {})
75
75
  if (!attributes.is_a?(Hash))
76
- fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::FactureElectroniqueRestApiSchemasProcessingChorusProCredentials` initialize method"
76
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::FactureElectroniqueRestApiSchemasChorusProChorusProCredentials` initialize method"
77
77
  end
78
78
 
79
79
  # check to see if the attribute exists and convert string to symbol for hash key
80
80
  acceptable_attribute_map = self.class.acceptable_attribute_map
81
81
  attributes = attributes.each_with_object({}) { |(k, v), h|
82
82
  if (!acceptable_attribute_map.key?(k.to_sym))
83
- fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::FactureElectroniqueRestApiSchemasProcessingChorusProCredentials`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
83
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::FactureElectroniqueRestApiSchemasChorusProChorusProCredentials`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
84
84
  end
85
85
  h[k.to_sym] = v
86
86
  }
87
87
 
88
88
  if attributes.key?(:'piste_client_id')
89
89
  self.piste_client_id = attributes[:'piste_client_id']
90
+ else
91
+ self.piste_client_id = nil
90
92
  end
91
93
 
92
94
  if attributes.key?(:'piste_client_secret')
93
95
  self.piste_client_secret = attributes[:'piste_client_secret']
96
+ else
97
+ self.piste_client_secret = nil
94
98
  end
95
99
 
96
- if attributes.key?(:'chorus_login')
97
- self.chorus_login = attributes[:'chorus_login']
100
+ if attributes.key?(:'chorus_pro_login')
101
+ self.chorus_pro_login = attributes[:'chorus_pro_login']
102
+ else
103
+ self.chorus_pro_login = nil
98
104
  end
99
105
 
100
- if attributes.key?(:'chorus_password')
101
- self.chorus_password = attributes[:'chorus_password']
106
+ if attributes.key?(:'chorus_pro_password')
107
+ self.chorus_pro_password = attributes[:'chorus_pro_password']
108
+ else
109
+ self.chorus_pro_password = nil
102
110
  end
103
111
 
104
- if attributes.key?(:'sandbox_mode')
105
- self.sandbox_mode = attributes[:'sandbox_mode']
112
+ if attributes.key?(:'sandbox')
113
+ self.sandbox = attributes[:'sandbox']
106
114
  else
107
- self.sandbox_mode = true
115
+ self.sandbox = true
108
116
  end
109
117
  end
110
118
 
@@ -113,6 +121,22 @@ module FactPulse
113
121
  def list_invalid_properties
114
122
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
115
123
  invalid_properties = Array.new
124
+ if @piste_client_id.nil?
125
+ invalid_properties.push('invalid value for "piste_client_id", piste_client_id cannot be nil.')
126
+ end
127
+
128
+ if @piste_client_secret.nil?
129
+ invalid_properties.push('invalid value for "piste_client_secret", piste_client_secret cannot be nil.')
130
+ end
131
+
132
+ if @chorus_pro_login.nil?
133
+ invalid_properties.push('invalid value for "chorus_pro_login", chorus_pro_login cannot be nil.')
134
+ end
135
+
136
+ if @chorus_pro_password.nil?
137
+ invalid_properties.push('invalid value for "chorus_pro_password", chorus_pro_password cannot be nil.')
138
+ end
139
+
116
140
  invalid_properties
117
141
  end
118
142
 
@@ -120,9 +144,53 @@ module FactPulse
120
144
  # @return true if the model is valid
121
145
  def valid?
122
146
  warn '[DEPRECATED] the `valid?` method is obsolete'
147
+ return false if @piste_client_id.nil?
148
+ return false if @piste_client_secret.nil?
149
+ return false if @chorus_pro_login.nil?
150
+ return false if @chorus_pro_password.nil?
123
151
  true
124
152
  end
125
153
 
154
+ # Custom attribute writer method with validation
155
+ # @param [Object] piste_client_id Value to be assigned
156
+ def piste_client_id=(piste_client_id)
157
+ if piste_client_id.nil?
158
+ fail ArgumentError, 'piste_client_id cannot be nil'
159
+ end
160
+
161
+ @piste_client_id = piste_client_id
162
+ end
163
+
164
+ # Custom attribute writer method with validation
165
+ # @param [Object] piste_client_secret Value to be assigned
166
+ def piste_client_secret=(piste_client_secret)
167
+ if piste_client_secret.nil?
168
+ fail ArgumentError, 'piste_client_secret cannot be nil'
169
+ end
170
+
171
+ @piste_client_secret = piste_client_secret
172
+ end
173
+
174
+ # Custom attribute writer method with validation
175
+ # @param [Object] chorus_pro_login Value to be assigned
176
+ def chorus_pro_login=(chorus_pro_login)
177
+ if chorus_pro_login.nil?
178
+ fail ArgumentError, 'chorus_pro_login cannot be nil'
179
+ end
180
+
181
+ @chorus_pro_login = chorus_pro_login
182
+ end
183
+
184
+ # Custom attribute writer method with validation
185
+ # @param [Object] chorus_pro_password Value to be assigned
186
+ def chorus_pro_password=(chorus_pro_password)
187
+ if chorus_pro_password.nil?
188
+ fail ArgumentError, 'chorus_pro_password cannot be nil'
189
+ end
190
+
191
+ @chorus_pro_password = chorus_pro_password
192
+ end
193
+
126
194
  # Checks equality by comparing each attribute.
127
195
  # @param [Object] Object to be compared
128
196
  def ==(o)
@@ -130,9 +198,9 @@ module FactPulse
130
198
  self.class == o.class &&
131
199
  piste_client_id == o.piste_client_id &&
132
200
  piste_client_secret == o.piste_client_secret &&
133
- chorus_login == o.chorus_login &&
134
- chorus_password == o.chorus_password &&
135
- sandbox_mode == o.sandbox_mode
201
+ chorus_pro_login == o.chorus_pro_login &&
202
+ chorus_pro_password == o.chorus_pro_password &&
203
+ sandbox == o.sandbox
136
204
  end
137
205
 
138
206
  # @see the `==` method
@@ -144,7 +212,7 @@ module FactPulse
144
212
  # Calculates hash code according to all attributes.
145
213
  # @return [Integer] Hash code
146
214
  def hash
147
- [piste_client_id, piste_client_secret, chorus_login, chorus_password, sandbox_mode].hash
215
+ [piste_client_id, piste_client_secret, chorus_pro_login, chorus_pro_password, sandbox].hash
148
216
  end
149
217
 
150
218
  # Builds the object from hash
@@ -14,22 +14,38 @@ require 'date'
14
14
  require 'time'
15
15
 
16
16
  module FactPulse
17
- # Validation error detail.
18
- class FactureElectroniqueRestApiSchemasEreportingValidationError < ApiModelBase
19
- # Field path with error
20
- attr_accessor :field
17
+ # Erreur de validation Schematron avec suggestion de correction.
18
+ class FactureElectroniqueRestApiSchemasConvertValidationError < ApiModelBase
19
+ # Code de la regle (BR-XX, BR-FR-XX)
20
+ attr_accessor :rule
21
21
 
22
- # Error message
22
+ attr_accessor :bt_code
23
+
24
+ # Gravite: error, warning
25
+ attr_accessor :severity
26
+
27
+ # Message d'erreur
23
28
  attr_accessor :message
24
29
 
25
- attr_accessor :code
30
+ attr_accessor :suggested_value
31
+
32
+ attr_accessor :suggested_field
33
+
34
+ attr_accessor :explanation
35
+
36
+ attr_accessor :confidence
26
37
 
27
38
  # Attribute mapping from ruby-style variable name to JSON key.
28
39
  def self.attribute_map
29
40
  {
30
- :'field' => :'field',
41
+ :'rule' => :'rule',
42
+ :'bt_code' => :'bt_code',
43
+ :'severity' => :'severity',
31
44
  :'message' => :'message',
32
- :'code' => :'code'
45
+ :'suggested_value' => :'suggested_value',
46
+ :'suggested_field' => :'suggested_field',
47
+ :'explanation' => :'explanation',
48
+ :'confidence' => :'confidence'
33
49
  }
34
50
  end
35
51
 
@@ -46,16 +62,25 @@ module FactPulse
46
62
  # Attribute type mapping.
47
63
  def self.openapi_types
48
64
  {
49
- :'field' => :'String',
65
+ :'rule' => :'String',
66
+ :'bt_code' => :'String',
67
+ :'severity' => :'String',
50
68
  :'message' => :'String',
51
- :'code' => :'String'
69
+ :'suggested_value' => :'String',
70
+ :'suggested_field' => :'String',
71
+ :'explanation' => :'String',
72
+ :'confidence' => :'Float'
52
73
  }
53
74
  end
54
75
 
55
76
  # List of attributes with nullable: true
56
77
  def self.openapi_nullable
57
78
  Set.new([
58
- :'code'
79
+ :'bt_code',
80
+ :'suggested_value',
81
+ :'suggested_field',
82
+ :'explanation',
83
+ :'confidence'
59
84
  ])
60
85
  end
61
86
 
@@ -63,22 +88,32 @@ module FactPulse
63
88
  # @param [Hash] attributes Model attributes in the form of hash
64
89
  def initialize(attributes = {})
65
90
  if (!attributes.is_a?(Hash))
66
- fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::FactureElectroniqueRestApiSchemasEreportingValidationError` initialize method"
91
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::FactureElectroniqueRestApiSchemasConvertValidationError` initialize method"
67
92
  end
68
93
 
69
94
  # check to see if the attribute exists and convert string to symbol for hash key
70
95
  acceptable_attribute_map = self.class.acceptable_attribute_map
71
96
  attributes = attributes.each_with_object({}) { |(k, v), h|
72
97
  if (!acceptable_attribute_map.key?(k.to_sym))
73
- fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::FactureElectroniqueRestApiSchemasEreportingValidationError`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
98
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::FactureElectroniqueRestApiSchemasConvertValidationError`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
74
99
  end
75
100
  h[k.to_sym] = v
76
101
  }
77
102
 
78
- if attributes.key?(:'field')
79
- self.field = attributes[:'field']
103
+ if attributes.key?(:'rule')
104
+ self.rule = attributes[:'rule']
80
105
  else
81
- self.field = nil
106
+ self.rule = nil
107
+ end
108
+
109
+ if attributes.key?(:'bt_code')
110
+ self.bt_code = attributes[:'bt_code']
111
+ end
112
+
113
+ if attributes.key?(:'severity')
114
+ self.severity = attributes[:'severity']
115
+ else
116
+ self.severity = nil
82
117
  end
83
118
 
84
119
  if attributes.key?(:'message')
@@ -87,8 +122,20 @@ module FactPulse
87
122
  self.message = nil
88
123
  end
89
124
 
90
- if attributes.key?(:'code')
91
- self.code = attributes[:'code']
125
+ if attributes.key?(:'suggested_value')
126
+ self.suggested_value = attributes[:'suggested_value']
127
+ end
128
+
129
+ if attributes.key?(:'suggested_field')
130
+ self.suggested_field = attributes[:'suggested_field']
131
+ end
132
+
133
+ if attributes.key?(:'explanation')
134
+ self.explanation = attributes[:'explanation']
135
+ end
136
+
137
+ if attributes.key?(:'confidence')
138
+ self.confidence = attributes[:'confidence']
92
139
  end
93
140
  end
94
141
 
@@ -97,14 +144,26 @@ module FactPulse
97
144
  def list_invalid_properties
98
145
  warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
99
146
  invalid_properties = Array.new
100
- if @field.nil?
101
- invalid_properties.push('invalid value for "field", field cannot be nil.')
147
+ if @rule.nil?
148
+ invalid_properties.push('invalid value for "rule", rule cannot be nil.')
149
+ end
150
+
151
+ if @severity.nil?
152
+ invalid_properties.push('invalid value for "severity", severity cannot be nil.')
102
153
  end
103
154
 
104
155
  if @message.nil?
105
156
  invalid_properties.push('invalid value for "message", message cannot be nil.')
106
157
  end
107
158
 
159
+ if !@confidence.nil? && @confidence > 1.0
160
+ invalid_properties.push('invalid value for "confidence", must be smaller than or equal to 1.0.')
161
+ end
162
+
163
+ if !@confidence.nil? && @confidence < 0.0
164
+ invalid_properties.push('invalid value for "confidence", must be greater than or equal to 0.0.')
165
+ end
166
+
108
167
  invalid_properties
109
168
  end
110
169
 
@@ -112,19 +171,32 @@ module FactPulse
112
171
  # @return true if the model is valid
113
172
  def valid?
114
173
  warn '[DEPRECATED] the `valid?` method is obsolete'
115
- return false if @field.nil?
174
+ return false if @rule.nil?
175
+ return false if @severity.nil?
116
176
  return false if @message.nil?
177
+ return false if !@confidence.nil? && @confidence > 1.0
178
+ return false if !@confidence.nil? && @confidence < 0.0
117
179
  true
118
180
  end
119
181
 
120
182
  # Custom attribute writer method with validation
121
- # @param [Object] field Value to be assigned
122
- def field=(field)
123
- if field.nil?
124
- fail ArgumentError, 'field cannot be nil'
183
+ # @param [Object] rule Value to be assigned
184
+ def rule=(rule)
185
+ if rule.nil?
186
+ fail ArgumentError, 'rule cannot be nil'
125
187
  end
126
188
 
127
- @field = field
189
+ @rule = rule
190
+ end
191
+
192
+ # Custom attribute writer method with validation
193
+ # @param [Object] severity Value to be assigned
194
+ def severity=(severity)
195
+ if severity.nil?
196
+ fail ArgumentError, 'severity cannot be nil'
197
+ end
198
+
199
+ @severity = severity
128
200
  end
129
201
 
130
202
  # Custom attribute writer method with validation
@@ -137,14 +209,33 @@ module FactPulse
137
209
  @message = message
138
210
  end
139
211
 
212
+ # Custom attribute writer method with validation
213
+ # @param [Object] confidence Value to be assigned
214
+ def confidence=(confidence)
215
+ if !confidence.nil? && confidence > 1.0
216
+ fail ArgumentError, 'invalid value for "confidence", must be smaller than or equal to 1.0.'
217
+ end
218
+
219
+ if !confidence.nil? && confidence < 0.0
220
+ fail ArgumentError, 'invalid value for "confidence", must be greater than or equal to 0.0.'
221
+ end
222
+
223
+ @confidence = confidence
224
+ end
225
+
140
226
  # Checks equality by comparing each attribute.
141
227
  # @param [Object] Object to be compared
142
228
  def ==(o)
143
229
  return true if self.equal?(o)
144
230
  self.class == o.class &&
145
- field == o.field &&
231
+ rule == o.rule &&
232
+ bt_code == o.bt_code &&
233
+ severity == o.severity &&
146
234
  message == o.message &&
147
- code == o.code
235
+ suggested_value == o.suggested_value &&
236
+ suggested_field == o.suggested_field &&
237
+ explanation == o.explanation &&
238
+ confidence == o.confidence
148
239
  end
149
240
 
150
241
  # @see the `==` method
@@ -156,7 +247,7 @@ module FactPulse
156
247
  # Calculates hash code according to all attributes.
157
248
  # @return [Integer] Hash code
158
249
  def hash
159
- [field, message, code].hash
250
+ [rule, bt_code, severity, message, suggested_value, suggested_field, explanation, confidence].hash
160
251
  end
161
252
 
162
253
  # Builds the object from hash
@@ -46,7 +46,7 @@ module FactPulse
46
46
  # Attribute type mapping.
47
47
  def self.openapi_types
48
48
  {
49
- :'credentials' => :'ChorusProCredentials',
49
+ :'credentials' => :'FactureElectroniqueRestApiSchemasChorusProChorusProCredentials',
50
50
  :'siret' => :'String',
51
51
  :'identifier_type' => :'String'
52
52
  }
@@ -42,7 +42,7 @@ module FactPulse
42
42
  # Attribute type mapping.
43
43
  def self.openapi_types
44
44
  {
45
- :'credentials' => :'ChorusProCredentials',
45
+ :'credentials' => :'FactureElectroniqueRestApiSchemasChorusProChorusProCredentials',
46
46
  :'chorus_invoice_id' => :'Integer'
47
47
  }
48
48
  end
@@ -46,7 +46,7 @@ module FactPulse
46
46
  # Attribute type mapping.
47
47
  def self.openapi_types
48
48
  {
49
- :'credentials' => :'ChorusProCredentials',
49
+ :'credentials' => :'FactureElectroniqueRestApiSchemasChorusProChorusProCredentials',
50
50
  :'structure_id' => :'Integer',
51
51
  :'language_code' => :'String'
52
52
  }
@@ -51,7 +51,7 @@ module FactPulse
51
51
  # Attribute type mapping.
52
52
  def self.openapi_types
53
53
  {
54
- :'credentials' => :'ChorusProCredentials',
54
+ :'credentials' => :'FactureElectroniqueRestApiSchemasChorusProChorusProCredentials',
55
55
  :'structure_identifier' => :'String',
56
56
  :'structure_identifier_type' => :'String',
57
57
  :'company_name' => :'String',
@@ -83,7 +83,7 @@ module FactPulse
83
83
  # Attribute type mapping.
84
84
  def self.openapi_types
85
85
  {
86
- :'credentials' => :'ChorusProCredentials',
86
+ :'credentials' => :'FactureElectroniqueRestApiSchemasChorusProChorusProCredentials',
87
87
  :'invoice_number' => :'String',
88
88
  :'invoice_date' => :'String',
89
89
  :'payment_due_date' => :'String',
@@ -62,8 +62,8 @@ module FactPulse
62
62
  :'valid' => :'Boolean',
63
63
  :'report_id' => :'String',
64
64
  :'flow_type' => :'String',
65
- :'errors' => :'Array<FactureElectroniqueRestApiSchemasEreportingValidationError>',
66
- :'warnings' => :'Array<FactureElectroniqueRestApiSchemasEreportingValidationError>',
65
+ :'errors' => :'Array<ValidationError>',
66
+ :'warnings' => :'Array<ValidationError>',
67
67
  :'message' => :'String'
68
68
  }
69
69
  end
@@ -63,7 +63,7 @@ module FactPulse
63
63
  :'schematron_rules_total' => :'Integer',
64
64
  :'pdfa_compliant' => :'Boolean',
65
65
  :'xml_embedded' => :'Boolean',
66
- :'errors' => :'Array<ValidationError>'
66
+ :'errors' => :'Array<FactureElectroniqueRestApiSchemasConvertValidationError>'
67
67
  }
68
68
  end
69
69
 
@@ -11,5 +11,5 @@ Generator version: 7.19.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module FactPulse
14
- VERSION = '3.0.15'
14
+ VERSION = '3.0.16'
15
15
  end
data/lib/factpulse.rb CHANGED
@@ -160,8 +160,8 @@ require 'factpulse/models/extraction_info'
160
160
  require 'factpulse/models/factur_x_invoice'
161
161
  require 'factpulse/models/factur_xpdf_info'
162
162
  require 'factpulse/models/facture_electronique_models_invoice_type_code'
163
- require 'factpulse/models/facture_electronique_rest_api_schemas_ereporting_validation_error'
164
- require 'factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials'
163
+ require 'factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials'
164
+ require 'factpulse/models/facture_electronique_rest_api_schemas_convert_validation_error'
165
165
  require 'factpulse/models/field_status'
166
166
  require 'factpulse/models/file_info'
167
167
  require 'factpulse/models/files_info'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factpulse
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.15
4
+ version: 3.0.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -265,8 +265,8 @@ files:
265
265
  - docs/FacturXInvoice.md
266
266
  - docs/FacturXPDFInfo.md
267
267
  - docs/FactureElectroniqueModelsInvoiceTypeCode.md
268
- - docs/FactureElectroniqueRestApiSchemasEreportingValidationError.md
269
- - docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md
268
+ - docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md
269
+ - docs/FactureElectroniqueRestApiSchemasConvertValidationError.md
270
270
  - docs/FieldStatus.md
271
271
  - docs/FileInfo.md
272
272
  - docs/FilesInfo.md
@@ -567,8 +567,8 @@ files:
567
567
  - lib/factpulse/models/factur_x_invoice.rb
568
568
  - lib/factpulse/models/factur_xpdf_info.rb
569
569
  - lib/factpulse/models/facture_electronique_models_invoice_type_code.rb
570
- - lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_validation_error.rb
571
- - lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb
570
+ - lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb
571
+ - lib/factpulse/models/facture_electronique_rest_api_schemas_convert_validation_error.rb
572
572
  - lib/factpulse/models/field_status.rb
573
573
  - lib/factpulse/models/file_info.rb
574
574
  - lib/factpulse/models/files_info.rb
@@ -674,7 +674,7 @@ files:
674
674
  - lib/factpulse/models/tax_due_date_type.rb
675
675
  - lib/factpulse/models/tax_representative.rb
676
676
  - lib/factpulse/models/taxable_amount.rb
677
- - lib/factpulse/models/taxableamount0.rb
677
+ - lib/factpulse/models/taxableamount.rb
678
678
  - lib/factpulse/models/taxamount.rb
679
679
  - lib/factpulse/models/taxamount1.rb
680
680
  - lib/factpulse/models/taxamount2.rb
@@ -1,22 +0,0 @@
1
- # FactPulse::FactureElectroniqueRestApiSchemasEreportingValidationError
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **field** | **String** | Field path with error | |
8
- | **message** | **String** | Error message | |
9
- | **code** | **String** | | [optional] |
10
-
11
- ## Example
12
-
13
- ```ruby
14
- require 'factpulse'
15
-
16
- instance = FactPulse::FactureElectroniqueRestApiSchemasEreportingValidationError.new(
17
- field: null,
18
- message: null,
19
- code: null
20
- )
21
- ```
22
-
@@ -1,26 +0,0 @@
1
- # FactPulse::FactureElectroniqueRestApiSchemasProcessingChorusProCredentials
2
-
3
- ## Properties
4
-
5
- | Name | Type | Description | Notes |
6
- | ---- | ---- | ----------- | ----- |
7
- | **piste_client_id** | **String** | | [optional] |
8
- | **piste_client_secret** | **String** | | [optional] |
9
- | **chorus_login** | **String** | | [optional] |
10
- | **chorus_password** | **String** | | [optional] |
11
- | **sandbox_mode** | **Boolean** | [MODE 2] Use sandbox mode (default: True) | [optional][default to true] |
12
-
13
- ## Example
14
-
15
- ```ruby
16
- require 'factpulse'
17
-
18
- instance = FactPulse::FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.new(
19
- piste_client_id: null,
20
- piste_client_secret: null,
21
- chorus_login: null,
22
- chorus_password: null,
23
- sandbox_mode: null
24
- )
25
- ```
26
-