@mistralai/mistralai 1.7.4 → 1.9.17

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 (181) hide show
  1. package/README.md +10 -0
  2. package/docs/sdks/accesses/README.md +2 -0
  3. package/docs/sdks/audio/README.md +6 -0
  4. package/docs/sdks/documents/README.md +2 -0
  5. package/docs/sdks/libraries/README.md +1 -1
  6. package/docs/sdks/transcriptions/README.md +167 -0
  7. package/examples/src/async_audio_transcription_stream.ts +17 -0
  8. package/funcs/audioTranscriptionsComplete.d.ts +13 -0
  9. package/funcs/audioTranscriptionsComplete.d.ts.map +1 -0
  10. package/funcs/audioTranscriptionsComplete.js +133 -0
  11. package/funcs/audioTranscriptionsComplete.js.map +1 -0
  12. package/funcs/audioTranscriptionsStream.d.ts +14 -0
  13. package/funcs/audioTranscriptionsStream.d.ts.map +1 -0
  14. package/funcs/audioTranscriptionsStream.js +143 -0
  15. package/funcs/audioTranscriptionsStream.js.map +1 -0
  16. package/funcs/batchJobsList.js +1 -0
  17. package/funcs/batchJobsList.js.map +1 -1
  18. package/jsr.json +1 -1
  19. package/lib/config.d.ts +2 -2
  20. package/lib/config.js +2 -2
  21. package/lib/config.js.map +1 -1
  22. package/models/components/audiochunk.d.ts +54 -0
  23. package/models/components/audiochunk.d.ts.map +1 -0
  24. package/models/components/audiochunk.js +88 -0
  25. package/models/components/audiochunk.js.map +1 -0
  26. package/models/components/audiotranscriptionrequest.d.ts +57 -0
  27. package/models/components/audiotranscriptionrequest.d.ts.map +1 -0
  28. package/models/components/audiotranscriptionrequest.js +91 -0
  29. package/models/components/audiotranscriptionrequest.js.map +1 -0
  30. package/models/components/audiotranscriptionrequeststream.d.ts +57 -0
  31. package/models/components/audiotranscriptionrequeststream.d.ts.map +1 -0
  32. package/models/components/audiotranscriptionrequeststream.js +91 -0
  33. package/models/components/audiotranscriptionrequeststream.js.map +1 -0
  34. package/models/components/basemodelcard.d.ts +7 -7
  35. package/models/components/basemodelcard.d.ts.map +1 -1
  36. package/models/components/basemodelcard.js +11 -11
  37. package/models/components/basemodelcard.js.map +1 -1
  38. package/models/components/batchjobin.d.ts +4 -2
  39. package/models/components/batchjobin.d.ts.map +1 -1
  40. package/models/components/batchjobin.js +6 -2
  41. package/models/components/batchjobin.js.map +1 -1
  42. package/models/components/batchjobout.d.ts +4 -2
  43. package/models/components/batchjobout.d.ts.map +1 -1
  44. package/models/components/batchjobout.js +6 -2
  45. package/models/components/batchjobout.js.map +1 -1
  46. package/models/components/classifierftmodelout.d.ts +4 -0
  47. package/models/components/classifierftmodelout.d.ts.map +1 -1
  48. package/models/components/classifierftmodelout.js +8 -0
  49. package/models/components/classifierftmodelout.js.map +1 -1
  50. package/models/components/completionargs.d.ts +2 -2
  51. package/models/components/completionargs.d.ts.map +1 -1
  52. package/models/components/completionargs.js +2 -2
  53. package/models/components/completionargs.js.map +1 -1
  54. package/models/components/completionftmodelout.d.ts +4 -0
  55. package/models/components/completionftmodelout.d.ts.map +1 -1
  56. package/models/components/completionftmodelout.js +8 -0
  57. package/models/components/completionftmodelout.js.map +1 -1
  58. package/models/components/contentchunk.d.ts +10 -0
  59. package/models/components/contentchunk.d.ts.map +1 -1
  60. package/models/components/contentchunk.js +14 -0
  61. package/models/components/contentchunk.js.map +1 -1
  62. package/models/components/fileschema.d.ts +4 -0
  63. package/models/components/fileschema.d.ts.map +1 -1
  64. package/models/components/fileschema.js +4 -0
  65. package/models/components/fileschema.js.map +1 -1
  66. package/models/components/index.d.ts +13 -0
  67. package/models/components/index.d.ts.map +1 -1
  68. package/models/components/index.js +13 -0
  69. package/models/components/index.js.map +1 -1
  70. package/models/components/messageoutputcontentchunks.d.ts +3 -2
  71. package/models/components/messageoutputcontentchunks.d.ts.map +1 -1
  72. package/models/components/messageoutputcontentchunks.js +3 -0
  73. package/models/components/messageoutputcontentchunks.js.map +1 -1
  74. package/models/components/outputcontentchunks.d.ts +3 -2
  75. package/models/components/outputcontentchunks.d.ts.map +1 -1
  76. package/models/components/outputcontentchunks.js +3 -0
  77. package/models/components/outputcontentchunks.js.map +1 -1
  78. package/models/components/retrievefileout.d.ts +4 -0
  79. package/models/components/retrievefileout.d.ts.map +1 -1
  80. package/models/components/retrievefileout.js +4 -0
  81. package/models/components/retrievefileout.js.map +1 -1
  82. package/models/components/thinkchunk.d.ts +82 -0
  83. package/models/components/thinkchunk.d.ts.map +1 -0
  84. package/models/components/thinkchunk.js +106 -0
  85. package/models/components/thinkchunk.js.map +1 -0
  86. package/models/components/timestampgranularity.d.ts +25 -0
  87. package/models/components/timestampgranularity.d.ts.map +1 -0
  88. package/models/components/timestampgranularity.js +49 -0
  89. package/models/components/timestampgranularity.js.map +1 -0
  90. package/models/components/transcriptionresponse.d.ts +43 -0
  91. package/models/components/transcriptionresponse.d.ts.map +1 -0
  92. package/models/components/transcriptionresponse.js +78 -0
  93. package/models/components/transcriptionresponse.js.map +1 -0
  94. package/models/components/transcriptionsegmentchunk.d.ts +62 -0
  95. package/models/components/transcriptionsegmentchunk.d.ts.map +1 -0
  96. package/models/components/transcriptionsegmentchunk.js +92 -0
  97. package/models/components/transcriptionsegmentchunk.js.map +1 -0
  98. package/models/components/transcriptionstreamdone.d.ts +68 -0
  99. package/models/components/transcriptionstreamdone.d.ts.map +1 -0
  100. package/models/components/transcriptionstreamdone.js +98 -0
  101. package/models/components/transcriptionstreamdone.js.map +1 -0
  102. package/models/components/transcriptionstreamevents.d.ts +89 -0
  103. package/models/components/transcriptionstreamevents.d.ts.map +1 -0
  104. package/models/components/transcriptionstreamevents.js +138 -0
  105. package/models/components/transcriptionstreamevents.js.map +1 -0
  106. package/models/components/transcriptionstreameventtypes.d.ts +34 -0
  107. package/models/components/transcriptionstreameventtypes.d.ts.map +1 -0
  108. package/models/components/transcriptionstreameventtypes.js +52 -0
  109. package/models/components/transcriptionstreameventtypes.js.map +1 -0
  110. package/models/components/transcriptionstreamlanguage.d.ts +58 -0
  111. package/models/components/transcriptionstreamlanguage.d.ts.map +1 -0
  112. package/models/components/transcriptionstreamlanguage.js +93 -0
  113. package/models/components/transcriptionstreamlanguage.js.map +1 -0
  114. package/models/components/transcriptionstreamsegmentdelta.d.ts +62 -0
  115. package/models/components/transcriptionstreamsegmentdelta.d.ts.map +1 -0
  116. package/models/components/transcriptionstreamsegmentdelta.js +92 -0
  117. package/models/components/transcriptionstreamsegmentdelta.js.map +1 -0
  118. package/models/components/transcriptionstreamtextdelta.d.ts +58 -0
  119. package/models/components/transcriptionstreamtextdelta.d.ts.map +1 -0
  120. package/models/components/transcriptionstreamtextdelta.js +88 -0
  121. package/models/components/transcriptionstreamtextdelta.js.map +1 -0
  122. package/models/components/uploadfileout.d.ts +4 -0
  123. package/models/components/uploadfileout.d.ts.map +1 -1
  124. package/models/components/uploadfileout.js +4 -0
  125. package/models/components/uploadfileout.js.map +1 -1
  126. package/models/components/usageinfo.d.ts +9 -3
  127. package/models/components/usageinfo.d.ts.map +1 -1
  128. package/models/components/usageinfo.js +22 -13
  129. package/models/components/usageinfo.js.map +1 -1
  130. package/models/operations/jobsapiroutesbatchgetbatchjobs.d.ts +2 -0
  131. package/models/operations/jobsapiroutesbatchgetbatchjobs.d.ts.map +1 -1
  132. package/models/operations/jobsapiroutesbatchgetbatchjobs.js +4 -0
  133. package/models/operations/jobsapiroutesbatchgetbatchjobs.js.map +1 -1
  134. package/package.json +1 -1
  135. package/sdk/audio.d.ts +7 -0
  136. package/sdk/audio.d.ts.map +1 -0
  137. package/sdk/audio.js +15 -0
  138. package/sdk/audio.js.map +1 -0
  139. package/sdk/sdk.d.ts +3 -0
  140. package/sdk/sdk.d.ts.map +1 -1
  141. package/sdk/sdk.js +4 -0
  142. package/sdk/sdk.js.map +1 -1
  143. package/sdk/transcriptions.d.ts +14 -0
  144. package/sdk/transcriptions.d.ts.map +1 -0
  145. package/sdk/transcriptions.js +26 -0
  146. package/sdk/transcriptions.js.map +1 -0
  147. package/src/funcs/audioTranscriptionsComplete.ts +193 -0
  148. package/src/funcs/audioTranscriptionsStream.ts +207 -0
  149. package/src/funcs/batchJobsList.ts +1 -0
  150. package/src/lib/config.ts +2 -2
  151. package/src/models/components/audiochunk.ts +102 -0
  152. package/src/models/components/audiotranscriptionrequest.ts +133 -0
  153. package/src/models/components/audiotranscriptionrequeststream.ts +135 -0
  154. package/src/models/components/basemodelcard.ts +13 -12
  155. package/src/models/components/batchjobin.ts +10 -4
  156. package/src/models/components/batchjobout.ts +10 -4
  157. package/src/models/components/classifierftmodelout.ts +12 -0
  158. package/src/models/components/completionargs.ts +4 -4
  159. package/src/models/components/completionftmodelout.ts +12 -0
  160. package/src/models/components/contentchunk.ts +38 -2
  161. package/src/models/components/fileschema.ts +8 -0
  162. package/src/models/components/index.ts +13 -0
  163. package/src/models/components/messageoutputcontentchunks.ts +10 -0
  164. package/src/models/components/outputcontentchunks.ts +10 -0
  165. package/src/models/components/retrievefileout.ts +8 -0
  166. package/src/models/components/thinkchunk.ts +162 -0
  167. package/src/models/components/timestampgranularity.ts +32 -0
  168. package/src/models/components/transcriptionresponse.ts +112 -0
  169. package/src/models/components/transcriptionsegmentchunk.ts +122 -0
  170. package/src/models/components/transcriptionstreamdone.ts +149 -0
  171. package/src/models/components/transcriptionstreamevents.ts +273 -0
  172. package/src/models/components/transcriptionstreameventtypes.ts +37 -0
  173. package/src/models/components/transcriptionstreamlanguage.ts +128 -0
  174. package/src/models/components/transcriptionstreamsegmentdelta.ts +133 -0
  175. package/src/models/components/transcriptionstreamtextdelta.ts +123 -0
  176. package/src/models/components/uploadfileout.ts +8 -0
  177. package/src/models/components/usageinfo.ts +37 -17
  178. package/src/models/operations/jobsapiroutesbatchgetbatchjobs.ts +6 -0
  179. package/src/sdk/audio.ts +13 -0
  180. package/src/sdk/sdk.ts +6 -0
  181. package/src/sdk/transcriptions.ts +40 -0
