Skip to content

Commit a58b792

Browse files
feat(deps-dev): bump @seamapi/types from 1.431.0 to 1.433.0 in the seam group (#226)
* 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.431.0 to 1.433.0 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](seamapi/types@v1.431.0...v1.433.0) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.433.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 4aa7bec commit a58b792

File tree

5 files changed

+95
-44
lines changed

5 files changed

+95
-44
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ public ListRequest(
213213
string? accessMethodId = default,
214214
string? acsCredentialId = default,
215215
string? acsSystemId = default,
216+
string? connectedAccountId = default,
216217
string? locationId = default,
217218
string? spaceId = default
218219
)
@@ -221,6 +222,7 @@ public ListRequest(
221222
AccessMethodId = accessMethodId;
222223
AcsCredentialId = acsCredentialId;
223224
AcsSystemId = acsSystemId;
225+
ConnectedAccountId = connectedAccountId;
224226
LocationId = locationId;
225227
SpaceId = spaceId;
226228
}
@@ -237,6 +239,13 @@ public ListRequest(
237239
[DataMember(Name = "acs_system_id", IsRequired = false, EmitDefaultValue = false)]
238240
public string? AcsSystemId { get; set; }
239241

242+
[DataMember(
243+
Name = "connected_account_id",
244+
IsRequired = false,
245+
EmitDefaultValue = false
246+
)]
247+
public string? ConnectedAccountId { get; set; }
248+
240249
[DataMember(Name = "location_id", IsRequired = false, EmitDefaultValue = false)]
241250
public string? LocationId { get; set; }
242251

@@ -311,6 +320,7 @@ public List<AcsEntrance> List(
311320
string? accessMethodId = default,
312321
string? acsCredentialId = default,
313322
string? acsSystemId = default,
323+
string? connectedAccountId = default,
314324
string? locationId = default,
315325
string? spaceId = default
316326
)
@@ -321,6 +331,7 @@ public List<AcsEntrance> List(
321331
accessMethodId: accessMethodId,
322332
acsCredentialId: acsCredentialId,
323333
acsSystemId: acsSystemId,
334+
connectedAccountId: connectedAccountId,
324335
locationId: locationId,
325336
spaceId: spaceId
326337
)
@@ -341,6 +352,7 @@ public async Task<List<AcsEntrance>> ListAsync(
341352
string? accessMethodId = default,
342353
string? acsCredentialId = default,
343354
string? acsSystemId = default,
355+
string? connectedAccountId = default,
344356
string? locationId = default,
345357
string? spaceId = default
346358
)
@@ -352,6 +364,7 @@ await ListAsync(
352364
accessMethodId: accessMethodId,
353365
acsCredentialId: acsCredentialId,
354366
acsSystemId: acsSystemId,
367+
connectedAccountId: connectedAccountId,
355368
locationId: locationId,
356369
spaceId: spaceId
357370
)

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

Lines changed: 76 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,82 @@ public UserIdentity(
3939
WorkspaceId = workspaceId;
4040
}
4141

42+
[JsonConverter(typeof(JsonSubtypes), "error_code")]
43+
[JsonSubtypes.KnownSubType(
44+
typeof(UserIdentityErrorsIssueWithAcsUser),
45+
"issue_with_acs_user"
46+
)]
47+
public abstract class UserIdentityErrors
48+
{
49+
public abstract string ErrorCode { get; }
50+
51+
public abstract string AcsSystemId { get; set; }
52+
53+
public abstract string AcsUserId { get; set; }
54+
55+
public abstract string CreatedAt { get; set; }
56+
57+
public abstract string Message { get; set; }
58+
59+
public abstract override string ToString();
60+
}
61+
62+
[DataContract(Name = "seamModel_userIdentityErrorsIssueWithAcsUser_model")]
63+
public class UserIdentityErrorsIssueWithAcsUser : UserIdentityErrors
64+
{
65+
[JsonConstructorAttribute]
66+
protected UserIdentityErrorsIssueWithAcsUser() { }
67+
68+
public UserIdentityErrorsIssueWithAcsUser(
69+
string acsSystemId = default,
70+
string acsUserId = default,
71+
string createdAt = default,
72+
string errorCode = default,
73+
string message = default
74+
)
75+
{
76+
AcsSystemId = acsSystemId;
77+
AcsUserId = acsUserId;
78+
CreatedAt = createdAt;
79+
ErrorCode = errorCode;
80+
Message = message;
81+
}
82+
83+
[DataMember(Name = "acs_system_id", IsRequired = true, EmitDefaultValue = false)]
84+
public override string AcsSystemId { get; set; }
85+
86+
[DataMember(Name = "acs_user_id", IsRequired = true, EmitDefaultValue = false)]
87+
public override string AcsUserId { get; set; }
88+
89+
[DataMember(Name = "created_at", IsRequired = true, EmitDefaultValue = false)]
90+
public override string CreatedAt { get; set; }
91+
92+
[DataMember(Name = "error_code", IsRequired = true, EmitDefaultValue = false)]
93+
public override string ErrorCode { get; } = "issue_with_acs_user";
94+
95+
[DataMember(Name = "message", IsRequired = true, EmitDefaultValue = false)]
96+
public override string Message { get; set; }
97+
98+
public override string ToString()
99+
{
100+
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
101+
102+
StringWriter stringWriter = new StringWriter(
103+
new StringBuilder(256),
104+
System.Globalization.CultureInfo.InvariantCulture
105+
);
106+
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
107+
{
108+
jsonTextWriter.IndentChar = ' ';
109+
jsonTextWriter.Indentation = 2;
110+
jsonTextWriter.Formatting = Formatting.Indented;
111+
jsonSerializer.Serialize(jsonTextWriter, this, null);
112+
}
113+
114+
return stringWriter.ToString();
115+
}
116+
}
117+
42118
[JsonConverter(typeof(JsonSubtypes), "warning_code")]
43119
[JsonSubtypes.KnownSubType(typeof(UserIdentityWarningsBeingDeleted), "being_deleted")]
44120
public abstract class UserIdentityWarnings
@@ -147,42 +223,4 @@ public override string ToString()
147223
return stringWriter.ToString();
148224
}
149225
}
150-
151-
[DataContract(Name = "seamModel_userIdentityErrors_model")]
152-
public class UserIdentityErrors
153-
{
154-
[JsonConstructorAttribute]
155-
protected UserIdentityErrors() { }
156-
157-
public UserIdentityErrors(string createdAt = default, string message = default)
158-
{
159-
CreatedAt = createdAt;
160-
Message = message;
161-
}
162-
163-
[DataMember(Name = "created_at", IsRequired = true, EmitDefaultValue = false)]
164-
public string CreatedAt { get; set; }
165-
166-
[DataMember(Name = "message", IsRequired = true, EmitDefaultValue = false)]
167-
public string Message { get; set; }
168-
169-
public override string ToString()
170-
{
171-
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
172-
173-
StringWriter stringWriter = new StringWriter(
174-
new StringBuilder(256),
175-
System.Globalization.CultureInfo.InvariantCulture
176-
);
177-
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
178-
{
179-
jsonTextWriter.IndentChar = ' ';
180-
jsonTextWriter.Indentation = 2;
181-
jsonTextWriter.Formatting = Formatting.Indented;
182-
jsonSerializer.Serialize(jsonTextWriter, this, null);
183-
}
184-
185-
return stringWriter.ToString();
186-
}
187-
}
188226
}

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.82.0</PackageVersion>
10+
<PackageVersion>0.83.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.431.0",
62+
"@seamapi/types": "^1.433.0",
6363
"@types/node": "^18.19.11",
6464
"ava": "^5.0.1",
6565
"axios": "^1.5.0",

0 commit comments

Comments
 (0)