@cbm-common/cbm-types 0.0.33 → 0.0.35
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/domain/models/account.domain.model.d.ts +144 -0
- package/lib/domain/models/payment-term-repository.domain.model.d.ts +38 -0
- package/lib/domain/models/payment-term.domain.model.d.ts +38 -0
- package/lib/domain/models/sequence.domain.model.d.ts +21 -0
- package/lib/domain/models/tax-iva.domain.model.d.ts +78 -0
- package/lib/domain/repositories/account.domain.repository.d.ts +21 -0
- package/lib/domain/repositories/payment-term.domain.repository.d.ts +10 -0
- package/lib/domain/repositories/sequence.domain.repository.d.ts +9 -0
- package/lib/domain/repositories/tax-iva.domain.repository.d.ts +14 -0
- package/lib/infrastructure/repositories/account.infrastructure.repository.d.ts +17 -0
- package/lib/infrastructure/repositories/payment-term.infrastructure.repository.d.ts +6 -0
- package/lib/infrastructure/repositories/sequence.infrastructure.repository.d.ts +5 -0
- package/lib/infrastructure/repositories/tax-iva.infrastructure.repository.d.ts +10 -0
- package/lib/infrastructure/services/account.infrastructure.service.d.ts +20 -0
- package/lib/infrastructure/services/payment-term.infrastructure.service.d.ts +10 -0
- package/lib/infrastructure/services/sequence.infrastructe.service.d.ts +9 -0
- package/lib/infrastructure/services/tax-iva.infrastructure.service.d.ts +14 -0
- package/package.json +1 -1
- package/public-api.d.ts +16 -0
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
export declare namespace CbmAccountModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
account_group?: string;
|
|
4
|
+
move?: boolean;
|
|
5
|
+
filter?: string;
|
|
6
|
+
}
|
|
7
|
+
interface ListResponse {
|
|
8
|
+
success: boolean;
|
|
9
|
+
data: ListResponse.Data[];
|
|
10
|
+
}
|
|
11
|
+
namespace ListResponse {
|
|
12
|
+
interface Data {
|
|
13
|
+
_id: string;
|
|
14
|
+
company_id: string;
|
|
15
|
+
code: string;
|
|
16
|
+
name: string;
|
|
17
|
+
code_father: string;
|
|
18
|
+
level: number;
|
|
19
|
+
move: boolean;
|
|
20
|
+
confidential: boolean;
|
|
21
|
+
enabled: boolean;
|
|
22
|
+
created_at: number;
|
|
23
|
+
created_user: string;
|
|
24
|
+
type: string;
|
|
25
|
+
delete: boolean;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
interface ListPaginatedParams {
|
|
29
|
+
size: number;
|
|
30
|
+
page: number;
|
|
31
|
+
account_group_id?: string;
|
|
32
|
+
move?: boolean;
|
|
33
|
+
filter?: string;
|
|
34
|
+
enabled?: boolean;
|
|
35
|
+
number_of_groups?: string[];
|
|
36
|
+
}
|
|
37
|
+
interface ListPaginatedResponse {
|
|
38
|
+
success: boolean;
|
|
39
|
+
pageNum: string;
|
|
40
|
+
pageSize: string;
|
|
41
|
+
pages: number;
|
|
42
|
+
total: number;
|
|
43
|
+
items: ListPaginatedResponse.Item[];
|
|
44
|
+
}
|
|
45
|
+
namespace ListPaginatedResponse {
|
|
46
|
+
interface Item {
|
|
47
|
+
_id: string;
|
|
48
|
+
account_group_id: string;
|
|
49
|
+
company_id: string;
|
|
50
|
+
code: string;
|
|
51
|
+
name: string;
|
|
52
|
+
code_father: string;
|
|
53
|
+
level: number;
|
|
54
|
+
move: boolean;
|
|
55
|
+
confidential: boolean;
|
|
56
|
+
description: string;
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
created_user: string;
|
|
59
|
+
created_at: number;
|
|
60
|
+
name_code_father: string;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
interface GetOneResponse {
|
|
64
|
+
success: boolean;
|
|
65
|
+
data: GetOneResponse.Data;
|
|
66
|
+
}
|
|
67
|
+
namespace GetOneResponse {
|
|
68
|
+
interface Data {
|
|
69
|
+
_id: string;
|
|
70
|
+
company_id?: string;
|
|
71
|
+
code?: string;
|
|
72
|
+
name?: string;
|
|
73
|
+
code_father?: string;
|
|
74
|
+
level?: number;
|
|
75
|
+
move?: boolean;
|
|
76
|
+
confidential?: boolean;
|
|
77
|
+
enabled?: boolean;
|
|
78
|
+
created_at?: number;
|
|
79
|
+
created_user?: string;
|
|
80
|
+
account_group_id?: string;
|
|
81
|
+
description?: string;
|
|
82
|
+
disabled_reason: string;
|
|
83
|
+
updated_at: number;
|
|
84
|
+
updated_user: string;
|
|
85
|
+
user_inactive_at: number;
|
|
86
|
+
user_inactive_id: string;
|
|
87
|
+
user_inactive_name: string;
|
|
88
|
+
type: string;
|
|
89
|
+
name_code_father: string;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
interface GetOneByCodeResponse {
|
|
93
|
+
success: boolean;
|
|
94
|
+
data: GetOneByCodeResponse.Data;
|
|
95
|
+
}
|
|
96
|
+
namespace GetOneByCodeResponse {
|
|
97
|
+
interface Data {
|
|
98
|
+
_id: string;
|
|
99
|
+
account_group_id?: string;
|
|
100
|
+
company_id?: string;
|
|
101
|
+
code?: string;
|
|
102
|
+
name?: string;
|
|
103
|
+
code_father?: string;
|
|
104
|
+
level?: number;
|
|
105
|
+
move?: boolean;
|
|
106
|
+
confidential?: boolean;
|
|
107
|
+
description?: string;
|
|
108
|
+
enabled?: boolean;
|
|
109
|
+
created_user?: string;
|
|
110
|
+
created_at?: number;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
interface SaveBody {
|
|
114
|
+
group_countable_id: string;
|
|
115
|
+
company_id: string;
|
|
116
|
+
code: string;
|
|
117
|
+
name: string;
|
|
118
|
+
code_father: string;
|
|
119
|
+
level: number;
|
|
120
|
+
move: boolean;
|
|
121
|
+
confidential: boolean;
|
|
122
|
+
description: string;
|
|
123
|
+
}
|
|
124
|
+
interface UpdateBody {
|
|
125
|
+
group_countable_id?: string;
|
|
126
|
+
company_id?: string;
|
|
127
|
+
code?: string;
|
|
128
|
+
name?: string;
|
|
129
|
+
code_father?: string;
|
|
130
|
+
level?: number;
|
|
131
|
+
move?: boolean;
|
|
132
|
+
confidential?: boolean;
|
|
133
|
+
description?: string;
|
|
134
|
+
}
|
|
135
|
+
interface ChangeStatusBody {
|
|
136
|
+
enabled: boolean;
|
|
137
|
+
disabled_reason?: string;
|
|
138
|
+
}
|
|
139
|
+
interface ConfirmResponse {
|
|
140
|
+
success: boolean;
|
|
141
|
+
message: string;
|
|
142
|
+
data?: any;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare namespace CbmPaymentTermModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
name?: string;
|
|
4
|
+
code?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ListResponse {
|
|
7
|
+
success: boolean;
|
|
8
|
+
data: ListResponse.Data[];
|
|
9
|
+
}
|
|
10
|
+
namespace ListResponse {
|
|
11
|
+
interface Data {
|
|
12
|
+
_id: string;
|
|
13
|
+
country_id: string;
|
|
14
|
+
code: string;
|
|
15
|
+
name: string;
|
|
16
|
+
SRI_code: string;
|
|
17
|
+
created_at: number;
|
|
18
|
+
created_user: string;
|
|
19
|
+
order?: number;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
interface GetOneResponse {
|
|
23
|
+
success: boolean;
|
|
24
|
+
data: GetOneResponse.Data;
|
|
25
|
+
}
|
|
26
|
+
namespace GetOneResponse {
|
|
27
|
+
interface Data {
|
|
28
|
+
_id: string;
|
|
29
|
+
country_id?: string;
|
|
30
|
+
code?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
created_at?: number;
|
|
33
|
+
created_user?: string;
|
|
34
|
+
SRI_code?: string;
|
|
35
|
+
order?: number;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare namespace CbmPaymentTermModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
name?: string;
|
|
4
|
+
code?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ListResponse {
|
|
7
|
+
success: boolean;
|
|
8
|
+
data: ListResponse.Data[];
|
|
9
|
+
}
|
|
10
|
+
namespace ListResponse {
|
|
11
|
+
interface Data {
|
|
12
|
+
_id: string;
|
|
13
|
+
country_id: string;
|
|
14
|
+
code: string;
|
|
15
|
+
name: string;
|
|
16
|
+
SRI_code: string;
|
|
17
|
+
created_at: number;
|
|
18
|
+
created_user: string;
|
|
19
|
+
order?: number;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
interface GetOneResponse {
|
|
23
|
+
success: boolean;
|
|
24
|
+
data: GetOneResponse.Data;
|
|
25
|
+
}
|
|
26
|
+
namespace GetOneResponse {
|
|
27
|
+
interface Data {
|
|
28
|
+
_id: string;
|
|
29
|
+
country_id?: string;
|
|
30
|
+
code?: string;
|
|
31
|
+
name?: string;
|
|
32
|
+
created_at?: number;
|
|
33
|
+
created_user?: string;
|
|
34
|
+
SRI_code?: string;
|
|
35
|
+
order?: number;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare namespace CbmSequenceModel {
|
|
2
|
+
interface ListResponse {
|
|
3
|
+
success: boolean;
|
|
4
|
+
data: ListResponse.Data[];
|
|
5
|
+
}
|
|
6
|
+
namespace ListResponse {
|
|
7
|
+
interface Data {
|
|
8
|
+
_id: string;
|
|
9
|
+
company_id: string;
|
|
10
|
+
nomenclature: string;
|
|
11
|
+
last_number: number;
|
|
12
|
+
code: string;
|
|
13
|
+
created_at: number;
|
|
14
|
+
created_user: string;
|
|
15
|
+
event_module?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
seat: boolean;
|
|
18
|
+
deleted_at?: number;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
export declare namespace CbmTaxIvaModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
description?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ListResponse {
|
|
7
|
+
success: boolean;
|
|
8
|
+
data: ListResponse.Data[];
|
|
9
|
+
}
|
|
10
|
+
namespace ListResponse {
|
|
11
|
+
interface Data {
|
|
12
|
+
_id: string;
|
|
13
|
+
country_id?: string;
|
|
14
|
+
code?: string;
|
|
15
|
+
percentage?: number;
|
|
16
|
+
description?: string;
|
|
17
|
+
enabled?: boolean;
|
|
18
|
+
deleted?: boolean;
|
|
19
|
+
created_at?: number;
|
|
20
|
+
created_user?: string;
|
|
21
|
+
updated_at?: number;
|
|
22
|
+
updated_user?: string;
|
|
23
|
+
country?: string;
|
|
24
|
+
disabled_reason?: string;
|
|
25
|
+
user_inactive_at?: number;
|
|
26
|
+
user_inactive_id?: string;
|
|
27
|
+
user_inactive_name?: string;
|
|
28
|
+
user_active_at?: number;
|
|
29
|
+
user_active_id?: string;
|
|
30
|
+
user_active_name?: string;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
interface GetOneResponse {
|
|
34
|
+
success: boolean;
|
|
35
|
+
data: GetOneResponse.Data;
|
|
36
|
+
}
|
|
37
|
+
namespace GetOneResponse {
|
|
38
|
+
interface Data {
|
|
39
|
+
_id?: string;
|
|
40
|
+
country_id?: string;
|
|
41
|
+
code?: string;
|
|
42
|
+
percentage?: number;
|
|
43
|
+
description?: string;
|
|
44
|
+
enabled?: boolean;
|
|
45
|
+
disabled_reason?: string;
|
|
46
|
+
created_at?: number;
|
|
47
|
+
created_user?: string;
|
|
48
|
+
country?: string;
|
|
49
|
+
updated_at?: number;
|
|
50
|
+
updated_user?: string;
|
|
51
|
+
user_inactive_at?: number;
|
|
52
|
+
user_inactive_id?: string;
|
|
53
|
+
user_inactive_name?: string;
|
|
54
|
+
user_active_at?: number;
|
|
55
|
+
user_active_id?: string;
|
|
56
|
+
user_active_name?: string;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
interface SaveBody {
|
|
60
|
+
code: string;
|
|
61
|
+
percentage: number;
|
|
62
|
+
description: string;
|
|
63
|
+
}
|
|
64
|
+
interface UpdateBody {
|
|
65
|
+
code?: string;
|
|
66
|
+
percentage?: number;
|
|
67
|
+
description?: string;
|
|
68
|
+
}
|
|
69
|
+
interface ChangeStatusBody {
|
|
70
|
+
enabled: boolean;
|
|
71
|
+
disabled_reason?: string;
|
|
72
|
+
}
|
|
73
|
+
interface ConfirmResponse {
|
|
74
|
+
success: boolean;
|
|
75
|
+
message: string;
|
|
76
|
+
data?: any;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CbmAccountModel } from "../models/account.domain.model";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
4
|
+
import { ICbmAccountRepository } from "../../infrastructure/repositories/account.infrastructure.repository";
|
|
5
|
+
import { CbmAccountService } from "../../infrastructure/services/account.infrastructure.service";
|
|
6
|
+
export declare class CbmAccountRepository implements ICbmAccountRepository {
|
|
7
|
+
private service;
|
|
8
|
+
constructor(service: CbmAccountService);
|
|
9
|
+
list(params: CbmAccountModel.ListParams): Observable<CbmAccountModel.ListResponse>;
|
|
10
|
+
listPaginated(params: CbmAccountModel.ListPaginatedParams): Observable<CbmAccountModel.ListPaginatedResponse>;
|
|
11
|
+
getOne(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
12
|
+
getOneByCode(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
13
|
+
save(data: CbmAccountModel.SaveBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
14
|
+
update(id: string, data: CbmAccountModel.UpdateBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
15
|
+
changeStatus(id: string, data: CbmAccountModel.ChangeStatusBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
16
|
+
delete(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
17
|
+
downloadExcelTemplate(): Observable<Blob>;
|
|
18
|
+
importExcel(data: FormData): Observable<CbmAccountModel.ConfirmResponse>;
|
|
19
|
+
downloadExcel(): Observable<HttpResponse<Blob>>;
|
|
20
|
+
updateCodes(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmPaymentTermModel } from "../models/payment-term-repository.domain.model";
|
|
3
|
+
import { ICbmPaymentTermRepository } from "../../infrastructure/repositories/payment-term.infrastructure.repository";
|
|
4
|
+
import { CbmPaymentTermService } from "../../infrastructure/services/payment-term.infrastructure.service";
|
|
5
|
+
export declare class CbmPaymentTermRepository implements ICbmPaymentTermRepository {
|
|
6
|
+
private service;
|
|
7
|
+
constructor(service: CbmPaymentTermService);
|
|
8
|
+
list(params: CbmPaymentTermModel.ListParams): Observable<CbmPaymentTermModel.ListResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmPaymentTermModel.GetOneResponse>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmSequenceModel } from "../models/sequence.domain.model";
|
|
3
|
+
import { ICbmSequenceRepository } from "../../infrastructure/repositories/sequence.infrastructure.repository";
|
|
4
|
+
import { CbmSequenceService } from "../../infrastructure/services/sequence.infrastructe.service";
|
|
5
|
+
export declare class CbmSequenceRepository implements ICbmSequenceRepository {
|
|
6
|
+
private service;
|
|
7
|
+
constructor(service: CbmSequenceService);
|
|
8
|
+
list(): Observable<CbmSequenceModel.ListResponse>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CbmTaxIvaModel } from "../models/tax-iva.domain.model";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { ICbmTaxIvaRepository } from "../../infrastructure/repositories/tax-iva.infrastructure.repository";
|
|
4
|
+
import { CbmTaxIvaService } from "../../infrastructure/services/tax-iva.infrastructure.service";
|
|
5
|
+
export declare class CbmTaxIvaRepository implements ICbmTaxIvaRepository {
|
|
6
|
+
private service;
|
|
7
|
+
constructor(service: CbmTaxIvaService);
|
|
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, dasta: CbmTaxIvaModel.ChangeStatusBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
13
|
+
delete(id: string): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmAccountModel } from "../../domain/models/account.domain.model";
|
|
3
|
+
import { HttpResponse } from '@angular/common/http';
|
|
4
|
+
export interface ICbmAccountRepository {
|
|
5
|
+
list(params: CbmAccountModel.ListParams): Observable<CbmAccountModel.ListResponse>;
|
|
6
|
+
listPaginated(params: CbmAccountModel.ListPaginatedParams): Observable<CbmAccountModel.ListPaginatedResponse>;
|
|
7
|
+
getOne(id: string): Observable<CbmAccountModel.GetOneResponse>;
|
|
8
|
+
getOneByCode(code: string): Observable<CbmAccountModel.GetOneByCodeResponse>;
|
|
9
|
+
save(data: CbmAccountModel.SaveBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
10
|
+
update(id: string, data: CbmAccountModel.UpdateBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
11
|
+
changeStatus(id: string, data: CbmAccountModel.ChangeStatusBody): Observable<CbmAccountModel.ConfirmResponse>;
|
|
12
|
+
delete(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
13
|
+
downloadExcelTemplate(): Observable<Blob>;
|
|
14
|
+
importExcel(data: FormData): Observable<CbmAccountModel.ConfirmResponse>;
|
|
15
|
+
downloadExcel(): Observable<HttpResponse<Blob>>;
|
|
16
|
+
updateCodes(id: string): Observable<CbmAccountModel.ConfirmResponse>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmPaymentTermModel } from "../../domain/models/payment-term-repository.domain.model";
|
|
3
|
+
export interface ICbmPaymentTermRepository {
|
|
4
|
+
list(params: CbmPaymentTermModel.ListParams): Observable<CbmPaymentTermModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmPaymentTermModel.GetOneResponse>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmTaxIvaModel } from "../../domain/models/tax-iva.domain.model";
|
|
3
|
+
export interface ICbmTaxIvaRepository {
|
|
4
|
+
list(params: CbmTaxIvaModel.ListParams): Observable<CbmTaxIvaModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmTaxIvaModel.GetOneResponse>;
|
|
6
|
+
save(data: CbmTaxIvaModel.SaveBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
7
|
+
update(id: string, data: CbmTaxIvaModel.UpdateBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
8
|
+
changeStatus(id: string, dasta: CbmTaxIvaModel.ChangeStatusBody): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
9
|
+
delete(id: string): Observable<CbmTaxIvaModel.ConfirmResponse>;
|
|
10
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -253,5 +253,21 @@ export * from './lib/domain/models/company-custom.domain.model';
|
|
|
253
253
|
export * from './lib/domain/repositories/stock-item.domain.repository';
|
|
254
254
|
export * from './lib/domain/models/stock-item.domain.model';
|
|
255
255
|
|
|
256
|
+
// #region account repository
|
|
257
|
+
export * from './lib/domain/repositories/account.domain.repository';
|
|
258
|
+
export * from './lib/domain/models/account.domain.model';
|
|
259
|
+
|
|
260
|
+
// #region tax iva repository
|
|
261
|
+
export * from './lib/domain/repositories/tax-iva.domain.repository';
|
|
262
|
+
export * from './lib/domain/models/tax-iva.domain.model';
|
|
263
|
+
|
|
264
|
+
// #region sequence repository
|
|
265
|
+
export * from './lib/domain/repositories/sequence.domain.repository';
|
|
266
|
+
export * from './lib/domain/models/sequence.domain.model';
|
|
267
|
+
|
|
268
|
+
// #region payment repository
|
|
269
|
+
export * from './lib/domain/repositories/payment-term.domain.repository';
|
|
270
|
+
export * from './lib/domain/models/payment-term.domain.model';
|
|
256
271
|
// #region available board component
|
|
257
272
|
export * from './lib/components/available-board/available-board';
|
|
273
|
+
export * from './lib/components/availability-board/availability-board.model';
|