Skip to content

Commit 2687884

Browse files
feat(deps-dev): bump @seamapi/types from 1.446.0 to 1.449.0 in the seam group (#238)
* 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.446.0 to 1.449.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](seamapi/types@v1.446.0...v1.449.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.449.0 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 5573d9f commit 2687884

File tree

7 files changed

+67
-14
lines changed

7 files changed

+67
-14
lines changed

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

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ protected ListRequest() { }
199199

200200
public ListRequest(
201201
object? customMetadataHas = default,
202-
List<string>? customerIds = default,
202+
string? customerKey = default,
203203
int? limit = default,
204204
string? pageCursor = default,
205205
string? search = default,
206206
string? userIdentifierKey = default
207207
)
208208
{
209209
CustomMetadataHas = customMetadataHas;
210-
CustomerIds = customerIds;
210+
CustomerKey = customerKey;
211211
Limit = limit;
212212
PageCursor = pageCursor;
213213
Search = search;
@@ -217,8 +217,8 @@ public ListRequest(
217217
[DataMember(Name = "custom_metadata_has", IsRequired = false, EmitDefaultValue = false)]
218218
public object? CustomMetadataHas { get; set; }
219219

220-
[DataMember(Name = "customer_ids", IsRequired = false, EmitDefaultValue = false)]
221-
public List<string>? CustomerIds { get; set; }
220+
[DataMember(Name = "customer_key", IsRequired = false, EmitDefaultValue = false)]
221+
public string? CustomerKey { get; set; }
222222

223223
[DataMember(Name = "limit", IsRequired = false, EmitDefaultValue = false)]
224224
public int? Limit { get; set; }
@@ -297,7 +297,7 @@ public List<ConnectedAccount> List(ListRequest request)
297297

298298
public List<ConnectedAccount> List(
299299
object? customMetadataHas = default,
300-
List<string>? customerIds = default,
300+
string? customerKey = default,
301301
int? limit = default,
302302
string? pageCursor = default,
303303
string? search = default,
@@ -307,7 +307,7 @@ public List<ConnectedAccount> List(
307307
return List(
308308
new ListRequest(
309309
customMetadataHas: customMetadataHas,
310-
customerIds: customerIds,
310+
customerKey: customerKey,
311311
limit: limit,
312312
pageCursor: pageCursor,
313313
search: search,
@@ -327,7 +327,7 @@ public async Task<List<ConnectedAccount>> ListAsync(ListRequest request)
327327

328328
public async Task<List<ConnectedAccount>> ListAsync(
329329
object? customMetadataHas = default,
330-
List<string>? customerIds = default,
330+
string? customerKey = default,
331331
int? limit = default,
332332
string? pageCursor = default,
333333
string? search = default,
@@ -338,7 +338,7 @@ public async Task<List<ConnectedAccount>> ListAsync(
338338
await ListAsync(
339339
new ListRequest(
340340
customMetadataHas: customMetadataHas,
341-
customerIds: customerIds,
341+
customerKey: customerKey,
342342
limit: limit,
343343
pageCursor: pageCursor,
344344
search: search,
@@ -413,16 +413,44 @@ public class UpdateRequest
413413
protected UpdateRequest() { }
414414

415415
public UpdateRequest(
416+
List<UpdateRequest.AcceptedCapabilitiesEnum>? acceptedCapabilities = default,
416417
bool? automaticallyManageNewDevices = default,
417418
string connectedAccountId = default,
418419
object? customMetadata = default
419420
)
420421
{
422+
AcceptedCapabilities = acceptedCapabilities;
421423
AutomaticallyManageNewDevices = automaticallyManageNewDevices;
422424
ConnectedAccountId = connectedAccountId;
423425
CustomMetadata = customMetadata;
424426
}
425427

428+
[JsonConverter(typeof(SafeStringEnumConverter))]
429+
public enum AcceptedCapabilitiesEnum
430+
{
431+
[EnumMember(Value = "unrecognized")]
432+
Unrecognized = 0,
433+
434+
[EnumMember(Value = "lock")]
435+
Lock = 1,
436+
437+
[EnumMember(Value = "thermostat")]
438+
Thermostat = 2,
439+
440+
[EnumMember(Value = "noise_sensor")]
441+
NoiseSensor = 3,
442+
443+
[EnumMember(Value = "access_control")]
444+
AccessControl = 4,
445+
}
446+
447+
[DataMember(
448+
Name = "accepted_capabilities",
449+
IsRequired = false,
450+
EmitDefaultValue = false
451+
)]
452+
public List<UpdateRequest.AcceptedCapabilitiesEnum>? AcceptedCapabilities { get; set; }
453+
426454
[DataMember(
427455
Name = "automatically_manage_new_devices",
428456
IsRequired = false,
@@ -464,13 +492,15 @@ public void Update(UpdateRequest request)
464492
}
465493

466494
public void Update(
495+
List<UpdateRequest.AcceptedCapabilitiesEnum>? acceptedCapabilities = default,
467496
bool? automaticallyManageNewDevices = default,
468497
string connectedAccountId = default,
469498
object? customMetadata = default
470499
)
471500
{
472501
Update(
473502
new UpdateRequest(
503+
acceptedCapabilities: acceptedCapabilities,
474504
automaticallyManageNewDevices: automaticallyManageNewDevices,
475505
connectedAccountId: connectedAccountId,
476506
customMetadata: customMetadata
@@ -486,13 +516,15 @@ public async Task UpdateAsync(UpdateRequest request)
486516
}
487517

488518
public async Task UpdateAsync(
519+
List<UpdateRequest.AcceptedCapabilitiesEnum>? acceptedCapabilities = default,
489520
bool? automaticallyManageNewDevices = default,
490521
string connectedAccountId = default,
491522
object? customMetadata = default
492523
)
493524
{
494525
await UpdateAsync(
495526
new UpdateRequest(
527+
acceptedCapabilities: acceptedCapabilities,
496528
automaticallyManageNewDevices: automaticallyManageNewDevices,
497529
connectedAccountId: connectedAccountId,
498530
customMetadata: customMetadata

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,9 @@ public enum HvacModeSettingEnum
387387

388388
[EnumMember(Value = "heat_cool")]
389389
HeatCool = 4,
390+
391+
[EnumMember(Value = "eco")]
392+
Eco = 5,
390393
}
391394

392395
[DataMember(Name = "climate_preset_key", IsRequired = true, EmitDefaultValue = false)]
@@ -2205,6 +2208,9 @@ public enum HvacModeSettingEnum
22052208

22062209
[EnumMember(Value = "heat_cool")]
22072210
HeatCool = 4,
2211+
2212+
[EnumMember(Value = "eco")]
2213+
Eco = 5,
22082214
}
22092215

22102216
[DataMember(Name = "climate_preset_key", IsRequired = true, EmitDefaultValue = false)]

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2433,6 +2433,9 @@ public enum AvailableHvacModeSettingsEnum
24332433

24342434
[EnumMember(Value = "heat_cool")]
24352435
HeatCool = 4,
2436+
2437+
[EnumMember(Value = "eco")]
2438+
Eco = 5,
24362439
}
24372440

24382441
[JsonConverter(typeof(SafeStringEnumConverter))]
@@ -5632,6 +5635,9 @@ public enum HvacModeSettingEnum
56325635

56335636
[EnumMember(Value = "heat_cool")]
56345637
HeatCool = 4,
5638+
5639+
[EnumMember(Value = "eco")]
5640+
Eco = 5,
56355641
}
56365642

56375643
[DataMember(Name = "can_delete", IsRequired = false, EmitDefaultValue = false)]
@@ -5874,6 +5880,9 @@ public enum HvacModeSettingEnum
58745880

58755881
[EnumMember(Value = "heat_cool")]
58765882
HeatCool = 4,
5883+
5884+
[EnumMember(Value = "eco")]
5885+
Eco = 5,
58775886
}
58785887

58795888
[DataMember(Name = "can_delete", IsRequired = false, EmitDefaultValue = false)]
@@ -6116,6 +6125,9 @@ public enum HvacModeSettingEnum
61166125

61176126
[EnumMember(Value = "heat_cool")]
61186127
HeatCool = 4,
6128+
6129+
[EnumMember(Value = "eco")]
6130+
Eco = 5,
61196131
}
61206132

61216133
[DataMember(Name = "can_delete", IsRequired = false, EmitDefaultValue = false)]

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6759,6 +6759,9 @@ public enum HvacModeSettingEnum
67596759

67606760
[EnumMember(Value = "heat_cool")]
67616761
HeatCool = 4,
6762+
6763+
[EnumMember(Value = "eco")]
6764+
Eco = 5,
67626765
}
67636766

67646767
[JsonConverter(typeof(SafeStringEnumConverter))]

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.88.0</PackageVersion>
10+
<PackageVersion>0.89.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.17.4",
62-
"@seamapi/types": "^1.446.0",
62+
"@seamapi/types": "^1.449.0",
6363
"@types/node": "^18.19.11",
6464
"ava": "^5.0.1",
6565
"axios": "^1.5.0",

0 commit comments

Comments
 (0)