privy_ruby 0.4.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/README.md +1 -1
- data/lib/privy/models/custom_token_transfer_source.rb +14 -13
- data/lib/privy/models/ethereum_yield_provider.rb +1 -0
- data/lib/privy/models/named_token_transfer_source.rb +14 -13
- data/lib/privy/models/unsafe_unwrap_webhook_event.rb +17 -1
- data/lib/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rb +153 -0
- data/lib/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rb +178 -0
- data/lib/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rb +177 -0
- data/lib/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rb +169 -0
- data/lib/privy/models/wallets/earn_fee_collect_action_response.rb +149 -0
- data/lib/privy/models/wallets/earn_fee_collect_request_body.rb +20 -0
- data/lib/privy/models/wallets/ethereum_earn_provider.rb +1 -0
- data/lib/privy/models/wallets/ethereum_earn_vault_details_response.rb +4 -1
- data/lib/privy/models/wallets/list_wallet_actions_response.rb +2 -2
- data/lib/privy/models/wallets/veda_vault_details.rb +122 -0
- data/lib/privy/models/wallets/wallet_action_response.rb +4 -1
- data/lib/privy/models/wallets/wallet_action_type.rb +1 -0
- data/lib/privy/models/webhook_payload.rb +13 -1
- data/lib/privy/models.rb +12 -0
- data/lib/privy/resources/wallets/actions.rb +1 -1
- data/lib/privy/resources/webhooks.rb +1 -1
- data/lib/privy/version.rb +1 -1
- data/lib/privy.rb +7 -0
- data/rbi/privy/models/custom_token_transfer_source.rbi +18 -13
- data/rbi/privy/models/ethereum_yield_provider.rbi +1 -0
- data/rbi/privy/models/named_token_transfer_source.rbi +18 -13
- data/rbi/privy/models/unsafe_unwrap_webhook_event.rbi +4 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rbi +232 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rbi +271 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rbi +269 -0
- data/rbi/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rbi +258 -0
- data/rbi/privy/models/wallets/earn_fee_collect_action_response.rbi +236 -0
- data/rbi/privy/models/wallets/earn_fee_collect_request_body.rbi +33 -0
- data/rbi/privy/models/wallets/ethereum_earn_provider.rbi +1 -0
- data/rbi/privy/models/wallets/ethereum_earn_vault_details_response.rbi +2 -1
- data/rbi/privy/models/wallets/list_wallet_actions_response.rbi +6 -3
- data/rbi/privy/models/wallets/veda_vault_details.rbi +157 -0
- data/rbi/privy/models/wallets/wallet_action_response.rbi +2 -1
- data/rbi/privy/models/wallets/wallet_action_type.rbi +5 -0
- data/rbi/privy/models/webhook_payload.rbi +5 -1
- data/rbi/privy/models.rbi +12 -0
- data/rbi/privy/resources/webhooks.rbi +4 -0
- data/sig/privy/models/custom_token_transfer_source.rbs +8 -6
- data/sig/privy/models/ethereum_yield_provider.rbs +2 -1
- data/sig/privy/models/named_token_transfer_source.rbs +7 -5
- data/sig/privy/models/unsafe_unwrap_webhook_event.rbs +4 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rbs +111 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rbs +126 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rbs +126 -0
- data/sig/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rbs +121 -0
- data/sig/privy/models/wallets/earn_fee_collect_action_response.rbs +114 -0
- data/sig/privy/models/wallets/earn_fee_collect_request_body.rbs +15 -0
- data/sig/privy/models/wallets/ethereum_earn_provider.rbs +2 -1
- data/sig/privy/models/wallets/ethereum_earn_vault_details_response.rbs +3 -1
- data/sig/privy/models/wallets/veda_vault_details.rbs +87 -0
- data/sig/privy/models/wallets/wallet_action_response.rbs +1 -0
- data/sig/privy/models/wallets/wallet_action_type.rbs +2 -0
- data/sig/privy/models/webhook_payload.rbs +4 -0
- data/sig/privy/models.rbs +8 -0
- data/sig/privy/resources/webhooks.rbs +4 -0
- metadata +23 -2
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
module Privy
|
|
2
|
+
module Models
|
|
3
|
+
type wallet_action_earn_fee_collect_succeeded_webhook_payload =
|
|
4
|
+
{
|
|
5
|
+
action_type: Privy::Models::Wallets::wallet_action_type,
|
|
6
|
+
asset_address: String,
|
|
7
|
+
:caip2 => String,
|
|
8
|
+
completed_at: String,
|
|
9
|
+
created_at: String,
|
|
10
|
+
raw_amount: String,
|
|
11
|
+
status: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::status,
|
|
12
|
+
steps: ::Array[Privy::Models::Wallets::wallet_action_step],
|
|
13
|
+
type: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::type_,
|
|
14
|
+
vault_address: String,
|
|
15
|
+
vault_id: String,
|
|
16
|
+
wallet_action_id: String,
|
|
17
|
+
wallet_id: String,
|
|
18
|
+
amount: String,
|
|
19
|
+
asset: String,
|
|
20
|
+
decimals: Integer
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
class WalletActionEarnFeeCollectSucceededWebhookPayload < Privy::Internal::Type::BaseModel
|
|
24
|
+
attr_accessor action_type: Privy::Models::Wallets::wallet_action_type
|
|
25
|
+
|
|
26
|
+
attr_accessor asset_address: String
|
|
27
|
+
|
|
28
|
+
attr_accessor caip2: String
|
|
29
|
+
|
|
30
|
+
attr_accessor completed_at: String
|
|
31
|
+
|
|
32
|
+
attr_accessor created_at: String
|
|
33
|
+
|
|
34
|
+
attr_accessor raw_amount: String
|
|
35
|
+
|
|
36
|
+
attr_accessor status: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::status
|
|
37
|
+
|
|
38
|
+
attr_accessor steps: ::Array[Privy::Models::Wallets::wallet_action_step]
|
|
39
|
+
|
|
40
|
+
attr_accessor type: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::type_
|
|
41
|
+
|
|
42
|
+
attr_accessor vault_address: String
|
|
43
|
+
|
|
44
|
+
attr_accessor vault_id: String
|
|
45
|
+
|
|
46
|
+
attr_accessor wallet_action_id: String
|
|
47
|
+
|
|
48
|
+
attr_accessor wallet_id: String
|
|
49
|
+
|
|
50
|
+
attr_reader amount: String?
|
|
51
|
+
|
|
52
|
+
def amount=: (String) -> String
|
|
53
|
+
|
|
54
|
+
attr_reader asset: String?
|
|
55
|
+
|
|
56
|
+
def asset=: (String) -> String
|
|
57
|
+
|
|
58
|
+
attr_reader decimals: Integer?
|
|
59
|
+
|
|
60
|
+
def decimals=: (Integer) -> Integer
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
action_type: Privy::Models::Wallets::wallet_action_type,
|
|
64
|
+
asset_address: String,
|
|
65
|
+
caip2: String,
|
|
66
|
+
completed_at: String,
|
|
67
|
+
created_at: String,
|
|
68
|
+
raw_amount: String,
|
|
69
|
+
status: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::status,
|
|
70
|
+
steps: ::Array[Privy::Models::Wallets::wallet_action_step],
|
|
71
|
+
type: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::type_,
|
|
72
|
+
vault_address: String,
|
|
73
|
+
vault_id: String,
|
|
74
|
+
wallet_action_id: String,
|
|
75
|
+
wallet_id: String,
|
|
76
|
+
?amount: String,
|
|
77
|
+
?asset: String,
|
|
78
|
+
?decimals: Integer
|
|
79
|
+
) -> void
|
|
80
|
+
|
|
81
|
+
def to_hash: -> {
|
|
82
|
+
action_type: Privy::Models::Wallets::wallet_action_type,
|
|
83
|
+
asset_address: String,
|
|
84
|
+
:caip2 => String,
|
|
85
|
+
completed_at: String,
|
|
86
|
+
created_at: String,
|
|
87
|
+
raw_amount: String,
|
|
88
|
+
status: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::status,
|
|
89
|
+
steps: ::Array[Privy::Models::Wallets::wallet_action_step],
|
|
90
|
+
type: Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::type_,
|
|
91
|
+
vault_address: String,
|
|
92
|
+
vault_id: String,
|
|
93
|
+
wallet_action_id: String,
|
|
94
|
+
wallet_id: String,
|
|
95
|
+
amount: String,
|
|
96
|
+
asset: String,
|
|
97
|
+
decimals: Integer
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
type status = :succeeded
|
|
101
|
+
|
|
102
|
+
module Status
|
|
103
|
+
extend Privy::Internal::Type::Enum
|
|
104
|
+
|
|
105
|
+
SUCCEEDED: :succeeded
|
|
106
|
+
|
|
107
|
+
def self?.values: -> ::Array[Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::status]
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
type type_ = :"wallet_action.earn_fee_collect.succeeded"
|
|
111
|
+
|
|
112
|
+
module Type
|
|
113
|
+
extend Privy::Internal::Type::Enum
|
|
114
|
+
|
|
115
|
+
WALLET_ACTION_EARN_FEE_COLLECT_SUCCEEDED: :"wallet_action.earn_fee_collect.succeeded"
|
|
116
|
+
|
|
117
|
+
def self?.values: -> ::Array[Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload::type_]
|
|
118
|
+
end
|
|
119
|
+
end
|
|
120
|
+
end
|
|
121
|
+
end
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
module Privy
|
|
2
|
+
module Models
|
|
3
|
+
module Wallets
|
|
4
|
+
type earn_fee_collect_action_response =
|
|
5
|
+
{
|
|
6
|
+
id: String,
|
|
7
|
+
asset_address: String,
|
|
8
|
+
:caip2 => String,
|
|
9
|
+
created_at: Time,
|
|
10
|
+
raw_amount: String?,
|
|
11
|
+
status: Privy::Models::Wallets::wallet_action_status,
|
|
12
|
+
type: Privy::Models::Wallets::EarnFeeCollectActionResponse::type_,
|
|
13
|
+
vault_address: String,
|
|
14
|
+
vault_id: String,
|
|
15
|
+
wallet_id: String,
|
|
16
|
+
amount: String?,
|
|
17
|
+
asset: String,
|
|
18
|
+
decimals: Integer,
|
|
19
|
+
failure_reason: Privy::Wallets::FailureReason,
|
|
20
|
+
steps: ::Array[Privy::Models::Wallets::wallet_action_step]
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
class EarnFeeCollectActionResponse < Privy::Internal::Type::BaseModel
|
|
24
|
+
attr_accessor id: String
|
|
25
|
+
|
|
26
|
+
attr_accessor asset_address: String
|
|
27
|
+
|
|
28
|
+
attr_accessor caip2: String
|
|
29
|
+
|
|
30
|
+
attr_accessor created_at: Time
|
|
31
|
+
|
|
32
|
+
attr_accessor raw_amount: String?
|
|
33
|
+
|
|
34
|
+
attr_accessor status: Privy::Models::Wallets::wallet_action_status
|
|
35
|
+
|
|
36
|
+
attr_accessor type: Privy::Models::Wallets::EarnFeeCollectActionResponse::type_
|
|
37
|
+
|
|
38
|
+
attr_accessor vault_address: String
|
|
39
|
+
|
|
40
|
+
attr_accessor vault_id: String
|
|
41
|
+
|
|
42
|
+
attr_accessor wallet_id: String
|
|
43
|
+
|
|
44
|
+
attr_accessor amount: String?
|
|
45
|
+
|
|
46
|
+
attr_reader asset: String?
|
|
47
|
+
|
|
48
|
+
def asset=: (String) -> String
|
|
49
|
+
|
|
50
|
+
attr_reader decimals: Integer?
|
|
51
|
+
|
|
52
|
+
def decimals=: (Integer) -> Integer
|
|
53
|
+
|
|
54
|
+
attr_reader failure_reason: Privy::Wallets::FailureReason?
|
|
55
|
+
|
|
56
|
+
def failure_reason=: (
|
|
57
|
+
Privy::Wallets::FailureReason
|
|
58
|
+
) -> Privy::Wallets::FailureReason
|
|
59
|
+
|
|
60
|
+
attr_reader steps: ::Array[Privy::Models::Wallets::wallet_action_step]?
|
|
61
|
+
|
|
62
|
+
def steps=: (
|
|
63
|
+
::Array[Privy::Models::Wallets::wallet_action_step]
|
|
64
|
+
) -> ::Array[Privy::Models::Wallets::wallet_action_step]
|
|
65
|
+
|
|
66
|
+
def initialize: (
|
|
67
|
+
id: String,
|
|
68
|
+
asset_address: String,
|
|
69
|
+
caip2: String,
|
|
70
|
+
created_at: Time,
|
|
71
|
+
raw_amount: String?,
|
|
72
|
+
status: Privy::Models::Wallets::wallet_action_status,
|
|
73
|
+
type: Privy::Models::Wallets::EarnFeeCollectActionResponse::type_,
|
|
74
|
+
vault_address: String,
|
|
75
|
+
vault_id: String,
|
|
76
|
+
wallet_id: String,
|
|
77
|
+
?amount: String?,
|
|
78
|
+
?asset: String,
|
|
79
|
+
?decimals: Integer,
|
|
80
|
+
?failure_reason: Privy::Wallets::FailureReason,
|
|
81
|
+
?steps: ::Array[Privy::Models::Wallets::wallet_action_step]
|
|
82
|
+
) -> void
|
|
83
|
+
|
|
84
|
+
def to_hash: -> {
|
|
85
|
+
id: String,
|
|
86
|
+
asset_address: String,
|
|
87
|
+
:caip2 => String,
|
|
88
|
+
created_at: Time,
|
|
89
|
+
raw_amount: String?,
|
|
90
|
+
status: Privy::Models::Wallets::wallet_action_status,
|
|
91
|
+
type: Privy::Models::Wallets::EarnFeeCollectActionResponse::type_,
|
|
92
|
+
vault_address: String,
|
|
93
|
+
vault_id: String,
|
|
94
|
+
wallet_id: String,
|
|
95
|
+
amount: String?,
|
|
96
|
+
asset: String,
|
|
97
|
+
decimals: Integer,
|
|
98
|
+
failure_reason: Privy::Wallets::FailureReason,
|
|
99
|
+
steps: ::Array[Privy::Models::Wallets::wallet_action_step]
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
type type_ = :earn_fee_collect
|
|
103
|
+
|
|
104
|
+
module Type
|
|
105
|
+
extend Privy::Internal::Type::Enum
|
|
106
|
+
|
|
107
|
+
EARN_FEE_COLLECT: :earn_fee_collect
|
|
108
|
+
|
|
109
|
+
def self?.values: -> ::Array[Privy::Models::Wallets::EarnFeeCollectActionResponse::type_]
|
|
110
|
+
end
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
end
|
|
114
|
+
end
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module Privy
|
|
2
|
+
module Models
|
|
3
|
+
module Wallets
|
|
4
|
+
type earn_fee_collect_request_body = { vault_id: String }
|
|
5
|
+
|
|
6
|
+
class EarnFeeCollectRequestBody < Privy::Internal::Type::BaseModel
|
|
7
|
+
attr_accessor vault_id: String
|
|
8
|
+
|
|
9
|
+
def initialize: (vault_id: String) -> void
|
|
10
|
+
|
|
11
|
+
def to_hash: -> { vault_id: String }
|
|
12
|
+
end
|
|
13
|
+
end
|
|
14
|
+
end
|
|
15
|
+
end
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
module Privy
|
|
2
2
|
module Models
|
|
3
3
|
module Wallets
|
|
4
|
-
type ethereum_earn_provider = :morpho | :aave
|
|
4
|
+
type ethereum_earn_provider = :morpho | :aave | :veda
|
|
5
5
|
|
|
6
6
|
module EthereumEarnProvider
|
|
7
7
|
extend Privy::Internal::Type::Enum
|
|
8
8
|
|
|
9
9
|
MORPHO: :morpho
|
|
10
10
|
AAVE: :aave
|
|
11
|
+
VEDA: :veda
|
|
11
12
|
|
|
12
13
|
def self?.values: -> ::Array[Privy::Models::Wallets::ethereum_earn_provider]
|
|
13
14
|
end
|
|
@@ -2,7 +2,9 @@ module Privy
|
|
|
2
2
|
module Models
|
|
3
3
|
module Wallets
|
|
4
4
|
type ethereum_earn_vault_details_response =
|
|
5
|
-
Privy::Wallets::AaveVaultDetails
|
|
5
|
+
Privy::Wallets::AaveVaultDetails
|
|
6
|
+
| Privy::Wallets::MorphoVaultDetails
|
|
7
|
+
| Privy::Wallets::VedaVaultDetails
|
|
6
8
|
|
|
7
9
|
module EthereumEarnVaultDetailsResponse
|
|
8
10
|
extend Privy::Internal::Type::Union
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
module Privy
|
|
2
|
+
module Models
|
|
3
|
+
module Wallets
|
|
4
|
+
type veda_vault_details =
|
|
5
|
+
{
|
|
6
|
+
id: String,
|
|
7
|
+
admin_wallet_address: String,
|
|
8
|
+
admin_wallet_id: String,
|
|
9
|
+
app_apy: Float?,
|
|
10
|
+
asset: Privy::Wallets::EarnAsset,
|
|
11
|
+
available_liquidity_usd: Float?,
|
|
12
|
+
:caip2 => String,
|
|
13
|
+
name: String,
|
|
14
|
+
provider: Privy::Models::Wallets::VedaVaultDetails::provider,
|
|
15
|
+
tvl_usd: Float?,
|
|
16
|
+
user_apy: Float?,
|
|
17
|
+
vault_address: String
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
class VedaVaultDetails < Privy::Internal::Type::BaseModel
|
|
21
|
+
attr_accessor id: String
|
|
22
|
+
|
|
23
|
+
attr_accessor admin_wallet_address: String
|
|
24
|
+
|
|
25
|
+
attr_accessor admin_wallet_id: String
|
|
26
|
+
|
|
27
|
+
attr_accessor app_apy: Float?
|
|
28
|
+
|
|
29
|
+
attr_accessor asset: Privy::Wallets::EarnAsset
|
|
30
|
+
|
|
31
|
+
attr_accessor available_liquidity_usd: Float?
|
|
32
|
+
|
|
33
|
+
attr_accessor caip2: String
|
|
34
|
+
|
|
35
|
+
attr_accessor name: String
|
|
36
|
+
|
|
37
|
+
attr_accessor provider: Privy::Models::Wallets::VedaVaultDetails::provider
|
|
38
|
+
|
|
39
|
+
attr_accessor tvl_usd: Float?
|
|
40
|
+
|
|
41
|
+
attr_accessor user_apy: Float?
|
|
42
|
+
|
|
43
|
+
attr_accessor vault_address: String
|
|
44
|
+
|
|
45
|
+
def initialize: (
|
|
46
|
+
id: String,
|
|
47
|
+
admin_wallet_address: String,
|
|
48
|
+
admin_wallet_id: String,
|
|
49
|
+
app_apy: Float?,
|
|
50
|
+
asset: Privy::Wallets::EarnAsset,
|
|
51
|
+
available_liquidity_usd: Float?,
|
|
52
|
+
caip2: String,
|
|
53
|
+
name: String,
|
|
54
|
+
provider: Privy::Models::Wallets::VedaVaultDetails::provider,
|
|
55
|
+
tvl_usd: Float?,
|
|
56
|
+
user_apy: Float?,
|
|
57
|
+
vault_address: String
|
|
58
|
+
) -> void
|
|
59
|
+
|
|
60
|
+
def to_hash: -> {
|
|
61
|
+
id: String,
|
|
62
|
+
admin_wallet_address: String,
|
|
63
|
+
admin_wallet_id: String,
|
|
64
|
+
app_apy: Float?,
|
|
65
|
+
asset: Privy::Wallets::EarnAsset,
|
|
66
|
+
available_liquidity_usd: Float?,
|
|
67
|
+
:caip2 => String,
|
|
68
|
+
name: String,
|
|
69
|
+
provider: Privy::Models::Wallets::VedaVaultDetails::provider,
|
|
70
|
+
tvl_usd: Float?,
|
|
71
|
+
user_apy: Float?,
|
|
72
|
+
vault_address: String
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
type provider = :veda
|
|
76
|
+
|
|
77
|
+
module Provider
|
|
78
|
+
extend Privy::Internal::Type::Enum
|
|
79
|
+
|
|
80
|
+
VEDA: :veda
|
|
81
|
+
|
|
82
|
+
def self?.values: -> ::Array[Privy::Models::Wallets::VedaVaultDetails::provider]
|
|
83
|
+
end
|
|
84
|
+
end
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
@@ -9,6 +9,7 @@ module Privy
|
|
|
9
9
|
| Privy::Wallets::EarnDepositActionResponse
|
|
10
10
|
| Privy::Wallets::EarnWithdrawActionResponse
|
|
11
11
|
| Privy::Wallets::EarnIncentiveClaimActionResponse
|
|
12
|
+
| Privy::Wallets::EarnFeeCollectActionResponse
|
|
12
13
|
|
|
13
14
|
module WalletActionResponse
|
|
14
15
|
extend Privy::Internal::Type::Union
|
|
@@ -9,6 +9,7 @@ module Privy
|
|
|
9
9
|
| :earn_deposit
|
|
10
10
|
| :earn_withdraw
|
|
11
11
|
| :earn_incentive_claim
|
|
12
|
+
| :earn_fee_collect
|
|
12
13
|
|
|
13
14
|
module WalletActionType
|
|
14
15
|
extend Privy::Internal::Type::Enum
|
|
@@ -18,6 +19,7 @@ module Privy
|
|
|
18
19
|
EARN_DEPOSIT: :earn_deposit
|
|
19
20
|
EARN_WITHDRAW: :earn_withdraw
|
|
20
21
|
EARN_INCENTIVE_CLAIM: :earn_incentive_claim
|
|
22
|
+
EARN_FEE_COLLECT: :earn_fee_collect
|
|
21
23
|
|
|
22
24
|
def self?.values: -> ::Array[Privy::Models::Wallets::wallet_action_type]
|
|
23
25
|
end
|
|
@@ -54,6 +54,10 @@ module Privy
|
|
|
54
54
|
| Privy::WalletActionEarnIncentiveClaimSucceededWebhookPayload
|
|
55
55
|
| Privy::WalletActionEarnIncentiveClaimRejectedWebhookPayload
|
|
56
56
|
| Privy::WalletActionEarnIncentiveClaimFailedWebhookPayload
|
|
57
|
+
| Privy::WalletActionEarnFeeCollectCreatedWebhookPayload
|
|
58
|
+
| Privy::WalletActionEarnFeeCollectSucceededWebhookPayload
|
|
59
|
+
| Privy::WalletActionEarnFeeCollectRejectedWebhookPayload
|
|
60
|
+
| Privy::WalletActionEarnFeeCollectFailedWebhookPayload
|
|
57
61
|
|
|
58
62
|
module WebhookPayload
|
|
59
63
|
extend Privy::Internal::Type::Union
|
data/sig/privy/models.rbs
CHANGED
|
@@ -1855,6 +1855,14 @@ module Privy
|
|
|
1855
1855
|
|
|
1856
1856
|
class WalletActionEarnDepositSucceededWebhookPayload = Privy::Models::WalletActionEarnDepositSucceededWebhookPayload
|
|
1857
1857
|
|
|
1858
|
+
class WalletActionEarnFeeCollectCreatedWebhookPayload = Privy::Models::WalletActionEarnFeeCollectCreatedWebhookPayload
|
|
1859
|
+
|
|
1860
|
+
class WalletActionEarnFeeCollectFailedWebhookPayload = Privy::Models::WalletActionEarnFeeCollectFailedWebhookPayload
|
|
1861
|
+
|
|
1862
|
+
class WalletActionEarnFeeCollectRejectedWebhookPayload = Privy::Models::WalletActionEarnFeeCollectRejectedWebhookPayload
|
|
1863
|
+
|
|
1864
|
+
class WalletActionEarnFeeCollectSucceededWebhookPayload = Privy::Models::WalletActionEarnFeeCollectSucceededWebhookPayload
|
|
1865
|
+
|
|
1858
1866
|
class WalletActionEarnIncentiveClaimCreatedWebhookPayload = Privy::Models::WalletActionEarnIncentiveClaimCreatedWebhookPayload
|
|
1859
1867
|
|
|
1860
1868
|
class WalletActionEarnIncentiveClaimFailedWebhookPayload = Privy::Models::WalletActionEarnIncentiveClaimFailedWebhookPayload
|
|
@@ -36,6 +36,10 @@ module Privy
|
|
|
36
36
|
| Privy::WalletActionEarnDepositFailedWebhookPayload
|
|
37
37
|
| Privy::WalletActionEarnDepositRejectedWebhookPayload
|
|
38
38
|
| Privy::WalletActionEarnDepositSucceededWebhookPayload
|
|
39
|
+
| Privy::WalletActionEarnFeeCollectCreatedWebhookPayload
|
|
40
|
+
| Privy::WalletActionEarnFeeCollectFailedWebhookPayload
|
|
41
|
+
| Privy::WalletActionEarnFeeCollectRejectedWebhookPayload
|
|
42
|
+
| Privy::WalletActionEarnFeeCollectSucceededWebhookPayload
|
|
39
43
|
| Privy::WalletActionEarnIncentiveClaimCreatedWebhookPayload
|
|
40
44
|
| Privy::WalletActionEarnIncentiveClaimFailedWebhookPayload
|
|
41
45
|
| Privy::WalletActionEarnIncentiveClaimRejectedWebhookPayload
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: privy_ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Privy API
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-13 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cgi
|
|
@@ -1018,6 +1018,10 @@ files:
|
|
|
1018
1018
|
- lib/privy/models/wallet_action_earn_deposit_failed_webhook_payload.rb
|
|
1019
1019
|
- lib/privy/models/wallet_action_earn_deposit_rejected_webhook_payload.rb
|
|
1020
1020
|
- lib/privy/models/wallet_action_earn_deposit_succeeded_webhook_payload.rb
|
|
1021
|
+
- lib/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rb
|
|
1022
|
+
- lib/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rb
|
|
1023
|
+
- lib/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rb
|
|
1024
|
+
- lib/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rb
|
|
1021
1025
|
- lib/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rb
|
|
1022
1026
|
- lib/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rb
|
|
1023
1027
|
- lib/privy/models/wallet_action_earn_incentive_claim_rejected_webhook_payload.rb
|
|
@@ -1109,6 +1113,8 @@ files:
|
|
|
1109
1113
|
- lib/privy/models/wallets/earn_asset.rb
|
|
1110
1114
|
- lib/privy/models/wallets/earn_deposit_action_response.rb
|
|
1111
1115
|
- lib/privy/models/wallets/earn_deposit_request_body.rb
|
|
1116
|
+
- lib/privy/models/wallets/earn_fee_collect_action_response.rb
|
|
1117
|
+
- lib/privy/models/wallets/earn_fee_collect_request_body.rb
|
|
1112
1118
|
- lib/privy/models/wallets/earn_incentive_claim_action_response.rb
|
|
1113
1119
|
- lib/privy/models/wallets/earn_incentive_claim_request_body.rb
|
|
1114
1120
|
- lib/privy/models/wallets/earn_incentive_reward_entry.rb
|
|
@@ -1141,6 +1147,7 @@ files:
|
|
|
1141
1147
|
- lib/privy/models/wallets/transfer_action_response.rb
|
|
1142
1148
|
- lib/privy/models/wallets/tvm_transaction_wallet_action_step.rb
|
|
1143
1149
|
- lib/privy/models/wallets/tvm_wallet_action_step_status.rb
|
|
1150
|
+
- lib/privy/models/wallets/veda_vault_details.rb
|
|
1144
1151
|
- lib/privy/models/wallets/wallet_action_include.rb
|
|
1145
1152
|
- lib/privy/models/wallets/wallet_action_response.rb
|
|
1146
1153
|
- lib/privy/models/wallets/wallet_action_status.rb
|
|
@@ -2148,6 +2155,10 @@ files:
|
|
|
2148
2155
|
- rbi/privy/models/wallet_action_earn_deposit_failed_webhook_payload.rbi
|
|
2149
2156
|
- rbi/privy/models/wallet_action_earn_deposit_rejected_webhook_payload.rbi
|
|
2150
2157
|
- rbi/privy/models/wallet_action_earn_deposit_succeeded_webhook_payload.rbi
|
|
2158
|
+
- rbi/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rbi
|
|
2159
|
+
- rbi/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rbi
|
|
2160
|
+
- rbi/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rbi
|
|
2161
|
+
- rbi/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rbi
|
|
2151
2162
|
- rbi/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rbi
|
|
2152
2163
|
- rbi/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rbi
|
|
2153
2164
|
- rbi/privy/models/wallet_action_earn_incentive_claim_rejected_webhook_payload.rbi
|
|
@@ -2239,6 +2250,8 @@ files:
|
|
|
2239
2250
|
- rbi/privy/models/wallets/earn_asset.rbi
|
|
2240
2251
|
- rbi/privy/models/wallets/earn_deposit_action_response.rbi
|
|
2241
2252
|
- rbi/privy/models/wallets/earn_deposit_request_body.rbi
|
|
2253
|
+
- rbi/privy/models/wallets/earn_fee_collect_action_response.rbi
|
|
2254
|
+
- rbi/privy/models/wallets/earn_fee_collect_request_body.rbi
|
|
2242
2255
|
- rbi/privy/models/wallets/earn_incentive_claim_action_response.rbi
|
|
2243
2256
|
- rbi/privy/models/wallets/earn_incentive_claim_request_body.rbi
|
|
2244
2257
|
- rbi/privy/models/wallets/earn_incentive_reward_entry.rbi
|
|
@@ -2271,6 +2284,7 @@ files:
|
|
|
2271
2284
|
- rbi/privy/models/wallets/transfer_action_response.rbi
|
|
2272
2285
|
- rbi/privy/models/wallets/tvm_transaction_wallet_action_step.rbi
|
|
2273
2286
|
- rbi/privy/models/wallets/tvm_wallet_action_step_status.rbi
|
|
2287
|
+
- rbi/privy/models/wallets/veda_vault_details.rbi
|
|
2274
2288
|
- rbi/privy/models/wallets/wallet_action_include.rbi
|
|
2275
2289
|
- rbi/privy/models/wallets/wallet_action_response.rbi
|
|
2276
2290
|
- rbi/privy/models/wallets/wallet_action_status.rbi
|
|
@@ -3265,6 +3279,10 @@ files:
|
|
|
3265
3279
|
- sig/privy/models/wallet_action_earn_deposit_failed_webhook_payload.rbs
|
|
3266
3280
|
- sig/privy/models/wallet_action_earn_deposit_rejected_webhook_payload.rbs
|
|
3267
3281
|
- sig/privy/models/wallet_action_earn_deposit_succeeded_webhook_payload.rbs
|
|
3282
|
+
- sig/privy/models/wallet_action_earn_fee_collect_created_webhook_payload.rbs
|
|
3283
|
+
- sig/privy/models/wallet_action_earn_fee_collect_failed_webhook_payload.rbs
|
|
3284
|
+
- sig/privy/models/wallet_action_earn_fee_collect_rejected_webhook_payload.rbs
|
|
3285
|
+
- sig/privy/models/wallet_action_earn_fee_collect_succeeded_webhook_payload.rbs
|
|
3268
3286
|
- sig/privy/models/wallet_action_earn_incentive_claim_created_webhook_payload.rbs
|
|
3269
3287
|
- sig/privy/models/wallet_action_earn_incentive_claim_failed_webhook_payload.rbs
|
|
3270
3288
|
- sig/privy/models/wallet_action_earn_incentive_claim_rejected_webhook_payload.rbs
|
|
@@ -3356,6 +3374,8 @@ files:
|
|
|
3356
3374
|
- sig/privy/models/wallets/earn_asset.rbs
|
|
3357
3375
|
- sig/privy/models/wallets/earn_deposit_action_response.rbs
|
|
3358
3376
|
- sig/privy/models/wallets/earn_deposit_request_body.rbs
|
|
3377
|
+
- sig/privy/models/wallets/earn_fee_collect_action_response.rbs
|
|
3378
|
+
- sig/privy/models/wallets/earn_fee_collect_request_body.rbs
|
|
3359
3379
|
- sig/privy/models/wallets/earn_incentive_claim_action_response.rbs
|
|
3360
3380
|
- sig/privy/models/wallets/earn_incentive_claim_request_body.rbs
|
|
3361
3381
|
- sig/privy/models/wallets/earn_incentive_reward_entry.rbs
|
|
@@ -3388,6 +3408,7 @@ files:
|
|
|
3388
3408
|
- sig/privy/models/wallets/transfer_action_response.rbs
|
|
3389
3409
|
- sig/privy/models/wallets/tvm_transaction_wallet_action_step.rbs
|
|
3390
3410
|
- sig/privy/models/wallets/tvm_wallet_action_step_status.rbs
|
|
3411
|
+
- sig/privy/models/wallets/veda_vault_details.rbs
|
|
3391
3412
|
- sig/privy/models/wallets/wallet_action_include.rbs
|
|
3392
3413
|
- sig/privy/models/wallets/wallet_action_response.rbs
|
|
3393
3414
|
- sig/privy/models/wallets/wallet_action_status.rbs
|