forest_admin_datasource_mambu_payments 1.33.1

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.
Files changed (68) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/Rakefile +6 -0
  4. data/forest_admin_datasource_mambu_payments.gemspec +37 -0
  5. data/lib/forest_admin_datasource_mambu_payments/client/reads.rb +66 -0
  6. data/lib/forest_admin_datasource_mambu_payments/client/writes.rb +42 -0
  7. data/lib/forest_admin_datasource_mambu_payments/client.rb +166 -0
  8. data/lib/forest_admin_datasource_mambu_payments/collections/account_holder.rb +64 -0
  9. data/lib/forest_admin_datasource_mambu_payments/collections/balance.rb +75 -0
  10. data/lib/forest_admin_datasource_mambu_payments/collections/base_collection.rb +254 -0
  11. data/lib/forest_admin_datasource_mambu_payments/collections/claim.rb +98 -0
  12. data/lib/forest_admin_datasource_mambu_payments/collections/connected_account.rb +103 -0
  13. data/lib/forest_admin_datasource_mambu_payments/collections/direct_debit_mandate.rb +125 -0
  14. data/lib/forest_admin_datasource_mambu_payments/collections/event.rb +133 -0
  15. data/lib/forest_admin_datasource_mambu_payments/collections/expected_payment.rb +132 -0
  16. data/lib/forest_admin_datasource_mambu_payments/collections/external_account.rb +121 -0
  17. data/lib/forest_admin_datasource_mambu_payments/collections/file.rb +89 -0
  18. data/lib/forest_admin_datasource_mambu_payments/collections/incoming_payment.rb +120 -0
  19. data/lib/forest_admin_datasource_mambu_payments/collections/internal_account.rb +136 -0
  20. data/lib/forest_admin_datasource_mambu_payments/collections/payee_verification_request.rb +88 -0
  21. data/lib/forest_admin_datasource_mambu_payments/collections/payment_capture.rb +136 -0
  22. data/lib/forest_admin_datasource_mambu_payments/collections/payment_order.rb +132 -0
  23. data/lib/forest_admin_datasource_mambu_payments/collections/reconciliation.rb +93 -0
  24. data/lib/forest_admin_datasource_mambu_payments/collections/return.rb +132 -0
  25. data/lib/forest_admin_datasource_mambu_payments/collections/transaction.rb +113 -0
  26. data/lib/forest_admin_datasource_mambu_payments/configuration.rb +36 -0
  27. data/lib/forest_admin_datasource_mambu_payments/datasource.rb +35 -0
  28. data/lib/forest_admin_datasource_mambu_payments/plugins/disable_search.rb +31 -0
  29. data/lib/forest_admin_datasource_mambu_payments/plugins/helpers.rb +94 -0
  30. data/lib/forest_admin_datasource_mambu_payments/plugins/messages.rb +30 -0
  31. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/holder_link_plugin.rb +56 -0
  32. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_account_holder_to_direct_debit_mandates.rb +14 -0
  33. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_account_holder_to_incoming_payments.rb +14 -0
  34. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_external_account_to_direct_debit_mandates.rb +13 -0
  35. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_external_account_to_incoming_payments.rb +13 -0
  36. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_external_account_to_payment_orders.rb +13 -0
  37. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_events.rb +13 -0
  38. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_expected_payments.rb +21 -0
  39. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_returns.rb +12 -0
  40. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_transactions.rb +20 -0
  41. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_internal_account_to_balances.rb +17 -0
  42. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_internal_account_to_incoming_payments.rb +13 -0
  43. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_internal_account_to_payment_orders.rb +17 -0
  44. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_events.rb +13 -0
  45. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_receiving_account_holder.rb +15 -0
  46. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_returns.rb +12 -0
  47. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_transactions.rb +51 -0
  48. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/one_to_many_link_plugin.rb +35 -0
  49. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/pivot_resolution.rb +73 -0
  50. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_connected_account_filter.rb +38 -0
  51. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_cross_reconciliation_filter.rb +55 -0
  52. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_holder_filter.rb +32 -0
  53. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_link_plugin.rb +64 -0
  54. data/lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_reconciliation_filter.rb +39 -0
  55. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/approve_payment_order.rb +56 -0
  56. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/cancel_payment_order.rb +66 -0
  57. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_account_holder.rb +44 -0
  58. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_external_account.rb +54 -0
  59. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_internal_account.rb +58 -0
  60. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_payment_order.rb +66 -0
  61. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/trigger_payee_verification.rb +58 -0
  62. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/update_account_holder.rb +67 -0
  63. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/update_external_account.rb +75 -0
  64. data/lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/update_internal_account.rb +75 -0
  65. data/lib/forest_admin_datasource_mambu_payments/query/condition_tree_translator.rb +115 -0
  66. data/lib/forest_admin_datasource_mambu_payments/version.rb +3 -0
  67. data/lib/forest_admin_datasource_mambu_payments.rb +44 -0
  68. metadata +170 -0
