Skip to content

Commit 7ccd7e3

Browse files
feat(deps-dev): bump @seamapi/types from 1.322.3 to 1.327.0 in the seam group (#71)
* 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.322.3 to 1.327.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](seamapi/types@v1.322.3...v1.327.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]>
1 parent 47e0d1c commit 7ccd7e3

File tree

5 files changed

+218
-36
lines changed

5 files changed

+218
-36
lines changed

output/csharp/src/Seam/Api/Events.cs

+42-30
Original file line numberDiff line numberDiff line change
@@ -347,50 +347,56 @@ public enum EventTypeEnum
347347
[EnumMember(Value = "acs_system.disconnected")]
348348
AcsSystemDisconnected = 56,
349349

350+
[EnumMember(Value = "acs_access_group.deleted")]
351+
AcsAccessGroupDeleted = 57,
352+
350353
[EnumMember(Value = "acs_user.deleted")]
351-
AcsUserDeleted = 57,
354+
AcsUserDeleted = 58,
352355

353356
[EnumMember(Value = "acs_credential.deleted")]
354-
AcsCredentialDeleted = 58,
357+
AcsCredentialDeleted = 59,
355358

356359
[EnumMember(Value = "acs_credential.issued")]
357-
AcsCredentialIssued = 59,
360+
AcsCredentialIssued = 60,
358361

359362
[EnumMember(Value = "acs_encoder.added")]
360-
AcsEncoderAdded = 60,
363+
AcsEncoderAdded = 61,
361364

362365
[EnumMember(Value = "acs_encoder.removed")]
363-
AcsEncoderRemoved = 61,
366+
AcsEncoderRemoved = 62,
364367

365368
[EnumMember(Value = "enrollment_automation.deleted")]
366-
EnrollmentAutomationDeleted = 62,
369+
EnrollmentAutomationDeleted = 63,
367370

368371
[EnumMember(Value = "client_session.deleted")]
369-
ClientSessionDeleted = 63,
372+
ClientSessionDeleted = 64,
370373

371374
[EnumMember(Value = "action_attempt.lock_door.succeeded")]
372-
ActionAttemptLockDoorSucceeded = 64,
375+
ActionAttemptLockDoorSucceeded = 65,
373376

374377
[EnumMember(Value = "action_attempt.lock_door.failed")]
375-
ActionAttemptLockDoorFailed = 65,
378+
ActionAttemptLockDoorFailed = 66,
376379

377380
[EnumMember(Value = "action_attempt.unlock_door.succeeded")]
378-
ActionAttemptUnlockDoorSucceeded = 66,
381+
ActionAttemptUnlockDoorSucceeded = 67,
379382

380383
[EnumMember(Value = "action_attempt.unlock_door.failed")]
381-
ActionAttemptUnlockDoorFailed = 67,
384+
ActionAttemptUnlockDoorFailed = 68,
382385

383386
[EnumMember(Value = "thermostat.climate_preset_activated")]
384-
ThermostatClimatePresetActivated = 68,
387+
ThermostatClimatePresetActivated = 69,
385388

386389
[EnumMember(Value = "thermostat.manually_adjusted")]
387-
ThermostatManuallyAdjusted = 69,
390+
ThermostatManuallyAdjusted = 70,
388391

