Skip to content

Commit

Permalink
Merge pull request #98 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Dec 5, 2022
2 parents 25c8626 + b450176 commit e9a416d
Show file tree
Hide file tree
Showing 879 changed files with 11,266 additions and 2,628 deletions.
93 changes: 58 additions & 35 deletions changes.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/test_ID',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete_withDataErasure' => [
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete_withExpand' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
Expand All @@ -155,12 +155,12 @@ function (ApiRequestBuilder $builder): RequestInterface {
->shoppingLists()
->withId('test_ID')
->delete()
->withDataErasure('dataErasure');
->withExpand('expand');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/test_ID?dataErasure=dataErasure',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/test_ID?expand=expand',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete_withVersion' => [
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete_withDataErasure' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
Expand All @@ -169,12 +169,12 @@ function (ApiRequestBuilder $builder): RequestInterface {
->shoppingLists()
->withId('test_ID')
->delete()
->withVersion('version');
->withDataErasure('dataErasure');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/test_ID?version=version',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/test_ID?dataErasure=dataErasure',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete_withExpand' => [
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete_withVersion' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
Expand All @@ -183,10 +183,10 @@ function (ApiRequestBuilder $builder): RequestInterface {
->shoppingLists()
->withId('test_ID')
->delete()
->withExpand('expand');
->withVersion('version');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/test_ID?expand=expand',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/test_ID?version=version',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsByIDDelete' => [
function (ApiRequestBuilder $builder): RequestInterface {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/key=test_key',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete_withDataErasure' => [
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete_withExpand' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
Expand All @@ -155,12 +155,12 @@ function (ApiRequestBuilder $builder): RequestInterface {
->shoppingLists()
->withKey('test_key')
->delete()
->withDataErasure('dataErasure');
->withExpand('expand');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/key=test_key?dataErasure=dataErasure',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/key=test_key?expand=expand',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete_withVersion' => [
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete_withDataErasure' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
Expand All @@ -169,12 +169,12 @@ function (ApiRequestBuilder $builder): RequestInterface {
->shoppingLists()
->withKey('test_key')
->delete()
->withVersion('version');
->withDataErasure('dataErasure');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/key=test_key?version=version',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/key=test_key?dataErasure=dataErasure',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete_withExpand' => [
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete_withVersion' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
Expand All @@ -183,10 +183,10 @@ function (ApiRequestBuilder $builder): RequestInterface {
->shoppingLists()
->withKey('test_key')
->delete()
->withExpand('expand');
->withVersion('version');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/key=test_key?expand=expand',
'test_projectKey/in-store/key=test_storeKey/me/shopping-lists/key=test_key?version=version',
],
'ByProjectKeyInStoreKeyByStoreKeyMeShoppingListsKeyByKeyDelete' => [
function (ApiRequestBuilder $builder): RequestInterface {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@ public function testExecuteServerException(callable $builderFunction)
public function getRequests()
{
return [
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet_withStaged' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->productProjections()
->withId('test_ID')
->get()
->withStaged('staged');
},
'get',
'test_projectKey/in-store/key=test_storeKey/product-projections/test_ID?staged=staged',
],
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet_withPriceCurrency' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,19 @@ public function testExecuteServerException(callable $builderFunction)
public function getRequests()
{
return [
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet_withStaged' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->productProjections()
->withKey('test_key')
->get()
->withStaged('staged');
},
'get',
'test_projectKey/in-store/key=test_storeKey/product-projections/key=test_key?staged=staged',
],
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet_withPriceCurrency' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,44 +142,44 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/test_ID',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete_withDataErasure' => [
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete_withExpand' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->shoppingLists()
->withId('test_ID')
->delete()
->withDataErasure('dataErasure');
->withExpand('expand');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/test_ID?dataErasure=dataErasure',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/test_ID?expand=expand',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete_withVersion' => [
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete_withDataErasure' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->shoppingLists()
->withId('test_ID')
->delete()
->withVersion('version');
->withDataErasure('dataErasure');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/test_ID?version=version',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/test_ID?dataErasure=dataErasure',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete_withExpand' => [
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete_withVersion' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->shoppingLists()
->withId('test_ID')
->delete()
->withExpand('expand');
->withVersion('version');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/test_ID?expand=expand',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/test_ID?version=version',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsByIDDelete' => [
function (ApiRequestBuilder $builder): RequestInterface {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,44 +142,44 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/key=test_key',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete_withDataErasure' => [
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete_withExpand' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->shoppingLists()
->withKey('test_key')
->delete()
->withDataErasure('dataErasure');
->withExpand('expand');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/key=test_key?dataErasure=dataErasure',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/key=test_key?expand=expand',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete_withVersion' => [
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete_withDataErasure' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->shoppingLists()
->withKey('test_key')
->delete()
->withVersion('version');
->withDataErasure('dataErasure');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/key=test_key?version=version',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/key=test_key?dataErasure=dataErasure',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete_withExpand' => [
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete_withVersion' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->inStoreKeyWithStoreKeyValue('test_storeKey')
->shoppingLists()
->withKey('test_key')
->delete()
->withExpand('expand');
->withVersion('version');
},
'delete',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/key=test_key?expand=expand',
'test_projectKey/in-store/key=test_storeKey/shopping-lists/key=test_key?version=version',
],
'ByProjectKeyInStoreKeyByStoreKeyShoppingListsKeyByKeyDelete' => [
function (ApiRequestBuilder $builder): RequestInterface {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,31 +142,31 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/me/shopping-lists/test_ID',
],
'ByProjectKeyMeShoppingListsByIDDelete_withVersion' => [
'ByProjectKeyMeShoppingListsByIDDelete_withExpand' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->me()
->shoppingLists()
->withId('test_ID')
->delete()
->withVersion('version');
->withExpand('expand');
},
'delete',
'test_projectKey/me/shopping-lists/test_ID?version=version',
'test_projectKey/me/shopping-lists/test_ID?expand=expand',
],
'ByProjectKeyMeShoppingListsByIDDelete_withExpand' => [
'ByProjectKeyMeShoppingListsByIDDelete_withVersion' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->me()
->shoppingLists()
->withId('test_ID')
->delete()
->withExpand('expand');
->withVersion('version');
},
'delete',
'test_projectKey/me/shopping-lists/test_ID?expand=expand',
'test_projectKey/me/shopping-lists/test_ID?version=version',
],
'ByProjectKeyMeShoppingListsByIDDelete' => [
function (ApiRequestBuilder $builder): RequestInterface {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,31 +142,31 @@ function (ApiRequestBuilder $builder): RequestInterface {
'post',
'test_projectKey/me/shopping-lists/key=test_key',
],
'ByProjectKeyMeShoppingListsKeyByKeyDelete_withVersion' => [
'ByProjectKeyMeShoppingListsKeyByKeyDelete_withExpand' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->me()
->shoppingLists()
->withKey('test_key')
->delete()
->withVersion('version');
->withExpand('expand');
},
'delete',
'test_projectKey/me/shopping-lists/key=test_key?version=version',
'test_projectKey/me/shopping-lists/key=test_key?expand=expand',
],
'ByProjectKeyMeShoppingListsKeyByKeyDelete_withExpand' => [
'ByProjectKeyMeShoppingListsKeyByKeyDelete_withVersion' => [
function (ApiRequestBuilder $builder): RequestInterface {
return $builder
->withProjectKey('test_projectKey')
->me()
->shoppingLists()
->withKey('test_key')
->delete()
->withExpand('expand');
->withVersion('version');
},
'delete',
'test_projectKey/me/shopping-lists/key=test_key?expand=expand',
'test_projectKey/me/shopping-lists/key=test_key?version=version',
],
'ByProjectKeyMeShoppingListsKeyByKeyDelete' => [
function (ApiRequestBuilder $builder): RequestInterface {
Expand Down
Loading

0 comments on commit e9a416d

Please sign in to comment.