budgea_client 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (284) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +12 -0
  3. data/Gemfile.lock +89 -0
  4. data/README.md +619 -0
  5. data/Rakefile +13 -0
  6. data/budgea_client.gemspec +35 -0
  7. data/docs/Access.md +12 -0
  8. data/docs/Account.md +25 -0
  9. data/docs/AccountLog.md +15 -0
  10. data/docs/AccountType.md +15 -0
  11. data/docs/AdministrationApi.md +944 -0
  12. data/docs/Alert.md +15 -0
  13. data/docs/AuthenticationApi.md +398 -0
  14. data/docs/Bank.md +18 -0
  15. data/docs/BankCategory.md +9 -0
  16. data/docs/BanksApi.md +6558 -0
  17. data/docs/Category.md +17 -0
  18. data/docs/Client.md +18 -0
  19. data/docs/Connection.md +16 -0
  20. data/docs/ConnectionContact.md +17 -0
  21. data/docs/ConnectionLog.md +21 -0
  22. data/docs/ConnectionsApi.md +934 -0
  23. data/docs/ConnectorLogo.md +11 -0
  24. data/docs/Currency.md +10 -0
  25. data/docs/Device.md +14 -0
  26. data/docs/Document.md +29 -0
  27. data/docs/DocumentType.md +10 -0
  28. data/docs/DocumentsApi.md +5228 -0
  29. data/docs/Field.md +15 -0
  30. data/docs/File.md +11 -0
  31. data/docs/Group.md +15 -0
  32. data/docs/HashTable.md +11 -0
  33. data/docs/InlineResponse200.md +8 -0
  34. data/docs/InlineResponse2001.md +9 -0
  35. data/docs/InlineResponse20010.md +8 -0
  36. data/docs/InlineResponse20011.md +8 -0
  37. data/docs/InlineResponse20012.md +8 -0
  38. data/docs/InlineResponse20013.md +8 -0
  39. data/docs/InlineResponse20014.md +8 -0
  40. data/docs/InlineResponse20015.md +8 -0
  41. data/docs/InlineResponse20016.md +8 -0
  42. data/docs/InlineResponse20017.md +8 -0
  43. data/docs/InlineResponse20018.md +8 -0
  44. data/docs/InlineResponse20019.md +8 -0
  45. data/docs/InlineResponse2002.md +10 -0
  46. data/docs/InlineResponse20020.md +8 -0
  47. data/docs/InlineResponse20021.md +8 -0
  48. data/docs/InlineResponse20022.md +8 -0
  49. data/docs/InlineResponse20023.md +8 -0
  50. data/docs/InlineResponse20024.md +8 -0
  51. data/docs/InlineResponse20025.md +8 -0
  52. data/docs/InlineResponse20026.md +8 -0
  53. data/docs/InlineResponse20027.md +8 -0
  54. data/docs/InlineResponse20028.md +8 -0
  55. data/docs/InlineResponse20029.md +8 -0
  56. data/docs/InlineResponse2003.md +10 -0
  57. data/docs/InlineResponse20030.md +8 -0
  58. data/docs/InlineResponse20031.md +8 -0
  59. data/docs/InlineResponse20032.md +8 -0
  60. data/docs/InlineResponse20033.md +8 -0
  61. data/docs/InlineResponse2004.md +12 -0
  62. data/docs/InlineResponse2005.md +9 -0
  63. data/docs/InlineResponse2006.md +10 -0
  64. data/docs/InlineResponse2007.md +8 -0
  65. data/docs/InlineResponse2008.md +8 -0
  66. data/docs/InlineResponse2009.md +8 -0
  67. data/docs/Investment.md +32 -0
  68. data/docs/InvestmentValue.md +13 -0
  69. data/docs/Invite.md +13 -0
  70. data/docs/LockedUser.md +10 -0
  71. data/docs/OCRApi.md +117 -0
  72. data/docs/OIDCApi.md +167 -0
  73. data/docs/OidcWhitelist.md +9 -0
  74. data/docs/PFMApi.md +2204 -0
  75. data/docs/Pocket.md +17 -0
  76. data/docs/Profile.md +15 -0
  77. data/docs/Project.md +16 -0
  78. data/docs/ProjectType.md +10 -0
  79. data/docs/ProvidersApi.md +7014 -0
  80. data/docs/Recipient.md +22 -0
  81. data/docs/RecipientsApi.md +244 -0
  82. data/docs/Security.md +12 -0
  83. data/docs/Subscription.md +18 -0
  84. data/docs/TermsApi.md +218 -0
  85. data/docs/TermsOfService.md +12 -0
  86. data/docs/Transaction.md +33 -0
  87. data/docs/TransactionInformation.md +11 -0
  88. data/docs/TransactionsCluster.md +16 -0
  89. data/docs/Transfer.md +23 -0
  90. data/docs/TransfersApi.md +2404 -0
  91. data/docs/User.md +10 -0
  92. data/docs/UserAlert.md +21 -0
  93. data/docs/UsersManagementApi.md +608 -0
  94. data/docs/WealthApi.md +828 -0
  95. data/docs/Webhook.md +15 -0
  96. data/git_push.sh +55 -0
  97. data/lib/budgea_client.rb +118 -0
  98. data/lib/budgea_client/api/administration_api.rb +1059 -0
  99. data/lib/budgea_client/api/authentication_api.rb +467 -0
  100. data/lib/budgea_client/api/banks_api.rb +7837 -0
  101. data/lib/budgea_client/api/connections_api.rb +1088 -0
  102. data/lib/budgea_client/api/documents_api.rb +6637 -0
  103. data/lib/budgea_client/api/ocr_api.rb +141 -0
  104. data/lib/budgea_client/api/oidc_api.rb +195 -0
  105. data/lib/budgea_client/api/pfm_api.rb +2630 -0
  106. data/lib/budgea_client/api/providers_api.rb +8694 -0
  107. data/lib/budgea_client/api/recipients_api.rb +293 -0
  108. data/lib/budgea_client/api/terms_api.rb +245 -0
  109. data/lib/budgea_client/api/transfers_api.rb +2941 -0
  110. data/lib/budgea_client/api/users_management_api.rb +695 -0
  111. data/lib/budgea_client/api/wealth_api.rb +994 -0
  112. data/lib/budgea_client/api_client.rb +378 -0
  113. data/lib/budgea_client/api_error.rb +28 -0
  114. data/lib/budgea_client/configuration.rb +192 -0
  115. data/lib/budgea_client/models/access.rb +224 -0
  116. data/lib/budgea_client/models/account.rb +383 -0
  117. data/lib/budgea_client/models/account_log.rb +266 -0
  118. data/lib/budgea_client/models/account_type.rb +281 -0
  119. data/lib/budgea_client/models/alert.rb +273 -0
  120. data/lib/budgea_client/models/bank.rb +308 -0
  121. data/lib/budgea_client/models/bank_category.rb +201 -0
  122. data/lib/budgea_client/models/category.rb +299 -0
  123. data/lib/budgea_client/models/client.rb +305 -0
  124. data/lib/budgea_client/models/connection.rb +276 -0
  125. data/lib/budgea_client/models/connection_contact.rb +274 -0
  126. data/lib/budgea_client/models/connection_log.rb +324 -0
  127. data/lib/budgea_client/models/connector_logo.rb +223 -0
  128. data/lib/budgea_client/models/currency.rb +216 -0
  129. data/lib/budgea_client/models/device.rb +269 -0
  130. data/lib/budgea_client/models/document.rb +398 -0
  131. data/lib/budgea_client/models/document_type.rb +213 -0
  132. data/lib/budgea_client/models/field.rb +273 -0
  133. data/lib/budgea_client/models/file.rb +225 -0
  134. data/lib/budgea_client/models/group.rb +246 -0
  135. data/lib/budgea_client/models/hash_table.rb +227 -0
  136. data/lib/budgea_client/models/inline_response_200.rb +185 -0
  137. data/lib/budgea_client/models/inline_response_200_1.rb +199 -0
  138. data/lib/budgea_client/models/inline_response_200_10.rb +185 -0
  139. data/lib/budgea_client/models/inline_response_200_11.rb +185 -0
  140. data/lib/budgea_client/models/inline_response_200_12.rb +185 -0
  141. data/lib/budgea_client/models/inline_response_200_13.rb +185 -0
  142. data/lib/budgea_client/models/inline_response_200_14.rb +185 -0
  143. data/lib/budgea_client/models/inline_response_200_15.rb +185 -0
  144. data/lib/budgea_client/models/inline_response_200_16.rb +185 -0
  145. data/lib/budgea_client/models/inline_response_200_17.rb +185 -0
  146. data/lib/budgea_client/models/inline_response_200_18.rb +185 -0
  147. data/lib/budgea_client/models/inline_response_200_19.rb +185 -0
  148. data/lib/budgea_client/models/inline_response_200_2.rb +209 -0
  149. data/lib/budgea_client/models/inline_response_200_20.rb +185 -0
  150. data/lib/budgea_client/models/inline_response_200_21.rb +185 -0
  151. data/lib/budgea_client/models/inline_response_200_22.rb +185 -0
  152. data/lib/budgea_client/models/inline_response_200_23.rb +185 -0
  153. data/lib/budgea_client/models/inline_response_200_24.rb +185 -0
  154. data/lib/budgea_client/models/inline_response_200_25.rb +185 -0
  155. data/lib/budgea_client/models/inline_response_200_26.rb +185 -0
  156. data/lib/budgea_client/models/inline_response_200_27.rb +185 -0
  157. data/lib/budgea_client/models/inline_response_200_28.rb +185 -0
  158. data/lib/budgea_client/models/inline_response_200_29.rb +185 -0
  159. data/lib/budgea_client/models/inline_response_200_3.rb +214 -0
  160. data/lib/budgea_client/models/inline_response_200_30.rb +185 -0
  161. data/lib/budgea_client/models/inline_response_200_31.rb +185 -0
  162. data/lib/budgea_client/models/inline_response_200_32.rb +185 -0
  163. data/lib/budgea_client/models/inline_response_200_33.rb +185 -0
  164. data/lib/budgea_client/models/inline_response_200_4.rb +239 -0
  165. data/lib/budgea_client/models/inline_response_200_5.rb +199 -0
  166. data/lib/budgea_client/models/inline_response_200_6.rb +214 -0
  167. data/lib/budgea_client/models/inline_response_200_7.rb +185 -0
  168. data/lib/budgea_client/models/inline_response_200_8.rb +185 -0
  169. data/lib/budgea_client/models/inline_response_200_9.rb +185 -0
  170. data/lib/budgea_client/models/investment.rb +449 -0
  171. data/lib/budgea_client/models/investment_value.rb +249 -0
  172. data/lib/budgea_client/models/invite.rb +233 -0
  173. data/lib/budgea_client/models/locked_user.rb +206 -0
  174. data/lib/budgea_client/models/oidc_whitelist.rb +198 -0
  175. data/lib/budgea_client/models/pocket.rb +298 -0
  176. data/lib/budgea_client/models/profile.rb +308 -0
  177. data/lib/budgea_client/models/project.rb +301 -0
  178. data/lib/budgea_client/models/project_type.rb +206 -0
  179. data/lib/budgea_client/models/recipient.rb +343 -0
  180. data/lib/budgea_client/models/security.rb +229 -0
  181. data/lib/budgea_client/models/subscription.rb +299 -0
  182. data/lib/budgea_client/models/terms_of_service.rb +229 -0
  183. data/lib/budgea_client/models/transaction.rb +507 -0
  184. data/lib/budgea_client/models/transaction_information.rb +224 -0
  185. data/lib/budgea_client/models/transactions_cluster.rb +277 -0
  186. data/lib/budgea_client/models/transfer.rb +354 -0
  187. data/lib/budgea_client/models/user.rb +244 -0
  188. data/lib/budgea_client/models/user_alert.rb +333 -0
  189. data/lib/budgea_client/models/webhook.rb +264 -0
  190. data/lib/budgea_client/version.rb +5 -0
  191. data/pkg/budgea_client-1.0.0.gem +0 -0
  192. data/spec/api/administration_api_spec.rb +271 -0
  193. data/spec/api/authentication_api_spec.rb +126 -0
  194. data/spec/api/banks_api_spec.rb +1787 -0
  195. data/spec/api/connections_api_spec.rb +279 -0
  196. data/spec/api/documents_api_spec.rb +1557 -0
  197. data/spec/api/ocr_api_spec.rb +54 -0
  198. data/spec/api/oidc_api_spec.rb +65 -0
  199. data/spec/api/pfm_api_spec.rb +613 -0
  200. data/spec/api/providers_api_spec.rb +2029 -0
  201. data/spec/api/recipients_api_spec.rb +89 -0
  202. data/spec/api/terms_api_spec.rb +79 -0
  203. data/spec/api/transfers_api_spec.rb +661 -0
  204. data/spec/api/users_management_api_spec.rb +177 -0
  205. data/spec/api/wealth_api_spec.rb +246 -0
  206. data/spec/api_client_spec.rb +216 -0
  207. data/spec/configuration_spec.rb +32 -0
  208. data/spec/models/access_spec.rb +56 -0
  209. data/spec/models/account_log_spec.rb +74 -0
  210. data/spec/models/account_spec.rb +134 -0
  211. data/spec/models/account_type_spec.rb +74 -0
  212. data/spec/models/alert_spec.rb +74 -0
  213. data/spec/models/bank_category_spec.rb +38 -0
  214. data/spec/models/bank_spec.rb +92 -0
  215. data/spec/models/category_spec.rb +86 -0
  216. data/spec/models/client_spec.rb +92 -0
  217. data/spec/models/connection_contact_spec.rb +86 -0
  218. data/spec/models/connection_log_spec.rb +110 -0
  219. data/spec/models/connection_spec.rb +80 -0
  220. data/spec/models/connector_logo_spec.rb +50 -0
  221. data/spec/models/currency_spec.rb +44 -0
  222. data/spec/models/device_spec.rb +68 -0
  223. data/spec/models/document_spec.rb +158 -0
  224. data/spec/models/document_type_spec.rb +44 -0
  225. data/spec/models/field_spec.rb +74 -0
  226. data/spec/models/file_spec.rb +50 -0
  227. data/spec/models/group_spec.rb +74 -0
  228. data/spec/models/hash_table_spec.rb +50 -0
  229. data/spec/models/inline_response_200_10_spec.rb +32 -0
  230. data/spec/models/inline_response_200_11_spec.rb +32 -0
  231. data/spec/models/inline_response_200_12_spec.rb +32 -0
  232. data/spec/models/inline_response_200_13_spec.rb +32 -0
  233. data/spec/models/inline_response_200_14_spec.rb +32 -0
  234. data/spec/models/inline_response_200_15_spec.rb +32 -0
  235. data/spec/models/inline_response_200_16_spec.rb +32 -0
  236. data/spec/models/inline_response_200_17_spec.rb +32 -0
  237. data/spec/models/inline_response_200_18_spec.rb +32 -0
  238. data/spec/models/inline_response_200_19_spec.rb +32 -0
  239. data/spec/models/inline_response_200_1_spec.rb +38 -0
  240. data/spec/models/inline_response_200_20_spec.rb +32 -0
  241. data/spec/models/inline_response_200_21_spec.rb +32 -0
  242. data/spec/models/inline_response_200_22_spec.rb +32 -0
  243. data/spec/models/inline_response_200_23_spec.rb +32 -0
  244. data/spec/models/inline_response_200_24_spec.rb +32 -0
  245. data/spec/models/inline_response_200_25_spec.rb +32 -0
  246. data/spec/models/inline_response_200_26_spec.rb +32 -0
  247. data/spec/models/inline_response_200_27_spec.rb +32 -0
  248. data/spec/models/inline_response_200_28_spec.rb +32 -0
  249. data/spec/models/inline_response_200_29_spec.rb +32 -0
  250. data/spec/models/inline_response_200_2_spec.rb +44 -0
  251. data/spec/models/inline_response_200_30_spec.rb +32 -0
  252. data/spec/models/inline_response_200_31_spec.rb +32 -0
  253. data/spec/models/inline_response_200_32_spec.rb +32 -0
  254. data/spec/models/inline_response_200_33_spec.rb +32 -0
  255. data/spec/models/inline_response_200_3_spec.rb +44 -0
  256. data/spec/models/inline_response_200_4_spec.rb +56 -0
  257. data/spec/models/inline_response_200_5_spec.rb +38 -0
  258. data/spec/models/inline_response_200_6_spec.rb +44 -0
  259. data/spec/models/inline_response_200_7_spec.rb +32 -0
  260. data/spec/models/inline_response_200_8_spec.rb +32 -0
  261. data/spec/models/inline_response_200_9_spec.rb +32 -0
  262. data/spec/models/inline_response_200_spec.rb +32 -0
  263. data/spec/models/investment_spec.rb +176 -0
  264. data/spec/models/investment_value_spec.rb +62 -0
  265. data/spec/models/invite_spec.rb +62 -0
  266. data/spec/models/locked_user_spec.rb +44 -0
  267. data/spec/models/oidc_whitelist_spec.rb +38 -0
  268. data/spec/models/pocket_spec.rb +86 -0
  269. data/spec/models/profile_spec.rb +78 -0
  270. data/spec/models/project_spec.rb +80 -0
  271. data/spec/models/project_type_spec.rb +44 -0
  272. data/spec/models/recipient_spec.rb +116 -0
  273. data/spec/models/security_spec.rb +56 -0
  274. data/spec/models/subscription_spec.rb +92 -0
  275. data/spec/models/terms_of_service_spec.rb +56 -0
  276. data/spec/models/transaction_information_spec.rb +50 -0
  277. data/spec/models/transaction_spec.rb +182 -0
  278. data/spec/models/transactions_cluster_spec.rb +80 -0
  279. data/spec/models/transfer_spec.rb +122 -0
  280. data/spec/models/user_alert_spec.rb +110 -0
  281. data/spec/models/user_spec.rb +48 -0
  282. data/spec/models/webhook_spec.rb +74 -0
  283. data/spec/spec_helper.rb +51 -0
  284. metadata +599 -0
