@corti/sdk 3.1.0-rc.2 → 4.0.0-rc

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.
Files changed (85) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/types/CommonFactsContext.d.ts +2 -2
  3. package/dist/cjs/api/types/StreamConfig.d.ts +0 -4
  4. package/dist/cjs/api/types/StreamErrorDetail.d.ts +5 -7
  5. package/dist/cjs/api/types/TranscribeConfig.d.ts +1 -3
  6. package/dist/cjs/api/types/TranscribeErrorMessageError.d.ts +5 -7
  7. package/dist/cjs/api/types/index.d.ts +0 -5
  8. package/dist/cjs/api/types/index.js +0 -5
  9. package/dist/cjs/serialization/types/CommonFactsContext.d.ts +1 -1
  10. package/dist/cjs/serialization/types/CommonFactsContext.js +1 -1
  11. package/dist/cjs/serialization/types/StreamConfig.d.ts +0 -4
  12. package/dist/cjs/serialization/types/StreamConfig.js +0 -4
  13. package/dist/cjs/serialization/types/StreamErrorDetail.d.ts +5 -6
  14. package/dist/cjs/serialization/types/StreamErrorDetail.js +5 -6
  15. package/dist/cjs/serialization/types/TranscribeConfig.d.ts +0 -2
  16. package/dist/cjs/serialization/types/TranscribeConfig.js +0 -2
  17. package/dist/cjs/serialization/types/TranscribeErrorMessageError.d.ts +5 -6
  18. package/dist/cjs/serialization/types/TranscribeErrorMessageError.js +5 -6
  19. package/dist/cjs/serialization/types/index.d.ts +0 -5
  20. package/dist/cjs/serialization/types/index.js +0 -5
  21. package/dist/cjs/version.d.ts +1 -1
  22. package/dist/cjs/version.js +1 -1
  23. package/dist/esm/BaseClient.mjs +2 -2
  24. package/dist/esm/api/types/CommonFactsContext.d.mts +2 -2
  25. package/dist/esm/api/types/StreamConfig.d.mts +0 -4
  26. package/dist/esm/api/types/StreamErrorDetail.d.mts +5 -7
  27. package/dist/esm/api/types/TranscribeConfig.d.mts +1 -3
  28. package/dist/esm/api/types/TranscribeErrorMessageError.d.mts +5 -7
  29. package/dist/esm/api/types/index.d.mts +0 -5
  30. package/dist/esm/api/types/index.mjs +0 -5
  31. package/dist/esm/serialization/types/CommonFactsContext.d.mts +1 -1
  32. package/dist/esm/serialization/types/CommonFactsContext.mjs +1 -1
  33. package/dist/esm/serialization/types/StreamConfig.d.mts +0 -4
  34. package/dist/esm/serialization/types/StreamConfig.mjs +0 -4
  35. package/dist/esm/serialization/types/StreamErrorDetail.d.mts +5 -6
  36. package/dist/esm/serialization/types/StreamErrorDetail.mjs +5 -6
  37. package/dist/esm/serialization/types/TranscribeConfig.d.mts +0 -2
  38. package/dist/esm/serialization/types/TranscribeConfig.mjs +0 -2
  39. package/dist/esm/serialization/types/TranscribeErrorMessageError.d.mts +5 -6
  40. package/dist/esm/serialization/types/TranscribeErrorMessageError.mjs +5 -6
  41. package/dist/esm/serialization/types/index.d.mts +0 -5
  42. package/dist/esm/serialization/types/index.mjs +0 -5
  43. package/dist/esm/version.d.mts +1 -1
  44. package/dist/esm/version.mjs +1 -1
  45. package/package.json +1 -1
  46. package/dist/cjs/api/types/StreamConfigKeyterms.d.ts +0 -8
  47. package/dist/cjs/api/types/StreamConfigKeyterms.js +0 -3
  48. package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.d.ts +0 -4
  49. package/dist/cjs/api/types/StreamConfigKeytermsTermsItem.js +0 -3
  50. package/dist/cjs/api/types/StreamConfigReplacementsItem.d.ts +0 -6
  51. package/dist/cjs/api/types/StreamConfigReplacementsItem.js +0 -3
  52. package/dist/cjs/api/types/TranscribeConfigKeyterms.d.ts +0 -8
  53. package/dist/cjs/api/types/TranscribeConfigKeyterms.js +0 -3
  54. package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.d.ts +0 -4
  55. package/dist/cjs/api/types/TranscribeConfigKeytermsTermsItem.js +0 -3
  56. package/dist/cjs/serialization/types/StreamConfigKeyterms.d.ts +0 -10
  57. package/dist/cjs/serialization/types/StreamConfigKeyterms.js +0 -42
  58. package/dist/cjs/serialization/types/StreamConfigKeytermsTermsItem.d.ts +0 -9
  59. package/dist/cjs/serialization/types/StreamConfigKeytermsTermsItem.js +0 -41
  60. package/dist/cjs/serialization/types/StreamConfigReplacementsItem.d.ts +0 -10
  61. package/dist/cjs/serialization/types/StreamConfigReplacementsItem.js +0 -42
  62. package/dist/cjs/serialization/types/TranscribeConfigKeyterms.d.ts +0 -10
  63. package/dist/cjs/serialization/types/TranscribeConfigKeyterms.js +0 -42
  64. package/dist/cjs/serialization/types/TranscribeConfigKeytermsTermsItem.d.ts +0 -9
  65. package/dist/cjs/serialization/types/TranscribeConfigKeytermsTermsItem.js +0 -41
  66. package/dist/esm/api/types/StreamConfigKeyterms.d.mts +0 -8
  67. package/dist/esm/api/types/StreamConfigKeyterms.mjs +0 -2
  68. package/dist/esm/api/types/StreamConfigKeytermsTermsItem.d.mts +0 -4
  69. package/dist/esm/api/types/StreamConfigKeytermsTermsItem.mjs +0 -2
  70. package/dist/esm/api/types/StreamConfigReplacementsItem.d.mts +0 -6
  71. package/dist/esm/api/types/StreamConfigReplacementsItem.mjs +0 -2
  72. package/dist/esm/api/types/TranscribeConfigKeyterms.d.mts +0 -8
  73. package/dist/esm/api/types/TranscribeConfigKeyterms.mjs +0 -2
  74. package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.d.mts +0 -4
  75. package/dist/esm/api/types/TranscribeConfigKeytermsTermsItem.mjs +0 -2
  76. package/dist/esm/serialization/types/StreamConfigKeyterms.d.mts +0 -10
  77. package/dist/esm/serialization/types/StreamConfigKeyterms.mjs +0 -6
  78. package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.d.mts +0 -9
  79. package/dist/esm/serialization/types/StreamConfigKeytermsTermsItem.mjs +0 -5
  80. package/dist/esm/serialization/types/StreamConfigReplacementsItem.d.mts +0 -10
  81. package/dist/esm/serialization/types/StreamConfigReplacementsItem.mjs +0 -6
  82. package/dist/esm/serialization/types/TranscribeConfigKeyterms.d.mts +0 -10
  83. package/dist/esm/serialization/types/TranscribeConfigKeyterms.mjs +0 -6
  84. package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.d.mts +0 -9
  85. package/dist/esm/serialization/types/TranscribeConfigKeytermsTermsItem.mjs +0 -5
