Skip to content

Commit d909472

Browse files
committed
build(codegen): updating SDK
1 parent 4116769 commit d909472

File tree

432 files changed

+43355
-48
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

432 files changed

+43355
-48
lines changed

changes.md

Lines changed: 140 additions & 0 deletions
Large diffs are not rendered by default.

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDTest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,19 @@ function (ApiRequestBuilder $builder): RequestInterface {
169169
'get',
170170
'test_projectKey/in-store/key=test_storeKey/product-projections/test_ID?priceChannel=priceChannel',
171171
],
172+
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet_withPriceRecurrencePolicy' => [
173+
function (ApiRequestBuilder $builder): RequestInterface {
174+
return $builder
175+
->withProjectKey('test_projectKey')
176+
->inStoreKeyWithStoreKeyValue('test_storeKey')
177+
->productProjections()
178+
->withId('test_ID')
179+
->get()
180+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
181+
},
182+
'get',
183+
'test_projectKey/in-store/key=test_storeKey/product-projections/test_ID?priceRecurrencePolicy=priceRecurrencePolicy',
184+
],
172185
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet_withLocaleProjection' => [
173186
function (ApiRequestBuilder $builder): RequestInterface {
174187
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyTest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,19 @@ function (ApiRequestBuilder $builder): RequestInterface {
169169
'get',
170170
'test_projectKey/in-store/key=test_storeKey/product-projections/key=test_key?priceChannel=priceChannel',
171171
],
172+
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet_withPriceRecurrencePolicy' => [
173+
function (ApiRequestBuilder $builder): RequestInterface {
174+
return $builder
175+
->withProjectKey('test_projectKey')
176+
->inStoreKeyWithStoreKeyValue('test_storeKey')
177+
->productProjections()
178+
->withKey('test_key')
179+
->get()
180+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
181+
},
182+
'get',
183+
'test_projectKey/in-store/key=test_storeKey/product-projections/key=test_key?priceRecurrencePolicy=priceRecurrencePolicy',
184+
],
172185
'ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet_withLocaleProjection' => [
173186
function (ApiRequestBuilder $builder): RequestInterface {
174187
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyProductProjectionsByIDTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
163163
'get',
164164
'test_projectKey/product-projections/test_ID?priceChannel=priceChannel',
165165
],
166+
'ByProjectKeyProductProjectionsByIDGet_withPriceRecurrencePolicy' => [
167+
function (ApiRequestBuilder $builder): RequestInterface {
168+
return $builder
169+
->withProjectKey('test_projectKey')
170+
->productProjections()
171+
->withId('test_ID')
172+
->get()
173+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
174+
},
175+
'get',
176+
'test_projectKey/product-projections/test_ID?priceRecurrencePolicy=priceRecurrencePolicy',
177+
],
166178
'ByProjectKeyProductProjectionsByIDGet_withLocaleProjection' => [
167179
function (ApiRequestBuilder $builder): RequestInterface {
168180
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyProductProjectionsKeyByKeyTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
163163
'get',
164164
'test_projectKey/product-projections/key=test_key?priceChannel=priceChannel',
165165
],
166+
'ByProjectKeyProductProjectionsKeyByKeyGet_withPriceRecurrencePolicy' => [
167+
function (ApiRequestBuilder $builder): RequestInterface {
168+
return $builder
169+
->withProjectKey('test_projectKey')
170+
->productProjections()
171+
->withKey('test_key')
172+
->get()
173+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
174+
},
175+
'get',
176+
'test_projectKey/product-projections/key=test_key?priceRecurrencePolicy=priceRecurrencePolicy',
177+
],
166178
'ByProjectKeyProductProjectionsKeyByKeyGet_withLocaleProjection' => [
167179
function (ApiRequestBuilder $builder): RequestInterface {
168180
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyProductProjectionsSearchTest.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
318318
'get',
319319
'test_projectKey/product-projections/search?priceChannel=priceChannel',
320320
],
321+
'ByProjectKeyProductProjectionsSearchGet_withPriceRecurrencePolicy' => [
322+
function (ApiRequestBuilder $builder): RequestInterface {
323+
return $builder
324+
->withProjectKey('test_projectKey')
325+
->productProjections()
326+
->search()
327+
->get()
328+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
329+
},
330+
'get',
331+
'test_projectKey/product-projections/search?priceRecurrencePolicy=priceRecurrencePolicy',
332+
],
321333
'ByProjectKeyProductProjectionsSearchGet_withLocaleProjection' => [
322334
function (ApiRequestBuilder $builder): RequestInterface {
323335
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyProductProjectionsTest.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,17 @@ function (ApiRequestBuilder $builder): RequestInterface {
170170
'get',
171171
'test_projectKey/product-projections?priceChannel=priceChannel',
172172
],
173+
'ByProjectKeyProductProjectionsGet_withPriceRecurrencePolicy' => [
174+
function (ApiRequestBuilder $builder): RequestInterface {
175+
return $builder
176+
->withProjectKey('test_projectKey')
177+
->productProjections()
178+
->get()
179+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
180+
},
181+
'get',
182+
'test_projectKey/product-projections?priceRecurrencePolicy=priceRecurrencePolicy',
183+
],
173184
'ByProjectKeyProductProjectionsGet_withLocaleProjection' => [
174185
function (ApiRequestBuilder $builder): RequestInterface {
175186
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyProductsByIDTest.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
164164
'get',
165165
'test_projectKey/products/test_ID?priceChannel=priceChannel',
166166
],
167+
'ByProjectKeyProductsByIDGet_withPriceRecurrencePolicy' => [
168+
function (ApiRequestBuilder $builder): RequestInterface {
169+
return $builder
170+
->withProjectKey('test_projectKey')
171+
->products()
172+
->withId('test_ID')
173+
->get()
174+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
175+
},
176+
'get',
177+
'test_projectKey/products/test_ID?priceRecurrencePolicy=priceRecurrencePolicy',
178+
],
167179
'ByProjectKeyProductsByIDGet_withExpand' => [
168180
function (ApiRequestBuilder $builder): RequestInterface {
169181
return $builder
@@ -258,6 +270,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
258270
'post',
259271
'test_projectKey/products/test_ID?priceChannel=priceChannel',
260272
],
273+
'ByProjectKeyProductsByIDPost_withPriceRecurrencePolicy' => [
274+
function (ApiRequestBuilder $builder): RequestInterface {
275+
return $builder
276+
->withProjectKey('test_projectKey')
277+
->products()
278+
->withId('test_ID')
279+
->post(null)
280+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
281+
},
282+
'post',
283+
'test_projectKey/products/test_ID?priceRecurrencePolicy=priceRecurrencePolicy',
284+
],
261285
'ByProjectKeyProductsByIDPost_withExpand' => [
262286
function (ApiRequestBuilder $builder): RequestInterface {
263287
return $builder
@@ -341,6 +365,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
341365
'delete',
342366
'test_projectKey/products/test_ID?priceChannel=priceChannel',
343367
],
368+
'ByProjectKeyProductsByIDDelete_withPriceRecurrencePolicy' => [
369+
function (ApiRequestBuilder $builder): RequestInterface {
370+
return $builder
371+
->withProjectKey('test_projectKey')
372+
->products()
373+
->withId('test_ID')
374+
->delete()
375+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
376+
},
377+
'delete',
378+
'test_projectKey/products/test_ID?priceRecurrencePolicy=priceRecurrencePolicy',
379+
],
344380
'ByProjectKeyProductsByIDDelete_withVersion' => [
345381
function (ApiRequestBuilder $builder): RequestInterface {
346382
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyProductsKeyByKeyTest.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
163163
'get',
164164
'test_projectKey/products/key=test_key?priceChannel=priceChannel',
165165
],
166+
'ByProjectKeyProductsKeyByKeyGet_withPriceRecurrencePolicy' => [
167+
function (ApiRequestBuilder $builder): RequestInterface {
168+
return $builder
169+
->withProjectKey('test_projectKey')
170+
->products()
171+
->withKey('test_key')
172+
->get()
173+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
174+
},
175+
'get',
176+
'test_projectKey/products/key=test_key?priceRecurrencePolicy=priceRecurrencePolicy',
177+
],
166178
'ByProjectKeyProductsKeyByKeyGet_withExpand' => [
167179
function (ApiRequestBuilder $builder): RequestInterface {
168180
return $builder
@@ -257,6 +269,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
257269
'post',
258270
'test_projectKey/products/key=test_key?priceChannel=priceChannel',
259271
],
272+
'ByProjectKeyProductsKeyByKeyPost_withPriceRecurrencePolicy' => [
273+
function (ApiRequestBuilder $builder): RequestInterface {
274+
return $builder
275+
->withProjectKey('test_projectKey')
276+
->products()
277+
->withKey('test_key')
278+
->post(null)
279+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
280+
},
281+
'post',
282+
'test_projectKey/products/key=test_key?priceRecurrencePolicy=priceRecurrencePolicy',
283+
],
260284
'ByProjectKeyProductsKeyByKeyPost_withExpand' => [
261285
function (ApiRequestBuilder $builder): RequestInterface {
262286
return $builder
@@ -340,6 +364,18 @@ function (ApiRequestBuilder $builder): RequestInterface {
340364
'delete',
341365
'test_projectKey/products/key=test_key?priceChannel=priceChannel',
342366
],
367+
'ByProjectKeyProductsKeyByKeyDelete_withPriceRecurrencePolicy' => [
368+
function (ApiRequestBuilder $builder): RequestInterface {
369+
return $builder
370+
->withProjectKey('test_projectKey')
371+
->products()
372+
->withKey('test_key')
373+
->delete()
374+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
375+
},
376+
'delete',
377+
'test_projectKey/products/key=test_key?priceRecurrencePolicy=priceRecurrencePolicy',
378+
],
343379
'ByProjectKeyProductsKeyByKeyDelete_withVersion' => [
344380
function (ApiRequestBuilder $builder): RequestInterface {
345381
return $builder

lib/commercetools-api-tests/test/unit/Client/Resource/ResourceByProjectKeyProductsTest.php

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,17 @@ function (ApiRequestBuilder $builder): RequestInterface {
170170
'get',
171171
'test_projectKey/products?priceChannel=priceChannel',
172172
],
173+
'ByProjectKeyProductsGet_withPriceRecurrencePolicy' => [
174+
function (ApiRequestBuilder $builder): RequestInterface {
175+
return $builder
176+
->withProjectKey('test_projectKey')
177+
->products()
178+
->get()
179+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
180+
},
181+
'get',
182+
'test_projectKey/products?priceRecurrencePolicy=priceRecurrencePolicy',
183+
],
173184
'ByProjectKeyProductsGet_withExpand' => [
174185
function (ApiRequestBuilder $builder): RequestInterface {
175186
return $builder
@@ -322,6 +333,17 @@ function (ApiRequestBuilder $builder): RequestInterface {
322333
'post',
323334
'test_projectKey/products?priceChannel=priceChannel',
324335
],
336+
'ByProjectKeyProductsPost_withPriceRecurrencePolicy' => [
337+
function (ApiRequestBuilder $builder): RequestInterface {
338+
return $builder
339+
->withProjectKey('test_projectKey')
340+
->products()
341+
->post(null)
342+
->withPriceRecurrencePolicy('priceRecurrencePolicy');
343+
},
344+
'post',
345+
'test_projectKey/products?priceRecurrencePolicy=priceRecurrencePolicy',
346+
],
325347
'ByProjectKeyProductsPost_withExpand' => [
326348
function (ApiRequestBuilder $builder): RequestInterface {
327349
return $builder

0 commit comments

Comments
 (0)