From 89ad785f111fbd32641a95b0be787a74b91c122f Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 2 Jul 2024 13:55:10 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 70 ++++++---- .../Generated/Models/Messages/IMessage.cs | 35 +++++ .../Models/Messages/IMessagePayload.cs | 35 +++++ .../IProductPriceCustomFieldAddedMessage.cs | 21 +++ ...ductPriceCustomFieldAddedMessagePayload.cs | 21 +++ .../IProductPriceCustomFieldChangedMessage.cs | 21 +++ ...ctPriceCustomFieldChangedMessagePayload.cs | 21 +++ .../IProductPriceCustomFieldRemovedMessage.cs | 18 +++ ...ctPriceCustomFieldRemovedMessagePayload.cs | 18 +++ ...IProductPriceCustomFieldsRemovedMessage.cs | 16 +++ ...tPriceCustomFieldsRemovedMessagePayload.cs | 16 +++ .../IProductPriceCustomFieldsSetMessage.cs | 21 +++ ...oductPriceCustomFieldsSetMessagePayload.cs | 21 +++ .../ProductPriceCustomFieldAddedMessage.cs | 46 ++++++ ...ductPriceCustomFieldAddedMessagePayload.cs | 25 ++++ .../ProductPriceCustomFieldChangedMessage.cs | 46 ++++++ ...ctPriceCustomFieldChangedMessagePayload.cs | 25 ++++ .../ProductPriceCustomFieldRemovedMessage.cs | 44 ++++++ ...ctPriceCustomFieldRemovedMessagePayload.cs | 20 +++ .../ProductPriceCustomFieldsRemovedMessage.cs | 42 ++++++ ...tPriceCustomFieldsRemovedMessagePayload.cs | 18 +++ .../ProductPriceCustomFieldsSetMessage.cs | 47 +++++++ ...oductPriceCustomFieldsSetMessagePayload.cs | 25 ++++ .../Messages/MessagePayloadQueryBuilderDsl.cs | 30 ++++ .../Messages/MessageQueryBuilderDsl.cs | 30 ++++ ...FieldAddedMessagePayloadQueryBuilderDsl.cs | 54 ++++++++ ...eCustomFieldAddedMessageQueryBuilderDsl.cs | 128 +++++++++++++++++ ...eldChangedMessagePayloadQueryBuilderDsl.cs | 54 ++++++++ ...ustomFieldChangedMessageQueryBuilderDsl.cs | 128 +++++++++++++++++ ...eldRemovedMessagePayloadQueryBuilderDsl.cs | 48 +++++++ ...ustomFieldRemovedMessageQueryBuilderDsl.cs | 122 ++++++++++++++++ ...ldsRemovedMessagePayloadQueryBuilderDsl.cs | 42 ++++++ ...stomFieldsRemovedMessageQueryBuilderDsl.cs | 116 ++++++++++++++++ ...mFieldsSetMessagePayloadQueryBuilderDsl.cs | 59 ++++++++ ...ceCustomFieldsSetMessageQueryBuilderDsl.cs | 131 ++++++++++++++++++ .../schema.graphqls | 42 ++++++ references.txt | 1 + 37 files changed, 1627 insertions(+), 30 deletions(-) create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessage.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessagePayload.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessageQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessageQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessageQueryBuilderDsl.cs diff --git a/changes.md b/changes.md index a219d00d702..5ad5295ddda 100644 --- a/changes.md +++ b/changes.md @@ -1,5 +1,12 @@ **Api changes** +
+Required Property(s) + +- changed property `isOnStock` of type `ProductVariantAvailability` to be optional +
+ +
Added Property(s) @@ -39,29 +46,10 @@
-Required Property(s) - -- changed property `isOnStock` of type `ProductVariantAvailability` to be optional -
- - -
-Added Resource(s) +Added Enum(s) -- added resource `/{projectKey}/customers/search` -- added resource `/{projectKey}/customers/search/indexing-status` -- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests` -- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes` -- added resource `/{projectKey}/in-store/key={storeKey}/quotes` -- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes` -- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images` -- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images` -- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}` -- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}` -- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}` -- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}` +- added enum `attribute-group` to type `ChangeSubscriptionResourceTypeId` +- added enum `product-tailoring` to type `ChangeSubscriptionResourceTypeId`
@@ -72,14 +60,6 @@
-
-Added Enum(s) - -- added enum `attribute-group` to type `ChangeSubscriptionResourceTypeId` -- added enum `product-tailoring` to type `ChangeSubscriptionResourceTypeId` -
- -
Added Method(s) @@ -137,11 +117,21 @@ - added type `CustomerSearchRequest` - added type `CustomerSearchResult` - added type `BusinessUnitApprovalRuleModeChangedMessage` +- added type `ProductPriceCustomFieldAddedMessage` +- added type `ProductPriceCustomFieldChangedMessage` +- added type `ProductPriceCustomFieldRemovedMessage` +- added type `ProductPriceCustomFieldsRemovedMessage` +- added type `ProductPriceCustomFieldsSetMessage` - added type `ProductTailoringImageAddedMessage` - added type `ProductTailoringImagesSetMessage` - added type `ProductVariantTailoringAddedMessage` - added type `ProductVariantTailoringRemovedMessage` - added type `BusinessUnitApprovalRuleModeChangedMessagePayload` +- added type `ProductPriceCustomFieldAddedMessagePayload` +- added type `ProductPriceCustomFieldChangedMessagePayload` +- added type `ProductPriceCustomFieldRemovedMessagePayload` +- added type `ProductPriceCustomFieldsRemovedMessagePayload` +- added type `ProductPriceCustomFieldsSetMessagePayload` - added type `ProductTailoringImageAddedMessagePayload` - added type `ProductTailoringImagesSetMessagePayload` - added type `ProductVariantTailoringAddedMessagePayload` @@ -183,3 +173,23 @@ - :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
+ +
+Added Resource(s) + +- added resource `/{projectKey}/customers/search` +- added resource `/{projectKey}/customers/search/indexing-status` +- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests` +- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes` +- added resource `/{projectKey}/in-store/key={storeKey}/quotes` +- added resource `/{projectKey}/in-store/key={storeKey}/orders/quotes` +- added resource `/{projectKey}/in-store/key={storeKey}/products/{productID}/product-tailoring/images` +- added resource `/{projectKey}/in-store/key={storeKey}/products/key={productKey}/product-tailoring/images` +- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/key={key}` +- added resource `/{projectKey}/in-store/key={storeKey}/quote-requests/{ID}` +- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/key={key}` +- added resource `/{projectKey}/in-store/key={storeKey}/staged-quotes/{ID}` +- added resource `/{projectKey}/in-store/key={storeKey}/quotes/key={key}` +- added resource `/{projectKey}/in-store/key={storeKey}/quotes/{ID}` +
+ diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessage.cs index 3a0ecadd7b2..b8f4f9ee2f8 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessage.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessage.cs @@ -163,6 +163,11 @@ namespace commercetools.Sdk.Api.Models.Messages [SubTypeDiscriminator("ProductImageAdded", typeof(commercetools.Sdk.Api.Models.Messages.ProductImageAddedMessage))] [SubTypeDiscriminator("ProductPriceAdded", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceAddedMessage))] [SubTypeDiscriminator("ProductPriceChanged", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceChangedMessage))] + [SubTypeDiscriminator("ProductPriceCustomFieldAdded", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessage))] + [SubTypeDiscriminator("ProductPriceCustomFieldChanged", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessage))] + [SubTypeDiscriminator("ProductPriceCustomFieldRemoved", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessage))] + [SubTypeDiscriminator("ProductPriceCustomFieldsRemoved", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessage))] + [SubTypeDiscriminator("ProductPriceCustomFieldsSet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessage))] [SubTypeDiscriminator("ProductPriceDiscountsSet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceDiscountsSetMessage))] [SubTypeDiscriminator("ProductPriceExternalDiscountSet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceExternalDiscountSetMessage))] [SubTypeDiscriminator("ProductPriceKeySet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceKeySetMessage))] @@ -1200,6 +1205,36 @@ static commercetools.Sdk.Api.Models.Messages.ProductPriceChangedMessage ProductP init?.Invoke(t); return t; } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessage ProductPriceCustomFieldAdded(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessage(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessage ProductPriceCustomFieldChanged(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessage(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessage ProductPriceCustomFieldRemoved(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessage(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessage ProductPriceCustomFieldsRemoved(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessage(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessage ProductPriceCustomFieldsSet(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessage(); + init?.Invoke(t); + return t; + } static commercetools.Sdk.Api.Models.Messages.ProductPriceDiscountsSetMessage ProductPriceDiscountsSet(Action init = null) { var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceDiscountsSetMessage(); diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessagePayload.cs index f0b13cc5e5e..a7c1d73608b 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessagePayload.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IMessagePayload.cs @@ -162,6 +162,11 @@ namespace commercetools.Sdk.Api.Models.Messages [SubTypeDiscriminator("ProductImageAdded", typeof(commercetools.Sdk.Api.Models.Messages.ProductImageAddedMessagePayload))] [SubTypeDiscriminator("ProductPriceAdded", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceAddedMessagePayload))] [SubTypeDiscriminator("ProductPriceChanged", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceChangedMessagePayload))] + [SubTypeDiscriminator("ProductPriceCustomFieldAdded", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessagePayload))] + [SubTypeDiscriminator("ProductPriceCustomFieldChanged", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessagePayload))] + [SubTypeDiscriminator("ProductPriceCustomFieldRemoved", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessagePayload))] + [SubTypeDiscriminator("ProductPriceCustomFieldsRemoved", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessagePayload))] + [SubTypeDiscriminator("ProductPriceCustomFieldsSet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessagePayload))] [SubTypeDiscriminator("ProductPriceDiscountsSet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceDiscountsSetMessagePayload))] [SubTypeDiscriminator("ProductPriceExternalDiscountSet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceExternalDiscountSetMessagePayload))] [SubTypeDiscriminator("ProductPriceKeySet", typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceKeySetMessagePayload))] @@ -1180,6 +1185,36 @@ static commercetools.Sdk.Api.Models.Messages.ProductPriceChangedMessagePayload P init?.Invoke(t); return t; } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessagePayload ProductPriceCustomFieldAdded(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessagePayload(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessagePayload ProductPriceCustomFieldChanged(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessagePayload(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessagePayload ProductPriceCustomFieldRemoved(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessagePayload(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessagePayload ProductPriceCustomFieldsRemoved(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessagePayload(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessagePayload ProductPriceCustomFieldsSet(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessagePayload(); + init?.Invoke(t); + return t; + } static commercetools.Sdk.Api.Models.Messages.ProductPriceDiscountsSetMessagePayload ProductPriceDiscountsSet(Action init = null) { var t = new commercetools.Sdk.Api.Models.Messages.ProductPriceDiscountsSetMessagePayload(); diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessage.cs new file mode 100644 index 00000000000..f6a1f05dd11 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessage.cs @@ -0,0 +1,21 @@ +using System; +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessage))] + public partial interface IProductPriceCustomFieldAddedMessage : IMessage + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + string Name { get; set; } + + Object Value { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessagePayload.cs new file mode 100644 index 00000000000..13f411c4bf1 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldAddedMessagePayload.cs @@ -0,0 +1,21 @@ +using System; +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldAddedMessagePayload))] + public partial interface IProductPriceCustomFieldAddedMessagePayload : IMessagePayload + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + string Name { get; set; } + + Object Value { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessage.cs new file mode 100644 index 00000000000..da31cc1333a --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessage.cs @@ -0,0 +1,21 @@ +using System; +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessage))] + public partial interface IProductPriceCustomFieldChangedMessage : IMessage + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + string Name { get; set; } + + Object Value { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessagePayload.cs new file mode 100644 index 00000000000..ba97088648e --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldChangedMessagePayload.cs @@ -0,0 +1,21 @@ +using System; +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldChangedMessagePayload))] + public partial interface IProductPriceCustomFieldChangedMessagePayload : IMessagePayload + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + string Name { get; set; } + + Object Value { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessage.cs new file mode 100644 index 00000000000..11bf774dd7f --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessage.cs @@ -0,0 +1,18 @@ +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessage))] + public partial interface IProductPriceCustomFieldRemovedMessage : IMessage + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + string Name { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessagePayload.cs new file mode 100644 index 00000000000..8a38cea314f --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldRemovedMessagePayload.cs @@ -0,0 +1,18 @@ +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldRemovedMessagePayload))] + public partial interface IProductPriceCustomFieldRemovedMessagePayload : IMessagePayload + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + string Name { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessage.cs new file mode 100644 index 00000000000..45abd3999d3 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessage.cs @@ -0,0 +1,16 @@ +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessage))] + public partial interface IProductPriceCustomFieldsRemovedMessage : IMessage + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessagePayload.cs new file mode 100644 index 00000000000..1f706f81776 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsRemovedMessagePayload.cs @@ -0,0 +1,16 @@ +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsRemovedMessagePayload))] + public partial interface IProductPriceCustomFieldsRemovedMessagePayload : IMessagePayload + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessage.cs new file mode 100644 index 00000000000..07b5e5287af --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessage.cs @@ -0,0 +1,21 @@ +using commercetools.Sdk.Api.Models.Types; +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessage))] + public partial interface IProductPriceCustomFieldsSetMessage : IMessage + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + ICustomFields CustomField { get; set; } + + string OldTypeId { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessagePayload.cs new file mode 100644 index 00000000000..1258840742f --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/IProductPriceCustomFieldsSetMessagePayload.cs @@ -0,0 +1,21 @@ +using commercetools.Sdk.Api.Models.Types; +using commercetools.Base.CustomAttributes; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.Messages +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.Messages.ProductPriceCustomFieldsSetMessagePayload))] + public partial interface IProductPriceCustomFieldsSetMessagePayload : IMessagePayload + { + string PriceId { get; set; } + + long VariantId { get; set; } + + bool Staged { get; set; } + + ICustomFields CustomField { get; set; } + + string OldTypeId { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessage.cs new file mode 100644 index 00000000000..0f1417f3d86 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessage.cs @@ -0,0 +1,46 @@ +using commercetools.Sdk.Api.Models.Common; +using System; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldAddedMessage : IProductPriceCustomFieldAddedMessage + { + public string Id { get; set; } + + public long Version { get; set; } + + public DateTime CreatedAt { get; set; } + + public DateTime LastModifiedAt { get; set; } + + public ILastModifiedBy LastModifiedBy { get; set; } + + public ICreatedBy CreatedBy { get; set; } + + public long SequenceNumber { get; set; } + + public IReference Resource { get; set; } + + public long ResourceVersion { get; set; } + + public string Type { get; set; } + + public IUserProvidedIdentifiers ResourceUserProvidedIdentifiers { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public string Name { get; set; } + + public Object Value { get; set; } + public ProductPriceCustomFieldAddedMessage() + { + this.Type = "ProductPriceCustomFieldAdded"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessagePayload.cs new file mode 100644 index 00000000000..e55927911b9 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldAddedMessagePayload.cs @@ -0,0 +1,25 @@ +using System; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldAddedMessagePayload : IProductPriceCustomFieldAddedMessagePayload + { + public string Type { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public string Name { get; set; } + + public Object Value { get; set; } + public ProductPriceCustomFieldAddedMessagePayload() + { + this.Type = "ProductPriceCustomFieldAdded"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessage.cs new file mode 100644 index 00000000000..eb072ca26c9 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessage.cs @@ -0,0 +1,46 @@ +using commercetools.Sdk.Api.Models.Common; +using System; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldChangedMessage : IProductPriceCustomFieldChangedMessage + { + public string Id { get; set; } + + public long Version { get; set; } + + public DateTime CreatedAt { get; set; } + + public DateTime LastModifiedAt { get; set; } + + public ILastModifiedBy LastModifiedBy { get; set; } + + public ICreatedBy CreatedBy { get; set; } + + public long SequenceNumber { get; set; } + + public IReference Resource { get; set; } + + public long ResourceVersion { get; set; } + + public string Type { get; set; } + + public IUserProvidedIdentifiers ResourceUserProvidedIdentifiers { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public string Name { get; set; } + + public Object Value { get; set; } + public ProductPriceCustomFieldChangedMessage() + { + this.Type = "ProductPriceCustomFieldChanged"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessagePayload.cs new file mode 100644 index 00000000000..34ed8713d64 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldChangedMessagePayload.cs @@ -0,0 +1,25 @@ +using System; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldChangedMessagePayload : IProductPriceCustomFieldChangedMessagePayload + { + public string Type { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public string Name { get; set; } + + public Object Value { get; set; } + public ProductPriceCustomFieldChangedMessagePayload() + { + this.Type = "ProductPriceCustomFieldChanged"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessage.cs new file mode 100644 index 00000000000..2c3c4311b3a --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessage.cs @@ -0,0 +1,44 @@ +using commercetools.Sdk.Api.Models.Common; +using System; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldRemovedMessage : IProductPriceCustomFieldRemovedMessage + { + public string Id { get; set; } + + public long Version { get; set; } + + public DateTime CreatedAt { get; set; } + + public DateTime LastModifiedAt { get; set; } + + public ILastModifiedBy LastModifiedBy { get; set; } + + public ICreatedBy CreatedBy { get; set; } + + public long SequenceNumber { get; set; } + + public IReference Resource { get; set; } + + public long ResourceVersion { get; set; } + + public string Type { get; set; } + + public IUserProvidedIdentifiers ResourceUserProvidedIdentifiers { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public string Name { get; set; } + public ProductPriceCustomFieldRemovedMessage() + { + this.Type = "ProductPriceCustomFieldRemoved"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessagePayload.cs new file mode 100644 index 00000000000..9ceb91f5889 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldRemovedMessagePayload.cs @@ -0,0 +1,20 @@ +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldRemovedMessagePayload : IProductPriceCustomFieldRemovedMessagePayload + { + public string Type { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public string Name { get; set; } + public ProductPriceCustomFieldRemovedMessagePayload() + { + this.Type = "ProductPriceCustomFieldRemoved"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessage.cs new file mode 100644 index 00000000000..f2bcda35613 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessage.cs @@ -0,0 +1,42 @@ +using commercetools.Sdk.Api.Models.Common; +using System; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldsRemovedMessage : IProductPriceCustomFieldsRemovedMessage + { + public string Id { get; set; } + + public long Version { get; set; } + + public DateTime CreatedAt { get; set; } + + public DateTime LastModifiedAt { get; set; } + + public ILastModifiedBy LastModifiedBy { get; set; } + + public ICreatedBy CreatedBy { get; set; } + + public long SequenceNumber { get; set; } + + public IReference Resource { get; set; } + + public long ResourceVersion { get; set; } + + public string Type { get; set; } + + public IUserProvidedIdentifiers ResourceUserProvidedIdentifiers { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + public ProductPriceCustomFieldsRemovedMessage() + { + this.Type = "ProductPriceCustomFieldsRemoved"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessagePayload.cs new file mode 100644 index 00000000000..5fd456f7e91 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsRemovedMessagePayload.cs @@ -0,0 +1,18 @@ +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldsRemovedMessagePayload : IProductPriceCustomFieldsRemovedMessagePayload + { + public string Type { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + public ProductPriceCustomFieldsRemovedMessagePayload() + { + this.Type = "ProductPriceCustomFieldsRemoved"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessage.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessage.cs new file mode 100644 index 00000000000..ea3431b09bc --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessage.cs @@ -0,0 +1,47 @@ +using commercetools.Sdk.Api.Models.Common; +using commercetools.Sdk.Api.Models.Types; +using System; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldsSetMessage : IProductPriceCustomFieldsSetMessage + { + public string Id { get; set; } + + public long Version { get; set; } + + public DateTime CreatedAt { get; set; } + + public DateTime LastModifiedAt { get; set; } + + public ILastModifiedBy LastModifiedBy { get; set; } + + public ICreatedBy CreatedBy { get; set; } + + public long SequenceNumber { get; set; } + + public IReference Resource { get; set; } + + public long ResourceVersion { get; set; } + + public string Type { get; set; } + + public IUserProvidedIdentifiers ResourceUserProvidedIdentifiers { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public ICustomFields CustomField { get; set; } + + public string OldTypeId { get; set; } + public ProductPriceCustomFieldsSetMessage() + { + this.Type = "ProductPriceCustomFieldsSet"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessagePayload.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessagePayload.cs new file mode 100644 index 00000000000..232d11e2f99 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/Models/Messages/ProductPriceCustomFieldsSetMessagePayload.cs @@ -0,0 +1,25 @@ +using commercetools.Sdk.Api.Models.Types; + + +namespace commercetools.Sdk.Api.Models.Messages +{ + + public partial class ProductPriceCustomFieldsSetMessagePayload : IProductPriceCustomFieldsSetMessagePayload + { + public string Type { get; set; } + + public string PriceId { get; set; } + + public long VariantId { get; set; } + + public bool Staged { get; set; } + + public ICustomFields CustomField { get; set; } + + public string OldTypeId { get; set; } + public ProductPriceCustomFieldsSetMessagePayload() + { + this.Type = "ProductPriceCustomFieldsSet"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessagePayloadQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessagePayloadQueryBuilderDsl.cs index e70d3ea4f49..df68708b47d 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessagePayloadQueryBuilderDsl.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessagePayloadQueryBuilderDsl.cs @@ -694,6 +694,36 @@ public CombinationQueryPredicate AsProductPriceCh return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceChangedMessagePayloadQueryBuilderDsl.Of()), MessagePayloadQueryBuilderDsl.Of); } + public CombinationQueryPredicate AsProductPriceCustomFieldAdded( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.Of()), + MessagePayloadQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldChanged( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.Of()), + MessagePayloadQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldRemoved( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.Of()), + MessagePayloadQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldsRemoved( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.Of()), + MessagePayloadQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldsSet( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.Of()), + MessagePayloadQueryBuilderDsl.Of); + } public CombinationQueryPredicate AsProductPriceDiscountsSet( Func> fn) { diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessageQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessageQueryBuilderDsl.cs index eae2532c688..0d03f358359 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessageQueryBuilderDsl.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/MessageQueryBuilderDsl.cs @@ -766,6 +766,36 @@ public CombinationQueryPredicate AsProductPriceChanged( return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceChangedMessageQueryBuilderDsl.Of()), MessageQueryBuilderDsl.Of); } + public CombinationQueryPredicate AsProductPriceCustomFieldAdded( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of()), + MessageQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldChanged( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of()), + MessageQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldRemoved( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of()), + MessageQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldsRemoved( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of()), + MessageQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsProductPriceCustomFieldsSet( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of()), + MessageQueryBuilderDsl.Of); + } public CombinationQueryPredicate AsProductPriceDiscountsSet( Func> fn) { diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.cs new file mode 100644 index 00000000000..3519fbd2061 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.cs @@ -0,0 +1,54 @@ +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl + { + public ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Name() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Value() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("value")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessageQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessageQueryBuilderDsl.cs new file mode 100644 index 00000000000..643c78167b0 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldAddedMessageQueryBuilderDsl.cs @@ -0,0 +1,128 @@ +using System; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldAddedMessageQueryBuilderDsl + { + public ProductPriceCustomFieldAddedMessageQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldAddedMessageQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldAddedMessageQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Id() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("id")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Version() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("version")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder CreatedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("createdAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder LastModifiedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("lastModifiedAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate LastModifiedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("lastModifiedBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.LastModifiedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of); + } + + public CombinationQueryPredicate CreatedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("createdBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.CreatedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder SequenceNumber() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("sequenceNumber")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate Resource( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resource")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl.Of())), + ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder ResourceVersion() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("resourceVersion")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate ResourceUserProvidedIdentifiers( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resourceUserProvidedIdentifiers")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.UserProvidedIdentifiersQueryBuilderDsl.Of())), + ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Name() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Value() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("value")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldAddedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.cs new file mode 100644 index 00000000000..d5fe0988c6f --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.cs @@ -0,0 +1,54 @@ +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl + { + public ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Name() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Value() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("value")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessageQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessageQueryBuilderDsl.cs new file mode 100644 index 00000000000..238e1402137 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldChangedMessageQueryBuilderDsl.cs @@ -0,0 +1,128 @@ +using System; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldChangedMessageQueryBuilderDsl + { + public ProductPriceCustomFieldChangedMessageQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldChangedMessageQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldChangedMessageQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Id() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("id")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Version() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("version")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder CreatedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("createdAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder LastModifiedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("lastModifiedAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate LastModifiedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("lastModifiedBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.LastModifiedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of); + } + + public CombinationQueryPredicate CreatedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("createdBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.CreatedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder SequenceNumber() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("sequenceNumber")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate Resource( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resource")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl.Of())), + ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder ResourceVersion() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("resourceVersion")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate ResourceUserProvidedIdentifiers( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resourceUserProvidedIdentifiers")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.UserProvidedIdentifiersQueryBuilderDsl.Of())), + ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Name() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Value() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("value")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldChangedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.cs new file mode 100644 index 00000000000..8398913b481 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.cs @@ -0,0 +1,48 @@ +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl + { + public ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Name() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.cs new file mode 100644 index 00000000000..24d8d8cec28 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.cs @@ -0,0 +1,122 @@ +using System; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldRemovedMessageQueryBuilderDsl + { + public ProductPriceCustomFieldRemovedMessageQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldRemovedMessageQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldRemovedMessageQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Id() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("id")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Version() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("version")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder CreatedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("createdAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder LastModifiedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("lastModifiedAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate LastModifiedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("lastModifiedBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.LastModifiedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of); + } + + public CombinationQueryPredicate CreatedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("createdBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.CreatedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder SequenceNumber() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("sequenceNumber")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate Resource( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resource")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl.Of())), + ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder ResourceVersion() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("resourceVersion")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate ResourceUserProvidedIdentifiers( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resourceUserProvidedIdentifiers")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.UserProvidedIdentifiersQueryBuilderDsl.Of())), + ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Name() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.cs new file mode 100644 index 00000000000..f3f96e2a998 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.cs @@ -0,0 +1,42 @@ +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl + { + public ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.cs new file mode 100644 index 00000000000..dc52e85507f --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.cs @@ -0,0 +1,116 @@ +using System; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl + { + public ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Id() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("id")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Version() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("version")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder CreatedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("createdAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder LastModifiedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("lastModifiedAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate LastModifiedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("lastModifiedBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.LastModifiedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of); + } + + public CombinationQueryPredicate CreatedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("createdBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.CreatedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder SequenceNumber() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("sequenceNumber")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate Resource( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resource")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl.Of())), + ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder ResourceVersion() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("resourceVersion")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate ResourceUserProvidedIdentifiers( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resourceUserProvidedIdentifiers")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.UserProvidedIdentifiersQueryBuilderDsl.Of())), + ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsRemovedMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.cs new file mode 100644 index 00000000000..e3f6dc594b3 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.cs @@ -0,0 +1,59 @@ +using System; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl + { + public ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate CustomField( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("customField")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Types.CustomFieldsQueryBuilderDsl.Of())), + ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder OldTypeId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("oldTypeId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessagePayloadQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessageQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessageQueryBuilderDsl.cs new file mode 100644 index 00000000000..70059d838f6 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/Messages/ProductPriceCustomFieldsSetMessageQueryBuilderDsl.cs @@ -0,0 +1,131 @@ +using System; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.Messages +{ + + public partial class ProductPriceCustomFieldsSetMessageQueryBuilderDsl + { + public ProductPriceCustomFieldsSetMessageQueryBuilderDsl() + { + } + + public static ProductPriceCustomFieldsSetMessageQueryBuilderDsl Of() + { + return new ProductPriceCustomFieldsSetMessageQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Id() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("id")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Version() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("version")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder CreatedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("createdAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder LastModifiedAt() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("lastModifiedAt")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate LastModifiedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("lastModifiedBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.LastModifiedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of); + } + + public CombinationQueryPredicate CreatedBy( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("createdBy")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.CreatedByQueryBuilderDsl.Of())), + ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder SequenceNumber() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("sequenceNumber")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate Resource( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resource")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Common.ReferenceQueryBuilderDsl.Of())), + ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder ResourceVersion() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("resourceVersion")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Type() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("type")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate ResourceUserProvidedIdentifiers( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("resourceUserProvidedIdentifiers")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Messages.UserProvidedIdentifiersQueryBuilderDsl.Of())), + ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder PriceId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("priceId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder VariantId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("variantId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Staged() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("staged")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate CustomField( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("customField")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Types.CustomFieldsQueryBuilderDsl.Of())), + ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of); + } + + public IComparisonPredicateBuilder OldTypeId() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("oldTypeId")), + p => new CombinationQueryPredicate(p, ProductPriceCustomFieldsSetMessageQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls b/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls index f52815c7c99..e1ed42402a5 100644 --- a/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls +++ b/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls @@ -7828,6 +7828,48 @@ type ProductPriceChanged implements MessagePayload { type: String! } +type ProductPriceCustomFieldAdded implements MessagePayload { + priceId: String! + variantId: Int! + staged: Boolean! + name: String! + value: Json! + type: String! +} + +type ProductPriceCustomFieldChanged implements MessagePayload { + priceId: String! + variantId: Int! + staged: Boolean! + name: String! + value: Json! + type: String! +} + +type ProductPriceCustomFieldRemoved implements MessagePayload { + priceId: String! + variantId: Int! + staged: Boolean! + name: String! + type: String! +} + +type ProductPriceCustomFieldsRemoved implements MessagePayload { + priceId: String! + variantId: Int! + staged: Boolean! + type: String! +} + +type ProductPriceCustomFieldsSet implements MessagePayload { + priceId: String! + variantId: Int! + staged: Boolean! + customField: CustomFieldsType! + oldTypeId: String + type: String! +} + input ProductPriceDataInput { value: BaseMoneyInput! key: String diff --git a/references.txt b/references.txt index 8d11c98a658..1f5557a2149 100644 --- a/references.txt +++ b/references.txt @@ -259,3 +259,4 @@ dd8eca14a0c47d154e4c705909a3d2696369bfd1 e5268785dcaf7bd56dafa13f2901b69468552fd0 f406baef04eced1a7bda3817e935f54e234a9f4e c163df6435d9b4770f1d07cd2cb379c1f620ceb5 +6bd7dfaf13befab20f63e12bcda891250e2637c1