Skip to content

Commit

Permalink
Merge pull request #80 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
MicheleRezk authored Aug 20, 2021
2 parents 0bbd930 + 87821e3 commit 6211b6f
Show file tree
Hide file tree
Showing 614 changed files with 1,206 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public ByProjectKeyApiClientsByIDDelete(IClient apiHttpClient, string projectKey
}




public async Task<commercetools.Api.Models.ApiClients.IApiClient> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public ByProjectKeyApiClientsByIDGet(IClient apiHttpClient, string projectKey, s
}




public async Task<commercetools.Api.Models.ApiClients.IApiClient> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.ApiClients
{

public class ByProjectKeyApiClientsByIDRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public ByProjectKeyApiClientsGet WithWithTotal(bool withTotal){
public ByProjectKeyApiClientsGet WithWhere(string where){
return this.AddQueryParam("where", where);
}

public ByProjectKeyApiClientsGet WithPredicateVar(string varName, string predicateVar){
return this.AddQueryParam($"var.{varName}", predicateVar);
}

public async Task<commercetools.Api.Models.ApiClients.IApiClientPagedQueryResponse> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public List<string> GetExpand() {
public ByProjectKeyApiClientsPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.ApiClients.IApiClient> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace commercetools.Api.Client.RequestBuilders.ApiClients
{

public class ByProjectKeyApiClientsRequestBuilder {

private IClient ApiHttpClient { get; }
Expand All @@ -28,6 +29,7 @@ public ByProjectKeyApiClientsPost Post(commercetools.Api.Models.ApiClients.IApiC
return new ByProjectKeyApiClientsPost(ApiHttpClient, SerializerService, ProjectKey, apiClientDraft);
}


public ByProjectKeyApiClientsByIDRequestBuilder WithId(string ID) {
return new ByProjectKeyApiClientsByIDRequestBuilder(ApiHttpClient, SerializerService, ProjectKey, ID);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public ByProjectKeyCartDiscountsByIDDelete WithVersion(long version){
public ByProjectKeyCartDiscountsByIDDelete WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscount> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartDiscountsByIDGet WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscount> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartDiscountsByIDPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscount> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.CartDiscounts
{

public class ByProjectKeyCartDiscountsByIDRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public ByProjectKeyCartDiscountsGet WithWithTotal(bool withTotal){
public ByProjectKeyCartDiscountsGet WithWhere(string where){
return this.AddQueryParam("where", where);
}

public ByProjectKeyCartDiscountsGet WithPredicateVar(string varName, string predicateVar){
return this.AddQueryParam($"var.{varName}", predicateVar);
}

public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscountPagedQueryResponse> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public ByProjectKeyCartDiscountsKeyByKeyDelete WithVersion(long version){
public ByProjectKeyCartDiscountsKeyByKeyDelete WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscount> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartDiscountsKeyByKeyGet WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscount> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartDiscountsKeyByKeyPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscount> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.CartDiscounts
{

public class ByProjectKeyCartDiscountsKeyByKeyRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartDiscountsPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.CartDiscounts.ICartDiscount> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace commercetools.Api.Client.RequestBuilders.CartDiscounts
{

public class ByProjectKeyCartDiscountsRequestBuilder {

private IClient ApiHttpClient { get; }
Expand All @@ -28,9 +29,11 @@ public ByProjectKeyCartDiscountsPost Post(commercetools.Api.Models.CartDiscounts
return new ByProjectKeyCartDiscountsPost(ApiHttpClient, SerializerService, ProjectKey, cartDiscountDraft);
}


public ByProjectKeyCartDiscountsKeyByKeyRequestBuilder WithKey(string key) {
return new ByProjectKeyCartDiscountsKeyByKeyRequestBuilder(ApiHttpClient, SerializerService, ProjectKey, key);
}

public ByProjectKeyCartDiscountsByIDRequestBuilder WithId(string ID) {
return new ByProjectKeyCartDiscountsByIDRequestBuilder(ApiHttpClient, SerializerService, ProjectKey, ID);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public ByProjectKeyCartsByIDDelete WithVersion(long version){
public ByProjectKeyCartsByIDDelete WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartsByIDGet WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartsByIDPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.Carts
{

public class ByProjectKeyCartsByIDRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartsCustomerIdByCustomerIdGet WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.Carts
{

public class ByProjectKeyCartsCustomerIdByCustomerIdRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ public ByProjectKeyCartsGet WithWithTotal(bool withTotal){
public ByProjectKeyCartsGet WithWhere(string where){
return this.AddQueryParam("where", where);
}

public ByProjectKeyCartsGet WithPredicateVar(string varName, string predicateVar){
return this.AddQueryParam($"var.{varName}", predicateVar);
}

public async Task<commercetools.Api.Models.Carts.ICartPagedQueryResponse> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public ByProjectKeyCartsKeyByKeyDelete WithVersion(long version){
public ByProjectKeyCartsKeyByKeyDelete WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartsKeyByKeyGet WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartsKeyByKeyPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.Carts
{

public class ByProjectKeyCartsKeyByKeyRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public List<string> GetExpand() {
public ByProjectKeyCartsPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public ByProjectKeyCartsReplicatePost(IClient apiHttpClient, ISerializerService
}




public async Task<commercetools.Api.Models.Carts.ICart> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.Carts
{

public class ByProjectKeyCartsReplicateRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

namespace commercetools.Api.Client.RequestBuilders.Carts
{

public class ByProjectKeyCartsRequestBuilder {

private IClient ApiHttpClient { get; }
Expand All @@ -28,15 +29,19 @@ public ByProjectKeyCartsPost Post(commercetools.Api.Models.Carts.ICartDraft cart
return new ByProjectKeyCartsPost(ApiHttpClient, SerializerService, ProjectKey, cartDraft);
}


public ByProjectKeyCartsReplicateRequestBuilder Replicate() {
return new ByProjectKeyCartsReplicateRequestBuilder(ApiHttpClient, SerializerService, ProjectKey);
}

public ByProjectKeyCartsCustomerIdByCustomerIdRequestBuilder WithCustomerId(string customerId) {
return new ByProjectKeyCartsCustomerIdByCustomerIdRequestBuilder(ApiHttpClient, SerializerService, ProjectKey, customerId);
}

public ByProjectKeyCartsKeyByKeyRequestBuilder WithKey(string key) {
return new ByProjectKeyCartsKeyByKeyRequestBuilder(ApiHttpClient, SerializerService, ProjectKey, key);
}

public ByProjectKeyCartsByIDRequestBuilder WithId(string ID) {
return new ByProjectKeyCartsByIDRequestBuilder(ApiHttpClient, SerializerService, ProjectKey, ID);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public ByProjectKeyCategoriesByIDDelete WithVersion(long version){
public ByProjectKeyCategoriesByIDDelete WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Categories.ICategory> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public List<string> GetExpand() {
public ByProjectKeyCategoriesByIDGet WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Categories.ICategory> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public List<string> GetExpand() {
public ByProjectKeyCategoriesByIDPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Categories.ICategory> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.Categories
{

public class ByProjectKeyCategoriesByIDRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ public ByProjectKeyCategoriesGet WithWithTotal(bool withTotal){
public ByProjectKeyCategoriesGet WithWhere(string where){
return this.AddQueryParam("where", where);
}

public ByProjectKeyCategoriesGet WithPredicateVar(string varName, string predicateVar){
return this.AddQueryParam($"var.{varName}", predicateVar);
}

public async Task<commercetools.Api.Models.Categories.ICategoryPagedQueryResponse> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public ByProjectKeyCategoriesKeyByKeyDelete WithVersion(long version){
public ByProjectKeyCategoriesKeyByKeyDelete WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Categories.ICategory> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public List<string> GetExpand() {
public ByProjectKeyCategoriesKeyByKeyGet WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Categories.ICategory> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public List<string> GetExpand() {
public ByProjectKeyCategoriesKeyByKeyPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Categories.ICategory> ExecuteAsync()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

namespace commercetools.Api.Client.RequestBuilders.Categories
{

public class ByProjectKeyCategoriesKeyByKeyRequestBuilder {

private IClient ApiHttpClient { get; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public List<string> GetExpand() {
public ByProjectKeyCategoriesPost WithExpand(string expand){
return this.AddQueryParam("expand", expand);
}


public async Task<commercetools.Api.Models.Categories.ICategory> ExecuteAsync()
{
Expand Down
Loading

0 comments on commit 6211b6f

Please sign in to comment.