factpulse 2.0.31 → 2.0.32

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: 9a2fa7a0aa8a73b2298393f60b15772a3dd178966bf49d1781432466a3394e2a
4
- data.tar.gz: 41533e0cd8bd3b2871fe5d57f48e1bc5a01d6524b58e76768e8984eb613c3b94
3
+ metadata.gz: 5f7bfa53096933d072237b9fbd6bb3ac69e4ec2ede132c5062740fbd38ec3737
4
+ data.tar.gz: 987effb4f3d2f0757e99e7f3fa12070a3d2ce55d5f38d9e2964007bae8de79c7
5
5
  SHA512:
6
- metadata.gz: 8be71e97dcd09c3d3d3ee790ab76e0ffb3ba5e06c53fa018582500856df15675b20b4230a2afc8090091e79560d40b2a57885313c734507f90f40d8f32ac25a9
7
- data.tar.gz: b85c744af81489afe834d1e181f46244285ec0ddc58d6a885d3e86945c7ba6a5f300195e12aee1bac4f6a31d419c7174c6509754952c4ed56ad3d3afdcb9db49
6
+ metadata.gz: 33a4436db9e893809635e129201162558d0b2c9c1e8ff8780880865700c34e40bbea3fbb174f0ebe7ee46137e0ebcd7e095674efef6e1665d51262c80386586b
7
+ data.tar.gz: 1913c9977dbe7f2284d79fdd504adfd329c0fd051fac3f90e55dcb2edc89cc9725f109d9068d5eb34b2924cf2a363d9440dc89b7923c3a90c2146faf34bdc63e
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
- ## [2.0.31] - 2025-11-29
10
+ ## [2.0.32] - 2025-11-29
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/v2.0.31...HEAD
28
- [2.0.31]: https://github.com/factpulse/sdk-ruby/releases/tag/v2.0.31
27
+ [Unreleased]: https://github.com/factpulse/sdk-ruby/compare/v2.0.32...HEAD
28
+ [2.0.32]: https://github.com/factpulse/sdk-ruby/releases/tag/v2.0.32
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- factpulse (2.0.31)
4
+ factpulse (2.0.32)
5
5
  typhoeus (~> 1.0, >= 1.0.1)
6
6
 
7
7
  GEM
@@ -77,7 +77,7 @@ This endpoint does not need any parameter.
77
77
 
78
78
  ## get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get
79
79
 
80
- > <FactureEntrante> get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get(flow_id)
80
+ > <FactureEntrante> get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get(flow_id, opts)
81
81
 
82
82
  Récupérer et extraire une facture entrante
83
83
 
@@ -96,10 +96,13 @@ end
96
96
 
97
97
  api_instance = FactPulse::AFNORPDPPAApi.new
98
98
  flow_id = 'flow_id_example' # String |
99
+ opts = {
100
+ include_document: true # Boolean |
101
+ }
99
102
 
100
103
  begin
101
104
  # Récupérer et extraire une facture entrante
102
- result = api_instance.get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get(flow_id)
105
+ result = api_instance.get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get(flow_id, opts)
103
106
  p result
104
107
  rescue FactPulse::ApiError => e
105
108
  puts "Error when calling AFNORPDPPAApi->get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get: #{e}"
@@ -110,12 +113,12 @@ end
110
113
 
111
114
  This returns an Array which contains the response data, status code and headers.
112
115
 
113
- > <Array(<FactureEntrante>, Integer, Hash)> get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get_with_http_info(flow_id)
116
+ > <Array(<FactureEntrante>, Integer, Hash)> get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get_with_http_info(flow_id, opts)
114
117
 
115
118
  ```ruby
116
119
  begin
117
120
  # Récupérer et extraire une facture entrante
118
- data, status_code, headers = api_instance.get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get_with_http_info(flow_id)
121
+ data, status_code, headers = api_instance.get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get_with_http_info(flow_id, opts)
119
122
  p status_code # => 2xx
120
123
  p headers # => { ... }
121
124
  p data # => <FactureEntrante>
@@ -129,6 +132,7 @@ end
129
132
  | Name | Type | Description | Notes |
130
133
  | ---- | ---- | ----------- | ----- |
131
134
  | **flow_id** | **String** | | |
135
+ | **include_document** | **Boolean** | | [optional][default to false] |
132
136
 
133
137
  ### Return type
134
138
 
@@ -20,6 +20,9 @@
20
20
  | **numero_bon_commande** | **String** | | [optional] |
21
21
  | **reference_contrat** | **String** | | [optional] |
22
22
  | **objet_facture** | **String** | | [optional] |
23
+ | **document_base64** | **String** | | [optional] |
24
+ | **document_content_type** | **String** | | [optional] |
25
+ | **document_filename** | **String** | | [optional] |
23
26
 
24
27
  ## Example
25
28
 
@@ -42,7 +45,10 @@ instance = FactPulse::FactureEntrante.new(
42
45
  montant_ttc: null,
43
46
  numero_bon_commande: null,
44
47
  reference_contrat: null,
45
- objet_facture: null
48
+ objet_facture: null,
49
+ document_base64: null,
50
+ document_content_type: null,
51
+ document_filename: null
46
52
  )
47
53
  ```
48
54
 
@@ -80,6 +80,7 @@ module FactPulse
80
80
  # Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
81
81
  # @param flow_id [String]
82
82
  # @param [Hash] opts the optional parameters
83
+ # @option opts [Boolean] :include_document (default to false)
83
84
  # @return [FactureEntrante]
