seam 2.161.0 → 2.162.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/lib/seam/routes/customers.rb +3 -2
- data/lib/seam/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1c584e47f5ef76f0e3f43ea6a6ca167a23bcf848ebe614cf236e8394c2c5a101
|
|
4
|
+
data.tar.gz: 9e8cea414d365f7f115155795f3bbd37ec6088b6dfe0cece63c0f664f5b23a5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4e63b5a42ac6389fa49bb98a30f5b20c1b1c226f425033f9512a6998e19adf05a5dfed0e7dd850d63e17f13d766a24fb6bea0fec53ed2d277b163aba29f21bc0
|
|
7
|
+
data.tar.gz: ef0eb334e30883a57f72a9dd9fa720a1e8f0205f3de1a484ac84ddc39d1cd00111dd80a9e5afc8713cee3fad610e4ff9d566b2f83b7f33fcf25ac58086c65ec5
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
seam (2.
|
|
4
|
+
seam (2.162.0)
|
|
5
5
|
faraday (~> 2.7)
|
|
6
6
|
faraday-retry (~> 2.2)
|
|
7
7
|
svix (~> 1.30)
|
|
@@ -171,7 +171,7 @@ CHECKSUMS
|
|
|
171
171
|
rubocop-ast (1.50.0) sha256=b9ca88300da0803ee222ad20cdb30494c0a784eed06fdc35d254b06d662788db
|
|
172
172
|
rubocop-performance (1.26.1) sha256=cd19b936ff196df85829d264b522fd4f98b6c89ad271fa52744a8c11b8f71834
|
|
173
173
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
|
174
|
-
seam (2.
|
|
174
|
+
seam (2.162.0)
|
|
175
175
|
simplecov (1.1.1) sha256=25825ef13f0b2e74694d769817dad6ab8e90131dabdaa666e522fea105521e78
|
|
176
176
|
simplecov-console (0.9.5) sha256=b1108bcfff5f210143e2b8301698c367b01586f20d25a73e95475a5df6fc6ff6
|
|
177
177
|
standard (1.56.0) sha256=ae2af4d9669589162ac69ed5ef59dcf9f346d4afc81f7e62b84339310dfcb787
|
|
@@ -61,6 +61,7 @@ module Seam
|
|
|
61
61
|
# @param bookings [Array<Hash>, nil] List of bookings.
|
|
62
62
|
# @param buildings [Array<Hash>, nil] List of buildings.
|
|
63
63
|
# @param common_areas [Array<Hash>, nil] List of shared common areas.
|
|
64
|
+
# @param customization_profile_id [String, Seam::Null, nil] ID of the customization profile to use for this customer. Access grants that automations create for this customer use this profile. Pass `null` to remove the customer's customization profile.
|
|
64
65
|
# @param facilities [Array<Hash>, nil] List of gym or fitness facilities.
|
|
65
66
|
# @param guests [Array<Hash>, nil] List of guests.
|
|
66
67
|
# @param listings [Array<Hash>, nil] List of property listings.
|
|
@@ -77,8 +78,8 @@ module Seam
|
|
|
77
78
|
# @param user_identities [Array<Hash>, nil] List of user identities.
|
|
78
79
|
# @param users [Array<Hash>, nil] List of users.
|
|
79
80
|
# @return [nil] OK
|
|
80
|
-
def push_data(customer_key:, access_grants: nil, bookings: nil, buildings: nil, common_areas: nil, facilities: nil, guests: nil, listings: nil, properties: nil, property_listings: nil, reservations: nil, residents: nil, rooms: nil, sites: nil, spaces: nil, staff_members: nil, tenants: nil, units: nil, user_identities: nil, users: nil)
|
|
81
|
-
@client.post("/customers/push_data", {customer_key: customer_key, access_grants: access_grants, bookings: bookings, buildings: buildings, common_areas: common_areas, facilities: facilities, guests: guests, listings: listings, properties: properties, property_listings: property_listings, reservations: reservations, residents: residents, rooms: rooms, sites: sites, spaces: spaces, staff_members: staff_members, tenants: tenants, units: units, user_identities: user_identities, users: users}.compact)
|
|
81
|
+
def push_data(customer_key:, access_grants: nil, bookings: nil, buildings: nil, common_areas: nil, customization_profile_id: nil, facilities: nil, guests: nil, listings: nil, properties: nil, property_listings: nil, reservations: nil, residents: nil, rooms: nil, sites: nil, spaces: nil, staff_members: nil, tenants: nil, units: nil, user_identities: nil, users: nil)
|
|
82
|
+
@client.post("/customers/push_data", {customer_key: customer_key, access_grants: access_grants, bookings: bookings, buildings: buildings, common_areas: common_areas, customization_profile_id: customization_profile_id, facilities: facilities, guests: guests, listings: listings, properties: properties, property_listings: property_listings, reservations: reservations, residents: residents, rooms: rooms, sites: sites, spaces: spaces, staff_members: staff_members, tenants: tenants, units: units, user_identities: user_identities, users: users}.compact)
|
|
82
83
|
|
|
83
84
|
nil
|
|
84
85
|
end
|
data/lib/seam/version.rb
CHANGED