factpulse 3.0.3 → 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: 65c1cffbd2a4bad195565f89a351948891d7a21ba9285c79ec82a4f473c81c62
4
- data.tar.gz: a5b525f26223adfe3fb6b724de189b79b8c876a1cd73bc89ec76d056166a94ea
3
+ metadata.gz: 2e621f5c7d34b03edfa7d5776c19baa354c73d67fcb6e4c0e9ce2dcff3dc7f07
4
+ data.tar.gz: 531bdc7f3f4bd9710ebc61d126b1f0966e1a36df11c46b3d458a173642a604d1
5
5
  SHA512:
6
- metadata.gz: 36e9f3719236e58672f688bb8b3c20ffe3836f128eb215913b34549e634c55e49b81f8a92ed4455572a47127fec6aad61def2053d89d2b9a1608abb00619bafd
7
- data.tar.gz: 1ba42040938fb701a9c0e728f1d12d9e00cc004212d88da7fce86d5c151be0ba463d365e1f9d843bad6cba0e0626cbb0755b01e7bf767c4e859f252ac9c8181e
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.3] - 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.3...HEAD
28
- [3.0.3]: https://github.com/factpulse/sdk-ruby/releases/tag/v3.0.3
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.3)
4
+ factpulse (3.0.4)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -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,
@@ -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.3'
14
+ VERSION = '3.0.4'
15
15
  end
data/lib/factpulse.rb CHANGED
@@ -39,10 +39,10 @@ require 'factpulse/models/electronic_address'
39
39
  require 'factpulse/models/enriched_invoice_info'
40
40
  require 'factpulse/models/error_level'
41
41
  require 'factpulse/models/error_source'
42
+ require 'factpulse/models/factur_x_invoice'
42
43
  require 'factpulse/models/factur_xpdf_info'
43
44
  require 'factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials'
44
45
  require 'factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials'
45
- require 'factpulse/models/facture_factur_x'
46
46
  require 'factpulse/models/field_status'
47
47
  require 'factpulse/models/flow_direction'
48
48
  require 'factpulse/models/flow_profile'
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.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator
@@ -141,10 +141,10 @@ files:
141
141
  - docs/EnrichedInvoiceInfo.md
142
142
  - docs/ErrorLevel.md
143
143
  - docs/ErrorSource.md
144
+ - docs/FacturXInvoice.md
144
145
  - docs/FacturXPDFInfo.md
145
146
  - docs/FactureElectroniqueRestApiSchemasChorusProChorusProCredentials.md
146
147
  - docs/FactureElectroniqueRestApiSchemasProcessingChorusProCredentials.md
147
- - docs/FactureFacturX.md
148
148
  - docs/FieldStatus.md
149
149
  - docs/FlowDirection.md
150
150
  - docs/FlowProfile.md
@@ -275,10 +275,10 @@ files:
275
275
  - lib/factpulse/models/enriched_invoice_info.rb
276
276
  - lib/factpulse/models/error_level.rb
277
277
  - lib/factpulse/models/error_source.rb
278
+ - lib/factpulse/models/factur_x_invoice.rb
278
279
  - lib/factpulse/models/factur_xpdf_info.rb
279
280
  - lib/factpulse/models/facture_electronique_rest_api_schemas_chorus_pro_chorus_pro_credentials.rb
280
281
  - lib/factpulse/models/facture_electronique_rest_api_schemas_processing_chorus_pro_credentials.rb
281
- - lib/factpulse/models/facture_factur_x.rb
282
282
  - lib/factpulse/models/field_status.rb
283
283
  - lib/factpulse/models/flow_direction.rb
284
284
  - lib/factpulse/models/flow_profile.rb