lockstep_rails 0.3.26 → 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 +4 -4
- data/README.md +10 -0
- data/app/models/lockstep/app_enrollment.rb +5 -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 +13 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73453ef7839b215e49d06ec28921cec5ad5c90e1600de67627a8980b10a640ae
|
4
|
+
data.tar.gz: 7c7bdb9ae73f1607eb13ec29d45d444acec6a74bde2a194bb888dafe51ec7369
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f44e6bb9b19a02f8aa9ae260e8aeb945feb3f8608a286317636ac667a81d437c781297d339f8b0aa8e5a9debb54024bb4b153995512995dde8d9e02a4bf2b48
|
7
|
+
data.tar.gz: 961c08619ef273b8444a33d08cc0d8bf00dbb0adb2220620fd2b93e9633a8b201fc32c762ba7580dff4ce992d75b2c8926d486f2099330b2e5485764769cb234
|
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::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
|
@@ -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.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-
|
11
|
+
date: 2022-06-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -46,6 +46,7 @@ files:
|
|
46
46
|
- app/concepts/lockstep/relation_array.rb
|
47
47
|
- app/helpers/types.rb
|
48
48
|
- app/models/lockstep/account.rb
|
49
|
+
- app/models/lockstep/app_enrollment.rb
|
49
50
|
- app/models/lockstep/connection.rb
|
50
51
|
- app/models/lockstep/contact.rb
|
51
52
|
- app/models/lockstep/customer_summary.rb
|
@@ -55,9 +56,14 @@ files:
|
|
55
56
|
- app/models/lockstep/note.rb
|
56
57
|
- app/models/lockstep/payment.rb
|
57
58
|
- app/models/lockstep/payment_summary.rb
|
59
|
+
- app/models/lockstep/report_ap_aging_header.rb
|
58
60
|
- app/models/lockstep/report_ar_aging_header.rb
|
59
61
|
- app/models/lockstep/report_cashflow.rb
|
62
|
+
- app/models/lockstep/report_daily_payable_outstanding.rb
|
60
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
|
61
67
|
- app/models/lockstep/report_risk_rate.rb
|
62
68
|
- app/models/lockstep/user.rb
|
63
69
|
- app/models/lockstep/vendor_summary.rb
|
@@ -69,6 +75,7 @@ files:
|
|
69
75
|
- app/platform_api/schema/activity_stream_item.rb
|
70
76
|
- app/platform_api/schema/activity_x_ref.rb
|
71
77
|
- app/platform_api/schema/aging.rb
|
78
|
+
- app/platform_api/schema/ap_aging_header_info.rb
|
72
79
|
- app/platform_api/schema/api_key.rb
|
73
80
|
- app/platform_api/schema/api_key_fetch_result.rb
|
74
81
|
- app/platform_api/schema/app_enrollment.rb
|
@@ -119,6 +126,7 @@ files:
|
|
119
126
|
- app/platform_api/schema/customer_details_payment.rb
|
120
127
|
- app/platform_api/schema/customer_summary.rb
|
121
128
|
- app/platform_api/schema/customer_summary_fetch_result.rb
|
129
|
+
- app/platform_api/schema/daily_payable_outstanding_report.rb
|
122
130
|
- app/platform_api/schema/daily_sales_outstanding_report.rb
|
123
131
|
- app/platform_api/schema/developer_account_submit.rb
|
124
132
|
- app/platform_api/schema/email.rb
|
@@ -159,6 +167,9 @@ files:
|
|
159
167
|
- app/platform_api/schema/note.rb
|
160
168
|
- app/platform_api/schema/note_fetch_result.rb
|
161
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
|
162
173
|
- app/platform_api/schema/payment.rb
|
163
174
|
- app/platform_api/schema/payment_applied.rb
|
164
175
|
- app/platform_api/schema/payment_applied_fetch_result.rb
|