feat(planning): grille hebdomadaire complète avec API et filtres
- Connexion API via proxy Angular (résolution CORS, base path /api) - Import CSS ng-zorro global pour les modales et composants - Filtres Camion/Show câblés sur l'affichage de la grille - Camions affichés via TrucksService (linkés au show du même créneau) - Panneau de détails : spectacles + camions du jour sélectionné - Modale de création de spectacle stylisée avec fond et centrage - Positionnement précis des events à la minute dans leur créneau - Auto-scroll vers l'heure courante au chargement - Ligne "maintenant" sur la colonne du jour actuel - Régénération des services OpenAPI (nouveaux noms de types) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -77,6 +77,9 @@
|
||||
},
|
||||
"serve": {
|
||||
"builder": "@angular/build:dev-server",
|
||||
"options": {
|
||||
"proxyConfig": "proxy.conf.json"
|
||||
},
|
||||
"configurations": {
|
||||
"production": {
|
||||
"buildTarget": "first-app:build:production"
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"/api": {
|
||||
"target": "http://localhost:5298",
|
||||
"secure": false,
|
||||
"changeOrigin": true,
|
||||
"pathRewrite": {
|
||||
"^/api": ""
|
||||
},
|
||||
"logLevel": "info"
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import { registerLocaleData } from '@angular/common';
|
||||
import fr from '@angular/common/locales/fr';
|
||||
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
||||
import { provideHttpClient } from '@angular/common/http';
|
||||
import { provideApi } from './services/api';
|
||||
|
||||
registerLocaleData(fr);
|
||||
|
||||
@@ -15,6 +16,7 @@ export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
provideBrowserGlobalErrorListeners(),
|
||||
provideZoneChangeDetection({ eventCoalescing: true }),
|
||||
provideRouter(routes), provideNzI18n(fr_FR), provideAnimationsAsync(), provideHttpClient()
|
||||
provideRouter(routes), provideNzI18n(fr_FR), provideAnimationsAsync(), provideHttpClient(),
|
||||
provideApi('/api')
|
||||
]
|
||||
};
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,10 @@
|
||||
<div class="background">
|
||||
<div class="planning">
|
||||
|
||||
<!-- ── Grille hebdomadaire ─────────────────────────────── -->
|
||||
<div class="left">
|
||||
<div class="week-section">
|
||||
|
||||
<div class="week-toolbar">
|
||||
<div class="week-actions">
|
||||
<button [class]="isCamionFilterActive ? 'action-btn active' : 'action-btn'"
|
||||
@@ -14,7 +17,8 @@
|
||||
</svg>
|
||||
Camion
|
||||
</button>
|
||||
<button [class]="isShowFilterActive ? 'action-btn active' : 'action-btn'" (click)="showFilter()">
|
||||
<button [class]="isShowFilterActive ? 'action-btn active' : 'action-btn'"
|
||||
(click)="showFilter()">
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
||||
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" stroke-width="2"/>
|
||||
</svg>
|
||||
@@ -24,27 +28,25 @@
|
||||
<div class="week-nav">
|
||||
<button class="nav-button-week" (click)="previousWeek()">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none">
|
||||
<path d="M15 18L9 12L15 6" stroke="#666" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round"/>
|
||||
<path d="M15 18L9 12L15 6" stroke="#666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</button>
|
||||
<span class="week-label">Semaine {{ getWeekNumber() }}</span>
|
||||
<button class="today-btn" (click)="goToToday()">Aujourd'hui</button>
|
||||
<button class="nav-button-week" (click)="nextWeek()">
|
||||
<svg width="16" height="16" viewBox="0 0 24 24" fill="none">
|
||||
<path d="M9 18L15 12L9 6" stroke="#666" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round"/>
|
||||
<path d="M9 18L15 12L9 6" stroke="#666" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="week-calendar">
|
||||
<div class="week-calendar" #weekCalendar>
|
||||
<div class="week-grid">
|
||||
<div class="time-column">
|
||||
<div class="time-header"></div>
|
||||
<div class="time-slot" *ngFor="let hour of getHours()">{{ hour }}</div>
|
||||
</div>
|
||||
|
||||
<div class="day-column" *ngFor="let date of selectedDates">
|
||||
<div class="day-header"
|
||||
[class.today]="isToday(date)"
|
||||
@@ -54,39 +56,52 @@
|
||||
<div class="day-date">{{ date.getDate() }}</div>
|
||||
</div>
|
||||
<div class="day-slots">
|
||||
<!-- Ligne "maintenant" sur la colonne du jour actuel -->
|
||||
@if (isToday(date)) {
|
||||
<div class="now-line" [style.top.px]="getNowTopPx()"></div>
|
||||
}
|
||||
<div class="hour-slot"
|
||||
*ngFor="let hour of getHours()"
|
||||
(click)="selectDay(date)">
|
||||
@for (show of getShowsForSlot(date, hour); track show.id) {
|
||||
<div class="show-event">
|
||||
<div class="show-event"
|
||||
[style.top.px]="show.date ? getEventTopPx(show.date) : 0">
|
||||
<span class="show-event-name">{{ show.name }}</span>
|
||||
<span class="show-event-time" *ngIf="show.date">{{ formatShowTime(show.date) }}</span>
|
||||
</div>
|
||||
}
|
||||
@for (truck of getTrucksForSlot(date, hour); track truck.id) {
|
||||
<div class="truck-event"
|
||||
[style.top.px]="truck.showId ? 0 : 0">
|
||||
<span class="truck-event-name">{{ truck.type || 'Camion' }}</span>
|
||||
<span class="truck-event-statut" *ngIf="truck.statut">{{ truck.statut }}</span>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ── Panneau droit ────────────────────────────────────── -->
|
||||
<div class="right">
|
||||
|
||||
<div class="calendar-section">
|
||||
<div class="calendar-title">CALENDRIER</div>
|
||||
<div class="card">
|
||||
<div class="calendar-header">
|
||||
<button class="nav-button" (click)="previousMonth()">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
|
||||
<path d="M15 18L9 12L15 6" stroke="#d4a574" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round"/>
|
||||
<path d="M15 18L9 12L15 6" stroke="#d4a574" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</button>
|
||||
<h2 class="month-title">{{ currentMonthYear }}</h2>
|
||||
<button class="nav-button" (click)="nextMonth()">
|
||||
<svg width="20" height="20" viewBox="0 0 24 24" fill="none">
|
||||
<path d="M9 18L15 12L9 6" stroke="#d4a574" stroke-width="2" stroke-linecap="round"
|
||||
stroke-linejoin="round"/>
|
||||
<path d="M9 18L15 12L9 6" stroke="#d4a574" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
@@ -116,16 +131,16 @@
|
||||
</h3>
|
||||
</div>
|
||||
<div class="sidebar-content">
|
||||
|
||||
<div class="sidebar-block">
|
||||
<h4>
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
||||
<circle cx="12" cy="12" r="10" stroke-width="2"/>
|
||||
<polyline points="12 6 12 12 16 14" stroke-width="2" stroke-linecap="round"/>
|
||||
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2" stroke-width="2"/>
|
||||
</svg>
|
||||
Spectacles du jour
|
||||
</h4>
|
||||
@if (getDayShows().length === 0) {
|
||||
<p class="no-shows">Aucun spectacle ce jour</p>
|
||||
<p class="no-items">Aucun spectacle ce jour</p>
|
||||
} @else {
|
||||
<div class="slot-info">
|
||||
@for (show of getDayShows(); track show.id) {
|
||||
@@ -142,6 +157,34 @@
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="sidebar-block">
|
||||
<h4>
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
||||
<rect x="1" y="3" width="15" height="13" rx="2" ry="2" stroke-width="2"/>
|
||||
<path d="M16 8h5l3 3v5h-4" stroke-width="2"/>
|
||||
<circle cx="5.5" cy="18.5" r="2.5" stroke-width="2"/>
|
||||
<circle cx="18.5" cy="18.5" r="2.5" stroke-width="2"/>
|
||||
</svg>
|
||||
Camions du jour
|
||||
</h4>
|
||||
@if (getDayTrucks().length === 0) {
|
||||
<p class="no-items">Aucun camion ce jour</p>
|
||||
} @else {
|
||||
<div class="slot-info">
|
||||
@for (truck of getDayTrucks(); track truck.id) {
|
||||
<div class="show-card truck-card">
|
||||
<div class="show-card-header">
|
||||
<strong>{{ truck.type || 'Camion' }}</strong>
|
||||
<span class="truck-statut" *ngIf="truck.statut">{{ truck.statut }}</span>
|
||||
</div>
|
||||
<p *ngIf="truck.sizes">Taille : {{ truck.sizes }}</p>
|
||||
<p *ngIf="truck.maxExplosiveCapacity">Capacité : {{ truck.maxExplosiveCapacity }} kg</p>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<div class="sidebar-block">
|
||||
<h4>
|
||||
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
||||
@@ -154,7 +197,7 @@
|
||||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
||||
<path d="M12 5v14M5 12h14" stroke-width="2" stroke-linecap="round"/>
|
||||
</svg>
|
||||
<span>Créer un spectacle</span>
|
||||
Créer un spectacle
|
||||
</button>
|
||||
<button class="sidebar-btn">
|
||||
<svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor">
|
||||
@@ -164,6 +207,7 @@
|
||||
Voir rapports
|
||||
</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -238,4 +282,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</ng-container>
|
||||
</nz-modal>
|
||||
</nz-modal>
|
||||
@@ -1,8 +1,14 @@
|
||||
import {Component, inject, OnInit, signal} from '@angular/core';
|
||||
import {AfterViewInit, Component, ElementRef, inject, OnInit, signal, ViewChild} from '@angular/core';
|
||||
import {NzCalendarMode, NzCalendarModule} from 'ng-zorro-antd/calendar';
|
||||
import {CommonModule} from '@angular/common';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {CreateShowDto, ReadShowDto, ShowsService} from "../../../services/api";
|
||||
import {
|
||||
PyroFetesDTOShowRequestCreateShowDto,
|
||||
PyroFetesDTOShowResponseReadShowDto,
|
||||
PyroFetesDTOTruckResponseReadTruckDto,
|
||||
ShowsService,
|
||||
TrucksService
|
||||
} from "../../../services/api";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
import {NzModalModule} from "ng-zorro-antd/modal";
|
||||
import {NzButtonModule} from "ng-zorro-antd/button";
|
||||
@@ -14,41 +20,68 @@ import {NzDatePickerModule} from "ng-zorro-antd/date-picker";
|
||||
templateUrl: './planning.html',
|
||||
styleUrl: './planning.css',
|
||||
})
|
||||
export class Planning implements OnInit {
|
||||
export class Planning implements OnInit, AfterViewInit {
|
||||
@ViewChild('weekCalendar') weekCalendarEl!: ElementRef<HTMLElement>;
|
||||
|
||||
private showsServices = inject(ShowsService);
|
||||
private trucksService = inject(TrucksService);
|
||||
|
||||
shows = signal<ReadShowDto[]>([]);
|
||||
shows = signal<PyroFetesDTOShowResponseReadShowDto[]>([]);
|
||||
trucks = signal<PyroFetesDTOTruckResponseReadTruckDto[]>([]);
|
||||
|
||||
newShow: CreateShowDto = {};
|
||||
newShow: PyroFetesDTOShowRequestCreateShowDto = {};
|
||||
newShowDate: Date | null = null;
|
||||
|
||||
readonly slotHeight = 48;
|
||||
|
||||
async ngOnInit() {
|
||||
try {
|
||||
await this.fetchShows();
|
||||
} catch {
|
||||
// API indisponible, on continue avec une liste vide
|
||||
}
|
||||
await Promise.allSettled([this.fetchShows(), this.fetchTrucks()]);
|
||||
this.goToToday();
|
||||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
this.scrollToCurrentHour();
|
||||
}
|
||||
|
||||
scrollToCurrentHour(): void {
|
||||
const hour = new Date().getHours();
|
||||
const target = Math.max(0, (hour - 1) * this.slotHeight);
|
||||
this.weekCalendarEl.nativeElement.scrollTop = target;
|
||||
}
|
||||
|
||||
getNowTopPx(): number {
|
||||
const now = new Date();
|
||||
return (now.getHours() + now.getMinutes() / 60) * this.slotHeight;
|
||||
}
|
||||
|
||||
getEventTopPx(dateStr: string): number {
|
||||
const minutes = new Date(dateStr).getMinutes();
|
||||
return (minutes / 60) * this.slotHeight;
|
||||
}
|
||||
|
||||
async fetchShows() {
|
||||
const shows = await firstValueFrom(this.showsServices.getAllShowsEndpoint());
|
||||
const shows = await firstValueFrom(this.showsServices.pyroFetesEndpointsShowGetAllShowsEndpoint());
|
||||
this.shows.set(shows);
|
||||
}
|
||||
|
||||
async fetchTrucks() {
|
||||
const trucks = await firstValueFrom(this.trucksService.pyroFetesEndpointsTruckGetAllTrucksEndpoint());
|
||||
this.trucks.set(trucks);
|
||||
}
|
||||
|
||||
isVisible = signal<boolean>(false);
|
||||
|
||||
showModal(): void {
|
||||
this.isVisible.set(!this.isVisible());
|
||||
this.isVisible.set(true);
|
||||
}
|
||||
|
||||
async handleOk(): Promise<void> {
|
||||
if (!this.newShow.name) return;
|
||||
const dto: CreateShowDto = {
|
||||
const dto: PyroFetesDTOShowRequestCreateShowDto = {
|
||||
...this.newShow,
|
||||
date: this.newShowDate ? this.newShowDate.toISOString() : undefined,
|
||||
};
|
||||
await firstValueFrom(this.showsServices.createShowEndpoint(dto));
|
||||
await firstValueFrom(this.showsServices.pyroFetesEndpointsShowCreateShowEndpoint(dto));
|
||||
await this.fetchShows();
|
||||
this.newShow = {};
|
||||
this.newShowDate = null;
|
||||
@@ -77,7 +110,6 @@ export class Planning implements OnInit {
|
||||
const day = monday.getDay();
|
||||
const diff = day === 0 ? -6 : 1 - day;
|
||||
monday.setDate(monday.getDate() + diff);
|
||||
|
||||
this.selectedDates = [];
|
||||
for (let i = 0; i < 7; i++) {
|
||||
const date = new Date(monday);
|
||||
@@ -97,34 +129,34 @@ export class Planning implements OnInit {
|
||||
}
|
||||
|
||||
previousMonth(): void {
|
||||
const newDate = new Date(this.currentDate);
|
||||
newDate.setMonth(newDate.getMonth() - 1);
|
||||
this.currentDate = newDate;
|
||||
const d = new Date(this.currentDate);
|
||||
d.setMonth(d.getMonth() - 1);
|
||||
this.currentDate = d;
|
||||
}
|
||||
|
||||
nextMonth(): void {
|
||||
const newDate = new Date(this.currentDate);
|
||||
newDate.setMonth(newDate.getMonth() + 1);
|
||||
this.currentDate = newDate;
|
||||
const d = new Date(this.currentDate);
|
||||
d.setMonth(d.getMonth() + 1);
|
||||
this.currentDate = d;
|
||||
}
|
||||
|
||||
previousWeek(): void {
|
||||
if (this.selectedDates.length > 0) {
|
||||
const newStart = new Date(this.selectedDates[0]);
|
||||
newStart.setDate(newStart.getDate() - 7);
|
||||
this.currentDate = newStart;
|
||||
this.selectedDay = new Date(newStart);
|
||||
this.updateWeek(newStart);
|
||||
const d = new Date(this.selectedDates[0]);
|
||||
d.setDate(d.getDate() - 7);
|
||||
this.currentDate = d;
|
||||
this.selectedDay = new Date(d);
|
||||
this.updateWeek(d);
|
||||
}
|
||||
}
|
||||
|
||||
nextWeek(): void {
|
||||
if (this.selectedDates.length > 0) {
|
||||
const newStart = new Date(this.selectedDates[0]);
|
||||
newStart.setDate(newStart.getDate() + 7);
|
||||
this.currentDate = newStart;
|
||||
this.selectedDay = new Date(newStart);
|
||||
this.updateWeek(newStart);
|
||||
const d = new Date(this.selectedDates[0]);
|
||||
d.setDate(d.getDate() + 7);
|
||||
this.currentDate = d;
|
||||
this.selectedDay = new Date(d);
|
||||
this.updateWeek(d);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -160,14 +192,26 @@ export class Planning implements OnInit {
|
||||
}
|
||||
|
||||
getHours(): string[] {
|
||||
return ['', '1h', '2h', '3h', '4h', '5h', '6h', '7h', '8h', '9h', '10h', '11h', '12h', '13h', '14h', '15h', '16h', '17h', '18h', '19h', '20h', '21h', '22h', '23h'];
|
||||
return ['', '1h', '2h', '3h', '4h', '5h', '6h', '7h', '8h', '9h',
|
||||
'10h', '11h', '12h', '13h', '14h', '15h', '16h', '17h', '18h',
|
||||
'19h', '20h', '21h', '22h', '23h'];
|
||||
}
|
||||
|
||||
selectDay(date: Date): void {
|
||||
this.selectedDay = date;
|
||||
}
|
||||
|
||||
getShowsForDay(date: Date): ReadShowDto[] {
|
||||
// Both filters off → show everything. One active → only that type. Both active → both types.
|
||||
get shouldShowShows(): boolean {
|
||||
return !this.isCamionFilterActive || this.isShowFilterActive;
|
||||
}
|
||||
|
||||
get shouldShowCamions(): boolean {
|
||||
return !this.isShowFilterActive || this.isCamionFilterActive;
|
||||
}
|
||||
|
||||
getShowsForDay(date: Date): PyroFetesDTOShowResponseReadShowDto[] {
|
||||
if (!this.shouldShowShows) return [];
|
||||
return this.shows().filter(show => {
|
||||
if (!show.date) return false;
|
||||
const d = new Date(show.date);
|
||||
@@ -177,9 +221,9 @@ export class Planning implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
getShowsForSlot(date: Date, hour: string): ReadShowDto[] {
|
||||
if (!hour) return [];
|
||||
const h = parseInt(hour);
|
||||
getShowsForSlot(date: Date, hour: string): PyroFetesDTOShowResponseReadShowDto[] {
|
||||
if (!this.shouldShowShows) return [];
|
||||
const h = hour === '' ? 0 : parseInt(hour);
|
||||
return this.shows().filter(show => {
|
||||
if (!show.date) return false;
|
||||
const d = new Date(show.date);
|
||||
@@ -190,14 +234,48 @@ export class Planning implements OnInit {
|
||||
});
|
||||
}
|
||||
|
||||
getDayShows(): ReadShowDto[] {
|
||||
getTrucksForSlot(date: Date, hour: string): PyroFetesDTOTruckResponseReadTruckDto[] {
|
||||
if (!this.shouldShowCamions) return [];
|
||||
const h = hour === '' ? 0 : parseInt(hour);
|
||||
const showsInSlot = this.shows().filter(show => {
|
||||
if (!show.date) return false;
|
||||
const d = new Date(show.date);
|
||||
return d.getFullYear() === date.getFullYear() &&
|
||||
d.getMonth() === date.getMonth() &&
|
||||
d.getDate() === date.getDate() &&
|
||||
d.getHours() === h;
|
||||
});
|
||||
const showIds = new Set(showsInSlot.map(s => s.id).filter((id): id is number => id != null));
|
||||
return this.trucks().filter(t => t.showId != null && showIds.has(t.showId!));
|
||||
}
|
||||
|
||||
getTrucksForDay(date: Date): PyroFetesDTOTruckResponseReadTruckDto[] {
|
||||
if (!this.shouldShowCamions) return [];
|
||||
const showsOnDay = this.shows().filter(show => {
|
||||
if (!show.date) return false;
|
||||
const d = new Date(show.date);
|
||||
return d.getFullYear() === date.getFullYear() &&
|
||||
d.getMonth() === date.getMonth() &&
|
||||
d.getDate() === date.getDate();
|
||||
});
|
||||
const showIds = new Set(showsOnDay.map(s => s.id).filter((id): id is number => id != null));
|
||||
return this.trucks().filter(t => t.showId != null && showIds.has(t.showId!));
|
||||
}
|
||||
|
||||
getDayShows(): PyroFetesDTOShowResponseReadShowDto[] {
|
||||
if (!this.selectedDay) return [];
|
||||
return this.getShowsForDay(this.selectedDay);
|
||||
}
|
||||
|
||||
getDayTrucks(): PyroFetesDTOTruckResponseReadTruckDto[] {
|
||||
if (!this.selectedDay) return [];
|
||||
return this.getTrucksForDay(this.selectedDay);
|
||||
}
|
||||
|
||||
formatSelectedDay(date: Date): string {
|
||||
const days = ['Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi'];
|
||||
const months = ['janvier', 'février', 'mars', 'avril', 'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'];
|
||||
const months = ['janvier', 'février', 'mars', 'avril', 'mai', 'juin',
|
||||
'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre'];
|
||||
return `${days[date.getDay()]} ${date.getDate()} ${months[date.getMonth()]}`;
|
||||
}
|
||||
|
||||
@@ -224,4 +302,4 @@ export class Planning implements OnInit {
|
||||
const pastDaysOfYear = (date.getTime() - firstDayOfYear.getTime()) / 86400000;
|
||||
return Math.ceil((pastDaysOfYear + firstDayOfYear.getDay() + 1) / 7);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,25 +14,25 @@ configuration.ts
|
||||
encoder.ts
|
||||
git_push.sh
|
||||
index.ts
|
||||
model/create-show-dto.ts
|
||||
model/create-sound-category-dto.ts
|
||||
model/create-sound-dto.ts
|
||||
model/create-sound-timecode-dto.ts
|
||||
model/create-staff-dto.ts
|
||||
model/create-truck-dto.ts
|
||||
model/models.ts
|
||||
model/read-show-dto.ts
|
||||
model/read-sound-category-dto.ts
|
||||
model/read-sound-dto.ts
|
||||
model/read-sound-timecode-dto.ts
|
||||
model/read-staff-dto.ts
|
||||
model/read-truck-dto.ts
|
||||
model/update-show-dto.ts
|
||||
model/update-sound-category-dto.ts
|
||||
model/update-sound-dto.ts
|
||||
model/update-sound-timecode-request.ts
|
||||
model/update-staff-dto.ts
|
||||
model/update-truck-dto.ts
|
||||
model/pyro-fetes-dto-show-request-create-show-dto.ts
|
||||
model/pyro-fetes-dto-show-request-update-show-dto.ts
|
||||
model/pyro-fetes-dto-show-response-read-show-dto.ts
|
||||
model/pyro-fetes-dto-sound-category-request-create-sound-category-dto.ts
|
||||
model/pyro-fetes-dto-sound-category-request-update-sound-category-dto.ts
|
||||
model/pyro-fetes-dto-sound-category-response-read-sound-category-dto.ts
|
||||
model/pyro-fetes-dto-sound-request-create-sound-dto.ts
|
||||
model/pyro-fetes-dto-sound-request-update-sound-dto.ts
|
||||
model/pyro-fetes-dto-sound-response-read-sound-dto.ts
|
||||
model/pyro-fetes-dto-sound-timecode-request-create-sound-timecode-dto.ts
|
||||
model/pyro-fetes-dto-sound-timecode-response-read-sound-timecode-dto.ts
|
||||
model/pyro-fetes-dto-staff-request-create-staff-dto.ts
|
||||
model/pyro-fetes-dto-staff-request-update-staff-dto.ts
|
||||
model/pyro-fetes-dto-staff-response-read-staff-dto.ts
|
||||
model/pyro-fetes-dto-truck-request-create-truck-dto.ts
|
||||
model/pyro-fetes-dto-truck-request-update-truck-dto.ts
|
||||
model/pyro-fetes-dto-truck-response-read-truck-dto.ts
|
||||
model/pyro-fetes-endpoints-sound-timecode-update-sound-timecode-request.ts
|
||||
param.ts
|
||||
provide-api.ts
|
||||
variables.ts
|
||||
|
||||
@@ -17,11 +17,11 @@ import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { CreateShowDto } from '../model/create-show-dto';
|
||||
import { PyroFetesDTOShowRequestCreateShowDto } from '../model/pyro-fetes-dto-show-request-create-show-dto';
|
||||
// @ts-ignore
|
||||
import { ReadShowDto } from '../model/read-show-dto';
|
||||
import { PyroFetesDTOShowRequestUpdateShowDto } from '../model/pyro-fetes-dto-show-request-update-show-dto';
|
||||
// @ts-ignore
|
||||
import { UpdateShowDto } from '../model/update-show-dto';
|
||||
import { PyroFetesDTOShowResponseReadShowDto } from '../model/pyro-fetes-dto-show-response-read-show-dto';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -40,17 +40,17 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint post /API/shows
|
||||
* @param createShowDto
|
||||
* @endpoint post /shows
|
||||
* @param pyroFetesDTOShowRequestCreateShowDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public createShowEndpoint(createShowDto: CreateShowDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadShowDto>;
|
||||
public createShowEndpoint(createShowDto: CreateShowDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadShowDto>>;
|
||||
public createShowEndpoint(createShowDto: CreateShowDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadShowDto>>;
|
||||
public createShowEndpoint(createShowDto: CreateShowDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (createShowDto === null || createShowDto === undefined) {
|
||||
throw new Error('Required parameter createShowDto was null or undefined when calling createShowEndpoint.');
|
||||
public pyroFetesEndpointsShowCreateShowEndpoint(pyroFetesDTOShowRequestCreateShowDto: PyroFetesDTOShowRequestCreateShowDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOShowResponseReadShowDto>;
|
||||
public pyroFetesEndpointsShowCreateShowEndpoint(pyroFetesDTOShowRequestCreateShowDto: PyroFetesDTOShowRequestCreateShowDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOShowResponseReadShowDto>>;
|
||||
public pyroFetesEndpointsShowCreateShowEndpoint(pyroFetesDTOShowRequestCreateShowDto: PyroFetesDTOShowRequestCreateShowDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOShowResponseReadShowDto>>;
|
||||
public pyroFetesEndpointsShowCreateShowEndpoint(pyroFetesDTOShowRequestCreateShowDto: PyroFetesDTOShowRequestCreateShowDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (pyroFetesDTOShowRequestCreateShowDto === null || pyroFetesDTOShowRequestCreateShowDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOShowRequestCreateShowDto was null or undefined when calling pyroFetesEndpointsShowCreateShowEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -87,12 +87,12 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/shows`;
|
||||
let localVarPath = `/shows`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadShowDto>('post', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOShowResponseReadShowDto>('post', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: createShowDto,
|
||||
body: pyroFetesDTOShowRequestCreateShowDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
@@ -104,17 +104,17 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint delete /API/shows/{id}
|
||||
* @endpoint delete /shows/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public deleteShowEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public deleteShowEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public deleteShowEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public deleteShowEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsShowDeleteShowEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public pyroFetesEndpointsShowDeleteShowEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public pyroFetesEndpointsShowDeleteShowEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public pyroFetesEndpointsShowDeleteShowEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling deleteShowEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsShowDeleteShowEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -141,7 +141,7 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/shows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/shows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||
{
|
||||
@@ -157,14 +157,14 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/shows
|
||||
* @endpoint get /shows
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getAllShowsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<ReadShowDto>>;
|
||||
public getAllShowsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<ReadShowDto>>>;
|
||||
public getAllShowsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<ReadShowDto>>>;
|
||||
public getAllShowsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsShowGetAllShowsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<PyroFetesDTOShowResponseReadShowDto>>;
|
||||
public pyroFetesEndpointsShowGetAllShowsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<PyroFetesDTOShowResponseReadShowDto>>>;
|
||||
public pyroFetesEndpointsShowGetAllShowsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<PyroFetesDTOShowResponseReadShowDto>>>;
|
||||
public pyroFetesEndpointsShowGetAllShowsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -191,9 +191,9 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/shows`;
|
||||
let localVarPath = `/shows`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<Array<ReadShowDto>>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<Array<PyroFetesDTOShowResponseReadShowDto>>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -207,17 +207,17 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/shows/{id}
|
||||
* @endpoint get /shows/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getShowEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadShowDto>;
|
||||
public getShowEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadShowDto>>;
|
||||
public getShowEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadShowDto>>;
|
||||
public getShowEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsShowGetShowEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOShowResponseReadShowDto>;
|
||||
public pyroFetesEndpointsShowGetShowEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOShowResponseReadShowDto>>;
|
||||
public pyroFetesEndpointsShowGetShowEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOShowResponseReadShowDto>>;
|
||||
public pyroFetesEndpointsShowGetShowEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling getShowEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsShowGetShowEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -245,9 +245,9 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/shows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/shows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadShowDto>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOShowResponseReadShowDto>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -261,21 +261,21 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint put /API/shows/{id}
|
||||
* @endpoint put /shows/{Id}
|
||||
* @param id
|
||||
* @param updateShowDto
|
||||
* @param pyroFetesDTOShowRequestUpdateShowDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public updateShowEndpoint(id: number, updateShowDto: UpdateShowDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadShowDto>;
|
||||
public updateShowEndpoint(id: number, updateShowDto: UpdateShowDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadShowDto>>;
|
||||
public updateShowEndpoint(id: number, updateShowDto: UpdateShowDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadShowDto>>;
|
||||
public updateShowEndpoint(id: number, updateShowDto: UpdateShowDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsShowUpdateShowEndpoint(id: number, pyroFetesDTOShowRequestUpdateShowDto: PyroFetesDTOShowRequestUpdateShowDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOShowResponseReadShowDto>;
|
||||
public pyroFetesEndpointsShowUpdateShowEndpoint(id: number, pyroFetesDTOShowRequestUpdateShowDto: PyroFetesDTOShowRequestUpdateShowDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOShowResponseReadShowDto>>;
|
||||
public pyroFetesEndpointsShowUpdateShowEndpoint(id: number, pyroFetesDTOShowRequestUpdateShowDto: PyroFetesDTOShowRequestUpdateShowDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOShowResponseReadShowDto>>;
|
||||
public pyroFetesEndpointsShowUpdateShowEndpoint(id: number, pyroFetesDTOShowRequestUpdateShowDto: PyroFetesDTOShowRequestUpdateShowDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling updateShowEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsShowUpdateShowEndpoint.');
|
||||
}
|
||||
if (updateShowDto === null || updateShowDto === undefined) {
|
||||
throw new Error('Required parameter updateShowDto was null or undefined when calling updateShowEndpoint.');
|
||||
if (pyroFetesDTOShowRequestUpdateShowDto === null || pyroFetesDTOShowRequestUpdateShowDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOShowRequestUpdateShowDto was null or undefined when calling pyroFetesEndpointsShowUpdateShowEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -312,12 +312,12 @@ export class ShowsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/shows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/shows/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadShowDto>('put', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOShowResponseReadShowDto>('put', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: updateShowDto,
|
||||
body: pyroFetesDTOShowRequestUpdateShowDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
|
||||
@@ -17,11 +17,11 @@ import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { CreateSoundCategoryDto } from '../model/create-sound-category-dto';
|
||||
import { PyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto } from '../model/pyro-fetes-dto-sound-category-request-create-sound-category-dto';
|
||||
// @ts-ignore
|
||||
import { ReadSoundCategoryDto } from '../model/read-sound-category-dto';
|
||||
import { PyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto } from '../model/pyro-fetes-dto-sound-category-request-update-sound-category-dto';
|
||||
// @ts-ignore
|
||||
import { UpdateSoundCategoryDto } from '../model/update-sound-category-dto';
|
||||
import { PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto } from '../model/pyro-fetes-dto-sound-category-response-read-sound-category-dto';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -40,17 +40,17 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint post /API/soundcategorys
|
||||
* @param createSoundCategoryDto
|
||||
* @endpoint post /soundcategorys
|
||||
* @param pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public createSoundCategoryEndpoint(createSoundCategoryDto: CreateSoundCategoryDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundCategoryDto>;
|
||||
public createSoundCategoryEndpoint(createSoundCategoryDto: CreateSoundCategoryDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundCategoryDto>>;
|
||||
public createSoundCategoryEndpoint(createSoundCategoryDto: CreateSoundCategoryDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundCategoryDto>>;
|
||||
public createSoundCategoryEndpoint(createSoundCategoryDto: CreateSoundCategoryDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (createSoundCategoryDto === null || createSoundCategoryDto === undefined) {
|
||||
throw new Error('Required parameter createSoundCategoryDto was null or undefined when calling createSoundCategoryEndpoint.');
|
||||
public pyroFetesEndpointsSoundCategoryCreateSoundCategoryEndpoint(pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>;
|
||||
public pyroFetesEndpointsSoundCategoryCreateSoundCategoryEndpoint(pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>;
|
||||
public pyroFetesEndpointsSoundCategoryCreateSoundCategoryEndpoint(pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>;
|
||||
public pyroFetesEndpointsSoundCategoryCreateSoundCategoryEndpoint(pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto === null || pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto was null or undefined when calling pyroFetesEndpointsSoundCategoryCreateSoundCategoryEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -87,12 +87,12 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundcategorys`;
|
||||
let localVarPath = `/soundcategorys`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundCategoryDto>('post', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>('post', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: createSoundCategoryDto,
|
||||
body: pyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
@@ -104,17 +104,17 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint delete /API/soundcategorys/{id}
|
||||
* @endpoint delete /soundcategorys/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public deleteSoundCategoryEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public deleteSoundCategoryEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public deleteSoundCategoryEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public deleteSoundCategoryEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundCategoryDeleteSoundCategoryEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public pyroFetesEndpointsSoundCategoryDeleteSoundCategoryEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public pyroFetesEndpointsSoundCategoryDeleteSoundCategoryEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public pyroFetesEndpointsSoundCategoryDeleteSoundCategoryEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling deleteSoundCategoryEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsSoundCategoryDeleteSoundCategoryEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -141,7 +141,7 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundcategorys/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/soundcategorys/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||
{
|
||||
@@ -157,14 +157,14 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/soundcategorys
|
||||
* @endpoint get /soundcategorys
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getAllSoundCategorysEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<ReadSoundCategoryDto>>;
|
||||
public getAllSoundCategorysEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<ReadSoundCategoryDto>>>;
|
||||
public getAllSoundCategorysEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<ReadSoundCategoryDto>>>;
|
||||
public getAllSoundCategorysEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundCategoryGetAllSoundCategorysEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>;
|
||||
public pyroFetesEndpointsSoundCategoryGetAllSoundCategorysEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>>;
|
||||
public pyroFetesEndpointsSoundCategoryGetAllSoundCategorysEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>>;
|
||||
public pyroFetesEndpointsSoundCategoryGetAllSoundCategorysEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -191,9 +191,9 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundcategorys`;
|
||||
let localVarPath = `/soundcategorys`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<Array<ReadSoundCategoryDto>>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<Array<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -207,17 +207,17 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/soundcategorys/{id}
|
||||
* @endpoint get /soundcategorys/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getSoundCategoryEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundCategoryDto>;
|
||||
public getSoundCategoryEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundCategoryDto>>;
|
||||
public getSoundCategoryEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundCategoryDto>>;
|
||||
public getSoundCategoryEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundCategoryGetSoundCategoryEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>;
|
||||
public pyroFetesEndpointsSoundCategoryGetSoundCategoryEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>;
|
||||
public pyroFetesEndpointsSoundCategoryGetSoundCategoryEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>;
|
||||
public pyroFetesEndpointsSoundCategoryGetSoundCategoryEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling getSoundCategoryEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsSoundCategoryGetSoundCategoryEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -245,9 +245,9 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundcategorys/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/soundcategorys/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundCategoryDto>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -261,21 +261,21 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint patch /API/soundcategorys/{id}/name
|
||||
* @endpoint patch /soundcategorys/{Id}/name
|
||||
* @param id
|
||||
* @param updateSoundCategoryDto
|
||||
* @param pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public updateSoundCategoryEndpoint(id: number, updateSoundCategoryDto: UpdateSoundCategoryDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundCategoryDto>;
|
||||
public updateSoundCategoryEndpoint(id: number, updateSoundCategoryDto: UpdateSoundCategoryDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundCategoryDto>>;
|
||||
public updateSoundCategoryEndpoint(id: number, updateSoundCategoryDto: UpdateSoundCategoryDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundCategoryDto>>;
|
||||
public updateSoundCategoryEndpoint(id: number, updateSoundCategoryDto: UpdateSoundCategoryDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundCategoryUpdateSoundCategoryEndpoint(id: number, pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>;
|
||||
public pyroFetesEndpointsSoundCategoryUpdateSoundCategoryEndpoint(id: number, pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>;
|
||||
public pyroFetesEndpointsSoundCategoryUpdateSoundCategoryEndpoint(id: number, pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>>;
|
||||
public pyroFetesEndpointsSoundCategoryUpdateSoundCategoryEndpoint(id: number, pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto: PyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling updateSoundCategoryEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsSoundCategoryUpdateSoundCategoryEndpoint.');
|
||||
}
|
||||
if (updateSoundCategoryDto === null || updateSoundCategoryDto === undefined) {
|
||||
throw new Error('Required parameter updateSoundCategoryDto was null or undefined when calling updateSoundCategoryEndpoint.');
|
||||
if (pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto === null || pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto was null or undefined when calling pyroFetesEndpointsSoundCategoryUpdateSoundCategoryEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -312,12 +312,12 @@ export class SoundcategorysService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundcategorys/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/name`;
|
||||
let localVarPath = `/soundcategorys/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/name`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundCategoryDto>('patch', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto>('patch', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: updateSoundCategoryDto,
|
||||
body: pyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
|
||||
@@ -17,11 +17,11 @@ import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { CreateSoundDto } from '../model/create-sound-dto';
|
||||
import { PyroFetesDTOSoundRequestCreateSoundDto } from '../model/pyro-fetes-dto-sound-request-create-sound-dto';
|
||||
// @ts-ignore
|
||||
import { ReadSoundDto } from '../model/read-sound-dto';
|
||||
import { PyroFetesDTOSoundRequestUpdateSoundDto } from '../model/pyro-fetes-dto-sound-request-update-sound-dto';
|
||||
// @ts-ignore
|
||||
import { UpdateSoundDto } from '../model/update-sound-dto';
|
||||
import { PyroFetesDTOSoundResponseReadSoundDto } from '../model/pyro-fetes-dto-sound-response-read-sound-dto';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -40,17 +40,17 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint post /API/sounds
|
||||
* @param createSoundDto
|
||||
* @endpoint post /sounds
|
||||
* @param pyroFetesDTOSoundRequestCreateSoundDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public createSoundEndpoint(createSoundDto: CreateSoundDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundDto>;
|
||||
public createSoundEndpoint(createSoundDto: CreateSoundDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundDto>>;
|
||||
public createSoundEndpoint(createSoundDto: CreateSoundDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundDto>>;
|
||||
public createSoundEndpoint(createSoundDto: CreateSoundDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (createSoundDto === null || createSoundDto === undefined) {
|
||||
throw new Error('Required parameter createSoundDto was null or undefined when calling createSoundEndpoint.');
|
||||
public pyroFetesEndpointsSoundCreateSoundEndpoint(pyroFetesDTOSoundRequestCreateSoundDto: PyroFetesDTOSoundRequestCreateSoundDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundResponseReadSoundDto>;
|
||||
public pyroFetesEndpointsSoundCreateSoundEndpoint(pyroFetesDTOSoundRequestCreateSoundDto: PyroFetesDTOSoundRequestCreateSoundDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundResponseReadSoundDto>>;
|
||||
public pyroFetesEndpointsSoundCreateSoundEndpoint(pyroFetesDTOSoundRequestCreateSoundDto: PyroFetesDTOSoundRequestCreateSoundDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundResponseReadSoundDto>>;
|
||||
public pyroFetesEndpointsSoundCreateSoundEndpoint(pyroFetesDTOSoundRequestCreateSoundDto: PyroFetesDTOSoundRequestCreateSoundDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (pyroFetesDTOSoundRequestCreateSoundDto === null || pyroFetesDTOSoundRequestCreateSoundDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOSoundRequestCreateSoundDto was null or undefined when calling pyroFetesEndpointsSoundCreateSoundEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -87,12 +87,12 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/sounds`;
|
||||
let localVarPath = `/sounds`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundDto>('post', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundResponseReadSoundDto>('post', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: createSoundDto,
|
||||
body: pyroFetesDTOSoundRequestCreateSoundDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
@@ -104,17 +104,17 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint delete /API/sounds/{id}
|
||||
* @endpoint delete /sounds/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public deleteSoundEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public deleteSoundEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public deleteSoundEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public deleteSoundEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundDeleteSoundEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public pyroFetesEndpointsSoundDeleteSoundEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public pyroFetesEndpointsSoundDeleteSoundEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public pyroFetesEndpointsSoundDeleteSoundEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling deleteSoundEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsSoundDeleteSoundEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -141,7 +141,7 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/sounds/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/sounds/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||
{
|
||||
@@ -157,14 +157,14 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/sounds
|
||||
* @endpoint get /sounds
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getAllSoundsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<ReadSoundDto>>;
|
||||
public getAllSoundsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<ReadSoundDto>>>;
|
||||
public getAllSoundsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<ReadSoundDto>>>;
|
||||
public getAllSoundsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundGetAllSoundsEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<PyroFetesDTOSoundResponseReadSoundDto>>;
|
||||
public pyroFetesEndpointsSoundGetAllSoundsEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<PyroFetesDTOSoundResponseReadSoundDto>>>;
|
||||
public pyroFetesEndpointsSoundGetAllSoundsEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<PyroFetesDTOSoundResponseReadSoundDto>>>;
|
||||
public pyroFetesEndpointsSoundGetAllSoundsEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -191,9 +191,9 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/sounds`;
|
||||
let localVarPath = `/sounds`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<Array<ReadSoundDto>>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<Array<PyroFetesDTOSoundResponseReadSoundDto>>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -207,17 +207,17 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/sounds/{id}
|
||||
* @endpoint get /sounds/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getSoundEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundDto>;
|
||||
public getSoundEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundDto>>;
|
||||
public getSoundEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundDto>>;
|
||||
public getSoundEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundGetSoundEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundResponseReadSoundDto>;
|
||||
public pyroFetesEndpointsSoundGetSoundEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundResponseReadSoundDto>>;
|
||||
public pyroFetesEndpointsSoundGetSoundEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundResponseReadSoundDto>>;
|
||||
public pyroFetesEndpointsSoundGetSoundEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling getSoundEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsSoundGetSoundEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -245,9 +245,9 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/sounds/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/sounds/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundDto>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundResponseReadSoundDto>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -261,21 +261,21 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint put /API/sounds/{id}
|
||||
* @endpoint put /sounds/{Id}
|
||||
* @param id
|
||||
* @param updateSoundDto
|
||||
* @param pyroFetesDTOSoundRequestUpdateSoundDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public updateSoundEndpoint(id: number, updateSoundDto: UpdateSoundDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundDto>;
|
||||
public updateSoundEndpoint(id: number, updateSoundDto: UpdateSoundDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundDto>>;
|
||||
public updateSoundEndpoint(id: number, updateSoundDto: UpdateSoundDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundDto>>;
|
||||
public updateSoundEndpoint(id: number, updateSoundDto: UpdateSoundDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundUpdateSoundEndpoint(id: number, pyroFetesDTOSoundRequestUpdateSoundDto: PyroFetesDTOSoundRequestUpdateSoundDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundResponseReadSoundDto>;
|
||||
public pyroFetesEndpointsSoundUpdateSoundEndpoint(id: number, pyroFetesDTOSoundRequestUpdateSoundDto: PyroFetesDTOSoundRequestUpdateSoundDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundResponseReadSoundDto>>;
|
||||
public pyroFetesEndpointsSoundUpdateSoundEndpoint(id: number, pyroFetesDTOSoundRequestUpdateSoundDto: PyroFetesDTOSoundRequestUpdateSoundDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundResponseReadSoundDto>>;
|
||||
public pyroFetesEndpointsSoundUpdateSoundEndpoint(id: number, pyroFetesDTOSoundRequestUpdateSoundDto: PyroFetesDTOSoundRequestUpdateSoundDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling updateSoundEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsSoundUpdateSoundEndpoint.');
|
||||
}
|
||||
if (updateSoundDto === null || updateSoundDto === undefined) {
|
||||
throw new Error('Required parameter updateSoundDto was null or undefined when calling updateSoundEndpoint.');
|
||||
if (pyroFetesDTOSoundRequestUpdateSoundDto === null || pyroFetesDTOSoundRequestUpdateSoundDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOSoundRequestUpdateSoundDto was null or undefined when calling pyroFetesEndpointsSoundUpdateSoundEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -312,12 +312,12 @@ export class SoundsService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/sounds/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/sounds/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundDto>('put', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundResponseReadSoundDto>('put', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: updateSoundDto,
|
||||
body: pyroFetesDTOSoundRequestUpdateSoundDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
|
||||
@@ -17,11 +17,11 @@ import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { CreateSoundTimecodeDto } from '../model/create-sound-timecode-dto';
|
||||
import { PyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto } from '../model/pyro-fetes-dto-sound-timecode-request-create-sound-timecode-dto';
|
||||
// @ts-ignore
|
||||
import { ReadSoundTimecodeDto } from '../model/read-sound-timecode-dto';
|
||||
import { PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto } from '../model/pyro-fetes-dto-sound-timecode-response-read-sound-timecode-dto';
|
||||
// @ts-ignore
|
||||
import { UpdateSoundTimecodeRequest } from '../model/update-sound-timecode-request';
|
||||
import { PyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest } from '../model/pyro-fetes-endpoints-sound-timecode-update-sound-timecode-request';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -40,17 +40,17 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint post /API/soundtimecodes
|
||||
* @param createSoundTimecodeDto
|
||||
* @endpoint post /soundtimecodes
|
||||
* @param pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public createSoundTimecodeEndpoint(createSoundTimecodeDto: CreateSoundTimecodeDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundTimecodeDto>;
|
||||
public createSoundTimecodeEndpoint(createSoundTimecodeDto: CreateSoundTimecodeDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundTimecodeDto>>;
|
||||
public createSoundTimecodeEndpoint(createSoundTimecodeDto: CreateSoundTimecodeDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundTimecodeDto>>;
|
||||
public createSoundTimecodeEndpoint(createSoundTimecodeDto: CreateSoundTimecodeDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (createSoundTimecodeDto === null || createSoundTimecodeDto === undefined) {
|
||||
throw new Error('Required parameter createSoundTimecodeDto was null or undefined when calling createSoundTimecodeEndpoint.');
|
||||
public pyroFetesEndpointsSoundTimecodeCreateSoundTimecodeEndpoint(pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto: PyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>;
|
||||
public pyroFetesEndpointsSoundTimecodeCreateSoundTimecodeEndpoint(pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto: PyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>;
|
||||
public pyroFetesEndpointsSoundTimecodeCreateSoundTimecodeEndpoint(pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto: PyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>;
|
||||
public pyroFetesEndpointsSoundTimecodeCreateSoundTimecodeEndpoint(pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto: PyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto === null || pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto was null or undefined when calling pyroFetesEndpointsSoundTimecodeCreateSoundTimecodeEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -87,12 +87,12 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundtimecodes`;
|
||||
let localVarPath = `/soundtimecodes`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundTimecodeDto>('post', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>('post', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: createSoundTimecodeDto,
|
||||
body: pyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
@@ -104,21 +104,21 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint delete /API/soundtimecodes/{showId}/{soundId}
|
||||
* @endpoint delete /soundtimecodes/{ShowId}/{SoundId}
|
||||
* @param showId
|
||||
* @param soundId
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public deleteSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public deleteSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public deleteSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public deleteSoundTimecodeEndpoint(showId: number, soundId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundTimecodeDeleteSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public pyroFetesEndpointsSoundTimecodeDeleteSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public pyroFetesEndpointsSoundTimecodeDeleteSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public pyroFetesEndpointsSoundTimecodeDeleteSoundTimecodeEndpoint(showId: number, soundId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (showId === null || showId === undefined) {
|
||||
throw new Error('Required parameter showId was null or undefined when calling deleteSoundTimecodeEndpoint.');
|
||||
throw new Error('Required parameter showId was null or undefined when calling pyroFetesEndpointsSoundTimecodeDeleteSoundTimecodeEndpoint.');
|
||||
}
|
||||
if (soundId === null || soundId === undefined) {
|
||||
throw new Error('Required parameter soundId was null or undefined when calling deleteSoundTimecodeEndpoint.');
|
||||
throw new Error('Required parameter soundId was null or undefined when calling pyroFetesEndpointsSoundTimecodeDeleteSoundTimecodeEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -145,7 +145,7 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundtimecodes/${this.configuration.encodeParam({name: "showId", value: showId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/${this.configuration.encodeParam({name: "soundId", value: soundId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/soundtimecodes/${this.configuration.encodeParam({name: "showId", value: showId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/${this.configuration.encodeParam({name: "soundId", value: soundId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||
{
|
||||
@@ -161,14 +161,14 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/soundtimecodes
|
||||
* @endpoint get /soundtimecodes
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getAllSoundTimecodesEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<ReadSoundTimecodeDto>>;
|
||||
public getAllSoundTimecodesEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<ReadSoundTimecodeDto>>>;
|
||||
public getAllSoundTimecodesEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<ReadSoundTimecodeDto>>>;
|
||||
public getAllSoundTimecodesEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundTimecodeGetAllSoundTimecodesEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>;
|
||||
public pyroFetesEndpointsSoundTimecodeGetAllSoundTimecodesEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>>;
|
||||
public pyroFetesEndpointsSoundTimecodeGetAllSoundTimecodesEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>>;
|
||||
public pyroFetesEndpointsSoundTimecodeGetAllSoundTimecodesEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -195,9 +195,9 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundtimecodes`;
|
||||
let localVarPath = `/soundtimecodes`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<Array<ReadSoundTimecodeDto>>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<Array<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -211,21 +211,21 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/soundtimecodes/{showId}/{soundId}
|
||||
* @endpoint get /soundtimecodes/{ShowId}/{SoundId}
|
||||
* @param showId
|
||||
* @param soundId
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundTimecodeDto>;
|
||||
public getSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundTimecodeDto>>;
|
||||
public getSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundTimecodeDto>>;
|
||||
public getSoundTimecodeEndpoint(showId: number, soundId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundTimecodeGetSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>;
|
||||
public pyroFetesEndpointsSoundTimecodeGetSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>;
|
||||
public pyroFetesEndpointsSoundTimecodeGetSoundTimecodeEndpoint(showId: number, soundId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>;
|
||||
public pyroFetesEndpointsSoundTimecodeGetSoundTimecodeEndpoint(showId: number, soundId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (showId === null || showId === undefined) {
|
||||
throw new Error('Required parameter showId was null or undefined when calling getSoundTimecodeEndpoint.');
|
||||
throw new Error('Required parameter showId was null or undefined when calling pyroFetesEndpointsSoundTimecodeGetSoundTimecodeEndpoint.');
|
||||
}
|
||||
if (soundId === null || soundId === undefined) {
|
||||
throw new Error('Required parameter soundId was null or undefined when calling getSoundTimecodeEndpoint.');
|
||||
throw new Error('Required parameter soundId was null or undefined when calling pyroFetesEndpointsSoundTimecodeGetSoundTimecodeEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -253,9 +253,9 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundtimecodes/${this.configuration.encodeParam({name: "showId", value: showId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/${this.configuration.encodeParam({name: "soundId", value: soundId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/soundtimecodes/${this.configuration.encodeParam({name: "showId", value: showId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/${this.configuration.encodeParam({name: "soundId", value: soundId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundTimecodeDto>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -269,25 +269,25 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint put /API/soundtimecodes/{showId}/{soundId}
|
||||
* @endpoint put /soundtimecodes/{ShowId}/{SoundId}
|
||||
* @param showId
|
||||
* @param soundId
|
||||
* @param updateSoundTimecodeRequest
|
||||
* @param pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public updateSoundTimecodeEndpoint(showId: number, soundId: number, updateSoundTimecodeRequest: UpdateSoundTimecodeRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadSoundTimecodeDto>;
|
||||
public updateSoundTimecodeEndpoint(showId: number, soundId: number, updateSoundTimecodeRequest: UpdateSoundTimecodeRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadSoundTimecodeDto>>;
|
||||
public updateSoundTimecodeEndpoint(showId: number, soundId: number, updateSoundTimecodeRequest: UpdateSoundTimecodeRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadSoundTimecodeDto>>;
|
||||
public updateSoundTimecodeEndpoint(showId: number, soundId: number, updateSoundTimecodeRequest: UpdateSoundTimecodeRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeEndpoint(showId: number, soundId: number, pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest: PyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>;
|
||||
public pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeEndpoint(showId: number, soundId: number, pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest: PyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>;
|
||||
public pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeEndpoint(showId: number, soundId: number, pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest: PyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>>;
|
||||
public pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeEndpoint(showId: number, soundId: number, pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest: PyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (showId === null || showId === undefined) {
|
||||
throw new Error('Required parameter showId was null or undefined when calling updateSoundTimecodeEndpoint.');
|
||||
throw new Error('Required parameter showId was null or undefined when calling pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeEndpoint.');
|
||||
}
|
||||
if (soundId === null || soundId === undefined) {
|
||||
throw new Error('Required parameter soundId was null or undefined when calling updateSoundTimecodeEndpoint.');
|
||||
throw new Error('Required parameter soundId was null or undefined when calling pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeEndpoint.');
|
||||
}
|
||||
if (updateSoundTimecodeRequest === null || updateSoundTimecodeRequest === undefined) {
|
||||
throw new Error('Required parameter updateSoundTimecodeRequest was null or undefined when calling updateSoundTimecodeEndpoint.');
|
||||
if (pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest === null || pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest === undefined) {
|
||||
throw new Error('Required parameter pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest was null or undefined when calling pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -324,12 +324,12 @@ export class SoundtimecodesService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/soundtimecodes/${this.configuration.encodeParam({name: "showId", value: showId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/${this.configuration.encodeParam({name: "soundId", value: soundId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/soundtimecodes/${this.configuration.encodeParam({name: "showId", value: showId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}/${this.configuration.encodeParam({name: "soundId", value: soundId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadSoundTimecodeDto>('put', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto>('put', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: updateSoundTimecodeRequest,
|
||||
body: pyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
|
||||
@@ -17,11 +17,11 @@ import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { CreateStaffDto } from '../model/create-staff-dto';
|
||||
import { PyroFetesDTOStaffRequestCreateStaffDto } from '../model/pyro-fetes-dto-staff-request-create-staff-dto';
|
||||
// @ts-ignore
|
||||
import { ReadStaffDto } from '../model/read-staff-dto';
|
||||
import { PyroFetesDTOStaffRequestUpdateStaffDto } from '../model/pyro-fetes-dto-staff-request-update-staff-dto';
|
||||
// @ts-ignore
|
||||
import { UpdateStaffDto } from '../model/update-staff-dto';
|
||||
import { PyroFetesDTOStaffResponseReadStaffDto } from '../model/pyro-fetes-dto-staff-response-read-staff-dto';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -40,17 +40,17 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint post /API/staff
|
||||
* @param createStaffDto
|
||||
* @endpoint post /staff
|
||||
* @param pyroFetesDTOStaffRequestCreateStaffDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public createStaffEndpoint(createStaffDto: CreateStaffDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadStaffDto>;
|
||||
public createStaffEndpoint(createStaffDto: CreateStaffDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadStaffDto>>;
|
||||
public createStaffEndpoint(createStaffDto: CreateStaffDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadStaffDto>>;
|
||||
public createStaffEndpoint(createStaffDto: CreateStaffDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (createStaffDto === null || createStaffDto === undefined) {
|
||||
throw new Error('Required parameter createStaffDto was null or undefined when calling createStaffEndpoint.');
|
||||
public pyroFetesEndpointsStaffCreateStaffEndpoint(pyroFetesDTOStaffRequestCreateStaffDto: PyroFetesDTOStaffRequestCreateStaffDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOStaffResponseReadStaffDto>;
|
||||
public pyroFetesEndpointsStaffCreateStaffEndpoint(pyroFetesDTOStaffRequestCreateStaffDto: PyroFetesDTOStaffRequestCreateStaffDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOStaffResponseReadStaffDto>>;
|
||||
public pyroFetesEndpointsStaffCreateStaffEndpoint(pyroFetesDTOStaffRequestCreateStaffDto: PyroFetesDTOStaffRequestCreateStaffDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOStaffResponseReadStaffDto>>;
|
||||
public pyroFetesEndpointsStaffCreateStaffEndpoint(pyroFetesDTOStaffRequestCreateStaffDto: PyroFetesDTOStaffRequestCreateStaffDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (pyroFetesDTOStaffRequestCreateStaffDto === null || pyroFetesDTOStaffRequestCreateStaffDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOStaffRequestCreateStaffDto was null or undefined when calling pyroFetesEndpointsStaffCreateStaffEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -87,12 +87,12 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/staff`;
|
||||
let localVarPath = `/staff`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadStaffDto>('post', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOStaffResponseReadStaffDto>('post', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: createStaffDto,
|
||||
body: pyroFetesDTOStaffRequestCreateStaffDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
@@ -104,17 +104,17 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint delete /API/staff/{id}
|
||||
* @endpoint delete /staff/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public deleteStaffEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public deleteStaffEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public deleteStaffEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public deleteStaffEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsStaffDeleteStaffEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public pyroFetesEndpointsStaffDeleteStaffEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public pyroFetesEndpointsStaffDeleteStaffEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public pyroFetesEndpointsStaffDeleteStaffEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling deleteStaffEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsStaffDeleteStaffEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -141,7 +141,7 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/staff/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/staff/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||
{
|
||||
@@ -157,14 +157,14 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/staff
|
||||
* @endpoint get /staff
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getAllStaffEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<ReadStaffDto>>;
|
||||
public getAllStaffEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<ReadStaffDto>>>;
|
||||
public getAllStaffEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<ReadStaffDto>>>;
|
||||
public getAllStaffEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsStaffGetAllStaffEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<PyroFetesDTOStaffResponseReadStaffDto>>;
|
||||
public pyroFetesEndpointsStaffGetAllStaffEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<PyroFetesDTOStaffResponseReadStaffDto>>>;
|
||||
public pyroFetesEndpointsStaffGetAllStaffEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<PyroFetesDTOStaffResponseReadStaffDto>>>;
|
||||
public pyroFetesEndpointsStaffGetAllStaffEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -191,9 +191,9 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/staff`;
|
||||
let localVarPath = `/staff`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<Array<ReadStaffDto>>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<Array<PyroFetesDTOStaffResponseReadStaffDto>>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -207,17 +207,17 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/staff/{id}
|
||||
* @endpoint get /staff/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getStaffEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadStaffDto>;
|
||||
public getStaffEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadStaffDto>>;
|
||||
public getStaffEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadStaffDto>>;
|
||||
public getStaffEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsStaffGetStaffEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOStaffResponseReadStaffDto>;
|
||||
public pyroFetesEndpointsStaffGetStaffEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOStaffResponseReadStaffDto>>;
|
||||
public pyroFetesEndpointsStaffGetStaffEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOStaffResponseReadStaffDto>>;
|
||||
public pyroFetesEndpointsStaffGetStaffEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling getStaffEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsStaffGetStaffEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -245,9 +245,9 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/staff/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/staff/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadStaffDto>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOStaffResponseReadStaffDto>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -261,21 +261,21 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint put /API/staff/{id}
|
||||
* @endpoint put /staff/{Id}
|
||||
* @param id
|
||||
* @param updateStaffDto
|
||||
* @param pyroFetesDTOStaffRequestUpdateStaffDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadStaffDto>;
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadStaffDto>>;
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadStaffDto>>;
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsStaffUpdateStaffEndpoint(id: number, pyroFetesDTOStaffRequestUpdateStaffDto: PyroFetesDTOStaffRequestUpdateStaffDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOStaffResponseReadStaffDto>;
|
||||
public pyroFetesEndpointsStaffUpdateStaffEndpoint(id: number, pyroFetesDTOStaffRequestUpdateStaffDto: PyroFetesDTOStaffRequestUpdateStaffDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOStaffResponseReadStaffDto>>;
|
||||
public pyroFetesEndpointsStaffUpdateStaffEndpoint(id: number, pyroFetesDTOStaffRequestUpdateStaffDto: PyroFetesDTOStaffRequestUpdateStaffDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOStaffResponseReadStaffDto>>;
|
||||
public pyroFetesEndpointsStaffUpdateStaffEndpoint(id: number, pyroFetesDTOStaffRequestUpdateStaffDto: PyroFetesDTOStaffRequestUpdateStaffDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling updateStaffEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsStaffUpdateStaffEndpoint.');
|
||||
}
|
||||
if (updateStaffDto === null || updateStaffDto === undefined) {
|
||||
throw new Error('Required parameter updateStaffDto was null or undefined when calling updateStaffEndpoint.');
|
||||
if (pyroFetesDTOStaffRequestUpdateStaffDto === null || pyroFetesDTOStaffRequestUpdateStaffDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOStaffRequestUpdateStaffDto was null or undefined when calling pyroFetesEndpointsStaffUpdateStaffEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -312,12 +312,12 @@ export class StaffService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/staff/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/staff/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadStaffDto>('put', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOStaffResponseReadStaffDto>('put', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: updateStaffDto,
|
||||
body: pyroFetesDTOStaffRequestUpdateStaffDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
|
||||
@@ -17,11 +17,11 @@ import { CustomHttpParameterCodec } from '../encoder';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
// @ts-ignore
|
||||
import { CreateTruckDto } from '../model/create-truck-dto';
|
||||
import { PyroFetesDTOTruckRequestCreateTruckDto } from '../model/pyro-fetes-dto-truck-request-create-truck-dto';
|
||||
// @ts-ignore
|
||||
import { ReadTruckDto } from '../model/read-truck-dto';
|
||||
import { PyroFetesDTOTruckRequestUpdateTruckDto } from '../model/pyro-fetes-dto-truck-request-update-truck-dto';
|
||||
// @ts-ignore
|
||||
import { UpdateTruckDto } from '../model/update-truck-dto';
|
||||
import { PyroFetesDTOTruckResponseReadTruckDto } from '../model/pyro-fetes-dto-truck-response-read-truck-dto';
|
||||
|
||||
// @ts-ignore
|
||||
import { BASE_PATH, COLLECTION_FORMATS } from '../variables';
|
||||
@@ -40,17 +40,17 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint post /API/trucks
|
||||
* @param createTruckDto
|
||||
* @endpoint post /trucks
|
||||
* @param pyroFetesDTOTruckRequestCreateTruckDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public createTruckEndpoint(createTruckDto: CreateTruckDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadTruckDto>;
|
||||
public createTruckEndpoint(createTruckDto: CreateTruckDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadTruckDto>>;
|
||||
public createTruckEndpoint(createTruckDto: CreateTruckDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadTruckDto>>;
|
||||
public createTruckEndpoint(createTruckDto: CreateTruckDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (createTruckDto === null || createTruckDto === undefined) {
|
||||
throw new Error('Required parameter createTruckDto was null or undefined when calling createTruckEndpoint.');
|
||||
public pyroFetesEndpointsTruckCreateTruckEndpoint(pyroFetesDTOTruckRequestCreateTruckDto: PyroFetesDTOTruckRequestCreateTruckDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOTruckResponseReadTruckDto>;
|
||||
public pyroFetesEndpointsTruckCreateTruckEndpoint(pyroFetesDTOTruckRequestCreateTruckDto: PyroFetesDTOTruckRequestCreateTruckDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOTruckResponseReadTruckDto>>;
|
||||
public pyroFetesEndpointsTruckCreateTruckEndpoint(pyroFetesDTOTruckRequestCreateTruckDto: PyroFetesDTOTruckRequestCreateTruckDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOTruckResponseReadTruckDto>>;
|
||||
public pyroFetesEndpointsTruckCreateTruckEndpoint(pyroFetesDTOTruckRequestCreateTruckDto: PyroFetesDTOTruckRequestCreateTruckDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (pyroFetesDTOTruckRequestCreateTruckDto === null || pyroFetesDTOTruckRequestCreateTruckDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOTruckRequestCreateTruckDto was null or undefined when calling pyroFetesEndpointsTruckCreateTruckEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -87,12 +87,12 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/trucks`;
|
||||
let localVarPath = `/trucks`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadTruckDto>('post', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOTruckResponseReadTruckDto>('post', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: createTruckDto,
|
||||
body: pyroFetesDTOTruckRequestCreateTruckDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
@@ -104,17 +104,17 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint delete /API/trucks/{id}
|
||||
* @endpoint delete /trucks/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public deleteTruckEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public deleteTruckEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public deleteTruckEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public deleteTruckEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsTruckDeleteTruckEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any>;
|
||||
public pyroFetesEndpointsTruckDeleteTruckEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<any>>;
|
||||
public pyroFetesEndpointsTruckDeleteTruckEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<any>>;
|
||||
public pyroFetesEndpointsTruckDeleteTruckEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling deleteTruckEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsTruckDeleteTruckEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -141,7 +141,7 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/trucks/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/trucks/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<any>('delete', `${basePath}${localVarPath}`,
|
||||
{
|
||||
@@ -157,14 +157,14 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/trucks
|
||||
* @endpoint get /trucks
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getAllTrucksEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<ReadTruckDto>>;
|
||||
public getAllTrucksEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<ReadTruckDto>>>;
|
||||
public getAllTrucksEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<ReadTruckDto>>>;
|
||||
public getAllTrucksEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsTruckGetAllTrucksEndpoint(observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<Array<PyroFetesDTOTruckResponseReadTruckDto>>;
|
||||
public pyroFetesEndpointsTruckGetAllTrucksEndpoint(observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<Array<PyroFetesDTOTruckResponseReadTruckDto>>>;
|
||||
public pyroFetesEndpointsTruckGetAllTrucksEndpoint(observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<Array<PyroFetesDTOTruckResponseReadTruckDto>>>;
|
||||
public pyroFetesEndpointsTruckGetAllTrucksEndpoint(observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -191,9 +191,9 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/trucks`;
|
||||
let localVarPath = `/trucks`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<Array<ReadTruckDto>>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<Array<PyroFetesDTOTruckResponseReadTruckDto>>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -207,17 +207,17 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint get /API/trucks/{id}
|
||||
* @endpoint get /trucks/{Id}
|
||||
* @param id
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public getTruckEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadTruckDto>;
|
||||
public getTruckEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadTruckDto>>;
|
||||
public getTruckEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadTruckDto>>;
|
||||
public getTruckEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsTruckGetTruckEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOTruckResponseReadTruckDto>;
|
||||
public pyroFetesEndpointsTruckGetTruckEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOTruckResponseReadTruckDto>>;
|
||||
public pyroFetesEndpointsTruckGetTruckEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOTruckResponseReadTruckDto>>;
|
||||
public pyroFetesEndpointsTruckGetTruckEndpoint(id: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling getTruckEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsTruckGetTruckEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -245,9 +245,9 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/trucks/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/trucks/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadTruckDto>('get', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOTruckResponseReadTruckDto>('get', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
responseType: <any>responseType_,
|
||||
@@ -261,21 +261,21 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @endpoint put /API/trucks/{id}
|
||||
* @endpoint put /trucks/{Id}
|
||||
* @param id
|
||||
* @param updateTruckDto
|
||||
* @param pyroFetesDTOTruckRequestUpdateTruckDto
|
||||
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
||||
* @param reportProgress flag to report request and response progress.
|
||||
*/
|
||||
public updateTruckEndpoint(id: number, updateTruckDto: UpdateTruckDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<ReadTruckDto>;
|
||||
public updateTruckEndpoint(id: number, updateTruckDto: UpdateTruckDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<ReadTruckDto>>;
|
||||
public updateTruckEndpoint(id: number, updateTruckDto: UpdateTruckDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<ReadTruckDto>>;
|
||||
public updateTruckEndpoint(id: number, updateTruckDto: UpdateTruckDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public pyroFetesEndpointsTruckUpdateTruckEndpoint(id: number, pyroFetesDTOTruckRequestUpdateTruckDto: PyroFetesDTOTruckRequestUpdateTruckDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<PyroFetesDTOTruckResponseReadTruckDto>;
|
||||
public pyroFetesEndpointsTruckUpdateTruckEndpoint(id: number, pyroFetesDTOTruckRequestUpdateTruckDto: PyroFetesDTOTruckRequestUpdateTruckDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<PyroFetesDTOTruckResponseReadTruckDto>>;
|
||||
public pyroFetesEndpointsTruckUpdateTruckEndpoint(id: number, pyroFetesDTOTruckRequestUpdateTruckDto: PyroFetesDTOTruckRequestUpdateTruckDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<PyroFetesDTOTruckResponseReadTruckDto>>;
|
||||
public pyroFetesEndpointsTruckUpdateTruckEndpoint(id: number, pyroFetesDTOTruckRequestUpdateTruckDto: PyroFetesDTOTruckRequestUpdateTruckDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
if (id === null || id === undefined) {
|
||||
throw new Error('Required parameter id was null or undefined when calling updateTruckEndpoint.');
|
||||
throw new Error('Required parameter id was null or undefined when calling pyroFetesEndpointsTruckUpdateTruckEndpoint.');
|
||||
}
|
||||
if (updateTruckDto === null || updateTruckDto === undefined) {
|
||||
throw new Error('Required parameter updateTruckDto was null or undefined when calling updateTruckEndpoint.');
|
||||
if (pyroFetesDTOTruckRequestUpdateTruckDto === null || pyroFetesDTOTruckRequestUpdateTruckDto === undefined) {
|
||||
throw new Error('Required parameter pyroFetesDTOTruckRequestUpdateTruckDto was null or undefined when calling pyroFetesEndpointsTruckUpdateTruckEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
@@ -312,12 +312,12 @@ export class TrucksService extends BaseService {
|
||||
}
|
||||
}
|
||||
|
||||
let localVarPath = `/API/trucks/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
let localVarPath = `/trucks/${this.configuration.encodeParam({name: "id", value: id, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int32"})}`;
|
||||
const { basePath, withCredentials } = this.configuration;
|
||||
return this.httpClient.request<ReadTruckDto>('put', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<PyroFetesDTOTruckResponseReadTruckDto>('put', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: updateTruckDto,
|
||||
body: pyroFetesDTOTruckRequestUpdateTruckDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
|
||||
@@ -1,18 +1,18 @@
|
||||
export * from './create-show-dto';
|
||||
export * from './create-sound-category-dto';
|
||||
export * from './create-sound-dto';
|
||||
export * from './create-sound-timecode-dto';
|
||||
export * from './create-staff-dto';
|
||||
export * from './create-truck-dto';
|
||||
export * from './read-show-dto';
|
||||
export * from './read-sound-category-dto';
|
||||
export * from './read-sound-dto';
|
||||
export * from './read-sound-timecode-dto';
|
||||
export * from './read-staff-dto';
|
||||
export * from './read-truck-dto';
|
||||
export * from './update-show-dto';
|
||||
export * from './update-sound-category-dto';
|
||||
export * from './update-sound-dto';
|
||||
export * from './update-sound-timecode-request';
|
||||
export * from './update-staff-dto';
|
||||
export * from './update-truck-dto';
|
||||
export * from './pyro-fetes-dto-show-request-create-show-dto';
|
||||
export * from './pyro-fetes-dto-show-request-update-show-dto';
|
||||
export * from './pyro-fetes-dto-show-response-read-show-dto';
|
||||
export * from './pyro-fetes-dto-sound-category-request-create-sound-category-dto';
|
||||
export * from './pyro-fetes-dto-sound-category-request-update-sound-category-dto';
|
||||
export * from './pyro-fetes-dto-sound-category-response-read-sound-category-dto';
|
||||
export * from './pyro-fetes-dto-sound-request-create-sound-dto';
|
||||
export * from './pyro-fetes-dto-sound-request-update-sound-dto';
|
||||
export * from './pyro-fetes-dto-sound-response-read-sound-dto';
|
||||
export * from './pyro-fetes-dto-sound-timecode-request-create-sound-timecode-dto';
|
||||
export * from './pyro-fetes-dto-sound-timecode-response-read-sound-timecode-dto';
|
||||
export * from './pyro-fetes-dto-staff-request-create-staff-dto';
|
||||
export * from './pyro-fetes-dto-staff-request-update-staff-dto';
|
||||
export * from './pyro-fetes-dto-staff-response-read-staff-dto';
|
||||
export * from './pyro-fetes-dto-truck-request-create-truck-dto';
|
||||
export * from './pyro-fetes-dto-truck-request-update-truck-dto';
|
||||
export * from './pyro-fetes-dto-truck-response-read-truck-dto';
|
||||
export * from './pyro-fetes-endpoints-sound-timecode-update-sound-timecode-request';
|
||||
|
||||
+2
-2
@@ -9,12 +9,12 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateShowDto {
|
||||
export interface PyroFetesDTOShowRequestCreateShowDto {
|
||||
name?: string | null;
|
||||
place?: string | null;
|
||||
description?: string | null;
|
||||
pyrotechnicImplementationPlan?: string | null;
|
||||
date?: string | null;
|
||||
cityId?: number;
|
||||
cityId?: number | null;
|
||||
}
|
||||
|
||||
+2
-1
@@ -9,11 +9,12 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface UpdateShowDto {
|
||||
export interface PyroFetesDTOShowRequestUpdateShowDto {
|
||||
name?: string | null;
|
||||
place?: string | null;
|
||||
description?: string | null;
|
||||
pyrotechnicImplementationPlan?: string | null;
|
||||
date?: string | null;
|
||||
cityId?: number | null;
|
||||
}
|
||||
|
||||
+2
-1
@@ -9,12 +9,13 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface ReadShowDto {
|
||||
export interface PyroFetesDTOShowResponseReadShowDto {
|
||||
id?: number | null;
|
||||
name?: string | null;
|
||||
place?: string | null;
|
||||
description?: string | null;
|
||||
pyrotechnicImplementationPlan?: string | null;
|
||||
date?: string | null;
|
||||
cityId?: number | null;
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateSoundCategoryDto {
|
||||
export interface PyroFetesDTOSoundCategoryRequestCreateSoundCategoryDto {
|
||||
name?: string | null;
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface UpdateSoundCategoryDto {
|
||||
export interface PyroFetesDTOSoundCategoryRequestUpdateSoundCategoryDto {
|
||||
name?: string | null;
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface ReadSoundCategoryDto {
|
||||
export interface PyroFetesDTOSoundCategoryResponseReadSoundCategoryDto {
|
||||
id?: number | null;
|
||||
name?: string | null;
|
||||
}
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface UpdateSoundDto {
|
||||
export interface PyroFetesDTOSoundRequestCreateSoundDto {
|
||||
name?: string | null;
|
||||
type?: string | null;
|
||||
artist?: string | null;
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateSoundDto {
|
||||
export interface PyroFetesDTOSoundRequestUpdateSoundDto {
|
||||
name?: string | null;
|
||||
type?: string | null;
|
||||
artist?: string | null;
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface ReadSoundDto {
|
||||
export interface PyroFetesDTOSoundResponseReadSoundDto {
|
||||
id?: number | null;
|
||||
name?: string | null;
|
||||
type?: string | null;
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateSoundTimecodeDto {
|
||||
export interface PyroFetesDTOSoundTimecodeRequestCreateSoundTimecodeDto {
|
||||
showId?: number;
|
||||
soundId?: number;
|
||||
start?: number;
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface ReadSoundTimecodeDto {
|
||||
export interface PyroFetesDTOSoundTimecodeResponseReadSoundTimecodeDto {
|
||||
id?: number | null;
|
||||
showId?: number | null;
|
||||
soundId?: number | null;
|
||||
+3
-1
@@ -9,10 +9,12 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface UpdateStaffDto {
|
||||
export interface PyroFetesDTOStaffRequestCreateStaffDto {
|
||||
firstName?: string | null;
|
||||
lastName?: string | null;
|
||||
profession?: string | null;
|
||||
email?: string | null;
|
||||
f4T2NumberApproval?: string | null;
|
||||
f4T2ExpirationDate?: string;
|
||||
}
|
||||
|
||||
+3
-1
@@ -9,10 +9,12 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateStaffDto {
|
||||
export interface PyroFetesDTOStaffRequestUpdateStaffDto {
|
||||
firstName?: string | null;
|
||||
lastName?: string | null;
|
||||
profession?: string | null;
|
||||
email?: string | null;
|
||||
f4T2NumberApproval?: string | null;
|
||||
f4T2ExpirationDate?: string | null;
|
||||
}
|
||||
|
||||
+3
-1
@@ -9,11 +9,13 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface ReadStaffDto {
|
||||
export interface PyroFetesDTOStaffResponseReadStaffDto {
|
||||
id?: number | null;
|
||||
firstName?: string | null;
|
||||
lastName?: string | null;
|
||||
profession?: string | null;
|
||||
email?: string | null;
|
||||
f4T2NumberApproval?: string | null;
|
||||
f4T2ExpirationDate?: string;
|
||||
}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface CreateTruckDto {
|
||||
export interface PyroFetesDTOTruckRequestCreateTruckDto {
|
||||
type?: string | null;
|
||||
maxExplosiveCapacity?: number | null;
|
||||
sizes?: string | null;
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface UpdateTruckDto {
|
||||
export interface PyroFetesDTOTruckRequestUpdateTruckDto {
|
||||
type?: string | null;
|
||||
maxExplosiveCapacity?: string | null;
|
||||
sizes?: string | null;
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface ReadTruckDto {
|
||||
export interface PyroFetesDTOTruckResponseReadTruckDto {
|
||||
id?: number | null;
|
||||
type?: string | null;
|
||||
maxExplosiveCapacity?: number | null;
|
||||
+1
-1
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
|
||||
export interface UpdateSoundTimecodeRequest {
|
||||
export interface PyroFetesEndpointsSoundTimecodeUpdateSoundTimecodeRequest {
|
||||
start?: number;
|
||||
end?: number;
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
@import 'ng-zorro-antd/ng-zorro-antd.min.css';
|
||||
|
||||
/* You can add global styles to this file, and also import other style files */
|
||||
:root {
|
||||
--mauve: #8b7b8b;
|
||||
@@ -121,5 +123,38 @@ button.primary {
|
||||
font-weight: 700 !important;
|
||||
}
|
||||
|
||||
/* ─── Modale création spectacle ──────────────────────────── */
|
||||
.create-show-modal .ant-modal-content {
|
||||
border-radius: 16px !important;
|
||||
overflow: hidden !important;
|
||||
border: 1.5px solid #ede8e0 !important;
|
||||
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14) !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.create-show-modal .ant-modal-body {
|
||||
padding: 28px !important;
|
||||
}
|
||||
|
||||
.create-show-modal .ant-modal-close {
|
||||
top: 14px !important;
|
||||
right: 14px !important;
|
||||
}
|
||||
|
||||
.create-show-modal .ant-modal-close-x {
|
||||
width: 32px !important;
|
||||
height: 32px !important;
|
||||
line-height: 32px !important;
|
||||
border-radius: 8px !important;
|
||||
color: #bbb !important;
|
||||
transition: all 0.15s !important;
|
||||
display: flex !important;
|
||||
align-items: center !important;
|
||||
justify-content: center !important;
|
||||
}
|
||||
|
||||
.create-show-modal .ant-modal-close-x:hover {
|
||||
background: #f5f4f0 !important;
|
||||
color: #666 !important;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user