@azure-rest/ai-document-translator 1.0.0-beta.1 → 1.0.0-beta.2

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 (199) hide show
  1. package/LICENSE +3 -3
  2. package/README.md +52 -71
  3. package/dist/browser/clientDefinitions.d.ts +125 -0
  4. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  5. package/dist/browser/clientDefinitions.js +4 -0
  6. package/dist/browser/clientDefinitions.js.map +1 -0
  7. package/dist/browser/documentTranslator.d.ts +14 -0
  8. package/dist/browser/documentTranslator.d.ts.map +1 -0
  9. package/dist/browser/documentTranslator.js +33 -0
  10. package/dist/browser/documentTranslator.js.map +1 -0
  11. package/dist/browser/index.d.ts +12 -0
  12. package/dist/browser/index.d.ts.map +1 -0
  13. package/dist/browser/index.js +14 -0
  14. package/dist/browser/index.js.map +1 -0
  15. package/dist/browser/isUnexpected.d.ts +11 -0
  16. package/dist/browser/isUnexpected.d.ts.map +1 -0
  17. package/dist/browser/isUnexpected.js +78 -0
  18. package/dist/browser/isUnexpected.js.map +1 -0
  19. package/dist/browser/logger.d.ts +2 -0
  20. package/dist/browser/logger.d.ts.map +1 -0
  21. package/dist/browser/logger.js +5 -0
  22. package/dist/browser/logger.js.map +1 -0
  23. package/dist/browser/models.d.ts +69 -0
  24. package/dist/browser/models.d.ts.map +1 -0
  25. package/dist/browser/models.js +4 -0
  26. package/dist/browser/models.js.map +1 -0
  27. package/dist/browser/outputModels.d.ts +144 -0
  28. package/dist/browser/outputModels.d.ts.map +1 -0
  29. package/dist/browser/outputModels.js +4 -0
  30. package/dist/browser/outputModels.js.map +1 -0
  31. package/dist/browser/package.json +3 -0
  32. package/dist/browser/paginateHelper.d.ts +68 -0
  33. package/dist/browser/paginateHelper.d.ts.map +1 -0
  34. package/dist/browser/paginateHelper.js +167 -0
  35. package/dist/browser/paginateHelper.js.map +1 -0
  36. package/dist/browser/parameters.d.ts +98 -0
  37. package/dist/browser/parameters.d.ts.map +1 -0
  38. package/dist/browser/parameters.js +4 -0
  39. package/dist/browser/parameters.js.map +1 -0
  40. package/dist/browser/pollingHelper.d.ts +76 -0
  41. package/dist/browser/pollingHelper.d.ts.map +1 -0
  42. package/dist/browser/pollingHelper.js +104 -0
  43. package/dist/browser/pollingHelper.js.map +1 -0
  44. package/{types/ai-document-translator.d.ts → dist/browser/responses.d.ts} +725 -1242
  45. package/dist/browser/responses.d.ts.map +1 -0
  46. package/dist/browser/responses.js +4 -0
  47. package/dist/browser/responses.js.map +1 -0
  48. package/dist/commonjs/clientDefinitions.d.ts +125 -0
  49. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  50. package/dist/commonjs/clientDefinitions.js +5 -0
  51. package/dist/commonjs/clientDefinitions.js.map +1 -0
  52. package/dist/commonjs/documentTranslator.d.ts +14 -0
  53. package/dist/commonjs/documentTranslator.d.ts.map +1 -0
  54. package/dist/commonjs/documentTranslator.js +36 -0
  55. package/dist/commonjs/documentTranslator.js.map +1 -0
  56. package/dist/commonjs/index.d.ts +12 -0
  57. package/dist/commonjs/index.d.ts.map +1 -0
  58. package/dist/commonjs/index.js +17 -0
  59. package/dist/commonjs/index.js.map +1 -0
  60. package/dist/commonjs/isUnexpected.d.ts +11 -0
  61. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  62. package/dist/commonjs/isUnexpected.js +81 -0
  63. package/dist/commonjs/isUnexpected.js.map +1 -0
  64. package/dist/commonjs/logger.d.ts +2 -0
  65. package/dist/commonjs/logger.d.ts.map +1 -0
  66. package/dist/commonjs/logger.js +8 -0
  67. package/dist/commonjs/logger.js.map +1 -0
  68. package/dist/commonjs/models.d.ts +69 -0
  69. package/dist/commonjs/models.d.ts.map +1 -0
  70. package/dist/commonjs/models.js +5 -0
  71. package/dist/commonjs/models.js.map +1 -0
  72. package/dist/commonjs/outputModels.d.ts +144 -0
  73. package/dist/commonjs/outputModels.d.ts.map +1 -0
  74. package/dist/commonjs/outputModels.js +5 -0
  75. package/dist/commonjs/outputModels.js.map +1 -0
  76. package/dist/commonjs/package.json +3 -0
  77. package/dist/commonjs/paginateHelper.d.ts +68 -0
  78. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  79. package/dist/commonjs/paginateHelper.js +170 -0
  80. package/dist/commonjs/paginateHelper.js.map +1 -0
  81. package/dist/commonjs/parameters.d.ts +98 -0
  82. package/dist/commonjs/parameters.d.ts.map +1 -0
  83. package/dist/commonjs/parameters.js +5 -0
  84. package/dist/commonjs/parameters.js.map +1 -0
  85. package/dist/commonjs/pollingHelper.d.ts +76 -0
  86. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  87. package/dist/commonjs/pollingHelper.js +107 -0
  88. package/dist/commonjs/pollingHelper.js.map +1 -0
  89. package/dist/commonjs/responses.d.ts +725 -0
  90. package/dist/commonjs/responses.d.ts.map +1 -0
  91. package/dist/commonjs/responses.js +5 -0
  92. package/dist/commonjs/responses.js.map +1 -0
  93. package/dist/commonjs/tsdoc-metadata.json +11 -0
  94. package/dist/esm/clientDefinitions.d.ts +125 -0
  95. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  96. package/dist/esm/clientDefinitions.js +4 -0
  97. package/dist/esm/clientDefinitions.js.map +1 -0
  98. package/dist/esm/documentTranslator.d.ts +14 -0
  99. package/dist/esm/documentTranslator.d.ts.map +1 -0
  100. package/dist/esm/documentTranslator.js +33 -0
  101. package/dist/esm/documentTranslator.js.map +1 -0
  102. package/dist/esm/index.d.ts +12 -0
  103. package/dist/esm/index.d.ts.map +1 -0
  104. package/dist/esm/index.js +14 -0
  105. package/dist/esm/index.js.map +1 -0
  106. package/dist/esm/isUnexpected.d.ts +11 -0
  107. package/dist/esm/isUnexpected.d.ts.map +1 -0
  108. package/dist/esm/isUnexpected.js +78 -0
  109. package/dist/esm/isUnexpected.js.map +1 -0
  110. package/dist/esm/logger.d.ts +2 -0
  111. package/dist/esm/logger.d.ts.map +1 -0
  112. package/dist/esm/logger.js +5 -0
  113. package/dist/esm/logger.js.map +1 -0
  114. package/dist/esm/models.d.ts +69 -0
  115. package/dist/esm/models.d.ts.map +1 -0
  116. package/dist/esm/models.js +4 -0
  117. package/dist/esm/models.js.map +1 -0
  118. package/dist/esm/outputModels.d.ts +144 -0
  119. package/dist/esm/outputModels.d.ts.map +1 -0
  120. package/dist/esm/outputModels.js +4 -0
  121. package/dist/esm/outputModels.js.map +1 -0
  122. package/dist/esm/package.json +3 -0
  123. package/dist/esm/paginateHelper.d.ts +68 -0
  124. package/dist/esm/paginateHelper.d.ts.map +1 -0
  125. package/dist/esm/paginateHelper.js +167 -0
  126. package/dist/esm/paginateHelper.js.map +1 -0
  127. package/dist/esm/parameters.d.ts +98 -0
  128. package/dist/esm/parameters.d.ts.map +1 -0
  129. package/dist/esm/parameters.js +4 -0
  130. package/dist/esm/parameters.js.map +1 -0
  131. package/dist/esm/pollingHelper.d.ts +76 -0
  132. package/dist/esm/pollingHelper.d.ts.map +1 -0
  133. package/dist/esm/pollingHelper.js +104 -0
  134. package/dist/esm/pollingHelper.js.map +1 -0
  135. package/dist/esm/responses.d.ts +725 -0
  136. package/dist/esm/responses.d.ts.map +1 -0
  137. package/dist/esm/responses.js +4 -0
  138. package/dist/esm/responses.js.map +1 -0
  139. package/dist/react-native/clientDefinitions.d.ts +125 -0
  140. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  141. package/dist/react-native/clientDefinitions.js +4 -0
  142. package/dist/react-native/clientDefinitions.js.map +1 -0
  143. package/dist/react-native/documentTranslator.d.ts +14 -0
  144. package/dist/react-native/documentTranslator.d.ts.map +1 -0
  145. package/dist/react-native/documentTranslator.js +33 -0
  146. package/dist/react-native/documentTranslator.js.map +1 -0
  147. package/dist/react-native/index.d.ts +12 -0
  148. package/dist/react-native/index.d.ts.map +1 -0
  149. package/dist/react-native/index.js +14 -0
  150. package/dist/react-native/index.js.map +1 -0
  151. package/dist/react-native/isUnexpected.d.ts +11 -0
  152. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  153. package/dist/react-native/isUnexpected.js +78 -0
  154. package/dist/react-native/isUnexpected.js.map +1 -0
  155. package/dist/react-native/logger.d.ts +2 -0
  156. package/dist/react-native/logger.d.ts.map +1 -0
  157. package/dist/react-native/logger.js +5 -0
  158. package/dist/react-native/logger.js.map +1 -0
  159. package/dist/react-native/models.d.ts +69 -0
  160. package/dist/react-native/models.d.ts.map +1 -0
  161. package/dist/react-native/models.js +4 -0
  162. package/dist/react-native/models.js.map +1 -0
  163. package/dist/react-native/outputModels.d.ts +144 -0
  164. package/dist/react-native/outputModels.d.ts.map +1 -0
  165. package/dist/react-native/outputModels.js +4 -0
  166. package/dist/react-native/outputModels.js.map +1 -0
  167. package/dist/react-native/package.json +3 -0
  168. package/dist/react-native/paginateHelper.d.ts +68 -0
  169. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  170. package/dist/react-native/paginateHelper.js +167 -0
  171. package/dist/react-native/paginateHelper.js.map +1 -0
  172. package/dist/react-native/parameters.d.ts +98 -0
  173. package/dist/react-native/parameters.d.ts.map +1 -0
  174. package/dist/react-native/parameters.js +4 -0
  175. package/dist/react-native/parameters.js.map +1 -0
  176. package/dist/react-native/pollingHelper.d.ts +76 -0
  177. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  178. package/dist/react-native/pollingHelper.js +104 -0
  179. package/dist/react-native/pollingHelper.js.map +1 -0
  180. package/dist/react-native/responses.d.ts +725 -0
  181. package/dist/react-native/responses.d.ts.map +1 -0
  182. package/dist/react-native/responses.js +4 -0
  183. package/dist/react-native/responses.js.map +1 -0
  184. package/package.json +86 -71
  185. package/CHANGELOG.md +0 -5
  186. package/dist/index.js +0 -19
  187. package/dist/index.js.map +0 -1
  188. package/dist-esm/src/constants.js +0 -7
  189. package/dist-esm/src/constants.js.map +0 -1
  190. package/dist-esm/src/documentTranslator.js +0 -13
  191. package/dist-esm/src/documentTranslator.js.map +0 -1
  192. package/dist-esm/src/index.js +0 -13
  193. package/dist-esm/src/index.js.map +0 -1
  194. package/dist-esm/src/models.js +0 -4
  195. package/dist-esm/src/models.js.map +0 -1
  196. package/dist-esm/src/parameters.js +0 -4
  197. package/dist-esm/src/parameters.js.map +0 -1
  198. package/dist-esm/src/responses.js +0 -4
  199. package/dist-esm/src/responses.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n\nimport {\n TranslationErrorResponse,\n TranslationsStatus,\n DocumentStatus,\n TranslationStatus,\n DocumentsStatus,\n SupportedFileFormats,\n SupportedStorageSources,\n} from \"./models\";\nimport { HttpResponse } from \"@azure-rest/core-client\";\nimport { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\n\nexport interface StartTranslation202Headers {\n /** Location of batch the operation */\n \"operation-location\"?: string;\n}\n\n/**\n * Use this API to submit a bulk (batch) translation request to the Document Translation service.\n * Each request can contain multiple documents and must contain a source and destination container for each document.\n *\n * The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.\n *\n * Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.\n *\n * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.\n * If a file with the same name already exists at the destination, it will be overwritten. The targetUrl for each target language must be unique.\n */\nexport interface StartTranslation202Response extends HttpResponse {\n status: \"202\";\n headers: RawHttpHeaders & StartTranslation202Headers;\n}\n\n/**\n * Use this API to submit a bulk (batch) translation request to the Document Translation service.\n * Each request can contain multiple documents and must contain a source and destination container for each document.\n *\n * The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.\n *\n * Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.\n *\n * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.\n * If a file with the same name already exists at the destination, it will be overwritten. The targetUrl for each target language must be unique.\n */\nexport interface StartTranslation400Response extends HttpResponse {\n status: \"400\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Use this API to submit a bulk (batch) translation request to the Document Translation service.\n * Each request can contain multiple documents and must contain a source and destination container for each document.\n *\n * The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.\n *\n * Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.\n *\n * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.\n * If a file with the same name already exists at the destination, it will be overwritten. The targetUrl for each target language must be unique.\n */\nexport interface StartTranslation401Response extends HttpResponse {\n status: \"401\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Use this API to submit a bulk (batch) translation request to the Document Translation service.\n * Each request can contain multiple documents and must contain a source and destination container for each document.\n *\n * The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.\n *\n * Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.\n *\n * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.\n * If a file with the same name already exists at the destination, it will be overwritten. The targetUrl for each target language must be unique.\n */\nexport interface StartTranslation429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Use this API to submit a bulk (batch) translation request to the Document Translation service.\n * Each request can contain multiple documents and must contain a source and destination container for each document.\n *\n * The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.\n *\n * Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.\n *\n * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.\n * If a file with the same name already exists at the destination, it will be overwritten. The targetUrl for each target language must be unique.\n */\nexport interface StartTranslation500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Use this API to submit a bulk (batch) translation request to the Document Translation service.\n * Each request can contain multiple documents and must contain a source and destination container for each document.\n *\n * The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.\n *\n * Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.\n *\n * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.\n * If a file with the same name already exists at the destination, it will be overwritten. The targetUrl for each target language must be unique.\n */\nexport interface StartTranslation503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\nexport interface GetTranslationsStatus200Headers {\n /** Indicates how long to wait before making a new request. */\n \"retry-after\"?: string;\n /** The ETag response-header field provides the current value of the entity tag for the requested variant. Used with If-Match, If-None-Match and If-Range to implement optimistic concurrency control. */\n etag?: string;\n}\n\n/**\n * Returns a list of batch requests submitted and the status for each request.\n * This list only contains batch requests submitted by the user (based on the resource).\n *\n * If the number of requests exceeds our paging limit, server-side paging is used. Paginated responses indicate a partial result and include a continuation token in the response.\n * The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of batches based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled operations.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * The server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetTranslationsStatus200Response extends HttpResponse {\n status: \"200\";\n body: TranslationsStatus;\n headers: RawHttpHeaders & GetTranslationsStatus200Headers;\n}\n\n/**\n * Returns a list of batch requests submitted and the status for each request.\n * This list only contains batch requests submitted by the user (based on the resource).\n *\n * If the number of requests exceeds our paging limit, server-side paging is used. Paginated responses indicate a partial result and include a continuation token in the response.\n * The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of batches based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled operations.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * The server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetTranslationsStatus400Response extends HttpResponse {\n status: \"400\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns a list of batch requests submitted and the status for each request.\n * This list only contains batch requests submitted by the user (based on the resource).\n *\n * If the number of requests exceeds our paging limit, server-side paging is used. Paginated responses indicate a partial result and include a continuation token in the response.\n * The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of batches based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled operations.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * The server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetTranslationsStatus401Response extends HttpResponse {\n status: \"401\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns a list of batch requests submitted and the status for each request.\n * This list only contains batch requests submitted by the user (based on the resource).\n *\n * If the number of requests exceeds our paging limit, server-side paging is used. Paginated responses indicate a partial result and include a continuation token in the response.\n * The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of batches based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled operations.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * The server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetTranslationsStatus429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns a list of batch requests submitted and the status for each request.\n * This list only contains batch requests submitted by the user (based on the resource).\n *\n * If the number of requests exceeds our paging limit, server-side paging is used. Paginated responses indicate a partial result and include a continuation token in the response.\n * The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of batches based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled operations.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * The server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetTranslationsStatus500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns a list of batch requests submitted and the status for each request.\n * This list only contains batch requests submitted by the user (based on the resource).\n *\n * If the number of requests exceeds our paging limit, server-side paging is used. Paginated responses indicate a partial result and include a continuation token in the response.\n * The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of batches based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled operations.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * The server honors the values specified by the client. However, clients must be prepared to handle responses that contain a different page size or contain a continuation token.\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetTranslationsStatus503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\nexport interface GetDocumentStatus200Headers {\n /** Indicates how long to wait before making a new request. */\n \"retry-after\"?: string;\n /** The ETag response-header field provides the current value of the entity tag for the requested variant. Used with If-Match, If-None-Match and If-Range to implement optimistic concurrency control. */\n etag?: string;\n}\n\n/** Returns the translation status for a specific document based on the request Id and document Id. */\nexport interface GetDocumentStatus200Response extends HttpResponse {\n status: \"200\";\n body: DocumentStatus;\n headers: RawHttpHeaders & GetDocumentStatus200Headers;\n}\n\n/** Returns the translation status for a specific document based on the request Id and document Id. */\nexport interface GetDocumentStatus401Response extends HttpResponse {\n status: \"401\";\n body: TranslationErrorResponse;\n}\n\n/** Returns the translation status for a specific document based on the request Id and document Id. */\nexport interface GetDocumentStatus404Response extends HttpResponse {\n status: \"404\";\n body: TranslationErrorResponse;\n}\n\n/** Returns the translation status for a specific document based on the request Id and document Id. */\nexport interface GetDocumentStatus429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/** Returns the translation status for a specific document based on the request Id and document Id. */\nexport interface GetDocumentStatus500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/** Returns the translation status for a specific document based on the request Id and document Id. */\nexport interface GetDocumentStatus503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\nexport interface GetTranslationStatus200Headers {\n /** Indicates how long to wait before making a new request. */\n \"retry-after\"?: string;\n /** The ETag response-header field provides the current value of the entity tag for the requested variant. Used with If-Match, If-None-Match and If-Range to implement optimistic concurrency control. */\n etag?: string;\n}\n\n/**\n * Returns the status for a document translation request.\n * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.\n */\nexport interface GetTranslationStatus200Response extends HttpResponse {\n status: \"200\";\n body: TranslationStatus;\n headers: RawHttpHeaders & GetTranslationStatus200Headers;\n}\n\n/**\n * Returns the status for a document translation request.\n * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.\n */\nexport interface GetTranslationStatus401Response extends HttpResponse {\n status: \"401\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for a document translation request.\n * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.\n */\nexport interface GetTranslationStatus404Response extends HttpResponse {\n status: \"404\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for a document translation request.\n * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.\n */\nexport interface GetTranslationStatus429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for a document translation request.\n * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.\n */\nexport interface GetTranslationStatus500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for a document translation request.\n * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.\n */\nexport interface GetTranslationStatus503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Cancel a currently processing or queued translation.\n * Cancel a currently processing or queued translation.\n * A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.\n * All documents that have completed translation will not be cancelled and will be charged.\n * All pending documents will be cancelled if possible.\n */\nexport interface CancelTranslation200Response extends HttpResponse {\n status: \"200\";\n body: TranslationStatus;\n}\n\n/**\n * Cancel a currently processing or queued translation.\n * Cancel a currently processing or queued translation.\n * A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.\n * All documents that have completed translation will not be cancelled and will be charged.\n * All pending documents will be cancelled if possible.\n */\nexport interface CancelTranslation401Response extends HttpResponse {\n status: \"401\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Cancel a currently processing or queued translation.\n * Cancel a currently processing or queued translation.\n * A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.\n * All documents that have completed translation will not be cancelled and will be charged.\n * All pending documents will be cancelled if possible.\n */\nexport interface CancelTranslation404Response extends HttpResponse {\n status: \"404\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Cancel a currently processing or queued translation.\n * Cancel a currently processing or queued translation.\n * A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.\n * All documents that have completed translation will not be cancelled and will be charged.\n * All pending documents will be cancelled if possible.\n */\nexport interface CancelTranslation429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Cancel a currently processing or queued translation.\n * Cancel a currently processing or queued translation.\n * A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.\n * All documents that have completed translation will not be cancelled and will be charged.\n * All pending documents will be cancelled if possible.\n */\nexport interface CancelTranslation500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Cancel a currently processing or queued translation.\n * Cancel a currently processing or queued translation.\n * A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.\n * All documents that have completed translation will not be cancelled and will be charged.\n * All pending documents will be cancelled if possible.\n */\nexport interface CancelTranslation503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\nexport interface GetDocumentsStatus200Headers {\n /** Indicates how long to wait before making a new request. */\n \"retry-after\"?: string;\n /** The ETag response-header field provides the current value of the entity tag for the requested variant. Used with If-Match, If-None-Match and If-Range to implement optimistic concurrency control. */\n etag?: string;\n}\n\n/**\n * Returns the status for all documents in a batch document translation request.\n *\n * If the number of documents in the response exceeds our paging limit, server-side paging is used.\n * Paginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of document status held by the server based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled documents.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetDocumentsStatus200Response extends HttpResponse {\n status: \"200\";\n body: DocumentsStatus;\n headers: RawHttpHeaders & GetDocumentsStatus200Headers;\n}\n\n/**\n * Returns the status for all documents in a batch document translation request.\n *\n * If the number of documents in the response exceeds our paging limit, server-side paging is used.\n * Paginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of document status held by the server based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled documents.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetDocumentsStatus400Response extends HttpResponse {\n status: \"400\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for all documents in a batch document translation request.\n *\n * If the number of documents in the response exceeds our paging limit, server-side paging is used.\n * Paginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of document status held by the server based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled documents.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetDocumentsStatus401Response extends HttpResponse {\n status: \"401\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for all documents in a batch document translation request.\n *\n * If the number of documents in the response exceeds our paging limit, server-side paging is used.\n * Paginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of document status held by the server based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled documents.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetDocumentsStatus404Response extends HttpResponse {\n status: \"404\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for all documents in a batch document translation request.\n *\n * If the number of documents in the response exceeds our paging limit, server-side paging is used.\n * Paginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of document status held by the server based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled documents.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetDocumentsStatus429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for all documents in a batch document translation request.\n *\n * If the number of documents in the response exceeds our paging limit, server-side paging is used.\n * Paginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of document status held by the server based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled documents.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetDocumentsStatus500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/**\n * Returns the status for all documents in a batch document translation request.\n *\n * If the number of documents in the response exceeds our paging limit, server-side paging is used.\n * Paginated responses indicate a partial result and include a continuation token in the response. The absence of a continuation token means that no additional pages are available.\n *\n * $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.\n *\n * $top indicates the total number of records the user wants to be returned across all pages.\n * $skip indicates the number of records to skip from the list of document status held by the server based on the sorting method specified. By default, we sort by descending start time.\n * $maxpagesize is the maximum items returned in a page. If more items are requested via $top (or $top is not specified and there are more items to be returned), \\@nextLink will contain the link to the next page.\n *\n * $orderBy query parameter can be used to sort the returned list (ex \"$orderBy=createdDateTimeUtc asc\" or \"$orderBy=createdDateTimeUtc desc\").\n * The default sorting is descending by createdDateTimeUtc.\n * Some query parameters can be used to filter the returned list (ex: \"status=Succeeded,Cancelled\") will only return succeeded and cancelled documents.\n * createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.\n * The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).\n *\n * When both $top and $skip are included, the server should first apply $skip and then $top on the collection.\n * Note: If the server can't honor $top and/or $skip, the server must return an error to the client informing about it instead of just ignoring the query options.\n * This reduces the risk of the client making assumptions about the data returned.\n */\nexport interface GetDocumentsStatus503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\nexport interface GetSupportedDocumentFormats200Headers {\n /** Indicates how long to wait before making a new request. */\n \"retry-after\"?: string;\n}\n\n/**\n * The list of supported document formats supported by the Document Translation service.\n * The list includes the common file extension, as well as the content-type if using the upload API.\n */\nexport interface GetSupportedDocumentFormats200Response extends HttpResponse {\n status: \"200\";\n body: SupportedFileFormats;\n headers: RawHttpHeaders & GetSupportedDocumentFormats200Headers;\n}\n\n/**\n * The list of supported document formats supported by the Document Translation service.\n * The list includes the common file extension, as well as the content-type if using the upload API.\n */\nexport interface GetSupportedDocumentFormats429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/**\n * The list of supported document formats supported by the Document Translation service.\n * The list includes the common file extension, as well as the content-type if using the upload API.\n */\nexport interface GetSupportedDocumentFormats500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/**\n * The list of supported document formats supported by the Document Translation service.\n * The list includes the common file extension, as well as the content-type if using the upload API.\n */\nexport interface GetSupportedDocumentFormats503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\nexport interface GetSupportedGlossaryFormats200Headers {\n /** Indicates how long to wait before making a new request. */\n \"retry-after\"?: string;\n}\n\n/**\n * The list of supported glossary formats supported by the Document Translation service.\n * The list includes the common file extension used.\n */\nexport interface GetSupportedGlossaryFormats200Response extends HttpResponse {\n status: \"200\";\n body: SupportedFileFormats;\n headers: RawHttpHeaders & GetSupportedGlossaryFormats200Headers;\n}\n\n/**\n * The list of supported glossary formats supported by the Document Translation service.\n * The list includes the common file extension used.\n */\nexport interface GetSupportedGlossaryFormats429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/**\n * The list of supported glossary formats supported by the Document Translation service.\n * The list includes the common file extension used.\n */\nexport interface GetSupportedGlossaryFormats500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/**\n * The list of supported glossary formats supported by the Document Translation service.\n * The list includes the common file extension used.\n */\nexport interface GetSupportedGlossaryFormats503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n\nexport interface GetSupportedStorageSources200Headers {\n /** Indicates how long to wait before making a new request. */\n \"retry-after\"?: string;\n}\n\n/** Returns a list of storage sources/options supported by the Document Translation service. */\nexport interface GetSupportedStorageSources200Response extends HttpResponse {\n status: \"200\";\n body: SupportedStorageSources;\n headers: RawHttpHeaders & GetSupportedStorageSources200Headers;\n}\n\n/** Returns a list of storage sources/options supported by the Document Translation service. */\nexport interface GetSupportedStorageSources429Response extends HttpResponse {\n status: \"429\";\n body: TranslationErrorResponse;\n}\n\n/** Returns a list of storage sources/options supported by the Document Translation service. */\nexport interface GetSupportedStorageSources500Response extends HttpResponse {\n status: \"500\";\n body: TranslationErrorResponse;\n}\n\n/** Returns a list of storage sources/options supported by the Document Translation service. */\nexport interface GetSupportedStorageSources503Response extends HttpResponse {\n status: \"503\";\n body: TranslationErrorResponse;\n}\n"]}