lockstep_sdk 2023.3.18.0 → 2023.7.7.0
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/lib/lockstep_sdk/clients/attachment_links_client.rb +91 -0
- data/lib/lockstep_sdk/clients/profiles_accounting_client.rb +1 -12
- data/lib/lockstep_sdk/clients/profiles_accounting_contacts_client.rb +27 -21
- data/lib/lockstep_sdk/clients/sync_client.rb +5 -2
- data/lib/lockstep_sdk/lockstep_api.rb +8 -3
- data/lib/lockstep_sdk/models/accounting_profile_contact_model.rb +6 -0
- data/lib/lockstep_sdk/models/accounting_profile_contact_result_model.rb +251 -0
- data/lib/lockstep_sdk/models/accounting_profile_model.rb +0 -6
- data/lib/lockstep_sdk/models/accounting_profile_request.rb +183 -0
- data/lib/lockstep_sdk/models/app_enrollment_reconnect_info.rb +7 -1
- data/lib/lockstep_sdk/models/attachment_link_model.rb +77 -0
- data/lib/lockstep_sdk/models/batch_sync_model.rb +12 -0
- data/lib/lockstep_sdk/models/company_model.rb +24 -0
- data/lib/lockstep_sdk/models/invoice_model.rb +28 -4
- data/lib/lockstep_sdk/models/invoice_summary_model_invoice_summary_totals_model_summary_fetch_result.rb +6 -6
- data/lib/lockstep_sdk/models/invoice_sync_model.rb +28 -4
- data/lib/lockstep_sdk/models/payment_model.rb +20 -2
- data/lib/lockstep_sdk/models/payment_summary_model_payment_summary_totals_model_summary_fetch_result.rb +6 -6
- data/lib/lockstep_sdk/models/payment_sync_model.rb +14 -2
- data/lib/lockstep_sdk/models/sync_request_model.rb +8 -2
- data/lib/lockstep_sdk/version.rb +1 -1
- metadata +6 -2
@@ -48,6 +48,8 @@ module LockstepSdk
|
|
48
48
|
@is_voided = params.dig(:is_voided)
|
49
49
|
@in_dispute = params.dig(:in_dispute)
|
50
50
|
@currency_rate = params.dig(:currency_rate)
|
51
|
+
@base_currency_payment_amount = params.dig(:base_currency_payment_amount)
|
52
|
+
@base_currency_unapplied_amount = params.dig(:base_currency_unapplied_amount)
|
51
53
|
end
|
52
54
|
|
53
55
|
##
|
@@ -83,11 +85,11 @@ module LockstepSdk
|
|
83
85
|
attr_accessor :post_date
|
84
86
|
|
85
87
|
##
|
86
|
-
# @return [Double] Total amount of this payment.
|
88
|
+
# @return [Double] Total amount of this payment in the payment's currency.
|
87
89
|
attr_accessor :payment_amount
|
88
90
|
|
89
91
|
##
|
90
|
-
# @return [Double] Unapplied balance of this payment. If this amount is nonzero, the field `IsOpen` will be true.
|
92
|
+
# @return [Double] Unapplied balance of this payment in the payment's currency. If this amount is nonzero, the field `IsOpen` will be true.
|
91
93
|
attr_accessor :unapplied_amount
|
92
94
|
|
93
95
|
##
|
@@ -118,6 +120,14 @@ module LockstepSdk
|
|
118
120
|
# @return [Double] The Currency Rate used to get from the account's base currency to the payment amount.
|
119
121
|
attr_accessor :currency_rate
|
120
122
|
|
123
|
+
##
|
124
|
+
# @return [Double] Total amount of this payment in the erp's base currency.
|
125
|
+
attr_accessor :base_currency_payment_amount
|
126
|
+
|
127
|
+
##
|
128
|
+
# @return [Double] Unapplied balance of this payment in the erp's base currency. If this amount is nonzero, the field `IsOpen` will be true.
|
129
|
+
attr_accessor :base_currency_unapplied_amount
|
130
|
+
|
121
131
|
##
|
122
132
|
# @return [object] This object as a JSON key-value structure
|
123
133
|
def as_json(options={})
|
@@ -139,6 +149,8 @@ module LockstepSdk
|
|
139
149
|
'isVoided' => @is_voided,
|
140
150
|
'inDispute' => @in_dispute,
|
141
151
|
'currencyRate' => @currency_rate,
|
152
|
+
'baseCurrencyPaymentAmount' => @base_currency_payment_amount,
|
153
|
+
'baseCurrencyUnappliedAmount' => @base_currency_unapplied_amount,
|
142
154
|
}
|
143
155
|
end
|
144
156
|
|
@@ -36,6 +36,7 @@ module LockstepSdk
|
|
36
36
|
@operation_type_name = params.dig(:operation_type_name)
|
37
37
|
@operation_type = params.dig(:operation_type)
|
38
38
|
@process_result_message = params.dig(:process_result_message)
|
39
|
+
@failure_count = params.dig(:failure_count)
|
39
40
|
@run_full_sync = params.dig(:run_full_sync)
|
40
41
|
@app_enrollment_id = params.dig(:app_enrollment_id)
|
41
42
|
@created = params.dig(:created)
|
@@ -61,7 +62,7 @@ module LockstepSdk
|
|
61
62
|
attr_accessor :operation_type_name
|
62
63
|
|
63
64
|
##
|
64
|
-
# @return [
|
65
|
+
# @return [SyncOperationType] Possible operation types for a SyncRequest
|
65
66
|
attr_accessor :operation_type
|
66
67
|
|
67
68
|
##
|
@@ -69,7 +70,11 @@ module LockstepSdk
|
|
69
70
|
attr_accessor :process_result_message
|
70
71
|
|
71
72
|
##
|
72
|
-
# @return [
|
73
|
+
# @return [Int32] The number of times this Sync Request has failed
|
74
|
+
attr_accessor :failure_count
|
75
|
+
|
76
|
+
##
|
77
|
+
# @return [Boolean] A boolean indicating whether a sync from an ERP system should process all the data from the ERP as opposed to just the delta of changes since the previous sync run
|
73
78
|
attr_accessor :run_full_sync
|
74
79
|
|
75
80
|
##
|
@@ -102,6 +107,7 @@ module LockstepSdk
|
|
102
107
|
'operationTypeName' => @operation_type_name,
|
103
108
|
'operationType' => @operation_type,
|
104
109
|
'processResultMessage' => @process_result_message,
|
110
|
+
'failureCount' => @failure_count,
|
105
111
|
'runFullSync' => @run_full_sync,
|
106
112
|
'appEnrollmentId' => @app_enrollment_id,
|
107
113
|
'created' => @created,
|
data/lib/lockstep_sdk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lockstep_sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2023.
|
4
|
+
version: 2023.7.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lockstep
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awrence
|
@@ -35,6 +35,7 @@ files:
|
|
35
35
|
- lib/lockstep_sdk/clients/api_keys_client.rb
|
36
36
|
- lib/lockstep_sdk/clients/app_enrollments_client.rb
|
37
37
|
- lib/lockstep_sdk/clients/applications_client.rb
|
38
|
+
- lib/lockstep_sdk/clients/attachment_links_client.rb
|
38
39
|
- lib/lockstep_sdk/clients/attachments_client.rb
|
39
40
|
- lib/lockstep_sdk/clients/code_definitions_client.rb
|
40
41
|
- lib/lockstep_sdk/clients/companies_client.rb
|
@@ -73,7 +74,9 @@ files:
|
|
73
74
|
- lib/lockstep_sdk/clients/webhooks_client.rb
|
74
75
|
- lib/lockstep_sdk/lockstep_api.rb
|
75
76
|
- lib/lockstep_sdk/models/accounting_profile_contact_model.rb
|
77
|
+
- lib/lockstep_sdk/models/accounting_profile_contact_result_model.rb
|
76
78
|
- lib/lockstep_sdk/models/accounting_profile_model.rb
|
79
|
+
- lib/lockstep_sdk/models/accounting_profile_request.rb
|
77
80
|
- lib/lockstep_sdk/models/action_result_model.rb
|
78
81
|
- lib/lockstep_sdk/models/aging_model.rb
|
79
82
|
- lib/lockstep_sdk/models/ap_aging_header_info_model.rb
|
@@ -87,6 +90,7 @@ files:
|
|
87
90
|
- lib/lockstep_sdk/models/ar_header_info_model.rb
|
88
91
|
- lib/lockstep_sdk/models/at_risk_invoice_summary_model.rb
|
89
92
|
- lib/lockstep_sdk/models/attachment_header_info_model.rb
|
93
|
+
- lib/lockstep_sdk/models/attachment_link_model.rb
|
90
94
|
- lib/lockstep_sdk/models/attachment_model.rb
|
91
95
|
- lib/lockstep_sdk/models/base_currency_sync_model.rb
|
92
96
|
- lib/lockstep_sdk/models/batch_sync_model.rb
|