-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Auto Mation
committed
Oct 12, 2023
1 parent
7e8f774
commit 027b0f6
Showing
15 changed files
with
210 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,20 @@ | ||
**Api changes** | ||
|
||
<details> | ||
<summary>Added Property(s)</summary> | ||
<summary>Added Enum(s)</summary> | ||
|
||
- added property `discountOnTotalPrice` to type `Cart` | ||
- added property `discountOnTotalPrice` to type `StagedOrder` | ||
- added property `custom` to type `StagedOrderAddParcelToDeliveryAction` | ||
- added property `discountOnTotalPrice` to type `Order` | ||
- added property `custom` to type `OrderAddParcelToDeliveryAction` | ||
</details> | ||
|
||
|
||
<details> | ||
<summary>Changed MethodResponseBody(s)</summary> | ||
|
||
- :warning: changed response body for `200: application/json` of method `get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules` from type `<<resourceQueryType>>` to `ApprovalRulePagedQueryResponse` | ||
- :warning: changed response body for `200: application/json` of method `get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows` from type `<<resourceQueryType>>` to `ApprovalFlowPagedQueryResponse` | ||
- added enum `customer-email-token` to type `ReferenceTypeId` | ||
- added enum `customer-password-token` to type `ReferenceTypeId` | ||
- added enum `customer-email-token` to type `MessageSubscriptionResourceTypeId` | ||
- added enum `customer-group` to type `MessageSubscriptionResourceTypeId` | ||
- added enum `customer-password-token` to type `MessageSubscriptionResourceTypeId` | ||
</details> | ||
|
||
|
||
<details> | ||
<summary>Added Type(s)</summary> | ||
|
||
- added type `ApprovalFlowPagedQueryResponse` | ||
- added type `ApprovalRulePagedQueryResponse` | ||
- added type `CartDiscountTotalPriceTarget` | ||
- added type `DiscountOnTotalPrice` | ||
- added type `DiscountedTotalPricePortion` | ||
- added type `CustomerEmailTokenCreatedMessage` | ||
- added type `CustomerPasswordTokenCreatedMessage` | ||
- added type `CustomerEmailTokenCreatedMessagePayload` | ||
- added type `CustomerPasswordTokenCreatedMessagePayload` | ||
</details> | ||
|
||
**Import changes** | ||
|
||
<details> | ||
<summary>Added Property(s)</summary> | ||
|
||
- added property `product` to type `ProductVariantPatch` | ||
- added type `CustomerEmailTokenReference` | ||
- added type `CustomerPasswordTokenReference` | ||
</details> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...tools.Sdk/commercetools.Sdk.Api/Generated/Models/Customers/CustomerEmailTokenReference.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Customers | ||
{ | ||
|
||
public partial class CustomerEmailTokenReference : ICustomerEmailTokenReference | ||
{ | ||
public IReferenceTypeId TypeId { get; set; } | ||
|
||
public string Id { get; set; } | ||
public CustomerEmailTokenReference() | ||
{ | ||
this.TypeId = IReferenceTypeId.FindEnum("customer-email-token"); | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
...ls.Sdk/commercetools.Sdk.Api/Generated/Models/Customers/CustomerPasswordTokenReference.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
|
||
|
||
namespace commercetools.Sdk.Api.Models.Customers | ||
{ | ||
|
||
public partial class CustomerPasswordTokenReference : ICustomerPasswordTokenReference | ||
{ | ||
public IReferenceTypeId TypeId { get; set; } | ||
|
||
public string Id { get; set; } | ||
public CustomerPasswordTokenReference() | ||
{ | ||
this.TypeId = IReferenceTypeId.FindEnum("customer-password-token"); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...ools.Sdk/commercetools.Sdk.Api/Generated/Models/Customers/ICustomerEmailTokenReference.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Models.Customers | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Customers.CustomerEmailTokenReference))] | ||
public partial interface ICustomerEmailTokenReference : IReference | ||
{ | ||
new string Id { get; set; } | ||
|
||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...s.Sdk/commercetools.Sdk.Api/Generated/Models/Customers/ICustomerPasswordTokenReference.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using commercetools.Sdk.Api.Models.Common; | ||
using commercetools.Base.CustomAttributes; | ||
|
||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Models.Customers | ||
{ | ||
[DeserializeAs(typeof(commercetools.Sdk.Api.Models.Customers.CustomerPasswordTokenReference))] | ||
public partial interface ICustomerPasswordTokenReference : IReference | ||
{ | ||
new string Id { get; set; } | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...dk.Api/Predicates/Query/Generated/Customers/CustomerEmailTokenReferenceQueryBuilderDsl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Predicates.Query.Customers | ||
{ | ||
|
||
public partial class CustomerEmailTokenReferenceQueryBuilderDsl | ||
{ | ||
public CustomerEmailTokenReferenceQueryBuilderDsl() | ||
{ | ||
} | ||
|
||
public static CustomerEmailTokenReferenceQueryBuilderDsl Of() | ||
{ | ||
return new CustomerEmailTokenReferenceQueryBuilderDsl(); | ||
} | ||
|
||
public IComparisonPredicateBuilder<CustomerEmailTokenReferenceQueryBuilderDsl, string> TypeId() | ||
{ | ||
return new ComparisonPredicateBuilder<CustomerEmailTokenReferenceQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("typeId")), | ||
p => new CombinationQueryPredicate<CustomerEmailTokenReferenceQueryBuilderDsl>(p, CustomerEmailTokenReferenceQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public IComparisonPredicateBuilder<CustomerEmailTokenReferenceQueryBuilderDsl, string> Id() | ||
{ | ||
return new ComparisonPredicateBuilder<CustomerEmailTokenReferenceQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("id")), | ||
p => new CombinationQueryPredicate<CustomerEmailTokenReferenceQueryBuilderDsl>(p, CustomerEmailTokenReferenceQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
|
||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...Api/Predicates/Query/Generated/Customers/CustomerPasswordTokenReferenceQueryBuilderDsl.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// ReSharper disable CheckNamespace | ||
namespace commercetools.Sdk.Api.Predicates.Query.Customers | ||
{ | ||
|
||
public partial class CustomerPasswordTokenReferenceQueryBuilderDsl | ||
{ | ||
public CustomerPasswordTokenReferenceQueryBuilderDsl() | ||
{ | ||
} | ||
|
||
public static CustomerPasswordTokenReferenceQueryBuilderDsl Of() | ||
{ | ||
return new CustomerPasswordTokenReferenceQueryBuilderDsl(); | ||
} | ||
|
||
public IComparisonPredicateBuilder<CustomerPasswordTokenReferenceQueryBuilderDsl, string> TypeId() | ||
{ | ||
return new ComparisonPredicateBuilder<CustomerPasswordTokenReferenceQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("typeId")), | ||
p => new CombinationQueryPredicate<CustomerPasswordTokenReferenceQueryBuilderDsl>(p, CustomerPasswordTokenReferenceQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
public IComparisonPredicateBuilder<CustomerPasswordTokenReferenceQueryBuilderDsl, string> Id() | ||
{ | ||
return new ComparisonPredicateBuilder<CustomerPasswordTokenReferenceQueryBuilderDsl, string>(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("id")), | ||
p => new CombinationQueryPredicate<CustomerPasswordTokenReferenceQueryBuilderDsl>(p, CustomerPasswordTokenReferenceQueryBuilderDsl.Of), | ||
PredicateFormatter.Format); | ||
} | ||
|
||
} | ||
} |
Oops, something went wrong.