{"info":{"_postman_id":"e6e97a6e-bb33-488a-acf4-22ddc6117a8f","name":"store","description":"<html><head></head><body><h2 id=\"about\">About</h2>\n<p>Web backend for sales system that allows you to use many features.</p>\n<h2 id=\"environment-variables\"><strong>environment variables</strong></h2>\n<p>to request this project in postman, you need to set the following environment variables:</p>\n<ul>\n<li><p><strong>token:</strong> the token you get from the login request</p>\n</li>\n<li><p><strong>host:</strong> the host of the server, by default in the backend is <a href=\"http://localhost:3001\">http://localhost:3001</a>, but you can change it</p>\n</li>\n</ul>\n<p>For more information about this environment variables see <a href=\"https://learning.postman.com/docs/sending-requests/variables/managing-environments/\">postman documentation</a> about it.</p>\n<p><a href=\"https://github.com/an-tet/store/tree/main/web\">Github project</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"18469786","collectionId":"e6e97a6e-bb33-488a-acf4-22ddc6117a8f","publishedId":"2sA3JM6Lbi","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-05-10T03:42:43.000Z"},"item":[{"name":"auth","item":[{"name":"login","event":[{"listen":"test","script":{"id":"9ce6c735-02b9-478d-9f5a-137e88e4b0f4","exec":["let res = pm.response.json();\r","pm.environment.set('token', res.token);\r",""],"type":"text/javascript","packages":{}}}],"id":"2544f0a8-74d7-4f32-9478-99a56bd616db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"admin@gmail.com\",\r\n\t\"password\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/auth/login","urlObject":{"path":["auth","login"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"bdbbd6f0-65cd-4491-8741-5513dc4ac2f4","name":"success-login","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"admin@gmail.com\",\r\n\t\"password\": \"123456789\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/auth/login"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"101"},{"key":"ETag","value":"W/\"65-ehR9vnAovoAtBA2iaaYgRhUqdOQ\""},{"key":"Date","value":"Sun, 12 May 2024 15:30:21 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"admin@gmail.com\",\n    \"password\": \"$2b$10$X3hf0wSLKMRSmlmdut4thOr/8ZHEY8Hu0uXNwr6flW2lyyKIxQroO\"\n}"},{"id":"7690c0e0-9c85-4d6e-819c-342c4f5e335e","name":"requited-all-fields","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{host}}/auth/login"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"230"},{"key":"ETag","value":"W/\"e6-yASvZmK9iCidkUm1JW4e2col41E\""},{"key":"Date","value":"Sun, 12 May 2024 01:01:38 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        \"La contraseña debe ser un string\",\n        \"La contraseña debe tener como máximo 20 caracteres\",\n        \"La contraseña debe tener al menos 8 caracteres\",\n        \"El email debe ser un email válido\"\n    ],\n    \"error\": \"Bad Request\",\n    \"statusCode\": 400\n}"},{"id":"5304adc0-0037-4c1f-bf96-f8e7c778b999","name":"wrong-values","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"email\": \"admin@gmail.com\",\r\n\t\"password\": \"12345678\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/auth/login"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"95"},{"key":"ETag","value":"W/\"5f-QDJVltSeOgFLg0b7qmKcwSnBoqg\""},{"key":"Date","value":"Sun, 12 May 2024 15:29:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"El email o la contraseña son incorrectos\",\n    \"error\": \"Unauthorized\",\n    \"statusCode\": 401\n}"}],"_postman_id":"2544f0a8-74d7-4f32-9478-99a56bd616db"},{"name":"validate-session","id":"1cbdfc4c-9ff7-49ab-b433-26fd890a91f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{host}}/auth/validate-session","urlObject":{"path":["auth","validate-session"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d361f622-fc71-4f07-a410-c4035b5bc34f","name":"with-session","originalRequest":{"method":"GET","header":[],"url":"{{host}}/auth/validate-session"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"438"},{"key":"ETag","value":"W/\"1b6-pvsgw+FdJ95iJLTddIvTbhqsw2o\""},{"key":"Date","value":"Mon, 13 May 2024 21:24:36 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6f456666-e2be-48f1-99f0-827f3ab164b5\",\n    \"email\": \"clarogu@gmail.com\",\n    \"documentType\": \"CC\",\n    \"dni\": \"98374627109\",\n    \"fullName\": \"claudia romero guevara\",\n    \"birthday\": \"1980-06-20\",\n    \"phone\": \"3156980909\",\n    \"shirtSize\": \"XS\",\n    \"status\": true,\n    \"role\": \"admin\",\n    \"token\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6IjZmNDU2NjY2LWUyYmUtNDhmMS05OWYwLTgyN2YzYWIxNjRiNSIsImlhdCI6MTcxNTYzNTQ3NiwiZXhwIjoxNzE1NjQyNjc2fQ.lkEE7azg6aVS1NT4bC7zbJD5jqNNtmYHaCwx_a5mxV4\"\n}"},{"id":"b2918246-36aa-4ffd-963b-959f08eaaf49","name":"without-session","originalRequest":{"method":"GET","header":[],"url":"{{host}}/auth/validate-session"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-dGnJzt6gv1nJjX6DJ9RztDWptng\""},{"key":"Date","value":"Mon, 13 May 2024 21:24:19 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\",\n    \"statusCode\": 401\n}"}],"_postman_id":"1cbdfc4c-9ff7-49ab-b433-26fd890a91f5"}],"id":"3e0305a2-d15d-40ab-8e0b-113d335914a9","description":"<h2 id=\"authentication\">Authentication</h2>\n<p>Some of the endpoints in other modules have an authentication validation, you need to add a <em><strong>\"bearer token''</strong></em> to the authentication column with <strong>\"token\"</strong> environment variable.</p>\n<h2 id=\"scripts\">Scripts</h2>\n<p>You can add scripts to your login request when the response is successful take the token and save it in the environment variable and use it in all request in this <strong>workspace</strong>.</p>\n<p>I provide you the following <strong>post-script</strong> to add to your login request:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-javascript\">let res = pm.response.json();\npm.environment.set('token', res.token);\n\n</code></pre>\n<p><a href=\"https://learning.postman.com/docs/writing-scripts/intro-to-scripts/\">Postman documentation about scripting</a></p>\n","event":[{"listen":"prerequest","script":{"id":"052ba2f5-e8cc-4fbd-a8fe-7c0e32a4898f","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"0ff6e625-7289-4cdd-ac60-3b704961186f","type":"text/javascript","packages":{},"exec":[""]}}],"_postman_id":"3e0305a2-d15d-40ab-8e0b-113d335914a9"},{"name":"user","item":[{"name":"getAll","id":"bf2e3d2b-ea0b-40f5-9de6-1a657f6190db","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{host}}/users","description":"<p>Get all users</p>\n","urlObject":{"path":["users"],"host":["{{host}}"],"query":[{"disabled":true,"description":{"content":"<p>Skipped fields from the beginning of the list</p>\n","type":"text/plain"},"key":"offSet","value":"1"},{"disabled":true,"description":{"content":"<p>Limit of fields to return in the response</p>\n","type":"text/plain"},"key":"limit","value":"1"}],"variable":[]}},"response":[{"id":"62de9411-b96b-423b-84d3-cb357f5c487e","name":"success","originalRequest":{"method":"GET","header":[],"url":"{{host}}/users"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"638"},{"key":"ETag","value":"W/\"27e-gKy22/Y4VrhvyEVcSAOC05mnCg8\""},{"key":"Date","value":"Fri, 10 May 2024 05:44:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"06d7d29d-438e-496e-8318-c1b1e1e4faca\",\n        \"email\": \"diamg@gmail.com\",\n        \"password\": \"$2b$10$5W6Xrv5dBxynO1IhSX0/5OHXzkcobfmzywGqPUMxXkvBg8T4wuiJa\",\n        \"documentType\": \"CC\",\n        \"dni\": \"1028938464\",\n        \"fullName\": \"Diana megia gayo\",\n        \"birthday\": \"1997-02-10\",\n        \"phone\": \"3046678234\",\n        \"shirtSize\": \"XL\",\n        \"status\": true,\n        \"roles\": [\n            \"seller\"\n        ]\n    },\n    {\n        \"id\": \"3b484b28-b72a-4eb0-a872-7b6c6f6fa810\",\n        \"email\": \"clarogu@gmail.com\",\n        \"password\": \"$2b$10$QwBpdP1C2XIHLFeRvh/ImuiXuzGF.yhOB3rHu5UeFGphuI7Nbj23e\",\n        \"documentType\": \"CC\",\n        \"dni\": \"98374627109\",\n        \"fullName\": \"claudia romero guevara\",\n        \"birthday\": \"1980-06-20\",\n        \"phone\": \"3156980909\",\n        \"shirtSize\": \"XS\",\n        \"status\": true,\n        \"roles\": [\n            \"seller\",\n            \"admin\"\n        ]\n    }\n]"},{"id":"38471056-0ded-48d2-93ad-be9e9424eb01","name":"success-with-limit","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/users?limit=2","host":["{{host}}"],"path":["users"],"query":[{"key":"offSet","value":"0","disabled":true},{"key":"limit","value":"2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"638"},{"key":"ETag","value":"W/\"27e-gKy22/Y4VrhvyEVcSAOC05mnCg8\""},{"key":"Date","value":"Fri, 10 May 2024 05:43:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"06d7d29d-438e-496e-8318-c1b1e1e4faca\",\n        \"email\": \"diamg@gmail.com\",\n        \"password\": \"$2b$10$5W6Xrv5dBxynO1IhSX0/5OHXzkcobfmzywGqPUMxXkvBg8T4wuiJa\",\n        \"documentType\": \"CC\",\n        \"dni\": \"1028938464\",\n        \"fullName\": \"Diana megia gayo\",\n        \"birthday\": \"1997-02-10\",\n        \"phone\": \"3046678234\",\n        \"shirtSize\": \"XL\",\n        \"status\": true,\n        \"roles\": [\n            \"seller\"\n        ]\n    },\n    {\n        \"id\": \"3b484b28-b72a-4eb0-a872-7b6c6f6fa810\",\n        \"email\": \"clarogu@gmail.com\",\n        \"password\": \"$2b$10$QwBpdP1C2XIHLFeRvh/ImuiXuzGF.yhOB3rHu5UeFGphuI7Nbj23e\",\n        \"documentType\": \"CC\",\n        \"dni\": \"98374627109\",\n        \"fullName\": \"claudia romero guevara\",\n        \"birthday\": \"1980-06-20\",\n        \"phone\": \"3156980909\",\n        \"shirtSize\": \"XS\",\n        \"status\": true,\n        \"roles\": [\n            \"seller\",\n            \"admin\"\n        ]\n    }\n]"},{"id":"8c7c938d-f742-47ed-8967-59e342e26ad8","name":"success-with-off-set","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/users?offSet=1&limit=1","host":["{{host}}"],"path":["users"],"query":[{"key":"offSet","value":"1"},{"key":"limit","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"328"},{"key":"ETag","value":"W/\"148-U7gMZyHKuFDBk3qBi81VCQ12bfA\""},{"key":"Date","value":"Fri, 10 May 2024 05:44:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"3b484b28-b72a-4eb0-a872-7b6c6f6fa810\",\n        \"email\": \"clarogu@gmail.com\",\n        \"password\": \"$2b$10$QwBpdP1C2XIHLFeRvh/ImuiXuzGF.yhOB3rHu5UeFGphuI7Nbj23e\",\n        \"documentType\": \"CC\",\n        \"dni\": \"98374627109\",\n        \"fullName\": \"claudia romero guevara\",\n        \"birthday\": \"1980-06-20\",\n        \"phone\": \"3156980909\",\n        \"shirtSize\": \"XS\",\n        \"status\": true,\n        \"roles\": [\n            \"seller\",\n            \"admin\"\n        ]\n    }\n]"},{"id":"56c57cb6-279a-43aa-9283-e6a6ccee912d","name":"error-positive-filters","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/users?offSet=&limit=","host":["{{host}}"],"path":["users"],"query":[{"key":"offSet","value":""},{"key":"limit","value":""}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"135"},{"key":"ETag","value":"W/\"87-36XHES3mP7xXetr3gANxOJMsIe0\""},{"key":"Date","value":"Fri, 10 May 2024 16:56:18 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        \"La página debe ser un número positivo\",\n        \"El offset debe ser un número positivo\"\n    ],\n    \"error\": \"Bad Request\",\n    \"statusCode\": 400\n}"}],"_postman_id":"bf2e3d2b-ea0b-40f5-9de6-1a657f6190db"},{"name":"create","id":"5f46a736-9304-48c4-83a1-7620db35a312","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"password\": \"123456789\",\r\n\t\"documentType\": \"CC\",\r\n\t\"dni\": \"98374627109\",\r\n\t\"fullName\": \"claudia romero guevara\",\r\n\t\"email\": \"clarogu@gmail.com\",\r\n\t\"birthday\": \"1980-06-20\",\r\n\t\"phone\": \"3156980909\",\r\n\t\"shirtSize\": \"XS\",\r\n\t\"status\": \"true\",\r\n\t\"role\":\"admin\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users","urlObject":{"path":["users"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"d91e41e7-53fc-411b-8e9e-72b08d38476e","name":"success-all-fields-one-role","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"password\": \"123456789\",\r\n\t\"documentType\": \"CC\",\r\n\t\"dni\": \"1028938464\",\r\n\t\"fullName\": \"Diana megia gayo\",\r\n\t\"email\": \"diamg@gmail.com\",\r\n\t\"birthday\": \"1997-02-10\",\r\n\t\"phone\": \"3046678234\",\r\n\t\"shirtSize\": \"XL\",\r\n\t\"status\": \"true\",\r\n\t\"roles\":[\"seller\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"309"},{"key":"ETag","value":"W/\"135-kQsgob1g8cPoszGGV1FihEYEUHA\""},{"key":"Date","value":"Fri, 10 May 2024 05:34:50 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"diamg@gmail.com\",\n    \"password\": \"$2b$10$5W6Xrv5dBxynO1IhSX0/5OHXzkcobfmzywGqPUMxXkvBg8T4wuiJa\",\n    \"documentType\": \"CC\",\n    \"dni\": \"1028938464\",\n    \"fullName\": \"Diana megia gayo\",\n    \"birthday\": \"1997-02-10\",\n    \"phone\": \"3046678234\",\n    \"shirtSize\": \"XL\",\n    \"status\": true,\n    \"roles\": [\n        \"seller\"\n    ],\n    \"id\": \"06d7d29d-438e-496e-8318-c1b1e1e4faca\"\n}"},{"id":"23494db5-84c5-40e5-964e-46a00bb9a8c0","name":"success-all-fields-all-roles","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"password\": \"123456789\",\r\n\t\"documentType\": \"CC\",\r\n\t\"dni\": \"98374627109\",\r\n\t\"fullName\": \"claudia romero guevara\",\r\n\t\"email\": \"clarogu@gmail.com\",\r\n\t\"birthday\": \"1980-06-20\",\r\n\t\"phone\": \"3156980909\",\r\n\t\"shirtSize\": \"XS\",\r\n\t\"status\": \"true\",\r\n\t\"roles\":[\"seller\", \"admin\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"326"},{"key":"ETag","value":"W/\"146-VoIiWj7NxEkvasCZBpQxcMEysEs\""},{"key":"Date","value":"Fri, 10 May 2024 05:40:23 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"email\": \"clarogu@gmail.com\",\n    \"password\": \"$2b$10$QwBpdP1C2XIHLFeRvh/ImuiXuzGF.yhOB3rHu5UeFGphuI7Nbj23e\",\n    \"documentType\": \"CC\",\n    \"dni\": \"98374627109\",\n    \"fullName\": \"claudia romero guevara\",\n    \"birthday\": \"1980-06-20\",\n    \"phone\": \"3156980909\",\n    \"shirtSize\": \"XS\",\n    \"status\": true,\n    \"roles\": [\n        \"seller\",\n        \"admin\"\n    ],\n    \"id\": \"3b484b28-b72a-4eb0-a872-7b6c6f6fa810\"\n}"},{"id":"ad3b6423-7915-437e-b738-a504b0f2f64d","name":"error-already-exists","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\"password\": \"123456789\",\r\n\t\"documentType\": \"CC\",\r\n\t\"dni\": \"98374627109\",\r\n\t\"fullName\": \"claudia romero guevara\",\r\n\t\"email\": \"clarogu@gmail.com\",\r\n\t\"birthday\": \"1980-06-20\",\r\n\t\"phone\": \"3156980909\",\r\n\t\"shirtSize\": \"XS\",\r\n\t\"status\": \"true\",\r\n\t\"roles\":[\"seller\", \"admin\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"51"},{"key":"ETag","value":"W/\"33-4VeHdkpl2npZZI0xiYrOb7v4WF8\""},{"key":"Date","value":"Fri, 10 May 2024 05:41:53 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 409,\n    \"message\": \"El usuario ya existe\"\n}"},{"id":"bcb9295a-594b-47c5-aec0-5da15d082bb0","name":"error-all-fields-missed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n\t\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"727"},{"key":"ETag","value":"W/\"2d7-owgGdcKFPZmDATW8AA0bJfGfMk8\""},{"key":"Date","value":"Fri, 10 May 2024 16:54:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        \"La contraseña debe ser un string\",\n        \"La contraseña debe tener como máximo 20 caracteres\",\n        \"La contraseña debe tener al menos 8 caracteres\",\n        \"documentType must be one of the following values: DNI, NIE, TIE, PEP, CE, RC, CC, TI, SC, PAS\",\n        \"El tipo de documento debe ser un string\",\n        \"El número de documento debe ser un string\",\n        \"El nombre completo debe ser un string\",\n        \"El email debe ser un email válido\",\n        \"La fecha de nacimiento debe ser una fecha válida\",\n        \"El teléfono debe ser un string\",\n        \"La talla de camiseta debe ser una talla válida\",\n        \"La dirección debe ser un string\",\n        \"El rol debe ser uno de los siguientes: \\\"admin\\\", \\\"user\\\"\",\n        \"Los roles deben ser un array de strings\"\n    ],\n    \"error\": \"Bad Request\",\n    \"statusCode\": 400\n}"}],"_postman_id":"5f46a736-9304-48c4-83a1-7620db35a312"},{"name":"seed","id":"156c8877-b47d-4ae5-ab6e-6463a6437131","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"{{host}}/users/seed","description":"<p>Seed method is for feeding the database with an admin user</p>\n","urlObject":{"path":["users","seed"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"0b891148-e28a-40bc-b1e7-9441fb94e183","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{host}}/users/seed"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"243"},{"key":"ETag","value":"W/\"f3-3P01AvbbGq9mMLelX9Gu0N5BSaI\""},{"key":"Date","value":"Sun, 19 May 2024 02:35:20 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"password\": \"123456789\",\n    \"documentType\": \"CC\",\n    \"dni\": \"0000000000\",\n    \"fullName\": \"admin\",\n    \"email\": \"admin@gmail.com\",\n    \"birthday\": \"1900-01-01\",\n    \"phone\": \"0000000000\",\n    \"shirtSize\": \"XS\",\n    \"status\": true,\n    \"role\": \"admin\",\n    \"id\": \"af9269c2-f23b-40c9-b814-7361edd95173\"\n}"},{"id":"c882a947-4ae2-41d9-8d3d-b1494d0108fe","name":"error-conflict","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{host}}/users/seed"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"86"},{"key":"ETag","value":"W/\"56-tmtdLLSde+RRaqk80H2X78uAXWo\""},{"key":"Date","value":"Sun, 19 May 2024 02:38:15 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 409,\n    \"message\": \"No puede usar esta funcionalidad si ya existen usuarios\"\n}"}],"_postman_id":"156c8877-b47d-4ae5-ab6e-6463a6437131"},{"name":"update","id":"0ccb8e71-bb74-4d4c-82cb-ab6e9b0ebe34","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"clarogu@gmail.com\",\r\n    \"phone\": \"31569809\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users/6f456666-e2be-48f1-99f0-827f3ab164b5","urlObject":{"path":["users","6f456666-e2be-48f1-99f0-827f3ab164b5"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"cf43047f-84d6-449d-8547-8585ea961fce","name":"update-user-success","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"clarogun@gmail.com\",\r\n    \"phone\": \"31569809\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users/6f456666-e2be-48f1-99f0-827f3ab164b5"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"239"},{"key":"ETag","value":"W/\"ef-h8rhsTQjvU1A6iH8zEHH5laMVlM\""},{"key":"Date","value":"Thu, 16 May 2024 00:26:28 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6f456666-e2be-48f1-99f0-827f3ab164b5\",\n    \"email\": \"clarogun@gmail.com\",\n    \"documentType\": \"CC\",\n    \"dni\": \"98374627109\",\n    \"fullName\": \"claudia romero guevara\",\n    \"birthday\": \"1980-06-20\",\n    \"phone\": \"31569809\",\n    \"shirtSize\": \"XS\",\n    \"status\": true,\n    \"role\": \"admin\"\n}"},{"id":"0190b11e-7f91-4b66-ad6f-e3637573ebca","name":"unauthorized","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"clarogun@gmail.com\",\r\n    \"phone\": \"31569809\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users/0237d730-3cab-4471-84fc-8e4e0a036f4e"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-dGnJzt6gv1nJjX6DJ9RztDWptng\""},{"key":"Date","value":"Thu, 16 May 2024 00:25:25 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\",\n    \"statusCode\": 401\n}"},{"id":"800e4a00-bd6e-4f3e-a4f6-b617cc9e390e","name":"not-found-user","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"clarogun@gmail.com\",\r\n    \"phone\": \"31569809\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/users/0237d730-3cab-4471-84fc-8e4e0a036f4e"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"131"},{"key":"ETag","value":"W/\"83-lj/V7IHLEofLR34iSQDKlN0iYrg\""},{"key":"Date","value":"Thu, 16 May 2024 00:25:51 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"El usuario no fue encontrado con el id: \\\"0237d730-3cab-4471-84fc-8e4e0a036f4e\\\"\",\n    \"error\": \"Not Found\",\n    \"statusCode\": 404\n}"}],"_postman_id":"0ccb8e71-bb74-4d4c-82cb-ab6e9b0ebe34"},{"name":"getById","id":"97ee0450-b43a-4cd0-ab86-8ead2caefd72","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{host}}/users/6f456666-e2be-48f1-99f0-827f3ab164b5","urlObject":{"path":["users","6f456666-e2be-48f1-99f0-827f3ab164b5"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"df24f7a4-a1d1-4855-b72f-7b5dd1d2bdf6","name":"success","originalRequest":{"method":"GET","header":[],"url":"{{host}}/users/6f456666-e2be-48f1-99f0-827f3ab164b5"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"239"},{"key":"ETag","value":"W/\"ef-h8rhsTQjvU1A6iH8zEHH5laMVlM\""},{"key":"Date","value":"Thu, 16 May 2024 02:09:54 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"6f456666-e2be-48f1-99f0-827f3ab164b5\",\n    \"email\": \"clarogun@gmail.com\",\n    \"documentType\": \"CC\",\n    \"dni\": \"98374627109\",\n    \"fullName\": \"claudia romero guevara\",\n    \"birthday\": \"1980-06-20\",\n    \"phone\": \"31569809\",\n    \"shirtSize\": \"XS\",\n    \"status\": true,\n    \"role\": \"admin\"\n}"},{"id":"eefe4a24-2cba-4660-ba92-86a17a9f8ea9","name":"error-no-token","originalRequest":{"method":"GET","header":[],"url":"{{host}}/users/6f456666-e2be-48f1-99f0-827f3ab164b5"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-dGnJzt6gv1nJjX6DJ9RztDWptng\""},{"key":"Date","value":"Thu, 16 May 2024 02:10:12 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\",\n    \"statusCode\": 401\n}"},{"id":"90fb8efc-939e-44bc-9325-0774ce592267","name":"error-bad-token","originalRequest":{"method":"GET","header":[],"url":"{{host}}/users/6f456666-e2be-48f1-99f0-827f3ab164b"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"89"},{"key":"ETag","value":"W/\"59-kArN5xCcYXjUJs5yv8pQBq+GJsU\""},{"key":"Date","value":"Thu, 16 May 2024 02:10:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validation failed (uuid is expected)\",\n    \"error\": \"Bad Request\",\n    \"statusCode\": 400\n}"}],"_postman_id":"97ee0450-b43a-4cd0-ab86-8ead2caefd72"},{"name":"toggleState","id":"d356ef5f-1d07-4ed9-ae06-138c255f9754","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"PATCH","header":[],"url":"{{host}}/users/toggle-state/96718d59-0262-4a67-b1b4-9f184fbb292d","urlObject":{"path":["users","toggle-state","96718d59-0262-4a67-b1b4-9f184fbb292d"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"6ec9a1db-41d4-4a5a-86cc-cef02c2e165b","name":"success","originalRequest":{"method":"PATCH","header":[],"url":"{{host}}/users/toggle-state/96718d59-0262-4a67-b1b4-9f184fbb292d"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"42"},{"key":"ETag","value":"W/\"2a-mp76xueJwuBg6SC3F/3HJjTMrec\""},{"key":"Date","value":"Sat, 18 May 2024 19:50:48 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"generatedMaps\": [],\n    \"raw\": [],\n    \"affected\": 1\n}"},{"id":"2120fc7a-06d7-40be-9616-d532ef522a92","name":"error-no-token","originalRequest":{"method":"PATCH","header":[],"url":"{{host}}/users/toggle-state/96718d59-0262-4a67-b1b4-9f184fbb292d"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-dGnJzt6gv1nJjX6DJ9RztDWptng\""},{"key":"Date","value":"Sat, 18 May 2024 19:51:01 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\",\n    \"statusCode\": 401\n}"},{"id":"08d8423d-4316-46eb-8c68-bfebd2853b99","name":"error-without-uuid","originalRequest":{"method":"PATCH","header":[],"url":"{{host}}/users/toggle-state"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"89"},{"key":"ETag","value":"W/\"59-kArN5xCcYXjUJs5yv8pQBq+GJsU\""},{"key":"Date","value":"Sat, 18 May 2024 19:51:41 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Validation failed (uuid is expected)\",\n    \"error\": \"Bad Request\",\n    \"statusCode\": 400\n}"},{"id":"80ef537f-d628-49b8-803b-5f25a83e31ff","name":"error-bad-token","originalRequest":{"method":"PATCH","header":[],"url":"{{host}}/users/toggle-state/96718d59-0262-4a67-b1b4-9f184fbb292d"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-dGnJzt6gv1nJjX6DJ9RztDWptng\""},{"key":"Date","value":"Sat, 18 May 2024 19:53:03 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\",\n    \"statusCode\": 401\n}"}],"_postman_id":"d356ef5f-1d07-4ed9-ae06-138c255f9754"}],"id":"b4902ab5-b284-4abf-94be-f11f48c0c0d3","_postman_id":"b4902ab5-b284-4abf-94be-f11f48c0c0d3","description":""},{"name":"costumer","item":[{"name":"getAll","id":"0dfebc57-be00-45dc-82d7-492dd4fc3e50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{host}}/customers?limit=1","description":"<p>Get All customers</p>\n","urlObject":{"path":["customers"],"host":["{{host}}"],"query":[{"disabled":true,"description":{"content":"<p>skipped fields from the beginning of the list</p>\n","type":"text/plain"},"key":"offSet","value":"0"},{"description":{"content":"<p>limit of fields to return in the response</p>\n","type":"text/plain"},"key":"limit","value":"1"}],"variable":[]}},"response":[{"id":"90ece10d-f1f0-4d5b-acc4-3b12f7b31331","name":"unautorized","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/customers?limit=1","host":["{{host}}"],"path":["customers"],"query":[{"key":"offSet","value":"0","disabled":true},{"key":"limit","value":"1"}]}},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"43"},{"key":"ETag","value":"W/\"2b-dGnJzt6gv1nJjX6DJ9RztDWptng\""},{"key":"Date","value":"Thu, 16 May 2024 00:33:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": \"Unauthorized\",\n    \"statusCode\": 401\n}"},{"id":"90e55793-a66e-470d-b4f0-8a8f7ee6e386","name":"success","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{host}}/customers?limit=1","host":["{{host}}"],"path":["customers"],"query":[{"key":"offSet","value":"0","disabled":true},{"key":"limit","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Access-Control-Allow-Origin","value":"http://localhost:3000"},{"key":"Vary","value":"Origin"},{"key":"Access-Control-Allow-Credentials","value":"true"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"188"},{"key":"ETag","value":"W/\"bc-Al8FuOMPer8u7zinVYD3eKl6IbI\""},{"key":"Date","value":"Thu, 16 May 2024 00:33:32 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"id\": \"b771a714-d33a-4edf-9830-2311c3f5d719\",\n        \"documentType\": \"PAS\",\n        \"dni\": \"654321\",\n        \"fullName\": \"carlos perez perez\",\n        \"email\": \"caperez@gmail.com\",\n        \"birthday\": \"1980-04-02\",\n        \"phone\": \"3057839876\"\n    }\n]"}],"_postman_id":"0dfebc57-be00-45dc-82d7-492dd4fc3e50"},{"name":"getById","id":"987699b4-4444-48db-8f8b-26e28070bee2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{host}}/products/","urlObject":{"path":["products",""],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"987699b4-4444-48db-8f8b-26e28070bee2"},{"name":"create","id":"70941f79-f842-44e1-9425-5526edd8af0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"documentType\": \"PAS\",\r\n    \"dni\": \"654321\",\r\n    \"fullName\": \"Carlos perez perez\",\r\n    \"email\": \"caperez@gmail.com\",\r\n    \"birthday\": \"04/02/1980\",\r\n    \"phone\": \"3057839876\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/customers","urlObject":{"path":["customers"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"3801a9b5-c77b-4d36-a4d3-baa1ab8d8357","name":"success-all-fields","originalRequest":{"method":"POST","header":[],"url":"{{host}}/customers"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"190"},{"key":"ETag","value":"W/\"be-lb0EjFEqZqN9gt47qbF2Jbbc3YI\""},{"key":"Date","value":"Thu, 09 May 2024 04:25:16 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"documentType\": \"CC\",\n    \"dni\": \"123456\",\n    \"fullName\": \"Pedro salinas camargo\",\n    \"email\": \"pesalinas@gmail.com\",\n    \"birthday\": \"10/20/1996\",\n    \"phone\": \"3047279898\",\n    \"id\": \"7ea596f6-3670-4610-aa83-eda1a352d527\"\n}"},{"id":"23b718d8-0ce0-4b35-88a4-c969d50db8b3","name":"error-required-fields","originalRequest":{"method":"POST","header":[],"url":"{{host}}/customers"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"203"},{"key":"ETag","value":"W/\"cb-CbV3exk+3idqI4Uk+J3uk0Ifjls\""},{"key":"Date","value":"Thu, 09 May 2024 04:58:05 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"message\": [\n        \"documentType must be one of the following values: DNI, NIE, TIE, PEP, CE, RC, CC, TI, SC, PAS\",\n        \"documentType must be a string\",\n        \"dni must be a string\"\n    ],\n    \"error\": \"Bad Request\",\n    \"statusCode\": 400\n}"},{"id":"0018461f-bf73-491e-b0b6-7d02884d095d","name":"error customer exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"documentType\": \"CC\",\r\n    \"dni\": \"123456\",\r\n    \"fullName\": \"Pedro salinas camargo\",\r\n    \"email\": \"pesalinas@gmail.com\",\r\n    \"birthday\": \"10/20/1996\",\r\n    \"phone\": \"3047279898\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/customers"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"54"},{"key":"ETag","value":"W/\"36-AaBTz8IDdk7rJiDEBmFM9M4ku3I\""},{"key":"Date","value":"Fri, 10 May 2024 03:30:42 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 409,\n    \"message\": \"customer already exists\"\n}"}],"_postman_id":"70941f79-f842-44e1-9425-5526edd8af0e"},{"name":"updateBy","id":"2642cf80-ce71-43bc-a6f6-f78f80209212","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{host}}/customers/1","urlObject":{"path":["customers","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"2642cf80-ce71-43bc-a6f6-f78f80209212"},{"name":"deleteBy","id":"06a305a3-7120-4194-8a8c-b1bd542c811f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/customers/1","urlObject":{"path":["customers","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"06a305a3-7120-4194-8a8c-b1bd542c811f"}],"id":"ed370618-f2d6-4c61-afe3-52d6265ac244","_postman_id":"ed370618-f2d6-4c61-afe3-52d6265ac244","description":""},{"name":"product","item":[{"name":"getAll","id":"eb9c345d-c6dd-4197-9dc7-d3ee1552b361","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"GET","header":[],"url":"{{host}}/products","urlObject":{"path":["products"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"eb9c345d-c6dd-4197-9dc7-d3ee1552b361"},{"name":"getBy","id":"8259aa3d-f566-4d8f-b7c1-71ce67c2f4ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{host}}/products/1","urlObject":{"path":["products","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"8259aa3d-f566-4d8f-b7c1-71ce67c2f4ee"},{"name":"create","id":"6bf09840-72fc-479e-b391-dbd213c06569","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"{{token}}"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"computador\",\r\n    \"detail\": \"Computador i5 de 9a generación con 8 de ram y 1TB de almacenamiento\",\r\n    \"price\": 1800000,\r\n    \"stock\": 2,\r\n    \"status\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/products","urlObject":{"path":["products"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[{"id":"dc1ac061-ee42-464a-ab6e-5764b6d65254","name":"success","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"computador\",\r\n    \"detail\": \"Computador i5 de 9a generación con 8 de ram y 1TB de almacenamiento\",\r\n    \"price\": 1800000,\r\n    \"stock\": 2,\r\n    \"status\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/products"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"449"},{"key":"ETag","value":"W/\"1c1-0wW1DVBcpx1BUkhj6wg1TvvpzMk\""},{"key":"Date","value":"Mon, 13 May 2024 01:48:47 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"computador\",\n    \"detail\": \"Computador i5 de 9a generación con 8 de ram y 1TB de almacenamiento\",\n    \"price\": 1800000,\n    \"stock\": 2,\n    \"status\": true,\n    \"user\": {\n        \"id\": \"6f456666-e2be-48f1-99f0-827f3ab164b5\",\n        \"email\": \"clarogu@gmail.com\",\n        \"documentType\": \"CC\",\n        \"dni\": \"98374627109\",\n        \"fullName\": \"claudia romero guevara\",\n        \"birthday\": \"1980-06-20\",\n        \"phone\": \"3156980909\",\n        \"shirtSize\": \"XS\",\n        \"status\": true,\n        \"role\": \"admin\"\n    },\n    \"imageUrl\": null,\n    \"id\": \"8df785f0-c790-4b7d-abb0-e893f1c2051e\"\n}"},{"id":"ad550c1c-1686-4d21-86f6-f0f9658c81e4","name":"product-already-exist","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"computador\",\r\n    \"detail\": \"Computador i5 de 9a generación con 8 de ram y 1TB de almacenamiento\",\r\n    \"price\": 1800000,\r\n    \"stock\": 2,\r\n    \"status\": true\r\n}","options":{"raw":{"language":"json"}}},"url":"{{host}}/products"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"X-Powered-By","value":"Express"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"52"},{"key":"ETag","value":"W/\"34-AdyEOnJ6KX8X+r6f0Mi6pGb1l3s\""},{"key":"Date","value":"Mon, 13 May 2024 02:02:52 GMT"},{"key":"Connection","value":"keep-alive"},{"key":"Keep-Alive","value":"timeout=5"}],"cookie":[],"responseTime":null,"body":"{\n    \"statusCode\": 409,\n    \"message\": \"El producto ya existe\"\n}"}],"_postman_id":"6bf09840-72fc-479e-b391-dbd213c06569"},{"name":"updateBy","id":"e452edd8-e81b-4e0b-bfa3-827d54d9582b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"url":"{{host}}/products/1","urlObject":{"path":["products","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"e452edd8-e81b-4e0b-bfa3-827d54d9582b"},{"name":"deleteBy","id":"7076ca49-18e9-479f-bbac-b80fc68a8a57","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{host}}/products/1","urlObject":{"path":["products","1"],"host":["{{host}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7076ca49-18e9-479f-bbac-b80fc68a8a57"}],"id":"17323360-4b4b-4dc1-a4dd-1d0ae7ec03b8","_postman_id":"17323360-4b4b-4dc1-a4dd-1d0ae7ec03b8","description":""},{"name":"supplier","item":[],"id":"c1e3f639-ca98-40dc-a344-2ba4fdc312e3","_postman_id":"c1e3f639-ca98-40dc-a344-2ba4fdc312e3","description":""},{"name":"prueba","item":[{"name":"getPokemon","id":"042f90cf-894d-4c36-85dd-b4ead7ddb3b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://pokeapi.co/api/v2/pokemon/ditto","urlObject":{"protocol":"https","path":["api","v2","pokemon","ditto"],"host":["pokeapi","co"],"query":[],"variable":[]}},"response":[{"id":"ad51b5f2-2575-4a5b-9be4-7940fa57130a","name":"success","originalRequest":{"method":"GET","header":[],"url":"https://pokeapi.co/api/v2/pokemon/dittoo"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 22 May 2025 01:27:24 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Content-Length","value":"2053"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"public, max-age=86400, s-maxage=86400"},{"key":"Content-Encoding","value":"gzip"},{"key":"Etag","value":"W/\"5fbb-mMJWB0PhsRezCsVcgf4626fnlvY\""},{"key":"Function-Execution-Id","value":"us2d8oqbw7l4"},{"key":"Server","value":"cloudflare"},{"key":"Strict-Transport-Security","value":"max-age=31556926"},{"key":"X-Cloud-Trace-Context","value":"7fd39ba2f8c9e33f6d6bdccce6aa6638;o=1"},{"key":"X-Country-Code","value":"US"},{"key":"X-Powered-By","value":"Express"},{"key":"Accept-Ranges","value":"bytes"},{"key":"X-Served-By","value":"cache-mia-kmia1760068-MIA"},{"key":"X-Cache","value":"MISS"},{"key":"X-Cache-Hits","value":"0"},{"key":"X-Timer","value":"S1744191687.861095,VS0,VE145"},{"key":"Vary","value":"Accept-Encoding,cookie,need-authorization, x-fh-requested-host, accept-encoding"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=86400"},{"key":"Age","value":"53353"},{"key":"Cf-Cache-Status","value":"HIT"},{"key":"Nel","value":"{\"report_to\":\"cf-nel\",\"success_fraction\":0.0,\"max_age\":604800}"},{"key":"Report-To","value":"{\"group\":\"cf-nel\",\"max_age\":604800,\"endpoints\":[{\"url\":\"https://a.nel.cloudflare.com/report/v4?s=CJ2kYoB97V9JxmTfPWcOyifDxWnB8VVAQoSlkrSqD4%2Ff9j8tzSUh%2FsORWyXDGcS%2FZLRkXVaKGb4Qk0mx5haI%2BUXz3oqo2uDn\"}]}"},{"key":"CF-RAY","value":"943887ea8b91d99d-MIA"}],"cookie":[],"responseTime":null,"body":"{\n    \"abilities\": [\n        {\n            \"ability\": {\n                \"name\": \"limber\",\n                \"url\": \"https://pokeapi.co/api/v2/ability/7/\"\n            },\n            \"is_hidden\": false,\n            \"slot\": 1\n        },\n        {\n            \"ability\": {\n                \"name\": \"imposter\",\n                \"url\": \"https://pokeapi.co/api/v2/ability/150/\"\n            },\n            \"is_hidden\": true,\n            \"slot\": 3\n        }\n    ],\n    \"base_experience\": 101,\n    \"cries\": {\n        \"latest\": \"https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/latest/132.ogg\",\n        \"legacy\": \"https://raw.githubusercontent.com/PokeAPI/cries/main/cries/pokemon/legacy/132.ogg\"\n    },\n    \"forms\": [\n        {\n            \"name\": \"ditto\",\n            \"url\": \"https://pokeapi.co/api/v2/pokemon-form/132/\"\n        }\n    ],\n    \"game_indices\": [\n        {\n            \"game_index\": 76,\n            \"version\": {\n                \"name\": \"red\",\n                \"url\": \"https://pokeapi.co/api/v2/version/1/\"\n            }\n        },\n        {\n            \"game_index\": 76,\n            \"version\": {\n                \"name\": \"blue\",\n                \"url\": \"https://pokeapi.co/api/v2/version/2/\"\n            }\n        },\n        {\n            \"game_index\": 76,\n            \"version\": {\n                \"name\": \"yellow\",\n                \"url\": \"https://pokeapi.co/api/v2/version/3/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"gold\",\n                \"url\": \"https://pokeapi.co/api/v2/version/4/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"silver\",\n                \"url\": \"https://pokeapi.co/api/v2/version/5/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"crystal\",\n                \"url\": \"https://pokeapi.co/api/v2/version/6/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"ruby\",\n                \"url\": \"https://pokeapi.co/api/v2/version/7/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"sapphire\",\n                \"url\": \"https://pokeapi.co/api/v2/version/8/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"emerald\",\n                \"url\": \"https://pokeapi.co/api/v2/version/9/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"firered\",\n                \"url\": \"https://pokeapi.co/api/v2/version/10/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"leafgreen\",\n                \"url\": \"https://pokeapi.co/api/v2/version/11/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"diamond\",\n                \"url\": \"https://pokeapi.co/api/v2/version/12/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"pearl\",\n                \"url\": \"https://pokeapi.co/api/v2/version/13/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"platinum\",\n                \"url\": \"https://pokeapi.co/api/v2/version/14/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"heartgold\",\n                \"url\": \"https://pokeapi.co/api/v2/version/15/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"soulsilver\",\n                \"url\": \"https://pokeapi.co/api/v2/version/16/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"black\",\n                \"url\": \"https://pokeapi.co/api/v2/version/17/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"white\",\n                \"url\": \"https://pokeapi.co/api/v2/version/18/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"black-2\",\n                \"url\": \"https://pokeapi.co/api/v2/version/21/\"\n            }\n        },\n        {\n            \"game_index\": 132,\n            \"version\": {\n                \"name\": \"white-2\",\n                \"url\": \"https://pokeapi.co/api/v2/version/22/\"\n            }\n        }\n    ],\n    \"height\": 3,\n    \"held_items\": [\n        {\n            \"item\": {\n                \"name\": \"metal-powder\",\n                \"url\": \"https://pokeapi.co/api/v2/item/234/\"\n            },\n            \"version_details\": [\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"ruby\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/7/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"sapphire\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/8/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"emerald\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/9/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"firered\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/10/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"leafgreen\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/11/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"diamond\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/12/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"pearl\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/13/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"platinum\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/14/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"heartgold\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/15/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"soulsilver\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/16/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"black\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/17/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"white\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/18/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"black-2\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/21/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"white-2\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/22/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"x\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/23/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"y\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/24/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"omega-ruby\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/25/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"alpha-sapphire\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/26/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"sun\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/27/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"moon\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/28/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"ultra-sun\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/29/\"\n                    }\n                },\n                {\n                    \"rarity\": 5,\n                    \"version\": {\n                        \"name\": \"ultra-moon\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/30/\"\n                    }\n                }\n            ]\n        },\n        {\n            \"item\": {\n                \"name\": \"quick-powder\",\n                \"url\": \"https://pokeapi.co/api/v2/item/251/\"\n            },\n            \"version_details\": [\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"diamond\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/12/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"pearl\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/13/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"platinum\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/14/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"heartgold\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/15/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"soulsilver\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/16/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"black\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/17/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"white\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/18/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"black-2\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/21/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"white-2\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/22/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"x\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/23/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"y\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/24/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"omega-ruby\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/25/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"alpha-sapphire\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/26/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"sun\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/27/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"moon\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/28/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"ultra-sun\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/29/\"\n                    }\n                },\n                {\n                    \"rarity\": 50,\n                    \"version\": {\n                        \"name\": \"ultra-moon\",\n                        \"url\": \"https://pokeapi.co/api/v2/version/30/\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"id\": 132,\n    \"is_default\": true,\n    \"location_area_encounters\": \"https://pokeapi.co/api/v2/pokemon/132/encounters\",\n    \"moves\": [\n        {\n            \"move\": {\n                \"name\": \"transform\",\n                \"url\": \"https://pokeapi.co/api/v2/move/144/\"\n            },\n            \"version_group_details\": [\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"red-blue\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/1/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"yellow\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/2/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"gold-silver\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/3/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"crystal\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/4/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"ruby-sapphire\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/5/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"emerald\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/6/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"firered-leafgreen\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/7/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"diamond-pearl\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/8/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"platinum\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/9/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"heartgold-soulsilver\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/10/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"black-white\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/11/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"colosseum\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/12/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"xd\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/13/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"black-2-white-2\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/14/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"x-y\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/15/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"omega-ruby-alpha-sapphire\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/16/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"sun-moon\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/17/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"ultra-sun-ultra-moon\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/18/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"lets-go-pikachu-lets-go-eevee\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/19/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"sword-shield\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/20/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"brilliant-diamond-and-shining-pearl\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/23/\"\n                    }\n                },\n                {\n                    \"level_learned_at\": 1,\n                    \"move_learn_method\": {\n                        \"name\": \"level-up\",\n                        \"url\": \"https://pokeapi.co/api/v2/move-learn-method/1/\"\n                    },\n                    \"order\": null,\n                    \"version_group\": {\n                        \"name\": \"scarlet-violet\",\n                        \"url\": \"https://pokeapi.co/api/v2/version-group/25/\"\n                    }\n                }\n            ]\n        }\n    ],\n    \"name\": \"ditto\",\n    \"order\": 214,\n    \"past_abilities\": [\n        {\n            \"abilities\": [\n                {\n                    \"ability\": null,\n                    \"is_hidden\": true,\n                    \"slot\": 3\n                }\n            ],\n            \"generation\": {\n                \"name\": \"generation-iv\",\n                \"url\": \"https://pokeapi.co/api/v2/generation/4/\"\n            }\n        }\n    ],\n    \"past_types\": [],\n    \"species\": {\n        \"name\": \"ditto\",\n        \"url\": \"https://pokeapi.co/api/v2/pokemon-species/132/\"\n    },\n    \"sprites\": {\n        \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/132.png\",\n        \"back_female\": null,\n        \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/back/shiny/132.png\",\n        \"back_shiny_female\": null,\n        \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/132.png\",\n        \"front_female\": null,\n        \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/shiny/132.png\",\n        \"front_shiny_female\": null,\n        \"other\": {\n            \"dream_world\": {\n                \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/dream-world/132.svg\",\n                \"front_female\": null\n            },\n            \"home\": {\n                \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/home/132.png\",\n                \"front_female\": null,\n                \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/home/shiny/132.png\",\n                \"front_shiny_female\": null\n            },\n            \"official-artwork\": {\n                \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/132.png\",\n                \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/official-artwork/shiny/132.png\"\n            },\n            \"showdown\": {\n                \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/showdown/back/132.gif\",\n                \"back_female\": null,\n                \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/showdown/back/shiny/132.gif\",\n                \"back_shiny_female\": null,\n                \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/showdown/132.gif\",\n                \"front_female\": null,\n                \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/other/showdown/shiny/132.gif\",\n                \"front_shiny_female\": null\n            }\n        },\n        \"versions\": {\n            \"generation-i\": {\n                \"red-blue\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/red-blue/back/132.png\",\n                    \"back_gray\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/red-blue/back/gray/132.png\",\n                    \"back_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/red-blue/transparent/back/132.png\",\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/red-blue/132.png\",\n                    \"front_gray\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/red-blue/gray/132.png\",\n                    \"front_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/red-blue/transparent/132.png\"\n                },\n                \"yellow\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/yellow/back/132.png\",\n                    \"back_gray\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/yellow/back/gray/132.png\",\n                    \"back_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/yellow/transparent/back/132.png\",\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/yellow/132.png\",\n                    \"front_gray\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/yellow/gray/132.png\",\n                    \"front_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-i/yellow/transparent/132.png\"\n                }\n            },\n            \"generation-ii\": {\n                \"crystal\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/back/132.png\",\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/back/shiny/132.png\",\n                    \"back_shiny_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/transparent/back/shiny/132.png\",\n                    \"back_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/transparent/back/132.png\",\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/132.png\",\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/shiny/132.png\",\n                    \"front_shiny_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/transparent/shiny/132.png\",\n                    \"front_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/crystal/transparent/132.png\"\n                },\n                \"gold\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/gold/back/132.png\",\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/gold/back/shiny/132.png\",\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/gold/132.png\",\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/gold/shiny/132.png\",\n                    \"front_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/gold/transparent/132.png\"\n                },\n                \"silver\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/silver/back/132.png\",\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/silver/back/shiny/132.png\",\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/silver/132.png\",\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/silver/shiny/132.png\",\n                    \"front_transparent\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-ii/silver/transparent/132.png\"\n                }\n            },\n            \"generation-iii\": {\n                \"emerald\": {\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/emerald/132.png\",\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/emerald/shiny/132.png\"\n                },\n                \"firered-leafgreen\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/firered-leafgreen/back/132.png\",\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/firered-leafgreen/back/shiny/132.png\",\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/firered-leafgreen/132.png\",\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/firered-leafgreen/shiny/132.png\"\n                },\n                \"ruby-sapphire\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/ruby-sapphire/back/132.png\",\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/ruby-sapphire/back/shiny/132.png\",\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/ruby-sapphire/132.png\",\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iii/ruby-sapphire/shiny/132.png\"\n                }\n            },\n            \"generation-iv\": {\n                \"diamond-pearl\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/diamond-pearl/back/132.png\",\n                    \"back_female\": null,\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/diamond-pearl/back/shiny/132.png\",\n                    \"back_shiny_female\": null,\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/diamond-pearl/132.png\",\n                    \"front_female\": null,\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/diamond-pearl/shiny/132.png\",\n                    \"front_shiny_female\": null\n                },\n                \"heartgold-soulsilver\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/heartgold-soulsilver/back/132.png\",\n                    \"back_female\": null,\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/heartgold-soulsilver/back/shiny/132.png\",\n                    \"back_shiny_female\": null,\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/heartgold-soulsilver/132.png\",\n                    \"front_female\": null,\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/heartgold-soulsilver/shiny/132.png\",\n                    \"front_shiny_female\": null\n                },\n                \"platinum\": {\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/platinum/back/132.png\",\n                    \"back_female\": null,\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/platinum/back/shiny/132.png\",\n                    \"back_shiny_female\": null,\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/platinum/132.png\",\n                    \"front_female\": null,\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-iv/platinum/shiny/132.png\",\n                    \"front_shiny_female\": null\n                }\n            },\n            \"generation-v\": {\n                \"black-white\": {\n                    \"animated\": {\n                        \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/animated/back/132.gif\",\n                        \"back_female\": null,\n                        \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/animated/back/shiny/132.gif\",\n                        \"back_shiny_female\": null,\n                        \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/animated/132.gif\",\n                        \"front_female\": null,\n                        \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/animated/shiny/132.gif\",\n                        \"front_shiny_female\": null\n                    },\n                    \"back_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/back/132.png\",\n                    \"back_female\": null,\n                    \"back_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/back/shiny/132.png\",\n                    \"back_shiny_female\": null,\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/132.png\",\n                    \"front_female\": null,\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-v/black-white/shiny/132.png\",\n                    \"front_shiny_female\": null\n                }\n            },\n            \"generation-vi\": {\n                \"omegaruby-alphasapphire\": {\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vi/omegaruby-alphasapphire/132.png\",\n                    \"front_female\": null,\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vi/omegaruby-alphasapphire/shiny/132.png\",\n                    \"front_shiny_female\": null\n                },\n                \"x-y\": {\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vi/x-y/132.png\",\n                    \"front_female\": null,\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vi/x-y/shiny/132.png\",\n                    \"front_shiny_female\": null\n                }\n            },\n            \"generation-vii\": {\n                \"icons\": {\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vii/icons/132.png\",\n                    \"front_female\": null\n                },\n                \"ultra-sun-ultra-moon\": {\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vii/ultra-sun-ultra-moon/132.png\",\n                    \"front_female\": null,\n                    \"front_shiny\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-vii/ultra-sun-ultra-moon/shiny/132.png\",\n                    \"front_shiny_female\": null\n                }\n            },\n            \"generation-viii\": {\n                \"icons\": {\n                    \"front_default\": \"https://raw.githubusercontent.com/PokeAPI/sprites/master/sprites/pokemon/versions/generation-viii/icons/132.png\",\n                    \"front_female\": null\n                }\n            }\n        }\n    },\n    \"stats\": [\n        {\n            \"base_stat\": 48,\n            \"effort\": 1,\n            \"stat\": {\n                \"name\": \"hp\",\n                \"url\": \"https://pokeapi.co/api/v2/stat/1/\"\n            }\n        },\n        {\n            \"base_stat\": 48,\n            \"effort\": 0,\n            \"stat\": {\n                \"name\": \"attack\",\n                \"url\": \"https://pokeapi.co/api/v2/stat/2/\"\n            }\n        },\n        {\n            \"base_stat\": 48,\n            \"effort\": 0,\n            \"stat\": {\n                \"name\": \"defense\",\n                \"url\": \"https://pokeapi.co/api/v2/stat/3/\"\n            }\n        },\n        {\n            \"base_stat\": 48,\n            \"effort\": 0,\n            \"stat\": {\n                \"name\": \"special-attack\",\n                \"url\": \"https://pokeapi.co/api/v2/stat/4/\"\n            }\n        },\n        {\n            \"base_stat\": 48,\n            \"effort\": 0,\n            \"stat\": {\n                \"name\": \"special-defense\",\n                \"url\": \"https://pokeapi.co/api/v2/stat/5/\"\n            }\n        },\n        {\n            \"base_stat\": 48,\n            \"effort\": 0,\n            \"stat\": {\n                \"name\": \"speed\",\n                \"url\": \"https://pokeapi.co/api/v2/stat/6/\"\n            }\n        }\n    ],\n    \"types\": [\n        {\n            \"slot\": 1,\n            \"type\": {\n                \"name\": \"normal\",\n                \"url\": \"https://pokeapi.co/api/v2/type/1/\"\n            }\n        }\n    ],\n    \"weight\": 40\n}"}],"_postman_id":"042f90cf-894d-4c36-85dd-b4ead7ddb3b5"}],"id":"425d393c-1802-4152-8eda-373400b14850","_postman_id":"425d393c-1802-4152-8eda-373400b14850","description":""}],"event":[{"listen":"prerequest","script":{"id":"9024bf9c-e39e-4514-b136-e4146bef7aca","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"be27be42-dc30-490a-a1df-2ff7a7f4584f","type":"text/javascript","packages":{},"exec":[""]}}]}