Skip to content

Commit

Permalink
ci: Generate code
Browse files Browse the repository at this point in the history
  • Loading branch information
seambot committed Dec 12, 2024
1 parent b6458b5 commit 5fb40aa
Show file tree
Hide file tree
Showing 18 changed files with 269 additions and 349 deletions.
12 changes: 9 additions & 3 deletions output/csharp/src/Seam/Api/ConnectWebviews.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,14 +177,20 @@ public enum AcceptedProvidersEnum
[EnumMember(Value = "assa_abloy_vostio_credential_service")]
AssaAbloyVostioCredentialService = 42,

[EnumMember(Value = "tado")]
Tado = 43,

[EnumMember(Value = "salto_space")]
SaltoSpace = 44,

[EnumMember(Value = "yale_access")]
YaleAccess = 43,
YaleAccess = 45,

[EnumMember(Value = "hid_cm")]
HidCm = 44,
HidCm = 46,

[EnumMember(Value = "google_nest")]
GoogleNest = 45,
GoogleNest = 47,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down
10 changes: 5 additions & 5 deletions output/csharp/src/Seam/Api/CredentialsAcs.cs
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ protected CreateOfflineCodeRequest() { }

public CreateOfflineCodeRequest(
string acsUserId = default,
string? allowedAcsEntranceId = default,
string allowedAcsEntranceId = default,
string? endsAt = default,
bool? isOneTimeUse = default,
string? startsAt = default
Expand All @@ -421,10 +421,10 @@ public CreateOfflineCodeRequest(

[DataMember(
Name = "allowed_acs_entrance_id",
IsRequired = false,
IsRequired = true,
EmitDefaultValue = false
)]
public string? AllowedAcsEntranceId { get; set; }
public string AllowedAcsEntranceId { get; set; }

[DataMember(Name = "ends_at", IsRequired = false, EmitDefaultValue = false)]
public string? EndsAt { get; set; }
Expand Down Expand Up @@ -503,7 +503,7 @@ public AcsCredential CreateOfflineCode(CreateOfflineCodeRequest request)

public AcsCredential CreateOfflineCode(
string acsUserId = default,
string? allowedAcsEntranceId = default,
string allowedAcsEntranceId = default,
string? endsAt = default,
bool? isOneTimeUse = default,
string? startsAt = default
Expand Down Expand Up @@ -536,7 +536,7 @@ await _seam.PostAsync<CreateOfflineCodeResponse>(

public async Task<AcsCredential> CreateOfflineCodeAsync(
string acsUserId = default,
string? allowedAcsEntranceId = default,
string allowedAcsEntranceId = default,
string? endsAt = default,
bool? isOneTimeUse = default,
string? startsAt = default
Expand Down
10 changes: 8 additions & 2 deletions output/csharp/src/Seam/Api/Devices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,11 +308,14 @@ public enum DeviceTypesEnum
[EnumMember(Value = "honeywell_resideo_thermostat")]
HoneywellResideoThermostat = 31,

[EnumMember(Value = "tado_thermostat")]
TadoThermostat = 32,

[EnumMember(Value = "ios_phone")]
IosPhone = 32,
IosPhone = 33,

[EnumMember(Value = "android_phone")]
AndroidPhone = 33,
AndroidPhone = 34,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -496,6 +499,9 @@ public enum ManufacturerEnum

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

[EnumMember(Value = "tado")]
Tado = 35,
}

[DataMember(Name = "connect_webview_id", IsRequired = false, EmitDefaultValue = false)]
Expand Down
66 changes: 36 additions & 30 deletions output/csharp/src/Seam/Api/Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -341,50 +341,53 @@ public enum EventTypeEnum
[EnumMember(Value = "acs_system.connected")]
AcsSystemConnected = 54,

[EnumMember(Value = "acs_system.disconnected")]
AcsSystemDisconnected = 55,

[EnumMember(Value = "acs_user.deleted")]
AcsUserDeleted = 55,
AcsUserDeleted = 56,

[EnumMember(Value = "acs_credential.deleted")]
AcsCredentialDeleted = 56,
AcsCredentialDeleted = 57,

[EnumMember(Value = "acs_credential.issued")]
AcsCredentialIssued = 57,
AcsCredentialIssued = 58,

[EnumMember(Value = "acs_encoder.added")]
AcsEncoderAdded = 58,
AcsEncoderAdded = 59,

[EnumMember(Value = "acs_encoder.removed")]
AcsEncoderRemoved = 59,
AcsEncoderRemoved = 60,

[EnumMember(Value = "enrollment_automation.deleted")]
EnrollmentAutomationDeleted = 60,
EnrollmentAutomationDeleted = 61,

[EnumMember(Value = "client_session.deleted")]
ClientSessionDeleted = 61,
ClientSessionDeleted = 62,

[EnumMember(Value = "action_attempt.lock_door.succeeded")]
ActionAttemptLockDoorSucceeded = 62,
ActionAttemptLockDoorSucceeded = 63,

[EnumMember(Value = "action_attempt.lock_door.failed")]
ActionAttemptLockDoorFailed = 63,
ActionAttemptLockDoorFailed = 64,

[EnumMember(Value = "action_attempt.unlock_door.succeeded")]
ActionAttemptUnlockDoorSucceeded = 64,
ActionAttemptUnlockDoorSucceeded = 65,

[EnumMember(Value = "action_attempt.unlock_door.failed")]
ActionAttemptUnlockDoorFailed = 65,
ActionAttemptUnlockDoorFailed = 66,

[EnumMember(Value = "thermostat.climate_preset_activated")]
ThermostatClimatePresetActivated = 66,
ThermostatClimatePresetActivated = 67,

[EnumMember(Value = "thermostat.manually_adjusted")]
ThermostatManuallyAdjusted = 67,
ThermostatManuallyAdjusted = 68,

[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
ThermostatTemperatureThresholdExceeded = 68,
ThermostatTemperatureThresholdExceeded = 69,

[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
ThermostatTemperatureThresholdNoLongerExceeded = 69,
ThermostatTemperatureThresholdNoLongerExceeded = 70,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -555,50 +558,53 @@ public enum EventTypesEnum
[EnumMember(Value = "acs_system.connected")]
AcsSystemConnected = 54,

[EnumMember(Value = "acs_system.disconnected")]
AcsSystemDisconnected = 55,

[EnumMember(Value = "acs_user.deleted")]
AcsUserDeleted = 55,
AcsUserDeleted = 56,

[EnumMember(Value = "acs_credential.deleted")]
AcsCredentialDeleted = 56,
AcsCredentialDeleted = 57,

[EnumMember(Value = "acs_credential.issued")]
AcsCredentialIssued = 57,
AcsCredentialIssued = 58,

[EnumMember(Value = "acs_encoder.added")]
AcsEncoderAdded = 58,
AcsEncoderAdded = 59,

[EnumMember(Value = "acs_encoder.removed")]
AcsEncoderRemoved = 59,
AcsEncoderRemoved = 60,

[EnumMember(Value = "enrollment_automation.deleted")]
EnrollmentAutomationDeleted = 60,
EnrollmentAutomationDeleted = 61,

[EnumMember(Value = "client_session.deleted")]
ClientSessionDeleted = 61,
ClientSessionDeleted = 62,

[EnumMember(Value = "action_attempt.lock_door.succeeded")]
ActionAttemptLockDoorSucceeded = 62,
ActionAttemptLockDoorSucceeded = 63,

[EnumMember(Value = "action_attempt.lock_door.failed")]
ActionAttemptLockDoorFailed = 63,
ActionAttemptLockDoorFailed = 64,

[EnumMember(Value = "action_attempt.unlock_door.succeeded")]
ActionAttemptUnlockDoorSucceeded = 64,
ActionAttemptUnlockDoorSucceeded = 65,

[EnumMember(Value = "action_attempt.unlock_door.failed")]
ActionAttemptUnlockDoorFailed = 65,
ActionAttemptUnlockDoorFailed = 66,

[EnumMember(Value = "thermostat.climate_preset_activated")]
ThermostatClimatePresetActivated = 66,
ThermostatClimatePresetActivated = 67,

[EnumMember(Value = "thermostat.manually_adjusted")]
ThermostatManuallyAdjusted = 67,
ThermostatManuallyAdjusted = 68,

[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
ThermostatTemperatureThresholdExceeded = 68,
ThermostatTemperatureThresholdExceeded = 69,

[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
ThermostatTemperatureThresholdNoLongerExceeded = 69,
ThermostatTemperatureThresholdNoLongerExceeded = 70,
}

[DataMember(Name = "access_code_id", IsRequired = false, EmitDefaultValue = false)]
Expand Down
10 changes: 8 additions & 2 deletions output/csharp/src/Seam/Api/Locks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,14 @@ public enum DeviceTypesEnum
[EnumMember(Value = "honeywell_resideo_thermostat")]
HoneywellResideoThermostat = 31,

[EnumMember(Value = "tado_thermostat")]
TadoThermostat = 32,

[EnumMember(Value = "ios_phone")]
IosPhone = 32,
IosPhone = 33,

[EnumMember(Value = "android_phone")]
AndroidPhone = 33,
AndroidPhone = 34,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -438,6 +441,9 @@ public enum ManufacturerEnum

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

[EnumMember(Value = "tado")]
Tado = 35,
}

[DataMember(Name = "connect_webview_id", IsRequired = false, EmitDefaultValue = false)]
Expand Down
10 changes: 8 additions & 2 deletions output/csharp/src/Seam/Api/NoiseSensors.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,14 @@ public enum DeviceTypesEnum
[EnumMember(Value = "honeywell_resideo_thermostat")]
HoneywellResideoThermostat = 31,

[EnumMember(Value = "tado_thermostat")]
TadoThermostat = 32,

[EnumMember(Value = "ios_phone")]
IosPhone = 32,
IosPhone = 33,

[EnumMember(Value = "android_phone")]
AndroidPhone = 33,
AndroidPhone = 34,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -342,6 +345,9 @@ public enum ManufacturerEnum

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

[EnumMember(Value = "tado")]
Tado = 35,
}

[DataMember(Name = "connect_webview_id", IsRequired = false, EmitDefaultValue = false)]
Expand Down
10 changes: 8 additions & 2 deletions output/csharp/src/Seam/Api/Thermostats.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1131,11 +1131,14 @@ public enum DeviceTypesEnum
[EnumMember(Value = "honeywell_resideo_thermostat")]
HoneywellResideoThermostat = 31,

[EnumMember(Value = "tado_thermostat")]
TadoThermostat = 32,

[EnumMember(Value = "ios_phone")]
IosPhone = 32,
IosPhone = 33,

[EnumMember(Value = "android_phone")]
AndroidPhone = 33,
AndroidPhone = 34,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -1319,6 +1322,9 @@ public enum ManufacturerEnum

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

[EnumMember(Value = "tado")]
Tado = 35,
}

[DataMember(Name = "connect_webview_id", IsRequired = false, EmitDefaultValue = false)]
Expand Down
10 changes: 8 additions & 2 deletions output/csharp/src/Seam/Api/UnmanagedDevices.cs
Original file line number Diff line number Diff line change
Expand Up @@ -255,11 +255,14 @@ public enum DeviceTypesEnum
[EnumMember(Value = "honeywell_resideo_thermostat")]
HoneywellResideoThermostat = 31,

[EnumMember(Value = "tado_thermostat")]
TadoThermostat = 32,

[EnumMember(Value = "ios_phone")]
IosPhone = 32,
IosPhone = 33,

[EnumMember(Value = "android_phone")]
AndroidPhone = 33,
AndroidPhone = 34,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand Down Expand Up @@ -443,6 +446,9 @@ public enum ManufacturerEnum

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

[EnumMember(Value = "tado")]
Tado = 35,
}

[DataMember(Name = "connect_webview_id", IsRequired = false, EmitDefaultValue = false)]
Expand Down
8 changes: 4 additions & 4 deletions output/csharp/src/Seam/Model/AcsAccessGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public enum AccessGroupTypeEnum
[EnumMember(Value = "pti_access_level")]
PtiAccessLevel = 1,

[EnumMember(Value = "salto_access_group")]
SaltoAccessGroup = 2,
[EnumMember(Value = "salto_ks_access_group")]
SaltoKsAccessGroup = 2,

[EnumMember(Value = "brivo_group")]
BrivoGroup = 3,
Expand All @@ -65,8 +65,8 @@ public enum ExternalTypeEnum
[EnumMember(Value = "pti_access_level")]
PtiAccessLevel = 1,

[EnumMember(Value = "salto_access_group")]
SaltoAccessGroup = 2,
[EnumMember(Value = "salto_ks_access_group")]
SaltoKsAccessGroup = 2,

[EnumMember(Value = "brivo_group")]
BrivoGroup = 3,
Expand Down
5 changes: 5 additions & 0 deletions output/csharp/src/Seam/Model/AcsCredential.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public AcsCredential(
bool? isLatestDesiredStateSyncedWithProvider = default,
bool isManaged = default,
bool? isMultiPhoneSyncCredential = default,
bool? isOneTimeUse = default,
string? issuedAt = default,
string? latestDesiredStateSyncedWithProviderAt = default,
string? parentAcsCredentialId = default,
Expand All @@ -57,6 +58,7 @@ public AcsCredential(
IsLatestDesiredStateSyncedWithProvider = isLatestDesiredStateSyncedWithProvider;
IsManaged = isManaged;
IsMultiPhoneSyncCredential = isMultiPhoneSyncCredential;
IsOneTimeUse = isOneTimeUse;
IssuedAt = issuedAt;
LatestDesiredStateSyncedWithProviderAt = latestDesiredStateSyncedWithProviderAt;
ParentAcsCredentialId = parentAcsCredentialId;
Expand Down Expand Up @@ -161,6 +163,9 @@ public enum ExternalTypeEnum
)]
public bool? IsMultiPhoneSyncCredential { get; set; }

[DataMember(Name = "is_one_time_use", IsRequired = false, EmitDefaultValue = false)]
public bool? IsOneTimeUse { get; set; }

[DataMember(Name = "issued_at", IsRequired = false, EmitDefaultValue = false)]
public string? IssuedAt { get; set; }

Expand Down
Loading

0 comments on commit 5fb40aa

Please sign in to comment.