Skip to content

Commit

Permalink
feat(deps-dev): bump @seamapi/types from 1.327.0 to 1.329.0 in the se…
Browse files Browse the repository at this point in the history
…am group (#75)

* feat(deps-dev): bump @seamapi/types in the seam group

Bumps the seam group with 1 update: [@seamapi/types](https://github.com/seamapi/types).


Updates `@seamapi/types` from 1.327.0 to 1.329.0
- [Release notes](https://github.com/seamapi/types/releases)
- [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json)
- [Commits](seamapi/types@v1.327.0...v1.329.0)

---
updated-dependencies:
- dependency-name: "@seamapi/types"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: seam
...

Signed-off-by: dependabot[bot] <[email protected]>

* ci: Generate code

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Seam Bot <[email protected]>
  • Loading branch information
dependabot[bot] and seambot authored Jan 9, 2025
1 parent d78e62f commit 547bf1b
Show file tree
Hide file tree
Showing 6 changed files with 111 additions and 40 deletions.
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

0 comments on commit 547bf1b

Please sign in to comment.