turnkey_client 0.0.17 → 0.0.18

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.
@@ -21,12 +21,16 @@ module TurnkeyClient
21
21
  # Rolling sponsorship window duration, expressed in minutes.
22
22
  attr_accessor :window_duration_minutes
23
23
 
24
+ # Whether gas sponsorship is enabled for the organization.
25
+ attr_accessor :enabled
26
+
24
27
  # Attribute mapping from ruby-style variable name to JSON key.
25
28
  def self.attribute_map
26
29
  {
27
30
  :'org_window_limit_usd' => :'orgWindowLimitUsd',
28
31
  :'sub_org_window_limit_usd' => :'subOrgWindowLimitUsd',
29
- :'window_duration_minutes' => :'windowDurationMinutes'
32
+ :'window_duration_minutes' => :'windowDurationMinutes',
33
+ :'enabled' => :'enabled'
30
34
  }
31
35
  end
32
36
 
@@ -35,13 +39,15 @@ module TurnkeyClient
35
39
  {
36
40
  :'org_window_limit_usd' => :'Object',
37
41
  :'sub_org_window_limit_usd' => :'Object',
38
- :'window_duration_minutes' => :'Object'
42
+ :'window_duration_minutes' => :'Object',
43
+ :'enabled' => :'Object'
39
44
  }
40
45
  end
41
46
 
42
47
  # List of attributes with nullable: true
43
48
  def self.openapi_nullable
44
49
  Set.new([
50
+ :'enabled'
45
51
  ])
46
52
  end
47
53
 
@@ -71,6 +77,10 @@ module TurnkeyClient
71
77
  if attributes.key?(:'window_duration_minutes')
72
78
  self.window_duration_minutes = attributes[:'window_duration_minutes']
73
79
  end
80
+
81
+ if attributes.key?(:'enabled')
82
+ self.enabled = attributes[:'enabled']
83
+ end
74
84
  end
75
85
 
76
86
  # Show invalid properties with the reasons. Usually used together with valid?
@@ -108,7 +118,8 @@ module TurnkeyClient
108
118
  self.class == o.class &&
109
119
  org_window_limit_usd == o.org_window_limit_usd &&
110
120
  sub_org_window_limit_usd == o.sub_org_window_limit_usd &&
111
- window_duration_minutes == o.window_duration_minutes
121
+ window_duration_minutes == o.window_duration_minutes &&
122
+ enabled == o.enabled
112
123
  end
113
124
 
114
125
  # @see the `==` method
@@ -120,7 +131,7 @@ module TurnkeyClient
120
131
  # Calculates hash code according to all attributes.
121
132
  # @return [Integer] Hash code
122
133
  def hash
123
- [org_window_limit_usd, sub_org_window_limit_usd, window_duration_minutes].hash
134
+ [org_window_limit_usd, sub_org_window_limit_usd, window_duration_minutes, enabled].hash
124
135
  end
125
136
 
126
137
  # Builds the object from hash
@@ -9,5 +9,5 @@ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  =end
10
10
 
11
11
  module TurnkeyClient
12
- VERSION = '0.0.17'
12
+ VERSION = '0.0.18'
13
13
  end
@@ -37,6 +37,9 @@ require 'turnkey_client/models/api_only_user_params'
37
37
  require 'turnkey_client/models/app_proof'
38
38
  require 'turnkey_client/models/approve_activity_intent'
39
39
  require 'turnkey_client/models/approve_activity_request'
40
+ require 'turnkey_client/models/asset_balance'
41
+ require 'turnkey_client/models/asset_balance_display'
42
+ require 'turnkey_client/models/asset_metadata'
40
43
  require 'turnkey_client/models/attestation'
41
44
  require 'turnkey_client/models/authenticator'
42
45
  require 'turnkey_client/models/authenticator_attestation_response'
@@ -290,6 +293,8 @@ require 'turnkey_client/models/get_wallet_account_request'
290
293
  require 'turnkey_client/models/get_wallet_account_response'
291
294
  require 'turnkey_client/models/get_wallet_accounts_request'
292
295
  require 'turnkey_client/models/get_wallet_accounts_response'
296
+ require 'turnkey_client/models/get_wallet_address_balances_request'
297
+ require 'turnkey_client/models/get_wallet_address_balances_response'
293
298
  require 'turnkey_client/models/get_wallet_request'
294
299
  require 'turnkey_client/models/get_wallet_response'
295
300
  require 'turnkey_client/models/get_wallets_request'
@@ -334,6 +339,8 @@ require 'turnkey_client/models/list_oauth2_credentials_request'
334
339
  require 'turnkey_client/models/list_oauth2_credentials_response'
335
340
  require 'turnkey_client/models/list_private_key_tags_request'
336
341
  require 'turnkey_client/models/list_private_key_tags_response'
