Skip to content

Commit 17dac5a

Browse files
SDK regeneration
1 parent debf28b commit 17dac5a

18 files changed

Lines changed: 81 additions & 27 deletions

.fern/metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"cliVersion": "4.45.0",
2+
"cliVersion": "4.53.1",
33
"generatorName": "fernapi/fern-typescript-node-sdk",
44
"generatorVersion": "3.54.0",
55
"generatorConfig": {
@@ -32,6 +32,6 @@
3232
}
3333
}
3434
},
35-
"originGitCommit": "0398cf888d5d2150c19cbb4d7cd23100e43d4572",
35+
"originGitCommit": "177f72bd52a0833eabcddb0967f6d00ef24d9896",
3636
"sdkVersion": "0.0.0-dev"
3737
}

src/api/resources/codes/client/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export class CodesClient {
2323
}
2424

2525
/**
26-
* Predict medical codes from provided context.<br/><Note>This is a stateless endpoint, designed to predict ICD-10-CM, ICD-10-PCS, 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>
26+
* 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>
2727
*
2828
* @param {Corti.CodesGeneralPredictRequest} request
2929
* @param {CodesClient.RequestOptions} requestOptions - Request-specific configuration.

src/api/types/AgentsAgentCard.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ export interface AgentsAgentCard {
1818
iconUrl?: string | null;
1919
/** A URL to documentation describing how to interact with the agent. */
2020
documentationUrl?: string | null;
21-
provider?: Corti.AgentsAgentProvider;
21+
provider?: Corti.AgentsAgentProvider | null;
2222
/** The version of the agent. */
2323
version: string;
24-
capabilities: Corti.AgentsAgentCapabilities;
24+
capabilities: Corti.AgentsAgentCapabilities | null;
2525
/** A declaration of the security schemes available to authorize requests. The key is the scheme name. Follows the OpenAPI 3.0 Security Scheme Object. */
2626
securitySchemes?: Record<string, unknown> | null;
2727
/** A list of security requirement objects that apply to all agent interactions. Each object lists security schemes that can be used. Follows the OpenAPI 3.0 Security Requirement Object. This list can be seen as an OR of ANDs. Each object in the list describes one possible set of security requirements that must be present on a request. This allows specifying, for example, "callers must either use OAuth OR an API Key AND mTLS." */
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// This file was auto-generated by Fern from our API Definition.
22

3-
import type * as Corti from "../index.js";
4-
53
export interface AgentsErrorResponse {
64
/** A machine-readable error code that identifies the type of error. */
75
code: string;
@@ -11,5 +9,6 @@ export interface AgentsErrorResponse {
119
howToFix?: string;
1210
/** An optional object containing additional details about the error. */
1311
details?: Record<string, unknown>;
14-
cause?: Corti.AgentsErrorResponse;
12+
/** An optional object containing the cause of the error, following the same structure as the parent error response. */
13+
cause?: Record<string, unknown>;
1514
}

src/api/types/CodesGeneralResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ export interface CodesGeneralResponse {
77
codes: Corti.CodesGeneralReadResponse[];
88
/** Lower-confidence codes the model considered potentially relevant but excluded from the predicted set. */
99
candidates: Corti.CodesGeneralReadResponse[];
10-
usageInfo?: Corti.CommonUsageInfo;
10+
usageInfo: Corti.CommonUsageInfo;
1111
}

src/api/types/CommonCodingSystemEnum.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,9 @@ export const CommonCodingSystemEnum = {
55
Icd10CmOutpatient: "icd10cm-outpatient",
66
Icd10Pcs: "icd10pcs",
77
Cpt: "cpt",
8+
Icd10IntInpatient: "icd10int-inpatient",
9+
Icd10IntOutpatient: "icd10int-outpatient",
10+
Icd10UkInpatient: "icd10uk-inpatient",
11+
Icd10UkOutpatient: "icd10uk-outpatient",
812
} as const;
913
export type CommonCodingSystemEnum = (typeof CommonCodingSystemEnum)[keyof typeof CommonCodingSystemEnum];

src/api/types/StreamConfig.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@ import type * as Corti from "../index.js";
55
export interface StreamConfig {
66
transcription: Corti.StreamConfigTranscription;
77
mode: Corti.StreamConfigMode;
8+
/** Optional parameter to specify data retention policy for the generated transcripts and facts. Use value 'none' to indicate data should not be stored in the database. Use value 'retain' to indicate that the data should be retained according to standard retention policies. If configuration is not provided, then the default retention policy will apply. */
9+
xCortiRetentionPolicy?: Corti.StreamConfigXCortiRetentionPolicy;
810
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This file was auto-generated by Fern from our API Definition.
2+
3+
/** Optional parameter to specify data retention policy for the generated transcripts and facts. Use value 'none' to indicate data should not be stored in the database. Use value 'retain' to indicate that the data should be retained according to standard retention policies. If configuration is not provided, then the default retention policy will apply. */
4+
export const StreamConfigXCortiRetentionPolicy = {
5+
Retain: "retain",
6+
None: "none",
7+
} as const;
8+
export type StreamConfigXCortiRetentionPolicy =
9+
(typeof StreamConfigXCortiRetentionPolicy)[keyof typeof StreamConfigXCortiRetentionPolicy];

src/api/types/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ export * from "./StreamConfigParticipantRole.js";
135135
export * from "./StreamConfigStatusMessage.js";
136136
export * from "./StreamConfigStatusMessageType.js";
137137
export * from "./StreamConfigTranscription.js";
138+
export * from "./StreamConfigXCortiRetentionPolicy.js";
138139
export * from "./StreamEndedMessage.js";
139140
export * from "./StreamEndMessage.js";
140141
export * from "./StreamErrorDetail.js";

src/serialization/types/AgentsAgentCard.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ export const AgentsAgentCard: core.serialization.ObjectSchema<serializers.Agents
1919
additionalInterfaces: core.serialization.list(AgentsAgentInterface).optionalNullable(),
2020
iconUrl: core.serialization.string().optionalNullable(),
2121
documentationUrl: core.serialization.string().optionalNullable(),
22-
provider: AgentsAgentProvider.optional(),
22+
provider: AgentsAgentProvider.optionalNullable(),
2323
version: core.serialization.string(),
24-
capabilities: AgentsAgentCapabilities,
24+
capabilities: AgentsAgentCapabilities.nullable(),
2525
securitySchemes: core.serialization
2626
.record(core.serialization.string(), core.serialization.unknown())
2727
.optionalNullable(),
@@ -45,9 +45,9 @@ export declare namespace AgentsAgentCard {
4545
additionalInterfaces?: (AgentsAgentInterface.Raw[] | null | undefined) | null;
4646
iconUrl?: (string | null | undefined) | null;
4747
documentationUrl?: (string | null | undefined) | null;
48-
provider?: AgentsAgentProvider.Raw | null;
48+
provider?: (AgentsAgentProvider.Raw | null | undefined) | null;
4949
version: string;
50-
capabilities: AgentsAgentCapabilities.Raw;
50+
capabilities?: AgentsAgentCapabilities.Raw | null;
5151
securitySchemes?: (Record<string, unknown> | null | undefined) | null;
5252
security?: (Record<string, unknown> | null | undefined) | null;
5353
defaultInputModes: string[];

0 commit comments

Comments
 (0)