Commit graph

184 commits

Author SHA1 Message Date
Fanilo-Nantenaina
27c8ae77c2 fix(api): handle different response formats in contact creation 2025-12-29 19:55:33 +03:00
Fanilo-Nantenaina
ffb7a50443 Restructured files and reorganization for better consistency 2025-12-29 18:26:00 +03:00
Fanilo-Nantenaina
0e2398278f refactor(api): rename client endpoints to tiers for consistency (Generalized contact's creation endpoint) 2025-12-29 13:27:08 +03:00
Fanilo-Nantenaina
efe5961bea feat(api): add type tier normalization utility and update API 2025-12-29 11:54:17 +03:00
Fanilo-Nantenaina
edb64926e3 Added missing import 2025-12-29 11:26:45 +03:00
Fanilo-Nantenaina
eba9c6a137 refactor(schemas): update contact import path and clean up __init__.py to resolve circular import error 2025-12-29 11:25:01 +03:00
Fanilo-Nantenaina
1d78c6b46b feat(tiers): add tiers schemas and API endpoints 2025-12-29 11:20:55 +03:00
Fanilo-Nantenaina
8859152379 Modified client's retrieving method on creating a new contact 2025-12-28 21:34:13 +03:00
Fanilo-Nantenaina
18699a8673 Added contact handling 2025-12-28 21:20:15 +03:00
Fanilo-Nantenaina
e9e4aff0db Enriched article response 2025-12-27 18:08:03 +03:00
Fanilo-Nantenaina
ce84c66ee6 refactor(api): enhance FamilleResponse model with detailed fields and sections 2025-12-27 07:08:01 +03:00
Fanilo-Nantenaina
7f51992dda refactor(api): remove ge constraints from numeric fields in ArticleResponse 2025-12-27 06:20:24 +03:00
Fanilo-Nantenaina
a4f5274663 refactor(api): align ArticleResponse model with Sage database structure 2025-12-27 06:12:10 +03:00
Fanilo-Nantenaina
be7a8baddd Enriched article response 2025-12-27 05:29:18 +03:00
Fanilo-Nantenaina
e55ff75624 Added missing import 2025-12-26 20:37:39 +03:00
Fanilo-Nantenaina
459ce26766 feat(api): enhance FamilleResponse model with additional fields 2025-12-26 20:33:53 +03:00
Fanilo-Nantenaina
0f06075779 feat(fournisseurs): add FournisseurDetails model and update endpoints 2025-12-26 19:54:00 +03:00
Fanilo-Nantenaina
3546c58165 Added missing import 2025-12-26 19:31:53 +03:00
Fanilo-Nantenaina
8b42db686c refactor(Contact): simplify civilite_map and validator comments 2025-12-26 19:27:15 +03:00
Fanilo-Nantenaina
db3776c000 refactor(Contact): rename _civilite_map to civilite_map for better accessibility 2025-12-26 19:18:24 +03:00
Fanilo-Nantenaina
c101e45afd feat(Contact): add civilite mapping and validator 2025-12-26 19:03:34 +03:00
Fanilo-Nantenaina
f414a2889e feat(client): add Contact model and contacts field to ClientDetails 2025-12-26 18:51:36 +03:00
Fanilo-Nantenaina
61869f3293 refactor(api): simplify ClientDetails model by removing unused fields and reorganizing structure 2025-12-26 17:49:14 +03:00
Fanilo-Nantenaina
ca532fc890 feat(ClientDetails): add validator for type_tiers field 2025-12-26 17:32:24 +03:00
Fanilo-Nantenaina
82c43627d9 enrich client's details 2025-12-26 16:57:30 +03:00
Fanilo-Nantenaina
5a23f37e64 fix: make client number field required in ClientCreateRequest 2025-12-26 13:04:30 +03:00
Fanilo-Nantenaina
7e7c274724 feat: Updated pydantic schema for create and update client function 2025-12-26 12:09:48 +03:00
Fanilo-Nantenaina
2e267d6faf Added missing import 2025-12-24 22:56:58 +03:00
Fanilo-Nantenaina
07ec8af191 style: remove emoji icons from log messages and comments 2025-12-24 16:01:41 +03:00
Fanilo-Nantenaina
c47c2c43fb Corrected error "Object of type Decimal is not JSON serializable" 2025-12-24 15:54:43 +03:00
Fanilo-Nantenaina
3809d3403b Refactored Create Client Object 2025-12-24 15:49:37 +03:00
Fanilo-Nantenaina
a4827c0534 corrected pydantic model's name mismatch 2025-12-24 11:49:19 +03:00
Fanilo-Nantenaina
5443c5c44a Added missing import 2025-12-24 11:47:47 +03:00
Fanilo-Nantenaina
f8ea7b48b9 Updated client's field 2025-12-24 11:41:31 +03:00
Fanilo-Nantenaina
215763b679 Trying to make universign functionnal 2025-12-22 11:11:12 +03:00
Fanilo-Nantenaina
d921c7100a refactor(api): simplify Universign transaction flow and error handling 2025-12-22 11:01:50 +03:00
Fanilo-Nantenaina
f357e9614b refactor(api): improve universign transaction flow with better error handling 2025-12-22 10:26:08 +03:00
Fanilo-Nantenaina
0a6dfcdf64 fix(api): correct parameter name in universign request 2025-12-22 10:11:46 +03:00
Fanilo-Nantenaina
dbdfa1e2df Refactored universign message function 2025-12-22 09:56:38 +03:00
Fanilo-Nantenaina
2705de7a07 fix: correct date_livraison reference in creer_avoir function 2025-12-21 10:57:26 +03:00
Fanilo-Nantenaina
ac72d6f896 Removed "date_expedition" handling 2025-12-20 17:29:04 +03:00
Fanilo-Nantenaina
3511b000d5 refactor(models): remove prix_unitaire_ht from line item models 2025-12-20 16:33:26 +03:00
Fanilo-Nantenaina
1240a118e5 Updated pydantic schemas, deleted client's retrieving logics on creating and updating document 2025-12-20 16:30:48 +03:00
Fanilo-Nantenaina
dbb2a6f16e feat(api): add date fields to document models 2025-12-20 16:19:23 +03:00
Fanilo-Nantenaina
edfa4a0231 refactor(api): remove redundant document status validation checks 2025-12-20 14:34:16 +03:00
Fanilo-Nantenaina
62c453d7bd chore: update gitignore to remove comments and add database file 2025-12-20 10:12:58 +03:00
33fe6cd0fa Merge pull request 'feat/new_features' (#2) from feat/new_features into develop
Reviewed-on: fanilo/backend_vps#2
2025-12-20 06:54:40 +00:00
Fanilo-Nantenaina
e5fad0ccca feat(devis): add reference field and remove prix_unitaire_ht 2025-12-20 09:53:27 +03:00
Fanilo-Nantenaina
bffca51fcd feat(DevisUpdateRequest): add optional reference field to model 2025-12-20 09:46:02 +03:00
Fanilo-Nantenaina
4934101085 feat(api): add optional reference field to DevisRequest 2025-12-20 09:21:31 +03:00