method-ruby 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (920) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/README.md +19 -18
  4. data/lib/method_ruby/client.rb +99 -9
  5. data/lib/method_ruby/internal/transport/base_client.rb +3 -3
  6. data/lib/method_ruby/internal/type/union.rb +11 -0
  7. data/lib/method_ruby/internal/util.rb +22 -7
  8. data/lib/method_ruby/models/account_create_params.rb +442 -0
  9. data/lib/method_ruby/models/account_create_response.rb +14382 -0
  10. data/lib/method_ruby/models/account_list_params.rb +259 -0
  11. data/lib/method_ruby/models/account_list_response.rb +31 -0
  12. data/lib/method_ruby/models/account_retrieve_params.rb +68 -0
  13. data/lib/method_ruby/models/account_retrieve_response.rb +14385 -0
  14. data/lib/method_ruby/models/account_update_params.rb +155 -0
  15. data/lib/method_ruby/models/account_update_response.rb +28 -0
  16. data/lib/method_ruby/models/accounts/attribute_create_params.rb +43 -0
  17. data/lib/method_ruby/models/accounts/attribute_create_response.rb +34 -0
  18. data/lib/method_ruby/models/accounts/attribute_list_params.rb +67 -0
  19. data/lib/method_ruby/models/accounts/attribute_list_response.rb +33 -0
  20. data/lib/method_ruby/models/accounts/attribute_retrieve_params.rb +43 -0
  21. data/lib/method_ruby/models/accounts/attribute_retrieve_response.rb +34 -0
  22. data/lib/method_ruby/models/accounts/balance_create_params.rb +43 -0
  23. data/lib/method_ruby/models/accounts/balance_create_response.rb +34 -0
  24. data/lib/method_ruby/models/accounts/balance_list_params.rb +67 -0
  25. data/lib/method_ruby/models/accounts/balance_list_response.rb +33 -0
  26. data/lib/method_ruby/models/accounts/balance_retrieve_params.rb +43 -0
  27. data/lib/method_ruby/models/accounts/balance_retrieve_response.rb +34 -0
  28. data/lib/method_ruby/models/accounts/card_brand_create_params.rb +43 -0
  29. data/lib/method_ruby/models/accounts/card_brand_create_response.rb +34 -0
  30. data/lib/method_ruby/models/accounts/card_brand_list_params.rb +67 -0
  31. data/lib/method_ruby/models/accounts/card_brand_list_response.rb +33 -0
  32. data/lib/method_ruby/models/accounts/card_brand_retrieve_params.rb +43 -0
  33. data/lib/method_ruby/models/accounts/card_brand_retrieve_response.rb +34 -0
  34. data/lib/method_ruby/models/accounts/consent_withdraw_params.rb +72 -0
  35. data/lib/method_ruby/models/accounts/consent_withdraw_response.rb +14396 -0
  36. data/lib/method_ruby/models/accounts/payment_instrument_create_params.rb +66 -0
  37. data/lib/method_ruby/models/accounts/payment_instrument_create_response.rb +34 -0
  38. data/lib/method_ruby/models/accounts/payment_instrument_delete_params.rb +49 -0
  39. data/lib/method_ruby/models/accounts/payment_instrument_delete_response.rb +34 -0
  40. data/lib/method_ruby/models/accounts/payment_instrument_list_params.rb +67 -0
  41. data/lib/method_ruby/models/accounts/payment_instrument_list_response.rb +33 -0
  42. data/lib/method_ruby/models/accounts/payment_instrument_retrieve_params.rb +44 -0
  43. data/lib/method_ruby/models/accounts/payment_instrument_retrieve_response.rb +34 -0
  44. data/lib/method_ruby/models/accounts/payoff_create_params.rb +43 -0
  45. data/lib/method_ruby/models/accounts/payoff_create_response.rb +34 -0
  46. data/lib/method_ruby/models/accounts/payoff_list_params.rb +67 -0
  47. data/lib/method_ruby/models/accounts/payoff_list_response.rb +33 -0
  48. data/lib/method_ruby/models/accounts/payoff_retrieve_params.rb +43 -0
  49. data/lib/method_ruby/models/accounts/payoff_retrieve_response.rb +34 -0
  50. data/lib/method_ruby/models/accounts/product_list_params.rb +37 -0
  51. data/lib/method_ruby/models/accounts/product_list_response.rb +34 -0
  52. data/lib/method_ruby/models/accounts/product_retrieve_params.rb +43 -0
  53. data/lib/method_ruby/models/accounts/product_retrieve_response.rb +34 -0
  54. data/lib/method_ruby/models/accounts/sensitive_create_params.rb +54 -0
  55. data/lib/method_ruby/models/accounts/sensitive_create_response.rb +34 -0
  56. data/lib/method_ruby/models/accounts/sensitive_list_params.rb +67 -0
  57. data/lib/method_ruby/models/accounts/sensitive_list_response.rb +33 -0
  58. data/lib/method_ruby/models/accounts/sensitive_retrieve_params.rb +43 -0
  59. data/lib/method_ruby/models/accounts/sensitive_retrieve_response.rb +34 -0
  60. data/lib/method_ruby/models/accounts/subscription_create_params.rb +54 -0
  61. data/lib/method_ruby/models/accounts/subscription_create_response.rb +34 -0
  62. data/lib/method_ruby/models/accounts/subscription_delete_params.rb +49 -0
  63. data/lib/method_ruby/models/accounts/subscription_delete_response.rb +34 -0
  64. data/lib/method_ruby/models/accounts/subscription_list_params.rb +37 -0
  65. data/lib/method_ruby/models/accounts/subscription_list_response.rb +34 -0
  66. data/lib/method_ruby/models/accounts/subscription_retrieve_params.rb +43 -0
  67. data/lib/method_ruby/models/accounts/subscription_retrieve_response.rb +34 -0
  68. data/lib/method_ruby/models/accounts/transaction_list_params.rb +83 -0
  69. data/lib/method_ruby/models/accounts/transaction_list_response.rb +33 -0
  70. data/lib/method_ruby/models/accounts/transaction_retrieve_params.rb +43 -0
  71. data/lib/method_ruby/models/accounts/transaction_retrieve_response.rb +34 -0
  72. data/lib/method_ruby/models/accounts/update_create_params.rb +43 -0
  73. data/lib/method_ruby/models/accounts/update_create_response.rb +34 -0
  74. data/lib/method_ruby/models/accounts/update_list_params.rb +67 -0
  75. data/lib/method_ruby/models/accounts/update_list_response.rb +33 -0
  76. data/lib/method_ruby/models/accounts/update_retrieve_params.rb +43 -0
  77. data/lib/method_ruby/models/accounts/update_retrieve_response.rb +34 -0
  78. data/lib/method_ruby/models/accounts/verification_session_create_params.rb +76 -0
  79. data/lib/method_ruby/models/accounts/verification_session_create_response.rb +34 -0
  80. data/lib/method_ruby/models/accounts/verification_session_list_params.rb +67 -0
  81. data/lib/method_ruby/models/accounts/verification_session_list_response.rb +33 -0
  82. data/lib/method_ruby/models/accounts/verification_session_retrieve_params.rb +44 -0
  83. data/lib/method_ruby/models/accounts/verification_session_retrieve_response.rb +34 -0
  84. data/lib/method_ruby/models/accounts/verification_session_update_params.rb +310 -0
  85. data/lib/method_ruby/models/accounts/verification_session_update_response.rb +34 -0
  86. data/lib/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rb +46 -0
  87. data/lib/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rb +35 -0
  88. data/lib/method_ruby/models/address.rb +12 -7
  89. data/lib/method_ruby/models/card_product_retrieve_params.rb +35 -0
  90. data/lib/method_ruby/models/card_product_retrieve_response.rb +32 -0
  91. data/lib/method_ruby/models/entities/attribute_create_params.rb +54 -0
  92. data/lib/method_ruby/models/entities/attribute_create_response.rb +33 -0
  93. data/lib/method_ruby/models/entities/attribute_list_params.rb +83 -0
  94. data/lib/method_ruby/models/entities/attribute_list_response.rb +33 -0
  95. data/lib/method_ruby/models/entities/attribute_retrieve_params.rb +43 -0
  96. data/lib/method_ruby/models/entities/attribute_retrieve_response.rb +33 -0
  97. data/lib/method_ruby/models/entities/connect_create_params.rb +94 -0
  98. data/lib/method_ruby/models/entities/connect_create_response.rb +33 -0
  99. data/lib/method_ruby/models/entities/connect_list_params.rb +112 -0
  100. data/lib/method_ruby/models/entities/connect_list_response.rb +33 -0
  101. data/lib/method_ruby/models/entities/connect_retrieve_params.rb +78 -0
  102. data/lib/method_ruby/models/entities/connect_retrieve_response.rb +33 -0
  103. data/lib/method_ruby/models/entities/consent_withdraw_params.rb +73 -0
  104. data/lib/method_ruby/models/entities/consent_withdraw_response.rb +34 -0
  105. data/lib/method_ruby/models/entities/credit_score_create_params.rb +43 -0
  106. data/lib/method_ruby/models/entities/credit_score_create_response.rb +33 -0
  107. data/lib/method_ruby/models/entities/credit_score_list_params.rb +83 -0
  108. data/lib/method_ruby/models/entities/credit_score_list_response.rb +33 -0
  109. data/lib/method_ruby/models/entities/credit_score_retrieve_params.rb +43 -0
  110. data/lib/method_ruby/models/entities/credit_score_retrieve_response.rb +33 -0
  111. data/lib/method_ruby/models/entities/identity_create_params.rb +43 -0
  112. data/lib/method_ruby/models/entities/identity_create_response.rb +33 -0
  113. data/lib/method_ruby/models/entities/identity_list_params.rb +83 -0
  114. data/lib/method_ruby/models/entities/identity_list_response.rb +33 -0
  115. data/lib/method_ruby/models/entities/identity_retrieve_params.rb +43 -0
  116. data/lib/method_ruby/models/entities/identity_retrieve_response.rb +33 -0
  117. data/lib/method_ruby/models/entities/manual_connect_create_params.rb +292 -0
  118. data/lib/method_ruby/models/entities/manual_connect_create_response.rb +33 -0
  119. data/lib/method_ruby/models/entities/manual_connect_retrieve_params.rb +43 -0
  120. data/lib/method_ruby/models/entities/manual_connect_retrieve_response.rb +33 -0
  121. data/lib/method_ruby/models/entities/product_list_params.rb +37 -0
  122. data/lib/method_ruby/models/entities/product_list_response.rb +34 -0
  123. data/lib/method_ruby/models/entities/product_retrieve_params.rb +43 -0
  124. data/lib/method_ruby/models/entities/product_retrieve_response.rb +33 -0
  125. data/lib/method_ruby/models/entities/subscription_create_params.rb +101 -0
  126. data/lib/method_ruby/models/entities/subscription_create_response.rb +33 -0
  127. data/lib/method_ruby/models/entities/subscription_delete_params.rb +49 -0
  128. data/lib/method_ruby/models/entities/subscription_delete_response.rb +33 -0
  129. data/lib/method_ruby/models/entities/subscription_list_params.rb +37 -0
  130. data/lib/method_ruby/models/entities/subscription_list_response.rb +34 -0
  131. data/lib/method_ruby/models/entities/subscription_retrieve_params.rb +43 -0
  132. data/lib/method_ruby/models/entities/subscription_retrieve_response.rb +33 -0
  133. data/lib/method_ruby/models/entities/vehicle_create_params.rb +54 -0
  134. data/lib/method_ruby/models/entities/vehicle_create_response.rb +33 -0
  135. data/lib/method_ruby/models/entities/vehicle_list_params.rb +37 -0
  136. data/lib/method_ruby/models/entities/vehicle_list_response.rb +33 -0
  137. data/lib/method_ruby/models/entities/vehicle_retrieve_params.rb +43 -0
  138. data/lib/method_ruby/models/entities/vehicle_retrieve_response.rb +33 -0
  139. data/lib/method_ruby/models/entities/verification_session_create_params.rb +145 -0
  140. data/lib/method_ruby/models/entities/verification_session_create_response.rb +33 -0
  141. data/lib/method_ruby/models/entities/verification_session_list_params.rb +83 -0
  142. data/lib/method_ruby/models/entities/verification_session_list_response.rb +33 -0
  143. data/lib/method_ruby/models/entities/verification_session_retrieve_params.rb +44 -0
  144. data/lib/method_ruby/models/entities/verification_session_retrieve_response.rb +33 -0
  145. data/lib/method_ruby/models/entities/verification_session_update_params.rb +158 -0
  146. data/lib/method_ruby/models/entities/verification_session_update_response.rb +33 -0
  147. data/lib/method_ruby/models/entity.rb +16944 -90
  148. data/lib/method_ruby/models/entity_corporation.rb +16 -7
  149. data/lib/method_ruby/models/entity_corporation_owner.rb +17 -6
  150. data/lib/method_ruby/models/entity_create_params.rb +82 -43
  151. data/lib/method_ruby/models/entity_create_response.rb +17 -17
  152. data/lib/method_ruby/models/entity_individual.rb +33 -8
  153. data/lib/method_ruby/models/entity_list_params.rb +94 -11
  154. data/lib/method_ruby/models/entity_list_response.rb +16 -17
  155. data/lib/method_ruby/models/entity_retrieve_params.rb +35 -8
  156. data/lib/method_ruby/models/entity_retrieve_response.rb +17 -17
  157. data/lib/method_ruby/models/entity_update_params.rb +114 -21
  158. data/lib/method_ruby/models/entity_update_response.rb +17 -17
  159. data/lib/method_ruby/models/event_list_params.rb +82 -0
  160. data/lib/method_ruby/models/event_list_response.rb +31 -0
  161. data/lib/method_ruby/models/event_retrieve_params.rb +35 -0
  162. data/lib/method_ruby/models/event_retrieve_response.rb +31 -0
  163. data/lib/method_ruby/models/forwarding_request_create_params.rb +99 -0
  164. data/lib/method_ruby/models/forwarding_request_create_response.rb +31 -0
  165. data/lib/method_ruby/models/forwarding_request_retrieve_params.rb +35 -0
  166. data/lib/method_ruby/models/forwarding_request_retrieve_response.rb +31 -0
  167. data/lib/method_ruby/models/managed_account_list_params.rb +29 -0
  168. data/lib/method_ruby/models/managed_account_list_response.rb +31 -0
  169. data/lib/method_ruby/models/managed_account_retrieve_params.rb +35 -0
  170. data/lib/method_ruby/models/managed_account_retrieve_response.rb +36 -0
  171. data/lib/method_ruby/models/managed_accounts/transaction_list_params.rb +83 -0
  172. data/lib/method_ruby/models/managed_accounts/transaction_list_response.rb +33 -0
  173. data/lib/method_ruby/models/merchant_list_params.rb +76 -0
  174. data/lib/method_ruby/models/merchant_list_response.rb +31 -0
  175. data/lib/method_ruby/models/merchant_retrieve_params.rb +35 -0
  176. data/lib/method_ruby/models/merchant_retrieve_response.rb +31 -0
  177. data/lib/method_ruby/models/payment_create_params.rb +134 -0
  178. data/lib/method_ruby/models/payment_create_response.rb +32 -0
  179. data/lib/method_ruby/models/payment_delete_params.rb +41 -0
  180. data/lib/method_ruby/models/payment_delete_response.rb +32 -0
  181. data/lib/method_ruby/models/payment_list_params.rb +196 -0
  182. data/lib/method_ruby/models/payment_list_response.rb +31 -0
  183. data/lib/method_ruby/models/payment_retrieve_params.rb +62 -0
  184. data/lib/method_ruby/models/payment_retrieve_response.rb +32 -0
  185. data/lib/method_ruby/models/payments/reversal_list_params.rb +37 -0
  186. data/lib/method_ruby/models/payments/reversal_list_response.rb +33 -0
  187. data/lib/method_ruby/models/payments/reversal_retrieve_params.rb +43 -0
  188. data/lib/method_ruby/models/payments/reversal_retrieve_response.rb +34 -0
  189. data/lib/method_ruby/models/payments/reversal_update_params.rb +61 -0
  190. data/lib/method_ruby/models/payments/reversal_update_response.rb +34 -0
  191. data/lib/method_ruby/models/ping_check_params.rb +16 -1
  192. data/lib/method_ruby/models/ping_check_response.rb +19 -27
  193. data/lib/method_ruby/models/report_create_params.rb +67 -0
  194. data/lib/method_ruby/models/report_create_response.rb +36 -0
  195. data/lib/method_ruby/models/report_retrieve_params.rb +35 -0
  196. data/lib/method_ruby/models/report_retrieve_response.rb +36 -0
  197. data/lib/method_ruby/models/reports/download_retrieve_params.rb +37 -0
  198. data/lib/method_ruby/models/reports/download_retrieve_response.rb +9 -0
  199. data/lib/method_ruby/models/resource_error.rb +11 -11
  200. data/lib/method_ruby/models/secret_create_params.rb +53 -0
  201. data/lib/method_ruby/models/secret_create_response.rb +31 -0
  202. data/lib/method_ruby/models/secret_delete_params.rb +41 -0
  203. data/lib/method_ruby/models/secret_delete_response.rb +28 -0
  204. data/lib/method_ruby/models/secret_list_params.rb +58 -0
  205. data/lib/method_ruby/models/secret_list_response.rb +31 -0
  206. data/lib/method_ruby/models/secret_retrieve_params.rb +35 -0
  207. data/lib/method_ruby/models/secret_retrieve_response.rb +31 -0
  208. data/lib/method_ruby/models/simulate/accounts/card_brand_create_params.rb +40 -0
  209. data/lib/method_ruby/models/simulate/accounts/card_brand_create_response.rb +36 -0
  210. data/lib/method_ruby/models/simulate/accounts/transaction_create_params.rb +66 -0
  211. data/lib/method_ruby/models/simulate/accounts/transaction_create_response.rb +36 -0
  212. data/lib/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rb +48 -0
  213. data/lib/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rb +37 -0
  214. data/lib/method_ruby/models/simulate/entities/attribute_create_params.rb +40 -0
  215. data/lib/method_ruby/models/simulate/entities/attribute_create_response.rb +35 -0
  216. data/lib/method_ruby/models/simulate/entities/connect_create_params.rb +39 -0
  217. data/lib/method_ruby/models/simulate/entities/connect_create_response.rb +35 -0
  218. data/lib/method_ruby/models/simulate/entities/credit_score_create_params.rb +65 -0
  219. data/lib/method_ruby/models/simulate/entities/credit_score_create_response.rb +35 -0
  220. data/lib/method_ruby/models/simulate/event_create_params.rb +48 -0
  221. data/lib/method_ruby/models/simulate/event_create_response.rb +33 -0
  222. data/lib/method_ruby/models/simulate/payment_create_params.rb +59 -0
  223. data/lib/method_ruby/models/simulate/payment_create_response.rb +34 -0
  224. data/lib/method_ruby/models/simulate/payments/payment_instrument_create_params.rb +50 -0
  225. data/lib/method_ruby/models/simulate/payments/payment_instrument_create_response.rb +36 -0
  226. data/lib/method_ruby/models/team_create_params.rb +45 -0
  227. data/lib/method_ruby/models/team_create_response.rb +32 -0
  228. data/lib/method_ruby/models/team_list_params.rb +29 -0
  229. data/lib/method_ruby/models/team_list_response.rb +32 -0
  230. data/lib/method_ruby/models/teams/default_encryption_key_create_params.rb +47 -0
  231. data/lib/method_ruby/models/teams/default_encryption_key_create_response.rb +34 -0
  232. data/lib/method_ruby/models/teams/mle/public_key_create_params.rb +49 -0
  233. data/lib/method_ruby/models/teams/mle/public_key_create_response.rb +36 -0
  234. data/lib/method_ruby/models/teams/mle/public_key_delete_params.rb +45 -0
  235. data/lib/method_ruby/models/teams/mle/public_key_delete_response.rb +36 -0
  236. data/lib/method_ruby/models/teams/mle/public_key_list_params.rb +33 -0
  237. data/lib/method_ruby/models/teams/mle/public_key_list_response.rb +35 -0
  238. data/lib/method_ruby/models/teams/mle/public_key_retrieve_params.rb +39 -0
  239. data/lib/method_ruby/models/teams/mle/public_key_retrieve_response.rb +36 -0
  240. data/lib/method_ruby/models/teams/mle_jwks_params.rb +16 -0
  241. data/lib/method_ruby/models/teams/mle_jwks_response.rb +70 -0
  242. data/lib/method_ruby/models/teams/mle_retrieve_method_key_params.rb +22 -0
  243. data/lib/method_ruby/models/teams/mle_retrieve_method_key_response.rb +33 -0
  244. data/lib/method_ruby/models/webhook_create_params.rb +203 -0
  245. data/lib/method_ruby/models/webhook_create_response.rb +31 -0
  246. data/lib/method_ruby/models/webhook_delete_params.rb +41 -0
  247. data/lib/method_ruby/models/webhook_delete_response.rb +31 -0
  248. data/lib/method_ruby/models/webhook_list_params.rb +29 -0
  249. data/lib/method_ruby/models/webhook_list_response.rb +31 -0
  250. data/lib/method_ruby/models/webhook_retrieve_params.rb +35 -0
  251. data/lib/method_ruby/models/webhook_retrieve_response.rb +31 -0
  252. data/lib/method_ruby/models/webhook_update_params.rb +59 -0
  253. data/lib/method_ruby/models/webhook_update_response.rb +31 -0
  254. data/lib/method_ruby/models.rb +74 -0
  255. data/lib/method_ruby/resources/accounts/attributes.rb +121 -0
  256. data/lib/method_ruby/resources/accounts/balances.rb +122 -0
  257. data/lib/method_ruby/resources/accounts/card_brands.rb +121 -0
  258. data/lib/method_ruby/resources/accounts/consent.rb +53 -0
  259. data/lib/method_ruby/resources/accounts/payment_instruments.rb +163 -0
  260. data/lib/method_ruby/resources/accounts/payoffs.rb +122 -0
  261. data/lib/method_ruby/resources/accounts/products.rb +79 -0
  262. data/lib/method_ruby/resources/accounts/sensitive.rb +122 -0
  263. data/lib/method_ruby/resources/accounts/subscriptions.rb +152 -0
  264. data/lib/method_ruby/resources/accounts/transactions.rb +93 -0
  265. data/lib/method_ruby/resources/accounts/updates.rb +121 -0
  266. data/lib/method_ruby/resources/accounts/verification_sessions/amounts.rb +54 -0
  267. data/lib/method_ruby/resources/accounts/verification_sessions.rb +185 -0
  268. data/lib/method_ruby/resources/accounts.rb +251 -0
  269. data/lib/method_ruby/resources/card_products.rb +44 -0
  270. data/lib/method_ruby/resources/entities/attributes.rb +126 -0
  271. data/lib/method_ruby/resources/entities/connect.rb +140 -0
  272. data/lib/method_ruby/resources/entities/consent.rb +53 -0
  273. data/lib/method_ruby/resources/entities/credit_scores.rb +125 -0
  274. data/lib/method_ruby/resources/entities/identities.rb +125 -0
  275. data/lib/method_ruby/resources/entities/manual_connect.rb +87 -0
  276. data/lib/method_ruby/resources/entities/products.rb +79 -0
  277. data/lib/method_ruby/resources/entities/subscriptions.rb +154 -0
  278. data/lib/method_ruby/resources/entities/vehicles.rb +115 -0
  279. data/lib/method_ruby/resources/entities/verification_sessions.rb +191 -0
  280. data/lib/method_ruby/resources/entities.rb +126 -38
  281. data/lib/method_ruby/resources/events.rb +84 -0
  282. data/lib/method_ruby/resources/forwarding_requests.rb +91 -0
  283. data/lib/method_ruby/resources/managed_accounts/transactions.rb +58 -0
  284. data/lib/method_ruby/resources/managed_accounts.rb +74 -0
  285. data/lib/method_ruby/resources/merchants.rb +76 -0
  286. data/lib/method_ruby/resources/payments/reversals.rb +119 -0
  287. data/lib/method_ruby/resources/payments.rb +211 -0
  288. data/lib/method_ruby/resources/ping.rb +13 -6
  289. data/lib/method_ruby/resources/reports/download.rb +45 -0
  290. data/lib/method_ruby/resources/reports.rb +82 -0
  291. data/lib/method_ruby/resources/secrets.rb +145 -0
  292. data/lib/method_ruby/resources/simulate/accounts/card_brands.rb +52 -0
  293. data/lib/method_ruby/resources/simulate/accounts/transactions.rb +60 -0
  294. data/lib/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rb +62 -0
  295. data/lib/method_ruby/resources/simulate/accounts/verification_sessions.rb +23 -0
  296. data/lib/method_ruby/resources/simulate/accounts.rb +31 -0
  297. data/lib/method_ruby/resources/simulate/entities/attributes.rb +52 -0
  298. data/lib/method_ruby/resources/simulate/entities/connect.rb +51 -0
  299. data/lib/method_ruby/resources/simulate/entities/credit_scores.rb +64 -0
  300. data/lib/method_ruby/resources/simulate/entities.rb +31 -0
  301. data/lib/method_ruby/resources/simulate/events.rb +53 -0
  302. data/lib/method_ruby/resources/simulate/payments/payment_instruments.rb +56 -0
  303. data/lib/method_ruby/resources/simulate/payments.rb +60 -0
  304. data/lib/method_ruby/resources/simulate.rb +32 -0
  305. data/lib/method_ruby/resources/teams/default_encryption_key.rb +50 -0
  306. data/lib/method_ruby/resources/teams/mle/public_keys.rb +138 -0
  307. data/lib/method_ruby/resources/teams/mle.rb +62 -0
  308. data/lib/method_ruby/resources/teams.rb +83 -0
  309. data/lib/method_ruby/resources/webhooks.rb +178 -0
  310. data/lib/method_ruby/version.rb +1 -1
  311. data/lib/method_ruby.rb +283 -0
  312. data/rbi/method_ruby/client.rbi +72 -8
  313. data/rbi/method_ruby/internal/transport/base_client.rbi +10 -4
  314. data/rbi/method_ruby/internal/util.rbi +8 -0
  315. data/rbi/method_ruby/models/account_create_params.rbi +962 -0
  316. data/rbi/method_ruby/models/account_create_response.rbi +28236 -0
  317. data/rbi/method_ruby/models/account_list_params.rbi +585 -0
  318. data/rbi/method_ruby/models/account_list_response.rbi +48 -0
  319. data/rbi/method_ruby/models/account_retrieve_params.rbi +173 -0
  320. data/rbi/method_ruby/models/account_retrieve_response.rbi +28240 -0
  321. data/rbi/method_ruby/models/account_update_params.rbi +317 -0
  322. data/rbi/method_ruby/models/account_update_response.rbi +42 -0
  323. data/rbi/method_ruby/models/accounts/attribute_create_params.rbi +96 -0
  324. data/rbi/method_ruby/models/accounts/attribute_create_response.rbi +56 -0
  325. data/rbi/method_ruby/models/accounts/attribute_list_params.rbi +122 -0
  326. data/rbi/method_ruby/models/accounts/attribute_list_response.rbi +54 -0
  327. data/rbi/method_ruby/models/accounts/attribute_retrieve_params.rbi +93 -0
  328. data/rbi/method_ruby/models/accounts/attribute_retrieve_response.rbi +56 -0
  329. data/rbi/method_ruby/models/accounts/balance_create_params.rbi +96 -0
  330. data/rbi/method_ruby/models/accounts/balance_create_response.rbi +56 -0
  331. data/rbi/method_ruby/models/accounts/balance_list_params.rbi +122 -0
  332. data/rbi/method_ruby/models/accounts/balance_list_response.rbi +54 -0
  333. data/rbi/method_ruby/models/accounts/balance_retrieve_params.rbi +88 -0
  334. data/rbi/method_ruby/models/accounts/balance_retrieve_response.rbi +56 -0
  335. data/rbi/method_ruby/models/accounts/card_brand_create_params.rbi +96 -0
  336. data/rbi/method_ruby/models/accounts/card_brand_create_response.rbi +56 -0
  337. data/rbi/method_ruby/models/accounts/card_brand_list_params.rbi +122 -0
  338. data/rbi/method_ruby/models/accounts/card_brand_list_response.rbi +54 -0
  339. data/rbi/method_ruby/models/accounts/card_brand_retrieve_params.rbi +93 -0
  340. data/rbi/method_ruby/models/accounts/card_brand_retrieve_response.rbi +56 -0
  341. data/rbi/method_ruby/models/accounts/consent_withdraw_params.rbi +144 -0
  342. data/rbi/method_ruby/models/accounts/consent_withdraw_response.rbi +28313 -0
  343. data/rbi/method_ruby/models/accounts/payment_instrument_create_params.rbi +150 -0
  344. data/rbi/method_ruby/models/accounts/payment_instrument_create_response.rbi +56 -0
  345. data/rbi/method_ruby/models/accounts/payment_instrument_delete_params.rbi +102 -0
  346. data/rbi/method_ruby/models/accounts/payment_instrument_delete_response.rbi +56 -0
  347. data/rbi/method_ruby/models/accounts/payment_instrument_list_params.rbi +122 -0
  348. data/rbi/method_ruby/models/accounts/payment_instrument_list_response.rbi +54 -0
  349. data/rbi/method_ruby/models/accounts/payment_instrument_retrieve_params.rbi +93 -0
  350. data/rbi/method_ruby/models/accounts/payment_instrument_retrieve_response.rbi +56 -0
  351. data/rbi/method_ruby/models/accounts/payoff_create_params.rbi +96 -0
  352. data/rbi/method_ruby/models/accounts/payoff_create_response.rbi +56 -0
  353. data/rbi/method_ruby/models/accounts/payoff_list_params.rbi +122 -0
  354. data/rbi/method_ruby/models/accounts/payoff_list_response.rbi +54 -0
  355. data/rbi/method_ruby/models/accounts/payoff_retrieve_params.rbi +88 -0
  356. data/rbi/method_ruby/models/accounts/payoff_retrieve_response.rbi +56 -0
  357. data/rbi/method_ruby/models/accounts/product_list_params.rbi +83 -0
  358. data/rbi/method_ruby/models/accounts/product_list_response.rbi +56 -0
  359. data/rbi/method_ruby/models/accounts/product_retrieve_params.rbi +88 -0
  360. data/rbi/method_ruby/models/accounts/product_retrieve_response.rbi +56 -0
  361. data/rbi/method_ruby/models/accounts/sensitive_create_params.rbi +104 -0
  362. data/rbi/method_ruby/models/accounts/sensitive_create_response.rbi +56 -0
  363. data/rbi/method_ruby/models/accounts/sensitive_list_params.rbi +122 -0
  364. data/rbi/method_ruby/models/accounts/sensitive_list_response.rbi +54 -0
  365. data/rbi/method_ruby/models/accounts/sensitive_retrieve_params.rbi +93 -0
  366. data/rbi/method_ruby/models/accounts/sensitive_retrieve_response.rbi +56 -0
  367. data/rbi/method_ruby/models/accounts/subscription_create_params.rbi +104 -0
  368. data/rbi/method_ruby/models/accounts/subscription_create_response.rbi +56 -0
  369. data/rbi/method_ruby/models/accounts/subscription_delete_params.rbi +102 -0
  370. data/rbi/method_ruby/models/accounts/subscription_delete_response.rbi +56 -0
  371. data/rbi/method_ruby/models/accounts/subscription_list_params.rbi +83 -0
  372. data/rbi/method_ruby/models/accounts/subscription_list_response.rbi +56 -0
  373. data/rbi/method_ruby/models/accounts/subscription_retrieve_params.rbi +88 -0
  374. data/rbi/method_ruby/models/accounts/subscription_retrieve_response.rbi +56 -0
  375. data/rbi/method_ruby/models/accounts/transaction_list_params.rbi +144 -0
  376. data/rbi/method_ruby/models/accounts/transaction_list_response.rbi +54 -0
  377. data/rbi/method_ruby/models/accounts/transaction_retrieve_params.rbi +93 -0
  378. data/rbi/method_ruby/models/accounts/transaction_retrieve_response.rbi +56 -0
  379. data/rbi/method_ruby/models/accounts/update_create_params.rbi +96 -0
  380. data/rbi/method_ruby/models/accounts/update_create_response.rbi +56 -0
  381. data/rbi/method_ruby/models/accounts/update_list_params.rbi +122 -0
  382. data/rbi/method_ruby/models/accounts/update_list_response.rbi +54 -0
  383. data/rbi/method_ruby/models/accounts/update_retrieve_params.rbi +93 -0
  384. data/rbi/method_ruby/models/accounts/update_retrieve_response.rbi +56 -0
  385. data/rbi/method_ruby/models/accounts/verification_session_create_params.rbi +195 -0
  386. data/rbi/method_ruby/models/accounts/verification_session_create_response.rbi +56 -0
  387. data/rbi/method_ruby/models/accounts/verification_session_list_params.rbi +122 -0
  388. data/rbi/method_ruby/models/accounts/verification_session_list_response.rbi +54 -0
  389. data/rbi/method_ruby/models/accounts/verification_session_retrieve_params.rbi +88 -0
  390. data/rbi/method_ruby/models/accounts/verification_session_retrieve_response.rbi +56 -0
  391. data/rbi/method_ruby/models/accounts/verification_session_update_params.rbi +689 -0
  392. data/rbi/method_ruby/models/accounts/verification_session_update_response.rbi +56 -0
  393. data/rbi/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rbi +95 -0
  394. data/rbi/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rbi +56 -0
  395. data/rbi/method_ruby/models/address.rbi +11 -4
  396. data/rbi/method_ruby/models/card_product_retrieve_params.rbi +76 -0
  397. data/rbi/method_ruby/models/card_product_retrieve_response.rbi +50 -0
  398. data/rbi/method_ruby/models/entities/attribute_create_params.rbi +107 -0
  399. data/rbi/method_ruby/models/entities/attribute_create_response.rbi +54 -0
  400. data/rbi/method_ruby/models/entities/attribute_list_params.rbi +144 -0
  401. data/rbi/method_ruby/models/entities/attribute_list_response.rbi +54 -0
  402. data/rbi/method_ruby/models/entities/attribute_retrieve_params.rbi +88 -0
  403. data/rbi/method_ruby/models/entities/attribute_retrieve_response.rbi +54 -0
  404. data/rbi/method_ruby/models/entities/connect_create_params.rbi +228 -0
  405. data/rbi/method_ruby/models/entities/connect_create_response.rbi +54 -0
  406. data/rbi/method_ruby/models/entities/connect_list_params.rbi +254 -0
  407. data/rbi/method_ruby/models/entities/connect_list_response.rbi +54 -0
  408. data/rbi/method_ruby/models/entities/connect_retrieve_params.rbi +203 -0
  409. data/rbi/method_ruby/models/entities/connect_retrieve_response.rbi +54 -0
  410. data/rbi/method_ruby/models/entities/consent_withdraw_params.rbi +149 -0
  411. data/rbi/method_ruby/models/entities/consent_withdraw_response.rbi +60 -0
  412. data/rbi/method_ruby/models/entities/credit_score_create_params.rbi +96 -0
  413. data/rbi/method_ruby/models/entities/credit_score_create_response.rbi +54 -0
  414. data/rbi/method_ruby/models/entities/credit_score_list_params.rbi +144 -0
  415. data/rbi/method_ruby/models/entities/credit_score_list_response.rbi +54 -0
  416. data/rbi/method_ruby/models/entities/credit_score_retrieve_params.rbi +88 -0
  417. data/rbi/method_ruby/models/entities/credit_score_retrieve_response.rbi +54 -0
  418. data/rbi/method_ruby/models/entities/identity_create_params.rbi +96 -0
  419. data/rbi/method_ruby/models/entities/identity_create_response.rbi +54 -0
  420. data/rbi/method_ruby/models/entities/identity_list_params.rbi +144 -0
  421. data/rbi/method_ruby/models/entities/identity_list_response.rbi +54 -0
  422. data/rbi/method_ruby/models/entities/identity_retrieve_params.rbi +88 -0
  423. data/rbi/method_ruby/models/entities/identity_retrieve_response.rbi +54 -0
  424. data/rbi/method_ruby/models/entities/manual_connect_create_params.rbi +440 -0
  425. data/rbi/method_ruby/models/entities/manual_connect_create_response.rbi +54 -0
  426. data/rbi/method_ruby/models/entities/manual_connect_retrieve_params.rbi +88 -0
  427. data/rbi/method_ruby/models/entities/manual_connect_retrieve_response.rbi +54 -0
  428. data/rbi/method_ruby/models/entities/product_list_params.rbi +83 -0
  429. data/rbi/method_ruby/models/entities/product_list_response.rbi +56 -0
  430. data/rbi/method_ruby/models/entities/product_retrieve_params.rbi +88 -0
  431. data/rbi/method_ruby/models/entities/product_retrieve_response.rbi +54 -0
  432. data/rbi/method_ruby/models/entities/subscription_create_params.rbi +263 -0
  433. data/rbi/method_ruby/models/entities/subscription_create_response.rbi +54 -0
  434. data/rbi/method_ruby/models/entities/subscription_delete_params.rbi +102 -0
  435. data/rbi/method_ruby/models/entities/subscription_delete_response.rbi +54 -0
  436. data/rbi/method_ruby/models/entities/subscription_list_params.rbi +83 -0
  437. data/rbi/method_ruby/models/entities/subscription_list_response.rbi +56 -0
  438. data/rbi/method_ruby/models/entities/subscription_retrieve_params.rbi +88 -0
  439. data/rbi/method_ruby/models/entities/subscription_retrieve_response.rbi +54 -0
  440. data/rbi/method_ruby/models/entities/vehicle_create_params.rbi +104 -0
  441. data/rbi/method_ruby/models/entities/vehicle_create_response.rbi +54 -0
  442. data/rbi/method_ruby/models/entities/vehicle_list_params.rbi +83 -0
  443. data/rbi/method_ruby/models/entities/vehicle_list_response.rbi +54 -0
  444. data/rbi/method_ruby/models/entities/vehicle_retrieve_params.rbi +88 -0
  445. data/rbi/method_ruby/models/entities/vehicle_retrieve_response.rbi +54 -0
  446. data/rbi/method_ruby/models/entities/verification_session_create_params.rbi +316 -0
  447. data/rbi/method_ruby/models/entities/verification_session_create_response.rbi +54 -0
  448. data/rbi/method_ruby/models/entities/verification_session_list_params.rbi +144 -0
  449. data/rbi/method_ruby/models/entities/verification_session_list_response.rbi +54 -0
  450. data/rbi/method_ruby/models/entities/verification_session_retrieve_params.rbi +88 -0
  451. data/rbi/method_ruby/models/entities/verification_session_retrieve_response.rbi +54 -0
  452. data/rbi/method_ruby/models/entities/verification_session_update_params.rbi +365 -0
  453. data/rbi/method_ruby/models/entities/verification_session_update_response.rbi +54 -0
  454. data/rbi/method_ruby/models/entity.rbi +32808 -112
  455. data/rbi/method_ruby/models/entity_corporation.rbi +24 -23
  456. data/rbi/method_ruby/models/entity_corporation_owner.rbi +12 -0
  457. data/rbi/method_ruby/models/entity_create_params.rbi +96 -53
  458. data/rbi/method_ruby/models/entity_create_response.rbi +25 -51
  459. data/rbi/method_ruby/models/entity_individual.rbi +34 -14
  460. data/rbi/method_ruby/models/entity_list_params.rbi +156 -25
  461. data/rbi/method_ruby/models/entity_list_response.rbi +17 -53
  462. data/rbi/method_ruby/models/entity_retrieve_params.rbi +74 -19
  463. data/rbi/method_ruby/models/entity_retrieve_response.rbi +25 -56
  464. data/rbi/method_ruby/models/entity_update_params.rbi +210 -43
  465. data/rbi/method_ruby/models/entity_update_response.rbi +25 -51
  466. data/rbi/method_ruby/models/event_list_params.rbi +134 -0
  467. data/rbi/method_ruby/models/event_list_response.rbi +48 -0
  468. data/rbi/method_ruby/models/event_retrieve_params.rbi +71 -0
  469. data/rbi/method_ruby/models/event_retrieve_response.rbi +48 -0
  470. data/rbi/method_ruby/models/forwarding_request_create_params.rbi +186 -0
  471. data/rbi/method_ruby/models/forwarding_request_create_response.rbi +48 -0
  472. data/rbi/method_ruby/models/forwarding_request_retrieve_params.rbi +81 -0
  473. data/rbi/method_ruby/models/forwarding_request_retrieve_response.rbi +48 -0
  474. data/rbi/method_ruby/models/managed_account_list_params.rbi +71 -0
  475. data/rbi/method_ruby/models/managed_account_list_response.rbi +48 -0
  476. data/rbi/method_ruby/models/managed_account_retrieve_params.rbi +81 -0
  477. data/rbi/method_ruby/models/managed_account_retrieve_response.rbi +52 -0
  478. data/rbi/method_ruby/models/managed_accounts/transaction_list_params.rbi +144 -0
  479. data/rbi/method_ruby/models/managed_accounts/transaction_list_response.rbi +54 -0
  480. data/rbi/method_ruby/models/merchant_list_params.rbi +181 -0
  481. data/rbi/method_ruby/models/merchant_list_response.rbi +48 -0
  482. data/rbi/method_ruby/models/merchant_retrieve_params.rbi +76 -0
  483. data/rbi/method_ruby/models/merchant_retrieve_response.rbi +48 -0
  484. data/rbi/method_ruby/models/payment_create_params.rbi +234 -0
  485. data/rbi/method_ruby/models/payment_create_response.rbi +50 -0
  486. data/rbi/method_ruby/models/payment_delete_params.rbi +84 -0
  487. data/rbi/method_ruby/models/payment_delete_response.rbi +50 -0
  488. data/rbi/method_ruby/models/payment_list_params.rbi +342 -0
  489. data/rbi/method_ruby/models/payment_list_response.rbi +48 -0
  490. data/rbi/method_ruby/models/payment_retrieve_params.rbi +143 -0
  491. data/rbi/method_ruby/models/payment_retrieve_response.rbi +50 -0
  492. data/rbi/method_ruby/models/payments/reversal_list_params.rbi +83 -0
  493. data/rbi/method_ruby/models/payments/reversal_list_response.rbi +54 -0
  494. data/rbi/method_ruby/models/payments/reversal_retrieve_params.rbi +93 -0
  495. data/rbi/method_ruby/models/payments/reversal_retrieve_response.rbi +56 -0
  496. data/rbi/method_ruby/models/payments/reversal_update_params.rbi +113 -0
  497. data/rbi/method_ruby/models/payments/reversal_update_response.rbi +56 -0
  498. data/rbi/method_ruby/models/ping_check_params.rbi +41 -5
  499. data/rbi/method_ruby/models/ping_check_response.rbi +27 -69
  500. data/rbi/method_ruby/models/report_create_params.rbi +169 -0
  501. data/rbi/method_ruby/models/report_create_response.rbi +52 -0
  502. data/rbi/method_ruby/models/report_retrieve_params.rbi +71 -0
  503. data/rbi/method_ruby/models/report_retrieve_response.rbi +52 -0
  504. data/rbi/method_ruby/models/reports/download_retrieve_params.rbi +83 -0
  505. data/rbi/method_ruby/models/reports/download_retrieve_response.rbi +9 -0
  506. data/rbi/method_ruby/models/resource_error.rbi +16 -23
  507. data/rbi/method_ruby/models/secret_create_params.rbi +94 -0
  508. data/rbi/method_ruby/models/secret_create_response.rbi +48 -0
  509. data/rbi/method_ruby/models/secret_delete_params.rbi +84 -0
  510. data/rbi/method_ruby/models/secret_delete_response.rbi +42 -0
  511. data/rbi/method_ruby/models/secret_list_params.rbi +101 -0
  512. data/rbi/method_ruby/models/secret_list_response.rbi +48 -0
  513. data/rbi/method_ruby/models/secret_retrieve_params.rbi +71 -0
  514. data/rbi/method_ruby/models/secret_retrieve_response.rbi +48 -0
  515. data/rbi/method_ruby/models/simulate/accounts/card_brand_create_params.rbi +85 -0
  516. data/rbi/method_ruby/models/simulate/accounts/card_brand_create_response.rbi +58 -0
  517. data/rbi/method_ruby/models/simulate/accounts/transaction_create_params.rbi +119 -0
  518. data/rbi/method_ruby/models/simulate/accounts/transaction_create_response.rbi +58 -0
  519. data/rbi/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rbi +97 -0
  520. data/rbi/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rbi +58 -0
  521. data/rbi/method_ruby/models/simulate/entities/attribute_create_params.rbi +85 -0
  522. data/rbi/method_ruby/models/simulate/entities/attribute_create_response.rbi +56 -0
  523. data/rbi/method_ruby/models/simulate/entities/connect_create_params.rbi +85 -0
  524. data/rbi/method_ruby/models/simulate/entities/connect_create_response.rbi +56 -0
  525. data/rbi/method_ruby/models/simulate/entities/credit_score_create_params.rbi +114 -0
  526. data/rbi/method_ruby/models/simulate/entities/credit_score_create_response.rbi +56 -0
  527. data/rbi/method_ruby/models/simulate/event_create_params.rbi +97 -0
  528. data/rbi/method_ruby/models/simulate/event_create_response.rbi +54 -0
  529. data/rbi/method_ruby/models/simulate/payment_create_params.rbi +108 -0
  530. data/rbi/method_ruby/models/simulate/payment_create_response.rbi +56 -0
  531. data/rbi/method_ruby/models/simulate/payments/payment_instrument_create_params.rbi +97 -0
  532. data/rbi/method_ruby/models/simulate/payments/payment_instrument_create_response.rbi +58 -0
  533. data/rbi/method_ruby/models/team_create_params.rbi +83 -0
  534. data/rbi/method_ruby/models/team_create_response.rbi +50 -0
  535. data/rbi/method_ruby/models/team_list_params.rbi +62 -0
  536. data/rbi/method_ruby/models/team_list_response.rbi +50 -0
  537. data/rbi/method_ruby/models/teams/default_encryption_key_create_params.rbi +98 -0
  538. data/rbi/method_ruby/models/teams/default_encryption_key_create_response.rbi +56 -0
  539. data/rbi/method_ruby/models/teams/mle/public_key_create_params.rbi +100 -0
  540. data/rbi/method_ruby/models/teams/mle/public_key_create_response.rbi +58 -0
  541. data/rbi/method_ruby/models/teams/mle/public_key_delete_params.rbi +98 -0
  542. data/rbi/method_ruby/models/teams/mle/public_key_delete_response.rbi +58 -0
  543. data/rbi/method_ruby/models/teams/mle/public_key_list_params.rbi +80 -0
  544. data/rbi/method_ruby/models/teams/mle/public_key_list_response.rbi +56 -0
  545. data/rbi/method_ruby/models/teams/mle/public_key_retrieve_params.rbi +85 -0
  546. data/rbi/method_ruby/models/teams/mle/public_key_retrieve_response.rbi +58 -0
  547. data/rbi/method_ruby/models/teams/mle_jwks_params.rbi +34 -0
  548. data/rbi/method_ruby/models/teams/mle_jwks_response.rbi +114 -0
  549. data/rbi/method_ruby/models/teams/mle_retrieve_method_key_params.rbi +40 -0
  550. data/rbi/method_ruby/models/teams/mle_retrieve_method_key_response.rbi +54 -0
  551. data/rbi/method_ruby/models/webhook_create_params.rbi +610 -0
  552. data/rbi/method_ruby/models/webhook_create_response.rbi +48 -0
  553. data/rbi/method_ruby/models/webhook_delete_params.rbi +84 -0
  554. data/rbi/method_ruby/models/webhook_delete_response.rbi +48 -0
  555. data/rbi/method_ruby/models/webhook_list_params.rbi +64 -0
  556. data/rbi/method_ruby/models/webhook_list_response.rbi +48 -0
  557. data/rbi/method_ruby/models/webhook_retrieve_params.rbi +76 -0
  558. data/rbi/method_ruby/models/webhook_retrieve_response.rbi +48 -0
  559. data/rbi/method_ruby/models/webhook_update_params.rbi +123 -0
  560. data/rbi/method_ruby/models/webhook_update_response.rbi +48 -0
  561. data/rbi/method_ruby/models.rbi +77 -0
  562. data/rbi/method_ruby/resources/accounts/attributes.rbi +89 -0
  563. data/rbi/method_ruby/resources/accounts/balances.rbi +90 -0
  564. data/rbi/method_ruby/resources/accounts/card_brands.rbi +89 -0
  565. data/rbi/method_ruby/resources/accounts/consent.rbi +45 -0
  566. data/rbi/method_ruby/resources/accounts/payment_instruments.rbi +128 -0
  567. data/rbi/method_ruby/resources/accounts/payoffs.rbi +90 -0
  568. data/rbi/method_ruby/resources/accounts/products.rbi +56 -0
  569. data/rbi/method_ruby/resources/accounts/sensitive.rbi +93 -0
  570. data/rbi/method_ruby/resources/accounts/subscriptions.rbi +110 -0
  571. data/rbi/method_ruby/resources/accounts/transactions.rbi +73 -0
  572. data/rbi/method_ruby/resources/accounts/updates.rbi +89 -0
  573. data/rbi/method_ruby/resources/accounts/verification_sessions/amounts.rbi +41 -0
  574. data/rbi/method_ruby/resources/accounts/verification_sessions.rbi +171 -0
  575. data/rbi/method_ruby/resources/accounts.rbi +210 -0
  576. data/rbi/method_ruby/resources/card_products.rbi +33 -0
  577. data/rbi/method_ruby/resources/entities/attributes.rbi +99 -0
  578. data/rbi/method_ruby/resources/entities/connect.rbi +123 -0
  579. data/rbi/method_ruby/resources/entities/consent.rbi +45 -0
  580. data/rbi/method_ruby/resources/entities/credit_scores.rbi +95 -0
  581. data/rbi/method_ruby/resources/entities/identities.rbi +95 -0
  582. data/rbi/method_ruby/resources/entities/manual_connect.rbi +71 -0
  583. data/rbi/method_ruby/resources/entities/products.rbi +56 -0
  584. data/rbi/method_ruby/resources/entities/subscriptions.rbi +118 -0
  585. data/rbi/method_ruby/resources/entities/vehicles.rbi +84 -0
  586. data/rbi/method_ruby/resources/entities/verification_sessions.rbi +175 -0
  587. data/rbi/method_ruby/resources/entities.rbi +103 -36
  588. data/rbi/method_ruby/resources/events.rbi +66 -0
  589. data/rbi/method_ruby/resources/forwarding_requests.rbi +77 -0
  590. data/rbi/method_ruby/resources/managed_accounts/transactions.rbi +52 -0
  591. data/rbi/method_ruby/resources/managed_accounts.rbi +52 -0
  592. data/rbi/method_ruby/resources/merchants.rbi +54 -0
  593. data/rbi/method_ruby/resources/payments/reversals.rbi +86 -0
  594. data/rbi/method_ruby/resources/payments.rbi +177 -0
  595. data/rbi/method_ruby/resources/ping.rbi +12 -6
  596. data/rbi/method_ruby/resources/reports/download.rbi +34 -0
  597. data/rbi/method_ruby/resources/reports.rbi +62 -0
  598. data/rbi/method_ruby/resources/secrets.rbi +107 -0
  599. data/rbi/method_ruby/resources/simulate/accounts/card_brands.rbi +42 -0
  600. data/rbi/method_ruby/resources/simulate/accounts/transactions.rbi +51 -0
  601. data/rbi/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rbi +48 -0
  602. data/rbi/method_ruby/resources/simulate/accounts/verification_sessions.rbi +24 -0
  603. data/rbi/method_ruby/resources/simulate/accounts.rbi +29 -0
  604. data/rbi/method_ruby/resources/simulate/entities/attributes.rbi +42 -0
  605. data/rbi/method_ruby/resources/simulate/entities/connect.rbi +42 -0
  606. data/rbi/method_ruby/resources/simulate/entities/credit_scores.rbi +51 -0
  607. data/rbi/method_ruby/resources/simulate/entities.rbi +26 -0
  608. data/rbi/method_ruby/resources/simulate/events.rbi +41 -0
  609. data/rbi/method_ruby/resources/simulate/payments/payment_instruments.rbi +45 -0
  610. data/rbi/method_ruby/resources/simulate/payments.rbi +51 -0
  611. data/rbi/method_ruby/resources/simulate.rbi +26 -0
  612. data/rbi/method_ruby/resources/teams/default_encryption_key.rbi +42 -0
  613. data/rbi/method_ruby/resources/teams/mle/public_keys.rbi +99 -0
  614. data/rbi/method_ruby/resources/teams/mle.rbi +42 -0
  615. data/rbi/method_ruby/resources/teams.rbi +59 -0
  616. data/rbi/method_ruby/resources/webhooks.rbi +139 -0
  617. data/sig/method_ruby/client.rbs +31 -2
  618. data/sig/method_ruby/internal/transport/base_client.rbs +2 -2
  619. data/sig/method_ruby/internal/util.rbs +4 -0
  620. data/sig/method_ruby/models/account_create_params.rbs +429 -0
  621. data/sig/method_ruby/models/account_create_response.rbs +11226 -0
  622. data/sig/method_ruby/models/account_list_params.rbs +289 -0
  623. data/sig/method_ruby/models/account_list_response.rbs +17 -0
  624. data/sig/method_ruby/models/account_retrieve_params.rbs +79 -0
  625. data/sig/method_ruby/models/account_retrieve_response.rbs +11226 -0
  626. data/sig/method_ruby/models/account_update_params.rbs +172 -0
  627. data/sig/method_ruby/models/account_update_response.rbs +18 -0
  628. data/sig/method_ruby/models/accounts/attribute_create_params.rbs +50 -0
  629. data/sig/method_ruby/models/accounts/attribute_create_response.rbs +20 -0
  630. data/sig/method_ruby/models/accounts/attribute_list_params.rbs +64 -0
  631. data/sig/method_ruby/models/accounts/attribute_list_response.rbs +20 -0
  632. data/sig/method_ruby/models/accounts/attribute_retrieve_params.rbs +48 -0
  633. data/sig/method_ruby/models/accounts/attribute_retrieve_response.rbs +20 -0
  634. data/sig/method_ruby/models/accounts/balance_create_params.rbs +50 -0
  635. data/sig/method_ruby/models/accounts/balance_create_response.rbs +20 -0
  636. data/sig/method_ruby/models/accounts/balance_list_params.rbs +64 -0
  637. data/sig/method_ruby/models/accounts/balance_list_response.rbs +20 -0
  638. data/sig/method_ruby/models/accounts/balance_retrieve_params.rbs +48 -0
  639. data/sig/method_ruby/models/accounts/balance_retrieve_response.rbs +20 -0
  640. data/sig/method_ruby/models/accounts/card_brand_create_params.rbs +50 -0
  641. data/sig/method_ruby/models/accounts/card_brand_create_response.rbs +20 -0
  642. data/sig/method_ruby/models/accounts/card_brand_list_params.rbs +64 -0
  643. data/sig/method_ruby/models/accounts/card_brand_list_response.rbs +20 -0
  644. data/sig/method_ruby/models/accounts/card_brand_retrieve_params.rbs +48 -0
  645. data/sig/method_ruby/models/accounts/card_brand_retrieve_response.rbs +20 -0
  646. data/sig/method_ruby/models/accounts/consent_withdraw_params.rbs +72 -0
  647. data/sig/method_ruby/models/accounts/consent_withdraw_response.rbs +11232 -0
  648. data/sig/method_ruby/models/accounts/payment_instrument_create_params.rbs +67 -0
  649. data/sig/method_ruby/models/accounts/payment_instrument_create_response.rbs +20 -0
  650. data/sig/method_ruby/models/accounts/payment_instrument_delete_params.rbs +55 -0
  651. data/sig/method_ruby/models/accounts/payment_instrument_delete_response.rbs +20 -0
  652. data/sig/method_ruby/models/accounts/payment_instrument_list_params.rbs +64 -0
  653. data/sig/method_ruby/models/accounts/payment_instrument_list_response.rbs +20 -0
  654. data/sig/method_ruby/models/accounts/payment_instrument_retrieve_params.rbs +48 -0
  655. data/sig/method_ruby/models/accounts/payment_instrument_retrieve_response.rbs +20 -0
  656. data/sig/method_ruby/models/accounts/payoff_create_params.rbs +50 -0
  657. data/sig/method_ruby/models/accounts/payoff_create_response.rbs +20 -0
  658. data/sig/method_ruby/models/accounts/payoff_list_params.rbs +64 -0
  659. data/sig/method_ruby/models/accounts/payoff_list_response.rbs +19 -0
  660. data/sig/method_ruby/models/accounts/payoff_retrieve_params.rbs +48 -0
  661. data/sig/method_ruby/models/accounts/payoff_retrieve_response.rbs +20 -0
  662. data/sig/method_ruby/models/accounts/product_list_params.rbs +43 -0
  663. data/sig/method_ruby/models/accounts/product_list_response.rbs +20 -0
  664. data/sig/method_ruby/models/accounts/product_retrieve_params.rbs +48 -0
  665. data/sig/method_ruby/models/accounts/product_retrieve_response.rbs +20 -0
  666. data/sig/method_ruby/models/accounts/sensitive_create_params.rbs +55 -0
  667. data/sig/method_ruby/models/accounts/sensitive_create_response.rbs +20 -0
  668. data/sig/method_ruby/models/accounts/sensitive_list_params.rbs +64 -0
  669. data/sig/method_ruby/models/accounts/sensitive_list_response.rbs +20 -0
  670. data/sig/method_ruby/models/accounts/sensitive_retrieve_params.rbs +48 -0
  671. data/sig/method_ruby/models/accounts/sensitive_retrieve_response.rbs +20 -0
  672. data/sig/method_ruby/models/accounts/subscription_create_params.rbs +55 -0
  673. data/sig/method_ruby/models/accounts/subscription_create_response.rbs +20 -0
  674. data/sig/method_ruby/models/accounts/subscription_delete_params.rbs +55 -0
  675. data/sig/method_ruby/models/accounts/subscription_delete_response.rbs +20 -0
  676. data/sig/method_ruby/models/accounts/subscription_list_params.rbs +43 -0
  677. data/sig/method_ruby/models/accounts/subscription_list_response.rbs +20 -0
  678. data/sig/method_ruby/models/accounts/subscription_retrieve_params.rbs +48 -0
  679. data/sig/method_ruby/models/accounts/subscription_retrieve_response.rbs +20 -0
  680. data/sig/method_ruby/models/accounts/transaction_list_params.rbs +78 -0
  681. data/sig/method_ruby/models/accounts/transaction_list_response.rbs +20 -0
  682. data/sig/method_ruby/models/accounts/transaction_retrieve_params.rbs +48 -0
  683. data/sig/method_ruby/models/accounts/transaction_retrieve_response.rbs +20 -0
  684. data/sig/method_ruby/models/accounts/update_create_params.rbs +50 -0
  685. data/sig/method_ruby/models/accounts/update_create_response.rbs +20 -0
  686. data/sig/method_ruby/models/accounts/update_list_params.rbs +64 -0
  687. data/sig/method_ruby/models/accounts/update_list_response.rbs +19 -0
  688. data/sig/method_ruby/models/accounts/update_retrieve_params.rbs +48 -0
  689. data/sig/method_ruby/models/accounts/update_retrieve_response.rbs +20 -0
  690. data/sig/method_ruby/models/accounts/verification_session_create_params.rbs +88 -0
  691. data/sig/method_ruby/models/accounts/verification_session_create_response.rbs +20 -0
  692. data/sig/method_ruby/models/accounts/verification_session_list_params.rbs +64 -0
  693. data/sig/method_ruby/models/accounts/verification_session_list_response.rbs +20 -0
  694. data/sig/method_ruby/models/accounts/verification_session_retrieve_params.rbs +48 -0
  695. data/sig/method_ruby/models/accounts/verification_session_retrieve_response.rbs +20 -0
  696. data/sig/method_ruby/models/accounts/verification_session_update_params.rbs +297 -0
  697. data/sig/method_ruby/models/accounts/verification_session_update_response.rbs +20 -0
  698. data/sig/method_ruby/models/accounts/verification_sessions/amount_retrieve_params.rbs +50 -0
  699. data/sig/method_ruby/models/accounts/verification_sessions/amount_retrieve_response.rbs +22 -0
  700. data/sig/method_ruby/models/card_product_retrieve_params.rbs +41 -0
  701. data/sig/method_ruby/models/card_product_retrieve_response.rbs +18 -0
  702. data/sig/method_ruby/models/entities/attribute_create_params.rbs +57 -0
  703. data/sig/method_ruby/models/entities/attribute_create_response.rbs +20 -0
  704. data/sig/method_ruby/models/entities/attribute_list_params.rbs +78 -0
  705. data/sig/method_ruby/models/entities/attribute_list_response.rbs +20 -0
  706. data/sig/method_ruby/models/entities/attribute_retrieve_params.rbs +48 -0
  707. data/sig/method_ruby/models/entities/attribute_retrieve_response.rbs +20 -0
  708. data/sig/method_ruby/models/entities/connect_create_params.rbs +104 -0
  709. data/sig/method_ruby/models/entities/connect_create_response.rbs +20 -0
  710. data/sig/method_ruby/models/entities/connect_list_params.rbs +118 -0
  711. data/sig/method_ruby/models/entities/connect_list_response.rbs +20 -0
  712. data/sig/method_ruby/models/entities/connect_retrieve_params.rbs +88 -0
  713. data/sig/method_ruby/models/entities/connect_retrieve_response.rbs +20 -0
  714. data/sig/method_ruby/models/entities/consent_withdraw_params.rbs +73 -0
  715. data/sig/method_ruby/models/entities/consent_withdraw_response.rbs +28 -0
  716. data/sig/method_ruby/models/entities/credit_score_create_params.rbs +50 -0
  717. data/sig/method_ruby/models/entities/credit_score_create_response.rbs +20 -0
  718. data/sig/method_ruby/models/entities/credit_score_list_params.rbs +78 -0
  719. data/sig/method_ruby/models/entities/credit_score_list_response.rbs +20 -0
  720. data/sig/method_ruby/models/entities/credit_score_retrieve_params.rbs +48 -0
  721. data/sig/method_ruby/models/entities/credit_score_retrieve_response.rbs +20 -0
  722. data/sig/method_ruby/models/entities/identity_create_params.rbs +50 -0
  723. data/sig/method_ruby/models/entities/identity_create_response.rbs +20 -0
  724. data/sig/method_ruby/models/entities/identity_list_params.rbs +78 -0
  725. data/sig/method_ruby/models/entities/identity_list_response.rbs +20 -0
  726. data/sig/method_ruby/models/entities/identity_retrieve_params.rbs +48 -0
  727. data/sig/method_ruby/models/entities/identity_retrieve_response.rbs +20 -0
  728. data/sig/method_ruby/models/entities/manual_connect_create_params.rbs +215 -0
  729. data/sig/method_ruby/models/entities/manual_connect_create_response.rbs +20 -0
  730. data/sig/method_ruby/models/entities/manual_connect_retrieve_params.rbs +48 -0
  731. data/sig/method_ruby/models/entities/manual_connect_retrieve_response.rbs +20 -0
  732. data/sig/method_ruby/models/entities/product_list_params.rbs +43 -0
  733. data/sig/method_ruby/models/entities/product_list_response.rbs +20 -0
  734. data/sig/method_ruby/models/entities/product_retrieve_params.rbs +48 -0
  735. data/sig/method_ruby/models/entities/product_retrieve_response.rbs +20 -0
  736. data/sig/method_ruby/models/entities/subscription_create_params.rbs +105 -0
  737. data/sig/method_ruby/models/entities/subscription_create_response.rbs +20 -0
  738. data/sig/method_ruby/models/entities/subscription_delete_params.rbs +55 -0
  739. data/sig/method_ruby/models/entities/subscription_delete_response.rbs +20 -0
  740. data/sig/method_ruby/models/entities/subscription_list_params.rbs +43 -0
  741. data/sig/method_ruby/models/entities/subscription_list_response.rbs +20 -0
  742. data/sig/method_ruby/models/entities/subscription_retrieve_params.rbs +48 -0
  743. data/sig/method_ruby/models/entities/subscription_retrieve_response.rbs +20 -0
  744. data/sig/method_ruby/models/entities/vehicle_create_params.rbs +55 -0
  745. data/sig/method_ruby/models/entities/vehicle_create_response.rbs +20 -0
  746. data/sig/method_ruby/models/entities/vehicle_list_params.rbs +43 -0
  747. data/sig/method_ruby/models/entities/vehicle_list_response.rbs +20 -0
  748. data/sig/method_ruby/models/entities/vehicle_retrieve_params.rbs +48 -0
  749. data/sig/method_ruby/models/entities/vehicle_retrieve_response.rbs +20 -0
  750. data/sig/method_ruby/models/entities/verification_session_create_params.rbs +137 -0
  751. data/sig/method_ruby/models/entities/verification_session_create_response.rbs +20 -0
  752. data/sig/method_ruby/models/entities/verification_session_list_params.rbs +78 -0
  753. data/sig/method_ruby/models/entities/verification_session_list_response.rbs +20 -0
  754. data/sig/method_ruby/models/entities/verification_session_retrieve_params.rbs +48 -0
  755. data/sig/method_ruby/models/entities/verification_session_retrieve_response.rbs +20 -0
  756. data/sig/method_ruby/models/entities/verification_session_update_params.rbs +152 -0
  757. data/sig/method_ruby/models/entities/verification_session_update_response.rbs +20 -0
  758. data/sig/method_ruby/models/entity.rbs +12996 -63
  759. data/sig/method_ruby/models/entity_corporation.rbs +12 -20
  760. data/sig/method_ruby/models/entity_create_params.rbs +45 -31
  761. data/sig/method_ruby/models/entity_create_response.rbs +10 -25
  762. data/sig/method_ruby/models/entity_individual.rbs +20 -14
  763. data/sig/method_ruby/models/entity_list_params.rbs +82 -10
  764. data/sig/method_ruby/models/entity_list_response.rbs +6 -30
  765. data/sig/method_ruby/models/entity_retrieve_params.rbs +37 -13
  766. data/sig/method_ruby/models/entity_retrieve_response.rbs +10 -25
  767. data/sig/method_ruby/models/entity_update_params.rbs +126 -29
  768. data/sig/method_ruby/models/entity_update_response.rbs +10 -25
  769. data/sig/method_ruby/models/event_list_params.rbs +78 -0
  770. data/sig/method_ruby/models/event_list_response.rbs +17 -0
  771. data/sig/method_ruby/models/event_retrieve_params.rbs +41 -0
  772. data/sig/method_ruby/models/event_retrieve_response.rbs +18 -0
  773. data/sig/method_ruby/models/forwarding_request_create_params.rbs +87 -0
  774. data/sig/method_ruby/models/forwarding_request_create_response.rbs +18 -0
  775. data/sig/method_ruby/models/forwarding_request_retrieve_params.rbs +41 -0
  776. data/sig/method_ruby/models/forwarding_request_retrieve_response.rbs +18 -0
  777. data/sig/method_ruby/models/managed_account_list_params.rbs +36 -0
  778. data/sig/method_ruby/models/managed_account_list_response.rbs +18 -0
  779. data/sig/method_ruby/models/managed_account_retrieve_params.rbs +41 -0
  780. data/sig/method_ruby/models/managed_account_retrieve_response.rbs +18 -0
  781. data/sig/method_ruby/models/managed_accounts/transaction_list_params.rbs +78 -0
  782. data/sig/method_ruby/models/managed_accounts/transaction_list_response.rbs +20 -0
  783. data/sig/method_ruby/models/merchant_list_params.rbs +103 -0
  784. data/sig/method_ruby/models/merchant_list_response.rbs +17 -0
  785. data/sig/method_ruby/models/merchant_retrieve_params.rbs +41 -0
  786. data/sig/method_ruby/models/merchant_retrieve_response.rbs +18 -0
  787. data/sig/method_ruby/models/payment_create_params.rbs +129 -0
  788. data/sig/method_ruby/models/payment_create_response.rbs +18 -0
  789. data/sig/method_ruby/models/payment_delete_params.rbs +48 -0
  790. data/sig/method_ruby/models/payment_delete_response.rbs +18 -0
  791. data/sig/method_ruby/models/payment_list_params.rbs +202 -0
  792. data/sig/method_ruby/models/payment_list_response.rbs +17 -0
  793. data/sig/method_ruby/models/payment_retrieve_params.rbs +67 -0
  794. data/sig/method_ruby/models/payment_retrieve_response.rbs +18 -0
  795. data/sig/method_ruby/models/payments/reversal_list_params.rbs +43 -0
  796. data/sig/method_ruby/models/payments/reversal_list_response.rbs +20 -0
  797. data/sig/method_ruby/models/payments/reversal_retrieve_params.rbs +48 -0
  798. data/sig/method_ruby/models/payments/reversal_retrieve_response.rbs +20 -0
  799. data/sig/method_ruby/models/payments/reversal_update_params.rbs +62 -0
  800. data/sig/method_ruby/models/payments/reversal_update_response.rbs +20 -0
  801. data/sig/method_ruby/models/ping_check_params.rbs +22 -3
  802. data/sig/method_ruby/models/ping_check_response.rbs +16 -35
  803. data/sig/method_ruby/models/report_create_params.rbs +83 -0
  804. data/sig/method_ruby/models/report_create_response.rbs +17 -0
  805. data/sig/method_ruby/models/report_retrieve_params.rbs +41 -0
  806. data/sig/method_ruby/models/report_retrieve_response.rbs +18 -0
  807. data/sig/method_ruby/models/reports/download_retrieve_params.rbs +43 -0
  808. data/sig/method_ruby/models/reports/download_retrieve_response.rbs +7 -0
  809. data/sig/method_ruby/models/resource_error.rbs +11 -19
  810. data/sig/method_ruby/models/secret_create_params.rbs +53 -0
  811. data/sig/method_ruby/models/secret_create_response.rbs +17 -0
  812. data/sig/method_ruby/models/secret_delete_params.rbs +48 -0
  813. data/sig/method_ruby/models/secret_delete_response.rbs +17 -0
  814. data/sig/method_ruby/models/secret_list_params.rbs +57 -0
  815. data/sig/method_ruby/models/secret_list_response.rbs +17 -0
  816. data/sig/method_ruby/models/secret_retrieve_params.rbs +41 -0
  817. data/sig/method_ruby/models/secret_retrieve_response.rbs +18 -0
  818. data/sig/method_ruby/models/simulate/accounts/card_brand_create_params.rbs +45 -0
  819. data/sig/method_ruby/models/simulate/accounts/card_brand_create_response.rbs +22 -0
  820. data/sig/method_ruby/models/simulate/accounts/transaction_create_params.rbs +64 -0
  821. data/sig/method_ruby/models/simulate/accounts/transaction_create_response.rbs +22 -0
  822. data/sig/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_params.rbs +52 -0
  823. data/sig/method_ruby/models/simulate/accounts/verification_sessions/amount_retrieve_response.rbs +24 -0
  824. data/sig/method_ruby/models/simulate/entities/attribute_create_params.rbs +45 -0
  825. data/sig/method_ruby/models/simulate/entities/attribute_create_response.rbs +22 -0
  826. data/sig/method_ruby/models/simulate/entities/connect_create_params.rbs +45 -0
  827. data/sig/method_ruby/models/simulate/entities/connect_create_response.rbs +22 -0
  828. data/sig/method_ruby/models/simulate/entities/credit_score_create_params.rbs +62 -0
  829. data/sig/method_ruby/models/simulate/entities/credit_score_create_response.rbs +22 -0
  830. data/sig/method_ruby/models/simulate/event_create_params.rbs +48 -0
  831. data/sig/method_ruby/models/simulate/event_create_response.rbs +20 -0
  832. data/sig/method_ruby/models/simulate/payment_create_params.rbs +55 -0
  833. data/sig/method_ruby/models/simulate/payment_create_response.rbs +20 -0
  834. data/sig/method_ruby/models/simulate/payments/payment_instrument_create_params.rbs +50 -0
  835. data/sig/method_ruby/models/simulate/payments/payment_instrument_create_response.rbs +22 -0
  836. data/sig/method_ruby/models/team_create_params.rbs +48 -0
  837. data/sig/method_ruby/models/team_create_response.rbs +17 -0
  838. data/sig/method_ruby/models/team_list_params.rbs +34 -0
  839. data/sig/method_ruby/models/team_list_response.rbs +17 -0
  840. data/sig/method_ruby/models/teams/default_encryption_key_create_params.rbs +50 -0
  841. data/sig/method_ruby/models/teams/default_encryption_key_create_response.rbs +20 -0
  842. data/sig/method_ruby/models/teams/mle/public_key_create_params.rbs +52 -0
  843. data/sig/method_ruby/models/teams/mle/public_key_create_response.rbs +22 -0
  844. data/sig/method_ruby/models/teams/mle/public_key_delete_params.rbs +52 -0
  845. data/sig/method_ruby/models/teams/mle/public_key_delete_response.rbs +22 -0
  846. data/sig/method_ruby/models/teams/mle/public_key_list_params.rbs +40 -0
  847. data/sig/method_ruby/models/teams/mle/public_key_list_response.rbs +22 -0
  848. data/sig/method_ruby/models/teams/mle/public_key_retrieve_params.rbs +45 -0
  849. data/sig/method_ruby/models/teams/mle/public_key_retrieve_response.rbs +22 -0
  850. data/sig/method_ruby/models/teams/mle_jwks_params.rbs +17 -0
  851. data/sig/method_ruby/models/teams/mle_jwks_response.rbs +62 -0
  852. data/sig/method_ruby/models/teams/mle_retrieve_method_key_params.rbs +25 -0
  853. data/sig/method_ruby/models/teams/mle_retrieve_method_key_response.rbs +20 -0
  854. data/sig/method_ruby/models/webhook_create_params.rbs +270 -0
  855. data/sig/method_ruby/models/webhook_create_response.rbs +18 -0
  856. data/sig/method_ruby/models/webhook_delete_params.rbs +48 -0
  857. data/sig/method_ruby/models/webhook_delete_response.rbs +18 -0
  858. data/sig/method_ruby/models/webhook_list_params.rbs +34 -0
  859. data/sig/method_ruby/models/webhook_list_response.rbs +17 -0
  860. data/sig/method_ruby/models/webhook_retrieve_params.rbs +41 -0
  861. data/sig/method_ruby/models/webhook_retrieve_response.rbs +18 -0
  862. data/sig/method_ruby/models/webhook_update_params.rbs +66 -0
  863. data/sig/method_ruby/models/webhook_update_response.rbs +18 -0
  864. data/sig/method_ruby/models.rbs +75 -1
  865. data/sig/method_ruby/resources/accounts/attributes.rbs +32 -0
  866. data/sig/method_ruby/resources/accounts/balances.rbs +32 -0
  867. data/sig/method_ruby/resources/accounts/card_brands.rbs +32 -0
  868. data/sig/method_ruby/resources/accounts/consent.rbs +18 -0
  869. data/sig/method_ruby/resources/accounts/payment_instruments.rbs +41 -0
  870. data/sig/method_ruby/resources/accounts/payoffs.rbs +32 -0
  871. data/sig/method_ruby/resources/accounts/products.rbs +22 -0
  872. data/sig/method_ruby/resources/accounts/sensitive.rbs +33 -0
  873. data/sig/method_ruby/resources/accounts/subscriptions.rbs +38 -0
  874. data/sig/method_ruby/resources/accounts/transactions.rbs +27 -0
  875. data/sig/method_ruby/resources/accounts/updates.rbs +32 -0
  876. data/sig/method_ruby/resources/accounts/verification_sessions/amounts.rbs +18 -0
  877. data/sig/method_ruby/resources/accounts/verification_sessions.rbs +51 -0
  878. data/sig/method_ruby/resources/accounts.rbs +72 -0
  879. data/sig/method_ruby/resources/card_products.rbs +13 -0
  880. data/sig/method_ruby/resources/entities/attributes.rbs +35 -0
  881. data/sig/method_ruby/resources/entities/connect.rbs +39 -0
  882. data/sig/method_ruby/resources/entities/consent.rbs +18 -0
  883. data/sig/method_ruby/resources/entities/credit_scores.rbs +34 -0
  884. data/sig/method_ruby/resources/entities/identities.rbs +34 -0
  885. data/sig/method_ruby/resources/entities/manual_connect.rbs +25 -0
  886. data/sig/method_ruby/resources/entities/products.rbs +22 -0
  887. data/sig/method_ruby/resources/entities/subscriptions.rbs +39 -0
  888. data/sig/method_ruby/resources/entities/vehicles.rbs +30 -0
  889. data/sig/method_ruby/resources/entities/verification_sessions.rbs +54 -0
  890. data/sig/method_ruby/resources/entities.rbs +33 -8
  891. data/sig/method_ruby/resources/events.rbs +24 -0
  892. data/sig/method_ruby/resources/forwarding_requests.rbs +25 -0
  893. data/sig/method_ruby/resources/managed_accounts/transactions.rbs +20 -0
  894. data/sig/method_ruby/resources/managed_accounts.rbs +20 -0
  895. data/sig/method_ruby/resources/merchants.rbs +20 -0
  896. data/sig/method_ruby/resources/payments/reversals.rbs +31 -0
  897. data/sig/method_ruby/resources/payments.rbs +57 -0
  898. data/sig/method_ruby/resources/ping.rbs +1 -0
  899. data/sig/method_ruby/resources/reports/download.rbs +15 -0
  900. data/sig/method_ruby/resources/reports.rbs +22 -0
  901. data/sig/method_ruby/resources/secrets.rbs +36 -0
  902. data/sig/method_ruby/resources/simulate/accounts/card_brands.rbs +17 -0
  903. data/sig/method_ruby/resources/simulate/accounts/transactions.rbs +20 -0
  904. data/sig/method_ruby/resources/simulate/accounts/verification_sessions/amounts.rbs +20 -0
  905. data/sig/method_ruby/resources/simulate/accounts/verification_sessions.rbs +13 -0
  906. data/sig/method_ruby/resources/simulate/accounts.rbs +15 -0
  907. data/sig/method_ruby/resources/simulate/entities/attributes.rbs +17 -0
  908. data/sig/method_ruby/resources/simulate/entities/connect.rbs +17 -0
  909. data/sig/method_ruby/resources/simulate/entities/credit_scores.rbs +20 -0
  910. data/sig/method_ruby/resources/simulate/entities.rbs +15 -0
  911. data/sig/method_ruby/resources/simulate/events.rbs +16 -0
  912. data/sig/method_ruby/resources/simulate/payments/payment_instruments.rbs +18 -0
  913. data/sig/method_ruby/resources/simulate/payments.rbs +19 -0
  914. data/sig/method_ruby/resources/simulate.rbs +15 -0
  915. data/sig/method_ruby/resources/teams/default_encryption_key.rbs +16 -0
  916. data/sig/method_ruby/resources/teams/mle/public_keys.rbs +36 -0
  917. data/sig/method_ruby/resources/teams/mle.rbs +20 -0
  918. data/sig/method_ruby/resources/teams.rbs +23 -0
  919. data/sig/method_ruby/resources/webhooks.rbs +45 -0
  920. metadata +851 -2
