api.services.ultimate3000.pipeline ================================== .. py:module:: api.services.ultimate3000.pipeline .. autoapi-nested-parse:: What happens after a client requests an offer (Celery task `ultimate3000_offer`): picture, Airtable, e-mails. Order matters: the picture first (the e-mails show it, the Airtable record attaches it), then Airtable (the team e-mail links to the record), then n8n. Airtable failures raise, so Celery retries the task; an estimation already synced is never created twice. Attributes ---------- .. autoapisummary:: api.services.ultimate3000.pipeline.logger api.services.ultimate3000.pipeline.PERSON_KEYS api.services.ultimate3000.pipeline.COMPANY_KEYS Functions --------- .. autoapisummary:: api.services.ultimate3000.pipeline.client_link api.services.ultimate3000.pipeline.image_url api.services.ultimate3000.pipeline.link_payload api.services.ultimate3000.pipeline.offer_payload api.services.ultimate3000.pipeline.process_offer Module Contents --------------- .. py:data:: logger .. py:data:: PERSON_KEYS :value: ('prenom', 'nom', 'mobile', 'telephone_fixe', 'poste') .. py:data:: COMPANY_KEYS .. py:function:: client_link(client: dict[str, Any]) -> str .. py:function:: image_url(est_id: str) -> str .. py:function:: link_payload(client: dict[str, Any]) -> dict[str, Any] .. py:function:: offer_payload(est: dict[str, Any], client: dict[str, Any], numero: int, airtable_url: str | None) -> dict[str, Any] .. py:function:: process_offer(store: api.services.ultimate3000.store.Store, est_id: str) -> dict[str, Any]