lockstep_rails 0.3.83 → 0.3.84
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/lockstep/invoice.rb +6 -1
- data/app/platform_api/schema/accounting_profile.rb +3 -3
- data/app/platform_api/schema/accounting_profile_contact.rb +3 -3
- data/app/platform_api/schema/accounting_profile_contact_result.rb +7 -3
- data/app/platform_api/schema/accounting_profile_request.rb +3 -3
- data/app/platform_api/schema/api_key.rb +1 -1
- data/app/platform_api/schema/app_enrollment.rb +3 -3
- data/app/platform_api/schema/app_enrollment_custom_field.rb +1 -1
- data/app/platform_api/schema/application.rb +1 -1
- data/app/platform_api/schema/attachment.rb +9 -9
- data/app/platform_api/schema/attachment_link.rb +7 -7
- data/app/platform_api/schema/code_definition.rb +3 -3
- data/app/platform_api/schema/company.rb +12 -4
- data/app/platform_api/schema/company_details.rb +1 -1
- data/app/platform_api/schema/company_details_payment.rb +1 -1
- data/app/platform_api/schema/company_magic_link_summary.rb +25 -1
- data/app/platform_api/schema/company_sync.rb +5 -1
- data/app/platform_api/schema/contact.rb +7 -3
- data/app/platform_api/schema/contact_sync.rb +4 -0
- data/app/platform_api/schema/credit_memo_applied.rb +7 -7
- data/app/platform_api/schema/credit_memo_invoice.rb +3 -3
- data/app/platform_api/schema/custom_field_definition.rb +3 -3
- data/app/platform_api/schema/custom_field_value.rb +3 -3
- data/app/platform_api/schema/customer_summary.rb +1 -1
- data/app/platform_api/schema/financial_account.rb +1 -1
- data/app/platform_api/schema/financial_account_balance_history.rb +3 -3
- data/app/platform_api/schema/financial_institution_account.rb +1 -1
- data/app/platform_api/schema/financial_report.rb +1 -1
- data/app/platform_api/schema/financial_year_setting.rb +3 -3
- data/app/platform_api/schema/group_account.rb +1 -1
- data/app/platform_api/schema/invoice.rb +33 -34
- data/app/platform_api/schema/invoice_address.rb +3 -3
- data/app/platform_api/schema/invoice_line.rb +3 -3
- data/app/platform_api/schema/invoice_payment_detail.rb +1 -1
- data/app/platform_api/schema/invoice_summary.rb +1 -1
- data/app/platform_api/schema/invoice_summary_invoice_summary_totals_summary_fetch_result.rb +1 -0
- data/app/platform_api/schema/invoice_workflow_status_history.rb +1 -1
- data/app/platform_api/schema/journal_entry.rb +3 -3
- data/app/platform_api/schema/journal_entry_line.rb +3 -3
- data/app/platform_api/schema/lead.rb +2 -2
- data/app/platform_api/schema/magic_link.rb +3 -3
- data/app/platform_api/schema/note.rb +7 -7
- data/app/platform_api/schema/payment.rb +3 -3
- data/app/platform_api/schema/payment_applied.rb +3 -3
- data/app/platform_api/schema/payment_detail.rb +1 -1
- data/app/platform_api/schema/payment_summary.rb +1 -1
- data/app/platform_api/schema/payment_summary_payment_summary_totals_summary_fetch_result.rb +1 -0
- data/app/platform_api/schema/status.rb +2 -2
- data/app/platform_api/schema/sync_request.rb +3 -6
- data/app/platform_api/schema/transaction.rb +11 -0
- data/app/platform_api/schema/transaction_currency_summary.rb +24 -0
- data/app/platform_api/schema/transaction_detail.rb +11 -0
- data/app/platform_api/schema/transaction_transaction_summary_total_summary_fetch_result.rb +1 -0
- data/app/platform_api/schema/user_account.rb +3 -3
- data/app/platform_api/schema/user_data_response.rb +1 -1
- data/app/platform_api/schema/user_group.rb +1 -1
- data/app/platform_api/schema/user_role.rb +3 -3
- data/app/platform_api/schema/vendor_summary.rb +1 -1
- data/app/platform_api/schema/webhook.rb +5 -5
- data/app/platform_api/schema/webhook_history_table_storage.rb +3 -3
- data/app/platform_api/schema/webhook_rule.rb +4 -4
- data/app/platform_api/schema/workflow_status.rb +2 -1
- data/app/platform_api/swagger.json +830 -1282
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +3 -2
@@ -5,13 +5,13 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The unique ID of this record, automatically assigned by
|
9
|
-
# added to the
|
8
|
+
# The unique ID of this record, automatically assigned by ADS Platform when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :webhook_id
|
13
13
|
|
14
|
-
# The GroupKey uniquely identifies a single
|
14
|
+
# The GroupKey uniquely identifies a single ADS Platform account. All records for this
|
15
15
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
16
16
|
#
|
17
17
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -32,7 +32,7 @@ end
|
|
32
32
|
field :status_message
|
33
33
|
|
34
34
|
# An secret set during webhook creation that can be used to verify that the notification
|
35
|
-
# is coming from the
|
35
|
+
# is coming from the ADS Platform API.
|
36
36
|
# @type: string
|
37
37
|
field :client_secret
|
38
38
|
|
@@ -46,7 +46,7 @@ end
|
|
46
46
|
|
47
47
|
# The URL where the notification will be sent via the method set in CallbackHttpMethod.
|
48
48
|
#
|
49
|
-
# When creating a webhook, the
|
49
|
+
# When creating a webhook, the ADS Platform API will make a call to this url via the method
|
50
50
|
# set in the CallbackHttpMethod property with a query parameter of "code" set to an encoded
|
51
51
|
# string. To successfully create the webhook, the call must return a successful status code
|
52
52
|
# with the query parameter's value as the plain text content.
|
@@ -5,7 +5,7 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The GroupKey uniquely identifies a single
|
8
|
+
# The GroupKey uniquely identifies a single ADS 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).
|
@@ -18,8 +18,8 @@ end
|
|
18
18
|
# @format: uuid
|
19
19
|
field :webhook_id
|
20
20
|
|
21
|
-
# The unique ID of this record, automatically assigned by
|
22
|
-
# added to the
|
21
|
+
# The unique ID of this record, automatically assigned by ADS Platform when this record is
|
22
|
+
# added to the ADS Platform.
|
23
23
|
# @type: string
|
24
24
|
# @format: uuid
|
25
25
|
field :webhook_history_id
|
@@ -5,8 +5,8 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The unique ID of this record, automatically assigned by
|
9
|
-
# added to the
|
8
|
+
# The unique ID of this record, automatically assigned by ADS Platform when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :webhook_rule_id
|
@@ -16,7 +16,7 @@ end
|
|
16
16
|
# @format: uuid
|
17
17
|
field :webhook_id
|
18
18
|
|
19
|
-
# The GroupKey uniquely identifies a single
|
19
|
+
# The GroupKey uniquely identifies a single ADS Platform account. All records for this
|
20
20
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
21
21
|
#
|
22
22
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -28,7 +28,7 @@ end
|
|
28
28
|
# For example, a Webhook setup for when an Invoice is Created would have a `TableKey` value of
|
29
29
|
# `Invoice` and an `EventType` value of `I` (Insert).
|
30
30
|
#
|
31
|
-
# The `TableKey` value contains the name of the table within the
|
31
|
+
# The `TableKey` value contains the name of the table within the ADS Platform to which this metadata
|
32
32
|
# is connected.
|
33
33
|
#
|
34
34
|
# For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
|
@@ -5,7 +5,7 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The unique ID of this record, automatically assigned by
|
8
|
+
# The unique ID of this record, automatically assigned by ADS Platform when this record is
|
9
9
|
# added to the Accounting Data Services platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
@@ -67,5 +67,6 @@ end
|
|
67
67
|
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
68
68
|
belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
|
69
69
|
|
70
|
+
has_many :children, {:class_name=>"Schema::WorkflowStatus", :included=>true}
|
70
71
|
|
71
72
|
end
|