devdraft 1.0.1 → 1.0.3

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 (234) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +160 -191
  3. data/Rakefile +2 -0
  4. data/devdraft-1.0.0.gem +0 -0
  5. data/{devdraft_ai_sdk.gemspec → devdraft.gemspec} +15 -11
  6. data/docs/APIHealthApi.md +82 -30
  7. data/docs/AggregatedBalanceResponse.md +19 -6
  8. data/docs/AllBalancesResponse.md +19 -6
  9. data/docs/AppBalancesApi.md +125 -65
  10. data/docs/BridgeFiatPaymentRail.md +15 -0
  11. data/docs/BridgePaymentRail.md +12 -3
  12. data/docs/CreateBankPaymentIntentDto.md +49 -21
  13. data/docs/CreateCustomerDto.md +25 -9
  14. data/docs/CreateDirectBankTransferDto.md +29 -11
  15. data/docs/CreateDirectWalletTransferDto.md +21 -7
  16. data/docs/CreateExternalBankTransferDto.md +40 -0
  17. data/docs/CreateExternalStablecoinTransferDto.md +28 -0
  18. data/docs/CreateInvoiceDto.md +45 -19
  19. data/docs/CreateLiquidationAddressDto.md +43 -18
  20. data/docs/CreatePaymentLinkDto.md +53 -28
  21. data/docs/CreateStablePaymentIntentDto.md +43 -18
  22. data/docs/CreateStablecoinConversionDto.md +23 -8
  23. data/docs/CreateTaxDto.md +26 -0
  24. data/docs/CreateWebhookDto.md +23 -8
  25. data/docs/CustomerStatus.md +12 -3
  26. data/docs/CustomerType.md +15 -0
  27. data/docs/CustomersApi.md +187 -114
  28. data/docs/DestinationCurrency.md +12 -3
  29. data/docs/ExchangeRateResponseDto.md +25 -9
  30. data/docs/ExchangeRatesApi.md +130 -72
  31. data/docs/FiatCurrency.md +12 -3
  32. data/docs/HealthResponseDto.md +25 -9
  33. data/docs/InvoiceProductDto.md +17 -5
  34. data/docs/InvoicesApi.md +177 -104
  35. data/docs/LiquidationAddressResponseDto.md +41 -17
  36. data/docs/LiquidationAddressesApi.md +115 -61
  37. data/docs/PaymentIntentsApi.md +93 -57
  38. data/docs/PaymentLinkProductDto.md +17 -5
  39. data/docs/PaymentLinksApi.md +175 -102
  40. data/docs/PaymentRequestDto.md +21 -7
  41. data/docs/PaymentResponseDto.md +23 -8
  42. data/docs/ProductsApi.md +307 -194
  43. data/docs/PublicHealthResponseDto.md +19 -6
  44. data/docs/RefundResponseDto.md +23 -8
  45. data/docs/StableCoinCurrency.md +12 -3
  46. data/docs/TaxControllerCreate201Response.md +30 -0
  47. data/docs/TaxControllerDeleteWithoutId400Response.md +22 -0
  48. data/docs/TaxControllerUpdateWithoutId400Response.md +22 -0
  49. data/docs/TaxesApi.md +374 -122
  50. data/docs/TestPaymentsApi.md +150 -60
  51. data/docs/TransfersApi.md +274 -72
  52. data/docs/UpdateCustomerDto.md +25 -9
  53. data/docs/UpdateTaxDto.md +26 -0
  54. data/docs/UpdateWebhookDto.md +23 -8
  55. data/docs/WalletsApi.md +44 -24
  56. data/docs/WebhookResponseDto.md +29 -11
  57. data/docs/WebhooksApi.md +225 -134
  58. data/git_push.sh +41 -28
  59. data/lib/devdraft/api/api_health_api.rb +32 -16
  60. data/lib/devdraft/api/app_balances_api.rb +45 -22
  61. data/lib/devdraft/api/customers_api.rb +124 -71
  62. data/lib/devdraft/api/exchange_rates_api.rb +49 -26
  63. data/lib/devdraft/api/invoices_api.rb +89 -53
  64. data/lib/devdraft/api/liquidation_addresses_api.rb +70 -44
  65. data/lib/devdraft/api/payment_intents_api.rb +62 -40
  66. data/lib/devdraft/api/payment_links_api.rb +85 -49
  67. data/lib/devdraft/api/products_api.rb +214 -216
  68. data/lib/devdraft/api/taxes_api.rb +257 -66
  69. data/lib/devdraft/api/test_payments_api.rb +70 -44
  70. data/lib/devdraft/api/transfers_api.rb +206 -46
  71. data/lib/devdraft/api/wallets_api.rb +18 -9
  72. data/lib/devdraft/api/webhooks_api.rb +109 -66
  73. data/lib/devdraft/api_client.rb +76 -71
  74. data/lib/devdraft/api_error.rb +5 -4
  75. data/lib/devdraft/api_model_base.rb +88 -0
  76. data/lib/devdraft/configuration.rb +121 -18
  77. data/lib/devdraft/models/aggregated_balance_response.rb +68 -101
  78. data/lib/devdraft/models/all_balances_response.rb +76 -99
  79. data/lib/devdraft/models/bridge_fiat_payment_rail.rb +45 -0
  80. data/lib/devdraft/models/bridge_payment_rail.rb +36 -24
  81. data/lib/devdraft/models/create_bank_payment_intent_dto.rb +191 -114
  82. data/lib/devdraft/models/create_customer_dto.rb +123 -113
  83. data/lib/devdraft/models/create_direct_bank_transfer_dto.rb +105 -104
  84. data/lib/devdraft/models/create_direct_wallet_transfer_dto.rb +89 -100
  85. data/lib/devdraft/models/create_external_bank_transfer_dto.rb +505 -0
  86. data/lib/devdraft/models/create_external_stablecoin_transfer_dto.rb +266 -0
  87. data/lib/devdraft/models/create_invoice_dto.rb +151 -121
  88. data/lib/devdraft/models/create_liquidation_address_dto.rb +195 -115
  89. data/lib/devdraft/models/create_payment_link_dto.rb +192 -214
  90. data/lib/devdraft/models/create_stable_payment_intent_dto.rb +324 -111
  91. data/lib/devdraft/models/create_stablecoin_conversion_dto.rb +102 -101
  92. data/lib/devdraft/models/create_tax_dto.rb +281 -0
  93. data/lib/devdraft/models/create_webhook_dto.rb +104 -101
  94. data/lib/devdraft/models/customer_status.rb +23 -10
  95. data/lib/devdraft/models/customer_type.rb +45 -0
  96. data/lib/devdraft/models/destination_currency.rb +27 -15
  97. data/lib/devdraft/models/exchange_rate_response_dto.rb +103 -102
  98. data/lib/devdraft/models/fiat_currency.rb +22 -10
  99. data/lib/devdraft/models/health_response_dto.rb +99 -106
  100. data/lib/devdraft/models/invoice_product_dto.rb +63 -98
  101. data/lib/devdraft/models/liquidation_address_response_dto.rb +147 -110
  102. data/lib/devdraft/models/payment_link_product_dto.rb +70 -98
  103. data/lib/devdraft/models/payment_request_dto.rb +77 -100
  104. data/lib/devdraft/models/payment_response_dto.rb +102 -101
  105. data/lib/devdraft/models/public_health_response_dto.rb +68 -101
  106. data/lib/devdraft/models/refund_response_dto.rb +102 -101
  107. data/lib/devdraft/models/stable_coin_currency.rb +21 -9
  108. data/lib/devdraft/models/tax_controller_create201_response.rb +201 -0
  109. data/lib/devdraft/models/tax_controller_delete_without_id400_response.rb +165 -0
  110. data/lib/devdraft/models/tax_controller_update_without_id400_response.rb +165 -0
  111. data/lib/devdraft/models/update_customer_dto.rb +117 -113
  112. data/lib/devdraft/models/update_tax_dto.rb +256 -0
  113. data/lib/devdraft/models/update_webhook_dto.rb +70 -101
  114. data/lib/devdraft/models/webhook_response_dto.rb +140 -103
  115. data/lib/devdraft/version.rb +6 -5
  116. data/lib/devdraft.rb +18 -27
  117. data/spec/api/api_health_api_spec.rb +10 -9
  118. data/spec/api/app_balances_api_spec.rb +11 -10
  119. data/spec/api/customers_api_spec.rb +25 -24
  120. data/spec/api/exchange_rates_api_spec.rb +11 -10
  121. data/spec/api/invoices_api_spec.rb +16 -15
  122. data/spec/api/liquidation_addresses_api_spec.rb +13 -12
  123. data/spec/api/payment_intents_api_spec.rb +12 -11
  124. data/spec/api/payment_links_api_spec.rb +14 -13
  125. data/spec/api/products_api_spec.rb +41 -40
  126. data/spec/api/taxes_api_spec.rb +51 -21
  127. data/spec/api/test_payments_api_spec.rb +14 -13
  128. data/spec/api/transfers_api_spec.rb +36 -13
  129. data/spec/api/wallets_api_spec.rb +9 -8
  130. data/spec/api/webhooks_api_spec.rb +20 -19
  131. data/spec/models/aggregated_balance_response_spec.rb +15 -19
  132. data/spec/models/all_balances_response_spec.rb +14 -18
  133. data/spec/models/bridge_fiat_payment_rail_spec.rb +30 -0
  134. data/spec/models/bridge_payment_rail_spec.rb +11 -15
  135. data/spec/models/create_bank_payment_intent_dto_spec.rb +29 -33
  136. data/spec/models/create_customer_dto_spec.rb +17 -25
  137. data/spec/models/create_direct_bank_transfer_dto_spec.rb +19 -23
  138. data/spec/models/create_direct_wallet_transfer_dto_spec.rb +15 -19
  139. data/spec/models/create_external_bank_transfer_dto_spec.rb +102 -0
  140. data/spec/models/create_external_stablecoin_transfer_dto_spec.rb +66 -0
  141. data/spec/models/create_invoice_dto_spec.rb +31 -35
  142. data/spec/models/create_liquidation_address_dto_spec.rb +28 -32
  143. data/spec/models/create_payment_link_dto_spec.rb +34 -76
  144. data/spec/models/create_stable_payment_intent_dto_spec.rb +26 -30
  145. data/spec/models/create_stablecoin_conversion_dto_spec.rb +16 -20
  146. data/spec/models/create_tax_dto_spec.rb +60 -0
  147. data/spec/models/create_webhook_dto_spec.rb +16 -20
  148. data/spec/models/customer_status_spec.rb +11 -15
  149. data/spec/models/customer_type_spec.rb +30 -0
  150. data/spec/models/destination_currency_spec.rb +11 -15
  151. data/spec/models/exchange_rate_response_dto_spec.rb +17 -21
  152. data/spec/models/fiat_currency_spec.rb +11 -15
  153. data/spec/models/health_response_dto_spec.rb +19 -23
  154. data/spec/models/invoice_product_dto_spec.rb +13 -17
  155. data/spec/models/liquidation_address_response_dto_spec.rb +25 -29
  156. data/spec/models/payment_link_product_dto_spec.rb +13 -17
  157. data/spec/models/payment_request_dto_spec.rb +15 -19
  158. data/spec/models/payment_response_dto_spec.rb +16 -20
  159. data/spec/models/public_health_response_dto_spec.rb +15 -19
  160. data/spec/models/refund_response_dto_spec.rb +16 -20
  161. data/spec/models/stable_coin_currency_spec.rb +11 -15
  162. data/spec/models/tax_controller_create201_response_spec.rb +72 -0
  163. data/spec/models/tax_controller_delete_without_id400_response_spec.rb +48 -0
  164. data/spec/models/tax_controller_update_without_id400_response_spec.rb +48 -0
  165. data/spec/models/update_customer_dto_spec.rb +17 -25
  166. data/spec/models/update_tax_dto_spec.rb +60 -0
  167. data/spec/models/update_webhook_dto_spec.rb +16 -20
  168. data/spec/models/webhook_response_dto_spec.rb +19 -23
  169. data/spec/spec_helper.rb +5 -4
  170. metadata +49 -116
  171. data/docs/AllOfAllBalancesResponseEurc.md +0 -9
  172. data/docs/AllOfAllBalancesResponseUsdc.md +0 -9
  173. data/docs/AllOfCreateBankPaymentIntentDtoDestinationCurrency.md +0 -6
  174. data/docs/AllOfCreateBankPaymentIntentDtoDestinationNetwork.md +0 -6
  175. data/docs/AllOfCreateBankPaymentIntentDtoSourceCurrency.md +0 -6
  176. data/docs/AllOfCreateBankPaymentIntentDtoSourcePaymentRail.md +0 -6
  177. data/docs/AllOfCreateCustomerDtoStatus.md +0 -6
  178. data/docs/AllOfCreateLiquidationAddressDtoDestinationCurrency.md +0 -6
  179. data/docs/AllOfCreateLiquidationAddressDtoDestinationPaymentRail.md +0 -6
  180. data/docs/AllOfCreateStablePaymentIntentDtoDestinationCurrency.md +0 -6
  181. data/docs/AllOfCreateStablePaymentIntentDtoDestinationNetwork.md +0 -6
  182. data/docs/AllOfCreateStablePaymentIntentDtoSourceCurrency.md +0 -6
  183. data/docs/AllOfCreateStablePaymentIntentDtoSourceNetwork.md +0 -6
  184. data/docs/AllOfUpdateCustomerDtoStatus.md +0 -6
  185. data/docs/CreateProductDto.md +0 -18
  186. data/docs/CreateTaxInput.md +0 -6
  187. data/docs/UpdatePaymentLinkDto.md +0 -6
  188. data/docs/UpdatePreferenceInput.md +0 -6
  189. data/docs/UpdateProductDto.md +0 -18
  190. data/docs/UpdateTaxInput.md +0 -6
  191. data/example.rb +0 -94
  192. data/lib/devdraft/models/all_of_all_balances_response_eurc.rb +0 -283
  193. data/lib/devdraft/models/all_of_all_balances_response_usdc.rb +0 -283
  194. data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_destination_currency.rb +0 -202
  195. data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_destination_network.rb +0 -202
  196. data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_source_currency.rb +0 -202
  197. data/lib/devdraft/models/all_of_create_bank_payment_intent_dto_source_payment_rail.rb +0 -202
  198. data/lib/devdraft/models/all_of_create_customer_dto_status.rb +0 -202
  199. data/lib/devdraft/models/all_of_create_liquidation_address_dto_destination_currency.rb +0 -202
  200. data/lib/devdraft/models/all_of_create_liquidation_address_dto_destination_payment_rail.rb +0 -202
  201. data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_destination_currency.rb +0 -202
  202. data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_destination_network.rb +0 -202
  203. data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_source_currency.rb +0 -202
  204. data/lib/devdraft/models/all_of_create_stable_payment_intent_dto_source_network.rb +0 -202
  205. data/lib/devdraft/models/all_of_update_customer_dto_status.rb +0 -202
  206. data/lib/devdraft/models/create_product_dto.rb +0 -370
  207. data/lib/devdraft/models/create_tax_input.rb +0 -197
  208. data/lib/devdraft/models/update_payment_link_dto.rb +0 -197
  209. data/lib/devdraft/models/update_preference_input.rb +0 -197
  210. data/lib/devdraft/models/update_product_dto.rb +0 -355
  211. data/lib/devdraft/models/update_tax_input.rb +0 -197
  212. data/spec/api_client_spec.rb +0 -225
  213. data/spec/base_object_spec.rb +0 -109
  214. data/spec/configuration_spec.rb +0 -41
  215. data/spec/models/all_of_all_balances_response_eurc_spec.rb +0 -56
  216. data/spec/models/all_of_all_balances_response_usdc_spec.rb +0 -56
  217. data/spec/models/all_of_create_bank_payment_intent_dto_destination_currency_spec.rb +0 -34
  218. data/spec/models/all_of_create_bank_payment_intent_dto_destination_network_spec.rb +0 -34
  219. data/spec/models/all_of_create_bank_payment_intent_dto_source_currency_spec.rb +0 -34
  220. data/spec/models/all_of_create_bank_payment_intent_dto_source_payment_rail_spec.rb +0 -34
  221. data/spec/models/all_of_create_customer_dto_status_spec.rb +0 -34
  222. data/spec/models/all_of_create_liquidation_address_dto_destination_currency_spec.rb +0 -34
  223. data/spec/models/all_of_create_liquidation_address_dto_destination_payment_rail_spec.rb +0 -34
  224. data/spec/models/all_of_create_stable_payment_intent_dto_destination_currency_spec.rb +0 -34
  225. data/spec/models/all_of_create_stable_payment_intent_dto_destination_network_spec.rb +0 -34
  226. data/spec/models/all_of_create_stable_payment_intent_dto_source_currency_spec.rb +0 -34
  227. data/spec/models/all_of_create_stable_payment_intent_dto_source_network_spec.rb +0 -34
  228. data/spec/models/all_of_update_customer_dto_status_spec.rb +0 -34
  229. data/spec/models/create_product_dto_spec.rb +0 -110
  230. data/spec/models/create_tax_input_spec.rb +0 -34
  231. data/spec/models/update_payment_link_dto_spec.rb +0 -34
  232. data/spec/models/update_preference_input_spec.rb +0 -34
  233. data/spec/models/update_product_dto_spec.rb +0 -110
  234. data/spec/models/update_tax_input_spec.rb +0 -34
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31a7296478bbd3c7d4926b27076e84ddd6e9bbe1d9383ef541959599c89ca971
4
- data.tar.gz: e3e03fd0b5df067ff9ea0694baa55054b778185da14b1150b99c8b2af028f39e
3
+ metadata.gz: 286ba4f773316c9e0c6c7382bbb8ad4cf057907300162be8f186df2894664a64
4
+ data.tar.gz: cfd3aca39640ca0eb6e92938a1fdf8f36cbd73ff523c1f0a1e88c55ed92f16b3
5
5
  SHA512:
