lockstep_rails 0.3.28 → 0.3.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08a9adf4dbeb0eb2343cd9e0fb6f3fa321cff5a2ce0c842f2e40dbd30c964d6c'
4
- data.tar.gz: a5992e84c075551730bb35b96dc858f92ca26ab4d944e64d717aec2643a2a2c9
3
+ metadata.gz: d3e89f2db04282a5351421020eadc9b30304e2337784b940d891022268f43c2c
4
+ data.tar.gz: 76f8d5019039cc1bc3a82e6f460f30e26efd6f947aaa02ad240ab6f39ac35a13
5
5
  SHA512:
6
- metadata.gz: 4e3a313216a22021812b3cb330576aaf027082e3c8e3f7097c447db9acc7a6f3b5cf1d6d82a5979d1821aa0f25d7f7183f19163d3c716f16a54f0cf835209d58
7
- data.tar.gz: db09387b939ab5aaf187de1d273d2066bb2ea709742ce624510c98a3b4410f288d5ea79a9e5710f1c9f65d68c81d2d80bb96da1dd500e6690f565b3d0c933641
6
+ metadata.gz: a086d22e7d92c2502a8a770fe7fd075940e2ba8f2b226303a948d3cb0f907747cb326f1f33bfafa3eabca4982cb63a3e3f9b859c14603294061e5f6d4d26223e
7
+ data.tar.gz: 1f2f97ee33e820441d4e02e57a361adc15ab3d9eda0a3840d889a93c60d68bbb4abfbdfd697c1e1b125090935d601fda9a9057d0e63eacfb11cd3042e049c4ad
data/README.md CHANGED
@@ -58,6 +58,7 @@ The gem is available as open source under the terms of the [MIT License](https:/
58
58
  * Lockstep::ReportDailyPayableOutstanding
59
59
  * Lockstep::ReportPayableComingDue
60
60
  * Lockstep::ReportPayableSummary
61
+ * Lockstep::ReportPayablesComingDueSummary
61
62
 
62
63
  ## ActiveModel Interfaces
63
64
 
@@ -0,0 +1,7 @@
1
+ class Lockstep::ReportPayableComingDueSummary < Lockstep::ApiRecord
2
+ self.model_name_uri = "v1/Reports/payables-coming-due-summary"
3
+ self.query_path= ""
4
+ load_schema(Schema::PayableComingDueSummaryReport)
5
+ single_record!
6
+
7
+ end
@@ -0,0 +1,48 @@
1
+ class Schema::PayableComingDueSummaryReport < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
9
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
10
+ #
11
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
12
+ # @type: string
13
+ # @format: uuid
14
+ field :group_key
15
+
16
+ # Number of bills due for this time period.
17
+ # @type: integer
18
+ # @format: int32
19
+ field :numberOfBillsDue
20
+
21
+ # The unique Lockstep Id for the Vendor.
22
+ # @type: string
23
+ # @format: uuid
24
+ field :vendorId
25
+
26
+ # Name for this company.
27
+ # @type: string
28
+ field :vendorName
29
+
30
+ # Primary Contact for this company.
31
+ # @type: string
32
+ field :primaryContact
33
+
34
+ # Percentage of total for this time period.
35
+ # @type: number
36
+ # @format: double
37
+ field :percentageOfTotal
38
+
39
+ # Total amount due for this time period.
40
+ # @type: number
41
+ # @format: double
42
+ field :totalAmountDue
43
+
44
+ # This model represents all the payables that are either already due or due within this date.
45
+ # @type: string
46
+ # @format: date-time
47
+ field :dueDate, Types::Params::DateTime
48
+ end
@@ -1,3 +1,3 @@
1
1
  module LockstepRails
2
- VERSION = "0.3.28"
2
+ VERSION = "0.3.31"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockstep_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.28
4
+ version: 0.3.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-20 00:00:00.000000000 Z
11
+ date: 2022-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -62,6 +62,7 @@ files:
62
62
  - app/models/lockstep/report_daily_payable_outstanding.rb
63
63
  - app/models/lockstep/report_daily_sales_outstanding.rb
64
64
  - app/models/lockstep/report_payable_coming_due.rb
65
+ - app/models/lockstep/report_payable_coming_due_summary.rb
65
66
  - app/models/lockstep/report_payable_summary.rb
66
67
  - app/models/lockstep/report_risk_rate.rb
67
68
  - app/models/lockstep/user.rb
@@ -167,6 +168,7 @@ files:
167
168
  - app/platform_api/schema/note_fetch_result.rb
168
169
  - app/platform_api/schema/parameter_info.rb
169
170
  - app/platform_api/schema/payable_coming_due_report.rb
171
+ - app/platform_api/schema/payable_coming_due_summary_report.rb
170
172
  - app/platform_api/schema/payable_summary_report.rb
171
173
  - app/platform_api/schema/payment.rb
172
174
  - app/platform_api/schema/payment_applied.rb