@marteye/studiojs 1.1.28 → 1.1.29

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
@@ -1365,7 +1365,13 @@ declare function resources(httpClient: HttpClient): {
1365
1365
  };
1366
1366
  lots: {
1367
1367
  get: (marketId: string, saleId: string, lotId: string) => Promise<Lot>;
1368
- list: (marketId: string, saleId: string) => Promise<Lot[]>;
1368
+ list: (marketId: string, saleId: string, filters?: {
1369
+ group?: string;
1370
+ productCode?: string;
1371
+ saleStatus?: LotSaleStatus;
1372
+ sellerCustomerId?: string;
1373
+ buyerCustomerId?: string;
1374
+ }) => Promise<Lot[]>;
1369
1375
  create: (marketId: string, saleId: string, data: {
1370
1376
  index?: number;
1371
1377
  lotNumber?: string;
@@ -1557,7 +1563,13 @@ declare function Studio(info?: {
1557
1563
  };
1558
1564
  lots: {
1559
1565
  get: (marketId: string, saleId: string, lotId: string) => Promise<Lot>;
1560
- list: (marketId: string, saleId: string) => Promise<Lot[]>;
1566
+ list: (marketId: string, saleId: string, filters?: {
1567
+ group?: string;
1568
+ productCode?: string;
1569
+ saleStatus?: LotSaleStatus;
1570
+ sellerCustomerId?: string;
1571
+ buyerCustomerId?: string;
1572
+ }) => Promise<Lot[]>;
1561
1573
  create: (marketId: string, saleId: string, data: {
1562
1574
  index?: number;
1563
1575
  lotNumber?: string;
package/dist/index.esm.js CHANGED
@@ -5038,8 +5038,8 @@ function create$7(httpClient) {
5038
5038
  get: async (marketId, saleId, lotId) => {
5039
5039
  return httpClient.get(`/${marketId}/sales/${saleId}/lots/${lotId}`);
5040
5040
  },
5041
- list: async (marketId, saleId) => {
5042
- return httpClient.get(`/${marketId}/sales/${saleId}/lots`);
5041
+ list: async (marketId, saleId, filters) => {
5042
+ return httpClient.get(`/${marketId}/sales/${saleId}/lots`, filters);
5043
5043
  },
5044
5044
  create: async (marketId, saleId, data) => {
5045
5045
  return httpClient.post(`/${marketId}/sales/${saleId}/lots`, data);