@microsoft/msgraph-sdk 1.0.0-preview.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +11 -0
  3. package/graphRequestAdapter.d.ts +15 -0
  4. package/graphRequestAdapter.d.ts.map +1 -0
  5. package/graphRequestAdapter.js +21 -0
  6. package/graphServiceClient.d.ts +19 -0
  7. package/graphServiceClient.d.ts.map +1 -0
  8. package/graphServiceClient.js +51 -0
  9. package/index.d.ts +3 -0
  10. package/index.d.ts.map +1 -0
  11. package/index.js +18 -0
  12. package/models/callRecords/index.d.ts +1414 -0
  13. package/models/callRecords/index.d.ts.map +1 -0
  14. package/models/callRecords/index.js +1104 -0
  15. package/models/externalConnectors/index.d.ts +975 -0
  16. package/models/externalConnectors/index.d.ts.map +1 -0
  17. package/models/externalConnectors/index.js +928 -0
  18. package/models/identityGovernance/index.d.ts +1334 -0
  19. package/models/identityGovernance/index.d.ts.map +1 -0
  20. package/models/identityGovernance/index.js +1189 -0
  21. package/models/index.d.ts +86017 -0
  22. package/models/index.d.ts.map +1 -0
  23. package/models/index.js +74768 -0
  24. package/models/oDataErrors/index.d.ts +158 -0
  25. package/models/oDataErrors/index.d.ts.map +1 -0
  26. package/models/oDataErrors/index.js +139 -0
  27. package/models/security/index.d.ts +6556 -0
  28. package/models/security/index.d.ts.map +1 -0
  29. package/models/security/index.js +5717 -0
  30. package/models/termStore/index.d.ts +454 -0
  31. package/models/termStore/index.d.ts.map +1 -0
  32. package/models/termStore/index.js +406 -0
  33. package/package.json +51 -0
  34. package/tsconfig.json +9 -0
  35. package/tsconfig.tsbuildinfo +1 -0
  36. package/version.d.ts +2 -0
  37. package/version.d.ts.map +1 -0
  38. package/version.js +4 -0
