Skip to content

Commit

Permalink
Merge pull request #287 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Mar 26, 2024
2 parents b398b3c + b2e9ce6 commit 96293f3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<summary>Added Enum(s)</summary>

- added enum `product-tailoring` to type `ReferenceTypeId`
- added enum `ManuallySuspended` to type `SubscriptionHealthStatus`
</details>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ public enum SubscriptionHealthStatus
ConfigurationErrorDeliveryStopped,

[Description("TemporaryError")]
TemporaryError
TemporaryError,

[Description("ManuallySuspended")]
ManuallySuspended
}

public class SubscriptionHealthStatusWrapper : ISubscriptionHealthStatus
Expand Down Expand Up @@ -58,6 +61,9 @@ public interface ISubscriptionHealthStatus : IJsonName, IEnumerable<char>
public static ISubscriptionHealthStatus TemporaryError = new SubscriptionHealthStatusWrapper
{ Value = SubscriptionHealthStatus.TemporaryError, JsonName = "TemporaryError" };

public static ISubscriptionHealthStatus ManuallySuspended = new SubscriptionHealthStatusWrapper
{ Value = SubscriptionHealthStatus.ManuallySuspended, JsonName = "ManuallySuspended" };

SubscriptionHealthStatus? Value { get; }

static ISubscriptionHealthStatus[] Values()
Expand All @@ -67,7 +73,8 @@ static ISubscriptionHealthStatus[] Values()
Healthy ,
ConfigurationError ,
ConfigurationErrorDeliveryStopped ,
TemporaryError
TemporaryError ,
ManuallySuspended
};
}
static ISubscriptionHealthStatus FindEnum(string value)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13685,6 +13685,7 @@ enum SubscriptionHealthStatus {
ConfigurationErrorDeliveryStopped
Healthy
TemporaryError
ManuallySuspended
}

input SubscriptionUpdateAction {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,4 @@ cbff068f3b95e6021ff4d76bd7684ddd6dcfce6f
d1fcaae6cdf58cc67290c3ce2fce7d8ce9207109
d6c4e8ca039647373df3aeb8369342bd50b02d61
34d7405c2c16d56134d23ecf7219d10caaa3bfa3
c19a4123795d7a2d583abb9f278ce1264b030a91

0 comments on commit 96293f3

Please sign in to comment.