lockstep_rails 0.3.89 → 0.3.90
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/custom_field_value.rb +12 -0
- 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/app_enrollment_reconnect_info.rb +0 -16
- data/app/platform_api/schema/application.rb +1 -1
- data/app/platform_api/schema/attachment.rb +8 -8
- data/app/platform_api/schema/attachment_link.rb +6 -6
- data/app/platform_api/schema/code_definition.rb +2 -2
- data/app/platform_api/schema/company.rb +7 -13
- 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 +1 -1
- data/app/platform_api/schema/company_sync.rb +5 -14
- data/app/platform_api/schema/connector_info.rb +0 -50
- data/app/platform_api/schema/contact.rb +2 -2
- data/app/platform_api/schema/contact_sync.rb +1 -1
- data/app/platform_api/schema/credit_memo_applied.rb +6 -6
- data/app/platform_api/schema/credit_memo_applied_sync.rb +1 -1
- data/app/platform_api/schema/credit_memo_invoice.rb +8 -2
- data/app/platform_api/schema/custom_field_definition.rb +2 -2
- data/app/platform_api/schema/custom_field_value.rb +2 -2
- 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 +2 -2
- data/app/platform_api/schema/financial_account_balance_history_sync.rb +1 -3
- data/app/platform_api/schema/financial_institution_account.rb +1 -1
- data/app/platform_api/schema/financial_year_setting.rb +2 -2
- data/app/platform_api/schema/group_account.rb +6 -1
- data/app/platform_api/schema/invoice.rb +17 -2
- data/app/platform_api/schema/invoice_address.rb +2 -2
- data/app/platform_api/schema/invoice_line.rb +2 -17
- data/app/platform_api/schema/invoice_line_sync.rb +1 -115
- data/app/platform_api/schema/invoice_payment_detail.rb +7 -1
- data/app/platform_api/schema/invoice_summary.rb +1 -1
- data/app/platform_api/schema/invoice_sync.rb +5 -1
- data/app/platform_api/schema/invoice_workflow_status_history.rb +11 -3
- data/app/platform_api/schema/magic_link.rb +2 -2
- data/app/platform_api/schema/note.rb +6 -6
- data/app/platform_api/schema/object_event.rb +69 -0
- data/app/platform_api/schema/payment.rb +15 -3
- data/app/platform_api/schema/payment_applied.rb +3 -3
- data/app/platform_api/schema/payment_applied_sync.rb +1 -1
- data/app/platform_api/schema/payment_detail.rb +2 -2
- data/app/platform_api/schema/payment_summary.rb +1 -1
- data/app/platform_api/schema/payment_sync.rb +9 -1
- data/app/platform_api/schema/status.rb +2 -2
- data/app/platform_api/schema/sync_request.rb +7 -3
- 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 -2
- data/app/platform_api/swagger.json +6561 -12164
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +6 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d18fecc118b537898a13abf452ec36e2efce2596553d55cad4f4e48d8bc1aa78
|
4
|
+
data.tar.gz: f31076e4731b79b73a75c4e908d5f9d9f6ecd1dfb2f091567c64343c45a8e951
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1e890c2a83c07baa7408c22343fa7667f7f3449bf73c83d706b6988127063f8363d6f6b1f1621983bafa42d9e6217bd2577fe859346d56544ec55049ca068608
|
7
|
+
data.tar.gz: 9b9cfbb0e27dc87d411b8450f7b671ce23be8100a6f1c5f5a0ffd164eb69a65803835fc6965761f7c18fc815570f76a5df9d10b1a5859f3ea4ce2abc341dcca6
|
@@ -2,4 +2,16 @@ class Lockstep::CustomFieldValue < Lockstep::ApiRecord
|
|
2
2
|
self.model_name_uri = 'v1/CustomFieldValues'
|
3
3
|
self.id_ref = 'custom_field_definition_id'
|
4
4
|
load_schema(Schema::CustomFieldValue)
|
5
|
+
|
6
|
+
def update(attributes = {})
|
7
|
+
attributes = HashWithIndifferentAccess.new(attributes)
|
8
|
+
|
9
|
+
@unsaved_attributes.merge!(attributes)
|
10
|
+
attrs = attributes_for_saving.transform_keys { |key| key.camelize(:lower) }
|
11
|
+
|
12
|
+
# Label with CustomerLocale to be updated from here
|
13
|
+
resp = resource.patch("CustomerLocale/#{attributes[:record_key]}", body: attrs)
|
14
|
+
post_result(resp)
|
15
|
+
end
|
16
|
+
|
5
17
|
end
|
@@ -10,7 +10,7 @@ end
|
|
10
10
|
# @format: uuid
|
11
11
|
field :api_key_id
|
12
12
|
|
13
|
-
# The GroupKey uniquely identifies a single
|
13
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
14
14
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
15
15
|
#
|
16
16
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -6,7 +6,7 @@ def self.id_ref
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
9
|
-
# added to the
|
9
|
+
# added to the Accounting Data Service.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :app_enrollment_id
|
@@ -17,7 +17,7 @@ end
|
|
17
17
|
# @format: uuid
|
18
18
|
field :app_id
|
19
19
|
|
20
|
-
# The GroupKey uniquely identifies a single
|
20
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
21
21
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
22
22
|
#
|
23
23
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -58,7 +58,7 @@ end
|
|
58
58
|
# @type: boolean
|
59
59
|
field :sync_schedule_is_active
|
60
60
|
|
61
|
-
# Flag indicating if the App Enrollment is currently being deleted from the
|
61
|
+
# Flag indicating if the App Enrollment is currently being deleted from the Network.
|
62
62
|
# @type: boolean
|
63
63
|
field :is_deleted
|
64
64
|
|
@@ -23,7 +23,7 @@ end
|
|
23
23
|
# @type: string
|
24
24
|
field :app_type
|
25
25
|
|
26
|
-
# The GroupKey uniquely identifies a single
|
26
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
27
27
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
28
28
|
#
|
29
29
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -5,10 +5,6 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The OAuth authentication code.
|
9
|
-
# @type: string
|
10
|
-
field :auth_code
|
11
|
-
|
12
8
|
# The username for the web services account with access permissions.
|
13
9
|
# @type: string
|
14
10
|
field :username
|
@@ -21,18 +17,6 @@ end
|
|
21
17
|
# @type: string
|
22
18
|
field :realm_id
|
23
19
|
|
24
|
-
# The access token id for the connector enrollment.
|
25
|
-
# @type: string
|
26
|
-
field :token_id
|
27
|
-
|
28
|
-
# The access token secret for the connector enrollment.
|
29
|
-
# @type: string
|
30
|
-
field :token_secret
|
31
|
-
|
32
|
-
# The OAuth redirect uri.
|
33
|
-
# @type: string
|
34
|
-
field :redirect_uri
|
35
|
-
|
36
20
|
|
37
21
|
|
38
22
|
end
|
@@ -59,7 +59,7 @@ end
|
|
59
59
|
# @type: boolean
|
60
60
|
field :is_active
|
61
61
|
|
62
|
-
# The GroupKey uniquely identifies a single
|
62
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
63
63
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
64
64
|
#
|
65
65
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -6,12 +6,12 @@ def self.id_ref
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
9
|
-
# added to the
|
9
|
+
# added to the Accounting Data Service.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :attachment_id
|
13
13
|
|
14
|
-
# The GroupKey uniquely identifies a single
|
14
|
+
# The GroupKey uniquely identifies a single Accounting Data Service 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
|
-
# An Attachment is connected to an existing item within the
|
22
|
+
# An Attachment is connected to an existing item within the Accounting Data Service by the fields `TableKey` and
|
23
23
|
# `ObjectKey`. For example, an Attachment 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 Accounting Data Service to which this Attachment
|
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
|
-
# An Attachment is connected to an existing item within the
|
33
|
+
# An Attachment is connected to an existing item within the Accounting Data Service by the fields `TableKey` and
|
34
34
|
# `ObjectKey`. For example, an Attachment 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 Accounting Data Service to which this
|
38
38
|
# Attachment 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).
|
@@ -42,12 +42,12 @@ end
|
|
42
42
|
# @format: uuid
|
43
43
|
field :object_key
|
44
44
|
|
45
|
-
# An Attachment represents a file that was uploaded to the
|
45
|
+
# An Attachment represents a file that was uploaded to the Accounting Data Service. This field contains the original
|
46
46
|
# name of the file on disk, without its extension.
|
47
47
|
# @type: string
|
48
48
|
field :file_name
|
49
49
|
|
50
|
-
# An Attachment represents a file that was uploaded to the
|
50
|
+
# An Attachment represents a file that was uploaded to the Accounting Data Service. This field contains the original
|
51
51
|
# extension name of the file on disk.
|
52
52
|
# @type: string
|
53
53
|
field :file_ext
|
@@ -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 Accounting Data Service 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).
|
@@ -14,16 +14,16 @@ end
|
|
14
14
|
field :group_key
|
15
15
|
|
16
16
|
# The unique ID of an attachment record, automatically assigned by ADS when this record is
|
17
|
-
# added to the
|
17
|
+
# added to the Accounting Data Service.
|
18
18
|
# @type: string
|
19
19
|
# @format: uuid
|
20
20
|
field :attachment_id
|
21
21
|
|
22
|
-
# An Attachment is connected to an existing item within the
|
22
|
+
# An Attachment is connected to an existing item within the Accounting Data Service by the fields `TableKey` and
|
23
23
|
# `ObjectKey`. For example, an Attachment connected to Invoice 12345 would have a `TableKey` value of
|
24
24
|
# `Invoice` and an `ObjectKey` value of `12345`.
|
25
25
|
#
|
26
|
-
# The `ObjectKey` value contains the primary key of the record within the
|
26
|
+
# The `ObjectKey` value contains the primary key of the record within the Accounting Data Service to which this
|
27
27
|
# Attachment 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).
|
@@ -31,11 +31,11 @@ end
|
|
31
31
|
# @format: uuid
|
32
32
|
field :object_key
|
33
33
|
|
34
|
-
# An Attachment is connected to an existing item within the
|
34
|
+
# An Attachment is connected to an existing item within the Accounting Data Service by the fields `TableKey` and
|
35
35
|
# `ObjectKey`. For example, an Attachment connected to Invoice 12345 would have a `TableKey` value of
|
36
36
|
# `Invoice` and an `ObjectKey` value of `12345`.
|
37
37
|
#
|
38
|
-
# The `TableKey` value contains the name of the table within the
|
38
|
+
# The `TableKey` value contains the name of the table within the Accounting Data Service to which this Attachment
|
39
39
|
# is connected.
|
40
40
|
#
|
41
41
|
# For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
|
@@ -6,12 +6,12 @@ def self.id_ref
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
9
|
-
# added to the
|
9
|
+
# added to the Accounting Data Service.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :code_definition_id
|
13
13
|
|
14
|
-
# The GroupKey uniquely identifies a single
|
14
|
+
# The GroupKey uniquely identifies a single Accounting Data Service 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).
|
@@ -6,7 +6,7 @@ def self.id_ref
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
9
|
-
# added to the
|
9
|
+
# added to the Accounting Data Service.
|
10
10
|
#
|
11
11
|
# For the ID of this record in its originating financial system, see `ErpKey`.
|
12
12
|
# @type: string
|
@@ -55,7 +55,7 @@ end
|
|
55
55
|
# @format: uuid
|
56
56
|
field :enterprise_id
|
57
57
|
|
58
|
-
# The GroupKey uniquely identifies a single
|
58
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
59
59
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
60
60
|
#
|
61
61
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -82,7 +82,7 @@ end
|
|
82
82
|
# The scan status of the company's logo, if it exists
|
83
83
|
field :company_logo_status
|
84
84
|
|
85
|
-
# The
|
85
|
+
# The Accounting Data Service `ContactId` of the primary contact for this company. This contact must belong to this company.
|
86
86
|
# @type: string
|
87
87
|
# @format: uuid
|
88
88
|
field :primary_contact_id
|
@@ -159,16 +159,6 @@ end
|
|
159
159
|
# @type: string
|
160
160
|
field :duns_number
|
161
161
|
|
162
|
-
# AP (Accounts Payable) Email Address
|
163
|
-
# @type: string
|
164
|
-
# @format: email
|
165
|
-
field :ap_email_address
|
166
|
-
|
167
|
-
# AR (Accounts Receivable) Email Address
|
168
|
-
# @type: string
|
169
|
-
# @format: email
|
170
|
-
field :ar_email_address
|
171
|
-
|
172
162
|
# Indicates the preferred invoice delivery method. Examples include Print, Email, Fax
|
173
163
|
# @type: string
|
174
164
|
field :preferred_delivery_method
|
@@ -256,6 +246,10 @@ end
|
|
256
246
|
# @format: uuid
|
257
247
|
field :profile_reference_id
|
258
248
|
|
249
|
+
# A reference code for this company. This code is used to identify this company in external ERP systems.
|
250
|
+
# @type: string
|
251
|
+
field :reference_code
|
252
|
+
|
259
253
|
# All invoices attached to this company.
|
260
254
|
#
|
261
255
|
# To retrieve this collection, specify `Invoices` in the "Include" parameter for your query. For more information on Invoices, see [InvoiceModel](https://developer.lockstep.io/reference/get_api-v1-invoices-id).
|
@@ -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 Accounting Data Service 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 Accounting Data Service 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).
|
@@ -28,7 +28,7 @@ end
|
|
28
28
|
# @type: string
|
29
29
|
field :company_type
|
30
30
|
|
31
|
-
# The GroupKey uniquely identifies a single
|
31
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
32
32
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
33
33
|
#
|
34
34
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -8,7 +8,7 @@ end
|
|
8
8
|
# Indicates what action to take when an existing object has been found during the sync process.
|
9
9
|
field :on_match_action
|
10
10
|
|
11
|
-
# The unique identifier of this object in the
|
11
|
+
# The unique identifier of this object in the Accounting Data Service.
|
12
12
|
# @type: string
|
13
13
|
# @format: uuid
|
14
14
|
field :network_id
|
@@ -20,9 +20,6 @@ end
|
|
20
20
|
# Example: If you store your company records in a database, whatever the primary key for the company table is
|
21
21
|
# in the database should be the `ErpKey`.
|
22
22
|
#
|
23
|
-
# Example: If you use a financial system such as QuickBooks or Xero, look for the primary ID number of the
|
24
|
-
# company record within that financial system.
|
25
|
-
#
|
26
23
|
# For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
|
27
24
|
# @type: string
|
28
25
|
field :erp_key
|
@@ -145,16 +142,6 @@ end
|
|
145
142
|
# @type: string
|
146
143
|
field :duns_number
|
147
144
|
|
148
|
-
# If you know the AP (accounts payable) email address of this company, fill it in here. This is the email
|
149
|
-
# address where you would send questions to the company if the company owed you money.
|
150
|
-
# @type: string
|
151
|
-
field :ap_email_address
|
152
|
-
|
153
|
-
# If you know the AR (accounts receivable) email address of this company, fill it in here. This is the email
|
154
|
-
# address where you would send questions to the company if you owed this company money.
|
155
|
-
# @type: string
|
156
|
-
field :ar_email_address
|
157
|
-
|
158
145
|
# Indicates the preferred invoice delivery method. Examples include Print, Email, Fax
|
159
146
|
# @type: string
|
160
147
|
field :preferred_delivery_method
|
@@ -175,6 +162,10 @@ end
|
|
175
162
|
# @type: string
|
176
163
|
field :company_identifiers
|
177
164
|
|
165
|
+
# A reference code for the Company. This code is used to identify this company in external ERP systems.
|
166
|
+
# @type: string
|
167
|
+
field :reference_code
|
168
|
+
|
178
169
|
|
179
170
|
|
180
171
|
end
|
@@ -5,35 +5,10 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The authorization code returned from the first step of the OAuth2 flow
|
9
|
-
# https://oauth.net/2/grant-types/authorization-code/
|
10
|
-
# @type: string
|
11
|
-
field :auth_code
|
12
|
-
|
13
|
-
# The access token id for the connector enrollment.
|
14
|
-
# @type: string
|
15
|
-
field :token_id
|
16
|
-
|
17
|
-
# The access token secret for the connector enrollment.
|
18
|
-
# @type: string
|
19
|
-
field :token_secret
|
20
|
-
|
21
8
|
# The realm id of the account being granted permissions to access
|
22
9
|
# @type: string
|
23
10
|
field :realm_id
|
24
11
|
|
25
|
-
# The subsidiary id that corresponds to a legal entity.
|
26
|
-
# @type: string
|
27
|
-
field :subsidiary_id
|
28
|
-
|
29
|
-
# The redirect uri used for step one of the OAuth2.0 flow.
|
30
|
-
# @type: string
|
31
|
-
field :redirect_uri
|
32
|
-
|
33
|
-
# The email an email connection is being created for.
|
34
|
-
# @type: string
|
35
|
-
field :email
|
36
|
-
|
37
12
|
# The username of the web services account with access permissions.
|
38
13
|
# @type: string
|
39
14
|
field :username
|
@@ -42,31 +17,6 @@ end
|
|
42
17
|
# @type: string
|
43
18
|
field :password
|
44
19
|
|
45
|
-
# The server name a connection is being created for.
|
46
|
-
# @type: string
|
47
|
-
field :server_name
|
48
|
-
|
49
|
-
# The port number of the server a connection is being created for.
|
50
|
-
# @type: integer
|
51
|
-
# @format: int32
|
52
|
-
field :server_port
|
53
|
-
|
54
|
-
# The Client Id for the connection being created.
|
55
|
-
# @type: string
|
56
|
-
field :client_id
|
57
|
-
|
58
|
-
# The Secret for the connection being created.
|
59
|
-
# @type: string
|
60
|
-
field :client_secret
|
61
|
-
|
62
|
-
# The TenantId for the connection being created.
|
63
|
-
# @type: string
|
64
|
-
field :tenant
|
65
|
-
|
66
|
-
# The AuthToken for the connection being created.
|
67
|
-
# @type: string
|
68
|
-
field :auth_token
|
69
|
-
|
70
20
|
|
71
21
|
|
72
22
|
end
|
@@ -6,7 +6,7 @@ def self.id_ref
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
9
|
-
# added to the
|
9
|
+
# added to the Accounting Data Service.
|
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 :company_id
|
20
20
|
|
21
|
-
# The GroupKey uniquely identifies a single
|
21
|
+
# The GroupKey uniquely identifies a single Accounting Data Service 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).
|
@@ -8,7 +8,7 @@ end
|
|
8
8
|
# Indicates what action to take when an existing object has been found during the sync process.
|
9
9
|
field :on_match_action
|
10
10
|
|
11
|
-
# The unique identifier of this object in the
|
11
|
+
# The unique identifier of this object in the Accounting Data Service.
|
12
12
|
# @type: string
|
13
13
|
# @format: uuid
|
14
14
|
field :network_id
|
@@ -6,14 +6,14 @@ def self.id_ref
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
9
|
-
# added to the
|
9
|
+
# added to the Accounting Data Service.
|
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 :credit_memo_applied_id
|
15
15
|
|
16
|
-
# The GroupKey uniquely identifies a single
|
16
|
+
# The GroupKey uniquely identifies a single Accounting Data Service 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).
|
@@ -21,21 +21,21 @@ end
|
|
21
21
|
# @format: uuid
|
22
22
|
field :group_key
|
23
23
|
|
24
|
-
# The
|
24
|
+
# The Accounting Data Service ID of the Invoice to which this credit memo was applied. This Invoice's outstanding balance
|
25
25
|
# was reduced by the value of the field `CreditMemoAppliedAmount` on the date `ApplyToInvoiceDate`.
|
26
26
|
#
|
27
27
|
# Example: Company ABC received a credit memo, CM000123 for $500. Company ABC then chooses to apply this
|
28
|
-
# credit memo to reduce the balance of the invoice PO1000578. The `InvoiceErpKey` is the
|
28
|
+
# credit memo to reduce the balance of the invoice PO1000578. The `InvoiceErpKey` is the Accounting Data Service
|
29
29
|
# ID number of Invoice `PO1000578`.
|
30
30
|
# @type: string
|
31
31
|
# @format: uuid
|
32
32
|
field :invoice_id
|
33
33
|
|
34
|
-
# The
|
34
|
+
# The Accounting Data Service ID of the Invoice of type "Credit Memo" that was consumed in this payment application event.
|
35
35
|
#
|
36
36
|
# Example: Company ABC received a credit memo, CM000123 for $500. Company ABC then chooses to apply this
|
37
37
|
# credit memo to reduce the balance of the invoice PO1000578. The `CreditMemoInvoiceId` is the ADS
|
38
|
-
#
|
38
|
+
# Network Id number of Invoice `CM000123`.
|
39
39
|
# @type: string
|
40
40
|
# @format: uuid
|
41
41
|
field :credit_memo_invoice_id
|
@@ -8,7 +8,7 @@ end
|
|
8
8
|
# Indicates what action to take when an existing object has been found during the sync process.
|
9
9
|
field :on_match_action
|
10
10
|
|
11
|
-
# The unique identifier of this object in the
|
11
|
+
# The unique identifier of this object in the Accounting Data Service.
|
12
12
|
# @type: string
|
13
13
|
# @format: uuid
|
14
14
|
field :network_id
|
@@ -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 Accounting Data Service 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).
|
@@ -22,7 +22,7 @@ end
|
|
22
22
|
field :currency_code
|
23
23
|
|
24
24
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
25
|
-
# added to the
|
25
|
+
# added to the Accounting Data Service.
|
26
26
|
# @type: string
|
27
27
|
# @format: uuid
|
28
28
|
field :credit_memo_applied_id
|
@@ -91,6 +91,12 @@ end
|
|
91
91
|
# @format: double
|
92
92
|
field :base_currency_outstanding_balance_amount
|
93
93
|
|
94
|
+
# Possible statuses for a record that supports ERP Update.
|
95
|
+
field :erp_update_status
|
96
|
+
|
97
|
+
# Possible actions for a record that supports ERP Update.
|
98
|
+
field :erp_update_action
|
99
|
+
|
94
100
|
belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
95
101
|
belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
|
96
102
|
belongs_to :customer, {:class_name=>"Lockstep::Connection", :primary_key=>:company_id, :foreign_key=>"customer_id"}
|
@@ -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 Accounting Data Service 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).
|
@@ -14,7 +14,7 @@ end
|
|
14
14
|
field :group_key
|
15
15
|
|
16
16
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
17
|
-
# added to the
|
17
|
+
# added to the Accounting Data Service.
|
18
18
|
# @type: string
|
19
19
|
# @format: uuid
|
20
20
|
field :custom_field_definition_id
|
@@ -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 Accounting Data Service 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).
|
@@ -14,7 +14,7 @@ end
|
|
14
14
|
field :group_key
|
15
15
|
|
16
16
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
17
|
-
# added to the
|
17
|
+
# added to the Accounting Data Service.
|
18
18
|
# @type: string
|
19
19
|
# @format: uuid
|
20
20
|
field :custom_field_definition_id
|
@@ -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 Accounting Data Service 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).
|
@@ -10,7 +10,7 @@ end
|
|
10
10
|
# @format: uuid
|
11
11
|
field :financial_account_id
|
12
12
|
|
13
|
-
# The GroupKey uniquely identifies a single
|
13
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
14
14
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
15
15
|
#
|
16
16
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
@@ -6,12 +6,12 @@ def self.id_ref
|
|
6
6
|
end
|
7
7
|
|
8
8
|
# The unique ID of this record, automatically assigned by ADS when this record is
|
9
|
-
# added to the
|
9
|
+
# added to the Accounting Data Service.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :financial_account_balance_history_id
|
13
13
|
|
14
|
-
# The GroupKey uniquely identifies a single
|
14
|
+
# The GroupKey uniquely identifies a single Accounting Data Service 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).
|
@@ -14,9 +14,7 @@ end
|
|
14
14
|
# identifying number is in the originating system. Search for a unique, non-changing number within the
|
15
15
|
# originating financial system for this record.
|
16
16
|
# Example: If you store your company records in a database, whatever the primary key for the company table is
|
17
|
-
# in the database should be the ErpKey.
|
18
|
-
# Example: If you use a financial system such as QuickBooks or Xero, look for the primary ID number of the
|
19
|
-
# company record within that financial system.
|
17
|
+
# in the database should be the ErpKey.
|
20
18
|
# @type: string
|
21
19
|
field :financial_account_erp_key
|
22
20
|
|
@@ -10,7 +10,7 @@ end
|
|
10
10
|
# @format: uuid
|
11
11
|
field :financial_institution_account_id
|
12
12
|
|
13
|
-
# The GroupKey uniquely identifies a single
|
13
|
+
# The GroupKey uniquely identifies a single Accounting Data Service account. All records for this
|
14
14
|
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
15
15
|
#
|
16
16
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|