Cartographie des services
319 fichiers Dart inventoriés (hors fichiers générés *.g.dart) : 245 dans lib/services/ (sous-dossiers compris) et 74 dans lib/nf525/ (services, signature, base Drift, modèles, Factur-X). Ils sont répartis en 11 clusters fonctionnels plus un groupe de services utilitaires.
Dernière remise à niveau : 2026-10-02, sur la branche
nf525d'iotill-caisse (commit55be707f) ; complétée le 2026-10-02 (commit47ff41af) particket_public_link.dart(Impression) etticket_attachment.dart(Profil / Auth, fidélité), puis le 2026-10-03 (commit0b445490) parapi_tokens_client.dart(utilitaires), puis le 2026-10-03 (commitf4c81a8d) pardocument/pdf_embedded_fonts.dart(Documents / PDF), enfin le 2026-10-15 (commit221309870) par six fichiers apparus depuis :ticket_email.dart(Coeur de Caisse),accountingcodetaxindex.dart(NF525),tpe/remboursementcb.dartettpe/echectpe.dart(TPE),kdsticketprint.dart(Restaurant / KDS / Pad),analytics/account_label_resolver.dart(Analytique / KPI), puis le 2026-10-23 (commite9ee3e538) par huit fichiers apparus depuis :update_readiness_publisher.dart(Coeur de Caisse),nf525_einvoicing_remote_service.dart,refund_order_item_factory.dartetlib/nf525/models/correction_caisse.dart(NF525),connect/pairing/connectpairingprotocol.dart,connectpairingserver.dartetconnectpairingtracker.dart(TPE),cohort_url.dart(utilitaires) ;kdslogs.dart(Restaurant / KDS / Pad), déjà listé, est désormais compté ; enfin le 2026-11-06 (commit066b64949) particket_scan_code.dart(Coeur de Caisse, #2610) etwebhooks_client.dart(utilitaires, #2609), enfin le 2026-11-13 (commitc35c217e6) par dix fichiers : les sept fichiers deticketbalanceapi/(Balance / Pesée / Afficheur, #2627),payment_write_journal.dart(Coeur de Caisse, #2662),imputation_correction.dartetsales_backfill_service.dart(NF525, #2630 et #2662), enfin le 2026-11-20 (commitc3c30d199) par cinq fichiers :lib/nf525/services/nf525_changement_reglement.dartetoperateur_remediation.dart(NF525, #2677 et #2705),store_document_scope.dartetduplicate_names.dart(Coeur de Caisse, #2691 et #492),padlogs.dart(Restaurant / KDS / Pad, #2747), enfin le 2026-11-27 (commit4c05c1f6e) par sept fichiers :product_variant_overrides.dart(Coeur de Caisse, #2763),lib/nf525/services/nf525_reglement_incoherent.dart(NF525, #2704),kpi/account_entry.dart(Analytique / KPI, #2798),balance/calibrationlogstore.dart(Balance / Pesée / Afficheur, #2792),landb/master_link_watch.dartetnetwork_link.dart(Réseau LAN, #2783),variants_client.dart(utilitaires, #2757). Aucun fichier inventorié n'a disparu. Les fichiers générés (accounts_cache/database.g.dart,landb/database.g.dart,nf525/database/database.g.dart) ne sont pas comptés.Les colonnes « Méthodes pub. » des fichiers ajoutés lors de la remise à niveau sont des estimations (comptage automatique des signatures publiques, accesseurs compris) ; elles seront affinées lors de la documentation de chaque cluster.
Répartition par cluster
| # | Cluster | Fichiers | Statut |
|---|---|---|---|
| 1 | Coeur de Caisse | 33 | ✅ Documenté |
| 2 | NF525 / Conformité Fiscale | 97 (23 lib/services/ + 74 lib/nf525/) | ✅ Documenté |
| 3 | Terminaux de Paiement (TPE) | 33 | ✅ Documenté |
| 4 | Impression | 14 | ✅ Documenté |
| 5 | Analytique / KPI | 18 | ✅ Documenté |
| 6 | Glory | 5 | ✅ Documenté |
| 7 | Balance / Pesée / Afficheur | 31 | ✅ Documenté |
| 8 | Restaurant / KDS / Pad | 12 | ✅ Documenté |
| 9 | Profil / Auth | 7 | ✅ Documenté |
| 10 | Documents / PDF | 13 | ✅ Documenté |
| 11 | Réseau LAN | 23 | ✅ Documenté |
| — | Services utilitaires (hors cluster) | 33 | Non documenté |
| Total | 319 | 286 documentés |
La numérotation des clusters est historique ; l'ordre de traitement est celui de la priorisation.
Tableau d'inventaire synthétique
Cluster 1 — Coeur de Caisse ✅ Documenté
Documentation : services/coeur-caisse/ | Code mort : registre | Analyse : 2026-02-26 (12 services), 2026-10-02 (14 fichiers) 2026-10-23 (
update_readiness_publisher.dart, page Variantes) 2026-11-06 (ticket_scan_code.dart, page TicketScanCode) et 2026-11-13 (payment_write_journal.dart, page PaymentWriteJournal) et 2026-11-20 (store_document_scope.dartetduplicate_names.dart, pages StoreDocumentScope et DuplicateNameDetector) et 2026-11-27 (product_variant_overrides.dart, page ProductVariantOverrides)Couverture : 1.06% → 18.78% (réel lcov, itération 3) → ~30-35% (estimé, itération 4) | checkout.dart : 68.98% (1441/2089, réel lcov post itération 21) → estimation ~72.8% (itération 22, plafond ~72.8%, rendements décroissants)
Les 12 services analysés le 2026-02-26 sont documentés, ainsi que, depuis le 2026-10-02, les 14 fichiers ajoutés au cluster ensuite (cache Drift des comptes clients, variantes borne / mini-caisse / manager, arrondi TVA, changement de périmètre, gardien des tickets tenus, vendeur volant, usage des claviers), regroupés en 7 pages. Les colonnes « Méthodes pub. » de ces 14 fichiers restent des estimations automatiques (accesseurs compris) ; les pages donnent le détail vérifié.
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
checkout.dart | CheckoutService | ~172 | account, authentication, avoirs, barcode, catalogue, dailyrestart, db, hotsoft, iotillsynclan, keyboard, payment, printer, purchase, restaurant, ticketbalance | Firestore, firebase_auth, crashlytics, cloud_functions, crypto, RxDart, SharedPreferences |
keyboard.dart | KeyboardService | ~160 | catalogue, checkout, customer, db, profile | cloud_functions, Cron, RxDart, SharedPreferences |
account.dart | AccountService | ~152 | accountdocumentgenerator, billing_service, checkout, customer, db, loyalty_service, payment, printer | Firestore, Excel, Cron |
customer.dart | CustomerService | ~65 | barcode, catalogue, checkout, db, keyboard, profile, purchase, stock | cloud_functions, crypto, Excel, RxDart |
db.dart | DBService | ~46 | kpi/common, landb, subscription | Firestore, cloud_functions, firebase_auth, firebase_storage, RxDart |
payment.dart | PaymentService | ~44 | account, avoirs, checkout, db, glory, hotsoft, printer, stock, ticketbalance | RxDart |
purchase.dart | PurchaseService | 41 | checkout, contacts, customer, db, profile, purchaseorderdocumentgenerator | Firestore, flutter_quill, RxDart, pdf |
catalogue.dart | CatalogueService | 27 | contacts, db, notifications | Firestore, RxDart |
stock.dart | StockService | 27 | checkout, customer, db, upgrade | Firestore, firebase_auth, Excel, pdf |
ticketsplitter.dart | TicketSplitterService | 26 | account, checkout, db, payment | Firestore, iotillpf, RxDart, SharedPreferences |
avoirs.dart | AvoirService | 12 | checkout, customer, db, payment | intl |
barcode.dart | Barcode | 7 | utils | — |
accounts_cache/accounts_repository.dart | AccountsRepository, AccountsScope | ~68 | accounts_cache/database, db | drift, RxDart |
accounts_cache/database.dart | AccountsCacheDatabase | ~25 | accounts_cache/db_native ou db_web (import conditionnel) | drift |
accounts_cache/tables.dart | AccountsCache, AccountsSyncState (tables Drift, part of) | ~23 | — | drift |
accounts_cache/db_native.dart | ouverture de la base (natif) | — | scope_purge_files | drift, path, path_provider |
accounts_cache/db_web.dart | ouverture de la base (web) | — | — | drift |
vendeurvolant.dart | VendeurVolantService | ~50 | checkout, db, landb | collection, RxDart |
keyboard_usage.dart | KeyboardUsageIndex, KeyboardKind, StoreKeyboard | ~41 | customer, db, subscription | — |
ticket_orphan_policy.dart | TicketOrphanPolicy, HeldTicketVerdict | ~22 | — | — |
vat_rounding.dart | VatRounding, VatSplit | ~18 | — | — |
scope_change.dart | ScopeChange, CheckoutScope, ScopeChangeDecision | ~12 | nf525_scope_drain (lib/nf525/) | SharedPreferences |
scope_purge_files.dart | ScopePurgeFiles | ~7 | — | path |
minicheckout.dart | MiniCheckoutService (extends CheckoutService) | ~7 | checkout, printerserviceabstract, update_readiness_publisher | page_transition |
update_readiness_publisher.dart | UpdateReadinessPublisher (#2248) | ~3 | — (modèle ticket) | MethodChannel com.iotill.caisse/mise_a_jour |
borne.dart | BorneService (extends CheckoutService) | ~2 | checkout | — |
manager.dart | ManagerService (extends CustomerService) | ~1 | customer | — |
ticket_email.dart | TicketEmailService | ~9 | account, checkout, db, document/document_payment_labels, ticket_public_link, utils | intl |
ticket_scan_code.dart | TicketScanCode (#2610) | 1 (statique) + 2 motifs | — | — |
payment_write_journal.dart | PaymentWriteJournal, PaymentJournalStore / FilePaymentJournalStore, PaymentDocWriter / FirestorePaymentDocWriter (#2662) | ~11 | — (créé par db) | Firestore, path_provider |
store_document_scope.dart | StoreDocumentScope, AccountActivityKpis (#2691) | 5 + 4 | utils (modèles account, order, payment) ; construit par account | — |
duplicate_names.dart | DuplicateNameDetector (#492) | 6 (statiques) | — | dart:typed_data |
product_variant_overrides.dart | ProductVariantOverrides (#2763) | 5 (statiques) + 2 constantes | variants_client (modèles product, variant) | collection |
Cluster 2 — NF525 / Conformité Fiscale ✅ Documenté
Documentation : services/nf525/ | Code mort : registre | Analyse : 2026-10-02 et 2026-10-03 (88 fichiers :
lib/nf525/signature/en entier,nf525_signature_verification_service.dart,nf525_counter_service.dart,nf525_emission_transaction.dart, puis le lot « émission des pièces » :nf525_document_service.dart,r12_factory.dart,nf525_emissions_en_cours.dart,nf525_operation_breakdown.dart,nf525_annulation_doublon_fiscal.dart,nf525_certificat_helper.dart, puis le lot « grands totaux et clôtures » :nf525_grand_total_service.dart,nf525_grand_total_rebuild_service.dart,nf525_gtf_correction_service.dart,nf525_ticket_xz_service.dart,nf525_journal_caisse_service.dart, puis le lot « synchronisation, intégrité et base Drift » :nf525_sync_queue_service.dart,nf525_data_integrity_service.dart,nf525_scope_drain.dart,nf525_detecteur_canal_bloque.dartetlib/nf525/database/en entier hors fichier généré, puis le lot « modèles et Factur-X » :lib/nf525/models/(34 fichiers) etlib/nf525/facturx/(3 fichiers), puis le lot « consultation distante et archives » :nf525_documents_remote_service.dart,nf525_r19_remote_service.dart,journal_caisse_remote_service.dart,journal_magasin_remote_service.dart,nf525_ereporting_remote_service.dart,nf525_archives_remote_service.dart,nf525_rapports_remote_service.dart,nf525_gtp_remote_service.dart,nf525_gtp_export_service.dart,nf525_grands_totaux_remote_service.dart, puis le lot « réparation » le 2026-10-03 :recovery_detection_service.dart,recovery_repair_service.dart,document_remediation_service.dart, enfin le lot « actions distantes, clôture, comptabilité et journal legacy » le 2026-10-03 :actions.dart,ticketz.dart,accounting.dart,journallegacy.dart)Les 97 fichiers du cluster sont documentés (
accountingcodetaxindex.dartle 2026-10-15, puisnf525_einvoicing_remote_service.dart,refund_order_item_factory.dartetmodels/correction_caisse.dartle 2026-10-23, puisimputation_correction.dartetsales_backfill_service.dartle 2026-11-13, puisnf525_changement_reglement.dartetoperateur_remediation.dartle 2026-11-20, enfinnf525_reglement_incoherent.dartle 2026-11-27) ;ticketz.dartest, malgré son nom, la façade de clôture Z active de toutes les caisses,journallegacy.dartne fait que lire les journaux PF v1.x figés depuis #1008.
Le cluster couvre deux arborescences : les services de consultation, de clôture et de réparation de lib/services/, et le moteur NF525 de lib/nf525/.
lib/services/ (23 fichiers)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
accounting.dart | AccountingService | 1 | account, analytics, customer, db, nf525_r19_remote_service | cloud_functions, firebase_auth, excel, intl, collection |
actions.dart | ActionsService | 27 | db, checkout, account, billing_service, customer, payment, stock, ticketz, tpe, ticketbalance, ticket_attachment, authentication, utils, log ; nf525 : nf525_document_service, nf525_journal_caisse_service, nf525_grand_total_rebuild_service, nf525_ticket_xz_service, nf525_signature_service, r12_factory | Firestore, firebase_auth, shared_preferences, uuid |
ticketz.dart | TicketZService | 8 | actions, checkout, db, hotsoft, printerserviceabstract, profile, utils, nf525_journal_caisse_service, nf525_ticket_xz_service | Firestore (WriteBatch), RxDart, SharedPreferences |
journal_caisse_remote_service.dart | JournalCaisseRemoteService | 16 | — | Firestore |
nf525_archives_remote_service.dart | Nf525ArchivesRemoteService | 15 | — | http, firebase_auth |
nf525_documents_remote_service.dart | Nf525DocumentsRemoteService | 14 | — | Firestore, firebase_auth |
nf525_rapports_remote_service.dart | Nf525RapportsRemoteService | 9 | — | Firestore |
nf525_gtp_remote_service.dart | Nf525GtpRemoteService | 8 | — | Firestore |
nf525_gtp_export_service.dart | Nf525GtpExportService | 8 | nf525_r19_remote_service | crypto, firebase_auth, path_provider |
nf525_r19_remote_service.dart | Nf525R19RemoteService | 7 | nf525_documents_remote_service | Firestore, cloud_functions, firebase_auth, http |
journal_magasin_remote_service.dart | JournalMagasinRemoteService | 5 | — | Firestore |
nf525_ereporting_remote_service.dart | Nf525EreportingRemoteService | 1 | — | Firestore |
nf525_einvoicing_remote_service.dart | Nf525EinvoicingRemoteService, EinvoicingDeposit, EinvoicingStatus (+ modèles de cycle de vie) | 3 | billing_api_client | Firestore |
refund_order_item_factory.dart | RefundOrderItemFactory | 4 (statiques) | — (modèles order, payment, ticket) | uuid |
nf525_grands_totaux_remote_service.dart | Nf525GrandTotauxRemoteService | ~22 | nf525_documents_remote_service, nf525_grand_total_service, nf525_signature_verification_service | Firestore |
recovery_detection_service.dart | RecoveryDetectionService, AbandonedReglementCandidate | 3 | db, journal_caisse_remote_service, modèles R12 / journal_caisse | Firestore, uuid |
recovery_repair_service.dart | RecoveryRepairService (+ résultats et plans) | 9 | billing_service, db, utils, vat_rounding, modèles R12 | Firestore, uuid |
document_remediation_service.dart | DocumentRemediationService, ImpactedDocument | 4 | account, customer, db | Firestore, RxDart |
imputation_correction.dart | ImputationCorrection (#2630) | 5 (statiques) | utils (modèles order, payment) | — |
sales_backfill_service.dart | SalesBackfillService, R13BackfillOutcome (#2662) | 1 (+ 3 du résultat) | — (modèle recovery_anomaly) | cloud_functions |
accountingcodetaxindex.dart | AccountingCodeTaxIndex, AccountingCodeTaxes, AccountingCodeUsage | 1 (statique) | — (modèles catalogue) | collection |
operateur_remediation.dart | OperateurRemediation (#2705) | 2 (statiques) | checkout, profile | firebase_auth, firebase_core |
journallegacy.dart | JournalLegacyService | 16 | customer, db, ticketz, ticketzdocumentgenerator, utils | Firestore, Excel, iotillpf, RxDart, async, collection |
lib/nf525/services/ (20 fichiers)
| Fichier | Classe(s) principale(s) | Rôle |
|---|---|---|
nf525_document_service.dart | Nf525DocumentService | Persistance et émission des pièces NF525 (R12/R13/R19) ; s'appuie sur la signature, les compteurs, le grand total, le journal et la file de synchronisation |
nf525_ticket_xz_service.dart | Nf525TicketXZService | Rapports X et Z, ancres de clôture, rapports correctifs « annule & remplace » |
nf525_grand_total_service.dart | Nf525GrandTotalService, GrandTotal | Grands totaux perpétuels et périodiques |
nf525_grand_total_rebuild_service.dart | Nf525GrandTotalRebuildService, GrandTotalCorrectionPlan, DayCorrection | Reconstruction / plan de correction des grands totaux |
nf525_gtf_correction_service.dart | Nf525GtfCorrectionService, GtfCorrectionPlan | Correction du grand total factures (GTF) : contribution des factures cross-store au magasin émetteur |
nf525_data_integrity_service.dart | Nf525DataIntegrityService | Contrôle d'intégrité base locale / distante |
nf525_sync_queue_service.dart | Nf525SyncQueueService | File de synchronisation Drift → Firestore |
nf525_journal_caisse_service.dart | Nf525JournalCaisseService | Journal des événements caisse (JET) signé |
nf525_counter_service.dart | Nf525CounterService | Compteurs séquentiels par type de document |
nf525_signature_verification_service.dart | Nf525SignatureVerificationService | Vérification des signatures (clé publique) |
r12_factory.dart | R12Factory | Construction des factures R12 depuis les tickets / comptes |
nf525_scope_drain.dart | Nf525DrainResult, Nf525DrainPort | Vidage de la file avant un changement de périmètre |
nf525_annulation_doublon_fiscal.dart | Nf525AnnulationDoublonFiscal | Annulation d'une pièce R13 de vente émise en double pour un même paiement |
nf525_operation_breakdown.dart | Nf525OperationBreakdown | Ventilation d'un R13 entre ventes, annulations et retours |
nf525_emission_transaction.dart | Nf525EmissionTransaction | Transaction d'émission d'une pièce NF525 (#1249) |
nf525_emissions_en_cours.dart | Nf525EmissionsEnCours | Registre des émissions de pièces de vente en cours, par paiement (#1247) |
nf525_detecteur_canal_bloque.dart | Nf525DetecteurCanalBloque | Détection d'un canal Firestore bloqué alors que la connectivité se déclare en ligne |
nf525_certificat_helper.dart | NF525CertificatHelper | Mention NF525 obligatoire sur les documents |
nf525_changement_reglement.dart | Nf525ChangementReglement, ChangementReglementRefuse, ChangementReglementResultat | Changement du mode d'un paiement manuel depuis le détail d'un ticket : R13, journal (AEN + ENC), grand total, JET 420 (#2677) |
nf525_reglement_incoherent.dart | Nf525ReglementIncoherent | Refus d'émettre le R13 d'un règlement de facture dont le total diffère de ses règlements, avant la prise de numéro (#2704) |
lib/nf525/signature/ (9 fichiers)
| Fichier | Classe(s) principale(s) |
|---|---|
services/nf525_signature_service.dart | Nf525SignatureService |
utils/nf525_key_manager.dart | Nf525KeyManager, Nf525KeyPair |
utils/nf525_hash_chain_formatter.dart | Nf525HashChainFormatter |
repositories/nf525_signature_repository.dart | Nf525SignatureRepository (abstraction) |
repositories/nf525_signature_firestore_repository.dart | Nf525SignatureFirestoreRepository |
models/nf525_signable.dart | Nf525Signable, Nf525SignableMixin |
models/nf525_signature.dart | Nf525Signature |
models/nf525_crypto_config.dart | Nf525CryptoConfig |
exceptions/nf525_exceptions.dart | Nf525SignatureException, Nf525CryptoException, Nf525ChainException, Nf525ValidationException |
lib/nf525/database/ (7 fichiers + database.g.dart généré)
| Fichier | Classe(s) principale(s) |
|---|---|
database.dart | Nf525Database (Drift) et extensions par table |
tables.dart | Nf525R12Documents, Nf525R13Documents, Nf525R19Evenements… |
nf525_base_garde.dart | Nf525BaseGarde, Nf525BaseVerdict |
db_native.dart, db_web.dart | Ouverture de la base (import conditionnel natif / web) |
models/nf525_enums.dart | 9 énumérations (TypeOperation, TypeDocument, StatutDocument, TypeClient, OptionTva, TypeGrandTotal, TypeCloture, TypeArchive, Valorisation) ; seul TypeOperation est utilisé dans lib/ |
models/jet_event_codes.dart | JetEventCode (tests seulement) |
lib/nf525/facturx/ (3 fichiers)
| Fichier | Classe(s) principale(s) |
|---|---|
cii_invoice_builder.dart | CiiInvoiceBuilder |
facturx_document_builder.dart | FacturxDocumentBuilder |
facturx_profile.dart | FacturxProfile |
lib/nf525/models/ (35 fichiers)
| Dossier | Fichiers | Contenu |
|---|---|---|
models/ (racine) | 6 | correction_caisse.dart, document.dart, gtp_entry.dart, journal_caisse.dart, journal_facture.dart, type_operation.dart |
models/R12/ | 12 | Factures : facture, ligne, pied_facture, emetteur, client_particulier, client_professionnel, duplicata, grand_total_facture, grand_total_periodique_facture, enums, r12 (barrel), example |
models/R13/ | 13 | Tickets et justificatifs : document_nf525_base, ticket, note, justificatif_paiement, ligne, reglement, recapitulatif_tva, emetteur, duplicata, grand_total_periodique, enums, r13 (barrel), example |
models/R19/ | 4 | Événements JET : evenement_jet, enums, r19 (barrel), example |
Cluster 3 — Terminaux de Paiement (TPE) ✅ Documenté
Documentation : services/tpe/ | Code mort : registre | Analyse : 2026-10-03 (28 fichiers, 17 pages), 2026-10-15 (2 fichiers, 2 pages) et 2026-10-20 (3 fichiers
connect/pairing/, page Connect — appairage automatique, rattachés à l'inventaire le 2026-10-23)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
tpe.dart | TPEService | 19 | checkout, db, payment, tpe/concert3* | TCP/IP, SharedPreferences |
cashdro.dart | CashdroService | 20 | — | HTTP, RxDart, SharedPreferences |
lyzi.dart | LyziService | 9 | authentication, checkout, payment | http, RxDart, SharedPreferences |
nepting.dart | NeptingService | 9 | checkout, payment | MethodChannel, SharedPreferences |
iotillpaysoftpos.dart | IotillPaySoftPOSService | 16 | authentication, checkout, payment, upgrade | cloud_functions, elotouchsdk, http, MethodChannel |
famoco.dart | FamocoService | 8 | checkout, payment | MethodChannel, SharedPreferences |
yavin.dart | YavinService | 9 | checkout, payment | MethodChannel, SharedPreferences |
pax.dart | PaxService | 9 | checkout, payment | MethodChannel, SharedPreferences |
payonsite.dart | PayOnSiteService | 9 | checkout, payment | MethodChannel, SharedPreferences |
demopayment.dart | DemoPaymentService | 11 | famoco, iotillpaysoftpos, tpe, tpe/concert3responses, utils | intl, RxDart, SharedPreferences |
famocofake.dart | FamocoFakeService (extends FamocoService) | ~11 | famoco | — |
paxfake.dart | PaxFakeService (extends PaxService) | ~9 | pax | — |
neptingfake.dart | FakeNeptingService (extends NeptingService) | ~8 | nepting | — |
tpe/concert3actions.dart | ConcertV3CaisseActions | 7 | tpe/concert3tags | — |
tpe/concert3responses.dart | ConcertV3CaisseResponses | ~8 | tpe/concert3tags, tpe/tlvparser | encrypt |
tpe/concert3tags.dart | ConcertV3CaisseTags | 28 | utils | — |
tpe/tlvparser.dart | TLVParser | ~3 | tpe/concert3tags | — |
tpe/concertframing.dart | ConcertFrameReader | ~5 | — | — |
tpe/remboursementcb.dart | RemboursementCb, DebitCbRattachable, CreditTerminalPrealable | 11 (statiques) | tpe/concert3responses, tpe/concert3tags, utils | collection |
tpe/echectpe.dart | EchecTpe | 5 (statiques) | connect/payonsite/connectpayonsite, tpe/concert3responses | — |
connect/connectservice.dart | ConnectService | 0 | — | package_info_plus, RxDart |
connect/famoco/connectfamoco.dart | FamocoConnectService | ~3 | utils | — |
connect/famoco/connectfamocoserver.dart | ConnectFamocoServerService | ~44 | connect/connectservice, connect/famoco/connectfamoco, tpe/concert3tags, tpe/tlvparser, utils | collection |
connect/nepting/connectnepting.dart | NeptingConnectService | ~19 | utils | package_info_plus |
connect/nepting/connectneptingserver.dart | NeptingConnectServerService | ~71 | connect/connectservice, connect/nepting/connectnepting, tpe/concert3tags, tpe/tlvparser, utils | collection, intl |
connect/pax/connectpax.dart | PaxConnectService | 5 | utils | Firestore, flutter_broadcasts_4m |
connect/pax/connectpaxserver.dart | ConnectPaxServerService | 13 | connect/connectservice, connect/pax/connectpax, tpe/concert3tags, tpe/tlvparser, utils | collection |
connect/payonsite/connectpayonsite.dart | PayOnSiteConnectService | 7 | utils | uuid |
connect/payonsite/connectpayonsiteserver.dart | PayOnSiteServerService | 14 | connect/connectservice, connect/payonsite/connectpayonsite, tpe/concert3tags, tpe/concertframing, tpe/tlvparser, utils | collection |
connect/yescard/connectyescardserver.dart | YesCardServerService | 11 | connect/connectservice, tpe/concert3tags, tpe/tlvparser, utils | collection |
connect/pairing/connectpairingprotocol.dart | ConnectPairingProtocol, DiscoveredConnect, ConnectPairingReply, ConnectPairingClient | ~13 | log | crypto, dart:io |
connect/pairing/connectpairingserver.dart | ConnectPairingServerService, PairedCheckout, PendingPairing | ~6 | connect/pairing/connectpairingprotocol, landb/discovery | nsd, RxDart, SharedPreferences, uuid |
connect/pairing/connectpairingtracker.dart | ConnectPairingTracker | ~11 | connect/pairing/connectpairingprotocol, landb/discovery, tpe | nsd, RxDart |
Cluster 4 — Impression ✅ Documenté
Documentation : services/impression/ | Code mort : registre | Analyse : 2026-10-04 (13 fichiers, 13 pages, commit
ede030021) ;epsonprinter.dartajouté le 2026-10-30 (commit938a05a42)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
printer.dart | PrinterService (extends PrinterServiceAbstract) | 30 | account, authentication, avoirs, borneticketlabels, checkout, dailyrestart, db, document/*, kpi/common, kpi/payments, minikioskprinter, notifications, nf525_documents_remote_service, printernebullarservice, printerimage, printerserviceabstract, printerworker, ticket_public_link, ticketbalance, tr, upgrade, usb, utils, vat_rounding, wintecprinter, zebraprinter ; lib/nf525/services/ (grand total, certificat) | ESC/POS, Bluetooth, USB, Sunmi, Newland |
printerpaxservicemini.dart | PrinterPaxServiceMini (extends PrinterServiceAbstract) | 31 | account, authentication, avoirs, borneticketlabels, checkout, db, kpi/common, notifications, printer, printerimage, printerserviceabstract, printerworker, tr, utils | flutter_pax_printer_utility |
printerserviceabstract.dart | PrinterServiceAbstract, Printers | 21 | avoirs, kpi/common ; lib/nf525/services/nf525_document_service.dart | ESC/POS, RxDart |
usb.dart | UsbConfig | 28 | — | another_flutter_usb_write, usb_serial, icod, wintec |
zebraprinter.dart | ZebraPrinterService | 4 | account, barcode, checkout, tr, upgrade, utils | zsdk |
pd220.dart | PD220Service, POS4PD220 (afficheur client) | 7 | checkout, glory, payment, usb, utils | USB série |
printernebullarservice.dart | PrinterNebullarService | 7 | account, borneticketlabels, checkout, tr, utils | iotill_nebullar |
printerworker.dart | PrinterWorker (statique) | 2 | printerimage | dart:isolate |
borneticketlabels.dart | BorneTicketLabels (statique) | 5 | — | l10n |
wintecprinter.dart | WQRCodeGenerator, WQRCorrection, WQRSize | 1 | — | — |
minikioskprinter.dart | MiniKioskPrinterService (statique) | 9 | account, borneticketlabels, checkout, tr, utils | t6_pos_printer_plugin |
printerimage.dart | PrinterImage, RawCapture | 3 | utils | image |
ticket_public_link.dart | TicketPublicLink (statique) | 6 | wintecprinter | esc_pos_utils_plus |
epsonprinter.dart | EpsonPrinterDriver, EpsonPrintResult, EpsonPrintStatus (pilote ePOS2, #2300) | 4 | — (champ de PrinterService) | MethodChannel com.iotill.caisse/epson → EpsonPrinterPlugin.kt (SDK Epson ePOS2) |
Cluster 5 — Analytique / KPI ✅ Documenté
Documentation : services/analytique/ | Code mort : registre | Analyse : 2026-10-04 (16 fichiers, 9 pages, commit
a2b3f16ad) et 2026-11-27 (kpi/account_entry.dart, page Faits KPI, commit4c05c1f6e). Les colonnes « Méthodes pub. » donnent désormais les nombres vérifiés (hors accesseurs et==/hashCodepour les modèleskpi/*).
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
analytics.dart | AnalyticsService | 37 (+ 85 flux) | analytics/pdfconfig, analytics/pdfgenerator, customer, db | cloud_functions, RxDart |
analytics/pdfgenerator.dart | AnalyticsPDFGenerator | 17 | analytics, analytics/pdfconfig, customer | pdf/printing |
analytics/excelgenerator.dart | AnalyticsExcelGenerator | 1 | analytics, analytics/pdfconfig, customer, utils | Excel, intl |
analytics/pdfconfig.dart | AnalyticsPDFGeneratorConfiguration | 5 | — | — |
analytics/account_label_resolver.dart | AccountLabelResolver | 5 | — | RxDart |
kpi.dart | KPIService | 36 | checkout, customer, db, hotsoft, kpi/*, pdf, printer, profile, xlsx | Firestore, RxDart |
kpi/common.dart | FactDailyCommon | 14 | barcode, customer, kpi/account_entry, kpi/ca, kpi/cash, kpi/payments, kpi/products, kpi/regularisation, kpi/taxes, utils | collection, intl, week_of_year |
kpi/ca.dart | FactCA | 4 | utils | — |
kpi/cash.dart | FactCash | 7 | — | — |
kpi/regularisation.dart | FactRegularisation | 6 | — | — |
kpi/taxes.dart | FactTax | 6 | utils | — |
kpi/comparison_period.dart | ComparisonPeriod | 4 | — | — |
kpi/payments.dart | FactPayment | 5 | — | — |
kpi/products.dart | FactSoldProduct | 4 | utils | — |
kpi/account_entry.dart | FactAccountEntry (#2798) | 4 | — | — |
xlsx.dart | XLSXService | 1 | customer, kpi, kpi/common, kpi/payments, kpi/products, kpi/regularisation, kpi/taxes, utils | Excel, intl |
ticketbalanceexport.dart | TicketBalanceExportService | 1 | analytics, customer, db | Excel |
pdf.dart | PDFService | 1 | customer, kpi/*, upgrade | pdf/printing |
Cluster 6 — Glory ✅ Documenté
Documentation : services/glory/ | Code mort : registre | Analyse : 2026-10-04 (5 fichiers, 5 pages, commit
a2b3f16ad)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
glory.dart | GloryService, GloryError, GloryInventoryAlert | 49 (+ 19 flux) | checkout, customer, db, glory/net, glory/sequences, notifications, payment, printerserviceabstract, utils | TCP/IP, ESC/POS, RxDart, SharedPreferences, Cron, Crashlytics |
glory/sequences.dart | GlorySequences | 25 | execution_queue, glory/net, glory/soapmsg | xml2json |
glory/net.dart | WebServiceConnection, GloryEventListener | 3 + 17 | dailyrestart, execution_queue, glory/soapmsg, utils | HttpClient, shelf, shelf_router, xml2json |
gloryadmin.dart | GloryAdminService | 5 | customer, db | Excel |
glory/soapmsg.dart | GlorySoap, GlorySoapRequest | 53 (statiques) | — | — |
Cluster 7 — Balance / Pesée / Afficheur ✅ Documenté
Documentation : services/balance/ | Code mort : registre | Analyse : 2026-10-04 (23 fichiers, 11 pages, commit
948649cdd) et 2026-11-13 (ticketbalanceapi/, 7 fichiers, page API locale ticket balance, commitc35c217e6) et 2026-11-27 (balance/calibrationlogstore.dart, page CalibrationLogStore, commit4c05c1f6e)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
ticketbalance.dart | TicketBalanceService, TicketBalanceConfig | 25 (+ 3 flux) | checkout, connectivity, db, landb, printerserviceabstract, ticketbalanceapi/*, utils, nf525_document_service | RxDart, SharedPreferences |
ticketbalanceapi/ticket_balance_api_server.dart | TicketBalanceApiServer, TICKET_BALANCE_API_PORT (#2627) | 4 | ticketbalanceapi/* | shelf, shelf_router |
ticketbalanceapi/ticket_balance_api_store.dart | TicketBalanceApiStore (interface) | 3 | — | — |
ticketbalanceapi/ticket_balance_api_store_impl.dart | TicketBalanceApiStoreImpl | 3 | db, utils | — |
ticketbalanceapi/ticket_balance_api_dto.dart | TicketBalanceApiDto | 1 (statique) | — (modèle ticket) | — |
ticketbalanceapi/ticket_balance_api_openapi.dart | TicketBalanceApiOpenApi (document OpenAPI) | — | — | — |
ticketbalanceapi/ticket_balance_secret.dart | TicketBalanceSecret | 5 (statiques) | — | crypto |
ticketbalanceapi/ticket_balance_webhook.dart | TicketBalanceWebhook | 2 | ticketbalanceapi/ticket_balance_secret | http, uuid |
balance.dart | BalanceService | 19 (+ 6 flux) | balance/*, checkout, db, nf525_document_service | flutter_libserialport, crypto, RxDart, SharedPreferences |
balance/service.dart | BalanceInternalService | 14 (+ 7 flux) | balance/alternatereader, balance/config, balance/pattern*, balance/scale*, balance/state, dailyrestart | flutter_libserialport, flutter_blue_plus, root, Crashlytics, RxDart, SharedPreferences |
balance/wintecservice.dart | WintecBalanceService, WintecParameter, WintexResponse, WintecAllParameter, WintecCalibrationLog | 8 | balance/calibrationlogstore, balance/scalepas, balance/service, checkout, db, profile | device_info_plus, RxDart |
balance/calibrationlogstore.dart | CalibrationLogStore (#2792) | 4 + 2 statiques | balance/wintecservice (modèle), db | SharedPreferences |
balance/pattern.dart | BalancePattern, BalancePatternBloc et classes associées (modèles) | — | — | — |
balance/scalepas.dart | ScalePas, ScalePasDef, isIndicationSupprimee | 6 | utils | collection |
balance/alternatereader.dart | BalanceAlternatePatternReader, WBalanceAlternatePatternReader | 2 | balance, balance/config, balance/service, balance/wintecservice | — |
balance/patternreader.dart | BalancePatternReader | 2 | balance/pattern, balance/state | collection |
balance/config.dart | ScaleConfig | 1 | balance/pattern, balance/scale, balance/scalepas | flutter_libserialport |
balance/state.dart | ScaleState | 2 | — | — |
balance/scale.dart | ScaleDefinition | — | balance/pattern | — |
balance/action.dart | ScaleAction (code mort) | — | — | — |
balance/scalecollection.dart | scaleCollection, refreshScaleConfigFromCollection | 1 | balance/config, balance/patterncollection, balance/scale | collection |
balance/patterncollection.dart | trames CON1, CON1W, type P (données) | — | balance/pattern | — |
fakelibserialport.dart | SerialPort (bouchon web de flutter_libserialport) | — | — | — |
calibration.dart | CalibrationService | 1 | db, profile | — |
cloudscaleventmonitoring.dart | CloudScaleEventMonitoring | 0 | nf525_document_service | flutter_broadcasts_4m, SharedPreferences |
afficheur.dart | AfficheurService | 3 | afficheur_remote/caisse_bt_service, balance, checkout, dailyrestart, glory, lyzi, payment | presentation_displays, RxDart |
afficheur_remote/caisse_bt_service.dart | AfficheurRemoteBtService | 6 (+ 2 flux) | afficheur_remote/afficheur_bt_uuid, afficheur_remote/bt_framing, afficheur_remote/transport | flutter_classic_bluetooth, RxDart, SharedPreferences |
afficheur_remote/screen_bt_server.dart | AfficheurBtServer | 3 (+ 2 flux) | afficheur_remote/afficheur_bt_uuid, afficheur_remote/bt_framing, afficheur_remote/transport | flutter_classic_bluetooth, RxDart, SharedPreferences, uuid |
afficheur_remote/bt_framing.dart | BtFraming, BtFrameDecoder | 2 | — | — |
afficheur_remote/transport.dart | RemoteAfficheurSender, RemoteAfficheurReceiver (interfaces), RemoteConnState | — | — | — |
afficheur_remote/afficheur_bt_uuid.dart | AfficheurBt (constantes) | — | — | — |
Cluster 8 — Restaurant / KDS / Pad ✅ Documenté
Documentation : services/restaurant/ | Code mort : registre | Analyse : 2026-10-04 (9 fichiers, 9 pages, commit
59d996cf), puiskdsticketprint.dart(2026-10-15) etkdslogs.dart(#2277), décrits dans la page KDSService, enfinpadlogs.dart(2026-11-20, #2747, page PadLogsService)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
restaurant.dart | RestaurantService | 49 | checkout, db, keyboard, landb, payment, preparation, stock | RxDart, collection |
preparation.dart | PreparationService | 15 | authentication, checkout, db, iotillsynclan, landb, padprofile, printerserviceabstract, restaurant, upgrade | dart:io Socket, ESC/POS, crashlytics, circular_buffer, Cron, RxDart, SharedPreferences |
kds.dart | KDSService | 22 | authentication, dailyrestart, db, iotillsynclan, landb, presence | crashlytics, flutter_beep_plus, RxDart, SharedPreferences |
kdsticketprint.dart | KDSTicketPrintService, KDSPrintResult, KDSPrintLine | 5 | db, preparation, utils | esc_pos_utils_plus, intl |
kdslogs.dart | KDSLogsService (export à distance des logs, #2277) | 5 | db, log | firebase_storage |
kdsprofile.dart | KDSProfileService | 13 | authentication, connectivity, db, kds, kdslogs | cloud_functions, encrypt, pointycastle, iotillpf, RxDart |
performance.dart | PerformanceService | 9 | checkout, payment, restaurant | firebase_storage, device_info_plus, RxDart |
pad.dart | PadService (sous-classe de CheckoutService) | 7 | authentication, checkout, db, iotillsynclan, padprofile, preparation, presence | android_id, Cron, firebase_auth, crashlytics, SharedPreferences |
padprofile.dart | PadProfileService, PadSessionOutcome | 11 | authentication, checkout, connectivity, db | cloud_functions, encrypt, pointycastle, iotillpf, RxDart |
paddownloadlink.dart | PadDownloadLink | 3 | cohort | — |
padlogs.dart | PadLogsService (export à distance des logs, #2747) | ~10 | db, log | firebase_storage |
ticketz4pad.dart | TicketZService4Pad | 1 | checkout, db | — |
Cluster 9 — Profil / Auth ✅ Documenté
Documentation : services/profil-auth/ | Code mort : registre | Analyse : 2026-10-04 (7 fichiers, 7 pages, commit
8ef7a3b39)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
administrator.dart | AdministratorService | 29 | checkout, cohort, db | Firestore, crypto, pointycastle, RxDart |
authentication.dart | AuthenticationService | 15 | checkout | firebase_auth, cloud_functions, google_sign_in, RxDart |
profile.dart | ProfileService | 6 | authentication, db | cloud_functions, RxDart |
loyalty_service.dart | LoyaltyService | 19 | customer | Firestore, firebase_auth |
subscription.dart | SubscriptionService | 10 | customer, db, profile | Firestore, RxDart |
reseller.dart | ResellerService | 9 | authentication, checkout, db, profile | RxDart |
ticket_attachment.dart | TicketAttachmentService | 2 | account, db | — |
Cluster 10 — Documents / PDF ✅ Documenté
Documentation : services/documents/ | Code mort : registre | Analyse : 2026-10-04 (13 fichiers, 8 pages, commit
ba4de4666)
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
accountdocumentgenerator.dart | AccountDocumentGenerator | 2 | document/*, utils | pdf/printing |
document/document_view_model.dart | DocumentViewModel (+ 9 classes de vue) | 0 (22 getters) | utils | — |
document/document_view_model_factory.dart | DocumentViewModelFactory | 3 | document/document_view_model | — |
document/document_styles.dart | DocumentStyles | 14 | — | |
document/markdown_to_pdf.dart | MarkdownToPdf | 2 | document/document_styles | |
document/duplicata_flow.dart | DuplicataFlow, DuplicataOutcome | 3 (+3 getters) | account, billing_service, checkout, db | package_info_plus |
document/invoice_reminder_flow.dart | InvoiceReminderFlow | 3 | account, document/duplicata_flow, nf525_documents_remote_service, modèles R12 | page_transition |
document/document_payment_labels.dart | (fonctions de libellés des encaissements) | 7 | — | — |
document/print_pdf_helper.dart | PdfOutputOutcome, layoutPdfGuarded, sharePdfGuarded | 3 | notifications | pdf, printing |
purchaseorderdocumentgenerator.dart | PurchaseOrderDocumentGenerator | 5 | contacts, upgrade, webupgrader | pdf/printing |
ticketzdocumentgenerator.dart | TicketZDocumentGenerator | 1 | utils | pdf/printing |
pdf_google_fonts.dart | googlFontsUrls (table générée de 1 398 URL Google Fonts) | — | — | — |
document/pdf_embedded_fonts.dart | PdfEmbeddedFonts | 1 | — | pdf, flutter/services (assets Roboto) |
Cluster 11 — Réseau LAN ✅ Documenté
Documentation détaillée : services/reseau-lan/ (12 pages, 2026-10-07 ; page MasterLinkWatch et NetworkLink le 2026-11-27, commit 4c05c1f6e).
| Fichier | Service/Classe | Méthodes pub. | Dépend de (services) | Deps externes |
|---|---|---|---|---|
landb_impl.dart | LANDBImpl | 29 | connectivity, landb, landb/*, network_link | NSD, RxDart, Crashlytics |
iotillsynclanimpl.dart | IotillSyncLANImpl | 10 | checkout, dailyrestart, db, iotillsynclan, landb, landb_impl, landb/lan_master_policy, lanread/lan_read_service | RxDart, SharedPreferences, Crashlytics |
iotillsynclan.dart | IotillSyncLAN (interface) | 9 | — | — |
landb.dart | LANDB (interface) | 23 | — | RxDart |
landb/dao.dart | CacheDao | 18 | landb/database | drift |
landb/discovery.dart | LANDBAutoDiscoverry | 11 | — | collection, nsd |
landb/client_sync.dart | CacheClient, SimpleResponse | 13 | landb/dao, landb/database | drift, dart:io (HTTP, WebSocket) |
landb/server.dart | CacheServer | 6 | landb/dao | shelf, shelf_router, shelf_web_socket, web_socket_channel |
landb/lan_master_policy.dart | LanMasterPolicy, LanRole | 8 | — | — |
landb/master_link_watch.dart | MasterLinkWatch, MasterLinkAction (#2783) | 4 | landb/lan_master_policy | — |
network_link.dart | NetworkLink (#2783) | 2 | — | MethodChannel com.iotill.caisse/reseau |
landb/document.dart | Documents, Changes (tables) | — | — | drift |
landb/database.dart | AppDatabase | 4 | landb/db_native ou db_web (import conditionnel) | drift |
landb/db_native.dart | LandbCacheDb, openExecutor | 3 | scope_purge_files | drift, path_provider, sqlite3 |
landb/db_web.dart | openExecutor (web) | 1 | — | drift |
lanread/lan_read_service.dart | LanReadService | 9 | lanread/* | — |
lanread/lan_read_client.dart | LanReadClient | 10 | lanread/peer_health | — |
lanread/lan_read_discovery.dart | LanReadDiscovery | 9 | landb/discovery | nsd |
lanread/peer_directory.dart | PeerDirectory, LanReadPeer | 8 | — | RxDart |
lanread/lan_read_handler_impl.dart | LanReadHandlerImpl | 5 | db, lanread/lan_read_handler, nf525_document_service | — |
lanread/peer_health.dart | PeerHealth | 6 | — | — |
lanread/lan_read_server.dart | LanReadServer | 3 | lanread/lan_read_handler | shelf, shelf_router |
lanread/lan_read_handler.dart | LanReadHandler (interface) | 5 | — | — |
Services utilitaires (hors cluster)
| Fichier | Service/Classe | Méthodes pub. | Rôle |
|---|---|---|---|
utils.dart | IotillUtils | 8 | Extensions Dart (toPrecision, truncate, HexColor...) |
hotsoft.dart | HotsoftService | 32 | Intégration PMS hôtelier |
wallstreat.dart | WallstreatService | 12 | Synchronisation catalogue Wallstreat |
tr.dart | TRService | 8 | Titres-Restaurant |
upgrade.dart | UpdgradeService | 12 | Mise à jour applicative |
webupgrader.dart | WebUpgraderService | ~10 | Choix de la révision web éligible selon les cohortes |
web_version.dart | WebVersionService | ~43 | Version web servie, bascule de cohorte |
cohort.dart | CohortService | ~13 | Liste des cohortes et appartenance d'un magasin |
cohort_url.dart | CohortUrl | ~6 (statiques) | Règles d'URL du web multi-cohorte en mode path (slug, route, paramètre route), cf. workflow de navigation par URL (#2184) |
web.dart | (fonctions web) | ~6 | Console, rechargement et URL du navigateur (build web) |
noweb.dart | (bouchons) | — | Bouchons natifs des fonctions de web.dart |
presence.dart | PresenceService | ~25 | Présence live des appareils (Realtime Database) |
siret_lookup.dart | SiretLookupService | ~22 | Recherche d'entreprise par SIRET (API publique) |
history_generator.dart | HistoryGeneratorService | ~17 | Génération d'un historique d'encaissement sur une plage de dates |
pawhwscanner.dart | PAXHwScannerService | ~1 | Lecteur code-barres matériel PAX |
connectivity.dart | ConnectivityService | ~3 | Vérification connectivité réseau |
notifications.dart | NotificationService | 5 | Pile de notifications UI |
dailyrestart.dart | DailyRestart | ~2 | Redémarrage automatique quotidien, points uniques de redémarrage (restartNow) et de fermeture (closeNow) avec teardown des ressources exclusives |
execution_queue.dart | ExecutionQueue | 1 | File d'exécution async générique |
translate.dart | — | ~2 | Client Google Translate |
qr_code_service.dart | QrCodeService | 2 | Génération/validation QR codes |
contacts.dart | ContactsService | 3 | Gestion contacts fournisseurs |
billing_service.dart | BillingService | 5 | Facturation iotill / signature |
billing_api_client.dart | BillingApiClient | 6 | Client API facturation |
api_tokens_client.dart | ApiTokensClient, ApiTokensException | 4 | Client REST /v1/tokens (jetons d'API métier : liste, création, révocation, rotation), page « Jetons d'API » du back-office (#1227) |
webhooks_client.dart | WebhooksClient, WebhooksException | 10 | Client REST /v1/webhooks de l'API métier (businessApi) : types d'événements, abonnements (liste, création, modification, suppression), rotation du secret, ping de test, journal et rejeu des livraisons ; page « Webhooks » du back-office (pages/administration/customer/webhooks/webhookspage.dart, #2609) |
variants_client.dart | VariantsClient, VariantsException, VariantVersioned, VariantOperationResult | ~37 | — (modèles variant) |
changelogs.dart | ChangeLogsService | ~2 | Changelogs applicatifs |
preload.dart | PreloadService | 0 | Préchargement cache |
vendorightinit.dart | (constantes) | 0 | Profils de droits vendeurs |
email.dart | EmailService | 0 | Service email (stub) |
journal.dart | JournalService | 0 | Journal (stub) |
tests.dart | IotillTests | 1 | Utilitaire de test (importé nulle part, cf. code mort) |
Diagrammes d'interactions
Vue globale inter-clusters
Coeur de Caisse — Interactions détaillées
Terminaux de Paiement
NF525 — Flux de conformité
Impression — Hiérarchie
Restaurant / KDS
Glory + Balance
Réseau LAN
Arêtes relevées dans les import des fichiers (lib/services/iotillsynclanimpl.dart, lib/services/landb_impl.dart, lib/services/landb/*.dart, lib/services/lanread/lan_read_service.dart, lib/services/lanread/lan_read_handler_impl.dart).
Priorisation de traitement
| Priorité | Cluster | Justification |
|---|---|---|
| 1 | Coeur de Caisse | Criticité max, ~700 méthodes pub., tous les clusters en dépendent — ✅ 33/33 documentés (2026-10-02, ticket_email.dart le 2026-10-04, update_readiness_publisher.dart le 2026-10-23, ticket_scan_code.dart le 2026-11-06, payment_write_journal.dart le 2026-11-13, store_document_scope.dart et duplicate_names.dart le 2026-11-20, product_variant_overrides.dart le 2026-11-27) |
| 2 | NF525 / Conformité | Exigence réglementaire, documentation technique interne manquante — ✅ 97/97 documentés (2026-10-03, accountingcodetaxindex.dart le 2026-10-15, 3 fichiers le 2026-10-23, 2 fichiers le 2026-11-13, 2 fichiers le 2026-11-20, nf525_reglement_incoherent.dart le 2026-11-27) |
| 3 | TPE | Critique pour les encaissements, 8+ connecteurs — ✅ 33/33 documentés (2026-10-03, 2 fichiers le 2026-10-15, appairage Connect le 2026-10-20) |
| 4 | Restaurant / KDS | Complexité élevée (~130 méthodes pub.), peu de tests — ✅ 12/12 documentés (2026-10-04, kdsticketprint.dart le 2026-10-15, kdslogs.dart le 2026-10-20, padlogs.dart le 2026-11-20) |
| 5 | Impression | Impact utilisateur, nombreux drivers — ✅ 14/14 documentés (2026-10-04, epsonprinter.dart le 2026-10-30) |
| 6 | Glory | Complexité SOAP, matériel spécialisé — ✅ 5/5 documentés (2026-10-04) |
| 7 | Analytique / KPI | Important pour le reporting — ✅ 18/18 documentés (2026-10-04, account_label_resolver.dart le 2026-10-15, kpi/account_entry.dart le 2026-11-27) |
| 8 | Balance / Pesée | Matériel spécialisé, serial/Bluetooth — ✅ 31/31 documentés (2026-10-04, ticketbalanceapi/ le 2026-11-13, balance/calibrationlogstore.dart le 2026-11-27) |
| 9 | Profil / Auth | Relativement stable, moins complexe — ✅ 7/7 documentés (2026-10-04) |
| 10 | Documents / PDF | Génération statique, faible risque — ✅ 13/13 documentés (2026-10-04) |
| 11 | Réseau LAN | Synchronisation locale, isolé — ✅ 23/23 documentés (2026-10-07, landb/master_link_watch.dart et network_link.dart le 2026-11-27) |