Skip to content

Commit

Permalink
Merge pull request #386 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 Dec 9, 2024
2 parents 88c9a86 + 7f0aaf9 commit e8fe9bc
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 64 deletions.
17 changes: 3 additions & 14 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
**Api changes**
**Import changes**

<details>
<summary>Changed Property(s)</summary>
<summary>Removed Type(s)</summary>

- :warning: changed property `line` of type `GraphQLErrorLocation` from type `integer` to `number`
- :warning: changed property `column` of type `GraphQLErrorLocation` from type `integer` to `number`
- :warning: changed property `totalPrice` of type `StagedOrder` from type `TypedMoney` to `CentPrecisionMoney`
- :warning: changed property `totalPrice` of type `Order` from type `TypedMoney` to `CentPrecisionMoney`
</details>


<details>
<summary>Added QueryParameter(s)</summary>

- added query parameter `where` to method `get /{projectKey}/product-selections/key={key}/products`
- added query parameter `where` to method `get /{projectKey}/product-selections/{ID}/products`
- :warning: removed type `ReferencedResourceNotFound`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ namespace commercetools.Sdk.ImportApi.Models.Errors
[SubTypeDiscriminator("InvalidOperation", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidOperation))]
[SubTypeDiscriminator("InvalidTransition", typeof(commercetools.Sdk.ImportApi.Models.Errors.InvalidStateTransitionError))]
[SubTypeDiscriminator("NewMasterVariantAdditionNotAllowed", typeof(commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllowedError))]
[SubTypeDiscriminator("ReferencedResourceNotFound", typeof(commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound))]
[SubTypeDiscriminator("RequiredField", typeof(commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError))]
[SubTypeDiscriminator("ResourceCreation", typeof(commercetools.Sdk.ImportApi.Models.Errors.ResourceCreationError))]
[SubTypeDiscriminator("ResourceDeletion", typeof(commercetools.Sdk.ImportApi.Models.Errors.ResourceDeletionError))]
Expand Down Expand Up @@ -150,12 +149,6 @@ static commercetools.Sdk.ImportApi.Models.Errors.NewMasterVariantAdditionNotAllo
init?.Invoke(t);
return t;
}
static commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound ReferencedResourceNotFound(Action<commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound> init = null)
{
var t = new commercetools.Sdk.ImportApi.Models.Errors.ReferencedResourceNotFound();
init?.Invoke(t);
return t;
}
static commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError RequiredField(Action<commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError> init = null)
{
var t = new commercetools.Sdk.ImportApi.Models.Errors.RequiredFieldError();
Expand Down

This file was deleted.

This file was deleted.

1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,4 @@ f254d17f05343dcc4299fc53ff9b335b5ef63d69
b747e1fa4f246b748a89bccbfd8a43f5b6f51175
f4cb4be0d9a27d8799b209eeb70db38bd80d5f57
7375cdc26481ba55e756479a87270432635bfcf7
df53588d26d7953dfdf44166866ca03045f0a70b

0 comments on commit e8fe9bc

Please sign in to comment.