389392
[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
390-
ThermostatTemperatureThresholdExceeded = 70,
393+
ThermostatTemperatureThresholdExceeded = 71,
391394

392395
[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
393-
ThermostatTemperatureThresholdNoLongerExceeded = 71,
396+
ThermostatTemperatureThresholdNoLongerExceeded = 72,
397+
398+
[EnumMember(Value = "thermostat.temperature_reached_set_point")]
399+
ThermostatTemperatureReachedSetPoint = 73,
394400
}
395401

396402
[JsonConverter(typeof(SafeStringEnumConverter))]
@@ -567,50 +573,56 @@ public enum EventTypesEnum
567573
[EnumMember(Value = "acs_system.disconnected")]
568574
AcsSystemDisconnected = 56,
569575

576+
[EnumMember(Value = "acs_access_group.deleted")]
577+
AcsAccessGroupDeleted = 57,
578+
570579
[EnumMember(Value = "acs_user.deleted")]
571-
AcsUserDeleted = 57,
580+
AcsUserDeleted = 58,
572581

573582
[EnumMember(Value = "acs_credential.deleted")]
574-
AcsCredentialDeleted = 58,
583+
AcsCredentialDeleted = 59,
575584

576585
[EnumMember(Value = "acs_credential.issued")]
577-
AcsCredentialIssued = 59,
586+
AcsCredentialIssued = 60,
578587

579588
[EnumMember(Value = "acs_encoder.added")]
580-
AcsEncoderAdded = 60,
589+
AcsEncoderAdded = 61,
581590

582591
[EnumMember(Value = "acs_encoder.removed")]
583-
AcsEncoderRemoved = 61,
592+
AcsEncoderRemoved = 62,
584593

585594
[EnumMember(Value = "enrollment_automation.deleted")]
586-
EnrollmentAutomationDeleted = 62,
595+
EnrollmentAutomationDeleted = 63,
587596

588597
[EnumMember(Value = "client_session.deleted")]
589-
ClientSessionDeleted = 63,
598+
ClientSessionDeleted = 64,
590599

591600
[EnumMember(Value = "action_attempt.lock_door.succeeded")]
592-
ActionAttemptLockDoorSucceeded = 64,
601+
ActionAttemptLockDoorSucceeded = 65,
593602

594603
[EnumMember(Value = "action_attempt.lock_door.failed")]
595-
ActionAttemptLockDoorFailed = 65,
604+
ActionAttemptLockDoorFailed = 66,
596605

597606
[EnumMember(Value = "action_attempt.unlock_door.succeeded")]
598-
ActionAttemptUnlockDoorSucceeded = 66,
607+
ActionAttemptUnlockDoorSucceeded = 67,
599608

600609
[EnumMember(Value = "action_attempt.unlock_door.failed")]
601-
ActionAttemptUnlockDoorFailed = 67,
610+
ActionAttemptUnlockDoorFailed = 68,
602611

603612
[EnumMember(Value = "thermostat.climate_preset_activated")]
604-
ThermostatClimatePresetActivated = 68,
613+
ThermostatClimatePresetActivated = 69,
605614

606615
[EnumMember(Value = "thermostat.manually_adjusted")]
607-
ThermostatManuallyAdjusted = 69,
616+
ThermostatManuallyAdjusted = 70,
608617

609618
[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
610-
ThermostatTemperatureThresholdExceeded = 70,
619+
ThermostatTemperatureThresholdExceeded = 71,
611620

612621
[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
613-
ThermostatTemperatureThresholdNoLongerExceeded = 71,
622+
ThermostatTemperatureThresholdNoLongerExceeded = 72,
623+
624+
[EnumMember(Value = "thermostat.temperature_reached_set_point")]
625+
ThermostatTemperatureReachedSetPoint = 73,
614626
}
615627

616628
[DataMember(Name = "access_code_id", IsRequired = false, EmitDefaultValue = false)]

output/csharp/src/Seam/Model/Event.cs

+170
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ namespace Seam.Model
1414
typeof(EventEnrollmentAutomationDeleted),
1515
"enrollment_automation.deleted"
1616
)]
17+
[JsonSubtypes.KnownSubType(
18+
typeof(EventThermostatTemperatureReachedSetPoint),
19+
"thermostat.temperature_reached_set_point"
20+
)]
1721
[JsonSubtypes.KnownSubType(
1822
typeof(EventThermostatTemperatureThresholdNoLongerExceeded),
1923
"thermostat.temperature_threshold_no_longer_exceeded"
@@ -148,6 +152,7 @@ namespace Seam.Model
148152
"connected_account.connected"
149153
)]
150154
[JsonSubtypes.KnownSubType(typeof(EventClientSessionDeleted), "client_session.deleted")]
155+
[JsonSubtypes.KnownSubType(typeof(EventAcsAccessGroupDeleted), "acs_access_group.deleted")]
151156
[JsonSubtypes.KnownSubType(typeof(EventAcsEncoderRemoved), "acs_encoder.removed")]
152157
[JsonSubtypes.KnownSubType(typeof(EventAcsEncoderAdded), "acs_encoder.added")]
153158
[JsonSubtypes.KnownSubType(typeof(EventAcsUserDeleted), "acs_user.deleted")]
@@ -2000,6 +2005,77 @@ public override string ToString()
20002005
}
20012006
}
20022007

