@azure-rest/health-deidentification 1.0.0-alpha.20250619.1 → 1.0.0-alpha.20250702.3

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 (114) hide show
  1. package/README.md +146 -26
  2. package/dist/browser/clientDefinitions.d.ts +6 -6
  3. package/dist/browser/clientDefinitions.d.ts.map +1 -1
  4. package/dist/browser/clientDefinitions.js.map +1 -1
  5. package/dist/browser/deidentificationClient.d.ts.map +1 -1
  6. package/dist/browser/deidentificationClient.js +2 -2
  7. package/dist/browser/deidentificationClient.js.map +1 -1
  8. package/dist/browser/isUnexpected.d.ts +3 -3
  9. package/dist/browser/isUnexpected.d.ts.map +1 -1
  10. package/dist/browser/isUnexpected.js.map +1 -1
  11. package/dist/browser/models.d.ts +45 -28
  12. package/dist/browser/models.d.ts.map +1 -1
  13. package/dist/browser/models.js.map +1 -1
  14. package/dist/browser/outputModels.d.ts +55 -39
  15. package/dist/browser/outputModels.d.ts.map +1 -1
  16. package/dist/browser/outputModels.js.map +1 -1
  17. package/dist/browser/paginateHelper.d.ts +27 -2
  18. package/dist/browser/paginateHelper.d.ts.map +1 -1
  19. package/dist/browser/paginateHelper.js +98 -1
  20. package/dist/browser/paginateHelper.js.map +1 -1
  21. package/dist/browser/parameters.d.ts +14 -7
  22. package/dist/browser/parameters.d.ts.map +1 -1
  23. package/dist/browser/parameters.js.map +1 -1
  24. package/dist/browser/pollingHelper.d.ts +2 -2
  25. package/dist/browser/pollingHelper.d.ts.map +1 -1
  26. package/dist/browser/pollingHelper.js.map +1 -1
  27. package/dist/browser/responses.d.ts +22 -17
  28. package/dist/browser/responses.d.ts.map +1 -1
  29. package/dist/browser/responses.js.map +1 -1
  30. package/dist/commonjs/clientDefinitions.d.ts +6 -6
  31. package/dist/commonjs/clientDefinitions.d.ts.map +1 -1
  32. package/dist/commonjs/clientDefinitions.js.map +1 -1
  33. package/dist/commonjs/deidentificationClient.d.ts.map +1 -1
  34. package/dist/commonjs/deidentificationClient.js +2 -2
  35. package/dist/commonjs/deidentificationClient.js.map +1 -1
  36. package/dist/commonjs/isUnexpected.d.ts +3 -3
  37. package/dist/commonjs/isUnexpected.d.ts.map +1 -1
  38. package/dist/commonjs/isUnexpected.js.map +1 -1
  39. package/dist/commonjs/models.d.ts +45 -28
  40. package/dist/commonjs/models.d.ts.map +1 -1
  41. package/dist/commonjs/models.js.map +1 -1
  42. package/dist/commonjs/outputModels.d.ts +55 -39
  43. package/dist/commonjs/outputModels.d.ts.map +1 -1
  44. package/dist/commonjs/outputModels.js.map +1 -1
  45. package/dist/commonjs/paginateHelper.d.ts +27 -2
  46. package/dist/commonjs/paginateHelper.d.ts.map +1 -1
  47. package/dist/commonjs/paginateHelper.js +99 -2
  48. package/dist/commonjs/paginateHelper.js.map +1 -1
  49. package/dist/commonjs/parameters.d.ts +14 -7
  50. package/dist/commonjs/parameters.d.ts.map +1 -1
  51. package/dist/commonjs/parameters.js.map +1 -1
  52. package/dist/commonjs/pollingHelper.d.ts +2 -2
  53. package/dist/commonjs/pollingHelper.d.ts.map +1 -1
  54. package/dist/commonjs/pollingHelper.js.map +1 -1
  55. package/dist/commonjs/responses.d.ts +22 -17
  56. package/dist/commonjs/responses.d.ts.map +1 -1
  57. package/dist/commonjs/responses.js.map +1 -1
  58. package/dist/esm/clientDefinitions.d.ts +6 -6
  59. package/dist/esm/clientDefinitions.d.ts.map +1 -1
  60. package/dist/esm/clientDefinitions.js.map +1 -1
  61. package/dist/esm/deidentificationClient.d.ts.map +1 -1
  62. package/dist/esm/deidentificationClient.js +2 -2
  63. package/dist/esm/deidentificationClient.js.map +1 -1
  64. package/dist/esm/isUnexpected.d.ts +3 -3
  65. package/dist/esm/isUnexpected.d.ts.map +1 -1
  66. package/dist/esm/isUnexpected.js.map +1 -1
  67. package/dist/esm/models.d.ts +45 -28
  68. package/dist/esm/models.d.ts.map +1 -1
  69. package/dist/esm/models.js.map +1 -1
  70. package/dist/esm/outputModels.d.ts +55 -39
  71. package/dist/esm/outputModels.d.ts.map +1 -1
  72. package/dist/esm/outputModels.js.map +1 -1
  73. package/dist/esm/paginateHelper.d.ts +27 -2
  74. package/dist/esm/paginateHelper.d.ts.map +1 -1
  75. package/dist/esm/paginateHelper.js +98 -1
  76. package/dist/esm/paginateHelper.js.map +1 -1
  77. package/dist/esm/parameters.d.ts +14 -7
  78. package/dist/esm/parameters.d.ts.map +1 -1
  79. package/dist/esm/parameters.js.map +1 -1
  80. package/dist/esm/pollingHelper.d.ts +2 -2
  81. package/dist/esm/pollingHelper.d.ts.map +1 -1
  82. package/dist/esm/pollingHelper.js.map +1 -1
  83. package/dist/esm/responses.d.ts +22 -17
  84. package/dist/esm/responses.d.ts.map +1 -1
  85. package/dist/esm/responses.js.map +1 -1
  86. package/dist/react-native/clientDefinitions.d.ts +6 -6
  87. package/dist/react-native/clientDefinitions.d.ts.map +1 -1
  88. package/dist/react-native/clientDefinitions.js.map +1 -1
  89. package/dist/react-native/deidentificationClient.d.ts.map +1 -1
  90. package/dist/react-native/deidentificationClient.js +2 -2
  91. package/dist/react-native/deidentificationClient.js.map +1 -1
  92. package/dist/react-native/isUnexpected.d.ts +3 -3
  93. package/dist/react-native/isUnexpected.d.ts.map +1 -1
  94. package/dist/react-native/isUnexpected.js.map +1 -1
  95. package/dist/react-native/models.d.ts +45 -28
  96. package/dist/react-native/models.d.ts.map +1 -1
  97. package/dist/react-native/models.js.map +1 -1
  98. package/dist/react-native/outputModels.d.ts +55 -39
  99. package/dist/react-native/outputModels.d.ts.map +1 -1
  100. package/dist/react-native/outputModels.js.map +1 -1
  101. package/dist/react-native/paginateHelper.d.ts +27 -2
  102. package/dist/react-native/paginateHelper.d.ts.map +1 -1
  103. package/dist/react-native/paginateHelper.js +98 -1
  104. package/dist/react-native/paginateHelper.js.map +1 -1
  105. package/dist/react-native/parameters.d.ts +14 -7
  106. package/dist/react-native/parameters.d.ts.map +1 -1
  107. package/dist/react-native/parameters.js.map +1 -1
  108. package/dist/react-native/pollingHelper.d.ts +2 -2
  109. package/dist/react-native/pollingHelper.d.ts.map +1 -1
  110. package/dist/react-native/pollingHelper.js.map +1 -1
  111. package/dist/react-native/responses.d.ts +22 -17
  112. package/dist/react-native/responses.d.ts.map +1 -1
  113. package/dist/react-native/responses.js.map +1 -1
  114. package/package.json +15 -8
