Skip to content

Commit 0d3dba1

Browse files
feat(deps-dev): bump @seamapi/types from 1.423.2 to 1.423.4 in the seam group (#219)
* 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](seamapi/types@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] <[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 f69b0a8 commit 0d3dba1

File tree

4 files changed

+119
-8
lines changed

4 files changed

+119
-8
lines changed

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

Lines changed: 113 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,21 @@ protected CreatePortalRequest() { }
2626

2727
public CreatePortalRequest(
2828
CreatePortalRequestFeatures? features = default,
29+
bool? isEmbedded = default,
2930
CreatePortalRequestCustomerData? customerData = default
3031
)
3132
{
3233
Features = features;
34+
IsEmbedded = isEmbedded;
3335
CustomerData = customerData;
3436
}
3537

3638
[DataMember(Name = "features", IsRequired = false, EmitDefaultValue = false)]
3739
public CreatePortalRequestFeatures? Features { get; set; }
3840

41+
[DataMember(Name = "is_embedded", IsRequired = false, EmitDefaultValue = false)]
42+
public bool? IsEmbedded { get; set; }
43+
3944
[DataMember(Name = "customer_data", IsRequired = false, EmitDefaultValue = false)]
4045
public CreatePortalRequestCustomerData? CustomerData { get; set; }
4146

@@ -223,6 +228,7 @@ public CreatePortalRequestCustomerData(
223228
List<CreatePortalRequestCustomerDataGuests>? guests = default,
224229
List<CreatePortalRequestCustomerDataListings>? listings = default,
225230
List<CreatePortalRequestCustomerDataProperties>? properties = default,
231+
List<CreatePortalRequestCustomerDataPropertyListings>? propertyListings = default,
226232
List<CreatePortalRequestCustomerDataReservations>? reservations = default,
227233
List<CreatePortalRequestCustomerDataResidents>? residents = default,
228234
List<CreatePortalRequestCustomerDataRooms>? rooms = default,
@@ -242,6 +248,7 @@ public CreatePortalRequestCustomerData(
242248
Guests = guests;
243249
Listings = listings;
244250
Properties = properties;
251+
PropertyListings = propertyListings;
245252
Reservations = reservations;
246253
Residents = residents;
247254
Rooms = rooms;
@@ -279,6 +286,9 @@ public CreatePortalRequestCustomerData(
279286
[DataMember(Name = "properties", IsRequired = false, EmitDefaultValue = false)]
280287
public List<CreatePortalRequestCustomerDataProperties>? Properties { get; set; }
281288

289+
[DataMember(Name = "property_listings", IsRequired = false, EmitDefaultValue = false)]
290+
public List<CreatePortalRequestCustomerDataPropertyListings>? PropertyListings { get; set; }
291+
282292
[DataMember(Name = "reservations", IsRequired = false, EmitDefaultValue = false)]
283293
public List<CreatePortalRequestCustomerDataReservations>? Reservations { get; set; }
284294

@@ -811,6 +821,47 @@ public override string ToString()
811821
}
812822
}
813823

824+
[DataContract(Name = "createPortalRequestCustomerDataPropertyListings_model")]
825+
public class CreatePortalRequestCustomerDataPropertyListings
826+
{
827+
[JsonConstructorAttribute]
828+
protected CreatePortalRequestCustomerDataPropertyListings() { }
829+
830+
public CreatePortalRequestCustomerDataPropertyListings(
831+
string name = default,
832+
string propertyListingKey = default
833+
)
834+
{
835+
Name = name;
836+
PropertyListingKey = propertyListingKey;
837+
}
838+
839+
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = false)]
840+
public string Name { get; set; }
841+
842+
[DataMember(Name = "property_listing_key", IsRequired = true, EmitDefaultValue = false)]
843+
public string PropertyListingKey { get; set; }
844+
845+
public override string ToString()
846+
{
847+
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
848+
849+
StringWriter stringWriter = new StringWriter(
850+
new StringBuilder(256),
851+
System.Globalization.CultureInfo.InvariantCulture
852+
);
853+
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
854+
{
855+
jsonTextWriter.IndentChar = ' ';
856+
jsonTextWriter.Indentation = 2;
857+
jsonTextWriter.Formatting = Formatting.Indented;
858+
jsonSerializer.Serialize(jsonTextWriter, this, null);
859+
}
860+
861+
return stringWriter.ToString();
862+
}
863+
}
864+
814865
[DataContract(Name = "createPortalRequestCustomerDataReservations_model")]
815866
public class CreatePortalRequestCustomerDataReservations
816867
{
@@ -1299,11 +1350,16 @@ public MagicLink CreatePortal(CreatePortalRequest request)
12991350

13001351
public MagicLink CreatePortal(
13011352
CreatePortalRequestFeatures? features = default,
1353+
bool? isEmbedded = default,
13021354
CreatePortalRequestCustomerData? customerData = default
13031355
)
13041356
{
13051357
return CreatePortal(
1306-
new CreatePortalRequest(features: features, customerData: customerData)
1358+
new CreatePortalRequest(
1359+
features: features,
1360+
isEmbedded: isEmbedded,
1361+
customerData: customerData
1362+
)
13071363
);
13081364
}
13091365

@@ -1323,12 +1379,17 @@ await _seam.PostAsync<CreatePortalResponse>(
13231379

13241380
public async Task<MagicLink> CreatePortalAsync(
13251381
CreatePortalRequestFeatures? features = default,
1382+
bool? isEmbedded = default,
13261383
CreatePortalRequestCustomerData? customerData = default
13271384
)
13281385
{
13291386
return (
13301387
await CreatePortalAsync(
1331-
new CreatePortalRequest(features: features, customerData: customerData)
1388+
new CreatePortalRequest(
1389+
features: features,
1390+
isEmbedded: isEmbedded,
1391+
customerData: customerData
1392+
)
13321393
)
13331394
);
13341395
}
@@ -1349,6 +1410,7 @@ public PushDataRequest(
13491410
List<PushDataRequestGuests>? guests = default,
13501411
List<PushDataRequestListings>? listings = default,
13511412
List<PushDataRequestProperties>? properties = default,
1413+
List<PushDataRequestPropertyListings>? propertyListings = default,
13521414
List<PushDataRequestReservations>? reservations = default,
13531415
List<PushDataRequestResidents>? residents = default,
13541416
List<PushDataRequestRooms>? rooms = default,
@@ -1368,6 +1430,7 @@ public PushDataRequest(
13681430
Guests = guests;
13691431
Listings = listings;
13701432
Properties = properties;
1433+
PropertyListings = propertyListings;
13711434
Reservations = reservations;
13721435
Residents = residents;
13731436
Rooms = rooms;
@@ -1405,6 +1468,9 @@ public PushDataRequest(
14051468
[DataMember(Name = "properties", IsRequired = false, EmitDefaultValue = false)]
14061469
public List<PushDataRequestProperties>? Properties { get; set; }
14071470

1471+
[DataMember(Name = "property_listings", IsRequired = false, EmitDefaultValue = false)]
1472+
public List<PushDataRequestPropertyListings>? PropertyListings { get; set; }
1473+
14081474
[DataMember(Name = "reservations", IsRequired = false, EmitDefaultValue = false)]
14091475
public List<PushDataRequestReservations>? Reservations { get; set; }
14101476

@@ -1922,6 +1988,47 @@ public override string ToString()
19221988
}
19231989
}
19241990

1991+
[DataContract(Name = "pushDataRequestPropertyListings_model")]
1992+
public class PushDataRequestPropertyListings
1993+
{
1994+
[JsonConstructorAttribute]
1995+
protected PushDataRequestPropertyListings() { }
1996+
1997+
public PushDataRequestPropertyListings(
1998+
string name = default,
1999+
string propertyListingKey = default
2000+
)
2001+
{
2002+
Name = name;
2003+
PropertyListingKey = propertyListingKey;
2004+
}
2005+
2006+
[DataMember(Name = "name", IsRequired = true, EmitDefaultValue = false)]
2007+
public string Name { get; set; }
2008+
2009+
[DataMember(Name = "property_listing_key", IsRequired = true, EmitDefaultValue = false)]
2010+
public string PropertyListingKey { get; set; }
2011+
2012+
public override string ToString()
2013+
{
2014+
JsonSerializer jsonSerializer = JsonSerializer.CreateDefault(null);
2015+
2016+
StringWriter stringWriter = new StringWriter(
2017+
new StringBuilder(256),
2018+
System.Globalization.CultureInfo.InvariantCulture
2019+
);
2020+
using (JsonTextWriter jsonTextWriter = new JsonTextWriter(stringWriter))
2021+
{
2022+
jsonTextWriter.IndentChar = ' ';
2023+
jsonTextWriter.Indentation = 2;
2024+
jsonTextWriter.Formatting = Formatting.Indented;
2025+
jsonSerializer.Serialize(jsonTextWriter, this, null);
2026+
}
2027+
2028+
return stringWriter.ToString();
2029+
}
2030+
}
2031+
19252032
[DataContract(Name = "pushDataRequestReservations_model")]
19262033
public class PushDataRequestReservations
19272034
{
@@ -2373,6 +2480,7 @@ public void PushData(
23732480
List<PushDataRequestGuests>? guests = default,
23742481
List<PushDataRequestListings>? listings = default,
23752482
List<PushDataRequestProperties>? properties = default,
2483+
List<PushDataRequestPropertyListings>? propertyListings = default,
23762484
List<PushDataRequestReservations>? reservations = default,
23772485
List<PushDataRequestResidents>? residents = default,
23782486
List<PushDataRequestRooms>? rooms = default,
@@ -2394,6 +2502,7 @@ public void PushData(
23942502
guests: guests,
23952503
listings: listings,
23962504
properties: properties,
2505+
propertyListings: propertyListings,
23972506
reservations: reservations,
23982507
residents: residents,
23992508
rooms: rooms,
@@ -2423,6 +2532,7 @@ public async Task PushDataAsync(
24232532
List<PushDataRequestGuests>? guests = default,
24242533
List<PushDataRequestListings>? listings = default,
24252534
List<PushDataRequestProperties>? properties = default,
2535+
List<PushDataRequestPropertyListings>? propertyListings = default,
24262536
List<PushDataRequestReservations>? reservations = default,
24272537
List<PushDataRequestResidents>? residents = default,
24282538
List<PushDataRequestRooms>? rooms = default,
@@ -2444,6 +2554,7 @@ await PushDataAsync(
24442554
guests: guests,
24452555
listings: listings,
24462556
properties: properties,
2557+
propertyListings: propertyListings,
24472558
reservations: reservations,
24482559
residents: residents,
24492560
rooms: rooms,

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.78.0</PackageVersion>
10+
<PackageVersion>0.79.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.423.2",
62+
"@seamapi/types": "^1.423.4",
6363
"@types/node": "^18.19.11",
6464
"ava": "^5.0.1",
6565
"axios": "^1.5.0",

0 commit comments

Comments
 (0)