Skip to content

Commit e76bf8e

Browse files
author
Dusan Subally
committed
fix: forgoto build latest changes
1 parent 1d76fd1 commit e76bf8e

File tree

3 files changed

+29
-12
lines changed

3 files changed

+29
-12
lines changed

dist/user.d.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
import { AxiosInstance, AxiosResponse } from 'axios';
2-
export declare class User {
3-
private client;
4-
constructor({ client }: UserOptions);
2+
import { BaseEndpoint } from './baseEndpoint';
3+
import { UserId } from './types';
4+
export declare class User extends BaseEndpoint {
5+
constructor({ client }: {
6+
client: AxiosInstance;
7+
});
58
users({ next, }: {
69
next?: null | string;
710
}): Promise<AxiosResponse<{
@@ -13,7 +16,7 @@ export declare class User {
1316
}): Promise<AxiosResponse<any>>;
1417
update({ userId, customAttributes }: UserUpdateOptions): Promise<AxiosResponse>;
1518
delete({ userId }: {
16-
userId: string | number;
19+
userId: UserId;
1720
}): Promise<AxiosResponse>;
1821
private setCustomAttributes;
1922
}
@@ -24,10 +27,7 @@ export interface UsercomUser {
2427
}[];
2528
}
2629
interface UserUpdateOptions<T = any> {
27-
userId: string | number;
30+
userId: UserId;
2831
customAttributes: T;
2932
}
30-
interface UserOptions {
31-
client: AxiosInstance;
32-
}
3333
export {};

dist/user.js

Lines changed: 20 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/user.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)