rapida-partner 1.16.3 → 1.16.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rapida-partner",
3
- "version": "1.16.3",
3
+ "version": "1.16.5",
4
4
  "main": "dist/index.js",
5
5
  "module": "index.ts",
6
6
  "files": [
package/rapidaObject.json CHANGED
@@ -1 +1 @@
1
- {"id":"movieBackoffice","title":"Movie Backoffice","description":"Sistema de gerenciamento para filmes e personagens.","flow":"backofficeOpenedWithoutPermissions","businessPlan":{"businessValue":"Gerenciar e otimizar as operações do Movie.","targetMarket":"Empresas que utilizam o Movie para gerenciar sugestões e feedbacks.","benchmarkings":"Análise de sistemas de gerenciamento de feedbacks.","legalIssues":"Conformidade com leis de proteção de dados.","ethicalIssues":"Garantir a privacidade dos usuários.","afterSales":"Suporte contínuo e atualizações regulares.","monetization":"Assinaturas mensais para acesso ao sistema."},"frontend":{"framework":"react","uiKit":"flowbite"},"backend":{"framework":"nest","jwtSecret":"Kunl4t3kw1llN3v3rD13M0th3rFudg3r","database":{"provider":"mongodb","connectionString":"mongodb+srv://kunlatek:Kunl4t3kw1llN3v3rD132025@cluster0.b0pfr.mongodb.net/movie-v1","credentials":{"databaseName":"movie-v1","username":"kunlatek","password":"Kunl4t3kw1llN3v3rD132025","host":"cluster0.b0pfr.mongodb.net"}},"storage":{"provider":"gcs","credentials":{"clientEmail":"rapida-personal@rapida-personal-projects.iam.gserviceaccount.com","privateKey":"-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDCDEQRUfKKxYUj\nVorX+aiEHhPRrrcNHVw40qq517wP7IgIp2UlA5uf0rV2cdn1njA9RMQxp6l7Qt+0\nBZg1JZM8l9Uv1SckRlkKST4k2B3MDOEl1riAPxIE/jBCUT9l2DCbir0Nu+CqGhGD\nUXOMpF0XWYL9GIBRo8Paf//yU0b86VBDfQGgnFkMKFq3bVDkPd8hQTBgTFT5F1Rh\nDcoUpAp/n3SYxkAK1V7Je+fnChF1DQPj8Nd5CLm4DsCM1B+HtaegsaE1ulXwhi1J\nlIFFGv49g0f2qOs3hytTPt0d8UpxFd9/Oq0tmcjuzK4bYzJdVZZPf+4xflHz+6R8\n2o7grTeDAgMBAAECggEABHdsz6s/tnMCdARHcN41w0i/8wke/IXK/CHZPSrakNFE\ndlKIEPiKyfx7Ic1QE4e/G4HsNCpkS8qHxKiGTt7dCz2BcjbpTjvyS7rQ298/nFVF\nj23oVEdfXk8NhFFDcNAvmjzwyhKjgrbT5V5oFvonjGSKj9HTDk4DMZHVrdm93g9k\nZ9XJBVeLh14/rkZLMDZ9DVjUMiQ6xElMH3IQD4MwEcul9eqM8bs2APgZlzzfO76m\nAuq20l4JqOcJJl8wzC7z12eNDNJrQNh2sHsT9zV5PabfNoQhnU6fDvKr0PG0PGRR\nS5PTDeiMY47rJVPgwxthSke3abtdgA9SNie8OqZl6QKBgQD+yFT+ndFYKvHg2WNi\ns0jK0QqFQB84LQtOX2YhQ0137mtSv0z7wO90e28dfUqsjax4DxPMp+AW0cC3SBEv\n2T8/rJrgzGucPt4Jzml5HYl2NgCkNAtHIJ1vtXJdX5d3WmYhH7cUTPmV6nMS8OlF\nheSyfudCiOo89phQf0pI6lhQKwKBgQDC+aOU2cxMVA5VH0txX0G9tPQjBvzY09ev\nVLGrxlmdAcQVXYCWdoESEfTv3E4JPklAz5B2/XnALxM5ewJgjoP6buOCJrQcgJNC\nSsG9Ll3zF4c+opFmaYTzcAY9HWHa4Pc+GAxFrrcPGzVBLjSrl7FPdykkPiBNxNJa\nnOzzrL4yCQKBgQC7b/pHjycx6/YiawuY0zjcLMnGmhPdqhXFRJ3IHtFhR/+g0qf6\nFkiTszNdyI0lQNz/PmhciaxsXUegDt7GCtdjKsKOWxVXz1BeeoJR3g8A7l2ub7NU\nUoRAaIaIdwjhf5nfCIwR3UdIqUCbUKzsvsIvJvlPk5Zv3yLTJbIqzmzGHQKBgBiQ\nnUSGwE+pk3i0DaxGBSFiqBO1sKuc3SLQ9+WdgvLeIxdSBX5vhcmCC6sgxZAykcYh\noKDtRKarB7AJSH5j1kr6J53hRHYG2QbUJl6wddPH1hlVIB6YEtEc/xw6FHcgOuZO\n31T0M0oq8mW47Zfk78kESWGwlh9WOe6CsPPugrQJAoGBAP3o8DqH1Pb7vlowsz78\n8fsCuydEJgsPSwHHqBveeUHBQLGSiGIIKRXWR1a13mWXQTqQkROZCwvVCMX6FHZZ\nKv3rzgsTkaaoqM0RVLcQSSDoyu2yP/JJv+VYsvMf2S3dUkDAeYDZFizPeFF42t92\n+MSId41OkBvJ/JvqsBWlWFYK\n-----END PRIVATE KEY-----\n","projectId":"rapida-personal-projects"},"publicBucketName":"rapida-public-files","privateBucketName":"rapida-private-files"},"logging":{"discordWebhookUrl":"https://discord.com/api/webhooks/1370095507959054429/Ay8pIM-sinbjsLMAAWGrRDFT-oyBD3xu7yB2Ke0Bx6RxpKN882taB4_tkD2xsdk8MirZ"},"email":{"smtpUser":"noreply.rapida@gmail.com","smtpPass":"ekgwxlazvjjllfxf","smtpFrom":"noreply@kunlatek.com"},"baseUrl":"http://localhost:5173"},"modules":[{"id":"movieModule","title":"Filme","icon":"movie","components":[{"title":"Gerenciar filme","userStory":"Como um usuário autorizado, eu quero usar o formulário de gerenciamento de filmes para cadastrar e editar filmes, incluindo a foto, o nome, a descrição, a data de lançamento, a pontuação no IMDb e os gêneros associados. Quero também ter a opção de adicionar e gerenciar episódios, incluindo seus títulos, descrições, datas de lançamento e personagens relacionados. Isso me permite manter um registro completo e detalhado do conteúdo audiovisual no sistema.","componentType":"form","id":"movieForm","guards":"isAuthorized","elements":[{"type":"tab","id":"movieTab","tabs":[{"id":"mainTab","title":"Principal","elements":[{"label":"Foto","type":"file","dataType":"text","name":"pictureFile","storageConfig":{"fileNameStrategy":"uuid","path":"movies","visibility":"public"}},{"type":"input","dataType":"text","label":"Nome","name":"name","isRequired":true},{"type":"input","dataType":"wysiwyg","label":"Descrição","name":"description","isRequired":true},{"type":"input","dataType":"date","label":"Data de lançamento","name":"releaseDate","isRequired":true},{"type":"input","name":"imdbRating","label":"Pontuação do IMDb","dataType":"number","isRequired":true},{"type":"autocomplete","dataType":"text","label":"Gêneros","name":"movieGenres","optionsApi":{"endpoint":"/api/movie-genres","labelField":["name"],"valueField":"_id","paramsToFilter":["name"],"paramType":"query","relatedEntity":"MovieGenre"},"isMultiple":true,"isRequired":true},{"type":"input","name":"link1","label":"Link 1","dataType":"text","isRequired":true},{"type":"input","name":"link2","label":"Link 2","dataType":"text"},{"type":"input","name":"link3","label":"Link 3","dataType":"text"}]},{"id":"castTab","title":"Elenco","elements":[{"label":"Ator / Atriz","type":"array","name":"actors","elements":[{"label":"Ator","type":"autocomplete","dataType":"uniqueidentifier","name":"actorId","optionsApi":{"endpoint":"/actors","labelField":["name"],"valueField":"_id","paramsToFilter":["name"],"paramType":"query","relatedEntity":"Actor"},"isRequired":true},{"label":"Personagem","type":"autocomplete","dataType":"uniqueidentifier","name":"charactersId","isMultiple":true,"optionsApi":{"endpoint":"/characters","labelField":["characterName"],"valueField":"_id","paramsToFilter":["characterName"],"paramType":"query","relatedEntity":"Character"},"isRequired":true}]}]}]}],"contracts":[{"id":"movies","endpoint":"/movies","actions":["create","update","getById","get","softDelete"],"request":{"entity":"Movie","description":"Represents a movie or TV series in the system.","fields":[{"name":"id","dataType":"uniqueidentifier","isRequired":true,"isPrimaryKey":true},{"name":"pictureFile","dataType":"nvarchar","isRequired":false},{"name":"name","dataType":"nvarchar","isRequired":true},{"name":"description","dataType":"longtext","isRequired":true},{"name":"releaseDate","dataType":"date","isRequired":true},{"name":"imdbRating","dataType":"decimal","isRequired":true},{"name":"movieGenres","dataType":"uniqueidentifier","isRequired":true,"foreignKey":{"entity":"MovieGenre","connectionAttribute":"_id","relationship":"many-to-many"}},{"name":"link1","dataType":"nvarchar","isRequired":true},{"name":"link2","dataType":"nvarchar","isRequired":false},{"name":"link3","dataType":"nvarchar","isRequired":false}]}}],"flowChart":{"actors":[{"name":"Usuário","actionsWithElements":[{"verb":"create"},{"verb":"update"},{"verb":"get"},{"verb":"getById"},{"verb":"softDelete"}]}]}},{"componentType":"list","id":"movieList","title":"Lista de filmes","guards":["isAuthorized"],"dataSource":{"endpoint":"/movies","paramType":"query","hasAuthentication":true},"listItems":[{"property":"pictureFile","type":"image","label":"Cartaz","dataType":"nvarchar"},{"property":"name","type":"title","label":"Nome","dataType":"nvarchar"},{"property":"releaseDate","type":"subtitle","label":"Data de lançamento","dataType":"datetime2"},{"property":"movieGenres.name","type":"subtitle","label":"Gênero","dataType":"nvarchar"},{"property":"description","type":"description","label":"Descrição","isHtml":true,"dataType":"longtext"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/movie-form","propertiesAsQueryParam":["_id"]}}},{"label":"Excluir","icon":"delete","action":{"link":{"endpoint":"/movie-list"},"request":{"endpoint":"/movies","verb":"softDelete","propertiesAsPathParam":["_id"],"dialog":{"title":"Excluir conteúdo","message":"Deseja realmente excluir esse conteúdo?"}}}}],"contracts":[{"id":"movies","endpoint":"/movies","actions":["create","update","getById","get","softDelete"],"request":{"entity":"Movie","description":"Represents a movie or TV series in the system.","fields":[{"name":"id","dataType":"uniqueidentifier","isRequired":true,"isPrimaryKey":true},{"name":"pictureFile","dataType":"nvarchar","isRequired":false},{"name":"name","dataType":"nvarchar","isRequired":true},{"name":"description","dataType":"longtext","isRequired":true},{"name":"releaseDate","dataType":"datetime2","isRequired":true},{"name":"imdbRating","dataType":"float","isRequired":true},{"name":"movieGenres","dataType":"uniqueidentifier","isRequired":true,"foreignKey":{"entity":"MovieGenre","connectionAttribute":"_id","relationship":"many-to-many"}},{"name":"link1","dataType":"nvarchar","isRequired":true},{"name":"link2","dataType":"nvarchar","isRequired":false},{"name":"link3","dataType":"nvarchar","isRequired":false}]}}]},{"title":"Gerenciar gênero de filme","userStory":"Como um usuário autorizado, eu quero usar o formulário de gerenciamento de gênero de filme para criar e editar gêneros de filmes, fornecendo um nome e uma descrição para cada um. Isso me permite organizar e categorizar filmes de forma precisa no sistema.","componentType":"form","id":"movieGenreForm","guards":"isAuthorized","elements":[{"type":"input","dataType":"text","label":"Nome","name":"name","isRequired":true},{"type":"input","dataType":"wysiwyg","label":"Descrição","name":"description","isRequired":true}],"contracts":[{"id":"movieGenres","endpoint":"/movie-genres","actions":["create","get","getById","update","softDelete"],"request":{"entity":"movieGenres","description":"","fields":[{"name":"name","dataType":"text","isRequired":true,"maxSize":255},{"name":"description","dataType":"text","isRequired":true,"maxSize":255}]}}]},{"componentType":"list","id":"movieGenreList","title":"Lista de gêneros de filmes","guards":["isAuthorized"],"dataSource":{"endpoint":"/movie-genres","paramType":"query","hasAuthentication":true},"listItems":[{"property":"name","type":"title","label":"Nome","dataType":"nvarchar"},{"property":"description","type":"description","label":"Descrição","isHtml":true,"dataType":"longtext"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/movie-genre-form","propertiesAsQueryParam":["_id"]}}},{"label":"Excluir","icon":"delete","action":{"link":{"endpoint":"/movie-genre-list"},"request":{"endpoint":"/movie-genres","verb":"softDelete","propertiesAsPathParam":["_id"],"dialog":{"title":"Excluir conteúdo","message":"Deseja realmente excluir esse conteúdo?"}}}}],"contracts":[{"id":"movieGenres","endpoint":"/movie-genres","actions":["create","get","getById","update","softDelete"],"request":{"entity":"movieGenres","description":"","fields":[{"name":"name","dataType":"text","isRequired":true,"maxSize":255},{"name":"description","dataType":"text","isRequired":true,"maxSize":255}]}}]},{"title":"Gerenciar episódio","componentType":"form","id":"movieEpisodeForm","elements":[{"label":"Episódio","name":"episodes","type":"array","elements":[{"label":"Título do episódio","name":"episodeTitle","type":"input","dataType":"text","isRequired":true},{"label":"Descrição do episódio","name":"episodeDescription","type":"input","dataType":"wysiwyg"},{"label":"Data de lançamento do episódio","name":"episodeReleaseDate","type":"input","dataType":"date"},{"name":"charactersId","label":"Personagens no episódio","type":"autocomplete","dataType":"text","optionsApi":{"endpoint":"/characters","labelField":["name"],"valueField":"_id","paramsToFilter":["name"],"paramType":"query","relatedEntity":"Character"}}]}],"contracts":[{"id":"moviesEpisodes","endpoint":"/movies-episodes","actions":["create","get","getById","update","softDelete"],"request":{"entity":"MovieEpisode","description":"Represents an episode of a TV series or show.","fields":[{"name":"_id","dataType":"uniqueidentifier","isRequired":true,"isPrimaryKey":true},{"name":"movieId","dataType":"uniqueidentifier","isRequired":true,"foreignKey":{"entity":"Movie","connectionAttribute":"_id","relationship":"one-to-many"}},{"name":"title","dataType":"nvarchar","isRequired":true},{"name":"description","dataType":"longtext","isRequired":true},{"name":"releaseDate","dataType":"datetime2","isRequired":true},{"name":"characters","dataType":"uniqueidentifier","isRequired":false,"foreignKey":{"entity":"Character","connectionAttribute":"_id","relationship":"many-to-many"}}]}}]},{"componentType":"list","id":"movieEpisodeList","title":"Lista de episódios de filmes","guards":["isAuthorized"],"dataSource":{"endpoint":"/movies-episodes","paramType":"query","hasAuthentication":true},"listItems":[{"property":"episodeTitle","type":"title","label":"Título","dataType":"nvarchar"},{"property":"episodeDescription","type":"description","label":"Descrição","isHtml":true,"dataType":"longtext"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/movie-episode-form","propertiesAsQueryParam":["_id"]}}},{"label":"Excluir","icon":"delete","action":{"link":{"endpoint":"/movie-episode-list"},"request":{"endpoint":"/movies-episodes","verb":"softDelete","propertiesAsPathParam":["_id"],"dialog":{"title":"Excluir conteúdo","message":"Deseja realmente excluir esse conteúdo?"}}}}],"contracts":[{"id":"moviesEpisodes","endpoint":"/movies-episodes","actions":["create","get","getById","update","softDelete"],"request":{"entity":"MovieEpisode","description":"Represents an episode of a TV series or show.","fields":[{"name":"_id","dataType":"uniqueidentifier","isRequired":true,"isPrimaryKey":true},{"name":"movieId","dataType":"uniqueidentifier","isRequired":true,"foreignKey":{"entity":"Movie","connectionAttribute":"_id","relationship":"one-to-many"}},{"name":"title","dataType":"nvarchar","isRequired":true},{"name":"description","dataType":"longtext","isRequired":true},{"name":"releaseDate","dataType":"datetime2","isRequired":true},{"name":"characters","dataType":"uniqueidentifier","isRequired":false,"foreignKey":{"entity":"Character","connectionAttribute":"_id","relationship":"many-to-many"}}]}}]}]},{"id":"actorModule","title":"Ator / Atriz","icon":"actor","components":[{"title":"Gerenciar ator / atriz","id":"actorForm","componentType":"form","guards":"isAuthorized","elements":[{"label":"Nome","name":"name","type":"input","dataType":"nvarchar","isRequired":true},{"label":"Nome social","name":"socialName","type":"input","dataType":"nvarchar","isRequired":true},{"label":"Data de nascimento","name":"birthDate","type":"input","dataType":"datetime2","isRequired":true},{"label":"Foto","name":"pictureFile","type":"file","dataType":"nvarchar","storageConfig":{"fileNameStrategy":"uuid","path":"actors","visibility":"public"}},{"label":"Biografia","name":"biography","type":"input","dataType":"longtext"}],"contracts":[{"id":"actors","endpoint":"/actors","actions":["create","get","getById","update","softDelete"],"request":{"entity":"Actor","description":"Represents an actor or actress in the system.","fields":[{"name":"id","dataType":"uniqueidentifier","isRequired":true,"isPrimaryKey":true},{"name":"name","dataType":"nvarchar","isRequired":true},{"name":"socialName","dataType":"nvarchar","isRequired":true},{"name":"birthDate","dataType":"datetime2","isRequired":true},{"name":"pictureFile","dataType":"nvarchar"},{"name":"biography","dataType":"longtext"}]}}]},{"title":"Lista de atores / atrizes","componentType":"list","id":"actorList","guards":["isAuthorized"],"dataSource":{"endpoint":"/actors","paramType":"query","hasAuthentication":true},"listItems":[{"label":"Nome","property":"name","type":"title","dataType":"nvarchar"},{"label":"Descrição","property":"biography","type":"description","isHtml":true,"dataType":"longtext"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/actor-form","propertiesAsQueryParam":["_id"]}}},{"label":"Excluir","icon":"delete","action":{"link":{"endpoint":"/actor-list"},"request":{"endpoint":"/actors","verb":"softDelete","propertiesAsPathParam":["_id"],"dialog":{"title":"Excluir projeto","message":"Deseja realmente excluir essa projeto?"}}}}],"contracts":[]}]},{"id":"characterModule","title":"Personagem","icon":"character","components":[{"title":"Personagem","userStory":"Como um usuário autorizado, quero usar o formulário de personagem para criar e editar personagens, fornecendo um nome, uma descrição, um tipo (como \"protagonista\" ou \"antagonista\") e um gênero para cada um. Isso me permite manter um registro detalhado e organizado dos personagens no sistema.","componentType":"form","id":"characterForm","guards":"isAuthorized","elements":[{"type":"input","dataType":"text","label":"Nome do personagem","name":"characterName","isRequired":true},{"label":"Foto do personagem","type":"file","dataType":"text","name":"characterImage","storageConfig":{"fileNameStrategy":"uuid","path":"characters","visibility":"public"}},{"type":"input","dataType":"wysiwyg","label":"Descrição do personagem","name":"characterDescription"},{"type":"select","label":"Tipo de personagem","name":"characterType","dataType":"text","options":[{"value":"protagonist","label":"Protagonista"},{"value":"antagonist","label":"Antagonista"},{"value":"hero","label":"Herói"},{"value":"villain","label":"Vilão"},{"value":"sidekick","label":"Ajudante"},{"value":"supporting","label":"Secundário"}]},{"type":"select","label":"Gênero do personagem","name":"characterGender","dataType":"text","options":[{"value":"male","label":"Masculino"},{"value":"female","label":"Feminino"},{"value":"other","label":"Outro"}]}],"contracts":[{"id":"characters","endpoint":"/characters","actions":["create","get","getById","update","softDelete"],"request":{"entity":"characters","description":"Represents a character in a story or narrative.","fields":[{"name":"id","dataType":"uniqueidentifier","isRequired":true,"isPrimaryKey":true},{"name":"characterName","dataType":"nvarchar","isRequired":true},{"name":"characterImage","dataType":"nvarchar","isRequired":false},{"name":"characterDescription","dataType":"longtext","isRequired":false},{"name":"characterType","dataType":"nvarchar","enum":["protagonist","antagonist","hero","villain","sidekick","supporting"],"isRequired":false},{"name":"characterGender","dataType":"nvarchar","enum":["male","female","other"],"isRequired":false}]}}]},{"title":"Lista de personagens","componentType":"list","id":"characterList","guards":["isAuthorized"],"dataSource":{"endpoint":"/characters","paramType":"query","hasAuthentication":true},"listItems":[{"label":"Nome","property":"characterName","type":"title","dataType":"nvarchar"},{"label":"Descrição","property":"characterDescription","type":"description","isHtml":true,"dataType":"longtext"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/character-form","propertiesAsQueryParam":["_id"]}}},{"label":"Excluir","icon":"delete","action":{"link":{"endpoint":"/character-list"},"request":{"endpoint":"/characters","verb":"softDelete","propertiesAsPathParam":["_id"],"dialog":{"title":"Excluir projeto","message":"Deseja realmente excluir essa projeto?"}}}}],"contracts":[{"id":"characters","endpoint":"/characters","actions":["get","getById"],"request":{"entity":"characters","description":"Represents a character in a story or narrative.","fields":[{"name":"id","dataType":"uniqueidentifier","isRequired":true,"isPrimaryKey":true},{"name":"characterName","dataType":"nvarchar","isRequired":true},{"name":"characterImage","dataType":"nvarchar","isRequired":false},{"name":"characterDescription","dataType":"longtext","isRequired":false},{"name":"characterType","dataType":"nvarchar","enum":["protagonist","antagonist","hero","villain","sidekick","supporting"],"isRequired":false},{"name":"characterGender","dataType":"nvarchar","enum":["male","female","other"],"isRequired":false}]}}]}]}],"styles":[{"themeName":"light","main":{"headerHeight":"60px","typography":{"fontFamily":"Arial, sans-serif","fontSize":"16px"},"colors":{"primary":"#4F46E5","primaryContrast":"#FFFFFF","secondary":"#6B7280","secondaryContrast":"#FFFFFF","background":"#FFFFFF","error":"#DC2626","success":"#16A34A","warning":"#D97706"},"shadows":{"boxShadow":"0 1px 3px rgba(0, 0, 0, 0.1)"},"borders":{"radius":"4px"},"components":{"input":{"text":"#111827","background":"#F9FAFB","border":"#D1D5DB","borderRadius":"4px","focusBorder":"#4F46E5","placeholder":"#9CA3AF","width":"248px"}},"spacing":"8px","maxWidth":"1200px","footerHeight":"60px"}}]}
1
+ {"title":"Ajenda Backoffice","id":"ajendaBackoffice","description":"Whitelabel para agendamento de compromissos atrelado a interface de Whatsapp + Gemini/Vertex","businessRules":[],"flow":"backofficeOpenedAndPermissionsByComponent","frontend":{"framework":"react","uiKit":"flowbite"},"backend":{"framework":"nest","jwtSecret":"Kunl4t3kw1llN3v3rD13M0th3rFudg3r","database":{"provider":"mongodb","connectionString":"mongodb+srv://kunlatek:Kunl4t3kw1llN3v3rD132025@cluster0.b0pfr.mongodb.net/taverno-v1","credentials":{"databaseName":"taverno-v1","username":"kunlatek","password":"Kunl4t3kw1llN3v3rD132025","host":"cluster0.b0pfr.mongodb.net"}},"storage":{"provider":"gcs","credentials":{"clientEmail":"rapida-personal@rapida-personal-projects.iam.gserviceaccount.com","privateKey":"-----BEGIN PRIVATE KEY-----\nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDCDEQRUfKKxYUj\nVorX+aiEHhPRrrcNHVw40qq517wP7IgIp2UlA5uf0rV2cdn1njA9RMQxp6l7Qt+0\nBZg1JZM8l9Uv1SckRlkKST4k2B3MDOEl1riAPxIE/jBCUT9l2DCbir0Nu+CqGhGD\nUXOMpF0XWYL9GIBRo8Paf//yU0b86VBDfQGgnFkMKFq3bVDkPd8hQTBgTFT5F1Rh\nDcoUpAp/n3SYxkAK1V7Je+fnChF1DQPj8Nd5CLm4DsCM1B+HtaegsaE1ulXwhi1J\nlIFFGv49g0f2qOs3hytTPt0d8UpxFd9/Oq0tmcjuzK4bYzJdVZZPf+4xflHz+6R8\n2o7grTeDAgMBAAECggEABHdsz6s/tnMCdARHcN41w0i/8wke/IXK/CHZPSrakNFE\ndlKIEPiKyfx7Ic1QE4e/G4HsNCpkS8qHxKiGTt7dCz2BcjbpTjvyS7rQ298/nFVF\nj23oVEdfXk8NhFFDcNAvmjzwyhKjgrbT5V5oFvonjGSKj9HTDk4DMZHVrdm93g9k\nZ9XJBVeLh14/rkZLMDZ9DVjUMiQ6xElMH3IQD4MwEcul9eqM8bs2APgZlzzfO76m\nAuq20l4JqOcJJl8wzC7z12eNDNJrQNh2sHsT9zV5PabfNoQhnU6fDvKr0PG0PGRR\nS5PTDeiMY47rJVPgwxthSke3abtdgA9SNie8OqZl6QKBgQD+yFT+ndFYKvHg2WNi\ns0jK0QqFQB84LQtOX2YhQ0137mtSv0z7wO90e28dfUqsjax4DxPMp+AW0cC3SBEv\n2T8/rJrgzGucPt4Jzml5HYl2NgCkNAtHIJ1vtXJdX5d3WmYhH7cUTPmV6nMS8OlF\nheSyfudCiOo89phQf0pI6lhQKwKBgQDC+aOU2cxMVA5VH0txX0G9tPQjBvzY09ev\nVLGrxlmdAcQVXYCWdoESEfTv3E4JPklAz5B2/XnALxM5ewJgjoP6buOCJrQcgJNC\nSsG9Ll3zF4c+opFmaYTzcAY9HWHa4Pc+GAxFrrcPGzVBLjSrl7FPdykkPiBNxNJa\nnOzzrL4yCQKBgQC7b/pHjycx6/YiawuY0zjcLMnGmhPdqhXFRJ3IHtFhR/+g0qf6\nFkiTszNdyI0lQNz/PmhciaxsXUegDt7GCtdjKsKOWxVXz1BeeoJR3g8A7l2ub7NU\nUoRAaIaIdwjhf5nfCIwR3UdIqUCbUKzsvsIvJvlPk5Zv3yLTJbIqzmzGHQKBgBiQ\nnUSGwE+pk3i0DaxGBSFiqBO1sKuc3SLQ9+WdgvLeIxdSBX5vhcmCC6sgxZAykcYh\noKDtRKarB7AJSH5j1kr6J53hRHYG2QbUJl6wddPH1hlVIB6YEtEc/xw6FHcgOuZO\n31T0M0oq8mW47Zfk78kESWGwlh9WOe6CsPPugrQJAoGBAP3o8DqH1Pb7vlowsz78\n8fsCuydEJgsPSwHHqBveeUHBQLGSiGIIKRXWR1a13mWXQTqQkROZCwvVCMX6FHZZ\nKv3rzgsTkaaoqM0RVLcQSSDoyu2yP/JJv+VYsvMf2S3dUkDAeYDZFizPeFF42t92\n+MSId41OkBvJ/JvqsBWlWFYK\n-----END PRIVATE KEY-----\n","projectId":"rapida-personal-projects"},"publicBucketName":"rapida-public-files","privateBucketName":"rapida-private-files"},"logging":{"discordWebhookUrl":"https://discord.com/api/webhooks/1370095507959054429/Ay8pIM-sinbjsLMAAWGrRDFT-oyBD3xu7yB2Ke0Bx6RxpKN882taB4_tkD2xsdk8MirZ"},"email":{"smtpUser":"noreply.rapida@gmail.com","smtpPass":"ekgwxlazvjjllfxf","smtpFrom":"noreply@kunlatek.com"},"baseUrl":"http://localhost:5173"},"modules":[{"title":"Pessoa","id":"personModule","icon":"person","components":[{"title":"Gerenciar pessoa","componentType":"form","id":"people","guards":"isAuthorized","elements":[{"id":"personTab","type":"tab","tabs":[{"id":"personMainDataTab","title":"Dados principais","elements":[{"label":"Nacionalidade","type":"select","name":"country","dataType":"nvarchar","options":[{"label":"Afghanistan","value":"afghanistan"},{"label":"Aland Islands","value":"alandIslands"},{"label":"Albania","value":"albania"},{"label":"Algeria","value":"algeria"},{"label":"American Samoa","value":"americanSamoa"},{"label":"Andorra","value":"andorra"},{"label":"Angola","value":"angola"},{"label":"Anguilla","value":"anguilla"},{"label":"Antarctica","value":"antarctica"},{"label":"Antigua and Barbuda","value":"antiguaAndBarbuda"},{"label":"Argentina","value":"argentina"},{"label":"Armenia","value":"armenia"},{"label":"Aruba","value":"aruba"},{"label":"Australia","value":"australia"},{"label":"Austria","value":"austria"},{"label":"Azerbaijan","value":"azerbaijan"},{"label":"Bahrain","value":"bahrain"},{"label":"Bangladesh","value":"bangladesh"},{"label":"Barbados","value":"barbados"},{"label":"Belarus","value":"belarus"},{"label":"Belgium","value":"belgium"},{"label":"Belize","value":"belize"},{"label":"Benin","value":"benin"},{"label":"Bermuda","value":"bermuda"},{"label":"Bhutan","value":"bhutan"},{"label":"Bolivia","value":"bolivia"},{"label":"Bonaire, Sint Eustatius and Saba","value":"bonaireSintEustatiusAndSaba"},{"label":"Bosnia and Herzegovina","value":"bosniaAndHerzegovina"},{"label":"Botswana","value":"botswana"},{"label":"Bouvet Island","value":"bouvetIsland"},{"label":"Brazil","value":"brazil"},{"label":"British Indian Ocean Territory","value":"britishIndianOceanTerritory"},{"label":"Brunei","value":"brunei"},{"label":"Bulgaria","value":"bulgaria"},{"label":"Burkina Faso","value":"burkinaFaso"},{"label":"Burundi","value":"burundi"},{"label":"Cambodia","value":"cambodia"},{"label":"Cameroon","value":"cameroon"},{"label":"Canada","value":"canada"},{"label":"Cape Verde","value":"capeVerde"},{"label":"Cayman Islands","value":"caymanIslands"},{"label":"Central African Republic","value":"centralAfricanRepublic"},{"label":"Chad","value":"chad"},{"label":"Chile","value":"chile"},{"label":"China","value":"china"},{"label":"Christmas Island","value":"christmasIsland"},{"label":"Cocos (Keeling) Islands","value":"cocosKeelingIslands"},{"label":"Colombia","value":"colombia"},{"label":"Comoros","value":"comoros"},{"label":"Congo","value":"congo"},{"label":"Cook Islands","value":"cookIslands"},{"label":"Costa Rica","value":"costaRica"},{"label":"Cote D'Ivoire (Ivory Coast)","value":"coteDIvoireIvoryCoast"},{"label":"Croatia","value":"croatia"},{"label":"Cuba","value":"cuba"},{"label":"Curaçao","value":"curaçao"},{"label":"Cyprus","value":"cyprus"},{"label":"Czech Republic","value":"czechRepublic"},{"label":"Democratic Republic of the Congo","value":"democraticRepublicOfTheCongo"},{"label":"Denmark","value":"denmark"},{"label":"Djibouti","value":"djibouti"},{"label":"Dominica","value":"dominica"},{"label":"Dominican Republic","value":"dominicanRepublic"},{"label":"Ecuador","value":"ecuador"},{"label":"Egypt","value":"egypt"},{"label":"El Salvador","value":"elSalvador"},{"label":"Equatorial Guinea","value":"equatorialGuinea"},{"label":"Eritrea","value":"eritrea"},{"label":"Estonia","value":"estonia"},{"label":"Eswatini","value":"eswatini"},{"label":"Ethiopia","value":"ethiopia"},{"label":"Falkland Islands","value":"falklandIslands"},{"label":"Faroe Islands","value":"faroeIslands"},{"label":"Fiji Islands","value":"fijiIslands"},{"label":"Finland","value":"finland"},{"label":"France","value":"france"},{"label":"French Guiana","value":"frenchGuiana"},{"label":"French Polynesia","value":"frenchPolynesia"},{"label":"French Southern Territories","value":"frenchSouthernTerritories"},{"label":"Gabon","value":"gabon"},{"label":"Georgia","value":"georgia"},{"label":"Germany","value":"germany"},{"label":"Ghana","value":"ghana"},{"label":"Gibraltar","value":"gibraltar"},{"label":"Greece","value":"greece"},{"label":"Greenland","value":"greenland"},{"label":"Grenada","value":"grenada"},{"label":"Guadeloupe","value":"guadeloupe"},{"label":"Guam","value":"guam"},{"label":"Guatemala","value":"guatemala"},{"label":"Guernsey and Alderney","value":"guernseyAndAlderney"},{"label":"Guinea","value":"guinea"},{"label":"Guinea-Bissau","value":"guineaBissau"},{"label":"Guyana","value":"guyana"},{"label":"Haiti","value":"haiti"},{"label":"Heard Island and McDonald Islands","value":"heardIslandAndMcdonaldIslands"},{"label":"Honduras","value":"honduras"},{"label":"Hong Kong S.A.R.","value":"hongKongS.a.r."},{"label":"Hungary","value":"hungary"},{"label":"Iceland","value":"iceland"},{"label":"India","value":"india"},{"label":"Indonesia","value":"indonesia"},{"label":"Iran","value":"iran"},{"label":"Iraq","value":"iraq"},{"label":"Ireland","value":"ireland"},{"label":"Israel","value":"israel"},{"label":"Italy","value":"italy"},{"label":"Jamaica","value":"jamaica"},{"label":"Japan","value":"japan"},{"label":"Jersey","value":"jersey"},{"label":"Jordan","value":"jordan"},{"label":"Kazakhstan","value":"kazakhstan"},{"label":"Kenya","value":"kenya"},{"label":"Kiribati","value":"kiribati"},{"label":"Kosovo","value":"kosovo"},{"label":"Kuwait","value":"kuwait"},{"label":"Kyrgyzstan","value":"kyrgyzstan"},{"label":"Laos","value":"laos"},{"label":"Latvia","value":"latvia"},{"label":"Lebanon","value":"lebanon"},{"label":"Lesotho","value":"lesotho"},{"label":"Liberia","value":"liberia"},{"label":"Libya","value":"libya"},{"label":"Liechtenstein","value":"liechtenstein"},{"label":"Lithuania","value":"lithuania"},{"label":"Luxembourg","value":"luxembourg"},{"label":"Macau S.A.R.","value":"macauS.a.r."},{"label":"Madagascar","value":"madagascar"},{"label":"Malawi","value":"malawi"},{"label":"Malaysia","value":"malaysia"},{"label":"Maldives","value":"maldives"},{"label":"Mali","value":"mali"},{"label":"Malta","value":"malta"},{"label":"Man (Isle of)","value":"manIsleOf"},{"label":"Marshall Islands","value":"marshallIslands"},{"label":"Martinique","value":"martinique"},{"label":"Mauritania","value":"mauritania"},{"label":"Mauritius","value":"mauritius"},{"label":"Mayotte","value":"mayotte"},{"label":"Mexico","value":"mexico"},{"label":"Micronesia","value":"micronesia"},{"label":"Moldova","value":"moldova"},{"label":"Monaco","value":"monaco"},{"label":"Mongolia","value":"mongolia"},{"label":"Montenegro","value":"montenegro"},{"label":"Montserrat","value":"montserrat"},{"label":"Morocco","value":"morocco"},{"label":"Mozambique","value":"mozambique"},{"label":"Myanmar","value":"myanmar"},{"label":"Namibia","value":"namibia"},{"label":"Nauru","value":"nauru"},{"label":"Nepal","value":"nepal"},{"label":"Netherlands","value":"netherlands"},{"label":"New Caledonia","value":"newCaledonia"},{"label":"New Zealand","value":"newZealand"},{"label":"Nicaragua","value":"nicaragua"},{"label":"Niger","value":"niger"},{"label":"Nigeria","value":"nigeria"},{"label":"Niue","value":"niue"},{"label":"Norfolk Island","value":"norfolkIsland"},{"label":"North Korea","value":"northKorea"},{"label":"North Macedonia","value":"northMacedonia"},{"label":"Northern Mariana Islands","value":"northernMarianaIslands"},{"label":"Norway","value":"norway"},{"label":"Oman","value":"oman"},{"label":"Pakistan","value":"pakistan"},{"label":"Palau","value":"palau"},{"label":"Palestinian Territory Occupied","value":"palestinianTerritoryOccupied"},{"label":"Panama","value":"panama"},{"label":"Papua New Guinea","value":"papuaNewGuinea"},{"label":"Paraguay","value":"paraguay"},{"label":"Peru","value":"peru"},{"label":"Philippines","value":"philippines"},{"label":"Pitcairn Island","value":"pitcairnIsland"},{"label":"Poland","value":"poland"},{"label":"Portugal","value":"portugal"},{"label":"Puerto Rico","value":"puertoRico"},{"label":"Qatar","value":"qatar"},{"label":"Reunion","value":"reunion"},{"label":"Romania","value":"romania"},{"label":"Russia","value":"russia"},{"label":"Rwanda","value":"rwanda"},{"label":"Saint Helena","value":"saintHelena"},{"label":"Saint Kitts and Nevis","value":"saintKittsAndNevis"},{"label":"Saint Lucia","value":"saintLucia"},{"label":"Saint Pierre and Miquelon","value":"saintPierreAndMiquelon"},{"label":"Saint Vincent and the Grenadines","value":"saintVincentAndTheGrenadines"},{"label":"Saint-Barthelemy","value":"saintBarthelemy"},{"label":"Saint-Martin (French part)","value":"saintMartinFrenchPart"},{"label":"Samoa","value":"samoa"},{"label":"San Marino","value":"sanMarino"},{"label":"Sao Tome and Principe","value":"saoTomeAndPrincipe"},{"label":"Saudi Arabia","value":"saudiArabia"},{"label":"Senegal","value":"senegal"},{"label":"Serbia","value":"serbia"},{"label":"Seychelles","value":"seychelles"},{"label":"Sierra Leone","value":"sierraLeone"},{"label":"Singapore","value":"singapore"},{"label":"Sint Maarten (Dutch part)","value":"sintMaartenDutchPart"},{"label":"Slovakia","value":"slovakia"},{"label":"Slovenia","value":"slovenia"},{"label":"Solomon Islands","value":"solomonIslands"},{"label":"Somalia","value":"somalia"},{"label":"South Africa","value":"southAfrica"},{"label":"South Georgia","value":"southGeorgia"},{"label":"South Korea","value":"southKorea"},{"label":"South Sudan","value":"southSudan"},{"label":"Spain","value":"spain"},{"label":"Sri Lanka","value":"sriLanka"},{"label":"Sudan","value":"sudan"},{"label":"Suriname","value":"suriname"},{"label":"Svalbard and Jan Mayen Islands","value":"svalbardAndJanMayenIslands"},{"label":"Sweden","value":"sweden"},{"label":"Switzerland","value":"switzerland"},{"label":"Syria","value":"syria"},{"label":"Taiwan","value":"taiwan"},{"label":"Tajikistan","value":"tajikistan"},{"label":"Tanzania","value":"tanzania"},{"label":"Thailand","value":"thailand"},{"label":"The Bahamas","value":"theBahamas"},{"label":"The Gambia ","value":"theGambia"},{"label":"Timor-Leste","value":"timorLeste"},{"label":"Togo","value":"togo"},{"label":"Tokelau","value":"tokelau"},{"label":"Tonga","value":"tonga"},{"label":"Trinidad and Tobago","value":"trinidadAndTobago"},{"label":"Tunisia","value":"tunisia"},{"label":"Turkey","value":"turkey"},{"label":"Turkmenistan","value":"turkmenistan"},{"label":"Turks and Caicos Islands","value":"turksAndCaicosIslands"},{"label":"Tuvalu","value":"tuvalu"},{"label":"Uganda","value":"uganda"},{"label":"Ukraine","value":"ukraine"},{"label":"United Arab Emirates","value":"unitedArabEmirates"},{"label":"United Kingdom","value":"unitedKingdom"},{"label":"United States","value":"unitedStates"},{"label":"United States Minor Outlying Islands","value":"unitedStatesMinorOutlyingIslands"},{"label":"Uruguay","value":"uruguay"},{"label":"Uzbekistan","value":"uzbekistan"},{"label":"Vanuatu","value":"vanuatu"},{"label":"Vatican City State (Holy See)","value":"vaticanCityStateHolySee"},{"label":"Venezuela","value":"venezuela"},{"label":"Vietnam","value":"vietnam"},{"label":"Virgin Islands (British)","value":"virginIslandsBritish"},{"label":"Virgin Islands (US)","value":"virginIslandsUs"},{"label":"Wallis and Futuna Islands","value":"wallisAndFutunaIslands"},{"label":"Western Sahara","value":"westernSahara"},{"label":"Yemen","value":"yemen"},{"label":"Zambia","value":"zambia"},{"label":"Zimbabwe","value":"zimbabwe"}]},{"label":"CPF","type":"input","dataType":"nvarchar","name":"cpf","validators":["cpf"],"isUnique":true,"conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"==="}]}]},{"label":"Passaporte","type":"input","dataType":"nvarchar","name":"passport","isUnique":true,"conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"!=="}]},{"type":"form","elements":[{"key":"country","value":null,"comparisonOperator":"!=="}]}]},{"label":"Data de emissão do passaporte","type":"input","dataType":"datetime2","name":"passportIssueDate","conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"!=="}]},{"type":"form","elements":[{"key":"country","value":null,"comparisonOperator":"!=="}]}]},{"label":"Data de validade do passaporte","type":"input","dataType":"datetime2","name":"passportExpiryDate","conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"!=="}]},{"type":"form","elements":[{"key":"country","value":null,"comparisonOperator":"!=="}]}]},{"label":"Nome completo","type":"input","dataType":"nvarchar","name":"name","isRequired":true},{"label":"Gênero","type":"select","dataType":"nvarchar","name":"gender","options":[{"label":"Masculino","value":"male"},{"label":"Feminino","value":"female"},{"label":"Outro","value":"other"}],"isRequired":true},{"label":"Data de nascimento","type":"input","dataType":"datetime2","name":"birthday"},{"label":"Estado civil","type":"select","dataType":"nvarchar","name":"personMaritalStatus","options":[{"label":"Solteiro","value":"single"},{"label":"Casado","value":"married"},{"label":"Divorciado","value":"divorced"},{"label":"Viúvo","value":"widower"},{"label":"Noivo","value":"engaged"},{"label":"União estável","value":"stableUnion"}]},{"label":"Telefone principal","type":"input","dataType":"nvarchar","name":"phoneOne","validators":["phone"],"isRequired":true},{"label":"E-mail principal","type":"input","dataType":"nvarchar","name":"emailOne"}]},{"id":"addressTab","title":"Endereços","elements":[{"title":"Endereço principal","id":"mainAddress","type":"fieldset","elements":[{"label":"CEP","type":"input","dataType":"nvarchar","name":"mainAddressZipCode","apiRequest":{"endpoint":"https://brasilapi.com.br/api/cep/v1/","paramType":"path","formFieldsFilledByApiResponse":[{"formFieldName":"mainAddressStreet","propertiesFromApiToFillFormField":["street"]},{"formFieldName":"mainAddressDistrict","propertiesFromApiToFillFormField":["neighborhood"]},{"formFieldName":"mainAddressCity","propertiesFromApiToFillFormField":["city"]},{"formFieldName":"mainAddressState","propertiesFromApiToFillFormField":["state"]}]},"validators":["cep"]},{"label":"Logradouro","type":"input","dataType":"nvarchar","name":"mainAddressStreet"},{"label":"Bairro","type":"input","dataType":"nvarchar","name":"mainAddressDistrict"},{"label":"Número","type":"input","dataType":"nvarchar","name":"mainAddressNumber"},{"label":"Complemento","type":"input","dataType":"nvarchar","name":"mainAddressComplement"},{"label":"Cidade","type":"input","dataType":"nvarchar","name":"mainAddressCity"},{"label":"Estado","type":"input","dataType":"nvarchar","name":"mainAddressState"},{"label":"Latitude","type":"input","dataType":"nvarchar","name":"mainAddressLatitude"},{"label":"Longitude","type":"input","dataType":"nvarchar","name":"mainAddressLongitude"}]},{"title":"Outro endereço","type":"fieldset","id":"otherAddress","elements":[{"label":"CEP","type":"input","dataType":"nvarchar","name":"otherAddressZipCode","apiRequest":{"endpoint":"https://brasilapi.com.br/api/cep/v1/","paramType":"path","formFieldsFilledByApiResponse":[{"formFieldName":"otherAddressStreet","propertiesFromApiToFillFormField":["street"]},{"formFieldName":"otherAddressDistrict","propertiesFromApiToFillFormField":["neighborhood"]},{"formFieldName":"otherAddressCity","propertiesFromApiToFillFormField":["city"]},{"formFieldName":"otherAddressState","propertiesFromApiToFillFormField":["state"]}]},"validators":["cep"]},{"label":"Logradouro","type":"input","dataType":"nvarchar","name":"otherAddressStreet"},{"label":"Bairro","type":"input","dataType":"nvarchar","name":"otherAddressDistrict"},{"label":"Número","type":"input","dataType":"nvarchar","name":"otherAddressNumber"},{"label":"Complemento","type":"input","dataType":"nvarchar","name":"otherAddressComplement"},{"label":"Cidade","type":"input","dataType":"nvarchar","name":"otherAddressCity"},{"label":"Estado","type":"input","dataType":"nvarchar","name":"otherAddressState"},{"label":"Latitude","type":"input","dataType":"nvarchar","name":"otherAddressLatitude"},{"label":"Longitude","type":"input","dataType":"nvarchar","name":"otherAddressLongitude"}]}]},{"id":"personContactTab","title":"Contatos e redes","elements":[{"label":"Telefone secundário","type":"input","dataType":"nvarchar","name":"phoneTwo","validators":["phone"]},{"label":"E-mail secundário","type":"input","dataType":"nvarchar","name":"emailTwo"},{"label":"Site 1","type":"input","dataType":"nvarchar","name":"siteOne"},{"label":"Site 2","type":"input","dataType":"nvarchar","name":"siteTwo"},{"label":"Linkedin","type":"input","dataType":"nvarchar","name":"linkedin"},{"label":"Instagram","type":"input","dataType":"nvarchar","name":"instagram"},{"label":"Facebook","type":"input","dataType":"nvarchar","name":"facebook"}]},{"id":"moreDetailsTab","title":"Outros dados","elements":[{"label":"Foto da pessoa","type":"file","dataType":"nvarchar","storageConfig":{"fileNameStrategy":"uuid","path":"person/pictures","visibility":"public"},"name":"pictureUrl"},{"label":"Nome social","type":"input","dataType":"nvarchar","name":"nickname"},{"label":"Descrição da pessoa","type":"input","dataType":"longtext","name":"personDescription"}]}]}],"contracts":[{"id":"people","endpoint":"/people","actions":["create","get","getById","update","softDelete"],"request":{"entity":"people","fields":[{"name":"country","dataType":"nvarchar","isRequired":true},{"name":"cpf","dataType":"nvarchar","isUnique":true},{"name":"passport","dataType":"nvarchar"},{"name":"passportIssueDate","dataType":"datetime2"},{"name":"passportExpiryDate","dataType":"datetime2"},{"name":"name","dataType":"nvarchar","isRequired":true},{"name":"gender","dataType":"nvarchar","enum":["male","female","other"],"isRequired":true},{"name":"birthday","dataType":"datetime2"},{"name":"picture","dataType":"nvarchar"},{"name":"phoneOne","dataType":"nvarchar","isRequired":true},{"name":"emailOne","dataType":"nvarchar"},{"name":"mainAddressZipCode","dataType":"nvarchar"},{"name":"mainAddressStreet","dataType":"nvarchar"},{"name":"mainAddressDistrict","dataType":"nvarchar"},{"name":"mainAddressNumber","dataType":"nvarchar"},{"name":"mainAddressComplement","dataType":"nvarchar"},{"name":"mainAddressCity","dataType":"nvarchar"},{"name":"mainAddressState","dataType":"nvarchar"},{"name":"mainAddressLatitude","dataType":"nvarchar"},{"name":"mainAddressLongitude","dataType":"nvarchar"},{"name":"otherAddressZipCode","dataType":"nvarchar"},{"name":"otherAddressStreet","dataType":"nvarchar"},{"name":"otherAddressDistrict","dataType":"nvarchar"},{"name":"otherAddressNumber","dataType":"nvarchar"},{"name":"otherAddressComplement","dataType":"nvarchar"},{"name":"otherAddressCity","dataType":"nvarchar"},{"name":"otherAddressState","dataType":"nvarchar"},{"name":"otherAddressLatitude","dataType":"nvarchar"},{"name":"otherAddressLongitude","dataType":"nvarchar"},{"name":"phoneTwo","dataType":"nvarchar"},{"name":"emailTwo","dataType":"nvarchar"},{"name":"siteOne","dataType":"nvarchar"},{"name":"siteTwo","dataType":"nvarchar"},{"name":"linkedin","dataType":"nvarchar"},{"name":"instagram","dataType":"nvarchar"},{"name":"facebook","dataType":"nvarchar"},{"name":"nickname","dataType":"nvarchar"},{"name":"personDescription","dataType":"longtext"},{"name":"personMaritalStatus","dataType":"nvarchar","enum":["single","married","divorced","widower","engaged","stableUnion"]}]}}]},{"componentType":"list","id":"personList","title":"Lista de pessoas","guards":["isAuthorized"],"dataSource":{"endpoint":"/people","paramType":"query","hasAuthentication":true},"listItems":[{"label":"Foto","property":"pictureUrl","type":"image","dataType":"nvarchar"},{"label":"CPF","property":"cpf","type":"title","dataType":"nvarchar"},{"label":"Nome","property":"name","type":"title","dataType":"nvarchar"},{"label":"Telefone","property":"phoneOne","type":"subtitle","dataType":"nvarchar"},{"label":"E-mail","property":"emailOne","type":"subtitle","dataType":"nvarchar"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/person-form","propertiesAsQueryParam":["id"]}}},{"label":"Excluir","icon":"trash","action":{"link":{"endpoint":"/person-list"},"request":{"endpoint":"/people","verb":"softDelete","propertiesAsPathParam":["id"],"dialog":{"title":"Excluir pessoa","message":"Deseja realmente excluir essa pessoa?"}}}}],"contracts":[]}]},{"title":"Empresa","id":"companyModule","icon":"store","components":[{"title":"Gerenciamento de empresa","componentType":"form","id":"companyForm","guards":"isAuthorized","elements":[{"type":"tab","id":"companyTab","tabs":[{"id":"companyMainDataTab","title":"Dados principais","elements":[{"label":"Nacionalidade","name":"country","type":"select","dataType":"nvarchar","options":[{"label":"Afghanistan","value":"afghanistan"},{"label":"Aland Islands","value":"alandIslands"},{"label":"Albania","value":"albania"},{"label":"Algeria","value":"algeria"},{"label":"American Samoa","value":"americanSamoa"},{"label":"Andorra","value":"andorra"},{"label":"Angola","value":"angola"},{"label":"Anguilla","value":"anguilla"},{"label":"Antarctica","value":"antarctica"},{"label":"Antigua and Barbuda","value":"antiguaAndBarbuda"},{"label":"Argentina","value":"argentina"},{"label":"Armenia","value":"armenia"},{"label":"Aruba","value":"aruba"},{"label":"Australia","value":"australia"},{"label":"Austria","value":"austria"},{"label":"Azerbaijan","value":"azerbaijan"},{"label":"Bahrain","value":"bahrain"},{"label":"Bangladesh","value":"bangladesh"},{"label":"Barbados","value":"barbados"},{"label":"Belarus","value":"belarus"},{"label":"Belgium","value":"belgium"},{"label":"Belize","value":"belize"},{"label":"Benin","value":"benin"},{"label":"Bermuda","value":"bermuda"},{"label":"Bhutan","value":"bhutan"},{"label":"Bolivia","value":"bolivia"},{"label":"Bonaire, Sint Eustatius and Saba","value":"bonaireSintEustatiusAndSaba"},{"label":"Bosnia and Herzegovina","value":"bosniaAndHerzegovina"},{"label":"Botswana","value":"botswana"},{"label":"Bouvet Island","value":"bouvetIsland"},{"label":"Brazil","value":"brazil"},{"label":"British Indian Ocean Territory","value":"britishIndianOceanTerritory"},{"label":"Brunei","value":"brunei"},{"label":"Bulgaria","value":"bulgaria"},{"label":"Burkina Faso","value":"burkinaFaso"},{"label":"Burundi","value":"burundi"},{"label":"Cambodia","value":"cambodia"},{"label":"Cameroon","value":"cameroon"},{"label":"Canada","value":"canada"},{"label":"Cape Verde","value":"capeVerde"},{"label":"Cayman Islands","value":"caymanIslands"},{"label":"Central African Republic","value":"centralAfricanRepublic"},{"label":"Chad","value":"chad"},{"label":"Chile","value":"chile"},{"label":"China","value":"china"},{"label":"Christmas Island","value":"christmasIsland"},{"label":"Cocos (Keeling) Islands","value":"cocosKeelingIslands"},{"label":"Colombia","value":"colombia"},{"label":"Comoros","value":"comoros"},{"label":"Congo","value":"congo"},{"label":"Cook Islands","value":"cookIslands"},{"label":"Costa Rica","value":"costaRica"},{"label":"Cote D'Ivoire (Ivory Coast)","value":"coteDIvoireIvoryCoast"},{"label":"Croatia","value":"croatia"},{"label":"Cuba","value":"cuba"},{"label":"Curaçao","value":"curaçao"},{"label":"Cyprus","value":"cyprus"},{"label":"Czech Republic","value":"czechRepublic"},{"label":"Democratic Republic of the Congo","value":"democraticRepublicOfTheCongo"},{"label":"Denmark","value":"denmark"},{"label":"Djibouti","value":"djibouti"},{"label":"Dominica","value":"dominica"},{"label":"Dominican Republic","value":"dominicanRepublic"},{"label":"Ecuador","value":"ecuador"},{"label":"Egypt","value":"egypt"},{"label":"El Salvador","value":"elSalvador"},{"label":"Equatorial Guinea","value":"equatorialGuinea"},{"label":"Eritrea","value":"eritrea"},{"label":"Estonia","value":"estonia"},{"label":"Eswatini","value":"eswatini"},{"label":"Ethiopia","value":"ethiopia"},{"label":"Falkland Islands","value":"falklandIslands"},{"label":"Faroe Islands","value":"faroeIslands"},{"label":"Fiji Islands","value":"fijiIslands"},{"label":"Finland","value":"finland"},{"label":"France","value":"france"},{"label":"French Guiana","value":"frenchGuiana"},{"label":"French Polynesia","value":"frenchPolynesia"},{"label":"French Southern Territories","value":"frenchSouthernTerritories"},{"label":"Gabon","value":"gabon"},{"label":"Georgia","value":"georgia"},{"label":"Germany","value":"germany"},{"label":"Ghana","value":"ghana"},{"label":"Gibraltar","value":"gibraltar"},{"label":"Greece","value":"greece"},{"label":"Greenland","value":"greenland"},{"label":"Grenada","value":"grenada"},{"label":"Guadeloupe","value":"guadeloupe"},{"label":"Guam","value":"guam"},{"label":"Guatemala","value":"guatemala"},{"label":"Guernsey and Alderney","value":"guernseyAndAlderney"},{"label":"Guinea","value":"guinea"},{"label":"Guinea-Bissau","value":"guineaBissau"},{"label":"Guyana","value":"guyana"},{"label":"Haiti","value":"haiti"},{"label":"Heard Island and McDonald Islands","value":"heardIslandAndMcdonaldIslands"},{"label":"Honduras","value":"honduras"},{"label":"Hong Kong S.A.R.","value":"hongKongS.a.r."},{"label":"Hungary","value":"hungary"},{"label":"Iceland","value":"iceland"},{"label":"India","value":"india"},{"label":"Indonesia","value":"indonesia"},{"label":"Iran","value":"iran"},{"label":"Iraq","value":"iraq"},{"label":"Ireland","value":"ireland"},{"label":"Israel","value":"israel"},{"label":"Italy","value":"italy"},{"label":"Jamaica","value":"jamaica"},{"label":"Japan","value":"japan"},{"label":"Jersey","value":"jersey"},{"label":"Jordan","value":"jordan"},{"label":"Kazakhstan","value":"kazakhstan"},{"label":"Kenya","value":"kenya"},{"label":"Kiribati","value":"kiribati"},{"label":"Kosovo","value":"kosovo"},{"label":"Kuwait","value":"kuwait"},{"label":"Kyrgyzstan","value":"kyrgyzstan"},{"label":"Laos","value":"laos"},{"label":"Latvia","value":"latvia"},{"label":"Lebanon","value":"lebanon"},{"label":"Lesotho","value":"lesotho"},{"label":"Liberia","value":"liberia"},{"label":"Libya","value":"libya"},{"label":"Liechtenstein","value":"liechtenstein"},{"label":"Lithuania","value":"lithuania"},{"label":"Luxembourg","value":"luxembourg"},{"label":"Macau S.A.R.","value":"macauS.a.r."},{"label":"Madagascar","value":"madagascar"},{"label":"Malawi","value":"malawi"},{"label":"Malaysia","value":"malaysia"},{"label":"Maldives","value":"maldives"},{"label":"Mali","value":"mali"},{"label":"Malta","value":"malta"},{"label":"Man (Isle of)","value":"manIsleOf"},{"label":"Marshall Islands","value":"marshallIslands"},{"label":"Martinique","value":"martinique"},{"label":"Mauritania","value":"mauritania"},{"label":"Mauritius","value":"mauritius"},{"label":"Mayotte","value":"mayotte"},{"label":"Mexico","value":"mexico"},{"label":"Micronesia","value":"micronesia"},{"label":"Moldova","value":"moldova"},{"label":"Monaco","value":"monaco"},{"label":"Mongolia","value":"mongolia"},{"label":"Montenegro","value":"montenegro"},{"label":"Montserrat","value":"montserrat"},{"label":"Morocco","value":"morocco"},{"label":"Mozambique","value":"mozambique"},{"label":"Myanmar","value":"myanmar"},{"label":"Namibia","value":"namibia"},{"label":"Nauru","value":"nauru"},{"label":"Nepal","value":"nepal"},{"label":"Netherlands","value":"netherlands"},{"label":"New Caledonia","value":"newCaledonia"},{"label":"New Zealand","value":"newZealand"},{"label":"Nicaragua","value":"nicaragua"},{"label":"Niger","value":"niger"},{"label":"Nigeria","value":"nigeria"},{"label":"Niue","value":"niue"},{"label":"Norfolk Island","value":"norfolkIsland"},{"label":"North Korea","value":"northKorea"},{"label":"North Macedonia","value":"northMacedonia"},{"label":"Northern Mariana Islands","value":"northernMarianaIslands"},{"label":"Norway","value":"norway"},{"label":"Oman","value":"oman"},{"label":"Pakistan","value":"pakistan"},{"label":"Palau","value":"palau"},{"label":"Palestinian Territory Occupied","value":"palestinianTerritoryOccupied"},{"label":"Panama","value":"panama"},{"label":"Papua New Guinea","value":"papuaNewGuinea"},{"label":"Paraguay","value":"paraguay"},{"label":"Peru","value":"peru"},{"label":"Philippines","value":"philippines"},{"label":"Pitcairn Island","value":"pitcairnIsland"},{"label":"Poland","value":"poland"},{"label":"Portugal","value":"portugal"},{"label":"Puerto Rico","value":"puertoRico"},{"label":"Qatar","value":"qatar"},{"label":"Reunion","value":"reunion"},{"label":"Romania","value":"romania"},{"label":"Russia","value":"russia"},{"label":"Rwanda","value":"rwanda"},{"label":"Saint Helena","value":"saintHelena"},{"label":"Saint Kitts and Nevis","value":"saintKittsAndNevis"},{"label":"Saint Lucia","value":"saintLucia"},{"label":"Saint Pierre and Miquelon","value":"saintPierreAndMiquelon"},{"label":"Saint Vincent and the Grenadines","value":"saintVincentAndTheGrenadines"},{"label":"Saint-Barthelemy","value":"saintBarthelemy"},{"label":"Saint-Martin (French part)","value":"saintMartinFrenchPart"},{"label":"Samoa","value":"samoa"},{"label":"San Marino","value":"sanMarino"},{"label":"Sao Tome and Principe","value":"saoTomeAndPrincipe"},{"label":"Saudi Arabia","value":"saudiArabia"},{"label":"Senegal","value":"senegal"},{"label":"Serbia","value":"serbia"},{"label":"Seychelles","value":"seychelles"},{"label":"Sierra Leone","value":"sierraLeone"},{"label":"Singapore","value":"singapore"},{"label":"Sint Maarten (Dutch part)","value":"sintMaartenDutchPart"},{"label":"Slovakia","value":"slovakia"},{"label":"Slovenia","value":"slovenia"},{"label":"Solomon Islands","value":"solomonIslands"},{"label":"Somalia","value":"somalia"},{"label":"South Africa","value":"southAfrica"},{"label":"South Georgia","value":"southGeorgia"},{"label":"South Korea","value":"southKorea"},{"label":"South Sudan","value":"southSudan"},{"label":"Spain","value":"spain"},{"label":"Sri Lanka","value":"sriLanka"},{"label":"Sudan","value":"sudan"},{"label":"Suriname","value":"suriname"},{"label":"Svalbard and Jan Mayen Islands","value":"svalbardAndJanMayenIslands"},{"label":"Sweden","value":"sweden"},{"label":"Switzerland","value":"switzerland"},{"label":"Syria","value":"syria"},{"label":"Taiwan","value":"taiwan"},{"label":"Tajikistan","value":"tajikistan"},{"label":"Tanzania","value":"tanzania"},{"label":"Thailand","value":"thailand"},{"label":"The Bahamas","value":"theBahamas"},{"label":"The Gambia ","value":"theGambia"},{"label":"Timor-Leste","value":"timorLeste"},{"label":"Togo","value":"togo"},{"label":"Tokelau","value":"tokelau"},{"label":"Tonga","value":"tonga"},{"label":"Trinidad and Tobago","value":"trinidadAndTobago"},{"label":"Tunisia","value":"tunisia"},{"label":"Turkey","value":"turkey"},{"label":"Turkmenistan","value":"turkmenistan"},{"label":"Turks and Caicos Islands","value":"turksAndCaicosIslands"},{"label":"Tuvalu","value":"tuvalu"},{"label":"Uganda","value":"uganda"},{"label":"Ukraine","value":"ukraine"},{"label":"United Arab Emirates","value":"unitedArabEmirates"},{"label":"United Kingdom","value":"unitedKingdom"},{"label":"United States","value":"unitedStates"},{"label":"United States Minor Outlying Islands","value":"unitedStatesMinorOutlyingIslands"},{"label":"Uruguay","value":"uruguay"},{"label":"Uzbekistan","value":"uzbekistan"},{"label":"Vanuatu","value":"vanuatu"},{"label":"Vatican City State (Holy See)","value":"vaticanCityStateHolySee"},{"label":"Venezuela","value":"venezuela"},{"label":"Vietnam","value":"vietnam"},{"label":"Virgin Islands (British)","value":"virginIslandsBritish"},{"label":"Virgin Islands (US)","value":"virginIslandsUs"},{"label":"Wallis and Futuna Islands","value":"wallisAndFutunaIslands"},{"label":"Western Sahara","value":"westernSahara"},{"label":"Yemen","value":"yemen"},{"label":"Zambia","value":"zambia"},{"label":"Zimbabwe","value":"zimbabwe"}],"isRequired":true},{"label":"CNPJ","name":"cnpj","type":"input","dataType":"nvarchar","maskRegex":"^\\d{2}\\.\\d{3}\\.\\d{3}/\\d{4}-\\d{2}$","isUnique":true,"conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"==="}]}]},{"label":"Razão social","name":"name","type":"input","dataType":"nvarchar","isRequired":true},{"label":"Nome fantasia","name":"businessName","type":"input","dataType":"nvarchar"},{"label":"Data de abertura","name":"birthday","type":"input","dataType":"datetime2"},{"label":"Natureza legal","name":"legalNature","type":"select","dataType":"nvarchar","options":[{"label":"Empresa Pública","value":"201-1"},{"label":"Sociedade de Economia Mista","value":"203-8"},{"label":"Sociedade Anônima Aberta","value":"204-6"},{"label":"Sociedade Anônima Fechada","value":"205-4"},{"label":"Sociedade Empresária Limitada","value":"206-2"},{"label":"Sociedade Empresária em Nome Coletivo","value":"207-0"},{"label":"Sociedade Empresária em Comandita Simples","value":"208-9"},{"label":"Sociedade Empresária em Comandita por Ações","value":"209-7"},{"label":"Sociedade em Conta de Participação","value":"212-7"},{"label":"Empresário(Individual)","value":"213-5"},{"label":"Cooperativa","value":"214-3"},{"label":"Consórcio de Sociedades","value":"215-1"},{"label":"Grupo de Sociedades","value":"216-0"},{"label":"Estabelecimento, no Brasil, de Sociedade Estrangeira","value":"217-8"},{"label":"Estabelecimento, no Brasil, de Empresa Binacional Argentino - Brasileira","value":"219-4"},{"label":"Empresa Domiciliada no Exterior","value":"221-6"},{"label":"Clube / Fundo de Investimento","value":"222-4"},{"label":"Sociedade Simples Pura","value":"223-2"},{"label":"Sociedade Simples Limitada","value":"224-0"},{"label":"Sociedade Simples em Nome Coletivo","value":"225-9"},{"label":"Sociedade Simples em Comandita Simples","value":"226-7"},{"label":"Empresa Binacional","value":"227-5"},{"label":"Consórcio de Empregadores","value":"228-3"},{"label":"Consórcio Simples","value":"229-1"},{"label":"Empresa Individual de Responsabilidade Limitada(de Natureza Empresária)","value":"230-5"},{"label":"Empresa Individual de Responsabilidade Limitada(de Natureza Simples)","value":"231-3"},{"label":"Sociedade Unipessoal de Advogados","value":"232-1"},{"label":"Cooperativas de Consumo","value":"233-0"},{"label":"Serviço Notarial e Registral(Cartório)","value":"303-4"},{"label":"Fundação Privada","value":"306-9"},{"label":"Serviço Social Autônomo","value":"307-7"},{"label":"Condomínio Edilício","value":"308-5"},{"label":"Comissão de Conciliação Prévia","value":"310-7"},{"label":"Entidade de Mediação e Arbitragem","value":"311-5"},{"label":"Entidade Sindical","value":"313-1"},{"label":"Estabelecimento, no Brasil, de Fundação ou Associação Estrangeiras","value":"320-4"},{"label":"Fundação ou Associação Domiciliada no Exterior","value":"321-2"},{"label":"Organização Religiosa","value":"322-0"},{"label":"Comunidade Indígena","value":"323-9"},{"label":"Fundo Privado","value":"324-7"},{"label":"Órgão de Direção Nacional de Partido Político","value":"325-5"},{"label":"Órgão de Direção Regional de Partido Político","value":"326-3"},{"label":"Órgão de Direção Local de Partido Político","value":"327-1"},{"label":"Comitê Financeiro de Partido Político","value":"328-0"},{"label":"Frente Plebiscitária ou Referendária","value":"329-8"},{"label":"Organização Social(OS)","value":"330-1"},{"label":"Demais Condomínios","value":"331-0"},{"label":"Associação Privada","value":"399-9"},{"label":"Empresa Individual Imobiliária","value":"401-4"},{"label":"Segurado Especial","value":"402-2"},{"label":"Contribuinte individual","value":"408-1"},{"label":"Candidato a Cargo Político Eletivo","value":"409-0"},{"label":"Leiloeiro","value":"411-1"},{"label":"Produtor Rural(Pessoa Física)","value":"412-0"},{"label":"Organização Internacional","value":"501-0"},{"label":"Representação Diplomática Estrangeira","value":"502-9"},{"label":"Outras Instituições Extraterritoriais","value":"503-7"},{"label":"Órgão Público do Poder Executivo Federal","value":"101-5"},{"label":"Órgão Público do Poder Executivo Estadual ou do Distrito Federal","value":"102-3"},{"label":"Órgão Público do Poder Executivo Municipal","value":"103-1"},{"label":"Órgão Público do Poder Legislativo Federal","value":"104-0"},{"label":"Órgão Público do Poder Legislativo Estadual ou do Distrito Federal","value":"105-8"},{"label":"Órgão Público do Poder Legislativo Municipal","value":"106-6"},{"label":"Órgão Público do Poder Judiciário Federal","value":"107-4"},{"label":"Órgão Público do Poder Judiciário Estadual","value":"108-2"},{"label":"Autarquia Federal","value":"110-4"},{"label":"Autarquia Estadual ou do Distrito Federal","value":"111-2"},{"label":"Autarquia Municipal","value":"112-0"},{"label":"Fundação Pública de Direito Público Federal","value":"113-9"},{"label":"Fundação Pública de Direito Público Estadual ou do Distrito Federal","value":"114-7"},{"label":"Fundação Pública de Direito Público Municipal","value":"115-5"},{"label":"Órgão Público Autônomo Federal","value":"116-3"},{"label":"Órgão Público Autônomo Estadual ou do Distrito Federal","value":"117-1"},{"label":"Órgão Público Autônomo Municipal","value":"118-0"},{"label":"Comissão Polinacional","value":"119-8"},{"label":"Fundo Público","value":"120-1"},{"label":"Consórcio Público de Direito Público(Associação Pública)","value":"121-0"},{"label":"Consórcio Público de Direito Privado","value":"122-8"},{"label":"Estado ou Distrito Federal","value":"123-6"},{"label":"Município","value":"124-4"},{"label":"Fundação Pública de Direito Privado Federal","value":"125-2"},{"label":"Fundação Pública de Direito Privado Estadual ou do Distrito Federal","value":"126-0"},{"label":"Fundação Pública de Direito Privado Municipal","value":"127-9"}],"conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"==="}]}]},{"label":"Inscrição estadual","name":"stateRegistration","type":"input","dataType":"nvarchar","conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"==="}]}],"validators":["onlyNumbers"]},{"label":"Inscrição municipal","name":"municipalRegistration","type":"input","dataType":"nvarchar","conditions":[{"type":"form","elements":[{"key":"country","value":"brazil","comparisonOperator":"==="}]}]},{"label":"Descrição da empresa","name":"description","type":"input","dataType":"wysiwyg"},{"label":"Logo da empresa","name":"logo","type":"file","dataType":"nvarchar","storageConfig":{"fileNameStrategy":"uuid","path":"company/logos","visibility":"public"}},{"label":"Sócios","name":"companiesPartners","type":"autocomplete","dataType":"nvarchar","tooltip":"O(s) sócio(s) deve(m) estar cadastrado(s) no gerenciamento de pessoas.","optionsApi":{"endpoint":"/people","labelField":["cpf","person"],"valueField":"id","paramsToFilter":["cpf","person"],"paramType":"query","relatedEntity":"people"},"isMultiple":true},{"label":"Telefone principal","name":"phoneOne","type":"input","dataType":"nvarchar","maskRegex":"^\\(\\d{2}\\) \\d{4,5}-\\d{4}$","isRequired":true},{"label":"E-mail principal","name":"emailOne","type":"input","dataType":"email","isRequired":true}]},{"id":"companyAddressTab","title":"Endereços","elements":[{"type":"fieldset","id":"addressOne","title":"Endereço 1","elements":[{"label":"CEP","name":"addressOneZipCode","type":"input","dataType":"nvarchar","apiRequest":{"endpoint":"https://brasilapi.com.br/api/cep/v1/","paramType":"path","formFieldsFilledByApiResponse":[{"formFieldName":"addressOneStreet","propertiesFromApiToFillFormField":["street"]},{"formFieldName":"addressOneDistrict","propertiesFromApiToFillFormField":["neighborhood"]},{"formFieldName":"addressOneCity","propertiesFromApiToFillFormField":["city"]},{"formFieldName":"addressOneState","propertiesFromApiToFillFormField":["state"]}]},"validators":["cep"]},{"label":"Logradouro","name":"addressOneStreet","type":"input","dataType":"nvarchar"},{"label":"Bairro","name":"addressOneDistrict","type":"input","dataType":"nvarchar"},{"label":"Número","name":"addressOneNumber","type":"input","dataType":"nvarchar"},{"label":"Complemento","name":"addressOneComplement","type":"input","dataType":"nvarchar"},{"label":"Cidade","name":"addressOneCity","type":"input","dataType":"nvarchar"},{"label":"Estado","name":"addressOneState","type":"input","dataType":"nvarchar"},{"label":"Latitude","name":"addressOneLatitude","type":"input","dataType":"nvarchar"},{"label":"Longitude","name":"addressOneLongitude","type":"input","dataType":"nvarchar"}]},{"title":"Endereço 2","type":"fieldset","id":"addressTwo","elements":[{"label":"CEP","name":"addressTwoZipCode","type":"input","dataType":"nvarchar","apiRequest":{"endpoint":"https://brasilapi.com.br/api/cep/v1/","paramType":"path","formFieldsFilledByApiResponse":[{"formFieldName":"addressTwoStreet","propertiesFromApiToFillFormField":["street"]},{"formFieldName":"addressTwoDistrict","propertiesFromApiToFillFormField":["neighborhood"]},{"formFieldName":"addressTwoCity","propertiesFromApiToFillFormField":["city"]},{"formFieldName":"addressTwoState","propertiesFromApiToFillFormField":["state"]}]},"validators":["cep"]},{"label":"Logradouro","name":"addressTwoStreet","type":"input","dataType":"nvarchar"},{"label":"Bairro","name":"addressTwoDistrict","type":"input","dataType":"nvarchar"},{"label":"Número","name":"addressTwoNumber","type":"input","dataType":"nvarchar"},{"label":"Complemento","name":"addressTwoComplement","type":"input","dataType":"nvarchar"},{"label":"Cidade","name":"addressTwoCity","type":"input","dataType":"nvarchar"},{"label":"Estado","name":"addressTwoState","type":"input","dataType":"nvarchar"},{"label":"Latitude","name":"addressTwoLatitude","type":"input","dataType":"nvarchar"},{"label":"Longitude","name":"addressTwoLongitude","type":"input","dataType":"nvarchar"}]}]},{"id":"companyContactTab","title":"Contatos e redes","elements":[{"label":"Telefone secundário","name":"phoneTwo","type":"input","dataType":"nvarchar","validators":["phone"]},{"label":"E-mail secundário","name":"emailTwo","type":"input","dataType":"email"},{"label":"Site 1","name":"siteOne","type":"input","dataType":"nvarchar"},{"label":"Site 2","name":"siteTwo","type":"input","dataType":"nvarchar"},{"label":"Linkedin","name":"linkedin","type":"input","dataType":"nvarchar"},{"label":"Instagram","name":"instagram","type":"input","dataType":"nvarchar"},{"label":"Facebook","name":"facebook","type":"input","dataType":"nvarchar"}]}]}],"contracts":[{"id":"companies","endpoint":"/companies","actions":["create","get","getById","update","softDelete"],"request":{"entity":"Companies","fields":[{"name":"country","dataType":"nvarchar","enum":["afghanistan","alandIslands","albania","algeria","americanSamoa","andorra","angola","anguilla","antarctica","antiguaAndBarbuda","argentina","armenia","aruba","australia","austria","azerbaijan","bahrain","bangladesh","barbados","belarus","belgium","belize","benin","bermuda","bhutan","bolivia","bonaireSintEustatiusAndSaba","bosniaAndHerzegovina","botswana","bouvetIsland","brazil","britishIndianOceanTerritory","brunei","bulgaria","burkinaFaso","burundi","cambodia","cameroon","canada","capeVerde","caymanIslands","centralAfricanRepublic","chad","chile","china","christmasIsland","cocosKeelingIslands","colombia","comoros","congo","cookIslands","costaRica","coteDIvoireIvoryCoast","croatia","cuba","curaçao","cyprus","czechRepublic","democraticRepublicOfTheCongo","denmark","djibouti","dominica","dominicanRepublic","ecuador","egypt","elSalvador","equatorialGuinea","eritrea","estonia","eswatini","ethiopia","falklandIslands","faroeIslands","fijiIslands","finland","france","frenchGuiana","frenchPolynesia","frenchSouthernTerritories","gabon","georgia","germany","ghana","gibraltar","greece","greenland","grenada","guadeloupe","guam","guatemala","guernseyAndAlderney","guinea","guineaBissau","guyana","haiti","heardIslandAndMcdonaldIslands","honduras","hongKongS.a.r.","hungary","iceland","india","indonesia","iran","iraq","ireland","israel","italy","jamaica","japan","jersey","jordan","kazakhstan","kenya","kiribati","kosovo","kuwait","kyrgyzstan","laos","latvia","lebanon","lesotho","liberia","libya","liechtenstein","lithuania","luxembourg","macauS.a.r.","madagascar","malawi","malaysia","maldives","mali","malta","manIsleOf","marshallIslands","martinique","mauritania","mauritius","mayotte","mexico","micronesia","moldova","monaco","mongolia","montenegro","montserrat","morocco","mozambique","myanmar","namibia","nauru","nepal","netherlands","newCaledonia","newZealand","nicaragua","niger","nigeria","niue","norfolkIsland","northKorea","northMacedonia","northernMarianaIslands","norway","oman","pakistan","palau","palestinianTerritoryOccupied","panama","papuaNewGuinea","paraguay","peru","philippines","pitcairnIsland","poland","portugal","puertoRico","qatar","reunion","romania","russia","rwanda","saintHelena","saintKittsAndNevis","saintLucia","saintPierreAndMiquelon","saintVincentAndTheGrenadines","saintBarthelemy","saintMartinFrenchPart","samoa","sanMarino","saoTomeAndPrincipe","saudiArabia","senegal","serbia","seychelles","sierraLeone","singapore","sintMaartenDutchPart","slovakia","slovenia","solomonIslands","somalia","southAfrica","southGeorgia","southKorea","southSudan","spain","sriLanka","sudan","suriname","svalbardAndJanMayenIslands","sweden","switzerland","syria","taiwan","tajikistan","tanzania","thailand","theBahamas","theGambia","timorLeste","togo","tokelau","tonga","trinidadAndTobago","tunisia","turkey","turkmenistan","turksAndCaicosIslands","tuvalu","uganda","ukraine","unitedArabEmirates","unitedKingdom","unitedStates","unitedStatesMinorOutlyingIslands","uruguay","uzbekistan","vanuatu","vaticanCityStateHolySee","venezuela","vietnam","virginIslandsBritish","virginIslandsUs","wallisAndFutunaIslands","westernSahara","yemen","zambia","zimbabwe"]},{"name":"cnpj","dataType":"nvarchar"},{"name":"name","dataType":"nvarchar"},{"name":"businessName","dataType":"nvarchar"},{"name":"birthday","dataType":"datetime2"},{"name":"legalNature","dataType":"nvarchar","enum":["201-1","203-8","204-6","205-4","206-2","207-0","208-9","209-7","212-7","213-5","214-3","215-1","216-0","217-8","219-4","221-6","222-4","223-2","224-0","225-9","226-7","227-5","228-3","229-1","230-5","231-3","232-1","233-0","303-4","306-9","307-7","308-5","310-7","311-5","313-1","320-4","321-2","322-0","323-9","324-7","325-5","326-3","327-1","328-0","329-8","330-1","331-0","399-9","401-4","402-2","408-1","409-0","411-1","412-0","501-0","502-9","503-7","101-5","102-3","103-1","104-0","105-8","106-6","107-4","108-2","110-4","111-2","112-0","113-9","114-7","115-5","116-3","117-1","118-0","119-8","120-1","121-0","122-8","123-6","124-4","125-2","126-0","127-9"]},{"name":"stateRegistration","dataType":"nvarchar"},{"name":"municipalRegistration","dataType":"nvarchar"},{"name":"description","dataType":"nvarchar"},{"name":"logo","dataType":"nvarchar"},{"name":"phoneOne","dataType":"nvarchar"},{"name":"emailOne","dataType":"nvarchar"},{"name":"addressOneZipCode","dataType":"nvarchar"},{"name":"addressOneStreet","dataType":"nvarchar"},{"name":"addressOneDistrict","dataType":"nvarchar"},{"name":"addressOneNumber","dataType":"nvarchar"},{"name":"addressOneComplement","dataType":"nvarchar"},{"name":"addressOneCity","dataType":"nvarchar"},{"name":"addressOneState","dataType":"nvarchar"},{"name":"addressOneLatitude","dataType":"nvarchar"},{"name":"addressOneLongitude","dataType":"nvarchar"},{"name":"addressTwoZipCode","dataType":"nvarchar"},{"name":"addressTwoStreet","dataType":"nvarchar"},{"name":"addressTwoDistrict","dataType":"nvarchar"},{"name":"addressTwoNumber","dataType":"nvarchar"},{"name":"addressTwoComplement","dataType":"nvarchar"},{"name":"addressTwoCity","dataType":"nvarchar"},{"name":"addressTwoState","dataType":"nvarchar"},{"name":"addressTwoLatitude","dataType":"nvarchar"},{"name":"addressTwoLongitude","dataType":"nvarchar"},{"name":"phoneTwo","dataType":"nvarchar"},{"name":"emailTwo","dataType":"nvarchar"},{"name":"siteOne","dataType":"nvarchar"},{"name":"siteTwo","dataType":"nvarchar"},{"name":"linkedin","dataType":"nvarchar"},{"name":"instagram","dataType":"nvarchar"},{"name":"facebook","dataType":"nvarchar"}]}},{"id":"companiesPartners","endpoint":"/companies/{companyId}/partners","actions":["create","softDelete","get","getById"],"request":{"entity":"companiesPartners","fields":[{"name":"companyId","dataType":"uniqueidentifier","isRequired":true,"foreignKey":{"entity":"companies","connectionAttribute":"id","relationship":"one-to-many","isHidden":true}},{"name":"partnerId","dataType":"uniqueidentifier","isRequired":true,"foreignKey":{"entity":"people","connectionAttribute":"id","relationship":"one-to-many"}}],"uniqueConstraints":[{"identificator":"uniqueCompanyPartner","fields":["companyId","partnerId"]}]}}]},{"componentType":"list","id":"companyList","title":"Lista de empresas","guards":["isAuthorized"],"dataSource":{"endpoint":"/companies","paramType":"query","hasAuthentication":true},"listItems":[{"label":"CNPJ","property":"cnpj","type":"title","dataType":"nvarchar"},{"label":"Razão social","property":"name","type":"title","dataType":"nvarchar"},{"label":"Telefone","property":"phoneOne","type":"subtitle","dataType":"nvarchar"},{"label":"E-mail","property":"emailOne","type":"subtitle","dataType":"nvarchar"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/company-form","propertiesAsQueryParam":["id"]}}},{"label":"Excluir","icon":"trash","action":{"link":{"endpoint":"/company-list"},"request":{"endpoint":"/companies","verb":"softDelete","propertiesAsPathParam":["id"],"dialog":{"title":"Excluir empresa","message":"Deseja realmente excluir essa empresa?"}}}}],"contracts":[]}]},{"id":"scheduleModule","title":"Agenda","icon":"calendar","components":[{"title":"Gerenciar disponibilidade em agenda","id":"availabilityScheduleForm","componentType":"form","elements":[{"label":"Título","name":"title","dataType":"nvarchar","type":"input","placeholder":"Agenda para atendimento na Clínica XPTO","isRequired":true},{"label":"Horário disponível","type":"array","name":"availableTimes","elements":[{"label":"Dia da semana","type":"select","name":"dayOfWeek","dataType":"nvarchar","isRequired":true,"options":[{"label":"Domingo","value":"sunday"},{"label":"Segunda-feira","value":"monday"},{"label":"Terça-feira","value":"tuesday"},{"label":"Quarta-feira","value":"wednesday"},{"label":"Quinta-feira","value":"thursday"},{"label":"Sexta-feira","value":"friday"},{"label":"Sábado","value":"saturday"}]},{"label":"Início","type":"input","name":"startTime","dataType":"timestamp","isRequired":true},{"label":"Fim","type":"input","name":"endTime","dataType":"timestamp","isRequired":true}]},{"label":"Data indisponível","type":"array","name":"unavailableDates","elements":[{"label":"Data","type":"input","name":"date","dataType":"datetime2","isRequired":true},{"label":"Motivo","type":"input","name":"reason","dataType":"nvarchar"}]},{"type":"fieldset","id":"address","title":"Endereço relacionado ao agendamento","elements":[{"label":"Cidade","name":"cityId","type":"autocomplete","dataType":"uniqueidentifier","isRequired":true,"optionsApi":{"relatedEntity":"cities","paramType":"query","endpoint":"/cities","labelField":["name","state.name","state.countryId.name"],"valueField":"id","paramsToFilter":["name","state.name","state.countryId.name"]}},{"type":"input","dataType":"nvarchar","label":"CEP","name":"addressZipCode","apiRequest":{"endpoint":"https://brasilapi.com.br/api/cep/v1/","paramType":"path","formFieldsFilledByApiResponse":[{"formFieldName":"addressStreet","propertiesFromApiToFillFormField":["street"]},{"formFieldName":"addressDistrict","propertiesFromApiToFillFormField":["neighborhood"]}],"conditions":[{"type":"form","elements":[{"key":"cityId.state.countryId.name","comparisonOperator":"===","value":"Brasil"}]}]}},{"type":"input","dataType":"nvarchar","label":"Logradouro","name":"addressStreet","isRequired":true},{"type":"input","dataType":"nvarchar","label":"Bairro","name":"addressDistrict"},{"type":"input","dataType":"nvarchar","label":"Número","name":"addressNumber"},{"type":"input","dataType":"nvarchar","label":"Complemento","name":"addressComplement"},{"type":"input","dataType":"nvarchar","label":"Latitude","name":"addressLatitude"},{"type":"input","dataType":"nvarchar","label":"Longitude","name":"addressLongitude"}]}],"contracts":[{"id":"availabilitySchedules","actions":["create","get","getById","update","softDelete"],"endpoint":"/availability-schedules","request":{"entity":"availabilitySchedules","fields":[]}}]},{"componentType":"list","id":"availabilityScheduleList","title":"Lista de disponibilidade em agenda","guards":["isAuthorized"],"dataSource":{"endpoint":"/availability-schedules","paramType":"query","hasAuthentication":true},"listItems":[{"property":"Title","type":"title","label":"Title","dataType":"nvarchar"}],"callsToActionMenu":[{"label":"Editar","icon":"pencil","action":{"link":{"endpoint":"/availability-schedule-form","propertiesAsQueryParam":["id"]}}},{"label":"Excluir","icon":"trash","action":{"link":{"endpoint":"/availability-schedule-list"},"request":{"endpoint":"/availability-schedules","verb":"softDelete","propertiesAsPathParam":["id"],"dialog":{"title":"Excluir conteúdo","message":"Deseja realmente excluir esse conteúdo?"}}}}],"contracts":[{"id":"availability-schedules","endpoint":"/availability-schedules","actions":["create","update","get","softDelete","getById"],"request":{"entity":"availability-schedules","fields":[]}}]},{"title":"Gerenciar compromisso","componentType":"form","id":"appointmentForm","icon":"calendar","elements":[{"label":"Tipo","name":"availabilityScheduleId","type":"autocomplete","dataType":"nvarchar","optionsApi":{"endpoint":"/availability-schedules","labelField":["title"],"paramsToFilter":["title"],"valueField":"id","relatedEntity":"availabilitySchedules","paramType":"query"}},{"label":"Título","name":"title","type":"input","dataType":"nvarchar","isRequired":true,"conditions":[{"type":"form","elements":[{"key":"availabilityScheduleId","comparisonOperator":"!==","value":null}]}]},{"label":"Descrição","name":"description","type":"input","dataType":"longtext","conditions":[{"type":"form","elements":[{"key":"availabilityScheduleId","comparisonOperator":"!==","value":null}]}]},{"label":"Data do compromisso","name":"appointmentDate","type":"input","dataType":"datetime2","isRequired":true,"conditions":[{"type":"form","elements":[{"key":"availabilityScheduleId","comparisonOperator":"!==","value":null}]}],"businessRules":[{"rule":{"description":"Montar as datas de acordo com a disponibilidade definida em `availabilitySchedules`","subrules":[{"description":"Considerar se ainda existe hora disponível na `appointments.appointmentDate` escolhida, cruzando os dados de todas `availabilitySchedules` e `appointemnts.workspace` (com mesmas `availabilitySchedules.workspace` e `appointments.workspace`)"},{"description":"SE não houver hora disponível no match entre `availabilitySchedules` e `appointments` (com mesmas `availabilitySchedules.workspace` e `appointments.workspace`), ENTÃO não disponibilizar a data"}]}}]},{"label":"Hora do compromisso","name":"appointmentTime","type":"input","dataType":"timestamp","isRequired":true,"businessRules":[{"rule":{"description":"Montar as horas de acordo com a disponibilidade definida em `availabilitySchedules` para a `appointmentDate` escolhida (com mesmas `availabilitySchedules.workspace` e `appointments.workspace`)","subrules":[{"description":"Não mostrar as horas já cadastradas em `appointments` no dia da `appointmentDate` escolhida (com mesmas `availabilitySchedules.workspace` e `appointments.workspace`)"}]}}]},{"label":"Adicionar envolvidos","type":"array","name":"involved","businessRules":[{"rule":{"description":"`involvedPersonId` e/ou `involvedCompanyId` não podem se repetir"}}],"elements":[{"label":"Tipo","type":"select","name":"involvedType","dataType":"nvarchar","isRequired":true,"options":[{"label":"Pessoa","value":"person"},{"label":"Empresa","value":"company"}]},{"label":"Pessoa","type":"autocomplete","name":"involvedPersonId","dataType":"uniqueidentifier","isRequired":true,"optionsApi":{"endpoint":"/people","labelField":["people.cpf","people.name"],"valueField":"id","paramsToFilter":["people.cpf","people.name"],"paramType":"query","relatedEntity":"people"},"conditions":[{"type":"form","elements":[{"key":"involvedType","comparisonOperator":"===","value":"person"}]}]},{"label":"Empresa","type":"autocomplete","name":"involvedCompanyId","dataType":"uniqueidentifier","isRequired":true,"optionsApi":{"endpoint":"/companies","labelField":["companies.cnpj","companies.name"],"valueField":"id","paramsToFilter":["companies.cnpj","companies.name"],"paramType":"query","relatedEntity":"companies"},"conditions":[{"type":"form","elements":[{"key":"involvedType","comparisonOperator":"===","value":"company"}]}]}],"conditions":[{"type":"form","elements":[{"key":"appointmentTime","comparisonOperator":"!==","value":null}]}]}],"contracts":[{"id":"appointmentContracts","endpoint":"/appointment-contracts","actions":["create","get","getById","update","softDelete"],"request":{"entity":"appointmentContracts","fields":[]}}]}]}]}
@@ -15,7 +15,6 @@ export const characterForm: IForm = {
15
15
  name: "characterName",
16
16
  isRequired: true,
17
17
  },
18
- // file - Foto do personagem
19
18
  {
20
19
  label: "Foto do personagem",
21
20
  type: "file",
@@ -47,6 +46,35 @@ export const characterForm: IForm = {
47
46
  { value: "supporting", label: "Secundário" },
48
47
  ],
49
48
  },
49
+ {
50
+ type: "select",
51
+ label: "Raça",
52
+ name: "characterBreed",
53
+ dataType: EDataType.TEXT,
54
+ options: [
55
+ { value: "human", label: "Humana", isSelected: true, },
56
+ { value: "other", label: "Outra" },
57
+ ],
58
+ },
59
+ {
60
+ label: "Outra raça",
61
+ name: "characterOtherBreed",
62
+ type: "input",
63
+ dataType: EDataType.NVARCHAR,
64
+ isRequired: true,
65
+ conditions: [
66
+ {
67
+ type: "form",
68
+ elements: [
69
+ {
70
+ key: "characterBreed",
71
+ value: "other",
72
+ comparisonOperator: "==="
73
+ }
74
+ ]
75
+ }
76
+ ]
77
+ },
50
78
  {
51
79
  type: "select",
52
80
  label: "Gênero do personagem",
@@ -98,7 +98,7 @@ export const movieForm: IForm = {
98
98
  elements: [
99
99
  {
100
100
  label: "Ator / Atriz",
101
- type: "array",
101
+ type: EDataType.ARRAY,
102
102
  name: "actors",
103
103
  elements: [
104
104
  {
@@ -36,6 +36,16 @@ export interface IFormButton {
36
36
  actionButtonBusinessRules?: IBusinessRule[];
37
37
  conditions: IFormCondition[];
38
38
  },
39
+ toast?: {
40
+ id: string;
41
+ title: string;
42
+ subtitle?: string;
43
+ icon: string;
44
+ size?: "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | "7xl";
45
+ type: "success" | "error" | "warning" | "info";
46
+ businessRules?: IBusinessRule[];
47
+ conditions: IFormCondition[];
48
+ },
39
49
  link?: {
40
50
  url: string;
41
51
  openInNewTab?: boolean;
@@ -33,6 +33,8 @@ export interface IList {
33
33
  usePropertyAsQuery?: boolean; // if true then "/user/<email>"
34
34
  };
35
35
  dataType: EDataType;
36
+ isMultiple?: boolean;
37
+ isExpansible?: boolean;
36
38
  conditions?: IFormCondition[];
37
39
  businessRules?: IBusinessRule[];
38
40
  todo?: string;
@@ -66,6 +68,9 @@ export interface IList {
66
68
  };
67
69
  };
68
70
  };
71
+ businessRules?: IBusinessRule[];
72
+ conditions?: IFormCondition[];
73
+ todo?: string;
69
74
  }[];
70
75
  contracts: {
71
76
  id: string;
@@ -67,6 +67,36 @@
67
67
  }
68
68
  }
69
69
  },
70
+ "toast": {
71
+ "type": "object",
72
+ "properties": {
73
+ "id": { "type": "string" },
74
+ "title": { "type": "string" },
75
+ "subtitle": { "type": "string" },
76
+ "icon": { "type": "string" },
77
+ "size": {
78
+ "type": "string",
79
+ "enum": [
80
+ "sm",
81
+ "md",
82
+ "lg",
83
+ "xl",
84
+ "2xl",
85
+ "3xl",
86
+ "4xl",
87
+ "5xl",
88
+ "6xl",
89
+ "7xl"
90
+ ]
91
+ },
92
+ "type": {
93
+ "type": "string",
94
+ "enum": ["success", "error", "warning", "info"]
95
+ },
96
+ "businessRules": { "$ref": "business-rules.ref.json" },
97
+ "conditions": { "$ref": "condition.ref.json" }
98
+ }
99
+ },
70
100
  "modal": {
71
101
  "type": "object",
72
102
  "properties": {
@@ -61,6 +61,12 @@
61
61
  "type": "string",
62
62
  "$ref": "types-datatype.ref.json"
63
63
  },
64
+ "isMultiple": {
65
+ "type": "boolean"
66
+ },
67
+ "isExpansible": {
68
+ "type": "boolean"
69
+ },
64
70
  "isHtml": {
65
71
  "type": "boolean"
66
72
  },
@@ -202,6 +208,15 @@
202
208
  }
203
209
  },
204
210
  "required": ["link"]
211
+ },
212
+ "businessRules": {
213
+ "$ref": "business-rules.ref.json"
214
+ },
215
+ "conditions": {
216
+ "$ref": "condition.ref.json"
217
+ },
218
+ "todo": {
219
+ "type": "string"
205
220
  }
206
221
  },
207
222
  "required": ["icon", "label", "action"]