lockstep_rails 0.3.28 → 0.3.29

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08a9adf4dbeb0eb2343cd9e0fb6f3fa321cff5a2ce0c842f2e40dbd30c964d6c'
4
- data.tar.gz: a5992e84c075551730bb35b96dc858f92ca26ab4d944e64d717aec2643a2a2c9
3
+ metadata.gz: 73453ef7839b215e49d06ec28921cec5ad5c90e1600de67627a8980b10a640ae
4
+ data.tar.gz: 7c7bdb9ae73f1607eb13ec29d45d444acec6a74bde2a194bb888dafe51ec7369
5
5
  SHA512:
6
- metadata.gz: 4e3a313216a22021812b3cb330576aaf027082e3c8e3f7097c447db9acc7a6f3b5cf1d6d82a5979d1821aa0f25d7f7183f19163d3c716f16a54f0cf835209d58
7
- data.tar.gz: db09387b939ab5aaf187de1d273d2066bb2ea709742ce624510c98a3b4410f288d5ea79a9e5710f1c9f65d68c81d2d80bb96da1dd500e6690f565b3d0c933641
6
+ metadata.gz: 6f44e6bb9b19a02f8aa9ae260e8aeb945feb3f8608a286317636ac667a81d437c781297d339f8b0aa8e5a9debb54024bb4b153995512995dde8d9e02a4bf2b48
7
+ data.tar.gz: 961c08619ef273b8444a33d08cc0d8bf00dbb0adb2220620fd2b93e9633a8b201fc32c762ba7580dff4ce992d75b2c8926d486f2099330b2e5485764769cb234
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::PayableComingDueReport < 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.29"
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.29
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-06-30 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