@marteye/studiojs 1.1.30 → 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.
@@ -33,6 +33,6 @@ export default function create(httpClient: HttpClient): {
33
33
  * @returns The customer with the specified account number or null if not found
34
34
  */
35
35
  getByAccountNumber: (marketId: string, accountNumber: string) => Promise<Customer | null>;
36
- getByMartEyeUid: (marketId: string, marteyeUid: string) => Promise<Customer>;
36
+ getByMartEyeUid: (marketId: string, marteyeUid: string) => Promise<Customer | null>;
37
37
  };
38
38
  export type Customers = ReturnType<typeof create>;
@@ -168,7 +168,7 @@ export default function resources(httpClient: HttpClient): {
168
168
  avatar: (marketId: string, customerId: string) => Promise<import("./types").Customer>;
169
169
  create: (marketId: string, customerData: import("./resources/customers").CreateCustomerPayload) => Promise<import("./types").Customer>;
170
170
  getByAccountNumber: (marketId: string, accountNumber: string) => Promise<import("./types").Customer | null>;
171
- getByMartEyeUid: (marketId: string, marteyeUid: string) => Promise<import("./types").Customer>;
171
+ getByMartEyeUid: (marketId: string, marteyeUid: string) => Promise<import("./types").Customer | null>;
172
172
  };
173
173
  search: {
174
174
  query: (marketId: string, query: string) => Promise<import("./resources/search").SearchResult>;
package/dist/studio.d.ts CHANGED
@@ -177,7 +177,7 @@ export declare function Studio(info?: {
177
177
  avatar: (marketId: string, customerId: string) => Promise<import("./types").Customer>;
178
178
  create: (marketId: string, customerData: import("./resources/customers").CreateCustomerPayload) => Promise<import("./types").Customer>;
179
179
  getByAccountNumber: (marketId: string, accountNumber: string) => Promise<import("./types").Customer | null>;
180
- getByMartEyeUid: (marketId: string, marteyeUid: string) => Promise<import("./types").Customer>;
180
+ getByMartEyeUid: (marketId: string, marteyeUid: string) => Promise<import("./types").Customer | null>;
181
181
  };
182
182
  search: {
183
183
  query: (marketId: string, query: string) => Promise<import("./resources/search").SearchResult>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marteye/studiojs",
3
- "version": "1.1.30",
3
+ "version": "1.1.31",
4
4
  "description": "MartEye Studio JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "type": "module",