fuse_client 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (226) hide show
  1. checksums.yaml +7 -0
  2. data/2023-01-25.json +1736 -0
  3. data/fuse-ruby-openapi/.gitignore +39 -0
  4. data/fuse-ruby-openapi/.gitlab-ci.yml +26 -0
  5. data/fuse-ruby-openapi/.openapi-generator/FILES +220 -0
  6. data/fuse-ruby-openapi/.openapi-generator/VERSION +1 -0
  7. data/fuse-ruby-openapi/.openapi-generator-ignore +23 -0
  8. data/fuse-ruby-openapi/.rspec +2 -0
  9. data/fuse-ruby-openapi/.rubocop.yml +148 -0
  10. data/fuse-ruby-openapi/.travis.yml +14 -0
  11. data/fuse-ruby-openapi/Gemfile +9 -0
  12. data/fuse-ruby-openapi/README.md +258 -0
  13. data/fuse-ruby-openapi/Rakefile +10 -0
  14. data/fuse-ruby-openapi/docs/CreateAssetReportRequest.md +20 -0
  15. data/fuse-ruby-openapi/docs/CreateAssetReportResponse.md +20 -0
  16. data/fuse-ruby-openapi/docs/CreateLinkTokenRequest.md +28 -0
  17. data/fuse-ruby-openapi/docs/CreateLinkTokenRequestMx.md +18 -0
  18. data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaid.md +18 -0
  19. data/fuse-ruby-openapi/docs/CreateLinkTokenRequestPlaidConfig.md +18 -0
  20. data/fuse-ruby-openapi/docs/CreateLinkTokenResponse.md +20 -0
  21. data/fuse-ruby-openapi/docs/CreateSessionRequest.md +22 -0
  22. data/fuse-ruby-openapi/docs/CreateSessionRequestMx.md +24 -0
  23. data/fuse-ruby-openapi/docs/CreateSessionRequestPlaid.md +18 -0
  24. data/fuse-ruby-openapi/docs/CreateSessionResponse.md +22 -0
  25. data/fuse-ruby-openapi/docs/ExchangeFinancialConnectionsPublicTokenRequest.md +18 -0
  26. data/fuse-ruby-openapi/docs/ExchangeFinancialConnectionsPublicTokenResponse.md +22 -0
  27. data/fuse-ruby-openapi/docs/FinancialConnectionsAccount.md +32 -0
  28. data/fuse-ruby-openapi/docs/FinancialConnectionsAccountBalance.md +24 -0
  29. data/fuse-ruby-openapi/docs/FinancialConnectionsAccountDetails.md +22 -0
  30. data/fuse-ruby-openapi/docs/FinancialConnectionsAccountDetailsAch.md +24 -0
  31. data/fuse-ruby-openapi/docs/FinancialConnectionsAccountInstitution.md +18 -0
  32. data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiability.md +46 -0
  33. data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiabilityAllOf.md +30 -0
  34. data/fuse-ruby-openapi/docs/FinancialConnectionsAccountLiabilityAllOfAprs.md +20 -0
  35. data/fuse-ruby-openapi/docs/FinancialConnectionsHolding.md +26 -0
  36. data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentAccount.md +32 -0
  37. data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentSecurity.md +26 -0
  38. data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentTransaction.md +18 -0
  39. data/fuse-ruby-openapi/docs/FinancialConnectionsInvestmentTransactionDataInner.md +32 -0
  40. data/fuse-ruby-openapi/docs/FinancialConnectionsOwner.md +24 -0
  41. data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerAddressesInner.md +20 -0
  42. data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerAddressesInnerData.md +26 -0
  43. data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerEmailsInner.md +22 -0
  44. data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerNamesInner.md +20 -0
  45. data/fuse-ruby-openapi/docs/FinancialConnectionsOwnerPhoneNumbersInner.md +22 -0
  46. data/fuse-ruby-openapi/docs/FuseApi.md +1154 -0
  47. data/fuse-ruby-openapi/docs/FuseApiError.md +28 -0
  48. data/fuse-ruby-openapi/docs/FuseApiErrorData.md +20 -0
  49. data/fuse-ruby-openapi/docs/FuseApiWarning.md +28 -0
  50. data/fuse-ruby-openapi/docs/FuseApiWarningData.md +20 -0
  51. data/fuse-ruby-openapi/docs/GetAssetReportRequest.md +18 -0
  52. data/fuse-ruby-openapi/docs/GetAssetReportResponse.md +18 -0
  53. data/fuse-ruby-openapi/docs/GetAssetReportResponseReport.md +28 -0
  54. data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInner.md +24 -0
  55. data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInnerBalances.md +22 -0
  56. data/fuse-ruby-openapi/docs/GetAssetReportResponseReportAccountsInnerHistoricalBalancesInner.md +22 -0
  57. data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountBalanceResponse.md +18 -0
  58. data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountDetailsRequest.md +18 -0
  59. data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountDetailsResponse.md +18 -0
  60. data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountsRequest.md +18 -0
  61. data/fuse-ruby-openapi/docs/GetFinancialConnectionsAccountsResponse.md +18 -0
  62. data/fuse-ruby-openapi/docs/GetFinancialConnectionsBalanceRequest.md +18 -0
  63. data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersRequest.md +18 -0
  64. data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersResponse.md +18 -0
  65. data/fuse-ruby-openapi/docs/GetFinancialConnectionsOwnersResponseAccountsInner.md +20 -0
  66. data/fuse-ruby-openapi/docs/GetInvestmentHoldingsRequest.md +18 -0
  67. data/fuse-ruby-openapi/docs/GetInvestmentHoldingsResponse.md +24 -0
  68. data/fuse-ruby-openapi/docs/GetInvestmentTransactionsRequest.md +18 -0
  69. data/fuse-ruby-openapi/docs/GetInvestmentTransactionsResponse.md +24 -0
  70. data/fuse-ruby-openapi/docs/GetLiabilitiesRequest.md +18 -0
  71. data/fuse-ruby-openapi/docs/GetLiabilitiesResponse.md +20 -0
  72. data/fuse-ruby-openapi/docs/GetTransactionsRequest.md +22 -0
  73. data/fuse-ruby-openapi/docs/GetTransactionsResponse.md +22 -0
  74. data/fuse-ruby-openapi/docs/GetTransactionsResponseDataInner.md +38 -0
  75. data/fuse-ruby-openapi/docs/GetTransactionsResponseDataInnerMerchant.md +18 -0
  76. data/fuse-ruby-openapi/docs/SyncFinancialConnectionsDataResponse.md +18 -0
  77. data/fuse-ruby-openapi/docs/SyncTransactionsRequest.md +22 -0
  78. data/fuse-ruby-openapi/docs/SyncTransactionsResponse.md +26 -0
  79. data/fuse-ruby-openapi/docs/SyncTransactionsResponseRemovedInner.md +18 -0
  80. data/fuse-ruby-openapi/docs/TransactionCommonModel.md +18 -0
  81. data/fuse-ruby-openapi/fuse_client.gemspec +38 -0
  82. data/fuse-ruby-openapi/git_push.sh +57 -0
  83. data/fuse-ruby-openapi/lib/fuse_client/api/fuse_api.rb +994 -0
  84. data/fuse-ruby-openapi/lib/fuse_client/api_client.rb +392 -0
  85. data/fuse-ruby-openapi/lib/fuse_client/api_error.rb +57 -0
  86. data/fuse-ruby-openapi/lib/fuse_client/configuration.rb +349 -0
  87. data/fuse-ruby-openapi/lib/fuse_client/models/create_asset_report_request.rb +268 -0
  88. data/fuse-ruby-openapi/lib/fuse_client/models/create_asset_report_response.rb +230 -0
  89. data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request.rb +277 -0
  90. data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_mx.rb +221 -0
  91. data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_plaid.rb +220 -0
  92. data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_request_plaid_config.rb +225 -0
  93. data/fuse-ruby-openapi/lib/fuse_client/models/create_link_token_response.rb +230 -0
  94. data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request.rb +266 -0
  95. data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request_mx.rb +247 -0
  96. data/fuse-ruby-openapi/lib/fuse_client/models/create_session_request_plaid.rb +238 -0
  97. data/fuse-ruby-openapi/lib/fuse_client/models/create_session_response.rb +240 -0
  98. data/fuse-ruby-openapi/lib/fuse_client/models/exchange_financial_connections_public_token_request.rb +220 -0
  99. data/fuse-ruby-openapi/lib/fuse_client/models/exchange_financial_connections_public_token_response.rb +240 -0
  100. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account.rb +288 -0
  101. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_balance.rb +250 -0
  102. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_details.rb +239 -0
  103. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_details_ach.rb +250 -0
  104. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_institution.rb +219 -0
  105. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability.rb +368 -0
  106. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability_all_of.rb +282 -0
  107. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_account_liability_all_of_aprs.rb +230 -0
  108. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_holding.rb +260 -0
  109. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_account.rb +288 -0
  110. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_security.rb +260 -0
  111. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_transaction.rb +221 -0
  112. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_investment_transaction_data_inner.rb +290 -0
  113. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner.rb +255 -0
  114. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_addresses_inner.rb +229 -0
  115. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_addresses_inner_data.rb +260 -0
  116. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_emails_inner.rb +274 -0
  117. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_names_inner.rb +230 -0
  118. data/fuse-ruby-openapi/lib/fuse_client/models/financial_connections_owner_phone_numbers_inner.rb +274 -0
  119. data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_error.rb +298 -0
  120. data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_error_data.rb +230 -0
  121. data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_warning.rb +298 -0
  122. data/fuse-ruby-openapi/lib/fuse_client/models/fuse_api_warning_data.rb +230 -0
  123. data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_request.rb +225 -0
  124. data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response.rb +219 -0
  125. data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report.rb +275 -0
  126. data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner.rb +252 -0
  127. data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_balances.rb +240 -0
  128. data/fuse-ruby-openapi/lib/fuse_client/models/get_asset_report_response_report_accounts_inner_historical_balances_inner.rb +240 -0
  129. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_balance_response.rb +221 -0
  130. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_details_request.rb +225 -0
  131. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_account_details_response.rb +221 -0
  132. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_accounts_request.rb +225 -0
  133. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_accounts_response.rb +221 -0
  134. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_balance_request.rb +225 -0
  135. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_request.rb +225 -0
  136. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_response.rb +221 -0
  137. data/fuse-ruby-openapi/lib/fuse_client/models/get_financial_connections_owners_response_accounts_inner.rb +231 -0
  138. data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_holdings_request.rb +225 -0
  139. data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_holdings_response.rb +253 -0
  140. data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_transactions_request.rb +225 -0
  141. data/fuse-ruby-openapi/lib/fuse_client/models/get_investment_transactions_response.rb +253 -0
  142. data/fuse-ruby-openapi/lib/fuse_client/models/get_liabilities_request.rb +225 -0
  143. data/fuse-ruby-openapi/lib/fuse_client/models/get_liabilities_response.rb +231 -0
  144. data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_request.rb +245 -0
  145. data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response.rb +241 -0
  146. data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response_data_inner.rb +321 -0
  147. data/fuse-ruby-openapi/lib/fuse_client/models/get_transactions_response_data_inner_merchant.rb +220 -0
  148. data/fuse-ruby-openapi/lib/fuse_client/models/sync_financial_connections_data_response.rb +220 -0
  149. data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_request.rb +245 -0
  150. data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_response.rb +266 -0
  151. data/fuse-ruby-openapi/lib/fuse_client/models/sync_transactions_response_removed_inner.rb +219 -0
  152. data/fuse-ruby-openapi/lib/fuse_client/models/transaction_common_model.rb +221 -0
  153. data/fuse-ruby-openapi/lib/fuse_client/version.rb +15 -0
  154. data/fuse-ruby-openapi/lib/fuse_client.rb +106 -0
  155. data/fuse-ruby-openapi/spec/api/fuse_api_spec.rb +201 -0
  156. data/fuse-ruby-openapi/spec/api_client_spec.rb +226 -0
  157. data/fuse-ruby-openapi/spec/configuration_spec.rb +42 -0
  158. data/fuse-ruby-openapi/spec/models/create_asset_report_request_spec.rb +40 -0
  159. data/fuse-ruby-openapi/spec/models/create_asset_report_response_spec.rb +40 -0
  160. data/fuse-ruby-openapi/spec/models/create_link_token_request_mx_spec.rb +34 -0
  161. data/fuse-ruby-openapi/spec/models/create_link_token_request_plaid_config_spec.rb +34 -0
  162. data/fuse-ruby-openapi/spec/models/create_link_token_request_plaid_spec.rb +34 -0
  163. data/fuse-ruby-openapi/spec/models/create_link_token_request_spec.rb +64 -0
  164. data/fuse-ruby-openapi/spec/models/create_link_token_response_spec.rb +40 -0
  165. data/fuse-ruby-openapi/spec/models/create_session_request_mx_spec.rb +52 -0
  166. data/fuse-ruby-openapi/spec/models/create_session_request_plaid_spec.rb +34 -0
  167. data/fuse-ruby-openapi/spec/models/create_session_request_spec.rb +50 -0
  168. data/fuse-ruby-openapi/spec/models/create_session_response_spec.rb +46 -0
  169. data/fuse-ruby-openapi/spec/models/exchange_financial_connections_public_token_request_spec.rb +34 -0
  170. data/fuse-ruby-openapi/spec/models/exchange_financial_connections_public_token_response_spec.rb +46 -0
  171. data/fuse-ruby-openapi/spec/models/financial_connections_account_balance_spec.rb +52 -0
  172. data/fuse-ruby-openapi/spec/models/financial_connections_account_details_ach_spec.rb +52 -0
  173. data/fuse-ruby-openapi/spec/models/financial_connections_account_details_spec.rb +46 -0
  174. data/fuse-ruby-openapi/spec/models/financial_connections_account_institution_spec.rb +34 -0
  175. data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_all_of_aprs_spec.rb +40 -0
  176. data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_all_of_spec.rb +70 -0
  177. data/fuse-ruby-openapi/spec/models/financial_connections_account_liability_spec.rb +118 -0
  178. data/fuse-ruby-openapi/spec/models/financial_connections_account_spec.rb +76 -0
  179. data/fuse-ruby-openapi/spec/models/financial_connections_holding_spec.rb +58 -0
  180. data/fuse-ruby-openapi/spec/models/financial_connections_investment_account_spec.rb +76 -0
  181. data/fuse-ruby-openapi/spec/models/financial_connections_investment_security_spec.rb +58 -0
  182. data/fuse-ruby-openapi/spec/models/financial_connections_investment_transaction_data_inner_spec.rb +76 -0
  183. data/fuse-ruby-openapi/spec/models/financial_connections_investment_transaction_spec.rb +34 -0
  184. data/fuse-ruby-openapi/spec/models/financial_connections_owner_addresses_inner_data_spec.rb +58 -0
  185. data/fuse-ruby-openapi/spec/models/financial_connections_owner_addresses_inner_spec.rb +40 -0
  186. data/fuse-ruby-openapi/spec/models/financial_connections_owner_emails_inner_spec.rb +50 -0
  187. data/fuse-ruby-openapi/spec/models/financial_connections_owner_names_inner_spec.rb +40 -0
  188. data/fuse-ruby-openapi/spec/models/financial_connections_owner_phone_numbers_inner_spec.rb +50 -0
  189. data/fuse-ruby-openapi/spec/models/financial_connections_owner_spec.rb +52 -0
  190. data/fuse-ruby-openapi/spec/models/fuse_api_error_data_spec.rb +40 -0
  191. data/fuse-ruby-openapi/spec/models/fuse_api_error_spec.rb +68 -0
  192. data/fuse-ruby-openapi/spec/models/fuse_api_warning_data_spec.rb +40 -0
  193. data/fuse-ruby-openapi/spec/models/fuse_api_warning_spec.rb +68 -0
  194. data/fuse-ruby-openapi/spec/models/get_asset_report_request_spec.rb +34 -0
  195. data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_balances_spec.rb +46 -0
  196. data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_historical_balances_inner_spec.rb +46 -0
  197. data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_accounts_inner_spec.rb +52 -0
  198. data/fuse-ruby-openapi/spec/models/get_asset_report_response_report_spec.rb +64 -0
  199. data/fuse-ruby-openapi/spec/models/get_asset_report_response_spec.rb +34 -0
  200. data/fuse-ruby-openapi/spec/models/get_financial_connections_account_balance_response_spec.rb +34 -0
  201. data/fuse-ruby-openapi/spec/models/get_financial_connections_account_details_request_spec.rb +34 -0
  202. data/fuse-ruby-openapi/spec/models/get_financial_connections_account_details_response_spec.rb +34 -0
  203. data/fuse-ruby-openapi/spec/models/get_financial_connections_accounts_request_spec.rb +34 -0
  204. data/fuse-ruby-openapi/spec/models/get_financial_connections_accounts_response_spec.rb +34 -0
  205. data/fuse-ruby-openapi/spec/models/get_financial_connections_balance_request_spec.rb +34 -0
  206. data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_request_spec.rb +34 -0
  207. data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_response_accounts_inner_spec.rb +40 -0
  208. data/fuse-ruby-openapi/spec/models/get_financial_connections_owners_response_spec.rb +34 -0
  209. data/fuse-ruby-openapi/spec/models/get_investment_holdings_request_spec.rb +34 -0
  210. data/fuse-ruby-openapi/spec/models/get_investment_holdings_response_spec.rb +52 -0
  211. data/fuse-ruby-openapi/spec/models/get_investment_transactions_request_spec.rb +34 -0
  212. data/fuse-ruby-openapi/spec/models/get_investment_transactions_response_spec.rb +52 -0
  213. data/fuse-ruby-openapi/spec/models/get_liabilities_request_spec.rb +34 -0
  214. data/fuse-ruby-openapi/spec/models/get_liabilities_response_spec.rb +40 -0
  215. data/fuse-ruby-openapi/spec/models/get_transactions_request_spec.rb +46 -0
  216. data/fuse-ruby-openapi/spec/models/get_transactions_response_data_inner_merchant_spec.rb +34 -0
  217. data/fuse-ruby-openapi/spec/models/get_transactions_response_data_inner_spec.rb +94 -0
  218. data/fuse-ruby-openapi/spec/models/get_transactions_response_spec.rb +46 -0
  219. data/fuse-ruby-openapi/spec/models/sync_financial_connections_data_response_spec.rb +34 -0
  220. data/fuse-ruby-openapi/spec/models/sync_transactions_request_spec.rb +46 -0
  221. data/fuse-ruby-openapi/spec/models/sync_transactions_response_removed_inner_spec.rb +34 -0
  222. data/fuse-ruby-openapi/spec/models/sync_transactions_response_spec.rb +58 -0
  223. data/fuse-ruby-openapi/spec/models/transaction_common_model_spec.rb +34 -0
  224. data/fuse-ruby-openapi/spec/spec_helper.rb +111 -0
  225. data/generate-fuse-openapi-spec.js +136 -0
  226. metadata +307 -0
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::GetTransactionsRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::GetTransactionsRequest do
21
+ let(:instance) { FuseClient::GetTransactionsRequest.new }
22
+
23
+ describe 'test an instance of GetTransactionsRequest' do
24
+ it 'should create an instance of GetTransactionsRequest' do
25
+ expect(instance).to be_instance_of(FuseClient::GetTransactionsRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "access_token"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "cursor"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "count"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::GetTransactionsResponseDataInnerMerchant
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::GetTransactionsResponseDataInnerMerchant do
21
+ let(:instance) { FuseClient::GetTransactionsResponseDataInnerMerchant.new }
22
+
23
+ describe 'test an instance of GetTransactionsResponseDataInnerMerchant' do
24
+ it 'should create an instance of GetTransactionsResponseDataInnerMerchant' do
25
+ expect(instance).to be_instance_of(FuseClient::GetTransactionsResponseDataInnerMerchant)
26
+ end
27
+ end
28
+ describe 'test attribute "name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,94 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::GetTransactionsResponseDataInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::GetTransactionsResponseDataInner do
21
+ let(:instance) { FuseClient::GetTransactionsResponseDataInner.new }
22
+
23
+ describe 'test an instance of GetTransactionsResponseDataInner' do
24
+ it 'should create an instance of GetTransactionsResponseDataInner' do
25
+ expect(instance).to be_instance_of(FuseClient::GetTransactionsResponseDataInner)
26
+ end
27
+ end
28
+ describe 'test attribute "id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "remote_id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "remote_account_id"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "amount"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "date"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "description"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "category"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "merchant"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "status"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "type"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "remote_data"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::GetTransactionsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::GetTransactionsResponse do
21
+ let(:instance) { FuseClient::GetTransactionsResponse.new }
22
+
23
+ describe 'test an instance of GetTransactionsResponse' do
24
+ it 'should create an instance of GetTransactionsResponse' do
25
+ expect(instance).to be_instance_of(FuseClient::GetTransactionsResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "cursor"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "has_next"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::SyncFinancialConnectionsDataResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::SyncFinancialConnectionsDataResponse do
21
+ let(:instance) { FuseClient::SyncFinancialConnectionsDataResponse.new }
22
+
23
+ describe 'test an instance of SyncFinancialConnectionsDataResponse' do
24
+ it 'should create an instance of SyncFinancialConnectionsDataResponse' do
25
+ expect(instance).to be_instance_of(FuseClient::SyncFinancialConnectionsDataResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "message"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,46 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::SyncTransactionsRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::SyncTransactionsRequest do
21
+ let(:instance) { FuseClient::SyncTransactionsRequest.new }
22
+
23
+ describe 'test an instance of SyncTransactionsRequest' do
24
+ it 'should create an instance of SyncTransactionsRequest' do
25
+ expect(instance).to be_instance_of(FuseClient::SyncTransactionsRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "access_token"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "cursor"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "count"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::SyncTransactionsResponseRemovedInner
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::SyncTransactionsResponseRemovedInner do
21
+ let(:instance) { FuseClient::SyncTransactionsResponseRemovedInner.new }
22
+
23
+ describe 'test an instance of SyncTransactionsResponseRemovedInner' do
24
+ it 'should create an instance of SyncTransactionsResponseRemovedInner' do
25
+ expect(instance).to be_instance_of(FuseClient::SyncTransactionsResponseRemovedInner)
26
+ end
27
+ end
28
+ describe 'test attribute "transaction_id"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::SyncTransactionsResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::SyncTransactionsResponse do
21
+ let(:instance) { FuseClient::SyncTransactionsResponse.new }
22
+
23
+ describe 'test an instance of SyncTransactionsResponse' do
24
+ it 'should create an instance of SyncTransactionsResponse' do
25
+ expect(instance).to be_instance_of(FuseClient::SyncTransactionsResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "added"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "modified"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "removed"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "next_cursor"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "has_next"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for FuseClient::TransactionCommonModel
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe FuseClient::TransactionCommonModel do
21
+ let(:instance) { FuseClient::TransactionCommonModel.new }
22
+
23
+ describe 'test an instance of TransactionCommonModel' do
24
+ it 'should create an instance of TransactionCommonModel' do
25
+ expect(instance).to be_instance_of(FuseClient::TransactionCommonModel)
26
+ end
27
+ end
28
+ describe 'test attribute "data"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,111 @@
1
+ =begin
2
+ #Fuse
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: 1.0.0
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 6.2.1
10
+
11
+ =end
12
+
13
+ # load the gem
14
+ require 'fuse_client'
15
+
16
+ # The following was generated by the `rspec --init` command. Conventionally, all
17
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
18
+ # The generated `.rspec` file contains `--require spec_helper` which will cause
19
+ # this file to always be loaded, without a need to explicitly require it in any
20
+ # files.
21
+ #
22
+ # Given that it is always loaded, you are encouraged to keep this file as
23
+ # light-weight as possible. Requiring heavyweight dependencies from this file
24
+ # will add to the boot time of your test suite on EVERY test run, even for an
25
+ # individual file that may not need all of that loaded. Instead, consider making
26
+ # a separate helper file that requires the additional dependencies and performs
27
+ # the additional setup, and require it from the spec files that actually need
28
+ # it.
29
+ #
30
+ # The `.rspec` file also contains a few flags that are not defaults but that
31
+ # users commonly want.
32
+ #
33
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
34
+ RSpec.configure do |config|
35
+ # rspec-expectations config goes here. You can use an alternate
36
+ # assertion/expectation library such as wrong or the stdlib/minitest
37
+ # assertions if you prefer.
38
+ config.expect_with :rspec do |expectations|
39
+ # This option will default to `true` in RSpec 4. It makes the `description`
40
+ # and `failure_message` of custom matchers include text for helper methods
41
+ # defined using `chain`, e.g.:
42
+ # be_bigger_than(2).and_smaller_than(4).description
43
+ # # => "be bigger than 2 and smaller than 4"
44
+ # ...rather than:
45
+ # # => "be bigger than 2"
46
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
47
+ end
48
+
49
+ # rspec-mocks config goes here. You can use an alternate test double
50
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
51
+ config.mock_with :rspec do |mocks|
52
+ # Prevents you from mocking or stubbing a method that does not exist on
53
+ # a real object. This is generally recommended, and will default to
54
+ # `true` in RSpec 4.
55
+ mocks.verify_partial_doubles = true
56
+ end
57
+
58
+ # The settings below are suggested to provide a good initial experience
59
+ # with RSpec, but feel free to customize to your heart's content.
60
+ =begin
61
+ # These two settings work together to allow you to limit a spec run
62
+ # to individual examples or groups you care about by tagging them with
63
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
64
+ # get run.
65
+ config.filter_run :focus
66
+ config.run_all_when_everything_filtered = true
67
+
68
+ # Allows RSpec to persist some state between runs in order to support
69
+ # the `--only-failures` and `--next-failure` CLI options. We recommend
70
+ # you configure your source control system to ignore this file.
71
+ config.example_status_persistence_file_path = "spec/examples.txt"
72
+
73
+ # Limits the available syntax to the non-monkey patched syntax that is
74
+ # recommended. For more details, see:
75
+ # - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
76
+ # - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
77
+ # - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
78
+ config.disable_monkey_patching!
79
+
80
+ # This setting enables warnings. It's recommended, but in some cases may
81
+ # be too noisy due to issues in dependencies.
82
+ config.warnings = true
83
+
84
+ # Many RSpec users commonly either run the entire suite or an individual
85
+ # file, and it's useful to allow more verbose output when running an
86
+ # individual spec file.
87
+ if config.files_to_run.one?
88
+ # Use the documentation formatter for detailed output,
89
+ # unless a formatter has already been configured
90
+ # (e.g. via a command-line flag).
91
+ config.default_formatter = 'doc'
92
+ end
93
+
94
+ # Print the 10 slowest examples and example groups at the
95
+ # end of the spec run, to help surface which specs are running
96
+ # particularly slow.
97
+ config.profile_examples = 10
98
+
99
+ # Run specs in random order to surface order dependencies. If you find an
100
+ # order dependency and want to debug it, you can fix the order by providing
101
+ # the seed, which is printed after each run.
102
+ # --seed 1234
103
+ config.order = :random
104
+
105
+ # Seed global randomization in this process using the `--seed` CLI option.
106
+ # Setting this allows you to use `--seed` to deterministically reproduce
107
+ # test failures related to randomization by passing the same `--seed` value
108
+ # as the one that triggered the failure.
109
+ Kernel.srand config.seed
110
+ =end
111
+ end
@@ -0,0 +1,136 @@
1
+ const fs = require("fs");
2
+ const path = require("path");
3
+ const apiSpecsDirectory = "../";
4
+
5
+ const spec = {
6
+ openapi: "3.0.0",
7
+ info: {
8
+ title: "Fuse",
9
+ version: "1.0.0",
10
+ },
11
+ tags: [
12
+ {
13
+ name: "Fuse",
14
+ },
15
+ ],
16
+ servers: [
17
+ {
18
+ url: "https://yz9sph5c42.execute-api.us-east-1.amazonaws.com",
19
+ description: "sandbox",
20
+ },
21
+ ],
22
+ security: [
23
+ {
24
+ fuseApiKey: [],
25
+ },
26
+ {
27
+ fuseClientId: [],
28
+ },
29
+ ],
30
+ paths: {},
31
+ components: {
32
+ securitySchemes: {
33
+ fuseApiKey: {
34
+ type: "apiKey",
35
+ name: "Fuse-Api-Key",
36
+ in: "header",
37
+ },
38
+ fuseClientId: {
39
+ type: "apiKey",
40
+ name: "Fuse-Client-Id",
41
+ in: "header",
42
+ },
43
+ plaidClientId: {
44
+ type: "apiKey",
45
+ name: "Plaid-Client-Id",
46
+ in: "header",
47
+ },
48
+ plaidSecret: {
49
+ type: "apiKey",
50
+ name: "Plaid-Secret",
51
+ in: "header",
52
+ },
53
+ tellerApplicationId: {
54
+ type: "apiKey",
55
+ name: "Teller-Application-Id",
56
+ in: "header",
57
+ },
58
+ tellerCertificate: {
59
+ type: "apiKey",
60
+ name: "Teller-Certificate",
61
+ in: "header",
62
+ },
63
+ tellerPrivateKey: {
64
+ type: "apiKey",
65
+ name: "Teller-Private-Key",
66
+ in: "header",
67
+ },
68
+ tellerTokenSigningKey: {
69
+ type: "apiKey",
70
+ name: "Teller-Token-Signing-Key",
71
+ in: "header",
72
+ },
73
+ tellerSigningSecret: {
74
+ type: "apiKey",
75
+ name: "Teller-Signing-Secret",
76
+ in: "header",
77
+ },
78
+ mxClientId: {
79
+ type: "apiKey",
80
+ name: "Mx-Client-Id",
81
+ in: "header",
82
+ },
83
+ mxApiKey: {
84
+ type: "apiKey",
85
+ name: "Mx-Api-Key",
86
+ in: "header",
87
+ },
88
+ },
89
+ schemas: {},
90
+ },
91
+ };
92
+
93
+ const files = fs.readdirSync(apiSpecsDirectory);
94
+ const finalPathsObj = {};
95
+ const finalSchemaObj = {};
96
+
97
+ function addComponentSchema(spec, target) {
98
+ const curSpecSchemas = spec["components"]["schemas"];
99
+ for (const curSchemaKey of Object.keys(curSpecSchemas)) {
100
+ const curSchemaObj = curSpecSchemas[curSchemaKey];
101
+ finalSchemaObj[curSchemaKey] = JSON.parse(JSON.stringify(curSchemaObj));
102
+ }
103
+ }
104
+
105
+ const commonSpec = JSON.parse(
106
+ fs.readFileSync(path.join(apiSpecsDirectory, "Common.json"), "utf8")
107
+ );
108
+ addComponentSchema(commonSpec, finalSchemaObj);
109
+
110
+ for (const curFile of files) {
111
+ if (!curFile.endsWith(".json") || curFile === "Common.json") {
112
+ continue;
113
+ }
114
+ const curSpec = JSON.parse(
115
+ fs.readFileSync(path.join(apiSpecsDirectory, curFile), "utf8")
116
+ );
117
+
118
+ //Add paths to finalPathsObj
119
+ const curSpecPaths = curSpec["paths"];
120
+ for (const curPathKey of Object.keys(curSpecPaths)) {
121
+ const curPathObj = curSpecPaths[curPathKey];
122
+ const curPathObjDeepCopy = JSON.parse(JSON.stringify(curPathObj));
123
+ curPathObjDeepCopy["post"]["tags"] = ["Fuse"];
124
+ delete curPathObjDeepCopy["post"]["parameters"];
125
+ finalPathsObj[curPathKey] = curPathObjDeepCopy;
126
+ }
127
+
128
+ addComponentSchema(curSpec, finalSchemaObj);
129
+ }
130
+
131
+ spec.paths = finalPathsObj;
132
+ spec.components.schemas = finalSchemaObj;
133
+ const finalSpec = JSON.parse(
134
+ JSON.stringify(spec).replaceAll("waterloo/Common.json", "")
135
+ );
136
+ fs.writeFileSync("2023-01-25.json", JSON.stringify(finalSpec, null, 4));