lockstep_rails 0.3.27 → 0.3.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -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_coming_due_summary.rb +7 -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_coming_due_summary_report.rb +48 -0
- data/app/platform_api/schema/payable_summary_report.rb +40 -0
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +12 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e294a63a303ae83089bb9bec875b7b64786c400715d11ab1fbfa779a6834272
|
4
|
+
data.tar.gz: 75d43dfa0c5bf0719b463193765691543b2447df4e6cfa8d8fcf1241bee9f71f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cc6785f80b3453a88000f2f759b06570a279a3f05521c8d448fb12e1c8588a22a7ea4123d3bea662cb196bf6363a9be26ff71d347b9e4120c75e6f600a413096
|
7
|
+
data.tar.gz: 6fdc681126efb7416d4866b9a339f6f080e28625d51b97e7ea4e89d039f77bfa9ce0661ecfcdd62d5b83c896cdf58f0c16555f8c798a1ea6b8b1a8476550dd11
|
data/README.md
CHANGED
@@ -49,6 +49,16 @@ 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
|
61
|
+
* Lockstep::ReportPayablesComingDueSummary
|
52
62
|
|
53
63
|
## ActiveModel Interfaces
|
54
64
|
|
@@ -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,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
|
@@ -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.30
|
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-
|
11
|
+
date: 2022-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -56,9 +56,14 @@ 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_coming_due_summary.rb
|
66
|
+
- app/models/lockstep/report_payable_summary.rb
|
62
67
|
- app/models/lockstep/report_risk_rate.rb
|
63
68
|
- app/models/lockstep/user.rb
|
64
69
|
- app/models/lockstep/vendor_summary.rb
|
@@ -70,6 +75,7 @@ files:
|
|
70
75
|
- app/platform_api/schema/activity_stream_item.rb
|
71
76
|
- app/platform_api/schema/activity_x_ref.rb
|
72
77
|
- app/platform_api/schema/aging.rb
|
78
|
+
- app/platform_api/schema/ap_aging_header_info.rb
|
73
79
|
- app/platform_api/schema/api_key.rb
|
74
80
|
- app/platform_api/schema/api_key_fetch_result.rb
|
75
81
|
- app/platform_api/schema/app_enrollment.rb
|
@@ -120,6 +126,7 @@ files:
|
|
120
126
|
- app/platform_api/schema/customer_details_payment.rb
|
121
127
|
- app/platform_api/schema/customer_summary.rb
|
122
128
|
- app/platform_api/schema/customer_summary_fetch_result.rb
|
129
|
+
- app/platform_api/schema/daily_payable_outstanding_report.rb
|
123
130
|
- app/platform_api/schema/daily_sales_outstanding_report.rb
|
124
131
|
- app/platform_api/schema/developer_account_submit.rb
|
125
132
|
- app/platform_api/schema/email.rb
|
@@ -160,6 +167,9 @@ files:
|
|
160
167
|
- app/platform_api/schema/note.rb
|
161
168
|
- app/platform_api/schema/note_fetch_result.rb
|
162
169
|
- app/platform_api/schema/parameter_info.rb
|
170
|
+
- app/platform_api/schema/payable_coming_due_report.rb
|
171
|
+
- app/platform_api/schema/payable_coming_due_summary_report.rb
|
172
|
+
- app/platform_api/schema/payable_summary_report.rb
|
163
173
|
- app/platform_api/schema/payment.rb
|
164
174
|
- app/platform_api/schema/payment_applied.rb
|
165
175
|
- app/platform_api/schema/payment_applied_fetch_result.rb
|