Skip to content

Releases: commercetools/commercetools-dotnet-core-sdk-v2

11.2.0

12 Jan 11:27
12f3296
Compare
Choose a tag to compare

What's Changed

  • add newrelic example app by @jenschude in #254
  • Update generated SDKs by @github-actions in #253
  • add option to register custom loggerhandler by @jenschude in #256
  • Update generated SDKs by @github-actions in #255

Api changes

Added QueryParameter(s)
  • added query parameter expand to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter sort to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter limit to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter offset to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter withTotal to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter where to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter /^var[.][a-zA-Z0-9]+$/ to method get /{projectKey}/in-store/key={storeKey}/cart-discounts
  • added query parameter expand to method post /{projectKey}/in-store/key={storeKey}/cart-discounts
Added Type(s)
  • added type ApprovalFlowSetCustomFieldAction
  • added type ApprovalFlowSetCustomTypeAction
  • added type CustomerEmailTokenReference
  • added type CustomerPasswordTokenReference
Removed Type(s)
  • ⚠️ removed type NotEnabledError
  • ⚠️ removed type GraphQLNotEnabledError
Added Method(s)
  • added method apiRoot.withProjectKey().head()
  • added method apiRoot.withProjectKey().associateRoles().head()
  • added method apiRoot.withProjectKey().businessUnits().head()
  • added method apiRoot.withProjectKey().categories().head()
  • added method apiRoot.withProjectKey().carts().head()
  • added method apiRoot.withProjectKey().cartDiscounts().head()
  • added method apiRoot.withProjectKey().channels().head()
  • added method apiRoot.withProjectKey().customers().head()
  • added method apiRoot.withProjectKey().customerGroups().head()
  • added method apiRoot.withProjectKey().customObjects().head()
  • added method apiRoot.withProjectKey().discountCodes().head()
  • added method apiRoot.withProjectKey().inventory().head()
  • added method apiRoot.withProjectKey().messages().head()
  • added method apiRoot.withProjectKey().orders().head()
  • added method apiRoot.withProjectKey().payments().head()
  • added method apiRoot.withProjectKey().productDiscounts().head()
  • added method apiRoot.withProjectKey().productProjections().head()
  • added method apiRoot.withProjectKey().productSelections().head()
  • added method apiRoot.withProjectKey().quotes().head()
  • added method apiRoot.withProjectKey().quoteRequests().head()
  • added method apiRoot.withProjectKey().stagedQuotes().head()
  • added method apiRoot.withProjectKey().reviews().head()
  • added method apiRoot.withProjectKey().shippingMethods().head()
  • added method apiRoot.withProjectKey().shoppingLists().head()
  • added method apiRoot.withProjectKey().states().head()
  • added method apiRoot.withProjectKey().subscriptions().head()
  • added method apiRoot.withProjectKey().taxCategories().head()
  • added method apiRoot.withProjectKey().types().head()
  • added method apiRoot.withProjectKey().zones().head()
  • added method apiRoot.withProjectKey().extensions().head()
  • added method apiRoot.withProjectKey().apiClients().head()
  • added method apiRoot.withProjectKey().stores().head()
  • added method apiRoot.withProjectKey().standalonePrices().head()
  • added method apiRoot.withProjectKey().attributeGroups().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().businessUnits().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withOrderNumber().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().orders().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quotes().withId().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withKey().head()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().quoteRequests().withId().head()
  • added method apiRoot.withProjectKey().associateRoles().withKey().head()
  • added method apiRoot.withProjectKey().associateRoles().withId().head()
  • added method apiRoot.withProjectKey().businessUnits().withKey().head()
  • added method apiRoot.withProjectKey().businessUnits().withId().head()
  • added method apiRoot.withProjectKey().categories().withKey().head()
  • added method apiRoot.withProjectKey().categories().withId().head()
  • added method apiRoot.withProjectKey().carts().withCustomerId().head()
  • added method apiRoot.withProjectKey().carts().withKey().head()
  • added method apiRoot.withProjectKey().carts().withId().head()
  • added method apiRoot.withProjectKey().cartDiscounts().withKey().head()
  • added method apiRoot.withProjectKey().cartDiscounts().withId().head()
  • added method apiRoot.withProjectKey().channels().withId().head()
  • added method apiRoot.withProjectKey().customers().withKey().head()
  • added method apiRoot.withProjectKey().customers().withId().head()
  • added method apiRoot.withProjectKey().customerGroups().withKey().head()
  • added method apiRoot.withProjectKey().customerGroups().withId().head()
  • added method apiRoot.withProjectKey().discountCodes().withId().head()
  • added method apiRoot.withProjectKey().inventory().withId().head()
  • added method apiRoot.withProjectKey().inventory().withKey().head()
  • added method apiRoot.withProjectKey().messages().withId().head()
  • added method apiRoot.withProjectKey().orders().withOrderNumber().head()
  • added method apiRoot.withProjectKey().orders().edits().head()
  • added method apiRoot.withProjectKey().orders().withId().head()
  • added method apiRoot.withProjectKey().orders().edits().withKey().head()
  • added method apiRoot.withProjectKey().orders().edits().withId().head()
  • added method apiRoot.withProjectKey().payments().withKey().head()
  • added method apiRoot.withProjectKey().payments().withId().head()
  • added method apiRoot.withProjectKey().productDiscounts().withKey().head()
  • added method apiRoot.withProjectKey().productDiscounts().withId().head()
  • added method apiRoot.withProjectKey().productProjections().withKey().head()
  • added method apiRoot.withProjectKey().productProjections().withId().head()
  • added method apiRoot.withProjectKey().productSelections().withKey().head()
  • added method apiRoot.withProjectKey().productSelections().withId().head()
  • added method apiRoot.withProjectKey().quotes().withKey().head()
  • added method apiRoot.withProjectKey().quotes().withId().head()
  • added method apiRoot.withProjectKey().quoteRequests().withKey().head()
  • added method apiRoot.withProjectKey().quoteRequests().withId().head()
  • added method apiRoot.withProjectKey().stagedQuotes().withKey().head()
  • added method apiRoot.withProjectKey().stagedQuotes().withId().head()
  • added method apiRoot.withProjectKey().reviews().withKey().head()
  • added method apiRoot.withProjectKey().reviews().withId().head()
  • added method apiRoot.withProjectKey().shippingMethods().withKey().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingCart().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingCartLocation().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingOrderedit().head()
  • added method apiRoot.withProjectKey().shippingMethods().matchingLocation().head()
  • added method apiRoot.withProjectKey().shippingMethods().withId().head()
  • added method apiRoot.withProjectKey().shoppingLists().withKey().head()
  • added method apiRoot.withProjectKey().shoppingLists().withId().head()
  • added method apiRoot.withProjectKey().states().withKey().head()
  • added method apiRoot.withProjectKey().states().withId().head()...
