lockstep_rails 0.3.66 → 0.3.68
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/financial_institution_account.rb +6 -0
- data/app/platform_api/schema/company.rb +7 -1
- data/app/platform_api/schema/financial_account_sync.rb +5 -6
- data/app/platform_api/schema/financial_institution_account.rb +1 -2
- data/app/platform_api/schema/financial_institution_account_fetch_result.rb +1 -2
- data/app/platform_api/schema/insert_payment_applied_request.rb +1 -2
- data/app/platform_api/schema/insert_payment_request.rb +1 -2
- data/app/platform_api/schema/insert_payment_request_erp_write_sync_submit.rb +1 -2
- data/app/platform_api/schema/invoice_fetch_result.rb +5 -7
- data/app/platform_api/schema/note.rb +38 -28
- data/app/platform_api/schema/payment_erp_write_result.rb +1 -2
- data/app/platform_api/schema/user_account.rb +1 -2
- data/app/platform_api/swagger.json +361 -222
- data/lib/lockstep_rails/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30bd1402599f256e2ddbf905c1a69109c6ced07b14fcca59e0e9c89aab48bf3c
|
4
|
+
data.tar.gz: 314ca2d138cb0612b223857a084b259acf5d28485d30806b464fb9ca572a546a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f684eb6844a106cd5fae3d4cc1a6dc3dbcdb42a2977ec630087fb40a3629784fa2b085d119da69ac8cea104034df57451f3cf9ec7f4bfeafff76afef8f8772a
|
7
|
+
data.tar.gz: 7b9090e647a6707cfbf5ddd7169e16552cb73dc6396fba243c5bdb5a86f594ddb099fa5759da2f26f2b0cff84dd3def96a1a3160c7061c425676eae426e0e0f6
|
@@ -36,7 +36,8 @@ end
|
|
36
36
|
# * `Group` - Only one record of type `GROUP` exists in each account. Contains your account profile.
|
37
37
|
# * `Vendor` - This record represents a business entity that sells things to the account holder.
|
38
38
|
# * `Third Party` - This record represents a business entity that is neither a customer nor vendor.
|
39
|
-
# * `CustomerVendor` - Both a customer and a vendor.
|
39
|
+
# * `CustomerVendor` - Both a customer and a vendor.
|
40
|
+
# * `CompanyProfile` - Profile for a Company, each Company should have at most 1 profile, used only for Profile Management.
|
40
41
|
# @type: string
|
41
42
|
field :company_type
|
42
43
|
|
@@ -243,6 +244,11 @@ end
|
|
243
244
|
# @type: string
|
244
245
|
field :company_registration_number
|
245
246
|
|
247
|
+
# An optional reference to a real company, making this a profile.
|
248
|
+
# @type: string
|
249
|
+
# @format: uuid
|
250
|
+
field :profile_reference_id
|
251
|
+
|
246
252
|
# All invoices attached to this company.
|
247
253
|
#
|
248
254
|
# 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).
|
@@ -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 code for the Financial Account. Can either be a general ledger or
|
11
|
+
# The code for the Financial Account. Can either be a general ledger or
|
12
12
|
# an account code.
|
13
13
|
# @type: string
|
14
14
|
field :code
|
@@ -21,12 +21,12 @@ end
|
|
21
21
|
# @type: string
|
22
22
|
field :name
|
23
23
|
|
24
|
-
# The status of the Financial Account. Possible values are active,
|
24
|
+
# The status of the Financial Account. Possible values are active,
|
25
25
|
# inactive, deleted or archived.
|
26
26
|
# @type: string
|
27
27
|
field :status
|
28
28
|
|
29
|
-
# The cashflow type for the Financial Account. Examples include cash, financing, investment
|
29
|
+
# The cashflow type for the Financial Account. Examples include cash, financing, investment
|
30
30
|
# or operation.
|
31
31
|
# @type: string
|
32
32
|
field :cashflow_type
|
@@ -35,7 +35,7 @@ end
|
|
35
35
|
# @type: string
|
36
36
|
field :description
|
37
37
|
|
38
|
-
# The classification for the Financial Account. Possible values are Asset, Equity,
|
38
|
+
# The classification for the Financial Account. Possible values are Asset, Equity,
|
39
39
|
# Expense, Liability, Income, CreditCard, Checking, or Savings.
|
40
40
|
# @type: string
|
41
41
|
field :classification
|
@@ -50,5 +50,4 @@ end
|
|
50
50
|
|
51
51
|
|
52
52
|
|
53
|
-
end
|
54
|
-
|
53
|
+
end
|
@@ -5,10 +5,6 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# For more information on Invoices, see [InvoiceModel](https://developer.lockstep.io/reference/get_api-v1-invoices-id).
|
9
|
-
# @type: array
|
10
|
-
field :records
|
11
|
-
|
12
8
|
|
13
9
|
# @type: integer
|
14
10
|
# @format: int32
|
@@ -24,6 +20,8 @@ end
|
|
24
20
|
# @format: int32
|
25
21
|
field :page_number
|
26
22
|
|
27
|
-
|
28
|
-
|
29
|
-
|
23
|
+
# For more information on Invoices, see [InvoiceModel](https://developer.lockstep.io/reference/get_api-v1-invoices-id).
|
24
|
+
# @type: array
|
25
|
+
field :records
|
26
|
+
|
27
|
+
end
|
@@ -5,38 +5,38 @@ def self.id_ref
|
|
5
5
|
nil
|
6
6
|
end
|
7
7
|
|
8
|
-
# The unique ID of this record, automatically assigned by Lockstep when this record is
|
8
|
+
# The unique ID of this record, automatically assigned by Lockstep when this record is
|
9
9
|
# added to the Lockstep platform.
|
10
10
|
# @type: string
|
11
11
|
# @format: uuid
|
12
12
|
field :note_id
|
13
13
|
|
14
|
-
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
15
|
-
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
16
|
-
#
|
14
|
+
# The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
|
15
|
+
# account will share the same GroupKey value. GroupKey values cannot be changed once created.
|
16
|
+
#
|
17
17
|
# For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
|
18
18
|
# @type: string
|
19
19
|
# @format: uuid
|
20
20
|
field :group_key
|
21
21
|
|
22
|
-
# A Note is connected to an existing item within the Lockstep Platform by the fields `TableKey` and
|
23
|
-
# `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
|
24
|
-
# `Invoice` and an `ObjectKey` value of `12345`.
|
25
|
-
#
|
26
|
-
# The `TableKey` value contains the name of the table within the Lockstep Platform to which this metadata
|
27
|
-
# is connected.
|
28
|
-
#
|
22
|
+
# A Note is connected to an existing item within the Lockstep Platform by the fields `TableKey` and
|
23
|
+
# `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
|
24
|
+
# `Invoice` and an `ObjectKey` value of `12345`.
|
25
|
+
#
|
26
|
+
# The `TableKey` value contains the name of the table within the Lockstep Platform to which this metadata
|
27
|
+
# is connected.
|
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 Lockstep Platform by the fields `TableKey` and
|
34
|
-
# `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
|
35
|
-
# `Invoice` and an `ObjectKey` value of `12345`.
|
36
|
-
#
|
37
|
-
# The `ObjectKey` value contains the primary key of the record within the Lockstep Platform to which this
|
38
|
-
# metadata is connected.
|
39
|
-
#
|
33
|
+
# A Note is connected to an existing item within the Lockstep Platform by the fields `TableKey` and
|
34
|
+
# `ObjectKey`. For example, a Note connected to Invoice 12345 would have a `TableKey` value of
|
35
|
+
# `Invoice` and an `ObjectKey` value of `12345`.
|
36
|
+
#
|
37
|
+
# The `ObjectKey` value contains the primary key of the record within the Lockstep Platform to which this
|
38
|
+
# metadata is connected.
|
39
|
+
#
|
40
40
|
# For more information, see [linking metadata to an object](https://developer.lockstep.io/docs/custom-fields#linking-metadata-to-an-object).
|
41
41
|
# @type: string
|
42
42
|
# @format: uuid
|
@@ -50,10 +50,10 @@ end
|
|
50
50
|
# @type: string
|
51
51
|
field :note_type
|
52
52
|
|
53
|
-
# A flag indicating whether this Note is archived (also known as hidden or deleted). When you call
|
54
|
-
# [ArchiveNote](https://developer.lockstep.io/reference/delete_api-v1-notes-id) this field will
|
55
|
-
# be set to true.
|
56
|
-
#
|
53
|
+
# A flag indicating whether this Note is archived (also known as hidden or deleted). When you call
|
54
|
+
# [ArchiveNote](https://developer.lockstep.io/reference/delete_api-v1-notes-id) this field will
|
55
|
+
# be set to true.
|
56
|
+
#
|
57
57
|
# You should avoid displaying Notes with the IsArchived field set to true in your user interface.
|
58
58
|
# @type: boolean
|
59
59
|
field :is_archived
|
@@ -63,19 +63,29 @@ end
|
|
63
63
|
# @format: date-time
|
64
64
|
field :created, Types::Params::DateTime
|
65
65
|
|
66
|
-
# The unique ID of the [UserAccount](https://developer.lockstep.io/docs/useraccountmodel) of the user
|
66
|
+
# The unique ID of the [UserAccount](https://developer.lockstep.io/docs/useraccountmodel) of the user
|
67
67
|
# who created this Note.
|
68
68
|
# @type: string
|
69
69
|
# @format: uuid
|
70
70
|
field :created_user_id
|
71
71
|
|
72
|
+
# The date this note was last modified
|
73
|
+
# @type: string
|
74
|
+
# @format: date-time
|
75
|
+
field :modified, Types::Params::DateTime
|
76
|
+
|
77
|
+
# The ID of the user who last modified this note
|
78
|
+
# @type: string
|
79
|
+
# @format: uuid
|
80
|
+
field :modified_user_id
|
81
|
+
|
72
82
|
# The name of the user who created the note
|
73
83
|
# @type: string
|
74
84
|
field :created_user_name
|
75
85
|
|
76
|
-
# The AppEnrollmentId of the application that imported this record. For accounts
|
77
|
-
# with more than one financial system connected, this field identifies the originating
|
78
|
-
# financial system that produced this record. This value is null if this record
|
86
|
+
# The AppEnrollmentId of the application that imported this record. For accounts
|
87
|
+
# with more than one financial system connected, this field identifies the originating
|
88
|
+
# financial system that produced this record. This value is null if this record
|
79
89
|
# was not loaded from an external ERP or financial system.
|
80
90
|
# @type: string
|
81
91
|
# @format: uuid
|
@@ -86,6 +96,6 @@ end
|
|
86
96
|
field :recipient_name
|
87
97
|
|
88
98
|
belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
|
99
|
+
belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
|
89
100
|
|
90
|
-
|
91
|
-
end
|
101
|
+
end
|