@corti/sdk 3.1.0-rc → 3.1.0-rc.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.
Files changed (184) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +6 -0
  3. package/dist/cjs/api/resources/documents/resources/sections/client/Client.js +6 -0
  4. package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +7 -0
  5. package/dist/cjs/api/resources/documents/resources/templates/client/Client.js +7 -0
  6. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.d.ts +6 -0
  7. package/dist/cjs/api/resources/documents/resources/templates/resources/versions/client/Client.js +6 -0
  8. package/dist/cjs/api/resources/transcripts/client/Client.d.ts +1 -1
  9. package/dist/cjs/api/resources/transcripts/client/Client.js +1 -1
  10. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +3 -1
  11. package/dist/cjs/api/types/GuidedArrayNode.d.ts +3 -2
  12. package/dist/cjs/api/types/GuidedBoolNode.d.ts +2 -2
  13. package/dist/cjs/api/types/GuidedDocumentsGenerateBase.d.ts +2 -0
  14. package/dist/cjs/api/types/GuidedEphemeralDocument.d.ts +5 -0
  15. package/dist/cjs/api/types/GuidedFieldDefinition.d.ts +4 -1
  16. package/dist/cjs/api/types/GuidedNumberNode.d.ts +3 -3
  17. package/dist/cjs/api/types/GuidedObjectNode.d.ts +3 -3
  18. package/dist/cjs/api/types/GuidedSection.d.ts +0 -2
  19. package/dist/cjs/api/types/GuidedSectionsCreateBase.d.ts +0 -2
  20. package/dist/cjs/api/types/GuidedStringNode.d.ts +4 -4
  21. package/dist/cjs/api/types/GuidedTemplate.d.ts +0 -2
  22. package/dist/cjs/api/types/GuidedTemplatesCreateBase.d.ts +0 -2
  23. package/dist/cjs/api/types/StreamConfig.d.ts +1 -1
  24. package/dist/cjs/api/types/StreamErrorDetail.d.ts +7 -5
  25. package/dist/cjs/api/types/TranscribeAudioEventsConfig.d.ts +1 -1
  26. package/dist/cjs/api/types/TranscribeCommand.d.ts +3 -3
  27. package/dist/cjs/api/types/TranscribeCommandVariable.d.ts +6 -5
  28. package/dist/cjs/api/types/TranscribeCommandVariableType.d.ts +6 -0
  29. package/dist/cjs/api/types/TranscribeCommandVariableType.js +9 -0
  30. package/dist/cjs/api/types/TranscribeConfig.d.ts +6 -4
  31. package/dist/cjs/api/types/TranscribeConfigReplacementsItem.d.ts +6 -0
  32. package/dist/cjs/api/types/TranscribeErrorMessageError.d.ts +7 -5
  33. package/dist/cjs/api/types/TranscribeSupportedLanguage.d.ts +1 -1
  34. package/dist/cjs/api/types/index.d.ts +2 -5
  35. package/dist/cjs/api/types/index.js +2 -5
  36. package/dist/cjs/custom/utils/dictationTranscript.d.ts +26 -0
  37. package/dist/cjs/custom/utils/dictationTranscript.js +77 -0
  38. package/dist/cjs/custom/utils/index.d.ts +1 -0
  39. package/dist/cjs/custom/utils/index.js +3 -1
  40. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -0
  41. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +1 -0
  42. package/dist/cjs/serialization/types/GuidedDocumentsGenerateBase.d.ts +2 -0
  43. package/dist/cjs/serialization/types/GuidedDocumentsGenerateBase.js +2 -0
  44. package/dist/cjs/serialization/types/GuidedEphemeralDocument.d.ts +3 -0
  45. package/dist/cjs/serialization/types/GuidedEphemeralDocument.js +3 -0
  46. package/dist/cjs/serialization/types/GuidedFieldDefinition.d.ts +1 -0
  47. package/dist/cjs/serialization/types/GuidedFieldDefinition.js +1 -0
  48. package/dist/cjs/serialization/types/GuidedSection.d.ts +0 -2
  49. package/dist/cjs/serialization/types/GuidedSection.js +0 -2
  50. package/dist/cjs/serialization/types/GuidedSectionsCreateBase.d.ts +0 -2
  51. package/dist/cjs/serialization/types/GuidedSectionsCreateBase.js +0 -2
  52. package/dist/cjs/serialization/types/GuidedTemplate.d.ts +0 -2
  53. package/dist/cjs/serialization/types/GuidedTemplate.js +0 -2
  54. package/dist/cjs/serialization/types/GuidedTemplatesCreateBase.d.ts +0 -2
  55. package/dist/cjs/serialization/types/GuidedTemplatesCreateBase.js +0 -2
  56. package/dist/cjs/serialization/types/StreamErrorDetail.d.ts +6 -5
  57. package/dist/cjs/serialization/types/StreamErrorDetail.js +6 -5
  58. package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.d.ts +1 -1
  59. package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.js +1 -1
  60. package/dist/cjs/serialization/types/TranscribeCommandVariable.d.ts +3 -2
  61. package/dist/cjs/serialization/types/TranscribeCommandVariable.js +3 -2
  62. package/dist/cjs/serialization/types/TranscribeCommandVariableType.d.ts +7 -0
  63. package/dist/cjs/serialization/types/{GuidedTemplatePolicyKind.js → TranscribeCommandVariableType.js} +2 -2
  64. package/dist/cjs/serialization/types/TranscribeConfig.d.ts +2 -0
  65. package/dist/cjs/serialization/types/TranscribeConfig.js +2 -0
  66. package/dist/cjs/serialization/types/TranscribeConfigReplacementsItem.d.ts +10 -0
  67. package/dist/cjs/serialization/types/{GuidedSectionsCreatePolicyRequest.js → TranscribeConfigReplacementsItem.js} +4 -5
  68. package/dist/cjs/serialization/types/TranscribeErrorMessageError.d.ts +6 -5
  69. package/dist/cjs/serialization/types/TranscribeErrorMessageError.js +6 -5
  70. package/dist/cjs/serialization/types/index.d.ts +2 -5
  71. package/dist/cjs/serialization/types/index.js +2 -5
  72. package/dist/cjs/version.d.ts +1 -1
  73. package/dist/cjs/version.js +1 -1
  74. package/dist/esm/BaseClient.mjs +2 -2
  75. package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +6 -0
  76. package/dist/esm/api/resources/documents/resources/sections/client/Client.mjs +6 -0
  77. package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +7 -0
  78. package/dist/esm/api/resources/documents/resources/templates/client/Client.mjs +7 -0
  79. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.d.mts +6 -0
  80. package/dist/esm/api/resources/documents/resources/templates/resources/versions/client/Client.mjs +6 -0
  81. package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
  82. package/dist/esm/api/resources/transcripts/client/Client.mjs +1 -1
  83. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +3 -1
  84. package/dist/esm/api/types/GuidedArrayNode.d.mts +3 -2
  85. package/dist/esm/api/types/GuidedBoolNode.d.mts +2 -2
  86. package/dist/esm/api/types/GuidedDocumentsGenerateBase.d.mts +2 -0
  87. package/dist/esm/api/types/GuidedEphemeralDocument.d.mts +5 -0
  88. package/dist/esm/api/types/GuidedFieldDefinition.d.mts +4 -1
  89. package/dist/esm/api/types/GuidedNumberNode.d.mts +3 -3
  90. package/dist/esm/api/types/GuidedObjectNode.d.mts +3 -3
  91. package/dist/esm/api/types/GuidedSection.d.mts +0 -2
  92. package/dist/esm/api/types/GuidedSectionsCreateBase.d.mts +0 -2
  93. package/dist/esm/api/types/GuidedStringNode.d.mts +4 -4
  94. package/dist/esm/api/types/GuidedTemplate.d.mts +0 -2
  95. package/dist/esm/api/types/GuidedTemplatesCreateBase.d.mts +0 -2
  96. package/dist/esm/api/types/StreamConfig.d.mts +1 -1
  97. package/dist/esm/api/types/StreamErrorDetail.d.mts +7 -5
  98. package/dist/esm/api/types/TranscribeAudioEventsConfig.d.mts +1 -1
  99. package/dist/esm/api/types/TranscribeCommand.d.mts +3 -3
  100. package/dist/esm/api/types/TranscribeCommandVariable.d.mts +6 -5
  101. package/dist/esm/api/types/TranscribeCommandVariableType.d.mts +6 -0
  102. package/dist/esm/api/types/TranscribeCommandVariableType.mjs +6 -0
  103. package/dist/esm/api/types/TranscribeConfig.d.mts +6 -4
  104. package/dist/esm/api/types/TranscribeConfigReplacementsItem.d.mts +6 -0
  105. package/dist/esm/api/types/TranscribeErrorMessageError.d.mts +7 -5
  106. package/dist/esm/api/types/TranscribeSupportedLanguage.d.mts +1 -1
  107. package/dist/esm/api/types/index.d.mts +2 -5
  108. package/dist/esm/api/types/index.mjs +2 -5
  109. package/dist/esm/custom/utils/dictationTranscript.d.mts +26 -0
  110. package/dist/esm/custom/utils/dictationTranscript.mjs +74 -0
  111. package/dist/esm/custom/utils/index.d.mts +1 -0
  112. package/dist/esm/custom/utils/index.mjs +1 -0
  113. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -0
  114. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +1 -0
  115. package/dist/esm/serialization/types/GuidedDocumentsGenerateBase.d.mts +2 -0
  116. package/dist/esm/serialization/types/GuidedDocumentsGenerateBase.mjs +2 -0
  117. package/dist/esm/serialization/types/GuidedEphemeralDocument.d.mts +3 -0
  118. package/dist/esm/serialization/types/GuidedEphemeralDocument.mjs +3 -0
  119. package/dist/esm/serialization/types/GuidedFieldDefinition.d.mts +1 -0
  120. package/dist/esm/serialization/types/GuidedFieldDefinition.mjs +1 -0
  121. package/dist/esm/serialization/types/GuidedSection.d.mts +0 -2
  122. package/dist/esm/serialization/types/GuidedSection.mjs +0 -2
  123. package/dist/esm/serialization/types/GuidedSectionsCreateBase.d.mts +0 -2
  124. package/dist/esm/serialization/types/GuidedSectionsCreateBase.mjs +0 -2
  125. package/dist/esm/serialization/types/GuidedTemplate.d.mts +0 -2
  126. package/dist/esm/serialization/types/GuidedTemplate.mjs +0 -2
  127. package/dist/esm/serialization/types/GuidedTemplatesCreateBase.d.mts +0 -2
  128. package/dist/esm/serialization/types/GuidedTemplatesCreateBase.mjs +0 -2
  129. package/dist/esm/serialization/types/StreamErrorDetail.d.mts +6 -5
  130. package/dist/esm/serialization/types/StreamErrorDetail.mjs +6 -5
  131. package/dist/esm/serialization/types/TranscribeAudioEventsConfig.d.mts +1 -1
  132. package/dist/esm/serialization/types/TranscribeAudioEventsConfig.mjs +1 -1
  133. package/dist/esm/serialization/types/TranscribeCommandVariable.d.mts +3 -2
  134. package/dist/esm/serialization/types/TranscribeCommandVariable.mjs +3 -2
  135. package/dist/esm/serialization/types/TranscribeCommandVariableType.d.mts +7 -0
  136. package/dist/esm/serialization/types/{GuidedTemplatePolicyKind.mjs → TranscribeCommandVariableType.mjs} +1 -1
  137. package/dist/esm/serialization/types/TranscribeConfig.d.mts +2 -0
  138. package/dist/esm/serialization/types/TranscribeConfig.mjs +2 -0
  139. package/dist/esm/serialization/types/TranscribeConfigReplacementsItem.d.mts +10 -0
  140. package/dist/esm/serialization/types/TranscribeConfigReplacementsItem.mjs +6 -0
  141. package/dist/esm/serialization/types/TranscribeErrorMessageError.d.mts +6 -5
  142. package/dist/esm/serialization/types/TranscribeErrorMessageError.mjs +6 -5
  143. package/dist/esm/serialization/types/index.d.mts +2 -5
  144. package/dist/esm/serialization/types/index.mjs +2 -5
  145. package/dist/esm/version.d.mts +1 -1
  146. package/dist/esm/version.mjs +1 -1
  147. package/package.json +1 -1
  148. package/dist/cjs/api/types/GuidedSectionPolicy.d.ts +0 -16
  149. package/dist/cjs/api/types/GuidedSectionsCreatePolicyRequest.d.ts +0 -6
  150. package/dist/cjs/api/types/GuidedSectionsCreatePolicyRequest.js +0 -3
  151. package/dist/cjs/api/types/GuidedTemplatePolicy.d.ts +0 -16
  152. package/dist/cjs/api/types/GuidedTemplatePolicy.js +0 -3
  153. package/dist/cjs/api/types/GuidedTemplatePolicyKind.d.ts +0 -6
  154. package/dist/cjs/api/types/GuidedTemplatePolicyKind.js +0 -9
  155. package/dist/cjs/api/types/GuidedTemplatesCreatePolicyRequest.d.ts +0 -6
  156. package/dist/cjs/api/types/GuidedTemplatesCreatePolicyRequest.js +0 -3
  157. package/dist/cjs/serialization/types/GuidedSectionPolicy.d.ts +0 -16
  158. package/dist/cjs/serialization/types/GuidedSectionPolicy.js +0 -48
  159. package/dist/cjs/serialization/types/GuidedSectionsCreatePolicyRequest.d.ts +0 -11
  160. package/dist/cjs/serialization/types/GuidedTemplatePolicy.d.ts +0 -16
  161. package/dist/cjs/serialization/types/GuidedTemplatePolicy.js +0 -48
  162. package/dist/cjs/serialization/types/GuidedTemplatePolicyKind.d.ts +0 -7
  163. package/dist/cjs/serialization/types/GuidedTemplatesCreatePolicyRequest.d.ts +0 -11
  164. package/dist/cjs/serialization/types/GuidedTemplatesCreatePolicyRequest.js +0 -43
  165. package/dist/esm/api/types/GuidedSectionPolicy.d.mts +0 -16
  166. package/dist/esm/api/types/GuidedSectionsCreatePolicyRequest.d.mts +0 -6
  167. package/dist/esm/api/types/GuidedSectionsCreatePolicyRequest.mjs +0 -2
  168. package/dist/esm/api/types/GuidedTemplatePolicy.d.mts +0 -16
  169. package/dist/esm/api/types/GuidedTemplatePolicy.mjs +0 -2
  170. package/dist/esm/api/types/GuidedTemplatePolicyKind.d.mts +0 -6
  171. package/dist/esm/api/types/GuidedTemplatePolicyKind.mjs +0 -6
  172. package/dist/esm/api/types/GuidedTemplatesCreatePolicyRequest.d.mts +0 -6
  173. package/dist/esm/api/types/GuidedTemplatesCreatePolicyRequest.mjs +0 -2
  174. package/dist/esm/serialization/types/GuidedSectionPolicy.d.mts +0 -16
  175. package/dist/esm/serialization/types/GuidedSectionPolicy.mjs +0 -12
  176. package/dist/esm/serialization/types/GuidedSectionsCreatePolicyRequest.d.mts +0 -11
  177. package/dist/esm/serialization/types/GuidedSectionsCreatePolicyRequest.mjs +0 -7
  178. package/dist/esm/serialization/types/GuidedTemplatePolicy.d.mts +0 -16
  179. package/dist/esm/serialization/types/GuidedTemplatePolicy.mjs +0 -12
  180. package/dist/esm/serialization/types/GuidedTemplatePolicyKind.d.mts +0 -7
  181. package/dist/esm/serialization/types/GuidedTemplatesCreatePolicyRequest.d.mts +0 -11
  182. package/dist/esm/serialization/types/GuidedTemplatesCreatePolicyRequest.mjs +0 -7
  183. /package/dist/cjs/api/types/{GuidedSectionPolicy.js → TranscribeConfigReplacementsItem.js} +0 -0
  184. /package/dist/esm/api/types/{GuidedSectionPolicy.mjs → TranscribeConfigReplacementsItem.mjs} +0 -0
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.applyDictationTranscript = applyDictationTranscript;
4
+ const NO_SPACE_AFTER = new Set(["(", "[", "{", '"', "'", "\u2018", "\u201c"]);
5
+ const LEFT_ATTACH = new Set([",", ".", ":", ";", "!", "?", ")", "]", "}", "%"]);
6
+ /**
7
+ * Returns the segment text prefixed with at most one space, applying
8
+ * punctuation-aware boundary rules so callers never produce double-spaces
9
+ * or spaces before attachment characters.
10
+ */
11
+ function buildInsertion(committed, segment) {
12
+ var _a;
13
+ if (!segment)
14
+ return segment;
15
+ const prevChar = committed.length > 0 ? committed[committed.length - 1] : "";
16
+ const nextChar = (_a = segment[0]) !== null && _a !== void 0 ? _a : "";
17
+ const needsSpace = committed.length > 0 && !/\s/.test(prevChar) && !NO_SPACE_AFTER.has(prevChar) && !LEFT_ATTACH.has(nextChar);
18
+ return needsSpace ? ` ${segment}` : segment;
19
+ }
20
+ /**
21
+ * Pure function that applies a single transcript message to the previous
22
+ * snapshot and returns a new snapshot with updated committed/interim text.
23
+ *
24
+ * - Handles the two-layer committed + interim model (DXG-844).
25
+ * - Ignores late interims that overlap an already-finalized timeline (DXG-1093).
26
+ *
27
+ * @param previous - The last snapshot, or `undefined` on first call.
28
+ * @param message - The incoming transcript packet (subset of TranscribeTranscriptData).
29
+ */
30
+ function applyDictationTranscript(previous, message) {
31
+ var _a, _b, _c;
32
+ const committedText = (_a = previous === null || previous === void 0 ? void 0 : previous.committedText) !== null && _a !== void 0 ? _a : "";
33
+ const finalizedStarts = (_b = previous === null || previous === void 0 ? void 0 : previous._finalizedStarts) !== null && _b !== void 0 ? _b : new Set();
34
+ const latestFinalEnd = (_c = previous === null || previous === void 0 ? void 0 : previous._latestFinalEnd) !== null && _c !== void 0 ? _c : -Infinity;
35
+ if (message.isFinal) {
36
+ if (finalizedStarts.has(message.start)) {
37
+ return {
38
+ committedText,
39
+ interimText: "",
40
+ _finalizedStarts: finalizedStarts,
41
+ _latestFinalEnd: latestFinalEnd,
42
+ };
43
+ }
44
+ const nextFinalizedStarts = new Set(finalizedStarts);
45
+ nextFinalizedStarts.add(message.start);
46
+ const newCommitted = committedText + buildInsertion(committedText, message.text);
47
+ return {
48
+ committedText: newCommitted,
49
+ interimText: "",
50
+ _finalizedStarts: nextFinalizedStarts,
51
+ _latestFinalEnd: Math.max(latestFinalEnd, message.end),
52
+ };
53
+ }
54
+ // Interim path.
55
+ if (finalizedStarts.has(message.start)) {
56
+ return (previous !== null && previous !== void 0 ? previous : {
57
+ committedText: "",
58
+ interimText: "",
59
+ _finalizedStarts: finalizedStarts,
60
+ _latestFinalEnd: latestFinalEnd,
61
+ });
62
+ }
63
+ if (message.start < latestFinalEnd) {
64
+ return (previous !== null && previous !== void 0 ? previous : {
65
+ committedText: "",
66
+ interimText: "",
67
+ _finalizedStarts: finalizedStarts,
68
+ _latestFinalEnd: latestFinalEnd,
69
+ });
70
+ }
71
+ return {
72
+ committedText,
73
+ interimText: buildInsertion(committedText, message.text),
74
+ _finalizedStarts: finalizedStarts,
75
+ _latestFinalEnd: latestFinalEnd,
76
+ };
77
+ }
@@ -1,3 +1,4 @@
1
1
  export { type DecodedToken, decodeToken } from "./decodeToken.js";
