Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 216bb8e

Browse files
committed
update model for SharePoint API and docs
1 parent 288ac45 commit 216bb8e

File tree

6 files changed

+162
-5
lines changed

6 files changed

+162
-5
lines changed

‎CHANGELOG.md‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
## [Unreleased]
1010

11+
## [3.2.0] - 2025年08月17日
12+
13+
### Added
14+
15+
- Planner API: Enhanced support for Microsoft Graph Planner API
16+
17+
### Fixed
18+
19+
- #352: Fix OneDrive file upload session retry logic (by @it-can)
20+
- #350: Improve error handling for SharePoint API requests (by @VincentFoulon80)
21+
- PR #348: Fix metadata handling in file uploads (by @JensDeMuynck)
22+
- PR #129: Fix OneDrive large file upload session
23+
24+
25+
1126
## [3.1.2] - 2024年04月21日
1227

1328
### Added

‎generator/GenerateModel.php‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function generateTypeFile(array $typeSchema, array $options)
4040
}
4141
}
4242

43-
function ensureFolder(&$path)
43+
function ensureFolder(string&$path)
4444
{
4545
if (!is_dir($path)) {
4646
mkdir($path, 0777, true);
@@ -68,7 +68,7 @@ function generateFiles(ODataModel $model)
6868
* @param string $fileName
6969
* @return array
7070
*/
71-
function loadSettingsFromFile($fileName)
71+
function loadSettingsFromFile(string$fileName): array
7272
{
7373
$settings = json_decode(file_get_contents($fileName), true);
7474
$settings['timestamp'] = date('c');
@@ -119,7 +119,7 @@ function saveMetadataFile($xml, $metadataPath){
119119
}
120120

121121

122-
function syncSharePointMetadataFile($fileName){
122+
function syncSharePointMetadataFile(string$fileName){
123123
$settings = include('../tests/Settings.php');
124124
$credentials = new ClientCredential($settings['ClientId'], $settings['ClientSecret']); //new UserCredentials($Settings['UserName'], $Settings['Password']);
125125
$ctx = (new ClientContext($settings['Url']))->withCredentials($credentials);

‎generator/Settings.SharePoint.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"docsRoot": "https:\/\/docs.microsoft.com\/en-us\/openspecs\/sharepoint_protocols\/ms-csomspt\/",
77
"rootNamespace": "Office365\\SharePoint",
88
"entityRootNamespace": "SP",
9-
"version": "16.0.26406.12013",
10-
"timestamp": "2025-08-23T08:42:56+00:00",
9+
"version": "16.0.26406.12014",
10+
"timestamp": "2025-08-24T08:24:39+00:00",
1111
"placeholder": "Generated ",
1212
"typeMappings": {
1313
"SP.List": "SP.SPList",
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
<?php
2+
3+
/**
4+
* Generated 2025年08月24日T07:40:13+00:00 16.0.26406.12014
5+
*/
6+
namespace Office365\SharePoint\CompliancePolicy;
7+
8+
use Office365\Runtime\ClientObject;
9+
use Office365\Runtime\Actions\DeleteEntityQuery;
10+
use Office365\Runtime\ResourcePath;
11+
use Office365\Runtime\Actions\UpdateEntityQuery;
12+
use Office365\SharePoint\BaseEntity;
13+
14+
class PolicyEvaluationInfo extends BaseEntity
15+
{
16+
/**
17+
* @return array
18+
*/
19+
public function getApplicablePolicies()
20+
{
21+
return $this->getProperty("ApplicablePolicies");
22+
}
23+
/**
24+
* @var array
25+
*/
26+
public function setApplicablePolicies($value)
27+
{
28+
return $this->setProperty("ApplicablePolicies", $value, true);
29+
}
30+
/**
31+
* @return integer
32+
*/
33+
public function getDlpAccessScope()
34+
{
35+
return $this->getProperty("DlpAccessScope");
36+
}
37+
/**
38+
* @var integer
39+
*/
40+
public function setDlpAccessScope($value)
41+
{
42+
return $this->setProperty("DlpAccessScope", $value, true);
43+
}
44+
/**
45+
* @return array
46+
*/
47+
public function getMatchedRules()
48+
{
49+
return $this->getProperty("MatchedRules");
50+
}
51+
/**
52+
* @var array
53+
*/
54+
public function setMatchedRules($value)
55+
{
56+
return $this->setProperty("MatchedRules", $value, true);
57+
}
58+
/**
59+
* @return array
60+
*/
61+
public function getOverriddenRules()
62+
{
63+
return $this->getProperty("OverriddenRules");
64+
}
65+
/**
66+
* @var array
67+
*/
68+
public function setOverriddenRules($value)
69+
{
70+
return $this->setProperty("OverriddenRules", $value, true);
71+
}
72+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
<?php
2+
3+
/**
4+
* Generated 2025年08月24日T07:40:13+00:00 16.0.26406.12014
5+
*/
6+
namespace Office365\SharePoint\CompliancePolicy;
7+
8+
use Office365\Runtime\ClientObject;
9+
use Office365\Runtime\Actions\DeleteEntityQuery;
10+
use Office365\Runtime\ResourcePath;
11+
use Office365\Runtime\Actions\UpdateEntityQuery;
12+
use Office365\SharePoint\BaseEntity;
13+
14+
class SPPolicyStoreProxy extends BaseEntity
15+
{
16+
/**
17+
* @return string
18+
*/
19+
public function getPolicyStoreUrl()
20+
{
21+
return $this->getProperty("PolicyStoreUrl");
22+
}
23+
/**
24+
* @var string
25+
*/
26+
public function setPolicyStoreUrl($value)
27+
{
28+
return $this->setProperty("PolicyStoreUrl", $value, true);
29+
}
30+
/**
31+
* @return string
32+
*/
33+
public function getReviewCenterUrl()
34+
{
35+
return $this->getProperty("ReviewCenterUrl");
36+
}
37+
/**
38+
* @var string
39+
*/
40+
public function setReviewCenterUrl($value)
41+
{
42+
return $this->setProperty("ReviewCenterUrl", $value, true);
43+
}
44+
/**
45+
* @return bool
46+
*/
47+
public function getSupportContentTypeRetention()
48+
{
49+
return $this->getProperty("SupportContentTypeRetention");
50+
}
51+
/**
52+
* @var bool
53+
*/
54+
public function setSupportContentTypeRetention($value)
55+
{
56+
return $this->setProperty("SupportContentTypeRetention", $value, true);
57+
}
58+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?php
2+
3+
/**
4+
* Generated 2025年08月24日T07:40:13+00:00 16.0.26406.12014
5+
*/
6+
namespace Office365\SharePoint\CompliancePolicy;
7+
8+
use Office365\SharePoint\BaseEntity;
9+
10+
class SPSitePreservationUtility extends BaseEntity
11+
{
12+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /