Skip to content
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

feat(deps-dev): bump @seamapi/types from 1.318.1 to 1.321.1 in the seam group #64

Merged
merged 2 commits into from
Dec 20, 2024
Merged
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
64 changes: 64 additions & 0 deletions output/csharp/src/Seam/Model/AcsAccessGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public AcsAccessGroup(
string externalTypeDisplayName = default,
bool isManaged = default,
string name = default,
List<AcsAccessGroupWarnings> warnings = default,
string workspaceId = default
)
{
Expand All @@ -37,6 +38,7 @@ public AcsAccessGroup(
ExternalTypeDisplayName = externalTypeDisplayName;
IsManaged = isManaged;
Name = name;
Warnings = warnings;
WorkspaceId = workspaceId;
}

Expand All @@ -57,6 +59,9 @@ public enum AccessGroupTypeEnum

[EnumMember(Value = "salto_space_group")]
SaltoSpaceGroup = 4,

[EnumMember(Value = "dormakaba_community_access_group")]
DormakabaCommunityAccessGroup = 5,
}

[JsonConverter(typeof(StringEnumConverter))]
Expand All @@ -76,6 +81,9 @@ public enum ExternalTypeEnum

[EnumMember(Value = "salto_space_group")]
SaltoSpaceGroup = 4,

[EnumMember(Value = "dormakaba_community_access_group")]
DormakabaCommunityAccessGroup = 5,
}

[DataMember(Name = "access_group_type", IsRequired = true, EmitDefaultValue = false)]
Expand Down Expand Up @@ -116,6 +124,9 @@ public enum ExternalTypeEnum
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = false)]
public string Name { get; set; }

[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = false)]
public List<AcsAccessGroupWarnings> Warnings { get; set; }

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

Expand All @@ -138,4 +149,57 @@ public override string ToString()
return stringWriter.ToString();
}
}

[DataContract(Name = "seamModel_acsAccessGroupWarnings_model")]
public class AcsAccessGroupWarnings
{
[JsonConstructorAttribute]
protected AcsAccessGroupWarnings() { }

public AcsAccessGroupWarnings(
string createdAt = default,
string message = default,
AcsAccessGroupWarnings.WarningCodeEnum warningCode = default
)
{
CreatedAt = createdAt;
Message = message;
WarningCode = warningCode;
}

[JsonConverter(typeof(StringEnumConverter))]
public enum WarningCodeEnum
{
[EnumMember(Value = "unknown_issue_with_acs_access_group")]
UnknownIssueWithAcsAccessGroup = 0,
}

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

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

[DataMember(Name = "warning_code", IsRequired = true, EmitDefaultValue = false)]
public AcsAccessGroupWarnings.WarningCodeEnum WarningCode { get; set; }

public override string ToString()
{
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);

StringWriter stringWriter = new StringWriter(
new StringBuilder(256),
System.Globalization.CultureInfo.InvariantCulture
);
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
{
jsonTextWriter.IndentChar = ' ';
jsonTextWriter.Indentation = 2;
jsonTextWriter.Formatting = Formatting.Indented;
jsonSerializer.Serialize(jsonTextWriter, this, null);
}

return stringWriter.ToString();
}
}
}
16 changes: 1 addition & 15 deletions output/csharp/src/Seam/Model/AcsEntrance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,15 +181,11 @@ protected AcsEntranceDormakabaCommunityMetadata() { }

public AcsEntranceDormakabaCommunityMetadata(
string accessPointName = default,
float? commonAreaNumber = default,
List<string>? innerAccessPointsNames = default,
List<string>? leaseIds = default
float? commonAreaNumber = default
)
{
AccessPointName = accessPointName;
CommonAreaNumber = commonAreaNumber;
InnerAccessPointsNames = innerAccessPointsNames;
LeaseIds = leaseIds;
}

[DataMember(Name = "access_point_name", IsRequired = true, EmitDefaultValue = false)]
Expand All @@ -198,16 +194,6 @@ public AcsEntranceDormakabaCommunityMetadata(
[DataMember(Name = "common_area_number", IsRequired = false, EmitDefaultValue = false)]
public float? CommonAreaNumber { get; set; }

[DataMember(
Name = "inner_access_points_names",
IsRequired = false,
EmitDefaultValue = false
)]
public List<string>? InnerAccessPointsNames { get; set; }

[DataMember(Name = "lease_ids", IsRequired = false, EmitDefaultValue = false)]
public List<string>? LeaseIds { get; set; }

public override string ToString()
{
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
Expand Down
42 changes: 2 additions & 40 deletions output/csharp/src/Seam/Model/ConnectedAccount.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public ConnectedAccount(
object? customMetadata = default,
List<ConnectedAccountErrors> errors = default,
ConnectedAccountUserIdentifier? userIdentifier = default,
List<ConnectedAccountWarnings> warnings = default
List<JObject> warnings = default
)
{
AccountType = accountType;
Expand Down Expand Up @@ -69,7 +69,7 @@ public ConnectedAccount(
public ConnectedAccountUserIdentifier? UserIdentifier { get; set; }

[DataMember(Name = "warnings", IsRequired = true, EmitDefaultValue = false)]
public List<ConnectedAccountWarnings> Warnings { get; set; }
public List<JObject> Warnings { get; set; }

public override string ToString()
{
Expand Down Expand Up @@ -196,42 +196,4 @@ public override string ToString()
return stringWriter.ToString();
}
}

[DataContract(Name = "seamModel_connectedAccountWarnings_model")]
public class ConnectedAccountWarnings
{
[JsonConstructorAttribute]
protected ConnectedAccountWarnings() { }

public ConnectedAccountWarnings(string message = default, string warningCode = default)
{
Message = message;
WarningCode = warningCode;
}

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

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

public override string ToString()
{
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);

StringWriter stringWriter = new StringWriter(
new StringBuilder(256),
System.Globalization.CultureInfo.InvariantCulture
);
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
{
jsonTextWriter.IndentChar = ' ';
jsonTextWriter.Indentation = 2;
jsonTextWriter.Formatting = Formatting.Indented;
jsonSerializer.Serialize(jsonTextWriter, this, null);
}

return stringWriter.ToString();
}
}
}
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.15.0</PackageVersion>
<PackageVersion>0.16.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.14.17",
"@seamapi/types": "^1.318.1",
"@seamapi/types": "^1.321.1",
"@types/node": "^18.19.11",
"ava": "^5.0.1",
"axios": "^1.5.0",
Expand Down
Loading