Skip to content

Commit 04877d6

Browse files
committed
SharePoint model updated
1 parent 2146c92 commit 04877d6

21 files changed

Lines changed: 2149 additions & 188 deletions

examples/SharePoint/ConnectWithCert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Office365\SharePoint\ClientContext;
2121

2222

23-
$thumbprint = "054343442AC255DD07488910C7E000F92227FD98";
23+
$thumbprint = "DA6B7FBF6AADBEC6BD171F738ED1E34283F30FD4";
2424
$privateKey = file_get_contents("./private.key");
2525

2626
$ctx = (new ClientContext($settings['Url']))->withClientCertificate(

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.24106.12014",
10-
"timestamp": "2023-09-30T09:10:53+00:00",
9+
"version": "16.0.24607.12008",
10+
"timestamp": "2024-02-24T10:21:51+00:00",
1111
"placeholder": "Generated ",
1212
"typeMappings": {
1313
"SP.List": "SP.SPList",

generator/metadata/SharePoint.xml

Lines changed: 1879 additions & 163 deletions
Large diffs are not rendered by default.

src/SharePoint/ApprovalRequest.php

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

33
/**
4-
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
4+
* Generated 2024-02-24T10:21:51+00:00 16.0.24607.12008
55
*/
66
namespace Office365\SharePoint;
77

@@ -202,4 +202,32 @@ public function setPriority($value)
202202
{
203203
return $this->setProperty("Priority", $value, true);
204204
}
205+
/**
206+
* @return integer
207+
*/
208+
public function getCurrentStepNumber()
209+
{
210+
return $this->getProperty("CurrentStepNumber");
211+
}
212+
/**
213+
* @var integer
214+
*/
215+
public function setCurrentStepNumber($value)
216+
{
217+
return $this->setProperty("CurrentStepNumber", $value, true);
218+
}
219+
/**
220+
* @return string
221+
*/
222+
public function getRequestType()
223+
{
224+
return $this->getProperty("RequestType");
225+
}
226+
/**
227+
* @var string
228+
*/
229+
public function setRequestType($value)
230+
{
231+
return $this->setProperty("RequestType", $value, true);
232+
}
205233
}

src/SharePoint/ApprovalsCreateRequestParameters.php

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

33
/**
4-
* Generated 2023-01-13T18:22:53+02:00 16.0.23207.12005
4+
* Generated 2024-02-24T10:21:51+00:00 16.0.24607.12008
55
*/
66
namespace Office365\SharePoint;
77

@@ -44,4 +44,8 @@ class ApprovalsCreateRequestParameters extends ClientValue
4444
* @var string
4545
*/
4646
public $version;
47+
/**
48+
* @var integer
49+
*/
50+
public $itemUrlType;
4751
}

src/SharePoint/ConfigurationData.php

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

33
/**
4-
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
4+
* Generated 2024-02-24T10:21:51+00:00 16.0.24607.12008
55
*/
66
namespace Office365\SharePoint;
77

@@ -36,4 +36,12 @@ class ConfigurationData extends ClientValue
3636
* @var string
3737
*/
3838
public $WebId;
39+
/**
40+
* @var bool
41+
*/
42+
public $IsCustomizedThemeEnabled;
43+
/**
44+
* @var string
45+
*/
46+
public $Theme;
3947
}

src/SharePoint/FontPackage.php

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

33
/**
4-
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
4+
* Generated 2024-02-24T10:21:51+00:00 16.0.24607.12008
55
*/
66
namespace Office365\SharePoint;
77

@@ -67,4 +67,32 @@ public function setTitle($value)
6767
{
6868
return $this->setProperty("Title", $value, true);
6969
}
70+
/**
71+
* @return bool
72+
*/
73+
public function getIsValid()
74+
{
75+
return $this->getProperty("IsValid");
76+
}
77+
/**
78+
* @var bool
79+
*/
80+
public function setIsValid($value)
81+
{
82+
return $this->setProperty("IsValid", $value, true);
83+
}
84+
/**
85+
* @return integer
86+
*/
87+
public function getStore()
88+
{
89+
return $this->getProperty("Store");
90+
}
91+
/**
92+
* @var integer
93+
*/
94+
public function setStore($value)
95+
{
96+
return $this->setProperty("Store", $value, true);
97+
}
7098
}

src/SharePoint/Publishing/CampaignPublication.php

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

33
/**
4-
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
4+
* Generated 2024-02-24T10:21:51+00:00 16.0.24607.12008
55
*/
66
namespace Office365\SharePoint\Publishing;
77

@@ -92,4 +92,18 @@ public function setTeamsEndpoint($value)
9292
{
9393
return $this->setProperty("TeamsEndpoint", $value, true);
9494
}
95+
/**
96+
* @return string
97+
*/
98+
public function getVivaEngageEndpoint()
99+
{
100+
return $this->getProperty("VivaEngageEndpoint");
101+
}
102+
/**
103+
* @var string
104+
*/
105+
public function setVivaEngageEndpoint($value)
106+
{
107+
return $this->setProperty("VivaEngageEndpoint", $value, true);
108+
}
95109
}

src/SharePoint/Publishing/CampaignPublicationFieldsData.php

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

33
/**
4-
* Generated 2023-09-30T09:13:50+00:00 16.0.24106.12014
4+
* Generated 2024-02-24T10:21:51+00:00 16.0.24607.12008
55
*/
66
namespace Office365\SharePoint\Publishing;
77

@@ -32,4 +32,8 @@ class CampaignPublicationFieldsData extends ClientValue
3232
* @var string
3333
*/
3434
public $EndpointTeams;
35+
/**
36+
* @var string
37+
*/
38+
public $EndpointVivaEngage;
3539
}

src/SharePoint/SPList.php

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

33
/**
4-
* Generated 2023-10-01T08:17:31+00:00 16.0.24106.12014
4+
* Generated 2024-02-24T10:21:51+00:00 16.0.24607.12008
55
*/
66
namespace Office365\SharePoint;
77

@@ -1672,4 +1672,32 @@ public function getVersionPolicies()
16721672
{
16731673
return $this->getProperty("VersionPolicies", new VersionPolicyManager($this->getContext(), new ResourcePath("VersionPolicies", $this->getResourcePath())));
16741674
}
1675+
/**
1676+
* @return string
1677+
*/
1678+
public function getEnabledQueryableColumnsDateTime()
1679+
{
1680+
return $this->getProperty("EnabledQueryableColumnsDateTime");
1681+
}
1682+
/**
1683+
* @var string
1684+
*/
1685+
public function setEnabledQueryableColumnsDateTime($value)
1686+
{
1687+
return $this->setProperty("EnabledQueryableColumnsDateTime", $value, true);
1688+
}
1689+
/**
1690+
* @return bool
1691+
*/
1692+
public function getIsContributorOwnerEnabled()
1693+
{
1694+
return $this->getProperty("IsContributorOwnerEnabled");
1695+
}
1696+
/**
1697+
* @var bool
1698+
*/
1699+
public function setIsContributorOwnerEnabled($value)
1700+
{
1701+
return $this->setProperty("IsContributorOwnerEnabled", $value, true);
1702+
}
16751703
}

0 commit comments

Comments
 (0)