@connectedxm/admin 2.3.7 → 2.3.8

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.cts CHANGED
@@ -1831,7 +1831,7 @@ interface SearchField {
1831
1831
  threadId: string | null;
1832
1832
  updatedAt: string;
1833
1833
  }
1834
- interface Self extends Account {
1834
+ interface Self extends User {
1835
1835
  }
1836
1836
  interface BaseSeries {
1837
1837
  id: string;
@@ -2469,6 +2469,7 @@ interface BaseUser {
2469
2469
  lastName: string;
2470
2470
  title: string | null;
2471
2471
  imageUrl: string;
2472
+ termsAccepted: string | null;
2472
2473
  }
2473
2474
  interface User extends BaseUser {
2474
2475
  phone: string | null;
@@ -4814,6 +4815,7 @@ interface UserUpdateInputs {
4814
4815
  title?: string | null;
4815
4816
  firstName?: string;
4816
4817
  lastName?: string;
4818
+ termsAccepted?: boolean;
4817
4819
  }
4818
4820
  interface UserApiKeyCreateInputs {
4819
4821
  name: string;
@@ -13958,12 +13960,12 @@ interface GetSelfProps extends SingleQueryParams {
13958
13960
  * @category Queries
13959
13961
  * @group Self
13960
13962
  */
13961
- declare const GetSelf: ({ adminApiParams, }: GetSelfProps) => Promise<ConnectedXMResponse<User>>;
13963
+ declare const GetSelf: ({ adminApiParams, }: GetSelfProps) => Promise<ConnectedXMResponse<Self>>;
13962
13964
  /**
13963
13965
  * @category Hooks
13964
13966
  * @group Self
13965
13967
  */
13966
- declare const useGetSelf: (options?: SingleQueryOptions<ReturnType<typeof GetSelf>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<User>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
13968
+ declare const useGetSelf: (options?: SingleQueryOptions<ReturnType<typeof GetSelf>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<Self>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
13967
13969
 
13968
13970
  /**
13969
13971
  * @category Keys
package/dist/index.d.ts CHANGED
@@ -1831,7 +1831,7 @@ interface SearchField {
1831
1831
  threadId: string | null;
1832
1832
  updatedAt: string;
1833
1833
  }
1834
- interface Self extends Account {
1834
+ interface Self extends User {
1835
1835
  }
1836
1836
  interface BaseSeries {
1837
1837
  id: string;
@@ -2469,6 +2469,7 @@ interface BaseUser {
2469
2469
  lastName: string;
2470
2470
  title: string | null;
2471
2471
  imageUrl: string;
2472
+ termsAccepted: string | null;
2472
2473
  }
2473
2474
  interface User extends BaseUser {
2474
2475
  phone: string | null;
@@ -4814,6 +4815,7 @@ interface UserUpdateInputs {
4814
4815
  title?: string | null;
4815
4816
  firstName?: string;
4816
4817
  lastName?: string;
4818
+ termsAccepted?: boolean;
4817
4819
  }
4818
4820
  interface UserApiKeyCreateInputs {
4819
4821
  name: string;
@@ -13958,12 +13960,12 @@ interface GetSelfProps extends SingleQueryParams {
13958
13960
  * @category Queries
13959
13961
  * @group Self
13960
13962
  */
13961
- declare const GetSelf: ({ adminApiParams, }: GetSelfProps) => Promise<ConnectedXMResponse<User>>;
13963
+ declare const GetSelf: ({ adminApiParams, }: GetSelfProps) => Promise<ConnectedXMResponse<Self>>;
13962
13964
  /**
13963
13965
  * @category Hooks
13964
13966
  * @group Self
13965
13967
  */
13966
- declare const useGetSelf: (options?: SingleQueryOptions<ReturnType<typeof GetSelf>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<User>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
13968
+ declare const useGetSelf: (options?: SingleQueryOptions<ReturnType<typeof GetSelf>>) => _tanstack_react_query.UseQueryResult<ConnectedXMResponse<Self>, axios.AxiosError<ConnectedXMResponse<any>, any>>;
13967
13969
 
13968
13970
  /**
13969
13971
  * @category Keys
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@connectedxm/admin",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "Admin API javascript SDK",
5
5
  "author": "ConnectedXM Inc.",
6
6
  "type": "module",