@@ -0,0 +1,15 @@
1
+ # BudgeaClient::Webhook
2
+
3
+ ## Properties
4
+ Name | Type | Description | Notes
5
+ ------------ | ------------- | ------------- | -------------
6
+ **id** | **Integer** | ID of the webhook |
7
+ **created** | **DateTime** | Date of the webhook creation |
8
+ **updated** | **DateTime** | Date of the webhook last update |
9
+ **deleted** | **DateTime** | Date of the webhook deletion | [optional]
10
+ **id_service** | **Integer** | ID of the service | [optional]
11
+ **id_user** | **Integer** | ID of the emitter user | [optional]
12
+ **id_event** | **Integer** | ID of the webhook event | [optional]
13
+ **url** | **String** | URL of the webhook | [optional]
14
+
15
+
@@ -0,0 +1,55 @@
1
+ #!/bin/sh
2
+ #
3
+ # Generated by: https://github.com/swagger-api/swagger-codegen.git
4
+ #
5
+ # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
6
+ #
7
+ # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
8
+
9
+ git_user_id=$1
10
+ git_repo_id=$2
11
+ release_note=$3
12
+
13
+ if [ "$git_user_id" = "" ]; then
14
+ git_user_id="GIT_USER_ID"
15
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
16
+ fi
17
+
18
+ if [ "$git_repo_id" = "" ]; then
19
+ git_repo_id="GIT_REPO_ID"
20
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
21
+ fi
22
+
23
+ if [ "$release_note" = "" ]; then
24
+ release_note="Minor update"
25
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
26
+ fi
27
+
28
+ # Initialize the local directory as a Git repository
29
+ git init
30
+
31
+ # Adds the files in the local repository and stages them for commit.
32
+ git add .
33
+
34
+ # Commits the tracked changes and prepares them to be pushed to a remote repository.
35
+ git commit -m "$release_note"
36
+
37
+ # Sets the new remote
38
+ git_remote=`git remote`
39
+ if [ "$git_remote" = "" ]; then # git remote not defined
40
+
41
+ if [ "$GIT_TOKEN" = "" ]; then
42
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
43
+ git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
44
+ else
45
+ git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
46
+ fi
47
+
48
+ fi
49
+
50
+ git pull origin master
51
+
52
+ # Pushes (Forces) the changes in the local repository up to the remote repository
53
+ echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
54
+ git push origin master 2>&1 | grep -v 'To https'
55
+
@@ -0,0 +1,118 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Common files
4
+ require 'budgea_client/api_client'
5
+ require 'budgea_client/api_error'
6
+ require 'budgea_client/version'
7
+ require 'budgea_client/configuration'
8
+
9
+ # Models
10
+ require 'budgea_client/models/access'
11
+ require 'budgea_client/models/account'
12
+ require 'budgea_client/models/account_log'
13
+ require 'budgea_client/models/account_type'
14
+ require 'budgea_client/models/alert'
15
+ require 'budgea_client/models/bank'
16
+ require 'budgea_client/models/bank_category'
17
+ require 'budgea_client/models/category'
18
+ require 'budgea_client/models/client'
19
+ require 'budgea_client/models/connection'
20
+ require 'budgea_client/models/connection_contact'
21
+ require 'budgea_client/models/connection_log'
22
+ require 'budgea_client/models/connector_logo'
23
+ require 'budgea_client/models/currency'
24
+ require 'budgea_client/models/device'
25
+ require 'budgea_client/models/document'
26
+ require 'budgea_client/models/document_type'
27
+ require 'budgea_client/models/field'
28
+ require 'budgea_client/models/file'
29
+ require 'budgea_client/models/group'
30
+ require 'budgea_client/models/hash_table'
31
+ require 'budgea_client/models/inline_response_200'
32
+ require 'budgea_client/models/inline_response_200_1'
33
+ require 'budgea_client/models/inline_response_200_10'
34
+ require 'budgea_client/models/inline_response_200_11'
35
+ require 'budgea_client/models/inline_response_200_12'
36
+ require 'budgea_client/models/inline_response_200_13'
37
+ require 'budgea_client/models/inline_response_200_14'
38
+ require 'budgea_client/models/inline_response_200_15'
39
+ require 'budgea_client/models/inline_response_200_16'
40
+ require 'budgea_client/models/inline_response_200_17'
41
+ require 'budgea_client/models/inline_response_200_18'
42
+ require 'budgea_client/models/inline_response_200_19'
43
+ require 'budgea_client/models/inline_response_200_2'
44
+ require 'budgea_client/models/inline_response_200_20'
45
+ require 'budgea_client/models/inline_response_200_21'
46
+ require 'budgea_client/models/inline_response_200_22'
47
+ require 'budgea_client/models/inline_response_200_23'
48
+ require 'budgea_client/models/inline_response_200_24'
49
+ require 'budgea_client/models/inline_response_200_25'
50
+ require 'budgea_client/models/inline_response_200_26'
51
+ require 'budgea_client/models/inline_response_200_27'
52
+ require 'budgea_client/models/inline_response_200_28'
53
+ require 'budgea_client/models/inline_response_200_29'
54
+ require 'budgea_client/models/inline_response_200_3'
55
+ require 'budgea_client/models/inline_response_200_30'
56
+ require 'budgea_client/models/inline_response_200_31'
57
+ require 'budgea_client/models/inline_response_200_32'
58
+ require 'budgea_client/models/inline_response_200_33'
59
+ require 'budgea_client/models/inline_response_200_4'
60
+ require 'budgea_client/models/inline_response_200_5'
61
+ require 'budgea_client/models/inline_response_200_6'
62
+ require 'budgea_client/models/inline_response_200_7'
63
+ require 'budgea_client/models/inline_response_200_8'
64
+ require 'budgea_client/models/inline_response_200_9'
65
+ require 'budgea_client/models/investment'
66
+ require 'budgea_client/models/investment_value'
67
+ require 'budgea_client/models/invite'
68
+ require 'budgea_client/models/locked_user'
69
+ require 'budgea_client/models/oidc_whitelist'
70
+ require 'budgea_client/models/pocket'
71
+ require 'budgea_client/models/profile'
72
+ require 'budgea_client/models/project'
73
+ require 'budgea_client/models/project_type'
74
+ require 'budgea_client/models/recipient'
75
+ require 'budgea_client/models/security'
76
+ require 'budgea_client/models/subscription'
77
+ require 'budgea_client/models/terms_of_service'
78
+ require 'budgea_client/models/transaction'
79
+ require 'budgea_client/models/transaction_information'
80
+ require 'budgea_client/models/transactions_cluster'
81
+ require 'budgea_client/models/transfer'
82
+ require 'budgea_client/models/user'
83
+ require 'budgea_client/models/user_alert'
84
+ require 'budgea_client/models/webhook'
85
+
86
+ # APIs
87
+ require 'budgea_client/api/administration_api'
88
+ require 'budgea_client/api/authentication_api'
89
+ require 'budgea_client/api/banks_api'
90
+ require 'budgea_client/api/connections_api'
91
+ require 'budgea_client/api/documents_api'
92
+ require 'budgea_client/api/ocr_api'
93
+ require 'budgea_client/api/oidc_api'
94
+ require 'budgea_client/api/pfm_api'
95
+ require 'budgea_client/api/providers_api'
96
+ require 'budgea_client/api/recipients_api'
97
+ require 'budgea_client/api/terms_api'
98
+ require 'budgea_client/api/transfers_api'
99
+ require 'budgea_client/api/users_management_api'
100
+ require 'budgea_client/api/wealth_api'
101
+
102
+ module BudgeaClient
103
+ class << self
104
+ # Customize default settings for the SDK using block.
105
+ # BudgeaClient.configure do |config|
106
+ # config.username = "xxx"
107
+ # config.password = "xxx"
108
+ # end
109
+ # If no block given, return the default Configuration object.
110
+ def configure
111
+ if block_given?
112
+ yield(Configuration.default)
113
+ else
114
+ Configuration.default
115
+ end
116
+ end
117
+ end
118
+ end
@@ -0,0 +1,1059 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "uri"
4
+
5
+ module BudgeaClient
6
+ class AdministrationApi
7
+ attr_accessor :api_client
8
+
9
+ def initialize(api_client = ApiClient.default)
10
+ @api_client = api_client
11
+ end
12
+
13
+ # List clients
14
+ #
15
+ # @param [Hash] opts the optional parameters
16
+ # @option opts [String] :expand
17
+ # @return [InlineResponse20011]
18
+ def clients_get(opts = {})
19
+ data, _status_code, _headers = clients_get_with_http_info(opts)
20
+ return data
21
+ end
22
+
23
+ # List clients
24
+ #
25
+ # @param [Hash] opts the optional parameters
26
+ # @option opts [String] :expand
27
+ # @return [Array<(InlineResponse20011, Fixnum, Hash)>] InlineResponse20011 data, response status code and response headers
28
+ def clients_get_with_http_info(opts = {})
29
+ if @api_client.config.debugging
30
+ @api_client.config.logger.debug "Calling API: AdministrationApi.clients_get ..."
31
+ end
32
+ # resource path
33
+ local_var_path = "/clients"
34
+
35
+ # query parameters
36
+ query_params = {}
37
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
38
+
39
+ # header parameters
40
+ header_params = {}
41
+ # HTTP header 'Accept' (if needed)
42
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
43
+ # HTTP header 'Content-Type'
44
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
45
+
46
+ # form parameters
47
+ form_params = {}
48
+
49
+ # http body (model)
50
+ post_body = nil
51
+ auth_names = []
52
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
53
+ :header_params => header_params,
54
+ :query_params => query_params,
55
+ :form_params => form_params,
56
+ :body => post_body,
57
+ :auth_names => auth_names,
58
+ :return_type => 'InlineResponse20011')
59
+ if @api_client.config.debugging
60
+ @api_client.config.logger.debug "API called: AdministrationApi#clients_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
61
+ end
62
+ return data, status_code, headers
63
+ end
64
+
65
+ # Delete a client
66
+ #
67
+ # @param id_client
68
+ # @param [Hash] opts the optional parameters
69
+ # @option opts [String] :expand
70
+ # @return [Client]
71
+ def clients_id_client_delete(id_client, opts = {})
72
+ data, _status_code, _headers = clients_id_client_delete_with_http_info(id_client, opts)
73
+ return data
74
+ end
75
+
76
+ # Delete a client
77
+ #
78
+ # @param id_client
79
+ # @param [Hash] opts the optional parameters
80
+ # @option opts [String] :expand
81
+ # @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers
82
+ def clients_id_client_delete_with_http_info(id_client, opts = {})
83
+ if @api_client.config.debugging
84
+ @api_client.config.logger.debug "Calling API: AdministrationApi.clients_id_client_delete ..."
85
+ end
86
+ # verify the required parameter 'id_client' is set
87
+ if @api_client.config.client_side_validation && id_client.nil?
88
+ fail ArgumentError, "Missing the required parameter 'id_client' when calling AdministrationApi.clients_id_client_delete"
89
+ end
90
+ # resource path
91
+ local_var_path = "/clients/{id_client}".sub('{' + 'id_client' + '}', id_client.to_s)
92
+
93
+ # query parameters
94
+ query_params = {}
95
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
96
+
97
+ # header parameters
98
+ header_params = {}
99
+ # HTTP header 'Accept' (if needed)
100
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
101
+ # HTTP header 'Content-Type'
102
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
103
+
104
+ # form parameters
105
+ form_params = {}
106
+
107
+ # http body (model)
108
+ post_body = nil
109
+ auth_names = []
110
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
111
+ :header_params => header_params,
112
+ :query_params => query_params,
113
+ :form_params => form_params,
114
+ :body => post_body,
115
+ :auth_names => auth_names,
116
+ :return_type => 'Client')
117
+ if @api_client.config.debugging
118
+ @api_client.config.logger.debug "API called: AdministrationApi#clients_id_client_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
119
+ end
120
+ return data, status_code, headers
121
+ end
122
+
123
+ # Get information about a client
124
+ # If you use the manage_token, you will get also the client_secret.<br><br>
125
+ # @param id_client
126
+ # @param [Hash] opts the optional parameters
127
+ # @option opts [String] :expand
128
+ # @return [Client]
129
+ def clients_id_client_get(id_client, opts = {})
130
+ data, _status_code, _headers = clients_id_client_get_with_http_info(id_client, opts)
131
+ return data
132
+ end
133
+
134
+ # Get information about a client
135
+ # If you use the manage_token, you will get also the client_secret.&lt;br&gt;&lt;br&gt;
136
+ # @param id_client
137
+ # @param [Hash] opts the optional parameters
138
+ # @option opts [String] :expand
139
+ # @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers
140
+ def clients_id_client_get_with_http_info(id_client, opts = {})
141
+ if @api_client.config.debugging
142
+ @api_client.config.logger.debug "Calling API: AdministrationApi.clients_id_client_get ..."
143
+ end
144
+ # verify the required parameter 'id_client' is set
145
+ if @api_client.config.client_side_validation && id_client.nil?
146
+ fail ArgumentError, "Missing the required parameter 'id_client' when calling AdministrationApi.clients_id_client_get"
147
+ end
148
+ # resource path
149
+ local_var_path = "/clients/{id_client}".sub('{' + 'id_client' + '}', id_client.to_s)
150
+
151
+ # query parameters
152
+ query_params = {}
153
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
154
+
155
+ # header parameters
156
+ header_params = {}
157
+ # HTTP header 'Accept' (if needed)
158
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
159
+ # HTTP header 'Content-Type'
160
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
161
+
162
+ # form parameters
163
+ form_params = {}
164
+
165
+ # http body (model)
166
+ post_body = nil
167
+ auth_names = []
168
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
169
+ :header_params => header_params,
170
+ :query_params => query_params,
171
+ :form_params => form_params,
172
+ :body => post_body,
173
+ :auth_names => auth_names,
174
+ :return_type => 'Client')
175
+ if @api_client.config.debugging
176
+ @api_client.config.logger.debug "API called: AdministrationApi#clients_id_client_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
177
+ end
178
+ return data, status_code, headers
179
+ end
180
+
181
+ # Delete the client logo
182
+ #
183
+ # @param id_client
184
+ # @param [Hash] opts the optional parameters
185
+ # @option opts [String] :expand
186
+ # @return [File]
187
+ def clients_id_client_logo_delete(id_client, opts = {})
188
+ data, _status_code, _headers = clients_id_client_logo_delete_with_http_info(id_client, opts)
189
+ return data
190
+ end
191
+
192
+ # Delete the client logo
193
+ #
194
+ # @param id_client
195
+ # @param [Hash] opts the optional parameters
196
+ # @option opts [String] :expand
197
+ # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
198
+ def clients_id_client_logo_delete_with_http_info(id_client, opts = {})
199
+ if @api_client.config.debugging
200
+ @api_client.config.logger.debug "Calling API: AdministrationApi.clients_id_client_logo_delete ..."
201
+ end
202
+ # verify the required parameter 'id_client' is set
203
+ if @api_client.config.client_side_validation && id_client.nil?
204
+ fail ArgumentError, "Missing the required parameter 'id_client' when calling AdministrationApi.clients_id_client_logo_delete"
205
+ end
206
+ # resource path
207
+ local_var_path = "/clients/{id_client}/logo".sub('{' + 'id_client' + '}', id_client.to_s)
208
+
209
+ # query parameters
210
+ query_params = {}
211
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
212
+
213
+ # header parameters
214
+ header_params = {}
215
+ # HTTP header 'Accept' (if needed)
216
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
217
+ # HTTP header 'Content-Type'
218
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
219
+
220
+ # form parameters
221
+ form_params = {}
222
+
223
+ # http body (model)
224
+ post_body = nil
225
+ auth_names = []
226
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
227
+ :header_params => header_params,
228
+ :query_params => query_params,
229
+ :form_params => form_params,
230
+ :body => post_body,
231
+ :auth_names => auth_names,
232
+ :return_type => 'File')
233
+ if @api_client.config.debugging
234
+ @api_client.config.logger.debug "API called: AdministrationApi#clients_id_client_logo_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
235
+ end
236
+ return data, status_code, headers
237
+ end
238
+
239
+ # Update the client logo
240
+ #
241
+ # @param id_client
242
+ # @param [Hash] opts the optional parameters
243
+ # @option opts [String] :expand
244
+ # @return [File]
245
+ def clients_id_client_logo_post(id_client, opts = {})
246
+ data, _status_code, _headers = clients_id_client_logo_post_with_http_info(id_client, opts)
247
+ return data
248
+ end
249
+
250
+ # Update the client logo
251
+ #
252
+ # @param id_client
253
+ # @param [Hash] opts the optional parameters
254
+ # @option opts [String] :expand
255
+ # @return [Array<(File, Fixnum, Hash)>] File data, response status code and response headers
256
+ def clients_id_client_logo_post_with_http_info(id_client, opts = {})
257
+ if @api_client.config.debugging
258
+ @api_client.config.logger.debug "Calling API: AdministrationApi.clients_id_client_logo_post ..."
259
+ end
260
+ # verify the required parameter 'id_client' is set
261
+ if @api_client.config.client_side_validation && id_client.nil?
262
+ fail ArgumentError, "Missing the required parameter 'id_client' when calling AdministrationApi.clients_id_client_logo_post"
263
+ end
264
+ # resource path
265
+ local_var_path = "/clients/{id_client}/logo".sub('{' + 'id_client' + '}', id_client.to_s)
266
+
267
+ # query parameters
268
+ query_params = {}
269
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
270
+
271
+ # header parameters
272
+ header_params = {}
273
+ # HTTP header 'Accept' (if needed)
274
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
275
+ # HTTP header 'Content-Type'
276
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
277
+
278
+ # form parameters
279
+ form_params = {}
280
+
281
+ # http body (model)
282
+ post_body = nil
283
+ auth_names = []
284
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
285
+ :header_params => header_params,
286
+ :query_params => query_params,
287
+ :form_params => form_params,
288
+ :body => post_body,
289
+ :auth_names => auth_names,
290
+ :return_type => 'File')
291
+ if @api_client.config.debugging
292
+ @api_client.config.logger.debug "API called: AdministrationApi#clients_id_client_logo_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
293
+ end
294
+ return data, status_code, headers
295
+ end
296
+
297
+ # Update a client
298
+ #
299
+ # @param id_client
300
+ # @param [Hash] opts the optional parameters
301
+ # @option opts [String] :name name of client
302
+ # @option opts [BOOLEAN] :secret reset the secret
303
+ # @option opts [String] :redirect_uri redirect_uri
304
+ # @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
305
+ # @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
306
+ # @option opts [String] :description text to display as a default description
307
+ # @option opts [String] :description_banks text to display as a description for banks
308
+ # @option opts [String] :description_providers text to display as a description for providers
309
+ # @option opts [BOOLEAN] :pro Wether the client should display the company manager page
310
+ # @option opts [String] :expand
311
+ # @return [Client]
312
+ def clients_id_client_put(id_client, opts = {})
313
+ data, _status_code, _headers = clients_id_client_put_with_http_info(id_client, opts)
314
+ return data
315
+ end
316
+
317
+ # Update a client
318
+ #
319
+ # @param id_client
320
+ # @param [Hash] opts the optional parameters
321
+ # @option opts [String] :name name of client
322
+ # @option opts [BOOLEAN] :secret reset the secret
323
+ # @option opts [String] :redirect_uri redirect_uri
324
+ # @option opts [String] :primary_color hexadecimal code of the client primary color (e.g F45B9A)
325
+ # @option opts [String] :secondary_color hexadecimal code of the client secondary color (e.g F45B9A)
326
+ # @option opts [String] :description text to display as a default description
327
+ # @option opts [String] :description_banks text to display as a description for banks
328
+ # @option opts [String] :description_providers text to display as a description for providers
329
+ # @option opts [BOOLEAN] :pro Wether the client should display the company manager page
330
+ # @option opts [String] :expand
331
+ # @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers
332
+ def clients_id_client_put_with_http_info(id_client, opts = {})
333
+ if @api_client.config.debugging
334
+ @api_client.config.logger.debug "Calling API: AdministrationApi.clients_id_client_put ..."
335
+ end
336
+ # verify the required parameter 'id_client' is set
337
+ if @api_client.config.client_side_validation && id_client.nil?
338
+ fail ArgumentError, "Missing the required parameter 'id_client' when calling AdministrationApi.clients_id_client_put"
339
+ end
340
+ # resource path
341
+ local_var_path = "/clients/{id_client}".sub('{' + 'id_client' + '}', id_client.to_s)
342
+
343
+ # query parameters
344
+ query_params = {}
345
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
346
+
347
+ # header parameters
348
+ header_params = {}
349
+ # HTTP header 'Accept' (if needed)
350
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
351
+ # HTTP header 'Content-Type'
352
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
353
+
354
+ # form parameters
355
+ form_params = {}
356
+ form_params["name"] = opts[:'name'] if !opts[:'name'].nil?
357
+ form_params["secret"] = opts[:'secret'] if !opts[:'secret'].nil?
358
+ form_params["redirect_uri"] = opts[:'redirect_uri'] if !opts[:'redirect_uri'].nil?
359
+ form_params["primary_color"] = opts[:'primary_color'] if !opts[:'primary_color'].nil?
360
+ form_params["secondary_color"] = opts[:'secondary_color'] if !opts[:'secondary_color'].nil?
361
+ form_params["description"] = opts[:'description'] if !opts[:'description'].nil?
362
+ form_params["description_banks"] = opts[:'description_banks'] if !opts[:'description_banks'].nil?
363
+ form_params["description_providers"] = opts[:'description_providers'] if !opts[:'description_providers'].nil?
364
+ form_params["pro"] = opts[:'pro'] if !opts[:'pro'].nil?
365
+
366
+ # http body (model)
367
+ post_body = nil
368
+ auth_names = []
369
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
370
+ :header_params => header_params,
371
+ :query_params => query_params,
372
+ :form_params => form_params,
373
+ :body => post_body,
374
+ :auth_names => auth_names,
375
+ :return_type => 'Client')
376
+ if @api_client.config.debugging
377
+ @api_client.config.logger.debug "API called: AdministrationApi#clients_id_client_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
378
+ end
379
+ return data, status_code, headers
380
+ end
381
+
382
+ # Create a client
383
+ #
384
+ # @param [Hash] opts the optional parameters
385
+ # @option opts [String] :expand
386
+ # @return [Client]
387
+ def clients_post(opts = {})
388
+ data, _status_code, _headers = clients_post_with_http_info(opts)
389
+ return data
390
+ end
391
+
392
+ # Create a client
393
+ #
394
+ # @param [Hash] opts the optional parameters
395
+ # @option opts [String] :expand
396
+ # @return [Array<(Client, Fixnum, Hash)>] Client data, response status code and response headers
397
+ def clients_post_with_http_info(opts = {})
398
+ if @api_client.config.debugging
399
+ @api_client.config.logger.debug "Calling API: AdministrationApi.clients_post ..."
400
+ end
401
+ # resource path
402
+ local_var_path = "/clients"
403
+
404
+ # query parameters
405
+ query_params = {}
406
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
407
+
408
+ # header parameters
409
+ header_params = {}
410
+ # HTTP header 'Accept' (if needed)
411
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
412
+ # HTTP header 'Content-Type'
413
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
414
+
415
+ # form parameters
416
+ form_params = {}
417
+
418
+ # http body (model)
419
+ post_body = nil
420
+ auth_names = []
421
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
422
+ :header_params => header_params,
423
+ :query_params => query_params,
424
+ :form_params => form_params,
425
+ :body => post_body,
426
+ :auth_names => auth_names,
427
+ :return_type => 'Client')
428
+ if @api_client.config.debugging
429
+ @api_client.config.logger.debug "API called: AdministrationApi#clients_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
430
+ end
431
+ return data, status_code, headers
432
+ end
433
+
434
+ # Get configuration of the API.
435
+ # <br><br>
436
+ # @param [Hash] opts the optional parameters
437
+ # @option opts [String] :search limit the results to keys matching the given value
438
+ # @return [nil]
439
+ def config_get(opts = {})
440
+ config_get_with_http_info(opts)
441
+ return nil
442
+ end
443
+
444
+ # Get configuration of the API.
445
+ # &lt;br&gt;&lt;br&gt;
446
+ # @param [Hash] opts the optional parameters
447
+ # @option opts [String] :search limit the results to keys matching the given value
448
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
449
+ def config_get_with_http_info(opts = {})
450
+ if @api_client.config.debugging
451
+ @api_client.config.logger.debug "Calling API: AdministrationApi.config_get ..."
452
+ end
453
+ # resource path
454
+ local_var_path = "/config"
455
+
456
+ # query parameters
457
+ query_params = {}
458
+ query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
459
+
460
+ # header parameters
461
+ header_params = {}
462
+ # HTTP header 'Accept' (if needed)
463
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
464
+ # HTTP header 'Content-Type'
465
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
466
+
467
+ # form parameters
468
+ form_params = {}
469
+
470
+ # http body (model)
471
+ post_body = nil
472
+ auth_names = []
473
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
474
+ :header_params => header_params,
475
+ :query_params => query_params,
476
+ :form_params => form_params,
477
+ :body => post_body,
478
+ :auth_names => auth_names)
479
+ if @api_client.config.debugging
480
+ @api_client.config.logger.debug "API called: AdministrationApi#config_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
481
+ end
482
+ return data, status_code, headers
483
+ end
484
+
485
+ # Set a configuration value on the API.
486
+ # Request: { \"bank.connection.disable_new\": \"0\", \"search\": \"bank.connection.disable_new\" }<br><br>
487
+ # @param [Hash] opts the optional parameters
488
+ # @option opts [String] :search limit the results to keys matching the given value
489
+ # @return [Object]
490
+ def config_post(opts = {})
491
+ data, _status_code, _headers = config_post_with_http_info(opts)
492
+ return data
493
+ end
494
+
495
+ # Set a configuration value on the API.
496
+ # Request: { \&quot;bank.connection.disable_new\&quot;: \&quot;0\&quot;, \&quot;search\&quot;: \&quot;bank.connection.disable_new\&quot; }&lt;br&gt;&lt;br&gt;
497
+ # @param [Hash] opts the optional parameters
498
+ # @option opts [String] :search limit the results to keys matching the given value
499
+ # @return [Array<(Object, Fixnum, Hash)>] Object data, response status code and response headers
500
+ def config_post_with_http_info(opts = {})
501
+ if @api_client.config.debugging
502
+ @api_client.config.logger.debug "Calling API: AdministrationApi.config_post ..."
503
+ end
504
+ # resource path
505
+ local_var_path = "/config"
506
+
507
+ # query parameters
508
+ query_params = {}
509
+ query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
510
+
511
+ # header parameters
512
+ header_params = {}
513
+ # HTTP header 'Accept' (if needed)
514
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
515
+ # HTTP header 'Content-Type'
516
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
517
+
518
+ # form parameters
519
+ form_params = {}
520
+
521
+ # http body (model)
522
+ post_body = nil
523
+ auth_names = []
524
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
525
+ :header_params => header_params,
526
+ :query_params => query_params,
527
+ :form_params => form_params,
528
+ :body => post_body,
529
+ :auth_names => auth_names,
530
+ :return_type => 'Object')
531
+ if @api_client.config.debugging
532
+ @api_client.config.logger.debug "API called: AdministrationApi#config_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
533
+ end
534
+ return data, status_code, headers
535
+ end
536
+
537
+ # get performances stats on this instance
538
+ #
539
+ # @param [Hash] opts the optional parameters
540
+ # @option opts [Integer] :period number on days on which stats on synchronization have to be done per worker (Default: 1)
541
+ # @return [nil]
542
+ def monitoring_get(opts = {})
543
+ monitoring_get_with_http_info(opts)
544
+ return nil
545
+ end
546
+
547
+ # get performances stats on this instance
548
+ #
549
+ # @param [Hash] opts the optional parameters
550
+ # @option opts [Integer] :period number on days on which stats on synchronization have to be done per worker (Default: 1)
551
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
552
+ def monitoring_get_with_http_info(opts = {})
553
+ if @api_client.config.debugging
554
+ @api_client.config.logger.debug "Calling API: AdministrationApi.monitoring_get ..."
555
+ end
556
+ # resource path
557
+ local_var_path = "/monitoring"
558
+
559
+ # query parameters
560
+ query_params = {}
561
+ query_params[:'period'] = opts[:'period'] if !opts[:'period'].nil?
562
+
563
+ # header parameters
564
+ header_params = {}
565
+ # HTTP header 'Accept' (if needed)
566
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
567
+ # HTTP header 'Content-Type'
568
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
569
+
570
+ # form parameters
571
+ form_params = {}
572
+
573
+ # http body (model)
574
+ post_body = nil
575
+ auth_names = []
576
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
577
+ :header_params => header_params,
578
+ :query_params => query_params,
579
+ :form_params => form_params,
580
+ :body => post_body,
581
+ :auth_names => auth_names)
582
+ if @api_client.config.debugging
583
+ @api_client.config.logger.debug "API called: AdministrationApi#monitoring_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
584
+ end
585
+ return data, status_code, headers
586
+ end
587
+
588
+ # Test synchronization on a random connection.
589
+ # It can be used to test receiving data on your webhooks.<br><br>
590
+ # @param [Hash] opts the optional parameters
591
+ # @return [nil]
592
+ def test_sync_post(opts = {})
593
+ test_sync_post_with_http_info(opts)
594
+ return nil
595
+ end
596
+
597
+ # Test synchronization on a random connection.
598
+ # It can be used to test receiving data on your webhooks.&lt;br&gt;&lt;br&gt;
599
+ # @param [Hash] opts the optional parameters
600
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
601
+ def test_sync_post_with_http_info(opts = {})
602
+ if @api_client.config.debugging
603
+ @api_client.config.logger.debug "Calling API: AdministrationApi.test_sync_post ..."
604
+ end
605
+ # resource path
606
+ local_var_path = "/test/sync"
607
+
608
+ # query parameters
609
+ query_params = {}
610
+
611
+ # header parameters
612
+ header_params = {}
613
+ # HTTP header 'Accept' (if needed)
614
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
615
+ # HTTP header 'Content-Type'
616
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
617
+
618
+ # form parameters
619
+ form_params = {}
620
+
621
+ # http body (model)
622
+ post_body = nil
623
+ auth_names = []
624
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
625
+ :header_params => header_params,
626
+ :query_params => query_params,
627
+ :form_params => form_params,
628
+ :body => post_body,
629
+ :auth_names => auth_names)
630
+ if @api_client.config.debugging
631
+ @api_client.config.logger.debug "API called: AdministrationApi#test_sync_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
632
+ end
633
+ return data, status_code, headers
634
+ end
635
+
636
+ # Test synchronization on a random connection.
637
+ # It can be used to test receiving data on your webhooks.<br><br>
638
+ # @param [Hash] opts the optional parameters
639
+ # @return [nil]
640
+ def test_webhooks_post(opts = {})
641
+ test_webhooks_post_with_http_info(opts)
642
+ return nil
643
+ end
644
+
645
+ # Test synchronization on a random connection.
646
+ # It can be used to test receiving data on your webhooks.&lt;br&gt;&lt;br&gt;
647
+ # @param [Hash] opts the optional parameters
648
+ # @return [Array<(nil, Fixnum, Hash)>] nil, response status code and response headers
649
+ def test_webhooks_post_with_http_info(opts = {})
650
+ if @api_client.config.debugging
651
+ @api_client.config.logger.debug "Calling API: AdministrationApi.test_webhooks_post ..."
652
+ end
653
+ # resource path
654
+ local_var_path = "/test/webhooks"
655
+
656
+ # query parameters
657
+ query_params = {}
658
+
659
+ # header parameters
660
+ header_params = {}
661
+ # HTTP header 'Accept' (if needed)
662
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
663
+ # HTTP header 'Content-Type'
664
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
665
+
666
+ # form parameters
667
+ form_params = {}
668
+
669
+ # http body (model)
670
+ post_body = nil
671
+ auth_names = []
672
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
673
+ :header_params => header_params,
674
+ :query_params => query_params,
675
+ :form_params => form_params,
676
+ :body => post_body,
677
+ :auth_names => auth_names)
678
+ if @api_client.config.debugging
679
+ @api_client.config.logger.debug "API called: AdministrationApi#test_webhooks_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
680
+ end
681
+ return data, status_code, headers
682
+ end
683
+
684
+ # Deletes all webhooks
685
+ # Updates the deleted field with the date of the deletion<br><br>
686
+ # @param [Hash] opts the optional parameters
687
+ # @option opts [String] :expand
688
+ # @return [Webhook]
689
+ def webhooks_delete(opts = {})
690
+ data, _status_code, _headers = webhooks_delete_with_http_info(opts)
691
+ return data
692
+ end
693
+
694
+ # Deletes all webhooks
695
+ # Updates the deleted field with the date of the deletion&lt;br&gt;&lt;br&gt;
696
+ # @param [Hash] opts the optional parameters
697
+ # @option opts [String] :expand
698
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
699
+ def webhooks_delete_with_http_info(opts = {})
700
+ if @api_client.config.debugging
701
+ @api_client.config.logger.debug "Calling API: AdministrationApi.webhooks_delete ..."
702
+ end
703
+ # resource path
704
+ local_var_path = "/webhooks"
705
+
706
+ # query parameters
707
+ query_params = {}
708
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
709
+
710
+ # header parameters
711
+ header_params = {}
712
+ # HTTP header 'Accept' (if needed)
713
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
714
+ # HTTP header 'Content-Type'
715
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
716
+
717
+ # form parameters
718
+ form_params = {}
719
+
720
+ # http body (model)
721
+ post_body = nil
722
+ auth_names = []
723
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
724
+ :header_params => header_params,
725
+ :query_params => query_params,
726
+ :form_params => form_params,
727
+ :body => post_body,
728
+ :auth_names => auth_names,
729
+ :return_type => 'Webhook')
730
+ if @api_client.config.debugging
731
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
732
+ end
733
+ return data, status_code, headers
734
+ end
735
+
736
+ # Get webhooks
737
+ #
738
+ # @param [Hash] opts the optional parameters
739
+ # @option opts [String] :expand
740
+ # @return [InlineResponse20033]
741
+ def webhooks_get(opts = {})
742
+ data, _status_code, _headers = webhooks_get_with_http_info(opts)
743
+ return data
744
+ end
745
+
746
+ # Get webhooks
747
+ #
748
+ # @param [Hash] opts the optional parameters
749
+ # @option opts [String] :expand
750
+ # @return [Array<(InlineResponse20033, Fixnum, Hash)>] InlineResponse20033 data, response status code and response headers
751
+ def webhooks_get_with_http_info(opts = {})
752
+ if @api_client.config.debugging
753
+ @api_client.config.logger.debug "Calling API: AdministrationApi.webhooks_get ..."
754
+ end
755
+ # resource path
756
+ local_var_path = "/webhooks"
757
+
758
+ # query parameters
759
+ query_params = {}
760
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
761
+
762
+ # header parameters
763
+ header_params = {}
764
+ # HTTP header 'Accept' (if needed)
765
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
766
+ # HTTP header 'Content-Type'
767
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
768
+
769
+ # form parameters
770
+ form_params = {}
771
+
772
+ # http body (model)
773
+ post_body = nil
774
+ auth_names = []
775
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path,
776
+ :header_params => header_params,
777
+ :query_params => query_params,
778
+ :form_params => form_params,
779
+ :body => post_body,
780
+ :auth_names => auth_names,
781
+ :return_type => 'InlineResponse20033')
782
+ if @api_client.config.debugging
783
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_get\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
784
+ end
785
+ return data, status_code, headers
786
+ end
787
+
788
+ # Deletes a webhook
789
+ # Updates the deleted field with the date of the deletion<br><br>
790
+ # @param id_webhook
791
+ # @param [Hash] opts the optional parameters
792
+ # @option opts [String] :expand
793
+ # @return [Webhook]
794
+ def webhooks_id_webhook_delete(id_webhook, opts = {})
795
+ data, _status_code, _headers = webhooks_id_webhook_delete_with_http_info(id_webhook, opts)
796
+ return data
797
+ end
798
+
799
+ # Deletes a webhook
800
+ # Updates the deleted field with the date of the deletion&lt;br&gt;&lt;br&gt;
801
+ # @param id_webhook
802
+ # @param [Hash] opts the optional parameters
803
+ # @option opts [String] :expand
804
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
805
+ def webhooks_id_webhook_delete_with_http_info(id_webhook, opts = {})
806
+ if @api_client.config.debugging
807
+ @api_client.config.logger.debug "Calling API: AdministrationApi.webhooks_id_webhook_delete ..."
808
+ end
809
+ # verify the required parameter 'id_webhook' is set
810
+ if @api_client.config.client_side_validation && id_webhook.nil?
811
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_delete"
812
+ end
813
+ # resource path
814
+ local_var_path = "/webhooks/{id_webhook}".sub('{' + 'id_webhook' + '}', id_webhook.to_s)
815
+
816
+ # query parameters
817
+ query_params = {}
818
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
819
+
820
+ # header parameters
821
+ header_params = {}
822
+ # HTTP header 'Accept' (if needed)
823
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
824
+ # HTTP header 'Content-Type'
825
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
826
+
827
+ # form parameters
828
+ form_params = {}
829
+
830
+ # http body (model)
831
+ post_body = nil
832
+ auth_names = []
833
+ data, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
834
+ :header_params => header_params,
835
+ :query_params => query_params,
836
+ :form_params => form_params,
837
+ :body => post_body,
838
+ :auth_names => auth_names,
839
+ :return_type => 'Webhook')
840
+ if @api_client.config.debugging
841
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
842
+ end
843
+ return data, status_code, headers
844
+ end
845
+
846
+ # Updates a webhook
847
+ #
848
+ # @param id_webhook
849
+ # @param [Hash] opts the optional parameters
850
+ # @option opts [String] :deleted a date to delete the webhook or &#39;null&#39; to enable it
851
+ # @option opts [Integer] :id_user The user ID to associate with the webhook
852
+ # @option opts [Integer] :id_service The service ID to associate with the webhook
853
+ # @option opts [Float] :url The webhook callback url
854
+ # @option opts [String] :event The webhook event
855
+ # @option opts [String] :expand
856
+ # @return [Webhook]
857
+ def webhooks_id_webhook_post(id_webhook, opts = {})
858
+ data, _status_code, _headers = webhooks_id_webhook_post_with_http_info(id_webhook, opts)
859
+ return data
860
+ end
861
+
862
+ # Updates a webhook
863
+ #
864
+ # @param id_webhook
865
+ # @param [Hash] opts the optional parameters
866
+ # @option opts [String] :deleted a date to delete the webhook or &#39;null&#39; to enable it
867
+ # @option opts [Integer] :id_user The user ID to associate with the webhook
868
+ # @option opts [Integer] :id_service The service ID to associate with the webhook
869
+ # @option opts [Float] :url The webhook callback url
870
+ # @option opts [String] :event The webhook event
871
+ # @option opts [String] :expand
872
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
873
+ def webhooks_id_webhook_post_with_http_info(id_webhook, opts = {})
874
+ if @api_client.config.debugging
875
+ @api_client.config.logger.debug "Calling API: AdministrationApi.webhooks_id_webhook_post ..."
876
+ end
877
+ # verify the required parameter 'id_webhook' is set
878
+ if @api_client.config.client_side_validation && id_webhook.nil?
879
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_post"
880
+ end
881
+ # resource path
882
+ local_var_path = "/webhooks/{id_webhook}".sub('{' + 'id_webhook' + '}', id_webhook.to_s)
883
+
884
+ # query parameters
885
+ query_params = {}
886
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
887
+
888
+ # header parameters
889
+ header_params = {}
890
+ # HTTP header 'Accept' (if needed)
891
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
892
+ # HTTP header 'Content-Type'
893
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
894
+
895
+ # form parameters
896
+ form_params = {}
897
+ form_params["deleted"] = opts[:'deleted'] if !opts[:'deleted'].nil?
898
+ form_params["id_user"] = opts[:'id_user'] if !opts[:'id_user'].nil?
899
+ form_params["id_service"] = opts[:'id_service'] if !opts[:'id_service'].nil?
900
+ form_params["url"] = opts[:'url'] if !opts[:'url'].nil?
901
+ form_params["event"] = opts[:'event'] if !opts[:'event'].nil?
902
+
903
+ # http body (model)
904
+ post_body = nil
905
+ auth_names = []
906
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
907
+ :header_params => header_params,
908
+ :query_params => query_params,
909
+ :form_params => form_params,
910
+ :body => post_body,
911
+ :auth_names => auth_names,
912
+ :return_type => 'Webhook')
913
+ if @api_client.config.debugging
914
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
915
+ end
916
+ return data, status_code, headers
917
+ end
918
+
919
+ # Updates a webhook
920
+ #
921
+ # @param id_webhook
922
+ # @param [Hash] opts the optional parameters
923
+ # @option opts [String] :deleted a date to delete the webhook or &#39;null&#39; to enable it
924
+ # @option opts [Integer] :id_user The user ID to associate with the webhook
925
+ # @option opts [Integer] :id_service The service ID to associate with the webhook
926
+ # @option opts [Float] :url The webhook callback url
927
+ # @option opts [String] :event The webhook event
928
+ # @option opts [String] :expand
929
+ # @return [Webhook]
930
+ def webhooks_id_webhook_put(id_webhook, opts = {})
931
+ data, _status_code, _headers = webhooks_id_webhook_put_with_http_info(id_webhook, opts)
932
+ return data
933
+ end
934
+
935
+ # Updates a webhook
936
+ #
937
+ # @param id_webhook
938
+ # @param [Hash] opts the optional parameters
939
+ # @option opts [String] :deleted a date to delete the webhook or &#39;null&#39; to enable it
940
+ # @option opts [Integer] :id_user The user ID to associate with the webhook
941
+ # @option opts [Integer] :id_service The service ID to associate with the webhook
942
+ # @option opts [Float] :url The webhook callback url
943
+ # @option opts [String] :event The webhook event
944
+ # @option opts [String] :expand
945
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
946
+ def webhooks_id_webhook_put_with_http_info(id_webhook, opts = {})
947
+ if @api_client.config.debugging
948
+ @api_client.config.logger.debug "Calling API: AdministrationApi.webhooks_id_webhook_put ..."
949
+ end
950
+ # verify the required parameter 'id_webhook' is set
951
+ if @api_client.config.client_side_validation && id_webhook.nil?
952
+ fail ArgumentError, "Missing the required parameter 'id_webhook' when calling AdministrationApi.webhooks_id_webhook_put"
953
+ end
954
+ # resource path
955
+ local_var_path = "/webhooks/{id_webhook}".sub('{' + 'id_webhook' + '}', id_webhook.to_s)
956
+
957
+ # query parameters
958
+ query_params = {}
959
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
960
+
961
+ # header parameters
962
+ header_params = {}
963
+ # HTTP header 'Accept' (if needed)
964
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
965
+ # HTTP header 'Content-Type'
966
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
967
+
968
+ # form parameters
969
+ form_params = {}
970
+ form_params["deleted"] = opts[:'deleted'] if !opts[:'deleted'].nil?
971
+ form_params["id_user"] = opts[:'id_user'] if !opts[:'id_user'].nil?
972
+ form_params["id_service"] = opts[:'id_service'] if !opts[:'id_service'].nil?
973
+ form_params["url"] = opts[:'url'] if !opts[:'url'].nil?
974
+ form_params["event"] = opts[:'event'] if !opts[:'event'].nil?
975
+
976
+ # http body (model)
977
+ post_body = nil
978
+ auth_names = []
979
+ data, status_code, headers = @api_client.call_api(:PUT, local_var_path,
980
+ :header_params => header_params,
981
+ :query_params => query_params,
982
+ :form_params => form_params,
983
+ :body => post_body,
984
+ :auth_names => auth_names,
985
+ :return_type => 'Webhook')
986
+ if @api_client.config.debugging
987
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_id_webhook_put\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
988
+ end
989
+ return data, status_code, headers
990
+ end
991
+
992
+ # Adds a new webhook
993
+ #
994
+ # @param [Hash] opts the optional parameters
995
+ # @option opts [Integer] :id_user The user ID to associate with the webhook
996
+ # @option opts [Integer] :id_service The service ID to associate with the webhook
997
+ # @option opts [Float] :url The webhook callback url
998
+ # @option opts [String] :event The webhook event
999
+ # @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
1000
+ # @option opts [String] :expand
1001
+ # @return [Webhook]
1002
+ def webhooks_post(opts = {})
1003
+ data, _status_code, _headers = webhooks_post_with_http_info(opts)
1004
+ return data
1005
+ end
1006
+
1007
+ # Adds a new webhook
1008
+ #
1009
+ # @param [Hash] opts the optional parameters
1010
+ # @option opts [Integer] :id_user The user ID to associate with the webhook
1011
+ # @option opts [Integer] :id_service The service ID to associate with the webhook
1012
+ # @option opts [Float] :url The webhook callback url
1013
+ # @option opts [String] :event The webhook event
1014
+ # @option opts [String] :params The webhook parameters as an object with three keys: type, key and value
1015
+ # @option opts [String] :expand
1016
+ # @return [Array<(Webhook, Fixnum, Hash)>] Webhook data, response status code and response headers
1017
+ def webhooks_post_with_http_info(opts = {})
1018
+ if @api_client.config.debugging
1019
+ @api_client.config.logger.debug "Calling API: AdministrationApi.webhooks_post ..."
1020
+ end
1021
+ # resource path
1022
+ local_var_path = "/webhooks"
1023
+
1024
+ # query parameters
1025
+ query_params = {}
1026
+ query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
1027
+
1028
+ # header parameters
1029
+ header_params = {}
1030
+ # HTTP header 'Accept' (if needed)
1031
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1032
+ # HTTP header 'Content-Type'
1033
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'multipart/form-data'])
1034
+
1035
+ # form parameters
1036
+ form_params = {}
1037
+ form_params["id_user"] = opts[:'id_user'] if !opts[:'id_user'].nil?
1038
+ form_params["id_service"] = opts[:'id_service'] if !opts[:'id_service'].nil?
1039
+ form_params["url"] = opts[:'url'] if !opts[:'url'].nil?
1040
+ form_params["event"] = opts[:'event'] if !opts[:'event'].nil?
1041
+ form_params["params"] = opts[:'params'] if !opts[:'params'].nil?
1042
+
1043
+ # http body (model)
1044
+ post_body = nil
1045
+ auth_names = []
1046
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path,
1047
+ :header_params => header_params,
1048
+ :query_params => query_params,
1049
+ :form_params => form_params,
1050
+ :body => post_body,
1051
+ :auth_names => auth_names,
1052
+ :return_type => 'Webhook')
1053
+ if @api_client.config.debugging
1054
+ @api_client.config.logger.debug "API called: AdministrationApi#webhooks_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1055
+ end
1056
+ return data, status_code, headers
1057
+ end
1058
+ end
1059
+ end