Read more

11.1.0

09 Oct 11:53
f9b32ad
Compare
Choose a tag to compare

What's Changed

  • change priority for attribute type deserialization by @jenschude in #252
  • Update generated SDKs by @github-actions in #250

Api changes

Added Property(s)
  • 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
Changed MethodResponseBody(s)
  • ⚠️ 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
  • ⚠️ 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 Type(s)
  • 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

Import changes

Added Property(s)
  • added property product to type ProductVariantPatch

Full Changelog: 11.0.0...11.1.0

11.1.0-alpha.1

06 Oct 20:45
eebedb2
Compare
Choose a tag to compare
11.1.0-alpha.1 Pre-release
Pre-release

Full Changelog: 11.0.0...11.1.0-alpha.1

11.0.0

19 Sep 15:28
7cc71ba
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #249

Api changes

Removed Resource(s)
  • ⚠️ removed resource /{projectKey}/me/payments/key={key}
Added Resource(s)
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/{ID}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules/key={key}
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows/{ID}
Added Enum(s)
  • added enum CreateApprovalRules to type Permission
  • added enum UpdateApprovalRules to type Permission
  • added enum UpdateApprovalFlows to type Permission
Added Method(s)
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withId().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withKey().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalRules().withKey().post()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().withId().get()
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().approvalFlows().withId().post()
Removed Method(s)
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().get()
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().post()
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().delete()
Added Type(s)
  • added type ApprovalFlow
  • added type ApprovalFlowApproval
  • added type ApprovalFlowApproveAction
  • added type ApprovalFlowRejectAction
  • added type ApprovalFlowRejection
  • added type ApprovalFlowStatus
  • added type ApprovalFlowUpdate
  • added type ApprovalFlowUpdateAction
  • added type ApprovalRule
  • added type ApprovalRuleDraft
  • added type ApprovalRuleSetApproversAction
  • added type ApprovalRuleSetDescriptionAction
  • added type ApprovalRuleSetKeyAction
  • added type ApprovalRuleSetNameAction
  • added type ApprovalRuleSetPredicateAction
  • added type ApprovalRuleSetRequestersAction
  • added type ApprovalRuleSetStatusAction
  • added type ApprovalRuleStatus
  • added type ApprovalRuleUpdate
  • added type ApprovalRuleUpdateAction
  • added type ApproverConjunction
  • added type ApproverConjunctionDraft
  • added type ApproverDisjunction
  • added type ApproverDisjunctionDraft
  • added type ApproverHierarchy
  • added type ApproverHierarchyDraft
  • added type RuleApprover
  • added type RuleApproverDraft
  • added type RuleRequester
  • added type RuleRequesterDraft
  • added type ApprovalFlowApprovedMessage
  • added type ApprovalFlowCompletedMessage
  • added type ApprovalFlowCreatedMessage
  • added type ApprovalFlowRejectedMessage
  • added type ApprovalRuleApproversSetMessage
  • added type ApprovalRuleCreatedMessage
  • added type ApprovalRuleDescriptionSetMessage
  • added type ApprovalRuleKeySetMessage
  • added type ApprovalRuleNameSetMessage
  • added type ApprovalRulePredicateSetMessage
  • added type ApprovalRuleRequestersSetMessage
  • added type ApprovalRuleStatusSetMessage
  • added type BusinessUnitAddressCustomFieldAddedMessage
  • added type BusinessUnitAddressCustomFieldChangedMessage
  • added type BusinessUnitAddressCustomFieldRemovedMessage
  • added type BusinessUnitAddressCustomTypeRemovedMessage
  • added type BusinessUnitAddressCustomTypeSetMessage
  • added type BusinessUnitCustomFieldAddedMessage
  • added type BusinessUnitCustomFieldChangedMessage
  • added type BusinessUnitCustomFieldRemovedMessage
  • added type BusinessUnitCustomTypeRemovedMessage
  • added type BusinessUnitCustomTypeSetMessage
  • added type CustomerAddressCustomFieldAddedMessage
  • added type CustomerAddressCustomFieldChangedMessage
  • added type CustomerAddressCustomFieldRemovedMessage
  • added type CustomerAddressCustomTypeRemovedMessage
  • added type CustomerAddressCustomTypeSetMessage
  • added type CustomerCustomFieldAddedMessage
  • added type CustomerCustomFieldChangedMessage
  • added type CustomerCustomFieldRemovedMessage
  • added type CustomerCustomTypeRemovedMessage
  • added type CustomerCustomTypeSetMessage
  • added type CustomerGroupCustomFieldAddedMessage
  • added type CustomerGroupCustomFieldChangedMessage
  • added type CustomerGroupCustomFieldRemovedMessage
  • added type CustomerGroupCustomTypeRemovedMessage
  • added type CustomerGroupCustomTypeSetMessage
  • added type ApprovalFlowApprovedMessagePayload
  • added type ApprovalFlowCompletedMessagePayload
  • added type ApprovalFlowCreatedMessagePayload
  • added type ApprovalFlowRejectedMessagePayload
  • added type ApprovalRuleApproversSetMessagePayload
  • added type ApprovalRuleCreatedMessagePayload
  • added type ApprovalRuleDescriptionSetMessagePayload
  • added type ApprovalRuleKeySetMessagePayload
  • added type ApprovalRuleNameSetMessagePayload
  • added type ApprovalRulePredicateSetMessagePayload
  • added type ApprovalRuleRequestersSetMessagePayload
  • added type ApprovalRuleStatusSetMessagePayload
  • added type BusinessUnitAddressCustomFieldAddedMessagePayload
  • added type BusinessUnitAddressCustomFieldChangedMessagePayload
  • added type BusinessUnitAddressCustomFieldRemovedMessagePayload
  • added type BusinessUnitAddressCustomTypeRemovedMessagePayload
  • added type BusinessUnitAddressCustomTypeSetMessagePayload
  • added type BusinessUnitCustomFieldAddedMessagePayload
  • added type BusinessUnitCustomFieldChangedMessagePayload
  • added type BusinessUnitCustomFieldRemovedMessagePayload
  • added type BusinessUnitCustomTypeRemovedMessagePayload
  • added type BusinessUnitCustomTypeSetMessagePayload
  • added type CustomerAddressCustomFieldAddedMessagePayload
  • added type CustomerAddressCustomFieldChangedMessagePayload
  • added type CustomerAddressCustomFieldRemovedMessagePayload
  • added type CustomerAddressCustomTypeRemovedMessagePayload
  • added type CustomerAddressCustomTypeSetMessagePayload
  • added type CustomerCustomFieldAddedMessagePayload
  • added type CustomerCustomFieldChangedMessagePayload
  • added type CustomerCustomFieldRemovedMessagePayload
  • added type CustomerCustomTypeRemovedMessagePayload
  • added type CustomerCustomTypeSetMessagePayload
  • added type CustomerGroupCustomFieldAddedMessagePayload
  • added type CustomerGroupCustomFieldChangedMessagePayload
  • added type CustomerGroupCustomFieldRemovedMessagePayload
  • added type CustomerGroupCustomTypeRemovedMessagePayload
  • added type CustomerGroupCustomTypeSetMessagePayload

