minikai 1.5.0 → 1.5.2
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/labels/client/requests/UpdateLabelCommand.d.ts +1 -4
- package/dist/cjs/api/resources/minis/client/requests/SearchMinisFullTextQuery.d.ts +1 -4
- package/dist/cjs/api/resources/records/client/requests/UpdateDraftRecordCommand.d.ts +1 -4
- package/dist/cjs/api/resources/records/client/requests/UpdateRecordCommand.d.ts +1 -4
- package/dist/cjs/api/types/BatchUploadRecordItemDto.d.ts +1 -4
- package/dist/cjs/api/types/DuplicateUpsertItemOfBatchUploadRecordItemDto.d.ts +1 -4
- package/dist/cjs/api/types/DuplicateUpsertItemOfUpsertRecordDto.d.ts +1 -4
- package/dist/cjs/api/types/IdentityKind.d.ts +1 -0
- package/dist/cjs/api/types/IdentityKind.js +1 -0
- package/dist/cjs/api/types/SearchHitOfMiniDto.d.ts +1 -4
- package/dist/cjs/api/types/SearchHitOfRecordDto.d.ts +1 -4
- package/dist/cjs/api/types/UpsertRecordDto.d.ts +2 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/labels/client/requests/UpdateLabelCommand.d.mts +1 -4
- package/dist/esm/api/resources/minis/client/requests/SearchMinisFullTextQuery.d.mts +1 -4
- package/dist/esm/api/resources/records/client/requests/UpdateDraftRecordCommand.d.mts +1 -4
- package/dist/esm/api/resources/records/client/requests/UpdateRecordCommand.d.mts +1 -4
- package/dist/esm/api/types/BatchUploadRecordItemDto.d.mts +1 -4
- package/dist/esm/api/types/DuplicateUpsertItemOfBatchUploadRecordItemDto.d.mts +1 -4
- package/dist/esm/api/types/DuplicateUpsertItemOfUpsertRecordDto.d.mts +1 -4
- package/dist/esm/api/types/IdentityKind.d.mts +1 -0
- package/dist/esm/api/types/IdentityKind.mjs +1 -0
- package/dist/esm/api/types/SearchHitOfMiniDto.d.mts +1 -4
- package/dist/esm/api/types/SearchHitOfRecordDto.d.mts +1 -4
- package/dist/esm/api/types/UpsertRecordDto.d.mts +2 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -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.
|
|
47
|
-
"User-Agent": "minikai/1.5.
|
|
46
|
+
"X-Fern-SDK-Version": "1.5.2",
|
|
47
|
+
"User-Agent": "minikai/1.5.2",
|
|
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,9 +11,6 @@ export interface UpdateLabelCommand {
|
|
|
11
11
|
description?: string | null;
|
|
12
12
|
colour?: string | null;
|
|
13
13
|
icon?: string | null;
|
|
14
|
-
resourceType?:
|
|
14
|
+
resourceType?: Minikai.LabelResourceType | null;
|
|
15
15
|
labelGroupId?: string | null;
|
|
16
16
|
}
|
|
17
|
-
export declare namespace UpdateLabelCommand {
|
|
18
|
-
type ResourceType = unknown | null | Minikai.LabelResourceType;
|
|
19
|
-
}
|
|
@@ -6,11 +6,8 @@ import type * as Minikai from "../../../../index.js";
|
|
|
6
6
|
export interface SearchMinisFullTextQuery {
|
|
7
7
|
text?: string;
|
|
8
8
|
labels?: string[] | null;
|
|
9
|
-
agentType?:
|
|
9
|
+
agentType?: Minikai.AgentType | null;
|
|
10
10
|
cursor?: string | null;
|
|
11
11
|
limit?: unknown;
|
|
12
12
|
sort?: Minikai.SearchSort;
|
|
13
13
|
}
|
|
14
|
-
export declare namespace SearchMinisFullTextQuery {
|
|
15
|
-
type AgentType = unknown | null | Minikai.AgentType;
|
|
16
|
-
}
|
|
@@ -14,9 +14,6 @@ export interface UpdateDraftRecordCommand {
|
|
|
14
14
|
externalUri?: string;
|
|
15
15
|
labels?: string[];
|
|
16
16
|
tags?: Record<string, unknown>;
|
|
17
|
-
authorization?:
|
|
17
|
+
authorization?: Minikai.RecordAuthorizationDto | null;
|
|
18
18
|
eTag?: string | null;
|
|
19
19
|
}
|
|
20
|
-
export declare namespace UpdateDraftRecordCommand {
|
|
21
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
22
|
-
}
|
|
@@ -17,11 +17,8 @@ export interface UpdateRecordCommand {
|
|
|
17
17
|
externalUri?: string;
|
|
18
18
|
labels?: string[];
|
|
19
19
|
tags?: Record<string, unknown>;
|
|
20
|
-
authorization?:
|
|
20
|
+
authorization?: Minikai.RecordAuthorizationDto | null;
|
|
21
21
|
state?: Minikai.RecordState;
|
|
22
22
|
batchProcess?: boolean;
|
|
23
23
|
eTag?: string | null;
|
|
24
24
|
}
|
|
25
|
-
export declare namespace UpdateRecordCommand {
|
|
26
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
27
|
-
}
|
|
@@ -11,8 +11,5 @@ export interface BatchUploadRecordItemDto {
|
|
|
11
11
|
externalUri?: string | undefined;
|
|
12
12
|
labels?: string[] | undefined;
|
|
13
13
|
tags?: Record<string, unknown> | undefined;
|
|
14
|
-
authorization?:
|
|
15
|
-
}
|
|
16
|
-
export declare namespace BatchUploadRecordItemDto {
|
|
17
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
14
|
+
authorization?: (Minikai.RecordAuthorizationDto | null) | undefined;
|
|
18
15
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type * as Minikai from "../index.js";
|
|
2
2
|
export interface DuplicateUpsertItemOfBatchUploadRecordItemDto {
|
|
3
3
|
index?: unknown | undefined;
|
|
4
|
-
item:
|
|
4
|
+
item: Minikai.BatchUploadRecordItemDto | null;
|
|
5
5
|
existingMatches?: Minikai.ExistingDuplicateRecordMatch[] | undefined;
|
|
6
6
|
intraBatchDuplicateOf?: unknown[] | undefined;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace DuplicateUpsertItemOfBatchUploadRecordItemDto {
|
|
9
|
-
type Item = unknown | null | Minikai.BatchUploadRecordItemDto;
|
|
10
|
-
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type * as Minikai from "../index.js";
|
|
2
2
|
export interface DuplicateUpsertItemOfUpsertRecordDto {
|
|
3
3
|
index?: unknown | undefined;
|
|
4
|
-
item:
|
|
4
|
+
item: Minikai.UpsertRecordDto | null;
|
|
5
5
|
existingMatches?: Minikai.ExistingDuplicateRecordMatch[] | undefined;
|
|
6
6
|
intraBatchDuplicateOf?: unknown[] | undefined;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace DuplicateUpsertItemOfUpsertRecordDto {
|
|
9
|
-
type Item = unknown | null | Minikai.UpsertRecordDto;
|
|
10
|
-
}
|
|
@@ -5,5 +5,6 @@ export declare const IdentityKind: {
|
|
|
5
5
|
readonly Centrelink: "centrelink";
|
|
6
6
|
readonly Dva: "dva";
|
|
7
7
|
readonly PrivateHealthInsurance: "private_health_insurance";
|
|
8
|
+
readonly CmsId: "cms_id";
|
|
8
9
|
};
|
|
9
10
|
export type IdentityKind = (typeof IdentityKind)[keyof typeof IdentityKind];
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type * as Minikai from "../index.js";
|
|
2
2
|
export interface SearchHitOfMiniDto {
|
|
3
|
-
item:
|
|
3
|
+
item: Minikai.MiniDto | null;
|
|
4
4
|
matchedFields?: string[] | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare namespace SearchHitOfMiniDto {
|
|
7
|
-
type Item = unknown | null | Minikai.MiniDto;
|
|
8
|
-
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type * as Minikai from "../index.js";
|
|
2
2
|
export interface SearchHitOfRecordDto {
|
|
3
|
-
item:
|
|
3
|
+
item: Minikai.RecordDto | null;
|
|
4
4
|
matchedFields?: string[] | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare namespace SearchHitOfRecordDto {
|
|
7
|
-
type Item = unknown | null | Minikai.RecordDto;
|
|
8
|
-
}
|
|
@@ -11,10 +11,6 @@ export interface UpsertRecordDto {
|
|
|
11
11
|
relations?: Minikai.RecordRelationDto[] | undefined;
|
|
12
12
|
labels?: string[] | undefined;
|
|
13
13
|
tags?: Record<string, unknown> | undefined;
|
|
14
|
-
authorization?:
|
|
15
|
-
state?:
|
|
16
|
-
}
|
|
17
|
-
export declare namespace UpsertRecordDto {
|
|
18
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
19
|
-
type State = unknown | null | Minikai.RecordState;
|
|
14
|
+
authorization?: (Minikai.RecordAuthorizationDto | null) | undefined;
|
|
15
|
+
state?: (Minikai.RecordState | null) | undefined;
|
|
20
16
|
}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.5.
|
|
1
|
+
export declare const SDK_VERSION = "1.5.2";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -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.
|
|
10
|
-
"User-Agent": "minikai/1.5.
|
|
9
|
+
"X-Fern-SDK-Version": "1.5.2",
|
|
10
|
+
"User-Agent": "minikai/1.5.2",
|
|
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,9 +11,6 @@ export interface UpdateLabelCommand {
|
|
|
11
11
|
description?: string | null;
|
|
12
12
|
colour?: string | null;
|
|
13
13
|
icon?: string | null;
|
|
14
|
-
resourceType?:
|
|
14
|
+
resourceType?: Minikai.LabelResourceType | null;
|
|
15
15
|
labelGroupId?: string | null;
|
|
16
16
|
}
|
|
17
|
-
export declare namespace UpdateLabelCommand {
|
|
18
|
-
type ResourceType = unknown | null | Minikai.LabelResourceType;
|
|
19
|
-
}
|
|
@@ -6,11 +6,8 @@ import type * as Minikai from "../../../../index.mjs";
|
|
|
6
6
|
export interface SearchMinisFullTextQuery {
|
|
7
7
|
text?: string;
|
|
8
8
|
labels?: string[] | null;
|
|
9
|
-
agentType?:
|
|
9
|
+
agentType?: Minikai.AgentType | null;
|
|
10
10
|
cursor?: string | null;
|
|
11
11
|
limit?: unknown;
|
|
12
12
|
sort?: Minikai.SearchSort;
|
|
13
13
|
}
|
|
14
|
-
export declare namespace SearchMinisFullTextQuery {
|
|
15
|
-
type AgentType = unknown | null | Minikai.AgentType;
|
|
16
|
-
}
|
|
@@ -14,9 +14,6 @@ export interface UpdateDraftRecordCommand {
|
|
|
14
14
|
externalUri?: string;
|
|
15
15
|
labels?: string[];
|
|
16
16
|
tags?: Record<string, unknown>;
|
|
17
|
-
authorization?:
|
|
17
|
+
authorization?: Minikai.RecordAuthorizationDto | null;
|
|
18
18
|
eTag?: string | null;
|
|
19
19
|
}
|
|
20
|
-
export declare namespace UpdateDraftRecordCommand {
|
|
21
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
22
|
-
}
|
|
@@ -17,11 +17,8 @@ export interface UpdateRecordCommand {
|
|
|
17
17
|
externalUri?: string;
|
|
18
18
|
labels?: string[];
|
|
19
19
|
tags?: Record<string, unknown>;
|
|
20
|
-
authorization?:
|
|
20
|
+
authorization?: Minikai.RecordAuthorizationDto | null;
|
|
21
21
|
state?: Minikai.RecordState;
|
|
22
22
|
batchProcess?: boolean;
|
|
23
23
|
eTag?: string | null;
|
|
24
24
|
}
|
|
25
|
-
export declare namespace UpdateRecordCommand {
|
|
26
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
27
|
-
}
|
|
@@ -11,8 +11,5 @@ export interface BatchUploadRecordItemDto {
|
|
|
11
11
|
externalUri?: string | undefined;
|
|
12
12
|
labels?: string[] | undefined;
|
|
13
13
|
tags?: Record<string, unknown> | undefined;
|
|
14
|
-
authorization?:
|
|
15
|
-
}
|
|
16
|
-
export declare namespace BatchUploadRecordItemDto {
|
|
17
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
14
|
+
authorization?: (Minikai.RecordAuthorizationDto | null) | undefined;
|
|
18
15
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type * as Minikai from "../index.mjs";
|
|
2
2
|
export interface DuplicateUpsertItemOfBatchUploadRecordItemDto {
|
|
3
3
|
index?: unknown | undefined;
|
|
4
|
-
item:
|
|
4
|
+
item: Minikai.BatchUploadRecordItemDto | null;
|
|
5
5
|
existingMatches?: Minikai.ExistingDuplicateRecordMatch[] | undefined;
|
|
6
6
|
intraBatchDuplicateOf?: unknown[] | undefined;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace DuplicateUpsertItemOfBatchUploadRecordItemDto {
|
|
9
|
-
type Item = unknown | null | Minikai.BatchUploadRecordItemDto;
|
|
10
|
-
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type * as Minikai from "../index.mjs";
|
|
2
2
|
export interface DuplicateUpsertItemOfUpsertRecordDto {
|
|
3
3
|
index?: unknown | undefined;
|
|
4
|
-
item:
|
|
4
|
+
item: Minikai.UpsertRecordDto | null;
|
|
5
5
|
existingMatches?: Minikai.ExistingDuplicateRecordMatch[] | undefined;
|
|
6
6
|
intraBatchDuplicateOf?: unknown[] | undefined;
|
|
7
7
|
}
|
|
8
|
-
export declare namespace DuplicateUpsertItemOfUpsertRecordDto {
|
|
9
|
-
type Item = unknown | null | Minikai.UpsertRecordDto;
|
|
10
|
-
}
|
|
@@ -5,5 +5,6 @@ export declare const IdentityKind: {
|
|
|
5
5
|
readonly Centrelink: "centrelink";
|
|
6
6
|
readonly Dva: "dva";
|
|
7
7
|
readonly PrivateHealthInsurance: "private_health_insurance";
|
|
8
|
+
readonly CmsId: "cms_id";
|
|
8
9
|
};
|
|
9
10
|
export type IdentityKind = (typeof IdentityKind)[keyof typeof IdentityKind];
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type * as Minikai from "../index.mjs";
|
|
2
2
|
export interface SearchHitOfMiniDto {
|
|
3
|
-
item:
|
|
3
|
+
item: Minikai.MiniDto | null;
|
|
4
4
|
matchedFields?: string[] | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare namespace SearchHitOfMiniDto {
|
|
7
|
-
type Item = unknown | null | Minikai.MiniDto;
|
|
8
|
-
}
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type * as Minikai from "../index.mjs";
|
|
2
2
|
export interface SearchHitOfRecordDto {
|
|
3
|
-
item:
|
|
3
|
+
item: Minikai.RecordDto | null;
|
|
4
4
|
matchedFields?: string[] | undefined;
|
|
5
5
|
}
|
|
6
|
-
export declare namespace SearchHitOfRecordDto {
|
|
7
|
-
type Item = unknown | null | Minikai.RecordDto;
|
|
8
|
-
}
|
|
@@ -11,10 +11,6 @@ export interface UpsertRecordDto {
|
|
|
11
11
|
relations?: Minikai.RecordRelationDto[] | undefined;
|
|
12
12
|
labels?: string[] | undefined;
|
|
13
13
|
tags?: Record<string, unknown> | undefined;
|
|
14
|
-
authorization?:
|
|
15
|
-
state?:
|
|
16
|
-
}
|
|
17
|
-
export declare namespace UpsertRecordDto {
|
|
18
|
-
type Authorization = unknown | null | Minikai.RecordAuthorizationDto;
|
|
19
|
-
type State = unknown | null | Minikai.RecordState;
|
|
14
|
+
authorization?: (Minikai.RecordAuthorizationDto | null) | undefined;
|
|
15
|
+
state?: (Minikai.RecordState | null) | undefined;
|
|
20
16
|
}
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.5.
|
|
1
|
+
export declare const SDK_VERSION = "1.5.2";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.5.
|
|
1
|
+
export const SDK_VERSION = "1.5.2";
|