Skip to content

Commit

Permalink
Merge pull request #340 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 Jul 31, 2024
2 parents 4d94259 + 52c077c commit d5e54e6
Show file tree
Hide file tree
Showing 4,485 changed files with 3,118 additions and 5,581 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using commercetools.Base.Models;


namespace commercetools.Sdk.Api.Models.ApiClients
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApiClients
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;


namespace commercetools.Sdk.Api.Models.ApiClients
{

Expand All @@ -16,7 +15,7 @@ public partial class ApiClientPagedQueryResponse : IApiClientPagedQueryResponse
public long? Total { get; set; }

public IList<IApiClient> Results { get; set; }
public IEnumerable<IApiClient> ResultsEnumerable { set => Results = value.ToList(); }

public IEnumerable<IApiClient> ResultsEnumerable { set => Results = value.ToList(); }
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System;
using commercetools.Base.CustomAttributes;
using commercetools.Base.Models;

using commercetools.Base.CustomAttributes;
// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApiClients
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApiClients
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApiClients
{
Expand All @@ -17,8 +16,8 @@ public partial interface IApiClientPagedQueryResponse
long? Total { get; set; }

IList<IApiClient> Results { get; set; }
IEnumerable<IApiClient> ResultsEnumerable { set => Results = value.ToList(); }

IEnumerable<IApiClient> ResultsEnumerable { set => Results = value.ToList(); }

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Collections.Generic;
using System.Linq;


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand All @@ -30,28 +29,28 @@ public partial class ApprovalFlow : IApprovalFlow
public IBusinessUnitKeyReference BusinessUnit { get; set; }

public IList<IApprovalRule> Rules { get; set; }
public IEnumerable<IApprovalRule> RulesEnumerable { set => Rules = value.ToList(); }

public IEnumerable<IApprovalRule> RulesEnumerable { set => Rules = value.ToList(); }

public IApprovalFlowStatus Status { get; set; }

public IApprovalFlowRejection Rejection { get; set; }

public IList<IApprovalFlowApproval> Approvals { get; set; }
public IEnumerable<IApprovalFlowApproval> ApprovalsEnumerable { set => Approvals = value.ToList(); }

public IEnumerable<IApprovalFlowApproval> ApprovalsEnumerable { set => Approvals = value.ToList(); }

public IList<IRuleApprover> EligibleApprovers { get; set; }
public IEnumerable<IRuleApprover> EligibleApproversEnumerable { set => EligibleApprovers = value.ToList(); }

public IEnumerable<IRuleApprover> EligibleApproversEnumerable { set => EligibleApprovers = value.ToList(); }

public IList<IRuleApprover> PendingApprovers { get; set; }
public IEnumerable<IRuleApprover> PendingApproversEnumerable { set => PendingApprovers = value.ToList(); }

public IEnumerable<IRuleApprover> PendingApproversEnumerable { set => PendingApprovers = value.ToList(); }

public IList<IRuleApprover> CurrentTierPendingApprovers { get; set; }
public IEnumerable<IRuleApprover> CurrentTierPendingApproversEnumerable { set => CurrentTierPendingApprovers = value.ToList(); }

public IEnumerable<IRuleApprover> CurrentTierPendingApproversEnumerable { set => CurrentTierPendingApprovers = value.ToList(); }

public ICustomFields Custom { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using commercetools.Sdk.Api.Models.BusinessUnits;
using System;


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand All @@ -16,7 +15,7 @@ public partial class ApprovalFlowPagedQueryResponse : IApprovalFlowPagedQueryRes
public long? Total { get; set; }

public IList<IApprovalFlow> Results { get; set; }
public IEnumerable<IApprovalFlow> ResultsEnumerable { set => Results = value.ToList(); }

public IEnumerable<IApprovalFlow> ResultsEnumerable { set => Results = value.ToList(); }
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using commercetools.Sdk.Api.Models.BusinessUnits;
using System;


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;


namespace commercetools.Sdk.Api.Models.ApprovalFlows
{

Expand All @@ -10,7 +9,7 @@ public partial class ApprovalFlowUpdate : IApprovalFlowUpdate
public long Version { get; set; }

public IList<IApprovalFlowUpdateAction> Actions { get; set; }
public IEnumerable<IApprovalFlowUpdateAction> ActionsEnumerable { set => Actions = value.ToList(); }

public IEnumerable<IApprovalFlowUpdateAction> ActionsEnumerable { set => Actions = value.ToList(); }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
using System.Collections.Generic;
using System.Linq;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand All @@ -31,28 +30,28 @@ public partial interface IApprovalFlow : IBaseResource
IBusinessUnitKeyReference BusinessUnit { get; set; }

IList<IApprovalRule> Rules { get; set; }
IEnumerable<IApprovalRule> RulesEnumerable { set => Rules = value.ToList(); }

IEnumerable<IApprovalRule> RulesEnumerable { set => Rules = value.ToList(); }

IApprovalFlowStatus Status { get; set; }

IApprovalFlowRejection Rejection { get; set; }

IList<IApprovalFlowApproval> Approvals { get; set; }
IEnumerable<IApprovalFlowApproval> ApprovalsEnumerable { set => Approvals = value.ToList(); }

IEnumerable<IApprovalFlowApproval> ApprovalsEnumerable { set => Approvals = value.ToList(); }

IList<IRuleApprover> EligibleApprovers { get; set; }
IEnumerable<IRuleApprover> EligibleApproversEnumerable { set => EligibleApprovers = value.ToList(); }

IEnumerable<IRuleApprover> EligibleApproversEnumerable { set => EligibleApprovers = value.ToList(); }

IList<IRuleApprover> PendingApprovers { get; set; }
IEnumerable<IRuleApprover> PendingApproversEnumerable { set => PendingApprovers = value.ToList(); }

IEnumerable<IRuleApprover> PendingApproversEnumerable { set => PendingApprovers = value.ToList(); }

IList<IRuleApprover> CurrentTierPendingApprovers { get; set; }
IEnumerable<IRuleApprover> CurrentTierPendingApproversEnumerable { set => CurrentTierPendingApprovers = value.ToList(); }

IEnumerable<IRuleApprover> CurrentTierPendingApproversEnumerable { set => CurrentTierPendingApprovers = value.ToList(); }

ICustomFields Custom { get; set; }

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using commercetools.Sdk.Api.Models.BusinessUnits;
using System;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.ApprovalFlows.ApprovalFlowApproveAction))]
public partial interface IApprovalFlowApproveAction : IApprovalFlowUpdateAction
{


}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand All @@ -17,8 +16,8 @@ public partial interface IApprovalFlowPagedQueryResponse
long? Total { get; set; }

IList<IApprovalFlow> Results { get; set; }
IEnumerable<IApprovalFlow> ResultsEnumerable { set => Results = value.ToList(); }

IEnumerable<IApprovalFlow> ResultsEnumerable { set => Results = value.ToList(); }

}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using commercetools.Sdk.Api.Models.BusinessUnits;
using System;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using commercetools.Sdk.Api.Models.Types;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;
using commercetools.Base.CustomAttributes;

// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand All @@ -11,8 +10,8 @@ public partial interface IApprovalFlowUpdate
long Version { get; set; }

IList<IApprovalFlowUpdateAction> Actions { get; set; }
IEnumerable<IApprovalFlowUpdateAction> ActionsEnumerable { set => Actions = value.ToList(); }

IEnumerable<IApprovalFlowUpdateAction> ActionsEnumerable { set => Actions = value.ToList(); }

}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System;
using commercetools.Base.CustomAttributes;

using System;
// ReSharper disable CheckNamespace
namespace commercetools.Sdk.Api.Models.ApprovalFlows
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using System.Collections.Generic;
using System.Linq;


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand Down Expand Up @@ -35,8 +34,8 @@ public partial class ApprovalRule : IApprovalRule
public IApproverHierarchy Approvers { get; set; }

public IList<IRuleRequester> Requesters { get; set; }
public IEnumerable<IRuleRequester> RequestersEnumerable { set => Requesters = value.ToList(); }

public IEnumerable<IRuleRequester> RequestersEnumerable { set => Requesters = value.ToList(); }

public IBusinessUnitKeyReference BusinessUnit { get; set; }
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand All @@ -20,7 +19,7 @@ public partial class ApprovalRuleDraft : IApprovalRuleDraft
public IApproverHierarchyDraft Approvers { get; set; }

public IList<IRuleRequesterDraft> Requesters { get; set; }
public IEnumerable<IRuleRequesterDraft> RequestersEnumerable { set => Requesters = value.ToList(); }

public IEnumerable<IRuleRequesterDraft> RequestersEnumerable { set => Requesters = value.ToList(); }
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Collections.Generic;
using System.Linq;


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand All @@ -16,7 +15,7 @@ public partial class ApprovalRulePagedQueryResponse : IApprovalRulePagedQueryRes
public long? Total { get; set; }

public IList<IApprovalRule> Results { get; set; }
public IEnumerable<IApprovalRule> ResultsEnumerable { set => Results = value.ToList(); }

public IEnumerable<IApprovalRule> ResultsEnumerable { set => Results = value.ToList(); }
}
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@


namespace commercetools.Sdk.Api.Models.ApprovalRules
{

Expand Down
Loading

0 comments on commit d5e54e6

Please sign in to comment.