lockstep_rails 0.3.69 → 0.3.71

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +85 -53
  3. data/app/models/lockstep/invoice.rb +8 -3
  4. data/app/models/lockstep/workflow_status.rb +8 -0
  5. data/app/platform_api/schema/batch_sync.rb +2 -0
  6. data/app/platform_api/schema/company_magic_link_summary.rb +17 -13
  7. data/app/platform_api/schema/company_sync.rb +15 -0
  8. data/app/platform_api/schema/contact_sync.rb +10 -0
  9. data/app/platform_api/schema/credit_memo_applied.rb +4 -5
  10. data/app/platform_api/schema/financial_account.rb +2 -2
  11. data/app/platform_api/schema/invoice.rb +18 -5
  12. data/app/platform_api/schema/invoice_line.rb +4 -5
  13. data/app/platform_api/schema/invoice_line_sync.rb +10 -0
  14. data/app/platform_api/schema/invoice_sync.rb +23 -0
  15. data/app/platform_api/schema/invoice_workflow_status_history.rb +49 -0
  16. data/app/platform_api/schema/journal_entry.rb +5 -0
  17. data/app/platform_api/schema/journal_entry_line.rb +15 -2
  18. data/app/platform_api/schema/journal_entry_line_fetch_result.rb +26 -0
  19. data/app/platform_api/schema/journal_entry_line_sync.rb +96 -0
  20. data/app/platform_api/schema/journal_entry_sync.rb +66 -0
  21. data/app/platform_api/schema/payment.rb +4 -5
  22. data/app/platform_api/schema/payment_applied.rb +4 -5
  23. data/app/platform_api/schema/payment_applied_sync.rb +15 -0
  24. data/app/platform_api/schema/payment_sync.rb +10 -0
  25. data/app/platform_api/schema/sync_request.rb +2 -0
  26. data/app/platform_api/schema/workflow_status.rb +68 -0
  27. data/app/platform_api/schema/workflow_status_fetch_result.rb +26 -0
  28. data/app/platform_api/swagger.json +9746 -12351
  29. data/lib/lockstep_rails/version.rb +3 -2
  30. data/lib/tasks/update_api_schema.rake +5 -0
  31. metadata +9 -2
@@ -1,4 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module LockstepRails
2
- VERSION = '0.3.69'
4
+ VERSION = '0.3.71'
3
5
  end
4
-
@@ -124,6 +124,11 @@ BELONGS_TO_RELATIONS = {
124
124
  class_name: "Lockstep::User",
125
125
  primary_key: :user_id,
126
126
  },
127
+ parent_workflow_status: {
128
+ keys: %w[parentWorkflowStatusId],
129
+ class_name: "Lockstep::WorkflowStatus",
130
+ primary_key: :id
131
+ }
127
132
  }
128
133
 
129
134
  def build_belongs_to_relations(schema_name, properties)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockstep_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.69
4
+ version: 0.3.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vivek AG
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-20 00:00:00.000000000 Z
11
+ date: 2023-10-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -81,6 +81,7 @@ files:
81
81
  - app/models/lockstep/user.rb
82
82
  - app/models/lockstep/vendor_summary.rb
83
83
  - app/models/lockstep/webhook.rb
84
+ - app/models/lockstep/workflow_status.rb
84
85
  - app/platform_api/model_template.rb.erb
85
86
  - app/platform_api/schema/account_authorisation.rb
86
87
  - app/platform_api/schema/accounting_profile.rb
@@ -228,9 +229,13 @@ files:
228
229
  - app/platform_api/schema/invoice_summary_invoice_summary_totals_summary_fetch_result.rb
229
230
  - app/platform_api/schema/invoice_summary_totals.rb
230
231
  - app/platform_api/schema/invoice_sync.rb
232
+ - app/platform_api/schema/invoice_workflow_status_history.rb
231
233
  - app/platform_api/schema/journal_entry.rb
232
234
  - app/platform_api/schema/journal_entry_fetch_result.rb
233
235
  - app/platform_api/schema/journal_entry_line.rb
236
+ - app/platform_api/schema/journal_entry_line_fetch_result.rb
237
+ - app/platform_api/schema/journal_entry_line_sync.rb
238
+ - app/platform_api/schema/journal_entry_sync.rb
234
239
  - app/platform_api/schema/lead.rb
235
240
  - app/platform_api/schema/magic_link.rb
236
241
  - app/platform_api/schema/magic_link_fetch_result.rb
@@ -345,6 +350,8 @@ files:
345
350
  - app/platform_api/schema/webhook_history_table_storage_fetch_result.rb
346
351
  - app/platform_api/schema/webhook_rule.rb
347
352
  - app/platform_api/schema/webhook_rule_fetch_result.rb
353
+ - app/platform_api/schema/workflow_status.rb
354
+ - app/platform_api/schema/workflow_status_fetch_result.rb
348
355
  - app/platform_api/swagger.json
349
356
  - config/routes.rb
350
357
  - lib/lockstep_rails.rb