mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-28 22:42:11 +01:00
Add new model types for Swagger APIs and remove obsolete models
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Global configuration for Av services
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class AvConfiguration {
|
||||
rootUrl: string = 'https://isa-test.paragon-data.net';
|
||||
}
|
||||
|
||||
export interface AvConfigurationInterface {
|
||||
rootUrl?: string;
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { HttpClient, HttpParameterCodec, HttpParams } from '@angular/common/http';
|
||||
import { AvConfiguration } from './av-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: AvConfiguration,
|
||||
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,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
export { ResponseArgsOfIEnumerableOfAvailabilityDTO } from './models/response-args-of-ienumerable-of-availability-dto';
|
||||
export { AvailabilityDTO } from './models/availability-dto';
|
||||
export { PriceDTO } from './models/price-dto';
|
||||
export { PriceValueDTO } from './models/price-value-dto';
|
||||
export { TouchedBase } from './models/touched-base';
|
||||
export { VATValueDTO } from './models/vatvalue-dto';
|
||||
export { VATType } from './models/vattype';
|
||||
export { AvailabilityType } from './models/availability-type';
|
||||
export { RangeDTO } from './models/range-dto';
|
||||
export { AvailableFor } from './models/available-for';
|
||||
export { ResponseArgs } from './models/response-args';
|
||||
export { DialogOfString } from './models/dialog-of-string';
|
||||
export { DialogSettings } from './models/dialog-settings';
|
||||
export { DialogContentType } from './models/dialog-content-type';
|
||||
export { KeyValueDTOOfStringAndString } from './models/key-value-dtoof-string-and-string';
|
||||
export { ProblemDetails } from './models/problem-details';
|
||||
export { AvailabilityRequestDTO } from './models/availability-request-dto';
|
||||
export { ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO } from './models/response-args-of-ienumerable-of-webshop-availability-dto';
|
||||
export { WebshopAvailabilityDTO } from './models/webshop-availability-dto';
|
||||
export { TrafficLightValue } from './models/traffic-light-value';
|
||||
export { DateRangeDTO } from './models/date-range-dto';
|
||||
export { WebshopAvailabilityRequestDTO } from './models/webshop-availability-request-dto';
|
||||
export { WebshopAvailabilityRequestItemDTO } from './models/webshop-availability-request-item-dto';
|
||||
@@ -1,35 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { AvailableFor } from './available-for';
|
||||
import { RangeDTO } from './range-dto';
|
||||
import { PriceDTO } from './price-dto';
|
||||
import { AvailabilityType } from './availability-type';
|
||||
export interface AvailabilityDTO {
|
||||
altAt?: string;
|
||||
at?: string;
|
||||
availableFor?: AvailableFor;
|
||||
ean?: string;
|
||||
estimatedDelivery?: RangeDTO;
|
||||
firstDayOfSale?: string;
|
||||
isPrebooked?: boolean;
|
||||
itemId?: number;
|
||||
logistician?: string;
|
||||
logisticianId?: number;
|
||||
orderDeadline?: string;
|
||||
orderReference?: string;
|
||||
preferred?: number;
|
||||
price?: PriceDTO;
|
||||
priceMaintained?: boolean;
|
||||
qty?: number;
|
||||
requestMessage?: string;
|
||||
requestReference?: string;
|
||||
requestStatusCode?: string;
|
||||
requested?: string;
|
||||
shop?: number;
|
||||
ssc?: string;
|
||||
sscText?: string;
|
||||
status: AvailabilityType;
|
||||
supplier?: string;
|
||||
supplierId?: number;
|
||||
supplierProductNumber?: string;
|
||||
to?: string;
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { PriceDTO } from './price-dto';
|
||||
export interface AvailabilityRequestDTO {
|
||||
availabilityReference?: string;
|
||||
branchNumber?: string;
|
||||
ean?: string;
|
||||
estimatedShipping?: string;
|
||||
filialNr?: string;
|
||||
itemId?: string;
|
||||
name?: string;
|
||||
orderCode?: string;
|
||||
preBook?: boolean;
|
||||
price?: PriceDTO;
|
||||
qty: number;
|
||||
shopId?: number;
|
||||
ssc?: string;
|
||||
supplier?: string;
|
||||
supplierProductNumber?: string;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type AvailableFor = 0 | 1 | 2 | 4 | 8 | 16 | 32;
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
export interface DateRangeDTO extends TouchedBase {
|
||||
start?: string;
|
||||
stop?: string;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export interface RangeDTO {
|
||||
start?: string;
|
||||
stop?: string;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { AvailabilityDTO } from './availability-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfAvailabilityDTO extends ResponseArgs {
|
||||
result?: Array<AvailabilityDTO>;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { WebshopAvailabilityDTO } from './webshop-availability-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO extends ResponseArgs {
|
||||
result?: Array<WebshopAvailabilityDTO>;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type TrafficLightValue = 0 | 1 | 2 | 4;
|
||||
@@ -1,53 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { DateRangeDTO } from './date-range-dto';
|
||||
import { TrafficLightValue } from './traffic-light-value';
|
||||
|
||||
/**
|
||||
* Verfügbarkeit
|
||||
*/
|
||||
export interface WebshopAvailabilityDTO {
|
||||
/**
|
||||
* EAN
|
||||
*/
|
||||
ean?: string;
|
||||
|
||||
/**
|
||||
* EVT
|
||||
*/
|
||||
firstDayOfSale?: string;
|
||||
|
||||
/**
|
||||
* Kann dem Lager entnommen werden (= Reservierung/Rücklage)
|
||||
*/
|
||||
fromStock: boolean;
|
||||
|
||||
/**
|
||||
* Lagerbestand
|
||||
*/
|
||||
inStock: number;
|
||||
|
||||
/**
|
||||
* Angefragte Menge
|
||||
*/
|
||||
quantityRequested: number;
|
||||
|
||||
/**
|
||||
* Abholzeitfenster
|
||||
*/
|
||||
readyForPickUp?: DateRangeDTO;
|
||||
|
||||
/**
|
||||
* Stock Status Code
|
||||
*/
|
||||
ssc?: string;
|
||||
|
||||
/**
|
||||
* Ampel-Schwellwert
|
||||
*/
|
||||
threshold: TrafficLightValue;
|
||||
|
||||
/**
|
||||
* WWS Geschaeftsnr
|
||||
*/
|
||||
wwsStockId: number;
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { WebshopAvailabilityRequestItemDTO } from './webshop-availability-request-item-dto';
|
||||
|
||||
/**
|
||||
* Webshop Availability Request DTO
|
||||
*/
|
||||
export interface WebshopAvailabilityRequestDTO {
|
||||
/**
|
||||
* Branch PKs
|
||||
*/
|
||||
branchIds?: Array<number>;
|
||||
|
||||
/**
|
||||
* Artikel: { EAN, Quantity }
|
||||
*/
|
||||
items?: Array<WebshopAvailabilityRequestItemDTO>;
|
||||
|
||||
/**
|
||||
* Reine Bestandsabfrage (default: false)
|
||||
*/
|
||||
stockOnly: boolean;
|
||||
|
||||
/**
|
||||
* WWS Geschaeftsnr (Beispiel: 2506 – Pinneberg)
|
||||
*/
|
||||
wwsStockIds?: Array<number>;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Webshop Availability Request Item DTO
|
||||
*/
|
||||
export interface WebshopAvailabilityRequestItemDTO {
|
||||
/**
|
||||
* EAN
|
||||
*/
|
||||
ean?: string;
|
||||
|
||||
/**
|
||||
* Menge1)
|
||||
*/
|
||||
quantity: number;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
export { AvailabilityService } from './services/availability.service';
|
||||
export { WebshopAvailabilityService } from './services/webshop-availability.service';
|
||||
@@ -1,96 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';
|
||||
import { BaseService as __BaseService } from '../base-service';
|
||||
import { AvConfiguration as __Configuration } from '../av-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 { ResponseArgsOfIEnumerableOfAvailabilityDTO } from '../models/response-args-of-ienumerable-of-availability-dto';
|
||||
import { AvailabilityRequestDTO } from '../models/availability-request-dto';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
class AvailabilityService extends __BaseService {
|
||||
static readonly AvailabilityStoreAvailabilityPath = '/availability/store';
|
||||
static readonly AvailabilityShippingAvailabilityPath = '/availability/shipping';
|
||||
|
||||
constructor(config: __Configuration, http: HttpClient) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lieferbarkeitsabfrage für Abholung
|
||||
* Für jede AvailabilityRequestDTO müssen mindestens folgende Werte gesetzt sein: ItemId oder EAN, Qty, sowie ShopId oder BranchNumber
|
||||
* @param request undefined
|
||||
*/
|
||||
AvailabilityStoreAvailabilityResponse(
|
||||
request: Array<AvailabilityRequestDTO>,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfAvailabilityDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = request;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/availability/store`, __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<ResponseArgsOfIEnumerableOfAvailabilityDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Lieferbarkeitsabfrage für Abholung
|
||||
* Für jede AvailabilityRequestDTO müssen mindestens folgende Werte gesetzt sein: ItemId oder EAN, Qty, sowie ShopId oder BranchNumber
|
||||
* @param request undefined
|
||||
*/
|
||||
AvailabilityStoreAvailability(request: Array<AvailabilityRequestDTO>): __Observable<ResponseArgsOfIEnumerableOfAvailabilityDTO> {
|
||||
return this.AvailabilityStoreAvailabilityResponse(request).pipe(__map((_r) => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Lieferbarkeitsabfrage für Versand
|
||||
* Für jede AvailabilityRequestDTO müssen mindestens folgende Werte gesetzt sein: ItemId oder EAN, Qty, sowie ShopId oder BranchNumber
|
||||
* @param request undefined
|
||||
*/
|
||||
AvailabilityShippingAvailabilityResponse(
|
||||
request: Array<AvailabilityRequestDTO>,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfAvailabilityDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = request;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/availability/shipping`, __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<ResponseArgsOfIEnumerableOfAvailabilityDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Lieferbarkeitsabfrage für Versand
|
||||
* Für jede AvailabilityRequestDTO müssen mindestens folgende Werte gesetzt sein: ItemId oder EAN, Qty, sowie ShopId oder BranchNumber
|
||||
* @param request undefined
|
||||
*/
|
||||
AvailabilityShippingAvailability(request: Array<AvailabilityRequestDTO>): __Observable<ResponseArgsOfIEnumerableOfAvailabilityDTO> {
|
||||
return this.AvailabilityShippingAvailabilityResponse(request).pipe(
|
||||
__map((_r) => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
module AvailabilityService {}
|
||||
|
||||
export { AvailabilityService };
|
||||
@@ -1,61 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';
|
||||
import { BaseService as __BaseService } from '../base-service';
|
||||
import { AvConfiguration as __Configuration } from '../av-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 { ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO } from '../models/response-args-of-ienumerable-of-webshop-availability-dto';
|
||||
import { WebshopAvailabilityRequestDTO } from '../models/webshop-availability-request-dto';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
class WebshopAvailabilityService extends __BaseService {
|
||||
static readonly WebshopAvailabilityWebshopAvailabilityPath = '/availability/webshop';
|
||||
|
||||
constructor(config: __Configuration, http: HttpClient) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verfügbarkeit für Webshop
|
||||
* @param payload undefined
|
||||
*/
|
||||
WebshopAvailabilityWebshopAvailabilityResponse(
|
||||
payload: WebshopAvailabilityRequestDTO,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = payload;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/availability/webshop`, __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<ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Verfügbarkeit für Webshop
|
||||
* @param payload undefined
|
||||
*/
|
||||
WebshopAvailabilityWebshopAvailability(
|
||||
payload: WebshopAvailabilityRequestDTO,
|
||||
): __Observable<ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO> {
|
||||
return this.WebshopAvailabilityWebshopAvailabilityResponse(payload).pipe(
|
||||
__map((_r) => _r.body as ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
module WebshopAvailabilityService {}
|
||||
|
||||
export { WebshopAvailabilityService };
|
||||
@@ -1,62 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { HttpClient, HttpParameterCodec, HttpParams } from '@angular/common/http';
|
||||
import { CatConfiguration } from './cat-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: CatConfiguration,
|
||||
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,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Global configuration for Cat services
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class CatConfiguration {
|
||||
rootUrl: string = 'https://isa-test.paragon-data.net/cat/v6';
|
||||
}
|
||||
|
||||
export interface CatConfigurationInterface {
|
||||
rootUrl?: string;
|
||||
}
|
||||
@@ -1,56 +0,0 @@
|
||||
export { ResponseArgsOfIDictionaryOfLongAndNullableInteger } from './models/response-args-of-idictionary-of-long-and-nullable-integer';
|
||||
export { ResponseArgs } from './models/response-args';
|
||||
export { DialogOfString } from './models/dialog-of-string';
|
||||
export { DialogSettings } from './models/dialog-settings';
|
||||
export { DialogContentType } from './models/dialog-content-type';
|
||||
export { KeyValueDTOOfStringAndString } from './models/key-value-dtoof-string-and-string';
|
||||
export { ProblemDetails } from './models/problem-details';
|
||||
export { LesepunkteRequest } from './models/lesepunkte-request';
|
||||
export { ListResponseArgsOfItemDTO } from './models/list-response-args-of-item-dto';
|
||||
export { ResponseArgsOfIEnumerableOfItemDTO } from './models/response-args-of-ienumerable-of-item-dto';
|
||||
export { ItemDTO } from './models/item-dto';
|
||||
export { ItemType } from './models/item-type';
|
||||
export { ProductDTO } from './models/product-dto';
|
||||
export { SizeOfString } from './models/size-of-string';
|
||||
export { WeightOfAvoirdupois } from './models/weight-of-avoirdupois';
|
||||
export { Avoirdupois } from './models/avoirdupois';
|
||||
export { TouchedBase } from './models/touched-base';
|
||||
export { SpecDTO } from './models/spec-dto';
|
||||
export { TextDTO } from './models/text-dto';
|
||||
export { ImageDTO } from './models/image-dto';
|
||||
export { AvailabilityDTO } from './models/availability-dto';
|
||||
export { ShopDTO } from './models/shop-dto';
|
||||
export { PriceDTO } from './models/price-dto';
|
||||
export { PriceValueDTO } from './models/price-value-dto';
|
||||
export { VATValueDTO } from './models/vatvalue-dto';
|
||||
export { VATType } from './models/vattype';
|
||||
export { AvailabilityType } from './models/availability-type';
|
||||
export { StockInfoDTO } from './models/stock-info-dto';
|
||||
export { StockStatus } from './models/stock-status';
|
||||
export { ShelfInfoDTO } from './models/shelf-info-dto';
|
||||
export { Successor } from './models/successor';
|
||||
export { ReviewDTO } from './models/review-dto';
|
||||
export { EntityDTO } from './models/entity-dto';
|
||||
export { EntityStatus } from './models/entity-status';
|
||||
export { CRUDA } from './models/cruda';
|
||||
export { QueryTokenDTO } from './models/query-token-dto';
|
||||
export { CatalogType } from './models/catalog-type';
|
||||
export { QueryTokenDTO2 } from './models/query-token-dto2';
|
||||
export { OrderByDTO } from './models/order-by-dto';
|
||||
export { ListResponseArgsOfAutocompleteDTO } from './models/list-response-args-of-autocomplete-dto';
|
||||
export { ResponseArgsOfIEnumerableOfAutocompleteDTO } from './models/response-args-of-ienumerable-of-autocomplete-dto';
|
||||
export { AutocompleteDTO } from './models/autocomplete-dto';
|
||||
export { AutocompleteTokenDTO } from './models/autocomplete-token-dto';
|
||||
export { ResponseArgsOfItemDTO } from './models/response-args-of-item-dto';
|
||||
export { ResponseArgsOfUISettingsDTO } from './models/response-args-of-uisettings-dto';
|
||||
export { UISettingsDTO } from './models/uisettings-dto';
|
||||
export { TranslationDTO } from './models/translation-dto';
|
||||
export { QuerySettingsDTO } from './models/query-settings-dto';
|
||||
export { InputGroupDTO } from './models/input-group-dto';
|
||||
export { InputDTO } from './models/input-dto';
|
||||
export { InputType } from './models/input-type';
|
||||
export { InputOptionsDTO } from './models/input-options-dto';
|
||||
export { OptionDTO } from './models/option-dto';
|
||||
export { ResponseArgsOfIEnumerableOfInputGroupDTO } from './models/response-args-of-ienumerable-of-input-group-dto';
|
||||
export { ResponseArgsOfIEnumerableOfOrderByDTO } from './models/response-args-of-ienumerable-of-order-by-dto';
|
||||
export { ResponseArgsOfIEnumerableOfQueryTokenDTO } from './models/response-args-of-ienumerable-of-query-token-dto';
|
||||
@@ -1,26 +0,0 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Auocomplete-Ergebnis
|
||||
*/
|
||||
export interface AutocompleteDTO {
|
||||
/**
|
||||
* Anzeige / Bezeichner
|
||||
*/
|
||||
display?: string;
|
||||
|
||||
/**
|
||||
* Id
|
||||
*/
|
||||
id?: string;
|
||||
|
||||
/**
|
||||
* Abfragewert
|
||||
*/
|
||||
query?: string;
|
||||
|
||||
/**
|
||||
* Art (z.B. Titel, Autor, Verlag, ...)
|
||||
*/
|
||||
type?: string;
|
||||
}
|
||||
@@ -1,32 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { CatalogType } from './catalog-type';
|
||||
|
||||
/**
|
||||
* Suchabfrage
|
||||
*/
|
||||
export interface AutocompleteTokenDTO {
|
||||
/**
|
||||
* Katalogbereich
|
||||
*/
|
||||
catalogType: CatalogType;
|
||||
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
filter?: { [key: string]: string };
|
||||
|
||||
/**
|
||||
* Eingabe
|
||||
*/
|
||||
input?: string;
|
||||
|
||||
/**
|
||||
* Menge angezigter Treffer
|
||||
*/
|
||||
take?: number;
|
||||
|
||||
/**
|
||||
* Typ (z.B. qs, author, title, publisher)
|
||||
*/
|
||||
type?: string;
|
||||
}
|
||||
@@ -1,74 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { PriceDTO } from './price-dto';
|
||||
import { ShopDTO } from './shop-dto';
|
||||
import { AvailabilityType } from './availability-type';
|
||||
|
||||
/**
|
||||
* Verfügbarkeit
|
||||
*/
|
||||
export interface AvailabilityDTO {
|
||||
/**
|
||||
* Voraussichtliches Lieferdatum
|
||||
*/
|
||||
at?: string;
|
||||
|
||||
/**
|
||||
* EVT
|
||||
*/
|
||||
firstDayOfSale?: string;
|
||||
|
||||
/**
|
||||
* Produkt / Artikel PK
|
||||
*/
|
||||
itemId?: number;
|
||||
|
||||
/**
|
||||
* Preis (VK)
|
||||
*/
|
||||
price?: PriceDTO;
|
||||
|
||||
/**
|
||||
* Preisgebunden
|
||||
*/
|
||||
priceMaintained?: boolean;
|
||||
|
||||
/**
|
||||
* Verfügbare Menge
|
||||
*/
|
||||
qty?: number;
|
||||
|
||||
/**
|
||||
* Rang
|
||||
*/
|
||||
rank?: number;
|
||||
|
||||
/**
|
||||
* Zeitstempel der Anfrage
|
||||
*/
|
||||
requested?: string;
|
||||
|
||||
/**
|
||||
* Shop
|
||||
*/
|
||||
shop?: ShopDTO;
|
||||
|
||||
/**
|
||||
* Stock Status Code / Meldeschlüssel
|
||||
*/
|
||||
ssc?: string;
|
||||
|
||||
/**
|
||||
* Stock Status Code / Beschreibung
|
||||
*/
|
||||
sscText?: string;
|
||||
|
||||
/**
|
||||
* Verfügbarkeitsstatus
|
||||
*/
|
||||
status: AvailabilityType;
|
||||
|
||||
/**
|
||||
* Lieferant
|
||||
*/
|
||||
supplier?: string;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Katalogbereich
|
||||
*/
|
||||
export type CatalogType = 0 | 1 | 2 | 4;
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type DialogContentType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
|
||||
import { DialogContentType } from './dialog-content-type';
|
||||
import { DialogSettings } from './dialog-settings';
|
||||
export interface DialogOfString {
|
||||
actions?: Array<KeyValueDTOOfStringAndString>;
|
||||
actionsRequired?: number;
|
||||
area?: string;
|
||||
content?: string;
|
||||
contentType: DialogContentType;
|
||||
description?: string;
|
||||
displayTimeout?: number;
|
||||
settings: DialogSettings;
|
||||
subtitle?: string;
|
||||
title?: string;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type DialogSettings = 0 | 1 | 2 | 4;
|
||||
@@ -1,114 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTO } from './entity-dto';
|
||||
import { AvailabilityDTO } from './availability-dto';
|
||||
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
|
||||
import { ImageDTO } from './image-dto';
|
||||
import { ProductDTO } from './product-dto';
|
||||
import { ReviewDTO } from './review-dto';
|
||||
import { ShelfInfoDTO } from './shelf-info-dto';
|
||||
import { SpecDTO } from './spec-dto';
|
||||
import { StockInfoDTO } from './stock-info-dto';
|
||||
import { Successor } from './successor';
|
||||
import { TextDTO } from './text-dto';
|
||||
import { ItemType } from './item-type';
|
||||
export interface ItemDTO extends EntityDTO {
|
||||
/**
|
||||
* Verfügbarkeit laut Katalog
|
||||
*/
|
||||
catalogAvailability?: AvailabilityDTO;
|
||||
|
||||
/**
|
||||
* Produktfamilie
|
||||
*/
|
||||
family?: Array<ItemDTO>;
|
||||
|
||||
/**
|
||||
* Besondere Merkmale
|
||||
*/
|
||||
features?: Array<KeyValueDTOOfStringAndString>;
|
||||
|
||||
/**
|
||||
* Weitere Artikel-IDs
|
||||
*/
|
||||
ids?: { [key: string]: number };
|
||||
|
||||
/**
|
||||
* Primary image / Id des Hauptbilds
|
||||
*/
|
||||
imageId?: string;
|
||||
|
||||
/**
|
||||
* Images / Zusätzliche Bilder
|
||||
*/
|
||||
images?: Array<ImageDTO>;
|
||||
|
||||
/**
|
||||
* Markierungen (Lesezeichen) wie (BOD, Prämie)
|
||||
*/
|
||||
labels?: { [key: string]: string };
|
||||
|
||||
/**
|
||||
* Produkt-Stammdaten
|
||||
*/
|
||||
product?: ProductDTO;
|
||||
|
||||
/**
|
||||
* Lesepunkte
|
||||
*/
|
||||
promoPoints?: number;
|
||||
|
||||
/**
|
||||
* Einlöse-Prämienpunkte
|
||||
*/
|
||||
redemptionPoints?: number;
|
||||
|
||||
/**
|
||||
* Rezensionen
|
||||
*/
|
||||
reviews?: Array<ReviewDTO>;
|
||||
|
||||
/**
|
||||
* Rang
|
||||
*/
|
||||
scoring?: number;
|
||||
|
||||
/**
|
||||
* Platzierungs-/Regalinformationen
|
||||
*/
|
||||
shelfInfos?: Array<ShelfInfoDTO>;
|
||||
|
||||
/**
|
||||
* Verfügbarkeit zur Bestellung zum Versand
|
||||
*/
|
||||
shippingAvailabilities?: Array<AvailabilityDTO>;
|
||||
|
||||
/**
|
||||
* Specs / Technische Daten / Werte
|
||||
*/
|
||||
specs?: Array<SpecDTO>;
|
||||
|
||||
/**
|
||||
* Bestandsinformationen
|
||||
*/
|
||||
stockInfos?: Array<StockInfoDTO>;
|
||||
|
||||
/**
|
||||
* Verfügbarkeit zur Bestellung in die Filiale
|
||||
*/
|
||||
storeAvailabilities?: Array<AvailabilityDTO>;
|
||||
|
||||
/**
|
||||
* Nachfolgeartikel
|
||||
*/
|
||||
successor?: Successor;
|
||||
|
||||
/**
|
||||
* Texte
|
||||
*/
|
||||
texts?: Array<TextDTO>;
|
||||
|
||||
/**
|
||||
* Artikel / Produkttyp
|
||||
*/
|
||||
type?: ItemType;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Artikel-/Produkttyp
|
||||
*/
|
||||
export type ItemType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536;
|
||||
@@ -1,12 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export interface KeyValueDTOOfStringAndString {
|
||||
command?: string;
|
||||
description?: string;
|
||||
enabled?: boolean;
|
||||
group?: string;
|
||||
key?: string;
|
||||
label?: string;
|
||||
selected?: boolean;
|
||||
sort?: number;
|
||||
value?: string;
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export interface LesepunkteRequest {
|
||||
/**
|
||||
* Artikel ID
|
||||
*/
|
||||
id: number;
|
||||
|
||||
/**
|
||||
* Preis (fallback)
|
||||
*/
|
||||
price?: number;
|
||||
|
||||
/**
|
||||
* Menge
|
||||
*/
|
||||
quantity: number;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfAutocompleteDTO } from './response-args-of-ienumerable-of-autocomplete-dto';
|
||||
export interface ListResponseArgsOfAutocompleteDTO extends ResponseArgsOfIEnumerableOfAutocompleteDTO {
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgsOfIEnumerableOfItemDTO } from './response-args-of-ienumerable-of-item-dto';
|
||||
export interface ListResponseArgsOfItemDTO extends ResponseArgsOfIEnumerableOfItemDTO {
|
||||
completed?: boolean;
|
||||
hits?: number;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
import { VATValueDTO } from './vatvalue-dto';
|
||||
export interface PriceDTO extends TouchedBase {
|
||||
value?: PriceValueDTO;
|
||||
vat?: VATValueDTO;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
export interface PriceValueDTO extends TouchedBase {
|
||||
currency?: string;
|
||||
currencySymbol?: string;
|
||||
value?: number;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { QueryTokenDTO2 } from './query-token-dto2';
|
||||
import { CatalogType } from './catalog-type';
|
||||
export interface QueryTokenDTO extends QueryTokenDTO2 {
|
||||
/**
|
||||
* Katalogbereich
|
||||
*/
|
||||
catalogType?: CatalogType;
|
||||
|
||||
/**
|
||||
* Anfragen werden nicht getrackt
|
||||
*/
|
||||
doNotTrack?: boolean;
|
||||
|
||||
/**
|
||||
* Lagerdaten
|
||||
*/
|
||||
returnStockData?: boolean;
|
||||
|
||||
/**
|
||||
* Lager PK
|
||||
*/
|
||||
stockId?: number;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { OrderByDTO } from './order-by-dto';
|
||||
export interface QueryTokenDTO2 {
|
||||
filter?: { [key: string]: string };
|
||||
friendlyName?: string;
|
||||
fuzzy?: number;
|
||||
hitsOnly?: boolean;
|
||||
ids?: Array<number>;
|
||||
input?: { [key: string]: string };
|
||||
options?: { [key: string]: string };
|
||||
orderBy?: Array<OrderByDTO>;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
export interface ResponseArgsOfIDictionaryOfLongAndNullableInteger extends ResponseArgs {
|
||||
result?: { [key: string]: number };
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { AutocompleteDTO } from './autocomplete-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfAutocompleteDTO extends ResponseArgs {
|
||||
result?: Array<AutocompleteDTO>;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { InputGroupDTO } from './input-group-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfInputGroupDTO extends ResponseArgs {
|
||||
result?: Array<InputGroupDTO>;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { ItemDTO } from './item-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfItemDTO extends ResponseArgs {
|
||||
result?: Array<ItemDTO>;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { OrderByDTO } from './order-by-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfOrderByDTO extends ResponseArgs {
|
||||
result?: Array<OrderByDTO>;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { QueryTokenDTO } from './query-token-dto';
|
||||
export interface ResponseArgsOfIEnumerableOfQueryTokenDTO extends ResponseArgs {
|
||||
result?: Array<QueryTokenDTO>;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { ItemDTO } from './item-dto';
|
||||
export interface ResponseArgsOfItemDTO extends ResponseArgs {
|
||||
result?: ItemDTO;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ResponseArgs } from './response-args';
|
||||
import { UISettingsDTO } from './uisettings-dto';
|
||||
export interface ResponseArgsOfUISettingsDTO extends ResponseArgs {
|
||||
result?: UISettingsDTO;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { DialogOfString } from './dialog-of-string';
|
||||
export interface ResponseArgs {
|
||||
dialog?: DialogOfString;
|
||||
error: boolean;
|
||||
invalidProperties?: { [key: string]: string };
|
||||
message?: string;
|
||||
requestId?: number;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Regalinfo
|
||||
*/
|
||||
export interface ShelfInfoDTO {
|
||||
/**
|
||||
* Sortiment
|
||||
*/
|
||||
assortment?: string;
|
||||
|
||||
/**
|
||||
* Bezeichner
|
||||
*/
|
||||
label?: string;
|
||||
}
|
||||
@@ -1,78 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { StockStatus } from './stock-status';
|
||||
|
||||
/**
|
||||
* Bestandsinformation
|
||||
*/
|
||||
export interface StockInfoDTO {
|
||||
/**
|
||||
* Filiale PK
|
||||
*/
|
||||
branchId?: number;
|
||||
|
||||
/**
|
||||
* Fach / Kammer
|
||||
*/
|
||||
compartment?: string;
|
||||
|
||||
/**
|
||||
* Erstmals bestellt
|
||||
*/
|
||||
firstOrderDate?: string;
|
||||
|
||||
/**
|
||||
* FKZ
|
||||
*/
|
||||
fkz?: number;
|
||||
|
||||
/**
|
||||
* Lagerbestand
|
||||
*/
|
||||
inStock?: number;
|
||||
|
||||
/**
|
||||
* Artikel PK
|
||||
*/
|
||||
itemId?: number;
|
||||
|
||||
/**
|
||||
* Zuletzt bestellt am
|
||||
*/
|
||||
lastOrderDate?: string;
|
||||
|
||||
/**
|
||||
* Zuletzt bestellte Menge
|
||||
*/
|
||||
lastOrderedQuantity?: number;
|
||||
|
||||
/**
|
||||
* Letzter Verkauf
|
||||
*/
|
||||
lastSold?: string;
|
||||
|
||||
/**
|
||||
* ZOB - Optischer Bestand - Zentrale
|
||||
*/
|
||||
minStockCategoryManagement?: number;
|
||||
|
||||
/**
|
||||
* FOB - Optischer Bestand - Filiale
|
||||
*/
|
||||
minStockLocal?: number;
|
||||
|
||||
/**
|
||||
* Bestellte Menge
|
||||
*/
|
||||
openOrderedQuantity?: number;
|
||||
|
||||
/**
|
||||
* Dispositionsstatus
|
||||
* 1:rot = nicht bewirtschaftet (Sortiment inaktiv, Dispo aus); 2:gelb = Abverkauf (Sortiment aktiv, Dispo aus); 3:grün = Autodispo, (Sortiment aktiv, Dispo aktiv); 4:schwarz = "gesperrt" (Dispo gesperrt)
|
||||
*/
|
||||
status?: StockStatus;
|
||||
|
||||
/**
|
||||
* Lager PK
|
||||
*/
|
||||
stockId?: number;
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { ProductDTO } from './product-dto';
|
||||
export interface Successor extends ProductDTO {
|
||||
/**
|
||||
* PK
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* Ab
|
||||
*/
|
||||
start?: string;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export interface TranslationDTO {
|
||||
target?: string;
|
||||
values?: { [key: string]: string };
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { QuerySettingsDTO } from './query-settings-dto';
|
||||
import { TranslationDTO } from './translation-dto';
|
||||
export interface UISettingsDTO extends QuerySettingsDTO {
|
||||
/**
|
||||
* Url Template für Detail-Bild
|
||||
*/
|
||||
imageUrl?: string;
|
||||
|
||||
/**
|
||||
* Url Template für Teaser-Bild
|
||||
*/
|
||||
thumbnailImageUrl?: string;
|
||||
|
||||
/**
|
||||
* Übersetzungen
|
||||
*/
|
||||
translations?: Array<TranslationDTO>;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { VATType } from './vattype';
|
||||
export interface VATValueDTO extends TouchedBase {
|
||||
inPercent?: number;
|
||||
label?: string;
|
||||
value?: number;
|
||||
vatType?: VATType;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
export { PromotionService } from './services/promotion.service';
|
||||
export { SearchService } from './services/search.service';
|
||||
@@ -1,121 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';
|
||||
import { BaseService as __BaseService } from '../base-service';
|
||||
import { CatConfiguration as __Configuration } from '../cat-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 { ResponseArgsOfIDictionaryOfLongAndNullableInteger } from '../models/response-args-of-idictionary-of-long-and-nullable-integer';
|
||||
import { LesepunkteRequest } from '../models/lesepunkte-request';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
class PromotionService extends __BaseService {
|
||||
static readonly PromotionLesepunktePath = '/promotion/lesepunkte';
|
||||
static readonly PromotionLesepunkte2Path = '/stock/{stockId}/promotion/lesepunkte';
|
||||
|
||||
constructor(config: __Configuration, http: HttpClient) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lesepunkte
|
||||
* @param items Ids und Mengen
|
||||
*/
|
||||
PromotionLesepunkteResponse(
|
||||
items: Array<LesepunkteRequest>,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIDictionaryOfLongAndNullableInteger>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = items;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/promotion/lesepunkte`, __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<ResponseArgsOfIDictionaryOfLongAndNullableInteger>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Lesepunkte
|
||||
* @param items Ids und Mengen
|
||||
*/
|
||||
PromotionLesepunkte(items: Array<LesepunkteRequest>): __Observable<ResponseArgsOfIDictionaryOfLongAndNullableInteger> {
|
||||
return this.PromotionLesepunkteResponse(items).pipe(__map((_r) => _r.body as ResponseArgsOfIDictionaryOfLongAndNullableInteger));
|
||||
}
|
||||
|
||||
/**
|
||||
* Lesepunkte
|
||||
* @param params The `PromotionService.PromotionLesepunkte2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `items`: Ids und Mengen
|
||||
*/
|
||||
PromotionLesepunkte2Response(
|
||||
params: PromotionService.PromotionLesepunkte2Params,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIDictionaryOfLongAndNullableInteger>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.items;
|
||||
let req = new HttpRequest<any>(
|
||||
'POST',
|
||||
this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/promotion/lesepunkte`,
|
||||
__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<ResponseArgsOfIDictionaryOfLongAndNullableInteger>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Lesepunkte
|
||||
* @param params The `PromotionService.PromotionLesepunkte2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `items`: Ids und Mengen
|
||||
*/
|
||||
PromotionLesepunkte2(
|
||||
params: PromotionService.PromotionLesepunkte2Params,
|
||||
): __Observable<ResponseArgsOfIDictionaryOfLongAndNullableInteger> {
|
||||
return this.PromotionLesepunkte2Response(params).pipe(__map((_r) => _r.body as ResponseArgsOfIDictionaryOfLongAndNullableInteger));
|
||||
}
|
||||
}
|
||||
|
||||
module PromotionService {
|
||||
/**
|
||||
* Parameters for PromotionLesepunkte2
|
||||
*/
|
||||
export interface PromotionLesepunkte2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* Ids und Mengen
|
||||
*/
|
||||
items: Array<LesepunkteRequest>;
|
||||
}
|
||||
}
|
||||
|
||||
export { PromotionService };
|
||||
@@ -1,898 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
import { HttpClient, HttpRequest, HttpResponse, HttpHeaders } from '@angular/common/http';
|
||||
import { BaseService as __BaseService } from '../base-service';
|
||||
import { CatConfiguration as __Configuration } from '../cat-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 { ListResponseArgsOfItemDTO } from '../models/list-response-args-of-item-dto';
|
||||
import { QueryTokenDTO } from '../models/query-token-dto';
|
||||
import { ListResponseArgsOfAutocompleteDTO } from '../models/list-response-args-of-autocomplete-dto';
|
||||
import { AutocompleteTokenDTO } from '../models/autocomplete-token-dto';
|
||||
import { ResponseArgsOfItemDTO } from '../models/response-args-of-item-dto';
|
||||
import { ResponseArgsOfUISettingsDTO } from '../models/response-args-of-uisettings-dto';
|
||||
import { ResponseArgsOfIEnumerableOfInputGroupDTO } from '../models/response-args-of-ienumerable-of-input-group-dto';
|
||||
import { ResponseArgsOfIEnumerableOfOrderByDTO } from '../models/response-args-of-ienumerable-of-order-by-dto';
|
||||
import { ResponseArgsOfIEnumerableOfQueryTokenDTO } from '../models/response-args-of-ienumerable-of-query-token-dto';
|
||||
import { ResponseArgsOfIEnumerableOfItemDTO } from '../models/response-args-of-ienumerable-of-item-dto';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
class SearchService extends __BaseService {
|
||||
static readonly SearchTopPath = '/s/top';
|
||||
static readonly SearchTop2Path = '/stock/{stockId}/s/top';
|
||||
static readonly SearchSearchPath = '/s';
|
||||
static readonly SearchSearch2Path = '/stock/{stockId}/s';
|
||||
static readonly SearchAutocompletePath = '/s/complete';
|
||||
static readonly SearchAutocomplete2Path = '/stock/{stockId}/s/complete';
|
||||
static readonly SearchByIdPath = '/s/byid';
|
||||
static readonly SearchById2Path = '/stock/{stockId}/s/byid';
|
||||
static readonly SearchByEANPath = '/s/byean';
|
||||
static readonly SearchByEAN2Path = '/stock/{stockId}/s/byean';
|
||||
static readonly SearchByEAN3Path = '/branch/{branchNumber}/s/byean';
|
||||
static readonly SearchDetailPath = '/s/{id}';
|
||||
static readonly SearchDetail2Path = '/stock/{stockId}/s/{id}';
|
||||
static readonly SearchDetailByEANPath = '/s/ean/{ean}';
|
||||
static readonly SearchDetailByEAN2Path = '/stock/{stockId}/ean/{ean}';
|
||||
static readonly SearchSettingsPath = '/s/settings';
|
||||
static readonly SearchSearchFilterPath = '/s/filter';
|
||||
static readonly SearchSearchSortPath = '/s/sort';
|
||||
static readonly SearchHistoryPath = '/s/history';
|
||||
static readonly SearchGetRecommendationsPath = '/s/recommendations/{digId}';
|
||||
|
||||
constructor(config: __Configuration, http: HttpClient) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* TOP-Suche
|
||||
* @param queryToken Suchkriterien
|
||||
*/
|
||||
SearchTopResponse(queryToken: QueryTokenDTO): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = queryToken;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/s/top`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* TOP-Suche
|
||||
* @param queryToken Suchkriterien
|
||||
*/
|
||||
SearchTop(queryToken: QueryTokenDTO): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchTopResponse(queryToken).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* TOP-Suche
|
||||
* @param params The `SearchService.SearchTop2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `queryToken`: Suchkriterien
|
||||
*/
|
||||
SearchTop2Response(params: SearchService.SearchTop2Params): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.queryToken;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/s/top`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* TOP-Suche
|
||||
* @param params The `SearchService.SearchTop2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `queryToken`: Suchkriterien
|
||||
*/
|
||||
SearchTop2(params: SearchService.SearchTop2Params): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchTop2Response(params).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suche
|
||||
* @param queryToken Suchkriterien
|
||||
*/
|
||||
SearchSearchResponse(queryToken: QueryTokenDTO): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = queryToken;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/s`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suche
|
||||
* @param queryToken Suchkriterien
|
||||
*/
|
||||
SearchSearch(queryToken: QueryTokenDTO): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchSearchResponse(queryToken).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suche
|
||||
* @param params The `SearchService.SearchSearch2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `queryToken`: Suchkriterien
|
||||
*/
|
||||
SearchSearch2Response(params: SearchService.SearchSearch2Params): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.queryToken;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/s`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suche
|
||||
* @param params The `SearchService.SearchSearch2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `queryToken`: Suchkriterien
|
||||
*/
|
||||
SearchSearch2(params: SearchService.SearchSearch2Params): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchSearch2Response(params).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Autocomplete
|
||||
* @param queryToken Suchbegriff
|
||||
*/
|
||||
SearchAutocompleteResponse(queryToken: AutocompleteTokenDTO): __Observable<__StrictHttpResponse<ListResponseArgsOfAutocompleteDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = queryToken;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/s/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<ListResponseArgsOfAutocompleteDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Autocomplete
|
||||
* @param queryToken Suchbegriff
|
||||
*/
|
||||
SearchAutocomplete(queryToken: AutocompleteTokenDTO): __Observable<ListResponseArgsOfAutocompleteDTO> {
|
||||
return this.SearchAutocompleteResponse(queryToken).pipe(__map((_r) => _r.body as ListResponseArgsOfAutocompleteDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Autocomplete
|
||||
* @param params The `SearchService.SearchAutocomplete2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `queryToken`: Suchbegriff
|
||||
*/
|
||||
SearchAutocomplete2Response(
|
||||
params: SearchService.SearchAutocomplete2Params,
|
||||
): __Observable<__StrictHttpResponse<ListResponseArgsOfAutocompleteDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.queryToken;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/s/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<ListResponseArgsOfAutocompleteDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Autocomplete
|
||||
* @param params The `SearchService.SearchAutocomplete2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `queryToken`: Suchbegriff
|
||||
*/
|
||||
SearchAutocomplete2(params: SearchService.SearchAutocomplete2Params): __Observable<ListResponseArgsOfAutocompleteDTO> {
|
||||
return this.SearchAutocomplete2Response(params).pipe(__map((_r) => _r.body as ListResponseArgsOfAutocompleteDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suche nach IDs
|
||||
* @param ids PKs
|
||||
*/
|
||||
SearchByIdResponse(ids: Array<number>): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = ids;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/s/byid`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suche nach IDs
|
||||
* @param ids PKs
|
||||
*/
|
||||
SearchById(ids: Array<number>): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchByIdResponse(ids).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suche nach IDs
|
||||
* @param params The `SearchService.SearchById2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `ids`: PKs
|
||||
*/
|
||||
SearchById2Response(params: SearchService.SearchById2Params): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.ids;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/s/byid`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suche nach IDs
|
||||
* @param params The `SearchService.SearchById2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `ids`: PKs
|
||||
*/
|
||||
SearchById2(params: SearchService.SearchById2Params): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchById2Response(params).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suche nach EAN
|
||||
* @param eans EANs
|
||||
*/
|
||||
SearchByEANResponse(eans: Array<string>): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = eans;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/s/byean`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suche nach EAN
|
||||
* @param eans EANs
|
||||
*/
|
||||
SearchByEAN(eans: Array<string>): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchByEANResponse(eans).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suche nach EAN
|
||||
* @param params The `SearchService.SearchByEAN2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `eans`: EANs
|
||||
*/
|
||||
SearchByEAN2Response(params: SearchService.SearchByEAN2Params): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
__body = params.eans;
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/s/byean`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suche nach EAN
|
||||
* @param params The `SearchService.SearchByEAN2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `eans`: EANs
|
||||
*/
|
||||
SearchByEAN2(params: SearchService.SearchByEAN2Params): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchByEAN2Response(params).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suche nach EAN
|
||||
* @param params The `SearchService.SearchByEAN3Params` containing the following parameters:
|
||||
*
|
||||
* - `eans`: EANs
|
||||
*
|
||||
* - `branchNumber`: Filiale-Nr (optional)
|
||||
*/
|
||||
SearchByEAN3Response(params: SearchService.SearchByEAN3Params): __Observable<__StrictHttpResponse<ListResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = params.eans;
|
||||
|
||||
let req = new HttpRequest<any>('POST', this.rootUrl + `/branch/${encodeURIComponent(String(params.branchNumber))}/s/byean`, __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<ListResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suche nach EAN
|
||||
* @param params The `SearchService.SearchByEAN3Params` containing the following parameters:
|
||||
*
|
||||
* - `eans`: EANs
|
||||
*
|
||||
* - `branchNumber`: Filiale-Nr (optional)
|
||||
*/
|
||||
SearchByEAN3(params: SearchService.SearchByEAN3Params): __Observable<ListResponseArgsOfItemDTO> {
|
||||
return this.SearchByEAN3Response(params).pipe(__map((_r) => _r.body as ListResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Detail
|
||||
* @param params The `SearchService.SearchDetailParams` containing the following parameters:
|
||||
*
|
||||
* - `id`: PK
|
||||
*
|
||||
* - `doNotTrack`:
|
||||
*/
|
||||
SearchDetailResponse(params: SearchService.SearchDetailParams): __Observable<__StrictHttpResponse<ResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.doNotTrack != null) __params = __params.set('doNotTrack', params.doNotTrack.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/s/${encodeURIComponent(String(params.id))}`, __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<ResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Detail
|
||||
* @param params The `SearchService.SearchDetailParams` containing the following parameters:
|
||||
*
|
||||
* - `id`: PK
|
||||
*
|
||||
* - `doNotTrack`:
|
||||
*/
|
||||
SearchDetail(params: SearchService.SearchDetailParams): __Observable<ResponseArgsOfItemDTO> {
|
||||
return this.SearchDetailResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Detail
|
||||
* @param params The `SearchService.SearchDetail2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `id`: PK
|
||||
*
|
||||
* - `doNotTrack`:
|
||||
*/
|
||||
SearchDetail2Response(params: SearchService.SearchDetail2Params): __Observable<__StrictHttpResponse<ResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.doNotTrack != null) __params = __params.set('doNotTrack', params.doNotTrack.toString());
|
||||
let req = new HttpRequest<any>(
|
||||
'GET',
|
||||
this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/s/${encodeURIComponent(String(params.id))}`,
|
||||
__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<ResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Detail
|
||||
* @param params The `SearchService.SearchDetail2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `id`: PK
|
||||
*
|
||||
* - `doNotTrack`:
|
||||
*/
|
||||
SearchDetail2(params: SearchService.SearchDetail2Params): __Observable<ResponseArgsOfItemDTO> {
|
||||
return this.SearchDetail2Response(params).pipe(__map((_r) => _r.body as ResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Detail by EAN
|
||||
* @param ean EAN
|
||||
*/
|
||||
SearchDetailByEANResponse(ean: string): __Observable<__StrictHttpResponse<ResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/s/ean/${encodeURIComponent(String(ean))}`, __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<ResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Detail by EAN
|
||||
* @param ean EAN
|
||||
*/
|
||||
SearchDetailByEAN(ean: string): __Observable<ResponseArgsOfItemDTO> {
|
||||
return this.SearchDetailByEANResponse(ean).pipe(__map((_r) => _r.body as ResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Detail by EAN
|
||||
* @param params The `SearchService.SearchDetailByEAN2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `ean`: EAN
|
||||
*/
|
||||
SearchDetailByEAN2Response(params: SearchService.SearchDetailByEAN2Params): __Observable<__StrictHttpResponse<ResponseArgsOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
let req = new HttpRequest<any>(
|
||||
'GET',
|
||||
this.rootUrl + `/stock/${encodeURIComponent(String(params.stockId))}/ean/${encodeURIComponent(String(params.ean))}`,
|
||||
__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<ResponseArgsOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Detail by EAN
|
||||
* @param params The `SearchService.SearchDetailByEAN2Params` containing the following parameters:
|
||||
*
|
||||
* - `stockId`: Lager PK (optional)
|
||||
*
|
||||
* - `ean`: EAN
|
||||
*/
|
||||
SearchDetailByEAN2(params: SearchService.SearchDetailByEAN2Params): __Observable<ResponseArgsOfItemDTO> {
|
||||
return this.SearchDetailByEAN2Response(params).pipe(__map((_r) => _r.body as ResponseArgsOfItemDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Settings
|
||||
*/
|
||||
SearchSettingsResponse(): __Observable<__StrictHttpResponse<ResponseArgsOfUISettingsDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/s/settings`, __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<ResponseArgsOfUISettingsDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Settings
|
||||
*/
|
||||
SearchSettings(): __Observable<ResponseArgsOfUISettingsDTO> {
|
||||
return this.SearchSettingsResponse().pipe(__map((_r) => _r.body as ResponseArgsOfUISettingsDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
SearchSearchFilterResponse(): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfInputGroupDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/s/filter`, __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<ResponseArgsOfIEnumerableOfInputGroupDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
SearchSearchFilter(): __Observable<ResponseArgsOfIEnumerableOfInputGroupDTO> {
|
||||
return this.SearchSearchFilterResponse().pipe(__map((_r) => _r.body as ResponseArgsOfIEnumerableOfInputGroupDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
SearchSearchSortResponse(): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfOrderByDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/s/sort`, __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<ResponseArgsOfIEnumerableOfOrderByDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
SearchSearchSort(): __Observable<ResponseArgsOfIEnumerableOfOrderByDTO> {
|
||||
return this.SearchSearchSortResponse().pipe(__map((_r) => _r.body as ResponseArgsOfIEnumerableOfOrderByDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Suchhistorie
|
||||
* @param take Take
|
||||
*/
|
||||
SearchHistoryResponse(take?: null | number): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfQueryTokenDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
if (take != null) __params = __params.set('take', take.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/s/history`, __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<ResponseArgsOfIEnumerableOfQueryTokenDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Suchhistorie
|
||||
* @param take Take
|
||||
*/
|
||||
SearchHistory(take?: null | number): __Observable<ResponseArgsOfIEnumerableOfQueryTokenDTO> {
|
||||
return this.SearchHistoryResponse(take).pipe(__map((_r) => _r.body as ResponseArgsOfIEnumerableOfQueryTokenDTO));
|
||||
}
|
||||
|
||||
/**
|
||||
* Get Recommendation
|
||||
* @param params The `SearchService.SearchGetRecommendationsParams` containing the following parameters:
|
||||
*
|
||||
* - `digId`:
|
||||
*
|
||||
* - `sessionId`: Process Id
|
||||
*
|
||||
* @return ResponseArgs of Recomendations
|
||||
*/
|
||||
SearchGetRecommendationsResponse(
|
||||
params: SearchService.SearchGetRecommendationsParams,
|
||||
): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfItemDTO>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
|
||||
if (params.sessionId != null) __params = __params.set('sessionId', params.sessionId.toString());
|
||||
let req = new HttpRequest<any>('GET', this.rootUrl + `/s/recommendations/${encodeURIComponent(String(params.digId))}`, __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<ResponseArgsOfIEnumerableOfItemDTO>;
|
||||
}),
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Get Recommendation
|
||||
* @param params The `SearchService.SearchGetRecommendationsParams` containing the following parameters:
|
||||
*
|
||||
* - `digId`:
|
||||
*
|
||||
* - `sessionId`: Process Id
|
||||
*
|
||||
* @return ResponseArgs of Recomendations
|
||||
*/
|
||||
SearchGetRecommendations(params: SearchService.SearchGetRecommendationsParams): __Observable<ResponseArgsOfIEnumerableOfItemDTO> {
|
||||
return this.SearchGetRecommendationsResponse(params).pipe(__map((_r) => _r.body as ResponseArgsOfIEnumerableOfItemDTO));
|
||||
}
|
||||
}
|
||||
|
||||
module SearchService {
|
||||
/**
|
||||
* Parameters for SearchTop2
|
||||
*/
|
||||
export interface SearchTop2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* Suchkriterien
|
||||
*/
|
||||
queryToken: QueryTokenDTO;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchSearch2
|
||||
*/
|
||||
export interface SearchSearch2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* Suchkriterien
|
||||
*/
|
||||
queryToken: QueryTokenDTO;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchAutocomplete2
|
||||
*/
|
||||
export interface SearchAutocomplete2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* Suchbegriff
|
||||
*/
|
||||
queryToken: AutocompleteTokenDTO;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchById2
|
||||
*/
|
||||
export interface SearchById2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* PKs
|
||||
*/
|
||||
ids: Array<number>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchByEAN2
|
||||
*/
|
||||
export interface SearchByEAN2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* EANs
|
||||
*/
|
||||
eans: Array<string>;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchByEAN3
|
||||
*/
|
||||
export interface SearchByEAN3Params {
|
||||
/**
|
||||
* EANs
|
||||
*/
|
||||
eans: Array<string>;
|
||||
|
||||
/**
|
||||
* Filiale-Nr (optional)
|
||||
*/
|
||||
branchNumber: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchDetail
|
||||
*/
|
||||
export interface SearchDetailParams {
|
||||
/**
|
||||
* PK
|
||||
*/
|
||||
id: number;
|
||||
doNotTrack?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchDetail2
|
||||
*/
|
||||
export interface SearchDetail2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* PK
|
||||
*/
|
||||
id: number;
|
||||
doNotTrack?: boolean;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchDetailByEAN2
|
||||
*/
|
||||
export interface SearchDetailByEAN2Params {
|
||||
/**
|
||||
* Lager PK (optional)
|
||||
*/
|
||||
stockId: number;
|
||||
|
||||
/**
|
||||
* EAN
|
||||
*/
|
||||
ean: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Parameters for SearchGetRecommendations
|
||||
*/
|
||||
export interface SearchGetRecommendationsParams {
|
||||
digId: string;
|
||||
|
||||
/**
|
||||
* Process Id
|
||||
*/
|
||||
sessionId?: null | string;
|
||||
}
|
||||
}
|
||||
|
||||
export { SearchService };
|
||||
@@ -1,62 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { HttpClient, HttpParameterCodec, HttpParams } from '@angular/common/http';
|
||||
import { CheckoutConfiguration } from './checkout-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: CheckoutConfiguration,
|
||||
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,
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { Injectable } from '@angular/core';
|
||||
|
||||
/**
|
||||
* Global configuration for Checkout services
|
||||
*/
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
export class CheckoutConfiguration {
|
||||
rootUrl: string = 'https://isa-test.paragon-data.net';
|
||||
}
|
||||
|
||||
export interface CheckoutConfigurationInterface {
|
||||
rootUrl?: string;
|
||||
}
|
||||
@@ -1,197 +0,0 @@
|
||||
export { ResponseArgsOfIEnumerableOfKulturPassResult } from './models/response-args-of-ienumerable-of-kultur-pass-result';
|
||||
export { KulturPassResult } from './models/kultur-pass-result';
|
||||
export { ProductDTO } from './models/product-dto';
|
||||
export { SizeOfString } from './models/size-of-string';
|
||||
export { WeightOfAvoirdupois } from './models/weight-of-avoirdupois';
|
||||
export { Avoirdupois } from './models/avoirdupois';
|
||||
export { TouchedBase } from './models/touched-base';
|
||||
export { ResponseArgs } from './models/response-args';
|
||||
export { DialogOfString } from './models/dialog-of-string';
|
||||
export { DialogSettings } from './models/dialog-settings';
|
||||
export { DialogContentType } from './models/dialog-content-type';
|
||||
export { KeyValueDTOOfStringAndString } from './models/key-value-dtoof-string-and-string';
|
||||
export { ProblemDetails } from './models/problem-details';
|
||||
export { ResponseArgsOfIEnumerableOfBranchDTO } from './models/response-args-of-ienumerable-of-branch-dto';
|
||||
export { BranchDTO } from './models/branch-dto';
|
||||
export { EntityDTOContainerOfLabelDTO } from './models/entity-dtocontainer-of-label-dto';
|
||||
export { LabelDTO } from './models/label-dto';
|
||||
export { EntityDTOBaseOfLabelDTOAndILabel } from './models/entity-dtobase-of-label-dtoand-ilabel';
|
||||
export { EntityDTOBase } from './models/entity-dtobase';
|
||||
export { EntityDTO } from './models/entity-dto';
|
||||
export { EntityStatus } from './models/entity-status';
|
||||
export { CRUDA } from './models/cruda';
|
||||
export { EntityDTOReferenceContainer } from './models/entity-dtoreference-container';
|
||||
export { ExternalReferenceDTO } from './models/external-reference-dto';
|
||||
export { EntityDTOContainerOfBranchDTO } from './models/entity-dtocontainer-of-branch-dto';
|
||||
export { AddressDTO } from './models/address-dto';
|
||||
export { GeoLocation } from './models/geo-location';
|
||||
export { BranchType } from './models/branch-type';
|
||||
export { EntityDTOBaseOfBranchDTOAndIBranch } from './models/entity-dtobase-of-branch-dtoand-ibranch';
|
||||
export { BranchQueryTokenDTO } from './models/branch-query-token-dto';
|
||||
export { ResponseArgsOfCheckoutDTO } from './models/response-args-of-checkout-dto';
|
||||
export { CheckoutDTO } from './models/checkout-dto';
|
||||
export { UserAccountDTO } from './models/user-account-dto';
|
||||
export { Gender } from './models/gender';
|
||||
export { BuyerDTO } from './models/buyer-dto';
|
||||
export { BuyerType } from './models/buyer-type';
|
||||
export { BuyerStatus } from './models/buyer-status';
|
||||
export { AddresseeWithReferenceDTO } from './models/addressee-with-reference-dto';
|
||||
export { CommunicationDetailsDTO } from './models/communication-details-dto';
|
||||
export { OrganisationDTO } from './models/organisation-dto';
|
||||
export { OrganisationNamesDTO } from './models/organisation-names-dto';
|
||||
export { EntityReferenceDTO } from './models/entity-reference-dto';
|
||||
export { PayerDTO } from './models/payer-dto';
|
||||
export { PayerType } from './models/payer-type';
|
||||
export { PayerStatus } from './models/payer-status';
|
||||
export { EntityDTOContainerOfDestinationDTO } from './models/entity-dtocontainer-of-destination-dto';
|
||||
export { DestinationDTO } from './models/destination-dto';
|
||||
export { EntityDTOContainerOfCheckoutDTO } from './models/entity-dtocontainer-of-checkout-dto';
|
||||
export { ShippingTarget } from './models/shipping-target';
|
||||
export { EntityDTOContainerOfLogisticianDTO } from './models/entity-dtocontainer-of-logistician-dto';
|
||||
export { LogisticianDTO } from './models/logistician-dto';
|
||||
export { EntityDTOBaseOfLogisticianDTOAndILogistician } from './models/entity-dtobase-of-logistician-dtoand-ilogistician';
|
||||
export { ShippingAddressDTO } from './models/shipping-address-dto';
|
||||
export { EntityDTOBaseOfDestinationDTOAndIDestination } from './models/entity-dtobase-of-destination-dtoand-idestination';
|
||||
export { EntityDTOContainerOfCheckoutDeliveryDTO } from './models/entity-dtocontainer-of-checkout-delivery-dto';
|
||||
export { CheckoutDeliveryDTO } from './models/checkout-delivery-dto';
|
||||
export { TermsOfDeliveryDTO } from './models/terms-of-delivery-dto';
|
||||
export { PriceValueDTO } from './models/price-value-dto';
|
||||
export { TypeOfDelivery } from './models/type-of-delivery';
|
||||
export { ShippingType } from './models/shipping-type';
|
||||
export { EntityDTOContainerOfCheckoutItemDTO } from './models/entity-dtocontainer-of-checkout-item-dto';
|
||||
export { CheckoutItemDTO } from './models/checkout-item-dto';
|
||||
export { EntityDTOContainerOfShoppingCartItemDTO } from './models/entity-dtocontainer-of-shopping-cart-item-dto';
|
||||
export { ShoppingCartItemDTO } from './models/shopping-cart-item-dto';
|
||||
export { EntityDTOContainerOfShopItemDTO } from './models/entity-dtocontainer-of-shop-item-dto';
|
||||
export { ShopItemDTO } from './models/shop-item-dto';
|
||||
export { EntityDTOContainerOfItemDTO } from './models/entity-dtocontainer-of-item-dto';
|
||||
export { ItemDTO } from './models/item-dto';
|
||||
export { ContributorHelperDTO } from './models/contributor-helper-dto';
|
||||
export { EntityDTOContainerOfContributorDTO } from './models/entity-dtocontainer-of-contributor-dto';
|
||||
export { ContributorDTO } from './models/contributor-dto';
|
||||
export { PersonNamesDTO } from './models/person-names-dto';
|
||||
export { EntityDTOContainerOfTenantDTO } from './models/entity-dtocontainer-of-tenant-dto';
|
||||
export { TenantDTO } from './models/tenant-dto';
|
||||
export { EntityDTOBaseOfTenantDTOAndITenant } from './models/entity-dtobase-of-tenant-dtoand-itenant';
|
||||
export { EntityDTOBaseOfContributorDTOAndIContributor } from './models/entity-dtobase-of-contributor-dtoand-icontributor';
|
||||
export { EntityDTOContainerOfCompanyDTO } from './models/entity-dtocontainer-of-company-dto';
|
||||
export { CompanyDTO } from './models/company-dto';
|
||||
export { EntityDTOBaseOfCompanyDTOAndICompany } from './models/entity-dtobase-of-company-dtoand-icompany';
|
||||
export { EntityDTOContainerOfCategoryDTO } from './models/entity-dtocontainer-of-category-dto';
|
||||
export { CategoryDTO } from './models/category-dto';
|
||||
export { ItemType } from './models/item-type';
|
||||
export { EntityDTOContainerOfFileDTO } from './models/entity-dtocontainer-of-file-dto';
|
||||
export { FileDTO } from './models/file-dto';
|
||||
export { EntityDTOBaseOfFileDTOAndIFile } from './models/entity-dtobase-of-file-dtoand-ifile';
|
||||
export { EntityDTOContainerOfTextDTO } from './models/entity-dtocontainer-of-text-dto';
|
||||
export { TextDTO } from './models/text-dto';
|
||||
export { EntityDTOBaseOfTextDTOAndIText } from './models/entity-dtobase-of-text-dtoand-itext';
|
||||
export { EntityDTOContainerOfComponentsDTO } from './models/entity-dtocontainer-of-components-dto';
|
||||
export { ComponentsDTO } from './models/components-dto';
|
||||
export { ComponentItemDTO } from './models/component-item-dto';
|
||||
export { QuantityUnitType } from './models/quantity-unit-type';
|
||||
export { ComponentItemDisplayType } from './models/component-item-display-type';
|
||||
export { SetType } from './models/set-type';
|
||||
export { EntityDTOBaseOfComponentsDTOAndIComponents } from './models/entity-dtobase-of-components-dtoand-icomponents';
|
||||
export { ItemLabelDTO } from './models/item-label-dto';
|
||||
export { FoodDTO } from './models/food-dto';
|
||||
export { FoodLabel } from './models/food-label';
|
||||
export { AllergeneType } from './models/allergene-type';
|
||||
export { DeclarableFoodAdditives } from './models/declarable-food-additives';
|
||||
export { NutritionFactsDTO } from './models/nutrition-facts-dto';
|
||||
export { Rezeptmasz } from './models/rezeptmasz';
|
||||
export { NutritionFactDTO } from './models/nutrition-fact-dto';
|
||||
export { NutritionFactType } from './models/nutrition-fact-type';
|
||||
export { EntityDTOBaseOfItemDTOAndIItem } from './models/entity-dtobase-of-item-dtoand-iitem';
|
||||
export { ImageDTO } from './models/image-dto';
|
||||
export { UrlDTO } from './models/url-dto';
|
||||
export { AvailabilityDTO } from './models/availability-dto';
|
||||
export { AvailabilityType } from './models/availability-type';
|
||||
export { PriceDTO } from './models/price-dto';
|
||||
export { VATValueDTO } from './models/vatvalue-dto';
|
||||
export { VATType } from './models/vattype';
|
||||
export { DateRangeDTO } from './models/date-range-dto';
|
||||
export { EntityDTOContainerOfSupplierDTO } from './models/entity-dtocontainer-of-supplier-dto';
|
||||
export { SupplierDTO } from './models/supplier-dto';
|
||||
export { SupplierType } from './models/supplier-type';
|
||||
export { EntityDTOBaseOfSupplierDTOAndISupplier } from './models/entity-dtobase-of-supplier-dtoand-isupplier';
|
||||
export { ShippingDTO } from './models/shipping-dto';
|
||||
export { EntityDTOBaseOfShopItemDTOAndIShopItem } from './models/entity-dtobase-of-shop-item-dtoand-ishop-item';
|
||||
export { ShoppingCartItemStatus } from './models/shopping-cart-item-status';
|
||||
export { OrderItemType } from './models/order-item-type';
|
||||
export { EntityDTOContainerOfShopDTO } from './models/entity-dtocontainer-of-shop-dto';
|
||||
export { ShopDTO } from './models/shop-dto';
|
||||
export { EntityDTOContainerOfCurrencyDTO } from './models/entity-dtocontainer-of-currency-dto';
|
||||
export { CurrencyDTO } from './models/currency-dto';
|
||||
export { EntityDTOBaseOfCurrencyDTOAndICurrency } from './models/entity-dtobase-of-currency-dtoand-icurrency';
|
||||
export { EntityDTOContainerOfCountryDTO } from './models/entity-dtocontainer-of-country-dto';
|
||||
export { CountryDTO } from './models/country-dto';
|
||||
export { EntityDTOBaseOfCountryDTOAndICountry } from './models/entity-dtobase-of-country-dtoand-icountry';
|
||||
export { PaymentType } from './models/payment-type';
|
||||
export { CountryTargetDTO } from './models/country-target-dto';
|
||||
export { BranchTargetDTO } from './models/branch-target-dto';
|
||||
export { EntityDTOBaseOfShopDTOAndIShop } from './models/entity-dtobase-of-shop-dtoand-ishop';
|
||||
export { PromotionDTO } from './models/promotion-dto';
|
||||
export { EntityDTOBaseOfShoppingCartItemDTOAndIShoppingCartItem } from './models/entity-dtobase-of-shopping-cart-item-dtoand-ishopping-cart-item';
|
||||
export { EntityDTOBaseOfCheckoutItemDTOAndICheckoutItem } from './models/entity-dtobase-of-checkout-item-dtoand-icheckout-item';
|
||||
export { DisplayItemDTO } from './models/display-item-dto';
|
||||
export { EntityDTOBaseOfCheckoutDeliveryDTOAndICheckoutDelivery } from './models/entity-dtobase-of-checkout-delivery-dtoand-icheckout-delivery';
|
||||
export { NotificationChannel } from './models/notification-channel';
|
||||
export { SelectionDTOOfShippingTarget } from './models/selection-dtoof-shipping-target';
|
||||
export { PaymentDTO } from './models/payment-dto';
|
||||
export { SelectionDTOOfPaymentType } from './models/selection-dtoof-payment-type';
|
||||
export { EntityDTOContainerOfVoucherDTO } from './models/entity-dtocontainer-of-voucher-dto';
|
||||
export { VoucherDTO } from './models/voucher-dto';
|
||||
export { EntityDTOBaseOfVoucherDTOAndIVoucher } from './models/entity-dtobase-of-voucher-dtoand-ivoucher';
|
||||
export { EntityDTOContainerOfCouponDTO } from './models/entity-dtocontainer-of-coupon-dto';
|
||||
export { CouponDTO } from './models/coupon-dto';
|
||||
export { CouponType } from './models/coupon-type';
|
||||
export { EntityDTOBaseOfCouponDTOAndICoupon } from './models/entity-dtobase-of-coupon-dtoand-icoupon';
|
||||
export { EntityDTOBaseOfCheckoutDTOAndICheckout } from './models/entity-dtobase-of-checkout-dtoand-icheckout';
|
||||
export { ResponseArgsOfIEnumerableOfRequiredData } from './models/response-args-of-ienumerable-of-required-data';
|
||||
export { RequiredData } from './models/required-data';
|
||||
export { ResponseArgsOfCheckoutStep } from './models/response-args-of-checkout-step';
|
||||
export { CheckoutStep } from './models/checkout-step';
|
||||
export { ResponseArgsOfNullableBoolean } from './models/response-args-of-nullable-boolean';
|
||||
export { ResponseArgsOfDestinationDTO } from './models/response-args-of-destination-dto';
|
||||
export { ResponseArgsOfIEnumerableOfCheckoutDeliveryDTO } from './models/response-args-of-ienumerable-of-checkout-delivery-dto';
|
||||
export { ResponseArgsOfCheckoutDeliveryDTO } from './models/response-args-of-checkout-delivery-dto';
|
||||
export { DeliveryContainer } from './models/delivery-container';
|
||||
export { KeyValuePairOfEntityDTOContainerOfCheckoutItemDTOAndNullableDecimal } from './models/key-value-pair-of-entity-dtocontainer-of-checkout-item-dtoand-nullable-decimal';
|
||||
export { ResponseArgsOfIEnumerableOfCountryDTO } from './models/response-args-of-ienumerable-of-country-dto';
|
||||
export { ListResponseArgsOfLogisticianDTO } from './models/list-response-args-of-logistician-dto';
|
||||
export { ResponseArgsOfIEnumerableOfLogisticianDTO } from './models/response-args-of-ienumerable-of-logistician-dto';
|
||||
export { ResponseArgsOfLogisticianDTO } from './models/response-args-of-logistician-dto';
|
||||
export { ResponseArgsOfPaymentDTO } from './models/response-args-of-payment-dto';
|
||||
export { ResponseArgsOfIEnumerableOfSelectionDTOOfPaymentType } from './models/response-args-of-ienumerable-of-selection-dtoof-payment-type';
|
||||
export { ResponseArgsOfItemResult } from './models/response-args-of-item-result';
|
||||
export { ItemResult } from './models/item-result';
|
||||
export { OLAAvailabilityDTO } from './models/olaavailability-dto';
|
||||
export { ItemPayload } from './models/item-payload';
|
||||
export { ResponseArgsOfItemsResult } from './models/response-args-of-items-result';
|
||||
export { ItemsResult } from './models/items-result';
|
||||
export { ItemsResultStatus } from './models/items-result-status';
|
||||
export { ResponseArgsOfBuyerResult } from './models/response-args-of-buyer-result';
|
||||
export { BuyerResult } from './models/buyer-result';
|
||||
export { QueryTokenDTO } from './models/query-token-dto';
|
||||
export { OrderByDTO } from './models/order-by-dto';
|
||||
export { InputDTO } from './models/input-dto';
|
||||
export { InputType } from './models/input-type';
|
||||
export { InputOptionsDTO } from './models/input-options-dto';
|
||||
export { OptionDTO } from './models/option-dto';
|
||||
export { BuyerPayload } from './models/buyer-payload';
|
||||
export { ResponseArgsOfDestinationResult } from './models/response-args-of-destination-result';
|
||||
export { DestinationResult } from './models/destination-result';
|
||||
export { ResponseArgsOfShoppingCartDTO } from './models/response-args-of-shopping-cart-dto';
|
||||
export { ShoppingCartDTO } from './models/shopping-cart-dto';
|
||||
export { FreeShippingDTO } from './models/free-shipping-dto';
|
||||
export { EntityDTOBaseOfShoppingCartDTOAndIShoppingCart } from './models/entity-dtobase-of-shopping-cart-dtoand-ishopping-cart';
|
||||
export { AddToShoppingCartDTO } from './models/add-to-shopping-cart-dto';
|
||||
export { Price } from './models/price';
|
||||
export { UpdateShoppingCartItemDTO } from './models/update-shopping-cart-item-dto';
|
||||
export { ResponseArgsOfIEnumerableOfSupplierDTO } from './models/response-args-of-ienumerable-of-supplier-dto';
|
||||
export { ListResponseArgsOfVATDTO } from './models/list-response-args-of-vatdto';
|
||||
export { ResponseArgsOfIEnumerableOfVATDTO } from './models/response-args-of-ienumerable-of-vatdto';
|
||||
export { VATDTO } from './models/vatdto';
|
||||
export { EntityDTOBaseOfVATDTOAndIVAT } from './models/entity-dtobase-of-vatdtoand-ivat';
|
||||
export { ResponseArgsOfVATDTO } from './models/response-args-of-vatdto';
|
||||
@@ -1,17 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { AvailabilityDTO } from './availability-dto';
|
||||
import { EntityDTOContainerOfDestinationDTO } from './entity-dtocontainer-of-destination-dto';
|
||||
import { ItemType } from './item-type';
|
||||
import { ProductDTO } from './product-dto';
|
||||
import { PromotionDTO } from './promotion-dto';
|
||||
import { Price } from './price';
|
||||
export interface AddToShoppingCartDTO {
|
||||
availability?: AvailabilityDTO;
|
||||
destination?: EntityDTOContainerOfDestinationDTO;
|
||||
itemType?: ItemType;
|
||||
product?: ProductDTO;
|
||||
promotion?: PromotionDTO;
|
||||
quantity: number;
|
||||
retailPrice?: Price;
|
||||
shopItemId?: number;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityReferenceDTO } from './entity-reference-dto';
|
||||
import { AddressDTO } from './address-dto';
|
||||
import { CommunicationDetailsDTO } from './communication-details-dto';
|
||||
import { Gender } from './gender';
|
||||
import { OrganisationDTO } from './organisation-dto';
|
||||
export interface AddresseeWithReferenceDTO extends EntityReferenceDTO {
|
||||
address?: AddressDTO;
|
||||
communicationDetails?: CommunicationDetailsDTO;
|
||||
firstName?: string;
|
||||
gender?: Gender;
|
||||
lastName?: string;
|
||||
locale?: string;
|
||||
organisation?: OrganisationDTO;
|
||||
title?: string;
|
||||
}
|
||||
@@ -1,28 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { AvailabilityType } from './availability-type';
|
||||
import { DateRangeDTO } from './date-range-dto';
|
||||
import { EntityDTOContainerOfLogisticianDTO } from './entity-dtocontainer-of-logistician-dto';
|
||||
import { PriceDTO } from './price-dto';
|
||||
import { EntityDTOContainerOfShopItemDTO } from './entity-dtocontainer-of-shop-item-dto';
|
||||
import { EntityDTOContainerOfSupplierDTO } from './entity-dtocontainer-of-supplier-dto';
|
||||
export interface AvailabilityDTO extends TouchedBase {
|
||||
availabilityType?: AvailabilityType;
|
||||
estimatedDelivery?: DateRangeDTO;
|
||||
estimatedShippingDate?: string;
|
||||
inStock?: number;
|
||||
isPrebooked?: boolean;
|
||||
lastRequest?: string;
|
||||
logistician?: EntityDTOContainerOfLogisticianDTO;
|
||||
price?: PriceDTO;
|
||||
requestReference?: string;
|
||||
shopItem?: EntityDTOContainerOfShopItemDTO;
|
||||
ssc?: string;
|
||||
sscText?: string;
|
||||
supplier?: EntityDTOContainerOfSupplierDTO;
|
||||
supplierInfo?: string;
|
||||
supplierProductNumber?: string;
|
||||
supplierSSC?: string;
|
||||
supplierSSCText?: string;
|
||||
supplyChannel?: string;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type AvailabilityType = 0 | 1 | 2 | 32 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384;
|
||||
@@ -1,9 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { BranchType } from './branch-type';
|
||||
export interface BranchQueryTokenDTO {
|
||||
branchType?: BranchType;
|
||||
input?: { [key: string]: string };
|
||||
labelKey?: string;
|
||||
skip?: number;
|
||||
take?: number;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
export interface BranchTargetDTO extends TouchedBase {
|
||||
isDefault?: string;
|
||||
start?: string;
|
||||
stop?: string;
|
||||
target?: EntityDTOContainerOfBranchDTO;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { AddresseeWithReferenceDTO } from './addressee-with-reference-dto';
|
||||
import { BuyerStatus } from './buyer-status';
|
||||
import { BuyerType } from './buyer-type';
|
||||
export interface BuyerDTO extends AddresseeWithReferenceDTO {
|
||||
buyerNumber?: string;
|
||||
buyerStatus?: BuyerStatus;
|
||||
buyerType?: BuyerType;
|
||||
dateOfBirth?: string;
|
||||
isTemporaryAccount?: boolean;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Input
|
||||
*/
|
||||
export interface BuyerPayload {
|
||||
/**
|
||||
* Kundenattribute
|
||||
*/
|
||||
customerFeatures?: { [key: string]: string };
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { InputDTO } from './input-dto';
|
||||
import { DestinationDTO } from './destination-dto';
|
||||
import { QueryTokenDTO } from './query-token-dto';
|
||||
|
||||
/**
|
||||
* Output
|
||||
*/
|
||||
export interface BuyerResult {
|
||||
/**
|
||||
* Kundenattribute
|
||||
*/
|
||||
create?: InputDTO;
|
||||
|
||||
/**
|
||||
* Lieferziele
|
||||
*/
|
||||
destinations?: Array<DestinationDTO>;
|
||||
|
||||
/**
|
||||
* Käufer / Kunde kann dem Warenkorb hinzugefügt werden
|
||||
*/
|
||||
ok: boolean;
|
||||
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
queryToken?: QueryTokenDTO;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type BuyerStatus = 0 | 1 | 2 | 4 | 8 | 16;
|
||||
@@ -1,14 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
import { EntityDTOContainerOfCategoryDTO } from './entity-dtocontainer-of-category-dto';
|
||||
import { EntityDTOContainerOfTenantDTO } from './entity-dtocontainer-of-tenant-dto';
|
||||
export interface CategoryDTO extends EntityDTOBase {
|
||||
key?: string;
|
||||
name?: string;
|
||||
parent?: EntityDTOContainerOfCategoryDTO;
|
||||
sort?: number;
|
||||
start?: string;
|
||||
stop?: string;
|
||||
tenant?: EntityDTOContainerOfTenantDTO;
|
||||
type?: string;
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfCheckoutDeliveryDTOAndICheckoutDelivery } from './entity-dtobase-of-checkout-delivery-dtoand-icheckout-delivery';
|
||||
import { EntityDTOContainerOfCheckoutDTO } from './entity-dtocontainer-of-checkout-dto';
|
||||
import { EntityDTOContainerOfDestinationDTO } from './entity-dtocontainer-of-destination-dto';
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
import { DisplayItemDTO } from './display-item-dto';
|
||||
import { EntityDTOContainerOfCheckoutItemDTO } from './entity-dtocontainer-of-checkout-item-dto';
|
||||
import { TermsOfDeliveryDTO } from './terms-of-delivery-dto';
|
||||
export interface CheckoutDeliveryDTO extends EntityDTOBaseOfCheckoutDeliveryDTOAndICheckoutDelivery {
|
||||
checkout?: EntityDTOContainerOfCheckoutDTO;
|
||||
destination?: EntityDTOContainerOfDestinationDTO;
|
||||
discount?: PriceValueDTO;
|
||||
displayItems?: Array<DisplayItemDTO>;
|
||||
items?: Array<EntityDTOContainerOfCheckoutItemDTO>;
|
||||
preferredShippingDate?: string;
|
||||
termsOfDelivery?: TermsOfDeliveryDTO;
|
||||
total?: PriceValueDTO;
|
||||
totalWithoutDiscount?: PriceValueDTO;
|
||||
}
|
||||
@@ -1,30 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfCheckoutDTOAndICheckout } from './entity-dtobase-of-checkout-dtoand-icheckout';
|
||||
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
|
||||
import { SelectionDTOOfShippingTarget } from './selection-dtoof-shipping-target';
|
||||
import { BuyerDTO } from './buyer-dto';
|
||||
import { EntityDTOContainerOfCheckoutDeliveryDTO } from './entity-dtocontainer-of-checkout-delivery-dto';
|
||||
import { EntityDTOContainerOfDestinationDTO } from './entity-dtocontainer-of-destination-dto';
|
||||
import { EntityDTOContainerOfCheckoutItemDTO } from './entity-dtocontainer-of-checkout-item-dto';
|
||||
import { NotificationChannel } from './notification-channel';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
import { PayerDTO } from './payer-dto';
|
||||
import { PaymentDTO } from './payment-dto';
|
||||
import { UserAccountDTO } from './user-account-dto';
|
||||
export interface CheckoutDTO extends EntityDTOBaseOfCheckoutDTOAndICheckout {
|
||||
agreements?: Array<KeyValueDTOOfStringAndString>;
|
||||
availableShippingTargets?: Array<SelectionDTOOfShippingTarget>;
|
||||
buyer?: BuyerDTO;
|
||||
checkoutUrl?: string;
|
||||
deliveries?: Array<EntityDTOContainerOfCheckoutDeliveryDTO>;
|
||||
destinations?: Array<EntityDTOContainerOfDestinationDTO>;
|
||||
items?: Array<EntityDTOContainerOfCheckoutItemDTO>;
|
||||
label?: string;
|
||||
notificationChannels?: NotificationChannel;
|
||||
orderBranch?: EntityDTOContainerOfBranchDTO;
|
||||
payer?: PayerDTO;
|
||||
payment?: PaymentDTO;
|
||||
shippingCostsUrl?: string;
|
||||
shoppingCartUrl?: string;
|
||||
userAccount?: UserAccountDTO;
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfCheckoutItemDTOAndICheckoutItem } from './entity-dtobase-of-checkout-item-dtoand-icheckout-item';
|
||||
import { EntityDTOContainerOfShoppingCartItemDTO } from './entity-dtocontainer-of-shopping-cart-item-dto';
|
||||
import { EntityDTOContainerOfCheckoutDTO } from './entity-dtocontainer-of-checkout-dto';
|
||||
import { EntityDTOContainerOfCheckoutDeliveryDTO } from './entity-dtocontainer-of-checkout-delivery-dto';
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
export interface CheckoutItemDTO extends EntityDTOBaseOfCheckoutItemDTOAndICheckoutItem {
|
||||
accessories?: Array<EntityDTOContainerOfShoppingCartItemDTO>;
|
||||
checkout?: EntityDTOContainerOfCheckoutDTO;
|
||||
delivery?: EntityDTOContainerOfCheckoutDeliveryDTO;
|
||||
orderedAtSupplier?: string;
|
||||
preferredShippingDate?: string;
|
||||
quantity?: number;
|
||||
shoppingCartItem?: EntityDTOContainerOfShoppingCartItemDTO;
|
||||
total?: PriceValueDTO;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type CheckoutStep = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096;
|
||||
@@ -1,18 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfCompanyDTOAndICompany } from './entity-dtobase-of-company-dtoand-icompany';
|
||||
import { AddressDTO } from './address-dto';
|
||||
import { EntityDTOContainerOfCompanyDTO } from './entity-dtocontainer-of-company-dto';
|
||||
export interface CompanyDTO extends EntityDTOBaseOfCompanyDTOAndICompany {
|
||||
address?: AddressDTO;
|
||||
companyNumber?: string;
|
||||
costUnit?: string;
|
||||
department?: string;
|
||||
gln?: string;
|
||||
legalForm?: string;
|
||||
locale?: string;
|
||||
name?: string;
|
||||
nameSuffix?: string;
|
||||
parent?: EntityDTOContainerOfCompanyDTO;
|
||||
sector?: string;
|
||||
vatId?: string;
|
||||
}
|
||||
@@ -1,20 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityDTOContainerOfCategoryDTO } from './entity-dtocontainer-of-category-dto';
|
||||
import { ComponentItemDisplayType } from './component-item-display-type';
|
||||
import { EntityDTOContainerOfItemDTO } from './entity-dtocontainer-of-item-dto';
|
||||
import { QuantityUnitType } from './quantity-unit-type';
|
||||
export interface ComponentItemDTO extends TouchedBase {
|
||||
category?: EntityDTOContainerOfCategoryDTO;
|
||||
description?: string;
|
||||
displayType?: ComponentItemDisplayType;
|
||||
item?: EntityDTOContainerOfItemDTO;
|
||||
name?: string;
|
||||
quantityMax?: number;
|
||||
quantityMin?: number;
|
||||
quantityUnitType?: QuantityUnitType;
|
||||
required?: boolean;
|
||||
start?: string;
|
||||
stop?: string;
|
||||
unit?: string;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfComponentsDTOAndIComponents } from './entity-dtobase-of-components-dtoand-icomponents';
|
||||
import { ComponentItemDTO } from './component-item-dto';
|
||||
import { QuantityUnitType } from './quantity-unit-type';
|
||||
import { SetType } from './set-type';
|
||||
export interface ComponentsDTO extends EntityDTOBaseOfComponentsDTOAndIComponents {
|
||||
items?: Array<ComponentItemDTO>;
|
||||
overallQuantityMax?: number;
|
||||
overallQuantityMin?: number;
|
||||
quantityUnitType?: QuantityUnitType;
|
||||
referenceQuantity?: number;
|
||||
type?: SetType;
|
||||
unit?: string;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfContributorDTOAndIContributor } from './entity-dtobase-of-contributor-dtoand-icontributor';
|
||||
import { OrganisationNamesDTO } from './organisation-names-dto';
|
||||
import { PersonNamesDTO } from './person-names-dto';
|
||||
import { EntityDTOContainerOfTenantDTO } from './entity-dtocontainer-of-tenant-dto';
|
||||
export interface ContributorDTO extends EntityDTOBaseOfContributorDTOAndIContributor {
|
||||
friendlyName?: string;
|
||||
organisation?: OrganisationNamesDTO;
|
||||
person?: PersonNamesDTO;
|
||||
tenant?: EntityDTOContainerOfTenantDTO;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityDTOContainerOfContributorDTO } from './entity-dtocontainer-of-contributor-dto';
|
||||
export interface ContributorHelperDTO extends TouchedBase {
|
||||
contributor?: EntityDTOContainerOfContributorDTO;
|
||||
type?: string;
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfCountryDTOAndICountry } from './entity-dtobase-of-country-dtoand-icountry';
|
||||
export interface CountryDTO extends EntityDTOBaseOfCountryDTOAndICountry {
|
||||
isDefault?: string;
|
||||
isO3166_A_3?: string;
|
||||
name?: string;
|
||||
sort?: number;
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityDTOContainerOfCountryDTO } from './entity-dtocontainer-of-country-dto';
|
||||
export interface CountryTargetDTO extends TouchedBase {
|
||||
isDefault?: string;
|
||||
start?: string;
|
||||
stop?: string;
|
||||
target?: EntityDTOContainerOfCountryDTO;
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfCouponDTOAndICoupon } from './entity-dtobase-of-coupon-dtoand-icoupon';
|
||||
import { CouponType } from './coupon-type';
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
export interface CouponDTO extends EntityDTOBaseOfCouponDTOAndICoupon {
|
||||
code?: string;
|
||||
couponType: CouponType;
|
||||
discount?: number;
|
||||
exclusive?: boolean;
|
||||
label?: string;
|
||||
maxDiscounted?: PriceValueDTO;
|
||||
value?: PriceValueDTO;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type CRUDA = 0 | 1 | 2 | 4 | 8 | 16;
|
||||
@@ -1,8 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfCurrencyDTOAndICurrency } from './entity-dtobase-of-currency-dtoand-icurrency';
|
||||
export interface CurrencyDTO extends EntityDTOBaseOfCurrencyDTOAndICurrency {
|
||||
isO4217?: string;
|
||||
name?: string;
|
||||
number?: number;
|
||||
symbol?: string;
|
||||
}
|
||||
@@ -1,6 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
export interface DateRangeDTO extends TouchedBase {
|
||||
start?: string;
|
||||
stop?: string;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { CheckoutDeliveryDTO } from './checkout-delivery-dto';
|
||||
import { EntityDTOContainerOfCheckoutItemDTO } from './entity-dtocontainer-of-checkout-item-dto';
|
||||
export interface DeliveryContainer {
|
||||
delivery?: CheckoutDeliveryDTO;
|
||||
items?: Array<EntityDTOContainerOfCheckoutItemDTO>;
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBaseOfDestinationDTOAndIDestination } from './entity-dtobase-of-destination-dtoand-idestination';
|
||||
import { EntityDTOContainerOfCheckoutDTO } from './entity-dtocontainer-of-checkout-dto';
|
||||
import { EntityDTOContainerOfLogisticianDTO } from './entity-dtocontainer-of-logistician-dto';
|
||||
import { ShippingAddressDTO } from './shipping-address-dto';
|
||||
import { ShippingTarget } from './shipping-target';
|
||||
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
|
||||
export interface DestinationDTO extends EntityDTOBaseOfDestinationDTOAndIDestination {
|
||||
checkout?: EntityDTOContainerOfCheckoutDTO;
|
||||
logistician?: EntityDTOContainerOfLogisticianDTO;
|
||||
shippingAddress?: ShippingAddressDTO;
|
||||
target?: ShippingTarget;
|
||||
targetBranch?: EntityDTOContainerOfBranchDTO;
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Output
|
||||
*/
|
||||
export interface DestinationResult {
|
||||
/**
|
||||
* Lieferziel kann dem Warenkorb hinzugefügt werden
|
||||
*/
|
||||
ok: boolean;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type DialogContentType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;
|
||||
@@ -1,16 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
|
||||
import { DialogContentType } from './dialog-content-type';
|
||||
import { DialogSettings } from './dialog-settings';
|
||||
export interface DialogOfString {
|
||||
actions?: Array<KeyValueDTOOfStringAndString>;
|
||||
actionsRequired?: number;
|
||||
area?: string;
|
||||
content?: string;
|
||||
contentType: DialogContentType;
|
||||
description?: string;
|
||||
displayTimeout?: number;
|
||||
settings: DialogSettings;
|
||||
subtitle?: string;
|
||||
title?: string;
|
||||
}
|
||||
@@ -1,2 +0,0 @@
|
||||
/* tslint:disable */
|
||||
export type DialogSettings = 0 | 1 | 2 | 4;
|
||||
@@ -1,14 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { CRUDA } from './cruda';
|
||||
import { EntityStatus } from './entity-status';
|
||||
export interface EntityDTO extends TouchedBase {
|
||||
changed?: string;
|
||||
created?: string;
|
||||
cruda?: CRUDA;
|
||||
id?: number;
|
||||
pId?: string;
|
||||
status?: EntityStatus;
|
||||
uId?: string;
|
||||
version?: number;
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfCheckoutDeliveryDTOAndICheckoutDelivery extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfCheckoutDTOAndICheckout extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfCheckoutItemDTOAndICheckoutItem extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfCompanyDTOAndICompany extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfComponentsDTOAndIComponents extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfContributorDTOAndIContributor extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfCountryDTOAndICountry extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfCouponDTOAndICoupon extends EntityDTOBase {}
|
||||
@@ -1,3 +0,0 @@
|
||||
/* tslint:disable */
|
||||
import { EntityDTOBase } from './entity-dtobase';
|
||||
export interface EntityDTOBaseOfCurrencyDTOAndICurrency extends EntityDTOBase {}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user