factpulse 3.0.24 → 3.0.25
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 +3 -3
- data/Gemfile.lock +1 -1
- data/docs/AFNORPDPPADirectoryServiceApi.md +96 -286
- data/docs/ChorusProCredentials.md +8 -8
- data/docs/ChorusProDestination.md +1 -1
- data/docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md +26 -0
- data/docs/GetChorusProIdRequest.md +1 -1
- data/docs/GetInvoiceRequest.md +1 -1
- data/docs/GetStructureRequest.md +1 -1
- data/docs/SearchStructureRequest.md +1 -1
- data/docs/SubmitInvoiceRequest.md +1 -1
- data/lib/factpulse/api/afnorpdppa_directory_service_api.rb +18 -105
- data/lib/factpulse/models/chorus_pro_credentials.rb +26 -94
- data/lib/factpulse/models/chorus_pro_destination.rb +1 -1
- 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
- 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/search_structure_request.rb +1 -1
- data/lib/factpulse/models/submit_invoice_request.rb +1 -1
- data/lib/factpulse/version.rb +1 -1
- data/lib/factpulse.rb +1 -5
- metadata +3 -11
- data/docs/AcceptLanguage.md +0 -15
- data/docs/DirectoryLineInclude.md +0 -15
- data/docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md +0 -26
- data/docs/RoutingCodeInclude.md +0 -15
- data/docs/SiretInclude.md +0 -15
- data/lib/factpulse/models/accept_language.rb +0 -40
- data/lib/factpulse/models/directory_line_include.rb +0 -42
- data/lib/factpulse/models/routing_code_include.rb +0 -40
- data/lib/factpulse/models/siret_include.rb +0 -39
|
@@ -14,31 +14,27 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
# Chorus Pro 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
|
-
|
|
26
|
-
attr_accessor :chorus_pro_login
|
|
23
|
+
attr_accessor :chorus_login
|
|
27
24
|
|
|
28
|
-
|
|
29
|
-
attr_accessor :chorus_pro_password
|
|
25
|
+
attr_accessor :chorus_password
|
|
30
26
|
|
|
31
|
-
# Use sandbox
|
|
32
|
-
attr_accessor :
|
|
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
|
-
:'
|
|
40
|
-
:'
|
|
41
|
-
:'
|
|
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
|
-
:'
|
|
61
|
-
:'
|
|
62
|
-
:'
|
|
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?(:'
|
|
101
|
-
self.
|
|
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?(:'
|
|
107
|
-
self.
|
|
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?(:'
|
|
113
|
-
self.
|
|
104
|
+
if attributes.key?(:'sandbox_mode')
|
|
105
|
+
self.sandbox_mode = attributes[:'sandbox_mode']
|
|
114
106
|
else
|
|
115
|
-
self.
|
|
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
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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,
|
|
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
|
|
@@ -14,27 +14,31 @@ require 'date'
|
|
|
14
14
|
require 'time'
|
|
15
15
|
|
|
16
16
|
module FactPulse
|
|
17
|
-
#
|
|
18
|
-
class
|
|
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
|
-
|
|
25
|
+
# Chorus Pro login
|
|
26
|
+
attr_accessor :chorus_pro_login
|
|
24
27
|
|
|
25
|
-
|
|
28
|
+
# Chorus Pro password
|
|
29
|
+
attr_accessor :chorus_pro_password
|
|
26
30
|
|
|
27
|
-
#
|
|
28
|
-
attr_accessor :
|
|
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
|
-
:'
|
|
36
|
-
:'
|
|
37
|
-
:'
|
|
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
|
-
:'
|
|
57
|
-
:'
|
|
58
|
-
:'
|
|
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::
|
|
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::
|
|
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?(:'
|
|
97
|
-
self.
|
|
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?(:'
|
|
101
|
-
self.
|
|
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?(:'
|
|
105
|
-
self.
|
|
112
|
+
if attributes.key?(:'sandbox')
|
|
113
|
+
self.sandbox = attributes[:'sandbox']
|
|
106
114
|
else
|
|
107
|
-
self.
|
|
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
|
-
|
|
134
|
-
|
|
135
|
-
|
|
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,
|
|
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
|
|
@@ -46,7 +46,7 @@ module FactPulse
|
|
|
46
46
|
# Attribute type mapping.
|
|
47
47
|
def self.openapi_types
|
|
48
48
|
{
|
|
49
|
-
:'credentials' => :'
|
|
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' => :'
|
|
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' => :'
|
|
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' => :'
|
|
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' => :'
|
|
86
|
+
:'credentials' => :'FactureElectroniqueRestApiSchemasChorusProChorusProCredentials',
|
|
87
87
|
:'invoice_number' => :'String',
|
|
88
88
|
:'invoice_date' => :'String',
|
|
89
89
|
:'payment_due_date' => :'String',
|
data/lib/factpulse/version.rb
CHANGED
data/lib/factpulse.rb
CHANGED
|
@@ -115,7 +115,6 @@ require 'factpulse/models/afnor_update_put_routing_code_body'
|
|
|
115
115
|
require 'factpulse/models/afnor_webhook_callback_content'
|
|
116
116
|
require 'factpulse/models/api_error'
|
|
117
117
|
require 'factpulse/models/api_profile'
|
|
118
|
-
require 'factpulse/models/accept_language'
|
|
119
118
|
require 'factpulse/models/acknowledgment_status'
|
|
120
119
|
require 'factpulse/models/additional_document'
|
|
121
120
|
require 'factpulse/models/aggregated_payment_input'
|
|
@@ -148,7 +147,6 @@ require 'factpulse/models/currency'
|
|
|
148
147
|
require 'factpulse/models/currency_code'
|
|
149
148
|
require 'factpulse/models/delivery_party'
|
|
150
149
|
require 'factpulse/models/destination'
|
|
151
|
-
require 'factpulse/models/directory_line_include'
|
|
152
150
|
require 'factpulse/models/doc_type'
|
|
153
151
|
require 'factpulse/models/document_type_info'
|
|
154
152
|
require 'factpulse/models/e_reporting_flow_type'
|
|
@@ -160,8 +158,8 @@ require 'factpulse/models/error_source'
|
|
|
160
158
|
require 'factpulse/models/extraction_info'
|
|
161
159
|
require 'factpulse/models/factur_x_invoice'
|
|
162
160
|
require 'factpulse/models/factur_xpdf_info'
|
|
161
|
+
require 'factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials'
|
|
163
162
|
require 'factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code'
|
|
164
|
-
require 'factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials'
|
|
165
163
|
require 'factpulse/models/field_status'
|
|
166
164
|
require 'factpulse/models/file_info'
|
|
167
165
|
require 'factpulse/models/files_info'
|
|
@@ -231,7 +229,6 @@ require 'factpulse/models/recipient'
|
|
|
231
229
|
require 'factpulse/models/report_period'
|
|
232
230
|
require 'factpulse/models/report_sender'
|
|
233
231
|
require 'factpulse/models/rounding_amount'
|
|
234
|
-
require 'factpulse/models/routing_code_include'
|
|
235
232
|
require 'factpulse/models/schematron_validation_error'
|
|
236
233
|
require 'factpulse/models/scheme_id'
|
|
237
234
|
require 'factpulse/models/search_flow_request'
|
|
@@ -244,7 +241,6 @@ require 'factpulse/models/signature_info'
|
|
|
244
241
|
require 'factpulse/models/signature_info_api'
|
|
245
242
|
require 'factpulse/models/signature_parameters'
|
|
246
243
|
require 'factpulse/models/simplified_invoice_data'
|
|
247
|
-
require 'factpulse/models/siret_include'
|
|
248
244
|
require 'factpulse/models/structure_info'
|
|
249
245
|
require 'factpulse/models/structure_parameters'
|
|
250
246
|
require 'factpulse/models/structure_service'
|
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.
|
|
4
|
+
version: 3.0.25
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- OpenAPI-Generator
|
|
@@ -216,7 +216,6 @@ files:
|
|
|
216
216
|
- docs/AFNORWebhookCallbackContent.md
|
|
217
217
|
- docs/APIError.md
|
|
218
218
|
- docs/APIProfile.md
|
|
219
|
-
- docs/AcceptLanguage.md
|
|
220
219
|
- docs/AcknowledgmentStatus.md
|
|
221
220
|
- docs/AdditionalDocument.md
|
|
222
221
|
- docs/AggregatedPaymentInput.md
|
|
@@ -250,7 +249,6 @@ files:
|
|
|
250
249
|
- docs/CurrencyCode.md
|
|
251
250
|
- docs/DeliveryParty.md
|
|
252
251
|
- docs/Destination.md
|
|
253
|
-
- docs/DirectoryLineInclude.md
|
|
254
252
|
- docs/DocType.md
|
|
255
253
|
- docs/DocumentConversionApi.md
|
|
256
254
|
- docs/DocumentTypeInfo.md
|
|
@@ -265,8 +263,8 @@ files:
|
|
|
265
263
|
- docs/ExtractionInfo.md
|
|
266
264
|
- docs/FacturXInvoice.md
|
|
267
265
|
- docs/FacturXPDFInfo.md
|
|
266
|
+
- docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md
|
|
268
267
|
- docs/FactureElectroniqueRestApiSchemasEreportingInvoiceTypeCode.md
|
|
269
|
-
- docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md
|
|
270
268
|
- docs/FieldStatus.md
|
|
271
269
|
- docs/FileInfo.md
|
|
272
270
|
- docs/FilesInfo.md
|
|
@@ -339,7 +337,6 @@ files:
|
|
|
339
337
|
- docs/ReportPeriod.md
|
|
340
338
|
- docs/ReportSender.md
|
|
341
339
|
- docs/RoundingAmount.md
|
|
342
|
-
- docs/RoutingCodeInclude.md
|
|
343
340
|
- docs/SchematronValidationError.md
|
|
344
341
|
- docs/SchemeID.md
|
|
345
342
|
- docs/SearchFlowRequest.md
|
|
@@ -352,7 +349,6 @@ files:
|
|
|
352
349
|
- docs/SignatureInfoAPI.md
|
|
353
350
|
- docs/SignatureParameters.md
|
|
354
351
|
- docs/SimplifiedInvoiceData.md
|
|
355
|
-
- docs/SiretInclude.md
|
|
356
352
|
- docs/StructureInfo.md
|
|
357
353
|
- docs/StructureParameters.md
|
|
358
354
|
- docs/StructureService.md
|
|
@@ -426,7 +422,6 @@ files:
|
|
|
426
422
|
- lib/factpulse/helpers/client.rb
|
|
427
423
|
- lib/factpulse/helpers/exceptions.rb
|
|
428
424
|
- lib/factpulse/helpers/helpers.rb
|
|
429
|
-
- lib/factpulse/models/accept_language.rb
|
|
430
425
|
- lib/factpulse/models/acknowledgment_status.rb
|
|
431
426
|
- lib/factpulse/models/additional_document.rb
|
|
432
427
|
- lib/factpulse/models/afnor_acknowledgement.rb
|
|
@@ -556,7 +551,6 @@ files:
|
|
|
556
551
|
- lib/factpulse/models/currency_code.rb
|
|
557
552
|
- lib/factpulse/models/delivery_party.rb
|
|
558
553
|
- lib/factpulse/models/destination.rb
|
|
559
|
-
- lib/factpulse/models/directory_line_include.rb
|
|
560
554
|
- lib/factpulse/models/doc_type.rb
|
|
561
555
|
- lib/factpulse/models/document_type_info.rb
|
|
562
556
|
- lib/factpulse/models/e_reporting_flow_type.rb
|
|
@@ -568,8 +562,8 @@ files:
|
|
|
568
562
|
- lib/factpulse/models/extraction_info.rb
|
|
569
563
|
- lib/factpulse/models/factur_x_invoice.rb
|
|
570
564
|
- lib/factpulse/models/factur_xpdf_info.rb
|
|
565
|
+
- lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb
|
|
571
566
|
- lib/factpulse/models/facture_electronique_rest_api_schemas_ereporting_invoice_type_code.rb
|
|
572
|
-
- lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb
|
|
573
567
|
- lib/factpulse/models/field_status.rb
|
|
574
568
|
- lib/factpulse/models/file_info.rb
|
|
575
569
|
- lib/factpulse/models/files_info.rb
|
|
@@ -639,7 +633,6 @@ files:
|
|
|
639
633
|
- lib/factpulse/models/report_period.rb
|
|
640
634
|
- lib/factpulse/models/report_sender.rb
|
|
641
635
|
- lib/factpulse/models/rounding_amount.rb
|
|
642
|
-
- lib/factpulse/models/routing_code_include.rb
|
|
643
636
|
- lib/factpulse/models/schematron_validation_error.rb
|
|
644
637
|
- lib/factpulse/models/scheme_id.rb
|
|
645
638
|
- lib/factpulse/models/search_flow_request.rb
|
|
@@ -652,7 +645,6 @@ files:
|
|
|
652
645
|
- lib/factpulse/models/signature_info_api.rb
|
|
653
646
|
- lib/factpulse/models/signature_parameters.rb
|
|
654
647
|
- lib/factpulse/models/simplified_invoice_data.rb
|
|
655
|
-
- lib/factpulse/models/siret_include.rb
|
|
656
648
|
- lib/factpulse/models/structure_info.rb
|
|
657
649
|
- lib/factpulse/models/structure_parameters.rb
|
|
658
650
|
- lib/factpulse/models/structure_service.rb
|
data/docs/AcceptLanguage.md
DELETED