@corti/sdk 0.1.2 → 0.1.3-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 (168) hide show
  1. package/README.md +0 -2
  2. package/dist/cjs/Client.js +2 -2
  3. package/dist/cjs/api/errors/NotFoundError.d.ts +1 -2
  4. package/dist/cjs/api/resources/documents/client/Client.d.ts +3 -3
  5. package/dist/cjs/api/resources/documents/client/Client.js +4 -10
  6. package/dist/cjs/api/resources/facts/client/Client.d.ts +6 -4
  7. package/dist/cjs/api/resources/facts/client/Client.js +6 -4
  8. package/dist/cjs/api/resources/facts/client/requests/FactsUpdateRequest.d.ts +2 -2
  9. package/dist/cjs/api/resources/index.d.ts +1 -2
  10. package/dist/cjs/api/resources/index.js +2 -3
  11. package/dist/cjs/api/resources/interactions/client/Client.d.ts +5 -5
  12. package/dist/cjs/api/resources/interactions/client/Client.js +5 -5
  13. package/dist/cjs/api/resources/recordings/client/Client.d.ts +4 -4
  14. package/dist/cjs/api/resources/recordings/client/Client.js +6 -18
  15. package/dist/cjs/api/resources/templates/client/Client.d.ts +2 -2
  16. package/dist/cjs/api/resources/templates/client/Client.js +2 -2
  17. package/dist/cjs/api/resources/transcripts/client/Client.d.ts +5 -6
  18. package/dist/cjs/api/resources/transcripts/client/Client.js +5 -6
  19. package/dist/cjs/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +1 -4
  20. package/dist/cjs/api/resources/transcripts/index.d.ts +0 -1
  21. package/dist/cjs/api/resources/transcripts/index.js +0 -1
  22. package/dist/cjs/api/types/CommonTranscriptRequest.d.ts +17 -0
  23. package/dist/cjs/api/types/{CommonTranscript.d.ts → CommonTranscriptResponse.d.ts} +1 -1
  24. package/dist/cjs/api/types/DocumentsContextWithString.d.ts +1 -1
  25. package/dist/cjs/api/types/DocumentsContextWithTranscript.d.ts +2 -2
  26. package/dist/cjs/api/types/DocumentsCreateRequest.d.ts +7 -1
  27. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplate.d.ts +1 -3
  28. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateKey.d.ts +1 -3
  29. package/dist/cjs/api/types/DocumentsTemplate.d.ts +1 -1
  30. package/dist/cjs/api/types/FactsBatchUpdateInput.d.ts +1 -1
  31. package/dist/cjs/api/types/FactsCreateItem.d.ts +1 -1
  32. package/dist/cjs/api/types/FactsListItem.d.ts +1 -1
  33. package/dist/cjs/api/types/TranscriptsData.d.ts +1 -1
  34. package/dist/cjs/api/types/TranscriptsResponse.d.ts +1 -1
  35. package/dist/cjs/api/types/index.d.ts +2 -3
  36. package/dist/cjs/api/types/index.js +2 -3
  37. package/dist/cjs/custom/utils/getEnvironmentFromString.js +1 -0
  38. package/dist/cjs/environments.d.ts +3 -0
  39. package/dist/cjs/environments.js +2 -0
  40. package/dist/cjs/serialization/resources/index.d.ts +1 -2
  41. package/dist/cjs/serialization/resources/index.js +2 -3
  42. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.ts +0 -2
  43. package/dist/cjs/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.js +0 -2
  44. package/dist/cjs/serialization/resources/transcripts/index.d.ts +0 -1
  45. package/dist/cjs/serialization/resources/transcripts/index.js +0 -1
  46. package/dist/cjs/serialization/types/CommonTranscriptRequest.d.ts +17 -0
  47. package/dist/cjs/serialization/types/{DocumentsTemplateWithSectionIds.js → CommonTranscriptRequest.js} +8 -6
  48. package/dist/cjs/serialization/types/{CommonTranscript.d.ts → CommonTranscriptResponse.d.ts} +2 -2
  49. package/dist/cjs/serialization/types/{CommonTranscript.js → CommonTranscriptResponse.js} +2 -2
  50. package/dist/cjs/serialization/types/DocumentsContextWithTranscript.d.ts +2 -2
  51. package/dist/cjs/serialization/types/DocumentsContextWithTranscript.js +2 -2
  52. package/dist/cjs/serialization/types/DocumentsCreateRequest.d.ts +1 -2
  53. package/dist/cjs/serialization/types/DocumentsCreateRequest.js +0 -2
  54. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.d.ts +0 -1
  55. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplate.js +0 -1
  56. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.d.ts +0 -1
  57. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateKey.js +0 -1
  58. package/dist/cjs/serialization/types/DocumentsTemplate.d.ts +2 -3
  59. package/dist/cjs/serialization/types/DocumentsTemplate.js +1 -36
  60. package/dist/cjs/serialization/types/TranscriptsData.d.ts +2 -2
  61. package/dist/cjs/serialization/types/TranscriptsData.js +2 -2
  62. package/dist/cjs/serialization/types/TranscriptsResponse.d.ts +2 -2
  63. package/dist/cjs/serialization/types/TranscriptsResponse.js +2 -2
  64. package/dist/cjs/serialization/types/index.d.ts +2 -3
  65. package/dist/cjs/serialization/types/index.js +2 -3
  66. package/dist/cjs/version.d.ts +1 -1
  67. package/dist/cjs/version.js +1 -1
  68. package/dist/esm/Client.mjs +2 -2
  69. package/dist/esm/api/errors/NotFoundError.d.mts +1 -2
  70. package/dist/esm/api/resources/documents/client/Client.d.mts +3 -3
  71. package/dist/esm/api/resources/documents/client/Client.mjs +4 -10
  72. package/dist/esm/api/resources/facts/client/Client.d.mts +6 -4
  73. package/dist/esm/api/resources/facts/client/Client.mjs +6 -4
  74. package/dist/esm/api/resources/facts/client/requests/FactsUpdateRequest.d.mts +2 -2
  75. package/dist/esm/api/resources/index.d.mts +1 -2
  76. package/dist/esm/api/resources/index.mjs +1 -2
  77. package/dist/esm/api/resources/interactions/client/Client.d.mts +5 -5
  78. package/dist/esm/api/resources/interactions/client/Client.mjs +5 -5
  79. package/dist/esm/api/resources/recordings/client/Client.d.mts +4 -4
  80. package/dist/esm/api/resources/recordings/client/Client.mjs +6 -18
  81. package/dist/esm/api/resources/templates/client/Client.d.mts +2 -2
  82. package/dist/esm/api/resources/templates/client/Client.mjs +2 -2
  83. package/dist/esm/api/resources/transcripts/client/Client.d.mts +5 -6
  84. package/dist/esm/api/resources/transcripts/client/Client.mjs +5 -6
  85. package/dist/esm/api/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +1 -4
  86. package/dist/esm/api/resources/transcripts/index.d.mts +0 -1
  87. package/dist/esm/api/resources/transcripts/index.mjs +0 -1
  88. package/dist/esm/api/types/CommonTranscriptRequest.d.mts +17 -0
  89. package/dist/esm/api/types/{CommonTranscript.d.mts → CommonTranscriptResponse.d.mts} +1 -1
  90. package/dist/esm/api/types/DocumentsContextWithString.d.mts +1 -1
  91. package/dist/esm/api/types/DocumentsContextWithTranscript.d.mts +2 -2
  92. package/dist/esm/api/types/DocumentsCreateRequest.d.mts +7 -1
  93. package/dist/esm/api/types/DocumentsCreateRequestWithTemplate.d.mts +1 -3
  94. package/dist/esm/api/types/DocumentsCreateRequestWithTemplateKey.d.mts +1 -3
  95. package/dist/esm/api/types/DocumentsTemplate.d.mts +1 -1
  96. package/dist/esm/api/types/FactsBatchUpdateInput.d.mts +1 -1
  97. package/dist/esm/api/types/FactsCreateItem.d.mts +1 -1
  98. package/dist/esm/api/types/FactsListItem.d.mts +1 -1
  99. package/dist/esm/api/types/TranscriptsData.d.mts +1 -1
  100. package/dist/esm/api/types/TranscriptsResponse.d.mts +1 -1
  101. package/dist/esm/api/types/index.d.mts +2 -3
  102. package/dist/esm/api/types/index.mjs +2 -3
  103. package/dist/esm/custom/utils/getEnvironmentFromString.mjs +1 -0
  104. package/dist/esm/environments.d.mts +3 -0
  105. package/dist/esm/environments.mjs +2 -0
  106. package/dist/esm/serialization/resources/index.d.mts +1 -2
  107. package/dist/esm/serialization/resources/index.mjs +1 -2
  108. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.d.mts +0 -2
  109. package/dist/esm/serialization/resources/transcripts/client/requests/TranscriptsCreateRequest.mjs +0 -2
  110. package/dist/esm/serialization/resources/transcripts/index.d.mts +0 -1
  111. package/dist/esm/serialization/resources/transcripts/index.mjs +0 -1
  112. package/dist/esm/serialization/types/CommonTranscriptRequest.d.mts +17 -0
  113. package/dist/esm/serialization/types/CommonTranscriptRequest.mjs +12 -0
  114. package/dist/esm/serialization/types/{CommonTranscript.d.mts → CommonTranscriptResponse.d.mts} +2 -2
  115. package/dist/esm/serialization/types/{CommonTranscript.mjs → CommonTranscriptResponse.mjs} +1 -1
  116. package/dist/esm/serialization/types/DocumentsContextWithTranscript.d.mts +2 -2
  117. package/dist/esm/serialization/types/DocumentsContextWithTranscript.mjs +2 -2
  118. package/dist/esm/serialization/types/DocumentsCreateRequest.d.mts +1 -2
  119. package/dist/esm/serialization/types/DocumentsCreateRequest.mjs +0 -2
  120. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.d.mts +0 -1
  121. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplate.mjs +0 -1
  122. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.d.mts +0 -1
  123. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateKey.mjs +0 -1
  124. package/dist/esm/serialization/types/DocumentsTemplate.d.mts +2 -3
  125. package/dist/esm/serialization/types/DocumentsTemplate.mjs +1 -3
  126. package/dist/esm/serialization/types/TranscriptsData.d.mts +2 -2
  127. package/dist/esm/serialization/types/TranscriptsData.mjs +2 -2
  128. package/dist/esm/serialization/types/TranscriptsResponse.d.mts +2 -2
  129. package/dist/esm/serialization/types/TranscriptsResponse.mjs +2 -2
  130. package/dist/esm/serialization/types/index.d.mts +2 -3
  131. package/dist/esm/serialization/types/index.mjs +2 -3
  132. package/dist/esm/version.d.mts +1 -1
  133. package/dist/esm/version.mjs +1 -1
  134. package/package.json +1 -1
  135. package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -12
  136. package/dist/cjs/api/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -11
  137. package/dist/cjs/api/resources/transcripts/types/index.d.ts +0 -1
  138. package/dist/cjs/api/resources/transcripts/types/index.js +0 -17
  139. package/dist/cjs/api/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -16
  140. package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.d.ts +0 -12
  141. package/dist/cjs/api/types/DocumentsTemplateWithSectionIds.js +0 -5
  142. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.ts +0 -10
  143. package/dist/cjs/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.js +0 -41
  144. package/dist/cjs/serialization/resources/transcripts/types/index.d.ts +0 -1
  145. package/dist/cjs/serialization/resources/transcripts/types/index.js +0 -17
  146. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.d.ts +0 -18
  147. package/dist/cjs/serialization/types/DocumentsCreateRequestWithTemplateId.js +0 -49
  148. package/dist/cjs/serialization/types/DocumentsTemplateWithSectionIds.d.ts +0 -15
  149. package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -12
  150. package/dist/esm/api/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -8
  151. package/dist/esm/api/resources/transcripts/types/index.d.mts +0 -1
  152. package/dist/esm/api/resources/transcripts/types/index.mjs +0 -1
  153. package/dist/esm/api/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -16
  154. package/dist/esm/api/types/DocumentsTemplateWithSectionIds.d.mts +0 -12
  155. package/dist/esm/api/types/DocumentsTemplateWithSectionIds.mjs +0 -4
  156. package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.d.mts +0 -10
  157. package/dist/esm/serialization/resources/transcripts/types/TranscriptsCreateRequestModelName.mjs +0 -5
  158. package/dist/esm/serialization/resources/transcripts/types/index.d.mts +0 -1
  159. package/dist/esm/serialization/resources/transcripts/types/index.mjs +0 -1
  160. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.d.mts +0 -18
  161. package/dist/esm/serialization/types/DocumentsCreateRequestWithTemplateId.mjs +0 -13
  162. package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.d.mts +0 -15
  163. package/dist/esm/serialization/types/DocumentsTemplateWithSectionIds.mjs +0 -10
  164. package/reference.md +0 -1706
  165. /package/dist/cjs/api/types/{CommonTranscript.js → CommonTranscriptRequest.js} +0 -0
  166. /package/dist/cjs/api/types/{DocumentsCreateRequestWithTemplateId.js → CommonTranscriptResponse.js} +0 -0
  167. /package/dist/esm/api/types/{CommonTranscript.mjs → CommonTranscriptRequest.mjs} +0 -0
  168. /package/dist/esm/api/types/{DocumentsCreateRequestWithTemplateId.mjs → CommonTranscriptResponse.mjs} +0 -0
