aurepay 0.1.2 → 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.
Files changed (28) hide show
  1. checksums.yaml +4 -4
  2. data/lib/aurepay/generated/api/chargebacks_api.rb +2 -2
  3. data/lib/aurepay/generated/api/company_api.rb +2 -2
  4. data/lib/aurepay/generated/api/conversions_api.rb +2 -2
  5. data/lib/aurepay/generated/api/deposits_api.rb +65 -2
  6. data/lib/aurepay/generated/api/wallets_api.rb +70 -2
  7. data/lib/aurepay/generated/api/webhooks_api.rb +2 -2
  8. data/lib/aurepay/generated/api/withdrawals_api.rb +65 -2
  9. data/lib/aurepay/generated/api_client.rb +2 -2
  10. data/lib/aurepay/generated/api_error.rb +2 -2
  11. data/lib/aurepay/generated/api_model_base.rb +2 -2
  12. data/lib/aurepay/generated/configuration.rb +2 -2
  13. data/lib/aurepay/generated/models/conversion_create.rb +2 -2
  14. data/lib/aurepay/generated/models/customer_input.rb +2 -2
  15. data/lib/aurepay/generated/models/customer_input_document.rb +2 -2
  16. data/lib/aurepay/generated/models/deposit_create.rb +3 -12
  17. data/lib/aurepay/generated/models/error_body.rb +2 -2
  18. data/lib/aurepay/generated/models/error_body_error.rb +2 -2
  19. data/lib/aurepay/generated/models/success_envelope.rb +2 -2
  20. data/lib/aurepay/generated/models/wallet_create.rb +84 -11
  21. data/lib/aurepay/generated/models/wallet_verification.rb +208 -0
  22. data/lib/aurepay/generated/models/wallet_verification_rejection.rb +158 -0
  23. data/lib/aurepay/generated/models/wallet_verification_rejection_reasons_inner.rb +165 -0
  24. data/lib/aurepay/generated/models/wallets_verification_resend_request.rb +147 -0
  25. data/lib/aurepay/generated/models/webhook_create.rb +2 -2
  26. data/lib/aurepay/generated/models/withdrawal_create.rb +2 -2
  27. data/lib/aurepay/version.rb +1 -1
  28. metadata +6 -2
@@ -0,0 +1,147 @@
1
+ =begin
2
+ #AurePay REST API
3
+
4
+ #API REST AurePay (camelCase inglês): depósitos PIX, saques, conversões BRL/USDT, webhooks, empresa, carteiras e MED/chargebacks. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_`) e `X-Api-Secret` (`sk_live_`/`sk_test_`). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Fonte para agentes: https://api.aurepay.com.br/llms-full.txt
5
+
6
+ The version of the OpenAPI document: 0.1.3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ Generator version: 7.23.0
10
+
11
+ =end
12
+
13
+ require 'date'
14
+ require 'time'
15
+
16
+ module AurePay
17
+ class WalletsVerificationResendRequest < ApiModelBase
18
+ attr_accessor :email
19
+
20
+ # Attribute mapping from ruby-style variable name to JSON key.
21
+ def self.attribute_map
22
+ {
23
+ :'email' => :'email'
24
+ }
25
+ end
26
+
27
+ # Returns attribute mapping this model knows about
28
+ def self.acceptable_attribute_map
29
+ attribute_map
30
+ end
31
+
32
+ # Returns all the JSON keys this model knows about
33
+ def self.acceptable_attributes
34
+ acceptable_attribute_map.values
35
+ end
36
+
37
+ # Attribute type mapping.
38
+ def self.openapi_types
39
+ {
40
+ :'email' => :'String'
41
+ }
42
+ end
43
+
44
+ # List of attributes with nullable: true
45
+ def self.openapi_nullable
46
+ Set.new([
47
+ ])
48
+ end
49
+
50
+ # Initializes the object
51
+ # @param [Hash] attributes Model attributes in the form of hash
52
+ def initialize(attributes = {})
53
+ if (!attributes.is_a?(Hash))
54
+ fail ArgumentError, "The input argument (attributes) must be a hash in `AurePay::WalletsVerificationResendRequest` initialize method"
55
+ end
56
+
57
+ # check to see if the attribute exists and convert string to symbol for hash key
58
+ acceptable_attribute_map = self.class.acceptable_attribute_map
59
+ attributes = attributes.each_with_object({}) { |(k, v), h|
60
+ if (!acceptable_attribute_map.key?(k.to_sym))
61
+ fail ArgumentError, "`#{k}` is not a valid attribute in `AurePay::WalletsVerificationResendRequest`. Please check the name to make sure it's valid. List of attributes: " + acceptable_attribute_map.keys.inspect
62
+ end
63
+ h[k.to_sym] = v
64
+ }
65
+
66
+ if attributes.key?(:'email')
67
+ self.email = attributes[:'email']
68
+ end
69
+ end
70
+
71
+ # Show invalid properties with the reasons. Usually used together with valid?
72
+ # @return Array for valid properties with the reasons
73
+ def list_invalid_properties
74
+ warn '[DEPRECATED] the `list_invalid_properties` method is obsolete'
75
+ invalid_properties = Array.new
76
+ invalid_properties
77
+ end
78
+
79
+ # Check to see if the all the properties in the model are valid
80
+ # @return true if the model is valid
81
+ def valid?
82
+ warn '[DEPRECATED] the `valid?` method is obsolete'
83
+ true
84
+ end
85
+
86
+ # Checks equality by comparing each attribute.
87
+ # @param [Object] Object to be compared
88
+ def ==(o)
89
+ return true if self.equal?(o)
90
+ self.class == o.class &&
91
+ email == o.email
92
+ end
93
+
94
+ # @see the `==` method
95
+ # @param [Object] Object to be compared
96
+ def eql?(o)
97
+ self == o
98
+ end
99
+
100
+ # Calculates hash code according to all attributes.
101
+ # @return [Integer] Hash code
102
+ def hash
103
+ [email].hash
104
+ end
105
+
106
+ # Builds the object from hash
107
+ # @param [Hash] attributes Model attributes in the form of hash
108
+ # @return [Object] Returns the model itself
109
+ def self.build_from_hash(attributes)
110
+ return nil unless attributes.is_a?(Hash)
111
+ attributes = attributes.transform_keys(&:to_sym)
112
+ transformed_hash = {}
113
+ openapi_types.each_pair do |key, type|
114
+ if attributes.key?(attribute_map[key]) && attributes[attribute_map[key]].nil?
115
+ transformed_hash["#{key}"] = nil
116
+ elsif type =~ /\AArray<(.*)>/i
117
+ # check to ensure the input is an array given that the attribute
118
+ # is documented as an array but the input is not
119
+ if attributes[attribute_map[key]].is_a?(Array)
120
+ transformed_hash["#{key}"] = attributes[attribute_map[key]].map { |v| _deserialize($1, v) }
121
+ end
122
+ elsif !attributes[attribute_map[key]].nil?
123
+ transformed_hash["#{key}"] = _deserialize(type, attributes[attribute_map[key]])
124
+ end
125
+ end
126
+ new(transformed_hash)
127
+ end
128
+
129
+ # Returns the object in the form of hash
130
+ # @return [Hash] Returns the object in the form of hash
131
+ def to_hash
132
+ hash = {}
133
+ self.class.attribute_map.each_pair do |attr, param|
134
+ value = self.send(attr)
135
+ if value.nil?
136
+ is_nullable = self.class.openapi_nullable.include?(attr)
137
+ next if !is_nullable || (is_nullable && !instance_variable_defined?(:"@#{attr}"))
138
+ end
139
+
140
+ hash[param] = _to_hash(value)
141
+ end
142
+ hash
143
+ end
144
+
145
+ end
146
+
147
+ end
@@ -1,9 +1,9 @@
1
1
  =begin
