@cbm-common/cbm-types 0.0.36 → 0.0.38
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/relationship-map/animations.d.ts +1 -0
- package/lib/components/relationship-map/components/map-node/map-node.component.d.ts +19 -0
- package/lib/components/relationship-map/components/map-node-parent/map-node-parent.component.d.ts +32 -0
- package/lib/components/relationship-map/components/map-node-tree/map-node-tree.component.d.ts +32 -0
- package/lib/components/relationship-map/components/parent-tree-by-tab/parent-tree-by-tab.component.d.ts +75 -0
- package/lib/components/relationship-map/components/relationship-tree-by-tab/relationship-tree-by-tab.component.d.ts +74 -0
- package/lib/components/relationship-map/components/tab-item/tab-item.component.d.ts +5 -0
- package/lib/components/relationship-map/components/tabs/tabs.component.d.ts +7 -0
- package/lib/components/relationship-map/constants.d.ts +1 -0
- package/lib/components/relationship-map/relationship-map.d.ts +11 -0
- package/lib/components/relationship-map/types.d.ts +5 -0
- package/lib/domain/models/account.domain.model.d.ts +144 -144
- package/lib/domain/models/category.domain.model.d.ts +80 -0
- package/lib/domain/models/payment-term-repository.domain.model.d.ts +38 -38
- package/lib/domain/models/sequence.domain.model.d.ts +21 -21
- package/lib/domain/models/service-category.domain.model.d.ts +131 -0
- package/lib/domain/models/tax-iva.domain.model.d.ts +78 -78
- package/lib/domain/repositories/account.domain.repository.d.ts +21 -21
- package/lib/domain/repositories/category.domain.repository.d.ts +9 -0
- package/lib/domain/repositories/payment-term.domain.repository.d.ts +10 -10
- package/lib/domain/repositories/sequence.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/service-category.domain.repository.d.ts +13 -0
- package/lib/domain/repositories/tax-iva.domain.repository.d.ts +14 -14
- package/lib/infrastructure/repositories/account.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/category.infrastructure.repository.d.ts +6 -0
- package/lib/infrastructure/repositories/payment-term.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/sequence.infrastructure.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/service-category.infrastructure.repository.d.ts +10 -0
- package/lib/infrastructure/repositories/tax-iva.infrastructure.repository.d.ts +10 -10
- package/lib/infrastructure/services/account.infrastructure.service.d.ts +20 -20
- package/lib/infrastructure/services/category.infrastructure.service.d.ts +11 -0
- package/lib/infrastructure/services/payment-term.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/sequence.infrastructe.service.d.ts +9 -9
- package/lib/infrastructure/services/service-category.infrastructure..service.d.ts +15 -0
- package/lib/infrastructure/services/tax-iva.infrastructure.service.d.ts +14 -14
- package/lib/remotes/components.remote.d.ts +1 -0
- package/lib/remotes/repositories/account.repository.d.ts +3 -0
- package/lib/remotes/repositories/category.repository.d.ts +3 -0
- package/lib/remotes/repositories/payment-term.repository.d.ts +3 -0
- package/lib/remotes/repositories/sequence.repository.d.ts +3 -0
- package/lib/remotes/repositories/service-category.repository.d.ts +3 -0
- package/lib/remotes/repositories/tax-iva.repository.d.ts +3 -0
- package/lib/remotes/repositories.remote.d.ts +7 -0
- package/package.json +1 -1
- package/public-api.d.ts +13 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { HttpClient, HttpResponse } from "@angular/common/http";
|
|
2
|
-
import { CbmAccountModel } from "../../domain/models/account.domain.model";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
export declare class CbmAccountService {
|
|
5
|
-
private http;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
private readonly url;
|
|
8
|
-
list(params: CbmAccountModel.ListParams): Observable<CbmAccountModel.ListResponse>;
|
|
9
|
-
listPaginated(params: CbmAccountModel.ListPaginatedParams): Observable<CbmAccountModel.ListPaginatedResponse>;
|
|
10
|
-
getOne(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
11
|
-
getOneByCode(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
12
|
-
save(data: CbmAccountModel.SaveBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
13
|
-
update(id: string, data: CbmAccountModel.UpdateBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
14
|
-
changeStatus(id: string, data: CbmAccountModel.ChangeStatusBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
15
|
-
delete(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
16
|
-
downloadExcelTemplate(): Observable<Blob>;
|
|
17
|
-
importExcel(data: FormData): Observable<CbmAccountModel.ConfirmResponse>;
|
|
18
|
-
downloadExcel(): Observable<HttpResponse<Blob>>;
|
|
19
|
-
updateCodes(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
20
|
-
}
|
|
1
|
+
import { HttpClient, HttpResponse } from "@angular/common/http";
|
|
2
|
+
import { CbmAccountModel } from "../../domain/models/account.domain.model";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
export declare class CbmAccountService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
private readonly url;
|
|
8
|
+
list(params: CbmAccountModel.ListParams): Observable<CbmAccountModel.ListResponse>;
|
|
9
|
+
listPaginated(params: CbmAccountModel.ListPaginatedParams): Observable<CbmAccountModel.ListPaginatedResponse>;
|
|
10
|
+
getOne(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
11
|
+
getOneByCode(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
12
|
+
save(data: CbmAccountModel.SaveBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
13
|
+
update(id: string, data: CbmAccountModel.UpdateBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
14
|
+
changeStatus(id: string, data: CbmAccountModel.ChangeStatusBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
15
|
+
delete(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
16
|
+
downloadExcelTemplate(): Observable<Blob>;
|
|
17
|
+
importExcel(data: FormData): Observable<CbmAccountModel.ConfirmResponse>;
|
|
18
|
+
downloadExcel(): Observable<HttpResponse<Blob>>;
|
|
19
|
+
updateCodes(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { ICbmCategoryRepository } from '../repositories/category.infrastructure.repository';
|
|
4
|
+
import { CbmCategoryModel } from '../../domain/models/category.domain.model';
|
|
5
|
+
export declare class CbmCategoryService implements ICbmCategoryRepository {
|
|
6
|
+
private http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmCategoryModel.ListParams): Observable<CbmCategoryModel.ListResponse>;
|
|
10
|
+
getOneWithAccounts(id: string): Observable<CbmCategoryModel.GetOneWithAccountsResponse>;
|
|
11
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CbmPaymentTermModel } from "../../domain/models/payment-term-repository.domain.model";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
import { HttpClient } from "@angular/common/http";
|
|
4
|
-
export declare class CbmPaymentTermService {
|
|
5
|
-
private http;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
private readonly url;
|
|
8
|
-
list(params: CbmPaymentTermModel.ListParams): Observable<CbmPaymentTermModel.ListResponse>;
|
|
9
|
-
getOne(id: string): Observable<CbmPaymentTermModel.GetOneResponse>;
|
|
10
|
-
}
|
|
1
|
+
import { CbmPaymentTermModel } from "../../domain/models/payment-term-repository.domain.model";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { HttpClient } from "@angular/common/http";
|
|
4
|
+
export declare class CbmPaymentTermService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
private readonly url;
|
|
8
|
+
list(params: CbmPaymentTermModel.ListParams): Observable<CbmPaymentTermModel.ListResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmPaymentTermModel.GetOneResponse>;
|
|
10
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { CbmSequenceModel } from "../../domain/models/sequence.domain.model";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
export declare class CbmSequenceService {
|
|
5
|
-
private http;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
private readonly url;
|
|
8
|
-
list(): Observable<CbmSequenceModel.ListResponse>;
|
|
9
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CbmSequenceModel } from "../../domain/models/sequence.domain.model";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
export declare class CbmSequenceService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
private readonly url;
|
|
8
|
+
list(): Observable<CbmSequenceModel.ListResponse>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ICbmServiceCategoryRepository } from '../repositories/service-category.infrastructure.repository';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { CbmServiceCategoryModel } from '../../domain/models/service-category.domain.model';
|
|
5
|
+
export declare class CbmServiceCategoryService implements ICbmServiceCategoryRepository {
|
|
6
|
+
private http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmServiceCategoryModel.ListParams): Observable<CbmServiceCategoryModel.ListResponse>;
|
|
10
|
+
getOne(id: string): Observable<CbmServiceCategoryModel.GetOneResponse>;
|
|
11
|
+
save(data: CbmServiceCategoryModel.SaveBody): Observable<CbmServiceCategoryModel.ConfirmResponse>;
|
|
12
|
+
update(id: string, data: CbmServiceCategoryModel.UpdateBody): Observable<CbmServiceCategoryModel.ConfirmResponse>;
|
|
13
|
+
changeStatus(id: string, data: CbmServiceCategoryModel.ChangeStatusBody): Observable<CbmServiceCategoryModel.ConfirmResponse>;
|
|
14
|
+
delete(id: string): Observable<CbmServiceCategoryModel.ConfirmResponse>;
|
|
15
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { CbmTaxIvaModel } from "../../domain/models/tax-iva.domain.model";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
export declare class CbmTaxIvaService {
|
|
5
|
-
private http;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
private readonly url;
|
|
8
|
-
list(params: CbmTaxIvaModel.ListParams): Observable<CbmTaxIvaModel.ListResponse>;
|
|
9
|
-
getOne(id: string): Observable<CbmTaxIvaModel.GetOneResponse>;
|
|
10
|
-
save(data: CbmTaxIvaModel.SaveBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
11
|
-
update(id: string, data: CbmTaxIvaModel.UpdateBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
12
|
-
changeStatus(id: string, data: CbmTaxIvaModel.ChangeStatusBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
13
|
-
delete(id: string): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
14
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CbmTaxIvaModel } from "../../domain/models/tax-iva.domain.model";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
export declare class CbmTaxIvaService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
private readonly url;
|
|
8
|
+
list(params: CbmTaxIvaModel.ListParams): Observable<CbmTaxIvaModel.ListResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmTaxIvaModel.GetOneResponse>;
|
|
10
|
+
save(data: CbmTaxIvaModel.SaveBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
11
|
+
update(id: string, data: CbmTaxIvaModel.UpdateBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
12
|
+
changeStatus(id: string, data: CbmTaxIvaModel.ChangeStatusBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
13
|
+
delete(id: string): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
14
|
+
}
|
|
@@ -15,3 +15,4 @@ export { CbmViewReportComponent } from '../components/view-reports/view-reports'
|
|
|
15
15
|
export { ConfirmationModal } from '../components/confirmation-modal/confirmation-modal';
|
|
16
16
|
export { StockByWarehouse } from '../components/stock-by-warehouse/stock-by-warehouse';
|
|
17
17
|
export { CbmAvailabilityBoardComponent } from '../components/availability-board/availability-board';
|
|
18
|
+
export { CbmRelationshipMapComponent } from '../components/relationship-map/relationship-map';
|
|
@@ -44,3 +44,10 @@ export * from './repositories/stock-item.repository';
|
|
|
44
44
|
export * from './repositories/upload.repository';
|
|
45
45
|
export * from './repositories/warehouse.repository';
|
|
46
46
|
export * from './repositories/company-branch.repository';
|
|
47
|
+
export * from './repositories/company-custom.repository';
|
|
48
|
+
export * from './repositories/account.repository';
|
|
49
|
+
export * from './repositories/tax-iva.repository';
|
|
50
|
+
export * from './repositories/sequence.repository';
|
|
51
|
+
export * from './repositories/payment-term.repository';
|
|
52
|
+
export * from './repositories/category.repository';
|
|
53
|
+
export * from './repositories/service-category.repository';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -268,6 +268,19 @@ export * from './lib/domain/models/sequence.domain.model';
|
|
|
268
268
|
// #region payment repository
|
|
269
269
|
export * from './lib/domain/repositories/payment-term.domain.repository';
|
|
270
270
|
export * from './lib/domain/models/payment-term.domain.model';
|
|
271
|
+
|
|
271
272
|
// #region available board component
|
|
272
273
|
export * from './lib/components/availability-board/availability-board';
|
|
273
274
|
export * from './lib/components/availability-board/availability-board.model';
|
|
275
|
+
|
|
276
|
+
// #region relationship component
|
|
277
|
+
export * from './lib/components/relationship-map/relationship-map';
|
|
278
|
+
export * from './lib/components/relationship-map/types';
|
|
279
|
+
|
|
280
|
+
// #region category repository
|
|
281
|
+
export * from './lib/domain/repositories/category.domain.repository';
|
|
282
|
+
export * from './lib/domain/models/category.domain.model';
|
|
283
|
+
|
|
284
|
+
// #region service category repository
|
|
285
|
+
export * from './lib/domain/repositories/service-category.domain.repository';
|
|
286
|
+
export * from './lib/domain/models/service-category.domain.model';
|