6
- metadata.gz: 2b9cccd5347b3b7924ef04a03bbbd944558d2f622a19831f09fcfd13cb92eda1313bcb3baa7f3af4ff025b7d4112091810f833b40da858fd054cf4ed4e0fe64a
7
- data.tar.gz: 5c4dd1804cf139c07b7d4a7b4cf6e69355a93df967c26fd3b845d4fe91ac73b2fa7efea3acae7438066faa84821cfdc52af15df583bde4f95d3a472b893d7d26
6
+ metadata.gz: f98be3f527993886dcbd821703562f26b398c2ad71236db9340ef1433df2d8fecbf4afa34b5a5513df9b2bc8fc3ea85eadda1cad5900848c0b167e5a8137065c
7
+ data.tar.gz: 109e4aced6b6b194135672ccb56679831b440aa7b3173cd4f9776a45cccc556eca18a3d7f8e8f612c0c86ba6e3b2c07afdd83e5e89fc19d359ccbedb0f0e3f28
data/README.md CHANGED
@@ -1,118 +1,88 @@
1
- # Devdraft Ruby SDK
1
+ # devdraft
2
2
 
3
- A Ruby client library for the Devdraft Payment & Business Management API.
3
+ Devdraft - the Ruby gem for the Devdraft AI Payment & Business Management API
4
+
5
+
6
+ A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.
7
+
8
+
9
+ This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
10
+
11
+ - API version: 1.0.0
12
+ - Package version: 1.0.0
13
+ - Generator version: 7.17.0
14
+ - Build package: org.openapitools.codegen.languages.RubyClientCodegen
4
15
 
