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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6396d7891183413701490cb5cdac6b276b1a69d2af705c501ac299595894f6d8
4
- data.tar.gz: 55f1ee34e4ba370b02a5f92ff9a8b74b45fabf55f281fc663f8f0a9d1f3cb7f2
3
+ metadata.gz: 30bd1402599f256e2ddbf905c1a69109c6ced07b14fcca59e0e9c89aab48bf3c
4
+ data.tar.gz: 314ca2d138cb0612b223857a084b259acf5d28485d30806b464fb9ca572a546a
5
5
  SHA512:
6
- metadata.gz: ee29ce85814ee0b82b2c56325634ec11c16857b5299cdb7f4093074dd15bcb10338c0f8fb42ebad35be35b4ae91687195b90a400d0dbc4e054910f17de7c79db
7
- data.tar.gz: 72327b6159631feb9d0757db3c777bf18726cb3f7e8ffe74e711e23d2e36a6922d6beda81c43fdf0251410f43bd661991cc9f9d8e9f3ae0b217082c1797d5c7a
6
+ metadata.gz: 5f684eb6844a106cd5fae3d4cc1a6dc3dbcdb42a2977ec630087fb40a3629784fa2b085d119da69ac8cea104034df57451f3cf9ec7f4bfeafff76afef8f8772a
7
+ data.tar.gz: 7b9090e647a6707cfbf5ddd7169e16552cb73dc6396fba243c5bdb5a86f594ddb099fa5759da2f26f2b0cff84dd3def96a1a3160c7061c425676eae426e0e0f6
@@ -0,0 +1,6 @@
1
+ class Lockstep::FinancialInstitutionAccount < Lockstep::ApiRecord
2
+ self.model_name_uri = "v1/financial-institution-accounts"
3
+ self.id_ref = "financial_institution_account_id"
4
+ self.query_path = ""
5
+ load_schema(Schema::FinancialInstitutionAccount)
6
+ end
@@ -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
@@ -73,5 +73,4 @@ end
73
73
  belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
74
74
 
75
75
 
76
- end
77
-
76
+ end
@@ -23,5 +23,4 @@ end
23
23
 
24
24
  has_many :records, {:class_name=>"Schema::FinancialInstitutionAccount", :included=>true}
25
25
 
26
- end
27
-
26
+ end
@@ -49,5 +49,4 @@ end
49
49
 
50
50
 
51
51
 
52
- end
53
-
52
+ end
@@ -131,5 +131,4 @@ end
131
131
 
132
132
  has_many :applications, {:class_name=>"Schema::InsertPaymentAppliedRequest", :included=>true}
133
133
 
134
- end
135
-
134
+ end
@@ -13,5 +13,4 @@ end
13
13
 
14
14
  has_many :requests, {:class_name=>"Schema::InsertPaymentRequest", :included=>true}
15
15
 
16
- end
17
-
16
+ 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
- end
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
@@ -34,5 +34,4 @@ end
34
34
 
35
35
  has_many :results, {:class_name=>"Schema::Payment", :included=>true}
36
36
 
37
- end
38
-
37
+ end
@@ -157,5 +157,4 @@ end
157
157
  has_many :attachments, {:class_name=>"Schema::Attachment", :included=>true}
158
158
  has_many :custom_field_values, {:class_name=>"Schema::CustomFieldValue", :included=>true}
159
159
 
160
- end
161
-
160
+ end