From 60f22ea93fd1507fa897cfd94b6108bf85dfd3a5 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 13:52:01 +0000 Subject: [PATCH] build(codegen): updating SDK --- changes.md | 17 +++++++ .../Models/ApprovalRules/ApprovalRule.cs | 3 ++ .../ApprovalRuleSetCustomFieldAction.cs | 18 ++++++++ .../ApprovalRuleSetCustomTypeAction.cs | 19 ++++++++ .../Models/ApprovalRules/IApprovalRule.cs | 3 ++ .../IApprovalRuleSetCustomFieldAction.cs | 14 ++++++ .../IApprovalRuleSetCustomTypeAction.cs | 14 ++++++ .../IApprovalRuleUpdateAction.cs | 14 ++++++ .../Models/Types/CustomFieldReferenceValue.cs | 7 +++ .../Models/Types/ResourceTypeId.cs | 7 +++ .../ApprovalRuleQueryBuilderDsl.cs | 9 ++++ ...RuleSetCustomFieldActionQueryBuilderDsl.cs | 36 +++++++++++++++ ...lRuleSetCustomTypeActionQueryBuilderDsl.cs | 44 +++++++++++++++++++ ...ApprovalRuleUpdateActionQueryBuilderDsl.cs | 12 +++++ .../schema.graphqls | 15 +++++++ references.txt | 1 + 16 files changed, 233 insertions(+) create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomFieldAction.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomTypeAction.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomFieldAction.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomTypeAction.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomFieldActionQueryBuilderDsl.cs create mode 100644 commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomTypeActionQueryBuilderDsl.cs diff --git a/changes.md b/changes.md index 684f096f918..19c55f3a6d0 100644 --- a/changes.md +++ b/changes.md @@ -1,12 +1,29 @@ **Api changes** +
+Added Type(s) + +- added type `ApprovalRuleSetCustomFieldAction` +- added type `ApprovalRuleSetCustomTypeAction` +
+ +
Added Property(s) +- added property `custom` to type `ApprovalRule` - added property `source` to type `EventBridgeDestination`
+
+Added Enum(s) + +- added enum `approval-rule` to type `CustomFieldReferenceValue` +- added enum `approval-rule` to type `ResourceTypeId` +
+ +
Added Method(s) diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRule.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRule.cs index 7794b99f6d0..284d24b107c 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRule.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRule.cs @@ -1,5 +1,6 @@ using commercetools.Sdk.Api.Models.BusinessUnits; using commercetools.Sdk.Api.Models.Common; +using commercetools.Sdk.Api.Models.Types; using System; using System.Collections.Generic; using System.Linq; @@ -38,5 +39,7 @@ public partial class ApprovalRule : IApprovalRule public IEnumerable RequestersEnumerable { set => Requesters = value.ToList(); } public IBusinessUnitKeyReference BusinessUnit { get; set; } + + public ICustomFields Custom { get; set; } } } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomFieldAction.cs new file mode 100644 index 00000000000..716355f8d20 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomFieldAction.cs @@ -0,0 +1,18 @@ +using System; + +namespace commercetools.Sdk.Api.Models.ApprovalRules +{ + + public partial class ApprovalRuleSetCustomFieldAction : IApprovalRuleSetCustomFieldAction + { + public string Action { get; set; } + + public string Name { get; set; } + + public Object Value { get; set; } + public ApprovalRuleSetCustomFieldAction() + { + this.Action = "setCustomField"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomTypeAction.cs new file mode 100644 index 00000000000..13f296f6123 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/ApprovalRuleSetCustomTypeAction.cs @@ -0,0 +1,19 @@ +using commercetools.Sdk.Api.Models.Types; + + +namespace commercetools.Sdk.Api.Models.ApprovalRules +{ + + public partial class ApprovalRuleSetCustomTypeAction : IApprovalRuleSetCustomTypeAction + { + public string Action { get; set; } + + public ITypeResourceIdentifier Type { get; set; } + + public IFieldContainer Fields { get; set; } + public ApprovalRuleSetCustomTypeAction() + { + this.Action = "setCustomType"; + } + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRule.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRule.cs index c484d420762..1e3cce78f23 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRule.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRule.cs @@ -1,5 +1,6 @@ using commercetools.Sdk.Api.Models.BusinessUnits; using commercetools.Sdk.Api.Models.Common; +using commercetools.Sdk.Api.Models.Types; using System; using System.Collections.Generic; using System.Linq; @@ -40,5 +41,7 @@ public partial interface IApprovalRule : IBaseResource IBusinessUnitKeyReference BusinessUnit { get; set; } + ICustomFields Custom { get; set; } + } } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomFieldAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomFieldAction.cs new file mode 100644 index 00000000000..c4d1a6e11d5 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomFieldAction.cs @@ -0,0 +1,14 @@ +using System; +using commercetools.Base.CustomAttributes; +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.ApprovalRules +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomFieldAction))] + public partial interface IApprovalRuleSetCustomFieldAction : IApprovalRuleUpdateAction + { + string Name { get; set; } + + Object Value { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomTypeAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomTypeAction.cs new file mode 100644 index 00000000000..9e64c255999 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleSetCustomTypeAction.cs @@ -0,0 +1,14 @@ +using commercetools.Sdk.Api.Models.Types; +using commercetools.Base.CustomAttributes; +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Models.ApprovalRules +{ + [DeserializeAs(typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomTypeAction))] + public partial interface IApprovalRuleSetCustomTypeAction : IApprovalRuleUpdateAction + { + ITypeResourceIdentifier Type { get; set; } + + IFieldContainer Fields { get; set; } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleUpdateAction.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleUpdateAction.cs index 7f5b90a1dba..4d30aaa485e 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleUpdateAction.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/ApprovalRules/IApprovalRuleUpdateAction.cs @@ -6,6 +6,8 @@ namespace commercetools.Sdk.Api.Models.ApprovalRules [TypeDiscriminator(nameof(Action))] [DefaultTypeDiscriminator(typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleUpdateAction))] [SubTypeDiscriminator("setApprovers", typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetApproversAction))] + [SubTypeDiscriminator("setCustomField", typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomFieldAction))] + [SubTypeDiscriminator("setCustomType", typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomTypeAction))] [SubTypeDiscriminator("setDescription", typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetDescriptionAction))] [SubTypeDiscriminator("setKey", typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetKeyAction))] [SubTypeDiscriminator("setName", typeof(commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetNameAction))] @@ -22,6 +24,18 @@ static commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetApproversAction init?.Invoke(t); return t; } + static commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomFieldAction SetCustomField(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomFieldAction(); + init?.Invoke(t); + return t; + } + static commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomTypeAction SetCustomType(Action init = null) + { + var t = new commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetCustomTypeAction(); + init?.Invoke(t); + return t; + } static commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetDescriptionAction SetDescription(Action init = null) { var t = new commercetools.Sdk.Api.Models.ApprovalRules.ApprovalRuleSetDescriptionAction(); diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/CustomFieldReferenceValue.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/CustomFieldReferenceValue.cs index 9ee404ea79a..5c050947f47 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/CustomFieldReferenceValue.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/CustomFieldReferenceValue.cs @@ -13,6 +13,9 @@ public enum CustomFieldReferenceValue [Description("approval-flow")] ApprovalFlow, + [Description("approval-rule")] + ApprovalRule, + [Description("associate-role")] AssociateRole, @@ -88,6 +91,9 @@ public interface ICustomFieldReferenceValue : IJsonName, IEnumerable public static ICustomFieldReferenceValue ApprovalFlow = new CustomFieldReferenceValueWrapper { Value = CustomFieldReferenceValue.ApprovalFlow, JsonName = "approval-flow" }; + public static ICustomFieldReferenceValue ApprovalRule = new CustomFieldReferenceValueWrapper + { Value = CustomFieldReferenceValue.ApprovalRule, JsonName = "approval-rule" }; + public static ICustomFieldReferenceValue AssociateRole = new CustomFieldReferenceValueWrapper { Value = CustomFieldReferenceValue.AssociateRole, JsonName = "associate-role" }; @@ -143,6 +149,7 @@ static ICustomFieldReferenceValue[] Values() return new[] { ApprovalFlow , + ApprovalRule , AssociateRole , BusinessUnit , Cart , diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/ResourceTypeId.cs b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/ResourceTypeId.cs index e8158c3da1f..4c122ed1d20 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/ResourceTypeId.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Generated/commercetoolsSdkApi/Models/Types/ResourceTypeId.cs @@ -19,6 +19,9 @@ public enum ResourceTypeId [Description("approval-flow")] ApprovalFlow, + [Description("approval-rule")] + ApprovalRule, + [Description("associate-role")] AssociateRole, @@ -142,6 +145,9 @@ public interface IResourceTypeId : IJsonName, IEnumerable public static IResourceTypeId ApprovalFlow = new ResourceTypeIdWrapper { Value = ResourceTypeId.ApprovalFlow, JsonName = "approval-flow" }; + public static IResourceTypeId ApprovalRule = new ResourceTypeIdWrapper + { Value = ResourceTypeId.ApprovalRule, JsonName = "approval-rule" }; + public static IResourceTypeId AssociateRole = new ResourceTypeIdWrapper { Value = ResourceTypeId.AssociateRole, JsonName = "associate-role" }; @@ -241,6 +247,7 @@ static IResourceTypeId[] Values() Address , Asset , ApprovalFlow , + ApprovalRule , AssociateRole , BusinessUnit , CartDiscount , diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleQueryBuilderDsl.cs index e03d6af445e..720fe5b9240 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleQueryBuilderDsl.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleQueryBuilderDsl.cs @@ -118,6 +118,15 @@ public CombinationQueryPredicate BusinessUnit( ApprovalRuleQueryBuilderDsl.Of); } + public CombinationQueryPredicate Custom( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("custom")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Types.CustomFieldsQueryBuilderDsl.Of())), + ApprovalRuleQueryBuilderDsl.Of); + } + } } diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomFieldActionQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomFieldActionQueryBuilderDsl.cs new file mode 100644 index 00000000000..0d21aeb16eb --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomFieldActionQueryBuilderDsl.cs @@ -0,0 +1,36 @@ +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.ApprovalRules +{ + + public partial class ApprovalRuleSetCustomFieldActionQueryBuilderDsl + { + public ApprovalRuleSetCustomFieldActionQueryBuilderDsl() + { + } + + public static ApprovalRuleSetCustomFieldActionQueryBuilderDsl Of() + { + return new ApprovalRuleSetCustomFieldActionQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Action() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("action")), + p => new CombinationQueryPredicate(p, ApprovalRuleSetCustomFieldActionQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Name() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("name")), + p => new CombinationQueryPredicate(p, ApprovalRuleSetCustomFieldActionQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public IComparisonPredicateBuilder Value() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("value")), + p => new CombinationQueryPredicate(p, ApprovalRuleSetCustomFieldActionQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomTypeActionQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomTypeActionQueryBuilderDsl.cs new file mode 100644 index 00000000000..fcd87f15615 --- /dev/null +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleSetCustomTypeActionQueryBuilderDsl.cs @@ -0,0 +1,44 @@ +using System; + +// ReSharper disable CheckNamespace +namespace commercetools.Sdk.Api.Predicates.Query.ApprovalRules +{ + + public partial class ApprovalRuleSetCustomTypeActionQueryBuilderDsl + { + public ApprovalRuleSetCustomTypeActionQueryBuilderDsl() + { + } + + public static ApprovalRuleSetCustomTypeActionQueryBuilderDsl Of() + { + return new ApprovalRuleSetCustomTypeActionQueryBuilderDsl(); + } + + public IComparisonPredicateBuilder Action() + { + return new ComparisonPredicateBuilder(BinaryQueryPredicate.Of().Left(new ConstantQueryPredicate("action")), + p => new CombinationQueryPredicate(p, ApprovalRuleSetCustomTypeActionQueryBuilderDsl.Of), + PredicateFormatter.Format); + } + public CombinationQueryPredicate Type( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("type")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Types.TypeResourceIdentifierQueryBuilderDsl.Of())), + ApprovalRuleSetCustomTypeActionQueryBuilderDsl.Of); + } + + public CombinationQueryPredicate Fields( + Func> fn) + { + return new CombinationQueryPredicate(ContainerQueryPredicate.Of() + .Parent(ConstantQueryPredicate.Of().Constant("fields")) + .Inner(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.Types.FieldContainerQueryBuilderDsl.Of())), + ApprovalRuleSetCustomTypeActionQueryBuilderDsl.Of); + } + + + } +} diff --git a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleUpdateActionQueryBuilderDsl.cs b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleUpdateActionQueryBuilderDsl.cs index 35c7da19a14..8cc518bcc21 100644 --- a/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleUpdateActionQueryBuilderDsl.cs +++ b/commercetools.Sdk/commercetools.Sdk.Api/Predicates/Query/Generated/ApprovalRules/ApprovalRuleUpdateActionQueryBuilderDsl.cs @@ -28,6 +28,18 @@ public CombinationQueryPredicate AsSetA return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.ApprovalRules.ApprovalRuleSetApproversActionQueryBuilderDsl.Of()), ApprovalRuleUpdateActionQueryBuilderDsl.Of); } + public CombinationQueryPredicate AsSetCustomField( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.ApprovalRules.ApprovalRuleSetCustomFieldActionQueryBuilderDsl.Of()), + ApprovalRuleUpdateActionQueryBuilderDsl.Of); + } + public CombinationQueryPredicate AsSetCustomType( + Func> fn) + { + return new CombinationQueryPredicate(fn.Invoke(commercetools.Sdk.Api.Predicates.Query.ApprovalRules.ApprovalRuleSetCustomTypeActionQueryBuilderDsl.Of()), + ApprovalRuleUpdateActionQueryBuilderDsl.Of); + } public CombinationQueryPredicate AsSetDescription( Func> fn) { diff --git a/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls b/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls index 7ecc938eacd..6aabc49e4aa 100644 --- a/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls +++ b/commercetools.Sdk/commercetools.Sdk.GraphQL.Api/schema.graphqls @@ -778,6 +778,7 @@ type ApprovalRule implements Versioned { requesters: [RuleRequester!]! businessUnitRef: KeyReference! businessUnit: BusinessUnit! + custom: CustomFieldsType id: String! version: Long! createdAt: DateTime! @@ -864,6 +865,8 @@ input ApprovalRuleUpdateAction { setRequesters: SetApprovalRuleRequesters setStatus: SetApprovalRuleStatus setApprovers: SetApprovalRuleApprovers + setCustomField: SetApprovalRuleCustomField + setCustomType: SetApprovalRuleCustomType } input ApproveApprovalFlow { @@ -10532,6 +10535,18 @@ input SetApprovalRuleStatus { status: ApprovalRuleStatus! } +input SetApprovalRuleCustomField { + name: String! + value: String +} + +input SetApprovalRuleCustomType { + fields: [CustomFieldInput!] + type: ResourceIdentifierInput + typeKey: String + typeId: String +} + input SetAssociateRoleCustomField { name: String! value: String diff --git a/references.txt b/references.txt index a4a77d3d09b..18d6c9d3793 100644 --- a/references.txt +++ b/references.txt @@ -290,3 +290,4 @@ e985f4b7aa55610705ee49bd3eb645c2fd03eb6c c27603f949e869148570ebb8bd3ec6db34a985b7 82bca33a98d14907ea79e2cca281625dd82cdf0d c8c2455221baca20421082b7715eaa0a712af7f1 +41774e015e4f946bd57f0e2dc76522ed757860c4