@@ -4,11 +4,10 @@ import type * as serializers from "../index.mjs";
4
4
  export declare const TranscribeErrorMessageError: core.serialization.ObjectSchema<serializers.TranscribeErrorMessageError.Raw, Corti.TranscribeErrorMessageError>;
5
5
  export declare namespace TranscribeErrorMessageError {
6
6
  interface Raw {
7
- requestid?: string | null;
8
- id?: string | null;
9
- title?: string | null;
10
- status?: number | null;
11
- details?: string | null;
12
- doc?: string | null;
7
+ id: string;
8
+ title: string;
9
+ status: number;
10
+ details: string;
11
+ doc: string;
13
12
  }
14
13
  }
@@ -1,10 +1,9 @@
1
1
  // This file was auto-generated by Fern from our API Definition.
2
2
  import * as core from "../../core/index.mjs";
3
3
  export const TranscribeErrorMessageError = core.serialization.object({
4
- requestid: core.serialization.string().optional(),
5
- id: core.serialization.string().optional(),
6
- title: core.serialization.string().optional(),
7
- status: core.serialization.number().optional(),
8
- details: core.serialization.string().optional(),
9
- doc: core.serialization.string().optional(),
4
+ id: core.serialization.string(),
5
+ title: core.serialization.string(),
6
+ status: core.serialization.number(),
7
+ details: core.serialization.string(),
8
+ doc: core.serialization.string(),
10
9
  });
