🔄 chore: sync swagger API clients with backend updates

- Regenerated all Swagger API clients (availability, checkout, crm, isa, print, wws)
- Updated CRM loyalty card API endpoints (removed interests, added booking/bon management)
- Temporarily disabled interests form block functionality due to API changes
- Removed deprecated models (check-loyalty-card-result, loyalty-card-status, entity-key-value)
- Added new loyalty booking and bon management models and services
This commit is contained in:
Lorenz Hilpert
2025-11-06 17:03:37 +01:00
parent 89b3d9aa60
commit 8e4d4ff804
312 changed files with 3539 additions and 2762 deletions

View File

@@ -1,92 +1,99 @@
import { Component, ChangeDetectionStrategy } from '@angular/core';
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
import { FormBlock } from '../form-block';
import { InterestsFormBlockData } from './interests-form-block-data';
import { LoyaltyCardService } from '@generated/swagger/crm-api';
import { shareReplay } from 'rxjs/operators';
import { isEqual } from 'lodash';
import { memorize } from '@utils/common';
@Component({
selector: 'app-interests-form-block',
templateUrl: 'interests-form-block.component.html',
styleUrls: ['interests-form-block.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class InterestsFormBlockComponent extends FormBlock<InterestsFormBlockData, UntypedFormGroup> {
private _interests: Map<string, string>;
get interests(): Map<string, string> {
return this._interests;
}
set interests(value: Map<string, string>) {
if (!isEqual(this._interests, value)) {
this._interests = value;
if (this.control) {
this.updateInterestControls();
}
}
}
get tabIndexEnd() {
return this.tabIndexStart + this.interests?.keys.length;
}
constructor(
private _fb: UntypedFormBuilder,
private _LoyaltyCardService: LoyaltyCardService,
) {
super();
this.getInterests().subscribe({
next: (response) => {
const interests = new Map<string, string>();
response.result.forEach((preference) => {
interests.set(preference.key, preference.value);
});
this.interests = interests;
},
error: (error) => {
console.error(error);
},
});
}
@memorize({ ttl: 28800000 })
getInterests() {
return this._LoyaltyCardService.LoyaltyCardListInteressen().pipe(shareReplay(1));
}
updateInterestControls() {
const fData = this.data ?? {};
this.interests?.forEach((value, key) => {
if (!this.control.contains(key)) {
this.control.addControl(key, new UntypedFormControl(fData[key] ?? false));
}
});
Object.keys(this.control.controls).forEach((key) => {
if (!this.interests.has(key)) {
this.control.removeControl(key);
}
});
}
initializeControl(data?: InterestsFormBlockData): void {
const fData = data ?? {};
this.control = this._fb.group({});
this.interests?.forEach((value, key) => {
this.control.addControl(key, new UntypedFormControl(fData[key] ?? false));
});
}
_patchValue(update: { previous: InterestsFormBlockData; current: InterestsFormBlockData }): void {
const fData = update.current ?? {};
this.interests?.forEach((value, key) => {
this.control.get(key).patchValue(fData[key] ?? false);
});
}
}
import { Component, ChangeDetectionStrategy } from '@angular/core';
import {
UntypedFormBuilder,
UntypedFormControl,
UntypedFormGroup,
} from '@angular/forms';
import { FormBlock } from '../form-block';
import { InterestsFormBlockData } from './interests-form-block-data';
import { isEqual } from 'lodash';
@Component({
selector: 'app-interests-form-block',
templateUrl: 'interests-form-block.component.html',
styleUrls: ['interests-form-block.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: false,
})
export class InterestsFormBlockComponent extends FormBlock<
InterestsFormBlockData,
UntypedFormGroup
> {
private _interests: Map<string, string>;
get interests(): Map<string, string> {
return this._interests;
}
set interests(value: Map<string, string>) {
if (!isEqual(this._interests, value)) {
this._interests = value;
if (this.control) {
this.updateInterestControls();
}
}
}
get tabIndexEnd() {
return this.tabIndexStart + this.interests?.keys.length;
}
constructor(private _fb: UntypedFormBuilder) {
super();
// this.getInterests().subscribe({
// next: (response) => {
// const interests = new Map<string, string>();
// response.result.forEach((preference) => {
// interests.set(preference.key, preference.value);
// });
// this.interests = interests;
// },
// error: (error) => {
// console.error(error);
// },
// });
}
// @memorize({ ttl: 28800000 })
// getInterests() {
// return this._LoyaltyCardService.LoyaltyCardListInteressen().pipe(shareReplay(1));
// }
updateInterestControls() {
const fData = this.data ?? {};
this.interests?.forEach((value, key) => {
if (!this.control.contains(key)) {
this.control.addControl(
key,
new UntypedFormControl(fData[key] ?? false),
);
}
});
Object.keys(this.control.controls).forEach((key) => {
if (!this.interests.has(key)) {
this.control.removeControl(key);
}
});
}
initializeControl(data?: InterestsFormBlockData): void {
const fData = data ?? {};
this.control = this._fb.group({});
this.interests?.forEach((value, key) => {
this.control.addControl(key, new UntypedFormControl(fData[key] ?? false));
});
}
_patchValue(update: {
previous: InterestsFormBlockData;
current: InterestsFormBlockData;
}): void {
const fData = update.current ?? {};
this.interests?.forEach((value, key) => {
this.control.get(key).patchValue(fData[key] ?? false);
});
}
}

View File

@@ -8,7 +8,7 @@ import { Injectable } from '@angular/core';
providedIn: 'root',
})
export class AvConfiguration {
rootUrl: string = 'https://isa-test.paragon-data.net';
rootUrl: string = 'https://isa-test.paragon-data.net/ava/v6';
}
export interface AvConfigurationInterface {

View File

@@ -31,8 +31,9 @@ const PARAMETER_CODEC = new ParameterCodec();
export class BaseService {
constructor(
protected config: AvConfiguration,
protected http: HttpClient,
) {}
protected http: HttpClient
) {
}
private _rootUrl: string = '';
@@ -56,7 +57,7 @@ export class BaseService {
*/
protected newParams(): HttpParams {
return new HttpParams({
encoder: PARAMETER_CODEC,
encoder: PARAMETER_CODEC
});
}
}

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
export interface DateRangeDTO extends TouchedBase {
export interface DateRangeDTO extends TouchedBase{
start?: string;
stop?: string;
}

View File

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

View File

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

View File

@@ -2,7 +2,7 @@
import { TouchedBase } from './touched-base';
import { PriceValueDTO } from './price-value-dto';
import { VATValueDTO } from './vatvalue-dto';
export interface PriceDTO extends TouchedBase {
export interface PriceDTO extends TouchedBase{
value?: PriceValueDTO;
vat?: VATValueDTO;
}

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
export interface PriceValueDTO extends TouchedBase {
export interface PriceValueDTO extends TouchedBase{
currency?: string;
currencySymbol?: string;
value?: number;

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
export interface ProblemDetails {
detail?: string;
extensions: { [key: string]: any };
extensions: {[key: string]: any};
instance?: string;
status?: number;
title?: string;

View File

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

View File

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

View File

@@ -3,7 +3,7 @@ import { DialogOfString } from './dialog-of-string';
export interface ResponseArgs {
dialog?: DialogOfString;
error: boolean;
invalidProperties?: { [key: string]: string };
invalidProperties?: {[key: string]: string};
message?: string;
requestId?: number;
}

View File

@@ -1,2 +1,3 @@
/* tslint:disable */
export interface TouchedBase {}
export interface TouchedBase {
}

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
import { VATType } from './vattype';
export interface VATValueDTO extends TouchedBase {
export interface VATValueDTO extends TouchedBase{
inPercent?: number;
label?: string;
value?: number;

View File

@@ -6,6 +6,7 @@ import { TrafficLightValue } from './traffic-light-value';
* Verfügbarkeit
*/
export interface WebshopAvailabilityDTO {
/**
* EAN
*/

View File

@@ -5,6 +5,7 @@ import { WebshopAvailabilityRequestItemDTO } from './webshop-availability-reques
* Webshop Availability Request DTO
*/
export interface WebshopAvailabilityRequestDTO {
/**
* Branch PKs
*/

View File

@@ -4,6 +4,7 @@
* Webshop Availability Request Item DTO
*/
export interface WebshopAvailabilityRequestItemDTO {
/**
* EAN
*/

View File

@@ -16,7 +16,10 @@ class AvailabilityService extends __BaseService {
static readonly AvailabilityStoreAvailabilityPath = '/availability/store';
static readonly AvailabilityShippingAvailabilityPath = '/availability/shipping';
constructor(config: __Configuration, http: HttpClient) {
constructor(
config: __Configuration,
http: HttpClient
) {
super(config, http);
}
@@ -25,24 +28,26 @@ class AvailabilityService extends __BaseService {
* 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>> {
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',
});
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),
__filter(_r => _r instanceof HttpResponse),
__map((_r) => {
return _r as __StrictHttpResponse<ResponseArgsOfIEnumerableOfAvailabilityDTO>;
}),
})
);
}
/**
@@ -51,7 +56,9 @@ class AvailabilityService extends __BaseService {
* @param request undefined
*/
AvailabilityStoreAvailability(request: Array<AvailabilityRequestDTO>): __Observable<ResponseArgsOfIEnumerableOfAvailabilityDTO> {
return this.AvailabilityStoreAvailabilityResponse(request).pipe(__map((_r) => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO));
return this.AvailabilityStoreAvailabilityResponse(request).pipe(
__map(_r => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO)
);
}
/**
@@ -59,24 +66,26 @@ class AvailabilityService extends __BaseService {
* 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>> {
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',
});
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),
__filter(_r => _r instanceof HttpResponse),
__map((_r) => {
return _r as __StrictHttpResponse<ResponseArgsOfIEnumerableOfAvailabilityDTO>;
}),
})
);
}
/**
@@ -86,11 +95,12 @@ class AvailabilityService extends __BaseService {
*/
AvailabilityShippingAvailability(request: Array<AvailabilityRequestDTO>): __Observable<ResponseArgsOfIEnumerableOfAvailabilityDTO> {
return this.AvailabilityShippingAvailabilityResponse(request).pipe(
__map((_r) => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO),
__map(_r => _r.body as ResponseArgsOfIEnumerableOfAvailabilityDTO)
);
}
}
module AvailabilityService {}
module AvailabilityService {
}
export { AvailabilityService };
export { AvailabilityService }

View File

@@ -15,7 +15,10 @@ import { WebshopAvailabilityRequestDTO } from '../models/webshop-availability-re
class WebshopAvailabilityService extends __BaseService {
static readonly WebshopAvailabilityWebshopAvailabilityPath = '/availability/webshop';
constructor(config: __Configuration, http: HttpClient) {
constructor(
config: __Configuration,
http: HttpClient
) {
super(config, http);
}
@@ -23,39 +26,40 @@ class WebshopAvailabilityService extends __BaseService {
* Verfügbarkeit für Webshop
* @param payload undefined
*/
WebshopAvailabilityWebshopAvailabilityResponse(
payload: WebshopAvailabilityRequestDTO,
): __Observable<__StrictHttpResponse<ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO>> {
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',
});
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),
__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> {
WebshopAvailabilityWebshopAvailability(payload: WebshopAvailabilityRequestDTO): __Observable<ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO> {
return this.WebshopAvailabilityWebshopAvailabilityResponse(payload).pipe(
__map((_r) => _r.body as ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO),
__map(_r => _r.body as ResponseArgsOfIEnumerableOfWebshopAvailabilityDTO)
);
}
}
module WebshopAvailabilityService {}
module WebshopAvailabilityService {
}
export { WebshopAvailabilityService };
export { WebshopAvailabilityService }

View File

@@ -6,4 +6,4 @@ import { HttpResponse } from '@angular/common/http';
*/
export type StrictHttpResponse<T> = HttpResponse<T> & {
readonly body: T;
};
}

View File

File diff suppressed because it is too large Load Diff

View File

@@ -31,8 +31,9 @@ const PARAMETER_CODEC = new ParameterCodec();
export class BaseService {
constructor(
protected config: CrmConfiguration,
protected http: HttpClient,
) {}
protected http: HttpClient
) {
}
private _rootUrl: string = '';
@@ -56,7 +57,7 @@ export class BaseService {
*/
protected newParams(): HttpParams {
return new HttpParams({
encoder: PARAMETER_CODEC,
encoder: PARAMETER_CODEC
});
}
}

View File

@@ -89,11 +89,13 @@ export { ResponseArgsOfIEnumerableOfShippingAddressDTO } from './models/response
export { ResponseArgsOfIEnumerableOfHistoryDTO } from './models/response-args-of-ienumerable-of-history-dto';
export { HistoryDTO } from './models/history-dto';
export { DiffDTO } from './models/diff-dto';
export { ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString } from './models/response-args-of-ienumerable-of-entity-key-value-dtoof-string-and-string';
export { EntityKeyValueDTOOfStringAndString } from './models/entity-key-value-dtoof-string-and-string';
export { ResponseArgsOfIEnumerableOfKeyValueDTOOfStringAndString } from './models/response-args-of-ienumerable-of-key-value-dtoof-string-and-string';
export { ResponseArgsOfCheckLoyaltyCardResult } from './models/response-args-of-check-loyalty-card-result';
export { CheckLoyaltyCardResult } from './models/check-loyalty-card-result';
export { LoyaltyCardStatus } from './models/loyalty-card-status';
export { ResponseArgsOfIQueryResultOfLoyaltyBookingInfoDTO } from './models/response-args-of-iquery-result-of-loyalty-booking-info-dto';
export { IQueryResultOfLoyaltyBookingInfoDTO } from './models/iquery-result-of-loyalty-booking-info-dto';
export { LoyaltyBookingInfoDTO } from './models/loyalty-booking-info-dto';
export { ResponseArgsOfIEnumerableOfString } from './models/response-args-of-ienumerable-of-string';
export { ResponseArgsOfKeyValueDTOOfStringAndString } from './models/response-args-of-key-value-dtoof-string-and-string';
export { ResponseArgsOfLoyaltyBookingInfoDTO } from './models/response-args-of-loyalty-booking-info-dto';
export { LoyaltyBookingValues } from './models/loyalty-booking-values';
export { LoyaltyBonValues } from './models/loyalty-bon-values';
export { ResponseArgsOfPayerDTO } from './models/response-args-of-payer-dto';
export { ResponseArgsOfShippingAddressDTO } from './models/response-args-of-shipping-address-dto';

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
import { GeoLocation } from './geo-location';
export interface AddressDTO extends TouchedBase {
export interface AddressDTO extends TouchedBase{
apartment?: string;
careOf?: string;
city?: string;

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
import { EntityDTOContainerOfPayerDTO } from './entity-dtocontainer-of-payer-dto';
export interface AssignedPayerDTO extends TouchedBase {
export interface AssignedPayerDTO extends TouchedBase{
assignedToCustomer?: string;
isDefault?: string;
payer?: EntityDTOContainerOfPayerDTO;

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { EntityDTOBaseOfAttributeDTOAndIAttribute } from './entity-dtobase-of-attribute-dtoand-iattribute';
import { DataFormat } from './data-format';
export interface AttributeDTO extends EntityDTOBaseOfAttributeDTOAndIAttribute {
export interface AttributeDTO extends EntityDTOBaseOfAttributeDTOAndIAttribute{
dataType?: DataFormat;
formatValidator?: string;
group?: string;

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { OrderByDTO } from './order-by-dto';
export interface AutocompleteTokenDTO {
filter?: { [key: string]: string };
filter?: {[key: string]: string};
fuzzy?: number;
input?: string;
orderBy?: Array<OrderByDTO>;

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { EntityDTOBaseOfBonusCardDTOAndIBonusCard } from './entity-dtobase-of-bonus-card-dtoand-ibonus-card';
import { EntityDTOContainerOfCustomerDTO } from './entity-dtocontainer-of-customer-dto';
export interface BonusCardDTO extends EntityDTOBaseOfBonusCardDTOAndIBonusCard {
export interface BonusCardDTO extends EntityDTOBaseOfBonusCardDTOAndIBonusCard{
bonusValue?: number;
cardNumber?: string;
cardProvider?: number;

View File

@@ -6,6 +6,7 @@ import { Gender } from './gender';
* Kundenkarte
*/
export interface BonusCardInfoDTO {
/**
* Adresse
*/

View File

@@ -3,7 +3,7 @@ import { EntityDTOBaseOfBranchDTOAndIBranch } from './entity-dtobase-of-branch-d
import { AddressDTO } from './address-dto';
import { BranchType } from './branch-type';
import { EntityDTOContainerOfLabelDTO } from './entity-dtocontainer-of-label-dto';
export interface BranchDTO extends EntityDTOBaseOfBranchDTOAndIBranch {
export interface BranchDTO extends EntityDTOBaseOfBranchDTOAndIBranch{
address?: AddressDTO;
branchNumber?: string;
branchType: BranchType;

View File

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

View File

@@ -1,14 +0,0 @@
/* tslint:disable */
import { CustomerInfoDTO } from './customer-info-dto';
import { LoyaltyCardStatus } from './loyalty-card-status';
export interface CheckLoyaltyCardResult {
/**
* Customer
*/
customer?: CustomerInfoDTO;
/**
* Status
*/
status: LoyaltyCardStatus;
}

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
export interface CommunicationDetailsDTO extends TouchedBase {
export interface CommunicationDetailsDTO extends TouchedBase{
email?: string;
fax?: string;
mobile?: string;

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { EntityDTOBaseOfCountryDTOAndICountry } from './entity-dtobase-of-country-dtoand-icountry';
export interface CountryDTO extends EntityDTOBaseOfCountryDTOAndICountry {
export interface CountryDTO extends EntityDTOBaseOfCountryDTOAndICountry{
isDefault?: string;
isO3166_A_3?: string;
name?: string;

View File

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

View File

@@ -18,7 +18,7 @@ import { AssignedPayerDTO } from './assigned-payer-dto';
import { PaymentType } from './payment-type';
import { EntityDTOContainerOfShippingAddressDTO } from './entity-dtocontainer-of-shipping-address-dto';
import { EntityDTOContainerOfUserDTO } from './entity-dtocontainer-of-user-dto';
export interface CustomerDTO extends EntityDTOBaseOfCustomerDTOAndICustomer {
export interface CustomerDTO extends EntityDTOBaseOfCustomerDTOAndICustomer{
address?: AddressDTO;
agentComment?: string;
attributes?: Array<EntityDTOContainerOfAttributeDTO>;

View File

@@ -11,7 +11,7 @@ import { Gender } from './gender';
import { EntityDTOContainerOfLabelDTO } from './entity-dtocontainer-of-label-dto';
import { NotificationChannel } from './notification-channel';
import { OrganisationDTO } from './organisation-dto';
export interface CustomerInfoDTO extends EntityDTOBaseOfCustomerInfoDTOAndICustomer {
export interface CustomerInfoDTO extends EntityDTOBaseOfCustomerInfoDTOAndICustomer{
address?: AddressDTO;
agentComment?: string;
bonusCard?: EntityDTOContainerOfBonusCardDTO;

View File

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

View File

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

View File

@@ -1,24 +1,2 @@
/* tslint:disable */
export type DataFormat =
| 0
| 1
| 2
| 4
| 8
| 16
| 32
| 64
| 128
| 256
| 512
| 1024
| 2048
| 4096
| 8192
| 16384
| 32768
| 65536
| 131072
| 262144
| 524288
| 1048576;
export type DataFormat = 0 | 1 | 2 | 4 | 8 | 16 | 32 | 64 | 128 | 256 | 512 | 1024 | 2048 | 4096 | 8192 | 16384 | 32768 | 65536 | 131072 | 262144 | 524288 | 1048576;

View File

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

View File

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

View File

@@ -2,7 +2,7 @@
import { TouchedBase } from './touched-base';
import { CRUDA } from './cruda';
import { EntityStatus } from './entity-status';
export interface EntityDTO extends TouchedBase {
export interface EntityDTO extends TouchedBase{
changed?: string;
created?: string;
cruda?: CRUDA;

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfAttributeDTOAndIAttribute extends EntityDTOBase {}
export interface EntityDTOBaseOfAttributeDTOAndIAttribute extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfBonusCardDTOAndIBonusCard extends EntityDTOBase {}
export interface EntityDTOBaseOfBonusCardDTOAndIBonusCard extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfBranchDTOAndIBranch extends EntityDTOBase {}
export interface EntityDTOBaseOfBranchDTOAndIBranch extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfCountryDTOAndICountry extends EntityDTOBase {}
export interface EntityDTOBaseOfCountryDTOAndICountry extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfCustomerDTOAndICustomer extends EntityDTOBase {}
export interface EntityDTOBaseOfCustomerDTOAndICustomer extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfCustomerInfoDTOAndICustomer extends EntityDTOBase {}
export interface EntityDTOBaseOfCustomerInfoDTOAndICustomer extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfLabelDTOAndILabel extends EntityDTOBase {}
export interface EntityDTOBaseOfLabelDTOAndILabel extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfPayerDTOAndIPayer extends EntityDTOBase {}
export interface EntityDTOBaseOfPayerDTOAndIPayer extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfShippingAddressDTOAndIShippingAddress extends EntityDTOBase {}
export interface EntityDTOBaseOfShippingAddressDTOAndIShippingAddress extends EntityDTOBase{
}

View File

@@ -1,3 +1,4 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityDTOBaseOfUserDTOAndIUser extends EntityDTOBase {}
export interface EntityDTOBaseOfUserDTOAndIUser extends EntityDTOBase{
}

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { BonusCardDTO } from './bonus-card-dto';
export interface EntityDTOContainerOfBonusCardDTO extends EntityDTOReferenceContainer {
export interface EntityDTOContainerOfBonusCardDTO extends EntityDTOReferenceContainer{
data?: BonusCardDTO;
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
import { ShippingAddressDTO } from './shipping-address-dto';
export interface EntityDTOContainerOfShippingAddressDTO extends EntityDTOReferenceContainer {
export interface EntityDTOContainerOfShippingAddressDTO extends EntityDTOReferenceContainer{
data?: ShippingAddressDTO;
}

View File

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

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
import { ExternalReferenceDTO } from './external-reference-dto';
export interface EntityDTOReferenceContainer extends TouchedBase {
export interface EntityDTOReferenceContainer extends TouchedBase{
displayLabel?: string;
enabled?: boolean;
externalReference?: ExternalReferenceDTO;

View File

@@ -1,8 +0,0 @@
/* tslint:disable */
import { EntityDTOBase } from './entity-dtobase';
export interface EntityKeyValueDTOOfStringAndString extends EntityDTOBase {
enabled?: boolean;
key?: string;
selected?: boolean;
value?: string;
}

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
import { EntityStatus } from './entity-status';
export interface ExternalReferenceDTO extends TouchedBase {
export interface ExternalReferenceDTO extends TouchedBase{
externalChanged?: string;
externalCreated?: string;
externalNumber?: string;

View File

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

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
export interface GeoLocation extends TouchedBase {
export interface GeoLocation extends TouchedBase{
altitude?: number;
latitude?: number;
longitude?: number;

View File

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

View File

@@ -0,0 +1,8 @@
/* tslint:disable */
import { LoyaltyBookingInfoDTO } from './loyalty-booking-info-dto';
export interface IQueryResultOfLoyaltyBookingInfoDTO {
data?: Array<LoyaltyBookingInfoDTO>;
hits: number;
skip?: number;
take?: number;
}

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { EntityDTOBaseOfLabelDTOAndILabel } from './entity-dtobase-of-label-dtoand-ilabel';
export interface LabelDTO extends EntityDTOBaseOfLabelDTOAndILabel {
export interface LabelDTO extends EntityDTOBaseOfLabelDTOAndILabel{
key?: string;
name?: string;
}

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { ResponseArgsOfIEnumerableOfAssignedPayerDTO } from './response-args-of-ienumerable-of-assigned-payer-dto';
export interface ListResponseArgsOfAssignedPayerDTO extends ResponseArgsOfIEnumerableOfAssignedPayerDTO {
export interface ListResponseArgsOfAssignedPayerDTO extends ResponseArgsOfIEnumerableOfAssignedPayerDTO{
completed?: boolean;
hits?: number;
skip?: number;

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { ResponseArgsOfIEnumerableOfCustomerInfoDTO } from './response-args-of-ienumerable-of-customer-info-dto';
export interface ListResponseArgsOfCustomerInfoDTO extends ResponseArgsOfIEnumerableOfCustomerInfoDTO {
export interface ListResponseArgsOfCustomerInfoDTO extends ResponseArgsOfIEnumerableOfCustomerInfoDTO{
completed?: boolean;
hits?: number;
skip?: number;

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { ResponseArgsOfIEnumerableOfShippingAddressDTO } from './response-args-of-ienumerable-of-shipping-address-dto';
export interface ListResponseArgsOfShippingAddressDTO extends ResponseArgsOfIEnumerableOfShippingAddressDTO {
export interface ListResponseArgsOfShippingAddressDTO extends ResponseArgsOfIEnumerableOfShippingAddressDTO{
completed?: boolean;
hits?: number;
skip?: number;

View File

@@ -0,0 +1,13 @@
/* tslint:disable */
export interface LoyaltyBonValues {
/**
* Bon-Nr
*/
bonNr?: string;
/**
* Booking store (convercus store id)
*/
storeId?: string;
}

View File

@@ -0,0 +1,52 @@
/* tslint:disable */
/**
* Loyalty booking
*/
export interface LoyaltyBookingInfoDTO {
/**
* Amount
*/
amount?: number;
/**
* Booking date
*/
date?: string;
/**
* Location (eg. store name)
*/
location?: string;
/**
* Name
*/
name?: string;
/**
* Points
*/
points?: number;
/**
* Reason
*/
reason?: string;
/**
* Reference (eg. receipt no)
*/
reference?: string;
/**
* Booking type
*/
type?: string;
/**
* Booking type code
*/
typeCode?: string;
}

View File

@@ -0,0 +1,22 @@
/* tslint:disable */
/**
* Loyalty booking values
*/
export interface LoyaltyBookingValues {
/**
* Booking points
*/
points: number;
/**
* Booking Reason
*/
reason?: string;
/**
* Booking store (convercus store id)
*/
storeId?: string;
}

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { OrganisationNamesDTO } from './organisation-names-dto';
export interface OrganisationDTO extends OrganisationNamesDTO {
export interface OrganisationDTO extends OrganisationNamesDTO{
costUnit?: string;
gln?: string;
sector?: string;

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
export interface OrganisationNamesDTO extends TouchedBase {
export interface OrganisationNamesDTO extends TouchedBase{
department?: string;
legalForm?: string;
name?: string;

View File

@@ -8,7 +8,7 @@ import { OrganisationDTO } from './organisation-dto';
import { PayerStatus } from './payer-status';
import { CustomerType } from './customer-type';
import { PaymentSettingsDTO } from './payment-settings-dto';
export interface PayerDTO extends EntityDTOBaseOfPayerDTOAndIPayer {
export interface PayerDTO extends EntityDTOBaseOfPayerDTOAndIPayer{
address?: AddressDTO;
agentComment?: string;
communicationDetails?: CommunicationDetailsDTO;

View File

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

View File

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

View File

@@ -1,7 +1,7 @@
/* tslint:disable */
export interface ProblemDetails {
detail?: string;
extensions: { [key: string]: any };
extensions: {[key: string]: any};
instance?: string;
status?: number;
title?: string;

View File

@@ -1,5 +1,5 @@
/* tslint:disable */
import { QueryTokenDTO2 } from './query-token-dto2';
export interface QueryTokenDTO extends QueryTokenDTO2 {
export interface QueryTokenDTO extends QueryTokenDTO2{
labelKey?: string;
}

View File

@@ -1,13 +1,13 @@
/* tslint:disable */
import { OrderByDTO } from './order-by-dto';
export interface QueryTokenDTO2 {
filter?: { [key: string]: string };
filter?: {[key: string]: string};
friendlyName?: string;
fuzzy?: number;
hitsOnly?: boolean;
ids?: Array<number>;
input?: { [key: string]: string };
options?: { [key: string]: string };
input?: {[key: string]: string};
options?: {[key: string]: string};
orderBy?: Array<OrderByDTO>;
skip?: number;
take?: number;

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { AssignedPayerDTO } from './assigned-payer-dto';
export interface ResponseArgsOfAssignedPayerDTO extends ResponseArgs {
export interface ResponseArgsOfAssignedPayerDTO extends ResponseArgs{
result?: AssignedPayerDTO;
}

View File

@@ -1,5 +1,5 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
export interface ResponseArgsOfBoolean extends ResponseArgs {
export interface ResponseArgsOfBoolean extends ResponseArgs{
result: boolean;
}

View File

@@ -1,6 +0,0 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { CheckLoyaltyCardResult } from './check-loyalty-card-result';
export interface ResponseArgsOfCheckLoyaltyCardResult extends ResponseArgs {
result?: CheckLoyaltyCardResult;
}

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { CustomerDTO } from './customer-dto';
export interface ResponseArgsOfCustomerDTO extends ResponseArgs {
export interface ResponseArgsOfCustomerDTO extends ResponseArgs{
result?: CustomerDTO;
}

View File

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

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { AssignedPayerDTO } from './assigned-payer-dto';
export interface ResponseArgsOfIEnumerableOfAssignedPayerDTO extends ResponseArgs {
export interface ResponseArgsOfIEnumerableOfAssignedPayerDTO extends ResponseArgs{
result?: Array<AssignedPayerDTO>;
}

View File

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

View File

@@ -1,6 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { BonusCardInfoDTO } from './bonus-card-info-dto';
export interface ResponseArgsOfIEnumerableOfBonusCardInfoDTO extends ResponseArgs {
export interface ResponseArgsOfIEnumerableOfBonusCardInfoDTO extends ResponseArgs{
result?: Array<BonusCardInfoDTO>;
}

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