Add new model definitions for various APIs in generated Swagger files

This commit is contained in:
Lorenz Hilpert
2025-01-29 17:16:58 +01:00
parent 9efbfab253
commit c6a174d93f
978 changed files with 29960 additions and 11 deletions

View File

@@ -4,7 +4,7 @@
"sourceRoot": "generated/swagger/crm-api/src",
"prefix": "lib",
"projectType": "library",
"tags": [],
"tags": ["generated","swagger", "crm", "api"],
"targets": {
"generate": {
"command": "ng-swagger-gen --config {projectRoot}/ng-swagger-gen.json --output {projectRoot}/src",

View File

@@ -0,0 +1,62 @@
/* tslint:disable */
import { HttpClient, HttpParameterCodec, HttpParams } from '@angular/common/http';
import { CrmConfiguration } from './crm-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: CrmConfiguration,
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,16 @@
/* tslint:disable */
import { Injectable } from '@angular/core';
/**
* Global configuration for Crm services
*/
@Injectable({
providedIn: 'root',
})
export class CrmConfiguration {
rootUrl: string = 'https://isa-test.paragon-data.net/crm/v6';
}
export interface CrmConfigurationInterface {
rootUrl?: string;
}

View File

@@ -0,0 +1,99 @@
export { ResponseArgsOfIEnumerableOfAddressDTO } from './models/response-args-of-ienumerable-of-address-dto';
export { AddressDTO } from './models/address-dto';
export { GeoLocation } from './models/geo-location';
export { TouchedBase } from './models/touched-base';
export { ResponseArgs } from './models/response-args';
export { DialogOfString } from './models/dialog-of-string';
export { DialogSettings } from './models/dialog-settings';
export { DialogContentType } from './models/dialog-content-type';
export { KeyValueDTOOfStringAndString } from './models/key-value-dtoof-string-and-string';
export { ProblemDetails } from './models/problem-details';
export { ResponseArgsOfIEnumerableOfCountryDTO } from './models/response-args-of-ienumerable-of-country-dto';
export { CountryDTO } from './models/country-dto';
export { EntityDTOBaseOfCountryDTOAndICountry } from './models/entity-dtobase-of-country-dtoand-icountry';
export { EntityDTOBase } from './models/entity-dtobase';
export { EntityDTO } from './models/entity-dto';
export { EntityStatus } from './models/entity-status';
export { CRUDA } from './models/cruda';
export { ResponseArgsOfInputDTO } from './models/response-args-of-input-dto';
export { InputDTO } from './models/input-dto';
export { InputType } from './models/input-type';
export { InputOptionsDTO } from './models/input-options-dto';
export { OptionDTO } from './models/option-dto';
export { ResponseArgsOfQuerySettingsDTO } from './models/response-args-of-query-settings-dto';
export { QuerySettingsDTO } from './models/query-settings-dto';
export { InputGroupDTO } from './models/input-group-dto';
export { OrderByDTO } from './models/order-by-dto';
export { ResponseArgsOfIEnumerableOfAutocompleteDTO } from './models/response-args-of-ienumerable-of-autocomplete-dto';
export { AutocompleteDTO } from './models/autocomplete-dto';
export { AutocompleteTokenDTO } from './models/autocomplete-token-dto';
export { ListResponseArgsOfCustomerInfoDTO } from './models/list-response-args-of-customer-info-dto';
export { ResponseArgsOfIEnumerableOfCustomerInfoDTO } from './models/response-args-of-ienumerable-of-customer-info-dto';
export { CustomerInfoDTO } from './models/customer-info-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 { EntityDTOBaseOfLabelDTOAndILabel } from './models/entity-dtobase-of-label-dtoand-ilabel';
export { EntityDTOReferenceContainer } from './models/entity-dtoreference-container';
export { ExternalReferenceDTO } from './models/external-reference-dto';
export { BranchType } from './models/branch-type';
export { EntityDTOBaseOfBranchDTOAndIBranch } from './models/entity-dtobase-of-branch-dtoand-ibranch';
export { CustomerType } from './models/customer-type';
export { CustomerStatus } from './models/customer-status';
export { OrganisationDTO } from './models/organisation-dto';
export { OrganisationNamesDTO } from './models/organisation-names-dto';
export { Gender } from './models/gender';
export { CommunicationDetailsDTO } from './models/communication-details-dto';
export { EntityDTOContainerOfBonusCardDTO } from './models/entity-dtocontainer-of-bonus-card-dto';
export { BonusCardDTO } from './models/bonus-card-dto';
export { EntityDTOContainerOfCustomerDTO } from './models/entity-dtocontainer-of-customer-dto';
export { CustomerDTO } from './models/customer-dto';
export { EnvironmentChannel } from './models/environment-channel';
export { EntityDTOContainerOfUserDTO } from './models/entity-dtocontainer-of-user-dto';
export { UserDTO } from './models/user-dto';
export { EntityDTOBaseOfUserDTOAndIUser } from './models/entity-dtobase-of-user-dtoand-iuser';
export { EntityDTOContainerOfShippingAddressDTO } from './models/entity-dtocontainer-of-shipping-address-dto';
export { ShippingAddressDTO } from './models/shipping-address-dto';
export { ShippingAddressType } from './models/shipping-address-type';
export { EntityDTOBaseOfShippingAddressDTOAndIShippingAddress } from './models/entity-dtobase-of-shipping-address-dtoand-ishipping-address';
export { NotificationChannel } from './models/notification-channel';
export { PaymentType } from './models/payment-type';
export { AssignedPayerDTO } from './models/assigned-payer-dto';
export { EntityDTOContainerOfPayerDTO } from './models/entity-dtocontainer-of-payer-dto';
export { PayerDTO } from './models/payer-dto';
export { PayerStatus } from './models/payer-status';
export { PaymentSettingsDTO } from './models/payment-settings-dto';
export { EntityDTOBaseOfPayerDTOAndIPayer } from './models/entity-dtobase-of-payer-dtoand-ipayer';
export { EntityDTOContainerOfAttributeDTO } from './models/entity-dtocontainer-of-attribute-dto';
export { AttributeDTO } from './models/attribute-dto';
export { DataFormat } from './models/data-format';
export { EntityDTOBaseOfAttributeDTOAndIAttribute } from './models/entity-dtobase-of-attribute-dtoand-iattribute';
export { LinkedRecordDTO } from './models/linked-record-dto';
export { EntityDTOBaseOfCustomerDTOAndICustomer } from './models/entity-dtobase-of-customer-dtoand-icustomer';
export { EntityDTOBaseOfBonusCardDTOAndIBonusCard } from './models/entity-dtobase-of-bonus-card-dtoand-ibonus-card';
export { EntityDTOBaseOfCustomerInfoDTOAndICustomer } from './models/entity-dtobase-of-customer-info-dtoand-icustomer';
export { QueryTokenDTO } from './models/query-token-dto';
export { QueryTokenDTO2 } from './models/query-token-dto2';
export { ResponseArgsOfCustomerDTO } from './models/response-args-of-customer-dto';
export { SaveCustomerValues } from './models/save-customer-values';
export { ResponseArgsOfAssignedPayerDTO } from './models/response-args-of-assigned-payer-dto';
export { ResponseArgsOfBoolean } from './models/response-args-of-boolean';
export { ResponseArgsOfIEnumerableOfBonusCardInfoDTO } from './models/response-args-of-ienumerable-of-bonus-card-info-dto';
export { BonusCardInfoDTO } from './models/bonus-card-info-dto';
export { ResponseArgsOfNullableBoolean } from './models/response-args-of-nullable-boolean';
export { ListResponseArgsOfAssignedPayerDTO } from './models/list-response-args-of-assigned-payer-dto';
export { ResponseArgsOfIEnumerableOfAssignedPayerDTO } from './models/response-args-of-ienumerable-of-assigned-payer-dto';
export { ListResponseArgsOfShippingAddressDTO } from './models/list-response-args-of-shipping-address-dto';
export { ResponseArgsOfIEnumerableOfShippingAddressDTO } from './models/response-args-of-ienumerable-of-shipping-address-dto';
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 { ResponseArgsOfPayerDTO } from './models/response-args-of-payer-dto';
export { ResponseArgsOfShippingAddressDTO } from './models/response-args-of-shipping-address-dto';

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
export interface AutocompleteDTO {
display?: string;
id?: string;
query?: string;
type?: string;
}

View File

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

View File

@@ -0,0 +1,15 @@
/* 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 {
bonusValue?: number;
cardNumber?: string;
cardProvider?: number;
customer?: EntityDTOContainerOfCustomerDTO;
isLocked?: boolean;
isPaymentEnabled?: boolean;
markedAsLost?: string;
suspensionComment?: string;
validFrom?: string;
validThrough?: string;
}

View File

@@ -0,0 +1,83 @@
/* tslint:disable */
import { AddressDTO } from './address-dto';
import { Gender } from './gender';
/**
* Kundenkarte
*/
export interface BonusCardInfoDTO {
/**
* Adresse
*/
address?: AddressDTO;
/**
* Kartennummer
*/
code?: string;
/**
* Angelegt am
*/
created?: string;
/**
* Geburtsdatum
*/
dateOfBirth?: string;
/**
* E-Mail Adresse
*/
email?: string;
/**
* Vorname
*/
firstName?: string;
/**
* Format (Karte, App, ...)
*/
format?: string;
/**
* Anrede
*/
gender?: Gender;
/**
* Activ
*/
isActive?: boolean;
/**
* Primäre Karte
*/
isPrimary?: boolean;
/**
* Nachname
*/
lastName?: string;
/**
* Titel
*/
title?: string;
/**
* Punktestand
*/
totalPoints?: number;
/**
* Punkte gesammelt
*/
totalPointsCollected?: number;
/**
* Punkte eingelöst / verbraucht
*/
totalPointsUsed?: number;
}

View File

@@ -0,0 +1,16 @@
/* tslint:disable */
import { EntityDTOBaseOfBranchDTOAndIBranch } from './entity-dtobase-of-branch-dtoand-ibranch';
import { AddressDTO } from './address-dto';
import { BranchType } from './branch-type';
import { EntityDTOContainerOfLabelDTO } from './entity-dtocontainer-of-label-dto';
export interface BranchDTO extends EntityDTOBaseOfBranchDTOAndIBranch {
address?: AddressDTO;
branchNumber?: string;
branchType: BranchType;
isOnline?: boolean;
key?: string;
label?: EntityDTOContainerOfLabelDTO;
name?: string;
parent?: number;
shortName?: string;
}

View File

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

View File

@@ -0,0 +1,14 @@
/* 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

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

View File

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

View File

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

View File

@@ -0,0 +1,55 @@
/* tslint:disable */
import { EntityDTOBaseOfCustomerDTOAndICustomer } from './entity-dtobase-of-customer-dtoand-icustomer';
import { AddressDTO } from './address-dto';
import { EntityDTOContainerOfAttributeDTO } from './entity-dtocontainer-of-attribute-dto';
import { EntityDTOContainerOfBonusCardDTO } from './entity-dtocontainer-of-bonus-card-dto';
import { EnvironmentChannel } from './environment-channel';
import { CommunicationDetailsDTO } from './communication-details-dto';
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
import { CustomerStatus } from './customer-status';
import { CustomerType } from './customer-type';
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
import { Gender } from './gender';
import { EntityDTOContainerOfLabelDTO } from './entity-dtocontainer-of-label-dto';
import { LinkedRecordDTO } from './linked-record-dto';
import { NotificationChannel } from './notification-channel';
import { OrganisationDTO } from './organisation-dto';
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 {
address?: AddressDTO;
agentComment?: string;
attributes?: Array<EntityDTOContainerOfAttributeDTO>;
bonusCard?: EntityDTOContainerOfBonusCardDTO;
campaignCode?: string;
clientChannel?: EnvironmentChannel;
communicationDetails?: CommunicationDetailsDTO;
createdInBranch?: EntityDTOContainerOfBranchDTO;
customerGroup?: string;
customerNumber?: string;
customerStatus?: CustomerStatus;
customerType?: CustomerType;
dateOfBirth?: string;
deactivationComment?: string;
features?: Array<KeyValueDTOOfStringAndString>;
fetchOnDeliveryNote?: boolean;
firstName?: string;
gender?: Gender;
hasOnlineAccount?: boolean;
isGuestAccount?: boolean;
label?: EntityDTOContainerOfLabelDTO;
lastName?: string;
linkedRecords?: Array<LinkedRecordDTO>;
notificationChannels?: NotificationChannel;
orderCount?: number;
organisation?: OrganisationDTO;
payers?: Array<AssignedPayerDTO>;
preferredPaymentType?: PaymentType;
shippingAddresses?: Array<EntityDTOContainerOfShippingAddressDTO>;
statusChangeComment?: string;
statusComment?: string;
title?: string;
user?: EntityDTOContainerOfUserDTO;
}

View File

@@ -0,0 +1,38 @@
/* tslint:disable */
import { EntityDTOBaseOfCustomerInfoDTOAndICustomer } from './entity-dtobase-of-customer-info-dtoand-icustomer';
import { AddressDTO } from './address-dto';
import { EntityDTOContainerOfBonusCardDTO } from './entity-dtocontainer-of-bonus-card-dto';
import { CommunicationDetailsDTO } from './communication-details-dto';
import { EntityDTOContainerOfBranchDTO } from './entity-dtocontainer-of-branch-dto';
import { CustomerStatus } from './customer-status';
import { CustomerType } from './customer-type';
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
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 {
address?: AddressDTO;
agentComment?: string;
bonusCard?: EntityDTOContainerOfBonusCardDTO;
campaignCode?: string;
communicationDetails?: CommunicationDetailsDTO;
createdInBranch?: EntityDTOContainerOfBranchDTO;
customerGroup?: string;
customerNumber?: string;
customerStatus?: CustomerStatus;
customerType?: CustomerType;
dateOfBirth?: string;
features?: Array<KeyValueDTOOfStringAndString>;
firstName?: string;
gender?: Gender;
hasOnlineAccount?: boolean;
isGuestAccount?: boolean;
label?: EntityDTOContainerOfLabelDTO;
lastName?: string;
linkedRecords?: Array<KeyValueDTOOfStringAndString>;
notificationChannels?: NotificationChannel;
organisation?: OrganisationDTO;
title?: string;
userName?: string;
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,16 @@
/* tslint:disable */
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
import { DialogContentType } from './dialog-content-type';
import { DialogSettings } from './dialog-settings';
export interface DialogOfString {
actions?: Array<KeyValueDTOOfStringAndString>;
actionsRequired?: number;
area?: string;
content?: string;
contentType: DialogContentType;
description?: string;
displayTimeout?: number;
settings: DialogSettings;
subtitle?: string;
title?: string;
}

View File

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

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
export interface DiffDTO {
caption?: string;
previousValue?: string;
property?: string;
value?: string;
}

View File

@@ -0,0 +1,14 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
import { CRUDA } from './cruda';
import { EntityStatus } from './entity-status';
export interface EntityDTO extends TouchedBase {
changed?: string;
created?: string;
cruda?: CRUDA;
id?: number;
pId?: string;
status?: EntityStatus;
uId?: string;
version?: number;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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 { CustomerDTO } from './customer-dto';
export interface EntityDTOContainerOfCustomerDTO extends EntityDTOReferenceContainer {
data?: CustomerDTO;
}

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 { PayerDTO } from './payer-dto';
export interface EntityDTOContainerOfPayerDTO extends EntityDTOReferenceContainer {
data?: PayerDTO;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,13 @@
/* tslint:disable */
import { TouchedBase } from './touched-base';
import { EntityStatus } from './entity-status';
export interface ExternalReferenceDTO extends TouchedBase {
externalChanged?: string;
externalCreated?: string;
externalNumber?: string;
externalPK?: string;
externalRepository?: string;
externalStatus: EntityStatus;
externalVersion?: number;
publishToken?: string;
}

View File

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

View File

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

View File

@@ -0,0 +1,19 @@
/* tslint:disable */
import { DiffDTO } from './diff-dto';
export interface HistoryDTO {
changed?: string;
changedAt?: string;
changedBy?: string;
changeset?: number;
created?: string;
createdAt?: string;
createdBy?: string;
description?: string;
histDate?: string;
historyset?: number;
id?: number;
location?: string;
name?: string;
values?: Array<DiffDTO>;
version?: number;
}

View File

@@ -0,0 +1,16 @@
/* tslint:disable */
import { InputOptionsDTO } from './input-options-dto';
import { InputType } from './input-type';
export interface InputDTO {
constraint?: string;
description?: string;
key?: string;
label?: string;
maxValue?: string;
minValue?: string;
options?: InputOptionsDTO;
placeholder?: string;
target?: string;
type: InputType;
value?: string;
}

View File

@@ -0,0 +1,8 @@
/* tslint:disable */
import { InputDTO } from './input-dto';
export interface InputGroupDTO {
description?: string;
group?: string;
input?: Array<InputDTO>;
label?: string;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { OptionDTO } from './option-dto';
export interface InputOptionsDTO {
max?: number;
values?: Array<OptionDTO>;
}

View File

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

View File

@@ -0,0 +1,12 @@
/* tslint:disable */
export interface KeyValueDTOOfStringAndString {
command?: string;
description?: string;
enabled?: boolean;
group?: string;
key?: string;
label?: string;
selected?: boolean;
sort?: number;
value?: string;
}

View File

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

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
export interface LinkedRecordDTO {
isSource?: boolean;
number?: string;
pk?: string;
repository?: string;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,13 @@
/* tslint:disable */
export interface OptionDTO {
description?: string;
enabled?: boolean;
key?: string;
label?: string;
maxValue?: string;
minValue?: string;
placeholder?: string;
selected?: boolean;
value?: string;
values?: Array<OptionDTO>;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
export interface OrderByDTO {
by?: string;
desc?: boolean;
label?: string;
}

View File

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

View File

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

View File

@@ -0,0 +1,32 @@
/* tslint:disable */
import { EntityDTOBaseOfPayerDTOAndIPayer } from './entity-dtobase-of-payer-dtoand-ipayer';
import { AddressDTO } from './address-dto';
import { CommunicationDetailsDTO } from './communication-details-dto';
import { Gender } from './gender';
import { EntityDTOContainerOfLabelDTO } from './entity-dtocontainer-of-label-dto';
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 {
address?: AddressDTO;
agentComment?: string;
communicationDetails?: CommunicationDetailsDTO;
deactivationComment?: string;
defaultPaymentPeriod?: number;
firstName?: string;
gender?: Gender;
isGuestAccount?: boolean;
label?: EntityDTOContainerOfLabelDTO;
lastName?: string;
organisation?: OrganisationDTO;
payerGroup?: string;
payerNumber?: string;
payerStatus?: PayerStatus;
payerType?: CustomerType;
paymentTypes?: Array<PaymentSettingsDTO>;
standardInvoiceText?: string;
statusChangeComment?: string;
statusComment?: string;
title?: string;
}

View File

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

View File

@@ -0,0 +1,9 @@
/* tslint:disable */
import { PaymentType } from './payment-type';
export interface PaymentSettingsDTO {
allow?: string;
channel?: string;
denialReason?: string;
deny?: string;
paymentType?: PaymentType;
}

View File

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

View File

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

View File

@@ -0,0 +1,8 @@
/* tslint:disable */
import { InputGroupDTO } from './input-group-dto';
import { OrderByDTO } from './order-by-dto';
export interface QuerySettingsDTO {
filter?: Array<InputGroupDTO>;
input?: Array<InputGroupDTO>;
orderBy?: Array<OrderByDTO>;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { EntityKeyValueDTOOfStringAndString } from './entity-key-value-dtoof-string-and-string';
export interface ResponseArgsOfIEnumerableOfEntityKeyValueDTOOfStringAndString extends ResponseArgs {
result?: Array<EntityKeyValueDTOOfStringAndString>;
}

View File

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

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
export interface ResponseArgsOfIEnumerableOfKeyValueDTOOfStringAndString extends ResponseArgs {
result?: Array<KeyValueDTOOfStringAndString>;
}

View File

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

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { InputDTO } from './input-dto';
export interface ResponseArgsOfInputDTO extends ResponseArgs {
result?: InputDTO;
}

View File

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

View File

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

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { QuerySettingsDTO } from './query-settings-dto';
export interface ResponseArgsOfQuerySettingsDTO extends ResponseArgs {
result?: QuerySettingsDTO;
}

View File

@@ -0,0 +1,6 @@
/* tslint:disable */
import { ResponseArgs } from './response-args';
import { ShippingAddressDTO } from './shipping-address-dto';
export interface ResponseArgsOfShippingAddressDTO extends ResponseArgs {
result?: ShippingAddressDTO;
}

View File

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

View File

@@ -0,0 +1,7 @@
/* tslint:disable */
import { CustomerDTO } from './customer-dto';
import { KeyValueDTOOfStringAndString } from './key-value-dtoof-string-and-string';
export interface SaveCustomerValues {
customer?: CustomerDTO;
modifiers?: Array<KeyValueDTOOfStringAndString>;
}

View File

@@ -0,0 +1,21 @@
/* tslint:disable */
import { EntityDTOBaseOfShippingAddressDTOAndIShippingAddress } from './entity-dtobase-of-shipping-address-dtoand-ishipping-address';
import { AddressDTO } from './address-dto';
import { CommunicationDetailsDTO } from './communication-details-dto';
import { Gender } from './gender';
import { OrganisationDTO } from './organisation-dto';
import { ShippingAddressType } from './shipping-address-type';
export interface ShippingAddressDTO extends EntityDTOBaseOfShippingAddressDTOAndIShippingAddress {
address?: AddressDTO;
agentComment?: string;
communicationDetails?: CommunicationDetailsDTO;
firstName?: string;
gender?: Gender;
isDefault?: string;
lastName?: string;
organisation?: OrganisationDTO;
title?: string;
type?: ShippingAddressType;
validated?: string;
validationResult?: number;
}

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