{
	"info": {
		"_postman_id": "6413576e-2509-4d5a-b04f-0c47546170cd",
		"name": "Endpoints App Silobag",
		"description": "### Descrição da Collection\n\nEsta collection contém as rotas de Api utilizadas no projeto e-Silobag.\n\n**Padrão de Query Parameters (Rotas** **`index`** **e** **`show`****):**\n\nAs rotas `index` e `show` seguem um padrão flexível de query parameters que permitem filtros dinâmicos, ordenação, paginação e carregamento de relacionamentos. Abaixo, os parâmetros aceitos:\n\n- **`relationships[]`**: Especifica os relacionamentos a serem carregados, permitindo acesso a dados relacionados.  \n    _Exemplo_: `relationships[]=addresses&relationships[]=phones&relationships[]=produtos.ativos`\n    \n- **`cursor`**: Indica a posição no cursor para navegação entre resultados (paginação baseada em cursor).\n    \n- **`page`**: Define a página a ser retornada (paginação baseada em páginas).\n    \n- **`per_page`**: Determina o número de itens por página.\n    \n- **`sort`** _(array)_: Ordena os resultados com base em um ou mais campos.  \n    _Exemplo_: `sort[nome]=desc`\n    \n- **`filter`** _(array)_: Aplica filtros diretos aos campos da entidade.  \n    _Exemplo_: `filter[empresa_id]=1&filter[nome]=Tod`\n    \n- **`filter_between_from`** _(array)_: Define o valor inicial de um intervalo para filtros entre datas ou valores numéricos.  \n    _Exemplo_: `filter_between_from[created_at]=2024-02-11`\n    \n- **`filter_between_to`** _(array)_: Define o valor final de um intervalo para filtros entre datas ou valores numéricos.  \n    _Exemplo_: `filter_between_to[created_at]=2024-11-12`",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "8424483"
	},
	"item": [
		{
			"name": "Auth",
			"item": [
				{
					"name": "Sanctum Csrf-cookie",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "http://localhost/sanctum/csrf-cookie",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"path": [
								"sanctum",
								"csrf-cookie"
							]
						},
						"description": "### Endpoint: **sanctum/csrf-token**\n\n#### Método: **GET**\n\n#### Descrição:\n\nEste endpoint é usado para obter um token CSRF (Cross-Site Request Forgery) que é necessário para realizar requisições autenticadas em aplicações protegidas contra CSRF. Ao chamar esse endpoint, o token é retornado como um cookie, que deve ser enviado nas requisições subsequentes no cabeçalho `X-XSRF-TOKEN`.\n\n#### Requisição:\n\n- **Método**: GET\n    \n- **URL**: `/sanctum/csrf-token`\n    \n- **Corpo da Requisição**: Não é necessário enviar nenhum corpo na requisição.\n    \n\n#### Resposta:\n\n- **Código de Status**: 200 OK\n    \n- **Cabeçalhos**:\n    \n    - `Set-Cookie`: O token CSRF será definido no cookie `XSRF-TOKEN`.\n        \n\n#### Notas:\n\n- O token CSRF será armazenado automaticamente no cookie `XSRF-TOKEN` e deve ser enviado com as próximas requisições que exigem autenticação.\n    \n- Certifique-se de enviar o token CSRF presente no cookie utilizando o cabeçalho `X-XSRF-TOKEN` em requisições subsequentes.\n    \n- Para utilizar o com pacote Axios em SPA, é necessário configurar as opções `withCredentials: true` e `withXSRFToken: true` para garantir que os cookies sejam enviados e o token CSRF seja corretamente utilizado na autenticação via session cookie."
					},
					"response": []
				},
				{
					"name": "Login",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"// Stores the access token in an environment or global variable",
									"pm.test(\"Save access token\", function () {",
									"    var accessToken = pm.response.json().token;",
									"    pm.collectionVariables.set(\"accessToken\", accessToken);",
									"}); ",
									"",
									"const jar = pm.cookies.jar();",
									"",
									"jar.get('http://spa.localhost.com', \"XSRF-TOKEN\", (err, cookie) => {",
									"    console.log(cookie)",
									"    pm.request.addHeader({",
									"        key: \"X-XSRF-TOKEN\",",
									"        value: cookie",
									"    });",
									"",
									"    pm.request.addHeader({",
									"        key: 'Referer',",
									"        value: 'http://spa.localhost.com'",
									"    });",
									"})"
								],
								"type": "text/javascript",
								"packages": {}
							}
						},
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript",
								"packages": {}
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Referer",
								"value": "localhost:8000",
								"type": "text",
								"disabled": true
							},
							{
								"key": "Accept-Language",
								"value": "pt_BR",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n\t\"username\": \"admin\",\n    \"password\": \"admin123\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/auth/login",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"auth",
								"login"
							]
						},
						"description": "### Auth Login\n\nThis endpoint is used to authenticate a user and obtain an access token for further API requests.\n\n#### Request Body\n\n- `username`: (text) The username of the user.\n    \n- `password`: (text) The password of the user.\n    \n\n#### Response\n\nUpon a successful authentication, the response will include the following:\n\n- `user`: An object containing user information such as id, empresa_id, name, username, email, cpf, email_verified_at, is_active, is_criar, created_by, updated_by, deleted_by, created_at, updated_at, deleted_at, full_address, and phones.\n    \n- `roles`: An array containing the roles assigned to the user.\n    \n- `token`: An access token for further API requests."
					},
					"response": [
						{
							"name": "200 OK - Login",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Referer",
										"value": "localhost:8000",
										"type": "text",
										"disabled": true
									},
									{
										"key": "Accept-Language",
										"value": "pt_BR",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"username\": \"admin\",\n    \"password\": \"admin123\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/login",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"login"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.18.0"
								},
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:18:24 GMT"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "Cache-Control",
									"value": "private, must-revalidate"
								},
								{
									"key": "pragma",
									"value": "no-cache"
								},
								{
									"key": "expires",
									"value": "-1"
								},
								{
									"key": "Vary",
									"value": "Origin"
								}
							],
							"cookie": [],
							"body": "{\n    \"user\": {\n        \"id\": 1,\n        \"empresa_id\": 1,\n        \"name\": \"Admin\",\n        \"username\": \"admin\",\n        \"email\": \"admin@criar.com\",\n        \"cpf\": \"903.477.718-90\",\n        \"email_verified_at\": \"2024-11-19T11:16:33.000000Z\",\n        \"is_active\": true,\n        \"is_criar\": false,\n        \"empresa\": {\n            \"id\": 1,\n            \"cnpj\": \"10.586.948/0001-24\",\n            \"razao_social\": \"Grupo Criar LTDA\",\n            \"nome_fantasia\": \"Grupo Criar\",\n            \"email\": \"contato@grupocriar.com\",\n            \"logo_file\": null,\n            \"is_active\": true,\n            \"assinatura_contrato_at\": \"2024-11-19T11:16:33.000000Z\",\n            \"phones\": []\n        },\n        \"full_address\": \"Srta. Danielle Roque Neto, 347, apto 820 - Emílio, Vila Ronaldo d'Oeste - S, 89880-431\",\n        \"phones\": [\n            {\n                \"number\": \"+947 72 704.926.3191\",\n                \"is_mobile\": true,\n                \"has_whatsapp\": true\n            }\n        ],\n        \"roles\": [\n            \"super_admin\"\n        ],\n        \"permissions\": []\n    },\n    \"token\": \"108|vN6TSCtjVBj6h5DpYHE5OTzifmPB4h0SQKI5JcFXc829d508\"\n}"
						},
						{
							"name": "401 - Unauthorized Login",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Referer",
										"value": "localhost:8000",
										"type": "text",
										"disabled": true
									},
									{
										"key": "Accept-Language",
										"value": "pt_BR",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n\t\"username\": \"whatever\",\n    \"password\": \"123\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/login",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"login"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.18.0"
								},
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:19:07 GMT"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "WWW-Authenticate",
									"value": ""
								},
								{
									"key": "Cache-Control",
									"value": "private, must-revalidate"
								},
								{
									"key": "pragma",
									"value": "no-cache"
								},
								{
									"key": "expires",
									"value": "-1"
								},
								{
									"key": "Vary",
									"value": "Origin"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Essas credenciais não correspondem aos nossos registros.\",\n    \"exception\": \"Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\UnauthorizedHttpException\",\n    \"file\": \"/var/www/html/api-general/app/Http/Controllers/AuthController.php\",\n    \"line\": 36,\n    \"trace\": [\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php\",\n            \"line\": 46,\n            \"function\": \"login\",\n            \"class\": \"App\\\\Http\\\\Controllers\\\\AuthController\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Route.php\",\n            \"line\": 264,\n            \"function\": \"dispatch\",\n            \"class\": \"Illuminate\\\\Routing\\\\ControllerDispatcher\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Route.php\",\n            \"line\": 210,\n            \"function\": \"runController\",\n            \"class\": \"Illuminate\\\\Routing\\\\Route\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 808,\n            \"function\": \"run\",\n            \"class\": \"Illuminate\\\\Routing\\\\Route\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Illuminate\\\\Routing\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php\",\n            \"line\": 51,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\SubstituteBindings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 25,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\{closure}\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 24,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 807,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 786,\n            \"function\": \"runRouteWithinStack\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 750,\n            \"function\": \"runRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 739,\n            \"function\": \"dispatchToRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 201,\n            \"function\": \"dispatch\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Illuminate\\\\Foundation\\\\Http\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/app/Http/Middleware/HttpRequestLogMiddleware.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\HttpRequestLogMiddleware\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/app/Http/Middleware/SetLocale.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\SetLocale\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php\",\n            \"line\": 31,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\ConvertEmptyStringsToNull\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php\",\n            \"line\": 51,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TrimStrings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php\",\n            \"line\": 27,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\ValidatePostSize\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php\",\n            \"line\": 110,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\PreventRequestsDuringMaintenance\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php\",\n            \"line\": 62,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\HandleCors\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php\",\n            \"line\": 58,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\TrustProxies\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\InvokeDeferredCallbacks\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 176,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 145,\n            \"function\": \"sendRequestThroughRouter\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/vendor/laravel/framework/src/Illuminate/Foundation/Application.php\",\n            \"line\": 1190,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/api-general/public/index.php\",\n            \"line\": 17,\n            \"function\": \"handleRequest\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Application\",\n            \"type\": \"->\"\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Logout",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "pt-BR",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/auth/logout",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"auth",
								"logout"
							]
						},
						"description": "### Auth Logout\n\nThis endpoint is used to log out the user from the application.\n\n#### Request Body\n\nThis request does not require a request body.\n\n#### Headers\n\nIn the case of clients that use Bearer tokens, it should be sent to be invalidated during the logout process\n\n#### Response\n\n- Status: 200, 401\n    \n- Content-Type: application/json\n    \n\n##### Body\n\n- `message`: A message indicating the result of the logout operation.\n    \n\nExample response 200 body:\n\n``` json\n{\n    \"message\": \"Logged out.\"\n}\n\n ```\n\nExample response 401 body:\n\n``` json\n{\n    \"message\": \"Unauthenticated.\"\n}\n\n ```"
					},
					"response": [
						{
							"name": "200 OK Logout",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{base_url}}/auth/logout",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"logout"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.18.0"
								},
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:21:21 GMT"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "Vary",
									"value": "Authorization,Origin"
								},
								{
									"key": "Cache-Control",
									"value": "private, must-revalidate"
								},
								{
									"key": "pragma",
									"value": "no-cache"
								},
								{
									"key": "expires",
									"value": "-1"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Logged out.\"\n}"
						},
						{
							"name": "401 Unauthenticated Logout",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{base_url}}/auth/logout",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"logout"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Server",
									"value": "nginx/1.18.0"
								},
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:30:06 GMT"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Connection",
									"value": "keep-alive"
								},
								{
									"key": "Cache-Control",
									"value": "private, must-revalidate"
								},
								{
									"key": "pragma",
									"value": "no-cache"
								},
								{
									"key": "expires",
									"value": "-1"
								},
								{
									"key": "Vary",
									"value": "Origin"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Unauthenticated.\"\n}"
						}
					]
				},
				{
					"name": "Start Password Recovery",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"// Parse the JSON response",
									"const response = pm.response.json();",
									"",
									"// Check if the response contains the expected message",
									"if (pm.response.code == 200 && response.message) {",
									"    // Extract the URL from the response",
									"    const url = response.url;",
									"",
									"    // Use a regular expression to extract recover-hash, expires, and signature",
									"    const regex = /\\/api\\/auth\\/password-recover\\/url\\/([^?]+)\\?expires=([^&]+)&signature=(.+)/;",
									"    const matches = url.match(regex);",
									"",
									"    if (matches) {",
									"        console.log(\"Variables set:\");",
									"        console.log(\"recover-hash:\", matches[1]);",
									"        console.log(\"expires:\", matches[2]);",
									"        console.log(\"signature:\", matches[3]);",
									"        ",
									"        pm.collectionVariables.set(\"recover-hash\", matches[1]);",
									"        pm.collectionVariables.set(\"expires\", matches[2]);",
									"        pm.collectionVariables.set(\"signature\", matches[3]);",
									"    } else {",
									"        console.error(\"URL format does not match expected pattern.\");",
									"    }",
									"} else {",
									"    console.error(\"Response does not contain a message.\");",
									"}"
								],
								"type": "text/javascript",
								"packages": {}
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "pt",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"username\": \"admin.empresa\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/auth/password-recover/start",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"auth",
								"password-recover",
								"start"
							]
						},
						"description": "# Auth Password Recovery Start\n\nThis endpoint is used to initiate the password recovery process for a user.\n\n## Request\n\n- Method: POST\n    \n- URL: /auth/password-recover/start\n    \n- Body:\n    \n    - Username (string, required): The username of the user for whom the password recovery process is to be initiated.\n        \n    - or Email (string, required): The email of the user for whom the password recovery process is to be initiated.\n        \n\n## Response\n\n- Status: 200\n    \n- Content-Type: application/json\n    \n- { \"message\": \"\", \"url\": \"\"}\n    \n\n### JSON Schema\n\n``` json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"message\": {\n      \"type\": \"string\"\n    },\n    \"url\": {\n      \"type\": \"string\"\n    }\n  }\n}\n\n ```"
					},
					"response": [
						{
							"name": "200 OK Start Password Recovery",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "pt",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"username\": \"admin\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/password-recover/start",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"password-recover",
										"start"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:43:04 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "5"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "3"
								},
								{
									"key": "Vary",
									"value": "Origin"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Um email para recuperação de senha foi enviado.\",\n    \"url\": \"/api/auth/password-recover/url/afcbfc8a-f7b7-590a-ac96-66d28aeff167?expires=1732200484&signature=eba7ba3de754b50a2c591abc93da325be3cd923ec166705ffdd37bff588a8f92\"\n}"
						},
						{
							"name": "401 User CRIAR Start Password Recovery",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "pt",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"username\": \"vitor.zambon@grupocriar\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/password-recover/start",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"password-recover",
										"start"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:43:46 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "WWW-Authenticate",
									"value": ""
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "5"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "4"
								},
								{
									"key": "Vary",
									"value": "Origin"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Usuário CRIAR não pode alterar a senha.\",\n    \"exception\": \"Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\UnauthorizedHttpException\",\n    \"file\": \"/var/www/html/app/Services/PasswordRecoveryService.php\",\n    \"line\": 32,\n    \"trace\": [\n        {\n            \"file\": \"/var/www/html/app/Http/Controllers/AuthController.php\",\n            \"line\": 79,\n            \"function\": \"start\",\n            \"class\": \"App\\\\Services\\\\PasswordRecoveryService\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php\",\n            \"line\": 46,\n            \"function\": \"startPasswordRecovery\",\n            \"class\": \"App\\\\Http\\\\Controllers\\\\AuthController\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php\",\n            \"line\": 264,\n            \"function\": \"dispatch\",\n            \"class\": \"Illuminate\\\\Routing\\\\ControllerDispatcher\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php\",\n            \"line\": 210,\n            \"function\": \"runController\",\n            \"class\": \"Illuminate\\\\Routing\\\\Route\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 808,\n            \"function\": \"run\",\n            \"class\": \"Illuminate\\\\Routing\\\\Route\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Illuminate\\\\Routing\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php\",\n            \"line\": 51,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\SubstituteBindings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php\",\n            \"line\": 161,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php\",\n            \"line\": 92,\n            \"function\": \"handleRequest\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\ThrottleRequests\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\ThrottleRequests\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 25,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\{closure}\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 24,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 807,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 786,\n            \"function\": \"runRouteWithinStack\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 750,\n            \"function\": \"runRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 739,\n            \"function\": \"dispatchToRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 201,\n            \"function\": \"dispatch\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Illuminate\\\\Foundation\\\\Http\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/app/Http/Middleware/HttpRequestLogMiddleware.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\HttpRequestLogMiddleware\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/app/Http/Middleware/SetLocale.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\SetLocale\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php\",\n            \"line\": 31,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\ConvertEmptyStringsToNull\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php\",\n            \"line\": 51,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TrimStrings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php\",\n            \"line\": 27,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\ValidatePostSize\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php\",\n            \"line\": 110,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\PreventRequestsDuringMaintenance\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php\",\n            \"line\": 62,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\HandleCors\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php\",\n            \"line\": 58,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\TrustProxies\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\InvokeDeferredCallbacks\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 176,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 145,\n            \"function\": \"sendRequestThroughRouter\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php\",\n            \"line\": 1190,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/public/index.php\",\n            \"line\": 17,\n            \"function\": \"handleRequest\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Application\",\n            \"type\": \"->\"\n        }\n    ]\n}"
						},
						{
							"name": "401 User Inexistente Start Password Recovery",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									},
									{
										"key": "Accept-Language",
										"value": "pt",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"username\": \"user.inexistente\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/password-recover/start",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"password-recover",
										"start"
									]
								}
							},
							"status": "Unauthorized",
							"code": 401,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:44:15 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "WWW-Authenticate",
									"value": ""
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "5"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "3"
								},
								{
									"key": "Vary",
									"value": "Origin"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Essas credenciais não correspondem aos nossos registros.\",\n    \"exception\": \"Symfony\\\\Component\\\\HttpKernel\\\\Exception\\\\UnauthorizedHttpException\",\n    \"file\": \"/var/www/html/app/Services/PasswordRecoveryService.php\",\n    \"line\": 28,\n    \"trace\": [\n        {\n            \"file\": \"/var/www/html/app/Http/Controllers/AuthController.php\",\n            \"line\": 79,\n            \"function\": \"start\",\n            \"class\": \"App\\\\Services\\\\PasswordRecoveryService\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php\",\n            \"line\": 46,\n            \"function\": \"startPasswordRecovery\",\n            \"class\": \"App\\\\Http\\\\Controllers\\\\AuthController\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php\",\n            \"line\": 264,\n            \"function\": \"dispatch\",\n            \"class\": \"Illuminate\\\\Routing\\\\ControllerDispatcher\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Route.php\",\n            \"line\": 210,\n            \"function\": \"runController\",\n            \"class\": \"Illuminate\\\\Routing\\\\Route\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 808,\n            \"function\": \"run\",\n            \"class\": \"Illuminate\\\\Routing\\\\Route\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Illuminate\\\\Routing\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php\",\n            \"line\": 51,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\SubstituteBindings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php\",\n            \"line\": 161,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php\",\n            \"line\": 92,\n            \"function\": \"handleRequest\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\ThrottleRequests\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\ThrottleRequests\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 25,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\{closure}\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 24,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 807,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 786,\n            \"function\": \"runRouteWithinStack\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 750,\n            \"function\": \"runRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 739,\n            \"function\": \"dispatchToRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 201,\n            \"function\": \"dispatch\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Illuminate\\\\Foundation\\\\Http\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/app/Http/Middleware/HttpRequestLogMiddleware.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\HttpRequestLogMiddleware\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/app/Http/Middleware/SetLocale.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\SetLocale\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php\",\n            \"line\": 31,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\ConvertEmptyStringsToNull\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php\",\n            \"line\": 51,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TrimStrings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php\",\n            \"line\": 27,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\ValidatePostSize\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php\",\n            \"line\": 110,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\PreventRequestsDuringMaintenance\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php\",\n            \"line\": 62,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\HandleCors\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php\",\n            \"line\": 58,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\TrustProxies\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\InvokeDeferredCallbacks\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 176,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 145,\n            \"function\": \"sendRequestThroughRouter\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php\",\n            \"line\": 1190,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/public/index.php\",\n            \"line\": 17,\n            \"function\": \"handleRequest\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Application\",\n            \"type\": \"->\"\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Validate Token",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"const response = pm.response.json();",
									"",
									"if (response.url) {",
									"    const url = response.url;",
									"",
									"    const regex = /\\/api\\/auth\\/password-recover\\/update\\/([^?]+)\\?expires=([^&]+)&signature=(.+)/;",
									"    const matches = url.match(regex);",
									"",
									"    if (matches) {",
									"        pm.collectionVariables.set(\"update-id\", matches[1]);",
									"        pm.collectionVariables.set(\"expires\", matches[2]);",
									"        pm.collectionVariables.set(\"signature\", matches[3]);",
									"",
									"        console.log(\"Variables set:\");",
									"        console.log(\"update-id:\", matches[1]);",
									"        console.log(\"expires:\", matches[2]);",
									"        console.log(\"signature:\", matches[3]);",
									"    } else {",
									"        console.error(\"URL format does not match expected pattern.\");",
									"    }",
									"} else {",
									"    console.error(\"Response does not contain a URL.\");",
									"}"
								],
								"type": "text/javascript",
								"packages": {}
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"token\": \"{{recover-token}}\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/auth/password-recover/url/{{recover-hash}}?expires={{expires}}&signature={{signature}}",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"auth",
								"password-recover",
								"url",
								"{{recover-hash}}"
							],
							"query": [
								{
									"key": "expires",
									"value": "{{expires}}"
								},
								{
									"key": "signature",
									"value": "{{signature}}"
								}
							]
						},
						"description": "The `POST /auth/password-recover/url/{{recover-hash}}` endpoint is used to recover a password using a recovery token. The request should include the `recover-hash` in the URL, along with the `expires` and `signature` query parameters. The request body should contain a JSON payload with the `token` key btained in the user's e-mail.\n\n### Request Body\n\n- token (string, required): The recovery token.\n    \n\n### Response\n\nThe response for this request is a JSON object with the following schema:\n\n``` json\n{\n  \"url\": \"\"\n}\n\n ```"
					},
					"response": [
						{
							"name": "200 OK Validate Token",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"token\": \"{{recover-token}}\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/password-recover/url/{{recover-hash}}?expires={{expires}}&signature={{signature}}",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"password-recover",
										"url",
										"{{recover-hash}}"
									],
									"query": [
										{
											"key": "expires",
											"value": "{{expires}}"
										},
										{
											"key": "signature",
											"value": "{{signature}}"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:45:06 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "5"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "3"
								},
								{
									"key": "Vary",
									"value": "Origin"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"url\": \"/api/auth/password-recover/update/9?expires=1732200607&signature=21e58e68510a7e86b1d81fa3a37f9e110b83e9d1dd3319cc8725bc4b8620f39e\"\n}"
						},
						{
							"name": "422 Invalid TOKEN Validate Token",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"token\": \"{{recover-token}}\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/password-recover/url/{{recover-hash}}?expires={{expires}}&signature={{signature}}",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"password-recover",
										"url",
										"{{recover-hash}}"
									],
									"query": [
										{
											"key": "expires",
											"value": "{{expires}}"
										},
										{
											"key": "signature",
											"value": "{{signature}}"
										}
									]
								}
							},
							"status": "Unprocessable Content",
							"code": 422,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:45:31 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "5"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "0"
								},
								{
									"key": "Vary",
									"value": "Origin"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Invalid or expired token.\"\n}"
						},
						{
							"name": "403 Invalid Signature",
							"originalRequest": {
								"method": "POST",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"token\": \"{{recover-token}}\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/password-recover/url/{{recover-hash}}?expires={{expires}}&signature={{signature}}",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"password-recover",
										"url",
										"{{recover-hash}}"
									],
									"query": [
										{
											"key": "expires",
											"value": "{{expires}}"
										},
										{
											"key": "signature",
											"value": "{{signature}}"
										}
									]
								}
							},
							"status": "Forbidden",
							"code": 403,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 14:46:05 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "5"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "4"
								},
								{
									"key": "Vary",
									"value": "Origin"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Invalid signature.\",\n    \"exception\": \"Illuminate\\\\Routing\\\\Exceptions\\\\InvalidSignatureException\",\n    \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ValidateSignature.php\",\n    \"line\": 73,\n    \"trace\": [\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\ValidateSignature\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php\",\n            \"line\": 51,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\SubstituteBindings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php\",\n            \"line\": 161,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Middleware/ThrottleRequests.php\",\n            \"line\": 92,\n            \"function\": \"handleRequest\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\ThrottleRequests\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Routing\\\\Middleware\\\\ThrottleRequests\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 25,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\{closure}\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/sanctum/src/Http/Middleware/EnsureFrontendRequestsAreStateful.php\",\n            \"line\": 24,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Laravel\\\\Sanctum\\\\Http\\\\Middleware\\\\EnsureFrontendRequestsAreStateful\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 807,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 786,\n            \"function\": \"runRouteWithinStack\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 750,\n            \"function\": \"runRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Routing/Router.php\",\n            \"line\": 739,\n            \"function\": \"dispatchToRoute\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 201,\n            \"function\": \"dispatch\",\n            \"class\": \"Illuminate\\\\Routing\\\\Router\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 144,\n            \"function\": \"Illuminate\\\\Foundation\\\\Http\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/app/Http/Middleware/HttpRequestLogMiddleware.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\HttpRequestLogMiddleware\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/app/Http/Middleware/SetLocale.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"App\\\\Http\\\\Middleware\\\\SetLocale\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php\",\n            \"line\": 31,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\ConvertEmptyStringsToNull\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php\",\n            \"line\": 21,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php\",\n            \"line\": 51,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TransformsRequest\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\TrimStrings\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php\",\n            \"line\": 27,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\ValidatePostSize\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php\",\n            \"line\": 110,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\PreventRequestsDuringMaintenance\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php\",\n            \"line\": 62,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\HandleCors\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php\",\n            \"line\": 58,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Http\\\\Middleware\\\\TrustProxies\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php\",\n            \"line\": 22,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 183,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Middleware\\\\InvokeDeferredCallbacks\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php\",\n            \"line\": 119,\n            \"function\": \"Illuminate\\\\Pipeline\\\\{closure}\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 176,\n            \"function\": \"then\",\n            \"class\": \"Illuminate\\\\Pipeline\\\\Pipeline\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php\",\n            \"line\": 145,\n            \"function\": \"sendRequestThroughRouter\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php\",\n            \"line\": 1190,\n            \"function\": \"handle\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Http\\\\Kernel\",\n            \"type\": \"->\"\n        },\n        {\n            \"file\": \"/var/www/html/public/index.php\",\n            \"line\": 17,\n            \"function\": \"handleRequest\",\n            \"class\": \"Illuminate\\\\Foundation\\\\Application\",\n            \"type\": \"->\"\n        }\n    ]\n}"
						}
					]
				},
				{
					"name": "Update Password",
					"request": {
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"password\": \"12345678\",\n    \"password_confirmation\": \"12345678\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/auth/password-recover/update/{{update-id}}?expires={{expires}}&signature={{signature}}",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"auth",
								"password-recover",
								"update",
								"{{update-id}}"
							],
							"query": [
								{
									"key": "expires",
									"value": "{{expires}}"
								},
								{
									"key": "signature",
									"value": "{{signature}}"
								}
							]
						}
					},
					"response": [
						{
							"name": "200 OK Update Password",
							"originalRequest": {
								"method": "PUT",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"body": {
									"mode": "raw",
									"raw": "{\n    \"password\": \"12345678\",\n    \"password_confirmation\": \"12345678\"\n}",
									"options": {
										"raw": {
											"language": "json"
										}
									}
								},
								"url": {
									"raw": "{{base_url}}/auth/password-recover/update/{{update-id}}?expires={{expires}}&signature={{signature}}",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"password-recover",
										"update",
										"{{update-id}}"
									],
									"query": [
										{
											"key": "expires",
											"value": "{{expires}}"
										},
										{
											"key": "signature",
											"value": "{{signature}}"
										}
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 15:03:24 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "X-RateLimit-Limit",
									"value": "5"
								},
								{
									"key": "X-RateLimit-Remaining",
									"value": "3"
								},
								{
									"key": "Vary",
									"value": "Origin"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"message\": \"Senha atualizada com sucesso!\"\n}"
						}
					]
				},
				{
					"name": "Whoami",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/auth/whoami",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"auth",
								"whoami"
							]
						},
						"description": "### GET /auth/whoami\n\nThis endpoint returns the logged user information.\n\n#### Request\n\nNo request body is required for this endpoint.\n\n#### Response\n\nThe response will be a JSON object with the following properties:\n\n- `id` (number): The user's ID.\n    \n- `empresa_id` (number): The ID of the user's company.\n    \n- `name` (string): The user's name.\n    \n- `username` (string): The user's username.\n    \n- `email` (string): The user's email address.\n    \n- `cpf` (string): The user's CPF (Brazilian individual taxpayer registry identification).\n    \n- `email_verified_at` (string): The date and time when the user's email was verified.\n    \n- `is_active` (boolean): Indicates whether the user's account is active.\n    \n- `is_criar` (boolean): Indicates whether the user has the permission to create.\n    \n- `full_address` (string): The user's full address.\n    \n- `phones` (array): An array of phone numbers associated with the user, each containing:\n    \n    - `number` (string): The phone number.\n        \n    - `is_mobile` (boolean): Indicates whether the phone number is a mobile number.\n        \n    - `has_whatsapp` (boolean): Indicates whether the phone number has WhatsApp.\n        \n- `roles` (array): An array of roles assigned to the user.\n    \n- `permissions` (array): An array of permissions assigned to the user.\n    \n\n#### Example\n\n``` json\n{\n  \"id\": 0,\n  \"empresa_id\": 0,\n  \"name\": \"\",\n  \"username\": \"\",\n  \"email\": \"\",\n  \"cpf\": \"\",\n  \"email_verified_at\": \"\",\n  \"is_active\": true,\n  \"is_criar\": true,\n  \"full_address\": \"\",\n  \"phones\": [\n    {\n      \"number\": \"\",\n      \"is_mobile\": true,\n      \"has_whatsapp\": true\n    }\n  ],\n  \"roles\": [\"\"],\n  \"permissions\": []\n}\n\n ```"
					},
					"response": [
						{
							"name": "200 OK Whoami",
							"originalRequest": {
								"method": "GET",
								"header": [
									{
										"key": "Accept",
										"value": "application/json",
										"type": "text"
									}
								],
								"url": {
									"raw": "{{base_url}}/auth/whoami",
									"host": [
										"{{base_url}}"
									],
									"path": [
										"auth",
										"whoami"
									]
								}
							},
							"status": "OK",
							"code": 200,
							"_postman_previewlanguage": "json",
							"header": [
								{
									"key": "Date",
									"value": "Thu, 21 Nov 2024 15:04:22 GMT"
								},
								{
									"key": "Server",
									"value": "Apache/2.4.62 (Debian)"
								},
								{
									"key": "Vary",
									"value": "Authorization,Origin"
								},
								{
									"key": "X-Powered-By",
									"value": "PHP/8.2.25"
								},
								{
									"key": "Cache-Control",
									"value": "no-cache, private"
								},
								{
									"key": "Keep-Alive",
									"value": "timeout=5, max=100"
								},
								{
									"key": "Connection",
									"value": "Keep-Alive"
								},
								{
									"key": "Transfer-Encoding",
									"value": "chunked"
								},
								{
									"key": "Content-Type",
									"value": "application/json"
								}
							],
							"cookie": [],
							"body": "{\n    \"id\": 1,\n    \"empresa_id\": 1,\n    \"name\": \"Admin\",\n    \"username\": \"admin\",\n    \"email\": \"vszambon@gmail.com\",\n    \"cpf\": \"055.164.752-36\",\n    \"email_verified_at\": \"2024-11-18T20:38:59.000000Z\",\n    \"is_active\": true,\n    \"is_criar\": false,\n    \"full_address\": \"Srta. Andréa Flores Ferreira, 1080,  - Mariah, Flávio d'Oeste - NE, 35680-791\",\n    \"phones\": [\n        {\n            \"number\": \"+515 81 218.815.5457\",\n            \"is_mobile\": true,\n            \"has_whatsapp\": true\n        }\n    ],\n    \"roles\": [\n        \"super_admin\"\n    ],\n    \"permissions\": []\n}"
						}
					]
				}
			]
		},
		{
			"name": "Ativos Medição",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept-Language",
								"value": "pt",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/ativos-medicao",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"ativos-medicao"
							]
						}
					},
					"response": []
				},
				{
					"name": "Show",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept-Language",
								"value": "pt",
								"type": "text"
							},
							{
								"key": "Accept",
								"value": "application/jsont",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/ativos-medicao/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"ativos-medicao",
								"1"
							],
							"query": [
								{
									"key": "",
									"value": null,
									"disabled": true
								},
								{
									"key": "",
									"value": null,
									"disabled": true
								}
							]
						}
					},
					"response": []
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"packages": {},
						"exec": [
							""
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"packages": {},
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "Coletas",
			"item": [
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"equipamento_id\": 16,\n    \"collected_at\": \"2024-12-18 18:11:07\",\n    \"readings\": [\n        {\n            \"registered_at\": \"2024-12-18 18:10:00\",\n            \"battery_level\": 4786,\n            \"external_reading\": [\n                {\n                    \"ativo_medicao_id\": 2,\n                    \"value\": 4845\n                },\n                {\n                    \"ativo_medicao_id\": 3,\n                    \"value\": 2395\n                }\n            ],\n            \"internal_reading\": [\n                {\n                    \"module_level\": 1,\n                    \"readings\": [\n                        {\n                            \"ativo_medicao_id\": 1,\n                            \"value\": 0\n                        },\n                        {\n                            \"ativo_medicao_id\": 2,\n                            \"value\": 4833\n                        },\n                        {\n                            \"ativo_medicao_id\": 3,\n                            \"value\": 2341\n                        }\n                    ]\n                }\n            ]\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/coletas",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"coletas"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Comodatos",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/comodatos?relationships[]=equipamentos&filter[empresa_id]=1&filter_between_from[data_fim]=2025-01-03",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"comodatos"
							],
							"query": [
								{
									"key": "relationships[]",
									"value": "equipamentos"
								},
								{
									"key": "filter[empresa_id]",
									"value": "1"
								},
								{
									"key": "filter_between_from[data_fim]",
									"value": "2025-01-03"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "pt-BR",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"data_inicio\": \"2037-01-19\",\n    \"data_fim\": \"2037-12-30\",\n    \"empresa_id\": 1,\n    \"equipamentos\": [{\"code\": \"autem\"}]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/comodatos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"comodatos"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Empresas",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas?relationships[]=propriedades.zonas.silobags&page=1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas"
							],
							"query": [
								{
									"key": "relationships[]",
									"value": "propriedades.zonas.silobags"
								},
								{
									"key": "page",
									"value": "1"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Show",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Comodato Ativo",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/comodato-ativo",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"comodato-ativo"
							]
						}
					},
					"response": []
				},
				{
					"name": "Comodatos",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/comodatos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"comodatos"
							]
						}
					},
					"response": []
				},
				{
					"name": "Propriedades",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/propriedades",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"propriedades"
							]
						}
					},
					"response": []
				},
				{
					"name": "Produtos",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/produtos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"produtos"
							]
						}
					},
					"response": []
				},
				{
					"name": "Instalações",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/instalacoes",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"instalacoes"
							]
						}
					},
					"response": []
				},
				{
					"name": "Ordens de Instalação",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/ordens-instalacao",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"ordens-instalacao"
							]
						}
					},
					"response": []
				},
				{
					"name": "Silobags",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/silobags",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"silobags"
							]
						}
					},
					"response": []
				},
				{
					"name": "Zonas",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/zonas",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"zonas"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"razao_social\": \"Testing Cache\",\n    \"nome_fantasia\": \"Testing Cache\",\n    \"cnpj\": \"5522323123512\",\n    \"email\": \"vszambons@gmail.com\",\n    \"assinatura_contrato_at\": \"2024-11-01\",\n    \"logo_temp\": \"{{filePath}}\",\n    \"admin_user\": {\n        \"name\" : \"admin empresa\",\n        \"email\" : \"vszambons@gmail.com\",\n        \"cpf\" : \"41880767803\"\n    }\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store Copy",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"logo_temp\": \"{{filePath}}\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Propriedades",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"nome\": \"teste propriedade\",\n    \"descricao\": \"descricao propriedade\",\n    \"center_lat\": 37.7749,\n    \"center_lng\": -122.4194,\n    \"area_polygon\": [[37.7749, -122.4194], [37.7849, -122.4094], [37.7949, -122.4194], [37.7949, -122.4294], [37.7849, -122.4294], [37.7749, -122.4194]],\n    \"profile_picture_temp\": \"{{storage_path}}\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/1/propriedades",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"propriedades"
							]
						}
					},
					"response": []
				},
				{
					"name": "Ordens de Instalação",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"zona_id\": 7,\n    \"quantity\": 1,\n    \"description\": \"Dolores deserunt ipsam et excepturi quo aspernatur.\",\n    \"target_date\": \"2012-12-12\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/1/ordens-instalacao",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"ordens-instalacao"
							]
						}
					},
					"response": []
				},
				{
					"name": "Produtos",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"nome\": \"Milho\",\n    \"descricao\": \"Milho (genética xyz123)\",\n    \"default_ativos_referencias\": [\n        {\n            \"ativo_medicao_id\": 1,\n            \"min_val\": 0,\n            \"max_val\": 1.2\n        },\n        {\n            \"ativo_medicao_id\": 2,\n            \"min_val\": 12,\n            \"max_val\": 16\n        },\n        {\n            \"ativo_medicao_id\": 3,\n            \"min_val\": 10,\n            \"max_val\": 15\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/1/produtos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"produtos"
							]
						}
					},
					"response": []
				},
				{
					"name": "Instalacoes",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"equipamento_code\": \"expedita\",\n    \"ordem_instalacao_id\": 2,\n    \"latitude\": 21.953638,\n    \"longitude\": -148.91996,\n    \"installation_picture_temp\": \"{{storage_path}}\",\n    \"installation_observation\": \"Placeat sint at nemo.\",\n    \"installed_at\": \"2024-11-06 05:08:49\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/1/instalacoes",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"instalacoes"
							]
						}
					},
					"response": []
				},
				{
					"name": "Silobags",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"zona_id\": 7,\n  \"produto_id\": 2,\n  \"identificacao\": \"Bag Teste 1\",\n  \"descricao\": \"teste 1235123412341234\",\n  \"center_lat\": 23.4577141,\n  \"center_lng\": 37.5066109,\n  \"length\": 5,\n  \"reta\": [\n    [\n      23.4577141,\n      37.5066109\n    ],\n    [\n      23.4577141,\n      37.5066109\n    ],\n    [\n      23.4577141,\n      37.5066109\n    ]\n  ],\n  \"referencia_id\": 1,\n//   \"ativos_referencias\": {\n//     \"title\": \"Verão\",\n//     \"data\": [\n//         {\n//             \"ativo_medicao_id\": 2,\n//             \"min_val\": 2,\n//             \"max_val\": 20\n//         },\n//         {\n//             \"ativo_medicao_id\": 2,\n//             \"min_val\": 4,\n//             \"max_val\": 12\n//         },\n//         {\n//             \"ativo_medicao_id\": 3,\n//             \"min_val\": 35,\n//             \"max_val\": 77\n//         }\n//     ]\n//   },\n  \"fatias\": [\n      {\n        \"template\": \"C\",\n        \"metro_inicial\": 0,\n        \"metro_final\": 3,\n        \"secoes\": [\n                {\n                    \"identificacao\": \"1\",\n                    \"observacao\": \"123\"\n                }\n        ]\n      },\n      {\n        \"template\": \"ECD\",\n        \"metro_inicial\": 3,\n        \"metro_final\": 5,\n        \"secoes\": [\n                {\n                    \"identificacao\": \"2\",\n                    \"observacao\": \"123\"\n                },\n                {\n                    \"identificacao\": \"3\",\n                    \"observacao\": \"123\"\n                },\n                {\n                    \"identificacao\": \"4\",\n                    \"observacao\": \"123\"\n                }\n        ]\n      }\n  ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/1/silobags",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"silobags"
							]
						}
					},
					"response": []
				},
				{
					"name": "Zonas",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"propriedade_id\": 2,\n    \"identificacao\": \"identificacao teste\",\n    \"descricao\": \"descricao teste\",\n    \"center_lat\": 37.7749,\n    \"center_lng\": -122.4194,\n    \"area_polygon\": [[37.7749, -122.4194], [37.7849, -122.4094], [37.7949, -122.4194], [37.7949, -122.4294], [37.7849, -122.4294], [37.7749, -122.4194]]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/1/zonas",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"zonas"
							]
						}
					},
					"response": []
				},
				{
					"name": "Produtos",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"nome\": \"Milhoasdfasdfasdf \",\n    \"descricao\": \"Milho (genética xyz123)\",\n    \"default_ativos_referencias\": [\n        {\n            \"ativo_medicao_id\": 1,\n            \"min_val\": 0,\n            \"max_val\": 1.2\n        },\n        {\n            \"ativo_medicao_id\": 2,\n            \"min_val\": 12,\n            \"max_val\": 16\n        },\n        {\n            \"ativo_medicao_id\": 3,\n            \"min_val\": 10,\n            \"max_val\": 15\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/empresas/3/produtos/4",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"3",
								"produtos",
								"4"
							]
						}
					},
					"response": []
				},
				{
					"name": "Ordens de Instalação start",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/ordens-instalacao/2/start",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"ordens-instalacao",
								"2",
								"start"
							]
						}
					},
					"response": []
				},
				{
					"name": "Ordens de Instalação finish",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "pt-BR",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/empresas/1/ordens-instalacao/2/finish",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"empresas",
								"1",
								"ordens-instalacao",
								"2",
								"finish"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Equipamentos",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/equipamentos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"equipamentos"
							]
						}
					},
					"response": []
				},
				{
					"name": "Show",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/equipamentos/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"equipamentos",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"code\":  \"yudidoplaystashon\",\n    \"tipo\": \"SONDA\",\n    \"modelo\": \"modelotestz\",\n    \"versao_hardware\": \"1.12.2\",\n    \"versao_software\": \"1.2.3\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/equipamentos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"equipamentos"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/equipamentos/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"equipamentos",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Destroy",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/equipamentos/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"equipamentos",
								"1"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Files",
			"item": [
				{
					"name": "Upload",
					"event": [
						{
							"listen": "test",
							"script": {
								"exec": [
									"// Parse o JSON da resposta",
									"const response = pm.response.json();",
									"",
									"// Verifique se a resposta contém a URL esperada",
									"if (response.url) {",
									"    // Extrair a URL da resposta",
									"    const url = response.url;",
									"",
									"    // Usar uma expressão regular para extrair disk, filePath e signature",
									"    const regex = /\\/private-storage\\/([^/]+)\\/([^?]+)\\?signature=(.+)/;",
									"    const matches = url.match(regex);",
									"    console.log(matches);",
									"    if (matches) {",
									"        // Configurar as variáveis extraídas no ambiente",
									"        pm.collectionVariables.set(\"disk\", matches[1]);",
									"        pm.collectionVariables.set(\"filePath\", matches[2]);",
									"        pm.collectionVariables.set(\"signature\", matches[3]);",
									"    } else {",
									"        console.error(\"O formato da URL não corresponde ao padrão esperado.\");",
									"    }",
									"} else {",
									"    console.error(\"A resposta não contém a URL esperada.\");",
									"}",
									"",
									"if(response.file_name){",
									"    pm.environment.set(\"storage_path\", response.file_name);",
									"}"
								],
								"type": "text/javascript",
								"packages": {}
							}
						}
					],
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "file",
									"type": "file",
									"src": "/home/vitor/Downloads/pngwing.com.png"
								},
								{
									"key": "code",
									"value": "g1234tvq",
									"type": "text",
									"disabled": true
								}
							]
						},
						"url": {
							"raw": "{{base_url}}/file-upload",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"file-upload"
							]
						}
					},
					"response": []
				},
				{
					"name": "Get Private",
					"request": {
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "http://172.16.235.180/e-silobag/private-storage/{{disk}}/{{filePath}}?signature={{signature}}",
							"protocol": "http",
							"host": [
								"172",
								"16",
								"235",
								"180"
							],
							"path": [
								"e-silobag",
								"private-storage",
								"{{disk}}",
								"{{filePath}}"
							],
							"query": [
								{
									"key": "signature",
									"value": "{{signature}}"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Http Logs",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/http-logs",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"http-logs"
							]
						}
					},
					"response": []
				},
				{
					"name": "List Configs",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/http-logs/configs",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"http-logs",
								"configs"
							]
						}
					},
					"response": []
				},
				{
					"name": "Config",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"routes\": [\n        {\n            \"path\": \"api/coletas/{coleta}\",\n            \"isAuditing\": false,\n            \"description\": null,\n            \"http_method\": \"DELETE\"\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/http-logs/configs",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"http-logs",
								"configs"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Instalação",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/instalacoes",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"instalacoes"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"equipamento_code\": \"expedita\",\n    \"ordem_instalacao_id\": 2,\n    \"latitude\": 21.953638,\n    \"longitude\": -148.91996,\n    \"installation_picture_temp\": \"{{storage_path}}\",\n    \"installation_observation\": \"Placeat sint at nemo.\",\n    \"installed_at\": \"2024-11-06 05:08:49\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/instalacoes",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"instalacoes"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Ordens Instalação",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/ordens-instalacao",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"ordens-instalacao"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"zona_id\": 2,\n    \"quantity\": 2,\n    \"description\": \"Dolores deserunt ipsam et excepturi quo aspernatur.\",\n    \"target_date\": \"2012-11-07\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/ordens-instalacao",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"ordens-instalacao"
							]
						}
					},
					"response": []
				},
				{
					"name": "Start",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "pt-BR",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/ordens-instalacao/2/start",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"ordens-instalacao",
								"2",
								"start"
							]
						}
					},
					"response": []
				},
				{
					"name": "Finish",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PATCH",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "pt-BR",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"finished_at\": \"2024-11-05 10:11:22\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/ordens-instalacao/2/finish",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"ordens-instalacao",
								"2",
								"finish"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Produtos",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/produtos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"produtos"
							]
						}
					},
					"response": []
				},
				{
					"name": "Show",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Language",
								"value": "pt",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/produtos/1?relationships[]=referenciaDefault.ativos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"produtos",
								"1"
							],
							"query": [
								{
									"key": "relationships[]",
									"value": "referenciaDefault.ativos"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"empresa_id\": \"1\",\n    \"nome\": \"Milho\",\n    \"descricao\": \"Milho (genética xyz123)\",\n    \"default_ativos_referencias\": [\n        {\n            \"ativo_medicao_id\": 1,\n            \"min_val\": 0,\n            \"max_val\": 1.2\n        },\n        {\n            \"ativo_medicao_id\": 2,\n            \"min_val\": 12,\n            \"max_val\": 16\n        },\n        {\n            \"ativo_medicao_id\": 3,\n            \"min_val\": 10,\n            \"max_val\": 15\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/produtos",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"produtos"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"empresa_id\": 1,\n    \"nome\": \"nome teste atualizado\",\n    \"descricao\": \"descrição teste\",\n    \"default_ativos_referencias\": [\n        {\n            \"ativo_medicao_id\": 1,\n            \"min_val\": 0,\n            \"max_val\": 1.2\n        },\n        {\n            \"ativo_medicao_id\": 2,\n            \"min_val\": 12,\n            \"max_val\": 16\n        },\n        {\n            \"ativo_medicao_id\": 3,\n            \"min_val\": 10,\n            \"max_val\": 15\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/produtos/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"produtos",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/produtos/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"produtos",
								"1"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Propriedades",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/propriedades",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"propriedades"
							]
						}
					},
					"response": []
				},
				{
					"name": "Show",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/propriedades/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"propriedades",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"empresa_id\": 1,\n    \"nome\": \"teste propriedade\",\n    \"descricao\": \"descricao propriedade\",\n    \"center_lat\": 37.7749,\n    \"center_lng\": -122.4194,\n    \"area_polygon\": [[37.7749, -122.4194], [37.7849, -122.4094], [37.7949, -122.4194], [37.7949, -122.4294], [37.7849, -122.4294], [37.7749, -122.4194]],\n    \"profile_picture_temp\": \"{{storage_path}}\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/propriedades",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"propriedades"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"empresa_id\": 1,\n    \"nome\": \"teste propriedade 123\",\n    \"descricao\": \"descricao propriedade 321\",\n    \"center_lat\": 37.7749,\n    \"center_lng\": -122.4194,\n    \"area_polygon\": [[36.7749, -122.4194], [37.7849, -122.4094], [37.7949, -122.4194], [37.7949, -122.4294], [37.7849, -122.4294], [37.7749, -122.4194]],\n    \"profile_picture_temp\": \"{{storage_path}}\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/propriedades/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"propriedades",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/propriedades/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"propriedades",
								"1"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Silobag",
			"item": [
				{
					"name": "Index",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"routes\": [\n    {\n        \"path\": \"api/comodatos/{comodato}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/empresas/{empresa}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/equipamentos/{equipamento}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/ordens-instalacao/{ordens_instalacao}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/produtos/{produto}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/propriedades/{propriedade}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/referencias/{referencia}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/silobags/{silobag}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/zonas/{zona}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"DELETE\"\n    },\n    {\n        \"path\": \"api/ordens-instalacao/{ordens_instalacao}/finish\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PATCH\"\n    },\n    {\n        \"path\": \"api/ordens-instalacao/{ordens_instalacao}/start\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PATCH\"\n    },\n    {\n        \"path\": \"api/auth/login\",\n        \"isAuditing\": true,\n        \"description\": \"Faz login no sistema\",\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/auth/logout\",\n        \"isAuditing\": false,\n        \"description\": \"Faz logout no sistema\",\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/auth/password-recover/start\",\n        \"isAuditing\": false,\n        \"description\": \"Inicia processo de recuperação de senha\",\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/auth/password-recover/url/{hash}\",\n        \"isAuditing\": false,\n        \"description\": \"Retorna a URL para recuperação de senha\",\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/comodatos\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/empresas\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/equipamentos\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/file-upload\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/http-logs/configs\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/instalacoes\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/ordens-instalacao\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/produtos\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/propriedades\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/referencias\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/silobags\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/sync\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/zonas\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"POST\"\n    },\n    {\n        \"path\": \"api/auth/password-recover/update/{token}\",\n        \"isAuditing\": false,\n        \"description\": \"Atualiza a senha do usuário\",\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/comodatos/{comodato}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/empresas/{empresa}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/equipamentos/{equipamento}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/ordens-instalacao/{ordens_instalacao}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/produtos/{produto}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/propriedades/{propriedade}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/referencias/{referencia}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/silobags/{silobag}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    },\n    {\n        \"path\": \"api/zonas/{zona}\",\n        \"isAuditing\": false,\n        \"description\": null,\n        \"http_method\": \"PUT\"\n    }\n]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/silobags",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"silobags"
							]
						},
						"description": "This endpoint makes an HTTP GET request to retrieve silobags with a filter based on zona_id and includes the relationships with fatias.secoes. The request payload includes a routes array with path, isAuditing, description, and http_method properties.\n\n### Response\n\nThe response of this request is as follows:\n\n``` json\n{\n  \"type\": \"object\",\n  \"properties\": {\n    \"data\": {\n      \"type\": \"array\",\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          // Properties of the silobags data\n        }\n      }\n    }\n  }\n}\n\n ```"
					},
					"response": []
				},
				{
					"name": "Show",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/silobags/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"silobags",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "Accept-Encoding",
								"value": "utf-8",
								"type": "text",
								"disabled": true
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"zona_id\": 1,\n  \"produto_id\": 1,\n  \"identificacao\": \"Bag Teste 7275\",\n  \"descricao\": \"teste 1235123412341234\",\n  \"center_lat\": 23.4577141,\n  \"center_lng\": 37.5066109,\n  \"length\": 5,\n  \"reta\": [\n    [\n      23.4577141,\n      37.5066109\n    ],\n    [\n      23.4577141,\n      37.5066109\n    ],\n    [\n      23.4577141,\n      37.5066109\n    ]\n  ],\n  \"referencia_id\": 1,\n//   \"ativos_referencias\": {\n//     \"data\": [\n//         {\n//             \"ativo_medicao_id\": 2,\n//             \"min_val\": 2,\n//             \"max_val\": 20\n//         },\n//         {\n//             \"ativo_medicao_id\": 2,\n//             \"min_val\": 4,\n//             \"max_val\": 12\n//         },\n//         {\n//             \"ativo_medicao_id\": 3,\n//             \"min_val\": 35,\n//             \"max_val\": 77\n//         }\n//     ]\n//   },\n  \"fatias\": [\n      {\n        \"template\": \"C\",\n        \"metro_inicial\": 0,\n        \"metro_final\": 3,\n        \"secoes\": [\n                {\n                    \"identificacao\": \"1\",\n                    \"observacao\": \"123\"\n                }\n        ]\n      },\n      {\n        \"template\": \"ECD\",\n        \"metro_inicial\": 3,\n        \"metro_final\": 5,\n        \"secoes\": [\n                {\n                    \"identificacao\": \"2\",\n                    \"observacao\": \"123\"\n                },\n                {\n                    \"identificacao\": \"3\",\n                    \"observacao\": \"123\"\n                },\n                {\n                    \"identificacao\": \"4\",\n                    \"observacao\": \"123\"\n                }\n        ]\n      }\n  ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/silobags",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"silobags"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n  \"zona_id\": 1,\n  \"produto_id\": 1,\n  \"identificacao\": \"Bag Teste 7275\",\n  \"descricao\": \"teste 1235123412341234\",\n  \"center_lat\": 23.4577141,\n  \"center_lng\": 37.5066109,\n  \"length\": 5,\n  \"reta\": [\n    [\n      23.4577141,\n      37.5066109\n    ],\n    [\n      23.4577141,\n      37.5066109\n    ],\n    [\n      23.4577141,\n      37.5066109\n    ]\n  ],\n  \"referencia_id\": 1,\n//   \"ativos_referencias\": {\n//     \"data\": [\n//         {\n//             \"ativo_medicao_id\": 2,\n//             \"min_val\": 2,\n//             \"max_val\": 20\n//         },\n//         {\n//             \"ativo_medicao_id\": 2,\n//             \"min_val\": 4,\n//             \"max_val\": 12\n//         },\n//         {\n//             \"ativo_medicao_id\": 3,\n//             \"min_val\": 35,\n//             \"max_val\": 77\n//         }\n//     ]\n//   },\n  \"fatias\": [\n      {\n        \"template\": \"C\",\n        \"metro_inicial\": 0,\n        \"metro_final\": 3,\n        \"secoes\": [\n                {\n                    \"identificacao\": \"1\",\n                    \"observacao\": \"123\"\n                }\n        ]\n      },\n      {\n        \"template\": \"ECD\",\n        \"metro_inicial\": 3,\n        \"metro_final\": 5,\n        \"secoes\": [\n                {\n                    \"identificacao\": \"2\",\n                    \"observacao\": \"123\"\n                },\n                {\n                    \"identificacao\": \"3\",\n                    \"observacao\": \"123\"\n                },\n                {\n                    \"identificacao\": \"4\",\n                    \"observacao\": \"123\"\n                }\n        ]\n      }\n  ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/silobags/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"silobags",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/silobag/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"silobag",
								"1"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Sync Offline",
			"item": [
				{
					"name": "Sync",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"requests\": [\n        {\n            \"method\": \"POST\",\n            \"path\": \"equipamentos\",\n            \"created_at\": \"2024-11-22 10:49:00\",\n            \"body\": {\n                \"code\":  \"asdfgsdfdddddg\",\n                \"tipo\": \"SONDA\",\n                \"modelo\": \"syncModel\",\n                \"versao_hardware\": \"1.1.2\",\n                \"versao_software\": \"1.2.2\"\n            }\n        }\n    ]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/sync",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"sync"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Zonas",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/zonas",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"zonas"
							]
						}
					},
					"response": []
				},
				{
					"name": "Show",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/zonas/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"zonas",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Store",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"propriedade_id\": 2,\n    \"identificacao\": \"identificacao teste\",\n    \"descricao\": \"descricao teste\",\n    \"center_lat\": 37.7749,\n    \"center_lng\": -122.4194,\n    \"area_polygon\": [[37.7749, -122.4194], [37.7849, -122.4094], [37.7949, -122.4194], [37.7949, -122.4294], [37.7849, -122.4294], [37.7749, -122.4194]]\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/zonas",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"zonas"
							]
						}
					},
					"response": []
				},
				{
					"name": "Update",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "PUT",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"body": {
							"mode": "raw",
							"raw": "{\n    \"propriedade_id\": \"1\",\n    \"empresa_id\": \"1\",\n    \"identificacao\": \"identificacao teste\",\n    \"descricao\": \"descricao teste 123\",\n    \"center_lat\": 37.7749,\n    \"center_lng\": -122.4194,\n    \"area_polygon\": [[37.7749, -122.4194], [37.7849, -122.4094], [37.7949, -122.4194], [37.7949, -122.4294], [37.7849, -122.4294], [37.7749, -122.4194]],\n    \"profile_picture\": \"localhost\"\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "{{base_url}}/zonas/1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"zonas",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "Delete",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9sb2NhbGhvc3Q6ODAwMFwvYXBpXC9sb2dpbiIsImlhdCI6MTcwNzMxNzMyOSwiZXhwIjoxNzA3MzIwOTI5LCJuYmYiOjE3MDczMTczMjksImp0aSI6IkNOSXNVc0lka3JuM3BnYVUiLCJzdWIiOjEsInBydiI6ImViYzdiYTFjZWRjMWNlZGE4NmZmOGY0OWQ1MWRkYWFjNzJmZDA5NWIifQ.8Abmo8mGoTyZM9iJVWjsfef_DVDpd84Z7_07rDM9G1A",
									"type": "string"
								}
							]
						},
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "{{base_url}}/zona/2",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"zona",
								"2"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Notifications",
			"item": [
				{
					"name": "Index",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/notifications",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"notifications"
							]
						}
					},
					"response": []
				},
				{
					"name": "Read",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "POST",
						"header": [],
						"url": {
							"raw": "{{base_url}}/notifications/8/read",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"notifications",
								"8",
								"read"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "websocket",
			"item": [
				{
					"name": "http://web.localhost.com/broadcasting/auth",
					"event": [
						{
							"listen": "prerequest",
							"script": {
								"exec": [
									""
								],
								"type": "text/javascript",
								"packages": {}
							}
						}
					],
					"request": {
						"method": "POST",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							},
							{
								"key": "x-xsrf-token",
								"value": "eyJpdiI6IjR3RHdYWjByTWQ0aDRieXVqV2lheUE9PSIsInZhbHVlIjoiTDg2Z2puUWRCdzQ1MXhsS2Q1UmF1L3RUKytSM1lmRTFZazAraXl5MlBHL25YT3d2QzhiZmIwcU5lNkxvZ2loTi9UUmxoVUZaU3c3dlA5S2xHMjNKemF5QjFuUlU5cUlEWXVETExzcTJMTUdETnl3YUhzZFJwWEowM1FtdWZEeFAiLCJtYWMiOiI5ODEwOTg3Y2UzMzYzNzRmZDllZDcxYzBiZGM4MDVlMzFiYjVmNmVjNzA1ZmM0MTZkNzIxYzk3OWIwOGJmZDE5IiwidGFnIjoiIn=",
								"type": "text"
							},
							{
								"key": "Referer",
								"value": "http://localhost",
								"type": "text"
							},
							{
								"key": "Origin",
								"value": "http://localhost",
								"type": "text"
							}
						],
						"body": {
							"mode": "formdata",
							"formdata": [
								{
									"key": "socket_id",
									"value": "379355844.499238073",
									"type": "text"
								},
								{
									"key": "channel_name",
									"value": "private-global.notification",
									"type": "text"
								}
							]
						},
						"url": {
							"raw": "http://localhost/broadcasting/auth",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"path": [
								"broadcasting",
								"auth"
							]
						}
					},
					"response": []
				}
			],
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"type": "text/javascript",
						"packages": {},
						"exec": [
							"const jar = pm.cookies.jar();",
							"",
							"jar.get('http://spa.localhost.com', \"XSRF-TOKEN\", (err, cookie) => {",
							"    console.log(cookie)",
							"    pm.request.addHeader({",
							"        key: \"X-XSRF-TOKEN\",",
							"        value: cookie",
							"    });",
							"",
							"    pm.request.addHeader({",
							"        key: 'Referer',",
							"        value: 'http://spa.localhost.com'",
							"    });",
							"})"
						]
					}
				},
				{
					"listen": "test",
					"script": {
						"type": "text/javascript",
						"packages": {},
						"exec": [
							""
						]
					}
				}
			]
		},
		{
			"name": "Dashboard",
			"item": [
				{
					"name": "Readings",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [],
						"url": {
							"raw": "{{base_url}}/dashboard/readings?empresaId=1&equipamentoId=16&date=2024-12-20",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"dashboard",
								"readings"
							],
							"query": [
								{
									"key": "empresaId",
									"value": "1"
								},
								{
									"key": "equipamentoId",
									"value": "16"
								},
								{
									"key": "date",
									"value": "2024-12-20"
								}
							]
						}
					},
					"response": []
				},
				{
					"name": "Readings",
					"request": {
						"auth": {
							"type": "bearer",
							"bearer": [
								{
									"key": "token",
									"value": "{{accessToken}}",
									"type": "string"
								}
							]
						},
						"method": "GET",
						"header": [
							{
								"key": "Accept",
								"value": "application/json",
								"type": "text"
							}
						],
						"url": {
							"raw": "{{base_url}}/leituras/datatable?empresaId=1",
							"host": [
								"{{base_url}}"
							],
							"path": [
								"leituras",
								"datatable"
							],
							"query": [
								{
									"key": "empresaId",
									"value": "1"
								}
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "Translations",
			"item": []
		}
	],
	"event": [
		{
			"listen": "prerequest",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		},
		{
			"listen": "test",
			"script": {
				"type": "text/javascript",
				"packages": {},
				"exec": [
					""
				]
			}
		}
	],
	"variable": [
		{
			"key": "base_url",
			"value": "localhost:8000/api",
			"type": "default"
		},
		{
			"key": "recover-token",
			"value": "56730",
			"type": "default"
		},
		{
			"key": "accessToken",
			"value": ""
		},
		{
			"key": "recover-hash",
			"value": "",
			"type": "default"
		},
		{
			"key": "expires",
			"value": "",
			"type": "default"
		},
		{
			"key": "signature",
			"value": "",
			"type": "default"
		},
		{
			"key": "update-id",
			"value": "",
			"type": "default"
		},
		{
			"key": "disk",
			"value": "",
			"type": "default"
		},
		{
			"key": "filePath",
			"value": "",
			"type": "default"
		},
		{
			"key": "storage_path",
			"value": "2024-12-12_11:19:42_phpdFUvnr",
			"type": "default"
		}
	]
}