History changes

Added Property(s)
  • added property businessUnit to type Record
Added QueryParameter(s)
  • added query parameter businessUnit to method get /{projectKey}
  • added query parameter businessUnit to method get /{projectKey}/{resourceType}
  • added query parameter businessUnit to method get /{projectKey}/{resourceType}/{ID}

Full Changelog: 10.0.1...11.0.0

10.1.0

04 Sep 07:56
b21bc84
Compare
Choose a tag to compare

What's Changed

  • Update generated SDKs by @github-actions in #248

Api changes

Added Type(s)
  • added type CustomerAddressCustomFieldAddedMessage
  • added type CustomerAddressCustomFieldChangedMessage
  • added type CustomerAddressCustomFieldRemovedMessage
  • added type CustomerAddressCustomTypeRemovedMessage
  • added type CustomerAddressCustomTypeSetMessage
  • added type CustomerCustomFieldAddedMessage
  • added type CustomerCustomFieldChangedMessage
  • added type CustomerCustomFieldRemovedMessage
  • added type CustomerCustomTypeRemovedMessage
  • added type CustomerCustomTypeSetMessage
  • added type CustomerAddressCustomFieldAddedMessagePayload
  • added type CustomerAddressCustomFieldChangedMessagePayload
  • added type CustomerAddressCustomFieldRemovedMessagePayload
  • added type CustomerAddressCustomTypeRemovedMessagePayload
  • added type CustomerAddressCustomTypeSetMessagePayload
  • added type CustomerCustomFieldAddedMessagePayload
  • added type CustomerCustomFieldChangedMessagePayload
  • added type CustomerCustomFieldRemovedMessagePayload
  • added type CustomerCustomTypeRemovedMessagePayload
  • added type CustomerCustomTypeSetMessagePayload
  • added type CustomerMessagePayload
