lockstep_rails 0.3.22
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 +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +216 -0
- data/Rakefile +31 -0
- data/app/assets/config/lockstep_rails_manifest.js +0 -0
- data/app/concepts/lockstep/active_records/association.rb +78 -0
- data/app/concepts/lockstep/api_record.rb +1118 -0
- data/app/concepts/lockstep/api_records/scopes.rb +20 -0
- data/app/concepts/lockstep/client.rb +162 -0
- data/app/concepts/lockstep/error.rb +50 -0
- data/app/concepts/lockstep/exceptions.rb +4 -0
- data/app/concepts/lockstep/query.rb +409 -0
- data/app/concepts/lockstep/query_methods.rb +75 -0
- data/app/concepts/lockstep/relation_array.rb +100 -0
- data/app/helpers/types.rb +3 -0
- data/app/models/lockstep/account.rb +15 -0
- data/app/models/lockstep/connection.rb +19 -0
- data/app/models/lockstep/contact.rb +9 -0
- data/app/models/lockstep/customer_summary.rb +6 -0
- data/app/models/lockstep/invoice.rb +7 -0
- data/app/models/lockstep/invoice_summary.rb +6 -0
- data/app/models/lockstep/invoices/address.rb +24 -0
- data/app/models/lockstep/note.rb +7 -0
- data/app/models/lockstep/payment.rb +7 -0
- data/app/models/lockstep/payment_summary.rb +6 -0
- data/app/models/lockstep/user.rb +10 -0
- data/app/platform_api/model_template.rb.erb +27 -0
- data/app/platform_api/schema/action_result.rb +15 -0
- data/app/platform_api/schema/activity.rb +141 -0
- data/app/platform_api/schema/activity_fetch_result.rb +26 -0
- data/app/platform_api/schema/activity_stream_item.rb +58 -0
- data/app/platform_api/schema/activity_x_ref.rb +37 -0
- data/app/platform_api/schema/aging.rb +24 -0
- data/app/platform_api/schema/api_key.rb +71 -0
- data/app/platform_api/schema/api_key_fetch_result.rb +26 -0
- data/app/platform_api/schema/app_enrollment.rb +88 -0
- data/app/platform_api/schema/app_enrollment_custom_field.rb +67 -0
- data/app/platform_api/schema/app_enrollment_custom_field_fetch_result.rb +26 -0
- data/app/platform_api/schema/app_enrollment_fetch_result.rb +26 -0
- data/app/platform_api/schema/application.rb +89 -0
- data/app/platform_api/schema/application_fetch_result.rb +26 -0
- data/app/platform_api/schema/ar_aging_header_info.rb +47 -0
- data/app/platform_api/schema/ar_header_info.rb +118 -0
- data/app/platform_api/schema/assembly.rb +68 -0
- data/app/platform_api/schema/at_risk_invoice_summary.rb +90 -0
- data/app/platform_api/schema/at_risk_invoice_summary_fetch_result.rb +26 -0
- data/app/platform_api/schema/attachment.rb +92 -0
- data/app/platform_api/schema/attachment_fetch_result.rb +26 -0
- data/app/platform_api/schema/attachment_header_info.rb +41 -0
- data/app/platform_api/schema/batch_sync.rb +18 -0
- data/app/platform_api/schema/bulk_currency_conversion.rb +19 -0
- data/app/platform_api/schema/cashflow_report.rb +35 -0
- data/app/platform_api/schema/code_definition.rb +58 -0
- data/app/platform_api/schema/code_definition_fetch_result.rb +26 -0
- data/app/platform_api/schema/company.rb +243 -0
- data/app/platform_api/schema/company_fetch_result.rb +26 -0
- data/app/platform_api/schema/company_sync.rb +142 -0
- data/app/platform_api/schema/connector_info.rb +27 -0
- data/app/platform_api/schema/constructor_info.rb +128 -0
- data/app/platform_api/schema/contact.rb +148 -0
- data/app/platform_api/schema/contact_fetch_result.rb +26 -0
- data/app/platform_api/schema/contact_sync.rb +109 -0
- data/app/platform_api/schema/country.rb +62 -0
- data/app/platform_api/schema/country_fetch_result.rb +26 -0
- data/app/platform_api/schema/credit_memo_applied.rb +104 -0
- data/app/platform_api/schema/credit_memo_applied_fetch_result.rb +26 -0
- data/app/platform_api/schema/credit_memo_applied_sync.rb +67 -0
- data/app/platform_api/schema/credit_memo_invoice.rb +77 -0
- data/app/platform_api/schema/currency.rb +31 -0
- data/app/platform_api/schema/currency_fetch_result.rb +26 -0
- data/app/platform_api/schema/currency_rate.rb +28 -0
- data/app/platform_api/schema/custom_attribute_data.rb +18 -0
- data/app/platform_api/schema/custom_attribute_named_argument.rb +24 -0
- data/app/platform_api/schema/custom_attribute_typed_argument.rb +16 -0
- data/app/platform_api/schema/custom_field_definition.rb +76 -0
- data/app/platform_api/schema/custom_field_definition_fetch_result.rb +26 -0
- data/app/platform_api/schema/custom_field_sync.rb +71 -0
- data/app/platform_api/schema/custom_field_value.rb +75 -0
- data/app/platform_api/schema/custom_field_value_fetch_result.rb +26 -0
- data/app/platform_api/schema/customer_details.rb +98 -0
- data/app/platform_api/schema/customer_details_payment.rb +60 -0
- data/app/platform_api/schema/customer_summary.rb +88 -0
- data/app/platform_api/schema/customer_summary_fetch_result.rb +26 -0
- data/app/platform_api/schema/daily_sales_outstanding_report.rb +25 -0
- data/app/platform_api/schema/developer_account_submit.rb +23 -0
- data/app/platform_api/schema/email.rb +160 -0
- data/app/platform_api/schema/email_fetch_result.rb +26 -0
- data/app/platform_api/schema/erp.rb +23 -0
- data/app/platform_api/schema/erp_fetch_result.rb +26 -0
- data/app/platform_api/schema/erp_info.rb +18 -0
- data/app/platform_api/schema/erp_info_data.rb +23 -0
- data/app/platform_api/schema/event_info.rb +59 -0
- data/app/platform_api/schema/exception.rb +41 -0
- data/app/platform_api/schema/field_info.rb +105 -0
- data/app/platform_api/schema/financial_account.rb +90 -0
- data/app/platform_api/schema/financial_account_balance_history.rb +90 -0
- data/app/platform_api/schema/financial_account_balance_history_fetch_result.rb +26 -0
- data/app/platform_api/schema/financial_account_fetch_result.rb +26 -0
- data/app/platform_api/schema/financial_year_setting.rb +74 -0
- data/app/platform_api/schema/financial_year_setting_fetch_result.rb +26 -0
- data/app/platform_api/schema/invite.rb +25 -0
- data/app/platform_api/schema/invite_data.rb +18 -0
- data/app/platform_api/schema/invite_submit.rb +15 -0
- data/app/platform_api/schema/invoice.rb +226 -0
- data/app/platform_api/schema/invoice_address.rb +97 -0
- data/app/platform_api/schema/invoice_fetch_result.rb +29 -0
- data/app/platform_api/schema/invoice_history.rb +188 -0
- data/app/platform_api/schema/invoice_history_fetch_result.rb +26 -0
- data/app/platform_api/schema/invoice_line.rb +142 -0
- data/app/platform_api/schema/invoice_line_sync.rb +208 -0
- data/app/platform_api/schema/invoice_payment_detail.rb +65 -0
- data/app/platform_api/schema/invoice_summary.rb +85 -0
- data/app/platform_api/schema/invoice_summary_fetch_result.rb +26 -0
- data/app/platform_api/schema/invoice_sync.rb +280 -0
- data/app/platform_api/schema/lead.rb +32 -0
- data/app/platform_api/schema/member_info.rb +36 -0
- data/app/platform_api/schema/method_base.rb +128 -0
- data/app/platform_api/schema/method_info.rb +137 -0
- data/app/platform_api/schema/module.rb +44 -0
- data/app/platform_api/schema/module_handle.rb +15 -0
- data/app/platform_api/schema/note.rb +72 -0
- data/app/platform_api/schema/note_fetch_result.rb +26 -0
- data/app/platform_api/schema/parameter_info.rb +64 -0
- data/app/platform_api/schema/payment.rb +147 -0
- data/app/platform_api/schema/payment_applied.rb +95 -0
- data/app/platform_api/schema/payment_applied_fetch_result.rb +26 -0
- data/app/platform_api/schema/payment_applied_sync.rb +74 -0
- data/app/platform_api/schema/payment_detail.rb +110 -0
- data/app/platform_api/schema/payment_detail_fetch_result.rb +26 -0
- data/app/platform_api/schema/payment_detail_header.rb +43 -0
- data/app/platform_api/schema/payment_fetch_result.rb +26 -0
- data/app/platform_api/schema/payment_summary.rb +79 -0
- data/app/platform_api/schema/payment_summary_fetch_result.rb +26 -0
- data/app/platform_api/schema/payment_sync.rb +112 -0
- data/app/platform_api/schema/problem_details.rb +31 -0
- data/app/platform_api/schema/property_info.rb +60 -0
- data/app/platform_api/schema/provisioning.rb +28 -0
- data/app/platform_api/schema/provisioning_finalize_request.rb +28 -0
- data/app/platform_api/schema/provisioning_response.rb +42 -0
- data/app/platform_api/schema/risk_rate.rb +57 -0
- data/app/platform_api/schema/runtime_field_handle.rb +13 -0
- data/app/platform_api/schema/runtime_method_handle.rb +13 -0
- data/app/platform_api/schema/runtime_type_handle.rb +13 -0
- data/app/platform_api/schema/state.rb +22 -0
- data/app/platform_api/schema/state_fetch_result.rb +26 -0
- data/app/platform_api/schema/status.rb +72 -0
- data/app/platform_api/schema/struct_layout_attribute.rb +16 -0
- data/app/platform_api/schema/sync_entity_result.rb +34 -0
- data/app/platform_api/schema/sync_request.rb +71 -0
- data/app/platform_api/schema/sync_request_fetch_result.rb +26 -0
- data/app/platform_api/schema/sync_submit.rb +15 -0
- data/app/platform_api/schema/test_argument_exception.rb +41 -0
- data/app/platform_api/schema/test_timeout_exception.rb +41 -0
- data/app/platform_api/schema/transfer_owner.rb +16 -0
- data/app/platform_api/schema/transfer_owner_submit.rb +15 -0
- data/app/platform_api/schema/type.rb +278 -0
- data/app/platform_api/schema/type_info.rb +287 -0
- data/app/platform_api/schema/uri.rb +15 -0
- data/app/platform_api/schema/user_account.rb +152 -0
- data/app/platform_api/schema/user_account_fetch_result.rb +26 -0
- data/app/platform_api/schema/user_role.rb +50 -0
- data/app/platform_api/schema/user_role_fetch_result.rb +26 -0
- data/app/platform_api/schema/webhook.rb +96 -0
- data/app/platform_api/schema/webhook_fetch_result.rb +26 -0
- data/app/platform_api/schema/webhook_history_table_storage.rb +64 -0
- data/app/platform_api/schema/webhook_history_table_storage_fetch_result.rb +26 -0
- data/app/platform_api/swagger.json +22056 -0
- data/config/routes.rb +2 -0
- data/lib/lockstep_rails/engine.rb +4 -0
- data/lib/lockstep_rails/version.rb +3 -0
- data/lib/lockstep_rails.rb +5 -0
- data/lib/tasks/lockstep_rails_tasks.rake +4 -0
- data/lib/tasks/update_api_schema.rake +159 -0
- metadata +230 -0
@@ -0,0 +1,280 @@
|
|
1
|
+
class Schema::InvoiceSync < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
# This is the primary key of the Invoice record. For this field, you should use whatever the invoice's unique
|
9
|
+
# identifying number is in the originating system. Search for a unique, non-changing number within the
|
10
|
+
# originating financial system for this record.
|
11
|
+
#
|
12
|
+
# Example: If you store your invoice records in a database, whatever the primary key for the invoice table is
|
13
|
+
# in the database should be the "ErpKey".
|
14
|
+
#
|
15
|
+
# For more information, see [Identity Columns](https://developer.lockstep.io/docs/identity-columns).
|
16
|
+
# @type: string
|
17
|
+
field :erp_key
|
18
|
+
|
19
|
+
# The original primary key or unique ID of the company to which this invoice belongs. This value should
|
20
|
+
# match the [Company ErpKey](https://developer.lockstep.io/docs/importing-companies#erpkey) field on the
|
21
|
+
# [CompanySyncModel](https://developer.lockstep.io/docs/importing-companies).
|
22
|
+
#
|
23
|
+
# An Invoice has two relationships: The Company and the Customer. The field `CompanyErpKey` identifies the
|
24
|
+
# company that created the invoice, and the field `CustomerErpKey` is the customer to whom the invoice
|
25
|
+
# was sent.
|
26
|
+
# @type: string
|
27
|
+
field :company_erp_key
|
28
|
+
|
29
|
+
# The original primary key or unique ID of the company to which this invoice was sent. This value should
|
30
|
+
# match the [Company ErpKey](https://developer.lockstep.io/docs/importing-companies#erpkey) field on the
|
31
|
+
# [CompanySyncModel](https://developer.lockstep.io/docs/importing-companies).
|
32
|
+
#
|
33
|
+
# An Invoice has two relationships: The Company and the Customer. The field `CompanyErpKey` identifies the
|
34
|
+
# company that created the invoice, and the field `CustomerErpKey` is the customer to whom the invoice
|
35
|
+
# was sent.
|
36
|
+
# @type: string
|
37
|
+
field :customer_erp_key
|
38
|
+
|
39
|
+
# The name of the salesperson that wrote this invoice. This is just text, it is not a reference to the
|
40
|
+
# "Contacts" table. You will not receive an error if this field does not match a known contact person.
|
41
|
+
# @type: string
|
42
|
+
field :salesperson_name
|
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,
|
46
|
+
# the vendor can then create an invoice and refer back to the originating purchase order using this field.
|
47
|
+
# @type: string
|
48
|
+
field :purchase_order_code
|
49
|
+
|
50
|
+
# An additional reference code that is sometimes used to identify this invoice. The meaning of this field
|
51
|
+
# is specific to the ERP or accounting system used by the user.
|
52
|
+
# @type: string
|
53
|
+
field :reference_code
|
54
|
+
|
55
|
+
# A code identifying the salesperson responsible for writing this quote, invoice, or order. This is just
|
56
|
+
# text, it is not a reference to the "Contacts" table. You will not receive an error if this field does
|
57
|
+
# not match a known contact person.
|
58
|
+
# @type: string
|
59
|
+
field :salesperson_code
|
60
|
+
|
61
|
+
# A code identifying the type of this invoice.
|
62
|
+
#
|
63
|
+
# Recognized Invoice types are:
|
64
|
+
# * `Invoice` - Represents an invoice sent by Company to the Customer
|
65
|
+
# * `AP Invoice` - Represents an invoice sent by Customer to the Company
|
66
|
+
# * `Credit Memo` - Represents a credit memo generated by Customer given to Company
|
67
|
+
# @type: string
|
68
|
+
field :invoice_type_code
|
69
|
+
|
70
|
+
# A code identifying the status of this invoice.
|
71
|
+
#
|
72
|
+
# Recognized Invoice status codes are:
|
73
|
+
# * `Open` - Represents an invoice that is considered open and needs more work to complete
|
74
|
+
# * `Closed` - Represents an invoice that is considered closed and resolved
|
75
|
+
# @type: string
|
76
|
+
field :invoice_status_code
|
77
|
+
|
78
|
+
# A code identifying the terms given to the purchaser. This field is imported directly from the originating
|
79
|
+
# financial system and does not follow a specified format.
|
80
|
+
# @type: string
|
81
|
+
field :terms_code
|
82
|
+
|
83
|
+
# If the customer negotiated any special terms different from the standard terms above, describe them here.
|
84
|
+
# @type: string
|
85
|
+
field :special_terms
|
86
|
+
|
87
|
+
# The three-character ISO 4217 currency code used for this invoice. This will be validated by the /api/v1/currencies data set
|
88
|
+
# @type: string
|
89
|
+
field :currency_code
|
90
|
+
|
91
|
+
# The total value of this invoice, inclusive of all taxes and line items.
|
92
|
+
# @type: number
|
93
|
+
# @format: double
|
94
|
+
field :total_amount
|
95
|
+
|
96
|
+
# The total sales (or transactional) tax calculated for this invoice.
|
97
|
+
# @type: number
|
98
|
+
# @format: double
|
99
|
+
field :sales_tax_amount
|
100
|
+
|
101
|
+
# The total discounts given by the seller to the buyer on this invoice.
|
102
|
+
# @type: number
|
103
|
+
# @format: double
|
104
|
+
field :discount_amount
|
105
|
+
|
106
|
+
# The remaining balance value of this invoice.
|
107
|
+
# @type: number
|
108
|
+
# @format: double
|
109
|
+
field :outstanding_balance_amount
|
110
|
+
|
111
|
+
# The reporting date for this invoice.
|
112
|
+
# @type: string
|
113
|
+
# @format: date-time
|
114
|
+
field :invoice_date, Types::Params::DateTime
|
115
|
+
|
116
|
+
# The date when discounts were adjusted for this invoice.
|
117
|
+
# @type: string
|
118
|
+
# @format: date-time
|
119
|
+
field :discount_date, Types::Params::DateTime
|
120
|
+
|
121
|
+
# The date when this invoice posted to the company's general ledger.
|
122
|
+
# @type: string
|
123
|
+
# @format: date-time
|
124
|
+
field :posted_date, Types::Params::DateTime
|
125
|
+
|
126
|
+
# The date when the invoice was closed and finalized after completion of all payments and delivery of all products and
|
127
|
+
# services.
|
128
|
+
# @type: string
|
129
|
+
# @format: date-time
|
130
|
+
field :invoice_closed_date, Types::Params::DateTime
|
131
|
+
|
132
|
+
# The date when the remaining outstanding balance is due.
|
133
|
+
# @type: string
|
134
|
+
# @format: date-time
|
135
|
+
field :payment_due_date, Types::Params::DateTime
|
136
|
+
|
137
|
+
# The date and time when this record was imported from the user's ERP or accounting system.
|
138
|
+
# @type: string
|
139
|
+
# @format: date-time
|
140
|
+
field :imported_date, Types::Params::DateTime
|
141
|
+
|
142
|
+
# The origination address for this invoice
|
143
|
+
# @type: string
|
144
|
+
field :origin_address_line1
|
145
|
+
|
146
|
+
# The origination address for this invoice
|
147
|
+
# @type: string
|
148
|
+
field :origin_address_line2
|
149
|
+
|
150
|
+
# The origination address for this invoice
|
151
|
+
# @type: string
|
152
|
+
field :origin_address_line3
|
153
|
+
|
154
|
+
# The origination address for this invoice
|
155
|
+
# @type: string
|
156
|
+
field :origin_address_city
|
157
|
+
|
158
|
+
# The origination address for this invoice
|
159
|
+
# @type: string
|
160
|
+
field :origin_address_region
|
161
|
+
|
162
|
+
# The origination address for this invoice
|
163
|
+
# @type: string
|
164
|
+
field :origin_address_postal_code
|
165
|
+
|
166
|
+
# The origination address for this invoice This will be validated by the /api/v1/countries data set
|
167
|
+
# @type: string
|
168
|
+
field :origin_address_country
|
169
|
+
|
170
|
+
# The origination address for this invoice
|
171
|
+
# @type: number
|
172
|
+
# @format: float
|
173
|
+
field :origin_address_latitude
|
174
|
+
|
175
|
+
# The origination address for this invoice
|
176
|
+
# @type: number
|
177
|
+
# @format: float
|
178
|
+
field :origin_address_longitude
|
179
|
+
|
180
|
+
# The billing address for this invoice
|
181
|
+
# @type: string
|
182
|
+
field :bill_to_address_line1
|
183
|
+
|
184
|
+
# The billing address for this invoice
|
185
|
+
# @type: string
|
186
|
+
field :bill_to_address_line2
|
187
|
+
|
188
|
+
# The billing address for this invoice
|
189
|
+
# @type: string
|
190
|
+
field :bill_to_address_line3
|
191
|
+
|
192
|
+
# The billing address for this invoice
|
193
|
+
# @type: string
|
194
|
+
field :bill_to_address_city
|
195
|
+
|
196
|
+
# The billing address for this invoice
|
197
|
+
# @type: string
|
198
|
+
field :bill_to_address_region
|
199
|
+
|
200
|
+
# The billing address for this invoice
|
201
|
+
# @type: string
|
202
|
+
field :bill_to_address_postal_code
|
203
|
+
|
204
|
+
# The billing address for this invoice This will be validated by the /api/v1/countries data set
|
205
|
+
# @type: string
|
206
|
+
field :bill_to_address_country
|
207
|
+
|
208
|
+
# The billing address for this invoice
|
209
|
+
# @type: number
|
210
|
+
# @format: float
|
211
|
+
field :bill_to_address_latitude
|
212
|
+
|
213
|
+
# The billing address for this invoice
|
214
|
+
# @type: number
|
215
|
+
# @format: float
|
216
|
+
field :bill_to_address_longitude
|
217
|
+
|
218
|
+
# The shipping address for this invoice
|
219
|
+
# @type: string
|
220
|
+
field :ship_to_address_line1
|
221
|
+
|
222
|
+
# The shipping address for this invoice
|
223
|
+
# @type: string
|
224
|
+
field :ship_to_address_line2
|
225
|
+
|
226
|
+
# The shipping address for this invoice
|
227
|
+
# @type: string
|
228
|
+
field :ship_to_address_line3
|
229
|
+
|
230
|
+
# The shipping address for this invoice
|
231
|
+
# @type: string
|
232
|
+
field :ship_to_address_city
|
233
|
+
|
234
|
+
# The shipping address for this invoice
|
235
|
+
# @type: string
|
236
|
+
field :ship_to_address_region
|
237
|
+
|
238
|
+
# The shipping address for this invoice
|
239
|
+
# @type: string
|
240
|
+
field :ship_to_address_postal_code
|
241
|
+
|
242
|
+
# The shipping address for this invoice This will be validated by the /api/v1/countries data set
|
243
|
+
# @type: string
|
244
|
+
field :ship_to_address_country
|
245
|
+
|
246
|
+
# The shipping address for this invoice
|
247
|
+
# @type: number
|
248
|
+
# @format: float
|
249
|
+
field :ship_to_address_latitude
|
250
|
+
|
251
|
+
# The shipping address for this invoice
|
252
|
+
# @type: number
|
253
|
+
# @format: float
|
254
|
+
field :ship_to_address_longitude
|
255
|
+
|
256
|
+
# If known, the date when this record was created according to the originating financial system
|
257
|
+
# in which this record is maintained. If the originating financial system does not maintain a
|
258
|
+
# created-date, leave this field null.
|
259
|
+
# @type: string
|
260
|
+
# @format: date-time
|
261
|
+
field :created, Types::Params::DateTime
|
262
|
+
|
263
|
+
# If known, the date when this record was most recently modified according to the originating
|
264
|
+
# financial system in which this record is maintained. If the originating financial system does
|
265
|
+
# not maintain a most-recently-modified-date, leave this field null.
|
266
|
+
# @type: string
|
267
|
+
# @format: date-time
|
268
|
+
field :modified, Types::Params::DateTime
|
269
|
+
|
270
|
+
# Is the invoice voided? If not specified, we assume the invoice is not voided.
|
271
|
+
# @type: boolean
|
272
|
+
field :is_voided
|
273
|
+
|
274
|
+
# Is the invoice in dispute? If not specified, we assume the invoice is not in dispute.
|
275
|
+
# @type: boolean
|
276
|
+
field :in_dispute
|
277
|
+
|
278
|
+
|
279
|
+
|
280
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
class Schema::Lead < 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
|
+
# @type: string
|
11
|
+
# @format: uuid
|
12
|
+
field :lead_id
|
13
|
+
|
14
|
+
# Name of lead
|
15
|
+
# @type: string
|
16
|
+
field :name
|
17
|
+
|
18
|
+
# Name of company of lead
|
19
|
+
# @type: string
|
20
|
+
field :company
|
21
|
+
|
22
|
+
# Email of lead
|
23
|
+
# @type: string
|
24
|
+
field :email
|
25
|
+
|
26
|
+
# Requested ERP of lead
|
27
|
+
# @type: string
|
28
|
+
field :erp_system
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
class Schema::MemberInfo < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
field :member_type
|
10
|
+
|
11
|
+
|
12
|
+
# @type: string
|
13
|
+
field :name
|
14
|
+
|
15
|
+
|
16
|
+
field :declaring_type
|
17
|
+
|
18
|
+
|
19
|
+
field :reflected_type
|
20
|
+
|
21
|
+
|
22
|
+
field :module
|
23
|
+
|
24
|
+
|
25
|
+
# @type: boolean
|
26
|
+
field :is_collectible
|
27
|
+
|
28
|
+
|
29
|
+
# @type: integer
|
30
|
+
# @format: int32
|
31
|
+
field :metadata_token
|
32
|
+
|
33
|
+
|
34
|
+
has_many :custom_attributes, {:class_name=>"Schema::CustomAttributeData", :included=>true}
|
35
|
+
|
36
|
+
end
|
@@ -0,0 +1,128 @@
|
|
1
|
+
class Schema::MethodBase < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
field :member_type
|
10
|
+
|
11
|
+
|
12
|
+
# @type: string
|
13
|
+
field :name
|
14
|
+
|
15
|
+
|
16
|
+
field :declaring_type
|
17
|
+
|
18
|
+
|
19
|
+
field :reflected_type
|
20
|
+
|
21
|
+
|
22
|
+
field :module
|
23
|
+
|
24
|
+
|
25
|
+
# @type: boolean
|
26
|
+
field :is_collectible
|
27
|
+
|
28
|
+
|
29
|
+
# @type: integer
|
30
|
+
# @format: int32
|
31
|
+
field :metadata_token
|
32
|
+
|
33
|
+
|
34
|
+
field :attributes
|
35
|
+
|
36
|
+
|
37
|
+
field :method_implementation_flags
|
38
|
+
|
39
|
+
|
40
|
+
field :calling_convention
|
41
|
+
|
42
|
+
|
43
|
+
# @type: boolean
|
44
|
+
field :is_abstract
|
45
|
+
|
46
|
+
|
47
|
+
# @type: boolean
|
48
|
+
field :is_constructor
|
49
|
+
|
50
|
+
|
51
|
+
# @type: boolean
|
52
|
+
field :is_final
|
53
|
+
|
54
|
+
|
55
|
+
# @type: boolean
|
56
|
+
field :is_hide_by_sig
|
57
|
+
|
58
|
+
|
59
|
+
# @type: boolean
|
60
|
+
field :is_special_name
|
61
|
+
|
62
|
+
|
63
|
+
# @type: boolean
|
64
|
+
field :is_static
|
65
|
+
|
66
|
+
|
67
|
+
# @type: boolean
|
68
|
+
field :is_virtual
|
69
|
+
|
70
|
+
|
71
|
+
# @type: boolean
|
72
|
+
field :is_assembly
|
73
|
+
|
74
|
+
|
75
|
+
# @type: boolean
|
76
|
+
field :is_family
|
77
|
+
|
78
|
+
|
79
|
+
# @type: boolean
|
80
|
+
field :is_family_and_assembly
|
81
|
+
|
82
|
+
|
83
|
+
# @type: boolean
|
84
|
+
field :is_family_or_assembly
|
85
|
+
|
86
|
+
|
87
|
+
# @type: boolean
|
88
|
+
field :is_private
|
89
|
+
|
90
|
+
|
91
|
+
# @type: boolean
|
92
|
+
field :is_public
|
93
|
+
|
94
|
+
|
95
|
+
# @type: boolean
|
96
|
+
field :is_constructed_generic_method
|
97
|
+
|
98
|
+
|
99
|
+
# @type: boolean
|
100
|
+
field :is_generic_method
|
101
|
+
|
102
|
+
|
103
|
+
# @type: boolean
|
104
|
+
field :is_generic_method_definition
|
105
|
+
|
106
|
+
|
107
|
+
# @type: boolean
|
108
|
+
field :contains_generic_parameters
|
109
|
+
|
110
|
+
|
111
|
+
field :method_handle
|
112
|
+
|
113
|
+
|
114
|
+
# @type: boolean
|
115
|
+
field :is_security_critical
|
116
|
+
|
117
|
+
|
118
|
+
# @type: boolean
|
119
|
+
field :is_security_safe_critical
|
120
|
+
|
121
|
+
|
122
|
+
# @type: boolean
|
123
|
+
field :is_security_transparent
|
124
|
+
|
125
|
+
|
126
|
+
has_many :custom_attributes, {:class_name=>"Schema::CustomAttributeData", :included=>true}
|
127
|
+
|
128
|
+
end
|
@@ -0,0 +1,137 @@
|
|
1
|
+
class Schema::MethodInfo < 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: string
|
10
|
+
field :name
|
11
|
+
|
12
|
+
|
13
|
+
field :declaring_type
|
14
|
+
|
15
|
+
|
16
|
+
field :reflected_type
|
17
|
+
|
18
|
+
|
19
|
+
field :module
|
20
|
+
|
21
|
+
|
22
|
+
# @type: boolean
|
23
|
+
field :is_collectible
|
24
|
+
|
25
|
+
|
26
|
+
# @type: integer
|
27
|
+
# @format: int32
|
28
|
+
field :metadata_token
|
29
|
+
|
30
|
+
|
31
|
+
field :attributes
|
32
|
+
|
33
|
+
|
34
|
+
field :method_implementation_flags
|
35
|
+
|
36
|
+
|
37
|
+
field :calling_convention
|
38
|
+
|
39
|
+
|
40
|
+
# @type: boolean
|
41
|
+
field :is_abstract
|
42
|
+
|
43
|
+
|
44
|
+
# @type: boolean
|
45
|
+
field :is_constructor
|
46
|
+
|
47
|
+
|
48
|
+
# @type: boolean
|
49
|
+
field :is_final
|
50
|
+
|
51
|
+
|
52
|
+
# @type: boolean
|
53
|
+
field :is_hide_by_sig
|
54
|
+
|
55
|
+
|
56
|
+
# @type: boolean
|
57
|
+
field :is_special_name
|
58
|
+
|
59
|
+
|
60
|
+
# @type: boolean
|
61
|
+
field :is_static
|
62
|
+
|
63
|
+
|
64
|
+
# @type: boolean
|
65
|
+
field :is_virtual
|
66
|
+
|
67
|
+
|
68
|
+
# @type: boolean
|
69
|
+
field :is_assembly
|
70
|
+
|
71
|
+
|
72
|
+
# @type: boolean
|
73
|
+
field :is_family
|
74
|
+
|
75
|
+
|
76
|
+
# @type: boolean
|
77
|
+
field :is_family_and_assembly
|
78
|
+
|
79
|
+
|
80
|
+
# @type: boolean
|
81
|
+
field :is_family_or_assembly
|
82
|
+
|
83
|
+
|
84
|
+
# @type: boolean
|
85
|
+
field :is_private
|
86
|
+
|
87
|
+
|
88
|
+
# @type: boolean
|
89
|
+
field :is_public
|
90
|
+
|
91
|
+
|
92
|
+
# @type: boolean
|
93
|
+
field :is_constructed_generic_method
|
94
|
+
|
95
|
+
|
96
|
+
# @type: boolean
|
97
|
+
field :is_generic_method
|
98
|
+
|
99
|
+
|
100
|
+
# @type: boolean
|
101
|
+
field :is_generic_method_definition
|
102
|
+
|
103
|
+
|
104
|
+
# @type: boolean
|
105
|
+
field :contains_generic_parameters
|
106
|
+
|
107
|
+
|
108
|
+
field :method_handle
|
109
|
+
|
110
|
+
|
111
|
+
# @type: boolean
|
112
|
+
field :is_security_critical
|
113
|
+
|
114
|
+
|
115
|
+
# @type: boolean
|
116
|
+
field :is_security_safe_critical
|
117
|
+
|
118
|
+
|
119
|
+
# @type: boolean
|
120
|
+
field :is_security_transparent
|
121
|
+
|
122
|
+
|
123
|
+
field :member_type
|
124
|
+
|
125
|
+
|
126
|
+
field :return_parameter
|
127
|
+
|
128
|
+
|
129
|
+
field :return_type
|
130
|
+
|
131
|
+
|
132
|
+
field :return_type_custom_attributes
|
133
|
+
|
134
|
+
|
135
|
+
has_many :custom_attributes, {:class_name=>"Schema::CustomAttributeData", :included=>true}
|
136
|
+
|
137
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
class Schema::Module < Lockstep::ApiRecord
|
2
|
+
|
3
|
+
# ApiRecord will crash unless `id_ref` is defined
|
4
|
+
def self.id_ref
|
5
|
+
nil
|
6
|
+
end
|
7
|
+
|
8
|
+
|
9
|
+
field :assembly
|
10
|
+
|
11
|
+
|
12
|
+
# @type: string
|
13
|
+
field :fully_qualified_name
|
14
|
+
|
15
|
+
|
16
|
+
# @type: string
|
17
|
+
field :name
|
18
|
+
|
19
|
+
|
20
|
+
# @type: integer
|
21
|
+
# @format: int32
|
22
|
+
field :md_stream_version
|
23
|
+
|
24
|
+
|
25
|
+
# @type: string
|
26
|
+
# @format: uuid
|
27
|
+
field :module_version_id
|
28
|
+
|
29
|
+
|
30
|
+
# @type: string
|
31
|
+
field :scope_name
|
32
|
+
|
33
|
+
|
34
|
+
field :module_handle
|
35
|
+
|
36
|
+
|
37
|
+
# @type: integer
|
38
|
+
# @format: int32
|
39
|
+
field :metadata_token
|
40
|
+
|
41
|
+
|
42
|
+
has_many :custom_attributes, {:class_name=>"Schema::CustomAttributeData", :included=>true}
|
43
|
+
|
44
|
+
end
|