Opportunity quasi fini
This commit is contained in:
@@ -0,0 +1 @@
|
||||
<p>create-opportunity-modal works!</p>
|
||||
@@ -0,0 +1,63 @@
|
||||
import {Component, output} from '@angular/core';
|
||||
import {OpportunityAddForm} from "../opportunity-add-form/opportunity-add-form";
|
||||
import {NzMessageService} from "ng-zorro-antd/message";
|
||||
import {NzButtonComponent} from "ng-zorro-antd/button";
|
||||
import {NzModalComponent} from "ng-zorro-antd/modal";
|
||||
|
||||
@Component({
|
||||
selector: 'app-create-opportunity-modal',
|
||||
imports: [
|
||||
OpportunityAddForm,
|
||||
NzButtonComponent,
|
||||
NzModalComponent
|
||||
],
|
||||
template: `
|
||||
<button nz-button nzType="primary" (click)="showModal()">
|
||||
<span style="font-weight: bold">+</span>
|
||||
</button>
|
||||
<nz-modal
|
||||
[(nzVisible)]="isVisible"
|
||||
[nzTitle]="modalTitle"
|
||||
[nzContent]="modalContent"
|
||||
[nzFooter]="modalFooter"
|
||||
(nzOnCancel)="handleCancel()">
|
||||
<ng-template #modalTitle style="text-align: center">Création d'opportunités</ng-template>
|
||||
|
||||
<ng-template #modalContent>
|
||||
<app-opportunity-add-form/>
|
||||
</ng-template>
|
||||
|
||||
<ng-template #modalFooter>
|
||||
<button nz-button nzType="default" (click)="handleCancel()">Annuler</button>
|
||||
<button nz-button nzType="primary" (click)="handleOk()" [nzLoading]="isConfirmLoading">Confirmer</button>
|
||||
</ng-template>
|
||||
</nz-modal>
|
||||
`,
|
||||
styleUrl: './create-opportunity-modal.css',
|
||||
})
|
||||
export class CreateOpportunityModal {
|
||||
constructor(private message: NzMessageService) {}
|
||||
isVisible = false;
|
||||
isConfirmLoading = false;
|
||||
|
||||
showModal(): void {
|
||||
this.isVisible = true;
|
||||
}
|
||||
|
||||
handleOk(): void {
|
||||
this.isConfirmLoading = true;
|
||||
this.message.success('Opportunité créé !');
|
||||
setTimeout(() => {
|
||||
this.isVisible = false;
|
||||
this.isConfirmLoading = false;
|
||||
}, 300);
|
||||
this.triggerCreated.emit();
|
||||
}
|
||||
|
||||
handleCancel(): void {
|
||||
this.isVisible = false;
|
||||
this.message.info('Création annulée');
|
||||
}
|
||||
|
||||
triggerCreated = output<void>()
|
||||
}
|
||||
@@ -1 +1,57 @@
|
||||
<p>opportunities works!</p>
|
||||
<app-create-opportunity-modal (triggerCreated)="fetchCommunications()" />
|
||||
|
||||
<nz-divider></nz-divider>
|
||||
|
||||
<nz-card style="margin-bottom: 16px">
|
||||
<div nz-row [nzGutter]="16" style="text-align: center">
|
||||
<div nz-col [nzSpan]="8">
|
||||
<h3>📞 Appels</h3>
|
||||
<p style="font-size: 24px; font-weight: bold">{{ totalCalls }}</p>
|
||||
</div>
|
||||
<div nz-col [nzSpan]="8">
|
||||
<h3>✉️ Emails</h3>
|
||||
<p style="font-size: 24px; font-weight: bold">{{ totalEmails }}</p>
|
||||
</div>
|
||||
<div nz-col [nzSpan]="8">
|
||||
<h3>🤝 Réunions</h3>
|
||||
<p style="font-size: 24px; font-weight: bold">{{ totalMeetings }}</p>
|
||||
</div>
|
||||
</div>
|
||||
</nz-card>
|
||||
|
||||
<nz-divider></nz-divider>
|
||||
|
||||
<div nz-row [nzGutter]="16">
|
||||
<div nz-col [nzSpan]="8">
|
||||
<nz-card nzTitle="Appels ({{ totalCalls }})">
|
||||
@for (communication of communications(); track communication.id) {
|
||||
@if (communication.calling) {
|
||||
<app-opportunity-card [communication]="communication" (triggerEdited)="fetchCommunications()" />
|
||||
<nz-divider></nz-divider>
|
||||
}
|
||||
}
|
||||
</nz-card>
|
||||
</div>
|
||||
|
||||
<div nz-col [nzSpan]="8">
|
||||
<nz-card nzTitle="Emails ({{ totalEmails }})">
|
||||
@for (communication of communications(); track communication.id) {
|
||||
@if (communication.email) {
|
||||
<app-opportunity-card [communication]="communication" (triggerEdited)="fetchCommunications()" />
|
||||
<nz-divider></nz-divider>
|
||||
}
|
||||
}
|
||||
</nz-card>
|
||||
</div>
|
||||
|
||||
<div nz-col [nzSpan]="8">
|
||||
<nz-card nzTitle="Réunions ({{ totalMeetings }})">
|
||||
@for (communication of communications(); track communication.id) {
|
||||
@if (communication.meeting) {
|
||||
<app-opportunity-card [communication]="communication" (triggerEdited)="fetchCommunications()" />
|
||||
<nz-divider></nz-divider>
|
||||
}
|
||||
}
|
||||
</nz-card>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,11 +1,54 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {Component, inject, signal} from '@angular/core';
|
||||
import {CreateOpportunityModal} from "./create-opportunity-modal/create-opportunity-modal";
|
||||
import {NzNotificationService} from "ng-zorro-antd/notification";
|
||||
import {Router} from "@angular/router";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
import {NzCardComponent} from "ng-zorro-antd/card";
|
||||
import {NzDividerComponent} from "ng-zorro-antd/divider";
|
||||
import {NzColDirective, NzRowDirective} from "ng-zorro-antd/grid";
|
||||
import {OpportunityCard} from "./opportunity-card/opportunity-card";
|
||||
import {CommunicationsService, GetCommunicationDto} from "../../services/api";
|
||||
|
||||
@Component({
|
||||
selector: 'app-opportunities',
|
||||
imports: [],
|
||||
imports: [CreateOpportunityModal, NzCardComponent, NzDividerComponent, NzRowDirective, NzColDirective, OpportunityCard],
|
||||
templateUrl: './opportunities.html',
|
||||
styleUrl: './opportunities.css',
|
||||
})
|
||||
export class Opportunities {
|
||||
private communicationsService = inject(CommunicationsService);
|
||||
private notificationService = inject(NzNotificationService)
|
||||
|
||||
router = inject(Router);
|
||||
|
||||
communications = signal<GetCommunicationDto[]>([]);
|
||||
communicationsLoading = signal<boolean>(false);
|
||||
|
||||
async ngOnInit() {
|
||||
await this.fetchCommunications();
|
||||
}
|
||||
|
||||
get totalCalls() {
|
||||
return this.communications().filter(c => c.calling).length;
|
||||
}
|
||||
|
||||
get totalEmails() {
|
||||
return this.communications().filter(c => c.email).length;
|
||||
}
|
||||
|
||||
get totalMeetings() {
|
||||
return this.communications().filter(c => c.meeting).length;
|
||||
}
|
||||
|
||||
async fetchCommunications() {
|
||||
this.communicationsLoading.set(true);
|
||||
try {
|
||||
const communications = await firstValueFrom(this.communicationsService.getAllCommunicationsEndpoint())
|
||||
this.communications.set(communications)
|
||||
} catch (e) {
|
||||
this.notificationService.error('Erreur', 'Erreur de communication avec l\'API');
|
||||
}
|
||||
|
||||
this.communicationsLoading.set(false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
<form nz-form nzLayout="horizontal" [formGroup]="communicationForm">
|
||||
<nz-form-item>
|
||||
<nz-form-label nzSpan="5" nzRequired>Appel</nz-form-label>
|
||||
<nz-form-control nzErrorTip="Ce champ est requis">
|
||||
<input nz-input placeholder="Appel" formControlName="calling">
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
|
||||
<nz-form-item>
|
||||
<nz-form-label nzSpan="5" nzRequired>Email</nz-form-label>
|
||||
<nz-form-control nzErrorTip="Ce champ est requis">
|
||||
<input nz-input placeholder="Email" formControlName="email">
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
|
||||
<nz-form-item>
|
||||
<nz-form-label nzSpan="5" nzRequired>Réunion</nz-form-label>
|
||||
<nz-form-control nzErrorTip="Ce champ est requis">
|
||||
<input nz-input placeholder="Réunion" formControlName="meeting">
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
|
||||
<nz-flex nzJustify="end">
|
||||
<button nz-button nzType="primary" (click)="submitForm()">Valider</button>
|
||||
</nz-flex>
|
||||
</form>
|
||||
@@ -0,0 +1,78 @@
|
||||
import {Component, inject, signal} from '@angular/core';
|
||||
import {NzButtonComponent} from "ng-zorro-antd/button";
|
||||
import {NzColDirective, NzRowDirective} from "ng-zorro-antd/grid";
|
||||
import {NzFlexDirective} from "ng-zorro-antd/flex";
|
||||
import {NzFormControlComponent, NzFormDirective, NzFormItemComponent, NzFormLabelComponent} from "ng-zorro-antd/form";
|
||||
import {NzInputDirective} from "ng-zorro-antd/input";
|
||||
import {FormControl, FormGroup, ReactiveFormsModule} from "@angular/forms";
|
||||
import {CommunicationsService, CreateCommunicationDto} from "../../../services/api";
|
||||
import {NzNotificationService} from "ng-zorro-antd/notification";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
|
||||
@Component({
|
||||
selector: 'app-opportunity-add-form',
|
||||
imports: [
|
||||
NzButtonComponent,
|
||||
NzColDirective,
|
||||
NzFlexDirective,
|
||||
NzFormControlComponent,
|
||||
NzFormDirective,
|
||||
NzFormItemComponent,
|
||||
NzFormLabelComponent,
|
||||
NzInputDirective,
|
||||
NzRowDirective,
|
||||
ReactiveFormsModule
|
||||
],
|
||||
templateUrl: './opportunity-add-form.html',
|
||||
styleUrl: './opportunity-add-form.css',
|
||||
})
|
||||
export class OpportunityAddForm {
|
||||
|
||||
private communicationsService = inject(CommunicationsService);
|
||||
private notificationService = inject(NzNotificationService)
|
||||
|
||||
communicationForm = new FormGroup({
|
||||
calling: new FormControl<string>(null),
|
||||
email: new FormControl<string>(null),
|
||||
meeting: new FormControl<string>(null),
|
||||
}, { validators: atLeastOneRequired })
|
||||
|
||||
communicationPost = signal<CreateCommunicationDto>(this.communicationForm.value);
|
||||
communicationsLoading = signal<boolean>(false);
|
||||
|
||||
async submitForm() {
|
||||
if (this.communicationForm.invalid) return;
|
||||
|
||||
console.log(this.communicationForm.getRawValue())
|
||||
this.communicationPost.set(this.communicationForm.getRawValue())
|
||||
|
||||
await this.createCommunication(this.communicationPost().calling, this.communicationPost().email, this.communicationPost().meeting)
|
||||
this.communicationForm.reset()
|
||||
}
|
||||
|
||||
async createCommunication(calling: string, email: string, meeting: string) {
|
||||
this.communicationsLoading.set(true);
|
||||
|
||||
const communicationValue: CreateCommunicationDto = {
|
||||
calling: calling,
|
||||
email: email,
|
||||
meeting: meeting,
|
||||
}
|
||||
|
||||
try {
|
||||
const communication = await firstValueFrom(this.communicationsService.createCommunicationEndpoint(communicationValue));
|
||||
this.communicationPost.set(communication);
|
||||
console.log(communication);
|
||||
} catch (e) {
|
||||
this.notificationService.error('Erreur', 'Erreur de communication avec l\'API');
|
||||
}
|
||||
|
||||
this.communicationsLoading.set(false);
|
||||
}
|
||||
}
|
||||
|
||||
function atLeastOneRequired(group: FormGroup) {
|
||||
const { calling, email, meeting } = group.controls;
|
||||
const valid = [calling, email, meeting].some(c => c.value);
|
||||
return valid ? null : { atLeastOneRequired: true };
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
@if (edit() == false) {
|
||||
<nz-card style="width:400px;" [nzActions]="[edit, delete]">
|
||||
<h2 style="text-align: center; font-weight: bold">Communication n°{{ communication().id }}</h2>
|
||||
@if (communication().calling) {
|
||||
<p>📞 Appel : {{ communication().calling }}</p>
|
||||
}
|
||||
@if (communication().email) {
|
||||
<p>✉️ Email : {{ communication().email }}</p>
|
||||
}
|
||||
@if (communication().meeting) {
|
||||
<p>🤝 Réunion : {{ communication().meeting }}</p>
|
||||
}
|
||||
</nz-card>
|
||||
<ng-template #edit>
|
||||
<nz-icon (click)="Edit()" nzType="edit" nzTheme="fill" />
|
||||
</ng-template>
|
||||
<ng-template #delete>
|
||||
<nz-icon (click)="Delete()" nzType="delete" nzTheme="fill" />
|
||||
</ng-template>
|
||||
} @else {
|
||||
<nz-card style="width:400px;" [nzActions]="[back, check]">
|
||||
<form nz-form nzLayout="horizontal" [formGroup]="communicationForm">
|
||||
<nz-form-item>
|
||||
<nz-form-label nzSpan="5">Appel</nz-form-label>
|
||||
<nz-form-control nzSpan="22">
|
||||
<input nz-input placeholder="Appel" formControlName="calling">
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
<nz-form-item>
|
||||
<nz-form-label nzSpan="5">Email</nz-form-label>
|
||||
<nz-form-control nzSpan="22">
|
||||
<input nz-input placeholder="Email" formControlName="email">
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
<nz-form-item>
|
||||
<nz-form-label nzSpan="5">Réunion</nz-form-label>
|
||||
<nz-form-control nzSpan="22">
|
||||
<input nz-input placeholder="Réunion" formControlName="meeting">
|
||||
</nz-form-control>
|
||||
</nz-form-item>
|
||||
</form>
|
||||
</nz-card>
|
||||
<ng-template #back>
|
||||
<nz-icon (click)="Back()" nzType="backward" nzTheme="fill" />
|
||||
</ng-template>
|
||||
<ng-template #check>
|
||||
<nz-icon (click)="submitForm()" nzType="check" nzTheme="outline" />
|
||||
</ng-template>
|
||||
}
|
||||
@@ -0,0 +1,100 @@
|
||||
import {Component, inject, input, output, signal} from '@angular/core';
|
||||
import {NzNotificationService} from "ng-zorro-antd/notification";
|
||||
import {FormControl, FormGroup, ReactiveFormsModule} from "@angular/forms";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
import {NzCardComponent} from "ng-zorro-antd/card";
|
||||
import {NzFormControlComponent, NzFormItemComponent, NzFormLabelComponent} from "ng-zorro-antd/form";
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
import {NzColDirective} from "ng-zorro-antd/grid";
|
||||
import {NzInputDirective} from "ng-zorro-antd/input";
|
||||
import {CommunicationsService, GetCommunicationDto, UpdateCommunicationDto} from "../../../services/api";
|
||||
|
||||
@Component({
|
||||
selector: 'app-opportunity-card',
|
||||
imports: [
|
||||
NzCardComponent,
|
||||
ReactiveFormsModule,
|
||||
NzFormLabelComponent,
|
||||
NzFormControlComponent,
|
||||
NzFormItemComponent,
|
||||
NzIconDirective,
|
||||
NzColDirective,
|
||||
NzInputDirective
|
||||
],
|
||||
templateUrl: './opportunity-card.html',
|
||||
styleUrl: './opportunity-card.css',
|
||||
})
|
||||
export class OpportunityCard {
|
||||
private communicationsService = inject(CommunicationsService);
|
||||
private notificationService = inject(NzNotificationService);
|
||||
|
||||
communicationEdit = signal<UpdateCommunicationDto>(null);
|
||||
communicationsLoading = signal<boolean>(false);
|
||||
|
||||
communicationForm = new FormGroup({
|
||||
calling: new FormControl<string>(null),
|
||||
email: new FormControl<string>(null),
|
||||
meeting: new FormControl<string>(null),
|
||||
}, { validators: atLeastOneRequired })
|
||||
|
||||
async submitForm() {
|
||||
this.communicationsLoading.set(true);
|
||||
|
||||
const communicationValue: UpdateCommunicationDto = {
|
||||
calling: this.communicationForm.value.calling,
|
||||
email: this.communicationForm.value.email,
|
||||
meeting: this.communicationForm.value.meeting,
|
||||
}
|
||||
|
||||
try {
|
||||
const communication = await firstValueFrom(this.communicationsService.updateCommunicationEndpoint(this.communication().id, communicationValue));
|
||||
this.communicationEdit.set(communication as unknown as UpdateCommunicationDto);
|
||||
console.log(communication);
|
||||
this.communicationForm.reset();
|
||||
this.edit.set(false);
|
||||
this.triggerEdited.emit();
|
||||
} catch (e) {
|
||||
this.notificationService.error('Erreur', '(ou Erreur de communication avec l\'API)');
|
||||
}
|
||||
|
||||
this.communicationsLoading.set(false);
|
||||
}
|
||||
|
||||
communication = input<GetCommunicationDto>(null);
|
||||
edit = signal(false);
|
||||
triggerEdited = output<void>();
|
||||
|
||||
protected Edit() {
|
||||
this.edit.set(true);
|
||||
this.communicationForm.patchValue({
|
||||
calling: this.communication().calling,
|
||||
email: this.communication().email,
|
||||
meeting: this.communication().meeting,
|
||||
});
|
||||
}
|
||||
|
||||
protected Back() {
|
||||
this.edit.set(false);
|
||||
this.communicationForm.reset();
|
||||
}
|
||||
|
||||
async Delete() {
|
||||
this.communicationsLoading.set(true);
|
||||
|
||||
try {
|
||||
await firstValueFrom(this.communicationsService.deleteCommunicationEndpoint(this.communication().id));
|
||||
this.communicationForm.reset();
|
||||
this.triggerEdited.emit();
|
||||
} catch (e) {
|
||||
this.notificationService.error('Erreur', '(ou Erreur de communication avec l\'API)');
|
||||
}
|
||||
|
||||
this.communicationsLoading.set(false);
|
||||
}
|
||||
}
|
||||
|
||||
function atLeastOneRequired(group: FormGroup) {
|
||||
const { calling, email, meeting } = group.controls;
|
||||
const valid = [calling, email, meeting].some(c => c.value);
|
||||
return valid ? null : { atLeastOneRequired: true };
|
||||
}
|
||||
@@ -5,9 +5,9 @@ import {NzColDirective, NzRowDirective} from "ng-zorro-antd/grid";
|
||||
import {NzFlexDirective} from "ng-zorro-antd/flex";
|
||||
import {NzFormControlComponent, NzFormDirective, NzFormItemComponent, NzFormLabelComponent} from "ng-zorro-antd/form";
|
||||
import {NzInputDirective} from "ng-zorro-antd/input";
|
||||
import {CreateStaffDto, GetProviderTypeDto, ProvidertypesService, StaffsService} from "../../../services/api";
|
||||
import {NzNotificationService} from "ng-zorro-antd/notification";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
import {CreateStaffDto, GetProviderTypeDto, ProvidertypesService, StaffsService} from "../../../services/api";
|
||||
|
||||
@Component({
|
||||
selector: 'app-staff-add-form',
|
||||
|
||||
@@ -5,9 +5,9 @@ import {NzFormControlComponent, NzFormDirective, NzFormItemComponent, NzFormLabe
|
||||
import {NzIconDirective} from "ng-zorro-antd/icon";
|
||||
import {NzInputDirective} from "ng-zorro-antd/input";
|
||||
import {FormControl, FormGroup, ReactiveFormsModule, Validators} from "@angular/forms";
|
||||
import {GetStaffDto, StaffsService, UpdateStaffDto} from "../../../services/api";
|
||||
import {NzNotificationService} from "ng-zorro-antd/notification";
|
||||
import {firstValueFrom} from "rxjs";
|
||||
import {GetStaffDto, StaffsService, UpdateStaffDto} from "../../../services/api";
|
||||
|
||||
@Component({
|
||||
selector: 'app-staff-card',
|
||||
@@ -47,7 +47,7 @@ export class StaffCard {
|
||||
}
|
||||
|
||||
try {
|
||||
const staff = await firstValueFrom(this.staffsService.updateStaffRequest(this.staff().id, staffValue));
|
||||
const staff = await firstValueFrom(this.staffsService.updateStaffEndpoint(this.staff().id, staffValue));
|
||||
this.staffEdit.set(staff as unknown as UpdateStaffDto);
|
||||
console.log(staff);
|
||||
this.staffForm.reset();
|
||||
|
||||
@@ -18,14 +18,6 @@ configuration.ts
|
||||
encoder.ts
|
||||
git_push.sh
|
||||
index.ts
|
||||
model/action-of-authorization-policy-builder.ts
|
||||
model/assembly.ts
|
||||
model/base-endpoint.ts
|
||||
model/calling-conventions.ts
|
||||
model/claim.ts
|
||||
model/claims-identity.ts
|
||||
model/claims-principal.ts
|
||||
model/constructor-info.ts
|
||||
model/create-availability-dto.ts
|
||||
model/create-communication-dto.ts
|
||||
model/create-contact-dto.ts
|
||||
@@ -36,17 +28,6 @@ model/create-history-of-approval-dto.ts
|
||||
model/create-provider-dto.ts
|
||||
model/create-provider-type-dto.ts
|
||||
model/create-staff-dto.ts
|
||||
model/custom-attribute-data.ts
|
||||
model/custom-attribute-named-argument.ts
|
||||
model/custom-attribute-typed-argument.ts
|
||||
model/delegate.ts
|
||||
model/endpoint-definition.ts
|
||||
model/endpoint-of-empty-request-and-list-of-get-communication-dto.ts
|
||||
model/endpoint-summary.ts
|
||||
model/endpoint-without-request-of-list-of-get-communication-dto.ts
|
||||
model/ep-version.ts
|
||||
model/func-of-object.ts
|
||||
model/get-all-communications-endpoint.ts
|
||||
model/get-availability-dto.ts
|
||||
model/get-communication-dto.ts
|
||||
model/get-contact-dto.ts
|
||||
@@ -57,25 +38,7 @@ model/get-history-of-approval-dto.ts
|
||||
model/get-provider-dto.ts
|
||||
model/get-provider-type-dto.ts
|
||||
model/get-staff-dto.ts
|
||||
model/http.ts
|
||||
model/i-identity.ts
|
||||
model/i-web-host-environment.ts
|
||||
model/idempotency-options.ts
|
||||
model/member-info.ts
|
||||
model/member-types.ts
|
||||
model/method-base.ts
|
||||
model/method-impl-attributes.ts
|
||||
model/method-info.ts
|
||||
model/models.ts
|
||||
model/module-handle.ts
|
||||
model/module.ts
|
||||
model/multicast-delegate.ts
|
||||
model/parameter-attributes.ts
|
||||
model/parameter-info.ts
|
||||
model/request-example.ts
|
||||
model/response-header.ts
|
||||
model/security-rule-set.ts
|
||||
model/severity.ts
|
||||
model/update-availability-dto.ts
|
||||
model/update-communication-dto.ts
|
||||
model/update-contact-dto.ts
|
||||
@@ -86,7 +49,6 @@ model/update-history-of-approval-dto.ts
|
||||
model/update-provider-dto.ts
|
||||
model/update-provider-type-dto.ts
|
||||
model/update-staff-dto.ts
|
||||
model/validation-failure.ts
|
||||
param.ts
|
||||
provide-api.ts
|
||||
variables.ts
|
||||
|
||||
@@ -19,8 +19,6 @@ import { Observable } from 'rxjs';
|
||||
// @ts-ignore
|
||||
import { CreateCommunicationDto } from '../model/create-communication-dto';
|
||||
// @ts-ignore
|
||||
import { GetAllCommunicationsEndpoint } from '../model/get-all-communications-endpoint';
|
||||
// @ts-ignore
|
||||
import { GetCommunicationDto } from '../model/get-communication-dto';
|
||||
// @ts-ignore
|
||||
import { UpdateCommunicationDto } from '../model/update-communication-dto';
|
||||
@@ -108,20 +106,16 @@ export class CommunicationsService extends BaseService {
|
||||
/**
|
||||
* @endpoint delete /API/communications/{id}
|
||||
* @param id
|
||||
* @param getCommunicationDto
|
||||
* @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 deleteCommunicationEndpoint(id: number, getCommunicationDto: GetCommunicationDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetAllCommunicationsEndpoint>;
|
||||
public deleteCommunicationEndpoint(id: number, getCommunicationDto: GetCommunicationDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetAllCommunicationsEndpoint>>;
|
||||
public deleteCommunicationEndpoint(id: number, getCommunicationDto: GetCommunicationDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetAllCommunicationsEndpoint>>;
|
||||
public deleteCommunicationEndpoint(id: number, getCommunicationDto: GetCommunicationDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public deleteCommunicationEndpoint(id: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetCommunicationDto>;
|
||||
public deleteCommunicationEndpoint(id: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetCommunicationDto>>;
|
||||
public deleteCommunicationEndpoint(id: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetCommunicationDto>>;
|
||||
public deleteCommunicationEndpoint(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 deleteCommunicationEndpoint.');
|
||||
}
|
||||
if (getCommunicationDto === null || getCommunicationDto === undefined) {
|
||||
throw new Error('Required parameter getCommunicationDto was null or undefined when calling deleteCommunicationEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -137,15 +131,6 @@ export class CommunicationsService extends BaseService {
|
||||
const localVarTransferCache: boolean = options?.transferCache ?? true;
|
||||
|
||||
|
||||
// to determine the Content-Type header
|
||||
const consumes: string[] = [
|
||||
'application/json'
|
||||
];
|
||||
const httpContentTypeSelected: string | undefined = this.configuration.selectHeaderContentType(consumes);
|
||||
if (httpContentTypeSelected !== undefined) {
|
||||
localVarHeaders = localVarHeaders.set('Content-Type', httpContentTypeSelected);
|
||||
}
|
||||
|
||||
let responseType_: 'text' | 'json' | 'blob' = 'json';
|
||||
if (localVarHttpHeaderAcceptSelected) {
|
||||
if (localVarHttpHeaderAcceptSelected.startsWith('text')) {
|
||||
@@ -159,10 +144,9 @@ export class CommunicationsService extends BaseService {
|
||||
|
||||
let localVarPath = `/API/communications/${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<GetAllCommunicationsEndpoint>('delete', `${basePath}${localVarPath}`,
|
||||
return this.httpClient.request<GetCommunicationDto>('delete', `${basePath}${localVarPath}`,
|
||||
{
|
||||
context: localVarHttpContext,
|
||||
body: getCommunicationDto,
|
||||
responseType: <any>responseType_,
|
||||
...(withCredentials ? { withCredentials } : {}),
|
||||
headers: localVarHeaders,
|
||||
|
||||
@@ -268,15 +268,15 @@ export class StaffsService extends BaseService {
|
||||
* @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 updateStaffRequest(id: number, updateStaffDto: UpdateStaffDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetStaffDto>;
|
||||
public updateStaffRequest(id: number, updateStaffDto: UpdateStaffDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetStaffDto>>;
|
||||
public updateStaffRequest(id: number, updateStaffDto: UpdateStaffDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetStaffDto>>;
|
||||
public updateStaffRequest(id: number, updateStaffDto: UpdateStaffDto, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<any> {
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<GetStaffDto>;
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpResponse<GetStaffDto>>;
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: 'application/json', context?: HttpContext, transferCache?: boolean}): Observable<HttpEvent<GetStaffDto>>;
|
||||
public updateStaffEndpoint(id: number, updateStaffDto: UpdateStaffDto, 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 updateStaffRequest.');
|
||||
throw new Error('Required parameter id was null or undefined when calling updateStaffEndpoint.');
|
||||
}
|
||||
if (updateStaffDto === null || updateStaffDto === undefined) {
|
||||
throw new Error('Required parameter updateStaffDto was null or undefined when calling updateStaffRequest.');
|
||||
throw new Error('Required parameter updateStaffDto was null or undefined when calling updateStaffEndpoint.');
|
||||
}
|
||||
|
||||
let localVarHeaders = this.defaultHeaders;
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { MethodInfo } from './method-info';
|
||||
|
||||
|
||||
export interface ActionOfAuthorizationPolicyBuilder {
|
||||
target?: any | null;
|
||||
method?: MethodInfo;
|
||||
}
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeData } from './custom-attribute-data';
|
||||
import { SecurityRuleSet } from './security-rule-set';
|
||||
import { MethodInfo } from './method-info';
|
||||
import { Module } from './module';
|
||||
|
||||
|
||||
export interface Assembly {
|
||||
definedTypes?: Array<string>;
|
||||
exportedTypes?: Array<string>;
|
||||
/** @deprecated */
|
||||
codeBase?: string | null;
|
||||
entryPoint?: MethodInfo | null;
|
||||
fullName?: string | null;
|
||||
imageRuntimeVersion?: string;
|
||||
isDynamic?: boolean;
|
||||
location?: string;
|
||||
reflectionOnly?: boolean;
|
||||
isCollectible?: boolean;
|
||||
isFullyTrusted?: boolean;
|
||||
customAttributes?: Array<CustomAttributeData>;
|
||||
/** @deprecated */
|
||||
escapedCodeBase?: string;
|
||||
manifestModule?: Module;
|
||||
modules?: Array<Module>;
|
||||
/** @deprecated */
|
||||
globalAssemblyCache?: boolean;
|
||||
hostContext?: number;
|
||||
securityRuleSet?: SecurityRuleSet;
|
||||
}
|
||||
export namespace Assembly {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { EndpointDefinition } from './endpoint-definition';
|
||||
import { ValidationFailure } from './validation-failure';
|
||||
|
||||
|
||||
/**
|
||||
* the base class all fast endpoints inherit from
|
||||
*/
|
||||
export interface BaseEndpoint {
|
||||
definition?: EndpointDefinition;
|
||||
httpContext?: object;
|
||||
validationFailures?: Array<ValidationFailure>;
|
||||
}
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const CallingConventions = {
|
||||
NUMBER_1: 1,
|
||||
NUMBER_2: 2,
|
||||
NUMBER_3: 3,
|
||||
NUMBER_32: 32,
|
||||
NUMBER_64: 64
|
||||
} as const;
|
||||
export type CallingConventions = typeof CallingConventions[keyof typeof CallingConventions];
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { ClaimsIdentity } from './claims-identity';
|
||||
|
||||
|
||||
export interface Claim {
|
||||
issuer?: string;
|
||||
originalIssuer?: string;
|
||||
properties?: { [key: string]: string; };
|
||||
subject?: ClaimsIdentity | null;
|
||||
type?: string;
|
||||
value?: string;
|
||||
valueType?: string;
|
||||
}
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { Claim } from './claim';
|
||||
|
||||
|
||||
export interface ClaimsIdentity {
|
||||
authenticationType?: string | null;
|
||||
isAuthenticated?: boolean;
|
||||
actor?: ClaimsIdentity | null;
|
||||
bootstrapContext?: any | null;
|
||||
claims?: Array<Claim>;
|
||||
label?: string | null;
|
||||
name?: string | null;
|
||||
nameClaimType?: string;
|
||||
roleClaimType?: string;
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { ClaimsIdentity } from './claims-identity';
|
||||
import { IIdentity } from './i-identity';
|
||||
import { Claim } from './claim';
|
||||
|
||||
|
||||
export interface ClaimsPrincipal {
|
||||
claims?: Array<Claim>;
|
||||
identities?: Array<ClaimsIdentity>;
|
||||
identity?: IIdentity | null;
|
||||
}
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeData } from './custom-attribute-data';
|
||||
import { CallingConventions } from './calling-conventions';
|
||||
import { MethodImplAttributes } from './method-impl-attributes';
|
||||
import { Module } from './module';
|
||||
import { MemberTypes } from './member-types';
|
||||
|
||||
|
||||
export interface ConstructorInfo {
|
||||
module?: Module;
|
||||
customAttributes?: Array<CustomAttributeData>;
|
||||
isCollectible?: boolean;
|
||||
metadataToken?: number;
|
||||
methodImplementationFlags?: MethodImplAttributes;
|
||||
callingConvention?: CallingConventions;
|
||||
isAbstract?: boolean;
|
||||
isConstructor?: boolean;
|
||||
isFinal?: boolean;
|
||||
isHideBySig?: boolean;
|
||||
isSpecialName?: boolean;
|
||||
isStatic?: boolean;
|
||||
isVirtual?: boolean;
|
||||
isAssembly?: boolean;
|
||||
isFamily?: boolean;
|
||||
isFamilyAndAssembly?: boolean;
|
||||
isFamilyOrAssembly?: boolean;
|
||||
isPrivate?: boolean;
|
||||
isPublic?: boolean;
|
||||
isConstructedGenericMethod?: boolean;
|
||||
isGenericMethod?: boolean;
|
||||
isGenericMethodDefinition?: boolean;
|
||||
containsGenericParameters?: boolean;
|
||||
isSecurityCritical?: boolean;
|
||||
isSecuritySafeCritical?: boolean;
|
||||
isSecurityTransparent?: boolean;
|
||||
memberType?: MemberTypes;
|
||||
}
|
||||
export namespace ConstructorInfo {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeTypedArgument } from './custom-attribute-typed-argument';
|
||||
import { CustomAttributeNamedArgument } from './custom-attribute-named-argument';
|
||||
import { ConstructorInfo } from './constructor-info';
|
||||
|
||||
|
||||
export interface CustomAttributeData {
|
||||
attributeType?: string;
|
||||
constructor?: ConstructorInfo;
|
||||
constructorArguments?: Array<CustomAttributeTypedArgument>;
|
||||
namedArguments?: Array<CustomAttributeNamedArgument>;
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeTypedArgument } from './custom-attribute-typed-argument';
|
||||
import { MemberInfo } from './member-info';
|
||||
|
||||
|
||||
export interface CustomAttributeNamedArgument {
|
||||
memberInfo?: MemberInfo;
|
||||
typedValue?: CustomAttributeTypedArgument;
|
||||
memberName?: string;
|
||||
isField?: boolean;
|
||||
}
|
||||
|
||||
@@ -1,16 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface CustomAttributeTypedArgument {
|
||||
argumentType?: string;
|
||||
value?: any | null;
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { MethodInfo } from './method-info';
|
||||
|
||||
|
||||
export interface Delegate {
|
||||
target?: any | null;
|
||||
method?: MethodInfo;
|
||||
}
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { ActionOfAuthorizationPolicyBuilder } from './action-of-authorization-policy-builder';
|
||||
import { IdempotencyOptions } from './idempotency-options';
|
||||
import { EndpointSummary } from './endpoint-summary';
|
||||
import { EpVersion } from './ep-version';
|
||||
|
||||
|
||||
/**
|
||||
* represents the configuration settings of an endpoint
|
||||
*/
|
||||
export interface EndpointDefinition {
|
||||
endpointType?: string;
|
||||
mapperType?: string | null;
|
||||
preProcessorsList?: Array<object>;
|
||||
postProcessorsList?: Array<object>;
|
||||
reqDtoType?: string;
|
||||
resDtoType?: string;
|
||||
routes?: Array<string>;
|
||||
securityPolicyName?: string;
|
||||
validatorType?: string | null;
|
||||
verbs?: Array<string>;
|
||||
version?: EpVersion;
|
||||
allowAnyPermission?: boolean;
|
||||
allowedPermissions?: Array<string> | null;
|
||||
allowAnyScope?: boolean;
|
||||
allowedScopes?: Array<string> | null;
|
||||
allowAnyClaim?: boolean;
|
||||
allowedClaimTypes?: Array<string> | null;
|
||||
allowedRoles?: Array<string> | null;
|
||||
anonymousVerbs?: Array<string> | null;
|
||||
antiforgeryEnabled?: boolean;
|
||||
authSchemeNames?: Array<string> | null;
|
||||
dontAutoSend?: boolean;
|
||||
dontAutoTagEndpoints?: boolean;
|
||||
dontBindFormData?: boolean;
|
||||
doNotCatchExceptions?: boolean;
|
||||
endpointAttributes?: Array<any> | null;
|
||||
endpointSummary?: EndpointSummary | null;
|
||||
endpointTags?: Array<string> | null;
|
||||
formDataContentType?: string | null;
|
||||
idempotencyOptions?: IdempotencyOptions | null;
|
||||
overriddenRoutePrefix?: string | null;
|
||||
preBuiltUserPolicies?: Array<string> | null;
|
||||
policyBuilder?: ActionOfAuthorizationPolicyBuilder | null;
|
||||
throwIfValidationFails?: boolean;
|
||||
}
|
||||
|
||||
-58
@@ -1,58 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { GetCommunicationDto } from './get-communication-dto';
|
||||
import { ClaimsPrincipal } from './claims-principal';
|
||||
import { EndpointDefinition } from './endpoint-definition';
|
||||
import { Http } from './http';
|
||||
import { IWebHostEnvironment } from './i-web-host-environment';
|
||||
import { ValidationFailure } from './validation-failure';
|
||||
|
||||
|
||||
export interface EndpointOfEmptyRequestAndListOfGetCommunicationDto {
|
||||
definition?: EndpointDefinition;
|
||||
httpContext?: object;
|
||||
validationFailures?: Array<ValidationFailure>;
|
||||
/**
|
||||
* the response object that is serialized to the response stream.
|
||||
*/
|
||||
response?: Array<GetCommunicationDto> | null;
|
||||
user?: ClaimsPrincipal;
|
||||
/**
|
||||
* Represents a set of key/value application configuration properties.
|
||||
*/
|
||||
config?: object;
|
||||
env?: IWebHostEnvironment;
|
||||
/**
|
||||
* Represents a type used to perform logging.
|
||||
*/
|
||||
logger?: object;
|
||||
/**
|
||||
* the base url of the current request
|
||||
*/
|
||||
baseURL?: string;
|
||||
httpMethod?: Http;
|
||||
/**
|
||||
* the form sent with the request. only populated if content-type is \'application/x-www-form-urlencoded\' or \'multipart/form-data\'
|
||||
*/
|
||||
form?: Array<any>;
|
||||
/**
|
||||
* the files sent with the request. only populated when content-type is \'multipart/form-data\'
|
||||
*/
|
||||
files?: Array<any>;
|
||||
/**
|
||||
* get or set whether the response has started. you\'d only use this if you\'re writing to the response stream by yourself.
|
||||
*/
|
||||
responseStarted?: boolean;
|
||||
validationFailed?: boolean;
|
||||
}
|
||||
export namespace EndpointOfEmptyRequestAndListOfGetCommunicationDto {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,48 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { RequestExample } from './request-example';
|
||||
import { ResponseHeader } from './response-header';
|
||||
|
||||
|
||||
/**
|
||||
* a class used for providing a textual description about an endpoint for swagger
|
||||
*/
|
||||
export interface EndpointSummary {
|
||||
/**
|
||||
* the short summary of the endpoint
|
||||
*/
|
||||
summary?: string;
|
||||
/**
|
||||
* the long description of the endpoint
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* specify multiple request examples by adding to this collection.
|
||||
*/
|
||||
requestExamples?: Array<RequestExample>;
|
||||
/**
|
||||
* an example request object to be used in swagger/ openapi. multiple examples can be specified by setting this property multiple times or by adding to the RequestExamples collection.
|
||||
*/
|
||||
exampleRequest?: any | null;
|
||||
/**
|
||||
* the descriptions for endpoint parameters. you can add descriptions for route/query params and request dto properties. what you specify here will take precedence over xml comments of dto classes (if they are also specified).
|
||||
*/
|
||||
params?: { [key: string]: string; };
|
||||
/**
|
||||
* the descriptions of the different responses/ status codes an endpoint can return
|
||||
*/
|
||||
responses?: { [key: string]: string; };
|
||||
/**
|
||||
* the response examples for each status code
|
||||
*/
|
||||
responseExamples?: { [key: string]: any; };
|
||||
responseHeaders?: Array<ResponseHeader>;
|
||||
}
|
||||
|
||||
-58
@@ -1,58 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { GetCommunicationDto } from './get-communication-dto';
|
||||
import { ClaimsPrincipal } from './claims-principal';
|
||||
import { EndpointDefinition } from './endpoint-definition';
|
||||
import { Http } from './http';
|
||||
import { IWebHostEnvironment } from './i-web-host-environment';
|
||||
import { ValidationFailure } from './validation-failure';
|
||||
|
||||
|
||||
export interface EndpointWithoutRequestOfListOfGetCommunicationDto {
|
||||
definition?: EndpointDefinition;
|
||||
httpContext?: object;
|
||||
validationFailures?: Array<ValidationFailure>;
|
||||
/**
|
||||
* the response object that is serialized to the response stream.
|
||||
*/
|
||||
response?: Array<GetCommunicationDto> | null;
|
||||
user?: ClaimsPrincipal;
|
||||
/**
|
||||
* Represents a set of key/value application configuration properties.
|
||||
*/
|
||||
config?: object;
|
||||
env?: IWebHostEnvironment;
|
||||
/**
|
||||
* Represents a type used to perform logging.
|
||||
*/
|
||||
logger?: object;
|
||||
/**
|
||||
* the base url of the current request
|
||||
*/
|
||||
baseURL?: string;
|
||||
httpMethod?: Http;
|
||||
/**
|
||||
* the form sent with the request. only populated if content-type is \'application/x-www-form-urlencoded\' or \'multipart/form-data\'
|
||||
*/
|
||||
form?: Array<object>;
|
||||
/**
|
||||
* the files sent with the request. only populated when content-type is \'multipart/form-data\'
|
||||
*/
|
||||
files?: Array<object>;
|
||||
/**
|
||||
* get or set whether the response has started. you\'d only use this if you\'re writing to the response stream by yourself.
|
||||
*/
|
||||
responseStarted?: boolean;
|
||||
validationFailed?: boolean;
|
||||
}
|
||||
export namespace EndpointWithoutRequestOfListOfGetCommunicationDto {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* represents an endpoint version
|
||||
*/
|
||||
export interface EpVersion {
|
||||
current?: number;
|
||||
startingReleaseVersion?: number;
|
||||
deprecatedAt?: number;
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { MethodInfo } from './method-info';
|
||||
|
||||
|
||||
export interface FuncOfObject {
|
||||
target?: any | null;
|
||||
method?: MethodInfo;
|
||||
}
|
||||
|
||||
@@ -1,58 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { GetCommunicationDto } from './get-communication-dto';
|
||||
import { ClaimsPrincipal } from './claims-principal';
|
||||
import { EndpointDefinition } from './endpoint-definition';
|
||||
import { Http } from './http';
|
||||
import { IWebHostEnvironment } from './i-web-host-environment';
|
||||
import { ValidationFailure } from './validation-failure';
|
||||
|
||||
|
||||
export interface GetAllCommunicationsEndpoint {
|
||||
definition?: EndpointDefinition;
|
||||
httpContext?: object;
|
||||
validationFailures?: Array<ValidationFailure>;
|
||||
/**
|
||||
* the response object that is serialized to the response stream.
|
||||
*/
|
||||
response?: Array<GetCommunicationDto> | null;
|
||||
user?: ClaimsPrincipal;
|
||||
/**
|
||||
* Represents a set of key/value application configuration properties.
|
||||
*/
|
||||
config?: object;
|
||||
env?: IWebHostEnvironment;
|
||||
/**
|
||||
* Represents a type used to perform logging.
|
||||
*/
|
||||
logger?: object;
|
||||
/**
|
||||
* the base url of the current request
|
||||
*/
|
||||
baseURL?: string;
|
||||
httpMethod?: Http;
|
||||
/**
|
||||
* the form sent with the request. only populated if content-type is \'application/x-www-form-urlencoded\' or \'multipart/form-data\'
|
||||
*/
|
||||
form?: Array<object>;
|
||||
/**
|
||||
* the files sent with the request. only populated when content-type is \'multipart/form-data\'
|
||||
*/
|
||||
files?: Array<object>;
|
||||
/**
|
||||
* get or set whether the response has started. you\'d only use this if you\'re writing to the response stream by yourself.
|
||||
*/
|
||||
responseStarted?: boolean;
|
||||
validationFailed?: boolean;
|
||||
}
|
||||
export namespace GetAllCommunicationsEndpoint {
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
|
||||
|
||||
export interface GetCommunicationDto {
|
||||
id?: number;
|
||||
calling?: string | null;
|
||||
email?: string | null;
|
||||
meeting?: string | null;
|
||||
|
||||
@@ -16,6 +16,6 @@ export interface GetStaffDto {
|
||||
profession?: string | null;
|
||||
email?: string | null;
|
||||
f4T2NumberApproval?: string | null;
|
||||
f4T2ExpirationDate?: string;
|
||||
f4T2ExpirationDate?: Date | null;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* enum for specifying a http verb
|
||||
*/
|
||||
export const Http = {
|
||||
NUMBER_1: 1,
|
||||
NUMBER_2: 2,
|
||||
NUMBER_3: 3,
|
||||
NUMBER_4: 4,
|
||||
NUMBER_5: 5,
|
||||
NUMBER_6: 6,
|
||||
NUMBER_7: 7,
|
||||
NUMBER_8: 8,
|
||||
NUMBER_9: 9
|
||||
} as const;
|
||||
export type Http = typeof Http[keyof typeof Http];
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface IIdentity {
|
||||
name?: string | null;
|
||||
authenticationType?: string | null;
|
||||
isAuthenticated?: boolean;
|
||||
}
|
||||
|
||||
@@ -1,19 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface IWebHostEnvironment {
|
||||
webRootPath?: string;
|
||||
/**
|
||||
* A read-only file provider abstraction.
|
||||
*/
|
||||
webRootFileProvider?: object;
|
||||
}
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { FuncOfObject } from './func-of-object';
|
||||
|
||||
|
||||
/**
|
||||
* idempotency settings for an endpoint
|
||||
*/
|
||||
export interface IdempotencyOptions {
|
||||
/**
|
||||
* the header name that will contain the idempotency key. defaults to Idempotency-Key
|
||||
*/
|
||||
headerName?: string;
|
||||
/**
|
||||
* any additional headers that should participate in the generation of the cache-key. see the source/definition for the list of default additional headers.
|
||||
*/
|
||||
additionalHeaders?: Array<string>;
|
||||
/**
|
||||
* by default, the contents of the request body (form data/json) is taken into consideration when determining the uniqueness of incoming requests even if the idempotency-key is the same among them. i.e. if two different requests come in with the same idempotency-key but with different request body content, they will be considered to be unique requests and the endpoint will be executed for each request.
|
||||
*/
|
||||
ignoreRequestBody?: boolean;
|
||||
/**
|
||||
* determines how long the cached responses will remain in the cache store before being evicted. defaults to 10 minutes.
|
||||
*/
|
||||
cacheDuration?: string;
|
||||
/**
|
||||
* by default, the idempotency header will be automatically added to the response headers collection. set false to prevent that from happening.
|
||||
*/
|
||||
addHeaderToResponse?: boolean;
|
||||
/**
|
||||
* the description text for the swagger request header parameter
|
||||
*/
|
||||
swaggerHeaderDescription?: string | null;
|
||||
swaggerExampleGenerator?: FuncOfObject | null;
|
||||
/**
|
||||
* the type/format of the swagger example value
|
||||
*/
|
||||
swaggerHeaderType?: string | null;
|
||||
}
|
||||
|
||||
@@ -1,20 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeData } from './custom-attribute-data';
|
||||
import { Module } from './module';
|
||||
|
||||
|
||||
export interface MemberInfo {
|
||||
module?: Module;
|
||||
customAttributes?: Array<CustomAttributeData>;
|
||||
isCollectible?: boolean;
|
||||
metadataToken?: number;
|
||||
}
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const MemberTypes = {
|
||||
NUMBER_1: 1,
|
||||
NUMBER_2: 2,
|
||||
NUMBER_4: 4,
|
||||
NUMBER_8: 8,
|
||||
NUMBER_16: 16,
|
||||
NUMBER_32: 32,
|
||||
NUMBER_64: 64,
|
||||
NUMBER_128: 128,
|
||||
NUMBER_191: 191
|
||||
} as const;
|
||||
export type MemberTypes = typeof MemberTypes[keyof typeof MemberTypes];
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeData } from './custom-attribute-data';
|
||||
import { CallingConventions } from './calling-conventions';
|
||||
import { MethodImplAttributes } from './method-impl-attributes';
|
||||
import { Module } from './module';
|
||||
|
||||
|
||||
export interface MethodBase {
|
||||
module?: Module;
|
||||
customAttributes?: Array<CustomAttributeData>;
|
||||
isCollectible?: boolean;
|
||||
metadataToken?: number;
|
||||
methodImplementationFlags?: MethodImplAttributes;
|
||||
callingConvention?: CallingConventions;
|
||||
isAbstract?: boolean;
|
||||
isConstructor?: boolean;
|
||||
isFinal?: boolean;
|
||||
isHideBySig?: boolean;
|
||||
isSpecialName?: boolean;
|
||||
isStatic?: boolean;
|
||||
isVirtual?: boolean;
|
||||
isAssembly?: boolean;
|
||||
isFamily?: boolean;
|
||||
isFamilyAndAssembly?: boolean;
|
||||
isFamilyOrAssembly?: boolean;
|
||||
isPrivate?: boolean;
|
||||
isPublic?: boolean;
|
||||
isConstructedGenericMethod?: boolean;
|
||||
isGenericMethod?: boolean;
|
||||
isGenericMethodDefinition?: boolean;
|
||||
containsGenericParameters?: boolean;
|
||||
isSecurityCritical?: boolean;
|
||||
isSecuritySafeCritical?: boolean;
|
||||
isSecurityTransparent?: boolean;
|
||||
}
|
||||
export namespace MethodBase {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const MethodImplAttributes = {
|
||||
NUMBER_0: 0,
|
||||
NUMBER_02: 0,
|
||||
NUMBER_1: 1,
|
||||
NUMBER_2: 2,
|
||||
NUMBER_3: 3,
|
||||
NUMBER_32: 3,
|
||||
NUMBER_4: 4,
|
||||
NUMBER_42: 4,
|
||||
NUMBER_8: 8,
|
||||
NUMBER_16: 16,
|
||||
NUMBER_64: 64,
|
||||
NUMBER_128: 128,
|
||||
NUMBER_256: 256,
|
||||
NUMBER_512: 512,
|
||||
NUMBER_4096: 4096,
|
||||
NUMBER_65535: 65535
|
||||
} as const;
|
||||
export type MethodImplAttributes = typeof MethodImplAttributes[keyof typeof MethodImplAttributes];
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeData } from './custom-attribute-data';
|
||||
import { CallingConventions } from './calling-conventions';
|
||||
import { MethodImplAttributes } from './method-impl-attributes';
|
||||
import { ParameterInfo } from './parameter-info';
|
||||
import { Module } from './module';
|
||||
import { MemberTypes } from './member-types';
|
||||
|
||||
|
||||
export interface MethodInfo {
|
||||
module?: Module;
|
||||
customAttributes?: Array<CustomAttributeData>;
|
||||
isCollectible?: boolean;
|
||||
metadataToken?: number;
|
||||
methodImplementationFlags?: MethodImplAttributes;
|
||||
callingConvention?: CallingConventions;
|
||||
isAbstract?: boolean;
|
||||
isConstructor?: boolean;
|
||||
isFinal?: boolean;
|
||||
isHideBySig?: boolean;
|
||||
isSpecialName?: boolean;
|
||||
isStatic?: boolean;
|
||||
isVirtual?: boolean;
|
||||
isAssembly?: boolean;
|
||||
isFamily?: boolean;
|
||||
isFamilyAndAssembly?: boolean;
|
||||
isFamilyOrAssembly?: boolean;
|
||||
isPrivate?: boolean;
|
||||
isPublic?: boolean;
|
||||
isConstructedGenericMethod?: boolean;
|
||||
isGenericMethod?: boolean;
|
||||
isGenericMethodDefinition?: boolean;
|
||||
containsGenericParameters?: boolean;
|
||||
isSecurityCritical?: boolean;
|
||||
isSecuritySafeCritical?: boolean;
|
||||
isSecurityTransparent?: boolean;
|
||||
memberType?: MemberTypes;
|
||||
returnParameter?: ParameterInfo;
|
||||
returnType?: string;
|
||||
}
|
||||
export namespace MethodInfo {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
export * from './action-of-authorization-policy-builder';
|
||||
export * from './assembly';
|
||||
export * from './base-endpoint';
|
||||
export * from './calling-conventions';
|
||||
export * from './claim';
|
||||
export * from './claims-identity';
|
||||
export * from './claims-principal';
|
||||
export * from './constructor-info';
|
||||
export * from './create-availability-dto';
|
||||
export * from './create-communication-dto';
|
||||
export * from './create-contact-dto';
|
||||
@@ -16,17 +8,6 @@ export * from './create-history-of-approval-dto';
|
||||
export * from './create-provider-dto';
|
||||
export * from './create-provider-type-dto';
|
||||
export * from './create-staff-dto';
|
||||
export * from './custom-attribute-data';
|
||||
export * from './custom-attribute-named-argument';
|
||||
export * from './custom-attribute-typed-argument';
|
||||
export * from './delegate';
|
||||
export * from './endpoint-definition';
|
||||
export * from './endpoint-of-empty-request-and-list-of-get-communication-dto';
|
||||
export * from './endpoint-summary';
|
||||
export * from './endpoint-without-request-of-list-of-get-communication-dto';
|
||||
export * from './ep-version';
|
||||
export * from './func-of-object';
|
||||
export * from './get-all-communications-endpoint';
|
||||
export * from './get-availability-dto';
|
||||
export * from './get-communication-dto';
|
||||
export * from './get-contact-dto';
|
||||
@@ -37,24 +18,6 @@ export * from './get-history-of-approval-dto';
|
||||
export * from './get-provider-dto';
|
||||
export * from './get-provider-type-dto';
|
||||
export * from './get-staff-dto';
|
||||
export * from './http';
|
||||
export * from './i-identity';
|
||||
export * from './i-web-host-environment';
|
||||
export * from './idempotency-options';
|
||||
export * from './member-info';
|
||||
export * from './member-types';
|
||||
export * from './method-base';
|
||||
export * from './method-impl-attributes';
|
||||
export * from './method-info';
|
||||
export * from './module';
|
||||
export * from './module-handle';
|
||||
export * from './multicast-delegate';
|
||||
export * from './parameter-attributes';
|
||||
export * from './parameter-info';
|
||||
export * from './request-example';
|
||||
export * from './response-header';
|
||||
export * from './security-rule-set';
|
||||
export * from './severity';
|
||||
export * from './update-availability-dto';
|
||||
export * from './update-communication-dto';
|
||||
export * from './update-contact-dto';
|
||||
@@ -65,4 +28,3 @@ export * from './update-history-of-approval-dto';
|
||||
export * from './update-provider-dto';
|
||||
export * from './update-provider-type-dto';
|
||||
export * from './update-staff-dto';
|
||||
export * from './validation-failure';
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
export interface ModuleHandle {
|
||||
mdStreamVersion?: number;
|
||||
}
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeData } from './custom-attribute-data';
|
||||
import { Assembly } from './assembly';
|
||||
import { ModuleHandle } from './module-handle';
|
||||
|
||||
|
||||
export interface Module {
|
||||
assembly?: Assembly;
|
||||
fullyQualifiedName?: string;
|
||||
name?: string;
|
||||
mdStreamVersion?: number;
|
||||
moduleVersionId?: string;
|
||||
scopeName?: string;
|
||||
moduleHandle?: ModuleHandle;
|
||||
customAttributes?: Array<CustomAttributeData>;
|
||||
metadataToken?: number;
|
||||
}
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { MethodInfo } from './method-info';
|
||||
|
||||
|
||||
export interface MulticastDelegate {
|
||||
target?: any | null;
|
||||
method?: MethodInfo;
|
||||
}
|
||||
|
||||
@@ -1,29 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const ParameterAttributes = {
|
||||
NUMBER_0: 0,
|
||||
NUMBER_1: 1,
|
||||
NUMBER_2: 2,
|
||||
NUMBER_4: 4,
|
||||
NUMBER_8: 8,
|
||||
NUMBER_16: 16,
|
||||
NUMBER_4096: 4096,
|
||||
NUMBER_8192: 8192,
|
||||
NUMBER_16384: 16384,
|
||||
NUMBER_32768: 32768,
|
||||
NUMBER_61440: 61440
|
||||
} as const;
|
||||
export type ParameterAttributes = typeof ParameterAttributes[keyof typeof ParameterAttributes];
|
||||
|
||||
@@ -1,35 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { CustomAttributeData } from './custom-attribute-data';
|
||||
import { MemberInfo } from './member-info';
|
||||
import { ParameterAttributes } from './parameter-attributes';
|
||||
|
||||
|
||||
export interface ParameterInfo {
|
||||
attributes?: ParameterAttributes;
|
||||
member?: MemberInfo;
|
||||
name?: string | null;
|
||||
parameterType?: string;
|
||||
position?: number;
|
||||
isIn?: boolean;
|
||||
isLcid?: boolean;
|
||||
isOptional?: boolean;
|
||||
isOut?: boolean;
|
||||
isRetval?: boolean;
|
||||
defaultValue?: any | null;
|
||||
rawDefaultValue?: any | null;
|
||||
hasDefaultValue?: boolean;
|
||||
customAttributes?: Array<CustomAttributeData>;
|
||||
metadataToken?: number;
|
||||
}
|
||||
export namespace ParameterInfo {
|
||||
}
|
||||
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* represents a swagger example request analogous to an OpenApiExample
|
||||
*/
|
||||
export interface RequestExample {
|
||||
/**
|
||||
* the summary text of this example request
|
||||
*/
|
||||
summary?: string | null;
|
||||
/**
|
||||
* the description of this example request
|
||||
*/
|
||||
description?: string | null;
|
||||
/**
|
||||
* the actual example request object
|
||||
*/
|
||||
value?: any | null;
|
||||
/**
|
||||
* the label/name for this example request
|
||||
*/
|
||||
label?: string;
|
||||
}
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* describes a swagger response header for a certain response dto
|
||||
*/
|
||||
export interface ResponseHeader {
|
||||
/**
|
||||
* description for the header
|
||||
*/
|
||||
description?: string | null;
|
||||
/**
|
||||
* an example header value
|
||||
*/
|
||||
example?: any | null;
|
||||
}
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const SecurityRuleSet = {
|
||||
NUMBER_0: 0,
|
||||
NUMBER_1: 1,
|
||||
NUMBER_2: 2
|
||||
} as const;
|
||||
export type SecurityRuleSet = typeof SecurityRuleSet[keyof typeof SecurityRuleSet];
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Specifies the severity of a rule.
|
||||
*/
|
||||
export const Severity = {
|
||||
NUMBER_0: 0,
|
||||
NUMBER_1: 1,
|
||||
NUMBER_2: 2
|
||||
} as const;
|
||||
export type Severity = typeof Severity[keyof typeof Severity];
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
/**
|
||||
* PyroFetes
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { Severity } from './severity';
|
||||
|
||||
|
||||
/**
|
||||
* Defines a validation failure
|
||||
*/
|
||||
export interface ValidationFailure {
|
||||
/**
|
||||
* The name of the property.
|
||||
*/
|
||||
propertyName?: string | null;
|
||||
/**
|
||||
* The error message
|
||||
*/
|
||||
errorMessage?: string | null;
|
||||
/**
|
||||
* The property value that caused the failure.
|
||||
*/
|
||||
attemptedValue?: any | null;
|
||||
/**
|
||||
* Custom state associated with the failure.
|
||||
*/
|
||||
customState?: any | null;
|
||||
severity?: Severity;
|
||||
/**
|
||||
* Gets or sets the error code.
|
||||
*/
|
||||
errorCode?: string | null;
|
||||
/**
|
||||
* Gets or sets the formatted message placeholder values.
|
||||
*/
|
||||
formattedMessagePlaceholderValues?: { [key: string]: any; } | null;
|
||||
}
|
||||
export namespace ValidationFailure {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user