minikai 1.5.2 → 1.5.4

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.5.2",
47
- "User-Agent": "minikai/1.5.2",
46
+ "X-Fern-SDK-Version": "1.5.4",
47
+ "User-Agent": "minikai/1.5.4",
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);
@@ -11,7 +11,7 @@ export declare class RecordsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<RecordsClient.Options>;
12
12
  constructor(options: RecordsClient.Options);
13
13
  /**
14
- * List a Mini's Records.
14
+ * List a Mini's Records, optionally filtered by labels, states, dates, or content keys.
15
15
  *
16
16
  * @param {Minikai.GetRecordsRequest} request
17
17
  * @param {RecordsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -56,7 +56,7 @@ class RecordsClient {
56
56
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
57
57
  }
58
58
  /**
59
- * List a Mini's Records.
59
+ * List a Mini's Records, optionally filtered by labels, states, dates, or content keys.
60
60
  *
61
61
  * @param {Minikai.GetRecordsRequest} request
62
62
  * @param {RecordsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -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, includeTotalCount, } = request;
75
+ const { miniId, recordIds, externalUris, recordId, beforeCursor, afterCursor, limitBefore, limitAfter, labels, states, startDate, endDate, createdBy, updatedBy, sortDescending, includeTotalCount, contentFilters, } = request;
76
76
  const _queryParams = {
77
77
  miniId,
78
78
  recordIds,
@@ -90,6 +90,7 @@ class RecordsClient {
90
90
  updatedBy,
91
91
  sortDescending,
92
92
  includeTotalCount,
93
+ contentFilters,
93
94
  };
94
95
  const _authRequest = yield this._options.authProvider.getAuthRequest();
95
96
  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);
@@ -22,4 +22,5 @@ export interface GetRecordsRequest {
22
22
  updatedBy?: string | string[];
23
23
  sortDescending?: boolean;
24
24
  includeTotalCount?: boolean;
25
+ contentFilters?: string | string[];
25
26
  }
@@ -6,5 +6,6 @@ export declare const IdentityKind: {
6
6
  readonly Dva: "dva";
7
7
  readonly PrivateHealthInsurance: "private_health_insurance";
8
8
  readonly CmsId: "cms_id";
9
+ readonly Unknown: "unknown";
9
10
  };
10
11
  export type IdentityKind = (typeof IdentityKind)[keyof typeof IdentityKind];
@@ -10,4 +10,5 @@ exports.IdentityKind = {
10
10
  Dva: "dva",
11
11
  PrivateHealthInsurance: "private_health_insurance",
12
12
  CmsId: "cms_id",
13
+ Unknown: "unknown",
13
14
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.5.2";
1
+ export declare const SDK_VERSION = "1.5.4";
@@ -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.5.2";
4
+ exports.SDK_VERSION = "1.5.4";
@@ -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.5.2",
10
- "User-Agent": "minikai/1.5.2",
9
+ "X-Fern-SDK-Version": "1.5.4",
10
+ "User-Agent": "minikai/1.5.4",
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);
@@ -11,7 +11,7 @@ export declare class RecordsClient {
11
11
  protected readonly _options: NormalizedClientOptionsWithAuth<RecordsClient.Options>;
12
12
  constructor(options: RecordsClient.Options);
13
13
  /**
14
- * List a Mini's Records.
14
+ * List a Mini's Records, optionally filtered by labels, states, dates, or content keys.
15
15
  *
16
16
  * @param {Minikai.GetRecordsRequest} request
17
17
  * @param {RecordsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -20,7 +20,7 @@ export class RecordsClient {
20
20
  this._options = normalizeClientOptionsWithAuth(options);
21
21
  }
22
22
  /**
23
- * List a Mini's Records.
23
+ * List a Mini's Records, optionally filtered by labels, states, dates, or content keys.
24
24
  *
25
25
  * @param {Minikai.GetRecordsRequest} request
26
26
  * @param {RecordsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -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, includeTotalCount, } = request;
39
+ const { miniId, recordIds, externalUris, recordId, beforeCursor, afterCursor, limitBefore, limitAfter, labels, states, startDate, endDate, createdBy, updatedBy, sortDescending, includeTotalCount, contentFilters, } = request;
40
40
  const _queryParams = {
41
41
  miniId,
42
42
  recordIds,
@@ -54,6 +54,7 @@ export class RecordsClient {
54
54
  updatedBy,
55
55
  sortDescending,
56
56
  includeTotalCount,
57
+ contentFilters,
57
58
  };
58
59
  const _authRequest = yield this._options.authProvider.getAuthRequest();
59
60
  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);
@@ -22,4 +22,5 @@ export interface GetRecordsRequest {
22
22
  updatedBy?: string | string[];
23
23
  sortDescending?: boolean;
24
24
  includeTotalCount?: boolean;
25
+ contentFilters?: string | string[];
25
26
  }
@@ -6,5 +6,6 @@ export declare const IdentityKind: {
6
6
  readonly Dva: "dva";
7
7
  readonly PrivateHealthInsurance: "private_health_insurance";
8
8
  readonly CmsId: "cms_id";
9
+ readonly Unknown: "unknown";
9
10
  };
10
11
  export type IdentityKind = (typeof IdentityKind)[keyof typeof IdentityKind];
@@ -7,4 +7,5 @@ export const IdentityKind = {
7
7
  Dva: "dva",
8
8
  PrivateHealthInsurance: "private_health_insurance",
9
9
  CmsId: "cms_id",
10
+ Unknown: "unknown",
10
11
  };
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.5.2";
1
+ export declare const SDK_VERSION = "1.5.4";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.5.2";
1
+ export const SDK_VERSION = "1.5.4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minikai",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/reference.md CHANGED
@@ -1228,7 +1228,7 @@ await client.minis.deleteMiniProfilePicture("id");
1228
1228
  <dl>
1229
1229
  <dd>
1230
1230
 
1231
- List a Mini's Records.
1231
+ List a Mini's Records, optionally filtered by labels, states, dates, or content keys.
1232
1232
  </dd>
1233
1233
  </dl>
1234
1234
  </dd>