Skip to content

Commit

Permalink
fix: Extend device provider, type and manufacturer enums (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-balitskyi authored Dec 4, 2024
1 parent ef95503 commit ce223ff
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 13 deletions.
20 changes: 19 additions & 1 deletion output/csharp/src/Seam/Api/ConnectWebviews.cs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,25 @@ public enum AcceptedProvidersEnum
HidCm = 38,

[EnumMember(Value = "google_nest")]
GoogleNest = 39
GoogleNest = 39,

[EnumMember(Value = "dormakaba_community")]
DormakabaCommunity = 40,

[EnumMember(Value = "legic_connect")]
LegicConnect = 41,

[EnumMember(Value = "salto_ks")]
SaltoKs = 42,

[EnumMember(Value = "akiles")]
Akiles = 43,

[EnumMember(Value = "assa_abloy_vostio")]
AssaAbloyVostio = 44,

[EnumMember(Value = "assa_abloy_vostio_credential_service")]
AssaAbloyVostioCredentialService = 45
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down
15 changes: 12 additions & 3 deletions output/csharp/src/Seam/Api/Devices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,10 @@ public enum DeviceTypeEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -408,7 +411,10 @@ public enum DeviceTypesEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -514,7 +520,10 @@ public enum ManufacturerEnum
Tedee = 32,

[EnumMember(Value = "honeywell_resideo")]
HoneywellResideo = 33
HoneywellResideo = 33,

[EnumMember(Value = "akiles")]
Akiles = 34
}

[DataMember(
Expand Down
15 changes: 12 additions & 3 deletions output/csharp/src/Seam/Api/Locks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,10 @@ public enum DeviceTypeEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -350,7 +353,10 @@ public enum DeviceTypesEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -456,7 +462,10 @@ public enum ManufacturerEnum
Tedee = 32,

[EnumMember(Value = "honeywell_resideo")]
HoneywellResideo = 33
HoneywellResideo = 33,

[EnumMember(Value = "akiles")]
Akiles = 34
}

[DataMember(
Expand Down
15 changes: 12 additions & 3 deletions output/csharp/src/Seam/Api/UnmanagedDevices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,10 @@ public enum DeviceTypeEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -355,7 +358,10 @@ public enum DeviceTypesEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -461,7 +467,10 @@ public enum ManufacturerEnum
Tedee = 32,

[EnumMember(Value = "honeywell_resideo")]
HoneywellResideo = 33
HoneywellResideo = 33,

[EnumMember(Value = "akiles")]
Akiles = 34
}

[DataMember(
Expand Down
5 changes: 4 additions & 1 deletion output/csharp/src/Seam/Model/Device.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ public enum DeviceTypeEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down
23 changes: 22 additions & 1 deletion output/csharp/src/Seam/Model/DeviceProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,28 @@ public enum DeviceProviderNameEnum
HoneywellResideo = 35,

[EnumMember(Value = "latch")]
Latch = 36
Latch = 36,

[EnumMember(Value = "dormakaba_community")]
DormakabaCommunity = 37,

[EnumMember(Value = "legic_connect")]
LegicConnect = 38,

[EnumMember(Value = "salto_ks")]
SaltoKs = 39,

[EnumMember(Value = "akiles")]
Akiles = 40,

[EnumMember(Value = "assa_abloy_vostio")]
AssaAbloyVostio = 41,

[EnumMember(Value = "assa_abloy_vostio_credential_service")]
AssaAbloyVostioCredentialService = 42,

[EnumMember(Value = "tado")]
Tado = 42
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down
5 changes: 4 additions & 1 deletion output/csharp/src/Seam/Model/UnmanagedDevice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ public enum DeviceTypeEnum
IosPhone = 31,

[EnumMember(Value = "android_phone")]
AndroidPhone = 32
AndroidPhone = 32,

[EnumMember(Value = "akiles_lock")]
AkilesLock = 33,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down

0 comments on commit ce223ff

Please sign in to comment.