@corti/sdk 3.0.0-template-policies → 3.1.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 (163) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/api/resources/documents/resources/sections/client/Client.d.ts +0 -3
  3. package/dist/cjs/api/resources/documents/resources/sections/client/Client.js +2 -7
  4. package/dist/cjs/api/resources/documents/resources/sections/resources/index.d.ts +0 -1
  5. package/dist/cjs/api/resources/documents/resources/sections/resources/index.js +4 -5
  6. package/dist/cjs/api/resources/documents/resources/templates/client/Client.d.ts +0 -3
  7. package/dist/cjs/api/resources/documents/resources/templates/client/Client.js +2 -7
  8. package/dist/cjs/api/resources/documents/resources/templates/resources/index.d.ts +0 -1
  9. package/dist/cjs/api/resources/documents/resources/templates/resources/index.js +4 -5
  10. package/dist/cjs/api/resources/transcripts/client/Client.d.ts +1 -1
  11. package/dist/cjs/api/resources/transcripts/client/Client.js +1 -1
  12. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -3
  13. package/dist/cjs/api/types/GuidedArrayNode.d.ts +2 -3
  14. package/dist/cjs/api/types/GuidedBoolNode.d.ts +2 -2
  15. package/dist/cjs/api/types/GuidedDocumentsGenerateBase.d.ts +0 -2
  16. package/dist/cjs/api/types/GuidedEphemeralDocument.d.ts +0 -5
  17. package/dist/cjs/api/types/GuidedFieldDefinition.d.ts +1 -4
  18. package/dist/cjs/api/types/GuidedNumberNode.d.ts +3 -3
  19. package/dist/cjs/api/types/GuidedObjectNode.d.ts +3 -3
  20. package/dist/cjs/api/types/GuidedStringNode.d.ts +4 -4
  21. package/dist/cjs/api/types/TranscribeAudioEventsConfig.d.ts +1 -1
  22. package/dist/cjs/api/types/TranscribeCommand.d.ts +3 -3
  23. package/dist/cjs/api/types/TranscribeCommandVariable.d.ts +2 -2
  24. package/dist/cjs/api/types/TranscribeConfig.d.ts +3 -5
  25. package/dist/cjs/api/types/TranscribeSupportedLanguage.d.ts +1 -1
  26. package/dist/cjs/api/types/index.d.ts +0 -1
  27. package/dist/cjs/api/types/index.js +0 -1
  28. package/dist/cjs/custom/CortiClient.d.ts +14 -0
  29. package/dist/cjs/custom/CortiClient.js +21 -0
  30. package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.d.ts +0 -1
  31. package/dist/cjs/serialization/resources/documents/resources/sections/resources/index.js +4 -5
  32. package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.d.ts +0 -1
  33. package/dist/cjs/serialization/resources/documents/resources/templates/resources/index.js +4 -5
  34. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +0 -1
  35. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +0 -1
  36. package/dist/cjs/serialization/types/GuidedDocumentsGenerateBase.d.ts +0 -2
  37. package/dist/cjs/serialization/types/GuidedDocumentsGenerateBase.js +0 -2
  38. package/dist/cjs/serialization/types/GuidedEphemeralDocument.d.ts +0 -3
  39. package/dist/cjs/serialization/types/GuidedEphemeralDocument.js +0 -3
  40. package/dist/cjs/serialization/types/GuidedFieldDefinition.d.ts +0 -1
  41. package/dist/cjs/serialization/types/GuidedFieldDefinition.js +0 -1
  42. package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.d.ts +1 -1
  43. package/dist/cjs/serialization/types/TranscribeAudioEventsConfig.js +1 -1
  44. package/dist/cjs/serialization/types/TranscribeConfig.d.ts +0 -2
  45. package/dist/cjs/serialization/types/TranscribeConfig.js +0 -2
  46. package/dist/cjs/serialization/types/index.d.ts +0 -1
  47. package/dist/cjs/serialization/types/index.js +0 -1
  48. package/dist/cjs/version.d.ts +1 -1
  49. package/dist/cjs/version.js +1 -1
  50. package/dist/esm/BaseClient.mjs +2 -2
  51. package/dist/esm/api/resources/documents/resources/sections/client/Client.d.mts +0 -3
  52. package/dist/esm/api/resources/documents/resources/sections/client/Client.mjs +0 -5
  53. package/dist/esm/api/resources/documents/resources/sections/resources/index.d.mts +0 -1
  54. package/dist/esm/api/resources/documents/resources/sections/resources/index.mjs +0 -1
  55. package/dist/esm/api/resources/documents/resources/templates/client/Client.d.mts +0 -3
  56. package/dist/esm/api/resources/documents/resources/templates/client/Client.mjs +0 -5
  57. package/dist/esm/api/resources/documents/resources/templates/resources/index.d.mts +0 -1
  58. package/dist/esm/api/resources/documents/resources/templates/resources/index.mjs +0 -1
  59. package/dist/esm/api/resources/transcripts/client/Client.d.mts +1 -1
  60. package/dist/esm/api/resources/transcripts/client/Client.mjs +1 -1
  61. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -3
  62. package/dist/esm/api/types/GuidedArrayNode.d.mts +2 -3
  63. package/dist/esm/api/types/GuidedBoolNode.d.mts +2 -2
  64. package/dist/esm/api/types/GuidedDocumentsGenerateBase.d.mts +0 -2
  65. package/dist/esm/api/types/GuidedEphemeralDocument.d.mts +0 -5
  66. package/dist/esm/api/types/GuidedFieldDefinition.d.mts +1 -4
  67. package/dist/esm/api/types/GuidedNumberNode.d.mts +3 -3
  68. package/dist/esm/api/types/GuidedObjectNode.d.mts +3 -3
  69. package/dist/esm/api/types/GuidedStringNode.d.mts +4 -4
  70. package/dist/esm/api/types/TranscribeAudioEventsConfig.d.mts +1 -1
  71. package/dist/esm/api/types/TranscribeCommand.d.mts +3 -3
  72. package/dist/esm/api/types/TranscribeCommandVariable.d.mts +2 -2
  73. package/dist/esm/api/types/TranscribeConfig.d.mts +3 -5
  74. package/dist/esm/api/types/TranscribeSupportedLanguage.d.mts +1 -1
  75. package/dist/esm/api/types/index.d.mts +0 -1
  76. package/dist/esm/api/types/index.mjs +0 -1
  77. package/dist/esm/custom/CortiClient.d.mts +14 -0
  78. package/dist/esm/custom/CortiClient.mjs +21 -0
  79. package/dist/esm/serialization/resources/documents/resources/sections/resources/index.d.mts +0 -1
  80. package/dist/esm/serialization/resources/documents/resources/sections/resources/index.mjs +0 -1
  81. package/dist/esm/serialization/resources/documents/resources/templates/resources/index.d.mts +0 -1
  82. package/dist/esm/serialization/resources/documents/resources/templates/resources/index.mjs +0 -1
  83. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +0 -1
  84. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +0 -1
  85. package/dist/esm/serialization/types/GuidedDocumentsGenerateBase.d.mts +0 -2
  86. package/dist/esm/serialization/types/GuidedDocumentsGenerateBase.mjs +0 -2
  87. package/dist/esm/serialization/types/GuidedEphemeralDocument.d.mts +0 -3
  88. package/dist/esm/serialization/types/GuidedEphemeralDocument.mjs +0 -3
  89. package/dist/esm/serialization/types/GuidedFieldDefinition.d.mts +0 -1
  90. package/dist/esm/serialization/types/GuidedFieldDefinition.mjs +0 -1
  91. package/dist/esm/serialization/types/TranscribeAudioEventsConfig.d.mts +1 -1
  92. package/dist/esm/serialization/types/TranscribeAudioEventsConfig.mjs +1 -1
  93. package/dist/esm/serialization/types/TranscribeConfig.d.mts +0 -2
  94. package/dist/esm/serialization/types/TranscribeConfig.mjs +0 -2
  95. package/dist/esm/serialization/types/index.d.mts +0 -1
  96. package/dist/esm/serialization/types/index.mjs +0 -1
  97. package/dist/esm/version.d.mts +1 -1
  98. package/dist/esm/version.mjs +1 -1
  99. package/package.json +1 -1
  100. package/dist/cjs/api/resources/documents/resources/sections/resources/policies/client/Client.d.ts +0 -45
  101. package/dist/cjs/api/resources/documents/resources/sections/resources/policies/client/Client.js +0 -187
  102. package/dist/cjs/api/resources/documents/resources/sections/resources/policies/client/index.d.ts +0 -1
  103. package/dist/cjs/api/resources/documents/resources/sections/resources/policies/client/index.js +0 -2
  104. package/dist/cjs/api/resources/documents/resources/sections/resources/policies/index.d.ts +0 -1
  105. package/dist/cjs/api/resources/documents/resources/sections/resources/policies/index.js +0 -17
  106. package/dist/cjs/api/resources/documents/resources/templates/resources/policies/client/Client.d.ts +0 -45
  107. package/dist/cjs/api/resources/documents/resources/templates/resources/policies/client/Client.js +0 -187
  108. package/dist/cjs/api/resources/documents/resources/templates/resources/policies/client/index.d.ts +0 -1
  109. package/dist/cjs/api/resources/documents/resources/templates/resources/policies/client/index.js +0 -2
  110. package/dist/cjs/api/resources/documents/resources/templates/resources/policies/index.d.ts +0 -1
  111. package/dist/cjs/api/resources/documents/resources/templates/resources/policies/index.js +0 -17
  112. package/dist/cjs/api/types/TranscribeConfigReplacementsItem.d.ts +0 -6
  113. package/dist/cjs/api/types/TranscribeConfigReplacementsItem.js +0 -3
  114. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/client/create.d.ts +0 -13
  115. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/client/create.js +0 -42
  116. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/client/index.d.ts +0 -2
  117. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/client/index.js +0 -38
  118. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/client/list.d.ts +0 -8
  119. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/client/list.js +0 -40
  120. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/index.d.ts +0 -1
  121. package/dist/cjs/serialization/resources/documents/resources/sections/resources/policies/index.js +0 -17
  122. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/client/create.d.ts +0 -13
  123. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/client/create.js +0 -42
  124. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/client/index.d.ts +0 -2
  125. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/client/index.js +0 -38
  126. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/client/list.d.ts +0 -8
  127. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/client/list.js +0 -40
  128. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/index.d.ts +0 -1
  129. package/dist/cjs/serialization/resources/documents/resources/templates/resources/policies/index.js +0 -17
  130. package/dist/cjs/serialization/types/TranscribeConfigReplacementsItem.d.ts +0 -10
  131. package/dist/cjs/serialization/types/TranscribeConfigReplacementsItem.js +0 -42
  132. package/dist/esm/api/resources/documents/resources/sections/resources/policies/client/Client.d.mts +0 -45
  133. package/dist/esm/api/resources/documents/resources/sections/resources/policies/client/Client.mjs +0 -150
  134. package/dist/esm/api/resources/documents/resources/sections/resources/policies/client/index.d.mts +0 -1
  135. package/dist/esm/api/resources/documents/resources/sections/resources/policies/client/index.mjs +0 -1
  136. package/dist/esm/api/resources/documents/resources/sections/resources/policies/index.d.mts +0 -1
  137. package/dist/esm/api/resources/documents/resources/sections/resources/policies/index.mjs +0 -1
  138. package/dist/esm/api/resources/documents/resources/templates/resources/policies/client/Client.d.mts +0 -45
  139. package/dist/esm/api/resources/documents/resources/templates/resources/policies/client/Client.mjs +0 -150
  140. package/dist/esm/api/resources/documents/resources/templates/resources/policies/client/index.d.mts +0 -1
  141. package/dist/esm/api/resources/documents/resources/templates/resources/policies/client/index.mjs +0 -1
  142. package/dist/esm/api/resources/documents/resources/templates/resources/policies/index.d.mts +0 -1
  143. package/dist/esm/api/resources/documents/resources/templates/resources/policies/index.mjs +0 -1
  144. package/dist/esm/api/types/TranscribeConfigReplacementsItem.d.mts +0 -6
  145. package/dist/esm/api/types/TranscribeConfigReplacementsItem.mjs +0 -2
  146. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/client/create.d.mts +0 -13
  147. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/client/create.mjs +0 -6
  148. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/client/index.d.mts +0 -2
  149. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/client/index.mjs +0 -2
  150. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/client/list.d.mts +0 -8
  151. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/client/list.mjs +0 -4
  152. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/index.d.mts +0 -1
  153. package/dist/esm/serialization/resources/documents/resources/sections/resources/policies/index.mjs +0 -1
  154. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/client/create.d.mts +0 -13
  155. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/client/create.mjs +0 -6
  156. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/client/index.d.mts +0 -2
  157. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/client/index.mjs +0 -2
  158. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/client/list.d.mts +0 -8
  159. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/client/list.mjs +0 -4
  160. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/index.d.mts +0 -1
  161. package/dist/esm/serialization/resources/documents/resources/templates/resources/policies/index.mjs +0 -1
  162. package/dist/esm/serialization/types/TranscribeConfigReplacementsItem.d.mts +0 -10
  163. package/dist/esm/serialization/types/TranscribeConfigReplacementsItem.mjs +0 -6
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
43
43
  const headers = (0, headers_js_1.mergeHeaders)({
44
44
  "X-Fern-Language": "JavaScript",
45
45
  "X-Fern-SDK-Name": "@corti/sdk",
46
- "X-Fern-SDK-Version": "3.0.0-template-policies",
47
- "User-Agent": "@corti/sdk/3.0.0-template-policies",
46
+ "X-Fern-SDK-Version": "3.1.0-rc",
47
+ "User-Agent": "@corti/sdk/3.1.0-rc",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  "Tenant-Name": options === null || options === void 0 ? void 0 : options.tenantName,
@@ -2,7 +2,6 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
3
  import * as core from "../../../../../../core/index.js";
4
4
  import * as Corti from "../../../../../index.js";
5
- import { PoliciesClient } from "../resources/policies/client/Client.js";
6
5
  import { VersionsClient } from "../resources/versions/client/Client.js";
7
6
  export declare namespace SectionsClient {
8
7
  type Options = BaseClientOptions;
@@ -12,10 +11,8 @@ export declare namespace SectionsClient {
12
11
  export declare class SectionsClient {
13
12
  protected readonly _options: NormalizedClientOptionsWithAuth<SectionsClient.Options>;
14
13
  protected _versions: VersionsClient | undefined;
15
- protected _policies: PoliciesClient | undefined;
16
14
  constructor(options: SectionsClient.Options);
17
15
  get versions(): VersionsClient;
18
- get policies(): PoliciesClient;
19
16
  /**
20
17
  * @param {Corti.documents.GuidedSectionsListRequest} request
21
18
  * @param {SectionsClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -51,19 +51,14 @@ const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNo
51
51
  const errors = __importStar(require("../../../../../../errors/index.js"));
52
52
  const serializers = __importStar(require("../../../../../../serialization/index.js"));
53
53
  const Corti = __importStar(require("../../../../../index.js"));
54
- const Client_js_1 = require("../resources/policies/client/Client.js");
55
- const Client_js_2 = require("../resources/versions/client/Client.js");
54
+ const Client_js_1 = require("../resources/versions/client/Client.js");
56
55
  class SectionsClient {
57
56
  constructor(options) {
58
57
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
59
58
  }
60
59
  get versions() {
61
60
  var _a;
62
- return ((_a = this._versions) !== null && _a !== void 0 ? _a : (this._versions = new Client_js_2.VersionsClient(this._options)));
63
- }
64
- get policies() {
65
- var _a;
66
- return ((_a = this._policies) !== null && _a !== void 0 ? _a : (this._policies = new Client_js_1.PoliciesClient(this._options)));
61
+ return ((_a = this._versions) !== null && _a !== void 0 ? _a : (this._versions = new Client_js_1.VersionsClient(this._options)));
67
62
  }
68
63
  /**
69
64
  * @param {Corti.documents.GuidedSectionsListRequest} request
@@ -1,3 +1,2 @@
1
- export * as policies from "./policies/index.js";
2
1
  export * from "./versions/client/requests/index.js";
3
2
  export * as versions from "./versions/index.js";
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
18
21
  var __importStar = (this && this.__importStar) || (function () {
19
22
  var ownKeys = function(o) {
20
23
  ownKeys = Object.getOwnPropertyNames || function (o) {
@@ -32,11 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
32
35
  return result;
33
36
  };
34
37
  })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.versions = exports.policies = void 0;
40
- exports.policies = __importStar(require("./policies/index.js"));
39
+ exports.versions = void 0;
41
40
  __exportStar(require("./versions/client/requests/index.js"), exports);
42
41
  exports.versions = __importStar(require("./versions/index.js"));
@@ -2,7 +2,6 @@ import type { BaseClientOptions, BaseRequestOptions } from "../../../../../../Ba
2
2
  import { type NormalizedClientOptionsWithAuth } from "../../../../../../BaseClient.js";
3
3
  import * as core from "../../../../../../core/index.js";
4
4
  import * as Corti from "../../../../../index.js";
5
- import { PoliciesClient } from "../resources/policies/client/Client.js";
6
5
  import { VersionsClient } from "../resources/versions/client/Client.js";
7
6
  export declare namespace TemplatesClient {
8
7
  type Options = BaseClientOptions;
@@ -12,10 +11,8 @@ export declare namespace TemplatesClient {
12
11
  export declare class TemplatesClient {
13
12
  protected readonly _options: NormalizedClientOptionsWithAuth<TemplatesClient.Options>;
14
13
  protected _versions: VersionsClient | undefined;
15
- protected _policies: PoliciesClient | undefined;
16
14
  constructor(options: TemplatesClient.Options);
17
15
  get versions(): VersionsClient;
18
- get policies(): PoliciesClient;
19
16
  /**
20
17
  * @param {Corti.documents.GuidedTemplatesListRequest} request
21
18
  * @param {TemplatesClient.RequestOptions} requestOptions - Request-specific configuration.
@@ -51,19 +51,14 @@ const handleNonStatusCodeError_js_1 = require("../../../../../../errors/handleNo
51
51
  const errors = __importStar(require("../../../../../../errors/index.js"));
52
52
  const serializers = __importStar(require("../../../../../../serialization/index.js"));
53
53
  const Corti = __importStar(require("../../../../../index.js"));
54
- const Client_js_1 = require("../resources/policies/client/Client.js");
55
- const Client_js_2 = require("../resources/versions/client/Client.js");
54
+ const Client_js_1 = require("../resources/versions/client/Client.js");
56
55
  class TemplatesClient {
57
56
  constructor(options) {
58
57
  this._options = (0, BaseClient_js_1.normalizeClientOptionsWithAuth)(options);
59
58
  }
60
59
  get versions() {
61
60
  var _a;
62
- return ((_a = this._versions) !== null && _a !== void 0 ? _a : (this._versions = new Client_js_2.VersionsClient(this._options)));
63
- }
64
- get policies() {
65
- var _a;
66
- return ((_a = this._policies) !== null && _a !== void 0 ? _a : (this._policies = new Client_js_1.PoliciesClient(this._options)));
61
+ return ((_a = this._versions) !== null && _a !== void 0 ? _a : (this._versions = new Client_js_1.VersionsClient(this._options)));
67
62
  }
68
63
  /**
69
64
  * @param {Corti.documents.GuidedTemplatesListRequest} request
@@ -1,3 +1,2 @@
1
- export * as policies from "./policies/index.js";
2
1
  export * from "./versions/client/requests/index.js";
3
2
  export * as versions from "./versions/index.js";
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
18
21
  var __importStar = (this && this.__importStar) || (function () {
19
22
  var ownKeys = function(o) {
20
23
  ownKeys = Object.getOwnPropertyNames || function (o) {
@@ -32,11 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
32
35
  return result;
33
36
  };
34
37
  })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.versions = exports.policies = void 0;
40
- exports.policies = __importStar(require("./policies/index.js"));
39
+ exports.versions = void 0;
41
40
  __exportStar(require("./versions/client/requests/index.js"), exports);
42
41
  exports.versions = __importStar(require("./versions/index.js"));
@@ -29,7 +29,7 @@ export declare class TranscriptsClient {
29
29
  list(id: Corti.Uuid, request?: Corti.TranscriptsListRequest, requestOptions?: TranscriptsClient.RequestOptions): core.HttpResponsePromise<Corti.TranscriptsListResponse>;
30
30
  private __list;
31
31
  /**
32
- * Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to 60 min in total duration, or 150 MB in total size, may be used.<br/><br/>By default, requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously. Set the `async` parameter to true to receive the location header immediately and process the request asynchronously. Read more [here](https://docs.corti.ai/stt/transcripts).</Note>
32
+ * Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to 60 min in total duration, or 150 MB in total size, may be used.<br/><br/>Requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously. In the latter scenario, a partial or empty transcript with `status=processing` will be returned with a location header that can be used to retrieve the completed transcript.<br/><br/>The client can poll the `/transcripts` endpoint (`GET /interactions/{id}/transcripts/{transcriptId}/status`) for transcript status monitoring:<br/>- `200 OK` with status `processing`, `completed`, or `failed`<br/>- `404 Not Found` if the `interactionId` or `transcriptId` are invalid<br/><br/>The completed transcript can be retrieved via the Get Transcript request (`GET /interactions/{id}/transcripts/{transcriptId}/`).</Note>
33
33
  *
34
34
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
35
35
  * @param {Corti.TranscriptsCreateRequest} request
@@ -142,7 +142,7 @@ class TranscriptsClient {
142
142
  });
143
143
  }
144
144
  /**
145
- * Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to 60 min in total duration, or 150 MB in total size, may be used.<br/><br/>By default, requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously. Set the `async` parameter to true to receive the location header immediately and process the request asynchronously. Read more [here](https://docs.corti.ai/stt/transcripts).</Note>
145
+ * Create a transcript from an audio file uploaded to the interaction via `/recordings` endpoint.<br/><Note>Each interaction may have more than one audio file and transcript associated with it. Audio files up to 60 min in total duration, or 150 MB in total size, may be used.<br/><br/>Requests will process synchronously for 25 seconds before timeout, upon which processing will continue asynchronously. In the latter scenario, a partial or empty transcript with `status=processing` will be returned with a location header that can be used to retrieve the completed transcript.<br/><br/>The client can poll the `/transcripts` endpoint (`GET /interactions/{id}/transcripts/{transcriptId}/status`) for transcript status monitoring:<br/>- `200 OK` with status `processing`, `completed`, or `failed`<br/>- `404 Not Found` if the `interactionId` or `transcriptId` are invalid<br/><br/>The completed transcript can be retrieved via the Get Transcript request (`GET /interactions/{id}/transcripts/{transcriptId}/`).</Note>
146
146
  *
147
147
  * @param {Corti.Uuid} id - The unique identifier of the interaction. Must be a valid UUID.
148
148
  * @param {Corti.TranscriptsCreateRequest} request
@@ -11,7 +11,7 @@ export interface TranscriptsCreateRequest {
11
11
  recordingId: Corti.Uuid;
12
12
  /** The primary spoken language of the recording. Check https://docs.corti.ai/stt/languages for more. */
13
13
  primaryLanguage: string;
14
- /** If true, spoken punctuation will be converted to symbols (e.g., 'comma' → ','). */
14
+ /** Indicates whether spoken dictation commands should be converted to punctuation (e.g., 'comma' → ','). */
15
15
  isDictation?: boolean;
16
16
  /** If true, each audio channel is transcribed separately. */
17
17
  isMultichannel?: boolean;
@@ -19,6 +19,4 @@ export interface TranscriptsCreateRequest {
19
19
  diarize?: boolean;
20
20
  /** An array of participants, each specifying a role and an assigned audio channel in the recording. Leave empty when shouldDiarize: true */
21
21
  participants?: Corti.TranscriptsParticipant[];
22
- /** If true, the request will return immediately with a 202 status and the transcript will be processed asynchronously. Poll [Get Transcript Status](/api-reference/transcripts/get-transcript-status) to check transcript processing status - `processing`, `completed`, `failed`. */
23
- async?: boolean;
24
22
  }
@@ -1,11 +1,10 @@
1
1
  import type * as Corti from "../index.js";
2
2
  export interface GuidedArrayNode {
3
3
  type: "array";
4
- /** Guide the LLM in what to output for this node. Supplements the section-level instructions. */
4
+ /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
5
5
  description?: string;
6
- /** Must be another output schema node (string, number, boolean, array, or object). */
7
6
  items: Corti.GuidedOutputSchema;
8
- /** Format string used to render each array item in the generated output. Use the `{item}` placeholder for the item value. */
7
+ /** Controls how each array item is rendered in the generated output. Use `bullet` (default), `numbered`, or `plain`, or provide a custom format string containing the `{item}` placeholder. */
9
8
  itemFormat?: string;
10
9
  /** Minimum number of array items to generate. */
11
10
  minItems?: number | null;
@@ -1,7 +1,7 @@
1
1
  export interface GuidedBoolNode {
2
2
  type: "boolean";
3
- /** Guide the LLM in what to output for this node. Supplements the section-level instructions. */
3
+ /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
4
4
  description?: string;
5
- /** If nothing is outputted, this default is used. */
5
+ /** The default to output if nothing to output. */
6
6
  default?: boolean | null;
7
7
  }
@@ -9,6 +9,4 @@ export interface GuidedDocumentsGenerateBase {
9
9
  context?: Corti.GuidedDocumentContext[];
10
10
  /** When supplied, all facts and transcripts already attached to the referenced interaction are passed implicitly as input context. Facts with `isDiscarded: true` are not passed on. */
11
11
  interactionId?: string;
12
- /** Key/value labels attached to the document. Used for filtering in the LIST /documents endpoint. */
13
- labels?: Corti.GuidedLabel[];
14
12
  }
@@ -1,4 +1,3 @@
1
- import type * as Corti from "../index.js";
2
1
  /**
3
2
  * A generated document that was not saved to the database.
4
3
  */
@@ -8,10 +7,6 @@ export interface GuidedEphemeralDocument {
8
7
  templateVersionId: string;
9
8
  /** The BCP 47 language tag of the generated output. */
10
9
  language: string;
11
- /** The interaction whose context was used to generate this document, if supplied. */
12
- interactionId?: string | null;
13
10
  stringDocument: Record<string, string>;
14
11
  structuredDocument?: Record<string, unknown> | null;
15
- /** Key/value labels attached to this document. */
16
- labels: Corti.GuidedLabel[];
17
12
  }
@@ -2,10 +2,7 @@ import type * as Corti from "../index.js";
2
2
  export interface GuidedFieldDefinition {
3
3
  /** Use to set a key to reference. */
4
4
  key: string;
5
- /** Guide the LLM in what to output for this node. Supplements the section-level instructions. */
5
+ /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
6
6
  description: string;
7
- /** Must be another output schema node (string, number, boolean, array, or object). */
8
7
  value: Corti.GuidedOutputSchema;
9
- /** If nothing is outputted for this field, this default value is used in the rendered output. */
10
- default?: string | null;
11
8
  }
@@ -1,10 +1,10 @@
1
1
  export interface GuidedNumberNode {
2
2
  type: "number";
3
- /** Guide the LLM in what to output for this node. Supplements the section-level instructions. */
3
+ /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
4
4
  description?: string;
5
- /** If nothing is outputted, this default is used. */
5
+ /** The default to output if nothing to output. */
6
6
  default?: number | null;
7
- /** Can be used to guide the LLM with specific values to output. */
7
+ /** Can be used to prompt the LLM for specifically allowed numeric values to output. */
8
8
  enum?: number[];
9
9
  /** Use if a minimum value applies. */
10
10
  minimum?: number | null;
@@ -1,14 +1,14 @@
1
1
  import type * as Corti from "../index.js";
2
2
  export interface GuidedObjectNode {
3
3
  type: "object";
4
- /** Guide the LLM in what to output for this node. Supplements the section-level instructions. */
4
+ /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
5
5
  description?: string;
6
6
  /**
7
7
  * Free-form format string that controls how an object's fields are rendered into the final text output. Operates in one of two modes determined by which placeholders appear:
8
8
  *
9
- * **Subheading mode** (default: `"{key}: {value}\n"`): triggered when the format contains both `{key}` and `{value}`. Applied per field — each field becomes a key/value line. When a field has no relevant input/output and no `default` is set, the entire key/value line for that field is omitted from the rendered output.
9
+ * **Subheading mode** (default: `"{key}: {value}\n"`): triggered when the format contains both `{key}` and `{value}`. Applied per field — each field becomes a key/value line. Fields that render to null are skipped.
10
10
  *
11
- * **Object mode** (e.g. `"{name} ({age})"`): triggered when `{key}` and `{value}` are absent. Placeholders must be actual field keys defined in `fields`. Applied once for the whole object, composing all fields into a single string. When a field has no relevant input/output and no `default` is set, its placeholder is replaced with an empty string (`""`).
11
+ * **Object mode** (e.g. `"{name} ({age})"`): triggered when `{key}` and `{value}` are absent. Placeholders must be actual field keys defined in `fields`. Applied once for the whole object, composing all fields into a single string. Fields rendering to null become empty string.
12
12
  *
13
13
  * Validation rules: format must not be empty; if either `{key}` or `{value}` appears, both must be present; in subheading mode no extra placeholders are allowed; in object mode every placeholder must match a defined field key.
14
14
  */
@@ -1,11 +1,11 @@
1
1
  export interface GuidedStringNode {
2
2
  type: "string";
3
- /** Guide the LLM in what to output for this node. Supplements the section-level instructions. */
3
+ /** Can be used to prompt the LLM with more guidance in addition to the section.instructions */
4
4
  description?: string;
5
- /** If nothing is outputted, this default is used. */
5
+ /** The default to output if nothing to output. */
6
6
  default?: string | null;
7
- /** Can be used to guide the LLM with specific values to output. */
7
+ /** Can be used to prompt the LLM with specific values to output. */
8
8
  enum?: string[];
9
- /** Can be used to constrain the LLM to output a specific pattern. */
9
+ /** Can be used to prompt the LLM for a specific output pattern. */
10
10
  pattern?: string | null;
11
11
  }
@@ -1,4 +1,4 @@
1
1
  export interface TranscribeAudioEventsConfig {
2
2
  /** When true, enables audio quality and speech activity events to be sent over the WebSocket. Disabled by default. */
3
- enabled: boolean;
3
+ enabled?: boolean;
4
4
  }
@@ -1,9 +1,9 @@
1
1
  import type * as Corti from "../index.js";
2
2
  export interface TranscribeCommand {
3
- /** Unique value to identify the command when it is detected and returned over the WebSocket */
3
+ /** To identify the command when it gets detected and returned over the WebSocket */
4
4
  id: string;
5
- /** One or more word sequence(s) that can be spoken to trigger the command. At least one phrase is required per command. */
5
+ /** The spoken phrases that should trigger the command */
6
6
  phrases: string[];
7
- /** Placeholders that can (optionally) be added in phrases to provide flexibility and extensibility for triggering commands. */
7
+ /** Variables for the command */
8
8
  variables?: Corti.TranscribeCommandVariable[];
9
9
  }
@@ -1,8 +1,8 @@
1
1
  export interface TranscribeCommandVariable {
2
- /** Define the variable used in command phrases. */
2
+ /** Variable key identifier */
3
3
  key: string;
4
4
  /** Variable type */
5
5
  type: "enum";
6
- /** List of values that should be recognized for the defined variable. */
6
+ /** Enum values for the variable */
7
7
  enum: string[];
8
8
  }
@@ -2,11 +2,11 @@ import type * as Corti from "../index.js";
2
2
  export interface TranscribeConfig {
3
3
  /** The locale of the primary spoken language. */
4
4
  primaryLanguage: Corti.TranscribeSupportedLanguage;
5
- /** When true, returns interim (preview) transcript results (`isFinal=false`) for reduced latency than final transcripts. Defaults to false. */
5
+ /** When true, returns interim results for reduced latency */
6
6
  interimResults?: boolean;
7
- /** When true, converts spoken punctuation such as 'period' or 'slash' into '.' or '/'. Defaults to false. Overrides automaticPunctuation when both are enabled. */
7
+ /** When true, converts spoken punctuation such as 'period' or 'slash' into '.' or '/' */
8
8
  spokenPunctuation?: boolean;
9
- /** When true, automatically punctuates and capitalizes in the final transcript. Defaults to false. Overridden by spokenPunctuation when both are enabled. */
9
+ /** When true, automatically punctuates and capitalizes in the final transcript */
10
10
  automaticPunctuation?: boolean;
11
11
  /** Commands that should be registered and detected */
12
12
  commands?: Corti.TranscribeCommand[];
@@ -14,6 +14,4 @@ export interface TranscribeConfig {
14
14
  audioEvents?: Corti.TranscribeAudioEventsConfig;
15
15
  /** The audio format of the incoming audio stream */
16
16
  audioFormat?: string;
17
- /** Define replacements to have terms (single words or multi-word phrases) replaced in final text output with your preferred style. For example, replace "BID" with "twice daily". Configuration is limited to 1,000 replacements per stream. */
18
- replacements?: Corti.TranscribeConfigReplacementsItem[];
19
17
  }
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Supported language codes for transcription. See details and available language codes [here](https://docs.corti.ai/stt/languages).
2
+ * Supported language codes for transcription
3
3
  */
4
4
  export type TranscribeSupportedLanguage = string;
@@ -240,7 +240,6 @@ export * from "./TranscribeCommandMessage.js";
240
240
  export * from "./TranscribeCommandVariable.js";
241
241
  export * from "./TranscribeConfig.js";
242
242
  export * from "./TranscribeConfigMessage.js";
243
- export * from "./TranscribeConfigReplacementsItem.js";
244
243
  export * from "./TranscribeConfigStatusMessage.js";
245
244
  export * from "./TranscribeConfigStatusMessageType.js";
246
245
  export * from "./TranscribeDeltaUsageMessage.js";
@@ -256,7 +256,6 @@ __exportStar(require("./TranscribeCommandMessage.js"), exports);
256
256
  __exportStar(require("./TranscribeCommandVariable.js"), exports);
257
257
  __exportStar(require("./TranscribeConfig.js"), exports);
258
258
  __exportStar(require("./TranscribeConfigMessage.js"), exports);
259
- __exportStar(require("./TranscribeConfigReplacementsItem.js"), exports);
260
259
  __exportStar(require("./TranscribeConfigStatusMessage.js"), exports);
261
260
  __exportStar(require("./TranscribeConfigStatusMessageType.js"), exports);
262
261
  __exportStar(require("./TranscribeDeltaUsageMessage.js"), exports);
@@ -48,6 +48,20 @@ export declare class CortiClient extends BaseCortiClient {
48
48
  get stream(): CustomStream;
49
49
  get transcribe(): CustomTranscribe;
50
50
  get agents(): CustomAgents;
51
+ /**
52
+ * Returns the full set of URLs the client is configured to use.
53
+ *
54
+ * If a custom `baseUrl` was provided it overrides the `base` field; all
55
+ * other URLs are derived from the configured environment.
56
+ *
57
+ * @example
58
+ * ```typescript
59
+ * const client = new CortiClient({ environment: "eu", ... });
60
+ * const urls = await client.getEnvironmentUrls();
61
+ * // { base: "https://api.eu.corti.app/v2", wss: "wss://...", login: "https://...", agents: "https://..." }
62
+ * ```
63
+ */
64
+ getEnvironmentUrls: () => Promise<environments.CortiEnvironmentUrls>;
51
65
  /**
52
66
  * Retrieves authentication headers for API requests.
53
67
  *
@@ -59,6 +59,27 @@ class CortiClient extends Client_js_1.CortiClient {
59
59
  const ctx = (0, resolveClientOptions_js_1.resolveClientOptions)(options);
60
60
  const restOptions = Object.assign(Object.assign(Object.assign({}, opts), { tenantName: ctx.tenantName, environment: (0, environment_js_1.getEnvironment)(ctx.environment) }), (ctx.initialTokenResponse != null ? { initialTokenResponse: ctx.initialTokenResponse } : {}));
61
61
  super((0, authToBaseOptions_js_1.authToBaseOptions)(opts.auth, restOptions));
62
+ /**
63
+ * Returns the full set of URLs the client is configured to use.
64
+ *
65
+ * If a custom `baseUrl` was provided it overrides the `base` field; all
66
+ * other URLs are derived from the configured environment.
67
+ *
68
+ * @example
69
+ * ```typescript
70
+ * const client = new CortiClient({ environment: "eu", ... });
71
+ * const urls = await client.getEnvironmentUrls();
72
+ * // { base: "https://api.eu.corti.app/v2", wss: "wss://...", login: "https://...", agents: "https://..." }
73
+ * ```
74
+ */
75
+ this.getEnvironmentUrls = () => __awaiter(this, void 0, void 0, function* () {
76
+ const baseUrl = yield core.Supplier.get(this._options.baseUrl);
77
+ // baseUrl is a universal override: all generated clients use `baseUrl ?? env.<field>`.
78
+ // Resolve environment only in the fallback path to avoid triggering auth discovery needlessly.
79
+ if (baseUrl != null)
80
+ return { base: baseUrl, wss: baseUrl, login: baseUrl, agents: baseUrl };
81
+ return yield core.Supplier.get(this._options.environment);
82
+ });
62
83
  /**
63
84
  * Retrieves authentication headers for API requests.
64
85
  *
@@ -1,3 +1,2 @@
1
- export * as policies from "./policies/index.js";
2
1
  export * from "./versions/client/requests/index.js";
3
2
  export * as versions from "./versions/index.js";
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
18
21
  var __importStar = (this && this.__importStar) || (function () {
19
22
  var ownKeys = function(o) {
20
23
  ownKeys = Object.getOwnPropertyNames || function (o) {
@@ -32,11 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
32
35
  return result;
33
36
  };
34
37
  })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.versions = exports.policies = void 0;
40
- exports.policies = __importStar(require("./policies/index.js"));
39
+ exports.versions = void 0;
41
40
  __exportStar(require("./versions/client/requests/index.js"), exports);
42
41
  exports.versions = __importStar(require("./versions/index.js"));
@@ -1,3 +1,2 @@
1
- export * as policies from "./policies/index.js";
2
1
  export * from "./versions/client/requests/index.js";
3
2
  export * as versions from "./versions/index.js";
@@ -15,6 +15,9 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
18
21
  var __importStar = (this && this.__importStar) || (function () {
19
22
  var ownKeys = function(o) {
20
23
  ownKeys = Object.getOwnPropertyNames || function (o) {
@@ -32,11 +35,7 @@ var __importStar = (this && this.__importStar) || (function () {
32
35
  return result;
33
36
  };
34
37
  })();
35
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
- };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.versions = exports.policies = void 0;
40
- exports.policies = __importStar(require("./policies/index.js"));
39
+ exports.versions = void 0;
41
40
  __exportStar(require("./versions/client/requests/index.js"), exports);
42
41
  exports.versions = __importStar(require("./versions/index.js"));
@@ -12,6 +12,5 @@ export declare namespace TranscriptsCreateRequest {
12
12
  isMultichannel?: boolean | null;
13
13
  diarize?: boolean | null;
14
14
  participants?: TranscriptsParticipant.Raw[] | null;
15
- async?: boolean | null;
16
15
  }
17
16
  }
@@ -45,5 +45,4 @@ 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(),
49
48
  });
@@ -2,13 +2,11 @@ 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";
6
5
  export declare const GuidedDocumentsGenerateBase: core.serialization.ObjectSchema<serializers.GuidedDocumentsGenerateBase.Raw, Corti.GuidedDocumentsGenerateBase>;
7
6
  export declare namespace GuidedDocumentsGenerateBase {
8
7
  interface Raw {
9
8
  outputLanguage: string;
10
9
  context?: GuidedDocumentContext.Raw[] | null;
11
10
  interactionId?: string | null;
12
- labels?: GuidedLabel.Raw[] | null;
13
11
  }
14
12
  }
@@ -37,10 +37,8 @@ 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");
41
40
  exports.GuidedDocumentsGenerateBase = core.serialization.object({
42
41
  outputLanguage: core.serialization.string(),
43
42
  context: core.serialization.list(GuidedDocumentContext_js_1.GuidedDocumentContext).optional(),
44
43
  interactionId: core.serialization.string().optional(),
45
- labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel).optional(),
46
44
  });
@@ -1,7 +1,6 @@
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";
5
4
  export declare const GuidedEphemeralDocument: core.serialization.ObjectSchema<serializers.GuidedEphemeralDocument.Raw, Corti.GuidedEphemeralDocument>;
6
5
  export declare namespace GuidedEphemeralDocument {
7
6
  interface Raw {
@@ -9,9 +8,7 @@ export declare namespace GuidedEphemeralDocument {
9
8
  templateId: string;
10
9
  templateVersionId: string;
11
10
  language: string;
12
- interactionId?: (string | null | undefined) | null;
13
11
  stringDocument: Record<string, string>;
14
12
  structuredDocument?: (Record<string, unknown> | null | undefined) | null;
15
- labels: GuidedLabel.Raw[];
16
13
  }
17
14
  }
@@ -36,16 +36,13 @@ 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");
40
39
  exports.GuidedEphemeralDocument = core.serialization.object({
41
40
  name: core.serialization.string(),
42
41
  templateId: core.serialization.string(),
43
42
  templateVersionId: core.serialization.string(),
44
43
  language: core.serialization.string(),
45
- interactionId: core.serialization.string().optionalNullable(),
46
44
  stringDocument: core.serialization.record(core.serialization.string(), core.serialization.string()),
47
45
  structuredDocument: core.serialization
48
46
  .record(core.serialization.string(), core.serialization.unknown())
49
47
  .optionalNullable(),
50
- labels: core.serialization.list(GuidedLabel_js_1.GuidedLabel),
51
48
  });
@@ -7,6 +7,5 @@ export declare namespace GuidedFieldDefinition {
7
7
  key: string;
8
8
  description: string;
9
9
  value: serializers.GuidedOutputSchema.Raw;
10
- default?: (string | null | undefined) | null;
11
10
  }
12
11
  }
@@ -41,5 +41,4 @@ 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(),
45
44
  });