@azure-rest/defender-easm 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 +21 -0
- package/README.md +5 -9
- package/dist/browser/clientDefinitions.d.ts +141 -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/easmClient.d.ts +16 -0
- package/dist/browser/easmClient.d.ts.map +1 -0
- package/dist/browser/easmClient.js +43 -0
- package/dist/browser/easmClient.js.map +1 -0
- package/dist/browser/index.d.ts +11 -0
- package/dist/browser/index.d.ts.map +1 -0
- package/dist/browser/index.js +13 -0
- package/dist/browser/index.js.map +1 -0
- package/dist/browser/isUnexpected.d.ts +28 -0
- package/dist/browser/isUnexpected.d.ts.map +1 -0
- package/{dist-esm/src → dist/browser}/isUnexpected.js +1 -1
- 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-esm/src → dist/browser}/logger.js +1 -1
- package/{dist-esm/src → dist/browser}/logger.js.map +1 -1
- package/dist/browser/models.d.ts +144 -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 +1046 -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 +141 -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/responses.d.ts +365 -0
- 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 +141 -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/easmClient.d.ts +16 -0
- package/dist/commonjs/easmClient.d.ts.map +1 -0
- package/dist/commonjs/easmClient.js +46 -0
- package/dist/commonjs/easmClient.js.map +1 -0
- package/dist/commonjs/index.d.ts +11 -0
- package/dist/commonjs/index.d.ts.map +1 -0
- package/dist/commonjs/index.js +16 -0
- package/dist/commonjs/index.js.map +1 -0
- package/dist/commonjs/isUnexpected.d.ts +28 -0
- package/dist/commonjs/isUnexpected.d.ts.map +1 -0
- package/dist/commonjs/isUnexpected.js +98 -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 +144 -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 +1046 -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 +141 -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/responses.d.ts +365 -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 +141 -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/easmClient.d.ts +16 -0
- package/dist/esm/easmClient.d.ts.map +1 -0
- package/dist/esm/easmClient.js +43 -0
- package/dist/esm/easmClient.js.map +1 -0
- package/dist/esm/index.d.ts +11 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +13 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/isUnexpected.d.ts +28 -0
- package/dist/esm/isUnexpected.d.ts.map +1 -0
- package/dist/esm/isUnexpected.js +95 -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 +144 -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 +1046 -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 +141 -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/responses.d.ts +365 -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 +141 -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/easmClient.d.ts +16 -0
- package/dist/react-native/easmClient.d.ts.map +1 -0
- package/dist/react-native/easmClient.js +43 -0
- package/dist/react-native/easmClient.js.map +1 -0
- package/dist/react-native/index.d.ts +11 -0
- package/dist/react-native/index.d.ts.map +1 -0
- package/dist/react-native/index.js +13 -0
- package/dist/react-native/index.js.map +1 -0
- package/dist/react-native/isUnexpected.d.ts +28 -0
- package/dist/react-native/isUnexpected.d.ts.map +1 -0
- package/dist/react-native/isUnexpected.js +95 -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 +144 -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 +1046 -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 +141 -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/responses.d.ts +365 -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 +106 -97
- package/dist/index.js +0 -213
- package/dist/index.js.map +0 -1
- package/dist-esm/src/clientDefinitions.js +0 -4
- package/dist-esm/src/clientDefinitions.js.map +0 -1
- package/dist-esm/src/easm.js +0 -33
- package/dist-esm/src/easm.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/isUnexpected.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/outputModels.js +0 -4
- package/dist-esm/src/outputModels.js.map +0 -1
- package/dist-esm/src/paginateHelper.js +0 -70
- package/dist-esm/src/paginateHelper.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
- package/review/defender-easm.api.md +0 -2619
- package/types/defender-easm.d.ts +0 -2105
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
import type { RawHttpHeaders } from "@azure/core-rest-pipeline";
|
|
2
|
+
import type { HttpResponse, ErrorResponse } from "@azure-rest/core-client";
|
|
3
|
+
import type { PagedAssetResourceOutput, TaskOutput, AssetResourceOutput, PagedDataConnectionOutput, ValidateResultOutput, DataConnectionOutput, PagedDiscoGroupOutput, DiscoGroupOutput, DiscoRunPageResultOutput, PagedDiscoTemplateOutput, DiscoTemplateOutput, ReportBillableAssetSummaryResultOutput, ReportAssetSnapshotResultOutput, ReportAssetSummaryResultOutput, PagedSavedFilterOutput, SavedFilterOutput, PagedTaskOutput } from "./outputModels.js";
|
|
4
|
+
/** The request has succeeded. */
|
|
5
|
+
export interface ListAssetResource200Response extends HttpResponse {
|
|
6
|
+
status: "200";
|
|
7
|
+
body: PagedAssetResourceOutput;
|
|
8
|
+
}
|
|
9
|
+
export interface ListAssetResourceDefaultHeaders {
|
|
10
|
+
/** String error code indicating what went wrong. */
|
|
11
|
+
"x-ms-error-code"?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ListAssetResourceDefaultResponse extends HttpResponse {
|
|
14
|
+
status: string;
|
|
15
|
+
body: ErrorResponse;
|
|
16
|
+
headers: RawHttpHeaders & ListAssetResourceDefaultHeaders;
|
|
17
|
+
}
|
|
18
|
+
/** The request has succeeded. */
|
|
19
|
+
export interface UpdateAssets200Response extends HttpResponse {
|
|
20
|
+
status: "200";
|
|
21
|
+
body: TaskOutput;
|
|
22
|
+
}
|
|
23
|
+
export interface UpdateAssetsDefaultHeaders {
|
|
24
|
+
/** String error code indicating what went wrong. */
|
|
25
|
+
"x-ms-error-code"?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface UpdateAssetsDefaultResponse extends HttpResponse {
|
|
28
|
+
status: string;
|
|
29
|
+
body: ErrorResponse;
|
|
30
|
+
headers: RawHttpHeaders & UpdateAssetsDefaultHeaders;
|
|
31
|
+
}
|
|
32
|
+
/** The request has succeeded. */
|
|
33
|
+
export interface GetAssetResource200Response extends HttpResponse {
|
|
34
|
+
status: "200";
|
|
35
|
+
body: AssetResourceOutput;
|
|
36
|
+
}
|
|
37
|
+
export interface GetAssetResourceDefaultHeaders {
|
|
38
|
+
/** String error code indicating what went wrong. */
|
|
39
|
+
"x-ms-error-code"?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface GetAssetResourceDefaultResponse extends HttpResponse {
|
|
42
|
+
status: string;
|
|
43
|
+
body: ErrorResponse;
|
|
44
|
+
headers: RawHttpHeaders & GetAssetResourceDefaultHeaders;
|
|
45
|
+
}
|
|
46
|
+
/** The request has succeeded. */
|
|
47
|
+
export interface ListDataConnection200Response extends HttpResponse {
|
|
48
|
+
status: "200";
|
|
49
|
+
body: PagedDataConnectionOutput;
|
|
50
|
+
}
|
|
51
|
+
export interface ListDataConnectionDefaultHeaders {
|
|
52
|
+
/** String error code indicating what went wrong. */
|
|
53
|
+
"x-ms-error-code"?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface ListDataConnectionDefaultResponse extends HttpResponse {
|
|
56
|
+
status: string;
|
|
57
|
+
body: ErrorResponse;
|
|
58
|
+
headers: RawHttpHeaders & ListDataConnectionDefaultHeaders;
|
|
59
|
+
}
|
|
60
|
+
/** The request has succeeded. */
|
|
61
|
+
export interface ValidateDataConnection200Response extends HttpResponse {
|
|
62
|
+
status: "200";
|
|
63
|
+
body: ValidateResultOutput;
|
|
64
|
+
}
|
|
65
|
+
export interface ValidateDataConnectionDefaultHeaders {
|
|
66
|
+
/** String error code indicating what went wrong. */
|
|
67
|
+
"x-ms-error-code"?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface ValidateDataConnectionDefaultResponse extends HttpResponse {
|
|
70
|
+
status: string;
|
|
71
|
+
body: ErrorResponse;
|
|
72
|
+
headers: RawHttpHeaders & ValidateDataConnectionDefaultHeaders;
|
|
73
|
+
}
|
|
74
|
+
/** The request has succeeded. */
|
|
75
|
+
export interface GetDataConnection200Response extends HttpResponse {
|
|
76
|
+
status: "200";
|
|
77
|
+
body: DataConnectionOutput;
|
|
78
|
+
}
|
|
79
|
+
export interface GetDataConnectionDefaultHeaders {
|
|
80
|
+
/** String error code indicating what went wrong. */
|
|
81
|
+
"x-ms-error-code"?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface GetDataConnectionDefaultResponse extends HttpResponse {
|
|
84
|
+
status: string;
|
|
85
|
+
body: ErrorResponse;
|
|
86
|
+
headers: RawHttpHeaders & GetDataConnectionDefaultHeaders;
|
|
87
|
+
}
|
|
88
|
+
/** The request has succeeded. */
|
|
89
|
+
export interface CreateOrReplaceDataConnection200Response extends HttpResponse {
|
|
90
|
+
status: "200";
|
|
91
|
+
body: DataConnectionOutput;
|
|
92
|
+
}
|
|
93
|
+
export interface CreateOrReplaceDataConnectionDefaultHeaders {
|
|
94
|
+
/** String error code indicating what went wrong. */
|
|
95
|
+
"x-ms-error-code"?: string;
|
|
96
|
+
}
|
|
97
|
+
export interface CreateOrReplaceDataConnectionDefaultResponse extends HttpResponse {
|
|
98
|
+
status: string;
|
|
99
|
+
body: ErrorResponse;
|
|
100
|
+
headers: RawHttpHeaders & CreateOrReplaceDataConnectionDefaultHeaders;
|
|
101
|
+
}
|
|
102
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
103
|
+
export interface DeleteDataConnection204Response extends HttpResponse {
|
|
104
|
+
status: "204";
|
|
105
|
+
}
|
|
106
|
+
export interface DeleteDataConnectionDefaultHeaders {
|
|
107
|
+
/** String error code indicating what went wrong. */
|
|
108
|
+
"x-ms-error-code"?: string;
|
|
109
|
+
}
|
|
110
|
+
export interface DeleteDataConnectionDefaultResponse extends HttpResponse {
|
|
111
|
+
status: string;
|
|
112
|
+
body: ErrorResponse;
|
|
113
|
+
headers: RawHttpHeaders & DeleteDataConnectionDefaultHeaders;
|
|
114
|
+
}
|
|
115
|
+
/** The request has succeeded. */
|
|
116
|
+
export interface ListDiscoGroup200Response extends HttpResponse {
|
|
117
|
+
status: "200";
|
|
118
|
+
body: PagedDiscoGroupOutput;
|
|
119
|
+
}
|
|
120
|
+
export interface ListDiscoGroupDefaultHeaders {
|
|
121
|
+
/** String error code indicating what went wrong. */
|
|
122
|
+
"x-ms-error-code"?: string;
|
|
123
|
+
}
|
|
124
|
+
export interface ListDiscoGroupDefaultResponse extends HttpResponse {
|
|
125
|
+
status: string;
|
|
126
|
+
body: ErrorResponse;
|
|
127
|
+
headers: RawHttpHeaders & ListDiscoGroupDefaultHeaders;
|
|
128
|
+
}
|
|
129
|
+
/** The request has succeeded. */
|
|
130
|
+
export interface ValidateDiscoGroup200Response extends HttpResponse {
|
|
131
|
+
status: "200";
|
|
132
|
+
body: ValidateResultOutput;
|
|
133
|
+
}
|
|
134
|
+
export interface ValidateDiscoGroupDefaultHeaders {
|
|
135
|
+
/** String error code indicating what went wrong. */
|
|
136
|
+
"x-ms-error-code"?: string;
|
|
137
|
+
}
|
|
138
|
+
export interface ValidateDiscoGroupDefaultResponse extends HttpResponse {
|
|
139
|
+
status: string;
|
|
140
|
+
body: ErrorResponse;
|
|
141
|
+
headers: RawHttpHeaders & ValidateDiscoGroupDefaultHeaders;
|
|
142
|
+
}
|
|
143
|
+
/** The request has succeeded. */
|
|
144
|
+
export interface GetDiscoGroup200Response extends HttpResponse {
|
|
145
|
+
status: "200";
|
|
146
|
+
body: DiscoGroupOutput;
|
|
147
|
+
}
|
|
148
|
+
export interface GetDiscoGroupDefaultHeaders {
|
|
149
|
+
/** String error code indicating what went wrong. */
|
|
150
|
+
"x-ms-error-code"?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface GetDiscoGroupDefaultResponse extends HttpResponse {
|
|
153
|
+
status: string;
|
|
154
|
+
body: ErrorResponse;
|
|
155
|
+
headers: RawHttpHeaders & GetDiscoGroupDefaultHeaders;
|
|
156
|
+
}
|
|
157
|
+
/** The request has succeeded. */
|
|
158
|
+
export interface CreateOrReplaceDiscoGroup200Response extends HttpResponse {
|
|
159
|
+
status: "200";
|
|
160
|
+
body: DiscoGroupOutput;
|
|
161
|
+
}
|
|
162
|
+
export interface CreateOrReplaceDiscoGroupDefaultHeaders {
|
|
163
|
+
/** String error code indicating what went wrong. */
|
|
164
|
+
"x-ms-error-code"?: string;
|
|
165
|
+
}
|
|
166
|
+
export interface CreateOrReplaceDiscoGroupDefaultResponse extends HttpResponse {
|
|
167
|
+
status: string;
|
|
168
|
+
body: ErrorResponse;
|
|
169
|
+
headers: RawHttpHeaders & CreateOrReplaceDiscoGroupDefaultHeaders;
|
|
170
|
+
}
|
|
171
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
172
|
+
export interface RunDiscoGroup204Response extends HttpResponse {
|
|
173
|
+
status: "204";
|
|
174
|
+
}
|
|
175
|
+
export interface RunDiscoGroupDefaultHeaders {
|
|
176
|
+
/** String error code indicating what went wrong. */
|
|
177
|
+
"x-ms-error-code"?: string;
|
|
178
|
+
}
|
|
179
|
+
export interface RunDiscoGroupDefaultResponse extends HttpResponse {
|
|
180
|
+
status: string;
|
|
181
|
+
body: ErrorResponse;
|
|
182
|
+
headers: RawHttpHeaders & RunDiscoGroupDefaultHeaders;
|
|
183
|
+
}
|
|
184
|
+
/** The request has succeeded. */
|
|
185
|
+
export interface ListRuns200Response extends HttpResponse {
|
|
186
|
+
status: "200";
|
|
187
|
+
body: DiscoRunPageResultOutput;
|
|
188
|
+
}
|
|
189
|
+
export interface ListRunsDefaultHeaders {
|
|
190
|
+
/** String error code indicating what went wrong. */
|
|
191
|
+
"x-ms-error-code"?: string;
|
|
192
|
+
}
|
|
193
|
+
export interface ListRunsDefaultResponse extends HttpResponse {
|
|
194
|
+
status: string;
|
|
195
|
+
body: ErrorResponse;
|
|
196
|
+
headers: RawHttpHeaders & ListRunsDefaultHeaders;
|
|
197
|
+
}
|
|
198
|
+
/** The request has succeeded. */
|
|
199
|
+
export interface ListDiscoTemplate200Response extends HttpResponse {
|
|
200
|
+
status: "200";
|
|
201
|
+
body: PagedDiscoTemplateOutput;
|
|
202
|
+
}
|
|
203
|
+
export interface ListDiscoTemplateDefaultHeaders {
|
|
204
|
+
/** String error code indicating what went wrong. */
|
|
205
|
+
"x-ms-error-code"?: string;
|
|
206
|
+
}
|
|
207
|
+
export interface ListDiscoTemplateDefaultResponse extends HttpResponse {
|
|
208
|
+
status: string;
|
|
209
|
+
body: ErrorResponse;
|
|
210
|
+
headers: RawHttpHeaders & ListDiscoTemplateDefaultHeaders;
|
|
211
|
+
}
|
|
212
|
+
/** The request has succeeded. */
|
|
213
|
+
export interface GetDiscoTemplate200Response extends HttpResponse {
|
|
214
|
+
status: "200";
|
|
215
|
+
body: DiscoTemplateOutput;
|
|
216
|
+
}
|
|
217
|
+
export interface GetDiscoTemplateDefaultHeaders {
|
|
218
|
+
/** String error code indicating what went wrong. */
|
|
219
|
+
"x-ms-error-code"?: string;
|
|
220
|
+
}
|
|
221
|
+
export interface GetDiscoTemplateDefaultResponse extends HttpResponse {
|
|
222
|
+
status: string;
|
|
223
|
+
body: ErrorResponse;
|
|
224
|
+
headers: RawHttpHeaders & GetDiscoTemplateDefaultHeaders;
|
|
225
|
+
}
|
|
226
|
+
/** The request has succeeded. */
|
|
227
|
+
export interface GetBillable200Response extends HttpResponse {
|
|
228
|
+
status: "200";
|
|
229
|
+
body: ReportBillableAssetSummaryResultOutput;
|
|
230
|
+
}
|
|
231
|
+
export interface GetBillableDefaultHeaders {
|
|
232
|
+
/** String error code indicating what went wrong. */
|
|
233
|
+
"x-ms-error-code"?: string;
|
|
234
|
+
}
|
|
235
|
+
export interface GetBillableDefaultResponse extends HttpResponse {
|
|
236
|
+
status: string;
|
|
237
|
+
body: ErrorResponse;
|
|
238
|
+
headers: RawHttpHeaders & GetBillableDefaultHeaders;
|
|
239
|
+
}
|
|
240
|
+
/** The request has succeeded. */
|
|
241
|
+
export interface GetSnapshot200Response extends HttpResponse {
|
|
242
|
+
status: "200";
|
|
243
|
+
body: ReportAssetSnapshotResultOutput;
|
|
244
|
+
}
|
|
245
|
+
export interface GetSnapshotDefaultHeaders {
|
|
246
|
+
/** String error code indicating what went wrong. */
|
|
247
|
+
"x-ms-error-code"?: string;
|
|
248
|
+
}
|
|
249
|
+
export interface GetSnapshotDefaultResponse extends HttpResponse {
|
|
250
|
+
status: string;
|
|
251
|
+
body: ErrorResponse;
|
|
252
|
+
headers: RawHttpHeaders & GetSnapshotDefaultHeaders;
|
|
253
|
+
}
|
|
254
|
+
/** The request has succeeded. */
|
|
255
|
+
export interface GetSummary200Response extends HttpResponse {
|
|
256
|
+
status: "200";
|
|
257
|
+
body: ReportAssetSummaryResultOutput;
|
|
258
|
+
}
|
|
259
|
+
export interface GetSummaryDefaultHeaders {
|
|
260
|
+
/** String error code indicating what went wrong. */
|
|
261
|
+
"x-ms-error-code"?: string;
|
|
262
|
+
}
|
|
263
|
+
export interface GetSummaryDefaultResponse extends HttpResponse {
|
|
264
|
+
status: string;
|
|
265
|
+
body: ErrorResponse;
|
|
266
|
+
headers: RawHttpHeaders & GetSummaryDefaultHeaders;
|
|
267
|
+
}
|
|
268
|
+
/** The request has succeeded. */
|
|
269
|
+
export interface ListSavedFilter200Response extends HttpResponse {
|
|
270
|
+
status: "200";
|
|
271
|
+
body: PagedSavedFilterOutput;
|
|
272
|
+
}
|
|
273
|
+
export interface ListSavedFilterDefaultHeaders {
|
|
274
|
+
/** String error code indicating what went wrong. */
|
|
275
|
+
"x-ms-error-code"?: string;
|
|
276
|
+
}
|
|
277
|
+
export interface ListSavedFilterDefaultResponse extends HttpResponse {
|
|
278
|
+
status: string;
|
|
279
|
+
body: ErrorResponse;
|
|
280
|
+
headers: RawHttpHeaders & ListSavedFilterDefaultHeaders;
|
|
281
|
+
}
|
|
282
|
+
/** The request has succeeded. */
|
|
283
|
+
export interface GetSavedFilter200Response extends HttpResponse {
|
|
284
|
+
status: "200";
|
|
285
|
+
body: SavedFilterOutput;
|
|
286
|
+
}
|
|
287
|
+
export interface GetSavedFilterDefaultHeaders {
|
|
288
|
+
/** String error code indicating what went wrong. */
|
|
289
|
+
"x-ms-error-code"?: string;
|
|
290
|
+
}
|
|
291
|
+
export interface GetSavedFilterDefaultResponse extends HttpResponse {
|
|
292
|
+
status: string;
|
|
293
|
+
body: ErrorResponse;
|
|
294
|
+
headers: RawHttpHeaders & GetSavedFilterDefaultHeaders;
|
|
295
|
+
}
|
|
296
|
+
/** The request has succeeded. */
|
|
297
|
+
export interface CreateOrReplaceSavedFilter200Response extends HttpResponse {
|
|
298
|
+
status: "200";
|
|
299
|
+
body: SavedFilterOutput;
|
|
300
|
+
}
|
|
301
|
+
export interface CreateOrReplaceSavedFilterDefaultHeaders {
|
|
302
|
+
/** String error code indicating what went wrong. */
|
|
303
|
+
"x-ms-error-code"?: string;
|
|
304
|
+
}
|
|
305
|
+
export interface CreateOrReplaceSavedFilterDefaultResponse extends HttpResponse {
|
|
306
|
+
status: string;
|
|
307
|
+
body: ErrorResponse;
|
|
308
|
+
headers: RawHttpHeaders & CreateOrReplaceSavedFilterDefaultHeaders;
|
|
309
|
+
}
|
|
310
|
+
/** There is no content to send for this request, but the headers may be useful. */
|
|
311
|
+
export interface DeleteSavedFilter204Response extends HttpResponse {
|
|
312
|
+
status: "204";
|
|
313
|
+
}
|
|
314
|
+
export interface DeleteSavedFilterDefaultHeaders {
|
|
315
|
+
/** String error code indicating what went wrong. */
|
|
316
|
+
"x-ms-error-code"?: string;
|
|
317
|
+
}
|
|
318
|
+
export interface DeleteSavedFilterDefaultResponse extends HttpResponse {
|
|
319
|
+
status: string;
|
|
320
|
+
body: ErrorResponse;
|
|
321
|
+
headers: RawHttpHeaders & DeleteSavedFilterDefaultHeaders;
|
|
322
|
+
}
|
|
323
|
+
/** The request has succeeded. */
|
|
324
|
+
export interface ListTask200Response extends HttpResponse {
|
|
325
|
+
status: "200";
|
|
326
|
+
body: PagedTaskOutput;
|
|
327
|
+
}
|
|
328
|
+
export interface ListTaskDefaultHeaders {
|
|
329
|
+
/** String error code indicating what went wrong. */
|
|
330
|
+
"x-ms-error-code"?: string;
|
|
331
|
+
}
|
|
332
|
+
export interface ListTaskDefaultResponse extends HttpResponse {
|
|
333
|
+
status: string;
|
|
334
|
+
body: ErrorResponse;
|
|
335
|
+
headers: RawHttpHeaders & ListTaskDefaultHeaders;
|
|
336
|
+
}
|
|
337
|
+
/** The request has succeeded. */
|
|
338
|
+
export interface GetTask200Response extends HttpResponse {
|
|
339
|
+
status: "200";
|
|
340
|
+
body: TaskOutput;
|
|
341
|
+
}
|
|
342
|
+
export interface GetTaskDefaultHeaders {
|
|
343
|
+
/** String error code indicating what went wrong. */
|
|
344
|
+
"x-ms-error-code"?: string;
|
|
345
|
+
}
|
|
346
|
+
export interface GetTaskDefaultResponse extends HttpResponse {
|
|
347
|
+
status: string;
|
|
348
|
+
body: ErrorResponse;
|
|
349
|
+
headers: RawHttpHeaders & GetTaskDefaultHeaders;
|
|
350
|
+
}
|
|
351
|
+
/** The request has succeeded. */
|
|
352
|
+
export interface CancelTask200Response extends HttpResponse {
|
|
353
|
+
status: "200";
|
|
354
|
+
body: TaskOutput;
|
|
355
|
+
}
|
|
356
|
+
export interface CancelTaskDefaultHeaders {
|
|
357
|
+
/** String error code indicating what went wrong. */
|
|
358
|
+
"x-ms-error-code"?: string;
|
|
359
|
+
}
|
|
360
|
+
export interface CancelTaskDefaultResponse extends HttpResponse {
|
|
361
|
+
status: string;
|
|
362
|
+
body: ErrorResponse;
|
|
363
|
+
headers: RawHttpHeaders & CancelTaskDefaultHeaders;
|
|
364
|
+
}
|
|
365
|
+
//# sourceMappingURL=responses.d.ts.map
|
|
@@ -0,0 +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,wBAAwB,EACxB,UAAU,EACV,mBAAmB,EACnB,yBAAyB,EACzB,oBAAoB,EACpB,oBAAoB,EACpB,qBAAqB,EACrB,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,mBAAmB,EACnB,sCAAsC,EACtC,+BAA+B,EAC/B,8BAA8B,EAC9B,sBAAsB,EACtB,iBAAiB,EACjB,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAE3B,iCAAiC;AACjC,MAAM,WAAW,4BAA6B,SAAQ,YAAY;IAChE,MAAM,EAAE,KAAK,CAAC;IACd,IAAI,EAAE,wBAAwB,CAAC;CAChC;AAED,MAAM,WAAW,+BAA+B;IAC9C,oDAAoD;IACpD,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,MAAM,WAAW,gCAAiC,SAAQ,YAAY;IACpE,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,+BAA+B,CAAC;CAC3D;AAED,iCAAiC;AACjC,MAAM,WAAW,uBAAwB,SAAQ,YAAY;IAC3D,MAAM,EAAE,KAAK,CAA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MAAM,CAAC;IACf,IAAI,EAAE,aAAa,CAAC;IACpB,OAAO,EAAE,cAAc,GAAG,wBAAwB,CAAC;CACpD"}
|
|
@@ -0,0 +1 @@
|
|
|
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 PagedAssetResourceOutput,\n TaskOutput,\n AssetResourceOutput,\n PagedDataConnectionOutput,\n ValidateResultOutput,\n DataConnectionOutput,\n PagedDiscoGroupOutput,\n DiscoGroupOutput,\n DiscoRunPageResultOutput,\n PagedDiscoTemplateOutput,\n DiscoTemplateOutput,\n ReportBillableAssetSummaryResultOutput,\n ReportAssetSnapshotResultOutput,\n ReportAssetSummaryResultOutput,\n PagedSavedFilterOutput,\n SavedFilterOutput,\n PagedTaskOutput,\n} from \"./outputModels.js\";\n\n/** The request has succeeded. */\nexport interface ListAssetResource200Response extends HttpResponse {\n status: \"200\";\n body: PagedAssetResourceOutput;\n}\n\nexport interface ListAssetResourceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListAssetResourceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListAssetResourceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface UpdateAssets200Response extends HttpResponse {\n status: \"200\";\n body: TaskOutput;\n}\n\nexport interface UpdateAssetsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface UpdateAssetsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & UpdateAssetsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetAssetResource200Response extends HttpResponse {\n status: \"200\";\n body: AssetResourceOutput;\n}\n\nexport interface GetAssetResourceDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetAssetResourceDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetAssetResourceDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: PagedDataConnectionOutput;\n}\n\nexport interface ListDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ValidateDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: ValidateResultOutput;\n}\n\nexport interface ValidateDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ValidateDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ValidateDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: DataConnectionOutput;\n}\n\nexport interface GetDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceDataConnection200Response extends HttpResponse {\n status: \"200\";\n body: DataConnectionOutput;\n}\n\nexport interface CreateOrReplaceDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceDataConnectionDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteDataConnection204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteDataConnectionDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteDataConnectionDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteDataConnectionDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: PagedDiscoGroupOutput;\n}\n\nexport interface ListDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ValidateDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: ValidateResultOutput;\n}\n\nexport interface ValidateDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ValidateDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ValidateDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: DiscoGroupOutput;\n}\n\nexport interface GetDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceDiscoGroup200Response extends HttpResponse {\n status: \"200\";\n body: DiscoGroupOutput;\n}\n\nexport interface CreateOrReplaceDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceDiscoGroupDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface RunDiscoGroup204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface RunDiscoGroupDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface RunDiscoGroupDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & RunDiscoGroupDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListRuns200Response extends HttpResponse {\n status: \"200\";\n body: DiscoRunPageResultOutput;\n}\n\nexport interface ListRunsDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListRunsDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListRunsDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListDiscoTemplate200Response extends HttpResponse {\n status: \"200\";\n body: PagedDiscoTemplateOutput;\n}\n\nexport interface ListDiscoTemplateDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListDiscoTemplateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListDiscoTemplateDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetDiscoTemplate200Response extends HttpResponse {\n status: \"200\";\n body: DiscoTemplateOutput;\n}\n\nexport interface GetDiscoTemplateDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetDiscoTemplateDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetDiscoTemplateDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetBillable200Response extends HttpResponse {\n status: \"200\";\n body: ReportBillableAssetSummaryResultOutput;\n}\n\nexport interface GetBillableDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetBillableDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetBillableDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetSnapshot200Response extends HttpResponse {\n status: \"200\";\n body: ReportAssetSnapshotResultOutput;\n}\n\nexport interface GetSnapshotDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetSnapshotDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetSnapshotDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetSummary200Response extends HttpResponse {\n status: \"200\";\n body: ReportAssetSummaryResultOutput;\n}\n\nexport interface GetSummaryDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetSummaryDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetSummaryDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListSavedFilter200Response extends HttpResponse {\n status: \"200\";\n body: PagedSavedFilterOutput;\n}\n\nexport interface ListSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListSavedFilterDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetSavedFilter200Response extends HttpResponse {\n status: \"200\";\n body: SavedFilterOutput;\n}\n\nexport interface GetSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetSavedFilterDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CreateOrReplaceSavedFilter200Response extends HttpResponse {\n status: \"200\";\n body: SavedFilterOutput;\n}\n\nexport interface CreateOrReplaceSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CreateOrReplaceSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CreateOrReplaceSavedFilterDefaultHeaders;\n}\n\n/** There is no content to send for this request, but the headers may be useful. */\nexport interface DeleteSavedFilter204Response extends HttpResponse {\n status: \"204\";\n}\n\nexport interface DeleteSavedFilterDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface DeleteSavedFilterDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & DeleteSavedFilterDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface ListTask200Response extends HttpResponse {\n status: \"200\";\n body: PagedTaskOutput;\n}\n\nexport interface ListTaskDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface ListTaskDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & ListTaskDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface GetTask200Response extends HttpResponse {\n status: \"200\";\n body: TaskOutput;\n}\n\nexport interface GetTaskDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface GetTaskDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & GetTaskDefaultHeaders;\n}\n\n/** The request has succeeded. */\nexport interface CancelTask200Response extends HttpResponse {\n status: \"200\";\n body: TaskOutput;\n}\n\nexport interface CancelTaskDefaultHeaders {\n /** String error code indicating what went wrong. */\n \"x-ms-error-code\"?: string;\n}\n\nexport interface CancelTaskDefaultResponse extends HttpResponse {\n status: string;\n body: ErrorResponse;\n headers: RawHttpHeaders & CancelTaskDefaultHeaders;\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,9 +1,29 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-rest/defender-easm",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "1.0.0-beta.2",
|
|
4
|
+
"description": "A generated SDK for EasmClient.",
|
|
5
|
+
"engines": {
|
|
6
|
+
"node": ">=18.0.0"
|
|
7
|
+
},
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"autoPublish": false,
|
|
10
|
+
"tshy": {
|
|
11
|
+
"project": "./tsconfig.src.json",
|
|
12
|
+
"exports": {
|
|
13
|
+
"./package.json": "./package.json",
|
|
14
|
+
".": "./src/index.ts"
|
|
15
|
+
},
|
|
16
|
+
"dialects": [
|
|
17
|
+
"esm",
|
|
18
|
+
"commonjs"
|
|
19
|
+
],
|
|
20
|
+
"esmDialects": [
|
|
21
|
+
"browser",
|
|
22
|
+
"react-native"
|
|
23
|
+
],
|
|
24
|
+
"selfLink": false
|
|
25
|
+
},
|
|
26
|
+
"type": "module",
|
|
7
27
|
"keywords": [
|
|
8
28
|
"node",
|
|
9
29
|
"azure",
|
|
@@ -12,113 +32,76 @@
|
|
|
12
32
|
"browser",
|
|
13
33
|
"isomorphic"
|
|
14
34
|
],
|
|
35
|
+
"author": "Microsoft Corporation",
|
|
15
36
|
"license": "MIT",
|
|
16
|
-
"main": "dist/index.js",
|
|
17
|
-
"module": "./dist-esm/src/index.js",
|
|
18
|
-
"types": "./types/defender-easm.d.ts",
|
|
19
|
-
"repository": "github:Azure/azure-sdk-for-js",
|
|
20
|
-
"bugs": {
|
|
21
|
-
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
22
|
-
},
|
|
23
37
|
"files": [
|
|
24
38
|
"dist/",
|
|
25
|
-
"dist-esm/src/",
|
|
26
|
-
"types/defender-easm.d.ts",
|
|
27
39
|
"README.md",
|
|
28
|
-
"LICENSE"
|
|
29
|
-
"review/*"
|
|
40
|
+
"LICENSE"
|
|
30
41
|
],
|
|
31
|
-
"
|
|
32
|
-
|
|
42
|
+
"sdk-type": "client",
|
|
43
|
+
"repository": "github:Azure/azure-sdk-for-js",
|
|
44
|
+
"bugs": {
|
|
45
|
+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
|
|
33
46
|
},
|
|
34
|
-
"
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"execute:samples": "echo skipped",
|
|
44
|
-
"extract-api": "rimraf review && mkdirp ./review && api-extractor run --local",
|
|
45
|
-
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"*.{js,json}\" \"test/**/*.ts\"",
|
|
46
|
-
"generate:client": "echo skipped",
|
|
47
|
-
"integration-test:browser": "dev-tool run test:browser",
|
|
48
|
-
"integration-test:node": "dev-tool run test:node-js-input -- --timeout 5000000 'dist-esm/test/**/*.spec.js'",
|
|
49
|
-
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
50
|
-
"lint:fix": "eslint package.json api-extractor.json src test --ext .ts --fix --fix-type [problem,suggestion]",
|
|
51
|
-
"lint": "eslint package.json api-extractor.json src test --ext .ts",
|
|
52
|
-
"pack": "npm pack 2>&1",
|
|
53
|
-
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser",
|
|
54
|
-
"test:node": "npm run clean && npm run build:test && npm run unit-test:node",
|
|
55
|
-
"test": "npm run clean && npm run build:test && npm run unit-test",
|
|
56
|
-
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
57
|
-
"unit-test:node": "dev-tool run test:node-ts-input -- --timeout 1200000 --exclude 'test/**/browser/*.spec.ts' 'test/**/*.spec.ts'",
|
|
58
|
-
"unit-test:browser": "dev-tool run test:browser",
|
|
59
|
-
"build": "npm run clean && tsc -p . && dev-tool run bundle && mkdirp ./review && api-extractor run --local"
|
|
47
|
+
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/easm/defender-easm-rest/README.md",
|
|
48
|
+
"prettier": "@azure/eslint-plugin-azure-sdk/prettier.json",
|
|
49
|
+
"//metadata": {
|
|
50
|
+
"constantPaths": [
|
|
51
|
+
{
|
|
52
|
+
"path": "src/easmClient.ts",
|
|
53
|
+
"prefix": "userAgentInfo"
|
|
54
|
+
}
|
|
55
|
+
]
|
|
60
56
|
},
|
|
61
|
-
"sideEffects": false,
|
|
62
|
-
"autoPublish": false,
|
|
63
57
|
"dependencies": {
|
|
64
|
-
"@azure/core-
|
|
65
|
-
"@azure
|
|
66
|
-
"@azure/core-
|
|
67
|
-
"@azure/
|
|
68
|
-
"
|
|
69
|
-
"@azure/logger": "^1.0.0",
|
|
70
|
-
"tslib": "^2.2.0"
|
|
58
|
+
"@azure-rest/core-client": "^2.3.1",
|
|
59
|
+
"@azure/core-auth": "^1.9.0",
|
|
60
|
+
"@azure/core-rest-pipeline": "^1.18.2",
|
|
61
|
+
"@azure/logger": "^1.1.4",
|
|
62
|
+
"tslib": "^2.8.1"
|
|
71
63
|
},
|
|
72
64
|
"devDependencies": {
|
|
73
|
-
"@azure/
|
|
65
|
+
"@azure-tools/test-credential": "^2.0.0",
|
|
66
|
+
"@azure-tools/test-recorder": "^4.1.0",
|
|
67
|
+
"@azure-tools/test-utils-vitest": "^1.0.0",
|
|
74
68
|
"@azure/dev-tool": "^1.0.0",
|
|
75
69
|
"@azure/eslint-plugin-azure-sdk": "^3.0.0",
|
|
76
|
-
"@azure/identity": "^
|
|
77
|
-
"@
|
|
78
|
-
"@azure-tools/test-credential": "^1.0.0",
|
|
79
|
-
"@azure-tools/test-recorder": "^3.0.0",
|
|
80
|
-
"@microsoft/api-extractor": "^7.31.1",
|
|
81
|
-
"@types/chai": "^4.1.6",
|
|
82
|
-
"@types/mocha": "^10.0.0",
|
|
70
|
+
"@azure/identity": "^4.6.0",
|
|
71
|
+
"@microsoft/api-extractor": "^7.40.3",
|
|
83
72
|
"@types/node": "^18.0.0",
|
|
84
|
-
"
|
|
85
|
-
"
|
|
73
|
+
"@vitest/browser": "^3.0.3",
|
|
74
|
+
"@vitest/coverage-istanbul": "^3.0.3",
|
|
86
75
|
"dotenv": "^16.0.0",
|
|
87
|
-
"eslint": "^
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"karma-firefox-launcher": "^1.1.0",
|
|
92
|
-
"karma-json-preprocessor": "^0.3.3",
|
|
93
|
-
"karma-json-to-file-reporter": "^1.0.1",
|
|
94
|
-
"karma-junit-reporter": "^2.0.1",
|
|
95
|
-
"karma-mocha-reporter": "^2.2.5",
|
|
96
|
-
"karma-mocha": "^2.0.1",
|
|
97
|
-
"karma-source-map-support": "~1.4.0",
|
|
98
|
-
"karma-sourcemap-loader": "^0.3.8",
|
|
99
|
-
"karma": "^6.2.0",
|
|
100
|
-
"mkdirp": "^1.0.4",
|
|
101
|
-
"mocha-junit-reporter": "^2.0.0",
|
|
102
|
-
"mocha": "^10.0.0",
|
|
103
|
-
"c8": "^8.0.0",
|
|
104
|
-
"prettier": "^2.5.1",
|
|
105
|
-
"rimraf": "^3.0.0",
|
|
106
|
-
"source-map-support": "^0.5.9",
|
|
107
|
-
"typescript": "~5.2.0",
|
|
108
|
-
"ts-node": "^10.0.0",
|
|
109
|
-
"esm": "^3.2.18"
|
|
110
|
-
},
|
|
111
|
-
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/easm/defender-easm-rest/README.md",
|
|
112
|
-
"//metadata": {
|
|
113
|
-
"constantPaths": [
|
|
114
|
-
{
|
|
115
|
-
"path": "src/easm.ts",
|
|
116
|
-
"prefix": "userAgentInfo"
|
|
117
|
-
}
|
|
118
|
-
]
|
|
76
|
+
"eslint": "^9.9.0",
|
|
77
|
+
"playwright": "^1.50.1",
|
|
78
|
+
"typescript": "~5.7.2",
|
|
79
|
+
"vitest": "^3.0.3"
|
|
119
80
|
},
|
|
120
|
-
"
|
|
121
|
-
"
|
|
81
|
+
"scripts": {
|
|
82
|
+
"build": "npm run clean && dev-tool run build-package && dev-tool run extract-api",
|
|
83
|
+
"build:samples": "echo skipped",
|
|
84
|
+
"build:test": "npm run clean && dev-tool run build-package && dev-tool run build-test",
|
|
85
|
+
"check-format": "dev-tool run vendored prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
|
|
86
|
+
"clean": "dev-tool run vendored rimraf --glob dist dist-browser dist-esm test-dist temp types *.tgz *.log",
|
|
87
|
+
"execute:samples": "echo skipped",
|
|
88
|
+
"extract-api": "dev-tool run vendored rimraf review && dev-tool run vendored mkdirp ./review && dev-tool run extract-api",
|
|
89
|
+
"format": "dev-tool run vendored prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.{ts,cts,mts}\" \"test/**/*.{ts,cts,mts}\" \"*.{js,cjs,mjs,json}\" ",
|
|
90
|
+
"generate:client": "echo skipped",
|
|
91
|
+
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
|
|
92
|
+
"integration-test:browser": "echo skipped",
|
|
93
|
+
"integration-test:node": "echo skipped",
|
|
94
|
+
"lint": "eslint package.json api-extractor.json src test",
|
|
95
|
+
"lint:fix": "eslint package.json api-extractor.json src test --fix --fix-type [problem,suggestion]",
|
|
96
|
+
"minify": "dev-tool run vendored uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
|
|
97
|
+
"pack": "npm pack 2>&1",
|
|
98
|
+
"test": "npm run clean && dev-tool run build-package && npm run unit-test:node && dev-tool run bundle && npm run unit-test:browser && npm run integration-test",
|
|
99
|
+
"test:browser": "npm run clean && npm run build:test && npm run unit-test:browser && npm run integration-test:browser",
|
|
100
|
+
"test:node": "npm run clean && dev-tool run build-package && npm run unit-test:node && npm run integration-test:node",
|
|
101
|
+
"unit-test": "npm run unit-test:node && npm run unit-test:browser",
|
|
102
|
+
"unit-test:browser": "npm run clean && dev-tool run build-package && dev-tool run build-test && dev-tool run test:vitest --browser",
|
|
103
|
+
"unit-test:node": "dev-tool run test:vitest",
|
|
104
|
+
"update-snippets": "dev-tool run update-snippets"
|
|
122
105
|
},
|
|
123
106
|
"//sampleConfiguration": {
|
|
124
107
|
"productName": "Defender EASM Client",
|
|
@@ -127,5 +110,31 @@
|
|
|
127
110
|
],
|
|
128
111
|
"disableDocsMs": true,
|
|
129
112
|
"apiRefLink": "https://learn.microsoft.com/azure/external-attack-surface-management/"
|
|
130
|
-
}
|
|
113
|
+
},
|
|
114
|
+
"exports": {
|
|
115
|
+
"./package.json": "./package.json",
|
|
116
|
+
".": {
|
|
117
|
+
"browser": {
|
|
118
|
+
"types": "./dist/browser/index.d.ts",
|
|
119
|
+
"default": "./dist/browser/index.js"
|
|
120
|
+
},
|
|
121
|
+
"react-native": {
|
|
122
|
+
"types": "./dist/react-native/index.d.ts",
|
|
123
|
+
"default": "./dist/react-native/index.js"
|
|
124
|
+
},
|
|
125
|
+
"import": {
|
|
126
|
+
"types": "./dist/esm/index.d.ts",
|
|
127
|
+
"default": "./dist/esm/index.js"
|
|
128
|
+
},
|
|
129
|
+
"require": {
|
|
130
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
131
|
+
"default": "./dist/commonjs/index.js"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"main": "./dist/commonjs/index.js",
|
|
136
|
+
"types": "./dist/commonjs/index.d.ts",
|
|
137
|
+
"module": "./dist/esm/index.js",
|
|
138
|
+
"browser": "./dist/browser/index.js",
|
|
139
|
+
"react-native": "./dist/react-native/index.js"
|
|
131
140
|
}
|