minikai 1.1.0 → 1.2.0

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": "minikai",
46
- "X-Fern-SDK-Version": "1.1.0",
47
- "User-Agent": "minikai/1.1.0",
46
+ "X-Fern-SDK-Version": "1.2.0",
47
+ "User-Agent": "minikai/1.2.0",
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);
@@ -72,7 +72,7 @@ class RecordsClient {
72
72
  __getRecords(request, requestOptions) {
73
73
  return __awaiter(this, void 0, void 0, function* () {
74
74
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
75
- const { miniId, recordIds, externalUris, recordId, beforeCursor, afterCursor, limitBefore, limitAfter, labels, states, startDate, endDate, createdBy, updatedBy, sortDescending, } = request;
75
+ const { miniId, recordIds, externalUris, recordId, beforeCursor, afterCursor, limitBefore, limitAfter, labels, states, startDate, endDate, createdBy, updatedBy, sortDescending, includeTotalCount, } = request;
76
76
  const _queryParams = {
77
77
  miniId,
78
78
  recordIds,
@@ -89,6 +89,7 @@ class RecordsClient {
89
89
  createdBy,
90
90
  updatedBy,
91
91
  sortDescending,
92
+ includeTotalCount,
92
93
  };
93
94
  const _authRequest = yield this._options.authProvider.getAuthRequest();
94
95
  const _headers = (0, headers_js_1.mergeHeaders)(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -21,4 +21,5 @@ export interface GetRecordsRequest {
21
21
  createdBy?: string | string[];
22
22
  updatedBy?: string | string[];
23
23
  sortDescending?: boolean;
24
+ includeTotalCount?: boolean;
24
25
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.0";
1
+ export declare const SDK_VERSION = "1.2.0";
@@ -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 = "1.1.0";
4
+ exports.SDK_VERSION = "1.2.0";
@@ -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": "minikai",
9
- "X-Fern-SDK-Version": "1.1.0",
10
- "User-Agent": "minikai/1.1.0",
9
+ "X-Fern-SDK-Version": "1.2.0",
10
+ "User-Agent": "minikai/1.2.0",
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);
@@ -36,7 +36,7 @@ export class RecordsClient {
36
36
  __getRecords(request, requestOptions) {
37
37
  return __awaiter(this, void 0, void 0, function* () {
38
38
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
39
- const { miniId, recordIds, externalUris, recordId, beforeCursor, afterCursor, limitBefore, limitAfter, labels, states, startDate, endDate, createdBy, updatedBy, sortDescending, } = request;
39
+ const { miniId, recordIds, externalUris, recordId, beforeCursor, afterCursor, limitBefore, limitAfter, labels, states, startDate, endDate, createdBy, updatedBy, sortDescending, includeTotalCount, } = request;
40
40
  const _queryParams = {
41
41
  miniId,
42
42
  recordIds,
@@ -53,6 +53,7 @@ export class RecordsClient {
53
53
  createdBy,
54
54
  updatedBy,
55
55
  sortDescending,
56
+ includeTotalCount,
56
57
  };
57
58
  const _authRequest = yield this._options.authProvider.getAuthRequest();
58
59
  const _headers = mergeHeaders(_authRequest.headers, (_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
@@ -21,4 +21,5 @@ export interface GetRecordsRequest {
21
21
  createdBy?: string | string[];
22
22
  updatedBy?: string | string[];
23
23
  sortDescending?: boolean;
24
+ includeTotalCount?: boolean;
24
25
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.1.0";
1
+ export declare const SDK_VERSION = "1.2.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.1.0";
1
+ export const SDK_VERSION = "1.2.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minikai",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",