falconhub-apilibrary 1.4.0-dev.111 → 1.4.0-dev.112
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 +245 -244
- package/dist/index.mjs +173 -170
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -952,6 +952,250 @@ declare class InventoryService {
|
|
|
952
952
|
deleteProvider(id: number): Promise<ResponseModel<void>>;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
+
/**
|
|
956
|
+
* Interfaz que representa un color.
|
|
957
|
+
*/
|
|
958
|
+
interface Color {
|
|
959
|
+
colorId: number;
|
|
960
|
+
color: string;
|
|
961
|
+
key: string;
|
|
962
|
+
createdAt: string;
|
|
963
|
+
updatedAt?: string;
|
|
964
|
+
deleted: boolean;
|
|
965
|
+
}
|
|
966
|
+
/**
|
|
967
|
+
* Request para crear o actualizar un color.
|
|
968
|
+
*/
|
|
969
|
+
interface ColorRequest {
|
|
970
|
+
color: string;
|
|
971
|
+
key: string;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* Filtros disponibles para buscar colores.
|
|
975
|
+
*/
|
|
976
|
+
interface ColorsFilter {
|
|
977
|
+
Search?: string;
|
|
978
|
+
Color?: string;
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Interfaz que representa un grupo de tallas.
|
|
983
|
+
*/
|
|
984
|
+
interface SizeGroup {
|
|
985
|
+
sizeGroupId: number;
|
|
986
|
+
sizeGroup: string;
|
|
987
|
+
key: string;
|
|
988
|
+
description: string;
|
|
989
|
+
createdAt: string;
|
|
990
|
+
updatedAt?: string;
|
|
991
|
+
deleted: boolean;
|
|
992
|
+
}
|
|
993
|
+
/**
|
|
994
|
+
* Request para crear o actualizar un grupo de tallas.
|
|
995
|
+
*/
|
|
996
|
+
interface SizeGroupRequest {
|
|
997
|
+
sizeGroup: string;
|
|
998
|
+
key: string;
|
|
999
|
+
description: string;
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* Filtros disponibles para buscar grupos de tallas.
|
|
1003
|
+
*/
|
|
1004
|
+
interface SizeGroupsFilter {
|
|
1005
|
+
Search?: string;
|
|
1006
|
+
SizeGroup?: string;
|
|
1007
|
+
Description?: string;
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
/**
|
|
1011
|
+
* Interfaz que representa una talla.
|
|
1012
|
+
*/
|
|
1013
|
+
interface Size {
|
|
1014
|
+
sizeId: number;
|
|
1015
|
+
size: string;
|
|
1016
|
+
iso: string;
|
|
1017
|
+
width: string;
|
|
1018
|
+
length: string;
|
|
1019
|
+
sizeGroupId: number;
|
|
1020
|
+
createdAt: string;
|
|
1021
|
+
updatedAt?: string;
|
|
1022
|
+
deleted: boolean;
|
|
1023
|
+
sizeGroup?: SizeGroup;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* Request para crear o actualizar una talla.
|
|
1027
|
+
*/
|
|
1028
|
+
interface SizeRequest {
|
|
1029
|
+
size: string;
|
|
1030
|
+
iso: string;
|
|
1031
|
+
width: string;
|
|
1032
|
+
length: string;
|
|
1033
|
+
sizeGroupId: number;
|
|
1034
|
+
}
|
|
1035
|
+
/**
|
|
1036
|
+
* Filtros disponibles para buscar tallas.
|
|
1037
|
+
*/
|
|
1038
|
+
interface SizesFilter {
|
|
1039
|
+
Search?: string;
|
|
1040
|
+
Size?: string;
|
|
1041
|
+
SizeGroupId?: number;
|
|
1042
|
+
}
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Interfaz que representa un Blank en el catálogo de productos.
|
|
1046
|
+
*/
|
|
1047
|
+
interface Blank {
|
|
1048
|
+
blankId: number;
|
|
1049
|
+
blank: string;
|
|
1050
|
+
sku: string;
|
|
1051
|
+
cost: number;
|
|
1052
|
+
isActive: boolean;
|
|
1053
|
+
colorId: number;
|
|
1054
|
+
providerId: number;
|
|
1055
|
+
materialId: number;
|
|
1056
|
+
sizeId: number;
|
|
1057
|
+
createdAt: string;
|
|
1058
|
+
updatedAt?: string;
|
|
1059
|
+
deleted: boolean;
|
|
1060
|
+
color?: Color;
|
|
1061
|
+
size?: Size;
|
|
1062
|
+
provider?: Provider;
|
|
1063
|
+
material?: Material;
|
|
1064
|
+
}
|
|
1065
|
+
/**
|
|
1066
|
+
* Request para crear o actualizar un Blank.
|
|
1067
|
+
*/
|
|
1068
|
+
interface BlankRequest {
|
|
1069
|
+
blank: string;
|
|
1070
|
+
sku: string;
|
|
1071
|
+
cost: number;
|
|
1072
|
+
colorId: number;
|
|
1073
|
+
providerId: number;
|
|
1074
|
+
materialId: number;
|
|
1075
|
+
sizeId: number;
|
|
1076
|
+
isActive: boolean;
|
|
1077
|
+
}
|
|
1078
|
+
/**
|
|
1079
|
+
* Filtros disponibles para buscar Blanks.
|
|
1080
|
+
*/
|
|
1081
|
+
interface BlanksFilter {
|
|
1082
|
+
Search?: string;
|
|
1083
|
+
SKU?: string;
|
|
1084
|
+
Provider: string;
|
|
1085
|
+
Material: string;
|
|
1086
|
+
Size: string;
|
|
1087
|
+
IsActive?: boolean;
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Servicio para gestionar entidades relacionadas a Productos (Blanks, Colors, Sizes, SizeGroups, etc.)
|
|
1092
|
+
*/
|
|
1093
|
+
declare class ProductService {
|
|
1094
|
+
private api;
|
|
1095
|
+
private readonly BASE_PATH;
|
|
1096
|
+
constructor(api: API);
|
|
1097
|
+
/**
|
|
1098
|
+
* Obtiene todos los colores con filtros opcionales.
|
|
1099
|
+
*/
|
|
1100
|
+
getColors(filter?: ColorsFilter): Promise<ResponseModel<Color[]>>;
|
|
1101
|
+
/**
|
|
1102
|
+
* Obtiene el modelo de filtros disponibles para colores.
|
|
1103
|
+
*/
|
|
1104
|
+
getColorsFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1105
|
+
/**
|
|
1106
|
+
* Obtiene un color por su ID.
|
|
1107
|
+
*/
|
|
1108
|
+
getColorById(id: number): Promise<ResponseModel<Color>>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Crea un nuevo color.
|
|
1111
|
+
*/
|
|
1112
|
+
createColor(request: ColorRequest): Promise<ResponseModel<Color>>;
|
|
1113
|
+
/**
|
|
1114
|
+
* Actualiza un color existente.
|
|
1115
|
+
*/
|
|
1116
|
+
updateColor(id: number, request: ColorRequest): Promise<ResponseModel<Color>>;
|
|
1117
|
+
/**
|
|
1118
|
+
* Elimina un color.
|
|
1119
|
+
*/
|
|
1120
|
+
deleteColor(id: number): Promise<ResponseModel<void>>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Obtiene todos los grupos de tallas con filtros opcionales.
|
|
1123
|
+
*/
|
|
1124
|
+
getSizeGroups(filter?: SizeGroupsFilter): Promise<ResponseModel<SizeGroup[]>>;
|
|
1125
|
+
/**
|
|
1126
|
+
* Obtiene el modelo de filtros disponibles para grupos de tallas.
|
|
1127
|
+
*/
|
|
1128
|
+
getSizeGroupsFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1129
|
+
/**
|
|
1130
|
+
* Obtiene un grupo de tallas por su ID.
|
|
1131
|
+
*/
|
|
1132
|
+
getSizeGroupById(id: number): Promise<ResponseModel<SizeGroup>>;
|
|
1133
|
+
/**
|
|
1134
|
+
* Crea un nuevo grupo de tallas.
|
|
1135
|
+
*/
|
|
1136
|
+
createSizeGroup(request: SizeGroupRequest): Promise<ResponseModel<SizeGroup>>;
|
|
1137
|
+
/**
|
|
1138
|
+
* Actualiza un grupo de tallas existente.
|
|
1139
|
+
*/
|
|
1140
|
+
updateSizeGroup(id: number, request: SizeGroupRequest): Promise<ResponseModel<SizeGroup>>;
|
|
1141
|
+
/**
|
|
1142
|
+
* Elimina un grupo de tallas.
|
|
1143
|
+
*/
|
|
1144
|
+
deleteSizeGroup(id: number): Promise<ResponseModel<void>>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Obtiene todas las tallas con filtros opcionales.
|
|
1147
|
+
*/
|
|
1148
|
+
getSizes(filter?: SizesFilter): Promise<ResponseModel<Size[]>>;
|
|
1149
|
+
/**
|
|
1150
|
+
* Obtiene el modelo de filtros disponibles para tallas.
|
|
1151
|
+
*/
|
|
1152
|
+
getSizesFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1153
|
+
/**
|
|
1154
|
+
* Obtiene una talla por su ID.
|
|
1155
|
+
*/
|
|
1156
|
+
getSizeById(id: number): Promise<ResponseModel<Size>>;
|
|
1157
|
+
/**
|
|
1158
|
+
* Crea una nueva talla.
|
|
1159
|
+
*/
|
|
1160
|
+
createSize(request: SizeRequest): Promise<ResponseModel<Size>>;
|
|
1161
|
+
/**
|
|
1162
|
+
* Actualiza una talla existente.
|
|
1163
|
+
*/
|
|
1164
|
+
updateSize(id: number, request: SizeRequest): Promise<ResponseModel<Size>>;
|
|
1165
|
+
/**
|
|
1166
|
+
* Elimina una talla.
|
|
1167
|
+
*/
|
|
1168
|
+
deleteSize(id: number): Promise<ResponseModel<void>>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Obtiene todos los blanks con filtros opcionales.
|
|
1171
|
+
*/
|
|
1172
|
+
getBlanks(filter?: BlanksFilter): Promise<ResponseModel<Blank[]>>;
|
|
1173
|
+
/**
|
|
1174
|
+
* Obtiene el modelo de filtros disponibles para blanks.
|
|
1175
|
+
*/
|
|
1176
|
+
getBlanksFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1177
|
+
/**
|
|
1178
|
+
* Obtiene un blank por su ID.
|
|
1179
|
+
*/
|
|
1180
|
+
getBlankById(id: number): Promise<ResponseModel<Blank>>;
|
|
1181
|
+
/**
|
|
1182
|
+
* Crea un nuevo blank.
|
|
1183
|
+
*/
|
|
1184
|
+
createBlank(request: BlankRequest): Promise<ResponseModel<Blank>>;
|
|
1185
|
+
/**
|
|
1186
|
+
* Actualiza un blank existente.
|
|
1187
|
+
*/
|
|
1188
|
+
updateBlank(id: number, request: BlankRequest): Promise<ResponseModel<Blank>>;
|
|
1189
|
+
/**
|
|
1190
|
+
* Alterna el estado activo de un blank.
|
|
1191
|
+
*/
|
|
1192
|
+
toggleBlankStatus(id: number): Promise<ResponseModel<Blank>>;
|
|
1193
|
+
/**
|
|
1194
|
+
* Elimina un blank.
|
|
1195
|
+
*/
|
|
1196
|
+
deleteBlank(id: number): Promise<ResponseModel<void>>;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
955
1199
|
/**
|
|
956
1200
|
* Interfaz que representa un módulo del sistema.
|
|
957
1201
|
*/
|
|
@@ -1595,6 +1839,7 @@ declare class FalconHUBSDK {
|
|
|
1595
1839
|
system: SystemService;
|
|
1596
1840
|
inventory: InventoryService;
|
|
1597
1841
|
catalog: CatalogService;
|
|
1842
|
+
product: ProductService;
|
|
1598
1843
|
private serviceProperties;
|
|
1599
1844
|
private cryptoService;
|
|
1600
1845
|
private tokenManager;
|
|
@@ -1625,250 +1870,6 @@ declare class FalconHUBSDK {
|
|
|
1625
1870
|
getTimeUntilExpiry(): number | null;
|
|
1626
1871
|
}
|
|
1627
1872
|
|
|
1628
|
-
/**
|
|
1629
|
-
* Interfaz que representa un color.
|
|
1630
|
-
*/
|
|
1631
|
-
interface Color {
|
|
1632
|
-
colorId: number;
|
|
1633
|
-
color: string;
|
|
1634
|
-
key: string;
|
|
1635
|
-
createdAt: string;
|
|
1636
|
-
updatedAt?: string;
|
|
1637
|
-
deleted: boolean;
|
|
1638
|
-
}
|
|
1639
|
-
/**
|
|
1640
|
-
* Request para crear o actualizar un color.
|
|
1641
|
-
*/
|
|
1642
|
-
interface ColorRequest {
|
|
1643
|
-
color: string;
|
|
1644
|
-
key: string;
|
|
1645
|
-
}
|
|
1646
|
-
/**
|
|
1647
|
-
* Filtros disponibles para buscar colores.
|
|
1648
|
-
*/
|
|
1649
|
-
interface ColorsFilter {
|
|
1650
|
-
Search?: string;
|
|
1651
|
-
Color?: string;
|
|
1652
|
-
}
|
|
1653
|
-
|
|
1654
|
-
/**
|
|
1655
|
-
* Interfaz que representa un grupo de tallas.
|
|
1656
|
-
*/
|
|
1657
|
-
interface SizeGroup {
|
|
1658
|
-
sizeGroupId: number;
|
|
1659
|
-
sizeGroup: string;
|
|
1660
|
-
key: string;
|
|
1661
|
-
description: string;
|
|
1662
|
-
createdAt: string;
|
|
1663
|
-
updatedAt?: string;
|
|
1664
|
-
deleted: boolean;
|
|
1665
|
-
}
|
|
1666
|
-
/**
|
|
1667
|
-
* Request para crear o actualizar un grupo de tallas.
|
|
1668
|
-
*/
|
|
1669
|
-
interface SizeGroupRequest {
|
|
1670
|
-
sizeGroup: string;
|
|
1671
|
-
key: string;
|
|
1672
|
-
description: string;
|
|
1673
|
-
}
|
|
1674
|
-
/**
|
|
1675
|
-
* Filtros disponibles para buscar grupos de tallas.
|
|
1676
|
-
*/
|
|
1677
|
-
interface SizeGroupsFilter {
|
|
1678
|
-
Search?: string;
|
|
1679
|
-
SizeGroup?: string;
|
|
1680
|
-
Description?: string;
|
|
1681
|
-
}
|
|
1682
|
-
|
|
1683
|
-
/**
|
|
1684
|
-
* Interfaz que representa una talla.
|
|
1685
|
-
*/
|
|
1686
|
-
interface Size {
|
|
1687
|
-
sizeId: number;
|
|
1688
|
-
size: string;
|
|
1689
|
-
iso: string;
|
|
1690
|
-
width: string;
|
|
1691
|
-
length: string;
|
|
1692
|
-
sizeGroupId: number;
|
|
1693
|
-
createdAt: string;
|
|
1694
|
-
updatedAt?: string;
|
|
1695
|
-
deleted: boolean;
|
|
1696
|
-
sizeGroup?: SizeGroup;
|
|
1697
|
-
}
|
|
1698
|
-
/**
|
|
1699
|
-
* Request para crear o actualizar una talla.
|
|
1700
|
-
*/
|
|
1701
|
-
interface SizeRequest {
|
|
1702
|
-
size: string;
|
|
1703
|
-
iso: string;
|
|
1704
|
-
width: string;
|
|
1705
|
-
length: string;
|
|
1706
|
-
sizeGroupId: number;
|
|
1707
|
-
}
|
|
1708
|
-
/**
|
|
1709
|
-
* Filtros disponibles para buscar tallas.
|
|
1710
|
-
*/
|
|
1711
|
-
interface SizesFilter {
|
|
1712
|
-
Search?: string;
|
|
1713
|
-
Size?: string;
|
|
1714
|
-
SizeGroupId?: number;
|
|
1715
|
-
}
|
|
1716
|
-
|
|
1717
|
-
/**
|
|
1718
|
-
* Interfaz que representa un Blank en el catálogo de productos.
|
|
1719
|
-
*/
|
|
1720
|
-
interface Blank {
|
|
1721
|
-
blankId: number;
|
|
1722
|
-
blank: string;
|
|
1723
|
-
sku: string;
|
|
1724
|
-
cost: number;
|
|
1725
|
-
isActive: boolean;
|
|
1726
|
-
colorId: number;
|
|
1727
|
-
providerId: number;
|
|
1728
|
-
materialId: number;
|
|
1729
|
-
sizeId: number;
|
|
1730
|
-
createdAt: string;
|
|
1731
|
-
updatedAt?: string;
|
|
1732
|
-
deleted: boolean;
|
|
1733
|
-
color?: Color;
|
|
1734
|
-
size?: Size;
|
|
1735
|
-
provider?: Provider;
|
|
1736
|
-
material?: Material;
|
|
1737
|
-
}
|
|
1738
|
-
/**
|
|
1739
|
-
* Request para crear o actualizar un Blank.
|
|
1740
|
-
*/
|
|
1741
|
-
interface BlankRequest {
|
|
1742
|
-
blank: string;
|
|
1743
|
-
sku: string;
|
|
1744
|
-
cost: number;
|
|
1745
|
-
colorId: number;
|
|
1746
|
-
providerId: number;
|
|
1747
|
-
materialId: number;
|
|
1748
|
-
sizeId: number;
|
|
1749
|
-
isActive: boolean;
|
|
1750
|
-
}
|
|
1751
|
-
/**
|
|
1752
|
-
* Filtros disponibles para buscar Blanks.
|
|
1753
|
-
*/
|
|
1754
|
-
interface BlanksFilter {
|
|
1755
|
-
Search?: string;
|
|
1756
|
-
SKU?: string;
|
|
1757
|
-
Provider: string;
|
|
1758
|
-
Material: string;
|
|
1759
|
-
Size: string;
|
|
1760
|
-
IsActive?: boolean;
|
|
1761
|
-
}
|
|
1762
|
-
|
|
1763
|
-
/**
|
|
1764
|
-
* Servicio para gestionar entidades relacionadas a Productos (Blanks, Colors, Sizes, SizeGroups, etc.)
|
|
1765
|
-
*/
|
|
1766
|
-
declare class ProductService {
|
|
1767
|
-
private api;
|
|
1768
|
-
private readonly BASE_PATH;
|
|
1769
|
-
constructor(api: API);
|
|
1770
|
-
/**
|
|
1771
|
-
* Obtiene todos los colores con filtros opcionales.
|
|
1772
|
-
*/
|
|
1773
|
-
getColors(filter?: ColorsFilter): Promise<ResponseModel<Color[]>>;
|
|
1774
|
-
/**
|
|
1775
|
-
* Obtiene el modelo de filtros disponibles para colores.
|
|
1776
|
-
*/
|
|
1777
|
-
getColorsFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1778
|
-
/**
|
|
1779
|
-
* Obtiene un color por su ID.
|
|
1780
|
-
*/
|
|
1781
|
-
getColorById(id: number): Promise<ResponseModel<Color>>;
|
|
1782
|
-
/**
|
|
1783
|
-
* Crea un nuevo color.
|
|
1784
|
-
*/
|
|
1785
|
-
createColor(request: ColorRequest): Promise<ResponseModel<Color>>;
|
|
1786
|
-
/**
|
|
1787
|
-
* Actualiza un color existente.
|
|
1788
|
-
*/
|
|
1789
|
-
updateColor(id: number, request: ColorRequest): Promise<ResponseModel<Color>>;
|
|
1790
|
-
/**
|
|
1791
|
-
* Elimina un color.
|
|
1792
|
-
*/
|
|
1793
|
-
deleteColor(id: number): Promise<ResponseModel<void>>;
|
|
1794
|
-
/**
|
|
1795
|
-
* Obtiene todos los grupos de tallas con filtros opcionales.
|
|
1796
|
-
*/
|
|
1797
|
-
getSizeGroups(filter?: SizeGroupsFilter): Promise<ResponseModel<SizeGroup[]>>;
|
|
1798
|
-
/**
|
|
1799
|
-
* Obtiene el modelo de filtros disponibles para grupos de tallas.
|
|
1800
|
-
*/
|
|
1801
|
-
getSizeGroupsFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1802
|
-
/**
|
|
1803
|
-
* Obtiene un grupo de tallas por su ID.
|
|
1804
|
-
*/
|
|
1805
|
-
getSizeGroupById(id: number): Promise<ResponseModel<SizeGroup>>;
|
|
1806
|
-
/**
|
|
1807
|
-
* Crea un nuevo grupo de tallas.
|
|
1808
|
-
*/
|
|
1809
|
-
createSizeGroup(request: SizeGroupRequest): Promise<ResponseModel<SizeGroup>>;
|
|
1810
|
-
/**
|
|
1811
|
-
* Actualiza un grupo de tallas existente.
|
|
1812
|
-
*/
|
|
1813
|
-
updateSizeGroup(id: number, request: SizeGroupRequest): Promise<ResponseModel<SizeGroup>>;
|
|
1814
|
-
/**
|
|
1815
|
-
* Elimina un grupo de tallas.
|
|
1816
|
-
*/
|
|
1817
|
-
deleteSizeGroup(id: number): Promise<ResponseModel<void>>;
|
|
1818
|
-
/**
|
|
1819
|
-
* Obtiene todas las tallas con filtros opcionales.
|
|
1820
|
-
*/
|
|
1821
|
-
getSizes(filter?: SizesFilter): Promise<ResponseModel<Size[]>>;
|
|
1822
|
-
/**
|
|
1823
|
-
* Obtiene el modelo de filtros disponibles para tallas.
|
|
1824
|
-
*/
|
|
1825
|
-
getSizesFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1826
|
-
/**
|
|
1827
|
-
* Obtiene una talla por su ID.
|
|
1828
|
-
*/
|
|
1829
|
-
getSizeById(id: number): Promise<ResponseModel<Size>>;
|
|
1830
|
-
/**
|
|
1831
|
-
* Crea una nueva talla.
|
|
1832
|
-
*/
|
|
1833
|
-
createSize(request: SizeRequest): Promise<ResponseModel<Size>>;
|
|
1834
|
-
/**
|
|
1835
|
-
* Actualiza una talla existente.
|
|
1836
|
-
*/
|
|
1837
|
-
updateSize(id: number, request: SizeRequest): Promise<ResponseModel<Size>>;
|
|
1838
|
-
/**
|
|
1839
|
-
* Elimina una talla.
|
|
1840
|
-
*/
|
|
1841
|
-
deleteSize(id: number): Promise<ResponseModel<void>>;
|
|
1842
|
-
/**
|
|
1843
|
-
* Obtiene todos los blanks con filtros opcionales.
|
|
1844
|
-
*/
|
|
1845
|
-
getBlanks(filter?: BlanksFilter): Promise<ResponseModel<Blank[]>>;
|
|
1846
|
-
/**
|
|
1847
|
-
* Obtiene el modelo de filtros disponibles para blanks.
|
|
1848
|
-
*/
|
|
1849
|
-
getBlanksFilters(): Promise<ResponseModel<FilterGroupsModel>>;
|
|
1850
|
-
/**
|
|
1851
|
-
* Obtiene un blank por su ID.
|
|
1852
|
-
*/
|
|
1853
|
-
getBlankById(id: number): Promise<ResponseModel<Blank>>;
|
|
1854
|
-
/**
|
|
1855
|
-
* Crea un nuevo blank.
|
|
1856
|
-
*/
|
|
1857
|
-
createBlank(request: BlankRequest): Promise<ResponseModel<Blank>>;
|
|
1858
|
-
/**
|
|
1859
|
-
* Actualiza un blank existente.
|
|
1860
|
-
*/
|
|
1861
|
-
updateBlank(id: number, request: BlankRequest): Promise<ResponseModel<Blank>>;
|
|
1862
|
-
/**
|
|
1863
|
-
* Alterna el estado activo de un blank.
|
|
1864
|
-
*/
|
|
1865
|
-
toggleBlankStatus(id: number): Promise<ResponseModel<Blank>>;
|
|
1866
|
-
/**
|
|
1867
|
-
* Elimina un blank.
|
|
1868
|
-
*/
|
|
1869
|
-
deleteBlank(id: number): Promise<ResponseModel<void>>;
|
|
1870
|
-
}
|
|
1871
|
-
|
|
1872
1873
|
declare function decrypt(encryptedBase64: string, secret: string, timestamp: string): string;
|
|
1873
1874
|
|
|
1874
1875
|
export { API, type AdminAuthentication, type AdminUser, type AreaCode, type AreaCodeRequest, type AreaCodeUserProfile, type AreaCodesFilter, AuthInterceptor, type AuthInterceptorConfig, AuthService, type Blank, type BlankRequest, type BlanksFilter, CatalogService, type ChangePasswordAdminRequest, type ChangePasswordRequest, type ChangePasswordUserRequest, type Color, type ColorRequest, type ColorsFilter, type ConfirmEmailRequest, CryptoService, type Endpoint, type EndpointRequest, type EndpointsFilter, ErrorResponse, FalconHUBSDK, FilterBuilder, type FilterFieldMetadata, type FilterGroup, type FilterGroupOption, type FilterGroupsModel, type FilterMetadataModel, type FilterModel, type Gender, type GenderRequest, type GenderUserProfile, type GendersFilter, type GetSecretKeyRequest, type GetSecretKeyResponse, type HttpMethodType, type InterceptorContext, InventoryService, type InventoryStatus, type InventoryStatusRequest, type InventoryStatusesFilter, type Location, type LocationsFilter, type LocationsRequest, type LoginRequest, type LoginResponse, type Material, type MaterialRequest, type MaterialsFilter, type MethodTypes, type Module, type ModuleRequest, type ModulesFilter, type Packing, type PackingRequest, type PackingsFilter, ProductService, type Provider, type ProviderRequest, type ProvidersFilter, type RefreshTokenRequest, type RefreshTokenResponse, type RequestConfig, type RequestInterceptor, type RequestOptions, type ResponseModel, type Role, type RoleRequest, type RoleUserProfile, type RolesFilter, type SendOtpRequest, type ServiceProperties, type Size, type SizeGroup, type SizeGroupRequest, type SizeGroupsFilter, type SizeRequest, type SizesFilter, SystemService, type TokenData, TokenManager, type UIRoute, type UIRouteRequest, type UIRoutesFilter, type UserAdminFilter, type UserAdminRequest, type UserAdminUpdateRequest, type UserAuthAdminRequest, type UserAuthUpdateRequest, type UserBasicResponse, type UserDataUpdateRequest, type UserProfileResponse, UserService, type UserType, type UserTypeRequest, type UserTypeUserProfile, type UserTypesFilter, type ValidateOtpRequest, type ValidateSessionRenewedResponse, type ValidateSessionResponse, decrypt };
|