@@ -190,15 +190,12 @@ export * from "./StreamAudioEventDataEvent.mjs";
190
190
  export * from "./StreamAudioEventMessage.mjs";
191
191
  export * from "./StreamAudioEventsConfig.mjs";
192
192
  export * from "./StreamConfig.mjs";
193
- export * from "./StreamConfigKeyterms.mjs";
194
- export * from "./StreamConfigKeytermsTermsItem.mjs";
195
193
  export * from "./StreamConfigMessage.mjs";
196
194
  export * from "./StreamConfigMode.mjs";
197
195
  export * from "./StreamConfigModeFactGenerationInterval.mjs";
198
196
  export * from "./StreamConfigModeType.mjs";
199
197
  export * from "./StreamConfigParticipant.mjs";
200
198
  export * from "./StreamConfigParticipantRole.mjs";
201
- export * from "./StreamConfigReplacementsItem.mjs";
202
199
  export * from "./StreamConfigRetentionPolicy.mjs";
203
200
  export * from "./StreamConfigStatusMessage.mjs";
204
201
  export * from "./StreamConfigStatusMessageType.mjs";
@@ -238,8 +235,6 @@ export * from "./TranscribeCommandMessage.mjs";
238
235
  export * from "./TranscribeCommandVariable.mjs";
239
236
  export * from "./TranscribeCommandVariableType.mjs";
240
237
  export * from "./TranscribeConfig.mjs";
241
- export * from "./TranscribeConfigKeyterms.mjs";
242
- export * from "./TranscribeConfigKeytermsTermsItem.mjs";
243
238
  export * from "./TranscribeConfigMessage.mjs";
244
239
  export * from "./TranscribeConfigReplacementsItem.mjs";
245
240
  export * from "./TranscribeConfigStatusMessage.mjs";
@@ -190,15 +190,12 @@ export * from "./StreamAudioEventDataEvent.mjs";
190
190
  export * from "./StreamAudioEventMessage.mjs";
191
191
  export * from "./StreamAudioEventsConfig.mjs";
192
192
  export * from "./StreamConfig.mjs";
193
- export * from "./StreamConfigKeyterms.mjs";
194
- export * from "./StreamConfigKeytermsTermsItem.mjs";
195
193
  export * from "./StreamConfigMessage.mjs";
196
194
  export * from "./StreamConfigMode.mjs";
197
195
  export * from "./StreamConfigModeFactGenerationInterval.mjs";
198
196
  export * from "./StreamConfigModeType.mjs";
199
197
  export * from "./StreamConfigParticipant.mjs";
200
198
  export * from "./StreamConfigParticipantRole.mjs";
201
- export * from "./StreamConfigReplacementsItem.mjs";
202
199
  export * from "./StreamConfigRetentionPolicy.mjs";
203
200
  export * from "./StreamConfigStatusMessage.mjs";
204
201
  export * from "./StreamConfigStatusMessageType.mjs";
@@ -238,8 +235,6 @@ export * from "./TranscribeCommandMessage.mjs";
238
235
  export * from "./TranscribeCommandVariable.mjs";
239
236
  export * from "./TranscribeCommandVariableType.mjs";
240
237
  export * from "./TranscribeConfig.mjs";
241
- export * from "./TranscribeConfigKeyterms.mjs";
242
- export * from "./TranscribeConfigKeytermsTermsItem.mjs";
243
238
  export * from "./TranscribeConfigMessage.mjs";
