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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -17
- data/Gemfile.lock +1 -1
- data/docs/ActionCodeInfo.md +22 -0
- data/docs/ActionCodesResponse.md +22 -0
- data/docs/BodySubmitCdarApiV1CdarSubmitPost.md +20 -0
- data/docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md +20 -0
- data/docs/CDARCycleDeVieApi.md +489 -0
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- data/docs/CreateCDARRequest.md +52 -0
- data/docs/Encaisseamount.md +15 -0
- data/docs/Encaisseamount1.md +15 -0
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
- data/docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md +18 -0
- data/docs/GenerateCDARResponse.md +26 -0
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/ReasonCodeInfo.md +22 -0
- data/docs/ReasonCodesResponse.md +22 -0
- data/docs/RecipientInput.md +26 -0
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/StatusCodeInfo.md +22 -0
- data/docs/StatusCodesResponse.md +22 -0
- data/docs/SubmitCDARRequest.md +54 -0
- data/docs/SubmitCDARResponse.md +24 -0
- data/docs/SubmitCDARXMLRequest.md +22 -0
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/docs/ValidateCDARRequest.md +32 -0
- data/docs/ValidateCDARResponse.md +22 -0
- data/docs/ValidationErrorResponse.md +8 -2
- data/lib/factpulse/api/cdar_cycle_de_vie_api.rb +491 -0
- data/lib/factpulse/helpers/client.rb +1 -1
- data/lib/factpulse/models/action_code_info.rb +220 -0
- data/lib/factpulse/models/action_codes_response.rb +207 -0
- data/lib/factpulse/models/body_submit_cdar_api_v1_cdar_submit_post.rb +174 -0
- data/lib/factpulse/models/body_submit_cdar_xml_api_v1_cdar_submit_xml_post.rb +174 -0
- data/lib/factpulse/models/chorus_pro_credentials.rb +26 -94
- data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
- data/lib/factpulse/models/create_cdar_request.rb +414 -0
- data/lib/factpulse/models/encaisseamount.rb +104 -0
- data/lib/factpulse/models/encaisseamount1.rb +103 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb +259 -0
- data/lib/factpulse/models/facture_electronique_rest_api_schemas_validation_validation_error_response.rb +168 -0
- data/lib/factpulse/models/generate_cdar_response.rb +273 -0
- data/lib/factpulse/models/get_chorus_pro_id_request.rb +1 -1
- data/lib/factpulse/models/get_invoice_request.rb +1 -1
- data/lib/factpulse/models/get_structure_request.rb +1 -1
- data/lib/factpulse/models/reason_code_info.rb +220 -0
- data/lib/factpulse/models/reason_codes_response.rb +207 -0
- data/lib/factpulse/models/recipient_input.rb +191 -0
- data/lib/factpulse/models/search_structure_request.rb +1 -1
- data/lib/factpulse/models/status_code_info.rb +220 -0
- data/lib/factpulse/models/status_codes_response.rb +207 -0
- data/lib/factpulse/models/submit_cdar_request.rb +426 -0
- data/lib/factpulse/models/submit_cdar_response.rb +213 -0
- data/lib/factpulse/models/submit_cdarxml_request.rb +188 -0
- data/lib/factpulse/models/submit_invoice_request.rb +1 -1
- data/lib/factpulse/models/validate_cdar_request.rb +219 -0
- data/lib/factpulse/models/{facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb → validate_cdar_response.rb} +47 -48
- data/lib/factpulse/models/validation_error_response.rb +67 -20
- data/lib/factpulse/version.rb +1 -1
- data/lib/factpulse.rb +21 -1
- metadata +44 -4
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
|
@@ -14,27 +14,23 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
#
|
|
18
|
-
class
|
|
19
|
-
|
|
17
|
+
# Réponse de validation CDAR.
|
|
18
|
+
class ValidateCDARResponse < ApiModelBase
|
|
19
|
+
# Résultat de validation
|
|
20
|
+
attr_accessor :valid
|
|
20
21
|
|
|
21
|
-
|
|
22
|
+
# Liste des erreurs
|
|
23
|
+
attr_accessor :errors
|
|
22
24
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
attr_accessor :chorus_password
|
|
26
|
-
|
|
27
|
-
# [MODE 2] Use sandbox mode (default: True)
|
|
28
|
-
attr_accessor :sandbox_mode
|
|
25
|
+
# Liste des avertissements
|
|
26
|
+
attr_accessor :warnings
|
|
29
27
|
|
|
30
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
31
29
|
def self.attribute_map
|
|
32
30
|
{
|
|
33
|
-
:'
|
|
34
|
-
:'
|
|
35
|
-
:'
|
|
36
|
-
:'chorus_password' => :'chorusPassword',
|
|
37
|
-
:'sandbox_mode' => :'sandboxMode'
|
|
31
|
+
:'valid' => :'valid',
|
|
32
|
+
:'errors' => :'errors',
|
|
33
|
+
:'warnings' => :'warnings'
|
|
38
34
|
}
|
|
39
35
|
end
|
|
40
36
|
|
|
@@ -51,21 +47,15 @@ module FactPulse
|
|
|
51
47
|
# Attribute type mapping.
|
|
52
48
|
def self.openapi_types
|
|
53
49
|
{
|
|
54
|
-
:'
|
|
55
|
-
:'
|
|
56
|
-
:'
|
|
57
|
-
:'chorus_password' => :'String',
|
|
58
|
-
:'sandbox_mode' => :'Boolean'
|
|
50
|
+
:'valid' => :'Boolean',
|
|
51
|
+
:'errors' => :'Array<ValidationErrorResponse>',
|
|
52
|
+
:'warnings' => :'Array<ValidationErrorResponse>'
|
|
59
53
|
}
|
|
60
54
|
end
|
|
61
55
|
|
|
62
56
|
# List of attributes with nullable: true
|
|
63
57
|
def self.openapi_nullable
|
|
64
58
|
Set.new([
|
|
65
|
-
:'piste_client_id',
|
|
66
|
-
:'piste_client_secret',
|
|
67
|
-
:'chorus_login',
|
|
68
|
-
:'chorus_password',
|
|
69
59
|
])
|
|
70
60
|
end
|
|
71
61
|
|
|
@@ -73,38 +63,34 @@ module FactPulse
|
|
|
73
63
|
# @param [Hash] attributes Model attributes in the form of hash
|
|
74
64
|
def initialize(attributes = {})
|
|
75
65
|
if (!attributes.is_a?(Hash))
|
|
76
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::
|
|
66
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::ValidateCDARResponse` initialize method"
|
|
77
67
|
end
|
|
78
68
|
|
|
79
69
|
# check to see if the attribute exists and convert string to symbol for hash key
|
|
80
70
|
acceptable_attribute_map = self.class.acceptable_attribute_map
|
|
81
71
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
|
82
72
|
if (!acceptable_attribute_map.key?(k.to_sym))
|
|
83
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::
|
|
73
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::ValidateCDARResponse`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
|
|
84
74
|
end
|
|
85
75
|
h[k.to_sym] = v
|
|
86
76
|
}
|
|
87
77
|
|
|
88
|
-
if attributes.key?(:'
|
|
89
|
-
self.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
if attributes.key?(:'piste_client_secret')
|
|
93
|
-
self.piste_client_secret = attributes[:'piste_client_secret']
|
|
94
|
-
end
|
|
95
|
-
|
|
96
|
-
if attributes.key?(:'chorus_login')
|
|
97
|
-
self.chorus_login = attributes[:'chorus_login']
|
|
78
|
+
if attributes.key?(:'valid')
|
|
79
|
+
self.valid = attributes[:'valid']
|
|
80
|
+
else
|
|
81
|
+
self.valid = nil
|
|
98
82
|
end
|
|
99
83
|
|
|
100
|
-
if attributes.key?(:'
|
|
101
|
-
|
|
84
|
+
if attributes.key?(:'errors')
|
|
85
|
+
if (value = attributes[:'errors']).is_a?(Array)
|
|
86
|
+
self.errors = value
|
|
87
|
+
end
|
|
102
88
|
end
|
|
103
89
|
|
|
104
|
-
if attributes.key?(:'
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
90
|
+
if attributes.key?(:'warnings')
|
|
91
|
+
if (value = attributes[:'warnings']).is_a?(Array)
|
|
92
|
+
self.warnings = value
|
|
93
|
+
end
|
|
108
94
|
end
|
|
109
95
|
end
|
|
110
96
|
|
|
@@ -113,6 +99,10 @@ module FactPulse
|
|
|
113
99
|
def list_invalid_properties
|
|
114
100
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
115
101
|
invalid_properties = Array.new
|
|
102
|
+
if @valid.nil?
|
|
103
|
+
invalid_properties.push('invalid value for "valid", valid cannot be nil.')
|
|
104
|
+
end
|
|
105
|
+
|
|
116
106
|
invalid_properties
|
|
117
107
|
end
|
|
118
108
|
|
|
@@ -120,19 +110,28 @@ module FactPulse
|
|
|
120
110
|
# @return true if the model is valid
|
|
121
111
|
def valid?
|
|
122
112
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
113
|
+
return false if @valid.nil?
|
|
123
114
|
true
|
|
124
115
|
end
|
|
125
116
|
|
|
117
|
+
# Custom attribute writer method with validation
|
|
118
|
+
# @param [Object] valid Value to be assigned
|
|
119
|
+
def valid=(valid)
|
|
120
|
+
if valid.nil?
|
|
121
|
+
fail ArgumentError, 'valid cannot be nil'
|
|
122
|
+
end
|
|
123
|
+
|
|
124
|
+
@valid = valid
|
|
125
|
+
end
|
|
126
|
+
|
|
126
127
|
# Checks equality by comparing each attribute.
|
|
127
128
|
# @param [Object] Object to be compared
|
|
128
129
|
def ==(o)
|
|
129
130
|
return true if self.equal?(o)
|
|
130
131
|
self.class == o.class &&
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
chorus_password == o.chorus_password &&
|
|
135
|
-
sandbox_mode == o.sandbox_mode
|
|
132
|
+
valid == o.valid &&
|
|
133
|
+
errors == o.errors &&
|
|
134
|
+
warnings == o.warnings
|
|
136
135
|
end
|
|
137
136
|
|
|
138
137
|
# @see the `==` method
|
|
@@ -144,7 +143,7 @@ module FactPulse
|
|
|
144
143
|
# Calculates hash code according to all attributes.
|
|
145
144
|
# @return [Integer] Hash code
|
|
146
145
|
def hash
|
|
147
|
-
[
|
|
146
|
+
[valid, errors, warnings].hash
|
|
148
147
|
end
|
|
149
148
|
|
|
150
149
|
# Builds the object from hash
|
|
@@ -14,15 +14,26 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
#
|
|
17
|
+
# Erreur de validation.
|
|
18
18
|
class ValidationErrorResponse < ApiModelBase
|
|
19
|
-
#
|
|
20
|
-
attr_accessor :
|
|
19
|
+
# Champ concerné
|
|
20
|
+
attr_accessor :field
|
|
21
|
+
|
|
22
|
+
# Message d'erreur
|
|
23
|
+
attr_accessor :message
|
|
24
|
+
|
|
25
|
+
attr_accessor :rule
|
|
26
|
+
|
|
27
|
+
# Sévérité (error/warning)
|
|
28
|
+
attr_accessor :severity
|
|
21
29
|
|
|
22
30
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
23
31
|
def self.attribute_map
|
|
24
32
|
{
|
|
25
|
-
:'
|
|
33
|
+
:'field' => :'field',
|
|
34
|
+
:'message' => :'message',
|
|
35
|
+
:'rule' => :'rule',
|
|
36
|
+
:'severity' => :'severity'
|
|
26
37
|
}
|
|
27
38
|
end
|
|
28
39
|
|
|
@@ -39,13 +50,17 @@ module FactPulse
|
|
|
39
50
|
# Attribute type mapping.
|
|
40
51
|
def self.openapi_types
|
|
41
52
|
{
|
|
42
|
-
:'
|
|
53
|
+
:'field' => :'String',
|
|
54
|
+
:'message' => :'String',
|
|
55
|
+
:'rule' => :'String',
|
|
56
|
+
:'severity' => :'String'
|
|
43
57
|
}
|
|
44
58
|
end
|
|
45
59
|
|
|
46
60
|
# List of attributes with nullable: true
|
|
47
61
|
def self.openapi_nullable
|
|
48
62
|
Set.new([
|
|
63
|
+
:'rule',
|
|
49
64
|
])
|
|
50
65
|
end
|
|
51
66
|
|
|
@@ -65,12 +80,26 @@ module FactPulse
|
|
|
65
80
|
h[k.to_sym] = v
|
|
66
81
|
}
|
|
67
82
|
|
|
68
|
-
if attributes.key?(:'
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
83
|
+
if attributes.key?(:'field')
|
|
84
|
+
self.field = attributes[:'field']
|
|
85
|
+
else
|
|
86
|
+
self.field = nil
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
if attributes.key?(:'message')
|
|
90
|
+
self.message = attributes[:'message']
|
|
72
91
|
else
|
|
73
|
-
self.
|
|
92
|
+
self.message = nil
|
|
93
|
+
end
|
|
94
|
+
|
|
95
|
+
if attributes.key?(:'rule')
|
|
96
|
+
self.rule = attributes[:'rule']
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
if attributes.key?(:'severity')
|
|
100
|
+
self.severity = attributes[:'severity']
|
|
101
|
+
else
|
|
102
|
+
self.severity = 'error'
|
|
74
103
|
end
|
|
75
104
|
end
|
|
76
105
|
|
|
@@ -79,8 +108,12 @@ module FactPulse
|
|
|
79
108
|
def list_invalid_properties
|
|
80
109
|
warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
|
|
81
110
|
invalid_properties = Array.new
|
|
82
|
-
if @
|
|
83
|
-
invalid_properties.push('invalid value for "
|
|
111
|
+
if @field.nil?
|
|
112
|
+
invalid_properties.push('invalid value for "field", field cannot be nil.')
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
if @message.nil?
|
|
116
|
+
invalid_properties.push('invalid value for "message", message cannot be nil.')
|
|
84
117
|
end
|
|
85
118
|
|
|
86
119
|
invalid_properties
|
|
@@ -90,18 +123,29 @@ module FactPulse
|
|
|
90
123
|
# @return true if the model is valid
|
|
91
124
|
def valid?
|
|
92
125
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
93
|
-
return false if @
|
|
126
|
+
return false if @field.nil?
|
|
127
|
+
return false if @message.nil?
|
|
94
128
|
true
|
|
95
129
|
end
|
|
96
130
|
|
|
97
131
|
# Custom attribute writer method with validation
|
|
98
|
-
# @param [Object]
|
|
99
|
-
def
|
|
100
|
-
if
|
|
101
|
-
fail ArgumentError, '
|
|
132
|
+
# @param [Object] field Value to be assigned
|
|
133
|
+
def field=(field)
|
|
134
|
+
if field.nil?
|
|
135
|
+
fail ArgumentError, 'field cannot be nil'
|
|
136
|
+
end
|
|
137
|
+
|
|
138
|
+
@field = field
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Custom attribute writer method with validation
|
|
142
|
+
# @param [Object] message Value to be assigned
|
|
143
|
+
def message=(message)
|
|
144
|
+
if message.nil?
|
|
145
|
+
fail ArgumentError, 'message cannot be nil'
|
|
102
146
|
end
|
|
103
147
|
|
|
104
|
-
@
|
|
148
|
+
@message = message
|
|
105
149
|
end
|
|
106
150
|
|
|
107
151
|
# Checks equality by comparing each attribute.
|
|
@@ -109,7 +153,10 @@ module FactPulse
|
|
|
109
153
|
def ==(o)
|
|
110
154
|
return true if self.equal?(o)
|
|
111
155
|
self.class == o.class &&
|
|
112
|
-
|
|
156
|
+
field == o.field &&
|
|
157
|
+
message == o.message &&
|
|
158
|
+
rule == o.rule &&
|
|
159
|
+
severity == o.severity
|
|
113
160
|
end
|
|
114
161
|
|
|
115
162
|
# @see the `==` method
|
|
@@ -121,7 +168,7 @@ module FactPulse
|
|
|
121
168
|
# Calculates hash code according to all attributes.
|
|
122
169
|
# @return [Integer] Hash code
|
|
123
170
|
def hash
|
|
124
|
-
[
|
|
171
|
+
[field, message, rule, severity].hash
|
|
125
172
|
end
|
|
126
173
|
|
|
127
174
|
# Builds the object from hash
|
data/lib/factpulse/version.rb
CHANGED
data/lib/factpulse.rb
CHANGED
|
@@ -116,6 +116,8 @@ require 'factpulse/models/afnor_webhook_callback_content'
|
|
|
116
116
|
require 'factpulse/models/api_error'
|
|
117
117
|
require 'factpulse/models/api_profile'
|
|
118
118
|
require 'factpulse/models/acknowledgment_status'
|
|
119
|
+
require 'factpulse/models/action_code_info'
|
|
120
|
+
require 'factpulse/models/action_codes_response'
|
|
119
121
|
require 'factpulse/models/additional_document'
|
|
120
122
|
require 'factpulse/models/aggregated_payment_input'
|
|
121
123
|
require 'factpulse/models/aggregated_transaction_input'
|
|
@@ -128,6 +130,8 @@ require 'factpulse/models/amount1'
|
|
|
128
130
|
require 'factpulse/models/amount_due'
|
|
129
131
|
require 'factpulse/models/async_task_status'
|
|
130
132
|
require 'factpulse/models/base_amount'
|
|
133
|
+
require 'factpulse/models/body_submit_cdar_api_v1_cdar_submit_post'
|
|
134
|
+
require 'factpulse/models/body_submit_cdar_xml_api_v1_cdar_submit_xml_post'
|
|
131
135
|
require 'factpulse/models/bounding_box_schema'
|
|
132
136
|
require 'factpulse/models/buyercountry'
|
|
133
137
|
require 'factpulse/models/celery_status'
|
|
@@ -142,6 +146,7 @@ require 'factpulse/models/convert_success_response'
|
|
|
142
146
|
require 'factpulse/models/convert_validation_failed_response'
|
|
143
147
|
require 'factpulse/models/country_code'
|
|
144
148
|
require 'factpulse/models/create_aggregated_report_request'
|
|
149
|
+
require 'factpulse/models/create_cdar_request'
|
|
145
150
|
require 'factpulse/models/create_e_reporting_request'
|
|
146
151
|
require 'factpulse/models/currency'
|
|
147
152
|
require 'factpulse/models/currency_code'
|
|
@@ -152,14 +157,17 @@ require 'factpulse/models/document_type_info'
|
|
|
152
157
|
require 'factpulse/models/e_reporting_flow_type'
|
|
153
158
|
require 'factpulse/models/e_reporting_validation_error'
|
|
154
159
|
require 'factpulse/models/electronic_address'
|
|
160
|
+
require 'factpulse/models/encaisseamount'
|
|
161
|
+
require 'factpulse/models/encaisseamount1'
|
|
155
162
|
require 'factpulse/models/enriched_invoice_info'
|
|
156
163
|
require 'factpulse/models/error_level'
|
|
157
164
|
require 'factpulse/models/error_source'
|
|
158
165
|
require 'factpulse/models/extraction_info'
|
|
159
166
|
require 'factpulse/models/factur_x_invoice'
|
|
160
167
|
require 'factpulse/models/factur_xpdf_info'
|
|
168
|
+
require 'factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials'
|
|
161
169
|
require 'factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code'
|
|
162
|
-
require 'factpulse/models/
|
|
170
|
+
require 'factpulse/models/facture_electronique_rest_api_schemas_validation_validation_error_response'
|
|
163
171
|
require 'factpulse/models/field_status'
|
|
164
172
|
require 'factpulse/models/file_info'
|
|
165
173
|
require 'factpulse/models/files_info'
|
|
@@ -169,6 +177,7 @@ require 'factpulse/models/flow_summary'
|
|
|
169
177
|
require 'factpulse/models/flow_syntax'
|
|
170
178
|
require 'factpulse/models/flow_type'
|
|
171
179
|
require 'factpulse/models/generate_aggregated_report_response'
|
|
180
|
+
require 'factpulse/models/generate_cdar_response'
|
|
172
181
|
require 'factpulse/models/generate_certificate_request'
|
|
173
182
|
require 'factpulse/models/generate_certificate_response'
|
|
174
183
|
require 'factpulse/models/generate_e_reporting_response'
|
|
@@ -225,7 +234,10 @@ require 'factpulse/models/product_classification'
|
|
|
225
234
|
require 'factpulse/models/quantity'
|
|
226
235
|
require 'factpulse/models/rate'
|
|
227
236
|
require 'factpulse/models/rate1'
|
|
237
|
+
require 'factpulse/models/reason_code_info'
|
|
238
|
+
require 'factpulse/models/reason_codes_response'
|
|
228
239
|
require 'factpulse/models/recipient'
|
|
240
|
+
require 'factpulse/models/recipient_input'
|
|
229
241
|
require 'factpulse/models/report_period'
|
|
230
242
|
require 'factpulse/models/report_sender'
|
|
231
243
|
require 'factpulse/models/rounding_amount'
|
|
@@ -241,11 +253,16 @@ require 'factpulse/models/signature_info'
|
|
|
241
253
|
require 'factpulse/models/signature_info_api'
|
|
242
254
|
require 'factpulse/models/signature_parameters'
|
|
243
255
|
require 'factpulse/models/simplified_invoice_data'
|
|
256
|
+
require 'factpulse/models/status_code_info'
|
|
257
|
+
require 'factpulse/models/status_codes_response'
|
|
244
258
|
require 'factpulse/models/structure_info'
|
|
245
259
|
require 'factpulse/models/structure_parameters'
|
|
246
260
|
require 'factpulse/models/structure_service'
|
|
247
261
|
require 'factpulse/models/submission_mode'
|
|
248
262
|
require 'factpulse/models/submit_aggregated_report_request'
|
|
263
|
+
require 'factpulse/models/submit_cdar_request'
|
|
264
|
+
require 'factpulse/models/submit_cdar_response'
|
|
265
|
+
require 'factpulse/models/submit_cdarxml_request'
|
|
249
266
|
require 'factpulse/models/submit_complete_invoice_request'
|
|
250
267
|
require 'factpulse/models/submit_complete_invoice_response'
|
|
251
268
|
require 'factpulse/models/submit_e_reporting_request'
|
|
@@ -282,6 +299,8 @@ require 'factpulse/models/vat_amount'
|
|
|
282
299
|
require 'factpulse/models/vat_category'
|
|
283
300
|
require 'factpulse/models/vat_line'
|
|
284
301
|
require 'factpulse/models/vat_point_date_code'
|
|
302
|
+
require 'factpulse/models/validate_cdar_request'
|
|
303
|
+
require 'factpulse/models/validate_cdar_response'
|
|
285
304
|
require 'factpulse/models/validate_e_reporting_request'
|
|
286
305
|
require 'factpulse/models/validate_e_reporting_response'
|
|
287
306
|
require 'factpulse/models/validation_error'
|
|
@@ -297,6 +316,7 @@ require 'factpulse/models/verified_field_schema'
|
|
|
297
316
|
require 'factpulse/api/afnorpdppa_api'
|
|
298
317
|
require 'factpulse/api/afnorpdppa_directory_service_api'
|
|
299
318
|
require 'factpulse/api/afnorpdppa_flow_service_api'
|
|
319
|
+
require 'factpulse/api/cdar_cycle_de_vie_api'
|
|
300
320
|
require 'factpulse/api/chorus_pro_api'
|
|
301
321
|
require 'factpulse/api/document_conversion_api'
|
|
302
322
|
require 'factpulse/api/downloads_api'
|
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.
|
|
4
|
+
version: 3.0.33
|
|
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-
|
|
11
|
+
date: 2026-01-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: typhoeus
|
|
@@ -217,6 +217,8 @@ files:
|
|
|
217
217
|
- docs/APIError.md
|
|
218
218
|
- docs/APIProfile.md
|
|
219
219
|
- docs/AcknowledgmentStatus.md
|
|
220
|
+
- docs/ActionCodeInfo.md
|
|
221
|
+
- docs/ActionCodesResponse.md
|
|
220
222
|
- docs/AdditionalDocument.md
|
|
221
223
|
- docs/AggregatedPaymentInput.md
|
|
222
224
|
- docs/AggregatedTransactionInput.md
|
|
@@ -229,8 +231,11 @@ files:
|
|
|
229
231
|
- docs/AmountDue.md
|
|
230
232
|
- docs/AsyncTaskStatus.md
|
|
231
233
|
- docs/BaseAmount.md
|
|
234
|
+
- docs/BodySubmitCdarApiV1CdarSubmitPost.md
|
|
235
|
+
- docs/BodySubmitCdarXmlApiV1CdarSubmitXmlPost.md
|
|
232
236
|
- docs/BoundingBoxSchema.md
|
|
233
237
|
- docs/Buyercountry.md
|
|
238
|
+
- docs/CDARCycleDeVieApi.md
|
|
234
239
|
- docs/CeleryStatus.md
|
|
235
240
|
- docs/CertificateInfoResponse.md
|
|
236
241
|
- docs/ChargeTotalAmount.md
|
|
@@ -244,6 +249,7 @@ files:
|
|
|
244
249
|
- docs/ConvertValidationFailedResponse.md
|
|
245
250
|
- docs/CountryCode.md
|
|
246
251
|
- docs/CreateAggregatedReportRequest.md
|
|
252
|
+
- docs/CreateCDARRequest.md
|
|
247
253
|
- docs/CreateEReportingRequest.md
|
|
248
254
|
- docs/Currency.md
|
|
249
255
|
- docs/CurrencyCode.md
|
|
@@ -257,14 +263,17 @@ files:
|
|
|
257
263
|
- docs/EReportingFlowType.md
|
|
258
264
|
- docs/EReportingValidationError.md
|
|
259
265
|
- docs/ElectronicAddress.md
|
|
266
|
+
- docs/Encaisseamount.md
|
|
267
|
+
- docs/Encaisseamount1.md
|
|
260
268
|
- docs/EnrichedInvoiceInfo.md
|
|
261
269
|
- docs/ErrorLevel.md
|
|
262
270
|
- docs/ErrorSource.md
|
|
263
271
|
- docs/ExtractionInfo.md
|
|
264
272
|
- docs/FacturXInvoice.md
|
|
265
273
|
- docs/FacturXPDFInfo.md
|
|
274
|
+
- docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md
|
|
266
275
|
- docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md
|
|
267
|
-
- docs/
|
|
276
|
+
- docs/FactureElectroniqueRestApiSchemasValidationValidationErrorResponse.md
|
|
268
277
|
- docs/FieldStatus.md
|
|
269
278
|
- docs/FileInfo.md
|
|
270
279
|
- docs/FilesInfo.md
|
|
@@ -274,6 +283,7 @@ files:
|
|
|
274
283
|
- docs/FlowSyntax.md
|
|
275
284
|
- docs/FlowType.md
|
|
276
285
|
- docs/GenerateAggregatedReportResponse.md
|
|
286
|
+
- docs/GenerateCDARResponse.md
|
|
277
287
|
- docs/GenerateCertificateRequest.md
|
|
278
288
|
- docs/GenerateCertificateResponse.md
|
|
279
289
|
- docs/GenerateEReportingResponse.md
|
|
@@ -333,7 +343,10 @@ files:
|
|
|
333
343
|
- docs/Quantity.md
|
|
334
344
|
- docs/Rate.md
|
|
335
345
|
- docs/Rate1.md
|
|
346
|
+
- docs/ReasonCodeInfo.md
|
|
347
|
+
- docs/ReasonCodesResponse.md
|
|
336
348
|
- docs/Recipient.md
|
|
349
|
+
- docs/RecipientInput.md
|
|
337
350
|
- docs/ReportPeriod.md
|
|
338
351
|
- docs/ReportSender.md
|
|
339
352
|
- docs/RoundingAmount.md
|
|
@@ -349,11 +362,16 @@ files:
|
|
|
349
362
|
- docs/SignatureInfoAPI.md
|
|
350
363
|
- docs/SignatureParameters.md
|
|
351
364
|
- docs/SimplifiedInvoiceData.md
|
|
365
|
+
- docs/StatusCodeInfo.md
|
|
366
|
+
- docs/StatusCodesResponse.md
|
|
352
367
|
- docs/StructureInfo.md
|
|
353
368
|
- docs/StructureParameters.md
|
|
354
369
|
- docs/StructureService.md
|
|
355
370
|
- docs/SubmissionMode.md
|
|
356
371
|
- docs/SubmitAggregatedReportRequest.md
|
|
372
|
+
- docs/SubmitCDARRequest.md
|
|
373
|
+
- docs/SubmitCDARResponse.md
|
|
374
|
+
- docs/SubmitCDARXMLRequest.md
|
|
357
375
|
- docs/SubmitCompleteInvoiceRequest.md
|
|
358
376
|
- docs/SubmitCompleteInvoiceResponse.md
|
|
359
377
|
- docs/SubmitEReportingRequest.md
|
|
@@ -391,6 +409,8 @@ files:
|
|
|
391
409
|
- docs/VATCategory.md
|
|
392
410
|
- docs/VATLine.md
|
|
393
411
|
- docs/VATPointDateCode.md
|
|
412
|
+
- docs/ValidateCDARRequest.md
|
|
413
|
+
- docs/ValidateCDARResponse.md
|
|
394
414
|
- docs/ValidateEReportingRequest.md
|
|
395
415
|
- docs/ValidateEReportingResponse.md
|
|
396
416
|
- docs/ValidationError.md
|
|
@@ -407,6 +427,7 @@ files:
|
|
|
407
427
|
- lib/factpulse/api/afnorpdppa_api.rb
|
|
408
428
|
- lib/factpulse/api/afnorpdppa_directory_service_api.rb
|
|
409
429
|
- lib/factpulse/api/afnorpdppa_flow_service_api.rb
|
|
430
|
+
- lib/factpulse/api/cdar_cycle_de_vie_api.rb
|
|
410
431
|
- lib/factpulse/api/chorus_pro_api.rb
|
|
411
432
|
- lib/factpulse/api/document_conversion_api.rb
|
|
412
433
|
- lib/factpulse/api/downloads_api.rb
|
|
@@ -423,6 +444,8 @@ files:
|
|
|
423
444
|
- lib/factpulse/helpers/exceptions.rb
|
|
424
445
|
- lib/factpulse/helpers/helpers.rb
|
|
425
446
|
- lib/factpulse/models/acknowledgment_status.rb
|
|
447
|
+
- lib/factpulse/models/action_code_info.rb
|
|
448
|
+
- lib/factpulse/models/action_codes_response.rb
|
|
426
449
|
- lib/factpulse/models/additional_document.rb
|
|
427
450
|
- lib/factpulse/models/afnor_acknowledgement.rb
|
|
428
451
|
- lib/factpulse/models/afnor_acknowledgement_detail.rb
|
|
@@ -532,6 +555,8 @@ files:
|
|
|
532
555
|
- lib/factpulse/models/api_profile.rb
|
|
533
556
|
- lib/factpulse/models/async_task_status.rb
|
|
534
557
|
- lib/factpulse/models/base_amount.rb
|
|
558
|
+
- lib/factpulse/models/body_submit_cdar_api_v1_cdar_submit_post.rb
|
|
559
|
+
- lib/factpulse/models/body_submit_cdar_xml_api_v1_cdar_submit_xml_post.rb
|
|
535
560
|
- lib/factpulse/models/bounding_box_schema.rb
|
|
536
561
|
- lib/factpulse/models/buyercountry.rb
|
|
537
562
|
- lib/factpulse/models/celery_status.rb
|
|
@@ -546,6 +571,7 @@ files:
|
|
|
546
571
|
- lib/factpulse/models/convert_validation_failed_response.rb
|
|
547
572
|
- lib/factpulse/models/country_code.rb
|
|
548
573
|
- lib/factpulse/models/create_aggregated_report_request.rb
|
|
574
|
+
- lib/factpulse/models/create_cdar_request.rb
|
|
549
575
|
- lib/factpulse/models/create_e_reporting_request.rb
|
|
550
576
|
- lib/factpulse/models/currency.rb
|
|
551
577
|
- lib/factpulse/models/currency_code.rb
|
|
@@ -556,14 +582,17 @@ files:
|
|
|
556
582
|
- lib/factpulse/models/e_reporting_flow_type.rb
|
|
557
583
|
- lib/factpulse/models/e_reporting_validation_error.rb
|
|
558
584
|
- lib/factpulse/models/electronic_address.rb
|
|
585
|
+
- lib/factpulse/models/encaisseamount.rb
|
|
586
|
+
- lib/factpulse/models/encaisseamount1.rb
|
|
559
587
|
- lib/factpulse/models/enriched_invoice_info.rb
|
|
560
588
|
- lib/factpulse/models/error_level.rb
|
|
561
589
|
- lib/factpulse/models/error_source.rb
|
|
562
590
|
- lib/factpulse/models/extraction_info.rb
|
|
563
591
|
- lib/factpulse/models/factur_x_invoice.rb
|
|
564
592
|
- lib/factpulse/models/factur_xpdf_info.rb
|
|
593
|
+
- lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb
|
|
565
594
|
- lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb
|
|
566
|
-
- lib/factpulse/models/
|
|
595
|
+
- lib/factpulse/models/facture_electronique_rest_api_schemas_validation_validation_error_response.rb
|
|
567
596
|
- lib/factpulse/models/field_status.rb
|
|
568
597
|
- lib/factpulse/models/file_info.rb
|
|
569
598
|
- lib/factpulse/models/files_info.rb
|
|
@@ -573,6 +602,7 @@ files:
|
|
|
573
602
|
- lib/factpulse/models/flow_syntax.rb
|
|
574
603
|
- lib/factpulse/models/flow_type.rb
|
|
575
604
|
- lib/factpulse/models/generate_aggregated_report_response.rb
|
|
605
|
+
- lib/factpulse/models/generate_cdar_response.rb
|
|
576
606
|
- lib/factpulse/models/generate_certificate_request.rb
|
|
577
607
|
- lib/factpulse/models/generate_certificate_response.rb
|
|
578
608
|
- lib/factpulse/models/generate_e_reporting_response.rb
|
|
@@ -629,7 +659,10 @@ files:
|
|
|
629
659
|
- lib/factpulse/models/quantity.rb
|
|
630
660
|
- lib/factpulse/models/rate.rb
|
|
631
661
|
- lib/factpulse/models/rate1.rb
|
|
662
|
+
- lib/factpulse/models/reason_code_info.rb
|
|
663
|
+
- lib/factpulse/models/reason_codes_response.rb
|
|
632
664
|
- lib/factpulse/models/recipient.rb
|
|
665
|
+
- lib/factpulse/models/recipient_input.rb
|
|
633
666
|
- lib/factpulse/models/report_period.rb
|
|
634
667
|
- lib/factpulse/models/report_sender.rb
|
|
635
668
|
- lib/factpulse/models/rounding_amount.rb
|
|
@@ -645,11 +678,16 @@ files:
|
|
|
645
678
|
- lib/factpulse/models/signature_info_api.rb
|
|
646
679
|
- lib/factpulse/models/signature_parameters.rb
|
|
647
680
|
- lib/factpulse/models/simplified_invoice_data.rb
|
|
681
|
+
- lib/factpulse/models/status_code_info.rb
|
|
682
|
+
- lib/factpulse/models/status_codes_response.rb
|
|
648
683
|
- lib/factpulse/models/structure_info.rb
|
|
649
684
|
- lib/factpulse/models/structure_parameters.rb
|
|
650
685
|
- lib/factpulse/models/structure_service.rb
|
|
651
686
|
- lib/factpulse/models/submission_mode.rb
|
|
652
687
|
- lib/factpulse/models/submit_aggregated_report_request.rb
|
|
688
|
+
- lib/factpulse/models/submit_cdar_request.rb
|
|
689
|
+
- lib/factpulse/models/submit_cdar_response.rb
|
|
690
|
+
- lib/factpulse/models/submit_cdarxml_request.rb
|
|
653
691
|
- lib/factpulse/models/submit_complete_invoice_request.rb
|
|
654
692
|
- lib/factpulse/models/submit_complete_invoice_response.rb
|
|
655
693
|
- lib/factpulse/models/submit_e_reporting_request.rb
|
|
@@ -681,6 +719,8 @@ files:
|
|
|
681
719
|
- lib/factpulse/models/transmission_type_code.rb
|
|
682
720
|
- lib/factpulse/models/unit_net_price.rb
|
|
683
721
|
- lib/factpulse/models/unit_of_measure.rb
|
|
722
|
+
- lib/factpulse/models/validate_cdar_request.rb
|
|
723
|
+
- lib/factpulse/models/validate_cdar_response.rb
|
|
684
724
|
- lib/factpulse/models/validate_e_reporting_request.rb
|
|
685
725
|
- lib/factpulse/models/validate_e_reporting_response.rb
|
|
686
726
|
- lib/factpulse/models/validation_error.rb
|
|
@@ -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
|
-
|