mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
@swagger/eis lib angelegt & @ngrx/store basis angelegt
This commit is contained in:
35
angular.json
35
angular.json
@@ -419,6 +419,41 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"@swagger/eis": {
|
||||
"projectType": "library",
|
||||
"root": "apps/swagger/eis",
|
||||
"sourceRoot": "apps/swagger/eis/src",
|
||||
"prefix": "lib",
|
||||
"architect": {
|
||||
"build": {
|
||||
"builder": "@angular-devkit/build-ng-packagr:build",
|
||||
"options": {
|
||||
"tsConfig": "apps/swagger/eis/tsconfig.lib.json",
|
||||
"project": "apps/swagger/eis/ng-package.json"
|
||||
}
|
||||
},
|
||||
"test": {
|
||||
"builder": "@angular-devkit/build-angular:karma",
|
||||
"options": {
|
||||
"main": "apps/swagger/eis/src/test.ts",
|
||||
"tsConfig": "apps/swagger/eis/tsconfig.spec.json",
|
||||
"karmaConfig": "apps/swagger/eis/karma.conf.js"
|
||||
}
|
||||
},
|
||||
"lint": {
|
||||
"builder": "@angular-devkit/build-angular:tslint",
|
||||
"options": {
|
||||
"tsConfig": [
|
||||
"apps/swagger/eis/tsconfig.lib.json",
|
||||
"apps/swagger/eis/tsconfig.spec.json"
|
||||
],
|
||||
"exclude": [
|
||||
"**/node_modules/**"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"defaultProject": "sales"
|
||||
|
||||
14
apps/sales/src/app/app-store.module.ts
Normal file
14
apps/sales/src/app/app-store.module.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { StoreModule, MetaReducer } from '@ngrx/store';
|
||||
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
|
||||
import { storeFreeze } from 'ngrx-store-freeze';
|
||||
import { environment } from '../environments/environment';
|
||||
import { RootState } from './store/root.state';
|
||||
import { rootReducer } from './store/root.reducer';
|
||||
|
||||
export const metaReducers: MetaReducer<RootState>[] = !environment.production ? [storeFreeze] : [];
|
||||
|
||||
@NgModule({
|
||||
imports: [StoreModule.forRoot(rootReducer, { metaReducers }), StoreDevtoolsModule.instrument()],
|
||||
})
|
||||
export class AppStoreModule { }
|
||||
@@ -7,9 +7,11 @@ import { CrmConfiguration } from '@swagger/crm';
|
||||
import { CheckoutConfiguration } from '@swagger/checkout';
|
||||
import { AvConfiguration } from '@swagger/availability';
|
||||
import { CatConfiguration } from '@swagger/cat';
|
||||
import { EisConfiguration } from '@swagger/eis';
|
||||
|
||||
import { AppConfiguration } from './app-configuration';
|
||||
|
||||
|
||||
export function catConfigurationFactory(config: AppConfiguration) {
|
||||
return config.swagger.api;
|
||||
}
|
||||
@@ -38,6 +40,10 @@ export function printConfigurationFactory(config: AppConfiguration) {
|
||||
return config.swagger.print;
|
||||
}
|
||||
|
||||
export function eisConfigurationFactory(config: AppConfiguration) {
|
||||
return config.swagger.eis;
|
||||
}
|
||||
|
||||
@NgModule({
|
||||
providers: [
|
||||
{ provide: CatConfiguration, useFactory: catConfigurationFactory, deps: [AppConfiguration] },
|
||||
@@ -47,6 +53,7 @@ export function printConfigurationFactory(config: AppConfiguration) {
|
||||
{ provide: IsaConfiguration, useFactory: isaConfigurationFactory, deps: [AppConfiguration] },
|
||||
{ provide: OmsConfiguration, useFactory: omsConfigurationFactory, deps: [AppConfiguration] },
|
||||
{ provide: PrintConfiguration, useFactory: printConfigurationFactory, deps: [AppConfiguration] },
|
||||
{ provide: EisConfiguration, useFactory: eisConfigurationFactory, deps: [AppConfiguration] },
|
||||
],
|
||||
})
|
||||
export class AppSwaggerModule {}
|
||||
export class AppSwaggerModule { }
|
||||
|
||||
@@ -53,6 +53,7 @@ import { RemissionStateHandler } from './core/store/handlers/remission.handlers'
|
||||
import { SsoConfigurationService } from './core/services/sso-configuration.service';
|
||||
import { OverlayModule } from '@angular/cdk/overlay';
|
||||
import { RemissionOverlaysModule } from './modules/remission/overlays/overlays.module';
|
||||
import { AppStoreModule } from './app-store.module';
|
||||
registerLocaleData(localeDe, localeDeExtra);
|
||||
|
||||
const states = [
|
||||
@@ -78,7 +79,7 @@ const states = [
|
||||
];
|
||||
|
||||
export function noop() {
|
||||
return function () {};
|
||||
return function () { };
|
||||
}
|
||||
|
||||
export function remissionModuleOptionsFactory(config: AppConfiguration): RemissionModuleOptions {
|
||||
@@ -91,6 +92,8 @@ export function remissionModuleOptionsFactory(config: AppConfiguration): Remissi
|
||||
BrowserModule,
|
||||
BrowserAnimationsModule,
|
||||
AppRoutingModule,
|
||||
AppStoreModule,
|
||||
AppSwaggerModule,
|
||||
ComponentsModule,
|
||||
HttpClientModule,
|
||||
NgxsModule.forRoot(states, { developmentMode: !environment.production }),
|
||||
@@ -111,7 +114,6 @@ export function remissionModuleOptionsFactory(config: AppConfiguration): Remissi
|
||||
}),
|
||||
NgIdleKeepaliveModule.forRoot(),
|
||||
RemissionModule.forRoot(undefined),
|
||||
AppSwaggerModule,
|
||||
OverlayModule,
|
||||
RemissionOverlaysModule,
|
||||
],
|
||||
@@ -153,4 +155,4 @@ export function remissionModuleOptionsFactory(config: AppConfiguration): Remissi
|
||||
],
|
||||
bootstrap: [AppComponent],
|
||||
})
|
||||
export class AppModule {}
|
||||
export class AppModule { }
|
||||
|
||||
11
apps/sales/src/app/store/branch/branch.reducer.ts
Normal file
11
apps/sales/src/app/store/branch/branch.reducer.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { combineReducers, Action } from '@ngrx/store';
|
||||
import { BranchState } from './branch.state';
|
||||
import { taskCalendarReducer } from './task-calendar';
|
||||
|
||||
const _branchReducer = combineReducers<BranchState>({
|
||||
taskCalendar: taskCalendarReducer,
|
||||
});
|
||||
|
||||
export function branchReducer(state: BranchState, action: Action) {
|
||||
return _branchReducer(state, action);
|
||||
}
|
||||
3
apps/sales/src/app/store/branch/branch.selectors.ts
Normal file
3
apps/sales/src/app/store/branch/branch.selectors.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import { RootState } from '../root.state';
|
||||
|
||||
export const selectBranchState = (state: RootState) => state.branch;
|
||||
5
apps/sales/src/app/store/branch/branch.state.ts
Normal file
5
apps/sales/src/app/store/branch/branch.state.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { TaskCalendarState } from './task-calendar';
|
||||
|
||||
export interface BranchState {
|
||||
taskCalendar: TaskCalendarState;
|
||||
}
|
||||
4
apps/sales/src/app/store/branch/index.ts
Normal file
4
apps/sales/src/app/store/branch/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export * from './branch.reducer';
|
||||
export * from './branch.state';
|
||||
export * from './branch.selectors';
|
||||
export * from './task-calendar';
|
||||
6
apps/sales/src/app/store/branch/task-calendar/index.ts
Normal file
6
apps/sales/src/app/store/branch/task-calendar/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * from './task-calendar.actions';
|
||||
export * from './task-calendar.selectors';
|
||||
export * from './task-calendar.reducer';
|
||||
export * from './task-calendar.facade';
|
||||
export * from './task-calendar.state';
|
||||
export * from './task-calendar.effects';
|
||||
@@ -0,0 +1,3 @@
|
||||
import { createAction } from '@ngrx/store';
|
||||
|
||||
export const dummy = createAction('[Branch] [Task Calendar] Dummy');
|
||||
@@ -0,0 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable()
|
||||
export class TaskCalendarEffects {
|
||||
constructor() { }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class TaskCalendarFacade {
|
||||
constructor() { }
|
||||
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
import { Action, createReducer } from '@ngrx/store';
|
||||
import { TaskCalendarState, INITIAL_TASK_CALENDAR_STATE } from './task-calendar.state';
|
||||
|
||||
const _taskCalendarReducer = createReducer<TaskCalendarState>(INITIAL_TASK_CALENDAR_STATE);
|
||||
|
||||
export function taskCalendarReducer(state: TaskCalendarState, action: Action) {
|
||||
return _taskCalendarReducer(state, action);
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
import { createSelector } from '@ngrx/store';
|
||||
import { selectBranchState } from '../branch.selectors';
|
||||
|
||||
export const selectTaskCalendarState = createSelector(selectBranchState, (s) => s.taskCalendar);
|
||||
@@ -0,0 +1,3 @@
|
||||
export interface TaskCalendarState { }
|
||||
|
||||
export const INITIAL_TASK_CALENDAR_STATE: TaskCalendarState = {};
|
||||
7
apps/sales/src/app/store/root.reducer.ts
Normal file
7
apps/sales/src/app/store/root.reducer.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { ActionReducerMap } from '@ngrx/store';
|
||||
import { RootState } from './root.state';
|
||||
import { branchReducer } from './branch';
|
||||
|
||||
export const rootReducer: ActionReducerMap<RootState> = {
|
||||
branch: branchReducer,
|
||||
};
|
||||
5
apps/sales/src/app/store/root.state.ts
Normal file
5
apps/sales/src/app/store/root.state.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { BranchState } from './branch';
|
||||
|
||||
export interface RootState {
|
||||
branch: BranchState;
|
||||
}
|
||||
@@ -28,6 +28,9 @@
|
||||
},
|
||||
"print": {
|
||||
"rootUrl": "https://isa-integration.paragon-data.net/print/v1"
|
||||
},
|
||||
"eis": {
|
||||
"rootUrl": "https://filialinformationsystem-integration.paragon-systems.de/eiswebapi/v1"
|
||||
}
|
||||
},
|
||||
"remissionModuleOptions": {
|
||||
@@ -38,4 +41,4 @@
|
||||
"print": "https://isa-integration.paragon-data.net/print/v1/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
},
|
||||
"print": {
|
||||
"rootUrl": "https://isa-test.paragon-data.net/print/v1"
|
||||
},
|
||||
"eis": {
|
||||
"rootUrl": "https://filialinformationsystem-integration.paragon-systems.de/eiswebapi/v1"
|
||||
}
|
||||
},
|
||||
"remissionModuleOptions": {
|
||||
@@ -38,4 +41,4 @@
|
||||
"print": "https://isa-test.paragon-data.net/print/v1/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
},
|
||||
"print": {
|
||||
"rootUrl": "https://isa.paragon-systems.de/print/v1"
|
||||
},
|
||||
"eis": {
|
||||
"rootUrl": "https://filialinformationsystem-integration.paragon-systems.de/eiswebapi/v1"
|
||||
}
|
||||
},
|
||||
"remissionModuleOptions": {
|
||||
@@ -38,4 +41,4 @@
|
||||
"print": "https://isa.paragon-systems.de/print/v1/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
},
|
||||
"print": {
|
||||
"rootUrl": "https://isa-staging.paragon-systems.de/print/v1"
|
||||
},
|
||||
"eis": {
|
||||
"rootUrl": "https://filialinformationsystem-integration.paragon-systems.de/eiswebapi/v1"
|
||||
}
|
||||
},
|
||||
"remissionModuleOptions": {
|
||||
@@ -38,4 +41,4 @@
|
||||
"print": "https://isa-staging.paragon-systems.de/print/v1/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,9 @@
|
||||
},
|
||||
"print": {
|
||||
"rootUrl": "https://isa-test.paragon-data.net/print/v1"
|
||||
},
|
||||
"eis": {
|
||||
"rootUrl": "https://filialinformationsystem-integration.paragon-systems.de/eiswebapi/v1"
|
||||
}
|
||||
},
|
||||
"remissionModuleOptions": {
|
||||
@@ -38,4 +41,4 @@
|
||||
"print": "https://isa-test.paragon-data.net/print/v1/"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
24
apps/swagger/eis/README.md
Normal file
24
apps/swagger/eis/README.md
Normal file
@@ -0,0 +1,24 @@
|
||||
# Eis
|
||||
|
||||
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.14.
|
||||
|
||||
## Code scaffolding
|
||||
|
||||
Run `ng generate component component-name --project eis` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project eis`.
|
||||
> Note: Don't forget to add `--project eis` or else it will be added to the default project in your `angular.json` file.
|
||||
|
||||
## Build
|
||||
|
||||
Run `ng build eis` to build the project. The build artifacts will be stored in the `dist/` directory.
|
||||
|
||||
## Publishing
|
||||
|
||||
After building your library with `ng build eis`, go to the dist folder `cd dist/eis` and run `npm publish`.
|
||||
|
||||
## Running unit tests
|
||||
|
||||
Run `ng test eis` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
||||
|
||||
## Further help
|
||||
|
||||
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).
|
||||
32
apps/swagger/eis/karma.conf.js
Normal file
32
apps/swagger/eis/karma.conf.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// Karma configuration file, see link for more information
|
||||
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
||||
|
||||
module.exports = function (config) {
|
||||
config.set({
|
||||
basePath: '',
|
||||
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
||||
plugins: [
|
||||
require('karma-jasmine'),
|
||||
require('karma-chrome-launcher'),
|
||||
require('karma-jasmine-html-reporter'),
|
||||
require('karma-coverage-istanbul-reporter'),
|
||||
require('@angular-devkit/build-angular/plugins/karma')
|
||||
],
|
||||
client: {
|
||||
clearContext: false // leave Jasmine Spec Runner output visible in browser
|
||||
},
|
||||
coverageIstanbulReporter: {
|
||||
dir: require('path').join(__dirname, '../../../coverage/swagger/eis'),
|
||||
reports: ['html', 'lcovonly', 'text-summary'],
|
||||
fixWebpackSourcePaths: true
|
||||
},
|
||||
reporters: ['progress', 'kjhtml'],
|
||||
port: 9876,
|
||||
colors: true,
|
||||
logLevel: config.LOG_INFO,
|
||||
autoWatch: true,
|
||||
browsers: ['Chrome'],
|
||||
singleRun: false,
|
||||
restartOnFileChange: true
|
||||
});
|
||||
};
|
||||
7
apps/swagger/eis/ng-package.json
Normal file
7
apps/swagger/eis/ng-package.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "../../../node_modules/ng-packagr/ng-package.schema.json",
|
||||
"dest": "../../../dist/swagger/eis",
|
||||
"lib": {
|
||||
"entryFile": "src/public-api.ts"
|
||||
}
|
||||
}
|
||||
8
apps/swagger/eis/package.json
Normal file
8
apps/swagger/eis/package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "@swagger/eis",
|
||||
"version": "0.0.1",
|
||||
"peerDependencies": {
|
||||
"@angular/common": "^8.2.14",
|
||||
"@angular/core": "^8.2.14"
|
||||
}
|
||||
}
|
||||
63
apps/swagger/eis/src/lib/base-service.ts
Normal file
63
apps/swagger/eis/src/lib/base-service.ts
Normal file
@@ -0,0 +1,63 @@
|
||||
/* 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
|
||||
});
|
||||
}
|
||||
}
|
||||
12
apps/swagger/eis/src/lib/eis-configuration.ts
Normal file
12
apps/swagger/eis/src/lib/eis-configuration.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Global configuration for Eis services
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class EisConfiguration {
|
||||
rootUrl: string = 'https://eis-integration.kubernetes.paragon-systems.de';
|
||||
}
|
||||
26
apps/swagger/eis/src/lib/eis.module.ts
Normal file
26
apps/swagger/eis/src/lib/eis.module.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
/* tslint:disable */
|
||||
import { NgModule } from '@angular/core';
|
||||
import { HttpClientModule } from '@angular/common/http';
|
||||
import { EisConfiguration } from './eis-configuration';
|
||||
|
||||
import { EISBackendService } from './services/eisbackend.service';
|
||||
import { EISPublicService } from './services/eispublic.service';
|
||||
|
||||
/**
|
||||
* Provider for all Eis services, plus EisConfiguration
|
||||
*/
|
||||
@NgModule({
|
||||
imports: [
|
||||
HttpClientModule
|
||||
],
|
||||
exports: [
|
||||
HttpClientModule
|
||||
],
|
||||
declarations: [],
|
||||
providers: [
|
||||
EisConfiguration,
|
||||
EISBackendService,
|
||||
EISPublicService
|
||||
],
|
||||
})
|
||||
export class EisModule { }
|
||||
6
apps/swagger/eis/src/lib/index.ts
Normal file
6
apps/swagger/eis/src/lib/index.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export * from './eis-configuration';
|
||||
export * from './strict-http-response';
|
||||
export * from './models';
|
||||
export * from './eis.module';
|
||||
export * from './services';
|
||||
export * from './base-service';
|
||||
51
apps/swagger/eis/src/lib/models.ts
Normal file
51
apps/swagger/eis/src/lib/models.ts
Normal file
@@ -0,0 +1,51 @@
|
||||
export { ResponseArgsOfInfoDTO } from './models/response-args-of-info-dto';
|
||||
export { InfoDTO } from './models/info-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 { EntityDTOOfBranchDTOAndReadOnlyBranch } from './models/entity-dtoof-branch-dtoand-read-only-branch';
|
||||
export { ReadOnlyEntityDTOOfBranchDTOAndReadOnlyBranch } from './models/read-only-entity-dtoof-branch-dtoand-read-only-branch';
|
||||
export { EntityDTO } from './models/entity-dto';
|
||||
export { EntityStatus } from './models/entity-status';
|
||||
export { EntityDTOReferenceContainer } from './models/entity-dtoreference-container';
|
||||
export { ExternalReferenceDTO } from './models/external-reference-dto';
|
||||
export { InfoType } from './models/info-type';
|
||||
export { EntityDTOContainerOfFileDTO } from './models/entity-dtocontainer-of-file-dto';
|
||||
export { FileDTO } from './models/file-dto';
|
||||
export { EntityDTOOfFileDTOAndFile } from './models/entity-dtoof-file-dtoand-file';
|
||||
export { ReadOnlyEntityDTOOfFileDTOAndFile } from './models/read-only-entity-dtoof-file-dtoand-file';
|
||||
export { TaskType } from './models/task-type';
|
||||
export { EntityDTOContainerOfArticleDTO } from './models/entity-dtocontainer-of-article-dto';
|
||||
export { ArticleDTO } from './models/article-dto';
|
||||
export { EntityDTOOfArticleDTOAndArticle } from './models/entity-dtoof-article-dtoand-article';
|
||||
export { ReadOnlyEntityDTOOfArticleDTOAndArticle } from './models/read-only-entity-dtoof-article-dtoand-article';
|
||||
export { EntityDTOContainerOfConfirmationDTO } from './models/entity-dtocontainer-of-confirmation-dto';
|
||||
export { ConfirmationDTO } from './models/confirmation-dto';
|
||||
export { EntityDTOOfConfirmationDTOAndConfirmation } from './models/entity-dtoof-confirmation-dtoand-confirmation';
|
||||
export { ReadOnlyEntityDTOOfConfirmationDTOAndConfirmation } from './models/read-only-entity-dtoof-confirmation-dtoand-confirmation';
|
||||
export { EntityDTOOfInfoDTOAndInfo } from './models/entity-dtoof-info-dtoand-info';
|
||||
export { ReadOnlyEntityDTOOfInfoDTOAndInfo } from './models/read-only-entity-dtoof-info-dtoand-info';
|
||||
export { ResponseArgs } from './models/response-args';
|
||||
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 { DisplayInfoDTO } from './models/display-info-dto';
|
||||
export { ProcessingStatus } from './models/processing-status';
|
||||
export { EntityDTOOfDisplayInfoDTOAndDisplayInfo } from './models/entity-dtoof-display-info-dtoand-display-info';
|
||||
export { ReadOnlyEntityDTOOfDisplayInfoDTOAndDisplayInfo } from './models/read-only-entity-dtoof-display-info-dtoand-display-info';
|
||||
export { DisplayInfoRequest } from './models/display-info-request';
|
||||
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';
|
||||
6
apps/swagger/eis/src/lib/models/article-dto.ts
Normal file
6
apps/swagger/eis/src/lib/models/article-dto.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfArticleDTOAndArticle } from './entity-dtoof-article-dtoand-article';
|
||||
export interface ArticleDTO extends EntityDTOOfArticleDTOAndArticle {
|
||||
text?: string;
|
||||
ean?: string;
|
||||
}
|
||||
15
apps/swagger/eis/src/lib/models/branch-dto.ts
Normal file
15
apps/swagger/eis/src/lib/models/branch-dto.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfBranchDTOAndReadOnlyBranch } from './entity-dtoof-branch-dtoand-read-only-branch';
|
||||
import { BranchType } from './branch-type';
|
||||
export interface BranchDTO extends EntityDTOOfBranchDTOAndReadOnlyBranch {
|
||||
label?: string;
|
||||
parent?: number;
|
||||
branchNumber?: string;
|
||||
name?: string;
|
||||
shortName?: string;
|
||||
key?: string;
|
||||
isOnline?: boolean;
|
||||
region?: string;
|
||||
branchType: BranchType;
|
||||
isDefault?: string;
|
||||
}
|
||||
2
apps/swagger/eis/src/lib/models/branch-type.ts
Normal file
2
apps/swagger/eis/src/lib/models/branch-type.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type BranchType = 0 | 1 | 2 | 4 | 8 | 16;
|
||||
12
apps/swagger/eis/src/lib/models/confirmation-dto.ts
Normal file
12
apps/swagger/eis/src/lib/models/confirmation-dto.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfConfirmationDTOAndConfirmation } from './entity-dtoof-confirmation-dtoand-confirmation';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
import { EntityDTOContainerOfFileDTO } from './entity-dtocontainer-of-file-dto';
|
||||
export interface ConfirmationDTO extends EntityDTOOfConfirmationDTOAndConfirmation {
|
||||
branch?: EntityDTOContainerOfBranchDTO;
|
||||
processingBy?: string;
|
||||
processingDate?: string;
|
||||
completedBy?: string;
|
||||
completedDate?: string;
|
||||
attachments?: Array<EntityDTOContainerOfFileDTO>;
|
||||
}
|
||||
27
apps/swagger/eis/src/lib/models/dashboard-info-request.ts
Normal file
27
apps/swagger/eis/src/lib/models/dashboard-info-request.ts
Normal file
@@ -0,0 +1,27 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Abfragewerte zur Anzeige von Infos
|
||||
*/
|
||||
export interface DashboardInfoRequest {
|
||||
|
||||
/**
|
||||
* Filiale PK
|
||||
*/
|
||||
branchId: number;
|
||||
|
||||
/**
|
||||
* Intervall-Beginn
|
||||
*/
|
||||
timestamp: string;
|
||||
|
||||
/**
|
||||
* Skip
|
||||
*/
|
||||
skip?: number;
|
||||
|
||||
/**
|
||||
* Take
|
||||
*/
|
||||
take?: number;
|
||||
}
|
||||
25
apps/swagger/eis/src/lib/models/display-info-dto.ts
Normal file
25
apps/swagger/eis/src/lib/models/display-info-dto.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfDisplayInfoDTOAndDisplayInfo } from './entity-dtoof-display-info-dtoand-display-info';
|
||||
import { ProcessingStatus } from './processing-status';
|
||||
import { EntityDTOContainerOfFileDTO } from './entity-dtocontainer-of-file-dto';
|
||||
import { EntityDTOContainerOfArticleDTO } from './entity-dtocontainer-of-article-dto';
|
||||
export interface DisplayInfoDTO extends EntityDTOOfDisplayInfoDTOAndDisplayInfo {
|
||||
attachments?: number;
|
||||
publicationDate?: string;
|
||||
timeTo?: string;
|
||||
title?: string;
|
||||
text?: string;
|
||||
category?: string;
|
||||
displayChannel?: string;
|
||||
requiresImageOnConfirmation?: boolean;
|
||||
processingStatus?: ProcessingStatus;
|
||||
timeFrom?: string;
|
||||
images?: Array<EntityDTOContainerOfFileDTO>;
|
||||
articles?: Array<EntityDTOContainerOfArticleDTO>;
|
||||
hasTask?: boolean;
|
||||
taskDate?: string;
|
||||
taskOverdueDate?: string;
|
||||
displayListStart?: string;
|
||||
displayListStop?: string;
|
||||
isSpecial?: boolean;
|
||||
}
|
||||
47
apps/swagger/eis/src/lib/models/display-info-request.ts
Normal file
47
apps/swagger/eis/src/lib/models/display-info-request.ts
Normal file
@@ -0,0 +1,47 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Abfragewerte zur Anzeige von Infos
|
||||
*/
|
||||
export interface DisplayInfoRequest {
|
||||
|
||||
/**
|
||||
* Filiale PK
|
||||
*/
|
||||
branchId: number;
|
||||
|
||||
/**
|
||||
* Intervall-Beginn
|
||||
*/
|
||||
start: string;
|
||||
|
||||
/**
|
||||
* Intervall-Beginn
|
||||
*/
|
||||
stop: string;
|
||||
|
||||
/**
|
||||
* Nur Infos
|
||||
*/
|
||||
infoOnly: boolean;
|
||||
|
||||
/**
|
||||
* Kategorien
|
||||
*/
|
||||
categories?: Array<string>;
|
||||
|
||||
/**
|
||||
* Anzeigezeitraum berücksichtigen
|
||||
*/
|
||||
includeDisplayTimespan: boolean;
|
||||
|
||||
/**
|
||||
* Skip
|
||||
*/
|
||||
skip?: number;
|
||||
|
||||
/**
|
||||
* Take
|
||||
*/
|
||||
take?: number;
|
||||
}
|
||||
10
apps/swagger/eis/src/lib/models/entity-dto.ts
Normal file
10
apps/swagger/eis/src/lib/models/entity-dto.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* tslint:disable */
|
||||
import { EntityStatus } from './entity-status';
|
||||
export interface EntityDTO {
|
||||
id?: number;
|
||||
created?: string;
|
||||
changed?: string;
|
||||
version?: number;
|
||||
status?: EntityStatus;
|
||||
pId?: string;
|
||||
}
|
||||
@@ -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 { FileDTO } from './file-dto';
|
||||
export interface EntityDTOContainerOfFileDTO extends EntityDTOReferenceContainer {
|
||||
data?: FileDTO;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfArticleDTOAndArticle } from './read-only-entity-dtoof-article-dtoand-article';
|
||||
export interface EntityDTOOfArticleDTOAndArticle extends ReadOnlyEntityDTOOfArticleDTOAndArticle {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfBranchDTOAndReadOnlyBranch } from './read-only-entity-dtoof-branch-dtoand-read-only-branch';
|
||||
export interface EntityDTOOfBranchDTOAndReadOnlyBranch extends ReadOnlyEntityDTOOfBranchDTOAndReadOnlyBranch {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfConfirmationDTOAndConfirmation } from './read-only-entity-dtoof-confirmation-dtoand-confirmation';
|
||||
export interface EntityDTOOfConfirmationDTOAndConfirmation extends ReadOnlyEntityDTOOfConfirmationDTOAndConfirmation {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfDisplayInfoDTOAndDisplayInfo } from './read-only-entity-dtoof-display-info-dtoand-display-info';
|
||||
export interface EntityDTOOfDisplayInfoDTOAndDisplayInfo extends ReadOnlyEntityDTOOfDisplayInfoDTOAndDisplayInfo {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfFileDTOAndFile } from './read-only-entity-dtoof-file-dtoand-file';
|
||||
export interface EntityDTOOfFileDTOAndFile extends ReadOnlyEntityDTOOfFileDTOAndFile {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { ReadOnlyEntityDTOOfInfoDTOAndInfo } from './read-only-entity-dtoof-info-dtoand-info';
|
||||
export interface EntityDTOOfInfoDTOAndInfo extends ReadOnlyEntityDTOOfInfoDTOAndInfo {
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
/* tslint:disable */
|
||||
import { ExternalReferenceDTO } from './external-reference-dto';
|
||||
export interface EntityDTOReferenceContainer {
|
||||
id?: number;
|
||||
pId?: string;
|
||||
externalReference?: ExternalReferenceDTO;
|
||||
displayLabel?: string;
|
||||
enabled?: boolean;
|
||||
selected?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
/* tslint:disable */
|
||||
export interface EntityKeyValueDTOOfStringAndString {
|
||||
id?: number;
|
||||
pId?: string;
|
||||
enabled?: boolean;
|
||||
key?: string;
|
||||
value?: string;
|
||||
selected?: boolean;
|
||||
}
|
||||
2
apps/swagger/eis/src/lib/models/entity-status.ts
Normal file
2
apps/swagger/eis/src/lib/models/entity-status.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type EntityStatus = 0 | 1 | 2 | 4 | 8;
|
||||
11
apps/swagger/eis/src/lib/models/external-reference-dto.ts
Normal file
11
apps/swagger/eis/src/lib/models/external-reference-dto.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* tslint:disable */
|
||||
import { EntityStatus } from './entity-status';
|
||||
export interface ExternalReferenceDTO {
|
||||
externalPK?: string;
|
||||
externalNumber?: string;
|
||||
externalCreated?: string;
|
||||
externalChanged?: string;
|
||||
externalStatus: EntityStatus;
|
||||
externalVersion?: number;
|
||||
externalRepository?: string;
|
||||
}
|
||||
13
apps/swagger/eis/src/lib/models/file-dto.ts
Normal file
13
apps/swagger/eis/src/lib/models/file-dto.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfFileDTOAndFile } from './entity-dtoof-file-dtoand-file';
|
||||
export interface FileDTO extends EntityDTOOfFileDTOAndFile {
|
||||
name?: string;
|
||||
type?: string;
|
||||
path?: string;
|
||||
mime?: string;
|
||||
hash?: string;
|
||||
size?: number;
|
||||
subtitle?: string;
|
||||
copyright?: string;
|
||||
content?: string;
|
||||
}
|
||||
46
apps/swagger/eis/src/lib/models/info-dto.ts
Normal file
46
apps/swagger/eis/src/lib/models/info-dto.ts
Normal file
@@ -0,0 +1,46 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOOfInfoDTOAndInfo } from './entity-dtoof-info-dtoand-info';
|
||||
import { InfoStatus } from './info-status';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
import { InfoType } from './info-type';
|
||||
import { EntityDTOContainerOfFileDTO } from './entity-dtocontainer-of-file-dto';
|
||||
import { TaskType } from './task-type';
|
||||
import { EntityDTOContainerOfArticleDTO } from './entity-dtocontainer-of-article-dto';
|
||||
import { EntityDTOContainerOfConfirmationDTO } from './entity-dtocontainer-of-confirmation-dto';
|
||||
export interface InfoDTO extends EntityDTOOfInfoDTOAndInfo {
|
||||
archiveDate?: string;
|
||||
infoStatus?: InfoStatus;
|
||||
branches?: Array<EntityDTOContainerOfBranchDTO>;
|
||||
infoType?: InfoType;
|
||||
displayChannel?: string;
|
||||
isPublic?: boolean;
|
||||
isSonderinfo?: boolean;
|
||||
title?: string;
|
||||
category?: string;
|
||||
body?: string;
|
||||
files?: Array<EntityDTOContainerOfFileDTO>;
|
||||
images?: Array<EntityDTOContainerOfFileDTO>;
|
||||
taskType?: TaskType;
|
||||
taskDate?: string;
|
||||
taskOverdueDate?: string;
|
||||
taskOwner?: string;
|
||||
publicationDate?: string;
|
||||
owner?: string;
|
||||
validDurationInDays?: number;
|
||||
relevanceIsAllDay?: boolean;
|
||||
relevanceHourFrom?: string;
|
||||
relevanceHourTo?: string;
|
||||
displayListStart?: string;
|
||||
displayListStartIsAllDay?: boolean;
|
||||
displayListStartHourFrom?: string;
|
||||
displayListStartHourTo?: string;
|
||||
displayListStop?: string;
|
||||
displayListStopIsAllDay?: boolean;
|
||||
displayListStopHourFrom?: string;
|
||||
displayListStopHourTo?: string;
|
||||
requiresImageOnConfirmation?: boolean;
|
||||
articles?: Array<EntityDTOContainerOfArticleDTO>;
|
||||
confirmation?: Array<EntityDTOContainerOfConfirmationDTO>;
|
||||
approval?: string;
|
||||
approvalBy?: string;
|
||||
}
|
||||
2
apps/swagger/eis/src/lib/models/info-status.ts
Normal file
2
apps/swagger/eis/src/lib/models/info-status.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type InfoStatus = 0 | 1 | 2 | 3 | 4;
|
||||
2
apps/swagger/eis/src/lib/models/info-type.ts
Normal file
2
apps/swagger/eis/src/lib/models/info-type.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type InfoType = 0 | 1 | 2;
|
||||
7
apps/swagger/eis/src/lib/models/ipublic-user-info.ts
Normal file
7
apps/swagger/eis/src/lib/models/ipublic-user-info.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
/* tslint:disable */
|
||||
export interface IPublicUserInfo {
|
||||
alias?: string;
|
||||
displayName?: string;
|
||||
username?: string;
|
||||
isAuthenticated: boolean;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfBranchDTO } from './response-args-of-ienumerable-of-branch-dto';
|
||||
export interface ListResponseArgsOfBranchDTO extends ResponseArgsOfIEnumerableOfBranchDTO {
|
||||
skip?: number;
|
||||
take?: number;
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfDisplayInfoDTO } from './response-args-of-ienumerable-of-display-info-dto';
|
||||
export interface ListResponseArgsOfDisplayInfoDTO extends ResponseArgsOfIEnumerableOfDisplayInfoDTO {
|
||||
skip?: number;
|
||||
take?: number;
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfInfoDTO } from './response-args-of-ienumerable-of-info-dto';
|
||||
export interface ListResponseArgsOfInfoDTO extends ResponseArgsOfIEnumerableOfInfoDTO {
|
||||
skip?: number;
|
||||
take?: number;
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
}
|
||||
9
apps/swagger/eis/src/lib/models/problem-details.ts
Normal file
9
apps/swagger/eis/src/lib/models/problem-details.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* tslint:disable */
|
||||
export interface ProblemDetails {
|
||||
type?: string;
|
||||
title?: string;
|
||||
status?: number;
|
||||
detail?: string;
|
||||
instance?: string;
|
||||
extensions?: {[key: string]: any};
|
||||
}
|
||||
2
apps/swagger/eis/src/lib/models/processing-status.ts
Normal file
2
apps/swagger/eis/src/lib/models/processing-status.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type ProcessingStatus = 0 | 1 | 2 | 4 | 8 | 16;
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
export interface ReadOnlyEntityDTOOfArticleDTOAndArticle extends EntityDTO {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
export interface ReadOnlyEntityDTOOfBranchDTOAndReadOnlyBranch extends EntityDTO {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
export interface ReadOnlyEntityDTOOfConfirmationDTOAndConfirmation extends EntityDTO {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
export interface ReadOnlyEntityDTOOfDisplayInfoDTOAndDisplayInfo extends EntityDTO {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
export interface ReadOnlyEntityDTOOfFileDTOAndFile extends EntityDTO {
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
export interface ReadOnlyEntityDTOOfInfoDTOAndInfo extends EntityDTO {
|
||||
}
|
||||
@@ -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 { 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 { 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;
|
||||
}
|
||||
9
apps/swagger/eis/src/lib/models/response-args.ts
Normal file
9
apps/swagger/eis/src/lib/models/response-args.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* tslint:disable */
|
||||
import { IPublicUserInfo } from './ipublic-user-info';
|
||||
export interface ResponseArgs {
|
||||
error: boolean;
|
||||
message?: string;
|
||||
requestId?: number;
|
||||
userInfo?: IPublicUserInfo;
|
||||
invalidProperties?: {[key: string]: string};
|
||||
}
|
||||
2
apps/swagger/eis/src/lib/models/task-type.ts
Normal file
2
apps/swagger/eis/src/lib/models/task-type.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
/* tslint:disable */
|
||||
export type TaskType = 0 | 1 | 2;
|
||||
2
apps/swagger/eis/src/lib/services.ts
Normal file
2
apps/swagger/eis/src/lib/services.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export { EISBackendService } from './services/eisbackend.service';
|
||||
export { EISPublicService } from './services/eispublic.service';
|
||||
613
apps/swagger/eis/src/lib/services/eisbackend.service.ts
Normal file
613
apps/swagger/eis/src/lib/services/eisbackend.service.ts
Normal file
@@ -0,0 +1,613 @@
|
||||
/* 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 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';
|
||||
|
||||
constructor(
|
||||
config: __Configuration,
|
||||
http: HttpClient
|
||||
) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @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)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISBackendService.EISBackendGetInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `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.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());
|
||||
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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISBackendService.EISBackendGetInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*
|
||||
* - `eagerLoading`:
|
||||
*
|
||||
* - `archive`:
|
||||
*/
|
||||
EISBackendGetInfos(params: EISBackendService.EISBackendGetInfosParams): __Observable<ListResponseArgsOfInfoDTO> {
|
||||
return this.EISBackendGetInfosResponse(params).pipe(
|
||||
__map(_r => _r.body as ListResponseArgsOfInfoDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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/${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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param infoId undefined
|
||||
*/
|
||||
EISBackendDeleteInfo(infoId: number): __Observable<ResponseArgsOfBoolean> {
|
||||
return this.EISBackendDeleteInfoResponse(infoId).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfBoolean)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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/${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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @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)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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/${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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @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)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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/${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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @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)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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/${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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @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)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISBackendService.EISBackendGetBranchesParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
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());
|
||||
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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISBackendService.EISBackendGetBranchesParams` containing the following parameters:
|
||||
*
|
||||
* - `take`:
|
||||
*
|
||||
* - `skip`:
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISBackendGetBranches(params: EISBackendService.EISBackendGetBranchesParams): __Observable<ListResponseArgsOfBranchDTO> {
|
||||
return this.EISBackendGetBranchesResponse(params).pipe(
|
||||
__map(_r => _r.body as ListResponseArgsOfBranchDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISBackendGetCategories(locale?: null | string): __Observable<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString> {
|
||||
return this.EISBackendGetCategoriesResponse(locale).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISBackendGetDisplayChannels(locale?: null | string): __Observable<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString> {
|
||||
return this.EISBackendGetDisplayChannelsResponse(locale).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
module EISBackendService {
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendCreateInfo
|
||||
*/
|
||||
export interface EISBackendCreateInfoParams {
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
infoDTO: InfoDTO;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISBackendGetInfos
|
||||
*/
|
||||
export interface EISBackendGetInfosParams {
|
||||
take?: null | number;
|
||||
skip?: null | number;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
eagerLoading?: number;
|
||||
archive?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* 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: null | 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;
|
||||
}
|
||||
}
|
||||
|
||||
export { EISBackendService }
|
||||
860
apps/swagger/eis/src/lib/services/eispublic.service.ts
Normal file
860
apps/swagger/eis/src/lib/services/eispublic.service.ts
Normal file
@@ -0,0 +1,860 @@
|
||||
/* 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 { ListResponseArgsOfDisplayInfoDTO } from '../models/list-response-args-of-display-info-dto';
|
||||
import { DisplayInfoRequest } from '../models/display-info-request';
|
||||
import { DashboardInfoRequest } from '../models/dashboard-info-request';
|
||||
import { ResponseArgsOfEntityDTOContainerOfBranchDTO } from '../models/response-args-of-entity-dtocontainer-of-branch-dto';
|
||||
import { ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString } from '../models/response-args-of-ienumerable-of-entity-key-value-dtoof-string-and-string';
|
||||
import { ResponseArgsOfDisplayInfoDTO } from '../models/response-args-of-display-info-dto';
|
||||
import { ResponseArgsOfConfirmationDTO } from '../models/response-args-of-confirmation-dto';
|
||||
import { ResponseArgs } from '../models/response-args';
|
||||
import { FileDTO } from '../models/file-dto';
|
||||
import { ResponseArgsOfIEnumerableOfFileDTO } from '../models/response-args-of-ienumerable-of-file-dto';
|
||||
import { ResponseArgsOfIEnumerableOfArticleDTO } from '../models/response-args-of-ienumerable-of-article-dto';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
class EISPublicService extends __BaseService {
|
||||
static readonly EISPublicGetDisplayInfosPath = '/eis/intranet/info';
|
||||
static readonly EISPublicGetDashboardInfosPath = '/eis/intranet/dashboard';
|
||||
static readonly EISPublicGetCurrentBranchPath = '/eis/intranet/currentbranch';
|
||||
static readonly EISPublicGetCategoriesPath = '/eis/intranet/categories';
|
||||
static readonly EISPublicGetDisplayInfoByIdPath = '/eis/intranet/info/{infoId}';
|
||||
static readonly EISPublicSetInfoToEditPath = '/eis/intranet/info/{infoId}/edit';
|
||||
static readonly EISPublicResetConfirmationPath = '/eis/intranet/info/{infoId}/reset';
|
||||
static readonly EISPublicCompleteConfirmationPath = '/eis/intranet/info/{infoId}/complete';
|
||||
static readonly EISPublicGetFilesPath = '/eis/intranet/info/{infoId}/file';
|
||||
static readonly EISPublicGetFileContentPath = '/eis/intranet/file/{fileId}';
|
||||
static readonly EISPublicGetTeaserImagePath = '/eis/intranet/info/{infoId}/image/teaser';
|
||||
static readonly EISPublicGetImagesPath = '/eis/intranet/info/{infoId}/image';
|
||||
static readonly EISPublicGetArticlesPath = '/eis/intranet/info/{infoId}/article';
|
||||
static readonly EISPublicGetConfirmationFilesPath = '/eis/intranet/info/{infoId}/confirmation/{confirmationId}/file';
|
||||
|
||||
constructor(
|
||||
config: __Configuration,
|
||||
http: HttpClient
|
||||
) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetDisplayInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `data`: Abfragedaten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISPublicGetDisplayInfosResponse(params: EISPublicService.EISPublicGetDisplayInfosParams): __Observable<__StrictHttpResponse<ListResponseArgsOfDisplayInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = params.data;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'POST',
|
||||
this.rootUrl + `/eis/intranet/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<ListResponseArgsOfDisplayInfoDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetDisplayInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `data`: Abfragedaten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISPublicGetDisplayInfos(params: EISPublicService.EISPublicGetDisplayInfosParams): __Observable<ListResponseArgsOfDisplayInfoDTO> {
|
||||
return this.EISPublicGetDisplayInfosResponse(params).pipe(
|
||||
__map(_r => _r.body as ListResponseArgsOfDisplayInfoDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetDashboardInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `data`: Abfragedaten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISPublicGetDashboardInfosResponse(params: EISPublicService.EISPublicGetDashboardInfosParams): __Observable<__StrictHttpResponse<ListResponseArgsOfDisplayInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = params.data;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'POST',
|
||||
this.rootUrl + `/eis/intranet/dashboard`,
|
||||
__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<ListResponseArgsOfDisplayInfoDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetDashboardInfosParams` containing the following parameters:
|
||||
*
|
||||
* - `data`: Abfragedaten
|
||||
*
|
||||
* - `locale`: Lokalisierung
|
||||
*/
|
||||
EISPublicGetDashboardInfos(params: EISPublicService.EISPublicGetDashboardInfosParams): __Observable<ListResponseArgsOfDisplayInfoDTO> {
|
||||
return this.EISPublicGetDashboardInfosResponse(params).pipe(
|
||||
__map(_r => _r.body as ListResponseArgsOfDisplayInfoDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetCurrentBranchParams` containing the following parameters:
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*
|
||||
* - `eagerLoading`: eagerLoading (optional)
|
||||
*/
|
||||
EISPublicGetCurrentBranchResponse(params: EISPublicService.EISPublicGetCurrentBranchParams): __Observable<__StrictHttpResponse<ResponseArgsOfEntityDTOContainerOfBranchDTO>> {
|
||||
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/intranet/currentbranch`,
|
||||
__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<ResponseArgsOfEntityDTOContainerOfBranchDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetCurrentBranchParams` containing the following parameters:
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*
|
||||
* - `eagerLoading`: eagerLoading (optional)
|
||||
*/
|
||||
EISPublicGetCurrentBranch(params: EISPublicService.EISPublicGetCurrentBranchParams): __Observable<ResponseArgsOfEntityDTOContainerOfBranchDTO> {
|
||||
return this.EISPublicGetCurrentBranchResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfEntityDTOContainerOfBranchDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicGetCategoriesResponse(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/intranet/categories`,
|
||||
__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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param locale Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicGetCategories(locale?: null | string): __Observable<ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString> {
|
||||
return this.EISPublicGetCategoriesResponse(locale).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetDisplayInfoByIdParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetDisplayInfoByIdResponse(params: EISPublicService.EISPublicGetDisplayInfoByIdParams): __Observable<__StrictHttpResponse<ResponseArgsOfDisplayInfoDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'GET',
|
||||
this.rootUrl + `/eis/intranet/info/${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<ResponseArgsOfDisplayInfoDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetDisplayInfoByIdParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetDisplayInfoById(params: EISPublicService.EISPublicGetDisplayInfoByIdParams): __Observable<ResponseArgsOfDisplayInfoDTO> {
|
||||
return this.EISPublicGetDisplayInfoByIdResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfDisplayInfoDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicSetInfoToEditParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicSetInfoToEditResponse(params: EISPublicService.EISPublicSetInfoToEditParams): __Observable<__StrictHttpResponse<ResponseArgsOfConfirmationDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'PATCH',
|
||||
this.rootUrl + `/eis/intranet/info/${params.infoId}/edit`,
|
||||
__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<ResponseArgsOfConfirmationDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicSetInfoToEditParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicSetInfoToEdit(params: EISPublicService.EISPublicSetInfoToEditParams): __Observable<ResponseArgsOfConfirmationDTO> {
|
||||
return this.EISPublicSetInfoToEditResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfConfirmationDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicResetConfirmationParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicResetConfirmationResponse(params: EISPublicService.EISPublicResetConfirmationParams): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'PATCH',
|
||||
this.rootUrl + `/eis/intranet/info/${params.infoId}/reset`,
|
||||
__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<ResponseArgs>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicResetConfirmationParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicResetConfirmation(params: EISPublicService.EISPublicResetConfirmationParams): __Observable<ResponseArgs> {
|
||||
return this.EISPublicResetConfirmationResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgs)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicCompleteConfirmationParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `file`: Datei (optional)
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicCompleteConfirmationResponse(params: EISPublicService.EISPublicCompleteConfirmationParams): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.file;
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'PATCH',
|
||||
this.rootUrl + `/eis/intranet/info/${params.infoId}/complete`,
|
||||
__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<ResponseArgs>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicCompleteConfirmationParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `file`: Datei (optional)
|
||||
*
|
||||
* - `locale`: Lokalisierung (optional)
|
||||
*/
|
||||
EISPublicCompleteConfirmation(params: EISPublicService.EISPublicCompleteConfirmationParams): __Observable<ResponseArgs> {
|
||||
return this.EISPublicCompleteConfirmationResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgs)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetFilesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetFilesResponse(params: EISPublicService.EISPublicGetFilesParams): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfFileDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'GET',
|
||||
this.rootUrl + `/eis/intranet/info/${params.infoId}/file`,
|
||||
__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<ResponseArgsOfIEnumerableOfFileDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetFilesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetFiles(params: EISPublicService.EISPublicGetFilesParams): __Observable<ResponseArgsOfIEnumerableOfFileDTO> {
|
||||
return this.EISPublicGetFilesResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfIEnumerableOfFileDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetFileContentParams` containing the following parameters:
|
||||
*
|
||||
* - `fileId`: Datei PK
|
||||
*
|
||||
* - `download`: Datei wird als Download gesendet (optional)
|
||||
*
|
||||
* @return Datei
|
||||
*/
|
||||
EISPublicGetFileContentResponse(params: EISPublicService.EISPublicGetFileContentParams): __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/intranet/file/${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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetFileContentParams` containing the following parameters:
|
||||
*
|
||||
* - `fileId`: Datei PK
|
||||
*
|
||||
* - `download`: Datei wird als Download gesendet (optional)
|
||||
*
|
||||
* @return Datei
|
||||
*/
|
||||
EISPublicGetFileContent(params: EISPublicService.EISPublicGetFileContentParams): __Observable<Blob> {
|
||||
return this.EISPublicGetFileContentResponse(params).pipe(
|
||||
__map(_r => _r.body as Blob)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetTeaserImageParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `download`: Datei wird als Download gesendet (optional)
|
||||
*
|
||||
* @return Datei
|
||||
*/
|
||||
EISPublicGetTeaserImageResponse(params: EISPublicService.EISPublicGetTeaserImageParams): __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/intranet/info/${params.infoId}/image/teaser`,
|
||||
__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>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetTeaserImageParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `download`: Datei wird als Download gesendet (optional)
|
||||
*
|
||||
* @return Datei
|
||||
*/
|
||||
EISPublicGetTeaserImage(params: EISPublicService.EISPublicGetTeaserImageParams): __Observable<Blob> {
|
||||
return this.EISPublicGetTeaserImageResponse(params).pipe(
|
||||
__map(_r => _r.body as Blob)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetImagesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetImagesResponse(params: EISPublicService.EISPublicGetImagesParams): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfFileDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'GET',
|
||||
this.rootUrl + `/eis/intranet/info/${params.infoId}/image`,
|
||||
__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<ResponseArgsOfIEnumerableOfFileDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetImagesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetImages(params: EISPublicService.EISPublicGetImagesParams): __Observable<ResponseArgsOfIEnumerableOfFileDTO> {
|
||||
return this.EISPublicGetImagesResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfIEnumerableOfFileDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetArticlesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetArticlesResponse(params: EISPublicService.EISPublicGetArticlesParams): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfArticleDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'GET',
|
||||
this.rootUrl + `/eis/intranet/info/${params.infoId}/article`,
|
||||
__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<ResponseArgsOfIEnumerableOfArticleDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetArticlesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetArticles(params: EISPublicService.EISPublicGetArticlesParams): __Observable<ResponseArgsOfIEnumerableOfArticleDTO> {
|
||||
return this.EISPublicGetArticlesResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfIEnumerableOfArticleDTO)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetConfirmationFilesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `confirmationId`: Aufgabenabschluss PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetConfirmationFilesResponse(params: EISPublicService.EISPublicGetConfirmationFilesParams): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfFileDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
|
||||
if (params.locale != null) __params = __params.set('locale', params.locale.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'GET',
|
||||
this.rootUrl + `/eis/intranet/info/${params.infoId}/confirmation/${params.confirmationId}/file`,
|
||||
__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<ResponseArgsOfIEnumerableOfFileDTO>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param params The `EISPublicService.EISPublicGetConfirmationFilesParams` containing the following parameters:
|
||||
*
|
||||
* - `infoId`: Info PK
|
||||
*
|
||||
* - `confirmationId`: Aufgabenabschluss PK
|
||||
*
|
||||
* - `locale`:
|
||||
*/
|
||||
EISPublicGetConfirmationFiles(params: EISPublicService.EISPublicGetConfirmationFilesParams): __Observable<ResponseArgsOfIEnumerableOfFileDTO> {
|
||||
return this.EISPublicGetConfirmationFilesResponse(params).pipe(
|
||||
__map(_r => _r.body as ResponseArgsOfIEnumerableOfFileDTO)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
module EISPublicService {
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetDisplayInfos
|
||||
*/
|
||||
export interface EISPublicGetDisplayInfosParams {
|
||||
|
||||
/**
|
||||
* Abfragedaten
|
||||
*/
|
||||
data: DisplayInfoRequest;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetDashboardInfos
|
||||
*/
|
||||
export interface EISPublicGetDashboardInfosParams {
|
||||
|
||||
/**
|
||||
* Abfragedaten
|
||||
*/
|
||||
data: DashboardInfoRequest;
|
||||
|
||||
/**
|
||||
* Lokalisierung
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetCurrentBranch
|
||||
*/
|
||||
export interface EISPublicGetCurrentBranchParams {
|
||||
|
||||
/**
|
||||
* Lokalisierung (optional)
|
||||
*/
|
||||
locale?: null | string;
|
||||
|
||||
/**
|
||||
* eagerLoading (optional)
|
||||
*/
|
||||
eagerLoading?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetDisplayInfoById
|
||||
*/
|
||||
export interface EISPublicGetDisplayInfoByIdParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicSetInfoToEdit
|
||||
*/
|
||||
export interface EISPublicSetInfoToEditParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Lokalisierung (optional)
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicResetConfirmation
|
||||
*/
|
||||
export interface EISPublicResetConfirmationParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Lokalisierung (optional)
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicCompleteConfirmation
|
||||
*/
|
||||
export interface EISPublicCompleteConfirmationParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Datei (optional)
|
||||
*/
|
||||
file: FileDTO;
|
||||
|
||||
/**
|
||||
* Lokalisierung (optional)
|
||||
*/
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetFiles
|
||||
*/
|
||||
export interface EISPublicGetFilesParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetFileContent
|
||||
*/
|
||||
export interface EISPublicGetFileContentParams {
|
||||
|
||||
/**
|
||||
* Datei PK
|
||||
*/
|
||||
fileId: number;
|
||||
|
||||
/**
|
||||
* Datei wird als Download gesendet (optional)
|
||||
*/
|
||||
download?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetTeaserImage
|
||||
*/
|
||||
export interface EISPublicGetTeaserImageParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Datei wird als Download gesendet (optional)
|
||||
*/
|
||||
download?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetImages
|
||||
*/
|
||||
export interface EISPublicGetImagesParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetArticles
|
||||
*/
|
||||
export interface EISPublicGetArticlesParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
locale?: null | string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for EISPublicGetConfirmationFiles
|
||||
*/
|
||||
export interface EISPublicGetConfirmationFilesParams {
|
||||
|
||||
/**
|
||||
* Info PK
|
||||
*/
|
||||
infoId: number;
|
||||
|
||||
/**
|
||||
* Aufgabenabschluss PK
|
||||
*/
|
||||
confirmationId: number;
|
||||
locale?: null | string;
|
||||
}
|
||||
}
|
||||
|
||||
export { EISPublicService }
|
||||
9
apps/swagger/eis/src/lib/strict-http-response.ts
Normal file
9
apps/swagger/eis/src/lib/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;
|
||||
}
|
||||
5
apps/swagger/eis/src/public-api.ts
Normal file
5
apps/swagger/eis/src/public-api.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
/*
|
||||
* Public API Surface of eis
|
||||
*/
|
||||
|
||||
export * from './lib';
|
||||
21
apps/swagger/eis/src/test.ts
Normal file
21
apps/swagger/eis/src/test.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
// This file is required by karma.conf.js and loads recursively all the .spec and framework files
|
||||
|
||||
import 'zone.js/dist/zone';
|
||||
import 'zone.js/dist/zone-testing';
|
||||
import { getTestBed } from '@angular/core/testing';
|
||||
import {
|
||||
BrowserDynamicTestingModule,
|
||||
platformBrowserDynamicTesting
|
||||
} from '@angular/platform-browser-dynamic/testing';
|
||||
|
||||
declare const require: any;
|
||||
|
||||
// First, initialize the Angular testing environment.
|
||||
getTestBed().initTestEnvironment(
|
||||
BrowserDynamicTestingModule,
|
||||
platformBrowserDynamicTesting()
|
||||
);
|
||||
// Then we find all the tests.
|
||||
const context = require.context('./', true, /\.spec\.ts$/);
|
||||
// And load the modules.
|
||||
context.keys().map(context);
|
||||
26
apps/swagger/eis/tsconfig.lib.json
Normal file
26
apps/swagger/eis/tsconfig.lib.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"extends": "../../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../../out-tsc/lib",
|
||||
"target": "es2015",
|
||||
"declaration": true,
|
||||
"inlineSources": true,
|
||||
"types": [],
|
||||
"lib": [
|
||||
"dom",
|
||||
"es2018"
|
||||
]
|
||||
},
|
||||
"angularCompilerOptions": {
|
||||
"annotateForClosureCompiler": true,
|
||||
"skipTemplateCodegen": true,
|
||||
"strictMetadataEmit": true,
|
||||
"fullTemplateTypeCheck": true,
|
||||
"strictInjectionParameters": true,
|
||||
"enableResourceInlining": true
|
||||
},
|
||||
"exclude": [
|
||||
"src/test.ts",
|
||||
"**/*.spec.ts"
|
||||
]
|
||||
}
|
||||
17
apps/swagger/eis/tsconfig.spec.json
Normal file
17
apps/swagger/eis/tsconfig.spec.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"extends": "../../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "../../../out-tsc/spec",
|
||||
"types": [
|
||||
"jasmine",
|
||||
"node"
|
||||
]
|
||||
},
|
||||
"files": [
|
||||
"src/test.ts"
|
||||
],
|
||||
"include": [
|
||||
"**/*.spec.ts",
|
||||
"**/*.d.ts"
|
||||
]
|
||||
}
|
||||
17
apps/swagger/eis/tslint.json
Normal file
17
apps/swagger/eis/tslint.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"extends": "../../../tslint.json",
|
||||
"rules": {
|
||||
"directive-selector": [
|
||||
true,
|
||||
"attribute",
|
||||
"lib",
|
||||
"camelCase"
|
||||
],
|
||||
"component-selector": [
|
||||
true,
|
||||
"element",
|
||||
"lib",
|
||||
"kebab-case"
|
||||
]
|
||||
}
|
||||
}
|
||||
15
ng-swagger-gen/eis.json
Normal file
15
ng-swagger-gen/eis.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
|
||||
"swagger": "https://filialinformationsystem-integration.paragon-systems.de/eiswebapi/v1/swagger.json",
|
||||
"output": "apps/swagger/eis/src/lib",
|
||||
"prefix": "Eis",
|
||||
"minParamsForContainer": 2,
|
||||
"sortParams": "desc",
|
||||
"defaultTag": "Eis",
|
||||
"removeStaleFiles": true,
|
||||
"modelIndex": true,
|
||||
"serviceIndex": true,
|
||||
"apiModule": true,
|
||||
"enumModule": true,
|
||||
"generateExamples": false
|
||||
}
|
||||
35
package-lock.json
generated
35
package-lock.json
generated
@@ -3314,6 +3314,26 @@
|
||||
"tslib": "^1.9.0"
|
||||
}
|
||||
},
|
||||
"@ngrx/effects": {
|
||||
"version": "8.6.0",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/@ngrx/effects/-/effects-8.6.0.tgz",
|
||||
"integrity": "sha1-oNczlZelEoxc+Jbdz5P3NAakWGA="
|
||||
},
|
||||
"@ngrx/entity": {
|
||||
"version": "8.6.0",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/@ngrx/entity/-/entity-8.6.0.tgz",
|
||||
"integrity": "sha1-Y+eHXQ6D5VIkm4t1u5tquiSMrio="
|
||||
},
|
||||
"@ngrx/store": {
|
||||
"version": "8.6.0",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/@ngrx/store/-/store-8.6.0.tgz",
|
||||
"integrity": "sha1-hUDFvUCzP8L0Q+fob0fA2AG49BM="
|
||||
},
|
||||
"@ngrx/store-devtools": {
|
||||
"version": "8.6.0",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/@ngrx/store-devtools/-/store-devtools-8.6.0.tgz",
|
||||
"integrity": "sha1-rCh+SwlNCZeBzcnzKBA5wOmIKWw="
|
||||
},
|
||||
"@ngtools/webpack": {
|
||||
"version": "8.3.26",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/@ngtools/webpack/-/webpack-8.3.26.tgz",
|
||||
@@ -5881,6 +5901,12 @@
|
||||
"integrity": "sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw=",
|
||||
"dev": true
|
||||
},
|
||||
"deep-freeze-strict": {
|
||||
"version": "1.1.1",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/deep-freeze-strict/-/deep-freeze-strict-1.1.1.tgz",
|
||||
"integrity": "sha1-d9BYPKJKab5LvZrC+uQV1VUj5bA=",
|
||||
"dev": true
|
||||
},
|
||||
"default-gateway": {
|
||||
"version": "4.2.0",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/default-gateway/-/default-gateway-4.2.0.tgz",
|
||||
@@ -10629,6 +10655,15 @@
|
||||
"mustache": "^2.3.2"
|
||||
}
|
||||
},
|
||||
"ngrx-store-freeze": {
|
||||
"version": "0.2.4",
|
||||
"resolved": "https://pkgs.dev.azure.com/hugendubel/_packaging/hugendubel/npm/registry/ngrx-store-freeze/-/ngrx-store-freeze-0.2.4.tgz",
|
||||
"integrity": "sha1-FGaHzffiEkTrkAPH6IPyElhHB2w=",
|
||||
"dev": true,
|
||||
"requires": {
|
||||
"deep-freeze-strict": "^1.1.1"
|
||||
}
|
||||
},
|
||||
"ngx-infinite-scroll": {
|
||||
"version": "7.2.0",
|
||||
"resolved": "https://registry.npmjs.org/ngx-infinite-scroll/-/ngx-infinite-scroll-7.2.0.tgz",
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
"build:lib:swagger-isa": "ng build @swagger/isa",
|
||||
"build:lib:swagger-oms": "ng build @swagger/oms",
|
||||
"build:lib:swagger-print": "ng build @swagger/print",
|
||||
"build:lib:swagger-eis": "ng build @swagger/eis",
|
||||
"gen:swagger": "npm-run-all -l -n gen:swagger:*",
|
||||
"gen:swagger:availability": "ng-swagger-gen --config ng-swagger-gen/availability.json",
|
||||
"gen:swagger:cat": "ng-swagger-gen --config ng-swagger-gen/cat.json",
|
||||
@@ -29,7 +30,8 @@
|
||||
"gen:swagger:crm": "ng-swagger-gen --config ng-swagger-gen/crm.json",
|
||||
"gen:swagger:isa": "ng-swagger-gen --config ng-swagger-gen/isa.json",
|
||||
"gen:swagger:oms": "ng-swagger-gen --config ng-swagger-gen/oms.json",
|
||||
"gen:swagger:print": "ng-swagger-gen --config ng-swagger-gen/print.json"
|
||||
"gen:swagger:print": "ng-swagger-gen --config ng-swagger-gen/print.json",
|
||||
"gen:swagger:eis": "ng-swagger-gen --config ng-swagger-gen/eis.json"
|
||||
},
|
||||
"prettier": {
|
||||
"singleQuote": true,
|
||||
@@ -60,6 +62,10 @@
|
||||
"@ng-idle/core": "^8.0.0-beta.4",
|
||||
"@ng-idle/keepalive": "^8.0.0-beta.4",
|
||||
"@ngxs/store": "^3.6.2",
|
||||
"@ngrx/effects": "^8.6.0",
|
||||
"@ngrx/entity": "^8.6.0",
|
||||
"@ngrx/store": "^8.6.0",
|
||||
"@ngrx/store-devtools": "^8.6.0",
|
||||
"@types/faker": "^4.1.5",
|
||||
"@zxing/ngx-scanner": "^1.3.0",
|
||||
"angular-oauth2-oidc": "^8.0.4",
|
||||
@@ -105,6 +111,7 @@
|
||||
"karma-jasmine-html-reporter": "^0.2.2",
|
||||
"ng-packagr": "^5.7.1",
|
||||
"ng-swagger-gen": "^1.5.0",
|
||||
"ngrx-store-freeze": "^0.2.4",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"protractor": "~5.4.0",
|
||||
"ts-node": "~7.0.0",
|
||||
|
||||
109
tsconfig.json
109
tsconfig.json
@@ -11,32 +11,89 @@
|
||||
"experimentalDecorators": true,
|
||||
"importHelpers": false,
|
||||
"target": "es5",
|
||||
"typeRoots": ["node_modules/@types"],
|
||||
"lib": ["es2018", "dom"],
|
||||
"typeRoots": [
|
||||
"node_modules/@types"
|
||||
],
|
||||
"lib": [
|
||||
"es2018",
|
||||
"dom"
|
||||
],
|
||||
"paths": {
|
||||
"@libs/ui": ["libs/ui/src"],
|
||||
"@libs/ui/*": ["libs/ui/src/*"],
|
||||
"sso": ["libs/sso/src/lib"],
|
||||
"sso/*": ["libs/sso/src/lib/*"],
|
||||
"@sales/core-services": ["apps/sales/src/app/core/services/index.ts"],
|
||||
"@swagger/availability": ["dist/swagger/availability"],
|
||||
"@swagger/availability/*": ["dist/swagger/availability/*"],
|
||||
"@swagger/checkout": ["dist/swagger/checkout"],
|
||||
"@swagger/checkout/*": ["dist/swagger/checkout/*"],
|
||||
"@swagger/crm": ["dist/swagger/crm"],
|
||||
"@swagger/crm/*": ["dist/swagger/crm/*"],
|
||||
"@swagger/isa": ["dist/swagger/isa"],
|
||||
"@swagger/isa/*": ["dist/swagger/isa/*"],
|
||||
"@swagger/oms": ["dist/swagger/oms"],
|
||||
"@swagger/oms/*": ["dist/swagger/oms/*"],
|
||||
"@swagger/print": ["dist/swagger/print"],
|
||||
"@swagger/print/*": ["dist/swagger/print/*"],
|
||||
"@swagger/cat-search": ["dist/swagger/cat-search"],
|
||||
"@swagger/cat-search/*": ["dist/swagger/cat-search/*"],
|
||||
"@swagger/cat": ["dist/swagger/cat"],
|
||||
"@swagger/cat/*": ["dist/swagger/cat/*"],
|
||||
"shared": ["libs/shared/src"],
|
||||
"shared/*": ["libs/shared/src/*"]
|
||||
"@libs/ui": [
|
||||
"libs/ui/src"
|
||||
],
|
||||
"@libs/ui/*": [
|
||||
"libs/ui/src/*"
|
||||
],
|
||||
"sso": [
|
||||
"libs/sso/src/lib"
|
||||
],
|
||||
"sso/*": [
|
||||
"libs/sso/src/lib/*"
|
||||
],
|
||||
"@sales/core-services": [
|
||||
"apps/sales/src/app/core/services/index.ts"
|
||||
],
|
||||
"@swagger/availability": [
|
||||
"dist/swagger/availability"
|
||||
],
|
||||
"@swagger/availability/*": [
|
||||
"dist/swagger/availability/*"
|
||||
],
|
||||
"@swagger/checkout": [
|
||||
"dist/swagger/checkout"
|
||||
],
|
||||
"@swagger/checkout/*": [
|
||||
"dist/swagger/checkout/*"
|
||||
],
|
||||
"@swagger/crm": [
|
||||
"dist/swagger/crm"
|
||||
],
|
||||
"@swagger/crm/*": [
|
||||
"dist/swagger/crm/*"
|
||||
],
|
||||
"@swagger/isa": [
|
||||
"dist/swagger/isa"
|
||||
],
|
||||
"@swagger/isa/*": [
|
||||
"dist/swagger/isa/*"
|
||||
],
|
||||
"@swagger/oms": [
|
||||
"dist/swagger/oms"
|
||||
],
|
||||
"@swagger/oms/*": [
|
||||
"dist/swagger/oms/*"
|
||||
],
|
||||
"@swagger/print": [
|
||||
"dist/swagger/print"
|
||||
],
|
||||
"@swagger/print/*": [
|
||||
"dist/swagger/print/*"
|
||||
],
|
||||
"@swagger/cat-search": [
|
||||
"dist/swagger/cat-search"
|
||||
],
|
||||
"@swagger/cat-search/*": [
|
||||
"dist/swagger/cat-search/*"
|
||||
],
|
||||
"@swagger/cat": [
|
||||
"dist/swagger/cat"
|
||||
],
|
||||
"@swagger/cat/*": [
|
||||
"dist/swagger/cat/*"
|
||||
],
|
||||
"shared": [
|
||||
"libs/shared/src"
|
||||
],
|
||||
"shared/*": [
|
||||
"libs/shared/src/*"
|
||||
],
|
||||
"@swagger/eis": [
|
||||
"dist/swagger/eis"
|
||||
],
|
||||
"@swagger/eis/*": [
|
||||
"dist/swagger/eis/*"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user