244
239
  export * from "./TranscribeConfigReplacementsItem.mjs";
245
240
  export * from "./TranscribeConfigStatusMessage.mjs";
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.0-rc.2";
1
+ export declare const SDK_VERSION = "4.0.0-rc";
@@ -1 +1 @@
1
- export const SDK_VERSION = "3.1.0-rc.2";
1
+ export const SDK_VERSION = "4.0.0-rc";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@corti/sdk",
3
- "version": "3.1.0-rc.2",
3
+ "version": "4.0.0-rc",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.js";
2
- /**
3
- * Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. Configuration is case sensitive and limited to 1,000 key terms per stream.
4
- */
5
- export interface StreamConfigKeyterms {
6
- /** Ordered list of words to be recognized. */
7
- terms?: Corti.StreamConfigKeytermsTermsItem[];
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface StreamConfigKeytermsTermsItem {
2
- /** The word to be recognized, defined in its expected written form. */
3
- term: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,6 +0,0 @@
1
- export interface StreamConfigReplacementsItem {
2
- /** The term to be replaced, such as "BID". */
3
- find: string;
4
- /** The preferred replacement for the term, such as "twice daily". */
5
- replace: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.js";
2
- /**
3
- * Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. Configuration is case sensitive and limited to 1,000 key terms per stream.
4
- */
5
- export interface TranscribeConfigKeyterms {
6
- /** Ordered list of words to be recognized. */
7
- terms?: Corti.TranscribeConfigKeytermsTermsItem[];
8
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export interface TranscribeConfigKeytermsTermsItem {
2
- /** The word to be recognized, defined in its expected written form. */
3
- term: string;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import type * as serializers from "../index.js";
4
- import { StreamConfigKeytermsTermsItem } from "./StreamConfigKeytermsTermsItem.js";
5
- export declare const StreamConfigKeyterms: core.serialization.ObjectSchema<serializers.StreamConfigKeyterms.Raw, Corti.StreamConfigKeyterms>;
6
- export declare namespace StreamConfigKeyterms {
7
- interface Raw {
8
- terms?: StreamConfigKeytermsTermsItem.Raw[] | null;
9
- }
10
- }
@@ -1,42 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.StreamConfigKeyterms = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const StreamConfigKeytermsTermsItem_js_1 = require("./StreamConfigKeytermsTermsItem.js");
40
- exports.StreamConfigKeyterms = core.serialization.object({
41
- terms: core.serialization.list(StreamConfigKeytermsTermsItem_js_1.StreamConfigKeytermsTermsItem).optional(),
42
- });
@@ -1,9 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import type * as serializers from "../index.js";
4
- export declare const StreamConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.StreamConfigKeytermsTermsItem.Raw, Corti.StreamConfigKeytermsTermsItem>;
5
- export declare namespace StreamConfigKeytermsTermsItem {
6
- interface Raw {
7
- term: string;
8
- }
9
- }
@@ -1,41 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.StreamConfigKeytermsTermsItem = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.StreamConfigKeytermsTermsItem = core.serialization.object({
40
- term: core.serialization.string(),
41
- });
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import type * as serializers from "../index.js";
4
- export declare const StreamConfigReplacementsItem: core.serialization.ObjectSchema<serializers.StreamConfigReplacementsItem.Raw, Corti.StreamConfigReplacementsItem>;
5
- export declare namespace StreamConfigReplacementsItem {
6
- interface Raw {
7
- find: string;
8
- replace: string;
9
- }
10
- }
@@ -1,42 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.StreamConfigReplacementsItem = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.StreamConfigReplacementsItem = core.serialization.object({
40
- find: core.serialization.string(),
41
- replace: core.serialization.string(),
42
- });
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import type * as serializers from "../index.js";
4
- import { TranscribeConfigKeytermsTermsItem } from "./TranscribeConfigKeytermsTermsItem.js";
5
- export declare const TranscribeConfigKeyterms: core.serialization.ObjectSchema<serializers.TranscribeConfigKeyterms.Raw, Corti.TranscribeConfigKeyterms>;
6
- export declare namespace TranscribeConfigKeyterms {
7
- interface Raw {
8
- terms?: TranscribeConfigKeytermsTermsItem.Raw[] | null;
9
- }
10
- }
@@ -1,42 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.TranscribeConfigKeyterms = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- const TranscribeConfigKeytermsTermsItem_js_1 = require("./TranscribeConfigKeytermsTermsItem.js");
40
- exports.TranscribeConfigKeyterms = core.serialization.object({
41
- terms: core.serialization.list(TranscribeConfigKeytermsTermsItem_js_1.TranscribeConfigKeytermsTermsItem).optional(),
42
- });
@@ -1,9 +0,0 @@
1
- import type * as Corti from "../../api/index.js";
2
- import * as core from "../../core/index.js";
3
- import type * as serializers from "../index.js";
4
- export declare const TranscribeConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.TranscribeConfigKeytermsTermsItem.Raw, Corti.TranscribeConfigKeytermsTermsItem>;
5
- export declare namespace TranscribeConfigKeytermsTermsItem {
6
- interface Raw {
7
- term: string;
8
- }
9
- }
@@ -1,41 +0,0 @@
1
- "use strict";
2
- // This file was auto-generated by Fern from our API Definition.
3
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
4
- if (k2 === undefined) k2 = k;
5
- var desc = Object.getOwnPropertyDescriptor(m, k);
6
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
7
- desc = { enumerable: true, get: function() { return m[k]; } };
8
- }
9
- Object.defineProperty(o, k2, desc);
10
- }) : (function(o, m, k, k2) {
11
- if (k2 === undefined) k2 = k;
12
- o[k2] = m[k];
13
- }));
14
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
15
- Object.defineProperty(o, "default", { enumerable: true, value: v });
16
- }) : function(o, v) {
17
- o["default"] = v;
18
- });
19
- var __importStar = (this && this.__importStar) || (function () {
20
- var ownKeys = function(o) {
21
- ownKeys = Object.getOwnPropertyNames || function (o) {
22
- var ar = [];
23
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
24
- return ar;
25
- };
26
- return ownKeys(o);
27
- };
28
- return function (mod) {
29
- if (mod && mod.__esModule) return mod;
30
- var result = {};
31
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
32
- __setModuleDefault(result, mod);
33
- return result;
34
- };
35
- })();
36
- Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.TranscribeConfigKeytermsTermsItem = void 0;
38
- const core = __importStar(require("../../core/index.js"));
39
- exports.TranscribeConfigKeytermsTermsItem = core.serialization.object({
40
- term: core.serialization.string(),
41
- });
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. Configuration is case sensitive and limited to 1,000 key terms per stream.
4
- */
5
- export interface StreamConfigKeyterms {
6
- /** Ordered list of words to be recognized. */
7
- terms?: Corti.StreamConfigKeytermsTermsItem[];
8
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,4 +0,0 @@
1
- export interface StreamConfigKeytermsTermsItem {
2
- /** The word to be recognized, defined in its expected written form. */
3
- term: string;
4
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,6 +0,0 @@
1
- export interface StreamConfigReplacementsItem {
2
- /** The term to be replaced, such as "BID". */
3
- find: string;
4
- /** The preferred replacement for the term, such as "twice daily". */
5
- replace: string;
6
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,8 +0,0 @@
1
- import type * as Corti from "../index.mjs";
2
- /**
3
- * Define words, terms, and phrases to be recognized by Corti speech-to-text. Especially useful for proper nouns (e.g., surnames), but also supportive of words not being recognized consistently. Configuration is case sensitive and limited to 1,000 key terms per stream.
4
- */
5
- export interface TranscribeConfigKeyterms {
6
- /** Ordered list of words to be recognized. */
7
- terms?: Corti.TranscribeConfigKeytermsTermsItem[];
8
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,4 +0,0 @@
1
- export interface TranscribeConfigKeytermsTermsItem {
2
- /** The word to be recognized, defined in its expected written form. */
3
- term: string;
4
- }
@@ -1,2 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- export {};
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../../api/index.mjs";
2
- import * as core from "../../core/index.mjs";
3
- import type * as serializers from "../index.mjs";
4
- import { StreamConfigKeytermsTermsItem } from "./StreamConfigKeytermsTermsItem.mjs";
5
- export declare const StreamConfigKeyterms: core.serialization.ObjectSchema<serializers.StreamConfigKeyterms.Raw, Corti.StreamConfigKeyterms>;
6
- export declare namespace StreamConfigKeyterms {
7
- interface Raw {
8
- terms?: StreamConfigKeytermsTermsItem.Raw[] | null;
9
- }
10
- }
@@ -1,6 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../core/index.mjs";
3
- import { StreamConfigKeytermsTermsItem } from "./StreamConfigKeytermsTermsItem.mjs";
4
- export const StreamConfigKeyterms = core.serialization.object({
5
- terms: core.serialization.list(StreamConfigKeytermsTermsItem).optional(),
6
- });
@@ -1,9 +0,0 @@
1
- import type * as Corti from "../../api/index.mjs";
2
- import * as core from "../../core/index.mjs";
3
- import type * as serializers from "../index.mjs";
4
- export declare const StreamConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.StreamConfigKeytermsTermsItem.Raw, Corti.StreamConfigKeytermsTermsItem>;
5
- export declare namespace StreamConfigKeytermsTermsItem {
6
- interface Raw {
7
- term: string;
8
- }
9
- }
@@ -1,5 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../core/index.mjs";
3
- export const StreamConfigKeytermsTermsItem = core.serialization.object({
4
- term: core.serialization.string(),
5
- });
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../../api/index.mjs";
2
- import * as core from "../../core/index.mjs";
3
- import type * as serializers from "../index.mjs";
4
- export declare const StreamConfigReplacementsItem: core.serialization.ObjectSchema<serializers.StreamConfigReplacementsItem.Raw, Corti.StreamConfigReplacementsItem>;
5
- export declare namespace StreamConfigReplacementsItem {
6
- interface Raw {
7
- find: string;
8
- replace: string;
9
- }
10
- }
@@ -1,6 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../core/index.mjs";
3
- export const StreamConfigReplacementsItem = core.serialization.object({
4
- find: core.serialization.string(),
5
- replace: core.serialization.string(),
6
- });
@@ -1,10 +0,0 @@
1
- import type * as Corti from "../../api/index.mjs";
2
- import * as core from "../../core/index.mjs";
3
- import type * as serializers from "../index.mjs";
4
- import { TranscribeConfigKeytermsTermsItem } from "./TranscribeConfigKeytermsTermsItem.mjs";
5
- export declare const TranscribeConfigKeyterms: core.serialization.ObjectSchema<serializers.TranscribeConfigKeyterms.Raw, Corti.TranscribeConfigKeyterms>;
6
- export declare namespace TranscribeConfigKeyterms {
7
- interface Raw {
8
- terms?: TranscribeConfigKeytermsTermsItem.Raw[] | null;
9
- }
10
- }
@@ -1,6 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../core/index.mjs";
3
- import { TranscribeConfigKeytermsTermsItem } from "./TranscribeConfigKeytermsTermsItem.mjs";
4
- export const TranscribeConfigKeyterms = core.serialization.object({
5
- terms: core.serialization.list(TranscribeConfigKeytermsTermsItem).optional(),
6
- });
@@ -1,9 +0,0 @@
1
- import type * as Corti from "../../api/index.mjs";
2
- import * as core from "../../core/index.mjs";
3
- import type * as serializers from "../index.mjs";
4
- export declare const TranscribeConfigKeytermsTermsItem: core.serialization.ObjectSchema<serializers.TranscribeConfigKeytermsTermsItem.Raw, Corti.TranscribeConfigKeytermsTermsItem>;
5
- export declare namespace TranscribeConfigKeytermsTermsItem {
6
- interface Raw {
7
- term: string;
8
- }
9
- }
@@ -1,5 +0,0 @@
1
- // This file was auto-generated by Fern from our API Definition.
2
- import * as core from "../../core/index.mjs";
3
- export const TranscribeConfigKeytermsTermsItem = core.serialization.object({
4
- term: core.serialization.string(),
5
- });