mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Add new model definitions for various APIs in generated Swagger files
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"$schema": "../../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
|
||||
"swagger": "eis.swagger.json",
|
||||
"swagger": "https://filialinformationsystem-test.paragon-systems.de/eiswebapi/v1/swagger.json",
|
||||
"output": "apps/isa-app/src/swagger/eis",
|
||||
"prefix": "Eis",
|
||||
"minParamsForContainer": 2,
|
||||
|
||||
@@ -4,16 +4,21 @@
|
||||
"sourceRoot": "generated/swagger/eis-api/src",
|
||||
"prefix": "lib",
|
||||
"projectType": "library",
|
||||
"tags": [],
|
||||
"tags": ["generated","swagger","eis", "api"],
|
||||
"targets": {
|
||||
"download": {
|
||||
"command": "curl -o {projectRoot}/swagger.json https://filialinformationsystem-test.paragon-systems.de/eiswebapi/v1/swagger.json"
|
||||
},
|
||||
"generate": {
|
||||
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
||||
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src --swagger {projectRoot}/swagger.json",
|
||||
"inputs": [
|
||||
"^production",
|
||||
"{projectRoot}/swagger.json",
|
||||
"{projectRoot}/ng-swagger-gen.json",
|
||||
"!{projectRoot}/src/**/*.ts"
|
||||
],
|
||||
"outputs": ["{projectRoot}/src"],
|
||||
"dependsOn": ["download"],
|
||||
"cache": false
|
||||
}
|
||||
}
|
||||
|
||||
62
generated/swagger/eis-api/src/base-service.ts
Normal file
62
generated/swagger/eis-api/src/base-service.ts
Normal file
@@ -0,0 +1,62 @@
|
||||
/* tslint:disable */
|
||||
import { HttpClient, HttpParameterCodec, HttpParams } from '@angular/common/http';
|
||||
import { EisConfiguration } from './eis-configuration';
|
||||
|
||||
/**
|
||||
* Custom parameter codec to correctly handle the plus sign in parameter
|
||||
* values. See https://github.com/angular/angular/issues/18261
|
||||
*/
|
||||
class ParameterCodec implements HttpParameterCodec {
|
||||
encodeKey(key: string): string {
|
||||
return encodeURIComponent(key);
|
||||
}
|
||||
|
||||
encodeValue(value: string): string {
|
||||
return encodeURIComponent(value);
|
||||
}
|
||||
|
||||
decodeKey(key: string): string {
|
||||
return decodeURIComponent(key);
|
||||
}
|
||||
|
||||
decodeValue(value: string): string {
|
||||
return decodeURIComponent(value);
|
||||
}
|
||||
}
|
||||
const PARAMETER_CODEC = new ParameterCodec();
|
||||
|
||||
/**
|
||||
* Base class for API services
|
||||
*/
|
||||
export class BaseService {
|
||||
constructor(
|
||||
protected config: EisConfiguration,
|
||||
protected http: HttpClient,
|
||||
) {}
|
||||
|
||||
private _rootUrl: string = '';
|
||||
|
||||
/**
|
||||
* Returns the root url for API operations. If not set directly in this
|
||||
* service, will fallback to ApiConfiguration.rootUrl.
|
||||
*/
|
||||
get rootUrl(): string {
|
||||
return this._rootUrl || this.config.rootUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the root URL for API operations in this service.
|
||||
*/
|
||||
set rootUrl(rootUrl: string) {
|
||||
this._rootUrl = rootUrl;
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new `HttpParams` with the correct codec
|
||||
*/
|
||||
protected newParams(): HttpParams {
|
||||
return new HttpParams({
|
||||
encoder: PARAMETER_CODEC,
|
||||
});
|
||||
}
|
||||
}
|
||||
16
generated/swagger/eis-api/src/eis-configuration.ts
Normal file
16
generated/swagger/eis-api/src/eis-configuration.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Global configuration for Eis services
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class EisConfiguration {
|
||||
rootUrl: string = 'https://eis-test.kubernetes.paragon-systems.de';
|
||||
}
|
||||
|
||||
export interface EisConfigurationInterface {
|
||||
rootUrl?: string;
|
||||
}
|
||||
63
generated/swagger/eis-api/src/models.ts
Normal file
63
generated/swagger/eis-api/src/models.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
export { ResponseArgsOfInfoDTO } from './models/response-args-of-info-dto';
|
||||
export { InfoDTO } from './models/info-dto';
|
||||
export { EntityDTOContainerOfInfoDTO } from './models/entity-dtocontainer-of-info-dto';
|
||||
export { EntityDTOReferenceContainer } from './models/entity-dtoreference-container';
|
||||
export { ExternalReferenceDTO } from './models/external-reference-dto';
|
||||
export { EntityStatus } from './models/entity-status';
|
||||
export { TouchedBase } from './models/touched-base';
|
||||
export { EntityDTOContainerOfDisplayInfoDTO } from './models/entity-dtocontainer-of-display-info-dto';
|
||||
export { DisplayInfoDTO } from './models/display-info-dto';
|
||||
export { ProcessingStatus } from './models/processing-status';
|
||||
export { EntityDTOContainerOfFileDTO } from './models/entity-dtocontainer-of-file-dto';
|
||||
export { FileDTO } from './models/file-dto';
|
||||
export { EntityDTOBase } from './models/entity-dtobase';
|
||||
export { EntityDTO } from './models/entity-dto';
|
||||
export { CRUDA } from './models/cruda';
|
||||
export { EntityDTOContainerOfArticleDTO } from './models/entity-dtocontainer-of-article-dto';
|
||||
export { ArticleDTO } from './models/article-dto';
|
||||
export { InfoStatus } from './models/info-status';
|
||||
export { EntityDTOContainerOfBranchDTO } from './models/entity-dtocontainer-of-branch-dto';
|
||||
export { BranchDTO } from './models/branch-dto';
|
||||
export { BranchType } from './models/branch-type';
|
||||
export { InfoType } from './models/info-type';
|
||||
export { TaskType } from './models/task-type';
|
||||
export { EntityDTOContainerOfConfirmationDTO } from './models/entity-dtocontainer-of-confirmation-dto';
|
||||
export { ConfirmationDTO } from './models/confirmation-dto';
|
||||
export { ResponseArgs } from './models/response-args';
|
||||
export { DialogOfString } from './models/dialog-of-string';
|
||||
export { DialogSettings } from './models/dialog-settings';
|
||||
export { DialogContentType } from './models/dialog-content-type';
|
||||
export { KeyValueDTOOfStringAndString } from './models/key-value-dtoof-string-and-string';
|
||||
export { IPublicUserInfo } from './models/ipublic-user-info';
|
||||
export { ProblemDetails } from './models/problem-details';
|
||||
export { ResponseArgsOfBoolean } from './models/response-args-of-boolean';
|
||||
export { ListResponseArgsOfInfoDTO } from './models/list-response-args-of-info-dto';
|
||||
export { ResponseArgsOfIEnumerableOfInfoDTO } from './models/response-args-of-ienumerable-of-info-dto';
|
||||
export { ListResponseArgsOfBranchDTO } from './models/list-response-args-of-branch-dto';
|
||||
export { ResponseArgsOfIEnumerableOfBranchDTO } from './models/response-args-of-ienumerable-of-branch-dto';
|
||||
export { ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString } from './models/response-args-of-ienumerable-of-entity-key-value-dtoof-string-and-string';
|
||||
export { EntityKeyValueDTOOfStringAndString } from './models/entity-key-value-dtoof-string-and-string';
|
||||
export { ListResponseArgsOfDisplayInfoDTO } from './models/list-response-args-of-display-info-dto';
|
||||
export { ResponseArgsOfIEnumerableOfDisplayInfoDTO } from './models/response-args-of-ienumerable-of-display-info-dto';
|
||||
export { DisplayInfoRequest } from './models/display-info-request';
|
||||
export { ResponseArgsOfQuerySettingsDTO } from './models/response-args-of-query-settings-dto';
|
||||
export { QuerySettingsDTO } from './models/query-settings-dto';
|
||||
export { InputGroupDTO } from './models/input-group-dto';
|
||||
export { InputDTO } from './models/input-dto';
|
||||
export { InputType } from './models/input-type';
|
||||
export { InputOptionsDTO } from './models/input-options-dto';
|
||||
export { OptionDTO } from './models/option-dto';
|
||||
export { OrderByDTO } from './models/order-by-dto';
|
||||
export { QueryTokenDTO } from './models/query-token-dto';
|
||||
export { DashboardInfoRequest } from './models/dashboard-info-request';
|
||||
export { ResponseArgsOfEntityDTOContainerOfBranchDTO } from './models/response-args-of-entity-dtocontainer-of-branch-dto';
|
||||
export { ResponseArgsOfDisplayInfoDTO } from './models/response-args-of-display-info-dto';
|
||||
export { ResponseArgsOfConfirmationDTO } from './models/response-args-of-confirmation-dto';
|
||||
export { ResponseArgsOfIEnumerableOfFileDTO } from './models/response-args-of-ienumerable-of-file-dto';
|
||||
export { ResponseArgsOfIEnumerableOfArticleDTO } from './models/response-args-of-ienumerable-of-article-dto';
|
||||
export { ResponseArgsOfIEnumerableOfCommentDTO } from './models/response-args-of-ienumerable-of-comment-dto';
|
||||
export { CommentDTO } from './models/comment-dto';
|
||||
export { ResponseArgsOfCommentDTO } from './models/response-args-of-comment-dto';
|
||||
export { ResponseArgsOfString } from './models/response-args-of-string';
|
||||
export { DocumentPayloadOfIEnumerableOfString } from './models/document-payload-of-ienumerable-of-string';
|
||||
export { DocumentPayloadOfIEnumerableOfDisplayInfoDTO } from './models/document-payload-of-ienumerable-of-display-info-dto';
|
||||
13
generated/swagger/eis-api/src/models/article-dto.ts
Normal file
13
generated/swagger/eis-api/src/models/article-dto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface ArticleDTO extends EntityDTOBase {
|
||||
/**
|
||||
* EAN
|
||||
*/
|
||||
ean?: string;
|
||||
|
||||
/**
|
||||
* Text
|
||||
*/
|
||||
text?: string;
|
||||
}
|
||||
60
generated/swagger/eis-api/src/models/branch-dto.ts
Normal file
60
generated/swagger/eis-api/src/models/branch-dto.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
import { BranchType } from './branch-type';
|
||||
export interface BranchDTO extends EntityDTOBase {
|
||||
/**
|
||||
* Filial-/Abteilungsnnummer
|
||||
*/
|
||||
branchNumber?: string;
|
||||
|
||||
/**
|
||||
* Art der Filiale/Abteilung
|
||||
*
|
||||
* NotSet = 0,
|
||||
* Store = 1,
|
||||
* WebStore = 2,
|
||||
* CallCenter = 4,
|
||||
* Headquarter = 8
|
||||
*/
|
||||
branchType: BranchType;
|
||||
|
||||
/**
|
||||
* Standard
|
||||
*/
|
||||
isDefault?: string;
|
||||
|
||||
/**
|
||||
* Ist die Filiale aktiv
|
||||
*/
|
||||
isOnline?: boolean;
|
||||
|
||||
/**
|
||||
* Eindeutiger Schlüssel/Kürzel (bezogen auf das Label)
|
||||
*/
|
||||
key?: string;
|
||||
|
||||
/**
|
||||
* Label, welche die Fialiale/Abteilung angehört
|
||||
*/
|
||||
label?: string;
|
||||
|
||||
/**
|
||||
* Name der Filiale/Abteilung
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* Übergeordnete Filiale/Abteilung
|
||||
*/
|
||||
parent?: number;
|
||||
|
||||
/**
|
||||
* Addressdaten
|
||||
*/
|
||||
region?: string;
|
||||
|
||||
/**
|
||||
* Kurzname
|
||||
*/
|
||||
shortName?: string;
|
||||
}
|
||||
2
generated/swagger/eis-api/src/models/branch-type.ts
Normal file
2
generated/swagger/eis-api/src/models/branch-type.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type BranchType = 0 | 1 | 2 | 4 | 8 | 16;
|
||||
19
generated/swagger/eis-api/src/models/comment-dto.ts
Normal file
19
generated/swagger/eis-api/src/models/comment-dto.ts
Normal file
@@ -0,0 +1,19 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
export interface CommentDTO extends EntityDTOBase {
|
||||
/**
|
||||
* Filiale / Abteilung
|
||||
*/
|
||||
branch?: EntityDTOContainerOfBranchDTO;
|
||||
|
||||
/**
|
||||
* Überschrift
|
||||
*/
|
||||
headline?: string;
|
||||
|
||||
/**
|
||||
* Text
|
||||
*/
|
||||
text?: string;
|
||||
}
|
||||
35
generated/swagger/eis-api/src/models/confirmation-dto.ts
Normal file
35
generated/swagger/eis-api/src/models/confirmation-dto.ts
Normal file
@@ -0,0 +1,35 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
import { EntityDTOContainerOfFileDTO } from './entity-dtocontainer-of-file-dto';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
export interface ConfirmationDTO extends EntityDTOBase {
|
||||
/**
|
||||
* Dateien
|
||||
*/
|
||||
attachments?: Array<EntityDTOContainerOfFileDTO>;
|
||||
|
||||
/**
|
||||
* Filiale / Abteilung
|
||||
*/
|
||||
branch?: EntityDTOContainerOfBranchDTO;
|
||||
|
||||
/**
|
||||
* Erledigt durch
|
||||
*/
|
||||
completedBy?: string;
|
||||
|
||||
/**
|
||||
* Erledigt Zeitstempel
|
||||
*/
|
||||
completedDate?: string;
|
||||
|
||||
/**
|
||||
* In Bearbeitung durch
|
||||
*/
|
||||
processingBy?: string;
|
||||
|
||||
/**
|
||||
* In Bearbeitung seit
|
||||
*/
|
||||
processingDate?: string;
|
||||
}
|
||||
2
generated/swagger/eis-api/src/models/cruda.ts
Normal file
2
generated/swagger/eis-api/src/models/cruda.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type CRUDA = 0 | 1 | 2 | 4 | 8 | 16;
|
||||
@@ -0,0 +1,26 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Abfragewerte zur Anzeige von Infos
|
||||
*/
|
||||
export interface DashboardInfoRequest {
|
||||
/**
|
||||
* Filiale PK
|
||||
*/
|
||||
branchId: number;
|
||||
|
||||
/**
|
||||
* Skip
|
||||
*/
|
||||
skip?: number;
|
||||
|
||||
/**
|
||||
* Take
|
||||
*/
|
||||
take?: number;
|
||||
|
||||
/**
|
||||
* Intervall-Beginn
|
||||
*/
|
||||
timestamp: string;
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type DialogContentType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;
|
||||
16
generated/swagger/eis-api/src/models/dialog-of-string.ts
Normal file
16
generated/swagger/eis-api/src/models/dialog-of-string.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/* tslint:disable */
|
||||
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
|
||||
import { DialogContentType } from './dialog-content-type';
|
||||
import { DialogSettings } from './dialog-settings';
|
||||
export interface DialogOfString {
|
||||
actions?: Array<KeyValueDTOOfStringAndString>;
|
||||
actionsRequired?: number;
|
||||
area?: string;
|
||||
content?: string;
|
||||
contentType: DialogContentType;
|
||||
description?: string;
|
||||
displayTimeout?: number;
|
||||
settings: DialogSettings;
|
||||
subtitle?: string;
|
||||
title?: string;
|
||||
}
|
||||
2
generated/swagger/eis-api/src/models/dialog-settings.ts
Normal file
2
generated/swagger/eis-api/src/models/dialog-settings.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type DialogSettings = 0 | 1 | 2 | 4;
|
||||
142
generated/swagger/eis-api/src/models/display-info-dto.ts
Normal file
142
generated/swagger/eis-api/src/models/display-info-dto.ts
Normal file
@@ -0,0 +1,142 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
import { EntityDTOContainerOfArticleDTO } from './entity-dtocontainer-of-article-dto';
|
||||
import { EntityDTOContainerOfFileDTO } from './entity-dtocontainer-of-file-dto';
|
||||
import { EntityDTOContainerOfDisplayInfoDTO } from './entity-dtocontainer-of-display-info-dto';
|
||||
import { ProcessingStatus } from './processing-status';
|
||||
export interface DisplayInfoDTO extends EntityDTOBase {
|
||||
/**
|
||||
* (Vor-) Ankündigung
|
||||
*/
|
||||
announcementDate?: string;
|
||||
|
||||
/**
|
||||
* Artikelliste
|
||||
*/
|
||||
articles?: Array<EntityDTOContainerOfArticleDTO>;
|
||||
|
||||
/**
|
||||
* Anzahl der Attachements
|
||||
*/
|
||||
attachments?: number;
|
||||
|
||||
/**
|
||||
* Kategorie / Bereich
|
||||
*/
|
||||
category?: string;
|
||||
|
||||
/**
|
||||
* Anmerkungen / Notizen
|
||||
*/
|
||||
comments?: number;
|
||||
|
||||
/**
|
||||
* Dashboard-Kanal
|
||||
*/
|
||||
displayChannel?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Beginn
|
||||
*/
|
||||
displayListStart?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Ende
|
||||
*/
|
||||
displayListStop?: string;
|
||||
|
||||
/**
|
||||
* Aufwand
|
||||
*/
|
||||
effort?: number;
|
||||
|
||||
/**
|
||||
* Enthält Aufgabe
|
||||
*/
|
||||
hasTask?: boolean;
|
||||
|
||||
/**
|
||||
* Teaser-Image
|
||||
*/
|
||||
images?: Array<EntityDTOContainerOfFileDTO>;
|
||||
|
||||
/**
|
||||
* Sonderinfo
|
||||
*/
|
||||
isSpecial?: boolean;
|
||||
|
||||
/**
|
||||
* Link
|
||||
*/
|
||||
link?: string;
|
||||
|
||||
/**
|
||||
* Vorgänger
|
||||
*/
|
||||
predecessor?: EntityDTOContainerOfDisplayInfoDTO;
|
||||
|
||||
/**
|
||||
* Priorität
|
||||
*/
|
||||
priority?: number;
|
||||
|
||||
/**
|
||||
* Bearbeitungsstatus
|
||||
*/
|
||||
processingStatus?: ProcessingStatus;
|
||||
|
||||
/**
|
||||
* Veröffentlichungsdatum
|
||||
*/
|
||||
publicationDate?: string;
|
||||
|
||||
/**
|
||||
* Gelöscht am
|
||||
*/
|
||||
removalDate?: string;
|
||||
|
||||
/**
|
||||
* Bestätigung mit Bild
|
||||
*/
|
||||
requiresImageOnConfirmation?: boolean;
|
||||
|
||||
/**
|
||||
* Nachfolger (read only)
|
||||
*/
|
||||
successor?: EntityDTOContainerOfDisplayInfoDTO;
|
||||
|
||||
/**
|
||||
* Aufgabenbeginn
|
||||
*/
|
||||
taskDate?: string;
|
||||
|
||||
/**
|
||||
* Aufgabe überfallig ab
|
||||
*/
|
||||
taskOverdueDate?: string;
|
||||
|
||||
/**
|
||||
* Text
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/**
|
||||
* Zeitraum ab
|
||||
*/
|
||||
timeFrom?: string;
|
||||
|
||||
/**
|
||||
* Zeitraum bis
|
||||
*/
|
||||
timeTo?: string;
|
||||
|
||||
/**
|
||||
* Titel / Bezeichner
|
||||
*/
|
||||
title?: string;
|
||||
|
||||
/**
|
||||
* Aktualisierungsnotiz
|
||||
*/
|
||||
updateComment?: string;
|
||||
}
|
||||
51
generated/swagger/eis-api/src/models/display-info-request.ts
Normal file
51
generated/swagger/eis-api/src/models/display-info-request.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Abfragewerte zur Anzeige von Infos
|
||||
*/
|
||||
export interface DisplayInfoRequest {
|
||||
/**
|
||||
* Filiale PK
|
||||
*/
|
||||
branchId: number;
|
||||
|
||||
/**
|
||||
* Kategorien
|
||||
*/
|
||||
categories?: Array<string>;
|
||||
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
filter?: { [key: string]: string };
|
||||
|
||||
/**
|
||||
* Anzeigezeitraum berücksichtigen
|
||||
*/
|
||||
includeDisplayTimespan: boolean;
|
||||
|
||||
/**
|
||||
* Nur Infos
|
||||
*/
|
||||
infoOnly: boolean;
|
||||
|
||||
/**
|
||||
* Skip
|
||||
*/
|
||||
skip?: number;
|
||||
|
||||
/**
|
||||
* Intervall-Beginn
|
||||
*/
|
||||
start: string;
|
||||
|
||||
/**
|
||||
* Intervall-Beginn
|
||||
*/
|
||||
stop: string;
|
||||
|
||||
/**
|
||||
* Take
|
||||
*/
|
||||
take?: number;
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
/* tslint:disable */
|
||||
import { DisplayInfoDTO } from './display-info-dto';
|
||||
|
||||
/**
|
||||
* Payload
|
||||
*/
|
||||
export interface DocumentPayloadOfIEnumerableOfDisplayInfoDTO {
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: Array<DisplayInfoDTO>;
|
||||
|
||||
/**
|
||||
* Seitentitel
|
||||
*/
|
||||
title?: string;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Payload
|
||||
*/
|
||||
export interface DocumentPayloadOfIEnumerableOfString {
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: Array<string>;
|
||||
|
||||
/**
|
||||
* Seitentitel
|
||||
*/
|
||||
title?: string;
|
||||
}
|
||||
14
generated/swagger/eis-api/src/models/entity-dto.ts
Normal file
14
generated/swagger/eis-api/src/models/entity-dto.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { CRUDA } from './cruda';
|
||||
import { EntityStatus } from './entity-status';
|
||||
export interface EntityDTO extends TouchedBase {
|
||||
changed?: string;
|
||||
created?: string;
|
||||
cruda?: CRUDA;
|
||||
id?: number;
|
||||
pId?: string;
|
||||
status?: EntityStatus;
|
||||
uId?: string;
|
||||
version?: number;
|
||||
}
|
||||
3
generated/swagger/eis-api/src/models/entity-dtobase.ts
Normal file
3
generated/swagger/eis-api/src/models/entity-dtobase.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
export interface EntityDTOBase extends EntityDTO {}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
|
||||
import { ArticleDTO } from './article-dto';
|
||||
export interface EntityDTOContainerOfArticleDTO extends EntityDTOReferenceContainer {
|
||||
data?: ArticleDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
|
||||
import { BranchDTO } from './branch-dto';
|
||||
export interface EntityDTOContainerOfBranchDTO extends EntityDTOReferenceContainer {
|
||||
data?: BranchDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
|
||||
import { ConfirmationDTO } from './confirmation-dto';
|
||||
export interface EntityDTOContainerOfConfirmationDTO extends EntityDTOReferenceContainer {
|
||||
data?: ConfirmationDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
|
||||
import { DisplayInfoDTO } from './display-info-dto';
|
||||
export interface EntityDTOContainerOfDisplayInfoDTO extends EntityDTOReferenceContainer {
|
||||
data?: DisplayInfoDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
|
||||
import { FileDTO } from './file-dto';
|
||||
export interface EntityDTOContainerOfFileDTO extends EntityDTOReferenceContainer {
|
||||
data?: FileDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
|
||||
import { InfoDTO } from './info-dto';
|
||||
export interface EntityDTOContainerOfInfoDTO extends EntityDTOReferenceContainer {
|
||||
data?: InfoDTO;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { ExternalReferenceDTO } from './external-reference-dto';
|
||||
export interface EntityDTOReferenceContainer extends TouchedBase {
|
||||
displayLabel?: string;
|
||||
enabled?: boolean;
|
||||
externalReference?: ExternalReferenceDTO;
|
||||
id?: number;
|
||||
pId?: string;
|
||||
selected?: boolean;
|
||||
uId?: string;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityKeyValueDTOOfStringAndString extends EntityDTOBase {
|
||||
enabled?: boolean;
|
||||
key?: string;
|
||||
selected?: boolean;
|
||||
value?: string;
|
||||
}
|
||||
2
generated/swagger/eis-api/src/models/entity-status.ts
Normal file
2
generated/swagger/eis-api/src/models/entity-status.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type EntityStatus = 0 | 1 | 2 | 4 | 8;
|
||||
@@ -0,0 +1,13 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityStatus } from './entity-status';
|
||||
export interface ExternalReferenceDTO extends TouchedBase {
|
||||
externalChanged?: string;
|
||||
externalCreated?: string;
|
||||
externalNumber?: string;
|
||||
externalPK?: string;
|
||||
externalRepository?: string;
|
||||
externalStatus: EntityStatus;
|
||||
externalVersion?: number;
|
||||
publishToken?: string;
|
||||
}
|
||||
48
generated/swagger/eis-api/src/models/file-dto.ts
Normal file
48
generated/swagger/eis-api/src/models/file-dto.ts
Normal file
@@ -0,0 +1,48 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface FileDTO extends EntityDTOBase {
|
||||
/**
|
||||
* Datei-Inhalt
|
||||
*/
|
||||
content?: string;
|
||||
|
||||
/**
|
||||
* Copyright Angaben
|
||||
*/
|
||||
copyright?: string;
|
||||
|
||||
/**
|
||||
* Hash von Content
|
||||
*/
|
||||
hash?: string;
|
||||
|
||||
/**
|
||||
* MIME (z.B. image/png, application/pdf
|
||||
*/
|
||||
mime?: string;
|
||||
|
||||
/**
|
||||
* Bezeichner / Dateiname
|
||||
*/
|
||||
name?: string;
|
||||
|
||||
/**
|
||||
* Datei-Pfad
|
||||
*/
|
||||
path?: string;
|
||||
|
||||
/**
|
||||
* Größe der Date in Bytes
|
||||
*/
|
||||
size?: number;
|
||||
|
||||
/**
|
||||
* Untertitel
|
||||
*/
|
||||
subtitle?: string;
|
||||
|
||||
/**
|
||||
* Art der Datei (z.B. Cover)
|
||||
*/
|
||||
type?: string;
|
||||
}
|
||||
232
generated/swagger/eis-api/src/models/info-dto.ts
Normal file
232
generated/swagger/eis-api/src/models/info-dto.ts
Normal file
@@ -0,0 +1,232 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
import { EntityDTOContainerOfArticleDTO } from './entity-dtocontainer-of-article-dto';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
import { EntityDTOContainerOfConfirmationDTO } from './entity-dtocontainer-of-confirmation-dto';
|
||||
import { EntityDTOContainerOfFileDTO } from './entity-dtocontainer-of-file-dto';
|
||||
import { InfoStatus } from './info-status';
|
||||
import { InfoType } from './info-type';
|
||||
import { EntityDTOContainerOfInfoDTO } from './entity-dtocontainer-of-info-dto';
|
||||
import { EntityDTOContainerOfDisplayInfoDTO } from './entity-dtocontainer-of-display-info-dto';
|
||||
import { TaskType } from './task-type';
|
||||
export interface InfoDTO extends EntityDTOBase {
|
||||
/**
|
||||
* (Vor-) Ankündigung
|
||||
*/
|
||||
announcementDate?: string;
|
||||
|
||||
/**
|
||||
* Freigabezeitstempel
|
||||
*/
|
||||
approval?: string;
|
||||
|
||||
/**
|
||||
* Freigegeben durch
|
||||
*/
|
||||
approvalBy?: string;
|
||||
|
||||
/**
|
||||
* Archivierungsdatum
|
||||
*/
|
||||
archiveDate?: string;
|
||||
|
||||
/**
|
||||
* Artikelliste
|
||||
*/
|
||||
articles?: Array<EntityDTOContainerOfArticleDTO>;
|
||||
|
||||
/**
|
||||
* Nachricht / Text
|
||||
*/
|
||||
body?: string;
|
||||
|
||||
/**
|
||||
* Betreffenden Filialen
|
||||
*/
|
||||
branches?: Array<EntityDTOContainerOfBranchDTO>;
|
||||
|
||||
/**
|
||||
* Bereich / Kategorie
|
||||
*/
|
||||
category?: string;
|
||||
|
||||
/**
|
||||
* Bestätigung
|
||||
*/
|
||||
confirmation?: Array<EntityDTOContainerOfConfirmationDTO>;
|
||||
|
||||
/**
|
||||
* Dashboard-Kanal
|
||||
*/
|
||||
displayChannel?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Beginn
|
||||
*/
|
||||
displayListStart?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Beginn - Zeitraum ab (editor only)
|
||||
*/
|
||||
displayListStartHourFrom?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Beginn - Zeitraum bis (editor only)
|
||||
*/
|
||||
displayListStartHourTo?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Beginn - Ganztägig (editor only)
|
||||
*/
|
||||
displayListStartIsAllDay?: boolean;
|
||||
|
||||
/**
|
||||
* Dashboard Ende
|
||||
*/
|
||||
displayListStop?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Ende - Zeitraum ab (editor only)
|
||||
*/
|
||||
displayListStopHourFrom?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Ende - Zeitraum bis (editor only)
|
||||
*/
|
||||
displayListStopHourTo?: string;
|
||||
|
||||
/**
|
||||
* Dashboard Ende - Ganztägig (editor only)
|
||||
*/
|
||||
displayListStopIsAllDay?: boolean;
|
||||
|
||||
/**
|
||||
* Aufwand
|
||||
*/
|
||||
effort?: number;
|
||||
|
||||
/**
|
||||
* Dateien
|
||||
*/
|
||||
files?: Array<EntityDTOContainerOfFileDTO>;
|
||||
|
||||
/**
|
||||
* Bilder
|
||||
*/
|
||||
images?: Array<EntityDTOContainerOfFileDTO>;
|
||||
|
||||
/**
|
||||
* Freigabestatus
|
||||
*/
|
||||
infoStatus?: InfoStatus;
|
||||
|
||||
/**
|
||||
* Info Typ
|
||||
*/
|
||||
infoType?: InfoType;
|
||||
|
||||
/**
|
||||
* Öffentliche Info
|
||||
*/
|
||||
isPublic?: boolean;
|
||||
|
||||
/**
|
||||
* Sonderinfo-Flag
|
||||
*/
|
||||
isSonderinfo?: boolean;
|
||||
|
||||
/**
|
||||
* Schlüssel
|
||||
*/
|
||||
key?: string;
|
||||
|
||||
/**
|
||||
* Link
|
||||
*/
|
||||
link?: string;
|
||||
|
||||
/**
|
||||
* Bearbeiter
|
||||
*/
|
||||
owner?: string;
|
||||
|
||||
/**
|
||||
* Dateien
|
||||
*/
|
||||
predecessor?: EntityDTOContainerOfInfoDTO;
|
||||
|
||||
/**
|
||||
* Priorität
|
||||
*/
|
||||
priority?: number;
|
||||
|
||||
/**
|
||||
* Beginn
|
||||
*/
|
||||
publicationDate?: string;
|
||||
|
||||
/**
|
||||
* Zeitraum ab
|
||||
*/
|
||||
relevanceHourFrom?: string;
|
||||
|
||||
/**
|
||||
* Zeitraum bis
|
||||
*/
|
||||
relevanceHourTo?: string;
|
||||
|
||||
/**
|
||||
* Genztägig
|
||||
*/
|
||||
relevanceIsAllDay?: boolean;
|
||||
|
||||
/**
|
||||
* Gelöscht am
|
||||
*/
|
||||
removalDate?: string;
|
||||
|
||||
/**
|
||||
* Betstätigung mit Bild
|
||||
*/
|
||||
requiresImageOnConfirmation?: boolean;
|
||||
|
||||
/**
|
||||
* Nachfolger (read only)
|
||||
*/
|
||||
successor?: EntityDTOContainerOfDisplayInfoDTO;
|
||||
|
||||
/**
|
||||
* Aufgabenbeginn
|
||||
*/
|
||||
taskDate?: string;
|
||||
|
||||
/**
|
||||
* Aufgabe überfallig ab
|
||||
*/
|
||||
taskOverdueDate?: string;
|
||||
|
||||
/**
|
||||
* Aufgaben-Verantwortliche
|
||||
*/
|
||||
taskOwner?: string;
|
||||
|
||||
/**
|
||||
* Aufgaben-Typ
|
||||
*/
|
||||
taskType?: TaskType;
|
||||
|
||||
/**
|
||||
* Titel
|
||||
*/
|
||||
title?: string;
|
||||
|
||||
/**
|
||||
* Bestätigung
|
||||
*/
|
||||
updateComment?: string;
|
||||
|
||||
/**
|
||||
* Gültigkeitszeitraum
|
||||
*/
|
||||
validDurationInDays?: number;
|
||||
}
|
||||
6
generated/swagger/eis-api/src/models/info-status.ts
Normal file
6
generated/swagger/eis-api/src/models/info-status.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Freigabestatus
|
||||
*/
|
||||
export type InfoStatus = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11;
|
||||
2
generated/swagger/eis-api/src/models/info-type.ts
Normal file
2
generated/swagger/eis-api/src/models/info-type.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type InfoType = 0 | 1 | 2;
|
||||
16
generated/swagger/eis-api/src/models/input-dto.ts
Normal file
16
generated/swagger/eis-api/src/models/input-dto.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/* tslint:disable */
|
||||
import { InputOptionsDTO } from './input-options-dto';
|
||||
import { InputType } from './input-type';
|
||||
export interface InputDTO {
|
||||
constraint?: string;
|
||||
description?: string;
|
||||
key?: string;
|
||||
label?: string;
|
||||
maxValue?: string;
|
||||
minValue?: string;
|
||||
options?: InputOptionsDTO;
|
||||
placeholder?: string;
|
||||
target?: string;
|
||||
type: InputType;
|
||||
value?: string;
|
||||
}
|
||||
8
generated/swagger/eis-api/src/models/input-group-dto.ts
Normal file
8
generated/swagger/eis-api/src/models/input-group-dto.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { InputDTO } from './input-dto';
|
||||
export interface InputGroupDTO {
|
||||
description?: string;
|
||||
group?: string;
|
||||
input?: Array<InputDTO>;
|
||||
label?: string;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { OptionDTO } from './option-dto';
|
||||
export interface InputOptionsDTO {
|
||||
max?: number;
|
||||
values?: Array<OptionDTO>;
|
||||
}
|
||||
2
generated/swagger/eis-api/src/models/input-type.ts
Normal file
2
generated/swagger/eis-api/src/models/input-type.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type InputType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 3072 | 4096 | 8192 | 12288;
|
||||
@@ -0,0 +1,7 @@
|
||||
/* tslint:disable */
|
||||
export interface IPublicUserInfo {
|
||||
alias?: string;
|
||||
displayName?: string;
|
||||
isAuthenticated: boolean;
|
||||
username?: string;
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
/* tslint:disable */
|
||||
export interface KeyValueDTOOfStringAndString {
|
||||
command?: string;
|
||||
description?: string;
|
||||
enabled?: boolean;
|
||||
group?: string;
|
||||
key?: string;
|
||||
label?: string;
|
||||
selected?: boolean;
|
||||
sort?: number;
|
||||
value?: string;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfBranchDTO } from './response-args-of-ienumerable-of-branch-dto';
|
||||
export interface ListResponseArgsOfBranchDTO extends ResponseArgsOfIEnumerableOfBranchDTO {
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfDisplayInfoDTO } from './response-args-of-ienumerable-of-display-info-dto';
|
||||
export interface ListResponseArgsOfDisplayInfoDTO extends ResponseArgsOfIEnumerableOfDisplayInfoDTO {
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfInfoDTO } from './response-args-of-ienumerable-of-info-dto';
|
||||
export interface ListResponseArgsOfInfoDTO extends ResponseArgsOfIEnumerableOfInfoDTO {
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
13
generated/swagger/eis-api/src/models/option-dto.ts
Normal file
13
generated/swagger/eis-api/src/models/option-dto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* tslint:disable */
|
||||
export interface OptionDTO {
|
||||
description?: string;
|
||||
enabled?: boolean;
|
||||
key?: string;
|
||||
label?: string;
|
||||
maxValue?: string;
|
||||
minValue?: string;
|
||||
placeholder?: string;
|
||||
selected?: boolean;
|
||||
value?: string;
|
||||
values?: Array<OptionDTO>;
|
||||
}
|
||||
6
generated/swagger/eis-api/src/models/order-by-dto.ts
Normal file
6
generated/swagger/eis-api/src/models/order-by-dto.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
export interface OrderByDTO {
|
||||
by?: string;
|
||||
desc?: boolean;
|
||||
label?: string;
|
||||
}
|
||||
10
generated/swagger/eis-api/src/models/problem-details.ts
Normal file
10
generated/swagger/eis-api/src/models/problem-details.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* tslint:disable */
|
||||
export interface ProblemDetails {
|
||||
detail?: string;
|
||||
extensions: { [key: string]: any };
|
||||
instance?: string;
|
||||
status?: number;
|
||||
title?: string;
|
||||
type?: string;
|
||||
[prop: string]: any;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Bearbeitungsstatus
|
||||
*/
|
||||
export type ProcessingStatus = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64;
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { InputGroupDTO } from './input-group-dto';
|
||||
import { OrderByDTO } from './order-by-dto';
|
||||
export interface QuerySettingsDTO {
|
||||
filter?: Array<InputGroupDTO>;
|
||||
input?: Array<InputGroupDTO>;
|
||||
orderBy?: Array<OrderByDTO>;
|
||||
}
|
||||
13
generated/swagger/eis-api/src/models/query-token-dto.ts
Normal file
13
generated/swagger/eis-api/src/models/query-token-dto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* tslint:disable */
|
||||
import { OrderByDTO } from './order-by-dto';
|
||||
export interface QueryTokenDTO {
|
||||
filter?: { [key: string]: string };
|
||||
friendlyName?: string;
|
||||
fuzzy?: number;
|
||||
hitsOnly?: boolean;
|
||||
ids?: Array<number>;
|
||||
input?: { [key: string]: string };
|
||||
orderBy?: Array<OrderByDTO>;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
export interface ResponseArgsOfBoolean extends ResponseArgs {
|
||||
result: boolean;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { CommentDTO } from './comment-dto';
|
||||
export interface ResponseArgsOfCommentDTO extends ResponseArgs {
|
||||
result?: CommentDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { ConfirmationDTO } from './confirmation-dto';
|
||||
export interface ResponseArgsOfConfirmationDTO extends ResponseArgs {
|
||||
result?: ConfirmationDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { DisplayInfoDTO } from './display-info-dto';
|
||||
export interface ResponseArgsOfDisplayInfoDTO extends ResponseArgs {
|
||||
result?: DisplayInfoDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
export interface ResponseArgsOfEntityDTOContainerOfBranchDTO extends ResponseArgs {
|
||||
result?: EntityDTOContainerOfBranchDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { ArticleDTO } from './article-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfArticleDTO extends ResponseArgs {
|
||||
result?: Array<ArticleDTO>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { BranchDTO } from './branch-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfBranchDTO extends ResponseArgs {
|
||||
result?: Array<BranchDTO>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { CommentDTO } from './comment-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfCommentDTO extends ResponseArgs {
|
||||
result?: Array<CommentDTO>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { DisplayInfoDTO } from './display-info-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfDisplayInfoDTO extends ResponseArgs {
|
||||
result?: Array<DisplayInfoDTO>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { EntityKeyValueDTOOfStringAndString } from './entity-key-value-dtoof-string-and-string';
|
||||
export interface ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString extends ResponseArgs {
|
||||
result?: Array<EntityKeyValueDTOOfStringAndString>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { FileDTO } from './file-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfFileDTO extends ResponseArgs {
|
||||
result?: Array<FileDTO>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { InfoDTO } from './info-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfInfoDTO extends ResponseArgs {
|
||||
result?: Array<InfoDTO>;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { InfoDTO } from './info-dto';
|
||||
export interface ResponseArgsOfInfoDTO extends ResponseArgs {
|
||||
result?: InfoDTO;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { QuerySettingsDTO } from './query-settings-dto';
|
||||
export interface ResponseArgsOfQuerySettingsDTO extends ResponseArgs {
|
||||
result?: QuerySettingsDTO;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
export interface ResponseArgsOfString extends ResponseArgs {
|
||||
result?: string;
|
||||
}
|
||||
11
generated/swagger/eis-api/src/models/response-args.ts
Normal file
11
generated/swagger/eis-api/src/models/response-args.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* tslint:disable */
|
||||
import { DialogOfString } from './dialog-of-string';
|
||||
import { IPublicUserInfo } from './ipublic-user-info';
|
||||
export interface ResponseArgs {
|
||||
dialog?: DialogOfString;
|
||||
error: boolean;
|
||||
invalidProperties?: { [key: string]: string };
|
||||
message?: string;
|
||||
requestId?: number;
|
||||
userInfo?: IPublicUserInfo;
|
||||
}
|
||||
6
generated/swagger/eis-api/src/models/task-type.ts
Normal file
6
generated/swagger/eis-api/src/models/task-type.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Aufgaben Typ
|
||||
*/
|
||||
export type TaskType = 0 | 1 | 2;
|
||||
2
generated/swagger/eis-api/src/models/touched-base.ts
Normal file
2
generated/swagger/eis-api/src/models/touched-base.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export interface TouchedBase {}
|
||||
3
generated/swagger/eis-api/src/services.ts
Normal file
3
generated/swagger/eis-api/src/services.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export { EISBackendService } from './services/eisbackend.service';
|
||||
export { EISPublicService } from './services/eispublic.service';
|
||||
export { EISPublicDocumentService } from './services/eispublic-document.service';
|
||||
806
generated/swagger/eis-api/src/services/eisbackend.service.ts
Normal file
806
generated/swagger/eis-api/src/services/eisbackend.service.ts
Normal file
@@ -0,0 +1,806 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';
|
||||
import { BaseService as __BaseService } from '../base-service';
|
||||
import { EisConfiguration as __Configuration } from '../eis-configuration';
|
||||
import { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';
|
||||
import { Observable as __Observable } from 'rxjs';
|
||||
import { map as __map, filter as __filter } from 'rxjs/operators';
|
||||
|
||||
import { ResponseArgsOfInfoDTO } from '../models/response-args-of-info-dto';
|
||||
import { InfoDTO } from '../models/info-dto';
|
||||
import { ListResponseArgsOfInfoDTO } from '../models/list-response-args-of-info-dto';
|
||||
import { ResponseArgsOfBoolean } from '../models/response-args-of-boolean';
|
||||
import { ListResponseArgsOfBranchDTO } from '../models/list-response-args-of-branch-dto';
|
||||
import { ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString } from '../models/response-args-of-ienumerable-of-entity-key-value-dtoof-string-and-string';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
class EISBackendService extends __BaseService {
|
||||
static readonly EISBackendCreateInfoPath = '/eis/info';
|
||||
static readonly EISBackendGetInfosPath = '/eis/info';
|
||||
static readonly EISBackendDeleteInfoPath = '/eis/delete/{infoId}';
|
||||
static readonly EISBackendApproveUpdatePath = '/eis/updateapproval/{infoId}';
|
||||
static readonly EISBackendRejectUpdatePath = '/eis/updatereject/{infoId}';
|
||||
static readonly EISBackendUpdateInfoPath = '/eis/info/{infoId}';
|
||||
static readonly EISBackendGetInfoByIdPath = '/eis/info/{infoId}';
|
||||
static readonly EISBackendApproveInfoPath = '/eis/info/approve/{allowsave}';
|
||||
static readonly EISBackendGetWordPath = '/eis/word/{datum}';
|
||||
static readonly EISBackendGetBranchesPath = '/eis/branch';
|
||||
static readonly EISBackendGetCategoriesPath = '/eis/category';
|
||||
static readonly EISBackendGetDisplayChannelsPath = '/eis/displaychannel';
|
||||
static readonly EISBackendGetFileContentPath = '/eis/file/{fileId}';
|
||||
|
||||
constructor(config: __Configuration, http: HttpClient) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* Info anlegen
|
||||
* @param params The `EISBackendService.EISBackendCreateInfoParams` containing the following parameters:
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendCreateInfoResponse(
|
||||
params: EISBackendService.EISBackendCreateInfoParams,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = params.infoDTO;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/eis/info`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Info anlegen
|
||||
* @param params The `EISBackendService.EISBackendCreateInfoParams` containing the following parameters:
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendCreateInfo(params: EISBackendService.EISBackendCreateInfoParams): __Observable<ResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendCreateInfoResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Infos
|
||||
* @param params The `EISBackendService.EISBackendGetInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `sonderinfo`: SonderInfo Flag
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `query`: Such-String
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `eagerLoading`:
|
||||
*
|
||||
* - `archive`:
|
||||
*/
|
||||
EISBackendGetInfosResponse(
|
||||
params: EISBackendService.EISBackendGetInfosParams,
|
||||
): __Observable<__StrictHttpResponse<ListResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
if (params.take != null) __params = __params.set('take', params.take.toString());
|
||||
if (params.sonderinfo != null) __params = __params.set('sonderinfo', params.sonderinfo.toString());
|
||||
if (params.skip != null) __params = __params.set('skip', params.skip.toString());
|
||||
if (params.query != null) __params = __params.set('query', params.query.toString());
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
if (params.eagerLoading != null) __params = __params.set('eagerLoading', params.eagerLoading.toString());
|
||||
if (params.archive != null) __params = __params.set('archive', params.archive.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/eis/info`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ListResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Infos
|
||||
* @param params The `EISBackendService.EISBackendGetInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `sonderinfo`: SonderInfo Flag
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `query`: Such-String
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `eagerLoading`:
|
||||
*
|
||||
* - `archive`:
|
||||
*/
|
||||
EISBackendGetInfos(params: EISBackendService.EISBackendGetInfosParams): __Observable<ListResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendGetInfosResponse(params).pipe(__map((_r) => _r.body as ListResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Löchen einere Info
|
||||
* @param infoId undefined
|
||||
*/
|
||||
EISBackendDeleteInfoResponse(infoId: number): __Observable<__StrictHttpResponse<ResponseArgsOfBoolean>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
let req = new HttpRequest<any>('DELETE', this.rootUrl + `/eis/delete/${encodeURIComponent(String(infoId))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfBoolean>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Löchen einere Info
|
||||
* @param infoId undefined
|
||||
*/
|
||||
EISBackendDeleteInfo(infoId: number): __Observable<ResponseArgsOfBoolean> {
|
||||
return this.EISBackendDeleteInfoResponse(infoId).pipe(__map((_r) => _r.body as ResponseArgsOfBoolean));
|
||||
}
|
||||
|
||||
/**
|
||||
* Freigabe eines Updates
|
||||
* @param params The `EISBackendService.EISBackendApproveUpdateParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendApproveUpdateResponse(
|
||||
params: EISBackendService.EISBackendApproveUpdateParams,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.infoDTO;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>('PUT', this.rootUrl + `/eis/updateapproval/${encodeURIComponent(String(params.infoId))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Freigabe eines Updates
|
||||
* @param params The `EISBackendService.EISBackendApproveUpdateParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendApproveUpdate(params: EISBackendService.EISBackendApproveUpdateParams): __Observable<ResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendApproveUpdateResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Ablehnen eines Updates
|
||||
* @param params The `EISBackendService.EISBackendRejectUpdateParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendRejectUpdateResponse(
|
||||
params: EISBackendService.EISBackendRejectUpdateParams,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.infoDTO;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>('PUT', this.rootUrl + `/eis/updatereject/${encodeURIComponent(String(params.infoId))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Ablehnen eines Updates
|
||||
* @param params The `EISBackendService.EISBackendRejectUpdateParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendRejectUpdate(params: EISBackendService.EISBackendRejectUpdateParams): __Observable<ResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendRejectUpdateResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Info aktualisieren
|
||||
* @param params The `EISBackendService.EISBackendUpdateInfoParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendUpdateInfoResponse(
|
||||
params: EISBackendService.EISBackendUpdateInfoParams,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.infoDTO;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>('PUT', this.rootUrl + `/eis/info/${encodeURIComponent(String(params.infoId))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Info aktualisieren
|
||||
* @param params The `EISBackendService.EISBackendUpdateInfoParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `infoDTO`: Daten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendUpdateInfo(params: EISBackendService.EISBackendUpdateInfoParams): __Observable<ResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendUpdateInfoResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Info per ID
|
||||
* @param params The `EISBackendService.EISBackendGetInfoByIdParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `eagerLoading`:
|
||||
*/
|
||||
EISBackendGetInfoByIdResponse(
|
||||
params: EISBackendService.EISBackendGetInfoByIdParams,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
if (params.eagerLoading != null) __params = __params.set('eagerLoading', params.eagerLoading.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/eis/info/${encodeURIComponent(String(params.infoId))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Info per ID
|
||||
* @param params The `EISBackendService.EISBackendGetInfoByIdParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `eagerLoading`:
|
||||
*/
|
||||
EISBackendGetInfoById(params: EISBackendService.EISBackendGetInfoByIdParams): __Observable<ResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendGetInfoByIdResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Info freigeben
|
||||
* @param params The `EISBackendService.EISBackendApproveInfoParams` containing the following parameters:
|
||||
*
|
||||
* - `infoDTO`: Info
|
||||
*
|
||||
* - `allowsave`: hat Änderungen oder ist Neu, dann darf gesichert werden
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendApproveInfoResponse(
|
||||
params: EISBackendService.EISBackendApproveInfoParams,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = params.infoDTO;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>('PATCH', this.rootUrl + `/eis/info/approve/${encodeURIComponent(String(params.allowsave))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Info freigeben
|
||||
* @param params The `EISBackendService.EISBackendApproveInfoParams` containing the following parameters:
|
||||
*
|
||||
* - `infoDTO`: Info
|
||||
*
|
||||
* - `allowsave`: hat Änderungen oder ist Neu, dann darf gesichert werden
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendApproveInfo(params: EISBackendService.EISBackendApproveInfoParams): __Observable<ResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendApproveInfoResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Infos
|
||||
* @param params The `EISBackendService.EISBackendGetWordParams` containing the following parameters:
|
||||
*
|
||||
* - `datum`:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `eagerLoading`:
|
||||
*/
|
||||
EISBackendGetWordResponse(
|
||||
params: EISBackendService.EISBackendGetWordParams,
|
||||
): __Observable<__StrictHttpResponse<ListResponseArgsOfInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.take != null) __params = __params.set('take', params.take.toString());
|
||||
if (params.skip != null) __params = __params.set('skip', params.skip.toString());
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
if (params.eagerLoading != null) __params = __params.set('eagerLoading', params.eagerLoading.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/eis/word/${encodeURIComponent(String(params.datum))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ListResponseArgsOfInfoDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Infos
|
||||
* @param params The `EISBackendService.EISBackendGetWordParams` containing the following parameters:
|
||||
*
|
||||
* - `datum`:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `eagerLoading`:
|
||||
*/
|
||||
EISBackendGetWord(params: EISBackendService.EISBackendGetWordParams): __Observable<ListResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendGetWordResponse(params).pipe(__map((_r) => _r.body as ListResponseArgsOfInfoDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Filialen
|
||||
* @param params The `EISBackendService.EISBackendGetBranchesParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `labelKey`:
|
||||
*/
|
||||
EISBackendGetBranchesResponse(
|
||||
params: EISBackendService.EISBackendGetBranchesParams,
|
||||
): __Observable<__StrictHttpResponse<ListResponseArgsOfBranchDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
if (params.take != null) __params = __params.set('take', params.take.toString());
|
||||
if (params.skip != null) __params = __params.set('skip', params.skip.toString());
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
if (params.labelKey != null) __params = __params.set('labelKey', params.labelKey.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/eis/branch`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ListResponseArgsOfBranchDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Filialen
|
||||
* @param params The `EISBackendService.EISBackendGetBranchesParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `labelKey`:
|
||||
*/
|
||||
EISBackendGetBranches(params: EISBackendService.EISBackendGetBranchesParams): __Observable<ListResponseArgsOfBranchDTO> {
|
||||
return this.EISBackendGetBranchesResponse(params).pipe(__map((_r) => _r.body as ListResponseArgsOfBranchDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Kategorien/Bereiche
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISBackendGetCategoriesResponse(
|
||||
locale?: null | string,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
if (locale != null) __params = __params.set('locale', locale.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/eis/category`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Kategorien/Bereiche
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISBackendGetCategories(locale?: null | string): __Observable<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString> {
|
||||
return this.EISBackendGetCategoriesResponse(locale).pipe(
|
||||
__map((_r) => _r.body as ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Kategorien/Bereiche
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISBackendGetDisplayChannelsResponse(
|
||||
locale?: null | string,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
if (locale != null) __params = __params.set('locale', locale.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/eis/displaychannel`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Kategorien/Bereiche
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISBackendGetDisplayChannels(locale?: null | string): __Observable<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString> {
|
||||
return this.EISBackendGetDisplayChannelsResponse(locale).pipe(
|
||||
__map((_r) => _r.body as ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString),
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Datei-Inhalt
|
||||
* @param params The `EISBackendService.EISBackendGetFileContentParams` containing the following parameters:
|
||||
*
|
||||
* - `fileId`: Datei PK
|
||||
*
|
||||
* - `download`: Datei wird als Download gesendet (optional)
|
||||
*
|
||||
* @return Datei
|
||||
*/
|
||||
EISBackendGetFileContentResponse(params: EISBackendService.EISBackendGetFileContentParams): __Observable<__StrictHttpResponse<Blob>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.download != null) __params = __params.set('download', params.download.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/eis/file/${encodeURIComponent(String(params.fileId))}`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'blob',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<Blob>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Datei-Inhalt
|
||||
* @param params The `EISBackendService.EISBackendGetFileContentParams` containing the following parameters:
|
||||
*
|
||||
* - `fileId`: Datei PK
|
||||
*
|
||||
* - `download`: Datei wird als Download gesendet (optional)
|
||||
*
|
||||
* @return Datei
|
||||
*/
|
||||
EISBackendGetFileContent(params: EISBackendService.EISBackendGetFileContentParams): __Observable<Blob> {
|
||||
return this.EISBackendGetFileContentResponse(params).pipe(__map((_r) => _r.body as Blob));
|
||||
}
|
||||
}
|
||||
|
||||
module EISBackendService {
|
||||
/**
|
||||
* Parameters for EISBackendCreateInfo
|
||||
*/
|
||||
export interface EISBackendCreateInfoParams {
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
infoDTO: InfoDTO;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendGetInfos
|
||||
*/
|
||||
export interface EISBackendGetInfosParams {
|
||||
take?: null | number;
|
||||
|
||||
/**
|
||||
* SonderInfo Flag
|
||||
*/
|
||||
sonderinfo?: boolean;
|
||||
skip?: null | number;
|
||||
|
||||
/**
|
||||
* Such-String
|
||||
*/
|
||||
query?: null | string;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
eagerLoading?: number;
|
||||
archive?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendApproveUpdate
|
||||
*/
|
||||
export interface EISBackendApproveUpdateParams {
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
infoDTO: InfoDTO;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendRejectUpdate
|
||||
*/
|
||||
export interface EISBackendRejectUpdateParams {
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
infoDTO: InfoDTO;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendUpdateInfo
|
||||
*/
|
||||
export interface EISBackendUpdateInfoParams {
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
infoDTO: InfoDTO;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendGetInfoById
|
||||
*/
|
||||
export interface EISBackendGetInfoByIdParams {
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
eagerLoading?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendApproveInfo
|
||||
*/
|
||||
export interface EISBackendApproveInfoParams {
|
||||
/**
|
||||
* Info
|
||||
*/
|
||||
infoDTO: InfoDTO;
|
||||
|
||||
/**
|
||||
* hat Änderungen oder ist Neu, dann darf gesichert werden
|
||||
*/
|
||||
allowsave: boolean;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendGetWord
|
||||
*/
|
||||
export interface EISBackendGetWordParams {
|
||||
datum: string;
|
||||
take?: null | number;
|
||||
skip?: null | number;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
eagerLoading?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendGetBranches
|
||||
*/
|
||||
export interface EISBackendGetBranchesParams {
|
||||
take?: null | number;
|
||||
skip?: null | number;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
labelKey?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendGetFileContent
|
||||
*/
|
||||
export interface EISBackendGetFileContentParams {
|
||||
/**
|
||||
* Datei PK
|
||||
*/
|
||||
fileId: number;
|
||||
|
||||
/**
|
||||
* Datei wird als Download gesendet (optional)
|
||||
*/
|
||||
download?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
export { EISBackendService };
|
||||
@@ -0,0 +1,143 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';
|
||||
import { BaseService as __BaseService } from '../base-service';
|
||||
import { EisConfiguration as __Configuration } from '../eis-configuration';
|
||||
import { StrictHttpResponse as __StrictHttpResponse } from '../strict-http-response';
|
||||
import { Observable as __Observable } from 'rxjs';
|
||||
import { map as __map, filter as __filter } from 'rxjs/operators';
|
||||
|
||||
import { ResponseArgsOfString } from '../models/response-args-of-string';
|
||||
import { DocumentPayloadOfIEnumerableOfString } from '../models/document-payload-of-ienumerable-of-string';
|
||||
import { DocumentPayloadOfIEnumerableOfDisplayInfoDTO } from '../models/document-payload-of-ienumerable-of-display-info-dto';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
class EISPublicDocumentService extends __BaseService {
|
||||
static readonly EISPublicDocumentGetArticlesPdfAsBase64Path = '/eis/intranet/info/article/pdf/base64';
|
||||
static readonly EISPublicDocumentGetInfosPdfAsBase64Path = '/eis/intranet/info/pdf/base64';
|
||||
|
||||
constructor(config: __Configuration, http: HttpClient) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* Artikelliste als PDF (base64)
|
||||
* @param params The `EISPublicDocumentService.EISPublicDocumentGetArticlesPdfAsBase64Params` containing the following parameters:
|
||||
*
|
||||
* - `payload`: DocumentPayload mit EANsK
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicDocumentGetArticlesPdfAsBase64Response(
|
||||
params: EISPublicDocumentService.EISPublicDocumentGetArticlesPdfAsBase64Params,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfString>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = params.payload;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/eis/intranet/info/article/pdf/base64`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfString>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Artikelliste als PDF (base64)
|
||||
* @param params The `EISPublicDocumentService.EISPublicDocumentGetArticlesPdfAsBase64Params` containing the following parameters:
|
||||
*
|
||||
* - `payload`: DocumentPayload mit EANsK
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicDocumentGetArticlesPdfAsBase64(
|
||||
params: EISPublicDocumentService.EISPublicDocumentGetArticlesPdfAsBase64Params,
|
||||
): __Observable<ResponseArgsOfString> {
|
||||
return this.EISPublicDocumentGetArticlesPdfAsBase64Response(params).pipe(__map((_r) => _r.body as ResponseArgsOfString));
|
||||
}
|
||||
|
||||
/**
|
||||
* Aufgaben und Infos als PDF (base64)
|
||||
* @param params The `EISPublicDocumentService.EISPublicDocumentGetInfosPdfAsBase64Params` containing the following parameters:
|
||||
*
|
||||
* - `payload`: DocumentPayload mit Infos
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicDocumentGetInfosPdfAsBase64Response(
|
||||
params: EISPublicDocumentService.EISPublicDocumentGetInfosPdfAsBase64Params,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfString>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = params.payload;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/eis/intranet/info/pdf/base64`, __body, {
|
||||
headers: __headers,
|
||||
params: __params,
|
||||
responseType: 'json',
|
||||
});
|
||||
|
||||
return this.http.request<any>(req).pipe(
|
||||
__filter((_r) => _r instanceof HttpResponse),
|
||||
__map((_r) => {
|
||||
return _r as __StrictHttpResponse<ResponseArgsOfString>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Aufgaben und Infos als PDF (base64)
|
||||
* @param params The `EISPublicDocumentService.EISPublicDocumentGetInfosPdfAsBase64Params` containing the following parameters:
|
||||
*
|
||||
* - `payload`: DocumentPayload mit Infos
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicDocumentGetInfosPdfAsBase64(
|
||||
params: EISPublicDocumentService.EISPublicDocumentGetInfosPdfAsBase64Params,
|
||||
): __Observable<ResponseArgsOfString> {
|
||||
return this.EISPublicDocumentGetInfosPdfAsBase64Response(params).pipe(__map((_r) => _r.body as ResponseArgsOfString));
|
||||
}
|
||||
}
|
||||
|
||||
module EISPublicDocumentService {
|
||||
/**
|
||||
* Parameters for EISPublicDocumentGetArticlesPdfAsBase64
|
||||
*/
|
||||
export interface EISPublicDocumentGetArticlesPdfAsBase64Params {
|
||||
/**
|
||||
* DocumentPayload mit EANsK
|
||||
*/
|
||||
payload: DocumentPayloadOfIEnumerableOfString;
|
||||
|
||||
/**
|
||||
* Lokalisierung (optional)
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicDocumentGetInfosPdfAsBase64
|
||||
*/
|
||||
export interface EISPublicDocumentGetInfosPdfAsBase64Params {
|
||||
/**
|
||||
* DocumentPayload mit Infos
|
||||
*/
|
||||
payload: DocumentPayloadOfIEnumerableOfDisplayInfoDTO;
|
||||
|
||||
/**
|
||||
* Lokalisierung (optional)
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
}
|
||||
|
||||
export { EISPublicDocumentService };
|
||||
1140
generated/swagger/eis-api/src/services/eispublic.service.ts
Normal file
1140
generated/swagger/eis-api/src/services/eispublic.service.ts
Normal file
File diff suppressed because it is too large
Load Diff
9
generated/swagger/eis-api/src/strict-http-response.ts
Normal file
9
generated/swagger/eis-api/src/strict-http-response.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* tslint:disable */
|
||||
import { HttpResponse } from '@angular/common/http';
|
||||
|
||||
/**
|
||||
* Constrains the http to not expand the response type with `| null`
|
||||
*/
|
||||
export type StrictHttpResponse<T> = HttpResponse<T> & {
|
||||
readonly body: T;
|
||||
};
|
||||
4597
generated/swagger/eis-api/swagger.json
Normal file
4597
generated/swagger/eis-api/swagger.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user