Skip to content

Commit cd4ab49

Browse files
authored
feat: generate sdk
* generate sdk * upgrade nextlove sdk generator
1 parent ba35949 commit cd4ab49

File tree

15 files changed

+1596
-166
lines changed

15 files changed

+1596
-166
lines changed

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

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -460,13 +460,15 @@ public ListRequest(
460460
string? clientSessionId = default,
461461
string? userIdentifierKey = default,
462462
string? connectWebviewId = default,
463-
bool? withoutUserIdentifierKey = default
463+
bool? withoutUserIdentifierKey = default,
464+
string? userIdentityId = default
464465
)
465466
{
466467
ClientSessionId = clientSessionId;
467468
UserIdentifierKey = userIdentifierKey;
468469
ConnectWebviewId = connectWebviewId;
469470
WithoutUserIdentifierKey = withoutUserIdentifierKey;
471+
UserIdentityId = userIdentityId;
470472
}
471473

472474
[DataMember(Name = "client_session_id", IsRequired = false, EmitDefaultValue = false)]
@@ -485,6 +487,9 @@ public ListRequest(
485487
)]
486488
public bool? WithoutUserIdentifierKey { get; set; }
487489

490+
[DataMember(Name = "user_identity_id", IsRequired = false, EmitDefaultValue = false)]
491+
public string? UserIdentityId { get; set; }
492+
488493
public override string ToString()
489494
{
490495
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
@@ -552,15 +557,17 @@ public List<ClientSession> List(
552557
string? clientSessionId = default,
553558
string? userIdentifierKey = default,
554559
string? connectWebviewId = default,
555-
bool? withoutUserIdentifierKey = default
560+
bool? withoutUserIdentifierKey = default,
561+
string? userIdentityId = default
556562
)
557563
{
558564
return List(
559565
new ListRequest(
560566
clientSessionId: clientSessionId,
561567
userIdentifierKey: userIdentifierKey,
562568
connectWebviewId: connectWebviewId,
563-
withoutUserIdentifierKey: withoutUserIdentifierKey
569+
withoutUserIdentifierKey: withoutUserIdentifierKey,
570+
userIdentityId: userIdentityId
564571
)
565572
);
566573
}
@@ -578,7 +585,8 @@ public async Task<List<ClientSession>> ListAsync(
578585
string? clientSessionId = default,
579586
string? userIdentifierKey = default,
580587
string? connectWebviewId = default,
581-
bool? withoutUserIdentifierKey = default
588+
bool? withoutUserIdentifierKey = default,
589+
string? userIdentityId = default
582590
)
583591
{
584592
return (
@@ -587,7 +595,8 @@ await ListAsync(
587595
clientSessionId: clientSessionId,
588596
userIdentifierKey: userIdentifierKey,
589597
connectWebviewId: connectWebviewId,
590-
withoutUserIdentifierKey: withoutUserIdentifierKey
598+
withoutUserIdentifierKey: withoutUserIdentifierKey,
599+
userIdentityId: userIdentityId
591600
)
592601
)
593602
);

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

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -166,17 +166,20 @@ public enum AcceptedProvidersEnum
166166
[EnumMember(Value = "tedee")]
167167
Tedee = 34,
168168

169-
[EnumMember(Value = "honeywell")]
170-
Honeywell = 35,
169+
[EnumMember(Value = "honeywell_resideo")]
170+
HoneywellResideo = 35,
171+
172+
[EnumMember(Value = "latch")]
173+
Latch = 36,
171174

172175
[EnumMember(Value = "yale_access")]
173-
YaleAccess = 36,
176+
YaleAccess = 37,
174177

175178
[EnumMember(Value = "hid_cm")]
176-
HidCm = 37,
179+
HidCm = 38,
177180

178181
[EnumMember(Value = "google_nest")]
179-
GoogleNest = 38
182+
GoogleNest = 39
180183
}
181184

182185
[JsonConverter(typeof(StringEnumConverter))]
@@ -188,8 +191,17 @@ public enum ProviderCategoryEnum
188191
[EnumMember(Value = "consumer_smartlocks")]
189192
ConsumerSmartlocks = 1,
190193

194+
[EnumMember(Value = "thermostats")]
195+
Thermostats = 2,
196+
197+
[EnumMember(Value = "noise_sensors")]
198+
NoiseSensors = 3,
199+
200+
[EnumMember(Value = "access_control_systems")]
201+
AccessControlSystems = 4,
202+
191203
[EnumMember(Value = "internal_beta")]
192-
InternalBeta = 2
204+
InternalBeta = 5
193205
}
194206

195207
[DataMember(

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

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ public enum DeviceTypeEnum
240240
[EnumMember(Value = "nest_thermostat")]
241241
NestThermostat = 29,
242242

243-
[EnumMember(Value = "honeywell_thermostat")]
244-
HoneywellThermostat = 30,
243+
[EnumMember(Value = "honeywell_resideo_thermostat")]
244+
HoneywellResideoThermostat = 30,
245245

246246
[EnumMember(Value = "ios_phone")]
247247
IosPhone = 31,
@@ -343,8 +343,8 @@ public enum DeviceTypesEnum
343343
[EnumMember(Value = "nest_thermostat")]
344344
NestThermostat = 29,
345345

346-
[EnumMember(Value = "honeywell_thermostat")]
347-
HoneywellThermostat = 30,
346+
[EnumMember(Value = "honeywell_resideo_thermostat")]
347+
HoneywellResideoThermostat = 30,
348348

349349
[EnumMember(Value = "ios_phone")]
350350
IosPhone = 31,
@@ -455,8 +455,8 @@ public enum ManufacturerEnum
455455
[EnumMember(Value = "tedee")]
456456
Tedee = 32,
457457

458-
[EnumMember(Value = "honeywell")]
459-
Honeywell = 33
458+
[EnumMember(Value = "honeywell_resideo")]
459+
HoneywellResideo = 33
460460
}
461461

462462
[DataMember(
@@ -654,7 +654,16 @@ public enum ProviderCategoryEnum
654654
Stable = 0,
655655

656656
[EnumMember(Value = "consumer_smartlocks")]
657-
ConsumerSmartlocks = 1
657+
ConsumerSmartlocks = 1,
658+
659+
[EnumMember(Value = "thermostats")]
660+
Thermostats = 2,
661+
662+
[EnumMember(Value = "noise_sensors")]
663+
NoiseSensors = 3,
664+
665+
[EnumMember(Value = "access_control_systems")]
666+
AccessControlSystems = 4
658667
}
659668

660669
[DataMember(Name = "provider_category", IsRequired = false, EmitDefaultValue = false)]

0 commit comments

Comments
 (0)