@microsoft/msgraph-sdk 1.0.0-preview.62 → 1.0.0-preview.64
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/callRecords/index.d.ts +112 -80
- package/models/callRecords/index.d.ts.map +1 -1
- package/models/callRecords/index.js +419 -283
- package/models/callRecords/index.js.map +1 -1
- package/models/externalConnectors/index.d.ts +108 -75
- package/models/externalConnectors/index.d.ts.map +1 -1
- package/models/externalConnectors/index.js +274 -156
- package/models/externalConnectors/index.js.map +1 -1
- package/models/identityGovernance/index.d.ts +180 -93
- package/models/identityGovernance/index.d.ts.map +1 -1
- package/models/identityGovernance/index.js +532 -325
- package/models/identityGovernance/index.js.map +1 -1
- package/models/index.d.ts +11108 -5277
- package/models/index.d.ts.map +1 -1
- package/models/index.js +34144 -17302
- package/models/index.js.map +1 -1
- package/models/oDataErrors/index.d.ts +16 -20
- package/models/oDataErrors/index.d.ts.map +1 -1
- package/models/oDataErrors/index.js +41 -25
- package/models/oDataErrors/index.js.map +1 -1
- package/models/partners/billing/index.d.ts +60 -19
- package/models/partners/billing/index.d.ts.map +1 -1
- package/models/partners/billing/index.js +144 -73
- package/models/partners/billing/index.js.map +1 -1
- package/models/search/index.d.ts +44 -27
- package/models/search/index.d.ts.map +1 -1
- package/models/search/index.js +137 -82
- package/models/search/index.js.map +1 -1
- package/models/security/index.d.ts +8478 -1728
- package/models/security/index.d.ts.map +1 -1
- package/models/security/index.js +14838 -3347
- package/models/security/index.js.map +1 -1
- package/models/termStore/index.d.ts +52 -25
- package/models/termStore/index.d.ts.map +1 -1
- package/models/termStore/index.js +136 -84
- package/models/termStore/index.js.map +1 -1
- package/package.json +2 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/models/search/index.d.ts
CHANGED
|
@@ -17,10 +17,6 @@ export interface AcronymCollectionResponse extends BaseCollectionPaginationCount
|
|
|
17
17
|
value?: Acronym[] | null;
|
|
18
18
|
}
|
|
19
19
|
export interface AnswerKeyword extends AdditionalDataHolder, BackedModel, Parsable {
|
|
20
|
-
/**
|
|
21
|
-
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
22
|
-
*/
|
|
23
|
-
additionalData?: Record<string, unknown>;
|
|
24
20
|
/**
|
|
25
21
|
* Stores model information.
|
|
26
22
|
*/
|
|
@@ -44,10 +40,6 @@ export interface AnswerKeyword extends AdditionalDataHolder, BackedModel, Parsab
|
|
|
44
40
|
}
|
|
45
41
|
export type AnswerState = (typeof AnswerStateObject)[keyof typeof AnswerStateObject];
|
|
46
42
|
export interface AnswerVariant extends AdditionalDataHolder, BackedModel, Parsable {
|
|
47
|
-
/**
|
|
48
|
-
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
49
|
-
*/
|
|
50
|
-
additionalData?: Record<string, unknown>;
|
|
51
43
|
/**
|
|
52
44
|
* Stores model information.
|
|
53
45
|
*/
|
|
@@ -197,64 +189,71 @@ export declare function createQnaFromDiscriminatorValue(parseNode: ParseNode | u
|
|
|
197
189
|
export declare function createSearchAnswerFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record<string, (node: ParseNode) => void>);
|
|
198
190
|
/**
|
|
199
191
|
* The deserialization information for the current model
|
|
192
|
+
* @param Acronym The instance to deserialize into.
|
|
200
193
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
201
194
|
*/
|
|
202
195
|
export declare function deserializeIntoAcronym(acronym?: Partial<Acronym> | undefined): Record<string, (node: ParseNode) => void>;
|
|
203
196
|
/**
|
|
204
197
|
* The deserialization information for the current model
|
|
198
|
+
* @param AcronymCollectionResponse The instance to deserialize into.
|
|
205
199
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
206
200
|
*/
|
|
207
201
|
export declare function deserializeIntoAcronymCollectionResponse(acronymCollectionResponse?: Partial<AcronymCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
208
202
|
/**
|
|
209
203
|
* The deserialization information for the current model
|
|
204
|
+
* @param AnswerKeyword The instance to deserialize into.
|
|
210
205
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
211
206
|
*/
|
|
212
207
|
export declare function deserializeIntoAnswerKeyword(answerKeyword?: Partial<AnswerKeyword> | undefined): Record<string, (node: ParseNode) => void>;
|
|
213
208
|
/**
|
|
214
209
|
* The deserialization information for the current model
|
|
210
|
+
* @param AnswerVariant The instance to deserialize into.
|
|
215
211
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
216
212
|
*/
|
|
217
213
|
export declare function deserializeIntoAnswerVariant(answerVariant?: Partial<AnswerVariant> | undefined): Record<string, (node: ParseNode) => void>;
|
|
218
214
|
/**
|
|
219
215
|
* The deserialization information for the current model
|
|
216
|
+
* @param Bookmark The instance to deserialize into.
|
|
220
217
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
221
218
|
*/
|
|
222
219
|
export declare function deserializeIntoBookmark(bookmark?: Partial<Bookmark> | undefined): Record<string, (node: ParseNode) => void>;
|
|
223
220
|
/**
|
|
224
221
|
* The deserialization information for the current model
|
|
222
|
+
* @param BookmarkCollectionResponse The instance to deserialize into.
|
|
225
223
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
226
224
|
*/
|
|
227
225
|
export declare function deserializeIntoBookmarkCollectionResponse(bookmarkCollectionResponse?: Partial<BookmarkCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
228
226
|
/**
|
|
229
227
|
* The deserialization information for the current model
|
|
228
|
+
* @param Identity The instance to deserialize into.
|
|
230
229
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
231
230
|
*/
|
|
232
231
|
export declare function deserializeIntoIdentity(identity?: Partial<Identity> | undefined): Record<string, (node: ParseNode) => void>;
|
|
233
232
|
/**
|
|
234
233
|
* The deserialization information for the current model
|
|
234
|
+
* @param IdentitySet The instance to deserialize into.
|
|
235
235
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
236
236
|
*/
|
|
237
237
|
export declare function deserializeIntoIdentitySet(identitySet?: Partial<IdentitySet> | undefined): Record<string, (node: ParseNode) => void>;
|
|
238
238
|
/**
|
|
239
239
|
* The deserialization information for the current model
|
|
240
|
+
* @param Qna The instance to deserialize into.
|
|
240
241
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
241
242
|
*/
|
|
242
243
|
export declare function deserializeIntoQna(qna?: Partial<Qna> | undefined): Record<string, (node: ParseNode) => void>;
|
|
243
244
|
/**
|
|
244
245
|
* The deserialization information for the current model
|
|
246
|
+
* @param QnaCollectionResponse The instance to deserialize into.
|
|
245
247
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
246
248
|
*/
|
|
247
249
|
export declare function deserializeIntoQnaCollectionResponse(qnaCollectionResponse?: Partial<QnaCollectionResponse> | undefined): Record<string, (node: ParseNode) => void>;
|
|
248
250
|
/**
|
|
249
251
|
* The deserialization information for the current model
|
|
252
|
+
* @param SearchAnswer The instance to deserialize into.
|
|
250
253
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
251
254
|
*/
|
|
252
255
|
export declare function deserializeIntoSearchAnswer(searchAnswer?: Partial<SearchAnswer> | undefined): Record<string, (node: ParseNode) => void>;
|
|
253
256
|
export interface Identity extends AdditionalDataHolder, BackedModel, Parsable {
|
|
254
|
-
/**
|
|
255
|
-
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
256
|
-
*/
|
|
257
|
-
additionalData?: Record<string, unknown>;
|
|
258
257
|
/**
|
|
259
258
|
* Stores model information.
|
|
260
259
|
*/
|
|
@@ -273,10 +272,6 @@ export interface Identity extends AdditionalDataHolder, BackedModel, Parsable {
|
|
|
273
272
|
odataType?: string | null;
|
|
274
273
|
}
|
|
275
274
|
export interface IdentitySet extends AdditionalDataHolder, BackedModel, Parsable {
|
|
276
|
-
/**
|
|
277
|
-
* Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
|
|
278
|
-
*/
|
|
279
|
-
additionalData?: Record<string, unknown>;
|
|
280
275
|
/**
|
|
281
276
|
* The application property
|
|
282
277
|
*/
|
|
@@ -366,59 +361,81 @@ export interface SearchAnswer extends Entity, Parsable {
|
|
|
366
361
|
}
|
|
367
362
|
/**
|
|
368
363
|
* Serializes information the current object
|
|
364
|
+
* @param Acronym The instance to serialize from.
|
|
365
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
369
366
|
* @param writer Serialization writer to use to serialize this model
|
|
370
367
|
*/
|
|
371
|
-
export declare function serializeAcronym(writer: SerializationWriter, acronym?: Partial<Acronym> | undefined | null): void;
|
|
368
|
+
export declare function serializeAcronym(writer: SerializationWriter, acronym?: Partial<Acronym> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
372
369
|
/**
|
|
373
370
|
* Serializes information the current object
|
|
371
|
+
* @param AcronymCollectionResponse The instance to serialize from.
|
|
372
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
374
373
|
* @param writer Serialization writer to use to serialize this model
|
|
375
374
|
*/
|
|
376
|
-
export declare function serializeAcronymCollectionResponse(writer: SerializationWriter, acronymCollectionResponse?: Partial<AcronymCollectionResponse> | undefined | null): void;
|
|
375
|
+
export declare function serializeAcronymCollectionResponse(writer: SerializationWriter, acronymCollectionResponse?: Partial<AcronymCollectionResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
377
376
|
/**
|
|
378
377
|
* Serializes information the current object
|
|
378
|
+
* @param AnswerKeyword The instance to serialize from.
|
|
379
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
379
380
|
* @param writer Serialization writer to use to serialize this model
|
|
380
381
|
*/
|
|
381
|
-
export declare function serializeAnswerKeyword(writer: SerializationWriter, answerKeyword?: Partial<AnswerKeyword> | undefined | null): void;
|
|
382
|
+
export declare function serializeAnswerKeyword(writer: SerializationWriter, answerKeyword?: Partial<AnswerKeyword> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
382
383
|
/**
|
|
383
384
|
* Serializes information the current object
|
|
385
|
+
* @param AnswerVariant The instance to serialize from.
|
|
386
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
384
387
|
* @param writer Serialization writer to use to serialize this model
|
|
385
388
|
*/
|
|
386
|
-
export declare function serializeAnswerVariant(writer: SerializationWriter, answerVariant?: Partial<AnswerVariant> | undefined | null): void;
|
|
389
|
+
export declare function serializeAnswerVariant(writer: SerializationWriter, answerVariant?: Partial<AnswerVariant> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
387
390
|
/**
|
|
388
391
|
* Serializes information the current object
|
|
392
|
+
* @param Bookmark The instance to serialize from.
|
|
393
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
389
394
|
* @param writer Serialization writer to use to serialize this model
|
|
390
395
|
*/
|
|
391
|
-
export declare function serializeBookmark(writer: SerializationWriter, bookmark?: Partial<Bookmark> | undefined | null): void;
|
|
396
|
+
export declare function serializeBookmark(writer: SerializationWriter, bookmark?: Partial<Bookmark> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
392
397
|
/**
|
|
393
398
|
* Serializes information the current object
|
|
399
|
+
* @param BookmarkCollectionResponse The instance to serialize from.
|
|
400
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
394
401
|
* @param writer Serialization writer to use to serialize this model
|
|
395
402
|
*/
|
|
396
|
-
export declare function serializeBookmarkCollectionResponse(writer: SerializationWriter, bookmarkCollectionResponse?: Partial<BookmarkCollectionResponse> | undefined | null): void;
|
|
403
|
+
export declare function serializeBookmarkCollectionResponse(writer: SerializationWriter, bookmarkCollectionResponse?: Partial<BookmarkCollectionResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
397
404
|
/**
|
|
398
405
|
* Serializes information the current object
|
|
406
|
+
* @param Identity The instance to serialize from.
|
|
407
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
399
408
|
* @param writer Serialization writer to use to serialize this model
|
|
400
409
|
*/
|
|
401
|
-
export declare function serializeIdentity(writer: SerializationWriter, identity?: Partial<Identity> | undefined | null): void;
|
|
410
|
+
export declare function serializeIdentity(writer: SerializationWriter, identity?: Partial<Identity> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
402
411
|
/**
|
|
403
412
|
* Serializes information the current object
|
|
413
|
+
* @param IdentitySet The instance to serialize from.
|
|
414
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
404
415
|
* @param writer Serialization writer to use to serialize this model
|
|
405
416
|
*/
|
|
406
|
-
export declare function serializeIdentitySet(writer: SerializationWriter, identitySet?: Partial<IdentitySet> | undefined | null): void;
|
|
417
|
+
export declare function serializeIdentitySet(writer: SerializationWriter, identitySet?: Partial<IdentitySet> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
407
418
|
/**
|
|
408
419
|
* Serializes information the current object
|
|
420
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
421
|
+
* @param Qna The instance to serialize from.
|
|
409
422
|
* @param writer Serialization writer to use to serialize this model
|
|
410
423
|
*/
|
|
411
|
-
export declare function serializeQna(writer: SerializationWriter, qna?: Partial<Qna> | undefined | null): void;
|
|
424
|
+
export declare function serializeQna(writer: SerializationWriter, qna?: Partial<Qna> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
412
425
|
/**
|
|
413
426
|
* Serializes information the current object
|
|
427
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
428
|
+
* @param QnaCollectionResponse The instance to serialize from.
|
|
414
429
|
* @param writer Serialization writer to use to serialize this model
|
|
415
430
|
*/
|
|
416
|
-
export declare function serializeQnaCollectionResponse(writer: SerializationWriter, qnaCollectionResponse?: Partial<QnaCollectionResponse> | undefined | null): void;
|
|
431
|
+
export declare function serializeQnaCollectionResponse(writer: SerializationWriter, qnaCollectionResponse?: Partial<QnaCollectionResponse> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
417
432
|
/**
|
|
418
433
|
* Serializes information the current object
|
|
434
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
435
|
+
* @param SearchAnswer The instance to serialize from.
|
|
419
436
|
* @param writer Serialization writer to use to serialize this model
|
|
420
437
|
*/
|
|
421
|
-
export declare function serializeSearchAnswer(writer: SerializationWriter, searchAnswer?: Partial<SearchAnswer> | undefined | null): void;
|
|
438
|
+
export declare function serializeSearchAnswer(writer: SerializationWriter, searchAnswer?: Partial<SearchAnswer> | undefined | null, isSerializingDerivedType?: boolean): void;
|
|
422
439
|
export declare const AnswerStateObject: {
|
|
423
440
|
readonly Published: "published";
|
|
424
441
|
readonly Draft: "draft";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAIA,OAAO,EAA+E,kBAAkB,EAA6F,KAAK,qCAAqC,EAAE,KAAK,MAAM,EAAE,MAAM,aAAa,CAAC;AAElR,OAAO,EAAE,KAAK,oBAAoB,EAAE,KAAK,WAAW,EAAqB,KAAK,QAAQ,EAAE,KAAK,SAAS,EAAE,KAAK,mBAAmB,EAAE,MAAM,+BAA+B,CAAC;AAExK,MAAM,WAAW,OAAQ,SAAQ,QAAQ,EAAE,YAAY;IACnD;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;CAC9B;AACD,MAAM,WAAW,yBAA0B,SAAQ,qCAAqC,EAAE,QAAQ;IAC9F;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC;CAC5B;AACD,MAAM,WAAW,aAAc,SAAQ,oBAAoB,EAAE,WAAW,EAAE,QAAQ;IAC9E;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":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BAAgB,YAAY,CAAC,MAAM,EAAE,mBAAmB,EAAE,GAAG,GAAE,OAAO,CAAC,GAAG,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAarJ;AACD;;;;;GAKG;AAEH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,mBAAmB,EAAE,qBAAqB,GAAE,OAAO,CAAC,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAI3M;AACD;;;;;GAKG;AAEH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,mBAAmB,EAAE,YAAY,GAAE,OAAO,CAAC,YAAY,CAAC,GAAG,SAAS,GAAG,IAAS,EAAE,wBAAwB,GAAE,OAAe,GAAI,IAAI,CAmBhL;AACD,eAAO,MAAM,iBAAiB;;;;;CAKpB,CAAC"}
|
package/models/search/index.js
CHANGED
|
@@ -120,6 +120,7 @@ export function createSearchAnswerFromDiscriminatorValue(parseNode) {
|
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
122
122
|
* The deserialization information for the current model
|
|
123
|
+
* @param Acronym The instance to deserialize into.
|
|
123
124
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
124
125
|
*/
|
|
125
126
|
// @ts-ignore
|
|
@@ -128,6 +129,7 @@ export function deserializeIntoAcronym(acronym = {}) {
|
|
|
128
129
|
}
|
|
129
130
|
/**
|
|
130
131
|
* The deserialization information for the current model
|
|
132
|
+
* @param AcronymCollectionResponse The instance to deserialize into.
|
|
131
133
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
132
134
|
*/
|
|
133
135
|
// @ts-ignore
|
|
@@ -136,6 +138,7 @@ export function deserializeIntoAcronymCollectionResponse(acronymCollectionRespon
|
|
|
136
138
|
}
|
|
137
139
|
/**
|
|
138
140
|
* The deserialization information for the current model
|
|
141
|
+
* @param AnswerKeyword The instance to deserialize into.
|
|
139
142
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
140
143
|
*/
|
|
141
144
|
// @ts-ignore
|
|
@@ -150,6 +153,7 @@ export function deserializeIntoAnswerKeyword(answerKeyword = {}) {
|
|
|
150
153
|
}
|
|
151
154
|
/**
|
|
152
155
|
* The deserialization information for the current model
|
|
156
|
+
* @param AnswerVariant The instance to deserialize into.
|
|
153
157
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
154
158
|
*/
|
|
155
159
|
// @ts-ignore
|
|
@@ -166,6 +170,7 @@ export function deserializeIntoAnswerVariant(answerVariant = {}) {
|
|
|
166
170
|
}
|
|
167
171
|
/**
|
|
168
172
|
* The deserialization information for the current model
|
|
173
|
+
* @param Bookmark The instance to deserialize into.
|
|
169
174
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
170
175
|
*/
|
|
171
176
|
// @ts-ignore
|
|
@@ -174,6 +179,7 @@ export function deserializeIntoBookmark(bookmark = {}) {
|
|
|
174
179
|
}
|
|
175
180
|
/**
|
|
176
181
|
* The deserialization information for the current model
|
|
182
|
+
* @param BookmarkCollectionResponse The instance to deserialize into.
|
|
177
183
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
178
184
|
*/
|
|
179
185
|
// @ts-ignore
|
|
@@ -182,6 +188,7 @@ export function deserializeIntoBookmarkCollectionResponse(bookmarkCollectionResp
|
|
|
182
188
|
}
|
|
183
189
|
/**
|
|
184
190
|
* The deserialization information for the current model
|
|
191
|
+
* @param Identity The instance to deserialize into.
|
|
185
192
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
186
193
|
*/
|
|
187
194
|
// @ts-ignore
|
|
@@ -195,6 +202,7 @@ export function deserializeIntoIdentity(identity = {}) {
|
|
|
195
202
|
}
|
|
196
203
|
/**
|
|
197
204
|
* The deserialization information for the current model
|
|
205
|
+
* @param IdentitySet The instance to deserialize into.
|
|
198
206
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
199
207
|
*/
|
|
200
208
|
// @ts-ignore
|
|
@@ -209,6 +217,7 @@ export function deserializeIntoIdentitySet(identitySet = {}) {
|
|
|
209
217
|
}
|
|
210
218
|
/**
|
|
211
219
|
* The deserialization information for the current model
|
|
220
|
+
* @param Qna The instance to deserialize into.
|
|
212
221
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
213
222
|
*/
|
|
214
223
|
// @ts-ignore
|
|
@@ -217,6 +226,7 @@ export function deserializeIntoQna(qna = {}) {
|
|
|
217
226
|
}
|
|
218
227
|
/**
|
|
219
228
|
* The deserialization information for the current model
|
|
229
|
+
* @param QnaCollectionResponse The instance to deserialize into.
|
|
220
230
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
221
231
|
*/
|
|
222
232
|
// @ts-ignore
|
|
@@ -225,6 +235,7 @@ export function deserializeIntoQnaCollectionResponse(qnaCollectionResponse = {})
|
|
|
225
235
|
}
|
|
226
236
|
/**
|
|
227
237
|
* The deserialization information for the current model
|
|
238
|
+
* @param SearchAnswer The instance to deserialize into.
|
|
228
239
|
* @returns {Record<string, (node: ParseNode) => void>}
|
|
229
240
|
*/
|
|
230
241
|
// @ts-ignore
|
|
@@ -233,161 +244,205 @@ export function deserializeIntoSearchAnswer(searchAnswer = {}) {
|
|
|
233
244
|
}
|
|
234
245
|
/**
|
|
235
246
|
* Serializes information the current object
|
|
247
|
+
* @param Acronym The instance to serialize from.
|
|
248
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
236
249
|
* @param writer Serialization writer to use to serialize this model
|
|
237
250
|
*/
|
|
238
251
|
// @ts-ignore
|
|
239
|
-
export function serializeAcronym(writer, acronym = {}) {
|
|
240
|
-
if (acronym) {
|
|
241
|
-
|
|
242
|
-
writer.writeStringValue("standsFor", acronym.standsFor);
|
|
243
|
-
writer.writeEnumValue("state", acronym.state);
|
|
252
|
+
export function serializeAcronym(writer, acronym = {}, isSerializingDerivedType = false) {
|
|
253
|
+
if (!acronym || isSerializingDerivedType) {
|
|
254
|
+
return;
|
|
244
255
|
}
|
|
256
|
+
serializeSearchAnswer(writer, acronym, isSerializingDerivedType);
|
|
257
|
+
writer.writeStringValue("standsFor", acronym.standsFor);
|
|
258
|
+
writer.writeEnumValue("state", acronym.state);
|
|
245
259
|
}
|
|
246
260
|
/**
|
|
247
261
|
* Serializes information the current object
|
|
262
|
+
* @param AcronymCollectionResponse The instance to serialize from.
|
|
263
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
248
264
|
* @param writer Serialization writer to use to serialize this model
|
|
249
265
|
*/
|
|
250
266
|
// @ts-ignore
|
|
251
|
-
export function serializeAcronymCollectionResponse(writer, acronymCollectionResponse = {}) {
|
|
252
|
-
if (acronymCollectionResponse) {
|
|
253
|
-
|
|
254
|
-
writer.writeCollectionOfObjectValues("value", acronymCollectionResponse.value, serializeAcronym);
|
|
267
|
+
export function serializeAcronymCollectionResponse(writer, acronymCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
268
|
+
if (!acronymCollectionResponse || isSerializingDerivedType) {
|
|
269
|
+
return;
|
|
255
270
|
}
|
|
271
|
+
serializeBaseCollectionPaginationCountResponse(writer, acronymCollectionResponse, isSerializingDerivedType);
|
|
272
|
+
writer.writeCollectionOfObjectValues("value", acronymCollectionResponse.value, serializeAcronym);
|
|
256
273
|
}
|
|
257
274
|
/**
|
|
258
275
|
* Serializes information the current object
|
|
276
|
+
* @param AnswerKeyword The instance to serialize from.
|
|
277
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
259
278
|
* @param writer Serialization writer to use to serialize this model
|
|
260
279
|
*/
|
|
261
280
|
// @ts-ignore
|
|
262
|
-
export function serializeAnswerKeyword(writer, answerKeyword = {}) {
|
|
263
|
-
if (answerKeyword) {
|
|
264
|
-
|
|
265
|
-
writer.writeBooleanValue("matchSimilarKeywords", answerKeyword.matchSimilarKeywords);
|
|
266
|
-
writer.writeStringValue("@odata.type", answerKeyword.odataType);
|
|
267
|
-
writer.writeCollectionOfPrimitiveValues("reservedKeywords", answerKeyword.reservedKeywords);
|
|
268
|
-
writer.writeAdditionalData(answerKeyword.additionalData);
|
|
281
|
+
export function serializeAnswerKeyword(writer, answerKeyword = {}, isSerializingDerivedType = false) {
|
|
282
|
+
if (!answerKeyword || isSerializingDerivedType) {
|
|
283
|
+
return;
|
|
269
284
|
}
|
|
285
|
+
writer.writeCollectionOfPrimitiveValues("keywords", answerKeyword.keywords);
|
|
286
|
+
writer.writeBooleanValue("matchSimilarKeywords", answerKeyword.matchSimilarKeywords);
|
|
287
|
+
writer.writeStringValue("@odata.type", answerKeyword.odataType);
|
|
288
|
+
writer.writeCollectionOfPrimitiveValues("reservedKeywords", answerKeyword.reservedKeywords);
|
|
289
|
+
writer.writeAdditionalData(answerKeyword.additionalData);
|
|
270
290
|
}
|
|
271
291
|
/**
|
|
272
292
|
* Serializes information the current object
|
|
293
|
+
* @param AnswerVariant The instance to serialize from.
|
|
294
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
273
295
|
* @param writer Serialization writer to use to serialize this model
|
|
274
296
|
*/
|
|
275
297
|
// @ts-ignore
|
|
276
|
-
export function serializeAnswerVariant(writer, answerVariant = {}) {
|
|
277
|
-
if (answerVariant) {
|
|
278
|
-
|
|
279
|
-
writer.writeStringValue("displayName", answerVariant.displayName);
|
|
280
|
-
writer.writeStringValue("languageTag", answerVariant.languageTag);
|
|
281
|
-
writer.writeStringValue("@odata.type", answerVariant.odataType);
|
|
282
|
-
writer.writeEnumValue("platform", answerVariant.platform);
|
|
283
|
-
writer.writeStringValue("webUrl", answerVariant.webUrl);
|
|
284
|
-
writer.writeAdditionalData(answerVariant.additionalData);
|
|
298
|
+
export function serializeAnswerVariant(writer, answerVariant = {}, isSerializingDerivedType = false) {
|
|
299
|
+
if (!answerVariant || isSerializingDerivedType) {
|
|
300
|
+
return;
|
|
285
301
|
}
|
|
302
|
+
writer.writeStringValue("description", answerVariant.description);
|
|
303
|
+
writer.writeStringValue("displayName", answerVariant.displayName);
|
|
304
|
+
writer.writeStringValue("languageTag", answerVariant.languageTag);
|
|
305
|
+
writer.writeStringValue("@odata.type", answerVariant.odataType);
|
|
306
|
+
writer.writeEnumValue("platform", answerVariant.platform);
|
|
307
|
+
writer.writeStringValue("webUrl", answerVariant.webUrl);
|
|
308
|
+
writer.writeAdditionalData(answerVariant.additionalData);
|
|
286
309
|
}
|
|
287
310
|
/**
|
|
288
311
|
* Serializes information the current object
|
|
312
|
+
* @param Bookmark The instance to serialize from.
|
|
313
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
289
314
|
* @param writer Serialization writer to use to serialize this model
|
|
290
315
|
*/
|
|
291
316
|
// @ts-ignore
|
|
292
|
-
export function serializeBookmark(writer, bookmark = {}) {
|
|
293
|
-
if (bookmark) {
|
|
294
|
-
|
|
295
|
-
writer.writeDateValue("availabilityEndDateTime", bookmark.availabilityEndDateTime);
|
|
296
|
-
writer.writeDateValue("availabilityStartDateTime", bookmark.availabilityStartDateTime);
|
|
297
|
-
writer.writeCollectionOfPrimitiveValues("categories", bookmark.categories);
|
|
298
|
-
writer.writeCollectionOfPrimitiveValues("groupIds", bookmark.groupIds);
|
|
299
|
-
writer.writeBooleanValue("isSuggested", bookmark.isSuggested);
|
|
300
|
-
writer.writeObjectValue("keywords", bookmark.keywords, serializeAnswerKeyword);
|
|
301
|
-
writer.writeCollectionOfPrimitiveValues("languageTags", bookmark.languageTags);
|
|
302
|
-
if (bookmark.platforms)
|
|
303
|
-
writer.writeCollectionOfEnumValues("platforms", bookmark.platforms);
|
|
304
|
-
writer.writeCollectionOfPrimitiveValues("powerAppIds", bookmark.powerAppIds);
|
|
305
|
-
writer.writeEnumValue("state", bookmark.state);
|
|
306
|
-
writer.writeCollectionOfObjectValues("targetedVariations", bookmark.targetedVariations, serializeAnswerVariant);
|
|
317
|
+
export function serializeBookmark(writer, bookmark = {}, isSerializingDerivedType = false) {
|
|
318
|
+
if (!bookmark || isSerializingDerivedType) {
|
|
319
|
+
return;
|
|
307
320
|
}
|
|
321
|
+
serializeSearchAnswer(writer, bookmark, isSerializingDerivedType);
|
|
322
|
+
writer.writeDateValue("availabilityEndDateTime", bookmark.availabilityEndDateTime);
|
|
323
|
+
writer.writeDateValue("availabilityStartDateTime", bookmark.availabilityStartDateTime);
|
|
324
|
+
writer.writeCollectionOfPrimitiveValues("categories", bookmark.categories);
|
|
325
|
+
writer.writeCollectionOfPrimitiveValues("groupIds", bookmark.groupIds);
|
|
326
|
+
writer.writeBooleanValue("isSuggested", bookmark.isSuggested);
|
|
327
|
+
writer.writeObjectValue("keywords", bookmark.keywords, serializeAnswerKeyword);
|
|
328
|
+
writer.writeCollectionOfPrimitiveValues("languageTags", bookmark.languageTags);
|
|
329
|
+
if (bookmark.platforms)
|
|
330
|
+
writer.writeCollectionOfEnumValues("platforms", bookmark.platforms);
|
|
331
|
+
writer.writeCollectionOfPrimitiveValues("powerAppIds", bookmark.powerAppIds);
|
|
332
|
+
writer.writeEnumValue("state", bookmark.state);
|
|
333
|
+
writer.writeCollectionOfObjectValues("targetedVariations", bookmark.targetedVariations, serializeAnswerVariant);
|
|
308
334
|
}
|
|
309
335
|
/**
|
|
310
336
|
* Serializes information the current object
|
|
337
|
+
* @param BookmarkCollectionResponse The instance to serialize from.
|
|
338
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
311
339
|
* @param writer Serialization writer to use to serialize this model
|
|
312
340
|
*/
|
|
313
341
|
// @ts-ignore
|
|
314
|
-
export function serializeBookmarkCollectionResponse(writer, bookmarkCollectionResponse = {}) {
|
|
315
|
-
if (bookmarkCollectionResponse) {
|
|
316
|
-
|
|
317
|
-
writer.writeCollectionOfObjectValues("value", bookmarkCollectionResponse.value, serializeBookmark);
|
|
342
|
+
export function serializeBookmarkCollectionResponse(writer, bookmarkCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
343
|
+
if (!bookmarkCollectionResponse || isSerializingDerivedType) {
|
|
344
|
+
return;
|
|
318
345
|
}
|
|
346
|
+
serializeBaseCollectionPaginationCountResponse(writer, bookmarkCollectionResponse, isSerializingDerivedType);
|
|
347
|
+
writer.writeCollectionOfObjectValues("value", bookmarkCollectionResponse.value, serializeBookmark);
|
|
319
348
|
}
|
|
320
349
|
/**
|
|
321
350
|
* Serializes information the current object
|
|
351
|
+
* @param Identity The instance to serialize from.
|
|
352
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
322
353
|
* @param writer Serialization writer to use to serialize this model
|
|
323
354
|
*/
|
|
324
355
|
// @ts-ignore
|
|
325
|
-
export function serializeIdentity(writer, identity = {}) {
|
|
326
|
-
if (identity) {
|
|
327
|
-
|
|
328
|
-
writer.writeStringValue("id", identity.id);
|
|
329
|
-
writer.writeStringValue("@odata.type", identity.odataType);
|
|
330
|
-
writer.writeAdditionalData(identity.additionalData);
|
|
356
|
+
export function serializeIdentity(writer, identity = {}, isSerializingDerivedType = false) {
|
|
357
|
+
if (!identity || isSerializingDerivedType) {
|
|
358
|
+
return;
|
|
331
359
|
}
|
|
360
|
+
writer.writeStringValue("displayName", identity.displayName);
|
|
361
|
+
writer.writeStringValue("id", identity.id);
|
|
362
|
+
writer.writeStringValue("@odata.type", identity.odataType);
|
|
363
|
+
writer.writeAdditionalData(identity.additionalData);
|
|
332
364
|
}
|
|
333
365
|
/**
|
|
334
366
|
* Serializes information the current object
|
|
367
|
+
* @param IdentitySet The instance to serialize from.
|
|
368
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
335
369
|
* @param writer Serialization writer to use to serialize this model
|
|
336
370
|
*/
|
|
337
371
|
// @ts-ignore
|
|
338
|
-
export function serializeIdentitySet(writer, identitySet = {}) {
|
|
339
|
-
if (identitySet) {
|
|
340
|
-
|
|
341
|
-
writer.writeObjectValue("device", identitySet.device, serializeIdentity);
|
|
342
|
-
writer.writeStringValue("@odata.type", identitySet.odataType);
|
|
343
|
-
writer.writeObjectValue("user", identitySet.user, serializeIdentity);
|
|
344
|
-
writer.writeAdditionalData(identitySet.additionalData);
|
|
372
|
+
export function serializeIdentitySet(writer, identitySet = {}, isSerializingDerivedType = false) {
|
|
373
|
+
if (!identitySet || isSerializingDerivedType) {
|
|
374
|
+
return;
|
|
345
375
|
}
|
|
376
|
+
writer.writeObjectValue("application", identitySet.application, serializeIdentity);
|
|
377
|
+
writer.writeObjectValue("device", identitySet.device, serializeIdentity);
|
|
378
|
+
writer.writeStringValue("@odata.type", identitySet.odataType);
|
|
379
|
+
writer.writeObjectValue("user", identitySet.user, serializeIdentity);
|
|
380
|
+
writer.writeAdditionalData(identitySet.additionalData);
|
|
346
381
|
}
|
|
347
382
|
/**
|
|
348
383
|
* Serializes information the current object
|
|
384
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
385
|
+
* @param Qna The instance to serialize from.
|
|
349
386
|
* @param writer Serialization writer to use to serialize this model
|
|
350
387
|
*/
|
|
351
388
|
// @ts-ignore
|
|
352
|
-
export function serializeQna(writer, qna = {}) {
|
|
353
|
-
if (qna) {
|
|
354
|
-
|
|
355
|
-
writer.writeDateValue("availabilityEndDateTime", qna.availabilityEndDateTime);
|
|
356
|
-
writer.writeDateValue("availabilityStartDateTime", qna.availabilityStartDateTime);
|
|
357
|
-
writer.writeCollectionOfPrimitiveValues("groupIds", qna.groupIds);
|
|
358
|
-
writer.writeBooleanValue("isSuggested", qna.isSuggested);
|
|
359
|
-
writer.writeObjectValue("keywords", qna.keywords, serializeAnswerKeyword);
|
|
360
|
-
writer.writeCollectionOfPrimitiveValues("languageTags", qna.languageTags);
|
|
361
|
-
if (qna.platforms)
|
|
362
|
-
writer.writeCollectionOfEnumValues("platforms", qna.platforms);
|
|
363
|
-
writer.writeEnumValue("state", qna.state);
|
|
364
|
-
writer.writeCollectionOfObjectValues("targetedVariations", qna.targetedVariations, serializeAnswerVariant);
|
|
389
|
+
export function serializeQna(writer, qna = {}, isSerializingDerivedType = false) {
|
|
390
|
+
if (!qna || isSerializingDerivedType) {
|
|
391
|
+
return;
|
|
365
392
|
}
|
|
393
|
+
serializeSearchAnswer(writer, qna, isSerializingDerivedType);
|
|
394
|
+
writer.writeDateValue("availabilityEndDateTime", qna.availabilityEndDateTime);
|
|
395
|
+
writer.writeDateValue("availabilityStartDateTime", qna.availabilityStartDateTime);
|
|
396
|
+
writer.writeCollectionOfPrimitiveValues("groupIds", qna.groupIds);
|
|
397
|
+
writer.writeBooleanValue("isSuggested", qna.isSuggested);
|
|
398
|
+
writer.writeObjectValue("keywords", qna.keywords, serializeAnswerKeyword);
|
|
399
|
+
writer.writeCollectionOfPrimitiveValues("languageTags", qna.languageTags);
|
|
400
|
+
if (qna.platforms)
|
|
401
|
+
writer.writeCollectionOfEnumValues("platforms", qna.platforms);
|
|
402
|
+
writer.writeEnumValue("state", qna.state);
|
|
403
|
+
writer.writeCollectionOfObjectValues("targetedVariations", qna.targetedVariations, serializeAnswerVariant);
|
|
366
404
|
}
|
|
367
405
|
/**
|
|
368
406
|
* Serializes information the current object
|
|
407
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
408
|
+
* @param QnaCollectionResponse The instance to serialize from.
|
|
369
409
|
* @param writer Serialization writer to use to serialize this model
|
|
370
410
|
*/
|
|
371
411
|
// @ts-ignore
|
|
372
|
-
export function serializeQnaCollectionResponse(writer, qnaCollectionResponse = {}) {
|
|
373
|
-
if (qnaCollectionResponse) {
|
|
374
|
-
|
|
375
|
-
writer.writeCollectionOfObjectValues("value", qnaCollectionResponse.value, serializeQna);
|
|
412
|
+
export function serializeQnaCollectionResponse(writer, qnaCollectionResponse = {}, isSerializingDerivedType = false) {
|
|
413
|
+
if (!qnaCollectionResponse || isSerializingDerivedType) {
|
|
414
|
+
return;
|
|
376
415
|
}
|
|
416
|
+
serializeBaseCollectionPaginationCountResponse(writer, qnaCollectionResponse, isSerializingDerivedType);
|
|
417
|
+
writer.writeCollectionOfObjectValues("value", qnaCollectionResponse.value, serializeQna);
|
|
377
418
|
}
|
|
378
419
|
/**
|
|
379
420
|
* Serializes information the current object
|
|
421
|
+
* @param isSerializingDerivedType A boolean indicating whether the serialization is for a derived type.
|
|
422
|
+
* @param SearchAnswer The instance to serialize from.
|
|
380
423
|
* @param writer Serialization writer to use to serialize this model
|
|
381
424
|
*/
|
|
382
425
|
// @ts-ignore
|
|
383
|
-
export function serializeSearchAnswer(writer, searchAnswer = {}) {
|
|
384
|
-
if (searchAnswer) {
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
426
|
+
export function serializeSearchAnswer(writer, searchAnswer = {}, isSerializingDerivedType = false) {
|
|
427
|
+
if (!searchAnswer || isSerializingDerivedType) {
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
serializeEntity(writer, searchAnswer, isSerializingDerivedType);
|
|
431
|
+
writer.writeStringValue("description", searchAnswer.description);
|
|
432
|
+
writer.writeStringValue("displayName", searchAnswer.displayName);
|
|
433
|
+
writer.writeObjectValue("lastModifiedBy", searchAnswer.lastModifiedBy, serializeIdentitySet);
|
|
434
|
+
writer.writeDateValue("lastModifiedDateTime", searchAnswer.lastModifiedDateTime);
|
|
435
|
+
writer.writeStringValue("webUrl", searchAnswer.webUrl);
|
|
436
|
+
switch (searchAnswer.odataType) {
|
|
437
|
+
case "#microsoft.graph.search.acronym":
|
|
438
|
+
serializeAcronym(writer, searchAnswer, true);
|
|
439
|
+
break;
|
|
440
|
+
case "#microsoft.graph.search.bookmark":
|
|
441
|
+
serializeBookmark(writer, searchAnswer, true);
|
|
442
|
+
break;
|
|
443
|
+
case "#microsoft.graph.search.qna":
|
|
444
|
+
serializeQna(writer, searchAnswer, true);
|
|
445
|
+
break;
|
|
391
446
|
}
|
|
392
447
|
}
|
|
393
448
|
export const AnswerStateObject = {
|