2008+
[DataContract(Name = "seamModel_eventAcsAccessGroupDeleted_model")]
2009+
public class EventAcsAccessGroupDeleted : Event
2010+
{
2011+
[JsonConstructorAttribute]
2012+
protected EventAcsAccessGroupDeleted() { }
2013+
2014+
public EventAcsAccessGroupDeleted(
2015+
string acsAccessGroupId = default,
2016+
string acsSystemId = default,
2017+
string? connectedAccountId = default,
2018+
string createdAt = default,
2019+
string eventId = default,
2020+
string eventType = default,
2021+
string occurredAt = default,
2022+
string workspaceId = default
2023+
)
2024+
{
2025+
AcsAccessGroupId = acsAccessGroupId;
2026+
AcsSystemId = acsSystemId;
2027+
ConnectedAccountId = connectedAccountId;
2028+
CreatedAt = createdAt;
2029+
EventId = eventId;
2030+
EventType = eventType;
2031+
OccurredAt = occurredAt;
2032+
WorkspaceId = workspaceId;
2033+
}
2034+
2035+
[DataMember(Name = "acs_access_group_id", IsRequired = true, EmitDefaultValue = false)]
2036+
public string AcsAccessGroupId { get; set; }
2037+
2038+
[DataMember(Name = "acs_system_id", IsRequired = true, EmitDefaultValue = false)]
2039+
public string AcsSystemId { get; set; }
2040+
2041+
[DataMember(Name = "connected_account_id", IsRequired = false, EmitDefaultValue = false)]
2042+
public string? ConnectedAccountId { get; set; }
2043+
2044+
[DataMember(Name = "created_at", IsRequired = true, EmitDefaultValue = false)]
2045+
public string CreatedAt { get; set; }
2046+
2047+
[DataMember(Name = "event_id", IsRequired = true, EmitDefaultValue = false)]
2048+
public string EventId { get; set; }
2049+
2050+
[DataMember(Name = "event_type", IsRequired = true, EmitDefaultValue = false)]
2051+
public override string EventType { get; } = "acs_access_group.deleted";
2052+
2053+
[DataMember(Name = "occurred_at", IsRequired = true, EmitDefaultValue = false)]
2054+
public string OccurredAt { get; set; }
2055+
2056+
[DataMember(Name = "workspace_id", IsRequired = true, EmitDefaultValue = false)]
2057+
public string WorkspaceId { get; set; }
2058+
2059+
public override string ToString()
2060+
{
2061+
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
2062+
2063+
StringWriter stringWriter = new StringWriter(
2064+
new StringBuilder(256),
2065+
System.Globalization.CultureInfo.InvariantCulture
2066+
);
2067+
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
2068+
{
2069+
jsonTextWriter.IndentChar = ' ';
2070+
jsonTextWriter.Indentation = 2;
2071+
jsonTextWriter.Formatting = Formatting.Indented;
2072+
jsonSerializer.Serialize(jsonTextWriter, this, null);
2073+
}
2074+
2075+
return stringWriter.ToString();
2076+
}
2077+
}
2078+
20032079
[DataContract(Name = "seamModel_eventClientSessionDeleted_model")]
20042080
public class EventClientSessionDeleted : Event
20052081
{
@@ -5262,6 +5338,100 @@ public override string ToString()
52625338
}
52635339
}
52645340

