falconhub-apilibrary 1.6.0-dev.136 → 1.6.2-dev.138
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/dist/index.d.mts +199 -3
- package/dist/index.mjs +207 -11
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -781,9 +781,9 @@ interface ConsumablesFilter {
|
|
|
781
781
|
search?: string;
|
|
782
782
|
consumable?: string;
|
|
783
783
|
sku?: string;
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
784
|
+
consumableType?: number;
|
|
785
|
+
provider?: number;
|
|
786
|
+
material?: number;
|
|
787
787
|
}
|
|
788
788
|
interface ConsumablesBulkItem {
|
|
789
789
|
consumableId: string;
|
|
@@ -2125,6 +2125,10 @@ declare class InventoryService {
|
|
|
2125
2125
|
declare class ProductService {
|
|
2126
2126
|
private api;
|
|
2127
2127
|
private readonly BASE_PATH;
|
|
2128
|
+
/**
|
|
2129
|
+
* Inicializa el servicio con la instancia de API.
|
|
2130
|
+
* @param api - Instancia de la clase API para realizar peticiones.
|
|
2131
|
+
*/
|
|
2128
2132
|
constructor(api: API);
|
|
2129
2133
|
/**
|
|
2130
2134
|
* Obtiene todos los colores con filtros opcionales.
|
|
@@ -2403,69 +2407,261 @@ declare class ProductService {
|
|
|
2403
2407
|
* Elimina un estatus de producto.
|
|
2404
2408
|
*/
|
|
2405
2409
|
deleteProductStatus(id: number): Promise<ResponseModel<void>>;
|
|
2410
|
+
/**
|
|
2411
|
+
* Obtiene todas las ubicaciones de impresión con filtros opcionales.
|
|
2412
|
+
*/
|
|
2406
2413
|
getPrintLocations(filter?: PrintLocationFilter): Promise<ResponseModel<PrintLocation[]>>;
|
|
2414
|
+
/**
|
|
2415
|
+
* Obtiene el modelo de filtros disponibles para ubicaciones de impresión.
|
|
2416
|
+
*/
|
|
2407
2417
|
getPrintLocationsFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2418
|
+
/**
|
|
2419
|
+
* Obtiene una ubicación de impresión por su ID.
|
|
2420
|
+
*/
|
|
2408
2421
|
getPrintLocationById(id: number): Promise<ResponseModel<PrintLocation>>;
|
|
2422
|
+
/**
|
|
2423
|
+
* Crea una nueva ubicación de impresión.
|
|
2424
|
+
*/
|
|
2409
2425
|
createPrintLocation(request: PrintLocationRequest): Promise<ResponseModel<PrintLocation>>;
|
|
2426
|
+
/**
|
|
2427
|
+
* Actualiza una ubicación de impresión existente.
|
|
2428
|
+
*/
|
|
2410
2429
|
updatePrintLocation(id: number, request: PrintLocationRequest): Promise<ResponseModel<PrintLocation>>;
|
|
2430
|
+
/**
|
|
2431
|
+
* Elimina una ubicación de impresión.
|
|
2432
|
+
*/
|
|
2411
2433
|
deletePrintLocation(id: number): Promise<ResponseModel<void>>;
|
|
2434
|
+
/**
|
|
2435
|
+
* Obtiene todos los tipos de consumibles con filtros opcionales.
|
|
2436
|
+
*/
|
|
2412
2437
|
getConsumableTypes(filter?: ConsumableTypesFilter): Promise<ResponseModel<ConsumableType[]>>;
|
|
2438
|
+
/**
|
|
2439
|
+
* Obtiene el modelo de filtros disponibles para tipos de consumibles.
|
|
2440
|
+
*/
|
|
2413
2441
|
getConsumableTypesFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2442
|
+
/**
|
|
2443
|
+
* Obtiene un tipo de consumible por su ID.
|
|
2444
|
+
*/
|
|
2414
2445
|
getConsumableTypeById(id: number): Promise<ResponseModel<ConsumableType>>;
|
|
2446
|
+
/**
|
|
2447
|
+
* Crea un nuevo tipo de consumible.
|
|
2448
|
+
*/
|
|
2415
2449
|
createConsumableType(request: ConsumableTypeRequest): Promise<ResponseModel<ConsumableType>>;
|
|
2450
|
+
/**
|
|
2451
|
+
* Actualiza un tipo de consumible existente.
|
|
2452
|
+
*/
|
|
2416
2453
|
updateConsumableType(id: number, request: ConsumableTypeRequest): Promise<ResponseModel<ConsumableType>>;
|
|
2454
|
+
/**
|
|
2455
|
+
* Elimina un tipo de consumible.
|
|
2456
|
+
*/
|
|
2417
2457
|
deleteConsumableType(id: number): Promise<ResponseModel<void>>;
|
|
2458
|
+
/**
|
|
2459
|
+
* Obtiene todos los consumibles con filtros opcionales.
|
|
2460
|
+
*/
|
|
2418
2461
|
getConsumables(filter?: ConsumablesFilter): Promise<ResponseModel<Consumable[]>>;
|
|
2462
|
+
/**
|
|
2463
|
+
* Obtiene el modelo de filtros disponibles para consumibles.
|
|
2464
|
+
*/
|
|
2419
2465
|
getConsumablesFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2466
|
+
/**
|
|
2467
|
+
* Obtiene un consumible por su ID.
|
|
2468
|
+
*/
|
|
2420
2469
|
getConsumableById(id: number): Promise<ResponseModel<Consumable>>;
|
|
2470
|
+
/**
|
|
2471
|
+
* Crea un nuevo consumible.
|
|
2472
|
+
*/
|
|
2421
2473
|
createConsumable(request: ConsumableRequest): Promise<ResponseModel<Consumable>>;
|
|
2474
|
+
/**
|
|
2475
|
+
* Actualiza un consumible existente.
|
|
2476
|
+
*/
|
|
2422
2477
|
updateConsumable(id: number, request: ConsumableRequest): Promise<ResponseModel<Consumable>>;
|
|
2478
|
+
/**
|
|
2479
|
+
* Elimina un consumible.
|
|
2480
|
+
*/
|
|
2423
2481
|
deleteConsumable(id: number): Promise<ResponseModel<void>>;
|
|
2482
|
+
/**
|
|
2483
|
+
* Obtiene la plantilla para la carga masiva de consumibles.
|
|
2484
|
+
*/
|
|
2424
2485
|
getConsumablesBulkTemplate(): Promise<ResponseModel<Blob>>;
|
|
2486
|
+
/**
|
|
2487
|
+
* Obtiene el layout para la actualización masiva de consumibles.
|
|
2488
|
+
*/
|
|
2425
2489
|
getConsumablesBulkLayout(ids: number[]): Promise<ResponseModel<Blob>>;
|
|
2490
|
+
/**
|
|
2491
|
+
* Realiza una carga masiva (upsert) de consumibles.
|
|
2492
|
+
*/
|
|
2426
2493
|
bulkUpsertConsumables(request: BulkUploadRequest): Promise<ResponseModel<BulkResult>>;
|
|
2494
|
+
/**
|
|
2495
|
+
* Obtiene todas las colecciones con filtros opcionales.
|
|
2496
|
+
*/
|
|
2427
2497
|
getCollections(filter?: CollectionsFilter): Promise<ResponseModel<Collection[]>>;
|
|
2498
|
+
/**
|
|
2499
|
+
* Obtiene el modelo de filtros disponibles para colecciones.
|
|
2500
|
+
*/
|
|
2428
2501
|
getCollectionsFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2502
|
+
/**
|
|
2503
|
+
* Obtiene una colección por su ID.
|
|
2504
|
+
*/
|
|
2429
2505
|
getCollectionById(id: number): Promise<ResponseModel<Collection>>;
|
|
2506
|
+
/**
|
|
2507
|
+
* Crea una nueva colección.
|
|
2508
|
+
*/
|
|
2430
2509
|
createCollection(request: CollectionRequest): Promise<ResponseModel<Collection>>;
|
|
2510
|
+
/**
|
|
2511
|
+
* Actualiza una colección existente.
|
|
2512
|
+
*/
|
|
2431
2513
|
updateCollection(id: number, request: CollectionRequest): Promise<ResponseModel<Collection>>;
|
|
2514
|
+
/**
|
|
2515
|
+
* Elimina una colección.
|
|
2516
|
+
*/
|
|
2432
2517
|
deleteCollection(id: number): Promise<ResponseModel<void>>;
|
|
2518
|
+
/**
|
|
2519
|
+
* Obtiene la plantilla para la carga masiva de colecciones.
|
|
2520
|
+
*/
|
|
2433
2521
|
getCollectionsBulkTemplate(): Promise<ResponseModel<Blob>>;
|
|
2522
|
+
/**
|
|
2523
|
+
* Obtiene el layout para la actualización masiva de colecciones.
|
|
2524
|
+
*/
|
|
2434
2525
|
getCollectionsBulkLayout(ids: number[]): Promise<ResponseModel<Blob>>;
|
|
2526
|
+
/**
|
|
2527
|
+
* Realiza una carga masiva (upsert) de colecciones.
|
|
2528
|
+
*/
|
|
2435
2529
|
bulkUpsertCollections(request: BulkUploadRequest): Promise<ResponseModel<BulkResult>>;
|
|
2530
|
+
/**
|
|
2531
|
+
* Obtiene todos los productos con filtros opcionales.
|
|
2532
|
+
*/
|
|
2436
2533
|
getProducts(filter?: ProductsFilter): Promise<ResponseModel<Product[]>>;
|
|
2534
|
+
/**
|
|
2535
|
+
* Obtiene el modelo de filtros disponibles para productos.
|
|
2536
|
+
*/
|
|
2437
2537
|
getProductsFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2538
|
+
/**
|
|
2539
|
+
* Obtiene los detalles de un producto por su ID.
|
|
2540
|
+
*/
|
|
2438
2541
|
getProductDetails(id: number): Promise<ResponseModel<Product>>;
|
|
2542
|
+
/**
|
|
2543
|
+
* Obtiene un producto por su ID.
|
|
2544
|
+
*/
|
|
2439
2545
|
getProductById(id: number): Promise<ResponseModel<Product>>;
|
|
2546
|
+
/**
|
|
2547
|
+
* Crea un nuevo producto.
|
|
2548
|
+
*/
|
|
2440
2549
|
createProduct(request: ProductRequest): Promise<ResponseModel<Product>>;
|
|
2550
|
+
/**
|
|
2551
|
+
* Actualiza un producto existente.
|
|
2552
|
+
*/
|
|
2441
2553
|
updateProduct(id: number, request: ProductRequest): Promise<ResponseModel<Product>>;
|
|
2554
|
+
/**
|
|
2555
|
+
* Elimina un producto.
|
|
2556
|
+
*/
|
|
2442
2557
|
deleteProduct(id: number): Promise<ResponseModel<void>>;
|
|
2558
|
+
/**
|
|
2559
|
+
* Obtiene la plantilla para la carga masiva de productos.
|
|
2560
|
+
*/
|
|
2443
2561
|
getProductsBulkTemplate(): Promise<ResponseModel<Blob>>;
|
|
2562
|
+
/**
|
|
2563
|
+
* Obtiene el layout para la actualización masiva de productos.
|
|
2564
|
+
*/
|
|
2444
2565
|
getProductsBulkLayout(ids: number[]): Promise<ResponseModel<Blob>>;
|
|
2566
|
+
/**
|
|
2567
|
+
* Realiza una carga masiva (upsert) de productos.
|
|
2568
|
+
*/
|
|
2445
2569
|
bulkUpsertProducts(request: BulkUploadRequest): Promise<ResponseModel<BulkResult>>;
|
|
2570
|
+
/**
|
|
2571
|
+
* Obtiene todos los registros POD con filtros opcionales.
|
|
2572
|
+
*/
|
|
2446
2573
|
getPODs(filter?: PODFilter): Promise<ResponseModel<POD[]>>;
|
|
2574
|
+
/**
|
|
2575
|
+
* Obtiene el modelo de filtros disponibles para POD.
|
|
2576
|
+
*/
|
|
2447
2577
|
getPODFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2578
|
+
/**
|
|
2579
|
+
* Obtiene un registro POD por su ID.
|
|
2580
|
+
*/
|
|
2448
2581
|
getPODById(id: number): Promise<ResponseModel<POD>>;
|
|
2582
|
+
/**
|
|
2583
|
+
* Crea un nuevo registro POD.
|
|
2584
|
+
*/
|
|
2449
2585
|
createPOD(request: PODRequest): Promise<ResponseModel<POD>>;
|
|
2586
|
+
/**
|
|
2587
|
+
* Actualiza un registro POD existente.
|
|
2588
|
+
*/
|
|
2450
2589
|
updatePOD(id: number, request: PODRequest): Promise<ResponseModel<POD>>;
|
|
2590
|
+
/**
|
|
2591
|
+
* Elimina un registro POD.
|
|
2592
|
+
*/
|
|
2451
2593
|
deletePOD(id: number): Promise<ResponseModel<void>>;
|
|
2594
|
+
/**
|
|
2595
|
+
* Obtiene la plantilla para la carga masiva de PODs.
|
|
2596
|
+
*/
|
|
2452
2597
|
getPODsBulkTemplate(): Promise<ResponseModel<Blob>>;
|
|
2598
|
+
/**
|
|
2599
|
+
* Obtiene el layout para la actualización masiva de PODs.
|
|
2600
|
+
*/
|
|
2453
2601
|
getPODsBulkLayout(ids: number[]): Promise<ResponseModel<Blob>>;
|
|
2602
|
+
/**
|
|
2603
|
+
* Realiza una carga masiva (upsert) de PODs.
|
|
2604
|
+
*/
|
|
2454
2605
|
bulkUpsertPODs(request: BulkUploadRequest): Promise<ResponseModel<BulkResult>>;
|
|
2606
|
+
/**
|
|
2607
|
+
* Obtiene todos los artes con filtros opcionales.
|
|
2608
|
+
*/
|
|
2455
2609
|
getArtworks(filter?: ArtworksFilter): Promise<ResponseModel<Artwork[]>>;
|
|
2610
|
+
/**
|
|
2611
|
+
* Obtiene el modelo de filtros disponibles para artes.
|
|
2612
|
+
*/
|
|
2456
2613
|
getArtworksFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2614
|
+
/**
|
|
2615
|
+
* Obtiene un arte por su ID.
|
|
2616
|
+
*/
|
|
2457
2617
|
getArtworkById(id: number): Promise<ResponseModel<Artwork>>;
|
|
2618
|
+
/**
|
|
2619
|
+
* Crea un nuevo arte.
|
|
2620
|
+
*/
|
|
2458
2621
|
createArtwork(request: ArtworkRequest): Promise<ResponseModel<Artwork>>;
|
|
2622
|
+
/**
|
|
2623
|
+
* Actualiza un arte existente.
|
|
2624
|
+
*/
|
|
2459
2625
|
updateArtwork(id: number, request: ArtworkRequest): Promise<ResponseModel<Artwork>>;
|
|
2626
|
+
/**
|
|
2627
|
+
* Elimina un arte.
|
|
2628
|
+
*/
|
|
2460
2629
|
deleteArtwork(id: number): Promise<ResponseModel<void>>;
|
|
2630
|
+
/**
|
|
2631
|
+
* Obtiene la plantilla para la carga masiva de artes.
|
|
2632
|
+
*/
|
|
2461
2633
|
getArtworksBulkTemplate(): Promise<ResponseModel<Blob>>;
|
|
2634
|
+
/**
|
|
2635
|
+
* Obtiene el layout para la actualización masiva de artes.
|
|
2636
|
+
*/
|
|
2462
2637
|
getArtworksBulkLayout(ids: number[]): Promise<ResponseModel<Blob>>;
|
|
2638
|
+
/**
|
|
2639
|
+
* Realiza una carga masiva (upsert) de artes.
|
|
2640
|
+
*/
|
|
2463
2641
|
bulkUpsertArtworks(request: BulkUploadRequest): Promise<ResponseModel<BulkResult>>;
|
|
2642
|
+
/**
|
|
2643
|
+
* Obtiene todos los consumibles de arte con filtros opcionales.
|
|
2644
|
+
*/
|
|
2464
2645
|
getArtworkConsumables(filter?: ArtworkConsumablesFilter): Promise<ResponseModel<ArtworkConsumable[]>>;
|
|
2646
|
+
/**
|
|
2647
|
+
* Obtiene el modelo de filtros disponibles para consumibles de arte.
|
|
2648
|
+
*/
|
|
2465
2649
|
getArtworkConsumablesFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
2650
|
+
/**
|
|
2651
|
+
* Obtiene un consumible de arte por su ID.
|
|
2652
|
+
*/
|
|
2466
2653
|
getArtworkConsumableById(id: number): Promise<ResponseModel<ArtworkConsumable>>;
|
|
2654
|
+
/**
|
|
2655
|
+
* Crea un nuevo consumible de arte.
|
|
2656
|
+
*/
|
|
2467
2657
|
createArtworkConsumable(request: ArtworkConsumableRequest): Promise<ResponseModel<ArtworkConsumable>>;
|
|
2658
|
+
/**
|
|
2659
|
+
* Actualiza un consumible de arte existente.
|
|
2660
|
+
*/
|
|
2468
2661
|
updateArtworkConsumable(id: number, request: ArtworkConsumableRequest): Promise<ResponseModel<ArtworkConsumable>>;
|
|
2662
|
+
/**
|
|
2663
|
+
* Elimina un consumible de arte.
|
|
2664
|
+
*/
|
|
2469
2665
|
deleteArtworkConsumable(id: number): Promise<ResponseModel<void>>;
|
|
2470
2666
|
}
|
|
2471
2667
|
|