Skip to content

Commit

Permalink
[RELEASE] 2.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 28, 2024
1 parent 4a96c9b commit 91ded2b
Show file tree
Hide file tree
Showing 20 changed files with 696 additions and 288 deletions.
26 changes: 17 additions & 9 deletions automation-api-clients/csharp/spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -4371,10 +4371,12 @@
"type": "string",
"enum": [
"BEAM",
"WBEAM",
"USDC",
"IMX",
"WIMX"
"SOPH",
"WBEAM",
"WIMX",
"WSOPH",
"USDC"
],
"nullable": true
},
Expand Down Expand Up @@ -4531,10 +4533,12 @@
"type": "string",
"enum": [
"BEAM",
"WBEAM",
"USDC",
"IMX",
"WIMX"
"SOPH",
"WBEAM",
"WIMX",
"WSOPH",
"USDC"
]
},
"sponsor": {
Expand Down Expand Up @@ -4647,6 +4651,8 @@
"type": "string",
"enum": [
"WBEAM",
"WIMX",
"WSOPH",
"USDC"
]
},
Expand Down Expand Up @@ -4751,10 +4757,12 @@
"type": "string",
"enum": [
"BEAM",
"WBEAM",
"USDC",
"IMX",
"WIMX"
"SOPH",
"WBEAM",
"WIMX",
"WSOPH",
"USDC"
]
},
"address": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,20 @@ public enum CurrencyEnum
/// </summary>
WBEAM = 1,

/// <summary>
/// Enum WIMX for value: WIMX
/// </summary>
WIMX = 2,

/// <summary>
/// Enum WSOPH for value: WSOPH
/// </summary>
WSOPH = 3,

/// <summary>
/// Enum USDC for value: USDC
/// </summary>
USDC = 2
USDC = 4
}

/// <summary>
Expand All @@ -86,6 +96,12 @@ public static CurrencyEnum CurrencyEnumFromString(string value)
if (value.Equals("WBEAM"))
return CurrencyEnum.WBEAM;

if (value.Equals("WIMX"))
return CurrencyEnum.WIMX;

if (value.Equals("WSOPH"))
return CurrencyEnum.WSOPH;

if (value.Equals("USDC"))
return CurrencyEnum.USDC;

Expand All @@ -102,6 +118,12 @@ public static CurrencyEnum CurrencyEnumFromString(string value)
if (value.Equals("WBEAM"))
return CurrencyEnum.WBEAM;

if (value.Equals("WIMX"))
return CurrencyEnum.WIMX;

if (value.Equals("WSOPH"))
return CurrencyEnum.WSOPH;

if (value.Equals("USDC"))
return CurrencyEnum.USDC;

Expand All @@ -119,6 +141,12 @@ public static string CurrencyEnumToJsonValue(CurrencyEnum? value)
if (value == CurrencyEnum.WBEAM)
return "WBEAM";

if (value == CurrencyEnum.WIMX)
return "WIMX";

if (value == CurrencyEnum.WSOPH)
return "WSOPH";

if (value == CurrencyEnum.USDC)
return "USDC";

Expand All @@ -140,6 +168,12 @@ public static CurrencyEnum FromString(string value)
if (value.Equals("WBEAM"))
return CurrencyEnum.WBEAM;

if (value.Equals("WIMX"))
return CurrencyEnum.WIMX;

if (value.Equals("WSOPH"))
return CurrencyEnum.WSOPH;

if (value.Equals("USDC"))
return CurrencyEnum.USDC;

Expand All @@ -156,6 +190,12 @@ public static CurrencyEnum FromString(string value)
if (value.Equals("WBEAM"))
return CurrencyEnum.WBEAM;

if (value.Equals("WIMX"))
return CurrencyEnum.WIMX;

if (value.Equals("WSOPH"))
return CurrencyEnum.WSOPH;

if (value.Equals("USDC"))
return CurrencyEnum.USDC;

Expand All @@ -173,6 +213,12 @@ public static string ToJsonValue(CurrencyEnum value)
if (value == CurrencyEnum.WBEAM)
return "WBEAM";

if (value == CurrencyEnum.WIMX)
return "WIMX";

if (value == CurrencyEnum.WSOPH)
return "WSOPH";

if (value == CurrencyEnum.USDC)
return "USDC";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,24 +60,34 @@ public enum SymbolEnum
BEAM = 1,

/// <summary>
/// Enum WBEAM for value: WBEAM
/// Enum IMX for value: IMX
/// </summary>
WBEAM = 2,
IMX = 2,

