lockstep_rails 0.3.65 → 0.3.66

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: ffc2c21371e280e4b0d300d21a889b1e9604ea20868527c470cdd21858fe8c05
4
- data.tar.gz: 2d3f226fe569acb51bf9b9ceddd2eb22c7f7ebaa3ba7e5f8d15ef78043d6c28f
3
+ metadata.gz: 6396d7891183413701490cb5cdac6b276b1a69d2af705c501ac299595894f6d8
4
+ data.tar.gz: 55f1ee34e4ba370b02a5f92ff9a8b74b45fabf55f281fc663f8f0a9d1f3cb7f2
5
5
  SHA512:
6
- metadata.gz: '018b416e5c30156f70cc03d864ff72d112439d4aa552e174e59f8e414b3fc36a6a0809c2ff4c447c2b7b382361d3d3bcb0cfc763c2080f3dec1e2ae28d5829ee'
7
- data.tar.gz: 6b3cb5bf9430de1269912ebbac07387f25e46806b9cc62ab6a539783a305049f8dfd9ee2513dc0d71a4edf5d55a406fd4c811579c47173fb6d88eed65e3b3894
6
+ metadata.gz: ee29ce85814ee0b82b2c56325634ec11c16857b5299cdb7f4093074dd15bcb10338c0f8fb42ebad35be35b4ae91687195b90a400d0dbc4e054910f17de7c79db
7
+ data.tar.gz: 72327b6159631feb9d0757db3c777bf18726cb3f7e8ffe74e711e23d2e36a6922d6beda81c43fdf0251410f43bd661991cc9f9d8e9f3ae0b217082c1797d5c7a
@@ -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,8 +35,8 @@ end
35
35
  # @type: string
36
36
  field :description
37
37
 
38
- # The classification for the Financial Account. Possible values are Asset, Equity,
39
- # Expense, Liability or Income.
38
+ # The classification for the Financial Account. Possible values are Asset, Equity,
39
+ # Expense, Liability, Income, CreditCard, Checking, or Savings.
40
40
  # @type: string
41
41
  field :classification
42
42
 
@@ -50,4 +50,5 @@ end
50
50
 
51
51
 
52
52
 