2
+ export { applyDictationTranscript, type DictationTranscriptSnapshot, } from "./dictationTranscript.js";
2
3
  export { getEnvironment } from "./environment.js";
3
4
  export { generateCodeChallenge, generateCodeVerifier } from "./pkceHelpers.js";
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateCodeVerifier = exports.generateCodeChallenge = exports.getEnvironment = exports.decodeToken = void 0;
3
+ exports.generateCodeVerifier = exports.generateCodeChallenge = exports.getEnvironment = exports.applyDictationTranscript = exports.decodeToken = void 0;
4
4
  var decodeToken_js_1 = require("./decodeToken.js");
5
5
  Object.defineProperty(exports, "decodeToken", { enumerable: true, get: function () { return decodeToken_js_1.decodeToken; } });
6
+ var dictationTranscript_js_1 = require("./dictationTranscript.js");
7
+ Object.defineProperty(exports, "applyDictationTranscript", { enumerable: true, get: function () { return dictationTranscript_js_1.applyDictationTranscript; } });
6
8
  var environment_js_1 = require("./environment.js");
7
9
  Object.defineProperty(exports, "getEnvironment", { enumerable: true, get: function () { return environment_js_1.getEnvironment; } });
8
10
  var pkceHelpers_js_1 = require("./pkceHelpers.js");
