|
1 | | -// Type definitions for non-npm package microsoft-graph 1.11 |
| 1 | +// Type definitions for non-npm package microsoft-graph <VERSION_STRING> |
2 | 2 | // Project: https://github.com/microsoftgraph/msgraph-typescript-typings |
3 | 3 | // Definitions by: Microsoft Graph Team <https://github.com/microsoftgraph> |
4 | 4 | // Muthurathinam Muthusamy <https://github.com/muthurathinam> |
@@ -60,6 +60,17 @@ export type RiskEventType = |
60 | 60 | | "investigationsThreatIntelligenceSigninLinked" |
61 | 61 | | "maliciousIPAddressValidCredentialsBlockedIP" |
62 | 62 | | "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"; |
63 | 74 | export type EducationUserRole = "student" | "teacher" | "none" | "unknownFutureValue"; |
64 | 75 | export type EducationExternalSource = "sis" | "manual" | "unknownFutureValue"; |
65 | 76 | export type EducationGender = "female" | "male" | "other" | "unknownFutureValue"; |
@@ -132,17 +143,6 @@ export type WeekIndex = "first" | "second" | "third" | "fourth" | "last"; |
132 | 143 | export type RecurrenceRangeType = "endDate" | "noEnd" | "numbered"; |
133 | 144 | export type EventType = "singleInstance" | "occurrence" | "exception" | "seriesMaster"; |
134 | 145 | 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"; |
146 | 146 | export type WebsiteType = "other" | "home" | "work" | "blog" | "profile"; |
147 | 147 | export type CategoryColor = |
148 | 148 | | "preset0" |
@@ -2239,8 +2239,29 @@ export interface Directory extends Entity { |
2239 | 2239 | deletedItems?: DirectoryObject[]; |
2240 | 2240 | } |
2241 | 2241 | export interface CertificateBasedAuthConfiguration extends Entity { |
| 2242 | + // Collection of certificate authorities which creates a trusted certificate chain. |
2242 | 2243 | certificateAuthorities?: CertificateAuthority[]; |
2243 | 2244 | } |
| 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 | +} |
2244 | 2265 | export interface Device extends DirectoryObject { |
2245 | 2266 | // true if the account is enabled; otherwise, false. Required. |
2246 | 2267 | accountEnabled?: boolean; |
@@ -2682,6 +2703,10 @@ export interface Organization extends DirectoryObject { |
2682 | 2703 | verifiedDomains?: VerifiedDomain[]; |
2683 | 2704 | // Mobile device management authority. Possible values are: unknown, intune, sccm, office365. |
2684 | 2705 | 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 | + */ |
2685 | 2710 | certificateBasedAuthConfiguration?: CertificateBasedAuthConfiguration[]; |
2686 | 2711 | // The collection of open extensions defined for the organization. Read-only. Nullable. |
2687 | 2712 | extensions?: Extension[]; |
@@ -2760,7 +2785,6 @@ export interface EducationSchool extends EducationOrganization { |
2760 | 2785 | externalId?: string; |
2761 | 2786 | // Phone number of school. |
2762 | 2787 | phone?: string; |
2763 | | - // Fax number of school. |
2764 | 2788 | fax?: string; |
2765 | 2789 | // Entity who created the school. |
2766 | 2790 | createdBy?: IdentitySet; |
@@ -8561,13 +8585,50 @@ export interface TimeZoneBase { |
8561 | 8585 | name?: string; |
8562 | 8586 | } |
8563 | 8587 | 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 | + */ |
8564 | 8592 | isRootAuthority?: boolean; |
| 8593 | + // The URL of the certificate revocation list. |
8565 | 8594 | 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 | + */ |
8566 | 8599 | deltaCertificateRevocationListUrl?: string; |
| 8600 | + // Required. The base64 encoded string representing the public certificate. |
8567 | 8601 | certificate?: number; |
| 8602 | + // The issuer of the certificate, calculated from the certificate value. Read-only. |
8568 | 8603 | issuer?: string; |
| 8604 | + // The subject key identifier of the certificate, calculated from the certificate value. Read-only. |
8569 | 8605 | issuerSki?: string; |
8570 | 8606 | } |
| 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 | +} |
8571 | 8632 | export interface AlternativeSecurityId { |
8572 | 8633 | // For internal use only |
8573 | 8634 | type?: number; |
@@ -9465,17 +9526,6 @@ export interface ScoredEmailAddress { |
9465 | 9526 | selectionLikelihood?: SelectionLikelihoodInfo; |
9466 | 9527 | itemId?: string; |
9467 | 9528 | } |
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 | | -} |
9479 | 9529 | export interface Website { |
9480 | 9530 | // The possible values are: other, home, work, blog, profile. |
9481 | 9531 | type?: WebsiteType; |
|
0 commit comments