Skip to content

Commit cd15f3e

Browse files
SDK regeneration
1 parent 6cc20db commit cd15f3e

15 files changed

Lines changed: 86 additions & 8 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.53.1",
2+
"cliVersion": "4.68.1",
33
"generatorName": "fernapi/fern-typescript-node-sdk",
44
"generatorVersion": "3.54.0",
55
"generatorConfig": {
@@ -32,6 +32,6 @@
3232
}
3333
}
3434
},
35-
"originGitCommit": "177f72bd52a0833eabcddb0967f6d00ef24d9896",
35+
"originGitCommit": "e9866b08a7624a3d2a7e4d1a67d1f1dc5de6fc5b",
3636
"sdkVersion": "0.0.0-dev"
3737
}

src/api/resources/stream/client/Socket.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ export declare namespace StreamSocket {
1717
| Corti.StreamTranscriptMessage
1818
| Corti.StreamFactsMessage
1919
| Corti.StreamFlushedMessage
20+
| Corti.StreamDeltaUsageMessage
2021
| Corti.StreamEndedMessage
2122
| Corti.StreamUsageMessage
2223
| Corti.StreamErrorMessage

src/api/resources/transcribe/client/Socket.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export declare namespace TranscribeSocket {
1616
export type Response =
1717
| Corti.TranscribeUsageMessage
1818
| Corti.TranscribeFlushedMessage
19+
| Corti.TranscribeDeltaUsageMessage
1920
| Corti.TranscribeEndedMessage
2021
| Corti.TranscribeErrorMessage
2122
| Corti.TranscribeTranscriptMessage

src/api/types/StreamConfigStatusMessageType.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const StreamConfigStatusMessageType = {
77
ConfigMissing: "CONFIG_MISSING",
88
ConfigNotProvided: "CONFIG_NOT_PROVIDED",
99
ConfigAlreadyReceived: "CONFIG_ALREADY_RECEIVED",
10-
ConfigTimeout: "CONFIG_TIMEOUT",
1110
} as const;
1211
export type StreamConfigStatusMessageType =
1312
(typeof StreamConfigStatusMessageType)[keyof typeof StreamConfigStatusMessageType];
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This file was auto-generated by Fern from our API Definition.
2+
3+
export interface StreamDeltaUsageMessage {
4+
type: "delta_usage";
5+
/** Approximate credits consumed since recording started. */
6+
credits: number;
7+
}

src/api/types/TranscribeConfigStatusMessageType.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ export const TranscribeConfigStatusMessageType = {
55
ConfigAccepted: "CONFIG_ACCEPTED",
66
ConfigDenied: "CONFIG_DENIED",
77
ConfigTimeout: "CONFIG_TIMEOUT",
8+
ConfigAlreadyReceived: "CONFIG_ALREADY_RECEIVED",
9+
ConfigMissing: "CONFIG_MISSING",
810
} as const;
911
export type TranscribeConfigStatusMessageType =
1012
(typeof TranscribeConfigStatusMessageType)[keyof typeof TranscribeConfigStatusMessageType];
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This file was auto-generated by Fern from our API Definition.
2+
3+
export interface TranscribeDeltaUsageMessage {
4+
type: "delta_usage";
5+
/** Approximate credits consumed since recording started. */
6+
credits: number;
7+
}

src/api/types/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export * from "./StreamConfigStatusMessage.js";
136136
export * from "./StreamConfigStatusMessageType.js";
137137
export * from "./StreamConfigTranscription.js";
138138
export * from "./StreamConfigXCortiRetentionPolicy.js";
139+
export * from "./StreamDeltaUsageMessage.js";
139140
export * from "./StreamEndedMessage.js";
140141
export * from "./StreamEndMessage.js";
141142
export * from "./StreamErrorDetail.js";
@@ -168,6 +169,7 @@ export * from "./TranscribeConfig.js";
168169
export * from "./TranscribeConfigMessage.js";
169170
export * from "./TranscribeConfigStatusMessage.js";
170171
export * from "./TranscribeConfigStatusMessageType.js";
172+
export * from "./TranscribeDeltaUsageMessage.js";
171173
export * from "./TranscribeEndedMessage.js";
172174
export * from "./TranscribeEndMessage.js";
173175
export * from "./TranscribeErrorMessage.js";

src/serialization/resources/stream/client/socket/StreamSocketResponse.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import type * as Corti from "../../../../../api/index.js";
44
import * as core from "../../../../../core/index.js";
55
import type * as serializers from "../../../../index.js";
66
import { StreamConfigStatusMessage } from "../../../../types/StreamConfigStatusMessage.js";
7+
import { StreamDeltaUsageMessage } from "../../../../types/StreamDeltaUsageMessage.js";
78
import { StreamEndedMessage } from "../../../../types/StreamEndedMessage.js";
89
import { StreamErrorMessage } from "../../../../types/StreamErrorMessage.js";
910
import { StreamFactsMessage } from "../../../../types/StreamFactsMessage.js";
@@ -16,6 +17,7 @@ export const StreamSocketResponse: core.serialization.Schema<
1617
| Corti.StreamTranscriptMessage
1718
| Corti.StreamFactsMessage
1819
| Corti.StreamFlushedMessage
20+
| Corti.StreamDeltaUsageMessage
1921
| Corti.StreamEndedMessage
2022
| Corti.StreamUsageMessage
2123
| Corti.StreamErrorMessage
@@ -24,6 +26,7 @@ export const StreamSocketResponse: core.serialization.Schema<
2426
StreamTranscriptMessage,
2527
StreamFactsMessage,
2628
StreamFlushedMessage,
29+
StreamDeltaUsageMessage,
2730
StreamEndedMessage,
2831
StreamUsageMessage,
2932
StreamErrorMessage,
@@ -35,6 +38,7 @@ export declare namespace StreamSocketResponse {
3538
| StreamTranscriptMessage.Raw
3639
| StreamFactsMessage.Raw
3740
| StreamFlushedMessage.Raw
41+
| StreamDeltaUsageMessage.Raw
3842
| StreamEndedMessage.Raw
3943
| StreamUsageMessage.Raw
4044
| StreamErrorMessage.Raw

src/serialization/resources/transcribe/client/socket/TranscribeSocketResponse.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import * as core from "../../../../../core/index.js";
55
import type * as serializers from "../../../../index.js";
66
import { TranscribeCommandMessage } from "../../../../types/TranscribeCommandMessage.js";
77
import { TranscribeConfigStatusMessage } from "../../../../types/TranscribeConfigStatusMessage.js";
8+
import { TranscribeDeltaUsageMessage } from "../../../../types/TranscribeDeltaUsageMessage.js";
89
import { TranscribeEndedMessage } from "../../../../types/TranscribeEndedMessage.js";
910
import { TranscribeErrorMessage } from "../../../../types/TranscribeErrorMessage.js";
1011
import { TranscribeFlushedMessage } from "../../../../types/TranscribeFlushedMessage.js";
@@ -15,6 +16,7 @@ export const TranscribeSocketResponse: core.serialization.Schema<
1516
serializers.TranscribeSocketResponse.Raw,
1617
| Corti.TranscribeUsageMessage
1718
| Corti.TranscribeFlushedMessage
19+
| Corti.TranscribeDeltaUsageMessage
1820
| Corti.TranscribeEndedMessage
1921
| Corti.TranscribeErrorMessage
2022
| Corti.TranscribeTranscriptMessage
@@ -23,6 +25,7 @@ export const TranscribeSocketResponse: core.serialization.Schema<
2325
> = core.serialization.undiscriminatedUnion([
2426
TranscribeUsageMessage,
2527
TranscribeFlushedMessage,
28+
TranscribeDeltaUsageMessage,
2629
TranscribeEndedMessage,
2730
TranscribeErrorMessage,
2831
TranscribeTranscriptMessage,
@@ -34,6 +37,7 @@ export declare namespace TranscribeSocketResponse {
3437
export type Raw =
3538
| TranscribeUsageMessage.Raw
3639
| TranscribeFlushedMessage.Raw
40+
| TranscribeDeltaUsageMessage.Raw
3741
| TranscribeEndedMessage.Raw
3842
| TranscribeErrorMessage.Raw
3943
| TranscribeTranscriptMessage.Raw

0 commit comments

Comments
 (0)