sarvamai 1.1.8 → 1.1.9-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (224) hide show
  1. package/dist/cjs/BaseClient.js +2 -2
  2. package/dist/cjs/Client.d.ts +6 -0
  3. package/dist/cjs/Client.js +32 -22
  4. package/dist/cjs/api/errors/ConflictError.d.ts +1 -2
  5. package/dist/cjs/api/errors/PaymentRequiredError.d.ts +1 -2
  6. package/dist/cjs/api/errors/UnauthorizedError.d.ts +1 -2
  7. package/dist/cjs/api/resources/docAi/client/Client.d.ts +6 -2
  8. package/dist/cjs/api/resources/docAi/client/Client.js +6 -8
  9. package/dist/cjs/api/resources/docAi/client/requests/DocAiDigitiseRequest.d.ts +1 -2
  10. package/dist/cjs/api/resources/docAi/client/requests/DocAiDigitiseRequest.js +1 -0
  11. package/dist/cjs/api/resources/docAi/client/requests/DocAiExtractRequest.d.ts +6 -4
  12. package/dist/cjs/api/resources/documentTranslation/client/Client.d.ts +143 -0
  13. package/dist/cjs/api/resources/documentTranslation/client/Client.js +421 -0
  14. package/dist/cjs/api/resources/documentTranslation/client/index.d.ts +1 -0
  15. package/dist/cjs/api/resources/documentTranslation/client/index.js +17 -0
  16. package/dist/cjs/api/resources/documentTranslation/client/requests/CreateDocumentJobRequest.d.ts +38 -0
  17. package/dist/cjs/api/resources/documentTranslation/client/requests/CreateDocumentJobRequest.js +3 -0
  18. package/dist/cjs/api/resources/documentTranslation/client/requests/DocumentTranslationGetExportStatusRequest.d.ts +18 -0
  19. package/dist/cjs/api/resources/documentTranslation/client/requests/DocumentTranslationGetExportStatusRequest.js +3 -0
  20. package/dist/cjs/api/resources/documentTranslation/client/requests/DocumentTranslationTriggerExportRequest.d.ts +18 -0
  21. package/dist/cjs/api/resources/documentTranslation/client/requests/DocumentTranslationTriggerExportRequest.js +3 -0
  22. package/dist/cjs/api/resources/documentTranslation/client/requests/index.d.ts +3 -0
  23. package/dist/cjs/api/resources/documentTranslation/client/requests/index.js +2 -0
  24. package/dist/cjs/api/resources/documentTranslation/exports.d.ts +2 -0
  25. package/dist/cjs/api/resources/documentTranslation/exports.js +21 -0
  26. package/dist/cjs/api/resources/documentTranslation/index.d.ts +1 -0
  27. package/dist/cjs/api/resources/documentTranslation/index.js +17 -0
  28. package/dist/cjs/api/resources/dubbing/client/requests/CreateDubbingJobRequest.d.ts +2 -2
  29. package/dist/cjs/api/resources/index.d.ts +4 -0
  30. package/dist/cjs/api/resources/index.js +5 -1
  31. package/dist/cjs/api/resources/openSourceModels/client/Client.d.ts +63 -0
  32. package/dist/cjs/api/resources/openSourceModels/client/Client.js +227 -0
  33. package/dist/cjs/api/resources/openSourceModels/client/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/openSourceModels/client/index.js +17 -0
  35. package/dist/cjs/api/resources/openSourceModels/client/requests/CreateChatCompletionV2Request.d.ts +68 -0
  36. package/dist/cjs/api/resources/openSourceModels/client/requests/CreateChatCompletionV2Request.js +3 -0
  37. package/dist/cjs/api/resources/openSourceModels/client/requests/index.d.ts +1 -0
  38. package/dist/cjs/api/resources/openSourceModels/client/requests/index.js +2 -0
  39. package/dist/cjs/api/resources/openSourceModels/exports.d.ts +2 -0
  40. package/dist/cjs/api/resources/openSourceModels/exports.js +21 -0
  41. package/dist/cjs/api/resources/openSourceModels/index.d.ts +1 -0
  42. package/dist/cjs/api/resources/openSourceModels/index.js +17 -0
  43. package/dist/cjs/api/types/ChatCompletionRequestAssistantMessage.d.ts +2 -0
  44. package/dist/cjs/api/types/ChatCompletionRequestGenericMessage.d.ts +15 -0
  45. package/dist/cjs/api/types/ChatCompletionRequestGenericMessage.js +3 -0
  46. package/dist/cjs/api/types/ChatCompletionRequestMessage.d.ts +1 -15
  47. package/dist/cjs/api/types/ChatCompletionRequestSystemMessage.d.ts +2 -0
  48. package/dist/cjs/api/types/ChatCompletionRequestToolMessage.d.ts +2 -0
  49. package/dist/cjs/api/types/ChatCompletionRequestUserMessage.d.ts +10 -1
  50. package/dist/cjs/api/types/ContentOneItem.d.ts +10 -0
  51. package/dist/cjs/api/types/ContentOneItem.js +3 -0
  52. package/dist/cjs/api/types/CreateChatCompletionV2Response.d.ts +16 -0
  53. package/dist/cjs/api/types/CreateChatCompletionV2Response.js +3 -0
  54. package/dist/cjs/api/types/CreateDocumentJobResponse.d.ts +12 -0
  55. package/dist/cjs/api/types/CreateDocumentJobResponse.js +3 -0
  56. package/dist/cjs/api/types/CreateDubbingJobData.d.ts +3 -3
  57. package/dist/cjs/api/types/CreateDubbingJobResponse.d.ts +3 -3
  58. package/dist/cjs/api/types/DocumentGenre.d.ts +10 -0
  59. package/dist/cjs/api/types/DocumentGenre.js +13 -0
  60. package/dist/cjs/api/types/DocumentJobExportStatusResponse.d.ts +33 -0
  61. package/dist/cjs/api/types/DocumentJobExportStatusResponse.js +3 -0
  62. package/dist/cjs/api/types/DocumentLanguage.d.ts +27 -0
  63. package/dist/cjs/api/types/DocumentLanguage.js +30 -0
  64. package/dist/cjs/api/types/DocumentTranslationExportState.d.ts +8 -0
  65. package/dist/cjs/api/types/DocumentTranslationExportState.js +11 -0
  66. package/dist/cjs/api/types/DocumentTranslationJobState.d.ts +9 -0
  67. package/dist/cjs/api/types/DocumentTranslationJobState.js +12 -0
  68. package/dist/cjs/api/types/DocumentTranslationState.d.ts +8 -0
  69. package/dist/cjs/api/types/DocumentTranslationState.js +11 -0
  70. package/dist/cjs/api/types/DubbingExportItem.d.ts +5 -5
  71. package/dist/cjs/api/types/DubbingExportStatusData.d.ts +1 -1
  72. package/dist/cjs/api/types/DubbingExportStatusResponse.d.ts +3 -3
  73. package/dist/cjs/api/types/DubbingLiveStatusData.d.ts +3 -3
  74. package/dist/cjs/api/types/DubbingLiveStatusResponse.d.ts +3 -3
  75. package/dist/cjs/api/types/DubbingStartData.d.ts +2 -2
  76. package/dist/cjs/api/types/DubbingStartResponse.d.ts +3 -3
  77. package/dist/cjs/api/types/ErrorMessage.d.ts +3 -0
  78. package/dist/cjs/api/types/ExportFormat.d.ts +9 -0
  79. package/dist/cjs/api/types/ExportFormat.js +12 -0
  80. package/dist/cjs/api/types/ImagePart.d.ts +4 -0
  81. package/dist/cjs/api/types/ImagePart.js +3 -0
  82. package/dist/cjs/api/types/ImageUrl.d.ts +12 -0
  83. package/dist/cjs/api/types/ImageUrl.js +12 -0
  84. package/dist/cjs/api/types/JobLiveStatusResponse.d.ts +20 -0
  85. package/dist/cjs/api/types/JobLiveStatusResponse.js +3 -0
  86. package/dist/cjs/api/types/JsonSchemaDefinition.d.ts +4 -1
  87. package/dist/cjs/api/types/ModelListResponse.d.ts +5 -0
  88. package/dist/cjs/api/types/ModelListResponse.js +3 -0
  89. package/dist/cjs/api/types/ModelObject.d.ts +6 -0
  90. package/dist/cjs/api/types/ModelObject.js +3 -0
  91. package/dist/cjs/api/types/ModelType.d.ts +6 -0
  92. package/dist/cjs/api/types/ModelType.js +9 -0
  93. package/dist/cjs/api/types/PageMetrics.d.ts +6 -0
  94. package/dist/cjs/api/types/PageMetrics.js +3 -0
  95. package/dist/cjs/api/types/ResponseFormat.d.ts +4 -4
  96. package/dist/cjs/api/types/SarvamModelIds.d.ts +9 -2
  97. package/dist/cjs/api/types/SarvamModelIds.js +11 -0
  98. package/dist/cjs/api/types/StartJobResponse.d.ts +9 -0
  99. package/dist/cjs/api/types/StartJobResponse.js +3 -0
  100. package/dist/cjs/api/types/TextPart.d.ts +3 -0
  101. package/dist/cjs/api/types/TextPart.js +3 -0
  102. package/dist/cjs/api/types/TranslationLanguageMetrics.d.ts +5 -0
  103. package/dist/cjs/api/types/TranslationLanguageMetrics.js +3 -0
  104. package/dist/cjs/api/types/TranslationStatusItem.d.ts +16 -0
  105. package/dist/cjs/api/types/TranslationStatusItem.js +3 -0
  106. package/dist/cjs/api/types/V2ModelIds.d.ts +13 -0
  107. package/dist/cjs/api/types/V2ModelIds.js +16 -0
  108. package/dist/cjs/api/types/index.d.ts +23 -0
  109. package/dist/cjs/api/types/index.js +23 -0
  110. package/dist/cjs/version.d.ts +1 -1
  111. package/dist/cjs/version.js +1 -1
  112. package/dist/esm/BaseClient.mjs +2 -2
  113. package/dist/esm/Client.d.mts +6 -0
  114. package/dist/esm/Client.mjs +10 -0
  115. package/dist/esm/api/errors/ConflictError.d.mts +1 -2
  116. package/dist/esm/api/errors/PaymentRequiredError.d.mts +1 -2
  117. package/dist/esm/api/errors/UnauthorizedError.d.mts +1 -2
  118. package/dist/esm/api/resources/docAi/client/Client.d.mts +6 -2
  119. package/dist/esm/api/resources/docAi/client/Client.mjs +6 -8
  120. package/dist/esm/api/resources/docAi/client/requests/DocAiDigitiseRequest.d.mts +1 -2
  121. package/dist/esm/api/resources/docAi/client/requests/DocAiDigitiseRequest.mjs +1 -0
  122. package/dist/esm/api/resources/docAi/client/requests/DocAiExtractRequest.d.mts +6 -4
  123. package/dist/esm/api/resources/documentTranslation/client/Client.d.mts +143 -0
  124. package/dist/esm/api/resources/documentTranslation/client/Client.mjs +384 -0
  125. package/dist/esm/api/resources/documentTranslation/client/index.d.mts +1 -0
  126. package/dist/esm/api/resources/documentTranslation/client/index.mjs +1 -0
  127. package/dist/esm/api/resources/documentTranslation/client/requests/CreateDocumentJobRequest.d.mts +38 -0
  128. package/dist/esm/api/resources/documentTranslation/client/requests/CreateDocumentJobRequest.mjs +2 -0
  129. package/dist/esm/api/resources/documentTranslation/client/requests/DocumentTranslationGetExportStatusRequest.d.mts +18 -0
  130. package/dist/esm/api/resources/documentTranslation/client/requests/DocumentTranslationGetExportStatusRequest.mjs +2 -0
  131. package/dist/esm/api/resources/documentTranslation/client/requests/DocumentTranslationTriggerExportRequest.d.mts +18 -0
  132. package/dist/esm/api/resources/documentTranslation/client/requests/DocumentTranslationTriggerExportRequest.mjs +2 -0
  133. package/dist/esm/api/resources/documentTranslation/client/requests/index.d.mts +3 -0
  134. package/dist/esm/api/resources/documentTranslation/client/requests/index.mjs +1 -0
  135. package/dist/esm/api/resources/documentTranslation/exports.d.mts +2 -0
  136. package/dist/esm/api/resources/documentTranslation/exports.mjs +3 -0
  137. package/dist/esm/api/resources/documentTranslation/index.d.mts +1 -0
  138. package/dist/esm/api/resources/documentTranslation/index.mjs +1 -0
  139. package/dist/esm/api/resources/dubbing/client/requests/CreateDubbingJobRequest.d.mts +2 -2
  140. package/dist/esm/api/resources/index.d.mts +4 -0
  141. package/dist/esm/api/resources/index.mjs +4 -0
  142. package/dist/esm/api/resources/openSourceModels/client/Client.d.mts +63 -0
  143. package/dist/esm/api/resources/openSourceModels/client/Client.mjs +190 -0
  144. package/dist/esm/api/resources/openSourceModels/client/index.d.mts +1 -0
  145. package/dist/esm/api/resources/openSourceModels/client/index.mjs +1 -0
  146. package/dist/esm/api/resources/openSourceModels/client/requests/CreateChatCompletionV2Request.d.mts +68 -0
  147. package/dist/esm/api/resources/openSourceModels/client/requests/CreateChatCompletionV2Request.mjs +2 -0
  148. package/dist/esm/api/resources/openSourceModels/client/requests/index.d.mts +1 -0
  149. package/dist/esm/api/resources/openSourceModels/client/requests/index.mjs +1 -0
  150. package/dist/esm/api/resources/openSourceModels/exports.d.mts +2 -0
  151. package/dist/esm/api/resources/openSourceModels/exports.mjs +3 -0
  152. package/dist/esm/api/resources/openSourceModels/index.d.mts +1 -0
  153. package/dist/esm/api/resources/openSourceModels/index.mjs +1 -0
  154. package/dist/esm/api/types/ChatCompletionRequestAssistantMessage.d.mts +2 -0
  155. package/dist/esm/api/types/ChatCompletionRequestGenericMessage.d.mts +15 -0
  156. package/dist/esm/api/types/ChatCompletionRequestGenericMessage.mjs +2 -0
  157. package/dist/esm/api/types/ChatCompletionRequestMessage.d.mts +1 -15
  158. package/dist/esm/api/types/ChatCompletionRequestSystemMessage.d.mts +2 -0
  159. package/dist/esm/api/types/ChatCompletionRequestToolMessage.d.mts +2 -0
  160. package/dist/esm/api/types/ChatCompletionRequestUserMessage.d.mts +10 -1
  161. package/dist/esm/api/types/ContentOneItem.d.mts +10 -0
  162. package/dist/esm/api/types/ContentOneItem.mjs +2 -0
  163. package/dist/esm/api/types/CreateChatCompletionV2Response.d.mts +16 -0
  164. package/dist/esm/api/types/CreateChatCompletionV2Response.mjs +2 -0
  165. package/dist/esm/api/types/CreateDocumentJobResponse.d.mts +12 -0
  166. package/dist/esm/api/types/CreateDocumentJobResponse.mjs +2 -0
  167. package/dist/esm/api/types/CreateDubbingJobData.d.mts +3 -3
  168. package/dist/esm/api/types/CreateDubbingJobResponse.d.mts +3 -3
  169. package/dist/esm/api/types/DocumentGenre.d.mts +10 -0
  170. package/dist/esm/api/types/DocumentGenre.mjs +10 -0
  171. package/dist/esm/api/types/DocumentJobExportStatusResponse.d.mts +33 -0
  172. package/dist/esm/api/types/DocumentJobExportStatusResponse.mjs +2 -0
  173. package/dist/esm/api/types/DocumentLanguage.d.mts +27 -0
  174. package/dist/esm/api/types/DocumentLanguage.mjs +27 -0
  175. package/dist/esm/api/types/DocumentTranslationExportState.d.mts +8 -0
  176. package/dist/esm/api/types/DocumentTranslationExportState.mjs +8 -0
  177. package/dist/esm/api/types/DocumentTranslationJobState.d.mts +9 -0
  178. package/dist/esm/api/types/DocumentTranslationJobState.mjs +9 -0
  179. package/dist/esm/api/types/DocumentTranslationState.d.mts +8 -0
  180. package/dist/esm/api/types/DocumentTranslationState.mjs +8 -0
  181. package/dist/esm/api/types/DubbingExportItem.d.mts +5 -5
  182. package/dist/esm/api/types/DubbingExportStatusData.d.mts +1 -1
  183. package/dist/esm/api/types/DubbingExportStatusResponse.d.mts +3 -3
  184. package/dist/esm/api/types/DubbingLiveStatusData.d.mts +3 -3
  185. package/dist/esm/api/types/DubbingLiveStatusResponse.d.mts +3 -3
  186. package/dist/esm/api/types/DubbingStartData.d.mts +2 -2
  187. package/dist/esm/api/types/DubbingStartResponse.d.mts +3 -3
  188. package/dist/esm/api/types/ErrorMessage.d.mts +3 -0
  189. package/dist/esm/api/types/ExportFormat.d.mts +9 -0
  190. package/dist/esm/api/types/ExportFormat.mjs +9 -0
  191. package/dist/esm/api/types/ImagePart.d.mts +4 -0
  192. package/dist/esm/api/types/ImagePart.mjs +2 -0
  193. package/dist/esm/api/types/ImageUrl.d.mts +12 -0
  194. package/dist/esm/api/types/ImageUrl.mjs +9 -0
  195. package/dist/esm/api/types/JobLiveStatusResponse.d.mts +20 -0
  196. package/dist/esm/api/types/JobLiveStatusResponse.mjs +2 -0
  197. package/dist/esm/api/types/JsonSchemaDefinition.d.mts +4 -1
  198. package/dist/esm/api/types/ModelListResponse.d.mts +5 -0
  199. package/dist/esm/api/types/ModelListResponse.mjs +2 -0
  200. package/dist/esm/api/types/ModelObject.d.mts +6 -0
  201. package/dist/esm/api/types/ModelObject.mjs +2 -0
  202. package/dist/esm/api/types/ModelType.d.mts +6 -0
  203. package/dist/esm/api/types/ModelType.mjs +6 -0
  204. package/dist/esm/api/types/PageMetrics.d.mts +6 -0
  205. package/dist/esm/api/types/PageMetrics.mjs +2 -0
  206. package/dist/esm/api/types/ResponseFormat.d.mts +4 -4
  207. package/dist/esm/api/types/SarvamModelIds.d.mts +9 -2
  208. package/dist/esm/api/types/SarvamModelIds.mjs +10 -1
  209. package/dist/esm/api/types/StartJobResponse.d.mts +9 -0
  210. package/dist/esm/api/types/StartJobResponse.mjs +2 -0
  211. package/dist/esm/api/types/TextPart.d.mts +3 -0
  212. package/dist/esm/api/types/TextPart.mjs +2 -0
  213. package/dist/esm/api/types/TranslationLanguageMetrics.d.mts +5 -0
  214. package/dist/esm/api/types/TranslationLanguageMetrics.mjs +2 -0
  215. package/dist/esm/api/types/TranslationStatusItem.d.mts +16 -0
  216. package/dist/esm/api/types/TranslationStatusItem.mjs +2 -0
  217. package/dist/esm/api/types/V2ModelIds.d.mts +13 -0
  218. package/dist/esm/api/types/V2ModelIds.mjs +13 -0
  219. package/dist/esm/api/types/index.d.mts +23 -0
  220. package/dist/esm/api/types/index.mjs +23 -0
  221. package/dist/esm/version.d.mts +1 -1
  222. package/dist/esm/version.mjs +1 -1
  223. package/package.json +25 -1
  224. package/reference.md +583 -5