@@ -12,5 +12,6 @@ export declare namespace TranscriptsCreateRequest {
12
12
  isMultichannel?: boolean | null;
13
13
  diarize?: boolean | null;
14
14
  participants?: TranscriptsParticipant.Raw[] | null;
15
+ async?: boolean | null;
15
16
  }
16
17
  }
@@ -45,4 +45,5 @@ exports.TranscriptsCreateRequest = core.serialization.object({
45
45
  isMultichannel: core.serialization.boolean().optional(),
46
46
  diarize: core.serialization.boolean().optional(),
47
47
  participants: core.serialization.list(TranscriptsParticipant_js_1.TranscriptsParticipant).optional(),
48
+ async: core.serialization.boolean().optional(),
48
49
  });
@@ -2,11 +2,13 @@ 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 { GuidedDocumentContext } from "./GuidedDocumentContext.js";
5
+ import { GuidedLabel } from "./GuidedLabel.js";
5
6
  export declare const GuidedDocumentsGenerateBase: core.serialization.ObjectSchema<serializers.GuidedDocumentsGenerateBase.Raw, Corti.GuidedDocumentsGenerateBase>;
6
7
  export declare namespace GuidedDocumentsGenerateBase {
7
8
  interface Raw {
8
9
  outputLanguage: string;
9
10
  context?: GuidedDocumentContext.Raw[] | null;
10
11
  interactionId?: string | null;
12
+ labels?: GuidedLabel.Raw[] | null;
11
13
  }
12
14
  }