metadata ADDED
@@ -0,0 +1,170 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: forest_admin_datasource_mambu_payments
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.33.1
5
+ platform: ruby
6
+ authors:
7
+ - Forest Admin
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2026-06-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '6.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '6.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: faraday
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: faraday-retry
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '2.0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '2.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: zeitwerk
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '2.3'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '2.3'
69
+ description: Surface Mambu Payments connected accounts, payment orders, transactions
70
+ and balances as Forest Admin collections.
71
+ email:
72
+ - contact@forestadmin.com
73
+ executables: []
74
+ extensions: []
75
+ extra_rdoc_files: []
76
+ files:
77
+ - ".rspec"
78
+ - Rakefile
79
+ - forest_admin_datasource_mambu_payments.gemspec
80
+ - lib/forest_admin_datasource_mambu_payments.rb
81
+ - lib/forest_admin_datasource_mambu_payments/client.rb
82
+ - lib/forest_admin_datasource_mambu_payments/client/reads.rb
83
+ - lib/forest_admin_datasource_mambu_payments/client/writes.rb
84
+ - lib/forest_admin_datasource_mambu_payments/collections/account_holder.rb
85
+ - lib/forest_admin_datasource_mambu_payments/collections/balance.rb
86
+ - lib/forest_admin_datasource_mambu_payments/collections/base_collection.rb
87
+ - lib/forest_admin_datasource_mambu_payments/collections/claim.rb
88
+ - lib/forest_admin_datasource_mambu_payments/collections/connected_account.rb
89
+ - lib/forest_admin_datasource_mambu_payments/collections/direct_debit_mandate.rb
90
+ - lib/forest_admin_datasource_mambu_payments/collections/event.rb
91
+ - lib/forest_admin_datasource_mambu_payments/collections/expected_payment.rb
92
+ - lib/forest_admin_datasource_mambu_payments/collections/external_account.rb
93
+ - lib/forest_admin_datasource_mambu_payments/collections/file.rb
94
+ - lib/forest_admin_datasource_mambu_payments/collections/incoming_payment.rb
95
+ - lib/forest_admin_datasource_mambu_payments/collections/internal_account.rb
96
+ - lib/forest_admin_datasource_mambu_payments/collections/payee_verification_request.rb
97
+ - lib/forest_admin_datasource_mambu_payments/collections/payment_capture.rb
98
+ - lib/forest_admin_datasource_mambu_payments/collections/payment_order.rb
99
+ - lib/forest_admin_datasource_mambu_payments/collections/reconciliation.rb
100
+ - lib/forest_admin_datasource_mambu_payments/collections/return.rb
101
+ - lib/forest_admin_datasource_mambu_payments/collections/transaction.rb
102
+ - lib/forest_admin_datasource_mambu_payments/configuration.rb
103
+ - lib/forest_admin_datasource_mambu_payments/datasource.rb
104
+ - lib/forest_admin_datasource_mambu_payments/plugins/disable_search.rb
105
+ - lib/forest_admin_datasource_mambu_payments/plugins/helpers.rb
106
+ - lib/forest_admin_datasource_mambu_payments/plugins/messages.rb
107
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/holder_link_plugin.rb
108
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_account_holder_to_direct_debit_mandates.rb
109
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_account_holder_to_incoming_payments.rb
110
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_external_account_to_direct_debit_mandates.rb
111
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_external_account_to_incoming_payments.rb
112
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_external_account_to_payment_orders.rb
113
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_events.rb
114
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_expected_payments.rb
115
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_returns.rb
116
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_incoming_payment_to_transactions.rb
117
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_internal_account_to_balances.rb
118
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_internal_account_to_incoming_payments.rb
119
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_internal_account_to_payment_orders.rb
120
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_events.rb
121
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_receiving_account_holder.rb
122
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_returns.rb
123
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/link_payment_order_to_transactions.rb
124
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/one_to_many_link_plugin.rb
125
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/pivot_resolution.rb
126
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_connected_account_filter.rb
127
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_cross_reconciliation_filter.rb
128
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_holder_filter.rb
129
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_link_plugin.rb
130
+ - lib/forest_admin_datasource_mambu_payments/plugins/relations/two_step_reconciliation_filter.rb
131
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/approve_payment_order.rb
132
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/cancel_payment_order.rb
133
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_account_holder.rb
134
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_external_account.rb
135
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_internal_account.rb
136
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/create_payment_order.rb
137
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/trigger_payee_verification.rb
138
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/update_account_holder.rb
139
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/update_external_account.rb
140
+ - lib/forest_admin_datasource_mambu_payments/plugins/smart_actions/update_internal_account.rb
141
+ - lib/forest_admin_datasource_mambu_payments/query/condition_tree_translator.rb
142
+ - lib/forest_admin_datasource_mambu_payments/version.rb
143
+ homepage: https://www.forestadmin.com
144
+ licenses:
145
+ - GPL-3.0
146
+ metadata:
147
+ homepage_uri: https://www.forestadmin.com
148
+ source_code_uri: https://github.com/ForestAdmin/agent-ruby
149
+ changelog_uri: https://github.com/ForestAdmin/agent-ruby/blob/main/CHANGELOG.md
150
+ rubygems_mfa_required: 'false'
151
+ post_install_message:
152
+ rdoc_options: []
153
+ require_paths:
154
+ - lib
155
+ required_ruby_version: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: 3.0.0
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
165
+ requirements: []
166
+ rubygems_version: 3.4.20
167
+ signing_key:
168
+ specification_version: 4
169
+ summary: Mambu Payments (Numeral) datasource for Forest Admin Ruby agent.
170
+ test_files: []