@cbm-common/cbm-types 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/domain/models/company.domain.model.d.ts +4 -0
- package/lib/domain/models/declaration-code-configuration.domain.model.d.ts +55 -0
- package/lib/domain/models/deposit-cheque.domain.model.d.ts +278 -0
- package/lib/domain/models/income-banking-transaction.domain.model.d.ts +125 -0
- package/lib/domain/models/incoterm.domain.model.d.ts +23 -0
- package/lib/domain/models/sri-payment-term.domain.model.d.ts +30 -0
- package/lib/domain/models/work-order.domain.model.d.ts +141 -0
- package/lib/domain/repositories/declaration-code-configuration.domain.repository.d.ts +12 -0
- package/lib/domain/repositories/deposit-cheque.domain.repository.d.ts +11 -0
- package/lib/domain/repositories/income-banking-transaction.domain.repository.d.ts +11 -0
- package/lib/domain/repositories/incoterm.domain.repository.d.ts +8 -0
- package/lib/domain/repositories/sri-payment-term.domian.repository.d.ts +9 -0
- package/lib/domain/repositories/work-order.domain.repository.d.ts +13 -0
- package/lib/infrastructure/repositories/declaration-code-configuration.infrastructure.repository.d.ts +9 -0
- package/lib/infrastructure/repositories/deposit-cheque.infrastructure.repository.d.ts +8 -0
- package/lib/infrastructure/repositories/income-banking-transaction.infrastructure.repository.d.ts +8 -0
- package/lib/infrastructure/repositories/incoterm.infrastructure.repository.d.ts +5 -0
- package/lib/infrastructure/repositories/sri-payment-term.infrastructure.repository.d.ts +6 -0
- package/lib/infrastructure/repositories/work-order.infrastructure.d.ts +10 -0
- package/lib/infrastructure/services/company.infrastructure.service.d.ts +5 -4
- package/lib/infrastructure/services/declaration-code-configuration.infrastructure.service.d.ts +14 -0
- package/lib/infrastructure/services/deposit-cheque.infrastructure.service.d.ts +13 -0
- package/lib/infrastructure/services/income-banking-transaction.infrastructure.service.d.ts +13 -0
- package/lib/infrastructure/services/incoterm.infrastructure.service.d.ts +10 -0
- package/lib/infrastructure/services/sri-payment-term.infrastructure.service.d.ts +10 -0
- package/lib/infrastructure/services/work-order.infrastructure.service.d.ts +15 -0
- package/lib/remotes/repositories/deposit-cheque.repository.d.ts +3 -0
- package/lib/remotes/repositories/income-banking-transaction.repository.d.ts +3 -0
- package/lib/remotes/repositories/incoterm.repository.d.ts +3 -0
- package/lib/remotes/repositories/service-group.repository.d.ts +3 -0
- package/lib/remotes/repositories/sri-payment-term.repository.d.ts +3 -0
- package/lib/remotes/repositories/unit-measure.repository.d.ts +3 -3
- package/lib/remotes/repositories/work-order.repository.d.ts +3 -0
- package/lib/remotes/repositories.remote.d.ts +8 -0
- package/package.json +1 -1
- package/public-api.d.ts +19 -0
|
@@ -166,6 +166,10 @@ export declare namespace CbmCompanyModel {
|
|
|
166
166
|
contry_short_name: string;
|
|
167
167
|
country_code: string;
|
|
168
168
|
country_name: string;
|
|
169
|
+
country_short_name?: string;
|
|
170
|
+
environment?: number;
|
|
171
|
+
country_locale?: string;
|
|
172
|
+
country_timezone?: string;
|
|
169
173
|
}
|
|
170
174
|
namespace Data {
|
|
171
175
|
interface Regime {
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export declare namespace CbmDeclarationCodeConfigurationModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
name?: string;
|
|
5
|
+
}
|
|
6
|
+
interface ListResponse {
|
|
7
|
+
_id: string;
|
|
8
|
+
country_id: string;
|
|
9
|
+
raw_code: string;
|
|
10
|
+
net_code: string;
|
|
11
|
+
tax_code?: string;
|
|
12
|
+
description: string;
|
|
13
|
+
type: string;
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
deleted: boolean;
|
|
16
|
+
created_at: number;
|
|
17
|
+
created_user: string;
|
|
18
|
+
updated_at?: number;
|
|
19
|
+
updated_user?: string;
|
|
20
|
+
}
|
|
21
|
+
interface SaveBody {
|
|
22
|
+
raw_code?: string;
|
|
23
|
+
net_code?: string;
|
|
24
|
+
tax_code?: string;
|
|
25
|
+
description: string;
|
|
26
|
+
type: string;
|
|
27
|
+
}
|
|
28
|
+
interface GetOneResponse {
|
|
29
|
+
_id: string;
|
|
30
|
+
country_id: string;
|
|
31
|
+
raw_code?: string;
|
|
32
|
+
net_code?: string;
|
|
33
|
+
tax_code?: string;
|
|
34
|
+
description: string;
|
|
35
|
+
type: string;
|
|
36
|
+
enabled: boolean;
|
|
37
|
+
deleted: boolean;
|
|
38
|
+
created_at: number;
|
|
39
|
+
created_user: string;
|
|
40
|
+
updated_at?: number;
|
|
41
|
+
updated_user?: string;
|
|
42
|
+
}
|
|
43
|
+
interface UpdateBody {
|
|
44
|
+
aw_code?: string;
|
|
45
|
+
net_code?: string;
|
|
46
|
+
tax_code?: string;
|
|
47
|
+
description?: string;
|
|
48
|
+
type?: string;
|
|
49
|
+
}
|
|
50
|
+
interface ConfirmResponse {
|
|
51
|
+
success: boolean;
|
|
52
|
+
message: string;
|
|
53
|
+
data?: any;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,278 @@
|
|
|
1
|
+
export declare namespace CbmDepositChequeModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
page: number;
|
|
4
|
+
size: number;
|
|
5
|
+
document_number?: string;
|
|
6
|
+
bank_name?: string;
|
|
7
|
+
operation_number?: string;
|
|
8
|
+
category_id?: string;
|
|
9
|
+
date_end?: number;
|
|
10
|
+
date_begin?: number;
|
|
11
|
+
enabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
interface ListResponse {
|
|
14
|
+
success: boolean;
|
|
15
|
+
pageNum: number;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
pages: number;
|
|
18
|
+
total: number;
|
|
19
|
+
items: ListResponse.Item[];
|
|
20
|
+
}
|
|
21
|
+
namespace ListResponse {
|
|
22
|
+
interface Item {
|
|
23
|
+
_id: string;
|
|
24
|
+
company_id: string;
|
|
25
|
+
company_branch_id: string;
|
|
26
|
+
company_NIF: string;
|
|
27
|
+
company_address: string;
|
|
28
|
+
company_trade_name: string;
|
|
29
|
+
company_business_name: string;
|
|
30
|
+
company_branch_identification_number: string;
|
|
31
|
+
company_branch_trade_name: string;
|
|
32
|
+
company_branch_logo: string;
|
|
33
|
+
company_branch_address: string;
|
|
34
|
+
company_branch_email: string;
|
|
35
|
+
company_branch_cellphone: string;
|
|
36
|
+
company_branch_phone: string;
|
|
37
|
+
financials_bank_id: string;
|
|
38
|
+
financials_bank_name: string;
|
|
39
|
+
financials_bank_account_number: string;
|
|
40
|
+
cost_center_id: string;
|
|
41
|
+
document_nomenclature: string;
|
|
42
|
+
document_number: string;
|
|
43
|
+
total_payment: number;
|
|
44
|
+
deposit_date: number;
|
|
45
|
+
date: number;
|
|
46
|
+
operation_number: string;
|
|
47
|
+
enabled: boolean;
|
|
48
|
+
created_at: number;
|
|
49
|
+
created_user: string;
|
|
50
|
+
reverse_status: boolean;
|
|
51
|
+
reverse_at: number;
|
|
52
|
+
comment: string;
|
|
53
|
+
movement_number: string;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
interface SaveBody {
|
|
57
|
+
company_NIF: string;
|
|
58
|
+
company_address: string;
|
|
59
|
+
company_trade_name: string;
|
|
60
|
+
company_business_name: string;
|
|
61
|
+
company_branch_identification_number: string;
|
|
62
|
+
company_branch_trade_name: string;
|
|
63
|
+
company_branch_logo: string;
|
|
64
|
+
company_branch_address: string;
|
|
65
|
+
company_branch_email: string;
|
|
66
|
+
company_branch_cellphone: string;
|
|
67
|
+
company_branch_phone: string;
|
|
68
|
+
financials_bank_id: string;
|
|
69
|
+
financials_bank_name: string;
|
|
70
|
+
financials_bank_account_number: string;
|
|
71
|
+
cost_center_id: string;
|
|
72
|
+
date: number;
|
|
73
|
+
operation_number: string;
|
|
74
|
+
total_payment: number;
|
|
75
|
+
deposit_date: number;
|
|
76
|
+
comment: string;
|
|
77
|
+
deposit_cheque_detail: SaveBody.Detail[];
|
|
78
|
+
}
|
|
79
|
+
namespace SaveBody {
|
|
80
|
+
interface Detail {
|
|
81
|
+
cheque_management_id: string;
|
|
82
|
+
document_date: number;
|
|
83
|
+
bank_name: string;
|
|
84
|
+
operation_number: string;
|
|
85
|
+
date: number;
|
|
86
|
+
payment_date: number;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
interface GetOneResponse {
|
|
90
|
+
success: boolean;
|
|
91
|
+
data: GetOneResponse.Data;
|
|
92
|
+
}
|
|
93
|
+
namespace GetOneResponse {
|
|
94
|
+
interface Data {
|
|
95
|
+
_id: string;
|
|
96
|
+
company_id: string;
|
|
97
|
+
company_branch_id: string;
|
|
98
|
+
company_NIF: string;
|
|
99
|
+
company_address: string;
|
|
100
|
+
company_trade_name: string;
|
|
101
|
+
company_business_name: string;
|
|
102
|
+
company_branch_identification_number: string;
|
|
103
|
+
company_branch_trade_name: string;
|
|
104
|
+
company_branch_logo: string;
|
|
105
|
+
company_branch_address: string;
|
|
106
|
+
company_branch_email: string;
|
|
107
|
+
company_branch_cellphone: string;
|
|
108
|
+
company_branch_phone: string;
|
|
109
|
+
financials_bank_id: string;
|
|
110
|
+
financials_bank_name: string;
|
|
111
|
+
financials_bank_account_number: string;
|
|
112
|
+
cost_center_id: string;
|
|
113
|
+
document_nomenclature: string;
|
|
114
|
+
document_number: string;
|
|
115
|
+
total_payment: number;
|
|
116
|
+
deposit_date: number;
|
|
117
|
+
date: number;
|
|
118
|
+
operation_number: string;
|
|
119
|
+
enabled: boolean;
|
|
120
|
+
created_at: number;
|
|
121
|
+
created_user: string;
|
|
122
|
+
reverse_status: boolean;
|
|
123
|
+
reverse_at: number;
|
|
124
|
+
reverse_user: string;
|
|
125
|
+
reverse_reason: string;
|
|
126
|
+
comment: string;
|
|
127
|
+
movement_number: string;
|
|
128
|
+
cost_center_code: string;
|
|
129
|
+
cost_center_code_manual: string;
|
|
130
|
+
cost_center_name: string;
|
|
131
|
+
cost_center_description: string;
|
|
132
|
+
bank_account_account_number: string;
|
|
133
|
+
deposit_cheque_detail: Data.Detail[];
|
|
134
|
+
}
|
|
135
|
+
namespace Data {
|
|
136
|
+
interface Detail {
|
|
137
|
+
_id: string;
|
|
138
|
+
deposit_cheque_id: string;
|
|
139
|
+
cheque_management_id: string;
|
|
140
|
+
document_date: number;
|
|
141
|
+
bank_name: string;
|
|
142
|
+
operation_number: string;
|
|
143
|
+
date: number;
|
|
144
|
+
payment_date: number;
|
|
145
|
+
created_user: string;
|
|
146
|
+
created_at: number;
|
|
147
|
+
cheque_management_detail: Detail.CreditManagement[];
|
|
148
|
+
}
|
|
149
|
+
namespace Detail {
|
|
150
|
+
interface CreditManagement {
|
|
151
|
+
_id: string;
|
|
152
|
+
company_id: string;
|
|
153
|
+
company_branch_id: string;
|
|
154
|
+
collection_origin_id: string;
|
|
155
|
+
bank_id: string;
|
|
156
|
+
collection_origin_name: string;
|
|
157
|
+
collection_origin_document_number: string;
|
|
158
|
+
operation_number: string;
|
|
159
|
+
date: number;
|
|
160
|
+
payment_date: number;
|
|
161
|
+
total: number;
|
|
162
|
+
deposit_value: number;
|
|
163
|
+
reverse_value: number;
|
|
164
|
+
balance: number;
|
|
165
|
+
bank_name: string;
|
|
166
|
+
number_cheque: string;
|
|
167
|
+
beneficiary: string;
|
|
168
|
+
beneficiary_document_number: string;
|
|
169
|
+
id_beneficiary: string;
|
|
170
|
+
company_NIF: string;
|
|
171
|
+
company_address: string;
|
|
172
|
+
company_trade_name: string;
|
|
173
|
+
company_business_name: string;
|
|
174
|
+
company_branch_identification_number: string;
|
|
175
|
+
company_branch_trade_name: string;
|
|
176
|
+
company_branch_address: string;
|
|
177
|
+
company_branch_email: string;
|
|
178
|
+
company_branch_cellphone: string;
|
|
179
|
+
company_branch_phone: string;
|
|
180
|
+
enabled: boolean;
|
|
181
|
+
protested: boolean;
|
|
182
|
+
deleted: boolean;
|
|
183
|
+
created_user: string;
|
|
184
|
+
reverse_status: boolean;
|
|
185
|
+
movement_number: string;
|
|
186
|
+
request: CreditManagement.Request;
|
|
187
|
+
created_at: number;
|
|
188
|
+
}
|
|
189
|
+
namespace CreditManagement {
|
|
190
|
+
interface Request {
|
|
191
|
+
user_id: string;
|
|
192
|
+
date_document: number;
|
|
193
|
+
date_account: number;
|
|
194
|
+
total: number;
|
|
195
|
+
company_branch_address: string;
|
|
196
|
+
company_branch_email: string;
|
|
197
|
+
company_branch_phone: string;
|
|
198
|
+
company_branch_cellphone: string;
|
|
199
|
+
cost_center_code: string;
|
|
200
|
+
cost_center_id: string;
|
|
201
|
+
cost_center_name: string;
|
|
202
|
+
detail_income: Request.Income[];
|
|
203
|
+
detail_payment_options: Request.PaymentOption[];
|
|
204
|
+
company_id: string;
|
|
205
|
+
company_NIF: string;
|
|
206
|
+
company_trade_name: string;
|
|
207
|
+
company_business_name: string;
|
|
208
|
+
company_branch_id: string;
|
|
209
|
+
company_branch_identification_number: string;
|
|
210
|
+
company_branch_trade_name: string;
|
|
211
|
+
company_branch_logo: string;
|
|
212
|
+
created_user: string;
|
|
213
|
+
type: string;
|
|
214
|
+
document_number: string;
|
|
215
|
+
document_nomenclature: string;
|
|
216
|
+
movement_number: string;
|
|
217
|
+
}
|
|
218
|
+
namespace Request {
|
|
219
|
+
interface Income {
|
|
220
|
+
credit_management_id: string;
|
|
221
|
+
credit_management_detail_id: string;
|
|
222
|
+
client_id: string;
|
|
223
|
+
client_branch_id: string;
|
|
224
|
+
seller_id: string;
|
|
225
|
+
cost_center_id: string;
|
|
226
|
+
installment: string;
|
|
227
|
+
paid: number;
|
|
228
|
+
previous_balance: number;
|
|
229
|
+
subsequent_balance: number;
|
|
230
|
+
client_document_number: string;
|
|
231
|
+
client_trade_name: string;
|
|
232
|
+
client_business_name: string;
|
|
233
|
+
client_phone_code: string;
|
|
234
|
+
client_address: string;
|
|
235
|
+
client_cellphone: string;
|
|
236
|
+
client_email: string;
|
|
237
|
+
seller_identification_number: string;
|
|
238
|
+
seller_full_name: string;
|
|
239
|
+
seller_document_number: string;
|
|
240
|
+
cost_center_code: string;
|
|
241
|
+
cost_center_name: string;
|
|
242
|
+
client_branch_code: string;
|
|
243
|
+
client_branch_name: string;
|
|
244
|
+
client_branch_address: string;
|
|
245
|
+
client_branch_email: string;
|
|
246
|
+
client_branch_cellphone: string;
|
|
247
|
+
client_branch_phone: string;
|
|
248
|
+
client_branch_phone_code: string;
|
|
249
|
+
credit_document_nomenclature: string;
|
|
250
|
+
credit_document_number: string;
|
|
251
|
+
invoice_date: number;
|
|
252
|
+
invoice_number: string;
|
|
253
|
+
}
|
|
254
|
+
interface PaymentOption {
|
|
255
|
+
global_bank_id: string;
|
|
256
|
+
payment_term_code: string;
|
|
257
|
+
payment_term_name: string;
|
|
258
|
+
value: number;
|
|
259
|
+
payment_term_id: string;
|
|
260
|
+
bank_cheque: string;
|
|
261
|
+
date: number;
|
|
262
|
+
financial_bank_id: string;
|
|
263
|
+
financial_bank_name: string;
|
|
264
|
+
number_cheque: string;
|
|
265
|
+
operation_number: string;
|
|
266
|
+
batch_code: string;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
interface ConfirmResponse {
|
|
274
|
+
success: boolean;
|
|
275
|
+
message: string;
|
|
276
|
+
data?: any;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
export declare namespace CbmIncomeBankingTransactionModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
page: number;
|
|
4
|
+
size: number;
|
|
5
|
+
date_end?: number;
|
|
6
|
+
date_begin?: number;
|
|
7
|
+
reverse_status?: boolean;
|
|
8
|
+
document_number?: string;
|
|
9
|
+
operation_number?: number;
|
|
10
|
+
cost_center_id?: string;
|
|
11
|
+
total?: number;
|
|
12
|
+
financials_bank_id?: string;
|
|
13
|
+
}
|
|
14
|
+
interface ListResponse {
|
|
15
|
+
success: boolean;
|
|
16
|
+
pageNum: number;
|
|
17
|
+
pageSize: number;
|
|
18
|
+
pages: number;
|
|
19
|
+
total: number;
|
|
20
|
+
items: ListResponse.Item[];
|
|
21
|
+
}
|
|
22
|
+
namespace ListResponse {
|
|
23
|
+
interface Item {
|
|
24
|
+
_id: string;
|
|
25
|
+
company_id: string;
|
|
26
|
+
company_branch_id: string;
|
|
27
|
+
financials_bank_id: string;
|
|
28
|
+
cost_center_id: string;
|
|
29
|
+
date: number;
|
|
30
|
+
financials_bank_name: string;
|
|
31
|
+
financials_bank_account_number: string;
|
|
32
|
+
document_nomenclature: string;
|
|
33
|
+
document_number: string;
|
|
34
|
+
operation_number: string;
|
|
35
|
+
total: number;
|
|
36
|
+
reason: string;
|
|
37
|
+
beneficiary: string;
|
|
38
|
+
cost_center_name: string;
|
|
39
|
+
cost_center_code: string;
|
|
40
|
+
cost_center_code_manual: string;
|
|
41
|
+
enabled: boolean;
|
|
42
|
+
created_user: string;
|
|
43
|
+
reverse_status: boolean;
|
|
44
|
+
created_at: number;
|
|
45
|
+
reverse_at?: number;
|
|
46
|
+
reverse_reason?: string;
|
|
47
|
+
reverse_user?: string;
|
|
48
|
+
movement_number: string;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
interface SaveBody {
|
|
52
|
+
financials_bank_id: string;
|
|
53
|
+
financials_bank_name: string;
|
|
54
|
+
financials_bank_account_number: string;
|
|
55
|
+
cost_center_id: string;
|
|
56
|
+
date: number;
|
|
57
|
+
operation_number: string;
|
|
58
|
+
total: number;
|
|
59
|
+
reason: string;
|
|
60
|
+
beneficiary: string;
|
|
61
|
+
cost_center_name: string;
|
|
62
|
+
cost_center_code: string;
|
|
63
|
+
cost_center_code_manual: string;
|
|
64
|
+
income_banking_transaction_detail: SaveBody.Detail[];
|
|
65
|
+
}
|
|
66
|
+
namespace SaveBody {
|
|
67
|
+
interface Detail {
|
|
68
|
+
account_id: string;
|
|
69
|
+
account_name: string;
|
|
70
|
+
account_code: string;
|
|
71
|
+
value: number;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
interface GetOneResponse {
|
|
75
|
+
success: boolean;
|
|
76
|
+
data: GetOneResponse.Data;
|
|
77
|
+
}
|
|
78
|
+
namespace GetOneResponse {
|
|
79
|
+
interface Data {
|
|
80
|
+
_id: string;
|
|
81
|
+
company_id: string;
|
|
82
|
+
company_branch_id: string;
|
|
83
|
+
financials_bank_id: string;
|
|
84
|
+
financials_bank_name: string;
|
|
85
|
+
financials_bank_account_number: string;
|
|
86
|
+
cost_center_id: string;
|
|
87
|
+
date: number;
|
|
88
|
+
document_nomenclature: string;
|
|
89
|
+
document_number: string;
|
|
90
|
+
operation_number: string;
|
|
91
|
+
total: number;
|
|
92
|
+
reason: string;
|
|
93
|
+
beneficiary: string;
|
|
94
|
+
cost_center_name: string;
|
|
95
|
+
cost_center_code: string;
|
|
96
|
+
cost_center_code_manual: string;
|
|
97
|
+
enabled: boolean;
|
|
98
|
+
created_user: string;
|
|
99
|
+
reverse_status: boolean;
|
|
100
|
+
created_at: number;
|
|
101
|
+
reverse_at: number;
|
|
102
|
+
reverse_reason: string;
|
|
103
|
+
reverse_user: string;
|
|
104
|
+
movement_number: string;
|
|
105
|
+
income_banking_transaction_detail: Data.Detail[];
|
|
106
|
+
}
|
|
107
|
+
namespace Data {
|
|
108
|
+
interface Detail {
|
|
109
|
+
_id: string;
|
|
110
|
+
income_banking_transaction_id: string;
|
|
111
|
+
account_id: string;
|
|
112
|
+
account_name: string;
|
|
113
|
+
account_code: string;
|
|
114
|
+
value: number;
|
|
115
|
+
created_user: string;
|
|
116
|
+
created_at: number;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
interface ConfirmResponse {
|
|
121
|
+
success: boolean;
|
|
122
|
+
message: string;
|
|
123
|
+
data?: any;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare namespace CbmIncotermModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
enabled?: boolean;
|
|
4
|
+
code?: string;
|
|
5
|
+
name?: string;
|
|
6
|
+
}
|
|
7
|
+
interface ListResponse {
|
|
8
|
+
success: boolean;
|
|
9
|
+
data: ListResponse.Data[];
|
|
10
|
+
}
|
|
11
|
+
namespace ListResponse {
|
|
12
|
+
interface Data {
|
|
13
|
+
_id: string;
|
|
14
|
+
code?: string;
|
|
15
|
+
name?: string;
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
created_user?: string;
|
|
18
|
+
created_at?: number;
|
|
19
|
+
updated_user?: string;
|
|
20
|
+
updated_at?: number;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare namespace CbmSriPaymentTermModel {
|
|
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
|
+
}
|
|
17
|
+
}
|
|
18
|
+
interface GetOneResponse {
|
|
19
|
+
success: boolean;
|
|
20
|
+
data: GetOneResponse.Data;
|
|
21
|
+
}
|
|
22
|
+
namespace GetOneResponse {
|
|
23
|
+
interface Data {
|
|
24
|
+
_id: string;
|
|
25
|
+
country_id?: string;
|
|
26
|
+
code?: string;
|
|
27
|
+
name?: string;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
export declare namespace CbmWorkOrderModel {
|
|
2
|
+
interface ListParams {
|
|
3
|
+
page: number;
|
|
4
|
+
size: number;
|
|
5
|
+
date_begin?: number;
|
|
6
|
+
date_end?: number;
|
|
7
|
+
enabled?: boolean;
|
|
8
|
+
document_number?: string;
|
|
9
|
+
vehicle_id?: string;
|
|
10
|
+
filter?: string;
|
|
11
|
+
}
|
|
12
|
+
interface ListResponse {
|
|
13
|
+
success: boolean;
|
|
14
|
+
pageNum: number;
|
|
15
|
+
pageSize: number;
|
|
16
|
+
pages: number;
|
|
17
|
+
total: number;
|
|
18
|
+
items: ListResponse.Item[];
|
|
19
|
+
}
|
|
20
|
+
namespace ListResponse {
|
|
21
|
+
interface Item {
|
|
22
|
+
_id: string;
|
|
23
|
+
company_id: string;
|
|
24
|
+
company_branch_id: string;
|
|
25
|
+
vehicle_id: string;
|
|
26
|
+
user_id: string;
|
|
27
|
+
client_id: string;
|
|
28
|
+
seller_id: string;
|
|
29
|
+
entrance_id: string;
|
|
30
|
+
document_nomenclature: string;
|
|
31
|
+
document_number: string;
|
|
32
|
+
reason: string;
|
|
33
|
+
commentary: string;
|
|
34
|
+
company_NIF: string;
|
|
35
|
+
company_address: string;
|
|
36
|
+
company_trade_name: string;
|
|
37
|
+
company_business_name: string;
|
|
38
|
+
company_branch_identification_number: string;
|
|
39
|
+
company_branch_trade_name: string;
|
|
40
|
+
company_branch_logo: string;
|
|
41
|
+
company_branch_address: string;
|
|
42
|
+
company_branch_email: string;
|
|
43
|
+
company_branch_cellphone: string;
|
|
44
|
+
company_branch_phone: string;
|
|
45
|
+
client_document_number: string;
|
|
46
|
+
client_trade_name: string;
|
|
47
|
+
client_business_name: string;
|
|
48
|
+
client_phone_code?: string;
|
|
49
|
+
client_address: string;
|
|
50
|
+
client_cellphone: string;
|
|
51
|
+
client_email?: string[];
|
|
52
|
+
seller_identification_number: string;
|
|
53
|
+
seller_full_name: string;
|
|
54
|
+
enabled: boolean;
|
|
55
|
+
created_user: string;
|
|
56
|
+
date: number;
|
|
57
|
+
created_at: number;
|
|
58
|
+
updated_at?: number;
|
|
59
|
+
updated_user?: string;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
interface GetOneResponse {
|
|
63
|
+
success: boolean;
|
|
64
|
+
data: GetOneResponse.Data;
|
|
65
|
+
}
|
|
66
|
+
namespace GetOneResponse {
|
|
67
|
+
interface Data {
|
|
68
|
+
_id?: string;
|
|
69
|
+
company_id?: string;
|
|
70
|
+
company_branch_id?: string;
|
|
71
|
+
vehicle_id?: string;
|
|
72
|
+
user_id?: string;
|
|
73
|
+
client_id?: string;
|
|
74
|
+
seller_id?: string;
|
|
75
|
+
entrance_id?: string;
|
|
76
|
+
document_nomenclature?: string;
|
|
77
|
+
document_number?: string;
|
|
78
|
+
reason?: string;
|
|
79
|
+
commentary?: string;
|
|
80
|
+
company_NIF?: string;
|
|
81
|
+
company_address?: string;
|
|
82
|
+
company_trade_name?: string;
|
|
83
|
+
company_business_name?: string;
|
|
84
|
+
company_branch_identification_number?: string;
|
|
85
|
+
company_branch_trade_name?: string;
|
|
86
|
+
company_branch_logo?: string;
|
|
87
|
+
company_branch_address?: string;
|
|
88
|
+
company_branch_email?: string;
|
|
89
|
+
company_branch_cellphone?: string;
|
|
90
|
+
company_branch_phone?: string;
|
|
91
|
+
client_document_number?: string;
|
|
92
|
+
client_trade_name?: string;
|
|
93
|
+
client_business_name?: string;
|
|
94
|
+
client_phone_code?: string;
|
|
95
|
+
client_address?: string;
|
|
96
|
+
client_cellphone?: string;
|
|
97
|
+
client_email?: string[];
|
|
98
|
+
seller_identification_number?: string;
|
|
99
|
+
seller_full_name?: string;
|
|
100
|
+
enabled?: boolean;
|
|
101
|
+
deleted?: boolean;
|
|
102
|
+
created_user?: string;
|
|
103
|
+
date?: number;
|
|
104
|
+
created_at?: number;
|
|
105
|
+
updated_at?: number;
|
|
106
|
+
updated_user?: string;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
interface SaveBody {
|
|
110
|
+
vehicle_id: string;
|
|
111
|
+
client_id: string;
|
|
112
|
+
seller_id: string;
|
|
113
|
+
entrance_id: string;
|
|
114
|
+
reason: string;
|
|
115
|
+
commentary: string;
|
|
116
|
+
company_NIF: string;
|
|
117
|
+
company_address: string;
|
|
118
|
+
company_trade_name: string;
|
|
119
|
+
company_business_name: string;
|
|
120
|
+
company_branch_identification_number: string;
|
|
121
|
+
company_branch_trade_name: string;
|
|
122
|
+
company_branch_logo: string;
|
|
123
|
+
company_branch_address: string;
|
|
124
|
+
company_branch_email: string;
|
|
125
|
+
company_branch_cellphone: string;
|
|
126
|
+
company_branch_phone: string;
|
|
127
|
+
}
|
|
128
|
+
interface UpdateBody {
|
|
129
|
+
reason: string;
|
|
130
|
+
commentary: string;
|
|
131
|
+
}
|
|
132
|
+
interface ChangeStatusBody {
|
|
133
|
+
enabled: boolean;
|
|
134
|
+
disabled_reason?: string;
|
|
135
|
+
}
|
|
136
|
+
interface ConfirmResponse {
|
|
137
|
+
success: boolean;
|
|
138
|
+
message: string;
|
|
139
|
+
data?: any;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ICbmDeclarationCodeConfigurationInfrastructureRepository } from '../../infrastructure/repositories/declaration-code-configuration.infrastructure.repository';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CbmDeclarationCodeConfigurationModel } from '../models/declaration-code-configuration.domain.model';
|
|
4
|
+
export declare class CbmDeclarationCodeConfigurationDomainRepository implements ICbmDeclarationCodeConfigurationInfrastructureRepository {
|
|
5
|
+
private readonly service;
|
|
6
|
+
constructor(service: ICbmDeclarationCodeConfigurationInfrastructureRepository);
|
|
7
|
+
list(params: CbmDeclarationCodeConfigurationModel.ListParams): Observable<CbmDeclarationCodeConfigurationModel.ListResponse[]>;
|
|
8
|
+
save(data: CbmDeclarationCodeConfigurationModel.SaveBody): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
9
|
+
update(id: string, data: CbmDeclarationCodeConfigurationModel.SaveBody): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
10
|
+
getOne(id: string): Observable<CbmDeclarationCodeConfigurationModel.GetOneResponse>;
|
|
11
|
+
delete(id: string): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CbmDepositChequeModel } from "../models/deposit-cheque.domain.model";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { ICbmDepositChequeRepository } from "../../infrastructure/repositories/deposit-cheque.infrastructure.repository";
|
|
4
|
+
export declare class CbmDepositChequeRepository implements ICbmDepositChequeRepository {
|
|
5
|
+
private readonly service;
|
|
6
|
+
constructor(service: ICbmDepositChequeRepository);
|
|
7
|
+
list(params: CbmDepositChequeModel.ListParams): Observable<CbmDepositChequeModel.ListResponse>;
|
|
8
|
+
save(request: CbmDepositChequeModel.SaveBody): Observable<CbmDepositChequeModel.ConfirmResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmDepositChequeModel.GetOneResponse>;
|
|
10
|
+
generateOrRegenerateSeat(id: string): Observable<CbmDepositChequeModel.ConfirmResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ICbmIncomeBankingTransactionRepository } from "../../infrastructure/repositories/income-banking-transaction.infrastructure.repository";
|
|
2
|
+
import { CbmIncomeBankingTransactionModel } from "../models/income-banking-transaction.domain.model";
|
|
3
|
+
import { Observable } from "rxjs";
|
|
4
|
+
export declare class CbmIncomeBankingTransactionRepository implements ICbmIncomeBankingTransactionRepository {
|
|
5
|
+
private readonly service;
|
|
6
|
+
constructor(service: ICbmIncomeBankingTransactionRepository);
|
|
7
|
+
list(params: CbmIncomeBankingTransactionModel.ListParams): Observable<CbmIncomeBankingTransactionModel.ListResponse>;
|
|
8
|
+
save(request: CbmIncomeBankingTransactionModel.SaveBody): Observable<CbmIncomeBankingTransactionModel.ConfirmResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmIncomeBankingTransactionModel.GetOneResponse>;
|
|
10
|
+
generateOrRegenerateSeat(id: string): Observable<CbmIncomeBankingTransactionModel.ConfirmResponse>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmIncotermModel } from "../models/incoterm.domain.model";
|
|
3
|
+
import { ICbmIncotermRepository } from "../../infrastructure/repositories/incoterm.infrastructure.repository";
|
|
4
|
+
export declare class CbmIncotermRepository implements ICbmIncotermRepository {
|
|
5
|
+
private readonly service;
|
|
6
|
+
constructor(service: ICbmIncotermRepository);
|
|
7
|
+
list(params: CbmIncotermModel.ListParams): Observable<CbmIncotermModel.ListResponse>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmSriPaymentTermModel } from "../models/sri-payment-term.domain.model";
|
|
3
|
+
import { ICbmSriPaymentTermRepository } from "../../infrastructure/repositories/sri-payment-term.infrastructure.repository";
|
|
4
|
+
export declare class CbmSriPaymentTermRepository implements ICbmSriPaymentTermRepository {
|
|
5
|
+
private service;
|
|
6
|
+
constructor(service: ICbmSriPaymentTermRepository);
|
|
7
|
+
list(params: CbmSriPaymentTermModel.ListParams): Observable<CbmSriPaymentTermModel.ListResponse>;
|
|
8
|
+
getOne(id: string): Observable<CbmSriPaymentTermModel.GetOneResponse>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { ICbmWorkOrderRepository } from "../../infrastructure/repositories/work-order.infrastructure";
|
|
3
|
+
import { CbmWorkOrderModel } from "../models/work-order.domain.model";
|
|
4
|
+
export declare class CbmWorkOrderRepository implements ICbmWorkOrderRepository {
|
|
5
|
+
private service;
|
|
6
|
+
constructor(service: ICbmWorkOrderRepository);
|
|
7
|
+
list(params: CbmWorkOrderModel.ListParams): Observable<CbmWorkOrderModel.ListResponse>;
|
|
8
|
+
getOne(id: string): Observable<CbmWorkOrderModel.GetOneResponse>;
|
|
9
|
+
save(data: CbmWorkOrderModel.SaveBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
10
|
+
update(id: string, data: CbmWorkOrderModel.UpdateBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
11
|
+
changeStatus(id: string, data: CbmWorkOrderModel.ChangeStatusBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
12
|
+
delete(id: string): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmDeclarationCodeConfigurationModel } from "../../domain/models/declaration-code-configuration.domain.model";
|
|
3
|
+
export interface ICbmDeclarationCodeConfigurationInfrastructureRepository {
|
|
4
|
+
list(params: CbmDeclarationCodeConfigurationModel.ListParams): Observable<CbmDeclarationCodeConfigurationModel.ListResponse[]>;
|
|
5
|
+
save(data: CbmDeclarationCodeConfigurationModel.SaveBody): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
6
|
+
update(id: string, data: CbmDeclarationCodeConfigurationModel.SaveBody): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
7
|
+
getOne(id: string): Observable<CbmDeclarationCodeConfigurationModel.GetOneResponse>;
|
|
8
|
+
delete(id: string): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmDepositChequeModel } from "../../domain/models/deposit-cheque.domain.model";
|
|
3
|
+
export interface ICbmDepositChequeRepository {
|
|
4
|
+
list(params: CbmDepositChequeModel.ListParams): Observable<CbmDepositChequeModel.ListResponse>;
|
|
5
|
+
save(request: CbmDepositChequeModel.SaveBody): Observable<CbmDepositChequeModel.ConfirmResponse>;
|
|
6
|
+
getOne(id: string): Observable<CbmDepositChequeModel.GetOneResponse>;
|
|
7
|
+
generateOrRegenerateSeat(id: string): Observable<CbmDepositChequeModel.ConfirmResponse>;
|
|
8
|
+
}
|
package/lib/infrastructure/repositories/income-banking-transaction.infrastructure.repository.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmIncomeBankingTransactionModel } from "../../domain/models/income-banking-transaction.domain.model";
|
|
3
|
+
export interface ICbmIncomeBankingTransactionRepository {
|
|
4
|
+
list(params: CbmIncomeBankingTransactionModel.ListParams): Observable<CbmIncomeBankingTransactionModel.ListResponse>;
|
|
5
|
+
save(request: CbmIncomeBankingTransactionModel.SaveBody): Observable<CbmIncomeBankingTransactionModel.ConfirmResponse>;
|
|
6
|
+
getOne(id: string): Observable<CbmIncomeBankingTransactionModel.GetOneResponse>;
|
|
7
|
+
generateOrRegenerateSeat(id: string): Observable<CbmIncomeBankingTransactionModel.ConfirmResponse>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmSriPaymentTermModel } from "../../domain/models/sri-payment-term.domain.model";
|
|
3
|
+
export interface ICbmSriPaymentTermRepository {
|
|
4
|
+
list(params: CbmSriPaymentTermModel.ListParams): Observable<CbmSriPaymentTermModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmSriPaymentTermModel.GetOneResponse>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
import { CbmWorkOrderModel } from "../../domain/models/work-order.domain.model";
|
|
3
|
+
export interface ICbmWorkOrderRepository {
|
|
4
|
+
list(params: CbmWorkOrderModel.ListParams): Observable<CbmWorkOrderModel.ListResponse>;
|
|
5
|
+
getOne(id: string): Observable<CbmWorkOrderModel.GetOneResponse>;
|
|
6
|
+
save(data: CbmWorkOrderModel.SaveBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
7
|
+
update(id: string, data: CbmWorkOrderModel.UpdateBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
8
|
+
changeStatus(id: string, data: CbmWorkOrderModel.ChangeStatusBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
9
|
+
delete(id: string): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
10
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { HttpClient } from
|
|
2
|
-
import { CbmCompanyModel } from
|
|
3
|
-
import { Observable } from
|
|
4
|
-
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { CbmCompanyModel } from '../../domain/models/company.domain.model';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { ICbmCompanyInfrastructureRepository } from '../repositories/company.infrastructure.repository';
|
|
5
|
+
export declare class CbmCompanyInfrastructureService implements ICbmCompanyInfrastructureRepository {
|
|
5
6
|
private readonly http;
|
|
6
7
|
constructor(http: HttpClient);
|
|
7
8
|
private readonly url;
|
package/lib/infrastructure/services/declaration-code-configuration.infrastructure.service.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ICbmDeclarationCodeConfigurationInfrastructureRepository } from '../repositories/declaration-code-configuration.infrastructure.repository';
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { CbmDeclarationCodeConfigurationModel } from '../../domain/models/declaration-code-configuration.domain.model';
|
|
5
|
+
export declare class CbmDeclarationCodeConfigurationInfrastructureService implements ICbmDeclarationCodeConfigurationInfrastructureRepository {
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmDeclarationCodeConfigurationModel.ListParams): Observable<CbmDeclarationCodeConfigurationModel.ListResponse[]>;
|
|
10
|
+
save(data: CbmDeclarationCodeConfigurationModel.SaveBody): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
11
|
+
update(id: string, data: CbmDeclarationCodeConfigurationModel.UpdateBody): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
12
|
+
getOne(id: string): Observable<CbmDeclarationCodeConfigurationModel.GetOneResponse>;
|
|
13
|
+
delete(id: string): Observable<CbmDeclarationCodeConfigurationModel.ConfirmResponse>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CbmDepositChequeModel } from '../../domain/models/deposit-cheque.domain.model';
|
|
4
|
+
import { ICbmDepositChequeRepository } from '../repositories/deposit-cheque.infrastructure.repository';
|
|
5
|
+
export declare class CbmDepositChequeService implements ICbmDepositChequeRepository {
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmDepositChequeModel.ListParams): Observable<CbmDepositChequeModel.ListResponse>;
|
|
10
|
+
getOne(id: string): Observable<CbmDepositChequeModel.GetOneResponse>;
|
|
11
|
+
save(params: CbmDepositChequeModel.SaveBody): Observable<CbmDepositChequeModel.ConfirmResponse>;
|
|
12
|
+
generateOrRegenerateSeat(id: string): Observable<CbmDepositChequeModel.ConfirmResponse>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { CbmIncomeBankingTransactionModel } from '../../domain/models/income-banking-transaction.domain.model';
|
|
4
|
+
import { ICbmIncomeBankingTransactionRepository } from '../repositories/income-banking-transaction.infrastructure.repository';
|
|
5
|
+
export declare class CbmIncomeBankingTransactionService implements ICbmIncomeBankingTransactionRepository {
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmIncomeBankingTransactionModel.ListParams): Observable<CbmIncomeBankingTransactionModel.ListResponse>;
|
|
10
|
+
save(request: CbmIncomeBankingTransactionModel.SaveBody): Observable<CbmIncomeBankingTransactionModel.ConfirmResponse>;
|
|
11
|
+
getOne(id: string): Observable<CbmIncomeBankingTransactionModel.GetOneResponse>;
|
|
12
|
+
generateOrRegenerateSeat(id: string): Observable<CbmIncomeBankingTransactionModel.ConfirmResponse>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ICbmIncotermRepository } from '../repositories/incoterm.infrastructure.repository';
|
|
4
|
+
import { CbmIncotermModel } from '../../domain/models/incoterm.domain.model';
|
|
5
|
+
export declare class CbmIncotermService implements ICbmIncotermRepository {
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmIncotermModel.ListParams): Observable<CbmIncotermModel.ListResponse>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import { CbmSriPaymentTermModel } from "../../domain/models/sri-payment-term.domain.model";
|
|
4
|
+
export declare class CbmSriPaymentTermService {
|
|
5
|
+
private readonly http;
|
|
6
|
+
constructor(http: HttpClient);
|
|
7
|
+
private readonly url;
|
|
8
|
+
list(params: CbmSriPaymentTermModel.ListParams): Observable<CbmSriPaymentTermModel.ListResponse>;
|
|
9
|
+
getOne(id: string): Observable<CbmSriPaymentTermModel.GetOneResponse>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ICbmWorkOrderRepository } from '../repositories/work-order.infrastructure';
|
|
4
|
+
import { CbmWorkOrderModel } from '../../domain/models/work-order.domain.model';
|
|
5
|
+
export declare class CbmWorkOrderService implements ICbmWorkOrderRepository {
|
|
6
|
+
private readonly http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
private readonly url;
|
|
9
|
+
list(params: CbmWorkOrderModel.ListParams): Observable<CbmWorkOrderModel.ListResponse>;
|
|
10
|
+
getOne(id: string): Observable<CbmWorkOrderModel.GetOneResponse>;
|
|
11
|
+
save(data: CbmWorkOrderModel.SaveBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
12
|
+
update(id: string, data: CbmWorkOrderModel.UpdateBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
13
|
+
changeStatus(id: string, data: CbmWorkOrderModel.ChangeStatusBody): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
14
|
+
delete(id: string): Observable<CbmWorkOrderModel.ConfirmResponse>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CbmIncomeBankingTransactionRepository } from "../../domain/repositories/income-banking-transaction.domain.repository";
|
|
3
|
+
export declare function incomeBankingTransactionFactory(http: HttpClient): CbmIncomeBankingTransactionRepository;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { HttpClient } from "@angular/common/http";
|
|
2
|
-
import { CbmUnitMeasureRepository } from "../../domain/repositories/unit-measure.domain.repository";
|
|
3
|
-
export declare function unitMeasureFactory(http: HttpClient): CbmUnitMeasureRepository;
|
|
1
|
+
import { HttpClient } from "@angular/common/http";
|
|
2
|
+
import { CbmUnitMeasureRepository } from "../../domain/repositories/unit-measure.domain.repository";
|
|
3
|
+
export declare function unitMeasureFactory(http: HttpClient): CbmUnitMeasureRepository;
|
|
@@ -76,3 +76,11 @@ export * from './repositories/money.repository';
|
|
|
76
76
|
export * from './repositories/role.repository';
|
|
77
77
|
export * from './repositories/tax-retention.repository';
|
|
78
78
|
export * from './repositories/tax-irbpnr.repository';
|
|
79
|
+
export * from './repositories/client-credit-line.repository';
|
|
80
|
+
export * from './repositories/unit-measure.repository';
|
|
81
|
+
export * from './repositories/service-group.repository';
|
|
82
|
+
export * from './repositories/deposit-cheque.repository';
|
|
83
|
+
export * from './repositories/income-banking-transaction.repository';
|
|
84
|
+
export * from './repositories/incoterm.repository';
|
|
85
|
+
export * from './repositories/sri-payment-term.repository';
|
|
86
|
+
export * from './repositories/work-order.repository';
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -408,3 +408,22 @@ export * from './lib/domain/models/tax-retention.domain.model';
|
|
|
408
408
|
// #region tax irbpnr repository
|
|
409
409
|
export * from './lib/domain/repositories/tax-irbpnr.domain.repository';
|
|
410
410
|
export * from './lib/domain/models/tax-irbpnr.domain.model';
|
|
411
|
+
//#region deposit cheque repository
|
|
412
|
+
export * from './lib/domain/repositories/deposit-cheque.domain.repository';
|
|
413
|
+
export * from './lib/domain/models/deposit-cheque.domain.model';
|
|
414
|
+
|
|
415
|
+
//#region income banking transaction repository
|
|
416
|
+
export * from './lib/domain/repositories/income-banking-transaction.domain.repository';
|
|
417
|
+
export * from './lib/domain/models/income-banking-transaction.domain.model';
|
|
418
|
+
|
|
419
|
+
//#region incoterm repository
|
|
420
|
+
export * from './lib/domain/repositories/incoterm.domain.repository';
|
|
421
|
+
export * from './lib/domain/models/incoterm.domain.model';
|
|
422
|
+
|
|
423
|
+
//#region sri payment term repository
|
|
424
|
+
export * from './lib/domain/repositories/sri-payment-term.domain.repository';
|
|
425
|
+
export * from './lib/domain/models/sri-payment-term.domain.model';
|
|
426
|
+
|
|
427
|
+
//#region work order repository
|
|
428
|
+
export * from './lib/domain/repositories/work-order.domain.repository';
|
|
429
|
+
export * from './lib/domain/models/work-order.domain.model';
|