@@ -37,8 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GuidedDocumentsGenerateBase = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const GuidedDocumentContext_js_1 = require("./GuidedDocumentContext.js");
40
+ const GuidedLabel_js_1 = require("./GuidedLabel.js");
40
41
  exports.GuidedDocumentsGenerateBase = core.serialization.object({
41
42
  outputLanguage: core.serialization.string(),
42
43
  context: core.serialization.list(GuidedDocumentContext_js_1.GuidedDocumentContext).optional(),
43
44
  interactionId: core.serialization.string().optional(),
45
+ labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel).optional(),
44
46
  });
@@ -1,6 +1,7 @@
1
1
  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
+ import { GuidedLabel } from "./GuidedLabel.js";
4
5
  export declare const GuidedEphemeralDocument: core.serialization.ObjectSchema<serializers.GuidedEphemeralDocument.Raw, Corti.GuidedEphemeralDocument>;
5
6
  export declare namespace GuidedEphemeralDocument {
6
7
  interface Raw {
@@ -8,7 +9,9 @@ export declare namespace GuidedEphemeralDocument {
8
9
  templateId: string;
9
10
  templateVersionId: string;
10
11
  language: string;
12
+ interactionId?: (string | null | undefined) | null;
11
13
  stringDocument: Record<string, string>;
12
14
  structuredDocument?: (Record<string, unknown> | null | undefined) | null;
15
+ labels: GuidedLabel.Raw[];
13
16
  }
14
17
  }
@@ -36,13 +36,16 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GuidedEphemeralDocument = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
+ const GuidedLabel_js_1 = require("./GuidedLabel.js");
39
40
  exports.GuidedEphemeralDocument = core.serialization.object({
40
41
  name: core.serialization.string(),
41
42
  templateId: core.serialization.string(),
42
43
  templateVersionId: core.serialization.string(),
43
44
  language: core.serialization.string(),
45
+ interactionId: core.serialization.string().optionalNullable(),
44
46
  stringDocument: core.serialization.record(core.serialization.string(), core.serialization.string()),
45
47
  structuredDocument: core.serialization
46
48
  .record(core.serialization.string(), core.serialization.unknown())
47
49
  .optionalNullable(),
50
+ labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel),
48
51
  });
