diff --git a/.changeset/tiny-zebras-matter.md b/.changeset/tiny-zebras-matter.md new file mode 100644 index 00000000..6b284ca1 --- /dev/null +++ b/.changeset/tiny-zebras-matter.md @@ -0,0 +1,8 @@ +--- +"@ladesa-ro/especificacao.json-schema": minor +"@ladesa-ro/especificacao.dotnet": minor +"@ladesa-ro/especificacao.definitions": minor +"@ladesa-ro/especificacao": minor +--- + +change(definitions/schemas): filter with pattern "filter.property" diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 83a8a487..898ddca2 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -12,7 +12,7 @@ "PNPM_HOME": "/pnpm" }, - "postCreateCommand": "bash -i -c 'nvm install --lts && pnpm install && (cd integrations/dotnet && dotnet tool restore)'", + "postCreateCommand": "bash -i -c 'nvm install --lts && pnpm install && (cd integrations/dotnet)'", // Features to add to the dev container. More info: https://containers.dev/features. "features": { diff --git a/definitions/package.json b/definitions/package.json index 3144d9e0..8e8585d0 100644 --- a/definitions/package.json +++ b/definitions/package.json @@ -1,5 +1,5 @@ { - "name": "@ladesa-ro/especificacao-definitions", + "name": "@ladesa-ro/especificacao.definitions", "private": true, "type": "module", "version": "3.1.5", diff --git a/definitions/src/schemas/modules/ambientes/ambiente.tsp b/definitions/src/schemas/modules/ambientes/ambiente.tsp index 487c4f8d..fd6c1479 100644 --- a/definitions/src/schemas/modules/ambientes/ambiente.tsp +++ b/definitions/src/schemas/modules/ambientes/ambiente.tsp @@ -124,12 +124,12 @@ model AmbienteListOperation // filtros @extension("x-unispec-gql-key", "filterBlocoId") @extension("x-unispec-http-key", "filter.bloco.id") - filterBlocoId?: Pagination.GenericFilter.eq[]; + `filter.bloco.id`?: Pagination.GenericFilter.eq[]; // filtros @extension("x-unispec-gql-key", "filterBlocoCampusId") @extension("x-unispec-http-key", "filter.bloco.campus.id") - filterBlocoCampusId?: Pagination.GenericFilter.eq[]; + `filter.bloco.campus.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ambientes/bloco.tsp b/definitions/src/schemas/modules/ambientes/bloco.tsp index ccb1e7ba..a12677e2 100644 --- a/definitions/src/schemas/modules/ambientes/bloco.tsp +++ b/definitions/src/schemas/modules/ambientes/bloco.tsp @@ -107,7 +107,7 @@ model BlocoListOperation // filtros @extension("x-unispec-gql-key", "filterCampusId") @extension("x-unispec-http-key", "filter.campus.id") - filterCampusId?: Pagination.GenericFilter.eq[]; + `filter.campus.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ambientes/campus.tsp b/definitions/src/schemas/modules/ambientes/campus.tsp index e2a66870..fa074b35 100644 --- a/definitions/src/schemas/modules/ambientes/campus.tsp +++ b/definitions/src/schemas/modules/ambientes/campus.tsp @@ -106,12 +106,12 @@ model CampusListOperation // filters @extension("x-unispec-gql-key", "filterEnderecoCidadeId") @extension("x-unispec-http-key", "filter.endereco.cidade.id") - filterEnderecoCidadeId?: Pagination.GenericFilter.eq[]; + `filter.endereco.cidade.id`?: Pagination.GenericFilter.eq[]; // filters @extension("x-unispec-gql-key", "filterEnderecoCidadeEstadoId") @extension("x-unispec-http-key", "filter.endereco.cidade.estado.id") - filterEnderecoCidadeEstadoId?: Pagination.GenericFilter.eq[]; + `filter.endereco.cidade.estado.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ambientes/cidade.tsp b/definitions/src/schemas/modules/ambientes/cidade.tsp index 9e1faa57..7052c85c 100644 --- a/definitions/src/schemas/modules/ambientes/cidade.tsp +++ b/definitions/src/schemas/modules/ambientes/cidade.tsp @@ -61,6 +61,6 @@ model CidadeListOperation // filters @extension("x-unispec-gql-key", "filterEstadoId") @extension("x-unispec-http-key", "filter.estado.id") - filterEstadoId?: Pagination.GenericFilter.eq[]; + `filter.estado.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ambientes/reserva.tsp b/definitions/src/schemas/modules/ambientes/reserva.tsp index 884691e8..5ddb902d 100644 --- a/definitions/src/schemas/modules/ambientes/reserva.tsp +++ b/definitions/src/schemas/modules/ambientes/reserva.tsp @@ -116,7 +116,7 @@ model ReservaListOperation // filters @extension("x-unispec-gql-key", "filterDataInicio") @extension("x-unispec-http-key", "filter.dataInicio") - filterDataInicio?: ( + `filter.dataInicio`?: ( | Pagination.GenericFilter.eq | Pagination.GenericFilter.gt | Pagination.GenericFilter.gte @@ -126,7 +126,7 @@ model ReservaListOperation // filters @extension("x-unispec-gql-key", "filterDataTermino") @extension("x-unispec-http-key", "filter.dataTermino") - filterDataTermino?: ( + `filter.dataTermino`?: ( | Pagination.GenericFilter.eq | Pagination.GenericFilter.gt | Pagination.GenericFilter.gte @@ -136,7 +136,7 @@ model ReservaListOperation // filters @extension("x-unispec-gql-key", "filterIntervaloDeTempoPeriodoInicio") @extension("x-unispec-http-key", "intervaloDeTempo.periodoInicio") - filterIntervaloDeTempoPeriodoInicio?: ( + `intervaloDeTempo.periodoInicio`?: ( | Pagination.GenericFilter.eq | Pagination.GenericFilter.gt | Pagination.GenericFilter.gte @@ -146,7 +146,7 @@ model ReservaListOperation // filters @extension("x-unispec-gql-key", "filterIntervaloDeTempoPeriodoFim") @extension("x-unispec-http-key", "intervaloDeTempo.periodoFim") - filterIntervaloDeTempoPeriodoFim?: ( + `intervaloDeTempo.periodoFim`?: ( | Pagination.GenericFilter.eq | Pagination.GenericFilter.gt | Pagination.GenericFilter.gte diff --git a/definitions/src/schemas/modules/autorizacao/perfil.tsp b/definitions/src/schemas/modules/autorizacao/perfil.tsp index 1c54a77c..f1ed3dad 100644 --- a/definitions/src/schemas/modules/autorizacao/perfil.tsp +++ b/definitions/src/schemas/modules/autorizacao/perfil.tsp @@ -92,12 +92,12 @@ model PerfilListOperation // filtros @extension("x-unispec-gql-key", "filterCampusId") @extension("x-unispec-http-key", "filter.campus.id") - filterCampusId?: Pagination.GenericFilter.eq[]; + `filter.campus.id`?: Pagination.GenericFilter.eq[]; // filtros @extension("x-unispec-gql-key", "filterUsuarioId") @extension("x-unispec-http-key", "filter.usuario.id") - filterUsuarioId?: Pagination.GenericFilter.eq[]; + `filter.usuario.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/calendario/calendario-letivo.tsp b/definitions/src/schemas/modules/calendario/calendario-letivo.tsp index fb6d3aee..c7b87fed 100644 --- a/definitions/src/schemas/modules/calendario/calendario-letivo.tsp +++ b/definitions/src/schemas/modules/calendario/calendario-letivo.tsp @@ -105,10 +105,10 @@ model CalendarioLetivoListOperation // filtros @extension("x-unispec-gql-key", "filterCampusId") @extension("x-unispec-http-key", "filter.campus.id") - filter_campus_id?: Pagination.GenericFilter.eq[]; + `filter.campus.id`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterOfertaFormacaoId") @extension("x-unispec-http-key", "filter.ofertaFormacao.id") - filter_ofertaFormacao_id?: Pagination.GenericFilter.eq[]; + `filter.ofertaFormacao.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/calendario/dia-calendario.tsp b/definitions/src/schemas/modules/calendario/dia-calendario.tsp index f419fe7c..4a8df637 100644 --- a/definitions/src/schemas/modules/calendario/dia-calendario.tsp +++ b/definitions/src/schemas/modules/calendario/dia-calendario.tsp @@ -99,6 +99,6 @@ model DiaCalendarioListOperation // filtros @extension("x-unispec-gql-key", "filterCalendarioId") @extension("x-unispec-http-key", "filter.calendario.id") - filter_calendario_id?: Pagination.GenericFilter.eq[]; + `filter.calendario.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/calendario/etapa.tsp b/definitions/src/schemas/modules/calendario/etapa.tsp index 1afc7c9f..98e3d498 100644 --- a/definitions/src/schemas/modules/calendario/etapa.tsp +++ b/definitions/src/schemas/modules/calendario/etapa.tsp @@ -92,6 +92,6 @@ model EtapaListOperation // filtros @extension("x-unispec-gql-key", "filterCalendarioId") @extension("x-unispec-http-key", "filter.calendario.id") - filter_calendario_id?: Pagination.GenericFilter.eq[]; + `filter.calendario.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/calendario/evento.tsp b/definitions/src/schemas/modules/calendario/evento.tsp index 8531c3d3..1a676504 100644 --- a/definitions/src/schemas/modules/calendario/evento.tsp +++ b/definitions/src/schemas/modules/calendario/evento.tsp @@ -93,6 +93,6 @@ model EventoListOperation // filtros @extension("x-unispec-gql-key", "filterCalendarioId") @extension("x-unispec-http-key", "filter.calendario.id") - filter_calendario_id?: Pagination.GenericFilter.eq[]; + `filter.calendario.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ensino/discente/aula.tsp b/definitions/src/schemas/modules/ensino/discente/aula.tsp index 453b6951..7bf96f34 100644 --- a/definitions/src/schemas/modules/ensino/discente/aula.tsp +++ b/definitions/src/schemas/modules/ensino/discente/aula.tsp @@ -94,10 +94,10 @@ model AulaListOperation // filtros @extension("x-unispec-gql-key", "filterDiarioId") @extension("x-unispec-http-key", "filter.diario.id") - filter_diario_id?: Pagination.GenericFilter.eq[]; + `filter.diario.id`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterAmbienteId") @extension("x-unispec-http-key", "filter.ambiente.id") - filter_ambiente_id?: Pagination.GenericFilter.eq[]; + `filter.ambiente.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ensino/discente/diario-professor.tsp b/definitions/src/schemas/modules/ensino/discente/diario-professor.tsp index 88dc22d2..764e7055 100644 --- a/definitions/src/schemas/modules/ensino/discente/diario-professor.tsp +++ b/definitions/src/schemas/modules/ensino/discente/diario-professor.tsp @@ -96,10 +96,10 @@ model DiarioProfessorListOperation // filtros @extension("x-unispec-gql-key", "filterPerfilId") @extension("x-unispec-http-key", "filter.perfil.id") - filter_perfil_id?: Pagination.GenericFilter.eq[]; + `filter.perfil.id`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterDiarioId") @extension("x-unispec-http-key", "filter.diario.id") - filter_diario_id?: Pagination.GenericFilter.eq[]; + `filter.diario.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ensino/discente/diario.tsp b/definitions/src/schemas/modules/ensino/discente/diario.tsp index fb882f57..4a83e2cc 100644 --- a/definitions/src/schemas/modules/ensino/discente/diario.tsp +++ b/definitions/src/schemas/modules/ensino/discente/diario.tsp @@ -103,19 +103,19 @@ model DiarioListOperation // filtros @extension("x-unispec-gql-key", "filterTurmaId") @extension("x-unispec-http-key", "filter.turma.id") - filter_turma_id?: Pagination.GenericFilter.eq[]; + `filter.turma.id`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterDisciplinaId") @extension("x-unispec-http-key", "filter.disciplina.id") - filter_disciplina_id?: Pagination.GenericFilter.eq[]; + `filter.disciplina.id`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterAmbientePadraoId") @extension("x-unispec-http-key", "filter.ambientePadrao.id") - filter_ambientePadrao_id?: Pagination.GenericFilter.eq[]; + `filter.ambientePadrao.id`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterCalendarioLetivoId") @extension("x-unispec-http-key", "filter.calendarioLetivo.id") - filter_calendarioLetivo_id?: Pagination.GenericFilter.eq[]; + `filter.calendarioLetivo.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ensino/discente/turma.tsp b/definitions/src/schemas/modules/ensino/discente/turma.tsp index 836fced8..1f73d078 100644 --- a/definitions/src/schemas/modules/ensino/discente/turma.tsp +++ b/definitions/src/schemas/modules/ensino/discente/turma.tsp @@ -96,35 +96,35 @@ model TurmaListOperation // filtros @extension("x-unispec-gql-key", "filterAmbientePadraoAulaNome") @extension("x-unispec-http-key", "filter.ambientePadraoAula.nome") - filter_ambientePadraoAula_nome?: Pagination.GenericFilter.eq[]; + `filter.ambientePadraoAula.nome`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterAmbientePadraoAulaCodigo") @extension("x-unispec-http-key", "filter.ambientePadraoAula.codigo") - filter_ambientePadraoAula_codigo?: Pagination.GenericFilter.eq[]; + `filter.ambientePadraoAula.codigo`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterAmbientePadraoAulaCapacidade") @extension("x-unispec-http-key", "filter.ambientePadraoAula.capacidade") - filter_ambientePadraoAula_capacidade?: Pagination.GenericFilter.eq[]; + `filter.ambientePadraoAula.capacidade`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterAmbientePadraoAulaTipo") @extension("x-unispec-http-key", "filter.ambientePadraoAula.tipo") - filter_ambientePadraoAula_tipo?: Pagination.GenericFilter.eq[]; + `filter.ambientePadraoAula.tipo`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterCursoNome") @extension("x-unispec-http-key", "filter.curso.nome") - filter_curso_nome?: Pagination.GenericFilter.eq[]; + `filter.curso.nome`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterCursoNomeAbreviado") @extension("x-unispec-http-key", "filter.curso.nomeAbreviado") - filter_curso_nomeAbreviado?: Pagination.GenericFilter.eq[]; + `filter.curso.nomeAbreviado`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterCursoCampusId") @extension("x-unispec-http-key", "filter.curso.campus.id") - filter_curso_campus_id?: Pagination.GenericFilter.eq[]; + `filter.curso.campus.id`?: Pagination.GenericFilter.eq[]; @extension("x-unispec-gql-key", "filterCursoModalidadeId") @extension("x-unispec-http-key", "filter.curso.modalidade.id") - filter_curso_modalidade_id?: Pagination.GenericFilter.eq[]; + `filter.curso.modalidade.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/ensino/institucional/curso.tsp b/definitions/src/schemas/modules/ensino/institucional/curso.tsp index f64cc053..0a41d003 100644 --- a/definitions/src/schemas/modules/ensino/institucional/curso.tsp +++ b/definitions/src/schemas/modules/ensino/institucional/curso.tsp @@ -100,12 +100,12 @@ model CursoListOperation // filtros @extension("x-unispec-gql-key", "filterCampusId") @extension("x-unispec-http-key", "filter.campus.id") - filter_campus_id?: Pagination.GenericFilter.eq[]; + `filter.campus.id`?: Pagination.GenericFilter.eq[]; // filtros @extension("x-unispec-gql-key", "filterOfertaFormacaoId") @extension("x-unispec-http-key", "filter.ofertaFormacao.id") - filter_ofertaFormacao_id?: Pagination.GenericFilter.eq[]; + `filter.ofertaFormacao.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/definitions/src/schemas/modules/horarios/disponibilidade-dia.tsp b/definitions/src/schemas/modules/horarios/disponibilidade-dia.tsp index dcbc858c..2cdc7268 100644 --- a/definitions/src/schemas/modules/horarios/disponibilidade-dia.tsp +++ b/definitions/src/schemas/modules/horarios/disponibilidade-dia.tsp @@ -99,6 +99,6 @@ model DisponibilidadeDiaListOperation { @extension("x-unispec-gql-key", "filterDisponibilidadeId") @extension("x-unispec-http-key", "filter.disponibilidade.id") - filter_disponibilidade_id?: Pagination.GenericFilter.eq[]; + `filter.disponibilidade.id`?: Pagination.GenericFilter.eq[]; } >; diff --git a/integrations/dotnet/Ladesa.Dtos/Ladesa.Dtos.cs b/integrations/dotnet/Ladesa.Dtos/Ladesa.Dtos.cs index 3d2c714d..cb13d617 100644 --- a/integrations/dotnet/Ladesa.Dtos/Ladesa.Dtos.cs +++ b/integrations/dotnet/Ladesa.Dtos/Ladesa.Dtos.cs @@ -1835,11 +1835,11 @@ public partial class AmbienteListOperationInput public partial class PurpleQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterBlocoCampusId")] + [JsonPropertyName("filter.bloco.campus.id")] public string[] FilterBlocoCampusId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterBlocoId")] + [JsonPropertyName("filter.bloco.id")] public string[] FilterBlocoId { get; set; } /// @@ -3568,11 +3568,11 @@ public partial class AulaListOperationInput public partial class TentacledQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ambiente_id")] + [JsonPropertyName("filter.ambiente.id")] public string[] FilterAmbienteId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_diario_id")] + [JsonPropertyName("filter.diario.id")] public string[] FilterDiarioId { get; set; } /// @@ -4543,7 +4543,7 @@ public partial class BlocoListOperationInput public partial class StickyQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterCampusId")] + [JsonPropertyName("filter.campus.id")] public string[] FilterCampusId { get; set; } /// @@ -5078,11 +5078,11 @@ public partial class CalendarioLetivoListOperationInput public partial class IndigoQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_campus_id")] + [JsonPropertyName("filter.campus.id")] public string[] FilterCampusId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ofertaFormacao_id")] + [JsonPropertyName("filter.ofertaFormacao.id")] public string[] FilterOfertaFormacaoId { get; set; } /// @@ -5686,11 +5686,11 @@ public partial class CampusListOperationInput public partial class IndecentQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterEnderecoCidadeEstadoId")] + [JsonPropertyName("filter.endereco.cidade.estado.id")] public string[] FilterEnderecoCidadeEstadoId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterEnderecoCidadeId")] + [JsonPropertyName("filter.endereco.cidade.id")] public string[] FilterEnderecoCidadeId { get; set; } /// @@ -6017,7 +6017,7 @@ public partial class CidadeListOperationInput public partial class HilariousQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterEstadoId")] + [JsonPropertyName("filter.estado.id")] public string[] FilterEstadoId { get; set; } /// @@ -6462,11 +6462,11 @@ public partial class CursoListOperationInput public partial class AmbitiousQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_campus_id")] + [JsonPropertyName("filter.campus.id")] public string[] FilterCampusId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ofertaFormacao_id")] + [JsonPropertyName("filter.ofertaFormacao.id")] public string[] FilterOfertaFormacaoId { get; set; } /// @@ -7064,7 +7064,7 @@ public partial class DiaCalendarioListOperationInput public partial class CunningQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_calendario_id")] + [JsonPropertyName("filter.calendario.id")] public string[] FilterCalendarioId { get; set; } /// @@ -7607,19 +7607,19 @@ public partial class DiarioListOperationInput public partial class MagentaQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ambientePadrao_id")] + [JsonPropertyName("filter.ambientePadrao.id")] public string[] FilterAmbientePadraoId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_calendarioLetivo_id")] + [JsonPropertyName("filter.calendarioLetivo.id")] public string[] FilterCalendarioLetivoId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_disciplina_id")] + [JsonPropertyName("filter.disciplina.id")] public string[] FilterDisciplinaId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_turma_id")] + [JsonPropertyName("filter.turma.id")] public string[] FilterTurmaId { get; set; } /// @@ -8761,11 +8761,11 @@ public partial class DiarioProfessorListOperationInput public partial class MischievousQueries { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_diario_id")] + [JsonPropertyName("filter.diario.id")] public string[] FilterDiarioId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_perfil_id")] + [JsonPropertyName("filter.perfil.id")] public string[] FilterPerfilId { get; set; } /// @@ -10157,7 +10157,7 @@ public partial class DisponibilidadeDiaListOperationInput public partial class Queries1 { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_disponibilidade_id")] + [JsonPropertyName("filter.disponibilidade.id")] public string[] FilterDisponibilidadeId { get; set; } /// @@ -11459,7 +11459,7 @@ public partial class EtapaListOperationInput public partial class Queries4 { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_calendario_id")] + [JsonPropertyName("filter.calendario.id")] public string[] FilterCalendarioId { get; set; } /// @@ -11979,7 +11979,7 @@ public partial class EventoListOperationInput public partial class Queries5 { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_calendario_id")] + [JsonPropertyName("filter.calendario.id")] public string[] FilterCalendarioId { get; set; } /// @@ -16982,17 +16982,17 @@ public partial class PerfilListOperationInput public partial class Queries14 { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterAtivo")] - public string[] FilterAtivo { get; set; } - - [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterCampusId")] + [JsonPropertyName("filter.campus.id")] public string[] FilterCampusId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterUsuarioId")] + [JsonPropertyName("filter.usuario.id")] public string[] FilterUsuarioId { get; set; } + [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] + [JsonPropertyName("filterAtivo")] + public string[] FilterAtivo { get; set; } + /// /// Limite da quantidade de resultados por página. /// @@ -18121,20 +18121,20 @@ public partial class ReservaListOperationInput public partial class Queries16 { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterDataInicio")] + [JsonPropertyName("filter.dataInicio")] public string[] FilterDataInicio { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterDataTermino")] + [JsonPropertyName("filter.dataTermino")] public string[] FilterDataTermino { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterIntervaloDeTempoPeriodoFim")] - public string[] FilterIntervaloDeTempoPeriodoFim { get; set; } + [JsonPropertyName("intervaloDeTempo.periodoFim")] + public string[] IntervaloDeTempoPeriodoFim { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filterIntervaloDeTempoPeriodoInicio")] - public string[] FilterIntervaloDeTempoPeriodoInicio { get; set; } + [JsonPropertyName("intervaloDeTempo.periodoInicio")] + public string[] IntervaloDeTempoPeriodoInicio { get; set; } /// /// Limite da quantidade de resultados por página. @@ -19125,35 +19125,35 @@ public partial class TurmaListOperationInput public partial class Queries18 { [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ambientePadraoAula_capacidade")] + [JsonPropertyName("filter.ambientePadraoAula.capacidade")] public string[] FilterAmbientePadraoAulaCapacidade { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ambientePadraoAula_codigo")] + [JsonPropertyName("filter.ambientePadraoAula.codigo")] public string[] FilterAmbientePadraoAulaCodigo { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ambientePadraoAula_nome")] + [JsonPropertyName("filter.ambientePadraoAula.nome")] public string[] FilterAmbientePadraoAulaNome { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_ambientePadraoAula_tipo")] + [JsonPropertyName("filter.ambientePadraoAula.tipo")] public string[] FilterAmbientePadraoAulaTipo { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_curso_campus_id")] + [JsonPropertyName("filter.curso.campus.id")] public string[] FilterCursoCampusId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_curso_modalidade_id")] + [JsonPropertyName("filter.curso.modalidade.id")] public string[] FilterCursoModalidadeId { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_curso_nome")] + [JsonPropertyName("filter.curso.nome")] public string[] FilterCursoNome { get; set; } [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] - [JsonPropertyName("filter_curso_nomeAbreviado")] + [JsonPropertyName("filter.curso.nomeAbreviado")] public string[] FilterCursoNomeAbreviado { get; set; } /// diff --git a/integrations/dotnet/package.json b/integrations/dotnet/package.json index cc42db92..18b2357f 100644 --- a/integrations/dotnet/package.json +++ b/integrations/dotnet/package.json @@ -1,5 +1,5 @@ { - "name": "@ladesa-ro/especificacao-dotnet", + "name": "@ladesa-ro/especificacao.dotnet", "version": "3.1.5", "private": true, "scripts": { diff --git a/integrations/json-schema/lib/AmbienteListOperation.json b/integrations/json-schema/lib/AmbienteListOperation.json index a792f3e5..ab379099 100644 --- a/integrations/json-schema/lib/AmbienteListOperation.json +++ b/integrations/json-schema/lib/AmbienteListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filterBlocoId": { + "filter.bloco.id": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.bloco.id", "x-unispec-gql-key": "filterBlocoId" }, - "filterBlocoCampusId": { + "filter.bloco.campus.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/AulaListOperation.json b/integrations/json-schema/lib/AulaListOperation.json index 6e2942d4..0416168a 100644 --- a/integrations/json-schema/lib/AulaListOperation.json +++ b/integrations/json-schema/lib/AulaListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_diario_id": { + "filter.diario.id": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.diario.id", "x-unispec-gql-key": "filterDiarioId" }, - "filter_ambiente_id": { + "filter.ambiente.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/BlocoListOperation.json b/integrations/json-schema/lib/BlocoListOperation.json index 0d25e622..4a7a82bc 100644 --- a/integrations/json-schema/lib/BlocoListOperation.json +++ b/integrations/json-schema/lib/BlocoListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filterCampusId": { + "filter.campus.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/CalendarioLetivoListOperation.json b/integrations/json-schema/lib/CalendarioLetivoListOperation.json index 6a6e6be8..1b995dd1 100644 --- a/integrations/json-schema/lib/CalendarioLetivoListOperation.json +++ b/integrations/json-schema/lib/CalendarioLetivoListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_campus_id": { + "filter.campus.id": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.campus.id", "x-unispec-gql-key": "filterCampusId" }, - "filter_ofertaFormacao_id": { + "filter.ofertaFormacao.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/CampusListOperation.json b/integrations/json-schema/lib/CampusListOperation.json index 5dc35bdf..3242c47b 100644 --- a/integrations/json-schema/lib/CampusListOperation.json +++ b/integrations/json-schema/lib/CampusListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filterEnderecoCidadeId": { + "filter.endereco.cidade.id": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.endereco.cidade.id", "x-unispec-gql-key": "filterEnderecoCidadeId" }, - "filterEnderecoCidadeEstadoId": { + "filter.endereco.cidade.estado.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/CidadeListOperation.json b/integrations/json-schema/lib/CidadeListOperation.json index c37f8f68..7b2aa96a 100644 --- a/integrations/json-schema/lib/CidadeListOperation.json +++ b/integrations/json-schema/lib/CidadeListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filterEstadoId": { + "filter.estado.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/CursoListOperation.json b/integrations/json-schema/lib/CursoListOperation.json index 3fd8fffc..30818cfc 100644 --- a/integrations/json-schema/lib/CursoListOperation.json +++ b/integrations/json-schema/lib/CursoListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_campus_id": { + "filter.campus.id": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.campus.id", "x-unispec-gql-key": "filterCampusId" }, - "filter_ofertaFormacao_id": { + "filter.ofertaFormacao.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/DiaCalendarioListOperation.json b/integrations/json-schema/lib/DiaCalendarioListOperation.json index 66c46f7f..8c7233de 100644 --- a/integrations/json-schema/lib/DiaCalendarioListOperation.json +++ b/integrations/json-schema/lib/DiaCalendarioListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_calendario_id": { + "filter.calendario.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/DiarioListOperation.json b/integrations/json-schema/lib/DiarioListOperation.json index 84eb1470..c2633c2f 100644 --- a/integrations/json-schema/lib/DiarioListOperation.json +++ b/integrations/json-schema/lib/DiarioListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_turma_id": { + "filter.turma.id": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.turma.id", "x-unispec-gql-key": "filterTurmaId" }, - "filter_disciplina_id": { + "filter.disciplina.id": { "type": "array", "items": { "type": "string" @@ -67,7 +67,7 @@ "x-unispec-http-key": "filter.disciplina.id", "x-unispec-gql-key": "filterDisciplinaId" }, - "filter_ambientePadrao_id": { + "filter.ambientePadrao.id": { "type": "array", "items": { "type": "string" @@ -75,7 +75,7 @@ "x-unispec-http-key": "filter.ambientePadrao.id", "x-unispec-gql-key": "filterAmbientePadraoId" }, - "filter_calendarioLetivo_id": { + "filter.calendarioLetivo.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/DiarioProfessorListOperation.json b/integrations/json-schema/lib/DiarioProfessorListOperation.json index 5d09d561..e1607442 100644 --- a/integrations/json-schema/lib/DiarioProfessorListOperation.json +++ b/integrations/json-schema/lib/DiarioProfessorListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_perfil_id": { + "filter.perfil.id": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.perfil.id", "x-unispec-gql-key": "filterPerfilId" }, - "filter_diario_id": { + "filter.diario.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/DisponibilidadeDiaListOperation.json b/integrations/json-schema/lib/DisponibilidadeDiaListOperation.json index 1e4322c8..009a33b0 100644 --- a/integrations/json-schema/lib/DisponibilidadeDiaListOperation.json +++ b/integrations/json-schema/lib/DisponibilidadeDiaListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_disponibilidade_id": { + "filter.disponibilidade.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/EtapaListOperation.json b/integrations/json-schema/lib/EtapaListOperation.json index 00081795..b132fa08 100644 --- a/integrations/json-schema/lib/EtapaListOperation.json +++ b/integrations/json-schema/lib/EtapaListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_calendario_id": { + "filter.calendario.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/EventoListOperation.json b/integrations/json-schema/lib/EventoListOperation.json index fe046b27..9363033a 100644 --- a/integrations/json-schema/lib/EventoListOperation.json +++ b/integrations/json-schema/lib/EventoListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_calendario_id": { + "filter.calendario.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/PerfilListOperation.json b/integrations/json-schema/lib/PerfilListOperation.json index aaeb199b..67f2bfce 100644 --- a/integrations/json-schema/lib/PerfilListOperation.json +++ b/integrations/json-schema/lib/PerfilListOperation.json @@ -57,7 +57,7 @@ "type": "string" } }, - "filterCampusId": { + "filter.campus.id": { "type": "array", "items": { "type": "string" @@ -65,7 +65,7 @@ "x-unispec-http-key": "filter.campus.id", "x-unispec-gql-key": "filterCampusId" }, - "filterUsuarioId": { + "filter.usuario.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/lib/ReservaListOperation.json b/integrations/json-schema/lib/ReservaListOperation.json index bcc390b8..4b0b2f89 100644 --- a/integrations/json-schema/lib/ReservaListOperation.json +++ b/integrations/json-schema/lib/ReservaListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filterDataInicio": { + "filter.dataInicio": { "type": "array", "items": { "anyOf": [ @@ -75,7 +75,7 @@ "x-unispec-http-key": "filter.dataInicio", "x-unispec-gql-key": "filterDataInicio" }, - "filterDataTermino": { + "filter.dataTermino": { "type": "array", "items": { "anyOf": [ @@ -99,7 +99,7 @@ "x-unispec-http-key": "filter.dataTermino", "x-unispec-gql-key": "filterDataTermino" }, - "filterIntervaloDeTempoPeriodoInicio": { + "intervaloDeTempo.periodoInicio": { "type": "array", "items": { "anyOf": [ @@ -123,7 +123,7 @@ "x-unispec-http-key": "intervaloDeTempo.periodoInicio", "x-unispec-gql-key": "filterIntervaloDeTempoPeriodoInicio" }, - "filterIntervaloDeTempoPeriodoFim": { + "intervaloDeTempo.periodoFim": { "type": "array", "items": { "anyOf": [ diff --git a/integrations/json-schema/lib/TurmaListOperation.json b/integrations/json-schema/lib/TurmaListOperation.json index eb616882..548ff8bc 100644 --- a/integrations/json-schema/lib/TurmaListOperation.json +++ b/integrations/json-schema/lib/TurmaListOperation.json @@ -51,7 +51,7 @@ }, "description": "Ordenação." }, - "filter_ambientePadraoAula_nome": { + "filter.ambientePadraoAula.nome": { "type": "array", "items": { "type": "string" @@ -59,7 +59,7 @@ "x-unispec-http-key": "filter.ambientePadraoAula.nome", "x-unispec-gql-key": "filterAmbientePadraoAulaNome" }, - "filter_ambientePadraoAula_codigo": { + "filter.ambientePadraoAula.codigo": { "type": "array", "items": { "type": "string" @@ -67,7 +67,7 @@ "x-unispec-http-key": "filter.ambientePadraoAula.codigo", "x-unispec-gql-key": "filterAmbientePadraoAulaCodigo" }, - "filter_ambientePadraoAula_capacidade": { + "filter.ambientePadraoAula.capacidade": { "type": "array", "items": { "type": "string" @@ -75,7 +75,7 @@ "x-unispec-http-key": "filter.ambientePadraoAula.capacidade", "x-unispec-gql-key": "filterAmbientePadraoAulaCapacidade" }, - "filter_ambientePadraoAula_tipo": { + "filter.ambientePadraoAula.tipo": { "type": "array", "items": { "type": "string" @@ -83,7 +83,7 @@ "x-unispec-http-key": "filter.ambientePadraoAula.tipo", "x-unispec-gql-key": "filterAmbientePadraoAulaTipo" }, - "filter_curso_nome": { + "filter.curso.nome": { "type": "array", "items": { "type": "string" @@ -91,7 +91,7 @@ "x-unispec-http-key": "filter.curso.nome", "x-unispec-gql-key": "filterCursoNome" }, - "filter_curso_nomeAbreviado": { + "filter.curso.nomeAbreviado": { "type": "array", "items": { "type": "string" @@ -99,7 +99,7 @@ "x-unispec-http-key": "filter.curso.nomeAbreviado", "x-unispec-gql-key": "filterCursoNomeAbreviado" }, - "filter_curso_campus_id": { + "filter.curso.campus.id": { "type": "array", "items": { "type": "string" @@ -107,7 +107,7 @@ "x-unispec-http-key": "filter.curso.campus.id", "x-unispec-gql-key": "filterCursoCampusId" }, - "filter_curso_modalidade_id": { + "filter.curso.modalidade.id": { "type": "array", "items": { "type": "string" diff --git a/integrations/json-schema/package.json b/integrations/json-schema/package.json index 73c1bbf9..2465b4be 100644 --- a/integrations/json-schema/package.json +++ b/integrations/json-schema/package.json @@ -1,5 +1,5 @@ { - "name": "@ladesa-ro/especificacao-json-schema", + "name": "@ladesa-ro/especificacao.json-schema", "version": "3.1.5", "private": true, "scripts": { diff --git a/integrations/npm/especificacao/src/nodes.ts b/integrations/npm/especificacao/src/nodes.ts index 4cf28afc..9759bc9b 100644 --- a/integrations/npm/especificacao/src/nodes.ts +++ b/integrations/npm/especificacao/src/nodes.ts @@ -460,7 +460,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_perfil_id: { + "filter.perfil.id": { type: "array", items: { type: "string", @@ -468,7 +468,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.perfil.id", "x-unispec-gql-key": "filterPerfilId", }, - filter_diario_id: { + "filter.diario.id": { type: "array", items: { type: "string", @@ -4663,7 +4663,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filterEstadoId: { + "filter.estado.id": { type: "array", items: { type: "string", @@ -4868,7 +4868,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_diario_id: { + "filter.diario.id": { type: "array", items: { type: "string", @@ -4876,7 +4876,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.diario.id", "x-unispec-gql-key": "filterDiarioId", }, - filter_ambiente_id: { + "filter.ambiente.id": { type: "array", items: { type: "string", @@ -5348,7 +5348,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filterCampusId: { + "filter.campus.id": { type: "array", items: { type: "string", @@ -5785,7 +5785,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_calendario_id: { + "filter.calendario.id": { type: "array", items: { type: "string", @@ -7483,7 +7483,7 @@ export const Nodes: readonly any[] = [ type: "string", }, }, - filterCampusId: { + "filter.campus.id": { type: "array", items: { type: "string", @@ -7491,7 +7491,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.campus.id", "x-unispec-gql-key": "filterCampusId", }, - filterUsuarioId: { + "filter.usuario.id": { type: "array", items: { type: "string", @@ -10190,7 +10190,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filterEnderecoCidadeId: { + "filter.endereco.cidade.id": { type: "array", items: { type: "string", @@ -10198,7 +10198,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.endereco.cidade.id", "x-unispec-gql-key": "filterEnderecoCidadeId", }, - filterEnderecoCidadeEstadoId: { + "filter.endereco.cidade.estado.id": { type: "array", items: { type: "string", @@ -11603,7 +11603,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_turma_id: { + "filter.turma.id": { type: "array", items: { type: "string", @@ -11611,7 +11611,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.turma.id", "x-unispec-gql-key": "filterTurmaId", }, - filter_disciplina_id: { + "filter.disciplina.id": { type: "array", items: { type: "string", @@ -11619,7 +11619,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.disciplina.id", "x-unispec-gql-key": "filterDisciplinaId", }, - filter_ambientePadrao_id: { + "filter.ambientePadrao.id": { type: "array", items: { type: "string", @@ -11627,7 +11627,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.ambientePadrao.id", "x-unispec-gql-key": "filterAmbientePadraoId", }, - filter_calendarioLetivo_id: { + "filter.calendarioLetivo.id": { type: "array", items: { type: "string", @@ -12256,7 +12256,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_calendario_id: { + "filter.calendario.id": { type: "array", items: { type: "string", @@ -12687,7 +12687,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_campus_id: { + "filter.campus.id": { type: "array", items: { type: "string", @@ -12695,7 +12695,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.campus.id", "x-unispec-gql-key": "filterCampusId", }, - filter_ofertaFormacao_id: { + "filter.ofertaFormacao.id": { type: "array", items: { type: "string", @@ -14899,7 +14899,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_ambientePadraoAula_nome: { + "filter.ambientePadraoAula.nome": { type: "array", items: { type: "string", @@ -14907,7 +14907,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.ambientePadraoAula.nome", "x-unispec-gql-key": "filterAmbientePadraoAulaNome", }, - filter_ambientePadraoAula_codigo: { + "filter.ambientePadraoAula.codigo": { type: "array", items: { type: "string", @@ -14915,7 +14915,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.ambientePadraoAula.codigo", "x-unispec-gql-key": "filterAmbientePadraoAulaCodigo", }, - filter_ambientePadraoAula_capacidade: { + "filter.ambientePadraoAula.capacidade": { type: "array", items: { type: "string", @@ -14923,7 +14923,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.ambientePadraoAula.capacidade", "x-unispec-gql-key": "filterAmbientePadraoAulaCapacidade", }, - filter_ambientePadraoAula_tipo: { + "filter.ambientePadraoAula.tipo": { type: "array", items: { type: "string", @@ -14931,7 +14931,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.ambientePadraoAula.tipo", "x-unispec-gql-key": "filterAmbientePadraoAulaTipo", }, - filter_curso_nome: { + "filter.curso.nome": { type: "array", items: { type: "string", @@ -14939,7 +14939,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.curso.nome", "x-unispec-gql-key": "filterCursoNome", }, - filter_curso_nomeAbreviado: { + "filter.curso.nomeAbreviado": { type: "array", items: { type: "string", @@ -14947,7 +14947,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.curso.nomeAbreviado", "x-unispec-gql-key": "filterCursoNomeAbreviado", }, - filter_curso_campus_id: { + "filter.curso.campus.id": { type: "array", items: { type: "string", @@ -14955,7 +14955,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.curso.campus.id", "x-unispec-gql-key": "filterCursoCampusId", }, - filter_curso_modalidade_id: { + "filter.curso.modalidade.id": { type: "array", items: { type: "string", @@ -15180,7 +15180,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filterBlocoId: { + "filter.bloco.id": { type: "array", items: { type: "string", @@ -15188,7 +15188,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.bloco.id", "x-unispec-gql-key": "filterBlocoId", }, - filterBlocoCampusId: { + "filter.bloco.campus.id": { type: "array", items: { type: "string", @@ -15557,7 +15557,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_disponibilidade_id: { + "filter.disponibilidade.id": { type: "array", items: { type: "string", @@ -16219,7 +16219,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filterDataInicio: { + "filter.dataInicio": { type: "array", items: { anyOf: [ @@ -16243,7 +16243,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.dataInicio", "x-unispec-gql-key": "filterDataInicio", }, - filterDataTermino: { + "filter.dataTermino": { type: "array", items: { anyOf: [ @@ -16267,7 +16267,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.dataTermino", "x-unispec-gql-key": "filterDataTermino", }, - filterIntervaloDeTempoPeriodoInicio: { + "intervaloDeTempo.periodoInicio": { type: "array", items: { anyOf: [ @@ -16291,7 +16291,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "intervaloDeTempo.periodoInicio", "x-unispec-gql-key": "filterIntervaloDeTempoPeriodoInicio", }, - filterIntervaloDeTempoPeriodoFim: { + "intervaloDeTempo.periodoFim": { type: "array", items: { anyOf: [ @@ -17271,7 +17271,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_calendario_id: { + "filter.calendario.id": { type: "array", items: { type: "string", @@ -18456,7 +18456,7 @@ export const Nodes: readonly any[] = [ }, description: "Ordenação.", }, - filter_campus_id: { + "filter.campus.id": { type: "array", items: { type: "string", @@ -18464,7 +18464,7 @@ export const Nodes: readonly any[] = [ "x-unispec-http-key": "filter.campus.id", "x-unispec-gql-key": "filterCampusId", }, - filter_ofertaFormacao_id: { + "filter.ofertaFormacao.id": { type: "array", items: { type: "string", diff --git a/integrations/npm/especificacao/src/schemas.ts b/integrations/npm/especificacao/src/schemas.ts index 0d9c8458..7194134b 100644 --- a/integrations/npm/especificacao/src/schemas.ts +++ b/integrations/npm/especificacao/src/schemas.ts @@ -1041,8 +1041,8 @@ export interface AmbienteListOperationInput { } export interface PurpleQueries { - filterBlocoCampusId?: string[] - filterBlocoId?: string[] + "filter.bloco.campus.id"?: string[] + "filter.bloco.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -2227,8 +2227,8 @@ export interface AulaListOperationInput { } export interface TentacledQueries { - filter_ambiente_id?: string[] - filter_diario_id?: string[] + "filter.ambiente.id"?: string[] + "filter.diario.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -2914,7 +2914,7 @@ export interface BlocoListOperationInput { } export interface StickyQueries { - filterCampusId?: string[] + "filter.campus.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -3287,8 +3287,8 @@ export interface CalendarioLetivoListOperationInput { } export interface IndigoQueries { - filter_campus_id?: string[] - filter_ofertaFormacao_id?: string[] + "filter.campus.id"?: string[] + "filter.ofertaFormacao.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -3697,8 +3697,8 @@ export interface CampusListOperationInput { } export interface IndecentQueries { - filterEnderecoCidadeEstadoId?: string[] - filterEnderecoCidadeId?: string[] + "filter.endereco.cidade.estado.id"?: string[] + "filter.endereco.cidade.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -3925,7 +3925,7 @@ export interface CidadeListOperationInput { } export interface HilariousQueries { - filterEstadoId?: string[] + "filter.estado.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -4232,8 +4232,8 @@ export interface CursoListOperationInput { } export interface AmbitiousQueries { - filter_campus_id?: string[] - filter_ofertaFormacao_id?: string[] + "filter.campus.id"?: string[] + "filter.ofertaFormacao.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -4646,7 +4646,7 @@ export interface DiaCalendarioListOperationInput { } export interface CunningQueries { - filter_calendario_id?: string[] + "filter.calendario.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -5017,10 +5017,10 @@ export interface DiarioListOperationInput { } export interface MagentaQueries { - filter_ambientePadrao_id?: string[] - filter_calendarioLetivo_id?: string[] - filter_disciplina_id?: string[] - filter_turma_id?: string[] + "filter.ambientePadrao.id"?: string[] + "filter.calendarioLetivo.id"?: string[] + "filter.disciplina.id"?: string[] + "filter.turma.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -5811,8 +5811,8 @@ export interface DiarioProfessorListOperationInput { } export interface MischievousQueries { - filter_diario_id?: string[] - filter_perfil_id?: string[] + "filter.diario.id"?: string[] + "filter.perfil.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -6756,7 +6756,7 @@ export interface DisponibilidadeDiaListOperationInput { } export interface Queries1 { - filter_disponibilidade_id?: string[] + "filter.disponibilidade.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -7701,7 +7701,7 @@ export interface EtapaListOperationInput { } export interface Queries4 { - filter_calendario_id?: string[] + "filter.calendario.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -8056,7 +8056,7 @@ export interface EventoListOperationInput { } export interface Queries5 { - filter_calendario_id?: string[] + "filter.calendario.id"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -11609,9 +11609,9 @@ export interface PerfilListOperationInput { } export interface Queries14 { + "filter.campus.id"?: string[] + "filter.usuario.id"?: string[] filterAtivo?: string[] - filterCampusId?: string[] - filterUsuarioId?: string[] /** * Limite da quantidade de resultados por página. */ @@ -12367,10 +12367,10 @@ export interface ReservaListOperationInput { } export interface Queries16 { - filterDataInicio?: string[] - filterDataTermino?: string[] - filterIntervaloDeTempoPeriodoFim?: string[] - filterIntervaloDeTempoPeriodoInicio?: string[] + "filter.dataInicio"?: string[] + "filter.dataTermino"?: string[] + "intervaloDeTempo.periodoFim"?: string[] + "intervaloDeTempo.periodoInicio"?: string[] /** * Limite da quantidade de resultados por página. */ @@ -13479,14 +13479,14 @@ export interface TurmaListOperationInput { } export interface Queries18 { - filter_ambientePadraoAula_capacidade?: string[] - filter_ambientePadraoAula_codigo?: string[] - filter_ambientePadraoAula_nome?: string[] - filter_ambientePadraoAula_tipo?: string[] - filter_curso_campus_id?: string[] - filter_curso_modalidade_id?: string[] - filter_curso_nome?: string[] - filter_curso_nomeAbreviado?: string[] + "filter.ambientePadraoAula.capacidade"?: string[] + "filter.ambientePadraoAula.codigo"?: string[] + "filter.ambientePadraoAula.nome"?: string[] + "filter.ambientePadraoAula.tipo"?: string[] + "filter.curso.campus.id"?: string[] + "filter.curso.modalidade.id"?: string[] + "filter.curso.nome"?: string[] + "filter.curso.nomeAbreviado"?: string[] /** * Limite da quantidade de resultados por página. */