tickera-angular-components 0.0.1-dev.104 → 0.0.1-dev.107
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/index.d.ts
CHANGED
|
@@ -766,7 +766,6 @@ interface Product extends Auditable {
|
|
|
766
766
|
slug: string;
|
|
767
767
|
sku?: string;
|
|
768
768
|
is_limited_edition: boolean;
|
|
769
|
-
is_active: boolean;
|
|
770
769
|
deleted_at: Date | null;
|
|
771
770
|
categories?: ProductCategory[];
|
|
772
771
|
tags?: ProductTag[];
|
|
@@ -1025,6 +1024,12 @@ interface CorporateBond extends Auditable {
|
|
|
1025
1024
|
quantity: number;
|
|
1026
1025
|
status: CorporateBondStatus;
|
|
1027
1026
|
value: number;
|
|
1027
|
+
purchase_value: number;
|
|
1028
|
+
buyer_customer_id: number | null;
|
|
1029
|
+
buyer: Customer | null;
|
|
1030
|
+
order_id: number | null;
|
|
1031
|
+
order: Order | null;
|
|
1032
|
+
payment_method?: PaymentMethod;
|
|
1028
1033
|
codes: CorporateBondCode[];
|
|
1029
1034
|
}
|
|
1030
1035
|
|
|
@@ -1985,6 +1990,13 @@ interface FetchProductsParams {
|
|
|
1985
1990
|
page?: number;
|
|
1986
1991
|
limit?: number;
|
|
1987
1992
|
search?: string;
|
|
1993
|
+
name?: string;
|
|
1994
|
+
is_published?: boolean;
|
|
1995
|
+
category_id?: number;
|
|
1996
|
+
tag_id?: number;
|
|
1997
|
+
type_id?: number;
|
|
1998
|
+
ids_in?: number[];
|
|
1999
|
+
ids_not_in?: number[];
|
|
1988
2000
|
}
|
|
1989
2001
|
|
|
1990
2002
|
declare class ProductService {
|
|
@@ -1992,7 +2004,7 @@ declare class ProductService {
|
|
|
1992
2004
|
private productsSubject;
|
|
1993
2005
|
products$: Observable<Product[]>;
|
|
1994
2006
|
constructor(apiService: ApiService);
|
|
1995
|
-
fetchProducts(
|
|
2007
|
+
fetchProducts(params: FetchProductsParams): Observable<ProductsResponseInterface>;
|
|
1996
2008
|
loadProducts(params: FetchProductsParams): void;
|
|
1997
2009
|
getCurrentProducts(): Product[];
|
|
1998
2010
|
fetchOneById(id: number): Observable<ProductResponse>;
|