Skip to content

Commit

Permalink
feat: add last effectif ETP field to elastic data
Browse files Browse the repository at this point in the history
  • Loading branch information
iChermiti15 committed Mar 6, 2024
1 parent 839089b commit 94fc19e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/n8n/utils/elastic/enterprise.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export type BceEtablissement = {
Tranche_effectif_DSN: string;
Departement: string;
Nombre_Eta: string;
last_eff_rcd:string;
};

export type Enterprise = {
Expand Down Expand Up @@ -402,6 +403,7 @@ export const mapEnterprise = (enterprise: BceEtablissement) => {

etablissementsUniteLegaleRank: getRank(enterprise.Nombre_Eta),
statutDiffusionEtablissement: enterprise.eta_statutDiffusionEtablissement,
last_eff_rec:enterprise.last_eff_rcd
};

return removeEmpty(document);
Expand Down

0 comments on commit 94fc19e

Please sign in to comment.