Removed Method(s)
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().get()
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().post()
  • ⚠️ removed method apiRoot.withProjectKey().me().payments().withKey().delete()
Removed Resource(s)
  • ⚠️ removed resource /{projectKey}/me/payments/key={key}

Full Changelog: 10.0.0...10.1.0

10.0.0

31 Aug 13:36
b0cadfa
Compare
Choose a tag to compare

We updated dependencies like Microsoft.Extensions.* and System.Text.Json to 6.x versions. The SDK packages use as the target framework netstandard2.1. The artifacts are now built using .NET 6.0 for compilation. The test projects are built using .NET 6. This means the different packages may still be used in a .NET Core 3.1 application but we don't guarantee the support any more.

What's Changed

  • OpenTelemetry by @jenschude in #245
  • Update generated SDKs by @github-actions in #244
  • Update dependencies to dotnet 6 versions by @jenschude in #246
  • Update generated SDKs by @github-actions in #247

Api changes

Added Type(s)
  • added type MethodExternalTaxRateDraft
  • added type QuoteRenegotiationRequestedMessage
  • added type QuoteRenegotiationRequestedMessagePayload
Added Property(s)
  • added property perMethodExternalTaxRate to type LineItemDraft
  • added property cart to type QuoteRequest
Removed Enum(s)
  • ⚠️ removed enum Failed from type QuoteState

Import changes

Added Property(s)
  • added property canceled to type OperationStates
Added Enum(s)
  • added enum canceled to type ProcessingState

History changes

Added QueryParameter(s)
  • added query parameter associateId to method get /{projectKey}
  • added query parameter associateId to method get /{projectKey}/{resourceType}
  • added query parameter associateId to method get /{projectKey}/{resourceType}/{ID}
Added Property(s)
  • added property associate to type ModifiedBy

Full Changelog: 9.0.0...10.0.0

9.0.1

31 Aug 12:00
f39a971
Compare
Choose a tag to compare

Fixes

  • revert type change for property money in CartDiscountValueFixed

Full Changelog: 9.0.0...9.0.1

9.0.0

16 Aug 12:02
6da49ed
Compare
Choose a tag to compare

New Features

We introduce a new GraphQL package, which allows to write type safe queries with the help from ZeroQL

var client = provider.GetService<ProjectApiRoot>().GraphQLClient();
 
var response = await client.Query(o => o.Products(selector: r => new { results = r.Results(product => new { product.Id }) }));

Breaking changes

  • expand methods has been removed from the subscription and extension request builders
  • deprecated types from business unit and associate roles have been removed
  • CartDiscountValueFixed now supports HighPrecisionMoney and changed from CentPrecisionMoney to TypedMoney
  • Order Edit clarifications and corrections

What's Changed

  • move mixin from RAML to partial classes by @jenschude in #238
  • new GraphQL package by @jenschude in #239
  • Update generated SDKs by @github-actions in #240
  • Update generated SDKs by @github-actions in #241
  • Update generated SDKs by @github-actions in #242
  • Update generated SDKs by @github-actions in #243

Api changes

Changed Property(s)
  • ⚠️ changed property money of type CartDiscountValueFixed from type CentPrecisionMoney[] to TypedMoney[]
  • ⚠️ changed property money of type CartDiscountValueFixedDraft from type Money[] to TypedMoneyDraft[]
