@cbm-common/cbm-types 0.0.42 → 0.0.43
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/timeline/timeline.d.ts +27 -27
- package/lib/components/timeline/types.d.ts +17 -17
- package/lib/domain/models/print-settings.domain.model.d.ts +110 -0
- package/lib/domain/models/service-group.domain.model.d.ts +109 -109
- package/lib/domain/models/signature-settings.domain.model.d.ts +68 -0
- package/lib/domain/repositories/print-settings.domain.repository.d.ts +11 -0
- package/lib/domain/repositories/service-group.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/signature-settings.domain.repository.d.ts +14 -0
- package/lib/infrastructure/repositories/print-settings.infrastructure.repository.d.ts +8 -0
- package/lib/infrastructure/repositories/service-group.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/signature-settings.infrastructure.repository.d.ts +11 -0
- package/lib/infrastructure/services/print-settings.infrastructure.service.d.ts +13 -0
- package/lib/infrastructure/services/service-group.infrastructure.service.d.ts +15 -15
- package/lib/infrastructure/services/signature-settings.infrastructure.service.d.ts +16 -0
- package/lib/remotes/components.remote.d.ts +20 -20
- package/lib/remotes/repositories/print-settings.repository.d.ts +3 -0
- package/lib/remotes/repositories/signature-settings.repository.d.ts +3 -0
- package/lib/remotes/repositories.remote.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +7 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import { CbmTimelineModel, TStatus } from './types';
|
|
2
|
-
export declare class CbmTimelineComponent {
|
|
3
|
-
data: import("@angular/core").InputSignal<CbmTimelineModel.ITimelineData[]>;
|
|
4
|
-
redirect: import("@angular/core").InputSignal<Map<string, string> | undefined>;
|
|
5
|
-
loading: import("@angular/core").InputSignal<TStatus>;
|
|
6
|
-
focusId: import("@angular/core").InputSignal<string | null>;
|
|
7
|
-
translationOfType: {
|
|
8
|
-
suspend: string;
|
|
9
|
-
credit: string;
|
|
10
|
-
increase: string;
|
|
11
|
-
decrease: string;
|
|
12
|
-
};
|
|
13
|
-
tagsDate: {
|
|
14
|
-
refused: string;
|
|
15
|
-
approved: string;
|
|
16
|
-
pending: string;
|
|
17
|
-
suspend: string;
|
|
18
|
-
};
|
|
19
|
-
tagsUser: {
|
|
20
|
-
refused: string;
|
|
21
|
-
approved: string;
|
|
22
|
-
pending: string;
|
|
23
|
-
suspend: string;
|
|
24
|
-
};
|
|
25
|
-
constructor();
|
|
26
|
-
openUrl(id: string): void;
|
|
27
|
-
}
|
|
1
|
+
import { CbmTimelineModel, TStatus } from './types';
|
|
2
|
+
export declare class CbmTimelineComponent {
|
|
3
|
+
data: import("@angular/core").InputSignal<CbmTimelineModel.ITimelineData[]>;
|
|
4
|
+
redirect: import("@angular/core").InputSignal<Map<string, string> | undefined>;
|
|
5
|
+
loading: import("@angular/core").InputSignal<TStatus>;
|
|
6
|
+
focusId: import("@angular/core").InputSignal<string | null>;
|
|
7
|
+
translationOfType: {
|
|
8
|
+
suspend: string;
|
|
9
|
+
credit: string;
|
|
10
|
+
increase: string;
|
|
11
|
+
decrease: string;
|
|
12
|
+
};
|
|
13
|
+
tagsDate: {
|
|
14
|
+
refused: string;
|
|
15
|
+
approved: string;
|
|
16
|
+
pending: string;
|
|
17
|
+
suspend: string;
|
|
18
|
+
};
|
|
19
|
+
tagsUser: {
|
|
20
|
+
refused: string;
|
|
21
|
+
approved: string;
|
|
22
|
+
pending: string;
|
|
23
|
+
suspend: string;
|
|
24
|
+
};
|
|
25
|
+
constructor();
|
|
26
|
+
openUrl(id: string): void;
|
|
27
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export type TStatus = 'init' | 'loading' | 'success' | 'failed';
|
|
2
|
-
export declare namespace CbmTimelineModel {
|
|
3
|
-
interface ITimelineData {
|
|
4
|
-
_id: string;
|
|
5
|
-
label: string;
|
|
6
|
-
document_number: string;
|
|
7
|
-
type: 'suspend' | 'credit' | 'increase' | 'decrease';
|
|
8
|
-
document_state: 'refused' | 'approved' | 'pending' | 'suspend';
|
|
9
|
-
user_name: string;
|
|
10
|
-
date: number;
|
|
11
|
-
amount_to_date: number;
|
|
12
|
-
requested_amount: number;
|
|
13
|
-
current_deadline: string;
|
|
14
|
-
approved_deadline: string;
|
|
15
|
-
commentary?: string;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
1
|
+
export type TStatus = 'init' | 'loading' | 'success' | 'failed';
|
|
2
|
+
export declare namespace CbmTimelineModel {
|
|
3
|
+
interface ITimelineData {
|
|
4
|
+
_id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
document_number: string;
|
|
7
|
+
type: 'suspend' | 'credit' | 'increase' | 'decrease';
|
|
8
|
+
document_state: 'refused' | 'approved' | 'pending' | 'suspend';
|
|
9
|
+
user_name: string;
|
|
10
|
+
date: number;
|
|
11
|
+
amount_to_date: number;
|
|
12
|
+
requested_amount: number;
|
|
13
|
+
current_deadline: string;
|
|
14
|
+
approved_deadline: string;
|
|
15
|
+
commentary?: string;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export declare namespace CbmPrintSettingsModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
event_module: string;
|
|
4
|
+
collection_name?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ListResponse {
|
|
7
|
+
success: boolean;
|
|
8
|
+
data: ListResponse.Data[];
|
|
9
|
+
}
|
|
10
|
+
namespace ListResponse {
|
|
11
|
+
interface Data {
|
|
12
|
+
_id: string;
|
|
13
|
+
company_id: string;
|
|
14
|
+
event_module: string;
|
|
15
|
+
collection_name: string;
|
|
16
|
+
description_module: string;
|
|
17
|
+
default_name: string;
|
|
18
|
+
code: string;
|
|
19
|
+
order: number;
|
|
20
|
+
print_a4: boolean;
|
|
21
|
+
print_logo_a4: boolean;
|
|
22
|
+
print_ticket: boolean;
|
|
23
|
+
print_logo_ticket: boolean;
|
|
24
|
+
accounting: boolean;
|
|
25
|
+
signature: boolean;
|
|
26
|
+
signature_data: Signature[];
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
deleted: boolean;
|
|
29
|
+
createdAt: number;
|
|
30
|
+
createdUser: string;
|
|
31
|
+
signature_ride: boolean;
|
|
32
|
+
signature_data_ride: SignatureRide[];
|
|
33
|
+
}
|
|
34
|
+
interface Signature {
|
|
35
|
+
_id: string;
|
|
36
|
+
code: string;
|
|
37
|
+
description: string;
|
|
38
|
+
enabled: boolean;
|
|
39
|
+
}
|
|
40
|
+
interface SignatureRide {
|
|
41
|
+
_id: string;
|
|
42
|
+
code: string;
|
|
43
|
+
description: string;
|
|
44
|
+
enabled: boolean;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
interface SaveBody {
|
|
48
|
+
event_module: string;
|
|
49
|
+
collection_name: string;
|
|
50
|
+
description_module: string;
|
|
51
|
+
default_name: string;
|
|
52
|
+
code: string;
|
|
53
|
+
order: number;
|
|
54
|
+
print_a4: boolean;
|
|
55
|
+
print_logo_a4: boolean;
|
|
56
|
+
print_ticket: boolean;
|
|
57
|
+
print_logo_ticket: boolean;
|
|
58
|
+
accounting: boolean;
|
|
59
|
+
signature: boolean;
|
|
60
|
+
signature_data: SaveBody.Signature[];
|
|
61
|
+
signature_ride?: boolean;
|
|
62
|
+
signature_data_ride?: SaveBody.SignatureRide[];
|
|
63
|
+
}
|
|
64
|
+
namespace SaveBody {
|
|
65
|
+
interface Signature {
|
|
66
|
+
code: string;
|
|
67
|
+
description: string;
|
|
68
|
+
enabled: boolean;
|
|
69
|
+
}
|
|
70
|
+
interface SignatureRide {
|
|
71
|
+
code: string;
|
|
72
|
+
description: string;
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
interface UpdateBody {
|
|
77
|
+
event_module: string;
|
|
78
|
+
collection_name: string;
|
|
79
|
+
description_module: string;
|
|
80
|
+
default_name: string;
|
|
81
|
+
code: string;
|
|
82
|
+
order: number;
|
|
83
|
+
print_a4: boolean;
|
|
84
|
+
print_logo_a4: boolean;
|
|
85
|
+
print_ticket: boolean;
|
|
86
|
+
print_logo_ticket: boolean;
|
|
87
|
+
accounting: boolean;
|
|
88
|
+
signature: boolean;
|
|
89
|
+
signature_data: UpdateBody.Signature[];
|
|
90
|
+
signature_ride?: boolean;
|
|
91
|
+
signature_data_ride?: UpdateBody.SignatureRide[];
|
|
92
|
+
}
|
|
93
|
+
namespace UpdateBody {
|
|
94
|
+
interface Signature {
|
|
95
|
+
code: string;
|
|
96
|
+
description: string;
|
|
97
|
+
enabled: boolean;
|
|
98
|
+
}
|
|
99
|
+
interface SignatureRide {
|
|
100
|
+
code: string;
|
|
101
|
+
description: string;
|
|
102
|
+
enabled: boolean;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
interface ConfirmResponse {
|
|
106
|
+
success: boolean;
|
|
107
|
+
message: string;
|
|
108
|
+
data?: any;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -1,109 +1,109 @@
|
|
|
1
|
-
export declare namespace CbmServiceGroupModel {
|
|
2
|
-
interface ListParams {
|
|
3
|
-
enabled?: boolean;
|
|
4
|
-
name?: string;
|
|
5
|
-
service_group_id?: string;
|
|
6
|
-
}
|
|
7
|
-
interface ListResponse {
|
|
8
|
-
data?: ListResponse.Data[];
|
|
9
|
-
success?: boolean;
|
|
10
|
-
}
|
|
11
|
-
namespace ListResponse {
|
|
12
|
-
interface Data {
|
|
13
|
-
_id: string;
|
|
14
|
-
company_id?: string;
|
|
15
|
-
service_group_id?: string;
|
|
16
|
-
initial?: boolean;
|
|
17
|
-
level?: number;
|
|
18
|
-
name?: string;
|
|
19
|
-
enabled?: boolean;
|
|
20
|
-
created_user?: string;
|
|
21
|
-
created_at?: number;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
interface SaveBody {
|
|
25
|
-
service_group_id?: string;
|
|
26
|
-
initial?: boolean;
|
|
27
|
-
level?: number;
|
|
28
|
-
name?: string;
|
|
29
|
-
}
|
|
30
|
-
interface GetOneResponse {
|
|
31
|
-
data?: GetOneResponse.Data;
|
|
32
|
-
success?: boolean;
|
|
33
|
-
}
|
|
34
|
-
namespace GetOneResponse {
|
|
35
|
-
interface Data {
|
|
36
|
-
_id?: string;
|
|
37
|
-
company_id?: string;
|
|
38
|
-
service_group_id?: string;
|
|
39
|
-
initial?: boolean;
|
|
40
|
-
level?: number;
|
|
41
|
-
name?: string;
|
|
42
|
-
enabled?: boolean;
|
|
43
|
-
created_user?: string;
|
|
44
|
-
created_at?: number;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
interface UpdateBody {
|
|
48
|
-
service_group_id?: string;
|
|
49
|
-
initial?: boolean;
|
|
50
|
-
level?: number;
|
|
51
|
-
name?: string;
|
|
52
|
-
}
|
|
53
|
-
interface ChangeStatusBody {
|
|
54
|
-
enabled?: boolean;
|
|
55
|
-
disabled_reason?: string;
|
|
56
|
-
}
|
|
57
|
-
interface ListAsTreeParams {
|
|
58
|
-
name?: string;
|
|
59
|
-
}
|
|
60
|
-
interface ListAsTreeResponse {
|
|
61
|
-
success: boolean;
|
|
62
|
-
data: ListAsTreeResponse.Children;
|
|
63
|
-
}
|
|
64
|
-
namespace ListAsTreeResponse {
|
|
65
|
-
type Children = Child[];
|
|
66
|
-
interface Child {
|
|
67
|
-
label: string;
|
|
68
|
-
value: Group | Category;
|
|
69
|
-
children?: Children;
|
|
70
|
-
}
|
|
71
|
-
interface Group {
|
|
72
|
-
_id: string;
|
|
73
|
-
company_id?: string;
|
|
74
|
-
initial?: boolean;
|
|
75
|
-
level?: number;
|
|
76
|
-
name?: string;
|
|
77
|
-
enabled?: boolean;
|
|
78
|
-
deleted?: boolean;
|
|
79
|
-
created_user?: string;
|
|
80
|
-
created_at?: number;
|
|
81
|
-
disabled_reason?: string;
|
|
82
|
-
updated_at?: number;
|
|
83
|
-
updated_user?: string;
|
|
84
|
-
}
|
|
85
|
-
interface Category {
|
|
86
|
-
_id: string;
|
|
87
|
-
company_id?: string;
|
|
88
|
-
name?: string;
|
|
89
|
-
nomenclature?: string;
|
|
90
|
-
last_number?: number;
|
|
91
|
-
separator?: string;
|
|
92
|
-
income_account_id?: string;
|
|
93
|
-
discount_account_id?: string;
|
|
94
|
-
return_account_id?: string;
|
|
95
|
-
service_group_id?: string;
|
|
96
|
-
enabled?: boolean;
|
|
97
|
-
deleted?: boolean;
|
|
98
|
-
created_user?: string;
|
|
99
|
-
created_at?: number;
|
|
100
|
-
updated_at?: number;
|
|
101
|
-
updated_user?: string;
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
interface ConfirmResponse {
|
|
105
|
-
success: boolean;
|
|
106
|
-
message: string;
|
|
107
|
-
data?: any;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
1
|
+
export declare namespace CbmServiceGroupModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
name?: string;
|
|
5
|
+
service_group_id?: string;
|
|
6
|
+
}
|
|
7
|
+
interface ListResponse {
|
|
8
|
+
data?: ListResponse.Data[];
|
|
9
|
+
success?: boolean;
|
|
10
|
+
}
|
|
11
|
+
namespace ListResponse {
|
|
12
|
+
interface Data {
|
|
13
|
+
_id: string;
|
|
14
|
+
company_id?: string;
|
|
15
|
+
service_group_id?: string;
|
|
16
|
+
initial?: boolean;
|
|
17
|
+
level?: number;
|
|
18
|
+
name?: string;
|
|
19
|
+
enabled?: boolean;
|
|
20
|
+
created_user?: string;
|
|
21
|
+
created_at?: number;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
interface SaveBody {
|
|
25
|
+
service_group_id?: string;
|
|
26
|
+
initial?: boolean;
|
|
27
|
+
level?: number;
|
|
28
|
+
name?: string;
|
|
29
|
+
}
|
|
30
|
+
interface GetOneResponse {
|
|
31
|
+
data?: GetOneResponse.Data;
|
|
32
|
+
success?: boolean;
|
|
33
|
+
}
|
|
34
|
+
namespace GetOneResponse {
|
|
35
|
+
interface Data {
|
|
36
|
+
_id?: string;
|
|
37
|
+
company_id?: string;
|
|
38
|
+
service_group_id?: string;
|
|
39
|
+
initial?: boolean;
|
|
40
|
+
level?: number;
|
|
41
|
+
name?: string;
|
|
42
|
+
enabled?: boolean;
|
|
43
|
+
created_user?: string;
|
|
44
|
+
created_at?: number;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
interface UpdateBody {
|
|
48
|
+
service_group_id?: string;
|
|
49
|
+
initial?: boolean;
|
|
50
|
+
level?: number;
|
|
51
|
+
name?: string;
|
|
52
|
+
}
|
|
53
|
+
interface ChangeStatusBody {
|
|
54
|
+
enabled?: boolean;
|
|
55
|
+
disabled_reason?: string;
|
|
56
|
+
}
|
|
57
|
+
interface ListAsTreeParams {
|
|
58
|
+
name?: string;
|
|
59
|
+
}
|
|
60
|
+
interface ListAsTreeResponse {
|
|
61
|
+
success: boolean;
|
|
62
|
+
data: ListAsTreeResponse.Children;
|
|
63
|
+
}
|
|
64
|
+
namespace ListAsTreeResponse {
|
|
65
|
+
type Children = Child[];
|
|
66
|
+
interface Child {
|
|
67
|
+
label: string;
|
|
68
|
+
value: Group | Category;
|
|
69
|
+
children?: Children;
|
|
70
|
+
}
|
|
71
|
+
interface Group {
|
|
72
|
+
_id: string;
|
|
73
|
+
company_id?: string;
|
|
74
|
+
initial?: boolean;
|
|
75
|
+
level?: number;
|
|
76
|
+
name?: string;
|
|
77
|
+
enabled?: boolean;
|
|
78
|
+
deleted?: boolean;
|
|
79
|
+
created_user?: string;
|
|
80
|
+
created_at?: number;
|
|
81
|
+
disabled_reason?: string;
|
|
82
|
+
updated_at?: number;
|
|
83
|
+
updated_user?: string;
|
|
84
|
+
}
|
|
85
|
+
interface Category {
|
|
86
|
+
_id: string;
|
|
87
|
+
company_id?: string;
|
|
88
|
+
name?: string;
|
|
89
|
+
nomenclature?: string;
|
|
90
|
+
last_number?: number;
|
|
91
|
+
separator?: string;
|
|
92
|
+
income_account_id?: string;
|
|
93
|
+
discount_account_id?: string;
|
|
94
|
+
return_account_id?: string;
|
|
95
|
+
service_group_id?: string;
|
|
96
|
+
enabled?: boolean;
|
|
97
|
+
deleted?: boolean;
|
|
98
|
+
created_user?: string;
|
|
99
|
+
created_at?: number;
|
|
100
|
+
updated_at?: number;
|
|
101
|
+
updated_user?: string;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
interface ConfirmResponse {
|
|
105
|
+
success: boolean;
|
|
106
|
+
message: string;
|
|
107
|
+
data?: any;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare namespace CbmSignatureSettingsModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
deleted?: boolean;
|
|
4
|
+
description?: string;
|
|
5
|
+
code?: string;
|
|
6
|
+
type_order?: boolean;
|
|
7
|
+
}
|
|
8
|
+
interface ListResponse {
|
|
9
|
+
success: boolean;
|
|
10
|
+
data: ListResponse.Data[];
|
|
11
|
+
}
|
|
12
|
+
namespace ListResponse {
|
|
13
|
+
interface Data {
|
|
14
|
+
_id: string;
|
|
15
|
+
code: string;
|
|
16
|
+
description: string;
|
|
17
|
+
country_id: string;
|
|
18
|
+
created_at: number;
|
|
19
|
+
created_user: string;
|
|
20
|
+
deleted: boolean;
|
|
21
|
+
deleted_at: number;
|
|
22
|
+
enabled: boolean;
|
|
23
|
+
updated_at?: number;
|
|
24
|
+
updated_user?: string;
|
|
25
|
+
order: number;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
interface SaveBody {
|
|
29
|
+
code: string;
|
|
30
|
+
description: string;
|
|
31
|
+
order?: number;
|
|
32
|
+
}
|
|
33
|
+
interface UpdateBody {
|
|
34
|
+
code?: string;
|
|
35
|
+
description?: string;
|
|
36
|
+
order?: number;
|
|
37
|
+
}
|
|
38
|
+
interface GetOneResponse {
|
|
39
|
+
success: boolean;
|
|
40
|
+
data: GetOneResponse.Data;
|
|
41
|
+
}
|
|
42
|
+
namespace GetOneResponse {
|
|
43
|
+
interface Data {
|
|
44
|
+
_id: string;
|
|
45
|
+
code: string;
|
|
46
|
+
description: string;
|
|
47
|
+
country_id: string;
|
|
48
|
+
created_at: number;
|
|
49
|
+
created_user: string;
|
|
50
|
+
deleted: boolean;
|
|
51
|
+
deleted_at?: number;
|
|
52
|
+
deleted_user?: string;
|
|
53
|
+
enabled: boolean;
|
|
54
|
+
updated_at?: number;
|
|
55
|
+
updated_user?: string;
|
|
56
|
+
order?: number;
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
interface ChangeStatusBody {
|
|
60
|
+
enabled: boolean;
|
|
61
|
+
disabled_reason?: string;
|
|
62
|
+
}
|
|
63
|
+
interface ConfirmResponse {
|
|
64
|
+
success: boolean;
|
|
65
|
+
message: string;
|
|
66
|
+
data?: any;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmPrintSettingsModel } from '../models/print-settings.domain.model';
|
|
3
|
+
import { ICbmPrintSettingsRepository } from '../../infrastructure/repositories/print-settings.infrastructure.repository';
|
|
4
|
+
export declare class CbmPrintSettingsRepository implements ICbmPrintSettingsRepository {
|
|
5
|
+
private service;
|
|
6
|
+
constructor(service: ICbmPrintSettingsRepository);
|
|
7
|
+
list(params: CbmPrintSettingsModel.ListParams): Observable<CbmPrintSettingsModel.ListResponse>;
|
|
8
|
+
save(request: CbmPrintSettingsModel.SaveBody): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
9
|
+
update(id: string, params: CbmPrintSettingsModel.UpdateBody): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
10
|
+
delete(id: string): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
11
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { CbmServiceGroupModel } from "../models/service-group.domain.model";
|
|
3
|
-
import { ICbmServiceGroupRepository } from "../../infrastructure/repositories/service-group.infrastructure.repository";
|
|
4
|
-
import { CbmServiceGroupService } from "../../infrastructure/services/service-group.infrastructure.service";
|
|
5
|
-
export declare class CbmServiceGroupRepository implements ICbmServiceGroupRepository {
|
|
6
|
-
private service;
|
|
7
|
-
constructor(service: CbmServiceGroupService);
|
|
8
|
-
list(params: CbmServiceGroupModel.ListParams): Observable<CbmServiceGroupModel.ListResponse>;
|
|
9
|
-
getOne(id: string): Observable<CbmServiceGroupModel.GetOneResponse>;
|
|
10
|
-
save(data: CbmServiceGroupModel.SaveBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
11
|
-
update(id: string, data: CbmServiceGroupModel.UpdateBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
12
|
-
changeStatus(id: string, data: CbmServiceGroupModel.ChangeStatusBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
13
|
-
delete(id: string): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
14
|
-
listAsTree(params: CbmServiceGroupModel.ListAsTreeParams): Observable<CbmServiceGroupModel.ListAsTreeResponse>;
|
|
15
|
-
}
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmServiceGroupModel } from "../models/service-group.domain.model";
|
|
3
|
+
import { ICbmServiceGroupRepository } from "../../infrastructure/repositories/service-group.infrastructure.repository";
|
|
4
|
+
import { CbmServiceGroupService } from "../../infrastructure/services/service-group.infrastructure.service";
|
|
5
|
+
export declare class CbmServiceGroupRepository implements ICbmServiceGroupRepository {
|
|
6
|
+
private service;
|
|
7
|
+
constructor(service: CbmServiceGroupService);
|
|
8
|
+
list(params: CbmServiceGroupModel.ListParams): Observable<CbmServiceGroupModel.ListResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmServiceGroupModel.GetOneResponse>;
|
|
10
|
+
save(data: CbmServiceGroupModel.SaveBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
11
|
+
update(id: string, data: CbmServiceGroupModel.UpdateBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
12
|
+
changeStatus(id: string, data: CbmServiceGroupModel.ChangeStatusBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
13
|
+
delete(id: string): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
14
|
+
listAsTree(params: CbmServiceGroupModel.ListAsTreeParams): Observable<CbmServiceGroupModel.ListAsTreeResponse>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { CbmSignatureSettingsModel } from '../models/signature-settings.domain.model';
|
|
3
|
+
import { ICbmSignatureSettingsRepository } from '../../infrastructure/repositories/signature-settings.infrastructure.repository';
|
|
4
|
+
export declare class CbmSignatureSettingsRepository implements ICbmSignatureSettingsRepository {
|
|
5
|
+
private service;
|
|
6
|
+
constructor(service: ICbmSignatureSettingsRepository);
|
|
7
|
+
list(params: CbmSignatureSettingsModel.ListParams): Observable<CbmSignatureSettingsModel.ListResponse>;
|
|
8
|
+
getOne(id: string): Observable<CbmSignatureSettingsModel.GetOneResponse>;
|
|
9
|
+
save(body: CbmSignatureSettingsModel.SaveBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
10
|
+
update(id: string, body: CbmSignatureSettingsModel.UpdateBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
11
|
+
delete(id: string): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
12
|
+
changeStatus(id: string, body: CbmSignatureSettingsModel.ChangeStatusBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
13
|
+
restore(id: string): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmPrintSettingsModel } from "../../domain/models/print-settings.domain.model";
|
|
3
|
+
export interface ICbmPrintSettingsRepository {
|
|
4
|
+
list(params: CbmPrintSettingsModel.ListParams): Observable<CbmPrintSettingsModel.ListResponse>;
|
|
5
|
+
save(request: CbmPrintSettingsModel.SaveBody): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
6
|
+
update(id: string, params: CbmPrintSettingsModel.UpdateBody): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
7
|
+
delete(id: string): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
8
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { CbmServiceGroupModel } from "../../domain/models/service-group.domain.model";
|
|
3
|
-
export interface ICbmServiceGroupRepository {
|
|
4
|
-
list(params: CbmServiceGroupModel.ListParams): Observable<CbmServiceGroupModel.ListResponse>;
|
|
5
|
-
getOne(id: string): Observable<CbmServiceGroupModel.GetOneResponse>;
|
|
6
|
-
save(data: CbmServiceGroupModel.SaveBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
7
|
-
update(id: string, data: CbmServiceGroupModel.UpdateBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
8
|
-
changeStatus(id: string, data: CbmServiceGroupModel.ChangeStatusBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
9
|
-
delete(id: string): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
10
|
-
listAsTree(params: CbmServiceGroupModel.ListAsTreeParams): Observable<CbmServiceGroupModel.ListAsTreeResponse>;
|
|
11
|
-
}
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmServiceGroupModel } from "../../domain/models/service-group.domain.model";
|
|
3
|
+
export interface ICbmServiceGroupRepository {
|
|
4
|
+
list(params: CbmServiceGroupModel.ListParams): Observable<CbmServiceGroupModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmServiceGroupModel.GetOneResponse>;
|
|
6
|
+
save(data: CbmServiceGroupModel.SaveBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
7
|
+
update(id: string, data: CbmServiceGroupModel.UpdateBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
8
|
+
changeStatus(id: string, data: CbmServiceGroupModel.ChangeStatusBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
9
|
+
delete(id: string): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
10
|
+
listAsTree(params: CbmServiceGroupModel.ListAsTreeParams): Observable<CbmServiceGroupModel.ListAsTreeResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmSignatureSettingsModel } from "../../domain/models/signature-settings.domain.model";
|
|
3
|
+
export interface ICbmSignatureSettingsRepository {
|
|
4
|
+
list(params: CbmSignatureSettingsModel.ListParams): Observable<CbmSignatureSettingsModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmSignatureSettingsModel.GetOneResponse>;
|
|
6
|
+
save(body: CbmSignatureSettingsModel.SaveBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
7
|
+
update(id: string, body: CbmSignatureSettingsModel.UpdateBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
8
|
+
delete(id: string): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
9
|
+
changeStatus(id: string, body: CbmSignatureSettingsModel.ChangeStatusBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
10
|
+
restore(id: string): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { ICbmPrintSettingsRepository } from '../repositories/print-settings.infrastructure.repository';
|
|
4
|
+
import { CbmPrintSettingsModel } from '../../domain/models/print-settings.domain.model';
|
|
5
|
+
export declare class CbmPrintSettingsService implements ICbmPrintSettingsRepository {
|
|
6
|
+
private http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmPrintSettingsModel.ListParams): Observable<CbmPrintSettingsModel.ListResponse>;
|
|
10
|
+
save(request: CbmPrintSettingsModel.SaveBody): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
11
|
+
update(id: string, params: CbmPrintSettingsModel.UpdateBody): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
12
|
+
delete(id: string): Observable<CbmPrintSettingsModel.ConfirmResponse>;
|
|
13
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { CbmServiceGroupModel } from "../../domain/models/service-group.domain.model";
|
|
3
|
-
import { Observable } from "rxjs";
|
|
4
|
-
export declare class CbmServiceGroupService {
|
|
5
|
-
private http;
|
|
6
|
-
constructor(http: HttpClient);
|
|
7
|
-
private readonly url;
|
|
8
|
-
list(params: CbmServiceGroupModel.ListParams): Observable<CbmServiceGroupModel.ListResponse>;
|
|
9
|
-
getOne(id: string): Observable<CbmServiceGroupModel.GetOneResponse>;
|
|
10
|
-
save(data: CbmServiceGroupModel.SaveBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
11
|
-
update(id: string, data: CbmServiceGroupModel.UpdateBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
12
|
-
changeStatus(id: string, data: CbmServiceGroupModel.ChangeStatusBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
13
|
-
delete(id: string): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
14
|
-
listAsTree(params: CbmServiceGroupModel.ListAsTreeParams): Observable<CbmServiceGroupModel.ListAsTreeResponse>;
|
|
15
|
-
}
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CbmServiceGroupModel } from "../../domain/models/service-group.domain.model";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
export declare class CbmServiceGroupService {
|
|
5
|
+
private http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
private readonly url;
|
|
8
|
+
list(params: CbmServiceGroupModel.ListParams): Observable<CbmServiceGroupModel.ListResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmServiceGroupModel.GetOneResponse>;
|
|
10
|
+
save(data: CbmServiceGroupModel.SaveBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
11
|
+
update(id: string, data: CbmServiceGroupModel.UpdateBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
12
|
+
changeStatus(id: string, data: CbmServiceGroupModel.ChangeStatusBody): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
13
|
+
delete(id: string): Observable<CbmServiceGroupModel.ConfirmResponse>;
|
|
14
|
+
listAsTree(params: CbmServiceGroupModel.ListAsTreeParams): Observable<CbmServiceGroupModel.ListAsTreeResponse>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { CbmSignatureSettingsModel } from '../../domain/models/signature-settings.domain.model';
|
|
4
|
+
import { ICbmSignatureSettingsRepository } from '../repositories/signature-settings.infrastructure.repository';
|
|
5
|
+
export declare class CbmSignatureSettingsService implements ICbmSignatureSettingsRepository {
|
|
6
|
+
private http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmSignatureSettingsModel.ListParams): Observable<CbmSignatureSettingsModel.ListResponse>;
|
|
10
|
+
save(body: CbmSignatureSettingsModel.SaveBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
11
|
+
getOne(id: string): Observable<CbmSignatureSettingsModel.GetOneResponse>;
|
|
12
|
+
update(id: string, body: CbmSignatureSettingsModel.UpdateBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
13
|
+
delete(id: string): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
14
|
+
changeStatus(id: string, body: CbmSignatureSettingsModel.ChangeStatusBody): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
15
|
+
restore(id: string): Observable<CbmSignatureSettingsModel.ConfirmResponse>;
|
|
16
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { CbmUserHistoryComponent } from '../components/user-history/user-history';
|
|
2
|
-
export { CbmModalConfirmComponent } from '../components/modal-confirm/modal-confirm';
|
|
3
|
-
export { CbmRecordDetailMetadataComponent } from '../components/record-detail-metadata/record-detail-metadata';
|
|
4
|
-
export { CbmDocumentsReferenceComponent } from '../components/documents-reference/documents-reference';
|
|
5
|
-
export { CbmAddClientComponent } from '../components/add-client/add-client';
|
|
6
|
-
export { CbmAccountingSeatComponent } from '../components/accounting-seat/accounting-seat';
|
|
7
|
-
export { CbmAdvancedItemSearchModal } from '../components/advanced-item-search-modal/advanced-item-search-modal';
|
|
8
|
-
export { CbmAttachmentsComponent } from '../components/attachments/attachments';
|
|
9
|
-
export { CbmDropzoneComponent } from '../components/dropzone/dropzone';
|
|
10
|
-
export { CbmEmptyComponent } from '../components/empty/empty';
|
|
11
|
-
export { CbmJsonModalComponent } from '../components/json-modal/json-modal';
|
|
12
|
-
export { CbmPaginationNavComponent } from '../components/pagination-nav/pagination-nav';
|
|
13
|
-
export { CbmTreeSelectComponent } from '../components/tree-select/tree-select';
|
|
14
|
-
export { CbmViewReportComponent } from '../components/view-reports/view-reports';
|
|
15
|
-
export { ConfirmationModal } from '../components/confirmation-modal/confirmation-modal';
|
|
16
|
-
export { StockByWarehouse } from '../components/stock-by-warehouse/stock-by-warehouse';
|
|
17
|
-
export { CbmAvailabilityBoardComponent } from '../components/availability-board/availability-board';
|
|
18
|
-
export { CbmRelationshipMapComponent } from '../components/relationship-map/relationship-map';
|
|
19
|
-
export { CbmAddProviderComponent } from '../components/add-provider/add-provider';
|
|
20
|
-
export { CbmTimelineComponent } from '../components/timeline/timeline';
|
|
1
|
+
export { CbmUserHistoryComponent } from '../components/user-history/user-history';
|
|
2
|
+
export { CbmModalConfirmComponent } from '../components/modal-confirm/modal-confirm';
|
|
3
|
+
export { CbmRecordDetailMetadataComponent } from '../components/record-detail-metadata/record-detail-metadata';
|
|
4
|
+
export { CbmDocumentsReferenceComponent } from '../components/documents-reference/documents-reference';
|
|
5
|
+
export { CbmAddClientComponent } from '../components/add-client/add-client';
|
|
6
|
+
export { CbmAccountingSeatComponent } from '../components/accounting-seat/accounting-seat';
|
|
7
|
+
export { CbmAdvancedItemSearchModal } from '../components/advanced-item-search-modal/advanced-item-search-modal';
|
|
8
|
+
export { CbmAttachmentsComponent } from '../components/attachments/attachments';
|
|
9
|
+
export { CbmDropzoneComponent } from '../components/dropzone/dropzone';
|
|
10
|
+
export { CbmEmptyComponent } from '../components/empty/empty';
|
|
11
|
+
export { CbmJsonModalComponent } from '../components/json-modal/json-modal';
|
|
12
|
+
export { CbmPaginationNavComponent } from '../components/pagination-nav/pagination-nav';
|
|
13
|
+
export { CbmTreeSelectComponent } from '../components/tree-select/tree-select';
|
|
14
|
+
export { CbmViewReportComponent } from '../components/view-reports/view-reports';
|
|
15
|
+
export { ConfirmationModal } from '../components/confirmation-modal/confirmation-modal';
|
|
16
|
+
export { StockByWarehouse } from '../components/stock-by-warehouse/stock-by-warehouse';
|
|
17
|
+
export { CbmAvailabilityBoardComponent } from '../components/availability-board/availability-board';
|
|
18
|
+
export { CbmRelationshipMapComponent } from '../components/relationship-map/relationship-map';
|
|
19
|
+
export { CbmAddProviderComponent } from '../components/add-provider/add-provider';
|
|
20
|
+
export { CbmTimelineComponent } from '../components/timeline/timeline';
|
|
@@ -59,3 +59,5 @@ export * from './repositories/territorial-organization.repository';
|
|
|
59
59
|
export * from './repositories/upload.repository';
|
|
60
60
|
export * from './repositories/user.repository';
|
|
61
61
|
export * from './repositories/warehouse.repository';
|
|
62
|
+
export * from './repositories/signature-settings.repository';
|
|
63
|
+
export * from './repositories/print-settings.repository';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -330,3 +330,10 @@ export * from './lib/domain/models/service-group.domain.model';
|
|
|
330
330
|
|
|
331
331
|
// #region timeline component
|
|
332
332
|
export * from './lib/components/timeline/timeline';
|
|
333
|
+
// #region signature settings repository
|
|
334
|
+
export * from './lib/domain/repositories/signature-settings.domain.repository';
|
|
335
|
+
export * from './lib/domain/models/signature-settings.domain.model';
|
|
336
|
+
|
|
337
|
+
// #region print settings repository
|
|
338
|
+
export * from './lib/domain/repositories/print-settings.domain.repository';
|
|
339
|
+
export * from './lib/domain/models/print-settings.domain.model';
|