5
16
  ## Installation
6
17
 
7
- Add this line to your application's Gemfile:
18
+ ### Build a gem
8
19
 
9
- ```ruby
10
- gem 'devdraft', '~> 1.0.1'
11
- ```
20
+ To build the Ruby code into a gem:
12
21
 
13
- And then execute:
14
- ```bash
15
- $ bundle install
22
+ ```shell
23
+ gem build devdraft.gemspec
16
24
  ```
17
25
 
18
- Or install it yourself as:
19
- ```bash
20
- $ gem install devdraft
26
+ Then either install the gem locally:
27
+
28
+ ```shell
29
+ gem install ./devdraft-1.0.0.gem
21
30
  ```
22
31
 
23
- ## Usage
32
+ (for development, run `gem install --dev ./devdraft-1.0.0.gem` to install the development dependencies)
24
33
 
25
- ### Basic Setup
34
+ or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
26
35
 
27
- ```ruby
28
- require 'devdraft'
36
+ Finally add this to the Gemfile:
29
37
 
30
- # Configure the SDK
31
- Devdraft.configure do |config|
32
- # Set your API key (required for authenticated endpoints)
33
- config.api_key['api_key'] = 'YOUR_API_KEY'
34
-
35
- # Optional: Set a custom base URL if needed
36
- # config.base_url = 'https://api.devdraft.com'
37
-
38
- # Optional: Enable debug logging
39
- config.debugging = true
40
- end
41
- ```
38
+ gem 'devdraft', '~> 1.0.0'
42
39
 
43
- ### Examples
40
+ ### Install from Git
44
41
 
45
- #### Health Check
46
- ```ruby
47
- api_instance = Devdraft::APIHealthApi.new
42
+ If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
48
43
 
49
- # Public health check (no auth required)
50
- result = api_instance.health_controller_public_health_check_v0
51
- puts result.inspect
44
+ gem 'devdraft', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
52
45
 
53
- # Authenticated health check
54
- result = api_instance.health_controller_check_v0
55
- puts result.inspect
56
- ```
46
+ ### Include the Ruby code directly
57
47
 
58
- #### List Customers
59
- ```ruby
60
- api_instance = Devdraft::CustomersApi.new
61
-
62
- # List customers with pagination
63
- result = api_instance.customers_controller_list_v0(
64
- page: 1,
65
- limit: 10
66
- )
67
- puts result.inspect
68
- ```
48
+ Include the Ruby code directly using `-I` as follows:
69
49
 
