From 7db048af06d2f047282d6d390fe236577fd01e36 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 23:21:13 +0000 Subject: [PATCH 1/2] 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.423.2 to 1.423.4 - [Release notes](https://github.com/seamapi/types/releases) - [Changelog](https://github.com/seamapi/types/blob/main/.releaserc.json) - [Commits](https://github.com/seamapi/types/compare/v1.423.2...v1.423.4) --- updated-dependencies: - dependency-name: "@seamapi/types" dependency-version: 1.423.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: seam ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index db4cf23..8023f27 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,7 +10,7 @@ "license": "SEE LICENSE IN LICENSE.txt", "devDependencies": { "@seamapi/nextlove-sdk-generator": "^1.17.4", - "@seamapi/types": "^1.423.2", + "@seamapi/types": "^1.423.4", "@types/node": "^18.19.11", "ava": "^5.0.1", "axios": "^1.5.0", @@ -1220,9 +1220,9 @@ } }, "node_modules/@seamapi/types": { - "version": "1.423.2", - "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.423.2.tgz", - "integrity": "sha512-EfMNHNE0k3Mp+AgjEDzzmnjsvOf7yrt9qG5ZZkjVqaTGsOAYTRjrRMLFz37s8My+evXn8i0Ry4wijhoXKhFviw==", + "version": "1.423.4", + "resolved": "https://registry.npmjs.org/@seamapi/types/-/types-1.423.4.tgz", + "integrity": "sha512-cZX6y4LKeijIpaUUBJEvN6fO9MsEevrUHT4oQ2kJx5sm9pNJqUR1RSuBktcNBA6zO/na8hZtGo0NrAJxK5KYQw==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index 5d57596..28cd10f 100644 --- a/package.json +++ b/package.json @@ -59,7 +59,7 @@ }, "devDependencies": { "@seamapi/nextlove-sdk-generator": "^1.17.4", - "@seamapi/types": "^1.423.2", + "@seamapi/types": "^1.423.4", "@types/node": "^18.19.11", "ava": "^5.0.1", "axios": "^1.5.0", From 33f80b2e984e170a482c62519a702898dadadae1 Mon Sep 17 00:00:00 2001 From: Seam Bot Date: Tue, 24 Jun 2025 23:21:48 +0000 Subject: [PATCH 2/2] ci: Generate code --- output/csharp/src/Seam/Api/Customers.cs | 115 +++++++++++++++++++++++- output/csharp/src/Seam/Seam.csproj | 2 +- 2 files changed, 114 insertions(+), 3 deletions(-) diff --git a/output/csharp/src/Seam/Api/Customers.cs b/output/csharp/src/Seam/Api/Customers.cs index f112837..8815c45 100644 --- a/output/csharp/src/Seam/Api/Customers.cs +++ b/output/csharp/src/Seam/Api/Customers.cs @@ -26,16 +26,21 @@ protected CreatePortalRequest() { } public CreatePortalRequest( CreatePortalRequestFeatures? features = default, + bool? isEmbedded = default, CreatePortalRequestCustomerData? customerData = default ) { Features = features; + IsEmbedded = isEmbedded; CustomerData = customerData; } [DataMember(Name = "features", IsRequired = false, EmitDefaultValue = false)] public CreatePortalRequestFeatures? Features { get; set; } + [DataMember(Name = "is_embedded", IsRequired = false, EmitDefaultValue = false)] + public bool? IsEmbedded { get; set; } + [DataMember(Name = "customer_data", IsRequired = false, EmitDefaultValue = false)] public CreatePortalRequestCustomerData? CustomerData { get; set; } @@ -223,6 +228,7 @@ public CreatePortalRequestCustomerData( List? guests = default, List? listings = default, List? properties = default, + List? propertyListings = default, List? reservations = default, List? residents = default, List? rooms = default, @@ -242,6 +248,7 @@ public CreatePortalRequestCustomerData( Guests = guests; Listings = listings; Properties = properties; + PropertyListings = propertyListings; Reservations = reservations; Residents = residents; Rooms = rooms; @@ -279,6 +286,9 @@ public CreatePortalRequestCustomerData( [DataMember(Name = "properties", IsRequired = false, EmitDefaultValue = false)] public List? Properties { get; set; } + [DataMember(Name = "property_listings", IsRequired = false, EmitDefaultValue = false)] + public List? PropertyListings { get; set; } + [DataMember(Name = "reservations", IsRequired = false, EmitDefaultValue = false)] public List? Reservations { get; set; } @@ -811,6 +821,47 @@ public override string ToString() } } + [DataContract(Name = "createPortalRequestCustomerDataPropertyListings_model")] + public class CreatePortalRequestCustomerDataPropertyListings + { + [JsonConstructorAttribute] + protected CreatePortalRequestCustomerDataPropertyListings() { } + + public CreatePortalRequestCustomerDataPropertyListings( + string name = default, + string propertyListingKey = default + ) + { + Name = name; + PropertyListingKey = propertyListingKey; + } + + [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = false)] + public string Name { get; set; } + + [DataMember(Name = "property_listing_key", IsRequired = true, EmitDefaultValue = false)] + public string PropertyListingKey { 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(); + } + } + [DataContract(Name = "createPortalRequestCustomerDataReservations_model")] public class CreatePortalRequestCustomerDataReservations { @@ -1299,11 +1350,16 @@ public MagicLink CreatePortal(CreatePortalRequest request) public MagicLink CreatePortal( CreatePortalRequestFeatures? features = default, + bool? isEmbedded = default, CreatePortalRequestCustomerData? customerData = default ) { return CreatePortal( - new CreatePortalRequest(features: features, customerData: customerData) + new CreatePortalRequest( + features: features, + isEmbedded: isEmbedded, + customerData: customerData + ) ); } @@ -1323,12 +1379,17 @@ await _seam.PostAsync( public async Task CreatePortalAsync( CreatePortalRequestFeatures? features = default, + bool? isEmbedded = default, CreatePortalRequestCustomerData? customerData = default ) { return ( await CreatePortalAsync( - new CreatePortalRequest(features: features, customerData: customerData) + new CreatePortalRequest( + features: features, + isEmbedded: isEmbedded, + customerData: customerData + ) ) ); } @@ -1349,6 +1410,7 @@ public PushDataRequest( List? guests = default, List? listings = default, List? properties = default, + List? propertyListings = default, List? reservations = default, List? residents = default, List? rooms = default, @@ -1368,6 +1430,7 @@ public PushDataRequest( Guests = guests; Listings = listings; Properties = properties; + PropertyListings = propertyListings; Reservations = reservations; Residents = residents; Rooms = rooms; @@ -1405,6 +1468,9 @@ public PushDataRequest( [DataMember(Name = "properties", IsRequired = false, EmitDefaultValue = false)] public List? Properties { get; set; } + [DataMember(Name = "property_listings", IsRequired = false, EmitDefaultValue = false)] + public List? PropertyListings { get; set; } + [DataMember(Name = "reservations", IsRequired = false, EmitDefaultValue = false)] public List? Reservations { get; set; } @@ -1922,6 +1988,47 @@ public override string ToString() } } + [DataContract(Name = "pushDataRequestPropertyListings_model")] + public class PushDataRequestPropertyListings + { + [JsonConstructorAttribute] + protected PushDataRequestPropertyListings() { } + + public PushDataRequestPropertyListings( + string name = default, + string propertyListingKey = default + ) + { + Name = name; + PropertyListingKey = propertyListingKey; + } + + [DataMember(Name = "name", IsRequired = true, EmitDefaultValue = false)] + public string Name { get; set; } + + [DataMember(Name = "property_listing_key", IsRequired = true, EmitDefaultValue = false)] + public string PropertyListingKey { 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(); + } + } + [DataContract(Name = "pushDataRequestReservations_model")] public class PushDataRequestReservations { @@ -2373,6 +2480,7 @@ public void PushData( List? guests = default, List? listings = default, List? properties = default, + List? propertyListings = default, List? reservations = default, List? residents = default, List? rooms = default, @@ -2394,6 +2502,7 @@ public void PushData( guests: guests, listings: listings, properties: properties, + propertyListings: propertyListings, reservations: reservations, residents: residents, rooms: rooms, @@ -2423,6 +2532,7 @@ public async Task PushDataAsync( List? guests = default, List? listings = default, List? properties = default, + List? propertyListings = default, List? reservations = default, List? residents = default, List? rooms = default, @@ -2444,6 +2554,7 @@ await PushDataAsync( guests: guests, listings: listings, properties: properties, + propertyListings: propertyListings, reservations: reservations, residents: residents, rooms: rooms, diff --git a/output/csharp/src/Seam/Seam.csproj b/output/csharp/src/Seam/Seam.csproj index 76bdf09..e550a5e 100644 --- a/output/csharp/src/Seam/Seam.csproj +++ b/output/csharp/src/Seam/Seam.csproj @@ -7,7 +7,7 @@ Seam - 0.78.0 + 0.79.0 Seam