Skip to content

feat(deps-dev): bump @seamapi/types from 1.452.0 to 1.454.0 in the seam group #241

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 32 additions & 3 deletions output/csharp/src/Seam/Api/UnmanagedAccessCodes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -327,15 +327,28 @@ public class ListRequest
[JsonConstructorAttribute]
protected ListRequest() { }

public ListRequest(string deviceId = default, string? userIdentifierKey = default)
public ListRequest(
string deviceId = default,
float? limit = default,
string? pageCursor = default,
string? userIdentifierKey = default
)
{
DeviceId = deviceId;
Limit = limit;
PageCursor = pageCursor;
UserIdentifierKey = userIdentifierKey;
}

[DataMember(Name = "device_id", IsRequired = true, EmitDefaultValue = false)]
public string DeviceId { get; set; }

[DataMember(Name = "limit", IsRequired = false, EmitDefaultValue = false)]
public float? Limit { get; set; }

[DataMember(Name = "page_cursor", IsRequired = false, EmitDefaultValue = false)]
public string? PageCursor { get; set; }

[DataMember(Name = "user_identifier_key", IsRequired = false, EmitDefaultValue = false)]
public string? UserIdentifierKey { get; set; }

Expand Down Expand Up @@ -404,10 +417,19 @@ public List<UnmanagedAccessCode> List(ListRequest request)

public List<UnmanagedAccessCode> List(
string deviceId = default,
float? limit = default,
string? pageCursor = default,
string? userIdentifierKey = default
)
{
return List(new ListRequest(deviceId: deviceId, userIdentifierKey: userIdentifierKey));
return List(
new ListRequest(
deviceId: deviceId,
limit: limit,
pageCursor: pageCursor,
userIdentifierKey: userIdentifierKey
)
);
}

public async Task<List<UnmanagedAccessCode>> ListAsync(ListRequest request)
Expand All @@ -423,12 +445,19 @@ await _seam.PostAsync<ListResponse>("/access_codes/unmanaged/list", requestOptio

public async Task<List<UnmanagedAccessCode>> ListAsync(
string deviceId = default,
float? limit = default,
string? pageCursor = default,
string? userIdentifierKey = default
)
{
return (
await ListAsync(
new ListRequest(deviceId: deviceId, userIdentifierKey: userIdentifierKey)
new ListRequest(
deviceId: deviceId,
limit: limit,
pageCursor: pageCursor,
userIdentifierKey: userIdentifierKey
)
)
);
}
Expand Down
2 changes: 1 addition & 1 deletion output/csharp/src/Seam/Seam.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<PackageId>Seam</PackageId>

<PackageVersion>0.91.0</PackageVersion>
<PackageVersion>0.92.0</PackageVersion>

<Authors>Seam</Authors>

Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
},
"devDependencies": {
"@seamapi/nextlove-sdk-generator": "^1.19.0",
"@seamapi/types": "^1.452.0",
"@seamapi/types": "^1.454.0",
"@types/node": "^18.19.11",
"ava": "^5.0.1",
"axios": "^1.5.0",
Expand Down
Loading