Skip to content

Commit 7df3f41

Browse files
feat(deps-dev): bump @seamapi/types from 1.311.1 to 1.313.0 in the seam group (#56)
* 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.311.1 to 1.313.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](seamapi/types@v1.311.1...v1.313.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-type: direct:development update-type: version-update:semver-minor dependency-group: seam ... Signed-off-by: dependabot[bot] <support@github.com> * ci: Generate code --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Seam Bot <seambot@getseam.com>
1 parent 303d934 commit 7df3f41

File tree

6 files changed

+5264
-99
lines changed

6 files changed

+5264
-99
lines changed

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

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -150,21 +150,14 @@ public class ScanCredentialRequest
150150
[JsonConstructorAttribute]
151151
protected ScanCredentialRequest() { }
152152

153-
public ScanCredentialRequest(
154-
string acsEncoderId = default,
155-
string acsSystemId = default
156-
)
153+
public ScanCredentialRequest(string acsEncoderId = default)
157154
{
158155
AcsEncoderId = acsEncoderId;
159-
AcsSystemId = acsSystemId;
160156
}
161157

162158
[DataMember(Name = "acs_encoder_id", IsRequired = true, EmitDefaultValue = false)]
163159
public string AcsEncoderId { get; set; }
164160

165-
[DataMember(Name = "acs_system_id", IsRequired = true, EmitDefaultValue = false)]
166-
public string AcsSystemId { get; set; }
167-
168161
public override string ToString()
169162
{
170163
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
@@ -228,14 +221,9 @@ public ActionAttempt ScanCredential(ScanCredentialRequest request)
228221
.Data.ActionAttempt;
229222
}
230223

231-
public ActionAttempt ScanCredential(
232-
string acsEncoderId = default,
233-
string acsSystemId = default
234-
)
224+
public ActionAttempt ScanCredential(string acsEncoderId = default)
235225
{
236-
return ScanCredential(
237-
new ScanCredentialRequest(acsEncoderId: acsEncoderId, acsSystemId: acsSystemId)
238-
);
226+
return ScanCredential(new ScanCredentialRequest(acsEncoderId: acsEncoderId));
239227
}
240228

241229
public async Task<ActionAttempt> ScanCredentialAsync(ScanCredentialRequest request)
@@ -252,15 +240,10 @@ await _seam.PostAsync<ScanCredentialResponse>(
252240
.ActionAttempt;
253241
}
254242

255-
public async Task<ActionAttempt> ScanCredentialAsync(
256-
string acsEncoderId = default,
257-
string acsSystemId = default
258-
)
243+
public async Task<ActionAttempt> ScanCredentialAsync(string acsEncoderId = default)
259244
{
260245
return (
261-
await ScanCredentialAsync(
262-
new ScanCredentialRequest(acsEncoderId: acsEncoderId, acsSystemId: acsSystemId)
263-
)
246+
await ScanCredentialAsync(new ScanCredentialRequest(acsEncoderId: acsEncoderId))
264247
);
265248
}
266249
}

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public CreateRequest(
108108
string acsSystemId = default,
109109
string? email = default,
110110
string? emailAddress = default,
111-
string? fullName = default,
111+
string fullName = default,
112112
string? phoneNumber = default,
113113
string? userIdentityId = default
114114
)
@@ -142,8 +142,8 @@ public CreateRequest(
142142
[DataMember(Name = "email_address", IsRequired = false, EmitDefaultValue = false)]
143143
public string? EmailAddress { get; set; }
144144

145-
[DataMember(Name = "full_name", IsRequired = false, EmitDefaultValue = false)]
146-
public string? FullName { get; set; }
145+
[DataMember(Name = "full_name", IsRequired = true, EmitDefaultValue = false)]
146+
public string FullName { get; set; }
147147

148148
[DataMember(Name = "phone_number", IsRequired = false, EmitDefaultValue = false)]
149149
public string? PhoneNumber { get; set; }
@@ -256,7 +256,7 @@ public AcsUser Create(
256256
string acsSystemId = default,
257257
string? email = default,
258258
string? emailAddress = default,
259-
string? fullName = default,
259+
string fullName = default,
260260
string? phoneNumber = default,
261261
string? userIdentityId = default
262262
)
@@ -290,7 +290,7 @@ public async Task<AcsUser> CreateAsync(
290290
string acsSystemId = default,
291291
string? email = default,
292292
string? emailAddress = default,
293-
string? fullName = default,
293+
string fullName = default,
294294
string? phoneNumber = default,
295295
string? userIdentityId = default
296296
)

0 commit comments

Comments
 (0)