@azure-rest/health-deidentification 1.0.0-beta.1 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/LICENSE +4 -4
  2. package/README.md +153 -35
  3. package/dist/browser/clientDefinitions.d.ts +7 -7
  4. package/dist/browser/clientDefinitions.d.ts.map +1 -1
  5. package/dist/browser/clientDefinitions.js +1 -1
  6. package/dist/browser/clientDefinitions.js.map +1 -1
  7. package/dist/browser/deidentificationClient.d.ts +3 -3
  8. package/dist/browser/deidentificationClient.d.ts.map +1 -1
  9. package/dist/browser/deidentificationClient.js +3 -3
  10. package/dist/browser/deidentificationClient.js.map +1 -1
  11. package/dist/browser/index.js +1 -1
  12. package/dist/browser/index.js.map +1 -1
  13. package/dist/browser/isUnexpected.d.ts +3 -3
  14. package/dist/browser/isUnexpected.d.ts.map +1 -1
  15. package/dist/browser/isUnexpected.js +1 -1
  16. package/dist/browser/isUnexpected.js.map +1 -1
  17. package/dist/browser/logger.js +1 -1
  18. package/dist/browser/logger.js.map +1 -1
  19. package/dist/browser/models.d.ts +45 -28
  20. package/dist/browser/models.d.ts.map +1 -1
  21. package/dist/browser/models.js +1 -1
  22. package/dist/browser/models.js.map +1 -1
  23. package/dist/browser/outputModels.d.ts +56 -40
  24. package/dist/browser/outputModels.d.ts.map +1 -1
  25. package/dist/browser/outputModels.js +1 -1
  26. package/dist/browser/outputModels.js.map +1 -1
  27. package/dist/browser/paginateHelper.d.ts +28 -3
  28. package/dist/browser/paginateHelper.d.ts.map +1 -1
  29. package/dist/browser/paginateHelper.js +99 -2
  30. package/dist/browser/paginateHelper.js.map +1 -1
  31. package/dist/browser/parameters.d.ts +17 -10
  32. package/dist/browser/parameters.d.ts.map +1 -1
  33. package/dist/browser/parameters.js +1 -1
  34. package/dist/browser/parameters.js.map +1 -1
  35. package/dist/browser/pollingHelper.d.ts +5 -5
  36. package/dist/browser/pollingHelper.d.ts.map +1 -1
  37. package/dist/browser/pollingHelper.js +2 -2
  38. package/dist/browser/pollingHelper.js.map +1 -1
  39. package/dist/browser/responses.d.ts +24 -19
  40. package/dist/browser/responses.d.ts.map +1 -1
  41. package/dist/browser/responses.js +1 -1
  42. package/dist/browser/responses.js.map +1 -1
  43. package/dist/commonjs/clientDefinitions.d.ts +7 -7
  44. package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
  45. package/dist/commonjs/clientDefinitions.js +1 -1
  46. package/dist/commonjs/clientDefinitions.js.map +1 -1
  47. package/dist/commonjs/deidentificationClient.d.ts +3 -3
  48. package/dist/commonjs/deidentificationClient.d.ts.map +1 -1
  49. package/dist/commonjs/deidentificationClient.js +3 -3
  50. package/dist/commonjs/deidentificationClient.js.map +1 -1
  51. package/dist/commonjs/index.js +1 -1
  52. package/dist/commonjs/index.js.map +1 -1
  53. package/dist/commonjs/isUnexpected.d.ts +3 -3
  54. package/dist/commonjs/isUnexpected.d.ts.map +1 -1
  55. package/dist/commonjs/isUnexpected.js +1 -1
  56. package/dist/commonjs/isUnexpected.js.map +1 -1
  57. package/dist/commonjs/logger.js +1 -1
  58. package/dist/commonjs/logger.js.map +1 -1
  59. package/dist/commonjs/models.d.ts +45 -28
  60. package/dist/commonjs/models.d.ts.map +1 -1
  61. package/dist/commonjs/models.js +1 -1
  62. package/dist/commonjs/models.js.map +1 -1
  63. package/dist/commonjs/outputModels.d.ts +56 -40
  64. package/dist/commonjs/outputModels.d.ts.map +1 -1
  65. package/dist/commonjs/outputModels.js +1 -1
  66. package/dist/commonjs/outputModels.js.map +1 -1
  67. package/dist/commonjs/paginateHelper.d.ts +28 -3
  68. package/dist/commonjs/paginateHelper.d.ts.map +1 -1
  69. package/dist/commonjs/paginateHelper.js +100 -3
  70. package/dist/commonjs/paginateHelper.js.map +1 -1
  71. package/dist/commonjs/parameters.d.ts +17 -10
  72. package/dist/commonjs/parameters.d.ts.map +1 -1
  73. package/dist/commonjs/parameters.js +1 -1
  74. package/dist/commonjs/parameters.js.map +1 -1
  75. package/dist/commonjs/pollingHelper.d.ts +5 -5
  76. package/dist/commonjs/pollingHelper.d.ts.map +1 -1
  77. package/dist/commonjs/pollingHelper.js +1 -1
  78. package/dist/commonjs/pollingHelper.js.map +1 -1
  79. package/dist/commonjs/responses.d.ts +24 -19
  80. package/dist/commonjs/responses.d.ts.map +1 -1
  81. package/dist/commonjs/responses.js +1 -1
  82. package/dist/commonjs/responses.js.map +1 -1
  83. package/dist/commonjs/tsdoc-metadata.json +1 -1
  84. package/dist/esm/clientDefinitions.d.ts +7 -7
  85. package/dist/esm/clientDefinitions.d.ts.map +1 -1
  86. package/dist/esm/clientDefinitions.js +1 -1
  87. package/dist/esm/clientDefinitions.js.map +1 -1
  88. package/dist/esm/deidentificationClient.d.ts +3 -3
  89. package/dist/esm/deidentificationClient.d.ts.map +1 -1
  90. package/dist/esm/deidentificationClient.js +3 -3
  91. package/dist/esm/deidentificationClient.js.map +1 -1
  92. package/dist/esm/index.js +1 -1
  93. package/dist/esm/index.js.map +1 -1
  94. package/dist/esm/isUnexpected.d.ts +3 -3
  95. package/dist/esm/isUnexpected.d.ts.map +1 -1
  96. package/dist/esm/isUnexpected.js +1 -1
  97. package/dist/esm/isUnexpected.js.map +1 -1
  98. package/dist/esm/logger.js +1 -1
  99. package/dist/esm/logger.js.map +1 -1
  100. package/dist/esm/models.d.ts +45 -28
  101. package/dist/esm/models.d.ts.map +1 -1
  102. package/dist/esm/models.js +1 -1
  103. package/dist/esm/models.js.map +1 -1
  104. package/dist/esm/outputModels.d.ts +56 -40
  105. package/dist/esm/outputModels.d.ts.map +1 -1
  106. package/dist/esm/outputModels.js +1 -1
  107. package/dist/esm/outputModels.js.map +1 -1
  108. package/dist/esm/paginateHelper.d.ts +28 -3
  109. package/dist/esm/paginateHelper.d.ts.map +1 -1
  110. package/dist/esm/paginateHelper.js +99 -2
  111. package/dist/esm/paginateHelper.js.map +1 -1
  112. package/dist/esm/parameters.d.ts +17 -10
  113. package/dist/esm/parameters.d.ts.map +1 -1
  114. package/dist/esm/parameters.js +1 -1
  115. package/dist/esm/parameters.js.map +1 -1
  116. package/dist/esm/pollingHelper.d.ts +5 -5
  117. package/dist/esm/pollingHelper.d.ts.map +1 -1
  118. package/dist/esm/pollingHelper.js +2 -2
  119. package/dist/esm/pollingHelper.js.map +1 -1
  120. package/dist/esm/responses.d.ts +24 -19
  121. package/dist/esm/responses.d.ts.map +1 -1
  122. package/dist/esm/responses.js +1 -1
  123. package/dist/esm/responses.js.map +1 -1
  124. package/dist/react-native/clientDefinitions.d.ts +7 -7
  125. package/dist/react-native/clientDefinitions.d.ts.map +1 -1
  126. package/dist/react-native/clientDefinitions.js +1 -1
  127. package/dist/react-native/clientDefinitions.js.map +1 -1
  128. package/dist/react-native/deidentificationClient.d.ts +3 -3
  129. package/dist/react-native/deidentificationClient.d.ts.map +1 -1
  130. package/dist/react-native/deidentificationClient.js +3 -3
  131. package/dist/react-native/deidentificationClient.js.map +1 -1
  132. package/dist/react-native/index.js +1 -1
  133. package/dist/react-native/index.js.map +1 -1
  134. package/dist/react-native/isUnexpected.d.ts +3 -3
  135. package/dist/react-native/isUnexpected.d.ts.map +1 -1
  136. package/dist/react-native/isUnexpected.js +1 -1
  137. package/dist/react-native/isUnexpected.js.map +1 -1
  138. package/dist/react-native/logger.js +1 -1
  139. package/dist/react-native/logger.js.map +1 -1
  140. package/dist/react-native/models.d.ts +45 -28
  141. package/dist/react-native/models.d.ts.map +1 -1
  142. package/dist/react-native/models.js +1 -1
  143. package/dist/react-native/models.js.map +1 -1
  144. package/dist/react-native/outputModels.d.ts +56 -40
  145. package/dist/react-native/outputModels.d.ts.map +1 -1
  146. package/dist/react-native/outputModels.js +1 -1
  147. package/dist/react-native/outputModels.js.map +1 -1
  148. package/dist/react-native/paginateHelper.d.ts +28 -3
  149. package/dist/react-native/paginateHelper.d.ts.map +1 -1
  150. package/dist/react-native/paginateHelper.js +99 -2
  151. package/dist/react-native/paginateHelper.js.map +1 -1
  152. package/dist/react-native/parameters.d.ts +17 -10
  153. package/dist/react-native/parameters.d.ts.map +1 -1
  154. package/dist/react-native/parameters.js +1 -1
  155. package/dist/react-native/parameters.js.map +1 -1
  156. package/dist/react-native/pollingHelper.d.ts +5 -5
  157. package/dist/react-native/pollingHelper.d.ts.map +1 -1
  158. package/dist/react-native/pollingHelper.js +2 -2
  159. package/dist/react-native/pollingHelper.js.map +1 -1
  160. package/dist/react-native/responses.d.ts +24 -19
  161. package/dist/react-native/responses.d.ts.map +1 -1
  162. package/dist/react-native/responses.js +1 -1
  163. package/dist/react-native/responses.js.map +1 -1
  164. package/package.json +45 -51
  165. package/review/health-deidentification.api.md +0 -645
