@foru-ms/sdk 2.1.13 → 2.1.14

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.13",
47
- "User-Agent": "@foru-ms/sdk/2.1.13",
46
+ "X-Fern-SDK-Version": "2.1.14",
47
+ "User-Agent": "@foru-ms/sdk/2.1.14",
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);
@@ -89,10 +89,11 @@ class PostsClient {
89
89
  __list() {
90
90
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
91
91
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
92
- const { limit, cursor, userId, sort, search, type: type_ } = request;
92
+ const { limit, cursor, threadId, userId, sort, search, type: type_ } = request;
93
93
  const _queryParams = {
94
94
  limit,
95
95
  cursor,
96
+ threadId,
96
97
  userId,
97
98
  sort: sort != null ? sort : undefined,
98
99
  search,
@@ -668,10 +669,11 @@ class PostsClient {
668
669
  __listPosts(request, requestOptions) {
669
670
  return __awaiter(this, void 0, void 0, function* () {
670
671
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
671
- const { id, limit, cursor, userId, sort, search, type: type_ } = request;
672
+ const { id, limit, cursor, threadId, userId, sort, search, type: type_ } = request;
672
673
  const _queryParams = {
673
674
  limit,
674
675
  cursor,
676
+ threadId,
675
677
  userId,
676
678
  sort: sort != null ? sort : undefined,
677
679
  search,
@@ -12,6 +12,8 @@ export interface ListPostsPostsRequest {
12
12
  limit?: number;
13
13
  /** Cursor for pagination */
14
14
  cursor?: string;
15
+ /** Filter posts by thread ID */
16
+ threadId?: string;
15
17
  /** Filter posts by author ID */
16
18
  userId?: string;
17
19
  /** Sort posts by creation time */
@@ -8,6 +8,8 @@ export interface ListPostsRequest {
8
8
  limit?: number;
9
9
  /** Cursor for pagination */
10
10
  cursor?: string;
11
+ /** Filter posts by thread ID */
12
+ threadId?: string;
11
13
  /** Filter posts by author ID */
12
14
  userId?: string;
13
15
  /** Sort posts by creation time */
@@ -3,6 +3,8 @@ export interface PostList {
3
3
  limit?: number;
4
4
  /** Cursor for pagination */
5
5
  cursor?: string;
6
+ /** Filter posts by thread ID */
7
+ threadId?: string;
6
8
  /** Filter posts by author ID */
7
9
  userId?: string;
8
10
  /** Sort posts by creation time */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.1.13";
1
+ export declare const SDK_VERSION = "2.1.14";
@@ -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.13";
4
+ exports.SDK_VERSION = "2.1.14";
@@ -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.13",
10
- "User-Agent": "@foru-ms/sdk/2.1.13",
9
+ "X-Fern-SDK-Version": "2.1.14",
10
+ "User-Agent": "@foru-ms/sdk/2.1.14",
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);
@@ -53,10 +53,11 @@ export class PostsClient {
53
53
  __list() {
54
54
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
55
55
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
56
- const { limit, cursor, userId, sort, search, type: type_ } = request;
56
+ const { limit, cursor, threadId, userId, sort, search, type: type_ } = request;
57
57
  const _queryParams = {
58
58
  limit,
59
59
  cursor,
60
+ threadId,
60
61
  userId,
61
62
  sort: sort != null ? sort : undefined,
62
63
  search,
@@ -632,10 +633,11 @@ export class PostsClient {
632
633
  __listPosts(request, requestOptions) {
633
634
  return __awaiter(this, void 0, void 0, function* () {
634
635
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
635
- const { id, limit, cursor, userId, sort, search, type: type_ } = request;
636
+ const { id, limit, cursor, threadId, userId, sort, search, type: type_ } = request;
636
637
  const _queryParams = {
637
638
  limit,
638
639
  cursor,
640
+ threadId,
639
641
  userId,
640
642
  sort: sort != null ? sort : undefined,
641
643
  search,
@@ -12,6 +12,8 @@ export interface ListPostsPostsRequest {
12
12
  limit?: number;
13
13
  /** Cursor for pagination */
14
14
  cursor?: string;
15
+ /** Filter posts by thread ID */
16
+ threadId?: string;
15
17
  /** Filter posts by author ID */
16
18
  userId?: string;
17
19
  /** Sort posts by creation time */
@@ -8,6 +8,8 @@ export interface ListPostsRequest {
8
8
  limit?: number;
9
9
  /** Cursor for pagination */
10
10
  cursor?: string;
11
+ /** Filter posts by thread ID */
12
+ threadId?: string;
11
13
  /** Filter posts by author ID */
12
14
  userId?: string;
13
15
  /** Sort posts by creation time */
@@ -3,6 +3,8 @@ export interface PostList {
3
3
  limit?: number;
4
4
  /** Cursor for pagination */
5
5
  cursor?: string;
6
+ /** Filter posts by thread ID */
7
+ threadId?: string;
6
8
  /** Filter posts by author ID */
7
9
  userId?: string;
8
10
  /** Sort posts by creation time */
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "2.1.13";
1
+ export declare const SDK_VERSION = "2.1.14";
@@ -1 +1 @@
1
- export const SDK_VERSION = "2.1.13";
1
+ export const SDK_VERSION = "2.1.14";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foru-ms/sdk",
3
- "version": "2.1.13",
3
+ "version": "2.1.14",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",