70
- #### Create Payment Link
71
- ```ruby
72
- api_instance = Devdraft::PaymentLinksApi.new
73
-
74
- # Create a payment link
75
- payment_link = Devdraft::CreatePaymentLinkDto.new(
76
- amount: 100.00,
77
- currency: 'USD',
78
- description: 'Test Payment Link',
79
- expires_at: (Time.now + 86400).iso8601 # 24 hours from now
80
- )
81
-
82
- result = api_instance.payment_links_controller_create_v0(payment_link)
83
- puts result.inspect
50
+ ```shell
51
+ ruby -Ilib script.rb
84
52
  ```
85
53
 
86
- ### Available APIs
87
-
88
- The SDK provides access to the following APIs:
89
-
90
- - `APIHealthApi`: Health check endpoints
91
- - `AppBalancesApi`: Balance management
92
- - `CustomersApi`: Customer management
93
- - `ExchangeRatesApi`: Exchange rate information
94
- - `InvoicesApi`: Invoice management
95
- - `LiquidationAddressesApi`: Liquidation address management
96
- - `PaymentIntentsApi`: Payment intent management
97
- - `PaymentLinksApi`: Payment link management
98
- - `ProductsApi`: Product management
99
- - `TaxesApi`: Tax management
100
- - `TestPaymentsApi`: Test payment endpoints
101
- - `TransfersApi`: Transfer management
102
- - `WalletsApi`: Wallet management
103
- - `WebhooksApi`: Webhook management
54
+ ## Getting Started
104
55
 
105
- ## Development
56
+ Please follow the [installation](#installation) procedure and then run the following code:
106
57
 
107
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests.
58
+ ```ruby
59
+ # Load the gem
60
+ require 'devdraft'
108
61
 
109
- ## Contributing
62
+ # Setup authorization
63
+ Devdraft.configure do |config|
64
+ # Configure API key authorization: x-client-secret
65
+ config.api_key['x-client-secret'] = 'YOUR API KEY'
66
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
67
+ # config.api_key_prefix['x-client-secret'] = 'Bearer'
68
+
69
+ # Configure API key authorization: x-client-key
70
+ config.api_key['x-client-key'] = 'YOUR API KEY'
71
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
72
+ # config.api_key_prefix['x-client-key'] = 'Bearer'
73
+ end
110
74
 
111
- Bug reports and pull requests are welcome on GitHub.
75
+ api_instance = Devdraft::APIHealthApi.new
112
76
 
113
- ## License
77
+ begin
78
+ #Authenticated health check endpoint
79
+ result = api_instance.health_controller_check_v0
80
+ p result
81
+ rescue Devdraft::ApiError => e
82
+ puts "Exception when calling APIHealthApi->health_controller_check_v0: #{e}"
83
+ end
114
84
 
