{"info":{"_postman_id":"9d094fd1-e913-4ba8-a290-18475258653b","name":"node-ts-starter","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"15120939","collectionId":"9d094fd1-e913-4ba8-a290-18475258653b","publishedId":"2sA3kUGMx7","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-20T08:40:21.000Z"},"item":[{"name":"Auth","item":[{"name":"Get current user","id":"cbdbc7d0-c314-40bb-b7ad-3200b9b359b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"GET","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"url":"http://localhost:9095/api/v1/users/current","urlObject":{"path":["users","current"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cbdbc7d0-c314-40bb-b7ad-3200b9b359b0"},{"name":"Generate Otp","id":"74b09819-b156-4ef1-98d1-64c7afef2ad7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"email\":\"bob@mail.com\",\n    \"purpose\":\"ACCOUNT_VERIFICATION\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/otp/generate","urlObject":{"path":["otp","generate"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"74b09819-b156-4ef1-98d1-64c7afef2ad7"},{"name":"User registration","id":"a46c52e6-ebd8-4860-9da5-68e68a0b34e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"firstname\": \"ATARMLA\",\r\n  \"lastname\": \"Abdou-Raouf\",\r\n  \"email\": \"achilleatarmla@gmail.com\",\r\n  \"password\": \"CoolPass\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/register","urlObject":{"path":["auth","register"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a46c52e6-ebd8-4860-9da5-68e68a0b34e0"},{"name":"User account verification","id":"8cab403b-04d4-4f03-bd6d-1c1e4598ab92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"achilleatarmla@gmail.com\",\n    \"code\":\"189028\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/verify-account","urlObject":{"path":["auth","verify-account"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8cab403b-04d4-4f03-bd6d-1c1e4598ab92"},{"name":"User login with password","id":"3c27c58e-f1ad-4d50-b7d0-6e74bd3af557","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"achilleatarmla@gmail.com\",\n    \"password\":\"CoolPass\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/login-with-password","urlObject":{"path":["auth","login-with-password"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c27c58e-f1ad-4d50-b7d0-6e74bd3af557"},{"name":"User login with otp (otp generation)","id":"9270fae5-2f89-4d6c-83ee-7c65edabdf83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"achilleatarmla@gmail.com\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/generate-login-otp","urlObject":{"path":["auth","generate-login-otp"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"9270fae5-2f89-4d6c-83ee-7c65edabdf83"},{"name":"User login with otp","id":"d4bf49a8-136b-4110-8486-59f95c91c46d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"achilleatarmla@gmail.com\",\n    \"code\":\"695516\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/login-with-otp","urlObject":{"path":["auth","login-with-otp"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"d4bf49a8-136b-4110-8486-59f95c91c46d"},{"name":"Refresh token","id":"a3cc1635-c2a0-4f17-954e-9f4b60d49692","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"refreshToken\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MjE0NjEyODksImV4cCI6MTcyMjA2NjA4OSwiYXVkIjoiNjY5YWEzOThiNmYxZGJjZGI2MjA5NzI2IiwiaXNzIjoieW91ci1pc3N1ZXIifQ.dQyypLryKlunl1T3c2vG0bc0UgB9pRZSdpFSIHyKdWY\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/refresh","urlObject":{"path":["auth","refresh"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"a3cc1635-c2a0-4f17-954e-9f4b60d49692"},{"name":"Logout","id":"8ac87aea-d531-4db2-8d46-718c1250e2c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MjE0NjQ0OTYsImV4cCI6MTcyMTQ2ODA5NiwiYXVkIjoiNjY5YWEzOThiNmYxZGJjZGI2MjA5NzI2IiwiaXNzIjoieW91ci1pc3N1ZXIifQ.VulPb4OoaaPKlYebtzv2hf2afc7tYQ2UldIvvbCNpzE\",\n    \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MjE0NjQ0OTYsImV4cCI6MTcyMjA2OTI5NiwiYXVkIjoiNjY5YWEzOThiNmYxZGJjZGI2MjA5NzI2IiwiaXNzIjoieW91ci1pc3N1ZXIifQ.cziA3uTkKt0q4bnutlTB8ZXRQfEK4GClxwuTSkT8XRQ\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/logout","urlObject":{"path":["auth","logout"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"8ac87aea-d531-4db2-8d46-718c1250e2c1"},{"name":"Forgot password","id":"10683046-74ce-49b9-8c22-5cb0a348740e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MjE0NjQ0OTYsImV4cCI6MTcyMTQ2ODA5NiwiYXVkIjoiNjY5YWEzOThiNmYxZGJjZGI2MjA5NzI2IiwiaXNzIjoieW91ci1pc3N1ZXIifQ.VulPb4OoaaPKlYebtzv2hf2afc7tYQ2UldIvvbCNpzE\",\n    \"refreshToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE3MjE0NjQ0OTYsImV4cCI6MTcyMjA2OTI5NiwiYXVkIjoiNjY5YWEzOThiNmYxZGJjZGI2MjA5NzI2IiwiaXNzIjoieW91ci1pc3N1ZXIifQ.cziA3uTkKt0q4bnutlTB8ZXRQfEK4GClxwuTSkT8XRQ\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/logout","urlObject":{"path":["auth","logout"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"10683046-74ce-49b9-8c22-5cb0a348740e"},{"name":"Reset password","id":"daf962bd-c7fa-467a-9005-3d9e1d540a9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\":\"achilleatarmla@gmail.com\",\n    \"code\":\"911585\",\n    \"newPassword\":\"password\"\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/auth/reset-password","urlObject":{"path":["auth","reset-password"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"daf962bd-c7fa-467a-9005-3d9e1d540a9f"},{"name":"Sign something using TGouv Registry","id":"37b53c9b-30b8-4264-9af4-e11a5030a981","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"slug\":\"airport\",\r\n  \"payload\":{\r\n    \"demandeNumero\": \"AI-00TF78XN\",\r\n    \"nom\": \"TAGBA\",\r\n    \"prenoms\": \"MAGNIMBELO AFI VALERIE\",\r\n    \"sexe\": \"Féminin\",\r\n    \"passportOuCni\": \"EB772220\",\r\n    \"telephone\": \"+22896093820\",\r\n    \"compagnieAerienne\": \"BFR/Air Burkina\",\r\n    \"volNumero\": \"aert\",\r\n    \"volDate\": \"2024-12-05\",\r\n    \"venantDe\": \"UTK/Utirik Airport\",\r\n    \"allantA\": \"LFW/Lomé–Tokoin International Airport\",\r\n    \"visa\": \"N/A\",\r\n    \"cat\": \"null\",\r\n    \"exp\": \"null\",\r\n    \"rat\": \"null\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:8099/api/v1/xflow/re/sign","urlObject":{"protocol":"http","port":"8099","path":["api","v1","xflow","re","sign"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"37b53c9b-30b8-4264-9af4-e11a5030a981"}],"id":"de50a54e-a1f8-4587-a01c-99062f744906","_postman_id":"de50a54e-a1f8-4587-a01c-99062f744906","description":""},{"name":"User","item":[{"name":"List users","id":"cd877b3b-18f6-4ce1-a518-750877285f60","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"url":"http://localhost:9095/api/v1/users","urlObject":{"path":["users"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"cd877b3b-18f6-4ce1-a518-750877285f60"},{"name":"Add user","id":"2603b0e4-0a4a-4153-87b8-dfe00a764360","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"firstname\": \"Jeff\",\r\n  \"lastname\": \"Roberto\",\r\n  \"email\": \"jeff.roberto@gmail.com\",\r\n  \"password\": \"CoolText\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/users","urlObject":{"path":["users"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"2603b0e4-0a4a-4153-87b8-dfe00a764360"},{"name":"Update user","id":"84821e91-9414-482e-a02d-05bdd686d6e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"<token>"}]},"isInherited":false},"method":"POST","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"body":{"mode":"raw","raw":"{\r\n  \"firstname\": \"Jeff\",\r\n  \"lastname\": \"Roberto\",\r\n  \"email\": \"jeff.roberto@gmail.com\",\r\n  \"password\": \"CoolText\"\r\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:9095/api/v1/users","urlObject":{"path":["users"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"84821e91-9414-482e-a02d-05bdd686d6e7"},{"name":"Get user","id":"e35d5dd9-ba05-4eae-95f0-122c056cc4c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"url":"http://localhost:9095/api/v1/users/66828dc61e12d58c2db198da","urlObject":{"path":["users","66828dc61e12d58c2db198da"],"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"e35d5dd9-ba05-4eae-95f0-122c056cc4c0"}],"id":"63318ee2-59a2-4ff1-8497-f949af239ebb","_postman_id":"63318ee2-59a2-4ff1-8497-f949af239ebb","description":""},{"name":"App starter","id":"3c6400bf-6dd0-4e35-98d7-336105b2f0d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"x-client-token","value":"YWRtaW46c2VjcmV0","type":"text"}],"url":"http://localhost:9095/api/v1","urlObject":{"host":["http://localhost:9095/api/v1"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c6400bf-6dd0-4e35-98d7-336105b2f0d4"}],"variable":[{"key":"baseUrl","value":"http://localhost:9095/api/v1"}]}