Added Property(s)
  • added property stores to type CartDiscount
  • added property stores to type CartDiscountDraft
  • added property taxedPricePortions to type CustomLineItem
  • added property customLineItemKey to type CartApplyDeltaToCustomLineItemShippingDetailsTargetsAction
  • added property customLineItemKey to type CartChangeCustomLineItemMoneyAction
  • added property customLineItemKey to type CartChangeCustomLineItemPriceModeAction
  • added property customLineItemKey to type CartChangeCustomLineItemQuantityAction
  • added property customLineItemKey to type CartRemoveCustomLineItemAction
  • added property customLineItemKey to type CartSetCustomLineItemCustomFieldAction
  • added property customLineItemKey to type CartSetCustomLineItemCustomTypeAction
  • added property customLineItemKey to type CartSetCustomLineItemShippingDetailsAction
  • added property customLineItemKey to type CartSetCustomLineItemTaxAmountAction
  • added property shippingKey to type CartSetCustomLineItemTaxAmountAction
  • added property customLineItemKey to type CartSetCustomLineItemTaxRateAction
  • added property shippingKey to type CartSetCustomLineItemTaxRateAction
  • added property associate to type ClientLogging
  • added property associate to type CreatedBy
  • added property associate to type LastModifiedBy
  • added property key to type MyShoppingListAddLineItemAction
  • added property key to type MyShoppingListAddTextLineItemAction
  • added property textLineItemKey to type MyShoppingListChangeTextLineItemNameAction
  • added property textLineItemKey to type MyShoppingListChangeTextLineItemQuantityAction
  • added property lineItemKey to type MyShoppingListRemoveLineItemAction
  • added property textLineItemKey to type MyShoppingListRemoveTextLineItemAction
  • added property lineItemKey to type MyShoppingListSetLineItemCustomFieldAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemCustomFieldAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemCustomTypeAction
  • added property textLineItemKey to type MyShoppingListSetTextLineItemDescriptionAction
  • added property customLineItemKey to type CustomLineItemStateTransitionMessage
  • added property lineItemKey to type LineItemStateTransitionMessage
  • added property customLineItemKey to type OrderCustomLineItemDiscountSetMessage
  • added property customLineItemKey to type OrderCustomLineItemQuantityChangedMessage
  • added property customLineItemKey to type OrderCustomLineItemRemovedMessage
  • added property lineItemKey to type OrderLineItemDiscountSetMessage
  • added property lineItemKey to type OrderLineItemDistributionChannelSetMessage
  • added property lineItemKey to type OrderLineItemRemovedMessage
  • added property customLineItemKey to type CustomLineItemStateTransitionMessagePayload
  • added property lineItemKey to type LineItemStateTransitionMessagePayload
  • added property customLineItemKey to type OrderCustomLineItemDiscountSetMessagePayload
  • added property customLineItemKey to type OrderCustomLineItemQuantityChangedMessagePayload
  • added property customLineItemKey to type OrderCustomLineItemRemovedMessagePayload
  • added property lineItemKey to type OrderLineItemDiscountSetMessagePayload
  • added property lineItemKey to type OrderLineItemDistributionChannelSetMessagePayload
  • added property lineItemKey to type OrderLineItemRemovedMessagePayload
  • added property directDiscounts to type StagedOrder
  • added property shippingDetails to type StagedOrderAddCustomLineItemAction
  • added property shippingKey to type StagedOrderAddDeliveryAction
  • added property inventoryMode to type StagedOrderAddLineItemAction
  • added property customLineItemKey to type StagedOrderChangeCustomLineItemMoneyAction
  • added property customLineItemKey to type StagedOrderChangeCustomLineItemQuantityAction
  • added property customLineItemKey to type StagedOrderImportCustomLineItemStateAction
  • added property lineItemKey to type StagedOrderImportLineItemStateAction
  • added property customLineItemKey to type StagedOrderRemoveCustomLineItemAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemCustomFieldAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemCustomTypeAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemShippingDetailsAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemTaxAmountAction
  • added property shippingKey to type StagedOrderSetCustomLineItemTaxAmountAction
  • added property customLineItemKey to type StagedOrderSetCustomLineItemTaxRateAction
  • added property shippingKey to type StagedOrderSetCustomLineItemTaxRateAction
  • added property returnItemKey to type StagedOrderSetReturnItemCustomFieldAction
  • added property returnItemKey to type StagedOrderSetReturnItemCustomTypeAction
  • added property returnItemKey to type StagedOrderSetReturnPaymentStateAction
  • added property returnItemKey to type StagedOrderSetReturnShipmentStateAction
  • added property customLineItemKey to type StagedOrderTransitionCustomLineItemStateAction
  • added property lineItemKey to type StagedOrderTransitionLineItemStateAction
  • added property key to type CustomLineItemImportDraft
  • added property key to type CustomLineItemReturnItem
  • added property key to type LineItemImportDraft
  • added property key to type LineItemReturnItem
  • added property directDiscounts to type Order
  • added property purchaseOrderNumber to type OrderImportDraft
  • added property taxCalculationMode to type OrderImportDraft
  • added property key to type ReturnItem
  • added property key to type ReturnItemDraft
  • added property customLineItemKey to type OrderImportCustomLineItemStateAction
  • added property lineItemKey to type OrderImportLineItemStateAction
  • added property customLineItemKey to type OrderSetCustomLineItemCustomFieldAction
  • added property customLineItemKey to type OrderSetCustomLineItemCustomTypeAction
  • added property customLineItemKey to type OrderSetCustomLineItemShippingDetailsAction
  • added property returnItemKey to type OrderSetReturnItemCustomFieldAction
  • added property returnItemKey to type OrderSetReturnItemCustomTypeAction
  • added property returnItemKey to type OrderSetReturnPaymentStateAction
  • added property returnItemKey to type OrderSetReturnShipmentStateAction
  • added property customLineItemKey to type OrderTransitionCustomLineItemStateAction
  • added property lineItemKey to type OrderTransitionLineItemStateAction
  • added property key to type ShoppingListLineItem
  • added property key to type ShoppingListLineItemDraft
  • added property key to type TextLineItem
  • added property key to type TextLineItemDraft
  • added property key to type ShoppingListAddLineItemAction
  • added property key to type ShoppingListAddTextLineItemAction
  • added property lineItemKey to type ShoppingListChangeLineItemQuantityAction
  • added property textLineItemKey to type ShoppingListChangeTextLineItemNameAction
  • added property textLineItemKey to type ShoppingListChangeTextLineItemQuantityAction
  • added property lineItemKey to type ShoppingListRemoveLineItemAction
  • added property textLineItemKey to type ShoppingListRemoveTextLineItemAction
  • added property lineItemKey to type ShoppingListSetLineItemCustomFieldAction
  • added property lineItemKey to type ShoppingListSetLineItemCustomTypeAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemCustomFieldAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemCustomTypeAction
  • added property textLineItemKey to type ShoppingListSetTextLineItemDescriptionAction
