mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Add new model definitions for various APIs in generated Swagger files
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
"sourceRoot": "generated/swagger/availability-api/src",
|
"sourceRoot": "generated/swagger/availability-api/src",
|
||||||
"prefix": "lib",
|
"prefix": "lib",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"tags": [],
|
"tags": ["generated","swagger","availability","api"],
|
||||||
"targets": {
|
"targets": {
|
||||||
"generate": {
|
"generate": {
|
||||||
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
||||||
|
|||||||
16
generated/swagger/availability-api/src/av-configuration.ts
Normal file
16
generated/swagger/availability-api/src/av-configuration.ts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
62
generated/swagger/availability-api/src/base-service.ts
Normal file
62
generated/swagger/availability-api/src/base-service.ts
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/* 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,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
23
generated/swagger/availability-api/src/models.ts
Normal file
23
generated/swagger/availability-api/src/models.ts
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
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';
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type AvailabilityType = 0 | 1 | 2 | 32 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384;
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type AvailableFor = 0 | 1 | 2 | 4 | 8 | 16 | 32;
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
export interface DateRangeDTO extends TouchedBase {
|
||||||
|
start?: string;
|
||||||
|
stop?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type DialogContentType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
|
||||||
|
import { DialogContentType } from './dialog-content-type';
|
||||||
|
import { DialogSettings } from './dialog-settings';
|
||||||
|
export interface DialogOfString {
|
||||||
|
actions?: Array<KeyValueDTOOfStringAndString>;
|
||||||
|
actionsRequired?: number;
|
||||||
|
area?: string;
|
||||||
|
content?: string;
|
||||||
|
contentType: DialogContentType;
|
||||||
|
description?: string;
|
||||||
|
displayTimeout?: number;
|
||||||
|
settings: DialogSettings;
|
||||||
|
subtitle?: string;
|
||||||
|
title?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type DialogSettings = 0 | 1 | 2 | 4;
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface KeyValueDTOOfStringAndString {
|
||||||
|
command?: string;
|
||||||
|
description?: string;
|
||||||
|
enabled?: boolean;
|
||||||
|
group?: string;
|
||||||
|
key?: string;
|
||||||
|
label?: string;
|
||||||
|
selected?: boolean;
|
||||||
|
sort?: number;
|
||||||
|
value?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
import { PriceValueDTO } from './price-value-dto';
|
||||||
|
import { VATValueDTO } from './vatvalue-dto';
|
||||||
|
export interface PriceDTO extends TouchedBase {
|
||||||
|
value?: PriceValueDTO;
|
||||||
|
vat?: VATValueDTO;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
export interface PriceValueDTO extends TouchedBase {
|
||||||
|
currency?: string;
|
||||||
|
currencySymbol?: string;
|
||||||
|
value?: number;
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface ProblemDetails {
|
||||||
|
detail?: string;
|
||||||
|
extensions: { [key: string]: any };
|
||||||
|
instance?: string;
|
||||||
|
status?: number;
|
||||||
|
title?: string;
|
||||||
|
type?: string;
|
||||||
|
[prop: string]: any;
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface RangeDTO {
|
||||||
|
start?: string;
|
||||||
|
stop?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { AvailabilityDTO } from './availability-dto';
|
||||||
|
export interface ResponseArgsOfIEnumerableOfAvailabilityDTO extends ResponseArgs {
|
||||||
|
result?: Array<AvailabilityDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { WebshopAvailabilityDTO } from './webshop-availability-dto';
|
||||||
|
export interface ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO extends ResponseArgs {
|
||||||
|
result?: Array<WebshopAvailabilityDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { DialogOfString } from './dialog-of-string';
|
||||||
|
export interface ResponseArgs {
|
||||||
|
dialog?: DialogOfString;
|
||||||
|
error: boolean;
|
||||||
|
invalidProperties?: { [key: string]: string };
|
||||||
|
message?: string;
|
||||||
|
requestId?: number;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface TouchedBase {}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type TrafficLightValue = 0 | 1 | 2 | 4;
|
||||||
2
generated/swagger/availability-api/src/models/vattype.ts
Normal file
2
generated/swagger/availability-api/src/models/vattype.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type VATType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
import { VATType } from './vattype';
|
||||||
|
export interface VATValueDTO extends TouchedBase {
|
||||||
|
inPercent?: number;
|
||||||
|
label?: string;
|
||||||
|
value?: number;
|
||||||
|
vatType?: VATType;
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,27 @@
|
|||||||
|
/* 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>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Webshop Availability Request Item DTO
|
||||||
|
*/
|
||||||
|
export interface WebshopAvailabilityRequestItemDTO {
|
||||||
|
/**
|
||||||
|
* EAN
|
||||||
|
*/
|
||||||
|
ean?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menge1)
|
||||||
|
*/
|
||||||
|
quantity: number;
|
||||||
|
}
|
||||||
2
generated/swagger/availability-api/src/services.ts
Normal file
2
generated/swagger/availability-api/src/services.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export { AvailabilityService } from './services/availability.service';
|
||||||
|
export { WebshopAvailabilityService } from './services/webshop-availability.service';
|
||||||
@@ -0,0 +1,96 @@
|
|||||||
|
/* 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 };
|
||||||
@@ -0,0 +1,61 @@
|
|||||||
|
/* 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 };
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { HttpResponse } from '@angular/common/http';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constrains the http to not expand the response type with `| null`
|
||||||
|
*/
|
||||||
|
export type StrictHttpResponse<T> = HttpResponse<T> & {
|
||||||
|
readonly body: T;
|
||||||
|
};
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
"sourceRoot": "generated/swagger/cat-search-api/src",
|
"sourceRoot": "generated/swagger/cat-search-api/src",
|
||||||
"prefix": "lib",
|
"prefix": "lib",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"tags": [],
|
"tags": ["generated","swagger", "cat-search", "api"],
|
||||||
"targets": {
|
"targets": {
|
||||||
"generate": {
|
"generate": {
|
||||||
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
||||||
|
|||||||
62
generated/swagger/cat-search-api/src/base-service.ts
Normal file
62
generated/swagger/cat-search-api/src/base-service.ts
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/* 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,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
16
generated/swagger/cat-search-api/src/cat-configuration.ts
Normal file
16
generated/swagger/cat-search-api/src/cat-configuration.ts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
56
generated/swagger/cat-search-api/src/models.ts
Normal file
56
generated/swagger/cat-search-api/src/models.ts
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
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';
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,32 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,74 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type AvailabilityType = 0 | 1 | 2 | 32 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384;
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type Avoirdupois = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096;
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Katalogbereich
|
||||||
|
*/
|
||||||
|
export type CatalogType = 0 | 1 | 2 | 4;
|
||||||
2
generated/swagger/cat-search-api/src/models/cruda.ts
Normal file
2
generated/swagger/cat-search-api/src/models/cruda.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type CRUDA = 0 | 1 | 2 | 4 | 8 | 16;
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type DialogContentType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
|
||||||
|
import { DialogContentType } from './dialog-content-type';
|
||||||
|
import { DialogSettings } from './dialog-settings';
|
||||||
|
export interface DialogOfString {
|
||||||
|
actions?: Array<KeyValueDTOOfStringAndString>;
|
||||||
|
actionsRequired?: number;
|
||||||
|
area?: string;
|
||||||
|
content?: string;
|
||||||
|
contentType: DialogContentType;
|
||||||
|
description?: string;
|
||||||
|
displayTimeout?: number;
|
||||||
|
settings: DialogSettings;
|
||||||
|
subtitle?: string;
|
||||||
|
title?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type DialogSettings = 0 | 1 | 2 | 4;
|
||||||
14
generated/swagger/cat-search-api/src/models/entity-dto.ts
Normal file
14
generated/swagger/cat-search-api/src/models/entity-dto.ts
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
import { CRUDA } from './cruda';
|
||||||
|
import { EntityStatus } from './entity-status';
|
||||||
|
export interface EntityDTO extends TouchedBase {
|
||||||
|
changed?: string;
|
||||||
|
created?: string;
|
||||||
|
cruda?: CRUDA;
|
||||||
|
id?: number;
|
||||||
|
pId?: string;
|
||||||
|
status?: EntityStatus;
|
||||||
|
uId?: string;
|
||||||
|
version?: number;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type EntityStatus = 0 | 1 | 2 | 4 | 8;
|
||||||
41
generated/swagger/cat-search-api/src/models/image-dto.ts
Normal file
41
generated/swagger/cat-search-api/src/models/image-dto.ts
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bild
|
||||||
|
*/
|
||||||
|
export interface ImageDTO {
|
||||||
|
/**
|
||||||
|
* Copyright
|
||||||
|
*/
|
||||||
|
copyright?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* PK
|
||||||
|
*/
|
||||||
|
id?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bildquelle
|
||||||
|
*/
|
||||||
|
source?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bildunterschrift
|
||||||
|
*/
|
||||||
|
subtitle?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Thumbnail-Url
|
||||||
|
*/
|
||||||
|
thumbUrl?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Art des Bildes
|
||||||
|
*/
|
||||||
|
type?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Url
|
||||||
|
*/
|
||||||
|
url?: string;
|
||||||
|
}
|
||||||
16
generated/swagger/cat-search-api/src/models/input-dto.ts
Normal file
16
generated/swagger/cat-search-api/src/models/input-dto.ts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { InputOptionsDTO } from './input-options-dto';
|
||||||
|
import { InputType } from './input-type';
|
||||||
|
export interface InputDTO {
|
||||||
|
constraint?: string;
|
||||||
|
description?: string;
|
||||||
|
key?: string;
|
||||||
|
label?: string;
|
||||||
|
maxValue?: string;
|
||||||
|
minValue?: string;
|
||||||
|
options?: InputOptionsDTO;
|
||||||
|
placeholder?: string;
|
||||||
|
target?: string;
|
||||||
|
type: InputType;
|
||||||
|
value?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { InputDTO } from './input-dto';
|
||||||
|
export interface InputGroupDTO {
|
||||||
|
description?: string;
|
||||||
|
group?: string;
|
||||||
|
input?: Array<InputDTO>;
|
||||||
|
label?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { OptionDTO } from './option-dto';
|
||||||
|
export interface InputOptionsDTO {
|
||||||
|
max?: number;
|
||||||
|
values?: Array<OptionDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type InputType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 3072 | 4096 | 8192 | 12288;
|
||||||
114
generated/swagger/cat-search-api/src/models/item-dto.ts
Normal file
114
generated/swagger/cat-search-api/src/models/item-dto.ts
Normal file
@@ -0,0 +1,114 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
6
generated/swagger/cat-search-api/src/models/item-type.ts
Normal file
6
generated/swagger/cat-search-api/src/models/item-type.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
/* 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;
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface KeyValueDTOOfStringAndString {
|
||||||
|
command?: string;
|
||||||
|
description?: string;
|
||||||
|
enabled?: boolean;
|
||||||
|
group?: string;
|
||||||
|
key?: string;
|
||||||
|
label?: string;
|
||||||
|
selected?: boolean;
|
||||||
|
sort?: number;
|
||||||
|
value?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface LesepunkteRequest {
|
||||||
|
/**
|
||||||
|
* Artikel ID
|
||||||
|
*/
|
||||||
|
id: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Preis (fallback)
|
||||||
|
*/
|
||||||
|
price?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Menge
|
||||||
|
*/
|
||||||
|
quantity: number;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
13
generated/swagger/cat-search-api/src/models/option-dto.ts
Normal file
13
generated/swagger/cat-search-api/src/models/option-dto.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface OptionDTO {
|
||||||
|
description?: string;
|
||||||
|
enabled?: boolean;
|
||||||
|
key?: string;
|
||||||
|
label?: string;
|
||||||
|
maxValue?: string;
|
||||||
|
minValue?: string;
|
||||||
|
placeholder?: string;
|
||||||
|
selected?: boolean;
|
||||||
|
value?: string;
|
||||||
|
values?: Array<OptionDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface OrderByDTO {
|
||||||
|
by?: string;
|
||||||
|
desc?: boolean;
|
||||||
|
label?: string;
|
||||||
|
}
|
||||||
8
generated/swagger/cat-search-api/src/models/price-dto.ts
Normal file
8
generated/swagger/cat-search-api/src/models/price-dto.ts
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
export interface PriceValueDTO extends TouchedBase {
|
||||||
|
currency?: string;
|
||||||
|
currencySymbol?: string;
|
||||||
|
value?: number;
|
||||||
|
}
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface ProblemDetails {
|
||||||
|
detail?: string;
|
||||||
|
extensions: { [key: string]: any };
|
||||||
|
instance?: string;
|
||||||
|
status?: number;
|
||||||
|
title?: string;
|
||||||
|
type?: string;
|
||||||
|
[prop: string]: any;
|
||||||
|
}
|
||||||
24
generated/swagger/cat-search-api/src/models/product-dto.ts
Normal file
24
generated/swagger/cat-search-api/src/models/product-dto.ts
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
import { SizeOfString } from './size-of-string';
|
||||||
|
import { WeightOfAvoirdupois } from './weight-of-avoirdupois';
|
||||||
|
export interface ProductDTO extends TouchedBase {
|
||||||
|
additionalName?: string;
|
||||||
|
catalogProductNumber?: string;
|
||||||
|
contributors?: string;
|
||||||
|
ean?: string;
|
||||||
|
edition?: string;
|
||||||
|
format?: string;
|
||||||
|
formatDetail?: string;
|
||||||
|
locale?: string;
|
||||||
|
manufacturer?: string;
|
||||||
|
name?: string;
|
||||||
|
productGroup?: string;
|
||||||
|
productGroupDetails?: string;
|
||||||
|
publicationDate?: string;
|
||||||
|
serial?: string;
|
||||||
|
size?: SizeOfString;
|
||||||
|
supplierProductNumber?: string;
|
||||||
|
volume?: string;
|
||||||
|
weight?: WeightOfAvoirdupois;
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { InputGroupDTO } from './input-group-dto';
|
||||||
|
import { OrderByDTO } from './order-by-dto';
|
||||||
|
export interface QuerySettingsDTO {
|
||||||
|
filter?: Array<InputGroupDTO>;
|
||||||
|
input?: Array<InputGroupDTO>;
|
||||||
|
orderBy?: Array<OrderByDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
export interface ResponseArgsOfIDictionaryOfLongAndNullableInteger extends ResponseArgs {
|
||||||
|
result?: { [key: string]: number };
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { AutocompleteDTO } from './autocomplete-dto';
|
||||||
|
export interface ResponseArgsOfIEnumerableOfAutocompleteDTO extends ResponseArgs {
|
||||||
|
result?: Array<AutocompleteDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { InputGroupDTO } from './input-group-dto';
|
||||||
|
export interface ResponseArgsOfIEnumerableOfInputGroupDTO extends ResponseArgs {
|
||||||
|
result?: Array<InputGroupDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { ItemDTO } from './item-dto';
|
||||||
|
export interface ResponseArgsOfIEnumerableOfItemDTO extends ResponseArgs {
|
||||||
|
result?: Array<ItemDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { OrderByDTO } from './order-by-dto';
|
||||||
|
export interface ResponseArgsOfIEnumerableOfOrderByDTO extends ResponseArgs {
|
||||||
|
result?: Array<OrderByDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { QueryTokenDTO } from './query-token-dto';
|
||||||
|
export interface ResponseArgsOfIEnumerableOfQueryTokenDTO extends ResponseArgs {
|
||||||
|
result?: Array<QueryTokenDTO>;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { ItemDTO } from './item-dto';
|
||||||
|
export interface ResponseArgsOfItemDTO extends ResponseArgs {
|
||||||
|
result?: ItemDTO;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ResponseArgs } from './response-args';
|
||||||
|
import { UISettingsDTO } from './uisettings-dto';
|
||||||
|
export interface ResponseArgsOfUISettingsDTO extends ResponseArgs {
|
||||||
|
result?: UISettingsDTO;
|
||||||
|
}
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { DialogOfString } from './dialog-of-string';
|
||||||
|
export interface ResponseArgs {
|
||||||
|
dialog?: DialogOfString;
|
||||||
|
error: boolean;
|
||||||
|
invalidProperties?: { [key: string]: string };
|
||||||
|
message?: string;
|
||||||
|
requestId?: number;
|
||||||
|
}
|
||||||
37
generated/swagger/cat-search-api/src/models/review-dto.ts
Normal file
37
generated/swagger/cat-search-api/src/models/review-dto.ts
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface ReviewDTO {
|
||||||
|
/**
|
||||||
|
* Autor
|
||||||
|
*/
|
||||||
|
author?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Filiale
|
||||||
|
*/
|
||||||
|
branch?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Erstellungsdatum
|
||||||
|
*/
|
||||||
|
created: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Externe Id
|
||||||
|
*/
|
||||||
|
id?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rating
|
||||||
|
*/
|
||||||
|
rating: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Text
|
||||||
|
*/
|
||||||
|
text?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Titel
|
||||||
|
*/
|
||||||
|
title?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Regalinfo
|
||||||
|
*/
|
||||||
|
export interface ShelfInfoDTO {
|
||||||
|
/**
|
||||||
|
* Sortiment
|
||||||
|
*/
|
||||||
|
assortment?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Bezeichner
|
||||||
|
*/
|
||||||
|
label?: string;
|
||||||
|
}
|
||||||
6
generated/swagger/cat-search-api/src/models/shop-dto.ts
Normal file
6
generated/swagger/cat-search-api/src/models/shop-dto.ts
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shop
|
||||||
|
*/
|
||||||
|
export interface ShopDTO {}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface SizeOfString {
|
||||||
|
height: number;
|
||||||
|
length: number;
|
||||||
|
unit?: string;
|
||||||
|
width: number;
|
||||||
|
}
|
||||||
26
generated/swagger/cat-search-api/src/models/spec-dto.ts
Normal file
26
generated/swagger/cat-search-api/src/models/spec-dto.ts
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Eigenchaften
|
||||||
|
*/
|
||||||
|
export interface SpecDTO {
|
||||||
|
/**
|
||||||
|
* PK
|
||||||
|
*/
|
||||||
|
id?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Key
|
||||||
|
*/
|
||||||
|
key?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Label
|
||||||
|
*/
|
||||||
|
label?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wert
|
||||||
|
*/
|
||||||
|
value?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,78 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Dispositionsstatus
|
||||||
|
*/
|
||||||
|
export type StockStatus = 0 | 1 | 2 | 3 | 4;
|
||||||
13
generated/swagger/cat-search-api/src/models/successor.ts
Normal file
13
generated/swagger/cat-search-api/src/models/successor.ts
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { ProductDTO } from './product-dto';
|
||||||
|
export interface Successor extends ProductDTO {
|
||||||
|
/**
|
||||||
|
* PK
|
||||||
|
*/
|
||||||
|
id?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Ab
|
||||||
|
*/
|
||||||
|
start?: string;
|
||||||
|
}
|
||||||
22
generated/swagger/cat-search-api/src/models/text-dto.ts
Normal file
22
generated/swagger/cat-search-api/src/models/text-dto.ts
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface TextDTO {
|
||||||
|
/**
|
||||||
|
* PK
|
||||||
|
*/
|
||||||
|
id?: number;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Key
|
||||||
|
*/
|
||||||
|
key?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Label
|
||||||
|
*/
|
||||||
|
label?: string;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Wert
|
||||||
|
*/
|
||||||
|
value?: string;
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface TouchedBase {}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export interface TranslationDTO {
|
||||||
|
target?: string;
|
||||||
|
values?: { [key: string]: string };
|
||||||
|
}
|
||||||
@@ -0,0 +1,19 @@
|
|||||||
|
/* 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>;
|
||||||
|
}
|
||||||
2
generated/swagger/cat-search-api/src/models/vattype.ts
Normal file
2
generated/swagger/cat-search-api/src/models/vattype.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
export type VATType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { TouchedBase } from './touched-base';
|
||||||
|
import { VATType } from './vattype';
|
||||||
|
export interface VATValueDTO extends TouchedBase {
|
||||||
|
inPercent?: number;
|
||||||
|
label?: string;
|
||||||
|
value?: number;
|
||||||
|
vatType?: VATType;
|
||||||
|
}
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { Avoirdupois } from './avoirdupois';
|
||||||
|
export interface WeightOfAvoirdupois {
|
||||||
|
unit: Avoirdupois;
|
||||||
|
value: number;
|
||||||
|
}
|
||||||
2
generated/swagger/cat-search-api/src/services.ts
Normal file
2
generated/swagger/cat-search-api/src/services.ts
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
export { PromotionService } from './services/promotion.service';
|
||||||
|
export { SearchService } from './services/search.service';
|
||||||
@@ -0,0 +1,121 @@
|
|||||||
|
/* 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 };
|
||||||
898
generated/swagger/cat-search-api/src/services/search.service.ts
Normal file
898
generated/swagger/cat-search-api/src/services/search.service.ts
Normal file
@@ -0,0 +1,898 @@
|
|||||||
|
/* 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 };
|
||||||
@@ -0,0 +1,9 @@
|
|||||||
|
/* tslint:disable */
|
||||||
|
import { HttpResponse } from '@angular/common/http';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Constrains the http to not expand the response type with `| null`
|
||||||
|
*/
|
||||||
|
export type StrictHttpResponse<T> = HttpResponse<T> & {
|
||||||
|
readonly body: T;
|
||||||
|
};
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
"sourceRoot": "generated/swagger/checkout-api/src",
|
"sourceRoot": "generated/swagger/checkout-api/src",
|
||||||
"prefix": "lib",
|
"prefix": "lib",
|
||||||
"projectType": "library",
|
"projectType": "library",
|
||||||
"tags": [],
|
"tags": ["generated","swagger", "checkout", "api"],
|
||||||
"targets": {
|
"targets": {
|
||||||
"generate": {
|
"generate": {
|
||||||
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",
|
||||||
|
|||||||
62
generated/swagger/checkout-api/src/base-service.ts
Normal file
62
generated/swagger/checkout-api/src/base-service.ts
Normal file
@@ -0,0 +1,62 @@
|
|||||||
|
/* 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,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
16
generated/swagger/checkout-api/src/checkout-configuration.ts
Normal file
16
generated/swagger/checkout-api/src/checkout-configuration.ts
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
197
generated/swagger/checkout-api/src/models.ts
Normal file
197
generated/swagger/checkout-api/src/models.ts
Normal file
@@ -0,0 +1,197 @@
|
|||||||
|
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';
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
/* 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;
|
||||||
|
}
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user