@@ -0,0 +1,79 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MethodRuby
4
+ module Resources
5
+ class Entities
6
+ # Products associated with entities
7
+ class Products
8
+ # Some parameter documentations has been truncated, see
9
+ # {MethodRuby::Models::Entities::ProductRetrieveParams} for more details.
10
+ #
11
+ # Returns a single entity product by its identifier.
12
+ #
13
+ # @overload retrieve(prd_id, entity_id:, method_version:, request_options: {})
14
+ #
15
+ # @param prd_id [String] Path param: Unique identifier for the entity product.
16
+ #
17
+ # @param entity_id [String] Path param: Unique identifier for the entity.
18
+ #
19
+ # @param method_version [Symbol, MethodRuby::Models::Entities::ProductRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
20
+ #
21
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
22
+ #
23
+ # @return [MethodRuby::Models::Entities::ProductRetrieveResponse]
24
+ #
25
+ # @see MethodRuby::Models::Entities::ProductRetrieveParams
26
+ def retrieve(prd_id, params)
27
+ parsed, options = MethodRuby::Entities::ProductRetrieveParams.dump_request(params)
28
+ entity_id =
29
+ parsed.delete(:entity_id) do
30
+ raise ArgumentError.new("missing required path argument #{_1}")
31
+ end
32
+ @client.request(
33
+ method: :get,
34
+ path: ["entities/%1$s/products/%2$s", entity_id, prd_id],
35
+ headers: parsed.transform_keys(method_version: "method-version"),
36
+ model: MethodRuby::Models::Entities::ProductRetrieveResponse,
37
+ security: {secret_key: true},
38
+ options: options
39
+ )
40
+ end
41
+
42
+ # Some parameter documentations has been truncated, see
43
+ # {MethodRuby::Models::Entities::ProductListParams} for more details.
44
+ #
45
+ # Returns a list of products for the specified entity.
46
+ #
47
+ # @overload list(entity_id, method_version:, request_options: {})
48
+ #
49
+ # @param entity_id [String] Unique identifier for the entity.
50
+ #
51
+ # @param method_version [Symbol, MethodRuby::Models::Entities::ProductListParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
52
+ #
53
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
54
+ #
55
+ # @return [MethodRuby::Models::Entities::ProductListResponse]
56
+ #
57
+ # @see MethodRuby::Models::Entities::ProductListParams
58
+ def list(entity_id, params)
59
+ parsed, options = MethodRuby::Entities::ProductListParams.dump_request(params)
60
+ @client.request(
61
+ method: :get,
62
+ path: ["entities/%1$s/products", entity_id],
63
+ headers: parsed.transform_keys(method_version: "method-version"),
64
+ model: MethodRuby::Models::Entities::ProductListResponse,
65
+ security: {secret_key: true},
66
+ options: options
67
+ )
68
+ end
69
+
70
+ # @api private
71
+ #
72
+ # @param client [MethodRuby::Client]
73
+ def initialize(client:)
74
+ @client = client
75
+ end
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,154 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MethodRuby
4
+ module Resources
5
+ class Entities
6
+ # Subscriptions for entities
7
+ class Subscriptions
8
+ # Some parameter documentations has been truncated, see
9
+ # {MethodRuby::Models::Entities::SubscriptionCreateParams} for more details.
10
+ #
11
+ # Creates a new subscription for the specified entity.
12
+ #
13
+ # @overload create(entity_id, enroll:, method_version:, payload: nil, idempotency_key: nil, request_options: {})
14
+ #
15
+ # @param entity_id [String] Path param: Unique identifier for the entity.
16
+ #
17
+ # @param enroll [Symbol, MethodRuby::Models::Entities::SubscriptionCreateParams::Enroll] Body param: Subscription name to enroll.
18
+ #
19
+ # @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
20
+ #
21
+ # @param payload [MethodRuby::Models::Entities::SubscriptionCreateParams::Payload, nil] Body param: Optional payload for the subscription. Required when enroll is attri
22
+ #
23
+ # @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
24
+ #
25
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
26
+ #
27
+ # @return [MethodRuby::Models::Entities::SubscriptionCreateResponse]
28
+ #
29
+ # @see MethodRuby::Models::Entities::SubscriptionCreateParams
30
+ def create(entity_id, params)
31
+ parsed, options = MethodRuby::Entities::SubscriptionCreateParams.dump_request(params)
32
+ header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
33
+ @client.request(
34
+ method: :post,
35
+ path: ["entities/%1$s/subscriptions", entity_id],
36
+ headers: parsed.slice(*header_params.keys).transform_keys(header_params),
37
+ body: parsed.except(*header_params.keys),
38
+ model: MethodRuby::Models::Entities::SubscriptionCreateResponse,
39
+ security: {secret_key: true},
40
+ options: options
41
+ )
42
+ end
43
+
44
+ # Some parameter documentations has been truncated, see
45
+ # {MethodRuby::Models::Entities::SubscriptionRetrieveParams} for more details.
46
+ #
47
+ # Returns a single entity subscription by its identifier.
48
+ #
49
+ # @overload retrieve(sub_id, entity_id:, method_version:, request_options: {})
50
+ #
51
+ # @param sub_id [String] Path param: Unique identifier for the entity subscription.
52
+ #
53
+ # @param entity_id [String] Path param: Unique identifier for the entity.
54
+ #
55
+ # @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
56
+ #
57
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
58
+ #
59
+ # @return [MethodRuby::Models::Entities::SubscriptionRetrieveResponse]
60
+ #
61
+ # @see MethodRuby::Models::Entities::SubscriptionRetrieveParams
62
+ def retrieve(sub_id, params)
63
+ parsed, options = MethodRuby::Entities::SubscriptionRetrieveParams.dump_request(params)
64
+ entity_id =
65
+ parsed.delete(:entity_id) do
66
+ raise ArgumentError.new("missing required path argument #{_1}")
67
+ end
68
+ @client.request(
69
+ method: :get,
70
+ path: ["entities/%1$s/subscriptions/%2$s", entity_id, sub_id],
71
+ headers: parsed.transform_keys(method_version: "method-version"),
72
+ model: MethodRuby::Models::Entities::SubscriptionRetrieveResponse,
73
+ security: {secret_key: true},
74
+ options: options
75
+ )
76
+ end
77
+
78
+ # Some parameter documentations has been truncated, see
79
+ # {MethodRuby::Models::Entities::SubscriptionListParams} for more details.
80
+ #
81
+ # Returns a list of subscriptions for the specified entity.
82
+ #
83
+ # @overload list(entity_id, method_version:, request_options: {})
84
+ #
85
+ # @param entity_id [String] Unique identifier for the entity.
86
+ #
87
+ # @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionListParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
88
+ #
89
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
90
+ #
91
+ # @return [MethodRuby::Models::Entities::SubscriptionListResponse]
92
+ #
93
+ # @see MethodRuby::Models::Entities::SubscriptionListParams
94
+ def list(entity_id, params)
95
+ parsed, options = MethodRuby::Entities::SubscriptionListParams.dump_request(params)
96
+ @client.request(
97
+ method: :get,
98
+ path: ["entities/%1$s/subscriptions", entity_id],
99
+ headers: parsed.transform_keys(method_version: "method-version"),
100
+ model: MethodRuby::Models::Entities::SubscriptionListResponse,
101
+ security: {secret_key: true},
102
+ options: options
103
+ )
104
+ end
105
+
106
+ # Some parameter documentations has been truncated, see
107
+ # {MethodRuby::Models::Entities::SubscriptionDeleteParams} for more details.
108
+ #
109
+ # Deletes an entity subscription by its identifier.
110
+ #
111
+ # @overload delete(sub_id, entity_id:, method_version:, idempotency_key: nil, request_options: {})
112
+ #
113
+ # @param sub_id [String] Path param: Unique identifier for the entity subscription.
114
+ #
115
+ # @param entity_id [String] Path param: Unique identifier for the entity.
116
+ #
117
+ # @param method_version [Symbol, MethodRuby::Models::Entities::SubscriptionDeleteParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
118
+ #
119
+ # @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
120
+ #
121
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
122
+ #
123
+ # @return [MethodRuby::Models::Entities::SubscriptionDeleteResponse]
124
+ #
125
+ # @see MethodRuby::Models::Entities::SubscriptionDeleteParams
126
+ def delete(sub_id, params)
127
+ parsed, options = MethodRuby::Entities::SubscriptionDeleteParams.dump_request(params)
128
+ entity_id =
129
+ parsed.delete(:entity_id) do
130
+ raise ArgumentError.new("missing required path argument #{_1}")
131
+ end
132
+ @client.request(
133
+ method: :delete,
134
+ path: ["entities/%1$s/subscriptions/%2$s", entity_id, sub_id],
135
+ headers: parsed.transform_keys(
136
+ method_version: "method-version",
137
+ idempotency_key: "idempotency-key"
138
+ ),
139
+ model: MethodRuby::Models::Entities::SubscriptionDeleteResponse,
140
+ security: {secret_key: true},
141
+ options: options
142
+ )
143
+ end
144
+
145
+ # @api private
146
+ #
147
+ # @param client [MethodRuby::Client]
148
+ def initialize(client:)
149
+ @client = client
150
+ end
151
+ end
152
+ end
153
+ end
154
+ end
@@ -0,0 +1,115 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MethodRuby
4
+ module Resources
5
+ class Entities
6
+ # Vehicle data for entities
7
+ class Vehicles
8
+ # Some parameter documentations has been truncated, see
9
+ # {MethodRuby::Models::Entities::VehicleCreateParams} for more details.
10
+ #
11
+ # Searches for vehicles associated with the specified entity.
12
+ #
13
+ # @overload create(entity_id, body:, method_version:, idempotency_key: nil, request_options: {})
14
+ #
15
+ # @param entity_id [String] Path param: Unique identifier for the entity.
16
+ #
17
+ # @param body [Object] Body param: Request body for searching entity vehicles. Treated as a product exe
18
+ #
19
+ # @param method_version [Symbol, MethodRuby::Models::Entities::VehicleCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
20
+ #
21
+ # @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
22
+ #
23
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
24
+ #
25
+ # @return [MethodRuby::Models::Entities::VehicleCreateResponse]
26
+ #
27
+ # @see MethodRuby::Models::Entities::VehicleCreateParams
28
+ def create(entity_id, params)
29
+ parsed, options = MethodRuby::Entities::VehicleCreateParams.dump_request(params)
30
+ @client.request(
31
+ method: :post,
32
+ path: ["entities/%1$s/vehicles", entity_id],
33
+ headers: parsed.except(:body).transform_keys(
34
+ method_version: "method-version",
35
+ idempotency_key: "idempotency-key"
36
+ ),
37
+ body: parsed[:body],
38
+ model: MethodRuby::Models::Entities::VehicleCreateResponse,
39
+ security: {secret_key: true},
40
+ options: options
41
+ )
42
+ end
43
+
44
+ # Some parameter documentations has been truncated, see
45
+ # {MethodRuby::Models::Entities::VehicleRetrieveParams} for more details.
46
+ #
47
+ # Returns a single entity vehicle by its identifier.
48
+ #
49
+ # @overload retrieve(vhl_id, entity_id:, method_version:, request_options: {})
50
+ #
51
+ # @param vhl_id [String] Path param: Unique identifier for the entity vehicle.
52
+ #
53
+ # @param entity_id [String] Path param: Unique identifier for the entity.
54
+ #
55
+ # @param method_version [Symbol, MethodRuby::Models::Entities::VehicleRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
56
+ #
57
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
58
+ #
59
+ # @return [MethodRuby::Models::Entities::VehicleRetrieveResponse]
60
+ #
61
+ # @see MethodRuby::Models::Entities::VehicleRetrieveParams
62
+ def retrieve(vhl_id, params)
63
+ parsed, options = MethodRuby::Entities::VehicleRetrieveParams.dump_request(params)
64
+ entity_id =
65
+ parsed.delete(:entity_id) do
66
+ raise ArgumentError.new("missing required path argument #{_1}")
67
+ end
68
+ @client.request(
69
+ method: :get,
70
+ path: ["entities/%1$s/vehicles/%2$s", entity_id, vhl_id],
71
+ headers: parsed.transform_keys(method_version: "method-version"),
72
+ model: MethodRuby::Models::Entities::VehicleRetrieveResponse,
73
+ security: {secret_key: true},
74
+ options: options
75
+ )
76
+ end
77
+
78
+ # Some parameter documentations has been truncated, see
79
+ # {MethodRuby::Models::Entities::VehicleListParams} for more details.
80
+ #
81
+ # Returns a list of vehicles for the specified entity.
82
+ #
83
+ # @overload list(entity_id, method_version:, request_options: {})
84
+ #
85
+ # @param entity_id [String] Unique identifier for the entity.
86
+ #
87
+ # @param method_version [Symbol, MethodRuby::Models::Entities::VehicleListParams::MethodVersion] API version to use for this request. This spec targets `2025-12-01`.
88
+ #
89
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
90
+ #
91
+ # @return [MethodRuby::Models::Entities::VehicleListResponse]
92
+ #
93
+ # @see MethodRuby::Models::Entities::VehicleListParams
94
+ def list(entity_id, params)
95
+ parsed, options = MethodRuby::Entities::VehicleListParams.dump_request(params)
96
+ @client.request(
97
+ method: :get,
98
+ path: ["entities/%1$s/vehicles", entity_id],
99
+ headers: parsed.transform_keys(method_version: "method-version"),
100
+ model: MethodRuby::Models::Entities::VehicleListResponse,
101
+ security: {secret_key: true},
102
+ options: options
103
+ )
104
+ end
105
+
106
+ # @api private
107
+ #
108
+ # @param client [MethodRuby::Client]
109
+ def initialize(client:)
110
+ @client = client
111
+ end
112
+ end
113
+ end
114
+ end
115
+ end
@@ -0,0 +1,191 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MethodRuby
4
+ module Resources
5
+ class Entities
6
+ # Verification sessions for entities
7
+ class VerificationSessions
8
+ # Some parameter documentations has been truncated, see
9
+ # {MethodRuby::Models::Entities::VerificationSessionCreateParams} for more
10
+ # details.
11
+ #
12
+ # Creates a new verification session for the specified entity.
13
+ #
14
+ # @overload create(entity_id, method_:, type:, method_version:, byo_kyc: nil, byo_sms: nil, kba: nil, sms: nil, sna: nil, idempotency_key: nil, request_options: {})
15
+ #
16
+ # @param entity_id [String] Path param: Unique identifier for the entity.
17
+ #
18
+ # @param method_ [Symbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::Method] Body param: The verification method to use.
19
+ #
20
+ # @param type [Symbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::Type] Body param: The type of verification to perform.
21
+ #
22
+ # @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionCreateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
23
+ #
24
+ # @param byo_kyc [Object] Body param: BYO KYC-specific options. Required when method is byo_kyc.
25
+ #
26
+ # @param byo_sms [MethodRuby::Models::Entities::VerificationSessionCreateParams::ByoSMS] Body param: BYO SMS-specific options. Required when method is byo_sms.
27
+ #
28
+ # @param kba [Object] Body param: KBA-specific options. Required when method is kba.
29
+ #
30
+ # @param sms [Object] Body param: SMS-specific options. Required when method is sms.
31
+ #
32
+ # @param sna [Object] Body param: SNA-specific options. Required when method is sna.
33
+ #
34
+ # @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
35
+ #
36
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
37
+ #
38
+ # @return [MethodRuby::Models::Entities::VerificationSessionCreateResponse]
39
+ #
40
+ # @see MethodRuby::Models::Entities::VerificationSessionCreateParams
41
+ def create(entity_id, params)
42
+ parsed, options = MethodRuby::Entities::VerificationSessionCreateParams.dump_request(params)
43
+ header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
44
+ @client.request(
45
+ method: :post,
46
+ path: ["entities/%1$s/verification_sessions", entity_id],
47
+ headers: parsed.slice(*header_params.keys).transform_keys(header_params),
48
+ body: parsed.except(*header_params.keys),
49
+ model: MethodRuby::Models::Entities::VerificationSessionCreateResponse,
50
+ security: {secret_key: true},
51
+ options: options
52
+ )
53
+ end
54
+
55
+ # Some parameter documentations has been truncated, see
56
+ # {MethodRuby::Models::Entities::VerificationSessionRetrieveParams} for more
57
+ # details.
58
+ #
59
+ # Returns a single entity verification session by its identifier.
60
+ #
61
+ # @overload retrieve(evf_id, entity_id:, method_version:, request_options: {})
62
+ #
63
+ # @param evf_id [String] Path param: Unique identifier for the entity verification session.
64
+ #
65
+ # @param entity_id [String] Path param: Unique identifier for the entity.
66
+ #
67
+ # @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionRetrieveParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
68
+ #
69
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
70
+ #
71
+ # @return [MethodRuby::Models::Entities::VerificationSessionRetrieveResponse]
72
+ #
73
+ # @see MethodRuby::Models::Entities::VerificationSessionRetrieveParams
74
+ def retrieve(evf_id, params)
75
+ parsed, options = MethodRuby::Entities::VerificationSessionRetrieveParams.dump_request(params)
76
+ entity_id =
77
+ parsed.delete(:entity_id) do
78
+ raise ArgumentError.new("missing required path argument #{_1}")
79
+ end
80
+ @client.request(
81
+ method: :get,
82
+ path: ["entities/%1$s/verification_sessions/%2$s", entity_id, evf_id],
83
+ headers: parsed.transform_keys(method_version: "method-version"),
84
+ model: MethodRuby::Models::Entities::VerificationSessionRetrieveResponse,
85
+ security: {secret_key: true},
86
+ options: options
87
+ )
88
+ end
89
+
90
+ # Some parameter documentations has been truncated, see
91
+ # {MethodRuby::Models::Entities::VerificationSessionUpdateParams} for more
92
+ # details.
93
+ #
94
+ # Updates a verification session, for example by submitting an SMS verification
95
+ # code or KBA answers. The request body shape depends on the verification type and
96
+ # method.
97
+ #
98
+ # @overload update(evf_id, entity_id:, method_:, type:, method_version:, kba: nil, sms: nil, sna: nil, idempotency_key: nil, request_options: {})
99
+ #
100
+ # @param evf_id [String] Path param: Unique identifier for the entity verification session.
101
+ #
102
+ # @param entity_id [String] Path param: Unique identifier for the entity.
103
+ #
104
+ # @param method_ [Symbol, MethodRuby::Models::Entities::VerificationSessionUpdateParams::Method] Body param: The verification method.
105
+ #
106
+ # @param type [String] Body param: The verification session type.
107
+ #
108
+ # @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionUpdateParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
109
+ #
110
+ # @param kba [MethodRuby::Models::Entities::VerificationSessionUpdateParams::Kba] Body param: KBA verification data.
111
+ #
112
+ # @param sms [MethodRuby::Models::Entities::VerificationSessionUpdateParams::SMS] Body param: SMS verification data.
113
+ #
114
+ # @param sna [Object] Body param: SNA verification data.
115
+ #
116
+ # @param idempotency_key [String] Header param: Idempotency key for safely retrying a write request. Reuse the sam
117
+ #
118
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
119
+ #
120
+ # @return [MethodRuby::Models::Entities::VerificationSessionUpdateResponse]
121
+ #
122
+ # @see MethodRuby::Models::Entities::VerificationSessionUpdateParams
123
+ def update(evf_id, params)
124
+ parsed, options = MethodRuby::Entities::VerificationSessionUpdateParams.dump_request(params)
125
+ entity_id =
126
+ parsed.delete(:entity_id) do
127
+ raise ArgumentError.new("missing required path argument #{_1}")
128
+ end
129
+ header_params = {method_version: "method-version", idempotency_key: "idempotency-key"}
130
+ @client.request(
131
+ method: :put,
132
+ path: ["entities/%1$s/verification_sessions/%2$s", entity_id, evf_id],
133
+ headers: parsed.slice(*header_params.keys).transform_keys(header_params),
134
+ body: parsed.except(*header_params.keys),
135
+ model: MethodRuby::Models::Entities::VerificationSessionUpdateResponse,
136
+ security: {secret_key: true},
137
+ options: options
138
+ )
139
+ end
140
+
141
+ # Some parameter documentations has been truncated, see
142
+ # {MethodRuby::Models::Entities::VerificationSessionListParams} for more details.
143
+ #
144
+ # Returns a list of verification sessions for the specified entity.
145
+ #
146
+ # @overload list(entity_id, method_version:, from_date: nil, page: nil, page_cursor: nil, page_limit: nil, to_date: nil, request_options: {})
147
+ #
148
+ # @param entity_id [String] Path param: Unique identifier for the entity.
149
+ #
150
+ # @param method_version [Symbol, MethodRuby::Models::Entities::VerificationSessionListParams::MethodVersion] Header param: API version to use for this request. This spec targets `2025-12-01
151
+ #
152
+ # @param from_date [Date] Query param: Filter results from this date (inclusive, YYYY-MM-DD format).
153
+ #
154
+ # @param page [Integer] Query param: Page number for pagination (1-indexed).
155
+ #
156
+ # @param page_cursor [String] Query param: Cursor for cursor-based pagination. Use the value from `Pagination-
157
+ #
158
+ # @param page_limit [Integer] Query param: Number of items per page.
159
+ #
160
+ # @param to_date [Date] Query param: Filter results to this date (inclusive, YYYY-MM-DD format).
161
+ #
162
+ # @param request_options [MethodRuby::RequestOptions, Hash{Symbol=>Object}, nil]
163
+ #
164
+ # @return [MethodRuby::Models::Entities::VerificationSessionListResponse]
165
+ #
166
+ # @see MethodRuby::Models::Entities::VerificationSessionListParams
167
+ def list(entity_id, params)
168
+ query_params = [:from_date, :page, :page_cursor, :page_limit, :to_date]
169
+ parsed, options = MethodRuby::Entities::VerificationSessionListParams.dump_request(params)
170
+ query = MethodRuby::Internal::Util.encode_query_params(parsed.slice(*query_params))
171
+ @client.request(
172
+ method: :get,
173
+ path: ["entities/%1$s/verification_sessions", entity_id],
174
+ query: query,
175
+ headers: parsed.except(*query_params).transform_keys(method_version: "method-version"),
176
+ model: MethodRuby::Models::Entities::VerificationSessionListResponse,
177
+ security: {secret_key: true},
178
+ options: options
179
+ )
180
+ end
181
+
182
+ # @api private
183
+ #
184
+ # @param client [MethodRuby::Client]
185
+ def initialize(client:)
186
+ @client = client
187
+ end
188
+ end
189
+ end
190
+ end
191
+ end