@cbm-common/cbm-types 0.0.34 → 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/components/availability-board/availability-board.d.ts +25 -0
- package/lib/components/availability-board/availability-board.model.d.ts +46 -0
- package/lib/components/availability-board/directives/drop-menu.directive.d.ts +19 -0
- package/lib/components/availability-board/models/value-column.model.d.ts +6 -0
- package/lib/components/availability-board/services/config.service.d.ts +7 -0
- package/lib/components/availability-board/services/mouse-position.service.d.ts +14 -0
- package/lib/domain/models/account.domain.model.d.ts +144 -144
- package/lib/domain/models/payment-term-repository.domain.model.d.ts +38 -38
- package/lib/domain/models/payment-term.domain.model.d.ts +38 -38
- package/lib/domain/models/sequence.domain.model.d.ts +21 -21
- 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/payment-term.domain.repository.d.ts +10 -10
- package/lib/domain/repositories/sequence.domain.repository.d.ts +9 -9
- 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/payment-term.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/sequence.infrastructure.repository.d.ts +5 -5
- 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/payment-term.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/sequence.infrastructe.service.d.ts +9 -9
- package/lib/infrastructure/services/tax-iva.infrastructure.service.d.ts +14 -14
- package/lib/remotes/components.remote.d.ts +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { AvailabilityBoardModel } from './availability-board.model';
|
|
2
|
+
import { ValueColumnCompModel } from './models/value-column.model';
|
|
3
|
+
import { ConfigService } from './services/config.service';
|
|
4
|
+
export declare class CbmAvailabilityBoardComponent {
|
|
5
|
+
private readonly configService;
|
|
6
|
+
constructor(configService: ConfigService);
|
|
7
|
+
timelineRange: import("@angular/core").WritableSignal<Date[]>;
|
|
8
|
+
protected timeline: import("@angular/core").WritableSignal<AvailabilityBoardModel.DateRange[]>;
|
|
9
|
+
protected titleBody: import("@angular/core").WritableSignal<ValueColumnCompModel.Values[]>;
|
|
10
|
+
'title-column': import("@angular/core").InputSignal<string>;
|
|
11
|
+
'loading-state': import("@angular/core").InputSignal<boolean>;
|
|
12
|
+
'menu-delay': import("@angular/core").InputSignal<number>;
|
|
13
|
+
'menu-offsetX': import("@angular/core").InputSignal<number>;
|
|
14
|
+
'menu-offsetY': import("@angular/core").InputSignal<number>;
|
|
15
|
+
protected titleColumn: import("@angular/core").Signal<string>;
|
|
16
|
+
protected loadingState: import("@angular/core").Signal<boolean>;
|
|
17
|
+
protected totalColumns: import("@angular/core").Signal<number>;
|
|
18
|
+
protected setGridColumns: (repeat: number, maxFirst?: string) => string;
|
|
19
|
+
protected setGridRows: (repeat: number) => string;
|
|
20
|
+
protected setSpan: (span: number) => string;
|
|
21
|
+
setValuesColumn(value: AvailabilityBoardModel.ValueColumn[]): void;
|
|
22
|
+
setEvents<T = any>(events: AvailabilityBoardModel.EventParams[], bgColor?: (d: Date, data: T) => string): void;
|
|
23
|
+
isToday(date: Date): boolean;
|
|
24
|
+
isEqualDate(date1: Date, date2: Date): boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
export declare namespace AvailabilityBoardModel {
|
|
2
|
+
interface ValueColumn {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
}
|
|
6
|
+
interface DateRange {
|
|
7
|
+
id: string;
|
|
8
|
+
month: number;
|
|
9
|
+
month_name: string;
|
|
10
|
+
days: DateRange.Days[];
|
|
11
|
+
}
|
|
12
|
+
namespace DateRange {
|
|
13
|
+
interface Days {
|
|
14
|
+
id: string;
|
|
15
|
+
date: Date;
|
|
16
|
+
day: number;
|
|
17
|
+
day_name: string;
|
|
18
|
+
event: {
|
|
19
|
+
[k: string]: EventData | undefined;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
interface EventParams extends Omit<EventData, 'duration_in_days' | 'bg_color'> {
|
|
24
|
+
}
|
|
25
|
+
interface EventData<T = any> {
|
|
26
|
+
value_id: string;
|
|
27
|
+
start_date: Date;
|
|
28
|
+
end_date: Date;
|
|
29
|
+
label: string;
|
|
30
|
+
description: EventDescription[];
|
|
31
|
+
duration_in_days: number;
|
|
32
|
+
data?: T;
|
|
33
|
+
bg_color?: string;
|
|
34
|
+
options: EventOptions<T>[];
|
|
35
|
+
}
|
|
36
|
+
interface EventOptions<T = any> {
|
|
37
|
+
label: string;
|
|
38
|
+
function: (data: T) => void;
|
|
39
|
+
}
|
|
40
|
+
interface EventDescription {
|
|
41
|
+
label: string;
|
|
42
|
+
value: string;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
export declare const monthsEs: string[];
|
|
46
|
+
export declare const daysEs: string[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef } from '@angular/core';
|
|
2
|
+
import { MousePositionService } from '../services/mouse-position.service';
|
|
3
|
+
export declare class CbmDropMenu implements AfterViewInit {
|
|
4
|
+
private readonly elementRef;
|
|
5
|
+
private readonly mousePosService;
|
|
6
|
+
constructor(elementRef: ElementRef<HTMLElement>, mousePosService: MousePositionService);
|
|
7
|
+
delay: import("@angular/core").InputSignal<number>;
|
|
8
|
+
offsetX: import("@angular/core").InputSignal<number>;
|
|
9
|
+
offsetY: import("@angular/core").InputSignal<number>;
|
|
10
|
+
private timeoutId?;
|
|
11
|
+
private menuRef?;
|
|
12
|
+
private clientX;
|
|
13
|
+
private clientY;
|
|
14
|
+
private mouseSub?;
|
|
15
|
+
ngAfterViewInit(): void;
|
|
16
|
+
ngOnDestroy(): void;
|
|
17
|
+
onEnter(): Promise<void>;
|
|
18
|
+
onLeave(): void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AvailabilityBoardModel } from '../availability-board.model';
|
|
2
|
+
export declare class ConfigService {
|
|
3
|
+
timeline: import("@angular/core").WritableSignal<AvailabilityBoardModel.DateRange[]>;
|
|
4
|
+
private readonly monthsEs;
|
|
5
|
+
private readonly daysEs;
|
|
6
|
+
setTimelineRange(start: Date, end: Date): Promise<void>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { NgZone } from '@angular/core';
|
|
2
|
+
export declare class MousePositionService {
|
|
3
|
+
private ngZone;
|
|
4
|
+
private mousePosition$;
|
|
5
|
+
constructor(ngZone: NgZone);
|
|
6
|
+
getPositionObservable(): import("rxjs").Observable<{
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
}>;
|
|
10
|
+
getCurrentPosition(): {
|
|
11
|
+
x: number;
|
|
12
|
+
y: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -1,144 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,38 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,38 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,21 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,78 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,21 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,10 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,9 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,14 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,17 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,6 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { CbmSequenceModel } from "../../domain/models/sequence.domain.model";
|
|
3
|
-
export interface ICbmSequenceRepository {
|
|
4
|
-
list(): Observable<CbmSequenceModel.ListResponse>;
|
|
5
|
-
}
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmSequenceModel } from "../../domain/models/sequence.domain.model";
|
|
3
|
+
export interface ICbmSequenceRepository {
|
|
4
|
+
list(): Observable<CbmSequenceModel.ListResponse>;
|
|
5
|
+
}
|
|
@@ -1,10 +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
|
-
}
|
|
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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -14,3 +14,4 @@ export { CbmTreeSelectComponent } from '../components/tree-select/tree-select';
|
|
|
14
14
|
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
|
+
export { CbmAvailabilityBoardComponent } from '../components/availability-board/availability-board';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -215,7 +215,6 @@ export * from './lib/domain/models/billing.domain.model';
|
|
|
215
215
|
export * from './lib/domain/repositories/billing-order.domain.repository';
|
|
216
216
|
export * from './lib/domain/models/billing-order.domain.model';
|
|
217
217
|
|
|
218
|
-
|
|
219
218
|
// #region country code repository
|
|
220
219
|
export * from './lib/domain/repositories/country-code.domain.repository';
|
|
221
220
|
export * from './lib/domain/models/country-code.domain.model';
|
|
@@ -269,3 +268,6 @@ export * from './lib/domain/models/sequence.domain.model';
|
|
|
269
268
|
// #region payment repository
|
|
270
269
|
export * from './lib/domain/repositories/payment-term.domain.repository';
|
|
271
270
|
export * from './lib/domain/models/payment-term.domain.model';
|
|
271
|
+
// #region available board component
|
|
272
|
+
export * from './lib/components/available-board/available-board';
|
|
273
|
+
export * from './lib/components/availability-board/availability-board.model';
|