@corti/sdk 1.0.0 → 1.1.0-coding.1
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/agents/types/AgentsUpdateAgentExpertsItem.d.ts +1 -1
- package/dist/cjs/api/resources/codes/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/codes/client/Client.js +1 -1
- package/dist/cjs/api/types/AgentsUpdateExpertReference.d.ts +5 -0
- package/dist/cjs/api/types/AgentsUpdateExpertReference.js +3 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.d.ts +7 -0
- package/dist/cjs/api/types/CommonCodingSystemEnum.js +7 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.d.ts +2 -2
- package/dist/cjs/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.js +2 -2
- package/dist/cjs/serialization/types/AgentsUpdateExpertReference.d.ts +8 -0
- package/dist/cjs/serialization/types/AgentsUpdateExpertReference.js +6 -0
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.d.ts +1 -1
- package/dist/cjs/serialization/types/CommonCodingSystemEnum.js +7 -0
- package/dist/cjs/serialization/types/index.d.ts +1 -0
- package/dist/cjs/serialization/types/index.js +1 -0
- 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/agents/types/AgentsUpdateAgentExpertsItem.d.mts +1 -1
- package/dist/esm/api/resources/codes/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/codes/client/Client.mjs +1 -1
- package/dist/esm/api/types/AgentsUpdateExpertReference.d.mts +5 -0
- package/dist/esm/api/types/AgentsUpdateExpertReference.mjs +2 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.d.mts +7 -0
- package/dist/esm/api/types/CommonCodingSystemEnum.mjs +7 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.d.mts +2 -2
- package/dist/esm/serialization/resources/agents/types/AgentsUpdateAgentExpertsItem.mjs +2 -2
- package/dist/esm/serialization/types/AgentsUpdateExpertReference.d.mts +8 -0
- package/dist/esm/serialization/types/AgentsUpdateExpertReference.mjs +3 -0
- package/dist/esm/serialization/types/CommonCodingSystemEnum.d.mts +1 -1
- package/dist/esm/serialization/types/CommonCodingSystemEnum.mjs +7 -0
- package/dist/esm/serialization/types/index.d.mts +1 -0
- package/dist/esm/serialization/types/index.mjs +1 -0
- 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": "@corti/sdk",
|
|
46
|
-
"X-Fern-SDK-Version": "1.0.
|
|
47
|
-
"User-Agent": "@corti/sdk/1.0.
|
|
46
|
+
"X-Fern-SDK-Version": "1.1.0-coding.1",
|
|
47
|
+
"User-Agent": "@corti/sdk/1.1.0-coding.1",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as Corti from "../../../index.js";
|
|
2
|
-
export type AgentsUpdateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.
|
|
2
|
+
export type AgentsUpdateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.AgentsUpdateExpertReference;
|
|
@@ -11,7 +11,7 @@ export declare class CodesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<CodesClient.Options>;
|
|
12
12
|
constructor(options: CodesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
14
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
17
17
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -56,7 +56,7 @@ class CodesClient {
|
|
|
56
56
|
this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
|
|
57
57
|
}
|
|
58
58
|
/**
|
|
59
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
59
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
60
60
|
*
|
|
61
61
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
62
62
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as Corti from "../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* An expert reference when updating an agent. The id is required to identify which expert to update, or reference. The expert must already exist.
|
|
4
|
+
*/
|
|
5
|
+
export type AgentsUpdateExpertReference = Corti.AgentsCreateExpertReference;
|
|
@@ -7,5 +7,12 @@ export declare const CommonCodingSystemEnum: {
|
|
|
7
7
|
readonly Icd10IntOutpatient: "icd10int-outpatient";
|
|
8
8
|
readonly Icd10UkInpatient: "icd10uk-inpatient";
|
|
9
9
|
readonly Icd10UkOutpatient: "icd10uk-outpatient";
|
|
10
|
+
readonly Cim10FrInpatient: "cim10fr-inpatient";
|
|
11
|
+
readonly Cim10FrOutpatient: "cim10fr-outpatient";
|
|
12
|
+
readonly Icd10GmInpatient: "icd10gm-inpatient";
|
|
13
|
+
readonly Icd10GmOutpatient: "icd10gm-outpatient";
|
|
14
|
+
readonly Opcs4: "opcs4";
|
|
15
|
+
readonly Ops: "ops";
|
|
16
|
+
readonly Ccam: "ccam";
|
|
10
17
|
};
|
|
11
18
|
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
|
|
@@ -11,4 +11,11 @@ exports.CommonCodingSystemEnum = {
|
|
|
11
11
|
Icd10IntOutpatient: "icd10int-outpatient",
|
|
12
12
|
Icd10UkInpatient: "icd10uk-inpatient",
|
|
13
13
|
Icd10UkOutpatient: "icd10uk-outpatient",
|
|
14
|
+
Cim10FrInpatient: "cim10fr-inpatient",
|
|
15
|
+
Cim10FrOutpatient: "cim10fr-outpatient",
|
|
16
|
+
Icd10GmInpatient: "icd10gm-inpatient",
|
|
17
|
+
Icd10GmOutpatient: "icd10gm-outpatient",
|
|
18
|
+
Opcs4: "opcs4",
|
|
19
|
+
Ops: "ops",
|
|
20
|
+
Ccam: "ccam",
|
|
14
21
|
};
|
|
@@ -52,6 +52,7 @@ export * from "./AgentsTaskStatus.js";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.js";
|
|
53
53
|
export * from "./AgentsTextPart.js";
|
|
54
54
|
export * from "./AgentsTextPartKind.js";
|
|
55
|
+
export * from "./AgentsUpdateExpertReference.js";
|
|
55
56
|
export * from "./AgentsValidationError.js";
|
|
56
57
|
export * from "./AgentsValidationErrorErrorsItem.js";
|
|
57
58
|
export * from "./AgentsValidationErrorResponse.js";
|
|
@@ -68,6 +68,7 @@ __exportStar(require("./AgentsTaskStatus.js"), exports);
|
|
|
68
68
|
__exportStar(require("./AgentsTaskStatusState.js"), exports);
|
|
69
69
|
__exportStar(require("./AgentsTextPart.js"), exports);
|
|
70
70
|
__exportStar(require("./AgentsTextPartKind.js"), exports);
|
|
71
|
+
__exportStar(require("./AgentsUpdateExpertReference.js"), exports);
|
|
71
72
|
__exportStar(require("./AgentsValidationError.js"), exports);
|
|
72
73
|
__exportStar(require("./AgentsValidationErrorErrorsItem.js"), exports);
|
|
73
74
|
__exportStar(require("./AgentsValidationErrorResponse.js"), exports);
|
|
@@ -2,8 +2,8 @@ import type * as Corti from "../../../../api/index.js";
|
|
|
2
2
|
import * as core from "../../../../core/index.js";
|
|
3
3
|
import type * as serializers from "../../../index.js";
|
|
4
4
|
import { AgentsCreateExpert } from "../../../types/AgentsCreateExpert.js";
|
|
5
|
-
import {
|
|
5
|
+
import { AgentsUpdateExpertReference } from "../../../types/AgentsUpdateExpertReference.js";
|
|
6
6
|
export declare const AgentsUpdateAgentExpertsItem: core.serialization.Schema<serializers.AgentsUpdateAgentExpertsItem.Raw, Corti.AgentsUpdateAgentExpertsItem>;
|
|
7
7
|
export declare namespace AgentsUpdateAgentExpertsItem {
|
|
8
|
-
type Raw = AgentsCreateExpert.Raw |
|
|
8
|
+
type Raw = AgentsCreateExpert.Raw | AgentsUpdateExpertReference.Raw;
|
|
9
9
|
}
|
|
@@ -37,5 +37,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AgentsUpdateAgentExpertsItem = void 0;
|
|
38
38
|
const core = __importStar(require("../../../../core/index.js"));
|
|
39
39
|
const AgentsCreateExpert_js_1 = require("../../../types/AgentsCreateExpert.js");
|
|
40
|
-
const
|
|
41
|
-
exports.AgentsUpdateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert_js_1.AgentsCreateExpert,
|
|
40
|
+
const AgentsUpdateExpertReference_js_1 = require("../../../types/AgentsUpdateExpertReference.js");
|
|
41
|
+
exports.AgentsUpdateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert_js_1.AgentsCreateExpert, AgentsUpdateExpertReference_js_1.AgentsUpdateExpertReference]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.js";
|
|
2
|
+
import type * as core from "../../core/index.js";
|
|
3
|
+
import type * as serializers from "../index.js";
|
|
4
|
+
import { AgentsCreateExpertReference } from "./AgentsCreateExpertReference.js";
|
|
5
|
+
export declare const AgentsUpdateExpertReference: core.serialization.ObjectSchema<serializers.AgentsUpdateExpertReference.Raw, Corti.AgentsUpdateExpertReference>;
|
|
6
|
+
export declare namespace AgentsUpdateExpertReference {
|
|
7
|
+
type Raw = AgentsCreateExpertReference.Raw;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.AgentsUpdateExpertReference = void 0;
|
|
5
|
+
const AgentsCreateExpertReference_js_1 = require("./AgentsCreateExpertReference.js");
|
|
6
|
+
exports.AgentsUpdateExpertReference = AgentsCreateExpertReference_js_1.AgentsCreateExpertReference;
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.js";
|
|
|
3
3
|
import type * as serializers from "../index.js";
|
|
4
4
|
export declare const CommonCodingSystemEnum: core.serialization.Schema<serializers.CommonCodingSystemEnum.Raw, Corti.CommonCodingSystemEnum>;
|
|
5
5
|
export declare namespace CommonCodingSystemEnum {
|
|
6
|
-
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient";
|
|
6
|
+
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient" | "cim10fr-inpatient" | "cim10fr-outpatient" | "icd10gm-inpatient" | "icd10gm-outpatient" | "opcs4" | "ops" | "ccam";
|
|
7
7
|
}
|
|
@@ -45,4 +45,11 @@ exports.CommonCodingSystemEnum = core.serialization.enum_([
|
|
|
45
45
|
"icd10int-outpatient",
|
|
46
46
|
"icd10uk-inpatient",
|
|
47
47
|
"icd10uk-outpatient",
|
|
48
|
+
"cim10fr-inpatient",
|
|
49
|
+
"cim10fr-outpatient",
|
|
50
|
+
"icd10gm-inpatient",
|
|
51
|
+
"icd10gm-outpatient",
|
|
52
|
+
"opcs4",
|
|
53
|
+
"ops",
|
|
54
|
+
"ccam",
|
|
48
55
|
]);
|
|
@@ -52,6 +52,7 @@ export * from "./AgentsTaskStatus.js";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.js";
|
|
53
53
|
export * from "./AgentsTextPart.js";
|
|
54
54
|
export * from "./AgentsTextPartKind.js";
|
|
55
|
+
export * from "./AgentsUpdateExpertReference.js";
|
|
55
56
|
export * from "./AgentsValidationError.js";
|
|
56
57
|
export * from "./AgentsValidationErrorErrorsItem.js";
|
|
57
58
|
export * from "./AgentsValidationErrorResponse.js";
|
|
@@ -68,6 +68,7 @@ __exportStar(require("./AgentsTaskStatus.js"), exports);
|
|
|
68
68
|
__exportStar(require("./AgentsTaskStatusState.js"), exports);
|
|
69
69
|
__exportStar(require("./AgentsTextPart.js"), exports);
|
|
70
70
|
__exportStar(require("./AgentsTextPartKind.js"), exports);
|
|
71
|
+
__exportStar(require("./AgentsUpdateExpertReference.js"), exports);
|
|
71
72
|
__exportStar(require("./AgentsValidationError.js"), exports);
|
|
72
73
|
__exportStar(require("./AgentsValidationErrorErrorsItem.js"), exports);
|
|
73
74
|
__exportStar(require("./AgentsValidationErrorResponse.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.0-coding.1";
|
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": "@corti/sdk",
|
|
9
|
-
"X-Fern-SDK-Version": "1.0.
|
|
10
|
-
"User-Agent": "@corti/sdk/1.0.
|
|
9
|
+
"X-Fern-SDK-Version": "1.1.0-coding.1",
|
|
10
|
+
"User-Agent": "@corti/sdk/1.1.0-coding.1",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
"Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type * as Corti from "../../../index.mjs";
|
|
2
|
-
export type AgentsUpdateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.
|
|
2
|
+
export type AgentsUpdateAgentExpertsItem = Corti.AgentsCreateExpert | Corti.AgentsUpdateExpertReference;
|
|
@@ -11,7 +11,7 @@ export declare class CodesClient {
|
|
|
11
11
|
protected readonly _options: NormalizedClientOptionsWithAuth<CodesClient.Options>;
|
|
12
12
|
constructor(options: CodesClient.Options);
|
|
13
13
|
/**
|
|
14
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
14
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
15
15
|
*
|
|
16
16
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
17
17
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class CodesClient {
|
|
|
20
20
|
this._options = normalizeClientOptionsWithAuth(options);
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10-UK and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
23
|
+
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, ICD-10 (international), ICD-10-UK, CIM-10-FR, ICD-10-GM, OPCS-4, OPS, CCAM and CPT codes based on input text string or documentId.<br/><br/>More than one code system may be defined in a single request.<br/><br/>Code prediction requests have two possible values for context:<br/>- `text`: One set of code prediction results will be returned based on all input text defined.<br/>- `documentId`: Code prediction will be based on that defined document only.<br/><br/>The response includes two sets of results:<br/>- `Codes`: Codes predicted by the model.<br/>- `Candidates`: Lower-confidence codes the model considered potentially relevant but excluded from the predicted set.<br/><br/>All predicted code results are based on input context defined in the request only (not other external data or assets associated with an interaction).</Note>
|
|
24
24
|
*
|
|
25
25
|
* @param {Corti.CodesGeneralPredictRequest} request
|
|
26
26
|
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import type * as Corti from "../index.mjs";
|
|
2
|
+
/**
|
|
3
|
+
* An expert reference when updating an agent. The id is required to identify which expert to update, or reference. The expert must already exist.
|
|
4
|
+
*/
|
|
5
|
+
export type AgentsUpdateExpertReference = Corti.AgentsCreateExpertReference;
|
|
@@ -7,5 +7,12 @@ export declare const CommonCodingSystemEnum: {
|
|
|
7
7
|
readonly Icd10IntOutpatient: "icd10int-outpatient";
|
|
8
8
|
readonly Icd10UkInpatient: "icd10uk-inpatient";
|
|
9
9
|
readonly Icd10UkOutpatient: "icd10uk-outpatient";
|
|
10
|
+
readonly Cim10FrInpatient: "cim10fr-inpatient";
|
|
11
|
+
readonly Cim10FrOutpatient: "cim10fr-outpatient";
|
|
12
|
+
readonly Icd10GmInpatient: "icd10gm-inpatient";
|
|
13
|
+
readonly Icd10GmOutpatient: "icd10gm-outpatient";
|
|
14
|
+
readonly Opcs4: "opcs4";
|
|
15
|
+
readonly Ops: "ops";
|
|
16
|
+
readonly Ccam: "ccam";
|
|
10
17
|
};
|
|
11
18
|
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];
|
|
@@ -8,4 +8,11 @@ export const CommonCodingSystemEnum = {
|
|
|
8
8
|
Icd10IntOutpatient: "icd10int-outpatient",
|
|
9
9
|
Icd10UkInpatient: "icd10uk-inpatient",
|
|
10
10
|
Icd10UkOutpatient: "icd10uk-outpatient",
|
|
11
|
+
Cim10FrInpatient: "cim10fr-inpatient",
|
|
12
|
+
Cim10FrOutpatient: "cim10fr-outpatient",
|
|
13
|
+
Icd10GmInpatient: "icd10gm-inpatient",
|
|
14
|
+
Icd10GmOutpatient: "icd10gm-outpatient",
|
|
15
|
+
Opcs4: "opcs4",
|
|
16
|
+
Ops: "ops",
|
|
17
|
+
Ccam: "ccam",
|
|
11
18
|
};
|
|
@@ -52,6 +52,7 @@ export * from "./AgentsTaskStatus.mjs";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.mjs";
|
|
53
53
|
export * from "./AgentsTextPart.mjs";
|
|
54
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
55
|
+
export * from "./AgentsUpdateExpertReference.mjs";
|
|
55
56
|
export * from "./AgentsValidationError.mjs";
|
|
56
57
|
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
57
58
|
export * from "./AgentsValidationErrorResponse.mjs";
|
|
@@ -52,6 +52,7 @@ export * from "./AgentsTaskStatus.mjs";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.mjs";
|
|
53
53
|
export * from "./AgentsTextPart.mjs";
|
|
54
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
55
|
+
export * from "./AgentsUpdateExpertReference.mjs";
|
|
55
56
|
export * from "./AgentsValidationError.mjs";
|
|
56
57
|
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
57
58
|
export * from "./AgentsValidationErrorResponse.mjs";
|
|
@@ -2,8 +2,8 @@ import type * as Corti from "../../../../api/index.mjs";
|
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import type * as serializers from "../../../index.mjs";
|
|
4
4
|
import { AgentsCreateExpert } from "../../../types/AgentsCreateExpert.mjs";
|
|
5
|
-
import {
|
|
5
|
+
import { AgentsUpdateExpertReference } from "../../../types/AgentsUpdateExpertReference.mjs";
|
|
6
6
|
export declare const AgentsUpdateAgentExpertsItem: core.serialization.Schema<serializers.AgentsUpdateAgentExpertsItem.Raw, Corti.AgentsUpdateAgentExpertsItem>;
|
|
7
7
|
export declare namespace AgentsUpdateAgentExpertsItem {
|
|
8
|
-
type Raw = AgentsCreateExpert.Raw |
|
|
8
|
+
type Raw = AgentsCreateExpert.Raw | AgentsUpdateExpertReference.Raw;
|
|
9
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// This file was auto-generated by Fern from our API Definition.
|
|
2
2
|
import * as core from "../../../../core/index.mjs";
|
|
3
3
|
import { AgentsCreateExpert } from "../../../types/AgentsCreateExpert.mjs";
|
|
4
|
-
import {
|
|
5
|
-
export const AgentsUpdateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert,
|
|
4
|
+
import { AgentsUpdateExpertReference } from "../../../types/AgentsUpdateExpertReference.mjs";
|
|
5
|
+
export const AgentsUpdateAgentExpertsItem = core.serialization.undiscriminatedUnion([AgentsCreateExpert, AgentsUpdateExpertReference]);
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type * as Corti from "../../api/index.mjs";
|
|
2
|
+
import type * as core from "../../core/index.mjs";
|
|
3
|
+
import type * as serializers from "../index.mjs";
|
|
4
|
+
import { AgentsCreateExpertReference } from "./AgentsCreateExpertReference.mjs";
|
|
5
|
+
export declare const AgentsUpdateExpertReference: core.serialization.ObjectSchema<serializers.AgentsUpdateExpertReference.Raw, Corti.AgentsUpdateExpertReference>;
|
|
6
|
+
export declare namespace AgentsUpdateExpertReference {
|
|
7
|
+
type Raw = AgentsCreateExpertReference.Raw;
|
|
8
|
+
}
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core/index.mjs";
|
|
|
3
3
|
import type * as serializers from "../index.mjs";
|
|
4
4
|
export declare const CommonCodingSystemEnum: core.serialization.Schema<serializers.CommonCodingSystemEnum.Raw, Corti.CommonCodingSystemEnum>;
|
|
5
5
|
export declare namespace CommonCodingSystemEnum {
|
|
6
|
-
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient";
|
|
6
|
+
type Raw = "icd10cm-inpatient" | "icd10cm-outpatient" | "icd10pcs" | "cpt" | "icd10int-inpatient" | "icd10int-outpatient" | "icd10uk-inpatient" | "icd10uk-outpatient" | "cim10fr-inpatient" | "cim10fr-outpatient" | "icd10gm-inpatient" | "icd10gm-outpatient" | "opcs4" | "ops" | "ccam";
|
|
7
7
|
}
|
|
@@ -9,4 +9,11 @@ export const CommonCodingSystemEnum = core.serialization.enum_([
|
|
|
9
9
|
"icd10int-outpatient",
|
|
10
10
|
"icd10uk-inpatient",
|
|
11
11
|
"icd10uk-outpatient",
|
|
12
|
+
"cim10fr-inpatient",
|
|
13
|
+
"cim10fr-outpatient",
|
|
14
|
+
"icd10gm-inpatient",
|
|
15
|
+
"icd10gm-outpatient",
|
|
16
|
+
"opcs4",
|
|
17
|
+
"ops",
|
|
18
|
+
"ccam",
|
|
12
19
|
]);
|
|
@@ -52,6 +52,7 @@ export * from "./AgentsTaskStatus.mjs";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.mjs";
|
|
53
53
|
export * from "./AgentsTextPart.mjs";
|
|
54
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
55
|
+
export * from "./AgentsUpdateExpertReference.mjs";
|
|
55
56
|
export * from "./AgentsValidationError.mjs";
|
|
56
57
|
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
57
58
|
export * from "./AgentsValidationErrorResponse.mjs";
|
|
@@ -52,6 +52,7 @@ export * from "./AgentsTaskStatus.mjs";
|
|
|
52
52
|
export * from "./AgentsTaskStatusState.mjs";
|
|
53
53
|
export * from "./AgentsTextPart.mjs";
|
|
54
54
|
export * from "./AgentsTextPartKind.mjs";
|
|
55
|
+
export * from "./AgentsUpdateExpertReference.mjs";
|
|
55
56
|
export * from "./AgentsValidationError.mjs";
|
|
56
57
|
export * from "./AgentsValidationErrorErrorsItem.mjs";
|
|
57
58
|
export * from "./AgentsValidationErrorResponse.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.0.
|
|
1
|
+
export declare const SDK_VERSION = "1.1.0-coding.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.0.
|
|
1
|
+
export const SDK_VERSION = "1.1.0-coding.1";
|