@@ -1,645 +0,0 @@
1
- ## API Report File for "@azure-rest/health-deidentification"
2
-
3
- > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
-
5
- ```ts
6
-
7
- import { AbortSignalLike } from '@azure/abort-controller';
8
- import { CancelOnProgress } from '@azure/core-lro';
9
- import { Client } from '@azure-rest/core-client';
10
- import { ClientOptions } from '@azure-rest/core-client';
11
- import { CreateHttpPollerOptions } from '@azure/core-lro';
12
- import { ErrorModel } from '@azure-rest/core-client';
13
- import { ErrorResponse } from '@azure-rest/core-client';
14
- import { HttpResponse } from '@azure-rest/core-client';
15
- import { OperationState } from '@azure/core-lro';
16
- import { Paged } from '@azure/core-paging';
17
- import { PagedAsyncIterableIterator } from '@azure/core-paging';
18
- import { PathUncheckedResponse } from '@azure-rest/core-client';
19
- import { RawHttpHeaders } from '@azure/core-rest-pipeline';
20
- import { RawHttpHeadersInput } from '@azure/core-rest-pipeline';
21
- import { RequestParameters } from '@azure-rest/core-client';
22
- import { StreamableMethod } from '@azure-rest/core-client';
23
- import { TokenCredential } from '@azure/core-auth';
24
-
25
- // @public (undocumented)
26
- export interface CancelJob {
27
- post(options?: CancelJobParameters): StreamableMethod<CancelJob200Response | CancelJobDefaultResponse>;
28
- }
29
-
30
- // @public (undocumented)
31
- export interface CancelJob200Headers {
32
- "x-ms-client-request-id"?: string;
33
- }
34
-
35
- // @public
36
- export interface CancelJob200Response extends HttpResponse {
37
- // (undocumented)
38
- body: DeidentificationJobOutput;
39
- // (undocumented)
40
- headers: RawHttpHeaders & CancelJob200Headers;
41
- // (undocumented)
42
- status: "200";
43
- }
44
-
45
- // @public (undocumented)
46
- export interface CancelJobDefaultHeaders {
47
- "x-ms-error-code"?: string;
48
- }
49
-
50
- // @public (undocumented)
51
- export interface CancelJobDefaultResponse extends HttpResponse {
52
- // (undocumented)
53
- body: ErrorResponse;
54
- // (undocumented)
55
- headers: RawHttpHeaders & CancelJobDefaultHeaders;
56
- // (undocumented)
57
- status: string;
58
- }
59
-
60
- // @public (undocumented)
61
- export interface CancelJobHeaderParam {
62
- // (undocumented)
63
- headers?: RawHttpHeadersInput & CancelJobHeaders;
64
- }
65
-
66
- // @public (undocumented)
67
- export interface CancelJobHeaders {
68
- "x-ms-client-request-id"?: string;
69
- }
70
-
71
- // @public (undocumented)
72
- export type CancelJobParameters = CancelJobHeaderParam & RequestParameters;
73
-
74
- // @public
75
- function createClient(endpointParam: string, credentials: TokenCredential, { apiVersion, ...options }?: DeidentificationClientOptions): DeidentificationClient;
76
- export default createClient;
77
-
78
- // @public (undocumented)
79
- export interface CreateJob200Headers {
80
- "operation-location": string;
81
- "x-ms-client-request-id"?: string;
82
- }
83
-
84
- // @public
85
- export interface CreateJob200Response extends HttpResponse {
86
- // (undocumented)
87
- body: DeidentificationJobOutput;
88
- // (undocumented)
89
- headers: RawHttpHeaders & CreateJob200Headers;
90
- // (undocumented)
91
- status: "200";
92
- }
93
-
94
- // @public (undocumented)
95
- export interface CreateJob201Headers {
96
- "operation-location": string;
97
- "x-ms-client-request-id"?: string;
98
- }
99
-
100
- // @public
101
- export interface CreateJob201Response extends HttpResponse {
102
- // (undocumented)
103
- body: DeidentificationJobOutput;
104
- // (undocumented)
105
- headers: RawHttpHeaders & CreateJob201Headers;
106
- // (undocumented)
107
- status: "201";
108
- }
109
-
110
- // @public (undocumented)
111
- export interface CreateJobBodyParam {
112
- body: DeidentificationJob;
113
- }
114
-
115
- // @public (undocumented)
116
- export interface CreateJobDefaultHeaders {
117
- "x-ms-error-code"?: string;
118
- }
119
-
120
- // @public (undocumented)
121
- export interface CreateJobDefaultResponse extends HttpResponse {
122
- // (undocumented)
123
- body: ErrorResponse;
124
- // (undocumented)
125
- headers: RawHttpHeaders & CreateJobDefaultHeaders;
126
- // (undocumented)
127
- status: string;
128
- }
129
-
130
- // @public (undocumented)
131
- export interface CreateJobHeaderParam {
132
- // (undocumented)
133
- headers?: RawHttpHeadersInput & CreateJobHeaders;
134
- }
135
-
136
- // @public (undocumented)
137
- export interface CreateJobHeaders {
138
- "x-ms-client-request-id"?: string;
139
- }
140
-
141
- // @public
142
- export interface CreateJobLogicalResponse extends HttpResponse {
143
- // (undocumented)
144
- body: DeidentificationJobOutput;
145
- // (undocumented)
146
- status: "200";
147
- }
148
-
149
- // @public (undocumented)
150
- export type CreateJobParameters = CreateJobHeaderParam & CreateJobBodyParam & RequestParameters;
151
-
152
- // @public (undocumented)
153
- export type DeidentificationClient = Client & {
154
- path: Routes;
155
- };
156
-
157
- // @public
158
- export interface DeidentificationClientOptions extends ClientOptions {
159
- apiVersion?: string;
160
- }
161
-
162
- // @public
163
- export interface DeidentificationContent {
164
- dataType?: DocumentDataType;
165
- inputText: string;
166
- operation?: OperationType;
167
- redactionFormat?: string;
168
- }
169
-
170
- // @public
171
- export interface DeidentificationJob {
172
- dataType?: DocumentDataType;
173
- operation?: OperationType;
174
- redactionFormat?: string;
175
- sourceLocation: SourceStorageLocation;
176
- targetLocation: TargetStorageLocation;
177
- }
178
-
179
- // @public
180
- export interface DeidentificationJobOutput {
181
- readonly createdAt: string;
182
- dataType?: DocumentDataTypeOutput;
183
- readonly error?: ErrorModel;
184
- readonly lastUpdatedAt: string;
185
- readonly name: string;
186
- operation?: OperationTypeOutput;
187
- redactionFormat?: string;
188
- sourceLocation: SourceStorageLocationOutput;
189
- readonly startedAt?: string;
190
- readonly status: JobStatusOutput;
191
- readonly summary?: JobSummaryOutput;
192
- targetLocation: TargetStorageLocationOutput;
193
- }
194
-
195
- // @public
196
- export interface DeidentificationResultOutput {
197
- outputText?: string;
198
- taggerResult?: PhiTaggerResultOutput;
199
- }
200
-
201
- // @public (undocumented)
202
- export interface Deidentify {
203
- post(options: DeidentifyParameters): StreamableMethod<Deidentify200Response | DeidentifyDefaultResponse>;
204
- }
205
-
206
- // @public
207
- export interface Deidentify200Response extends HttpResponse {
208
- // (undocumented)
209
- body: DeidentificationResultOutput;
210
- // (undocumented)
211
- status: "200";
212
- }
213
-
214
- // @public (undocumented)
215
- export interface DeidentifyBodyParam {
216
- body: DeidentificationContent;
217
- }
218
-
219
- // @public (undocumented)
220
- export interface DeidentifyDefaultHeaders {
221
- "x-ms-error-code"?: string;
222
- }
223
-
224
- // @public (undocumented)
225
- export interface DeidentifyDefaultResponse extends HttpResponse {
226
- // (undocumented)
227
- body: ErrorResponse;
228
- // (undocumented)
229
- headers: RawHttpHeaders & DeidentifyDefaultHeaders;
230
- // (undocumented)
231
- status: string;
232
- }
233
-
234
- // @public (undocumented)
235
- export type DeidentifyParameters = DeidentifyBodyParam & RequestParameters;
236
-
237
- // @public (undocumented)
238
- export interface DeleteJob204Headers {
239
- "x-ms-client-request-id"?: string;
240
- }
241
-
242
- // @public
243
- export interface DeleteJob204Response extends HttpResponse {
244
- // (undocumented)
245
- headers: RawHttpHeaders & DeleteJob204Headers;
246
- // (undocumented)
247
- status: "204";
248
- }
249
-
250
- // @public (undocumented)
251
- export interface DeleteJobDefaultHeaders {
252
- "x-ms-error-code"?: string;
253
- }
254
-
255
- // @public (undocumented)
256
- export interface DeleteJobDefaultResponse extends HttpResponse {
257
- // (undocumented)
258
- body: ErrorResponse;
259
- // (undocumented)
260
- headers: RawHttpHeaders & DeleteJobDefaultHeaders;
261
- // (undocumented)
262
- status: string;
263
- }
264
-
265
- // @public (undocumented)
266
- export interface DeleteJobHeaderParam {
267
- // (undocumented)
268
- headers?: RawHttpHeadersInput & DeleteJobHeaders;
269
- }
270
-
271
- // @public (undocumented)
272
- export interface DeleteJobHeaders {
273
- "x-ms-client-request-id"?: string;
274
- }
275
-
276
- // @public (undocumented)
277
- export type DeleteJobParameters = DeleteJobHeaderParam & RequestParameters;
278
-
279
- // @public
280
- export type DocumentDataType = string;
281
-
282
- // @public
283
- export type DocumentDataTypeOutput = string;
284
-
285
- // @public
286
- export interface DocumentDetailsOutput {
287
- error?: ErrorModel;
288
- readonly id: string;
289
- input: DocumentLocationOutput;
290
- output?: DocumentLocationOutput;
291
- status: OperationStateOutput;
292
- }
293
-
294
- // @public
295
- export interface DocumentLocationOutput {
296
- readonly etag: string;
297
- path: string;
298
- }
299
-
300
- // @public
301
- export type GetArrayType<T> = T extends Array<infer TData> ? TData : never;
302
-
303
- // @public (undocumented)
304
- export interface GetJob {
305
- delete(options?: DeleteJobParameters): StreamableMethod<DeleteJob204Response | DeleteJobDefaultResponse>;
306
- get(options?: GetJobParameters): StreamableMethod<GetJob200Response | GetJobDefaultResponse>;
307
- put(options: CreateJobParameters): StreamableMethod<CreateJob200Response | CreateJob201Response | CreateJobDefaultResponse>;
308
- }
309
-
310
- // @public (undocumented)
311
- export interface GetJob200Headers {
312
- "x-ms-client-request-id"?: string;
313
- }
314
-
315
- // @public
316
- export interface GetJob200Response extends HttpResponse {
317
- // (undocumented)
318
- body: DeidentificationJobOutput;
319
- // (undocumented)
320
- headers: RawHttpHeaders & GetJob200Headers;
321
- // (undocumented)
322
- status: "200";
323
- }
324
-
325
- // @public (undocumented)
326
- export interface GetJobDefaultHeaders {
327
- "x-ms-error-code"?: string;
328
- }
329
-
330
- // @public (undocumented)
331
- export interface GetJobDefaultResponse extends HttpResponse {
332
- // (undocumented)
333
- body: ErrorResponse;
334
- // (undocumented)
335
- headers: RawHttpHeaders & GetJobDefaultHeaders;
336
- // (undocumented)
337
- status: string;
338
- }
339
-
340
- // @public (undocumented)
341
- export interface GetJobHeaderParam {
342
- // (undocumented)
343
- headers?: RawHttpHeadersInput & GetJobHeaders;
344
- }
345
-
346
- // @public (undocumented)
347
- export interface GetJobHeaders {
348
- "x-ms-client-request-id"?: string;
349
- }
350
-
351
- // @public (undocumented)
352
- export type GetJobParameters = GetJobHeaderParam & RequestParameters;
353
-
354
- // @public
355
- export function getLongRunningPoller<TResult extends CreateJobLogicalResponse | CreateJobDefaultResponse>(client: Client, initialResponse: CreateJob200Response | CreateJob201Response | CreateJobDefaultResponse, options?: CreateHttpPollerOptions<TResult, OperationState<TResult>>): Promise<SimplePollerLike<OperationState<TResult>, TResult>>;
356
-
357
- // @public
358
- export type GetPage<TPage> = (pageLink: string, maxPageSize?: number) => Promise<{
359
- page: TPage;
360
- nextPageLink?: string;
361
- }>;
362
-
363
- // @public (undocumented)
364
- export function isUnexpected(response: GetJob200Response | GetJobDefaultResponse): response is GetJobDefaultResponse;
365
-
366
- // @public (undocumented)
367
- export function isUnexpected(response: CreateJob200Response | CreateJob201Response | CreateJobLogicalResponse | CreateJobDefaultResponse): response is CreateJobDefaultResponse;
368
-
369
- // @public (undocumented)
370
- export function isUnexpected(response: DeleteJob204Response | DeleteJobDefaultResponse): response is DeleteJobDefaultResponse;
371
-
372
- // @public (undocumented)
373
- export function isUnexpected(response: ListJobs200Response | ListJobsDefaultResponse): response is ListJobsDefaultResponse;
374
-
375
- // @public (undocumented)
376
- export function isUnexpected(response: ListJobDocuments200Response | ListJobDocumentsDefaultResponse): response is ListJobDocumentsDefaultResponse;
377
-
378
- // @public (undocumented)
379
- export function isUnexpected(response: CancelJob200Response | CancelJobDefaultResponse): response is CancelJobDefaultResponse;
380
-
381
- // @public (undocumented)
382
- export function isUnexpected(response: Deidentify200Response | DeidentifyDefaultResponse): response is DeidentifyDefaultResponse;
383
-
384
- // @public
385
- export type JobStatus = string;
386
-
387
- // @public
388
- export type JobStatusOutput = string;
389
-
390
- // @public
391
- export interface JobSummary {
392
- bytesProcessed: number;
393
- canceled: number;
394
- failed: number;
395
- successful: number;
396
- total: number;
397
- }
398
-
399
- // @public
400
- export interface JobSummaryOutput {
401
- bytesProcessed: number;
402
- canceled: number;
403
- failed: number;
404
- successful: number;
405
- total: number;
406
- }
407
-
408
- // @public (undocumented)
409
- export interface ListJobDocuments {
410
- get(options?: ListJobDocumentsParameters): StreamableMethod<ListJobDocuments200Response | ListJobDocumentsDefaultResponse>;
411
- }
412
-
413
- // @public (undocumented)
414
- export interface ListJobDocuments200Headers {
415
- "x-ms-client-request-id"?: string;
416
- }
417
-
418
- // @public
419
- export interface ListJobDocuments200Response extends HttpResponse {
420
- // (undocumented)
421
- body: PagedDocumentDetailsOutput;
422
- // (undocumented)
423
- headers: RawHttpHeaders & ListJobDocuments200Headers;
424
- // (undocumented)
425
- status: "200";
426
- }
427
-
428
- // @public (undocumented)
429
- export interface ListJobDocumentsDefaultHeaders {
430
- "x-ms-error-code"?: string;
431
- }
432
-
433
- // @public (undocumented)
434
- export interface ListJobDocumentsDefaultResponse extends HttpResponse {
435
- // (undocumented)
436
- body: ErrorResponse;
437
- // (undocumented)
438
- headers: RawHttpHeaders & ListJobDocumentsDefaultHeaders;
439
- // (undocumented)
440
- status: string;
441
- }
442
-
443
- // @public (undocumented)
444
- export interface ListJobDocumentsHeaderParam {
445
- // (undocumented)
446
- headers?: RawHttpHeadersInput & ListJobDocumentsHeaders;
447
- }
448
-
449
- // @public (undocumented)
450
- export interface ListJobDocumentsHeaders {
451
- "x-ms-client-request-id"?: string;
452
- }
453
-
454
- // @public (undocumented)
455
- export type ListJobDocumentsParameters = ListJobDocumentsQueryParam & ListJobDocumentsHeaderParam & RequestParameters;
456
-
457
- // @public (undocumented)
458
- export interface ListJobDocumentsQueryParam {
459
- // (undocumented)
460
- queryParameters?: ListJobDocumentsQueryParamProperties;
461
- }
462
-
463
- // @public (undocumented)
464
- export interface ListJobDocumentsQueryParamProperties {
465
- continuationToken?: string;
466
- maxpagesize?: number;
467
- }
468
-
469
- // @public (undocumented)
470
- export interface ListJobs {
471
- get(options?: ListJobsParameters): StreamableMethod<ListJobs200Response | ListJobsDefaultResponse>;
472
- }
473
-
474
- // @public (undocumented)
475
- export interface ListJobs200Headers {
476
- "x-ms-client-request-id"?: string;
477
- }
478
-
479
- // @public
480
- export interface ListJobs200Response extends HttpResponse {
481
- // (undocumented)
482
- body: PagedDeidentificationJobOutput;
483
- // (undocumented)
484
- headers: RawHttpHeaders & ListJobs200Headers;
485
- // (undocumented)
486
- status: "200";
487
- }
488
-
489
- // @public (undocumented)
490
- export interface ListJobsDefaultHeaders {
491
- "x-ms-error-code"?: string;
492
- }
493
-
494
- // @public (undocumented)
495
- export interface ListJobsDefaultResponse extends HttpResponse {
496
- // (undocumented)
497
- body: ErrorResponse;
498
- // (undocumented)
499
- headers: RawHttpHeaders & ListJobsDefaultHeaders;
500
- // (undocumented)
501
- status: string;
502
- }
503
-
504
- // @public (undocumented)
505
- export interface ListJobsHeaderParam {
506
- // (undocumented)
507
- headers?: RawHttpHeadersInput & ListJobsHeaders;
508
- }
509
-
510
- // @public (undocumented)
511
- export interface ListJobsHeaders {
512
- "x-ms-client-request-id"?: string;
513
- }
514
-
515
- // @public (undocumented)
516
- export type ListJobsParameters = ListJobsQueryParam & ListJobsHeaderParam & RequestParameters;
517
-
518
- // @public (undocumented)
519
- export interface ListJobsQueryParam {
520
- // (undocumented)
521
- queryParameters?: ListJobsQueryParamProperties;
522
- }
523
-
524
- // @public (undocumented)
525
- export interface ListJobsQueryParamProperties {
526
- continuationToken?: string;
527
- maxpagesize?: number;
528
- }
529
-
530
- // @public
531
- export type OperationStateOutput = string;
532
-
533
- // @public
534
- export type OperationType = string;
535
-
536
- // @public
537
- export type OperationTypeOutput = string;
538
-
539
- // @public
540
- export type PagedDeidentificationJobOutput = Paged<DeidentificationJobOutput>;
541
-
542
- // @public
543
- export type PagedDocumentDetailsOutput = Paged<DocumentDetailsOutput>;
544
-
545
- // @public
546
- export function paginate<TResponse extends PathUncheckedResponse>(client: Client, initialResponse: TResponse, options?: PagingOptions<TResponse>): PagedAsyncIterableIterator<PaginateReturn<TResponse>>;
547
-
548
- // @public
549
- export type PaginateReturn<TResult> = TResult extends {
550
- body: {
551
- value?: infer TPage;
552
- };
553
- } ? GetArrayType<TPage> : Array<unknown>;
554
-
555
- // @public
556
- export interface PagingOptions<TResponse> {
557
- customGetPage?: GetPage<PaginateReturn<TResponse>[]>;
558
- }
559
-
560
- // @public
561
- export type PhiCategoryOutput = string;
562
-
563
- // @public
564
- export interface PhiEntityOutput {
565
- category: PhiCategoryOutput;
566
- confidenceScore?: number;
567
- length: StringIndexOutput;
568
- offset: StringIndexOutput;
569
- text?: string;
570
- }
571
-
572
- // @public
573
- export interface PhiTaggerResultOutput {
574
- entities: Array<PhiEntityOutput>;
575
- etag?: string;
576
- path?: string;
577
- }
578
-
579
- // @public (undocumented)
580
- export interface Routes {
581
- (path: "/jobs/{name}", name: string): GetJob;
582
- (path: "/jobs"): ListJobs;
583
- (path: "/jobs/{name}/documents", name: string): ListJobDocuments;
584
- (path: "/jobs/{name}:cancel", name: string): CancelJob;
585
- (path: "/deid"): Deidentify;
586
- }
587
-
588
- // @public
589
- export interface SimplePollerLike<TState extends OperationState<TResult>, TResult> {
590
- getOperationState(): TState;
591
- getResult(): TResult | undefined;
592
- isDone(): boolean;
593
- // @deprecated
594
- isStopped(): boolean;
595
- onProgress(callback: (state: TState) => void): CancelOnProgress;
596
- poll(options?: {
597
- abortSignal?: AbortSignalLike;
598
- }): Promise<TState>;
599
- pollUntilDone(pollOptions?: {
600
- abortSignal?: AbortSignalLike;
601
- }): Promise<TResult>;
602
- serialize(): Promise<string>;
603
- // @deprecated
604
- stopPolling(): void;
605
- submitted(): Promise<void>;
606
- // @deprecated
607
- toString(): string;
608
- }
609
-
610
- // @public
611
- export interface SourceStorageLocation {
612
- extensions?: string[];
613
- location: string;
614
- prefix: string;
615
- }
616
-
617
- // @public
618
- export interface SourceStorageLocationOutput {
619
- extensions?: string[];
620
- location: string;
621
- prefix: string;
622
- }
623
-
624
- // @public
625
- export interface StringIndexOutput {
626
- codePoint: number;
627
- utf16: number;
628
- utf8: number;
629
- }
630
-
631
- // @public
632
- export interface TargetStorageLocation {
633
- location: string;
634
- prefix: string;
635
- }
636
-
637
- // @public
638
- export interface TargetStorageLocationOutput {
639
- location: string;
640
- prefix: string;
641
- }
642
-
643
- // (No @packageDocumentation comment for this package)
644
-
645
- ```