@azure-rest/ai-document-translator 1.0.0-alpha.20241218.1 → 1.0.0-alpha.20241219.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 (180) hide show
  1. package/dist/browser/clientDefinitions.d.ts +125 -0
  2. package/dist/browser/clientDefinitions.d.ts.map +1 -0
  3. package/dist/browser/clientDefinitions.js +4 -0
  4. package/dist/browser/clientDefinitions.js.map +1 -0
  5. package/dist/browser/documentTranslator.d.ts +13 -129
  6. package/dist/browser/documentTranslator.d.ts.map +1 -1
  7. package/dist/browser/documentTranslator.js +26 -6
  8. package/dist/browser/documentTranslator.js.map +1 -1
  9. package/dist/browser/index.d.ts +6 -5
  10. package/dist/browser/index.d.ts.map +1 -1
  11. package/dist/browser/index.js +6 -6
  12. package/dist/browser/index.js.map +1 -1
  13. package/dist/browser/isUnexpected.d.ts +11 -0
  14. package/dist/browser/isUnexpected.d.ts.map +1 -0
  15. package/dist/browser/isUnexpected.js +78 -0
  16. package/dist/browser/isUnexpected.js.map +1 -0
  17. package/dist/browser/logger.d.ts +2 -0
  18. package/dist/browser/logger.d.ts.map +1 -0
  19. package/dist/browser/logger.js +5 -0
  20. package/dist/browser/logger.js.map +1 -0
  21. package/dist/browser/models.d.ts +12 -132
  22. package/dist/browser/models.d.ts.map +1 -1
  23. package/dist/browser/models.js.map +1 -1
  24. package/dist/browser/outputModels.d.ts +144 -0
  25. package/dist/browser/outputModels.d.ts.map +1 -0
  26. package/dist/browser/outputModels.js +4 -0
  27. package/dist/browser/outputModels.js.map +1 -0
  28. package/dist/browser/paginateHelper.d.ts +68 -0
  29. package/dist/browser/paginateHelper.d.ts.map +1 -0
  30. package/dist/browser/paginateHelper.js +167 -0
  31. package/dist/browser/paginateHelper.js.map +1 -0
  32. package/dist/browser/parameters.d.ts +33 -28
  33. package/dist/browser/parameters.d.ts.map +1 -1
  34. package/dist/browser/parameters.js.map +1 -1
  35. package/dist/browser/pollingHelper.d.ts +76 -0
  36. package/dist/browser/pollingHelper.d.ts.map +1 -0
  37. package/dist/browser/pollingHelper.js +104 -0
  38. package/dist/browser/pollingHelper.js.map +1 -0
  39. package/dist/browser/responses.d.ts +135 -135
  40. package/dist/browser/responses.d.ts.map +1 -1
  41. package/dist/browser/responses.js.map +1 -1
  42. package/dist/commonjs/clientDefinitions.d.ts +125 -0
  43. package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
  44. package/dist/commonjs/{constants.js → clientDefinitions.js} +1 -6
  45. package/dist/commonjs/clientDefinitions.js.map +1 -0
  46. package/dist/commonjs/documentTranslator.d.ts +13 -129
  47. package/dist/commonjs/documentTranslator.d.ts.map +1 -1
  48. package/dist/commonjs/documentTranslator.js +27 -7
  49. package/dist/commonjs/documentTranslator.js.map +1 -1
  50. package/dist/commonjs/index.d.ts +6 -5
  51. package/dist/commonjs/index.d.ts.map +1 -1
  52. package/dist/commonjs/index.js +6 -6
  53. package/dist/commonjs/index.js.map +1 -1
  54. package/dist/commonjs/isUnexpected.d.ts +11 -0
  55. package/dist/commonjs/isUnexpected.d.ts.map +1 -0
  56. package/dist/commonjs/isUnexpected.js +81 -0
  57. package/dist/commonjs/isUnexpected.js.map +1 -0
  58. package/dist/commonjs/logger.d.ts +2 -0
  59. package/dist/commonjs/logger.d.ts.map +1 -0
  60. package/dist/commonjs/logger.js +8 -0
  61. package/dist/commonjs/logger.js.map +1 -0
  62. package/dist/commonjs/models.d.ts +12 -132
  63. package/dist/commonjs/models.d.ts.map +1 -1
  64. package/dist/commonjs/models.js.map +1 -1
  65. package/dist/commonjs/outputModels.d.ts +144 -0
  66. package/dist/commonjs/outputModels.d.ts.map +1 -0
  67. package/dist/commonjs/outputModels.js +5 -0
  68. package/dist/commonjs/outputModels.js.map +1 -0
  69. package/dist/commonjs/paginateHelper.d.ts +68 -0
  70. package/dist/commonjs/paginateHelper.d.ts.map +1 -0
  71. package/dist/commonjs/paginateHelper.js +170 -0
  72. package/dist/commonjs/paginateHelper.js.map +1 -0
  73. package/dist/commonjs/parameters.d.ts +33 -28
  74. package/dist/commonjs/parameters.d.ts.map +1 -1
  75. package/dist/commonjs/parameters.js.map +1 -1
  76. package/dist/commonjs/pollingHelper.d.ts +76 -0
  77. package/dist/commonjs/pollingHelper.d.ts.map +1 -0
  78. package/dist/commonjs/pollingHelper.js +107 -0
  79. package/dist/commonjs/pollingHelper.js.map +1 -0
  80. package/dist/commonjs/responses.d.ts +135 -135
  81. package/dist/commonjs/responses.d.ts.map +1 -1
  82. package/dist/commonjs/responses.js.map +1 -1
  83. package/dist/esm/clientDefinitions.d.ts +125 -0
  84. package/dist/esm/clientDefinitions.d.ts.map +1 -0
  85. package/dist/esm/clientDefinitions.js +4 -0
  86. package/dist/esm/clientDefinitions.js.map +1 -0
  87. package/dist/esm/documentTranslator.d.ts +13 -129
  88. package/dist/esm/documentTranslator.d.ts.map +1 -1
  89. package/dist/esm/documentTranslator.js +26 -6
  90. package/dist/esm/documentTranslator.js.map +1 -1
  91. package/dist/esm/index.d.ts +6 -5
  92. package/dist/esm/index.d.ts.map +1 -1
  93. package/dist/esm/index.js +6 -6
  94. package/dist/esm/index.js.map +1 -1
  95. package/dist/esm/isUnexpected.d.ts +11 -0
  96. package/dist/esm/isUnexpected.d.ts.map +1 -0
  97. package/dist/esm/isUnexpected.js +78 -0
  98. package/dist/esm/isUnexpected.js.map +1 -0
  99. package/dist/esm/logger.d.ts +2 -0
  100. package/dist/esm/logger.d.ts.map +1 -0
  101. package/dist/esm/logger.js +5 -0
  102. package/dist/esm/logger.js.map +1 -0
  103. package/dist/esm/models.d.ts +12 -132
  104. package/dist/esm/models.d.ts.map +1 -1
  105. package/dist/esm/models.js.map +1 -1
  106. package/dist/esm/outputModels.d.ts +144 -0
  107. package/dist/esm/outputModels.d.ts.map +1 -0
  108. package/dist/esm/outputModels.js +4 -0
  109. package/dist/esm/outputModels.js.map +1 -0
  110. package/dist/esm/paginateHelper.d.ts +68 -0
  111. package/dist/esm/paginateHelper.d.ts.map +1 -0
  112. package/dist/esm/paginateHelper.js +167 -0
  113. package/dist/esm/paginateHelper.js.map +1 -0
  114. package/dist/esm/parameters.d.ts +33 -28
  115. package/dist/esm/parameters.d.ts.map +1 -1
  116. package/dist/esm/parameters.js.map +1 -1
  117. package/dist/esm/pollingHelper.d.ts +76 -0
  118. package/dist/esm/pollingHelper.d.ts.map +1 -0
  119. package/dist/esm/pollingHelper.js +104 -0
  120. package/dist/esm/pollingHelper.js.map +1 -0
  121. package/dist/esm/responses.d.ts +135 -135
  122. package/dist/esm/responses.d.ts.map +1 -1
  123. package/dist/esm/responses.js.map +1 -1
  124. package/dist/react-native/clientDefinitions.d.ts +125 -0
  125. package/dist/react-native/clientDefinitions.d.ts.map +1 -0
  126. package/dist/react-native/clientDefinitions.js +4 -0
  127. package/dist/react-native/clientDefinitions.js.map +1 -0
  128. package/dist/react-native/documentTranslator.d.ts +13 -129
  129. package/dist/react-native/documentTranslator.d.ts.map +1 -1
  130. package/dist/react-native/documentTranslator.js +26 -6
  131. package/dist/react-native/documentTranslator.js.map +1 -1
  132. package/dist/react-native/index.d.ts +6 -5
  133. package/dist/react-native/index.d.ts.map +1 -1
  134. package/dist/react-native/index.js +6 -6
  135. package/dist/react-native/index.js.map +1 -1
  136. package/dist/react-native/isUnexpected.d.ts +11 -0
  137. package/dist/react-native/isUnexpected.d.ts.map +1 -0
  138. package/dist/react-native/isUnexpected.js +78 -0
  139. package/dist/react-native/isUnexpected.js.map +1 -0
  140. package/dist/react-native/logger.d.ts +2 -0
  141. package/dist/react-native/logger.d.ts.map +1 -0
  142. package/dist/react-native/logger.js +5 -0
  143. package/dist/react-native/logger.js.map +1 -0
  144. package/dist/react-native/models.d.ts +12 -132
  145. package/dist/react-native/models.d.ts.map +1 -1
  146. package/dist/react-native/models.js.map +1 -1
  147. package/dist/react-native/outputModels.d.ts +144 -0
  148. package/dist/react-native/outputModels.d.ts.map +1 -0
  149. package/dist/react-native/outputModels.js +4 -0
  150. package/dist/react-native/outputModels.js.map +1 -0
  151. package/dist/react-native/paginateHelper.d.ts +68 -0
  152. package/dist/react-native/paginateHelper.d.ts.map +1 -0
  153. package/dist/react-native/paginateHelper.js +167 -0
  154. package/dist/react-native/paginateHelper.js.map +1 -0
  155. package/dist/react-native/parameters.d.ts +33 -28
  156. package/dist/react-native/parameters.d.ts.map +1 -1
  157. package/dist/react-native/parameters.js.map +1 -1
  158. package/dist/react-native/pollingHelper.d.ts +76 -0
  159. package/dist/react-native/pollingHelper.d.ts.map +1 -0
  160. package/dist/react-native/pollingHelper.js +104 -0
  161. package/dist/react-native/pollingHelper.js.map +1 -0
  162. package/dist/react-native/responses.d.ts +135 -135
  163. package/dist/react-native/responses.d.ts.map +1 -1
  164. package/dist/react-native/responses.js.map +1 -1
  165. package/package.json +4 -1
  166. package/dist/browser/constants.d.ts +0 -5
  167. package/dist/browser/constants.d.ts.map +0 -1
  168. package/dist/browser/constants.js +0 -7
  169. package/dist/browser/constants.js.map +0 -1
  170. package/dist/commonjs/constants.d.ts +0 -5
  171. package/dist/commonjs/constants.d.ts.map +0 -1
  172. package/dist/commonjs/constants.js.map +0 -1
  173. package/dist/esm/constants.d.ts +0 -5
  174. package/dist/esm/constants.d.ts.map +0 -1
  175. package/dist/esm/constants.js +0 -7
  176. package/dist/esm/constants.js.map +0 -1
  177. package/dist/react-native/constants.d.ts +0 -5
  178. package/dist/react-native/constants.d.ts.map +0 -1
  179. package/dist/react-native/constants.js +0 -7
  180. package/dist/react-native/constants.js.map +0 -1
