@cbm-common/cbm-types 0.0.204 → 0.0.205
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.
|
@@ -79,6 +79,7 @@ export declare class ItemListComponent implements OnInit {
|
|
|
79
79
|
provider: FormControl<CbmProviderModel.ListResponse.Item | null>;
|
|
80
80
|
manage_by: FormControl<CbmItemModel.EManageBy | null>;
|
|
81
81
|
location: FormControl<string | null>;
|
|
82
|
+
providerItemCode: FormControl<string | null>;
|
|
82
83
|
}>;
|
|
83
84
|
company: import("@angular/core").Signal<import("../../../domain/models/auth-reactive.domain.model").CbmAuthReactiveModel.GlobalTokenData.Company>;
|
|
84
85
|
tableConfig: TableConfigurationService;
|
|
@@ -207,15 +207,21 @@ export declare namespace CbmItemModel {
|
|
|
207
207
|
interface AdvancedItemListParams {
|
|
208
208
|
page: number;
|
|
209
209
|
size: number;
|
|
210
|
+
purchases?: boolean;
|
|
211
|
+
sales?: boolean;
|
|
212
|
+
user_id?: string;
|
|
213
|
+
tax_iva_id?: string;
|
|
214
|
+
manage_by?: string;
|
|
215
|
+
name?: string;
|
|
210
216
|
name_code_filter?: string;
|
|
217
|
+
provider_item_code?: string;
|
|
211
218
|
category_id?: string;
|
|
212
|
-
manage_by?: string;
|
|
213
219
|
manufacturer_id?: string;
|
|
214
|
-
property_id?: string;
|
|
215
|
-
warehouse_id?: string;
|
|
216
|
-
provider_id?: string;
|
|
217
220
|
stock?: boolean;
|
|
221
|
+
warehouse_id?: string;
|
|
218
222
|
provider_code?: boolean;
|
|
223
|
+
property_id?: string;
|
|
224
|
+
provider_id?: string;
|
|
219
225
|
location?: string;
|
|
220
226
|
}
|
|
221
227
|
interface AdvancedItemListResponse {
|
|
@@ -231,60 +237,51 @@ export declare namespace CbmItemModel {
|
|
|
231
237
|
_id: string;
|
|
232
238
|
category_id: string;
|
|
233
239
|
unit_measure_id: string;
|
|
240
|
+
tax_iva_id: string;
|
|
241
|
+
manufacturer_id?: string;
|
|
242
|
+
manufacturer_name?: string;
|
|
234
243
|
code: string;
|
|
235
244
|
barcode: string;
|
|
236
245
|
name: string;
|
|
246
|
+
iva: number;
|
|
247
|
+
tax_ice: boolean;
|
|
248
|
+
tax_irbpn: boolean;
|
|
237
249
|
manage_by: TManageBy;
|
|
238
|
-
enabled: boolean;
|
|
239
|
-
unit_measure_name: string;
|
|
240
|
-
unit_measure_code: string;
|
|
241
|
-
category_name: string;
|
|
242
|
-
created_at: number;
|
|
243
|
-
item_price: number;
|
|
244
|
-
item_price_name: string;
|
|
245
|
-
manufacturer_id?: string;
|
|
246
|
-
manufacturer_name?: string;
|
|
247
250
|
tax_iva_code: string;
|
|
248
251
|
tax_iva_percentage: number;
|
|
249
252
|
tax_iva_description: string;
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
253
|
+
unit_measure_name: string;
|
|
254
|
+
unit_measure_code: string;
|
|
255
|
+
category_name: string;
|
|
256
|
+
unit_cost_kardex?: number;
|
|
257
|
+
provider_id?: string;
|
|
258
|
+
provider_item_barcode?: string;
|
|
259
|
+
provider_item_document_number?: string;
|
|
260
|
+
provider_item_name?: string;
|
|
261
|
+
provider_item_trade_name?: string;
|
|
262
|
+
in_stock: number;
|
|
263
|
+
committed: number;
|
|
264
|
+
stock_in_transit: number;
|
|
265
|
+
warehouse_id?: string;
|
|
266
|
+
warehouse_code?: string;
|
|
267
|
+
warehouse_name?: string;
|
|
268
|
+
location_warehouse?: string | null;
|
|
269
|
+
base_price: number;
|
|
270
|
+
tax_price: number;
|
|
271
|
+
warehouse_in_stock: number;
|
|
272
|
+
warehouse_committed: number;
|
|
273
|
+
warehouse_available_stock: number;
|
|
274
|
+
warehouse_stock_in_transit: number;
|
|
275
|
+
last_purchases: Item.LastPurchases;
|
|
273
276
|
}
|
|
274
277
|
namespace Item {
|
|
275
278
|
interface ItemWarehouse {
|
|
276
279
|
_id: string;
|
|
277
280
|
location?: string | null;
|
|
278
281
|
}
|
|
279
|
-
interface
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
percentage: number;
|
|
283
|
-
description: string;
|
|
284
|
-
}
|
|
285
|
-
interface Category {
|
|
286
|
-
_id: string;
|
|
287
|
-
name: string;
|
|
282
|
+
interface LastPurchases {
|
|
283
|
+
_id1: string;
|
|
284
|
+
unit_cost: number;
|
|
288
285
|
}
|
|
289
286
|
}
|
|
290
287
|
}
|