@@ -1,6 +1,6 @@
1
1
  import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
2
2
  import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
3
- import type { DeidentificationJobOutput, PagedDeidentificationJobOutput, PagedDocumentDetailsOutput, DeidentificationResultOutput } from "./outputModels.js";
3
+ import type { DeidentificationJobOutput, PagedDeidentificationJobOutput, PagedDeidentificationDocumentDetailsOutput, DeidentificationResultOutput } from "./outputModels.js";
4
4
  export interface GetJob200Headers {
5
5
  /** An opaque, globally-unique, client-generated string identifier for the request. */
6
6
  "x-ms-client-request-id"?: string;
@@ -20,41 +20,41 @@ export interface GetJobDefaultResponse extends HttpResponse {
20
20
  body: ErrorResponse;
21
21
  headers: RawHttpHeaders & GetJobDefaultHeaders;
22
22
  }
23
- export interface CreateJob200Headers {
23
+ export interface DeidentifyDocuments200Headers {
24
24
  /** An opaque, globally-unique, client-generated string identifier for the request. */
25
25
  "x-ms-client-request-id"?: string;
26
26
  /** The location for monitoring the operation state. */
27
27
  "operation-location": string;
28
28
  }
29
29
  /** The request has succeeded. */
30
- export interface CreateJob200Response extends HttpResponse {
30
+ export interface DeidentifyDocuments200Response extends HttpResponse {
31
31
  status: "200";
32
32
  body: DeidentificationJobOutput;
33
- headers: RawHttpHeaders & CreateJob200Headers;
33
+ headers: RawHttpHeaders & DeidentifyDocuments200Headers;
34
34
  }
35
- export interface CreateJob201Headers {
35
+ export interface DeidentifyDocuments201Headers {
36
36
  /** An opaque, globally-unique, client-generated string identifier for the request. */
37
37
  "x-ms-client-request-id"?: string;
38
38
  /** The location for monitoring the operation state. */
39
39
  "operation-location": string;
40
40
  }
41
41
  /** The request has succeeded and a new resource has been created as a result. */
42
- export interface CreateJob201Response extends HttpResponse {
42
+ export interface DeidentifyDocuments201Response extends HttpResponse {
43
43
  status: "201";
44
44
  body: DeidentificationJobOutput;
45
- headers: RawHttpHeaders & CreateJob201Headers;
45
+ headers: RawHttpHeaders & DeidentifyDocuments201Headers;
46
46
  }
47
- export interface CreateJobDefaultHeaders {
47
+ export interface DeidentifyDocumentsDefaultHeaders {
48
48
  /** String error code indicating what went wrong. */
49
49
  "x-ms-error-code"?: string;
50
50
  }
51
- export interface CreateJobDefaultResponse extends HttpResponse {
51
+ export interface DeidentifyDocumentsDefaultResponse extends HttpResponse {
52
52
  status: string;
53
53
  body: ErrorResponse;
54
- headers: RawHttpHeaders & CreateJobDefaultHeaders;
54
+ headers: RawHttpHeaders & DeidentifyDocumentsDefaultHeaders;
55
55
  }
56
- /** The final response for long-running createJob operation */
57
- export interface CreateJobLogicalResponse extends HttpResponse {
56
+ /** The final response for long-running deidentifyDocuments operation */
57
+ export interface DeidentifyDocumentsLogicalResponse extends HttpResponse {
58
58
  status: "200";
59
59
  body: DeidentificationJobOutput;
60
60
  }
@@ -84,7 +84,7 @@ export interface ListJobDocuments200Headers {
84
84
  /** The request has succeeded. */
85
85
  export interface ListJobDocuments200Response extends HttpResponse {
86
86
  status: "200";
87
- body: PagedDocumentDetailsOutput;
87
+ body: PagedDeidentificationDocumentDetailsOutput;
88
88
  headers: RawHttpHeaders & ListJobDocuments200Headers;
89
89
  }
90
90
  export interface ListJobDocumentsDefaultHeaders {
@@ -133,18 +133,23 @@ export interface DeleteJobDefaultResponse extends HttpResponse {
133
133
  body: ErrorResponse;
134
134
  headers: RawHttpHeaders & DeleteJobDefaultHeaders;
135
135
  }
136
+ export interface DeidentifyText200Headers {
137
+ /** An opaque, globally-unique, client-generated string identifier for the request. */
138
+ "x-ms-client-request-id"?: string;
139
+ }
136
140
  /** The request has succeeded. */
137
- export interface Deidentify200Response extends HttpResponse {
141
+ export interface DeidentifyText200Response extends HttpResponse {
138
142
  status: "200";
139
143
  body: DeidentificationResultOutput;
144
+ headers: RawHttpHeaders & DeidentifyText200Headers;
140
145
  }
141
- export interface DeidentifyDefaultHeaders {
146
+ export interface DeidentifyTextDefaultHeaders {
142
147
  /** String error code indicating what went wrong. */
143
148
  "x-ms-error-code"?: string;
144
149
  }
145
- export interface DeidentifyDefaultResponse extends HttpResponse {
150
+ export interface DeidentifyTextDefaultResponse extends HttpResponse {
146
151
  status: string;
147
152
  body: ErrorResponse;
148
- headers: RawHttpHeaders & DeidentifyDefaultHeaders;
153
+ headers: RawHttpHeaders & DeidentifyTextDefaultHeaders;
149
154
  }
150
155
  //# sourceMappingURL=responses.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"responses.d.ts","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC;AAC3E,OAAO,KAAK,EACV,yBAAyB,EACzB,8BAA8B,EAC9B,0BAA0B,EAC1B,4BAA4B,EAC7B,MAAM,mBAAmB,CAAC;AAE3B,MAAM,WAAW,gBAAgB;IAC/B,sFAAsF;IACtF,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,iCAAiC;AACjC,MAAM,WAAW,iBAAkB,SAAQ,YAAY;IACrD,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,yBAAyB,CAAC;IAChC,OAAO,EAAE,cAAc,GAAG,gBAAgB,CAAC;CAC5C;AAED,MAAM,WAAW,oBAAoB;IACnC,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,qBAAsB,SAAQ,YAAY;IACzD,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,oBAAoB,CAAC;CAChD;AA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oot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n DeidentificationJobOutput,\n PagedDeidentificationJobOutput,\n PagedDocumentDetailsOutput,\n DeidentificationResultOutput,\n} from \"./outputModels.js\";\n\nexport interface GetJob200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetJob200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & GetJob200Headers;\n}\n\nexport interface GetJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetJobDefaultHeaders;\n}\n\nexport interface CreateJob200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n /** The location for monitoring the operation state. */\n \"operation-location\": string;\n}\n\n/** The request has succeeded. */\nexport interface CreateJob200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & CreateJob200Headers;\n}\n\nexport interface CreateJob201Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n /** The location for monitoring the operation state. */\n \"operation-location\": string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface CreateJob201Response extends HttpResponse {\n status: \"201\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & CreateJob201Headers;\n}\n\nexport interface CreateJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateJobDefaultHeaders;\n}\n\n/** The final response for long-running createJob operation */\nexport interface CreateJobLogicalResponse extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n}\n\nexport interface ListJobs200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListJobs200Response extends HttpResponse {\n status: \"200\";\n body: PagedDeidentificationJobOutput;\n headers: RawHttpHeaders & ListJobs200Headers;\n}\n\nexport interface ListJobsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListJobsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListJobsDefaultHeaders;\n}\n\nexport interface ListJobDocuments200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListJobDocuments200Response extends HttpResponse {\n status: \"200\";\n body: PagedDocumentDetailsOutput;\n headers: RawHttpHeaders & ListJobDocuments200Headers;\n}\n\nexport interface ListJobDocumentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListJobDocumentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListJobDocumentsDefaultHeaders;\n}\n\nexport interface CancelJob200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface CancelJob200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & CancelJob200Headers;\n}\n\nexport interface CancelJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelJobDefaultHeaders;\n}\n\nexport interface DeleteJob204Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteJob204Response extends HttpResponse {\n status: \"204\";\n headers: RawHttpHeaders & DeleteJob204Headers;\n}\n\nexport interface DeleteJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteJobDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface Deidentify200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationResultOutput;\n}\n\nexport interface DeidentifyDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeidentifyDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeidentifyDefaultHeaders;\n}\n"]}
1
+ {"version":3,"file":"responses.js","sourceRoot":"","sources":["../../src/responses.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC","sourcesContent":["// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT License.\n\nimport type { RawHttpHeaders } from \"@azure/core-rest-pipeline\";\nimport type { HttpResponse, ErrorResponse } from \"@azure-rest/core-client\";\nimport type {\n DeidentificationJobOutput,\n PagedDeidentificationJobOutput,\n PagedDeidentificationDocumentDetailsOutput,\n DeidentificationResultOutput,\n} from \"./outputModels.js\";\n\nexport interface GetJob200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface GetJob200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & GetJob200Headers;\n}\n\nexport interface GetJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetJobDefaultHeaders;\n}\n\nexport interface DeidentifyDocuments200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n /** The location for monitoring the operation state. */\n \"operation-location\": string;\n}\n\n/** The request has succeeded. */\nexport interface DeidentifyDocuments200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & DeidentifyDocuments200Headers;\n}\n\nexport interface DeidentifyDocuments201Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n /** The location for monitoring the operation state. */\n \"operation-location\": string;\n}\n\n/** The request has succeeded and a new resource has been created as a result. */\nexport interface DeidentifyDocuments201Response extends HttpResponse {\n status: \"201\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & DeidentifyDocuments201Headers;\n}\n\nexport interface DeidentifyDocumentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeidentifyDocumentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeidentifyDocumentsDefaultHeaders;\n}\n\n/** The final response for long-running deidentifyDocuments operation */\nexport interface DeidentifyDocumentsLogicalResponse extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n}\n\nexport interface ListJobs200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListJobs200Response extends HttpResponse {\n status: \"200\";\n body: PagedDeidentificationJobOutput;\n headers: RawHttpHeaders & ListJobs200Headers;\n}\n\nexport interface ListJobsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListJobsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListJobsDefaultHeaders;\n}\n\nexport interface ListJobDocuments200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface ListJobDocuments200Response extends HttpResponse {\n status: \"200\";\n body: PagedDeidentificationDocumentDetailsOutput;\n headers: RawHttpHeaders & ListJobDocuments200Headers;\n}\n\nexport interface ListJobDocumentsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListJobDocumentsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListJobDocumentsDefaultHeaders;\n}\n\nexport interface CancelJob200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface CancelJob200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationJobOutput;\n headers: RawHttpHeaders & CancelJob200Headers;\n}\n\nexport interface CancelJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelJobDefaultHeaders;\n}\n\nexport interface DeleteJob204Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteJob204Response extends HttpResponse {\n status: \"204\";\n headers: RawHttpHeaders & DeleteJob204Headers;\n}\n\nexport interface DeleteJobDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteJobDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteJobDefaultHeaders;\n}\n\nexport interface DeidentifyText200Headers {\n /** An opaque, globally-unique, client-generated string identifier for the request. */\n \"x-ms-client-request-id\"?: string;\n}\n\n/** The request has succeeded. */\nexport interface DeidentifyText200Response extends HttpResponse {\n status: \"200\";\n body: DeidentificationResultOutput;\n headers: RawHttpHeaders & DeidentifyText200Headers;\n}\n\nexport interface DeidentifyTextDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeidentifyTextDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeidentifyTextDefaultHeaders;\n}\n"]}
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@azure-rest/health-deidentification",
3
- "version": "1.0.0-alpha.20250619.1",
4
- "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthdataaiservices/azure-health-deidentification",
5
- "description": "Health Deidentification Service",
3
+ "version": "1.0.0-alpha.20250702.3",
4
+ "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/healthdataaiservices/health-deidentification-rest",
5
+ "description": "Azure Health Data Services de-identification service",
6
6
  "engines": {
7
7
  "node": ">=20.0.0"
8
8
  },
@@ -95,19 +95,26 @@
95
95
  "scripts": {
96
96
  "build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
97
97
  "build:samples": "echo Obsolete.",
98
+ "build:test": "npm run clean && dev-tool run build-package && dev-tool run build-test",
98
99
  "check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\" \"samples-dev/**/*.ts\"",
99
100
  "clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
100
101
  "execute:samples": "dev-tool samples run samples-dev",
101
102
  "extract-api": "dev-tool run build-package && dev-tool run extract-api",
102
103
  "format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\" \"samples-dev/**/*.ts\"",
103
104
  "generate:client": "autorest --typescript ./swagger/README.md",
104
- "lint": "eslint package.json src test",
105
- "lint:fix": "eslint package.json src test --fix --fix-type [problem,suggestion]",
105
+ "integration-test": "npm run integration-test:node && npm run integration-test:browser",
106
+ "integration-test:browser": "dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
107
+ "integration-test:node": "dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest",
108
+ "lint": "eslint package.json api-extractor.json src test",
109
+ "lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
106
110
  "pack": "npm pack 2>&1",
107
- "test": "npm run test:node && npm run test:browser",
108
- "test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
109
- "test:node": "dev-tool run test:vitest",
111
+ "test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser",
112
+ "test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
113
+ "test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node",
110
114
  "test:node:esm": "dev-tool run test:vitest --esm",
115
+ "unit-test": "npm run unit-test:node && npm run unit-test:browser",
116
+ "unit-test:browser": "npm run integration-test:browser",
117
+ "unit-test:node": "npm run integration-test:node",
111
118
  "update-snippets": "dev-tool run update-snippets"
112
119
  },
113
120
  "exports": {