115
- The gem is available as open source under the terms of the [Unlicense](http://unlicense.org/).
85
+ ```
116
86
 
117
87
  ## Documentation for API Endpoints
118
88
 
@@ -120,125 +90,124 @@ All URIs are relative to *https://api.devdraft.ai*
120
90
 
121
91
  Class | Method | HTTP request | Description
122
92
  ------------ | ------------- | ------------- | -------------
123
- *DevDraftAI::APIHealthApi* | [**health_controller_check_v0**](docs/APIHealthApi.md#health_controller_check_v0) | **GET** /api/v0/health | Authenticated health check endpoint
124
- *DevDraftAI::APIHealthApi* | [**health_controller_public_health_check_v0**](docs/APIHealthApi.md#health_controller_public_health_check_v0) | **GET** /api/v0/health/public | Public health check endpoint
125
- *DevDraftAI::AppBalancesApi* | [**balance_controller_get_all_balances**](docs/AppBalancesApi.md#balance_controller_get_all_balances) | **GET** /api/v0/balance | Get all stablecoin balances for an app
126
- *DevDraftAI::AppBalancesApi* | [**balance_controller_get_eurc_balance**](docs/AppBalancesApi.md#balance_controller_get_eurc_balance) | **GET** /api/v0/balance/eurc | Get EURC balance for an app
127
- *DevDraftAI::AppBalancesApi* | [**balance_controller_get_usdc_balance**](docs/AppBalancesApi.md#balance_controller_get_usdc_balance) | **GET** /api/v0/balance/usdc | Get USDC balance for an app
128
- *DevDraftAI::CustomersApi* | [**customer_controller_create**](docs/CustomersApi.md#customer_controller_create) | **POST** /api/v0/customers | Create a new customer
129
- *DevDraftAI::CustomersApi* | [**customer_controller_find_all**](docs/CustomersApi.md#customer_controller_find_all) | **GET** /api/v0/customers | Get all customers with filters
130
- *DevDraftAI::CustomersApi* | [**customer_controller_find_one**](docs/CustomersApi.md#customer_controller_find_one) | **GET** /api/v0/customers/{id} | Get a customer by ID
131
- *DevDraftAI::CustomersApi* | [**customer_controller_update**](docs/CustomersApi.md#customer_controller_update) | **PATCH** /api/v0/customers/{id} | Update a customer
132
- *DevDraftAI::ExchangeRatesApi* | [**exchange_rate_controller_get_eurto_usd_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_eurto_usd_rate) | **GET** /api/v0/exchange-rate/eur-to-usd | Get EUR to USD exchange rate
133
- *DevDraftAI::ExchangeRatesApi* | [**exchange_rate_controller_get_exchange_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_exchange_rate) | **GET** /api/v0/exchange-rate | Get exchange rate between specified currencies
134
- *DevDraftAI::ExchangeRatesApi* | [**exchange_rate_controller_get_usdto_eur_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_usdto_eur_rate) | **GET** /api/v0/exchange-rate/usd-to-eur | Get USD to EUR exchange rate
135
- *DevDraftAI::InvoicesApi* | [**invoice_controller_create**](docs/InvoicesApi.md#invoice_controller_create) | **POST** /api/v0/invoices | Create a new invoice
136
- *DevDraftAI::InvoicesApi* | [**invoice_controller_find_all**](docs/InvoicesApi.md#invoice_controller_find_all) | **GET** /api/v0/invoices | Get all invoices
137
- *DevDraftAI::InvoicesApi* | [**invoice_controller_find_one**](docs/InvoicesApi.md#invoice_controller_find_one) | **GET** /api/v0/invoices/{id} | Get an invoice by ID
138
- *DevDraftAI::InvoicesApi* | [**invoice_controller_update**](docs/InvoicesApi.md#invoice_controller_update) | **PUT** /api/v0/invoices/{id} | Update an invoice
139
- *DevDraftAI::LiquidationAddressesApi* | [**liquidation_address_controller_create_liquidation_address**](docs/LiquidationAddressesApi.md#liquidation_address_controller_create_liquidation_address) | **POST** /api/v0/customers/{customerId}/liquidation_addresses | Create a new liquidation address for a customer
140
- *DevDraftAI::LiquidationAddressesApi* | [**liquidation_address_controller_get_liquidation_address**](docs/LiquidationAddressesApi.md#liquidation_address_controller_get_liquidation_address) | **GET** /api/v0/customers/{customerId}/liquidation_addresses/{liquidationAddressId} | Get a specific liquidation address
141
- *DevDraftAI::LiquidationAddressesApi* | [**liquidation_address_controller_get_liquidation_addresses**](docs/LiquidationAddressesApi.md#liquidation_address_controller_get_liquidation_addresses) | **GET** /api/v0/customers/{customerId}/liquidation_addresses | Get all liquidation addresses for a customer
142
- *DevDraftAI::PaymentIntentsApi* | [**payment_intent_controller_create_bank_payment_intent**](docs/PaymentIntentsApi.md#payment_intent_controller_create_bank_payment_intent) | **POST** /api/v0/payment-intents/bank | Create a bank payment intent
143
- *DevDraftAI::PaymentIntentsApi* | [**payment_intent_controller_create_stable_payment_intent**](docs/PaymentIntentsApi.md#payment_intent_controller_create_stable_payment_intent) | **POST** /api/v0/payment-intents/stablecoin | Create a stable payment intent
144
- *DevDraftAI::PaymentLinksApi* | [**payment_links_controller_create**](docs/PaymentLinksApi.md#payment_links_controller_create) | **POST** /api/v0/payment-links | Create a new payment link
145
- *DevDraftAI::PaymentLinksApi* | [**payment_links_controller_find_all**](docs/PaymentLinksApi.md#payment_links_controller_find_all) | **GET** /api/v0/payment-links | Get all payment links
146
- *DevDraftAI::PaymentLinksApi* | [**payment_links_controller_find_one**](docs/PaymentLinksApi.md#payment_links_controller_find_one) | **GET** /api/v0/payment-links/{id} | Get a payment link by ID
147
- *DevDraftAI::PaymentLinksApi* | [**payment_links_controller_update**](docs/PaymentLinksApi.md#payment_links_controller_update) | **PUT** /api/v0/payment-links/{id} | Update a payment link
148
- *DevDraftAI::ProductsApi* | [**product_controller_create**](docs/ProductsApi.md#product_controller_create) | **POST** /api/v0/products | Create a new product
149
- *DevDraftAI::ProductsApi* | [**product_controller_find_all**](docs/ProductsApi.md#product_controller_find_all) | **GET** /api/v0/products | Get all products
150
- *DevDraftAI::ProductsApi* | [**product_controller_find_one**](docs/ProductsApi.md#product_controller_find_one) | **GET** /api/v0/products/{id} | Get a product by ID
151
- *DevDraftAI::ProductsApi* | [**product_controller_remove**](docs/ProductsApi.md#product_controller_remove) | **DELETE** /api/v0/products/{id} | Delete a product
152
- *DevDraftAI::ProductsApi* | [**product_controller_update**](docs/ProductsApi.md#product_controller_update) | **PUT** /api/v0/products/{id} | Update a product
153
- *DevDraftAI::ProductsApi* | [**product_controller_upload_image**](docs/ProductsApi.md#product_controller_upload_image) | **POST** /api/v0/products/{id}/images | Upload images for a product
154
- *DevDraftAI::TaxesApi* | [**tax_controller_create**](docs/TaxesApi.md#tax_controller_create) | **POST** /api/v0/taxes | Create a new tax
155
- *DevDraftAI::TaxesApi* | [**tax_controller_find_all**](docs/TaxesApi.md#tax_controller_find_all) | **GET** /api/v0/taxes | Get all taxes
156
- *DevDraftAI::TaxesApi* | [**tax_controller_find_one**](docs/TaxesApi.md#tax_controller_find_one) | **GET** /api/v0/taxes/{id} | Get a tax by ID
157
- *DevDraftAI::TaxesApi* | [**tax_controller_remove**](docs/TaxesApi.md#tax_controller_remove) | **DELETE** /api/v0/taxes/{id} | Delete a tax
158
- *DevDraftAI::TaxesApi* | [**tax_controller_update**](docs/TaxesApi.md#tax_controller_update) | **PUT** /api/v0/taxes/{id} | Update a tax
159
- *DevDraftAI::TestPaymentsApi* | [**test_payment_controller_create_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_create_payment_v0) | **POST** /api/v0/test-payment | Process a test payment
160
- *DevDraftAI::TestPaymentsApi* | [**test_payment_controller_get_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_get_payment_v0) | **GET** /api/v0/test-payment/{id} | Get payment details by ID
161
- *DevDraftAI::TestPaymentsApi* | [**test_payment_controller_refund_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_refund_payment_v0) | **POST** /api/v0/test-payment/{id}/refund | Refund a payment
162
- *DevDraftAI::TransfersApi* | [**transfer_controller_create_direct_bank_transfer**](docs/TransfersApi.md#transfer_controller_create_direct_bank_transfer) | **POST** /api/v0/transfers/direct-bank | Create a direct bank transfer
163
- *DevDraftAI::TransfersApi* | [**transfer_controller_create_direct_wallet_transfer**](docs/TransfersApi.md#transfer_controller_create_direct_wallet_transfer) | **POST** /api/v0/transfers/direct-wallet | Create a direct wallet transfer
164
- *DevDraftAI::TransfersApi* | [**transfer_controller_create_stablecoin_conversion**](docs/TransfersApi.md#transfer_controller_create_stablecoin_conversion) | **POST** /api/v0/transfers/stablecoin-conversion | Create a stablecoin conversion
165
- *DevDraftAI::WalletsApi* | [**wallet_controller_get_wallets**](docs/WalletsApi.md#wallet_controller_get_wallets) | **GET** /api/v0/wallets | Get wallets for an app
166
- *DevDraftAI::WebhooksApi* | [**webhook_controller_create**](docs/WebhooksApi.md#webhook_controller_create) | **POST** /api/v0/webhooks | Create a new webhook
167
- *DevDraftAI::WebhooksApi* | [**webhook_controller_find_all**](docs/WebhooksApi.md#webhook_controller_find_all) | **GET** /api/v0/webhooks | Get all webhooks
168
- *DevDraftAI::WebhooksApi* | [**webhook_controller_find_one**](docs/WebhooksApi.md#webhook_controller_find_one) | **GET** /api/v0/webhooks/{id} | Get a webhook by id
169
- *DevDraftAI::WebhooksApi* | [**webhook_controller_remove**](docs/WebhooksApi.md#webhook_controller_remove) | **DELETE** /api/v0/webhooks/{id} | Delete a webhook
170
- *DevDraftAI::WebhooksApi* | [**webhook_controller_update**](docs/WebhooksApi.md#webhook_controller_update) | **PATCH** /api/v0/webhooks/{id} | Update a webhook
93
+ *Devdraft::APIHealthApi* | [**health_controller_check_v0**](docs/APIHealthApi.md#health_controller_check_v0) | **GET** /api/v0/health | Authenticated health check endpoint
94
+ *Devdraft::APIHealthApi* | [**health_controller_public_health_check_v0**](docs/APIHealthApi.md#health_controller_public_health_check_v0) | **GET** /api/v0/health/public | Public health check endpoint
95
+ *Devdraft::AppBalancesApi* | [**balance_controller_get_all_balances**](docs/AppBalancesApi.md#balance_controller_get_all_balances) | **GET** /api/v0/balance | Get all stablecoin balances for an app
96
+ *Devdraft::AppBalancesApi* | [**balance_controller_get_eurc_balance**](docs/AppBalancesApi.md#balance_controller_get_eurc_balance) | **GET** /api/v0/balance/eurc | Get EURC balance for an app
97
+ *Devdraft::AppBalancesApi* | [**balance_controller_get_usdc_balance**](docs/AppBalancesApi.md#balance_controller_get_usdc_balance) | **GET** /api/v0/balance/usdc | Get USDC balance for an app
98
+ *Devdraft::CustomersApi* | [**customer_controller_create**](docs/CustomersApi.md#customer_controller_create) | **POST** /api/v0/customers | Create a new customer
99
+ *Devdraft::CustomersApi* | [**customer_controller_find_all**](docs/CustomersApi.md#customer_controller_find_all) | **GET** /api/v0/customers | Get all customers with filters
100
+ *Devdraft::CustomersApi* | [**customer_controller_find_one**](docs/CustomersApi.md#customer_controller_find_one) | **GET** /api/v0/customers/{id} | Get a customer by ID
101
+ *Devdraft::CustomersApi* | [**customer_controller_update**](docs/CustomersApi.md#customer_controller_update) | **PATCH** /api/v0/customers/{id} | Update a customer
102
+ *Devdraft::ExchangeRatesApi* | [**exchange_rate_controller_get_eurto_usd_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_eurto_usd_rate) | **GET** /api/v0/exchange-rate/eur-to-usd | Get EUR to USD exchange rate
103
+ *Devdraft::ExchangeRatesApi* | [**exchange_rate_controller_get_exchange_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_exchange_rate) | **GET** /api/v0/exchange-rate | Get exchange rate between specified currencies
104
+ *Devdraft::ExchangeRatesApi* | [**exchange_rate_controller_get_usdto_eur_rate**](docs/ExchangeRatesApi.md#exchange_rate_controller_get_usdto_eur_rate) | **GET** /api/v0/exchange-rate/usd-to-eur | Get USD to EUR exchange rate
105
+ *Devdraft::InvoicesApi* | [**invoice_controller_create**](docs/InvoicesApi.md#invoice_controller_create) | **POST** /api/v0/invoices | Create a new invoice
106
+ *Devdraft::InvoicesApi* | [**invoice_controller_find_all**](docs/InvoicesApi.md#invoice_controller_find_all) | **GET** /api/v0/invoices | Get all invoices
107
+ *Devdraft::InvoicesApi* | [**invoice_controller_find_one**](docs/InvoicesApi.md#invoice_controller_find_one) | **GET** /api/v0/invoices/{id} | Get an invoice by ID
108
+ *Devdraft::InvoicesApi* | [**invoice_controller_update**](docs/InvoicesApi.md#invoice_controller_update) | **PUT** /api/v0/invoices/{id} | Update an invoice
109
+ *Devdraft::LiquidationAddressesApi* | [**liquidation_address_controller_create_liquidation_address**](docs/LiquidationAddressesApi.md#liquidation_address_controller_create_liquidation_address) | **POST** /api/v0/customers/{customerId}/liquidation_addresses | Create a new liquidation address for a customer
110
+ *Devdraft::LiquidationAddressesApi* | [**liquidation_address_controller_get_liquidation_address**](docs/LiquidationAddressesApi.md#liquidation_address_controller_get_liquidation_address) | **GET** /api/v0/customers/{customerId}/liquidation_addresses/{liquidationAddressId} | Get a specific liquidation address
111
+ *Devdraft::LiquidationAddressesApi* | [**liquidation_address_controller_get_liquidation_addresses**](docs/LiquidationAddressesApi.md#liquidation_address_controller_get_liquidation_addresses) | **GET** /api/v0/customers/{customerId}/liquidation_addresses | Get all liquidation addresses for a customer
112
+ *Devdraft::PaymentIntentsApi* | [**payment_intent_controller_create_bank_payment_intent**](docs/PaymentIntentsApi.md#payment_intent_controller_create_bank_payment_intent) | **POST** /api/v0/payment-intents/bank | Create a bank payment intent
113
+ *Devdraft::PaymentIntentsApi* | [**payment_intent_controller_create_stable_payment_intent**](docs/PaymentIntentsApi.md#payment_intent_controller_create_stable_payment_intent) | **POST** /api/v0/payment-intents/stablecoin | Create a stable payment intent
114
+ *Devdraft::PaymentLinksApi* | [**payment_links_controller_create**](docs/PaymentLinksApi.md#payment_links_controller_create) | **POST** /api/v0/payment-links | Create a new payment link
115
+ *Devdraft::PaymentLinksApi* | [**payment_links_controller_find_all**](docs/PaymentLinksApi.md#payment_links_controller_find_all) | **GET** /api/v0/payment-links | Get all payment links
116
+ *Devdraft::PaymentLinksApi* | [**payment_links_controller_find_one**](docs/PaymentLinksApi.md#payment_links_controller_find_one) | **GET** /api/v0/payment-links/{id} | Get a payment link by ID
117
+ *Devdraft::PaymentLinksApi* | [**payment_links_controller_update**](docs/PaymentLinksApi.md#payment_links_controller_update) | **PUT** /api/v0/payment-links/{id} | Update a payment link
118
+ *Devdraft::ProductsApi* | [**product_controller_create**](docs/ProductsApi.md#product_controller_create) | **POST** /api/v0/products | Create a new product
119
+ *Devdraft::ProductsApi* | [**product_controller_find_all**](docs/ProductsApi.md#product_controller_find_all) | **GET** /api/v0/products | Get all products
120
+ *Devdraft::ProductsApi* | [**product_controller_find_one**](docs/ProductsApi.md#product_controller_find_one) | **GET** /api/v0/products/{id} | Get a product by ID
121
+ *Devdraft::ProductsApi* | [**product_controller_remove**](docs/ProductsApi.md#product_controller_remove) | **DELETE** /api/v0/products/{id} | Delete a product
122
+ *Devdraft::ProductsApi* | [**product_controller_update**](docs/ProductsApi.md#product_controller_update) | **PUT** /api/v0/products/{id} | Update a product
123
+ *Devdraft::ProductsApi* | [**product_controller_upload_image**](docs/ProductsApi.md#product_controller_upload_image) | **POST** /api/v0/products/{id}/images | Upload images for a product
124
+ *Devdraft::TaxesApi* | [**tax_controller_create**](docs/TaxesApi.md#tax_controller_create) | **POST** /api/v0/taxes | Create a new tax
125
+ *Devdraft::TaxesApi* | [**tax_controller_delete_without_id**](docs/TaxesApi.md#tax_controller_delete_without_id) | **DELETE** /api/v0/taxes | Tax ID required for deletion
126
+ *Devdraft::TaxesApi* | [**tax_controller_find_all**](docs/TaxesApi.md#tax_controller_find_all) | **GET** /api/v0/taxes | Get all taxes with filters
127
+ *Devdraft::TaxesApi* | [**tax_controller_find_one**](docs/TaxesApi.md#tax_controller_find_one) | **GET** /api/v0/taxes/{id} | Get a tax by ID
128
+ *Devdraft::TaxesApi* | [**tax_controller_remove**](docs/TaxesApi.md#tax_controller_remove) | **DELETE** /api/v0/taxes/{id} | Delete a tax
129
+ *Devdraft::TaxesApi* | [**tax_controller_update**](docs/TaxesApi.md#tax_controller_update) | **PUT** /api/v0/taxes/{id} | Update a tax
130
+ *Devdraft::TaxesApi* | [**tax_controller_update_without_id**](docs/TaxesApi.md#tax_controller_update_without_id) | **PUT** /api/v0/taxes | Tax ID required for updates
131
+ *Devdraft::TestPaymentsApi* | [**test_payment_controller_create_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_create_payment_v0) | **POST** /api/v0/test-payment | Process a test payment
132
+ *Devdraft::TestPaymentsApi* | [**test_payment_controller_get_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_get_payment_v0) | **GET** /api/v0/test-payment/{id} | Get payment details by ID
133
+ *Devdraft::TestPaymentsApi* | [**test_payment_controller_refund_payment_v0**](docs/TestPaymentsApi.md#test_payment_controller_refund_payment_v0) | **POST** /api/v0/test-payment/{id}/refund | Refund a payment
134
+ *Devdraft::TransfersApi* | [**transfer_controller_create_direct_bank_transfer**](docs/TransfersApi.md#transfer_controller_create_direct_bank_transfer) | **POST** /api/v0/transfers/direct-bank | Create a direct bank transfer
135
+ *Devdraft::TransfersApi* | [**transfer_controller_create_direct_wallet_transfer**](docs/TransfersApi.md#transfer_controller_create_direct_wallet_transfer) | **POST** /api/v0/transfers/direct-wallet | Create a direct wallet transfer
136
+ *Devdraft::TransfersApi* | [**transfer_controller_create_external_bank_transfer**](docs/TransfersApi.md#transfer_controller_create_external_bank_transfer) | **POST** /api/v0/transfers/external-bank-transfer | Create an external bank transfer
137
+ *Devdraft::TransfersApi* | [**transfer_controller_create_external_stablecoin_transfer**](docs/TransfersApi.md#transfer_controller_create_external_stablecoin_transfer) | **POST** /api/v0/transfers/external-stablecoin-transfer | Create an external stablecoin transfer
138
+ *Devdraft::TransfersApi* | [**transfer_controller_create_stablecoin_conversion**](docs/TransfersApi.md#transfer_controller_create_stablecoin_conversion) | **POST** /api/v0/transfers/stablecoin-conversion | Create a stablecoin conversion
139
+ *Devdraft::WalletsApi* | [**wallet_controller_get_wallets**](docs/WalletsApi.md#wallet_controller_get_wallets) | **GET** /api/v0/wallets | Get wallets for an app
140
+ *Devdraft::WebhooksApi* | [**webhook_controller_create**](docs/WebhooksApi.md#webhook_controller_create) | **POST** /api/v0/webhooks | Create a new webhook
141
+ *Devdraft::WebhooksApi* | [**webhook_controller_find_all**](docs/WebhooksApi.md#webhook_controller_find_all) | **GET** /api/v0/webhooks | Get all webhooks
142
+ *Devdraft::WebhooksApi* | [**webhook_controller_find_one**](docs/WebhooksApi.md#webhook_controller_find_one) | **GET** /api/v0/webhooks/{id} | Get a webhook by id
143
+ *Devdraft::WebhooksApi* | [**webhook_controller_remove**](docs/WebhooksApi.md#webhook_controller_remove) | **DELETE** /api/v0/webhooks/{id} | Delete a webhook
144
+ *Devdraft::WebhooksApi* | [**webhook_controller_update**](docs/WebhooksApi.md#webhook_controller_update) | **PATCH** /api/v0/webhooks/{id} | Update a webhook
171
145
 
172
- ## Documentation for Models
173
146
 
174
- - [DevDraftAI::AggregatedBalanceResponse](docs/AggregatedBalanceResponse.md)
175
- - [DevDraftAI::AllBalancesResponse](docs/AllBalancesResponse.md)
176
- - [DevDraftAI::AllOfAllBalancesResponseEurc](docs/AllOfAllBalancesResponseEurc.md)
177
- - [DevDraftAI::AllOfAllBalancesResponseUsdc](docs/AllOfAllBalancesResponseUsdc.md)
178
- - [DevDraftAI::AllOfCreateBankPaymentIntentDtoDestinationCurrency](docs/AllOfCreateBankPaymentIntentDtoDestinationCurrency.md)
179
- - [DevDraftAI::AllOfCreateBankPaymentIntentDtoDestinationNetwork](docs/AllOfCreateBankPaymentIntentDtoDestinationNetwork.md)
180
- - [DevDraftAI::AllOfCreateBankPaymentIntentDtoSourceCurrency](docs/AllOfCreateBankPaymentIntentDtoSourceCurrency.md)
181
- - [DevDraftAI::AllOfCreateBankPaymentIntentDtoSourcePaymentRail](docs/AllOfCreateBankPaymentIntentDtoSourcePaymentRail.md)
182
- - [DevDraftAI::AllOfCreateCustomerDtoStatus](docs/AllOfCreateCustomerDtoStatus.md)
183
- - [DevDraftAI::AllOfCreateLiquidationAddressDtoDestinationCurrency](docs/AllOfCreateLiquidationAddressDtoDestinationCurrency.md)
184
- - [DevDraftAI::AllOfCreateLiquidationAddressDtoDestinationPaymentRail](docs/AllOfCreateLiquidationAddressDtoDestinationPaymentRail.md)
185
- - [DevDraftAI::AllOfCreateStablePaymentIntentDtoDestinationCurrency](docs/AllOfCreateStablePaymentIntentDtoDestinationCurrency.md)
186
- - [DevDraftAI::AllOfCreateStablePaymentIntentDtoDestinationNetwork](docs/AllOfCreateStablePaymentIntentDtoDestinationNetwork.md)
187
- - [DevDraftAI::AllOfCreateStablePaymentIntentDtoSourceCurrency](docs/AllOfCreateStablePaymentIntentDtoSourceCurrency.md)
188
- - [DevDraftAI::AllOfCreateStablePaymentIntentDtoSourceNetwork](docs/AllOfCreateStablePaymentIntentDtoSourceNetwork.md)
189
- - [DevDraftAI::AllOfUpdateCustomerDtoStatus](docs/AllOfUpdateCustomerDtoStatus.md)
190
- - [DevDraftAI::BridgePaymentRail](docs/BridgePaymentRail.md)
191
- - [DevDraftAI::CreateBankPaymentIntentDto](docs/CreateBankPaymentIntentDto.md)
192
- - [DevDraftAI::CreateCustomerDto](docs/CreateCustomerDto.md)
193
- - [DevDraftAI::CreateDirectBankTransferDto](docs/CreateDirectBankTransferDto.md)
194
- - [DevDraftAI::CreateDirectWalletTransferDto](docs/CreateDirectWalletTransferDto.md)
195
- - [DevDraftAI::CreateInvoiceDto](docs/CreateInvoiceDto.md)
196
- - [DevDraftAI::CreateLiquidationAddressDto](docs/CreateLiquidationAddressDto.md)
197
- - [DevDraftAI::CreatePaymentLinkDto](docs/CreatePaymentLinkDto.md)
198
- - [DevDraftAI::CreateProductDto](docs/CreateProductDto.md)
199
- - [DevDraftAI::CreateStablePaymentIntentDto](docs/CreateStablePaymentIntentDto.md)
200
- - [DevDraftAI::CreateStablecoinConversionDto](docs/CreateStablecoinConversionDto.md)
201
- - [DevDraftAI::CreateTaxInput](docs/CreateTaxInput.md)
202
- - [DevDraftAI::CreateWebhookDto](docs/CreateWebhookDto.md)
203
- - [DevDraftAI::CustomerStatus](docs/CustomerStatus.md)
204
- - [DevDraftAI::DestinationCurrency](docs/DestinationCurrency.md)
205
- - [DevDraftAI::ExchangeRateResponseDto](docs/ExchangeRateResponseDto.md)
206
- - [DevDraftAI::FiatCurrency](docs/FiatCurrency.md)
207
- - [DevDraftAI::HealthResponseDto](docs/HealthResponseDto.md)
208
- - [DevDraftAI::InvoiceProductDto](docs/InvoiceProductDto.md)
209
- - [DevDraftAI::LiquidationAddressResponseDto](docs/LiquidationAddressResponseDto.md)
210
- - [DevDraftAI::PaymentLinkProductDto](docs/PaymentLinkProductDto.md)
211
- - [DevDraftAI::PaymentRequestDto](docs/PaymentRequestDto.md)
212
- - [DevDraftAI::PaymentResponseDto](docs/PaymentResponseDto.md)
213
- - [DevDraftAI::PublicHealthResponseDto](docs/PublicHealthResponseDto.md)
214
- - [DevDraftAI::RefundResponseDto](docs/RefundResponseDto.md)
215
- - [DevDraftAI::StableCoinCurrency](docs/StableCoinCurrency.md)
216
- - [DevDraftAI::UpdateCustomerDto](docs/UpdateCustomerDto.md)
217
- - [DevDraftAI::UpdatePaymentLinkDto](docs/UpdatePaymentLinkDto.md)
218
- - [DevDraftAI::UpdatePreferenceInput](docs/UpdatePreferenceInput.md)
219
- - [DevDraftAI::UpdateProductDto](docs/UpdateProductDto.md)
220
- - [DevDraftAI::UpdateTaxInput](docs/UpdateTaxInput.md)
221
- - [DevDraftAI::UpdateWebhookDto](docs/UpdateWebhookDto.md)
222
- - [DevDraftAI::WebhookResponseDto](docs/WebhookResponseDto.md)
147
+ ## Documentation for Models
223
148
 
224
- ## Documentation for Authorization
149
+ - [Devdraft::AggregatedBalanceResponse](docs/AggregatedBalanceResponse.md)
150
+ - [Devdraft::AllBalancesResponse](docs/AllBalancesResponse.md)
151
+ - [Devdraft::BridgeFiatPaymentRail](docs/BridgeFiatPaymentRail.md)
152
+ - [Devdraft::BridgePaymentRail](docs/BridgePaymentRail.md)
153
+ - [Devdraft::CreateBankPaymentIntentDto](docs/CreateBankPaymentIntentDto.md)
154
+ - [Devdraft::CreateCustomerDto](docs/CreateCustomerDto.md)
155
+ - [Devdraft::CreateDirectBankTransferDto](docs/CreateDirectBankTransferDto.md)
156
+ - [Devdraft::CreateDirectWalletTransferDto](docs/CreateDirectWalletTransferDto.md)
157
+ - [Devdraft::CreateExternalBankTransferDto](docs/CreateExternalBankTransferDto.md)
158
+ - [Devdraft::CreateExternalStablecoinTransferDto](docs/CreateExternalStablecoinTransferDto.md)
159
+ - [Devdraft::CreateInvoiceDto](docs/CreateInvoiceDto.md)
160
+ - [Devdraft::CreateLiquidationAddressDto](docs/CreateLiquidationAddressDto.md)
161
+ - [Devdraft::CreatePaymentLinkDto](docs/CreatePaymentLinkDto.md)
162
+ - [Devdraft::CreateStablePaymentIntentDto](docs/CreateStablePaymentIntentDto.md)
163
+ - [Devdraft::CreateStablecoinConversionDto](docs/CreateStablecoinConversionDto.md)
164
+ - [Devdraft::CreateTaxDto](docs/CreateTaxDto.md)
165
+ - [Devdraft::CreateWebhookDto](docs/CreateWebhookDto.md)
166
+ - [Devdraft::CustomerStatus](docs/CustomerStatus.md)
167
+ - [Devdraft::CustomerType](docs/CustomerType.md)
168
+ - [Devdraft::DestinationCurrency](docs/DestinationCurrency.md)
169
+ - [Devdraft::ExchangeRateResponseDto](docs/ExchangeRateResponseDto.md)
170
+ - [Devdraft::FiatCurrency](docs/FiatCurrency.md)
171
+ - [Devdraft::HealthResponseDto](docs/HealthResponseDto.md)
172
+ - [Devdraft::InvoiceProductDto](docs/InvoiceProductDto.md)
173
+ - [Devdraft::LiquidationAddressResponseDto](docs/LiquidationAddressResponseDto.md)
174
+ - [Devdraft::PaymentLinkProductDto](docs/PaymentLinkProductDto.md)
175
+ - [Devdraft::PaymentRequestDto](docs/PaymentRequestDto.md)
176
+ - [Devdraft::PaymentResponseDto](docs/PaymentResponseDto.md)
177
+ - [Devdraft::PublicHealthResponseDto](docs/PublicHealthResponseDto.md)
178
+ - [Devdraft::RefundResponseDto](docs/RefundResponseDto.md)
179
+ - [Devdraft::StableCoinCurrency](docs/StableCoinCurrency.md)
180
+ - [Devdraft::TaxControllerCreate201Response](docs/TaxControllerCreate201Response.md)
181
+ - [Devdraft::TaxControllerDeleteWithoutId400Response](docs/TaxControllerDeleteWithoutId400Response.md)
182
+ - [Devdraft::TaxControllerUpdateWithoutId400Response](docs/TaxControllerUpdateWithoutId400Response.md)
183
+ - [Devdraft::UpdateCustomerDto](docs/UpdateCustomerDto.md)
184
+ - [Devdraft::UpdateTaxDto](docs/UpdateTaxDto.md)
185
+ - [Devdraft::UpdateWebhookDto](docs/UpdateWebhookDto.md)
186
+ - [Devdraft::WebhookResponseDto](docs/WebhookResponseDto.md)
225
187
 
226
188
 
227
- ### idempotency-key
189
+ ## Documentation for Authorization
228
190
 
229
- - **Type**: API key
230
- - **API key parameter name**: idempotency-key
231
- - **Location**: HTTP header
232
191
 
192
+ Authentication schemes defined for the API:
233
193
  ### x-client-key
234
194
 
195
+
235
196
  - **Type**: API key
236
197
  - **API key parameter name**: x-client-key
237
198
  - **Location**: HTTP header
238
199
 
239
200
  ### x-client-secret
240
201
 
202
+
241
203
  - **Type**: API key
242
204
  - **API key parameter name**: x-client-secret
243
205
  - **Location**: HTTP header
244
206
 
207
+ ### idempotency-key
208
+
209
+
210
+ - **Type**: API key
211
+ - **API key parameter name**: idempotency-key
212
+ - **Location**: HTTP header
213
+
data/Rakefile CHANGED
@@ -1,3 +1,5 @@
1
+ require "bundler/gem_tasks"
2
+
1
3
  begin
2
4
  require 'rspec/core/rake_task'
3
5
 
Binary file
@@ -1,14 +1,15 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
 
3
3
  =begin
4
- #Devdraft Payment & Business Management API
4
+ #Devdraft AI Payment & Business Management API
5
5
 
6
6
  # A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods.
7
7
 
8
- OpenAPI spec version: 1.0.0
8
+ The version of the OpenAPI document: 1.0.0
9
+
10
+ Generated by: https://openapi-generator.tech
11
+ Generator version: 7.17.0
9
12
 
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- Swagger Codegen version: 3.0.65
12
13
  =end
13
14
 
14
15
  $:.push File.expand_path("../lib", __FILE__)
@@ -18,20 +19,23 @@ Gem::Specification.new do |s|
18
19
  s.name = "devdraft"
19
20
  s.version = Devdraft::VERSION
20
21
  s.platform = Gem::Platform::RUBY
21
- s.authors = ["Swagger-Codegen"]
22
- s.email = [""]
23
- s.homepage = "https://github.com/swagger-api/swagger-codegen"
24
- s.summary = "Devdraft Payment & Business Management API Ruby Gem"
22
+ s.authors = ["Devdraft"]
23
+ s.email = ["support@devdraft.com"]
24
+ s.homepage = "https://github.com/devdraftengineer/ruby"
25
+ s.summary = "Devdraft AI Payment & Business Management API Ruby Gem"
25
26
  s.description = " A comprehensive payment processing and business management API that enables seamless integration of cryptocurrency and traditional payment methods. "
26
27
  s.license = "Unlicense"
27
- s.required_ruby_version = ">= 1.9"
28
+ s.required_ruby_version = ">= 2.7"
29
+ s.metadata = {
30
+ "source_code_uri" => "https://github.com/devdraftengineer/ruby",
31
+ "homepage_uri" => "https://github.com/devdraftengineer/ruby"
32
+ }
28
33
 
29
34
  s.add_runtime_dependency 'typhoeus', '~> 1.0', '>= 1.0.1'
30
- s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
31
35
 
32
36
  s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
33
37
 
34
- s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? && !f.end_with?('.gem') }
38
+ s.files = `find *`.split("\n").uniq.sort.select { |f| !f.empty? }
35
39
  s.test_files = `find spec/*`.split("\n")
36
40
  s.executables = []
37
41
  s.require_paths = ["lib"]