@microsoft/msgraph-sdk 1.0.0-preview.12 → 1.0.0-preview.13
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/models/index.d.ts +269 -6
- package/models/index.d.ts.map +1 -1
- package/models/index.js +400 -132
- package/models/partners/billing/index.d.ts +339 -0
- package/models/partners/billing/index.d.ts.map +1 -0
- package/models/partners/billing/index.js +365 -0
- package/models/partners/index.d.ts +2 -0
- package/models/partners/index.d.ts.map +1 -0
- package/models/partners/index.js +7 -0
- package/models/security/index.d.ts +60 -0
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +71 -11
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,365 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BillingPeriodObject = exports.AttributeSetObject = exports.serializeUnbilledUsage = exports.serializeRunningOperation = exports.serializeOperationCollectionResponse = exports.serializeOperation = exports.serializeManifestCollectionResponse = exports.serializeManifest = exports.serializeFailedOperation = exports.serializeExportSuccessOperation = exports.serializeBlob = exports.serializeBilling = exports.serializeBilledUsage = exports.serializeAzureUsage = exports.deserializeIntoUnbilledUsage = exports.deserializeIntoRunningOperation = exports.deserializeIntoOperationCollectionResponse = exports.deserializeIntoOperation = exports.deserializeIntoManifestCollectionResponse = exports.deserializeIntoManifest = exports.deserializeIntoFailedOperation = exports.deserializeIntoExportSuccessOperation = exports.deserializeIntoBlob = exports.deserializeIntoBilling = exports.deserializeIntoBilledUsage = exports.deserializeIntoAzureUsage = exports.createUnbilledUsageFromDiscriminatorValue = exports.createRunningOperationFromDiscriminatorValue = exports.createOperationFromDiscriminatorValue = exports.createOperationCollectionResponseFromDiscriminatorValue = exports.createManifestFromDiscriminatorValue = exports.createManifestCollectionResponseFromDiscriminatorValue = exports.createFailedOperationFromDiscriminatorValue = exports.createExportSuccessOperationFromDiscriminatorValue = exports.createBlobFromDiscriminatorValue = exports.createBillingFromDiscriminatorValue = exports.createBilledUsageFromDiscriminatorValue = exports.createAzureUsageFromDiscriminatorValue = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
6
|
+
// Generated by Microsoft Kiota
|
|
7
|
+
const __1 = require("../../");
|
|
8
|
+
/**
|
|
9
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
10
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
11
|
+
* @returns a azureUsage
|
|
12
|
+
*/
|
|
13
|
+
function createAzureUsageFromDiscriminatorValue(parseNode) {
|
|
14
|
+
return deserializeIntoAzureUsage;
|
|
15
|
+
}
|
|
16
|
+
exports.createAzureUsageFromDiscriminatorValue = createAzureUsageFromDiscriminatorValue;
|
|
17
|
+
/**
|
|
18
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
19
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
20
|
+
* @returns a billedUsage
|
|
21
|
+
*/
|
|
22
|
+
function createBilledUsageFromDiscriminatorValue(parseNode) {
|
|
23
|
+
return deserializeIntoBilledUsage;
|
|
24
|
+
}
|
|
25
|
+
exports.createBilledUsageFromDiscriminatorValue = createBilledUsageFromDiscriminatorValue;
|
|
26
|
+
/**
|
|
27
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
28
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
29
|
+
* @returns a billing
|
|
30
|
+
*/
|
|
31
|
+
function createBillingFromDiscriminatorValue(parseNode) {
|
|
32
|
+
return deserializeIntoBilling;
|
|
33
|
+
}
|
|
34
|
+
exports.createBillingFromDiscriminatorValue = createBillingFromDiscriminatorValue;
|
|
35
|
+
/**
|
|
36
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
37
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
38
|
+
* @returns a blob
|
|
39
|
+
*/
|
|
40
|
+
function createBlobFromDiscriminatorValue(parseNode) {
|
|
41
|
+
return deserializeIntoBlob;
|
|
42
|
+
}
|
|
43
|
+
exports.createBlobFromDiscriminatorValue = createBlobFromDiscriminatorValue;
|
|
44
|
+
/**
|
|
45
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
46
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
47
|
+
* @returns a exportSuccessOperation
|
|
48
|
+
*/
|
|
49
|
+
function createExportSuccessOperationFromDiscriminatorValue(parseNode) {
|
|
50
|
+
return deserializeIntoExportSuccessOperation;
|
|
51
|
+
}
|
|
52
|
+
exports.createExportSuccessOperationFromDiscriminatorValue = createExportSuccessOperationFromDiscriminatorValue;
|
|
53
|
+
/**
|
|
54
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
55
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
56
|
+
* @returns a failedOperation
|
|
57
|
+
*/
|
|
58
|
+
function createFailedOperationFromDiscriminatorValue(parseNode) {
|
|
59
|
+
return deserializeIntoFailedOperation;
|
|
60
|
+
}
|
|
61
|
+
exports.createFailedOperationFromDiscriminatorValue = createFailedOperationFromDiscriminatorValue;
|
|
62
|
+
/**
|
|
63
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
64
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
65
|
+
* @returns a manifestCollectionResponse
|
|
66
|
+
*/
|
|
67
|
+
function createManifestCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
68
|
+
return deserializeIntoManifestCollectionResponse;
|
|
69
|
+
}
|
|
70
|
+
exports.createManifestCollectionResponseFromDiscriminatorValue = createManifestCollectionResponseFromDiscriminatorValue;
|
|
71
|
+
/**
|
|
72
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
73
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
74
|
+
* @returns a manifest
|
|
75
|
+
*/
|
|
76
|
+
function createManifestFromDiscriminatorValue(parseNode) {
|
|
77
|
+
return deserializeIntoManifest;
|
|
78
|
+
}
|
|
79
|
+
exports.createManifestFromDiscriminatorValue = createManifestFromDiscriminatorValue;
|
|
80
|
+
/**
|
|
81
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
82
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
83
|
+
* @returns a operationCollectionResponse
|
|
84
|
+
*/
|
|
85
|
+
function createOperationCollectionResponseFromDiscriminatorValue(parseNode) {
|
|
86
|
+
return deserializeIntoOperationCollectionResponse;
|
|
87
|
+
}
|
|
88
|
+
exports.createOperationCollectionResponseFromDiscriminatorValue = createOperationCollectionResponseFromDiscriminatorValue;
|
|
89
|
+
/**
|
|
90
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
91
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
92
|
+
* @returns a operation
|
|
93
|
+
*/
|
|
94
|
+
function createOperationFromDiscriminatorValue(parseNode) {
|
|
95
|
+
if (!parseNode)
|
|
96
|
+
throw new Error("parseNode cannot be undefined");
|
|
97
|
+
const mappingValueNode = parseNode.getChildNode("@odata.type");
|
|
98
|
+
if (mappingValueNode) {
|
|
99
|
+
const mappingValue = mappingValueNode.getStringValue();
|
|
100
|
+
if (mappingValue) {
|
|
101
|
+
switch (mappingValue) {
|
|
102
|
+
case "#microsoft.graph.partners.billing.exportSuccessOperation":
|
|
103
|
+
return deserializeIntoExportSuccessOperation;
|
|
104
|
+
case "#microsoft.graph.partners.billing.failedOperation":
|
|
105
|
+
return deserializeIntoFailedOperation;
|
|
106
|
+
case "#microsoft.graph.partners.billing.runningOperation":
|
|
107
|
+
return deserializeIntoRunningOperation;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
return deserializeIntoOperation;
|
|
112
|
+
}
|
|
113
|
+
exports.createOperationFromDiscriminatorValue = createOperationFromDiscriminatorValue;
|
|
114
|
+
/**
|
|
115
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
116
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
117
|
+
* @returns a runningOperation
|
|
118
|
+
*/
|
|
119
|
+
function createRunningOperationFromDiscriminatorValue(parseNode) {
|
|
120
|
+
return deserializeIntoRunningOperation;
|
|
121
|
+
}
|
|
122
|
+
exports.createRunningOperationFromDiscriminatorValue = createRunningOperationFromDiscriminatorValue;
|
|
123
|
+
/**
|
|
124
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
125
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
126
|
+
* @returns a unbilledUsage
|
|
127
|
+
*/
|
|
128
|
+
function createUnbilledUsageFromDiscriminatorValue(parseNode) {
|
|
129
|
+
return deserializeIntoUnbilledUsage;
|
|
130
|
+
}
|
|
131
|
+
exports.createUnbilledUsageFromDiscriminatorValue = createUnbilledUsageFromDiscriminatorValue;
|
|
132
|
+
/**
|
|
133
|
+
* The deserialization information for the current model
|
|
134
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
135
|
+
*/
|
|
136
|
+
function deserializeIntoAzureUsage(azureUsage = {}) {
|
|
137
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(azureUsage)), { "billed": n => { azureUsage.billed = n.getObjectValue(createBilledUsageFromDiscriminatorValue); }, "unbilled": n => { azureUsage.unbilled = n.getObjectValue(createUnbilledUsageFromDiscriminatorValue); } });
|
|
138
|
+
}
|
|
139
|
+
exports.deserializeIntoAzureUsage = deserializeIntoAzureUsage;
|
|
140
|
+
/**
|
|
141
|
+
* The deserialization information for the current model
|
|
142
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
143
|
+
*/
|
|
144
|
+
function deserializeIntoBilledUsage(billedUsage = {}) {
|
|
145
|
+
return Object.assign({}, (0, __1.deserializeIntoEntity)(billedUsage));
|
|
146
|
+
}
|
|
147
|
+
exports.deserializeIntoBilledUsage = deserializeIntoBilledUsage;
|
|
148
|
+
/**
|
|
149
|
+
* The deserialization information for the current model
|
|
150
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
151
|
+
*/
|
|
152
|
+
function deserializeIntoBilling(billing = {}) {
|
|
153
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(billing)), { "manifests": n => { billing.manifests = n.getCollectionOfObjectValues(createManifestFromDiscriminatorValue); }, "operations": n => { billing.operations = n.getCollectionOfObjectValues(createOperationFromDiscriminatorValue); }, "usage": n => { billing.usage = n.getObjectValue(createAzureUsageFromDiscriminatorValue); } });
|
|
154
|
+
}
|
|
155
|
+
exports.deserializeIntoBilling = deserializeIntoBilling;
|
|
156
|
+
/**
|
|
157
|
+
* The deserialization information for the current model
|
|
158
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
159
|
+
*/
|
|
160
|
+
function deserializeIntoBlob(blob = {}) {
|
|
161
|
+
return {
|
|
162
|
+
"backingStoreEnabled": n => { blob.backingStoreEnabled = true; },
|
|
163
|
+
"name": n => { blob.name = n.getStringValue(); },
|
|
164
|
+
"@odata.type": n => { blob.odataType = n.getStringValue(); },
|
|
165
|
+
"partitionValue": n => { blob.partitionValue = n.getStringValue(); },
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
exports.deserializeIntoBlob = deserializeIntoBlob;
|
|
169
|
+
/**
|
|
170
|
+
* The deserialization information for the current model
|
|
171
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
172
|
+
*/
|
|
173
|
+
function deserializeIntoExportSuccessOperation(exportSuccessOperation = {}) {
|
|
174
|
+
return Object.assign(Object.assign({}, deserializeIntoOperation(exportSuccessOperation)), { "resourceLocation": n => { exportSuccessOperation.resourceLocation = n.getObjectValue(createManifestFromDiscriminatorValue); } });
|
|
175
|
+
}
|
|
176
|
+
exports.deserializeIntoExportSuccessOperation = deserializeIntoExportSuccessOperation;
|
|
177
|
+
/**
|
|
178
|
+
* The deserialization information for the current model
|
|
179
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
180
|
+
*/
|
|
181
|
+
function deserializeIntoFailedOperation(failedOperation = {}) {
|
|
182
|
+
return Object.assign(Object.assign({}, deserializeIntoOperation(failedOperation)), { "error": n => { failedOperation.errorEscaped = n.getObjectValue(__1.createPublicErrorFromDiscriminatorValue); } });
|
|
183
|
+
}
|
|
184
|
+
exports.deserializeIntoFailedOperation = deserializeIntoFailedOperation;
|
|
185
|
+
/**
|
|
186
|
+
* The deserialization information for the current model
|
|
187
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
188
|
+
*/
|
|
189
|
+
function deserializeIntoManifest(manifest = {}) {
|
|
190
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(manifest)), { "blobCount": n => { manifest.blobCount = n.getNumberValue(); }, "blobs": n => { manifest.blobs = n.getCollectionOfObjectValues(createBlobFromDiscriminatorValue); }, "createdDateTime": n => { manifest.createdDateTime = n.getDateValue(); }, "dataFormat": n => { manifest.dataFormat = n.getStringValue(); }, "eTag": n => { manifest.eTag = n.getStringValue(); }, "partitionType": n => { manifest.partitionType = n.getStringValue(); }, "partnerTenantId": n => { manifest.partnerTenantId = n.getStringValue(); }, "rootDirectory": n => { manifest.rootDirectory = n.getStringValue(); }, "sasToken": n => { manifest.sasToken = n.getStringValue(); }, "schemaVersion": n => { manifest.schemaVersion = n.getStringValue(); } });
|
|
191
|
+
}
|
|
192
|
+
exports.deserializeIntoManifest = deserializeIntoManifest;
|
|
193
|
+
/**
|
|
194
|
+
* The deserialization information for the current model
|
|
195
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
196
|
+
*/
|
|
197
|
+
function deserializeIntoManifestCollectionResponse(manifestCollectionResponse = {}) {
|
|
198
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(manifestCollectionResponse)), { "value": n => { manifestCollectionResponse.value = n.getCollectionOfObjectValues(createManifestFromDiscriminatorValue); } });
|
|
199
|
+
}
|
|
200
|
+
exports.deserializeIntoManifestCollectionResponse = deserializeIntoManifestCollectionResponse;
|
|
201
|
+
/**
|
|
202
|
+
* The deserialization information for the current model
|
|
203
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
204
|
+
*/
|
|
205
|
+
function deserializeIntoOperation(operation = {}) {
|
|
206
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoEntity)(operation)), { "createdDateTime": n => { operation.createdDateTime = n.getDateValue(); }, "lastActionDateTime": n => { operation.lastActionDateTime = n.getDateValue(); }, "status": n => { operation.status = n.getEnumValue(__1.LongRunningOperationStatusObject); } });
|
|
207
|
+
}
|
|
208
|
+
exports.deserializeIntoOperation = deserializeIntoOperation;
|
|
209
|
+
/**
|
|
210
|
+
* The deserialization information for the current model
|
|
211
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
212
|
+
*/
|
|
213
|
+
function deserializeIntoOperationCollectionResponse(operationCollectionResponse = {}) {
|
|
214
|
+
return Object.assign(Object.assign({}, (0, __1.deserializeIntoBaseCollectionPaginationCountResponse)(operationCollectionResponse)), { "value": n => { operationCollectionResponse.value = n.getCollectionOfObjectValues(createOperationFromDiscriminatorValue); } });
|
|
215
|
+
}
|
|
216
|
+
exports.deserializeIntoOperationCollectionResponse = deserializeIntoOperationCollectionResponse;
|
|
217
|
+
/**
|
|
218
|
+
* The deserialization information for the current model
|
|
219
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
220
|
+
*/
|
|
221
|
+
function deserializeIntoRunningOperation(runningOperation = {}) {
|
|
222
|
+
return Object.assign({}, deserializeIntoOperation(runningOperation));
|
|
223
|
+
}
|
|
224
|
+
exports.deserializeIntoRunningOperation = deserializeIntoRunningOperation;
|
|
225
|
+
/**
|
|
226
|
+
* The deserialization information for the current model
|
|
227
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
228
|
+
*/
|
|
229
|
+
function deserializeIntoUnbilledUsage(unbilledUsage = {}) {
|
|
230
|
+
return Object.assign({}, (0, __1.deserializeIntoEntity)(unbilledUsage));
|
|
231
|
+
}
|
|
232
|
+
exports.deserializeIntoUnbilledUsage = deserializeIntoUnbilledUsage;
|
|
233
|
+
/**
|
|
234
|
+
* Serializes information the current object
|
|
235
|
+
* @param writer Serialization writer to use to serialize this model
|
|
236
|
+
*/
|
|
237
|
+
function serializeAzureUsage(writer, azureUsage = {}) {
|
|
238
|
+
(0, __1.serializeEntity)(writer, azureUsage);
|
|
239
|
+
writer.writeObjectValue("billed", azureUsage.billed, serializeBilledUsage);
|
|
240
|
+
writer.writeObjectValue("unbilled", azureUsage.unbilled, serializeUnbilledUsage);
|
|
241
|
+
}
|
|
242
|
+
exports.serializeAzureUsage = serializeAzureUsage;
|
|
243
|
+
/**
|
|
244
|
+
* Serializes information the current object
|
|
245
|
+
* @param writer Serialization writer to use to serialize this model
|
|
246
|
+
*/
|
|
247
|
+
function serializeBilledUsage(writer, billedUsage = {}) {
|
|
248
|
+
(0, __1.serializeEntity)(writer, billedUsage);
|
|
249
|
+
}
|
|
250
|
+
exports.serializeBilledUsage = serializeBilledUsage;
|
|
251
|
+
/**
|
|
252
|
+
* Serializes information the current object
|
|
253
|
+
* @param writer Serialization writer to use to serialize this model
|
|
254
|
+
*/
|
|
255
|
+
function serializeBilling(writer, billing = {}) {
|
|
256
|
+
(0, __1.serializeEntity)(writer, billing);
|
|
257
|
+
writer.writeCollectionOfObjectValues("manifests", billing.manifests, serializeManifest);
|
|
258
|
+
writer.writeCollectionOfObjectValues("operations", billing.operations, serializeOperation);
|
|
259
|
+
writer.writeObjectValue("usage", billing.usage, serializeAzureUsage);
|
|
260
|
+
}
|
|
261
|
+
exports.serializeBilling = serializeBilling;
|
|
262
|
+
/**
|
|
263
|
+
* Serializes information the current object
|
|
264
|
+
* @param writer Serialization writer to use to serialize this model
|
|
265
|
+
*/
|
|
266
|
+
function serializeBlob(writer, blob = {}) {
|
|
267
|
+
writer.writeStringValue("name", blob.name);
|
|
268
|
+
writer.writeStringValue("@odata.type", blob.odataType);
|
|
269
|
+
writer.writeStringValue("partitionValue", blob.partitionValue);
|
|
270
|
+
writer.writeAdditionalData(blob.additionalData);
|
|
271
|
+
}
|
|
272
|
+
exports.serializeBlob = serializeBlob;
|
|
273
|
+
/**
|
|
274
|
+
* Serializes information the current object
|
|
275
|
+
* @param writer Serialization writer to use to serialize this model
|
|
276
|
+
*/
|
|
277
|
+
function serializeExportSuccessOperation(writer, exportSuccessOperation = {}) {
|
|
278
|
+
serializeOperation(writer, exportSuccessOperation);
|
|
279
|
+
writer.writeObjectValue("resourceLocation", exportSuccessOperation.resourceLocation, serializeManifest);
|
|
280
|
+
}
|
|
281
|
+
exports.serializeExportSuccessOperation = serializeExportSuccessOperation;
|
|
282
|
+
/**
|
|
283
|
+
* Serializes information the current object
|
|
284
|
+
* @param writer Serialization writer to use to serialize this model
|
|
285
|
+
*/
|
|
286
|
+
function serializeFailedOperation(writer, failedOperation = {}) {
|
|
287
|
+
serializeOperation(writer, failedOperation);
|
|
288
|
+
writer.writeObjectValue("error", failedOperation.errorEscaped, __1.serializePublicError);
|
|
289
|
+
}
|
|
290
|
+
exports.serializeFailedOperation = serializeFailedOperation;
|
|
291
|
+
/**
|
|
292
|
+
* Serializes information the current object
|
|
293
|
+
* @param writer Serialization writer to use to serialize this model
|
|
294
|
+
*/
|
|
295
|
+
function serializeManifest(writer, manifest = {}) {
|
|
296
|
+
(0, __1.serializeEntity)(writer, manifest);
|
|
297
|
+
writer.writeNumberValue("blobCount", manifest.blobCount);
|
|
298
|
+
writer.writeCollectionOfObjectValues("blobs", manifest.blobs, serializeBlob);
|
|
299
|
+
writer.writeDateValue("createdDateTime", manifest.createdDateTime);
|
|
300
|
+
writer.writeStringValue("dataFormat", manifest.dataFormat);
|
|
301
|
+
writer.writeStringValue("eTag", manifest.eTag);
|
|
302
|
+
writer.writeStringValue("partitionType", manifest.partitionType);
|
|
303
|
+
writer.writeStringValue("partnerTenantId", manifest.partnerTenantId);
|
|
304
|
+
writer.writeStringValue("rootDirectory", manifest.rootDirectory);
|
|
305
|
+
writer.writeStringValue("sasToken", manifest.sasToken);
|
|
306
|
+
writer.writeStringValue("schemaVersion", manifest.schemaVersion);
|
|
307
|
+
}
|
|
308
|
+
exports.serializeManifest = serializeManifest;
|
|
309
|
+
/**
|
|
310
|
+
* Serializes information the current object
|
|
311
|
+
* @param writer Serialization writer to use to serialize this model
|
|
312
|
+
*/
|
|
313
|
+
function serializeManifestCollectionResponse(writer, manifestCollectionResponse = {}) {
|
|
314
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, manifestCollectionResponse);
|
|
315
|
+
writer.writeCollectionOfObjectValues("value", manifestCollectionResponse.value, serializeManifest);
|
|
316
|
+
}
|
|
317
|
+
exports.serializeManifestCollectionResponse = serializeManifestCollectionResponse;
|
|
318
|
+
/**
|
|
319
|
+
* Serializes information the current object
|
|
320
|
+
* @param writer Serialization writer to use to serialize this model
|
|
321
|
+
*/
|
|
322
|
+
function serializeOperation(writer, operation = {}) {
|
|
323
|
+
(0, __1.serializeEntity)(writer, operation);
|
|
324
|
+
writer.writeDateValue("createdDateTime", operation.createdDateTime);
|
|
325
|
+
writer.writeDateValue("lastActionDateTime", operation.lastActionDateTime);
|
|
326
|
+
writer.writeEnumValue("status", operation.status);
|
|
327
|
+
}
|
|
328
|
+
exports.serializeOperation = serializeOperation;
|
|
329
|
+
/**
|
|
330
|
+
* Serializes information the current object
|
|
331
|
+
* @param writer Serialization writer to use to serialize this model
|
|
332
|
+
*/
|
|
333
|
+
function serializeOperationCollectionResponse(writer, operationCollectionResponse = {}) {
|
|
334
|
+
(0, __1.serializeBaseCollectionPaginationCountResponse)(writer, operationCollectionResponse);
|
|
335
|
+
writer.writeCollectionOfObjectValues("value", operationCollectionResponse.value, serializeOperation);
|
|
336
|
+
}
|
|
337
|
+
exports.serializeOperationCollectionResponse = serializeOperationCollectionResponse;
|
|
338
|
+
/**
|
|
339
|
+
* Serializes information the current object
|
|
340
|
+
* @param writer Serialization writer to use to serialize this model
|
|
341
|
+
*/
|
|
342
|
+
function serializeRunningOperation(writer, runningOperation = {}) {
|
|
343
|
+
serializeOperation(writer, runningOperation);
|
|
344
|
+
}
|
|
345
|
+
exports.serializeRunningOperation = serializeRunningOperation;
|
|
346
|
+
/**
|
|
347
|
+
* Serializes information the current object
|
|
348
|
+
* @param writer Serialization writer to use to serialize this model
|
|
349
|
+
*/
|
|
350
|
+
function serializeUnbilledUsage(writer, unbilledUsage = {}) {
|
|
351
|
+
(0, __1.serializeEntity)(writer, unbilledUsage);
|
|
352
|
+
}
|
|
353
|
+
exports.serializeUnbilledUsage = serializeUnbilledUsage;
|
|
354
|
+
exports.AttributeSetObject = {
|
|
355
|
+
Full: "full",
|
|
356
|
+
Basic: "basic",
|
|
357
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
358
|
+
};
|
|
359
|
+
exports.BillingPeriodObject = {
|
|
360
|
+
Current: "current",
|
|
361
|
+
Last: "last",
|
|
362
|
+
UnknownFutureValue: "unknownFutureValue",
|
|
363
|
+
};
|
|
364
|
+
/* tslint:enable */
|
|
365
|
+
/* eslint-enable */
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":""}
|
|
@@ -754,6 +754,12 @@ export declare function createDeviceEvidenceFromDiscriminatorValue(parseNode: Pa
|
|
|
754
754
|
* @returns a dictionary
|
|
755
755
|
*/
|
|
756
756
|
export declare function createDictionaryFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
757
|
+
/**
|
|
758
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
759
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
760
|
+
* @returns a dnsEvidence
|
|
761
|
+
*/
|
|
762
|
+
export declare function createDnsEvidenceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
757
763
|
/**
|
|
758
764
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
759
765
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -922,6 +928,12 @@ export declare function createFileDetailsFromDiscriminatorValue(parseNode: Parse
|
|
|
922
928
|
* @returns a fileEvidence
|
|
923
929
|
*/
|
|
924
930
|
export declare function createFileEvidenceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
931
|
+
/**
|
|
932
|
+
* Creates a new instance of the appropriate class based on discriminator value
|
|
933
|
+
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
934
|
+
* @returns a fileHashEvidence
|
|
935
|
+
*/
|
|
936
|
+
export declare function createFileHashEvidenceFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
925
937
|
/**
|
|
926
938
|
* Creates a new instance of the appropriate class based on discriminator value
|
|
927
939
|
* @param parseNode The parse node to use to read the discriminator value and create the object
|
|
@@ -1802,6 +1814,11 @@ export declare function deserializeIntoDeviceEvidence(deviceEvidence?: Partial<D
|
|
|
1802
1814
|
* @returns a Record<string, (node: ParseNode) => void>
|
|
1803
1815
|
*/
|
|
1804
1816
|
export declare function deserializeIntoDictionary(dictionary?: Partial<Dictionary> | undefined): Record<string, (node: ParseNode) => void>;
|
|
1817
|
+
/**
|
|
1818
|
+
* The deserialization information for the current model
|
|
1819
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
1820
|
+
*/
|
|
1821
|
+
export declare function deserializeIntoDnsEvidence(dnsEvidence?: Partial<DnsEvidence> | undefined): Record<string, (node: ParseNode) => void>;
|
|
1805
1822
|
/**
|
|
1806
1823
|
* The deserialization information for the current model
|
|
1807
1824
|
* @returns a Record<string, (node: ParseNode) => void>
|
|
@@ -1947,6 +1964,11 @@ export declare function deserializeIntoFileEvidence(fileEvidence?: Partial<FileE
|
|
|
1947
1964
|
* @returns a Record<string, (node: ParseNode) => void>
|
|
1948
1965
|
*/
|
|
1949
1966
|
export declare function deserializeIntoFileHash(fileHash?: Partial<FileHash> | undefined): Record<string, (node: ParseNode) => void>;
|
|
1967
|
+
/**
|
|
1968
|
+
* The deserialization information for the current model
|
|
1969
|
+
* @returns a Record<string, (node: ParseNode) => void>
|
|
1970
|
+
*/
|
|
1971
|
+
export declare function deserializeIntoFileHashEvidence(fileHashEvidence?: Partial<FileHashEvidence> | undefined): Record<string, (node: ParseNode) => void>;
|
|
1950
1972
|
/**
|
|
1951
1973
|
* The deserialization information for the current model
|
|
1952
1974
|
* @returns a Record<string, (node: ParseNode) => void>
|
|
@@ -2556,6 +2578,24 @@ export interface Dictionary extends AdditionalDataHolder, BackedModel, Parsable
|
|
|
2556
2578
|
*/
|
|
2557
2579
|
odataType?: string;
|
|
2558
2580
|
}
|
|
2581
|
+
export interface DnsEvidence extends AlertEvidence, Parsable {
|
|
2582
|
+
/**
|
|
2583
|
+
* The dnsServerIp property
|
|
2584
|
+
*/
|
|
2585
|
+
dnsServerIp?: IpEvidence;
|
|
2586
|
+
/**
|
|
2587
|
+
* The domainName property
|
|
2588
|
+
*/
|
|
2589
|
+
domainName?: string;
|
|
2590
|
+
/**
|
|
2591
|
+
* The hostIpAddress property
|
|
2592
|
+
*/
|
|
2593
|
+
hostIpAddress?: IpEvidence;
|
|
2594
|
+
/**
|
|
2595
|
+
* The ipAddresses property
|
|
2596
|
+
*/
|
|
2597
|
+
ipAddresses?: IpEvidence[];
|
|
2598
|
+
}
|
|
2559
2599
|
export interface EdiscoveryAddToReviewSetOperation extends CaseOperation, Parsable {
|
|
2560
2600
|
/**
|
|
2561
2601
|
* eDiscovery review set to which items matching source collection query gets added.
|
|
@@ -3010,6 +3050,16 @@ export interface FileHash extends AdditionalDataHolder, BackedModel, Parsable {
|
|
|
3010
3050
|
value?: string;
|
|
3011
3051
|
}
|
|
3012
3052
|
export type FileHashAlgorithm = (typeof FileHashAlgorithmObject)[keyof typeof FileHashAlgorithmObject];
|
|
3053
|
+
export interface FileHashEvidence extends AlertEvidence, Parsable {
|
|
3054
|
+
/**
|
|
3055
|
+
* The algorithm property
|
|
3056
|
+
*/
|
|
3057
|
+
algorithm?: FileHashAlgorithm;
|
|
3058
|
+
/**
|
|
3059
|
+
* The value property
|
|
3060
|
+
*/
|
|
3061
|
+
value?: string;
|
|
3062
|
+
}
|
|
3013
3063
|
export interface FormattedContent extends AdditionalDataHolder, BackedModel, Parsable {
|
|
3014
3064
|
/**
|
|
3015
3065
|
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
@@ -4768,6 +4818,11 @@ export declare function serializeDeviceEvidence(writer: SerializationWriter, dev
|
|
|
4768
4818
|
* @param writer Serialization writer to use to serialize this model
|
|
4769
4819
|
*/
|
|
4770
4820
|
export declare function serializeDictionary(writer: SerializationWriter, dictionary?: Partial<Dictionary> | undefined): void;
|
|
4821
|
+
/**
|
|
4822
|
+
* Serializes information the current object
|
|
4823
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4824
|
+
*/
|
|
4825
|
+
export declare function serializeDnsEvidence(writer: SerializationWriter, dnsEvidence?: Partial<DnsEvidence> | undefined): void;
|
|
4771
4826
|
/**
|
|
4772
4827
|
* Serializes information the current object
|
|
4773
4828
|
* @param writer Serialization writer to use to serialize this model
|
|
@@ -4913,6 +4968,11 @@ export declare function serializeFileEvidence(writer: SerializationWriter, fileE
|
|
|
4913
4968
|
* @param writer Serialization writer to use to serialize this model
|
|
4914
4969
|
*/
|
|
4915
4970
|
export declare function serializeFileHash(writer: SerializationWriter, fileHash?: Partial<FileHash> | undefined): void;
|
|
4971
|
+
/**
|
|
4972
|
+
* Serializes information the current object
|
|
4973
|
+
* @param writer Serialization writer to use to serialize this model
|
|
4974
|
+
*/
|
|
4975
|
+
export declare function serializeFileHashEvidence(writer: SerializationWriter, fileHashEvidence?: Partial<FileHashEvidence> | undefined): void;
|
|
4916
4976
|
/**
|
|
4917
4977
|
* Serializes information the current object
|
|
4918
4978
|
* @param writer Serialization writer to use to serialize this model
|