lockstep_rails 0.3.83 → 0.3.84
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/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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :financial_year_setting_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).
|
@@ -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).
|
@@ -5,17 +5,17 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The GroupKey uniquely identifies a single
|
9
|
-
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
10
|
-
#
|
8
|
+
# The GroupKey uniquely identifies a single ADS Platform account. All records for this
|
9
|
+
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
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
|
14
14
|
field :group_key
|
15
15
|
|
16
|
-
# The unique ID of this record, automatically assigned by
|
17
|
-
# added to the
|
18
|
-
#
|
16
|
+
# The unique ID of this record, automatically assigned by ADS when this record is
|
17
|
+
# added to the ADS Platform.
|
18
|
+
#
|
19
19
|
# For the ID of this record in its originating financial system, see `ErpKey`.
|
20
20
|
# @type: string
|
21
21
|
# @format: uuid
|
@@ -31,23 +31,23 @@ end
|
|
31
31
|
# @format: uuid
|
32
32
|
field :customer_id
|
33
33
|
|
34
|
-
# The unique ID of this record as it was known in its originating financial system.
|
35
|
-
#
|
36
|
-
# If this company record was imported from a financial system, it will have the value `ErpKey`
|
37
|
-
# set to the original primary key number of the record as it was known in the originating financial
|
38
|
-
# system. If this record was not imported, this value will be `null`.
|
39
|
-
#
|
34
|
+
# The unique ID of this record as it was known in its originating financial system.
|
35
|
+
#
|
36
|
+
# If this company record was imported from a financial system, it will have the value `ErpKey`
|
37
|
+
# set to the original primary key number of the record as it was known in the originating financial
|
38
|
+
# system. If this record was not imported, this value will be `null`.
|
39
|
+
#
|
40
40
|
# For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
|
41
41
|
# @type: string
|
42
42
|
field :erp_key
|
43
43
|
|
44
|
-
# The "Purchase Order Code" is a code that is sometimes used by companies to refer to the original PO
|
45
|
-
# that was sent that caused this invoice to be written. If a customer sends a purchase order to a vendor,
|
44
|
+
# The "Purchase Order Code" is a code that is sometimes used by companies to refer to the original PO
|
45
|
+
# that was sent that caused this invoice to be written. If a customer sends a purchase order to a vendor,
|
46
46
|
# the vendor can then create an invoice and refer back to the originating purchase order using this field.
|
47
47
|
# @type: string
|
48
48
|
field :purchase_order_code
|
49
49
|
|
50
|
-
# An additional reference code that is sometimes used to identify this invoice.
|
50
|
+
# An additional reference code that is sometimes used to identify this invoice.
|
51
51
|
# The meaning of this field is specific to the ERP or accounting system used by the user.
|
52
52
|
# @type: string
|
53
53
|
field :reference_code
|
@@ -60,20 +60,20 @@ end
|
|
60
60
|
# @type: string
|
61
61
|
field :salesperson_name
|
62
62
|
|
63
|
-
# A code identifying the type of this invoice.
|
64
|
-
#
|
65
|
-
# Recognized Invoice types are:
|
66
|
-
# * `AR Invoice` - Represents an invoice sent by Company to the Customer
|
67
|
-
# * `AP Invoice` - Represents an invoice sent by Vendor to the Company
|
68
|
-
# * `AR Credit Memo` - Represents a credit memo generated by Company given to Customer
|
63
|
+
# A code identifying the type of this invoice.
|
64
|
+
#
|
65
|
+
# Recognized Invoice types are:
|
66
|
+
# * `AR Invoice` - Represents an invoice sent by Company to the Customer
|
67
|
+
# * `AP Invoice` - Represents an invoice sent by Vendor to the Company
|
68
|
+
# * `AR Credit Memo` - Represents a credit memo generated by Company given to Customer
|
69
69
|
# * `AP Credit Memo` - Represents a credit memo generated by Vendor given to Company
|
70
70
|
# @type: string
|
71
71
|
field :invoice_type_code
|
72
72
|
|
73
|
-
# A code identifying the status of this invoice.
|
74
|
-
#
|
75
|
-
# Recognized Invoice status codes are:
|
76
|
-
# * `Open` - Represents an invoice that is considered open and needs more work to complete
|
73
|
+
# A code identifying the status of this invoice.
|
74
|
+
#
|
75
|
+
# Recognized Invoice status codes are:
|
76
|
+
# * `Open` - Represents an invoice that is considered open and needs more work to complete
|
77
77
|
# * `Closed` - Represents an invoice that is considered closed and resolved
|
78
78
|
# @type: string
|
79
79
|
field :invoice_status_code
|
@@ -87,7 +87,7 @@ end
|
|
87
87
|
# @type: string
|
88
88
|
field :workflow_status_notes
|
89
89
|
|
90
|
-
# A code identifying the terms given to the purchaser. This field is imported directly from the originating
|
90
|
+
# A code identifying the terms given to the purchaser. This field is imported directly from the originating
|
91
91
|
# financial system and does not follow a specified format.
|
92
92
|
# @type: string
|
93
93
|
field :terms_code
|
@@ -135,7 +135,7 @@ end
|
|
135
135
|
# @format: date
|
136
136
|
field :posted_date
|
137
137
|
|
138
|
-
# The date when the invoice was closed and finalized after completion of all payments and delivery of all products and
|
138
|
+
# The date when the invoice was closed and finalized after completion of all payments and delivery of all products and
|
139
139
|
# services.
|
140
140
|
# @type: string
|
141
141
|
# @format: date
|
@@ -186,9 +186,9 @@ end
|
|
186
186
|
# @format: uuid
|
187
187
|
field :modified_user_id
|
188
188
|
|
189
|
-
# The AppEnrollmentId of the application that imported this record. For accounts
|
190
|
-
# with more than one financial system connected, this field identifies the originating
|
191
|
-
# financial system that produced this record. This value is null if this record
|
189
|
+
# The AppEnrollmentId of the application that imported this record. For accounts
|
190
|
+
# with more than one financial system connected, this field identifies the originating
|
191
|
+
# financial system that produced this record. This value is null if this record
|
192
192
|
# was not loaded from an external ERP or financial system.
|
193
193
|
# @type: string
|
194
194
|
# @format: uuid
|
@@ -254,15 +254,15 @@ end
|
|
254
254
|
# @format: date-time
|
255
255
|
field :source_modified_date, Types::Params::DateTime
|
256
256
|
|
257
|
-
# The Company associated to this invoice.
|
257
|
+
# The Company associated to this invoice.
|
258
258
|
# To retrieve this item, specify `Company` in the "Include" parameter for your query.
|
259
259
|
field :company
|
260
260
|
|
261
|
-
# The Customer associated to the invoice customer
|
261
|
+
# The Customer associated to the invoice customer
|
262
262
|
# To retrieve this item, specify `Customer` in the "Include" parameter for your query.
|
263
263
|
field :customer
|
264
264
|
|
265
|
-
# The Contact associated to the invoice customer
|
265
|
+
# The Contact associated to the invoice customer
|
266
266
|
# To retrieve this item, specify `Customer` in the "Include" parameter for your query.
|
267
267
|
field :customer_primary_contact
|
268
268
|
|
@@ -280,7 +280,6 @@ end
|
|
280
280
|
belongs_to :connection, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
|
281
281
|
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
282
282
|
belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
|
283
|
-
belongs_to :customer_primary_contact, {:class_name=>"Lockstep::Contact", :included=>true}
|
284
283
|
|
285
284
|
has_many :workflow_statuses, {:class_name=>"Schema::InvoiceWorkflowStatusHistory", :included=>true}
|
286
285
|
has_many :addresses, {:class_name=>"Schema::InvoiceAddress", :included=>true}
|
@@ -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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :invoice_address_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).
|
@@ -5,15 +5,15 @@ 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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
#
|
11
11
|
# For the ID of this record in its originating financial system, see `ErpKey`.
|
12
12
|
# @type: string
|
13
13
|
# @format: uuid
|
14
14
|
field :invoice_line_id
|
15
15
|
|
16
|
-
# The GroupKey uniquely identifies a single
|
16
|
+
# The GroupKey uniquely identifies a single ADS Platform account. All records for this
|
17
17
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
18
18
|
#
|
19
19
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -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).
|
@@ -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).
|
@@ -26,5 +26,6 @@ end
|
|
26
26
|
|
27
27
|
has_many :records, {:class_name=>"Schema::InvoiceSummary", :included=>true}
|
28
28
|
has_many :aging_summary, {:class_name=>"Schema::SummaryAgingTotals", :included=>true}
|
29
|
+
has_many :currency_summaries, {:class_name=>"Schema::TransactionCurrencySummary", :included=>true}
|
29
30
|
|
30
31
|
end
|
@@ -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
|
@@ -5,15 +5,15 @@ 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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
#
|
11
11
|
# For the ID of this record in its originating financial system, see `ErpKey`.
|
12
12
|
# @type: string
|
13
13
|
# @format: uuid
|
14
14
|
field :journal_entry_id
|
15
15
|
|
16
|
-
# The GroupKey uniquely identifies a single
|
16
|
+
# The GroupKey uniquely identifies a single ADS Platform account. All records for this
|
17
17
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
18
18
|
#
|
19
19
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
#
|
11
11
|
# For the ID of this record in its originating financial system, see `ErpKey`.
|
12
12
|
# @type: string
|
@@ -18,7 +18,7 @@ end
|
|
18
18
|
# @format: uuid
|
19
19
|
field :journal_entry_id
|
20
20
|
|
21
|
-
# The GroupKey uniquely identifies a single
|
21
|
+
# The GroupKey uniquely identifies a single ADS Platform account. All records for this
|
22
22
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
23
23
|
#
|
24
24
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :lead_id
|
@@ -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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :magic_link_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
|
# @type: string
|
17
17
|
# @format: uuid
|
@@ -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 when this record is
|
9
|
+
# added to the ADS Platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :note_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).
|
@@ -19,22 +19,22 @@ end
|
|
19
19
|
# @format: uuid
|
20
20
|
field :group_key
|
21
21
|
|
22
|
-
# A Note is connected to an existing item within the
|
22
|
+
# A Note is connected to an existing item within the ADS Platform by the fields `TableKey` and
|
23
23
|
# `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
|
24
24
|
# `Invoice` and an `ObjectKey` value of `12345`.
|
25
25
|
#
|
26
|
-
# The `TableKey` value contains the name of the table within the
|
26
|
+
# The `TableKey` value contains the name of the table within the ADS Platform to which this metadata
|
27
27
|
# is connected.
|
28
28
|
#
|
29
29
|
# For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
|
30
30
|
# @type: string
|
31
31
|
field :table_key
|
32
32
|
|
33
|
-
# A Note is connected to an existing item within the
|
33
|
+
# A Note is connected to an existing item within the ADS Platform by the fields `TableKey` and
|
34
34
|
# `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
|
35
35
|
# `Invoice` and an `ObjectKey` value of `12345`.
|
36
36
|
#
|
37
|
-
# The `ObjectKey` value contains the primary key of the record within the
|
37
|
+
# The `ObjectKey` value contains the primary key of the record within the ADS Platform to which this
|
38
38
|
# metadata is connected.
|
39
39
|
#
|
40
40
|
# 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 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).
|
@@ -13,8 +13,8 @@ end
|
|
13
13
|
# @format: uuid
|
14
14
|
field :group_key
|
15
15
|
|
16
|
-
# The unique ID of this record, automatically assigned by
|
17
|
-
# added to the
|
16
|
+
# The unique ID of this record, automatically assigned by ADS Platform when this record is
|
17
|
+
# added to the ADS Platform.
|
18
18
|
#
|
19
19
|
# For the ID of this record in its originating financial system, see `ErpKey`.
|
20
20
|
# @type: string
|
@@ -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).
|
@@ -13,8 +13,8 @@ end
|
|
13
13
|
# @format: uuid
|
14
14
|
field :group_key
|
15
15
|
|
16
|
-
# The unique ID of this record, automatically assigned by
|
17
|
-
# added to the
|
16
|
+
# The unique ID of this record, automatically assigned by ADS Platform when this record is
|
17
|
+
# added to the ADS Platform.
|
18
18
|
#
|
19
19
|
# For the ID of this record in its originating financial system, see `ErpKey`.
|
20
20
|
# @type: string
|
@@ -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).
|
@@ -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).
|
@@ -26,5 +26,6 @@ end
|
|
26
26
|
|
27
27
|
has_many :records, {:class_name=>"Schema::PaymentSummary", :included=>true}
|
28
28
|
has_many :aging_summary, {:class_name=>"Schema::SummaryAgingTotals", :included=>true}
|
29
|
+
has_many :currency_summaries, {:class_name=>"Schema::TransactionCurrencySummary", :included=>true}
|
29
30
|
|
30
31
|
end
|
@@ -91,10 +91,10 @@ end
|
|
91
91
|
# Magic link information about the user
|
92
92
|
field :magic_link
|
93
93
|
|
94
|
-
# Information allowing
|
94
|
+
# Information allowing ADS Platform to offer direct support to the user
|
95
95
|
field :support_access
|
96
96
|
|
97
|
-
# True if the user is being impersonated by the
|
97
|
+
# True if the user is being impersonated by the ADS Platform support team.
|
98
98
|
# @type: boolean
|
99
99
|
field :is_impersonated
|
100
100
|
|
@@ -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 :sync_request_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).
|
@@ -84,9 +84,6 @@ end
|
|
84
84
|
# @type: object
|
85
85
|
field :details
|
86
86
|
|
87
|
-
# Inbound sync payload
|
88
|
-
field :payload
|
89
|
-
|
90
87
|
# The ParentSyncRequestId for this batch zip sync request
|
91
88
|
# @type: string
|
92
89
|
# @format: uuid
|
@@ -116,6 +116,17 @@ end
|
|
116
116
|
# @type: string
|
117
117
|
field :transaction_customer_name
|
118
118
|
|
119
|
+
# Specific payment transactions have a status with Service Fabric.
|
120
|
+
#
|
121
|
+
# Recognized values are:
|
122
|
+
# * PENDING
|
123
|
+
# * PAID
|
124
|
+
# * PAID_OFFLINE
|
125
|
+
# * PARTIALLY
|
126
|
+
# * PARTIALLY_REFUNDED
|
127
|
+
# @type: string
|
128
|
+
field :service_fabric_status
|
129
|
+
|
119
130
|
|
120
131
|
|
121
132
|
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
class Schema::TransactionCurrencySummary < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# The currency code for the summary.
|
9
|
+
# @type: string
|
10
|
+
field :currency_code
|
11
|
+
|
12
|
+
# Total value of all transactions from the query request for the specified currency.
|
13
|
+
# @type: number
|
14
|
+
# @format: double
|
15
|
+
field :total_amount
|
16
|
+
|
17
|
+
# Total outstanding amount value of all transactions from the query request for the specified currency.
|
18
|
+
# @type: number
|
19
|
+
# @format: double
|
20
|
+
field :outstanding_amount
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
end
|
@@ -91,6 +91,17 @@ end
|
|
91
91
|
# @type: boolean
|
92
92
|
field :supports_erp_pdf_retrieval
|
93
93
|
|
94
|
+
# Specific payment transactions have a status with Service Fabric.
|
95
|
+
#
|
96
|
+
# Recognized values are:
|
97
|
+
# * PENDING
|
98
|
+
# * PAID
|
99
|
+
# * PAID_OFFLINE
|
100
|
+
# * PARTIALLY
|
101
|
+
# * PARTIALLY_REFUNDED
|
102
|
+
# @type: string
|
103
|
+
field :service_fabric_status
|
104
|
+
|
94
105
|
|
95
106
|
|
96
107
|
end
|
@@ -26,5 +26,6 @@ end
|
|
26
26
|
|
27
27
|
has_many :records, {:class_name=>"Schema::Transaction", :included=>true}
|
28
28
|
has_many :aging_summary, {:class_name=>"Schema::SummaryAgingTotals", :included=>true}
|
29
|
+
has_many :currency_summaries, {:class_name=>"Schema::TransactionCurrencySummary", :included=>true}
|
29
30
|
|
30
31
|
end
|
@@ -5,15 +5,15 @@ 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
|
#
|
11
11
|
# This record provides a link to the user's Azure AD B2C OID.
|
12
12
|
# @type: string
|
13
13
|
# @format: uuid
|
14
14
|
field :user_id
|
15
15
|
|
16
|
-
# The GroupKey uniquely identifies a single
|
16
|
+
# The GroupKey uniquely identifies a single ADS Platform account. All records for this
|
17
17
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
18
18
|
#
|
19
19
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -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).
|
@@ -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 :user_role_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).
|
@@ -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).
|