@cbm-common/cbm-types 0.0.6 → 0.0.7
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/app.config.d.ts +2 -2
- package/lib/app.d.ts +3 -3
- package/lib/app.routes.d.ts +2 -2
- package/lib/components/accounting-seat/accounting-seat.d.ts +32 -32
- package/lib/components/accounting-seat/directives/drop-down-menu.directive.d.ts +13 -13
- package/lib/components/accounting-seat/directives/drop-down.directive.d.ts +10 -10
- package/lib/components/accounting-seat/types.d.ts +1 -1
- package/lib/components/advanced-item-search-modal/advanced-item-search-modal.d.ts +25 -25
- package/lib/components/advanced-item-search-modal/alternative-item-list/alternative-item-list.d.ts +25 -25
- package/lib/components/advanced-item-search-modal/animations.d.ts +2 -2
- package/lib/components/advanced-item-search-modal/constants.d.ts +1 -1
- package/lib/components/advanced-item-search-modal/item-list/item-list.d.ts +85 -85
- package/lib/components/advanced-item-search-modal/types.d.ts +7 -7
- package/lib/components/attachments/animations.d.ts +1 -1
- package/lib/components/attachments/attachments.d.ts +50 -50
- package/lib/components/attachments/components/button-item/button-item.d.ts +5 -5
- package/lib/components/attachments/components/buttons/buttons.d.ts +8 -8
- package/lib/components/attachments/components/grid-view/grid-view.d.ts +32 -32
- package/lib/components/attachments/components/icons/delete-icon/delete-icon.d.ts +2 -2
- package/lib/components/attachments/components/icons/download-icon/download-icon.d.ts +2 -2
- package/lib/components/attachments/components/list-view/list-view.d.ts +41 -41
- package/lib/components/attachments/types.d.ts +7 -7
- package/lib/components/documents-reference/animations.d.ts +1 -1
- package/lib/components/documents-reference/components/add/add.d.ts +112 -112
- package/lib/components/documents-reference/components/delete/delete.d.ts +28 -28
- package/lib/components/documents-reference/components/reference-document-by-tab/reference-document-by-tab.d.ts +39 -39
- package/lib/components/documents-reference/components/reference-document-to-tab/reference-document-to-tab.d.ts +42 -42
- package/lib/components/documents-reference/documents-reference.d.ts +21 -21
- package/lib/components/documents-reference/types.d.ts +56 -56
- package/lib/components/dropzone/dropzone.d.ts +17 -17
- package/lib/components/empty/empty.d.ts +17 -17
- package/lib/components/json-modal/json-modal.d.ts +14 -14
- package/lib/components/modal-confirm/modal-confirm.d.ts +23 -23
- package/lib/components/modal-confirm/ng-content.d.ts +8 -8
- package/lib/components/modal-confirm/types.d.ts +6 -6
- package/lib/components/pagination-nav/pagination-nav.d.ts +27 -27
- package/lib/components/pagination-nav/pagination-nav.model.d.ts +8 -8
- package/lib/components/record-detail-metadata/components/options/options.d.ts +13 -13
- package/lib/components/record-detail-metadata/directives/drop-down-menu.directive.d.ts +13 -13
- package/lib/components/record-detail-metadata/directives/drop-down.directive.d.ts +9 -9
- package/lib/components/record-detail-metadata/record-detail-metadata.d.ts +21 -21
- package/lib/components/record-detail-metadata/types.d.ts +48 -48
- package/lib/components/tree-select/tree-select.d.ts +60 -60
- package/lib/components/tree-select/types.d.ts +8 -8
- package/lib/components/user-history/components/email-history/email-history.component.d.ts +66 -66
- package/lib/components/user-history/components/email-history/emails-modal/emails-modal.component.d.ts +13 -13
- package/lib/components/user-history/components/general-history/general-history.component.d.ts +58 -58
- package/lib/components/user-history/components/print-history/print-history.component.d.ts +58 -58
- package/lib/components/user-history/components/sri-history/sri-history.component.d.ts +63 -63
- package/lib/components/user-history/components/tab-item/tab-item.component.d.ts +7 -7
- package/lib/components/user-history/components/tabs/tabs.component.d.ts +7 -7
- package/lib/components/user-history/constants.d.ts +1 -1
- package/lib/components/user-history/directives/drop-down.directive.d.ts +9 -9
- package/lib/components/user-history/types.d.ts +14 -14
- package/lib/components/user-history/user-history.d.ts +30 -30
- package/lib/directives/character-counter/character-counter.directive.d.ts +21 -21
- package/lib/directives/horizontal-overflow/components/arrow-left/arrow-left.component.d.ts +5 -5
- package/lib/directives/horizontal-overflow/components/arrow-right/arrow-right.component.d.ts +5 -5
- package/lib/directives/horizontal-overflow/horizontal-overflow-arrows.directive.d.ts +23 -23
- package/lib/directives/horizontal-overflow/horizontal-overflow-shadow.directive.d.ts +8 -8
- package/lib/directives/number-input.directive.d.ts +23 -23
- package/lib/directives/resize-container/resize-container.directive.d.ts +20 -20
- package/lib/directives/resize-container/resize-container.model.d.ts +6 -6
- package/lib/directives/text-input/text-input.directive.d.ts +14 -14
- package/lib/directives/text-input/types.d.ts +1 -1
- package/lib/directives/tooltip/tooltip/tooltip.d.ts +9 -9
- package/lib/directives/tooltip/tooltip/types.d.ts +2 -2
- package/lib/directives/tooltip/tooltip.directive.d.ts +26 -26
- package/lib/domain/models/alternative-item.domain.model.d.ts +198 -198
- package/lib/domain/models/bank-movements.domain.model.d.ts +60 -60
- package/lib/domain/models/bank.domain.model.d.ts +92 -92
- package/lib/domain/models/card-settlement.domain.model.d.ts +260 -260
- package/lib/domain/models/cash-liquidation.domain.model.d.ts +319 -319
- package/lib/domain/models/client-branch.domain.model.d.ts +35 -35
- package/lib/domain/models/client-category.domain.model.d.ts +69 -69
- package/lib/domain/models/client-group.domain.model.d.ts +102 -102
- package/lib/domain/models/client.domain.model.d.ts +375 -375
- package/lib/domain/models/company.domain.model.d.ts +354 -354
- package/lib/domain/models/contact.domain.model.d.ts +28 -28
- package/lib/domain/models/cost-center.domain.model.d.ts +111 -111
- package/lib/domain/models/deadline.domian.model.d.ts +76 -76
- package/lib/domain/models/document-reference.domain.model.d.ts +204 -204
- package/lib/domain/models/driver.domian.model.d.ts +94 -94
- package/lib/domain/models/email-settings.domain.model.d.ts +86 -86
- package/lib/domain/models/financial-bank.domain.model.d.ts +153 -153
- package/lib/domain/models/group.domain.model.d.ts +78 -78
- package/lib/domain/models/history.domain.model.d.ts +66 -66
- package/lib/domain/models/item.domain.model.d.ts +935 -935
- package/lib/domain/models/kit.domain.model.d.ts +508 -508
- package/lib/domain/models/outgoing-banking-transaction.domain.model.d.ts +125 -125
- package/lib/domain/models/price-list.domain.model.d.ts +54 -54
- package/lib/domain/models/report-financials.domain.model.d.ts +2165 -2165
- package/lib/domain/models/seat.domain.model.d.ts +325 -325
- package/lib/domain/models/seller.domain.model.d.ts +135 -135
- package/lib/domain/models/service-outsourcing.domain.model.d.ts +273 -273
- package/lib/domain/models/service.domain.model.d.ts +314 -314
- package/lib/domain/models/sri-history.domain.model.d.ts +298 -298
- package/lib/domain/models/upload.domain.model.d.ts +117 -117
- package/lib/domain/models/user.domain.model.d.ts +260 -260
- package/lib/domain/models/warehouse.domain.model.d.ts +97 -97
- package/lib/domain/repositories/alternative-item.domain.repository.d.ts +17 -17
- package/lib/domain/repositories/bank-movements.domain.repository.d.ts +10 -10
- package/lib/domain/repositories/bank.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/card-settlement.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/cash-liquidation.domain.repository.d.ts +13 -13
- package/lib/domain/repositories/client-branch.domain.repository.d.ts +8 -8
- package/lib/domain/repositories/client-category.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/client-group.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/client.domain.repository.d.ts +18 -18
- package/lib/domain/repositories/company.domain.repository.d.ts +16 -16
- package/lib/domain/repositories/contact.domain.repository.d.ts +8 -8
- package/lib/domain/repositories/cost-center.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/deadline.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/document-reference.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/driver.domain.repository.d.ts +14 -14
- package/lib/domain/repositories/email-settings.domain.repository.d.ts +13 -13
- package/lib/domain/repositories/financial-bank.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/group.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/history.domain.repository.d.ts +10 -10
- package/lib/domain/repositories/item.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/kit.domain.repository.d.ts +18 -18
- package/lib/domain/repositories/outgoing-banking-transaction.domain.repository.d.ts +12 -12
- package/lib/domain/repositories/price-list.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/report-financials.domain.repository.d.ts +241 -241
- package/lib/domain/repositories/seat.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/seller.domain.repository.d.ts +17 -17
- package/lib/domain/repositories/service-outsourcing.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/service.domain.repository.d.ts +20 -20
- package/lib/domain/repositories/sri-history.domain.repository.d.ts +9 -9
- package/lib/domain/repositories/upload.domain.repository.d.ts +15 -15
- package/lib/domain/repositories/user.domain.repository.d.ts +21 -21
- package/lib/domain/repositories/warehouse.domain.repository.d.ts +14 -14
- package/lib/domain/services/auth/auth.model.d.ts +182 -182
- package/lib/domain/services/auth/auth.service.d.ts +18 -18
- package/lib/domain/services/notification/notification.model.d.ts +15 -15
- package/lib/domain/services/notification/notification.service.d.ts +4 -4
- package/lib/domain/services/web-socket/web-socket.model.d.ts +32 -32
- package/lib/domain/services/web-socket/web-socket.service.d.ts +18 -18
- package/lib/environments/environment.d.ts +29 -29
- package/lib/infrastructure/repositories/alternative-item.infrastructure.repository.d.ts +14 -14
- package/lib/infrastructure/repositories/bank-movements.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/bank.infrastructure.repository.d.ts +10 -10
- package/lib/infrastructure/repositories/card-settlement.infrastructure.repository.d.ts +8 -8
- package/lib/infrastructure/repositories/cash-liquidation.infrastructure.repository.d.ts +9 -9
- package/lib/infrastructure/repositories/client-branch.infrastructure.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/client-category.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/client-group.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/client.infrastructure.repository.d.ts +15 -15
- package/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +13 -13
- package/lib/infrastructure/repositories/contac.infrastrucutre.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/cost-center.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/deadline.infrastructure.repository.d.ts +9 -9
- package/lib/infrastructure/repositories/document-reference.infrastructure.repository.d.ts +12 -12
- package/lib/infrastructure/repositories/driver.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/email-settings.infrastructure.repository.d.ts +10 -10
- package/lib/infrastructure/repositories/financial-bank.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/repositories/group.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/history.infrastructure.repository.d.ts +7 -7
- package/lib/infrastructure/repositories/item.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/kit.infrastructure.repository.d.ts +15 -15
- package/lib/infrastructure/repositories/outgoing-banking-transaction.infrastructure.repository.d.ts +8 -8
- package/lib/infrastructure/repositories/price-list.infrastructure.repository.d.ts +6 -6
- package/lib/infrastructure/repositories/report-financials.infrastructure.repository.d.ts +238 -238
- package/lib/infrastructure/repositories/seat.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/seller.infrastructure.repository.d.ts +14 -14
- package/lib/infrastructure/repositories/service-outsourcing.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/service.infrastructure.repository.d.ts +17 -17
- package/lib/infrastructure/repositories/sri-history.infrastructure.repository.d.ts +5 -5
- package/lib/infrastructure/repositories/upload.infrastructure.repository.d.ts +12 -12
- package/lib/infrastructure/repositories/user.infrastructure.repository.d.ts +18 -18
- package/lib/infrastructure/repositories/warehouse.infrastructure.repository.d.ts +11 -11
- package/lib/infrastructure/services/alternative-item.infrastructure.service.d.ts +19 -19
- package/lib/infrastructure/services/bank-movements.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/bank.infrasctructure.service.d.ts +15 -15
- package/lib/infrastructure/services/card-settlement.infrastructure.service.d.ts +13 -13
- package/lib/infrastructure/services/cash-liquidation.infrastructure.service.d.ts +14 -14
- package/lib/infrastructure/services/client-branch.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/client-category.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/client-group.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/client.infrastructure.service.d.ts +20 -20
- package/lib/infrastructure/services/company.infrastructure.service.d.ts +17 -17
- package/lib/infrastructure/services/contact.infrastructure.service.d.ts +10 -10
- package/lib/infrastructure/services/cost-center.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/deadline.infrastructure.service.d.ts +14 -14
- package/lib/infrastructure/services/document-reference.infrastructure.service.d.ts +17 -17
- package/lib/infrastructure/services/driver.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/email-settings.infrastruture.service.d.ts +14 -14
- package/lib/infrastructure/services/financial-bank.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/group.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/history.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/item.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/kit.infrastructure.service.d.ts +19 -19
- package/lib/infrastructure/services/outgoing-banking-transaction.infrastructure.service.d.ts +13 -13
- package/lib/infrastructure/services/price-list.infrastructure.service.d.ts +11 -11
- package/lib/infrastructure/services/report-financials.infrastructure.service.d.ts +246 -246
- package/lib/infrastructure/services/seat.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/seller.infrastructure.service.d.ts +19 -19
- package/lib/infrastructure/services/service-outsourcing.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/service.infrastructure.service.d.ts +21 -21
- package/lib/infrastructure/services/sri-history.infrastructure.service.d.ts +9 -9
- package/lib/infrastructure/services/upload.infrastructure.service.d.ts +16 -16
- package/lib/infrastructure/services/user.infrastructure.service.d.ts +22 -22
- package/lib/infrastructure/services/warehouse.infrastructure.service.d.ts +16 -16
- package/lib/pipes/error-translate-pipe/error-translate-pipe.d.ts +8 -8
- package/lib/remotes/components.remote.d.ts +2 -2
- package/lib/remotes/repositories/company.repository.d.ts +3 -3
- package/lib/remotes/repositories.remote.d.ts +1 -1
- package/lib/remotes/services/auth.service.d.ts +3 -3
- package/lib/remotes/services/web-socket.service.d.ts +4 -4
- package/lib/remotes/services.remote.d.ts +3 -3
- package/package.json +11 -2
|
@@ -1,182 +1,182 @@
|
|
|
1
|
-
export interface CbmAuthData {
|
|
2
|
-
iss: string;
|
|
3
|
-
sub: string;
|
|
4
|
-
aud: string;
|
|
5
|
-
kid: string;
|
|
6
|
-
jti: string;
|
|
7
|
-
type: string;
|
|
8
|
-
data: CbmAuthData.Data;
|
|
9
|
-
user: CbmAuthData.User;
|
|
10
|
-
company: CbmAuthData.Company;
|
|
11
|
-
companyBranchData: CbmAuthData.CompanyBranchData;
|
|
12
|
-
countries: CbmAuthData.Country[];
|
|
13
|
-
roles: CbmAuthData.Role[];
|
|
14
|
-
modules: CbmAuthData.Module[];
|
|
15
|
-
user_session_id: string;
|
|
16
|
-
subscription: CbmAuthData.Subscription;
|
|
17
|
-
iat: number;
|
|
18
|
-
exp: number;
|
|
19
|
-
}
|
|
20
|
-
export interface CbmTokenUserData {
|
|
21
|
-
iss: string;
|
|
22
|
-
sub: string;
|
|
23
|
-
aud: string;
|
|
24
|
-
kid: string;
|
|
25
|
-
jti: string;
|
|
26
|
-
type: string;
|
|
27
|
-
provider: string;
|
|
28
|
-
user: CbmTokenUserData.User;
|
|
29
|
-
country: CbmTokenUserData.Country[];
|
|
30
|
-
user_session_id: string;
|
|
31
|
-
iat: number;
|
|
32
|
-
exp: number;
|
|
33
|
-
}
|
|
34
|
-
export declare namespace CbmTokenUserData {
|
|
35
|
-
interface Country {
|
|
36
|
-
_id: string;
|
|
37
|
-
code: string;
|
|
38
|
-
name: string;
|
|
39
|
-
short_name: string;
|
|
40
|
-
companies: number;
|
|
41
|
-
}
|
|
42
|
-
interface User {
|
|
43
|
-
_id: string;
|
|
44
|
-
full_name: string;
|
|
45
|
-
email: string;
|
|
46
|
-
cellphone: string;
|
|
47
|
-
address: string;
|
|
48
|
-
super_admin: boolean;
|
|
49
|
-
multi_company: boolean;
|
|
50
|
-
photo: string;
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
export declare namespace CbmAuthData {
|
|
54
|
-
interface Data {
|
|
55
|
-
country_id: string;
|
|
56
|
-
code: string;
|
|
57
|
-
name: string;
|
|
58
|
-
short_name: string;
|
|
59
|
-
selected: boolean;
|
|
60
|
-
}
|
|
61
|
-
interface User {
|
|
62
|
-
_id: string;
|
|
63
|
-
username: string;
|
|
64
|
-
full_name: string;
|
|
65
|
-
email: string;
|
|
66
|
-
super_admin: boolean;
|
|
67
|
-
photo: string;
|
|
68
|
-
enabled: boolean;
|
|
69
|
-
}
|
|
70
|
-
interface Company {
|
|
71
|
-
_id: string;
|
|
72
|
-
NIF: string;
|
|
73
|
-
trade_name: string;
|
|
74
|
-
business_name: string;
|
|
75
|
-
address: string;
|
|
76
|
-
mandatory_accounting: boolean;
|
|
77
|
-
special_taxpayer: boolean;
|
|
78
|
-
special_taxpayer_number: string;
|
|
79
|
-
artisanal_qualification: boolean;
|
|
80
|
-
artisanal_qualification_number: string;
|
|
81
|
-
regime_id: string;
|
|
82
|
-
created_at: number;
|
|
83
|
-
}
|
|
84
|
-
interface CompanyBranchData {
|
|
85
|
-
_id: string;
|
|
86
|
-
trade_name: string;
|
|
87
|
-
identification_number: string;
|
|
88
|
-
logo: string;
|
|
89
|
-
address: string;
|
|
90
|
-
email: string;
|
|
91
|
-
cellphone: string;
|
|
92
|
-
phone: string;
|
|
93
|
-
environment: number;
|
|
94
|
-
enabled: boolean;
|
|
95
|
-
}
|
|
96
|
-
interface Country {
|
|
97
|
-
_id: string;
|
|
98
|
-
code: string;
|
|
99
|
-
name: string;
|
|
100
|
-
short_name: string;
|
|
101
|
-
selected: boolean;
|
|
102
|
-
}
|
|
103
|
-
interface Role {
|
|
104
|
-
_id: string;
|
|
105
|
-
name: string;
|
|
106
|
-
type: string;
|
|
107
|
-
user_role_id: string;
|
|
108
|
-
selected: boolean;
|
|
109
|
-
}
|
|
110
|
-
interface Module {
|
|
111
|
-
_id: string;
|
|
112
|
-
role_id: string;
|
|
113
|
-
module_id: string;
|
|
114
|
-
access: boolean;
|
|
115
|
-
module_name: string;
|
|
116
|
-
module_description: string;
|
|
117
|
-
module_host: string;
|
|
118
|
-
detail: Module.Detail[];
|
|
119
|
-
}
|
|
120
|
-
interface Subscription {
|
|
121
|
-
subscription_id?: string;
|
|
122
|
-
code?: string;
|
|
123
|
-
type_support?: string;
|
|
124
|
-
begin_date?: number;
|
|
125
|
-
end_date?: number;
|
|
126
|
-
status?: string;
|
|
127
|
-
}
|
|
128
|
-
namespace Module {
|
|
129
|
-
interface Detail {
|
|
130
|
-
_id: string;
|
|
131
|
-
role_id: string;
|
|
132
|
-
module_id: string;
|
|
133
|
-
module_detail_id: string;
|
|
134
|
-
option_create: boolean;
|
|
135
|
-
option_update: boolean;
|
|
136
|
-
option_delete: boolean;
|
|
137
|
-
option_list?: boolean;
|
|
138
|
-
option_view?: boolean;
|
|
139
|
-
option_reverse?: boolean;
|
|
140
|
-
module_detail_name: string;
|
|
141
|
-
module_detail_description: string;
|
|
142
|
-
module_detail_router: string;
|
|
143
|
-
module_detail_icon: string;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
export interface CbmConsoleTokenData {
|
|
148
|
-
iss: string;
|
|
149
|
-
sub: string;
|
|
150
|
-
aud: string;
|
|
151
|
-
kid: string;
|
|
152
|
-
jti: string;
|
|
153
|
-
type: string;
|
|
154
|
-
provider: string;
|
|
155
|
-
user: CbmConsoleTokenData.User;
|
|
156
|
-
country: CbmConsoleTokenData.Country;
|
|
157
|
-
iat: number;
|
|
158
|
-
exp: number;
|
|
159
|
-
}
|
|
160
|
-
export declare namespace CbmConsoleTokenData {
|
|
161
|
-
interface Country {
|
|
162
|
-
_id: string;
|
|
163
|
-
code: string;
|
|
164
|
-
name: string;
|
|
165
|
-
short_name: string;
|
|
166
|
-
}
|
|
167
|
-
interface User {
|
|
168
|
-
_id: string;
|
|
169
|
-
full_name: string;
|
|
170
|
-
email: string;
|
|
171
|
-
cellphone: string;
|
|
172
|
-
address: string;
|
|
173
|
-
super_admin: boolean;
|
|
174
|
-
multi_company: boolean;
|
|
175
|
-
photo: string;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
export declare enum LOCAL_STORAGE_KEY {
|
|
179
|
-
TOKEN_GLOBAL_KEY = "tokenGlobal",
|
|
180
|
-
TOKEN_USER_KEY = "tokenUser",
|
|
181
|
-
CONSOLE_TOKEN_KEY = "consoleToken"
|
|
182
|
-
}
|
|
1
|
+
export interface CbmAuthData {
|
|
2
|
+
iss: string;
|
|
3
|
+
sub: string;
|
|
4
|
+
aud: string;
|
|
5
|
+
kid: string;
|
|
6
|
+
jti: string;
|
|
7
|
+
type: string;
|
|
8
|
+
data: CbmAuthData.Data;
|
|
9
|
+
user: CbmAuthData.User;
|
|
10
|
+
company: CbmAuthData.Company;
|
|
11
|
+
companyBranchData: CbmAuthData.CompanyBranchData;
|
|
12
|
+
countries: CbmAuthData.Country[];
|
|
13
|
+
roles: CbmAuthData.Role[];
|
|
14
|
+
modules: CbmAuthData.Module[];
|
|
15
|
+
user_session_id: string;
|
|
16
|
+
subscription: CbmAuthData.Subscription;
|
|
17
|
+
iat: number;
|
|
18
|
+
exp: number;
|
|
19
|
+
}
|
|
20
|
+
export interface CbmTokenUserData {
|
|
21
|
+
iss: string;
|
|
22
|
+
sub: string;
|
|
23
|
+
aud: string;
|
|
24
|
+
kid: string;
|
|
25
|
+
jti: string;
|
|
26
|
+
type: string;
|
|
27
|
+
provider: string;
|
|
28
|
+
user: CbmTokenUserData.User;
|
|
29
|
+
country: CbmTokenUserData.Country[];
|
|
30
|
+
user_session_id: string;
|
|
31
|
+
iat: number;
|
|
32
|
+
exp: number;
|
|
33
|
+
}
|
|
34
|
+
export declare namespace CbmTokenUserData {
|
|
35
|
+
interface Country {
|
|
36
|
+
_id: string;
|
|
37
|
+
code: string;
|
|
38
|
+
name: string;
|
|
39
|
+
short_name: string;
|
|
40
|
+
companies: number;
|
|
41
|
+
}
|
|
42
|
+
interface User {
|
|
43
|
+
_id: string;
|
|
44
|
+
full_name: string;
|
|
45
|
+
email: string;
|
|
46
|
+
cellphone: string;
|
|
47
|
+
address: string;
|
|
48
|
+
super_admin: boolean;
|
|
49
|
+
multi_company: boolean;
|
|
50
|
+
photo: string;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
export declare namespace CbmAuthData {
|
|
54
|
+
interface Data {
|
|
55
|
+
country_id: string;
|
|
56
|
+
code: string;
|
|
57
|
+
name: string;
|
|
58
|
+
short_name: string;
|
|
59
|
+
selected: boolean;
|
|
60
|
+
}
|
|
61
|
+
interface User {
|
|
62
|
+
_id: string;
|
|
63
|
+
username: string;
|
|
64
|
+
full_name: string;
|
|
65
|
+
email: string;
|
|
66
|
+
super_admin: boolean;
|
|
67
|
+
photo: string;
|
|
68
|
+
enabled: boolean;
|
|
69
|
+
}
|
|
70
|
+
interface Company {
|
|
71
|
+
_id: string;
|
|
72
|
+
NIF: string;
|
|
73
|
+
trade_name: string;
|
|
74
|
+
business_name: string;
|
|
75
|
+
address: string;
|
|
76
|
+
mandatory_accounting: boolean;
|
|
77
|
+
special_taxpayer: boolean;
|
|
78
|
+
special_taxpayer_number: string;
|
|
79
|
+
artisanal_qualification: boolean;
|
|
80
|
+
artisanal_qualification_number: string;
|
|
81
|
+
regime_id: string;
|
|
82
|
+
created_at: number;
|
|
83
|
+
}
|
|
84
|
+
interface CompanyBranchData {
|
|
85
|
+
_id: string;
|
|
86
|
+
trade_name: string;
|
|
87
|
+
identification_number: string;
|
|
88
|
+
logo: string;
|
|
89
|
+
address: string;
|
|
90
|
+
email: string;
|
|
91
|
+
cellphone: string;
|
|
92
|
+
phone: string;
|
|
93
|
+
environment: number;
|
|
94
|
+
enabled: boolean;
|
|
95
|
+
}
|
|
96
|
+
interface Country {
|
|
97
|
+
_id: string;
|
|
98
|
+
code: string;
|
|
99
|
+
name: string;
|
|
100
|
+
short_name: string;
|
|
101
|
+
selected: boolean;
|
|
102
|
+
}
|
|
103
|
+
interface Role {
|
|
104
|
+
_id: string;
|
|
105
|
+
name: string;
|
|
106
|
+
type: string;
|
|
107
|
+
user_role_id: string;
|
|
108
|
+
selected: boolean;
|
|
109
|
+
}
|
|
110
|
+
interface Module {
|
|
111
|
+
_id: string;
|
|
112
|
+
role_id: string;
|
|
113
|
+
module_id: string;
|
|
114
|
+
access: boolean;
|
|
115
|
+
module_name: string;
|
|
116
|
+
module_description: string;
|
|
117
|
+
module_host: string;
|
|
118
|
+
detail: Module.Detail[];
|
|
119
|
+
}
|
|
120
|
+
interface Subscription {
|
|
121
|
+
subscription_id?: string;
|
|
122
|
+
code?: string;
|
|
123
|
+
type_support?: string;
|
|
124
|
+
begin_date?: number;
|
|
125
|
+
end_date?: number;
|
|
126
|
+
status?: string;
|
|
127
|
+
}
|
|
128
|
+
namespace Module {
|
|
129
|
+
interface Detail {
|
|
130
|
+
_id: string;
|
|
131
|
+
role_id: string;
|
|
132
|
+
module_id: string;
|
|
133
|
+
module_detail_id: string;
|
|
134
|
+
option_create: boolean;
|
|
135
|
+
option_update: boolean;
|
|
136
|
+
option_delete: boolean;
|
|
137
|
+
option_list?: boolean;
|
|
138
|
+
option_view?: boolean;
|
|
139
|
+
option_reverse?: boolean;
|
|
140
|
+
module_detail_name: string;
|
|
141
|
+
module_detail_description: string;
|
|
142
|
+
module_detail_router: string;
|
|
143
|
+
module_detail_icon: string;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
export interface CbmConsoleTokenData {
|
|
148
|
+
iss: string;
|
|
149
|
+
sub: string;
|
|
150
|
+
aud: string;
|
|
151
|
+
kid: string;
|
|
152
|
+
jti: string;
|
|
153
|
+
type: string;
|
|
154
|
+
provider: string;
|
|
155
|
+
user: CbmConsoleTokenData.User;
|
|
156
|
+
country: CbmConsoleTokenData.Country;
|
|
157
|
+
iat: number;
|
|
158
|
+
exp: number;
|
|
159
|
+
}
|
|
160
|
+
export declare namespace CbmConsoleTokenData {
|
|
161
|
+
interface Country {
|
|
162
|
+
_id: string;
|
|
163
|
+
code: string;
|
|
164
|
+
name: string;
|
|
165
|
+
short_name: string;
|
|
166
|
+
}
|
|
167
|
+
interface User {
|
|
168
|
+
_id: string;
|
|
169
|
+
full_name: string;
|
|
170
|
+
email: string;
|
|
171
|
+
cellphone: string;
|
|
172
|
+
address: string;
|
|
173
|
+
super_admin: boolean;
|
|
174
|
+
multi_company: boolean;
|
|
175
|
+
photo: string;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
export declare enum LOCAL_STORAGE_KEY {
|
|
179
|
+
TOKEN_GLOBAL_KEY = "tokenGlobal",
|
|
180
|
+
TOKEN_USER_KEY = "tokenUser",
|
|
181
|
+
CONSOLE_TOKEN_KEY = "consoleToken"
|
|
182
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Router } from '@angular/router';
|
|
2
|
-
import { CbmAuthData, CbmConsoleTokenData, CbmTokenUserData } from './auth.model';
|
|
3
|
-
export declare class CbmAuthService {
|
|
4
|
-
private readonly router;
|
|
5
|
-
constructor(router: Router);
|
|
6
|
-
private token$;
|
|
7
|
-
private globalTokenData?;
|
|
8
|
-
private userTokenData?;
|
|
9
|
-
private consoleTokenData?;
|
|
10
|
-
set authToken(token: string);
|
|
11
|
-
set userToken(token: string);
|
|
12
|
-
set consoleToken(token: string);
|
|
13
|
-
get authData(): CbmAuthData;
|
|
14
|
-
get userData(): CbmTokenUserData;
|
|
15
|
-
get consoleData(): CbmConsoleTokenData;
|
|
16
|
-
private logOut;
|
|
17
|
-
private jwtDecode;
|
|
18
|
-
}
|
|
1
|
+
import { Router } from '@angular/router';
|
|
2
|
+
import { CbmAuthData, CbmConsoleTokenData, CbmTokenUserData } from './auth.model';
|
|
3
|
+
export declare class CbmAuthService {
|
|
4
|
+
private readonly router;
|
|
5
|
+
constructor(router: Router);
|
|
6
|
+
private token$;
|
|
7
|
+
private globalTokenData?;
|
|
8
|
+
private userTokenData?;
|
|
9
|
+
private consoleTokenData?;
|
|
10
|
+
set authToken(token: string);
|
|
11
|
+
set userToken(token: string);
|
|
12
|
+
set consoleToken(token: string);
|
|
13
|
+
get authData(): CbmAuthData;
|
|
14
|
+
get userData(): CbmTokenUserData;
|
|
15
|
+
get consoleData(): CbmConsoleTokenData;
|
|
16
|
+
private logOut;
|
|
17
|
+
private jwtDecode;
|
|
18
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
-
export interface CbmAlertData {
|
|
3
|
-
type: CbmAlertData.Type;
|
|
4
|
-
status: CbmAlertData.Status;
|
|
5
|
-
message: string;
|
|
6
|
-
template?: {
|
|
7
|
-
ngTemplate: TemplateRef<any>;
|
|
8
|
-
data: any;
|
|
9
|
-
viewContainerRef: ViewContainerRef;
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export declare namespace CbmAlertData {
|
|
13
|
-
type Type = 'sweetAlert' | 'toast' | 'toastRight';
|
|
14
|
-
type Status = 'success' | 'warning' | 'error';
|
|
15
|
-
}
|
|
1
|
+
import { TemplateRef, ViewContainerRef } from "@angular/core";
|
|
2
|
+
export interface CbmAlertData {
|
|
3
|
+
type: CbmAlertData.Type;
|
|
4
|
+
status: CbmAlertData.Status;
|
|
5
|
+
message: string;
|
|
6
|
+
template?: {
|
|
7
|
+
ngTemplate: TemplateRef<any>;
|
|
8
|
+
data: any;
|
|
9
|
+
viewContainerRef: ViewContainerRef;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare namespace CbmAlertData {
|
|
13
|
+
type Type = 'sweetAlert' | 'toast' | 'toastRight';
|
|
14
|
+
type Status = 'success' | 'warning' | 'error';
|
|
15
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CbmAlertData } from './notification.model';
|
|
2
|
-
export declare class CbmNotificationService {
|
|
3
|
-
sendAlert(data: CbmAlertData): void;
|
|
4
|
-
}
|
|
1
|
+
import { CbmAlertData } from './notification.model';
|
|
2
|
+
export declare class CbmNotificationService {
|
|
3
|
+
sendAlert(data: CbmAlertData): void;
|
|
4
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
export declare namespace CbmWebSocketModel {
|
|
2
|
-
interface RefreshStock {
|
|
3
|
-
company_id: string;
|
|
4
|
-
warehouse_id: string;
|
|
5
|
-
items: RefreshStock.Item[];
|
|
6
|
-
}
|
|
7
|
-
namespace RefreshStock {
|
|
8
|
-
interface Item {
|
|
9
|
-
item_id: string;
|
|
10
|
-
in_stock: number;
|
|
11
|
-
batch: Item.Batch[];
|
|
12
|
-
series: Item.Series[];
|
|
13
|
-
}
|
|
14
|
-
namespace Item {
|
|
15
|
-
interface Batch {
|
|
16
|
-
batch_id: string;
|
|
17
|
-
batch_code: string;
|
|
18
|
-
in_stock: number;
|
|
19
|
-
}
|
|
20
|
-
interface Series {
|
|
21
|
-
series_id: string;
|
|
22
|
-
series: string;
|
|
23
|
-
in_stock: number;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
interface LogoutAuth {
|
|
28
|
-
user_id: string;
|
|
29
|
-
user_session_ids: string[];
|
|
30
|
-
message: string;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
1
|
+
export declare namespace CbmWebSocketModel {
|
|
2
|
+
interface RefreshStock {
|
|
3
|
+
company_id: string;
|
|
4
|
+
warehouse_id: string;
|
|
5
|
+
items: RefreshStock.Item[];
|
|
6
|
+
}
|
|
7
|
+
namespace RefreshStock {
|
|
8
|
+
interface Item {
|
|
9
|
+
item_id: string;
|
|
10
|
+
in_stock: number;
|
|
11
|
+
batch: Item.Batch[];
|
|
12
|
+
series: Item.Series[];
|
|
13
|
+
}
|
|
14
|
+
namespace Item {
|
|
15
|
+
interface Batch {
|
|
16
|
+
batch_id: string;
|
|
17
|
+
batch_code: string;
|
|
18
|
+
in_stock: number;
|
|
19
|
+
}
|
|
20
|
+
interface Series {
|
|
21
|
+
series_id: string;
|
|
22
|
+
series: string;
|
|
23
|
+
in_stock: number;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
interface LogoutAuth {
|
|
28
|
+
user_id: string;
|
|
29
|
+
user_session_ids: string[];
|
|
30
|
+
message: string;
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { CbmAuthService } from '@services/auth/auth.service';
|
|
2
|
-
import { Socket } from 'ngx-socket-io';
|
|
3
|
-
import { Observable, Subject } from 'rxjs';
|
|
4
|
-
import { CbmWebSocketModel } from './web-socket.model';
|
|
5
|
-
export declare class CbmWebSocketService {
|
|
6
|
-
private socket;
|
|
7
|
-
private authService;
|
|
8
|
-
constructor(socket: Socket, authService: CbmAuthService);
|
|
9
|
-
socketOn(observer: Subject<string>): void;
|
|
10
|
-
refreshStock(): Observable<CbmWebSocketModel.RefreshStock>;
|
|
11
|
-
joinStockRoom(): void;
|
|
12
|
-
refreshReport(): Observable<any>;
|
|
13
|
-
joinReport(): void;
|
|
14
|
-
refreshImportExcel(): Observable<any>;
|
|
15
|
-
joinImportExcel(): void;
|
|
16
|
-
logoutAuth<T = CbmWebSocketModel.LogoutAuth>(): Observable<T>;
|
|
17
|
-
joinLogoutAuth(): void;
|
|
18
|
-
}
|
|
1
|
+
import { CbmAuthService } from '@services/auth/auth.service';
|
|
2
|
+
import { Socket } from 'ngx-socket-io';
|
|
3
|
+
import { Observable, Subject } from 'rxjs';
|
|
4
|
+
import { CbmWebSocketModel } from './web-socket.model';
|
|
5
|
+
export declare class CbmWebSocketService {
|
|
6
|
+
private socket;
|
|
7
|
+
private authService;
|
|
8
|
+
constructor(socket: Socket, authService: CbmAuthService);
|
|
9
|
+
socketOn(observer: Subject<string>): void;
|
|
10
|
+
refreshStock(): Observable<CbmWebSocketModel.RefreshStock>;
|
|
11
|
+
joinStockRoom(): void;
|
|
12
|
+
refreshReport(): Observable<any>;
|
|
13
|
+
joinReport(): void;
|
|
14
|
+
refreshImportExcel(): Observable<any>;
|
|
15
|
+
joinImportExcel(): void;
|
|
16
|
+
logoutAuth<T = CbmWebSocketModel.LogoutAuth>(): Observable<T>;
|
|
17
|
+
joinLogoutAuth(): void;
|
|
18
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
export declare const environment: {
|
|
2
|
-
apiGateway: string;
|
|
3
|
-
msAuth: string;
|
|
4
|
-
readonly msCPC: string;
|
|
5
|
-
readonly msCPP: string;
|
|
6
|
-
readonly msSalesEc: string;
|
|
7
|
-
readonly msSales: string;
|
|
8
|
-
readonly msPurchases: string;
|
|
9
|
-
readonly msFinancials: string;
|
|
10
|
-
readonly msInventory: string;
|
|
11
|
-
readonly msGlobal: string;
|
|
12
|
-
readonly msPartners: string;
|
|
13
|
-
readonly msSettings: string;
|
|
14
|
-
readonly msUtil: string;
|
|
15
|
-
readonly msAudit: string;
|
|
16
|
-
readonly msUpload: string;
|
|
17
|
-
readonly msMechanicalWorkshop: string;
|
|
18
|
-
readonly msFixedAssets: string;
|
|
19
|
-
readonly msPms: string;
|
|
20
|
-
readonly msReportSales: string;
|
|
21
|
-
readonly msReportFinancials: string;
|
|
22
|
-
readonly msService: string;
|
|
23
|
-
webSocket: string;
|
|
24
|
-
hostAuth: string;
|
|
25
|
-
hostApp: string;
|
|
26
|
-
sessionTokenUser: string | null;
|
|
27
|
-
sessionTokenGlobal: string | null;
|
|
28
|
-
manifestPath: string;
|
|
29
|
-
};
|
|
1
|
+
export declare const environment: {
|
|
2
|
+
apiGateway: string;
|
|
3
|
+
msAuth: string;
|
|
4
|
+
readonly msCPC: string;
|
|
5
|
+
readonly msCPP: string;
|
|
6
|
+
readonly msSalesEc: string;
|
|
7
|
+
readonly msSales: string;
|
|
8
|
+
readonly msPurchases: string;
|
|
9
|
+
readonly msFinancials: string;
|
|
10
|
+
readonly msInventory: string;
|
|
11
|
+
readonly msGlobal: string;
|
|
12
|
+
readonly msPartners: string;
|
|
13
|
+
readonly msSettings: string;
|
|
14
|
+
readonly msUtil: string;
|
|
15
|
+
readonly msAudit: string;
|
|
16
|
+
readonly msUpload: string;
|
|
17
|
+
readonly msMechanicalWorkshop: string;
|
|
18
|
+
readonly msFixedAssets: string;
|
|
19
|
+
readonly msPms: string;
|
|
20
|
+
readonly msReportSales: string;
|
|
21
|
+
readonly msReportFinancials: string;
|
|
22
|
+
readonly msService: string;
|
|
23
|
+
webSocket: string;
|
|
24
|
+
hostAuth: string;
|
|
25
|
+
hostApp: string;
|
|
26
|
+
sessionTokenUser: string | null;
|
|
27
|
+
sessionTokenGlobal: string | null;
|
|
28
|
+
manifestPath: string;
|
|
29
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { CbmAlternativeItemModel } from '@models/alternative-item.domain.model';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export interface ICbmAlternativeItemInfrastructureRepository {
|
|
4
|
-
listParents(): Observable<CbmAlternativeItemModel.ListParentsResponse>;
|
|
5
|
-
listChildren(parentId: string): Observable<CbmAlternativeItemModel.ListChildrenResponse>;
|
|
6
|
-
getOne(id: string): Observable<CbmAlternativeItemModel.GetOneResponse>;
|
|
7
|
-
save(data: CbmAlternativeItemModel.SaveBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
8
|
-
saveBulk(data: CbmAlternativeItemModel.SaveBulkBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
9
|
-
update(id: string, data: CbmAlternativeItemModel.UpdateBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
10
|
-
updateBulk(data: CbmAlternativeItemModel.UpdateBulkBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
11
|
-
changeStatus(id: string, data: CbmAlternativeItemModel.ChangeStatusBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
12
|
-
delete(id: string): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
13
|
-
listParentsPaginated(params: CbmAlternativeItemModel.ListParentsPaginatedParams): Observable<CbmAlternativeItemModel.ListParentsPaginatedResponse>;
|
|
14
|
-
}
|
|
1
|
+
import { CbmAlternativeItemModel } from '@models/alternative-item.domain.model';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export interface ICbmAlternativeItemInfrastructureRepository {
|
|
4
|
+
listParents(): Observable<CbmAlternativeItemModel.ListParentsResponse>;
|
|
5
|
+
listChildren(parentId: string): Observable<CbmAlternativeItemModel.ListChildrenResponse>;
|
|
6
|
+
getOne(id: string): Observable<CbmAlternativeItemModel.GetOneResponse>;
|
|
7
|
+
save(data: CbmAlternativeItemModel.SaveBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
8
|
+
saveBulk(data: CbmAlternativeItemModel.SaveBulkBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
9
|
+
update(id: string, data: CbmAlternativeItemModel.UpdateBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
10
|
+
updateBulk(data: CbmAlternativeItemModel.UpdateBulkBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
11
|
+
changeStatus(id: string, data: CbmAlternativeItemModel.ChangeStatusBody): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
12
|
+
delete(id: string): Observable<CbmAlternativeItemModel.ConfirmResponse>;
|
|
13
|
+
listParentsPaginated(params: CbmAlternativeItemModel.ListParentsPaginatedParams): Observable<CbmAlternativeItemModel.ListParentsPaginatedResponse>;
|
|
14
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CbmBankMovementsModel } from '@models/bank-movements.domain.model';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export interface ICbmBankMovementsRepository {
|
|
4
|
-
validationOperation(params: CbmBankMovementsModel.ValidationOperationParams): Observable<CbmBankMovementsModel.ValidationOperationResponse>;
|
|
5
|
-
list(params: CbmBankMovementsModel.ListParams): Observable<CbmBankMovementsModel.ListResponse>;
|
|
6
|
-
}
|
|
1
|
+
import { CbmBankMovementsModel } from '@models/bank-movements.domain.model';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export interface ICbmBankMovementsRepository {
|
|
4
|
+
validationOperation(params: CbmBankMovementsModel.ValidationOperationParams): Observable<CbmBankMovementsModel.ValidationOperationResponse>;
|
|
5
|
+
list(params: CbmBankMovementsModel.ListParams): Observable<CbmBankMovementsModel.ListResponse>;
|
|
6
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { CbmBankModel } from '@models/bank.domain.model';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
export interface ICbmBankRepository {
|
|
4
|
-
list(params: CbmBankModel.ListParams): Observable<CbmBankModel.ListResponse>;
|
|
5
|
-
getOne(id: string): Observable<CbmBankModel.GetOneResponse>;
|
|
6
|
-
save(data: CbmBankModel.SaveBody): Observable<CbmBankModel.ConfirmResponse>;
|
|
7
|
-
update(id: string, data: CbmBankModel.UpdateBody): Observable<CbmBankModel.ConfirmResponse>;
|
|
8
|
-
changeStatus(id: string, data: CbmBankModel.ChangeStatusBody): Observable<CbmBankModel.ConfirmResponse>;
|
|
9
|
-
delete(id: string): Observable<CbmBankModel.ConfirmResponse>;
|
|
10
|
-
}
|
|
1
|
+
import { CbmBankModel } from '@models/bank.domain.model';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export interface ICbmBankRepository {
|
|
4
|
+
list(params: CbmBankModel.ListParams): Observable<CbmBankModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmBankModel.GetOneResponse>;
|
|
6
|
+
save(data: CbmBankModel.SaveBody): Observable<CbmBankModel.ConfirmResponse>;
|
|
7
|
+
update(id: string, data: CbmBankModel.UpdateBody): Observable<CbmBankModel.ConfirmResponse>;
|
|
8
|
+
changeStatus(id: string, data: CbmBankModel.ChangeStatusBody): Observable<CbmBankModel.ConfirmResponse>;
|
|
9
|
+
delete(id: string): Observable<CbmBankModel.ConfirmResponse>;
|
|
10
|
+
}
|