@cbm-common/cbm-types 0.0.72 → 0.0.73
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/additional-data-modal/types.d.ts +7 -7
- package/lib/components/documents-reference/components/tab-item/tab-item.component.d.ts +5 -0
- package/lib/components/documents-reference/components/tabs/tabs.component.d.ts +7 -0
- package/lib/domain/models/client-group.domain.model.d.ts +5 -0
- package/lib/domain/models/report-financials.domain.model.d.ts +38 -0
- package/lib/domain/repositories/client-group.domain.repository.d.ts +1 -1
- package/lib/domain/repositories/report-financials.domain.repository.d.ts +4 -0
- package/lib/domain/repositories/sri-payment-term.domian.repository.d.ts +9 -9
- package/lib/domain/services/auth/auth.service.d.ts +1 -0
- package/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +1 -1
- package/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +5 -1
- package/lib/infrastructure/services/client-group.infrastructure.service.d.ts +1 -1
- package/lib/infrastructure/services/message-settings.infrastructure.service.d.ts +3 -3
- package/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export interface IItemInformation {
|
|
2
|
-
_id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
code?: string;
|
|
5
|
-
barcode?: string;
|
|
6
|
-
price?: number;
|
|
7
|
-
}
|
|
1
|
+
export interface IItemInformation {
|
|
2
|
+
_id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
code?: string;
|
|
5
|
+
barcode?: string;
|
|
6
|
+
price?: number;
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AfterContentInit } from '@angular/core';
|
|
2
|
+
import { TabItemComponent } from '../tab-item/tab-item.component';
|
|
3
|
+
export declare class TabsComponent implements AfterContentInit {
|
|
4
|
+
tabs: import("@angular/core").Signal<readonly TabItemComponent[]>;
|
|
5
|
+
activeTab: import("@angular/core").WritableSignal<TabItemComponent | null>;
|
|
6
|
+
ngAfterContentInit(): void;
|
|
7
|
+
}
|
|
@@ -8,6 +8,44 @@ export declare namespace CbmReportFinancialsModel {
|
|
|
8
8
|
function toString(value: EGenerationType): TGenerationType;
|
|
9
9
|
}
|
|
10
10
|
type TGenerationType = `${EGenerationType}`;
|
|
11
|
+
namespace InitialBalanceFixedAsset {
|
|
12
|
+
interface DownloadExcelParams {
|
|
13
|
+
user_name?: string;
|
|
14
|
+
user_id?: string;
|
|
15
|
+
sequential?: string;
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
fixed_asset_name?: string;
|
|
18
|
+
fixed_asset_id?: string;
|
|
19
|
+
provider_business_name?: string;
|
|
20
|
+
provider_id?: string;
|
|
21
|
+
date_end?: number;
|
|
22
|
+
date_begin?: number;
|
|
23
|
+
timezone: string;
|
|
24
|
+
locale: string;
|
|
25
|
+
}
|
|
26
|
+
interface DownloadPdfParams {
|
|
27
|
+
user_name?: string;
|
|
28
|
+
user_id?: string;
|
|
29
|
+
sequential?: string;
|
|
30
|
+
enabled?: boolean;
|
|
31
|
+
fixed_asset_name?: string;
|
|
32
|
+
fixed_asset_id?: string;
|
|
33
|
+
provider_business_name?: string;
|
|
34
|
+
provider_id?: string;
|
|
35
|
+
date_end?: number;
|
|
36
|
+
date_begin?: number;
|
|
37
|
+
timezone: string;
|
|
38
|
+
locale: string;
|
|
39
|
+
}
|
|
40
|
+
interface DownloadIndividualExcelParams {
|
|
41
|
+
timezone: string;
|
|
42
|
+
locale: string;
|
|
43
|
+
}
|
|
44
|
+
interface DownloadIndividualPdfParams {
|
|
45
|
+
timezone: string;
|
|
46
|
+
locale: string;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
11
49
|
interface DownloadExcelFixedAssetsReportParams {
|
|
12
50
|
timezone: string;
|
|
13
51
|
locale: string;
|
|
@@ -4,7 +4,7 @@ import { ICbmClientGroupInfrastructureRepository } from "../../infrastructure/re
|
|
|
4
4
|
export declare class CbmClientGroupRepository implements ICbmClientGroupInfrastructureRepository {
|
|
5
5
|
private service;
|
|
6
6
|
constructor(service: ICbmClientGroupInfrastructureRepository);
|
|
7
|
-
list(): Observable<CbmClientGroupModel.ListResponse>;
|
|
7
|
+
list(params: CbmClientGroupModel.ListParams): Observable<CbmClientGroupModel.ListResponse>;
|
|
8
8
|
listAsTree(params: CbmClientGroupModel.ListAsTreeParams): Observable<CbmClientGroupModel.ListAsTreeResponse>;
|
|
9
9
|
getOne(id: string): Observable<CbmClientGroupModel.GetOneResponse>;
|
|
10
10
|
save(data: CbmClientGroupModel.SaveBody): Observable<CbmClientGroupModel.ConfirmResponse>;
|
|
@@ -5,6 +5,10 @@ import { Observable } from 'rxjs';
|
|
|
5
5
|
export declare class CbmReportFinancialsDomainRepository implements ICbmReportFinancialsInfrastructureRepository {
|
|
6
6
|
private readonly service;
|
|
7
7
|
constructor(service: ICbmReportFinancialsInfrastructureRepository);
|
|
8
|
+
downloadExcelInitialBalanceFixedAssets(params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadExcelParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
9
|
+
downloadPdfInitialBalanceFixedAssets(params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadPdfParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
10
|
+
downloadIndividualPdfInitialBalanceFixedAssets(id: string, params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
11
|
+
downloadIndividualExcelInitialBalanceFixedAssets(id: string, params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadIndividualExcelParams): Observable<HttpResponse<Blob>>;
|
|
8
12
|
downloadExcelFixedAssetsReport(params: CbmReportFinancialsModel.DownloadExcelFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
9
13
|
downloadPdfFixedAssetsReport(params: CbmReportFinancialsModel.DownloadPdfFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
10
14
|
downloadExcelDepreciationFixedAssetsReport(params: CbmReportFinancialsModel.DownloadExcelDepreciationFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { CbmSriPaymentTermModel } from "../models/sri-payment-term.domain.model";
|
|
3
|
-
import { ICbmSriPaymentTermRepository } from "../../infrastructure/repositories/sri-payment-term.infrastructure.repository";
|
|
4
|
-
export declare class CbmSriPaymentTermRepository implements ICbmSriPaymentTermRepository {
|
|
5
|
-
private service;
|
|
6
|
-
constructor(service: ICbmSriPaymentTermRepository);
|
|
7
|
-
list(params: CbmSriPaymentTermModel.ListParams): Observable<CbmSriPaymentTermModel.ListResponse>;
|
|
8
|
-
getOne(id: string): Observable<CbmSriPaymentTermModel.GetOneResponse>;
|
|
9
|
-
}
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmSriPaymentTermModel } from "../models/sri-payment-term.domain.model";
|
|
3
|
+
import { ICbmSriPaymentTermRepository } from "../../infrastructure/repositories/sri-payment-term.infrastructure.repository";
|
|
4
|
+
export declare class CbmSriPaymentTermRepository implements ICbmSriPaymentTermRepository {
|
|
5
|
+
private service;
|
|
6
|
+
constructor(service: ICbmSriPaymentTermRepository);
|
|
7
|
+
list(params: CbmSriPaymentTermModel.ListParams): Observable<CbmSriPaymentTermModel.ListResponse>;
|
|
8
|
+
getOne(id: string): Observable<CbmSriPaymentTermModel.GetOneResponse>;
|
|
9
|
+
}
|
|
@@ -3,6 +3,7 @@ import { CbmAuthData, CbmConsoleTokenData, CbmTokenUserData } from './auth.model
|
|
|
3
3
|
export declare class CbmAuthService {
|
|
4
4
|
private readonly router;
|
|
5
5
|
constructor(router: Router);
|
|
6
|
+
observerRouterUrl(): void;
|
|
6
7
|
private token$;
|
|
7
8
|
private globalTokenData?;
|
|
8
9
|
private userTokenData?;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CbmClientGroupModel } from "../../domain/models/client-group.domain.model";
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export interface ICbmClientGroupInfrastructureRepository {
|
|
4
|
-
list(): Observable<CbmClientGroupModel.ListResponse>;
|
|
4
|
+
list(params: CbmClientGroupModel.ListParams): Observable<CbmClientGroupModel.ListResponse>;
|
|
5
5
|
listAsTree(params: CbmClientGroupModel.ListAsTreeParams): Observable<CbmClientGroupModel.ListAsTreeResponse>;
|
|
6
6
|
getOne(id: string): Observable<CbmClientGroupModel.GetOneResponse>;
|
|
7
7
|
save(data: CbmClientGroupModel.SaveBody): Observable<CbmClientGroupModel.ConfirmResponse>;
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { HttpResponse } from '@angular/common/http';
|
|
2
|
-
import { CbmReportFinancialsModel } from
|
|
2
|
+
import { CbmReportFinancialsModel } from '../../domain/models/report-financials.domain.model';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
export interface ICbmReportFinancialsInfrastructureRepository {
|
|
5
|
+
downloadExcelInitialBalanceFixedAssets(params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadExcelParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
6
|
+
downloadPdfInitialBalanceFixedAssets(params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadPdfParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
7
|
+
downloadIndividualPdfInitialBalanceFixedAssets(id: string, params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
8
|
+
downloadIndividualExcelInitialBalanceFixedAssets(id: string, params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadIndividualExcelParams): Observable<HttpResponse<Blob>>;
|
|
5
9
|
downloadExcelFixedAssetsReport(params: CbmReportFinancialsModel.DownloadExcelFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
6
10
|
downloadPdfFixedAssetsReport(params: CbmReportFinancialsModel.DownloadPdfFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
7
11
|
downloadExcelDepreciationFixedAssetsReport(params: CbmReportFinancialsModel.DownloadExcelDepreciationFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
@@ -6,7 +6,7 @@ export declare class CbmClientGroupInfrastructureService implements ICbmClientGr
|
|
|
6
6
|
private readonly http;
|
|
7
7
|
constructor(http: HttpClient);
|
|
8
8
|
private readonly url;
|
|
9
|
-
list(): Observable<CbmClientGroupModel.ListResponse>;
|
|
9
|
+
list(params: CbmClientGroupModel.ListParams): Observable<CbmClientGroupModel.ListResponse>;
|
|
10
10
|
listAsTree(params: CbmClientGroupModel.ListAsTreeParams): Observable<CbmClientGroupModel.ListAsTreeResponse>;
|
|
11
11
|
getOne(id: string): Observable<CbmClientGroupModel.GetOneResponse>;
|
|
12
12
|
save(data: CbmClientGroupModel.SaveBody): Observable<CbmClientGroupModel.ConfirmResponse>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Observable } from
|
|
2
|
-
import { CbmMessageSettingsModel } from
|
|
3
|
-
import { HttpClient } from
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmMessageSettingsModel } from '../../domain/models/message-settings.domain.model';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
export declare class CbmMessageSettingsService {
|
|
5
5
|
private http;
|
|
6
6
|
constructor(http: HttpClient);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
2
|
-
import { CbmReportFinancialsModel } from
|
|
3
|
-
import { ICbmReportFinancialsInfrastructureRepository } from
|
|
2
|
+
import { CbmReportFinancialsModel } from '../../domain/models/report-financials.domain.model';
|
|
3
|
+
import { ICbmReportFinancialsInfrastructureRepository } from '../repositories/report-financials.infrastructure.repository';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
export declare class CbmReportFinancialsInfrastructureService implements ICbmReportFinancialsInfrastructureRepository {
|
|
6
6
|
private http;
|
|
@@ -10,6 +10,10 @@ export declare class CbmReportFinancialsInfrastructureService implements ICbmRep
|
|
|
10
10
|
private readonly indivPdfUrl;
|
|
11
11
|
private readonly genExcelUrl;
|
|
12
12
|
private readonly genPdfUrl;
|
|
13
|
+
downloadExcelInitialBalanceFixedAssets(params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadExcelParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
14
|
+
downloadPdfInitialBalanceFixedAssets(params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadPdfParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
15
|
+
downloadIndividualPdfInitialBalanceFixedAssets(id: string, params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadIndividualPdfParams): Observable<HttpResponse<Blob>>;
|
|
16
|
+
downloadIndividualExcelInitialBalanceFixedAssets(id: string, params: CbmReportFinancialsModel.InitialBalanceFixedAsset.DownloadIndividualExcelParams): Observable<HttpResponse<Blob>>;
|
|
13
17
|
downloadExcelFixedAssetsReport(params: CbmReportFinancialsModel.DownloadExcelFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
14
18
|
downloadPdfFixedAssetsReport(params: CbmReportFinancialsModel.DownloadPdfFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|
|
15
19
|
downloadExcelDepreciationFixedAssetsReport(params: CbmReportFinancialsModel.DownloadExcelDepreciationFixedAssetsReportParams): Observable<CbmReportFinancialsModel.ConfirmResponse>;
|