mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Update imports to use generated Swagger API paths
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import { HttpInterceptorFn, provideHttpClient, withInterceptors } from '@angular/common/http';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { Config } from '@core/config';
|
||||
import { AvConfiguration } from '@swagger/availability';
|
||||
import { CatConfiguration } from '@swagger/cat';
|
||||
import { CheckoutConfiguration } from '@swagger/checkout';
|
||||
import { CrmConfiguration } from '@swagger/crm';
|
||||
import { EisConfiguration } from '@swagger/eis';
|
||||
import { IsaConfiguration } from '@swagger/isa';
|
||||
import { OmsConfiguration } from '@swagger/oms';
|
||||
import { PrintConfiguration } from '@swagger/print';
|
||||
import { RemiConfiguration } from '@swagger/remi';
|
||||
import { WwsConfiguration } from '@swagger/wws';
|
||||
import { AvConfiguration } from '@generated/swagger/availability-api';
|
||||
import { CatConfiguration } from '@generated/swagger/cat-search-api';
|
||||
import { CheckoutConfiguration } from '@generated/swagger/checkout-api';
|
||||
import { CrmConfiguration } from '@generated/swagger/crm-api';
|
||||
import { EisConfiguration } from '@generated/swagger/eis-api';
|
||||
import { IsaConfiguration } from '@generated/swagger/isa-api';
|
||||
import { OmsConfiguration } from '@generated/swagger/oms-api';
|
||||
import { PrintConfiguration } from '@generated/swagger/print-api';
|
||||
import { RemiConfiguration } from '@generated/swagger/inventory-api';
|
||||
import { WwsConfiguration } from '@generated/swagger/wws-api';
|
||||
|
||||
export function createConfigurationFactory(name: string) {
|
||||
return function (config: Config): { rootUrl: string } {
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Renderer2 } from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { SwUpdate } from '@angular/service-worker';
|
||||
import { NotificationsHub } from '@hub/notifications';
|
||||
import { UserStateService } from '@swagger/isa';
|
||||
import { UserStateService } from '@generated/swagger/isa-api';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
import { AuthService } from '@core/auth';
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import { Config } from '@core/config';
|
||||
import { NotificationsHub } from '@hub/notifications';
|
||||
import packageInfo from 'packageJson';
|
||||
import { asapScheduler, interval, Subscription } from 'rxjs';
|
||||
import { UserStateService } from '@swagger/isa';
|
||||
import { UserStateService } from '@generated/swagger/isa-api';
|
||||
import { IsaLogProvider } from './providers';
|
||||
import { EnvironmentService } from '@core/environment';
|
||||
import { AuthService, LoginStrategy } from '@core/auth';
|
||||
|
||||
@@ -3,11 +3,14 @@ import { Router } from '@angular/router';
|
||||
import { ApplicationService } from '@core/application';
|
||||
import { ActionHandler } from '@core/command';
|
||||
import { Result } from '@domain/defs';
|
||||
import { CustomerInfoDTO } from '@swagger/crm';
|
||||
import { CustomerInfoDTO } from '@generated/swagger/crm-api';
|
||||
|
||||
@Injectable()
|
||||
export class CreateCustomerCommand extends ActionHandler<Result<CustomerInfoDTO[]>> {
|
||||
constructor(private _router: Router, private _application: ApplicationService) {
|
||||
constructor(
|
||||
private _router: Router,
|
||||
private _application: ApplicationService,
|
||||
) {
|
||||
super('CREATE_CUSTOMER');
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ import { ApplicationService } from '@core/application';
|
||||
import { ActionHandler } from '@core/command';
|
||||
import { Result } from '@domain/defs';
|
||||
import { encodeFormData, mapCustomerInfoDtoToCustomerCreateFormData } from '@page/customer';
|
||||
import { CustomerInfoDTO } from '@swagger/crm';
|
||||
import { CustomerInfoDTO } from '@generated/swagger/crm-api';
|
||||
|
||||
@Injectable()
|
||||
export class CreateKubiCustomerCommand extends ActionHandler<Result<CustomerInfoDTO[]>> {
|
||||
|
||||
@@ -3,12 +3,15 @@ import { ActionHandler } from '@core/command';
|
||||
import { Result } from '@domain/defs';
|
||||
import { DomainPrinterService } from '@domain/printer';
|
||||
import { PrintModalComponent, PrintModalData } from '@modal/printer';
|
||||
import { CustomerInfoDTO } from '@swagger/crm';
|
||||
import { CustomerInfoDTO } from '@generated/swagger/crm-api';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
|
||||
@Injectable()
|
||||
export class PrintKubiCustomerCommand extends ActionHandler<Result<CustomerInfoDTO[]>> {
|
||||
constructor(private _uiModal: UiModalService, private _printerService: DomainPrinterService) {
|
||||
constructor(
|
||||
private _uiModal: UiModalService,
|
||||
private _printerService: DomainPrinterService,
|
||||
) {
|
||||
super('PRINT_KUBI_AGB');
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
|
||||
import { ActivatedRouteSnapshot, Router, RouterStateSnapshot } from '@angular/router';
|
||||
import { AuthService } from '@core/auth';
|
||||
import { ScanAdapterService } from '@adapter/scan';
|
||||
import { AuthService as IsaAuthService } from '@swagger/isa';
|
||||
import { AuthService as IsaAuthService } from '@generated/swagger/isa-api';
|
||||
import { UiConfirmModalComponent, UiErrorModalComponent, UiModalResult, UiModalService } from '@ui/modal';
|
||||
import { EnvironmentService } from '@core/environment';
|
||||
import { injectNetworkStatus$ } from '../services/network-status.service';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Platform, PlatformModule } from '@angular/cdk/platform';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
import { BranchSelectorComponent } from '@shared/components/branch-selector';
|
||||
import { BranchDTO } from '@swagger/checkout';
|
||||
import { BranchDTO } from '@generated/swagger/checkout-api';
|
||||
import { BehaviorSubject } from 'rxjs';
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable, Injector } from '@angular/core';
|
||||
import { LogLevel, LogProvider } from '@core/logger';
|
||||
import { UserStateService } from '@swagger/isa';
|
||||
import { UserStateService } from '@generated/swagger/isa-api';
|
||||
import { environment } from '../../environments/environment';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Logger, LogLevel } from '@core/logger';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { UserStateService } from '@swagger/isa';
|
||||
import { UserStateService } from '@generated/swagger/isa-api';
|
||||
import { debounceTime, switchMap, takeUntil } from 'rxjs/operators';
|
||||
import { RootState } from './root.state';
|
||||
import packageInfo from 'packageJson';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Store } from '@ngrx/store';
|
||||
import { BranchDTO } from '@swagger/checkout';
|
||||
import { BranchDTO } from '@generated/swagger/checkout-api';
|
||||
import { isBoolean, isNumber } from '@utils/common';
|
||||
import { BehaviorSubject, Observable } from 'rxjs';
|
||||
import { first, map, switchMap } from 'rxjs/operators';
|
||||
|
||||
@@ -5,7 +5,7 @@ import { EnvironmentService } from '@core/environment';
|
||||
import { UiConfirmModalComponent, UiModalResult, UiModalService } from '@ui/modal';
|
||||
import { injectNetworkStatus$ } from '../../app/services';
|
||||
import { AuthService } from './auth.service';
|
||||
import { AuthService as IsaAuthService } from '@swagger/isa';
|
||||
import { AuthService as IsaAuthService } from '@generated/swagger/isa-api';
|
||||
import { firstValueFrom, lastValueFrom } from 'rxjs';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ItemDTO } from '@swagger/cat';
|
||||
import { ItemDTO } from '@generated/swagger/cat-search-api';
|
||||
import {
|
||||
AvailabilityDTO,
|
||||
BranchDTO,
|
||||
@@ -7,20 +7,20 @@ import {
|
||||
StoreCheckoutBranchService,
|
||||
StoreCheckoutSupplierService,
|
||||
SupplierDTO,
|
||||
} from '@swagger/checkout';
|
||||
} from '@generated/swagger/checkout-api';
|
||||
import { BehaviorSubject, combineLatest, Observable, of } from 'rxjs';
|
||||
import {
|
||||
AvailabilityRequestDTO,
|
||||
AvailabilityService,
|
||||
AvailabilityDTO as SwaggerAvailabilityDTO,
|
||||
AvailabilityType,
|
||||
} from '@swagger/availability';
|
||||
import { AvailabilityDTO as CatAvailabilityDTO } from '@swagger/cat';
|
||||
} from '@generated/swagger/availability-api';
|
||||
import { AvailabilityDTO as CatAvailabilityDTO } from '@generated/swagger/cat-search-api';
|
||||
import { map, shareReplay, switchMap, withLatestFrom, mergeMap, timeout, first } from 'rxjs/operators';
|
||||
import { isArray, memorize } from '@utils/common';
|
||||
import { LogisticianDTO, LogisticianService } from '@swagger/oms';
|
||||
import { ResponseArgsOfIEnumerableOfStockInfoDTO, StockDTO, StockInfoDTO, StockService } from '@swagger/remi';
|
||||
import { PriceDTO } from '@swagger/availability';
|
||||
import { LogisticianDTO, LogisticianService } from '@generated/swagger/oms-api';
|
||||
import { ResponseArgsOfIEnumerableOfStockInfoDTO, StockDTO, StockInfoDTO, StockService } from '@generated/swagger/inventory-api';
|
||||
import { PriceDTO } from '@generated/swagger/availability-api';
|
||||
import { AvailabilityByBranchDTO, ItemData, Ssc } from './defs';
|
||||
import { Availability } from './defs/availability';
|
||||
import { isEmpty } from 'lodash';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AvailabilityDTO } from '@swagger/checkout';
|
||||
import { AvailabilityDTO } from '@generated/swagger/checkout-api';
|
||||
|
||||
export interface AvailabilityByBranchDTO extends AvailabilityDTO {
|
||||
availableQuantity?: number;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PriceDTO } from '@swagger/availability';
|
||||
import { PriceDTO } from '@generated/swagger/availability-api';
|
||||
|
||||
export interface ItemData {
|
||||
ean: string;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { StockInfoDTO } from '@swagger/remi';
|
||||
import { StockInfoDTO } from '@generated/swagger/inventory-api';
|
||||
import { groupBy, isEqual, uniqWith } from 'lodash';
|
||||
import { BehaviorSubject, combineLatest, Observable, Subject } from 'rxjs';
|
||||
import { buffer, debounceTime, distinctUntilChanged } from 'rxjs/operators';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OLAAvailabilityDTO } from '@swagger/checkout';
|
||||
import { OLAAvailabilityDTO } from '@generated/swagger/checkout-api';
|
||||
import { Observable } from 'rxjs';
|
||||
import { CartItem } from './defs/cart-item.model';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { AvailabilityDTO, BranchDTO, ItemDTO, Price, ProductDTO } from '@swagger/checkout';
|
||||
import { BranchInfoDTO } from '@swagger/isa';
|
||||
import { AvailabilityDTO, BranchDTO, ItemDTO, Price, ProductDTO } from '@generated/swagger/checkout-api';
|
||||
import { BranchInfoDTO } from '@generated/swagger/isa-api';
|
||||
|
||||
export interface CartItem {
|
||||
// cartId: number;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ApplicationService } from '@core/application';
|
||||
import { AutocompleteTokenDTO, PromotionService, QueryTokenDTO, SearchService } from '@swagger/cat';
|
||||
import { AutocompleteTokenDTO, PromotionService, QueryTokenDTO, SearchService } from '@generated/swagger/cat-search-api';
|
||||
import { memorize } from '@utils/common';
|
||||
import { map, share, shareReplay } from 'rxjs/operators';
|
||||
|
||||
|
||||
@@ -30,14 +30,14 @@ import {
|
||||
KulturPassService,
|
||||
ProductDTO,
|
||||
KulturPassResult,
|
||||
} from '@swagger/checkout';
|
||||
} from '@generated/swagger/checkout-api';
|
||||
import {
|
||||
DisplayOrderDTO,
|
||||
DisplayOrderItemDTO,
|
||||
OrderCheckoutService,
|
||||
ReorderValues,
|
||||
ResponseArgsOfValueTupleOfIEnumerableOfDisplayOrderDTOAndIEnumerableOfKeyValueDTOOfStringAndString,
|
||||
} from '@swagger/oms';
|
||||
} from '@generated/swagger/oms-api';
|
||||
import { isNullOrUndefined, memorize } from '@utils/common';
|
||||
import { combineLatest, Observable, of, concat, isObservable, throwError, interval as rxjsInterval } from 'rxjs';
|
||||
import {
|
||||
@@ -60,7 +60,7 @@ import * as DomainCheckoutActions from './store/domain-checkout.actions';
|
||||
import { DomainAvailabilityService, ItemData } from '@domain/availability';
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { ApplicationService } from '@core/application';
|
||||
import { CustomerDTO } from '@swagger/crm';
|
||||
import { CustomerDTO } from '@generated/swagger/crm-api';
|
||||
import { Config } from '@core/config';
|
||||
import parseDuration from 'parse-duration';
|
||||
|
||||
|
||||
@@ -6,9 +6,9 @@ import {
|
||||
PayerDTO,
|
||||
ShippingAddressDTO,
|
||||
ShoppingCartDTO,
|
||||
} from '@swagger/checkout';
|
||||
import { CustomerDTO } from '@swagger/crm';
|
||||
import { DisplayOrderDTO } from '@swagger/oms';
|
||||
} from '@generated/swagger/checkout-api';
|
||||
import { CustomerDTO } from '@generated/swagger/crm-api';
|
||||
import { DisplayOrderDTO } from '@generated/swagger/oms-api';
|
||||
|
||||
export interface CheckoutEntity {
|
||||
processId: number;
|
||||
|
||||
@@ -8,9 +8,9 @@ import {
|
||||
BuyerDTO,
|
||||
PayerDTO,
|
||||
AvailabilityDTO,
|
||||
} from '@swagger/checkout';
|
||||
import { CustomerDTO } from '@swagger/crm';
|
||||
import { DisplayOrderDTO, DisplayOrderItemDTO } from '@swagger/oms';
|
||||
} from '@generated/swagger/checkout-api';
|
||||
import { CustomerDTO } from '@generated/swagger/crm-api';
|
||||
import { DisplayOrderDTO, DisplayOrderItemDTO } from '@generated/swagger/oms-api';
|
||||
|
||||
const prefix = '[DOMAIN-CHECKOUT]';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Dictionary } from '@ngrx/entity';
|
||||
import { createSelector } from '@ngrx/store';
|
||||
import { CustomerDTO } from '@swagger/crm';
|
||||
import { CustomerDTO } from '@generated/swagger/crm-api';
|
||||
import { CheckoutEntity } from './defs/checkout.entity';
|
||||
import { storeCheckoutAdapter, storeFeatureSelector } from './domain-checkout.state';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { createFeatureSelector } from '@ngrx/store';
|
||||
import { createEntityAdapter, EntityState } from '@ngrx/entity';
|
||||
import { CheckoutEntity } from './defs/checkout.entity';
|
||||
import { DisplayOrderDTO } from '@swagger/oms';
|
||||
import { DisplayOrderDTO } from '@generated/swagger/oms-api';
|
||||
|
||||
export interface DomainCheckoutState extends EntityState<CheckoutEntity> {
|
||||
orders: DisplayOrderDTO[];
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// import { TestBed } from '@angular/core/testing';
|
||||
// import { CrmCustomerService } from '@domain/crm';
|
||||
// import { Result } from '@domain/defs';
|
||||
// import { AutocompleteDTO, CustomerInfoDTO, CustomerService, InputDTO, InputOptionsDTO, PayerService } from '@swagger/crm';
|
||||
// import { AutocompleteDTO, CustomerInfoDTO, CustomerService, InputDTO, InputOptionsDTO, PayerService } from '@generated/swagger/crm-api';
|
||||
// import { of } from 'rxjs';
|
||||
// import { take } from 'rxjs/operators';
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ import {
|
||||
ResponseArgsOfIEnumerableOfBonusCardInfoDTO,
|
||||
ShippingAddressDTO,
|
||||
ShippingAddressService,
|
||||
} from '@swagger/crm';
|
||||
} from '@generated/swagger/crm-api';
|
||||
import { isArray, memorize } from '@utils/common';
|
||||
import { PagedResult, Result } from '@domain/defs';
|
||||
import { Observable, of, ReplaySubject } from 'rxjs';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AddressDTO } from '@swagger/crm';
|
||||
import { AddressDTO } from '@generated/swagger/crm-api';
|
||||
|
||||
function hasRequiredProperties(address: AddressDTO) {
|
||||
return !!address?.street && !!address?.city && !!address?.zipCode && !!address?.country;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AssignedPayerDTO, EntityDTOContainerOfPayerDTO } from '@swagger/crm';
|
||||
import { AssignedPayerDTO, EntityDTOContainerOfPayerDTO } from '@generated/swagger/crm-api';
|
||||
import { AssignedPayerHelper } from './assigned-payer.helper';
|
||||
|
||||
describe('AssignedPayerHelper', () => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { AssignedPayerDTO } from '@swagger/crm';
|
||||
import { AssignedPayerDTO } from '@generated/swagger/crm-api';
|
||||
|
||||
function getDefaultAssignedPayer(payers: AssignedPayerDTO[]): AssignedPayerDTO {
|
||||
if (Array.isArray(payers)) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ShippingAddressDTO } from '@swagger/crm';
|
||||
import { ShippingAddressDTO } from '@generated/swagger/crm-api';
|
||||
import { ShippingAddressHelper } from './shipping-address.helper';
|
||||
|
||||
describe('ShippingAddressHelper', () => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ShippingAddressDTO } from '@swagger/crm';
|
||||
import { ShippingAddressDTO } from '@generated/swagger/crm-api';
|
||||
|
||||
function getDefaultShippingAddress(shippingAddresses: ShippingAddressDTO[]): ShippingAddressDTO {
|
||||
if (Array.isArray(shippingAddresses)) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { DialogOfString } from '@swagger/crm';
|
||||
import { DialogOfString } from '@generated/swagger/crm-api';
|
||||
|
||||
export interface Result<T> {
|
||||
/** Ergebnis */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { InfoService } from '@swagger/isa';
|
||||
import { InfoService } from '@generated/swagger/isa-api';
|
||||
|
||||
@Injectable()
|
||||
export class DomainDashboardService {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FeedDTO } from '@swagger/isa';
|
||||
import { FeedDTO } from '@generated/swagger/isa-api';
|
||||
import { InfoFeedItem } from './info-feed-item';
|
||||
|
||||
export interface InfoFeed extends FeedDTO {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FeedDTO } from '@swagger/isa';
|
||||
import { FeedDTO } from '@generated/swagger/isa-api';
|
||||
import { KpiFeedItem } from './kpi-feed-item';
|
||||
|
||||
export interface KpiFeed extends FeedDTO {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ItemDTO } from '@swagger/cat';
|
||||
import { FeedDTO } from '@swagger/isa';
|
||||
import { ItemDTO } from '@generated/swagger/cat-search-api';
|
||||
import { FeedDTO } from '@generated/swagger/isa-api';
|
||||
|
||||
export interface ProductsFeed extends FeedDTO {
|
||||
type: 'products';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { ActionHandler } from '@core/command';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
export abstract class ChangeOrderItemStatusBaseActionHandler extends ActionHandler<OrderItemsContext> {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ActionHandler } from '@core/command';
|
||||
import { Dictionary } from '@ngrx/entity';
|
||||
import { OrderService } from '@swagger/oms';
|
||||
import { OrderService } from '@generated/swagger/oms-api';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ActionHandler } from '@core/command';
|
||||
import { OrderService } from '@swagger/oms';
|
||||
import { OrderService } from '@generated/swagger/oms-api';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -2,7 +2,7 @@ import { HttpErrorResponse } from '@angular/common/http';
|
||||
import { inject, Injectable } from '@angular/core';
|
||||
import { ActionHandler, CommandService } from '@core/command';
|
||||
import { ReorderModalComponent, ReorderResult } from '@modal/reorder';
|
||||
import { AvailabilityDTO2, OrderItemListItemDTO } from '@swagger/oms';
|
||||
import { AvailabilityDTO2, OrderItemListItemDTO } from '@generated/swagger/oms-api';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
import { isResponseArgs } from '@utils/object';
|
||||
import { first } from 'rxjs/operators';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { OrderItemListItemDTO, ReceiptDTO, OrderDTO } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, ReceiptDTO, OrderDTO } from '@generated/swagger/oms-api';
|
||||
|
||||
export interface OrderItemsContext {
|
||||
items: OrderItemListItemDTO[];
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ActionHandler } from '@core/command';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
import { DomainPrinterService } from '@domain/printer';
|
||||
import { ConfirmModalData, UiConfirmModalComponent, UiErrorModalComponent, UiModalService } from '@ui/modal';
|
||||
import { PriceQRCodeDTO } from '@swagger/print';
|
||||
import { PriceQRCodeDTO } from '@generated/swagger/print-api';
|
||||
import { PrintModalComponent } from '@modal/printer';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -5,7 +5,7 @@ import { DomainPrinterService, Printer } from '@domain/printer';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
import { PrintModalComponent, PrintModalData } from '@modal/printer';
|
||||
import { groupBy } from '@ui/common';
|
||||
import { ReceiptDTO } from '@swagger/oms';
|
||||
import { ReceiptDTO } from '@generated/swagger/oms-api';
|
||||
import { EnvironmentService } from '@core/environment';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import { inject, Injectable } from '@angular/core';
|
||||
import { ActionHandler } from '@core/command';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
import { OMSPrintService } from '@swagger/print';
|
||||
import { OMSPrintService } from '@generated/swagger/print-api';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
import { PrintModalComponent, PrintModalData } from '@modal/printer';
|
||||
import { Group, groupBy } from '@ui/common';
|
||||
import { DomainPrinterService, Printer } from '@domain/printer';
|
||||
import { firstValueFrom } from 'rxjs';
|
||||
import { EnvironmentService } from '@core/environment';
|
||||
import { ReceiptDTO, ResponseArgs } from '@swagger/oms';
|
||||
import { ReceiptDTO, ResponseArgs } from '@generated/swagger/oms-api';
|
||||
|
||||
@Injectable()
|
||||
export class PrintSmallamountinvoiceActionHandler extends ActionHandler<OrderItemsContext> {
|
||||
|
||||
@@ -4,7 +4,7 @@ import { OrderItemsContext } from './order-items.context';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
import { ReorderModalComponent, ReorderResult } from '@modal/reorder';
|
||||
import { DomainCheckoutService } from '@domain/checkout';
|
||||
import { AvailabilityDTO2, OrderItemListItemDTO } from '@swagger/oms';
|
||||
import { AvailabilityDTO2, OrderItemListItemDTO } from '@generated/swagger/oms-api';
|
||||
import { ToasterService } from '@shared/shell';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import { Injectable } from '@angular/core';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
import { ActionHandler, CommandService } from '@core/command';
|
||||
import { KulturpassOrderModalService } from '@modal/kulturpass-order';
|
||||
import { DisplayOrderItemSubsetDTO, OrderItemListItemDTO, ReceiptDTO } from '@swagger/oms';
|
||||
import { DisplayOrderItemSubsetDTO, OrderItemListItemDTO, ReceiptDTO } from '@generated/swagger/oms-api';
|
||||
import { DomainReceiptService } from '../receipt.service';
|
||||
import { DomainGoodsService } from '../goods.service';
|
||||
import { map } from 'rxjs/operators';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DomainOmsService } from '../oms.service';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@swagger/oms';
|
||||
import { OrderItemListItemDTO, StatusValues } from '@generated/swagger/oms-api';
|
||||
import { ChangeOrderItemStatusBaseActionHandler } from './change-order-item-status-base.action-handler';
|
||||
import { OrderItemsContext } from './order-items.context';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { AutocompleteTokenDTO, OrderService, QueryTokenDTO } from '@swagger/oms';
|
||||
import { AutocompleteTokenDTO, OrderService, QueryTokenDTO } from '@generated/swagger/oms-api';
|
||||
import { memorize } from '@utils/common';
|
||||
import { map, shareReplay } from 'rxjs/operators';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// import { createServiceFactory, SpectatorService } from '@ngneat/spectator';
|
||||
// import { AbholfachService, AutocompleteTokenDTO, QueryTokenDTO } from '@swagger/oms';
|
||||
// import { AbholfachService, AutocompleteTokenDTO, QueryTokenDTO } from '@generated/swagger/oms-api';
|
||||
// import { DateAdapter } from '@ui/common';
|
||||
// import { cold, hot } from 'jasmine-marbles';
|
||||
// import { DomainGoodsService } from './goods.service';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { AbholfachService, AutocompleteTokenDTO, QueryTokenDTO } from '@swagger/oms';
|
||||
import { AbholfachService, AutocompleteTokenDTO, QueryTokenDTO } from '@generated/swagger/oms-api';
|
||||
import { DateAdapter } from '@ui/common';
|
||||
import { memorize } from '@utils/common';
|
||||
import { shareReplay } from 'rxjs/operators';
|
||||
|
||||
@@ -17,7 +17,7 @@ import {
|
||||
ValueTupleOfLongAndReceiptTypeAndEntityDTOContainerOfReceiptDTO,
|
||||
ValueTupleOfOrderItemSubsetDTOAndOrderItemSubsetDTO,
|
||||
VATService,
|
||||
} from '@swagger/oms';
|
||||
} from '@generated/swagger/oms-api';
|
||||
import { memorize } from '@utils/common';
|
||||
import { Observable } from 'rxjs';
|
||||
import { map, shareReplay } from 'rxjs/operators';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ReceiptOrderItemSubsetReferenceValues, ReceiptService } from '@swagger/oms';
|
||||
import { ReceiptOrderItemSubsetReferenceValues, ReceiptService } from '@generated/swagger/oms-api';
|
||||
import { memorize } from '@utils/common';
|
||||
import { shareReplay } from 'rxjs/operators';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PackageArrivalStatusDTO } from '@swagger/wws';
|
||||
import { PackageArrivalStatusDTO } from '@generated/swagger/wws-api';
|
||||
|
||||
export abstract class PackageInspectionEvent {
|
||||
constructor(public readonly type: string) {}
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
ResponseArgsOfPackageDetailResponseDTO,
|
||||
ResponseArgsOfQuerySettingsDTO,
|
||||
WareneingangService,
|
||||
} from '@swagger/wws';
|
||||
} from '@generated/swagger/wws-api';
|
||||
import { Observable, Subject } from 'rxjs';
|
||||
import { map, tap } from 'rxjs/operators';
|
||||
import { PackageInspectionEvent, PackageStatusChangedEvent } from './events';
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
import { Injectable, inject } from '@angular/core';
|
||||
import { AbholfachService, AutocompleteTokenDTO, ListResponseArgsOfDBHOrderItemListItemDTO, QueryTokenDTO } from '@swagger/oms';
|
||||
import {
|
||||
AbholfachService,
|
||||
AutocompleteTokenDTO,
|
||||
ListResponseArgsOfDBHOrderItemListItemDTO,
|
||||
QueryTokenDTO,
|
||||
} from '@generated/swagger/oms-api';
|
||||
import { PickupShelfIOService } from './pickup-shelf-io.service';
|
||||
import { Observable, throwError } from 'rxjs';
|
||||
import { Filter } from '@shared/components/filter';
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
QueryTokenDTO,
|
||||
ResponseArgsOfIEnumerableOfAutocompleteDTO,
|
||||
ResponseArgsOfQuerySettingsDTO,
|
||||
} from '@swagger/oms';
|
||||
} from '@generated/swagger/oms-api';
|
||||
import { Observable } from 'rxjs';
|
||||
|
||||
@Injectable()
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
import { Injectable, inject } from '@angular/core';
|
||||
import { AbholfachService, AutocompleteTokenDTO, ListResponseArgsOfDBHOrderItemListItemDTO, QueryTokenDTO } from '@swagger/oms';
|
||||
import {
|
||||
AbholfachService,
|
||||
AutocompleteTokenDTO,
|
||||
ListResponseArgsOfDBHOrderItemListItemDTO,
|
||||
QueryTokenDTO,
|
||||
} from '@generated/swagger/oms-api';
|
||||
import { PickupShelfIOService } from './pickup-shelf-io.service';
|
||||
import { Observable, throwError } from 'rxjs';
|
||||
import { Filter } from '@shared/components/filter';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable, inject } from '@angular/core';
|
||||
import { DBHOrderItemListItemDTO, OrderItemDTO, OrderItemSubsetDTO, OrderService } from '@swagger/oms';
|
||||
import { DBHOrderItemListItemDTO, OrderItemDTO, OrderItemSubsetDTO, OrderService } from '@generated/swagger/oms-api';
|
||||
|
||||
@Injectable({ providedIn: 'root' })
|
||||
export class PickupShelfService {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ArticleDTO, DisplayInfoDTO, EISPublicDocumentService } from '@swagger/eis';
|
||||
import { ArticleDTO, DisplayInfoDTO, EISPublicDocumentService } from '@generated/swagger/eis-api';
|
||||
import {
|
||||
CatalogPrintService,
|
||||
CheckoutPrintService,
|
||||
@@ -11,13 +11,13 @@ import {
|
||||
PrintService,
|
||||
ResponseArgs,
|
||||
LoyaltyCardPrintService,
|
||||
} from '@swagger/print';
|
||||
} from '@generated/swagger/print-api';
|
||||
import {
|
||||
DocumentPayloadOfIEnumerableOfProductListItemDTO,
|
||||
ProductListItemDTO,
|
||||
ProductListService,
|
||||
ResponseArgsOfString,
|
||||
} from '@swagger/wws';
|
||||
} from '@generated/swagger/wws-api';
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { catchError, filter, map, switchMap, timeout } from 'rxjs/operators';
|
||||
import { Printer } from './defs/printer.model';
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
QueryTokenDTO,
|
||||
ResponseArgsOfProductListItemDTO,
|
||||
ResponseArgsOfQuerySettingsDTO,
|
||||
} from '@swagger/wws';
|
||||
} from '@generated/swagger/wws-api';
|
||||
import { Observable } from 'rxjs';
|
||||
import { map } from 'rxjs/operators';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PriceDTO, ReturnItemDTO, ReturnSuggestionDTO } from '@swagger/remi';
|
||||
import { PriceDTO, ReturnItemDTO, ReturnSuggestionDTO } from '@generated/swagger/inventory-api';
|
||||
|
||||
export interface RemissionListItem {
|
||||
dtoType: 'return' | 'suggestion';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ReturnItemDTO, ReturnSuggestionDTO } from '@swagger/remi';
|
||||
import { ReturnItemDTO, ReturnSuggestionDTO } from '@generated/swagger/inventory-api';
|
||||
import { RemissionListItem } from '../defs';
|
||||
|
||||
export function mapFromReturnSuggestionDTO(dto: ReturnSuggestionDTO): RemissionListItem {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ItemDTO } from '@swagger/cat';
|
||||
import { PriceDTO, ReturnItemDTO, StockDTO } from '@swagger/remi';
|
||||
import { ItemDTO } from '@generated/swagger/cat-search-api';
|
||||
import { PriceDTO, ReturnItemDTO, StockDTO } from '@generated/swagger/inventory-api';
|
||||
|
||||
function mapAssortment(itemDto: ItemDTO): string {
|
||||
// input:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Logger } from '@core/logger';
|
||||
import { createServiceFactory, SpectatorService } from '@ngneat/spectator';
|
||||
import { SearchService } from '@swagger/cat';
|
||||
import { PackageService, RemiService, ReturnService, StockService, SupplierService } from '@swagger/remi';
|
||||
import { SearchService } from '@generated/swagger/cat-search-api';
|
||||
import { PackageService, RemiService, ReturnService, StockService, SupplierService } from '@generated/swagger/inventory-api';
|
||||
import { DomainRemissionService } from './remission.service';
|
||||
import { DateAdapter } from '@ui/common';
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ItemDTO, ListResponseArgsOfItemDTO, SearchService } from '@swagger/cat';
|
||||
import { ItemDTO, ListResponseArgsOfItemDTO, SearchService } from '@generated/swagger/cat-search-api';
|
||||
import {
|
||||
RemiService,
|
||||
StockService,
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
ReturnDTO,
|
||||
ReturnQueryTokenDTO,
|
||||
BatchResponseArgsOfReturnItemDTOAndReturnItemDTO,
|
||||
} from '@swagger/remi';
|
||||
} from '@generated/swagger/inventory-api';
|
||||
import { memorize } from '@utils/common';
|
||||
import { Observable, of, throwError } from 'rxjs';
|
||||
import { catchError, map, shareReplay, switchMap } from 'rxjs/operators';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { DisplayInfoDTO, EISPublicService, FileDTO, ProcessingStatus, QueryTokenDTO } from '@swagger/eis';
|
||||
import { DisplayInfoDTO, EISPublicService, FileDTO, ProcessingStatus, QueryTokenDTO } from '@generated/swagger/eis-api';
|
||||
import { DateAdapter } from '@ui/common';
|
||||
import { memorize } from '@utils/common';
|
||||
import { map, shareReplay, switchMap } from 'rxjs/operators';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { QueryTokenDTO } from '@swagger/cat';
|
||||
import { QueryTokenDTO } from '@generated/swagger/cat-search-api';
|
||||
|
||||
export interface MessageBoardItemDTO {
|
||||
uId?: string;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Component, ChangeDetectionStrategy } from '@angular/core';
|
||||
import { AddressDTO } from '@swagger/crm';
|
||||
import { AddressDTO } from '@generated/swagger/crm-api';
|
||||
import { UiModalRef } from '@ui/modal';
|
||||
|
||||
@Component({
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { inject, Injectable } from '@angular/core';
|
||||
import { CrmCustomerService } from '@domain/crm';
|
||||
import { AddressDTO } from '@swagger/crm';
|
||||
import { AddressDTO } from '@generated/swagger/crm-api';
|
||||
import { UiModalService } from '@ui/modal';
|
||||
import { map } from 'rxjs/operators';
|
||||
import { AddressSelectionModalComponent } from './address-selection-modal.component';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { ChangeDetectionStrategy, Component } from '@angular/core';
|
||||
import { DomainAvailabilityService } from '@domain/availability';
|
||||
import { ItemDTO } from '@swagger/cat';
|
||||
import { BranchDTO } from '@swagger/checkout';
|
||||
import { ItemDTO } from '@generated/swagger/cat-search-api';
|
||||
import { BranchDTO } from '@generated/swagger/checkout-api';
|
||||
import { UiModalRef } from '@ui/modal';
|
||||
import { combineLatest } from 'rxjs';
|
||||
import { filter, map, shareReplay, switchMap, tap } from 'rxjs/operators';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { HistoryDTO as CrmHistoryDTO } from '@swagger/crm';
|
||||
import { HistoryDTO as OmsHistoryDTO } from '@swagger/oms';
|
||||
import { HistoryDTO as CrmHistoryDTO } from '@generated/swagger/crm-api';
|
||||
import { HistoryDTO as OmsHistoryDTO } from '@generated/swagger/oms-api';
|
||||
|
||||
export interface HistoryData {
|
||||
customerNumber: string;
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user