projeto-hit/frontend/src/components/Report/MTable/data.js

206 lines
6.7 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

import { gridDateTimeFormatter } from "@mui/x-data-grid";
export const data = [
{
"id": 210,
"status": "closed",
"createdAt": "2022-01-18T20:24:23.000Z",
"updatedAt": "2022-01-18T20:26:10.000Z",
"contact": {
"name": "WhatsApp",
"number": "5517988325936"
},
"user": {
"name": "Administrador",
"email": "admin@whaticket.com"
},
"queue": {
"name": "Cobrança"
},
"messages": [
{
"id": 1,
"mediaUrl": null,
"body": "Ola",
"read": true,
"mediaType": "chat",
"fromMe": false,
"createdAt": "2022-01-18T20:24:24.007Z"
},
{
"id": 2,
"mediaUrl": null,
"body": "HIT COMMUNICATIONS 🇧🇷\n\nBem vindo ao novo canal digital de atendimento ao cliente. Escolha uma opção do MENU abaixo 👇 e digite o número:\n*1* - Atendimento a Fornecedores\n*2* - Cancelamento ou Sugestões\n*3* - Cobrança\n*4* - Comercial\n*5* - Contas a Pagar\n*6* - Suporte Técnico\n",
"read": true,
"mediaType": "chat",
"fromMe": true,
"createdAt": "2022-01-18T20:24:27.097Z"
},
{
"id": 3,
"mediaUrl": null,
"body": "G",
"read": true,
"mediaType": "chat",
"fromMe": false,
"createdAt": "2022-01-18T20:24:37.923Z"
},
{
"id": 4,
"mediaUrl": null,
"body": "HIT COMMUNICATIONS 🇧🇷\n\nBem vindo ao novo canal digital de atendimento ao cliente. Escolha uma opção do MENU abaixo 👇 e digite o número:\n*1* - Atendimento a Fornecedores\n*2* - Cancelamento ou Sugestões\n*3* - Cobrança\n*4* - Comercial\n*5* - Contas a Pagar\n*6* - Suporte Técnico\n",
"read": true,
"mediaType": "chat",
"fromMe": true,
"createdAt": "2022-01-18T20:24:40.980Z"
},
{
"id": 5,
"mediaUrl": null,
"body": "3",
"read": true,
"mediaType": "chat",
"fromMe": false,
"createdAt": "2022-01-18T20:24:57.888Z"
},
{
"id": 6,
"mediaUrl": null,
"body": "Olá sou da Cobrança, vou te atender em alguns instantes!",
"read": true,
"mediaType": "chat",
"fromMe": true,
"createdAt": "2022-01-18T20:24:58.580Z"
},
{
"id": 7,
"mediaUrl": null,
"body": "Ok",
"read": true,
"mediaType": "chat",
"fromMe": false,
"createdAt": "2022-01-18T20:25:05.310Z"
},
{
"id": 8,
"mediaUrl": null,
"body": "*Administrador:*\nOlá no que posso ajudar",
"read": true,
"mediaType": "chat",
"fromMe": true,
"createdAt": "2022-01-18T20:25:32.291Z"
},
{
"id": 9,
"mediaUrl": null,
"body": "Aqui ta chovendo",
"read": true,
"mediaType": "chat",
"fromMe": false,
"createdAt": "2022-01-18T20:25:52.922Z"
},
{
"id": 10,
"mediaUrl": null,
"body": "*Administrador:*\nCerto boa tarde",
"read": true,
"mediaType": "chat",
"fromMe": true,
"createdAt": "2022-01-18T20:26:04.360Z"
}
]
},
{
"id":229,
"status":"closed",
"createdAt":"2022-01-24T13:20:01.000Z",
"updatedAt":"2022-01-24T13:21:02.000Z",
"contact":{
"name":"Meu Numero Oi",
"number":"5517988325936"
},
"user":{
"name":"Administrador",
"email":"admin@whaticket.com"
},
"queue":{
"name":"Cancelamento ou Sugestões"
},
"messages":[
{
"mediaUrl":null,
"body":"Bom dia",
"read":true,
"mediaType":"chat",
"fromMe":false,
"createdAt":"2022-01-24T13:20:01.562Z"
},
{
"mediaUrl":null,
"body":"HIT COMMUNICATIONS 🇧🇷\n\nBem vindo ao novo canal digital de atendimento ao cliente. Escolha uma opção do MENU abaixo 👇 e digite o número:\n*1* - Atendimento a Fornecedores\n*2* - Cancelamento ou Sugestões\n*3* - Cobrança\n*4* - Comercial\n*5* - Contas a Pagar\n*6* - Suporte Técnico\n",
"read":true,
"mediaType":"chat",
"fromMe":true,
"createdAt":"2022-01-24T13:20:04.674Z"
},
{
"mediaUrl":null,
"body":"2",
"read":true,
"mediaType":"chat",
"fromMe":false,
"createdAt":"2022-01-24T13:20:08.617Z"
},
{
"mediaUrl":null,
"body":"Olá, sou do Cancelamento ou Sugestões, vou te atender em alguns instantes!",
"read":true,
"mediaType":"chat",
"fromMe":true,
"createdAt":"2022-01-24T13:20:09.216Z"
},
{
"mediaUrl":null,
"body":"Ok obrigado",
"read":true,
"mediaType":"chat",
"fromMe":false,
"createdAt":"2022-01-24T13:20:13.902Z"
},
{
"mediaUrl":null,
"body":"*Administrador:*\nOlá bom dia como posso ajudar",
"read":true,
"mediaType":"chat",
"fromMe":true,
"createdAt":"2022-01-24T13:20:34.561Z"
},
{
"mediaUrl":null,
"body":"Estou com problemas técnicos",
"read":true,
"mediaType":"chat",
"fromMe":false,
"createdAt":"2022-01-24T13:20:54.191Z"
},
{
"mediaUrl":null,
"body":"*Administrador:*\nok",
"read":true,
"mediaType":"chat",
"fromMe":true,
"createdAt":"2022-01-24T13:20:57.847Z"
}
],
"tableData":{
"id":0
}
}
]