Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps-dev): bump @seamapi/types from 1.327.0 to 1.329.0 in the seam group #75

Merged
merged 2 commits into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 32 additions & 26 deletions output/csharp/src/Seam/Api/Events.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,44 +359,47 @@ public enum EventTypeEnum
[EnumMember(Value = "acs_credential.issued")]
AcsCredentialIssued = 60,

[EnumMember(Value = "acs_credential.reissued")]
AcsCredentialReissued = 61,

[EnumMember(Value = "acs_encoder.added")]
AcsEncoderAdded = 61,
AcsEncoderAdded = 62,

[EnumMember(Value = "acs_encoder.removed")]
AcsEncoderRemoved = 62,
AcsEncoderRemoved = 63,

[EnumMember(Value = "enrollment_automation.deleted")]
EnrollmentAutomationDeleted = 63,
EnrollmentAutomationDeleted = 64,

[EnumMember(Value = "client_session.deleted")]
ClientSessionDeleted = 64,
ClientSessionDeleted = 65,

[EnumMember(Value = "action_attempt.lock_door.succeeded")]
ActionAttemptLockDoorSucceeded = 65,
ActionAttemptLockDoorSucceeded = 66,

[EnumMember(Value = "action_attempt.lock_door.failed")]
ActionAttemptLockDoorFailed = 66,
ActionAttemptLockDoorFailed = 67,

[EnumMember(Value = "action_attempt.unlock_door.succeeded")]
ActionAttemptUnlockDoorSucceeded = 67,
ActionAttemptUnlockDoorSucceeded = 68,

[EnumMember(Value = "action_attempt.unlock_door.failed")]
ActionAttemptUnlockDoorFailed = 68,
ActionAttemptUnlockDoorFailed = 69,

[EnumMember(Value = "thermostat.climate_preset_activated")]
ThermostatClimatePresetActivated = 69,
ThermostatClimatePresetActivated = 70,

[EnumMember(Value = "thermostat.manually_adjusted")]
ThermostatManuallyAdjusted = 70,
ThermostatManuallyAdjusted = 71,

