factpulse 1.0.6__py3-none-any.whl → 1.0.9__py3-none-any.whl
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.
Potentially problematic release.
This version of factpulse might be problematic. Click here for more details.
- factpulse/__init__.py +1 -5
- factpulse/api/__init__.py +0 -2
- factpulse/api_client.py +1 -1
- factpulse/configuration.py +1 -1
- factpulse/models/options_processing.py +4 -13
- {factpulse-1.0.6.dist-info → factpulse-1.0.9.dist-info}/METADATA +2 -2
- {factpulse-1.0.6.dist-info → factpulse-1.0.9.dist-info}/RECORD +10 -10
- {factpulse-1.0.6.dist-info → factpulse-1.0.9.dist-info}/WHEEL +0 -0
- {factpulse-1.0.6.dist-info → factpulse-1.0.9.dist-info}/licenses/LICENSE +0 -0
- {factpulse-1.0.6.dist-info → factpulse-1.0.9.dist-info}/top_level.txt +0 -0
factpulse/__init__.py
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "1.0.
|
|
17
|
+
__version__ = "1.0.9"
|
|
18
18
|
|
|
19
19
|
# Define package exports
|
|
20
20
|
__all__ = [
|
|
@@ -22,9 +22,7 @@ __all__ = [
|
|
|
22
22
|
"AFNORPDPPADirectoryServiceApi",
|
|
23
23
|
"AFNORPDPPAFlowServiceApi",
|
|
24
24
|
"ChorusProApi",
|
|
25
|
-
"ProcessingEndpointsUnifisApi",
|
|
26
25
|
"SantApi",
|
|
27
|
-
"SignatureLectroniqueApi",
|
|
28
26
|
"TraitementFactureApi",
|
|
29
27
|
"UtilisateurApi",
|
|
30
28
|
"ApiResponse",
|
|
@@ -151,9 +149,7 @@ from factpulse.api.afnorpdppa_api import AFNORPDPPAApi as AFNORPDPPAApi
|
|
|
151
149
|
from factpulse.api.afnorpdppa_directory_service_api import AFNORPDPPADirectoryServiceApi as AFNORPDPPADirectoryServiceApi
|
|
152
150
|
from factpulse.api.afnorpdppa_flow_service_api import AFNORPDPPAFlowServiceApi as AFNORPDPPAFlowServiceApi
|
|
153
151
|
from factpulse.api.chorus_pro_api import ChorusProApi as ChorusProApi
|
|
154
|
-
from factpulse.api.processing_endpoints_unifis_api import ProcessingEndpointsUnifisApi as ProcessingEndpointsUnifisApi
|
|
155
152
|
from factpulse.api.sant_api import SantApi as SantApi
|
|
156
|
-
from factpulse.api.signature_lectronique_api import SignatureLectroniqueApi as SignatureLectroniqueApi
|
|
157
153
|
from factpulse.api.traitement_facture_api import TraitementFactureApi as TraitementFactureApi
|
|
158
154
|
from factpulse.api.utilisateur_api import UtilisateurApi as UtilisateurApi
|
|
159
155
|
|
factpulse/api/__init__.py
CHANGED
|
@@ -5,9 +5,7 @@ from factpulse.api.afnorpdppa_api import AFNORPDPPAApi
|
|
|
5
5
|
from factpulse.api.afnorpdppa_directory_service_api import AFNORPDPPADirectoryServiceApi
|
|
6
6
|
from factpulse.api.afnorpdppa_flow_service_api import AFNORPDPPAFlowServiceApi
|
|
7
7
|
from factpulse.api.chorus_pro_api import ChorusProApi
|
|
8
|
-
from factpulse.api.processing_endpoints_unifis_api import ProcessingEndpointsUnifisApi
|
|
9
8
|
from factpulse.api.sant_api import SantApi
|
|
10
|
-
from factpulse.api.signature_lectronique_api import SignatureLectroniqueApi
|
|
11
9
|
from factpulse.api.traitement_facture_api import TraitementFactureApi
|
|
12
10
|
from factpulse.api.utilisateur_api import UtilisateurApi
|
|
13
11
|
|
factpulse/api_client.py
CHANGED
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/1.0.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/1.0.9/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
factpulse/configuration.py
CHANGED
|
@@ -514,7 +514,7 @@ class Configuration:
|
|
|
514
514
|
"OS: {env}\n"\
|
|
515
515
|
"Python Version: {pyversion}\n"\
|
|
516
516
|
"Version of the API: 1.0.0\n"\
|
|
517
|
-
"SDK Package Version: 1.0.
|
|
517
|
+
"SDK Package Version: 1.0.9".\
|
|
518
518
|
format(env=sys.platform, pyversion=sys.version)
|
|
519
519
|
|
|
520
520
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -17,8 +17,9 @@ import pprint
|
|
|
17
17
|
import re # noqa: F401
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
|
-
from pydantic import BaseModel, ConfigDict, Field, StrictBool
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBool
|
|
21
21
|
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from factpulse.models.profil_api import ProfilAPI
|
|
22
23
|
from typing import Optional, Set
|
|
23
24
|
from typing_extensions import Self
|
|
24
25
|
|
|
@@ -26,22 +27,12 @@ class OptionsProcessing(BaseModel):
|
|
|
26
27
|
"""
|
|
27
28
|
Options de traitement pour la génération et la soumission.
|
|
28
29
|
""" # noqa: E501
|
|
29
|
-
profil_facturx: Optional[
|
|
30
|
+
profil_facturx: Optional[ProfilAPI] = Field(default=None, description="Profil Factur-X à utiliser")
|
|
30
31
|
auto_enrichir: Optional[StrictBool] = Field(default=True, description="Auto-enrichir les données (APIs Entreprises, Chorus Pro, etc.)")
|
|
31
32
|
valider: Optional[StrictBool] = Field(default=True, description="Valider le XML Factur-X avec Schematron")
|
|
32
33
|
verifier_parametres_destination: Optional[StrictBool] = Field(default=True, description="Vérifier les paramètres requis par la destination (ex: code_service pour Chorus)")
|
|
33
34
|
__properties: ClassVar[List[str]] = ["profil_facturx", "auto_enrichir", "valider", "verifier_parametres_destination"]
|
|
34
35
|
|
|
35
|
-
@field_validator('profil_facturx')
|
|
36
|
-
def profil_facturx_validate_enum(cls, value):
|
|
37
|
-
"""Validates the enum"""
|
|
38
|
-
if value is None:
|
|
39
|
-
return value
|
|
40
|
-
|
|
41
|
-
if value not in set(['MINIMUM', 'BASIC', 'EN16931', 'EXTENDED']):
|
|
42
|
-
raise ValueError("must be one of enum values ('MINIMUM', 'BASIC', 'EN16931', 'EXTENDED')")
|
|
43
|
-
return value
|
|
44
|
-
|
|
45
36
|
model_config = ConfigDict(
|
|
46
37
|
populate_by_name=True,
|
|
47
38
|
validate_assignment=True,
|
|
@@ -93,7 +84,7 @@ class OptionsProcessing(BaseModel):
|
|
|
93
84
|
return cls.model_validate(obj)
|
|
94
85
|
|
|
95
86
|
_obj = cls.model_validate({
|
|
96
|
-
"profil_facturx": obj.get("profil_facturx")
|
|
87
|
+
"profil_facturx": obj.get("profil_facturx"),
|
|
97
88
|
"auto_enrichir": obj.get("auto_enrichir") if obj.get("auto_enrichir") is not None else True,
|
|
98
89
|
"valider": obj.get("valider") if obj.get("valider") is not None else True,
|
|
99
90
|
"verifier_parametres_destination": obj.get("verifier_parametres_destination") if obj.get("verifier_parametres_destination") is not None else True
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: factpulse
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.9
|
|
4
4
|
Summary: API REST FactPulse
|
|
5
5
|
Home-page: https://github.com/factpulse/sdk-python
|
|
6
6
|
Author: OpenAPI Generator community
|
|
7
7
|
Author-email: OpenAPI Generator Community <team@openapitools.org>
|
|
8
|
-
Project-URL: Repository, https://github.com/
|
|
8
|
+
Project-URL: Repository, https://github.com/factpulse/sdk-python
|
|
9
9
|
Keywords: OpenAPI,OpenAPI-Generator,API REST FactPulse
|
|
10
10
|
Requires-Python: >=3.9
|
|
11
11
|
Description-Content-Type: text/markdown
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
factpulse/__init__.py,sha256=
|
|
2
|
-
factpulse/api_client.py,sha256=
|
|
1
|
+
factpulse/__init__.py,sha256=0UBACLgQRGpl19zUq3CFtsDPIWqHiWWOC3eZ7kT0-Vs,21039
|
|
2
|
+
factpulse/api_client.py,sha256=l5riXhvjlUaD5xfhfgK9LCz4jQqimI2CU0SUh96_jno,32053
|
|
3
3
|
factpulse/api_response.py,sha256=eMxw1mpmJcoGZ3gs9z6jM4oYoZ10Gjk333s9sKxGv7s,652
|
|
4
|
-
factpulse/configuration.py,sha256=
|
|
4
|
+
factpulse/configuration.py,sha256=Oxo3ZWsRWVXRw7Wa64SqPbt-slSI5EpMXGaoOLqhdRo,22733
|
|
5
5
|
factpulse/exceptions.py,sha256=iyrYV2G1CmZ-aa4wDr2rKydJxL5iRudvDbP__ZbxjUg,10764
|
|
6
6
|
factpulse/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
factpulse/rest.py,sha256=-DBsye71AnOsKGnvsXgkTqrGvgiBGZw2h0RqeQ9NopM,13756
|
|
8
|
-
factpulse/api/__init__.py,sha256=
|
|
8
|
+
factpulse/api/__init__.py,sha256=GE3NqOzI52p6mP6m2Rs1-D5S_VdA1mBTEPRfsiyMcfc,495
|
|
9
9
|
factpulse/api/afnorpdppa_api.py,sha256=KSFXtOw-2pnhgco3ez52XiapaOGJrZUjQL-E7C-Vhzg,15513
|
|
10
10
|
factpulse/api/afnorpdppa_directory_service_api.py,sha256=--0L5JksOgwDlfywoe5RF0vK09Er6ySbtAVsarjz99M,35207
|
|
11
11
|
factpulse/api/afnorpdppa_flow_service_api.py,sha256=AST0vycdd8LtTD5WJRhnda1PplvIMwoRK-GuyeaElP4,45752
|
|
@@ -79,7 +79,7 @@ factpulse/models/montanttva1.py,sha256=iJejBA8rSRyEZ0TuTt1vbaGoJnhyKROatJOpYgHgr
|
|
|
79
79
|
factpulse/models/montantunitaireht.py,sha256=zKmjRDh5mFayL-xnZXyhSJtfXX8Nl-bzyD9vWvwQjFw,9289
|
|
80
80
|
factpulse/models/obtenir_id_chorus_pro_request.py,sha256=DHvPV8fjSQhT5dJVj0k71BPAx1Xk4KWclWS7iR0bytY,7857
|
|
81
81
|
factpulse/models/obtenir_id_chorus_pro_response.py,sha256=u5UQoBjwFZVa25AidevqusxfC_GsAkes8N2m0MpypRk,7655
|
|
82
|
-
factpulse/models/options_processing.py,sha256=
|
|
82
|
+
factpulse/models/options_processing.py,sha256=0tygxzMQnX5GK8BkLDgTip0qmqVU9MRcEOC6w37pl6k,7847
|
|
83
83
|
factpulse/models/parametres_signature.py,sha256=l9gTfXwXFhKnurFE8dSg2lYu8rfniTL40w_9eHX9CSU,10043
|
|
84
84
|
factpulse/models/parametres_structure.py,sha256=Z1DTxIHmXPIExbL-JNocP9kI5ABi9MpUh7yStJfZXYM,7746
|
|
85
85
|
factpulse/models/pdf_factur_x_info.py,sha256=Q04IhI7anQdMz7zVSfkCjxUX8lLNRx9SYxWkxg1EUdA,7200
|
|
@@ -124,8 +124,8 @@ factpulse/models/unite.py,sha256=Mx0LquEz7JVbj2DyW3bpYtHzEngouFdiOdV4ptH1c7E,514
|
|
|
124
124
|
factpulse/models/utilisateur.py,sha256=BX3uVqW1FTnuKv6MDy6qoIXeUM4tFbNd5j_cuHVBv9Q,9104
|
|
125
125
|
factpulse/models/validation_error.py,sha256=2cfjDa64uVR3TYblt7zlyw0oKSmUKPhd8-OP2D9x9Ow,7384
|
|
126
126
|
factpulse/models/validation_error_loc_inner.py,sha256=jPjvgrBw_B99TXnWCkv9rBW7r3vSfWCubfRGLCEnSSU,9178
|
|
127
|
-
factpulse-1.0.
|
|
128
|
-
factpulse-1.0.
|
|
129
|
-
factpulse-1.0.
|
|
130
|
-
factpulse-1.0.
|
|
131
|
-
factpulse-1.0.
|
|
127
|
+
factpulse-1.0.9.dist-info/licenses/LICENSE,sha256=TOREZ0FjfXTO1zqJjqfiuyBoj79tmdfVAJuWN_KV-i8,1066
|
|
128
|
+
factpulse-1.0.9.dist-info/METADATA,sha256=ede7HbV2O-aA5LYGv7wCcX7YojxK6SMvupIu_rDBvtQ,4893
|
|
129
|
+
factpulse-1.0.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
130
|
+
factpulse-1.0.9.dist-info/top_level.txt,sha256=tkwDxpNQ3BqfUwmZiiz5GMsJi-nUxbE7YBXy9koxwT0,10
|
|
131
|
+
factpulse-1.0.9.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|