@@ -1,41 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.TranscriptsCreateRequestModelName = void 0;
40
- const core = __importStar(require("../../../../core/index.js"));
41
- exports.TranscriptsCreateRequestModelName = core.serialization.enum_(["base", "enhanced", "premier"]);
@@ -1 +0,0 @@
1
- export * from "./TranscriptsCreateRequestModelName.js";
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TranscriptsCreateRequestModelName.js"), exports);
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index.js";
5
- import * as Corti from "../../api/index.js";
6
- import * as core from "../../core/index.js";
7
- import { DocumentsContext } from "./DocumentsContext.js";
8
- import { Uuid } from "./Uuid.js";
9
- export declare const DocumentsCreateRequestWithTemplateId: core.serialization.ObjectSchema<serializers.DocumentsCreateRequestWithTemplateId.Raw, Corti.DocumentsCreateRequestWithTemplateId>;
10
- export declare namespace DocumentsCreateRequestWithTemplateId {
11
- interface Raw {
12
- context: DocumentsContext.Raw[];
13
- templateId: Uuid.Raw;
14
- name?: string | null;
15
- modelName?: string | null;
16
- outputLanguage: string;
17
- }
18
- }
@@ -1,49 +0,0 @@
1
- "use strict";
2
- /**
3
- * This file was auto-generated by Fern from our API Definition.
4
- */
5
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- var desc = Object.getOwnPropertyDescriptor(m, k);
8
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
- desc = { enumerable: true, get: function() { return m[k]; } };
10
- }
11
- Object.defineProperty(o, k2, desc);
12
- }) : (function(o, m, k, k2) {
13
- if (k2 === undefined) k2 = k;
14
- o[k2] = m[k];
15
- }));
16
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
- Object.defineProperty(o, "default", { enumerable: true, value: v });
18
- }) : function(o, v) {
19
- o["default"] = v;
20
- });
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
- Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.DocumentsCreateRequestWithTemplateId = void 0;
40
- const core = __importStar(require("../../core/index.js"));
41
- const DocumentsContext_js_1 = require("./DocumentsContext.js");
42
- const Uuid_js_1 = require("./Uuid.js");
43
- exports.DocumentsCreateRequestWithTemplateId = core.serialization.object({
44
- context: core.serialization.list(DocumentsContext_js_1.DocumentsContext),
45
- templateId: Uuid_js_1.Uuid,
46
- name: core.serialization.string().optional(),
47
- modelName: core.serialization.string().optional(),
48
- outputLanguage: core.serialization.string(),
49
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index.js";
5
- import * as Corti from "../../api/index.js";
6
- import * as core from "../../core/index.js";
7
- import { Uuid } from "./Uuid.js";
8
- export declare const DocumentsTemplateWithSectionIds: core.serialization.ObjectSchema<serializers.DocumentsTemplateWithSectionIds.Raw, Corti.DocumentsTemplateWithSectionIds>;
9
- export declare namespace DocumentsTemplateWithSectionIds {
10
- interface Raw {
11
- sectionIds: Uuid.Raw[];
12
- documentName?: string | null;
13
- additionalInstructions?: string | null;
14
- }
15
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- /**
5
- * The model name for transcription. By default, only the highest tier is accessible. Check https://docs.corti.ai/about/languages for more.
6
- */
7
- export type TranscriptsCreateRequestModelName = "base" | "enhanced" | "premier";
8
- export declare const TranscriptsCreateRequestModelName: {
9
- readonly Base: "base";
10
- readonly Enhanced: "enhanced";
11
- readonly Premier: "premier";
12
- };
@@ -1,8 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export const TranscriptsCreateRequestModelName = {
5
- Base: "base",
6
- Enhanced: "enhanced",
7
- Premier: "premier",
8
- };
@@ -1 +0,0 @@
1
- export * from "./TranscriptsCreateRequestModelName.mjs";
@@ -1 +0,0 @@
1
- export * from "./TranscriptsCreateRequestModelName.mjs";
@@ -1,16 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Corti from "../index.mjs";
5
- export interface DocumentsCreateRequestWithTemplateId {
6
- /** An array of context objects. Currently accepts exactly one context object to be used as input for document generation. */
7
- context: Corti.DocumentsContext[];
8
- /** The UUID of the template to use. */
9
- templateId: Corti.Uuid;
10
- /** An optional name for the document. */
11
- name?: string;
12
- /** The model or documentation mode to use for summarization. */
13
- modelName?: string;
14
- /** The language in which the document will be generated. Check https://docs.corti.ai/about/languages for more. */
15
- outputLanguage: string;
16
- }
@@ -1,12 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as Corti from "../index.mjs";
5
- export interface DocumentsTemplateWithSectionIds {
6
- /** An array of section IDs. */
7
- sectionIds: Corti.Uuid[];
8
- /** The name of the document. */
9
- documentName?: string;
10
- /** Any additional instructions to be considered during document generation. */
11
- additionalInstructions?: string;
12
- }
@@ -1,4 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- export {};
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../../../index.mjs";
5
- import * as Corti from "../../../../api/index.mjs";
6
- import * as core from "../../../../core/index.mjs";
7
- export declare const TranscriptsCreateRequestModelName: core.serialization.Schema<serializers.TranscriptsCreateRequestModelName.Raw, Corti.TranscriptsCreateRequestModelName>;
8
- export declare namespace TranscriptsCreateRequestModelName {
9
- type Raw = "base" | "enhanced" | "premier";
10
- }
@@ -1,5 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../../../core/index.mjs";
5
- export const TranscriptsCreateRequestModelName = core.serialization.enum_(["base", "enhanced", "premier"]);
@@ -1 +0,0 @@
1
- export * from "./TranscriptsCreateRequestModelName.mjs";
@@ -1 +0,0 @@
1
- export * from "./TranscriptsCreateRequestModelName.mjs";
@@ -1,18 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index.mjs";
5
- import * as Corti from "../../api/index.mjs";
6
- import * as core from "../../core/index.mjs";
7
- import { DocumentsContext } from "./DocumentsContext.mjs";
8
- import { Uuid } from "./Uuid.mjs";
9
- export declare const DocumentsCreateRequestWithTemplateId: core.serialization.ObjectSchema<serializers.DocumentsCreateRequestWithTemplateId.Raw, Corti.DocumentsCreateRequestWithTemplateId>;
10
- export declare namespace DocumentsCreateRequestWithTemplateId {
11
- interface Raw {
12
- context: DocumentsContext.Raw[];
13
- templateId: Uuid.Raw;
14
- name?: string | null;
15
- modelName?: string | null;
16
- outputLanguage: string;
17
- }
18
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../core/index.mjs";
5
- import { DocumentsContext } from "./DocumentsContext.mjs";
6
- import { Uuid } from "./Uuid.mjs";
7
- export const DocumentsCreateRequestWithTemplateId = core.serialization.object({
8
- context: core.serialization.list(DocumentsContext),
9
- templateId: Uuid,
10
- name: core.serialization.string().optional(),
11
- modelName: core.serialization.string().optional(),
12
- outputLanguage: core.serialization.string(),
13
- });
@@ -1,15 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as serializers from "../index.mjs";
5
- import * as Corti from "../../api/index.mjs";
6
- import * as core from "../../core/index.mjs";
7
- import { Uuid } from "./Uuid.mjs";
8
- export declare const DocumentsTemplateWithSectionIds: core.serialization.ObjectSchema<serializers.DocumentsTemplateWithSectionIds.Raw, Corti.DocumentsTemplateWithSectionIds>;
9
- export declare namespace DocumentsTemplateWithSectionIds {
10
- interface Raw {
11
- sectionIds: Uuid.Raw[];
12
- documentName?: string | null;
13
- additionalInstructions?: string | null;
14
- }
15
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * This file was auto-generated by Fern from our API Definition.
3
- */
4
- import * as core from "../../core/index.mjs";
5
- import { Uuid } from "./Uuid.mjs";
6
- export const DocumentsTemplateWithSectionIds = core.serialization.object({
7
- sectionIds: core.serialization.list(Uuid),
8
- documentName: core.serialization.string().optional(),
9
- additionalInstructions: core.serialization.string().optional(),
10
- });