@@ -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": "sarvamai",
46
- "X-Fern-SDK-Version": "1.1.8",
47
- "User-Agent": "sarvamai/1.1.8",
46
+ "X-Fern-SDK-Version": "1.1.9-alpha.1",
47
+ "User-Agent": "sarvamai/1.1.9-alpha.1",
48
48
  "X-Fern-Runtime": core.RUNTIME.type,
49
49
  "X-Fern-Runtime-Version": core.RUNTIME.version,
50
50
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -1,7 +1,9 @@
1
1
  import { ChatClient } from "./api/resources/chat/client/Client.js";
2
2
  import { DocAiClient } from "./api/resources/docAi/client/Client.js";
3
3
  import { DocumentIntelligenceClient } from "./api/resources/documentIntelligence/client/Client.js";
4
+ import { DocumentTranslationClient } from "./api/resources/documentTranslation/client/Client.js";
4
5
  import { DubbingClient } from "./api/resources/dubbing/client/Client.js";
6
+ import { OpenSourceModelsClient } from "./api/resources/openSourceModels/client/Client.js";
5
7
  import { PronunciationDictionaryClient } from "./api/resources/pronunciationDictionary/client/Client.js";
6
8
  import { SpeechToTextClient } from "./api/resources/speechToText/client/Client.js";
