@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.
- package/LICENSE +3 -3
- package/README.md +52 -71
- package/dist/browser/clientDefinitions.d.ts +125 -0
- package/dist/browser/clientDefinitions.d.ts.map +1 -0
- package/dist/browser/clientDefinitions.js +4 -0
- package/dist/browser/clientDefinitions.js.map +1 -0
- package/dist/browser/documentTranslator.d.ts +14 -0
- package/dist/browser/documentTranslator.d.ts.map +1 -0
- package/dist/browser/documentTranslator.js +33 -0
- package/dist/browser/documentTranslator.js.map +1 -0
- package/dist/browser/index.d.ts +12 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +14 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +11 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/dist/browser/isUnexpected.js +78 -0
- package/dist/browser/isUnexpected.js.map +1 -0
- package/dist/browser/logger.d.ts +2 -0
- package/dist/browser/logger.d.ts.map +1 -0
- package/dist/browser/logger.js +5 -0
- package/dist/browser/logger.js.map +1 -0
- package/dist/browser/models.d.ts +69 -0
- package/dist/browser/models.d.ts.map +1 -0
- package/dist/browser/models.js +4 -0
- package/dist/browser/models.js.map +1 -0
- package/dist/browser/outputModels.d.ts +144 -0
- package/dist/browser/outputModels.d.ts.map +1 -0
- package/dist/browser/outputModels.js +4 -0
- package/dist/browser/outputModels.js.map +1 -0
- package/dist/browser/package.json +3 -0
- package/dist/browser/paginateHelper.d.ts +68 -0
- package/dist/browser/paginateHelper.d.ts.map +1 -0
- package/dist/browser/paginateHelper.js +167 -0
- package/dist/browser/paginateHelper.js.map +1 -0
- package/dist/browser/parameters.d.ts +98 -0
- package/dist/browser/parameters.d.ts.map +1 -0
- package/dist/browser/parameters.js +4 -0
- package/dist/browser/parameters.js.map +1 -0
- package/dist/browser/pollingHelper.d.ts +76 -0
- package/dist/browser/pollingHelper.d.ts.map +1 -0
- package/dist/browser/pollingHelper.js +104 -0
- package/dist/browser/pollingHelper.js.map +1 -0
- package/{types/ai-document-translator.d.ts → dist/browser/responses.d.ts} +725 -1242
- package/dist/browser/responses.d.ts.map +1 -0
- package/dist/browser/responses.js +4 -0
- package/dist/browser/responses.js.map +1 -0
- package/dist/commonjs/clientDefinitions.d.ts +125 -0
- package/dist/commonjs/clientDefinitions.d.ts.map +1 -0
- package/dist/commonjs/clientDefinitions.js +5 -0
- package/dist/commonjs/clientDefinitions.js.map +1 -0
- package/dist/commonjs/documentTranslator.d.ts +14 -0
- package/dist/commonjs/documentTranslator.d.ts.map +1 -0
- package/dist/commonjs/documentTranslator.js +36 -0
- package/dist/commonjs/documentTranslator.js.map +1 -0
- package/dist/commonjs/index.d.ts +12 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +17 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +11 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +81 -0
- package/dist/commonjs/isUnexpected.js.map +1 -0
- package/dist/commonjs/logger.d.ts +2 -0
- package/dist/commonjs/logger.d.ts.map +1 -0
- package/dist/commonjs/logger.js +8 -0
- package/dist/commonjs/logger.js.map +1 -0
- package/dist/commonjs/models.d.ts +69 -0
- package/dist/commonjs/models.d.ts.map +1 -0
- package/dist/commonjs/models.js +5 -0
- package/dist/commonjs/models.js.map +1 -0
- package/dist/commonjs/outputModels.d.ts +144 -0
- package/dist/commonjs/outputModels.d.ts.map +1 -0
- package/dist/commonjs/outputModels.js +5 -0
- package/dist/commonjs/outputModels.js.map +1 -0
- package/dist/commonjs/package.json +3 -0
- package/dist/commonjs/paginateHelper.d.ts +68 -0
- package/dist/commonjs/paginateHelper.d.ts.map +1 -0
- package/dist/commonjs/paginateHelper.js +170 -0
- package/dist/commonjs/paginateHelper.js.map +1 -0
- package/dist/commonjs/parameters.d.ts +98 -0
- package/dist/commonjs/parameters.d.ts.map +1 -0
- package/dist/commonjs/parameters.js +5 -0
- package/dist/commonjs/parameters.js.map +1 -0
- package/dist/commonjs/pollingHelper.d.ts +76 -0
- package/dist/commonjs/pollingHelper.d.ts.map +1 -0
- package/dist/commonjs/pollingHelper.js +107 -0
- package/dist/commonjs/pollingHelper.js.map +1 -0
- package/dist/commonjs/responses.d.ts +725 -0
- package/dist/commonjs/responses.d.ts.map +1 -0
- package/dist/commonjs/responses.js +5 -0
- package/dist/commonjs/responses.js.map +1 -0
- package/dist/commonjs/tsdoc-metadata.json +11 -0
- package/dist/esm/clientDefinitions.d.ts +125 -0
- package/dist/esm/clientDefinitions.d.ts.map +1 -0
- package/dist/esm/clientDefinitions.js +4 -0
- package/dist/esm/clientDefinitions.js.map +1 -0
- package/dist/esm/documentTranslator.d.ts +14 -0
- package/dist/esm/documentTranslator.d.ts.map +1 -0
- package/dist/esm/documentTranslator.js +33 -0
- package/dist/esm/documentTranslator.js.map +1 -0
- package/dist/esm/index.d.ts +12 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +11 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +78 -0
- package/dist/esm/isUnexpected.js.map +1 -0
- package/dist/esm/logger.d.ts +2 -0
- package/dist/esm/logger.d.ts.map +1 -0
- package/dist/esm/logger.js +5 -0
- package/dist/esm/logger.js.map +1 -0
- package/dist/esm/models.d.ts +69 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +4 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/outputModels.d.ts +144 -0
- package/dist/esm/outputModels.d.ts.map +1 -0
- package/dist/esm/outputModels.js +4 -0
- package/dist/esm/outputModels.js.map +1 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/paginateHelper.d.ts +68 -0
- package/dist/esm/paginateHelper.d.ts.map +1 -0
- package/dist/esm/paginateHelper.js +167 -0
- package/dist/esm/paginateHelper.js.map +1 -0
- package/dist/esm/parameters.d.ts +98 -0
- package/dist/esm/parameters.d.ts.map +1 -0
- package/dist/esm/parameters.js +4 -0
- package/dist/esm/parameters.js.map +1 -0
- package/dist/esm/pollingHelper.d.ts +76 -0
- package/dist/esm/pollingHelper.d.ts.map +1 -0
- package/dist/esm/pollingHelper.js +104 -0
- package/dist/esm/pollingHelper.js.map +1 -0
- package/dist/esm/responses.d.ts +725 -0
- package/dist/esm/responses.d.ts.map +1 -0
- package/dist/esm/responses.js +4 -0
- package/dist/esm/responses.js.map +1 -0
- package/dist/react-native/clientDefinitions.d.ts +125 -0
- package/dist/react-native/clientDefinitions.d.ts.map +1 -0
- package/dist/react-native/clientDefinitions.js +4 -0
- package/dist/react-native/clientDefinitions.js.map +1 -0
- package/dist/react-native/documentTranslator.d.ts +14 -0
- package/dist/react-native/documentTranslator.d.ts.map +1 -0
- package/dist/react-native/documentTranslator.js +33 -0
- package/dist/react-native/documentTranslator.js.map +1 -0
- package/dist/react-native/index.d.ts +12 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +14 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +11 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +78 -0
- package/dist/react-native/isUnexpected.js.map +1 -0
- package/dist/react-native/logger.d.ts +2 -0
- package/dist/react-native/logger.d.ts.map +1 -0
- package/dist/react-native/logger.js +5 -0
- package/dist/react-native/logger.js.map +1 -0
- package/dist/react-native/models.d.ts +69 -0
- package/dist/react-native/models.d.ts.map +1 -0
- package/dist/react-native/models.js +4 -0
- package/dist/react-native/models.js.map +1 -0
- package/dist/react-native/outputModels.d.ts +144 -0
- package/dist/react-native/outputModels.d.ts.map +1 -0
- package/dist/react-native/outputModels.js +4 -0
- package/dist/react-native/outputModels.js.map +1 -0
- package/dist/react-native/package.json +3 -0
- package/dist/react-native/paginateHelper.d.ts +68 -0
- package/dist/react-native/paginateHelper.d.ts.map +1 -0
- package/dist/react-native/paginateHelper.js +167 -0
- package/dist/react-native/paginateHelper.js.map +1 -0
- package/dist/react-native/parameters.d.ts +98 -0
- package/dist/react-native/parameters.d.ts.map +1 -0
- package/dist/react-native/parameters.js +4 -0
- package/dist/react-native/parameters.js.map +1 -0
- package/dist/react-native/pollingHelper.d.ts +76 -0
- package/dist/react-native/pollingHelper.d.ts.map +1 -0
- package/dist/react-native/pollingHelper.js +104 -0
- package/dist/react-native/pollingHelper.js.map +1 -0
- package/dist/react-native/responses.d.ts +725 -0
- package/dist/react-native/responses.d.ts.map +1 -0
- package/dist/react-native/responses.js +4 -0
- package/dist/react-native/responses.js.map +1 -0
- package/package.json +86 -71
- package/CHANGELOG.md +0 -5
- package/dist/index.js +0 -19
- package/dist/index.js.map +0 -1
- package/dist-esm/src/constants.js +0 -7
- package/dist-esm/src/constants.js.map +0 -1
- package/dist-esm/src/documentTranslator.js +0 -13
- package/dist-esm/src/documentTranslator.js.map +0 -1
- package/dist-esm/src/index.js +0 -13
- package/dist-esm/src/index.js.map +0 -1
- package/dist-esm/src/models.js +0 -4
- package/dist-esm/src/models.js.map +0 -1
- package/dist-esm/src/parameters.js +0 -4
- package/dist-esm/src/parameters.js.map +0 -1
- package/dist-esm/src/responses.js +0 -4
- package/dist-esm/src/responses.js.map +0 -1
|
@@ -1,1242 +1,725 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
*
|
|
77
|
-
*
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
*
|
|
89
|
-
*
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
*
|
|
93
|
-
*/
|
|
94
|
-
export
|
|
95
|
-
status: "
|
|
96
|
-
body:
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
export
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
*
|
|
215
|
-
*
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
*
|
|
225
|
-
*
|
|
226
|
-
* The
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
*
|
|
231
|
-
*
|
|
232
|
-
*
|
|
233
|
-
*
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
*
|
|
252
|
-
*
|
|
253
|
-
*
|
|
254
|
-
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
257
|
-
*
|
|
258
|
-
*
|
|
259
|
-
*
|
|
260
|
-
*
|
|
261
|
-
*
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
*
|
|
270
|
-
*
|
|
271
|
-
*
|
|
272
|
-
*
|
|
273
|
-
*
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
/**
|
|
323
|
-
* Returns the status for
|
|
324
|
-
*
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
*
|
|
333
|
-
*
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
*
|
|
341
|
-
*
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
*
|
|
365
|
-
* The
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
*
|
|
384
|
-
*
|
|
385
|
-
*
|
|
386
|
-
*
|
|
387
|
-
*
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
*
|
|
395
|
-
*
|
|
396
|
-
*
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
/**
|
|
439
|
-
|
|
440
|
-
/** the
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
}
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
*
|
|
512
|
-
* The
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
*
|
|
531
|
-
*
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
*
|
|
540
|
-
*
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
*
|
|
564
|
-
* The
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
*
|
|
583
|
-
*
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
/**
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
"
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
*
|
|
694
|
-
*
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
*/
|
|
711
|
-
export
|
|
712
|
-
status: "
|
|
713
|
-
body:
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
727
|
-
* $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.
|
|
728
|
-
* $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.
|
|
729
|
-
*
|
|
730
|
-
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
731
|
-
* The default sorting is descending by createdDateTimeUtc.
|
|
732
|
-
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
733
|
-
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
734
|
-
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
735
|
-
*
|
|
736
|
-
* 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.
|
|
737
|
-
*
|
|
738
|
-
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
739
|
-
* 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.
|
|
740
|
-
* This reduces the risk of the client making assumptions about the data returned.
|
|
741
|
-
*/
|
|
742
|
-
export declare interface GetTranslationsStatus400Response extends HttpResponse {
|
|
743
|
-
status: "400";
|
|
744
|
-
body: TranslationErrorResponse;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
/**
|
|
748
|
-
* Returns a list of batch requests submitted and the status for each request.
|
|
749
|
-
* This list only contains batch requests submitted by the user (based on the resource).
|
|
750
|
-
*
|
|
751
|
-
* 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.
|
|
752
|
-
* The absence of a continuation token means that no additional pages are available.
|
|
753
|
-
*
|
|
754
|
-
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
755
|
-
*
|
|
756
|
-
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
757
|
-
* $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.
|
|
758
|
-
* $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.
|
|
759
|
-
*
|
|
760
|
-
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
761
|
-
* The default sorting is descending by createdDateTimeUtc.
|
|
762
|
-
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
763
|
-
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
764
|
-
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
765
|
-
*
|
|
766
|
-
* 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.
|
|
767
|
-
*
|
|
768
|
-
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
769
|
-
* 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.
|
|
770
|
-
* This reduces the risk of the client making assumptions about the data returned.
|
|
771
|
-
*/
|
|
772
|
-
export declare interface GetTranslationsStatus401Response extends HttpResponse {
|
|
773
|
-
status: "401";
|
|
774
|
-
body: TranslationErrorResponse;
|
|
775
|
-
}
|
|
776
|
-
|
|
777
|
-
/**
|
|
778
|
-
* Returns a list of batch requests submitted and the status for each request.
|
|
779
|
-
* This list only contains batch requests submitted by the user (based on the resource).
|
|
780
|
-
*
|
|
781
|
-
* 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.
|
|
782
|
-
* The absence of a continuation token means that no additional pages are available.
|
|
783
|
-
*
|
|
784
|
-
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
785
|
-
*
|
|
786
|
-
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
787
|
-
* $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.
|
|
788
|
-
* $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.
|
|
789
|
-
*
|
|
790
|
-
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
791
|
-
* The default sorting is descending by createdDateTimeUtc.
|
|
792
|
-
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
793
|
-
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
794
|
-
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
795
|
-
*
|
|
796
|
-
* 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.
|
|
797
|
-
*
|
|
798
|
-
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
799
|
-
* 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.
|
|
800
|
-
* This reduces the risk of the client making assumptions about the data returned.
|
|
801
|
-
*/
|
|
802
|
-
export declare interface GetTranslationsStatus429Response extends HttpResponse {
|
|
803
|
-
status: "429";
|
|
804
|
-
body: TranslationErrorResponse;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
/**
|
|
808
|
-
* Returns a list of batch requests submitted and the status for each request.
|
|
809
|
-
* This list only contains batch requests submitted by the user (based on the resource).
|
|
810
|
-
*
|
|
811
|
-
* 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.
|
|
812
|
-
* The absence of a continuation token means that no additional pages are available.
|
|
813
|
-
*
|
|
814
|
-
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
815
|
-
*
|
|
816
|
-
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
817
|
-
* $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.
|
|
818
|
-
* $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.
|
|
819
|
-
*
|
|
820
|
-
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
821
|
-
* The default sorting is descending by createdDateTimeUtc.
|
|
822
|
-
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
823
|
-
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
824
|
-
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
825
|
-
*
|
|
826
|
-
* 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.
|
|
827
|
-
*
|
|
828
|
-
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
829
|
-
* 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.
|
|
830
|
-
* This reduces the risk of the client making assumptions about the data returned.
|
|
831
|
-
*/
|
|
832
|
-
export declare interface GetTranslationsStatus500Response extends HttpResponse {
|
|
833
|
-
status: "500";
|
|
834
|
-
body: TranslationErrorResponse;
|
|
835
|
-
}
|
|
836
|
-
|
|
837
|
-
/**
|
|
838
|
-
* Returns a list of batch requests submitted and the status for each request.
|
|
839
|
-
* This list only contains batch requests submitted by the user (based on the resource).
|
|
840
|
-
*
|
|
841
|
-
* 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.
|
|
842
|
-
* The absence of a continuation token means that no additional pages are available.
|
|
843
|
-
*
|
|
844
|
-
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
845
|
-
*
|
|
846
|
-
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
847
|
-
* $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.
|
|
848
|
-
* $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.
|
|
849
|
-
*
|
|
850
|
-
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
851
|
-
* The default sorting is descending by createdDateTimeUtc.
|
|
852
|
-
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
853
|
-
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
854
|
-
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
855
|
-
*
|
|
856
|
-
* 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.
|
|
857
|
-
*
|
|
858
|
-
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
859
|
-
* 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.
|
|
860
|
-
* This reduces the risk of the client making assumptions about the data returned.
|
|
861
|
-
*/
|
|
862
|
-
export declare interface GetTranslationsStatus503Response extends HttpResponse {
|
|
863
|
-
status: "503";
|
|
864
|
-
body: TranslationErrorResponse;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
export declare type GetTranslationsStatusParameters = RequestParameters & GetTranslationsStatusQueryParam;
|
|
868
|
-
|
|
869
|
-
export declare interface GetTranslationsStatusQueryParam {
|
|
870
|
-
queryParameters?: GetTranslationsStatusQueryParamProperties;
|
|
871
|
-
}
|
|
872
|
-
|
|
873
|
-
export declare interface GetTranslationsStatusQueryParamProperties {
|
|
874
|
-
/**
|
|
875
|
-
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
876
|
-
*
|
|
877
|
-
* Clients MAY use $top and $skip query parameters to specify a number of results to return and an offset into the collection.
|
|
878
|
-
* When both $top and $skip are given by a client, the server SHOULD first apply $skip and then $top on the collection.
|
|
879
|
-
*
|
|
880
|
-
* 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.
|
|
881
|
-
*/
|
|
882
|
-
$top?: number;
|
|
883
|
-
/**
|
|
884
|
-
* $skip indicates the number of records to skip from the list of records held by the server based on the sorting method specified. By default, we sort by descending start time.
|
|
885
|
-
*
|
|
886
|
-
* Clients MAY use $top and $skip query parameters to specify a number of results to return and an offset into the collection.
|
|
887
|
-
* When both $top and $skip are given by a client, the server SHOULD first apply $skip and then $top on the collection.
|
|
888
|
-
*
|
|
889
|
-
* 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.
|
|
890
|
-
*/
|
|
891
|
-
$skip?: number;
|
|
892
|
-
/**
|
|
893
|
-
* $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.
|
|
894
|
-
*
|
|
895
|
-
* Clients MAY request server-driven paging with a specific page size by specifying a $maxpagesize preference. The server SHOULD honor this preference if the specified page size is smaller than the server's default page size.
|
|
896
|
-
*/
|
|
897
|
-
$maxpagesize?: number;
|
|
898
|
-
/** Ids to use in filtering */
|
|
899
|
-
ids?: string[];
|
|
900
|
-
/** Statuses to use in filtering */
|
|
901
|
-
statuses?: string[];
|
|
902
|
-
/** the start datetime to get items after */
|
|
903
|
-
createdDateTimeUtcStart?: Date;
|
|
904
|
-
/** the end datetime to get items before */
|
|
905
|
-
createdDateTimeUtcEnd?: Date;
|
|
906
|
-
/** the sorting query for the collection (ex: 'CreatedDateTimeUtc asc', 'CreatedDateTimeUtc desc') */
|
|
907
|
-
$orderBy?: string[];
|
|
908
|
-
}
|
|
909
|
-
|
|
910
|
-
export declare interface GetTranslationStatus200Headers {
|
|
911
|
-
/** Indicates how long to wait before making a new request. */
|
|
912
|
-
"retry-after"?: string;
|
|
913
|
-
/** 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. */
|
|
914
|
-
etag?: string;
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
/**
|
|
918
|
-
* Returns the status for a document translation request.
|
|
919
|
-
* The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
|
|
920
|
-
*/
|
|
921
|
-
export declare interface GetTranslationStatus200Response extends HttpResponse {
|
|
922
|
-
status: "200";
|
|
923
|
-
body: TranslationStatus;
|
|
924
|
-
headers: RawHttpHeaders & GetTranslationStatus200Headers;
|
|
925
|
-
}
|
|
926
|
-
|
|
927
|
-
/**
|
|
928
|
-
* Returns the status for a document translation request.
|
|
929
|
-
* The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
|
|
930
|
-
*/
|
|
931
|
-
export declare interface GetTranslationStatus401Response extends HttpResponse {
|
|
932
|
-
status: "401";
|
|
933
|
-
body: TranslationErrorResponse;
|
|
934
|
-
}
|
|
935
|
-
|
|
936
|
-
/**
|
|
937
|
-
* Returns the status for a document translation request.
|
|
938
|
-
* The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
|
|
939
|
-
*/
|
|
940
|
-
export declare interface GetTranslationStatus404Response extends HttpResponse {
|
|
941
|
-
status: "404";
|
|
942
|
-
body: TranslationErrorResponse;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
/**
|
|
946
|
-
* Returns the status for a document translation request.
|
|
947
|
-
* The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
|
|
948
|
-
*/
|
|
949
|
-
export declare interface GetTranslationStatus429Response extends HttpResponse {
|
|
950
|
-
status: "429";
|
|
951
|
-
body: TranslationErrorResponse;
|
|
952
|
-
}
|
|
953
|
-
|
|
954
|
-
/**
|
|
955
|
-
* Returns the status for a document translation request.
|
|
956
|
-
* The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
|
|
957
|
-
*/
|
|
958
|
-
export declare interface GetTranslationStatus500Response extends HttpResponse {
|
|
959
|
-
status: "500";
|
|
960
|
-
body: TranslationErrorResponse;
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
/**
|
|
964
|
-
* Returns the status for a document translation request.
|
|
965
|
-
* The status includes the overall request status, as well as the status for documents that are being translated as part of that request.
|
|
966
|
-
*/
|
|
967
|
-
export declare interface GetTranslationStatus503Response extends HttpResponse {
|
|
968
|
-
status: "503";
|
|
969
|
-
body: TranslationErrorResponse;
|
|
970
|
-
}
|
|
971
|
-
|
|
972
|
-
export declare type GetTranslationStatusParameters = RequestParameters;
|
|
973
|
-
|
|
974
|
-
export declare interface Glossary {
|
|
975
|
-
/**
|
|
976
|
-
* Location of the glossary.
|
|
977
|
-
* We will use the file extension to extract the formatting if the format parameter is not supplied.
|
|
978
|
-
*
|
|
979
|
-
* If the translation language pair is not present in the glossary, it will not be applied
|
|
980
|
-
*/
|
|
981
|
-
glossaryUrl: string;
|
|
982
|
-
/** Format */
|
|
983
|
-
format: string;
|
|
984
|
-
/** Optional Version. If not specified, default is used. */
|
|
985
|
-
version?: string;
|
|
986
|
-
/** Storage Source */
|
|
987
|
-
storageSource?: StorageSource;
|
|
988
|
-
}
|
|
989
|
-
|
|
990
|
-
export declare interface InnerTranslationError {
|
|
991
|
-
/** Gets code error string. */
|
|
992
|
-
code: string;
|
|
993
|
-
/** Gets high level error message. */
|
|
994
|
-
message: string;
|
|
995
|
-
/**
|
|
996
|
-
* Gets the source of the error.
|
|
997
|
-
* For example it would be "documents" or "document id" in case of invalid document.
|
|
998
|
-
*/
|
|
999
|
-
target?: string;
|
|
1000
|
-
/**
|
|
1001
|
-
* New Inner Error format which conforms to Cognitive Services API Guidelines which is available at https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8ow.
|
|
1002
|
-
* This contains required properties ErrorCode, message and optional properties target, details(key value pair), inner error(this can be nested).
|
|
1003
|
-
*/
|
|
1004
|
-
innerError?: InnerTranslationError;
|
|
1005
|
-
}
|
|
1006
|
-
|
|
1007
|
-
export declare interface Routes {
|
|
1008
|
-
/** Resource for '/batches' has methods for the following verbs: post, get */
|
|
1009
|
-
(path: "/batches"): GetTranslationsStatus;
|
|
1010
|
-
/** Resource for '/batches/\{id\}/documents/\{documentId\}' has methods for the following verbs: get */
|
|
1011
|
-
(path: "/batches/{id}/documents/{documentId}", id: string, documentId: string): GetDocumentStatus;
|
|
1012
|
-
/** Resource for '/batches/\{id\}' has methods for the following verbs: get, delete */
|
|
1013
|
-
(path: "/batches/{id}", id: string): CancelTranslation;
|
|
1014
|
-
/** Resource for '/batches/\{id\}/documents' has methods for the following verbs: get */
|
|
1015
|
-
(path: "/batches/{id}/documents", id: string): GetDocumentsStatus;
|
|
1016
|
-
/** Resource for '/documents/formats' has methods for the following verbs: get */
|
|
1017
|
-
(path: "/documents/formats"): GetSupportedDocumentFormats;
|
|
1018
|
-
/** Resource for '/glossaries/formats' has methods for the following verbs: get */
|
|
1019
|
-
(path: "/glossaries/formats"): GetSupportedGlossaryFormats;
|
|
1020
|
-
/** Resource for '/storagesources' has methods for the following verbs: get */
|
|
1021
|
-
(path: "/storagesources"): GetSupportedStorageSources;
|
|
1022
|
-
}
|
|
1023
|
-
|
|
1024
|
-
export declare interface SourceInput {
|
|
1025
|
-
/** Location of the folder / container or single file with your documents */
|
|
1026
|
-
sourceUrl: string;
|
|
1027
|
-
/** */
|
|
1028
|
-
filter?: DocumentFilter;
|
|
1029
|
-
/**
|
|
1030
|
-
* Language code
|
|
1031
|
-
* If none is specified, we will perform auto detect on the document
|
|
1032
|
-
*/
|
|
1033
|
-
language?: string;
|
|
1034
|
-
/** Storage Source */
|
|
1035
|
-
storageSource?: StorageSource;
|
|
1036
|
-
}
|
|
1037
|
-
|
|
1038
|
-
export declare interface StartTranslation202Headers {
|
|
1039
|
-
/** Location of batch the operation */
|
|
1040
|
-
"operation-location"?: string;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
/**
|
|
1044
|
-
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
1045
|
-
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
1046
|
-
*
|
|
1047
|
-
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
1048
|
-
*
|
|
1049
|
-
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
1050
|
-
*
|
|
1051
|
-
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
1052
|
-
* 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.
|
|
1053
|
-
*/
|
|
1054
|
-
export declare interface StartTranslation202Response extends HttpResponse {
|
|
1055
|
-
status: "202";
|
|
1056
|
-
headers: RawHttpHeaders & StartTranslation202Headers;
|
|
1057
|
-
}
|
|
1058
|
-
|
|
1059
|
-
/**
|
|
1060
|
-
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
1061
|
-
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
1062
|
-
*
|
|
1063
|
-
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
1064
|
-
*
|
|
1065
|
-
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
1066
|
-
*
|
|
1067
|
-
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
1068
|
-
* 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.
|
|
1069
|
-
*/
|
|
1070
|
-
export declare interface StartTranslation400Response extends HttpResponse {
|
|
1071
|
-
status: "400";
|
|
1072
|
-
body: TranslationErrorResponse;
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
/**
|
|
1076
|
-
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
1077
|
-
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
1078
|
-
*
|
|
1079
|
-
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
1080
|
-
*
|
|
1081
|
-
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
1082
|
-
*
|
|
1083
|
-
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
1084
|
-
* 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.
|
|
1085
|
-
*/
|
|
1086
|
-
export declare interface StartTranslation401Response extends HttpResponse {
|
|
1087
|
-
status: "401";
|
|
1088
|
-
body: TranslationErrorResponse;
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
/**
|
|
1092
|
-
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
1093
|
-
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
1094
|
-
*
|
|
1095
|
-
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
1096
|
-
*
|
|
1097
|
-
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
1098
|
-
*
|
|
1099
|
-
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
1100
|
-
* 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.
|
|
1101
|
-
*/
|
|
1102
|
-
export declare interface StartTranslation429Response extends HttpResponse {
|
|
1103
|
-
status: "429";
|
|
1104
|
-
body: TranslationErrorResponse;
|
|
1105
|
-
}
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
1109
|
-
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
1110
|
-
*
|
|
1111
|
-
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
1112
|
-
*
|
|
1113
|
-
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
1114
|
-
*
|
|
1115
|
-
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
1116
|
-
* 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.
|
|
1117
|
-
*/
|
|
1118
|
-
export declare interface StartTranslation500Response extends HttpResponse {
|
|
1119
|
-
status: "500";
|
|
1120
|
-
body: TranslationErrorResponse;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
/**
|
|
1124
|
-
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
1125
|
-
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
1126
|
-
*
|
|
1127
|
-
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
1128
|
-
*
|
|
1129
|
-
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
1130
|
-
*
|
|
1131
|
-
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
1132
|
-
* 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.
|
|
1133
|
-
*/
|
|
1134
|
-
export declare interface StartTranslation503Response extends HttpResponse {
|
|
1135
|
-
status: "503";
|
|
1136
|
-
body: TranslationErrorResponse;
|
|
1137
|
-
}
|
|
1138
|
-
|
|
1139
|
-
export declare interface StartTranslationBodyParam {
|
|
1140
|
-
body: StartTranslationDetails;
|
|
1141
|
-
}
|
|
1142
|
-
|
|
1143
|
-
export declare interface StartTranslationDetails {
|
|
1144
|
-
/** The input list of documents or folders containing documents */
|
|
1145
|
-
inputs: BatchRequest[];
|
|
1146
|
-
}
|
|
1147
|
-
|
|
1148
|
-
export declare type StartTranslationParameters = RequestParameters & StartTranslationBodyParam;
|
|
1149
|
-
|
|
1150
|
-
export declare type Status = "NotStarted" | "Running" | "Succeeded" | "Failed" | "Cancelled" | "Cancelling" | "ValidationFailed";
|
|
1151
|
-
|
|
1152
|
-
export declare interface StatusSummary {
|
|
1153
|
-
/** Total count */
|
|
1154
|
-
total: number;
|
|
1155
|
-
/** Failed count */
|
|
1156
|
-
failed: number;
|
|
1157
|
-
/** Number of Success */
|
|
1158
|
-
success: number;
|
|
1159
|
-
/** Number of in progress */
|
|
1160
|
-
inProgress: number;
|
|
1161
|
-
/** Count of not yet started */
|
|
1162
|
-
notYetStarted: number;
|
|
1163
|
-
/** Number of cancelled */
|
|
1164
|
-
cancelled: number;
|
|
1165
|
-
/** Total characters charged by the API */
|
|
1166
|
-
totalCharacterCharged: number;
|
|
1167
|
-
}
|
|
1168
|
-
|
|
1169
|
-
export declare type StorageInputType = "Folder" | "File";
|
|
1170
|
-
|
|
1171
|
-
export declare type StorageSource = "AzureBlob";
|
|
1172
|
-
|
|
1173
|
-
export declare interface SupportedFileFormats {
|
|
1174
|
-
/** list of objects */
|
|
1175
|
-
value: FileFormat[];
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
export declare interface SupportedStorageSources {
|
|
1179
|
-
/** list of objects */
|
|
1180
|
-
value: "AzureBlob"[];
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
export declare interface TargetInput {
|
|
1184
|
-
/** Location of the folder / container with your documents */
|
|
1185
|
-
targetUrl: string;
|
|
1186
|
-
/** Category / custom system for translation request */
|
|
1187
|
-
category?: string;
|
|
1188
|
-
/** Target Language */
|
|
1189
|
-
language: string;
|
|
1190
|
-
/** List of Glossary */
|
|
1191
|
-
glossaries?: Glossary[];
|
|
1192
|
-
/** Storage Source */
|
|
1193
|
-
storageSource?: StorageSource;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
export declare interface TranslationError {
|
|
1197
|
-
/** Enums containing high level error codes. */
|
|
1198
|
-
code: TranslationErrorCode;
|
|
1199
|
-
/** Gets high level error message. */
|
|
1200
|
-
message: string;
|
|
1201
|
-
/**
|
|
1202
|
-
* Gets the source of the error.
|
|
1203
|
-
* For example it would be "documents" or "document id" in case of invalid document.
|
|
1204
|
-
*/
|
|
1205
|
-
target?: string;
|
|
1206
|
-
/**
|
|
1207
|
-
* New Inner Error format which conforms to Cognitive Services API Guidelines which is available at https://microsoft.sharepoint.com/%3Aw%3A/t/CognitiveServicesPMO/EUoytcrjuJdKpeOKIK_QRC8BPtUYQpKBi8JsWyeDMRsWlQ?e=CPq8ow.
|
|
1208
|
-
* This contains required properties ErrorCode, message and optional properties target, details(key value pair), inner error(this can be nested).
|
|
1209
|
-
*/
|
|
1210
|
-
innerError?: InnerTranslationError;
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
|
-
export declare type TranslationErrorCode = "InvalidRequest" | "InvalidArgument" | "InternalServerError" | "ServiceUnavailable" | "ResourceNotFound" | "Unauthorized" | "RequestRateTooHigh";
|
|
1214
|
-
|
|
1215
|
-
export declare interface TranslationErrorResponse {
|
|
1216
|
-
/** This contains an outer error with error code, message, details, target and an inner error with more descriptive details. */
|
|
1217
|
-
error?: TranslationError;
|
|
1218
|
-
}
|
|
1219
|
-
|
|
1220
|
-
export declare interface TranslationsStatus {
|
|
1221
|
-
/** The summary status of individual operation */
|
|
1222
|
-
value: TranslationStatus[];
|
|
1223
|
-
/** Url for the next page. Null if no more pages available */
|
|
1224
|
-
nextLink?: string;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
export declare interface TranslationStatus {
|
|
1228
|
-
/** Id of the operation. */
|
|
1229
|
-
id: string;
|
|
1230
|
-
/** Operation created date time */
|
|
1231
|
-
createdDateTimeUtc: Date;
|
|
1232
|
-
/** Date time in which the operation's status has been updated */
|
|
1233
|
-
lastActionDateTimeUtc: Date;
|
|
1234
|
-
/** List of possible statuses for job or document */
|
|
1235
|
-
status: Status;
|
|
1236
|
-
/** This contains an outer error with error code, message, details, target and an inner error with more descriptive details. */
|
|
1237
|
-
error?: TranslationError;
|
|
1238
|
-
/** */
|
|
1239
|
-
summary: StatusSummary;
|
|
1240
|
-
}
|
|
1241
|
-
|
|
1242
|
-
export { }
|
|
1
|
+
import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
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
|
+
/** Location of batch the operation */
|
|
6
|
+
"operation-location"?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
10
|
+
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
11
|
+
*
|
|
12
|
+
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
13
|
+
*
|
|
14
|
+
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
15
|
+
*
|
|
16
|
+
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
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
|
+
*/
|
|
19
|
+
export interface DocumentTranslationStartTranslation202Response extends HttpResponse {
|
|
20
|
+
status: "202";
|
|
21
|
+
headers: RawHttpHeaders & DocumentTranslationStartTranslation202Headers;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
25
|
+
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
26
|
+
*
|
|
27
|
+
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
28
|
+
*
|
|
29
|
+
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
30
|
+
*
|
|
31
|
+
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
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
|
+
*/
|
|
34
|
+
export interface DocumentTranslationStartTranslation400Response extends HttpResponse {
|
|
35
|
+
status: "400";
|
|
36
|
+
body: TranslationErrorResponseOutput;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
40
|
+
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
41
|
+
*
|
|
42
|
+
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
43
|
+
*
|
|
44
|
+
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
45
|
+
*
|
|
46
|
+
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
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
|
+
*/
|
|
49
|
+
export interface DocumentTranslationStartTranslation401Response extends HttpResponse {
|
|
50
|
+
status: "401";
|
|
51
|
+
body: TranslationErrorResponseOutput;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
55
|
+
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
56
|
+
*
|
|
57
|
+
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
58
|
+
*
|
|
59
|
+
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
60
|
+
*
|
|
61
|
+
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
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
|
+
*/
|
|
64
|
+
export interface DocumentTranslationStartTranslation429Response extends HttpResponse {
|
|
65
|
+
status: "429";
|
|
66
|
+
body: TranslationErrorResponseOutput;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
70
|
+
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
71
|
+
*
|
|
72
|
+
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
73
|
+
*
|
|
74
|
+
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
75
|
+
*
|
|
76
|
+
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
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
|
+
*/
|
|
79
|
+
export interface DocumentTranslationStartTranslation500Response extends HttpResponse {
|
|
80
|
+
status: "500";
|
|
81
|
+
body: TranslationErrorResponseOutput;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Use this API to submit a bulk (batch) translation request to the Document Translation service.
|
|
85
|
+
* Each request can contain multiple documents and must contain a source and destination container for each document.
|
|
86
|
+
*
|
|
87
|
+
* The prefix and suffix filter (if supplied) are used to filter folders. The prefix is applied to the subpath after the container name.
|
|
88
|
+
*
|
|
89
|
+
* Glossaries / Translation memory can be included in the request and are applied by the service when the document is translated.
|
|
90
|
+
*
|
|
91
|
+
* If the glossary is invalid or unreachable during translation, an error is indicated in the document status.
|
|
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
|
+
*/
|
|
94
|
+
export interface DocumentTranslationStartTranslation503Response extends HttpResponse {
|
|
95
|
+
status: "503";
|
|
96
|
+
body: TranslationErrorResponseOutput;
|
|
97
|
+
}
|
|
98
|
+
export interface DocumentTranslationGetTranslationsStatus200Headers {
|
|
99
|
+
/** Indicates how long to wait before making a new request. */
|
|
100
|
+
"retry-after"?: number;
|
|
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
|
+
etag?: string;
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Returns a list of batch requests submitted and the status for each request.
|
|
106
|
+
* This list only contains batch requests submitted by the user (based on the resource).
|
|
107
|
+
*
|
|
108
|
+
* 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.
|
|
109
|
+
* The absence of a continuation token means that no additional pages are available.
|
|
110
|
+
*
|
|
111
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
112
|
+
*
|
|
113
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
116
|
+
*
|
|
117
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
118
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
119
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
120
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
121
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
122
|
+
*
|
|
123
|
+
* 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.
|
|
124
|
+
*
|
|
125
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
128
|
+
*/
|
|
129
|
+
export interface DocumentTranslationGetTranslationsStatus200Response extends HttpResponse {
|
|
130
|
+
status: "200";
|
|
131
|
+
body: TranslationsStatusOutput;
|
|
132
|
+
headers: RawHttpHeaders & DocumentTranslationGetTranslationsStatus200Headers;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* Returns a list of batch requests submitted and the status for each request.
|
|
136
|
+
* This list only contains batch requests submitted by the user (based on the resource).
|
|
137
|
+
*
|
|
138
|
+
* 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.
|
|
139
|
+
* The absence of a continuation token means that no additional pages are available.
|
|
140
|
+
*
|
|
141
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
142
|
+
*
|
|
143
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
146
|
+
*
|
|
147
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
148
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
149
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
150
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
151
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
152
|
+
*
|
|
153
|
+
* 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.
|
|
154
|
+
*
|
|
155
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
158
|
+
*/
|
|
159
|
+
export interface DocumentTranslationGetTranslationsStatus400Response extends HttpResponse {
|
|
160
|
+
status: "400";
|
|
161
|
+
body: TranslationErrorResponseOutput;
|
|
162
|
+
}
|
|
163
|
+
/**
|
|
164
|
+
* Returns a list of batch requests submitted and the status for each request.
|
|
165
|
+
* This list only contains batch requests submitted by the user (based on the resource).
|
|
166
|
+
*
|
|
167
|
+
* 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.
|
|
168
|
+
* The absence of a continuation token means that no additional pages are available.
|
|
169
|
+
*
|
|
170
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
171
|
+
*
|
|
172
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
175
|
+
*
|
|
176
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
177
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
178
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
179
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
180
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
181
|
+
*
|
|
182
|
+
* 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.
|
|
183
|
+
*
|
|
184
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
187
|
+
*/
|
|
188
|
+
export interface DocumentTranslationGetTranslationsStatus401Response extends HttpResponse {
|
|
189
|
+
status: "401";
|
|
190
|
+
body: TranslationErrorResponseOutput;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Returns a list of batch requests submitted and the status for each request.
|
|
194
|
+
* This list only contains batch requests submitted by the user (based on the resource).
|
|
195
|
+
*
|
|
196
|
+
* 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.
|
|
197
|
+
* The absence of a continuation token means that no additional pages are available.
|
|
198
|
+
*
|
|
199
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
200
|
+
*
|
|
201
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
204
|
+
*
|
|
205
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
206
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
207
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
208
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
209
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
210
|
+
*
|
|
211
|
+
* 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.
|
|
212
|
+
*
|
|
213
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
216
|
+
*/
|
|
217
|
+
export interface DocumentTranslationGetTranslationsStatus429Response extends HttpResponse {
|
|
218
|
+
status: "429";
|
|
219
|
+
body: TranslationErrorResponseOutput;
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* Returns a list of batch requests submitted and the status for each request.
|
|
223
|
+
* This list only contains batch requests submitted by the user (based on the resource).
|
|
224
|
+
*
|
|
225
|
+
* 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.
|
|
226
|
+
* The absence of a continuation token means that no additional pages are available.
|
|
227
|
+
*
|
|
228
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
229
|
+
*
|
|
230
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
233
|
+
*
|
|
234
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
235
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
236
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
237
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
238
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
239
|
+
*
|
|
240
|
+
* 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.
|
|
241
|
+
*
|
|
242
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
245
|
+
*/
|
|
246
|
+
export interface DocumentTranslationGetTranslationsStatus500Response extends HttpResponse {
|
|
247
|
+
status: "500";
|
|
248
|
+
body: TranslationErrorResponseOutput;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Returns a list of batch requests submitted and the status for each request.
|
|
252
|
+
* This list only contains batch requests submitted by the user (based on the resource).
|
|
253
|
+
*
|
|
254
|
+
* 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.
|
|
255
|
+
* The absence of a continuation token means that no additional pages are available.
|
|
256
|
+
*
|
|
257
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
258
|
+
*
|
|
259
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
262
|
+
*
|
|
263
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
264
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
265
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled operations.
|
|
266
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
267
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
268
|
+
*
|
|
269
|
+
* 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.
|
|
270
|
+
*
|
|
271
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
274
|
+
*/
|
|
275
|
+
export interface DocumentTranslationGetTranslationsStatus503Response extends HttpResponse {
|
|
276
|
+
status: "503";
|
|
277
|
+
body: TranslationErrorResponseOutput;
|
|
278
|
+
}
|
|
279
|
+
export interface DocumentTranslationGetDocumentStatus200Headers {
|
|
280
|
+
/** Indicates how long to wait before making a new request. */
|
|
281
|
+
"retry-after"?: number;
|
|
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
|
+
etag?: string;
|
|
284
|
+
}
|
|
285
|
+
/** Returns the translation status for a specific document based on the request Id and document Id. */
|
|
286
|
+
export interface DocumentTranslationGetDocumentStatus200Response extends HttpResponse {
|
|
287
|
+
status: "200";
|
|
288
|
+
body: DocumentStatusOutput;
|
|
289
|
+
headers: RawHttpHeaders & DocumentTranslationGetDocumentStatus200Headers;
|
|
290
|
+
}
|
|
291
|
+
/** Returns the translation status for a specific document based on the request Id and document Id. */
|
|
292
|
+
export interface DocumentTranslationGetDocumentStatus401Response extends HttpResponse {
|
|
293
|
+
status: "401";
|
|
294
|
+
body: TranslationErrorResponseOutput;
|
|
295
|
+
}
|
|
296
|
+
/** Returns the translation status for a specific document based on the request Id and document Id. */
|
|
297
|
+
export interface DocumentTranslationGetDocumentStatus404Response extends HttpResponse {
|
|
298
|
+
status: "404";
|
|
299
|
+
body: TranslationErrorResponseOutput;
|
|
300
|
+
}
|
|
301
|
+
/** Returns the translation status for a specific document based on the request Id and document Id. */
|
|
302
|
+
export interface DocumentTranslationGetDocumentStatus429Response extends HttpResponse {
|
|
303
|
+
status: "429";
|
|
304
|
+
body: TranslationErrorResponseOutput;
|
|
305
|
+
}
|
|
306
|
+
/** Returns the translation status for a specific document based on the request Id and document Id. */
|
|
307
|
+
export interface DocumentTranslationGetDocumentStatus500Response extends HttpResponse {
|
|
308
|
+
status: "500";
|
|
309
|
+
body: TranslationErrorResponseOutput;
|
|
310
|
+
}
|
|
311
|
+
/** Returns the translation status for a specific document based on the request Id and document Id. */
|
|
312
|
+
export interface DocumentTranslationGetDocumentStatus503Response extends HttpResponse {
|
|
313
|
+
status: "503";
|
|
314
|
+
body: TranslationErrorResponseOutput;
|
|
315
|
+
}
|
|
316
|
+
export interface DocumentTranslationGetTranslationStatus200Headers {
|
|
317
|
+
/** Indicates how long to wait before making a new request. */
|
|
318
|
+
"retry-after"?: number;
|
|
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
|
+
etag?: string;
|
|
321
|
+
}
|
|
322
|
+
/**
|
|
323
|
+
* Returns the status for a document translation request.
|
|
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
|
+
*/
|
|
326
|
+
export interface DocumentTranslationGetTranslationStatus200Response extends HttpResponse {
|
|
327
|
+
status: "200";
|
|
328
|
+
body: TranslationStatusOutput;
|
|
329
|
+
headers: RawHttpHeaders & DocumentTranslationGetTranslationStatus200Headers;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
* Returns the status for a document translation request.
|
|
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
|
+
*/
|
|
335
|
+
export interface DocumentTranslationGetTranslationStatus401Response extends HttpResponse {
|
|
336
|
+
status: "401";
|
|
337
|
+
body: TranslationErrorResponseOutput;
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Returns the status for a document translation request.
|
|
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
|
+
*/
|
|
343
|
+
export interface DocumentTranslationGetTranslationStatus404Response extends HttpResponse {
|
|
344
|
+
status: "404";
|
|
345
|
+
body: TranslationErrorResponseOutput;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Returns the status for a document translation request.
|
|
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
|
+
*/
|
|
351
|
+
export interface DocumentTranslationGetTranslationStatus429Response extends HttpResponse {
|
|
352
|
+
status: "429";
|
|
353
|
+
body: TranslationErrorResponseOutput;
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* Returns the status for a document translation request.
|
|
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
|
+
*/
|
|
359
|
+
export interface DocumentTranslationGetTranslationStatus500Response extends HttpResponse {
|
|
360
|
+
status: "500";
|
|
361
|
+
body: TranslationErrorResponseOutput;
|
|
362
|
+
}
|
|
363
|
+
/**
|
|
364
|
+
* Returns the status for a document translation request.
|
|
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
|
+
*/
|
|
367
|
+
export interface DocumentTranslationGetTranslationStatus503Response extends HttpResponse {
|
|
368
|
+
status: "503";
|
|
369
|
+
body: TranslationErrorResponseOutput;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* Cancel a currently processing or queued translation.
|
|
373
|
+
* Cancel a currently processing or queued translation.
|
|
374
|
+
* A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.
|
|
375
|
+
* All documents that have completed translation will not be cancelled and will be charged.
|
|
376
|
+
* All pending documents will be cancelled if possible.
|
|
377
|
+
*/
|
|
378
|
+
export interface DocumentTranslationCancelTranslation200Response extends HttpResponse {
|
|
379
|
+
status: "200";
|
|
380
|
+
body: TranslationStatusOutput;
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Cancel a currently processing or queued translation.
|
|
384
|
+
* Cancel a currently processing or queued translation.
|
|
385
|
+
* A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.
|
|
386
|
+
* All documents that have completed translation will not be cancelled and will be charged.
|
|
387
|
+
* All pending documents will be cancelled if possible.
|
|
388
|
+
*/
|
|
389
|
+
export interface DocumentTranslationCancelTranslation401Response extends HttpResponse {
|
|
390
|
+
status: "401";
|
|
391
|
+
body: TranslationErrorResponseOutput;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Cancel a currently processing or queued translation.
|
|
395
|
+
* Cancel a currently processing or queued translation.
|
|
396
|
+
* A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.
|
|
397
|
+
* All documents that have completed translation will not be cancelled and will be charged.
|
|
398
|
+
* All pending documents will be cancelled if possible.
|
|
399
|
+
*/
|
|
400
|
+
export interface DocumentTranslationCancelTranslation404Response extends HttpResponse {
|
|
401
|
+
status: "404";
|
|
402
|
+
body: TranslationErrorResponseOutput;
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
* Cancel a currently processing or queued translation.
|
|
406
|
+
* Cancel a currently processing or queued translation.
|
|
407
|
+
* A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.
|
|
408
|
+
* All documents that have completed translation will not be cancelled and will be charged.
|
|
409
|
+
* All pending documents will be cancelled if possible.
|
|
410
|
+
*/
|
|
411
|
+
export interface DocumentTranslationCancelTranslation429Response extends HttpResponse {
|
|
412
|
+
status: "429";
|
|
413
|
+
body: TranslationErrorResponseOutput;
|
|
414
|
+
}
|
|
415
|
+
/**
|
|
416
|
+
* Cancel a currently processing or queued translation.
|
|
417
|
+
* Cancel a currently processing or queued translation.
|
|
418
|
+
* A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.
|
|
419
|
+
* All documents that have completed translation will not be cancelled and will be charged.
|
|
420
|
+
* All pending documents will be cancelled if possible.
|
|
421
|
+
*/
|
|
422
|
+
export interface DocumentTranslationCancelTranslation500Response extends HttpResponse {
|
|
423
|
+
status: "500";
|
|
424
|
+
body: TranslationErrorResponseOutput;
|
|
425
|
+
}
|
|
426
|
+
/**
|
|
427
|
+
* Cancel a currently processing or queued translation.
|
|
428
|
+
* Cancel a currently processing or queued translation.
|
|
429
|
+
* A translation will not be cancelled if it is already completed or failed or cancelling. A bad request will be returned.
|
|
430
|
+
* All documents that have completed translation will not be cancelled and will be charged.
|
|
431
|
+
* All pending documents will be cancelled if possible.
|
|
432
|
+
*/
|
|
433
|
+
export interface DocumentTranslationCancelTranslation503Response extends HttpResponse {
|
|
434
|
+
status: "503";
|
|
435
|
+
body: TranslationErrorResponseOutput;
|
|
436
|
+
}
|
|
437
|
+
export interface DocumentTranslationGetDocumentsStatus200Headers {
|
|
438
|
+
/** Indicates how long to wait before making a new request. */
|
|
439
|
+
"retry-after"?: number;
|
|
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
|
+
etag?: string;
|
|
442
|
+
}
|
|
443
|
+
/**
|
|
444
|
+
* Returns the status for all documents in a batch document translation request.
|
|
445
|
+
*
|
|
446
|
+
* If the number of documents in the response exceeds our paging limit, server-side paging is used.
|
|
447
|
+
* 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.
|
|
448
|
+
*
|
|
449
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
450
|
+
*
|
|
451
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
454
|
+
*
|
|
455
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
456
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
457
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled documents.
|
|
458
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
459
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
460
|
+
*
|
|
461
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
464
|
+
*/
|
|
465
|
+
export interface DocumentTranslationGetDocumentsStatus200Response extends HttpResponse {
|
|
466
|
+
status: "200";
|
|
467
|
+
body: DocumentsStatusOutput;
|
|
468
|
+
headers: RawHttpHeaders & DocumentTranslationGetDocumentsStatus200Headers;
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Returns the status for all documents in a batch document translation request.
|
|
472
|
+
*
|
|
473
|
+
* If the number of documents in the response exceeds our paging limit, server-side paging is used.
|
|
474
|
+
* 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.
|
|
475
|
+
*
|
|
476
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
477
|
+
*
|
|
478
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
481
|
+
*
|
|
482
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
483
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
484
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled documents.
|
|
485
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
486
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
487
|
+
*
|
|
488
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
491
|
+
*/
|
|
492
|
+
export interface DocumentTranslationGetDocumentsStatus400Response extends HttpResponse {
|
|
493
|
+
status: "400";
|
|
494
|
+
body: TranslationErrorResponseOutput;
|
|
495
|
+
}
|
|
496
|
+
/**
|
|
497
|
+
* Returns the status for all documents in a batch document translation request.
|
|
498
|
+
*
|
|
499
|
+
* If the number of documents in the response exceeds our paging limit, server-side paging is used.
|
|
500
|
+
* 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.
|
|
501
|
+
*
|
|
502
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
503
|
+
*
|
|
504
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
507
|
+
*
|
|
508
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
509
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
510
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled documents.
|
|
511
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
512
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
513
|
+
*
|
|
514
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
517
|
+
*/
|
|
518
|
+
export interface DocumentTranslationGetDocumentsStatus401Response extends HttpResponse {
|
|
519
|
+
status: "401";
|
|
520
|
+
body: TranslationErrorResponseOutput;
|
|
521
|
+
}
|
|
522
|
+
/**
|
|
523
|
+
* Returns the status for all documents in a batch document translation request.
|
|
524
|
+
*
|
|
525
|
+
* If the number of documents in the response exceeds our paging limit, server-side paging is used.
|
|
526
|
+
* 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.
|
|
527
|
+
*
|
|
528
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
529
|
+
*
|
|
530
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
533
|
+
*
|
|
534
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
535
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
536
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled documents.
|
|
537
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
538
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
539
|
+
*
|
|
540
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
543
|
+
*/
|
|
544
|
+
export interface DocumentTranslationGetDocumentsStatus404Response extends HttpResponse {
|
|
545
|
+
status: "404";
|
|
546
|
+
body: TranslationErrorResponseOutput;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
* Returns the status for all documents in a batch document translation request.
|
|
550
|
+
*
|
|
551
|
+
* If the number of documents in the response exceeds our paging limit, server-side paging is used.
|
|
552
|
+
* 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.
|
|
553
|
+
*
|
|
554
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
555
|
+
*
|
|
556
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
559
|
+
*
|
|
560
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
561
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
562
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled documents.
|
|
563
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
564
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
565
|
+
*
|
|
566
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
569
|
+
*/
|
|
570
|
+
export interface DocumentTranslationGetDocumentsStatus429Response extends HttpResponse {
|
|
571
|
+
status: "429";
|
|
572
|
+
body: TranslationErrorResponseOutput;
|
|
573
|
+
}
|
|
574
|
+
/**
|
|
575
|
+
* Returns the status for all documents in a batch document translation request.
|
|
576
|
+
*
|
|
577
|
+
* If the number of documents in the response exceeds our paging limit, server-side paging is used.
|
|
578
|
+
* 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.
|
|
579
|
+
*
|
|
580
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
581
|
+
*
|
|
582
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
585
|
+
*
|
|
586
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
587
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
588
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled documents.
|
|
589
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
590
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
591
|
+
*
|
|
592
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
595
|
+
*/
|
|
596
|
+
export interface DocumentTranslationGetDocumentsStatus500Response extends HttpResponse {
|
|
597
|
+
status: "500";
|
|
598
|
+
body: TranslationErrorResponseOutput;
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Returns the status for all documents in a batch document translation request.
|
|
602
|
+
*
|
|
603
|
+
* If the number of documents in the response exceeds our paging limit, server-side paging is used.
|
|
604
|
+
* 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.
|
|
605
|
+
*
|
|
606
|
+
* $top, $skip and $maxpagesize query parameters can be used to specify a number of results to return and an offset for the collection.
|
|
607
|
+
*
|
|
608
|
+
* $top indicates the total number of records the user wants to be returned across all pages.
|
|
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.
|
|
611
|
+
*
|
|
612
|
+
* $orderBy query parameter can be used to sort the returned list (ex "$orderBy=createdDateTimeUtc asc" or "$orderBy=createdDateTimeUtc desc").
|
|
613
|
+
* The default sorting is descending by createdDateTimeUtc.
|
|
614
|
+
* Some query parameters can be used to filter the returned list (ex: "status=Succeeded,Cancelled") will only return succeeded and cancelled documents.
|
|
615
|
+
* createdDateTimeUtcStart and createdDateTimeUtcEnd can be used combined or separately to specify a range of datetime to filter the returned list by.
|
|
616
|
+
* The supported filtering query parameters are (status, ids, createdDateTimeUtcStart, createdDateTimeUtcEnd).
|
|
617
|
+
*
|
|
618
|
+
* When both $top and $skip are included, the server should first apply $skip and then $top on the collection.
|
|
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
|
+
* This reduces the risk of the client making assumptions about the data returned.
|
|
621
|
+
*/
|
|
622
|
+
export interface DocumentTranslationGetDocumentsStatus503Response extends HttpResponse {
|
|
623
|
+
status: "503";
|
|
624
|
+
body: TranslationErrorResponseOutput;
|
|
625
|
+
}
|
|
626
|
+
export interface DocumentTranslationGetSupportedDocumentFormats200Headers {
|
|
627
|
+
/** Indicates how long to wait before making a new request. */
|
|
628
|
+
"retry-after"?: number;
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
* The list of supported document formats supported by the Document Translation service.
|
|
632
|
+
* The list includes the common file extension, as well as the content-type if using the upload API.
|
|
633
|
+
*/
|
|
634
|
+
export interface DocumentTranslationGetSupportedDocumentFormats200Response extends HttpResponse {
|
|
635
|
+
status: "200";
|
|
636
|
+
body: SupportedFileFormatsOutput;
|
|
637
|
+
headers: RawHttpHeaders & DocumentTranslationGetSupportedDocumentFormats200Headers;
|
|
638
|
+
}
|
|
639
|
+
/**
|
|
640
|
+
* The list of supported document formats supported by the Document Translation service.
|
|
641
|
+
* The list includes the common file extension, as well as the content-type if using the upload API.
|
|
642
|
+
*/
|
|
643
|
+
export interface DocumentTranslationGetSupportedDocumentFormats429Response extends HttpResponse {
|
|
644
|
+
status: "429";
|
|
645
|
+
body: TranslationErrorResponseOutput;
|
|
646
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* The list of supported document formats supported by the Document Translation service.
|
|
649
|
+
* The list includes the common file extension, as well as the content-type if using the upload API.
|
|
650
|
+
*/
|
|
651
|
+
export interface DocumentTranslationGetSupportedDocumentFormats500Response extends HttpResponse {
|
|
652
|
+
status: "500";
|
|
653
|
+
body: TranslationErrorResponseOutput;
|
|
654
|
+
}
|
|
655
|
+
/**
|
|
656
|
+
* The list of supported document formats supported by the Document Translation service.
|
|
657
|
+
* The list includes the common file extension, as well as the content-type if using the upload API.
|
|
658
|
+
*/
|
|
659
|
+
export interface DocumentTranslationGetSupportedDocumentFormats503Response extends HttpResponse {
|
|
660
|
+
status: "503";
|
|
661
|
+
body: TranslationErrorResponseOutput;
|
|
662
|
+
}
|
|
663
|
+
export interface DocumentTranslationGetSupportedGlossaryFormats200Headers {
|
|
664
|
+
/** Indicates how long to wait before making a new request. */
|
|
665
|
+
"retry-after"?: number;
|
|
666
|
+
}
|
|
667
|
+
/**
|
|
668
|
+
* The list of supported glossary formats supported by the Document Translation service.
|
|
669
|
+
* The list includes the common file extension used.
|
|
670
|
+
*/
|
|
671
|
+
export interface DocumentTranslationGetSupportedGlossaryFormats200Response extends HttpResponse {
|
|
672
|
+
status: "200";
|
|
673
|
+
body: SupportedFileFormatsOutput;
|
|
674
|
+
headers: RawHttpHeaders & DocumentTranslationGetSupportedGlossaryFormats200Headers;
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* The list of supported glossary formats supported by the Document Translation service.
|
|
678
|
+
* The list includes the common file extension used.
|
|
679
|
+
*/
|
|
680
|
+
export interface DocumentTranslationGetSupportedGlossaryFormats429Response extends HttpResponse {
|
|
681
|
+
status: "429";
|
|
682
|
+
body: TranslationErrorResponseOutput;
|
|
683
|
+
}
|
|
684
|
+
/**
|
|
685
|
+
* The list of supported glossary formats supported by the Document Translation service.
|
|
686
|
+
* The list includes the common file extension used.
|
|
687
|
+
*/
|
|
688
|
+
export interface DocumentTranslationGetSupportedGlossaryFormats500Response extends HttpResponse {
|
|
689
|
+
status: "500";
|
|
690
|
+
body: TranslationErrorResponseOutput;
|
|
691
|
+
}
|
|
692
|
+
/**
|
|
693
|
+
* The list of supported glossary formats supported by the Document Translation service.
|
|
694
|
+
* The list includes the common file extension used.
|
|
695
|
+
*/
|
|
696
|
+
export interface DocumentTranslationGetSupportedGlossaryFormats503Response extends HttpResponse {
|
|
697
|
+
status: "503";
|
|
698
|
+
body: TranslationErrorResponseOutput;
|
|
699
|
+
}
|
|
700
|
+
export interface DocumentTranslationGetSupportedStorageSources200Headers {
|
|
701
|
+
/** Indicates how long to wait before making a new request. */
|
|
702
|
+
"retry-after"?: number;
|
|
703
|
+
}
|
|
704
|
+
/** Returns a list of storage sources/options supported by the Document Translation service. */
|
|
705
|
+
export interface DocumentTranslationGetSupportedStorageSources200Response extends HttpResponse {
|
|
706
|
+
status: "200";
|
|
707
|
+
body: SupportedStorageSourcesOutput;
|
|
708
|
+
headers: RawHttpHeaders & DocumentTranslationGetSupportedStorageSources200Headers;
|
|
709
|
+
}
|
|
710
|
+
/** Returns a list of storage sources/options supported by the Document Translation service. */
|
|
711
|
+
export interface DocumentTranslationGetSupportedStorageSources429Response extends HttpResponse {
|
|
712
|
+
status: "429";
|
|
713
|
+
body: TranslationErrorResponseOutput;
|
|
714
|
+
}
|
|
715
|
+
/** Returns a list of storage sources/options supported by the Document Translation service. */
|
|
716
|
+
export interface DocumentTranslationGetSupportedStorageSources500Response extends HttpResponse {
|
|
717
|
+
status: "500";
|
|
718
|
+
body: TranslationErrorResponseOutput;
|
|
719
|
+
}
|
|
720
|
+
/** Returns a list of storage sources/options supported by the Document Translation service. */
|
|
721
|
+
export interface DocumentTranslationGetSupportedStorageSources503Response extends HttpResponse {
|
|
722
|
+
status: "503";
|
|
723
|
+
body: TranslationErrorResponseOutput;
|
|
724
|
+
}
|
|
725
|
+
//# sourceMappingURL=responses.d.ts.map
|