@dascompany/product 4.2.9 → 4.2.11
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.ts
CHANGED
|
@@ -76,4 +76,5 @@ import MarketPlacesReader from "./reader/MarketPlacesReader";
|
|
|
76
76
|
import PriceConverter from "./utils/PriceConverter";
|
|
77
77
|
import createQueryOptionsForId from "./utils/createQueryOptionsForId";
|
|
78
78
|
import CilentAccountExistWithThisEmail from "./lib/errors/CilentAccountExistWithThisEmail";
|
|
79
|
-
|
|
79
|
+
import MarketPlaceI from "./types/MarketPlaceI";
|
|
80
|
+
export { Client, ClientAccountRepo, ClientAccountReader, AccountDeliveryDetailsReader, AccountCompanyDetailsReader, AccountCart, AccountCartReader, Admin, AdminRepo, AdminReader, Address, AddressI, AddressesRepo, AddressesReader, PersonalData, PersonalDataRepo, PersonalDataReader, PersonalDataI, CompanyDetails, CompanyDetailsRepo, CompanyDetailsReader, CompanyDetailsI, DeliveryDetails, DeliveryDetailsRepo, DeliveryDetailsReader, DeliveryDetailsI, DeliveryMethods, DeliveryMethodRepo, DeliveryMethodReader, DeliveryMethodI, DeliveryMethodTypeE, DeliveryStatus, DeliveryStatusReader, DeliveryStatusTypeE, PaymentDetails, PaymentDetailsRepo, PaymentDetailsReader, PaymentDetailsI, PaymentMethods, PaymentMethodRepo, PaymentMethodReader, PaymentMethodE, PaymentMethodI, PaymentStatus, PaymentStatusesReader, PaymentStatusE, Order, OrderRepo, OrderReader, OrderProduct, OrderProductsRepo, OrderProductsReader, OrderProductI, Status, OrderStatusReader, StatusI, OrderStatusTypeE, StatusTypesReader, ProductI, Product, ProductRepo, ProductReader, File, FilesRepo, FilesReader, FileI, FileConnection, FileConnectionsRepo, FileConnectionsReader, FileConnectionTypeE, CompanyData, CompanyDataRepo, CompanyDataReader, CompanyDataI, MarketPlacesReader, PriceConverter, createQueryOptionsForId, CilentAccountExistWithThisEmail, MarketPlaceI };
|
|
@@ -1,13 +1,8 @@
|
|
|
1
1
|
import { QueryOptions } from "@dascompany/database";
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
4
|
-
country: string;
|
|
5
|
-
vatRate: string;
|
|
6
|
-
};
|
|
2
|
+
import MarketPlaceI from "../types/MarketPlaceI";
|
|
7
3
|
export default class MarketPlacesReader {
|
|
8
|
-
static get(queryOptions: QueryOptions): Promise<
|
|
9
|
-
static getAll(queryOptions: QueryOptions): Promise<
|
|
4
|
+
static get(queryOptions: QueryOptions): Promise<MarketPlaceI>;
|
|
5
|
+
static getAll(queryOptions: QueryOptions): Promise<MarketPlaceI[]>;
|
|
10
6
|
private static correctMarkets;
|
|
11
7
|
private static correctMarket;
|
|
12
8
|
}
|
|
13
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist/types/ProductI.d.ts
CHANGED
|
@@ -5,9 +5,11 @@ export default interface ProductI {
|
|
|
5
5
|
articleNumber: string;
|
|
6
6
|
url: string;
|
|
7
7
|
title: string;
|
|
8
|
+
subtitle: string;
|
|
8
9
|
description: string;
|
|
9
10
|
netPrice: number;
|
|
10
11
|
promotionalNetPrice: number;
|
|
12
|
+
promotionalGrossPrice: number;
|
|
11
13
|
installationPrice: number;
|
|
12
14
|
grossPrice: number;
|
|
13
15
|
vat: number;
|