342
+ require 'turnkey_client/models/list_supported_assets_request'
343
+ require 'turnkey_client/models/list_supported_assets_response'
337
344
  require 'turnkey_client/models/list_user_tags_request'
338
345
  require 'turnkey_client/models/list_user_tags_response'
339
346
  require 'turnkey_client/models/mnemonic_language'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turnkey_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.17
4
+ version: 0.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Turnkey Engineering
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-30 00:00:00.000000000 Z
11
+ date: 2026-02-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus
@@ -34,62 +34,62 @@ dependencies:
34
34
  name: json
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - ">="
38
- - !ruby/object:Gem::Version
39
- version: 2.1.0
40
37
  - - "~>"
41
38
  - !ruby/object:Gem::Version
42
39
  version: '2.1'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 2.1.0
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- version: 2.1.0
50
47
  - - "~>"
51
48
  - !ruby/object:Gem::Version
52
49
  version: '2.1'
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: 2.1.0
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: openssl
55
55
  requirement: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
58
- - !ruby/object:Gem::Version
59
- version: 3.0.0
60
57
  - - "~>"
61
58
  - !ruby/object:Gem::Version
62
59
  version: '3.2'
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: 3.0.0
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - ">="
68
- - !ruby/object:Gem::Version
69
- version: 3.0.0
70
67
  - - "~>"
71
68
  - !ruby/object:Gem::Version
72
69
  version: '3.2'
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: 3.0.0
73
73
  - !ruby/object:Gem::Dependency
74
74
  name: rspec
75
75
  requirement: !ruby/object:Gem::Requirement
76
76
  requirements:
77
- - - ">="
78
- - !ruby/object:Gem::Version
79
- version: 3.6.0
80
77
  - - "~>"
81
78
  - !ruby/object:Gem::Version
82
79
  version: '3.6'
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.6.0
83
83
  type: :development
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- version: 3.6.0
90
87
  - - "~>"
91
88
  - !ruby/object:Gem::Version
92
89
  version: '3.6'
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: 3.6.0
93
93
  description: HTTP client to interact with the Turnkey API
94
94
  email:
95
95
  - hello@turnkey.com
@@ -155,6 +155,9 @@ files:
155
155
  - lib/turnkey_client/models/app_proof.rb
156
156
  - lib/turnkey_client/models/approve_activity_intent.rb
157
157
  - lib/turnkey_client/models/approve_activity_request.rb
158
+ - lib/turnkey_client/models/asset_balance.rb
159
+ - lib/turnkey_client/models/asset_balance_display.rb
160
+ - lib/turnkey_client/models/asset_metadata.rb
158
161
  - lib/turnkey_client/models/attestation.rb
159
162
  - lib/turnkey_client/models/authenticator.rb
160
163
  - lib/turnkey_client/models/authenticator_attestation_response.rb
@@ -408,6 +411,8 @@ files:
408
411
  - lib/turnkey_client/models/get_wallet_account_response.rb
409
412
  - lib/turnkey_client/models/get_wallet_accounts_request.rb
410
413
  - lib/turnkey_client/models/get_wallet_accounts_response.rb
414
+ - lib/turnkey_client/models/get_wallet_address_balances_request.rb
415
+ - lib/turnkey_client/models/get_wallet_address_balances_response.rb
411
416
  - lib/turnkey_client/models/get_wallet_request.rb
412
417
  - lib/turnkey_client/models/get_wallet_response.rb
413
418
  - lib/turnkey_client/models/get_wallets_request.rb
@@ -452,6 +457,8 @@ files:
452
457
  - lib/turnkey_client/models/list_oauth2_credentials_response.rb
453
458
  - lib/turnkey_client/models/list_private_key_tags_request.rb
454
459
  - lib/turnkey_client/models/list_private_key_tags_response.rb
460
+ - lib/turnkey_client/models/list_supported_assets_request.rb
461
+ - lib/turnkey_client/models/list_supported_assets_response.rb
455
462
  - lib/turnkey_client/models/list_user_tags_request.rb
456
463
  - lib/turnkey_client/models/list_user_tags_response.rb
457
464
  - lib/turnkey_client/models/mnemonic_language.rb
@@ -600,7 +607,7 @@ homepage: https://github.com/tkhq/ruby-sdk
600
607
  licenses:
601
608
  - Apache-2.0
602
609
  metadata: {}
603
- post_install_message:
610
+ post_install_message:
604
611
  rdoc_options: []
605
612
  require_paths:
606
613
  - lib
@@ -615,8 +622,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
615
622
  - !ruby/object:Gem::Version
616
623
  version: '0'
617
624
  requirements: []
618
- rubygems_version: 3.0.3.1
619
- signing_key:
625
+ rubygems_version: 3.5.22
626
+ signing_key:
620
627
  specification_version: 4
621
628
  summary: API Reference Ruby Gem
622
629
  test_files: []