@foru-ms/sdk 2.1.2 → 2.1.3

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.
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@foru-ms/sdk",
46
- "X-Fern-SDK-Version": "2.1.2",
47
- "User-Agent": "@foru-ms/sdk/2.1.2",
46
+ "X-Fern-SDK-Version": "2.1.3",
47
+ "User-Agent": "@foru-ms/sdk/2.1.3",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,10 +1,12 @@
1
1
  export interface UpdateUsersResponse {
2
- data?: UpdateUsersResponse.Data;
2
+ data: UpdateUsersResponse.Data;
3
3
  }
4
4
  export declare namespace UpdateUsersResponse {
5
5
  interface Data {
6
6
  id: string;
7
7
  username: string;
8
+ /** Email address */
9
+ email: string | null;
8
10
  /** Display name */
9
11
  displayName: string | null;
10
12
  /** User bio */
@@ -15,8 +15,42 @@ export declare namespace LoginResponse {
15
15
  interface User {
16
16
  id: string;
17
17
  username: string;
18
- email?: string;
18
+ /** Email address */
19
+ email: string | null;
20
+ /** Display name */
19
21
  displayName: string | null;
22
+ /** User bio */
23
+ bio: string | null;
24
+ /** Forum signature */
25
+ signature: string | null;
26
+ /** User website URL */
27
+ url: string | null;
28
+ /** Total posts by user */
29
+ postsCount?: number;
30
+ /** Total threads by user */
31
+ threadsCount?: number;
32
+ /** Online status */
33
+ isOnline: boolean | null;
34
+ /** Last activity timestamp */
35
+ lastSeenAt: string | null;
36
+ /** User roles */
37
+ roles?: User.Roles.Item[];
38
+ /** Custom user data */
39
+ extendedData: Record<string, unknown> | null;
40
+ /** Account creation timestamp */
41
+ createdAt: string;
42
+ /** Profile last update timestamp */
43
+ updatedAt: string;
44
+ }
45
+ namespace User {
46
+ type Roles = Roles.Item[];
47
+ namespace Roles {
48
+ interface Item {
49
+ id: string;
50
+ name: string;
51
+ slug: string | null;
52
+ }
53
+ }
20
54
  }
21
55
  }
22
56
  }
@@ -5,18 +5,32 @@ export declare namespace MeResponse {
5
5
  interface Data {
6
6
  id: string;
7
7
  username: string;
8
- displayName: string | null;
8
+ /** Email address */
9
9
  email: string | null;
10
+ /** Display name */
11
+ displayName: string | null;
12
+ /** User bio */
10
13
  bio: string | null;
14
+ /** Forum signature */
11
15
  signature: string | null;
16
+ /** User website URL */
12
17
  url: string | null;
18
+ /** Total posts by user */
13
19
  postsCount?: number;
20
+ /** Total threads by user */
14
21
  threadsCount?: number;
22
+ /** Online status */
15
23
  isOnline: boolean | null;
24
+ /** Last activity timestamp */
16
25
  lastSeenAt: string | null;
26
+ /** User roles */
17
27
  roles?: Data.Roles.Item[];
28
+ /** Custom user data */
18
29
  extendedData: Record<string, unknown> | null;
30
+ /** Account creation timestamp */
19
31
  createdAt: string;
32
+ /** Profile last update timestamp */
33
+ updatedAt: string;
20
34
  }
21
35
  namespace Data {
22
36
  type Roles = Roles.Item[];
@@ -15,8 +15,42 @@ export declare namespace RegisterResponse {
15
15
  interface User {
16
16
  id: string;
17
17
  username: string;
18
- email?: string;
18
+ /** Email address */
19
+ email: string | null;
20
+ /** Display name */
19
21
  displayName: string | null;
22
+ /** User bio */
23
+ bio: string | null;
24
+ /** Forum signature */
25
+ signature: string | null;
26
+ /** User website URL */
27
+ url: string | null;
28
+ /** Total posts by user */
29
+ postsCount?: number;
30
+ /** Total threads by user */
31
+ threadsCount?: number;
32
+ /** Online status */
33
+ isOnline: boolean | null;
34
+ /** Last activity timestamp */
35
+ lastSeenAt: string | null;
36
+ /** User roles */
37
+ roles?: User.Roles.Item[];
38
+ /** Custom user data */
39
+ extendedData: Record<string, unknown> | null;
40
+ /** Account creation timestamp */
41
+ createdAt: string;
42
+ /** Profile last update timestamp */
43
+ updatedAt: string;
44
+ }
45
+ namespace User {
46
+ type Roles = Roles.Item[];
47
+ namespace Roles {
48
+ interface Item {
49
+ id: string;
50
+ name: string;
51
+ slug: string | null;
52
+ }
53
+ }
20
54
  }
21
55
  }
22
56
  }
@@ -1,6 +1,8 @@
1
1
  export interface User {
2
2
  id: string;
3
3
  username: string;
4
+ /** Email address */
5
+ email: string | null;
4
6
  /** Display name */
5
7
  displayName: string | null;
6
8
  /** User bio */
@@ -15,6 +15,8 @@ export declare namespace UserListResponse {
15
15
  interface Item {
16
16
  id: string;
17
17
  username: string;
18
+ /** Email address */
19
+ email: string | null;
18
20
  /** Display name */
19
21
  displayName: string | null;
20
22
  /** User bio */
@@ -1,10 +1,12 @@
1
1
  export interface UserResponse {
2
- data?: UserResponse.Data;
2
+ data: UserResponse.Data;
3
3
  }
4
4
  export declare namespace UserResponse {
5
5
  interface Data {
6
6
  id: string;
7
7
  username: string;
8
+ /** Email address */
9
+ email: string | null;
8
10
  /** Display name */
9
11
  displayName: string | null;
10
12
  /** User bio */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.1.2";
1
+ export declare const SDK_VERSION = "2.1.3";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "2.1.2";
4
+ exports.SDK_VERSION = "2.1.3";
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@foru-ms/sdk",
9
- "X-Fern-SDK-Version": "2.1.2",
10
- "User-Agent": "@foru-ms/sdk/2.1.2",
9
+ "X-Fern-SDK-Version": "2.1.3",
10
+ "User-Agent": "@foru-ms/sdk/2.1.3",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,10 +1,12 @@
1
1
  export interface UpdateUsersResponse {
2
- data?: UpdateUsersResponse.Data;
2
+ data: UpdateUsersResponse.Data;
3
3
  }
4
4
  export declare namespace UpdateUsersResponse {
5
5
  interface Data {
6
6
  id: string;
7
7
  username: string;
8
+ /** Email address */
9
+ email: string | null;
8
10
  /** Display name */
9
11
  displayName: string | null;
10
12
  /** User bio */
@@ -15,8 +15,42 @@ export declare namespace LoginResponse {
15
15
  interface User {
16
16
  id: string;
17
17
  username: string;
18
- email?: string;
18
+ /** Email address */
19
+ email: string | null;
20
+ /** Display name */
19
21
  displayName: string | null;
22
+ /** User bio */
23
+ bio: string | null;
24
+ /** Forum signature */
25
+ signature: string | null;
26
+ /** User website URL */
27
+ url: string | null;
28
+ /** Total posts by user */
29
+ postsCount?: number;
30
+ /** Total threads by user */
31
+ threadsCount?: number;
32
+ /** Online status */
33
+ isOnline: boolean | null;
34
+ /** Last activity timestamp */
35
+ lastSeenAt: string | null;
36
+ /** User roles */
37
+ roles?: User.Roles.Item[];
38
+ /** Custom user data */
39
+ extendedData: Record<string, unknown> | null;
40
+ /** Account creation timestamp */
41
+ createdAt: string;
42
+ /** Profile last update timestamp */
43
+ updatedAt: string;
44
+ }
45
+ namespace User {
46
+ type Roles = Roles.Item[];
47
+ namespace Roles {
48
+ interface Item {
49
+ id: string;
50
+ name: string;
51
+ slug: string | null;
52
+ }
53
+ }
20
54
  }
21
55
  }
22
56
  }
@@ -5,18 +5,32 @@ export declare namespace MeResponse {
5
5
  interface Data {
6
6
  id: string;
7
7
  username: string;
8
- displayName: string | null;
8
+ /** Email address */
9
9
  email: string | null;
10
+ /** Display name */
11
+ displayName: string | null;
12
+ /** User bio */
10
13
  bio: string | null;
14
+ /** Forum signature */
11
15
  signature: string | null;
16
+ /** User website URL */
12
17
  url: string | null;
18
+ /** Total posts by user */
13
19
  postsCount?: number;
20
+ /** Total threads by user */
14
21
  threadsCount?: number;
22
+ /** Online status */
15
23
  isOnline: boolean | null;
24
+ /** Last activity timestamp */
16
25
  lastSeenAt: string | null;
26
+ /** User roles */
17
27
  roles?: Data.Roles.Item[];
28
+ /** Custom user data */
18
29
  extendedData: Record<string, unknown> | null;
30
+ /** Account creation timestamp */
19
31
  createdAt: string;
32
+ /** Profile last update timestamp */
33
+ updatedAt: string;
20
34
  }
21
35
  namespace Data {
22
36
  type Roles = Roles.Item[];
@@ -15,8 +15,42 @@ export declare namespace RegisterResponse {
15
15
  interface User {
16
16
  id: string;
17
17
  username: string;
18
- email?: string;
18
+ /** Email address */
19
+ email: string | null;
20
+ /** Display name */
19
21
  displayName: string | null;
22
+ /** User bio */
23
+ bio: string | null;
24
+ /** Forum signature */
25
+ signature: string | null;
26
+ /** User website URL */
27
+ url: string | null;
28
+ /** Total posts by user */
29
+ postsCount?: number;
30
+ /** Total threads by user */
31
+ threadsCount?: number;
32
+ /** Online status */
33
+ isOnline: boolean | null;
34
+ /** Last activity timestamp */
35
+ lastSeenAt: string | null;
36
+ /** User roles */
37
+ roles?: User.Roles.Item[];
38
+ /** Custom user data */
39
+ extendedData: Record<string, unknown> | null;
40
+ /** Account creation timestamp */
41
+ createdAt: string;
42
+ /** Profile last update timestamp */
43
+ updatedAt: string;
44
+ }
45
+ namespace User {
46
+ type Roles = Roles.Item[];
47
+ namespace Roles {
48
+ interface Item {
49
+ id: string;
50
+ name: string;
51
+ slug: string | null;
52
+ }
53
+ }
20
54
  }
21
55
  }
22
56
  }
@@ -1,6 +1,8 @@
1
1
  export interface User {
2
2
  id: string;
3
3
  username: string;
4
+ /** Email address */
5
+ email: string | null;
4
6
  /** Display name */
5
7
  displayName: string | null;
6
8
  /** User bio */
@@ -15,6 +15,8 @@ export declare namespace UserListResponse {
15
15
  interface Item {
16
16
  id: string;
17
17
  username: string;
18
+ /** Email address */
19
+ email: string | null;
18
20
  /** Display name */
19
21
  displayName: string | null;
20
22
  /** User bio */
@@ -1,10 +1,12 @@
1
1
  export interface UserResponse {
2
- data?: UserResponse.Data;
2
+ data: UserResponse.Data;
3
3
  }
4
4
  export declare namespace UserResponse {
5
5
  interface Data {
6
6
  id: string;
7
7
  username: string;
8
+ /** Email address */
9
+ email: string | null;
8
10
  /** Display name */
9
11
  displayName: string | null;
10
12
  /** User bio */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.1.2";
1
+ export declare const SDK_VERSION = "2.1.3";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.1.2";
1
+ export const SDK_VERSION = "2.1.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foru-ms/sdk",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",