mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 1237: #2981 Preisunterschied Action und Popup
#2981 Preisunterschied Action und Popup Related work items: #2877, #2981
This commit is contained in:
committed by
Nino Righi
parent
e870eb241b
commit
cd5599ff1c
@@ -36,4 +36,5 @@ export * from './shipping-note.action-handler';
|
||||
export * from './supplier-temporarily-out-of-stock.action-handler copy';
|
||||
export * from './collect-on-deliverynote.action-handler';
|
||||
export * from './create-returnitem.action-handler';
|
||||
export * from './print-pricediffqrcodelabel.action-handler';
|
||||
// end:ng42.barrel
|
||||
|
||||
@@ -0,0 +1,81 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ActionHandler } from '@core/command';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
import { DomainPrinterService, Printer } from '@domain/printer';
|
||||
import { ConfirmModalData, UiConfirmModalComponent, UiErrorModalComponent, UiModalService } from '@ui/modal';
|
||||
import { PriceQRCodeDTO } from '@swagger/print';
|
||||
import { PrintModalComponent, PrintModalData } from '@modal/printer';
|
||||
|
||||
@Injectable()
|
||||
export class PrintPriceDiffQrCodeLabelActionHandler extends ActionHandler<OrderItemsContext> {
|
||||
constructor(private uiModal: UiModalService, private domainPrinterService: DomainPrinterService) {
|
||||
super('PRINT_PRICEDIFFQRCODELABEL');
|
||||
}
|
||||
|
||||
async handler(data: OrderItemsContext): Promise<OrderItemsContext> {
|
||||
await this.print(data);
|
||||
|
||||
const result = await this.uiModal
|
||||
.open({
|
||||
content: UiConfirmModalComponent,
|
||||
title: 'Bestellpreis abweichend zum Kassenpreis',
|
||||
data: {
|
||||
message:
|
||||
'Der gedruckte QR Code enthält den richtigen\nBestellpreis. Bitte überkleben Sie mit dem Ausdruck\ndas Etikett auf dem Artikel.',
|
||||
confirmLabel: 'In Ordnung',
|
||||
rejectLabel: 'QR Code erneut drucken',
|
||||
} as ConfirmModalData,
|
||||
})
|
||||
.afterClosed$.toPromise();
|
||||
|
||||
if (!result?.data) {
|
||||
await this.print(data);
|
||||
}
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
private async print(data: OrderItemsContext) {
|
||||
await this.uiModal
|
||||
.open({
|
||||
content: PrintModalComponent,
|
||||
config: { showScrollbarY: false },
|
||||
data: {
|
||||
printImmediately: true,
|
||||
printerType: 'Label',
|
||||
print: async (printer) => {
|
||||
return await this.printQrCode(data, printer);
|
||||
},
|
||||
},
|
||||
})
|
||||
.afterClosed$.toPromise();
|
||||
}
|
||||
|
||||
private async printQrCode(data: OrderItemsContext, printer: string) {
|
||||
try {
|
||||
const payload = data.items.map((item) => {
|
||||
return {
|
||||
compartmentCode: data.compartmentCode,
|
||||
compartmentInfo: data.compartmentInfo,
|
||||
ean: item.product?.ean,
|
||||
price: item.retailPrice?.value,
|
||||
title: item.product?.name,
|
||||
} as PriceQRCodeDTO;
|
||||
});
|
||||
|
||||
const copies = data.items?.find((_) => true)?.quantity;
|
||||
|
||||
const response = await this.domainPrinterService.printQrCode({ printer, copies, data: payload }).toPromise();
|
||||
if (!!response?.error) {
|
||||
this.uiModal.open({
|
||||
content: UiErrorModalComponent,
|
||||
title: 'Fehler beim Drucken des QR Code',
|
||||
data: { message: response?.message },
|
||||
});
|
||||
}
|
||||
return response;
|
||||
} catch (err) {
|
||||
this.uiModal.open({ content: UiErrorModalComponent, title: 'Fehler beim Drucken des QR Code', data: err });
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,8 +5,10 @@ import {
|
||||
CheckoutPrintService,
|
||||
ItemDTO,
|
||||
OMSPrintService,
|
||||
PriceQRCodeDTO,
|
||||
PrintRequestOfIEnumerableOfItemDTO,
|
||||
PrintRequestOfIEnumerableOfLong,
|
||||
PrintRequestOfIEnumerableOfPriceQRCodeDTO,
|
||||
PrintService,
|
||||
ResponseArgs,
|
||||
} from '@swagger/print';
|
||||
@@ -228,4 +230,8 @@ export class DomainPrinterService {
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
printQrCode(data: PrintRequestOfIEnumerableOfPriceQRCodeDTO) {
|
||||
return this.oMSPrintService.OMSPrintPriceQRCode(data);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ApplicationProcess, ApplicationService } from '@core/application';
|
||||
import { first, map, shareReplay, switchMap } from 'rxjs/operators';
|
||||
import { NotificationsHub } from '@hub/notifications';
|
||||
import { ModalNotificationsComponent } from '@modal/notifications';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
import { ConfirmModalData, UiConfirmModalComponent, UiModalService } from '@ui/modal';
|
||||
import { Router } from '@angular/router';
|
||||
import { BreadcrumbService } from '@core/breadcrumb';
|
||||
import { combineLatest } from 'rxjs';
|
||||
|
||||
@@ -40,6 +40,7 @@ import {
|
||||
ReOrderedActionHandler,
|
||||
CollectOnDeliveryNoteActionHandler,
|
||||
CreateReturnItemActionHandler,
|
||||
PrintPriceDiffQrCodeLabelActionHandler,
|
||||
} from '@domain/oms';
|
||||
@NgModule({
|
||||
declarations: [GoodsInComponent],
|
||||
@@ -83,6 +84,7 @@ import {
|
||||
SupplierTemporarilyOutOfStockActionHandler,
|
||||
CollectOnDeliveryNoteActionHandler,
|
||||
CreateReturnItemActionHandler,
|
||||
PrintPriceDiffQrCodeLabelActionHandler,
|
||||
]),
|
||||
],
|
||||
exports: [GoodsInComponent],
|
||||
|
||||
@@ -149,10 +149,18 @@ export class GoodsOutDetailsComponent extends ComponentStore<GoodsOutDetailsComp
|
||||
this._router.navigate([this.getDetailsPath(item)]);
|
||||
}
|
||||
|
||||
navigateToLandingPage() {
|
||||
this._router.navigate(['/kunde/goods/out']);
|
||||
}
|
||||
|
||||
async actionHandled(handler: { orderItemsContext: OrderItemsContext; command: string; navigation: 'details' | 'main' | 'reservation' }) {
|
||||
this.navigateToDetailsPage(handler.orderItemsContext.items.find((_) => true));
|
||||
await this.removeDetailsCrumbs();
|
||||
this.loadItems();
|
||||
if (handler.navigation === 'main') {
|
||||
this.navigateToLandingPage();
|
||||
} else {
|
||||
this.navigateToDetailsPage(handler.orderItemsContext.items.find((_) => true));
|
||||
await this.removeDetailsCrumbs();
|
||||
this.loadItems();
|
||||
}
|
||||
}
|
||||
|
||||
getDetailsPath(item: OrderItemListItemDTO) {
|
||||
|
||||
@@ -38,6 +38,7 @@ import {
|
||||
SupplierTemporarilyOutOfStockActionHandler,
|
||||
ReOrderedActionHandler,
|
||||
CollectOnDeliveryNoteActionHandler,
|
||||
PrintPriceDiffQrCodeLabelActionHandler,
|
||||
} from '@domain/oms';
|
||||
import { CoreCommandModule } from '@core/command';
|
||||
import { ShellBreadcrumbModule } from '@shell/breadcrumb';
|
||||
@@ -85,6 +86,7 @@ import { GoodsInRoutingModule } from './good-out-routing.module';
|
||||
ShippingNoteActionHandler,
|
||||
SupplierTemporarilyOutOfStockActionHandler,
|
||||
CollectOnDeliveryNoteActionHandler,
|
||||
PrintPriceDiffQrCodeLabelActionHandler,
|
||||
]),
|
||||
],
|
||||
exports: [GoodsOutComponent],
|
||||
|
||||
@@ -170,6 +170,10 @@ export class SharedGoodsInOutOrderDetailsComponent extends SharedGoodsInOutOrder
|
||||
if (action.command.includes('ARRIVED')) {
|
||||
navigateTo = await this.arrivedActionNavigation();
|
||||
}
|
||||
if (action.command.includes('PRINT_PRICEDIFFQRCODELABEL')) {
|
||||
navigateTo = 'main';
|
||||
}
|
||||
|
||||
this.actionHandled.emit({ orderItemsContext: commandData, command: action.command, navigation: navigateTo });
|
||||
this.updateOrderItems(commandData.items);
|
||||
this.updateCoverItems(commandData.items);
|
||||
|
||||
@@ -23,6 +23,7 @@ export { ShelfInfoDTO } from './models/shelf-info-dto';
|
||||
export { ReviewDTO } from './models/review-dto';
|
||||
export { EntityDTO } from './models/entity-dto';
|
||||
export { EntityStatus } from './models/entity-status';
|
||||
export { TouchedBase } from './models/touched-base';
|
||||
export { PaperKind } from './models/paper-kind';
|
||||
export { PrintRequest } from './models/print-request';
|
||||
export { PrintRequestOfLong } from './models/print-request-of-long';
|
||||
@@ -183,5 +184,7 @@ export { DisplayOrderPaymentDTO } from './models/display-order-payment-dto';
|
||||
export { ReadOnlyEntityDTOOfDisplayOrderPaymentDTOAndIReadOnlyPayment } from './models/read-only-entity-dtoof-display-order-payment-dtoand-iread-only-payment';
|
||||
export { TermsOfDeliveryDTO2 } from './models/terms-of-delivery-dto2';
|
||||
export { ReadOnlyEntityDTOOfDisplayOrderDTOAndIOrder } from './models/read-only-entity-dtoof-display-order-dtoand-iorder';
|
||||
export { PrintRequestOfIEnumerableOfPriceQRCodeDTO } from './models/print-request-of-ienumerable-of-price-qrcode-dto';
|
||||
export { PriceQRCodeDTO } from './models/price-qrcode-dto';
|
||||
export { ListResponseArgsOfKeyValueDTOOfStringAndString } from './models/list-response-args-of-key-value-dtoof-string-and-string';
|
||||
export { ResponseArgsOfIEnumerableOfKeyValueDTOOfStringAndString } from './models/response-args-of-ienumerable-of-key-value-dtoof-string-and-string';
|
||||
|
||||
@@ -2,15 +2,59 @@
|
||||
import { PriceDTO } from './price-dto';
|
||||
import { ShopDTO } from './shop-dto';
|
||||
import { AvailabilityType } from './availability-type';
|
||||
|
||||
/**
|
||||
* Verfügbarkeit
|
||||
*/
|
||||
export interface AvailabilityDTO {
|
||||
|
||||
/**
|
||||
* Voraussichtliches Lieferdatum
|
||||
*/
|
||||
at?: string;
|
||||
|
||||
/**
|
||||
* Produkt / Artikel PK
|
||||
*/
|
||||
itemId?: number;
|
||||
|
||||
/**
|
||||
* Preis (VK)
|
||||
*/
|
||||
price?: PriceDTO;
|
||||
|
||||
/**
|
||||
* Verfügbare Menge
|
||||
*/
|
||||
qty?: number;
|
||||
|
||||
/**
|
||||
* Rang
|
||||
*/
|
||||
rank?: number;
|
||||
|
||||
/**
|
||||
* Zeitstempel der Anfrage
|
||||
*/
|
||||
requested?: string;
|
||||
|
||||
/**
|
||||
* Shop
|
||||
*/
|
||||
shop?: ShopDTO;
|
||||
|
||||
/**
|
||||
* Stock Status Code / Meldeschlüssel
|
||||
*/
|
||||
ssc?: string;
|
||||
|
||||
/**
|
||||
* Verfügbarkeitsstatus
|
||||
*/
|
||||
status: AvailabilityType;
|
||||
|
||||
/**
|
||||
* Lieferant
|
||||
*/
|
||||
supplier?: string;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityStatus } from './entity-status';
|
||||
export interface EntityDTO {
|
||||
export interface EntityDTO extends TouchedBase{
|
||||
changed?: string;
|
||||
created?: string;
|
||||
id?: number;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { ExternalReferenceDTO } from './external-reference-dto';
|
||||
export interface EntityDTOReferenceContainer {
|
||||
export interface EntityDTOReferenceContainer extends TouchedBase{
|
||||
displayLabel?: string;
|
||||
enabled?: boolean;
|
||||
externalReference?: ExternalReferenceDTO;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityDTOReferenceContainer } from './entity-dtoreference-container';
|
||||
export interface EntityReferenceDTO {
|
||||
export interface EntityReferenceDTO extends TouchedBase{
|
||||
pId?: string;
|
||||
reference?: EntityDTOReferenceContainer;
|
||||
source?: number;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
/* tslint:disable */
|
||||
import { TouchedBase } from './touched-base';
|
||||
import { EntityStatus } from './entity-status';
|
||||
export interface ExternalReferenceDTO {
|
||||
export interface ExternalReferenceDTO extends TouchedBase{
|
||||
externalChanged?: string;
|
||||
externalCreated?: string;
|
||||
externalNumber?: string;
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
/* tslint:disable */
|
||||
export interface GeoLocation {
|
||||
import { TouchedBase } from './touched-base';
|
||||
export interface GeoLocation extends TouchedBase{
|
||||
altitude?: number;
|
||||
latitude?: number;
|
||||
longitude?: number;
|
||||
|
||||
@@ -1,10 +1,42 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Bild
|
||||
*/
|
||||
export interface ImageDTO {
|
||||
|
||||
/**
|
||||
* Copyright
|
||||
*/
|
||||
copyright?: string;
|
||||
|
||||
/**
|
||||
* PK
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* Bildquelle
|
||||
*/
|
||||
source?: string;
|
||||
|
||||
/**
|
||||
* Bildunterschrift
|
||||
*/
|
||||
subtitle?: string;
|
||||
|
||||
/**
|
||||
* Thumbnail-Url
|
||||
*/
|
||||
thumbUrl?: string;
|
||||
|
||||
/**
|
||||
* Art des Bildes
|
||||
*/
|
||||
type?: string;
|
||||
|
||||
/**
|
||||
* Url
|
||||
*/
|
||||
url?: string;
|
||||
}
|
||||
|
||||
@@ -10,21 +10,89 @@ import { StockInfoDTO } from './stock-info-dto';
|
||||
import { TextDTO } from './text-dto';
|
||||
import { ItemType } from './item-type';
|
||||
export interface ItemDTO extends EntityDTO{
|
||||
|
||||
/**
|
||||
* Verfügbarkeit laut Katalog
|
||||
*/
|
||||
catalogAvailability?: AvailabilityDTO;
|
||||
|
||||
/**
|
||||
* Produktfamilie
|
||||
*/
|
||||
family?: Array<ItemDTO>;
|
||||
|
||||
/**
|
||||
* Weitere Artikel-IDs
|
||||
*/
|
||||
ids?: {[key: string]: number};
|
||||
|
||||
/**
|
||||
* Images
|
||||
*/
|
||||
images?: Array<ImageDTO>;
|
||||
|
||||
/**
|
||||
* Markierungen (Lesezeichen) wie (BOD, Prämie)
|
||||
*/
|
||||
labels?: {[key: string]: string};
|
||||
|
||||
/**
|
||||
* Produkt-Stammdaten
|
||||
*/
|
||||
product?: ProductDTO;
|
||||
|
||||
/**
|
||||
* Lesepunkte
|
||||
*/
|
||||
promoPoints?: number;
|
||||
|
||||
/**
|
||||
* Rezensionen
|
||||
*/
|
||||
reviews?: Array<ReviewDTO>;
|
||||
|
||||
/**
|
||||
* Rang
|
||||
*/
|
||||
scoring?: number;
|
||||
|
||||
/**
|
||||
* Platzierungs-/Regalinformationen
|
||||
*/
|
||||
shelfInfos?: Array<ShelfInfoDTO>;
|
||||
|
||||
/**
|
||||
* Verfügbarkeit zur Bestellung zum Versand
|
||||
*/
|
||||
shippingAvailabilities?: Array<AvailabilityDTO>;
|
||||
|
||||
/**
|
||||
* Specs / Technische Daten / Werte
|
||||
*/
|
||||
specs?: Array<SpecDTO>;
|
||||
|
||||
/**
|
||||
* Bestandsinformationen
|
||||
*/
|
||||
stockInfos?: Array<StockInfoDTO>;
|
||||
|
||||
/**
|
||||
* Verfügbarkeit zur Bestellung in die Filiale
|
||||
*/
|
||||
storeAvailabilities?: Array<AvailabilityDTO>;
|
||||
|
||||
/**
|
||||
* Nachfolgeartikel
|
||||
*/
|
||||
successor?: ItemDTO;
|
||||
|
||||
/**
|
||||
* Texte
|
||||
*/
|
||||
texts?: Array<TextDTO>;
|
||||
|
||||
/**
|
||||
* Artikel / Produkttyp
|
||||
*/
|
||||
type?: ItemType;
|
||||
}
|
||||
|
||||
33
apps/swagger/print/src/lib/models/price-qrcode-dto.ts
Normal file
33
apps/swagger/print/src/lib/models/price-qrcode-dto.ts
Normal file
@@ -0,0 +1,33 @@
|
||||
/* tslint:disable */
|
||||
import { PriceValueDTO } from './price-value-dto';
|
||||
|
||||
/**
|
||||
* PriceQRCodeDTO
|
||||
*/
|
||||
export interface PriceQRCodeDTO {
|
||||
|
||||
/**
|
||||
* Abholfachnummer
|
||||
*/
|
||||
compartmentCode?: string;
|
||||
|
||||
/**
|
||||
* Abholfachnummer Zusatz
|
||||
*/
|
||||
compartmentInfo?: string;
|
||||
|
||||
/**
|
||||
* EAN
|
||||
*/
|
||||
ean?: string;
|
||||
|
||||
/**
|
||||
* Preis
|
||||
*/
|
||||
price?: PriceValueDTO;
|
||||
|
||||
/**
|
||||
* Titel / Bezeichner
|
||||
*/
|
||||
title?: string;
|
||||
}
|
||||
@@ -3,9 +3,29 @@ import { PrintRequest } from './print-request';
|
||||
import { DisplayOrderDTO } from './display-order-dto';
|
||||
import { PaperKind } from './paper-kind';
|
||||
export interface PrintRequestOfIEnumerableOfDisplayOrderDTO extends PrintRequest{
|
||||
|
||||
/**
|
||||
* Anzahl
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: Array<DisplayOrderDTO>;
|
||||
|
||||
/**
|
||||
* true = landscape, false = portrait
|
||||
*/
|
||||
isLandscape?: boolean;
|
||||
|
||||
/**
|
||||
* Papierformat
|
||||
*/
|
||||
paperKind?: PaperKind;
|
||||
|
||||
/**
|
||||
* Papierfach
|
||||
*/
|
||||
paperSource?: string;
|
||||
}
|
||||
|
||||
@@ -3,9 +3,29 @@ import { PrintRequest } from './print-request';
|
||||
import { ItemDTO } from './item-dto';
|
||||
import { PaperKind } from './paper-kind';
|
||||
export interface PrintRequestOfIEnumerableOfItemDTO extends PrintRequest{
|
||||
|
||||
/**
|
||||
* Anzahl
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: Array<ItemDTO>;
|
||||
|
||||
/**
|
||||
* true = landscape, false = portrait
|
||||
*/
|
||||
isLandscape?: boolean;
|
||||
|
||||
/**
|
||||
* Papierformat
|
||||
*/
|
||||
paperKind?: PaperKind;
|
||||
|
||||
/**
|
||||
* Papierfach
|
||||
*/
|
||||
paperSource?: string;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,29 @@
|
||||
import { PrintRequest } from './print-request';
|
||||
import { PaperKind } from './paper-kind';
|
||||
export interface PrintRequestOfIEnumerableOfLong extends PrintRequest{
|
||||
|
||||
/**
|
||||
* Anzahl
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: Array<number>;
|
||||
|
||||
/**
|
||||
* true = landscape, false = portrait
|
||||
*/
|
||||
isLandscape?: boolean;
|
||||
|
||||
/**
|
||||
* Papierformat
|
||||
*/
|
||||
paperKind?: PaperKind;
|
||||
|
||||
/**
|
||||
* Papierfach
|
||||
*/
|
||||
paperSource?: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,31 @@
|
||||
/* tslint:disable */
|
||||
import { PrintRequest } from './print-request';
|
||||
import { PriceQRCodeDTO } from './price-qrcode-dto';
|
||||
import { PaperKind } from './paper-kind';
|
||||
export interface PrintRequestOfIEnumerableOfPriceQRCodeDTO extends PrintRequest{
|
||||
|
||||
/**
|
||||
* Anzahl
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: Array<PriceQRCodeDTO>;
|
||||
|
||||
/**
|
||||
* true = landscape, false = portrait
|
||||
*/
|
||||
isLandscape?: boolean;
|
||||
|
||||
/**
|
||||
* Papierformat
|
||||
*/
|
||||
paperKind?: PaperKind;
|
||||
|
||||
/**
|
||||
* Papierfach
|
||||
*/
|
||||
paperSource?: string;
|
||||
}
|
||||
@@ -3,9 +3,29 @@ import { PrintRequest } from './print-request';
|
||||
import { ShoppingCartItemDTO } from './shopping-cart-item-dto';
|
||||
import { PaperKind } from './paper-kind';
|
||||
export interface PrintRequestOfIEnumerableOfShoppingCartItemDTO extends PrintRequest{
|
||||
|
||||
/**
|
||||
* Anzahl
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: Array<ShoppingCartItemDTO>;
|
||||
|
||||
/**
|
||||
* true = landscape, false = portrait
|
||||
*/
|
||||
isLandscape?: boolean;
|
||||
|
||||
/**
|
||||
* Papierformat
|
||||
*/
|
||||
paperKind?: PaperKind;
|
||||
|
||||
/**
|
||||
* Papierfach
|
||||
*/
|
||||
paperSource?: string;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,29 @@
|
||||
import { PrintRequest } from './print-request';
|
||||
import { PaperKind } from './paper-kind';
|
||||
export interface PrintRequestOfLong extends PrintRequest{
|
||||
|
||||
/**
|
||||
* Anzahl
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data: number;
|
||||
|
||||
/**
|
||||
* true = landscape, false = portrait
|
||||
*/
|
||||
isLandscape?: boolean;
|
||||
|
||||
/**
|
||||
* Papierformat
|
||||
*/
|
||||
paperKind?: PaperKind;
|
||||
|
||||
/**
|
||||
* Papierfach
|
||||
*/
|
||||
paperSource?: string;
|
||||
}
|
||||
|
||||
@@ -2,9 +2,29 @@
|
||||
import { PrintRequest } from './print-request';
|
||||
import { PaperKind } from './paper-kind';
|
||||
export interface PrintRequestOfString extends PrintRequest{
|
||||
|
||||
/**
|
||||
* Anzahl
|
||||
*/
|
||||
copies?: number;
|
||||
|
||||
/**
|
||||
* Daten
|
||||
*/
|
||||
data?: string;
|
||||
|
||||
/**
|
||||
* true = landscape, false = portrait
|
||||
*/
|
||||
isLandscape?: boolean;
|
||||
|
||||
/**
|
||||
* Papierformat
|
||||
*/
|
||||
paperKind?: PaperKind;
|
||||
|
||||
/**
|
||||
* Papierfach
|
||||
*/
|
||||
paperSource?: string;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
/* tslint:disable */
|
||||
export interface PrintRequest {
|
||||
|
||||
/**
|
||||
* Drucker
|
||||
*/
|
||||
printer?: string;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,10 +1,38 @@
|
||||
/* tslint:disable */
|
||||
export interface ReviewDTO {
|
||||
|
||||
/**
|
||||
* Autor
|
||||
*/
|
||||
author?: string;
|
||||
|
||||
/**
|
||||
* Filiale
|
||||
*/
|
||||
branch?: string;
|
||||
|
||||
/**
|
||||
* Erstellungsdatum
|
||||
*/
|
||||
created: string;
|
||||
|
||||
/**
|
||||
* Externe Id
|
||||
*/
|
||||
id?: string;
|
||||
|
||||
/**
|
||||
* Rating
|
||||
*/
|
||||
rating: number;
|
||||
|
||||
/**
|
||||
* Text
|
||||
*/
|
||||
text?: string;
|
||||
|
||||
/**
|
||||
* Titel
|
||||
*/
|
||||
title?: string;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Regalinfo
|
||||
*/
|
||||
export interface ShelfInfoDTO {
|
||||
assortment?: string;
|
||||
label?: string;
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Shop
|
||||
*/
|
||||
export interface ShopDTO {
|
||||
}
|
||||
|
||||
@@ -1,7 +1,27 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Eigenchaften
|
||||
*/
|
||||
export interface SpecDTO {
|
||||
|
||||
/**
|
||||
* PK
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* Key
|
||||
*/
|
||||
key?: string;
|
||||
|
||||
/**
|
||||
* Label
|
||||
*/
|
||||
label?: string;
|
||||
|
||||
/**
|
||||
* Wert
|
||||
*/
|
||||
value?: string;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,22 @@
|
||||
/* tslint:disable */
|
||||
|
||||
/**
|
||||
* Bestandsinformation
|
||||
*/
|
||||
export interface StockInfoDTO {
|
||||
|
||||
/**
|
||||
* Fach / Kammer
|
||||
*/
|
||||
compartment?: string;
|
||||
|
||||
/**
|
||||
* PK
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* Lagerbestand
|
||||
*/
|
||||
inStock?: number;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,23 @@
|
||||
/* tslint:disable */
|
||||
export interface TextDTO {
|
||||
|
||||
/**
|
||||
* PK
|
||||
*/
|
||||
id?: number;
|
||||
|
||||
/**
|
||||
* Key
|
||||
*/
|
||||
key?: string;
|
||||
|
||||
/**
|
||||
* Label
|
||||
*/
|
||||
label?: string;
|
||||
|
||||
/**
|
||||
* Wert
|
||||
*/
|
||||
value?: string;
|
||||
}
|
||||
|
||||
3
apps/swagger/print/src/lib/models/touched-base.ts
Normal file
3
apps/swagger/print/src/lib/models/touched-base.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
/* tslint:disable */
|
||||
export interface TouchedBase {
|
||||
}
|
||||
@@ -24,7 +24,8 @@ class CatalogPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt die Artikelstammdaten inklusive Details
|
||||
* @param data Artikel
|
||||
*/
|
||||
CatalogPrintArtikelDetailResponse(data: PrintRequestOfIEnumerableOfItemDTO): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -49,7 +50,8 @@ class CatalogPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt die Artikelstammdaten inklusive Details
|
||||
* @param data Artikel
|
||||
*/
|
||||
CatalogPrintArtikelDetail(data: PrintRequestOfIEnumerableOfItemDTO): __Observable<ResponseArgs> {
|
||||
return this.CatalogPrintArtikelDetailResponse(data).pipe(
|
||||
@@ -58,7 +60,8 @@ class CatalogPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt die Artikelstammdaten
|
||||
* @param data Artikel
|
||||
*/
|
||||
CatalogPrintArtikelListeResponse(data: PrintRequestOfIEnumerableOfItemDTO): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -83,7 +86,8 @@ class CatalogPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt die Artikelstammdaten
|
||||
* @param data Artikel
|
||||
*/
|
||||
CatalogPrintArtikelListe(data: PrintRequestOfIEnumerableOfItemDTO): __Observable<ResponseArgs> {
|
||||
return this.CatalogPrintArtikelListeResponse(data).pipe(
|
||||
|
||||
@@ -25,7 +25,8 @@ class CheckoutPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt die Artikelliste eines Warenkorbs
|
||||
* @param data Warenkorb PK
|
||||
*/
|
||||
CheckoutPrintWarenkorbByIdResponse(data: PrintRequestOfLong): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -50,7 +51,8 @@ class CheckoutPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt die Artikelliste eines Warenkorbs
|
||||
* @param data Warenkorb PK
|
||||
*/
|
||||
CheckoutPrintWarenkorbById(data: PrintRequestOfLong): __Observable<ResponseArgs> {
|
||||
return this.CheckoutPrintWarenkorbByIdResponse(data).pipe(
|
||||
@@ -59,7 +61,8 @@ class CheckoutPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt eine Artikelliste der übergebeenen Warenkorbpositionen
|
||||
* @param data Warenkorbpositionen
|
||||
*/
|
||||
CheckoutPrintWarenkorbResponse(data: PrintRequestOfIEnumerableOfShoppingCartItemDTO): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -84,7 +87,8 @@ class CheckoutPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt eine Artikelliste der übergebeenen Warenkorbpositionen
|
||||
* @param data Warenkorbpositionen
|
||||
*/
|
||||
CheckoutPrintWarenkorb(data: PrintRequestOfIEnumerableOfShoppingCartItemDTO): __Observable<ResponseArgs> {
|
||||
return this.CheckoutPrintWarenkorbResponse(data).pipe(
|
||||
|
||||
@@ -25,7 +25,8 @@ class InventoryPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Warenbegleitscheine
|
||||
* @param data Remission PK
|
||||
*/
|
||||
InventoryPrintWarenbegleitscheineResponse(data: PrintRequestOfLong): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -50,7 +51,8 @@ class InventoryPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Warenbegleitscheine
|
||||
* @param data Remission PK
|
||||
*/
|
||||
InventoryPrintWarenbegleitscheine(data: PrintRequestOfLong): __Observable<ResponseArgs> {
|
||||
return this.InventoryPrintWarenbegleitscheineResponse(data).pipe(
|
||||
@@ -59,7 +61,8 @@ class InventoryPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Remissions-Gruppe
|
||||
* @param data Remissionsgruppe
|
||||
*/
|
||||
InventoryPrintPrintReturnGroupResponse(data: PrintRequestOfString): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -84,7 +87,8 @@ class InventoryPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Remissions-Gruppe
|
||||
* @param data Remissionsgruppe
|
||||
*/
|
||||
InventoryPrintPrintReturnGroup(data: PrintRequestOfString): __Observable<ResponseArgs> {
|
||||
return this.InventoryPrintPrintReturnGroupResponse(data).pipe(
|
||||
|
||||
@@ -10,6 +10,7 @@ import { map as __map, filter as __filter } from 'rxjs/operators';
|
||||
import { ResponseArgs } from '../models/response-args';
|
||||
import { PrintRequestOfIEnumerableOfLong } from '../models/print-request-of-ienumerable-of-long';
|
||||
import { PrintRequestOfIEnumerableOfDisplayOrderDTO } from '../models/print-request-of-ienumerable-of-display-order-dto';
|
||||
import { PrintRequestOfIEnumerableOfPriceQRCodeDTO } from '../models/print-request-of-ienumerable-of-price-qrcode-dto';
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
})
|
||||
@@ -17,6 +18,7 @@ class OMSPrintService extends __BaseService {
|
||||
static readonly OMSPrintAbholscheinByIdPath = '/print/abholschein';
|
||||
static readonly OMSPrintAbholscheinPath = '/print/abholschein/data';
|
||||
static readonly OMSPrintAbholfachetikettPath = '/print/abholfachetikett';
|
||||
static readonly OMSPrintPriceQRCodePath = '/print/priceqrcode';
|
||||
static readonly OMSPrintLieferscheinPath = '/print/lieferschein';
|
||||
|
||||
constructor(
|
||||
@@ -27,7 +29,8 @@ class OMSPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Abholschein oder Bestellbestätigung
|
||||
* @param data Bestellung PKs
|
||||
*/
|
||||
OMSPrintAbholscheinByIdResponse(data: PrintRequestOfIEnumerableOfLong): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -52,7 +55,8 @@ class OMSPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Abholschein oder Bestellbestätigung
|
||||
* @param data Bestellung PKs
|
||||
*/
|
||||
OMSPrintAbholscheinById(data: PrintRequestOfIEnumerableOfLong): __Observable<ResponseArgs> {
|
||||
return this.OMSPrintAbholscheinByIdResponse(data).pipe(
|
||||
@@ -61,7 +65,8 @@ class OMSPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Abholschein oder Bestellbestätigung
|
||||
* @param data Bestellungen (Objekte)
|
||||
*/
|
||||
OMSPrintAbholscheinResponse(data: PrintRequestOfIEnumerableOfDisplayOrderDTO): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -86,7 +91,8 @@ class OMSPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Abholschein oder Bestellbestätigung
|
||||
* @param data Bestellungen (Objekte)
|
||||
*/
|
||||
OMSPrintAbholschein(data: PrintRequestOfIEnumerableOfDisplayOrderDTO): __Observable<ResponseArgs> {
|
||||
return this.OMSPrintAbholscheinResponse(data).pipe(
|
||||
@@ -95,7 +101,8 @@ class OMSPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Abholfachetikett
|
||||
* @param data Bestellpostenteilmenge PKs
|
||||
*/
|
||||
OMSPrintAbholfachetikettResponse(data: PrintRequestOfIEnumerableOfLong): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -120,7 +127,8 @@ class OMSPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Abholfachetikett
|
||||
* @param data Bestellpostenteilmenge PKs
|
||||
*/
|
||||
OMSPrintAbholfachetikett(data: PrintRequestOfIEnumerableOfLong): __Observable<ResponseArgs> {
|
||||
return this.OMSPrintAbholfachetikettResponse(data).pipe(
|
||||
@@ -129,7 +137,44 @@ class OMSPrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Abholfachpreis-Etikett
|
||||
* @param data Bestellpostenteilmenge PKs
|
||||
*/
|
||||
OMSPrintPriceQRCodeResponse(data: PrintRequestOfIEnumerableOfPriceQRCodeDTO): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
let __body: any = null;
|
||||
__body = data;
|
||||
let req = new HttpRequest<any>(
|
||||
'POST',
|
||||
this.rootUrl + `/print/priceqrcode`,
|
||||
__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<ResponseArgs>;
|
||||
})
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Abholfachpreis-Etikett
|
||||
* @param data Bestellpostenteilmenge PKs
|
||||
*/
|
||||
OMSPrintPriceQRCode(data: PrintRequestOfIEnumerableOfPriceQRCodeDTO): __Observable<ResponseArgs> {
|
||||
return this.OMSPrintPriceQRCodeResponse(data).pipe(
|
||||
__map(_r => _r.body as ResponseArgs)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lieferschein
|
||||
* @param data Lieferschein PKs
|
||||
*/
|
||||
OMSPrintLieferscheinResponse(data: PrintRequestOfIEnumerableOfLong): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -154,7 +199,8 @@ class OMSPrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Lieferschein
|
||||
* @param data Lieferschein PKs
|
||||
*/
|
||||
OMSPrintLieferschein(data: PrintRequestOfIEnumerableOfLong): __Observable<ResponseArgs> {
|
||||
return this.OMSPrintLieferscheinResponse(data).pipe(
|
||||
|
||||
@@ -30,6 +30,10 @@ class PrintService extends __BaseService {
|
||||
) {
|
||||
super(config, http);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verfügbare Drucker
|
||||
*/
|
||||
PrintPrintersResponse(): __Observable<__StrictHttpResponse<ListResponseArgsOfKeyValueDTOOfStringAndString>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
@@ -50,11 +54,19 @@ class PrintService extends __BaseService {
|
||||
return _r as __StrictHttpResponse<ListResponseArgsOfKeyValueDTOOfStringAndString>;
|
||||
})
|
||||
);
|
||||
} PrintPrinters(): __Observable<ListResponseArgsOfKeyValueDTOOfStringAndString> {
|
||||
}
|
||||
/**
|
||||
* Verfügbare Drucker
|
||||
*/
|
||||
PrintPrinters(): __Observable<ListResponseArgsOfKeyValueDTOOfStringAndString> {
|
||||
return this.PrintPrintersResponse().pipe(
|
||||
__map(_r => _r.body as ListResponseArgsOfKeyValueDTOOfStringAndString)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verfügbare Label-Drucker
|
||||
*/
|
||||
PrintLabelPrintersResponse(): __Observable<__StrictHttpResponse<ListResponseArgsOfKeyValueDTOOfStringAndString>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
@@ -75,11 +87,19 @@ class PrintService extends __BaseService {
|
||||
return _r as __StrictHttpResponse<ListResponseArgsOfKeyValueDTOOfStringAndString>;
|
||||
})
|
||||
);
|
||||
} PrintLabelPrinters(): __Observable<ListResponseArgsOfKeyValueDTOOfStringAndString> {
|
||||
}
|
||||
/**
|
||||
* Verfügbare Label-Drucker
|
||||
*/
|
||||
PrintLabelPrinters(): __Observable<ListResponseArgsOfKeyValueDTOOfStringAndString> {
|
||||
return this.PrintLabelPrintersResponse().pipe(
|
||||
__map(_r => _r.body as ListResponseArgsOfKeyValueDTOOfStringAndString)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Verfügbare Office-Drucker
|
||||
*/
|
||||
PrintOfficePrintersResponse(): __Observable<__StrictHttpResponse<ListResponseArgsOfKeyValueDTOOfStringAndString>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
@@ -100,13 +120,18 @@ class PrintService extends __BaseService {
|
||||
return _r as __StrictHttpResponse<ListResponseArgsOfKeyValueDTOOfStringAndString>;
|
||||
})
|
||||
);
|
||||
} PrintOfficePrinters(): __Observable<ListResponseArgsOfKeyValueDTOOfStringAndString> {
|
||||
}
|
||||
/**
|
||||
* Verfügbare Office-Drucker
|
||||
*/
|
||||
PrintOfficePrinters(): __Observable<ListResponseArgsOfKeyValueDTOOfStringAndString> {
|
||||
return this.PrintOfficePrintersResponse().pipe(
|
||||
__map(_r => _r.body as ListResponseArgsOfKeyValueDTOOfStringAndString)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Testausdruck
|
||||
* @param data undefined
|
||||
*/
|
||||
PrintTestResponse(data: PrintRequest): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
@@ -132,6 +157,7 @@ class PrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Testausdruck
|
||||
* @param data undefined
|
||||
*/
|
||||
PrintTest(data: PrintRequest): __Observable<ResponseArgs> {
|
||||
@@ -141,6 +167,7 @@ class PrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* Druckerdetails
|
||||
* @param data undefined
|
||||
*/
|
||||
PrintPrinterDetailsResponse(data: PrintRequest): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
@@ -166,6 +193,7 @@ class PrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* Druckerdetails
|
||||
* @param data undefined
|
||||
*/
|
||||
PrintPrinterDetails(data: PrintRequest): __Observable<ResponseArgs> {
|
||||
@@ -175,7 +203,8 @@ class PrintService extends __BaseService {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt das übergebene Pdf-Dokument (base64)
|
||||
* @param data Artikel
|
||||
*/
|
||||
PrintPrintPdfResponse(data: PrintRequestOfString): __Observable<__StrictHttpResponse<ResponseArgs>> {
|
||||
let __params = this.newParams();
|
||||
@@ -200,13 +229,18 @@ class PrintService extends __BaseService {
|
||||
);
|
||||
}
|
||||
/**
|
||||
* @param data undefined
|
||||
* Druckt das übergebene Pdf-Dokument (base64)
|
||||
* @param data Artikel
|
||||
*/
|
||||
PrintPrintPdf(data: PrintRequestOfString): __Observable<ResponseArgs> {
|
||||
return this.PrintPrintPdfResponse(data).pipe(
|
||||
__map(_r => _r.body as ResponseArgs)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Monitoring
|
||||
*/
|
||||
PrintMonitorResponse(): __Observable<__StrictHttpResponse<Blob>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
@@ -227,11 +261,19 @@ class PrintService extends __BaseService {
|
||||
return _r as __StrictHttpResponse<Blob>;
|
||||
})
|
||||
);
|
||||
} PrintMonitor(): __Observable<Blob> {
|
||||
}
|
||||
/**
|
||||
* Monitoring
|
||||
*/
|
||||
PrintMonitor(): __Observable<Blob> {
|
||||
return this.PrintMonitorResponse().pipe(
|
||||
__map(_r => _r.body as Blob)
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* Status
|
||||
*/
|
||||
PrintStatusResponse(): __Observable<__StrictHttpResponse<Blob>> {
|
||||
let __params = this.newParams();
|
||||
let __headers = new HttpHeaders();
|
||||
@@ -252,7 +294,11 @@ class PrintService extends __BaseService {
|
||||
return _r as __StrictHttpResponse<Blob>;
|
||||
})
|
||||
);
|
||||
} PrintStatus(): __Observable<Blob> {
|
||||
}
|
||||
/**
|
||||
* Status
|
||||
*/
|
||||
PrintStatus(): __Observable<Blob> {
|
||||
return this.PrintStatusResponse().pipe(
|
||||
__map(_r => _r.body as Blob)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user