@marteye/studiojs 1.1.28 → 1.1.30
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 +16 -2
- package/dist/index.esm.js +5 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/resources/customers.d.ts +1 -0
- package/dist/resources/lots.d.ts +7 -1
- package/dist/resources.d.ts +8 -1
- package/dist/studio.d.ts +8 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -211,6 +211,9 @@ function create$a(httpClient) {
|
|
|
211
211
|
}
|
|
212
212
|
return null;
|
|
213
213
|
},
|
|
214
|
+
getByMartEyeUid: async (marketId, marteyeUid) => {
|
|
215
|
+
return httpClient.get(`/${marketId}/customers`, { marteyeUid });
|
|
216
|
+
},
|
|
214
217
|
};
|
|
215
218
|
return customers;
|
|
216
219
|
}
|
|
@@ -5042,8 +5045,8 @@ function create$7(httpClient) {
|
|
|
5042
5045
|
get: async (marketId, saleId, lotId) => {
|
|
5043
5046
|
return httpClient.get(`/${marketId}/sales/${saleId}/lots/${lotId}`);
|
|
5044
5047
|
},
|
|
5045
|
-
list: async (marketId, saleId) => {
|
|
5046
|
-
return httpClient.get(`/${marketId}/sales/${saleId}/lots
|
|
5048
|
+
list: async (marketId, saleId, filters) => {
|
|
5049
|
+
return httpClient.get(`/${marketId}/sales/${saleId}/lots`, filters);
|
|
5047
5050
|
},
|
|
5048
5051
|
create: async (marketId, saleId, data) => {
|
|
5049
5052
|
return httpClient.post(`/${marketId}/sales/${saleId}/lots`, data);
|