Skip to content

Commit

Permalink
TASK: Updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Jul 29, 2021
1 parent c68ba87 commit 8a8b6b7
Show file tree
Hide file tree
Showing 12 changed files with 76 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public partial interface IOrderImportDraft

List<ILineItemImportDraft> LineItems { get; set;}

List<ICustomLineItemDraft> CustomLineItems { get; set;}
List<ICustomLineItemImportDraft> CustomLineItems { get; set;}

IMoney TotalPrice { get; set;}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public partial class OrderImportDraft : IOrderImportDraft

public List<ILineItemImportDraft> LineItems { get; set;}

public List<ICustomLineItemDraft> CustomLineItems { get; set;}
public List<ICustomLineItemImportDraft> CustomLineItems { get; set;}

public IMoney TotalPrice { get; set;}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,7 @@ public partial interface IProject
ICartsConfiguration Carts { get; set;}

ISearchIndexingConfiguration SearchIndexing { get; set;}

IShoppingListsConfiguration ShoppingLists { get; set;}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
using commercetools.Api.Models.Projects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using commercetools.Base.CustomAttributes;


namespace commercetools.Api.Models.Projects
{
[DeserializeAs(typeof(commercetools.Api.Models.Projects.ProjectChangeShoppingListsConfiguration))]
public partial interface IProjectChangeShoppingListsConfiguration : IProjectUpdateAction
{
IShoppingListsConfiguration ShoppingListsConfiguration { get; set;}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace commercetools.Api.Models.Projects
[SubTypeDiscriminator("changeMessagesEnabled", typeof(commercetools.Api.Models.Projects.ProjectChangeMessagesEnabledAction))]
[SubTypeDiscriminator("changeName", typeof(commercetools.Api.Models.Projects.ProjectChangeNameAction))]
[SubTypeDiscriminator("changeProductSearchIndexingEnabled", typeof(commercetools.Api.Models.Projects.ProjectChangeProductSearchIndexingEnabledAction))]
[SubTypeDiscriminator("changeShoppingListsConfiguration", typeof(commercetools.Api.Models.Projects.ProjectChangeShoppingListsConfiguration))]
[SubTypeDiscriminator("setExternalOAuth", typeof(commercetools.Api.Models.Projects.ProjectSetExternalOAuthAction))]
[SubTypeDiscriminator("setShippingRateInputType", typeof(commercetools.Api.Models.Projects.ProjectSetShippingRateInputTypeAction))]
public partial interface IProjectUpdateAction
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using commercetools.Base.CustomAttributes;


namespace commercetools.Api.Models.Projects
{
[DeserializeAs(typeof(commercetools.Api.Models.Projects.ShoppingListsConfiguration))]
public partial interface IShoppingListsConfiguration
{
long? DeleteDaysAfterLastModification { get; set;}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,7 @@ public partial class Project : IProject
public ICartsConfiguration Carts { get; set;}

public ISearchIndexingConfiguration SearchIndexing { get; set;}

public IShoppingListsConfiguration ShoppingLists { get; set;}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using commercetools.Api.Models.Projects;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using commercetools.Base.CustomAttributes;


namespace commercetools.Api.Models.Projects
{
public partial class ProjectChangeShoppingListsConfiguration : IProjectChangeShoppingListsConfiguration
{
public string Action { get; set;}

public IShoppingListsConfiguration ShoppingListsConfiguration { get; set;}
public ProjectChangeShoppingListsConfiguration()
{
this.Action = "changeShoppingListsConfiguration";
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.Json.Serialization;
using commercetools.Base.CustomAttributes;


namespace commercetools.Api.Models.Projects
{
public partial class ShoppingListsConfiguration : IShoppingListsConfiguration
{
public long? DeleteDaysAfterLastModification { get; set;}
}
}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=fb13f27734a85b4031697189aeec21d0d8d2eef9
hash=54444c4eae550cc5db7327b4047c36aa5f064bf7
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=fb13f27734a85b4031697189aeec21d0d8d2eef9
hash=54444c4eae550cc5db7327b4047c36aa5f064bf7
Original file line number Diff line number Diff line change
@@ -1 +1 @@
hash=fb13f27734a85b4031697189aeec21d0d8d2eef9
hash=54444c4eae550cc5db7327b4047c36aa5f064bf7

0 comments on commit 8a8b6b7

Please sign in to comment.