Skip to content

Commit f7c398c

Browse files
authored
Microsoft Graph updates though 8/4/17 (#12)
* Microsoft Graph updates though 8/4/17 * Version bump
1 parent d5a962c commit f7c398c

File tree

2 files changed

+57
-5
lines changed

2 files changed

+57
-5
lines changed

microsoft-graph.d.ts

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,8 @@ export interface LicenseDetails extends Entity {
256256

257257
export interface Group extends DirectoryObject {
258258

259+
classification?: string
260+
259261
/** An optional description for the group. */
260262
description?: string
261263

@@ -316,6 +318,8 @@ export interface Group extends DirectoryObject {
316318
/** The owners of the group. The owners are a set of non-admin users who are allowed to modify this object. Limited to 10 owners. HTTP Methods: GET (supported for all groups), POST (supported for Office 365 groups, security groups and mail-enabled security groups), DELETE (supported for Office 365 groups and security groups). Nullable. */
317319
owners?: DirectoryObject[]
318320

321+
settings?: GroupSetting[]
322+
319323
/** The collection of open extensions defined for the group. Read-only. Nullable. */
320324
extensions?: Extension[]
321325

@@ -337,6 +341,7 @@ export interface Group extends DirectoryObject {
337341
/** The group's profile photo */
338342
photo?: ProfilePhoto
339343

344+
/** The profile photos owned by the group. Read-only. Nullable. */
340345
photos?: ProfilePhoto[]
341346

342347
/** The list of users or groups that are allowed to create post's or calendar events in this group. If this list is non-empty then only users or groups listed here are allowed to post. */
@@ -353,13 +358,24 @@ export interface Group extends DirectoryObject {
353358
/** The list of SharePoint sites in this group. Access the default site with /sites/root. */
354359
sites?: Site[]
355360

361+
/** Entry-point to Planner resource that might exist for a Unified Group. */
356362
planner?: PlannerGroup
357363

358364
/** Read-only. */
359365
onenote?: Onenote
360366

361367
}
362368

369+
export interface GroupSetting extends Entity {
370+
371+
displayName?: string
372+
373+
templateId?: string
374+
375+
values?: SettingValue[]
376+
377+
}
378+
363379
export interface ConversationThread extends Entity {
364380

365381
/** The To: recipients for the thread. */
@@ -402,6 +418,14 @@ export interface Calendar extends Entity {
402418
/** Identifies the version of the calendar object. Every time the calendar is changed, ChangeKey changes as well. This allows Exchange to apply changes to the correct version of the object. Read-only. */
403419
changeKey?: string
404420

421+
canShare?: boolean
422+
423+
canViewPrivateItems?: boolean
424+
425+
canEdit?: boolean
426+
427+
owner?: EmailAddress
428+
405429
/** The events in the calendar. Navigation property. Read-only. */
406430
events?: Event[]
407431

@@ -647,6 +671,8 @@ export interface Site extends BaseItem {
647671
/** The collection of the sub-sites under this site. */
648672
sites?: Site[]
649673

674+
onenote?: Onenote
675+
650676
}
651677

652678
export interface PlannerGroup extends Entity {
@@ -775,6 +801,7 @@ export interface User extends DirectoryObject {
775801
/** The city in which the user is located. Supports $filter. */
776802
city?: string
777803

804+
/** The company name which the user is associated. */
778805
companyName?: string
779806

780807
/** The country/region in which the user is located; for example, “US” or “UK”. Supports $filter. */
@@ -969,7 +996,7 @@ export interface Message extends OutlookItem {
969996
/** The date and time the message was sent. */
970997
sentDateTime?: string
971998

972-
/** Indicates whether the message has attachments. */
999+
/** Indicates whether the message has attachments. This property doesn't include inline attachments, so if a message contains only inline attachments, this property is false. To verify the existence of inline attachments, parse the body property to look for a src attribute, such as <IMG src="cid:image001.jpg@01D26CD8.6C05F070">. */
9731000
hasAttachments?: boolean
9741001

9751002
/** The message ID in the format specified by RFC2822. */
@@ -1247,6 +1274,16 @@ export interface PlannerUser extends Entity {
12471274

12481275
}
12491276

1277+
export interface GroupSettingTemplate extends DirectoryObject {
1278+
1279+
displayName?: string
1280+
1281+
description?: string
1282+
1283+
values?: SettingTemplateValue[]
1284+
1285+
}
1286+
12501287
export interface SchemaExtension extends Entity {
12511288

12521289
/** Description for the schema extension. */
@@ -1515,9 +1552,6 @@ export interface Workbook extends Entity {
15151552

15161553
export interface SharedDriveItem extends BaseItem {
15171554

1518-
/** The display name of the shared item. */
1519-
name?: string
1520-
15211555
/** Information about the owner of the shared item being referenced. */
15221556
owner?: IdentitySet
15231557

@@ -2445,6 +2479,24 @@ export interface OnenoteOperation extends Operation {
24452479
/** The operation percent complete if the operation is still in running status */
24462480
percentComplete?: string
24472481

2482+
}
2483+
export interface SettingValue {
2484+
2485+
name?: string
2486+
2487+
value?: string
2488+
2489+
}
2490+
export interface SettingTemplateValue {
2491+
2492+
name?: string
2493+
2494+
type?: string
2495+
2496+
defaultValue?: string
2497+
2498+
description?: string
2499+
24482500
}
24492501
export interface AlternativeSecurityId {
24502502

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@microsoft/microsoft-graph-types",
33
"description": "Types for Microsoft Graph objects",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"types": "microsoft-graph.d.ts",
66
"scripts": {
77
"test": "tsc && mocha spec/"

0 commit comments

Comments
 (0)