@@ -0,0 +1,975 @@
1
+ import { BinaryOperator, type BaseCollectionPaginationCountResponse, type Entity, type Json, type PublicError } from '../';
2
+ import { type AdditionalDataHolder, type BackedModel, type Parsable, type ParseNode, type SerializationWriter } from '@microsoft/kiota-abstractions';
3
+ export type AccessType = (typeof AccessTypeObject)[keyof typeof AccessTypeObject];
4
+ export interface Acl extends AdditionalDataHolder, BackedModel, Parsable {
5
+ /**
6
+ * The accessType property
7
+ */
8
+ accessType?: AccessType;
9
+ /**
10
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
11
+ */
12
+ additionalData?: Record<string, unknown>;
13
+ /**
14
+ * Stores model information.
15
+ */
16
+ backingStoreEnabled?: boolean;
17
+ /**
18
+ * The OdataType property
19
+ */
20
+ odataType?: string;
21
+ /**
22
+ * The type property
23
+ */
24
+ type?: AclType;
25
+ /**
26
+ * The unique identifer of the identity. For Microsoft Entra identities, value is set to the object identifier of the user, group or tenant for types user, group and everyone (and everyoneExceptGuests) respectively. For external groups value is set to the ID of the externalGroup
27
+ */
28
+ value?: string;
29
+ }
30
+ export type AclType = (typeof AclTypeObject)[keyof typeof AclTypeObject];
31
+ export interface ActivitySettings extends AdditionalDataHolder, BackedModel, Parsable {
32
+ /**
33
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
34
+ */
35
+ additionalData?: Record<string, unknown>;
36
+ /**
37
+ * Stores model information.
38
+ */
39
+ backingStoreEnabled?: boolean;
40
+ /**
41
+ * The OdataType property
42
+ */
43
+ odataType?: string;
44
+ /**
45
+ * Specifies configurations to identify an externalItem based on a shared URL.
46
+ */
47
+ urlToItemResolvers?: UrlToItemResolverBase[];
48
+ }
49
+ export interface Configuration extends AdditionalDataHolder, BackedModel, Parsable {
50
+ /**
51
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
52
+ */
53
+ additionalData?: Record<string, unknown>;
54
+ /**
55
+ * A collection of application IDs for registered Microsoft Entra apps that are allowed to manage the externalConnection and to index content in the externalConnection.
56
+ */
57
+ authorizedAppIds?: string[];
58
+ /**
59
+ * Stores model information.
60
+ */
61
+ backingStoreEnabled?: boolean;
62
+ /**
63
+ * The OdataType property
64
+ */
65
+ odataType?: string;
66
+ }
67
+ export interface ConnectionOperation extends Entity, Parsable {
68
+ /**
69
+ * If status is failed, provides more information about the error that caused the failure.
70
+ */
71
+ errorEscaped?: PublicError;
72
+ /**
73
+ * Indicates the status of the asynchronous operation. Possible values are: unspecified, inprogress, completed, failed, unknownFutureValue.
74
+ */
75
+ status?: ConnectionOperationStatus;
76
+ }
77
+ export interface ConnectionOperationCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
78
+ /**
79
+ * The value property
80
+ */
81
+ value?: ConnectionOperation[];
82
+ }
83
+ export type ConnectionOperationStatus = (typeof ConnectionOperationStatusObject)[keyof typeof ConnectionOperationStatusObject];
84
+ export type ConnectionState = (typeof ConnectionStateObject)[keyof typeof ConnectionStateObject];
85
+ /**
86
+ * Creates a new instance of the appropriate class based on discriminator value
87
+ * @param parseNode The parse node to use to read the discriminator value and create the object
88
+ * @returns a acl
89
+ */
90
+ export declare function createAclFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoAcl;
91
+ /**
92
+ * Creates a new instance of the appropriate class based on discriminator value
93
+ * @param parseNode The parse node to use to read the discriminator value and create the object
94
+ * @returns a activitySettings
95
+ */
96
+ export declare function createActivitySettingsFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoActivitySettings;
97
+ /**
98
+ * Creates a new instance of the appropriate class based on discriminator value
99
+ * @param parseNode The parse node to use to read the discriminator value and create the object
100
+ * @returns a configuration
101
+ */
102
+ export declare function createConfigurationFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoConfiguration;
103
+ /**
104
+ * Creates a new instance of the appropriate class based on discriminator value
105
+ * @param parseNode The parse node to use to read the discriminator value and create the object
106
+ * @returns a connectionOperationCollectionResponse
107
+ */
108
+ export declare function createConnectionOperationCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoConnectionOperationCollectionResponse;
109
+ /**
110
+ * Creates a new instance of the appropriate class based on discriminator value
111
+ * @param parseNode The parse node to use to read the discriminator value and create the object
112
+ * @returns a connectionOperation
113
+ */
114
+ export declare function createConnectionOperationFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoConnectionOperation;
115
+ /**
116
+ * Creates a new instance of the appropriate class based on discriminator value
117
+ * @param parseNode The parse node to use to read the discriminator value and create the object
118
+ * @returns a displayTemplate
119
+ */
120
+ export declare function createDisplayTemplateFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoDisplayTemplate;
121
+ /**
122
+ * Creates a new instance of the appropriate class based on discriminator value
123
+ * @param parseNode The parse node to use to read the discriminator value and create the object
124
+ * @returns a externalActivityCollectionResponse
125
+ */
126
+ export declare function createExternalActivityCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalActivityCollectionResponse;
127
+ /**
128
+ * Creates a new instance of the appropriate class based on discriminator value
129
+ * @param parseNode The parse node to use to read the discriminator value and create the object
130
+ * @returns a externalActivity
131
+ */
132
+ export declare function createExternalActivityFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalActivityResult;
133
+ /**
134
+ * Creates a new instance of the appropriate class based on discriminator value
135
+ * @param parseNode The parse node to use to read the discriminator value and create the object
136
+ * @returns a externalActivityResult
137
+ */
138
+ export declare function createExternalActivityResultFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalActivityResult;
139
+ /**
140
+ * Creates a new instance of the appropriate class based on discriminator value
141
+ * @param parseNode The parse node to use to read the discriminator value and create the object
142
+ * @returns a externalConnectionCollectionResponse
143
+ */
144
+ export declare function createExternalConnectionCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalConnectionCollectionResponse;
145
+ /**
146
+ * Creates a new instance of the appropriate class based on discriminator value
147
+ * @param parseNode The parse node to use to read the discriminator value and create the object
148
+ * @returns a externalConnection
149
+ */
150
+ export declare function createExternalConnectionFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalConnection;
151
+ /**
152
+ * Creates a new instance of the appropriate class based on discriminator value
153
+ * @param parseNode The parse node to use to read the discriminator value and create the object
154
+ * @returns a external
155
+ */
156
+ export declare function createExternalFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternal;
157
+ /**
158
+ * Creates a new instance of the appropriate class based on discriminator value
159
+ * @param parseNode The parse node to use to read the discriminator value and create the object
160
+ * @returns a externalGroupCollectionResponse
161
+ */
162
+ export declare function createExternalGroupCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalGroupCollectionResponse;
163
+ /**
164
+ * Creates a new instance of the appropriate class based on discriminator value
165
+ * @param parseNode The parse node to use to read the discriminator value and create the object
166
+ * @returns a externalGroup
167
+ */
168
+ export declare function createExternalGroupFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalGroup;
169
+ /**
170
+ * Creates a new instance of the appropriate class based on discriminator value
171
+ * @param parseNode The parse node to use to read the discriminator value and create the object
172
+ * @returns a externalItemCollectionResponse
173
+ */
174
+ export declare function createExternalItemCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalItemCollectionResponse;
175
+ /**
176
+ * Creates a new instance of the appropriate class based on discriminator value
177
+ * @param parseNode The parse node to use to read the discriminator value and create the object
178
+ * @returns a externalItemContent
179
+ */
180
+ export declare function createExternalItemContentFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalItemContent;
181
+ /**
182
+ * Creates a new instance of the appropriate class based on discriminator value
183
+ * @param parseNode The parse node to use to read the discriminator value and create the object
184
+ * @returns a externalItem
185
+ */
186
+ export declare function createExternalItemFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoExternalItem;
187
+ /**
188
+ * Creates a new instance of the appropriate class based on discriminator value
189
+ * @param parseNode The parse node to use to read the discriminator value and create the object
190
+ * @returns a identityCollectionResponse
191
+ */
192
+ export declare function createIdentityCollectionResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoIdentityCollectionResponse;
193
+ /**
194
+ * Creates a new instance of the appropriate class based on discriminator value
195
+ * @param parseNode The parse node to use to read the discriminator value and create the object
196
+ * @returns a identity
197
+ */
198
+ export declare function createIdentityFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoIdentity;
199
+ /**
200
+ * Creates a new instance of the appropriate class based on discriminator value
201
+ * @param parseNode The parse node to use to read the discriminator value and create the object
202
+ * @returns a itemIdResolver
203
+ */
204
+ export declare function createItemIdResolverFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoItemIdResolver;
205
+ /**
206
+ * Creates a new instance of the appropriate class based on discriminator value
207
+ * @param parseNode The parse node to use to read the discriminator value and create the object
208
+ * @returns a properties
209
+ */
210
+ export declare function createPropertiesFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoProperties;
211
+ /**
212
+ * Creates a new instance of the appropriate class based on discriminator value
213
+ * @param parseNode The parse node to use to read the discriminator value and create the object
214
+ * @returns a property
215
+ */
216
+ export declare function createPropertyFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoProperty;
217
+ /**
218
+ * Creates a new instance of the appropriate class based on discriminator value
219
+ * @param parseNode The parse node to use to read the discriminator value and create the object
220
+ * @returns a propertyRule
221
+ */
222
+ export declare function createPropertyRuleFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoPropertyRule;
223
+ /**
224
+ * Creates a new instance of the appropriate class based on discriminator value
225
+ * @param parseNode The parse node to use to read the discriminator value and create the object
226
+ * @returns a schema
227
+ */
228
+ export declare function createSchemaFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoSchema;
229
+ /**
230
+ * Creates a new instance of the appropriate class based on discriminator value
231
+ * @param parseNode The parse node to use to read the discriminator value and create the object
232
+ * @returns a searchSettings
233
+ */
234
+ export declare function createSearchSettingsFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoSearchSettings;
235
+ /**
236
+ * Creates a new instance of the appropriate class based on discriminator value
237
+ * @param parseNode The parse node to use to read the discriminator value and create the object
238
+ * @returns a urlMatchInfo
239
+ */
240
+ export declare function createUrlMatchInfoFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoUrlMatchInfo;
241
+ /**
242
+ * Creates a new instance of the appropriate class based on discriminator value
243
+ * @param parseNode The parse node to use to read the discriminator value and create the object
244
+ * @returns a urlToItemResolverBase
245
+ */
246
+ export declare function createUrlToItemResolverBaseFromDiscriminatorValue(parseNode: ParseNode | undefined): typeof deserializeIntoItemIdResolver;
247
+ /**
248
+ * The deserialization information for the current model
249
+ * @returns a Record<string, (node: ParseNode) => void>
250
+ */
251
+ export declare function deserializeIntoAcl(acl?: Acl | undefined): Record<string, (node: ParseNode) => void>;
252
+ /**
253
+ * The deserialization information for the current model
254
+ * @returns a Record<string, (node: ParseNode) => void>
255
+ */
256
+ export declare function deserializeIntoActivitySettings(activitySettings?: ActivitySettings | undefined): Record<string, (node: ParseNode) => void>;
257
+ /**
258
+ * The deserialization information for the current model
259
+ * @returns a Record<string, (node: ParseNode) => void>
260
+ */
261
+ export declare function deserializeIntoConfiguration(configuration?: Configuration | undefined): Record<string, (node: ParseNode) => void>;
262
+ /**
263
+ * The deserialization information for the current model
264
+ * @returns a Record<string, (node: ParseNode) => void>
265
+ */
266
+ export declare function deserializeIntoConnectionOperation(connectionOperation?: ConnectionOperation | undefined): Record<string, (node: ParseNode) => void>;
267
+ /**
268
+ * The deserialization information for the current model
269
+ * @returns a Record<string, (node: ParseNode) => void>
270
+ */
271
+ export declare function deserializeIntoConnectionOperationCollectionResponse(connectionOperationCollectionResponse?: ConnectionOperationCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
272
+ /**
273
+ * The deserialization information for the current model
274
+ * @returns a Record<string, (node: ParseNode) => void>
275
+ */
276
+ export declare function deserializeIntoDisplayTemplate(displayTemplate?: DisplayTemplate | undefined): Record<string, (node: ParseNode) => void>;
277
+ /**
278
+ * The deserialization information for the current model
279
+ * @returns a Record<string, (node: ParseNode) => void>
280
+ */
281
+ export declare function deserializeIntoExternal(external?: External | undefined): Record<string, (node: ParseNode) => void>;
282
+ /**
283
+ * The deserialization information for the current model
284
+ * @returns a Record<string, (node: ParseNode) => void>
285
+ */
286
+ export declare function deserializeIntoExternalActivity(externalActivity?: ExternalActivity | undefined): Record<string, (node: ParseNode) => void>;
287
+ /**
288
+ * The deserialization information for the current model
289
+ * @returns a Record<string, (node: ParseNode) => void>
290
+ */
291
+ export declare function deserializeIntoExternalActivityCollectionResponse(externalActivityCollectionResponse?: ExternalActivityCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
292
+ /**
293
+ * The deserialization information for the current model
294
+ * @returns a Record<string, (node: ParseNode) => void>
295
+ */
296
+ export declare function deserializeIntoExternalActivityResult(externalActivityResult?: ExternalActivityResult | undefined): Record<string, (node: ParseNode) => void>;
297
+ /**
298
+ * The deserialization information for the current model
299
+ * @returns a Record<string, (node: ParseNode) => void>
300
+ */
301
+ export declare function deserializeIntoExternalConnection(externalConnection?: ExternalConnection | undefined): Record<string, (node: ParseNode) => void>;
302
+ /**
303
+ * The deserialization information for the current model
304
+ * @returns a Record<string, (node: ParseNode) => void>
305
+ */
306
+ export declare function deserializeIntoExternalConnectionCollectionResponse(externalConnectionCollectionResponse?: ExternalConnectionCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
307
+ /**
308
+ * The deserialization information for the current model
309
+ * @returns a Record<string, (node: ParseNode) => void>
310
+ */
311
+ export declare function deserializeIntoExternalGroup(externalGroup?: ExternalGroup | undefined): Record<string, (node: ParseNode) => void>;
312
+ /**
313
+ * The deserialization information for the current model
314
+ * @returns a Record<string, (node: ParseNode) => void>
315
+ */
316
+ export declare function deserializeIntoExternalGroupCollectionResponse(externalGroupCollectionResponse?: ExternalGroupCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
317
+ /**
318
+ * The deserialization information for the current model
319
+ * @returns a Record<string, (node: ParseNode) => void>
320
+ */
321
+ export declare function deserializeIntoExternalItem(externalItem?: ExternalItem | undefined): Record<string, (node: ParseNode) => void>;
322
+ /**
323
+ * The deserialization information for the current model
324
+ * @returns a Record<string, (node: ParseNode) => void>
325
+ */
326
+ export declare function deserializeIntoExternalItemCollectionResponse(externalItemCollectionResponse?: ExternalItemCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
327
+ /**
328
+ * The deserialization information for the current model
329
+ * @returns a Record<string, (node: ParseNode) => void>
330
+ */
331
+ export declare function deserializeIntoExternalItemContent(externalItemContent?: ExternalItemContent | undefined): Record<string, (node: ParseNode) => void>;
332
+ /**
333
+ * The deserialization information for the current model
334
+ * @returns a Record<string, (node: ParseNode) => void>
335
+ */
336
+ export declare function deserializeIntoIdentity(identity?: Identity | undefined): Record<string, (node: ParseNode) => void>;
337
+ /**
338
+ * The deserialization information for the current model
339
+ * @returns a Record<string, (node: ParseNode) => void>
340
+ */
341
+ export declare function deserializeIntoIdentityCollectionResponse(identityCollectionResponse?: IdentityCollectionResponse | undefined): Record<string, (node: ParseNode) => void>;
342
+ /**
343
+ * The deserialization information for the current model
344
+ * @returns a Record<string, (node: ParseNode) => void>
345
+ */
346
+ export declare function deserializeIntoItemIdResolver(itemIdResolver?: ItemIdResolver | undefined): Record<string, (node: ParseNode) => void>;
347
+ /**
348
+ * The deserialization information for the current model
349
+ * @returns a Record<string, (node: ParseNode) => void>
350
+ */
351
+ export declare function deserializeIntoProperties(properties?: Properties | undefined): Record<string, (node: ParseNode) => void>;
352
+ /**
353
+ * The deserialization information for the current model
354
+ * @returns a Record<string, (node: ParseNode) => void>
355
+ */
356
+ export declare function deserializeIntoProperty(property?: Property | undefined): Record<string, (node: ParseNode) => void>;
357
+ /**
358
+ * The deserialization information for the current model
359
+ * @returns a Record<string, (node: ParseNode) => void>
360
+ */
361
+ export declare function deserializeIntoPropertyRule(propertyRule?: PropertyRule | undefined): Record<string, (node: ParseNode) => void>;
362
+ /**
363
+ * The deserialization information for the current model
364
+ * @returns a Record<string, (node: ParseNode) => void>
365
+ */
366
+ export declare function deserializeIntoSchema(schema?: Schema | undefined): Record<string, (node: ParseNode) => void>;
367
+ /**
368
+ * The deserialization information for the current model
369
+ * @returns a Record<string, (node: ParseNode) => void>
370
+ */
371
+ export declare function deserializeIntoSearchSettings(searchSettings?: SearchSettings | undefined): Record<string, (node: ParseNode) => void>;
372
+ /**
373
+ * The deserialization information for the current model
374
+ * @returns a Record<string, (node: ParseNode) => void>
375
+ */
376
+ export declare function deserializeIntoUrlMatchInfo(urlMatchInfo?: UrlMatchInfo | undefined): Record<string, (node: ParseNode) => void>;
377
+ /**
378
+ * The deserialization information for the current model
379
+ * @returns a Record<string, (node: ParseNode) => void>
380
+ */
381
+ export declare function deserializeIntoUrlToItemResolverBase(urlToItemResolverBase?: UrlToItemResolverBase | undefined): Record<string, (node: ParseNode) => void>;
382
+ export interface DisplayTemplate extends AdditionalDataHolder, BackedModel, Parsable {
383
+ /**
384
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
385
+ */
386
+ additionalData?: Record<string, unknown>;
387
+ /**
388
+ * Stores model information.
389
+ */
390
+ backingStoreEnabled?: boolean;
391
+ /**
392
+ * The text identifier for the display template; for example, contosoTickets. Maximum 16 characters. Only alphanumeric characters allowed.
393
+ */
394
+ id?: string;
395
+ /**
396
+ * The layout property
397
+ */
398
+ layout?: Json;
399
+ /**
400
+ * The OdataType property
401
+ */
402
+ odataType?: string;
403
+ /**
404
+ * Defines the priority of a display template. A display template with priority 1 is evaluated before a template with priority 4. Gaps in priority values are supported. Must be positive value.
405
+ */
406
+ priority?: number;
407
+ /**
408
+ * Specifies additional rules for selecting this display template based on the item schema. Optional.
409
+ */
410
+ rules?: PropertyRule[];
411
+ }
412
+ export interface External extends AdditionalDataHolder, BackedModel, Parsable {
413
+ /**
414
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
415
+ */
416
+ additionalData?: Record<string, unknown>;
417
+ /**
418
+ * Stores model information.
419
+ */
420
+ backingStoreEnabled?: boolean;
421
+ /**
422
+ * The connections property
423
+ */
424
+ connections?: ExternalConnection[];
425
+ /**
426
+ * The OdataType property
427
+ */
428
+ odataType?: string;
429
+ }
430
+ export interface ExternalActivity extends Entity, Parsable {
431
+ /**
432
+ * Represents an identity used to identify who is responsible for the activity.
433
+ */
434
+ performedBy?: Identity;
435
+ /**
436
+ * The date and time when the particular activity occurred. The DateTimeOffset type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
437
+ */
438
+ startDateTime?: Date;
439
+ /**
440
+ * The type property
441
+ */
442
+ type?: ExternalActivityType;
443
+ }
444
+ export interface ExternalActivityCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
445
+ /**
446
+ * The value property
447
+ */
448
+ value?: ExternalActivity[];
449
+ }
450
+ export interface ExternalActivityResult extends ExternalActivity, Parsable {
451
+ /**
452
+ * Error information that explains the failure to process an external activity.
453
+ */
454
+ errorEscaped?: PublicError;
455
+ }
456
+ export type ExternalActivityType = (typeof ExternalActivityTypeObject)[keyof typeof ExternalActivityTypeObject];
457
+ export interface ExternalConnection extends Entity, Parsable {
458
+ /**
459
+ * Collects configurable settings related to activities involving connector content.
460
+ */
461
+ activitySettings?: ActivitySettings;
462
+ /**
463
+ * Specifies additional application IDs that are allowed to manage the connection and to index content in the connection. Optional.
464
+ */
465
+ configuration?: Configuration;
466
+ /**
467
+ * The Teams app ID. Optional.
468
+ */
469
+ connectorId?: string;
470
+ /**
471
+ * Description of the connection displayed in the Microsoft 365 admin center. Optional.
472
+ */
473
+ description?: string;
474
+ /**
475
+ * The groups property
476
+ */
477
+ groups?: ExternalGroup[];
478
+ /**
479
+ * The items property
480
+ */
481
+ items?: ExternalItem[];
482
+ /**
483
+ * The display name of the connection to be displayed in the Microsoft 365 admin center. Maximum length of 128 characters. Required.
484
+ */
485
+ name?: string;
486
+ /**
487
+ * The operations property
488
+ */
489
+ operations?: ConnectionOperation[];
490
+ /**
491
+ * The schema property
492
+ */
493
+ schema?: Schema;
494
+ /**
495
+ * The settings configuring the search experience for content in this connection, such as the display templates for search results.
496
+ */
497
+ searchSettings?: SearchSettings;
498
+ /**
499
+ * Indicates the current state of the connection. Possible values are: draft, ready, obsolete, limitExceeded, unknownFutureValue.
500
+ */
501
+ state?: ConnectionState;
502
+ }
503
+ export interface ExternalConnectionCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
504
+ /**
505
+ * The value property
506
+ */
507
+ value?: ExternalConnection[];
508
+ }
509
+ export interface ExternalGroup extends Entity, Parsable {
510
+ /**
511
+ * The description of the external group. Optional.
512
+ */
513
+ description?: string;
514
+ /**
515
+ * The friendly name of the external group. Optional.
516
+ */
517
+ displayName?: string;
518
+ /**
519
+ * A member added to an externalGroup. You can add Microsoft Entra users, Microsoft Entra groups, or an externalGroup as members.
520
+ */
521
+ members?: Identity[];
522
+ }
523
+ export interface ExternalGroupCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
524
+ /**
525
+ * The value property
526
+ */
527
+ value?: ExternalGroup[];
528
+ }
529
+ export interface ExternalItem extends Entity, Parsable {
530
+ /**
531
+ * An array of access control entries. Each entry specifies the access granted to a user or group. Required.
532
+ */
533
+ acl?: Acl[];
534
+ /**
535
+ * Returns a list of activities performed on the item. Write-only.
536
+ */
537
+ activities?: ExternalActivity[];
538
+ /**
539
+ * A plain-text representation of the contents of the item. The text in this property is full-text indexed. Optional.
540
+ */
541
+ content?: ExternalItemContent;
542
+ /**
543
+ * A property bag with the properties of the item. The properties MUST conform to the schema defined for the externalConnection. Required.
544
+ */
545
+ properties?: Properties;
546
+ }
547
+ export interface ExternalItemCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
548
+ /**
549
+ * The value property
550
+ */
551
+ value?: ExternalItem[];
552
+ }
553
+ export interface ExternalItemContent extends AdditionalDataHolder, BackedModel, Parsable {
554
+ /**
555
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
556
+ */
557
+ additionalData?: Record<string, unknown>;
558
+ /**
559
+ * Stores model information.
560
+ */
561
+ backingStoreEnabled?: boolean;
562
+ /**
563
+ * The OdataType property
564
+ */
565
+ odataType?: string;
566
+ /**
567
+ * The type property
568
+ */
569
+ type?: ExternalItemContentType;
570
+ /**
571
+ * The content for the externalItem. Required.
572
+ */
573
+ value?: string;
574
+ }
575
+ export type ExternalItemContentType = (typeof ExternalItemContentTypeObject)[keyof typeof ExternalItemContentTypeObject];
576
+ export interface Identity extends Entity, Parsable {
577
+ /**
578
+ * The type of identity. Possible values are: user or group for Microsoft Entra identities and externalgroup for groups in an external system.
579
+ */
580
+ type?: IdentityType;
581
+ }
582
+ export interface IdentityCollectionResponse extends BaseCollectionPaginationCountResponse, Parsable {
583
+ /**
584
+ * The value property
585
+ */
586
+ value?: Identity[];
587
+ }
588
+ export type IdentityType = (typeof IdentityTypeObject)[keyof typeof IdentityTypeObject];
589
+ export interface ItemIdResolver extends Parsable, UrlToItemResolverBase {
590
+ /**
591
+ * Pattern that specifies how to form the ID of the external item that the URL represents. The named groups from the regular expression in urlPattern within the urlMatchInfo can be referenced by inserting the group name inside curly brackets.
592
+ */
593
+ itemId?: string;
594
+ /**
595
+ * Configurations to match and resolve URL.
596
+ */
597
+ urlMatchInfo?: UrlMatchInfo;
598
+ }
599
+ export type Label = (typeof LabelObject)[keyof typeof LabelObject];
600
+ export interface Properties extends AdditionalDataHolder, BackedModel, Parsable {
601
+ /**
602
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
603
+ */
604
+ additionalData?: Record<string, unknown>;
605
+ /**
606
+ * Stores model information.
607
+ */
608
+ backingStoreEnabled?: boolean;
609
+ /**
610
+ * The OdataType property
611
+ */
612
+ odataType?: string;
613
+ }
614
+ export interface Property extends AdditionalDataHolder, BackedModel, Parsable {
615
+ /**
616
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
617
+ */
618
+ additionalData?: Record<string, unknown>;
619
+ /**
620
+ * A set of aliases or a friendly name for the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Optional.
621
+ */
622
+ aliases?: string[];
623
+ /**
624
+ * Stores model information.
625
+ */
626
+ backingStoreEnabled?: boolean;
627
+ /**
628
+ * Specifies if the property is queryable. Queryable properties can be used in Keyword Query Language (KQL) queries. Optional.
629
+ */
630
+ isQueryable?: boolean;
631
+ /**
632
+ * Specifies if the property is refinable. Refinable properties can be used to filter search results in the Search API and add a refiner control in the Microsoft Search user experience. Optional.
633
+ */
634
+ isRefinable?: boolean;
635
+ /**
636
+ * Specifies if the property is retrievable. Retrievable properties are returned in the result set when items are returned by the search API. Retrievable properties are also available to add to the display template used to render search results. Optional.
637
+ */
638
+ isRetrievable?: boolean;
639
+ /**
640
+ * Specifies if the property is searchable. Only properties of type String or StringCollection can be searchable. Nonsearchable properties aren't added to the search index. Optional.
641
+ */
642
+ isSearchable?: boolean;
643
+ /**
644
+ * Specifies one or more well-known tags added against a property. Labels help Microsoft Search understand the semantics of the data in the connection. Adding appropriate labels would result in an enhanced search experience (for example, better relevance). Optional.The possible values are: title, url, createdBy, lastModifiedBy, authors, createdDateTime, lastModifiedDateTime, fileName, fileExtension, unknownFutureValue, iconUrl. You must use the Prefer: include-unknown-enum-members request header to get the following value in this evolvable enum: iconUrl.
645
+ */
646
+ labels?: Label[];
647
+ /**
648
+ * The name of the property. Maximum 32 characters. Only alphanumeric characters allowed. For example, each string may not contain control characters, whitespace, or any of the following: :, ;, ,, (, ), [, ], {, }, %, $, +, !, *, =, &, ?, @, #, /, ~, ', ', <, >, `, ^. Required.
649
+ */
650
+ name?: string;
651
+ /**
652
+ * The OdataType property
653
+ */
654
+ odataType?: string;
655
+ /**
656
+ * The type property
657
+ */
658
+ type?: PropertyType;
659
+ }
660
+ export interface PropertyRule extends AdditionalDataHolder, BackedModel, Parsable {
661
+ /**
662
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
663
+ */
664
+ additionalData?: Record<string, unknown>;
665
+ /**
666
+ * Stores model information.
667
+ */
668
+ backingStoreEnabled?: boolean;
669
+ /**
670
+ * The OdataType property
671
+ */
672
+ odataType?: string;
673
+ /**
674
+ * The operation property
675
+ */
676
+ operation?: RuleOperation;
677
+ /**
678
+ * The property from the externalItem schema. Required.
679
+ */
680
+ property?: string;
681
+ /**
682
+ * A collection with one or many strings. The specified string(s) will be matched with the specified property using the specified operation. Required.
683
+ */
684
+ values?: string[];
685
+ /**
686
+ * The valuesJoinedBy property
687
+ */
688
+ valuesJoinedBy?: BinaryOperator;
689
+ }
690
+ export type PropertyType = (typeof PropertyTypeObject)[keyof typeof PropertyTypeObject];
691
+ export type RuleOperation = (typeof RuleOperationObject)[keyof typeof RuleOperationObject];
692
+ export interface Schema extends Entity, Parsable {
693
+ /**
694
+ * Must be set to microsoft.graph.externalConnector.externalItem. Required.
695
+ */
696
+ baseType?: string;
697
+ /**
698
+ * The properties defined for the items in the connection. The minimum number of properties is one, the maximum is 128.
699
+ */
700
+ properties?: Property[];
701
+ }
702
+ export interface SearchSettings extends AdditionalDataHolder, BackedModel, Parsable {
703
+ /**
704
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
705
+ */
706
+ additionalData?: Record<string, unknown>;
707
+ /**
708
+ * Stores model information.
709
+ */
710
+ backingStoreEnabled?: boolean;
711
+ /**
712
+ * The OdataType property
713
+ */
714
+ odataType?: string;
715
+ /**
716
+ * Enables the developer to define the appearance of the content and configure conditions that dictate when the template should be displayed. Maximum of 2 search result templates per connection.
717
+ */
718
+ searchResultTemplates?: DisplayTemplate[];
719
+ }
720
+ /**
721
+ * Serializes information the current object
722
+ * @param writer Serialization writer to use to serialize this model
723
+ */
724
+ export declare function serializeAcl(writer: SerializationWriter, acl?: Acl | undefined): void;
725
+ /**
726
+ * Serializes information the current object
727
+ * @param writer Serialization writer to use to serialize this model
728
+ */
729
+ export declare function serializeActivitySettings(writer: SerializationWriter, activitySettings?: ActivitySettings | undefined): void;
730
+ /**
731
+ * Serializes information the current object
732
+ * @param writer Serialization writer to use to serialize this model
733
+ */
734
+ export declare function serializeConfiguration(writer: SerializationWriter, configuration?: Configuration | undefined): void;
735
+ /**
736
+ * Serializes information the current object
737
+ * @param writer Serialization writer to use to serialize this model
738
+ */
739
+ export declare function serializeConnectionOperation(writer: SerializationWriter, connectionOperation?: ConnectionOperation | undefined): void;
740
+ /**
741
+ * Serializes information the current object
742
+ * @param writer Serialization writer to use to serialize this model
743
+ */
744
+ export declare function serializeConnectionOperationCollectionResponse(writer: SerializationWriter, connectionOperationCollectionResponse?: ConnectionOperationCollectionResponse | undefined): void;
745
+ /**
746
+ * Serializes information the current object
747
+ * @param writer Serialization writer to use to serialize this model
748
+ */
749
+ export declare function serializeDisplayTemplate(writer: SerializationWriter, displayTemplate?: DisplayTemplate | undefined): void;
750
+ /**
751
+ * Serializes information the current object
752
+ * @param writer Serialization writer to use to serialize this model
753
+ */
754
+ export declare function serializeExternal(writer: SerializationWriter, external?: External | undefined): void;
755
+ /**
756
+ * Serializes information the current object
757
+ * @param writer Serialization writer to use to serialize this model
758
+ */
759
+ export declare function serializeExternalActivity(writer: SerializationWriter, externalActivity?: ExternalActivity | undefined): void;
760
+ /**
761
+ * Serializes information the current object
762
+ * @param writer Serialization writer to use to serialize this model
763
+ */
764
+ export declare function serializeExternalActivityCollectionResponse(writer: SerializationWriter, externalActivityCollectionResponse?: ExternalActivityCollectionResponse | undefined): void;
765
+ /**
766
+ * Serializes information the current object
767
+ * @param writer Serialization writer to use to serialize this model
768
+ */
769
+ export declare function serializeExternalActivityResult(writer: SerializationWriter, externalActivityResult?: ExternalActivityResult | undefined): void;
770
+ /**
771
+ * Serializes information the current object
772
+ * @param writer Serialization writer to use to serialize this model
773
+ */
774
+ export declare function serializeExternalConnection(writer: SerializationWriter, externalConnection?: ExternalConnection | undefined): void;
775
+ /**
776
+ * Serializes information the current object
777
+ * @param writer Serialization writer to use to serialize this model
778
+ */
779
+ export declare function serializeExternalConnectionCollectionResponse(writer: SerializationWriter, externalConnectionCollectionResponse?: ExternalConnectionCollectionResponse | undefined): void;
780
+ /**
781
+ * Serializes information the current object
782
+ * @param writer Serialization writer to use to serialize this model
783
+ */
784
+ export declare function serializeExternalGroup(writer: SerializationWriter, externalGroup?: ExternalGroup | undefined): void;
785
+ /**
786
+ * Serializes information the current object
787
+ * @param writer Serialization writer to use to serialize this model
788
+ */
789
+ export declare function serializeExternalGroupCollectionResponse(writer: SerializationWriter, externalGroupCollectionResponse?: ExternalGroupCollectionResponse | undefined): void;
790
+ /**
791
+ * Serializes information the current object
792
+ * @param writer Serialization writer to use to serialize this model
793
+ */
794
+ export declare function serializeExternalItem(writer: SerializationWriter, externalItem?: ExternalItem | undefined): void;
795
+ /**
796
+ * Serializes information the current object
797
+ * @param writer Serialization writer to use to serialize this model
798
+ */
799
+ export declare function serializeExternalItemCollectionResponse(writer: SerializationWriter, externalItemCollectionResponse?: ExternalItemCollectionResponse | undefined): void;
800
+ /**
801
+ * Serializes information the current object
802
+ * @param writer Serialization writer to use to serialize this model
803
+ */
804
+ export declare function serializeExternalItemContent(writer: SerializationWriter, externalItemContent?: ExternalItemContent | undefined): void;
805
+ /**
806
+ * Serializes information the current object
807
+ * @param writer Serialization writer to use to serialize this model
808
+ */
809
+ export declare function serializeIdentity(writer: SerializationWriter, identity?: Identity | undefined): void;
810
+ /**
811
+ * Serializes information the current object
812
+ * @param writer Serialization writer to use to serialize this model
813
+ */
814
+ export declare function serializeIdentityCollectionResponse(writer: SerializationWriter, identityCollectionResponse?: IdentityCollectionResponse | undefined): void;
815
+ /**
816
+ * Serializes information the current object
817
+ * @param writer Serialization writer to use to serialize this model
818
+ */
819
+ export declare function serializeItemIdResolver(writer: SerializationWriter, itemIdResolver?: ItemIdResolver | undefined): void;
820
+ /**
821
+ * Serializes information the current object
822
+ * @param writer Serialization writer to use to serialize this model
823
+ */
824
+ export declare function serializeProperties(writer: SerializationWriter, properties?: Properties | undefined): void;
825
+ /**
826
+ * Serializes information the current object
827
+ * @param writer Serialization writer to use to serialize this model
828
+ */
829
+ export declare function serializeProperty(writer: SerializationWriter, property?: Property | undefined): void;
830
+ /**
831
+ * Serializes information the current object
832
+ * @param writer Serialization writer to use to serialize this model
833
+ */
834
+ export declare function serializePropertyRule(writer: SerializationWriter, propertyRule?: PropertyRule | undefined): void;
835
+ /**
836
+ * Serializes information the current object
837
+ * @param writer Serialization writer to use to serialize this model
838
+ */
839
+ export declare function serializeSchema(writer: SerializationWriter, schema?: Schema | undefined): void;
840
+ /**
841
+ * Serializes information the current object
842
+ * @param writer Serialization writer to use to serialize this model
843
+ */
844
+ export declare function serializeSearchSettings(writer: SerializationWriter, searchSettings?: SearchSettings | undefined): void;
845
+ /**
846
+ * Serializes information the current object
847
+ * @param writer Serialization writer to use to serialize this model
848
+ */
849
+ export declare function serializeUrlMatchInfo(writer: SerializationWriter, urlMatchInfo?: UrlMatchInfo | undefined): void;
850
+ /**
851
+ * Serializes information the current object
852
+ * @param writer Serialization writer to use to serialize this model
853
+ */
854
+ export declare function serializeUrlToItemResolverBase(writer: SerializationWriter, urlToItemResolverBase?: UrlToItemResolverBase | undefined): void;
855
+ export interface UrlMatchInfo extends AdditionalDataHolder, BackedModel, Parsable {
856
+ /**
857
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
858
+ */
859
+ additionalData?: Record<string, unknown>;
860
+ /**
861
+ * Stores model information.
862
+ */
863
+ backingStoreEnabled?: boolean;
864
+ /**
865
+ * A list of the URL prefixes that must match URLs to be processed by this URL-to-item-resolver.
866
+ */
867
+ baseUrls?: string[];
868
+ /**
869
+ * The OdataType property
870
+ */
871
+ odataType?: string;
872
+ /**
873
+ * A regular expression that will be matched towards the URL that is processed by this URL-to-item-resolver. The ECMAScript specification for regular expressions (ECMA-262) is used for the evaluation. The named groups defined by the regular expression will be used later to extract values from the URL.
874
+ */
875
+ urlPattern?: string;
876
+ }
877
+ export interface UrlToItemResolverBase extends AdditionalDataHolder, BackedModel, Parsable {
878
+ /**
879
+ * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.
880
+ */
881
+ additionalData?: Record<string, unknown>;
882
+ /**
883
+ * Stores model information.
884
+ */
885
+ backingStoreEnabled?: boolean;
886
+ /**
887
+ * The OdataType property
888
+ */
889
+ odataType?: string;
890
+ /**
891
+ * The priority which defines the sequence in which the urlToItemResolverBase instances are evaluated.
892
+ */
893
+ priority?: number;
894
+ }
895
+ export declare const AccessTypeObject: {
896
+ readonly Grant: "grant";
897
+ readonly Deny: "deny";
898
+ readonly UnknownFutureValue: "unknownFutureValue";
899
+ };
900
+ export declare const AclTypeObject: {
901
+ readonly User: "user";
902
+ readonly Group: "group";
903
+ readonly Everyone: "everyone";
904
+ readonly EveryoneExceptGuests: "everyoneExceptGuests";
905
+ readonly ExternalGroup: "externalGroup";
906
+ readonly UnknownFutureValue: "unknownFutureValue";
907
+ };
908
+ export declare const ConnectionOperationStatusObject: {
909
+ readonly Unspecified: "unspecified";
910
+ readonly Inprogress: "inprogress";
911
+ readonly Completed: "completed";
912
+ readonly Failed: "failed";
913
+ readonly UnknownFutureValue: "unknownFutureValue";
914
+ };
915
+ export declare const ConnectionStateObject: {
916
+ readonly Draft: "draft";
917
+ readonly Ready: "ready";
918
+ readonly Obsolete: "obsolete";
919
+ readonly LimitExceeded: "limitExceeded";
920
+ readonly UnknownFutureValue: "unknownFutureValue";
921
+ };
922
+ export declare const ExternalActivityTypeObject: {
923
+ readonly Viewed: "viewed";
924
+ readonly Modified: "modified";
925
+ readonly Created: "created";
926
+ readonly Commented: "commented";
927
+ readonly UnknownFutureValue: "unknownFutureValue";
928
+ };
929
+ export declare const ExternalItemContentTypeObject: {
930
+ readonly Text: "text";
931
+ readonly Html: "html";
932
+ readonly UnknownFutureValue: "unknownFutureValue";
933
+ };
934
+ export declare const IdentityTypeObject: {
935
+ readonly User: "user";
936
+ readonly Group: "group";
937
+ readonly ExternalGroup: "externalGroup";
938
+ readonly UnknownFutureValue: "unknownFutureValue";
939
+ };
940
+ export declare const LabelObject: {
941
+ readonly Title: "title";
942
+ readonly Url: "url";
943
+ readonly CreatedBy: "createdBy";
944
+ readonly LastModifiedBy: "lastModifiedBy";
945
+ readonly Authors: "authors";
946
+ readonly CreatedDateTime: "createdDateTime";
947
+ readonly LastModifiedDateTime: "lastModifiedDateTime";
948
+ readonly FileName: "fileName";
949
+ readonly FileExtension: "fileExtension";
950
+ readonly UnknownFutureValue: "unknownFutureValue";
951
+ readonly IconUrl: "iconUrl";
952
+ };
953
+ export declare const PropertyTypeObject: {
954
+ readonly String: "string";
955
+ readonly Int64: "int64";
956
+ readonly Double: "double";
957
+ readonly DateTime: "dateTime";
958
+ readonly Boolean: "boolean";
959
+ readonly StringCollection: "stringCollection";
960
+ readonly Int64Collection: "int64Collection";
961
+ readonly DoubleCollection: "doubleCollection";
962
+ readonly DateTimeCollection: "dateTimeCollection";
963
+ readonly UnknownFutureValue: "unknownFutureValue";
964
+ };
965
+ export declare const RuleOperationObject: {
966
+ readonly Equals: "equals";
967
+ readonly NotEquals: "notEquals";
968
+ readonly Contains: "contains";
969
+ readonly NotContains: "notContains";
970
+ readonly LessThan: "lessThan";
971
+ readonly GreaterThan: "greaterThan";
972
+ readonly StartsWith: "startsWith";
973
+ readonly UnknownFutureValue: "unknownFutureValue";
974
+ };
975
+ //# sourceMappingURL=index.d.ts.map