@@ -1,7 +1,7 @@
1
- import type { TranslationErrorResponse, TranslationsStatus, DocumentStatus, TranslationStatus, DocumentsStatus, SupportedFileFormats, SupportedStorageSources } from "./models.js";
2
- import type { HttpResponse } from "@azure-rest/core-client";
3
1
  import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
4
- export interface StartTranslation202Headers {
2
+ import type { HttpResponse } from "@azure-rest/core-client";
3
+ import type { TranslationErrorResponseOutput, TranslationsStatusOutput, DocumentStatusOutput, TranslationStatusOutput, DocumentsStatusOutput, SupportedFileFormatsOutput, SupportedStorageSourcesOutput } from "./outputModels.js";
4
+ export interface DocumentTranslationStartTranslation202Headers {
5
5
  /** Location of batch the operation */
6
6
  "operation-location"?: string;
7
7
  }
@@ -16,9 +16,9 @@ export interface StartTranslation202Headers {
16
16
  * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
17
17
  * 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.
18
18
  */
19
- export interface StartTranslation202Response extends HttpResponse {
19
+ export interface DocumentTranslationStartTranslation202Response extends HttpResponse {
20
20
  status: "202";
21
- headers: RawHttpHeaders & StartTranslation202Headers;
21
+ headers: RawHttpHeaders & DocumentTranslationStartTranslation202Headers;
22
22
  }
23
23
  /**
24
24
  * Use this API to submit a bulk (batch) translation request to the Document Translation service.
@@ -31,9 +31,9 @@ export interface StartTranslation202Response extends HttpResponse {
31
31
  * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
32
32
  * 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.
33
33
  */
34
- export interface StartTranslation400Response extends HttpResponse {
34
+ export interface DocumentTranslationStartTranslation400Response extends HttpResponse {
35
35
  status: "400";
36
- body: TranslationErrorResponse;
36
+ body: TranslationErrorResponseOutput;
37
37
  }
38
38
  /**
39
39
  * Use this API to submit a bulk (batch) translation request to the Document Translation service.
@@ -46,9 +46,9 @@ export interface StartTranslation400Response extends HttpResponse {
46
46
  * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
47
47
  * 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.
48
48
  */
49
- export interface StartTranslation401Response extends HttpResponse {
49
+ export interface DocumentTranslationStartTranslation401Response extends HttpResponse {
50
50
  status: "401";
51
- body: TranslationErrorResponse;
51
+ body: TranslationErrorResponseOutput;
52
52
  }
53
53
  /**
54
54
  * Use this API to submit a bulk (batch) translation request to the Document Translation service.
@@ -61,9 +61,9 @@ export interface StartTranslation401Response extends HttpResponse {
61
61
  * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
62
62
  * 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.
63
63
  */
64
- export interface StartTranslation429Response extends HttpResponse {
64
+ export interface DocumentTranslationStartTranslation429Response extends HttpResponse {
65
65
  status: "429";
66
- body: TranslationErrorResponse;
66
+ body: TranslationErrorResponseOutput;
67
67
  }
68
68
  /**
69
69
  * Use this API to submit a bulk (batch) translation request to the Document Translation service.
@@ -76,9 +76,9 @@ export interface StartTranslation429Response extends HttpResponse {
76
76
  * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
77
77
  * 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.
78
78
  */
79
- export interface StartTranslation500Response extends HttpResponse {
79
+ export interface DocumentTranslationStartTranslation500Response extends HttpResponse {
80
80
  status: "500";
81
- body: TranslationErrorResponse;
81
+ body: TranslationErrorResponseOutput;
82
82
  }
83
83
  /**
84
84
  * Use this API to submit a bulk (batch) translation request to the Document Translation service.
@@ -91,13 +91,13 @@ export interface StartTranslation500Response extends HttpResponse {
91
91
  * If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
92
92
  * 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.
93
93
  */
94
- export interface StartTranslation503Response extends HttpResponse {
94
+ export interface DocumentTranslationStartTranslation503Response extends HttpResponse {
95
95
  status: "503";
96
- body: TranslationErrorResponse;
96
+ body: TranslationErrorResponseOutput;
97
97
  }
98
- export interface GetTranslationsStatus200Headers {
98
+ export interface DocumentTranslationGetTranslationsStatus200Headers {
99
99
  /** Indicates how long to wait before making a new request. */
100
- "retry-after"?: string;
100
+ "retry-after"?: number;
101
101
  /** 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. */
102
102
  etag?: string;
103
103
  }
@@ -112,7 +112,7 @@ export interface GetTranslationsStatus200Headers {
112
112
  *
113
113
  * $top indicates the total number of records the user wants to be returned across all pages.
114
114
  * $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.
115
- * $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.
115
+ * $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.
116
116
  *
117
117
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
118
118
  * The default sorting is descending by createdDateTimeUtc.
@@ -126,10 +126,10 @@ export interface GetTranslationsStatus200Headers {
126
126
  * 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.
127
127
  * This reduces the risk of the client making assumptions about the data returned.
128
128
  */
129
- export interface GetTranslationsStatus200Response extends HttpResponse {
129
+ export interface DocumentTranslationGetTranslationsStatus200Response extends HttpResponse {
130
130
  status: "200";
131
- body: TranslationsStatus;
132
- headers: RawHttpHeaders & GetTranslationsStatus200Headers;
131
+ body: TranslationsStatusOutput;
132
+ headers: RawHttpHeaders & DocumentTranslationGetTranslationsStatus200Headers;
133
133
  }
134
134
  /**
135
135
  * Returns a list of batch requests submitted and the status for each request.
@@ -142,7 +142,7 @@ export interface GetTranslationsStatus200Response extends HttpResponse {
142
142
  *
143
143
  * $top indicates the total number of records the user wants to be returned across all pages.
144
144
  * $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.
145
- * $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.
145
+ * $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.
146
146
  *
147
147
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
148
148
  * The default sorting is descending by createdDateTimeUtc.
@@ -156,9 +156,9 @@ export interface GetTranslationsStatus200Response extends HttpResponse {
156
156
  * 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.
157
157
  * This reduces the risk of the client making assumptions about the data returned.
158
158
  */
159
- export interface GetTranslationsStatus400Response extends HttpResponse {
159
+ export interface DocumentTranslationGetTranslationsStatus400Response extends HttpResponse {
160
160
  status: "400";
161
- body: TranslationErrorResponse;
161
+ body: TranslationErrorResponseOutput;
162
162
  }
163
163
  /**
164
164
  * Returns a list of batch requests submitted and the status for each request.
@@ -171,7 +171,7 @@ export interface GetTranslationsStatus400Response extends HttpResponse {
171
171
  *
172
172
  * $top indicates the total number of records the user wants to be returned across all pages.
173
173
  * $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.
174
- * $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.
174
+ * $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.
175
175
  *
176
176
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
177
177
  * The default sorting is descending by createdDateTimeUtc.
@@ -185,9 +185,9 @@ export interface GetTranslationsStatus400Response extends HttpResponse {
185
185
  * 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.
186
186
  * This reduces the risk of the client making assumptions about the data returned.
187
187
  */
188
- export interface GetTranslationsStatus401Response extends HttpResponse {
188
+ export interface DocumentTranslationGetTranslationsStatus401Response extends HttpResponse {
189
189
  status: "401";
190
- body: TranslationErrorResponse;
190
+ body: TranslationErrorResponseOutput;
191
191
  }
192
192
  /**
193
193
  * Returns a list of batch requests submitted and the status for each request.
@@ -200,7 +200,7 @@ export interface GetTranslationsStatus401Response extends HttpResponse {
200
200
  *
201
201
  * $top indicates the total number of records the user wants to be returned across all pages.
202
202
  * $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.
203
- * $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.
203
+ * $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.
204
204
  *
205
205
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
206
206
  * The default sorting is descending by createdDateTimeUtc.
@@ -214,9 +214,9 @@ export interface GetTranslationsStatus401Response extends HttpResponse {
214
214
  * 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.
215
215
  * This reduces the risk of the client making assumptions about the data returned.
216
216
  */
217
- export interface GetTranslationsStatus429Response extends HttpResponse {
217
+ export interface DocumentTranslationGetTranslationsStatus429Response extends HttpResponse {
218
218
  status: "429";
219
- body: TranslationErrorResponse;
219
+ body: TranslationErrorResponseOutput;
220
220
  }
221
221
  /**
222
222
  * Returns a list of batch requests submitted and the status for each request.
@@ -229,7 +229,7 @@ export interface GetTranslationsStatus429Response extends HttpResponse {
229
229
  *
230
230
  * $top indicates the total number of records the user wants to be returned across all pages.
231
231
  * $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.
232
- * $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.
232
+ * $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.
233
233
  *
234
234
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
235
235
  * The default sorting is descending by createdDateTimeUtc.
@@ -243,9 +243,9 @@ export interface GetTranslationsStatus429Response extends HttpResponse {
243
243
  * 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.
244
244
  * This reduces the risk of the client making assumptions about the data returned.
245
245
  */
246
- export interface GetTranslationsStatus500Response extends HttpResponse {
246
+ export interface DocumentTranslationGetTranslationsStatus500Response extends HttpResponse {
247
247
  status: "500";
248
- body: TranslationErrorResponse;
248
+ body: TranslationErrorResponseOutput;
249
249
  }
250
250
  /**
251
251
  * Returns a list of batch requests submitted and the status for each request.
@@ -258,7 +258,7 @@ export interface GetTranslationsStatus500Response extends HttpResponse {
258
258
  *
259
259
  * $top indicates the total number of records the user wants to be returned across all pages.
260
260
  * $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.
261
- * $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.
261
+ * $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.
262
262
  *
263
263
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
264
264
  * The default sorting is descending by createdDateTimeUtc.
@@ -272,50 +272,50 @@ export interface GetTranslationsStatus500Response extends HttpResponse {
272
272
  * 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.
273
273
  * This reduces the risk of the client making assumptions about the data returned.
274
274
  */
275
- export interface GetTranslationsStatus503Response extends HttpResponse {
275
+ export interface DocumentTranslationGetTranslationsStatus503Response extends HttpResponse {
276
276
  status: "503";
277
- body: TranslationErrorResponse;
277
+ body: TranslationErrorResponseOutput;
278
278
  }
279
- export interface GetDocumentStatus200Headers {
279
+ export interface DocumentTranslationGetDocumentStatus200Headers {
280
280
  /** Indicates how long to wait before making a new request. */
281
- "retry-after"?: string;
281
+ "retry-after"?: number;
282
282
  /** 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. */
283
283
  etag?: string;
284
284
  }
285
285
  /** Returns the translation status for a specific document based on the request Id and document Id. */
286
- export interface GetDocumentStatus200Response extends HttpResponse {
286
+ export interface DocumentTranslationGetDocumentStatus200Response extends HttpResponse {
287
287
  status: "200";
288
- body: DocumentStatus;
289
- headers: RawHttpHeaders & GetDocumentStatus200Headers;
288
+ body: DocumentStatusOutput;
289
+ headers: RawHttpHeaders & DocumentTranslationGetDocumentStatus200Headers;
290
290
  }
291
291
  /** Returns the translation status for a specific document based on the request Id and document Id. */
292
- export interface GetDocumentStatus401Response extends HttpResponse {
292
+ export interface DocumentTranslationGetDocumentStatus401Response extends HttpResponse {
293
293
  status: "401";
294
- body: TranslationErrorResponse;
294
+ body: TranslationErrorResponseOutput;
295
295
  }
296
296
  /** Returns the translation status for a specific document based on the request Id and document Id. */
297
- export interface GetDocumentStatus404Response extends HttpResponse {
297
+ export interface DocumentTranslationGetDocumentStatus404Response extends HttpResponse {
298
298
  status: "404";
299
- body: TranslationErrorResponse;
299
+ body: TranslationErrorResponseOutput;
300
300
  }
301
301
  /** Returns the translation status for a specific document based on the request Id and document Id. */
302
- export interface GetDocumentStatus429Response extends HttpResponse {
302
+ export interface DocumentTranslationGetDocumentStatus429Response extends HttpResponse {
303
303
  status: "429";
304
- body: TranslationErrorResponse;
304
+ body: TranslationErrorResponseOutput;
305
305
  }
306
306
  /** Returns the translation status for a specific document based on the request Id and document Id. */
307
- export interface GetDocumentStatus500Response extends HttpResponse {
307
+ export interface DocumentTranslationGetDocumentStatus500Response extends HttpResponse {
308
308
  status: "500";
309
- body: TranslationErrorResponse;
309
+ body: TranslationErrorResponseOutput;
310
310
  }
311
311
  /** Returns the translation status for a specific document based on the request Id and document Id. */
312
- export interface GetDocumentStatus503Response extends HttpResponse {
312
+ export interface DocumentTranslationGetDocumentStatus503Response extends HttpResponse {
313
313
  status: "503";
314
- body: TranslationErrorResponse;
314
+ body: TranslationErrorResponseOutput;
315
315
  }
316
- export interface GetTranslationStatus200Headers {
316
+ export interface DocumentTranslationGetTranslationStatus200Headers {
317
317
  /** Indicates how long to wait before making a new request. */
318
- "retry-after"?: string;
318
+ "retry-after"?: number;
319
319
  /** 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. */
320
320
  etag?: string;
321
321
  }
@@ -323,50 +323,50 @@ export interface GetTranslationStatus200Headers {
323
323
  * Returns the status for a document translation request.
324
324
  * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
325
325
  */
326
- export interface GetTranslationStatus200Response extends HttpResponse {
326
+ export interface DocumentTranslationGetTranslationStatus200Response extends HttpResponse {
327
327
  status: "200";
328
- body: TranslationStatus;
329
- headers: RawHttpHeaders & GetTranslationStatus200Headers;
328
+ body: TranslationStatusOutput;
329
+ headers: RawHttpHeaders & DocumentTranslationGetTranslationStatus200Headers;
330
330
  }
331
331
  /**
332
332
  * Returns the status for a document translation request.
333
333
  * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
334
334
  */
335
- export interface GetTranslationStatus401Response extends HttpResponse {
335
+ export interface DocumentTranslationGetTranslationStatus401Response extends HttpResponse {
336
336
  status: "401";
337
- body: TranslationErrorResponse;
337
+ body: TranslationErrorResponseOutput;
338
338
  }
339
339
  /**
340
340
  * Returns the status for a document translation request.
341
341
  * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
342
342
  */
343
- export interface GetTranslationStatus404Response extends HttpResponse {
343
+ export interface DocumentTranslationGetTranslationStatus404Response extends HttpResponse {
344
344
  status: "404";
345
- body: TranslationErrorResponse;
345
+ body: TranslationErrorResponseOutput;
346
346
  }
347
347
  /**
348
348
  * Returns the status for a document translation request.
349
349
  * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
350
350
  */
351
- export interface GetTranslationStatus429Response extends HttpResponse {
351
+ export interface DocumentTranslationGetTranslationStatus429Response extends HttpResponse {
352
352
  status: "429";
353
- body: TranslationErrorResponse;
353
+ body: TranslationErrorResponseOutput;
354
354
  }
355
355
  /**
356
356
  * Returns the status for a document translation request.
357
357
  * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
358
358
  */
359
- export interface GetTranslationStatus500Response extends HttpResponse {
359
+ export interface DocumentTranslationGetTranslationStatus500Response extends HttpResponse {
360
360
  status: "500";
361
- body: TranslationErrorResponse;
361
+ body: TranslationErrorResponseOutput;
362
362
  }
363
363
  /**
364
364
  * Returns the status for a document translation request.
365
365
  * The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
366
366
  */
367
- export interface GetTranslationStatus503Response extends HttpResponse {
367
+ export interface DocumentTranslationGetTranslationStatus503Response extends HttpResponse {
368
368
  status: "503";
369
- body: TranslationErrorResponse;
369
+ body: TranslationErrorResponseOutput;
370
370
  }
371
371
  /**
372
372
  * Cancel a currently processing or queued translation.
@@ -375,9 +375,9 @@ export interface GetTranslationStatus503Response extends HttpResponse {
375
375
  * All documents that have completed translation will not be cancelled and will be charged.
376
376
  * All pending documents will be cancelled if possible.
377
377
  */
378
- export interface CancelTranslation200Response extends HttpResponse {
378
+ export interface DocumentTranslationCancelTranslation200Response extends HttpResponse {
379
379
  status: "200";
380
- body: TranslationStatus;
380
+ body: TranslationStatusOutput;
381
381
  }
382
382
  /**
383
383
  * Cancel a currently processing or queued translation.
@@ -386,9 +386,9 @@ export interface CancelTranslation200Response extends HttpResponse {
386
386
  * All documents that have completed translation will not be cancelled and will be charged.
387
387
  * All pending documents will be cancelled if possible.
388
388
  */
389
- export interface CancelTranslation401Response extends HttpResponse {
389
+ export interface DocumentTranslationCancelTranslation401Response extends HttpResponse {
390
390
  status: "401";
391
- body: TranslationErrorResponse;
391
+ body: TranslationErrorResponseOutput;
392
392
  }
393
393
  /**
394
394
  * Cancel a currently processing or queued translation.
@@ -397,9 +397,9 @@ export interface CancelTranslation401Response extends HttpResponse {
397
397
  * All documents that have completed translation will not be cancelled and will be charged.
398
398
  * All pending documents will be cancelled if possible.
399
399
  */
400
- export interface CancelTranslation404Response extends HttpResponse {
400
+ export interface DocumentTranslationCancelTranslation404Response extends HttpResponse {
401
401
  status: "404";
402
- body: TranslationErrorResponse;
402
+ body: TranslationErrorResponseOutput;
403
403
  }
404
404
  /**
405
405
  * Cancel a currently processing or queued translation.
@@ -408,9 +408,9 @@ export interface CancelTranslation404Response extends HttpResponse {
408
408
  * All documents that have completed translation will not be cancelled and will be charged.
409
409
  * All pending documents will be cancelled if possible.
410
410
  */
411
- export interface CancelTranslation429Response extends HttpResponse {
411
+ export interface DocumentTranslationCancelTranslation429Response extends HttpResponse {
412
412
  status: "429";
413
- body: TranslationErrorResponse;
413
+ body: TranslationErrorResponseOutput;
414
414
  }
415
415
  /**
416
416
  * Cancel a currently processing or queued translation.
@@ -419,9 +419,9 @@ export interface CancelTranslation429Response extends HttpResponse {
419
419
  * All documents that have completed translation will not be cancelled and will be charged.
420
420
  * All pending documents will be cancelled if possible.
421
421
  */
422
- export interface CancelTranslation500Response extends HttpResponse {
422
+ export interface DocumentTranslationCancelTranslation500Response extends HttpResponse {
423
423
  status: "500";
424
- body: TranslationErrorResponse;
424
+ body: TranslationErrorResponseOutput;
425
425
  }
426
426
  /**
427
427
  * Cancel a currently processing or queued translation.
@@ -430,13 +430,13 @@ export interface CancelTranslation500Response extends HttpResponse {
430
430
  * All documents that have completed translation will not be cancelled and will be charged.
431
431
  * All pending documents will be cancelled if possible.
432
432
  */
433
- export interface CancelTranslation503Response extends HttpResponse {
433
+ export interface DocumentTranslationCancelTranslation503Response extends HttpResponse {
434
434
  status: "503";
435
- body: TranslationErrorResponse;
435
+ body: TranslationErrorResponseOutput;
436
436
  }
437
- export interface GetDocumentsStatus200Headers {
437
+ export interface DocumentTranslationGetDocumentsStatus200Headers {
438
438
  /** Indicates how long to wait before making a new request. */
439
- "retry-after"?: string;
439
+ "retry-after"?: number;
440
440
  /** 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. */
441
441
  etag?: string;
442
442
  }
@@ -450,7 +450,7 @@ export interface GetDocumentsStatus200Headers {
450
450
  *
451
451
  * $top indicates the total number of records the user wants to be returned across all pages.
452
452
  * $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.
453
- * $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.
453
+ * $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.
454
454
  *
455
455
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
456
456
  * The default sorting is descending by createdDateTimeUtc.
@@ -462,10 +462,10 @@ export interface GetDocumentsStatus200Headers {
462
462
  * 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.
463
463
  * This reduces the risk of the client making assumptions about the data returned.
464
464
  */
465
- export interface GetDocumentsStatus200Response extends HttpResponse {
465
+ export interface DocumentTranslationGetDocumentsStatus200Response extends HttpResponse {
466
466
  status: "200";
467
- body: DocumentsStatus;
468
- headers: RawHttpHeaders & GetDocumentsStatus200Headers;
467
+ body: DocumentsStatusOutput;
468
+ headers: RawHttpHeaders & DocumentTranslationGetDocumentsStatus200Headers;
469
469
  }
470
470
  /**
471
471
  * Returns the status for all documents in a batch document translation request.
@@ -477,7 +477,7 @@ export interface GetDocumentsStatus200Response extends HttpResponse {
477
477
  *
478
478
  * $top indicates the total number of records the user wants to be returned across all pages.
479
479
  * $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.
480
- * $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.
480
+ * $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.
481
481
  *
482
482
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
483
483
  * The default sorting is descending by createdDateTimeUtc.
@@ -489,9 +489,9 @@ export interface GetDocumentsStatus200Response extends HttpResponse {
489
489
  * 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.
490
490
  * This reduces the risk of the client making assumptions about the data returned.
491
491
  */
492
- export interface GetDocumentsStatus400Response extends HttpResponse {
492
+ export interface DocumentTranslationGetDocumentsStatus400Response extends HttpResponse {
493
493
  status: "400";
494
- body: TranslationErrorResponse;
494
+ body: TranslationErrorResponseOutput;
495
495
  }
496
496
  /**
497
497
  * Returns the status for all documents in a batch document translation request.
@@ -503,7 +503,7 @@ export interface GetDocumentsStatus400Response extends HttpResponse {
503
503
  *
504
504
  * $top indicates the total number of records the user wants to be returned across all pages.
505
505
  * $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.
506
- * $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.
506
+ * $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.
507
507
  *
508
508
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
509
509
  * The default sorting is descending by createdDateTimeUtc.
@@ -515,9 +515,9 @@ export interface GetDocumentsStatus400Response extends HttpResponse {
515
515
  * 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.
516
516
  * This reduces the risk of the client making assumptions about the data returned.
517
517
  */
518
- export interface GetDocumentsStatus401Response extends HttpResponse {
518
+ export interface DocumentTranslationGetDocumentsStatus401Response extends HttpResponse {
519
519
  status: "401";
520
- body: TranslationErrorResponse;
520
+ body: TranslationErrorResponseOutput;
521
521
  }
522
522
  /**
523
523
  * Returns the status for all documents in a batch document translation request.
@@ -529,7 +529,7 @@ export interface GetDocumentsStatus401Response extends HttpResponse {
529
529
  *
530
530
  * $top indicates the total number of records the user wants to be returned across all pages.
531
531
  * $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.
532
- * $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.
532
+ * $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.
533
533
  *
534
534
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
535
535
  * The default sorting is descending by createdDateTimeUtc.
@@ -541,9 +541,9 @@ export interface GetDocumentsStatus401Response extends HttpResponse {
541
541
  * 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.
542
542
  * This reduces the risk of the client making assumptions about the data returned.
543
543
  */
544
- export interface GetDocumentsStatus404Response extends HttpResponse {
544
+ export interface DocumentTranslationGetDocumentsStatus404Response extends HttpResponse {
545
545
  status: "404";
546
- body: TranslationErrorResponse;
546
+ body: TranslationErrorResponseOutput;
547
547
  }
548
548
  /**
549
549
  * Returns the status for all documents in a batch document translation request.
@@ -555,7 +555,7 @@ export interface GetDocumentsStatus404Response extends HttpResponse {
555
555
  *
556
556
  * $top indicates the total number of records the user wants to be returned across all pages.
557
557
  * $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.
558
- * $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.
558
+ * $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.
559
559
  *
560
560
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
561
561
  * The default sorting is descending by createdDateTimeUtc.
@@ -567,9 +567,9 @@ export interface GetDocumentsStatus404Response extends HttpResponse {
567
567
  * 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.
568
568
  * This reduces the risk of the client making assumptions about the data returned.
569
569
  */
570
- export interface GetDocumentsStatus429Response extends HttpResponse {
570
+ export interface DocumentTranslationGetDocumentsStatus429Response extends HttpResponse {
571
571
  status: "429";
572
- body: TranslationErrorResponse;
572
+ body: TranslationErrorResponseOutput;
573
573
  }
574
574
  /**
575
575
  * Returns the status for all documents in a batch document translation request.
@@ -581,7 +581,7 @@ export interface GetDocumentsStatus429Response extends HttpResponse {
581
581
  *
582
582
  * $top indicates the total number of records the user wants to be returned across all pages.
583
583
  * $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.
584
- * $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.
584
+ * $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.
585
585
  *
586
586
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
587
587
  * The default sorting is descending by createdDateTimeUtc.
@@ -593,9 +593,9 @@ export interface GetDocumentsStatus429Response extends HttpResponse {
593
593
  * 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.
594
594
  * This reduces the risk of the client making assumptions about the data returned.
595
595
  */
596
- export interface GetDocumentsStatus500Response extends HttpResponse {
596
+ export interface DocumentTranslationGetDocumentsStatus500Response extends HttpResponse {
597
597
  status: "500";
598
- body: TranslationErrorResponse;
598
+ body: TranslationErrorResponseOutput;
599
599
  }
600
600
  /**
601
601
  * Returns the status for all documents in a batch document translation request.
@@ -607,7 +607,7 @@ export interface GetDocumentsStatus500Response extends HttpResponse {
607
607
  *
608
608
  * $top indicates the total number of records the user wants to be returned across all pages.
609
609
  * $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.
610
- * $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.
610
+ * $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.
611
611
  *
612
612
  * $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
613
613
  * The default sorting is descending by createdDateTimeUtc.
@@ -619,107 +619,107 @@ export interface GetDocumentsStatus500Response extends HttpResponse {
619
619
  * 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.
620
620
  * This reduces the risk of the client making assumptions about the data returned.
621
621
  */
622
- export interface GetDocumentsStatus503Response extends HttpResponse {
622
+ export interface DocumentTranslationGetDocumentsStatus503Response extends HttpResponse {
623
623
  status: "503";
624
- body: TranslationErrorResponse;
624
+ body: TranslationErrorResponseOutput;
625
625
  }
626
- export interface GetSupportedDocumentFormats200Headers {
626
+ export interface DocumentTranslationGetSupportedDocumentFormats200Headers {
627
627
  /** Indicates how long to wait before making a new request. */
628
- "retry-after"?: string;
628
+ "retry-after"?: number;
629
629
  }
630
630
  /**
631
631
  * The list of supported document formats supported by the Document Translation service.
632
632
  * The list includes the common file extension, as well as the content-type if using the upload API.
633
633
  */
634
- export interface GetSupportedDocumentFormats200Response extends HttpResponse {
634
+ export interface DocumentTranslationGetSupportedDocumentFormats200Response extends HttpResponse {
635
635
  status: "200";
636
- body: SupportedFileFormats;
637
- headers: RawHttpHeaders & GetSupportedDocumentFormats200Headers;
636
+ body: SupportedFileFormatsOutput;
637
+ headers: RawHttpHeaders & DocumentTranslationGetSupportedDocumentFormats200Headers;
638
638
  }
639
639
  /**
640
640
  * The list of supported document formats supported by the Document Translation service.
641
641
  * The list includes the common file extension, as well as the content-type if using the upload API.
642
642
  */
643
- export interface GetSupportedDocumentFormats429Response extends HttpResponse {
643
+ export interface DocumentTranslationGetSupportedDocumentFormats429Response extends HttpResponse {
644
644
  status: "429";
645
- body: TranslationErrorResponse;
645
+ body: TranslationErrorResponseOutput;
646
646
  }
647
647
  /**
648
648
  * The list of supported document formats supported by the Document Translation service.
649
649
  * The list includes the common file extension, as well as the content-type if using the upload API.
650
650
  */
651
- export interface GetSupportedDocumentFormats500Response extends HttpResponse {
651
+ export interface DocumentTranslationGetSupportedDocumentFormats500Response extends HttpResponse {
652
652
  status: "500";
653
- body: TranslationErrorResponse;
653
+ body: TranslationErrorResponseOutput;
654
654
  }
655
655
  /**
656
656
  * The list of supported document formats supported by the Document Translation service.
657
657
  * The list includes the common file extension, as well as the content-type if using the upload API.
658
658
  */
659
- export interface GetSupportedDocumentFormats503Response extends HttpResponse {
659
+ export interface DocumentTranslationGetSupportedDocumentFormats503Response extends HttpResponse {
660
660
  status: "503";
661
- body: TranslationErrorResponse;
661
+ body: TranslationErrorResponseOutput;
662
662
  }
663
- export interface GetSupportedGlossaryFormats200Headers {
663
+ export interface DocumentTranslationGetSupportedGlossaryFormats200Headers {
664
664
  /** Indicates how long to wait before making a new request. */
665
- "retry-after"?: string;
665
+ "retry-after"?: number;
666
666
  }
667
667
  /**
668
668
  * The list of supported glossary formats supported by the Document Translation service.
669
669
  * The list includes the common file extension used.
670
670
  */
671
- export interface GetSupportedGlossaryFormats200Response extends HttpResponse {
671
+ export interface DocumentTranslationGetSupportedGlossaryFormats200Response extends HttpResponse {
672
672
  status: "200";
673
- body: SupportedFileFormats;
674
- headers: RawHttpHeaders & GetSupportedGlossaryFormats200Headers;
673
+ body: SupportedFileFormatsOutput;
674
+ headers: RawHttpHeaders & DocumentTranslationGetSupportedGlossaryFormats200Headers;
675
675
  }
676
676
  /**
677
677
  * The list of supported glossary formats supported by the Document Translation service.
678
678
  * The list includes the common file extension used.
679
679
  */
680
- export interface GetSupportedGlossaryFormats429Response extends HttpResponse {
680
+ export interface DocumentTranslationGetSupportedGlossaryFormats429Response extends HttpResponse {
681
681
  status: "429";
682
- body: TranslationErrorResponse;
682
+ body: TranslationErrorResponseOutput;
683
683
  }
684
684
  /**
685
685
  * The list of supported glossary formats supported by the Document Translation service.
686
686
  * The list includes the common file extension used.
687
687
  */
688
- export interface GetSupportedGlossaryFormats500Response extends HttpResponse {
688
+ export interface DocumentTranslationGetSupportedGlossaryFormats500Response extends HttpResponse {
689
689
  status: "500";
690
- body: TranslationErrorResponse;
690
+ body: TranslationErrorResponseOutput;
691
691
  }
692
692
  /**
693
693
  * The list of supported glossary formats supported by the Document Translation service.
694
694
  * The list includes the common file extension used.
695
695
  */
696
- export interface GetSupportedGlossaryFormats503Response extends HttpResponse {
696
+ export interface DocumentTranslationGetSupportedGlossaryFormats503Response extends HttpResponse {
697
697
  status: "503";
698
- body: TranslationErrorResponse;
698
+ body: TranslationErrorResponseOutput;
699
699
  }
700
- export interface GetSupportedStorageSources200Headers {
700
+ export interface DocumentTranslationGetSupportedStorageSources200Headers {
701
701
  /** Indicates how long to wait before making a new request. */
702
- "retry-after"?: string;
702
+ "retry-after"?: number;
703
703
  }
704
704
  /** Returns a list of storage sources/options supported by the Document Translation service. */
705
- export interface GetSupportedStorageSources200Response extends HttpResponse {
705
+ export interface DocumentTranslationGetSupportedStorageSources200Response extends HttpResponse {
706
706
  status: "200";
707
- body: SupportedStorageSources;
708
- headers: RawHttpHeaders & GetSupportedStorageSources200Headers;
707
+ body: SupportedStorageSourcesOutput;
708
+ headers: RawHttpHeaders & DocumentTranslationGetSupportedStorageSources200Headers;
709
709
  }
710
710
  /** Returns a list of storage sources/options supported by the Document Translation service. */
711
- export interface GetSupportedStorageSources429Response extends HttpResponse {
711
+ export interface DocumentTranslationGetSupportedStorageSources429Response extends HttpResponse {
712
712
  status: "429";
713
- body: TranslationErrorResponse;
713
+ body: TranslationErrorResponseOutput;
714
714
  }
715
715
  /** Returns a list of storage sources/options supported by the Document Translation service. */
716
- export interface GetSupportedStorageSources500Response extends HttpResponse {
716
+ export interface DocumentTranslationGetSupportedStorageSources500Response extends HttpResponse {
717
717
  status: "500";
718
- body: TranslationErrorResponse;
718
+ body: TranslationErrorResponseOutput;
719
719
  }
720
720
  /** Returns a list of storage sources/options supported by the Document Translation service. */
721
- export interface GetSupportedStorageSources503Response extends HttpResponse {
721
+ export interface DocumentTranslationGetSupportedStorageSources503Response extends HttpResponse {
722
722
  status: "503";
723
- body: TranslationErrorResponse;
723
+ body: TranslationErrorResponseOutput;
724
724
  }
725
725
  //# sourceMappingURL=responses.d.ts.map