lockstep_rails 0.3.37 → 0.3.39
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/app/platform_api/schema/ap_aging_header_info.rb +15 -12
- data/app/platform_api/schema/ap_header_info.rb +148 -0
- data/app/platform_api/schema/app_enrollment.rb +0 -3
- data/app/platform_api/schema/app_enrollment_reconnect_info.rb +30 -0
- data/app/platform_api/schema/application.rb +5 -0
- data/app/platform_api/schema/ar_aging_header_info.rb +16 -1
- data/app/platform_api/schema/ar_header_info.rb +41 -7
- data/app/platform_api/schema/at_risk_invoice_summary.rb +1 -1
- data/app/platform_api/schema/attachment.rb +34 -9
- data/app/platform_api/schema/batch_sync.rb +3 -0
- data/app/platform_api/schema/bulk_currency_conversion.rb +1 -1
- data/app/platform_api/schema/company.rb +20 -30
- data/app/platform_api/schema/company_details.rb +98 -0
- data/app/platform_api/schema/company_details_payment.rb +60 -0
- data/app/platform_api/schema/company_sync.rb +17 -6
- data/app/platform_api/schema/connector_info.rb +29 -0
- data/app/platform_api/schema/contact.rb +1 -1
- data/app/platform_api/schema/contact_sync.rb +7 -1
- data/app/platform_api/schema/credit_memo_applied.rb +6 -0
- data/app/platform_api/schema/credit_memo_invoice.rb +1 -1
- data/app/platform_api/schema/custom_field_sync.rb +4 -4
- data/app/platform_api/schema/custom_field_value.rb +12 -0
- data/app/platform_api/schema/customer_summary.rb +41 -1
- data/app/platform_api/schema/daily_payable_outstanding_report.rb +7 -4
- data/app/platform_api/schema/daily_sales_outstanding_report.rb +0 -5
- data/app/platform_api/schema/developer_account_submit.rb +8 -0
- data/app/platform_api/schema/dpo_summary.rb +46 -0
- data/app/platform_api/schema/dpo_summary_fetch_result.rb +26 -0
- data/app/platform_api/schema/dpo_summary_group_total.rb +38 -0
- data/app/platform_api/schema/feature_flags_request.rb +14 -0
- data/app/platform_api/schema/feature_flags_response.rb +14 -0
- data/app/platform_api/schema/financial_account.rb +1 -1
- data/app/platform_api/schema/financial_account_balance_history_sync.rb +56 -0
- data/app/platform_api/schema/financial_account_sync.rb +50 -0
- data/app/platform_api/schema/financial_report.rb +38 -0
- data/app/platform_api/schema/financial_report_cell.rb +14 -0
- data/app/platform_api/schema/financial_report_row.rb +20 -0
- data/app/platform_api/schema/financial_year_setting_sync.rb +28 -0
- data/app/platform_api/schema/group_account.rb +62 -0
- data/app/platform_api/schema/invoice.rb +8 -3
- data/app/platform_api/schema/invoice_address_fetch_result.rb +26 -0
- data/app/platform_api/schema/invoice_fetch_result.rb +4 -4
- data/app/platform_api/schema/invoice_history.rb +1 -1
- data/app/platform_api/schema/invoice_line_fetch_result.rb +26 -0
- data/app/platform_api/schema/invoice_line_sync.rb +3 -3
- data/app/platform_api/schema/invoice_payment_detail.rb +1 -1
- data/app/platform_api/schema/invoice_summary.rb +22 -1
- data/app/platform_api/schema/invoice_summary_invoice_summary_totals_summary_fetch_result.rb +30 -0
- data/app/platform_api/schema/invoice_summary_totals.rb +20 -0
- data/app/platform_api/schema/invoice_sync.rb +12 -7
- data/app/platform_api/schema/lead.rb +1 -0
- data/app/platform_api/schema/magic_link.rb +78 -0
- data/app/platform_api/schema/magic_link_fetch_result.rb +26 -0
- data/app/platform_api/schema/note.rb +24 -5
- data/app/platform_api/schema/payables_coming_due.rb +52 -0
- data/app/platform_api/schema/payables_coming_due_fetch_result.rb +26 -0
- data/app/platform_api/schema/payables_coming_due_header.rb +44 -0
- data/app/platform_api/schema/payables_coming_due_widget.rb +29 -0
- data/app/platform_api/schema/payables_summary_report.rb +43 -0
- data/app/platform_api/schema/payment.rb +6 -5
- data/app/platform_api/schema/payment_applied.rb +3 -0
- data/app/platform_api/schema/payment_detail.rb +17 -2
- data/app/platform_api/schema/payment_detail_header.rb +1 -1
- data/app/platform_api/schema/payment_summary.rb +42 -9
- data/app/platform_api/schema/payment_summary_payment_summary_totals_summary_fetch_result.rb +30 -0
- data/app/platform_api/schema/payment_summary_totals.rb +20 -0
- data/app/platform_api/schema/payment_sync.rb +6 -5
- data/app/platform_api/schema/public_company_profile.rb +37 -0
- data/app/platform_api/schema/public_company_profile_fetch_result.rb +26 -0
- data/app/platform_api/schema/risk_rate.rb +6 -1
- data/app/platform_api/schema/status.rb +10 -0
- data/app/platform_api/schema/summary_aging_totals.rb +19 -0
- data/app/platform_api/schema/sync_entity_result.rb +5 -0
- data/app/platform_api/schema/sync_request.rb +5 -0
- data/app/platform_api/schema/sync_submit.rb +6 -0
- data/app/platform_api/schema/transaction.rb +94 -0
- data/app/platform_api/schema/transaction_detail.rb +78 -0
- data/app/platform_api/schema/transaction_summary_total.rb +35 -0
- data/app/platform_api/schema/transaction_transaction_summary_total_summary_fetch_result.rb +30 -0
- data/app/platform_api/schema/user_account.rb +6 -2
- data/app/platform_api/schema/user_data_response.rb +19 -0
- data/app/platform_api/schema/user_group.rb +30 -0
- data/app/platform_api/schema/user_role.rb +1 -1
- data/app/platform_api/schema/vendor_summary.rb +68 -10
- data/app/platform_api/schema/vendor_summary_fetch_result.rb +26 -0
- data/app/platform_api/schema/view_box_settings.rb +30 -0
- data/app/platform_api/schema/webhook.rb +6 -2
- data/app/platform_api/schema/webhook_history_table_storage.rb +12 -0
- data/app/platform_api/schema/webhook_rule.rb +79 -0
- data/app/platform_api/schema/webhook_rule_fetch_result.rb +26 -0
- data/app/platform_api/swagger.json +14477 -11057
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +44 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
class Schema::PayablesComingDue < 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 :number_of_bills_due
|
|
20
|
+
|
|
21
|
+
# The unique Lockstep Id for the Vendor
|
|
22
|
+
# @type: string
|
|
23
|
+
# @format: uuid
|
|
24
|
+
field :vendor_id
|
|
25
|
+
|
|
26
|
+
# Name for this company
|
|
27
|
+
# @type: string
|
|
28
|
+
field :vendor_name
|
|
29
|
+
|
|
30
|
+
# Primary Contact for this company
|
|
31
|
+
# @type: string
|
|
32
|
+
field :primary_contact
|
|
33
|
+
|
|
34
|
+
# Percentage of total for this time period
|
|
35
|
+
# @type: number
|
|
36
|
+
# @format: double
|
|
37
|
+
field :percentage_of_total
|
|
38
|
+
|
|
39
|
+
# Total amount due for this time period
|
|
40
|
+
# @type: number
|
|
41
|
+
# @format: double
|
|
42
|
+
field :total_amount_due
|
|
43
|
+
|
|
44
|
+
# This model represents all the payables that are
|
|
45
|
+
# either already due or due within this date.
|
|
46
|
+
# @type: string
|
|
47
|
+
# @format: date-time
|
|
48
|
+
field :due_date, Types::Params::DateTime
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
class Schema::PayablesComingDueFetchResult < Lockstep::ApiRecord
|
|
2
|
+
|
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
|
4
|
+
def self.id_ref
|
|
5
|
+
nil
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# @type: integer
|
|
10
|
+
# @format: int32
|
|
11
|
+
field :total_count
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# @type: integer
|
|
15
|
+
# @format: int32
|
|
16
|
+
field :page_size
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# @type: integer
|
|
20
|
+
# @format: int32
|
|
21
|
+
field :page_number
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
has_many :records, {:class_name=>"Schema::PayablesComingDue", :included=>true}
|
|
25
|
+
|
|
26
|
+
end
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
class Schema::PayablesComingDueHeader < 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 :number_of_bills_due
|
|
20
|
+
|
|
21
|
+
# Number of total vendors for this time period
|
|
22
|
+
# @type: integer
|
|
23
|
+
# @format: int32
|
|
24
|
+
field :number_of_vendors
|
|
25
|
+
|
|
26
|
+
# Percentage of total for this time period
|
|
27
|
+
# @type: number
|
|
28
|
+
# @format: double
|
|
29
|
+
field :percentage_of_total
|
|
30
|
+
|
|
31
|
+
# Total amount due for this time period
|
|
32
|
+
# @type: number
|
|
33
|
+
# @format: double
|
|
34
|
+
field :total_amount_due
|
|
35
|
+
|
|
36
|
+
# This model represents all the payables that are
|
|
37
|
+
# either already due or due within this date.
|
|
38
|
+
# @type: string
|
|
39
|
+
# @format: date-time
|
|
40
|
+
field :due_date, Types::Params::DateTime
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
class Schema::PayablesComingDueWidget < 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
|
|
17
|
+
# either already due or due within this date.
|
|
18
|
+
# @type: string
|
|
19
|
+
# @format: date-time
|
|
20
|
+
field :date, Types::Params::DateTime
|
|
21
|
+
|
|
22
|
+
# Total amount due for this time period
|
|
23
|
+
# @type: number
|
|
24
|
+
# @format: double
|
|
25
|
+
field :amount_due
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
end
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
class Schema::PayablesSummaryReport < 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 payables summary report is generated on
|
|
17
|
+
# @type: integer
|
|
18
|
+
# @format: int32
|
|
19
|
+
field :timeframe
|
|
20
|
+
|
|
21
|
+
# Amount of payments made based in the timeframe
|
|
22
|
+
# @type: number
|
|
23
|
+
# @format: double
|
|
24
|
+
field :total_payments_amount
|
|
25
|
+
|
|
26
|
+
# Number of payments made 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 bills received in the timeframe
|
|
37
|
+
# @type: integer
|
|
38
|
+
# @format: int32
|
|
39
|
+
field :total_bills_count
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
end
|
|
@@ -36,11 +36,11 @@ end
|
|
|
36
36
|
# @type: string
|
|
37
37
|
field :erp_key
|
|
38
38
|
|
|
39
|
-
# The type of payment,
|
|
39
|
+
# The type of payment, AR Payment or AP Payment.
|
|
40
40
|
#
|
|
41
41
|
# Recognized PaymentType values are:
|
|
42
|
-
# * `
|
|
43
|
-
# * `
|
|
42
|
+
# * `AR Payment` - A payment made by a Customer to the Company
|
|
43
|
+
# * `AP Payment` - A payment made by the Company to a Vendor
|
|
44
44
|
# @type: string
|
|
45
45
|
field :payment_type
|
|
46
46
|
|
|
@@ -50,7 +50,8 @@ end
|
|
|
50
50
|
# * `Cash` - A cash payment or other direct transfer.
|
|
51
51
|
# * `Check` - A check payment.
|
|
52
52
|
# * `Credit Card` - A payment made via a credit card.
|
|
53
|
-
# * `Wire Transfer` - A payment made via wire transfer from another financial institution.
|
|
53
|
+
# * `Wire Transfer` - A payment made via wire transfer from another financial institution.
|
|
54
|
+
# * `Other` - A payment made via another method not listed above.
|
|
54
55
|
# @type: string
|
|
55
56
|
field :tender_type
|
|
56
57
|
|
|
@@ -89,7 +90,7 @@ end
|
|
|
89
90
|
|
|
90
91
|
# The ISO 4217 currency code for this payment.
|
|
91
92
|
#
|
|
92
|
-
# For a list of ISO 4217 currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies). This will be validated by the /api/v1/currencies data set
|
|
93
|
+
# For a list of ISO 4217 currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies). This will be validated by the /api/v1/definitions/currencies data set
|
|
93
94
|
# @type: string
|
|
94
95
|
field :currency_code
|
|
95
96
|
|
|
@@ -7,7 +7,7 @@ end
|
|
|
7
7
|
|
|
8
8
|
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
|
9
9
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
|
10
|
-
#
|
|
10
|
+
#
|
|
11
11
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
|
12
12
|
# @type: string
|
|
13
13
|
# @format: uuid
|
|
@@ -53,10 +53,25 @@ end
|
|
|
53
53
|
# @format: double
|
|
54
54
|
field :unapplied_amount
|
|
55
55
|
|
|
56
|
-
# The type of payment, Payment or AP Payment.
|
|
56
|
+
# The type of payment, AR Payment or AP Payment.
|
|
57
|
+
#
|
|
58
|
+
# Recognized PaymentType values are:
|
|
59
|
+
# * `AR Payment` - A payment made by a Customer to the Company
|
|
60
|
+
# * `AP Payment` - A payment made by the Company to a Vendor
|
|
57
61
|
# @type: string
|
|
58
62
|
field :payment_type
|
|
59
63
|
|
|
64
|
+
# Cash, check, credit card, wire transfer.
|
|
65
|
+
#
|
|
66
|
+
# Recognized TenderType values are:
|
|
67
|
+
# * `Cash` - A cash payment or other direct transfer.
|
|
68
|
+
# * `Check` - A check payment.
|
|
69
|
+
# * `Credit Card` - A payment made via a credit card.
|
|
70
|
+
# * `Wire Transfer` - A payment made via wire transfer from another financial institution.
|
|
71
|
+
# * `Other` - A payment made via another method not listed above.
|
|
72
|
+
# @type: string
|
|
73
|
+
field :tender_type
|
|
74
|
+
|
|
60
75
|
# The date of this Payment.
|
|
61
76
|
# @type: string
|
|
62
77
|
# @format: date
|
|
@@ -7,7 +7,7 @@ end
|
|
|
7
7
|
|
|
8
8
|
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
|
9
9
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
|
10
|
-
#
|
|
10
|
+
#
|
|
11
11
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
|
12
12
|
# @type: string
|
|
13
13
|
# @format: uuid
|
|
@@ -7,7 +7,7 @@ end
|
|
|
7
7
|
|
|
8
8
|
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
|
9
9
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
|
10
|
-
#
|
|
10
|
+
#
|
|
11
11
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
|
12
12
|
# @type: string
|
|
13
13
|
# @format: uuid
|
|
@@ -26,7 +26,11 @@ end
|
|
|
26
26
|
# @type: string
|
|
27
27
|
field :reference_code
|
|
28
28
|
|
|
29
|
-
# The type of payment,
|
|
29
|
+
# The tender type of payment (Cash, Check, etc.)
|
|
30
|
+
# @type: string
|
|
31
|
+
field :tender_type
|
|
32
|
+
|
|
33
|
+
# The type of payment, AR Payment or AP Payment.
|
|
30
34
|
# @type: string
|
|
31
35
|
field :payment_type
|
|
32
36
|
|
|
@@ -45,6 +49,11 @@ end
|
|
|
45
49
|
# @format: double
|
|
46
50
|
field :unapplied_amount
|
|
47
51
|
|
|
52
|
+
# True if this payment includes some unassigned amount that has not yet been applied to an invoice. If this
|
|
53
|
+
# value is true, the field `UnappliedAmount` will be nonzero.
|
|
54
|
+
# @type: boolean
|
|
55
|
+
field :is_open
|
|
56
|
+
|
|
48
57
|
# The number of invoices associated to this payment.
|
|
49
58
|
# @type: integer
|
|
50
59
|
# @format: int32
|
|
@@ -63,17 +72,41 @@ end
|
|
|
63
72
|
# @type: array
|
|
64
73
|
field :invoice_id_list
|
|
65
74
|
|
|
66
|
-
# The
|
|
75
|
+
# The id of the company for this payment.
|
|
67
76
|
# @type: string
|
|
68
|
-
|
|
77
|
+
# @format: uuid
|
|
78
|
+
field :payment_company_id
|
|
69
79
|
|
|
70
|
-
# The
|
|
80
|
+
# The name of the company for this payment.
|
|
71
81
|
# @type: string
|
|
72
|
-
|
|
73
|
-
|
|
82
|
+
field :payment_company_name
|
|
83
|
+
|
|
84
|
+
# Specific payments have support for pdf retrieval from their respective erp. When this flag is true, an additional
|
|
85
|
+
# call to Payments/{id}/pdf can be made to retrieve a pdf directly from the erp.
|
|
86
|
+
# @type: boolean
|
|
87
|
+
field :supports_erp_pdf_retrieval
|
|
88
|
+
|
|
89
|
+
# The ids of the customer for the associated invoices.
|
|
90
|
+
# @type: array
|
|
91
|
+
field :customer_ids
|
|
92
|
+
|
|
93
|
+
# The names of the customer for the associated invoices.
|
|
94
|
+
# @type: array
|
|
95
|
+
field :customer_names
|
|
96
|
+
|
|
97
|
+
# The ids of the company for the associated invoices.
|
|
98
|
+
# @type: array
|
|
99
|
+
field :company_ids
|
|
100
|
+
|
|
101
|
+
# The names of the company for the associated invoices.
|
|
102
|
+
# @type: array
|
|
103
|
+
field :company_names
|
|
104
|
+
|
|
105
|
+
# The modified date of the payment
|
|
106
|
+
# @type: string
|
|
107
|
+
# @format: date-time
|
|
108
|
+
field :modified, Types::Params::DateTime
|
|
74
109
|
|
|
75
|
-
belongs_to :customer, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
|
|
76
|
-
belongs_to :connection, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
|
|
77
110
|
|
|
78
111
|
|
|
79
112
|
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
class Schema::PaymentSummaryPaymentSummaryTotalsSummaryFetchResult < Lockstep::ApiRecord
|
|
2
|
+
|
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
|
4
|
+
def self.id_ref
|
|
5
|
+
nil
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# @type: integer
|
|
10
|
+
# @format: int32
|
|
11
|
+
field :total_count
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# @type: integer
|
|
15
|
+
# @format: int32
|
|
16
|
+
field :page_size
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# @type: integer
|
|
20
|
+
# @format: int32
|
|
21
|
+
field :page_number
|
|
22
|
+
|
|
23
|
+
# The totals for a Payment Summary
|
|
24
|
+
field :summary
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
has_many :records, {:class_name=>"Schema::PaymentSummary", :included=>true}
|
|
28
|
+
has_many :aging_summary, {:class_name=>"Schema::SummaryAgingTotals", :included=>true}
|
|
29
|
+
|
|
30
|
+
end
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
class Schema::PaymentSummaryTotals < Lockstep::ApiRecord
|
|
2
|
+
|
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
|
4
|
+
def self.id_ref
|
|
5
|
+
nil
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
# The total amount paid.
|
|
9
|
+
# @type: number
|
|
10
|
+
# @format: double
|
|
11
|
+
field :total_paid_amount
|
|
12
|
+
|
|
13
|
+
# The total amount unapplied.
|
|
14
|
+
# @type: number
|
|
15
|
+
# @format: double
|
|
16
|
+
field :total_unapplied_balance
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
end
|
|
@@ -22,11 +22,11 @@ end
|
|
|
22
22
|
# @type: string
|
|
23
23
|
field :company_erp_key
|
|
24
24
|
|
|
25
|
-
# The type of payment,
|
|
25
|
+
# The type of payment, AR Payment or AP Payment.
|
|
26
26
|
#
|
|
27
27
|
# Recognized PaymentType values are:
|
|
28
|
-
# * `
|
|
29
|
-
# * `
|
|
28
|
+
# * `AR Payment` - A payment made by a Customer to the Company
|
|
29
|
+
# * `AP Payment` - A payment made by the Company to a Vendor
|
|
30
30
|
# @type: string
|
|
31
31
|
field :payment_type
|
|
32
32
|
|
|
@@ -36,7 +36,8 @@ end
|
|
|
36
36
|
# * `Cash` - A cash payment or other direct transfer.
|
|
37
37
|
# * `Check` - A check payment.
|
|
38
38
|
# * `Credit Card` - A payment made via a credit card.
|
|
39
|
-
# * `Wire Transfer` - A payment made via wire transfer from another financial institution.
|
|
39
|
+
# * `Wire Transfer` - A payment made via wire transfer from another financial institution.
|
|
40
|
+
# * `Other` - A payment made via another method not listed above.
|
|
40
41
|
# @type: string
|
|
41
42
|
field :tender_type
|
|
42
43
|
|
|
@@ -75,7 +76,7 @@ end
|
|
|
75
76
|
|
|
76
77
|
# The ISO 4217 currency code for this payment.
|
|
77
78
|
#
|
|
78
|
-
# For a list of ISO 4217 currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies).
|
|
79
|
+
# For a list of ISO 4217 currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies).
|
|
79
80
|
# @type: string
|
|
80
81
|
field :currency_code
|
|
81
82
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
class Schema::PublicCompanyProfile < Lockstep::ApiRecord
|
|
2
|
+
|
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
|
4
|
+
def self.id_ref
|
|
5
|
+
nil
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
# The unique ID of the company associated with this profile.
|
|
9
|
+
# @type: string
|
|
10
|
+
# @format: uuid
|
|
11
|
+
field :company_id
|
|
12
|
+
|
|
13
|
+
# The short name of the company associated with this profile.
|
|
14
|
+
# @type: string
|
|
15
|
+
field :company_name
|
|
16
|
+
|
|
17
|
+
# The URL of this company's logo, if known.
|
|
18
|
+
# @type: string
|
|
19
|
+
field :company_logo_url
|
|
20
|
+
|
|
21
|
+
# Website URL for the company associated with this profile.
|
|
22
|
+
# @type: string
|
|
23
|
+
field :website
|
|
24
|
+
|
|
25
|
+
# Description of the company associated with this profile.
|
|
26
|
+
# @type: string
|
|
27
|
+
field :description
|
|
28
|
+
|
|
29
|
+
# The public url slug for this Public Company Profile.
|
|
30
|
+
# @type: string
|
|
31
|
+
field :public_url_slug
|
|
32
|
+
|
|
33
|
+
belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
|
34
|
+
belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
class Schema::PublicCompanyProfileFetchResult < Lockstep::ApiRecord
|
|
2
|
+
|
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
|
4
|
+
def self.id_ref
|
|
5
|
+
nil
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
# @type: integer
|
|
10
|
+
# @format: int32
|
|
11
|
+
field :total_count
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# @type: integer
|
|
15
|
+
# @format: int32
|
|
16
|
+
field :page_size
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# @type: integer
|
|
20
|
+
# @format: int32
|
|
21
|
+
field :page_number
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
has_many :records, {:class_name=>"Schema::PublicCompanyProfile", :included=>true}
|
|
25
|
+
|
|
26
|
+
end
|
|
@@ -7,7 +7,7 @@ end
|
|
|
7
7
|
|
|
8
8
|
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
|
9
9
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
|
10
|
-
#
|
|
10
|
+
#
|
|
11
11
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
|
12
12
|
# @type: string
|
|
13
13
|
# @format: uuid
|
|
@@ -18,6 +18,11 @@ end
|
|
|
18
18
|
# @format: date-time
|
|
19
19
|
field :report_period, Types::Params::DateTime
|
|
20
20
|
|
|
21
|
+
# The month the risk rate was calculated for
|
|
22
|
+
# @type: string
|
|
23
|
+
# @format: date-time
|
|
24
|
+
field :report_date, Types::Params::DateTime
|
|
25
|
+
|
|
21
26
|
# The string name of the month the risk rate was calculated for
|
|
22
27
|
# @type: string
|
|
23
28
|
field :invoice_month_name
|
|
@@ -62,11 +62,21 @@ end
|
|
|
62
62
|
# @type: string
|
|
63
63
|
field :version
|
|
64
64
|
|
|
65
|
+
# If authentication is successful, contains the onboarding session status of the logged-in user's group account.
|
|
66
|
+
# @type: boolean
|
|
67
|
+
field :onboarding_scheduled
|
|
68
|
+
|
|
69
|
+
# The id of the Magic link used to authenticate.
|
|
70
|
+
# @type: string
|
|
71
|
+
# @format: uuid
|
|
72
|
+
field :magic_link_id
|
|
73
|
+
|
|
65
74
|
# Statuses for the dependencies of this api.
|
|
66
75
|
# OK if the dependency is working.
|
|
67
76
|
# @type: object
|
|
68
77
|
field :dependencies
|
|
69
78
|
|
|
70
79
|
|
|
80
|
+
has_many :user_groups, {:class_name=>"Schema::UserGroup", :included=>true}
|
|
71
81
|
|
|
72
82
|
end
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
class Schema::SummaryAgingTotals < Lockstep::ApiRecord
|
|
2
|
+
|
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
|
4
|
+
def self.id_ref
|
|
5
|
+
nil
|
|
6
|
+
end
|
|
7
|
+
|
|
8
|
+
# Aging bucket outstanding balance is associated to.
|
|
9
|
+
# @type: string
|
|
10
|
+
field :bucket
|
|
11
|
+
|
|
12
|
+
# Aging outstanding balance value.
|
|
13
|
+
# @type: number
|
|
14
|
+
# @format: double
|
|
15
|
+
field :outstanding_balance
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
end
|
|
@@ -36,6 +36,11 @@ end
|
|
|
36
36
|
# @type: string
|
|
37
37
|
field :process_result_message
|
|
38
38
|
|
|
39
|
+
# A boolean indicating whether a sync from an ERP system should process all the data from the ERP
|
|
40
|
+
# as opposed to just the delta of changes since the previous sync run
|
|
41
|
+
# @type: string
|
|
42
|
+
field :run_full_sync
|
|
43
|
+
|
|
39
44
|
# The AppEnrollmentId of the AppEnrollment object that executed this sync request
|
|
40
45
|
# @type: string
|
|
41
46
|
# @format: uuid
|
|
@@ -10,6 +10,12 @@ end
|
|
|
10
10
|
# @format: uuid
|
|
11
11
|
field :app_enrollment_id
|
|
12
12
|
|
|
13
|
+
# A boolean indicating whether a sync from an ERP system should process all the data from the ERP
|
|
14
|
+
# as opposed to just the delta of changes since the previous sync run. For the Demo Data Connector, setting this
|
|
15
|
+
# to True refreshes the data with new dates as opposed to leaving it unchanged.
|
|
16
|
+
# @type: boolean
|
|
17
|
+
field :run_full_sync
|
|
18
|
+
|
|
13
19
|
|
|
14
20
|
|
|
15
21
|
end
|