@cbm-common/cbm-types 0.0.204 → 0.0.206
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,51 +237,74 @@ 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;
|
|
276
|
+
not_apply_discount_group?: boolean;
|
|
277
|
+
unit_measure_group_indicator?: boolean;
|
|
278
|
+
price_lists?: Item.PriceList[];
|
|
279
|
+
unit_measure_price_lists?: Item.UnitMeasurePriceList[];
|
|
280
|
+
tax_iva?: Item.TaxIva;
|
|
281
|
+
category?: Item.Category;
|
|
273
282
|
}
|
|
274
283
|
namespace Item {
|
|
275
284
|
interface ItemWarehouse {
|
|
276
285
|
_id: string;
|
|
277
286
|
location?: string | null;
|
|
278
287
|
}
|
|
288
|
+
interface LastPurchases {
|
|
289
|
+
_id?: string | number;
|
|
290
|
+
unit_cost: number;
|
|
291
|
+
}
|
|
292
|
+
interface PriceList {
|
|
293
|
+
_id: string;
|
|
294
|
+
price_list_id: string;
|
|
295
|
+
base_price: number;
|
|
296
|
+
tax_price: number;
|
|
297
|
+
name: string;
|
|
298
|
+
independent: boolean;
|
|
299
|
+
}
|
|
300
|
+
interface UnitMeasurePriceList {
|
|
301
|
+
_id: string;
|
|
302
|
+
unit_measure_id: string;
|
|
303
|
+
price_list_id: string;
|
|
304
|
+
unit_measure_group_id: string;
|
|
305
|
+
base_price: number;
|
|
306
|
+
tax_price: number;
|
|
307
|
+
}
|
|
279
308
|
interface TaxIva {
|
|
280
309
|
_id: string;
|
|
281
310
|
code: string;
|