/// <summary>
/// Enum USDC for value: USDC
/// Enum SOPH for value: SOPH
/// </summary>
USDC = 3,
SOPH = 3,

/// <summary>
/// Enum IMX for value: IMX
/// Enum WBEAM for value: WBEAM
/// </summary>
IMX = 4,
WBEAM = 4,

/// <summary>
/// Enum WIMX for value: WIMX
/// </summary>
WIMX = 5
WIMX = 5,

/// <summary>
/// Enum WSOPH for value: WSOPH
/// </summary>
WSOPH = 6,

/// <summary>
/// Enum USDC for value: USDC
/// </summary>
USDC = 7
}

/// <summary>
Expand All @@ -91,18 +101,24 @@ public static SymbolEnum SymbolEnumFromString(string value)
if (value.Equals("BEAM"))
return SymbolEnum.BEAM;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

if (value.Equals("IMX"))
return SymbolEnum.IMX;

if (value.Equals("SOPH"))
return SymbolEnum.SOPH;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("WIMX"))
return SymbolEnum.WIMX;

if (value.Equals("WSOPH"))
return SymbolEnum.WSOPH;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

throw new NotImplementedException($"Could not convert value to type SymbolEnum: '{value}'");
}

Expand All @@ -116,18 +132,24 @@ public static SymbolEnum SymbolEnumFromString(string value)
if (value.Equals("BEAM"))
return SymbolEnum.BEAM;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

if (value.Equals("IMX"))
return SymbolEnum.IMX;

if (value.Equals("SOPH"))
return SymbolEnum.SOPH;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("WIMX"))
return SymbolEnum.WIMX;

if (value.Equals("WSOPH"))
return SymbolEnum.WSOPH;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

return null;
}

Expand All @@ -145,18 +167,24 @@ public static SymbolEnum SymbolEnumFromString(string value)
if (value == SymbolEnum.BEAM)
return "BEAM";

if (value == SymbolEnum.WBEAM)
return "WBEAM";

if (value == SymbolEnum.USDC)
return "USDC";

if (value == SymbolEnum.IMX)
return "IMX";

if (value == SymbolEnum.SOPH)
return "SOPH";

if (value == SymbolEnum.WBEAM)
return "WBEAM";

if (value == SymbolEnum.WIMX)
return "WIMX";

if (value == SymbolEnum.WSOPH)
return "WSOPH";

if (value == SymbolEnum.USDC)
return "USDC";

throw new NotImplementedException($"Value could not be handled: '{value}'");
}

Expand All @@ -175,18 +203,24 @@ public static SymbolEnum FromString(string value)
if (value.Equals("BEAM"))
return SymbolEnum.BEAM;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

if (value.Equals("IMX"))
return SymbolEnum.IMX;

if (value.Equals("SOPH"))
return SymbolEnum.SOPH;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("WIMX"))
return SymbolEnum.WIMX;

if (value.Equals("WSOPH"))
return SymbolEnum.WSOPH;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

throw new NotImplementedException($"Could not convert value to type SymbolEnum: '{value}'");
}

Expand All @@ -200,18 +234,24 @@ public static SymbolEnum FromString(string value)
if (value.Equals("BEAM"))
return SymbolEnum.BEAM;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

if (value.Equals("IMX"))
return SymbolEnum.IMX;

if (value.Equals("SOPH"))
return SymbolEnum.SOPH;

if (value.Equals("WBEAM"))
return SymbolEnum.WBEAM;

if (value.Equals("WIMX"))
return SymbolEnum.WIMX;

if (value.Equals("WSOPH"))
return SymbolEnum.WSOPH;

if (value.Equals("USDC"))
return SymbolEnum.USDC;

return null;
}

Expand All @@ -226,18 +266,24 @@ public static string ToJsonValue(SymbolEnum value)
if (value == SymbolEnum.BEAM)
return "BEAM";

if (value == SymbolEnum.WBEAM)
return "WBEAM";

if (value == SymbolEnum.USDC)
return "USDC";

if (value == SymbolEnum.IMX)
return "IMX";

if (value == SymbolEnum.SOPH)
return "SOPH";

if (value == SymbolEnum.WBEAM)
return "WBEAM";

if (value == SymbolEnum.WIMX)
return "WIMX";

if (value == SymbolEnum.WSOPH)
return "WSOPH";

if (value == SymbolEnum.USDC)
return "USDC";

throw new NotImplementedException($"Value could not be handled: '{value}'");
}
}
Expand Down
Loading

0 comments on commit 91ded2b

Please sign in to comment.