@marteye/studiojs 1.1.29 → 1.1.31
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 +2 -0
- package/dist/index.esm.js +7 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -1
- package/dist/resources/customers.d.ts +1 -0
- package/dist/resources.d.ts +1 -0
- package/dist/studio.d.ts +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -211,6 +211,13 @@ function create$a(httpClient) {
|
|
|
211
211
|
}
|
|
212
212
|
return null;
|
|
213
213
|
},
|
|
214
|
+
getByMartEyeUid: async (marketId, marteyeUid) => {
|
|
215
|
+
let customers = await httpClient.get(`/${marketId}/customers`, { marteyeUid });
|
|
216
|
+
if (customers.length) {
|
|
217
|
+
return customers[0];
|
|
218
|
+
}
|
|
219
|
+
return null;
|
|
220
|
+
},
|
|
214
221
|
};
|
|
215
222
|
return customers;
|
|
216
223
|
}
|