amsi 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.txt +1 -0
- data/README.md +1 -1
- data/lib/amsi/utils/snowflake_event_tracker.rb +2 -2
- data/lib/amsi/validator/base.rb +2 -0
- data/lib/amsi/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: beca1ea33e01cd5f15966401b03023ed05e1435d6ca8240380a5007970d274ac
|
4
|
+
data.tar.gz: e2ada1c1cb36033169bae701676efb3bac43ab3686752619dbec4db008dc2070
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 89fda03b62a9b2d7dfcb7066b985286f47dec11da69d384c38346069a61c8022bc4f4323167c843438a61f540cb6a4d0f58ea068aae54e76466233539f80564d
|
7
|
+
data.tar.gz: 0c37beaaf6996a7a3a54540f6de820da33e79a5fbf65d8518c8a6f67ba230246895b33179b6bedfd0d5cbbf6009999a0bf71fdeb2cd189860db5bf68f81f3667
|
data/CHANGELOG.txt
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
* 1.0.1 Set the service on snowflake events
|
1
2
|
* 1.0.0 Add eventing gem and track import_pms_resident and import_pms_prospect events for each occupant on GetPropertyResidents
|
2
3
|
* 0.12.0 Add lead_source_code, lead_date and lead_id to Model::Lease
|
3
4
|
* 0.11.5 Raise Amsi::Error::UnparsableResponse error when xml response can't be parsed
|
data/README.md
CHANGED
@@ -115,7 +115,7 @@ Required initializer parameters:
|
|
115
115
|
* `portfolio_name` [String] the unique identifier for the property in Amsi
|
116
116
|
* `property_id` [String] Amsi property id
|
117
117
|
* `web_service_url` [String] Amsi Url to the leasing.asmx resource
|
118
|
-
* `params` [Hash] extra configuration fields: `:start_date` [String], `:end_date` [String], `:remote_id` [String], `:billing_config` [BillingConfiguration], `:import_id` [String] and `:pmc_id` [String]
|
118
|
+
* `params` [Hash] extra configuration fields: `:start_date` [String], `:end_date` [String], `:remote_id` [String], `:billing_config` [BillingConfiguration], `:import_id` [String] and `:pmc_id` [String], `:app_name` [String]
|
119
119
|
|
120
120
|
Optional initializer parameters and default values:
|
121
121
|
* `lease_status` [String] Lease status filter; defaults to current leases ("C"). Valid values: (A)pplicant, (C)urrent, (I)ntent to Transfer, (L)eased, (N)otice, (P)revious, (T)ransfer, (V)approved, (X)cancelled
|
@@ -32,7 +32,7 @@ module Amsi
|
|
32
32
|
pms_type: 'amsi',
|
33
33
|
import_id: request_params[:import_id],
|
34
34
|
pmc_id: request_params[:pmc_id],
|
35
|
-
service:
|
35
|
+
service: request_params[:app_name]
|
36
36
|
),
|
37
37
|
remote_lease_id: remote_lease_id,
|
38
38
|
import_resident_id: import_resident_id,
|
@@ -84,7 +84,7 @@ module Amsi
|
|
84
84
|
pms_type: 'amsi',
|
85
85
|
import_id: request_params[:import_id],
|
86
86
|
pmc_id: request_params[:pmc_id],
|
87
|
-
service:
|
87
|
+
service: request_params[:app_name]
|
88
88
|
),
|
89
89
|
remote_lease_id: remote_lease_id,
|
90
90
|
import_resident_id: request_params[:import_resident_id] || '',
|
data/lib/amsi/validator/base.rb
CHANGED
@@ -36,6 +36,7 @@ module Amsi
|
|
36
36
|
|
37
37
|
def pms_resident_request_params(params)
|
38
38
|
{
|
39
|
+
app_name: params[:app_name] || '',
|
39
40
|
start_date: params[:start_date]&.to_time,
|
40
41
|
end_date: params[:end_date]&.to_time,
|
41
42
|
prospect_id: nil,
|
@@ -67,6 +68,7 @@ module Amsi
|
|
67
68
|
|
68
69
|
def pms_prospect_request_params(params)
|
69
70
|
{
|
71
|
+
app_name: params[:app_name] || '',
|
70
72
|
billing_config_id: params[:billing_config]&.id,
|
71
73
|
property_id: params[:billing_config]&.property_id,
|
72
74
|
remote_id: params[:remote_id],
|
data/lib/amsi/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amsi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Richard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|