Skip to content

Commit

Permalink
SharePoint model updated to 16.0.24106.12014 version, a few import fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vgrem committed Sep 30, 2023
1 parent dd13304 commit 1e5d187
Show file tree
Hide file tree
Showing 58 changed files with 23,453 additions and 463,437 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
### About
Office 365 Library for PHP.
A REST/OData based client library for Office 365.
Microsoft 365 Library for PHP.
A REST/OData based client library for Microsoft 365.


### Usage
Expand Down
4 changes: 2 additions & 2 deletions generator/Settings.SharePoint.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"docsRoot": "https:\/\/docs.microsoft.com\/en-us\/openspecs\/sharepoint_protocols\/ms-csomspt\/",
"rootNamespace": "Office365\\SharePoint",
"entityRootNamespace": "SP",
"version": "16.0.23207.12006",
"timestamp": "2023-01-15T17:16:42+02:00",
"version": "16.0.24106.12014",
"timestamp": "2023-09-30T09:10:53+00:00",
"placeholder": "Generated ",
"typeMappings": {
"SP.List": "SP.SPList",
Expand Down
485,647 changes: 22,313 additions & 463,334 deletions generator/metadata/SharePoint.xml

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions src/SharePoint/AdditionalAccessStatusResponse.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?php

/**
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

use Office365\Runtime\ClientValue;
class AdditionalAccessStatusResponse extends ClientValue
{
/**
* @var integer
*/
public $AdditionalAccessRequestStatus;
/**
* @var string
*/
public $ErrorMessage;
/**
* @var integer
*/
public $RoleValue;
/**
* @var integer
*/
public $StatusCode;
}
30 changes: 29 additions & 1 deletion src/SharePoint/ApprovalRequest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Generated 2023-01-13T18:22:53+02:00 16.0.23207.12005
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

Expand Down Expand Up @@ -174,4 +174,32 @@ public function setResponses($value)
{
return $this->setProperty("Responses", $value, true);
}
/**
* @return string
*/
public function getPartnerMetadata()
{
return $this->getProperty("PartnerMetadata");
}
/**
* @var string
*/
public function setPartnerMetadata($value)
{
return $this->setProperty("PartnerMetadata", $value, true);
}
/**
* @return integer
*/
public function getPriority()
{
return $this->getProperty("Priority");
}
/**
* @var integer
*/
public function setPriority($value)
{
return $this->setProperty("Priority", $value, true);
}
}
23 changes: 23 additions & 0 deletions src/SharePoint/Audience.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?php

/**
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

use Office365\Runtime\ClientValue;
class Audience extends ClientValue
{
/**
* @var string
*/
public $Email;
/**
* @var string
*/
public $Id;
/**
* @var string
*/
public $Title;
}
11 changes: 11 additions & 0 deletions src/SharePoint/Broker.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

/**
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;


class Broker extends BaseEntity
{
}
19 changes: 19 additions & 0 deletions src/SharePoint/CAAEFieldElement.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

/**
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

use Office365\Runtime\ClientValue;
class CAAEFieldElement extends ClientValue
{
/**
* @var string
*/
public $Id;
/**
* @var string
*/
public $Version;
}
19 changes: 19 additions & 0 deletions src/SharePoint/CAAESnippetElement.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<?php

/**
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

use Office365\Runtime\ClientValue;
class CAAESnippetElement extends ClientValue
{
/**
* @var string
*/
public $Id;
/**
* @var string
*/
public $Version;
}
6 changes: 5 additions & 1 deletion src/SharePoint/ClassificationResult.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Generated 2021-04-23T09:48:37+00:00 16.0.21207.12005
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

Expand Down Expand Up @@ -44,4 +44,8 @@ class ClassificationResult extends ClientValue
* @var string
*/
public $SensitivityLabel;
/**
* @var string
*/
public $Error;
}
1 change: 0 additions & 1 deletion src/SharePoint/ClientContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
use Office365\SharePoint\Search\SearchService;
use Office365\SharePoint\Taxonomy\TaxonomyService;
use Office365\SharePoint\UserProfiles\PeopleManager;
use function PHPUnit\Framework\throwException;

/**
* Client context for SharePoint API service
Expand Down
26 changes: 25 additions & 1 deletion src/SharePoint/ConfigurationData.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* Generated 2021-03-12T16:05:00+00:00 16.0.21103.12002
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

Expand All @@ -12,4 +12,28 @@ class ConfigurationData extends ClientValue
* @var SPResourcePath
*/
public $BridgeAbsolutePath;
/**
* @var bool
*/
public $IsPersonalizationEnabled;
/**
* @var bool
*/
public $IsVivaHomeOptedOut;
/**
* @var HomeSiteNavConfiguration
*/
public $NavConfig;
/**
* @var string
*/
public $SiteId;
/**
* @var integer
*/
public $VivaExperienceType;
/**
* @var string
*/
public $WebId;
}
6 changes: 5 additions & 1 deletion src/SharePoint/DocumentGenerationInfo.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/**
* This file was generated by phpSPO model generator 2022-04-22T09:37:05+03:00 16.0.22406.12004
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

Expand All @@ -28,4 +28,8 @@ class DocumentGenerationInfo extends ClientValue
* @var integer
*/
public $Format;
/**
* @var array
*/
public $ConditionalFieldsToBeDeleted;
}
14 changes: 14 additions & 0 deletions src/SharePoint/EmployeeExperienceController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

/**
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

use Office365\Runtime\ClientObject;
use Office365\Runtime\Actions\DeleteEntityQuery;
use Office365\Runtime\ResourcePath;
use Office365\Runtime\Actions\UpdateEntityQuery;
class EmployeeExperienceController extends BaseEntity
{
}
14 changes: 14 additions & 0 deletions src/SharePoint/FavoriteItemCollection.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

/**
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
*/
namespace Office365\SharePoint;

use Office365\Runtime\ClientObject;
use Office365\Runtime\Actions\DeleteEntityQuery;
use Office365\Runtime\ResourcePath;
use Office365\Runtime\Actions\UpdateEntityQuery;
class FavoriteItemCollection extends BaseEntity
{
}
Loading

0 comments on commit 1e5d187

Please sign in to comment.