github.com/benoitkugler/goacve@v0.0.0-20201217100549-151ce6e55dc8/server/frontend/directeurs/src/logic/api.ts (about)

     1  // -- DONT EDIT - autogenerated from main.go
     2  
     3  export const Misc = {
     4    /** GET */ HandleLogiciel: "/logiciel",
     5    /** POST */ DownloadLogiciel: "/logiciel",
     6    /** POST */ SearchMail: "/lien_espace_perso"
     7  };
     8  
     9  export const Inscriptions = {
    10    /** POST */ EnregistreInscriptionComplete: "/api",
    11    /** POST */ RejoueInscriptionComplete: "/api/no-check-mail",
    12    /** GET */ CheckMail: "/api/check-mail",
    13    /** POST */ EnregistreInscriptionSimple: "/api/simple",
    14    /** GET */ FormulaireInscription1: "",
    15    /** GET */ FormulaireInscription2: (preselected: string) =>
    16      "/:preselected".replace(":preselected", preselected),
    17    /** GET */ HandleLoadDataInscriptions: "/api"
    18  };
    19  
    20  export const EspacePerso = {
    21    /** PUT */ CreateDocument: (key: string) =>
    22      "/espace_perso/:key/api/document".replace(":key", key),
    23    /** POST */ UpdateOptionsParticipants: (key: string) =>
    24      "/espace_perso/:key/api/participants".replace(":key", key),
    25    /** PUT */ CreeMessage: (key: string) =>
    26      "/espace_perso/:key/api/message".replace(":key", key),
    27    /** GET */ GetData: (key: string) =>
    28      "/espace_perso/:key/api/datas".replace(":key", key),
    29    /** PUT */ CreateAide: (key: string) =>
    30      "/espace_perso/:key/api/aide".replace(":key", key),
    31    /** DELETE */ DeleteAide: (key: string) =>
    32      "/espace_perso/:key/api/aide".replace(":key", key),
    33    /** POST */ UpdateFicheSanitaire: (key: string) =>
    34      "/espace_perso/:key/api/fiche_sanitaire".replace(":key", key),
    35    /** GET */ MarkConnection: (key: string) =>
    36      "/espace_perso/:key/api/connected".replace(":key", key),
    37    /** GET */ LoadJoomeo: (key: string) =>
    38      "/espace_perso/:key/api/joomeo".replace(":key", key),
    39    /** GET */ GetFinances: (key: string) =>
    40      "/espace_perso/:key/api/finances".replace(":key", key),
    41    /** POST */ UpdateAide: (key: string) =>
    42      "/espace_perso/:key/api/aide".replace(":key", key),
    43    /** GET */ TransfertFicheSanitaire: (key: string) =>
    44      "/espace_perso/:key/api/fiche_sanitaire".replace(":key", key),
    45    /** GET */ DownloadFacture: (key: string) =>
    46      "/espace_perso/:key/api/download/facture".replace(":key", key),
    47    /** GET */ DownloadAttestationPresence: (key: string) =>
    48      "/espace_perso/:key/api/download/presence".replace(":key", key),
    49    /** POST */ SaveSondage: (key: string) =>
    50      "/espace_perso/:key/api/sondage".replace(":key", key),
    51    /** DELETE */ DeleteMessage: (key: string) =>
    52      "/espace_perso/:key/api/message".replace(":key", key),
    53    /** GET */ GetMetas: (key: string) =>
    54      "/espace_perso/:key/api/metas".replace(":key", key),
    55    /** POST */ ConfirmePlaceliberee: (key: string) =>
    56      "/espace_perso/:key/api/placeliberee".replace(":key", key),
    57    /** POST */ EditMessage: (key: string) =>
    58      "/espace_perso/:key/api/message".replace(":key", key)
    59  };
    60  
    61  export const Equipier = {
    62    /** POST */ UpdateCharte: (cryptedId: string) =>
    63      "/:cryptedId/charte".replace(":cryptedId", cryptedId),
    64    /** GET */ FormulaireEquipier: (cryptedId: string) =>
    65      "/:cryptedId".replace(":cryptedId", cryptedId),
    66    /** GET */ DatasEquipier: (cryptedId: string) =>
    67      "/:cryptedId/datas".replace(":cryptedId", cryptedId),
    68    /** GET */ DatasJoomeo: (cryptedId: string) =>
    69      "/:cryptedId/datas/joomeo".replace(":cryptedId", cryptedId),
    70    /** POST */ UpdateEquipier: (cryptedId: string) =>
    71      "/:cryptedId".replace(":cryptedId", cryptedId),
    72    /** PUT */ AjouteDocumentEquipier: (cryptedId: string) =>
    73      "/:cryptedId".replace(":cryptedId", cryptedId)
    74  };
    75  
    76  export const Vote = {
    77    /** GET */ ExportBilanVotes: (key: string) =>
    78      "/vote_admin/:key/api/votes/export".replace(":key", key),
    79    /** PUT */ InviteOne: (key: string) =>
    80      "/vote_admin/:key/api/membres".replace(":key", key),
    81    /** POST */ UpdateVote: (key: string) =>
    82      "/vote_admin/:key/api/votes".replace(":key", key),
    83    /** DELETE */ DeleteVote: (key: string) =>
    84      "/vote_admin/:key/api/votes".replace(":key", key),
    85    /** GET */ GetVotes: (key: string) =>
    86      "/vote_admin/:key/api/votes".replace(":key", key),
    87    /** PUT */ CreateVote: (key: string) =>
    88      "/vote_admin/:key/api/votes".replace(":key", key),
    89    /** GET */ ClearVote: (key: string) =>
    90      "/vote_admin/:key/api/votes/clear".replace(":key", key),
    91    /** POST */ LockVote: (key: string) =>
    92      "/vote_admin/:key/api/votes/lock".replace(":key", key),
    93    /** GET */ PageAdmin: (key: string) =>
    94      "/vote_admin/:key".replace(":key", key),
    95    /** GET */ GetMembres: (key: string) =>
    96      "/vote_admin/:key/api/membres".replace(":key", key),
    97    /** POST */ InviteAll: (key: string) =>
    98      "/vote_admin/:key/api/membres".replace(":key", key)
    99  };
   100  
   101  export const Passwords = {
   102    /** PUT */ CreatePassword: (key: string) =>
   103      "/passwords/:key/api".replace(":key", key),
   104    /** POST */ UpdatePassword: (key: string) =>
   105      "/passwords/:key/api".replace(":key", key),
   106    /** DELETE */ DeletePassword: (key: string) =>
   107      "/passwords/:key/api".replace(":key", key),
   108    /** GET */ PagePasswords: (key: string) =>
   109      "/passwords/:key".replace(":key", key),
   110    /** GET */ GetPasswords: (key: string) =>
   111      "/passwords/:key/api".replace(":key", key)
   112  };
   113  
   114  export const Directeurs = {
   115    /** PUT */ AutoRepartitInscritsAnimateur: "groupes/animateurs/inscrits",
   116    /** GET */ DownloadDocumentsEquipe: "equipe/pieces/download",
   117    /** POST */ UpdateLettreDirecteur: "lettre_directeur",
   118    /** POST */ SetContactUploader: "photos",
   119    /** GET */ DataLoggin: "identification",
   120    /** DELETE */ DeleteContrainte: "contraintes",
   121    /** GET */ LieDocument: "contraintes/lie_document",
   122    /** GET */ LoadGroupes: "groupes",
   123    /** POST */ RechercheProfil: "equipe/recherche",
   124    /** GET */ GetEquipe: "equipe",
   125    /** GET */ ExportsExcel: (categorie: string) =>
   126      "exports/:categorie".replace(":categorie", categorie),
   127    /** GET */ GetJoomeo: "photos",
   128    /** GET */ GetDetails: (categorie: string) =>
   129      "details/:categorie".replace(":categorie", categorie),
   130    /** POST */ UpdateInscrit: "inscrits",
   131    /** POST */ UpdateContrainte: "contraintes",
   132    /** POST */ DownloadDocumentInscrits: "inscrits/documents",
   133    /** DELETE */ DeleteContact: "photos",
   134    /** POST */ ModifieEquipier: "equipe",
   135    /** POST */ UploadImageLettre: (id_camp: string, token: string) =>
   136      "lettre_directeur/upload_image/:id_camp/:token"
   137        .replace(":id_camp", id_camp)
   138        .replace(":token", token),
   139    /** POST */ Loggin: "identification",
   140    /** GET */ LoadContraintes: "contraintes",
   141    /** POST */ DeleteGroupeAnimateur: "groupes/animateurs",
   142    /** PUT */ AddEquipier: "equipe",
   143    /** POST */ UpdatePlages: "groupes/plages",
   144    /** GET */ GetListeVetements: (default_: string) =>
   145      "liste_vetements/:default".replace(":default", default_),
   146    /** GET */ PreviewListeVetements: "liste_vetements/preview",
   147    /** PUT */ AddContactsJoomeo: "photos",
   148    /** GET */ LoadSondages: "retours",
   149    /** PUT */ AjouteBonusDoc: "details/document",
   150    /** POST */ UpdateGroupesContraintes: "groupes/contraintes",
   151    /** POST */ SetDocumentsEquipe: "equipe/pieces",
   152    /** GET */ GetLettreDirecteur: "lettre_directeur",
   153    /** POST */ InviteFormulaireEquipier: "equipe/invite",
   154    /** PUT */ CreateContrainte: "contraintes",
   155    /** GET */ PreviewDocumentInscrits: "inscrits/documents",
   156    /** GET */ GetDocumentsEquipe: "equipe/pieces",
   157    /** DELETE */ DeleteEquipier: "equipe",
   158    /** POST */ DownloadFicheSanitaire: "inscrits/fiche_sanitaire",
   159    /** POST */ UpdateDetails: (categorie: string) =>
   160      "details/:categorie".replace(":categorie", categorie),
   161    /** GET */ GetInscrits: "inscrits",
   162    /** DELETE */ DeleteGroupe: "groupes",
   163    /** POST */ UpdateInscritsAnimateur: "groupes/animateurs/inscrits",
   164    /** PUT */ AddDocumentEquipe: "equipe/pieces/upload",
   165    /** POST */ UpdateListeVetements: "liste_vetements",
   166    /** PUT */ CreateGroupe: "groupes",
   167    /** POST */ UpdateGroupe: "groupes",
   168    /** GET */ LoadGroupeAnimateurs: "groupes/animateurs",
   169    /** PUT */ AddGroupeAnimateurs: "groupes/animateurs"
   170  };