factpulse 3.0.2 → 3.0.4

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c71db495a442c7d0848b85dc8e4bf39ad40d7ee4ed8a8661d7d38a692cf291ed
4
- data.tar.gz: 524461e404aa91f2ddd0c51a008ea2a4b4f6e136a5a2ec4db71922b8d9282a5e
3
+ metadata.gz: 2e621f5c7d34b03edfa7d5776c19baa354c73d67fcb6e4c0e9ce2dcff3dc7f07
4
+ data.tar.gz: 531bdc7f3f4bd9710ebc61d126b1f0966e1a36df11c46b3d458a173642a604d1
5
5
  SHA512:
6
- metadata.gz: c1109f68b8dc55a958f4d235f843912c0a6ab56f8539b439472c206287a97d22be212ccc775efb31ec0ae56528c8f36c199955a706f46179eb60364dd260124f
7
- data.tar.gz: 3b929bc0efda7a80f122068b3fae3ce5c0cd3e26afa428e4644fde7bacf9d7b13f73b9363b661d2030edcc2206bb76513ffa9e1a40993efa58612708c567047d
6
+ metadata.gz: 21d6f088e2a87a25d443fa223f4b0152b494cfcd7e68a68e109f13bbf85deaca82869601e45e6d1c91d1903444e039e2e81a6c752283be24a7d6193efa57819a
7
+ data.tar.gz: 808d20728c0c3fc9798da496970351b6dfbc8afec4118c5626b0508089c862bbfd7e9a3df6d747b95acdfee781e56d2dbe0772a47a159c7ea7d348067b1ba0ef
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.2] - 2025-12-19
10
+ ## [3.0.4] - 2025-12-19
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.2...HEAD
28
- [3.0.2]: https://github.com/factpulse/sdk-ruby/releases/tag/v3.0.2
27
+ [Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v3.0.4...HEAD
28
+ [3.0.4]: https://github.com/factpulse/sdk-ruby/releases/tag/v3.0.4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factpulse (3.0.2)
4
+ factpulse (3.0.4)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -1,4 +1,4 @@
1
- # FactPulse::TaskStatus
1
+ # FactPulse::AsyncTaskStatus
2
2
 
3
3
  ## Properties
4
4
 
@@ -13,7 +13,7 @@
13
13
  ```ruby
14
14
  require 'factpulse'
15
15
 
16
- instance = FactPulse::TaskStatus.new(
16
+ instance = FactPulse::AsyncTaskStatus.new(
17
17
  task_id: null,
18
18
  status: null,
19
19
  result: null
@@ -1,4 +1,4 @@
1
- # FactPulse::FactureFacturX
1
+ # FactPulse::FacturXInvoice
2
2
 
3
3
  ## Properties
4
4
 
@@ -26,7 +26,7 @@
26
26
  ```ruby
27
27
  require 'factpulse'
28
28
 
29
- instance = FactPulse::FactureFacturX.new(
29
+ instance = FactPulse::FacturXInvoice.new(
30
30
  invoice_number: null,
31
31
  payment_due_date: null,
32
32
  invoice_date: null,
@@ -167,7 +167,7 @@ end
167
167
 
168
168
  ## get_task_status_api_v1_processing_tasks_task_id_status_get
169
169
 
170
- > <TaskStatus> get_task_status_api_v1_processing_tasks_task_id_status_get(task_id)
170
+ > <AsyncTaskStatus> get_task_status_api_v1_processing_tasks_task_id_status_get(task_id)
171
171
 
172
172
  Get task generation status
173
173
 
@@ -200,7 +200,7 @@ end
200
200
 
201
201
  This returns an Array which contains the response data, status code and headers.
202
202
 
203
- > <Array(<TaskStatus>, Integer, Hash)> get_task_status_api_v1_processing_tasks_task_id_status_get_with_http_info(task_id)
203
+ > <Array(<AsyncTaskStatus>, Integer, Hash)> get_task_status_api_v1_processing_tasks_task_id_status_get_with_http_info(task_id)
204
204
 
205
205
  ```ruby
206
206
  begin
@@ -208,7 +208,7 @@ begin
208
208
  data, status_code, headers = api_instance.get_task_status_api_v1_processing_tasks_task_id_status_get_with_http_info(task_id)
209
209
  p status_code # => 2xx
210
210
  p headers # => { ... }
211
- p data # => <TaskStatus>
211
+ p data # => <AsyncTaskStatus>
212
212
  rescue FactPulse::ApiError => e
213
213
  puts "Error when calling InvoiceProcessingApi->get_task_status_api_v1_processing_tasks_task_id_status_get_with_http_info: #{e}"
214
214
  end
@@ -222,7 +222,7 @@ end
222
222
 
223
223
  ### Return type
224
224
 
225
- [**TaskStatus**](TaskStatus.md)
225
+ [**AsyncTaskStatus**](AsyncTaskStatus.md)
226
226
 
227
227
  ### Authorization
228
228
 
@@ -14,7 +14,7 @@ All URIs are relative to *http://localhost*
14
14
 
15
15
  ## get_verification_status_api_v1_verification_verify_async_task_id_status_get
16
16
 
17
- > <TaskStatus> get_verification_status_api_v1_verification_verify_async_task_id_status_get(task_id)
17
+ > <AsyncTaskStatus> get_verification_status_api_v1_verification_verify_async_task_id_status_get(task_id)
18
18
 
19
19
  Get status of an asynchronous verification
20
20
 
@@ -47,7 +47,7 @@ end
47
47
 
48
48
  This returns an Array which contains the response data, status code and headers.
49
49
 
50
- > <Array(<TaskStatus>, Integer, Hash)> get_verification_status_api_v1_verification_verify_async_task_id_status_get_with_http_info(task_id)
50
+ > <Array(<AsyncTaskStatus>, Integer, Hash)> get_verification_status_api_v1_verification_verify_async_task_id_status_get_with_http_info(task_id)
51
51
 
52
52
  ```ruby
53
53
  begin
@@ -55,7 +55,7 @@ begin
55
55
  data, status_code, headers = api_instance.get_verification_status_api_v1_verification_verify_async_task_id_status_get_with_http_info(task_id)
56
56
  p status_code # => 2xx
57
57
  p headers # => { ... }
58
- p data # => <TaskStatus>
58
+ p data # => <AsyncTaskStatus>
59
59
  rescue FactPulse::ApiError => e
60
60
  puts "Error when calling PDFXMLVerificationApi->get_verification_status_api_v1_verification_verify_async_task_id_status_get_with_http_info: #{e}"
61
61
  end
@@ -69,7 +69,7 @@ end
69
69
 
70
70
  ### Return type
71
71
 
72
- [**TaskStatus**](TaskStatus.md)
72
+ [**AsyncTaskStatus**](AsyncTaskStatus.md)
73
73
 
74
74
  ### Authorization
75
75
 
@@ -83,7 +83,7 @@ end
83
83
 
84
84
  ## get_verification_status_api_v1_verification_verify_async_task_id_status_get_0
85
85
 
86
- > <TaskStatus> get_verification_status_api_v1_verification_verify_async_task_id_status_get_0(task_id)
86
+ > <AsyncTaskStatus> get_verification_status_api_v1_verification_verify_async_task_id_status_get_0(task_id)
87
87
 
88
88
  Get status of an asynchronous verification
89
89
 
@@ -116,7 +116,7 @@ end
116
116
 
117
117
  This returns an Array which contains the response data, status code and headers.
118
118
 
119
- > <Array(<TaskStatus>, Integer, Hash)> get_verification_status_api_v1_verification_verify_async_task_id_status_get_0_with_http_info(task_id)
119
+ > <Array(<AsyncTaskStatus>, Integer, Hash)> get_verification_status_api_v1_verification_verify_async_task_id_status_get_0_with_http_info(task_id)
120
120
 
121
121
  ```ruby
122
122
  begin
@@ -124,7 +124,7 @@ begin
124
124
  data, status_code, headers = api_instance.get_verification_status_api_v1_verification_verify_async_task_id_status_get_0_with_http_info(task_id)
125
125
  p status_code # => 2xx
126
126
  p headers # => { ... }
127
- p data # => <TaskStatus>
127
+ p data # => <AsyncTaskStatus>
128
128
  rescue FactPulse::ApiError => e
129
129
  puts "Error when calling PDFXMLVerificationApi->get_verification_status_api_v1_verification_verify_async_task_id_status_get_0_with_http_info: #{e}"
130
130
  end
@@ -138,7 +138,7 @@ end
138
138
 
139
139
  ### Return type
140
140
 
141
- [**TaskStatus**](TaskStatus.md)
141
+ [**AsyncTaskStatus**](AsyncTaskStatus.md)
142
142
 
143
143
  ### Authorization
144
144
 
@@ -172,7 +172,7 @@ module FactPulse
172
172
  # Retrieves the progress status of an invoice generation task. ## Possible states The `status` field uses the `CeleryStatus` enum with values: - **PENDING, STARTED, SUCCESS, FAILURE, RETRY** See the `CeleryStatus` schema documentation for details. ## Business result When `status=\"SUCCESS\"`, the `result` field contains: - `status`: \"SUCCESS\" or \"ERROR\" (business result) - `content_b64`: Base64 encoded content (if success) - `errorCode`, `errorMessage`, `details`: AFNOR format (if business error) ## Usage Poll this endpoint every 2-3 seconds until `status` is `SUCCESS` or `FAILURE`.
173
173
  # @param task_id [String]
174
174
  # @param [Hash] opts the optional parameters
175
- # @return [TaskStatus]
175
+ # @return [AsyncTaskStatus]
176
176
  def get_task_status_api_v1_processing_tasks_task_id_status_get(task_id, opts = {})
177
177
  data, _status_code, _headers = get_task_status_api_v1_processing_tasks_task_id_status_get_with_http_info(task_id, opts)
178
178
  data
@@ -182,7 +182,7 @@ module FactPulse
182
182
  # Retrieves the progress status of an invoice generation task. ## Possible states The &#x60;status&#x60; field uses the &#x60;CeleryStatus&#x60; enum with values: - **PENDING, STARTED, SUCCESS, FAILURE, RETRY** See the &#x60;CeleryStatus&#x60; schema documentation for details. ## Business result When &#x60;status&#x3D;\&quot;SUCCESS\&quot;&#x60;, the &#x60;result&#x60; field contains: - &#x60;status&#x60;: \&quot;SUCCESS\&quot; or \&quot;ERROR\&quot; (business result) - &#x60;content_b64&#x60;: Base64 encoded content (if success) - &#x60;errorCode&#x60;, &#x60;errorMessage&#x60;, &#x60;details&#x60;: AFNOR format (if business error) ## Usage Poll this endpoint every 2-3 seconds until &#x60;status&#x60; is &#x60;SUCCESS&#x60; or &#x60;FAILURE&#x60;.
183
183
  # @param task_id [String]
184
184
  # @param [Hash] opts the optional parameters
185
- # @return [Array<(TaskStatus, Integer, Hash)>] TaskStatus data, response status code and response headers
185
+ # @return [Array<(AsyncTaskStatus, Integer, Hash)>] AsyncTaskStatus data, response status code and response headers
186
186
  def get_task_status_api_v1_processing_tasks_task_id_status_get_with_http_info(task_id, opts = {})
187
187
  if @api_client.config.debugging
188
188
  @api_client.config.logger.debug 'Calling API: InvoiceProcessingApi.get_task_status_api_v1_processing_tasks_task_id_status_get ...'
@@ -209,7 +209,7 @@ module FactPulse
209
209
  post_body = opts[:debug_body]
210
210
 
211
211
  # return_type
212
- return_type = opts[:debug_return_type] || 'TaskStatus'
212
+ return_type = opts[:debug_return_type] || 'AsyncTaskStatus'
213
213
 
214
214
  # auth_names
215
215
  auth_names = opts[:debug_auth_names] || ['HTTPBearer']
@@ -23,7 +23,7 @@ module FactPulse
23
23
  # Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
24
24
  # @param task_id [String]
25
25
  # @param [Hash] opts the optional parameters
26
- # @return [TaskStatus]
26
+ # @return [AsyncTaskStatus]
27
27
  def get_verification_status_api_v1_verification_verify_async_task_id_status_get(task_id, opts = {})
28
28
  data, _status_code, _headers = get_verification_status_api_v1_verification_verify_async_task_id_status_get_with_http_info(task_id, opts)
29
29
  data
@@ -33,7 +33,7 @@ module FactPulse
33
33
  # Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - &#x60;PENDING&#x60;: Task waiting in queue - &#x60;STARTED&#x60;: Task currently running - &#x60;SUCCESS&#x60;: Task completed successfully (see &#x60;result&#x60;) - &#x60;FAILURE&#x60;: System error (unhandled exception) **Note:** The &#x60;result.status&#x60; field can be \&quot;SUCCESS\&quot; or \&quot;ERROR\&quot; independently of Celery status (which will always be SUCCESS if the task ran).
34
34
  # @param task_id [String]
35
35
  # @param [Hash] opts the optional parameters
36
- # @return [Array<(TaskStatus, Integer, Hash)>] TaskStatus data, response status code and response headers
36
+ # @return [Array<(AsyncTaskStatus, Integer, Hash)>] AsyncTaskStatus data, response status code and response headers
37
37
  def get_verification_status_api_v1_verification_verify_async_task_id_status_get_with_http_info(task_id, opts = {})
38
38
  if @api_client.config.debugging
39
39
  @api_client.config.logger.debug 'Calling API: PDFXMLVerificationApi.get_verification_status_api_v1_verification_verify_async_task_id_status_get ...'
@@ -60,7 +60,7 @@ module FactPulse
60
60
  post_body = opts[:debug_body]
61
61
 
62
62
  # return_type
63
- return_type = opts[:debug_return_type] || 'TaskStatus'
63
+ return_type = opts[:debug_return_type] || 'AsyncTaskStatus'
64
64
 
65
65
  # auth_names
66
66
  auth_names = opts[:debug_auth_names] || ['HTTPBearer']
@@ -86,7 +86,7 @@ module FactPulse
86
86
  # Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - `PENDING`: Task waiting in queue - `STARTED`: Task currently running - `SUCCESS`: Task completed successfully (see `result`) - `FAILURE`: System error (unhandled exception) **Note:** The `result.status` field can be \"SUCCESS\" or \"ERROR\" independently of Celery status (which will always be SUCCESS if the task ran).
87
87
  # @param task_id [String]
88
88
  # @param [Hash] opts the optional parameters
89
- # @return [TaskStatus]
89
+ # @return [AsyncTaskStatus]
90
90
  def get_verification_status_api_v1_verification_verify_async_task_id_status_get_0(task_id, opts = {})
91
91
  data, _status_code, _headers = get_verification_status_api_v1_verification_verify_async_task_id_status_get_0_with_http_info(task_id, opts)
92
92
  data
@@ -96,7 +96,7 @@ module FactPulse
96
96
  # Retrieves the status and result of an asynchronous verification task. **Possible statuses:** - &#x60;PENDING&#x60;: Task waiting in queue - &#x60;STARTED&#x60;: Task currently running - &#x60;SUCCESS&#x60;: Task completed successfully (see &#x60;result&#x60;) - &#x60;FAILURE&#x60;: System error (unhandled exception) **Note:** The &#x60;result.status&#x60; field can be \&quot;SUCCESS\&quot; or \&quot;ERROR\&quot; independently of Celery status (which will always be SUCCESS if the task ran).
97
97
  # @param task_id [String]
98
98
  # @param [Hash] opts the optional parameters
99
- # @return [Array<(TaskStatus, Integer, Hash)>] TaskStatus data, response status code and response headers
99
+ # @return [Array<(AsyncTaskStatus, Integer, Hash)>] AsyncTaskStatus data, response status code and response headers
100
100
  def get_verification_status_api_v1_verification_verify_async_task_id_status_get_0_with_http_info(task_id, opts = {})
101
101
  if @api_client.config.debugging
102
102
  @api_client.config.logger.debug 'Calling API: PDFXMLVerificationApi.get_verification_status_api_v1_verification_verify_async_task_id_status_get_0 ...'
@@ -123,7 +123,7 @@ module FactPulse
123
123
  post_body = opts[:debug_body]
124
124
 
125
125
  # return_type
126
- return_type = opts[:debug_return_type] || 'TaskStatus'
126
+ return_type = opts[:debug_return_type] || 'AsyncTaskStatus'
127
127
 
128
128
  # auth_names
129
129
  auth_names = opts[:debug_auth_names] || ['HTTPBearer']
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module FactPulse
17
17
  # Complete description of an async task status. The `status` field indicates the Celery state of the task. When `status=\"SUCCESS\"`, check `result.status` for the business result (\"SUCCESS\" or \"ERROR\").
18
- class TaskStatus < ApiModelBase
18
+ class AsyncTaskStatus < ApiModelBase
19
19
  # Unique task identifier
20
20
  attr_accessor :task_id
21
21
 
@@ -85,14 +85,14 @@ module FactPulse
85
85
  # @param [Hash] attributes Model attributes in the form of hash
86
86
  def initialize(attributes = {})
87
87
  if (!attributes.is_a?(Hash))
88
- fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::TaskStatus` initialize method"
88
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::AsyncTaskStatus` initialize method"
89
89
  end
90
90
 
91
91
  # check to see if the attribute exists and convert string to symbol for hash key
92
92
  acceptable_attribute_map = self.class.acceptable_attribute_map
93
93
  attributes = attributes.each_with_object({}) { |(k, v), h|
94
94
  if (!acceptable_attribute_map.key?(k.to_sym))
95
- fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::TaskStatus`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
95
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::AsyncTaskStatus`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
96
96
  end
97
97
  h[k.to_sym] = v
98
98
  }
@@ -15,7 +15,7 @@ require 'time'
15
15
 
16
16
  module FactPulse
17
17
  # Data model for an invoice to be converted to Factur-X.
18
- class FactureFacturX < ApiModelBase
18
+ class FacturXInvoice < ApiModelBase
19
19
  attr_accessor :invoice_number
20
20
 
21
21
  attr_accessor :payment_due_date
@@ -138,14 +138,14 @@ module FactPulse
138
138
  # @param [Hash] attributes Model attributes in the form of hash
139
139
  def initialize(attributes = {})
140
140
  if (!attributes.is_a?(Hash))
141
- fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::FactureFacturX` initialize method"
141
+ fail ArgumentError, "The input argument (attributes) must be a hash in `FactPulse::FacturXInvoice` initialize method"
142
142
  end
143
143
 
144
144
  # check to see if the attribute exists and convert string to symbol for hash key
145
145
  acceptable_attribute_map = self.class.acceptable_attribute_map
146
146
  attributes = attributes.each_with_object({}) { |(k, v), h|
147
147
  if (!acceptable_attribute_map.key?(k.to_sym))
148
- fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::FactureFacturX`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
148
+ fail ArgumentError, "`#{k}` is not a valid attribute in `FactPulse::FacturXInvoice`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
149
149
  end
150
150
  h[k.to_sym] = v
151
151
  }
@@ -31,25 +31,9 @@ module FactPulse
31
31
  FACTORED_CREDIT_NOTE = "396".freeze
32
32
  SELF_BILLED_FACTORED_CREDIT_NOTE = "502".freeze
33
33
  PREPAYMENT_CREDIT_NOTE = "503".freeze
34
- N3802 = "380".freeze
35
- N3892 = "389".freeze
36
- N3932 = "393".freeze
37
- N5012 = "501".freeze
38
- N3862 = "386".freeze
39
- N5002 = "500".freeze
40
- N3842 = "384".freeze
41
- N4712 = "471".freeze
42
- N4722 = "472".freeze
43
- N4732 = "473".freeze
44
- N3812 = "381".freeze
45
- N2612 = "261".freeze
46
- N2622 = "262".freeze
47
- N3962 = "396".freeze
48
- N5022 = "502".freeze
49
- N5032 = "503".freeze
50
34
 
51
35
  def self.all_vars
52
- @all_vars ||= [INVOICE, SELF_BILLED_INVOICE, FACTORED_INVOICE, SELF_BILLED_FACTORED_INVOICE, PREPAYMENT_INVOICE, SELF_BILLED_PREPAYMENT_INVOICE, CORRECTIVE_INVOICE, SELF_BILLED_CORRECTIVE_INVOICE, FACTORED_CORRECTIVE_INVOICE, SELF_BILLED_FACTORED_CORRECTIVE_INVOICE, CREDIT_NOTE, SELF_BILLED_CREDIT_NOTE, GLOBAL_ALLOWANCE_CREDIT_NOTE, FACTORED_CREDIT_NOTE, SELF_BILLED_FACTORED_CREDIT_NOTE, PREPAYMENT_CREDIT_NOTE, N3802, N3892, N3932, N5012, N3862, N5002, N3842, N4712, N4722, N4732, N3812, N2612, N2622, N3962, N5022, N5032].freeze
36
+ @all_vars ||= [INVOICE, SELF_BILLED_INVOICE, FACTORED_INVOICE, SELF_BILLED_FACTORED_INVOICE, PREPAYMENT_INVOICE, SELF_BILLED_PREPAYMENT_INVOICE, CORRECTIVE_INVOICE, SELF_BILLED_CORRECTIVE_INVOICE, FACTORED_CORRECTIVE_INVOICE, SELF_BILLED_FACTORED_CORRECTIVE_INVOICE, CREDIT_NOTE, SELF_BILLED_CREDIT_NOTE, GLOBAL_ALLOWANCE_CREDIT_NOTE, FACTORED_CREDIT_NOTE, SELF_BILLED_FACTORED_CREDIT_NOTE, PREPAYMENT_CREDIT_NOTE].freeze
53
37
  end
54
38
 
55
39
  # Builds the enum from string
@@ -19,13 +19,9 @@ module FactPulse
19
19
  A2_FACTURE_FOURNISSEUR_DEJA_PAYEE = "A2_FACTURE_FOURNISSEUR_DEJA_PAYEE".freeze
20
20
  A9_FACTURE_SOUSTRAITANT = "A9_FACTURE_SOUSTRAITANT".freeze
21
21
  A12_FACTURE_COTRAITANT = "A12_FACTURE_COTRAITANT".freeze
22
- A1_FACTURE_FOURNISSEUR2 = "A1_FACTURE_FOURNISSEUR".freeze
23
- A2_FACTURE_FOURNISSEUR_DEJA_PAYEE2 = "A2_FACTURE_FOURNISSEUR_DEJA_PAYEE".freeze
24
- A9_FACTURE_SOUSTRAITANT2 = "A9_FACTURE_SOUSTRAITANT".freeze
25
- A12_FACTURE_COTRAITANT2 = "A12_FACTURE_COTRAITANT".freeze
26
22
 
27
23
  def self.all_vars
28
- @all_vars ||= [A1_FACTURE_FOURNISSEUR, A2_FACTURE_FOURNISSEUR_DEJA_PAYEE, A9_FACTURE_SOUSTRAITANT, A12_FACTURE_COTRAITANT, A1_FACTURE_FOURNISSEUR2, A2_FACTURE_FOURNISSEUR_DEJA_PAYEE2, A9_FACTURE_SOUSTRAITANT2, A12_FACTURE_COTRAITANT2].freeze
24
+ @all_vars ||= [A1_FACTURE_FOURNISSEUR, A2_FACTURE_FOURNISSEUR_DEJA_PAYEE, A9_FACTURE_SOUSTRAITANT, A12_FACTURE_COTRAITANT].freeze
29
25
  end
30
26
 
31
27
  # Builds the enum from string
@@ -21,15 +21,9 @@ module FactPulse
21
21
  ESPECE = "ESPECE".freeze
22
22
  AUTRE = "AUTRE".freeze
23
23
  REPORT = "REPORT".freeze
24
- CHEQUE2 = "CHEQUE".freeze
25
- PRELEVEMENT2 = "PRELEVEMENT".freeze
26
- VIREMENT2 = "VIREMENT".freeze
27
- ESPECE2 = "ESPECE".freeze
28
- AUTRE2 = "AUTRE".freeze
29
- REPORT2 = "REPORT".freeze
30
24
 
31
25
  def self.all_vars
32
- @all_vars ||= [CHEQUE, PRELEVEMENT, VIREMENT, ESPECE, AUTRE, REPORT, CHEQUE2, PRELEVEMENT2, VIREMENT2, ESPECE2, AUTRE2, REPORT2].freeze
26
+ @all_vars ||= [CHEQUE, PRELEVEMENT, VIREMENT, ESPECE, AUTRE, REPORT].freeze
33
27
  end
34
28
 
35
29
  # Builds the enum from string
@@ -18,12 +18,9 @@ module FactPulse
18
18
  SAISIE_API = "SAISIE_API".freeze
19
19
  DEPOT_PDF_API = "DEPOT_PDF_API".freeze
20
20
  DEPOT_PDF_SIGNE_API = "DEPOT_PDF_SIGNE_API".freeze
21
- SAISIE_API2 = "SAISIE_API".freeze
22
- DEPOT_PDF_API2 = "DEPOT_PDF_API".freeze
23
- DEPOT_PDF_SIGNE_API2 = "DEPOT_PDF_SIGNE_API".freeze
24
21
 
25
22
  def self.all_vars
26
- @all_vars ||= [SAISIE_API, DEPOT_PDF_API, DEPOT_PDF_SIGNE_API, SAISIE_API2, DEPOT_PDF_API2, DEPOT_PDF_SIGNE_API2].freeze
23
+ @all_vars ||= [SAISIE_API, DEPOT_PDF_API, DEPOT_PDF_SIGNE_API].freeze
27
24
  end
28
25
 
29
26
  # Builds the enum from string
@@ -21,15 +21,9 @@ module FactPulse
21
21
  KILOGRAMME = "KILOGRAMME".freeze
22
22
  LITRE = "LITRE".freeze
23
23
  FORFAIT = "FORFAIT".freeze
24
- PIECE2 = "PIECE".freeze
25
- HEURE2 = "HEURE".freeze
26
- JOUR2 = "JOUR".freeze
27
- KILOGRAMME2 = "KILOGRAMME".freeze
28
- LITRE2 = "LITRE".freeze
29
- FORFAIT2 = "FORFAIT".freeze
30
24
 
31
25
  def self.all_vars
32
- @all_vars ||= [PIECE, HEURE, JOUR, KILOGRAMME, LITRE, FORFAIT, PIECE2, HEURE2, JOUR2, KILOGRAMME2, LITRE2, FORFAIT2].freeze
26
+ @all_vars ||= [PIECE, HEURE, JOUR, KILOGRAMME, LITRE, FORFAIT].freeze
33
27
  end
34
28
 
35
29
  # Builds the enum from string
@@ -19,13 +19,9 @@ module FactPulse
19
19
  TVA_SUR_ENCAISSEMENT = "TVA_SUR_ENCAISSEMENT".freeze
20
20
  EXONERATION = "EXONERATION".freeze
21
21
  SANS_TVA = "SANS_TVA".freeze
22
- TVA_SUR_DEBIT2 = "TVA_SUR_DEBIT".freeze
23
- TVA_SUR_ENCAISSEMENT2 = "TVA_SUR_ENCAISSEMENT".freeze
24
- EXONERATION2 = "EXONERATION".freeze
25
- SANS_TVA2 = "SANS_TVA".freeze
26
22
 
27
23
  def self.all_vars
28
- @all_vars ||= [TVA_SUR_DEBIT, TVA_SUR_ENCAISSEMENT, EXONERATION, SANS_TVA, TVA_SUR_DEBIT2, TVA_SUR_ENCAISSEMENT2, EXONERATION2, SANS_TVA2].freeze
24
+ @all_vars ||= [TVA_SUR_DEBIT, TVA_SUR_ENCAISSEMENT, EXONERATION, SANS_TVA].freeze
29
25
  end
30
26
 
31
27
  # Builds the enum from string
@@ -11,5 +11,5 @@ Generator version: 7.18.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module FactPulse
14
- VERSION = '3.0.2'
14
+ VERSION = '3.0.4'
15
15
  end
data/lib/factpulse.rb CHANGED
@@ -27,6 +27,7 @@ require 'factpulse/models/api_profile'
27
27
  require 'factpulse/models/acknowledgment_status'
28
28
  require 'factpulse/models/allowance_reason_code'
29
29
  require 'factpulse/models/amount_due'
30
+ require 'factpulse/models/async_task_status'
30
31
  require 'factpulse/models/bounding_box_schema'
31
32
  require 'factpulse/models/celery_status'
32
33
  require 'factpulse/models/certificate_info_response'
@@ -38,10 +39,10 @@ require 'factpulse/models/electronic_address'
38
39
  require 'factpulse/models/enriched_invoice_info'
39
40
  require 'factpulse/models/error_level'
40
41
  require 'factpulse/models/error_source'
42
+ require 'factpulse/models/factur_x_invoice'
41
43
  require 'factpulse/models/factur_xpdf_info'
42
44
  require 'factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials'
43
45
  require 'factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials'
44
- require 'factpulse/models/facture_factur_x'
45
46
  require 'factpulse/models/field_status'
46
47
  require 'factpulse/models/flow_direction'
47
48
  require 'factpulse/models/flow_profile'
@@ -112,7 +113,6 @@ require 'factpulse/models/submit_vat_amount'
112
113
  require 'factpulse/models/supplementary_attachment'
113
114
  require 'factpulse/models/supplier'
114
115
  require 'factpulse/models/task_response'
115
- require 'factpulse/models/task_status'
116
116
  require 'factpulse/models/taxable_amount'
117
117
  require 'factpulse/models/total_gross_amount'
118
118
  require 'factpulse/models/total_net_amount'
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.2
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -128,6 +128,7 @@ files:
128
128
  - docs/AcknowledgmentStatus.md
129
129
  - docs/AllowanceReasonCode.md
130
130
  - docs/AmountDue.md
131
+ - docs/AsyncTaskStatus.md
131
132
  - docs/BoundingBoxSchema.md
132
133
  - docs/CeleryStatus.md
133
134
  - docs/CertificateInfoResponse.md
@@ -140,10 +141,10 @@ files:
140
141
  - docs/EnrichedInvoiceInfo.md
141
142
  - docs/ErrorLevel.md
142
143
  - docs/ErrorSource.md
144
+ - docs/FacturXInvoice.md
143
145
  - docs/FacturXPDFInfo.md
144
146
  - docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md
145
147
  - docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md
146
- - docs/FactureFacturX.md
147
148
  - docs/FieldStatus.md
148
149
  - docs/FlowDirection.md
149
150
  - docs/FlowProfile.md
@@ -217,7 +218,6 @@ files:
217
218
  - docs/SupplementaryAttachment.md
218
219
  - docs/Supplier.md
219
220
  - docs/TaskResponse.md
220
- - docs/TaskStatus.md
221
221
  - docs/TaxableAmount.md
222
222
  - docs/TotalGrossAmount.md
223
223
  - docs/TotalNetAmount.md
@@ -263,6 +263,7 @@ files:
263
263
  - lib/factpulse/models/amount_due.rb
264
264
  - lib/factpulse/models/api_error.rb
265
265
  - lib/factpulse/models/api_profile.rb
266
+ - lib/factpulse/models/async_task_status.rb
266
267
  - lib/factpulse/models/bounding_box_schema.rb
267
268
  - lib/factpulse/models/celery_status.rb
268
269
  - lib/factpulse/models/certificate_info_response.rb
@@ -274,10 +275,10 @@ files:
274
275
  - lib/factpulse/models/enriched_invoice_info.rb
275
276
  - lib/factpulse/models/error_level.rb
276
277
  - lib/factpulse/models/error_source.rb
278
+ - lib/factpulse/models/factur_x_invoice.rb
277
279
  - lib/factpulse/models/factur_xpdf_info.rb
278
280
  - lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb
279
281
  - lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb
280
- - lib/factpulse/models/facture_factur_x.rb
281
282
  - lib/factpulse/models/field_status.rb
282
283
  - lib/factpulse/models/flow_direction.rb
283
284
  - lib/factpulse/models/flow_profile.rb
@@ -348,7 +349,6 @@ files:
348
349
  - lib/factpulse/models/supplementary_attachment.rb
349
350
  - lib/factpulse/models/supplier.rb
350
351
  - lib/factpulse/models/task_response.rb
351
- - lib/factpulse/models/task_status.rb
352
352
  - lib/factpulse/models/taxable_amount.rb
353
353
  - lib/factpulse/models/total_gross_amount.rb
354
354
  - lib/factpulse/models/total_net_amount.rb