Required Property(s)
  • ⚠️ changed propert...
Read more

8.1.0

03 Jul 12:32
5270323
Compare
Choose a tag to compare

Query predicate builders

This release introduces type safe builders for query predicates.

_projectApiRoot.Customers().Get()
    .WithQuery(q => q.FirstName().Is("Peter"));

Please see the documentation for details. More examples can be found in this test class

What's Changed

  • Update generated SDKs by @github-actions in #227
  • Update SUNRISE data link in ME Endpoint Checkout App by @industrian in #230
  • add predicate builder extension methods by @jenschude in #231
  • Update generated SDKs by @github-actions in #229
  • Update generated SDKs by @github-actions in #232
  • move RAML extension to SDK by @jenschude in #233
  • Update generated SDKs by @github-actions in #234
  • remove webutility dependency by @jenschude in #237
  • Update generated SDKs by @github-actions in #235

Api changes

Added Property(s)
  • added property key to type CustomLineItem
  • added property perMethodTaxRate to type CustomLineItem
  • added property key to type CustomLineItemDraft
  • added property key to type LineItem
  • added property key to type LineItemDraft
  • added property key to type CartAddCustomLineItemAction
  • added property key to type CartAddLineItemAction
  • added property lineItemKey to type CartApplyDeltaToLineItemShippingDetailsTargetsAction
  • added property lineItemKey to type CartChangeLineItemQuantityAction
  • added property lineItemKey to type CartRemoveLineItemAction
  • added property lineItemKey to type CartSetLineItemCustomFieldAction
  • added property lineItemKey to type CartSetLineItemCustomTypeAction
  • added property lineItemKey to type CartSetLineItemDistributionChannelAction
  • added property lineItemKey to type CartSetLineItemInventoryModeAction
  • added property lineItemKey to type CartSetLineItemPriceAction
  • added property lineItemKey to type CartSetLineItemShippingDetailsAction
  • added property lineItemKey to type CartSetLineItemSupplyChannelAction
  • added property lineItemKey to type CartSetLineItemTaxAmountAction
  • added property lineItemKey to type CartSetLineItemTaxRateAction
  • added property lineItemKey to type CartSetLineItemTotalPriceAction
  • added property key to type MyLineItemDraft
  • added property key to type MyCartAddLineItemAction
  • added property lineItemKey to type MyCartApplyDeltaToLineItemShippingDetailsTargetsAction
  • added property lineItemKey to type MyCartChangeLineItemQuantityAction
  • added property lineItemKey to type MyCartRemoveLineItemAction
  • added property lineItemKey to type MyCartSetLineItemCustomFieldAction
  • added property lineItemKey to type MyCartSetLineItemCustomTypeAction
  • added property lineItemKey to type MyCartSetLineItemDistributionChannelAction
  • added property lineItemKey to type MyCartSetLineItemShippingDetailsAction
  • added property lineItemKey to type MyCartSetLineItemSupplyChannelAction
  • added property lineItemKey to type MyShoppingListChangeLineItemQuantityAction
  • added property sku to type StandalonePriceDeletedMessage
  • added property sku to type StandalonePriceDeletedMessagePayload
  • added property key to type StagedOrderAddCustomLineItemAction
  • added property key to type StagedOrderAddLineItemAction
  • added property parcelKey to type StagedOrderAddParcelToDeliveryAction
  • added property lineItemKey to type StagedOrderChangeLineItemQuantityAction
  • added property lineItemKey to type StagedOrderRemoveLineItemAction
  • added property parcelKey to type StagedOrderRemoveParcelFromDeliveryAction
  • added property lineItemKey to type StagedOrderSetLineItemCustomFieldAction
  • added property lineItemKey to type StagedOrderSetLineItemCustomTypeAction
  • added property lineItemKey to type StagedOrderSetLineItemDistributionChannelAction
  • added property lineItemKey to type StagedOrderSetLineItemPriceAction
  • added property lineItemKey to type StagedOrderSetLineItemShippingDetailsAction
  • added property lineItemKey to type StagedOrderSetLineItemTaxAmountAction
  • added property lineItemKey to type StagedOrderSetLineItemTaxRateAction
  • added property lineItemKey to type StagedOrderSetLineItemTotalPriceAction
  • added property parcelKey to type StagedOrderSetParcelCustomFieldAction
  • added property parcelKey to type StagedOrderSetParcelCustomTypeAction
  • added property parcelKey to type StagedOrderSetParcelItemsAction
  • added property parcelKey to type StagedOrderSetParcelMeasurementsAction
  • added property parcelKey to type StagedOrderSetParcelTrackingDataAction
  • added property key to type Parcel
  • added property key to type ParcelDraft
  • added property parcelKey to type OrderAddParcelToDeliveryAction
  • added property parcelKey to type OrderRemoveParcelFromDeliveryAction
  • added property lineItemKey to type OrderSetLineItemCustomFieldAction
  • added property lineItemKey to type OrderSetLineItemCustomTypeAction
  • added property lineItemKey to type OrderSetLineItemShippingDetailsAction
  • added property parcelKey to type OrderSetParcelCustomFieldAction
  • added property parcelKey to type OrderSetParcelCustomTypeAction
  • added property parcelKey to type OrderSetParcelItemsAction
  • added property parcelKey to type OrderSetParcelMeasurementsAction
  • added property parcelKey to type OrderSetParcelTrackingDataAction