[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
ThermostatTemperatureThresholdExceeded = 71,
ThermostatTemperatureThresholdExceeded = 72,

[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
ThermostatTemperatureThresholdNoLongerExceeded = 72,
ThermostatTemperatureThresholdNoLongerExceeded = 73,

[EnumMember(Value = "thermostat.temperature_reached_set_point")]
ThermostatTemperatureReachedSetPoint = 73,
ThermostatTemperatureReachedSetPoint = 74,
}

[JsonConverter(typeof(SafeStringEnumConverter))]
Expand Down Expand Up @@ -585,44 +588,47 @@ public enum EventTypesEnum
[EnumMember(Value = "acs_credential.issued")]
AcsCredentialIssued = 60,

[EnumMember(Value = "acs_credential.reissued")]
AcsCredentialReissued = 61,

[EnumMember(Value = "acs_encoder.added")]
AcsEncoderAdded = 61,
AcsEncoderAdded = 62,

[EnumMember(Value = "acs_encoder.removed")]
AcsEncoderRemoved = 62,
AcsEncoderRemoved = 63,

[EnumMember(Value = "enrollment_automation.deleted")]
EnrollmentAutomationDeleted = 63,
EnrollmentAutomationDeleted = 64,

[EnumMember(Value = "client_session.deleted")]
ClientSessionDeleted = 64,
ClientSessionDeleted = 65,

[EnumMember(Value = "action_attempt.lock_door.succeeded")]
ActionAttemptLockDoorSucceeded = 65,
ActionAttemptLockDoorSucceeded = 66,

[EnumMember(Value = "action_attempt.lock_door.failed")]
ActionAttemptLockDoorFailed = 66,
ActionAttemptLockDoorFailed = 67,

[EnumMember(Value = "action_attempt.unlock_door.succeeded")]
ActionAttemptUnlockDoorSucceeded = 67,
ActionAttemptUnlockDoorSucceeded = 68,

[EnumMember(Value = "action_attempt.unlock_door.failed")]
ActionAttemptUnlockDoorFailed = 68,
ActionAttemptUnlockDoorFailed = 69,

[EnumMember(Value = "thermostat.climate_preset_activated")]
ThermostatClimatePresetActivated = 69,
ThermostatClimatePresetActivated = 70,

[EnumMember(Value = "thermostat.manually_adjusted")]
ThermostatManuallyAdjusted = 70,
ThermostatManuallyAdjusted = 71,

[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
ThermostatTemperatureThresholdExceeded = 71,
ThermostatTemperatureThresholdExceeded = 72,

[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
ThermostatTemperatureThresholdNoLongerExceeded = 72,
ThermostatTemperatureThresholdNoLongerExceeded = 73,

[EnumMember(Value = "thermostat.temperature_reached_set_point")]
ThermostatTemperatureReachedSetPoint = 73,
ThermostatTemperatureReachedSetPoint = 74,
}

[DataMember(Name = "access_code_id", IsRequired = false, EmitDefaultValue = false)]
Expand Down
9 changes: 1 addition & 8 deletions output/csharp/src/Seam/Model/AcsEntrance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,21 +183,14 @@ public class AcsEntranceDormakabaCommunityMetadata
[JsonConstructorAttribute]
protected AcsEntranceDormakabaCommunityMetadata() { }

public AcsEntranceDormakabaCommunityMetadata(
string accessPointName = default,
float? commonAreaNumber = default
)
public AcsEntranceDormakabaCommunityMetadata(string accessPointName = default)
{
AccessPointName = accessPointName;
CommonAreaNumber = commonAreaNumber;
}

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

[DataMember(Name = "common_area_number", IsRequired = false, EmitDefaultValue = false)]
public float? CommonAreaNumber { get; set; }

public override string ToString()
{
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
Expand Down
72 changes: 72 additions & 0 deletions output/csharp/src/Seam/Model/Event.cs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ namespace Seam.Model
[JsonSubtypes.KnownSubType(typeof(EventAcsEncoderRemoved), "acs_encoder.removed")]
[JsonSubtypes.KnownSubType(typeof(EventAcsEncoderAdded), "acs_encoder.added")]
[JsonSubtypes.KnownSubType(typeof(EventAcsUserDeleted), "acs_user.deleted")]
[JsonSubtypes.KnownSubType(typeof(EventAcsCredentialReissued), "acs_credential.reissued")]
[JsonSubtypes.KnownSubType(typeof(EventAcsCredentialIssued), "acs_credential.issued")]
[JsonSubtypes.KnownSubType(typeof(EventAcsCredentialDeleted), "acs_credential.deleted")]
[JsonSubtypes.KnownSubType(typeof(EventAcsSystemDisconnected), "acs_system.disconnected")]
Expand Down Expand Up @@ -1792,6 +1793,77 @@ public override string ToString()
}
}

[DataContract(Name = "seamModel_eventAcsCredentialReissued_model")]
public class EventAcsCredentialReissued : Event
{
[JsonConstructorAttribute]
protected EventAcsCredentialReissued() { }

public EventAcsCredentialReissued(
string acsCredentialId = default,
string acsSystemId = default,
string? connectedAccountId = default,
string createdAt = default,
string eventId = default,
string eventType = default,
string occurredAt = default,
string workspaceId = default
)
{
AcsCredentialId = acsCredentialId;
AcsSystemId = acsSystemId;
ConnectedAccountId = connectedAccountId;
CreatedAt = createdAt;
EventId = eventId;
EventType = eventType;
OccurredAt = occurredAt;
WorkspaceId = workspaceId;
}

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

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

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

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

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

[DataMember(Name = "event_type", IsRequired = true, EmitDefaultValue = false)]
public override string EventType { get; } = "acs_credential.reissued";

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

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

public override string ToString()
{
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);

StringWriter stringWriter = new StringWriter(
new StringBuilder(256),
System.Globalization.CultureInfo.InvariantCulture
);
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
{
jsonTextWriter.IndentChar = ' ';
jsonTextWriter.Indentation = 2;
jsonTextWriter.Formatting = Formatting.Indented;
jsonSerializer.Serialize(jsonTextWriter, this, null);
}

return stringWriter.ToString();
}
}

[DataContract(Name = "seamModel_eventAcsUserDeleted_model")]
public class EventAcsUserDeleted : Event
{
Expand Down
2 changes: 1 addition & 1 deletion output/csharp/src/Seam/Seam.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<PackageId>Seam</PackageId>

<PackageVersion>0.21.0</PackageVersion>
<PackageVersion>0.22.0</PackageVersion>

<Authors>Seam</Authors>

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"devDependencies": {
"@seamapi/nextlove-sdk-generator": "^1.15.3",
"@seamapi/types": "^1.327.0",
"@seamapi/types": "^1.329.0",
"@types/node": "^18.19.11",
"ava": "^5.0.1",
"axios": "^1.5.0",
Expand Down
Loading