lockstep_rails 0.3.27 → 0.3.28
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/README.md +9 -0
- data/app/models/lockstep/report_ap_aging_header.rb +7 -0
- data/app/models/lockstep/report_daily_payable_outstanding.rb +6 -0
- data/app/models/lockstep/report_payable_coming_due.rb +6 -0
- data/app/models/lockstep/report_payable_summary.rb +7 -0
- data/app/platform_api/schema/ap_aging_header_info.rb +59 -0
- data/app/platform_api/schema/daily_payable_outstanding_report.rb +22 -0
- data/app/platform_api/schema/payable_coming_due_report.rb +25 -0
- data/app/platform_api/schema/payable_summary_report.rb +40 -0
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +10 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '08a9adf4dbeb0eb2343cd9e0fb6f3fa321cff5a2ce0c842f2e40dbd30c964d6c'
|
4
|
+
data.tar.gz: a5992e84c075551730bb35b96dc858f92ca26ab4d944e64d717aec2643a2a2c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e3a313216a22021812b3cb330576aaf027082e3c8e3f7097c447db9acc7a6f3b5cf1d6d82a5979d1821aa0f25d7f7183f19163d3c716f16a54f0cf835209d58
|
7
|
+
data.tar.gz: db09387b939ab5aaf187de1d273d2066bb2ea709742ce624510c98a3b4410f288d5ea79a9e5710f1c9f65d68c81d2d80bb96da1dd500e6690f565b3d0c933641
|
data/README.md
CHANGED
@@ -49,6 +49,15 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
49
49
|
* Lockstep::CustomerSummary
|
50
50
|
* Lockstep::Payments
|
51
51
|
* Lockstep::PaymentSummary
|
52
|
+
* Lockstep::AppEnrollment
|
53
|
+
* Lockstep::ReportArAgingHeader
|
54
|
+
* Lockstep::ReportCashflow
|
55
|
+
* Lockstep::ReportDailySalesOutstanding
|
56
|
+
* Lockstep::ReportRiskRate
|
57
|
+
* Lockstep::ReportApAgingHeader
|
58
|
+
* Lockstep::ReportDailyPayableOutstanding
|
59
|
+
* Lockstep::ReportPayableComingDue
|
60
|
+
* Lockstep::ReportPayableSummary
|
52
61
|
|
53
62
|
## ActiveModel Interfaces
|
54
63
|
|
@@ -0,0 +1,59 @@
|
|
1
|
+
class Schema::ApAgingHeaderInfo < 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
|
+
# The aging bucket this data belongs to.
|
17
|
+
# @type: string
|
18
|
+
field :report_bucket
|
19
|
+
|
20
|
+
# The total number of customers.
|
21
|
+
# @type: integer
|
22
|
+
# @format: int32
|
23
|
+
field :total_vendors
|
24
|
+
|
25
|
+
# The total number of invoices outstanding.
|
26
|
+
# @type: integer
|
27
|
+
# @format: int32
|
28
|
+
field :total_bills_outstanding
|
29
|
+
|
30
|
+
# The total amount outstanding.
|
31
|
+
# @type: number
|
32
|
+
# @format: double
|
33
|
+
field :total_bills_outstanding_amount
|
34
|
+
|
35
|
+
# The total credit memo amount outstanding.
|
36
|
+
# @type: number
|
37
|
+
# @format: double
|
38
|
+
field :total_credit_memo_outstanding_amount
|
39
|
+
|
40
|
+
# The total advance payment amount.
|
41
|
+
# @type: number
|
42
|
+
# @format: double
|
43
|
+
field :total_advance_payment_amount
|
44
|
+
|
45
|
+
# The total outstanding amount
|
46
|
+
# @type: number
|
47
|
+
# @format: double
|
48
|
+
field :total_outstanding_amount
|
49
|
+
|
50
|
+
# The total amount for AR.
|
51
|
+
# @type: number
|
52
|
+
# @format: double
|
53
|
+
field :total_ap_amount
|
54
|
+
|
55
|
+
# Portion of Total AR this data represents.
|
56
|
+
# @type: number
|
57
|
+
# @format: double
|
58
|
+
field :percentage_of_total_ap
|
59
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
class Schema::DailyPayableOutstandingReport < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# Timeframe (month) the daily sales outstanding values are associated with
|
9
|
+
# @type: string
|
10
|
+
# @format: date-time
|
11
|
+
field :timeframe, Types::Params::DateTime
|
12
|
+
|
13
|
+
# Number of invoices the average daily sales outstanding is calculated on
|
14
|
+
# @type: integer
|
15
|
+
# @format: int32
|
16
|
+
field :invoice_count
|
17
|
+
|
18
|
+
# Time (in days) between an invoice was completed paid off and when the invoice was issued
|
19
|
+
# @type: number
|
20
|
+
# @format: double
|
21
|
+
field :daily_payable_sales_outstanding
|
22
|
+
end
|
@@ -0,0 +1,25 @@
|
|
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
|
+
# This model represents all the payables that are either already due or due within this date.
|
17
|
+
# @type: string
|
18
|
+
# @format: date-time
|
19
|
+
field :date, Types::Params::DateTime
|
20
|
+
|
21
|
+
# Total amount due for this time period
|
22
|
+
# @type: number
|
23
|
+
# @format: double
|
24
|
+
field :amountDue
|
25
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
class Schema::PayableSummaryReport < 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
|
+
# Timeframe in days the cashflow report is generated on
|
17
|
+
# @type: integer
|
18
|
+
# @format: int32
|
19
|
+
field :timeframe
|
20
|
+
|
21
|
+
# Number of payments made based in the timeframe
|
22
|
+
# @type: number
|
23
|
+
# @format: double
|
24
|
+
field :total_payments_amount
|
25
|
+
|
26
|
+
# Number of payments collected based in the timeframe
|
27
|
+
# @type: integer
|
28
|
+
# @format: int32
|
29
|
+
field :total_payments_count
|
30
|
+
|
31
|
+
# Amount of bills received based in the timeframe
|
32
|
+
# @type: number
|
33
|
+
# @format: double
|
34
|
+
field :total_amount_billed
|
35
|
+
|
36
|
+
# Number of invoices billed in the timeframe
|
37
|
+
# @type: integer
|
38
|
+
# @format: int32
|
39
|
+
field :total_bills_count
|
40
|
+
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.
|
4
|
+
version: 0.3.28
|
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-
|
11
|
+
date: 2022-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -56,9 +56,13 @@ files:
|
|
56
56
|
- app/models/lockstep/note.rb
|
57
57
|
- app/models/lockstep/payment.rb
|
58
58
|
- app/models/lockstep/payment_summary.rb
|
59
|
+
- app/models/lockstep/report_ap_aging_header.rb
|
59
60
|
- app/models/lockstep/report_ar_aging_header.rb
|
60
61
|
- app/models/lockstep/report_cashflow.rb
|
62
|
+
- app/models/lockstep/report_daily_payable_outstanding.rb
|
61
63
|
- app/models/lockstep/report_daily_sales_outstanding.rb
|
64
|
+
- app/models/lockstep/report_payable_coming_due.rb
|
65
|
+
- app/models/lockstep/report_payable_summary.rb
|
62
66
|
- app/models/lockstep/report_risk_rate.rb
|
63
67
|
- app/models/lockstep/user.rb
|
64
68
|
- app/models/lockstep/vendor_summary.rb
|
@@ -70,6 +74,7 @@ files:
|
|
70
74
|
- app/platform_api/schema/activity_stream_item.rb
|
71
75
|
- app/platform_api/schema/activity_x_ref.rb
|
72
76
|
- app/platform_api/schema/aging.rb
|
77
|
+
- app/platform_api/schema/ap_aging_header_info.rb
|
73
78
|
- app/platform_api/schema/api_key.rb
|
74
79
|
- app/platform_api/schema/api_key_fetch_result.rb
|
75
80
|
- app/platform_api/schema/app_enrollment.rb
|
@@ -120,6 +125,7 @@ files:
|
|
120
125
|
- app/platform_api/schema/customer_details_payment.rb
|
121
126
|
- app/platform_api/schema/customer_summary.rb
|
122
127
|
- app/platform_api/schema/customer_summary_fetch_result.rb
|
128
|
+
- app/platform_api/schema/daily_payable_outstanding_report.rb
|
123
129
|
- app/platform_api/schema/daily_sales_outstanding_report.rb
|
124
130
|
- app/platform_api/schema/developer_account_submit.rb
|
125
131
|
- app/platform_api/schema/email.rb
|
@@ -160,6 +166,8 @@ files:
|
|
160
166
|
- app/platform_api/schema/note.rb
|
161
167
|
- app/platform_api/schema/note_fetch_result.rb
|
162
168
|
- app/platform_api/schema/parameter_info.rb
|
169
|
+
- app/platform_api/schema/payable_coming_due_report.rb
|
170
|
+
- app/platform_api/schema/payable_summary_report.rb
|
163
171
|
- app/platform_api/schema/payment.rb
|
164
172
|
- app/platform_api/schema/payment_applied.rb
|
165
173
|
- app/platform_api/schema/payment_applied_fetch_result.rb
|