@@ -7,5 +7,6 @@ export declare namespace GuidedFieldDefinition {
7
7
  key: string;
8
8
  description: string;
9
9
  value: serializers.GuidedOutputSchema.Raw;
10
+ default?: (string | null | undefined) | null;
10
11
  }
11
12
  }
@@ -41,4 +41,5 @@ exports.GuidedFieldDefinition = core.serialization.object({
41
41
  key: core.serialization.string(),
42
42
  description: core.serialization.string(),
43
43
  value: core.serialization.lazy(() => serializers.GuidedOutputSchema),
44
+ default: core.serialization.string().optionalNullable(),
44
45
  });
@@ -2,7 +2,6 @@ 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 { GuidedLabel } from "./GuidedLabel.js";
5
- import { GuidedSectionPolicy } from "./GuidedSectionPolicy.js";
6
5
  import { GuidedSectionSource } from "./GuidedSectionSource.js";
7
6
  import { GuidedSectionVersion } from "./GuidedSectionVersion.js";
8
7
  export declare const GuidedSection: core.serialization.ObjectSchema<serializers.GuidedSection.Raw, Corti.GuidedSection>;
@@ -22,6 +21,5 @@ export declare namespace GuidedSection {
22
21
  createdAt: string;
23
22
  updatedAt: string;
24
23
  deletedAt?: (string | null | undefined) | null;
25
- policies?: GuidedSectionPolicy.Raw[] | null;
26
24
  }
27
25
  }
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GuidedSection = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const GuidedLabel_js_1 = require("./GuidedLabel.js");
40
- const GuidedSectionPolicy_js_1 = require("./GuidedSectionPolicy.js");
41
40
  const GuidedSectionSource_js_1 = require("./GuidedSectionSource.js");
42
41
  const GuidedSectionVersion_js_1 = require("./GuidedSectionVersion.js");