5341+
[DataContract(Name = "seamModel_eventThermostatTemperatureReachedSetPoint_model")]
5342+
public class EventThermostatTemperatureReachedSetPoint : Event
5343+
{
5344+
[JsonConstructorAttribute]
5345+
protected EventThermostatTemperatureReachedSetPoint() { }
5346+
5347+
public EventThermostatTemperatureReachedSetPoint(
5348+
string connectedAccountId = default,
5349+
string createdAt = default,
5350+
float? desiredTemperatureCelsius = default,
5351+
float? desiredTemperatureFahrenheit = default,
5352+
string deviceId = default,
5353+
string eventId = default,
5354+
string eventType = default,
5355+
string occurredAt = default,
5356+
float temperatureCelsius = default,
5357+
float temperatureFahrenheit = default,
5358+
string workspaceId = default
5359+
)
5360+
{
5361+
ConnectedAccountId = connectedAccountId;
5362+
CreatedAt = createdAt;
5363+
DesiredTemperatureCelsius = desiredTemperatureCelsius;
5364+
DesiredTemperatureFahrenheit = desiredTemperatureFahrenheit;
5365+
DeviceId = deviceId;
5366+
EventId = eventId;
5367+
EventType = eventType;
5368+
OccurredAt = occurredAt;
5369+
TemperatureCelsius = temperatureCelsius;
5370+
TemperatureFahrenheit = temperatureFahrenheit;
5371+
WorkspaceId = workspaceId;
5372+
}
5373+
5374+
[DataMember(Name = "connected_account_id", IsRequired = true, EmitDefaultValue = false)]
5375+
public string ConnectedAccountId { get; set; }
5376+
5377+
[DataMember(Name = "created_at", IsRequired = true, EmitDefaultValue = false)]
5378+
public string CreatedAt { get; set; }
5379+
5380+
[DataMember(
5381+
Name = "desired_temperature_celsius",
5382+
IsRequired = false,
5383+
EmitDefaultValue = false
5384+
)]
5385+
public float? DesiredTemperatureCelsius { get; set; }
5386+
5387+
[DataMember(
5388+
Name = "desired_temperature_fahrenheit",
5389+
IsRequired = false,
5390+
EmitDefaultValue = false
5391+
)]
5392+
public float? DesiredTemperatureFahrenheit { get; set; }
5393+
5394+
[DataMember(Name = "device_id", IsRequired = true, EmitDefaultValue = false)]
5395+
public string DeviceId { get; set; }
5396+
5397+
[DataMember(Name = "event_id", IsRequired = true, EmitDefaultValue = false)]
5398+
public string EventId { get; set; }
5399+
5400+
[DataMember(Name = "event_type", IsRequired = true, EmitDefaultValue = false)]
5401+
public override string EventType { get; } = "thermostat.temperature_reached_set_point";
5402+
5403+
[DataMember(Name = "occurred_at", IsRequired = true, EmitDefaultValue = false)]
5404+
public string OccurredAt { get; set; }
5405+
5406+
[DataMember(Name = "temperature_celsius", IsRequired = true, EmitDefaultValue = false)]
5407+
public float TemperatureCelsius { get; set; }
5408+
5409+
[DataMember(Name = "temperature_fahrenheit", IsRequired = true, EmitDefaultValue = false)]
5410+
public float TemperatureFahrenheit { get; set; }
5411+
5412+
[DataMember(Name = "workspace_id", IsRequired = true, EmitDefaultValue = false)]
5413+
public string WorkspaceId { get; set; }
5414+
5415+
public override string ToString()
5416+
{
5417+
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
5418+
5419+
StringWriter stringWriter = new StringWriter(
5420+
new StringBuilder(256),
5421+
System.Globalization.CultureInfo.InvariantCulture
5422+
);
5423+
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
5424+
{
5425+
jsonTextWriter.IndentChar = ' ';
5426+
jsonTextWriter.Indentation = 2;
5427+
jsonTextWriter.Formatting = Formatting.Indented;
5428+
jsonSerializer.Serialize(jsonTextWriter, this, null);
5429+
}
5430+
5431+
return stringWriter.ToString();
5432+
}
5433+
}
5434+
52655435
[DataContract(Name = "seamModel_eventEnrollmentAutomationDeleted_model")]
52665436
public class EventEnrollmentAutomationDeleted : Event
52675437
{

output/csharp/src/Seam/Seam.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<PackageId>Seam</PackageId>
99

10-
<PackageVersion>0.19.0</PackageVersion>
10+
<PackageVersion>0.20.0</PackageVersion>
1111

1212
<Authors>Seam</Authors>
1313

package-lock.json

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
},
6060
"devDependencies": {
6161
"@seamapi/nextlove-sdk-generator": "^1.15.0",
62-
"@seamapi/types": "^1.322.3",
62+
"@seamapi/types": "^1.327.0",
6363
"@types/node": "^18.19.11",
6464
"ava": "^5.0.1",
6565
"axios": "^1.5.0",

0 commit comments

Comments
 (0)