Skip to content

Commit 74a9e81

Browse files
authored
Merge pull request #98 from microsoftgraph/v1.0/pipelinebuild/1933985
Generated v1.0 typings using Typewriter
2 parents 1a8af26 + fdb31ab commit 74a9e81

File tree

1 file changed

+74
-24
lines changed

1 file changed

+74
-24
lines changed

microsoft-graph.d.ts

Lines changed: 74 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Type definitions for non-npm package microsoft-graph 1.11
1+
// Type definitions for non-npm package microsoft-graph <VERSION_STRING>
22
// Project: https://github.com/microsoftgraph/msgraph-typescript-typings
33
// Definitions by: Microsoft Graph Team <https://github.com/microsoftgraph>
44
// Muthurathinam Muthusamy <https://github.com/muthurathinam>
@@ -60,6 +60,17 @@ export type RiskEventType =
6060
| "investigationsThreatIntelligenceSigninLinked"
6161
| "maliciousIPAddressValidCredentialsBlockedIP"
6262
| "unknownFutureValue";
63+
export type PhoneType =
64+
| "home"
65+
| "business"
66+
| "mobile"
67+
| "other"
68+
| "assistant"
69+
| "homeFax"
70+
| "businessFax"
71+
| "otherFax"
72+
| "pager"
73+
| "radio";
6374
export type EducationUserRole = "student" | "teacher" | "none" | "unknownFutureValue";
6475
export type EducationExternalSource = "sis" | "manual" | "unknownFutureValue";
6576
export type EducationGender = "female" | "male" | "other" | "unknownFutureValue";
@@ -132,17 +143,6 @@ export type WeekIndex = "first" | "second" | "third" | "fourth" | "last";
132143
export type RecurrenceRangeType = "endDate" | "noEnd" | "numbered";
133144
export type EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster";
134145
export type SelectionLikelihoodInfo = "notSpecified" | "high";
135-
export type PhoneType =
136-
| "home"
137-
| "business"
138-
| "mobile"
139-
| "other"
140-
| "assistant"
141-
| "homeFax"
142-
| "businessFax"
143-
| "otherFax"
144-
| "pager"
145-
| "radio";
146146
export type WebsiteType = "other" | "home" | "work" | "blog" | "profile";
147147
export type CategoryColor =
148148
| "preset0"
@@ -2239,8 +2239,29 @@ export interface Directory extends Entity {
22392239
deletedItems?: DirectoryObject[];
22402240
}
22412241
export interface CertificateBasedAuthConfiguration extends Entity {
2242+
// Collection of certificate authorities which creates a trusted certificate chain.
22422243
certificateAuthorities?: CertificateAuthority[];
22432244
}
2245+
export interface OrgContact extends DirectoryObject {
2246+
addresses?: PhysicalOfficeAddress[];
2247+
companyName?: string;
2248+
department?: string;
2249+
displayName?: string;
2250+
givenName?: string;
2251+
jobTitle?: string;
2252+
mail?: string;
2253+
mailNickname?: string;
2254+
onPremisesSyncEnabled?: boolean;
2255+
onPremisesLastSyncDateTime?: string;
2256+
onPremisesProvisioningErrors?: OnPremisesProvisioningError[];
2257+
phones?: Phone[];
2258+
proxyAddresses?: string[];
2259+
surname?: string;
2260+
manager?: DirectoryObject;
2261+
directReports?: DirectoryObject[];
2262+
memberOf?: DirectoryObject[];
2263+
transitiveMemberOf?: DirectoryObject[];
2264+
}
22442265
export interface Device extends DirectoryObject {
22452266
// true if the account is enabled; otherwise, false. Required.
22462267
accountEnabled?: boolean;
@@ -2682,6 +2703,10 @@ export interface Organization extends DirectoryObject {
26822703
verifiedDomains?: VerifiedDomain[];
26832704
// Mobile device management authority. Possible values are: unknown, intune, sccm, office365.
26842705
mobileDeviceManagementAuthority?: MdmAuthority;
2706+
/**
2707+
* Navigation property to manage certificate-based authentication configuration. Only a single instance of
2708+
* certificateBasedAuthConfiguration can be created in the collection.
2709+
*/
26852710
certificateBasedAuthConfiguration?: CertificateBasedAuthConfiguration[];
26862711
// The collection of open extensions defined for the organization. Read-only. Nullable.
26872712
extensions?: Extension[];
@@ -2760,7 +2785,6 @@ export interface EducationSchool extends EducationOrganization {
27602785
externalId?: string;
27612786
// Phone number of school.
27622787
phone?: string;
2763-
// Fax number of school.
27642788
fax?: string;
27652789
// Entity who created the school.
27662790
createdBy?: IdentitySet;
@@ -8561,13 +8585,50 @@ export interface TimeZoneBase {
85618585
name?: string;
85628586
}
85638587
export interface CertificateAuthority {
8588+
/**
8589+
* Required. true if the trusted certificate is a root authority, false if the trusted certificate is an intermediate
8590+
* authority.
8591+
*/
85648592
isRootAuthority?: boolean;
8593+
// The URL of the certificate revocation list.
85658594
certificateRevocationListUrl?: string;
8595+
/**
8596+
* The URL contains the list of all revoked certificates since the last time a full certificate revocaton list was
8597+
* created.
8598+
*/
85668599
deltaCertificateRevocationListUrl?: string;
8600+
// Required. The base64 encoded string representing the public certificate.
85678601
certificate?: number;
8602+
// The issuer of the certificate, calculated from the certificate value. Read-only.
85688603
issuer?: string;
8604+
// The subject key identifier of the certificate, calculated from the certificate value. Read-only.
85698605
issuerSki?: string;
85708606
}
8607+
export interface PhysicalOfficeAddress {
8608+
// The city.
8609+
city?: string;
8610+
// The country or region. It's a free-format string value, for example, 'United States'.
8611+
countryOrRegion?: string;
8612+
// Office location such as building and office number for an organizational contact.
8613+
officeLocation?: string;
8614+
// The postal code.
8615+
postalCode?: string;
8616+
// The state.
8617+
state?: string;
8618+
// The street.
8619+
street?: string;
8620+
}
8621+
export interface Phone {
8622+
/**
8623+
* The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax,
8624+
* otherFax, pager, radio.
8625+
*/
8626+
type?: PhoneType;
8627+
// The phone number.
8628+
number?: string;
8629+
region?: string;
8630+
language?: string;
8631+
}
85718632
export interface AlternativeSecurityId {
85728633
// For internal use only
85738634
type?: number;
@@ -9465,17 +9526,6 @@ export interface ScoredEmailAddress {
94659526
selectionLikelihood?: SelectionLikelihoodInfo;
94669527
itemId?: string;
94679528
}
9468-
export interface Phone {
9469-
/**
9470-
* The type of phone number. The possible values are: home, business, mobile, other, assistant, homeFax, businessFax,
9471-
* otherFax, pager, radio.
9472-
*/
9473-
type?: PhoneType;
9474-
// The phone number.
9475-
number?: string;
9476-
region?: string;
9477-
language?: string;
9478-
}
94799529
export interface Website {
94809530
// The possible values are: other, home, work, blog, profile.
94819531
type?: WebsiteType;

0 commit comments

Comments
 (0)