Required Property(s)
  • changed property lineItemId of type CartApplyDeltaToLineItemShippingDetailsTargetsAction to be optional
  • changed property lineItemId of type CartChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type CartRemoveLineItemAction to be optional
  • changed property lineItemId of type CartSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type CartSetLineItemCustomTypeAction to be optional
  • changed property lineItemId of type CartSetLineItemDistributionChannelAction to be optional
  • changed property lineItemId of type CartSetLineItemInventoryModeAction to be optional
  • changed property lineItemId of type CartSetLineItemPriceAction to be optional
  • changed property lineItemId of type CartSetLineItemShippingDetailsAction to be optional
  • changed property lineItemId of type CartSetLineItemSupplyChannelAction to be optional
  • changed property lineItemId of type CartSetLineItemTaxAmountAction to be optional
  • changed property lineItemId of type CartSetLineItemTaxRateAction to be optional
  • changed property lineItemId of type CartSetLineItemTotalPriceAction to be optional
  • changed property lineItemId of type MyCartApplyDeltaToLineItemShippingDetailsTargetsAction to be optional
  • changed property lineItemId of type MyCartChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type MyCartRemoveLineItemAction to be optional
  • changed property lineItemId of type MyCartSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type MyCartSetLineItemCustomTypeAction to be optional
  • changed property lineItemId of type MyCartSetLineItemDistributionChannelAction to be optional
  • changed property lineItemId of type MyCartSetLineItemShippingDetailsAction to be optional
  • changed property lineItemId of type MyCartSetLineItemSupplyChannelAction to be optional
  • changed property lineItemId of type MyShoppingListChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type StagedOrderChangeLineItemQuantityAction to be optional
  • changed property lineItemId of type StagedOrderRemoveLineItemAction to be optional
  • changed property parcelId of type StagedOrderRemoveParcelFromDeliveryAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemCustomFieldAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemCustomTypeAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemDistributionChannelAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemPriceAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemShippingDetailsAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemTaxAmountAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemTaxRateAction to be optional
  • changed property lineItemId of type StagedOrderSetLineItemTotalPriceAction to be optional
  • changed property parcelId of type StagedOrderSetParcelCustomFieldAction to be optional
  • changed property parcelId of type StagedOrderSetParcelCustomTypeAction to be optional
  • changed property parcelId of type StagedOrderSetParcelItemsAction to be optional
  • changed property parcelId of type `StagedOr...
Read more

8.0.0

05 Jun 07:23
5d64609
Compare
Choose a tag to compare

New Feature

The TokenProvider has been refactored and returns a Token promise. The OAuth middleware expects a TokenProvider to have a Method returning a Token promise. For Backwards compatibility the Token property has been adjusted to facilitate the asynchronous methods, but has been declared obsolote. This may affect implementations of a custom TokenProvider.

What's Changed

  • add serializer interfaces for different APIs by @jenschude in #224
  • refactor token provider to use token promise to avoid long locks by @jenschude in #225
  • Update generated SDKs by @github-actions in #222
  • Subscription example by @barbara79 in #223

Api changes

Added Property(s)
  • added property shippingKey to type CartSetShippingMethodTaxAmountAction
  • added property shippingKey to type CartSetShippingMethodTaxRateAction
  • added property associateRoleAssignments to type MyBusinessUnitAssociateDraft
  • added property deliveryKey to type StagedOrderAddDeliveryAction
  • added property deliveryKey to type StagedOrderAddParcelToDeliveryAction
  • added property deliveryKey to type StagedOrderRemoveDeliveryAction
  • added property deliveryKey to type StagedOrderSetDeliveryAddressAction
  • added property deliveryKey to type StagedOrderSetDeliveryAddressCustomFieldAction
  • added property deliveryKey to type StagedOrderSetDeliveryAddressCustomTypeAction
  • added property deliveryKey to type StagedOrderSetDeliveryCustomFieldAction
  • added property deliveryKey to type StagedOrderSetDeliveryCustomTypeAction
  • added property deliveryKey to type StagedOrderSetDeliveryItemsAction
  • added property shippingKey to type StagedOrderSetShippingMethodTaxAmountAction
  • added property shippingKey to type StagedOrderSetShippingMethodTaxRateAction
  • added property key to type Delivery
  • added property key to type DeliveryDraft
  • added property deliveryKey to type OrderAddDeliveryAction
  • added property deliveryKey to type OrderAddParcelToDeliveryAction
  • added property deliveryKey to type OrderRemoveDeliveryAction
  • added property deliveryKey to type OrderSetDeliveryAddressAction
  • added property deliveryKey to type OrderSetDeliveryAddressCustomFieldAction
  • added property deliveryKey to type OrderSetDeliveryAddressCustomTypeAction
  • added property deliveryKey to type OrderSetDeliveryCustomFieldAction
  • added property deliveryKey to type OrderSetDeliveryCustomTypeAction
  • added property deliveryKey to type OrderSetDeliveryItemsAction
  • added property sku to type ProductRemovePriceAction
  • added property variantId to type ProductRemovePriceAction
  • added property price to type ProductRemovePriceAction
Required Property(s)
  • changed property deliveryId of type StagedOrderAddParcelToDeliveryAction to be optional
  • changed property deliveryId of type StagedOrderRemoveDeliveryAction to be optional
  • changed property deliveryId of type StagedOrderSetDeliveryAddressAction to be optional
  • changed property deliveryId of type StagedOrderSetDeliveryAddressCustomFieldAction to be optional
  • changed property deliveryId of type StagedOrderSetDeliveryAddressCustomTypeAction to be optional
  • changed property deliveryId of type StagedOrderSetDeliveryCustomFieldAction to be optional
  • changed property deliveryId of type StagedOrderSetDeliveryCustomTypeAction to be optional
  • changed property deliveryId of type StagedOrderSetDeliveryItemsAction to be optional
  • changed property deliveryId of type OrderAddParcelToDeliveryAction to be optional
  • changed property deliveryId of type OrderRemoveDeliveryAction to be optional
  • changed property deliveryId of type OrderSetDeliveryAddressAction to be optional
  • changed property deliveryId of type OrderSetDeliveryAddressCustomFieldAction to be optional
  • changed property deliveryId of type OrderSetDeliveryAddressCustomTypeAction to be optional
  • changed property deliveryId of type OrderSetDeliveryCustomFieldAction to be optional
  • changed property deliveryId of type OrderSetDeliveryCustomTypeAction to be optional
  • changed property deliveryId of type OrderSetDeliveryItemsAction to be optional
Added Type(s)
  • added type CartSetLineItemInventoryModeAction
  • added type AssociateMissingPermissionError
  • added type MoneyOverflowError
  • added type GraphQLAssociateMissingPermissionError
  • added type GraphQLMoneyOverflowError
  • added type MyCartSetDirectDiscountsAction
  • added type QuoteCustomerChangedMessage
  • added type QuoteRequestCustomerChangedMessage
  • added type QuoteCustomerChangedMessagePayload
  • added type QuoteRequestCustomerChangedMessagePayload
  • added type QuoteRequestChangeCustomerAction
  • added type QuoteChangeCustomerAction
Added Resource(s)
  • added resource /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/carts/replicate
Added Enum(s)
  • added enum ReassignMyQuotes to type Permission
  • added enum ReassignOthersQuotes to type Permission
  • added enum RenegotiationAddressed to type QuoteState
Added Method(s)
  • added method apiRoot.withProjectKey().asAssociate().withAssociateIdValue().inBusinessUnitKeyWithBusinessUnitKeyValue().carts().replicate().post()

Import changes

Added Type(s)
  • added type TypeImportRequest
  • added type TypeTextInputHint
  • added type ResourceTypeId
  • added type FieldType
  • added type CustomFieldBooleanType
  • added type CustomFieldDateTimeType
  • added type CustomFieldDateType
  • added type CustomFieldEnumType
  • added type CustomFieldEnumValue
  • added type CustomFieldLocalizedEnumType
  • added type CustomFieldLocalizedEnumValue
  • added type CustomFieldLocalizedStringType
  • added type CustomFieldMoneyType
  • added type CustomFieldNumberType
  • added type CustomFieldReferenceType
  • added type CustomFieldReferenceValue
  • added type CustomFieldSetType
  • added type CustomFieldStringType
  • added type CustomFieldTimeType
  • added type FieldDefinition
  • added type TypeImport
Added Resource(s)
  • added resource /{projectKey}/types
  • added resource /{projectKey}/types/import-containers
  • added resource /{projectKey}/types/import-containers/{importContainerKey}
Added Enum(s)
  • added enum type to type ImportResourceType
Added Method(s)
  • added method apiRoot.withProjectKeyValue().types().importContainers().withImportContainerKeyValue().post()

History changes

Added Type(s)
  • added type SetCountriesChange
  • added type SetPurchaseOrderNumberChange
  • added type StoreCountry
Removed QueryParameter(s)
  • ⚠️ removed query parameter resourceType from method get /{projectKey}
Added QueryParameter(s)
  • added query parameter resourceTypes to method get /{projectKey}

New Contributors

Full Changelog: 7.4.0...8.0.0