Skip to content

Commit

Permalink
Merge pull request #298 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Jan 14, 2025
2 parents 0336aa6 + 199fb7e commit 19ea978
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 15 deletions.
8 changes: 4 additions & 4 deletions lib/commercetools-api/src/Models/ApiClient/ApiClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ interface ApiClient extends JsonObject
public const FIELD_REFRESH_TOKEN_VALIDITY_SECONDS = 'refreshTokenValiditySeconds';

/**
* <p>The OAuth2 <code>client_id</code> that can be used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* <p>The OAuth2 <code>client_id</code> that can be used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
* @return null|string
Expand All @@ -41,7 +41,7 @@ public function getId();
public function getName();

/**
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
*
* @return null|string
Expand All @@ -50,15 +50,15 @@ public function getScope();

/**
* <p>Only shown once in the response of creating the APIClient.
* This is the OAuth2 <code>client_secret</code> that can be used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* This is the OAuth2 <code>client_secret</code> that can be used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
* @return null|string
*/
public function getSecret();

/**
* <p>Date of the last day this APIClient was used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* <p>Date of the last day this APIClient was used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
* @return null|DateTimeImmutable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ final class ApiClientBuilder implements Builder
private $refreshTokenValiditySeconds;

/**
* <p>The OAuth2 <code>client_id</code> that can be used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* <p>The OAuth2 <code>client_id</code> that can be used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
* @return null|string
Expand All @@ -98,7 +98,7 @@ public function getName()
}

/**
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
*
* @return null|string
Expand All @@ -110,7 +110,7 @@ public function getScope()

/**
* <p>Only shown once in the response of creating the APIClient.
* This is the OAuth2 <code>client_secret</code> that can be used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* This is the OAuth2 <code>client_secret</code> that can be used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
* @return null|string
Expand All @@ -121,7 +121,7 @@ public function getSecret()
}

/**
* <p>Date of the last day this APIClient was used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* <p>Date of the last day this APIClient was used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
* @return null|DateTimeImmutable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ interface ApiClientDraft extends JsonObject
public function getName();

/**
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
*
* @return null|string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function getName()
}

/**
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
*
* @return null|string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public function getName()
}

/**
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
*
*
* @return null|string
Expand Down
8 changes: 4 additions & 4 deletions lib/commercetools-api/src/Models/ApiClient/ApiClientModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function __construct(
}

/**
* <p>The OAuth2 <code>client_id</code> that can be used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* <p>The OAuth2 <code>client_id</code> that can be used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
*
* @return null|string
Expand Down Expand Up @@ -141,7 +141,7 @@ public function getName()
}

/**
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
* <p>Whitespace-separated list of <a href="/../api/scopes">OAuth scopes</a> that can be used when <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtaining an access token</a>.</p>
*
*
* @return null|string
Expand All @@ -162,7 +162,7 @@ public function getScope()

/**
* <p>Only shown once in the response of creating the APIClient.
* This is the OAuth2 <code>client_secret</code> that can be used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* This is the OAuth2 <code>client_secret</code> that can be used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
*
* @return null|string
Expand All @@ -182,7 +182,7 @@ public function getSecret()
}

/**
* <p>Date of the last day this APIClient was used to <a href="/../api/authorization#requesting-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
* <p>Date of the last day this APIClient was used to <a href="/../api/authorization#request-an-access-token-using-the-composable-commerce-oauth-20-service">obtain an access token</a>.</p>
*
*
* @return null|DateTimeImmutable
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -348,3 +348,4 @@ b7b82f5a701908239fcf39781bcbfa80823c9fa0
cc1732f88ea3dc336358ff9f39cda9d5271cf7c2
e3d5bc9cb69146c5d1dd755ed5e8cf2f54566b3a
591d5eaefd1d56fd350895ccea401cb42f2f0ee8
e45c96065b0f2d6cbb563b65fbed44785e8a8149

0 comments on commit 19ea978

Please sign in to comment.