7
9
  import { SpeechToTextJobClient } from "./api/resources/speechToTextJob/client/Client.js";
@@ -22,6 +24,7 @@ export declare namespace SarvamAIClient {
22
24
  export declare class SarvamAIClient {
23
25
  protected readonly _options: NormalizedClientOptionsWithAuth<SarvamAIClient.Options>;
24
26
  protected _dubbing: DubbingClient | undefined;
27
+ protected _documentTranslation: DocumentTranslationClient | undefined;
25
28
  protected _text: TextClient | undefined;
26
29
  protected _speechToText: SpeechToTextClient | undefined;
27
30
  protected _textToSpeech: TextToSpeechClient | undefined;
@@ -31,12 +34,14 @@ export declare class SarvamAIClient {
31
34
  protected _speechToTextTranslateJob: SpeechToTextTranslateJobClient | undefined;
32
35
  protected _documentIntelligence: DocumentIntelligenceClient | undefined;
33
36
  protected _docAi: DocAiClient | undefined;
37
+ protected _openSourceModels: OpenSourceModelsClient | undefined;
34
38
  protected _speechToTextStreaming: SpeechToTextStreamingClient | undefined;
35
39
  protected _speechToTextTranslateStreaming: SpeechToTextTranslateStreamingClient | undefined;
36
40
  protected _speechToTextRealtimeStreaming: SpeechToTextRealtimeStreamingClient | undefined;
37
41
  protected _textToSpeechStreaming: TextToSpeechStreamingClient | undefined;
38
42
  constructor(options?: SarvamAIClient.Options);
39
43
  get dubbing(): DubbingClient;
44
+ get documentTranslation(): DocumentTranslationClient;
40
45
  get text(): TextClient;
41
46
  get speechToText(): SpeechToTextClient;
42
47
  get textToSpeech(): TextToSpeechClient;
@@ -46,6 +51,7 @@ export declare class SarvamAIClient {
46
51
  get speechToTextTranslateJob(): SpeechToTextTranslateJobClient;
47
52
  get documentIntelligence(): DocumentIntelligenceClient;
48
53
  get docAi(): DocAiClient;
54
+ get openSourceModels(): OpenSourceModelsClient;
49
55
  get speechToTextStreaming(): SpeechToTextStreamingClient;
50
56
  get speechToTextTranslateStreaming(): SpeechToTextTranslateStreamingClient;
51
57
  get speechToTextRealtimeStreaming(): SpeechToTextRealtimeStreamingClient;
@@ -5,17 +5,19 @@ exports.SarvamAIClient = void 0;
5
5
  const Client_js_1 = require("./api/resources/chat/client/Client.js");
6
6
  const Client_js_2 = require("./api/resources/docAi/client/Client.js");
7
7
  const Client_js_3 = require("./api/resources/documentIntelligence/client/Client.js");
8
- const Client_js_4 = require("./api/resources/dubbing/client/Client.js");
9
- const Client_js_5 = require("./api/resources/pronunciationDictionary/client/Client.js");
10
- const Client_js_6 = require("./api/resources/speechToText/client/Client.js");
11
- const Client_js_7 = require("./api/resources/speechToTextJob/client/Client.js");
12
- const Client_js_8 = require("./api/resources/speechToTextRealtimeStreaming/client/Client.js");
13
- const Client_js_9 = require("./api/resources/speechToTextStreaming/client/Client.js");
14
- const Client_js_10 = require("./api/resources/speechToTextTranslateJob/client/Client.js");
15
- const Client_js_11 = require("./api/resources/speechToTextTranslateStreaming/client/Client.js");
16
- const Client_js_12 = require("./api/resources/text/client/Client.js");
17
- const Client_js_13 = require("./api/resources/textToSpeech/client/Client.js");
18
- const Client_js_14 = require("./api/resources/textToSpeechStreaming/client/Client.js");
8
+ const Client_js_4 = require("./api/resources/documentTranslation/client/Client.js");
9
+ const Client_js_5 = require("./api/resources/dubbing/client/Client.js");
10
+ const Client_js_6 = require("./api/resources/openSourceModels/client/Client.js");
11
+ const Client_js_7 = require("./api/resources/pronunciationDictionary/client/Client.js");
12
+ const Client_js_8 = require("./api/resources/speechToText/client/Client.js");
13
+ const Client_js_9 = require("./api/resources/speechToTextJob/client/Client.js");
14
+ const Client_js_10 = require("./api/resources/speechToTextRealtimeStreaming/client/Client.js");
15
+ const Client_js_11 = require("./api/resources/speechToTextStreaming/client/Client.js");
16
+ const Client_js_12 = require("./api/resources/speechToTextTranslateJob/client/Client.js");
17
+ const Client_js_13 = require("./api/resources/speechToTextTranslateStreaming/client/Client.js");
18
+ const Client_js_14 = require("./api/resources/text/client/Client.js");
19
+ const Client_js_15 = require("./api/resources/textToSpeech/client/Client.js");
20
+ const Client_js_16 = require("./api/resources/textToSpeechStreaming/client/Client.js");
19
21
  const BaseClient_js_1 = require("./BaseClient.js");
20
22
  class SarvamAIClient {
21
23
  constructor(options = {}) {
@@ -23,23 +25,27 @@ class SarvamAIClient {
23
25
  }
24
26
  get dubbing() {
25
27
  var _a;
26
- return ((_a = this._dubbing) !== null && _a !== void 0 ? _a : (this._dubbing = new Client_js_4.DubbingClient(this._options)));
28
+ return ((_a = this._dubbing) !== null && _a !== void 0 ? _a : (this._dubbing = new Client_js_5.DubbingClient(this._options)));
29
+ }
30
+ get documentTranslation() {
31
+ var _a;
32
+ return ((_a = this._documentTranslation) !== null && _a !== void 0 ? _a : (this._documentTranslation = new Client_js_4.DocumentTranslationClient(this._options)));
27
33
  }
28
34
  get text() {
29
35
  var _a;
30
- return ((_a = this._text) !== null && _a !== void 0 ? _a : (this._text = new Client_js_12.TextClient(this._options)));
36
+ return ((_a = this._text) !== null && _a !== void 0 ? _a : (this._text = new Client_js_14.TextClient(this._options)));
31
37
  }
32
38
  get speechToText() {
33
39
  var _a;
34
- return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_js_6.SpeechToTextClient(this._options)));
40
+ return ((_a = this._speechToText) !== null && _a !== void 0 ? _a : (this._speechToText = new Client_js_8.SpeechToTextClient(this._options)));
35
41
  }
36
42
  get textToSpeech() {
37
43
  var _a;
38
- return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_js_13.TextToSpeechClient(this._options)));
44
+ return ((_a = this._textToSpeech) !== null && _a !== void 0 ? _a : (this._textToSpeech = new Client_js_15.TextToSpeechClient(this._options)));
39
45
  }
40
46
  get pronunciationDictionary() {
41
47
  var _a;
42
- return ((_a = this._pronunciationDictionary) !== null && _a !== void 0 ? _a : (this._pronunciationDictionary = new Client_js_5.PronunciationDictionaryClient(this._options)));
48
+ return ((_a = this._pronunciationDictionary) !== null && _a !== void 0 ? _a : (this._pronunciationDictionary = new Client_js_7.PronunciationDictionaryClient(this._options)));
43
49
  }
44
50
  get chat() {
45
51
  var _a;
@@ -47,11 +53,11 @@ class SarvamAIClient {
47
53
  }
48
54
  get speechToTextJob() {
49
55
  var _a;
50
- return ((_a = this._speechToTextJob) !== null && _a !== void 0 ? _a : (this._speechToTextJob = new Client_js_7.SpeechToTextJobClient(this._options)));
56
+ return ((_a = this._speechToTextJob) !== null && _a !== void 0 ? _a : (this._speechToTextJob = new Client_js_9.SpeechToTextJobClient(this._options)));
51
57
  }
52
58
  get speechToTextTranslateJob() {
53
59
  var _a;
54
- return ((_a = this._speechToTextTranslateJob) !== null && _a !== void 0 ? _a : (this._speechToTextTranslateJob = new Client_js_10.SpeechToTextTranslateJobClient(this._options)));
60
+ return ((_a = this._speechToTextTranslateJob) !== null && _a !== void 0 ? _a : (this._speechToTextTranslateJob = new Client_js_12.SpeechToTextTranslateJobClient(this._options)));
55
61
  }
56
62
  get documentIntelligence() {
57
63
  var _a;
@@ -61,21 +67,25 @@ class SarvamAIClient {
61
67
  var _a;
62
68
  return ((_a = this._docAi) !== null && _a !== void 0 ? _a : (this._docAi = new Client_js_2.DocAiClient(this._options)));
63
69
  }
70
+ get openSourceModels() {
71
+ var _a;
72
+ return ((_a = this._openSourceModels) !== null && _a !== void 0 ? _a : (this._openSourceModels = new Client_js_6.OpenSourceModelsClient(this._options)));
73
+ }
64
74
  get speechToTextStreaming() {
65
75
  var _a;
66
- return ((_a = this._speechToTextStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextStreaming = new Client_js_9.SpeechToTextStreamingClient(this._options)));
76
+ return ((_a = this._speechToTextStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextStreaming = new Client_js_11.SpeechToTextStreamingClient(this._options)));
67
77
  }
68
78
  get speechToTextTranslateStreaming() {
69
79
  var _a;
70
- return ((_a = this._speechToTextTranslateStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextTranslateStreaming = new Client_js_11.SpeechToTextTranslateStreamingClient(this._options)));
80
+ return ((_a = this._speechToTextTranslateStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextTranslateStreaming = new Client_js_13.SpeechToTextTranslateStreamingClient(this._options)));
71
81
  }
72
82
  get speechToTextRealtimeStreaming() {
73
83
  var _a;
74
- return ((_a = this._speechToTextRealtimeStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextRealtimeStreaming = new Client_js_8.SpeechToTextRealtimeStreamingClient(this._options)));
84
+ return ((_a = this._speechToTextRealtimeStreaming) !== null && _a !== void 0 ? _a : (this._speechToTextRealtimeStreaming = new Client_js_10.SpeechToTextRealtimeStreamingClient(this._options)));
75
85
  }
76
86
  get textToSpeechStreaming() {
77
87
  var _a;
78
- return ((_a = this._textToSpeechStreaming) !== null && _a !== void 0 ? _a : (this._textToSpeechStreaming = new Client_js_14.TextToSpeechStreamingClient(this._options)));
88
+ return ((_a = this._textToSpeechStreaming) !== null && _a !== void 0 ? _a : (this._textToSpeechStreaming = new Client_js_16.TextToSpeechStreamingClient(this._options)));
79
89
  }
80
90
  }
81
91
  exports.SarvamAIClient = SarvamAIClient;
@@ -1,6 +1,5 @@
1
1
  import type * as core from "../../core/index.js";
2
2
  import * as errors from "../../errors/index.js";
3
- import type * as SarvamAI from "../index.js";
4
3
  export declare class ConflictError extends errors.SarvamAIError {
5
- constructor(body: SarvamAI.DocAiErrorModel, rawResponse?: core.RawResponse);
4
+ constructor(body?: unknown, rawResponse?: core.RawResponse);
6
5
  }
@@ -1,6 +1,5 @@
1
1
  import type * as core from "../../core/index.js";
2
2
  import * as errors from "../../errors/index.js";
3
- import type * as SarvamAI from "../index.js";
4
3
  export declare class PaymentRequiredError extends errors.SarvamAIError {
5
- constructor(body: SarvamAI.DocAiErrorModel, rawResponse?: core.RawResponse);
4
+ constructor(body?: unknown, rawResponse?: core.RawResponse);
6
5
  }
@@ -1,6 +1,5 @@
1
1
  import type * as core from "../../core/index.js";
2
2
  import * as errors from "../../errors/index.js";
3
- import type * as SarvamAI from "../index.js";
4
3
  export declare class UnauthorizedError extends errors.SarvamAIError {
5
- constructor(body: SarvamAI.ErrorMessage, rawResponse?: core.RawResponse);
4
+ constructor(body?: unknown, rawResponse?: core.RawResponse);
6
5
  }
@@ -35,7 +35,7 @@ export declare class DocAiClient {
35
35
  createUploadUrl(request?: SarvamAI.DocAiPresignUploadRequest, requestOptions?: DocAiClient.RequestOptions): core.HttpResponsePromise<SarvamAI.DocAiPresignUploadResponse>;
36
36
  private __createUploadUrl;
37
37
  /**
38
- * Creates and starts a digitise job from files or pre-uploaded handles. Digitise converts documents into structured HTML or Markdown while preserving layout.
38
+ * Creates and starts a digitise job from files or pre-uploaded handles. Digitise converts documents into structured HTML, Markdown, or JSON while preserving layout.
39
39
  *
40
40
  * **Input:** Exactly one of `file` and `upload_ids` must be provided. Use `POST /doc-ai/v1/job/upload` to obtain upload IDs.
41
41
  *
@@ -82,7 +82,11 @@ export declare class DocAiClient {
82
82
  *
83
83
  * @example
84
84
  * import { createReadStream } from "fs";
85
- * await client.docAi.extract({})
85
+ * await client.docAi.extract({
86
+ * schema: "{\"type\":\"object\",\"properties\":{\"policy_number\":{\"type\":\"string\",\"description\":\"Insurance policy number\"},\"insured_name\":{\"type\":\"string\",\"description\":\"Name of the insured person\"},\"sum_insured\":{\"type\":\"number\",\"description\":\"Total sum insured, in INR\"}}}",
87
+ * language: "en-IN",
88
+ * output_format: "json"
89
+ * })
86
90
  */
87
91
  extract(request: SarvamAI.DocAiExtractRequest, requestOptions?: DocAiClient.RequestOptions): core.HttpResponsePromise<SarvamAI.DocAiStartJobResponse>;
88
92
  private __extract;
@@ -126,7 +126,7 @@ class DocAiClient {
126
126
  });
127
127
  }
128
128
  /**
129
- * Creates and starts a digitise job from files or pre-uploaded handles. Digitise converts documents into structured HTML or Markdown while preserving layout.
129
+ * Creates and starts a digitise job from files or pre-uploaded handles. Digitise converts documents into structured HTML, Markdown, or JSON while preserving layout.
130
130
  *
131
131
  * **Input:** Exactly one of `file` and `upload_ids` must be provided. Use `POST /doc-ai/v1/job/upload` to obtain upload IDs.
132
132
  *
@@ -172,9 +172,6 @@ class DocAiClient {
172
172
  if (request.content_type != null) {
173
173
  _body.append("content_type", request.content_type);
174
174
  }
175
- if (request.auto_orient != null) {
176
- _body.append("auto_orient", request.auto_orient);
177
- }
178
175
  if (request.model != null) {
179
176
  _body.append("model", request.model);
180
177
  }
@@ -246,7 +243,11 @@ class DocAiClient {
246
243
  *
247
244
  * @example
248
245
  * import { createReadStream } from "fs";
249
- * await client.docAi.extract({})
246
+ * await client.docAi.extract({
247
+ * schema: "{\"type\":\"object\",\"properties\":{\"policy_number\":{\"type\":\"string\",\"description\":\"Insurance policy number\"},\"insured_name\":{\"type\":\"string\",\"description\":\"Name of the insured person\"},\"sum_insured\":{\"type\":\"number\",\"description\":\"Total sum insured, in INR\"}}}",
248
+ * language: "en-IN",
249
+ * output_format: "json"
250
+ * })
250
251
  */
251
252
  extract(request, requestOptions) {
252
253
  return core.HttpResponsePromise.fromPromise(this.__extract(request, requestOptions));
@@ -278,9 +279,6 @@ class DocAiClient {
278
279
  if (request.classification != null) {
279
280
  _body.append("classification", request.classification);
280
281
  }
281
- if (request.auto_orient != null) {
282
- _body.append("auto_orient", request.auto_orient);
283
- }
284
282
  if (request.model != null) {
285
283
  _body.append("model", request.model);
286
284
  }
@@ -14,8 +14,6 @@ export interface DocAiDigitiseRequest {
14
14
  output_format?: DocAiDigitiseRequest.OutputFormat;
15
15
  /** Nature of the document content. */
16
16
  content_type?: DocAiDigitiseRequest.ContentType;
17
- /** Automatically correct page orientation before processing. Boolean sent as text: `true` or `false`. */
18
- auto_orient?: string;
19
17
  /** Model to use for digitisation. */
20
18
  model?: string;
21
19
  }
@@ -24,6 +22,7 @@ export declare namespace DocAiDigitiseRequest {
24
22
  const OutputFormat: {
25
23
  readonly Html: "html";
26
24
  readonly Md: "md";
25
+ readonly Json: "json";
27
26
  };
28
27
  type OutputFormat = (typeof OutputFormat)[keyof typeof OutputFormat];
29
28
  /** Nature of the document content. */
@@ -8,6 +8,7 @@ var DocAiDigitiseRequest;
8
8
  DocAiDigitiseRequest.OutputFormat = {
9
9
  Html: "html",
10
10
  Md: "md",
11
+ Json: "json",
11
12
  };
12
13
  /** Nature of the document content. */
13
14
  DocAiDigitiseRequest.ContentType = {
@@ -1,7 +1,11 @@
1
1
  import type * as core from "../../../../../core/index.js";
2
2
  /**
3
3
  * @example
4
- * {}
4
+ * {
5
+ * schema: "{\"type\":\"object\",\"properties\":{\"policy_number\":{\"type\":\"string\",\"description\":\"Insurance policy number\"},\"insured_name\":{\"type\":\"string\",\"description\":\"Name of the insured person\"},\"sum_insured\":{\"type\":\"number\",\"description\":\"Total sum insured, in INR\"}}}",
6
+ * language: "en-IN",
7
+ * output_format: "json"
8
+ * }
5
9
  */
6
10
  export interface DocAiExtractRequest {
7
11
  /** Document file(s) to extract from. Repeatable multipart part. Exactly one of `file` and `upload_ids` must be provided. */
@@ -10,7 +14,7 @@ export interface DocAiExtractRequest {
10
14
  upload_ids?: string;
11
15
  /** Inline extraction schema as a JSON string. The root must be `type: "object"` with non-empty `properties`; every field needs a `type` and a non-empty `description`. Supported types: `string`, `number`, `integer`, `boolean`, `object`, `array` (objects need `properties`, arrays need `items`); optional `enum`; maximum nesting depth 4. Exactly one of `schema` and `config_id` is required. */
12
16
  schema?: string;
13
- /** Saved extraction configuration ID. Exactly one of `schema` and `config_id` is required. */
17
+ /** Saved extraction configuration ID. Exactly one of `schema` and `config_id` is required. To get your config_id, follow the steps listed [here](/api/api-guides-tutorials/document-intelligence/how-to/get-your-config-id). */
14
18
  config_id?: string;
15
19
  /** Language code of the document (BCP-47), e.g. `en-IN`, `hi-IN`. */
16
20
  language?: string;
@@ -18,8 +22,6 @@ export interface DocAiExtractRequest {
18
22
  output_format?: DocAiExtractRequest.OutputFormat;
19
23
  /** Enable document classification. Boolean sent as text: `true` or `false`. */
20
24
  classification?: string;
21
- /** Automatically correct page orientation before processing. Boolean sent as text: `true` or `false`. */
22
- auto_orient?: string;
23
25
  /** Model to use for extraction. */
24
26
  model?: string;
25
27
  }
@@ -0,0 +1,143 @@
1
+ import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
2
+ import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
3
+ import * as core from "../../../../core/index.js";
4
+ import * as SarvamAI from "../../../index.js";
5
+ export declare namespace DocumentTranslationClient {
6
+ type Options = BaseClientOptions;
7
+ interface RequestOptions extends BaseRequestOptions {
8
+ }
9
+ }
10
+ export declare class DocumentTranslationClient {
11
+ protected readonly _options: NormalizedClientOptionsWithAuth<DocumentTranslationClient.Options>;
12
+ constructor(options?: DocumentTranslationClient.Options);
13
+ /**
14
+ * ## Document Translation
15
+ *
16
+ * Create a document translation job. Returns a `job_id` and a short-lived signed `upload_url`.
17
+ *
18
+ * **Flow:**
19
+ * 1. `POST /translate/document/jobs` with source/target languages and options.
20
+ * 2. `PUT` the raw file bytes to `upload_url` with header `Content-Type: <mime>`.
21
+ * 3. `POST /translate/document/jobs/{job_id}/start` to begin the pipeline.
22
+ * 4. Poll `GET /translate/document/jobs/{job_id}/live-status` until translation completes.
23
+ * 5. `POST /translate/document/jobs/{job_id}/export?lang=<code>&format=<fmt>` to enqueue an async export for each target language.
24
+ * 6. Poll `GET /translate/document/jobs/{job_id}/export/status` until `export_state` is `Completed`, then download from `download_url`.
25
+ *
26
+ * A single job translates into every language in `target_language_codes`. Exports run asynchronously — do not expect the download URL in the trigger response.
27
+ *
28
+ * @param {SarvamAI.CreateDocumentJobRequest} request
29
+ * @param {DocumentTranslationClient.RequestOptions} requestOptions - Request-specific configuration.
30
+ *
31
+ * @throws {@link SarvamAI.BadRequestError}
32
+ * @throws {@link SarvamAI.UnauthorizedError}
33
+ * @throws {@link SarvamAI.PaymentRequiredError}
34
+ * @throws {@link SarvamAI.InternalServerError}
35
+ *
36
+ * @example
37
+ * await client.documentTranslation.create({
38
+ * job_name: "chapter1",
39
+ * source_language_code: "en-IN",
40
+ * target_language_codes: ["hi-IN", "ta-IN"],
41
+ * original_filename: "chapter1.pdf",
42
+ * genre: "NON_FICTION",
43
+ * auto_process: true,
44
+ * model_type: "plus",
45
+ * use_native_numerals: true
46
+ * })
47
+ */
48
+ create(request: SarvamAI.CreateDocumentJobRequest, requestOptions?: DocumentTranslationClient.RequestOptions): core.HttpResponsePromise<SarvamAI.CreateDocumentJobResponse>;
49
+ private __create;
50
+ /**
51
+ * Start the translation pipeline after the file has been uploaded to the signed `upload_url`. Idempotent.
52
+ *
53
+ * @param {string} job_id - The `job_id` returned by POST /translate/document/jobs.
54
+ * @param {DocumentTranslationClient.RequestOptions} requestOptions - Request-specific configuration.
55
+ *
56
+ * @throws {@link SarvamAI.BadRequestError}
57
+ * @throws {@link SarvamAI.UnauthorizedError}
58
+ * @throws {@link SarvamAI.PaymentRequiredError}
59
+ * @throws {@link SarvamAI.NotFoundError}
60
+ * @throws {@link SarvamAI.InternalServerError}
61
+ *
62
+ * @example
63
+ * await client.documentTranslation.start("550e8400-e29b-41d4-a716-446655440000")
64
+ */
65
+ start(job_id: string, requestOptions?: DocumentTranslationClient.RequestOptions): core.HttpResponsePromise<SarvamAI.StartJobResponse>;
66
+ private __start;
67
+ /**
68
+ * Poll the progress of a document translation job.
69
+ *
70
+ * @param {string} job_id - The `job_id` returned by POST /translate/document/jobs.
71
+ * @param {DocumentTranslationClient.RequestOptions} requestOptions - Request-specific configuration.
72
+ *
73
+ * @throws {@link SarvamAI.BadRequestError}
74
+ * @throws {@link SarvamAI.UnauthorizedError}
75
+ * @throws {@link SarvamAI.NotFoundError}
76
+ * @throws {@link SarvamAI.InternalServerError}
77
+ *
78
+ * @example
79
+ * await client.documentTranslation.getLiveStatus("550e8400-e29b-41d4-a716-446655440000")
80
+ *
81
+ * @example
82
+ * await client.documentTranslation.getLiveStatus("660e8400-e29b-41d4-a716-446655440001")
83
+ */
84
+ getLiveStatus(job_id: string, requestOptions?: DocumentTranslationClient.RequestOptions): core.HttpResponsePromise<SarvamAI.JobLiveStatusResponse>;
85
+ private __getLiveStatus;
86
+ /**
87
+ * Enqueue an async export for one target language in the requested format.
88
+ *
89
+ * Returns `202 Accepted` with `export_state=Pending`. Poll `GET /translate/document/jobs/{job_id}/export/status` until `export_state` is `Completed`, then download from `download_url`.
90
+ *
91
+ * - PDF/DOCX uploads support cross-format export (`pdf`, `docx`, `html`, `txt`, `epub`).
92
+ * - Office uploads (xlsx, pptx, docx) export in the original format only.
93
+ * - Optional `fit_line_height` / `fit_font_shrink` tune PDF/DOCX shrink-to-fit.
94
+ * - Returns `409` when an export for the same language and format is already `Pending` or `Running`.
95
+ *
96
+ * @param {string} job_id - The `job_id` returned by POST /translate/document/jobs.
97
+ * @param {SarvamAI.DocumentTranslationTriggerExportRequest} request
98
+ * @param {DocumentTranslationClient.RequestOptions} requestOptions - Request-specific configuration.
99
+ *
100
+ * @throws {@link SarvamAI.BadRequestError}
101
+ * @throws {@link SarvamAI.UnauthorizedError}
102
+ * @throws {@link SarvamAI.NotFoundError}
103
+ * @throws {@link SarvamAI.ConflictError}
104
+ * @throws {@link SarvamAI.InternalServerError}
105
+ * @throws {@link SarvamAI.ServiceUnavailableError}
106
+ *
107
+ * @example
108
+ * await client.documentTranslation.triggerExport("550e8400-e29b-41d4-a716-446655440000", {
109
+ * lang: "hi-IN",
110
+ * format: "pdf"
111
+ * })
112
+ */
113
+ triggerExport(job_id: string, request: SarvamAI.DocumentTranslationTriggerExportRequest, requestOptions?: DocumentTranslationClient.RequestOptions): core.HttpResponsePromise<SarvamAI.DocumentJobExportStatusResponse>;
114
+ private __triggerExport;
115
+ /**
116
+ * Poll async export status and retrieve a signed `download_url` when `export_state` is `Completed`.
117
+ *
118
+ * Provide either `export_id` (from the trigger response) or `lang` (returns the latest export for that language).
119
+ *
120
+ * > Signed download URLs are time-limited (~24h). Re-fetch this endpoint for a fresh URL rather than caching long-term.
121
+ *
122
+ * @param {string} job_id - The `job_id` returned by POST /translate/document/jobs.
123
+ * @param {SarvamAI.DocumentTranslationGetExportStatusRequest} request
124
+ * @param {DocumentTranslationClient.RequestOptions} requestOptions - Request-specific configuration.
125
+ *
126
+ * @throws {@link SarvamAI.BadRequestError}
127
+ * @throws {@link SarvamAI.UnauthorizedError}
128
+ * @throws {@link SarvamAI.NotFoundError}
129
+ * @throws {@link SarvamAI.InternalServerError}
130
+ *
131
+ * @example
132
+ * await client.documentTranslation.getExportStatus("550e8400-e29b-41d4-a716-446655440000", {
133
+ * export_id: "exp_1a2b3c4d"
134
+ * })
135
+ *
136
+ * @example
137
+ * await client.documentTranslation.getExportStatus("550e8400-e29b-41d4-a716-446655440000", {
138
+ * lang: "hi-IN"
139
+ * })
140
+ */
141
+ getExportStatus(job_id: string, request?: SarvamAI.DocumentTranslationGetExportStatusRequest, requestOptions?: DocumentTranslationClient.RequestOptions): core.HttpResponsePromise<SarvamAI.DocumentJobExportStatusResponse>;
142
+ private __getExportStatus;
143
+ }