84
85
  def get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get(flow_id, opts = {})
85
86
  data, _status_code, _headers = get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get_with_http_info(flow_id, opts)
@@ -90,6 +91,7 @@ module FactPulse
90
91
  # Télécharge un flux entrant depuis la PDP AFNOR et extrait les métadonnées de la facture vers un format JSON unifié. Supporte les formats Factur-X, CII et UBL.
91
92
  # @param flow_id [String]
92
93
  # @param [Hash] opts the optional parameters
94
+ # @option opts [Boolean] :include_document (default to false)
93
95
  # @return [Array<(FactureEntrante, Integer, Hash)>] FactureEntrante data, response status code and response headers
94
96
  def get_flux_entrant_api_v1_afnor_flux_entrants_flow_id_get_with_http_info(flow_id, opts = {})
95
97
  if @api_client.config.debugging
@@ -104,6 +106,7 @@ module FactPulse
104
106
 
105
107
  # query parameters
106
108
  query_params = opts[:query_params] || {}
109
+ query_params[:'include_document'] = opts[:'include_document'] if !opts[:'include_document'].nil?
107
110
 
108
111
  # header parameters
109
112
  header_params = opts[:header_params] || {}
@@ -58,6 +58,12 @@ module FactPulse
58
58
 
59
59
  attr_accessor :objet_facture
60
60
 
61
+ attr_accessor :document_base64
62
+
63
+ attr_accessor :document_content_type
64
+
65
+ attr_accessor :document_filename
66
+
61
67
  class EnumAttributeValidator
62
68
  attr_reader :datatype
63
69
  attr_reader :allowable_values
@@ -98,7 +104,10 @@ module FactPulse
98
104
  :'montant_ttc' => :'montant_ttc',
99
105
  :'numero_bon_commande' => :'numero_bon_commande',
100
106
  :'reference_contrat' => :'reference_contrat',
101
- :'objet_facture' => :'objet_facture'
107
+ :'objet_facture' => :'objet_facture',
108
+ :'document_base64' => :'document_base64',
109
+ :'document_content_type' => :'document_content_type',
110
+ :'document_filename' => :'document_filename'
102
111
  }
103
112
  end
104
113
 
@@ -130,7 +139,10 @@ module FactPulse
130
139
  :'montant_ttc' => :'String',
131
140
  :'numero_bon_commande' => :'String',
132
141
  :'reference_contrat' => :'String',
133
- :'objet_facture' => :'String'
142
+ :'objet_facture' => :'String',
143
+ :'document_base64' => :'String',
144
+ :'document_content_type' => :'String',
145
+ :'document_filename' => :'String'
134
146
  }
135
147
  end
136
148
 
@@ -142,7 +154,10 @@ module FactPulse
142
154
  :'date_reglement',
143
155
  :'numero_bon_commande',
144
156
  :'reference_contrat',
145
- :'objet_facture'
157
+ :'objet_facture',
158
+ :'document_base64',
159
+ :'document_content_type',
160
+ :'document_filename'
146
161
  ])
147
162
  end
148
163
 
@@ -243,6 +258,18 @@ module FactPulse
243
258
  if attributes.key?(:'objet_facture')
244
259
  self.objet_facture = attributes[:'objet_facture']
245
260
  end
261
+
262
+ if attributes.key?(:'document_base64')
263
+ self.document_base64 = attributes[:'document_base64']
264
+ end
265
+
266
+ if attributes.key?(:'document_content_type')
267
+ self.document_content_type = attributes[:'document_content_type']
268
+ end
269
+
270
+ if attributes.key?(:'document_filename')
271
+ self.document_filename = attributes[:'document_filename']
272
+ end
246
273
  end
247
274
 
248
275
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -433,7 +460,10 @@ module FactPulse
433
460
  montant_ttc == o.montant_ttc &&
434
461
  numero_bon_commande == o.numero_bon_commande &&
435
462
  reference_contrat == o.reference_contrat &&
436
- objet_facture == o.objet_facture
463
+ objet_facture == o.objet_facture &&
464
+ document_base64 == o.document_base64 &&
465
+ document_content_type == o.document_content_type &&
466
+ document_filename == o.document_filename
437
467
  end
438
468
 
439
469
  # @see the `==` method
@@ -445,7 +475,7 @@ module FactPulse
445
475
  # Calculates hash code according to all attributes.
446
476
  # @return [Integer] Hash code
447
477
  def hash
448
- [flow_id, format_source, ref_fournisseur, type_document, fournisseur, site_facturation_nom, site_facturation_siret, date_de_piece, date_reglement, devise, montant_ht, montant_tva, montant_ttc, numero_bon_commande, reference_contrat, objet_facture].hash
478
+ [flow_id, format_source, ref_fournisseur, type_document, fournisseur, site_facturation_nom, site_facturation_siret, date_de_piece, date_reglement, devise, montant_ht, montant_tva, montant_ttc, numero_bon_commande, reference_contrat, objet_facture, document_base64, document_content_type, document_filename].hash
449
479
  end
450
480
 
451
481
  # Builds the object from hash
@@ -11,5 +11,5 @@ Generator version: 7.18.0-SNAPSHOT
11
11
  =end
12
12
 
13
13
  module FactPulse
14
- VERSION = '2.0.31'
14
+ VERSION = '2.0.32'
15
15
  end
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: 2.0.31
4
+ version: 2.0.32
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenAPI-Generator