Skip to content

Commit 547bf1b

Browse files
feat(deps-dev): bump @seamapi/types from 1.327.0 to 1.329.0 in the seam 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] <support@github.com> * ci: Generate code --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Seam Bot <seambot@getseam.com>
1 parent d78e62f commit 547bf1b

File tree

6 files changed

+111
-40
lines changed

6 files changed

+111
-40
lines changed

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

Lines changed: 32 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -359,44 +359,47 @@ public enum EventTypeEnum
359359
[EnumMember(Value = "acs_credential.issued")]
360360
AcsCredentialIssued = 60,
361361

362+
[EnumMember(Value = "acs_credential.reissued")]
363+
AcsCredentialReissued = 61,
364+
362365
[EnumMember(Value = "acs_encoder.added")]
363-
AcsEncoderAdded = 61,
366+
AcsEncoderAdded = 62,
364367

365368
[EnumMember(Value = "acs_encoder.removed")]
366-
AcsEncoderRemoved = 62,
369+
AcsEncoderRemoved = 63,
367370

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

371374
[EnumMember(Value = "client_session.deleted")]
372-
ClientSessionDeleted = 64,
375+
ClientSessionDeleted = 65,
373376

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

377380
[EnumMember(Value = "action_attempt.lock_door.failed")]
378-
ActionAttemptLockDoorFailed = 66,
381+
ActionAttemptLockDoorFailed = 67,
379382

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

383386
[EnumMember(Value = "action_attempt.unlock_door.failed")]
384-
ActionAttemptUnlockDoorFailed = 68,
387+
ActionAttemptUnlockDoorFailed = 69,
385388

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

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

392395
[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
393-
ThermostatTemperatureThresholdExceeded = 71,
396+
ThermostatTemperatureThresholdExceeded = 72,
394397

395398
[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
396-
ThermostatTemperatureThresholdNoLongerExceeded = 72,
399+
ThermostatTemperatureThresholdNoLongerExceeded = 73,
397400

398401
[EnumMember(Value = "thermostat.temperature_reached_set_point")]
399-
ThermostatTemperatureReachedSetPoint = 73,
402+
ThermostatTemperatureReachedSetPoint = 74,
400403
}
401404

402405
[JsonConverter(typeof(SafeStringEnumConverter))]
@@ -585,44 +588,47 @@ public enum EventTypesEnum
585588
[EnumMember(Value = "acs_credential.issued")]
586589
AcsCredentialIssued = 60,
587590

591+
[EnumMember(Value = "acs_credential.reissued")]
592+
AcsCredentialReissued = 61,
593+
588594
[EnumMember(Value = "acs_encoder.added")]
589-
AcsEncoderAdded = 61,
595+
AcsEncoderAdded = 62,
590596

591597
[EnumMember(Value = "acs_encoder.removed")]
592-
AcsEncoderRemoved = 62,
598+
AcsEncoderRemoved = 63,
593599

594600
[EnumMember(Value = "enrollment_automation.deleted")]
595-
EnrollmentAutomationDeleted = 63,
601+
EnrollmentAutomationDeleted = 64,
596602

597603
[EnumMember(Value = "client_session.deleted")]
598-
ClientSessionDeleted = 64,
604+
ClientSessionDeleted = 65,
599605

600606
[EnumMember(Value = "action_attempt.lock_door.succeeded")]
601-
ActionAttemptLockDoorSucceeded = 65,
607+
ActionAttemptLockDoorSucceeded = 66,
602608

603609
[EnumMember(Value = "action_attempt.lock_door.failed")]
604-
ActionAttemptLockDoorFailed = 66,
610+
ActionAttemptLockDoorFailed = 67,
605611

606612
[EnumMember(Value = "action_attempt.unlock_door.succeeded")]
607-
ActionAttemptUnlockDoorSucceeded = 67,
613+
ActionAttemptUnlockDoorSucceeded = 68,
608614

609615
[EnumMember(Value = "action_attempt.unlock_door.failed")]
610-
ActionAttemptUnlockDoorFailed = 68,
616+
ActionAttemptUnlockDoorFailed = 69,
611617

612618
[EnumMember(Value = "thermostat.climate_preset_activated")]
613-
ThermostatClimatePresetActivated = 69,
619+
ThermostatClimatePresetActivated = 70,
614620

615621
[EnumMember(Value = "thermostat.manually_adjusted")]
616-
ThermostatManuallyAdjusted = 70,
622+
ThermostatManuallyAdjusted = 71,
617623

618624
[EnumMember(Value = "thermostat.temperature_threshold_exceeded")]
619-
ThermostatTemperatureThresholdExceeded = 71,
625+
ThermostatTemperatureThresholdExceeded = 72,
620626

621627
[EnumMember(Value = "thermostat.temperature_threshold_no_longer_exceeded")]
622-
ThermostatTemperatureThresholdNoLongerExceeded = 72,
628+
ThermostatTemperatureThresholdNoLongerExceeded = 73,
623629

624630
[EnumMember(Value = "thermostat.temperature_reached_set_point")]
625-
ThermostatTemperatureReachedSetPoint = 73,
631+
ThermostatTemperatureReachedSetPoint = 74,
626632
}
627633

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

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

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -183,21 +183,14 @@ public class AcsEntranceDormakabaCommunityMetadata
183183
[JsonConstructorAttribute]
184184
protected AcsEntranceDormakabaCommunityMetadata() { }
185185

