@cbm-common/cbm-types 0.0.147 → 0.0.149
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/accounting-seat/accounting-seat.d.ts +4 -4
- package/lib/components/accounting-seat/loading-icon/loading-icon.d.ts +2 -0
- package/lib/components/record-detail-metadata/record-detail-metadata.d.ts +2 -0
- package/lib/components/record-detail-metadata/types.d.ts +4 -1
- package/lib/domain/models/blanket-agreement.domain.model.d.ts +10 -0
- package/lib/domain/repositories/blanket-agreement.domain.repository.d.ts +1 -0
- package/lib/infrastructure/repositories/blanket-agreement.infrastructure.repository.d.ts +1 -0
- package/lib/infrastructure/services/blanket-agreement.infrastructure.service.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -3
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DestroyRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
-
import { CbmSeatModel } from
|
|
3
|
-
import { CbmReportFinancialsDomainRepository } from
|
|
4
|
-
import { CbmSeatDomainRepository } from
|
|
5
|
-
import { CbmNotificationService } from
|
|
2
|
+
import { CbmSeatModel } from '../../domain/models/seat.domain.model';
|
|
3
|
+
import { CbmReportFinancialsDomainRepository } from '../../domain/repositories/report-financials.domain.repository';
|
|
4
|
+
import { CbmSeatDomainRepository } from '../../domain/repositories/seat.domain.repository';
|
|
5
|
+
import { CbmNotificationService } from '../../domain/services/notification/notification.service';
|
|
6
6
|
import { TStatus } from './types';
|
|
7
7
|
export declare class CbmAccountingSeatComponent implements OnInit, OnDestroy {
|
|
8
8
|
private reportFinancesRepository;
|
|
@@ -10,10 +10,12 @@ export declare class CbmRecordDetailMetadataComponent {
|
|
|
10
10
|
additionalMetadata: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.additionalMetadata[] | undefined>;
|
|
11
11
|
options: import("@angular/core").InputSignal<CbmRecordDetailMetadataModel.options[] | undefined>;
|
|
12
12
|
metadataComp: import("@angular/core").Signal<CbmRecordDetailMetadataModel.metadata | null>;
|
|
13
|
+
optionsComputed: import("@angular/core").Signal<CbmRecordDetailMetadataModel.options[]>;
|
|
13
14
|
optionsSignal: WritableSignal<CbmRecordDetailMetadataModel.options[]>;
|
|
14
15
|
changeState(id: string, state: 'init' | 'loading' | 'success' | 'failed'): void;
|
|
15
16
|
signal(option: CbmRecordDetailMetadataModel.options): WritableSignal<CbmRecordDetailMetadataModel.options>;
|
|
16
17
|
private updateStateById;
|
|
18
|
+
private filterVisibleOptions;
|
|
17
19
|
executeFunction(option: WritableSignal<CbmRecordDetailMetadataModel.options>): void;
|
|
18
20
|
navigate(routerLink?: string, queryParams?: Params): void;
|
|
19
21
|
spanText: (data: CbmRecordDetailMetadataModel.metadata) => string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { WritableSignal } from
|
|
1
|
+
import { WritableSignal } from '@angular/core';
|
|
2
2
|
export declare namespace CbmRecordDetailMetadataModel {
|
|
3
3
|
interface metadata {
|
|
4
4
|
iconClass: string;
|
|
@@ -26,6 +26,9 @@ export declare namespace CbmRecordDetailMetadataModel {
|
|
|
26
26
|
eliminated?: boolean;
|
|
27
27
|
eliminated_by?: string;
|
|
28
28
|
eliminated_date?: number;
|
|
29
|
+
cancellated?: boolean;
|
|
30
|
+
cancellation_at?: number;
|
|
31
|
+
cancellation_user?: string;
|
|
29
32
|
}
|
|
30
33
|
interface additionalMetadata {
|
|
31
34
|
iconClass: string;
|
|
@@ -143,4 +143,14 @@ export declare namespace CbmBlanketAgreementModel {
|
|
|
143
143
|
timezone: string;
|
|
144
144
|
locale: string;
|
|
145
145
|
}
|
|
146
|
+
interface SendEmail {
|
|
147
|
+
id: string;
|
|
148
|
+
timezone: string;
|
|
149
|
+
locale: string;
|
|
150
|
+
}
|
|
151
|
+
interface ConfirmResponse {
|
|
152
|
+
success: boolean;
|
|
153
|
+
message: string;
|
|
154
|
+
data?: any;
|
|
155
|
+
}
|
|
146
156
|
}
|
|
@@ -13,4 +13,5 @@ export declare class CbmBlanketAgreementDomainRepository implements ICbmBlanketA
|
|
|
13
13
|
downloadPdf(params: CbmBlanketAgreementModel.DownloadPdfParams): Observable<HttpResponse<Blob>>;
|
|
14
14
|
downloadIndividualPdf(params: CbmBlanketAgreementModel.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
15
15
|
downloadIndividualExcel(params: CbmBlanketAgreementModel.DownloadIndividualExcelParams): Observable<HttpResponse<Blob>>;
|
|
16
|
+
sendEmail(id: string, params: CbmBlanketAgreementModel.SendEmail): Observable<CbmBlanketAgreementModel.ConfirmResponse>;
|
|
16
17
|
}
|
|
@@ -10,4 +10,5 @@ export interface ICbmBlanketAgreementInfrastructureRepository {
|
|
|
10
10
|
downloadPdf(params: CbmBlanketAgreementModel.DownloadPdfParams): Observable<HttpResponse<Blob>>;
|
|
11
11
|
downloadIndividualPdf(params: CbmBlanketAgreementModel.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
12
12
|
downloadIndividualExcel(params: CbmBlanketAgreementModel.DownloadIndividualExcelParams): Observable<HttpResponse<Blob>>;
|
|
13
|
+
sendEmail(id: string, params: CbmBlanketAgreementModel.SendEmail): Observable<CbmBlanketAgreementModel.ConfirmResponse>;
|
|
13
14
|
}
|
|
@@ -14,4 +14,5 @@ export declare class CbmBlanketAgreementInfrastructureService implements ICbmBla
|
|
|
14
14
|
downloadPdf(params: CbmBlanketAgreementModel.DownloadPdfParams): Observable<HttpResponse<Blob>>;
|
|
15
15
|
downloadIndividualPdf(params: CbmBlanketAgreementModel.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
16
16
|
downloadIndividualExcel(params: CbmBlanketAgreementModel.DownloadIndividualExcelParams): Observable<HttpResponse<Blob>>;
|
|
17
|
+
sendEmail(id: string, request: CbmBlanketAgreementModel.SendEmail): Observable<CbmBlanketAgreementModel.ConfirmResponse>;
|
|
17
18
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -505,6 +505,6 @@ export * from './lib/domain/models/blanket-agreement-item.domain.model';
|
|
|
505
505
|
export * from './lib/domain/repositories/blanket-agreement-category-item.domain.repository';
|
|
506
506
|
export * from './lib/domain/models/blanket-agreement-category-item.domain.model';
|
|
507
507
|
|
|
508
|
-
//#endregion blanket agreement
|
|
509
|
-
export * from './lib/domain/repositories/blanket-agreement
|
|
510
|
-
export * from './lib/domain/models/blanket-agreement
|
|
508
|
+
//#endregion blanket agreement repository
|
|
509
|
+
export * from './lib/domain/repositories/blanket-agreement.domain.repository';
|
|
510
|
+
export * from './lib/domain/models/blanket-agreement.domain.model';
|