Skip to content

Commit 9769cdc

Browse files
committed
refactored Directory & Outlook APIs, introduced Communications namespace
1 parent 9776498 commit 9769cdc

349 files changed

Lines changed: 439 additions & 3500 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,10 +238,10 @@ The following example demonstrates how to send a message via Outlook Mail API:
238238

239239
```php
240240
use Office365\GraphServiceClient;
241-
use Office365\OutlookServices\Message;
242-
use Office365\OutlookServices\ItemBody;
243-
use Office365\OutlookServices\BodyType;
244-
use Office365\OutlookServices\EmailAddress;
241+
use Office365\Outlook\Message;
242+
use Office365\Outlook\ItemBody;
243+
use Office365\Outlook\BodyType;
244+
use Office365\Outlook\EmailAddress;
245245
use Office365\Runtime\Auth\AADTokenProvider;
246246
use Office365\Runtime\Auth\UserCredentials;
247247

examples/Outlook/SendEmail.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33

44

55
use Office365\GraphServiceClient;
6-
use Office365\OutlookServices\BodyType;
7-
use Office365\OutlookServices\EmailAddress;
8-
use Office365\OutlookServices\ItemBody;
9-
use Office365\OutlookServices\Message;
6+
use Office365\Outlook\BodyType;
7+
use Office365\Outlook\EmailAddress;
8+
use Office365\Outlook\ItemBody;
9+
use Office365\Outlook\Message;
1010
use Office365\Runtime\Auth\AADTokenProvider;
1111
use Office365\Runtime\Auth\UserCredentials;
1212

generator/Settings.MicrosoftGraph.json

Lines changed: 57 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,63 @@
3333
"Microsoft.Graph.IntuneBrand",
3434
"Microsoft.Graph.MobileApp",
3535
"Microsoft.Graph.Process",
36-
"Microsoft.Graph.Education*"
36+
"Microsoft.Graph.Education*",
37+
"Microsoft.Graph.VppToken",
38+
"Microsoft.Graph.VppLicensingType",
39+
"Microsoft.Graph.AllDevicesAssignmentTarget",
40+
"Microsoft.Graph.DetectedApp",
41+
"Microsoft.Graph.DefenderDetectedMalwareActions",
42+
"Microsoft.Graph.DefaultManagedAppProtection",
43+
"Microsoft.Graph.DeleteUserFromSharedAppleDeviceActionResult",
44+
"Microsoft.Graph.ComplexExtensionValue",
45+
"Microsoft.Graph.BitLockerRemovableDrivePolicy",
46+
"Microsoft.Graph.MediaPrompt",
47+
"Microsoft.Graph.MediaInfo",
48+
"Microsoft.Graph.ServiceHostedMediaConfig",
49+
"Microsoft.Graph.LocalizedNotificationMessage",
50+
"Microsoft.Graph.IpRange",
51+
"Microsoft.Graph.IPv4Range",
52+
"Microsoft.Graph.IPv6Range",
53+
"Microsoft.Graph.KeyValue",
54+
"Microsoft.Graph.SettingValue",
55+
"Microsoft.Graph.UrlAssessmentRequest",
56+
"Microsoft.Graph.ThreatAssessmentRequest",
57+
"Microsoft.Graph.ThreatAssessmentResult",
58+
"Microsoft.Graph.TokenMeetingInfo",
59+
"Microsoft.Graph.MailAssessmentRequest",
60+
"Microsoft.Graph.ExclusionGroupAssignmentTarget",
61+
"Microsoft.Graph.EnrollmentTroubleshootingEvent",
62+
"Microsoft.Graph.EnrollmentConfigurationAssignment",
63+
"Microsoft.Graph.ConfigurationManagerClientEnabledFeatures",
64+
"Microsoft.Graph.Diagnostic",
65+
"Microsoft.Graph.SettingSource",
66+
"Microsoft.Graph.SettingStateDeviceSummary",
67+
"Microsoft.Graph.NotificationMessageTemplate",
68+
"Microsoft.Graph.FileAssessmentRequest",
69+
"Microsoft.Graph.InformationProtection",
70+
"Microsoft.Graph.ResetPasscodeActionResult",
71+
"Microsoft.Graph.RemoteAssistancePartner",
72+
"Microsoft.Graph.FileEncryptionInfo",
73+
"Microsoft.Graph.EditionUpgradeConfiguration",
74+
"Microsoft.Graph.AppConfigurationSettingItem",
75+
"Microsoft.Graph.AllLicensedUsersAssignmentTarget",
76+
"Microsoft.Graph.AlternativeSecurityId",
77+
"Microsoft.Graph.FileHash",
78+
"Microsoft.Graph.EmailFileAssessmentRequest",
79+
"Microsoft.Graph.ProxiedDomain",
80+
"Microsoft.Graph.KeyValuePair",
81+
"Microsoft.Graph.AdministrativeUnit",
82+
"Microsoft.Graph.AppListItem",
83+
"Microsoft.Graph.Room",
84+
"Microsoft.Graph.RoomList",
85+
"Microsoft.Graph.Place",
86+
"Microsoft.Graph.WebApp",
87+
"Microsoft.Graph.Domain*",
88+
"Microsoft.Graph.Organization",
89+
"Microsoft.Graph.OrgContact",
90+
"Microsoft.Graph.PhysicalOfficeAddress",
91+
"Microsoft.Graph.PrivacyProfile",
92+
"Microsoft.Graph.VerifiedDomain"
3793
],
3894
"ignoredProperties": [
3995
],

generator/templates/outlookservices/ComplexType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Office365\OutlookServices;
3+
namespace Office365\Outlook;
44
use Office365\Runtime\ClientValue;
55

66
class ComplexType extends ClientValue

generator/templates/outlookservices/EntityType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Office365\OutlookServices;
3+
namespace Office365\Outlook;
44
use Office365\Entity;
55
use Office365\Runtime\ClientObject;
66
use Office365\Runtime\ResourcePath;

src/Common/AdministrativeUnit.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/Common/AllDevicesAssignmentTarget.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Common/AllLicensedUsersAssignmentTarget.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Common/AlternativeSecurityId.php

Lines changed: 0 additions & 23 deletions
This file was deleted.

src/Common/AppConfigurationSettingItem.php

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)