53
- end
53
+ end
54
+
@@ -0,0 +1,77 @@
1
+ class Schema::FinancialInstitutionAccount < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique identifier for the Financial Institution Account.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :financial_institution_account_id
12
+
13
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
14
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
15
+ #
16
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
17
+ # @type: string
18
+ # @format: uuid
19
+ field :group_key
20
+
21
+ # An alternate account id for the Financial Institution Account.
22
+ # @type: string
23
+ field :bank_account_id
24
+
25
+ # The External Id for the Financial Institution Account.
26
+ # @type: string
27
+ field :erp_key
28
+
29
+ # The App Enrollment Id this Financial Institution is associated with.
30
+ # @type: string
31
+ # @format: uuid
32
+ field :app_enrollment_id
33
+
34
+ # The name of the Financial Institution Account.
35
+ # @type: string
36
+ field :name
37
+
38
+ # The status of the Financial Institution Account. Possible values are active,
39
+ # inactive, deleted or archived.
40
+ # @type: string
41
+ field :status
42
+
43
+ # The description for the Financial Institution Account.
44
+ # @type: string
45
+ field :description
46
+
47
+ # The classification for the Financial Institution Account. Possible values are Asset, Equity,
48
+ # Expense, Liability or Income.
49
+ # @type: string
50
+ field :account_type
51
+
52
+ # The date the Financial Institution Account was created.
53
+ # @type: string
54
+ # @format: date-time
55
+ field :created, Types::Params::DateTime
56
+
57
+ # The user that has created the Financial Institution Account.
58
+ # @type: string
59
+ # @format: uuid
60
+ field :created_user_id
61
+
62
+ # The date the Financial Institution Account was modified.
63
+ # @type: string
64
+ # @format: date-time
65
+ field :modified, Types::Params::DateTime
66
+
67
+ # The user that has modified the Financial Institution Account.
68
+ # @type: string
69
+ # @format: uuid
70
+ field :modified_user_id
71
+
72
+ belongs_to :created_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"created_user_id"}
73
+ belongs_to :modified_user, {:class_name=>"Lockstep::User", :primary_key=>:user_id, :foreign_key=>"modified_user_id"}
74
+
75
+
76
+ end
77
+
@@ -0,0 +1,27 @@
1
+ class Schema::FinancialInstitutionAccountFetchResult < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+
9
+ # @type: integer
10
+ # @format: int32
11
+ field :total_count
12
+
13
+
14
+ # @type: integer
15
+ # @format: int32
16
+ field :page_size
17
+
18
+
19
+ # @type: integer
20
+ # @format: int32
21
+ field :page_number
22
+
23
+
24
+ has_many :records, {:class_name=>"Schema::FinancialInstitutionAccount", :included=>true}
25
+
26
+ end
27
+
@@ -0,0 +1,53 @@
1
+ class Schema::InsertPaymentAppliedRequest < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The unique ID of this record, automatically assigned by Lockstep when this record is
9
+ # added to the Lockstep platform.
10
+ #
11
+ # For the ID of this record in its originating financial system, see `ErpKey`.
12
+ # @type: string
13
+ # @format: uuid
14
+ field :payment_applied_id
15
+
16
+ # The Invoice this payment is applied to.
17
+ # @type: string
18
+ # @format: uuid
19
+ field :invoice_id
20
+
21
+ # The Payment this application applies from.
22
+ # @type: string
23
+ # @format: uuid
24
+ field :payment_id
25
+
26
+ # The unique ID of this record as it was known in its originating financial system.
27
+ #
28
+ # If this company record was imported from a financial system, it will have the value `ErpKey`
29
+ # set to the original primary key number of the record as it was known in the originating financial
30
+ # system. If this record was not imported, this value will be `null`.
31
+ #
32
+ # For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
33
+ # @type: string
34
+ field :erp_key
35
+
36
+ # The ERP key of the Invoice this payment is applied to.
37
+ # @type: string
38
+ field :invoice_erp_key
39
+
40
+ # The date this payment was applied to this invoice.
41
+ # @type: string
42
+ # @format: date-time
43
+ field :apply_to_invoice_date, Types::Params::DateTime
44
+
45
+ # The total amount that was applied to this Invoice from the Payment.
46
+ # @type: number
47
+ # @format: double
48
+ field :payment_applied_amount
49
+
50
+
51
+
52
+ end
53
+
@@ -0,0 +1,135 @@
1
+ class Schema::InsertPaymentRequest < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The AppEnrollmentId of the application to write this record to.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :app_enrollment_id
12
+
13
+ # The unique ID of this record, automatically assigned by Lockstep when this record is
14
+ # added to the Lockstep platform.
15
+ #
16
+ # For the ID of this record in its originating financial system, see `ErpKey`.
17
+ # @type: string
18
+ # @format: uuid
19
+ field :payment_id
20
+
21
+ # The ID of the company to which this payment belongs.
22
+ # @type: string
23
+ # @format: uuid
24
+ field :company_id
25
+
26
+ # The ERP key for the company to which this payment belongs.
27
+ # @type: string
28
+ field :company_erp_key
29
+
30
+ # A additional reference that may be used in the ERP
31
+ # @type: string
32
+ field :company_external_reference
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
+ #
40
+ # For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
41
+ # @type: string
42
+ field :erp_key
43
+
44
+ # The type of payment, AR Payment or AP Payment.
45
+ #
46
+ # Recognized PaymentType values are:
47
+ # * `AR Payment` - A payment made by a Customer to the Company
48
+ # * `AP Payment` - A payment made by the Company to a Vendor
49
+ # @type: string
50
+ field :payment_type
51
+
52
+ # Cash, check, credit card, wire transfer.
53
+ #
54
+ # Recognized TenderType values are:
55
+ # * `Cash` - A cash payment or other direct transfer.
56
+ # * `Check` - A check payment.
57
+ # * `Credit Card` - A payment made via a credit card.
58
+ # * `Wire Transfer` - A payment made via wire transfer from another financial institution.
59
+ # * `Other` - A payment made via another method not listed above.
60
+ # @type: string
61
+ field :tender_type
62
+
63
+ # Memo or reference text (ex. memo field on a check).
64
+ # @type: string
65
+ field :memo_text
66
+
67
+ # The date when this payment was received.
68
+ # @type: string
69
+ # @format: date-time
70
+ field :payment_date, Types::Params::DateTime
71
+
72
+ # The date when a payment was posted to a ledger.
73
+ # @type: string
74
+ # @format: date-time
75
+ field :post_date, Types::Params::DateTime
76
+
77
+ # Total amount of this payment in it's received currency.
78
+ # @type: number
79
+ # @format: double
80
+ field :payment_amount
81
+
82
+ # Unapplied balance of this payment in it's received currency. If this amount is nonzero, the field `IsOpen` will be true.
83
+ # @type: number
84
+ # @format: double
85
+ field :unapplied_amount
86
+
87
+ # The ISO 4217 currency code for this payment.
88
+ #
89
+ # For a list of ISO 4217 currency codes, see [Query Currencies](https://developer.lockstep.io/reference/get_api-v1-definitions-currencies).
90
+ # @type: string
91
+ field :currency_code
92
+
93
+ # Reference code for the payment for the given Erp system.
94
+ # @type: string
95
+ field :reference_code
96
+
97
+ # Is the payment voided?
98
+ # @type: boolean
99
+ field :is_voided
100
+
101
+ # Is the payment in dispute?
102
+ # @type: boolean
103
+ field :in_dispute
104
+
105
+ # The Currency Rate used to get from the account's base currency to the payment amount.
106
+ # @type: number
107
+ # @format: double
108
+ field :currency_rate
109
+
110
+ # Total amount of this payment in the group's base currency.
111
+ # @type: number
112
+ # @format: double
113
+ field :base_currency_payment_amount
114
+
115
+ # Unapplied balance of this payment in the group's base currency. If this amount is nonzero, the field `IsOpen` will be true.
116
+ # @type: number
117
+ # @format: double
118
+ field :base_currency_unapplied_amount
119
+
120
+ # The Bank account id for the company to which this payment belongs.
121
+ # @type: string
122
+ field :bank_account_id
123
+
124
+ # The GroupKey this request belongs to.
125
+ # @type: string
126
+ # @format: uuid
127
+ field :group_key
128
+
129
+ belongs_to :company, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
130
+ belongs_to :account, {:class_name=>"Lockstep::Account", :primary_key=>:company_id, :foreign_key=>"company_id"}
131
+
132
+ has_many :applications, {:class_name=>"Schema::InsertPaymentAppliedRequest", :included=>true}
133
+
134
+ end
135
+
@@ -0,0 +1,17 @@
1
+ class Schema::InsertPaymentRequestErpWriteSyncSubmit < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The connected App Enrollment id.
9
+ # @type: string
10
+ # @format: uuid
11
+ field :app_enrollment_id
12
+
13
+
14
+ has_many :requests, {:class_name=>"Schema::InsertPaymentRequest", :included=>true}
15
+
16
+ end
17
+
@@ -0,0 +1,38 @@
1
+ class Schema::PaymentErpWriteResult < Lockstep::ApiRecord
2
+
3
+ # ApiRecord will crash unless `id_ref` is defined
4
+ def self.id_ref
5
+ nil
6
+ end
7
+
8
+ # The id of the connected AppEnrollmentModel
9
+ # @type: string
10
+ # @format: uuid
11
+ field :app_enrollment_id
12
+
13
+ # The ErpKey for the object written to the Erp if created
14
+ # @type: string
15
+ field :erp_key
16
+
17
+ # The GroupKey uniquely identifies a single Lockstep Platform account. All records for this
18
+ # account will share the same GroupKey value. GroupKey values cannot be changed once created.
19
+ #
20
+ # For more information, see [Accounts and GroupKeys](https://developer.lockstep.io/docs/accounts-and-groupkeys).
21
+ # @type: string
22
+ # @format: uuid
23
+ field :group_key
24
+
25
+ # An optional message to return with the result
26
+ # @type: string
27
+ field :message
28
+
29
+ # The id of the SyncRequestModel the requests were added to
30
+ # @type: string
31
+ # @format: uuid
32
+ field :sync_request_id
33
+
34
+
35
+ has_many :results, {:class_name=>"Schema::Payment", :included=>true}
36
+
37
+ end
38
+
@@ -142,6 +142,10 @@ end
142
142
  # @type: string
143
143
  field :default_currency_code
144
144
 
145
+ # The IETF language tag for the user's preferred locale.
146
+ # @type: string
147
+ field :locale
148
+
145
149
  # Accounting role definition for this User.
146
150
  # To retrieve this collection, specify `AccountingRole` in the "Include" parameter for your query.
147
151
  field :accounting_role_code_definition
@@ -153,4 +157,5 @@ end
153
157
  has_many :attachments, {:class_name=>"Schema::Attachment", :included=>true}
154
158
  has_many :custom_field_values, {:class_name=>"Schema::CustomFieldValue", :included=>true}
155
159
 
156
- end
160
+ end
161
+