Skip to content

Commit a2e0e31

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

File tree

10 files changed

+156
-52
lines changed

10 files changed

+156
-52
lines changed

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

Lines changed: 38 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ protected CreateRequest() { }
2727
public CreateRequest(
2828
string? userIdentityId = default,
2929
CreateRequestUserIdentity? userIdentity = default,
30+
string? accessGrantKey = default,
3031
List<string>? acsEntranceIds = default,
3132
List<string>? deviceIds = default,
3233
string? endsAt = default,
@@ -39,6 +40,7 @@ public CreateRequest(
3940
{
4041
UserIdentityId = userIdentityId;
4142
UserIdentity = userIdentity;
43+
AccessGrantKey = accessGrantKey;
4244
AcsEntranceIds = acsEntranceIds;
4345
DeviceIds = deviceIds;
4446
EndsAt = endsAt;
@@ -55,6 +57,9 @@ public CreateRequest(
5557
[DataMember(Name = "user_identity", IsRequired = false, EmitDefaultValue = false)]
5658
public CreateRequestUserIdentity? UserIdentity { get; set; }
5759

60+
[DataMember(Name = "access_grant_key", IsRequired = false, EmitDefaultValue = false)]
61+
public string? AccessGrantKey { get; set; }
62+
5863
[DataMember(Name = "acs_entrance_ids", IsRequired = false, EmitDefaultValue = false)]
5964
public List<string>? AcsEntranceIds { get; set; }
6065

@@ -293,6 +298,7 @@ public AccessGrant Create(CreateRequest request)
293298
public AccessGrant Create(
294299
string? userIdentityId = default,
295300
CreateRequestUserIdentity? userIdentity = default,
301+
string? accessGrantKey = default,
296302
List<string>? acsEntranceIds = default,
297303
List<string>? deviceIds = default,
298304
string? endsAt = default,
@@ -307,6 +313,7 @@ public AccessGrant Create(
307313
new CreateRequest(
308314
userIdentityId: userIdentityId,
309315
userIdentity: userIdentity,
316+
accessGrantKey: accessGrantKey,
310317
acsEntranceIds: acsEntranceIds,
311318
deviceIds: deviceIds,
312319
endsAt: endsAt,
@@ -331,6 +338,7 @@ public async Task<AccessGrant> CreateAsync(CreateRequest request)
331338
public async Task<AccessGrant> CreateAsync(
332339
string? userIdentityId = default,
333340
CreateRequestUserIdentity? userIdentity = default,
341+
string? accessGrantKey = default,
334342
List<string>? acsEntranceIds = default,
335343
List<string>? deviceIds = default,
336344
string? endsAt = default,
@@ -346,6 +354,7 @@ await CreateAsync(
346354
new CreateRequest(
347355
userIdentityId: userIdentityId,
348356
userIdentity: userIdentity,
357+
accessGrantKey: accessGrantKey,
349358
acsEntranceIds: acsEntranceIds,
350359
deviceIds: deviceIds,
351360
endsAt: endsAt,
@@ -423,13 +432,17 @@ public class GetRequest
423432
[JsonConstructorAttribute]
424433
protected GetRequest() { }
425434

426-
public GetRequest(string accessGrantId = default)
435+
public GetRequest(string? accessGrantId = default, string? accessGrantKey = default)
427436
{
428437
AccessGrantId = accessGrantId;
438+
AccessGrantKey = accessGrantKey;
429439
}
430440

431-
[DataMember(Name = "access_grant_id", IsRequired = true, EmitDefaultValue = false)]
432-
public string AccessGrantId { get; set; }
441+
[DataMember(Name = "access_grant_id", IsRequired = false, EmitDefaultValue = false)]
442+
public string? AccessGrantId { get; set; }
443+
444+
[DataMember(Name = "access_grant_key", IsRequired = false, EmitDefaultValue = false)]
445+
public string? AccessGrantKey { get; set; }
433446

434447
public override string ToString()
435448
{
@@ -492,9 +505,11 @@ public AccessGrant Get(GetRequest request)
492505
return _seam.Post<GetResponse>("/access_grants/get", requestOptions).Data.AccessGrant;
493506
}
494507

495-
public AccessGrant Get(string accessGrantId = default)
508+
public AccessGrant Get(string? accessGrantId = default, string? accessGrantKey = default)
496509
{
497-
return Get(new GetRequest(accessGrantId: accessGrantId));
510+
return Get(
511+
new GetRequest(accessGrantId: accessGrantId, accessGrantKey: accessGrantKey)
512+
);
498513
}
499514

500515
public async Task<AccessGrant> GetAsync(GetRequest request)
@@ -506,9 +521,16 @@ public async Task<AccessGrant> GetAsync(GetRequest request)
506521
.AccessGrant;
507522
}
508523

509-
public async Task<AccessGrant> GetAsync(string accessGrantId = default)
524+
public async Task<AccessGrant> GetAsync(
525+
string? accessGrantId = default,
526+
string? accessGrantKey = default
527+
)
510528
{
511-
return (await GetAsync(new GetRequest(accessGrantId: accessGrantId)));
529+
return (
530+
await GetAsync(
531+
new GetRequest(accessGrantId: accessGrantId, accessGrantKey: accessGrantKey)
532+
)
533+
);
512534
}
513535

514536
[DataContract(Name = "listRequest_request")]
@@ -518,20 +540,25 @@ public class ListRequest
518540
protected ListRequest() { }
519541

520542
public ListRequest(
543+
string? accessGrantKey = default,
521544
string? acsEntranceId = default,
522545
string? acsSystemId = default,
523546
string? locationId = default,
524547
string? spaceId = default,
525548
string? userIdentityId = default
526549
)
527550
{
551+
AccessGrantKey = accessGrantKey;
528552
AcsEntranceId = acsEntranceId;
529553
AcsSystemId = acsSystemId;
530554
LocationId = locationId;
531555
SpaceId = spaceId;
532556
UserIdentityId = userIdentityId;
533557
}
534558

559+
[DataMember(Name = "access_grant_key", IsRequired = false, EmitDefaultValue = false)]
560+
public string? AccessGrantKey { get; set; }
561+
535562
[DataMember(Name = "acs_entrance_id", IsRequired = false, EmitDefaultValue = false)]
536563
public string? AcsEntranceId { get; set; }
537564

@@ -611,6 +638,7 @@ public List<AccessGrant> List(ListRequest request)
611638
}
612639

613640
public List<AccessGrant> List(
641+
string? accessGrantKey = default,
614642
string? acsEntranceId = default,
615643
string? acsSystemId = default,
616644
string? locationId = default,
@@ -620,6 +648,7 @@ public List<AccessGrant> List(
620648
{
621649
return List(
622650
new ListRequest(
651+
accessGrantKey: accessGrantKey,
623652
acsEntranceId: acsEntranceId,
624653
acsSystemId: acsSystemId,
625654
locationId: locationId,
@@ -639,6 +668,7 @@ public async Task<List<AccessGrant>> ListAsync(ListRequest request)
639668
}
640669

641670
public async Task<List<AccessGrant>> ListAsync(
671+
string? accessGrantKey = default,
642672
string? acsEntranceId = default,
643673
string? acsSystemId = default,
644674
string? locationId = default,
@@ -649,6 +679,7 @@ public async Task<List<AccessGrant>> ListAsync(
649679
return (
650680
await ListAsync(
651681
new ListRequest(
682+
accessGrantKey: accessGrantKey,
652683
acsEntranceId: acsEntranceId,
653684
acsSystemId: acsSystemId,
654685
locationId: locationId,

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

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -285,14 +285,31 @@ public class ListRequest
285285
[JsonConstructorAttribute]
286286
protected ListRequest() { }
287287

288-
public ListRequest(string accessGrantId = default)
288+
public ListRequest(
289+
string accessGrantId = default,
290+
string? acsEntranceId = default,
291+
string? deviceId = default,
292+
string? spaceId = default
293+
)
289294
{
290295
AccessGrantId = accessGrantId;
296+
AcsEntranceId = acsEntranceId;
297+
DeviceId = deviceId;
298+
SpaceId = spaceId;
291299
}
292300

293301
[DataMember(Name = "access_grant_id", IsRequired = true, EmitDefaultValue = false)]
294302
public string AccessGrantId { get; set; }
295303

304+
[DataMember(Name = "acs_entrance_id", IsRequired = false, EmitDefaultValue = false)]
305+
public string? AcsEntranceId { get; set; }
306+
307+
[DataMember(Name = "device_id", IsRequired = false, EmitDefaultValue = false)]
308+
public string? DeviceId { get; set; }
309+
310+
[DataMember(Name = "space_id", IsRequired = false, EmitDefaultValue = false)]
311+
public string? SpaceId { get; set; }
312+
296313
public override string ToString()
297314
{
298315
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
@@ -356,9 +373,21 @@ public List<AccessMethod> List(ListRequest request)
356373
.Data.AccessMethods;
357374
}
358375

359-
public List<AccessMethod> List(string accessGrantId = default)
376+
public List<AccessMethod> List(
377+
string accessGrantId = default,
378+
string? acsEntranceId = default,
379+
string? deviceId = default,
380+
string? spaceId = default
381+
)
360382
{
361-
return List(new ListRequest(accessGrantId: accessGrantId));
383+
return List(
384+
new ListRequest(
385+
accessGrantId: accessGrantId,
386+
acsEntranceId: acsEntranceId,
387+
deviceId: deviceId,
388+
spaceId: spaceId
389+
)
390+
);
362391
}
363392

364393
public async Task<List<AccessMethod>> ListAsync(ListRequest request)
@@ -370,9 +399,23 @@ public async Task<List<AccessMethod>> ListAsync(ListRequest request)
370399
.AccessMethods;
371400
}
372401

373-
public async Task<List<AccessMethod>> ListAsync(string accessGrantId = default)
402+
public async Task<List<AccessMethod>> ListAsync(
403+
string accessGrantId = default,
404+
string? acsEntranceId = default,
405+
string? deviceId = default,
406+
string? spaceId = default
407+
)
374408
{
375-
return (await ListAsync(new ListRequest(accessGrantId: accessGrantId)));
409+
return (
410+
await ListAsync(
411+
new ListRequest(
412+
accessGrantId: accessGrantId,
413+
acsEntranceId: acsEntranceId,
414+
deviceId: deviceId,
415+
spaceId: spaceId
416+
)
417+
)
418+
);
376419
}
377420
}
378421
}

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

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public CreateRequest(
3131
object? customMetadata = default,
3232
string? customRedirectFailureUrl = default,
3333
string? customRedirectUrl = default,
34-
string? customerId = default,
34+
string? customerKey = default,
3535
CreateRequest.DeviceSelectionModeEnum? deviceSelectionMode = default,
3636
CreateRequest.ProviderCategoryEnum? providerCategory = default,
3737
bool? waitForDeviceCreation = default
@@ -43,7 +43,7 @@ public CreateRequest(
4343
CustomMetadata = customMetadata;
4444
CustomRedirectFailureUrl = customRedirectFailureUrl;
4545
CustomRedirectUrl = customRedirectUrl;
46-
CustomerId = customerId;
46+
CustomerKey = customerKey;
4747
DeviceSelectionMode = deviceSelectionMode;
4848
ProviderCategory = providerCategory;
4949
WaitForDeviceCreation = waitForDeviceCreation;
@@ -296,8 +296,8 @@ public enum ProviderCategoryEnum
296296
[DataMember(Name = "custom_redirect_url", IsRequired = false, EmitDefaultValue = false)]
297297
public string? CustomRedirectUrl { get; set; }
298298

299-
[DataMember(Name = "customer_id", IsRequired = false, EmitDefaultValue = false)]
300-
public string? CustomerId { get; set; }
299+
[DataMember(Name = "customer_key", IsRequired = false, EmitDefaultValue = false)]
300+
public string? CustomerKey { get; set; }
301301

302302
[DataMember(
303303
Name = "device_selection_mode",
@@ -386,7 +386,7 @@ public ConnectWebview Create(
386386
object? customMetadata = default,
387387
string? customRedirectFailureUrl = default,
388388
string? customRedirectUrl = default,
389-
string? customerId = default,
389+
string? customerKey = default,
390390
CreateRequest.DeviceSelectionModeEnum? deviceSelectionMode = default,
391391
CreateRequest.ProviderCategoryEnum? providerCategory = default,
392392
bool? waitForDeviceCreation = default
@@ -400,7 +400,7 @@ public ConnectWebview Create(
400400
customMetadata: customMetadata,
401401
customRedirectFailureUrl: customRedirectFailureUrl,
402402
customRedirectUrl: customRedirectUrl,
403-
customerId: customerId,
403+
customerKey: customerKey,
404404
deviceSelectionMode: deviceSelectionMode,
405405
providerCategory: providerCategory,
406406
waitForDeviceCreation: waitForDeviceCreation
@@ -426,7 +426,7 @@ public async Task<ConnectWebview> CreateAsync(
426426
object? customMetadata = default,
427427
string? customRedirectFailureUrl = default,
428428
string? customRedirectUrl = default,
429-
string? customerId = default,
429+
string? customerKey = default,
430430
CreateRequest.DeviceSelectionModeEnum? deviceSelectionMode = default,
431431
CreateRequest.ProviderCategoryEnum? providerCategory = default,
432432
bool? waitForDeviceCreation = default
@@ -441,7 +441,7 @@ await CreateAsync(
441441
customMetadata: customMetadata,
442442
customRedirectFailureUrl: customRedirectFailureUrl,
443443
customRedirectUrl: customRedirectUrl,
444-
customerId: customerId,
444+
customerKey: customerKey,
445445
deviceSelectionMode: deviceSelectionMode,
446446
providerCategory: providerCategory,
447447
waitForDeviceCreation: waitForDeviceCreation
@@ -612,14 +612,12 @@ protected ListRequest() { }
612612

613613
public ListRequest(
614614
object? customMetadataHas = default,
615-
List<string>? customerIds = default,
616615
float? limit = default,
617616
string? pageCursor = default,
618617
string? userIdentifierKey = default
619618
)
620619
{
621620
CustomMetadataHas = customMetadataHas;
622-
CustomerIds = customerIds;
623621
Limit = limit;
624622
PageCursor = pageCursor;
625623
UserIdentifierKey = userIdentifierKey;
@@ -628,9 +626,6 @@ public ListRequest(
628626
[DataMember(Name = "custom_metadata_has", IsRequired = false, EmitDefaultValue = false)]
629627
public object? CustomMetadataHas { get; set; }
630628

631-
[DataMember(Name = "customer_ids", IsRequired = false, EmitDefaultValue = false)]
632-
public List<string>? CustomerIds { get; set; }
633-
634629
[DataMember(Name = "limit", IsRequired = false, EmitDefaultValue = false)]
635630
public float? Limit { get; set; }
636631

@@ -705,7 +700,6 @@ public List<ConnectWebview> List(ListRequest request)
705700

706701
public List<ConnectWebview> List(
707702
object? customMetadataHas = default,
708-
List<string>? customerIds = default,
709703
float? limit = default,
710704
string? pageCursor = default,
711705
string? userIdentifierKey = default
@@ -714,7 +708,6 @@ public List<ConnectWebview> List(
714708
return List(
715709
new ListRequest(
716710
customMetadataHas: customMetadataHas,
717-
customerIds: customerIds,
718711
limit: limit,
719712
pageCursor: pageCursor,
720713
userIdentifierKey: userIdentifierKey
@@ -733,7 +726,6 @@ public async Task<List<ConnectWebview>> ListAsync(ListRequest request)
733726

734727
public async Task<List<ConnectWebview>> ListAsync(
735728
object? customMetadataHas = default,
736-
List<string>? customerIds = default,
737729
float? limit = default,
738730
string? pageCursor = default,
739731
string? userIdentifierKey = default
@@ -743,7 +735,6 @@ public async Task<List<ConnectWebview>> ListAsync(
743735
await ListAsync(
744736
new ListRequest(
745737
customMetadataHas: customMetadataHas,
746-
customerIds: customerIds,
747738
limit: limit,
748739
pageCursor: pageCursor,
749740
userIdentifierKey: userIdentifierKey

0 commit comments

Comments
 (0)