Skip to content
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
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0"
".": "0.2.0"
}
6 changes: 3 additions & 3 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 183
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zavu/zavudev-5d75bbdcac3a0b0a8b798c0b4ef0dacfbc64ad4a20605489dc46dda7c8d1d8d8.yml
openapi_spec_hash: bb242cfd8cc43354412164c2dceae89c
config_hash: 261e1b852ca7f8364e4a283a3edd350a
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/zavu/zavudev-e6e18b26cd123fcd2dcaf3554352c9aa1aa890768d7928fa117382f0b4ca89aa.yml
openapi_spec_hash: 6bc9a1491dec8d8157477abeb4aa8f3c
config_hash: f6a05e2edf2cd1af3f762b8ac759b9a7
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## 0.2.0 (2026-09-20)

Full Changelog: [v0.1.0...v0.2.0](https://github.com/zavudev/sdk-csharp/compare/v0.1.0...v0.2.0)

### Features

* **api:** api update ([5fb8697](https://github.com/zavudev/sdk-csharp/commit/5fb8697f9affa1b561efce67b6be0f56d13677fb))
* **api:** api update ([da0a2c0](https://github.com/zavudev/sdk-csharp/commit/da0a2c07b9299dcaa0c1ae7c078e5642ca679531))
* **api:** api update ([d73876e](https://github.com/zavudev/sdk-csharp/commit/d73876e64f5cf89766a28baddb7979576157c928))
* **api:** api update ([2c961fc](https://github.com/zavudev/sdk-csharp/commit/2c961fc5c02d0de95ec3c4dbed98333f097818f8))
* **api:** api update ([3e405cc](https://github.com/zavudev/sdk-csharp/commit/3e405cc8b4b01a0e4ac758f7f2d45b9a81d4f80c))
* **api:** api update ([0d869f1](https://github.com/zavudev/sdk-csharp/commit/0d869f1ea9fd1fc2049483bfd76d6ce8803df627))
* **api:** api update ([415d31d](https://github.com/zavudev/sdk-csharp/commit/415d31dbddf1211b0ce0fe66310f5c1e453c2de4))
* **api:** api update ([5456b2c](https://github.com/zavudev/sdk-csharp/commit/5456b2c8998185dff2f91bf699cc506f32c02864))
* **api:** api update ([01367bb](https://github.com/zavudev/sdk-csharp/commit/01367bbf6af82761f861601a214216e503fdd481))
* **api:** api update ([710ab9f](https://github.com/zavudev/sdk-csharp/commit/710ab9f1f328f1aeef304b058650140f0f0285db))
* **api:** api update ([c1e8938](https://github.com/zavudev/sdk-csharp/commit/c1e89384e72a0a05e2a94819a2e8656872a804e2))

## 0.1.0 (2026-09-08)

Full Changelog: [v0.0.2...v0.1.0](https://github.com/zavudev/sdk-csharp/compare/v0.0.2...v0.1.0)
Expand Down
32 changes: 14 additions & 18 deletions src/Zavudev.Tests/Models/Addresses/AddressCreateParamsTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,35 @@ public void FieldRoundtrip_Works()
var parameters = new AddressCreateParams
{
CountryCode = "DE",
FirstName = "John",
LastName = "Doe",
Locality = "Berlin",
PostalCode = "10115",
StreetAddress = "123 Main St",
AdministrativeArea = "administrativeArea",
BusinessName = "businessName",
ExtendedAddress = "extendedAddress",
FirstName = "John",
LastName = "Doe",
};

string expectedCountryCode = "DE";
string expectedFirstName = "John";
string expectedLastName = "Doe";
string expectedLocality = "Berlin";
string expectedPostalCode = "10115";
string expectedStreetAddress = "123 Main St";
string expectedAdministrativeArea = "administrativeArea";
string expectedBusinessName = "businessName";
string expectedExtendedAddress = "extendedAddress";
string expectedFirstName = "John";
string expectedLastName = "Doe";

Assert.Equal(expectedCountryCode, parameters.CountryCode);
Assert.Equal(expectedFirstName, parameters.FirstName);
Assert.Equal(expectedLastName, parameters.LastName);
Assert.Equal(expectedLocality, parameters.Locality);
Assert.Equal(expectedPostalCode, parameters.PostalCode);
Assert.Equal(expectedStreetAddress, parameters.StreetAddress);
Assert.Equal(expectedAdministrativeArea, parameters.AdministrativeArea);
Assert.Equal(expectedBusinessName, parameters.BusinessName);
Assert.Equal(expectedExtendedAddress, parameters.ExtendedAddress);
Assert.Equal(expectedFirstName, parameters.FirstName);
Assert.Equal(expectedLastName, parameters.LastName);
}

[Fact]
Expand All @@ -48,6 +48,8 @@ public void OptionalNonNullableParamsUnsetAreNotSet_Works()
var parameters = new AddressCreateParams
{
CountryCode = "DE",
FirstName = "John",
LastName = "Doe",
Locality = "Berlin",
PostalCode = "10115",
StreetAddress = "123 Main St",
Expand All @@ -59,10 +61,6 @@ public void OptionalNonNullableParamsUnsetAreNotSet_Works()
Assert.False(parameters.RawBodyData.ContainsKey("businessName"));
Assert.Null(parameters.ExtendedAddress);
Assert.False(parameters.RawBodyData.ContainsKey("extendedAddress"));
Assert.Null(parameters.FirstName);
Assert.False(parameters.RawBodyData.ContainsKey("firstName"));
Assert.Null(parameters.LastName);
Assert.False(parameters.RawBodyData.ContainsKey("lastName"));
}

[Fact]
Expand All @@ -71,6 +69,8 @@ public void OptionalNonNullableParamsSetToNullAreNotSet_Works()
var parameters = new AddressCreateParams
{
CountryCode = "DE",
FirstName = "John",
LastName = "Doe",
Locality = "Berlin",
PostalCode = "10115",
StreetAddress = "123 Main St",
Expand All @@ -79,8 +79,6 @@ public void OptionalNonNullableParamsSetToNullAreNotSet_Works()
AdministrativeArea = null,
BusinessName = null,
ExtendedAddress = null,
FirstName = null,
LastName = null,
};

Assert.Null(parameters.AdministrativeArea);
Expand All @@ -89,10 +87,6 @@ public void OptionalNonNullableParamsSetToNullAreNotSet_Works()
Assert.False(parameters.RawBodyData.ContainsKey("businessName"));
Assert.Null(parameters.ExtendedAddress);
Assert.False(parameters.RawBodyData.ContainsKey("extendedAddress"));
Assert.Null(parameters.FirstName);
Assert.False(parameters.RawBodyData.ContainsKey("firstName"));
Assert.Null(parameters.LastName);
Assert.False(parameters.RawBodyData.ContainsKey("lastName"));
}

[Fact]
Expand All @@ -101,6 +95,8 @@ public void Url_Works()
AddressCreateParams parameters = new()
{
CountryCode = "DE",
FirstName = "John",
LastName = "Doe",
Locality = "Berlin",
PostalCode = "10115",
StreetAddress = "123 Main St",
Expand All @@ -117,14 +113,14 @@ public void CopyConstructor_Works()
var parameters = new AddressCreateParams
{
CountryCode = "DE",
FirstName = "John",
LastName = "Doe",
Locality = "Berlin",
PostalCode = "10115",
StreetAddress = "123 Main St",
AdministrativeArea = "administrativeArea",
BusinessName = "businessName",
ExtendedAddress = "extendedAddress",
FirstName = "John",
LastName = "Doe",
};

AddressCreateParams copied = new(parameters);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void FieldRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -107,6 +108,7 @@ public void FieldRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -167,6 +169,7 @@ public void SerializationRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -234,6 +237,7 @@ public void FieldRoundtripThroughSerialization_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -288,6 +292,7 @@ public void FieldRoundtripThroughSerialization_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -348,6 +353,7 @@ public void Validation_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -409,6 +415,7 @@ public void CopyConstructor_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class BroadcastContactStatusTest : TestBase
[InlineData(BroadcastContactStatus.Pending)]
[InlineData(BroadcastContactStatus.Queued)]
[InlineData(BroadcastContactStatus.Sending)]
[InlineData(BroadcastContactStatus.Sent)]
[InlineData(BroadcastContactStatus.Delivered)]
[InlineData(BroadcastContactStatus.Failed)]
[InlineData(BroadcastContactStatus.Skipped)]
Expand All @@ -37,6 +38,7 @@ public void InvalidEnumValidationThrows_Works()
[InlineData(BroadcastContactStatus.Pending)]
[InlineData(BroadcastContactStatus.Queued)]
[InlineData(BroadcastContactStatus.Sending)]
[InlineData(BroadcastContactStatus.Sent)]
[InlineData(BroadcastContactStatus.Delivered)]
[InlineData(BroadcastContactStatus.Failed)]
[InlineData(BroadcastContactStatus.Skipped)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void FieldRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -107,6 +108,7 @@ public void FieldRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -167,6 +169,7 @@ public void SerializationRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -234,6 +237,7 @@ public void FieldRoundtripThroughSerialization_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -288,6 +292,7 @@ public void FieldRoundtripThroughSerialization_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -348,6 +353,7 @@ public void Validation_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -409,6 +415,7 @@ public void CopyConstructor_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public void FieldRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -107,6 +108,7 @@ public void FieldRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -167,6 +169,7 @@ public void SerializationRoundtrip_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -234,6 +237,7 @@ public void FieldRoundtripThroughSerialization_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -288,6 +292,7 @@ public void FieldRoundtripThroughSerialization_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -348,6 +353,7 @@ public void Validation_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down Expand Up @@ -409,6 +415,7 @@ public void CopyConstructor_Works()
ScheduledAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
SenderID = "senderId",
SendingCount = 0,
SentCount = 0,
StartedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Text = "text",
UpdatedAt = DateTimeOffset.Parse("2019-12-27T18:11:19.117Z"),
Expand Down
Loading
Loading