From 38c18c333bfca1e245ad6e32b9f063dbf5623f67 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 May 2025 23:50:35 +0000 Subject: [PATCH 1/2] 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.395.1 to 1.395.3 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.395.1...v1.395.3) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.395.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 97ab85e..1533820 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "SEE LICENSE IN LICENSE.txt", "devDependencies": { "@seamapi/nextlove-sdk-generator": "^1.17.4", - "@seamapi/types": "^1.395.1", + "@seamapi/types": "^1.395.3", "@types/node": "^18.19.11", "ava": "^5.0.1", "axios": "^1.5.0", @@ -1220,9 +1220,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.395.1", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.395.1.tgz", - "integrity": "sha512-n13LTzgH6cJioTFIqWubdOrXk4pvxOs/SXcWbTGBFG84AWnZOQ6uEky5kRgDq1wTrlrzzAh1Jgieq72C3sxXcA==", + "version": "1.395.3", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.395.3.tgz", + "integrity": "sha512-HfqkuV/au/9V/XoBNZCv2sx6QuRdms68bC60/W23AdZ19h2p7fOHaUkc4DKJy8lvzTdr/499B8D6VCdRaTZSKw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 9ff5275..cd329c0 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ }, "devDependencies": { "@seamapi/nextlove-sdk-generator": "^1.17.4", - "@seamapi/types": "^1.395.1", + "@seamapi/types": "^1.395.3", "@types/node": "^18.19.11", "ava": "^5.0.1", "axios": "^1.5.0", From 5b6a758325a9ef0725c0df072359ce9cbd266864 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Thu, 15 May 2025 23:51:21 +0000 Subject: [PATCH 2/2] ci: Generate code --- output/csharp/src/Seam/Model/Device.cs | 19 ++++++++++++------- .../src/Seam/Model/ThermostatSchedule.cs | 7 ++++++- output/csharp/src/Seam/Seam.csproj | 2 +- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/output/csharp/src/Seam/Model/Device.cs b/output/csharp/src/Seam/Model/Device.cs index f3b6b81..3d53b7f 100644 --- a/output/csharp/src/Seam/Model/Device.cs +++ b/output/csharp/src/Seam/Model/Device.cs @@ -5254,7 +5254,8 @@ public DevicePropertiesActiveThermostatSchedule( int? maxOverridePeriodMinutes = default, string? name = default, string? startsAt = default, - string? thermostatScheduleId = default + string? thermostatScheduleId = default, + string? workspaceId = default ) { ClimatePresetKey = climatePresetKey; @@ -5267,6 +5268,7 @@ public DevicePropertiesActiveThermostatSchedule( Name = name; StartsAt = startsAt; ThermostatScheduleId = thermostatScheduleId; + WorkspaceId = workspaceId; } [DataMember(Name = "climate_preset_key", IsRequired = false, EmitDefaultValue = false)] @@ -5303,6 +5305,9 @@ public DevicePropertiesActiveThermostatSchedule( [DataMember(Name = "thermostat_schedule_id", IsRequired = false, EmitDefaultValue = false)] public string? ThermostatScheduleId { get; set; } + [DataMember(Name = "workspace_id", IsRequired = false, EmitDefaultValue = false)] + public string? WorkspaceId { get; set; } + public override string ToString() { JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null); @@ -5867,7 +5872,8 @@ public DevicePropertiesThermostatDailyPrograms( string? deviceId = default, string? name = default, List? periods = default, - string? thermostatDailyProgramId = default + string? thermostatDailyProgramId = default, + string? workspaceId = default ) { CreatedAt = createdAt; @@ -5875,6 +5881,7 @@ public DevicePropertiesThermostatDailyPrograms( Name = name; Periods = periods; ThermostatDailyProgramId = thermostatDailyProgramId; + WorkspaceId = workspaceId; } [DataMember(Name = "created_at", IsRequired = false, EmitDefaultValue = false)] @@ -5896,6 +5903,9 @@ public DevicePropertiesThermostatDailyPrograms( )] public string? ThermostatDailyProgramId { get; set; } + [DataMember(Name = "workspace_id", IsRequired = false, EmitDefaultValue = false)] + public string? WorkspaceId { get; set; } + public override string ToString() { JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null); @@ -5965,7 +5975,6 @@ protected DevicePropertiesThermostatWeeklyProgram() { } public DevicePropertiesThermostatWeeklyProgram( string? createdAt = default, - string? deviceId = default, string? fridayProgramId = default, string? mondayProgramId = default, string? saturdayProgramId = default, @@ -5976,7 +5985,6 @@ public DevicePropertiesThermostatWeeklyProgram( ) { CreatedAt = createdAt; - DeviceId = deviceId; FridayProgramId = fridayProgramId; MondayProgramId = mondayProgramId; SaturdayProgramId = saturdayProgramId; @@ -5989,9 +5997,6 @@ public DevicePropertiesThermostatWeeklyProgram( [DataMember(Name = "created_at", IsRequired = false, EmitDefaultValue = false)] public string? CreatedAt { get; set; } - [DataMember(Name = "device_id", IsRequired = false, EmitDefaultValue = false)] - public string? DeviceId { get; set; } - [DataMember(Name = "friday_program_id", IsRequired = false, EmitDefaultValue = false)] public string? FridayProgramId { get; set; } diff --git a/output/csharp/src/Seam/Model/ThermostatSchedule.cs b/output/csharp/src/Seam/Model/ThermostatSchedule.cs index f083706..7cefe88 100644 --- a/output/csharp/src/Seam/Model/ThermostatSchedule.cs +++ b/output/csharp/src/Seam/Model/ThermostatSchedule.cs @@ -24,7 +24,8 @@ public ThermostatSchedule( int? maxOverridePeriodMinutes = default, string? name = default, string startsAt = default, - string thermostatScheduleId = default + string thermostatScheduleId = default, + string workspaceId = default ) { ClimatePresetKey = climatePresetKey; @@ -37,6 +38,7 @@ public ThermostatSchedule( Name = name; StartsAt = startsAt; ThermostatScheduleId = thermostatScheduleId; + WorkspaceId = workspaceId; } [DataMember(Name = "climate_preset_key", IsRequired = true, EmitDefaultValue = false)] @@ -73,6 +75,9 @@ public ThermostatSchedule( [DataMember(Name = "thermostat_schedule_id", IsRequired = true, EmitDefaultValue = false)] public string ThermostatScheduleId { get; set; } + [DataMember(Name = "workspace_id", IsRequired = true, EmitDefaultValue = false)] + public string WorkspaceId { get; set; } + public override string ToString() { JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null); diff --git a/output/csharp/src/Seam/Seam.csproj b/output/csharp/src/Seam/Seam.csproj index 20442f6..14a4d3b 100644 --- a/output/csharp/src/Seam/Seam.csproj +++ b/output/csharp/src/Seam/Seam.csproj @@ -7,7 +7,7 @@ Seam - 0.59.0 + 0.60.0 Seam