lockstep_rails 0.3.22
Sign up to get free protection for your applications and to get access to all the features.
- 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
data/config/routes.rb
ADDED
@@ -0,0 +1,159 @@
|
|
1
|
+
require "open-uri"
|
2
|
+
require "json"
|
3
|
+
require "pry"
|
4
|
+
require "erb"
|
5
|
+
|
6
|
+
task :update_api_schema do
|
7
|
+
# download_schema!
|
8
|
+
create_models
|
9
|
+
end
|
10
|
+
|
11
|
+
class SchemaBinding
|
12
|
+
attr_accessor :model_name, :fields, :belongs_to_relations, :has_many_relations
|
13
|
+
|
14
|
+
def initialize(model_name, fields, belongs_to_relations, has_many_relations)
|
15
|
+
self.model_name = model_name
|
16
|
+
self.fields = fields
|
17
|
+
self.belongs_to_relations = belongs_to_relations
|
18
|
+
self.has_many_relations = has_many_relations
|
19
|
+
end
|
20
|
+
|
21
|
+
def class_name
|
22
|
+
len = model_name.length
|
23
|
+
"#{model_name[0].upcase}#{model_name[1..len - 1]}".gsub("Model", "")
|
24
|
+
end
|
25
|
+
|
26
|
+
# Expose private binding() method.
|
27
|
+
def get_binding
|
28
|
+
binding()
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
SCHEMA_SWAGGER_URL = "https://api.lockstep.io/swagger/v1/swagger.json"
|
33
|
+
SCHEMA_FILE_PATH = "app/platform_api/swagger.json"
|
34
|
+
TEMPLATE = "app/platform_api/model_template.rb.erb"
|
35
|
+
SCHEMA_PATH = "app/platform_api/schema"
|
36
|
+
|
37
|
+
def download_schema!
|
38
|
+
open(SCHEMA_FILE_PATH, "wb") do |file|
|
39
|
+
file.truncate(0)
|
40
|
+
file << open(SCHEMA_SWAGGER_URL).read
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
def create_models
|
45
|
+
schema = JSON.parse(File.read(SCHEMA_FILE_PATH))
|
46
|
+
# models = schema["components"]["schemas"].keys
|
47
|
+
schema["components"]["schemas"].each do |schema_name, schema|
|
48
|
+
next unless schema["type"] == "object"
|
49
|
+
next unless schema["properties"].class.name == "Hash"
|
50
|
+
|
51
|
+
model_name = underscore(schema_name)
|
52
|
+
|
53
|
+
# models[model_name] = {
|
54
|
+
# fields: {},
|
55
|
+
# belongs_to_relations: {},
|
56
|
+
# has_many_relations: {},
|
57
|
+
# }
|
58
|
+
|
59
|
+
fields = build_fields(schema_name, schema["properties"])
|
60
|
+
belongs_to_relations = build_belongs_to_relations(schema_name, schema["properties"])
|
61
|
+
has_many_relations = build_has_many_relations(schema_name, schema["properties"])
|
62
|
+
|
63
|
+
schema_binding = SchemaBinding.new(schema_name, fields, belongs_to_relations, has_many_relations)
|
64
|
+
renderer = ERB.new(File.read(TEMPLATE), nil, "-")
|
65
|
+
file_contents = renderer.result(schema_binding.get_binding)
|
66
|
+
|
67
|
+
open("#{SCHEMA_PATH}/#{model_name.gsub("_model", "")}.rb", "wb") do |f|
|
68
|
+
f.truncate(0)
|
69
|
+
f << file_contents
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
# types => ["array", "string", "boolean", "number", nil, "integer", "object"]
|
75
|
+
# formats => [nil, "uuid", "date-time", "double", "int32", "uri", "date", "int64", "email", "float"]
|
76
|
+
def schema_property_type(property)
|
77
|
+
return "Types::Params::DateTime" if property["type"] == "string" && property["format"] == "date-time"
|
78
|
+
|
79
|
+
nil
|
80
|
+
end
|
81
|
+
|
82
|
+
def underscore(camel_cased_word)
|
83
|
+
camel_cased_word.to_s.gsub(/::/, "/").
|
84
|
+
gsub(/([A-Z]+)([A-Z][a-z])/, '\1_\2').
|
85
|
+
gsub(/([a-z\d])([A-Z])/, '\1_\2').
|
86
|
+
tr("-", "_").
|
87
|
+
downcase
|
88
|
+
end
|
89
|
+
|
90
|
+
def class_name(name)
|
91
|
+
len = name.length
|
92
|
+
"Lockstep::#{name[0].upcase}#{name[1..len - 1]}".gsub("Model", "")
|
93
|
+
end
|
94
|
+
|
95
|
+
def build_fields(schema_name, properties)
|
96
|
+
fields = {}
|
97
|
+
properties.each do |property_name, property|
|
98
|
+
next if !property["items"].nil? and !property["items"]["$ref"].nil?
|
99
|
+
|
100
|
+
property["value_type"] = schema_property_type(property)
|
101
|
+
fields[underscore(property_name)] = property
|
102
|
+
end
|
103
|
+
fields
|
104
|
+
end
|
105
|
+
|
106
|
+
BELONGS_TO_RELATIONS = {
|
107
|
+
connection: {
|
108
|
+
keys: %w[customerId],
|
109
|
+
class_name: "Lockstep::Connection",
|
110
|
+
primary_key: :company_id,
|
111
|
+
},
|
112
|
+
account: {
|
113
|
+
keys: %w[companyId],
|
114
|
+
class_name: "Lockstep::Account",
|
115
|
+
primary_key: :company_id,
|
116
|
+
},
|
117
|
+
created_user: {
|
118
|
+
keys: %w[createdUserId],
|
119
|
+
class_name: "Lockstep::User",
|
120
|
+
primary_key: :user_id,
|
121
|
+
},
|
122
|
+
modified_user: {
|
123
|
+
keys: %w[modifiedUserId],
|
124
|
+
class_name: "Lockstep::User",
|
125
|
+
primary_key: :user_id,
|
126
|
+
},
|
127
|
+
}
|
128
|
+
|
129
|
+
def build_belongs_to_relations(schema_name, properties)
|
130
|
+
belongs_to_relations = {}
|
131
|
+
properties.each do |property_name, property|
|
132
|
+
BELONGS_TO_RELATIONS.each do |relation_name, config|
|
133
|
+
next unless config[:keys].include?(property_name)
|
134
|
+
|
135
|
+
belongs_to_relations[underscore(property_name).to_s.gsub("_id", "")] = { class_name: config[:class_name], primary_key: config[:primary_key], foreign_key: underscore(property_name) }
|
136
|
+
belongs_to_relations[underscore(relation_name)] = { class_name: config[:class_name], primary_key: config[:primary_key], foreign_key: underscore(property_name) }
|
137
|
+
end
|
138
|
+
end
|
139
|
+
belongs_to_relations
|
140
|
+
end
|
141
|
+
|
142
|
+
def build_has_many_relations(schema_name, properties)
|
143
|
+
has_many_relations = {}
|
144
|
+
properties.each do |property_name, property|
|
145
|
+
next unless property["type"] == "array"
|
146
|
+
next if property["items"].nil?
|
147
|
+
next if property["items"]["$ref"].nil?
|
148
|
+
|
149
|
+
ref = property["items"]["$ref"].split("/").last.gsub("Model", "")
|
150
|
+
|
151
|
+
case property_name
|
152
|
+
when "notes"
|
153
|
+
has_many_relations[underscore(property_name)] = { class_name: "Lockstep::Note", included: true, foreign_key: :object_key, polymorphic: { table_key: schema_name.gsub("Model", "") } }
|
154
|
+
else
|
155
|
+
has_many_relations[underscore(property_name)] = { class_name: "Schema::#{ref}", included: true }
|
156
|
+
end
|
157
|
+
end
|
158
|
+
has_many_relations
|
159
|
+
end
|
metadata
ADDED
@@ -0,0 +1,230 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: lockstep_rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.22
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Vivek AG
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2022-04-15 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: Rails interface for Lockstep Platform API
|
28
|
+
email:
|
29
|
+
- vivek.a@finly.io
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- MIT-LICENSE
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- app/assets/config/lockstep_rails_manifest.js
|
38
|
+
- app/concepts/lockstep/active_records/association.rb
|
39
|
+
- app/concepts/lockstep/api_record.rb
|
40
|
+
- app/concepts/lockstep/api_records/scopes.rb
|
41
|
+
- app/concepts/lockstep/client.rb
|
42
|
+
- app/concepts/lockstep/error.rb
|
43
|
+
- app/concepts/lockstep/exceptions.rb
|
44
|
+
- app/concepts/lockstep/query.rb
|
45
|
+
- app/concepts/lockstep/query_methods.rb
|
46
|
+
- app/concepts/lockstep/relation_array.rb
|
47
|
+
- app/helpers/types.rb
|
48
|
+
- app/models/lockstep/account.rb
|
49
|
+
- app/models/lockstep/connection.rb
|
50
|
+
- app/models/lockstep/contact.rb
|
51
|
+
- app/models/lockstep/customer_summary.rb
|
52
|
+
- app/models/lockstep/invoice.rb
|
53
|
+
- app/models/lockstep/invoice_summary.rb
|
54
|
+
- app/models/lockstep/invoices/address.rb
|
55
|
+
- app/models/lockstep/note.rb
|
56
|
+
- app/models/lockstep/payment.rb
|
57
|
+
- app/models/lockstep/payment_summary.rb
|
58
|
+
- app/models/lockstep/user.rb
|
59
|
+
- app/platform_api/model_template.rb.erb
|
60
|
+
- app/platform_api/schema/action_result.rb
|
61
|
+
- app/platform_api/schema/activity.rb
|
62
|
+
- app/platform_api/schema/activity_fetch_result.rb
|
63
|
+
- app/platform_api/schema/activity_stream_item.rb
|
64
|
+
- app/platform_api/schema/activity_x_ref.rb
|
65
|
+
- app/platform_api/schema/aging.rb
|
66
|
+
- app/platform_api/schema/api_key.rb
|
67
|
+
- app/platform_api/schema/api_key_fetch_result.rb
|
68
|
+
- app/platform_api/schema/app_enrollment.rb
|
69
|
+
- app/platform_api/schema/app_enrollment_custom_field.rb
|
70
|
+
- app/platform_api/schema/app_enrollment_custom_field_fetch_result.rb
|
71
|
+
- app/platform_api/schema/app_enrollment_fetch_result.rb
|
72
|
+
- app/platform_api/schema/application.rb
|
73
|
+
- app/platform_api/schema/application_fetch_result.rb
|
74
|
+
- app/platform_api/schema/ar_aging_header_info.rb
|
75
|
+
- app/platform_api/schema/ar_header_info.rb
|
76
|
+
- app/platform_api/schema/assembly.rb
|
77
|
+
- app/platform_api/schema/at_risk_invoice_summary.rb
|
78
|
+
- app/platform_api/schema/at_risk_invoice_summary_fetch_result.rb
|
79
|
+
- app/platform_api/schema/attachment.rb
|
80
|
+
- app/platform_api/schema/attachment_fetch_result.rb
|
81
|
+
- app/platform_api/schema/attachment_header_info.rb
|
82
|
+
- app/platform_api/schema/batch_sync.rb
|
83
|
+
- app/platform_api/schema/bulk_currency_conversion.rb
|
84
|
+
- app/platform_api/schema/cashflow_report.rb
|
85
|
+
- app/platform_api/schema/code_definition.rb
|
86
|
+
- app/platform_api/schema/code_definition_fetch_result.rb
|
87
|
+
- app/platform_api/schema/company.rb
|
88
|
+
- app/platform_api/schema/company_fetch_result.rb
|
89
|
+
- app/platform_api/schema/company_sync.rb
|
90
|
+
- app/platform_api/schema/connector_info.rb
|
91
|
+
- app/platform_api/schema/constructor_info.rb
|
92
|
+
- app/platform_api/schema/contact.rb
|
93
|
+
- app/platform_api/schema/contact_fetch_result.rb
|
94
|
+
- app/platform_api/schema/contact_sync.rb
|
95
|
+
- app/platform_api/schema/country.rb
|
96
|
+
- app/platform_api/schema/country_fetch_result.rb
|
97
|
+
- app/platform_api/schema/credit_memo_applied.rb
|
98
|
+
- app/platform_api/schema/credit_memo_applied_fetch_result.rb
|
99
|
+
- app/platform_api/schema/credit_memo_applied_sync.rb
|
100
|
+
- app/platform_api/schema/credit_memo_invoice.rb
|
101
|
+
- app/platform_api/schema/currency.rb
|
102
|
+
- app/platform_api/schema/currency_fetch_result.rb
|
103
|
+
- app/platform_api/schema/currency_rate.rb
|
104
|
+
- app/platform_api/schema/custom_attribute_data.rb
|
105
|
+
- app/platform_api/schema/custom_attribute_named_argument.rb
|
106
|
+
- app/platform_api/schema/custom_attribute_typed_argument.rb
|
107
|
+
- app/platform_api/schema/custom_field_definition.rb
|
108
|
+
- app/platform_api/schema/custom_field_definition_fetch_result.rb
|
109
|
+
- app/platform_api/schema/custom_field_sync.rb
|
110
|
+
- app/platform_api/schema/custom_field_value.rb
|
111
|
+
- app/platform_api/schema/custom_field_value_fetch_result.rb
|
112
|
+
- app/platform_api/schema/customer_details.rb
|
113
|
+
- app/platform_api/schema/customer_details_payment.rb
|
114
|
+
- app/platform_api/schema/customer_summary.rb
|
115
|
+
- app/platform_api/schema/customer_summary_fetch_result.rb
|
116
|
+
- app/platform_api/schema/daily_sales_outstanding_report.rb
|
117
|
+
- app/platform_api/schema/developer_account_submit.rb
|
118
|
+
- app/platform_api/schema/email.rb
|
119
|
+
- app/platform_api/schema/email_fetch_result.rb
|
120
|
+
- app/platform_api/schema/erp.rb
|
121
|
+
- app/platform_api/schema/erp_fetch_result.rb
|
122
|
+
- app/platform_api/schema/erp_info.rb
|
123
|
+
- app/platform_api/schema/erp_info_data.rb
|
124
|
+
- app/platform_api/schema/event_info.rb
|
125
|
+
- app/platform_api/schema/exception.rb
|
126
|
+
- app/platform_api/schema/field_info.rb
|
127
|
+
- app/platform_api/schema/financial_account.rb
|
128
|
+
- app/platform_api/schema/financial_account_balance_history.rb
|
129
|
+
- app/platform_api/schema/financial_account_balance_history_fetch_result.rb
|
130
|
+
- app/platform_api/schema/financial_account_fetch_result.rb
|
131
|
+
- app/platform_api/schema/financial_year_setting.rb
|
132
|
+
- app/platform_api/schema/financial_year_setting_fetch_result.rb
|
133
|
+
- app/platform_api/schema/invite.rb
|
134
|
+
- app/platform_api/schema/invite_data.rb
|
135
|
+
- app/platform_api/schema/invite_submit.rb
|
136
|
+
- app/platform_api/schema/invoice.rb
|
137
|
+
- app/platform_api/schema/invoice_address.rb
|
138
|
+
- app/platform_api/schema/invoice_fetch_result.rb
|
139
|
+
- app/platform_api/schema/invoice_history.rb
|
140
|
+
- app/platform_api/schema/invoice_history_fetch_result.rb
|
141
|
+
- app/platform_api/schema/invoice_line.rb
|
142
|
+
- app/platform_api/schema/invoice_line_sync.rb
|
143
|
+
- app/platform_api/schema/invoice_payment_detail.rb
|
144
|
+
- app/platform_api/schema/invoice_summary.rb
|
145
|
+
- app/platform_api/schema/invoice_summary_fetch_result.rb
|
146
|
+
- app/platform_api/schema/invoice_sync.rb
|
147
|
+
- app/platform_api/schema/lead.rb
|
148
|
+
- app/platform_api/schema/member_info.rb
|
149
|
+
- app/platform_api/schema/method_base.rb
|
150
|
+
- app/platform_api/schema/method_info.rb
|
151
|
+
- app/platform_api/schema/module.rb
|
152
|
+
- app/platform_api/schema/module_handle.rb
|
153
|
+
- app/platform_api/schema/note.rb
|
154
|
+
- app/platform_api/schema/note_fetch_result.rb
|
155
|
+
- app/platform_api/schema/parameter_info.rb
|
156
|
+
- app/platform_api/schema/payment.rb
|
157
|
+
- app/platform_api/schema/payment_applied.rb
|
158
|
+
- app/platform_api/schema/payment_applied_fetch_result.rb
|
159
|
+
- app/platform_api/schema/payment_applied_sync.rb
|
160
|
+
- app/platform_api/schema/payment_detail.rb
|
161
|
+
- app/platform_api/schema/payment_detail_fetch_result.rb
|
162
|
+
- app/platform_api/schema/payment_detail_header.rb
|
163
|
+
- app/platform_api/schema/payment_fetch_result.rb
|
164
|
+
- app/platform_api/schema/payment_summary.rb
|
165
|
+
- app/platform_api/schema/payment_summary_fetch_result.rb
|
166
|
+
- app/platform_api/schema/payment_sync.rb
|
167
|
+
- app/platform_api/schema/problem_details.rb
|
168
|
+
- app/platform_api/schema/property_info.rb
|
169
|
+
- app/platform_api/schema/provisioning.rb
|
170
|
+
- app/platform_api/schema/provisioning_finalize_request.rb
|
171
|
+
- app/platform_api/schema/provisioning_response.rb
|
172
|
+
- app/platform_api/schema/risk_rate.rb
|
173
|
+
- app/platform_api/schema/runtime_field_handle.rb
|
174
|
+
- app/platform_api/schema/runtime_method_handle.rb
|
175
|
+
- app/platform_api/schema/runtime_type_handle.rb
|
176
|
+
- app/platform_api/schema/state.rb
|
177
|
+
- app/platform_api/schema/state_fetch_result.rb
|
178
|
+
- app/platform_api/schema/status.rb
|
179
|
+
- app/platform_api/schema/struct_layout_attribute.rb
|
180
|
+
- app/platform_api/schema/sync_entity_result.rb
|
181
|
+
- app/platform_api/schema/sync_request.rb
|
182
|
+
- app/platform_api/schema/sync_request_fetch_result.rb
|
183
|
+
- app/platform_api/schema/sync_submit.rb
|
184
|
+
- app/platform_api/schema/test_argument_exception.rb
|
185
|
+
- app/platform_api/schema/test_timeout_exception.rb
|
186
|
+
- app/platform_api/schema/transfer_owner.rb
|
187
|
+
- app/platform_api/schema/transfer_owner_submit.rb
|
188
|
+
- app/platform_api/schema/type.rb
|
189
|
+
- app/platform_api/schema/type_info.rb
|
190
|
+
- app/platform_api/schema/uri.rb
|
191
|
+
- app/platform_api/schema/user_account.rb
|
192
|
+
- app/platform_api/schema/user_account_fetch_result.rb
|
193
|
+
- app/platform_api/schema/user_role.rb
|
194
|
+
- app/platform_api/schema/user_role_fetch_result.rb
|
195
|
+
- app/platform_api/schema/webhook.rb
|
196
|
+
- app/platform_api/schema/webhook_fetch_result.rb
|
197
|
+
- app/platform_api/schema/webhook_history_table_storage.rb
|
198
|
+
- app/platform_api/schema/webhook_history_table_storage_fetch_result.rb
|
199
|
+
- app/platform_api/swagger.json
|
200
|
+
- config/routes.rb
|
201
|
+
- lib/lockstep_rails.rb
|
202
|
+
- lib/lockstep_rails/engine.rb
|
203
|
+
- lib/lockstep_rails/version.rb
|
204
|
+
- lib/tasks/lockstep_rails_tasks.rake
|
205
|
+
- lib/tasks/update_api_schema.rake
|
206
|
+
homepage: https://lockstep.io
|
207
|
+
licenses:
|
208
|
+
- MIT
|
209
|
+
metadata:
|
210
|
+
allowed_push_host: https://rubygems.org
|
211
|
+
post_install_message:
|
212
|
+
rdoc_options: []
|
213
|
+
require_paths:
|
214
|
+
- lib
|
215
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
216
|
+
requirements:
|
217
|
+
- - ">="
|
218
|
+
- !ruby/object:Gem::Version
|
219
|
+
version: '0'
|
220
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
221
|
+
requirements:
|
222
|
+
- - ">="
|
223
|
+
- !ruby/object:Gem::Version
|
224
|
+
version: '0'
|
225
|
+
requirements: []
|
226
|
+
rubygems_version: 3.3.3
|
227
|
+
signing_key:
|
228
|
+
specification_version: 4
|
229
|
+
summary: Rails interface for Lockstep Platform API
|
230
|
+
test_files: []
|