[HIMA-0] updated api endpoints

This commit is contained in:
Eraldo Hasanaj
2019-04-17 15:51:44 +02:00
parent e1059489aa
commit 340252c173
407 changed files with 8442 additions and 34 deletions

View File

@@ -66,7 +66,7 @@ export class BreadcrumbsState {
const breadcrumbs = iif<Breadcrumb[]>(
item => item.find(b => b.name === payload.name) === undefined,
item => append<Breadcrumb>([payload])(item)
(item: Breadcrumb[]) => append<Breadcrumb>([payload])(item)
)(updatedBreadcrumbs);
return <ProcessBreadcrumbs>{
@@ -82,11 +82,19 @@ export class BreadcrumbsState {
const currentProcessBreadcrumbs = ctx.getState().processesBreadcrumbs;
const processesBreadcrumbs = updateItem<ProcessBreadcrumbs>(
item => item.processId === currentProcessId,
item => this.deleteBreadcrumbsByIndex(item.breadcrumbs.findIndex(b => b.name === payload.name))(item)
// item => this.deleteBreadcrumbsByIndex(item.breadcrumbs.findIndex(b => b.name === payload.name))(item)
item => this.logBreadcrumb()(item)
)(currentProcessBreadcrumbs);
ctx.patchState({ processesBreadcrumbs });
}
logBreadcrumb(): StateOperator<ProcessBreadcrumbs> {
return (processBreadcrumbs: Readonly<ProcessBreadcrumbs>) => {
console.log('asdasdad');
return processBreadcrumbs;
};
}
deleteBreadcrumbsByIndex(index: number): StateOperator<ProcessBreadcrumbs> {
return (processBreadcrumbs: Readonly<ProcessBreadcrumbs>) => {
const breadcrumbs = removeItem<Breadcrumb>(b => processBreadcrumbs.breadcrumbs.indexOf(b) > index)(processBreadcrumbs.breadcrumbs);

View File

@@ -69,13 +69,15 @@ export class ProductCheckoutComponent implements OnInit, OnDestroy {
}
get price(): number {
return this._book.availabilities[0].price.value.value;
// TODO: implement availability API
return 0; // this._book.availabilities[0].price.value.value;
}
constructor(private modalService: ModalService, private store: Store, private router: Router) {}
ngOnInit() {
this.currency = this.book.availabilities[0].price.value.currency;
// TODO: implement availability API
this.currency = 'EUR'; // this.book.availabilities[0].price.value.currency;
this.branches$
.pipe(

View File

@@ -12,6 +12,6 @@
}
},
"feedService": {
"endpoint": "https://isa.paragon-data.de"
"endpoint": "https://isa.paragon-data.de/isa/v1"
}
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
"swagger": "https://isa.paragon-data.de/ava/v2/swagger.json",
"output": "src/lib/availability",
"prefix": "Av",
"ignoreUnusedModels": true,
"minParamsForContainer": 2,
"sortParams": "desc",
"defaultTag": "Av",
"removeStaleFiles": true,
"modelIndex": true,
"serviceIndex": true,
"apiModule": true,
"enumModule": true,
"generateExamples": false
}

View File

@@ -1,6 +1,6 @@
{
"$schema": "../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
"swagger": "https://isa.paragon-data.de/cat/v2/swagger.json",
"swagger": "https://isa.paragon-data.de/cat/v3/swagger.json",
"output": "src/lib/api",
"prefix": "Api",
"ignoreUnusedModels": true,

View File

@@ -0,0 +1,16 @@
{
"$schema": "../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
"swagger": "https://isa.paragon-data.de/checkout/v1/swagger.json",
"output": "src/lib/checkout",
"prefix": "Checkout",
"ignoreUnusedModels": true,
"minParamsForContainer": 2,
"sortParams": "desc",
"defaultTag": "Checkout",
"removeStaleFiles": true,
"modelIndex": true,
"serviceIndex": true,
"apiModule": true,
"enumModule": true,
"generateExamples": false
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
"swagger": "https://isa.paragon-data.de/crm/v1/swagger.json",
"output": "src/lib/crm",
"prefix": "Crm",
"ignoreUnusedModels": true,
"minParamsForContainer": 2,
"sortParams": "desc",
"defaultTag": "Crm",
"removeStaleFiles": true,
"modelIndex": true,
"serviceIndex": true,
"apiModule": true,
"enumModule": true,
"generateExamples": false
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
"swagger": "https://isa.paragon-data.de/isa/v1/swagger.json",
"output": "src/lib/isa",
"prefix": "Isa",
"ignoreUnusedModels": true,
"minParamsForContainer": 2,
"sortParams": "desc",
"defaultTag": "Isa",
"removeStaleFiles": true,
"modelIndex": true,
"serviceIndex": true,
"apiModule": true,
"enumModule": true,
"generateExamples": false
}

View File

@@ -0,0 +1,16 @@
{
"$schema": "../../node_modules/ng-swagger-gen/ng-swagger-gen-schema.json",
"swagger": "https://isa.paragon-data.de/oms/v1/swagger.json",
"output": "src/lib/oms",
"prefix": "Oms",
"ignoreUnusedModels": true,
"minParamsForContainer": 2,
"sortParams": "desc",
"defaultTag": "Oms",
"removeStaleFiles": true,
"modelIndex": true,
"serviceIndex": true,
"apiModule": true,
"enumModule": true,
"generateExamples": false
}

View File

@@ -8,6 +8,6 @@
},
"scripts": {
"start": "ng-swagger-gen && ng serve",
"gen-swagger": "ng-swagger-gen"
"gen-swagger": "ng-swagger-gen -c ng-swagger-gen-cat.json && ng-swagger-gen -c ng-swagger-gen-av.json && ng-swagger-gen -c ng-swagger-gen-isa.json && ng-swagger-gen -c ng-swagger-gen-checkout.json && ng-swagger-gen -c ng-swagger-gen-crm.json && ng-swagger-gen -c ng-swagger-gen-oms.json"
}
}

View File

@@ -8,5 +8,5 @@ import { Injectable } from '@angular/core';
providedIn: 'root',
})
export class ApiConfiguration {
rootUrl: string = 'https://isa.paragon-data.de/cat/v2';
rootUrl: string = 'https://isa.paragon-data.de/cat/v3';
}

