Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions lib/Api/AccountApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ class AccountApi
* @param HeaderSelector $selector
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null
) {
$this->client = $client ?: new Client();
$this->config = $config ?: new Configuration();
Expand Down Expand Up @@ -266,7 +266,7 @@ protected function getAccountRequest()



// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -577,7 +577,7 @@ protected function getAccountActivityRequest($startDate = null, $endDate = null,
}


// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down
14 changes: 7 additions & 7 deletions lib/Api/AttributesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ class AttributesApi
* @param HeaderSelector $selector
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null
) {
$this->client = $client ?: new Client();
$this->config = $config ?: new Configuration();
Expand Down Expand Up @@ -286,7 +286,7 @@ protected function createAttributeRequest($attributeCategory, $attributeName, $c
);
}

// body params
// body ?params
$_tempBody = null;
if (isset($createAttribute)) {
$_tempBody = $createAttribute;
Expand Down Expand Up @@ -566,7 +566,7 @@ protected function deleteAttributeRequest($attributeCategory, $attributeName)
);
}

// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -826,7 +826,7 @@ protected function getAttributesRequest()



// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -1114,7 +1114,7 @@ protected function updateAttributeRequest($attributeCategory, $attributeName, $u
);
}

// body params
// body ?params
$_tempBody = null;
if (isset($updateAttribute)) {
$_tempBody = $updateAttribute;
Expand Down
28 changes: 14 additions & 14 deletions lib/Api/CRMApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ class CRMApi
* @param HeaderSelector $selector
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null
) {
$this->client = $client ?: new Client();
$this->config = $config ?: new Configuration();
Expand Down Expand Up @@ -337,7 +337,7 @@ protected function crmNotesGetRequest($entity = null, $entityIds = null, $dateFr
}


// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -595,7 +595,7 @@ protected function crmNotesIdDeleteRequest($id)
);
}

// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -890,7 +890,7 @@ protected function crmNotesIdGetRequest($id)
);
}

// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -1167,7 +1167,7 @@ protected function crmNotesIdPatchRequest($id, $body)
);
}

// body params
// body ?params
$_tempBody = null;
if (isset($body)) {
$_tempBody = $body;
Expand Down Expand Up @@ -1457,7 +1457,7 @@ protected function crmNotesPostRequest($body)



// body params
// body ?params
$_tempBody = null;
if (isset($body)) {
$_tempBody = $body;
Expand Down Expand Up @@ -1845,7 +1845,7 @@ protected function crmTasksGetRequest($filterType = null, $filterStatus = null,
}


// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -2103,7 +2103,7 @@ protected function crmTasksIdDeleteRequest($id)
);
}

// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -2398,7 +2398,7 @@ protected function crmTasksIdGetRequest($id)
);
}

// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -2667,7 +2667,7 @@ protected function crmTasksIdPatchRequest($id, $body)
);
}

// body params
// body ?params
$_tempBody = null;
if (isset($body)) {
$_tempBody = $body;
Expand Down Expand Up @@ -2941,7 +2941,7 @@ protected function crmTasksPostRequest($body)



// body params
// body ?params
$_tempBody = null;
if (isset($body)) {
$_tempBody = $body;
Expand Down Expand Up @@ -3204,7 +3204,7 @@ protected function crmTasktypesGetRequest()



// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down
20 changes: 10 additions & 10 deletions lib/Api/CompaniesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ class CompaniesApi
* @param HeaderSelector $selector
*/
public function __construct(
ClientInterface $client = null,
Configuration $config = null,
HeaderSelector $selector = null
?ClientInterface $client = null,
?Configuration $config = null,
?HeaderSelector $selector = null
) {
$this->client = $client ?: new Client();
$this->config = $config ?: new Configuration();
Expand Down Expand Up @@ -266,7 +266,7 @@ protected function companiesAttributesGetRequest()



// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -597,7 +597,7 @@ protected function companiesGetRequest($filters = null, $linkedContactsIds = nul
}


// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -855,7 +855,7 @@ protected function companiesIdDeleteRequest($id)
);
}

// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -1150,7 +1150,7 @@ protected function companiesIdGetRequest($id)
);
}

// body params
// body ?params
$_tempBody = null;

if ($multipart) {
Expand Down Expand Up @@ -1456,7 +1456,7 @@ protected function companiesIdPatchRequest($id, $body)
);
}

// body params
// body ?params
$_tempBody = null;
if (isset($body)) {
$_tempBody = $body;
Expand Down Expand Up @@ -1720,7 +1720,7 @@ protected function companiesLinkUnlinkIdPatchRequest($id, $body)
);
}

// body params
// body ?params
$_tempBody = null;
if (isset($body)) {
$_tempBody = $body;
Expand Down Expand Up @@ -1994,7 +1994,7 @@ protected function companiesPostRequest($body)



// body params
// body ?params
$_tempBody = null;
if (isset($body)) {
$_tempBody = $body;
Expand Down
Loading