2
2
  #AurePay REST API
3
3
 
4
- #API REST AurePay (camelCase inglês): depósitos PIX, saques, conversões BRL/USDT, webhooks, empresa, carteiras e MED/chargebacks. Auth: headers `X-Api-Key` e `X-Api-Secret`. Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Fonte para agentes: https://api.aurepay.com.br/llms-full.txt
4
+ #API REST AurePay (camelCase inglês): depósitos PIX, saques, conversões BRL/USDT, webhooks, empresa, carteiras e MED/chargebacks. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_`) e `X-Api-Secret` (`sk_live_`/`sk_test_`). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Fonte para agentes: https://api.aurepay.com.br/llms-full.txt
5
5
 
6
- The version of the OpenAPI document: 0.1.2
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
  #AurePay REST API
3
3
 
4
- #API REST AurePay (camelCase inglês): depósitos PIX, saques, conversões BRL/USDT, webhooks, empresa, carteiras e MED/chargebacks. Auth: headers `X-Api-Key` e `X-Api-Secret`. Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Fonte para agentes: https://api.aurepay.com.br/llms-full.txt
4
+ #API REST AurePay (camelCase inglês): depósitos PIX, saques, conversões BRL/USDT, webhooks, empresa, carteiras e MED/chargebacks. Auth: headers `X-Api-Key` (`pk_live_`/`pk_test_`) e `X-Api-Secret` (`sk_live_`/`sk_test_`). Envelope: `{ \"success\": true, \"data\": ... }` / `{ \"success\": false, \"error\": { \"code\", \"message\", \"details\" } }`. Fonte para agentes: https://api.aurepay.com.br/llms-full.txt
5
5
 
6
- The version of the OpenAPI document: 0.1.2
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,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AurePay
4
- VERSION = '0.1.2'
4
+ VERSION = '0.1.3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aurepay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - AurePay
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-07-15 00:00:00.000000000 Z
11
+ date: 2026-10-23 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: SDK oficial da API AurePay para Ruby (tipado via OpenAPI)
14
14
  email:
@@ -40,6 +40,10 @@ files:
40
40
  - lib/aurepay/generated/models/error_body_error.rb
41
41
  - lib/aurepay/generated/models/success_envelope.rb
42
42
  - lib/aurepay/generated/models/wallet_create.rb
43
+ - lib/aurepay/generated/models/wallet_verification.rb
44
+ - lib/aurepay/generated/models/wallet_verification_rejection.rb
45
+ - lib/aurepay/generated/models/wallet_verification_rejection_reasons_inner.rb
46
+ - lib/aurepay/generated/models/wallets_verification_resend_request.rb
43
47
  - lib/aurepay/generated/models/webhook_create.rb
44
48
  - lib/aurepay/generated/models/withdrawal_create.rb
45
49
  - lib/aurepay/version.rb