@cbm-common/cbm-types 0.0.319 → 0.0.321
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/availability-board/availability-board.d.ts +0 -1
- package/lib/domain/models/sales-account.domain.model.d.ts +4 -0
- package/lib/domain/repositories/sales-account.domain.repository.d.ts +1 -0
- package/lib/infrastructure/repositories/sales-account.infrastructure.repository.d.ts +1 -0
- package/lib/infrastructure/services/sales-account.infrastructure.service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@ import { AvailabilityBoardModel } from './availability-board.model';
|
|
|
2
2
|
import { ValueColumnCompModel } from './models/value-column.model';
|
|
3
3
|
import { ConfigService } from './services/config.service';
|
|
4
4
|
interface ReservationMovedEvent {
|
|
5
|
-
reservation_id: string;
|
|
6
5
|
booking_id: string;
|
|
7
6
|
old_room: string;
|
|
8
7
|
new_room: string;
|
|
@@ -399,6 +399,10 @@ export declare namespace CbmSalesAccountModel {
|
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
+
interface GetOneByOriginParams {
|
|
403
|
+
collection_origin_id: string;
|
|
404
|
+
collection_origin_name: 'check_in' | 'order_vehicle';
|
|
405
|
+
}
|
|
402
406
|
interface SalesAccountRelatedDocuments {
|
|
403
407
|
_id: string;
|
|
404
408
|
company_id: string;
|
|
@@ -8,6 +8,7 @@ export declare class CbmSalesAccountDomainRepository {
|
|
|
8
8
|
constructor(service: ICbmSalesAccountRepository);
|
|
9
9
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
10
10
|
getOne<T>(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
11
|
+
getOneByOrigin(params: CbmSalesAccountModel.GetOneByOriginParams): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
11
12
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
12
13
|
updatePrice(id: string, data: CbmSalesAccountModel.UpdatePriceBody): Observable<IGeneral.Confirm>;
|
|
13
14
|
downloadIndividualPdf(id: string, params: CbmSalesAccountModel.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
@@ -5,6 +5,7 @@ import { CbmSalesAccountModel } from '../../domain/models/sales-account.domain.m
|
|
|
5
5
|
export interface ICbmSalesAccountRepository {
|
|
6
6
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
7
7
|
getOne(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
8
|
+
getOneByOrigin(params: CbmSalesAccountModel.GetOneByOriginParams): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
8
9
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
9
10
|
updatePrice(id: string, data: CbmSalesAccountModel.UpdatePriceBody): Observable<IGeneral.Confirm>;
|
|
10
11
|
downloadIndividualPdf(id: string, params: CbmSalesAccountModel.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
@@ -11,6 +11,7 @@ export declare class CbmSalesAccountService implements ICbmSalesAccountRepositor
|
|
|
11
11
|
private readonly baseReportChargeUrl;
|
|
12
12
|
list(params: CbmSalesAccountModel.ListParams): Observable<CbmSalesAccountModel.ListResponse>;
|
|
13
13
|
getOne(id: string): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
14
|
+
getOneByOrigin(params: CbmSalesAccountModel.GetOneByOriginParams): Observable<CbmSalesAccountModel.GetOneResponse>;
|
|
14
15
|
save(data: CbmSalesAccountModel.Save): Observable<IGeneral.Confirm>;
|
|
15
16
|
updatePrice(id: string, data: CbmSalesAccountModel.UpdatePriceBody): Observable<IGeneral.Confirm>;
|
|
16
17
|
downloadIndividualPdf(id: string, params: CbmSalesAccountModel.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|