186-
public AcsEntranceDormakabaCommunityMetadata(
187-
string accessPointName = default,
188-
float? commonAreaNumber = default
189-
)
186+
public AcsEntranceDormakabaCommunityMetadata(string accessPointName = default)
190187
{
191188
AccessPointName = accessPointName;
192-
CommonAreaNumber = commonAreaNumber;
193189
}
194190

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

198-
[DataMember(Name = "common_area_number", IsRequired = false, EmitDefaultValue = false)]
199-
public float? CommonAreaNumber { get; set; }
200-
201194
public override string ToString()
202195
{
203196
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);

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

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ namespace Seam.Model
156156
[JsonSubtypes.KnownSubType(typeof(EventAcsEncoderRemoved), "acs_encoder.removed")]
157157
[JsonSubtypes.KnownSubType(typeof(EventAcsEncoderAdded), "acs_encoder.added")]
158158
[JsonSubtypes.KnownSubType(typeof(EventAcsUserDeleted), "acs_user.deleted")]
159+
[JsonSubtypes.KnownSubType(typeof(EventAcsCredentialReissued), "acs_credential.reissued")]
159160
[JsonSubtypes.KnownSubType(typeof(EventAcsCredentialIssued), "acs_credential.issued")]
160161
[JsonSubtypes.KnownSubType(typeof(EventAcsCredentialDeleted), "acs_credential.deleted")]
161162
[JsonSubtypes.KnownSubType(typeof(EventAcsSystemDisconnected), "acs_system.disconnected")]
@@ -1792,6 +1793,77 @@ public override string ToString()
17921793
}
17931794
}
17941795

1796+
[DataContract(Name = "seamModel_eventAcsCredentialReissued_model")]
1797+
public class EventAcsCredentialReissued : Event
1798+
{
1799+
[JsonConstructorAttribute]
1800+
protected EventAcsCredentialReissued() { }
1801+
1802+
public EventAcsCredentialReissued(
1803+
string acsCredentialId = default,
1804+
string acsSystemId = default,
1805+
string? connectedAccountId = default,
1806+
string createdAt = default,
1807+
string eventId = default,
1808+
string eventType = default,
1809+
string occurredAt = default,
1810+
string workspaceId = default
1811+
)
1812+
{
1813+
AcsCredentialId = acsCredentialId;
1814+
AcsSystemId = acsSystemId;
1815+
ConnectedAccountId = connectedAccountId;
1816+
CreatedAt = createdAt;
1817+
EventId = eventId;
1818+
EventType = eventType;
1819+
OccurredAt = occurredAt;
1820+
WorkspaceId = workspaceId;
1821+
}
1822+
1823+
[DataMember(Name = "acs_credential_id", IsRequired = true, EmitDefaultValue = false)]
1824+
public string AcsCredentialId { get; set; }
1825+
1826+
[DataMember(Name = "acs_system_id", IsRequired = true, EmitDefaultValue = false)]
1827+
public string AcsSystemId { get; set; }
1828+
1829+
[DataMember(Name = "connected_account_id", IsRequired = false, EmitDefaultValue = false)]
1830+
public string? ConnectedAccountId { get; set; }
1831+
1832+
[DataMember(Name = "created_at", IsRequired = true, EmitDefaultValue = false)]
1833+
public string CreatedAt { get; set; }
1834+
1835+
[DataMember(Name = "event_id", IsRequired = true, EmitDefaultValue = false)]
1836+
public string EventId { get; set; }
1837+
1838+
[DataMember(Name = "event_type", IsRequired = true, EmitDefaultValue = false)]
1839+
public override string EventType { get; } = "acs_credential.reissued";
1840+
1841+
[DataMember(Name = "occurred_at", IsRequired = true, EmitDefaultValue = false)]
1842+
public string OccurredAt { get; set; }
1843+
1844+
[DataMember(Name = "workspace_id", IsRequired = true, EmitDefaultValue = false)]
1845+
public string WorkspaceId { get; set; }
1846+
1847+
public override string ToString()
1848+
{
1849+
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
1850+
1851+
StringWriter stringWriter = new StringWriter(
1852+
new StringBuilder(256),
1853+
System.Globalization.CultureInfo.InvariantCulture
1854+
);
1855+
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
1856+
{
1857+
jsonTextWriter.IndentChar = ' ';
1858+
jsonTextWriter.Indentation = 2;
1859+
jsonTextWriter.Formatting = Formatting.Indented;
1860+
jsonSerializer.Serialize(jsonTextWriter, this, null);
1861+
}
1862+
1863+
return stringWriter.ToString();
1864+
}
1865+
}
1866+
17951867
[DataContract(Name = "seamModel_eventAcsUserDeleted_model")]
17961868
public class EventAcsUserDeleted : Event
17971869
{

output/csharp/src/Seam/Seam.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<PackageId>Seam</PackageId>
99

10-
<PackageVersion>0.21.0</PackageVersion>
10+
<PackageVersion>0.22.0</PackageVersion>
1111

1212
<Authors>Seam</Authors>
1313

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

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

0 commit comments

Comments
 (0)