View File

@@ -20,6 +20,11 @@ export interface ImageDTO {
*/
url?: string;
/**
* Thumbnail-Url
*/
thumbUrl?: string;
/**
* Bildunterschrift
*/

View File

@@ -1,3 +1,7 @@
/* tslint:disable */
export interface IPublicUserInfo {
alias?: string;
displayName?: string;
username?: string;
isAuthenticated: boolean;
}

View File

@@ -1,33 +1,33 @@
/* tslint:disable */
import { EntityDTO } from './entity-dto';
import { ImageDTO } from './image-dto';
import { SpecDTO } from './spec-dto';
import { TextDTO } from './text-dto';
import { ImageDTO } from './image-dto';
import { AvailabilityDTO } from './availability-dto';
import { StockInfoDTO } from './stock-info-dto';
import { ShelfInfoDTO } from './shelf-info-dto';
import { ReviewDTO } from './review-dto';
export interface ItemDTO extends EntityDTO {
/**
* Images
*/
images?: Array<ImageDTO>;
/**
* Rang
*/
scoring?: number;
/**
* Weitere Artikel-IDs
*/
ids?: {[key: string]: number};
/**
* Artikel / Produkttyp
*/
type?: any;
/**
* Ist eine Empfehlung
* Markierungen (Lesezeichen) wie (BOD, Prämie)
*/
recommendation?: boolean;
labels?: {[key: string]: string};
/**
* Produkt-Stammdaten
@@ -45,14 +45,24 @@ export interface ItemDTO extends EntityDTO {
texts?: Array<TextDTO>;
/**
* Weitere Artikel-IDs
* Images
*/
ids?: {[key: string]: number};
images?: Array<ImageDTO>;
/**
* Verfügbarkeit
* Verfügbarkeit laut Katalog
*/
availabilities?: Array<AvailabilityDTO>;
catalogAvailability?: any;
/**
* Verfügbarkeit zur Bestellung in die Filiale
*/
storeAvailabilities?: Array<AvailabilityDTO>;
/**
* Verfügbarkeit zur Bestellung zum Versand
*/
shippingAvailabilities?: Array<AvailabilityDTO>;
/**
* Bestandsinformationen

View File

@@ -6,16 +6,16 @@ import { OrderByDTO } from './order-by-dto';
*/
export interface QueryTokenDTO {
/**
* Katalogbereich
*/
catalogType?: any;
/**
* Lager PK
*/
stockId?: number;
/**
* Bezeichner
*/
friendlyName?: string;
/**
* Eingabewerte z.B. ("qs", "heller süden")
*/
@@ -32,9 +32,9 @@ export interface QueryTokenDTO {
fuzzy?: number;
/**
* Bezeichner
* Katalogbereich
*/
friendlyName?: string;
catalogType?: any;
/**
* Filter

View File

@@ -23,7 +23,7 @@ class SearchService extends __BaseService {
static readonly SearchByIdPath = '/s/byid';
static readonly SearchDetailPath = '/s/{id}';
static readonly SearchSettingsPath = '/s/settings';
static readonly SearchGetRecommendationsPath = '/s/recommendations/{pid}';
static readonly SearchGetRecommendationsPath = '/s/recommendations/{id}';
constructor(
config: __Configuration,
@@ -228,16 +228,21 @@ class SearchService extends __BaseService {
}
/**
* @param pid undefined
* @param params The `SearchService.SearchGetRecommendationsParams` containing the following parameters:
*
* - `id`:
*
* - `pid`:
*/
SearchGetRecommendationsResponse(pid: number): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfItemDTO>> {
SearchGetRecommendationsResponse(params: SearchService.SearchGetRecommendationsParams): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfItemDTO>> {
let __params = this.newParams();
let __headers = new HttpHeaders();
let __body: any = null;
if (params.pid != null) __params = __params.set('pid', params.pid.toString());
let req = new HttpRequest<any>(
'GET',
this.rootUrl + `/s/recommendations/${pid}`,
this.rootUrl + `/s/recommendations/${params.id}`,
__body,
{
headers: __headers,
@@ -253,16 +258,28 @@ class SearchService extends __BaseService {
);
}
/**
* @param pid undefined
* @param params The `SearchService.SearchGetRecommendationsParams` containing the following parameters:
*
* - `id`:
*
* - `pid`:
*/
SearchGetRecommendations(pid: number): __Observable<ResponseArgsOfIEnumerableOfItemDTO> {
return this.SearchGetRecommendationsResponse(pid).pipe(
SearchGetRecommendations(params: SearchService.SearchGetRecommendationsParams): __Observable<ResponseArgsOfIEnumerableOfItemDTO> {
return this.SearchGetRecommendationsResponse(params).pipe(
__map(_r => _r.body as ResponseArgsOfIEnumerableOfItemDTO)
);
}
}
module SearchService {
/**
* Parameters for SearchGetRecommendations
*/
export interface SearchGetRecommendationsParams {
id: string;
pid?: number;
}
}
export { SearchService }

View File

@@ -0,0 +1,12 @@
/* tslint:disable */
import { Injectable } from '@angular/core';
/**
* Global configuration for Av services
*/
@Injectable({
providedIn: 'root',
})
export class AvConfiguration {
rootUrl: string = 'https://isa.paragon-data.de/ava/v2';
}

View File

@@ -0,0 +1,24 @@
/* tslint:disable */
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { AvConfiguration } from './av-configuration';
import { AvailabilityService } from './services/availability.service';
/**
* Provider for all Av services, plus AvConfiguration
*/
@NgModule({
imports: [
HttpClientModule
],
exports: [
HttpClientModule
],
declarations: [],
providers: [
AvConfiguration,
AvailabilityService
],
})
export class AvModule { }

View File

@@ -0,0 +1,63 @@
/* 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
});
}
}

View File

@@ -0,0 +1,10 @@
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 { VATValueDTO } from './models/vatvalue-dto';
export { VATType } from './models/vattype';
export { AvailabilityType } from './models/availability-type';
export { ResponseArgs } from './models/response-args';
export { IPublicUserInfo } from './models/ipublic-user-info';
export { AvailabilityRequestDTO } from './models/availability-request-dto';

View File

@@ -0,0 +1,21 @@
/* tslint:disable */
import { PriceDTO } from './price-dto';
import { AvailabilityType } from './availability-type';
export interface AvailabilityDTO {
itemId?: number;
requestReference?: string;
ean?: string;
shop?: number;
price?: PriceDTO;
supplier?: string;
ssc?: string;
qty?: number;
isPrebooked?: boolean;
at?: string;
altAt?: string;
status: AvailabilityType;
preferred?: number;
requested?: string;
requestStatusCode?: string;
requestMessage?: string;
}

View File

@@ -0,0 +1,16 @@
/* tslint:disable */
import { PriceDTO } from './price-dto';
export interface AvailabilityRequestDTO {
itemId?: string;
ean?: string;
qty: number;
orderCode?: string;
supplier?: string;
preBook?: boolean;
price?: PriceDTO;
ssc?: string;
estimatedShipping?: string;
shopId?: number;
branchNumber?: string;
availabilityReference?: string;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type AvailabilityType = 0 | 1 | 2 | 32 | 256 | 1024 | 2048 | 4096 | 8192 | 16384;

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
export interface IPublicUserInfo {
alias?: string;
displayName?: string;
username?: string;
isAuthenticated: boolean;
}

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
import { PriceValueDTO } from './price-value-dto';
import { VATValueDTO } from './vatvalue-dto';
export interface PriceDTO {
value?: PriceValueDTO;
vat?: VATValueDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
export interface PriceValueDTO {
value?: number;
currency?: string;
currencySymbol?: string;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { AvailabilityDTO } from './availability-dto';
export interface ResponseArgsOfIEnumerableOfAvailabilityDTO extends ResponseArgs {
result?: Array<AvailabilityDTO>;
}

View File

@@ -0,0 +1,9 @@
/* tslint:disable */
import { IPublicUserInfo } from './ipublic-user-info';
export interface ResponseArgs {
error: boolean;
message?: string;
requestId?: number;
userInfo?: IPublicUserInfo;
invalidProperties?: {[key: string]: string};
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type VATType = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128;

View File

@@ -0,0 +1,8 @@
/* tslint:disable */
import { VATType } from './vattype';
export interface VATValueDTO {
label?: string;
inPercent?: number;
vatType: VATType;
value?: number;
}

View File

@@ -0,0 +1 @@
export { AvailabilityService } from './services/availability.service';

View File

@@ -0,0 +1,98 @@
/* 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);
}
/**
* @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>;
})
);
}
/**
* @param request undefined
*/
AvailabilityStoreAvailability(request: Array<AvailabilityRequestDTO>): __Observable<ResponseArgsOfIEnumerableOfAvailabilityDTO> {
return this.AvailabilityStoreAvailabilityResponse(request).pipe(
__map(_r => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO)
);
}
/**
* @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>;
})
);
}
/**
* @param request undefined
*/
AvailabilityShippingAvailability(request: Array<AvailabilityRequestDTO>): __Observable<ResponseArgsOfIEnumerableOfAvailabilityDTO> {
return this.AvailabilityShippingAvailabilityResponse(request).pipe(
__map(_r => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO)
);
}
}
module AvailabilityService {
}
export { AvailabilityService }

View File

@@ -0,0 +1,9 @@
/* tslint:disable */
import { HttpResponse } from '@angular/common/http';
/**
* Constrains the http to not expand the response type with `| null`
*/
export type StrictHttpResponse<T> = HttpResponse<T> & {
readonly body: T;
}

View File

@@ -0,0 +1,63 @@
/* 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
});
}
}

View File

@@ -0,0 +1,12 @@
/* tslint:disable */
import { Injectable } from '@angular/core';
/**
* Global configuration for Checkout services
*/
@Injectable({
providedIn: 'root',
})
export class CheckoutConfiguration {
rootUrl: string = 'https://isa.paragon-data.de/checkout/v1';
}

View File

@@ -0,0 +1,24 @@
/* tslint:disable */
import { NgModule } from '@angular/core';
import { HttpClientModule } from '@angular/common/http';
import { CheckoutConfiguration } from './checkout-configuration';
import { StoreCheckoutService } from './services/store-checkout.service';
/**
* Provider for all Checkout services, plus CheckoutConfiguration
*/
@NgModule({
imports: [
HttpClientModule
],
exports: [
HttpClientModule
],
declarations: [],
providers: [
CheckoutConfiguration,
StoreCheckoutService
],
})
export class CheckoutModule { }

View File

@@ -0,0 +1,153 @@
export { ResponseArgsOfShoppingCartDTO } from './models/response-args-of-shopping-cart-dto';
export { ShoppingCartDTO } from './models/shopping-cart-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 { Gender } from './models/gender';
export { OrganisationNamesDTO } from './models/organisation-names-dto';
export { EntityDTOContainerOfTenantDTO } from './models/entity-dtocontainer-of-tenant-dto';
export { TenantDTO } from './models/tenant-dto';
export { EntityDTOOfTenantDTOAndIReadOnlyTenant } from './models/entity-dtoof-tenant-dtoand-iread-only-tenant';
export { EntityDTO } from './models/entity-dto';
export { EntityStatus } from './models/entity-status';
export { EntityDTOReferenceContainer } from './models/entity-dtoreference-container';
export { ExternalReferenceDTO } from './models/external-reference-dto';
export { EntityDTOOfContributorDTOAndIContributor } from './models/entity-dtoof-contributor-dtoand-icontributor';
export { EntityDTOContainerOfCompanyDTO } from './models/entity-dtocontainer-of-company-dto';
export { CompanyDTO } from './models/company-dto';
export { EntityDTOOfCompanyDTOAndICompany } from './models/entity-dtoof-company-dtoand-icompany';
export { EntityDTOContainerOfCategoryDTO } from './models/entity-dtocontainer-of-category-dto';
export { CategoryDTO } from './models/category-dto';
export { EntityDTOOfCategoryDTOAndICategory } from './models/entity-dtoof-category-dtoand-icategory';
export { SizeOfString } from './models/size-of-string';
export { WeightOfAvoirdupois } from './models/weight-of-avoirdupois';
export { Avoirdupois } from './models/avoirdupois';
export { ItemType } from './models/item-type';
export { EntityDTOContainerOfFileDTO } from './models/entity-dtocontainer-of-file-dto';
export { FileDTO } from './models/file-dto';
export { EntityDTOOfFileDTOAndIFile } from './models/entity-dtoof-file-dtoand-ifile';
export { EntityDTOContainerOfTextDTO } from './models/entity-dtocontainer-of-text-dto';
export { TextDTO } from './models/text-dto';
export { EntityDTOOfTextDTOAndIText } from './models/entity-dtoof-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 { EntityDTOOfComponentsDTOAndIComponents } from './models/entity-dtoof-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 { EntityDTOOfItemDTOAndIItem } from './models/entity-dtoof-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 { PriceValueDTO } from './models/price-value-dto';
export { VATValueDTO } from './models/vatvalue-dto';
export { VATType } from './models/vattype';
export { EntityDTOContainerOfSupplierDTO } from './models/entity-dtocontainer-of-supplier-dto';
export { SupplierDTO } from './models/supplier-dto';
export { SupplierType } from './models/supplier-type';
export { EntityDTOOfSupplierDTOAndISupplier } from './models/entity-dtoof-supplier-dtoand-isupplier';
export { EntityDTOOfShopItemDTOAndIShopItem } from './models/entity-dtoof-shop-item-dtoand-ishop-item';
export { ProductDTO } from './models/product-dto';
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 { EntityDTOContainerOfBranchDTO } from './models/entity-dtocontainer-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 { EntityDTOOfLabelDTOAndIReadOnlyLabel } from './models/entity-dtoof-label-dtoand-iread-only-label';
export { Address } from './models/address';
export { GeoLocation } from './models/geo-location';
export { BranchType } from './models/branch-type';
export { EntityDTOOfBranchDTOAndIReadOnlyBranch } from './models/entity-dtoof-branch-dtoand-iread-only-branch';
export { EntityDTOContainerOfLogisticianDTO } from './models/entity-dtocontainer-of-logistician-dto';
export { LogisticianDTO } from './models/logistician-dto';
export { EntityDTOOfLogisticianDTOAndILogistician } from './models/entity-dtoof-logistician-dtoand-ilogistician';
export { EntityDTOContainerOfCurrencyDTO } from './models/entity-dtocontainer-of-currency-dto';
export { CurrencyDTO } from './models/currency-dto';
export { EntityDTOOfCurrencyDTOAndICurrency } from './models/entity-dtoof-currency-dtoand-icurrency';
export { EntityDTOContainerOfCountryDTO } from './models/entity-dtocontainer-of-country-dto';
export { CountryDTO } from './models/country-dto';
export { EntityDTOOfCountryDTOAndIReadOnlyCountry } from './models/entity-dtoof-country-dtoand-iread-only-country';
export { PaymentType } from './models/payment-type';
export { ShippingTarget } from './models/shipping-target';
export { CountryTargetDTO } from './models/country-target-dto';
export { BranchTargetDTO } from './models/branch-target-dto';
export { EntityDTOOfShopDTOAndIShop } from './models/entity-dtoof-shop-dtoand-ishop';
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 { CheckoutDTO } from './models/checkout-dto';
export { UserAccountDTO } from './models/user-account-dto';
export { BuyerDTO } from './models/buyer-dto';
export { BuyerType } from './models/buyer-type';
export { CommunicationDetailsDTO } from './models/communication-details-dto';
export { OrganisationDTO } from './models/organisation-dto';
export { AddressDTO } from './models/address-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 { 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 { 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 { EntityDTOOfCheckoutItemDTOAndICheckoutItem } from './models/entity-dtoof-checkout-item-dtoand-icheckout-item';
export { DisplayItemDTO } from './models/display-item-dto';
export { EntityDTOOfCheckoutDeliveryDTOAndICheckoutDelivery } from './models/entity-dtoof-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 { EntityDTOOfVoucherDTOAndIReadOnlyVoucher } from './models/entity-dtoof-voucher-dtoand-iread-only-voucher';
export { EntityDTOContainerOfCouponDTO } from './models/entity-dtocontainer-of-coupon-dto';
export { CouponDTO } from './models/coupon-dto';
export { CouponType } from './models/coupon-type';
export { EntityDTOOfCouponDTOAndIReadOnlyCoupon } from './models/entity-dtoof-coupon-dtoand-iread-only-coupon';
export { EntityDTOOfCheckoutDTOAndICheckout } from './models/entity-dtoof-checkout-dtoand-icheckout';
export { ShippingAddressDTO } from './models/shipping-address-dto';
export { EntityDTOOfDestinationDTOAndIDestination } from './models/entity-dtoof-destination-dtoand-idestination';
export { EntityDTOOfShoppingCartItemDTOAndIShoppingCartItem } from './models/entity-dtoof-shopping-cart-item-dtoand-ishopping-cart-item';
export { EntityDTOOfShoppingCartDTOAndIShoppingCart } from './models/entity-dtoof-shopping-cart-dtoand-ishopping-cart';
export { ResponseArgs } from './models/response-args';
export { IPublicUserInfo } from './models/ipublic-user-info';
export { AddToShoppingCartDTO } from './models/add-to-shopping-cart-dto';
export { Price } from './models/price';
export { ResponseArgsOfCheckoutDTO } from './models/response-args-of-checkout-dto';
export { ResponseArgsOfCheckoutStep } from './models/response-args-of-checkout-step';
export { CheckoutStep } from './models/checkout-step';
export { ResponseArgsOfNullableOfBoolean } from './models/response-args-of-nullable-of-boolean';
export { ResponseArgsOfIEnumerableOfPayerDTO } from './models/response-args-of-ienumerable-of-payer-dto';
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 { ResponseArgsOfIEnumerableOfBranchDTO } from './models/response-args-of-ienumerable-of-branch-dto';
export { ResponseArgsOfIEnumerableOfCountryDTO } from './models/response-args-of-ienumerable-of-country-dto';
export { KeyValuePairOfEntityDTOContainerOfCheckoutItemDTOAndNullableOfDecimal } from './models/key-value-pair-of-entity-dtocontainer-of-checkout-item-dtoand-nullable-of-decimal';
export { ResponseArgsOfPaymentDTO } from './models/response-args-of-payment-dto';

View File

@@ -0,0 +1,13 @@
/* tslint:disable */
import { ProductDTO } from './product-dto';
import { Price } from './price';
import { AvailabilityDTO } from './availability-dto';
import { EntityDTOContainerOfDestinationDTO } from './entity-dtocontainer-of-destination-dto';
export interface AddToShoppingCartDTO {
quantity: number;
shopItemId?: number;
product?: ProductDTO;
retailPrice?: Price;
availability?: AvailabilityDTO;
destination?: EntityDTOContainerOfDestinationDTO;
}

View File

@@ -0,0 +1,17 @@
/* tslint:disable */
import { GeoLocation } from './geo-location';
export interface AddressDTO {
apartment?: string;
careOf?: string;
city?: string;
district?: string;
info?: string;
po?: string;
street?: string;
streetNumber?: string;
zipCode?: string;
state?: string;
country?: string;
geoLocation?: GeoLocation;
region?: string;
}

View File

@@ -0,0 +1,17 @@
/* tslint:disable */
import { GeoLocation } from './geo-location';
export interface Address {
apartment?: string;
careOf?: string;
city?: string;
district?: string;
info?: string;
po?: string;
region?: string;
street?: string;
streetNumber?: string;
zipCode?: string;
state?: string;
country?: string;
geoLocation?: GeoLocation;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type AllergeneType = 0 | 1 | 2 | 4 | 6 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 1536 | 2048 | 6144 | 10240 | 18432 | 34816 | 67584 | 133120 | 264192 | 526336 | 1048576 | 3145728 | 5242880 | 9437184 | 17825792 | 34603008 | 68157440 | 135266304 | 268435456 | 805306368 | 1342177280 | 2415919104 | 4563402752 | 8858370048 | 17448304640 | 34628173824 | 68987912192;

View File

@@ -0,0 +1,20 @@
/* tslint:disable */
import { AvailabilityType } from './availability-type';
import { PriceDTO } from './price-dto';
import { EntityDTOContainerOfShopItemDTO } from './entity-dtocontainer-of-shop-item-dto';
import { EntityDTOContainerOfSupplierDTO } from './entity-dtocontainer-of-supplier-dto';
export interface AvailabilityDTO {
availabilityType: AvailabilityType;
inStock?: number;
ssc?: string;
sscText?: string;
supplierInfo?: string;
isPrebooked?: boolean;
supplierSSC?: string;
supplierSSCText?: string;
price?: PriceDTO;
estimatedShippingDate?: string;
shopItem?: EntityDTOContainerOfShopItemDTO;
supplier?: EntityDTOContainerOfSupplierDTO;
supplierProductNumber?: string;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type AvailabilityType = 0 | 1 | 2 | 32 | 256 | 1024 | 2048 | 4096 | 8192 | 16384;

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type Avoirdupois = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096;

View File

@@ -0,0 +1,17 @@
/* tslint:disable */
import { EntityDTOOfBranchDTOAndIReadOnlyBranch } from './entity-dtoof-branch-dtoand-iread-only-branch';
import { EntityDTOContainerOfLabelDTO } from './entity-dtocontainer-of-label-dto';
import { Address } from './address';
import { BranchType } from './branch-type';
export interface BranchDTO extends EntityDTOOfBranchDTOAndIReadOnlyBranch {
label?: EntityDTOContainerOfLabelDTO;
parent?: number;
branchNumber?: string;
name?: string;
shortName?: string;
key?: string;
isOnline?: boolean;
address?: Address;
branchType: BranchType;
isDefault?: string;
}

View File

@@ -0,0 +1,8 @@
/* tslint:disable */
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
export interface BranchTargetDTO {
target?: EntityDTOContainerOfBranchDTO;
start?: string;
stop?: string;
isDefault?: string;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type BranchType = 0 | 1 | 2 | 4 | 8 | 16;

View File

@@ -0,0 +1,20 @@
/* tslint:disable */
import { EntityReferenceDTO } from './entity-reference-dto';
import { BuyerType } from './buyer-type';
import { Gender } from './gender';
import { CommunicationDetailsDTO } from './communication-details-dto';
import { OrganisationDTO } from './organisation-dto';
import { AddressDTO } from './address-dto';
export interface BuyerDTO extends EntityReferenceDTO {
buyerNumber?: string;
buyerType: BuyerType;
isTemporaryAccount?: boolean;
gender: Gender;
title?: string;
firstName?: string;
lastName?: string;
dateOfBirth?: string;
communicationDetails?: CommunicationDetailsDTO;
organisation?: OrganisationDTO;
address?: AddressDTO;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type BuyerType = 0 | 1 | 2 | 4 | 8 | 16;

View File

@@ -0,0 +1,14 @@
/* tslint:disable */
import { EntityDTOOfCategoryDTOAndICategory } from './entity-dtoof-category-dtoand-icategory';
import { EntityDTOContainerOfCategoryDTO } from './entity-dtocontainer-of-category-dto';
import { EntityDTOContainerOfTenantDTO } from './entity-dtocontainer-of-tenant-dto';
export interface CategoryDTO extends EntityDTOOfCategoryDTOAndICategory {
name?: string;
parent?: EntityDTOContainerOfCategoryDTO;
type?: string;
key?: string;
sort?: number;
start?: string;
stop?: string;
tenant?: EntityDTOContainerOfTenantDTO;
}

View File

@@ -0,0 +1,17 @@
/* tslint:disable */
import { EntityDTOOfCheckoutDeliveryDTOAndICheckoutDelivery } from './entity-dtoof-checkout-delivery-dtoand-icheckout-delivery';
import { EntityDTOContainerOfCheckoutDTO } from './entity-dtocontainer-of-checkout-dto';
import { EntityDTOContainerOfDestinationDTO } from './entity-dtocontainer-of-destination-dto';
import { TermsOfDeliveryDTO } from './terms-of-delivery-dto';
import { EntityDTOContainerOfCheckoutItemDTO } from './entity-dtocontainer-of-checkout-item-dto';
import { DisplayItemDTO } from './display-item-dto';
import { PriceValueDTO } from './price-value-dto';
export interface CheckoutDeliveryDTO extends EntityDTOOfCheckoutDeliveryDTOAndICheckoutDelivery {
checkout?: EntityDTOContainerOfCheckoutDTO;
destination?: EntityDTOContainerOfDestinationDTO;
preferredShippingDate?: string;
termsOfDelivery?: TermsOfDeliveryDTO;
items?: Array<EntityDTOContainerOfCheckoutItemDTO>;
displayItems?: Array<DisplayItemDTO>;
total?: PriceValueDTO;
}

View File

@@ -0,0 +1,28 @@
/* tslint:disable */
import { EntityDTOOfCheckoutDTOAndICheckout } from './entity-dtoof-checkout-dtoand-icheckout';
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
import { UserAccountDTO } from './user-account-dto';
import { BuyerDTO } from './buyer-dto';
import { PayerDTO } from './payer-dto';
import { EntityDTOContainerOfDestinationDTO } from './entity-dtocontainer-of-destination-dto';
import { EntityDTOContainerOfCheckoutDeliveryDTO } from './entity-dtocontainer-of-checkout-delivery-dto';
import { EntityDTOContainerOfCheckoutItemDTO } from './entity-dtocontainer-of-checkout-item-dto';
import { NotificationChannel } from './notification-channel';
import { SelectionDTOOfShippingTarget } from './selection-dtoof-shipping-target';
import { PaymentDTO } from './payment-dto';
export interface CheckoutDTO extends EntityDTOOfCheckoutDTOAndICheckout {
label?: string;
orderBranch?: EntityDTOContainerOfBranchDTO;
userAccount?: UserAccountDTO;
buyer?: BuyerDTO;
payer?: PayerDTO;
destinations?: Array<EntityDTOContainerOfDestinationDTO>;
deliveries?: Array<EntityDTOContainerOfCheckoutDeliveryDTO>;
items?: Array<EntityDTOContainerOfCheckoutItemDTO>;
notificationChannels: NotificationChannel;
availableShippingTargets?: Array<SelectionDTOOfShippingTarget>;
payment?: PaymentDTO;
shoppingCartUrl?: string;
checkoutUrl?: string;
shippingCostsUrl?: string;
}

View File

@@ -0,0 +1,16 @@
/* tslint:disable */
import { EntityDTOOfCheckoutItemDTOAndICheckoutItem } from './entity-dtoof-checkout-item-dtoand-icheckout-item';
import { EntityDTOContainerOfCheckoutDTO } from './entity-dtocontainer-of-checkout-dto';
import { EntityDTOContainerOfShoppingCartItemDTO } from './entity-dtocontainer-of-shopping-cart-item-dto';
import { EntityDTOContainerOfCheckoutDeliveryDTO } from './entity-dtocontainer-of-checkout-delivery-dto';
import { PriceValueDTO } from './price-value-dto';
export interface CheckoutItemDTO extends EntityDTOOfCheckoutItemDTOAndICheckoutItem {
checkout?: EntityDTOContainerOfCheckoutDTO;
shoppingCartItem?: EntityDTOContainerOfShoppingCartItemDTO;
delivery?: EntityDTOContainerOfCheckoutDeliveryDTO;
quantity?: number;
preferredShippingDate?: string;
accessories?: Array<EntityDTOContainerOfShoppingCartItemDTO>;
total?: PriceValueDTO;
orderedAtSupplier?: string;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type CheckoutStep = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096;

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
export interface CommunicationDetailsDTO {
phone?: string;
mobile?: string;
fax?: string;
email?: string;
}

View File

@@ -0,0 +1,12 @@
/* tslint:disable */
import { EntityDTOOfCompanyDTOAndICompany } from './entity-dtoof-company-dtoand-icompany';
import { EntityDTOContainerOfCompanyDTO } from './entity-dtocontainer-of-company-dto';
export interface CompanyDTO extends EntityDTOOfCompanyDTOAndICompany {
parent?: EntityDTOContainerOfCompanyDTO;
name?: string;
nameSuffix?: string;
legalForm?: string;
department?: string;
costUnit?: string;
vatId?: string;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type ComponentItemDisplayType = 0 | 1 | 2;

View File

@@ -0,0 +1,18 @@
/* tslint:disable */
import { EntityDTOContainerOfItemDTO } from './entity-dtocontainer-of-item-dto';
import { EntityDTOContainerOfCategoryDTO } from './entity-dtocontainer-of-category-dto';
import { QuantityUnitType } from './quantity-unit-type';
import { ComponentItemDisplayType } from './component-item-display-type';
export interface ComponentItemDTO {
name?: string;
description?: string;
item?: EntityDTOContainerOfItemDTO;
category?: EntityDTOContainerOfCategoryDTO;
required?: boolean;
quantityMax?: number;
quantityUnitType: QuantityUnitType;
unit?: string;
displayType: ComponentItemDisplayType;
start?: string;
stop?: string;
}

View File

@@ -0,0 +1,14 @@
/* tslint:disable */
import { EntityDTOOfComponentsDTOAndIComponents } from './entity-dtoof-components-dtoand-icomponents';
import { ComponentItemDTO } from './component-item-dto';
import { SetType } from './set-type';
import { QuantityUnitType } from './quantity-unit-type';
export interface ComponentsDTO extends EntityDTOOfComponentsDTOAndIComponents {
items?: Array<ComponentItemDTO>;
type: SetType;
overallQuantityMin?: number;
overallQuantityMax?: number;
quantityUnitType: QuantityUnitType;
unit?: string;
referenceQuantity?: number;
}

View File

@@ -0,0 +1,11 @@
/* tslint:disable */
import { EntityDTOOfContributorDTOAndIContributor } from './entity-dtoof-contributor-dtoand-icontributor';
import { PersonNamesDTO } from './person-names-dto';
import { OrganisationNamesDTO } from './organisation-names-dto';
import { EntityDTOContainerOfTenantDTO } from './entity-dtocontainer-of-tenant-dto';
export interface ContributorDTO extends EntityDTOOfContributorDTOAndIContributor {
person?: PersonNamesDTO;
organisation?: OrganisationNamesDTO;
friendlyName?: string;
tenant?: EntityDTOContainerOfTenantDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOContainerOfContributorDTO } from './entity-dtocontainer-of-contributor-dto';
export interface ContributorHelperDTO {
type?: string;
contributor?: EntityDTOContainerOfContributorDTO;
}

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
import { EntityDTOOfCountryDTOAndIReadOnlyCountry } from './entity-dtoof-country-dtoand-iread-only-country';
export interface CountryDTO extends EntityDTOOfCountryDTOAndIReadOnlyCountry {
name?: string;
isO3166_A_3?: string;
isDefault?: string;
}

View File

@@ -0,0 +1,8 @@
/* tslint:disable */
import { EntityDTOContainerOfCountryDTO } from './entity-dtocontainer-of-country-dto';
export interface CountryTargetDTO {
target?: EntityDTOContainerOfCountryDTO;
start?: string;
stop?: string;
isDefault?: string;
}

View File

@@ -0,0 +1,13 @@
/* tslint:disable */
import { EntityDTOOfCouponDTOAndIReadOnlyCoupon } from './entity-dtoof-coupon-dtoand-iread-only-coupon';
import { CouponType } from './coupon-type';
import { PriceValueDTO } from './price-value-dto';
export interface CouponDTO extends EntityDTOOfCouponDTOAndIReadOnlyCoupon {
couponType: CouponType;
label?: string;
code?: string;
exclusive?: boolean;
discount?: number;
maxDiscounted?: PriceValueDTO;
value?: PriceValueDTO;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type CouponType = 0 | 1 | 2 | 4 | 8;

View File

@@ -0,0 +1,8 @@
/* tslint:disable */
import { EntityDTOOfCurrencyDTOAndICurrency } from './entity-dtoof-currency-dtoand-icurrency';
export interface CurrencyDTO extends EntityDTOOfCurrencyDTOAndICurrency {
isO4217?: string;
number?: number;
name?: string;
symbol?: string;
}

View File

@@ -0,0 +1,2 @@
/* tslint:disable */
export type DeclarableFoodAdditives = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17;

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
import { CheckoutDeliveryDTO } from './checkout-delivery-dto';
import { EntityDTOContainerOfCheckoutItemDTO } from './entity-dtocontainer-of-checkout-item-dto';
export interface DeliveryContainer {
delivery?: CheckoutDeliveryDTO;
items?: Array<EntityDTOContainerOfCheckoutItemDTO>;
}

View File

@@ -0,0 +1,14 @@
/* tslint:disable */
import { EntityDTOOfDestinationDTOAndIDestination } from './entity-dtoof-destination-dtoand-idestination';
import { EntityDTOContainerOfCheckoutDTO } from './entity-dtocontainer-of-checkout-dto';
import { ShippingTarget } from './shipping-target';
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
import { EntityDTOContainerOfLogisticianDTO } from './entity-dtocontainer-of-logistician-dto';
import { ShippingAddressDTO } from './shipping-address-dto';
export interface DestinationDTO extends EntityDTOOfDestinationDTOAndIDestination {
checkout?: EntityDTOContainerOfCheckoutDTO;
target: ShippingTarget;
targetBranch?: EntityDTOContainerOfBranchDTO;
logistician?: EntityDTOContainerOfLogisticianDTO;
shippingAddress?: ShippingAddressDTO;
}

View File

@@ -0,0 +1,12 @@
/* tslint:disable */
import { ShopItemDTO } from './shop-item-dto';
import { PriceDTO } from './price-dto';
export interface DisplayItemDTO {
shopItem?: ShopItemDTO;
specialComment?: string;
quantity?: number;
price?: PriceDTO;
components?: Array<DisplayItemDTO>;
accessories?: Array<DisplayItemDTO>;
total?: PriceDTO;
}

View File

@@ -0,0 +1,10 @@
/* tslint:disable */
import { EntityStatus } from './entity-status';
export interface EntityDTO {
id?: number;
created?: string;
changed?: string;
version?: number;
status?: EntityStatus;
pId?: string;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { BranchDTO } from './branch-dto';
export interface EntityDTOContainerOfBranchDTO extends EntityDTOReferenceContainer {
data?: BranchDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CategoryDTO } from './category-dto';
export interface EntityDTOContainerOfCategoryDTO extends EntityDTOReferenceContainer {
data?: CategoryDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CheckoutDeliveryDTO } from './checkout-delivery-dto';
export interface EntityDTOContainerOfCheckoutDeliveryDTO extends EntityDTOReferenceContainer {
data?: CheckoutDeliveryDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CheckoutDTO } from './checkout-dto';
export interface EntityDTOContainerOfCheckoutDTO extends EntityDTOReferenceContainer {
data?: CheckoutDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CheckoutItemDTO } from './checkout-item-dto';
export interface EntityDTOContainerOfCheckoutItemDTO extends EntityDTOReferenceContainer {
data?: CheckoutItemDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CompanyDTO } from './company-dto';
export interface EntityDTOContainerOfCompanyDTO extends EntityDTOReferenceContainer {
data?: CompanyDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { ComponentsDTO } from './components-dto';
export interface EntityDTOContainerOfComponentsDTO extends EntityDTOReferenceContainer {
data?: ComponentsDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { ContributorDTO } from './contributor-dto';
export interface EntityDTOContainerOfContributorDTO extends EntityDTOReferenceContainer {
data?: ContributorDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CountryDTO } from './country-dto';
export interface EntityDTOContainerOfCountryDTO extends EntityDTOReferenceContainer {
data?: CountryDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CouponDTO } from './coupon-dto';
export interface EntityDTOContainerOfCouponDTO extends EntityDTOReferenceContainer {
data?: CouponDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { CurrencyDTO } from './currency-dto';
export interface EntityDTOContainerOfCurrencyDTO extends EntityDTOReferenceContainer {
data?: CurrencyDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { DestinationDTO } from './destination-dto';
export interface EntityDTOContainerOfDestinationDTO extends EntityDTOReferenceContainer {
data?: DestinationDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { FileDTO } from './file-dto';
export interface EntityDTOContainerOfFileDTO extends EntityDTOReferenceContainer {
data?: FileDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { ItemDTO } from './item-dto';
export interface EntityDTOContainerOfItemDTO extends EntityDTOReferenceContainer {
data?: ItemDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { LabelDTO } from './label-dto';
export interface EntityDTOContainerOfLabelDTO extends EntityDTOReferenceContainer {
data?: LabelDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { LogisticianDTO } from './logistician-dto';
export interface EntityDTOContainerOfLogisticianDTO extends EntityDTOReferenceContainer {
data?: LogisticianDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { ShopDTO } from './shop-dto';
export interface EntityDTOContainerOfShopDTO extends EntityDTOReferenceContainer {
data?: ShopDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { ShopItemDTO } from './shop-item-dto';
export interface EntityDTOContainerOfShopItemDTO extends EntityDTOReferenceContainer {
data?: ShopItemDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { ShoppingCartItemDTO } from './shopping-cart-item-dto';
export interface EntityDTOContainerOfShoppingCartItemDTO extends EntityDTOReferenceContainer {
data?: ShoppingCartItemDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { SupplierDTO } from './supplier-dto';
export interface EntityDTOContainerOfSupplierDTO extends EntityDTOReferenceContainer {
data?: SupplierDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { TenantDTO } from './tenant-dto';
export interface EntityDTOContainerOfTenantDTO extends EntityDTOReferenceContainer {
data?: TenantDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { TextDTO } from './text-dto';
export interface EntityDTOContainerOfTextDTO extends EntityDTOReferenceContainer {
data?: TextDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { VoucherDTO } from './voucher-dto';
export interface EntityDTOContainerOfVoucherDTO extends EntityDTOReferenceContainer {
data?: VoucherDTO;
}

View File

@@ -0,0 +1,4 @@
/* tslint:disable */
import { EntityDTO } from './entity-dto';
export interface EntityDTOOfBranchDTOAndIReadOnlyBranch extends EntityDTO {
}

View File

@@ -0,0 +1,4 @@
/* tslint:disable */
import { EntityDTO } from './entity-dto';
export interface EntityDTOOfCategoryDTOAndICategory extends EntityDTO {
}

View File

@@ -0,0 +1,4 @@
/* tslint:disable */
import { EntityDTO } from './entity-dto';
export interface EntityDTOOfCheckoutDeliveryDTOAndICheckoutDelivery extends EntityDTO {
}

View File

@@ -0,0 +1,4 @@
/* tslint:disable */
import { EntityDTO } from './entity-dto';
export interface EntityDTOOfCheckoutDTOAndICheckout extends EntityDTO {
}

View File

@@ -0,0 +1,4 @@
/* tslint:disable */
import { EntityDTO } from './entity-dto';
export interface EntityDTOOfCheckoutItemDTOAndICheckoutItem extends EntityDTO {
}

View File

@@ -0,0 +1,4 @@
/* tslint:disable */
import { EntityDTO } from './entity-dto';
export interface EntityDTOOfCompanyDTOAndICompany extends EntityDTO {
}

Some files were not shown because too many files have changed in this diff Show More