aure_ex 0.1.0 → 0.1.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.
- checksums.yaml +4 -4
- data/lib/aure_ex/generated/api/company_api.rb +2 -2
- data/lib/aure_ex/generated/api/conversions_api.rb +2 -2
- data/lib/aure_ex/generated/api/deposits_api.rb +65 -2
- data/lib/aure_ex/generated/api/webhooks_api.rb +2 -2
- data/lib/aure_ex/generated/api/withdrawals_api.rb +137 -2
- data/lib/aure_ex/generated/api_client.rb +2 -2
- data/lib/aure_ex/generated/api_error.rb +2 -2
- data/lib/aure_ex/generated/api_model_base.rb +2 -2
- data/lib/aure_ex/generated/configuration.rb +2 -2
- data/lib/aure_ex/generated/models/conversion_create.rb +4 -3
- data/lib/aure_ex/generated/models/customer_input.rb +2 -2
- data/lib/aure_ex/generated/models/customer_input_document.rb +2 -2
- data/lib/aure_ex/generated/models/deposit_create.rb +28 -6
- data/lib/aure_ex/generated/models/error_body.rb +2 -2
- data/lib/aure_ex/generated/models/error_body_error.rb +2 -2
- data/lib/aure_ex/generated/models/success_envelope.rb +2 -2
- data/lib/aure_ex/generated/models/webhook_create.rb +2 -2
- data/lib/aure_ex/generated/models/withdrawal_create.rb +38 -3
- data/lib/aure_ex/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: efa244fa40ed26d5da5e15decb1bb9c1dce28c9aaff20574034b18b6a441cdc9
|
|
4
|
+
data.tar.gz: e3fdd204432442f655fac511cf8e73599eed6147e46298c05c3fb627074b4a2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f96bbf70a4f48fc578e15cc076c52d14c657bd8ab9469e7bd9aeb6a10a09c5c7a6f6c199bd8f758251e0339ebed045c1af576d864b8ccc480870dee9c827bb38
|
|
7
|
+
data.tar.gz: e12a0962a8e480ebca9e088342bd2b6f00b51a5f55e5fb8567cf6c4b708538b94f19c8caeec2cdfef23b5e726af287bdf71d6273c5cd6970ef29023bfbed4f47
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -146,6 +146,69 @@ module AureEx
|
|
|
146
146
|
return data, status_code, headers
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
+
# Payload request/response do depósito USDT
|
|
150
|
+
# Retorna o request e o response da chamada de API que criou o depósito. Retenção de 90 dias; após isso responde PAYLOAD_NOT_FOUND.
|
|
151
|
+
# @param id [String] Identificador ULID do recurso
|
|
152
|
+
# @param [Hash] opts the optional parameters
|
|
153
|
+
# @return [SuccessEnvelope]
|
|
154
|
+
def deposits_get_payload(id, opts = {})
|
|
155
|
+
data, _status_code, _headers = deposits_get_payload_with_http_info(id, opts)
|
|
156
|
+
data
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Payload request/response do depósito USDT
|
|
160
|
+
# Retorna o request e o response da chamada de API que criou o depósito. Retenção de 90 dias; após isso responde PAYLOAD_NOT_FOUND.
|
|
161
|
+
# @param id [String] Identificador ULID do recurso
|
|
162
|
+
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @return [Array<(SuccessEnvelope, Integer, Hash)>] SuccessEnvelope data, response status code and response headers
|
|
164
|
+
def deposits_get_payload_with_http_info(id, opts = {})
|
|
165
|
+
if @api_client.config.debugging
|
|
166
|
+
@api_client.config.logger.debug 'Calling API: DepositsApi.deposits_get_payload ...'
|
|
167
|
+
end
|
|
168
|
+
# verify the required parameter 'id' is set
|
|
169
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
170
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling DepositsApi.deposits_get_payload"
|
|
171
|
+
end
|
|
172
|
+
# resource path
|
|
173
|
+
local_var_path = '/deposits/{id}/payload'.sub('{id}', CGI.escape(id.to_s))
|
|
174
|
+
|
|
175
|
+
# query parameters
|
|
176
|
+
query_params = opts[:query_params] || {}
|
|
177
|
+
|
|
178
|
+
# header parameters
|
|
179
|
+
header_params = opts[:header_params] || {}
|
|
180
|
+
# HTTP header 'Accept' (if needed)
|
|
181
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
182
|
+
|
|
183
|
+
# form parameters
|
|
184
|
+
form_params = opts[:form_params] || {}
|
|
185
|
+
|
|
186
|
+
# http body (model)
|
|
187
|
+
post_body = opts[:debug_body]
|
|
188
|
+
|
|
189
|
+
# return_type
|
|
190
|
+
return_type = opts[:debug_return_type] || 'SuccessEnvelope'
|
|
191
|
+
|
|
192
|
+
# auth_names
|
|
193
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth', 'ApiSecretAuth']
|
|
194
|
+
|
|
195
|
+
new_options = opts.merge(
|
|
196
|
+
:operation => :"DepositsApi.deposits_get_payload",
|
|
197
|
+
:header_params => header_params,
|
|
198
|
+
:query_params => query_params,
|
|
199
|
+
:form_params => form_params,
|
|
200
|
+
:body => post_body,
|
|
201
|
+
:auth_names => auth_names,
|
|
202
|
+
:return_type => return_type
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
206
|
+
if @api_client.config.debugging
|
|
207
|
+
@api_client.config.logger.debug "API called: DepositsApi#deposits_get_payload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
208
|
+
end
|
|
209
|
+
return data, status_code, headers
|
|
210
|
+
end
|
|
211
|
+
|
|
149
212
|
# Lista depósitos USDT
|
|
150
213
|
# @param [Hash] opts the optional parameters
|
|
151
214
|
# @return [SuccessEnvelope]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -146,6 +146,69 @@ module AureEx
|
|
|
146
146
|
return data, status_code, headers
|
|
147
147
|
end
|
|
148
148
|
|
|
149
|
+
# Payload request/response do saque USDT
|
|
150
|
+
# Retorna o request e o response da chamada de API que criou o saque. Retenção de 90 dias; após isso responde PAYLOAD_NOT_FOUND.
|
|
151
|
+
# @param id [String] Identificador ULID do recurso
|
|
152
|
+
# @param [Hash] opts the optional parameters
|
|
153
|
+
# @return [SuccessEnvelope]
|
|
154
|
+
def withdrawals_get_payload(id, opts = {})
|
|
155
|
+
data, _status_code, _headers = withdrawals_get_payload_with_http_info(id, opts)
|
|
156
|
+
data
|
|
157
|
+
end
|
|
158
|
+
|
|
159
|
+
# Payload request/response do saque USDT
|
|
160
|
+
# Retorna o request e o response da chamada de API que criou o saque. Retenção de 90 dias; após isso responde PAYLOAD_NOT_FOUND.
|
|
161
|
+
# @param id [String] Identificador ULID do recurso
|
|
162
|
+
# @param [Hash] opts the optional parameters
|
|
163
|
+
# @return [Array<(SuccessEnvelope, Integer, Hash)>] SuccessEnvelope data, response status code and response headers
|
|
164
|
+
def withdrawals_get_payload_with_http_info(id, opts = {})
|
|
165
|
+
if @api_client.config.debugging
|
|
166
|
+
@api_client.config.logger.debug 'Calling API: WithdrawalsApi.withdrawals_get_payload ...'
|
|
167
|
+
end
|
|
168
|
+
# verify the required parameter 'id' is set
|
|
169
|
+
if @api_client.config.client_side_validation && id.nil?
|
|
170
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling WithdrawalsApi.withdrawals_get_payload"
|
|
171
|
+
end
|
|
172
|
+
# resource path
|
|
173
|
+
local_var_path = '/withdrawals/{id}/payload'.sub('{id}', CGI.escape(id.to_s))
|
|
174
|
+
|
|
175
|
+
# query parameters
|
|
176
|
+
query_params = opts[:query_params] || {}
|
|
177
|
+
|
|
178
|
+
# header parameters
|
|
179
|
+
header_params = opts[:header_params] || {}
|
|
180
|
+
# HTTP header 'Accept' (if needed)
|
|
181
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
182
|
+
|
|
183
|
+
# form parameters
|
|
184
|
+
form_params = opts[:form_params] || {}
|
|
185
|
+
|
|
186
|
+
# http body (model)
|
|
187
|
+
post_body = opts[:debug_body]
|
|
188
|
+
|
|
189
|
+
# return_type
|
|
190
|
+
return_type = opts[:debug_return_type] || 'SuccessEnvelope'
|
|
191
|
+
|
|
192
|
+
# auth_names
|
|
193
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth', 'ApiSecretAuth']
|
|
194
|
+
|
|
195
|
+
new_options = opts.merge(
|
|
196
|
+
:operation => :"WithdrawalsApi.withdrawals_get_payload",
|
|
197
|
+
:header_params => header_params,
|
|
198
|
+
:query_params => query_params,
|
|
199
|
+
:form_params => form_params,
|
|
200
|
+
:body => post_body,
|
|
201
|
+
:auth_names => auth_names,
|
|
202
|
+
:return_type => return_type
|
|
203
|
+
)
|
|
204
|
+
|
|
205
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
206
|
+
if @api_client.config.debugging
|
|
207
|
+
@api_client.config.logger.debug "API called: WithdrawalsApi#withdrawals_get_payload\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
208
|
+
end
|
|
209
|
+
return data, status_code, headers
|
|
210
|
+
end
|
|
211
|
+
|
|
149
212
|
# Lista saques USDT
|
|
150
213
|
# @param [Hash] opts the optional parameters
|
|
151
214
|
# @return [SuccessEnvelope]
|
|
@@ -200,5 +263,77 @@ module AureEx
|
|
|
200
263
|
end
|
|
201
264
|
return data, status_code, headers
|
|
202
265
|
end
|
|
266
|
+
|
|
267
|
+
# Cotação de saque USDT (taxa de rede e cálculo do saque)
|
|
268
|
+
# A taxa de rede é um valor fixo em USDT por rede (não percentual), conforme a tabela vigente da rede; no sandbox é zero. Sem `amount`, retorna apenas `networkFee`. Com `amount` (bruto), retorna `grossAmount`, `netAmount`, `feeAmount`, `networkFee` e `totalAmount`.
|
|
269
|
+
# @param network [String]
|
|
270
|
+
# @param [Hash] opts the optional parameters
|
|
271
|
+
# @option opts [Float] :amount Valor bruto em USDT, até 6 casas decimais
|
|
272
|
+
# @return [SuccessEnvelope]
|
|
273
|
+
def withdrawals_quote(network, opts = {})
|
|
274
|
+
data, _status_code, _headers = withdrawals_quote_with_http_info(network, opts)
|
|
275
|
+
data
|
|
276
|
+
end
|
|
277
|
+
|
|
278
|
+
# Cotação de saque USDT (taxa de rede e cálculo do saque)
|
|
279
|
+
# A taxa de rede é um valor fixo em USDT por rede (não percentual), conforme a tabela vigente da rede; no sandbox é zero. Sem `amount`, retorna apenas `networkFee`. Com `amount` (bruto), retorna `grossAmount`, `netAmount`, `feeAmount`, `networkFee` e `totalAmount`.
|
|
280
|
+
# @param network [String]
|
|
281
|
+
# @param [Hash] opts the optional parameters
|
|
282
|
+
# @option opts [Float] :amount Valor bruto em USDT, até 6 casas decimais
|
|
283
|
+
# @return [Array<(SuccessEnvelope, Integer, Hash)>] SuccessEnvelope data, response status code and response headers
|
|
284
|
+
def withdrawals_quote_with_http_info(network, opts = {})
|
|
285
|
+
if @api_client.config.debugging
|
|
286
|
+
@api_client.config.logger.debug 'Calling API: WithdrawalsApi.withdrawals_quote ...'
|
|
287
|
+
end
|
|
288
|
+
# verify the required parameter 'network' is set
|
|
289
|
+
if @api_client.config.client_side_validation && network.nil?
|
|
290
|
+
fail ArgumentError, "Missing the required parameter 'network' when calling WithdrawalsApi.withdrawals_quote"
|
|
291
|
+
end
|
|
292
|
+
# verify enum value
|
|
293
|
+
allowable_values = ["trx", "eth", "bsc", "pol", "matic", "sol", "ton"]
|
|
294
|
+
if @api_client.config.client_side_validation && !allowable_values.include?(network)
|
|
295
|
+
fail ArgumentError, "invalid value for \"network\", must be one of #{allowable_values}"
|
|
296
|
+
end
|
|
297
|
+
# resource path
|
|
298
|
+
local_var_path = '/withdrawals/quote'
|
|
299
|
+
|
|
300
|
+
# query parameters
|
|
301
|
+
query_params = opts[:query_params] || {}
|
|
302
|
+
query_params[:'network'] = network
|
|
303
|
+
query_params[:'amount'] = opts[:'amount'] if !opts[:'amount'].nil?
|
|
304
|
+
|
|
305
|
+
# header parameters
|
|
306
|
+
header_params = opts[:header_params] || {}
|
|
307
|
+
# HTTP header 'Accept' (if needed)
|
|
308
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json']) unless header_params['Accept']
|
|
309
|
+
|
|
310
|
+
# form parameters
|
|
311
|
+
form_params = opts[:form_params] || {}
|
|
312
|
+
|
|
313
|
+
# http body (model)
|
|
314
|
+
post_body = opts[:debug_body]
|
|
315
|
+
|
|
316
|
+
# return_type
|
|
317
|
+
return_type = opts[:debug_return_type] || 'SuccessEnvelope'
|
|
318
|
+
|
|
319
|
+
# auth_names
|
|
320
|
+
auth_names = opts[:debug_auth_names] || ['ApiKeyAuth', 'ApiSecretAuth']
|
|
321
|
+
|
|
322
|
+
new_options = opts.merge(
|
|
323
|
+
:operation => :"WithdrawalsApi.withdrawals_quote",
|
|
324
|
+
:header_params => header_params,
|
|
325
|
+
:query_params => query_params,
|
|
326
|
+
:form_params => form_params,
|
|
327
|
+
:body => post_body,
|
|
328
|
+
:auth_names => auth_names,
|
|
329
|
+
:return_type => return_type
|
|
330
|
+
)
|
|
331
|
+
|
|
332
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
|
333
|
+
if @api_client.config.debugging
|
|
334
|
+
@api_client.config.logger.debug "API called: WithdrawalsApi#withdrawals_quote\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
335
|
+
end
|
|
336
|
+
return data, status_code, headers
|
|
337
|
+
end
|
|
203
338
|
end
|
|
204
339
|
end
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -15,6 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module AureEx
|
|
17
17
|
class ConversionCreate < ApiModelBase
|
|
18
|
+
# Valor em USDT com até 6 casas decimais
|
|
18
19
|
attr_accessor :amount
|
|
19
20
|
|
|
20
21
|
# Tipicamente usdt
|
|
@@ -48,7 +49,7 @@ module AureEx
|
|
|
48
49
|
# Attribute type mapping.
|
|
49
50
|
def self.openapi_types
|
|
50
51
|
{
|
|
51
|
-
:'amount' => :'
|
|
52
|
+
:'amount' => :'Float',
|
|
52
53
|
:'from_currency' => :'String',
|
|
53
54
|
:'to_currency' => :'String',
|
|
54
55
|
:'reference' => :'String'
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -17,12 +17,15 @@ module AureEx
|
|
|
17
17
|
class DepositCreate < ApiModelBase
|
|
18
18
|
attr_accessor :method
|
|
19
19
|
|
|
20
|
-
# Valor
|
|
20
|
+
# Valor em USDT, com até 6 casas decimais (ex.: 2500.123456). Mínimo de 10 USDT. Se o comprador enviar outro valor, o depósito é creditado pelo valor recebido.
|
|
21
21
|
attr_accessor :amount
|
|
22
22
|
|
|
23
|
-
# Rede USDT
|
|
23
|
+
# Rede USDT. `matic` é aceito como alias de `pol`. ETH, BSC e POL usam o mesmo endereço.
|
|
24
24
|
attr_accessor :network
|
|
25
25
|
|
|
26
|
+
# Expiração do depósito (ISO 8601). Aceita de 10 minutos a 24 horas a partir da criação; valores fora da faixa são ajustados. Sem o campo, expira em 48 horas.
|
|
27
|
+
attr_accessor :expiration
|
|
28
|
+
|
|
26
29
|
attr_accessor :reference
|
|
27
30
|
|
|
28
31
|
attr_accessor :callback_url
|
|
@@ -61,6 +64,7 @@ module AureEx
|
|
|
61
64
|
:'method' => :'method',
|
|
62
65
|
:'amount' => :'amount',
|
|
63
66
|
:'network' => :'network',
|
|
67
|
+
:'expiration' => :'expiration',
|
|
64
68
|
:'reference' => :'reference',
|
|
65
69
|
:'callback_url' => :'callbackUrl',
|
|
66
70
|
:'customer' => :'customer',
|
|
@@ -83,8 +87,9 @@ module AureEx
|
|
|
83
87
|
def self.openapi_types
|
|
84
88
|
{
|
|
85
89
|
:'method' => :'String',
|
|
86
|
-
:'amount' => :'
|
|
90
|
+
:'amount' => :'Float',
|
|
87
91
|
:'network' => :'String',
|
|
92
|
+
:'expiration' => :'Time',
|
|
88
93
|
:'reference' => :'String',
|
|
89
94
|
:'callback_url' => :'String',
|
|
90
95
|
:'customer' => :'CustomerInput',
|
|
@@ -129,6 +134,10 @@ module AureEx
|
|
|
129
134
|
self.network = attributes[:'network']
|
|
130
135
|
end
|
|
131
136
|
|
|
137
|
+
if attributes.key?(:'expiration')
|
|
138
|
+
self.expiration = attributes[:'expiration']
|
|
139
|
+
end
|
|
140
|
+
|
|
132
141
|
if attributes.key?(:'reference')
|
|
133
142
|
self.reference = attributes[:'reference']
|
|
134
143
|
else
|
|
@@ -179,6 +188,8 @@ module AureEx
|
|
|
179
188
|
return false if @method.nil?
|
|
180
189
|
method_validator = EnumAttributeValidator.new('String', ["usdt"])
|
|
181
190
|
return false unless method_validator.valid?(@method)
|
|
191
|
+
network_validator = EnumAttributeValidator.new('String', ["trx", "eth", "bsc", "pol"])
|
|
192
|
+
return false unless network_validator.valid?(@network)
|
|
182
193
|
return false if @reference.nil?
|
|
183
194
|
true
|
|
184
195
|
end
|
|
@@ -193,6 +204,16 @@ module AureEx
|
|
|
193
204
|
@method = method
|
|
194
205
|
end
|
|
195
206
|
|
|
207
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
208
|
+
# @param [Object] network Object to be assigned
|
|
209
|
+
def network=(network)
|
|
210
|
+
validator = EnumAttributeValidator.new('String', ["trx", "eth", "bsc", "pol"])
|
|
211
|
+
unless validator.valid?(network)
|
|
212
|
+
fail ArgumentError, "invalid value for \"network\", must be one of #{validator.allowable_values}."
|
|
213
|
+
end
|
|
214
|
+
@network = network
|
|
215
|
+
end
|
|
216
|
+
|
|
196
217
|
# Custom attribute writer method with validation
|
|
197
218
|
# @param [Object] reference Value to be assigned
|
|
198
219
|
def reference=(reference)
|
|
@@ -211,6 +232,7 @@ module AureEx
|
|
|
211
232
|
method == o.method &&
|
|
212
233
|
amount == o.amount &&
|
|
213
234
|
network == o.network &&
|
|
235
|
+
expiration == o.expiration &&
|
|
214
236
|
reference == o.reference &&
|
|
215
237
|
callback_url == o.callback_url &&
|
|
216
238
|
customer == o.customer &&
|
|
@@ -227,7 +249,7 @@ module AureEx
|
|
|
227
249
|
# Calculates hash code according to all attributes.
|
|
228
250
|
# @return [Integer] Hash code
|
|
229
251
|
def hash
|
|
230
|
-
[method, amount, network, reference, callback_url, customer, metadata, splits].hash
|
|
252
|
+
[method, amount, network, expiration, reference, callback_url, customer, metadata, splits].hash
|
|
231
253
|
end
|
|
232
254
|
|
|
233
255
|
# Builds the object from hash
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
=begin
|
|
2
2
|
#AureEX REST API
|
|
3
3
|
|
|
4
|
-
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` e `X-Api-Secret
|
|
4
|
+
#API REST AureEX (camelCase inglês): depósitos USDT, saques USDT, conversões com origem USDT, webhooks e empresa. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_` ou ULID) e `X-Api-Secret` (`sk_live_`/`sk_test_`; legado sem prefixo ainda válido). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Valores USDT: número decimal com até 6 casas e ponto como separador (ex.: 2500, 2500.12, 2500.123456). Fonte para agentes: https://api.aure-ex.com/llms-full.txt
|
|
5
5
|
|
|
6
|
-
The version of the OpenAPI document: 0.1.
|
|
6
|
+
The version of the OpenAPI document: 0.1.3
|
|
7
7
|
|
|
8
8
|
Generated by: https://openapi-generator.tech
|
|
9
9
|
Generator version: 7.23.0
|
|
@@ -15,6 +15,7 @@ require 'time'
|
|
|
15
15
|
|
|
16
16
|
module AureEx
|
|
17
17
|
class WithdrawalCreate < ApiModelBase
|
|
18
|
+
# Valor bruto debitado do saldo, em USDT, com até 6 casas decimais. A taxa do saque e a taxa de rede saem desse valor; o líquido enviado precisa ser de no mínimo 10 USDT.
|
|
18
19
|
attr_accessor :amount
|
|
19
20
|
|
|
20
21
|
attr_accessor :network
|
|
@@ -28,6 +29,28 @@ module AureEx
|
|
|
28
29
|
|
|
29
30
|
attr_accessor :metadata
|
|
30
31
|
|
|
32
|
+
class EnumAttributeValidator
|
|
33
|
+
attr_reader :datatype
|
|
34
|
+
attr_reader :allowable_values
|
|
35
|
+
|
|
36
|
+
def initialize(datatype, allowable_values)
|
|
37
|
+
@allowable_values = allowable_values.map do |value|
|
|
38
|
+
case datatype.to_s
|
|
39
|
+
when /Integer/i
|
|
40
|
+
value.to_i
|
|
41
|
+
when /Float/i
|
|
42
|
+
value.to_f
|
|
43
|
+
else
|
|
44
|
+
value
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
def valid?(value)
|
|
50
|
+
!value || allowable_values.include?(value)
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
|
|
31
54
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
32
55
|
def self.attribute_map
|
|
33
56
|
{
|
|
@@ -53,7 +76,7 @@ module AureEx
|
|
|
53
76
|
# Attribute type mapping.
|
|
54
77
|
def self.openapi_types
|
|
55
78
|
{
|
|
56
|
-
:'amount' => :'
|
|
79
|
+
:'amount' => :'Float',
|
|
57
80
|
:'network' => :'String',
|
|
58
81
|
:'address' => :'String',
|
|
59
82
|
:'reference' => :'String',
|
|
@@ -130,6 +153,8 @@ module AureEx
|
|
|
130
153
|
def valid?
|
|
131
154
|
warn '[DEPRECATED] the `valid?` method is obsolete'
|
|
132
155
|
return false if @amount.nil?
|
|
156
|
+
network_validator = EnumAttributeValidator.new('String', ["trx", "eth", "bsc", "pol", "matic", "sol", "ton"])
|
|
157
|
+
return false unless network_validator.valid?(@network)
|
|
133
158
|
true
|
|
134
159
|
end
|
|
135
160
|
|
|
@@ -143,6 +168,16 @@ module AureEx
|
|
|
143
168
|
@amount = amount
|
|
144
169
|
end
|
|
145
170
|
|
|
171
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
172
|
+
# @param [Object] network Object to be assigned
|
|
173
|
+
def network=(network)
|
|
174
|
+
validator = EnumAttributeValidator.new('String', ["trx", "eth", "bsc", "pol", "matic", "sol", "ton"])
|
|
175
|
+
unless validator.valid?(network)
|
|
176
|
+
fail ArgumentError, "invalid value for \"network\", must be one of #{validator.allowable_values}."
|
|
177
|
+
end
|
|
178
|
+
@network = network
|
|
179
|
+
end
|
|
180
|
+
|
|
146
181
|
# Checks equality by comparing each attribute.
|
|
147
182
|
# @param [Object] Object to be compared
|
|
148
183
|
def ==(o)
|
data/lib/aure_ex/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aure_ex
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- AureEX
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: SDK oficial da API AureEX para Ruby (tipado via OpenAPI)
|
|
14
14
|
email:
|