@@ -0,0 +1,43 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { TranscriptionSegmentChunk, TranscriptionSegmentChunk$Outbound } from "./transcriptionsegmentchunk.js";
5
+ import { UsageInfo, UsageInfo$Outbound } from "./usageinfo.js";
6
+ export type TranscriptionResponse = {
7
+ model: string;
8
+ text: string;
9
+ segments?: Array<TranscriptionSegmentChunk> | undefined;
10
+ usage: UsageInfo;
11
+ language: string | null;
12
+ additionalProperties?: {
13
+ [k: string]: any;
14
+ };
15
+ };
16
+ /** @internal */
17
+ export declare const TranscriptionResponse$inboundSchema: z.ZodType<TranscriptionResponse, z.ZodTypeDef, unknown>;
18
+ /** @internal */
19
+ export type TranscriptionResponse$Outbound = {
20
+ model: string;
21
+ text: string;
22
+ segments?: Array<TranscriptionSegmentChunk$Outbound> | undefined;
23
+ usage: UsageInfo$Outbound;
24
+ language: string | null;
25
+ [additionalProperties: string]: unknown;
26
+ };
27
+ /** @internal */
28
+ export declare const TranscriptionResponse$outboundSchema: z.ZodType<TranscriptionResponse$Outbound, z.ZodTypeDef, TranscriptionResponse>;
29
+ /**
30
+ * @internal
31
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
32
+ */
33
+ export declare namespace TranscriptionResponse$ {
34
+ /** @deprecated use `TranscriptionResponse$inboundSchema` instead. */
35
+ const inboundSchema: z.ZodType<TranscriptionResponse, z.ZodTypeDef, unknown>;
36
+ /** @deprecated use `TranscriptionResponse$outboundSchema` instead. */
37
+ const outboundSchema: z.ZodType<TranscriptionResponse$Outbound, z.ZodTypeDef, TranscriptionResponse>;
38
+ /** @deprecated use `TranscriptionResponse$Outbound` instead. */
39
+ type Outbound = TranscriptionResponse$Outbound;
40
+ }
41
+ export declare function transcriptionResponseToJSON(transcriptionResponse: TranscriptionResponse): string;
42
+ export declare function transcriptionResponseFromJSON(jsonString: string): SafeParseResult<TranscriptionResponse, SDKValidationError>;
43
+ //# sourceMappingURL=transcriptionresponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcriptionresponse.d.ts","sourceR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AAqB,CAerB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,sBAAsB,CAAC;IACtC,qEAAqE;IAC9D,MAAM,aAAa,yDAAsC,CAAC;IACjE,sEAAsE;IAC/D,MAAM,cAAc,gFAAuC,CAAC;IACnE,gEAAgE;IAChE,KAAY,QAAQ,GAAG,8BAA8B,CAAC;CACvD;AAED,wBAAgB,2BAA2B,CACzC,qBAAqB,EAAE,qBAAqB,GAC3C,MAAM,CAIR;AAED,wBAAgB,6BAA6B,CAC3C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,qBAAqB,EAAE,kBAAkB,CAAC,CAM5D"}
@@ -0,0 +1,78 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TranscriptionResponse$ = exports.TranscriptionResponse$outboundSchema = exports.TranscriptionResponse$inboundSchema = void 0;
30
+ exports.transcriptionResponseToJSON = transcriptionResponseToJSON;
31
+ exports.transcriptionResponseFromJSON = transcriptionResponseFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../lib/schemas.js");
35
+ const transcriptionsegmentchunk_js_1 = require("./transcriptionsegmentchunk.js");
36
+ const usageinfo_js_1 = require("./usageinfo.js");
37
+ /** @internal */
38
+ exports.TranscriptionResponse$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
39
+ model: z.string(),
40
+ text: z.string(),
41
+ segments: z.array(transcriptionsegmentchunk_js_1.TranscriptionSegmentChunk$inboundSchema).optional(),
42
+ usage: usageinfo_js_1.UsageInfo$inboundSchema,
43
+ language: z.nullable(z.string()),
44
+ }).catchall(z.any()), "additionalProperties", true);
45
+ /** @internal */
46
+ exports.TranscriptionResponse$outboundSchema = z.object({
47
+ model: z.string(),
48
+ text: z.string(),
49
+ segments: z.array(transcriptionsegmentchunk_js_1.TranscriptionSegmentChunk$outboundSchema).optional(),
50
+ usage: usageinfo_js_1.UsageInfo$outboundSchema,
51
+ language: z.nullable(z.string()),
52
+ additionalProperties: z.record(z.any()),
53
+ }).transform((v) => {
54
+ return {
55
+ ...v.additionalProperties,
56
+ ...(0, primitives_js_1.remap)(v, {
57
+ additionalProperties: null,
58
+ }),
59
+ };
60
+ });
61
+ /**
62
+ * @internal
63
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
64
+ */
65
+ var TranscriptionResponse$;
66
+ (function (TranscriptionResponse$) {
67
+ /** @deprecated use `TranscriptionResponse$inboundSchema` instead. */
68
+ TranscriptionResponse$.inboundSchema = exports.TranscriptionResponse$inboundSchema;
69
+ /** @deprecated use `TranscriptionResponse$outboundSchema` instead. */
70
+ TranscriptionResponse$.outboundSchema = exports.TranscriptionResponse$outboundSchema;
71
+ })(TranscriptionResponse$ || (exports.TranscriptionResponse$ = TranscriptionResponse$ = {}));
72
+ function transcriptionResponseToJSON(transcriptionResponse) {
73
+ return JSON.stringify(exports.TranscriptionResponse$outboundSchema.parse(transcriptionResponse));
74
+ }
75
+ function transcriptionResponseFromJSON(jsonString) {
76
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TranscriptionResponse$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TranscriptionResponse' from JSON`);
77
+ }
78
+ //# sourceMappingURL=transcriptionresponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcriptionresponse.js","sourceRoot":"","sources":["../../src/models/components/transcriptionresponse.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AA6FH,kEAMC;AAED,sEAQC;AA3GD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAG8B;AAG9B,iFAKwC;AACxC,iDAKwB;AAWxB,gBAAgB;AACH,QAAA,mCAAmC,GAI5C,IAAA,6BAAiB,EACnB,CAAC,CAAC,MAAM,CAAC;IACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,sEAAuC,CAAC,CAAC,QAAQ,EAAE;IACrE,KAAK,EAAE,sCAAuB;IAC9B,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;CACjC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC,EACpB,sBAAsB,EACtB,IAAI,CACL,CAAC;AAYF,gBAAgB;AACH,QAAA,oCAAoC,GAI7C,CAAC,CAAC,MAAM,CAAC;IACX,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,uEAAwC,CAAC,CAAC,QAAQ,EAAE;IACtE,KAAK,EAAE,uCAAwB;IAC/B,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IAChC,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACxC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO;QACL,GAAG,CAAC,CAAC,oBAAoB;QACzB,GAAG,IAAA,qBAAM,EAAC,CAAC,EAAE;YACX,oBAAoB,EAAE,IAAI;SAC3B,CAAC;KACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,sBAAsB,CAOtC;AAPD,WAAiB,sBAAsB;IACrC,qEAAqE;IACxD,oCAAa,GAAG,2CAAmC,CAAC;IACjE,sEAAsE;IACzD,qCAAc,GAAG,4CAAoC,CAAC;AAGrE,CAAC,EAPgB,sBAAsB,sCAAtB,sBAAsB,QAOtC;AAED,SAAgB,2BAA2B,CACzC,qBAA4C;IAE5C,OAAO,IAAI,CAAC,SAAS,CACnB,4CAAoC,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAClE,CAAC;AACJ,CAAC;AAED,SAAgB,6BAA6B,CAC3C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,2CAAmC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC/D,mDAAmD,CACpD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,62 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ export declare const Type: {
6
+ readonly TranscriptionSegment: "transcription_segment";
7
+ };
8
+ export type Type = ClosedEnum<typeof Type>;
9
+ export type TranscriptionSegmentChunk = {
10
+ text: string;
11
+ start: number;
12
+ end: number;
13
+ type?: Type | undefined;
14
+ additionalProperties?: {
15
+ [k: string]: any;
16
+ };
17
+ };
18
+ /** @internal */
19
+ export declare const Type$inboundSchema: z.ZodNativeEnum<typeof Type>;
20
+ /** @internal */
21
+ export declare const Type$outboundSchema: z.ZodNativeEnum<typeof Type>;
22
+ /**
23
+ * @internal
24
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
25
+ */
26
+ export declare namespace Type$ {
27
+ /** @deprecated use `Type$inboundSchema` instead. */
28
+ const inboundSchema: z.ZodNativeEnum<{
29
+ readonly TranscriptionSegment: "transcription_segment";
30
+ }>;
31
+ /** @deprecated use `Type$outboundSchema` instead. */
32
+ const outboundSchema: z.ZodNativeEnum<{
33
+ readonly TranscriptionSegment: "transcription_segment";
34
+ }>;
35
+ }
36
+ /** @internal */
37
+ export declare const TranscriptionSegmentChunk$inboundSchema: z.ZodType<TranscriptionSegmentChunk, z.ZodTypeDef, unknown>;
38
+ /** @internal */
39
+ export type TranscriptionSegmentChunk$Outbound = {
40
+ text: string;
41
+ start: number;
42
+ end: number;
43
+ type: string;
44
+ [additionalProperties: string]: unknown;
45
+ };
46
+ /** @internal */
47
+ export declare const TranscriptionSegmentChunk$outboundSchema: z.ZodType<TranscriptionSegmentChunk$Outbound, z.ZodTypeDef, TranscriptionSegmentChunk>;
48
+ /**
49
+ * @internal
50
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
51
+ */
52
+ export declare namespace TranscriptionSegmentChunk$ {
53
+ /** @deprecated use `TranscriptionSegmentChunk$inboundSchema` instead. */
54
+ const inboundSchema: z.ZodType<TranscriptionSegmentChunk, z.ZodTypeDef, unknown>;
55
+ /** @deprecated use `TranscriptionSegmentChunk$outboundSchema` instead. */
56
+ const outboundSchema: z.ZodType<TranscriptionSegmentChunk$Outbound, z.ZodTypeDef, TranscriptionSegmentChunk>;
57
+ /** @deprecated use `TranscriptionSegmentChunk$Outbound` instead. */
58
+ type Outbound = TranscriptionSegmentChunk$Outbound;
59
+ }
60
+ export declare function transcriptionSegmentChunkToJSON(transcriptionSegmentChunk: TranscriptionSegmentChunk): string;
61
+ export declare function transcriptionSegmentChunkFromJSON(jsonString: string): SafeParseResult<TranscriptionSegmentChunk, SDKValidationError>;
62
+ //# sourceMappingURL=transcriptionsegmentchunk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcriptionsegmentchunk.d.ts","sourceRoot":"","sources":["../../src/models/components/transcriptionsegmentchunk.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,eAAO,MAAM,IAAI;;CAEP,CAAC;AACX,MAAM,MAAM,IAAI,GAAG,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC;AAE3C,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,IAAI,GAAG,SAAS,CAAC;IACxB,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;CAC7C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,kBAAkB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CAE3D,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mBAAmB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,IAAI,CACzC,CAAC;AAErB;;;GAGG;AACH,yBAAiB,KAAK,CAAC;IACrB,oDAAoD;IAC7C,MAAM,aAAa;;MAAqB,CAAC;IAChD,qDAAqD;IAC9C,MAAM,cAAc;;MAAsB,CAAC;CACnD;AAED,gBAAgB;AAChB,eAAO,MAAM,uCAAuC,EAAE,CAAC,CAAC,OAAO,CAC7D,yBAAyB,EACzB,CAAC,CAAC,UAAU,EACZ,OAAO,CAUR,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,kCAAkC,GAAG;IAC/C,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;IACb,CAAC,oBAAoB,EAAE,MAAM,GAAG,OAAO,CAAC;CACzC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,kCAAkC,EAClC,CAAC,CAAC,UAAU,EACZ,yBAAyB,CAczB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,0BAA0B,CAAC;IAC1C,yEAAyE;IAClE,MAAM,aAAa,6DAA0C,CAAC;IACrE,0EAA0E;IACnE,MAAM,cAAc,wFAA2C,CAAC;IACvE,oEAAoE;IACpE,KAAY,QAAQ,GAAG,kCAAkC,CAAC;CAC3D;AAED,wBAAgB,+BAA+B,CAC7C,yBAAyB,EAAE,yBAAyB,GACnD,MAAM,CAIR;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,yBAAyB,EAAE,kBAAkB,CAAC,CAMhE"}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TranscriptionSegmentChunk$ = exports.TranscriptionSegmentChunk$outboundSchema = exports.TranscriptionSegmentChunk$inboundSchema = exports.Type$ = exports.Type$outboundSchema = exports.Type$inboundSchema = exports.Type = void 0;
30
+ exports.transcriptionSegmentChunkToJSON = transcriptionSegmentChunkToJSON;
31
+ exports.transcriptionSegmentChunkFromJSON = transcriptionSegmentChunkFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../lib/schemas.js");
35
+ exports.Type = {
36
+ TranscriptionSegment: "transcription_segment",
37
+ };
38
+ /** @internal */
39
+ exports.Type$inboundSchema = z.nativeEnum(exports.Type);
40
+ /** @internal */
41
+ exports.Type$outboundSchema = exports.Type$inboundSchema;
42
+ /**
43
+ * @internal
44
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
45
+ */
46
+ var Type$;
47
+ (function (Type$) {
48
+ /** @deprecated use `Type$inboundSchema` instead. */
49
+ Type$.inboundSchema = exports.Type$inboundSchema;
50
+ /** @deprecated use `Type$outboundSchema` instead. */
51
+ Type$.outboundSchema = exports.Type$outboundSchema;
52
+ })(Type$ || (exports.Type$ = Type$ = {}));
53
+ /** @internal */
54
+ exports.TranscriptionSegmentChunk$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
55
+ text: z.string(),
56
+ start: z.number(),
57
+ end: z.number(),
58
+ type: exports.Type$inboundSchema.default("transcription_segment"),
59
+ }).catchall(z.any()), "additionalProperties", true);
60
+ /** @internal */
61
+ exports.TranscriptionSegmentChunk$outboundSchema = z.object({
62
+ text: z.string(),
63
+ start: z.number(),
64
+ end: z.number(),
65
+ type: exports.Type$outboundSchema.default("transcription_segment"),
66
+ additionalProperties: z.record(z.any()),
67
+ }).transform((v) => {
68
+ return {
69
+ ...v.additionalProperties,
70
+ ...(0, primitives_js_1.remap)(v, {
71
+ additionalProperties: null,
72
+ }),
73
+ };
74
+ });
75
+ /**
76
+ * @internal
77
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
78
+ */
79
+ var TranscriptionSegmentChunk$;
80
+ (function (TranscriptionSegmentChunk$) {
81
+ /** @deprecated use `TranscriptionSegmentChunk$inboundSchema` instead. */
82
+ TranscriptionSegmentChunk$.inboundSchema = exports.TranscriptionSegmentChunk$inboundSchema;
83
+ /** @deprecated use `TranscriptionSegmentChunk$outboundSchema` instead. */
84
+ TranscriptionSegmentChunk$.outboundSchema = exports.TranscriptionSegmentChunk$outboundSchema;
85
+ })(TranscriptionSegmentChunk$ || (exports.TranscriptionSegmentChunk$ = TranscriptionSegmentChunk$ = {}));
86
+ function transcriptionSegmentChunkToJSON(transcriptionSegmentChunk) {
87
+ return JSON.stringify(exports.TranscriptionSegmentChunk$outboundSchema.parse(transcriptionSegmentChunk));
88
+ }
89
+ function transcriptionSegmentChunkFromJSON(jsonString) {
90
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TranscriptionSegmentChunk$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TranscriptionSegmentChunk' from JSON`);
91
+ }
92
+ //# sourceMappingURL=transcriptionsegmentchunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcriptionsegmentchunk.js","sourceRoot":"","sources":["../../src/models/components/transcriptionsegmentchunk.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;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,OAAO;QACL,GAAG,CAAC,CAAC,oBAAoB;QACzB,GAAG,IAAA,qBAAM,EAAC,CAAC,EAAE;YACX,oBAAoB,EAAE,IAAI;SAC3B,CAAC;KACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,0BAA0B,CAO1C;AAPD,WAAiB,0BAA0B;IACzC,yEAAyE;IAC5D,wCAAa,GAAG,+CAAuC,CAAC;IACrE,0EAA0E;IAC7D,yCAAc,GAAG,gDAAwC,CAAC;AAGzE,CAAC,EAPgB,0BAA0B,0CAA1B,0BAA0B,QAO1C;AAED,SAAgB,+BAA+B,CAC7C,yBAAoD;IAEpD,OAAO,IAAI,CAAC,SAAS,CACnB,gDAAwC,CAAC,KAAK,CAAC,yBAAyB,CAAC,CAC1E,CAAC;AACJ,CAAC;AAED,SAAgB,iCAAiC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,+CAAuC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACnE,uDAAuD,CACxD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,68 @@
1
+ import * as z from "zod";
2
+ import { ClosedEnum } from "../../types/enums.js";
3
+ import { Result as SafeParseResult } from "../../types/fp.js";
4
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
5
+ import { TranscriptionSegmentChunk, TranscriptionSegmentChunk$Outbound } from "./transcriptionsegmentchunk.js";
6
+ import { UsageInfo, UsageInfo$Outbound } from "./usageinfo.js";
7
+ export declare const TranscriptionStreamDoneType: {
8
+ readonly TranscriptionDone: "transcription.done";
9
+ };
10
+ export type TranscriptionStreamDoneType = ClosedEnum<typeof TranscriptionStreamDoneType>;
11
+ export type TranscriptionStreamDone = {
12
+ model: string;
13
+ text: string;
14
+ segments?: Array<TranscriptionSegmentChunk> | undefined;
15
+ usage: UsageInfo;
16
+ type?: TranscriptionStreamDoneType | undefined;
17
+ language: string | null;
18
+ additionalProperties?: {
19
+ [k: string]: any;
20
+ };
21
+ };
22
+ /** @internal */
23
+ export declare const TranscriptionStreamDoneType$inboundSchema: z.ZodNativeEnum<typeof TranscriptionStreamDoneType>;
24
+ /** @internal */
25
+ export declare const TranscriptionStreamDoneType$outboundSchema: z.ZodNativeEnum<typeof TranscriptionStreamDoneType>;
26
+ /**
27
+ * @internal
28
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
29
+ */
30
+ export declare namespace TranscriptionStreamDoneType$ {
31
+ /** @deprecated use `TranscriptionStreamDoneType$inboundSchema` instead. */
32
+ const inboundSchema: z.ZodNativeEnum<{
33
+ readonly TranscriptionDone: "transcription.done";
34
+ }>;
35
+ /** @deprecated use `TranscriptionStreamDoneType$outboundSchema` instead. */
36
+ const outboundSchema: z.ZodNativeEnum<{
37
+ readonly TranscriptionDone: "transcription.done";
38
+ }>;
39
+ }
40
+ /** @internal */
41
+ export declare const TranscriptionStreamDone$inboundSchema: z.ZodType<TranscriptionStreamDone, z.ZodTypeDef, unknown>;
42
+ /** @internal */
43
+ export type TranscriptionStreamDone$Outbound = {
44
+ model: string;
45
+ text: string;
46
+ segments?: Array<TranscriptionSegmentChunk$Outbound> | undefined;
47
+ usage: UsageInfo$Outbound;
48
+ type: string;
49
+ language: string | null;
50
+ [additionalProperties: string]: unknown;
51
+ };
52
+ /** @internal */
53
+ export declare const TranscriptionStreamDone$outboundSchema: z.ZodType<TranscriptionStreamDone$Outbound, z.ZodTypeDef, TranscriptionStreamDone>;
54
+ /**
55
+ * @internal
56
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
57
+ */
58
+ export declare namespace TranscriptionStreamDone$ {
59
+ /** @deprecated use `TranscriptionStreamDone$inboundSchema` instead. */
60
+ const inboundSchema: z.ZodType<TranscriptionStreamDone, z.ZodTypeDef, unknown>;
61
+ /** @deprecated use `TranscriptionStreamDone$outboundSchema` instead. */
62
+ const outboundSchema: z.ZodType<TranscriptionStreamDone$Outbound, z.ZodTypeDef, TranscriptionStreamDone>;
63
+ /** @deprecated use `TranscriptionStreamDone$Outbound` instead. */
64
+ type Outbound = TranscriptionStreamDone$Outbound;
65
+ }
66
+ export declare function transcriptionStreamDoneToJSON(transcriptionStreamDone: TranscriptionStreamDone): string;
67
+ export declare function transcriptionStreamDoneFromJSON(jsonString: string): SafeParseResult<TranscriptionStreamDone, SDKValidationError>;
68
+ //# sourceMappingURL=transcriptionstreamdone.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcriptionstreamdone.d.ts","sourceRoot":"","sources":["../../src/models/components/transcriptionstreamdone.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAMzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,yBAAyB,EAEzB,kCAAkC,EAEnC,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,SAAS,EAET,kBAAkB,EAEnB,MAAM,gBAAgB,CAAC;AAExB,eAAO,MAAM,2BAA2B;;CAE9B,CAAC;AACX,MAAM,MAAM,2BAA2B,GAAG,UAAU,CAClD,OAAO,2BAA2B,CACnC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,KAAK,CAAC,yBAAyB,CAAC,GAAG,SAAS,CAAC;IACxD,KAAK,EAAE,SAAS,CAAC;IACjB,IAAI,CAAC,EAAE,2BAA2B,GAAG,SAAS,CAAC;IAC/C,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,oBAAoB,CAAC,EAAE;QAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG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MAAM,CAIR;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,uBAAuB,EAAE,kBAAkB,CAAC,CAM9D"}
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ /*
3
+ * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.TranscriptionStreamDone$ = exports.TranscriptionStreamDone$outboundSchema = exports.TranscriptionStreamDone$inboundSchema = exports.TranscriptionStreamDoneType$ = exports.TranscriptionStreamDoneType$outboundSchema = exports.TranscriptionStreamDoneType$inboundSchema = exports.TranscriptionStreamDoneType = void 0;
30
+ exports.transcriptionStreamDoneToJSON = transcriptionStreamDoneToJSON;
31
+ exports.transcriptionStreamDoneFromJSON = transcriptionStreamDoneFromJSON;
32
+ const z = __importStar(require("zod"));
33
+ const primitives_js_1 = require("../../lib/primitives.js");
34
+ const schemas_js_1 = require("../../lib/schemas.js");
35
+ const transcriptionsegmentchunk_js_1 = require("./transcriptionsegmentchunk.js");
36
+ const usageinfo_js_1 = require("./usageinfo.js");
37
+ exports.TranscriptionStreamDoneType = {
38
+ TranscriptionDone: "transcription.done",
39
+ };
40
+ /** @internal */
41
+ exports.TranscriptionStreamDoneType$inboundSchema = z.nativeEnum(exports.TranscriptionStreamDoneType);
42
+ /** @internal */
43
+ exports.TranscriptionStreamDoneType$outboundSchema = exports.TranscriptionStreamDoneType$inboundSchema;
44
+ /**
45
+ * @internal
46
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
+ */
48
+ var TranscriptionStreamDoneType$;
49
+ (function (TranscriptionStreamDoneType$) {
50
+ /** @deprecated use `TranscriptionStreamDoneType$inboundSchema` instead. */
51
+ TranscriptionStreamDoneType$.inboundSchema = exports.TranscriptionStreamDoneType$inboundSchema;
52
+ /** @deprecated use `TranscriptionStreamDoneType$outboundSchema` instead. */
53
+ TranscriptionStreamDoneType$.outboundSchema = exports.TranscriptionStreamDoneType$outboundSchema;
54
+ })(TranscriptionStreamDoneType$ || (exports.TranscriptionStreamDoneType$ = TranscriptionStreamDoneType$ = {}));
55
+ /** @internal */
56
+ exports.TranscriptionStreamDone$inboundSchema = (0, schemas_js_1.collectExtraKeys)(z.object({
57
+ model: z.string(),
58
+ text: z.string(),
59
+ segments: z.array(transcriptionsegmentchunk_js_1.TranscriptionSegmentChunk$inboundSchema).optional(),
60
+ usage: usageinfo_js_1.UsageInfo$inboundSchema,
61
+ type: exports.TranscriptionStreamDoneType$inboundSchema.default("transcription.done"),
62
+ language: z.nullable(z.string()),
63
+ }).catchall(z.any()), "additionalProperties", true);
64
+ /** @internal */
65
+ exports.TranscriptionStreamDone$outboundSchema = z.object({
66
+ model: z.string(),
67
+ text: z.string(),
68
+ segments: z.array(transcriptionsegmentchunk_js_1.TranscriptionSegmentChunk$outboundSchema).optional(),
69
+ usage: usageinfo_js_1.UsageInfo$outboundSchema,
70
+ type: exports.TranscriptionStreamDoneType$outboundSchema.default("transcription.done"),
71
+ language: z.nullable(z.string()),
72
+ additionalProperties: z.record(z.any()),
73
+ }).transform((v) => {
74
+ return {
75
+ ...v.additionalProperties,
76
+ ...(0, primitives_js_1.remap)(v, {
77
+ additionalProperties: null,
78
+ }),
79
+ };
80
+ });
81
+ /**
82
+ * @internal
83
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
84
+ */
85
+ var TranscriptionStreamDone$;
86
+ (function (TranscriptionStreamDone$) {
87
+ /** @deprecated use `TranscriptionStreamDone$inboundSchema` instead. */
88
+ TranscriptionStreamDone$.inboundSchema = exports.TranscriptionStreamDone$inboundSchema;
89
+ /** @deprecated use `TranscriptionStreamDone$outboundSchema` instead. */
90
+ TranscriptionStreamDone$.outboundSchema = exports.TranscriptionStreamDone$outboundSchema;
91
+ })(TranscriptionStreamDone$ || (exports.TranscriptionStreamDone$ = TranscriptionStreamDone$ = {}));
92
+ function transcriptionStreamDoneToJSON(transcriptionStreamDone) {
93
+ return JSON.stringify(exports.TranscriptionStreamDone$outboundSchema.parse(transcriptionStreamDone));
94
+ }
95
+ function transcriptionStreamDoneFromJSON(jsonString) {
96
+ return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.TranscriptionStreamDone$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'TranscriptionStreamDone' from JSON`);
97
+ }
98
+ //# sourceMappingURL=transcriptionstreamdone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcriptionstreamdone.js","sourceRoot":"","sources":["../../src/models/components/transcriptionstreamdone.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;AAkIH,sEAMC;AAED,0EAQC;AAhJD,uCAAyB;AACzB,2DAA0D;AAC1D,qDAG8B;AAI9B,iFAKwC;AACxC,iDAKwB;AAEX,QAAA,2BAA2B,GAAG;IACzC,iBAAiB,EAAE,oBAAoB;CAC/B,CAAC;AAeX,g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AAC;IAChC,oBAAoB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,CAAC;CACxC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO;QACL,GAAG,CAAC,CAAC,oBAAoB;QACzB,GAAG,IAAA,qBAAM,EAAC,CAAC,EAAE;YACX,oBAAoB,EAAE,IAAI;SAC3B,CAAC;KACH,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH;;;GAGG;AACH,IAAiB,wBAAwB,CAOxC;AAPD,WAAiB,wBAAwB;IACvC,uEAAuE;IAC1D,sCAAa,GAAG,6CAAqC,CAAC;IACnE,wEAAwE;IAC3D,uCAAc,GAAG,8CAAsC,CAAC;AAGvE,CAAC,EAPgB,wBAAwB,wCAAxB,wBAAwB,QAOxC;AAED,SAAgB,6BAA6B,CAC3C,uBAAgD;IAEhD,OAAO,IAAI,CAAC,SAAS,CACnB,8CAAsC,CAAC,KAAK,CAAC,uBAAuB,CAAC,CACtE,CAAC;AACJ,CAAC;AAED,SAAgB,+BAA+B,CAC7C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,6CAAqC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACjE,qDAAqD,CACtD,CAAC;AACJ,CAAC"}
@@ -0,0 +1,89 @@
1
+ import * as z from "zod";
2
+ import { Result as SafeParseResult } from "../../types/fp.js";
3
+ import { SDKValidationError } from "../errors/sdkvalidationerror.js";
4
+ import { TranscriptionStreamDone, TranscriptionStreamDone$Outbound } from "./transcriptionstreamdone.js";
5
+ import { TranscriptionStreamEventTypes } from "./transcriptionstreameventtypes.js";
6
+ import { TranscriptionStreamLanguage, TranscriptionStreamLanguage$Outbound } from "./transcriptionstreamlanguage.js";
7
+ import { TranscriptionStreamSegmentDelta, TranscriptionStreamSegmentDelta$Outbound } from "./transcriptionstreamsegmentdelta.js";
8
+ import { TranscriptionStreamTextDelta, TranscriptionStreamTextDelta$Outbound } from "./transcriptionstreamtextdelta.js";
9
+ export type TranscriptionStreamEventsData = (TranscriptionStreamLanguage & {
10
+ type: "transcription.language";
11
+ }) | (TranscriptionStreamTextDelta & {
12
+ type: "transcription.text.delta";
13
+ }) | (TranscriptionStreamSegmentDelta & {
14
+ type: "transcription.segment";
15
+ }) | (TranscriptionStreamDone & {
16
+ type: "transcription.done";
17
+ });
18
+ export type TranscriptionStreamEvents = {
19
+ event: TranscriptionStreamEventTypes;
20
+ data: (TranscriptionStreamLanguage & {
21
+ type: "transcription.language";
22
+ }) | (TranscriptionStreamTextDelta & {
23
+ type: "transcription.text.delta";
24
+ }) | (TranscriptionStreamSegmentDelta & {
25
+ type: "transcription.segment";
26
+ }) | (TranscriptionStreamDone & {
27
+ type: "transcription.done";
28
+ });
29
+ };
30
+ /** @internal */
31
+ export declare const TranscriptionStreamEventsData$inboundSchema: z.ZodType<TranscriptionStreamEventsData, z.ZodTypeDef, unknown>;
32
+ /** @internal */
33
+ export type TranscriptionStreamEventsData$Outbound = (TranscriptionStreamLanguage$Outbound & {
34
+ type: "transcription.language";
35
+ }) | (TranscriptionStreamTextDelta$Outbound & {
36
+ type: "transcription.text.delta";
37
+ }) | (TranscriptionStreamSegmentDelta$Outbound & {
38
+ type: "transcription.segment";
39
+ }) | (TranscriptionStreamDone$Outbound & {
40
+ type: "transcription.done";
41
+ });
42
+ /** @internal */
43
+ export declare const TranscriptionStreamEventsData$outboundSchema: z.ZodType<TranscriptionStreamEventsData$Outbound, z.ZodTypeDef, TranscriptionStreamEventsData>;
44
+ /**
45
+ * @internal
46
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
47
+ */
48
+ export declare namespace TranscriptionStreamEventsData$ {
49
+ /** @deprecated use `TranscriptionStreamEventsData$inboundSchema` instead. */
50
+ const inboundSchema: z.ZodType<TranscriptionStreamEventsData, z.ZodTypeDef, unknown>;
51
+ /** @deprecated use `TranscriptionStreamEventsData$outboundSchema` instead. */
52
+ const outboundSchema: z.ZodType<TranscriptionStreamEventsData$Outbound, z.ZodTypeDef, TranscriptionStreamEventsData>;
53
+ /** @deprecated use `TranscriptionStreamEventsData$Outbound` instead. */
54
+ type Outbound = TranscriptionStreamEventsData$Outbound;
55
+ }
56
+ export declare function transcriptionStreamEventsDataToJSON(transcriptionStreamEventsData: TranscriptionStreamEventsData): string;
57
+ export declare function transcriptionStreamEventsDataFromJSON(jsonString: string): SafeParseResult<TranscriptionStreamEventsData, SDKValidationError>;
58
+ /** @internal */
59
+ export declare const TranscriptionStreamEvents$inboundSchema: z.ZodType<TranscriptionStreamEvents, z.ZodTypeDef, unknown>;
60
+ /** @internal */
61
+ export type TranscriptionStreamEvents$Outbound = {
62
+ event: string;
63
+ data: (TranscriptionStreamLanguage$Outbound & {
64
+ type: "transcription.language";
65
+ }) | (TranscriptionStreamTextDelta$Outbound & {
66
+ type: "transcription.text.delta";
67
+ }) | (TranscriptionStreamSegmentDelta$Outbound & {
68
+ type: "transcription.segment";
69
+ }) | (TranscriptionStreamDone$Outbound & {
70
+ type: "transcription.done";
71
+ });
72
+ };
73
+ /** @internal */
74
+ export declare const TranscriptionStreamEvents$outboundSchema: z.ZodType<TranscriptionStreamEvents$Outbound, z.ZodTypeDef, TranscriptionStreamEvents>;
75
+ /**
76
+ * @internal
77
+ * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
78
+ */
79
+ export declare namespace TranscriptionStreamEvents$ {
80
+ /** @deprecated use `TranscriptionStreamEvents$inboundSchema` instead. */
81
+ const inboundSchema: z.ZodType<TranscriptionStreamEvents, z.ZodTypeDef, unknown>;
82
+ /** @deprecated use `TranscriptionStreamEvents$outboundSchema` instead. */
83
+ const outboundSchema: z.ZodType<TranscriptionStreamEvents$Outbound, z.ZodTypeDef, TranscriptionStreamEvents>;
84
+ /** @deprecated use `TranscriptionStreamEvents$Outbound` instead. */
85
+ type Outbound = TranscriptionStreamEvents$Outbound;
86
+ }
87
+ export declare function transcriptionStreamEventsToJSON(transcriptionStreamEvents: TranscriptionStreamEvents): string;
88
+ export declare function transcriptionStreamEventsFromJSON(jsonString: string): SafeParseResult<TranscriptionStreamEvents, SDKValidationError>;
89
+ //# sourceMappingURL=transcriptionstreamevents.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transcriptionstreamevents.d.ts","sourceRoot":"","sources":["../../src/models/components/transcriptionstreamevents.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAEzB,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,uBAAuB,EAEvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,6BAA6B,EAG9B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,2BAA2B,EAE3B,oCAAoC,EAErC,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACL,+BAA+B,EAE/B,wCAAwC,EAEzC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,4BAA4B,EAE5B,qCAAqC,EAEtC,MAAM,mCAAmC,CAAC;AAE3C,MAAM,MAAM,6BAA6B,GACrC,CAAC,2BAA2B,GAAG;IAAE,IAAI,EAAE,wBAAwB,CAAA;CAAE,CAAC,GAClE,CAAC,4BAA4B,GAAG;IAAE,IAAI,EAAE,0BAA0B,CAAA;CAAE,CAAC,GACrE,CAAC,+BAA+B,GAAG;IAAE,IAAI,EAAE,uBAAuB,CAAA;CAAE,CAAC,GACrE,CAAC,uBAAuB,GAAG;IAAE,IAAI,EAAE,oBAAoB,CAAA;CAAE,CAAC,CAAC;AAE/D,MAAM,MAAM,yBAAyB,GAAG;IACtC,KAAK,EAAE,6BAA6B,CAAC;IACrC,IAAI,EACA,CAAC,2BAA2B,GAAG;QAAE,IAAI,EAA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