43
42
  exports.GuidedSection = core.serialization.object({
@@ -55,5 +54,4 @@ exports.GuidedSection = core.serialization.object({
55
54
  createdAt: core.serialization.date(),
56
55
  updatedAt: core.serialization.date(),
57
56
  deletedAt: core.serialization.date().optionalNullable(),
58
- policies: core.serialization.list(GuidedSectionPolicy_js_1.GuidedSectionPolicy).optional(),
59
57
  });
@@ -2,7 +2,6 @@ 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 { GuidedLabel } from "./GuidedLabel.js";
5
- import { GuidedSectionsCreatePolicyRequest } from "./GuidedSectionsCreatePolicyRequest.js";
6
5
  export declare const GuidedSectionsCreateBase: core.serialization.ObjectSchema<serializers.GuidedSectionsCreateBase.Raw, Corti.GuidedSectionsCreateBase>;
7
6
  export declare namespace GuidedSectionsCreateBase {
8
7
  interface Raw {
@@ -13,6 +12,5 @@ export declare namespace GuidedSectionsCreateBase {
13
12
  specialties?: string[] | null;
14
13
  labels?: GuidedLabel.Raw[] | null;
15
14
  publish?: boolean | null;
16
- policies?: GuidedSectionsCreatePolicyRequest.Raw[] | null;
17
15
  }
18
16
  }
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GuidedSectionsCreateBase = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const GuidedLabel_js_1 = require("./GuidedLabel.js");
40
- const GuidedSectionsCreatePolicyRequest_js_1 = require("./GuidedSectionsCreatePolicyRequest.js");
41
40
  exports.GuidedSectionsCreateBase = core.serialization.object({
42
41
  name: core.serialization.string(),
43
42
  description: core.serialization.string().optional(),
@@ -46,5 +45,4 @@ exports.GuidedSectionsCreateBase = core.serialization.object({
46
45
  specialties: core.serialization.list(core.serialization.string()).optional(),
47
46
  labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel).optional(),
48
47
  publish: core.serialization.boolean().optional(),
49
- policies: core.serialization.list(GuidedSectionsCreatePolicyRequest_js_1.GuidedSectionsCreatePolicyRequest).optional(),
50
48
  });
@@ -2,7 +2,6 @@ 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 { GuidedLabel } from "./GuidedLabel.js";
5
- import { GuidedTemplatePolicy } from "./GuidedTemplatePolicy.js";
6
5
  import { GuidedTemplateSource } from "./GuidedTemplateSource.js";
7
6
  import { GuidedTemplateVersion } from "./GuidedTemplateVersion.js";
8
7
  export declare const GuidedTemplate: core.serialization.ObjectSchema<serializers.GuidedTemplate.Raw, Corti.GuidedTemplate>;
@@ -18,7 +17,6 @@ export declare namespace GuidedTemplate {
18
17
  regions: string[];
19
18
  specialties: string[];
20
19
  labels: GuidedLabel.Raw[];
21
- policies?: GuidedTemplatePolicy.Raw[] | null;
22
20
  publishedVersion?: GuidedTemplateVersion.Raw | null;
23
21
  createdAt: string;
24
22
  updatedAt: string;
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GuidedTemplate = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const GuidedLabel_js_1 = require("./GuidedLabel.js");
40
- const GuidedTemplatePolicy_js_1 = require("./GuidedTemplatePolicy.js");
41
40
  const GuidedTemplateSource_js_1 = require("./GuidedTemplateSource.js");
42
41
  const GuidedTemplateVersion_js_1 = require("./GuidedTemplateVersion.js");
43
42
  exports.GuidedTemplate = core.serialization.object({
@@ -51,7 +50,6 @@ exports.GuidedTemplate = core.serialization.object({
51
50
  regions: core.serialization.list(core.serialization.string()),
52
51
  specialties: core.serialization.list(core.serialization.string()),
53
52
  labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel),
54
- policies: core.serialization.list(GuidedTemplatePolicy_js_1.GuidedTemplatePolicy).optional(),
55
53
  publishedVersion: GuidedTemplateVersion_js_1.GuidedTemplateVersion.optional(),
56
54
  createdAt: core.serialization.date(),
57
55
  updatedAt: core.serialization.date(),
@@ -2,7 +2,6 @@ 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 { GuidedLabel } from "./GuidedLabel.js";
5
- import { GuidedTemplatesCreatePolicyRequest } from "./GuidedTemplatesCreatePolicyRequest.js";
6
5
  export declare const GuidedTemplatesCreateBase: core.serialization.ObjectSchema<serializers.GuidedTemplatesCreateBase.Raw, Corti.GuidedTemplatesCreateBase>;
7
6
  export declare namespace GuidedTemplatesCreateBase {
8
7
  interface Raw {
@@ -13,6 +12,5 @@ export declare namespace GuidedTemplatesCreateBase {
13
12
  specialties?: string[] | null;
14
13
  labels?: GuidedLabel.Raw[] | null;
15
14
  publish?: boolean | null;
16
- policies?: GuidedTemplatesCreatePolicyRequest.Raw[] | null;
17
15
  }
18
16
  }
@@ -37,7 +37,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.GuidedTemplatesCreateBase = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const GuidedLabel_js_1 = require("./GuidedLabel.js");
40
- const GuidedTemplatesCreatePolicyRequest_js_1 = require("./GuidedTemplatesCreatePolicyRequest.js");
41
40
  exports.GuidedTemplatesCreateBase = core.serialization.object({
42
41
  name: core.serialization.string(),
43
42
  description: core.serialization.string().optional(),
@@ -46,5 +45,4 @@ exports.GuidedTemplatesCreateBase = core.serialization.object({
46
45
  specialties: core.serialization.list(core.serialization.string()).optional(),
47
46
  labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel).optional(),
48
47
  publish: core.serialization.boolean().optional(),
49
- policies: core.serialization.list(GuidedTemplatesCreatePolicyRequest_js_1.GuidedTemplatesCreatePolicyRequest).optional(),
50
48
  });
@@ -4,10 +4,11 @@ import type * as serializers from "../index.js";
4
4
  export declare const StreamErrorDetail: core.serialization.ObjectSchema<serializers.StreamErrorDetail.Raw, Corti.StreamErrorDetail>;
5
5
  export declare namespace StreamErrorDetail {
6
6
  interface Raw {
7
- id: string;
8
- title: string;
9
- status: number;
10
- details: string;
11
- doc: string;
7
+ requestid?: string | null;
8
+ id?: string | null;
9
+ title?: string | null;
10
+ status?: number | null;
11
+ details?: string | null;
12
+ doc?: string | null;
12
13
  }
13
14
  }
@@ -37,9 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.StreamErrorDetail = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  exports.StreamErrorDetail = core.serialization.object({
40
- id: core.serialization.string(),
41
- title: core.serialization.string(),
42
- status: core.serialization.number(),
43
- details: core.serialization.string(),
44
- doc: core.serialization.string(),
40
+ requestid: core.serialization.string().optional(),
41
+ id: core.serialization.string().optional(),
42
+ title: core.serialization.string().optional(),
43
+ status: core.serialization.number().optional(),
44
+ details: core.serialization.string().optional(),
45
+ doc: core.serialization.string().optional(),
45
46
  });
@@ -4,6 +4,6 @@ import type * as serializers from "../index.js";
4
4
  export declare const TranscribeAudioEventsConfig: core.serialization.ObjectSchema<serializers.TranscribeAudioEventsConfig.Raw, Corti.TranscribeAudioEventsConfig>;
5
5
  export declare namespace TranscribeAudioEventsConfig {
6
6
  interface Raw {
7
- enabled?: boolean | null;
7
+ enabled: boolean;
8
8
  }
9
9
  }
@@ -37,5 +37,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.TranscribeAudioEventsConfig = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  exports.TranscribeAudioEventsConfig = core.serialization.object({
40
- enabled: core.serialization.boolean().optional(),
40
+ enabled: core.serialization.boolean(),
41
41
  });
@@ -1,11 +1,12 @@
1
1
  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
+ import { TranscribeCommandVariableType } from "./TranscribeCommandVariableType.js";
4
5
  export declare const TranscribeCommandVariable: core.serialization.ObjectSchema<serializers.TranscribeCommandVariable.Raw, Corti.TranscribeCommandVariable>;
5
6
  export declare namespace TranscribeCommandVariable {
6
7
  interface Raw {
7
8
  key: string;
8
- type: "enum";
9
- enum: string[];
9
+ type: TranscribeCommandVariableType.Raw;
10
+ enum?: string[] | null;
10
11
  }
11
12
  }
@@ -36,8 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.TranscribeCommandVariable = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
+ const TranscribeCommandVariableType_js_1 = require("./TranscribeCommandVariableType.js");
39
40
  exports.TranscribeCommandVariable = core.serialization.object({
40
41
  key: core.serialization.string(),
41
- type: core.serialization.stringLiteral("enum"),
42
- enum: core.serialization.list(core.serialization.string()),
42
+ type: TranscribeCommandVariableType_js_1.TranscribeCommandVariableType,
43
+ enum: core.serialization.list(core.serialization.string()).optional(),
43
44
  });
@@ -0,0 +1,7 @@
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 TranscribeCommandVariableType: core.serialization.Schema<serializers.TranscribeCommandVariableType.Raw, Corti.TranscribeCommandVariableType>;
5
+ export declare namespace TranscribeCommandVariableType {
6
+ type Raw = "enum" | "wildcard";
7
+ }
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.GuidedTemplatePolicyKind = void 0;
37
+ exports.TranscribeCommandVariableType = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- exports.GuidedTemplatePolicyKind = core.serialization.enum_(["project", "customers"]);
39
+ exports.TranscribeCommandVariableType = core.serialization.enum_(["enum", "wildcard"]);
@@ -3,6 +3,7 @@ import * as core from "../../core/index.js";
3
3
  import type * as serializers from "../index.js";
4
4
  import { TranscribeAudioEventsConfig } from "./TranscribeAudioEventsConfig.js";
5
5
  import { TranscribeCommand } from "./TranscribeCommand.js";
6
+ import { TranscribeConfigReplacementsItem } from "./TranscribeConfigReplacementsItem.js";
6
7
  import { TranscribeFormatting } from "./TranscribeFormatting.js";
7
8
  import { TranscribeSupportedLanguage } from "./TranscribeSupportedLanguage.js";
8
9
  export declare const TranscribeConfig: core.serialization.ObjectSchema<serializers.TranscribeConfig.Raw, Corti.TranscribeConfig>;
@@ -16,5 +17,6 @@ export declare namespace TranscribeConfig {
16
17
  formatting?: TranscribeFormatting.Raw | null;
17
18
  audioEvents?: TranscribeAudioEventsConfig.Raw | null;
18
19
  audioFormat?: string | null;
20
+ replacements?: TranscribeConfigReplacementsItem.Raw[] | null;
19
21
  }
20
22
  }
@@ -38,6 +38,7 @@ exports.TranscribeConfig = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  const TranscribeAudioEventsConfig_js_1 = require("./TranscribeAudioEventsConfig.js");
40
40
  const TranscribeCommand_js_1 = require("./TranscribeCommand.js");
41
+ const TranscribeConfigReplacementsItem_js_1 = require("./TranscribeConfigReplacementsItem.js");
41
42
  const TranscribeFormatting_js_1 = require("./TranscribeFormatting.js");
42
43
  const TranscribeSupportedLanguage_js_1 = require("./TranscribeSupportedLanguage.js");
43
44
  exports.TranscribeConfig = core.serialization.object({
@@ -49,4 +50,5 @@ exports.TranscribeConfig = core.serialization.object({
49
50
  formatting: TranscribeFormatting_js_1.TranscribeFormatting.optional(),
50
51
  audioEvents: TranscribeAudioEventsConfig_js_1.TranscribeAudioEventsConfig.optional(),
51
52
  audioFormat: core.serialization.string().optional(),
53
+ replacements: core.serialization.list(TranscribeConfigReplacementsItem_js_1.TranscribeConfigReplacementsItem).optional(),
52
54
  });
@@ -0,0 +1,10 @@
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 TranscribeConfigReplacementsItem: core.serialization.ObjectSchema<serializers.TranscribeConfigReplacementsItem.Raw, Corti.TranscribeConfigReplacementsItem>;
5
+ export declare namespace TranscribeConfigReplacementsItem {
6
+ interface Raw {
7
+ find: string;
8
+ replace: string;
9
+ }
10
+ }
@@ -34,10 +34,9 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.GuidedSectionsCreatePolicyRequest = void 0;
37
+ exports.TranscribeConfigReplacementsItem = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
- const GuidedTemplatePolicyKind_js_1 = require("./GuidedTemplatePolicyKind.js");
40
- exports.GuidedSectionsCreatePolicyRequest = core.serialization.object({
41
- kind: GuidedTemplatePolicyKind_js_1.GuidedTemplatePolicyKind,
42
- customerIds: core.serialization.list(core.serialization.string()).optionalNullable(),
39
+ exports.TranscribeConfigReplacementsItem = core.serialization.object({
40
+ find: core.serialization.string(),
41
+ replace: core.serialization.string(),
43
42
  });
@@ -4,10 +4,11 @@ import type * as serializers from "../index.js";
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
- id: string;
8
- title: string;
9
- status: number;
10
- details: string;
11
- doc: string;
7
+ requestid?: string | null;
8
+ id?: string | null;
9
+ title?: string | null;
10
+ status?: number | null;
11
+ details?: string | null;
12
+ doc?: string | null;
12
13
  }
13
14
  }
@@ -37,9 +37,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
37
37
  exports.TranscribeErrorMessageError = void 0;
38
38
  const core = __importStar(require("../../core/index.js"));
39
39
  exports.TranscribeErrorMessageError = core.serialization.object({
40
- id: core.serialization.string(),
41
- title: core.serialization.string(),
42
- status: core.serialization.number(),
43
- details: core.serialization.string(),
44
- doc: core.serialization.string(),
40
+ requestid: core.serialization.string().optional(),
41
+ id: core.serialization.string().optional(),
42
+ title: core.serialization.string().optional(),
43
+ status: core.serialization.number().optional(),
44
+ details: core.serialization.string().optional(),
45
+ doc: core.serialization.string().optional(),
45
46
  });
@@ -143,12 +143,10 @@ export * from "./GuidedSectionInstructionsOverride.js";
143
143
  export * from "./GuidedSectionInstructionsPartial.js";
144
144
  export * from "./GuidedSectionOverride.js";
145
145
  export * from "./GuidedSectionOverrides.js";
146
- export * from "./GuidedSectionPolicy.js";
147
146
  export * from "./GuidedSectionSource.js";
148
147
  export * from "./GuidedSectionsCreateBase.js";
149
148
  export * from "./GuidedSectionsCreateFromInheritanceRequest.js";
150
149
  export * from "./GuidedSectionsCreateFromScratchRequest.js";
151
- export * from "./GuidedSectionsCreatePolicyRequest.js";
152
150
  export * from "./GuidedSectionsCreateRequest.js";
153
151
  export * from "./GuidedSectionVersion.js";
154
152
  export * from "./GuidedShallowTemplateGeneration.js";
@@ -160,8 +158,6 @@ export * from "./GuidedTemplateGeneration.js";
160
158
  export * from "./GuidedTemplateInstructions.js";
161
159
  export * from "./GuidedTemplateInstructionsPartial.js";
162
160
  export * from "./GuidedTemplateOverrides.js";
163
- export * from "./GuidedTemplatePolicy.js";
164
- export * from "./GuidedTemplatePolicyKind.js";
165
161
  export * from "./GuidedTemplateRef.js";
166
162
  export * from "./GuidedTemplateSource.js";
167
163
  export * from "./GuidedTemplatesCreateBase.js";
@@ -169,7 +165,6 @@ export * from "./GuidedTemplatesCreateFromInheritanceRequest.js";
169
165
  export * from "./GuidedTemplatesCreateFromInheritanceRequestGeneration.js";
170
166
  export * from "./GuidedTemplatesCreateFromScratchRequest.js";
171
167
  export * from "./GuidedTemplatesCreateFromScratchRequestGeneration.js";
172
- export * from "./GuidedTemplatesCreatePolicyRequest.js";
173
168
  export * from "./GuidedTemplatesCreateRequest.js";
174
169
  export * from "./GuidedTemplatesVersionGeneration.js";
175
170
  export * from "./GuidedTemplatesVersionSectionRequest.js";
@@ -238,8 +233,10 @@ export * from "./TranscribeCommand.js";
238
233
  export * from "./TranscribeCommandData.js";
239
234
  export * from "./TranscribeCommandMessage.js";
240
235
  export * from "./TranscribeCommandVariable.js";
236
+ export * from "./TranscribeCommandVariableType.js";
241
237
  export * from "./TranscribeConfig.js";
242
238
  export * from "./TranscribeConfigMessage.js";
239
+ export * from "./TranscribeConfigReplacementsItem.js";
243
240
  export * from "./TranscribeConfigStatusMessage.js";
244
241
  export * from "./TranscribeConfigStatusMessageType.js";
245
242
  export * from "./TranscribeDeltaUsageMessage.js";
@@ -159,12 +159,10 @@ __exportStar(require("./GuidedSectionInstructionsOverride.js"), exports);
159
159
  __exportStar(require("./GuidedSectionInstructionsPartial.js"), exports);
160
160
  __exportStar(require("./GuidedSectionOverride.js"), exports);
161
161
  __exportStar(require("./GuidedSectionOverrides.js"), exports);
162
- __exportStar(require("./GuidedSectionPolicy.js"), exports);
163
162
  __exportStar(require("./GuidedSectionSource.js"), exports);
164
163
  __exportStar(require("./GuidedSectionsCreateBase.js"), exports);
165
164
  __exportStar(require("./GuidedSectionsCreateFromInheritanceRequest.js"), exports);
166
165
  __exportStar(require("./GuidedSectionsCreateFromScratchRequest.js"), exports);
167
- __exportStar(require("./GuidedSectionsCreatePolicyRequest.js"), exports);
168
166
  __exportStar(require("./GuidedSectionsCreateRequest.js"), exports);
169
167
  __exportStar(require("./GuidedSectionVersion.js"), exports);
170
168
  __exportStar(require("./GuidedShallowTemplateGeneration.js"), exports);
@@ -176,8 +174,6 @@ __exportStar(require("./GuidedTemplateGeneration.js"), exports);
176
174
  __exportStar(require("./GuidedTemplateInstructions.js"), exports);
177
175
  __exportStar(require("./GuidedTemplateInstructionsPartial.js"), exports);
178
176
  __exportStar(require("./GuidedTemplateOverrides.js"), exports);
179
- __exportStar(require("./GuidedTemplatePolicy.js"), exports);
180
- __exportStar(require("./GuidedTemplatePolicyKind.js"), exports);
181
177
  __exportStar(require("./GuidedTemplateRef.js"), exports);
182
178
  __exportStar(require("./GuidedTemplateSource.js"), exports);
183
179
  __exportStar(require("./GuidedTemplatesCreateBase.js"), exports);
@@ -185,7 +181,6 @@ __exportStar(require("./GuidedTemplatesCreateFromInheritanceRequest.js"), export
185
181
  __exportStar(require("./GuidedTemplatesCreateFromInheritanceRequestGeneration.js"), exports);
186
182
  __exportStar(require("./GuidedTemplatesCreateFromScratchRequest.js"), exports);
187
183
  __exportStar(require("./GuidedTemplatesCreateFromScratchRequestGeneration.js"), exports);
188
- __exportStar(require("./GuidedTemplatesCreatePolicyRequest.js"), exports);
189
184
  __exportStar(require("./GuidedTemplatesCreateRequest.js"), exports);
190
185
  __exportStar(require("./GuidedTemplatesVersionGeneration.js"), exports);
191
186
  __exportStar(require("./GuidedTemplatesVersionSectionRequest.js"), exports);
@@ -254,8 +249,10 @@ __exportStar(require("./TranscribeCommand.js"), exports);
254
249
  __exportStar(require("./TranscribeCommandData.js"), exports);
255
250
  __exportStar(require("./TranscribeCommandMessage.js"), exports);
256
251
  __exportStar(require("./TranscribeCommandVariable.js"), exports);
252
+ __exportStar(require("./TranscribeCommandVariableType.js"), exports);
257
253
  __exportStar(require("./TranscribeConfig.js"), exports);
258
254
  __exportStar(require("./TranscribeConfigMessage.js"), exports);
255
+ __exportStar(require("./TranscribeConfigReplacementsItem.js"), exports);
259
256
  __exportStar(require("./TranscribeConfigStatusMessage.js"), exports);
260
257
  __exportStar(require("./TranscribeConfigStatusMessageType.js"), exports);
261
258
  __exportStar(require("./TranscribeDeltaUsageMessage.js"), exports);
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.1.0-rc";
1
+ export declare const SDK_VERSION = "3.1.0-rc.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.1.0-rc";
4
+ exports.SDK_VERSION = "3.1.0-rc.1";
@@ -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": "3.1.0-rc",
10
- "User-Agent": "@corti/sdk/3.1.0-rc",
9
+ "X-Fern-SDK-Version": "3.1.0-rc.1",
10
+ "User-Agent": "@corti/sdk/3.1.0-rc.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,